generated.pb.go 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238
  1. /*
  2. Copyright 2017 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. ConfigMapEnvSource
  36. ConfigMapKeySelector
  37. ConfigMapList
  38. ConfigMapProjection
  39. ConfigMapVolumeSource
  40. Container
  41. ContainerImage
  42. ContainerPort
  43. ContainerState
  44. ContainerStateRunning
  45. ContainerStateTerminated
  46. ContainerStateWaiting
  47. ContainerStatus
  48. DaemonEndpoint
  49. DeleteOptions
  50. DownwardAPIProjection
  51. DownwardAPIVolumeFile
  52. DownwardAPIVolumeSource
  53. EmptyDirVolumeSource
  54. EndpointAddress
  55. EndpointPort
  56. EndpointSubset
  57. Endpoints
  58. EndpointsList
  59. EnvFromSource
  60. EnvVar
  61. EnvVarSource
  62. Event
  63. EventList
  64. EventSource
  65. ExecAction
  66. FCVolumeSource
  67. FlexVolumeSource
  68. FlockerVolumeSource
  69. GCEPersistentDiskVolumeSource
  70. GitRepoVolumeSource
  71. GlusterfsVolumeSource
  72. HTTPGetAction
  73. HTTPHeader
  74. Handler
  75. HostPathVolumeSource
  76. ISCSIVolumeSource
  77. KeyToPath
  78. Lifecycle
  79. LimitRange
  80. LimitRangeItem
  81. LimitRangeList
  82. LimitRangeSpec
  83. List
  84. ListOptions
  85. LoadBalancerIngress
  86. LoadBalancerStatus
  87. LocalObjectReference
  88. NFSVolumeSource
  89. Namespace
  90. NamespaceList
  91. NamespaceSpec
  92. NamespaceStatus
  93. Node
  94. NodeAddress
  95. NodeAffinity
  96. NodeCondition
  97. NodeDaemonEndpoints
  98. NodeList
  99. NodeProxyOptions
  100. NodeResources
  101. NodeSelector
  102. NodeSelectorRequirement
  103. NodeSelectorTerm
  104. NodeSpec
  105. NodeStatus
  106. NodeSystemInfo
  107. ObjectFieldSelector
  108. ObjectMeta
  109. ObjectReference
  110. PersistentVolume
  111. PersistentVolumeClaim
  112. PersistentVolumeClaimList
  113. PersistentVolumeClaimSpec
  114. PersistentVolumeClaimStatus
  115. PersistentVolumeClaimVolumeSource
  116. PersistentVolumeList
  117. PersistentVolumeSource
  118. PersistentVolumeSpec
  119. PersistentVolumeStatus
  120. PhotonPersistentDiskVolumeSource
  121. Pod
  122. PodAffinity
  123. PodAffinityTerm
  124. PodAntiAffinity
  125. PodAttachOptions
  126. PodCondition
  127. PodExecOptions
  128. PodList
  129. PodLogOptions
  130. PodPortForwardOptions
  131. PodProxyOptions
  132. PodSecurityContext
  133. PodSignature
  134. PodSpec
  135. PodStatus
  136. PodStatusResult
  137. PodTemplate
  138. PodTemplateList
  139. PodTemplateSpec
  140. PortworxVolumeSource
  141. Preconditions
  142. PreferAvoidPodsEntry
  143. PreferredSchedulingTerm
  144. Probe
  145. ProjectedVolumeSource
  146. QuobyteVolumeSource
  147. RBDVolumeSource
  148. RangeAllocation
  149. ReplicationController
  150. ReplicationControllerCondition
  151. ReplicationControllerList
  152. ReplicationControllerSpec
  153. ReplicationControllerStatus
  154. ResourceFieldSelector
  155. ResourceQuota
  156. ResourceQuotaList
  157. ResourceQuotaSpec
  158. ResourceQuotaStatus
  159. ResourceRequirements
  160. SELinuxOptions
  161. ScaleIOVolumeSource
  162. Secret
  163. SecretEnvSource
  164. SecretKeySelector
  165. SecretList
  166. SecretProjection
  167. SecretVolumeSource
  168. SecurityContext
  169. SerializedReference
  170. Service
  171. ServiceAccount
  172. ServiceAccountList
  173. ServiceList
  174. ServicePort
  175. ServiceProxyOptions
  176. ServiceSpec
  177. ServiceStatus
  178. Sysctl
  179. TCPSocketAction
  180. Taint
  181. Toleration
  182. Volume
  183. VolumeMount
  184. VolumeProjection
  185. VolumeSource
  186. VsphereVirtualDiskVolumeSource
  187. WeightedPodAffinityTerm
  188. */
  189. package v1
  190. import proto "github.com/gogo/protobuf/proto"
  191. import fmt "fmt"
  192. import math "math"
  193. import k8s_io_apimachinery_pkg_api_resource "k8s.io/apimachinery/pkg/api/resource"
  194. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  195. import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime"
  196. import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types"
  197. import strings "strings"
  198. import reflect "reflect"
  199. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  200. import io "io"
  201. // Reference imports to suppress errors if they are not otherwise used.
  202. var _ = proto.Marshal
  203. var _ = fmt.Errorf
  204. var _ = math.Inf
  205. // This is a compile-time assertion to ensure that this generated file
  206. // is compatible with the proto package it is being compiled against.
  207. const _ = proto.GoGoProtoPackageIsVersion1
  208. func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} }
  209. func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {}
  210. func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) {
  211. return fileDescriptorGenerated, []int{0}
  212. }
  213. func (m *Affinity) Reset() { *m = Affinity{} }
  214. func (*Affinity) ProtoMessage() {}
  215. func (*Affinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  216. func (m *AttachedVolume) Reset() { *m = AttachedVolume{} }
  217. func (*AttachedVolume) ProtoMessage() {}
  218. func (*AttachedVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  219. func (m *AvoidPods) Reset() { *m = AvoidPods{} }
  220. func (*AvoidPods) ProtoMessage() {}
  221. func (*AvoidPods) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  222. func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} }
  223. func (*AzureDiskVolumeSource) ProtoMessage() {}
  224. func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  225. func (m *AzureFileVolumeSource) Reset() { *m = AzureFileVolumeSource{} }
  226. func (*AzureFileVolumeSource) ProtoMessage() {}
  227. func (*AzureFileVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  228. func (m *Binding) Reset() { *m = Binding{} }
  229. func (*Binding) ProtoMessage() {}
  230. func (*Binding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  231. func (m *Capabilities) Reset() { *m = Capabilities{} }
  232. func (*Capabilities) ProtoMessage() {}
  233. func (*Capabilities) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  234. func (m *CephFSVolumeSource) Reset() { *m = CephFSVolumeSource{} }
  235. func (*CephFSVolumeSource) ProtoMessage() {}
  236. func (*CephFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  237. func (m *CinderVolumeSource) Reset() { *m = CinderVolumeSource{} }
  238. func (*CinderVolumeSource) ProtoMessage() {}
  239. func (*CinderVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  240. func (m *ComponentCondition) Reset() { *m = ComponentCondition{} }
  241. func (*ComponentCondition) ProtoMessage() {}
  242. func (*ComponentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  243. func (m *ComponentStatus) Reset() { *m = ComponentStatus{} }
  244. func (*ComponentStatus) ProtoMessage() {}
  245. func (*ComponentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  246. func (m *ComponentStatusList) Reset() { *m = ComponentStatusList{} }
  247. func (*ComponentStatusList) ProtoMessage() {}
  248. func (*ComponentStatusList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  249. func (m *ConfigMap) Reset() { *m = ConfigMap{} }
  250. func (*ConfigMap) ProtoMessage() {}
  251. func (*ConfigMap) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  252. func (m *ConfigMapEnvSource) Reset() { *m = ConfigMapEnvSource{} }
  253. func (*ConfigMapEnvSource) ProtoMessage() {}
  254. func (*ConfigMapEnvSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  255. func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} }
  256. func (*ConfigMapKeySelector) ProtoMessage() {}
  257. func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  258. func (m *ConfigMapList) Reset() { *m = ConfigMapList{} }
  259. func (*ConfigMapList) ProtoMessage() {}
  260. func (*ConfigMapList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  261. func (m *ConfigMapProjection) Reset() { *m = ConfigMapProjection{} }
  262. func (*ConfigMapProjection) ProtoMessage() {}
  263. func (*ConfigMapProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  264. func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} }
  265. func (*ConfigMapVolumeSource) ProtoMessage() {}
  266. func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  267. func (m *Container) Reset() { *m = Container{} }
  268. func (*Container) ProtoMessage() {}
  269. func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  270. func (m *ContainerImage) Reset() { *m = ContainerImage{} }
  271. func (*ContainerImage) ProtoMessage() {}
  272. func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
  273. func (m *ContainerPort) Reset() { *m = ContainerPort{} }
  274. func (*ContainerPort) ProtoMessage() {}
  275. func (*ContainerPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
  276. func (m *ContainerState) Reset() { *m = ContainerState{} }
  277. func (*ContainerState) ProtoMessage() {}
  278. func (*ContainerState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
  279. func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} }
  280. func (*ContainerStateRunning) ProtoMessage() {}
  281. func (*ContainerStateRunning) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
  282. func (m *ContainerStateTerminated) Reset() { *m = ContainerStateTerminated{} }
  283. func (*ContainerStateTerminated) ProtoMessage() {}
  284. func (*ContainerStateTerminated) Descriptor() ([]byte, []int) {
  285. return fileDescriptorGenerated, []int{24}
  286. }
  287. func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} }
  288. func (*ContainerStateWaiting) ProtoMessage() {}
  289. func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  290. func (m *ContainerStatus) Reset() { *m = ContainerStatus{} }
  291. func (*ContainerStatus) ProtoMessage() {}
  292. func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  293. func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} }
  294. func (*DaemonEndpoint) ProtoMessage() {}
  295. func (*DaemonEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
  296. func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
  297. func (*DeleteOptions) ProtoMessage() {}
  298. func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
  299. func (m *DownwardAPIProjection) Reset() { *m = DownwardAPIProjection{} }
  300. func (*DownwardAPIProjection) ProtoMessage() {}
  301. func (*DownwardAPIProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
  302. func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} }
  303. func (*DownwardAPIVolumeFile) ProtoMessage() {}
  304. func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
  305. func (m *DownwardAPIVolumeSource) Reset() { *m = DownwardAPIVolumeSource{} }
  306. func (*DownwardAPIVolumeSource) ProtoMessage() {}
  307. func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) {
  308. return fileDescriptorGenerated, []int{31}
  309. }
  310. func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} }
  311. func (*EmptyDirVolumeSource) ProtoMessage() {}
  312. func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
  313. func (m *EndpointAddress) Reset() { *m = EndpointAddress{} }
  314. func (*EndpointAddress) ProtoMessage() {}
  315. func (*EndpointAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
  316. func (m *EndpointPort) Reset() { *m = EndpointPort{} }
  317. func (*EndpointPort) ProtoMessage() {}
  318. func (*EndpointPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
  319. func (m *EndpointSubset) Reset() { *m = EndpointSubset{} }
  320. func (*EndpointSubset) ProtoMessage() {}
  321. func (*EndpointSubset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
  322. func (m *Endpoints) Reset() { *m = Endpoints{} }
  323. func (*Endpoints) ProtoMessage() {}
  324. func (*Endpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
  325. func (m *EndpointsList) Reset() { *m = EndpointsList{} }
  326. func (*EndpointsList) ProtoMessage() {}
  327. func (*EndpointsList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
  328. func (m *EnvFromSource) Reset() { *m = EnvFromSource{} }
  329. func (*EnvFromSource) ProtoMessage() {}
  330. func (*EnvFromSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
  331. func (m *EnvVar) Reset() { *m = EnvVar{} }
  332. func (*EnvVar) ProtoMessage() {}
  333. func (*EnvVar) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
  334. func (m *EnvVarSource) Reset() { *m = EnvVarSource{} }
  335. func (*EnvVarSource) ProtoMessage() {}
  336. func (*EnvVarSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
  337. func (m *Event) Reset() { *m = Event{} }
  338. func (*Event) ProtoMessage() {}
  339. func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
  340. func (m *EventList) Reset() { *m = EventList{} }
  341. func (*EventList) ProtoMessage() {}
  342. func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
  343. func (m *EventSource) Reset() { *m = EventSource{} }
  344. func (*EventSource) ProtoMessage() {}
  345. func (*EventSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
  346. func (m *ExecAction) Reset() { *m = ExecAction{} }
  347. func (*ExecAction) ProtoMessage() {}
  348. func (*ExecAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} }
  349. func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} }
  350. func (*FCVolumeSource) ProtoMessage() {}
  351. func (*FCVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} }
  352. func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} }
  353. func (*FlexVolumeSource) ProtoMessage() {}
  354. func (*FlexVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
  355. func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} }
  356. func (*FlockerVolumeSource) ProtoMessage() {}
  357. func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} }
  358. func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} }
  359. func (*GCEPersistentDiskVolumeSource) ProtoMessage() {}
  360. func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
  361. return fileDescriptorGenerated, []int{48}
  362. }
  363. func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} }
  364. func (*GitRepoVolumeSource) ProtoMessage() {}
  365. func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} }
  366. func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} }
  367. func (*GlusterfsVolumeSource) ProtoMessage() {}
  368. func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} }
  369. func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} }
  370. func (*HTTPGetAction) ProtoMessage() {}
  371. func (*HTTPGetAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} }
  372. func (m *HTTPHeader) Reset() { *m = HTTPHeader{} }
  373. func (*HTTPHeader) ProtoMessage() {}
  374. func (*HTTPHeader) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
  375. func (m *Handler) Reset() { *m = Handler{} }
  376. func (*Handler) ProtoMessage() {}
  377. func (*Handler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} }
  378. func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} }
  379. func (*HostPathVolumeSource) ProtoMessage() {}
  380. func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} }
  381. func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} }
  382. func (*ISCSIVolumeSource) ProtoMessage() {}
  383. func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} }
  384. func (m *KeyToPath) Reset() { *m = KeyToPath{} }
  385. func (*KeyToPath) ProtoMessage() {}
  386. func (*KeyToPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} }
  387. func (m *Lifecycle) Reset() { *m = Lifecycle{} }
  388. func (*Lifecycle) ProtoMessage() {}
  389. func (*Lifecycle) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} }
  390. func (m *LimitRange) Reset() { *m = LimitRange{} }
  391. func (*LimitRange) ProtoMessage() {}
  392. func (*LimitRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} }
  393. func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} }
  394. func (*LimitRangeItem) ProtoMessage() {}
  395. func (*LimitRangeItem) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} }
  396. func (m *LimitRangeList) Reset() { *m = LimitRangeList{} }
  397. func (*LimitRangeList) ProtoMessage() {}
  398. func (*LimitRangeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} }
  399. func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} }
  400. func (*LimitRangeSpec) ProtoMessage() {}
  401. func (*LimitRangeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} }
  402. func (m *List) Reset() { *m = List{} }
  403. func (*List) ProtoMessage() {}
  404. func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} }
  405. func (m *ListOptions) Reset() { *m = ListOptions{} }
  406. func (*ListOptions) ProtoMessage() {}
  407. func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} }
  408. func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} }
  409. func (*LoadBalancerIngress) ProtoMessage() {}
  410. func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} }
  411. func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} }
  412. func (*LoadBalancerStatus) ProtoMessage() {}
  413. func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} }
  414. func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} }
  415. func (*LocalObjectReference) ProtoMessage() {}
  416. func (*LocalObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} }
  417. func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} }
  418. func (*NFSVolumeSource) ProtoMessage() {}
  419. func (*NFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} }
  420. func (m *Namespace) Reset() { *m = Namespace{} }
  421. func (*Namespace) ProtoMessage() {}
  422. func (*Namespace) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} }
  423. func (m *NamespaceList) Reset() { *m = NamespaceList{} }
  424. func (*NamespaceList) ProtoMessage() {}
  425. func (*NamespaceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{69} }
  426. func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} }
  427. func (*NamespaceSpec) ProtoMessage() {}
  428. func (*NamespaceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} }
  429. func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} }
  430. func (*NamespaceStatus) ProtoMessage() {}
  431. func (*NamespaceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{71} }
  432. func (m *Node) Reset() { *m = Node{} }
  433. func (*Node) ProtoMessage() {}
  434. func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{72} }
  435. func (m *NodeAddress) Reset() { *m = NodeAddress{} }
  436. func (*NodeAddress) ProtoMessage() {}
  437. func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{73} }
  438. func (m *NodeAffinity) Reset() { *m = NodeAffinity{} }
  439. func (*NodeAffinity) ProtoMessage() {}
  440. func (*NodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{74} }
  441. func (m *NodeCondition) Reset() { *m = NodeCondition{} }
  442. func (*NodeCondition) ProtoMessage() {}
  443. func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{75} }
  444. func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} }
  445. func (*NodeDaemonEndpoints) ProtoMessage() {}
  446. func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{76} }
  447. func (m *NodeList) Reset() { *m = NodeList{} }
  448. func (*NodeList) ProtoMessage() {}
  449. func (*NodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{77} }
  450. func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} }
  451. func (*NodeProxyOptions) ProtoMessage() {}
  452. func (*NodeProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{78} }
  453. func (m *NodeResources) Reset() { *m = NodeResources{} }
  454. func (*NodeResources) ProtoMessage() {}
  455. func (*NodeResources) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{79} }
  456. func (m *NodeSelector) Reset() { *m = NodeSelector{} }
  457. func (*NodeSelector) ProtoMessage() {}
  458. func (*NodeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{80} }
  459. func (m *NodeSelectorRequirement) Reset() { *m = NodeSelectorRequirement{} }
  460. func (*NodeSelectorRequirement) ProtoMessage() {}
  461. func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) {
  462. return fileDescriptorGenerated, []int{81}
  463. }
  464. func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} }
  465. func (*NodeSelectorTerm) ProtoMessage() {}
  466. func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{82} }
  467. func (m *NodeSpec) Reset() { *m = NodeSpec{} }
  468. func (*NodeSpec) ProtoMessage() {}
  469. func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{83} }
  470. func (m *NodeStatus) Reset() { *m = NodeStatus{} }
  471. func (*NodeStatus) ProtoMessage() {}
  472. func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{84} }
  473. func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} }
  474. func (*NodeSystemInfo) ProtoMessage() {}
  475. func (*NodeSystemInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{85} }
  476. func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} }
  477. func (*ObjectFieldSelector) ProtoMessage() {}
  478. func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{86} }
  479. func (m *ObjectMeta) Reset() { *m = ObjectMeta{} }
  480. func (*ObjectMeta) ProtoMessage() {}
  481. func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{87} }
  482. func (m *ObjectReference) Reset() { *m = ObjectReference{} }
  483. func (*ObjectReference) ProtoMessage() {}
  484. func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{88} }
  485. func (m *PersistentVolume) Reset() { *m = PersistentVolume{} }
  486. func (*PersistentVolume) ProtoMessage() {}
  487. func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{89} }
  488. func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} }
  489. func (*PersistentVolumeClaim) ProtoMessage() {}
  490. func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{90} }
  491. func (m *PersistentVolumeClaimList) Reset() { *m = PersistentVolumeClaimList{} }
  492. func (*PersistentVolumeClaimList) ProtoMessage() {}
  493. func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) {
  494. return fileDescriptorGenerated, []int{91}
  495. }
  496. func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} }
  497. func (*PersistentVolumeClaimSpec) ProtoMessage() {}
  498. func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) {
  499. return fileDescriptorGenerated, []int{92}
  500. }
  501. func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} }
  502. func (*PersistentVolumeClaimStatus) ProtoMessage() {}
  503. func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) {
  504. return fileDescriptorGenerated, []int{93}
  505. }
  506. func (m *PersistentVolumeClaimVolumeSource) Reset() { *m = PersistentVolumeClaimVolumeSource{} }
  507. func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {}
  508. func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) {
  509. return fileDescriptorGenerated, []int{94}
  510. }
  511. func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} }
  512. func (*PersistentVolumeList) ProtoMessage() {}
  513. func (*PersistentVolumeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{95} }
  514. func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} }
  515. func (*PersistentVolumeSource) ProtoMessage() {}
  516. func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{96} }
  517. func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} }
  518. func (*PersistentVolumeSpec) ProtoMessage() {}
  519. func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{97} }
  520. func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} }
  521. func (*PersistentVolumeStatus) ProtoMessage() {}
  522. func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{98} }
  523. func (m *PhotonPersistentDiskVolumeSource) Reset() { *m = PhotonPersistentDiskVolumeSource{} }
  524. func (*PhotonPersistentDiskVolumeSource) ProtoMessage() {}
  525. func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
  526. return fileDescriptorGenerated, []int{99}
  527. }
  528. func (m *Pod) Reset() { *m = Pod{} }
  529. func (*Pod) ProtoMessage() {}
  530. func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{100} }
  531. func (m *PodAffinity) Reset() { *m = PodAffinity{} }
  532. func (*PodAffinity) ProtoMessage() {}
  533. func (*PodAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{101} }
  534. func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} }
  535. func (*PodAffinityTerm) ProtoMessage() {}
  536. func (*PodAffinityTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{102} }
  537. func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} }
  538. func (*PodAntiAffinity) ProtoMessage() {}
  539. func (*PodAntiAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{103} }
  540. func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} }
  541. func (*PodAttachOptions) ProtoMessage() {}
  542. func (*PodAttachOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{104} }
  543. func (m *PodCondition) Reset() { *m = PodCondition{} }
  544. func (*PodCondition) ProtoMessage() {}
  545. func (*PodCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{105} }
  546. func (m *PodExecOptions) Reset() { *m = PodExecOptions{} }
  547. func (*PodExecOptions) ProtoMessage() {}
  548. func (*PodExecOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{106} }
  549. func (m *PodList) Reset() { *m = PodList{} }
  550. func (*PodList) ProtoMessage() {}
  551. func (*PodList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{107} }
  552. func (m *PodLogOptions) Reset() { *m = PodLogOptions{} }
  553. func (*PodLogOptions) ProtoMessage() {}
  554. func (*PodLogOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{108} }
  555. func (m *PodPortForwardOptions) Reset() { *m = PodPortForwardOptions{} }
  556. func (*PodPortForwardOptions) ProtoMessage() {}
  557. func (*PodPortForwardOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{109} }
  558. func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} }
  559. func (*PodProxyOptions) ProtoMessage() {}
  560. func (*PodProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{110} }
  561. func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} }
  562. func (*PodSecurityContext) ProtoMessage() {}
  563. func (*PodSecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{111} }
  564. func (m *PodSignature) Reset() { *m = PodSignature{} }
  565. func (*PodSignature) ProtoMessage() {}
  566. func (*PodSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{112} }
  567. func (m *PodSpec) Reset() { *m = PodSpec{} }
  568. func (*PodSpec) ProtoMessage() {}
  569. func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{113} }
  570. func (m *PodStatus) Reset() { *m = PodStatus{} }
  571. func (*PodStatus) ProtoMessage() {}
  572. func (*PodStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{114} }
  573. func (m *PodStatusResult) Reset() { *m = PodStatusResult{} }
  574. func (*PodStatusResult) ProtoMessage() {}
  575. func (*PodStatusResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{115} }
  576. func (m *PodTemplate) Reset() { *m = PodTemplate{} }
  577. func (*PodTemplate) ProtoMessage() {}
  578. func (*PodTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{116} }
  579. func (m *PodTemplateList) Reset() { *m = PodTemplateList{} }
  580. func (*PodTemplateList) ProtoMessage() {}
  581. func (*PodTemplateList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{117} }
  582. func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} }
  583. func (*PodTemplateSpec) ProtoMessage() {}
  584. func (*PodTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{118} }
  585. func (m *PortworxVolumeSource) Reset() { *m = PortworxVolumeSource{} }
  586. func (*PortworxVolumeSource) ProtoMessage() {}
  587. func (*PortworxVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{119} }
  588. func (m *Preconditions) Reset() { *m = Preconditions{} }
  589. func (*Preconditions) ProtoMessage() {}
  590. func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{120} }
  591. func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} }
  592. func (*PreferAvoidPodsEntry) ProtoMessage() {}
  593. func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{121} }
  594. func (m *PreferredSchedulingTerm) Reset() { *m = PreferredSchedulingTerm{} }
  595. func (*PreferredSchedulingTerm) ProtoMessage() {}
  596. func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) {
  597. return fileDescriptorGenerated, []int{122}
  598. }
  599. func (m *Probe) Reset() { *m = Probe{} }
  600. func (*Probe) ProtoMessage() {}
  601. func (*Probe) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{123} }
  602. func (m *ProjectedVolumeSource) Reset() { *m = ProjectedVolumeSource{} }
  603. func (*ProjectedVolumeSource) ProtoMessage() {}
  604. func (*ProjectedVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{124} }
  605. func (m *QuobyteVolumeSource) Reset() { *m = QuobyteVolumeSource{} }
  606. func (*QuobyteVolumeSource) ProtoMessage() {}
  607. func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{125} }
  608. func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} }
  609. func (*RBDVolumeSource) ProtoMessage() {}
  610. func (*RBDVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} }
  611. func (m *RangeAllocation) Reset() { *m = RangeAllocation{} }
  612. func (*RangeAllocation) ProtoMessage() {}
  613. func (*RangeAllocation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} }
  614. func (m *ReplicationController) Reset() { *m = ReplicationController{} }
  615. func (*ReplicationController) ProtoMessage() {}
  616. func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} }
  617. func (m *ReplicationControllerCondition) Reset() { *m = ReplicationControllerCondition{} }
  618. func (*ReplicationControllerCondition) ProtoMessage() {}
  619. func (*ReplicationControllerCondition) Descriptor() ([]byte, []int) {
  620. return fileDescriptorGenerated, []int{129}
  621. }
  622. func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} }
  623. func (*ReplicationControllerList) ProtoMessage() {}
  624. func (*ReplicationControllerList) Descriptor() ([]byte, []int) {
  625. return fileDescriptorGenerated, []int{130}
  626. }
  627. func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} }
  628. func (*ReplicationControllerSpec) ProtoMessage() {}
  629. func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) {
  630. return fileDescriptorGenerated, []int{131}
  631. }
  632. func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} }
  633. func (*ReplicationControllerStatus) ProtoMessage() {}
  634. func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) {
  635. return fileDescriptorGenerated, []int{132}
  636. }
  637. func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} }
  638. func (*ResourceFieldSelector) ProtoMessage() {}
  639. func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} }
  640. func (m *ResourceQuota) Reset() { *m = ResourceQuota{} }
  641. func (*ResourceQuota) ProtoMessage() {}
  642. func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} }
  643. func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} }
  644. func (*ResourceQuotaList) ProtoMessage() {}
  645. func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} }
  646. func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} }
  647. func (*ResourceQuotaSpec) ProtoMessage() {}
  648. func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} }
  649. func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} }
  650. func (*ResourceQuotaStatus) ProtoMessage() {}
  651. func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} }
  652. func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} }
  653. func (*ResourceRequirements) ProtoMessage() {}
  654. func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} }
  655. func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} }
  656. func (*SELinuxOptions) ProtoMessage() {}
  657. func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} }
  658. func (m *ScaleIOVolumeSource) Reset() { *m = ScaleIOVolumeSource{} }
  659. func (*ScaleIOVolumeSource) ProtoMessage() {}
  660. func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} }
  661. func (m *Secret) Reset() { *m = Secret{} }
  662. func (*Secret) ProtoMessage() {}
  663. func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} }
  664. func (m *SecretEnvSource) Reset() { *m = SecretEnvSource{} }
  665. func (*SecretEnvSource) ProtoMessage() {}
  666. func (*SecretEnvSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} }
  667. func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} }
  668. func (*SecretKeySelector) ProtoMessage() {}
  669. func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} }
  670. func (m *SecretList) Reset() { *m = SecretList{} }
  671. func (*SecretList) ProtoMessage() {}
  672. func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} }
  673. func (m *SecretProjection) Reset() { *m = SecretProjection{} }
  674. func (*SecretProjection) ProtoMessage() {}
  675. func (*SecretProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} }
  676. func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} }
  677. func (*SecretVolumeSource) ProtoMessage() {}
  678. func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{146} }
  679. func (m *SecurityContext) Reset() { *m = SecurityContext{} }
  680. func (*SecurityContext) ProtoMessage() {}
  681. func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} }
  682. func (m *SerializedReference) Reset() { *m = SerializedReference{} }
  683. func (*SerializedReference) ProtoMessage() {}
  684. func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} }
  685. func (m *Service) Reset() { *m = Service{} }
  686. func (*Service) ProtoMessage() {}
  687. func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} }
  688. func (m *ServiceAccount) Reset() { *m = ServiceAccount{} }
  689. func (*ServiceAccount) ProtoMessage() {}
  690. func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} }
  691. func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} }
  692. func (*ServiceAccountList) ProtoMessage() {}
  693. func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} }
  694. func (m *ServiceList) Reset() { *m = ServiceList{} }
  695. func (*ServiceList) ProtoMessage() {}
  696. func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{152} }
  697. func (m *ServicePort) Reset() { *m = ServicePort{} }
  698. func (*ServicePort) ProtoMessage() {}
  699. func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{153} }
  700. func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} }
  701. func (*ServiceProxyOptions) ProtoMessage() {}
  702. func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{154} }
  703. func (m *ServiceSpec) Reset() { *m = ServiceSpec{} }
  704. func (*ServiceSpec) ProtoMessage() {}
  705. func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{155} }
  706. func (m *ServiceStatus) Reset() { *m = ServiceStatus{} }
  707. func (*ServiceStatus) ProtoMessage() {}
  708. func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{156} }
  709. func (m *Sysctl) Reset() { *m = Sysctl{} }
  710. func (*Sysctl) ProtoMessage() {}
  711. func (*Sysctl) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{157} }
  712. func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} }
  713. func (*TCPSocketAction) ProtoMessage() {}
  714. func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{158} }
  715. func (m *Taint) Reset() { *m = Taint{} }
  716. func (*Taint) ProtoMessage() {}
  717. func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{159} }
  718. func (m *Toleration) Reset() { *m = Toleration{} }
  719. func (*Toleration) ProtoMessage() {}
  720. func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{160} }
  721. func (m *Volume) Reset() { *m = Volume{} }
  722. func (*Volume) ProtoMessage() {}
  723. func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{161} }
  724. func (m *VolumeMount) Reset() { *m = VolumeMount{} }
  725. func (*VolumeMount) ProtoMessage() {}
  726. func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{162} }
  727. func (m *VolumeProjection) Reset() { *m = VolumeProjection{} }
  728. func (*VolumeProjection) ProtoMessage() {}
  729. func (*VolumeProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{163} }
  730. func (m *VolumeSource) Reset() { *m = VolumeSource{} }
  731. func (*VolumeSource) ProtoMessage() {}
  732. func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{164} }
  733. func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} }
  734. func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {}
  735. func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) {
  736. return fileDescriptorGenerated, []int{165}
  737. }
  738. func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} }
  739. func (*WeightedPodAffinityTerm) ProtoMessage() {}
  740. func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) {
  741. return fileDescriptorGenerated, []int{166}
  742. }
  743. func init() {
  744. proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.AWSElasticBlockStoreVolumeSource")
  745. proto.RegisterType((*Affinity)(nil), "k8s.io.client-go.pkg.api.v1.Affinity")
  746. proto.RegisterType((*AttachedVolume)(nil), "k8s.io.client-go.pkg.api.v1.AttachedVolume")
  747. proto.RegisterType((*AvoidPods)(nil), "k8s.io.client-go.pkg.api.v1.AvoidPods")
  748. proto.RegisterType((*AzureDiskVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.AzureDiskVolumeSource")
  749. proto.RegisterType((*AzureFileVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.AzureFileVolumeSource")
  750. proto.RegisterType((*Binding)(nil), "k8s.io.client-go.pkg.api.v1.Binding")
  751. proto.RegisterType((*Capabilities)(nil), "k8s.io.client-go.pkg.api.v1.Capabilities")
  752. proto.RegisterType((*CephFSVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.CephFSVolumeSource")
  753. proto.RegisterType((*CinderVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.CinderVolumeSource")
  754. proto.RegisterType((*ComponentCondition)(nil), "k8s.io.client-go.pkg.api.v1.ComponentCondition")
  755. proto.RegisterType((*ComponentStatus)(nil), "k8s.io.client-go.pkg.api.v1.ComponentStatus")
  756. proto.RegisterType((*ComponentStatusList)(nil), "k8s.io.client-go.pkg.api.v1.ComponentStatusList")
  757. proto.RegisterType((*ConfigMap)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMap")
  758. proto.RegisterType((*ConfigMapEnvSource)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapEnvSource")
  759. proto.RegisterType((*ConfigMapKeySelector)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapKeySelector")
  760. proto.RegisterType((*ConfigMapList)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapList")
  761. proto.RegisterType((*ConfigMapProjection)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapProjection")
  762. proto.RegisterType((*ConfigMapVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapVolumeSource")
  763. proto.RegisterType((*Container)(nil), "k8s.io.client-go.pkg.api.v1.Container")
  764. proto.RegisterType((*ContainerImage)(nil), "k8s.io.client-go.pkg.api.v1.ContainerImage")
  765. proto.RegisterType((*ContainerPort)(nil), "k8s.io.client-go.pkg.api.v1.ContainerPort")
  766. proto.RegisterType((*ContainerState)(nil), "k8s.io.client-go.pkg.api.v1.ContainerState")
  767. proto.RegisterType((*ContainerStateRunning)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStateRunning")
  768. proto.RegisterType((*ContainerStateTerminated)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStateTerminated")
  769. proto.RegisterType((*ContainerStateWaiting)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStateWaiting")
  770. proto.RegisterType((*ContainerStatus)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStatus")
  771. proto.RegisterType((*DaemonEndpoint)(nil), "k8s.io.client-go.pkg.api.v1.DaemonEndpoint")
  772. proto.RegisterType((*DeleteOptions)(nil), "k8s.io.client-go.pkg.api.v1.DeleteOptions")
  773. proto.RegisterType((*DownwardAPIProjection)(nil), "k8s.io.client-go.pkg.api.v1.DownwardAPIProjection")
  774. proto.RegisterType((*DownwardAPIVolumeFile)(nil), "k8s.io.client-go.pkg.api.v1.DownwardAPIVolumeFile")
  775. proto.RegisterType((*DownwardAPIVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.DownwardAPIVolumeSource")
  776. proto.RegisterType((*EmptyDirVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.EmptyDirVolumeSource")
  777. proto.RegisterType((*EndpointAddress)(nil), "k8s.io.client-go.pkg.api.v1.EndpointAddress")
  778. proto.RegisterType((*EndpointPort)(nil), "k8s.io.client-go.pkg.api.v1.EndpointPort")
  779. proto.RegisterType((*EndpointSubset)(nil), "k8s.io.client-go.pkg.api.v1.EndpointSubset")
  780. proto.RegisterType((*Endpoints)(nil), "k8s.io.client-go.pkg.api.v1.Endpoints")
  781. proto.RegisterType((*EndpointsList)(nil), "k8s.io.client-go.pkg.api.v1.EndpointsList")
  782. proto.RegisterType((*EnvFromSource)(nil), "k8s.io.client-go.pkg.api.v1.EnvFromSource")
  783. proto.RegisterType((*EnvVar)(nil), "k8s.io.client-go.pkg.api.v1.EnvVar")
  784. proto.RegisterType((*EnvVarSource)(nil), "k8s.io.client-go.pkg.api.v1.EnvVarSource")
  785. proto.RegisterType((*Event)(nil), "k8s.io.client-go.pkg.api.v1.Event")
  786. proto.RegisterType((*EventList)(nil), "k8s.io.client-go.pkg.api.v1.EventList")
  787. proto.RegisterType((*EventSource)(nil), "k8s.io.client-go.pkg.api.v1.EventSource")
  788. proto.RegisterType((*ExecAction)(nil), "k8s.io.client-go.pkg.api.v1.ExecAction")
  789. proto.RegisterType((*FCVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.FCVolumeSource")
  790. proto.RegisterType((*FlexVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.FlexVolumeSource")
  791. proto.RegisterType((*FlockerVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.FlockerVolumeSource")
  792. proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.GCEPersistentDiskVolumeSource")
  793. proto.RegisterType((*GitRepoVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.GitRepoVolumeSource")
  794. proto.RegisterType((*GlusterfsVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.GlusterfsVolumeSource")
  795. proto.RegisterType((*HTTPGetAction)(nil), "k8s.io.client-go.pkg.api.v1.HTTPGetAction")
  796. proto.RegisterType((*HTTPHeader)(nil), "k8s.io.client-go.pkg.api.v1.HTTPHeader")
  797. proto.RegisterType((*Handler)(nil), "k8s.io.client-go.pkg.api.v1.Handler")
  798. proto.RegisterType((*HostPathVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.HostPathVolumeSource")
  799. proto.RegisterType((*ISCSIVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.ISCSIVolumeSource")
  800. proto.RegisterType((*KeyToPath)(nil), "k8s.io.client-go.pkg.api.v1.KeyToPath")
  801. proto.RegisterType((*Lifecycle)(nil), "k8s.io.client-go.pkg.api.v1.Lifecycle")
  802. proto.RegisterType((*LimitRange)(nil), "k8s.io.client-go.pkg.api.v1.LimitRange")
  803. proto.RegisterType((*LimitRangeItem)(nil), "k8s.io.client-go.pkg.api.v1.LimitRangeItem")
  804. proto.RegisterType((*LimitRangeList)(nil), "k8s.io.client-go.pkg.api.v1.LimitRangeList")
  805. proto.RegisterType((*LimitRangeSpec)(nil), "k8s.io.client-go.pkg.api.v1.LimitRangeSpec")
  806. proto.RegisterType((*List)(nil), "k8s.io.client-go.pkg.api.v1.List")
  807. proto.RegisterType((*ListOptions)(nil), "k8s.io.client-go.pkg.api.v1.ListOptions")
  808. proto.RegisterType((*LoadBalancerIngress)(nil), "k8s.io.client-go.pkg.api.v1.LoadBalancerIngress")
  809. proto.RegisterType((*LoadBalancerStatus)(nil), "k8s.io.client-go.pkg.api.v1.LoadBalancerStatus")
  810. proto.RegisterType((*LocalObjectReference)(nil), "k8s.io.client-go.pkg.api.v1.LocalObjectReference")
  811. proto.RegisterType((*NFSVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.NFSVolumeSource")
  812. proto.RegisterType((*Namespace)(nil), "k8s.io.client-go.pkg.api.v1.Namespace")
  813. proto.RegisterType((*NamespaceList)(nil), "k8s.io.client-go.pkg.api.v1.NamespaceList")
  814. proto.RegisterType((*NamespaceSpec)(nil), "k8s.io.client-go.pkg.api.v1.NamespaceSpec")
  815. proto.RegisterType((*NamespaceStatus)(nil), "k8s.io.client-go.pkg.api.v1.NamespaceStatus")
  816. proto.RegisterType((*Node)(nil), "k8s.io.client-go.pkg.api.v1.Node")
  817. proto.RegisterType((*NodeAddress)(nil), "k8s.io.client-go.pkg.api.v1.NodeAddress")
  818. proto.RegisterType((*NodeAffinity)(nil), "k8s.io.client-go.pkg.api.v1.NodeAffinity")
  819. proto.RegisterType((*NodeCondition)(nil), "k8s.io.client-go.pkg.api.v1.NodeCondition")
  820. proto.RegisterType((*NodeDaemonEndpoints)(nil), "k8s.io.client-go.pkg.api.v1.NodeDaemonEndpoints")
  821. proto.RegisterType((*NodeList)(nil), "k8s.io.client-go.pkg.api.v1.NodeList")
  822. proto.RegisterType((*NodeProxyOptions)(nil), "k8s.io.client-go.pkg.api.v1.NodeProxyOptions")
  823. proto.RegisterType((*NodeResources)(nil), "k8s.io.client-go.pkg.api.v1.NodeResources")
  824. proto.RegisterType((*NodeSelector)(nil), "k8s.io.client-go.pkg.api.v1.NodeSelector")
  825. proto.RegisterType((*NodeSelectorRequirement)(nil), "k8s.io.client-go.pkg.api.v1.NodeSelectorRequirement")
  826. proto.RegisterType((*NodeSelectorTerm)(nil), "k8s.io.client-go.pkg.api.v1.NodeSelectorTerm")
  827. proto.RegisterType((*NodeSpec)(nil), "k8s.io.client-go.pkg.api.v1.NodeSpec")
  828. proto.RegisterType((*NodeStatus)(nil), "k8s.io.client-go.pkg.api.v1.NodeStatus")
  829. proto.RegisterType((*NodeSystemInfo)(nil), "k8s.io.client-go.pkg.api.v1.NodeSystemInfo")
  830. proto.RegisterType((*ObjectFieldSelector)(nil), "k8s.io.client-go.pkg.api.v1.ObjectFieldSelector")
  831. proto.RegisterType((*ObjectMeta)(nil), "k8s.io.client-go.pkg.api.v1.ObjectMeta")
  832. proto.RegisterType((*ObjectReference)(nil), "k8s.io.client-go.pkg.api.v1.ObjectReference")
  833. proto.RegisterType((*PersistentVolume)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolume")
  834. proto.RegisterType((*PersistentVolumeClaim)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaim")
  835. proto.RegisterType((*PersistentVolumeClaimList)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimList")
  836. proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimSpec")
  837. proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimStatus")
  838. proto.RegisterType((*PersistentVolumeClaimVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimVolumeSource")
  839. proto.RegisterType((*PersistentVolumeList)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeList")
  840. proto.RegisterType((*PersistentVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeSource")
  841. proto.RegisterType((*PersistentVolumeSpec)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeSpec")
  842. proto.RegisterType((*PersistentVolumeStatus)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeStatus")
  843. proto.RegisterType((*PhotonPersistentDiskVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.PhotonPersistentDiskVolumeSource")
  844. proto.RegisterType((*Pod)(nil), "k8s.io.client-go.pkg.api.v1.Pod")
  845. proto.RegisterType((*PodAffinity)(nil), "k8s.io.client-go.pkg.api.v1.PodAffinity")
  846. proto.RegisterType((*PodAffinityTerm)(nil), "k8s.io.client-go.pkg.api.v1.PodAffinityTerm")
  847. proto.RegisterType((*PodAntiAffinity)(nil), "k8s.io.client-go.pkg.api.v1.PodAntiAffinity")
  848. proto.RegisterType((*PodAttachOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodAttachOptions")
  849. proto.RegisterType((*PodCondition)(nil), "k8s.io.client-go.pkg.api.v1.PodCondition")
  850. proto.RegisterType((*PodExecOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodExecOptions")
  851. proto.RegisterType((*PodList)(nil), "k8s.io.client-go.pkg.api.v1.PodList")
  852. proto.RegisterType((*PodLogOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodLogOptions")
  853. proto.RegisterType((*PodPortForwardOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodPortForwardOptions")
  854. proto.RegisterType((*PodProxyOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodProxyOptions")
  855. proto.RegisterType((*PodSecurityContext)(nil), "k8s.io.client-go.pkg.api.v1.PodSecurityContext")
  856. proto.RegisterType((*PodSignature)(nil), "k8s.io.client-go.pkg.api.v1.PodSignature")
  857. proto.RegisterType((*PodSpec)(nil), "k8s.io.client-go.pkg.api.v1.PodSpec")
  858. proto.RegisterType((*PodStatus)(nil), "k8s.io.client-go.pkg.api.v1.PodStatus")
  859. proto.RegisterType((*PodStatusResult)(nil), "k8s.io.client-go.pkg.api.v1.PodStatusResult")
  860. proto.RegisterType((*PodTemplate)(nil), "k8s.io.client-go.pkg.api.v1.PodTemplate")
  861. proto.RegisterType((*PodTemplateList)(nil), "k8s.io.client-go.pkg.api.v1.PodTemplateList")
  862. proto.RegisterType((*PodTemplateSpec)(nil), "k8s.io.client-go.pkg.api.v1.PodTemplateSpec")
  863. proto.RegisterType((*PortworxVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.PortworxVolumeSource")
  864. proto.RegisterType((*Preconditions)(nil), "k8s.io.client-go.pkg.api.v1.Preconditions")
  865. proto.RegisterType((*PreferAvoidPodsEntry)(nil), "k8s.io.client-go.pkg.api.v1.PreferAvoidPodsEntry")
  866. proto.RegisterType((*PreferredSchedulingTerm)(nil), "k8s.io.client-go.pkg.api.v1.PreferredSchedulingTerm")
  867. proto.RegisterType((*Probe)(nil), "k8s.io.client-go.pkg.api.v1.Probe")
  868. proto.RegisterType((*ProjectedVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.ProjectedVolumeSource")
  869. proto.RegisterType((*QuobyteVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.QuobyteVolumeSource")
  870. proto.RegisterType((*RBDVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.RBDVolumeSource")
  871. proto.RegisterType((*RangeAllocation)(nil), "k8s.io.client-go.pkg.api.v1.RangeAllocation")
  872. proto.RegisterType((*ReplicationController)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationController")
  873. proto.RegisterType((*ReplicationControllerCondition)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerCondition")
  874. proto.RegisterType((*ReplicationControllerList)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerList")
  875. proto.RegisterType((*ReplicationControllerSpec)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerSpec")
  876. proto.RegisterType((*ReplicationControllerStatus)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerStatus")
  877. proto.RegisterType((*ResourceFieldSelector)(nil), "k8s.io.client-go.pkg.api.v1.ResourceFieldSelector")
  878. proto.RegisterType((*ResourceQuota)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuota")
  879. proto.RegisterType((*ResourceQuotaList)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuotaList")
  880. proto.RegisterType((*ResourceQuotaSpec)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuotaSpec")
  881. proto.RegisterType((*ResourceQuotaStatus)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuotaStatus")
  882. proto.RegisterType((*ResourceRequirements)(nil), "k8s.io.client-go.pkg.api.v1.ResourceRequirements")
  883. proto.RegisterType((*SELinuxOptions)(nil), "k8s.io.client-go.pkg.api.v1.SELinuxOptions")
  884. proto.RegisterType((*ScaleIOVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.ScaleIOVolumeSource")
  885. proto.RegisterType((*Secret)(nil), "k8s.io.client-go.pkg.api.v1.Secret")
  886. proto.RegisterType((*SecretEnvSource)(nil), "k8s.io.client-go.pkg.api.v1.SecretEnvSource")
  887. proto.RegisterType((*SecretKeySelector)(nil), "k8s.io.client-go.pkg.api.v1.SecretKeySelector")
  888. proto.RegisterType((*SecretList)(nil), "k8s.io.client-go.pkg.api.v1.SecretList")
  889. proto.RegisterType((*SecretProjection)(nil), "k8s.io.client-go.pkg.api.v1.SecretProjection")
  890. proto.RegisterType((*SecretVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.SecretVolumeSource")
  891. proto.RegisterType((*SecurityContext)(nil), "k8s.io.client-go.pkg.api.v1.SecurityContext")
  892. proto.RegisterType((*SerializedReference)(nil), "k8s.io.client-go.pkg.api.v1.SerializedReference")
  893. proto.RegisterType((*Service)(nil), "k8s.io.client-go.pkg.api.v1.Service")
  894. proto.RegisterType((*ServiceAccount)(nil), "k8s.io.client-go.pkg.api.v1.ServiceAccount")
  895. proto.RegisterType((*ServiceAccountList)(nil), "k8s.io.client-go.pkg.api.v1.ServiceAccountList")
  896. proto.RegisterType((*ServiceList)(nil), "k8s.io.client-go.pkg.api.v1.ServiceList")
  897. proto.RegisterType((*ServicePort)(nil), "k8s.io.client-go.pkg.api.v1.ServicePort")
  898. proto.RegisterType((*ServiceProxyOptions)(nil), "k8s.io.client-go.pkg.api.v1.ServiceProxyOptions")
  899. proto.RegisterType((*ServiceSpec)(nil), "k8s.io.client-go.pkg.api.v1.ServiceSpec")
  900. proto.RegisterType((*ServiceStatus)(nil), "k8s.io.client-go.pkg.api.v1.ServiceStatus")
  901. proto.RegisterType((*Sysctl)(nil), "k8s.io.client-go.pkg.api.v1.Sysctl")
  902. proto.RegisterType((*TCPSocketAction)(nil), "k8s.io.client-go.pkg.api.v1.TCPSocketAction")
  903. proto.RegisterType((*Taint)(nil), "k8s.io.client-go.pkg.api.v1.Taint")
  904. proto.RegisterType((*Toleration)(nil), "k8s.io.client-go.pkg.api.v1.Toleration")
  905. proto.RegisterType((*Volume)(nil), "k8s.io.client-go.pkg.api.v1.Volume")
  906. proto.RegisterType((*VolumeMount)(nil), "k8s.io.client-go.pkg.api.v1.VolumeMount")
  907. proto.RegisterType((*VolumeProjection)(nil), "k8s.io.client-go.pkg.api.v1.VolumeProjection")
  908. proto.RegisterType((*VolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.VolumeSource")
  909. proto.RegisterType((*VsphereVirtualDiskVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.VsphereVirtualDiskVolumeSource")
  910. proto.RegisterType((*WeightedPodAffinityTerm)(nil), "k8s.io.client-go.pkg.api.v1.WeightedPodAffinityTerm")
  911. }
  912. func (m *AWSElasticBlockStoreVolumeSource) Marshal() (data []byte, err error) {
  913. size := m.Size()
  914. data = make([]byte, size)
  915. n, err := m.MarshalTo(data)
  916. if err != nil {
  917. return nil, err
  918. }
  919. return data[:n], nil
  920. }
  921. func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(data []byte) (int, error) {
  922. var i int
  923. _ = i
  924. var l int
  925. _ = l
  926. data[i] = 0xa
  927. i++
  928. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeID)))
  929. i += copy(data[i:], m.VolumeID)
  930. data[i] = 0x12
  931. i++
  932. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  933. i += copy(data[i:], m.FSType)
  934. data[i] = 0x18
  935. i++
  936. i = encodeVarintGenerated(data, i, uint64(m.Partition))
  937. data[i] = 0x20
  938. i++
  939. if m.ReadOnly {
  940. data[i] = 1
  941. } else {
  942. data[i] = 0
  943. }
  944. i++
  945. return i, nil
  946. }
  947. func (m *Affinity) Marshal() (data []byte, err error) {
  948. size := m.Size()
  949. data = make([]byte, size)
  950. n, err := m.MarshalTo(data)
  951. if err != nil {
  952. return nil, err
  953. }
  954. return data[:n], nil
  955. }
  956. func (m *Affinity) MarshalTo(data []byte) (int, error) {
  957. var i int
  958. _ = i
  959. var l int
  960. _ = l
  961. if m.NodeAffinity != nil {
  962. data[i] = 0xa
  963. i++
  964. i = encodeVarintGenerated(data, i, uint64(m.NodeAffinity.Size()))
  965. n1, err := m.NodeAffinity.MarshalTo(data[i:])
  966. if err != nil {
  967. return 0, err
  968. }
  969. i += n1
  970. }
  971. if m.PodAffinity != nil {
  972. data[i] = 0x12
  973. i++
  974. i = encodeVarintGenerated(data, i, uint64(m.PodAffinity.Size()))
  975. n2, err := m.PodAffinity.MarshalTo(data[i:])
  976. if err != nil {
  977. return 0, err
  978. }
  979. i += n2
  980. }
  981. if m.PodAntiAffinity != nil {
  982. data[i] = 0x1a
  983. i++
  984. i = encodeVarintGenerated(data, i, uint64(m.PodAntiAffinity.Size()))
  985. n3, err := m.PodAntiAffinity.MarshalTo(data[i:])
  986. if err != nil {
  987. return 0, err
  988. }
  989. i += n3
  990. }
  991. return i, nil
  992. }
  993. func (m *AttachedVolume) Marshal() (data []byte, err error) {
  994. size := m.Size()
  995. data = make([]byte, size)
  996. n, err := m.MarshalTo(data)
  997. if err != nil {
  998. return nil, err
  999. }
  1000. return data[:n], nil
  1001. }
  1002. func (m *AttachedVolume) MarshalTo(data []byte) (int, error) {
  1003. var i int
  1004. _ = i
  1005. var l int
  1006. _ = l
  1007. data[i] = 0xa
  1008. i++
  1009. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  1010. i += copy(data[i:], m.Name)
  1011. data[i] = 0x12
  1012. i++
  1013. i = encodeVarintGenerated(data, i, uint64(len(m.DevicePath)))
  1014. i += copy(data[i:], m.DevicePath)
  1015. return i, nil
  1016. }
  1017. func (m *AvoidPods) Marshal() (data []byte, err error) {
  1018. size := m.Size()
  1019. data = make([]byte, size)
  1020. n, err := m.MarshalTo(data)
  1021. if err != nil {
  1022. return nil, err
  1023. }
  1024. return data[:n], nil
  1025. }
  1026. func (m *AvoidPods) MarshalTo(data []byte) (int, error) {
  1027. var i int
  1028. _ = i
  1029. var l int
  1030. _ = l
  1031. if len(m.PreferAvoidPods) > 0 {
  1032. for _, msg := range m.PreferAvoidPods {
  1033. data[i] = 0xa
  1034. i++
  1035. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1036. n, err := msg.MarshalTo(data[i:])
  1037. if err != nil {
  1038. return 0, err
  1039. }
  1040. i += n
  1041. }
  1042. }
  1043. return i, nil
  1044. }
  1045. func (m *AzureDiskVolumeSource) Marshal() (data []byte, err error) {
  1046. size := m.Size()
  1047. data = make([]byte, size)
  1048. n, err := m.MarshalTo(data)
  1049. if err != nil {
  1050. return nil, err
  1051. }
  1052. return data[:n], nil
  1053. }
  1054. func (m *AzureDiskVolumeSource) MarshalTo(data []byte) (int, error) {
  1055. var i int
  1056. _ = i
  1057. var l int
  1058. _ = l
  1059. data[i] = 0xa
  1060. i++
  1061. i = encodeVarintGenerated(data, i, uint64(len(m.DiskName)))
  1062. i += copy(data[i:], m.DiskName)
  1063. data[i] = 0x12
  1064. i++
  1065. i = encodeVarintGenerated(data, i, uint64(len(m.DataDiskURI)))
  1066. i += copy(data[i:], m.DataDiskURI)
  1067. if m.CachingMode != nil {
  1068. data[i] = 0x1a
  1069. i++
  1070. i = encodeVarintGenerated(data, i, uint64(len(*m.CachingMode)))
  1071. i += copy(data[i:], *m.CachingMode)
  1072. }
  1073. if m.FSType != nil {
  1074. data[i] = 0x22
  1075. i++
  1076. i = encodeVarintGenerated(data, i, uint64(len(*m.FSType)))
  1077. i += copy(data[i:], *m.FSType)
  1078. }
  1079. if m.ReadOnly != nil {
  1080. data[i] = 0x28
  1081. i++
  1082. if *m.ReadOnly {
  1083. data[i] = 1
  1084. } else {
  1085. data[i] = 0
  1086. }
  1087. i++
  1088. }
  1089. return i, nil
  1090. }
  1091. func (m *AzureFileVolumeSource) Marshal() (data []byte, err error) {
  1092. size := m.Size()
  1093. data = make([]byte, size)
  1094. n, err := m.MarshalTo(data)
  1095. if err != nil {
  1096. return nil, err
  1097. }
  1098. return data[:n], nil
  1099. }
  1100. func (m *AzureFileVolumeSource) MarshalTo(data []byte) (int, error) {
  1101. var i int
  1102. _ = i
  1103. var l int
  1104. _ = l
  1105. data[i] = 0xa
  1106. i++
  1107. i = encodeVarintGenerated(data, i, uint64(len(m.SecretName)))
  1108. i += copy(data[i:], m.SecretName)
  1109. data[i] = 0x12
  1110. i++
  1111. i = encodeVarintGenerated(data, i, uint64(len(m.ShareName)))
  1112. i += copy(data[i:], m.ShareName)
  1113. data[i] = 0x18
  1114. i++
  1115. if m.ReadOnly {
  1116. data[i] = 1
  1117. } else {
  1118. data[i] = 0
  1119. }
  1120. i++
  1121. return i, nil
  1122. }
  1123. func (m *Binding) Marshal() (data []byte, err error) {
  1124. size := m.Size()
  1125. data = make([]byte, size)
  1126. n, err := m.MarshalTo(data)
  1127. if err != nil {
  1128. return nil, err
  1129. }
  1130. return data[:n], nil
  1131. }
  1132. func (m *Binding) MarshalTo(data []byte) (int, error) {
  1133. var i int
  1134. _ = i
  1135. var l int
  1136. _ = l
  1137. data[i] = 0xa
  1138. i++
  1139. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1140. n4, err := m.ObjectMeta.MarshalTo(data[i:])
  1141. if err != nil {
  1142. return 0, err
  1143. }
  1144. i += n4
  1145. data[i] = 0x12
  1146. i++
  1147. i = encodeVarintGenerated(data, i, uint64(m.Target.Size()))
  1148. n5, err := m.Target.MarshalTo(data[i:])
  1149. if err != nil {
  1150. return 0, err
  1151. }
  1152. i += n5
  1153. return i, nil
  1154. }
  1155. func (m *Capabilities) Marshal() (data []byte, err error) {
  1156. size := m.Size()
  1157. data = make([]byte, size)
  1158. n, err := m.MarshalTo(data)
  1159. if err != nil {
  1160. return nil, err
  1161. }
  1162. return data[:n], nil
  1163. }
  1164. func (m *Capabilities) MarshalTo(data []byte) (int, error) {
  1165. var i int
  1166. _ = i
  1167. var l int
  1168. _ = l
  1169. if len(m.Add) > 0 {
  1170. for _, s := range m.Add {
  1171. data[i] = 0xa
  1172. i++
  1173. l = len(s)
  1174. for l >= 1<<7 {
  1175. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1176. l >>= 7
  1177. i++
  1178. }
  1179. data[i] = uint8(l)
  1180. i++
  1181. i += copy(data[i:], s)
  1182. }
  1183. }
  1184. if len(m.Drop) > 0 {
  1185. for _, s := range m.Drop {
  1186. data[i] = 0x12
  1187. i++
  1188. l = len(s)
  1189. for l >= 1<<7 {
  1190. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1191. l >>= 7
  1192. i++
  1193. }
  1194. data[i] = uint8(l)
  1195. i++
  1196. i += copy(data[i:], s)
  1197. }
  1198. }
  1199. return i, nil
  1200. }
  1201. func (m *CephFSVolumeSource) Marshal() (data []byte, err error) {
  1202. size := m.Size()
  1203. data = make([]byte, size)
  1204. n, err := m.MarshalTo(data)
  1205. if err != nil {
  1206. return nil, err
  1207. }
  1208. return data[:n], nil
  1209. }
  1210. func (m *CephFSVolumeSource) MarshalTo(data []byte) (int, error) {
  1211. var i int
  1212. _ = i
  1213. var l int
  1214. _ = l
  1215. if len(m.Monitors) > 0 {
  1216. for _, s := range m.Monitors {
  1217. data[i] = 0xa
  1218. i++
  1219. l = len(s)
  1220. for l >= 1<<7 {
  1221. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1222. l >>= 7
  1223. i++
  1224. }
  1225. data[i] = uint8(l)
  1226. i++
  1227. i += copy(data[i:], s)
  1228. }
  1229. }
  1230. data[i] = 0x12
  1231. i++
  1232. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  1233. i += copy(data[i:], m.Path)
  1234. data[i] = 0x1a
  1235. i++
  1236. i = encodeVarintGenerated(data, i, uint64(len(m.User)))
  1237. i += copy(data[i:], m.User)
  1238. data[i] = 0x22
  1239. i++
  1240. i = encodeVarintGenerated(data, i, uint64(len(m.SecretFile)))
  1241. i += copy(data[i:], m.SecretFile)
  1242. if m.SecretRef != nil {
  1243. data[i] = 0x2a
  1244. i++
  1245. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  1246. n6, err := m.SecretRef.MarshalTo(data[i:])
  1247. if err != nil {
  1248. return 0, err
  1249. }
  1250. i += n6
  1251. }
  1252. data[i] = 0x30
  1253. i++
  1254. if m.ReadOnly {
  1255. data[i] = 1
  1256. } else {
  1257. data[i] = 0
  1258. }
  1259. i++
  1260. return i, nil
  1261. }
  1262. func (m *CinderVolumeSource) Marshal() (data []byte, err error) {
  1263. size := m.Size()
  1264. data = make([]byte, size)
  1265. n, err := m.MarshalTo(data)
  1266. if err != nil {
  1267. return nil, err
  1268. }
  1269. return data[:n], nil
  1270. }
  1271. func (m *CinderVolumeSource) MarshalTo(data []byte) (int, error) {
  1272. var i int
  1273. _ = i
  1274. var l int
  1275. _ = l
  1276. data[i] = 0xa
  1277. i++
  1278. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeID)))
  1279. i += copy(data[i:], m.VolumeID)
  1280. data[i] = 0x12
  1281. i++
  1282. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  1283. i += copy(data[i:], m.FSType)
  1284. data[i] = 0x18
  1285. i++
  1286. if m.ReadOnly {
  1287. data[i] = 1
  1288. } else {
  1289. data[i] = 0
  1290. }
  1291. i++
  1292. return i, nil
  1293. }
  1294. func (m *ComponentCondition) Marshal() (data []byte, err error) {
  1295. size := m.Size()
  1296. data = make([]byte, size)
  1297. n, err := m.MarshalTo(data)
  1298. if err != nil {
  1299. return nil, err
  1300. }
  1301. return data[:n], nil
  1302. }
  1303. func (m *ComponentCondition) MarshalTo(data []byte) (int, error) {
  1304. var i int
  1305. _ = i
  1306. var l int
  1307. _ = l
  1308. data[i] = 0xa
  1309. i++
  1310. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  1311. i += copy(data[i:], m.Type)
  1312. data[i] = 0x12
  1313. i++
  1314. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  1315. i += copy(data[i:], m.Status)
  1316. data[i] = 0x1a
  1317. i++
  1318. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  1319. i += copy(data[i:], m.Message)
  1320. data[i] = 0x22
  1321. i++
  1322. i = encodeVarintGenerated(data, i, uint64(len(m.Error)))
  1323. i += copy(data[i:], m.Error)
  1324. return i, nil
  1325. }
  1326. func (m *ComponentStatus) Marshal() (data []byte, err error) {
  1327. size := m.Size()
  1328. data = make([]byte, size)
  1329. n, err := m.MarshalTo(data)
  1330. if err != nil {
  1331. return nil, err
  1332. }
  1333. return data[:n], nil
  1334. }
  1335. func (m *ComponentStatus) MarshalTo(data []byte) (int, error) {
  1336. var i int
  1337. _ = i
  1338. var l int
  1339. _ = l
  1340. data[i] = 0xa
  1341. i++
  1342. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1343. n7, err := m.ObjectMeta.MarshalTo(data[i:])
  1344. if err != nil {
  1345. return 0, err
  1346. }
  1347. i += n7
  1348. if len(m.Conditions) > 0 {
  1349. for _, msg := range m.Conditions {
  1350. data[i] = 0x12
  1351. i++
  1352. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1353. n, err := msg.MarshalTo(data[i:])
  1354. if err != nil {
  1355. return 0, err
  1356. }
  1357. i += n
  1358. }
  1359. }
  1360. return i, nil
  1361. }
  1362. func (m *ComponentStatusList) Marshal() (data []byte, err error) {
  1363. size := m.Size()
  1364. data = make([]byte, size)
  1365. n, err := m.MarshalTo(data)
  1366. if err != nil {
  1367. return nil, err
  1368. }
  1369. return data[:n], nil
  1370. }
  1371. func (m *ComponentStatusList) MarshalTo(data []byte) (int, error) {
  1372. var i int
  1373. _ = i
  1374. var l int
  1375. _ = l
  1376. data[i] = 0xa
  1377. i++
  1378. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  1379. n8, err := m.ListMeta.MarshalTo(data[i:])
  1380. if err != nil {
  1381. return 0, err
  1382. }
  1383. i += n8
  1384. if len(m.Items) > 0 {
  1385. for _, msg := range m.Items {
  1386. data[i] = 0x12
  1387. i++
  1388. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1389. n, err := msg.MarshalTo(data[i:])
  1390. if err != nil {
  1391. return 0, err
  1392. }
  1393. i += n
  1394. }
  1395. }
  1396. return i, nil
  1397. }
  1398. func (m *ConfigMap) 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 *ConfigMap) 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.ObjectMeta.Size()))
  1415. n9, err := m.ObjectMeta.MarshalTo(data[i:])
  1416. if err != nil {
  1417. return 0, err
  1418. }
  1419. i += n9
  1420. if len(m.Data) > 0 {
  1421. for k := range m.Data {
  1422. data[i] = 0x12
  1423. i++
  1424. v := m.Data[k]
  1425. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1426. i = encodeVarintGenerated(data, i, uint64(mapSize))
  1427. data[i] = 0xa
  1428. i++
  1429. i = encodeVarintGenerated(data, i, uint64(len(k)))
  1430. i += copy(data[i:], k)
  1431. data[i] = 0x12
  1432. i++
  1433. i = encodeVarintGenerated(data, i, uint64(len(v)))
  1434. i += copy(data[i:], v)
  1435. }
  1436. }
  1437. return i, nil
  1438. }
  1439. func (m *ConfigMapEnvSource) Marshal() (data []byte, err error) {
  1440. size := m.Size()
  1441. data = make([]byte, size)
  1442. n, err := m.MarshalTo(data)
  1443. if err != nil {
  1444. return nil, err
  1445. }
  1446. return data[:n], nil
  1447. }
  1448. func (m *ConfigMapEnvSource) MarshalTo(data []byte) (int, error) {
  1449. var i int
  1450. _ = i
  1451. var l int
  1452. _ = l
  1453. data[i] = 0xa
  1454. i++
  1455. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  1456. n10, err := m.LocalObjectReference.MarshalTo(data[i:])
  1457. if err != nil {
  1458. return 0, err
  1459. }
  1460. i += n10
  1461. if m.Optional != nil {
  1462. data[i] = 0x10
  1463. i++
  1464. if *m.Optional {
  1465. data[i] = 1
  1466. } else {
  1467. data[i] = 0
  1468. }
  1469. i++
  1470. }
  1471. return i, nil
  1472. }
  1473. func (m *ConfigMapKeySelector) Marshal() (data []byte, err error) {
  1474. size := m.Size()
  1475. data = make([]byte, size)
  1476. n, err := m.MarshalTo(data)
  1477. if err != nil {
  1478. return nil, err
  1479. }
  1480. return data[:n], nil
  1481. }
  1482. func (m *ConfigMapKeySelector) MarshalTo(data []byte) (int, error) {
  1483. var i int
  1484. _ = i
  1485. var l int
  1486. _ = l
  1487. data[i] = 0xa
  1488. i++
  1489. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  1490. n11, err := m.LocalObjectReference.MarshalTo(data[i:])
  1491. if err != nil {
  1492. return 0, err
  1493. }
  1494. i += n11
  1495. data[i] = 0x12
  1496. i++
  1497. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  1498. i += copy(data[i:], m.Key)
  1499. if m.Optional != nil {
  1500. data[i] = 0x18
  1501. i++
  1502. if *m.Optional {
  1503. data[i] = 1
  1504. } else {
  1505. data[i] = 0
  1506. }
  1507. i++
  1508. }
  1509. return i, nil
  1510. }
  1511. func (m *ConfigMapList) Marshal() (data []byte, err error) {
  1512. size := m.Size()
  1513. data = make([]byte, size)
  1514. n, err := m.MarshalTo(data)
  1515. if err != nil {
  1516. return nil, err
  1517. }
  1518. return data[:n], nil
  1519. }
  1520. func (m *ConfigMapList) MarshalTo(data []byte) (int, error) {
  1521. var i int
  1522. _ = i
  1523. var l int
  1524. _ = l
  1525. data[i] = 0xa
  1526. i++
  1527. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  1528. n12, err := m.ListMeta.MarshalTo(data[i:])
  1529. if err != nil {
  1530. return 0, err
  1531. }
  1532. i += n12
  1533. if len(m.Items) > 0 {
  1534. for _, msg := range m.Items {
  1535. data[i] = 0x12
  1536. i++
  1537. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1538. n, err := msg.MarshalTo(data[i:])
  1539. if err != nil {
  1540. return 0, err
  1541. }
  1542. i += n
  1543. }
  1544. }
  1545. return i, nil
  1546. }
  1547. func (m *ConfigMapProjection) Marshal() (data []byte, err error) {
  1548. size := m.Size()
  1549. data = make([]byte, size)
  1550. n, err := m.MarshalTo(data)
  1551. if err != nil {
  1552. return nil, err
  1553. }
  1554. return data[:n], nil
  1555. }
  1556. func (m *ConfigMapProjection) MarshalTo(data []byte) (int, error) {
  1557. var i int
  1558. _ = i
  1559. var l int
  1560. _ = l
  1561. data[i] = 0xa
  1562. i++
  1563. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  1564. n13, err := m.LocalObjectReference.MarshalTo(data[i:])
  1565. if err != nil {
  1566. return 0, err
  1567. }
  1568. i += n13
  1569. if len(m.Items) > 0 {
  1570. for _, msg := range m.Items {
  1571. data[i] = 0x12
  1572. i++
  1573. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1574. n, err := msg.MarshalTo(data[i:])
  1575. if err != nil {
  1576. return 0, err
  1577. }
  1578. i += n
  1579. }
  1580. }
  1581. if m.Optional != nil {
  1582. data[i] = 0x20
  1583. i++
  1584. if *m.Optional {
  1585. data[i] = 1
  1586. } else {
  1587. data[i] = 0
  1588. }
  1589. i++
  1590. }
  1591. return i, nil
  1592. }
  1593. func (m *ConfigMapVolumeSource) Marshal() (data []byte, err error) {
  1594. size := m.Size()
  1595. data = make([]byte, size)
  1596. n, err := m.MarshalTo(data)
  1597. if err != nil {
  1598. return nil, err
  1599. }
  1600. return data[:n], nil
  1601. }
  1602. func (m *ConfigMapVolumeSource) MarshalTo(data []byte) (int, error) {
  1603. var i int
  1604. _ = i
  1605. var l int
  1606. _ = l
  1607. data[i] = 0xa
  1608. i++
  1609. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  1610. n14, err := m.LocalObjectReference.MarshalTo(data[i:])
  1611. if err != nil {
  1612. return 0, err
  1613. }
  1614. i += n14
  1615. if len(m.Items) > 0 {
  1616. for _, msg := range m.Items {
  1617. data[i] = 0x12
  1618. i++
  1619. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1620. n, err := msg.MarshalTo(data[i:])
  1621. if err != nil {
  1622. return 0, err
  1623. }
  1624. i += n
  1625. }
  1626. }
  1627. if m.DefaultMode != nil {
  1628. data[i] = 0x18
  1629. i++
  1630. i = encodeVarintGenerated(data, i, uint64(*m.DefaultMode))
  1631. }
  1632. if m.Optional != nil {
  1633. data[i] = 0x20
  1634. i++
  1635. if *m.Optional {
  1636. data[i] = 1
  1637. } else {
  1638. data[i] = 0
  1639. }
  1640. i++
  1641. }
  1642. return i, nil
  1643. }
  1644. func (m *Container) Marshal() (data []byte, err error) {
  1645. size := m.Size()
  1646. data = make([]byte, size)
  1647. n, err := m.MarshalTo(data)
  1648. if err != nil {
  1649. return nil, err
  1650. }
  1651. return data[:n], nil
  1652. }
  1653. func (m *Container) MarshalTo(data []byte) (int, error) {
  1654. var i int
  1655. _ = i
  1656. var l int
  1657. _ = l
  1658. data[i] = 0xa
  1659. i++
  1660. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  1661. i += copy(data[i:], m.Name)
  1662. data[i] = 0x12
  1663. i++
  1664. i = encodeVarintGenerated(data, i, uint64(len(m.Image)))
  1665. i += copy(data[i:], m.Image)
  1666. if len(m.Command) > 0 {
  1667. for _, s := range m.Command {
  1668. data[i] = 0x1a
  1669. i++
  1670. l = len(s)
  1671. for l >= 1<<7 {
  1672. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1673. l >>= 7
  1674. i++
  1675. }
  1676. data[i] = uint8(l)
  1677. i++
  1678. i += copy(data[i:], s)
  1679. }
  1680. }
  1681. if len(m.Args) > 0 {
  1682. for _, s := range m.Args {
  1683. data[i] = 0x22
  1684. i++
  1685. l = len(s)
  1686. for l >= 1<<7 {
  1687. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1688. l >>= 7
  1689. i++
  1690. }
  1691. data[i] = uint8(l)
  1692. i++
  1693. i += copy(data[i:], s)
  1694. }
  1695. }
  1696. data[i] = 0x2a
  1697. i++
  1698. i = encodeVarintGenerated(data, i, uint64(len(m.WorkingDir)))
  1699. i += copy(data[i:], m.WorkingDir)
  1700. if len(m.Ports) > 0 {
  1701. for _, msg := range m.Ports {
  1702. data[i] = 0x32
  1703. i++
  1704. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1705. n, err := msg.MarshalTo(data[i:])
  1706. if err != nil {
  1707. return 0, err
  1708. }
  1709. i += n
  1710. }
  1711. }
  1712. if len(m.Env) > 0 {
  1713. for _, msg := range m.Env {
  1714. data[i] = 0x3a
  1715. i++
  1716. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1717. n, err := msg.MarshalTo(data[i:])
  1718. if err != nil {
  1719. return 0, err
  1720. }
  1721. i += n
  1722. }
  1723. }
  1724. data[i] = 0x42
  1725. i++
  1726. i = encodeVarintGenerated(data, i, uint64(m.Resources.Size()))
  1727. n15, err := m.Resources.MarshalTo(data[i:])
  1728. if err != nil {
  1729. return 0, err
  1730. }
  1731. i += n15
  1732. if len(m.VolumeMounts) > 0 {
  1733. for _, msg := range m.VolumeMounts {
  1734. data[i] = 0x4a
  1735. i++
  1736. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1737. n, err := msg.MarshalTo(data[i:])
  1738. if err != nil {
  1739. return 0, err
  1740. }
  1741. i += n
  1742. }
  1743. }
  1744. if m.LivenessProbe != nil {
  1745. data[i] = 0x52
  1746. i++
  1747. i = encodeVarintGenerated(data, i, uint64(m.LivenessProbe.Size()))
  1748. n16, err := m.LivenessProbe.MarshalTo(data[i:])
  1749. if err != nil {
  1750. return 0, err
  1751. }
  1752. i += n16
  1753. }
  1754. if m.ReadinessProbe != nil {
  1755. data[i] = 0x5a
  1756. i++
  1757. i = encodeVarintGenerated(data, i, uint64(m.ReadinessProbe.Size()))
  1758. n17, err := m.ReadinessProbe.MarshalTo(data[i:])
  1759. if err != nil {
  1760. return 0, err
  1761. }
  1762. i += n17
  1763. }
  1764. if m.Lifecycle != nil {
  1765. data[i] = 0x62
  1766. i++
  1767. i = encodeVarintGenerated(data, i, uint64(m.Lifecycle.Size()))
  1768. n18, err := m.Lifecycle.MarshalTo(data[i:])
  1769. if err != nil {
  1770. return 0, err
  1771. }
  1772. i += n18
  1773. }
  1774. data[i] = 0x6a
  1775. i++
  1776. i = encodeVarintGenerated(data, i, uint64(len(m.TerminationMessagePath)))
  1777. i += copy(data[i:], m.TerminationMessagePath)
  1778. data[i] = 0x72
  1779. i++
  1780. i = encodeVarintGenerated(data, i, uint64(len(m.ImagePullPolicy)))
  1781. i += copy(data[i:], m.ImagePullPolicy)
  1782. if m.SecurityContext != nil {
  1783. data[i] = 0x7a
  1784. i++
  1785. i = encodeVarintGenerated(data, i, uint64(m.SecurityContext.Size()))
  1786. n19, err := m.SecurityContext.MarshalTo(data[i:])
  1787. if err != nil {
  1788. return 0, err
  1789. }
  1790. i += n19
  1791. }
  1792. data[i] = 0x80
  1793. i++
  1794. data[i] = 0x1
  1795. i++
  1796. if m.Stdin {
  1797. data[i] = 1
  1798. } else {
  1799. data[i] = 0
  1800. }
  1801. i++
  1802. data[i] = 0x88
  1803. i++
  1804. data[i] = 0x1
  1805. i++
  1806. if m.StdinOnce {
  1807. data[i] = 1
  1808. } else {
  1809. data[i] = 0
  1810. }
  1811. i++
  1812. data[i] = 0x90
  1813. i++
  1814. data[i] = 0x1
  1815. i++
  1816. if m.TTY {
  1817. data[i] = 1
  1818. } else {
  1819. data[i] = 0
  1820. }
  1821. i++
  1822. if len(m.EnvFrom) > 0 {
  1823. for _, msg := range m.EnvFrom {
  1824. data[i] = 0x9a
  1825. i++
  1826. data[i] = 0x1
  1827. i++
  1828. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1829. n, err := msg.MarshalTo(data[i:])
  1830. if err != nil {
  1831. return 0, err
  1832. }
  1833. i += n
  1834. }
  1835. }
  1836. data[i] = 0xa2
  1837. i++
  1838. data[i] = 0x1
  1839. i++
  1840. i = encodeVarintGenerated(data, i, uint64(len(m.TerminationMessagePolicy)))
  1841. i += copy(data[i:], m.TerminationMessagePolicy)
  1842. return i, nil
  1843. }
  1844. func (m *ContainerImage) Marshal() (data []byte, err error) {
  1845. size := m.Size()
  1846. data = make([]byte, size)
  1847. n, err := m.MarshalTo(data)
  1848. if err != nil {
  1849. return nil, err
  1850. }
  1851. return data[:n], nil
  1852. }
  1853. func (m *ContainerImage) MarshalTo(data []byte) (int, error) {
  1854. var i int
  1855. _ = i
  1856. var l int
  1857. _ = l
  1858. if len(m.Names) > 0 {
  1859. for _, s := range m.Names {
  1860. data[i] = 0xa
  1861. i++
  1862. l = len(s)
  1863. for l >= 1<<7 {
  1864. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1865. l >>= 7
  1866. i++
  1867. }
  1868. data[i] = uint8(l)
  1869. i++
  1870. i += copy(data[i:], s)
  1871. }
  1872. }
  1873. data[i] = 0x10
  1874. i++
  1875. i = encodeVarintGenerated(data, i, uint64(m.SizeBytes))
  1876. return i, nil
  1877. }
  1878. func (m *ContainerPort) Marshal() (data []byte, err error) {
  1879. size := m.Size()
  1880. data = make([]byte, size)
  1881. n, err := m.MarshalTo(data)
  1882. if err != nil {
  1883. return nil, err
  1884. }
  1885. return data[:n], nil
  1886. }
  1887. func (m *ContainerPort) MarshalTo(data []byte) (int, error) {
  1888. var i int
  1889. _ = i
  1890. var l int
  1891. _ = l
  1892. data[i] = 0xa
  1893. i++
  1894. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  1895. i += copy(data[i:], m.Name)
  1896. data[i] = 0x10
  1897. i++
  1898. i = encodeVarintGenerated(data, i, uint64(m.HostPort))
  1899. data[i] = 0x18
  1900. i++
  1901. i = encodeVarintGenerated(data, i, uint64(m.ContainerPort))
  1902. data[i] = 0x22
  1903. i++
  1904. i = encodeVarintGenerated(data, i, uint64(len(m.Protocol)))
  1905. i += copy(data[i:], m.Protocol)
  1906. data[i] = 0x2a
  1907. i++
  1908. i = encodeVarintGenerated(data, i, uint64(len(m.HostIP)))
  1909. i += copy(data[i:], m.HostIP)
  1910. return i, nil
  1911. }
  1912. func (m *ContainerState) Marshal() (data []byte, err error) {
  1913. size := m.Size()
  1914. data = make([]byte, size)
  1915. n, err := m.MarshalTo(data)
  1916. if err != nil {
  1917. return nil, err
  1918. }
  1919. return data[:n], nil
  1920. }
  1921. func (m *ContainerState) MarshalTo(data []byte) (int, error) {
  1922. var i int
  1923. _ = i
  1924. var l int
  1925. _ = l
  1926. if m.Waiting != nil {
  1927. data[i] = 0xa
  1928. i++
  1929. i = encodeVarintGenerated(data, i, uint64(m.Waiting.Size()))
  1930. n20, err := m.Waiting.MarshalTo(data[i:])
  1931. if err != nil {
  1932. return 0, err
  1933. }
  1934. i += n20
  1935. }
  1936. if m.Running != nil {
  1937. data[i] = 0x12
  1938. i++
  1939. i = encodeVarintGenerated(data, i, uint64(m.Running.Size()))
  1940. n21, err := m.Running.MarshalTo(data[i:])
  1941. if err != nil {
  1942. return 0, err
  1943. }
  1944. i += n21
  1945. }
  1946. if m.Terminated != nil {
  1947. data[i] = 0x1a
  1948. i++
  1949. i = encodeVarintGenerated(data, i, uint64(m.Terminated.Size()))
  1950. n22, err := m.Terminated.MarshalTo(data[i:])
  1951. if err != nil {
  1952. return 0, err
  1953. }
  1954. i += n22
  1955. }
  1956. return i, nil
  1957. }
  1958. func (m *ContainerStateRunning) Marshal() (data []byte, err error) {
  1959. size := m.Size()
  1960. data = make([]byte, size)
  1961. n, err := m.MarshalTo(data)
  1962. if err != nil {
  1963. return nil, err
  1964. }
  1965. return data[:n], nil
  1966. }
  1967. func (m *ContainerStateRunning) MarshalTo(data []byte) (int, error) {
  1968. var i int
  1969. _ = i
  1970. var l int
  1971. _ = l
  1972. data[i] = 0xa
  1973. i++
  1974. i = encodeVarintGenerated(data, i, uint64(m.StartedAt.Size()))
  1975. n23, err := m.StartedAt.MarshalTo(data[i:])
  1976. if err != nil {
  1977. return 0, err
  1978. }
  1979. i += n23
  1980. return i, nil
  1981. }
  1982. func (m *ContainerStateTerminated) Marshal() (data []byte, err error) {
  1983. size := m.Size()
  1984. data = make([]byte, size)
  1985. n, err := m.MarshalTo(data)
  1986. if err != nil {
  1987. return nil, err
  1988. }
  1989. return data[:n], nil
  1990. }
  1991. func (m *ContainerStateTerminated) MarshalTo(data []byte) (int, error) {
  1992. var i int
  1993. _ = i
  1994. var l int
  1995. _ = l
  1996. data[i] = 0x8
  1997. i++
  1998. i = encodeVarintGenerated(data, i, uint64(m.ExitCode))
  1999. data[i] = 0x10
  2000. i++
  2001. i = encodeVarintGenerated(data, i, uint64(m.Signal))
  2002. data[i] = 0x1a
  2003. i++
  2004. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  2005. i += copy(data[i:], m.Reason)
  2006. data[i] = 0x22
  2007. i++
  2008. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  2009. i += copy(data[i:], m.Message)
  2010. data[i] = 0x2a
  2011. i++
  2012. i = encodeVarintGenerated(data, i, uint64(m.StartedAt.Size()))
  2013. n24, err := m.StartedAt.MarshalTo(data[i:])
  2014. if err != nil {
  2015. return 0, err
  2016. }
  2017. i += n24
  2018. data[i] = 0x32
  2019. i++
  2020. i = encodeVarintGenerated(data, i, uint64(m.FinishedAt.Size()))
  2021. n25, err := m.FinishedAt.MarshalTo(data[i:])
  2022. if err != nil {
  2023. return 0, err
  2024. }
  2025. i += n25
  2026. data[i] = 0x3a
  2027. i++
  2028. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerID)))
  2029. i += copy(data[i:], m.ContainerID)
  2030. return i, nil
  2031. }
  2032. func (m *ContainerStateWaiting) Marshal() (data []byte, err error) {
  2033. size := m.Size()
  2034. data = make([]byte, size)
  2035. n, err := m.MarshalTo(data)
  2036. if err != nil {
  2037. return nil, err
  2038. }
  2039. return data[:n], nil
  2040. }
  2041. func (m *ContainerStateWaiting) MarshalTo(data []byte) (int, error) {
  2042. var i int
  2043. _ = i
  2044. var l int
  2045. _ = l
  2046. data[i] = 0xa
  2047. i++
  2048. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  2049. i += copy(data[i:], m.Reason)
  2050. data[i] = 0x12
  2051. i++
  2052. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  2053. i += copy(data[i:], m.Message)
  2054. return i, nil
  2055. }
  2056. func (m *ContainerStatus) Marshal() (data []byte, err error) {
  2057. size := m.Size()
  2058. data = make([]byte, size)
  2059. n, err := m.MarshalTo(data)
  2060. if err != nil {
  2061. return nil, err
  2062. }
  2063. return data[:n], nil
  2064. }
  2065. func (m *ContainerStatus) MarshalTo(data []byte) (int, error) {
  2066. var i int
  2067. _ = i
  2068. var l int
  2069. _ = l
  2070. data[i] = 0xa
  2071. i++
  2072. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  2073. i += copy(data[i:], m.Name)
  2074. data[i] = 0x12
  2075. i++
  2076. i = encodeVarintGenerated(data, i, uint64(m.State.Size()))
  2077. n26, err := m.State.MarshalTo(data[i:])
  2078. if err != nil {
  2079. return 0, err
  2080. }
  2081. i += n26
  2082. data[i] = 0x1a
  2083. i++
  2084. i = encodeVarintGenerated(data, i, uint64(m.LastTerminationState.Size()))
  2085. n27, err := m.LastTerminationState.MarshalTo(data[i:])
  2086. if err != nil {
  2087. return 0, err
  2088. }
  2089. i += n27
  2090. data[i] = 0x20
  2091. i++
  2092. if m.Ready {
  2093. data[i] = 1
  2094. } else {
  2095. data[i] = 0
  2096. }
  2097. i++
  2098. data[i] = 0x28
  2099. i++
  2100. i = encodeVarintGenerated(data, i, uint64(m.RestartCount))
  2101. data[i] = 0x32
  2102. i++
  2103. i = encodeVarintGenerated(data, i, uint64(len(m.Image)))
  2104. i += copy(data[i:], m.Image)
  2105. data[i] = 0x3a
  2106. i++
  2107. i = encodeVarintGenerated(data, i, uint64(len(m.ImageID)))
  2108. i += copy(data[i:], m.ImageID)
  2109. data[i] = 0x42
  2110. i++
  2111. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerID)))
  2112. i += copy(data[i:], m.ContainerID)
  2113. return i, nil
  2114. }
  2115. func (m *DaemonEndpoint) Marshal() (data []byte, err error) {
  2116. size := m.Size()
  2117. data = make([]byte, size)
  2118. n, err := m.MarshalTo(data)
  2119. if err != nil {
  2120. return nil, err
  2121. }
  2122. return data[:n], nil
  2123. }
  2124. func (m *DaemonEndpoint) MarshalTo(data []byte) (int, error) {
  2125. var i int
  2126. _ = i
  2127. var l int
  2128. _ = l
  2129. data[i] = 0x8
  2130. i++
  2131. i = encodeVarintGenerated(data, i, uint64(m.Port))
  2132. return i, nil
  2133. }
  2134. func (m *DeleteOptions) Marshal() (data []byte, err error) {
  2135. size := m.Size()
  2136. data = make([]byte, size)
  2137. n, err := m.MarshalTo(data)
  2138. if err != nil {
  2139. return nil, err
  2140. }
  2141. return data[:n], nil
  2142. }
  2143. func (m *DeleteOptions) MarshalTo(data []byte) (int, error) {
  2144. var i int
  2145. _ = i
  2146. var l int
  2147. _ = l
  2148. if m.GracePeriodSeconds != nil {
  2149. data[i] = 0x8
  2150. i++
  2151. i = encodeVarintGenerated(data, i, uint64(*m.GracePeriodSeconds))
  2152. }
  2153. if m.Preconditions != nil {
  2154. data[i] = 0x12
  2155. i++
  2156. i = encodeVarintGenerated(data, i, uint64(m.Preconditions.Size()))
  2157. n28, err := m.Preconditions.MarshalTo(data[i:])
  2158. if err != nil {
  2159. return 0, err
  2160. }
  2161. i += n28
  2162. }
  2163. if m.OrphanDependents != nil {
  2164. data[i] = 0x18
  2165. i++
  2166. if *m.OrphanDependents {
  2167. data[i] = 1
  2168. } else {
  2169. data[i] = 0
  2170. }
  2171. i++
  2172. }
  2173. if m.PropagationPolicy != nil {
  2174. data[i] = 0x22
  2175. i++
  2176. i = encodeVarintGenerated(data, i, uint64(len(*m.PropagationPolicy)))
  2177. i += copy(data[i:], *m.PropagationPolicy)
  2178. }
  2179. return i, nil
  2180. }
  2181. func (m *DownwardAPIProjection) Marshal() (data []byte, err error) {
  2182. size := m.Size()
  2183. data = make([]byte, size)
  2184. n, err := m.MarshalTo(data)
  2185. if err != nil {
  2186. return nil, err
  2187. }
  2188. return data[:n], nil
  2189. }
  2190. func (m *DownwardAPIProjection) MarshalTo(data []byte) (int, error) {
  2191. var i int
  2192. _ = i
  2193. var l int
  2194. _ = l
  2195. if len(m.Items) > 0 {
  2196. for _, msg := range m.Items {
  2197. data[i] = 0xa
  2198. i++
  2199. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2200. n, err := msg.MarshalTo(data[i:])
  2201. if err != nil {
  2202. return 0, err
  2203. }
  2204. i += n
  2205. }
  2206. }
  2207. return i, nil
  2208. }
  2209. func (m *DownwardAPIVolumeFile) Marshal() (data []byte, err error) {
  2210. size := m.Size()
  2211. data = make([]byte, size)
  2212. n, err := m.MarshalTo(data)
  2213. if err != nil {
  2214. return nil, err
  2215. }
  2216. return data[:n], nil
  2217. }
  2218. func (m *DownwardAPIVolumeFile) MarshalTo(data []byte) (int, error) {
  2219. var i int
  2220. _ = i
  2221. var l int
  2222. _ = l
  2223. data[i] = 0xa
  2224. i++
  2225. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  2226. i += copy(data[i:], m.Path)
  2227. if m.FieldRef != nil {
  2228. data[i] = 0x12
  2229. i++
  2230. i = encodeVarintGenerated(data, i, uint64(m.FieldRef.Size()))
  2231. n29, err := m.FieldRef.MarshalTo(data[i:])
  2232. if err != nil {
  2233. return 0, err
  2234. }
  2235. i += n29
  2236. }
  2237. if m.ResourceFieldRef != nil {
  2238. data[i] = 0x1a
  2239. i++
  2240. i = encodeVarintGenerated(data, i, uint64(m.ResourceFieldRef.Size()))
  2241. n30, err := m.ResourceFieldRef.MarshalTo(data[i:])
  2242. if err != nil {
  2243. return 0, err
  2244. }
  2245. i += n30
  2246. }
  2247. if m.Mode != nil {
  2248. data[i] = 0x20
  2249. i++
  2250. i = encodeVarintGenerated(data, i, uint64(*m.Mode))
  2251. }
  2252. return i, nil
  2253. }
  2254. func (m *DownwardAPIVolumeSource) Marshal() (data []byte, err error) {
  2255. size := m.Size()
  2256. data = make([]byte, size)
  2257. n, err := m.MarshalTo(data)
  2258. if err != nil {
  2259. return nil, err
  2260. }
  2261. return data[:n], nil
  2262. }
  2263. func (m *DownwardAPIVolumeSource) MarshalTo(data []byte) (int, error) {
  2264. var i int
  2265. _ = i
  2266. var l int
  2267. _ = l
  2268. if len(m.Items) > 0 {
  2269. for _, msg := range m.Items {
  2270. data[i] = 0xa
  2271. i++
  2272. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2273. n, err := msg.MarshalTo(data[i:])
  2274. if err != nil {
  2275. return 0, err
  2276. }
  2277. i += n
  2278. }
  2279. }
  2280. if m.DefaultMode != nil {
  2281. data[i] = 0x10
  2282. i++
  2283. i = encodeVarintGenerated(data, i, uint64(*m.DefaultMode))
  2284. }
  2285. return i, nil
  2286. }
  2287. func (m *EmptyDirVolumeSource) Marshal() (data []byte, err error) {
  2288. size := m.Size()
  2289. data = make([]byte, size)
  2290. n, err := m.MarshalTo(data)
  2291. if err != nil {
  2292. return nil, err
  2293. }
  2294. return data[:n], nil
  2295. }
  2296. func (m *EmptyDirVolumeSource) MarshalTo(data []byte) (int, error) {
  2297. var i int
  2298. _ = i
  2299. var l int
  2300. _ = l
  2301. data[i] = 0xa
  2302. i++
  2303. i = encodeVarintGenerated(data, i, uint64(len(m.Medium)))
  2304. i += copy(data[i:], m.Medium)
  2305. return i, nil
  2306. }
  2307. func (m *EndpointAddress) Marshal() (data []byte, err error) {
  2308. size := m.Size()
  2309. data = make([]byte, size)
  2310. n, err := m.MarshalTo(data)
  2311. if err != nil {
  2312. return nil, err
  2313. }
  2314. return data[:n], nil
  2315. }
  2316. func (m *EndpointAddress) MarshalTo(data []byte) (int, error) {
  2317. var i int
  2318. _ = i
  2319. var l int
  2320. _ = l
  2321. data[i] = 0xa
  2322. i++
  2323. i = encodeVarintGenerated(data, i, uint64(len(m.IP)))
  2324. i += copy(data[i:], m.IP)
  2325. if m.TargetRef != nil {
  2326. data[i] = 0x12
  2327. i++
  2328. i = encodeVarintGenerated(data, i, uint64(m.TargetRef.Size()))
  2329. n31, err := m.TargetRef.MarshalTo(data[i:])
  2330. if err != nil {
  2331. return 0, err
  2332. }
  2333. i += n31
  2334. }
  2335. data[i] = 0x1a
  2336. i++
  2337. i = encodeVarintGenerated(data, i, uint64(len(m.Hostname)))
  2338. i += copy(data[i:], m.Hostname)
  2339. if m.NodeName != nil {
  2340. data[i] = 0x22
  2341. i++
  2342. i = encodeVarintGenerated(data, i, uint64(len(*m.NodeName)))
  2343. i += copy(data[i:], *m.NodeName)
  2344. }
  2345. return i, nil
  2346. }
  2347. func (m *EndpointPort) Marshal() (data []byte, err error) {
  2348. size := m.Size()
  2349. data = make([]byte, size)
  2350. n, err := m.MarshalTo(data)
  2351. if err != nil {
  2352. return nil, err
  2353. }
  2354. return data[:n], nil
  2355. }
  2356. func (m *EndpointPort) MarshalTo(data []byte) (int, error) {
  2357. var i int
  2358. _ = i
  2359. var l int
  2360. _ = l
  2361. data[i] = 0xa
  2362. i++
  2363. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  2364. i += copy(data[i:], m.Name)
  2365. data[i] = 0x10
  2366. i++
  2367. i = encodeVarintGenerated(data, i, uint64(m.Port))
  2368. data[i] = 0x1a
  2369. i++
  2370. i = encodeVarintGenerated(data, i, uint64(len(m.Protocol)))
  2371. i += copy(data[i:], m.Protocol)
  2372. return i, nil
  2373. }
  2374. func (m *EndpointSubset) Marshal() (data []byte, err error) {
  2375. size := m.Size()
  2376. data = make([]byte, size)
  2377. n, err := m.MarshalTo(data)
  2378. if err != nil {
  2379. return nil, err
  2380. }
  2381. return data[:n], nil
  2382. }
  2383. func (m *EndpointSubset) MarshalTo(data []byte) (int, error) {
  2384. var i int
  2385. _ = i
  2386. var l int
  2387. _ = l
  2388. if len(m.Addresses) > 0 {
  2389. for _, msg := range m.Addresses {
  2390. data[i] = 0xa
  2391. i++
  2392. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2393. n, err := msg.MarshalTo(data[i:])
  2394. if err != nil {
  2395. return 0, err
  2396. }
  2397. i += n
  2398. }
  2399. }
  2400. if len(m.NotReadyAddresses) > 0 {
  2401. for _, msg := range m.NotReadyAddresses {
  2402. data[i] = 0x12
  2403. i++
  2404. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2405. n, err := msg.MarshalTo(data[i:])
  2406. if err != nil {
  2407. return 0, err
  2408. }
  2409. i += n
  2410. }
  2411. }
  2412. if len(m.Ports) > 0 {
  2413. for _, msg := range m.Ports {
  2414. data[i] = 0x1a
  2415. i++
  2416. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2417. n, err := msg.MarshalTo(data[i:])
  2418. if err != nil {
  2419. return 0, err
  2420. }
  2421. i += n
  2422. }
  2423. }
  2424. return i, nil
  2425. }
  2426. func (m *Endpoints) Marshal() (data []byte, err error) {
  2427. size := m.Size()
  2428. data = make([]byte, size)
  2429. n, err := m.MarshalTo(data)
  2430. if err != nil {
  2431. return nil, err
  2432. }
  2433. return data[:n], nil
  2434. }
  2435. func (m *Endpoints) MarshalTo(data []byte) (int, error) {
  2436. var i int
  2437. _ = i
  2438. var l int
  2439. _ = l
  2440. data[i] = 0xa
  2441. i++
  2442. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2443. n32, err := m.ObjectMeta.MarshalTo(data[i:])
  2444. if err != nil {
  2445. return 0, err
  2446. }
  2447. i += n32
  2448. if len(m.Subsets) > 0 {
  2449. for _, msg := range m.Subsets {
  2450. data[i] = 0x12
  2451. i++
  2452. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2453. n, err := msg.MarshalTo(data[i:])
  2454. if err != nil {
  2455. return 0, err
  2456. }
  2457. i += n
  2458. }
  2459. }
  2460. return i, nil
  2461. }
  2462. func (m *EndpointsList) Marshal() (data []byte, err error) {
  2463. size := m.Size()
  2464. data = make([]byte, size)
  2465. n, err := m.MarshalTo(data)
  2466. if err != nil {
  2467. return nil, err
  2468. }
  2469. return data[:n], nil
  2470. }
  2471. func (m *EndpointsList) MarshalTo(data []byte) (int, error) {
  2472. var i int
  2473. _ = i
  2474. var l int
  2475. _ = l
  2476. data[i] = 0xa
  2477. i++
  2478. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2479. n33, err := m.ListMeta.MarshalTo(data[i:])
  2480. if err != nil {
  2481. return 0, err
  2482. }
  2483. i += n33
  2484. if len(m.Items) > 0 {
  2485. for _, msg := range m.Items {
  2486. data[i] = 0x12
  2487. i++
  2488. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2489. n, err := msg.MarshalTo(data[i:])
  2490. if err != nil {
  2491. return 0, err
  2492. }
  2493. i += n
  2494. }
  2495. }
  2496. return i, nil
  2497. }
  2498. func (m *EnvFromSource) Marshal() (data []byte, err error) {
  2499. size := m.Size()
  2500. data = make([]byte, size)
  2501. n, err := m.MarshalTo(data)
  2502. if err != nil {
  2503. return nil, err
  2504. }
  2505. return data[:n], nil
  2506. }
  2507. func (m *EnvFromSource) MarshalTo(data []byte) (int, error) {
  2508. var i int
  2509. _ = i
  2510. var l int
  2511. _ = l
  2512. data[i] = 0xa
  2513. i++
  2514. i = encodeVarintGenerated(data, i, uint64(len(m.Prefix)))
  2515. i += copy(data[i:], m.Prefix)
  2516. if m.ConfigMapRef != nil {
  2517. data[i] = 0x12
  2518. i++
  2519. i = encodeVarintGenerated(data, i, uint64(m.ConfigMapRef.Size()))
  2520. n34, err := m.ConfigMapRef.MarshalTo(data[i:])
  2521. if err != nil {
  2522. return 0, err
  2523. }
  2524. i += n34
  2525. }
  2526. if m.SecretRef != nil {
  2527. data[i] = 0x1a
  2528. i++
  2529. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  2530. n35, err := m.SecretRef.MarshalTo(data[i:])
  2531. if err != nil {
  2532. return 0, err
  2533. }
  2534. i += n35
  2535. }
  2536. return i, nil
  2537. }
  2538. func (m *EnvVar) Marshal() (data []byte, err error) {
  2539. size := m.Size()
  2540. data = make([]byte, size)
  2541. n, err := m.MarshalTo(data)
  2542. if err != nil {
  2543. return nil, err
  2544. }
  2545. return data[:n], nil
  2546. }
  2547. func (m *EnvVar) MarshalTo(data []byte) (int, error) {
  2548. var i int
  2549. _ = i
  2550. var l int
  2551. _ = l
  2552. data[i] = 0xa
  2553. i++
  2554. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  2555. i += copy(data[i:], m.Name)
  2556. data[i] = 0x12
  2557. i++
  2558. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  2559. i += copy(data[i:], m.Value)
  2560. if m.ValueFrom != nil {
  2561. data[i] = 0x1a
  2562. i++
  2563. i = encodeVarintGenerated(data, i, uint64(m.ValueFrom.Size()))
  2564. n36, err := m.ValueFrom.MarshalTo(data[i:])
  2565. if err != nil {
  2566. return 0, err
  2567. }
  2568. i += n36
  2569. }
  2570. return i, nil
  2571. }
  2572. func (m *EnvVarSource) Marshal() (data []byte, err error) {
  2573. size := m.Size()
  2574. data = make([]byte, size)
  2575. n, err := m.MarshalTo(data)
  2576. if err != nil {
  2577. return nil, err
  2578. }
  2579. return data[:n], nil
  2580. }
  2581. func (m *EnvVarSource) MarshalTo(data []byte) (int, error) {
  2582. var i int
  2583. _ = i
  2584. var l int
  2585. _ = l
  2586. if m.FieldRef != nil {
  2587. data[i] = 0xa
  2588. i++
  2589. i = encodeVarintGenerated(data, i, uint64(m.FieldRef.Size()))
  2590. n37, err := m.FieldRef.MarshalTo(data[i:])
  2591. if err != nil {
  2592. return 0, err
  2593. }
  2594. i += n37
  2595. }
  2596. if m.ResourceFieldRef != nil {
  2597. data[i] = 0x12
  2598. i++
  2599. i = encodeVarintGenerated(data, i, uint64(m.ResourceFieldRef.Size()))
  2600. n38, err := m.ResourceFieldRef.MarshalTo(data[i:])
  2601. if err != nil {
  2602. return 0, err
  2603. }
  2604. i += n38
  2605. }
  2606. if m.ConfigMapKeyRef != nil {
  2607. data[i] = 0x1a
  2608. i++
  2609. i = encodeVarintGenerated(data, i, uint64(m.ConfigMapKeyRef.Size()))
  2610. n39, err := m.ConfigMapKeyRef.MarshalTo(data[i:])
  2611. if err != nil {
  2612. return 0, err
  2613. }
  2614. i += n39
  2615. }
  2616. if m.SecretKeyRef != nil {
  2617. data[i] = 0x22
  2618. i++
  2619. i = encodeVarintGenerated(data, i, uint64(m.SecretKeyRef.Size()))
  2620. n40, err := m.SecretKeyRef.MarshalTo(data[i:])
  2621. if err != nil {
  2622. return 0, err
  2623. }
  2624. i += n40
  2625. }
  2626. return i, nil
  2627. }
  2628. func (m *Event) Marshal() (data []byte, err error) {
  2629. size := m.Size()
  2630. data = make([]byte, size)
  2631. n, err := m.MarshalTo(data)
  2632. if err != nil {
  2633. return nil, err
  2634. }
  2635. return data[:n], nil
  2636. }
  2637. func (m *Event) MarshalTo(data []byte) (int, error) {
  2638. var i int
  2639. _ = i
  2640. var l int
  2641. _ = l
  2642. data[i] = 0xa
  2643. i++
  2644. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2645. n41, err := m.ObjectMeta.MarshalTo(data[i:])
  2646. if err != nil {
  2647. return 0, err
  2648. }
  2649. i += n41
  2650. data[i] = 0x12
  2651. i++
  2652. i = encodeVarintGenerated(data, i, uint64(m.InvolvedObject.Size()))
  2653. n42, err := m.InvolvedObject.MarshalTo(data[i:])
  2654. if err != nil {
  2655. return 0, err
  2656. }
  2657. i += n42
  2658. data[i] = 0x1a
  2659. i++
  2660. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  2661. i += copy(data[i:], m.Reason)
  2662. data[i] = 0x22
  2663. i++
  2664. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  2665. i += copy(data[i:], m.Message)
  2666. data[i] = 0x2a
  2667. i++
  2668. i = encodeVarintGenerated(data, i, uint64(m.Source.Size()))
  2669. n43, err := m.Source.MarshalTo(data[i:])
  2670. if err != nil {
  2671. return 0, err
  2672. }
  2673. i += n43
  2674. data[i] = 0x32
  2675. i++
  2676. i = encodeVarintGenerated(data, i, uint64(m.FirstTimestamp.Size()))
  2677. n44, err := m.FirstTimestamp.MarshalTo(data[i:])
  2678. if err != nil {
  2679. return 0, err
  2680. }
  2681. i += n44
  2682. data[i] = 0x3a
  2683. i++
  2684. i = encodeVarintGenerated(data, i, uint64(m.LastTimestamp.Size()))
  2685. n45, err := m.LastTimestamp.MarshalTo(data[i:])
  2686. if err != nil {
  2687. return 0, err
  2688. }
  2689. i += n45
  2690. data[i] = 0x40
  2691. i++
  2692. i = encodeVarintGenerated(data, i, uint64(m.Count))
  2693. data[i] = 0x4a
  2694. i++
  2695. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  2696. i += copy(data[i:], m.Type)
  2697. return i, nil
  2698. }
  2699. func (m *EventList) Marshal() (data []byte, err error) {
  2700. size := m.Size()
  2701. data = make([]byte, size)
  2702. n, err := m.MarshalTo(data)
  2703. if err != nil {
  2704. return nil, err
  2705. }
  2706. return data[:n], nil
  2707. }
  2708. func (m *EventList) MarshalTo(data []byte) (int, error) {
  2709. var i int
  2710. _ = i
  2711. var l int
  2712. _ = l
  2713. data[i] = 0xa
  2714. i++
  2715. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2716. n46, err := m.ListMeta.MarshalTo(data[i:])
  2717. if err != nil {
  2718. return 0, err
  2719. }
  2720. i += n46
  2721. if len(m.Items) > 0 {
  2722. for _, msg := range m.Items {
  2723. data[i] = 0x12
  2724. i++
  2725. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2726. n, err := msg.MarshalTo(data[i:])
  2727. if err != nil {
  2728. return 0, err
  2729. }
  2730. i += n
  2731. }
  2732. }
  2733. return i, nil
  2734. }
  2735. func (m *EventSource) Marshal() (data []byte, err error) {
  2736. size := m.Size()
  2737. data = make([]byte, size)
  2738. n, err := m.MarshalTo(data)
  2739. if err != nil {
  2740. return nil, err
  2741. }
  2742. return data[:n], nil
  2743. }
  2744. func (m *EventSource) MarshalTo(data []byte) (int, error) {
  2745. var i int
  2746. _ = i
  2747. var l int
  2748. _ = l
  2749. data[i] = 0xa
  2750. i++
  2751. i = encodeVarintGenerated(data, i, uint64(len(m.Component)))
  2752. i += copy(data[i:], m.Component)
  2753. data[i] = 0x12
  2754. i++
  2755. i = encodeVarintGenerated(data, i, uint64(len(m.Host)))
  2756. i += copy(data[i:], m.Host)
  2757. return i, nil
  2758. }
  2759. func (m *ExecAction) Marshal() (data []byte, err error) {
  2760. size := m.Size()
  2761. data = make([]byte, size)
  2762. n, err := m.MarshalTo(data)
  2763. if err != nil {
  2764. return nil, err
  2765. }
  2766. return data[:n], nil
  2767. }
  2768. func (m *ExecAction) MarshalTo(data []byte) (int, error) {
  2769. var i int
  2770. _ = i
  2771. var l int
  2772. _ = l
  2773. if len(m.Command) > 0 {
  2774. for _, s := range m.Command {
  2775. data[i] = 0xa
  2776. i++
  2777. l = len(s)
  2778. for l >= 1<<7 {
  2779. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2780. l >>= 7
  2781. i++
  2782. }
  2783. data[i] = uint8(l)
  2784. i++
  2785. i += copy(data[i:], s)
  2786. }
  2787. }
  2788. return i, nil
  2789. }
  2790. func (m *FCVolumeSource) Marshal() (data []byte, err error) {
  2791. size := m.Size()
  2792. data = make([]byte, size)
  2793. n, err := m.MarshalTo(data)
  2794. if err != nil {
  2795. return nil, err
  2796. }
  2797. return data[:n], nil
  2798. }
  2799. func (m *FCVolumeSource) MarshalTo(data []byte) (int, error) {
  2800. var i int
  2801. _ = i
  2802. var l int
  2803. _ = l
  2804. if len(m.TargetWWNs) > 0 {
  2805. for _, s := range m.TargetWWNs {
  2806. data[i] = 0xa
  2807. i++
  2808. l = len(s)
  2809. for l >= 1<<7 {
  2810. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2811. l >>= 7
  2812. i++
  2813. }
  2814. data[i] = uint8(l)
  2815. i++
  2816. i += copy(data[i:], s)
  2817. }
  2818. }
  2819. if m.Lun != nil {
  2820. data[i] = 0x10
  2821. i++
  2822. i = encodeVarintGenerated(data, i, uint64(*m.Lun))
  2823. }
  2824. data[i] = 0x1a
  2825. i++
  2826. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  2827. i += copy(data[i:], m.FSType)
  2828. data[i] = 0x20
  2829. i++
  2830. if m.ReadOnly {
  2831. data[i] = 1
  2832. } else {
  2833. data[i] = 0
  2834. }
  2835. i++
  2836. return i, nil
  2837. }
  2838. func (m *FlexVolumeSource) Marshal() (data []byte, err error) {
  2839. size := m.Size()
  2840. data = make([]byte, size)
  2841. n, err := m.MarshalTo(data)
  2842. if err != nil {
  2843. return nil, err
  2844. }
  2845. return data[:n], nil
  2846. }
  2847. func (m *FlexVolumeSource) MarshalTo(data []byte) (int, error) {
  2848. var i int
  2849. _ = i
  2850. var l int
  2851. _ = l
  2852. data[i] = 0xa
  2853. i++
  2854. i = encodeVarintGenerated(data, i, uint64(len(m.Driver)))
  2855. i += copy(data[i:], m.Driver)
  2856. data[i] = 0x12
  2857. i++
  2858. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  2859. i += copy(data[i:], m.FSType)
  2860. if m.SecretRef != nil {
  2861. data[i] = 0x1a
  2862. i++
  2863. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  2864. n47, err := m.SecretRef.MarshalTo(data[i:])
  2865. if err != nil {
  2866. return 0, err
  2867. }
  2868. i += n47
  2869. }
  2870. data[i] = 0x20
  2871. i++
  2872. if m.ReadOnly {
  2873. data[i] = 1
  2874. } else {
  2875. data[i] = 0
  2876. }
  2877. i++
  2878. if len(m.Options) > 0 {
  2879. for k := range m.Options {
  2880. data[i] = 0x2a
  2881. i++
  2882. v := m.Options[k]
  2883. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  2884. i = encodeVarintGenerated(data, i, uint64(mapSize))
  2885. data[i] = 0xa
  2886. i++
  2887. i = encodeVarintGenerated(data, i, uint64(len(k)))
  2888. i += copy(data[i:], k)
  2889. data[i] = 0x12
  2890. i++
  2891. i = encodeVarintGenerated(data, i, uint64(len(v)))
  2892. i += copy(data[i:], v)
  2893. }
  2894. }
  2895. return i, nil
  2896. }
  2897. func (m *FlockerVolumeSource) Marshal() (data []byte, err error) {
  2898. size := m.Size()
  2899. data = make([]byte, size)
  2900. n, err := m.MarshalTo(data)
  2901. if err != nil {
  2902. return nil, err
  2903. }
  2904. return data[:n], nil
  2905. }
  2906. func (m *FlockerVolumeSource) MarshalTo(data []byte) (int, error) {
  2907. var i int
  2908. _ = i
  2909. var l int
  2910. _ = l
  2911. data[i] = 0xa
  2912. i++
  2913. i = encodeVarintGenerated(data, i, uint64(len(m.DatasetName)))
  2914. i += copy(data[i:], m.DatasetName)
  2915. data[i] = 0x12
  2916. i++
  2917. i = encodeVarintGenerated(data, i, uint64(len(m.DatasetUUID)))
  2918. i += copy(data[i:], m.DatasetUUID)
  2919. return i, nil
  2920. }
  2921. func (m *GCEPersistentDiskVolumeSource) Marshal() (data []byte, err error) {
  2922. size := m.Size()
  2923. data = make([]byte, size)
  2924. n, err := m.MarshalTo(data)
  2925. if err != nil {
  2926. return nil, err
  2927. }
  2928. return data[:n], nil
  2929. }
  2930. func (m *GCEPersistentDiskVolumeSource) MarshalTo(data []byte) (int, error) {
  2931. var i int
  2932. _ = i
  2933. var l int
  2934. _ = l
  2935. data[i] = 0xa
  2936. i++
  2937. i = encodeVarintGenerated(data, i, uint64(len(m.PDName)))
  2938. i += copy(data[i:], m.PDName)
  2939. data[i] = 0x12
  2940. i++
  2941. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  2942. i += copy(data[i:], m.FSType)
  2943. data[i] = 0x18
  2944. i++
  2945. i = encodeVarintGenerated(data, i, uint64(m.Partition))
  2946. data[i] = 0x20
  2947. i++
  2948. if m.ReadOnly {
  2949. data[i] = 1
  2950. } else {
  2951. data[i] = 0
  2952. }
  2953. i++
  2954. return i, nil
  2955. }
  2956. func (m *GitRepoVolumeSource) Marshal() (data []byte, err error) {
  2957. size := m.Size()
  2958. data = make([]byte, size)
  2959. n, err := m.MarshalTo(data)
  2960. if err != nil {
  2961. return nil, err
  2962. }
  2963. return data[:n], nil
  2964. }
  2965. func (m *GitRepoVolumeSource) MarshalTo(data []byte) (int, error) {
  2966. var i int
  2967. _ = i
  2968. var l int
  2969. _ = l
  2970. data[i] = 0xa
  2971. i++
  2972. i = encodeVarintGenerated(data, i, uint64(len(m.Repository)))
  2973. i += copy(data[i:], m.Repository)
  2974. data[i] = 0x12
  2975. i++
  2976. i = encodeVarintGenerated(data, i, uint64(len(m.Revision)))
  2977. i += copy(data[i:], m.Revision)
  2978. data[i] = 0x1a
  2979. i++
  2980. i = encodeVarintGenerated(data, i, uint64(len(m.Directory)))
  2981. i += copy(data[i:], m.Directory)
  2982. return i, nil
  2983. }
  2984. func (m *GlusterfsVolumeSource) Marshal() (data []byte, err error) {
  2985. size := m.Size()
  2986. data = make([]byte, size)
  2987. n, err := m.MarshalTo(data)
  2988. if err != nil {
  2989. return nil, err
  2990. }
  2991. return data[:n], nil
  2992. }
  2993. func (m *GlusterfsVolumeSource) MarshalTo(data []byte) (int, error) {
  2994. var i int
  2995. _ = i
  2996. var l int
  2997. _ = l
  2998. data[i] = 0xa
  2999. i++
  3000. i = encodeVarintGenerated(data, i, uint64(len(m.EndpointsName)))
  3001. i += copy(data[i:], m.EndpointsName)
  3002. data[i] = 0x12
  3003. i++
  3004. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  3005. i += copy(data[i:], m.Path)
  3006. data[i] = 0x18
  3007. i++
  3008. if m.ReadOnly {
  3009. data[i] = 1
  3010. } else {
  3011. data[i] = 0
  3012. }
  3013. i++
  3014. return i, nil
  3015. }
  3016. func (m *HTTPGetAction) Marshal() (data []byte, err error) {
  3017. size := m.Size()
  3018. data = make([]byte, size)
  3019. n, err := m.MarshalTo(data)
  3020. if err != nil {
  3021. return nil, err
  3022. }
  3023. return data[:n], nil
  3024. }
  3025. func (m *HTTPGetAction) MarshalTo(data []byte) (int, error) {
  3026. var i int
  3027. _ = i
  3028. var l int
  3029. _ = l
  3030. data[i] = 0xa
  3031. i++
  3032. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  3033. i += copy(data[i:], m.Path)
  3034. data[i] = 0x12
  3035. i++
  3036. i = encodeVarintGenerated(data, i, uint64(m.Port.Size()))
  3037. n48, err := m.Port.MarshalTo(data[i:])
  3038. if err != nil {
  3039. return 0, err
  3040. }
  3041. i += n48
  3042. data[i] = 0x1a
  3043. i++
  3044. i = encodeVarintGenerated(data, i, uint64(len(m.Host)))
  3045. i += copy(data[i:], m.Host)
  3046. data[i] = 0x22
  3047. i++
  3048. i = encodeVarintGenerated(data, i, uint64(len(m.Scheme)))
  3049. i += copy(data[i:], m.Scheme)
  3050. if len(m.HTTPHeaders) > 0 {
  3051. for _, msg := range m.HTTPHeaders {
  3052. data[i] = 0x2a
  3053. i++
  3054. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3055. n, err := msg.MarshalTo(data[i:])
  3056. if err != nil {
  3057. return 0, err
  3058. }
  3059. i += n
  3060. }
  3061. }
  3062. return i, nil
  3063. }
  3064. func (m *HTTPHeader) Marshal() (data []byte, err error) {
  3065. size := m.Size()
  3066. data = make([]byte, size)
  3067. n, err := m.MarshalTo(data)
  3068. if err != nil {
  3069. return nil, err
  3070. }
  3071. return data[:n], nil
  3072. }
  3073. func (m *HTTPHeader) MarshalTo(data []byte) (int, error) {
  3074. var i int
  3075. _ = i
  3076. var l int
  3077. _ = l
  3078. data[i] = 0xa
  3079. i++
  3080. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  3081. i += copy(data[i:], m.Name)
  3082. data[i] = 0x12
  3083. i++
  3084. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  3085. i += copy(data[i:], m.Value)
  3086. return i, nil
  3087. }
  3088. func (m *Handler) Marshal() (data []byte, err error) {
  3089. size := m.Size()
  3090. data = make([]byte, size)
  3091. n, err := m.MarshalTo(data)
  3092. if err != nil {
  3093. return nil, err
  3094. }
  3095. return data[:n], nil
  3096. }
  3097. func (m *Handler) MarshalTo(data []byte) (int, error) {
  3098. var i int
  3099. _ = i
  3100. var l int
  3101. _ = l
  3102. if m.Exec != nil {
  3103. data[i] = 0xa
  3104. i++
  3105. i = encodeVarintGenerated(data, i, uint64(m.Exec.Size()))
  3106. n49, err := m.Exec.MarshalTo(data[i:])
  3107. if err != nil {
  3108. return 0, err
  3109. }
  3110. i += n49
  3111. }
  3112. if m.HTTPGet != nil {
  3113. data[i] = 0x12
  3114. i++
  3115. i = encodeVarintGenerated(data, i, uint64(m.HTTPGet.Size()))
  3116. n50, err := m.HTTPGet.MarshalTo(data[i:])
  3117. if err != nil {
  3118. return 0, err
  3119. }
  3120. i += n50
  3121. }
  3122. if m.TCPSocket != nil {
  3123. data[i] = 0x1a
  3124. i++
  3125. i = encodeVarintGenerated(data, i, uint64(m.TCPSocket.Size()))
  3126. n51, err := m.TCPSocket.MarshalTo(data[i:])
  3127. if err != nil {
  3128. return 0, err
  3129. }
  3130. i += n51
  3131. }
  3132. return i, nil
  3133. }
  3134. func (m *HostPathVolumeSource) Marshal() (data []byte, err error) {
  3135. size := m.Size()
  3136. data = make([]byte, size)
  3137. n, err := m.MarshalTo(data)
  3138. if err != nil {
  3139. return nil, err
  3140. }
  3141. return data[:n], nil
  3142. }
  3143. func (m *HostPathVolumeSource) MarshalTo(data []byte) (int, error) {
  3144. var i int
  3145. _ = i
  3146. var l int
  3147. _ = l
  3148. data[i] = 0xa
  3149. i++
  3150. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  3151. i += copy(data[i:], m.Path)
  3152. return i, nil
  3153. }
  3154. func (m *ISCSIVolumeSource) Marshal() (data []byte, err error) {
  3155. size := m.Size()
  3156. data = make([]byte, size)
  3157. n, err := m.MarshalTo(data)
  3158. if err != nil {
  3159. return nil, err
  3160. }
  3161. return data[:n], nil
  3162. }
  3163. func (m *ISCSIVolumeSource) MarshalTo(data []byte) (int, error) {
  3164. var i int
  3165. _ = i
  3166. var l int
  3167. _ = l
  3168. data[i] = 0xa
  3169. i++
  3170. i = encodeVarintGenerated(data, i, uint64(len(m.TargetPortal)))
  3171. i += copy(data[i:], m.TargetPortal)
  3172. data[i] = 0x12
  3173. i++
  3174. i = encodeVarintGenerated(data, i, uint64(len(m.IQN)))
  3175. i += copy(data[i:], m.IQN)
  3176. data[i] = 0x18
  3177. i++
  3178. i = encodeVarintGenerated(data, i, uint64(m.Lun))
  3179. data[i] = 0x22
  3180. i++
  3181. i = encodeVarintGenerated(data, i, uint64(len(m.ISCSIInterface)))
  3182. i += copy(data[i:], m.ISCSIInterface)
  3183. data[i] = 0x2a
  3184. i++
  3185. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  3186. i += copy(data[i:], m.FSType)
  3187. data[i] = 0x30
  3188. i++
  3189. if m.ReadOnly {
  3190. data[i] = 1
  3191. } else {
  3192. data[i] = 0
  3193. }
  3194. i++
  3195. if len(m.Portals) > 0 {
  3196. for _, s := range m.Portals {
  3197. data[i] = 0x3a
  3198. i++
  3199. l = len(s)
  3200. for l >= 1<<7 {
  3201. data[i] = uint8(uint64(l)&0x7f | 0x80)
  3202. l >>= 7
  3203. i++
  3204. }
  3205. data[i] = uint8(l)
  3206. i++
  3207. i += copy(data[i:], s)
  3208. }
  3209. }
  3210. return i, nil
  3211. }
  3212. func (m *KeyToPath) Marshal() (data []byte, err error) {
  3213. size := m.Size()
  3214. data = make([]byte, size)
  3215. n, err := m.MarshalTo(data)
  3216. if err != nil {
  3217. return nil, err
  3218. }
  3219. return data[:n], nil
  3220. }
  3221. func (m *KeyToPath) MarshalTo(data []byte) (int, error) {
  3222. var i int
  3223. _ = i
  3224. var l int
  3225. _ = l
  3226. data[i] = 0xa
  3227. i++
  3228. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  3229. i += copy(data[i:], m.Key)
  3230. data[i] = 0x12
  3231. i++
  3232. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  3233. i += copy(data[i:], m.Path)
  3234. if m.Mode != nil {
  3235. data[i] = 0x18
  3236. i++
  3237. i = encodeVarintGenerated(data, i, uint64(*m.Mode))
  3238. }
  3239. return i, nil
  3240. }
  3241. func (m *Lifecycle) Marshal() (data []byte, err error) {
  3242. size := m.Size()
  3243. data = make([]byte, size)
  3244. n, err := m.MarshalTo(data)
  3245. if err != nil {
  3246. return nil, err
  3247. }
  3248. return data[:n], nil
  3249. }
  3250. func (m *Lifecycle) MarshalTo(data []byte) (int, error) {
  3251. var i int
  3252. _ = i
  3253. var l int
  3254. _ = l
  3255. if m.PostStart != nil {
  3256. data[i] = 0xa
  3257. i++
  3258. i = encodeVarintGenerated(data, i, uint64(m.PostStart.Size()))
  3259. n52, err := m.PostStart.MarshalTo(data[i:])
  3260. if err != nil {
  3261. return 0, err
  3262. }
  3263. i += n52
  3264. }
  3265. if m.PreStop != nil {
  3266. data[i] = 0x12
  3267. i++
  3268. i = encodeVarintGenerated(data, i, uint64(m.PreStop.Size()))
  3269. n53, err := m.PreStop.MarshalTo(data[i:])
  3270. if err != nil {
  3271. return 0, err
  3272. }
  3273. i += n53
  3274. }
  3275. return i, nil
  3276. }
  3277. func (m *LimitRange) Marshal() (data []byte, err error) {
  3278. size := m.Size()
  3279. data = make([]byte, size)
  3280. n, err := m.MarshalTo(data)
  3281. if err != nil {
  3282. return nil, err
  3283. }
  3284. return data[:n], nil
  3285. }
  3286. func (m *LimitRange) MarshalTo(data []byte) (int, error) {
  3287. var i int
  3288. _ = i
  3289. var l int
  3290. _ = l
  3291. data[i] = 0xa
  3292. i++
  3293. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  3294. n54, err := m.ObjectMeta.MarshalTo(data[i:])
  3295. if err != nil {
  3296. return 0, err
  3297. }
  3298. i += n54
  3299. data[i] = 0x12
  3300. i++
  3301. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  3302. n55, err := m.Spec.MarshalTo(data[i:])
  3303. if err != nil {
  3304. return 0, err
  3305. }
  3306. i += n55
  3307. return i, nil
  3308. }
  3309. func (m *LimitRangeItem) Marshal() (data []byte, err error) {
  3310. size := m.Size()
  3311. data = make([]byte, size)
  3312. n, err := m.MarshalTo(data)
  3313. if err != nil {
  3314. return nil, err
  3315. }
  3316. return data[:n], nil
  3317. }
  3318. func (m *LimitRangeItem) MarshalTo(data []byte) (int, error) {
  3319. var i int
  3320. _ = i
  3321. var l int
  3322. _ = l
  3323. data[i] = 0xa
  3324. i++
  3325. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  3326. i += copy(data[i:], m.Type)
  3327. if len(m.Max) > 0 {
  3328. for k := range m.Max {
  3329. data[i] = 0x12
  3330. i++
  3331. v := m.Max[k]
  3332. msgSize := (&v).Size()
  3333. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3334. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3335. data[i] = 0xa
  3336. i++
  3337. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3338. i += copy(data[i:], k)
  3339. data[i] = 0x12
  3340. i++
  3341. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3342. n56, err := (&v).MarshalTo(data[i:])
  3343. if err != nil {
  3344. return 0, err
  3345. }
  3346. i += n56
  3347. }
  3348. }
  3349. if len(m.Min) > 0 {
  3350. for k := range m.Min {
  3351. data[i] = 0x1a
  3352. i++
  3353. v := m.Min[k]
  3354. msgSize := (&v).Size()
  3355. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3356. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3357. data[i] = 0xa
  3358. i++
  3359. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3360. i += copy(data[i:], k)
  3361. data[i] = 0x12
  3362. i++
  3363. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3364. n57, err := (&v).MarshalTo(data[i:])
  3365. if err != nil {
  3366. return 0, err
  3367. }
  3368. i += n57
  3369. }
  3370. }
  3371. if len(m.Default) > 0 {
  3372. for k := range m.Default {
  3373. data[i] = 0x22
  3374. i++
  3375. v := m.Default[k]
  3376. msgSize := (&v).Size()
  3377. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3378. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3379. data[i] = 0xa
  3380. i++
  3381. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3382. i += copy(data[i:], k)
  3383. data[i] = 0x12
  3384. i++
  3385. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3386. n58, err := (&v).MarshalTo(data[i:])
  3387. if err != nil {
  3388. return 0, err
  3389. }
  3390. i += n58
  3391. }
  3392. }
  3393. if len(m.DefaultRequest) > 0 {
  3394. for k := range m.DefaultRequest {
  3395. data[i] = 0x2a
  3396. i++
  3397. v := m.DefaultRequest[k]
  3398. msgSize := (&v).Size()
  3399. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3400. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3401. data[i] = 0xa
  3402. i++
  3403. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3404. i += copy(data[i:], k)
  3405. data[i] = 0x12
  3406. i++
  3407. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3408. n59, err := (&v).MarshalTo(data[i:])
  3409. if err != nil {
  3410. return 0, err
  3411. }
  3412. i += n59
  3413. }
  3414. }
  3415. if len(m.MaxLimitRequestRatio) > 0 {
  3416. for k := range m.MaxLimitRequestRatio {
  3417. data[i] = 0x32
  3418. i++
  3419. v := m.MaxLimitRequestRatio[k]
  3420. msgSize := (&v).Size()
  3421. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  3422. i = encodeVarintGenerated(data, i, uint64(mapSize))
  3423. data[i] = 0xa
  3424. i++
  3425. i = encodeVarintGenerated(data, i, uint64(len(k)))
  3426. i += copy(data[i:], k)
  3427. data[i] = 0x12
  3428. i++
  3429. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  3430. n60, err := (&v).MarshalTo(data[i:])
  3431. if err != nil {
  3432. return 0, err
  3433. }
  3434. i += n60
  3435. }
  3436. }
  3437. return i, nil
  3438. }
  3439. func (m *LimitRangeList) Marshal() (data []byte, err error) {
  3440. size := m.Size()
  3441. data = make([]byte, size)
  3442. n, err := m.MarshalTo(data)
  3443. if err != nil {
  3444. return nil, err
  3445. }
  3446. return data[:n], nil
  3447. }
  3448. func (m *LimitRangeList) MarshalTo(data []byte) (int, error) {
  3449. var i int
  3450. _ = i
  3451. var l int
  3452. _ = l
  3453. data[i] = 0xa
  3454. i++
  3455. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3456. n61, err := m.ListMeta.MarshalTo(data[i:])
  3457. if err != nil {
  3458. return 0, err
  3459. }
  3460. i += n61
  3461. if len(m.Items) > 0 {
  3462. for _, msg := range m.Items {
  3463. data[i] = 0x12
  3464. i++
  3465. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3466. n, err := msg.MarshalTo(data[i:])
  3467. if err != nil {
  3468. return 0, err
  3469. }
  3470. i += n
  3471. }
  3472. }
  3473. return i, nil
  3474. }
  3475. func (m *LimitRangeSpec) Marshal() (data []byte, err error) {
  3476. size := m.Size()
  3477. data = make([]byte, size)
  3478. n, err := m.MarshalTo(data)
  3479. if err != nil {
  3480. return nil, err
  3481. }
  3482. return data[:n], nil
  3483. }
  3484. func (m *LimitRangeSpec) MarshalTo(data []byte) (int, error) {
  3485. var i int
  3486. _ = i
  3487. var l int
  3488. _ = l
  3489. if len(m.Limits) > 0 {
  3490. for _, msg := range m.Limits {
  3491. data[i] = 0xa
  3492. i++
  3493. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3494. n, err := msg.MarshalTo(data[i:])
  3495. if err != nil {
  3496. return 0, err
  3497. }
  3498. i += n
  3499. }
  3500. }
  3501. return i, nil
  3502. }
  3503. func (m *List) Marshal() (data []byte, err error) {
  3504. size := m.Size()
  3505. data = make([]byte, size)
  3506. n, err := m.MarshalTo(data)
  3507. if err != nil {
  3508. return nil, err
  3509. }
  3510. return data[:n], nil
  3511. }
  3512. func (m *List) MarshalTo(data []byte) (int, error) {
  3513. var i int
  3514. _ = i
  3515. var l int
  3516. _ = l
  3517. data[i] = 0xa
  3518. i++
  3519. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3520. n62, err := m.ListMeta.MarshalTo(data[i:])
  3521. if err != nil {
  3522. return 0, err
  3523. }
  3524. i += n62
  3525. if len(m.Items) > 0 {
  3526. for _, msg := range m.Items {
  3527. data[i] = 0x12
  3528. i++
  3529. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3530. n, err := msg.MarshalTo(data[i:])
  3531. if err != nil {
  3532. return 0, err
  3533. }
  3534. i += n
  3535. }
  3536. }
  3537. return i, nil
  3538. }
  3539. func (m *ListOptions) Marshal() (data []byte, err error) {
  3540. size := m.Size()
  3541. data = make([]byte, size)
  3542. n, err := m.MarshalTo(data)
  3543. if err != nil {
  3544. return nil, err
  3545. }
  3546. return data[:n], nil
  3547. }
  3548. func (m *ListOptions) MarshalTo(data []byte) (int, error) {
  3549. var i int
  3550. _ = i
  3551. var l int
  3552. _ = l
  3553. data[i] = 0xa
  3554. i++
  3555. i = encodeVarintGenerated(data, i, uint64(len(m.LabelSelector)))
  3556. i += copy(data[i:], m.LabelSelector)
  3557. data[i] = 0x12
  3558. i++
  3559. i = encodeVarintGenerated(data, i, uint64(len(m.FieldSelector)))
  3560. i += copy(data[i:], m.FieldSelector)
  3561. data[i] = 0x18
  3562. i++
  3563. if m.Watch {
  3564. data[i] = 1
  3565. } else {
  3566. data[i] = 0
  3567. }
  3568. i++
  3569. data[i] = 0x22
  3570. i++
  3571. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  3572. i += copy(data[i:], m.ResourceVersion)
  3573. if m.TimeoutSeconds != nil {
  3574. data[i] = 0x28
  3575. i++
  3576. i = encodeVarintGenerated(data, i, uint64(*m.TimeoutSeconds))
  3577. }
  3578. return i, nil
  3579. }
  3580. func (m *LoadBalancerIngress) Marshal() (data []byte, err error) {
  3581. size := m.Size()
  3582. data = make([]byte, size)
  3583. n, err := m.MarshalTo(data)
  3584. if err != nil {
  3585. return nil, err
  3586. }
  3587. return data[:n], nil
  3588. }
  3589. func (m *LoadBalancerIngress) MarshalTo(data []byte) (int, error) {
  3590. var i int
  3591. _ = i
  3592. var l int
  3593. _ = l
  3594. data[i] = 0xa
  3595. i++
  3596. i = encodeVarintGenerated(data, i, uint64(len(m.IP)))
  3597. i += copy(data[i:], m.IP)
  3598. data[i] = 0x12
  3599. i++
  3600. i = encodeVarintGenerated(data, i, uint64(len(m.Hostname)))
  3601. i += copy(data[i:], m.Hostname)
  3602. return i, nil
  3603. }
  3604. func (m *LoadBalancerStatus) Marshal() (data []byte, err error) {
  3605. size := m.Size()
  3606. data = make([]byte, size)
  3607. n, err := m.MarshalTo(data)
  3608. if err != nil {
  3609. return nil, err
  3610. }
  3611. return data[:n], nil
  3612. }
  3613. func (m *LoadBalancerStatus) MarshalTo(data []byte) (int, error) {
  3614. var i int
  3615. _ = i
  3616. var l int
  3617. _ = l
  3618. if len(m.Ingress) > 0 {
  3619. for _, msg := range m.Ingress {
  3620. data[i] = 0xa
  3621. i++
  3622. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3623. n, err := msg.MarshalTo(data[i:])
  3624. if err != nil {
  3625. return 0, err
  3626. }
  3627. i += n
  3628. }
  3629. }
  3630. return i, nil
  3631. }
  3632. func (m *LocalObjectReference) Marshal() (data []byte, err error) {
  3633. size := m.Size()
  3634. data = make([]byte, size)
  3635. n, err := m.MarshalTo(data)
  3636. if err != nil {
  3637. return nil, err
  3638. }
  3639. return data[:n], nil
  3640. }
  3641. func (m *LocalObjectReference) MarshalTo(data []byte) (int, error) {
  3642. var i int
  3643. _ = i
  3644. var l int
  3645. _ = l
  3646. data[i] = 0xa
  3647. i++
  3648. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  3649. i += copy(data[i:], m.Name)
  3650. return i, nil
  3651. }
  3652. func (m *NFSVolumeSource) Marshal() (data []byte, err error) {
  3653. size := m.Size()
  3654. data = make([]byte, size)
  3655. n, err := m.MarshalTo(data)
  3656. if err != nil {
  3657. return nil, err
  3658. }
  3659. return data[:n], nil
  3660. }
  3661. func (m *NFSVolumeSource) MarshalTo(data []byte) (int, error) {
  3662. var i int
  3663. _ = i
  3664. var l int
  3665. _ = l
  3666. data[i] = 0xa
  3667. i++
  3668. i = encodeVarintGenerated(data, i, uint64(len(m.Server)))
  3669. i += copy(data[i:], m.Server)
  3670. data[i] = 0x12
  3671. i++
  3672. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  3673. i += copy(data[i:], m.Path)
  3674. data[i] = 0x18
  3675. i++
  3676. if m.ReadOnly {
  3677. data[i] = 1
  3678. } else {
  3679. data[i] = 0
  3680. }
  3681. i++
  3682. return i, nil
  3683. }
  3684. func (m *Namespace) Marshal() (data []byte, err error) {
  3685. size := m.Size()
  3686. data = make([]byte, size)
  3687. n, err := m.MarshalTo(data)
  3688. if err != nil {
  3689. return nil, err
  3690. }
  3691. return data[:n], nil
  3692. }
  3693. func (m *Namespace) MarshalTo(data []byte) (int, error) {
  3694. var i int
  3695. _ = i
  3696. var l int
  3697. _ = l
  3698. data[i] = 0xa
  3699. i++
  3700. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  3701. n63, err := m.ObjectMeta.MarshalTo(data[i:])
  3702. if err != nil {
  3703. return 0, err
  3704. }
  3705. i += n63
  3706. data[i] = 0x12
  3707. i++
  3708. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  3709. n64, err := m.Spec.MarshalTo(data[i:])
  3710. if err != nil {
  3711. return 0, err
  3712. }
  3713. i += n64
  3714. data[i] = 0x1a
  3715. i++
  3716. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  3717. n65, err := m.Status.MarshalTo(data[i:])
  3718. if err != nil {
  3719. return 0, err
  3720. }
  3721. i += n65
  3722. return i, nil
  3723. }
  3724. func (m *NamespaceList) Marshal() (data []byte, err error) {
  3725. size := m.Size()
  3726. data = make([]byte, size)
  3727. n, err := m.MarshalTo(data)
  3728. if err != nil {
  3729. return nil, err
  3730. }
  3731. return data[:n], nil
  3732. }
  3733. func (m *NamespaceList) MarshalTo(data []byte) (int, error) {
  3734. var i int
  3735. _ = i
  3736. var l int
  3737. _ = l
  3738. data[i] = 0xa
  3739. i++
  3740. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3741. n66, err := m.ListMeta.MarshalTo(data[i:])
  3742. if err != nil {
  3743. return 0, err
  3744. }
  3745. i += n66
  3746. if len(m.Items) > 0 {
  3747. for _, msg := range m.Items {
  3748. data[i] = 0x12
  3749. i++
  3750. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3751. n, err := msg.MarshalTo(data[i:])
  3752. if err != nil {
  3753. return 0, err
  3754. }
  3755. i += n
  3756. }
  3757. }
  3758. return i, nil
  3759. }
  3760. func (m *NamespaceSpec) Marshal() (data []byte, err error) {
  3761. size := m.Size()
  3762. data = make([]byte, size)
  3763. n, err := m.MarshalTo(data)
  3764. if err != nil {
  3765. return nil, err
  3766. }
  3767. return data[:n], nil
  3768. }
  3769. func (m *NamespaceSpec) MarshalTo(data []byte) (int, error) {
  3770. var i int
  3771. _ = i
  3772. var l int
  3773. _ = l
  3774. if len(m.Finalizers) > 0 {
  3775. for _, s := range m.Finalizers {
  3776. data[i] = 0xa
  3777. i++
  3778. l = len(s)
  3779. for l >= 1<<7 {
  3780. data[i] = uint8(uint64(l)&0x7f | 0x80)
  3781. l >>= 7
  3782. i++
  3783. }
  3784. data[i] = uint8(l)
  3785. i++
  3786. i += copy(data[i:], s)
  3787. }
  3788. }
  3789. return i, nil
  3790. }
  3791. func (m *NamespaceStatus) 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 *NamespaceStatus) MarshalTo(data []byte) (int, error) {
  3801. var i int
  3802. _ = i
  3803. var l int
  3804. _ = l
  3805. data[i] = 0xa
  3806. i++
  3807. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  3808. i += copy(data[i:], m.Phase)
  3809. return i, nil
  3810. }
  3811. func (m *Node) Marshal() (data []byte, err error) {
  3812. size := m.Size()
  3813. data = make([]byte, size)
  3814. n, err := m.MarshalTo(data)
  3815. if err != nil {
  3816. return nil, err
  3817. }
  3818. return data[:n], nil
  3819. }
  3820. func (m *Node) MarshalTo(data []byte) (int, error) {
  3821. var i int
  3822. _ = i
  3823. var l int
  3824. _ = l
  3825. data[i] = 0xa
  3826. i++
  3827. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  3828. n67, err := m.ObjectMeta.MarshalTo(data[i:])
  3829. if err != nil {
  3830. return 0, err
  3831. }
  3832. i += n67
  3833. data[i] = 0x12
  3834. i++
  3835. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  3836. n68, err := m.Spec.MarshalTo(data[i:])
  3837. if err != nil {
  3838. return 0, err
  3839. }
  3840. i += n68
  3841. data[i] = 0x1a
  3842. i++
  3843. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  3844. n69, err := m.Status.MarshalTo(data[i:])
  3845. if err != nil {
  3846. return 0, err
  3847. }
  3848. i += n69
  3849. return i, nil
  3850. }
  3851. func (m *NodeAddress) Marshal() (data []byte, err error) {
  3852. size := m.Size()
  3853. data = make([]byte, size)
  3854. n, err := m.MarshalTo(data)
  3855. if err != nil {
  3856. return nil, err
  3857. }
  3858. return data[:n], nil
  3859. }
  3860. func (m *NodeAddress) MarshalTo(data []byte) (int, error) {
  3861. var i int
  3862. _ = i
  3863. var l int
  3864. _ = l
  3865. data[i] = 0xa
  3866. i++
  3867. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  3868. i += copy(data[i:], m.Type)
  3869. data[i] = 0x12
  3870. i++
  3871. i = encodeVarintGenerated(data, i, uint64(len(m.Address)))
  3872. i += copy(data[i:], m.Address)
  3873. return i, nil
  3874. }
  3875. func (m *NodeAffinity) Marshal() (data []byte, err error) {
  3876. size := m.Size()
  3877. data = make([]byte, size)
  3878. n, err := m.MarshalTo(data)
  3879. if err != nil {
  3880. return nil, err
  3881. }
  3882. return data[:n], nil
  3883. }
  3884. func (m *NodeAffinity) MarshalTo(data []byte) (int, error) {
  3885. var i int
  3886. _ = i
  3887. var l int
  3888. _ = l
  3889. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  3890. data[i] = 0xa
  3891. i++
  3892. i = encodeVarintGenerated(data, i, uint64(m.RequiredDuringSchedulingIgnoredDuringExecution.Size()))
  3893. n70, err := m.RequiredDuringSchedulingIgnoredDuringExecution.MarshalTo(data[i:])
  3894. if err != nil {
  3895. return 0, err
  3896. }
  3897. i += n70
  3898. }
  3899. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  3900. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  3901. data[i] = 0x12
  3902. i++
  3903. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3904. n, err := msg.MarshalTo(data[i:])
  3905. if err != nil {
  3906. return 0, err
  3907. }
  3908. i += n
  3909. }
  3910. }
  3911. return i, nil
  3912. }
  3913. func (m *NodeCondition) Marshal() (data []byte, err error) {
  3914. size := m.Size()
  3915. data = make([]byte, size)
  3916. n, err := m.MarshalTo(data)
  3917. if err != nil {
  3918. return nil, err
  3919. }
  3920. return data[:n], nil
  3921. }
  3922. func (m *NodeCondition) MarshalTo(data []byte) (int, error) {
  3923. var i int
  3924. _ = i
  3925. var l int
  3926. _ = l
  3927. data[i] = 0xa
  3928. i++
  3929. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  3930. i += copy(data[i:], m.Type)
  3931. data[i] = 0x12
  3932. i++
  3933. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  3934. i += copy(data[i:], m.Status)
  3935. data[i] = 0x1a
  3936. i++
  3937. i = encodeVarintGenerated(data, i, uint64(m.LastHeartbeatTime.Size()))
  3938. n71, err := m.LastHeartbeatTime.MarshalTo(data[i:])
  3939. if err != nil {
  3940. return 0, err
  3941. }
  3942. i += n71
  3943. data[i] = 0x22
  3944. i++
  3945. i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size()))
  3946. n72, err := m.LastTransitionTime.MarshalTo(data[i:])
  3947. if err != nil {
  3948. return 0, err
  3949. }
  3950. i += n72
  3951. data[i] = 0x2a
  3952. i++
  3953. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  3954. i += copy(data[i:], m.Reason)
  3955. data[i] = 0x32
  3956. i++
  3957. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  3958. i += copy(data[i:], m.Message)
  3959. return i, nil
  3960. }
  3961. func (m *NodeDaemonEndpoints) Marshal() (data []byte, err error) {
  3962. size := m.Size()
  3963. data = make([]byte, size)
  3964. n, err := m.MarshalTo(data)
  3965. if err != nil {
  3966. return nil, err
  3967. }
  3968. return data[:n], nil
  3969. }
  3970. func (m *NodeDaemonEndpoints) MarshalTo(data []byte) (int, error) {
  3971. var i int
  3972. _ = i
  3973. var l int
  3974. _ = l
  3975. data[i] = 0xa
  3976. i++
  3977. i = encodeVarintGenerated(data, i, uint64(m.KubeletEndpoint.Size()))
  3978. n73, err := m.KubeletEndpoint.MarshalTo(data[i:])
  3979. if err != nil {
  3980. return 0, err
  3981. }
  3982. i += n73
  3983. return i, nil
  3984. }
  3985. func (m *NodeList) Marshal() (data []byte, err error) {
  3986. size := m.Size()
  3987. data = make([]byte, size)
  3988. n, err := m.MarshalTo(data)
  3989. if err != nil {
  3990. return nil, err
  3991. }
  3992. return data[:n], nil
  3993. }
  3994. func (m *NodeList) MarshalTo(data []byte) (int, error) {
  3995. var i int
  3996. _ = i
  3997. var l int
  3998. _ = l
  3999. data[i] = 0xa
  4000. i++
  4001. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  4002. n74, err := m.ListMeta.MarshalTo(data[i:])
  4003. if err != nil {
  4004. return 0, err
  4005. }
  4006. i += n74
  4007. if len(m.Items) > 0 {
  4008. for _, msg := range m.Items {
  4009. data[i] = 0x12
  4010. i++
  4011. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4012. n, err := msg.MarshalTo(data[i:])
  4013. if err != nil {
  4014. return 0, err
  4015. }
  4016. i += n
  4017. }
  4018. }
  4019. return i, nil
  4020. }
  4021. func (m *NodeProxyOptions) Marshal() (data []byte, err error) {
  4022. size := m.Size()
  4023. data = make([]byte, size)
  4024. n, err := m.MarshalTo(data)
  4025. if err != nil {
  4026. return nil, err
  4027. }
  4028. return data[:n], nil
  4029. }
  4030. func (m *NodeProxyOptions) MarshalTo(data []byte) (int, error) {
  4031. var i int
  4032. _ = i
  4033. var l int
  4034. _ = l
  4035. data[i] = 0xa
  4036. i++
  4037. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  4038. i += copy(data[i:], m.Path)
  4039. return i, nil
  4040. }
  4041. func (m *NodeResources) Marshal() (data []byte, err error) {
  4042. size := m.Size()
  4043. data = make([]byte, size)
  4044. n, err := m.MarshalTo(data)
  4045. if err != nil {
  4046. return nil, err
  4047. }
  4048. return data[:n], nil
  4049. }
  4050. func (m *NodeResources) MarshalTo(data []byte) (int, error) {
  4051. var i int
  4052. _ = i
  4053. var l int
  4054. _ = l
  4055. if len(m.Capacity) > 0 {
  4056. for k := range m.Capacity {
  4057. data[i] = 0xa
  4058. i++
  4059. v := m.Capacity[k]
  4060. msgSize := (&v).Size()
  4061. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  4062. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4063. data[i] = 0xa
  4064. i++
  4065. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4066. i += copy(data[i:], k)
  4067. data[i] = 0x12
  4068. i++
  4069. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  4070. n75, err := (&v).MarshalTo(data[i:])
  4071. if err != nil {
  4072. return 0, err
  4073. }
  4074. i += n75
  4075. }
  4076. }
  4077. return i, nil
  4078. }
  4079. func (m *NodeSelector) Marshal() (data []byte, err error) {
  4080. size := m.Size()
  4081. data = make([]byte, size)
  4082. n, err := m.MarshalTo(data)
  4083. if err != nil {
  4084. return nil, err
  4085. }
  4086. return data[:n], nil
  4087. }
  4088. func (m *NodeSelector) MarshalTo(data []byte) (int, error) {
  4089. var i int
  4090. _ = i
  4091. var l int
  4092. _ = l
  4093. if len(m.NodeSelectorTerms) > 0 {
  4094. for _, msg := range m.NodeSelectorTerms {
  4095. data[i] = 0xa
  4096. i++
  4097. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4098. n, err := msg.MarshalTo(data[i:])
  4099. if err != nil {
  4100. return 0, err
  4101. }
  4102. i += n
  4103. }
  4104. }
  4105. return i, nil
  4106. }
  4107. func (m *NodeSelectorRequirement) Marshal() (data []byte, err error) {
  4108. size := m.Size()
  4109. data = make([]byte, size)
  4110. n, err := m.MarshalTo(data)
  4111. if err != nil {
  4112. return nil, err
  4113. }
  4114. return data[:n], nil
  4115. }
  4116. func (m *NodeSelectorRequirement) MarshalTo(data []byte) (int, error) {
  4117. var i int
  4118. _ = i
  4119. var l int
  4120. _ = l
  4121. data[i] = 0xa
  4122. i++
  4123. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  4124. i += copy(data[i:], m.Key)
  4125. data[i] = 0x12
  4126. i++
  4127. i = encodeVarintGenerated(data, i, uint64(len(m.Operator)))
  4128. i += copy(data[i:], m.Operator)
  4129. if len(m.Values) > 0 {
  4130. for _, s := range m.Values {
  4131. data[i] = 0x1a
  4132. i++
  4133. l = len(s)
  4134. for l >= 1<<7 {
  4135. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4136. l >>= 7
  4137. i++
  4138. }
  4139. data[i] = uint8(l)
  4140. i++
  4141. i += copy(data[i:], s)
  4142. }
  4143. }
  4144. return i, nil
  4145. }
  4146. func (m *NodeSelectorTerm) Marshal() (data []byte, err error) {
  4147. size := m.Size()
  4148. data = make([]byte, size)
  4149. n, err := m.MarshalTo(data)
  4150. if err != nil {
  4151. return nil, err
  4152. }
  4153. return data[:n], nil
  4154. }
  4155. func (m *NodeSelectorTerm) MarshalTo(data []byte) (int, error) {
  4156. var i int
  4157. _ = i
  4158. var l int
  4159. _ = l
  4160. if len(m.MatchExpressions) > 0 {
  4161. for _, msg := range m.MatchExpressions {
  4162. data[i] = 0xa
  4163. i++
  4164. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4165. n, err := msg.MarshalTo(data[i:])
  4166. if err != nil {
  4167. return 0, err
  4168. }
  4169. i += n
  4170. }
  4171. }
  4172. return i, nil
  4173. }
  4174. func (m *NodeSpec) Marshal() (data []byte, err error) {
  4175. size := m.Size()
  4176. data = make([]byte, size)
  4177. n, err := m.MarshalTo(data)
  4178. if err != nil {
  4179. return nil, err
  4180. }
  4181. return data[:n], nil
  4182. }
  4183. func (m *NodeSpec) MarshalTo(data []byte) (int, error) {
  4184. var i int
  4185. _ = i
  4186. var l int
  4187. _ = l
  4188. data[i] = 0xa
  4189. i++
  4190. i = encodeVarintGenerated(data, i, uint64(len(m.PodCIDR)))
  4191. i += copy(data[i:], m.PodCIDR)
  4192. data[i] = 0x12
  4193. i++
  4194. i = encodeVarintGenerated(data, i, uint64(len(m.ExternalID)))
  4195. i += copy(data[i:], m.ExternalID)
  4196. data[i] = 0x1a
  4197. i++
  4198. i = encodeVarintGenerated(data, i, uint64(len(m.ProviderID)))
  4199. i += copy(data[i:], m.ProviderID)
  4200. data[i] = 0x20
  4201. i++
  4202. if m.Unschedulable {
  4203. data[i] = 1
  4204. } else {
  4205. data[i] = 0
  4206. }
  4207. i++
  4208. if len(m.Taints) > 0 {
  4209. for _, msg := range m.Taints {
  4210. data[i] = 0x2a
  4211. i++
  4212. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4213. n, err := msg.MarshalTo(data[i:])
  4214. if err != nil {
  4215. return 0, err
  4216. }
  4217. i += n
  4218. }
  4219. }
  4220. return i, nil
  4221. }
  4222. func (m *NodeStatus) Marshal() (data []byte, err error) {
  4223. size := m.Size()
  4224. data = make([]byte, size)
  4225. n, err := m.MarshalTo(data)
  4226. if err != nil {
  4227. return nil, err
  4228. }
  4229. return data[:n], nil
  4230. }
  4231. func (m *NodeStatus) MarshalTo(data []byte) (int, error) {
  4232. var i int
  4233. _ = i
  4234. var l int
  4235. _ = l
  4236. if len(m.Capacity) > 0 {
  4237. for k := range m.Capacity {
  4238. data[i] = 0xa
  4239. i++
  4240. v := m.Capacity[k]
  4241. msgSize := (&v).Size()
  4242. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  4243. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4244. data[i] = 0xa
  4245. i++
  4246. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4247. i += copy(data[i:], k)
  4248. data[i] = 0x12
  4249. i++
  4250. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  4251. n76, err := (&v).MarshalTo(data[i:])
  4252. if err != nil {
  4253. return 0, err
  4254. }
  4255. i += n76
  4256. }
  4257. }
  4258. if len(m.Allocatable) > 0 {
  4259. for k := range m.Allocatable {
  4260. data[i] = 0x12
  4261. i++
  4262. v := m.Allocatable[k]
  4263. msgSize := (&v).Size()
  4264. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  4265. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4266. data[i] = 0xa
  4267. i++
  4268. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4269. i += copy(data[i:], k)
  4270. data[i] = 0x12
  4271. i++
  4272. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  4273. n77, err := (&v).MarshalTo(data[i:])
  4274. if err != nil {
  4275. return 0, err
  4276. }
  4277. i += n77
  4278. }
  4279. }
  4280. data[i] = 0x1a
  4281. i++
  4282. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  4283. i += copy(data[i:], m.Phase)
  4284. if len(m.Conditions) > 0 {
  4285. for _, msg := range m.Conditions {
  4286. data[i] = 0x22
  4287. i++
  4288. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4289. n, err := msg.MarshalTo(data[i:])
  4290. if err != nil {
  4291. return 0, err
  4292. }
  4293. i += n
  4294. }
  4295. }
  4296. if len(m.Addresses) > 0 {
  4297. for _, msg := range m.Addresses {
  4298. data[i] = 0x2a
  4299. i++
  4300. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4301. n, err := msg.MarshalTo(data[i:])
  4302. if err != nil {
  4303. return 0, err
  4304. }
  4305. i += n
  4306. }
  4307. }
  4308. data[i] = 0x32
  4309. i++
  4310. i = encodeVarintGenerated(data, i, uint64(m.DaemonEndpoints.Size()))
  4311. n78, err := m.DaemonEndpoints.MarshalTo(data[i:])
  4312. if err != nil {
  4313. return 0, err
  4314. }
  4315. i += n78
  4316. data[i] = 0x3a
  4317. i++
  4318. i = encodeVarintGenerated(data, i, uint64(m.NodeInfo.Size()))
  4319. n79, err := m.NodeInfo.MarshalTo(data[i:])
  4320. if err != nil {
  4321. return 0, err
  4322. }
  4323. i += n79
  4324. if len(m.Images) > 0 {
  4325. for _, msg := range m.Images {
  4326. data[i] = 0x42
  4327. i++
  4328. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4329. n, err := msg.MarshalTo(data[i:])
  4330. if err != nil {
  4331. return 0, err
  4332. }
  4333. i += n
  4334. }
  4335. }
  4336. if len(m.VolumesInUse) > 0 {
  4337. for _, s := range m.VolumesInUse {
  4338. data[i] = 0x4a
  4339. i++
  4340. l = len(s)
  4341. for l >= 1<<7 {
  4342. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4343. l >>= 7
  4344. i++
  4345. }
  4346. data[i] = uint8(l)
  4347. i++
  4348. i += copy(data[i:], s)
  4349. }
  4350. }
  4351. if len(m.VolumesAttached) > 0 {
  4352. for _, msg := range m.VolumesAttached {
  4353. data[i] = 0x52
  4354. i++
  4355. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4356. n, err := msg.MarshalTo(data[i:])
  4357. if err != nil {
  4358. return 0, err
  4359. }
  4360. i += n
  4361. }
  4362. }
  4363. return i, nil
  4364. }
  4365. func (m *NodeSystemInfo) Marshal() (data []byte, err error) {
  4366. size := m.Size()
  4367. data = make([]byte, size)
  4368. n, err := m.MarshalTo(data)
  4369. if err != nil {
  4370. return nil, err
  4371. }
  4372. return data[:n], nil
  4373. }
  4374. func (m *NodeSystemInfo) MarshalTo(data []byte) (int, error) {
  4375. var i int
  4376. _ = i
  4377. var l int
  4378. _ = l
  4379. data[i] = 0xa
  4380. i++
  4381. i = encodeVarintGenerated(data, i, uint64(len(m.MachineID)))
  4382. i += copy(data[i:], m.MachineID)
  4383. data[i] = 0x12
  4384. i++
  4385. i = encodeVarintGenerated(data, i, uint64(len(m.SystemUUID)))
  4386. i += copy(data[i:], m.SystemUUID)
  4387. data[i] = 0x1a
  4388. i++
  4389. i = encodeVarintGenerated(data, i, uint64(len(m.BootID)))
  4390. i += copy(data[i:], m.BootID)
  4391. data[i] = 0x22
  4392. i++
  4393. i = encodeVarintGenerated(data, i, uint64(len(m.KernelVersion)))
  4394. i += copy(data[i:], m.KernelVersion)
  4395. data[i] = 0x2a
  4396. i++
  4397. i = encodeVarintGenerated(data, i, uint64(len(m.OSImage)))
  4398. i += copy(data[i:], m.OSImage)
  4399. data[i] = 0x32
  4400. i++
  4401. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerRuntimeVersion)))
  4402. i += copy(data[i:], m.ContainerRuntimeVersion)
  4403. data[i] = 0x3a
  4404. i++
  4405. i = encodeVarintGenerated(data, i, uint64(len(m.KubeletVersion)))
  4406. i += copy(data[i:], m.KubeletVersion)
  4407. data[i] = 0x42
  4408. i++
  4409. i = encodeVarintGenerated(data, i, uint64(len(m.KubeProxyVersion)))
  4410. i += copy(data[i:], m.KubeProxyVersion)
  4411. data[i] = 0x4a
  4412. i++
  4413. i = encodeVarintGenerated(data, i, uint64(len(m.OperatingSystem)))
  4414. i += copy(data[i:], m.OperatingSystem)
  4415. data[i] = 0x52
  4416. i++
  4417. i = encodeVarintGenerated(data, i, uint64(len(m.Architecture)))
  4418. i += copy(data[i:], m.Architecture)
  4419. return i, nil
  4420. }
  4421. func (m *ObjectFieldSelector) Marshal() (data []byte, err error) {
  4422. size := m.Size()
  4423. data = make([]byte, size)
  4424. n, err := m.MarshalTo(data)
  4425. if err != nil {
  4426. return nil, err
  4427. }
  4428. return data[:n], nil
  4429. }
  4430. func (m *ObjectFieldSelector) MarshalTo(data []byte) (int, error) {
  4431. var i int
  4432. _ = i
  4433. var l int
  4434. _ = l
  4435. data[i] = 0xa
  4436. i++
  4437. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  4438. i += copy(data[i:], m.APIVersion)
  4439. data[i] = 0x12
  4440. i++
  4441. i = encodeVarintGenerated(data, i, uint64(len(m.FieldPath)))
  4442. i += copy(data[i:], m.FieldPath)
  4443. return i, nil
  4444. }
  4445. func (m *ObjectMeta) Marshal() (data []byte, err error) {
  4446. size := m.Size()
  4447. data = make([]byte, size)
  4448. n, err := m.MarshalTo(data)
  4449. if err != nil {
  4450. return nil, err
  4451. }
  4452. return data[:n], nil
  4453. }
  4454. func (m *ObjectMeta) MarshalTo(data []byte) (int, error) {
  4455. var i int
  4456. _ = i
  4457. var l int
  4458. _ = l
  4459. data[i] = 0xa
  4460. i++
  4461. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  4462. i += copy(data[i:], m.Name)
  4463. data[i] = 0x12
  4464. i++
  4465. i = encodeVarintGenerated(data, i, uint64(len(m.GenerateName)))
  4466. i += copy(data[i:], m.GenerateName)
  4467. data[i] = 0x1a
  4468. i++
  4469. i = encodeVarintGenerated(data, i, uint64(len(m.Namespace)))
  4470. i += copy(data[i:], m.Namespace)
  4471. data[i] = 0x22
  4472. i++
  4473. i = encodeVarintGenerated(data, i, uint64(len(m.SelfLink)))
  4474. i += copy(data[i:], m.SelfLink)
  4475. data[i] = 0x2a
  4476. i++
  4477. i = encodeVarintGenerated(data, i, uint64(len(m.UID)))
  4478. i += copy(data[i:], m.UID)
  4479. data[i] = 0x32
  4480. i++
  4481. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  4482. i += copy(data[i:], m.ResourceVersion)
  4483. data[i] = 0x38
  4484. i++
  4485. i = encodeVarintGenerated(data, i, uint64(m.Generation))
  4486. data[i] = 0x42
  4487. i++
  4488. i = encodeVarintGenerated(data, i, uint64(m.CreationTimestamp.Size()))
  4489. n80, err := m.CreationTimestamp.MarshalTo(data[i:])
  4490. if err != nil {
  4491. return 0, err
  4492. }
  4493. i += n80
  4494. if m.DeletionTimestamp != nil {
  4495. data[i] = 0x4a
  4496. i++
  4497. i = encodeVarintGenerated(data, i, uint64(m.DeletionTimestamp.Size()))
  4498. n81, err := m.DeletionTimestamp.MarshalTo(data[i:])
  4499. if err != nil {
  4500. return 0, err
  4501. }
  4502. i += n81
  4503. }
  4504. if m.DeletionGracePeriodSeconds != nil {
  4505. data[i] = 0x50
  4506. i++
  4507. i = encodeVarintGenerated(data, i, uint64(*m.DeletionGracePeriodSeconds))
  4508. }
  4509. if len(m.Labels) > 0 {
  4510. for k := range m.Labels {
  4511. data[i] = 0x5a
  4512. i++
  4513. v := m.Labels[k]
  4514. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  4515. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4516. data[i] = 0xa
  4517. i++
  4518. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4519. i += copy(data[i:], k)
  4520. data[i] = 0x12
  4521. i++
  4522. i = encodeVarintGenerated(data, i, uint64(len(v)))
  4523. i += copy(data[i:], v)
  4524. }
  4525. }
  4526. if len(m.Annotations) > 0 {
  4527. for k := range m.Annotations {
  4528. data[i] = 0x62
  4529. i++
  4530. v := m.Annotations[k]
  4531. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  4532. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4533. data[i] = 0xa
  4534. i++
  4535. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4536. i += copy(data[i:], k)
  4537. data[i] = 0x12
  4538. i++
  4539. i = encodeVarintGenerated(data, i, uint64(len(v)))
  4540. i += copy(data[i:], v)
  4541. }
  4542. }
  4543. if len(m.OwnerReferences) > 0 {
  4544. for _, msg := range m.OwnerReferences {
  4545. data[i] = 0x6a
  4546. i++
  4547. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4548. n, err := msg.MarshalTo(data[i:])
  4549. if err != nil {
  4550. return 0, err
  4551. }
  4552. i += n
  4553. }
  4554. }
  4555. if len(m.Finalizers) > 0 {
  4556. for _, s := range m.Finalizers {
  4557. data[i] = 0x72
  4558. i++
  4559. l = len(s)
  4560. for l >= 1<<7 {
  4561. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4562. l >>= 7
  4563. i++
  4564. }
  4565. data[i] = uint8(l)
  4566. i++
  4567. i += copy(data[i:], s)
  4568. }
  4569. }
  4570. data[i] = 0x7a
  4571. i++
  4572. i = encodeVarintGenerated(data, i, uint64(len(m.ClusterName)))
  4573. i += copy(data[i:], m.ClusterName)
  4574. return i, nil
  4575. }
  4576. func (m *ObjectReference) Marshal() (data []byte, err error) {
  4577. size := m.Size()
  4578. data = make([]byte, size)
  4579. n, err := m.MarshalTo(data)
  4580. if err != nil {
  4581. return nil, err
  4582. }
  4583. return data[:n], nil
  4584. }
  4585. func (m *ObjectReference) MarshalTo(data []byte) (int, error) {
  4586. var i int
  4587. _ = i
  4588. var l int
  4589. _ = l
  4590. data[i] = 0xa
  4591. i++
  4592. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  4593. i += copy(data[i:], m.Kind)
  4594. data[i] = 0x12
  4595. i++
  4596. i = encodeVarintGenerated(data, i, uint64(len(m.Namespace)))
  4597. i += copy(data[i:], m.Namespace)
  4598. data[i] = 0x1a
  4599. i++
  4600. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  4601. i += copy(data[i:], m.Name)
  4602. data[i] = 0x22
  4603. i++
  4604. i = encodeVarintGenerated(data, i, uint64(len(m.UID)))
  4605. i += copy(data[i:], m.UID)
  4606. data[i] = 0x2a
  4607. i++
  4608. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  4609. i += copy(data[i:], m.APIVersion)
  4610. data[i] = 0x32
  4611. i++
  4612. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  4613. i += copy(data[i:], m.ResourceVersion)
  4614. data[i] = 0x3a
  4615. i++
  4616. i = encodeVarintGenerated(data, i, uint64(len(m.FieldPath)))
  4617. i += copy(data[i:], m.FieldPath)
  4618. return i, nil
  4619. }
  4620. func (m *PersistentVolume) Marshal() (data []byte, err error) {
  4621. size := m.Size()
  4622. data = make([]byte, size)
  4623. n, err := m.MarshalTo(data)
  4624. if err != nil {
  4625. return nil, err
  4626. }
  4627. return data[:n], nil
  4628. }
  4629. func (m *PersistentVolume) MarshalTo(data []byte) (int, error) {
  4630. var i int
  4631. _ = i
  4632. var l int
  4633. _ = l
  4634. data[i] = 0xa
  4635. i++
  4636. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  4637. n82, err := m.ObjectMeta.MarshalTo(data[i:])
  4638. if err != nil {
  4639. return 0, err
  4640. }
  4641. i += n82
  4642. data[i] = 0x12
  4643. i++
  4644. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  4645. n83, err := m.Spec.MarshalTo(data[i:])
  4646. if err != nil {
  4647. return 0, err
  4648. }
  4649. i += n83
  4650. data[i] = 0x1a
  4651. i++
  4652. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  4653. n84, err := m.Status.MarshalTo(data[i:])
  4654. if err != nil {
  4655. return 0, err
  4656. }
  4657. i += n84
  4658. return i, nil
  4659. }
  4660. func (m *PersistentVolumeClaim) Marshal() (data []byte, err error) {
  4661. size := m.Size()
  4662. data = make([]byte, size)
  4663. n, err := m.MarshalTo(data)
  4664. if err != nil {
  4665. return nil, err
  4666. }
  4667. return data[:n], nil
  4668. }
  4669. func (m *PersistentVolumeClaim) MarshalTo(data []byte) (int, error) {
  4670. var i int
  4671. _ = i
  4672. var l int
  4673. _ = l
  4674. data[i] = 0xa
  4675. i++
  4676. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  4677. n85, err := m.ObjectMeta.MarshalTo(data[i:])
  4678. if err != nil {
  4679. return 0, err
  4680. }
  4681. i += n85
  4682. data[i] = 0x12
  4683. i++
  4684. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  4685. n86, err := m.Spec.MarshalTo(data[i:])
  4686. if err != nil {
  4687. return 0, err
  4688. }
  4689. i += n86
  4690. data[i] = 0x1a
  4691. i++
  4692. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  4693. n87, err := m.Status.MarshalTo(data[i:])
  4694. if err != nil {
  4695. return 0, err
  4696. }
  4697. i += n87
  4698. return i, nil
  4699. }
  4700. func (m *PersistentVolumeClaimList) Marshal() (data []byte, err error) {
  4701. size := m.Size()
  4702. data = make([]byte, size)
  4703. n, err := m.MarshalTo(data)
  4704. if err != nil {
  4705. return nil, err
  4706. }
  4707. return data[:n], nil
  4708. }
  4709. func (m *PersistentVolumeClaimList) MarshalTo(data []byte) (int, error) {
  4710. var i int
  4711. _ = i
  4712. var l int
  4713. _ = l
  4714. data[i] = 0xa
  4715. i++
  4716. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  4717. n88, err := m.ListMeta.MarshalTo(data[i:])
  4718. if err != nil {
  4719. return 0, err
  4720. }
  4721. i += n88
  4722. if len(m.Items) > 0 {
  4723. for _, msg := range m.Items {
  4724. data[i] = 0x12
  4725. i++
  4726. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4727. n, err := msg.MarshalTo(data[i:])
  4728. if err != nil {
  4729. return 0, err
  4730. }
  4731. i += n
  4732. }
  4733. }
  4734. return i, nil
  4735. }
  4736. func (m *PersistentVolumeClaimSpec) Marshal() (data []byte, err error) {
  4737. size := m.Size()
  4738. data = make([]byte, size)
  4739. n, err := m.MarshalTo(data)
  4740. if err != nil {
  4741. return nil, err
  4742. }
  4743. return data[:n], nil
  4744. }
  4745. func (m *PersistentVolumeClaimSpec) MarshalTo(data []byte) (int, error) {
  4746. var i int
  4747. _ = i
  4748. var l int
  4749. _ = l
  4750. if len(m.AccessModes) > 0 {
  4751. for _, s := range m.AccessModes {
  4752. data[i] = 0xa
  4753. i++
  4754. l = len(s)
  4755. for l >= 1<<7 {
  4756. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4757. l >>= 7
  4758. i++
  4759. }
  4760. data[i] = uint8(l)
  4761. i++
  4762. i += copy(data[i:], s)
  4763. }
  4764. }
  4765. data[i] = 0x12
  4766. i++
  4767. i = encodeVarintGenerated(data, i, uint64(m.Resources.Size()))
  4768. n89, err := m.Resources.MarshalTo(data[i:])
  4769. if err != nil {
  4770. return 0, err
  4771. }
  4772. i += n89
  4773. data[i] = 0x1a
  4774. i++
  4775. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeName)))
  4776. i += copy(data[i:], m.VolumeName)
  4777. if m.Selector != nil {
  4778. data[i] = 0x22
  4779. i++
  4780. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  4781. n90, err := m.Selector.MarshalTo(data[i:])
  4782. if err != nil {
  4783. return 0, err
  4784. }
  4785. i += n90
  4786. }
  4787. if m.StorageClassName != nil {
  4788. data[i] = 0x2a
  4789. i++
  4790. i = encodeVarintGenerated(data, i, uint64(len(*m.StorageClassName)))
  4791. i += copy(data[i:], *m.StorageClassName)
  4792. }
  4793. return i, nil
  4794. }
  4795. func (m *PersistentVolumeClaimStatus) Marshal() (data []byte, err error) {
  4796. size := m.Size()
  4797. data = make([]byte, size)
  4798. n, err := m.MarshalTo(data)
  4799. if err != nil {
  4800. return nil, err
  4801. }
  4802. return data[:n], nil
  4803. }
  4804. func (m *PersistentVolumeClaimStatus) MarshalTo(data []byte) (int, error) {
  4805. var i int
  4806. _ = i
  4807. var l int
  4808. _ = l
  4809. data[i] = 0xa
  4810. i++
  4811. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  4812. i += copy(data[i:], m.Phase)
  4813. if len(m.AccessModes) > 0 {
  4814. for _, s := range m.AccessModes {
  4815. data[i] = 0x12
  4816. i++
  4817. l = len(s)
  4818. for l >= 1<<7 {
  4819. data[i] = uint8(uint64(l)&0x7f | 0x80)
  4820. l >>= 7
  4821. i++
  4822. }
  4823. data[i] = uint8(l)
  4824. i++
  4825. i += copy(data[i:], s)
  4826. }
  4827. }
  4828. if len(m.Capacity) > 0 {
  4829. for k := range m.Capacity {
  4830. data[i] = 0x1a
  4831. i++
  4832. v := m.Capacity[k]
  4833. msgSize := (&v).Size()
  4834. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  4835. i = encodeVarintGenerated(data, i, uint64(mapSize))
  4836. data[i] = 0xa
  4837. i++
  4838. i = encodeVarintGenerated(data, i, uint64(len(k)))
  4839. i += copy(data[i:], k)
  4840. data[i] = 0x12
  4841. i++
  4842. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  4843. n91, err := (&v).MarshalTo(data[i:])
  4844. if err != nil {
  4845. return 0, err
  4846. }
  4847. i += n91
  4848. }
  4849. }
  4850. return i, nil
  4851. }
  4852. func (m *PersistentVolumeClaimVolumeSource) Marshal() (data []byte, err error) {
  4853. size := m.Size()
  4854. data = make([]byte, size)
  4855. n, err := m.MarshalTo(data)
  4856. if err != nil {
  4857. return nil, err
  4858. }
  4859. return data[:n], nil
  4860. }
  4861. func (m *PersistentVolumeClaimVolumeSource) MarshalTo(data []byte) (int, error) {
  4862. var i int
  4863. _ = i
  4864. var l int
  4865. _ = l
  4866. data[i] = 0xa
  4867. i++
  4868. i = encodeVarintGenerated(data, i, uint64(len(m.ClaimName)))
  4869. i += copy(data[i:], m.ClaimName)
  4870. data[i] = 0x10
  4871. i++
  4872. if m.ReadOnly {
  4873. data[i] = 1
  4874. } else {
  4875. data[i] = 0
  4876. }
  4877. i++
  4878. return i, nil
  4879. }
  4880. func (m *PersistentVolumeList) Marshal() (data []byte, err error) {
  4881. size := m.Size()
  4882. data = make([]byte, size)
  4883. n, err := m.MarshalTo(data)
  4884. if err != nil {
  4885. return nil, err
  4886. }
  4887. return data[:n], nil
  4888. }
  4889. func (m *PersistentVolumeList) MarshalTo(data []byte) (int, error) {
  4890. var i int
  4891. _ = i
  4892. var l int
  4893. _ = l
  4894. data[i] = 0xa
  4895. i++
  4896. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  4897. n92, err := m.ListMeta.MarshalTo(data[i:])
  4898. if err != nil {
  4899. return 0, err
  4900. }
  4901. i += n92
  4902. if len(m.Items) > 0 {
  4903. for _, msg := range m.Items {
  4904. data[i] = 0x12
  4905. i++
  4906. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  4907. n, err := msg.MarshalTo(data[i:])
  4908. if err != nil {
  4909. return 0, err
  4910. }
  4911. i += n
  4912. }
  4913. }
  4914. return i, nil
  4915. }
  4916. func (m *PersistentVolumeSource) Marshal() (data []byte, err error) {
  4917. size := m.Size()
  4918. data = make([]byte, size)
  4919. n, err := m.MarshalTo(data)
  4920. if err != nil {
  4921. return nil, err
  4922. }
  4923. return data[:n], nil
  4924. }
  4925. func (m *PersistentVolumeSource) MarshalTo(data []byte) (int, error) {
  4926. var i int
  4927. _ = i
  4928. var l int
  4929. _ = l
  4930. if m.GCEPersistentDisk != nil {
  4931. data[i] = 0xa
  4932. i++
  4933. i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size()))
  4934. n93, err := m.GCEPersistentDisk.MarshalTo(data[i:])
  4935. if err != nil {
  4936. return 0, err
  4937. }
  4938. i += n93
  4939. }
  4940. if m.AWSElasticBlockStore != nil {
  4941. data[i] = 0x12
  4942. i++
  4943. i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size()))
  4944. n94, err := m.AWSElasticBlockStore.MarshalTo(data[i:])
  4945. if err != nil {
  4946. return 0, err
  4947. }
  4948. i += n94
  4949. }
  4950. if m.HostPath != nil {
  4951. data[i] = 0x1a
  4952. i++
  4953. i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size()))
  4954. n95, err := m.HostPath.MarshalTo(data[i:])
  4955. if err != nil {
  4956. return 0, err
  4957. }
  4958. i += n95
  4959. }
  4960. if m.Glusterfs != nil {
  4961. data[i] = 0x22
  4962. i++
  4963. i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size()))
  4964. n96, err := m.Glusterfs.MarshalTo(data[i:])
  4965. if err != nil {
  4966. return 0, err
  4967. }
  4968. i += n96
  4969. }
  4970. if m.NFS != nil {
  4971. data[i] = 0x2a
  4972. i++
  4973. i = encodeVarintGenerated(data, i, uint64(m.NFS.Size()))
  4974. n97, err := m.NFS.MarshalTo(data[i:])
  4975. if err != nil {
  4976. return 0, err
  4977. }
  4978. i += n97
  4979. }
  4980. if m.RBD != nil {
  4981. data[i] = 0x32
  4982. i++
  4983. i = encodeVarintGenerated(data, i, uint64(m.RBD.Size()))
  4984. n98, err := m.RBD.MarshalTo(data[i:])
  4985. if err != nil {
  4986. return 0, err
  4987. }
  4988. i += n98
  4989. }
  4990. if m.ISCSI != nil {
  4991. data[i] = 0x3a
  4992. i++
  4993. i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size()))
  4994. n99, err := m.ISCSI.MarshalTo(data[i:])
  4995. if err != nil {
  4996. return 0, err
  4997. }
  4998. i += n99
  4999. }
  5000. if m.Cinder != nil {
  5001. data[i] = 0x42
  5002. i++
  5003. i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size()))
  5004. n100, err := m.Cinder.MarshalTo(data[i:])
  5005. if err != nil {
  5006. return 0, err
  5007. }
  5008. i += n100
  5009. }
  5010. if m.CephFS != nil {
  5011. data[i] = 0x4a
  5012. i++
  5013. i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size()))
  5014. n101, err := m.CephFS.MarshalTo(data[i:])
  5015. if err != nil {
  5016. return 0, err
  5017. }
  5018. i += n101
  5019. }
  5020. if m.FC != nil {
  5021. data[i] = 0x52
  5022. i++
  5023. i = encodeVarintGenerated(data, i, uint64(m.FC.Size()))
  5024. n102, err := m.FC.MarshalTo(data[i:])
  5025. if err != nil {
  5026. return 0, err
  5027. }
  5028. i += n102
  5029. }
  5030. if m.Flocker != nil {
  5031. data[i] = 0x5a
  5032. i++
  5033. i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size()))
  5034. n103, err := m.Flocker.MarshalTo(data[i:])
  5035. if err != nil {
  5036. return 0, err
  5037. }
  5038. i += n103
  5039. }
  5040. if m.FlexVolume != nil {
  5041. data[i] = 0x62
  5042. i++
  5043. i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size()))
  5044. n104, err := m.FlexVolume.MarshalTo(data[i:])
  5045. if err != nil {
  5046. return 0, err
  5047. }
  5048. i += n104
  5049. }
  5050. if m.AzureFile != nil {
  5051. data[i] = 0x6a
  5052. i++
  5053. i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size()))
  5054. n105, err := m.AzureFile.MarshalTo(data[i:])
  5055. if err != nil {
  5056. return 0, err
  5057. }
  5058. i += n105
  5059. }
  5060. if m.VsphereVolume != nil {
  5061. data[i] = 0x72
  5062. i++
  5063. i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size()))
  5064. n106, err := m.VsphereVolume.MarshalTo(data[i:])
  5065. if err != nil {
  5066. return 0, err
  5067. }
  5068. i += n106
  5069. }
  5070. if m.Quobyte != nil {
  5071. data[i] = 0x7a
  5072. i++
  5073. i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size()))
  5074. n107, err := m.Quobyte.MarshalTo(data[i:])
  5075. if err != nil {
  5076. return 0, err
  5077. }
  5078. i += n107
  5079. }
  5080. if m.AzureDisk != nil {
  5081. data[i] = 0x82
  5082. i++
  5083. data[i] = 0x1
  5084. i++
  5085. i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size()))
  5086. n108, err := m.AzureDisk.MarshalTo(data[i:])
  5087. if err != nil {
  5088. return 0, err
  5089. }
  5090. i += n108
  5091. }
  5092. if m.PhotonPersistentDisk != nil {
  5093. data[i] = 0x8a
  5094. i++
  5095. data[i] = 0x1
  5096. i++
  5097. i = encodeVarintGenerated(data, i, uint64(m.PhotonPersistentDisk.Size()))
  5098. n109, err := m.PhotonPersistentDisk.MarshalTo(data[i:])
  5099. if err != nil {
  5100. return 0, err
  5101. }
  5102. i += n109
  5103. }
  5104. if m.PortworxVolume != nil {
  5105. data[i] = 0x92
  5106. i++
  5107. data[i] = 0x1
  5108. i++
  5109. i = encodeVarintGenerated(data, i, uint64(m.PortworxVolume.Size()))
  5110. n110, err := m.PortworxVolume.MarshalTo(data[i:])
  5111. if err != nil {
  5112. return 0, err
  5113. }
  5114. i += n110
  5115. }
  5116. if m.ScaleIO != nil {
  5117. data[i] = 0x9a
  5118. i++
  5119. data[i] = 0x1
  5120. i++
  5121. i = encodeVarintGenerated(data, i, uint64(m.ScaleIO.Size()))
  5122. n111, err := m.ScaleIO.MarshalTo(data[i:])
  5123. if err != nil {
  5124. return 0, err
  5125. }
  5126. i += n111
  5127. }
  5128. return i, nil
  5129. }
  5130. func (m *PersistentVolumeSpec) Marshal() (data []byte, err error) {
  5131. size := m.Size()
  5132. data = make([]byte, size)
  5133. n, err := m.MarshalTo(data)
  5134. if err != nil {
  5135. return nil, err
  5136. }
  5137. return data[:n], nil
  5138. }
  5139. func (m *PersistentVolumeSpec) MarshalTo(data []byte) (int, error) {
  5140. var i int
  5141. _ = i
  5142. var l int
  5143. _ = l
  5144. if len(m.Capacity) > 0 {
  5145. for k := range m.Capacity {
  5146. data[i] = 0xa
  5147. i++
  5148. v := m.Capacity[k]
  5149. msgSize := (&v).Size()
  5150. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  5151. i = encodeVarintGenerated(data, i, uint64(mapSize))
  5152. data[i] = 0xa
  5153. i++
  5154. i = encodeVarintGenerated(data, i, uint64(len(k)))
  5155. i += copy(data[i:], k)
  5156. data[i] = 0x12
  5157. i++
  5158. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  5159. n112, err := (&v).MarshalTo(data[i:])
  5160. if err != nil {
  5161. return 0, err
  5162. }
  5163. i += n112
  5164. }
  5165. }
  5166. data[i] = 0x12
  5167. i++
  5168. i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeSource.Size()))
  5169. n113, err := m.PersistentVolumeSource.MarshalTo(data[i:])
  5170. if err != nil {
  5171. return 0, err
  5172. }
  5173. i += n113
  5174. if len(m.AccessModes) > 0 {
  5175. for _, s := range m.AccessModes {
  5176. data[i] = 0x1a
  5177. i++
  5178. l = len(s)
  5179. for l >= 1<<7 {
  5180. data[i] = uint8(uint64(l)&0x7f | 0x80)
  5181. l >>= 7
  5182. i++
  5183. }
  5184. data[i] = uint8(l)
  5185. i++
  5186. i += copy(data[i:], s)
  5187. }
  5188. }
  5189. if m.ClaimRef != nil {
  5190. data[i] = 0x22
  5191. i++
  5192. i = encodeVarintGenerated(data, i, uint64(m.ClaimRef.Size()))
  5193. n114, err := m.ClaimRef.MarshalTo(data[i:])
  5194. if err != nil {
  5195. return 0, err
  5196. }
  5197. i += n114
  5198. }
  5199. data[i] = 0x2a
  5200. i++
  5201. i = encodeVarintGenerated(data, i, uint64(len(m.PersistentVolumeReclaimPolicy)))
  5202. i += copy(data[i:], m.PersistentVolumeReclaimPolicy)
  5203. data[i] = 0x32
  5204. i++
  5205. i = encodeVarintGenerated(data, i, uint64(len(m.StorageClassName)))
  5206. i += copy(data[i:], m.StorageClassName)
  5207. return i, nil
  5208. }
  5209. func (m *PersistentVolumeStatus) Marshal() (data []byte, err error) {
  5210. size := m.Size()
  5211. data = make([]byte, size)
  5212. n, err := m.MarshalTo(data)
  5213. if err != nil {
  5214. return nil, err
  5215. }
  5216. return data[:n], nil
  5217. }
  5218. func (m *PersistentVolumeStatus) MarshalTo(data []byte) (int, error) {
  5219. var i int
  5220. _ = i
  5221. var l int
  5222. _ = l
  5223. data[i] = 0xa
  5224. i++
  5225. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  5226. i += copy(data[i:], m.Phase)
  5227. data[i] = 0x12
  5228. i++
  5229. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  5230. i += copy(data[i:], m.Message)
  5231. data[i] = 0x1a
  5232. i++
  5233. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  5234. i += copy(data[i:], m.Reason)
  5235. return i, nil
  5236. }
  5237. func (m *PhotonPersistentDiskVolumeSource) Marshal() (data []byte, err error) {
  5238. size := m.Size()
  5239. data = make([]byte, size)
  5240. n, err := m.MarshalTo(data)
  5241. if err != nil {
  5242. return nil, err
  5243. }
  5244. return data[:n], nil
  5245. }
  5246. func (m *PhotonPersistentDiskVolumeSource) MarshalTo(data []byte) (int, error) {
  5247. var i int
  5248. _ = i
  5249. var l int
  5250. _ = l
  5251. data[i] = 0xa
  5252. i++
  5253. i = encodeVarintGenerated(data, i, uint64(len(m.PdID)))
  5254. i += copy(data[i:], m.PdID)
  5255. data[i] = 0x12
  5256. i++
  5257. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  5258. i += copy(data[i:], m.FSType)
  5259. return i, nil
  5260. }
  5261. func (m *Pod) Marshal() (data []byte, err error) {
  5262. size := m.Size()
  5263. data = make([]byte, size)
  5264. n, err := m.MarshalTo(data)
  5265. if err != nil {
  5266. return nil, err
  5267. }
  5268. return data[:n], nil
  5269. }
  5270. func (m *Pod) MarshalTo(data []byte) (int, error) {
  5271. var i int
  5272. _ = i
  5273. var l int
  5274. _ = l
  5275. data[i] = 0xa
  5276. i++
  5277. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  5278. n115, err := m.ObjectMeta.MarshalTo(data[i:])
  5279. if err != nil {
  5280. return 0, err
  5281. }
  5282. i += n115
  5283. data[i] = 0x12
  5284. i++
  5285. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  5286. n116, err := m.Spec.MarshalTo(data[i:])
  5287. if err != nil {
  5288. return 0, err
  5289. }
  5290. i += n116
  5291. data[i] = 0x1a
  5292. i++
  5293. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  5294. n117, err := m.Status.MarshalTo(data[i:])
  5295. if err != nil {
  5296. return 0, err
  5297. }
  5298. i += n117
  5299. return i, nil
  5300. }
  5301. func (m *PodAffinity) 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 *PodAffinity) MarshalTo(data []byte) (int, error) {
  5311. var i int
  5312. _ = i
  5313. var l int
  5314. _ = l
  5315. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  5316. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  5317. data[i] = 0xa
  5318. i++
  5319. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5320. n, err := msg.MarshalTo(data[i:])
  5321. if err != nil {
  5322. return 0, err
  5323. }
  5324. i += n
  5325. }
  5326. }
  5327. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  5328. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  5329. data[i] = 0x12
  5330. i++
  5331. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5332. n, err := msg.MarshalTo(data[i:])
  5333. if err != nil {
  5334. return 0, err
  5335. }
  5336. i += n
  5337. }
  5338. }
  5339. return i, nil
  5340. }
  5341. func (m *PodAffinityTerm) Marshal() (data []byte, err error) {
  5342. size := m.Size()
  5343. data = make([]byte, size)
  5344. n, err := m.MarshalTo(data)
  5345. if err != nil {
  5346. return nil, err
  5347. }
  5348. return data[:n], nil
  5349. }
  5350. func (m *PodAffinityTerm) MarshalTo(data []byte) (int, error) {
  5351. var i int
  5352. _ = i
  5353. var l int
  5354. _ = l
  5355. if m.LabelSelector != nil {
  5356. data[i] = 0xa
  5357. i++
  5358. i = encodeVarintGenerated(data, i, uint64(m.LabelSelector.Size()))
  5359. n118, err := m.LabelSelector.MarshalTo(data[i:])
  5360. if err != nil {
  5361. return 0, err
  5362. }
  5363. i += n118
  5364. }
  5365. if len(m.Namespaces) > 0 {
  5366. for _, s := range m.Namespaces {
  5367. data[i] = 0x12
  5368. i++
  5369. l = len(s)
  5370. for l >= 1<<7 {
  5371. data[i] = uint8(uint64(l)&0x7f | 0x80)
  5372. l >>= 7
  5373. i++
  5374. }
  5375. data[i] = uint8(l)
  5376. i++
  5377. i += copy(data[i:], s)
  5378. }
  5379. }
  5380. data[i] = 0x1a
  5381. i++
  5382. i = encodeVarintGenerated(data, i, uint64(len(m.TopologyKey)))
  5383. i += copy(data[i:], m.TopologyKey)
  5384. return i, nil
  5385. }
  5386. func (m *PodAntiAffinity) Marshal() (data []byte, err error) {
  5387. size := m.Size()
  5388. data = make([]byte, size)
  5389. n, err := m.MarshalTo(data)
  5390. if err != nil {
  5391. return nil, err
  5392. }
  5393. return data[:n], nil
  5394. }
  5395. func (m *PodAntiAffinity) MarshalTo(data []byte) (int, error) {
  5396. var i int
  5397. _ = i
  5398. var l int
  5399. _ = l
  5400. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  5401. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  5402. data[i] = 0xa
  5403. i++
  5404. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5405. n, err := msg.MarshalTo(data[i:])
  5406. if err != nil {
  5407. return 0, err
  5408. }
  5409. i += n
  5410. }
  5411. }
  5412. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  5413. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  5414. data[i] = 0x12
  5415. i++
  5416. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5417. n, err := msg.MarshalTo(data[i:])
  5418. if err != nil {
  5419. return 0, err
  5420. }
  5421. i += n
  5422. }
  5423. }
  5424. return i, nil
  5425. }
  5426. func (m *PodAttachOptions) Marshal() (data []byte, err error) {
  5427. size := m.Size()
  5428. data = make([]byte, size)
  5429. n, err := m.MarshalTo(data)
  5430. if err != nil {
  5431. return nil, err
  5432. }
  5433. return data[:n], nil
  5434. }
  5435. func (m *PodAttachOptions) MarshalTo(data []byte) (int, error) {
  5436. var i int
  5437. _ = i
  5438. var l int
  5439. _ = l
  5440. data[i] = 0x8
  5441. i++
  5442. if m.Stdin {
  5443. data[i] = 1
  5444. } else {
  5445. data[i] = 0
  5446. }
  5447. i++
  5448. data[i] = 0x10
  5449. i++
  5450. if m.Stdout {
  5451. data[i] = 1
  5452. } else {
  5453. data[i] = 0
  5454. }
  5455. i++
  5456. data[i] = 0x18
  5457. i++
  5458. if m.Stderr {
  5459. data[i] = 1
  5460. } else {
  5461. data[i] = 0
  5462. }
  5463. i++
  5464. data[i] = 0x20
  5465. i++
  5466. if m.TTY {
  5467. data[i] = 1
  5468. } else {
  5469. data[i] = 0
  5470. }
  5471. i++
  5472. data[i] = 0x2a
  5473. i++
  5474. i = encodeVarintGenerated(data, i, uint64(len(m.Container)))
  5475. i += copy(data[i:], m.Container)
  5476. return i, nil
  5477. }
  5478. func (m *PodCondition) Marshal() (data []byte, err error) {
  5479. size := m.Size()
  5480. data = make([]byte, size)
  5481. n, err := m.MarshalTo(data)
  5482. if err != nil {
  5483. return nil, err
  5484. }
  5485. return data[:n], nil
  5486. }
  5487. func (m *PodCondition) MarshalTo(data []byte) (int, error) {
  5488. var i int
  5489. _ = i
  5490. var l int
  5491. _ = l
  5492. data[i] = 0xa
  5493. i++
  5494. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  5495. i += copy(data[i:], m.Type)
  5496. data[i] = 0x12
  5497. i++
  5498. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  5499. i += copy(data[i:], m.Status)
  5500. data[i] = 0x1a
  5501. i++
  5502. i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size()))
  5503. n119, err := m.LastProbeTime.MarshalTo(data[i:])
  5504. if err != nil {
  5505. return 0, err
  5506. }
  5507. i += n119
  5508. data[i] = 0x22
  5509. i++
  5510. i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size()))
  5511. n120, err := m.LastTransitionTime.MarshalTo(data[i:])
  5512. if err != nil {
  5513. return 0, err
  5514. }
  5515. i += n120
  5516. data[i] = 0x2a
  5517. i++
  5518. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  5519. i += copy(data[i:], m.Reason)
  5520. data[i] = 0x32
  5521. i++
  5522. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  5523. i += copy(data[i:], m.Message)
  5524. return i, nil
  5525. }
  5526. func (m *PodExecOptions) Marshal() (data []byte, err error) {
  5527. size := m.Size()
  5528. data = make([]byte, size)
  5529. n, err := m.MarshalTo(data)
  5530. if err != nil {
  5531. return nil, err
  5532. }
  5533. return data[:n], nil
  5534. }
  5535. func (m *PodExecOptions) MarshalTo(data []byte) (int, error) {
  5536. var i int
  5537. _ = i
  5538. var l int
  5539. _ = l
  5540. data[i] = 0x8
  5541. i++
  5542. if m.Stdin {
  5543. data[i] = 1
  5544. } else {
  5545. data[i] = 0
  5546. }
  5547. i++
  5548. data[i] = 0x10
  5549. i++
  5550. if m.Stdout {
  5551. data[i] = 1
  5552. } else {
  5553. data[i] = 0
  5554. }
  5555. i++
  5556. data[i] = 0x18
  5557. i++
  5558. if m.Stderr {
  5559. data[i] = 1
  5560. } else {
  5561. data[i] = 0
  5562. }
  5563. i++
  5564. data[i] = 0x20
  5565. i++
  5566. if m.TTY {
  5567. data[i] = 1
  5568. } else {
  5569. data[i] = 0
  5570. }
  5571. i++
  5572. data[i] = 0x2a
  5573. i++
  5574. i = encodeVarintGenerated(data, i, uint64(len(m.Container)))
  5575. i += copy(data[i:], m.Container)
  5576. if len(m.Command) > 0 {
  5577. for _, s := range m.Command {
  5578. data[i] = 0x32
  5579. i++
  5580. l = len(s)
  5581. for l >= 1<<7 {
  5582. data[i] = uint8(uint64(l)&0x7f | 0x80)
  5583. l >>= 7
  5584. i++
  5585. }
  5586. data[i] = uint8(l)
  5587. i++
  5588. i += copy(data[i:], s)
  5589. }
  5590. }
  5591. return i, nil
  5592. }
  5593. func (m *PodList) Marshal() (data []byte, err error) {
  5594. size := m.Size()
  5595. data = make([]byte, size)
  5596. n, err := m.MarshalTo(data)
  5597. if err != nil {
  5598. return nil, err
  5599. }
  5600. return data[:n], nil
  5601. }
  5602. func (m *PodList) MarshalTo(data []byte) (int, error) {
  5603. var i int
  5604. _ = i
  5605. var l int
  5606. _ = l
  5607. data[i] = 0xa
  5608. i++
  5609. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  5610. n121, err := m.ListMeta.MarshalTo(data[i:])
  5611. if err != nil {
  5612. return 0, err
  5613. }
  5614. i += n121
  5615. if len(m.Items) > 0 {
  5616. for _, msg := range m.Items {
  5617. data[i] = 0x12
  5618. i++
  5619. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5620. n, err := msg.MarshalTo(data[i:])
  5621. if err != nil {
  5622. return 0, err
  5623. }
  5624. i += n
  5625. }
  5626. }
  5627. return i, nil
  5628. }
  5629. func (m *PodLogOptions) Marshal() (data []byte, err error) {
  5630. size := m.Size()
  5631. data = make([]byte, size)
  5632. n, err := m.MarshalTo(data)
  5633. if err != nil {
  5634. return nil, err
  5635. }
  5636. return data[:n], nil
  5637. }
  5638. func (m *PodLogOptions) MarshalTo(data []byte) (int, error) {
  5639. var i int
  5640. _ = i
  5641. var l int
  5642. _ = l
  5643. data[i] = 0xa
  5644. i++
  5645. i = encodeVarintGenerated(data, i, uint64(len(m.Container)))
  5646. i += copy(data[i:], m.Container)
  5647. data[i] = 0x10
  5648. i++
  5649. if m.Follow {
  5650. data[i] = 1
  5651. } else {
  5652. data[i] = 0
  5653. }
  5654. i++
  5655. data[i] = 0x18
  5656. i++
  5657. if m.Previous {
  5658. data[i] = 1
  5659. } else {
  5660. data[i] = 0
  5661. }
  5662. i++
  5663. if m.SinceSeconds != nil {
  5664. data[i] = 0x20
  5665. i++
  5666. i = encodeVarintGenerated(data, i, uint64(*m.SinceSeconds))
  5667. }
  5668. if m.SinceTime != nil {
  5669. data[i] = 0x2a
  5670. i++
  5671. i = encodeVarintGenerated(data, i, uint64(m.SinceTime.Size()))
  5672. n122, err := m.SinceTime.MarshalTo(data[i:])
  5673. if err != nil {
  5674. return 0, err
  5675. }
  5676. i += n122
  5677. }
  5678. data[i] = 0x30
  5679. i++
  5680. if m.Timestamps {
  5681. data[i] = 1
  5682. } else {
  5683. data[i] = 0
  5684. }
  5685. i++
  5686. if m.TailLines != nil {
  5687. data[i] = 0x38
  5688. i++
  5689. i = encodeVarintGenerated(data, i, uint64(*m.TailLines))
  5690. }
  5691. if m.LimitBytes != nil {
  5692. data[i] = 0x40
  5693. i++
  5694. i = encodeVarintGenerated(data, i, uint64(*m.LimitBytes))
  5695. }
  5696. return i, nil
  5697. }
  5698. func (m *PodPortForwardOptions) Marshal() (data []byte, err error) {
  5699. size := m.Size()
  5700. data = make([]byte, size)
  5701. n, err := m.MarshalTo(data)
  5702. if err != nil {
  5703. return nil, err
  5704. }
  5705. return data[:n], nil
  5706. }
  5707. func (m *PodPortForwardOptions) MarshalTo(data []byte) (int, error) {
  5708. var i int
  5709. _ = i
  5710. var l int
  5711. _ = l
  5712. if len(m.Ports) > 0 {
  5713. for _, num := range m.Ports {
  5714. data[i] = 0x8
  5715. i++
  5716. i = encodeVarintGenerated(data, i, uint64(num))
  5717. }
  5718. }
  5719. return i, nil
  5720. }
  5721. func (m *PodProxyOptions) Marshal() (data []byte, err error) {
  5722. size := m.Size()
  5723. data = make([]byte, size)
  5724. n, err := m.MarshalTo(data)
  5725. if err != nil {
  5726. return nil, err
  5727. }
  5728. return data[:n], nil
  5729. }
  5730. func (m *PodProxyOptions) MarshalTo(data []byte) (int, error) {
  5731. var i int
  5732. _ = i
  5733. var l int
  5734. _ = l
  5735. data[i] = 0xa
  5736. i++
  5737. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  5738. i += copy(data[i:], m.Path)
  5739. return i, nil
  5740. }
  5741. func (m *PodSecurityContext) Marshal() (data []byte, err error) {
  5742. size := m.Size()
  5743. data = make([]byte, size)
  5744. n, err := m.MarshalTo(data)
  5745. if err != nil {
  5746. return nil, err
  5747. }
  5748. return data[:n], nil
  5749. }
  5750. func (m *PodSecurityContext) MarshalTo(data []byte) (int, error) {
  5751. var i int
  5752. _ = i
  5753. var l int
  5754. _ = l
  5755. if m.SELinuxOptions != nil {
  5756. data[i] = 0xa
  5757. i++
  5758. i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size()))
  5759. n123, err := m.SELinuxOptions.MarshalTo(data[i:])
  5760. if err != nil {
  5761. return 0, err
  5762. }
  5763. i += n123
  5764. }
  5765. if m.RunAsUser != nil {
  5766. data[i] = 0x10
  5767. i++
  5768. i = encodeVarintGenerated(data, i, uint64(*m.RunAsUser))
  5769. }
  5770. if m.RunAsNonRoot != nil {
  5771. data[i] = 0x18
  5772. i++
  5773. if *m.RunAsNonRoot {
  5774. data[i] = 1
  5775. } else {
  5776. data[i] = 0
  5777. }
  5778. i++
  5779. }
  5780. if len(m.SupplementalGroups) > 0 {
  5781. for _, num := range m.SupplementalGroups {
  5782. data[i] = 0x20
  5783. i++
  5784. i = encodeVarintGenerated(data, i, uint64(num))
  5785. }
  5786. }
  5787. if m.FSGroup != nil {
  5788. data[i] = 0x28
  5789. i++
  5790. i = encodeVarintGenerated(data, i, uint64(*m.FSGroup))
  5791. }
  5792. return i, nil
  5793. }
  5794. func (m *PodSignature) Marshal() (data []byte, err error) {
  5795. size := m.Size()
  5796. data = make([]byte, size)
  5797. n, err := m.MarshalTo(data)
  5798. if err != nil {
  5799. return nil, err
  5800. }
  5801. return data[:n], nil
  5802. }
  5803. func (m *PodSignature) MarshalTo(data []byte) (int, error) {
  5804. var i int
  5805. _ = i
  5806. var l int
  5807. _ = l
  5808. if m.PodController != nil {
  5809. data[i] = 0xa
  5810. i++
  5811. i = encodeVarintGenerated(data, i, uint64(m.PodController.Size()))
  5812. n124, err := m.PodController.MarshalTo(data[i:])
  5813. if err != nil {
  5814. return 0, err
  5815. }
  5816. i += n124
  5817. }
  5818. return i, nil
  5819. }
  5820. func (m *PodSpec) Marshal() (data []byte, err error) {
  5821. size := m.Size()
  5822. data = make([]byte, size)
  5823. n, err := m.MarshalTo(data)
  5824. if err != nil {
  5825. return nil, err
  5826. }
  5827. return data[:n], nil
  5828. }
  5829. func (m *PodSpec) MarshalTo(data []byte) (int, error) {
  5830. var i int
  5831. _ = i
  5832. var l int
  5833. _ = l
  5834. if len(m.Volumes) > 0 {
  5835. for _, msg := range m.Volumes {
  5836. data[i] = 0xa
  5837. i++
  5838. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5839. n, err := msg.MarshalTo(data[i:])
  5840. if err != nil {
  5841. return 0, err
  5842. }
  5843. i += n
  5844. }
  5845. }
  5846. if len(m.Containers) > 0 {
  5847. for _, msg := range m.Containers {
  5848. data[i] = 0x12
  5849. i++
  5850. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5851. n, err := msg.MarshalTo(data[i:])
  5852. if err != nil {
  5853. return 0, err
  5854. }
  5855. i += n
  5856. }
  5857. }
  5858. data[i] = 0x1a
  5859. i++
  5860. i = encodeVarintGenerated(data, i, uint64(len(m.RestartPolicy)))
  5861. i += copy(data[i:], m.RestartPolicy)
  5862. if m.TerminationGracePeriodSeconds != nil {
  5863. data[i] = 0x20
  5864. i++
  5865. i = encodeVarintGenerated(data, i, uint64(*m.TerminationGracePeriodSeconds))
  5866. }
  5867. if m.ActiveDeadlineSeconds != nil {
  5868. data[i] = 0x28
  5869. i++
  5870. i = encodeVarintGenerated(data, i, uint64(*m.ActiveDeadlineSeconds))
  5871. }
  5872. data[i] = 0x32
  5873. i++
  5874. i = encodeVarintGenerated(data, i, uint64(len(m.DNSPolicy)))
  5875. i += copy(data[i:], m.DNSPolicy)
  5876. if len(m.NodeSelector) > 0 {
  5877. for k := range m.NodeSelector {
  5878. data[i] = 0x3a
  5879. i++
  5880. v := m.NodeSelector[k]
  5881. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  5882. i = encodeVarintGenerated(data, i, uint64(mapSize))
  5883. data[i] = 0xa
  5884. i++
  5885. i = encodeVarintGenerated(data, i, uint64(len(k)))
  5886. i += copy(data[i:], k)
  5887. data[i] = 0x12
  5888. i++
  5889. i = encodeVarintGenerated(data, i, uint64(len(v)))
  5890. i += copy(data[i:], v)
  5891. }
  5892. }
  5893. data[i] = 0x42
  5894. i++
  5895. i = encodeVarintGenerated(data, i, uint64(len(m.ServiceAccountName)))
  5896. i += copy(data[i:], m.ServiceAccountName)
  5897. data[i] = 0x4a
  5898. i++
  5899. i = encodeVarintGenerated(data, i, uint64(len(m.DeprecatedServiceAccount)))
  5900. i += copy(data[i:], m.DeprecatedServiceAccount)
  5901. data[i] = 0x52
  5902. i++
  5903. i = encodeVarintGenerated(data, i, uint64(len(m.NodeName)))
  5904. i += copy(data[i:], m.NodeName)
  5905. data[i] = 0x58
  5906. i++
  5907. if m.HostNetwork {
  5908. data[i] = 1
  5909. } else {
  5910. data[i] = 0
  5911. }
  5912. i++
  5913. data[i] = 0x60
  5914. i++
  5915. if m.HostPID {
  5916. data[i] = 1
  5917. } else {
  5918. data[i] = 0
  5919. }
  5920. i++
  5921. data[i] = 0x68
  5922. i++
  5923. if m.HostIPC {
  5924. data[i] = 1
  5925. } else {
  5926. data[i] = 0
  5927. }
  5928. i++
  5929. if m.SecurityContext != nil {
  5930. data[i] = 0x72
  5931. i++
  5932. i = encodeVarintGenerated(data, i, uint64(m.SecurityContext.Size()))
  5933. n125, err := m.SecurityContext.MarshalTo(data[i:])
  5934. if err != nil {
  5935. return 0, err
  5936. }
  5937. i += n125
  5938. }
  5939. if len(m.ImagePullSecrets) > 0 {
  5940. for _, msg := range m.ImagePullSecrets {
  5941. data[i] = 0x7a
  5942. i++
  5943. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5944. n, err := msg.MarshalTo(data[i:])
  5945. if err != nil {
  5946. return 0, err
  5947. }
  5948. i += n
  5949. }
  5950. }
  5951. data[i] = 0x82
  5952. i++
  5953. data[i] = 0x1
  5954. i++
  5955. i = encodeVarintGenerated(data, i, uint64(len(m.Hostname)))
  5956. i += copy(data[i:], m.Hostname)
  5957. data[i] = 0x8a
  5958. i++
  5959. data[i] = 0x1
  5960. i++
  5961. i = encodeVarintGenerated(data, i, uint64(len(m.Subdomain)))
  5962. i += copy(data[i:], m.Subdomain)
  5963. if m.Affinity != nil {
  5964. data[i] = 0x92
  5965. i++
  5966. data[i] = 0x1
  5967. i++
  5968. i = encodeVarintGenerated(data, i, uint64(m.Affinity.Size()))
  5969. n126, err := m.Affinity.MarshalTo(data[i:])
  5970. if err != nil {
  5971. return 0, err
  5972. }
  5973. i += n126
  5974. }
  5975. data[i] = 0x9a
  5976. i++
  5977. data[i] = 0x1
  5978. i++
  5979. i = encodeVarintGenerated(data, i, uint64(len(m.SchedulerName)))
  5980. i += copy(data[i:], m.SchedulerName)
  5981. if len(m.InitContainers) > 0 {
  5982. for _, msg := range m.InitContainers {
  5983. data[i] = 0xa2
  5984. i++
  5985. data[i] = 0x1
  5986. i++
  5987. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  5988. n, err := msg.MarshalTo(data[i:])
  5989. if err != nil {
  5990. return 0, err
  5991. }
  5992. i += n
  5993. }
  5994. }
  5995. if m.AutomountServiceAccountToken != nil {
  5996. data[i] = 0xa8
  5997. i++
  5998. data[i] = 0x1
  5999. i++
  6000. if *m.AutomountServiceAccountToken {
  6001. data[i] = 1
  6002. } else {
  6003. data[i] = 0
  6004. }
  6005. i++
  6006. }
  6007. if len(m.Tolerations) > 0 {
  6008. for _, msg := range m.Tolerations {
  6009. data[i] = 0xb2
  6010. i++
  6011. data[i] = 0x1
  6012. i++
  6013. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6014. n, err := msg.MarshalTo(data[i:])
  6015. if err != nil {
  6016. return 0, err
  6017. }
  6018. i += n
  6019. }
  6020. }
  6021. return i, nil
  6022. }
  6023. func (m *PodStatus) Marshal() (data []byte, err error) {
  6024. size := m.Size()
  6025. data = make([]byte, size)
  6026. n, err := m.MarshalTo(data)
  6027. if err != nil {
  6028. return nil, err
  6029. }
  6030. return data[:n], nil
  6031. }
  6032. func (m *PodStatus) MarshalTo(data []byte) (int, error) {
  6033. var i int
  6034. _ = i
  6035. var l int
  6036. _ = l
  6037. data[i] = 0xa
  6038. i++
  6039. i = encodeVarintGenerated(data, i, uint64(len(m.Phase)))
  6040. i += copy(data[i:], m.Phase)
  6041. if len(m.Conditions) > 0 {
  6042. for _, msg := range m.Conditions {
  6043. data[i] = 0x12
  6044. i++
  6045. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6046. n, err := msg.MarshalTo(data[i:])
  6047. if err != nil {
  6048. return 0, err
  6049. }
  6050. i += n
  6051. }
  6052. }
  6053. data[i] = 0x1a
  6054. i++
  6055. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  6056. i += copy(data[i:], m.Message)
  6057. data[i] = 0x22
  6058. i++
  6059. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  6060. i += copy(data[i:], m.Reason)
  6061. data[i] = 0x2a
  6062. i++
  6063. i = encodeVarintGenerated(data, i, uint64(len(m.HostIP)))
  6064. i += copy(data[i:], m.HostIP)
  6065. data[i] = 0x32
  6066. i++
  6067. i = encodeVarintGenerated(data, i, uint64(len(m.PodIP)))
  6068. i += copy(data[i:], m.PodIP)
  6069. if m.StartTime != nil {
  6070. data[i] = 0x3a
  6071. i++
  6072. i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size()))
  6073. n127, err := m.StartTime.MarshalTo(data[i:])
  6074. if err != nil {
  6075. return 0, err
  6076. }
  6077. i += n127
  6078. }
  6079. if len(m.ContainerStatuses) > 0 {
  6080. for _, msg := range m.ContainerStatuses {
  6081. data[i] = 0x42
  6082. i++
  6083. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6084. n, err := msg.MarshalTo(data[i:])
  6085. if err != nil {
  6086. return 0, err
  6087. }
  6088. i += n
  6089. }
  6090. }
  6091. data[i] = 0x4a
  6092. i++
  6093. i = encodeVarintGenerated(data, i, uint64(len(m.QOSClass)))
  6094. i += copy(data[i:], m.QOSClass)
  6095. if len(m.InitContainerStatuses) > 0 {
  6096. for _, msg := range m.InitContainerStatuses {
  6097. data[i] = 0x52
  6098. i++
  6099. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6100. n, err := msg.MarshalTo(data[i:])
  6101. if err != nil {
  6102. return 0, err
  6103. }
  6104. i += n
  6105. }
  6106. }
  6107. return i, nil
  6108. }
  6109. func (m *PodStatusResult) Marshal() (data []byte, err error) {
  6110. size := m.Size()
  6111. data = make([]byte, size)
  6112. n, err := m.MarshalTo(data)
  6113. if err != nil {
  6114. return nil, err
  6115. }
  6116. return data[:n], nil
  6117. }
  6118. func (m *PodStatusResult) MarshalTo(data []byte) (int, error) {
  6119. var i int
  6120. _ = i
  6121. var l int
  6122. _ = l
  6123. data[i] = 0xa
  6124. i++
  6125. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6126. n128, err := m.ObjectMeta.MarshalTo(data[i:])
  6127. if err != nil {
  6128. return 0, err
  6129. }
  6130. i += n128
  6131. data[i] = 0x12
  6132. i++
  6133. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  6134. n129, err := m.Status.MarshalTo(data[i:])
  6135. if err != nil {
  6136. return 0, err
  6137. }
  6138. i += n129
  6139. return i, nil
  6140. }
  6141. func (m *PodTemplate) Marshal() (data []byte, err error) {
  6142. size := m.Size()
  6143. data = make([]byte, size)
  6144. n, err := m.MarshalTo(data)
  6145. if err != nil {
  6146. return nil, err
  6147. }
  6148. return data[:n], nil
  6149. }
  6150. func (m *PodTemplate) MarshalTo(data []byte) (int, error) {
  6151. var i int
  6152. _ = i
  6153. var l int
  6154. _ = l
  6155. data[i] = 0xa
  6156. i++
  6157. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6158. n130, err := m.ObjectMeta.MarshalTo(data[i:])
  6159. if err != nil {
  6160. return 0, err
  6161. }
  6162. i += n130
  6163. data[i] = 0x12
  6164. i++
  6165. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  6166. n131, err := m.Template.MarshalTo(data[i:])
  6167. if err != nil {
  6168. return 0, err
  6169. }
  6170. i += n131
  6171. return i, nil
  6172. }
  6173. func (m *PodTemplateList) Marshal() (data []byte, err error) {
  6174. size := m.Size()
  6175. data = make([]byte, size)
  6176. n, err := m.MarshalTo(data)
  6177. if err != nil {
  6178. return nil, err
  6179. }
  6180. return data[:n], nil
  6181. }
  6182. func (m *PodTemplateList) MarshalTo(data []byte) (int, error) {
  6183. var i int
  6184. _ = i
  6185. var l int
  6186. _ = l
  6187. data[i] = 0xa
  6188. i++
  6189. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6190. n132, err := m.ListMeta.MarshalTo(data[i:])
  6191. if err != nil {
  6192. return 0, err
  6193. }
  6194. i += n132
  6195. if len(m.Items) > 0 {
  6196. for _, msg := range m.Items {
  6197. data[i] = 0x12
  6198. i++
  6199. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6200. n, err := msg.MarshalTo(data[i:])
  6201. if err != nil {
  6202. return 0, err
  6203. }
  6204. i += n
  6205. }
  6206. }
  6207. return i, nil
  6208. }
  6209. func (m *PodTemplateSpec) Marshal() (data []byte, err error) {
  6210. size := m.Size()
  6211. data = make([]byte, size)
  6212. n, err := m.MarshalTo(data)
  6213. if err != nil {
  6214. return nil, err
  6215. }
  6216. return data[:n], nil
  6217. }
  6218. func (m *PodTemplateSpec) MarshalTo(data []byte) (int, error) {
  6219. var i int
  6220. _ = i
  6221. var l int
  6222. _ = l
  6223. data[i] = 0xa
  6224. i++
  6225. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6226. n133, err := m.ObjectMeta.MarshalTo(data[i:])
  6227. if err != nil {
  6228. return 0, err
  6229. }
  6230. i += n133
  6231. data[i] = 0x12
  6232. i++
  6233. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  6234. n134, err := m.Spec.MarshalTo(data[i:])
  6235. if err != nil {
  6236. return 0, err
  6237. }
  6238. i += n134
  6239. return i, nil
  6240. }
  6241. func (m *PortworxVolumeSource) Marshal() (data []byte, err error) {
  6242. size := m.Size()
  6243. data = make([]byte, size)
  6244. n, err := m.MarshalTo(data)
  6245. if err != nil {
  6246. return nil, err
  6247. }
  6248. return data[:n], nil
  6249. }
  6250. func (m *PortworxVolumeSource) MarshalTo(data []byte) (int, error) {
  6251. var i int
  6252. _ = i
  6253. var l int
  6254. _ = l
  6255. data[i] = 0xa
  6256. i++
  6257. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeID)))
  6258. i += copy(data[i:], m.VolumeID)
  6259. data[i] = 0x12
  6260. i++
  6261. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  6262. i += copy(data[i:], m.FSType)
  6263. data[i] = 0x18
  6264. i++
  6265. if m.ReadOnly {
  6266. data[i] = 1
  6267. } else {
  6268. data[i] = 0
  6269. }
  6270. i++
  6271. return i, nil
  6272. }
  6273. func (m *Preconditions) Marshal() (data []byte, err error) {
  6274. size := m.Size()
  6275. data = make([]byte, size)
  6276. n, err := m.MarshalTo(data)
  6277. if err != nil {
  6278. return nil, err
  6279. }
  6280. return data[:n], nil
  6281. }
  6282. func (m *Preconditions) MarshalTo(data []byte) (int, error) {
  6283. var i int
  6284. _ = i
  6285. var l int
  6286. _ = l
  6287. if m.UID != nil {
  6288. data[i] = 0xa
  6289. i++
  6290. i = encodeVarintGenerated(data, i, uint64(len(*m.UID)))
  6291. i += copy(data[i:], *m.UID)
  6292. }
  6293. return i, nil
  6294. }
  6295. func (m *PreferAvoidPodsEntry) Marshal() (data []byte, err error) {
  6296. size := m.Size()
  6297. data = make([]byte, size)
  6298. n, err := m.MarshalTo(data)
  6299. if err != nil {
  6300. return nil, err
  6301. }
  6302. return data[:n], nil
  6303. }
  6304. func (m *PreferAvoidPodsEntry) MarshalTo(data []byte) (int, error) {
  6305. var i int
  6306. _ = i
  6307. var l int
  6308. _ = l
  6309. data[i] = 0xa
  6310. i++
  6311. i = encodeVarintGenerated(data, i, uint64(m.PodSignature.Size()))
  6312. n135, err := m.PodSignature.MarshalTo(data[i:])
  6313. if err != nil {
  6314. return 0, err
  6315. }
  6316. i += n135
  6317. data[i] = 0x12
  6318. i++
  6319. i = encodeVarintGenerated(data, i, uint64(m.EvictionTime.Size()))
  6320. n136, err := m.EvictionTime.MarshalTo(data[i:])
  6321. if err != nil {
  6322. return 0, err
  6323. }
  6324. i += n136
  6325. data[i] = 0x1a
  6326. i++
  6327. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  6328. i += copy(data[i:], m.Reason)
  6329. data[i] = 0x22
  6330. i++
  6331. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  6332. i += copy(data[i:], m.Message)
  6333. return i, nil
  6334. }
  6335. func (m *PreferredSchedulingTerm) Marshal() (data []byte, err error) {
  6336. size := m.Size()
  6337. data = make([]byte, size)
  6338. n, err := m.MarshalTo(data)
  6339. if err != nil {
  6340. return nil, err
  6341. }
  6342. return data[:n], nil
  6343. }
  6344. func (m *PreferredSchedulingTerm) MarshalTo(data []byte) (int, error) {
  6345. var i int
  6346. _ = i
  6347. var l int
  6348. _ = l
  6349. data[i] = 0x8
  6350. i++
  6351. i = encodeVarintGenerated(data, i, uint64(m.Weight))
  6352. data[i] = 0x12
  6353. i++
  6354. i = encodeVarintGenerated(data, i, uint64(m.Preference.Size()))
  6355. n137, err := m.Preference.MarshalTo(data[i:])
  6356. if err != nil {
  6357. return 0, err
  6358. }
  6359. i += n137
  6360. return i, nil
  6361. }
  6362. func (m *Probe) Marshal() (data []byte, err error) {
  6363. size := m.Size()
  6364. data = make([]byte, size)
  6365. n, err := m.MarshalTo(data)
  6366. if err != nil {
  6367. return nil, err
  6368. }
  6369. return data[:n], nil
  6370. }
  6371. func (m *Probe) MarshalTo(data []byte) (int, error) {
  6372. var i int
  6373. _ = i
  6374. var l int
  6375. _ = l
  6376. data[i] = 0xa
  6377. i++
  6378. i = encodeVarintGenerated(data, i, uint64(m.Handler.Size()))
  6379. n138, err := m.Handler.MarshalTo(data[i:])
  6380. if err != nil {
  6381. return 0, err
  6382. }
  6383. i += n138
  6384. data[i] = 0x10
  6385. i++
  6386. i = encodeVarintGenerated(data, i, uint64(m.InitialDelaySeconds))
  6387. data[i] = 0x18
  6388. i++
  6389. i = encodeVarintGenerated(data, i, uint64(m.TimeoutSeconds))
  6390. data[i] = 0x20
  6391. i++
  6392. i = encodeVarintGenerated(data, i, uint64(m.PeriodSeconds))
  6393. data[i] = 0x28
  6394. i++
  6395. i = encodeVarintGenerated(data, i, uint64(m.SuccessThreshold))
  6396. data[i] = 0x30
  6397. i++
  6398. i = encodeVarintGenerated(data, i, uint64(m.FailureThreshold))
  6399. return i, nil
  6400. }
  6401. func (m *ProjectedVolumeSource) Marshal() (data []byte, err error) {
  6402. size := m.Size()
  6403. data = make([]byte, size)
  6404. n, err := m.MarshalTo(data)
  6405. if err != nil {
  6406. return nil, err
  6407. }
  6408. return data[:n], nil
  6409. }
  6410. func (m *ProjectedVolumeSource) MarshalTo(data []byte) (int, error) {
  6411. var i int
  6412. _ = i
  6413. var l int
  6414. _ = l
  6415. if len(m.Sources) > 0 {
  6416. for _, msg := range m.Sources {
  6417. data[i] = 0xa
  6418. i++
  6419. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6420. n, err := msg.MarshalTo(data[i:])
  6421. if err != nil {
  6422. return 0, err
  6423. }
  6424. i += n
  6425. }
  6426. }
  6427. if m.DefaultMode != nil {
  6428. data[i] = 0x10
  6429. i++
  6430. i = encodeVarintGenerated(data, i, uint64(*m.DefaultMode))
  6431. }
  6432. return i, nil
  6433. }
  6434. func (m *QuobyteVolumeSource) Marshal() (data []byte, err error) {
  6435. size := m.Size()
  6436. data = make([]byte, size)
  6437. n, err := m.MarshalTo(data)
  6438. if err != nil {
  6439. return nil, err
  6440. }
  6441. return data[:n], nil
  6442. }
  6443. func (m *QuobyteVolumeSource) MarshalTo(data []byte) (int, error) {
  6444. var i int
  6445. _ = i
  6446. var l int
  6447. _ = l
  6448. data[i] = 0xa
  6449. i++
  6450. i = encodeVarintGenerated(data, i, uint64(len(m.Registry)))
  6451. i += copy(data[i:], m.Registry)
  6452. data[i] = 0x12
  6453. i++
  6454. i = encodeVarintGenerated(data, i, uint64(len(m.Volume)))
  6455. i += copy(data[i:], m.Volume)
  6456. data[i] = 0x18
  6457. i++
  6458. if m.ReadOnly {
  6459. data[i] = 1
  6460. } else {
  6461. data[i] = 0
  6462. }
  6463. i++
  6464. data[i] = 0x22
  6465. i++
  6466. i = encodeVarintGenerated(data, i, uint64(len(m.User)))
  6467. i += copy(data[i:], m.User)
  6468. data[i] = 0x2a
  6469. i++
  6470. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  6471. i += copy(data[i:], m.Group)
  6472. return i, nil
  6473. }
  6474. func (m *RBDVolumeSource) Marshal() (data []byte, err error) {
  6475. size := m.Size()
  6476. data = make([]byte, size)
  6477. n, err := m.MarshalTo(data)
  6478. if err != nil {
  6479. return nil, err
  6480. }
  6481. return data[:n], nil
  6482. }
  6483. func (m *RBDVolumeSource) MarshalTo(data []byte) (int, error) {
  6484. var i int
  6485. _ = i
  6486. var l int
  6487. _ = l
  6488. if len(m.CephMonitors) > 0 {
  6489. for _, s := range m.CephMonitors {
  6490. data[i] = 0xa
  6491. i++
  6492. l = len(s)
  6493. for l >= 1<<7 {
  6494. data[i] = uint8(uint64(l)&0x7f | 0x80)
  6495. l >>= 7
  6496. i++
  6497. }
  6498. data[i] = uint8(l)
  6499. i++
  6500. i += copy(data[i:], s)
  6501. }
  6502. }
  6503. data[i] = 0x12
  6504. i++
  6505. i = encodeVarintGenerated(data, i, uint64(len(m.RBDImage)))
  6506. i += copy(data[i:], m.RBDImage)
  6507. data[i] = 0x1a
  6508. i++
  6509. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  6510. i += copy(data[i:], m.FSType)
  6511. data[i] = 0x22
  6512. i++
  6513. i = encodeVarintGenerated(data, i, uint64(len(m.RBDPool)))
  6514. i += copy(data[i:], m.RBDPool)
  6515. data[i] = 0x2a
  6516. i++
  6517. i = encodeVarintGenerated(data, i, uint64(len(m.RadosUser)))
  6518. i += copy(data[i:], m.RadosUser)
  6519. data[i] = 0x32
  6520. i++
  6521. i = encodeVarintGenerated(data, i, uint64(len(m.Keyring)))
  6522. i += copy(data[i:], m.Keyring)
  6523. if m.SecretRef != nil {
  6524. data[i] = 0x3a
  6525. i++
  6526. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  6527. n139, err := m.SecretRef.MarshalTo(data[i:])
  6528. if err != nil {
  6529. return 0, err
  6530. }
  6531. i += n139
  6532. }
  6533. data[i] = 0x40
  6534. i++
  6535. if m.ReadOnly {
  6536. data[i] = 1
  6537. } else {
  6538. data[i] = 0
  6539. }
  6540. i++
  6541. return i, nil
  6542. }
  6543. func (m *RangeAllocation) Marshal() (data []byte, err error) {
  6544. size := m.Size()
  6545. data = make([]byte, size)
  6546. n, err := m.MarshalTo(data)
  6547. if err != nil {
  6548. return nil, err
  6549. }
  6550. return data[:n], nil
  6551. }
  6552. func (m *RangeAllocation) MarshalTo(data []byte) (int, error) {
  6553. var i int
  6554. _ = i
  6555. var l int
  6556. _ = l
  6557. data[i] = 0xa
  6558. i++
  6559. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6560. n140, err := m.ObjectMeta.MarshalTo(data[i:])
  6561. if err != nil {
  6562. return 0, err
  6563. }
  6564. i += n140
  6565. data[i] = 0x12
  6566. i++
  6567. i = encodeVarintGenerated(data, i, uint64(len(m.Range)))
  6568. i += copy(data[i:], m.Range)
  6569. if m.Data != nil {
  6570. data[i] = 0x1a
  6571. i++
  6572. i = encodeVarintGenerated(data, i, uint64(len(m.Data)))
  6573. i += copy(data[i:], m.Data)
  6574. }
  6575. return i, nil
  6576. }
  6577. func (m *ReplicationController) Marshal() (data []byte, err error) {
  6578. size := m.Size()
  6579. data = make([]byte, size)
  6580. n, err := m.MarshalTo(data)
  6581. if err != nil {
  6582. return nil, err
  6583. }
  6584. return data[:n], nil
  6585. }
  6586. func (m *ReplicationController) MarshalTo(data []byte) (int, error) {
  6587. var i int
  6588. _ = i
  6589. var l int
  6590. _ = l
  6591. data[i] = 0xa
  6592. i++
  6593. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6594. n141, err := m.ObjectMeta.MarshalTo(data[i:])
  6595. if err != nil {
  6596. return 0, err
  6597. }
  6598. i += n141
  6599. data[i] = 0x12
  6600. i++
  6601. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  6602. n142, err := m.Spec.MarshalTo(data[i:])
  6603. if err != nil {
  6604. return 0, err
  6605. }
  6606. i += n142
  6607. data[i] = 0x1a
  6608. i++
  6609. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  6610. n143, err := m.Status.MarshalTo(data[i:])
  6611. if err != nil {
  6612. return 0, err
  6613. }
  6614. i += n143
  6615. return i, nil
  6616. }
  6617. func (m *ReplicationControllerCondition) Marshal() (data []byte, err error) {
  6618. size := m.Size()
  6619. data = make([]byte, size)
  6620. n, err := m.MarshalTo(data)
  6621. if err != nil {
  6622. return nil, err
  6623. }
  6624. return data[:n], nil
  6625. }
  6626. func (m *ReplicationControllerCondition) MarshalTo(data []byte) (int, error) {
  6627. var i int
  6628. _ = i
  6629. var l int
  6630. _ = l
  6631. data[i] = 0xa
  6632. i++
  6633. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  6634. i += copy(data[i:], m.Type)
  6635. data[i] = 0x12
  6636. i++
  6637. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  6638. i += copy(data[i:], m.Status)
  6639. data[i] = 0x1a
  6640. i++
  6641. i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size()))
  6642. n144, err := m.LastTransitionTime.MarshalTo(data[i:])
  6643. if err != nil {
  6644. return 0, err
  6645. }
  6646. i += n144
  6647. data[i] = 0x22
  6648. i++
  6649. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  6650. i += copy(data[i:], m.Reason)
  6651. data[i] = 0x2a
  6652. i++
  6653. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  6654. i += copy(data[i:], m.Message)
  6655. return i, nil
  6656. }
  6657. func (m *ReplicationControllerList) Marshal() (data []byte, err error) {
  6658. size := m.Size()
  6659. data = make([]byte, size)
  6660. n, err := m.MarshalTo(data)
  6661. if err != nil {
  6662. return nil, err
  6663. }
  6664. return data[:n], nil
  6665. }
  6666. func (m *ReplicationControllerList) MarshalTo(data []byte) (int, error) {
  6667. var i int
  6668. _ = i
  6669. var l int
  6670. _ = l
  6671. data[i] = 0xa
  6672. i++
  6673. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6674. n145, err := m.ListMeta.MarshalTo(data[i:])
  6675. if err != nil {
  6676. return 0, err
  6677. }
  6678. i += n145
  6679. if len(m.Items) > 0 {
  6680. for _, msg := range m.Items {
  6681. data[i] = 0x12
  6682. i++
  6683. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6684. n, err := msg.MarshalTo(data[i:])
  6685. if err != nil {
  6686. return 0, err
  6687. }
  6688. i += n
  6689. }
  6690. }
  6691. return i, nil
  6692. }
  6693. func (m *ReplicationControllerSpec) Marshal() (data []byte, err error) {
  6694. size := m.Size()
  6695. data = make([]byte, size)
  6696. n, err := m.MarshalTo(data)
  6697. if err != nil {
  6698. return nil, err
  6699. }
  6700. return data[:n], nil
  6701. }
  6702. func (m *ReplicationControllerSpec) MarshalTo(data []byte) (int, error) {
  6703. var i int
  6704. _ = i
  6705. var l int
  6706. _ = l
  6707. if m.Replicas != nil {
  6708. data[i] = 0x8
  6709. i++
  6710. i = encodeVarintGenerated(data, i, uint64(*m.Replicas))
  6711. }
  6712. if len(m.Selector) > 0 {
  6713. for k := range m.Selector {
  6714. data[i] = 0x12
  6715. i++
  6716. v := m.Selector[k]
  6717. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  6718. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6719. data[i] = 0xa
  6720. i++
  6721. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6722. i += copy(data[i:], k)
  6723. data[i] = 0x12
  6724. i++
  6725. i = encodeVarintGenerated(data, i, uint64(len(v)))
  6726. i += copy(data[i:], v)
  6727. }
  6728. }
  6729. if m.Template != nil {
  6730. data[i] = 0x1a
  6731. i++
  6732. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  6733. n146, err := m.Template.MarshalTo(data[i:])
  6734. if err != nil {
  6735. return 0, err
  6736. }
  6737. i += n146
  6738. }
  6739. data[i] = 0x20
  6740. i++
  6741. i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds))
  6742. return i, nil
  6743. }
  6744. func (m *ReplicationControllerStatus) Marshal() (data []byte, err error) {
  6745. size := m.Size()
  6746. data = make([]byte, size)
  6747. n, err := m.MarshalTo(data)
  6748. if err != nil {
  6749. return nil, err
  6750. }
  6751. return data[:n], nil
  6752. }
  6753. func (m *ReplicationControllerStatus) MarshalTo(data []byte) (int, error) {
  6754. var i int
  6755. _ = i
  6756. var l int
  6757. _ = l
  6758. data[i] = 0x8
  6759. i++
  6760. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  6761. data[i] = 0x10
  6762. i++
  6763. i = encodeVarintGenerated(data, i, uint64(m.FullyLabeledReplicas))
  6764. data[i] = 0x18
  6765. i++
  6766. i = encodeVarintGenerated(data, i, uint64(m.ObservedGeneration))
  6767. data[i] = 0x20
  6768. i++
  6769. i = encodeVarintGenerated(data, i, uint64(m.ReadyReplicas))
  6770. data[i] = 0x28
  6771. i++
  6772. i = encodeVarintGenerated(data, i, uint64(m.AvailableReplicas))
  6773. if len(m.Conditions) > 0 {
  6774. for _, msg := range m.Conditions {
  6775. data[i] = 0x32
  6776. i++
  6777. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6778. n, err := msg.MarshalTo(data[i:])
  6779. if err != nil {
  6780. return 0, err
  6781. }
  6782. i += n
  6783. }
  6784. }
  6785. return i, nil
  6786. }
  6787. func (m *ResourceFieldSelector) Marshal() (data []byte, err error) {
  6788. size := m.Size()
  6789. data = make([]byte, size)
  6790. n, err := m.MarshalTo(data)
  6791. if err != nil {
  6792. return nil, err
  6793. }
  6794. return data[:n], nil
  6795. }
  6796. func (m *ResourceFieldSelector) MarshalTo(data []byte) (int, error) {
  6797. var i int
  6798. _ = i
  6799. var l int
  6800. _ = l
  6801. data[i] = 0xa
  6802. i++
  6803. i = encodeVarintGenerated(data, i, uint64(len(m.ContainerName)))
  6804. i += copy(data[i:], m.ContainerName)
  6805. data[i] = 0x12
  6806. i++
  6807. i = encodeVarintGenerated(data, i, uint64(len(m.Resource)))
  6808. i += copy(data[i:], m.Resource)
  6809. data[i] = 0x1a
  6810. i++
  6811. i = encodeVarintGenerated(data, i, uint64(m.Divisor.Size()))
  6812. n147, err := m.Divisor.MarshalTo(data[i:])
  6813. if err != nil {
  6814. return 0, err
  6815. }
  6816. i += n147
  6817. return i, nil
  6818. }
  6819. func (m *ResourceQuota) Marshal() (data []byte, err error) {
  6820. size := m.Size()
  6821. data = make([]byte, size)
  6822. n, err := m.MarshalTo(data)
  6823. if err != nil {
  6824. return nil, err
  6825. }
  6826. return data[:n], nil
  6827. }
  6828. func (m *ResourceQuota) MarshalTo(data []byte) (int, error) {
  6829. var i int
  6830. _ = i
  6831. var l int
  6832. _ = l
  6833. data[i] = 0xa
  6834. i++
  6835. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  6836. n148, err := m.ObjectMeta.MarshalTo(data[i:])
  6837. if err != nil {
  6838. return 0, err
  6839. }
  6840. i += n148
  6841. data[i] = 0x12
  6842. i++
  6843. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  6844. n149, err := m.Spec.MarshalTo(data[i:])
  6845. if err != nil {
  6846. return 0, err
  6847. }
  6848. i += n149
  6849. data[i] = 0x1a
  6850. i++
  6851. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  6852. n150, err := m.Status.MarshalTo(data[i:])
  6853. if err != nil {
  6854. return 0, err
  6855. }
  6856. i += n150
  6857. return i, nil
  6858. }
  6859. func (m *ResourceQuotaList) Marshal() (data []byte, err error) {
  6860. size := m.Size()
  6861. data = make([]byte, size)
  6862. n, err := m.MarshalTo(data)
  6863. if err != nil {
  6864. return nil, err
  6865. }
  6866. return data[:n], nil
  6867. }
  6868. func (m *ResourceQuotaList) MarshalTo(data []byte) (int, error) {
  6869. var i int
  6870. _ = i
  6871. var l int
  6872. _ = l
  6873. data[i] = 0xa
  6874. i++
  6875. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  6876. n151, err := m.ListMeta.MarshalTo(data[i:])
  6877. if err != nil {
  6878. return 0, err
  6879. }
  6880. i += n151
  6881. if len(m.Items) > 0 {
  6882. for _, msg := range m.Items {
  6883. data[i] = 0x12
  6884. i++
  6885. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  6886. n, err := msg.MarshalTo(data[i:])
  6887. if err != nil {
  6888. return 0, err
  6889. }
  6890. i += n
  6891. }
  6892. }
  6893. return i, nil
  6894. }
  6895. func (m *ResourceQuotaSpec) Marshal() (data []byte, err error) {
  6896. size := m.Size()
  6897. data = make([]byte, size)
  6898. n, err := m.MarshalTo(data)
  6899. if err != nil {
  6900. return nil, err
  6901. }
  6902. return data[:n], nil
  6903. }
  6904. func (m *ResourceQuotaSpec) MarshalTo(data []byte) (int, error) {
  6905. var i int
  6906. _ = i
  6907. var l int
  6908. _ = l
  6909. if len(m.Hard) > 0 {
  6910. for k := range m.Hard {
  6911. data[i] = 0xa
  6912. i++
  6913. v := m.Hard[k]
  6914. msgSize := (&v).Size()
  6915. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6916. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6917. data[i] = 0xa
  6918. i++
  6919. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6920. i += copy(data[i:], k)
  6921. data[i] = 0x12
  6922. i++
  6923. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6924. n152, err := (&v).MarshalTo(data[i:])
  6925. if err != nil {
  6926. return 0, err
  6927. }
  6928. i += n152
  6929. }
  6930. }
  6931. if len(m.Scopes) > 0 {
  6932. for _, s := range m.Scopes {
  6933. data[i] = 0x12
  6934. i++
  6935. l = len(s)
  6936. for l >= 1<<7 {
  6937. data[i] = uint8(uint64(l)&0x7f | 0x80)
  6938. l >>= 7
  6939. i++
  6940. }
  6941. data[i] = uint8(l)
  6942. i++
  6943. i += copy(data[i:], s)
  6944. }
  6945. }
  6946. return i, nil
  6947. }
  6948. func (m *ResourceQuotaStatus) Marshal() (data []byte, err error) {
  6949. size := m.Size()
  6950. data = make([]byte, size)
  6951. n, err := m.MarshalTo(data)
  6952. if err != nil {
  6953. return nil, err
  6954. }
  6955. return data[:n], nil
  6956. }
  6957. func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) {
  6958. var i int
  6959. _ = i
  6960. var l int
  6961. _ = l
  6962. if len(m.Hard) > 0 {
  6963. for k := range m.Hard {
  6964. data[i] = 0xa
  6965. i++
  6966. v := m.Hard[k]
  6967. msgSize := (&v).Size()
  6968. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6969. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6970. data[i] = 0xa
  6971. i++
  6972. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6973. i += copy(data[i:], k)
  6974. data[i] = 0x12
  6975. i++
  6976. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6977. n153, err := (&v).MarshalTo(data[i:])
  6978. if err != nil {
  6979. return 0, err
  6980. }
  6981. i += n153
  6982. }
  6983. }
  6984. if len(m.Used) > 0 {
  6985. for k := range m.Used {
  6986. data[i] = 0x12
  6987. i++
  6988. v := m.Used[k]
  6989. msgSize := (&v).Size()
  6990. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  6991. i = encodeVarintGenerated(data, i, uint64(mapSize))
  6992. data[i] = 0xa
  6993. i++
  6994. i = encodeVarintGenerated(data, i, uint64(len(k)))
  6995. i += copy(data[i:], k)
  6996. data[i] = 0x12
  6997. i++
  6998. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  6999. n154, err := (&v).MarshalTo(data[i:])
  7000. if err != nil {
  7001. return 0, err
  7002. }
  7003. i += n154
  7004. }
  7005. }
  7006. return i, nil
  7007. }
  7008. func (m *ResourceRequirements) 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 *ResourceRequirements) MarshalTo(data []byte) (int, error) {
  7018. var i int
  7019. _ = i
  7020. var l int
  7021. _ = l
  7022. if len(m.Limits) > 0 {
  7023. for k := range m.Limits {
  7024. data[i] = 0xa
  7025. i++
  7026. v := m.Limits[k]
  7027. msgSize := (&v).Size()
  7028. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  7029. i = encodeVarintGenerated(data, i, uint64(mapSize))
  7030. data[i] = 0xa
  7031. i++
  7032. i = encodeVarintGenerated(data, i, uint64(len(k)))
  7033. i += copy(data[i:], k)
  7034. data[i] = 0x12
  7035. i++
  7036. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  7037. n155, err := (&v).MarshalTo(data[i:])
  7038. if err != nil {
  7039. return 0, err
  7040. }
  7041. i += n155
  7042. }
  7043. }
  7044. if len(m.Requests) > 0 {
  7045. for k := range m.Requests {
  7046. data[i] = 0x12
  7047. i++
  7048. v := m.Requests[k]
  7049. msgSize := (&v).Size()
  7050. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + msgSize + sovGenerated(uint64(msgSize))
  7051. i = encodeVarintGenerated(data, i, uint64(mapSize))
  7052. data[i] = 0xa
  7053. i++
  7054. i = encodeVarintGenerated(data, i, uint64(len(k)))
  7055. i += copy(data[i:], k)
  7056. data[i] = 0x12
  7057. i++
  7058. i = encodeVarintGenerated(data, i, uint64((&v).Size()))
  7059. n156, err := (&v).MarshalTo(data[i:])
  7060. if err != nil {
  7061. return 0, err
  7062. }
  7063. i += n156
  7064. }
  7065. }
  7066. return i, nil
  7067. }
  7068. func (m *SELinuxOptions) Marshal() (data []byte, err error) {
  7069. size := m.Size()
  7070. data = make([]byte, size)
  7071. n, err := m.MarshalTo(data)
  7072. if err != nil {
  7073. return nil, err
  7074. }
  7075. return data[:n], nil
  7076. }
  7077. func (m *SELinuxOptions) MarshalTo(data []byte) (int, error) {
  7078. var i int
  7079. _ = i
  7080. var l int
  7081. _ = l
  7082. data[i] = 0xa
  7083. i++
  7084. i = encodeVarintGenerated(data, i, uint64(len(m.User)))
  7085. i += copy(data[i:], m.User)
  7086. data[i] = 0x12
  7087. i++
  7088. i = encodeVarintGenerated(data, i, uint64(len(m.Role)))
  7089. i += copy(data[i:], m.Role)
  7090. data[i] = 0x1a
  7091. i++
  7092. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  7093. i += copy(data[i:], m.Type)
  7094. data[i] = 0x22
  7095. i++
  7096. i = encodeVarintGenerated(data, i, uint64(len(m.Level)))
  7097. i += copy(data[i:], m.Level)
  7098. return i, nil
  7099. }
  7100. func (m *ScaleIOVolumeSource) Marshal() (data []byte, err error) {
  7101. size := m.Size()
  7102. data = make([]byte, size)
  7103. n, err := m.MarshalTo(data)
  7104. if err != nil {
  7105. return nil, err
  7106. }
  7107. return data[:n], nil
  7108. }
  7109. func (m *ScaleIOVolumeSource) MarshalTo(data []byte) (int, error) {
  7110. var i int
  7111. _ = i
  7112. var l int
  7113. _ = l
  7114. data[i] = 0xa
  7115. i++
  7116. i = encodeVarintGenerated(data, i, uint64(len(m.Gateway)))
  7117. i += copy(data[i:], m.Gateway)
  7118. data[i] = 0x12
  7119. i++
  7120. i = encodeVarintGenerated(data, i, uint64(len(m.System)))
  7121. i += copy(data[i:], m.System)
  7122. if m.SecretRef != nil {
  7123. data[i] = 0x1a
  7124. i++
  7125. i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size()))
  7126. n157, err := m.SecretRef.MarshalTo(data[i:])
  7127. if err != nil {
  7128. return 0, err
  7129. }
  7130. i += n157
  7131. }
  7132. data[i] = 0x20
  7133. i++
  7134. if m.SSLEnabled {
  7135. data[i] = 1
  7136. } else {
  7137. data[i] = 0
  7138. }
  7139. i++
  7140. data[i] = 0x2a
  7141. i++
  7142. i = encodeVarintGenerated(data, i, uint64(len(m.ProtectionDomain)))
  7143. i += copy(data[i:], m.ProtectionDomain)
  7144. data[i] = 0x32
  7145. i++
  7146. i = encodeVarintGenerated(data, i, uint64(len(m.StoragePool)))
  7147. i += copy(data[i:], m.StoragePool)
  7148. data[i] = 0x3a
  7149. i++
  7150. i = encodeVarintGenerated(data, i, uint64(len(m.StorageMode)))
  7151. i += copy(data[i:], m.StorageMode)
  7152. data[i] = 0x42
  7153. i++
  7154. i = encodeVarintGenerated(data, i, uint64(len(m.VolumeName)))
  7155. i += copy(data[i:], m.VolumeName)
  7156. data[i] = 0x4a
  7157. i++
  7158. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  7159. i += copy(data[i:], m.FSType)
  7160. data[i] = 0x50
  7161. i++
  7162. if m.ReadOnly {
  7163. data[i] = 1
  7164. } else {
  7165. data[i] = 0
  7166. }
  7167. i++
  7168. return i, nil
  7169. }
  7170. func (m *Secret) Marshal() (data []byte, err error) {
  7171. size := m.Size()
  7172. data = make([]byte, size)
  7173. n, err := m.MarshalTo(data)
  7174. if err != nil {
  7175. return nil, err
  7176. }
  7177. return data[:n], nil
  7178. }
  7179. func (m *Secret) MarshalTo(data []byte) (int, error) {
  7180. var i int
  7181. _ = i
  7182. var l int
  7183. _ = l
  7184. data[i] = 0xa
  7185. i++
  7186. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  7187. n158, err := m.ObjectMeta.MarshalTo(data[i:])
  7188. if err != nil {
  7189. return 0, err
  7190. }
  7191. i += n158
  7192. if len(m.Data) > 0 {
  7193. for k := range m.Data {
  7194. data[i] = 0x12
  7195. i++
  7196. v := m.Data[k]
  7197. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7198. i = encodeVarintGenerated(data, i, uint64(mapSize))
  7199. data[i] = 0xa
  7200. i++
  7201. i = encodeVarintGenerated(data, i, uint64(len(k)))
  7202. i += copy(data[i:], k)
  7203. data[i] = 0x12
  7204. i++
  7205. i = encodeVarintGenerated(data, i, uint64(len(v)))
  7206. i += copy(data[i:], v)
  7207. }
  7208. }
  7209. data[i] = 0x1a
  7210. i++
  7211. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  7212. i += copy(data[i:], m.Type)
  7213. if len(m.StringData) > 0 {
  7214. for k := range m.StringData {
  7215. data[i] = 0x22
  7216. i++
  7217. v := m.StringData[k]
  7218. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7219. i = encodeVarintGenerated(data, i, uint64(mapSize))
  7220. data[i] = 0xa
  7221. i++
  7222. i = encodeVarintGenerated(data, i, uint64(len(k)))
  7223. i += copy(data[i:], k)
  7224. data[i] = 0x12
  7225. i++
  7226. i = encodeVarintGenerated(data, i, uint64(len(v)))
  7227. i += copy(data[i:], v)
  7228. }
  7229. }
  7230. return i, nil
  7231. }
  7232. func (m *SecretEnvSource) Marshal() (data []byte, err error) {
  7233. size := m.Size()
  7234. data = make([]byte, size)
  7235. n, err := m.MarshalTo(data)
  7236. if err != nil {
  7237. return nil, err
  7238. }
  7239. return data[:n], nil
  7240. }
  7241. func (m *SecretEnvSource) MarshalTo(data []byte) (int, error) {
  7242. var i int
  7243. _ = i
  7244. var l int
  7245. _ = l
  7246. data[i] = 0xa
  7247. i++
  7248. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  7249. n159, err := m.LocalObjectReference.MarshalTo(data[i:])
  7250. if err != nil {
  7251. return 0, err
  7252. }
  7253. i += n159
  7254. if m.Optional != nil {
  7255. data[i] = 0x10
  7256. i++
  7257. if *m.Optional {
  7258. data[i] = 1
  7259. } else {
  7260. data[i] = 0
  7261. }
  7262. i++
  7263. }
  7264. return i, nil
  7265. }
  7266. func (m *SecretKeySelector) Marshal() (data []byte, err error) {
  7267. size := m.Size()
  7268. data = make([]byte, size)
  7269. n, err := m.MarshalTo(data)
  7270. if err != nil {
  7271. return nil, err
  7272. }
  7273. return data[:n], nil
  7274. }
  7275. func (m *SecretKeySelector) MarshalTo(data []byte) (int, error) {
  7276. var i int
  7277. _ = i
  7278. var l int
  7279. _ = l
  7280. data[i] = 0xa
  7281. i++
  7282. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  7283. n160, err := m.LocalObjectReference.MarshalTo(data[i:])
  7284. if err != nil {
  7285. return 0, err
  7286. }
  7287. i += n160
  7288. data[i] = 0x12
  7289. i++
  7290. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  7291. i += copy(data[i:], m.Key)
  7292. if m.Optional != nil {
  7293. data[i] = 0x18
  7294. i++
  7295. if *m.Optional {
  7296. data[i] = 1
  7297. } else {
  7298. data[i] = 0
  7299. }
  7300. i++
  7301. }
  7302. return i, nil
  7303. }
  7304. func (m *SecretList) Marshal() (data []byte, err error) {
  7305. size := m.Size()
  7306. data = make([]byte, size)
  7307. n, err := m.MarshalTo(data)
  7308. if err != nil {
  7309. return nil, err
  7310. }
  7311. return data[:n], nil
  7312. }
  7313. func (m *SecretList) MarshalTo(data []byte) (int, error) {
  7314. var i int
  7315. _ = i
  7316. var l int
  7317. _ = l
  7318. data[i] = 0xa
  7319. i++
  7320. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  7321. n161, err := m.ListMeta.MarshalTo(data[i:])
  7322. if err != nil {
  7323. return 0, err
  7324. }
  7325. i += n161
  7326. if len(m.Items) > 0 {
  7327. for _, msg := range m.Items {
  7328. data[i] = 0x12
  7329. i++
  7330. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7331. n, err := msg.MarshalTo(data[i:])
  7332. if err != nil {
  7333. return 0, err
  7334. }
  7335. i += n
  7336. }
  7337. }
  7338. return i, nil
  7339. }
  7340. func (m *SecretProjection) Marshal() (data []byte, err error) {
  7341. size := m.Size()
  7342. data = make([]byte, size)
  7343. n, err := m.MarshalTo(data)
  7344. if err != nil {
  7345. return nil, err
  7346. }
  7347. return data[:n], nil
  7348. }
  7349. func (m *SecretProjection) MarshalTo(data []byte) (int, error) {
  7350. var i int
  7351. _ = i
  7352. var l int
  7353. _ = l
  7354. data[i] = 0xa
  7355. i++
  7356. i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size()))
  7357. n162, err := m.LocalObjectReference.MarshalTo(data[i:])
  7358. if err != nil {
  7359. return 0, err
  7360. }
  7361. i += n162
  7362. if len(m.Items) > 0 {
  7363. for _, msg := range m.Items {
  7364. data[i] = 0x12
  7365. i++
  7366. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7367. n, err := msg.MarshalTo(data[i:])
  7368. if err != nil {
  7369. return 0, err
  7370. }
  7371. i += n
  7372. }
  7373. }
  7374. if m.Optional != nil {
  7375. data[i] = 0x20
  7376. i++
  7377. if *m.Optional {
  7378. data[i] = 1
  7379. } else {
  7380. data[i] = 0
  7381. }
  7382. i++
  7383. }
  7384. return i, nil
  7385. }
  7386. func (m *SecretVolumeSource) Marshal() (data []byte, err error) {
  7387. size := m.Size()
  7388. data = make([]byte, size)
  7389. n, err := m.MarshalTo(data)
  7390. if err != nil {
  7391. return nil, err
  7392. }
  7393. return data[:n], nil
  7394. }
  7395. func (m *SecretVolumeSource) MarshalTo(data []byte) (int, error) {
  7396. var i int
  7397. _ = i
  7398. var l int
  7399. _ = l
  7400. data[i] = 0xa
  7401. i++
  7402. i = encodeVarintGenerated(data, i, uint64(len(m.SecretName)))
  7403. i += copy(data[i:], m.SecretName)
  7404. if len(m.Items) > 0 {
  7405. for _, msg := range m.Items {
  7406. data[i] = 0x12
  7407. i++
  7408. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7409. n, err := msg.MarshalTo(data[i:])
  7410. if err != nil {
  7411. return 0, err
  7412. }
  7413. i += n
  7414. }
  7415. }
  7416. if m.DefaultMode != nil {
  7417. data[i] = 0x18
  7418. i++
  7419. i = encodeVarintGenerated(data, i, uint64(*m.DefaultMode))
  7420. }
  7421. if m.Optional != nil {
  7422. data[i] = 0x20
  7423. i++
  7424. if *m.Optional {
  7425. data[i] = 1
  7426. } else {
  7427. data[i] = 0
  7428. }
  7429. i++
  7430. }
  7431. return i, nil
  7432. }
  7433. func (m *SecurityContext) Marshal() (data []byte, err error) {
  7434. size := m.Size()
  7435. data = make([]byte, size)
  7436. n, err := m.MarshalTo(data)
  7437. if err != nil {
  7438. return nil, err
  7439. }
  7440. return data[:n], nil
  7441. }
  7442. func (m *SecurityContext) MarshalTo(data []byte) (int, error) {
  7443. var i int
  7444. _ = i
  7445. var l int
  7446. _ = l
  7447. if m.Capabilities != nil {
  7448. data[i] = 0xa
  7449. i++
  7450. i = encodeVarintGenerated(data, i, uint64(m.Capabilities.Size()))
  7451. n163, err := m.Capabilities.MarshalTo(data[i:])
  7452. if err != nil {
  7453. return 0, err
  7454. }
  7455. i += n163
  7456. }
  7457. if m.Privileged != nil {
  7458. data[i] = 0x10
  7459. i++
  7460. if *m.Privileged {
  7461. data[i] = 1
  7462. } else {
  7463. data[i] = 0
  7464. }
  7465. i++
  7466. }
  7467. if m.SELinuxOptions != nil {
  7468. data[i] = 0x1a
  7469. i++
  7470. i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size()))
  7471. n164, err := m.SELinuxOptions.MarshalTo(data[i:])
  7472. if err != nil {
  7473. return 0, err
  7474. }
  7475. i += n164
  7476. }
  7477. if m.RunAsUser != nil {
  7478. data[i] = 0x20
  7479. i++
  7480. i = encodeVarintGenerated(data, i, uint64(*m.RunAsUser))
  7481. }
  7482. if m.RunAsNonRoot != nil {
  7483. data[i] = 0x28
  7484. i++
  7485. if *m.RunAsNonRoot {
  7486. data[i] = 1
  7487. } else {
  7488. data[i] = 0
  7489. }
  7490. i++
  7491. }
  7492. if m.ReadOnlyRootFilesystem != nil {
  7493. data[i] = 0x30
  7494. i++
  7495. if *m.ReadOnlyRootFilesystem {
  7496. data[i] = 1
  7497. } else {
  7498. data[i] = 0
  7499. }
  7500. i++
  7501. }
  7502. return i, nil
  7503. }
  7504. func (m *SerializedReference) Marshal() (data []byte, err error) {
  7505. size := m.Size()
  7506. data = make([]byte, size)
  7507. n, err := m.MarshalTo(data)
  7508. if err != nil {
  7509. return nil, err
  7510. }
  7511. return data[:n], nil
  7512. }
  7513. func (m *SerializedReference) MarshalTo(data []byte) (int, error) {
  7514. var i int
  7515. _ = i
  7516. var l int
  7517. _ = l
  7518. data[i] = 0xa
  7519. i++
  7520. i = encodeVarintGenerated(data, i, uint64(m.Reference.Size()))
  7521. n165, err := m.Reference.MarshalTo(data[i:])
  7522. if err != nil {
  7523. return 0, err
  7524. }
  7525. i += n165
  7526. return i, nil
  7527. }
  7528. func (m *Service) Marshal() (data []byte, err error) {
  7529. size := m.Size()
  7530. data = make([]byte, size)
  7531. n, err := m.MarshalTo(data)
  7532. if err != nil {
  7533. return nil, err
  7534. }
  7535. return data[:n], nil
  7536. }
  7537. func (m *Service) MarshalTo(data []byte) (int, error) {
  7538. var i int
  7539. _ = i
  7540. var l int
  7541. _ = l
  7542. data[i] = 0xa
  7543. i++
  7544. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  7545. n166, err := m.ObjectMeta.MarshalTo(data[i:])
  7546. if err != nil {
  7547. return 0, err
  7548. }
  7549. i += n166
  7550. data[i] = 0x12
  7551. i++
  7552. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  7553. n167, err := m.Spec.MarshalTo(data[i:])
  7554. if err != nil {
  7555. return 0, err
  7556. }
  7557. i += n167
  7558. data[i] = 0x1a
  7559. i++
  7560. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  7561. n168, err := m.Status.MarshalTo(data[i:])
  7562. if err != nil {
  7563. return 0, err
  7564. }
  7565. i += n168
  7566. return i, nil
  7567. }
  7568. func (m *ServiceAccount) Marshal() (data []byte, err error) {
  7569. size := m.Size()
  7570. data = make([]byte, size)
  7571. n, err := m.MarshalTo(data)
  7572. if err != nil {
  7573. return nil, err
  7574. }
  7575. return data[:n], nil
  7576. }
  7577. func (m *ServiceAccount) MarshalTo(data []byte) (int, error) {
  7578. var i int
  7579. _ = i
  7580. var l int
  7581. _ = l
  7582. data[i] = 0xa
  7583. i++
  7584. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  7585. n169, err := m.ObjectMeta.MarshalTo(data[i:])
  7586. if err != nil {
  7587. return 0, err
  7588. }
  7589. i += n169
  7590. if len(m.Secrets) > 0 {
  7591. for _, msg := range m.Secrets {
  7592. data[i] = 0x12
  7593. i++
  7594. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7595. n, err := msg.MarshalTo(data[i:])
  7596. if err != nil {
  7597. return 0, err
  7598. }
  7599. i += n
  7600. }
  7601. }
  7602. if len(m.ImagePullSecrets) > 0 {
  7603. for _, msg := range m.ImagePullSecrets {
  7604. data[i] = 0x1a
  7605. i++
  7606. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7607. n, err := msg.MarshalTo(data[i:])
  7608. if err != nil {
  7609. return 0, err
  7610. }
  7611. i += n
  7612. }
  7613. }
  7614. if m.AutomountServiceAccountToken != nil {
  7615. data[i] = 0x20
  7616. i++
  7617. if *m.AutomountServiceAccountToken {
  7618. data[i] = 1
  7619. } else {
  7620. data[i] = 0
  7621. }
  7622. i++
  7623. }
  7624. return i, nil
  7625. }
  7626. func (m *ServiceAccountList) Marshal() (data []byte, err error) {
  7627. size := m.Size()
  7628. data = make([]byte, size)
  7629. n, err := m.MarshalTo(data)
  7630. if err != nil {
  7631. return nil, err
  7632. }
  7633. return data[:n], nil
  7634. }
  7635. func (m *ServiceAccountList) MarshalTo(data []byte) (int, error) {
  7636. var i int
  7637. _ = i
  7638. var l int
  7639. _ = l
  7640. data[i] = 0xa
  7641. i++
  7642. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  7643. n170, err := m.ListMeta.MarshalTo(data[i:])
  7644. if err != nil {
  7645. return 0, err
  7646. }
  7647. i += n170
  7648. if len(m.Items) > 0 {
  7649. for _, msg := range m.Items {
  7650. data[i] = 0x12
  7651. i++
  7652. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7653. n, err := msg.MarshalTo(data[i:])
  7654. if err != nil {
  7655. return 0, err
  7656. }
  7657. i += n
  7658. }
  7659. }
  7660. return i, nil
  7661. }
  7662. func (m *ServiceList) Marshal() (data []byte, err error) {
  7663. size := m.Size()
  7664. data = make([]byte, size)
  7665. n, err := m.MarshalTo(data)
  7666. if err != nil {
  7667. return nil, err
  7668. }
  7669. return data[:n], nil
  7670. }
  7671. func (m *ServiceList) MarshalTo(data []byte) (int, error) {
  7672. var i int
  7673. _ = i
  7674. var l int
  7675. _ = l
  7676. data[i] = 0xa
  7677. i++
  7678. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  7679. n171, err := m.ListMeta.MarshalTo(data[i:])
  7680. if err != nil {
  7681. return 0, err
  7682. }
  7683. i += n171
  7684. if len(m.Items) > 0 {
  7685. for _, msg := range m.Items {
  7686. data[i] = 0x12
  7687. i++
  7688. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7689. n, err := msg.MarshalTo(data[i:])
  7690. if err != nil {
  7691. return 0, err
  7692. }
  7693. i += n
  7694. }
  7695. }
  7696. return i, nil
  7697. }
  7698. func (m *ServicePort) Marshal() (data []byte, err error) {
  7699. size := m.Size()
  7700. data = make([]byte, size)
  7701. n, err := m.MarshalTo(data)
  7702. if err != nil {
  7703. return nil, err
  7704. }
  7705. return data[:n], nil
  7706. }
  7707. func (m *ServicePort) MarshalTo(data []byte) (int, error) {
  7708. var i int
  7709. _ = i
  7710. var l int
  7711. _ = l
  7712. data[i] = 0xa
  7713. i++
  7714. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  7715. i += copy(data[i:], m.Name)
  7716. data[i] = 0x12
  7717. i++
  7718. i = encodeVarintGenerated(data, i, uint64(len(m.Protocol)))
  7719. i += copy(data[i:], m.Protocol)
  7720. data[i] = 0x18
  7721. i++
  7722. i = encodeVarintGenerated(data, i, uint64(m.Port))
  7723. data[i] = 0x22
  7724. i++
  7725. i = encodeVarintGenerated(data, i, uint64(m.TargetPort.Size()))
  7726. n172, err := m.TargetPort.MarshalTo(data[i:])
  7727. if err != nil {
  7728. return 0, err
  7729. }
  7730. i += n172
  7731. data[i] = 0x28
  7732. i++
  7733. i = encodeVarintGenerated(data, i, uint64(m.NodePort))
  7734. return i, nil
  7735. }
  7736. func (m *ServiceProxyOptions) Marshal() (data []byte, err error) {
  7737. size := m.Size()
  7738. data = make([]byte, size)
  7739. n, err := m.MarshalTo(data)
  7740. if err != nil {
  7741. return nil, err
  7742. }
  7743. return data[:n], nil
  7744. }
  7745. func (m *ServiceProxyOptions) MarshalTo(data []byte) (int, error) {
  7746. var i int
  7747. _ = i
  7748. var l int
  7749. _ = l
  7750. data[i] = 0xa
  7751. i++
  7752. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  7753. i += copy(data[i:], m.Path)
  7754. return i, nil
  7755. }
  7756. func (m *ServiceSpec) Marshal() (data []byte, err error) {
  7757. size := m.Size()
  7758. data = make([]byte, size)
  7759. n, err := m.MarshalTo(data)
  7760. if err != nil {
  7761. return nil, err
  7762. }
  7763. return data[:n], nil
  7764. }
  7765. func (m *ServiceSpec) MarshalTo(data []byte) (int, error) {
  7766. var i int
  7767. _ = i
  7768. var l int
  7769. _ = l
  7770. if len(m.Ports) > 0 {
  7771. for _, msg := range m.Ports {
  7772. data[i] = 0xa
  7773. i++
  7774. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  7775. n, err := msg.MarshalTo(data[i:])
  7776. if err != nil {
  7777. return 0, err
  7778. }
  7779. i += n
  7780. }
  7781. }
  7782. if len(m.Selector) > 0 {
  7783. for k := range m.Selector {
  7784. data[i] = 0x12
  7785. i++
  7786. v := m.Selector[k]
  7787. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7788. i = encodeVarintGenerated(data, i, uint64(mapSize))
  7789. data[i] = 0xa
  7790. i++
  7791. i = encodeVarintGenerated(data, i, uint64(len(k)))
  7792. i += copy(data[i:], k)
  7793. data[i] = 0x12
  7794. i++
  7795. i = encodeVarintGenerated(data, i, uint64(len(v)))
  7796. i += copy(data[i:], v)
  7797. }
  7798. }
  7799. data[i] = 0x1a
  7800. i++
  7801. i = encodeVarintGenerated(data, i, uint64(len(m.ClusterIP)))
  7802. i += copy(data[i:], m.ClusterIP)
  7803. data[i] = 0x22
  7804. i++
  7805. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  7806. i += copy(data[i:], m.Type)
  7807. if len(m.ExternalIPs) > 0 {
  7808. for _, s := range m.ExternalIPs {
  7809. data[i] = 0x2a
  7810. i++
  7811. l = len(s)
  7812. for l >= 1<<7 {
  7813. data[i] = uint8(uint64(l)&0x7f | 0x80)
  7814. l >>= 7
  7815. i++
  7816. }
  7817. data[i] = uint8(l)
  7818. i++
  7819. i += copy(data[i:], s)
  7820. }
  7821. }
  7822. if len(m.DeprecatedPublicIPs) > 0 {
  7823. for _, s := range m.DeprecatedPublicIPs {
  7824. data[i] = 0x32
  7825. i++
  7826. l = len(s)
  7827. for l >= 1<<7 {
  7828. data[i] = uint8(uint64(l)&0x7f | 0x80)
  7829. l >>= 7
  7830. i++
  7831. }
  7832. data[i] = uint8(l)
  7833. i++
  7834. i += copy(data[i:], s)
  7835. }
  7836. }
  7837. data[i] = 0x3a
  7838. i++
  7839. i = encodeVarintGenerated(data, i, uint64(len(m.SessionAffinity)))
  7840. i += copy(data[i:], m.SessionAffinity)
  7841. data[i] = 0x42
  7842. i++
  7843. i = encodeVarintGenerated(data, i, uint64(len(m.LoadBalancerIP)))
  7844. i += copy(data[i:], m.LoadBalancerIP)
  7845. if len(m.LoadBalancerSourceRanges) > 0 {
  7846. for _, s := range m.LoadBalancerSourceRanges {
  7847. data[i] = 0x4a
  7848. i++
  7849. l = len(s)
  7850. for l >= 1<<7 {
  7851. data[i] = uint8(uint64(l)&0x7f | 0x80)
  7852. l >>= 7
  7853. i++
  7854. }
  7855. data[i] = uint8(l)
  7856. i++
  7857. i += copy(data[i:], s)
  7858. }
  7859. }
  7860. data[i] = 0x52
  7861. i++
  7862. i = encodeVarintGenerated(data, i, uint64(len(m.ExternalName)))
  7863. i += copy(data[i:], m.ExternalName)
  7864. return i, nil
  7865. }
  7866. func (m *ServiceStatus) Marshal() (data []byte, err error) {
  7867. size := m.Size()
  7868. data = make([]byte, size)
  7869. n, err := m.MarshalTo(data)
  7870. if err != nil {
  7871. return nil, err
  7872. }
  7873. return data[:n], nil
  7874. }
  7875. func (m *ServiceStatus) MarshalTo(data []byte) (int, error) {
  7876. var i int
  7877. _ = i
  7878. var l int
  7879. _ = l
  7880. data[i] = 0xa
  7881. i++
  7882. i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size()))
  7883. n173, err := m.LoadBalancer.MarshalTo(data[i:])
  7884. if err != nil {
  7885. return 0, err
  7886. }
  7887. i += n173
  7888. return i, nil
  7889. }
  7890. func (m *Sysctl) Marshal() (data []byte, err error) {
  7891. size := m.Size()
  7892. data = make([]byte, size)
  7893. n, err := m.MarshalTo(data)
  7894. if err != nil {
  7895. return nil, err
  7896. }
  7897. return data[:n], nil
  7898. }
  7899. func (m *Sysctl) MarshalTo(data []byte) (int, error) {
  7900. var i int
  7901. _ = i
  7902. var l int
  7903. _ = l
  7904. data[i] = 0xa
  7905. i++
  7906. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  7907. i += copy(data[i:], m.Name)
  7908. data[i] = 0x12
  7909. i++
  7910. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  7911. i += copy(data[i:], m.Value)
  7912. return i, nil
  7913. }
  7914. func (m *TCPSocketAction) Marshal() (data []byte, err error) {
  7915. size := m.Size()
  7916. data = make([]byte, size)
  7917. n, err := m.MarshalTo(data)
  7918. if err != nil {
  7919. return nil, err
  7920. }
  7921. return data[:n], nil
  7922. }
  7923. func (m *TCPSocketAction) MarshalTo(data []byte) (int, error) {
  7924. var i int
  7925. _ = i
  7926. var l int
  7927. _ = l
  7928. data[i] = 0xa
  7929. i++
  7930. i = encodeVarintGenerated(data, i, uint64(m.Port.Size()))
  7931. n174, err := m.Port.MarshalTo(data[i:])
  7932. if err != nil {
  7933. return 0, err
  7934. }
  7935. i += n174
  7936. return i, nil
  7937. }
  7938. func (m *Taint) Marshal() (data []byte, err error) {
  7939. size := m.Size()
  7940. data = make([]byte, size)
  7941. n, err := m.MarshalTo(data)
  7942. if err != nil {
  7943. return nil, err
  7944. }
  7945. return data[:n], nil
  7946. }
  7947. func (m *Taint) MarshalTo(data []byte) (int, error) {
  7948. var i int
  7949. _ = i
  7950. var l int
  7951. _ = l
  7952. data[i] = 0xa
  7953. i++
  7954. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  7955. i += copy(data[i:], m.Key)
  7956. data[i] = 0x12
  7957. i++
  7958. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  7959. i += copy(data[i:], m.Value)
  7960. data[i] = 0x1a
  7961. i++
  7962. i = encodeVarintGenerated(data, i, uint64(len(m.Effect)))
  7963. i += copy(data[i:], m.Effect)
  7964. data[i] = 0x22
  7965. i++
  7966. i = encodeVarintGenerated(data, i, uint64(m.TimeAdded.Size()))
  7967. n175, err := m.TimeAdded.MarshalTo(data[i:])
  7968. if err != nil {
  7969. return 0, err
  7970. }
  7971. i += n175
  7972. return i, nil
  7973. }
  7974. func (m *Toleration) Marshal() (data []byte, err error) {
  7975. size := m.Size()
  7976. data = make([]byte, size)
  7977. n, err := m.MarshalTo(data)
  7978. if err != nil {
  7979. return nil, err
  7980. }
  7981. return data[:n], nil
  7982. }
  7983. func (m *Toleration) MarshalTo(data []byte) (int, error) {
  7984. var i int
  7985. _ = i
  7986. var l int
  7987. _ = l
  7988. data[i] = 0xa
  7989. i++
  7990. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  7991. i += copy(data[i:], m.Key)
  7992. data[i] = 0x12
  7993. i++
  7994. i = encodeVarintGenerated(data, i, uint64(len(m.Operator)))
  7995. i += copy(data[i:], m.Operator)
  7996. data[i] = 0x1a
  7997. i++
  7998. i = encodeVarintGenerated(data, i, uint64(len(m.Value)))
  7999. i += copy(data[i:], m.Value)
  8000. data[i] = 0x22
  8001. i++
  8002. i = encodeVarintGenerated(data, i, uint64(len(m.Effect)))
  8003. i += copy(data[i:], m.Effect)
  8004. if m.TolerationSeconds != nil {
  8005. data[i] = 0x28
  8006. i++
  8007. i = encodeVarintGenerated(data, i, uint64(*m.TolerationSeconds))
  8008. }
  8009. return i, nil
  8010. }
  8011. func (m *Volume) Marshal() (data []byte, err error) {
  8012. size := m.Size()
  8013. data = make([]byte, size)
  8014. n, err := m.MarshalTo(data)
  8015. if err != nil {
  8016. return nil, err
  8017. }
  8018. return data[:n], nil
  8019. }
  8020. func (m *Volume) MarshalTo(data []byte) (int, error) {
  8021. var i int
  8022. _ = i
  8023. var l int
  8024. _ = l
  8025. data[i] = 0xa
  8026. i++
  8027. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  8028. i += copy(data[i:], m.Name)
  8029. data[i] = 0x12
  8030. i++
  8031. i = encodeVarintGenerated(data, i, uint64(m.VolumeSource.Size()))
  8032. n176, err := m.VolumeSource.MarshalTo(data[i:])
  8033. if err != nil {
  8034. return 0, err
  8035. }
  8036. i += n176
  8037. return i, nil
  8038. }
  8039. func (m *VolumeMount) Marshal() (data []byte, err error) {
  8040. size := m.Size()
  8041. data = make([]byte, size)
  8042. n, err := m.MarshalTo(data)
  8043. if err != nil {
  8044. return nil, err
  8045. }
  8046. return data[:n], nil
  8047. }
  8048. func (m *VolumeMount) MarshalTo(data []byte) (int, error) {
  8049. var i int
  8050. _ = i
  8051. var l int
  8052. _ = l
  8053. data[i] = 0xa
  8054. i++
  8055. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  8056. i += copy(data[i:], m.Name)
  8057. data[i] = 0x10
  8058. i++
  8059. if m.ReadOnly {
  8060. data[i] = 1
  8061. } else {
  8062. data[i] = 0
  8063. }
  8064. i++
  8065. data[i] = 0x1a
  8066. i++
  8067. i = encodeVarintGenerated(data, i, uint64(len(m.MountPath)))
  8068. i += copy(data[i:], m.MountPath)
  8069. data[i] = 0x22
  8070. i++
  8071. i = encodeVarintGenerated(data, i, uint64(len(m.SubPath)))
  8072. i += copy(data[i:], m.SubPath)
  8073. return i, nil
  8074. }
  8075. func (m *VolumeProjection) Marshal() (data []byte, err error) {
  8076. size := m.Size()
  8077. data = make([]byte, size)
  8078. n, err := m.MarshalTo(data)
  8079. if err != nil {
  8080. return nil, err
  8081. }
  8082. return data[:n], nil
  8083. }
  8084. func (m *VolumeProjection) MarshalTo(data []byte) (int, error) {
  8085. var i int
  8086. _ = i
  8087. var l int
  8088. _ = l
  8089. if m.Secret != nil {
  8090. data[i] = 0xa
  8091. i++
  8092. i = encodeVarintGenerated(data, i, uint64(m.Secret.Size()))
  8093. n177, err := m.Secret.MarshalTo(data[i:])
  8094. if err != nil {
  8095. return 0, err
  8096. }
  8097. i += n177
  8098. }
  8099. if m.DownwardAPI != nil {
  8100. data[i] = 0x12
  8101. i++
  8102. i = encodeVarintGenerated(data, i, uint64(m.DownwardAPI.Size()))
  8103. n178, err := m.DownwardAPI.MarshalTo(data[i:])
  8104. if err != nil {
  8105. return 0, err
  8106. }
  8107. i += n178
  8108. }
  8109. if m.ConfigMap != nil {
  8110. data[i] = 0x1a
  8111. i++
  8112. i = encodeVarintGenerated(data, i, uint64(m.ConfigMap.Size()))
  8113. n179, err := m.ConfigMap.MarshalTo(data[i:])
  8114. if err != nil {
  8115. return 0, err
  8116. }
  8117. i += n179
  8118. }
  8119. return i, nil
  8120. }
  8121. func (m *VolumeSource) Marshal() (data []byte, err error) {
  8122. size := m.Size()
  8123. data = make([]byte, size)
  8124. n, err := m.MarshalTo(data)
  8125. if err != nil {
  8126. return nil, err
  8127. }
  8128. return data[:n], nil
  8129. }
  8130. func (m *VolumeSource) MarshalTo(data []byte) (int, error) {
  8131. var i int
  8132. _ = i
  8133. var l int
  8134. _ = l
  8135. if m.HostPath != nil {
  8136. data[i] = 0xa
  8137. i++
  8138. i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size()))
  8139. n180, err := m.HostPath.MarshalTo(data[i:])
  8140. if err != nil {
  8141. return 0, err
  8142. }
  8143. i += n180
  8144. }
  8145. if m.EmptyDir != nil {
  8146. data[i] = 0x12
  8147. i++
  8148. i = encodeVarintGenerated(data, i, uint64(m.EmptyDir.Size()))
  8149. n181, err := m.EmptyDir.MarshalTo(data[i:])
  8150. if err != nil {
  8151. return 0, err
  8152. }
  8153. i += n181
  8154. }
  8155. if m.GCEPersistentDisk != nil {
  8156. data[i] = 0x1a
  8157. i++
  8158. i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size()))
  8159. n182, err := m.GCEPersistentDisk.MarshalTo(data[i:])
  8160. if err != nil {
  8161. return 0, err
  8162. }
  8163. i += n182
  8164. }
  8165. if m.AWSElasticBlockStore != nil {
  8166. data[i] = 0x22
  8167. i++
  8168. i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size()))
  8169. n183, err := m.AWSElasticBlockStore.MarshalTo(data[i:])
  8170. if err != nil {
  8171. return 0, err
  8172. }
  8173. i += n183
  8174. }
  8175. if m.GitRepo != nil {
  8176. data[i] = 0x2a
  8177. i++
  8178. i = encodeVarintGenerated(data, i, uint64(m.GitRepo.Size()))
  8179. n184, err := m.GitRepo.MarshalTo(data[i:])
  8180. if err != nil {
  8181. return 0, err
  8182. }
  8183. i += n184
  8184. }
  8185. if m.Secret != nil {
  8186. data[i] = 0x32
  8187. i++
  8188. i = encodeVarintGenerated(data, i, uint64(m.Secret.Size()))
  8189. n185, err := m.Secret.MarshalTo(data[i:])
  8190. if err != nil {
  8191. return 0, err
  8192. }
  8193. i += n185
  8194. }
  8195. if m.NFS != nil {
  8196. data[i] = 0x3a
  8197. i++
  8198. i = encodeVarintGenerated(data, i, uint64(m.NFS.Size()))
  8199. n186, err := m.NFS.MarshalTo(data[i:])
  8200. if err != nil {
  8201. return 0, err
  8202. }
  8203. i += n186
  8204. }
  8205. if m.ISCSI != nil {
  8206. data[i] = 0x42
  8207. i++
  8208. i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size()))
  8209. n187, err := m.ISCSI.MarshalTo(data[i:])
  8210. if err != nil {
  8211. return 0, err
  8212. }
  8213. i += n187
  8214. }
  8215. if m.Glusterfs != nil {
  8216. data[i] = 0x4a
  8217. i++
  8218. i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size()))
  8219. n188, err := m.Glusterfs.MarshalTo(data[i:])
  8220. if err != nil {
  8221. return 0, err
  8222. }
  8223. i += n188
  8224. }
  8225. if m.PersistentVolumeClaim != nil {
  8226. data[i] = 0x52
  8227. i++
  8228. i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeClaim.Size()))
  8229. n189, err := m.PersistentVolumeClaim.MarshalTo(data[i:])
  8230. if err != nil {
  8231. return 0, err
  8232. }
  8233. i += n189
  8234. }
  8235. if m.RBD != nil {
  8236. data[i] = 0x5a
  8237. i++
  8238. i = encodeVarintGenerated(data, i, uint64(m.RBD.Size()))
  8239. n190, err := m.RBD.MarshalTo(data[i:])
  8240. if err != nil {
  8241. return 0, err
  8242. }
  8243. i += n190
  8244. }
  8245. if m.FlexVolume != nil {
  8246. data[i] = 0x62
  8247. i++
  8248. i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size()))
  8249. n191, err := m.FlexVolume.MarshalTo(data[i:])
  8250. if err != nil {
  8251. return 0, err
  8252. }
  8253. i += n191
  8254. }
  8255. if m.Cinder != nil {
  8256. data[i] = 0x6a
  8257. i++
  8258. i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size()))
  8259. n192, err := m.Cinder.MarshalTo(data[i:])
  8260. if err != nil {
  8261. return 0, err
  8262. }
  8263. i += n192
  8264. }
  8265. if m.CephFS != nil {
  8266. data[i] = 0x72
  8267. i++
  8268. i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size()))
  8269. n193, err := m.CephFS.MarshalTo(data[i:])
  8270. if err != nil {
  8271. return 0, err
  8272. }
  8273. i += n193
  8274. }
  8275. if m.Flocker != nil {
  8276. data[i] = 0x7a
  8277. i++
  8278. i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size()))
  8279. n194, err := m.Flocker.MarshalTo(data[i:])
  8280. if err != nil {
  8281. return 0, err
  8282. }
  8283. i += n194
  8284. }
  8285. if m.DownwardAPI != nil {
  8286. data[i] = 0x82
  8287. i++
  8288. data[i] = 0x1
  8289. i++
  8290. i = encodeVarintGenerated(data, i, uint64(m.DownwardAPI.Size()))
  8291. n195, err := m.DownwardAPI.MarshalTo(data[i:])
  8292. if err != nil {
  8293. return 0, err
  8294. }
  8295. i += n195
  8296. }
  8297. if m.FC != nil {
  8298. data[i] = 0x8a
  8299. i++
  8300. data[i] = 0x1
  8301. i++
  8302. i = encodeVarintGenerated(data, i, uint64(m.FC.Size()))
  8303. n196, err := m.FC.MarshalTo(data[i:])
  8304. if err != nil {
  8305. return 0, err
  8306. }
  8307. i += n196
  8308. }
  8309. if m.AzureFile != nil {
  8310. data[i] = 0x92
  8311. i++
  8312. data[i] = 0x1
  8313. i++
  8314. i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size()))
  8315. n197, err := m.AzureFile.MarshalTo(data[i:])
  8316. if err != nil {
  8317. return 0, err
  8318. }
  8319. i += n197
  8320. }
  8321. if m.ConfigMap != nil {
  8322. data[i] = 0x9a
  8323. i++
  8324. data[i] = 0x1
  8325. i++
  8326. i = encodeVarintGenerated(data, i, uint64(m.ConfigMap.Size()))
  8327. n198, err := m.ConfigMap.MarshalTo(data[i:])
  8328. if err != nil {
  8329. return 0, err
  8330. }
  8331. i += n198
  8332. }
  8333. if m.VsphereVolume != nil {
  8334. data[i] = 0xa2
  8335. i++
  8336. data[i] = 0x1
  8337. i++
  8338. i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size()))
  8339. n199, err := m.VsphereVolume.MarshalTo(data[i:])
  8340. if err != nil {
  8341. return 0, err
  8342. }
  8343. i += n199
  8344. }
  8345. if m.Quobyte != nil {
  8346. data[i] = 0xaa
  8347. i++
  8348. data[i] = 0x1
  8349. i++
  8350. i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size()))
  8351. n200, err := m.Quobyte.MarshalTo(data[i:])
  8352. if err != nil {
  8353. return 0, err
  8354. }
  8355. i += n200
  8356. }
  8357. if m.AzureDisk != nil {
  8358. data[i] = 0xb2
  8359. i++
  8360. data[i] = 0x1
  8361. i++
  8362. i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size()))
  8363. n201, err := m.AzureDisk.MarshalTo(data[i:])
  8364. if err != nil {
  8365. return 0, err
  8366. }
  8367. i += n201
  8368. }
  8369. if m.PhotonPersistentDisk != nil {
  8370. data[i] = 0xba
  8371. i++
  8372. data[i] = 0x1
  8373. i++
  8374. i = encodeVarintGenerated(data, i, uint64(m.PhotonPersistentDisk.Size()))
  8375. n202, err := m.PhotonPersistentDisk.MarshalTo(data[i:])
  8376. if err != nil {
  8377. return 0, err
  8378. }
  8379. i += n202
  8380. }
  8381. if m.PortworxVolume != nil {
  8382. data[i] = 0xc2
  8383. i++
  8384. data[i] = 0x1
  8385. i++
  8386. i = encodeVarintGenerated(data, i, uint64(m.PortworxVolume.Size()))
  8387. n203, err := m.PortworxVolume.MarshalTo(data[i:])
  8388. if err != nil {
  8389. return 0, err
  8390. }
  8391. i += n203
  8392. }
  8393. if m.ScaleIO != nil {
  8394. data[i] = 0xca
  8395. i++
  8396. data[i] = 0x1
  8397. i++
  8398. i = encodeVarintGenerated(data, i, uint64(m.ScaleIO.Size()))
  8399. n204, err := m.ScaleIO.MarshalTo(data[i:])
  8400. if err != nil {
  8401. return 0, err
  8402. }
  8403. i += n204
  8404. }
  8405. if m.Projected != nil {
  8406. data[i] = 0xd2
  8407. i++
  8408. data[i] = 0x1
  8409. i++
  8410. i = encodeVarintGenerated(data, i, uint64(m.Projected.Size()))
  8411. n205, err := m.Projected.MarshalTo(data[i:])
  8412. if err != nil {
  8413. return 0, err
  8414. }
  8415. i += n205
  8416. }
  8417. return i, nil
  8418. }
  8419. func (m *VsphereVirtualDiskVolumeSource) Marshal() (data []byte, err error) {
  8420. size := m.Size()
  8421. data = make([]byte, size)
  8422. n, err := m.MarshalTo(data)
  8423. if err != nil {
  8424. return nil, err
  8425. }
  8426. return data[:n], nil
  8427. }
  8428. func (m *VsphereVirtualDiskVolumeSource) MarshalTo(data []byte) (int, error) {
  8429. var i int
  8430. _ = i
  8431. var l int
  8432. _ = l
  8433. data[i] = 0xa
  8434. i++
  8435. i = encodeVarintGenerated(data, i, uint64(len(m.VolumePath)))
  8436. i += copy(data[i:], m.VolumePath)
  8437. data[i] = 0x12
  8438. i++
  8439. i = encodeVarintGenerated(data, i, uint64(len(m.FSType)))
  8440. i += copy(data[i:], m.FSType)
  8441. return i, nil
  8442. }
  8443. func (m *WeightedPodAffinityTerm) Marshal() (data []byte, err error) {
  8444. size := m.Size()
  8445. data = make([]byte, size)
  8446. n, err := m.MarshalTo(data)
  8447. if err != nil {
  8448. return nil, err
  8449. }
  8450. return data[:n], nil
  8451. }
  8452. func (m *WeightedPodAffinityTerm) MarshalTo(data []byte) (int, error) {
  8453. var i int
  8454. _ = i
  8455. var l int
  8456. _ = l
  8457. data[i] = 0x8
  8458. i++
  8459. i = encodeVarintGenerated(data, i, uint64(m.Weight))
  8460. data[i] = 0x12
  8461. i++
  8462. i = encodeVarintGenerated(data, i, uint64(m.PodAffinityTerm.Size()))
  8463. n206, err := m.PodAffinityTerm.MarshalTo(data[i:])
  8464. if err != nil {
  8465. return 0, err
  8466. }
  8467. i += n206
  8468. return i, nil
  8469. }
  8470. func encodeFixed64Generated(data []byte, offset int, v uint64) int {
  8471. data[offset] = uint8(v)
  8472. data[offset+1] = uint8(v >> 8)
  8473. data[offset+2] = uint8(v >> 16)
  8474. data[offset+3] = uint8(v >> 24)
  8475. data[offset+4] = uint8(v >> 32)
  8476. data[offset+5] = uint8(v >> 40)
  8477. data[offset+6] = uint8(v >> 48)
  8478. data[offset+7] = uint8(v >> 56)
  8479. return offset + 8
  8480. }
  8481. func encodeFixed32Generated(data []byte, offset int, v uint32) int {
  8482. data[offset] = uint8(v)
  8483. data[offset+1] = uint8(v >> 8)
  8484. data[offset+2] = uint8(v >> 16)
  8485. data[offset+3] = uint8(v >> 24)
  8486. return offset + 4
  8487. }
  8488. func encodeVarintGenerated(data []byte, offset int, v uint64) int {
  8489. for v >= 1<<7 {
  8490. data[offset] = uint8(v&0x7f | 0x80)
  8491. v >>= 7
  8492. offset++
  8493. }
  8494. data[offset] = uint8(v)
  8495. return offset + 1
  8496. }
  8497. func (m *AWSElasticBlockStoreVolumeSource) Size() (n int) {
  8498. var l int
  8499. _ = l
  8500. l = len(m.VolumeID)
  8501. n += 1 + l + sovGenerated(uint64(l))
  8502. l = len(m.FSType)
  8503. n += 1 + l + sovGenerated(uint64(l))
  8504. n += 1 + sovGenerated(uint64(m.Partition))
  8505. n += 2
  8506. return n
  8507. }
  8508. func (m *Affinity) Size() (n int) {
  8509. var l int
  8510. _ = l
  8511. if m.NodeAffinity != nil {
  8512. l = m.NodeAffinity.Size()
  8513. n += 1 + l + sovGenerated(uint64(l))
  8514. }
  8515. if m.PodAffinity != nil {
  8516. l = m.PodAffinity.Size()
  8517. n += 1 + l + sovGenerated(uint64(l))
  8518. }
  8519. if m.PodAntiAffinity != nil {
  8520. l = m.PodAntiAffinity.Size()
  8521. n += 1 + l + sovGenerated(uint64(l))
  8522. }
  8523. return n
  8524. }
  8525. func (m *AttachedVolume) Size() (n int) {
  8526. var l int
  8527. _ = l
  8528. l = len(m.Name)
  8529. n += 1 + l + sovGenerated(uint64(l))
  8530. l = len(m.DevicePath)
  8531. n += 1 + l + sovGenerated(uint64(l))
  8532. return n
  8533. }
  8534. func (m *AvoidPods) Size() (n int) {
  8535. var l int
  8536. _ = l
  8537. if len(m.PreferAvoidPods) > 0 {
  8538. for _, e := range m.PreferAvoidPods {
  8539. l = e.Size()
  8540. n += 1 + l + sovGenerated(uint64(l))
  8541. }
  8542. }
  8543. return n
  8544. }
  8545. func (m *AzureDiskVolumeSource) Size() (n int) {
  8546. var l int
  8547. _ = l
  8548. l = len(m.DiskName)
  8549. n += 1 + l + sovGenerated(uint64(l))
  8550. l = len(m.DataDiskURI)
  8551. n += 1 + l + sovGenerated(uint64(l))
  8552. if m.CachingMode != nil {
  8553. l = len(*m.CachingMode)
  8554. n += 1 + l + sovGenerated(uint64(l))
  8555. }
  8556. if m.FSType != nil {
  8557. l = len(*m.FSType)
  8558. n += 1 + l + sovGenerated(uint64(l))
  8559. }
  8560. if m.ReadOnly != nil {
  8561. n += 2
  8562. }
  8563. return n
  8564. }
  8565. func (m *AzureFileVolumeSource) Size() (n int) {
  8566. var l int
  8567. _ = l
  8568. l = len(m.SecretName)
  8569. n += 1 + l + sovGenerated(uint64(l))
  8570. l = len(m.ShareName)
  8571. n += 1 + l + sovGenerated(uint64(l))
  8572. n += 2
  8573. return n
  8574. }
  8575. func (m *Binding) Size() (n int) {
  8576. var l int
  8577. _ = l
  8578. l = m.ObjectMeta.Size()
  8579. n += 1 + l + sovGenerated(uint64(l))
  8580. l = m.Target.Size()
  8581. n += 1 + l + sovGenerated(uint64(l))
  8582. return n
  8583. }
  8584. func (m *Capabilities) Size() (n int) {
  8585. var l int
  8586. _ = l
  8587. if len(m.Add) > 0 {
  8588. for _, s := range m.Add {
  8589. l = len(s)
  8590. n += 1 + l + sovGenerated(uint64(l))
  8591. }
  8592. }
  8593. if len(m.Drop) > 0 {
  8594. for _, s := range m.Drop {
  8595. l = len(s)
  8596. n += 1 + l + sovGenerated(uint64(l))
  8597. }
  8598. }
  8599. return n
  8600. }
  8601. func (m *CephFSVolumeSource) Size() (n int) {
  8602. var l int
  8603. _ = l
  8604. if len(m.Monitors) > 0 {
  8605. for _, s := range m.Monitors {
  8606. l = len(s)
  8607. n += 1 + l + sovGenerated(uint64(l))
  8608. }
  8609. }
  8610. l = len(m.Path)
  8611. n += 1 + l + sovGenerated(uint64(l))
  8612. l = len(m.User)
  8613. n += 1 + l + sovGenerated(uint64(l))
  8614. l = len(m.SecretFile)
  8615. n += 1 + l + sovGenerated(uint64(l))
  8616. if m.SecretRef != nil {
  8617. l = m.SecretRef.Size()
  8618. n += 1 + l + sovGenerated(uint64(l))
  8619. }
  8620. n += 2
  8621. return n
  8622. }
  8623. func (m *CinderVolumeSource) Size() (n int) {
  8624. var l int
  8625. _ = l
  8626. l = len(m.VolumeID)
  8627. n += 1 + l + sovGenerated(uint64(l))
  8628. l = len(m.FSType)
  8629. n += 1 + l + sovGenerated(uint64(l))
  8630. n += 2
  8631. return n
  8632. }
  8633. func (m *ComponentCondition) Size() (n int) {
  8634. var l int
  8635. _ = l
  8636. l = len(m.Type)
  8637. n += 1 + l + sovGenerated(uint64(l))
  8638. l = len(m.Status)
  8639. n += 1 + l + sovGenerated(uint64(l))
  8640. l = len(m.Message)
  8641. n += 1 + l + sovGenerated(uint64(l))
  8642. l = len(m.Error)
  8643. n += 1 + l + sovGenerated(uint64(l))
  8644. return n
  8645. }
  8646. func (m *ComponentStatus) Size() (n int) {
  8647. var l int
  8648. _ = l
  8649. l = m.ObjectMeta.Size()
  8650. n += 1 + l + sovGenerated(uint64(l))
  8651. if len(m.Conditions) > 0 {
  8652. for _, e := range m.Conditions {
  8653. l = e.Size()
  8654. n += 1 + l + sovGenerated(uint64(l))
  8655. }
  8656. }
  8657. return n
  8658. }
  8659. func (m *ComponentStatusList) Size() (n int) {
  8660. var l int
  8661. _ = l
  8662. l = m.ListMeta.Size()
  8663. n += 1 + l + sovGenerated(uint64(l))
  8664. if len(m.Items) > 0 {
  8665. for _, e := range m.Items {
  8666. l = e.Size()
  8667. n += 1 + l + sovGenerated(uint64(l))
  8668. }
  8669. }
  8670. return n
  8671. }
  8672. func (m *ConfigMap) Size() (n int) {
  8673. var l int
  8674. _ = l
  8675. l = m.ObjectMeta.Size()
  8676. n += 1 + l + sovGenerated(uint64(l))
  8677. if len(m.Data) > 0 {
  8678. for k, v := range m.Data {
  8679. _ = k
  8680. _ = v
  8681. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  8682. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  8683. }
  8684. }
  8685. return n
  8686. }
  8687. func (m *ConfigMapEnvSource) Size() (n int) {
  8688. var l int
  8689. _ = l
  8690. l = m.LocalObjectReference.Size()
  8691. n += 1 + l + sovGenerated(uint64(l))
  8692. if m.Optional != nil {
  8693. n += 2
  8694. }
  8695. return n
  8696. }
  8697. func (m *ConfigMapKeySelector) Size() (n int) {
  8698. var l int
  8699. _ = l
  8700. l = m.LocalObjectReference.Size()
  8701. n += 1 + l + sovGenerated(uint64(l))
  8702. l = len(m.Key)
  8703. n += 1 + l + sovGenerated(uint64(l))
  8704. if m.Optional != nil {
  8705. n += 2
  8706. }
  8707. return n
  8708. }
  8709. func (m *ConfigMapList) Size() (n int) {
  8710. var l int
  8711. _ = l
  8712. l = m.ListMeta.Size()
  8713. n += 1 + l + sovGenerated(uint64(l))
  8714. if len(m.Items) > 0 {
  8715. for _, e := range m.Items {
  8716. l = e.Size()
  8717. n += 1 + l + sovGenerated(uint64(l))
  8718. }
  8719. }
  8720. return n
  8721. }
  8722. func (m *ConfigMapProjection) Size() (n int) {
  8723. var l int
  8724. _ = l
  8725. l = m.LocalObjectReference.Size()
  8726. n += 1 + l + sovGenerated(uint64(l))
  8727. if len(m.Items) > 0 {
  8728. for _, e := range m.Items {
  8729. l = e.Size()
  8730. n += 1 + l + sovGenerated(uint64(l))
  8731. }
  8732. }
  8733. if m.Optional != nil {
  8734. n += 2
  8735. }
  8736. return n
  8737. }
  8738. func (m *ConfigMapVolumeSource) Size() (n int) {
  8739. var l int
  8740. _ = l
  8741. l = m.LocalObjectReference.Size()
  8742. n += 1 + l + sovGenerated(uint64(l))
  8743. if len(m.Items) > 0 {
  8744. for _, e := range m.Items {
  8745. l = e.Size()
  8746. n += 1 + l + sovGenerated(uint64(l))
  8747. }
  8748. }
  8749. if m.DefaultMode != nil {
  8750. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  8751. }
  8752. if m.Optional != nil {
  8753. n += 2
  8754. }
  8755. return n
  8756. }
  8757. func (m *Container) Size() (n int) {
  8758. var l int
  8759. _ = l
  8760. l = len(m.Name)
  8761. n += 1 + l + sovGenerated(uint64(l))
  8762. l = len(m.Image)
  8763. n += 1 + l + sovGenerated(uint64(l))
  8764. if len(m.Command) > 0 {
  8765. for _, s := range m.Command {
  8766. l = len(s)
  8767. n += 1 + l + sovGenerated(uint64(l))
  8768. }
  8769. }
  8770. if len(m.Args) > 0 {
  8771. for _, s := range m.Args {
  8772. l = len(s)
  8773. n += 1 + l + sovGenerated(uint64(l))
  8774. }
  8775. }
  8776. l = len(m.WorkingDir)
  8777. n += 1 + l + sovGenerated(uint64(l))
  8778. if len(m.Ports) > 0 {
  8779. for _, e := range m.Ports {
  8780. l = e.Size()
  8781. n += 1 + l + sovGenerated(uint64(l))
  8782. }
  8783. }
  8784. if len(m.Env) > 0 {
  8785. for _, e := range m.Env {
  8786. l = e.Size()
  8787. n += 1 + l + sovGenerated(uint64(l))
  8788. }
  8789. }
  8790. l = m.Resources.Size()
  8791. n += 1 + l + sovGenerated(uint64(l))
  8792. if len(m.VolumeMounts) > 0 {
  8793. for _, e := range m.VolumeMounts {
  8794. l = e.Size()
  8795. n += 1 + l + sovGenerated(uint64(l))
  8796. }
  8797. }
  8798. if m.LivenessProbe != nil {
  8799. l = m.LivenessProbe.Size()
  8800. n += 1 + l + sovGenerated(uint64(l))
  8801. }
  8802. if m.ReadinessProbe != nil {
  8803. l = m.ReadinessProbe.Size()
  8804. n += 1 + l + sovGenerated(uint64(l))
  8805. }
  8806. if m.Lifecycle != nil {
  8807. l = m.Lifecycle.Size()
  8808. n += 1 + l + sovGenerated(uint64(l))
  8809. }
  8810. l = len(m.TerminationMessagePath)
  8811. n += 1 + l + sovGenerated(uint64(l))
  8812. l = len(m.ImagePullPolicy)
  8813. n += 1 + l + sovGenerated(uint64(l))
  8814. if m.SecurityContext != nil {
  8815. l = m.SecurityContext.Size()
  8816. n += 1 + l + sovGenerated(uint64(l))
  8817. }
  8818. n += 3
  8819. n += 3
  8820. n += 3
  8821. if len(m.EnvFrom) > 0 {
  8822. for _, e := range m.EnvFrom {
  8823. l = e.Size()
  8824. n += 2 + l + sovGenerated(uint64(l))
  8825. }
  8826. }
  8827. l = len(m.TerminationMessagePolicy)
  8828. n += 2 + l + sovGenerated(uint64(l))
  8829. return n
  8830. }
  8831. func (m *ContainerImage) Size() (n int) {
  8832. var l int
  8833. _ = l
  8834. if len(m.Names) > 0 {
  8835. for _, s := range m.Names {
  8836. l = len(s)
  8837. n += 1 + l + sovGenerated(uint64(l))
  8838. }
  8839. }
  8840. n += 1 + sovGenerated(uint64(m.SizeBytes))
  8841. return n
  8842. }
  8843. func (m *ContainerPort) Size() (n int) {
  8844. var l int
  8845. _ = l
  8846. l = len(m.Name)
  8847. n += 1 + l + sovGenerated(uint64(l))
  8848. n += 1 + sovGenerated(uint64(m.HostPort))
  8849. n += 1 + sovGenerated(uint64(m.ContainerPort))
  8850. l = len(m.Protocol)
  8851. n += 1 + l + sovGenerated(uint64(l))
  8852. l = len(m.HostIP)
  8853. n += 1 + l + sovGenerated(uint64(l))
  8854. return n
  8855. }
  8856. func (m *ContainerState) Size() (n int) {
  8857. var l int
  8858. _ = l
  8859. if m.Waiting != nil {
  8860. l = m.Waiting.Size()
  8861. n += 1 + l + sovGenerated(uint64(l))
  8862. }
  8863. if m.Running != nil {
  8864. l = m.Running.Size()
  8865. n += 1 + l + sovGenerated(uint64(l))
  8866. }
  8867. if m.Terminated != nil {
  8868. l = m.Terminated.Size()
  8869. n += 1 + l + sovGenerated(uint64(l))
  8870. }
  8871. return n
  8872. }
  8873. func (m *ContainerStateRunning) Size() (n int) {
  8874. var l int
  8875. _ = l
  8876. l = m.StartedAt.Size()
  8877. n += 1 + l + sovGenerated(uint64(l))
  8878. return n
  8879. }
  8880. func (m *ContainerStateTerminated) Size() (n int) {
  8881. var l int
  8882. _ = l
  8883. n += 1 + sovGenerated(uint64(m.ExitCode))
  8884. n += 1 + sovGenerated(uint64(m.Signal))
  8885. l = len(m.Reason)
  8886. n += 1 + l + sovGenerated(uint64(l))
  8887. l = len(m.Message)
  8888. n += 1 + l + sovGenerated(uint64(l))
  8889. l = m.StartedAt.Size()
  8890. n += 1 + l + sovGenerated(uint64(l))
  8891. l = m.FinishedAt.Size()
  8892. n += 1 + l + sovGenerated(uint64(l))
  8893. l = len(m.ContainerID)
  8894. n += 1 + l + sovGenerated(uint64(l))
  8895. return n
  8896. }
  8897. func (m *ContainerStateWaiting) Size() (n int) {
  8898. var l int
  8899. _ = l
  8900. l = len(m.Reason)
  8901. n += 1 + l + sovGenerated(uint64(l))
  8902. l = len(m.Message)
  8903. n += 1 + l + sovGenerated(uint64(l))
  8904. return n
  8905. }
  8906. func (m *ContainerStatus) Size() (n int) {
  8907. var l int
  8908. _ = l
  8909. l = len(m.Name)
  8910. n += 1 + l + sovGenerated(uint64(l))
  8911. l = m.State.Size()
  8912. n += 1 + l + sovGenerated(uint64(l))
  8913. l = m.LastTerminationState.Size()
  8914. n += 1 + l + sovGenerated(uint64(l))
  8915. n += 2
  8916. n += 1 + sovGenerated(uint64(m.RestartCount))
  8917. l = len(m.Image)
  8918. n += 1 + l + sovGenerated(uint64(l))
  8919. l = len(m.ImageID)
  8920. n += 1 + l + sovGenerated(uint64(l))
  8921. l = len(m.ContainerID)
  8922. n += 1 + l + sovGenerated(uint64(l))
  8923. return n
  8924. }
  8925. func (m *DaemonEndpoint) Size() (n int) {
  8926. var l int
  8927. _ = l
  8928. n += 1 + sovGenerated(uint64(m.Port))
  8929. return n
  8930. }
  8931. func (m *DeleteOptions) Size() (n int) {
  8932. var l int
  8933. _ = l
  8934. if m.GracePeriodSeconds != nil {
  8935. n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds))
  8936. }
  8937. if m.Preconditions != nil {
  8938. l = m.Preconditions.Size()
  8939. n += 1 + l + sovGenerated(uint64(l))
  8940. }
  8941. if m.OrphanDependents != nil {
  8942. n += 2
  8943. }
  8944. if m.PropagationPolicy != nil {
  8945. l = len(*m.PropagationPolicy)
  8946. n += 1 + l + sovGenerated(uint64(l))
  8947. }
  8948. return n
  8949. }
  8950. func (m *DownwardAPIProjection) Size() (n int) {
  8951. var l int
  8952. _ = l
  8953. if len(m.Items) > 0 {
  8954. for _, e := range m.Items {
  8955. l = e.Size()
  8956. n += 1 + l + sovGenerated(uint64(l))
  8957. }
  8958. }
  8959. return n
  8960. }
  8961. func (m *DownwardAPIVolumeFile) Size() (n int) {
  8962. var l int
  8963. _ = l
  8964. l = len(m.Path)
  8965. n += 1 + l + sovGenerated(uint64(l))
  8966. if m.FieldRef != nil {
  8967. l = m.FieldRef.Size()
  8968. n += 1 + l + sovGenerated(uint64(l))
  8969. }
  8970. if m.ResourceFieldRef != nil {
  8971. l = m.ResourceFieldRef.Size()
  8972. n += 1 + l + sovGenerated(uint64(l))
  8973. }
  8974. if m.Mode != nil {
  8975. n += 1 + sovGenerated(uint64(*m.Mode))
  8976. }
  8977. return n
  8978. }
  8979. func (m *DownwardAPIVolumeSource) Size() (n int) {
  8980. var l int
  8981. _ = l
  8982. if len(m.Items) > 0 {
  8983. for _, e := range m.Items {
  8984. l = e.Size()
  8985. n += 1 + l + sovGenerated(uint64(l))
  8986. }
  8987. }
  8988. if m.DefaultMode != nil {
  8989. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  8990. }
  8991. return n
  8992. }
  8993. func (m *EmptyDirVolumeSource) Size() (n int) {
  8994. var l int
  8995. _ = l
  8996. l = len(m.Medium)
  8997. n += 1 + l + sovGenerated(uint64(l))
  8998. return n
  8999. }
  9000. func (m *EndpointAddress) Size() (n int) {
  9001. var l int
  9002. _ = l
  9003. l = len(m.IP)
  9004. n += 1 + l + sovGenerated(uint64(l))
  9005. if m.TargetRef != nil {
  9006. l = m.TargetRef.Size()
  9007. n += 1 + l + sovGenerated(uint64(l))
  9008. }
  9009. l = len(m.Hostname)
  9010. n += 1 + l + sovGenerated(uint64(l))
  9011. if m.NodeName != nil {
  9012. l = len(*m.NodeName)
  9013. n += 1 + l + sovGenerated(uint64(l))
  9014. }
  9015. return n
  9016. }
  9017. func (m *EndpointPort) Size() (n int) {
  9018. var l int
  9019. _ = l
  9020. l = len(m.Name)
  9021. n += 1 + l + sovGenerated(uint64(l))
  9022. n += 1 + sovGenerated(uint64(m.Port))
  9023. l = len(m.Protocol)
  9024. n += 1 + l + sovGenerated(uint64(l))
  9025. return n
  9026. }
  9027. func (m *EndpointSubset) Size() (n int) {
  9028. var l int
  9029. _ = l
  9030. if len(m.Addresses) > 0 {
  9031. for _, e := range m.Addresses {
  9032. l = e.Size()
  9033. n += 1 + l + sovGenerated(uint64(l))
  9034. }
  9035. }
  9036. if len(m.NotReadyAddresses) > 0 {
  9037. for _, e := range m.NotReadyAddresses {
  9038. l = e.Size()
  9039. n += 1 + l + sovGenerated(uint64(l))
  9040. }
  9041. }
  9042. if len(m.Ports) > 0 {
  9043. for _, e := range m.Ports {
  9044. l = e.Size()
  9045. n += 1 + l + sovGenerated(uint64(l))
  9046. }
  9047. }
  9048. return n
  9049. }
  9050. func (m *Endpoints) Size() (n int) {
  9051. var l int
  9052. _ = l
  9053. l = m.ObjectMeta.Size()
  9054. n += 1 + l + sovGenerated(uint64(l))
  9055. if len(m.Subsets) > 0 {
  9056. for _, e := range m.Subsets {
  9057. l = e.Size()
  9058. n += 1 + l + sovGenerated(uint64(l))
  9059. }
  9060. }
  9061. return n
  9062. }
  9063. func (m *EndpointsList) Size() (n int) {
  9064. var l int
  9065. _ = l
  9066. l = m.ListMeta.Size()
  9067. n += 1 + l + sovGenerated(uint64(l))
  9068. if len(m.Items) > 0 {
  9069. for _, e := range m.Items {
  9070. l = e.Size()
  9071. n += 1 + l + sovGenerated(uint64(l))
  9072. }
  9073. }
  9074. return n
  9075. }
  9076. func (m *EnvFromSource) Size() (n int) {
  9077. var l int
  9078. _ = l
  9079. l = len(m.Prefix)
  9080. n += 1 + l + sovGenerated(uint64(l))
  9081. if m.ConfigMapRef != nil {
  9082. l = m.ConfigMapRef.Size()
  9083. n += 1 + l + sovGenerated(uint64(l))
  9084. }
  9085. if m.SecretRef != nil {
  9086. l = m.SecretRef.Size()
  9087. n += 1 + l + sovGenerated(uint64(l))
  9088. }
  9089. return n
  9090. }
  9091. func (m *EnvVar) Size() (n int) {
  9092. var l int
  9093. _ = l
  9094. l = len(m.Name)
  9095. n += 1 + l + sovGenerated(uint64(l))
  9096. l = len(m.Value)
  9097. n += 1 + l + sovGenerated(uint64(l))
  9098. if m.ValueFrom != nil {
  9099. l = m.ValueFrom.Size()
  9100. n += 1 + l + sovGenerated(uint64(l))
  9101. }
  9102. return n
  9103. }
  9104. func (m *EnvVarSource) Size() (n int) {
  9105. var l int
  9106. _ = l
  9107. if m.FieldRef != nil {
  9108. l = m.FieldRef.Size()
  9109. n += 1 + l + sovGenerated(uint64(l))
  9110. }
  9111. if m.ResourceFieldRef != nil {
  9112. l = m.ResourceFieldRef.Size()
  9113. n += 1 + l + sovGenerated(uint64(l))
  9114. }
  9115. if m.ConfigMapKeyRef != nil {
  9116. l = m.ConfigMapKeyRef.Size()
  9117. n += 1 + l + sovGenerated(uint64(l))
  9118. }
  9119. if m.SecretKeyRef != nil {
  9120. l = m.SecretKeyRef.Size()
  9121. n += 1 + l + sovGenerated(uint64(l))
  9122. }
  9123. return n
  9124. }
  9125. func (m *Event) Size() (n int) {
  9126. var l int
  9127. _ = l
  9128. l = m.ObjectMeta.Size()
  9129. n += 1 + l + sovGenerated(uint64(l))
  9130. l = m.InvolvedObject.Size()
  9131. n += 1 + l + sovGenerated(uint64(l))
  9132. l = len(m.Reason)
  9133. n += 1 + l + sovGenerated(uint64(l))
  9134. l = len(m.Message)
  9135. n += 1 + l + sovGenerated(uint64(l))
  9136. l = m.Source.Size()
  9137. n += 1 + l + sovGenerated(uint64(l))
  9138. l = m.FirstTimestamp.Size()
  9139. n += 1 + l + sovGenerated(uint64(l))
  9140. l = m.LastTimestamp.Size()
  9141. n += 1 + l + sovGenerated(uint64(l))
  9142. n += 1 + sovGenerated(uint64(m.Count))
  9143. l = len(m.Type)
  9144. n += 1 + l + sovGenerated(uint64(l))
  9145. return n
  9146. }
  9147. func (m *EventList) Size() (n int) {
  9148. var l int
  9149. _ = l
  9150. l = m.ListMeta.Size()
  9151. n += 1 + l + sovGenerated(uint64(l))
  9152. if len(m.Items) > 0 {
  9153. for _, e := range m.Items {
  9154. l = e.Size()
  9155. n += 1 + l + sovGenerated(uint64(l))
  9156. }
  9157. }
  9158. return n
  9159. }
  9160. func (m *EventSource) Size() (n int) {
  9161. var l int
  9162. _ = l
  9163. l = len(m.Component)
  9164. n += 1 + l + sovGenerated(uint64(l))
  9165. l = len(m.Host)
  9166. n += 1 + l + sovGenerated(uint64(l))
  9167. return n
  9168. }
  9169. func (m *ExecAction) Size() (n int) {
  9170. var l int
  9171. _ = l
  9172. if len(m.Command) > 0 {
  9173. for _, s := range m.Command {
  9174. l = len(s)
  9175. n += 1 + l + sovGenerated(uint64(l))
  9176. }
  9177. }
  9178. return n
  9179. }
  9180. func (m *FCVolumeSource) Size() (n int) {
  9181. var l int
  9182. _ = l
  9183. if len(m.TargetWWNs) > 0 {
  9184. for _, s := range m.TargetWWNs {
  9185. l = len(s)
  9186. n += 1 + l + sovGenerated(uint64(l))
  9187. }
  9188. }
  9189. if m.Lun != nil {
  9190. n += 1 + sovGenerated(uint64(*m.Lun))
  9191. }
  9192. l = len(m.FSType)
  9193. n += 1 + l + sovGenerated(uint64(l))
  9194. n += 2
  9195. return n
  9196. }
  9197. func (m *FlexVolumeSource) Size() (n int) {
  9198. var l int
  9199. _ = l
  9200. l = len(m.Driver)
  9201. n += 1 + l + sovGenerated(uint64(l))
  9202. l = len(m.FSType)
  9203. n += 1 + l + sovGenerated(uint64(l))
  9204. if m.SecretRef != nil {
  9205. l = m.SecretRef.Size()
  9206. n += 1 + l + sovGenerated(uint64(l))
  9207. }
  9208. n += 2
  9209. if len(m.Options) > 0 {
  9210. for k, v := range m.Options {
  9211. _ = k
  9212. _ = v
  9213. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9214. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9215. }
  9216. }
  9217. return n
  9218. }
  9219. func (m *FlockerVolumeSource) Size() (n int) {
  9220. var l int
  9221. _ = l
  9222. l = len(m.DatasetName)
  9223. n += 1 + l + sovGenerated(uint64(l))
  9224. l = len(m.DatasetUUID)
  9225. n += 1 + l + sovGenerated(uint64(l))
  9226. return n
  9227. }
  9228. func (m *GCEPersistentDiskVolumeSource) Size() (n int) {
  9229. var l int
  9230. _ = l
  9231. l = len(m.PDName)
  9232. n += 1 + l + sovGenerated(uint64(l))
  9233. l = len(m.FSType)
  9234. n += 1 + l + sovGenerated(uint64(l))
  9235. n += 1 + sovGenerated(uint64(m.Partition))
  9236. n += 2
  9237. return n
  9238. }
  9239. func (m *GitRepoVolumeSource) Size() (n int) {
  9240. var l int
  9241. _ = l
  9242. l = len(m.Repository)
  9243. n += 1 + l + sovGenerated(uint64(l))
  9244. l = len(m.Revision)
  9245. n += 1 + l + sovGenerated(uint64(l))
  9246. l = len(m.Directory)
  9247. n += 1 + l + sovGenerated(uint64(l))
  9248. return n
  9249. }
  9250. func (m *GlusterfsVolumeSource) Size() (n int) {
  9251. var l int
  9252. _ = l
  9253. l = len(m.EndpointsName)
  9254. n += 1 + l + sovGenerated(uint64(l))
  9255. l = len(m.Path)
  9256. n += 1 + l + sovGenerated(uint64(l))
  9257. n += 2
  9258. return n
  9259. }
  9260. func (m *HTTPGetAction) Size() (n int) {
  9261. var l int
  9262. _ = l
  9263. l = len(m.Path)
  9264. n += 1 + l + sovGenerated(uint64(l))
  9265. l = m.Port.Size()
  9266. n += 1 + l + sovGenerated(uint64(l))
  9267. l = len(m.Host)
  9268. n += 1 + l + sovGenerated(uint64(l))
  9269. l = len(m.Scheme)
  9270. n += 1 + l + sovGenerated(uint64(l))
  9271. if len(m.HTTPHeaders) > 0 {
  9272. for _, e := range m.HTTPHeaders {
  9273. l = e.Size()
  9274. n += 1 + l + sovGenerated(uint64(l))
  9275. }
  9276. }
  9277. return n
  9278. }
  9279. func (m *HTTPHeader) Size() (n int) {
  9280. var l int
  9281. _ = l
  9282. l = len(m.Name)
  9283. n += 1 + l + sovGenerated(uint64(l))
  9284. l = len(m.Value)
  9285. n += 1 + l + sovGenerated(uint64(l))
  9286. return n
  9287. }
  9288. func (m *Handler) Size() (n int) {
  9289. var l int
  9290. _ = l
  9291. if m.Exec != nil {
  9292. l = m.Exec.Size()
  9293. n += 1 + l + sovGenerated(uint64(l))
  9294. }
  9295. if m.HTTPGet != nil {
  9296. l = m.HTTPGet.Size()
  9297. n += 1 + l + sovGenerated(uint64(l))
  9298. }
  9299. if m.TCPSocket != nil {
  9300. l = m.TCPSocket.Size()
  9301. n += 1 + l + sovGenerated(uint64(l))
  9302. }
  9303. return n
  9304. }
  9305. func (m *HostPathVolumeSource) Size() (n int) {
  9306. var l int
  9307. _ = l
  9308. l = len(m.Path)
  9309. n += 1 + l + sovGenerated(uint64(l))
  9310. return n
  9311. }
  9312. func (m *ISCSIVolumeSource) Size() (n int) {
  9313. var l int
  9314. _ = l
  9315. l = len(m.TargetPortal)
  9316. n += 1 + l + sovGenerated(uint64(l))
  9317. l = len(m.IQN)
  9318. n += 1 + l + sovGenerated(uint64(l))
  9319. n += 1 + sovGenerated(uint64(m.Lun))
  9320. l = len(m.ISCSIInterface)
  9321. n += 1 + l + sovGenerated(uint64(l))
  9322. l = len(m.FSType)
  9323. n += 1 + l + sovGenerated(uint64(l))
  9324. n += 2
  9325. if len(m.Portals) > 0 {
  9326. for _, s := range m.Portals {
  9327. l = len(s)
  9328. n += 1 + l + sovGenerated(uint64(l))
  9329. }
  9330. }
  9331. return n
  9332. }
  9333. func (m *KeyToPath) Size() (n int) {
  9334. var l int
  9335. _ = l
  9336. l = len(m.Key)
  9337. n += 1 + l + sovGenerated(uint64(l))
  9338. l = len(m.Path)
  9339. n += 1 + l + sovGenerated(uint64(l))
  9340. if m.Mode != nil {
  9341. n += 1 + sovGenerated(uint64(*m.Mode))
  9342. }
  9343. return n
  9344. }
  9345. func (m *Lifecycle) Size() (n int) {
  9346. var l int
  9347. _ = l
  9348. if m.PostStart != nil {
  9349. l = m.PostStart.Size()
  9350. n += 1 + l + sovGenerated(uint64(l))
  9351. }
  9352. if m.PreStop != nil {
  9353. l = m.PreStop.Size()
  9354. n += 1 + l + sovGenerated(uint64(l))
  9355. }
  9356. return n
  9357. }
  9358. func (m *LimitRange) Size() (n int) {
  9359. var l int
  9360. _ = l
  9361. l = m.ObjectMeta.Size()
  9362. n += 1 + l + sovGenerated(uint64(l))
  9363. l = m.Spec.Size()
  9364. n += 1 + l + sovGenerated(uint64(l))
  9365. return n
  9366. }
  9367. func (m *LimitRangeItem) Size() (n int) {
  9368. var l int
  9369. _ = l
  9370. l = len(m.Type)
  9371. n += 1 + l + sovGenerated(uint64(l))
  9372. if len(m.Max) > 0 {
  9373. for k, v := range m.Max {
  9374. _ = k
  9375. _ = v
  9376. l = v.Size()
  9377. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9378. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9379. }
  9380. }
  9381. if len(m.Min) > 0 {
  9382. for k, v := range m.Min {
  9383. _ = k
  9384. _ = v
  9385. l = v.Size()
  9386. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9387. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9388. }
  9389. }
  9390. if len(m.Default) > 0 {
  9391. for k, v := range m.Default {
  9392. _ = k
  9393. _ = v
  9394. l = v.Size()
  9395. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9396. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9397. }
  9398. }
  9399. if len(m.DefaultRequest) > 0 {
  9400. for k, v := range m.DefaultRequest {
  9401. _ = k
  9402. _ = v
  9403. l = v.Size()
  9404. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9405. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9406. }
  9407. }
  9408. if len(m.MaxLimitRequestRatio) > 0 {
  9409. for k, v := range m.MaxLimitRequestRatio {
  9410. _ = k
  9411. _ = v
  9412. l = v.Size()
  9413. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9414. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9415. }
  9416. }
  9417. return n
  9418. }
  9419. func (m *LimitRangeList) Size() (n int) {
  9420. var l int
  9421. _ = l
  9422. l = m.ListMeta.Size()
  9423. n += 1 + l + sovGenerated(uint64(l))
  9424. if len(m.Items) > 0 {
  9425. for _, e := range m.Items {
  9426. l = e.Size()
  9427. n += 1 + l + sovGenerated(uint64(l))
  9428. }
  9429. }
  9430. return n
  9431. }
  9432. func (m *LimitRangeSpec) Size() (n int) {
  9433. var l int
  9434. _ = l
  9435. if len(m.Limits) > 0 {
  9436. for _, e := range m.Limits {
  9437. l = e.Size()
  9438. n += 1 + l + sovGenerated(uint64(l))
  9439. }
  9440. }
  9441. return n
  9442. }
  9443. func (m *List) Size() (n int) {
  9444. var l int
  9445. _ = l
  9446. l = m.ListMeta.Size()
  9447. n += 1 + l + sovGenerated(uint64(l))
  9448. if len(m.Items) > 0 {
  9449. for _, e := range m.Items {
  9450. l = e.Size()
  9451. n += 1 + l + sovGenerated(uint64(l))
  9452. }
  9453. }
  9454. return n
  9455. }
  9456. func (m *ListOptions) Size() (n int) {
  9457. var l int
  9458. _ = l
  9459. l = len(m.LabelSelector)
  9460. n += 1 + l + sovGenerated(uint64(l))
  9461. l = len(m.FieldSelector)
  9462. n += 1 + l + sovGenerated(uint64(l))
  9463. n += 2
  9464. l = len(m.ResourceVersion)
  9465. n += 1 + l + sovGenerated(uint64(l))
  9466. if m.TimeoutSeconds != nil {
  9467. n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
  9468. }
  9469. return n
  9470. }
  9471. func (m *LoadBalancerIngress) Size() (n int) {
  9472. var l int
  9473. _ = l
  9474. l = len(m.IP)
  9475. n += 1 + l + sovGenerated(uint64(l))
  9476. l = len(m.Hostname)
  9477. n += 1 + l + sovGenerated(uint64(l))
  9478. return n
  9479. }
  9480. func (m *LoadBalancerStatus) Size() (n int) {
  9481. var l int
  9482. _ = l
  9483. if len(m.Ingress) > 0 {
  9484. for _, e := range m.Ingress {
  9485. l = e.Size()
  9486. n += 1 + l + sovGenerated(uint64(l))
  9487. }
  9488. }
  9489. return n
  9490. }
  9491. func (m *LocalObjectReference) Size() (n int) {
  9492. var l int
  9493. _ = l
  9494. l = len(m.Name)
  9495. n += 1 + l + sovGenerated(uint64(l))
  9496. return n
  9497. }
  9498. func (m *NFSVolumeSource) Size() (n int) {
  9499. var l int
  9500. _ = l
  9501. l = len(m.Server)
  9502. n += 1 + l + sovGenerated(uint64(l))
  9503. l = len(m.Path)
  9504. n += 1 + l + sovGenerated(uint64(l))
  9505. n += 2
  9506. return n
  9507. }
  9508. func (m *Namespace) Size() (n int) {
  9509. var l int
  9510. _ = l
  9511. l = m.ObjectMeta.Size()
  9512. n += 1 + l + sovGenerated(uint64(l))
  9513. l = m.Spec.Size()
  9514. n += 1 + l + sovGenerated(uint64(l))
  9515. l = m.Status.Size()
  9516. n += 1 + l + sovGenerated(uint64(l))
  9517. return n
  9518. }
  9519. func (m *NamespaceList) Size() (n int) {
  9520. var l int
  9521. _ = l
  9522. l = m.ListMeta.Size()
  9523. n += 1 + l + sovGenerated(uint64(l))
  9524. if len(m.Items) > 0 {
  9525. for _, e := range m.Items {
  9526. l = e.Size()
  9527. n += 1 + l + sovGenerated(uint64(l))
  9528. }
  9529. }
  9530. return n
  9531. }
  9532. func (m *NamespaceSpec) Size() (n int) {
  9533. var l int
  9534. _ = l
  9535. if len(m.Finalizers) > 0 {
  9536. for _, s := range m.Finalizers {
  9537. l = len(s)
  9538. n += 1 + l + sovGenerated(uint64(l))
  9539. }
  9540. }
  9541. return n
  9542. }
  9543. func (m *NamespaceStatus) Size() (n int) {
  9544. var l int
  9545. _ = l
  9546. l = len(m.Phase)
  9547. n += 1 + l + sovGenerated(uint64(l))
  9548. return n
  9549. }
  9550. func (m *Node) Size() (n int) {
  9551. var l int
  9552. _ = l
  9553. l = m.ObjectMeta.Size()
  9554. n += 1 + l + sovGenerated(uint64(l))
  9555. l = m.Spec.Size()
  9556. n += 1 + l + sovGenerated(uint64(l))
  9557. l = m.Status.Size()
  9558. n += 1 + l + sovGenerated(uint64(l))
  9559. return n
  9560. }
  9561. func (m *NodeAddress) Size() (n int) {
  9562. var l int
  9563. _ = l
  9564. l = len(m.Type)
  9565. n += 1 + l + sovGenerated(uint64(l))
  9566. l = len(m.Address)
  9567. n += 1 + l + sovGenerated(uint64(l))
  9568. return n
  9569. }
  9570. func (m *NodeAffinity) Size() (n int) {
  9571. var l int
  9572. _ = l
  9573. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  9574. l = m.RequiredDuringSchedulingIgnoredDuringExecution.Size()
  9575. n += 1 + l + sovGenerated(uint64(l))
  9576. }
  9577. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  9578. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  9579. l = e.Size()
  9580. n += 1 + l + sovGenerated(uint64(l))
  9581. }
  9582. }
  9583. return n
  9584. }
  9585. func (m *NodeCondition) Size() (n int) {
  9586. var l int
  9587. _ = l
  9588. l = len(m.Type)
  9589. n += 1 + l + sovGenerated(uint64(l))
  9590. l = len(m.Status)
  9591. n += 1 + l + sovGenerated(uint64(l))
  9592. l = m.LastHeartbeatTime.Size()
  9593. n += 1 + l + sovGenerated(uint64(l))
  9594. l = m.LastTransitionTime.Size()
  9595. n += 1 + l + sovGenerated(uint64(l))
  9596. l = len(m.Reason)
  9597. n += 1 + l + sovGenerated(uint64(l))
  9598. l = len(m.Message)
  9599. n += 1 + l + sovGenerated(uint64(l))
  9600. return n
  9601. }
  9602. func (m *NodeDaemonEndpoints) Size() (n int) {
  9603. var l int
  9604. _ = l
  9605. l = m.KubeletEndpoint.Size()
  9606. n += 1 + l + sovGenerated(uint64(l))
  9607. return n
  9608. }
  9609. func (m *NodeList) Size() (n int) {
  9610. var l int
  9611. _ = l
  9612. l = m.ListMeta.Size()
  9613. n += 1 + l + sovGenerated(uint64(l))
  9614. if len(m.Items) > 0 {
  9615. for _, e := range m.Items {
  9616. l = e.Size()
  9617. n += 1 + l + sovGenerated(uint64(l))
  9618. }
  9619. }
  9620. return n
  9621. }
  9622. func (m *NodeProxyOptions) Size() (n int) {
  9623. var l int
  9624. _ = l
  9625. l = len(m.Path)
  9626. n += 1 + l + sovGenerated(uint64(l))
  9627. return n
  9628. }
  9629. func (m *NodeResources) Size() (n int) {
  9630. var l int
  9631. _ = l
  9632. if len(m.Capacity) > 0 {
  9633. for k, v := range m.Capacity {
  9634. _ = k
  9635. _ = v
  9636. l = v.Size()
  9637. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9638. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9639. }
  9640. }
  9641. return n
  9642. }
  9643. func (m *NodeSelector) Size() (n int) {
  9644. var l int
  9645. _ = l
  9646. if len(m.NodeSelectorTerms) > 0 {
  9647. for _, e := range m.NodeSelectorTerms {
  9648. l = e.Size()
  9649. n += 1 + l + sovGenerated(uint64(l))
  9650. }
  9651. }
  9652. return n
  9653. }
  9654. func (m *NodeSelectorRequirement) Size() (n int) {
  9655. var l int
  9656. _ = l
  9657. l = len(m.Key)
  9658. n += 1 + l + sovGenerated(uint64(l))
  9659. l = len(m.Operator)
  9660. n += 1 + l + sovGenerated(uint64(l))
  9661. if len(m.Values) > 0 {
  9662. for _, s := range m.Values {
  9663. l = len(s)
  9664. n += 1 + l + sovGenerated(uint64(l))
  9665. }
  9666. }
  9667. return n
  9668. }
  9669. func (m *NodeSelectorTerm) Size() (n int) {
  9670. var l int
  9671. _ = l
  9672. if len(m.MatchExpressions) > 0 {
  9673. for _, e := range m.MatchExpressions {
  9674. l = e.Size()
  9675. n += 1 + l + sovGenerated(uint64(l))
  9676. }
  9677. }
  9678. return n
  9679. }
  9680. func (m *NodeSpec) Size() (n int) {
  9681. var l int
  9682. _ = l
  9683. l = len(m.PodCIDR)
  9684. n += 1 + l + sovGenerated(uint64(l))
  9685. l = len(m.ExternalID)
  9686. n += 1 + l + sovGenerated(uint64(l))
  9687. l = len(m.ProviderID)
  9688. n += 1 + l + sovGenerated(uint64(l))
  9689. n += 2
  9690. if len(m.Taints) > 0 {
  9691. for _, e := range m.Taints {
  9692. l = e.Size()
  9693. n += 1 + l + sovGenerated(uint64(l))
  9694. }
  9695. }
  9696. return n
  9697. }
  9698. func (m *NodeStatus) Size() (n int) {
  9699. var l int
  9700. _ = l
  9701. if len(m.Capacity) > 0 {
  9702. for k, v := range m.Capacity {
  9703. _ = k
  9704. _ = v
  9705. l = v.Size()
  9706. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9707. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9708. }
  9709. }
  9710. if len(m.Allocatable) > 0 {
  9711. for k, v := range m.Allocatable {
  9712. _ = k
  9713. _ = v
  9714. l = v.Size()
  9715. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9716. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9717. }
  9718. }
  9719. l = len(m.Phase)
  9720. n += 1 + l + sovGenerated(uint64(l))
  9721. if len(m.Conditions) > 0 {
  9722. for _, e := range m.Conditions {
  9723. l = e.Size()
  9724. n += 1 + l + sovGenerated(uint64(l))
  9725. }
  9726. }
  9727. if len(m.Addresses) > 0 {
  9728. for _, e := range m.Addresses {
  9729. l = e.Size()
  9730. n += 1 + l + sovGenerated(uint64(l))
  9731. }
  9732. }
  9733. l = m.DaemonEndpoints.Size()
  9734. n += 1 + l + sovGenerated(uint64(l))
  9735. l = m.NodeInfo.Size()
  9736. n += 1 + l + sovGenerated(uint64(l))
  9737. if len(m.Images) > 0 {
  9738. for _, e := range m.Images {
  9739. l = e.Size()
  9740. n += 1 + l + sovGenerated(uint64(l))
  9741. }
  9742. }
  9743. if len(m.VolumesInUse) > 0 {
  9744. for _, s := range m.VolumesInUse {
  9745. l = len(s)
  9746. n += 1 + l + sovGenerated(uint64(l))
  9747. }
  9748. }
  9749. if len(m.VolumesAttached) > 0 {
  9750. for _, e := range m.VolumesAttached {
  9751. l = e.Size()
  9752. n += 1 + l + sovGenerated(uint64(l))
  9753. }
  9754. }
  9755. return n
  9756. }
  9757. func (m *NodeSystemInfo) Size() (n int) {
  9758. var l int
  9759. _ = l
  9760. l = len(m.MachineID)
  9761. n += 1 + l + sovGenerated(uint64(l))
  9762. l = len(m.SystemUUID)
  9763. n += 1 + l + sovGenerated(uint64(l))
  9764. l = len(m.BootID)
  9765. n += 1 + l + sovGenerated(uint64(l))
  9766. l = len(m.KernelVersion)
  9767. n += 1 + l + sovGenerated(uint64(l))
  9768. l = len(m.OSImage)
  9769. n += 1 + l + sovGenerated(uint64(l))
  9770. l = len(m.ContainerRuntimeVersion)
  9771. n += 1 + l + sovGenerated(uint64(l))
  9772. l = len(m.KubeletVersion)
  9773. n += 1 + l + sovGenerated(uint64(l))
  9774. l = len(m.KubeProxyVersion)
  9775. n += 1 + l + sovGenerated(uint64(l))
  9776. l = len(m.OperatingSystem)
  9777. n += 1 + l + sovGenerated(uint64(l))
  9778. l = len(m.Architecture)
  9779. n += 1 + l + sovGenerated(uint64(l))
  9780. return n
  9781. }
  9782. func (m *ObjectFieldSelector) Size() (n int) {
  9783. var l int
  9784. _ = l
  9785. l = len(m.APIVersion)
  9786. n += 1 + l + sovGenerated(uint64(l))
  9787. l = len(m.FieldPath)
  9788. n += 1 + l + sovGenerated(uint64(l))
  9789. return n
  9790. }
  9791. func (m *ObjectMeta) Size() (n int) {
  9792. var l int
  9793. _ = l
  9794. l = len(m.Name)
  9795. n += 1 + l + sovGenerated(uint64(l))
  9796. l = len(m.GenerateName)
  9797. n += 1 + l + sovGenerated(uint64(l))
  9798. l = len(m.Namespace)
  9799. n += 1 + l + sovGenerated(uint64(l))
  9800. l = len(m.SelfLink)
  9801. n += 1 + l + sovGenerated(uint64(l))
  9802. l = len(m.UID)
  9803. n += 1 + l + sovGenerated(uint64(l))
  9804. l = len(m.ResourceVersion)
  9805. n += 1 + l + sovGenerated(uint64(l))
  9806. n += 1 + sovGenerated(uint64(m.Generation))
  9807. l = m.CreationTimestamp.Size()
  9808. n += 1 + l + sovGenerated(uint64(l))
  9809. if m.DeletionTimestamp != nil {
  9810. l = m.DeletionTimestamp.Size()
  9811. n += 1 + l + sovGenerated(uint64(l))
  9812. }
  9813. if m.DeletionGracePeriodSeconds != nil {
  9814. n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds))
  9815. }
  9816. if len(m.Labels) > 0 {
  9817. for k, v := range m.Labels {
  9818. _ = k
  9819. _ = v
  9820. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9821. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9822. }
  9823. }
  9824. if len(m.Annotations) > 0 {
  9825. for k, v := range m.Annotations {
  9826. _ = k
  9827. _ = v
  9828. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9829. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9830. }
  9831. }
  9832. if len(m.OwnerReferences) > 0 {
  9833. for _, e := range m.OwnerReferences {
  9834. l = e.Size()
  9835. n += 1 + l + sovGenerated(uint64(l))
  9836. }
  9837. }
  9838. if len(m.Finalizers) > 0 {
  9839. for _, s := range m.Finalizers {
  9840. l = len(s)
  9841. n += 1 + l + sovGenerated(uint64(l))
  9842. }
  9843. }
  9844. l = len(m.ClusterName)
  9845. n += 1 + l + sovGenerated(uint64(l))
  9846. return n
  9847. }
  9848. func (m *ObjectReference) Size() (n int) {
  9849. var l int
  9850. _ = l
  9851. l = len(m.Kind)
  9852. n += 1 + l + sovGenerated(uint64(l))
  9853. l = len(m.Namespace)
  9854. n += 1 + l + sovGenerated(uint64(l))
  9855. l = len(m.Name)
  9856. n += 1 + l + sovGenerated(uint64(l))
  9857. l = len(m.UID)
  9858. n += 1 + l + sovGenerated(uint64(l))
  9859. l = len(m.APIVersion)
  9860. n += 1 + l + sovGenerated(uint64(l))
  9861. l = len(m.ResourceVersion)
  9862. n += 1 + l + sovGenerated(uint64(l))
  9863. l = len(m.FieldPath)
  9864. n += 1 + l + sovGenerated(uint64(l))
  9865. return n
  9866. }
  9867. func (m *PersistentVolume) Size() (n int) {
  9868. var l int
  9869. _ = l
  9870. l = m.ObjectMeta.Size()
  9871. n += 1 + l + sovGenerated(uint64(l))
  9872. l = m.Spec.Size()
  9873. n += 1 + l + sovGenerated(uint64(l))
  9874. l = m.Status.Size()
  9875. n += 1 + l + sovGenerated(uint64(l))
  9876. return n
  9877. }
  9878. func (m *PersistentVolumeClaim) Size() (n int) {
  9879. var l int
  9880. _ = l
  9881. l = m.ObjectMeta.Size()
  9882. n += 1 + l + sovGenerated(uint64(l))
  9883. l = m.Spec.Size()
  9884. n += 1 + l + sovGenerated(uint64(l))
  9885. l = m.Status.Size()
  9886. n += 1 + l + sovGenerated(uint64(l))
  9887. return n
  9888. }
  9889. func (m *PersistentVolumeClaimList) Size() (n int) {
  9890. var l int
  9891. _ = l
  9892. l = m.ListMeta.Size()
  9893. n += 1 + l + sovGenerated(uint64(l))
  9894. if len(m.Items) > 0 {
  9895. for _, e := range m.Items {
  9896. l = e.Size()
  9897. n += 1 + l + sovGenerated(uint64(l))
  9898. }
  9899. }
  9900. return n
  9901. }
  9902. func (m *PersistentVolumeClaimSpec) Size() (n int) {
  9903. var l int
  9904. _ = l
  9905. if len(m.AccessModes) > 0 {
  9906. for _, s := range m.AccessModes {
  9907. l = len(s)
  9908. n += 1 + l + sovGenerated(uint64(l))
  9909. }
  9910. }
  9911. l = m.Resources.Size()
  9912. n += 1 + l + sovGenerated(uint64(l))
  9913. l = len(m.VolumeName)
  9914. n += 1 + l + sovGenerated(uint64(l))
  9915. if m.Selector != nil {
  9916. l = m.Selector.Size()
  9917. n += 1 + l + sovGenerated(uint64(l))
  9918. }
  9919. if m.StorageClassName != nil {
  9920. l = len(*m.StorageClassName)
  9921. n += 1 + l + sovGenerated(uint64(l))
  9922. }
  9923. return n
  9924. }
  9925. func (m *PersistentVolumeClaimStatus) Size() (n int) {
  9926. var l int
  9927. _ = l
  9928. l = len(m.Phase)
  9929. n += 1 + l + sovGenerated(uint64(l))
  9930. if len(m.AccessModes) > 0 {
  9931. for _, s := range m.AccessModes {
  9932. l = len(s)
  9933. n += 1 + l + sovGenerated(uint64(l))
  9934. }
  9935. }
  9936. if len(m.Capacity) > 0 {
  9937. for k, v := range m.Capacity {
  9938. _ = k
  9939. _ = v
  9940. l = v.Size()
  9941. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  9942. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  9943. }
  9944. }
  9945. return n
  9946. }
  9947. func (m *PersistentVolumeClaimVolumeSource) Size() (n int) {
  9948. var l int
  9949. _ = l
  9950. l = len(m.ClaimName)
  9951. n += 1 + l + sovGenerated(uint64(l))
  9952. n += 2
  9953. return n
  9954. }
  9955. func (m *PersistentVolumeList) Size() (n int) {
  9956. var l int
  9957. _ = l
  9958. l = m.ListMeta.Size()
  9959. n += 1 + l + sovGenerated(uint64(l))
  9960. if len(m.Items) > 0 {
  9961. for _, e := range m.Items {
  9962. l = e.Size()
  9963. n += 1 + l + sovGenerated(uint64(l))
  9964. }
  9965. }
  9966. return n
  9967. }
  9968. func (m *PersistentVolumeSource) Size() (n int) {
  9969. var l int
  9970. _ = l
  9971. if m.GCEPersistentDisk != nil {
  9972. l = m.GCEPersistentDisk.Size()
  9973. n += 1 + l + sovGenerated(uint64(l))
  9974. }
  9975. if m.AWSElasticBlockStore != nil {
  9976. l = m.AWSElasticBlockStore.Size()
  9977. n += 1 + l + sovGenerated(uint64(l))
  9978. }
  9979. if m.HostPath != nil {
  9980. l = m.HostPath.Size()
  9981. n += 1 + l + sovGenerated(uint64(l))
  9982. }
  9983. if m.Glusterfs != nil {
  9984. l = m.Glusterfs.Size()
  9985. n += 1 + l + sovGenerated(uint64(l))
  9986. }
  9987. if m.NFS != nil {
  9988. l = m.NFS.Size()
  9989. n += 1 + l + sovGenerated(uint64(l))
  9990. }
  9991. if m.RBD != nil {
  9992. l = m.RBD.Size()
  9993. n += 1 + l + sovGenerated(uint64(l))
  9994. }
  9995. if m.ISCSI != nil {
  9996. l = m.ISCSI.Size()
  9997. n += 1 + l + sovGenerated(uint64(l))
  9998. }
  9999. if m.Cinder != nil {
  10000. l = m.Cinder.Size()
  10001. n += 1 + l + sovGenerated(uint64(l))
  10002. }
  10003. if m.CephFS != nil {
  10004. l = m.CephFS.Size()
  10005. n += 1 + l + sovGenerated(uint64(l))
  10006. }
  10007. if m.FC != nil {
  10008. l = m.FC.Size()
  10009. n += 1 + l + sovGenerated(uint64(l))
  10010. }
  10011. if m.Flocker != nil {
  10012. l = m.Flocker.Size()
  10013. n += 1 + l + sovGenerated(uint64(l))
  10014. }
  10015. if m.FlexVolume != nil {
  10016. l = m.FlexVolume.Size()
  10017. n += 1 + l + sovGenerated(uint64(l))
  10018. }
  10019. if m.AzureFile != nil {
  10020. l = m.AzureFile.Size()
  10021. n += 1 + l + sovGenerated(uint64(l))
  10022. }
  10023. if m.VsphereVolume != nil {
  10024. l = m.VsphereVolume.Size()
  10025. n += 1 + l + sovGenerated(uint64(l))
  10026. }
  10027. if m.Quobyte != nil {
  10028. l = m.Quobyte.Size()
  10029. n += 1 + l + sovGenerated(uint64(l))
  10030. }
  10031. if m.AzureDisk != nil {
  10032. l = m.AzureDisk.Size()
  10033. n += 2 + l + sovGenerated(uint64(l))
  10034. }
  10035. if m.PhotonPersistentDisk != nil {
  10036. l = m.PhotonPersistentDisk.Size()
  10037. n += 2 + l + sovGenerated(uint64(l))
  10038. }
  10039. if m.PortworxVolume != nil {
  10040. l = m.PortworxVolume.Size()
  10041. n += 2 + l + sovGenerated(uint64(l))
  10042. }
  10043. if m.ScaleIO != nil {
  10044. l = m.ScaleIO.Size()
  10045. n += 2 + l + sovGenerated(uint64(l))
  10046. }
  10047. return n
  10048. }
  10049. func (m *PersistentVolumeSpec) Size() (n int) {
  10050. var l int
  10051. _ = l
  10052. if len(m.Capacity) > 0 {
  10053. for k, v := range m.Capacity {
  10054. _ = k
  10055. _ = v
  10056. l = v.Size()
  10057. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  10058. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10059. }
  10060. }
  10061. l = m.PersistentVolumeSource.Size()
  10062. n += 1 + l + sovGenerated(uint64(l))
  10063. if len(m.AccessModes) > 0 {
  10064. for _, s := range m.AccessModes {
  10065. l = len(s)
  10066. n += 1 + l + sovGenerated(uint64(l))
  10067. }
  10068. }
  10069. if m.ClaimRef != nil {
  10070. l = m.ClaimRef.Size()
  10071. n += 1 + l + sovGenerated(uint64(l))
  10072. }
  10073. l = len(m.PersistentVolumeReclaimPolicy)
  10074. n += 1 + l + sovGenerated(uint64(l))
  10075. l = len(m.StorageClassName)
  10076. n += 1 + l + sovGenerated(uint64(l))
  10077. return n
  10078. }
  10079. func (m *PersistentVolumeStatus) Size() (n int) {
  10080. var l int
  10081. _ = l
  10082. l = len(m.Phase)
  10083. n += 1 + l + sovGenerated(uint64(l))
  10084. l = len(m.Message)
  10085. n += 1 + l + sovGenerated(uint64(l))
  10086. l = len(m.Reason)
  10087. n += 1 + l + sovGenerated(uint64(l))
  10088. return n
  10089. }
  10090. func (m *PhotonPersistentDiskVolumeSource) Size() (n int) {
  10091. var l int
  10092. _ = l
  10093. l = len(m.PdID)
  10094. n += 1 + l + sovGenerated(uint64(l))
  10095. l = len(m.FSType)
  10096. n += 1 + l + sovGenerated(uint64(l))
  10097. return n
  10098. }
  10099. func (m *Pod) Size() (n int) {
  10100. var l int
  10101. _ = l
  10102. l = m.ObjectMeta.Size()
  10103. n += 1 + l + sovGenerated(uint64(l))
  10104. l = m.Spec.Size()
  10105. n += 1 + l + sovGenerated(uint64(l))
  10106. l = m.Status.Size()
  10107. n += 1 + l + sovGenerated(uint64(l))
  10108. return n
  10109. }
  10110. func (m *PodAffinity) Size() (n int) {
  10111. var l int
  10112. _ = l
  10113. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  10114. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  10115. l = e.Size()
  10116. n += 1 + l + sovGenerated(uint64(l))
  10117. }
  10118. }
  10119. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  10120. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  10121. l = e.Size()
  10122. n += 1 + l + sovGenerated(uint64(l))
  10123. }
  10124. }
  10125. return n
  10126. }
  10127. func (m *PodAffinityTerm) Size() (n int) {
  10128. var l int
  10129. _ = l
  10130. if m.LabelSelector != nil {
  10131. l = m.LabelSelector.Size()
  10132. n += 1 + l + sovGenerated(uint64(l))
  10133. }
  10134. if len(m.Namespaces) > 0 {
  10135. for _, s := range m.Namespaces {
  10136. l = len(s)
  10137. n += 1 + l + sovGenerated(uint64(l))
  10138. }
  10139. }
  10140. l = len(m.TopologyKey)
  10141. n += 1 + l + sovGenerated(uint64(l))
  10142. return n
  10143. }
  10144. func (m *PodAntiAffinity) Size() (n int) {
  10145. var l int
  10146. _ = l
  10147. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  10148. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  10149. l = e.Size()
  10150. n += 1 + l + sovGenerated(uint64(l))
  10151. }
  10152. }
  10153. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  10154. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  10155. l = e.Size()
  10156. n += 1 + l + sovGenerated(uint64(l))
  10157. }
  10158. }
  10159. return n
  10160. }
  10161. func (m *PodAttachOptions) Size() (n int) {
  10162. var l int
  10163. _ = l
  10164. n += 2
  10165. n += 2
  10166. n += 2
  10167. n += 2
  10168. l = len(m.Container)
  10169. n += 1 + l + sovGenerated(uint64(l))
  10170. return n
  10171. }
  10172. func (m *PodCondition) Size() (n int) {
  10173. var l int
  10174. _ = l
  10175. l = len(m.Type)
  10176. n += 1 + l + sovGenerated(uint64(l))
  10177. l = len(m.Status)
  10178. n += 1 + l + sovGenerated(uint64(l))
  10179. l = m.LastProbeTime.Size()
  10180. n += 1 + l + sovGenerated(uint64(l))
  10181. l = m.LastTransitionTime.Size()
  10182. n += 1 + l + sovGenerated(uint64(l))
  10183. l = len(m.Reason)
  10184. n += 1 + l + sovGenerated(uint64(l))
  10185. l = len(m.Message)
  10186. n += 1 + l + sovGenerated(uint64(l))
  10187. return n
  10188. }
  10189. func (m *PodExecOptions) Size() (n int) {
  10190. var l int
  10191. _ = l
  10192. n += 2
  10193. n += 2
  10194. n += 2
  10195. n += 2
  10196. l = len(m.Container)
  10197. n += 1 + l + sovGenerated(uint64(l))
  10198. if len(m.Command) > 0 {
  10199. for _, s := range m.Command {
  10200. l = len(s)
  10201. n += 1 + l + sovGenerated(uint64(l))
  10202. }
  10203. }
  10204. return n
  10205. }
  10206. func (m *PodList) Size() (n int) {
  10207. var l int
  10208. _ = l
  10209. l = m.ListMeta.Size()
  10210. n += 1 + l + sovGenerated(uint64(l))
  10211. if len(m.Items) > 0 {
  10212. for _, e := range m.Items {
  10213. l = e.Size()
  10214. n += 1 + l + sovGenerated(uint64(l))
  10215. }
  10216. }
  10217. return n
  10218. }
  10219. func (m *PodLogOptions) Size() (n int) {
  10220. var l int
  10221. _ = l
  10222. l = len(m.Container)
  10223. n += 1 + l + sovGenerated(uint64(l))
  10224. n += 2
  10225. n += 2
  10226. if m.SinceSeconds != nil {
  10227. n += 1 + sovGenerated(uint64(*m.SinceSeconds))
  10228. }
  10229. if m.SinceTime != nil {
  10230. l = m.SinceTime.Size()
  10231. n += 1 + l + sovGenerated(uint64(l))
  10232. }
  10233. n += 2
  10234. if m.TailLines != nil {
  10235. n += 1 + sovGenerated(uint64(*m.TailLines))
  10236. }
  10237. if m.LimitBytes != nil {
  10238. n += 1 + sovGenerated(uint64(*m.LimitBytes))
  10239. }
  10240. return n
  10241. }
  10242. func (m *PodPortForwardOptions) Size() (n int) {
  10243. var l int
  10244. _ = l
  10245. if len(m.Ports) > 0 {
  10246. for _, e := range m.Ports {
  10247. n += 1 + sovGenerated(uint64(e))
  10248. }
  10249. }
  10250. return n
  10251. }
  10252. func (m *PodProxyOptions) Size() (n int) {
  10253. var l int
  10254. _ = l
  10255. l = len(m.Path)
  10256. n += 1 + l + sovGenerated(uint64(l))
  10257. return n
  10258. }
  10259. func (m *PodSecurityContext) Size() (n int) {
  10260. var l int
  10261. _ = l
  10262. if m.SELinuxOptions != nil {
  10263. l = m.SELinuxOptions.Size()
  10264. n += 1 + l + sovGenerated(uint64(l))
  10265. }
  10266. if m.RunAsUser != nil {
  10267. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  10268. }
  10269. if m.RunAsNonRoot != nil {
  10270. n += 2
  10271. }
  10272. if len(m.SupplementalGroups) > 0 {
  10273. for _, e := range m.SupplementalGroups {
  10274. n += 1 + sovGenerated(uint64(e))
  10275. }
  10276. }
  10277. if m.FSGroup != nil {
  10278. n += 1 + sovGenerated(uint64(*m.FSGroup))
  10279. }
  10280. return n
  10281. }
  10282. func (m *PodSignature) Size() (n int) {
  10283. var l int
  10284. _ = l
  10285. if m.PodController != nil {
  10286. l = m.PodController.Size()
  10287. n += 1 + l + sovGenerated(uint64(l))
  10288. }
  10289. return n
  10290. }
  10291. func (m *PodSpec) Size() (n int) {
  10292. var l int
  10293. _ = l
  10294. if len(m.Volumes) > 0 {
  10295. for _, e := range m.Volumes {
  10296. l = e.Size()
  10297. n += 1 + l + sovGenerated(uint64(l))
  10298. }
  10299. }
  10300. if len(m.Containers) > 0 {
  10301. for _, e := range m.Containers {
  10302. l = e.Size()
  10303. n += 1 + l + sovGenerated(uint64(l))
  10304. }
  10305. }
  10306. l = len(m.RestartPolicy)
  10307. n += 1 + l + sovGenerated(uint64(l))
  10308. if m.TerminationGracePeriodSeconds != nil {
  10309. n += 1 + sovGenerated(uint64(*m.TerminationGracePeriodSeconds))
  10310. }
  10311. if m.ActiveDeadlineSeconds != nil {
  10312. n += 1 + sovGenerated(uint64(*m.ActiveDeadlineSeconds))
  10313. }
  10314. l = len(m.DNSPolicy)
  10315. n += 1 + l + sovGenerated(uint64(l))
  10316. if len(m.NodeSelector) > 0 {
  10317. for k, v := range m.NodeSelector {
  10318. _ = k
  10319. _ = v
  10320. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10321. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10322. }
  10323. }
  10324. l = len(m.ServiceAccountName)
  10325. n += 1 + l + sovGenerated(uint64(l))
  10326. l = len(m.DeprecatedServiceAccount)
  10327. n += 1 + l + sovGenerated(uint64(l))
  10328. l = len(m.NodeName)
  10329. n += 1 + l + sovGenerated(uint64(l))
  10330. n += 2
  10331. n += 2
  10332. n += 2
  10333. if m.SecurityContext != nil {
  10334. l = m.SecurityContext.Size()
  10335. n += 1 + l + sovGenerated(uint64(l))
  10336. }
  10337. if len(m.ImagePullSecrets) > 0 {
  10338. for _, e := range m.ImagePullSecrets {
  10339. l = e.Size()
  10340. n += 1 + l + sovGenerated(uint64(l))
  10341. }
  10342. }
  10343. l = len(m.Hostname)
  10344. n += 2 + l + sovGenerated(uint64(l))
  10345. l = len(m.Subdomain)
  10346. n += 2 + l + sovGenerated(uint64(l))
  10347. if m.Affinity != nil {
  10348. l = m.Affinity.Size()
  10349. n += 2 + l + sovGenerated(uint64(l))
  10350. }
  10351. l = len(m.SchedulerName)
  10352. n += 2 + l + sovGenerated(uint64(l))
  10353. if len(m.InitContainers) > 0 {
  10354. for _, e := range m.InitContainers {
  10355. l = e.Size()
  10356. n += 2 + l + sovGenerated(uint64(l))
  10357. }
  10358. }
  10359. if m.AutomountServiceAccountToken != nil {
  10360. n += 3
  10361. }
  10362. if len(m.Tolerations) > 0 {
  10363. for _, e := range m.Tolerations {
  10364. l = e.Size()
  10365. n += 2 + l + sovGenerated(uint64(l))
  10366. }
  10367. }
  10368. return n
  10369. }
  10370. func (m *PodStatus) Size() (n int) {
  10371. var l int
  10372. _ = l
  10373. l = len(m.Phase)
  10374. n += 1 + l + sovGenerated(uint64(l))
  10375. if len(m.Conditions) > 0 {
  10376. for _, e := range m.Conditions {
  10377. l = e.Size()
  10378. n += 1 + l + sovGenerated(uint64(l))
  10379. }
  10380. }
  10381. l = len(m.Message)
  10382. n += 1 + l + sovGenerated(uint64(l))
  10383. l = len(m.Reason)
  10384. n += 1 + l + sovGenerated(uint64(l))
  10385. l = len(m.HostIP)
  10386. n += 1 + l + sovGenerated(uint64(l))
  10387. l = len(m.PodIP)
  10388. n += 1 + l + sovGenerated(uint64(l))
  10389. if m.StartTime != nil {
  10390. l = m.StartTime.Size()
  10391. n += 1 + l + sovGenerated(uint64(l))
  10392. }
  10393. if len(m.ContainerStatuses) > 0 {
  10394. for _, e := range m.ContainerStatuses {
  10395. l = e.Size()
  10396. n += 1 + l + sovGenerated(uint64(l))
  10397. }
  10398. }
  10399. l = len(m.QOSClass)
  10400. n += 1 + l + sovGenerated(uint64(l))
  10401. if len(m.InitContainerStatuses) > 0 {
  10402. for _, e := range m.InitContainerStatuses {
  10403. l = e.Size()
  10404. n += 1 + l + sovGenerated(uint64(l))
  10405. }
  10406. }
  10407. return n
  10408. }
  10409. func (m *PodStatusResult) Size() (n int) {
  10410. var l int
  10411. _ = l
  10412. l = m.ObjectMeta.Size()
  10413. n += 1 + l + sovGenerated(uint64(l))
  10414. l = m.Status.Size()
  10415. n += 1 + l + sovGenerated(uint64(l))
  10416. return n
  10417. }
  10418. func (m *PodTemplate) Size() (n int) {
  10419. var l int
  10420. _ = l
  10421. l = m.ObjectMeta.Size()
  10422. n += 1 + l + sovGenerated(uint64(l))
  10423. l = m.Template.Size()
  10424. n += 1 + l + sovGenerated(uint64(l))
  10425. return n
  10426. }
  10427. func (m *PodTemplateList) Size() (n int) {
  10428. var l int
  10429. _ = l
  10430. l = m.ListMeta.Size()
  10431. n += 1 + l + sovGenerated(uint64(l))
  10432. if len(m.Items) > 0 {
  10433. for _, e := range m.Items {
  10434. l = e.Size()
  10435. n += 1 + l + sovGenerated(uint64(l))
  10436. }
  10437. }
  10438. return n
  10439. }
  10440. func (m *PodTemplateSpec) Size() (n int) {
  10441. var l int
  10442. _ = l
  10443. l = m.ObjectMeta.Size()
  10444. n += 1 + l + sovGenerated(uint64(l))
  10445. l = m.Spec.Size()
  10446. n += 1 + l + sovGenerated(uint64(l))
  10447. return n
  10448. }
  10449. func (m *PortworxVolumeSource) Size() (n int) {
  10450. var l int
  10451. _ = l
  10452. l = len(m.VolumeID)
  10453. n += 1 + l + sovGenerated(uint64(l))
  10454. l = len(m.FSType)
  10455. n += 1 + l + sovGenerated(uint64(l))
  10456. n += 2
  10457. return n
  10458. }
  10459. func (m *Preconditions) Size() (n int) {
  10460. var l int
  10461. _ = l
  10462. if m.UID != nil {
  10463. l = len(*m.UID)
  10464. n += 1 + l + sovGenerated(uint64(l))
  10465. }
  10466. return n
  10467. }
  10468. func (m *PreferAvoidPodsEntry) Size() (n int) {
  10469. var l int
  10470. _ = l
  10471. l = m.PodSignature.Size()
  10472. n += 1 + l + sovGenerated(uint64(l))
  10473. l = m.EvictionTime.Size()
  10474. n += 1 + l + sovGenerated(uint64(l))
  10475. l = len(m.Reason)
  10476. n += 1 + l + sovGenerated(uint64(l))
  10477. l = len(m.Message)
  10478. n += 1 + l + sovGenerated(uint64(l))
  10479. return n
  10480. }
  10481. func (m *PreferredSchedulingTerm) Size() (n int) {
  10482. var l int
  10483. _ = l
  10484. n += 1 + sovGenerated(uint64(m.Weight))
  10485. l = m.Preference.Size()
  10486. n += 1 + l + sovGenerated(uint64(l))
  10487. return n
  10488. }
  10489. func (m *Probe) Size() (n int) {
  10490. var l int
  10491. _ = l
  10492. l = m.Handler.Size()
  10493. n += 1 + l + sovGenerated(uint64(l))
  10494. n += 1 + sovGenerated(uint64(m.InitialDelaySeconds))
  10495. n += 1 + sovGenerated(uint64(m.TimeoutSeconds))
  10496. n += 1 + sovGenerated(uint64(m.PeriodSeconds))
  10497. n += 1 + sovGenerated(uint64(m.SuccessThreshold))
  10498. n += 1 + sovGenerated(uint64(m.FailureThreshold))
  10499. return n
  10500. }
  10501. func (m *ProjectedVolumeSource) Size() (n int) {
  10502. var l int
  10503. _ = l
  10504. if len(m.Sources) > 0 {
  10505. for _, e := range m.Sources {
  10506. l = e.Size()
  10507. n += 1 + l + sovGenerated(uint64(l))
  10508. }
  10509. }
  10510. if m.DefaultMode != nil {
  10511. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  10512. }
  10513. return n
  10514. }
  10515. func (m *QuobyteVolumeSource) Size() (n int) {
  10516. var l int
  10517. _ = l
  10518. l = len(m.Registry)
  10519. n += 1 + l + sovGenerated(uint64(l))
  10520. l = len(m.Volume)
  10521. n += 1 + l + sovGenerated(uint64(l))
  10522. n += 2
  10523. l = len(m.User)
  10524. n += 1 + l + sovGenerated(uint64(l))
  10525. l = len(m.Group)
  10526. n += 1 + l + sovGenerated(uint64(l))
  10527. return n
  10528. }
  10529. func (m *RBDVolumeSource) Size() (n int) {
  10530. var l int
  10531. _ = l
  10532. if len(m.CephMonitors) > 0 {
  10533. for _, s := range m.CephMonitors {
  10534. l = len(s)
  10535. n += 1 + l + sovGenerated(uint64(l))
  10536. }
  10537. }
  10538. l = len(m.RBDImage)
  10539. n += 1 + l + sovGenerated(uint64(l))
  10540. l = len(m.FSType)
  10541. n += 1 + l + sovGenerated(uint64(l))
  10542. l = len(m.RBDPool)
  10543. n += 1 + l + sovGenerated(uint64(l))
  10544. l = len(m.RadosUser)
  10545. n += 1 + l + sovGenerated(uint64(l))
  10546. l = len(m.Keyring)
  10547. n += 1 + l + sovGenerated(uint64(l))
  10548. if m.SecretRef != nil {
  10549. l = m.SecretRef.Size()
  10550. n += 1 + l + sovGenerated(uint64(l))
  10551. }
  10552. n += 2
  10553. return n
  10554. }
  10555. func (m *RangeAllocation) Size() (n int) {
  10556. var l int
  10557. _ = l
  10558. l = m.ObjectMeta.Size()
  10559. n += 1 + l + sovGenerated(uint64(l))
  10560. l = len(m.Range)
  10561. n += 1 + l + sovGenerated(uint64(l))
  10562. if m.Data != nil {
  10563. l = len(m.Data)
  10564. n += 1 + l + sovGenerated(uint64(l))
  10565. }
  10566. return n
  10567. }
  10568. func (m *ReplicationController) Size() (n int) {
  10569. var l int
  10570. _ = l
  10571. l = m.ObjectMeta.Size()
  10572. n += 1 + l + sovGenerated(uint64(l))
  10573. l = m.Spec.Size()
  10574. n += 1 + l + sovGenerated(uint64(l))
  10575. l = m.Status.Size()
  10576. n += 1 + l + sovGenerated(uint64(l))
  10577. return n
  10578. }
  10579. func (m *ReplicationControllerCondition) Size() (n int) {
  10580. var l int
  10581. _ = l
  10582. l = len(m.Type)
  10583. n += 1 + l + sovGenerated(uint64(l))
  10584. l = len(m.Status)
  10585. n += 1 + l + sovGenerated(uint64(l))
  10586. l = m.LastTransitionTime.Size()
  10587. n += 1 + l + sovGenerated(uint64(l))
  10588. l = len(m.Reason)
  10589. n += 1 + l + sovGenerated(uint64(l))
  10590. l = len(m.Message)
  10591. n += 1 + l + sovGenerated(uint64(l))
  10592. return n
  10593. }
  10594. func (m *ReplicationControllerList) Size() (n int) {
  10595. var l int
  10596. _ = l
  10597. l = m.ListMeta.Size()
  10598. n += 1 + l + sovGenerated(uint64(l))
  10599. if len(m.Items) > 0 {
  10600. for _, e := range m.Items {
  10601. l = e.Size()
  10602. n += 1 + l + sovGenerated(uint64(l))
  10603. }
  10604. }
  10605. return n
  10606. }
  10607. func (m *ReplicationControllerSpec) Size() (n int) {
  10608. var l int
  10609. _ = l
  10610. if m.Replicas != nil {
  10611. n += 1 + sovGenerated(uint64(*m.Replicas))
  10612. }
  10613. if len(m.Selector) > 0 {
  10614. for k, v := range m.Selector {
  10615. _ = k
  10616. _ = v
  10617. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10618. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10619. }
  10620. }
  10621. if m.Template != nil {
  10622. l = m.Template.Size()
  10623. n += 1 + l + sovGenerated(uint64(l))
  10624. }
  10625. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  10626. return n
  10627. }
  10628. func (m *ReplicationControllerStatus) Size() (n int) {
  10629. var l int
  10630. _ = l
  10631. n += 1 + sovGenerated(uint64(m.Replicas))
  10632. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  10633. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  10634. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  10635. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  10636. if len(m.Conditions) > 0 {
  10637. for _, e := range m.Conditions {
  10638. l = e.Size()
  10639. n += 1 + l + sovGenerated(uint64(l))
  10640. }
  10641. }
  10642. return n
  10643. }
  10644. func (m *ResourceFieldSelector) Size() (n int) {
  10645. var l int
  10646. _ = l
  10647. l = len(m.ContainerName)
  10648. n += 1 + l + sovGenerated(uint64(l))
  10649. l = len(m.Resource)
  10650. n += 1 + l + sovGenerated(uint64(l))
  10651. l = m.Divisor.Size()
  10652. n += 1 + l + sovGenerated(uint64(l))
  10653. return n
  10654. }
  10655. func (m *ResourceQuota) Size() (n int) {
  10656. var l int
  10657. _ = l
  10658. l = m.ObjectMeta.Size()
  10659. n += 1 + l + sovGenerated(uint64(l))
  10660. l = m.Spec.Size()
  10661. n += 1 + l + sovGenerated(uint64(l))
  10662. l = m.Status.Size()
  10663. n += 1 + l + sovGenerated(uint64(l))
  10664. return n
  10665. }
  10666. func (m *ResourceQuotaList) Size() (n int) {
  10667. var l int
  10668. _ = l
  10669. l = m.ListMeta.Size()
  10670. n += 1 + l + sovGenerated(uint64(l))
  10671. if len(m.Items) > 0 {
  10672. for _, e := range m.Items {
  10673. l = e.Size()
  10674. n += 1 + l + sovGenerated(uint64(l))
  10675. }
  10676. }
  10677. return n
  10678. }
  10679. func (m *ResourceQuotaSpec) Size() (n int) {
  10680. var l int
  10681. _ = l
  10682. if len(m.Hard) > 0 {
  10683. for k, v := range m.Hard {
  10684. _ = k
  10685. _ = v
  10686. l = v.Size()
  10687. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  10688. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10689. }
  10690. }
  10691. if len(m.Scopes) > 0 {
  10692. for _, s := range m.Scopes {
  10693. l = len(s)
  10694. n += 1 + l + sovGenerated(uint64(l))
  10695. }
  10696. }
  10697. return n
  10698. }
  10699. func (m *ResourceQuotaStatus) Size() (n int) {
  10700. var l int
  10701. _ = l
  10702. if len(m.Hard) > 0 {
  10703. for k, v := range m.Hard {
  10704. _ = k
  10705. _ = v
  10706. l = v.Size()
  10707. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  10708. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10709. }
  10710. }
  10711. if len(m.Used) > 0 {
  10712. for k, v := range m.Used {
  10713. _ = k
  10714. _ = v
  10715. l = v.Size()
  10716. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  10717. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10718. }
  10719. }
  10720. return n
  10721. }
  10722. func (m *ResourceRequirements) Size() (n int) {
  10723. var l int
  10724. _ = l
  10725. if len(m.Limits) > 0 {
  10726. for k, v := range m.Limits {
  10727. _ = k
  10728. _ = v
  10729. l = v.Size()
  10730. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  10731. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10732. }
  10733. }
  10734. if len(m.Requests) > 0 {
  10735. for k, v := range m.Requests {
  10736. _ = k
  10737. _ = v
  10738. l = v.Size()
  10739. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  10740. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10741. }
  10742. }
  10743. return n
  10744. }
  10745. func (m *SELinuxOptions) Size() (n int) {
  10746. var l int
  10747. _ = l
  10748. l = len(m.User)
  10749. n += 1 + l + sovGenerated(uint64(l))
  10750. l = len(m.Role)
  10751. n += 1 + l + sovGenerated(uint64(l))
  10752. l = len(m.Type)
  10753. n += 1 + l + sovGenerated(uint64(l))
  10754. l = len(m.Level)
  10755. n += 1 + l + sovGenerated(uint64(l))
  10756. return n
  10757. }
  10758. func (m *ScaleIOVolumeSource) Size() (n int) {
  10759. var l int
  10760. _ = l
  10761. l = len(m.Gateway)
  10762. n += 1 + l + sovGenerated(uint64(l))
  10763. l = len(m.System)
  10764. n += 1 + l + sovGenerated(uint64(l))
  10765. if m.SecretRef != nil {
  10766. l = m.SecretRef.Size()
  10767. n += 1 + l + sovGenerated(uint64(l))
  10768. }
  10769. n += 2
  10770. l = len(m.ProtectionDomain)
  10771. n += 1 + l + sovGenerated(uint64(l))
  10772. l = len(m.StoragePool)
  10773. n += 1 + l + sovGenerated(uint64(l))
  10774. l = len(m.StorageMode)
  10775. n += 1 + l + sovGenerated(uint64(l))
  10776. l = len(m.VolumeName)
  10777. n += 1 + l + sovGenerated(uint64(l))
  10778. l = len(m.FSType)
  10779. n += 1 + l + sovGenerated(uint64(l))
  10780. n += 2
  10781. return n
  10782. }
  10783. func (m *Secret) Size() (n int) {
  10784. var l int
  10785. _ = l
  10786. l = m.ObjectMeta.Size()
  10787. n += 1 + l + sovGenerated(uint64(l))
  10788. if len(m.Data) > 0 {
  10789. for k, v := range m.Data {
  10790. _ = k
  10791. _ = v
  10792. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10793. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10794. }
  10795. }
  10796. l = len(m.Type)
  10797. n += 1 + l + sovGenerated(uint64(l))
  10798. if len(m.StringData) > 0 {
  10799. for k, v := range m.StringData {
  10800. _ = k
  10801. _ = v
  10802. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10803. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10804. }
  10805. }
  10806. return n
  10807. }
  10808. func (m *SecretEnvSource) Size() (n int) {
  10809. var l int
  10810. _ = l
  10811. l = m.LocalObjectReference.Size()
  10812. n += 1 + l + sovGenerated(uint64(l))
  10813. if m.Optional != nil {
  10814. n += 2
  10815. }
  10816. return n
  10817. }
  10818. func (m *SecretKeySelector) Size() (n int) {
  10819. var l int
  10820. _ = l
  10821. l = m.LocalObjectReference.Size()
  10822. n += 1 + l + sovGenerated(uint64(l))
  10823. l = len(m.Key)
  10824. n += 1 + l + sovGenerated(uint64(l))
  10825. if m.Optional != nil {
  10826. n += 2
  10827. }
  10828. return n
  10829. }
  10830. func (m *SecretList) Size() (n int) {
  10831. var l int
  10832. _ = l
  10833. l = m.ListMeta.Size()
  10834. n += 1 + l + sovGenerated(uint64(l))
  10835. if len(m.Items) > 0 {
  10836. for _, e := range m.Items {
  10837. l = e.Size()
  10838. n += 1 + l + sovGenerated(uint64(l))
  10839. }
  10840. }
  10841. return n
  10842. }
  10843. func (m *SecretProjection) Size() (n int) {
  10844. var l int
  10845. _ = l
  10846. l = m.LocalObjectReference.Size()
  10847. n += 1 + l + sovGenerated(uint64(l))
  10848. if len(m.Items) > 0 {
  10849. for _, e := range m.Items {
  10850. l = e.Size()
  10851. n += 1 + l + sovGenerated(uint64(l))
  10852. }
  10853. }
  10854. if m.Optional != nil {
  10855. n += 2
  10856. }
  10857. return n
  10858. }
  10859. func (m *SecretVolumeSource) Size() (n int) {
  10860. var l int
  10861. _ = l
  10862. l = len(m.SecretName)
  10863. n += 1 + l + sovGenerated(uint64(l))
  10864. if len(m.Items) > 0 {
  10865. for _, e := range m.Items {
  10866. l = e.Size()
  10867. n += 1 + l + sovGenerated(uint64(l))
  10868. }
  10869. }
  10870. if m.DefaultMode != nil {
  10871. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  10872. }
  10873. if m.Optional != nil {
  10874. n += 2
  10875. }
  10876. return n
  10877. }
  10878. func (m *SecurityContext) Size() (n int) {
  10879. var l int
  10880. _ = l
  10881. if m.Capabilities != nil {
  10882. l = m.Capabilities.Size()
  10883. n += 1 + l + sovGenerated(uint64(l))
  10884. }
  10885. if m.Privileged != nil {
  10886. n += 2
  10887. }
  10888. if m.SELinuxOptions != nil {
  10889. l = m.SELinuxOptions.Size()
  10890. n += 1 + l + sovGenerated(uint64(l))
  10891. }
  10892. if m.RunAsUser != nil {
  10893. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  10894. }
  10895. if m.RunAsNonRoot != nil {
  10896. n += 2
  10897. }
  10898. if m.ReadOnlyRootFilesystem != nil {
  10899. n += 2
  10900. }
  10901. return n
  10902. }
  10903. func (m *SerializedReference) Size() (n int) {
  10904. var l int
  10905. _ = l
  10906. l = m.Reference.Size()
  10907. n += 1 + l + sovGenerated(uint64(l))
  10908. return n
  10909. }
  10910. func (m *Service) Size() (n int) {
  10911. var l int
  10912. _ = l
  10913. l = m.ObjectMeta.Size()
  10914. n += 1 + l + sovGenerated(uint64(l))
  10915. l = m.Spec.Size()
  10916. n += 1 + l + sovGenerated(uint64(l))
  10917. l = m.Status.Size()
  10918. n += 1 + l + sovGenerated(uint64(l))
  10919. return n
  10920. }
  10921. func (m *ServiceAccount) Size() (n int) {
  10922. var l int
  10923. _ = l
  10924. l = m.ObjectMeta.Size()
  10925. n += 1 + l + sovGenerated(uint64(l))
  10926. if len(m.Secrets) > 0 {
  10927. for _, e := range m.Secrets {
  10928. l = e.Size()
  10929. n += 1 + l + sovGenerated(uint64(l))
  10930. }
  10931. }
  10932. if len(m.ImagePullSecrets) > 0 {
  10933. for _, e := range m.ImagePullSecrets {
  10934. l = e.Size()
  10935. n += 1 + l + sovGenerated(uint64(l))
  10936. }
  10937. }
  10938. if m.AutomountServiceAccountToken != nil {
  10939. n += 2
  10940. }
  10941. return n
  10942. }
  10943. func (m *ServiceAccountList) Size() (n int) {
  10944. var l int
  10945. _ = l
  10946. l = m.ListMeta.Size()
  10947. n += 1 + l + sovGenerated(uint64(l))
  10948. if len(m.Items) > 0 {
  10949. for _, e := range m.Items {
  10950. l = e.Size()
  10951. n += 1 + l + sovGenerated(uint64(l))
  10952. }
  10953. }
  10954. return n
  10955. }
  10956. func (m *ServiceList) Size() (n int) {
  10957. var l int
  10958. _ = l
  10959. l = m.ListMeta.Size()
  10960. n += 1 + l + sovGenerated(uint64(l))
  10961. if len(m.Items) > 0 {
  10962. for _, e := range m.Items {
  10963. l = e.Size()
  10964. n += 1 + l + sovGenerated(uint64(l))
  10965. }
  10966. }
  10967. return n
  10968. }
  10969. func (m *ServicePort) Size() (n int) {
  10970. var l int
  10971. _ = l
  10972. l = len(m.Name)
  10973. n += 1 + l + sovGenerated(uint64(l))
  10974. l = len(m.Protocol)
  10975. n += 1 + l + sovGenerated(uint64(l))
  10976. n += 1 + sovGenerated(uint64(m.Port))
  10977. l = m.TargetPort.Size()
  10978. n += 1 + l + sovGenerated(uint64(l))
  10979. n += 1 + sovGenerated(uint64(m.NodePort))
  10980. return n
  10981. }
  10982. func (m *ServiceProxyOptions) Size() (n int) {
  10983. var l int
  10984. _ = l
  10985. l = len(m.Path)
  10986. n += 1 + l + sovGenerated(uint64(l))
  10987. return n
  10988. }
  10989. func (m *ServiceSpec) Size() (n int) {
  10990. var l int
  10991. _ = l
  10992. if len(m.Ports) > 0 {
  10993. for _, e := range m.Ports {
  10994. l = e.Size()
  10995. n += 1 + l + sovGenerated(uint64(l))
  10996. }
  10997. }
  10998. if len(m.Selector) > 0 {
  10999. for k, v := range m.Selector {
  11000. _ = k
  11001. _ = v
  11002. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  11003. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11004. }
  11005. }
  11006. l = len(m.ClusterIP)
  11007. n += 1 + l + sovGenerated(uint64(l))
  11008. l = len(m.Type)
  11009. n += 1 + l + sovGenerated(uint64(l))
  11010. if len(m.ExternalIPs) > 0 {
  11011. for _, s := range m.ExternalIPs {
  11012. l = len(s)
  11013. n += 1 + l + sovGenerated(uint64(l))
  11014. }
  11015. }
  11016. if len(m.DeprecatedPublicIPs) > 0 {
  11017. for _, s := range m.DeprecatedPublicIPs {
  11018. l = len(s)
  11019. n += 1 + l + sovGenerated(uint64(l))
  11020. }
  11021. }
  11022. l = len(m.SessionAffinity)
  11023. n += 1 + l + sovGenerated(uint64(l))
  11024. l = len(m.LoadBalancerIP)
  11025. n += 1 + l + sovGenerated(uint64(l))
  11026. if len(m.LoadBalancerSourceRanges) > 0 {
  11027. for _, s := range m.LoadBalancerSourceRanges {
  11028. l = len(s)
  11029. n += 1 + l + sovGenerated(uint64(l))
  11030. }
  11031. }
  11032. l = len(m.ExternalName)
  11033. n += 1 + l + sovGenerated(uint64(l))
  11034. return n
  11035. }
  11036. func (m *ServiceStatus) Size() (n int) {
  11037. var l int
  11038. _ = l
  11039. l = m.LoadBalancer.Size()
  11040. n += 1 + l + sovGenerated(uint64(l))
  11041. return n
  11042. }
  11043. func (m *Sysctl) Size() (n int) {
  11044. var l int
  11045. _ = l
  11046. l = len(m.Name)
  11047. n += 1 + l + sovGenerated(uint64(l))
  11048. l = len(m.Value)
  11049. n += 1 + l + sovGenerated(uint64(l))
  11050. return n
  11051. }
  11052. func (m *TCPSocketAction) Size() (n int) {
  11053. var l int
  11054. _ = l
  11055. l = m.Port.Size()
  11056. n += 1 + l + sovGenerated(uint64(l))
  11057. return n
  11058. }
  11059. func (m *Taint) Size() (n int) {
  11060. var l int
  11061. _ = l
  11062. l = len(m.Key)
  11063. n += 1 + l + sovGenerated(uint64(l))
  11064. l = len(m.Value)
  11065. n += 1 + l + sovGenerated(uint64(l))
  11066. l = len(m.Effect)
  11067. n += 1 + l + sovGenerated(uint64(l))
  11068. l = m.TimeAdded.Size()
  11069. n += 1 + l + sovGenerated(uint64(l))
  11070. return n
  11071. }
  11072. func (m *Toleration) Size() (n int) {
  11073. var l int
  11074. _ = l
  11075. l = len(m.Key)
  11076. n += 1 + l + sovGenerated(uint64(l))
  11077. l = len(m.Operator)
  11078. n += 1 + l + sovGenerated(uint64(l))
  11079. l = len(m.Value)
  11080. n += 1 + l + sovGenerated(uint64(l))
  11081. l = len(m.Effect)
  11082. n += 1 + l + sovGenerated(uint64(l))
  11083. if m.TolerationSeconds != nil {
  11084. n += 1 + sovGenerated(uint64(*m.TolerationSeconds))
  11085. }
  11086. return n
  11087. }
  11088. func (m *Volume) Size() (n int) {
  11089. var l int
  11090. _ = l
  11091. l = len(m.Name)
  11092. n += 1 + l + sovGenerated(uint64(l))
  11093. l = m.VolumeSource.Size()
  11094. n += 1 + l + sovGenerated(uint64(l))
  11095. return n
  11096. }
  11097. func (m *VolumeMount) Size() (n int) {
  11098. var l int
  11099. _ = l
  11100. l = len(m.Name)
  11101. n += 1 + l + sovGenerated(uint64(l))
  11102. n += 2
  11103. l = len(m.MountPath)
  11104. n += 1 + l + sovGenerated(uint64(l))
  11105. l = len(m.SubPath)
  11106. n += 1 + l + sovGenerated(uint64(l))
  11107. return n
  11108. }
  11109. func (m *VolumeProjection) Size() (n int) {
  11110. var l int
  11111. _ = l
  11112. if m.Secret != nil {
  11113. l = m.Secret.Size()
  11114. n += 1 + l + sovGenerated(uint64(l))
  11115. }
  11116. if m.DownwardAPI != nil {
  11117. l = m.DownwardAPI.Size()
  11118. n += 1 + l + sovGenerated(uint64(l))
  11119. }
  11120. if m.ConfigMap != nil {
  11121. l = m.ConfigMap.Size()
  11122. n += 1 + l + sovGenerated(uint64(l))
  11123. }
  11124. return n
  11125. }
  11126. func (m *VolumeSource) Size() (n int) {
  11127. var l int
  11128. _ = l
  11129. if m.HostPath != nil {
  11130. l = m.HostPath.Size()
  11131. n += 1 + l + sovGenerated(uint64(l))
  11132. }
  11133. if m.EmptyDir != nil {
  11134. l = m.EmptyDir.Size()
  11135. n += 1 + l + sovGenerated(uint64(l))
  11136. }
  11137. if m.GCEPersistentDisk != nil {
  11138. l = m.GCEPersistentDisk.Size()
  11139. n += 1 + l + sovGenerated(uint64(l))
  11140. }
  11141. if m.AWSElasticBlockStore != nil {
  11142. l = m.AWSElasticBlockStore.Size()
  11143. n += 1 + l + sovGenerated(uint64(l))
  11144. }
  11145. if m.GitRepo != nil {
  11146. l = m.GitRepo.Size()
  11147. n += 1 + l + sovGenerated(uint64(l))
  11148. }
  11149. if m.Secret != nil {
  11150. l = m.Secret.Size()
  11151. n += 1 + l + sovGenerated(uint64(l))
  11152. }
  11153. if m.NFS != nil {
  11154. l = m.NFS.Size()
  11155. n += 1 + l + sovGenerated(uint64(l))
  11156. }
  11157. if m.ISCSI != nil {
  11158. l = m.ISCSI.Size()
  11159. n += 1 + l + sovGenerated(uint64(l))
  11160. }
  11161. if m.Glusterfs != nil {
  11162. l = m.Glusterfs.Size()
  11163. n += 1 + l + sovGenerated(uint64(l))
  11164. }
  11165. if m.PersistentVolumeClaim != nil {
  11166. l = m.PersistentVolumeClaim.Size()
  11167. n += 1 + l + sovGenerated(uint64(l))
  11168. }
  11169. if m.RBD != nil {
  11170. l = m.RBD.Size()
  11171. n += 1 + l + sovGenerated(uint64(l))
  11172. }
  11173. if m.FlexVolume != nil {
  11174. l = m.FlexVolume.Size()
  11175. n += 1 + l + sovGenerated(uint64(l))
  11176. }
  11177. if m.Cinder != nil {
  11178. l = m.Cinder.Size()
  11179. n += 1 + l + sovGenerated(uint64(l))
  11180. }
  11181. if m.CephFS != nil {
  11182. l = m.CephFS.Size()
  11183. n += 1 + l + sovGenerated(uint64(l))
  11184. }
  11185. if m.Flocker != nil {
  11186. l = m.Flocker.Size()
  11187. n += 1 + l + sovGenerated(uint64(l))
  11188. }
  11189. if m.DownwardAPI != nil {
  11190. l = m.DownwardAPI.Size()
  11191. n += 2 + l + sovGenerated(uint64(l))
  11192. }
  11193. if m.FC != nil {
  11194. l = m.FC.Size()
  11195. n += 2 + l + sovGenerated(uint64(l))
  11196. }
  11197. if m.AzureFile != nil {
  11198. l = m.AzureFile.Size()
  11199. n += 2 + l + sovGenerated(uint64(l))
  11200. }
  11201. if m.ConfigMap != nil {
  11202. l = m.ConfigMap.Size()
  11203. n += 2 + l + sovGenerated(uint64(l))
  11204. }
  11205. if m.VsphereVolume != nil {
  11206. l = m.VsphereVolume.Size()
  11207. n += 2 + l + sovGenerated(uint64(l))
  11208. }
  11209. if m.Quobyte != nil {
  11210. l = m.Quobyte.Size()
  11211. n += 2 + l + sovGenerated(uint64(l))
  11212. }
  11213. if m.AzureDisk != nil {
  11214. l = m.AzureDisk.Size()
  11215. n += 2 + l + sovGenerated(uint64(l))
  11216. }
  11217. if m.PhotonPersistentDisk != nil {
  11218. l = m.PhotonPersistentDisk.Size()
  11219. n += 2 + l + sovGenerated(uint64(l))
  11220. }
  11221. if m.PortworxVolume != nil {
  11222. l = m.PortworxVolume.Size()
  11223. n += 2 + l + sovGenerated(uint64(l))
  11224. }
  11225. if m.ScaleIO != nil {
  11226. l = m.ScaleIO.Size()
  11227. n += 2 + l + sovGenerated(uint64(l))
  11228. }
  11229. if m.Projected != nil {
  11230. l = m.Projected.Size()
  11231. n += 2 + l + sovGenerated(uint64(l))
  11232. }
  11233. return n
  11234. }
  11235. func (m *VsphereVirtualDiskVolumeSource) Size() (n int) {
  11236. var l int
  11237. _ = l
  11238. l = len(m.VolumePath)
  11239. n += 1 + l + sovGenerated(uint64(l))
  11240. l = len(m.FSType)
  11241. n += 1 + l + sovGenerated(uint64(l))
  11242. return n
  11243. }
  11244. func (m *WeightedPodAffinityTerm) Size() (n int) {
  11245. var l int
  11246. _ = l
  11247. n += 1 + sovGenerated(uint64(m.Weight))
  11248. l = m.PodAffinityTerm.Size()
  11249. n += 1 + l + sovGenerated(uint64(l))
  11250. return n
  11251. }
  11252. func sovGenerated(x uint64) (n int) {
  11253. for {
  11254. n++
  11255. x >>= 7
  11256. if x == 0 {
  11257. break
  11258. }
  11259. }
  11260. return n
  11261. }
  11262. func sozGenerated(x uint64) (n int) {
  11263. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  11264. }
  11265. func (this *AWSElasticBlockStoreVolumeSource) String() string {
  11266. if this == nil {
  11267. return "nil"
  11268. }
  11269. s := strings.Join([]string{`&AWSElasticBlockStoreVolumeSource{`,
  11270. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  11271. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  11272. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  11273. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11274. `}`,
  11275. }, "")
  11276. return s
  11277. }
  11278. func (this *Affinity) String() string {
  11279. if this == nil {
  11280. return "nil"
  11281. }
  11282. s := strings.Join([]string{`&Affinity{`,
  11283. `NodeAffinity:` + strings.Replace(fmt.Sprintf("%v", this.NodeAffinity), "NodeAffinity", "NodeAffinity", 1) + `,`,
  11284. `PodAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAffinity), "PodAffinity", "PodAffinity", 1) + `,`,
  11285. `PodAntiAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAntiAffinity), "PodAntiAffinity", "PodAntiAffinity", 1) + `,`,
  11286. `}`,
  11287. }, "")
  11288. return s
  11289. }
  11290. func (this *AttachedVolume) String() string {
  11291. if this == nil {
  11292. return "nil"
  11293. }
  11294. s := strings.Join([]string{`&AttachedVolume{`,
  11295. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11296. `DevicePath:` + fmt.Sprintf("%v", this.DevicePath) + `,`,
  11297. `}`,
  11298. }, "")
  11299. return s
  11300. }
  11301. func (this *AvoidPods) String() string {
  11302. if this == nil {
  11303. return "nil"
  11304. }
  11305. s := strings.Join([]string{`&AvoidPods{`,
  11306. `PreferAvoidPods:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferAvoidPods), "PreferAvoidPodsEntry", "PreferAvoidPodsEntry", 1), `&`, ``, 1) + `,`,
  11307. `}`,
  11308. }, "")
  11309. return s
  11310. }
  11311. func (this *AzureDiskVolumeSource) String() string {
  11312. if this == nil {
  11313. return "nil"
  11314. }
  11315. s := strings.Join([]string{`&AzureDiskVolumeSource{`,
  11316. `DiskName:` + fmt.Sprintf("%v", this.DiskName) + `,`,
  11317. `DataDiskURI:` + fmt.Sprintf("%v", this.DataDiskURI) + `,`,
  11318. `CachingMode:` + valueToStringGenerated(this.CachingMode) + `,`,
  11319. `FSType:` + valueToStringGenerated(this.FSType) + `,`,
  11320. `ReadOnly:` + valueToStringGenerated(this.ReadOnly) + `,`,
  11321. `}`,
  11322. }, "")
  11323. return s
  11324. }
  11325. func (this *AzureFileVolumeSource) String() string {
  11326. if this == nil {
  11327. return "nil"
  11328. }
  11329. s := strings.Join([]string{`&AzureFileVolumeSource{`,
  11330. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  11331. `ShareName:` + fmt.Sprintf("%v", this.ShareName) + `,`,
  11332. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11333. `}`,
  11334. }, "")
  11335. return s
  11336. }
  11337. func (this *Binding) String() string {
  11338. if this == nil {
  11339. return "nil"
  11340. }
  11341. s := strings.Join([]string{`&Binding{`,
  11342. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  11343. `Target:` + strings.Replace(strings.Replace(this.Target.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  11344. `}`,
  11345. }, "")
  11346. return s
  11347. }
  11348. func (this *Capabilities) String() string {
  11349. if this == nil {
  11350. return "nil"
  11351. }
  11352. s := strings.Join([]string{`&Capabilities{`,
  11353. `Add:` + fmt.Sprintf("%v", this.Add) + `,`,
  11354. `Drop:` + fmt.Sprintf("%v", this.Drop) + `,`,
  11355. `}`,
  11356. }, "")
  11357. return s
  11358. }
  11359. func (this *CephFSVolumeSource) String() string {
  11360. if this == nil {
  11361. return "nil"
  11362. }
  11363. s := strings.Join([]string{`&CephFSVolumeSource{`,
  11364. `Monitors:` + fmt.Sprintf("%v", this.Monitors) + `,`,
  11365. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11366. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  11367. `SecretFile:` + fmt.Sprintf("%v", this.SecretFile) + `,`,
  11368. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  11369. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11370. `}`,
  11371. }, "")
  11372. return s
  11373. }
  11374. func (this *CinderVolumeSource) String() string {
  11375. if this == nil {
  11376. return "nil"
  11377. }
  11378. s := strings.Join([]string{`&CinderVolumeSource{`,
  11379. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  11380. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  11381. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11382. `}`,
  11383. }, "")
  11384. return s
  11385. }
  11386. func (this *ComponentCondition) String() string {
  11387. if this == nil {
  11388. return "nil"
  11389. }
  11390. s := strings.Join([]string{`&ComponentCondition{`,
  11391. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  11392. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  11393. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11394. `Error:` + fmt.Sprintf("%v", this.Error) + `,`,
  11395. `}`,
  11396. }, "")
  11397. return s
  11398. }
  11399. func (this *ComponentStatus) String() string {
  11400. if this == nil {
  11401. return "nil"
  11402. }
  11403. s := strings.Join([]string{`&ComponentStatus{`,
  11404. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  11405. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ComponentCondition", "ComponentCondition", 1), `&`, ``, 1) + `,`,
  11406. `}`,
  11407. }, "")
  11408. return s
  11409. }
  11410. func (this *ComponentStatusList) String() string {
  11411. if this == nil {
  11412. return "nil"
  11413. }
  11414. s := strings.Join([]string{`&ComponentStatusList{`,
  11415. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  11416. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ComponentStatus", "ComponentStatus", 1), `&`, ``, 1) + `,`,
  11417. `}`,
  11418. }, "")
  11419. return s
  11420. }
  11421. func (this *ConfigMap) String() string {
  11422. if this == nil {
  11423. return "nil"
  11424. }
  11425. keysForData := make([]string, 0, len(this.Data))
  11426. for k := range this.Data {
  11427. keysForData = append(keysForData, k)
  11428. }
  11429. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  11430. mapStringForData := "map[string]string{"
  11431. for _, k := range keysForData {
  11432. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  11433. }
  11434. mapStringForData += "}"
  11435. s := strings.Join([]string{`&ConfigMap{`,
  11436. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  11437. `Data:` + mapStringForData + `,`,
  11438. `}`,
  11439. }, "")
  11440. return s
  11441. }
  11442. func (this *ConfigMapEnvSource) String() string {
  11443. if this == nil {
  11444. return "nil"
  11445. }
  11446. s := strings.Join([]string{`&ConfigMapEnvSource{`,
  11447. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  11448. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  11449. `}`,
  11450. }, "")
  11451. return s
  11452. }
  11453. func (this *ConfigMapKeySelector) String() string {
  11454. if this == nil {
  11455. return "nil"
  11456. }
  11457. s := strings.Join([]string{`&ConfigMapKeySelector{`,
  11458. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  11459. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  11460. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  11461. `}`,
  11462. }, "")
  11463. return s
  11464. }
  11465. func (this *ConfigMapList) String() string {
  11466. if this == nil {
  11467. return "nil"
  11468. }
  11469. s := strings.Join([]string{`&ConfigMapList{`,
  11470. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  11471. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ConfigMap", "ConfigMap", 1), `&`, ``, 1) + `,`,
  11472. `}`,
  11473. }, "")
  11474. return s
  11475. }
  11476. func (this *ConfigMapProjection) String() string {
  11477. if this == nil {
  11478. return "nil"
  11479. }
  11480. s := strings.Join([]string{`&ConfigMapProjection{`,
  11481. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  11482. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  11483. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  11484. `}`,
  11485. }, "")
  11486. return s
  11487. }
  11488. func (this *ConfigMapVolumeSource) String() string {
  11489. if this == nil {
  11490. return "nil"
  11491. }
  11492. s := strings.Join([]string{`&ConfigMapVolumeSource{`,
  11493. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  11494. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  11495. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  11496. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  11497. `}`,
  11498. }, "")
  11499. return s
  11500. }
  11501. func (this *Container) String() string {
  11502. if this == nil {
  11503. return "nil"
  11504. }
  11505. s := strings.Join([]string{`&Container{`,
  11506. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11507. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  11508. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  11509. `Args:` + fmt.Sprintf("%v", this.Args) + `,`,
  11510. `WorkingDir:` + fmt.Sprintf("%v", this.WorkingDir) + `,`,
  11511. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ContainerPort", "ContainerPort", 1), `&`, ``, 1) + `,`,
  11512. `Env:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Env), "EnvVar", "EnvVar", 1), `&`, ``, 1) + `,`,
  11513. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  11514. `VolumeMounts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeMounts), "VolumeMount", "VolumeMount", 1), `&`, ``, 1) + `,`,
  11515. `LivenessProbe:` + strings.Replace(fmt.Sprintf("%v", this.LivenessProbe), "Probe", "Probe", 1) + `,`,
  11516. `ReadinessProbe:` + strings.Replace(fmt.Sprintf("%v", this.ReadinessProbe), "Probe", "Probe", 1) + `,`,
  11517. `Lifecycle:` + strings.Replace(fmt.Sprintf("%v", this.Lifecycle), "Lifecycle", "Lifecycle", 1) + `,`,
  11518. `TerminationMessagePath:` + fmt.Sprintf("%v", this.TerminationMessagePath) + `,`,
  11519. `ImagePullPolicy:` + fmt.Sprintf("%v", this.ImagePullPolicy) + `,`,
  11520. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "SecurityContext", "SecurityContext", 1) + `,`,
  11521. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  11522. `StdinOnce:` + fmt.Sprintf("%v", this.StdinOnce) + `,`,
  11523. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  11524. `EnvFrom:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.EnvFrom), "EnvFromSource", "EnvFromSource", 1), `&`, ``, 1) + `,`,
  11525. `TerminationMessagePolicy:` + fmt.Sprintf("%v", this.TerminationMessagePolicy) + `,`,
  11526. `}`,
  11527. }, "")
  11528. return s
  11529. }
  11530. func (this *ContainerImage) String() string {
  11531. if this == nil {
  11532. return "nil"
  11533. }
  11534. s := strings.Join([]string{`&ContainerImage{`,
  11535. `Names:` + fmt.Sprintf("%v", this.Names) + `,`,
  11536. `SizeBytes:` + fmt.Sprintf("%v", this.SizeBytes) + `,`,
  11537. `}`,
  11538. }, "")
  11539. return s
  11540. }
  11541. func (this *ContainerPort) String() string {
  11542. if this == nil {
  11543. return "nil"
  11544. }
  11545. s := strings.Join([]string{`&ContainerPort{`,
  11546. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11547. `HostPort:` + fmt.Sprintf("%v", this.HostPort) + `,`,
  11548. `ContainerPort:` + fmt.Sprintf("%v", this.ContainerPort) + `,`,
  11549. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  11550. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  11551. `}`,
  11552. }, "")
  11553. return s
  11554. }
  11555. func (this *ContainerState) String() string {
  11556. if this == nil {
  11557. return "nil"
  11558. }
  11559. s := strings.Join([]string{`&ContainerState{`,
  11560. `Waiting:` + strings.Replace(fmt.Sprintf("%v", this.Waiting), "ContainerStateWaiting", "ContainerStateWaiting", 1) + `,`,
  11561. `Running:` + strings.Replace(fmt.Sprintf("%v", this.Running), "ContainerStateRunning", "ContainerStateRunning", 1) + `,`,
  11562. `Terminated:` + strings.Replace(fmt.Sprintf("%v", this.Terminated), "ContainerStateTerminated", "ContainerStateTerminated", 1) + `,`,
  11563. `}`,
  11564. }, "")
  11565. return s
  11566. }
  11567. func (this *ContainerStateRunning) String() string {
  11568. if this == nil {
  11569. return "nil"
  11570. }
  11571. s := strings.Join([]string{`&ContainerStateRunning{`,
  11572. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  11573. `}`,
  11574. }, "")
  11575. return s
  11576. }
  11577. func (this *ContainerStateTerminated) String() string {
  11578. if this == nil {
  11579. return "nil"
  11580. }
  11581. s := strings.Join([]string{`&ContainerStateTerminated{`,
  11582. `ExitCode:` + fmt.Sprintf("%v", this.ExitCode) + `,`,
  11583. `Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
  11584. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11585. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11586. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  11587. `FinishedAt:` + strings.Replace(strings.Replace(this.FinishedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  11588. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  11589. `}`,
  11590. }, "")
  11591. return s
  11592. }
  11593. func (this *ContainerStateWaiting) String() string {
  11594. if this == nil {
  11595. return "nil"
  11596. }
  11597. s := strings.Join([]string{`&ContainerStateWaiting{`,
  11598. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11599. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11600. `}`,
  11601. }, "")
  11602. return s
  11603. }
  11604. func (this *ContainerStatus) String() string {
  11605. if this == nil {
  11606. return "nil"
  11607. }
  11608. s := strings.Join([]string{`&ContainerStatus{`,
  11609. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11610. `State:` + strings.Replace(strings.Replace(this.State.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  11611. `LastTerminationState:` + strings.Replace(strings.Replace(this.LastTerminationState.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  11612. `Ready:` + fmt.Sprintf("%v", this.Ready) + `,`,
  11613. `RestartCount:` + fmt.Sprintf("%v", this.RestartCount) + `,`,
  11614. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  11615. `ImageID:` + fmt.Sprintf("%v", this.ImageID) + `,`,
  11616. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  11617. `}`,
  11618. }, "")
  11619. return s
  11620. }
  11621. func (this *DaemonEndpoint) String() string {
  11622. if this == nil {
  11623. return "nil"
  11624. }
  11625. s := strings.Join([]string{`&DaemonEndpoint{`,
  11626. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  11627. `}`,
  11628. }, "")
  11629. return s
  11630. }
  11631. func (this *DeleteOptions) String() string {
  11632. if this == nil {
  11633. return "nil"
  11634. }
  11635. s := strings.Join([]string{`&DeleteOptions{`,
  11636. `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`,
  11637. `Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`,
  11638. `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`,
  11639. `PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`,
  11640. `}`,
  11641. }, "")
  11642. return s
  11643. }
  11644. func (this *DownwardAPIProjection) String() string {
  11645. if this == nil {
  11646. return "nil"
  11647. }
  11648. s := strings.Join([]string{`&DownwardAPIProjection{`,
  11649. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DownwardAPIVolumeFile", "DownwardAPIVolumeFile", 1), `&`, ``, 1) + `,`,
  11650. `}`,
  11651. }, "")
  11652. return s
  11653. }
  11654. func (this *DownwardAPIVolumeFile) String() string {
  11655. if this == nil {
  11656. return "nil"
  11657. }
  11658. s := strings.Join([]string{`&DownwardAPIVolumeFile{`,
  11659. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11660. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  11661. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  11662. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  11663. `}`,
  11664. }, "")
  11665. return s
  11666. }
  11667. func (this *DownwardAPIVolumeSource) String() string {
  11668. if this == nil {
  11669. return "nil"
  11670. }
  11671. s := strings.Join([]string{`&DownwardAPIVolumeSource{`,
  11672. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DownwardAPIVolumeFile", "DownwardAPIVolumeFile", 1), `&`, ``, 1) + `,`,
  11673. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  11674. `}`,
  11675. }, "")
  11676. return s
  11677. }
  11678. func (this *EmptyDirVolumeSource) String() string {
  11679. if this == nil {
  11680. return "nil"
  11681. }
  11682. s := strings.Join([]string{`&EmptyDirVolumeSource{`,
  11683. `Medium:` + fmt.Sprintf("%v", this.Medium) + `,`,
  11684. `}`,
  11685. }, "")
  11686. return s
  11687. }
  11688. func (this *EndpointAddress) String() string {
  11689. if this == nil {
  11690. return "nil"
  11691. }
  11692. s := strings.Join([]string{`&EndpointAddress{`,
  11693. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  11694. `TargetRef:` + strings.Replace(fmt.Sprintf("%v", this.TargetRef), "ObjectReference", "ObjectReference", 1) + `,`,
  11695. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  11696. `NodeName:` + valueToStringGenerated(this.NodeName) + `,`,
  11697. `}`,
  11698. }, "")
  11699. return s
  11700. }
  11701. func (this *EndpointPort) String() string {
  11702. if this == nil {
  11703. return "nil"
  11704. }
  11705. s := strings.Join([]string{`&EndpointPort{`,
  11706. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11707. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  11708. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  11709. `}`,
  11710. }, "")
  11711. return s
  11712. }
  11713. func (this *EndpointSubset) String() string {
  11714. if this == nil {
  11715. return "nil"
  11716. }
  11717. s := strings.Join([]string{`&EndpointSubset{`,
  11718. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  11719. `NotReadyAddresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NotReadyAddresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  11720. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "EndpointPort", "EndpointPort", 1), `&`, ``, 1) + `,`,
  11721. `}`,
  11722. }, "")
  11723. return s
  11724. }
  11725. func (this *Endpoints) String() string {
  11726. if this == nil {
  11727. return "nil"
  11728. }
  11729. s := strings.Join([]string{`&Endpoints{`,
  11730. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  11731. `Subsets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subsets), "EndpointSubset", "EndpointSubset", 1), `&`, ``, 1) + `,`,
  11732. `}`,
  11733. }, "")
  11734. return s
  11735. }
  11736. func (this *EndpointsList) String() string {
  11737. if this == nil {
  11738. return "nil"
  11739. }
  11740. s := strings.Join([]string{`&EndpointsList{`,
  11741. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  11742. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Endpoints", "Endpoints", 1), `&`, ``, 1) + `,`,
  11743. `}`,
  11744. }, "")
  11745. return s
  11746. }
  11747. func (this *EnvFromSource) String() string {
  11748. if this == nil {
  11749. return "nil"
  11750. }
  11751. s := strings.Join([]string{`&EnvFromSource{`,
  11752. `Prefix:` + fmt.Sprintf("%v", this.Prefix) + `,`,
  11753. `ConfigMapRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapRef), "ConfigMapEnvSource", "ConfigMapEnvSource", 1) + `,`,
  11754. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretEnvSource", "SecretEnvSource", 1) + `,`,
  11755. `}`,
  11756. }, "")
  11757. return s
  11758. }
  11759. func (this *EnvVar) String() string {
  11760. if this == nil {
  11761. return "nil"
  11762. }
  11763. s := strings.Join([]string{`&EnvVar{`,
  11764. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11765. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  11766. `ValueFrom:` + strings.Replace(fmt.Sprintf("%v", this.ValueFrom), "EnvVarSource", "EnvVarSource", 1) + `,`,
  11767. `}`,
  11768. }, "")
  11769. return s
  11770. }
  11771. func (this *EnvVarSource) String() string {
  11772. if this == nil {
  11773. return "nil"
  11774. }
  11775. s := strings.Join([]string{`&EnvVarSource{`,
  11776. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  11777. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  11778. `ConfigMapKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapKeyRef), "ConfigMapKeySelector", "ConfigMapKeySelector", 1) + `,`,
  11779. `SecretKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretKeyRef), "SecretKeySelector", "SecretKeySelector", 1) + `,`,
  11780. `}`,
  11781. }, "")
  11782. return s
  11783. }
  11784. func (this *Event) String() string {
  11785. if this == nil {
  11786. return "nil"
  11787. }
  11788. s := strings.Join([]string{`&Event{`,
  11789. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  11790. `InvolvedObject:` + strings.Replace(strings.Replace(this.InvolvedObject.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  11791. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  11792. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  11793. `Source:` + strings.Replace(strings.Replace(this.Source.String(), "EventSource", "EventSource", 1), `&`, ``, 1) + `,`,
  11794. `FirstTimestamp:` + strings.Replace(strings.Replace(this.FirstTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  11795. `LastTimestamp:` + strings.Replace(strings.Replace(this.LastTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  11796. `Count:` + fmt.Sprintf("%v", this.Count) + `,`,
  11797. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  11798. `}`,
  11799. }, "")
  11800. return s
  11801. }
  11802. func (this *EventList) String() string {
  11803. if this == nil {
  11804. return "nil"
  11805. }
  11806. s := strings.Join([]string{`&EventList{`,
  11807. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  11808. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Event", "Event", 1), `&`, ``, 1) + `,`,
  11809. `}`,
  11810. }, "")
  11811. return s
  11812. }
  11813. func (this *EventSource) String() string {
  11814. if this == nil {
  11815. return "nil"
  11816. }
  11817. s := strings.Join([]string{`&EventSource{`,
  11818. `Component:` + fmt.Sprintf("%v", this.Component) + `,`,
  11819. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  11820. `}`,
  11821. }, "")
  11822. return s
  11823. }
  11824. func (this *ExecAction) String() string {
  11825. if this == nil {
  11826. return "nil"
  11827. }
  11828. s := strings.Join([]string{`&ExecAction{`,
  11829. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  11830. `}`,
  11831. }, "")
  11832. return s
  11833. }
  11834. func (this *FCVolumeSource) String() string {
  11835. if this == nil {
  11836. return "nil"
  11837. }
  11838. s := strings.Join([]string{`&FCVolumeSource{`,
  11839. `TargetWWNs:` + fmt.Sprintf("%v", this.TargetWWNs) + `,`,
  11840. `Lun:` + valueToStringGenerated(this.Lun) + `,`,
  11841. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  11842. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11843. `}`,
  11844. }, "")
  11845. return s
  11846. }
  11847. func (this *FlexVolumeSource) String() string {
  11848. if this == nil {
  11849. return "nil"
  11850. }
  11851. keysForOptions := make([]string, 0, len(this.Options))
  11852. for k := range this.Options {
  11853. keysForOptions = append(keysForOptions, k)
  11854. }
  11855. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  11856. mapStringForOptions := "map[string]string{"
  11857. for _, k := range keysForOptions {
  11858. mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
  11859. }
  11860. mapStringForOptions += "}"
  11861. s := strings.Join([]string{`&FlexVolumeSource{`,
  11862. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  11863. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  11864. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  11865. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11866. `Options:` + mapStringForOptions + `,`,
  11867. `}`,
  11868. }, "")
  11869. return s
  11870. }
  11871. func (this *FlockerVolumeSource) String() string {
  11872. if this == nil {
  11873. return "nil"
  11874. }
  11875. s := strings.Join([]string{`&FlockerVolumeSource{`,
  11876. `DatasetName:` + fmt.Sprintf("%v", this.DatasetName) + `,`,
  11877. `DatasetUUID:` + fmt.Sprintf("%v", this.DatasetUUID) + `,`,
  11878. `}`,
  11879. }, "")
  11880. return s
  11881. }
  11882. func (this *GCEPersistentDiskVolumeSource) String() string {
  11883. if this == nil {
  11884. return "nil"
  11885. }
  11886. s := strings.Join([]string{`&GCEPersistentDiskVolumeSource{`,
  11887. `PDName:` + fmt.Sprintf("%v", this.PDName) + `,`,
  11888. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  11889. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  11890. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11891. `}`,
  11892. }, "")
  11893. return s
  11894. }
  11895. func (this *GitRepoVolumeSource) String() string {
  11896. if this == nil {
  11897. return "nil"
  11898. }
  11899. s := strings.Join([]string{`&GitRepoVolumeSource{`,
  11900. `Repository:` + fmt.Sprintf("%v", this.Repository) + `,`,
  11901. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  11902. `Directory:` + fmt.Sprintf("%v", this.Directory) + `,`,
  11903. `}`,
  11904. }, "")
  11905. return s
  11906. }
  11907. func (this *GlusterfsVolumeSource) String() string {
  11908. if this == nil {
  11909. return "nil"
  11910. }
  11911. s := strings.Join([]string{`&GlusterfsVolumeSource{`,
  11912. `EndpointsName:` + fmt.Sprintf("%v", this.EndpointsName) + `,`,
  11913. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11914. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11915. `}`,
  11916. }, "")
  11917. return s
  11918. }
  11919. func (this *HTTPGetAction) String() string {
  11920. if this == nil {
  11921. return "nil"
  11922. }
  11923. s := strings.Join([]string{`&HTTPGetAction{`,
  11924. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11925. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  11926. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  11927. `Scheme:` + fmt.Sprintf("%v", this.Scheme) + `,`,
  11928. `HTTPHeaders:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HTTPHeaders), "HTTPHeader", "HTTPHeader", 1), `&`, ``, 1) + `,`,
  11929. `}`,
  11930. }, "")
  11931. return s
  11932. }
  11933. func (this *HTTPHeader) String() string {
  11934. if this == nil {
  11935. return "nil"
  11936. }
  11937. s := strings.Join([]string{`&HTTPHeader{`,
  11938. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  11939. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  11940. `}`,
  11941. }, "")
  11942. return s
  11943. }
  11944. func (this *Handler) String() string {
  11945. if this == nil {
  11946. return "nil"
  11947. }
  11948. s := strings.Join([]string{`&Handler{`,
  11949. `Exec:` + strings.Replace(fmt.Sprintf("%v", this.Exec), "ExecAction", "ExecAction", 1) + `,`,
  11950. `HTTPGet:` + strings.Replace(fmt.Sprintf("%v", this.HTTPGet), "HTTPGetAction", "HTTPGetAction", 1) + `,`,
  11951. `TCPSocket:` + strings.Replace(fmt.Sprintf("%v", this.TCPSocket), "TCPSocketAction", "TCPSocketAction", 1) + `,`,
  11952. `}`,
  11953. }, "")
  11954. return s
  11955. }
  11956. func (this *HostPathVolumeSource) String() string {
  11957. if this == nil {
  11958. return "nil"
  11959. }
  11960. s := strings.Join([]string{`&HostPathVolumeSource{`,
  11961. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11962. `}`,
  11963. }, "")
  11964. return s
  11965. }
  11966. func (this *ISCSIVolumeSource) String() string {
  11967. if this == nil {
  11968. return "nil"
  11969. }
  11970. s := strings.Join([]string{`&ISCSIVolumeSource{`,
  11971. `TargetPortal:` + fmt.Sprintf("%v", this.TargetPortal) + `,`,
  11972. `IQN:` + fmt.Sprintf("%v", this.IQN) + `,`,
  11973. `Lun:` + fmt.Sprintf("%v", this.Lun) + `,`,
  11974. `ISCSIInterface:` + fmt.Sprintf("%v", this.ISCSIInterface) + `,`,
  11975. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  11976. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  11977. `Portals:` + fmt.Sprintf("%v", this.Portals) + `,`,
  11978. `}`,
  11979. }, "")
  11980. return s
  11981. }
  11982. func (this *KeyToPath) String() string {
  11983. if this == nil {
  11984. return "nil"
  11985. }
  11986. s := strings.Join([]string{`&KeyToPath{`,
  11987. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  11988. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  11989. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  11990. `}`,
  11991. }, "")
  11992. return s
  11993. }
  11994. func (this *Lifecycle) String() string {
  11995. if this == nil {
  11996. return "nil"
  11997. }
  11998. s := strings.Join([]string{`&Lifecycle{`,
  11999. `PostStart:` + strings.Replace(fmt.Sprintf("%v", this.PostStart), "Handler", "Handler", 1) + `,`,
  12000. `PreStop:` + strings.Replace(fmt.Sprintf("%v", this.PreStop), "Handler", "Handler", 1) + `,`,
  12001. `}`,
  12002. }, "")
  12003. return s
  12004. }
  12005. func (this *LimitRange) String() string {
  12006. if this == nil {
  12007. return "nil"
  12008. }
  12009. s := strings.Join([]string{`&LimitRange{`,
  12010. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12011. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "LimitRangeSpec", "LimitRangeSpec", 1), `&`, ``, 1) + `,`,
  12012. `}`,
  12013. }, "")
  12014. return s
  12015. }
  12016. func (this *LimitRangeItem) String() string {
  12017. if this == nil {
  12018. return "nil"
  12019. }
  12020. keysForMax := make([]string, 0, len(this.Max))
  12021. for k := range this.Max {
  12022. keysForMax = append(keysForMax, string(k))
  12023. }
  12024. github_com_gogo_protobuf_sortkeys.Strings(keysForMax)
  12025. mapStringForMax := "ResourceList{"
  12026. for _, k := range keysForMax {
  12027. mapStringForMax += fmt.Sprintf("%v: %v,", k, this.Max[ResourceName(k)])
  12028. }
  12029. mapStringForMax += "}"
  12030. keysForMin := make([]string, 0, len(this.Min))
  12031. for k := range this.Min {
  12032. keysForMin = append(keysForMin, string(k))
  12033. }
  12034. github_com_gogo_protobuf_sortkeys.Strings(keysForMin)
  12035. mapStringForMin := "ResourceList{"
  12036. for _, k := range keysForMin {
  12037. mapStringForMin += fmt.Sprintf("%v: %v,", k, this.Min[ResourceName(k)])
  12038. }
  12039. mapStringForMin += "}"
  12040. keysForDefault := make([]string, 0, len(this.Default))
  12041. for k := range this.Default {
  12042. keysForDefault = append(keysForDefault, string(k))
  12043. }
  12044. github_com_gogo_protobuf_sortkeys.Strings(keysForDefault)
  12045. mapStringForDefault := "ResourceList{"
  12046. for _, k := range keysForDefault {
  12047. mapStringForDefault += fmt.Sprintf("%v: %v,", k, this.Default[ResourceName(k)])
  12048. }
  12049. mapStringForDefault += "}"
  12050. keysForDefaultRequest := make([]string, 0, len(this.DefaultRequest))
  12051. for k := range this.DefaultRequest {
  12052. keysForDefaultRequest = append(keysForDefaultRequest, string(k))
  12053. }
  12054. github_com_gogo_protobuf_sortkeys.Strings(keysForDefaultRequest)
  12055. mapStringForDefaultRequest := "ResourceList{"
  12056. for _, k := range keysForDefaultRequest {
  12057. mapStringForDefaultRequest += fmt.Sprintf("%v: %v,", k, this.DefaultRequest[ResourceName(k)])
  12058. }
  12059. mapStringForDefaultRequest += "}"
  12060. keysForMaxLimitRequestRatio := make([]string, 0, len(this.MaxLimitRequestRatio))
  12061. for k := range this.MaxLimitRequestRatio {
  12062. keysForMaxLimitRequestRatio = append(keysForMaxLimitRequestRatio, string(k))
  12063. }
  12064. github_com_gogo_protobuf_sortkeys.Strings(keysForMaxLimitRequestRatio)
  12065. mapStringForMaxLimitRequestRatio := "ResourceList{"
  12066. for _, k := range keysForMaxLimitRequestRatio {
  12067. mapStringForMaxLimitRequestRatio += fmt.Sprintf("%v: %v,", k, this.MaxLimitRequestRatio[ResourceName(k)])
  12068. }
  12069. mapStringForMaxLimitRequestRatio += "}"
  12070. s := strings.Join([]string{`&LimitRangeItem{`,
  12071. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  12072. `Max:` + mapStringForMax + `,`,
  12073. `Min:` + mapStringForMin + `,`,
  12074. `Default:` + mapStringForDefault + `,`,
  12075. `DefaultRequest:` + mapStringForDefaultRequest + `,`,
  12076. `MaxLimitRequestRatio:` + mapStringForMaxLimitRequestRatio + `,`,
  12077. `}`,
  12078. }, "")
  12079. return s
  12080. }
  12081. func (this *LimitRangeList) String() string {
  12082. if this == nil {
  12083. return "nil"
  12084. }
  12085. s := strings.Join([]string{`&LimitRangeList{`,
  12086. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12087. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "LimitRange", "LimitRange", 1), `&`, ``, 1) + `,`,
  12088. `}`,
  12089. }, "")
  12090. return s
  12091. }
  12092. func (this *LimitRangeSpec) String() string {
  12093. if this == nil {
  12094. return "nil"
  12095. }
  12096. s := strings.Join([]string{`&LimitRangeSpec{`,
  12097. `Limits:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Limits), "LimitRangeItem", "LimitRangeItem", 1), `&`, ``, 1) + `,`,
  12098. `}`,
  12099. }, "")
  12100. return s
  12101. }
  12102. func (this *List) String() string {
  12103. if this == nil {
  12104. return "nil"
  12105. }
  12106. s := strings.Join([]string{`&List{`,
  12107. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12108. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  12109. `}`,
  12110. }, "")
  12111. return s
  12112. }
  12113. func (this *ListOptions) String() string {
  12114. if this == nil {
  12115. return "nil"
  12116. }
  12117. s := strings.Join([]string{`&ListOptions{`,
  12118. `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
  12119. `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`,
  12120. `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`,
  12121. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  12122. `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
  12123. `}`,
  12124. }, "")
  12125. return s
  12126. }
  12127. func (this *LoadBalancerIngress) String() string {
  12128. if this == nil {
  12129. return "nil"
  12130. }
  12131. s := strings.Join([]string{`&LoadBalancerIngress{`,
  12132. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  12133. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  12134. `}`,
  12135. }, "")
  12136. return s
  12137. }
  12138. func (this *LoadBalancerStatus) String() string {
  12139. if this == nil {
  12140. return "nil"
  12141. }
  12142. s := strings.Join([]string{`&LoadBalancerStatus{`,
  12143. `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "LoadBalancerIngress", "LoadBalancerIngress", 1), `&`, ``, 1) + `,`,
  12144. `}`,
  12145. }, "")
  12146. return s
  12147. }
  12148. func (this *LocalObjectReference) String() string {
  12149. if this == nil {
  12150. return "nil"
  12151. }
  12152. s := strings.Join([]string{`&LocalObjectReference{`,
  12153. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  12154. `}`,
  12155. }, "")
  12156. return s
  12157. }
  12158. func (this *NFSVolumeSource) String() string {
  12159. if this == nil {
  12160. return "nil"
  12161. }
  12162. s := strings.Join([]string{`&NFSVolumeSource{`,
  12163. `Server:` + fmt.Sprintf("%v", this.Server) + `,`,
  12164. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  12165. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  12166. `}`,
  12167. }, "")
  12168. return s
  12169. }
  12170. func (this *Namespace) String() string {
  12171. if this == nil {
  12172. return "nil"
  12173. }
  12174. s := strings.Join([]string{`&Namespace{`,
  12175. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12176. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NamespaceSpec", "NamespaceSpec", 1), `&`, ``, 1) + `,`,
  12177. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NamespaceStatus", "NamespaceStatus", 1), `&`, ``, 1) + `,`,
  12178. `}`,
  12179. }, "")
  12180. return s
  12181. }
  12182. func (this *NamespaceList) String() string {
  12183. if this == nil {
  12184. return "nil"
  12185. }
  12186. s := strings.Join([]string{`&NamespaceList{`,
  12187. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12188. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Namespace", "Namespace", 1), `&`, ``, 1) + `,`,
  12189. `}`,
  12190. }, "")
  12191. return s
  12192. }
  12193. func (this *NamespaceSpec) String() string {
  12194. if this == nil {
  12195. return "nil"
  12196. }
  12197. s := strings.Join([]string{`&NamespaceSpec{`,
  12198. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  12199. `}`,
  12200. }, "")
  12201. return s
  12202. }
  12203. func (this *NamespaceStatus) String() string {
  12204. if this == nil {
  12205. return "nil"
  12206. }
  12207. s := strings.Join([]string{`&NamespaceStatus{`,
  12208. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  12209. `}`,
  12210. }, "")
  12211. return s
  12212. }
  12213. func (this *Node) String() string {
  12214. if this == nil {
  12215. return "nil"
  12216. }
  12217. s := strings.Join([]string{`&Node{`,
  12218. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12219. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NodeSpec", "NodeSpec", 1), `&`, ``, 1) + `,`,
  12220. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NodeStatus", "NodeStatus", 1), `&`, ``, 1) + `,`,
  12221. `}`,
  12222. }, "")
  12223. return s
  12224. }
  12225. func (this *NodeAddress) String() string {
  12226. if this == nil {
  12227. return "nil"
  12228. }
  12229. s := strings.Join([]string{`&NodeAddress{`,
  12230. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  12231. `Address:` + fmt.Sprintf("%v", this.Address) + `,`,
  12232. `}`,
  12233. }, "")
  12234. return s
  12235. }
  12236. func (this *NodeAffinity) String() string {
  12237. if this == nil {
  12238. return "nil"
  12239. }
  12240. s := strings.Join([]string{`&NodeAffinity{`,
  12241. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "NodeSelector", "NodeSelector", 1) + `,`,
  12242. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "PreferredSchedulingTerm", "PreferredSchedulingTerm", 1), `&`, ``, 1) + `,`,
  12243. `}`,
  12244. }, "")
  12245. return s
  12246. }
  12247. func (this *NodeCondition) String() string {
  12248. if this == nil {
  12249. return "nil"
  12250. }
  12251. s := strings.Join([]string{`&NodeCondition{`,
  12252. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  12253. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  12254. `LastHeartbeatTime:` + strings.Replace(strings.Replace(this.LastHeartbeatTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  12255. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  12256. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  12257. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  12258. `}`,
  12259. }, "")
  12260. return s
  12261. }
  12262. func (this *NodeDaemonEndpoints) String() string {
  12263. if this == nil {
  12264. return "nil"
  12265. }
  12266. s := strings.Join([]string{`&NodeDaemonEndpoints{`,
  12267. `KubeletEndpoint:` + strings.Replace(strings.Replace(this.KubeletEndpoint.String(), "DaemonEndpoint", "DaemonEndpoint", 1), `&`, ``, 1) + `,`,
  12268. `}`,
  12269. }, "")
  12270. return s
  12271. }
  12272. func (this *NodeList) String() string {
  12273. if this == nil {
  12274. return "nil"
  12275. }
  12276. s := strings.Join([]string{`&NodeList{`,
  12277. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12278. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Node", "Node", 1), `&`, ``, 1) + `,`,
  12279. `}`,
  12280. }, "")
  12281. return s
  12282. }
  12283. func (this *NodeProxyOptions) String() string {
  12284. if this == nil {
  12285. return "nil"
  12286. }
  12287. s := strings.Join([]string{`&NodeProxyOptions{`,
  12288. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  12289. `}`,
  12290. }, "")
  12291. return s
  12292. }
  12293. func (this *NodeResources) String() string {
  12294. if this == nil {
  12295. return "nil"
  12296. }
  12297. keysForCapacity := make([]string, 0, len(this.Capacity))
  12298. for k := range this.Capacity {
  12299. keysForCapacity = append(keysForCapacity, string(k))
  12300. }
  12301. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  12302. mapStringForCapacity := "ResourceList{"
  12303. for _, k := range keysForCapacity {
  12304. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  12305. }
  12306. mapStringForCapacity += "}"
  12307. s := strings.Join([]string{`&NodeResources{`,
  12308. `Capacity:` + mapStringForCapacity + `,`,
  12309. `}`,
  12310. }, "")
  12311. return s
  12312. }
  12313. func (this *NodeSelector) String() string {
  12314. if this == nil {
  12315. return "nil"
  12316. }
  12317. s := strings.Join([]string{`&NodeSelector{`,
  12318. `NodeSelectorTerms:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NodeSelectorTerms), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  12319. `}`,
  12320. }, "")
  12321. return s
  12322. }
  12323. func (this *NodeSelectorRequirement) String() string {
  12324. if this == nil {
  12325. return "nil"
  12326. }
  12327. s := strings.Join([]string{`&NodeSelectorRequirement{`,
  12328. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  12329. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  12330. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  12331. `}`,
  12332. }, "")
  12333. return s
  12334. }
  12335. func (this *NodeSelectorTerm) String() string {
  12336. if this == nil {
  12337. return "nil"
  12338. }
  12339. s := strings.Join([]string{`&NodeSelectorTerm{`,
  12340. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "NodeSelectorRequirement", "NodeSelectorRequirement", 1), `&`, ``, 1) + `,`,
  12341. `}`,
  12342. }, "")
  12343. return s
  12344. }
  12345. func (this *NodeSpec) String() string {
  12346. if this == nil {
  12347. return "nil"
  12348. }
  12349. s := strings.Join([]string{`&NodeSpec{`,
  12350. `PodCIDR:` + fmt.Sprintf("%v", this.PodCIDR) + `,`,
  12351. `ExternalID:` + fmt.Sprintf("%v", this.ExternalID) + `,`,
  12352. `ProviderID:` + fmt.Sprintf("%v", this.ProviderID) + `,`,
  12353. `Unschedulable:` + fmt.Sprintf("%v", this.Unschedulable) + `,`,
  12354. `Taints:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Taints), "Taint", "Taint", 1), `&`, ``, 1) + `,`,
  12355. `}`,
  12356. }, "")
  12357. return s
  12358. }
  12359. func (this *NodeStatus) String() string {
  12360. if this == nil {
  12361. return "nil"
  12362. }
  12363. keysForCapacity := make([]string, 0, len(this.Capacity))
  12364. for k := range this.Capacity {
  12365. keysForCapacity = append(keysForCapacity, string(k))
  12366. }
  12367. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  12368. mapStringForCapacity := "ResourceList{"
  12369. for _, k := range keysForCapacity {
  12370. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  12371. }
  12372. mapStringForCapacity += "}"
  12373. keysForAllocatable := make([]string, 0, len(this.Allocatable))
  12374. for k := range this.Allocatable {
  12375. keysForAllocatable = append(keysForAllocatable, string(k))
  12376. }
  12377. github_com_gogo_protobuf_sortkeys.Strings(keysForAllocatable)
  12378. mapStringForAllocatable := "ResourceList{"
  12379. for _, k := range keysForAllocatable {
  12380. mapStringForAllocatable += fmt.Sprintf("%v: %v,", k, this.Allocatable[ResourceName(k)])
  12381. }
  12382. mapStringForAllocatable += "}"
  12383. s := strings.Join([]string{`&NodeStatus{`,
  12384. `Capacity:` + mapStringForCapacity + `,`,
  12385. `Allocatable:` + mapStringForAllocatable + `,`,
  12386. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  12387. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "NodeCondition", "NodeCondition", 1), `&`, ``, 1) + `,`,
  12388. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "NodeAddress", "NodeAddress", 1), `&`, ``, 1) + `,`,
  12389. `DaemonEndpoints:` + strings.Replace(strings.Replace(this.DaemonEndpoints.String(), "NodeDaemonEndpoints", "NodeDaemonEndpoints", 1), `&`, ``, 1) + `,`,
  12390. `NodeInfo:` + strings.Replace(strings.Replace(this.NodeInfo.String(), "NodeSystemInfo", "NodeSystemInfo", 1), `&`, ``, 1) + `,`,
  12391. `Images:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Images), "ContainerImage", "ContainerImage", 1), `&`, ``, 1) + `,`,
  12392. `VolumesInUse:` + fmt.Sprintf("%v", this.VolumesInUse) + `,`,
  12393. `VolumesAttached:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumesAttached), "AttachedVolume", "AttachedVolume", 1), `&`, ``, 1) + `,`,
  12394. `}`,
  12395. }, "")
  12396. return s
  12397. }
  12398. func (this *NodeSystemInfo) String() string {
  12399. if this == nil {
  12400. return "nil"
  12401. }
  12402. s := strings.Join([]string{`&NodeSystemInfo{`,
  12403. `MachineID:` + fmt.Sprintf("%v", this.MachineID) + `,`,
  12404. `SystemUUID:` + fmt.Sprintf("%v", this.SystemUUID) + `,`,
  12405. `BootID:` + fmt.Sprintf("%v", this.BootID) + `,`,
  12406. `KernelVersion:` + fmt.Sprintf("%v", this.KernelVersion) + `,`,
  12407. `OSImage:` + fmt.Sprintf("%v", this.OSImage) + `,`,
  12408. `ContainerRuntimeVersion:` + fmt.Sprintf("%v", this.ContainerRuntimeVersion) + `,`,
  12409. `KubeletVersion:` + fmt.Sprintf("%v", this.KubeletVersion) + `,`,
  12410. `KubeProxyVersion:` + fmt.Sprintf("%v", this.KubeProxyVersion) + `,`,
  12411. `OperatingSystem:` + fmt.Sprintf("%v", this.OperatingSystem) + `,`,
  12412. `Architecture:` + fmt.Sprintf("%v", this.Architecture) + `,`,
  12413. `}`,
  12414. }, "")
  12415. return s
  12416. }
  12417. func (this *ObjectFieldSelector) String() string {
  12418. if this == nil {
  12419. return "nil"
  12420. }
  12421. s := strings.Join([]string{`&ObjectFieldSelector{`,
  12422. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  12423. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  12424. `}`,
  12425. }, "")
  12426. return s
  12427. }
  12428. func (this *ObjectMeta) String() string {
  12429. if this == nil {
  12430. return "nil"
  12431. }
  12432. keysForLabels := make([]string, 0, len(this.Labels))
  12433. for k := range this.Labels {
  12434. keysForLabels = append(keysForLabels, k)
  12435. }
  12436. github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
  12437. mapStringForLabels := "map[string]string{"
  12438. for _, k := range keysForLabels {
  12439. mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
  12440. }
  12441. mapStringForLabels += "}"
  12442. keysForAnnotations := make([]string, 0, len(this.Annotations))
  12443. for k := range this.Annotations {
  12444. keysForAnnotations = append(keysForAnnotations, k)
  12445. }
  12446. github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
  12447. mapStringForAnnotations := "map[string]string{"
  12448. for _, k := range keysForAnnotations {
  12449. mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
  12450. }
  12451. mapStringForAnnotations += "}"
  12452. s := strings.Join([]string{`&ObjectMeta{`,
  12453. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  12454. `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`,
  12455. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  12456. `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
  12457. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  12458. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  12459. `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`,
  12460. `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  12461. `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  12462. `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`,
  12463. `Labels:` + mapStringForLabels + `,`,
  12464. `Annotations:` + mapStringForAnnotations + `,`,
  12465. `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference", 1), `&`, ``, 1) + `,`,
  12466. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  12467. `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
  12468. `}`,
  12469. }, "")
  12470. return s
  12471. }
  12472. func (this *ObjectReference) String() string {
  12473. if this == nil {
  12474. return "nil"
  12475. }
  12476. s := strings.Join([]string{`&ObjectReference{`,
  12477. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  12478. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  12479. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  12480. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  12481. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  12482. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  12483. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  12484. `}`,
  12485. }, "")
  12486. return s
  12487. }
  12488. func (this *PersistentVolume) String() string {
  12489. if this == nil {
  12490. return "nil"
  12491. }
  12492. s := strings.Join([]string{`&PersistentVolume{`,
  12493. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12494. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeSpec", "PersistentVolumeSpec", 1), `&`, ``, 1) + `,`,
  12495. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeStatus", "PersistentVolumeStatus", 1), `&`, ``, 1) + `,`,
  12496. `}`,
  12497. }, "")
  12498. return s
  12499. }
  12500. func (this *PersistentVolumeClaim) String() string {
  12501. if this == nil {
  12502. return "nil"
  12503. }
  12504. s := strings.Join([]string{`&PersistentVolumeClaim{`,
  12505. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12506. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeClaimSpec", "PersistentVolumeClaimSpec", 1), `&`, ``, 1) + `,`,
  12507. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeClaimStatus", "PersistentVolumeClaimStatus", 1), `&`, ``, 1) + `,`,
  12508. `}`,
  12509. }, "")
  12510. return s
  12511. }
  12512. func (this *PersistentVolumeClaimList) String() string {
  12513. if this == nil {
  12514. return "nil"
  12515. }
  12516. s := strings.Join([]string{`&PersistentVolumeClaimList{`,
  12517. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12518. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolumeClaim", "PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
  12519. `}`,
  12520. }, "")
  12521. return s
  12522. }
  12523. func (this *PersistentVolumeClaimSpec) String() string {
  12524. if this == nil {
  12525. return "nil"
  12526. }
  12527. s := strings.Join([]string{`&PersistentVolumeClaimSpec{`,
  12528. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  12529. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  12530. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  12531. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  12532. `StorageClassName:` + valueToStringGenerated(this.StorageClassName) + `,`,
  12533. `}`,
  12534. }, "")
  12535. return s
  12536. }
  12537. func (this *PersistentVolumeClaimStatus) String() string {
  12538. if this == nil {
  12539. return "nil"
  12540. }
  12541. keysForCapacity := make([]string, 0, len(this.Capacity))
  12542. for k := range this.Capacity {
  12543. keysForCapacity = append(keysForCapacity, string(k))
  12544. }
  12545. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  12546. mapStringForCapacity := "ResourceList{"
  12547. for _, k := range keysForCapacity {
  12548. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  12549. }
  12550. mapStringForCapacity += "}"
  12551. s := strings.Join([]string{`&PersistentVolumeClaimStatus{`,
  12552. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  12553. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  12554. `Capacity:` + mapStringForCapacity + `,`,
  12555. `}`,
  12556. }, "")
  12557. return s
  12558. }
  12559. func (this *PersistentVolumeClaimVolumeSource) String() string {
  12560. if this == nil {
  12561. return "nil"
  12562. }
  12563. s := strings.Join([]string{`&PersistentVolumeClaimVolumeSource{`,
  12564. `ClaimName:` + fmt.Sprintf("%v", this.ClaimName) + `,`,
  12565. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  12566. `}`,
  12567. }, "")
  12568. return s
  12569. }
  12570. func (this *PersistentVolumeList) String() string {
  12571. if this == nil {
  12572. return "nil"
  12573. }
  12574. s := strings.Join([]string{`&PersistentVolumeList{`,
  12575. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12576. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolume", "PersistentVolume", 1), `&`, ``, 1) + `,`,
  12577. `}`,
  12578. }, "")
  12579. return s
  12580. }
  12581. func (this *PersistentVolumeSource) String() string {
  12582. if this == nil {
  12583. return "nil"
  12584. }
  12585. s := strings.Join([]string{`&PersistentVolumeSource{`,
  12586. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  12587. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  12588. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  12589. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsVolumeSource", "GlusterfsVolumeSource", 1) + `,`,
  12590. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  12591. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDVolumeSource", "RBDVolumeSource", 1) + `,`,
  12592. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIVolumeSource", "ISCSIVolumeSource", 1) + `,`,
  12593. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderVolumeSource", "CinderVolumeSource", 1) + `,`,
  12594. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSVolumeSource", "CephFSVolumeSource", 1) + `,`,
  12595. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  12596. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  12597. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexVolumeSource", "FlexVolumeSource", 1) + `,`,
  12598. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFileVolumeSource", "AzureFileVolumeSource", 1) + `,`,
  12599. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  12600. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  12601. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  12602. `PhotonPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.PhotonPersistentDisk), "PhotonPersistentDiskVolumeSource", "PhotonPersistentDiskVolumeSource", 1) + `,`,
  12603. `PortworxVolume:` + strings.Replace(fmt.Sprintf("%v", this.PortworxVolume), "PortworxVolumeSource", "PortworxVolumeSource", 1) + `,`,
  12604. `ScaleIO:` + strings.Replace(fmt.Sprintf("%v", this.ScaleIO), "ScaleIOVolumeSource", "ScaleIOVolumeSource", 1) + `,`,
  12605. `}`,
  12606. }, "")
  12607. return s
  12608. }
  12609. func (this *PersistentVolumeSpec) String() string {
  12610. if this == nil {
  12611. return "nil"
  12612. }
  12613. keysForCapacity := make([]string, 0, len(this.Capacity))
  12614. for k := range this.Capacity {
  12615. keysForCapacity = append(keysForCapacity, string(k))
  12616. }
  12617. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  12618. mapStringForCapacity := "ResourceList{"
  12619. for _, k := range keysForCapacity {
  12620. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  12621. }
  12622. mapStringForCapacity += "}"
  12623. s := strings.Join([]string{`&PersistentVolumeSpec{`,
  12624. `Capacity:` + mapStringForCapacity + `,`,
  12625. `PersistentVolumeSource:` + strings.Replace(strings.Replace(this.PersistentVolumeSource.String(), "PersistentVolumeSource", "PersistentVolumeSource", 1), `&`, ``, 1) + `,`,
  12626. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  12627. `ClaimRef:` + strings.Replace(fmt.Sprintf("%v", this.ClaimRef), "ObjectReference", "ObjectReference", 1) + `,`,
  12628. `PersistentVolumeReclaimPolicy:` + fmt.Sprintf("%v", this.PersistentVolumeReclaimPolicy) + `,`,
  12629. `StorageClassName:` + fmt.Sprintf("%v", this.StorageClassName) + `,`,
  12630. `}`,
  12631. }, "")
  12632. return s
  12633. }
  12634. func (this *PersistentVolumeStatus) String() string {
  12635. if this == nil {
  12636. return "nil"
  12637. }
  12638. s := strings.Join([]string{`&PersistentVolumeStatus{`,
  12639. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  12640. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  12641. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  12642. `}`,
  12643. }, "")
  12644. return s
  12645. }
  12646. func (this *PhotonPersistentDiskVolumeSource) String() string {
  12647. if this == nil {
  12648. return "nil"
  12649. }
  12650. s := strings.Join([]string{`&PhotonPersistentDiskVolumeSource{`,
  12651. `PdID:` + fmt.Sprintf("%v", this.PdID) + `,`,
  12652. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  12653. `}`,
  12654. }, "")
  12655. return s
  12656. }
  12657. func (this *Pod) String() string {
  12658. if this == nil {
  12659. return "nil"
  12660. }
  12661. s := strings.Join([]string{`&Pod{`,
  12662. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12663. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  12664. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  12665. `}`,
  12666. }, "")
  12667. return s
  12668. }
  12669. func (this *PodAffinity) String() string {
  12670. if this == nil {
  12671. return "nil"
  12672. }
  12673. s := strings.Join([]string{`&PodAffinity{`,
  12674. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  12675. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  12676. `}`,
  12677. }, "")
  12678. return s
  12679. }
  12680. func (this *PodAffinityTerm) String() string {
  12681. if this == nil {
  12682. return "nil"
  12683. }
  12684. s := strings.Join([]string{`&PodAffinityTerm{`,
  12685. `LabelSelector:` + strings.Replace(fmt.Sprintf("%v", this.LabelSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  12686. `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
  12687. `TopologyKey:` + fmt.Sprintf("%v", this.TopologyKey) + `,`,
  12688. `}`,
  12689. }, "")
  12690. return s
  12691. }
  12692. func (this *PodAntiAffinity) String() string {
  12693. if this == nil {
  12694. return "nil"
  12695. }
  12696. s := strings.Join([]string{`&PodAntiAffinity{`,
  12697. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  12698. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  12699. `}`,
  12700. }, "")
  12701. return s
  12702. }
  12703. func (this *PodAttachOptions) String() string {
  12704. if this == nil {
  12705. return "nil"
  12706. }
  12707. s := strings.Join([]string{`&PodAttachOptions{`,
  12708. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  12709. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  12710. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  12711. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  12712. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  12713. `}`,
  12714. }, "")
  12715. return s
  12716. }
  12717. func (this *PodCondition) String() string {
  12718. if this == nil {
  12719. return "nil"
  12720. }
  12721. s := strings.Join([]string{`&PodCondition{`,
  12722. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  12723. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  12724. `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  12725. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  12726. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  12727. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  12728. `}`,
  12729. }, "")
  12730. return s
  12731. }
  12732. func (this *PodExecOptions) String() string {
  12733. if this == nil {
  12734. return "nil"
  12735. }
  12736. s := strings.Join([]string{`&PodExecOptions{`,
  12737. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  12738. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  12739. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  12740. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  12741. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  12742. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  12743. `}`,
  12744. }, "")
  12745. return s
  12746. }
  12747. func (this *PodList) String() string {
  12748. if this == nil {
  12749. return "nil"
  12750. }
  12751. s := strings.Join([]string{`&PodList{`,
  12752. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12753. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Pod", "Pod", 1), `&`, ``, 1) + `,`,
  12754. `}`,
  12755. }, "")
  12756. return s
  12757. }
  12758. func (this *PodLogOptions) String() string {
  12759. if this == nil {
  12760. return "nil"
  12761. }
  12762. s := strings.Join([]string{`&PodLogOptions{`,
  12763. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  12764. `Follow:` + fmt.Sprintf("%v", this.Follow) + `,`,
  12765. `Previous:` + fmt.Sprintf("%v", this.Previous) + `,`,
  12766. `SinceSeconds:` + valueToStringGenerated(this.SinceSeconds) + `,`,
  12767. `SinceTime:` + strings.Replace(fmt.Sprintf("%v", this.SinceTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  12768. `Timestamps:` + fmt.Sprintf("%v", this.Timestamps) + `,`,
  12769. `TailLines:` + valueToStringGenerated(this.TailLines) + `,`,
  12770. `LimitBytes:` + valueToStringGenerated(this.LimitBytes) + `,`,
  12771. `}`,
  12772. }, "")
  12773. return s
  12774. }
  12775. func (this *PodPortForwardOptions) String() string {
  12776. if this == nil {
  12777. return "nil"
  12778. }
  12779. s := strings.Join([]string{`&PodPortForwardOptions{`,
  12780. `Ports:` + fmt.Sprintf("%v", this.Ports) + `,`,
  12781. `}`,
  12782. }, "")
  12783. return s
  12784. }
  12785. func (this *PodProxyOptions) String() string {
  12786. if this == nil {
  12787. return "nil"
  12788. }
  12789. s := strings.Join([]string{`&PodProxyOptions{`,
  12790. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  12791. `}`,
  12792. }, "")
  12793. return s
  12794. }
  12795. func (this *PodSecurityContext) String() string {
  12796. if this == nil {
  12797. return "nil"
  12798. }
  12799. s := strings.Join([]string{`&PodSecurityContext{`,
  12800. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  12801. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  12802. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  12803. `SupplementalGroups:` + fmt.Sprintf("%v", this.SupplementalGroups) + `,`,
  12804. `FSGroup:` + valueToStringGenerated(this.FSGroup) + `,`,
  12805. `}`,
  12806. }, "")
  12807. return s
  12808. }
  12809. func (this *PodSignature) String() string {
  12810. if this == nil {
  12811. return "nil"
  12812. }
  12813. s := strings.Join([]string{`&PodSignature{`,
  12814. `PodController:` + strings.Replace(fmt.Sprintf("%v", this.PodController), "OwnerReference", "k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference", 1) + `,`,
  12815. `}`,
  12816. }, "")
  12817. return s
  12818. }
  12819. func (this *PodSpec) String() string {
  12820. if this == nil {
  12821. return "nil"
  12822. }
  12823. keysForNodeSelector := make([]string, 0, len(this.NodeSelector))
  12824. for k := range this.NodeSelector {
  12825. keysForNodeSelector = append(keysForNodeSelector, k)
  12826. }
  12827. github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
  12828. mapStringForNodeSelector := "map[string]string{"
  12829. for _, k := range keysForNodeSelector {
  12830. mapStringForNodeSelector += fmt.Sprintf("%v: %v,", k, this.NodeSelector[k])
  12831. }
  12832. mapStringForNodeSelector += "}"
  12833. s := strings.Join([]string{`&PodSpec{`,
  12834. `Volumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Volumes), "Volume", "Volume", 1), `&`, ``, 1) + `,`,
  12835. `Containers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Containers), "Container", "Container", 1), `&`, ``, 1) + `,`,
  12836. `RestartPolicy:` + fmt.Sprintf("%v", this.RestartPolicy) + `,`,
  12837. `TerminationGracePeriodSeconds:` + valueToStringGenerated(this.TerminationGracePeriodSeconds) + `,`,
  12838. `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
  12839. `DNSPolicy:` + fmt.Sprintf("%v", this.DNSPolicy) + `,`,
  12840. `NodeSelector:` + mapStringForNodeSelector + `,`,
  12841. `ServiceAccountName:` + fmt.Sprintf("%v", this.ServiceAccountName) + `,`,
  12842. `DeprecatedServiceAccount:` + fmt.Sprintf("%v", this.DeprecatedServiceAccount) + `,`,
  12843. `NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
  12844. `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
  12845. `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
  12846. `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
  12847. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "PodSecurityContext", "PodSecurityContext", 1) + `,`,
  12848. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  12849. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  12850. `Subdomain:` + fmt.Sprintf("%v", this.Subdomain) + `,`,
  12851. `Affinity:` + strings.Replace(fmt.Sprintf("%v", this.Affinity), "Affinity", "Affinity", 1) + `,`,
  12852. `SchedulerName:` + fmt.Sprintf("%v", this.SchedulerName) + `,`,
  12853. `InitContainers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.InitContainers), "Container", "Container", 1), `&`, ``, 1) + `,`,
  12854. `AutomountServiceAccountToken:` + valueToStringGenerated(this.AutomountServiceAccountToken) + `,`,
  12855. `Tolerations:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Tolerations), "Toleration", "Toleration", 1), `&`, ``, 1) + `,`,
  12856. `}`,
  12857. }, "")
  12858. return s
  12859. }
  12860. func (this *PodStatus) String() string {
  12861. if this == nil {
  12862. return "nil"
  12863. }
  12864. s := strings.Join([]string{`&PodStatus{`,
  12865. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  12866. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "PodCondition", "PodCondition", 1), `&`, ``, 1) + `,`,
  12867. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  12868. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  12869. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  12870. `PodIP:` + fmt.Sprintf("%v", this.PodIP) + `,`,
  12871. `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  12872. `ContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`,
  12873. `QOSClass:` + fmt.Sprintf("%v", this.QOSClass) + `,`,
  12874. `InitContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.InitContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`,
  12875. `}`,
  12876. }, "")
  12877. return s
  12878. }
  12879. func (this *PodStatusResult) String() string {
  12880. if this == nil {
  12881. return "nil"
  12882. }
  12883. s := strings.Join([]string{`&PodStatusResult{`,
  12884. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12885. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  12886. `}`,
  12887. }, "")
  12888. return s
  12889. }
  12890. func (this *PodTemplate) String() string {
  12891. if this == nil {
  12892. return "nil"
  12893. }
  12894. s := strings.Join([]string{`&PodTemplate{`,
  12895. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12896. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  12897. `}`,
  12898. }, "")
  12899. return s
  12900. }
  12901. func (this *PodTemplateList) String() string {
  12902. if this == nil {
  12903. return "nil"
  12904. }
  12905. s := strings.Join([]string{`&PodTemplateList{`,
  12906. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  12907. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodTemplate", "PodTemplate", 1), `&`, ``, 1) + `,`,
  12908. `}`,
  12909. }, "")
  12910. return s
  12911. }
  12912. func (this *PodTemplateSpec) String() string {
  12913. if this == nil {
  12914. return "nil"
  12915. }
  12916. s := strings.Join([]string{`&PodTemplateSpec{`,
  12917. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  12918. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  12919. `}`,
  12920. }, "")
  12921. return s
  12922. }
  12923. func (this *PortworxVolumeSource) String() string {
  12924. if this == nil {
  12925. return "nil"
  12926. }
  12927. s := strings.Join([]string{`&PortworxVolumeSource{`,
  12928. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  12929. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  12930. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  12931. `}`,
  12932. }, "")
  12933. return s
  12934. }
  12935. func (this *Preconditions) String() string {
  12936. if this == nil {
  12937. return "nil"
  12938. }
  12939. s := strings.Join([]string{`&Preconditions{`,
  12940. `UID:` + valueToStringGenerated(this.UID) + `,`,
  12941. `}`,
  12942. }, "")
  12943. return s
  12944. }
  12945. func (this *PreferAvoidPodsEntry) String() string {
  12946. if this == nil {
  12947. return "nil"
  12948. }
  12949. s := strings.Join([]string{`&PreferAvoidPodsEntry{`,
  12950. `PodSignature:` + strings.Replace(strings.Replace(this.PodSignature.String(), "PodSignature", "PodSignature", 1), `&`, ``, 1) + `,`,
  12951. `EvictionTime:` + strings.Replace(strings.Replace(this.EvictionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  12952. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  12953. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  12954. `}`,
  12955. }, "")
  12956. return s
  12957. }
  12958. func (this *PreferredSchedulingTerm) String() string {
  12959. if this == nil {
  12960. return "nil"
  12961. }
  12962. s := strings.Join([]string{`&PreferredSchedulingTerm{`,
  12963. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  12964. `Preference:` + strings.Replace(strings.Replace(this.Preference.String(), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  12965. `}`,
  12966. }, "")
  12967. return s
  12968. }
  12969. func (this *Probe) String() string {
  12970. if this == nil {
  12971. return "nil"
  12972. }
  12973. s := strings.Join([]string{`&Probe{`,
  12974. `Handler:` + strings.Replace(strings.Replace(this.Handler.String(), "Handler", "Handler", 1), `&`, ``, 1) + `,`,
  12975. `InitialDelaySeconds:` + fmt.Sprintf("%v", this.InitialDelaySeconds) + `,`,
  12976. `TimeoutSeconds:` + fmt.Sprintf("%v", this.TimeoutSeconds) + `,`,
  12977. `PeriodSeconds:` + fmt.Sprintf("%v", this.PeriodSeconds) + `,`,
  12978. `SuccessThreshold:` + fmt.Sprintf("%v", this.SuccessThreshold) + `,`,
  12979. `FailureThreshold:` + fmt.Sprintf("%v", this.FailureThreshold) + `,`,
  12980. `}`,
  12981. }, "")
  12982. return s
  12983. }
  12984. func (this *ProjectedVolumeSource) String() string {
  12985. if this == nil {
  12986. return "nil"
  12987. }
  12988. s := strings.Join([]string{`&ProjectedVolumeSource{`,
  12989. `Sources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Sources), "VolumeProjection", "VolumeProjection", 1), `&`, ``, 1) + `,`,
  12990. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  12991. `}`,
  12992. }, "")
  12993. return s
  12994. }
  12995. func (this *QuobyteVolumeSource) String() string {
  12996. if this == nil {
  12997. return "nil"
  12998. }
  12999. s := strings.Join([]string{`&QuobyteVolumeSource{`,
  13000. `Registry:` + fmt.Sprintf("%v", this.Registry) + `,`,
  13001. `Volume:` + fmt.Sprintf("%v", this.Volume) + `,`,
  13002. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13003. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  13004. `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
  13005. `}`,
  13006. }, "")
  13007. return s
  13008. }
  13009. func (this *RBDVolumeSource) String() string {
  13010. if this == nil {
  13011. return "nil"
  13012. }
  13013. s := strings.Join([]string{`&RBDVolumeSource{`,
  13014. `CephMonitors:` + fmt.Sprintf("%v", this.CephMonitors) + `,`,
  13015. `RBDImage:` + fmt.Sprintf("%v", this.RBDImage) + `,`,
  13016. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  13017. `RBDPool:` + fmt.Sprintf("%v", this.RBDPool) + `,`,
  13018. `RadosUser:` + fmt.Sprintf("%v", this.RadosUser) + `,`,
  13019. `Keyring:` + fmt.Sprintf("%v", this.Keyring) + `,`,
  13020. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  13021. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13022. `}`,
  13023. }, "")
  13024. return s
  13025. }
  13026. func (this *RangeAllocation) String() string {
  13027. if this == nil {
  13028. return "nil"
  13029. }
  13030. s := strings.Join([]string{`&RangeAllocation{`,
  13031. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13032. `Range:` + fmt.Sprintf("%v", this.Range) + `,`,
  13033. `Data:` + valueToStringGenerated(this.Data) + `,`,
  13034. `}`,
  13035. }, "")
  13036. return s
  13037. }
  13038. func (this *ReplicationController) String() string {
  13039. if this == nil {
  13040. return "nil"
  13041. }
  13042. s := strings.Join([]string{`&ReplicationController{`,
  13043. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13044. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicationControllerSpec", "ReplicationControllerSpec", 1), `&`, ``, 1) + `,`,
  13045. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicationControllerStatus", "ReplicationControllerStatus", 1), `&`, ``, 1) + `,`,
  13046. `}`,
  13047. }, "")
  13048. return s
  13049. }
  13050. func (this *ReplicationControllerCondition) String() string {
  13051. if this == nil {
  13052. return "nil"
  13053. }
  13054. s := strings.Join([]string{`&ReplicationControllerCondition{`,
  13055. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  13056. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  13057. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  13058. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  13059. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  13060. `}`,
  13061. }, "")
  13062. return s
  13063. }
  13064. func (this *ReplicationControllerList) String() string {
  13065. if this == nil {
  13066. return "nil"
  13067. }
  13068. s := strings.Join([]string{`&ReplicationControllerList{`,
  13069. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13070. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicationController", "ReplicationController", 1), `&`, ``, 1) + `,`,
  13071. `}`,
  13072. }, "")
  13073. return s
  13074. }
  13075. func (this *ReplicationControllerSpec) String() string {
  13076. if this == nil {
  13077. return "nil"
  13078. }
  13079. keysForSelector := make([]string, 0, len(this.Selector))
  13080. for k := range this.Selector {
  13081. keysForSelector = append(keysForSelector, k)
  13082. }
  13083. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  13084. mapStringForSelector := "map[string]string{"
  13085. for _, k := range keysForSelector {
  13086. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  13087. }
  13088. mapStringForSelector += "}"
  13089. s := strings.Join([]string{`&ReplicationControllerSpec{`,
  13090. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  13091. `Selector:` + mapStringForSelector + `,`,
  13092. `Template:` + strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "PodTemplateSpec", 1) + `,`,
  13093. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  13094. `}`,
  13095. }, "")
  13096. return s
  13097. }
  13098. func (this *ReplicationControllerStatus) String() string {
  13099. if this == nil {
  13100. return "nil"
  13101. }
  13102. s := strings.Join([]string{`&ReplicationControllerStatus{`,
  13103. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  13104. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  13105. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  13106. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  13107. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  13108. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicationControllerCondition", "ReplicationControllerCondition", 1), `&`, ``, 1) + `,`,
  13109. `}`,
  13110. }, "")
  13111. return s
  13112. }
  13113. func (this *ResourceFieldSelector) String() string {
  13114. if this == nil {
  13115. return "nil"
  13116. }
  13117. s := strings.Join([]string{`&ResourceFieldSelector{`,
  13118. `ContainerName:` + fmt.Sprintf("%v", this.ContainerName) + `,`,
  13119. `Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
  13120. `Divisor:` + strings.Replace(strings.Replace(this.Divisor.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
  13121. `}`,
  13122. }, "")
  13123. return s
  13124. }
  13125. func (this *ResourceQuota) String() string {
  13126. if this == nil {
  13127. return "nil"
  13128. }
  13129. s := strings.Join([]string{`&ResourceQuota{`,
  13130. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13131. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ResourceQuotaSpec", "ResourceQuotaSpec", 1), `&`, ``, 1) + `,`,
  13132. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ResourceQuotaStatus", "ResourceQuotaStatus", 1), `&`, ``, 1) + `,`,
  13133. `}`,
  13134. }, "")
  13135. return s
  13136. }
  13137. func (this *ResourceQuotaList) String() string {
  13138. if this == nil {
  13139. return "nil"
  13140. }
  13141. s := strings.Join([]string{`&ResourceQuotaList{`,
  13142. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13143. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ResourceQuota", "ResourceQuota", 1), `&`, ``, 1) + `,`,
  13144. `}`,
  13145. }, "")
  13146. return s
  13147. }
  13148. func (this *ResourceQuotaSpec) String() string {
  13149. if this == nil {
  13150. return "nil"
  13151. }
  13152. keysForHard := make([]string, 0, len(this.Hard))
  13153. for k := range this.Hard {
  13154. keysForHard = append(keysForHard, string(k))
  13155. }
  13156. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  13157. mapStringForHard := "ResourceList{"
  13158. for _, k := range keysForHard {
  13159. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  13160. }
  13161. mapStringForHard += "}"
  13162. s := strings.Join([]string{`&ResourceQuotaSpec{`,
  13163. `Hard:` + mapStringForHard + `,`,
  13164. `Scopes:` + fmt.Sprintf("%v", this.Scopes) + `,`,
  13165. `}`,
  13166. }, "")
  13167. return s
  13168. }
  13169. func (this *ResourceQuotaStatus) String() string {
  13170. if this == nil {
  13171. return "nil"
  13172. }
  13173. keysForHard := make([]string, 0, len(this.Hard))
  13174. for k := range this.Hard {
  13175. keysForHard = append(keysForHard, string(k))
  13176. }
  13177. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  13178. mapStringForHard := "ResourceList{"
  13179. for _, k := range keysForHard {
  13180. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  13181. }
  13182. mapStringForHard += "}"
  13183. keysForUsed := make([]string, 0, len(this.Used))
  13184. for k := range this.Used {
  13185. keysForUsed = append(keysForUsed, string(k))
  13186. }
  13187. github_com_gogo_protobuf_sortkeys.Strings(keysForUsed)
  13188. mapStringForUsed := "ResourceList{"
  13189. for _, k := range keysForUsed {
  13190. mapStringForUsed += fmt.Sprintf("%v: %v,", k, this.Used[ResourceName(k)])
  13191. }
  13192. mapStringForUsed += "}"
  13193. s := strings.Join([]string{`&ResourceQuotaStatus{`,
  13194. `Hard:` + mapStringForHard + `,`,
  13195. `Used:` + mapStringForUsed + `,`,
  13196. `}`,
  13197. }, "")
  13198. return s
  13199. }
  13200. func (this *ResourceRequirements) String() string {
  13201. if this == nil {
  13202. return "nil"
  13203. }
  13204. keysForLimits := make([]string, 0, len(this.Limits))
  13205. for k := range this.Limits {
  13206. keysForLimits = append(keysForLimits, string(k))
  13207. }
  13208. github_com_gogo_protobuf_sortkeys.Strings(keysForLimits)
  13209. mapStringForLimits := "ResourceList{"
  13210. for _, k := range keysForLimits {
  13211. mapStringForLimits += fmt.Sprintf("%v: %v,", k, this.Limits[ResourceName(k)])
  13212. }
  13213. mapStringForLimits += "}"
  13214. keysForRequests := make([]string, 0, len(this.Requests))
  13215. for k := range this.Requests {
  13216. keysForRequests = append(keysForRequests, string(k))
  13217. }
  13218. github_com_gogo_protobuf_sortkeys.Strings(keysForRequests)
  13219. mapStringForRequests := "ResourceList{"
  13220. for _, k := range keysForRequests {
  13221. mapStringForRequests += fmt.Sprintf("%v: %v,", k, this.Requests[ResourceName(k)])
  13222. }
  13223. mapStringForRequests += "}"
  13224. s := strings.Join([]string{`&ResourceRequirements{`,
  13225. `Limits:` + mapStringForLimits + `,`,
  13226. `Requests:` + mapStringForRequests + `,`,
  13227. `}`,
  13228. }, "")
  13229. return s
  13230. }
  13231. func (this *SELinuxOptions) String() string {
  13232. if this == nil {
  13233. return "nil"
  13234. }
  13235. s := strings.Join([]string{`&SELinuxOptions{`,
  13236. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  13237. `Role:` + fmt.Sprintf("%v", this.Role) + `,`,
  13238. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  13239. `Level:` + fmt.Sprintf("%v", this.Level) + `,`,
  13240. `}`,
  13241. }, "")
  13242. return s
  13243. }
  13244. func (this *ScaleIOVolumeSource) String() string {
  13245. if this == nil {
  13246. return "nil"
  13247. }
  13248. s := strings.Join([]string{`&ScaleIOVolumeSource{`,
  13249. `Gateway:` + fmt.Sprintf("%v", this.Gateway) + `,`,
  13250. `System:` + fmt.Sprintf("%v", this.System) + `,`,
  13251. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  13252. `SSLEnabled:` + fmt.Sprintf("%v", this.SSLEnabled) + `,`,
  13253. `ProtectionDomain:` + fmt.Sprintf("%v", this.ProtectionDomain) + `,`,
  13254. `StoragePool:` + fmt.Sprintf("%v", this.StoragePool) + `,`,
  13255. `StorageMode:` + fmt.Sprintf("%v", this.StorageMode) + `,`,
  13256. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  13257. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  13258. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13259. `}`,
  13260. }, "")
  13261. return s
  13262. }
  13263. func (this *Secret) String() string {
  13264. if this == nil {
  13265. return "nil"
  13266. }
  13267. keysForData := make([]string, 0, len(this.Data))
  13268. for k := range this.Data {
  13269. keysForData = append(keysForData, k)
  13270. }
  13271. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  13272. mapStringForData := "map[string][]byte{"
  13273. for _, k := range keysForData {
  13274. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  13275. }
  13276. mapStringForData += "}"
  13277. keysForStringData := make([]string, 0, len(this.StringData))
  13278. for k := range this.StringData {
  13279. keysForStringData = append(keysForStringData, k)
  13280. }
  13281. github_com_gogo_protobuf_sortkeys.Strings(keysForStringData)
  13282. mapStringForStringData := "map[string]string{"
  13283. for _, k := range keysForStringData {
  13284. mapStringForStringData += fmt.Sprintf("%v: %v,", k, this.StringData[k])
  13285. }
  13286. mapStringForStringData += "}"
  13287. s := strings.Join([]string{`&Secret{`,
  13288. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13289. `Data:` + mapStringForData + `,`,
  13290. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  13291. `StringData:` + mapStringForStringData + `,`,
  13292. `}`,
  13293. }, "")
  13294. return s
  13295. }
  13296. func (this *SecretEnvSource) String() string {
  13297. if this == nil {
  13298. return "nil"
  13299. }
  13300. s := strings.Join([]string{`&SecretEnvSource{`,
  13301. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13302. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13303. `}`,
  13304. }, "")
  13305. return s
  13306. }
  13307. func (this *SecretKeySelector) String() string {
  13308. if this == nil {
  13309. return "nil"
  13310. }
  13311. s := strings.Join([]string{`&SecretKeySelector{`,
  13312. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13313. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  13314. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13315. `}`,
  13316. }, "")
  13317. return s
  13318. }
  13319. func (this *SecretList) String() string {
  13320. if this == nil {
  13321. return "nil"
  13322. }
  13323. s := strings.Join([]string{`&SecretList{`,
  13324. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13325. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Secret", "Secret", 1), `&`, ``, 1) + `,`,
  13326. `}`,
  13327. }, "")
  13328. return s
  13329. }
  13330. func (this *SecretProjection) String() string {
  13331. if this == nil {
  13332. return "nil"
  13333. }
  13334. s := strings.Join([]string{`&SecretProjection{`,
  13335. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13336. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  13337. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13338. `}`,
  13339. }, "")
  13340. return s
  13341. }
  13342. func (this *SecretVolumeSource) String() string {
  13343. if this == nil {
  13344. return "nil"
  13345. }
  13346. s := strings.Join([]string{`&SecretVolumeSource{`,
  13347. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  13348. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  13349. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  13350. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13351. `}`,
  13352. }, "")
  13353. return s
  13354. }
  13355. func (this *SecurityContext) String() string {
  13356. if this == nil {
  13357. return "nil"
  13358. }
  13359. s := strings.Join([]string{`&SecurityContext{`,
  13360. `Capabilities:` + strings.Replace(fmt.Sprintf("%v", this.Capabilities), "Capabilities", "Capabilities", 1) + `,`,
  13361. `Privileged:` + valueToStringGenerated(this.Privileged) + `,`,
  13362. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  13363. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  13364. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  13365. `ReadOnlyRootFilesystem:` + valueToStringGenerated(this.ReadOnlyRootFilesystem) + `,`,
  13366. `}`,
  13367. }, "")
  13368. return s
  13369. }
  13370. func (this *SerializedReference) String() string {
  13371. if this == nil {
  13372. return "nil"
  13373. }
  13374. s := strings.Join([]string{`&SerializedReference{`,
  13375. `Reference:` + strings.Replace(strings.Replace(this.Reference.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  13376. `}`,
  13377. }, "")
  13378. return s
  13379. }
  13380. func (this *Service) String() string {
  13381. if this == nil {
  13382. return "nil"
  13383. }
  13384. s := strings.Join([]string{`&Service{`,
  13385. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13386. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ServiceSpec", "ServiceSpec", 1), `&`, ``, 1) + `,`,
  13387. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ServiceStatus", "ServiceStatus", 1), `&`, ``, 1) + `,`,
  13388. `}`,
  13389. }, "")
  13390. return s
  13391. }
  13392. func (this *ServiceAccount) String() string {
  13393. if this == nil {
  13394. return "nil"
  13395. }
  13396. s := strings.Join([]string{`&ServiceAccount{`,
  13397. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13398. `Secrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Secrets), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  13399. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13400. `AutomountServiceAccountToken:` + valueToStringGenerated(this.AutomountServiceAccountToken) + `,`,
  13401. `}`,
  13402. }, "")
  13403. return s
  13404. }
  13405. func (this *ServiceAccountList) String() string {
  13406. if this == nil {
  13407. return "nil"
  13408. }
  13409. s := strings.Join([]string{`&ServiceAccountList{`,
  13410. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13411. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ServiceAccount", "ServiceAccount", 1), `&`, ``, 1) + `,`,
  13412. `}`,
  13413. }, "")
  13414. return s
  13415. }
  13416. func (this *ServiceList) String() string {
  13417. if this == nil {
  13418. return "nil"
  13419. }
  13420. s := strings.Join([]string{`&ServiceList{`,
  13421. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13422. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Service", "Service", 1), `&`, ``, 1) + `,`,
  13423. `}`,
  13424. }, "")
  13425. return s
  13426. }
  13427. func (this *ServicePort) String() string {
  13428. if this == nil {
  13429. return "nil"
  13430. }
  13431. s := strings.Join([]string{`&ServicePort{`,
  13432. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13433. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  13434. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  13435. `TargetPort:` + strings.Replace(strings.Replace(this.TargetPort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  13436. `NodePort:` + fmt.Sprintf("%v", this.NodePort) + `,`,
  13437. `}`,
  13438. }, "")
  13439. return s
  13440. }
  13441. func (this *ServiceProxyOptions) String() string {
  13442. if this == nil {
  13443. return "nil"
  13444. }
  13445. s := strings.Join([]string{`&ServiceProxyOptions{`,
  13446. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  13447. `}`,
  13448. }, "")
  13449. return s
  13450. }
  13451. func (this *ServiceSpec) String() string {
  13452. if this == nil {
  13453. return "nil"
  13454. }
  13455. keysForSelector := make([]string, 0, len(this.Selector))
  13456. for k := range this.Selector {
  13457. keysForSelector = append(keysForSelector, k)
  13458. }
  13459. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  13460. mapStringForSelector := "map[string]string{"
  13461. for _, k := range keysForSelector {
  13462. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  13463. }
  13464. mapStringForSelector += "}"
  13465. s := strings.Join([]string{`&ServiceSpec{`,
  13466. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ServicePort", "ServicePort", 1), `&`, ``, 1) + `,`,
  13467. `Selector:` + mapStringForSelector + `,`,
  13468. `ClusterIP:` + fmt.Sprintf("%v", this.ClusterIP) + `,`,
  13469. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  13470. `ExternalIPs:` + fmt.Sprintf("%v", this.ExternalIPs) + `,`,
  13471. `DeprecatedPublicIPs:` + fmt.Sprintf("%v", this.DeprecatedPublicIPs) + `,`,
  13472. `SessionAffinity:` + fmt.Sprintf("%v", this.SessionAffinity) + `,`,
  13473. `LoadBalancerIP:` + fmt.Sprintf("%v", this.LoadBalancerIP) + `,`,
  13474. `LoadBalancerSourceRanges:` + fmt.Sprintf("%v", this.LoadBalancerSourceRanges) + `,`,
  13475. `ExternalName:` + fmt.Sprintf("%v", this.ExternalName) + `,`,
  13476. `}`,
  13477. }, "")
  13478. return s
  13479. }
  13480. func (this *ServiceStatus) String() string {
  13481. if this == nil {
  13482. return "nil"
  13483. }
  13484. s := strings.Join([]string{`&ServiceStatus{`,
  13485. `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
  13486. `}`,
  13487. }, "")
  13488. return s
  13489. }
  13490. func (this *Sysctl) String() string {
  13491. if this == nil {
  13492. return "nil"
  13493. }
  13494. s := strings.Join([]string{`&Sysctl{`,
  13495. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13496. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  13497. `}`,
  13498. }, "")
  13499. return s
  13500. }
  13501. func (this *TCPSocketAction) String() string {
  13502. if this == nil {
  13503. return "nil"
  13504. }
  13505. s := strings.Join([]string{`&TCPSocketAction{`,
  13506. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  13507. `}`,
  13508. }, "")
  13509. return s
  13510. }
  13511. func (this *Taint) String() string {
  13512. if this == nil {
  13513. return "nil"
  13514. }
  13515. s := strings.Join([]string{`&Taint{`,
  13516. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  13517. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  13518. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  13519. `TimeAdded:` + strings.Replace(strings.Replace(this.TimeAdded.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  13520. `}`,
  13521. }, "")
  13522. return s
  13523. }
  13524. func (this *Toleration) String() string {
  13525. if this == nil {
  13526. return "nil"
  13527. }
  13528. s := strings.Join([]string{`&Toleration{`,
  13529. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  13530. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  13531. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  13532. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  13533. `TolerationSeconds:` + valueToStringGenerated(this.TolerationSeconds) + `,`,
  13534. `}`,
  13535. }, "")
  13536. return s
  13537. }
  13538. func (this *Volume) String() string {
  13539. if this == nil {
  13540. return "nil"
  13541. }
  13542. s := strings.Join([]string{`&Volume{`,
  13543. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13544. `VolumeSource:` + strings.Replace(strings.Replace(this.VolumeSource.String(), "VolumeSource", "VolumeSource", 1), `&`, ``, 1) + `,`,
  13545. `}`,
  13546. }, "")
  13547. return s
  13548. }
  13549. func (this *VolumeMount) String() string {
  13550. if this == nil {
  13551. return "nil"
  13552. }
  13553. s := strings.Join([]string{`&VolumeMount{`,
  13554. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13555. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13556. `MountPath:` + fmt.Sprintf("%v", this.MountPath) + `,`,
  13557. `SubPath:` + fmt.Sprintf("%v", this.SubPath) + `,`,
  13558. `}`,
  13559. }, "")
  13560. return s
  13561. }
  13562. func (this *VolumeProjection) String() string {
  13563. if this == nil {
  13564. return "nil"
  13565. }
  13566. s := strings.Join([]string{`&VolumeProjection{`,
  13567. `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "SecretProjection", "SecretProjection", 1) + `,`,
  13568. `DownwardAPI:` + strings.Replace(fmt.Sprintf("%v", this.DownwardAPI), "DownwardAPIProjection", "DownwardAPIProjection", 1) + `,`,
  13569. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapProjection", "ConfigMapProjection", 1) + `,`,
  13570. `}`,
  13571. }, "")
  13572. return s
  13573. }
  13574. func (this *VolumeSource) String() string {
  13575. if this == nil {
  13576. return "nil"
  13577. }
  13578. s := strings.Join([]string{`&VolumeSource{`,
  13579. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  13580. `EmptyDir:` + strings.Replace(fmt.Sprintf("%v", this.EmptyDir), "EmptyDirVolumeSource", "EmptyDirVolumeSource", 1) + `,`,
  13581. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  13582. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  13583. `GitRepo:` + strings.Replace(fmt.Sprintf("%v", this.GitRepo), "GitRepoVolumeSource", "GitRepoVolumeSource", 1) + `,`,
  13584. `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "SecretVolumeSource", "SecretVolumeSource", 1) + `,`,
  13585. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  13586. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIVolumeSource", "ISCSIVolumeSource", 1) + `,`,
  13587. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsVolumeSource", "GlusterfsVolumeSource", 1) + `,`,
  13588. `PersistentVolumeClaim:` + strings.Replace(fmt.Sprintf("%v", this.PersistentVolumeClaim), "PersistentVolumeClaimVolumeSource", "PersistentVolumeClaimVolumeSource", 1) + `,`,
  13589. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDVolumeSource", "RBDVolumeSource", 1) + `,`,
  13590. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexVolumeSource", "FlexVolumeSource", 1) + `,`,
  13591. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderVolumeSource", "CinderVolumeSource", 1) + `,`,
  13592. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSVolumeSource", "CephFSVolumeSource", 1) + `,`,
  13593. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  13594. `DownwardAPI:` + strings.Replace(fmt.Sprintf("%v", this.DownwardAPI), "DownwardAPIVolumeSource", "DownwardAPIVolumeSource", 1) + `,`,
  13595. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  13596. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFileVolumeSource", "AzureFileVolumeSource", 1) + `,`,
  13597. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapVolumeSource", "ConfigMapVolumeSource", 1) + `,`,
  13598. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  13599. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  13600. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  13601. `PhotonPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.PhotonPersistentDisk), "PhotonPersistentDiskVolumeSource", "PhotonPersistentDiskVolumeSource", 1) + `,`,
  13602. `PortworxVolume:` + strings.Replace(fmt.Sprintf("%v", this.PortworxVolume), "PortworxVolumeSource", "PortworxVolumeSource", 1) + `,`,
  13603. `ScaleIO:` + strings.Replace(fmt.Sprintf("%v", this.ScaleIO), "ScaleIOVolumeSource", "ScaleIOVolumeSource", 1) + `,`,
  13604. `Projected:` + strings.Replace(fmt.Sprintf("%v", this.Projected), "ProjectedVolumeSource", "ProjectedVolumeSource", 1) + `,`,
  13605. `}`,
  13606. }, "")
  13607. return s
  13608. }
  13609. func (this *VsphereVirtualDiskVolumeSource) String() string {
  13610. if this == nil {
  13611. return "nil"
  13612. }
  13613. s := strings.Join([]string{`&VsphereVirtualDiskVolumeSource{`,
  13614. `VolumePath:` + fmt.Sprintf("%v", this.VolumePath) + `,`,
  13615. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  13616. `}`,
  13617. }, "")
  13618. return s
  13619. }
  13620. func (this *WeightedPodAffinityTerm) String() string {
  13621. if this == nil {
  13622. return "nil"
  13623. }
  13624. s := strings.Join([]string{`&WeightedPodAffinityTerm{`,
  13625. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  13626. `PodAffinityTerm:` + strings.Replace(strings.Replace(this.PodAffinityTerm.String(), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  13627. `}`,
  13628. }, "")
  13629. return s
  13630. }
  13631. func valueToStringGenerated(v interface{}) string {
  13632. rv := reflect.ValueOf(v)
  13633. if rv.IsNil() {
  13634. return "nil"
  13635. }
  13636. pv := reflect.Indirect(rv).Interface()
  13637. return fmt.Sprintf("*%v", pv)
  13638. }
  13639. func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(data []byte) error {
  13640. l := len(data)
  13641. iNdEx := 0
  13642. for iNdEx < l {
  13643. preIndex := iNdEx
  13644. var wire uint64
  13645. for shift := uint(0); ; shift += 7 {
  13646. if shift >= 64 {
  13647. return ErrIntOverflowGenerated
  13648. }
  13649. if iNdEx >= l {
  13650. return io.ErrUnexpectedEOF
  13651. }
  13652. b := data[iNdEx]
  13653. iNdEx++
  13654. wire |= (uint64(b) & 0x7F) << shift
  13655. if b < 0x80 {
  13656. break
  13657. }
  13658. }
  13659. fieldNum := int32(wire >> 3)
  13660. wireType := int(wire & 0x7)
  13661. if wireType == 4 {
  13662. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: wiretype end group for non-group")
  13663. }
  13664. if fieldNum <= 0 {
  13665. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  13666. }
  13667. switch fieldNum {
  13668. case 1:
  13669. if wireType != 2 {
  13670. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  13671. }
  13672. var stringLen uint64
  13673. for shift := uint(0); ; shift += 7 {
  13674. if shift >= 64 {
  13675. return ErrIntOverflowGenerated
  13676. }
  13677. if iNdEx >= l {
  13678. return io.ErrUnexpectedEOF
  13679. }
  13680. b := data[iNdEx]
  13681. iNdEx++
  13682. stringLen |= (uint64(b) & 0x7F) << shift
  13683. if b < 0x80 {
  13684. break
  13685. }
  13686. }
  13687. intStringLen := int(stringLen)
  13688. if intStringLen < 0 {
  13689. return ErrInvalidLengthGenerated
  13690. }
  13691. postIndex := iNdEx + intStringLen
  13692. if postIndex > l {
  13693. return io.ErrUnexpectedEOF
  13694. }
  13695. m.VolumeID = string(data[iNdEx:postIndex])
  13696. iNdEx = postIndex
  13697. case 2:
  13698. if wireType != 2 {
  13699. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  13700. }
  13701. var stringLen uint64
  13702. for shift := uint(0); ; shift += 7 {
  13703. if shift >= 64 {
  13704. return ErrIntOverflowGenerated
  13705. }
  13706. if iNdEx >= l {
  13707. return io.ErrUnexpectedEOF
  13708. }
  13709. b := data[iNdEx]
  13710. iNdEx++
  13711. stringLen |= (uint64(b) & 0x7F) << shift
  13712. if b < 0x80 {
  13713. break
  13714. }
  13715. }
  13716. intStringLen := int(stringLen)
  13717. if intStringLen < 0 {
  13718. return ErrInvalidLengthGenerated
  13719. }
  13720. postIndex := iNdEx + intStringLen
  13721. if postIndex > l {
  13722. return io.ErrUnexpectedEOF
  13723. }
  13724. m.FSType = string(data[iNdEx:postIndex])
  13725. iNdEx = postIndex
  13726. case 3:
  13727. if wireType != 0 {
  13728. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  13729. }
  13730. m.Partition = 0
  13731. for shift := uint(0); ; shift += 7 {
  13732. if shift >= 64 {
  13733. return ErrIntOverflowGenerated
  13734. }
  13735. if iNdEx >= l {
  13736. return io.ErrUnexpectedEOF
  13737. }
  13738. b := data[iNdEx]
  13739. iNdEx++
  13740. m.Partition |= (int32(b) & 0x7F) << shift
  13741. if b < 0x80 {
  13742. break
  13743. }
  13744. }
  13745. case 4:
  13746. if wireType != 0 {
  13747. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  13748. }
  13749. var v int
  13750. for shift := uint(0); ; shift += 7 {
  13751. if shift >= 64 {
  13752. return ErrIntOverflowGenerated
  13753. }
  13754. if iNdEx >= l {
  13755. return io.ErrUnexpectedEOF
  13756. }
  13757. b := data[iNdEx]
  13758. iNdEx++
  13759. v |= (int(b) & 0x7F) << shift
  13760. if b < 0x80 {
  13761. break
  13762. }
  13763. }
  13764. m.ReadOnly = bool(v != 0)
  13765. default:
  13766. iNdEx = preIndex
  13767. skippy, err := skipGenerated(data[iNdEx:])
  13768. if err != nil {
  13769. return err
  13770. }
  13771. if skippy < 0 {
  13772. return ErrInvalidLengthGenerated
  13773. }
  13774. if (iNdEx + skippy) > l {
  13775. return io.ErrUnexpectedEOF
  13776. }
  13777. iNdEx += skippy
  13778. }
  13779. }
  13780. if iNdEx > l {
  13781. return io.ErrUnexpectedEOF
  13782. }
  13783. return nil
  13784. }
  13785. func (m *Affinity) Unmarshal(data []byte) error {
  13786. l := len(data)
  13787. iNdEx := 0
  13788. for iNdEx < l {
  13789. preIndex := iNdEx
  13790. var wire uint64
  13791. for shift := uint(0); ; shift += 7 {
  13792. if shift >= 64 {
  13793. return ErrIntOverflowGenerated
  13794. }
  13795. if iNdEx >= l {
  13796. return io.ErrUnexpectedEOF
  13797. }
  13798. b := data[iNdEx]
  13799. iNdEx++
  13800. wire |= (uint64(b) & 0x7F) << shift
  13801. if b < 0x80 {
  13802. break
  13803. }
  13804. }
  13805. fieldNum := int32(wire >> 3)
  13806. wireType := int(wire & 0x7)
  13807. if wireType == 4 {
  13808. return fmt.Errorf("proto: Affinity: wiretype end group for non-group")
  13809. }
  13810. if fieldNum <= 0 {
  13811. return fmt.Errorf("proto: Affinity: illegal tag %d (wire type %d)", fieldNum, wire)
  13812. }
  13813. switch fieldNum {
  13814. case 1:
  13815. if wireType != 2 {
  13816. return fmt.Errorf("proto: wrong wireType = %d for field NodeAffinity", wireType)
  13817. }
  13818. var msglen int
  13819. for shift := uint(0); ; shift += 7 {
  13820. if shift >= 64 {
  13821. return ErrIntOverflowGenerated
  13822. }
  13823. if iNdEx >= l {
  13824. return io.ErrUnexpectedEOF
  13825. }
  13826. b := data[iNdEx]
  13827. iNdEx++
  13828. msglen |= (int(b) & 0x7F) << shift
  13829. if b < 0x80 {
  13830. break
  13831. }
  13832. }
  13833. if msglen < 0 {
  13834. return ErrInvalidLengthGenerated
  13835. }
  13836. postIndex := iNdEx + msglen
  13837. if postIndex > l {
  13838. return io.ErrUnexpectedEOF
  13839. }
  13840. if m.NodeAffinity == nil {
  13841. m.NodeAffinity = &NodeAffinity{}
  13842. }
  13843. if err := m.NodeAffinity.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13844. return err
  13845. }
  13846. iNdEx = postIndex
  13847. case 2:
  13848. if wireType != 2 {
  13849. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinity", wireType)
  13850. }
  13851. var msglen int
  13852. for shift := uint(0); ; shift += 7 {
  13853. if shift >= 64 {
  13854. return ErrIntOverflowGenerated
  13855. }
  13856. if iNdEx >= l {
  13857. return io.ErrUnexpectedEOF
  13858. }
  13859. b := data[iNdEx]
  13860. iNdEx++
  13861. msglen |= (int(b) & 0x7F) << shift
  13862. if b < 0x80 {
  13863. break
  13864. }
  13865. }
  13866. if msglen < 0 {
  13867. return ErrInvalidLengthGenerated
  13868. }
  13869. postIndex := iNdEx + msglen
  13870. if postIndex > l {
  13871. return io.ErrUnexpectedEOF
  13872. }
  13873. if m.PodAffinity == nil {
  13874. m.PodAffinity = &PodAffinity{}
  13875. }
  13876. if err := m.PodAffinity.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13877. return err
  13878. }
  13879. iNdEx = postIndex
  13880. case 3:
  13881. if wireType != 2 {
  13882. return fmt.Errorf("proto: wrong wireType = %d for field PodAntiAffinity", wireType)
  13883. }
  13884. var msglen int
  13885. for shift := uint(0); ; shift += 7 {
  13886. if shift >= 64 {
  13887. return ErrIntOverflowGenerated
  13888. }
  13889. if iNdEx >= l {
  13890. return io.ErrUnexpectedEOF
  13891. }
  13892. b := data[iNdEx]
  13893. iNdEx++
  13894. msglen |= (int(b) & 0x7F) << shift
  13895. if b < 0x80 {
  13896. break
  13897. }
  13898. }
  13899. if msglen < 0 {
  13900. return ErrInvalidLengthGenerated
  13901. }
  13902. postIndex := iNdEx + msglen
  13903. if postIndex > l {
  13904. return io.ErrUnexpectedEOF
  13905. }
  13906. if m.PodAntiAffinity == nil {
  13907. m.PodAntiAffinity = &PodAntiAffinity{}
  13908. }
  13909. if err := m.PodAntiAffinity.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13910. return err
  13911. }
  13912. iNdEx = postIndex
  13913. default:
  13914. iNdEx = preIndex
  13915. skippy, err := skipGenerated(data[iNdEx:])
  13916. if err != nil {
  13917. return err
  13918. }
  13919. if skippy < 0 {
  13920. return ErrInvalidLengthGenerated
  13921. }
  13922. if (iNdEx + skippy) > l {
  13923. return io.ErrUnexpectedEOF
  13924. }
  13925. iNdEx += skippy
  13926. }
  13927. }
  13928. if iNdEx > l {
  13929. return io.ErrUnexpectedEOF
  13930. }
  13931. return nil
  13932. }
  13933. func (m *AttachedVolume) Unmarshal(data []byte) error {
  13934. l := len(data)
  13935. iNdEx := 0
  13936. for iNdEx < l {
  13937. preIndex := iNdEx
  13938. var wire uint64
  13939. for shift := uint(0); ; shift += 7 {
  13940. if shift >= 64 {
  13941. return ErrIntOverflowGenerated
  13942. }
  13943. if iNdEx >= l {
  13944. return io.ErrUnexpectedEOF
  13945. }
  13946. b := data[iNdEx]
  13947. iNdEx++
  13948. wire |= (uint64(b) & 0x7F) << shift
  13949. if b < 0x80 {
  13950. break
  13951. }
  13952. }
  13953. fieldNum := int32(wire >> 3)
  13954. wireType := int(wire & 0x7)
  13955. if wireType == 4 {
  13956. return fmt.Errorf("proto: AttachedVolume: wiretype end group for non-group")
  13957. }
  13958. if fieldNum <= 0 {
  13959. return fmt.Errorf("proto: AttachedVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  13960. }
  13961. switch fieldNum {
  13962. case 1:
  13963. if wireType != 2 {
  13964. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  13965. }
  13966. var stringLen uint64
  13967. for shift := uint(0); ; shift += 7 {
  13968. if shift >= 64 {
  13969. return ErrIntOverflowGenerated
  13970. }
  13971. if iNdEx >= l {
  13972. return io.ErrUnexpectedEOF
  13973. }
  13974. b := data[iNdEx]
  13975. iNdEx++
  13976. stringLen |= (uint64(b) & 0x7F) << shift
  13977. if b < 0x80 {
  13978. break
  13979. }
  13980. }
  13981. intStringLen := int(stringLen)
  13982. if intStringLen < 0 {
  13983. return ErrInvalidLengthGenerated
  13984. }
  13985. postIndex := iNdEx + intStringLen
  13986. if postIndex > l {
  13987. return io.ErrUnexpectedEOF
  13988. }
  13989. m.Name = UniqueVolumeName(data[iNdEx:postIndex])
  13990. iNdEx = postIndex
  13991. case 2:
  13992. if wireType != 2 {
  13993. return fmt.Errorf("proto: wrong wireType = %d for field DevicePath", wireType)
  13994. }
  13995. var stringLen uint64
  13996. for shift := uint(0); ; shift += 7 {
  13997. if shift >= 64 {
  13998. return ErrIntOverflowGenerated
  13999. }
  14000. if iNdEx >= l {
  14001. return io.ErrUnexpectedEOF
  14002. }
  14003. b := data[iNdEx]
  14004. iNdEx++
  14005. stringLen |= (uint64(b) & 0x7F) << shift
  14006. if b < 0x80 {
  14007. break
  14008. }
  14009. }
  14010. intStringLen := int(stringLen)
  14011. if intStringLen < 0 {
  14012. return ErrInvalidLengthGenerated
  14013. }
  14014. postIndex := iNdEx + intStringLen
  14015. if postIndex > l {
  14016. return io.ErrUnexpectedEOF
  14017. }
  14018. m.DevicePath = string(data[iNdEx:postIndex])
  14019. iNdEx = postIndex
  14020. default:
  14021. iNdEx = preIndex
  14022. skippy, err := skipGenerated(data[iNdEx:])
  14023. if err != nil {
  14024. return err
  14025. }
  14026. if skippy < 0 {
  14027. return ErrInvalidLengthGenerated
  14028. }
  14029. if (iNdEx + skippy) > l {
  14030. return io.ErrUnexpectedEOF
  14031. }
  14032. iNdEx += skippy
  14033. }
  14034. }
  14035. if iNdEx > l {
  14036. return io.ErrUnexpectedEOF
  14037. }
  14038. return nil
  14039. }
  14040. func (m *AvoidPods) Unmarshal(data []byte) error {
  14041. l := len(data)
  14042. iNdEx := 0
  14043. for iNdEx < l {
  14044. preIndex := iNdEx
  14045. var wire uint64
  14046. for shift := uint(0); ; shift += 7 {
  14047. if shift >= 64 {
  14048. return ErrIntOverflowGenerated
  14049. }
  14050. if iNdEx >= l {
  14051. return io.ErrUnexpectedEOF
  14052. }
  14053. b := data[iNdEx]
  14054. iNdEx++
  14055. wire |= (uint64(b) & 0x7F) << shift
  14056. if b < 0x80 {
  14057. break
  14058. }
  14059. }
  14060. fieldNum := int32(wire >> 3)
  14061. wireType := int(wire & 0x7)
  14062. if wireType == 4 {
  14063. return fmt.Errorf("proto: AvoidPods: wiretype end group for non-group")
  14064. }
  14065. if fieldNum <= 0 {
  14066. return fmt.Errorf("proto: AvoidPods: illegal tag %d (wire type %d)", fieldNum, wire)
  14067. }
  14068. switch fieldNum {
  14069. case 1:
  14070. if wireType != 2 {
  14071. return fmt.Errorf("proto: wrong wireType = %d for field PreferAvoidPods", wireType)
  14072. }
  14073. var msglen int
  14074. for shift := uint(0); ; shift += 7 {
  14075. if shift >= 64 {
  14076. return ErrIntOverflowGenerated
  14077. }
  14078. if iNdEx >= l {
  14079. return io.ErrUnexpectedEOF
  14080. }
  14081. b := data[iNdEx]
  14082. iNdEx++
  14083. msglen |= (int(b) & 0x7F) << shift
  14084. if b < 0x80 {
  14085. break
  14086. }
  14087. }
  14088. if msglen < 0 {
  14089. return ErrInvalidLengthGenerated
  14090. }
  14091. postIndex := iNdEx + msglen
  14092. if postIndex > l {
  14093. return io.ErrUnexpectedEOF
  14094. }
  14095. m.PreferAvoidPods = append(m.PreferAvoidPods, PreferAvoidPodsEntry{})
  14096. if err := m.PreferAvoidPods[len(m.PreferAvoidPods)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  14097. return err
  14098. }
  14099. iNdEx = postIndex
  14100. default:
  14101. iNdEx = preIndex
  14102. skippy, err := skipGenerated(data[iNdEx:])
  14103. if err != nil {
  14104. return err
  14105. }
  14106. if skippy < 0 {
  14107. return ErrInvalidLengthGenerated
  14108. }
  14109. if (iNdEx + skippy) > l {
  14110. return io.ErrUnexpectedEOF
  14111. }
  14112. iNdEx += skippy
  14113. }
  14114. }
  14115. if iNdEx > l {
  14116. return io.ErrUnexpectedEOF
  14117. }
  14118. return nil
  14119. }
  14120. func (m *AzureDiskVolumeSource) Unmarshal(data []byte) error {
  14121. l := len(data)
  14122. iNdEx := 0
  14123. for iNdEx < l {
  14124. preIndex := iNdEx
  14125. var wire uint64
  14126. for shift := uint(0); ; shift += 7 {
  14127. if shift >= 64 {
  14128. return ErrIntOverflowGenerated
  14129. }
  14130. if iNdEx >= l {
  14131. return io.ErrUnexpectedEOF
  14132. }
  14133. b := data[iNdEx]
  14134. iNdEx++
  14135. wire |= (uint64(b) & 0x7F) << shift
  14136. if b < 0x80 {
  14137. break
  14138. }
  14139. }
  14140. fieldNum := int32(wire >> 3)
  14141. wireType := int(wire & 0x7)
  14142. if wireType == 4 {
  14143. return fmt.Errorf("proto: AzureDiskVolumeSource: wiretype end group for non-group")
  14144. }
  14145. if fieldNum <= 0 {
  14146. return fmt.Errorf("proto: AzureDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  14147. }
  14148. switch fieldNum {
  14149. case 1:
  14150. if wireType != 2 {
  14151. return fmt.Errorf("proto: wrong wireType = %d for field DiskName", wireType)
  14152. }
  14153. var stringLen uint64
  14154. for shift := uint(0); ; shift += 7 {
  14155. if shift >= 64 {
  14156. return ErrIntOverflowGenerated
  14157. }
  14158. if iNdEx >= l {
  14159. return io.ErrUnexpectedEOF
  14160. }
  14161. b := data[iNdEx]
  14162. iNdEx++
  14163. stringLen |= (uint64(b) & 0x7F) << shift
  14164. if b < 0x80 {
  14165. break
  14166. }
  14167. }
  14168. intStringLen := int(stringLen)
  14169. if intStringLen < 0 {
  14170. return ErrInvalidLengthGenerated
  14171. }
  14172. postIndex := iNdEx + intStringLen
  14173. if postIndex > l {
  14174. return io.ErrUnexpectedEOF
  14175. }
  14176. m.DiskName = string(data[iNdEx:postIndex])
  14177. iNdEx = postIndex
  14178. case 2:
  14179. if wireType != 2 {
  14180. return fmt.Errorf("proto: wrong wireType = %d for field DataDiskURI", wireType)
  14181. }
  14182. var stringLen uint64
  14183. for shift := uint(0); ; shift += 7 {
  14184. if shift >= 64 {
  14185. return ErrIntOverflowGenerated
  14186. }
  14187. if iNdEx >= l {
  14188. return io.ErrUnexpectedEOF
  14189. }
  14190. b := data[iNdEx]
  14191. iNdEx++
  14192. stringLen |= (uint64(b) & 0x7F) << shift
  14193. if b < 0x80 {
  14194. break
  14195. }
  14196. }
  14197. intStringLen := int(stringLen)
  14198. if intStringLen < 0 {
  14199. return ErrInvalidLengthGenerated
  14200. }
  14201. postIndex := iNdEx + intStringLen
  14202. if postIndex > l {
  14203. return io.ErrUnexpectedEOF
  14204. }
  14205. m.DataDiskURI = string(data[iNdEx:postIndex])
  14206. iNdEx = postIndex
  14207. case 3:
  14208. if wireType != 2 {
  14209. return fmt.Errorf("proto: wrong wireType = %d for field CachingMode", wireType)
  14210. }
  14211. var stringLen uint64
  14212. for shift := uint(0); ; shift += 7 {
  14213. if shift >= 64 {
  14214. return ErrIntOverflowGenerated
  14215. }
  14216. if iNdEx >= l {
  14217. return io.ErrUnexpectedEOF
  14218. }
  14219. b := data[iNdEx]
  14220. iNdEx++
  14221. stringLen |= (uint64(b) & 0x7F) << shift
  14222. if b < 0x80 {
  14223. break
  14224. }
  14225. }
  14226. intStringLen := int(stringLen)
  14227. if intStringLen < 0 {
  14228. return ErrInvalidLengthGenerated
  14229. }
  14230. postIndex := iNdEx + intStringLen
  14231. if postIndex > l {
  14232. return io.ErrUnexpectedEOF
  14233. }
  14234. s := AzureDataDiskCachingMode(data[iNdEx:postIndex])
  14235. m.CachingMode = &s
  14236. iNdEx = postIndex
  14237. case 4:
  14238. if wireType != 2 {
  14239. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  14240. }
  14241. var stringLen uint64
  14242. for shift := uint(0); ; shift += 7 {
  14243. if shift >= 64 {
  14244. return ErrIntOverflowGenerated
  14245. }
  14246. if iNdEx >= l {
  14247. return io.ErrUnexpectedEOF
  14248. }
  14249. b := data[iNdEx]
  14250. iNdEx++
  14251. stringLen |= (uint64(b) & 0x7F) << shift
  14252. if b < 0x80 {
  14253. break
  14254. }
  14255. }
  14256. intStringLen := int(stringLen)
  14257. if intStringLen < 0 {
  14258. return ErrInvalidLengthGenerated
  14259. }
  14260. postIndex := iNdEx + intStringLen
  14261. if postIndex > l {
  14262. return io.ErrUnexpectedEOF
  14263. }
  14264. s := string(data[iNdEx:postIndex])
  14265. m.FSType = &s
  14266. iNdEx = postIndex
  14267. case 5:
  14268. if wireType != 0 {
  14269. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  14270. }
  14271. var v int
  14272. for shift := uint(0); ; shift += 7 {
  14273. if shift >= 64 {
  14274. return ErrIntOverflowGenerated
  14275. }
  14276. if iNdEx >= l {
  14277. return io.ErrUnexpectedEOF
  14278. }
  14279. b := data[iNdEx]
  14280. iNdEx++
  14281. v |= (int(b) & 0x7F) << shift
  14282. if b < 0x80 {
  14283. break
  14284. }
  14285. }
  14286. b := bool(v != 0)
  14287. m.ReadOnly = &b
  14288. default:
  14289. iNdEx = preIndex
  14290. skippy, err := skipGenerated(data[iNdEx:])
  14291. if err != nil {
  14292. return err
  14293. }
  14294. if skippy < 0 {
  14295. return ErrInvalidLengthGenerated
  14296. }
  14297. if (iNdEx + skippy) > l {
  14298. return io.ErrUnexpectedEOF
  14299. }
  14300. iNdEx += skippy
  14301. }
  14302. }
  14303. if iNdEx > l {
  14304. return io.ErrUnexpectedEOF
  14305. }
  14306. return nil
  14307. }
  14308. func (m *AzureFileVolumeSource) Unmarshal(data []byte) error {
  14309. l := len(data)
  14310. iNdEx := 0
  14311. for iNdEx < l {
  14312. preIndex := iNdEx
  14313. var wire uint64
  14314. for shift := uint(0); ; shift += 7 {
  14315. if shift >= 64 {
  14316. return ErrIntOverflowGenerated
  14317. }
  14318. if iNdEx >= l {
  14319. return io.ErrUnexpectedEOF
  14320. }
  14321. b := data[iNdEx]
  14322. iNdEx++
  14323. wire |= (uint64(b) & 0x7F) << shift
  14324. if b < 0x80 {
  14325. break
  14326. }
  14327. }
  14328. fieldNum := int32(wire >> 3)
  14329. wireType := int(wire & 0x7)
  14330. if wireType == 4 {
  14331. return fmt.Errorf("proto: AzureFileVolumeSource: wiretype end group for non-group")
  14332. }
  14333. if fieldNum <= 0 {
  14334. return fmt.Errorf("proto: AzureFileVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  14335. }
  14336. switch fieldNum {
  14337. case 1:
  14338. if wireType != 2 {
  14339. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  14340. }
  14341. var stringLen uint64
  14342. for shift := uint(0); ; shift += 7 {
  14343. if shift >= 64 {
  14344. return ErrIntOverflowGenerated
  14345. }
  14346. if iNdEx >= l {
  14347. return io.ErrUnexpectedEOF
  14348. }
  14349. b := data[iNdEx]
  14350. iNdEx++
  14351. stringLen |= (uint64(b) & 0x7F) << shift
  14352. if b < 0x80 {
  14353. break
  14354. }
  14355. }
  14356. intStringLen := int(stringLen)
  14357. if intStringLen < 0 {
  14358. return ErrInvalidLengthGenerated
  14359. }
  14360. postIndex := iNdEx + intStringLen
  14361. if postIndex > l {
  14362. return io.ErrUnexpectedEOF
  14363. }
  14364. m.SecretName = string(data[iNdEx:postIndex])
  14365. iNdEx = postIndex
  14366. case 2:
  14367. if wireType != 2 {
  14368. return fmt.Errorf("proto: wrong wireType = %d for field ShareName", wireType)
  14369. }
  14370. var stringLen uint64
  14371. for shift := uint(0); ; shift += 7 {
  14372. if shift >= 64 {
  14373. return ErrIntOverflowGenerated
  14374. }
  14375. if iNdEx >= l {
  14376. return io.ErrUnexpectedEOF
  14377. }
  14378. b := data[iNdEx]
  14379. iNdEx++
  14380. stringLen |= (uint64(b) & 0x7F) << shift
  14381. if b < 0x80 {
  14382. break
  14383. }
  14384. }
  14385. intStringLen := int(stringLen)
  14386. if intStringLen < 0 {
  14387. return ErrInvalidLengthGenerated
  14388. }
  14389. postIndex := iNdEx + intStringLen
  14390. if postIndex > l {
  14391. return io.ErrUnexpectedEOF
  14392. }
  14393. m.ShareName = string(data[iNdEx:postIndex])
  14394. iNdEx = postIndex
  14395. case 3:
  14396. if wireType != 0 {
  14397. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  14398. }
  14399. var v int
  14400. for shift := uint(0); ; shift += 7 {
  14401. if shift >= 64 {
  14402. return ErrIntOverflowGenerated
  14403. }
  14404. if iNdEx >= l {
  14405. return io.ErrUnexpectedEOF
  14406. }
  14407. b := data[iNdEx]
  14408. iNdEx++
  14409. v |= (int(b) & 0x7F) << shift
  14410. if b < 0x80 {
  14411. break
  14412. }
  14413. }
  14414. m.ReadOnly = bool(v != 0)
  14415. default:
  14416. iNdEx = preIndex
  14417. skippy, err := skipGenerated(data[iNdEx:])
  14418. if err != nil {
  14419. return err
  14420. }
  14421. if skippy < 0 {
  14422. return ErrInvalidLengthGenerated
  14423. }
  14424. if (iNdEx + skippy) > l {
  14425. return io.ErrUnexpectedEOF
  14426. }
  14427. iNdEx += skippy
  14428. }
  14429. }
  14430. if iNdEx > l {
  14431. return io.ErrUnexpectedEOF
  14432. }
  14433. return nil
  14434. }
  14435. func (m *Binding) Unmarshal(data []byte) error {
  14436. l := len(data)
  14437. iNdEx := 0
  14438. for iNdEx < l {
  14439. preIndex := iNdEx
  14440. var wire uint64
  14441. for shift := uint(0); ; shift += 7 {
  14442. if shift >= 64 {
  14443. return ErrIntOverflowGenerated
  14444. }
  14445. if iNdEx >= l {
  14446. return io.ErrUnexpectedEOF
  14447. }
  14448. b := data[iNdEx]
  14449. iNdEx++
  14450. wire |= (uint64(b) & 0x7F) << shift
  14451. if b < 0x80 {
  14452. break
  14453. }
  14454. }
  14455. fieldNum := int32(wire >> 3)
  14456. wireType := int(wire & 0x7)
  14457. if wireType == 4 {
  14458. return fmt.Errorf("proto: Binding: wiretype end group for non-group")
  14459. }
  14460. if fieldNum <= 0 {
  14461. return fmt.Errorf("proto: Binding: illegal tag %d (wire type %d)", fieldNum, wire)
  14462. }
  14463. switch fieldNum {
  14464. case 1:
  14465. if wireType != 2 {
  14466. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  14467. }
  14468. var msglen int
  14469. for shift := uint(0); ; shift += 7 {
  14470. if shift >= 64 {
  14471. return ErrIntOverflowGenerated
  14472. }
  14473. if iNdEx >= l {
  14474. return io.ErrUnexpectedEOF
  14475. }
  14476. b := data[iNdEx]
  14477. iNdEx++
  14478. msglen |= (int(b) & 0x7F) << shift
  14479. if b < 0x80 {
  14480. break
  14481. }
  14482. }
  14483. if msglen < 0 {
  14484. return ErrInvalidLengthGenerated
  14485. }
  14486. postIndex := iNdEx + msglen
  14487. if postIndex > l {
  14488. return io.ErrUnexpectedEOF
  14489. }
  14490. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14491. return err
  14492. }
  14493. iNdEx = postIndex
  14494. case 2:
  14495. if wireType != 2 {
  14496. return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
  14497. }
  14498. var msglen int
  14499. for shift := uint(0); ; shift += 7 {
  14500. if shift >= 64 {
  14501. return ErrIntOverflowGenerated
  14502. }
  14503. if iNdEx >= l {
  14504. return io.ErrUnexpectedEOF
  14505. }
  14506. b := data[iNdEx]
  14507. iNdEx++
  14508. msglen |= (int(b) & 0x7F) << shift
  14509. if b < 0x80 {
  14510. break
  14511. }
  14512. }
  14513. if msglen < 0 {
  14514. return ErrInvalidLengthGenerated
  14515. }
  14516. postIndex := iNdEx + msglen
  14517. if postIndex > l {
  14518. return io.ErrUnexpectedEOF
  14519. }
  14520. if err := m.Target.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14521. return err
  14522. }
  14523. iNdEx = postIndex
  14524. default:
  14525. iNdEx = preIndex
  14526. skippy, err := skipGenerated(data[iNdEx:])
  14527. if err != nil {
  14528. return err
  14529. }
  14530. if skippy < 0 {
  14531. return ErrInvalidLengthGenerated
  14532. }
  14533. if (iNdEx + skippy) > l {
  14534. return io.ErrUnexpectedEOF
  14535. }
  14536. iNdEx += skippy
  14537. }
  14538. }
  14539. if iNdEx > l {
  14540. return io.ErrUnexpectedEOF
  14541. }
  14542. return nil
  14543. }
  14544. func (m *Capabilities) Unmarshal(data []byte) error {
  14545. l := len(data)
  14546. iNdEx := 0
  14547. for iNdEx < l {
  14548. preIndex := iNdEx
  14549. var wire uint64
  14550. for shift := uint(0); ; shift += 7 {
  14551. if shift >= 64 {
  14552. return ErrIntOverflowGenerated
  14553. }
  14554. if iNdEx >= l {
  14555. return io.ErrUnexpectedEOF
  14556. }
  14557. b := data[iNdEx]
  14558. iNdEx++
  14559. wire |= (uint64(b) & 0x7F) << shift
  14560. if b < 0x80 {
  14561. break
  14562. }
  14563. }
  14564. fieldNum := int32(wire >> 3)
  14565. wireType := int(wire & 0x7)
  14566. if wireType == 4 {
  14567. return fmt.Errorf("proto: Capabilities: wiretype end group for non-group")
  14568. }
  14569. if fieldNum <= 0 {
  14570. return fmt.Errorf("proto: Capabilities: illegal tag %d (wire type %d)", fieldNum, wire)
  14571. }
  14572. switch fieldNum {
  14573. case 1:
  14574. if wireType != 2 {
  14575. return fmt.Errorf("proto: wrong wireType = %d for field Add", wireType)
  14576. }
  14577. var stringLen uint64
  14578. for shift := uint(0); ; shift += 7 {
  14579. if shift >= 64 {
  14580. return ErrIntOverflowGenerated
  14581. }
  14582. if iNdEx >= l {
  14583. return io.ErrUnexpectedEOF
  14584. }
  14585. b := data[iNdEx]
  14586. iNdEx++
  14587. stringLen |= (uint64(b) & 0x7F) << shift
  14588. if b < 0x80 {
  14589. break
  14590. }
  14591. }
  14592. intStringLen := int(stringLen)
  14593. if intStringLen < 0 {
  14594. return ErrInvalidLengthGenerated
  14595. }
  14596. postIndex := iNdEx + intStringLen
  14597. if postIndex > l {
  14598. return io.ErrUnexpectedEOF
  14599. }
  14600. m.Add = append(m.Add, Capability(data[iNdEx:postIndex]))
  14601. iNdEx = postIndex
  14602. case 2:
  14603. if wireType != 2 {
  14604. return fmt.Errorf("proto: wrong wireType = %d for field Drop", wireType)
  14605. }
  14606. var stringLen uint64
  14607. for shift := uint(0); ; shift += 7 {
  14608. if shift >= 64 {
  14609. return ErrIntOverflowGenerated
  14610. }
  14611. if iNdEx >= l {
  14612. return io.ErrUnexpectedEOF
  14613. }
  14614. b := data[iNdEx]
  14615. iNdEx++
  14616. stringLen |= (uint64(b) & 0x7F) << shift
  14617. if b < 0x80 {
  14618. break
  14619. }
  14620. }
  14621. intStringLen := int(stringLen)
  14622. if intStringLen < 0 {
  14623. return ErrInvalidLengthGenerated
  14624. }
  14625. postIndex := iNdEx + intStringLen
  14626. if postIndex > l {
  14627. return io.ErrUnexpectedEOF
  14628. }
  14629. m.Drop = append(m.Drop, Capability(data[iNdEx:postIndex]))
  14630. iNdEx = postIndex
  14631. default:
  14632. iNdEx = preIndex
  14633. skippy, err := skipGenerated(data[iNdEx:])
  14634. if err != nil {
  14635. return err
  14636. }
  14637. if skippy < 0 {
  14638. return ErrInvalidLengthGenerated
  14639. }
  14640. if (iNdEx + skippy) > l {
  14641. return io.ErrUnexpectedEOF
  14642. }
  14643. iNdEx += skippy
  14644. }
  14645. }
  14646. if iNdEx > l {
  14647. return io.ErrUnexpectedEOF
  14648. }
  14649. return nil
  14650. }
  14651. func (m *CephFSVolumeSource) Unmarshal(data []byte) error {
  14652. l := len(data)
  14653. iNdEx := 0
  14654. for iNdEx < l {
  14655. preIndex := iNdEx
  14656. var wire uint64
  14657. for shift := uint(0); ; shift += 7 {
  14658. if shift >= 64 {
  14659. return ErrIntOverflowGenerated
  14660. }
  14661. if iNdEx >= l {
  14662. return io.ErrUnexpectedEOF
  14663. }
  14664. b := data[iNdEx]
  14665. iNdEx++
  14666. wire |= (uint64(b) & 0x7F) << shift
  14667. if b < 0x80 {
  14668. break
  14669. }
  14670. }
  14671. fieldNum := int32(wire >> 3)
  14672. wireType := int(wire & 0x7)
  14673. if wireType == 4 {
  14674. return fmt.Errorf("proto: CephFSVolumeSource: wiretype end group for non-group")
  14675. }
  14676. if fieldNum <= 0 {
  14677. return fmt.Errorf("proto: CephFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  14678. }
  14679. switch fieldNum {
  14680. case 1:
  14681. if wireType != 2 {
  14682. return fmt.Errorf("proto: wrong wireType = %d for field Monitors", wireType)
  14683. }
  14684. var stringLen uint64
  14685. for shift := uint(0); ; shift += 7 {
  14686. if shift >= 64 {
  14687. return ErrIntOverflowGenerated
  14688. }
  14689. if iNdEx >= l {
  14690. return io.ErrUnexpectedEOF
  14691. }
  14692. b := data[iNdEx]
  14693. iNdEx++
  14694. stringLen |= (uint64(b) & 0x7F) << shift
  14695. if b < 0x80 {
  14696. break
  14697. }
  14698. }
  14699. intStringLen := int(stringLen)
  14700. if intStringLen < 0 {
  14701. return ErrInvalidLengthGenerated
  14702. }
  14703. postIndex := iNdEx + intStringLen
  14704. if postIndex > l {
  14705. return io.ErrUnexpectedEOF
  14706. }
  14707. m.Monitors = append(m.Monitors, string(data[iNdEx:postIndex]))
  14708. iNdEx = postIndex
  14709. case 2:
  14710. if wireType != 2 {
  14711. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  14712. }
  14713. var stringLen uint64
  14714. for shift := uint(0); ; shift += 7 {
  14715. if shift >= 64 {
  14716. return ErrIntOverflowGenerated
  14717. }
  14718. if iNdEx >= l {
  14719. return io.ErrUnexpectedEOF
  14720. }
  14721. b := data[iNdEx]
  14722. iNdEx++
  14723. stringLen |= (uint64(b) & 0x7F) << shift
  14724. if b < 0x80 {
  14725. break
  14726. }
  14727. }
  14728. intStringLen := int(stringLen)
  14729. if intStringLen < 0 {
  14730. return ErrInvalidLengthGenerated
  14731. }
  14732. postIndex := iNdEx + intStringLen
  14733. if postIndex > l {
  14734. return io.ErrUnexpectedEOF
  14735. }
  14736. m.Path = string(data[iNdEx:postIndex])
  14737. iNdEx = postIndex
  14738. case 3:
  14739. if wireType != 2 {
  14740. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  14741. }
  14742. var stringLen uint64
  14743. for shift := uint(0); ; shift += 7 {
  14744. if shift >= 64 {
  14745. return ErrIntOverflowGenerated
  14746. }
  14747. if iNdEx >= l {
  14748. return io.ErrUnexpectedEOF
  14749. }
  14750. b := data[iNdEx]
  14751. iNdEx++
  14752. stringLen |= (uint64(b) & 0x7F) << shift
  14753. if b < 0x80 {
  14754. break
  14755. }
  14756. }
  14757. intStringLen := int(stringLen)
  14758. if intStringLen < 0 {
  14759. return ErrInvalidLengthGenerated
  14760. }
  14761. postIndex := iNdEx + intStringLen
  14762. if postIndex > l {
  14763. return io.ErrUnexpectedEOF
  14764. }
  14765. m.User = string(data[iNdEx:postIndex])
  14766. iNdEx = postIndex
  14767. case 4:
  14768. if wireType != 2 {
  14769. return fmt.Errorf("proto: wrong wireType = %d for field SecretFile", wireType)
  14770. }
  14771. var stringLen uint64
  14772. for shift := uint(0); ; shift += 7 {
  14773. if shift >= 64 {
  14774. return ErrIntOverflowGenerated
  14775. }
  14776. if iNdEx >= l {
  14777. return io.ErrUnexpectedEOF
  14778. }
  14779. b := data[iNdEx]
  14780. iNdEx++
  14781. stringLen |= (uint64(b) & 0x7F) << shift
  14782. if b < 0x80 {
  14783. break
  14784. }
  14785. }
  14786. intStringLen := int(stringLen)
  14787. if intStringLen < 0 {
  14788. return ErrInvalidLengthGenerated
  14789. }
  14790. postIndex := iNdEx + intStringLen
  14791. if postIndex > l {
  14792. return io.ErrUnexpectedEOF
  14793. }
  14794. m.SecretFile = string(data[iNdEx:postIndex])
  14795. iNdEx = postIndex
  14796. case 5:
  14797. if wireType != 2 {
  14798. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  14799. }
  14800. var msglen int
  14801. for shift := uint(0); ; shift += 7 {
  14802. if shift >= 64 {
  14803. return ErrIntOverflowGenerated
  14804. }
  14805. if iNdEx >= l {
  14806. return io.ErrUnexpectedEOF
  14807. }
  14808. b := data[iNdEx]
  14809. iNdEx++
  14810. msglen |= (int(b) & 0x7F) << shift
  14811. if b < 0x80 {
  14812. break
  14813. }
  14814. }
  14815. if msglen < 0 {
  14816. return ErrInvalidLengthGenerated
  14817. }
  14818. postIndex := iNdEx + msglen
  14819. if postIndex > l {
  14820. return io.ErrUnexpectedEOF
  14821. }
  14822. if m.SecretRef == nil {
  14823. m.SecretRef = &LocalObjectReference{}
  14824. }
  14825. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  14826. return err
  14827. }
  14828. iNdEx = postIndex
  14829. case 6:
  14830. if wireType != 0 {
  14831. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  14832. }
  14833. var v int
  14834. for shift := uint(0); ; shift += 7 {
  14835. if shift >= 64 {
  14836. return ErrIntOverflowGenerated
  14837. }
  14838. if iNdEx >= l {
  14839. return io.ErrUnexpectedEOF
  14840. }
  14841. b := data[iNdEx]
  14842. iNdEx++
  14843. v |= (int(b) & 0x7F) << shift
  14844. if b < 0x80 {
  14845. break
  14846. }
  14847. }
  14848. m.ReadOnly = bool(v != 0)
  14849. default:
  14850. iNdEx = preIndex
  14851. skippy, err := skipGenerated(data[iNdEx:])
  14852. if err != nil {
  14853. return err
  14854. }
  14855. if skippy < 0 {
  14856. return ErrInvalidLengthGenerated
  14857. }
  14858. if (iNdEx + skippy) > l {
  14859. return io.ErrUnexpectedEOF
  14860. }
  14861. iNdEx += skippy
  14862. }
  14863. }
  14864. if iNdEx > l {
  14865. return io.ErrUnexpectedEOF
  14866. }
  14867. return nil
  14868. }
  14869. func (m *CinderVolumeSource) Unmarshal(data []byte) error {
  14870. l := len(data)
  14871. iNdEx := 0
  14872. for iNdEx < l {
  14873. preIndex := iNdEx
  14874. var wire uint64
  14875. for shift := uint(0); ; shift += 7 {
  14876. if shift >= 64 {
  14877. return ErrIntOverflowGenerated
  14878. }
  14879. if iNdEx >= l {
  14880. return io.ErrUnexpectedEOF
  14881. }
  14882. b := data[iNdEx]
  14883. iNdEx++
  14884. wire |= (uint64(b) & 0x7F) << shift
  14885. if b < 0x80 {
  14886. break
  14887. }
  14888. }
  14889. fieldNum := int32(wire >> 3)
  14890. wireType := int(wire & 0x7)
  14891. if wireType == 4 {
  14892. return fmt.Errorf("proto: CinderVolumeSource: wiretype end group for non-group")
  14893. }
  14894. if fieldNum <= 0 {
  14895. return fmt.Errorf("proto: CinderVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  14896. }
  14897. switch fieldNum {
  14898. case 1:
  14899. if wireType != 2 {
  14900. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  14901. }
  14902. var stringLen uint64
  14903. for shift := uint(0); ; shift += 7 {
  14904. if shift >= 64 {
  14905. return ErrIntOverflowGenerated
  14906. }
  14907. if iNdEx >= l {
  14908. return io.ErrUnexpectedEOF
  14909. }
  14910. b := data[iNdEx]
  14911. iNdEx++
  14912. stringLen |= (uint64(b) & 0x7F) << shift
  14913. if b < 0x80 {
  14914. break
  14915. }
  14916. }
  14917. intStringLen := int(stringLen)
  14918. if intStringLen < 0 {
  14919. return ErrInvalidLengthGenerated
  14920. }
  14921. postIndex := iNdEx + intStringLen
  14922. if postIndex > l {
  14923. return io.ErrUnexpectedEOF
  14924. }
  14925. m.VolumeID = string(data[iNdEx:postIndex])
  14926. iNdEx = postIndex
  14927. case 2:
  14928. if wireType != 2 {
  14929. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  14930. }
  14931. var stringLen uint64
  14932. for shift := uint(0); ; shift += 7 {
  14933. if shift >= 64 {
  14934. return ErrIntOverflowGenerated
  14935. }
  14936. if iNdEx >= l {
  14937. return io.ErrUnexpectedEOF
  14938. }
  14939. b := data[iNdEx]
  14940. iNdEx++
  14941. stringLen |= (uint64(b) & 0x7F) << shift
  14942. if b < 0x80 {
  14943. break
  14944. }
  14945. }
  14946. intStringLen := int(stringLen)
  14947. if intStringLen < 0 {
  14948. return ErrInvalidLengthGenerated
  14949. }
  14950. postIndex := iNdEx + intStringLen
  14951. if postIndex > l {
  14952. return io.ErrUnexpectedEOF
  14953. }
  14954. m.FSType = string(data[iNdEx:postIndex])
  14955. iNdEx = postIndex
  14956. case 3:
  14957. if wireType != 0 {
  14958. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  14959. }
  14960. var v int
  14961. for shift := uint(0); ; shift += 7 {
  14962. if shift >= 64 {
  14963. return ErrIntOverflowGenerated
  14964. }
  14965. if iNdEx >= l {
  14966. return io.ErrUnexpectedEOF
  14967. }
  14968. b := data[iNdEx]
  14969. iNdEx++
  14970. v |= (int(b) & 0x7F) << shift
  14971. if b < 0x80 {
  14972. break
  14973. }
  14974. }
  14975. m.ReadOnly = bool(v != 0)
  14976. default:
  14977. iNdEx = preIndex
  14978. skippy, err := skipGenerated(data[iNdEx:])
  14979. if err != nil {
  14980. return err
  14981. }
  14982. if skippy < 0 {
  14983. return ErrInvalidLengthGenerated
  14984. }
  14985. if (iNdEx + skippy) > l {
  14986. return io.ErrUnexpectedEOF
  14987. }
  14988. iNdEx += skippy
  14989. }
  14990. }
  14991. if iNdEx > l {
  14992. return io.ErrUnexpectedEOF
  14993. }
  14994. return nil
  14995. }
  14996. func (m *ComponentCondition) Unmarshal(data []byte) error {
  14997. l := len(data)
  14998. iNdEx := 0
  14999. for iNdEx < l {
  15000. preIndex := iNdEx
  15001. var wire uint64
  15002. for shift := uint(0); ; shift += 7 {
  15003. if shift >= 64 {
  15004. return ErrIntOverflowGenerated
  15005. }
  15006. if iNdEx >= l {
  15007. return io.ErrUnexpectedEOF
  15008. }
  15009. b := data[iNdEx]
  15010. iNdEx++
  15011. wire |= (uint64(b) & 0x7F) << shift
  15012. if b < 0x80 {
  15013. break
  15014. }
  15015. }
  15016. fieldNum := int32(wire >> 3)
  15017. wireType := int(wire & 0x7)
  15018. if wireType == 4 {
  15019. return fmt.Errorf("proto: ComponentCondition: wiretype end group for non-group")
  15020. }
  15021. if fieldNum <= 0 {
  15022. return fmt.Errorf("proto: ComponentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  15023. }
  15024. switch fieldNum {
  15025. case 1:
  15026. if wireType != 2 {
  15027. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  15028. }
  15029. var stringLen uint64
  15030. for shift := uint(0); ; shift += 7 {
  15031. if shift >= 64 {
  15032. return ErrIntOverflowGenerated
  15033. }
  15034. if iNdEx >= l {
  15035. return io.ErrUnexpectedEOF
  15036. }
  15037. b := data[iNdEx]
  15038. iNdEx++
  15039. stringLen |= (uint64(b) & 0x7F) << shift
  15040. if b < 0x80 {
  15041. break
  15042. }
  15043. }
  15044. intStringLen := int(stringLen)
  15045. if intStringLen < 0 {
  15046. return ErrInvalidLengthGenerated
  15047. }
  15048. postIndex := iNdEx + intStringLen
  15049. if postIndex > l {
  15050. return io.ErrUnexpectedEOF
  15051. }
  15052. m.Type = ComponentConditionType(data[iNdEx:postIndex])
  15053. iNdEx = postIndex
  15054. case 2:
  15055. if wireType != 2 {
  15056. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  15057. }
  15058. var stringLen uint64
  15059. for shift := uint(0); ; shift += 7 {
  15060. if shift >= 64 {
  15061. return ErrIntOverflowGenerated
  15062. }
  15063. if iNdEx >= l {
  15064. return io.ErrUnexpectedEOF
  15065. }
  15066. b := data[iNdEx]
  15067. iNdEx++
  15068. stringLen |= (uint64(b) & 0x7F) << shift
  15069. if b < 0x80 {
  15070. break
  15071. }
  15072. }
  15073. intStringLen := int(stringLen)
  15074. if intStringLen < 0 {
  15075. return ErrInvalidLengthGenerated
  15076. }
  15077. postIndex := iNdEx + intStringLen
  15078. if postIndex > l {
  15079. return io.ErrUnexpectedEOF
  15080. }
  15081. m.Status = ConditionStatus(data[iNdEx:postIndex])
  15082. iNdEx = postIndex
  15083. case 3:
  15084. if wireType != 2 {
  15085. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  15086. }
  15087. var stringLen uint64
  15088. for shift := uint(0); ; shift += 7 {
  15089. if shift >= 64 {
  15090. return ErrIntOverflowGenerated
  15091. }
  15092. if iNdEx >= l {
  15093. return io.ErrUnexpectedEOF
  15094. }
  15095. b := data[iNdEx]
  15096. iNdEx++
  15097. stringLen |= (uint64(b) & 0x7F) << shift
  15098. if b < 0x80 {
  15099. break
  15100. }
  15101. }
  15102. intStringLen := int(stringLen)
  15103. if intStringLen < 0 {
  15104. return ErrInvalidLengthGenerated
  15105. }
  15106. postIndex := iNdEx + intStringLen
  15107. if postIndex > l {
  15108. return io.ErrUnexpectedEOF
  15109. }
  15110. m.Message = string(data[iNdEx:postIndex])
  15111. iNdEx = postIndex
  15112. case 4:
  15113. if wireType != 2 {
  15114. return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
  15115. }
  15116. var stringLen uint64
  15117. for shift := uint(0); ; shift += 7 {
  15118. if shift >= 64 {
  15119. return ErrIntOverflowGenerated
  15120. }
  15121. if iNdEx >= l {
  15122. return io.ErrUnexpectedEOF
  15123. }
  15124. b := data[iNdEx]
  15125. iNdEx++
  15126. stringLen |= (uint64(b) & 0x7F) << shift
  15127. if b < 0x80 {
  15128. break
  15129. }
  15130. }
  15131. intStringLen := int(stringLen)
  15132. if intStringLen < 0 {
  15133. return ErrInvalidLengthGenerated
  15134. }
  15135. postIndex := iNdEx + intStringLen
  15136. if postIndex > l {
  15137. return io.ErrUnexpectedEOF
  15138. }
  15139. m.Error = string(data[iNdEx:postIndex])
  15140. iNdEx = postIndex
  15141. default:
  15142. iNdEx = preIndex
  15143. skippy, err := skipGenerated(data[iNdEx:])
  15144. if err != nil {
  15145. return err
  15146. }
  15147. if skippy < 0 {
  15148. return ErrInvalidLengthGenerated
  15149. }
  15150. if (iNdEx + skippy) > l {
  15151. return io.ErrUnexpectedEOF
  15152. }
  15153. iNdEx += skippy
  15154. }
  15155. }
  15156. if iNdEx > l {
  15157. return io.ErrUnexpectedEOF
  15158. }
  15159. return nil
  15160. }
  15161. func (m *ComponentStatus) Unmarshal(data []byte) error {
  15162. l := len(data)
  15163. iNdEx := 0
  15164. for iNdEx < l {
  15165. preIndex := iNdEx
  15166. var wire uint64
  15167. for shift := uint(0); ; shift += 7 {
  15168. if shift >= 64 {
  15169. return ErrIntOverflowGenerated
  15170. }
  15171. if iNdEx >= l {
  15172. return io.ErrUnexpectedEOF
  15173. }
  15174. b := data[iNdEx]
  15175. iNdEx++
  15176. wire |= (uint64(b) & 0x7F) << shift
  15177. if b < 0x80 {
  15178. break
  15179. }
  15180. }
  15181. fieldNum := int32(wire >> 3)
  15182. wireType := int(wire & 0x7)
  15183. if wireType == 4 {
  15184. return fmt.Errorf("proto: ComponentStatus: wiretype end group for non-group")
  15185. }
  15186. if fieldNum <= 0 {
  15187. return fmt.Errorf("proto: ComponentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  15188. }
  15189. switch fieldNum {
  15190. case 1:
  15191. if wireType != 2 {
  15192. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  15193. }
  15194. var msglen int
  15195. for shift := uint(0); ; shift += 7 {
  15196. if shift >= 64 {
  15197. return ErrIntOverflowGenerated
  15198. }
  15199. if iNdEx >= l {
  15200. return io.ErrUnexpectedEOF
  15201. }
  15202. b := data[iNdEx]
  15203. iNdEx++
  15204. msglen |= (int(b) & 0x7F) << shift
  15205. if b < 0x80 {
  15206. break
  15207. }
  15208. }
  15209. if msglen < 0 {
  15210. return ErrInvalidLengthGenerated
  15211. }
  15212. postIndex := iNdEx + msglen
  15213. if postIndex > l {
  15214. return io.ErrUnexpectedEOF
  15215. }
  15216. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15217. return err
  15218. }
  15219. iNdEx = postIndex
  15220. case 2:
  15221. if wireType != 2 {
  15222. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  15223. }
  15224. var msglen int
  15225. for shift := uint(0); ; shift += 7 {
  15226. if shift >= 64 {
  15227. return ErrIntOverflowGenerated
  15228. }
  15229. if iNdEx >= l {
  15230. return io.ErrUnexpectedEOF
  15231. }
  15232. b := data[iNdEx]
  15233. iNdEx++
  15234. msglen |= (int(b) & 0x7F) << shift
  15235. if b < 0x80 {
  15236. break
  15237. }
  15238. }
  15239. if msglen < 0 {
  15240. return ErrInvalidLengthGenerated
  15241. }
  15242. postIndex := iNdEx + msglen
  15243. if postIndex > l {
  15244. return io.ErrUnexpectedEOF
  15245. }
  15246. m.Conditions = append(m.Conditions, ComponentCondition{})
  15247. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  15248. return err
  15249. }
  15250. iNdEx = postIndex
  15251. default:
  15252. iNdEx = preIndex
  15253. skippy, err := skipGenerated(data[iNdEx:])
  15254. if err != nil {
  15255. return err
  15256. }
  15257. if skippy < 0 {
  15258. return ErrInvalidLengthGenerated
  15259. }
  15260. if (iNdEx + skippy) > l {
  15261. return io.ErrUnexpectedEOF
  15262. }
  15263. iNdEx += skippy
  15264. }
  15265. }
  15266. if iNdEx > l {
  15267. return io.ErrUnexpectedEOF
  15268. }
  15269. return nil
  15270. }
  15271. func (m *ComponentStatusList) Unmarshal(data []byte) error {
  15272. l := len(data)
  15273. iNdEx := 0
  15274. for iNdEx < l {
  15275. preIndex := iNdEx
  15276. var wire uint64
  15277. for shift := uint(0); ; shift += 7 {
  15278. if shift >= 64 {
  15279. return ErrIntOverflowGenerated
  15280. }
  15281. if iNdEx >= l {
  15282. return io.ErrUnexpectedEOF
  15283. }
  15284. b := data[iNdEx]
  15285. iNdEx++
  15286. wire |= (uint64(b) & 0x7F) << shift
  15287. if b < 0x80 {
  15288. break
  15289. }
  15290. }
  15291. fieldNum := int32(wire >> 3)
  15292. wireType := int(wire & 0x7)
  15293. if wireType == 4 {
  15294. return fmt.Errorf("proto: ComponentStatusList: wiretype end group for non-group")
  15295. }
  15296. if fieldNum <= 0 {
  15297. return fmt.Errorf("proto: ComponentStatusList: illegal tag %d (wire type %d)", fieldNum, wire)
  15298. }
  15299. switch fieldNum {
  15300. case 1:
  15301. if wireType != 2 {
  15302. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  15303. }
  15304. var msglen int
  15305. for shift := uint(0); ; shift += 7 {
  15306. if shift >= 64 {
  15307. return ErrIntOverflowGenerated
  15308. }
  15309. if iNdEx >= l {
  15310. return io.ErrUnexpectedEOF
  15311. }
  15312. b := data[iNdEx]
  15313. iNdEx++
  15314. msglen |= (int(b) & 0x7F) << shift
  15315. if b < 0x80 {
  15316. break
  15317. }
  15318. }
  15319. if msglen < 0 {
  15320. return ErrInvalidLengthGenerated
  15321. }
  15322. postIndex := iNdEx + msglen
  15323. if postIndex > l {
  15324. return io.ErrUnexpectedEOF
  15325. }
  15326. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15327. return err
  15328. }
  15329. iNdEx = postIndex
  15330. case 2:
  15331. if wireType != 2 {
  15332. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  15333. }
  15334. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  15345. if b < 0x80 {
  15346. break
  15347. }
  15348. }
  15349. if msglen < 0 {
  15350. return ErrInvalidLengthGenerated
  15351. }
  15352. postIndex := iNdEx + msglen
  15353. if postIndex > l {
  15354. return io.ErrUnexpectedEOF
  15355. }
  15356. m.Items = append(m.Items, ComponentStatus{})
  15357. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  15358. return err
  15359. }
  15360. iNdEx = postIndex
  15361. default:
  15362. iNdEx = preIndex
  15363. skippy, err := skipGenerated(data[iNdEx:])
  15364. if err != nil {
  15365. return err
  15366. }
  15367. if skippy < 0 {
  15368. return ErrInvalidLengthGenerated
  15369. }
  15370. if (iNdEx + skippy) > l {
  15371. return io.ErrUnexpectedEOF
  15372. }
  15373. iNdEx += skippy
  15374. }
  15375. }
  15376. if iNdEx > l {
  15377. return io.ErrUnexpectedEOF
  15378. }
  15379. return nil
  15380. }
  15381. func (m *ConfigMap) Unmarshal(data []byte) error {
  15382. l := len(data)
  15383. iNdEx := 0
  15384. for iNdEx < l {
  15385. preIndex := iNdEx
  15386. var wire uint64
  15387. for shift := uint(0); ; shift += 7 {
  15388. if shift >= 64 {
  15389. return ErrIntOverflowGenerated
  15390. }
  15391. if iNdEx >= l {
  15392. return io.ErrUnexpectedEOF
  15393. }
  15394. b := data[iNdEx]
  15395. iNdEx++
  15396. wire |= (uint64(b) & 0x7F) << shift
  15397. if b < 0x80 {
  15398. break
  15399. }
  15400. }
  15401. fieldNum := int32(wire >> 3)
  15402. wireType := int(wire & 0x7)
  15403. if wireType == 4 {
  15404. return fmt.Errorf("proto: ConfigMap: wiretype end group for non-group")
  15405. }
  15406. if fieldNum <= 0 {
  15407. return fmt.Errorf("proto: ConfigMap: illegal tag %d (wire type %d)", fieldNum, wire)
  15408. }
  15409. switch fieldNum {
  15410. case 1:
  15411. if wireType != 2 {
  15412. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  15413. }
  15414. var msglen int
  15415. for shift := uint(0); ; shift += 7 {
  15416. if shift >= 64 {
  15417. return ErrIntOverflowGenerated
  15418. }
  15419. if iNdEx >= l {
  15420. return io.ErrUnexpectedEOF
  15421. }
  15422. b := data[iNdEx]
  15423. iNdEx++
  15424. msglen |= (int(b) & 0x7F) << shift
  15425. if b < 0x80 {
  15426. break
  15427. }
  15428. }
  15429. if msglen < 0 {
  15430. return ErrInvalidLengthGenerated
  15431. }
  15432. postIndex := iNdEx + msglen
  15433. if postIndex > l {
  15434. return io.ErrUnexpectedEOF
  15435. }
  15436. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15437. return err
  15438. }
  15439. iNdEx = postIndex
  15440. case 2:
  15441. if wireType != 2 {
  15442. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  15443. }
  15444. var msglen int
  15445. for shift := uint(0); ; shift += 7 {
  15446. if shift >= 64 {
  15447. return ErrIntOverflowGenerated
  15448. }
  15449. if iNdEx >= l {
  15450. return io.ErrUnexpectedEOF
  15451. }
  15452. b := data[iNdEx]
  15453. iNdEx++
  15454. msglen |= (int(b) & 0x7F) << shift
  15455. if b < 0x80 {
  15456. break
  15457. }
  15458. }
  15459. if msglen < 0 {
  15460. return ErrInvalidLengthGenerated
  15461. }
  15462. postIndex := iNdEx + msglen
  15463. if postIndex > l {
  15464. return io.ErrUnexpectedEOF
  15465. }
  15466. var keykey uint64
  15467. for shift := uint(0); ; shift += 7 {
  15468. if shift >= 64 {
  15469. return ErrIntOverflowGenerated
  15470. }
  15471. if iNdEx >= l {
  15472. return io.ErrUnexpectedEOF
  15473. }
  15474. b := data[iNdEx]
  15475. iNdEx++
  15476. keykey |= (uint64(b) & 0x7F) << shift
  15477. if b < 0x80 {
  15478. break
  15479. }
  15480. }
  15481. var stringLenmapkey uint64
  15482. for shift := uint(0); ; shift += 7 {
  15483. if shift >= 64 {
  15484. return ErrIntOverflowGenerated
  15485. }
  15486. if iNdEx >= l {
  15487. return io.ErrUnexpectedEOF
  15488. }
  15489. b := data[iNdEx]
  15490. iNdEx++
  15491. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  15492. if b < 0x80 {
  15493. break
  15494. }
  15495. }
  15496. intStringLenmapkey := int(stringLenmapkey)
  15497. if intStringLenmapkey < 0 {
  15498. return ErrInvalidLengthGenerated
  15499. }
  15500. postStringIndexmapkey := iNdEx + intStringLenmapkey
  15501. if postStringIndexmapkey > l {
  15502. return io.ErrUnexpectedEOF
  15503. }
  15504. mapkey := string(data[iNdEx:postStringIndexmapkey])
  15505. iNdEx = postStringIndexmapkey
  15506. var valuekey uint64
  15507. for shift := uint(0); ; shift += 7 {
  15508. if shift >= 64 {
  15509. return ErrIntOverflowGenerated
  15510. }
  15511. if iNdEx >= l {
  15512. return io.ErrUnexpectedEOF
  15513. }
  15514. b := data[iNdEx]
  15515. iNdEx++
  15516. valuekey |= (uint64(b) & 0x7F) << shift
  15517. if b < 0x80 {
  15518. break
  15519. }
  15520. }
  15521. var stringLenmapvalue uint64
  15522. for shift := uint(0); ; shift += 7 {
  15523. if shift >= 64 {
  15524. return ErrIntOverflowGenerated
  15525. }
  15526. if iNdEx >= l {
  15527. return io.ErrUnexpectedEOF
  15528. }
  15529. b := data[iNdEx]
  15530. iNdEx++
  15531. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  15532. if b < 0x80 {
  15533. break
  15534. }
  15535. }
  15536. intStringLenmapvalue := int(stringLenmapvalue)
  15537. if intStringLenmapvalue < 0 {
  15538. return ErrInvalidLengthGenerated
  15539. }
  15540. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  15541. if postStringIndexmapvalue > l {
  15542. return io.ErrUnexpectedEOF
  15543. }
  15544. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  15545. iNdEx = postStringIndexmapvalue
  15546. if m.Data == nil {
  15547. m.Data = make(map[string]string)
  15548. }
  15549. m.Data[mapkey] = mapvalue
  15550. iNdEx = postIndex
  15551. default:
  15552. iNdEx = preIndex
  15553. skippy, err := skipGenerated(data[iNdEx:])
  15554. if err != nil {
  15555. return err
  15556. }
  15557. if skippy < 0 {
  15558. return ErrInvalidLengthGenerated
  15559. }
  15560. if (iNdEx + skippy) > l {
  15561. return io.ErrUnexpectedEOF
  15562. }
  15563. iNdEx += skippy
  15564. }
  15565. }
  15566. if iNdEx > l {
  15567. return io.ErrUnexpectedEOF
  15568. }
  15569. return nil
  15570. }
  15571. func (m *ConfigMapEnvSource) Unmarshal(data []byte) error {
  15572. l := len(data)
  15573. iNdEx := 0
  15574. for iNdEx < l {
  15575. preIndex := iNdEx
  15576. var wire uint64
  15577. for shift := uint(0); ; shift += 7 {
  15578. if shift >= 64 {
  15579. return ErrIntOverflowGenerated
  15580. }
  15581. if iNdEx >= l {
  15582. return io.ErrUnexpectedEOF
  15583. }
  15584. b := data[iNdEx]
  15585. iNdEx++
  15586. wire |= (uint64(b) & 0x7F) << shift
  15587. if b < 0x80 {
  15588. break
  15589. }
  15590. }
  15591. fieldNum := int32(wire >> 3)
  15592. wireType := int(wire & 0x7)
  15593. if wireType == 4 {
  15594. return fmt.Errorf("proto: ConfigMapEnvSource: wiretype end group for non-group")
  15595. }
  15596. if fieldNum <= 0 {
  15597. return fmt.Errorf("proto: ConfigMapEnvSource: illegal tag %d (wire type %d)", fieldNum, wire)
  15598. }
  15599. switch fieldNum {
  15600. case 1:
  15601. if wireType != 2 {
  15602. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  15603. }
  15604. var msglen int
  15605. for shift := uint(0); ; shift += 7 {
  15606. if shift >= 64 {
  15607. return ErrIntOverflowGenerated
  15608. }
  15609. if iNdEx >= l {
  15610. return io.ErrUnexpectedEOF
  15611. }
  15612. b := data[iNdEx]
  15613. iNdEx++
  15614. msglen |= (int(b) & 0x7F) << shift
  15615. if b < 0x80 {
  15616. break
  15617. }
  15618. }
  15619. if msglen < 0 {
  15620. return ErrInvalidLengthGenerated
  15621. }
  15622. postIndex := iNdEx + msglen
  15623. if postIndex > l {
  15624. return io.ErrUnexpectedEOF
  15625. }
  15626. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15627. return err
  15628. }
  15629. iNdEx = postIndex
  15630. case 2:
  15631. if wireType != 0 {
  15632. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  15633. }
  15634. var v int
  15635. for shift := uint(0); ; shift += 7 {
  15636. if shift >= 64 {
  15637. return ErrIntOverflowGenerated
  15638. }
  15639. if iNdEx >= l {
  15640. return io.ErrUnexpectedEOF
  15641. }
  15642. b := data[iNdEx]
  15643. iNdEx++
  15644. v |= (int(b) & 0x7F) << shift
  15645. if b < 0x80 {
  15646. break
  15647. }
  15648. }
  15649. b := bool(v != 0)
  15650. m.Optional = &b
  15651. default:
  15652. iNdEx = preIndex
  15653. skippy, err := skipGenerated(data[iNdEx:])
  15654. if err != nil {
  15655. return err
  15656. }
  15657. if skippy < 0 {
  15658. return ErrInvalidLengthGenerated
  15659. }
  15660. if (iNdEx + skippy) > l {
  15661. return io.ErrUnexpectedEOF
  15662. }
  15663. iNdEx += skippy
  15664. }
  15665. }
  15666. if iNdEx > l {
  15667. return io.ErrUnexpectedEOF
  15668. }
  15669. return nil
  15670. }
  15671. func (m *ConfigMapKeySelector) Unmarshal(data []byte) error {
  15672. l := len(data)
  15673. iNdEx := 0
  15674. for iNdEx < l {
  15675. preIndex := iNdEx
  15676. var wire uint64
  15677. for shift := uint(0); ; shift += 7 {
  15678. if shift >= 64 {
  15679. return ErrIntOverflowGenerated
  15680. }
  15681. if iNdEx >= l {
  15682. return io.ErrUnexpectedEOF
  15683. }
  15684. b := data[iNdEx]
  15685. iNdEx++
  15686. wire |= (uint64(b) & 0x7F) << shift
  15687. if b < 0x80 {
  15688. break
  15689. }
  15690. }
  15691. fieldNum := int32(wire >> 3)
  15692. wireType := int(wire & 0x7)
  15693. if wireType == 4 {
  15694. return fmt.Errorf("proto: ConfigMapKeySelector: wiretype end group for non-group")
  15695. }
  15696. if fieldNum <= 0 {
  15697. return fmt.Errorf("proto: ConfigMapKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  15698. }
  15699. switch fieldNum {
  15700. case 1:
  15701. if wireType != 2 {
  15702. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  15703. }
  15704. var msglen int
  15705. for shift := uint(0); ; shift += 7 {
  15706. if shift >= 64 {
  15707. return ErrIntOverflowGenerated
  15708. }
  15709. if iNdEx >= l {
  15710. return io.ErrUnexpectedEOF
  15711. }
  15712. b := data[iNdEx]
  15713. iNdEx++
  15714. msglen |= (int(b) & 0x7F) << shift
  15715. if b < 0x80 {
  15716. break
  15717. }
  15718. }
  15719. if msglen < 0 {
  15720. return ErrInvalidLengthGenerated
  15721. }
  15722. postIndex := iNdEx + msglen
  15723. if postIndex > l {
  15724. return io.ErrUnexpectedEOF
  15725. }
  15726. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15727. return err
  15728. }
  15729. iNdEx = postIndex
  15730. case 2:
  15731. if wireType != 2 {
  15732. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  15733. }
  15734. var stringLen uint64
  15735. for shift := uint(0); ; shift += 7 {
  15736. if shift >= 64 {
  15737. return ErrIntOverflowGenerated
  15738. }
  15739. if iNdEx >= l {
  15740. return io.ErrUnexpectedEOF
  15741. }
  15742. b := data[iNdEx]
  15743. iNdEx++
  15744. stringLen |= (uint64(b) & 0x7F) << shift
  15745. if b < 0x80 {
  15746. break
  15747. }
  15748. }
  15749. intStringLen := int(stringLen)
  15750. if intStringLen < 0 {
  15751. return ErrInvalidLengthGenerated
  15752. }
  15753. postIndex := iNdEx + intStringLen
  15754. if postIndex > l {
  15755. return io.ErrUnexpectedEOF
  15756. }
  15757. m.Key = string(data[iNdEx:postIndex])
  15758. iNdEx = postIndex
  15759. case 3:
  15760. if wireType != 0 {
  15761. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  15762. }
  15763. var v int
  15764. for shift := uint(0); ; shift += 7 {
  15765. if shift >= 64 {
  15766. return ErrIntOverflowGenerated
  15767. }
  15768. if iNdEx >= l {
  15769. return io.ErrUnexpectedEOF
  15770. }
  15771. b := data[iNdEx]
  15772. iNdEx++
  15773. v |= (int(b) & 0x7F) << shift
  15774. if b < 0x80 {
  15775. break
  15776. }
  15777. }
  15778. b := bool(v != 0)
  15779. m.Optional = &b
  15780. default:
  15781. iNdEx = preIndex
  15782. skippy, err := skipGenerated(data[iNdEx:])
  15783. if err != nil {
  15784. return err
  15785. }
  15786. if skippy < 0 {
  15787. return ErrInvalidLengthGenerated
  15788. }
  15789. if (iNdEx + skippy) > l {
  15790. return io.ErrUnexpectedEOF
  15791. }
  15792. iNdEx += skippy
  15793. }
  15794. }
  15795. if iNdEx > l {
  15796. return io.ErrUnexpectedEOF
  15797. }
  15798. return nil
  15799. }
  15800. func (m *ConfigMapList) Unmarshal(data []byte) error {
  15801. l := len(data)
  15802. iNdEx := 0
  15803. for iNdEx < l {
  15804. preIndex := iNdEx
  15805. var wire uint64
  15806. for shift := uint(0); ; shift += 7 {
  15807. if shift >= 64 {
  15808. return ErrIntOverflowGenerated
  15809. }
  15810. if iNdEx >= l {
  15811. return io.ErrUnexpectedEOF
  15812. }
  15813. b := data[iNdEx]
  15814. iNdEx++
  15815. wire |= (uint64(b) & 0x7F) << shift
  15816. if b < 0x80 {
  15817. break
  15818. }
  15819. }
  15820. fieldNum := int32(wire >> 3)
  15821. wireType := int(wire & 0x7)
  15822. if wireType == 4 {
  15823. return fmt.Errorf("proto: ConfigMapList: wiretype end group for non-group")
  15824. }
  15825. if fieldNum <= 0 {
  15826. return fmt.Errorf("proto: ConfigMapList: illegal tag %d (wire type %d)", fieldNum, wire)
  15827. }
  15828. switch fieldNum {
  15829. case 1:
  15830. if wireType != 2 {
  15831. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  15832. }
  15833. var msglen int
  15834. for shift := uint(0); ; shift += 7 {
  15835. if shift >= 64 {
  15836. return ErrIntOverflowGenerated
  15837. }
  15838. if iNdEx >= l {
  15839. return io.ErrUnexpectedEOF
  15840. }
  15841. b := data[iNdEx]
  15842. iNdEx++
  15843. msglen |= (int(b) & 0x7F) << shift
  15844. if b < 0x80 {
  15845. break
  15846. }
  15847. }
  15848. if msglen < 0 {
  15849. return ErrInvalidLengthGenerated
  15850. }
  15851. postIndex := iNdEx + msglen
  15852. if postIndex > l {
  15853. return io.ErrUnexpectedEOF
  15854. }
  15855. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15856. return err
  15857. }
  15858. iNdEx = postIndex
  15859. case 2:
  15860. if wireType != 2 {
  15861. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  15862. }
  15863. var msglen int
  15864. for shift := uint(0); ; shift += 7 {
  15865. if shift >= 64 {
  15866. return ErrIntOverflowGenerated
  15867. }
  15868. if iNdEx >= l {
  15869. return io.ErrUnexpectedEOF
  15870. }
  15871. b := data[iNdEx]
  15872. iNdEx++
  15873. msglen |= (int(b) & 0x7F) << shift
  15874. if b < 0x80 {
  15875. break
  15876. }
  15877. }
  15878. if msglen < 0 {
  15879. return ErrInvalidLengthGenerated
  15880. }
  15881. postIndex := iNdEx + msglen
  15882. if postIndex > l {
  15883. return io.ErrUnexpectedEOF
  15884. }
  15885. m.Items = append(m.Items, ConfigMap{})
  15886. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  15887. return err
  15888. }
  15889. iNdEx = postIndex
  15890. default:
  15891. iNdEx = preIndex
  15892. skippy, err := skipGenerated(data[iNdEx:])
  15893. if err != nil {
  15894. return err
  15895. }
  15896. if skippy < 0 {
  15897. return ErrInvalidLengthGenerated
  15898. }
  15899. if (iNdEx + skippy) > l {
  15900. return io.ErrUnexpectedEOF
  15901. }
  15902. iNdEx += skippy
  15903. }
  15904. }
  15905. if iNdEx > l {
  15906. return io.ErrUnexpectedEOF
  15907. }
  15908. return nil
  15909. }
  15910. func (m *ConfigMapProjection) Unmarshal(data []byte) error {
  15911. l := len(data)
  15912. iNdEx := 0
  15913. for iNdEx < l {
  15914. preIndex := iNdEx
  15915. var wire uint64
  15916. for shift := uint(0); ; shift += 7 {
  15917. if shift >= 64 {
  15918. return ErrIntOverflowGenerated
  15919. }
  15920. if iNdEx >= l {
  15921. return io.ErrUnexpectedEOF
  15922. }
  15923. b := data[iNdEx]
  15924. iNdEx++
  15925. wire |= (uint64(b) & 0x7F) << shift
  15926. if b < 0x80 {
  15927. break
  15928. }
  15929. }
  15930. fieldNum := int32(wire >> 3)
  15931. wireType := int(wire & 0x7)
  15932. if wireType == 4 {
  15933. return fmt.Errorf("proto: ConfigMapProjection: wiretype end group for non-group")
  15934. }
  15935. if fieldNum <= 0 {
  15936. return fmt.Errorf("proto: ConfigMapProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  15937. }
  15938. switch fieldNum {
  15939. case 1:
  15940. if wireType != 2 {
  15941. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  15942. }
  15943. var msglen int
  15944. for shift := uint(0); ; shift += 7 {
  15945. if shift >= 64 {
  15946. return ErrIntOverflowGenerated
  15947. }
  15948. if iNdEx >= l {
  15949. return io.ErrUnexpectedEOF
  15950. }
  15951. b := data[iNdEx]
  15952. iNdEx++
  15953. msglen |= (int(b) & 0x7F) << shift
  15954. if b < 0x80 {
  15955. break
  15956. }
  15957. }
  15958. if msglen < 0 {
  15959. return ErrInvalidLengthGenerated
  15960. }
  15961. postIndex := iNdEx + msglen
  15962. if postIndex > l {
  15963. return io.ErrUnexpectedEOF
  15964. }
  15965. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  15966. return err
  15967. }
  15968. iNdEx = postIndex
  15969. case 2:
  15970. if wireType != 2 {
  15971. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  15972. }
  15973. var msglen int
  15974. for shift := uint(0); ; shift += 7 {
  15975. if shift >= 64 {
  15976. return ErrIntOverflowGenerated
  15977. }
  15978. if iNdEx >= l {
  15979. return io.ErrUnexpectedEOF
  15980. }
  15981. b := data[iNdEx]
  15982. iNdEx++
  15983. msglen |= (int(b) & 0x7F) << shift
  15984. if b < 0x80 {
  15985. break
  15986. }
  15987. }
  15988. if msglen < 0 {
  15989. return ErrInvalidLengthGenerated
  15990. }
  15991. postIndex := iNdEx + msglen
  15992. if postIndex > l {
  15993. return io.ErrUnexpectedEOF
  15994. }
  15995. m.Items = append(m.Items, KeyToPath{})
  15996. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  15997. return err
  15998. }
  15999. iNdEx = postIndex
  16000. case 4:
  16001. if wireType != 0 {
  16002. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  16003. }
  16004. var v int
  16005. for shift := uint(0); ; shift += 7 {
  16006. if shift >= 64 {
  16007. return ErrIntOverflowGenerated
  16008. }
  16009. if iNdEx >= l {
  16010. return io.ErrUnexpectedEOF
  16011. }
  16012. b := data[iNdEx]
  16013. iNdEx++
  16014. v |= (int(b) & 0x7F) << shift
  16015. if b < 0x80 {
  16016. break
  16017. }
  16018. }
  16019. b := bool(v != 0)
  16020. m.Optional = &b
  16021. default:
  16022. iNdEx = preIndex
  16023. skippy, err := skipGenerated(data[iNdEx:])
  16024. if err != nil {
  16025. return err
  16026. }
  16027. if skippy < 0 {
  16028. return ErrInvalidLengthGenerated
  16029. }
  16030. if (iNdEx + skippy) > l {
  16031. return io.ErrUnexpectedEOF
  16032. }
  16033. iNdEx += skippy
  16034. }
  16035. }
  16036. if iNdEx > l {
  16037. return io.ErrUnexpectedEOF
  16038. }
  16039. return nil
  16040. }
  16041. func (m *ConfigMapVolumeSource) Unmarshal(data []byte) error {
  16042. l := len(data)
  16043. iNdEx := 0
  16044. for iNdEx < l {
  16045. preIndex := iNdEx
  16046. var wire uint64
  16047. for shift := uint(0); ; shift += 7 {
  16048. if shift >= 64 {
  16049. return ErrIntOverflowGenerated
  16050. }
  16051. if iNdEx >= l {
  16052. return io.ErrUnexpectedEOF
  16053. }
  16054. b := data[iNdEx]
  16055. iNdEx++
  16056. wire |= (uint64(b) & 0x7F) << shift
  16057. if b < 0x80 {
  16058. break
  16059. }
  16060. }
  16061. fieldNum := int32(wire >> 3)
  16062. wireType := int(wire & 0x7)
  16063. if wireType == 4 {
  16064. return fmt.Errorf("proto: ConfigMapVolumeSource: wiretype end group for non-group")
  16065. }
  16066. if fieldNum <= 0 {
  16067. return fmt.Errorf("proto: ConfigMapVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  16068. }
  16069. switch fieldNum {
  16070. case 1:
  16071. if wireType != 2 {
  16072. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  16073. }
  16074. var msglen int
  16075. for shift := uint(0); ; shift += 7 {
  16076. if shift >= 64 {
  16077. return ErrIntOverflowGenerated
  16078. }
  16079. if iNdEx >= l {
  16080. return io.ErrUnexpectedEOF
  16081. }
  16082. b := data[iNdEx]
  16083. iNdEx++
  16084. msglen |= (int(b) & 0x7F) << shift
  16085. if b < 0x80 {
  16086. break
  16087. }
  16088. }
  16089. if msglen < 0 {
  16090. return ErrInvalidLengthGenerated
  16091. }
  16092. postIndex := iNdEx + msglen
  16093. if postIndex > l {
  16094. return io.ErrUnexpectedEOF
  16095. }
  16096. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16097. return err
  16098. }
  16099. iNdEx = postIndex
  16100. case 2:
  16101. if wireType != 2 {
  16102. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  16103. }
  16104. var msglen int
  16105. for shift := uint(0); ; shift += 7 {
  16106. if shift >= 64 {
  16107. return ErrIntOverflowGenerated
  16108. }
  16109. if iNdEx >= l {
  16110. return io.ErrUnexpectedEOF
  16111. }
  16112. b := data[iNdEx]
  16113. iNdEx++
  16114. msglen |= (int(b) & 0x7F) << shift
  16115. if b < 0x80 {
  16116. break
  16117. }
  16118. }
  16119. if msglen < 0 {
  16120. return ErrInvalidLengthGenerated
  16121. }
  16122. postIndex := iNdEx + msglen
  16123. if postIndex > l {
  16124. return io.ErrUnexpectedEOF
  16125. }
  16126. m.Items = append(m.Items, KeyToPath{})
  16127. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  16128. return err
  16129. }
  16130. iNdEx = postIndex
  16131. case 3:
  16132. if wireType != 0 {
  16133. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  16134. }
  16135. var v int32
  16136. for shift := uint(0); ; shift += 7 {
  16137. if shift >= 64 {
  16138. return ErrIntOverflowGenerated
  16139. }
  16140. if iNdEx >= l {
  16141. return io.ErrUnexpectedEOF
  16142. }
  16143. b := data[iNdEx]
  16144. iNdEx++
  16145. v |= (int32(b) & 0x7F) << shift
  16146. if b < 0x80 {
  16147. break
  16148. }
  16149. }
  16150. m.DefaultMode = &v
  16151. case 4:
  16152. if wireType != 0 {
  16153. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  16154. }
  16155. var v int
  16156. for shift := uint(0); ; shift += 7 {
  16157. if shift >= 64 {
  16158. return ErrIntOverflowGenerated
  16159. }
  16160. if iNdEx >= l {
  16161. return io.ErrUnexpectedEOF
  16162. }
  16163. b := data[iNdEx]
  16164. iNdEx++
  16165. v |= (int(b) & 0x7F) << shift
  16166. if b < 0x80 {
  16167. break
  16168. }
  16169. }
  16170. b := bool(v != 0)
  16171. m.Optional = &b
  16172. default:
  16173. iNdEx = preIndex
  16174. skippy, err := skipGenerated(data[iNdEx:])
  16175. if err != nil {
  16176. return err
  16177. }
  16178. if skippy < 0 {
  16179. return ErrInvalidLengthGenerated
  16180. }
  16181. if (iNdEx + skippy) > l {
  16182. return io.ErrUnexpectedEOF
  16183. }
  16184. iNdEx += skippy
  16185. }
  16186. }
  16187. if iNdEx > l {
  16188. return io.ErrUnexpectedEOF
  16189. }
  16190. return nil
  16191. }
  16192. func (m *Container) Unmarshal(data []byte) error {
  16193. l := len(data)
  16194. iNdEx := 0
  16195. for iNdEx < l {
  16196. preIndex := iNdEx
  16197. var wire uint64
  16198. for shift := uint(0); ; shift += 7 {
  16199. if shift >= 64 {
  16200. return ErrIntOverflowGenerated
  16201. }
  16202. if iNdEx >= l {
  16203. return io.ErrUnexpectedEOF
  16204. }
  16205. b := data[iNdEx]
  16206. iNdEx++
  16207. wire |= (uint64(b) & 0x7F) << shift
  16208. if b < 0x80 {
  16209. break
  16210. }
  16211. }
  16212. fieldNum := int32(wire >> 3)
  16213. wireType := int(wire & 0x7)
  16214. if wireType == 4 {
  16215. return fmt.Errorf("proto: Container: wiretype end group for non-group")
  16216. }
  16217. if fieldNum <= 0 {
  16218. return fmt.Errorf("proto: Container: illegal tag %d (wire type %d)", fieldNum, wire)
  16219. }
  16220. switch fieldNum {
  16221. case 1:
  16222. if wireType != 2 {
  16223. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  16224. }
  16225. var stringLen uint64
  16226. for shift := uint(0); ; shift += 7 {
  16227. if shift >= 64 {
  16228. return ErrIntOverflowGenerated
  16229. }
  16230. if iNdEx >= l {
  16231. return io.ErrUnexpectedEOF
  16232. }
  16233. b := data[iNdEx]
  16234. iNdEx++
  16235. stringLen |= (uint64(b) & 0x7F) << shift
  16236. if b < 0x80 {
  16237. break
  16238. }
  16239. }
  16240. intStringLen := int(stringLen)
  16241. if intStringLen < 0 {
  16242. return ErrInvalidLengthGenerated
  16243. }
  16244. postIndex := iNdEx + intStringLen
  16245. if postIndex > l {
  16246. return io.ErrUnexpectedEOF
  16247. }
  16248. m.Name = string(data[iNdEx:postIndex])
  16249. iNdEx = postIndex
  16250. case 2:
  16251. if wireType != 2 {
  16252. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  16253. }
  16254. var stringLen uint64
  16255. for shift := uint(0); ; shift += 7 {
  16256. if shift >= 64 {
  16257. return ErrIntOverflowGenerated
  16258. }
  16259. if iNdEx >= l {
  16260. return io.ErrUnexpectedEOF
  16261. }
  16262. b := data[iNdEx]
  16263. iNdEx++
  16264. stringLen |= (uint64(b) & 0x7F) << shift
  16265. if b < 0x80 {
  16266. break
  16267. }
  16268. }
  16269. intStringLen := int(stringLen)
  16270. if intStringLen < 0 {
  16271. return ErrInvalidLengthGenerated
  16272. }
  16273. postIndex := iNdEx + intStringLen
  16274. if postIndex > l {
  16275. return io.ErrUnexpectedEOF
  16276. }
  16277. m.Image = string(data[iNdEx:postIndex])
  16278. iNdEx = postIndex
  16279. case 3:
  16280. if wireType != 2 {
  16281. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  16282. }
  16283. var stringLen uint64
  16284. for shift := uint(0); ; shift += 7 {
  16285. if shift >= 64 {
  16286. return ErrIntOverflowGenerated
  16287. }
  16288. if iNdEx >= l {
  16289. return io.ErrUnexpectedEOF
  16290. }
  16291. b := data[iNdEx]
  16292. iNdEx++
  16293. stringLen |= (uint64(b) & 0x7F) << shift
  16294. if b < 0x80 {
  16295. break
  16296. }
  16297. }
  16298. intStringLen := int(stringLen)
  16299. if intStringLen < 0 {
  16300. return ErrInvalidLengthGenerated
  16301. }
  16302. postIndex := iNdEx + intStringLen
  16303. if postIndex > l {
  16304. return io.ErrUnexpectedEOF
  16305. }
  16306. m.Command = append(m.Command, string(data[iNdEx:postIndex]))
  16307. iNdEx = postIndex
  16308. case 4:
  16309. if wireType != 2 {
  16310. return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
  16311. }
  16312. var stringLen uint64
  16313. for shift := uint(0); ; shift += 7 {
  16314. if shift >= 64 {
  16315. return ErrIntOverflowGenerated
  16316. }
  16317. if iNdEx >= l {
  16318. return io.ErrUnexpectedEOF
  16319. }
  16320. b := data[iNdEx]
  16321. iNdEx++
  16322. stringLen |= (uint64(b) & 0x7F) << shift
  16323. if b < 0x80 {
  16324. break
  16325. }
  16326. }
  16327. intStringLen := int(stringLen)
  16328. if intStringLen < 0 {
  16329. return ErrInvalidLengthGenerated
  16330. }
  16331. postIndex := iNdEx + intStringLen
  16332. if postIndex > l {
  16333. return io.ErrUnexpectedEOF
  16334. }
  16335. m.Args = append(m.Args, string(data[iNdEx:postIndex]))
  16336. iNdEx = postIndex
  16337. case 5:
  16338. if wireType != 2 {
  16339. return fmt.Errorf("proto: wrong wireType = %d for field WorkingDir", wireType)
  16340. }
  16341. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  16352. if b < 0x80 {
  16353. break
  16354. }
  16355. }
  16356. intStringLen := int(stringLen)
  16357. if intStringLen < 0 {
  16358. return ErrInvalidLengthGenerated
  16359. }
  16360. postIndex := iNdEx + intStringLen
  16361. if postIndex > l {
  16362. return io.ErrUnexpectedEOF
  16363. }
  16364. m.WorkingDir = string(data[iNdEx:postIndex])
  16365. iNdEx = postIndex
  16366. case 6:
  16367. if wireType != 2 {
  16368. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  16369. }
  16370. var msglen int
  16371. for shift := uint(0); ; shift += 7 {
  16372. if shift >= 64 {
  16373. return ErrIntOverflowGenerated
  16374. }
  16375. if iNdEx >= l {
  16376. return io.ErrUnexpectedEOF
  16377. }
  16378. b := data[iNdEx]
  16379. iNdEx++
  16380. msglen |= (int(b) & 0x7F) << shift
  16381. if b < 0x80 {
  16382. break
  16383. }
  16384. }
  16385. if msglen < 0 {
  16386. return ErrInvalidLengthGenerated
  16387. }
  16388. postIndex := iNdEx + msglen
  16389. if postIndex > l {
  16390. return io.ErrUnexpectedEOF
  16391. }
  16392. m.Ports = append(m.Ports, ContainerPort{})
  16393. if err := m.Ports[len(m.Ports)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  16394. return err
  16395. }
  16396. iNdEx = postIndex
  16397. case 7:
  16398. if wireType != 2 {
  16399. return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
  16400. }
  16401. var msglen int
  16402. for shift := uint(0); ; shift += 7 {
  16403. if shift >= 64 {
  16404. return ErrIntOverflowGenerated
  16405. }
  16406. if iNdEx >= l {
  16407. return io.ErrUnexpectedEOF
  16408. }
  16409. b := data[iNdEx]
  16410. iNdEx++
  16411. msglen |= (int(b) & 0x7F) << shift
  16412. if b < 0x80 {
  16413. break
  16414. }
  16415. }
  16416. if msglen < 0 {
  16417. return ErrInvalidLengthGenerated
  16418. }
  16419. postIndex := iNdEx + msglen
  16420. if postIndex > l {
  16421. return io.ErrUnexpectedEOF
  16422. }
  16423. m.Env = append(m.Env, EnvVar{})
  16424. if err := m.Env[len(m.Env)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  16425. return err
  16426. }
  16427. iNdEx = postIndex
  16428. case 8:
  16429. if wireType != 2 {
  16430. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  16431. }
  16432. var msglen int
  16433. for shift := uint(0); ; shift += 7 {
  16434. if shift >= 64 {
  16435. return ErrIntOverflowGenerated
  16436. }
  16437. if iNdEx >= l {
  16438. return io.ErrUnexpectedEOF
  16439. }
  16440. b := data[iNdEx]
  16441. iNdEx++
  16442. msglen |= (int(b) & 0x7F) << shift
  16443. if b < 0x80 {
  16444. break
  16445. }
  16446. }
  16447. if msglen < 0 {
  16448. return ErrInvalidLengthGenerated
  16449. }
  16450. postIndex := iNdEx + msglen
  16451. if postIndex > l {
  16452. return io.ErrUnexpectedEOF
  16453. }
  16454. if err := m.Resources.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16455. return err
  16456. }
  16457. iNdEx = postIndex
  16458. case 9:
  16459. if wireType != 2 {
  16460. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMounts", wireType)
  16461. }
  16462. var msglen int
  16463. for shift := uint(0); ; shift += 7 {
  16464. if shift >= 64 {
  16465. return ErrIntOverflowGenerated
  16466. }
  16467. if iNdEx >= l {
  16468. return io.ErrUnexpectedEOF
  16469. }
  16470. b := data[iNdEx]
  16471. iNdEx++
  16472. msglen |= (int(b) & 0x7F) << shift
  16473. if b < 0x80 {
  16474. break
  16475. }
  16476. }
  16477. if msglen < 0 {
  16478. return ErrInvalidLengthGenerated
  16479. }
  16480. postIndex := iNdEx + msglen
  16481. if postIndex > l {
  16482. return io.ErrUnexpectedEOF
  16483. }
  16484. m.VolumeMounts = append(m.VolumeMounts, VolumeMount{})
  16485. if err := m.VolumeMounts[len(m.VolumeMounts)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  16486. return err
  16487. }
  16488. iNdEx = postIndex
  16489. case 10:
  16490. if wireType != 2 {
  16491. return fmt.Errorf("proto: wrong wireType = %d for field LivenessProbe", 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.LivenessProbe == nil {
  16516. m.LivenessProbe = &Probe{}
  16517. }
  16518. if err := m.LivenessProbe.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16519. return err
  16520. }
  16521. iNdEx = postIndex
  16522. case 11:
  16523. if wireType != 2 {
  16524. return fmt.Errorf("proto: wrong wireType = %d for field ReadinessProbe", 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.ReadinessProbe == nil {
  16549. m.ReadinessProbe = &Probe{}
  16550. }
  16551. if err := m.ReadinessProbe.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16552. return err
  16553. }
  16554. iNdEx = postIndex
  16555. case 12:
  16556. if wireType != 2 {
  16557. return fmt.Errorf("proto: wrong wireType = %d for field Lifecycle", wireType)
  16558. }
  16559. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  16570. if b < 0x80 {
  16571. break
  16572. }
  16573. }
  16574. if msglen < 0 {
  16575. return ErrInvalidLengthGenerated
  16576. }
  16577. postIndex := iNdEx + msglen
  16578. if postIndex > l {
  16579. return io.ErrUnexpectedEOF
  16580. }
  16581. if m.Lifecycle == nil {
  16582. m.Lifecycle = &Lifecycle{}
  16583. }
  16584. if err := m.Lifecycle.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16585. return err
  16586. }
  16587. iNdEx = postIndex
  16588. case 13:
  16589. if wireType != 2 {
  16590. return fmt.Errorf("proto: wrong wireType = %d for field TerminationMessagePath", wireType)
  16591. }
  16592. var stringLen uint64
  16593. for shift := uint(0); ; shift += 7 {
  16594. if shift >= 64 {
  16595. return ErrIntOverflowGenerated
  16596. }
  16597. if iNdEx >= l {
  16598. return io.ErrUnexpectedEOF
  16599. }
  16600. b := data[iNdEx]
  16601. iNdEx++
  16602. stringLen |= (uint64(b) & 0x7F) << shift
  16603. if b < 0x80 {
  16604. break
  16605. }
  16606. }
  16607. intStringLen := int(stringLen)
  16608. if intStringLen < 0 {
  16609. return ErrInvalidLengthGenerated
  16610. }
  16611. postIndex := iNdEx + intStringLen
  16612. if postIndex > l {
  16613. return io.ErrUnexpectedEOF
  16614. }
  16615. m.TerminationMessagePath = string(data[iNdEx:postIndex])
  16616. iNdEx = postIndex
  16617. case 14:
  16618. if wireType != 2 {
  16619. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullPolicy", wireType)
  16620. }
  16621. var stringLen uint64
  16622. for shift := uint(0); ; shift += 7 {
  16623. if shift >= 64 {
  16624. return ErrIntOverflowGenerated
  16625. }
  16626. if iNdEx >= l {
  16627. return io.ErrUnexpectedEOF
  16628. }
  16629. b := data[iNdEx]
  16630. iNdEx++
  16631. stringLen |= (uint64(b) & 0x7F) << shift
  16632. if b < 0x80 {
  16633. break
  16634. }
  16635. }
  16636. intStringLen := int(stringLen)
  16637. if intStringLen < 0 {
  16638. return ErrInvalidLengthGenerated
  16639. }
  16640. postIndex := iNdEx + intStringLen
  16641. if postIndex > l {
  16642. return io.ErrUnexpectedEOF
  16643. }
  16644. m.ImagePullPolicy = PullPolicy(data[iNdEx:postIndex])
  16645. iNdEx = postIndex
  16646. case 15:
  16647. if wireType != 2 {
  16648. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  16649. }
  16650. var msglen int
  16651. for shift := uint(0); ; shift += 7 {
  16652. if shift >= 64 {
  16653. return ErrIntOverflowGenerated
  16654. }
  16655. if iNdEx >= l {
  16656. return io.ErrUnexpectedEOF
  16657. }
  16658. b := data[iNdEx]
  16659. iNdEx++
  16660. msglen |= (int(b) & 0x7F) << shift
  16661. if b < 0x80 {
  16662. break
  16663. }
  16664. }
  16665. if msglen < 0 {
  16666. return ErrInvalidLengthGenerated
  16667. }
  16668. postIndex := iNdEx + msglen
  16669. if postIndex > l {
  16670. return io.ErrUnexpectedEOF
  16671. }
  16672. if m.SecurityContext == nil {
  16673. m.SecurityContext = &SecurityContext{}
  16674. }
  16675. if err := m.SecurityContext.Unmarshal(data[iNdEx:postIndex]); err != nil {
  16676. return err
  16677. }
  16678. iNdEx = postIndex
  16679. case 16:
  16680. if wireType != 0 {
  16681. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  16682. }
  16683. var v int
  16684. for shift := uint(0); ; shift += 7 {
  16685. if shift >= 64 {
  16686. return ErrIntOverflowGenerated
  16687. }
  16688. if iNdEx >= l {
  16689. return io.ErrUnexpectedEOF
  16690. }
  16691. b := data[iNdEx]
  16692. iNdEx++
  16693. v |= (int(b) & 0x7F) << shift
  16694. if b < 0x80 {
  16695. break
  16696. }
  16697. }
  16698. m.Stdin = bool(v != 0)
  16699. case 17:
  16700. if wireType != 0 {
  16701. return fmt.Errorf("proto: wrong wireType = %d for field StdinOnce", wireType)
  16702. }
  16703. var v int
  16704. for shift := uint(0); ; shift += 7 {
  16705. if shift >= 64 {
  16706. return ErrIntOverflowGenerated
  16707. }
  16708. if iNdEx >= l {
  16709. return io.ErrUnexpectedEOF
  16710. }
  16711. b := data[iNdEx]
  16712. iNdEx++
  16713. v |= (int(b) & 0x7F) << shift
  16714. if b < 0x80 {
  16715. break
  16716. }
  16717. }
  16718. m.StdinOnce = bool(v != 0)
  16719. case 18:
  16720. if wireType != 0 {
  16721. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  16722. }
  16723. var v int
  16724. for shift := uint(0); ; shift += 7 {
  16725. if shift >= 64 {
  16726. return ErrIntOverflowGenerated
  16727. }
  16728. if iNdEx >= l {
  16729. return io.ErrUnexpectedEOF
  16730. }
  16731. b := data[iNdEx]
  16732. iNdEx++
  16733. v |= (int(b) & 0x7F) << shift
  16734. if b < 0x80 {
  16735. break
  16736. }
  16737. }
  16738. m.TTY = bool(v != 0)
  16739. case 19:
  16740. if wireType != 2 {
  16741. return fmt.Errorf("proto: wrong wireType = %d for field EnvFrom", wireType)
  16742. }
  16743. var msglen int
  16744. for shift := uint(0); ; shift += 7 {
  16745. if shift >= 64 {
  16746. return ErrIntOverflowGenerated
  16747. }
  16748. if iNdEx >= l {
  16749. return io.ErrUnexpectedEOF
  16750. }
  16751. b := data[iNdEx]
  16752. iNdEx++
  16753. msglen |= (int(b) & 0x7F) << shift
  16754. if b < 0x80 {
  16755. break
  16756. }
  16757. }
  16758. if msglen < 0 {
  16759. return ErrInvalidLengthGenerated
  16760. }
  16761. postIndex := iNdEx + msglen
  16762. if postIndex > l {
  16763. return io.ErrUnexpectedEOF
  16764. }
  16765. m.EnvFrom = append(m.EnvFrom, EnvFromSource{})
  16766. if err := m.EnvFrom[len(m.EnvFrom)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  16767. return err
  16768. }
  16769. iNdEx = postIndex
  16770. case 20:
  16771. if wireType != 2 {
  16772. return fmt.Errorf("proto: wrong wireType = %d for field TerminationMessagePolicy", wireType)
  16773. }
  16774. var stringLen uint64
  16775. for shift := uint(0); ; shift += 7 {
  16776. if shift >= 64 {
  16777. return ErrIntOverflowGenerated
  16778. }
  16779. if iNdEx >= l {
  16780. return io.ErrUnexpectedEOF
  16781. }
  16782. b := data[iNdEx]
  16783. iNdEx++
  16784. stringLen |= (uint64(b) & 0x7F) << shift
  16785. if b < 0x80 {
  16786. break
  16787. }
  16788. }
  16789. intStringLen := int(stringLen)
  16790. if intStringLen < 0 {
  16791. return ErrInvalidLengthGenerated
  16792. }
  16793. postIndex := iNdEx + intStringLen
  16794. if postIndex > l {
  16795. return io.ErrUnexpectedEOF
  16796. }
  16797. m.TerminationMessagePolicy = TerminationMessagePolicy(data[iNdEx:postIndex])
  16798. iNdEx = postIndex
  16799. default:
  16800. iNdEx = preIndex
  16801. skippy, err := skipGenerated(data[iNdEx:])
  16802. if err != nil {
  16803. return err
  16804. }
  16805. if skippy < 0 {
  16806. return ErrInvalidLengthGenerated
  16807. }
  16808. if (iNdEx + skippy) > l {
  16809. return io.ErrUnexpectedEOF
  16810. }
  16811. iNdEx += skippy
  16812. }
  16813. }
  16814. if iNdEx > l {
  16815. return io.ErrUnexpectedEOF
  16816. }
  16817. return nil
  16818. }
  16819. func (m *ContainerImage) Unmarshal(data []byte) error {
  16820. l := len(data)
  16821. iNdEx := 0
  16822. for iNdEx < l {
  16823. preIndex := iNdEx
  16824. var wire uint64
  16825. for shift := uint(0); ; shift += 7 {
  16826. if shift >= 64 {
  16827. return ErrIntOverflowGenerated
  16828. }
  16829. if iNdEx >= l {
  16830. return io.ErrUnexpectedEOF
  16831. }
  16832. b := data[iNdEx]
  16833. iNdEx++
  16834. wire |= (uint64(b) & 0x7F) << shift
  16835. if b < 0x80 {
  16836. break
  16837. }
  16838. }
  16839. fieldNum := int32(wire >> 3)
  16840. wireType := int(wire & 0x7)
  16841. if wireType == 4 {
  16842. return fmt.Errorf("proto: ContainerImage: wiretype end group for non-group")
  16843. }
  16844. if fieldNum <= 0 {
  16845. return fmt.Errorf("proto: ContainerImage: illegal tag %d (wire type %d)", fieldNum, wire)
  16846. }
  16847. switch fieldNum {
  16848. case 1:
  16849. if wireType != 2 {
  16850. return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType)
  16851. }
  16852. var stringLen uint64
  16853. for shift := uint(0); ; shift += 7 {
  16854. if shift >= 64 {
  16855. return ErrIntOverflowGenerated
  16856. }
  16857. if iNdEx >= l {
  16858. return io.ErrUnexpectedEOF
  16859. }
  16860. b := data[iNdEx]
  16861. iNdEx++
  16862. stringLen |= (uint64(b) & 0x7F) << shift
  16863. if b < 0x80 {
  16864. break
  16865. }
  16866. }
  16867. intStringLen := int(stringLen)
  16868. if intStringLen < 0 {
  16869. return ErrInvalidLengthGenerated
  16870. }
  16871. postIndex := iNdEx + intStringLen
  16872. if postIndex > l {
  16873. return io.ErrUnexpectedEOF
  16874. }
  16875. m.Names = append(m.Names, string(data[iNdEx:postIndex]))
  16876. iNdEx = postIndex
  16877. case 2:
  16878. if wireType != 0 {
  16879. return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
  16880. }
  16881. m.SizeBytes = 0
  16882. for shift := uint(0); ; shift += 7 {
  16883. if shift >= 64 {
  16884. return ErrIntOverflowGenerated
  16885. }
  16886. if iNdEx >= l {
  16887. return io.ErrUnexpectedEOF
  16888. }
  16889. b := data[iNdEx]
  16890. iNdEx++
  16891. m.SizeBytes |= (int64(b) & 0x7F) << shift
  16892. if b < 0x80 {
  16893. break
  16894. }
  16895. }
  16896. default:
  16897. iNdEx = preIndex
  16898. skippy, err := skipGenerated(data[iNdEx:])
  16899. if err != nil {
  16900. return err
  16901. }
  16902. if skippy < 0 {
  16903. return ErrInvalidLengthGenerated
  16904. }
  16905. if (iNdEx + skippy) > l {
  16906. return io.ErrUnexpectedEOF
  16907. }
  16908. iNdEx += skippy
  16909. }
  16910. }
  16911. if iNdEx > l {
  16912. return io.ErrUnexpectedEOF
  16913. }
  16914. return nil
  16915. }
  16916. func (m *ContainerPort) Unmarshal(data []byte) error {
  16917. l := len(data)
  16918. iNdEx := 0
  16919. for iNdEx < l {
  16920. preIndex := iNdEx
  16921. var wire uint64
  16922. for shift := uint(0); ; shift += 7 {
  16923. if shift >= 64 {
  16924. return ErrIntOverflowGenerated
  16925. }
  16926. if iNdEx >= l {
  16927. return io.ErrUnexpectedEOF
  16928. }
  16929. b := data[iNdEx]
  16930. iNdEx++
  16931. wire |= (uint64(b) & 0x7F) << shift
  16932. if b < 0x80 {
  16933. break
  16934. }
  16935. }
  16936. fieldNum := int32(wire >> 3)
  16937. wireType := int(wire & 0x7)
  16938. if wireType == 4 {
  16939. return fmt.Errorf("proto: ContainerPort: wiretype end group for non-group")
  16940. }
  16941. if fieldNum <= 0 {
  16942. return fmt.Errorf("proto: ContainerPort: illegal tag %d (wire type %d)", fieldNum, wire)
  16943. }
  16944. switch fieldNum {
  16945. case 1:
  16946. if wireType != 2 {
  16947. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  16948. }
  16949. var stringLen uint64
  16950. for shift := uint(0); ; shift += 7 {
  16951. if shift >= 64 {
  16952. return ErrIntOverflowGenerated
  16953. }
  16954. if iNdEx >= l {
  16955. return io.ErrUnexpectedEOF
  16956. }
  16957. b := data[iNdEx]
  16958. iNdEx++
  16959. stringLen |= (uint64(b) & 0x7F) << shift
  16960. if b < 0x80 {
  16961. break
  16962. }
  16963. }
  16964. intStringLen := int(stringLen)
  16965. if intStringLen < 0 {
  16966. return ErrInvalidLengthGenerated
  16967. }
  16968. postIndex := iNdEx + intStringLen
  16969. if postIndex > l {
  16970. return io.ErrUnexpectedEOF
  16971. }
  16972. m.Name = string(data[iNdEx:postIndex])
  16973. iNdEx = postIndex
  16974. case 2:
  16975. if wireType != 0 {
  16976. return fmt.Errorf("proto: wrong wireType = %d for field HostPort", wireType)
  16977. }
  16978. m.HostPort = 0
  16979. for shift := uint(0); ; shift += 7 {
  16980. if shift >= 64 {
  16981. return ErrIntOverflowGenerated
  16982. }
  16983. if iNdEx >= l {
  16984. return io.ErrUnexpectedEOF
  16985. }
  16986. b := data[iNdEx]
  16987. iNdEx++
  16988. m.HostPort |= (int32(b) & 0x7F) << shift
  16989. if b < 0x80 {
  16990. break
  16991. }
  16992. }
  16993. case 3:
  16994. if wireType != 0 {
  16995. return fmt.Errorf("proto: wrong wireType = %d for field ContainerPort", wireType)
  16996. }
  16997. m.ContainerPort = 0
  16998. for shift := uint(0); ; shift += 7 {
  16999. if shift >= 64 {
  17000. return ErrIntOverflowGenerated
  17001. }
  17002. if iNdEx >= l {
  17003. return io.ErrUnexpectedEOF
  17004. }
  17005. b := data[iNdEx]
  17006. iNdEx++
  17007. m.ContainerPort |= (int32(b) & 0x7F) << shift
  17008. if b < 0x80 {
  17009. break
  17010. }
  17011. }
  17012. case 4:
  17013. if wireType != 2 {
  17014. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  17015. }
  17016. var stringLen uint64
  17017. for shift := uint(0); ; shift += 7 {
  17018. if shift >= 64 {
  17019. return ErrIntOverflowGenerated
  17020. }
  17021. if iNdEx >= l {
  17022. return io.ErrUnexpectedEOF
  17023. }
  17024. b := data[iNdEx]
  17025. iNdEx++
  17026. stringLen |= (uint64(b) & 0x7F) << shift
  17027. if b < 0x80 {
  17028. break
  17029. }
  17030. }
  17031. intStringLen := int(stringLen)
  17032. if intStringLen < 0 {
  17033. return ErrInvalidLengthGenerated
  17034. }
  17035. postIndex := iNdEx + intStringLen
  17036. if postIndex > l {
  17037. return io.ErrUnexpectedEOF
  17038. }
  17039. m.Protocol = Protocol(data[iNdEx:postIndex])
  17040. iNdEx = postIndex
  17041. case 5:
  17042. if wireType != 2 {
  17043. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  17044. }
  17045. var stringLen uint64
  17046. for shift := uint(0); ; shift += 7 {
  17047. if shift >= 64 {
  17048. return ErrIntOverflowGenerated
  17049. }
  17050. if iNdEx >= l {
  17051. return io.ErrUnexpectedEOF
  17052. }
  17053. b := data[iNdEx]
  17054. iNdEx++
  17055. stringLen |= (uint64(b) & 0x7F) << shift
  17056. if b < 0x80 {
  17057. break
  17058. }
  17059. }
  17060. intStringLen := int(stringLen)
  17061. if intStringLen < 0 {
  17062. return ErrInvalidLengthGenerated
  17063. }
  17064. postIndex := iNdEx + intStringLen
  17065. if postIndex > l {
  17066. return io.ErrUnexpectedEOF
  17067. }
  17068. m.HostIP = string(data[iNdEx:postIndex])
  17069. iNdEx = postIndex
  17070. default:
  17071. iNdEx = preIndex
  17072. skippy, err := skipGenerated(data[iNdEx:])
  17073. if err != nil {
  17074. return err
  17075. }
  17076. if skippy < 0 {
  17077. return ErrInvalidLengthGenerated
  17078. }
  17079. if (iNdEx + skippy) > l {
  17080. return io.ErrUnexpectedEOF
  17081. }
  17082. iNdEx += skippy
  17083. }
  17084. }
  17085. if iNdEx > l {
  17086. return io.ErrUnexpectedEOF
  17087. }
  17088. return nil
  17089. }
  17090. func (m *ContainerState) Unmarshal(data []byte) error {
  17091. l := len(data)
  17092. iNdEx := 0
  17093. for iNdEx < l {
  17094. preIndex := iNdEx
  17095. var wire uint64
  17096. for shift := uint(0); ; shift += 7 {
  17097. if shift >= 64 {
  17098. return ErrIntOverflowGenerated
  17099. }
  17100. if iNdEx >= l {
  17101. return io.ErrUnexpectedEOF
  17102. }
  17103. b := data[iNdEx]
  17104. iNdEx++
  17105. wire |= (uint64(b) & 0x7F) << shift
  17106. if b < 0x80 {
  17107. break
  17108. }
  17109. }
  17110. fieldNum := int32(wire >> 3)
  17111. wireType := int(wire & 0x7)
  17112. if wireType == 4 {
  17113. return fmt.Errorf("proto: ContainerState: wiretype end group for non-group")
  17114. }
  17115. if fieldNum <= 0 {
  17116. return fmt.Errorf("proto: ContainerState: illegal tag %d (wire type %d)", fieldNum, wire)
  17117. }
  17118. switch fieldNum {
  17119. case 1:
  17120. if wireType != 2 {
  17121. return fmt.Errorf("proto: wrong wireType = %d for field Waiting", wireType)
  17122. }
  17123. var msglen int
  17124. for shift := uint(0); ; shift += 7 {
  17125. if shift >= 64 {
  17126. return ErrIntOverflowGenerated
  17127. }
  17128. if iNdEx >= l {
  17129. return io.ErrUnexpectedEOF
  17130. }
  17131. b := data[iNdEx]
  17132. iNdEx++
  17133. msglen |= (int(b) & 0x7F) << shift
  17134. if b < 0x80 {
  17135. break
  17136. }
  17137. }
  17138. if msglen < 0 {
  17139. return ErrInvalidLengthGenerated
  17140. }
  17141. postIndex := iNdEx + msglen
  17142. if postIndex > l {
  17143. return io.ErrUnexpectedEOF
  17144. }
  17145. if m.Waiting == nil {
  17146. m.Waiting = &ContainerStateWaiting{}
  17147. }
  17148. if err := m.Waiting.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17149. return err
  17150. }
  17151. iNdEx = postIndex
  17152. case 2:
  17153. if wireType != 2 {
  17154. return fmt.Errorf("proto: wrong wireType = %d for field Running", wireType)
  17155. }
  17156. var msglen int
  17157. for shift := uint(0); ; shift += 7 {
  17158. if shift >= 64 {
  17159. return ErrIntOverflowGenerated
  17160. }
  17161. if iNdEx >= l {
  17162. return io.ErrUnexpectedEOF
  17163. }
  17164. b := data[iNdEx]
  17165. iNdEx++
  17166. msglen |= (int(b) & 0x7F) << shift
  17167. if b < 0x80 {
  17168. break
  17169. }
  17170. }
  17171. if msglen < 0 {
  17172. return ErrInvalidLengthGenerated
  17173. }
  17174. postIndex := iNdEx + msglen
  17175. if postIndex > l {
  17176. return io.ErrUnexpectedEOF
  17177. }
  17178. if m.Running == nil {
  17179. m.Running = &ContainerStateRunning{}
  17180. }
  17181. if err := m.Running.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17182. return err
  17183. }
  17184. iNdEx = postIndex
  17185. case 3:
  17186. if wireType != 2 {
  17187. return fmt.Errorf("proto: wrong wireType = %d for field Terminated", wireType)
  17188. }
  17189. var msglen int
  17190. for shift := uint(0); ; shift += 7 {
  17191. if shift >= 64 {
  17192. return ErrIntOverflowGenerated
  17193. }
  17194. if iNdEx >= l {
  17195. return io.ErrUnexpectedEOF
  17196. }
  17197. b := data[iNdEx]
  17198. iNdEx++
  17199. msglen |= (int(b) & 0x7F) << shift
  17200. if b < 0x80 {
  17201. break
  17202. }
  17203. }
  17204. if msglen < 0 {
  17205. return ErrInvalidLengthGenerated
  17206. }
  17207. postIndex := iNdEx + msglen
  17208. if postIndex > l {
  17209. return io.ErrUnexpectedEOF
  17210. }
  17211. if m.Terminated == nil {
  17212. m.Terminated = &ContainerStateTerminated{}
  17213. }
  17214. if err := m.Terminated.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17215. return err
  17216. }
  17217. iNdEx = postIndex
  17218. default:
  17219. iNdEx = preIndex
  17220. skippy, err := skipGenerated(data[iNdEx:])
  17221. if err != nil {
  17222. return err
  17223. }
  17224. if skippy < 0 {
  17225. return ErrInvalidLengthGenerated
  17226. }
  17227. if (iNdEx + skippy) > l {
  17228. return io.ErrUnexpectedEOF
  17229. }
  17230. iNdEx += skippy
  17231. }
  17232. }
  17233. if iNdEx > l {
  17234. return io.ErrUnexpectedEOF
  17235. }
  17236. return nil
  17237. }
  17238. func (m *ContainerStateRunning) Unmarshal(data []byte) error {
  17239. l := len(data)
  17240. iNdEx := 0
  17241. for iNdEx < l {
  17242. preIndex := iNdEx
  17243. var wire uint64
  17244. for shift := uint(0); ; shift += 7 {
  17245. if shift >= 64 {
  17246. return ErrIntOverflowGenerated
  17247. }
  17248. if iNdEx >= l {
  17249. return io.ErrUnexpectedEOF
  17250. }
  17251. b := data[iNdEx]
  17252. iNdEx++
  17253. wire |= (uint64(b) & 0x7F) << shift
  17254. if b < 0x80 {
  17255. break
  17256. }
  17257. }
  17258. fieldNum := int32(wire >> 3)
  17259. wireType := int(wire & 0x7)
  17260. if wireType == 4 {
  17261. return fmt.Errorf("proto: ContainerStateRunning: wiretype end group for non-group")
  17262. }
  17263. if fieldNum <= 0 {
  17264. return fmt.Errorf("proto: ContainerStateRunning: illegal tag %d (wire type %d)", fieldNum, wire)
  17265. }
  17266. switch fieldNum {
  17267. case 1:
  17268. if wireType != 2 {
  17269. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  17270. }
  17271. var msglen int
  17272. for shift := uint(0); ; shift += 7 {
  17273. if shift >= 64 {
  17274. return ErrIntOverflowGenerated
  17275. }
  17276. if iNdEx >= l {
  17277. return io.ErrUnexpectedEOF
  17278. }
  17279. b := data[iNdEx]
  17280. iNdEx++
  17281. msglen |= (int(b) & 0x7F) << shift
  17282. if b < 0x80 {
  17283. break
  17284. }
  17285. }
  17286. if msglen < 0 {
  17287. return ErrInvalidLengthGenerated
  17288. }
  17289. postIndex := iNdEx + msglen
  17290. if postIndex > l {
  17291. return io.ErrUnexpectedEOF
  17292. }
  17293. if err := m.StartedAt.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17294. return err
  17295. }
  17296. iNdEx = postIndex
  17297. default:
  17298. iNdEx = preIndex
  17299. skippy, err := skipGenerated(data[iNdEx:])
  17300. if err != nil {
  17301. return err
  17302. }
  17303. if skippy < 0 {
  17304. return ErrInvalidLengthGenerated
  17305. }
  17306. if (iNdEx + skippy) > l {
  17307. return io.ErrUnexpectedEOF
  17308. }
  17309. iNdEx += skippy
  17310. }
  17311. }
  17312. if iNdEx > l {
  17313. return io.ErrUnexpectedEOF
  17314. }
  17315. return nil
  17316. }
  17317. func (m *ContainerStateTerminated) Unmarshal(data []byte) error {
  17318. l := len(data)
  17319. iNdEx := 0
  17320. for iNdEx < l {
  17321. preIndex := iNdEx
  17322. var wire uint64
  17323. for shift := uint(0); ; shift += 7 {
  17324. if shift >= 64 {
  17325. return ErrIntOverflowGenerated
  17326. }
  17327. if iNdEx >= l {
  17328. return io.ErrUnexpectedEOF
  17329. }
  17330. b := data[iNdEx]
  17331. iNdEx++
  17332. wire |= (uint64(b) & 0x7F) << shift
  17333. if b < 0x80 {
  17334. break
  17335. }
  17336. }
  17337. fieldNum := int32(wire >> 3)
  17338. wireType := int(wire & 0x7)
  17339. if wireType == 4 {
  17340. return fmt.Errorf("proto: ContainerStateTerminated: wiretype end group for non-group")
  17341. }
  17342. if fieldNum <= 0 {
  17343. return fmt.Errorf("proto: ContainerStateTerminated: illegal tag %d (wire type %d)", fieldNum, wire)
  17344. }
  17345. switch fieldNum {
  17346. case 1:
  17347. if wireType != 0 {
  17348. return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType)
  17349. }
  17350. m.ExitCode = 0
  17351. for shift := uint(0); ; shift += 7 {
  17352. if shift >= 64 {
  17353. return ErrIntOverflowGenerated
  17354. }
  17355. if iNdEx >= l {
  17356. return io.ErrUnexpectedEOF
  17357. }
  17358. b := data[iNdEx]
  17359. iNdEx++
  17360. m.ExitCode |= (int32(b) & 0x7F) << shift
  17361. if b < 0x80 {
  17362. break
  17363. }
  17364. }
  17365. case 2:
  17366. if wireType != 0 {
  17367. return fmt.Errorf("proto: wrong wireType = %d for field Signal", wireType)
  17368. }
  17369. m.Signal = 0
  17370. for shift := uint(0); ; shift += 7 {
  17371. if shift >= 64 {
  17372. return ErrIntOverflowGenerated
  17373. }
  17374. if iNdEx >= l {
  17375. return io.ErrUnexpectedEOF
  17376. }
  17377. b := data[iNdEx]
  17378. iNdEx++
  17379. m.Signal |= (int32(b) & 0x7F) << shift
  17380. if b < 0x80 {
  17381. break
  17382. }
  17383. }
  17384. case 3:
  17385. if wireType != 2 {
  17386. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  17387. }
  17388. var stringLen uint64
  17389. for shift := uint(0); ; shift += 7 {
  17390. if shift >= 64 {
  17391. return ErrIntOverflowGenerated
  17392. }
  17393. if iNdEx >= l {
  17394. return io.ErrUnexpectedEOF
  17395. }
  17396. b := data[iNdEx]
  17397. iNdEx++
  17398. stringLen |= (uint64(b) & 0x7F) << shift
  17399. if b < 0x80 {
  17400. break
  17401. }
  17402. }
  17403. intStringLen := int(stringLen)
  17404. if intStringLen < 0 {
  17405. return ErrInvalidLengthGenerated
  17406. }
  17407. postIndex := iNdEx + intStringLen
  17408. if postIndex > l {
  17409. return io.ErrUnexpectedEOF
  17410. }
  17411. m.Reason = string(data[iNdEx:postIndex])
  17412. iNdEx = postIndex
  17413. case 4:
  17414. if wireType != 2 {
  17415. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  17416. }
  17417. var stringLen uint64
  17418. for shift := uint(0); ; shift += 7 {
  17419. if shift >= 64 {
  17420. return ErrIntOverflowGenerated
  17421. }
  17422. if iNdEx >= l {
  17423. return io.ErrUnexpectedEOF
  17424. }
  17425. b := data[iNdEx]
  17426. iNdEx++
  17427. stringLen |= (uint64(b) & 0x7F) << shift
  17428. if b < 0x80 {
  17429. break
  17430. }
  17431. }
  17432. intStringLen := int(stringLen)
  17433. if intStringLen < 0 {
  17434. return ErrInvalidLengthGenerated
  17435. }
  17436. postIndex := iNdEx + intStringLen
  17437. if postIndex > l {
  17438. return io.ErrUnexpectedEOF
  17439. }
  17440. m.Message = string(data[iNdEx:postIndex])
  17441. iNdEx = postIndex
  17442. case 5:
  17443. if wireType != 2 {
  17444. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  17445. }
  17446. var msglen int
  17447. for shift := uint(0); ; shift += 7 {
  17448. if shift >= 64 {
  17449. return ErrIntOverflowGenerated
  17450. }
  17451. if iNdEx >= l {
  17452. return io.ErrUnexpectedEOF
  17453. }
  17454. b := data[iNdEx]
  17455. iNdEx++
  17456. msglen |= (int(b) & 0x7F) << shift
  17457. if b < 0x80 {
  17458. break
  17459. }
  17460. }
  17461. if msglen < 0 {
  17462. return ErrInvalidLengthGenerated
  17463. }
  17464. postIndex := iNdEx + msglen
  17465. if postIndex > l {
  17466. return io.ErrUnexpectedEOF
  17467. }
  17468. if err := m.StartedAt.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17469. return err
  17470. }
  17471. iNdEx = postIndex
  17472. case 6:
  17473. if wireType != 2 {
  17474. return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType)
  17475. }
  17476. var msglen int
  17477. for shift := uint(0); ; shift += 7 {
  17478. if shift >= 64 {
  17479. return ErrIntOverflowGenerated
  17480. }
  17481. if iNdEx >= l {
  17482. return io.ErrUnexpectedEOF
  17483. }
  17484. b := data[iNdEx]
  17485. iNdEx++
  17486. msglen |= (int(b) & 0x7F) << shift
  17487. if b < 0x80 {
  17488. break
  17489. }
  17490. }
  17491. if msglen < 0 {
  17492. return ErrInvalidLengthGenerated
  17493. }
  17494. postIndex := iNdEx + msglen
  17495. if postIndex > l {
  17496. return io.ErrUnexpectedEOF
  17497. }
  17498. if err := m.FinishedAt.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17499. return err
  17500. }
  17501. iNdEx = postIndex
  17502. case 7:
  17503. if wireType != 2 {
  17504. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  17505. }
  17506. var stringLen uint64
  17507. for shift := uint(0); ; shift += 7 {
  17508. if shift >= 64 {
  17509. return ErrIntOverflowGenerated
  17510. }
  17511. if iNdEx >= l {
  17512. return io.ErrUnexpectedEOF
  17513. }
  17514. b := data[iNdEx]
  17515. iNdEx++
  17516. stringLen |= (uint64(b) & 0x7F) << shift
  17517. if b < 0x80 {
  17518. break
  17519. }
  17520. }
  17521. intStringLen := int(stringLen)
  17522. if intStringLen < 0 {
  17523. return ErrInvalidLengthGenerated
  17524. }
  17525. postIndex := iNdEx + intStringLen
  17526. if postIndex > l {
  17527. return io.ErrUnexpectedEOF
  17528. }
  17529. m.ContainerID = string(data[iNdEx:postIndex])
  17530. iNdEx = postIndex
  17531. default:
  17532. iNdEx = preIndex
  17533. skippy, err := skipGenerated(data[iNdEx:])
  17534. if err != nil {
  17535. return err
  17536. }
  17537. if skippy < 0 {
  17538. return ErrInvalidLengthGenerated
  17539. }
  17540. if (iNdEx + skippy) > l {
  17541. return io.ErrUnexpectedEOF
  17542. }
  17543. iNdEx += skippy
  17544. }
  17545. }
  17546. if iNdEx > l {
  17547. return io.ErrUnexpectedEOF
  17548. }
  17549. return nil
  17550. }
  17551. func (m *ContainerStateWaiting) Unmarshal(data []byte) error {
  17552. l := len(data)
  17553. iNdEx := 0
  17554. for iNdEx < l {
  17555. preIndex := iNdEx
  17556. var wire uint64
  17557. for shift := uint(0); ; shift += 7 {
  17558. if shift >= 64 {
  17559. return ErrIntOverflowGenerated
  17560. }
  17561. if iNdEx >= l {
  17562. return io.ErrUnexpectedEOF
  17563. }
  17564. b := data[iNdEx]
  17565. iNdEx++
  17566. wire |= (uint64(b) & 0x7F) << shift
  17567. if b < 0x80 {
  17568. break
  17569. }
  17570. }
  17571. fieldNum := int32(wire >> 3)
  17572. wireType := int(wire & 0x7)
  17573. if wireType == 4 {
  17574. return fmt.Errorf("proto: ContainerStateWaiting: wiretype end group for non-group")
  17575. }
  17576. if fieldNum <= 0 {
  17577. return fmt.Errorf("proto: ContainerStateWaiting: illegal tag %d (wire type %d)", fieldNum, wire)
  17578. }
  17579. switch fieldNum {
  17580. case 1:
  17581. if wireType != 2 {
  17582. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  17583. }
  17584. var stringLen uint64
  17585. for shift := uint(0); ; shift += 7 {
  17586. if shift >= 64 {
  17587. return ErrIntOverflowGenerated
  17588. }
  17589. if iNdEx >= l {
  17590. return io.ErrUnexpectedEOF
  17591. }
  17592. b := data[iNdEx]
  17593. iNdEx++
  17594. stringLen |= (uint64(b) & 0x7F) << shift
  17595. if b < 0x80 {
  17596. break
  17597. }
  17598. }
  17599. intStringLen := int(stringLen)
  17600. if intStringLen < 0 {
  17601. return ErrInvalidLengthGenerated
  17602. }
  17603. postIndex := iNdEx + intStringLen
  17604. if postIndex > l {
  17605. return io.ErrUnexpectedEOF
  17606. }
  17607. m.Reason = string(data[iNdEx:postIndex])
  17608. iNdEx = postIndex
  17609. case 2:
  17610. if wireType != 2 {
  17611. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  17612. }
  17613. var stringLen uint64
  17614. for shift := uint(0); ; shift += 7 {
  17615. if shift >= 64 {
  17616. return ErrIntOverflowGenerated
  17617. }
  17618. if iNdEx >= l {
  17619. return io.ErrUnexpectedEOF
  17620. }
  17621. b := data[iNdEx]
  17622. iNdEx++
  17623. stringLen |= (uint64(b) & 0x7F) << shift
  17624. if b < 0x80 {
  17625. break
  17626. }
  17627. }
  17628. intStringLen := int(stringLen)
  17629. if intStringLen < 0 {
  17630. return ErrInvalidLengthGenerated
  17631. }
  17632. postIndex := iNdEx + intStringLen
  17633. if postIndex > l {
  17634. return io.ErrUnexpectedEOF
  17635. }
  17636. m.Message = string(data[iNdEx:postIndex])
  17637. iNdEx = postIndex
  17638. default:
  17639. iNdEx = preIndex
  17640. skippy, err := skipGenerated(data[iNdEx:])
  17641. if err != nil {
  17642. return err
  17643. }
  17644. if skippy < 0 {
  17645. return ErrInvalidLengthGenerated
  17646. }
  17647. if (iNdEx + skippy) > l {
  17648. return io.ErrUnexpectedEOF
  17649. }
  17650. iNdEx += skippy
  17651. }
  17652. }
  17653. if iNdEx > l {
  17654. return io.ErrUnexpectedEOF
  17655. }
  17656. return nil
  17657. }
  17658. func (m *ContainerStatus) Unmarshal(data []byte) error {
  17659. l := len(data)
  17660. iNdEx := 0
  17661. for iNdEx < l {
  17662. preIndex := iNdEx
  17663. var wire uint64
  17664. for shift := uint(0); ; shift += 7 {
  17665. if shift >= 64 {
  17666. return ErrIntOverflowGenerated
  17667. }
  17668. if iNdEx >= l {
  17669. return io.ErrUnexpectedEOF
  17670. }
  17671. b := data[iNdEx]
  17672. iNdEx++
  17673. wire |= (uint64(b) & 0x7F) << shift
  17674. if b < 0x80 {
  17675. break
  17676. }
  17677. }
  17678. fieldNum := int32(wire >> 3)
  17679. wireType := int(wire & 0x7)
  17680. if wireType == 4 {
  17681. return fmt.Errorf("proto: ContainerStatus: wiretype end group for non-group")
  17682. }
  17683. if fieldNum <= 0 {
  17684. return fmt.Errorf("proto: ContainerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  17685. }
  17686. switch fieldNum {
  17687. case 1:
  17688. if wireType != 2 {
  17689. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  17690. }
  17691. var stringLen uint64
  17692. for shift := uint(0); ; shift += 7 {
  17693. if shift >= 64 {
  17694. return ErrIntOverflowGenerated
  17695. }
  17696. if iNdEx >= l {
  17697. return io.ErrUnexpectedEOF
  17698. }
  17699. b := data[iNdEx]
  17700. iNdEx++
  17701. stringLen |= (uint64(b) & 0x7F) << shift
  17702. if b < 0x80 {
  17703. break
  17704. }
  17705. }
  17706. intStringLen := int(stringLen)
  17707. if intStringLen < 0 {
  17708. return ErrInvalidLengthGenerated
  17709. }
  17710. postIndex := iNdEx + intStringLen
  17711. if postIndex > l {
  17712. return io.ErrUnexpectedEOF
  17713. }
  17714. m.Name = string(data[iNdEx:postIndex])
  17715. iNdEx = postIndex
  17716. case 2:
  17717. if wireType != 2 {
  17718. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  17719. }
  17720. var msglen int
  17721. for shift := uint(0); ; shift += 7 {
  17722. if shift >= 64 {
  17723. return ErrIntOverflowGenerated
  17724. }
  17725. if iNdEx >= l {
  17726. return io.ErrUnexpectedEOF
  17727. }
  17728. b := data[iNdEx]
  17729. iNdEx++
  17730. msglen |= (int(b) & 0x7F) << shift
  17731. if b < 0x80 {
  17732. break
  17733. }
  17734. }
  17735. if msglen < 0 {
  17736. return ErrInvalidLengthGenerated
  17737. }
  17738. postIndex := iNdEx + msglen
  17739. if postIndex > l {
  17740. return io.ErrUnexpectedEOF
  17741. }
  17742. if err := m.State.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17743. return err
  17744. }
  17745. iNdEx = postIndex
  17746. case 3:
  17747. if wireType != 2 {
  17748. return fmt.Errorf("proto: wrong wireType = %d for field LastTerminationState", wireType)
  17749. }
  17750. var msglen int
  17751. for shift := uint(0); ; shift += 7 {
  17752. if shift >= 64 {
  17753. return ErrIntOverflowGenerated
  17754. }
  17755. if iNdEx >= l {
  17756. return io.ErrUnexpectedEOF
  17757. }
  17758. b := data[iNdEx]
  17759. iNdEx++
  17760. msglen |= (int(b) & 0x7F) << shift
  17761. if b < 0x80 {
  17762. break
  17763. }
  17764. }
  17765. if msglen < 0 {
  17766. return ErrInvalidLengthGenerated
  17767. }
  17768. postIndex := iNdEx + msglen
  17769. if postIndex > l {
  17770. return io.ErrUnexpectedEOF
  17771. }
  17772. if err := m.LastTerminationState.Unmarshal(data[iNdEx:postIndex]); err != nil {
  17773. return err
  17774. }
  17775. iNdEx = postIndex
  17776. case 4:
  17777. if wireType != 0 {
  17778. return fmt.Errorf("proto: wrong wireType = %d for field Ready", wireType)
  17779. }
  17780. var v int
  17781. for shift := uint(0); ; shift += 7 {
  17782. if shift >= 64 {
  17783. return ErrIntOverflowGenerated
  17784. }
  17785. if iNdEx >= l {
  17786. return io.ErrUnexpectedEOF
  17787. }
  17788. b := data[iNdEx]
  17789. iNdEx++
  17790. v |= (int(b) & 0x7F) << shift
  17791. if b < 0x80 {
  17792. break
  17793. }
  17794. }
  17795. m.Ready = bool(v != 0)
  17796. case 5:
  17797. if wireType != 0 {
  17798. return fmt.Errorf("proto: wrong wireType = %d for field RestartCount", wireType)
  17799. }
  17800. m.RestartCount = 0
  17801. for shift := uint(0); ; shift += 7 {
  17802. if shift >= 64 {
  17803. return ErrIntOverflowGenerated
  17804. }
  17805. if iNdEx >= l {
  17806. return io.ErrUnexpectedEOF
  17807. }
  17808. b := data[iNdEx]
  17809. iNdEx++
  17810. m.RestartCount |= (int32(b) & 0x7F) << shift
  17811. if b < 0x80 {
  17812. break
  17813. }
  17814. }
  17815. case 6:
  17816. if wireType != 2 {
  17817. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  17818. }
  17819. var stringLen uint64
  17820. for shift := uint(0); ; shift += 7 {
  17821. if shift >= 64 {
  17822. return ErrIntOverflowGenerated
  17823. }
  17824. if iNdEx >= l {
  17825. return io.ErrUnexpectedEOF
  17826. }
  17827. b := data[iNdEx]
  17828. iNdEx++
  17829. stringLen |= (uint64(b) & 0x7F) << shift
  17830. if b < 0x80 {
  17831. break
  17832. }
  17833. }
  17834. intStringLen := int(stringLen)
  17835. if intStringLen < 0 {
  17836. return ErrInvalidLengthGenerated
  17837. }
  17838. postIndex := iNdEx + intStringLen
  17839. if postIndex > l {
  17840. return io.ErrUnexpectedEOF
  17841. }
  17842. m.Image = string(data[iNdEx:postIndex])
  17843. iNdEx = postIndex
  17844. case 7:
  17845. if wireType != 2 {
  17846. return fmt.Errorf("proto: wrong wireType = %d for field ImageID", wireType)
  17847. }
  17848. var stringLen uint64
  17849. for shift := uint(0); ; shift += 7 {
  17850. if shift >= 64 {
  17851. return ErrIntOverflowGenerated
  17852. }
  17853. if iNdEx >= l {
  17854. return io.ErrUnexpectedEOF
  17855. }
  17856. b := data[iNdEx]
  17857. iNdEx++
  17858. stringLen |= (uint64(b) & 0x7F) << shift
  17859. if b < 0x80 {
  17860. break
  17861. }
  17862. }
  17863. intStringLen := int(stringLen)
  17864. if intStringLen < 0 {
  17865. return ErrInvalidLengthGenerated
  17866. }
  17867. postIndex := iNdEx + intStringLen
  17868. if postIndex > l {
  17869. return io.ErrUnexpectedEOF
  17870. }
  17871. m.ImageID = string(data[iNdEx:postIndex])
  17872. iNdEx = postIndex
  17873. case 8:
  17874. if wireType != 2 {
  17875. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  17876. }
  17877. var stringLen uint64
  17878. for shift := uint(0); ; shift += 7 {
  17879. if shift >= 64 {
  17880. return ErrIntOverflowGenerated
  17881. }
  17882. if iNdEx >= l {
  17883. return io.ErrUnexpectedEOF
  17884. }
  17885. b := data[iNdEx]
  17886. iNdEx++
  17887. stringLen |= (uint64(b) & 0x7F) << shift
  17888. if b < 0x80 {
  17889. break
  17890. }
  17891. }
  17892. intStringLen := int(stringLen)
  17893. if intStringLen < 0 {
  17894. return ErrInvalidLengthGenerated
  17895. }
  17896. postIndex := iNdEx + intStringLen
  17897. if postIndex > l {
  17898. return io.ErrUnexpectedEOF
  17899. }
  17900. m.ContainerID = string(data[iNdEx:postIndex])
  17901. iNdEx = postIndex
  17902. default:
  17903. iNdEx = preIndex
  17904. skippy, err := skipGenerated(data[iNdEx:])
  17905. if err != nil {
  17906. return err
  17907. }
  17908. if skippy < 0 {
  17909. return ErrInvalidLengthGenerated
  17910. }
  17911. if (iNdEx + skippy) > l {
  17912. return io.ErrUnexpectedEOF
  17913. }
  17914. iNdEx += skippy
  17915. }
  17916. }
  17917. if iNdEx > l {
  17918. return io.ErrUnexpectedEOF
  17919. }
  17920. return nil
  17921. }
  17922. func (m *DaemonEndpoint) Unmarshal(data []byte) error {
  17923. l := len(data)
  17924. iNdEx := 0
  17925. for iNdEx < l {
  17926. preIndex := iNdEx
  17927. var wire uint64
  17928. for shift := uint(0); ; shift += 7 {
  17929. if shift >= 64 {
  17930. return ErrIntOverflowGenerated
  17931. }
  17932. if iNdEx >= l {
  17933. return io.ErrUnexpectedEOF
  17934. }
  17935. b := data[iNdEx]
  17936. iNdEx++
  17937. wire |= (uint64(b) & 0x7F) << shift
  17938. if b < 0x80 {
  17939. break
  17940. }
  17941. }
  17942. fieldNum := int32(wire >> 3)
  17943. wireType := int(wire & 0x7)
  17944. if wireType == 4 {
  17945. return fmt.Errorf("proto: DaemonEndpoint: wiretype end group for non-group")
  17946. }
  17947. if fieldNum <= 0 {
  17948. return fmt.Errorf("proto: DaemonEndpoint: illegal tag %d (wire type %d)", fieldNum, wire)
  17949. }
  17950. switch fieldNum {
  17951. case 1:
  17952. if wireType != 0 {
  17953. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  17954. }
  17955. m.Port = 0
  17956. for shift := uint(0); ; shift += 7 {
  17957. if shift >= 64 {
  17958. return ErrIntOverflowGenerated
  17959. }
  17960. if iNdEx >= l {
  17961. return io.ErrUnexpectedEOF
  17962. }
  17963. b := data[iNdEx]
  17964. iNdEx++
  17965. m.Port |= (int32(b) & 0x7F) << shift
  17966. if b < 0x80 {
  17967. break
  17968. }
  17969. }
  17970. default:
  17971. iNdEx = preIndex
  17972. skippy, err := skipGenerated(data[iNdEx:])
  17973. if err != nil {
  17974. return err
  17975. }
  17976. if skippy < 0 {
  17977. return ErrInvalidLengthGenerated
  17978. }
  17979. if (iNdEx + skippy) > l {
  17980. return io.ErrUnexpectedEOF
  17981. }
  17982. iNdEx += skippy
  17983. }
  17984. }
  17985. if iNdEx > l {
  17986. return io.ErrUnexpectedEOF
  17987. }
  17988. return nil
  17989. }
  17990. func (m *DeleteOptions) Unmarshal(data []byte) error {
  17991. l := len(data)
  17992. iNdEx := 0
  17993. for iNdEx < l {
  17994. preIndex := iNdEx
  17995. var wire uint64
  17996. for shift := uint(0); ; shift += 7 {
  17997. if shift >= 64 {
  17998. return ErrIntOverflowGenerated
  17999. }
  18000. if iNdEx >= l {
  18001. return io.ErrUnexpectedEOF
  18002. }
  18003. b := data[iNdEx]
  18004. iNdEx++
  18005. wire |= (uint64(b) & 0x7F) << shift
  18006. if b < 0x80 {
  18007. break
  18008. }
  18009. }
  18010. fieldNum := int32(wire >> 3)
  18011. wireType := int(wire & 0x7)
  18012. if wireType == 4 {
  18013. return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group")
  18014. }
  18015. if fieldNum <= 0 {
  18016. return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  18017. }
  18018. switch fieldNum {
  18019. case 1:
  18020. if wireType != 0 {
  18021. return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType)
  18022. }
  18023. var v int64
  18024. for shift := uint(0); ; shift += 7 {
  18025. if shift >= 64 {
  18026. return ErrIntOverflowGenerated
  18027. }
  18028. if iNdEx >= l {
  18029. return io.ErrUnexpectedEOF
  18030. }
  18031. b := data[iNdEx]
  18032. iNdEx++
  18033. v |= (int64(b) & 0x7F) << shift
  18034. if b < 0x80 {
  18035. break
  18036. }
  18037. }
  18038. m.GracePeriodSeconds = &v
  18039. case 2:
  18040. if wireType != 2 {
  18041. return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType)
  18042. }
  18043. var msglen int
  18044. for shift := uint(0); ; shift += 7 {
  18045. if shift >= 64 {
  18046. return ErrIntOverflowGenerated
  18047. }
  18048. if iNdEx >= l {
  18049. return io.ErrUnexpectedEOF
  18050. }
  18051. b := data[iNdEx]
  18052. iNdEx++
  18053. msglen |= (int(b) & 0x7F) << shift
  18054. if b < 0x80 {
  18055. break
  18056. }
  18057. }
  18058. if msglen < 0 {
  18059. return ErrInvalidLengthGenerated
  18060. }
  18061. postIndex := iNdEx + msglen
  18062. if postIndex > l {
  18063. return io.ErrUnexpectedEOF
  18064. }
  18065. if m.Preconditions == nil {
  18066. m.Preconditions = &Preconditions{}
  18067. }
  18068. if err := m.Preconditions.Unmarshal(data[iNdEx:postIndex]); err != nil {
  18069. return err
  18070. }
  18071. iNdEx = postIndex
  18072. case 3:
  18073. if wireType != 0 {
  18074. return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType)
  18075. }
  18076. var v int
  18077. for shift := uint(0); ; shift += 7 {
  18078. if shift >= 64 {
  18079. return ErrIntOverflowGenerated
  18080. }
  18081. if iNdEx >= l {
  18082. return io.ErrUnexpectedEOF
  18083. }
  18084. b := data[iNdEx]
  18085. iNdEx++
  18086. v |= (int(b) & 0x7F) << shift
  18087. if b < 0x80 {
  18088. break
  18089. }
  18090. }
  18091. b := bool(v != 0)
  18092. m.OrphanDependents = &b
  18093. case 4:
  18094. if wireType != 2 {
  18095. return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType)
  18096. }
  18097. var stringLen uint64
  18098. for shift := uint(0); ; shift += 7 {
  18099. if shift >= 64 {
  18100. return ErrIntOverflowGenerated
  18101. }
  18102. if iNdEx >= l {
  18103. return io.ErrUnexpectedEOF
  18104. }
  18105. b := data[iNdEx]
  18106. iNdEx++
  18107. stringLen |= (uint64(b) & 0x7F) << shift
  18108. if b < 0x80 {
  18109. break
  18110. }
  18111. }
  18112. intStringLen := int(stringLen)
  18113. if intStringLen < 0 {
  18114. return ErrInvalidLengthGenerated
  18115. }
  18116. postIndex := iNdEx + intStringLen
  18117. if postIndex > l {
  18118. return io.ErrUnexpectedEOF
  18119. }
  18120. s := DeletionPropagation(data[iNdEx:postIndex])
  18121. m.PropagationPolicy = &s
  18122. iNdEx = postIndex
  18123. default:
  18124. iNdEx = preIndex
  18125. skippy, err := skipGenerated(data[iNdEx:])
  18126. if err != nil {
  18127. return err
  18128. }
  18129. if skippy < 0 {
  18130. return ErrInvalidLengthGenerated
  18131. }
  18132. if (iNdEx + skippy) > l {
  18133. return io.ErrUnexpectedEOF
  18134. }
  18135. iNdEx += skippy
  18136. }
  18137. }
  18138. if iNdEx > l {
  18139. return io.ErrUnexpectedEOF
  18140. }
  18141. return nil
  18142. }
  18143. func (m *DownwardAPIProjection) Unmarshal(data []byte) error {
  18144. l := len(data)
  18145. iNdEx := 0
  18146. for iNdEx < l {
  18147. preIndex := iNdEx
  18148. var wire uint64
  18149. for shift := uint(0); ; shift += 7 {
  18150. if shift >= 64 {
  18151. return ErrIntOverflowGenerated
  18152. }
  18153. if iNdEx >= l {
  18154. return io.ErrUnexpectedEOF
  18155. }
  18156. b := data[iNdEx]
  18157. iNdEx++
  18158. wire |= (uint64(b) & 0x7F) << shift
  18159. if b < 0x80 {
  18160. break
  18161. }
  18162. }
  18163. fieldNum := int32(wire >> 3)
  18164. wireType := int(wire & 0x7)
  18165. if wireType == 4 {
  18166. return fmt.Errorf("proto: DownwardAPIProjection: wiretype end group for non-group")
  18167. }
  18168. if fieldNum <= 0 {
  18169. return fmt.Errorf("proto: DownwardAPIProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  18170. }
  18171. switch fieldNum {
  18172. case 1:
  18173. if wireType != 2 {
  18174. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  18175. }
  18176. var msglen int
  18177. for shift := uint(0); ; shift += 7 {
  18178. if shift >= 64 {
  18179. return ErrIntOverflowGenerated
  18180. }
  18181. if iNdEx >= l {
  18182. return io.ErrUnexpectedEOF
  18183. }
  18184. b := data[iNdEx]
  18185. iNdEx++
  18186. msglen |= (int(b) & 0x7F) << shift
  18187. if b < 0x80 {
  18188. break
  18189. }
  18190. }
  18191. if msglen < 0 {
  18192. return ErrInvalidLengthGenerated
  18193. }
  18194. postIndex := iNdEx + msglen
  18195. if postIndex > l {
  18196. return io.ErrUnexpectedEOF
  18197. }
  18198. m.Items = append(m.Items, DownwardAPIVolumeFile{})
  18199. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  18200. return err
  18201. }
  18202. iNdEx = postIndex
  18203. default:
  18204. iNdEx = preIndex
  18205. skippy, err := skipGenerated(data[iNdEx:])
  18206. if err != nil {
  18207. return err
  18208. }
  18209. if skippy < 0 {
  18210. return ErrInvalidLengthGenerated
  18211. }
  18212. if (iNdEx + skippy) > l {
  18213. return io.ErrUnexpectedEOF
  18214. }
  18215. iNdEx += skippy
  18216. }
  18217. }
  18218. if iNdEx > l {
  18219. return io.ErrUnexpectedEOF
  18220. }
  18221. return nil
  18222. }
  18223. func (m *DownwardAPIVolumeFile) Unmarshal(data []byte) error {
  18224. l := len(data)
  18225. iNdEx := 0
  18226. for iNdEx < l {
  18227. preIndex := iNdEx
  18228. var wire uint64
  18229. for shift := uint(0); ; shift += 7 {
  18230. if shift >= 64 {
  18231. return ErrIntOverflowGenerated
  18232. }
  18233. if iNdEx >= l {
  18234. return io.ErrUnexpectedEOF
  18235. }
  18236. b := data[iNdEx]
  18237. iNdEx++
  18238. wire |= (uint64(b) & 0x7F) << shift
  18239. if b < 0x80 {
  18240. break
  18241. }
  18242. }
  18243. fieldNum := int32(wire >> 3)
  18244. wireType := int(wire & 0x7)
  18245. if wireType == 4 {
  18246. return fmt.Errorf("proto: DownwardAPIVolumeFile: wiretype end group for non-group")
  18247. }
  18248. if fieldNum <= 0 {
  18249. return fmt.Errorf("proto: DownwardAPIVolumeFile: illegal tag %d (wire type %d)", fieldNum, wire)
  18250. }
  18251. switch fieldNum {
  18252. case 1:
  18253. if wireType != 2 {
  18254. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  18255. }
  18256. var stringLen uint64
  18257. for shift := uint(0); ; shift += 7 {
  18258. if shift >= 64 {
  18259. return ErrIntOverflowGenerated
  18260. }
  18261. if iNdEx >= l {
  18262. return io.ErrUnexpectedEOF
  18263. }
  18264. b := data[iNdEx]
  18265. iNdEx++
  18266. stringLen |= (uint64(b) & 0x7F) << shift
  18267. if b < 0x80 {
  18268. break
  18269. }
  18270. }
  18271. intStringLen := int(stringLen)
  18272. if intStringLen < 0 {
  18273. return ErrInvalidLengthGenerated
  18274. }
  18275. postIndex := iNdEx + intStringLen
  18276. if postIndex > l {
  18277. return io.ErrUnexpectedEOF
  18278. }
  18279. m.Path = string(data[iNdEx:postIndex])
  18280. iNdEx = postIndex
  18281. case 2:
  18282. if wireType != 2 {
  18283. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  18284. }
  18285. var msglen int
  18286. for shift := uint(0); ; shift += 7 {
  18287. if shift >= 64 {
  18288. return ErrIntOverflowGenerated
  18289. }
  18290. if iNdEx >= l {
  18291. return io.ErrUnexpectedEOF
  18292. }
  18293. b := data[iNdEx]
  18294. iNdEx++
  18295. msglen |= (int(b) & 0x7F) << shift
  18296. if b < 0x80 {
  18297. break
  18298. }
  18299. }
  18300. if msglen < 0 {
  18301. return ErrInvalidLengthGenerated
  18302. }
  18303. postIndex := iNdEx + msglen
  18304. if postIndex > l {
  18305. return io.ErrUnexpectedEOF
  18306. }
  18307. if m.FieldRef == nil {
  18308. m.FieldRef = &ObjectFieldSelector{}
  18309. }
  18310. if err := m.FieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  18311. return err
  18312. }
  18313. iNdEx = postIndex
  18314. case 3:
  18315. if wireType != 2 {
  18316. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  18317. }
  18318. var msglen int
  18319. for shift := uint(0); ; shift += 7 {
  18320. if shift >= 64 {
  18321. return ErrIntOverflowGenerated
  18322. }
  18323. if iNdEx >= l {
  18324. return io.ErrUnexpectedEOF
  18325. }
  18326. b := data[iNdEx]
  18327. iNdEx++
  18328. msglen |= (int(b) & 0x7F) << shift
  18329. if b < 0x80 {
  18330. break
  18331. }
  18332. }
  18333. if msglen < 0 {
  18334. return ErrInvalidLengthGenerated
  18335. }
  18336. postIndex := iNdEx + msglen
  18337. if postIndex > l {
  18338. return io.ErrUnexpectedEOF
  18339. }
  18340. if m.ResourceFieldRef == nil {
  18341. m.ResourceFieldRef = &ResourceFieldSelector{}
  18342. }
  18343. if err := m.ResourceFieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  18344. return err
  18345. }
  18346. iNdEx = postIndex
  18347. case 4:
  18348. if wireType != 0 {
  18349. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  18350. }
  18351. var v int32
  18352. for shift := uint(0); ; shift += 7 {
  18353. if shift >= 64 {
  18354. return ErrIntOverflowGenerated
  18355. }
  18356. if iNdEx >= l {
  18357. return io.ErrUnexpectedEOF
  18358. }
  18359. b := data[iNdEx]
  18360. iNdEx++
  18361. v |= (int32(b) & 0x7F) << shift
  18362. if b < 0x80 {
  18363. break
  18364. }
  18365. }
  18366. m.Mode = &v
  18367. default:
  18368. iNdEx = preIndex
  18369. skippy, err := skipGenerated(data[iNdEx:])
  18370. if err != nil {
  18371. return err
  18372. }
  18373. if skippy < 0 {
  18374. return ErrInvalidLengthGenerated
  18375. }
  18376. if (iNdEx + skippy) > l {
  18377. return io.ErrUnexpectedEOF
  18378. }
  18379. iNdEx += skippy
  18380. }
  18381. }
  18382. if iNdEx > l {
  18383. return io.ErrUnexpectedEOF
  18384. }
  18385. return nil
  18386. }
  18387. func (m *DownwardAPIVolumeSource) Unmarshal(data []byte) error {
  18388. l := len(data)
  18389. iNdEx := 0
  18390. for iNdEx < l {
  18391. preIndex := iNdEx
  18392. var wire uint64
  18393. for shift := uint(0); ; shift += 7 {
  18394. if shift >= 64 {
  18395. return ErrIntOverflowGenerated
  18396. }
  18397. if iNdEx >= l {
  18398. return io.ErrUnexpectedEOF
  18399. }
  18400. b := data[iNdEx]
  18401. iNdEx++
  18402. wire |= (uint64(b) & 0x7F) << shift
  18403. if b < 0x80 {
  18404. break
  18405. }
  18406. }
  18407. fieldNum := int32(wire >> 3)
  18408. wireType := int(wire & 0x7)
  18409. if wireType == 4 {
  18410. return fmt.Errorf("proto: DownwardAPIVolumeSource: wiretype end group for non-group")
  18411. }
  18412. if fieldNum <= 0 {
  18413. return fmt.Errorf("proto: DownwardAPIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18414. }
  18415. switch fieldNum {
  18416. case 1:
  18417. if wireType != 2 {
  18418. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  18419. }
  18420. var msglen int
  18421. for shift := uint(0); ; shift += 7 {
  18422. if shift >= 64 {
  18423. return ErrIntOverflowGenerated
  18424. }
  18425. if iNdEx >= l {
  18426. return io.ErrUnexpectedEOF
  18427. }
  18428. b := data[iNdEx]
  18429. iNdEx++
  18430. msglen |= (int(b) & 0x7F) << shift
  18431. if b < 0x80 {
  18432. break
  18433. }
  18434. }
  18435. if msglen < 0 {
  18436. return ErrInvalidLengthGenerated
  18437. }
  18438. postIndex := iNdEx + msglen
  18439. if postIndex > l {
  18440. return io.ErrUnexpectedEOF
  18441. }
  18442. m.Items = append(m.Items, DownwardAPIVolumeFile{})
  18443. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  18444. return err
  18445. }
  18446. iNdEx = postIndex
  18447. case 2:
  18448. if wireType != 0 {
  18449. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  18450. }
  18451. var v int32
  18452. for shift := uint(0); ; shift += 7 {
  18453. if shift >= 64 {
  18454. return ErrIntOverflowGenerated
  18455. }
  18456. if iNdEx >= l {
  18457. return io.ErrUnexpectedEOF
  18458. }
  18459. b := data[iNdEx]
  18460. iNdEx++
  18461. v |= (int32(b) & 0x7F) << shift
  18462. if b < 0x80 {
  18463. break
  18464. }
  18465. }
  18466. m.DefaultMode = &v
  18467. default:
  18468. iNdEx = preIndex
  18469. skippy, err := skipGenerated(data[iNdEx:])
  18470. if err != nil {
  18471. return err
  18472. }
  18473. if skippy < 0 {
  18474. return ErrInvalidLengthGenerated
  18475. }
  18476. if (iNdEx + skippy) > l {
  18477. return io.ErrUnexpectedEOF
  18478. }
  18479. iNdEx += skippy
  18480. }
  18481. }
  18482. if iNdEx > l {
  18483. return io.ErrUnexpectedEOF
  18484. }
  18485. return nil
  18486. }
  18487. func (m *EmptyDirVolumeSource) Unmarshal(data []byte) error {
  18488. l := len(data)
  18489. iNdEx := 0
  18490. for iNdEx < l {
  18491. preIndex := iNdEx
  18492. var wire uint64
  18493. for shift := uint(0); ; shift += 7 {
  18494. if shift >= 64 {
  18495. return ErrIntOverflowGenerated
  18496. }
  18497. if iNdEx >= l {
  18498. return io.ErrUnexpectedEOF
  18499. }
  18500. b := data[iNdEx]
  18501. iNdEx++
  18502. wire |= (uint64(b) & 0x7F) << shift
  18503. if b < 0x80 {
  18504. break
  18505. }
  18506. }
  18507. fieldNum := int32(wire >> 3)
  18508. wireType := int(wire & 0x7)
  18509. if wireType == 4 {
  18510. return fmt.Errorf("proto: EmptyDirVolumeSource: wiretype end group for non-group")
  18511. }
  18512. if fieldNum <= 0 {
  18513. return fmt.Errorf("proto: EmptyDirVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18514. }
  18515. switch fieldNum {
  18516. case 1:
  18517. if wireType != 2 {
  18518. return fmt.Errorf("proto: wrong wireType = %d for field Medium", wireType)
  18519. }
  18520. var stringLen uint64
  18521. for shift := uint(0); ; shift += 7 {
  18522. if shift >= 64 {
  18523. return ErrIntOverflowGenerated
  18524. }
  18525. if iNdEx >= l {
  18526. return io.ErrUnexpectedEOF
  18527. }
  18528. b := data[iNdEx]
  18529. iNdEx++
  18530. stringLen |= (uint64(b) & 0x7F) << shift
  18531. if b < 0x80 {
  18532. break
  18533. }
  18534. }
  18535. intStringLen := int(stringLen)
  18536. if intStringLen < 0 {
  18537. return ErrInvalidLengthGenerated
  18538. }
  18539. postIndex := iNdEx + intStringLen
  18540. if postIndex > l {
  18541. return io.ErrUnexpectedEOF
  18542. }
  18543. m.Medium = StorageMedium(data[iNdEx:postIndex])
  18544. iNdEx = postIndex
  18545. default:
  18546. iNdEx = preIndex
  18547. skippy, err := skipGenerated(data[iNdEx:])
  18548. if err != nil {
  18549. return err
  18550. }
  18551. if skippy < 0 {
  18552. return ErrInvalidLengthGenerated
  18553. }
  18554. if (iNdEx + skippy) > l {
  18555. return io.ErrUnexpectedEOF
  18556. }
  18557. iNdEx += skippy
  18558. }
  18559. }
  18560. if iNdEx > l {
  18561. return io.ErrUnexpectedEOF
  18562. }
  18563. return nil
  18564. }
  18565. func (m *EndpointAddress) Unmarshal(data []byte) error {
  18566. l := len(data)
  18567. iNdEx := 0
  18568. for iNdEx < l {
  18569. preIndex := iNdEx
  18570. var wire uint64
  18571. for shift := uint(0); ; shift += 7 {
  18572. if shift >= 64 {
  18573. return ErrIntOverflowGenerated
  18574. }
  18575. if iNdEx >= l {
  18576. return io.ErrUnexpectedEOF
  18577. }
  18578. b := data[iNdEx]
  18579. iNdEx++
  18580. wire |= (uint64(b) & 0x7F) << shift
  18581. if b < 0x80 {
  18582. break
  18583. }
  18584. }
  18585. fieldNum := int32(wire >> 3)
  18586. wireType := int(wire & 0x7)
  18587. if wireType == 4 {
  18588. return fmt.Errorf("proto: EndpointAddress: wiretype end group for non-group")
  18589. }
  18590. if fieldNum <= 0 {
  18591. return fmt.Errorf("proto: EndpointAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  18592. }
  18593. switch fieldNum {
  18594. case 1:
  18595. if wireType != 2 {
  18596. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  18597. }
  18598. var stringLen uint64
  18599. for shift := uint(0); ; shift += 7 {
  18600. if shift >= 64 {
  18601. return ErrIntOverflowGenerated
  18602. }
  18603. if iNdEx >= l {
  18604. return io.ErrUnexpectedEOF
  18605. }
  18606. b := data[iNdEx]
  18607. iNdEx++
  18608. stringLen |= (uint64(b) & 0x7F) << shift
  18609. if b < 0x80 {
  18610. break
  18611. }
  18612. }
  18613. intStringLen := int(stringLen)
  18614. if intStringLen < 0 {
  18615. return ErrInvalidLengthGenerated
  18616. }
  18617. postIndex := iNdEx + intStringLen
  18618. if postIndex > l {
  18619. return io.ErrUnexpectedEOF
  18620. }
  18621. m.IP = string(data[iNdEx:postIndex])
  18622. iNdEx = postIndex
  18623. case 2:
  18624. if wireType != 2 {
  18625. return fmt.Errorf("proto: wrong wireType = %d for field TargetRef", wireType)
  18626. }
  18627. var msglen int
  18628. for shift := uint(0); ; shift += 7 {
  18629. if shift >= 64 {
  18630. return ErrIntOverflowGenerated
  18631. }
  18632. if iNdEx >= l {
  18633. return io.ErrUnexpectedEOF
  18634. }
  18635. b := data[iNdEx]
  18636. iNdEx++
  18637. msglen |= (int(b) & 0x7F) << shift
  18638. if b < 0x80 {
  18639. break
  18640. }
  18641. }
  18642. if msglen < 0 {
  18643. return ErrInvalidLengthGenerated
  18644. }
  18645. postIndex := iNdEx + msglen
  18646. if postIndex > l {
  18647. return io.ErrUnexpectedEOF
  18648. }
  18649. if m.TargetRef == nil {
  18650. m.TargetRef = &ObjectReference{}
  18651. }
  18652. if err := m.TargetRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  18653. return err
  18654. }
  18655. iNdEx = postIndex
  18656. case 3:
  18657. if wireType != 2 {
  18658. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  18659. }
  18660. var stringLen uint64
  18661. for shift := uint(0); ; shift += 7 {
  18662. if shift >= 64 {
  18663. return ErrIntOverflowGenerated
  18664. }
  18665. if iNdEx >= l {
  18666. return io.ErrUnexpectedEOF
  18667. }
  18668. b := data[iNdEx]
  18669. iNdEx++
  18670. stringLen |= (uint64(b) & 0x7F) << shift
  18671. if b < 0x80 {
  18672. break
  18673. }
  18674. }
  18675. intStringLen := int(stringLen)
  18676. if intStringLen < 0 {
  18677. return ErrInvalidLengthGenerated
  18678. }
  18679. postIndex := iNdEx + intStringLen
  18680. if postIndex > l {
  18681. return io.ErrUnexpectedEOF
  18682. }
  18683. m.Hostname = string(data[iNdEx:postIndex])
  18684. iNdEx = postIndex
  18685. case 4:
  18686. if wireType != 2 {
  18687. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  18688. }
  18689. var stringLen uint64
  18690. for shift := uint(0); ; shift += 7 {
  18691. if shift >= 64 {
  18692. return ErrIntOverflowGenerated
  18693. }
  18694. if iNdEx >= l {
  18695. return io.ErrUnexpectedEOF
  18696. }
  18697. b := data[iNdEx]
  18698. iNdEx++
  18699. stringLen |= (uint64(b) & 0x7F) << shift
  18700. if b < 0x80 {
  18701. break
  18702. }
  18703. }
  18704. intStringLen := int(stringLen)
  18705. if intStringLen < 0 {
  18706. return ErrInvalidLengthGenerated
  18707. }
  18708. postIndex := iNdEx + intStringLen
  18709. if postIndex > l {
  18710. return io.ErrUnexpectedEOF
  18711. }
  18712. s := string(data[iNdEx:postIndex])
  18713. m.NodeName = &s
  18714. iNdEx = postIndex
  18715. default:
  18716. iNdEx = preIndex
  18717. skippy, err := skipGenerated(data[iNdEx:])
  18718. if err != nil {
  18719. return err
  18720. }
  18721. if skippy < 0 {
  18722. return ErrInvalidLengthGenerated
  18723. }
  18724. if (iNdEx + skippy) > l {
  18725. return io.ErrUnexpectedEOF
  18726. }
  18727. iNdEx += skippy
  18728. }
  18729. }
  18730. if iNdEx > l {
  18731. return io.ErrUnexpectedEOF
  18732. }
  18733. return nil
  18734. }
  18735. func (m *EndpointPort) Unmarshal(data []byte) error {
  18736. l := len(data)
  18737. iNdEx := 0
  18738. for iNdEx < l {
  18739. preIndex := iNdEx
  18740. var wire uint64
  18741. for shift := uint(0); ; shift += 7 {
  18742. if shift >= 64 {
  18743. return ErrIntOverflowGenerated
  18744. }
  18745. if iNdEx >= l {
  18746. return io.ErrUnexpectedEOF
  18747. }
  18748. b := data[iNdEx]
  18749. iNdEx++
  18750. wire |= (uint64(b) & 0x7F) << shift
  18751. if b < 0x80 {
  18752. break
  18753. }
  18754. }
  18755. fieldNum := int32(wire >> 3)
  18756. wireType := int(wire & 0x7)
  18757. if wireType == 4 {
  18758. return fmt.Errorf("proto: EndpointPort: wiretype end group for non-group")
  18759. }
  18760. if fieldNum <= 0 {
  18761. return fmt.Errorf("proto: EndpointPort: illegal tag %d (wire type %d)", fieldNum, wire)
  18762. }
  18763. switch fieldNum {
  18764. case 1:
  18765. if wireType != 2 {
  18766. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  18767. }
  18768. var stringLen uint64
  18769. for shift := uint(0); ; shift += 7 {
  18770. if shift >= 64 {
  18771. return ErrIntOverflowGenerated
  18772. }
  18773. if iNdEx >= l {
  18774. return io.ErrUnexpectedEOF
  18775. }
  18776. b := data[iNdEx]
  18777. iNdEx++
  18778. stringLen |= (uint64(b) & 0x7F) << shift
  18779. if b < 0x80 {
  18780. break
  18781. }
  18782. }
  18783. intStringLen := int(stringLen)
  18784. if intStringLen < 0 {
  18785. return ErrInvalidLengthGenerated
  18786. }
  18787. postIndex := iNdEx + intStringLen
  18788. if postIndex > l {
  18789. return io.ErrUnexpectedEOF
  18790. }
  18791. m.Name = string(data[iNdEx:postIndex])
  18792. iNdEx = postIndex
  18793. case 2:
  18794. if wireType != 0 {
  18795. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  18796. }
  18797. m.Port = 0
  18798. for shift := uint(0); ; shift += 7 {
  18799. if shift >= 64 {
  18800. return ErrIntOverflowGenerated
  18801. }
  18802. if iNdEx >= l {
  18803. return io.ErrUnexpectedEOF
  18804. }
  18805. b := data[iNdEx]
  18806. iNdEx++
  18807. m.Port |= (int32(b) & 0x7F) << shift
  18808. if b < 0x80 {
  18809. break
  18810. }
  18811. }
  18812. case 3:
  18813. if wireType != 2 {
  18814. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  18815. }
  18816. var stringLen uint64
  18817. for shift := uint(0); ; shift += 7 {
  18818. if shift >= 64 {
  18819. return ErrIntOverflowGenerated
  18820. }
  18821. if iNdEx >= l {
  18822. return io.ErrUnexpectedEOF
  18823. }
  18824. b := data[iNdEx]
  18825. iNdEx++
  18826. stringLen |= (uint64(b) & 0x7F) << shift
  18827. if b < 0x80 {
  18828. break
  18829. }
  18830. }
  18831. intStringLen := int(stringLen)
  18832. if intStringLen < 0 {
  18833. return ErrInvalidLengthGenerated
  18834. }
  18835. postIndex := iNdEx + intStringLen
  18836. if postIndex > l {
  18837. return io.ErrUnexpectedEOF
  18838. }
  18839. m.Protocol = Protocol(data[iNdEx:postIndex])
  18840. iNdEx = postIndex
  18841. default:
  18842. iNdEx = preIndex
  18843. skippy, err := skipGenerated(data[iNdEx:])
  18844. if err != nil {
  18845. return err
  18846. }
  18847. if skippy < 0 {
  18848. return ErrInvalidLengthGenerated
  18849. }
  18850. if (iNdEx + skippy) > l {
  18851. return io.ErrUnexpectedEOF
  18852. }
  18853. iNdEx += skippy
  18854. }
  18855. }
  18856. if iNdEx > l {
  18857. return io.ErrUnexpectedEOF
  18858. }
  18859. return nil
  18860. }
  18861. func (m *EndpointSubset) Unmarshal(data []byte) error {
  18862. l := len(data)
  18863. iNdEx := 0
  18864. for iNdEx < l {
  18865. preIndex := iNdEx
  18866. var wire uint64
  18867. for shift := uint(0); ; shift += 7 {
  18868. if shift >= 64 {
  18869. return ErrIntOverflowGenerated
  18870. }
  18871. if iNdEx >= l {
  18872. return io.ErrUnexpectedEOF
  18873. }
  18874. b := data[iNdEx]
  18875. iNdEx++
  18876. wire |= (uint64(b) & 0x7F) << shift
  18877. if b < 0x80 {
  18878. break
  18879. }
  18880. }
  18881. fieldNum := int32(wire >> 3)
  18882. wireType := int(wire & 0x7)
  18883. if wireType == 4 {
  18884. return fmt.Errorf("proto: EndpointSubset: wiretype end group for non-group")
  18885. }
  18886. if fieldNum <= 0 {
  18887. return fmt.Errorf("proto: EndpointSubset: illegal tag %d (wire type %d)", fieldNum, wire)
  18888. }
  18889. switch fieldNum {
  18890. case 1:
  18891. if wireType != 2 {
  18892. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  18893. }
  18894. var msglen int
  18895. for shift := uint(0); ; shift += 7 {
  18896. if shift >= 64 {
  18897. return ErrIntOverflowGenerated
  18898. }
  18899. if iNdEx >= l {
  18900. return io.ErrUnexpectedEOF
  18901. }
  18902. b := data[iNdEx]
  18903. iNdEx++
  18904. msglen |= (int(b) & 0x7F) << shift
  18905. if b < 0x80 {
  18906. break
  18907. }
  18908. }
  18909. if msglen < 0 {
  18910. return ErrInvalidLengthGenerated
  18911. }
  18912. postIndex := iNdEx + msglen
  18913. if postIndex > l {
  18914. return io.ErrUnexpectedEOF
  18915. }
  18916. m.Addresses = append(m.Addresses, EndpointAddress{})
  18917. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  18918. return err
  18919. }
  18920. iNdEx = postIndex
  18921. case 2:
  18922. if wireType != 2 {
  18923. return fmt.Errorf("proto: wrong wireType = %d for field NotReadyAddresses", wireType)
  18924. }
  18925. var msglen int
  18926. for shift := uint(0); ; shift += 7 {
  18927. if shift >= 64 {
  18928. return ErrIntOverflowGenerated
  18929. }
  18930. if iNdEx >= l {
  18931. return io.ErrUnexpectedEOF
  18932. }
  18933. b := data[iNdEx]
  18934. iNdEx++
  18935. msglen |= (int(b) & 0x7F) << shift
  18936. if b < 0x80 {
  18937. break
  18938. }
  18939. }
  18940. if msglen < 0 {
  18941. return ErrInvalidLengthGenerated
  18942. }
  18943. postIndex := iNdEx + msglen
  18944. if postIndex > l {
  18945. return io.ErrUnexpectedEOF
  18946. }
  18947. m.NotReadyAddresses = append(m.NotReadyAddresses, EndpointAddress{})
  18948. if err := m.NotReadyAddresses[len(m.NotReadyAddresses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  18949. return err
  18950. }
  18951. iNdEx = postIndex
  18952. case 3:
  18953. if wireType != 2 {
  18954. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  18955. }
  18956. var msglen int
  18957. for shift := uint(0); ; shift += 7 {
  18958. if shift >= 64 {
  18959. return ErrIntOverflowGenerated
  18960. }
  18961. if iNdEx >= l {
  18962. return io.ErrUnexpectedEOF
  18963. }
  18964. b := data[iNdEx]
  18965. iNdEx++
  18966. msglen |= (int(b) & 0x7F) << shift
  18967. if b < 0x80 {
  18968. break
  18969. }
  18970. }
  18971. if msglen < 0 {
  18972. return ErrInvalidLengthGenerated
  18973. }
  18974. postIndex := iNdEx + msglen
  18975. if postIndex > l {
  18976. return io.ErrUnexpectedEOF
  18977. }
  18978. m.Ports = append(m.Ports, EndpointPort{})
  18979. if err := m.Ports[len(m.Ports)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  18980. return err
  18981. }
  18982. iNdEx = postIndex
  18983. default:
  18984. iNdEx = preIndex
  18985. skippy, err := skipGenerated(data[iNdEx:])
  18986. if err != nil {
  18987. return err
  18988. }
  18989. if skippy < 0 {
  18990. return ErrInvalidLengthGenerated
  18991. }
  18992. if (iNdEx + skippy) > l {
  18993. return io.ErrUnexpectedEOF
  18994. }
  18995. iNdEx += skippy
  18996. }
  18997. }
  18998. if iNdEx > l {
  18999. return io.ErrUnexpectedEOF
  19000. }
  19001. return nil
  19002. }
  19003. func (m *Endpoints) Unmarshal(data []byte) error {
  19004. l := len(data)
  19005. iNdEx := 0
  19006. for iNdEx < l {
  19007. preIndex := iNdEx
  19008. var wire uint64
  19009. for shift := uint(0); ; shift += 7 {
  19010. if shift >= 64 {
  19011. return ErrIntOverflowGenerated
  19012. }
  19013. if iNdEx >= l {
  19014. return io.ErrUnexpectedEOF
  19015. }
  19016. b := data[iNdEx]
  19017. iNdEx++
  19018. wire |= (uint64(b) & 0x7F) << shift
  19019. if b < 0x80 {
  19020. break
  19021. }
  19022. }
  19023. fieldNum := int32(wire >> 3)
  19024. wireType := int(wire & 0x7)
  19025. if wireType == 4 {
  19026. return fmt.Errorf("proto: Endpoints: wiretype end group for non-group")
  19027. }
  19028. if fieldNum <= 0 {
  19029. return fmt.Errorf("proto: Endpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  19030. }
  19031. switch fieldNum {
  19032. case 1:
  19033. if wireType != 2 {
  19034. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  19035. }
  19036. var msglen int
  19037. for shift := uint(0); ; shift += 7 {
  19038. if shift >= 64 {
  19039. return ErrIntOverflowGenerated
  19040. }
  19041. if iNdEx >= l {
  19042. return io.ErrUnexpectedEOF
  19043. }
  19044. b := data[iNdEx]
  19045. iNdEx++
  19046. msglen |= (int(b) & 0x7F) << shift
  19047. if b < 0x80 {
  19048. break
  19049. }
  19050. }
  19051. if msglen < 0 {
  19052. return ErrInvalidLengthGenerated
  19053. }
  19054. postIndex := iNdEx + msglen
  19055. if postIndex > l {
  19056. return io.ErrUnexpectedEOF
  19057. }
  19058. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19059. return err
  19060. }
  19061. iNdEx = postIndex
  19062. case 2:
  19063. if wireType != 2 {
  19064. return fmt.Errorf("proto: wrong wireType = %d for field Subsets", wireType)
  19065. }
  19066. var msglen int
  19067. for shift := uint(0); ; shift += 7 {
  19068. if shift >= 64 {
  19069. return ErrIntOverflowGenerated
  19070. }
  19071. if iNdEx >= l {
  19072. return io.ErrUnexpectedEOF
  19073. }
  19074. b := data[iNdEx]
  19075. iNdEx++
  19076. msglen |= (int(b) & 0x7F) << shift
  19077. if b < 0x80 {
  19078. break
  19079. }
  19080. }
  19081. if msglen < 0 {
  19082. return ErrInvalidLengthGenerated
  19083. }
  19084. postIndex := iNdEx + msglen
  19085. if postIndex > l {
  19086. return io.ErrUnexpectedEOF
  19087. }
  19088. m.Subsets = append(m.Subsets, EndpointSubset{})
  19089. if err := m.Subsets[len(m.Subsets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  19090. return err
  19091. }
  19092. iNdEx = postIndex
  19093. default:
  19094. iNdEx = preIndex
  19095. skippy, err := skipGenerated(data[iNdEx:])
  19096. if err != nil {
  19097. return err
  19098. }
  19099. if skippy < 0 {
  19100. return ErrInvalidLengthGenerated
  19101. }
  19102. if (iNdEx + skippy) > l {
  19103. return io.ErrUnexpectedEOF
  19104. }
  19105. iNdEx += skippy
  19106. }
  19107. }
  19108. if iNdEx > l {
  19109. return io.ErrUnexpectedEOF
  19110. }
  19111. return nil
  19112. }
  19113. func (m *EndpointsList) Unmarshal(data []byte) error {
  19114. l := len(data)
  19115. iNdEx := 0
  19116. for iNdEx < l {
  19117. preIndex := iNdEx
  19118. var wire uint64
  19119. for shift := uint(0); ; shift += 7 {
  19120. if shift >= 64 {
  19121. return ErrIntOverflowGenerated
  19122. }
  19123. if iNdEx >= l {
  19124. return io.ErrUnexpectedEOF
  19125. }
  19126. b := data[iNdEx]
  19127. iNdEx++
  19128. wire |= (uint64(b) & 0x7F) << shift
  19129. if b < 0x80 {
  19130. break
  19131. }
  19132. }
  19133. fieldNum := int32(wire >> 3)
  19134. wireType := int(wire & 0x7)
  19135. if wireType == 4 {
  19136. return fmt.Errorf("proto: EndpointsList: wiretype end group for non-group")
  19137. }
  19138. if fieldNum <= 0 {
  19139. return fmt.Errorf("proto: EndpointsList: illegal tag %d (wire type %d)", fieldNum, wire)
  19140. }
  19141. switch fieldNum {
  19142. case 1:
  19143. if wireType != 2 {
  19144. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  19145. }
  19146. var msglen int
  19147. for shift := uint(0); ; shift += 7 {
  19148. if shift >= 64 {
  19149. return ErrIntOverflowGenerated
  19150. }
  19151. if iNdEx >= l {
  19152. return io.ErrUnexpectedEOF
  19153. }
  19154. b := data[iNdEx]
  19155. iNdEx++
  19156. msglen |= (int(b) & 0x7F) << shift
  19157. if b < 0x80 {
  19158. break
  19159. }
  19160. }
  19161. if msglen < 0 {
  19162. return ErrInvalidLengthGenerated
  19163. }
  19164. postIndex := iNdEx + msglen
  19165. if postIndex > l {
  19166. return io.ErrUnexpectedEOF
  19167. }
  19168. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19169. return err
  19170. }
  19171. iNdEx = postIndex
  19172. case 2:
  19173. if wireType != 2 {
  19174. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  19175. }
  19176. var msglen int
  19177. for shift := uint(0); ; shift += 7 {
  19178. if shift >= 64 {
  19179. return ErrIntOverflowGenerated
  19180. }
  19181. if iNdEx >= l {
  19182. return io.ErrUnexpectedEOF
  19183. }
  19184. b := data[iNdEx]
  19185. iNdEx++
  19186. msglen |= (int(b) & 0x7F) << shift
  19187. if b < 0x80 {
  19188. break
  19189. }
  19190. }
  19191. if msglen < 0 {
  19192. return ErrInvalidLengthGenerated
  19193. }
  19194. postIndex := iNdEx + msglen
  19195. if postIndex > l {
  19196. return io.ErrUnexpectedEOF
  19197. }
  19198. m.Items = append(m.Items, Endpoints{})
  19199. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  19200. return err
  19201. }
  19202. iNdEx = postIndex
  19203. default:
  19204. iNdEx = preIndex
  19205. skippy, err := skipGenerated(data[iNdEx:])
  19206. if err != nil {
  19207. return err
  19208. }
  19209. if skippy < 0 {
  19210. return ErrInvalidLengthGenerated
  19211. }
  19212. if (iNdEx + skippy) > l {
  19213. return io.ErrUnexpectedEOF
  19214. }
  19215. iNdEx += skippy
  19216. }
  19217. }
  19218. if iNdEx > l {
  19219. return io.ErrUnexpectedEOF
  19220. }
  19221. return nil
  19222. }
  19223. func (m *EnvFromSource) Unmarshal(data []byte) error {
  19224. l := len(data)
  19225. iNdEx := 0
  19226. for iNdEx < l {
  19227. preIndex := iNdEx
  19228. var wire uint64
  19229. for shift := uint(0); ; shift += 7 {
  19230. if shift >= 64 {
  19231. return ErrIntOverflowGenerated
  19232. }
  19233. if iNdEx >= l {
  19234. return io.ErrUnexpectedEOF
  19235. }
  19236. b := data[iNdEx]
  19237. iNdEx++
  19238. wire |= (uint64(b) & 0x7F) << shift
  19239. if b < 0x80 {
  19240. break
  19241. }
  19242. }
  19243. fieldNum := int32(wire >> 3)
  19244. wireType := int(wire & 0x7)
  19245. if wireType == 4 {
  19246. return fmt.Errorf("proto: EnvFromSource: wiretype end group for non-group")
  19247. }
  19248. if fieldNum <= 0 {
  19249. return fmt.Errorf("proto: EnvFromSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19250. }
  19251. switch fieldNum {
  19252. case 1:
  19253. if wireType != 2 {
  19254. return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType)
  19255. }
  19256. var stringLen uint64
  19257. for shift := uint(0); ; shift += 7 {
  19258. if shift >= 64 {
  19259. return ErrIntOverflowGenerated
  19260. }
  19261. if iNdEx >= l {
  19262. return io.ErrUnexpectedEOF
  19263. }
  19264. b := data[iNdEx]
  19265. iNdEx++
  19266. stringLen |= (uint64(b) & 0x7F) << shift
  19267. if b < 0x80 {
  19268. break
  19269. }
  19270. }
  19271. intStringLen := int(stringLen)
  19272. if intStringLen < 0 {
  19273. return ErrInvalidLengthGenerated
  19274. }
  19275. postIndex := iNdEx + intStringLen
  19276. if postIndex > l {
  19277. return io.ErrUnexpectedEOF
  19278. }
  19279. m.Prefix = string(data[iNdEx:postIndex])
  19280. iNdEx = postIndex
  19281. case 2:
  19282. if wireType != 2 {
  19283. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapRef", wireType)
  19284. }
  19285. var msglen int
  19286. for shift := uint(0); ; shift += 7 {
  19287. if shift >= 64 {
  19288. return ErrIntOverflowGenerated
  19289. }
  19290. if iNdEx >= l {
  19291. return io.ErrUnexpectedEOF
  19292. }
  19293. b := data[iNdEx]
  19294. iNdEx++
  19295. msglen |= (int(b) & 0x7F) << shift
  19296. if b < 0x80 {
  19297. break
  19298. }
  19299. }
  19300. if msglen < 0 {
  19301. return ErrInvalidLengthGenerated
  19302. }
  19303. postIndex := iNdEx + msglen
  19304. if postIndex > l {
  19305. return io.ErrUnexpectedEOF
  19306. }
  19307. if m.ConfigMapRef == nil {
  19308. m.ConfigMapRef = &ConfigMapEnvSource{}
  19309. }
  19310. if err := m.ConfigMapRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19311. return err
  19312. }
  19313. iNdEx = postIndex
  19314. case 3:
  19315. if wireType != 2 {
  19316. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  19317. }
  19318. var msglen int
  19319. for shift := uint(0); ; shift += 7 {
  19320. if shift >= 64 {
  19321. return ErrIntOverflowGenerated
  19322. }
  19323. if iNdEx >= l {
  19324. return io.ErrUnexpectedEOF
  19325. }
  19326. b := data[iNdEx]
  19327. iNdEx++
  19328. msglen |= (int(b) & 0x7F) << shift
  19329. if b < 0x80 {
  19330. break
  19331. }
  19332. }
  19333. if msglen < 0 {
  19334. return ErrInvalidLengthGenerated
  19335. }
  19336. postIndex := iNdEx + msglen
  19337. if postIndex > l {
  19338. return io.ErrUnexpectedEOF
  19339. }
  19340. if m.SecretRef == nil {
  19341. m.SecretRef = &SecretEnvSource{}
  19342. }
  19343. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19344. return err
  19345. }
  19346. iNdEx = postIndex
  19347. default:
  19348. iNdEx = preIndex
  19349. skippy, err := skipGenerated(data[iNdEx:])
  19350. if err != nil {
  19351. return err
  19352. }
  19353. if skippy < 0 {
  19354. return ErrInvalidLengthGenerated
  19355. }
  19356. if (iNdEx + skippy) > l {
  19357. return io.ErrUnexpectedEOF
  19358. }
  19359. iNdEx += skippy
  19360. }
  19361. }
  19362. if iNdEx > l {
  19363. return io.ErrUnexpectedEOF
  19364. }
  19365. return nil
  19366. }
  19367. func (m *EnvVar) Unmarshal(data []byte) error {
  19368. l := len(data)
  19369. iNdEx := 0
  19370. for iNdEx < l {
  19371. preIndex := iNdEx
  19372. var wire uint64
  19373. for shift := uint(0); ; shift += 7 {
  19374. if shift >= 64 {
  19375. return ErrIntOverflowGenerated
  19376. }
  19377. if iNdEx >= l {
  19378. return io.ErrUnexpectedEOF
  19379. }
  19380. b := data[iNdEx]
  19381. iNdEx++
  19382. wire |= (uint64(b) & 0x7F) << shift
  19383. if b < 0x80 {
  19384. break
  19385. }
  19386. }
  19387. fieldNum := int32(wire >> 3)
  19388. wireType := int(wire & 0x7)
  19389. if wireType == 4 {
  19390. return fmt.Errorf("proto: EnvVar: wiretype end group for non-group")
  19391. }
  19392. if fieldNum <= 0 {
  19393. return fmt.Errorf("proto: EnvVar: illegal tag %d (wire type %d)", fieldNum, wire)
  19394. }
  19395. switch fieldNum {
  19396. case 1:
  19397. if wireType != 2 {
  19398. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  19399. }
  19400. var stringLen uint64
  19401. for shift := uint(0); ; shift += 7 {
  19402. if shift >= 64 {
  19403. return ErrIntOverflowGenerated
  19404. }
  19405. if iNdEx >= l {
  19406. return io.ErrUnexpectedEOF
  19407. }
  19408. b := data[iNdEx]
  19409. iNdEx++
  19410. stringLen |= (uint64(b) & 0x7F) << shift
  19411. if b < 0x80 {
  19412. break
  19413. }
  19414. }
  19415. intStringLen := int(stringLen)
  19416. if intStringLen < 0 {
  19417. return ErrInvalidLengthGenerated
  19418. }
  19419. postIndex := iNdEx + intStringLen
  19420. if postIndex > l {
  19421. return io.ErrUnexpectedEOF
  19422. }
  19423. m.Name = string(data[iNdEx:postIndex])
  19424. iNdEx = postIndex
  19425. case 2:
  19426. if wireType != 2 {
  19427. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  19428. }
  19429. var stringLen uint64
  19430. for shift := uint(0); ; shift += 7 {
  19431. if shift >= 64 {
  19432. return ErrIntOverflowGenerated
  19433. }
  19434. if iNdEx >= l {
  19435. return io.ErrUnexpectedEOF
  19436. }
  19437. b := data[iNdEx]
  19438. iNdEx++
  19439. stringLen |= (uint64(b) & 0x7F) << shift
  19440. if b < 0x80 {
  19441. break
  19442. }
  19443. }
  19444. intStringLen := int(stringLen)
  19445. if intStringLen < 0 {
  19446. return ErrInvalidLengthGenerated
  19447. }
  19448. postIndex := iNdEx + intStringLen
  19449. if postIndex > l {
  19450. return io.ErrUnexpectedEOF
  19451. }
  19452. m.Value = string(data[iNdEx:postIndex])
  19453. iNdEx = postIndex
  19454. case 3:
  19455. if wireType != 2 {
  19456. return fmt.Errorf("proto: wrong wireType = %d for field ValueFrom", wireType)
  19457. }
  19458. var msglen int
  19459. for shift := uint(0); ; shift += 7 {
  19460. if shift >= 64 {
  19461. return ErrIntOverflowGenerated
  19462. }
  19463. if iNdEx >= l {
  19464. return io.ErrUnexpectedEOF
  19465. }
  19466. b := data[iNdEx]
  19467. iNdEx++
  19468. msglen |= (int(b) & 0x7F) << shift
  19469. if b < 0x80 {
  19470. break
  19471. }
  19472. }
  19473. if msglen < 0 {
  19474. return ErrInvalidLengthGenerated
  19475. }
  19476. postIndex := iNdEx + msglen
  19477. if postIndex > l {
  19478. return io.ErrUnexpectedEOF
  19479. }
  19480. if m.ValueFrom == nil {
  19481. m.ValueFrom = &EnvVarSource{}
  19482. }
  19483. if err := m.ValueFrom.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19484. return err
  19485. }
  19486. iNdEx = postIndex
  19487. default:
  19488. iNdEx = preIndex
  19489. skippy, err := skipGenerated(data[iNdEx:])
  19490. if err != nil {
  19491. return err
  19492. }
  19493. if skippy < 0 {
  19494. return ErrInvalidLengthGenerated
  19495. }
  19496. if (iNdEx + skippy) > l {
  19497. return io.ErrUnexpectedEOF
  19498. }
  19499. iNdEx += skippy
  19500. }
  19501. }
  19502. if iNdEx > l {
  19503. return io.ErrUnexpectedEOF
  19504. }
  19505. return nil
  19506. }
  19507. func (m *EnvVarSource) Unmarshal(data []byte) error {
  19508. l := len(data)
  19509. iNdEx := 0
  19510. for iNdEx < l {
  19511. preIndex := iNdEx
  19512. var wire uint64
  19513. for shift := uint(0); ; shift += 7 {
  19514. if shift >= 64 {
  19515. return ErrIntOverflowGenerated
  19516. }
  19517. if iNdEx >= l {
  19518. return io.ErrUnexpectedEOF
  19519. }
  19520. b := data[iNdEx]
  19521. iNdEx++
  19522. wire |= (uint64(b) & 0x7F) << shift
  19523. if b < 0x80 {
  19524. break
  19525. }
  19526. }
  19527. fieldNum := int32(wire >> 3)
  19528. wireType := int(wire & 0x7)
  19529. if wireType == 4 {
  19530. return fmt.Errorf("proto: EnvVarSource: wiretype end group for non-group")
  19531. }
  19532. if fieldNum <= 0 {
  19533. return fmt.Errorf("proto: EnvVarSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19534. }
  19535. switch fieldNum {
  19536. case 1:
  19537. if wireType != 2 {
  19538. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  19539. }
  19540. var msglen int
  19541. for shift := uint(0); ; shift += 7 {
  19542. if shift >= 64 {
  19543. return ErrIntOverflowGenerated
  19544. }
  19545. if iNdEx >= l {
  19546. return io.ErrUnexpectedEOF
  19547. }
  19548. b := data[iNdEx]
  19549. iNdEx++
  19550. msglen |= (int(b) & 0x7F) << shift
  19551. if b < 0x80 {
  19552. break
  19553. }
  19554. }
  19555. if msglen < 0 {
  19556. return ErrInvalidLengthGenerated
  19557. }
  19558. postIndex := iNdEx + msglen
  19559. if postIndex > l {
  19560. return io.ErrUnexpectedEOF
  19561. }
  19562. if m.FieldRef == nil {
  19563. m.FieldRef = &ObjectFieldSelector{}
  19564. }
  19565. if err := m.FieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19566. return err
  19567. }
  19568. iNdEx = postIndex
  19569. case 2:
  19570. if wireType != 2 {
  19571. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  19572. }
  19573. var msglen int
  19574. for shift := uint(0); ; shift += 7 {
  19575. if shift >= 64 {
  19576. return ErrIntOverflowGenerated
  19577. }
  19578. if iNdEx >= l {
  19579. return io.ErrUnexpectedEOF
  19580. }
  19581. b := data[iNdEx]
  19582. iNdEx++
  19583. msglen |= (int(b) & 0x7F) << shift
  19584. if b < 0x80 {
  19585. break
  19586. }
  19587. }
  19588. if msglen < 0 {
  19589. return ErrInvalidLengthGenerated
  19590. }
  19591. postIndex := iNdEx + msglen
  19592. if postIndex > l {
  19593. return io.ErrUnexpectedEOF
  19594. }
  19595. if m.ResourceFieldRef == nil {
  19596. m.ResourceFieldRef = &ResourceFieldSelector{}
  19597. }
  19598. if err := m.ResourceFieldRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19599. return err
  19600. }
  19601. iNdEx = postIndex
  19602. case 3:
  19603. if wireType != 2 {
  19604. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapKeyRef", wireType)
  19605. }
  19606. var msglen int
  19607. for shift := uint(0); ; shift += 7 {
  19608. if shift >= 64 {
  19609. return ErrIntOverflowGenerated
  19610. }
  19611. if iNdEx >= l {
  19612. return io.ErrUnexpectedEOF
  19613. }
  19614. b := data[iNdEx]
  19615. iNdEx++
  19616. msglen |= (int(b) & 0x7F) << shift
  19617. if b < 0x80 {
  19618. break
  19619. }
  19620. }
  19621. if msglen < 0 {
  19622. return ErrInvalidLengthGenerated
  19623. }
  19624. postIndex := iNdEx + msglen
  19625. if postIndex > l {
  19626. return io.ErrUnexpectedEOF
  19627. }
  19628. if m.ConfigMapKeyRef == nil {
  19629. m.ConfigMapKeyRef = &ConfigMapKeySelector{}
  19630. }
  19631. if err := m.ConfigMapKeyRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19632. return err
  19633. }
  19634. iNdEx = postIndex
  19635. case 4:
  19636. if wireType != 2 {
  19637. return fmt.Errorf("proto: wrong wireType = %d for field SecretKeyRef", wireType)
  19638. }
  19639. var msglen int
  19640. for shift := uint(0); ; shift += 7 {
  19641. if shift >= 64 {
  19642. return ErrIntOverflowGenerated
  19643. }
  19644. if iNdEx >= l {
  19645. return io.ErrUnexpectedEOF
  19646. }
  19647. b := data[iNdEx]
  19648. iNdEx++
  19649. msglen |= (int(b) & 0x7F) << shift
  19650. if b < 0x80 {
  19651. break
  19652. }
  19653. }
  19654. if msglen < 0 {
  19655. return ErrInvalidLengthGenerated
  19656. }
  19657. postIndex := iNdEx + msglen
  19658. if postIndex > l {
  19659. return io.ErrUnexpectedEOF
  19660. }
  19661. if m.SecretKeyRef == nil {
  19662. m.SecretKeyRef = &SecretKeySelector{}
  19663. }
  19664. if err := m.SecretKeyRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19665. return err
  19666. }
  19667. iNdEx = postIndex
  19668. default:
  19669. iNdEx = preIndex
  19670. skippy, err := skipGenerated(data[iNdEx:])
  19671. if err != nil {
  19672. return err
  19673. }
  19674. if skippy < 0 {
  19675. return ErrInvalidLengthGenerated
  19676. }
  19677. if (iNdEx + skippy) > l {
  19678. return io.ErrUnexpectedEOF
  19679. }
  19680. iNdEx += skippy
  19681. }
  19682. }
  19683. if iNdEx > l {
  19684. return io.ErrUnexpectedEOF
  19685. }
  19686. return nil
  19687. }
  19688. func (m *Event) Unmarshal(data []byte) error {
  19689. l := len(data)
  19690. iNdEx := 0
  19691. for iNdEx < l {
  19692. preIndex := iNdEx
  19693. var wire uint64
  19694. for shift := uint(0); ; shift += 7 {
  19695. if shift >= 64 {
  19696. return ErrIntOverflowGenerated
  19697. }
  19698. if iNdEx >= l {
  19699. return io.ErrUnexpectedEOF
  19700. }
  19701. b := data[iNdEx]
  19702. iNdEx++
  19703. wire |= (uint64(b) & 0x7F) << shift
  19704. if b < 0x80 {
  19705. break
  19706. }
  19707. }
  19708. fieldNum := int32(wire >> 3)
  19709. wireType := int(wire & 0x7)
  19710. if wireType == 4 {
  19711. return fmt.Errorf("proto: Event: wiretype end group for non-group")
  19712. }
  19713. if fieldNum <= 0 {
  19714. return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
  19715. }
  19716. switch fieldNum {
  19717. case 1:
  19718. if wireType != 2 {
  19719. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  19720. }
  19721. var msglen int
  19722. for shift := uint(0); ; shift += 7 {
  19723. if shift >= 64 {
  19724. return ErrIntOverflowGenerated
  19725. }
  19726. if iNdEx >= l {
  19727. return io.ErrUnexpectedEOF
  19728. }
  19729. b := data[iNdEx]
  19730. iNdEx++
  19731. msglen |= (int(b) & 0x7F) << shift
  19732. if b < 0x80 {
  19733. break
  19734. }
  19735. }
  19736. if msglen < 0 {
  19737. return ErrInvalidLengthGenerated
  19738. }
  19739. postIndex := iNdEx + msglen
  19740. if postIndex > l {
  19741. return io.ErrUnexpectedEOF
  19742. }
  19743. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19744. return err
  19745. }
  19746. iNdEx = postIndex
  19747. case 2:
  19748. if wireType != 2 {
  19749. return fmt.Errorf("proto: wrong wireType = %d for field InvolvedObject", wireType)
  19750. }
  19751. var msglen int
  19752. for shift := uint(0); ; shift += 7 {
  19753. if shift >= 64 {
  19754. return ErrIntOverflowGenerated
  19755. }
  19756. if iNdEx >= l {
  19757. return io.ErrUnexpectedEOF
  19758. }
  19759. b := data[iNdEx]
  19760. iNdEx++
  19761. msglen |= (int(b) & 0x7F) << shift
  19762. if b < 0x80 {
  19763. break
  19764. }
  19765. }
  19766. if msglen < 0 {
  19767. return ErrInvalidLengthGenerated
  19768. }
  19769. postIndex := iNdEx + msglen
  19770. if postIndex > l {
  19771. return io.ErrUnexpectedEOF
  19772. }
  19773. if err := m.InvolvedObject.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19774. return err
  19775. }
  19776. iNdEx = postIndex
  19777. case 3:
  19778. if wireType != 2 {
  19779. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  19780. }
  19781. var stringLen uint64
  19782. for shift := uint(0); ; shift += 7 {
  19783. if shift >= 64 {
  19784. return ErrIntOverflowGenerated
  19785. }
  19786. if iNdEx >= l {
  19787. return io.ErrUnexpectedEOF
  19788. }
  19789. b := data[iNdEx]
  19790. iNdEx++
  19791. stringLen |= (uint64(b) & 0x7F) << shift
  19792. if b < 0x80 {
  19793. break
  19794. }
  19795. }
  19796. intStringLen := int(stringLen)
  19797. if intStringLen < 0 {
  19798. return ErrInvalidLengthGenerated
  19799. }
  19800. postIndex := iNdEx + intStringLen
  19801. if postIndex > l {
  19802. return io.ErrUnexpectedEOF
  19803. }
  19804. m.Reason = string(data[iNdEx:postIndex])
  19805. iNdEx = postIndex
  19806. case 4:
  19807. if wireType != 2 {
  19808. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  19809. }
  19810. var stringLen uint64
  19811. for shift := uint(0); ; shift += 7 {
  19812. if shift >= 64 {
  19813. return ErrIntOverflowGenerated
  19814. }
  19815. if iNdEx >= l {
  19816. return io.ErrUnexpectedEOF
  19817. }
  19818. b := data[iNdEx]
  19819. iNdEx++
  19820. stringLen |= (uint64(b) & 0x7F) << shift
  19821. if b < 0x80 {
  19822. break
  19823. }
  19824. }
  19825. intStringLen := int(stringLen)
  19826. if intStringLen < 0 {
  19827. return ErrInvalidLengthGenerated
  19828. }
  19829. postIndex := iNdEx + intStringLen
  19830. if postIndex > l {
  19831. return io.ErrUnexpectedEOF
  19832. }
  19833. m.Message = string(data[iNdEx:postIndex])
  19834. iNdEx = postIndex
  19835. case 5:
  19836. if wireType != 2 {
  19837. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  19838. }
  19839. var msglen int
  19840. for shift := uint(0); ; shift += 7 {
  19841. if shift >= 64 {
  19842. return ErrIntOverflowGenerated
  19843. }
  19844. if iNdEx >= l {
  19845. return io.ErrUnexpectedEOF
  19846. }
  19847. b := data[iNdEx]
  19848. iNdEx++
  19849. msglen |= (int(b) & 0x7F) << shift
  19850. if b < 0x80 {
  19851. break
  19852. }
  19853. }
  19854. if msglen < 0 {
  19855. return ErrInvalidLengthGenerated
  19856. }
  19857. postIndex := iNdEx + msglen
  19858. if postIndex > l {
  19859. return io.ErrUnexpectedEOF
  19860. }
  19861. if err := m.Source.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19862. return err
  19863. }
  19864. iNdEx = postIndex
  19865. case 6:
  19866. if wireType != 2 {
  19867. return fmt.Errorf("proto: wrong wireType = %d for field FirstTimestamp", wireType)
  19868. }
  19869. var msglen int
  19870. for shift := uint(0); ; shift += 7 {
  19871. if shift >= 64 {
  19872. return ErrIntOverflowGenerated
  19873. }
  19874. if iNdEx >= l {
  19875. return io.ErrUnexpectedEOF
  19876. }
  19877. b := data[iNdEx]
  19878. iNdEx++
  19879. msglen |= (int(b) & 0x7F) << shift
  19880. if b < 0x80 {
  19881. break
  19882. }
  19883. }
  19884. if msglen < 0 {
  19885. return ErrInvalidLengthGenerated
  19886. }
  19887. postIndex := iNdEx + msglen
  19888. if postIndex > l {
  19889. return io.ErrUnexpectedEOF
  19890. }
  19891. if err := m.FirstTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19892. return err
  19893. }
  19894. iNdEx = postIndex
  19895. case 7:
  19896. if wireType != 2 {
  19897. return fmt.Errorf("proto: wrong wireType = %d for field LastTimestamp", wireType)
  19898. }
  19899. var msglen int
  19900. for shift := uint(0); ; shift += 7 {
  19901. if shift >= 64 {
  19902. return ErrIntOverflowGenerated
  19903. }
  19904. if iNdEx >= l {
  19905. return io.ErrUnexpectedEOF
  19906. }
  19907. b := data[iNdEx]
  19908. iNdEx++
  19909. msglen |= (int(b) & 0x7F) << shift
  19910. if b < 0x80 {
  19911. break
  19912. }
  19913. }
  19914. if msglen < 0 {
  19915. return ErrInvalidLengthGenerated
  19916. }
  19917. postIndex := iNdEx + msglen
  19918. if postIndex > l {
  19919. return io.ErrUnexpectedEOF
  19920. }
  19921. if err := m.LastTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  19922. return err
  19923. }
  19924. iNdEx = postIndex
  19925. case 8:
  19926. if wireType != 0 {
  19927. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  19928. }
  19929. m.Count = 0
  19930. for shift := uint(0); ; shift += 7 {
  19931. if shift >= 64 {
  19932. return ErrIntOverflowGenerated
  19933. }
  19934. if iNdEx >= l {
  19935. return io.ErrUnexpectedEOF
  19936. }
  19937. b := data[iNdEx]
  19938. iNdEx++
  19939. m.Count |= (int32(b) & 0x7F) << shift
  19940. if b < 0x80 {
  19941. break
  19942. }
  19943. }
  19944. case 9:
  19945. if wireType != 2 {
  19946. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  19947. }
  19948. var stringLen uint64
  19949. for shift := uint(0); ; shift += 7 {
  19950. if shift >= 64 {
  19951. return ErrIntOverflowGenerated
  19952. }
  19953. if iNdEx >= l {
  19954. return io.ErrUnexpectedEOF
  19955. }
  19956. b := data[iNdEx]
  19957. iNdEx++
  19958. stringLen |= (uint64(b) & 0x7F) << shift
  19959. if b < 0x80 {
  19960. break
  19961. }
  19962. }
  19963. intStringLen := int(stringLen)
  19964. if intStringLen < 0 {
  19965. return ErrInvalidLengthGenerated
  19966. }
  19967. postIndex := iNdEx + intStringLen
  19968. if postIndex > l {
  19969. return io.ErrUnexpectedEOF
  19970. }
  19971. m.Type = string(data[iNdEx:postIndex])
  19972. iNdEx = postIndex
  19973. default:
  19974. iNdEx = preIndex
  19975. skippy, err := skipGenerated(data[iNdEx:])
  19976. if err != nil {
  19977. return err
  19978. }
  19979. if skippy < 0 {
  19980. return ErrInvalidLengthGenerated
  19981. }
  19982. if (iNdEx + skippy) > l {
  19983. return io.ErrUnexpectedEOF
  19984. }
  19985. iNdEx += skippy
  19986. }
  19987. }
  19988. if iNdEx > l {
  19989. return io.ErrUnexpectedEOF
  19990. }
  19991. return nil
  19992. }
  19993. func (m *EventList) Unmarshal(data []byte) error {
  19994. l := len(data)
  19995. iNdEx := 0
  19996. for iNdEx < l {
  19997. preIndex := iNdEx
  19998. var wire uint64
  19999. for shift := uint(0); ; shift += 7 {
  20000. if shift >= 64 {
  20001. return ErrIntOverflowGenerated
  20002. }
  20003. if iNdEx >= l {
  20004. return io.ErrUnexpectedEOF
  20005. }
  20006. b := data[iNdEx]
  20007. iNdEx++
  20008. wire |= (uint64(b) & 0x7F) << shift
  20009. if b < 0x80 {
  20010. break
  20011. }
  20012. }
  20013. fieldNum := int32(wire >> 3)
  20014. wireType := int(wire & 0x7)
  20015. if wireType == 4 {
  20016. return fmt.Errorf("proto: EventList: wiretype end group for non-group")
  20017. }
  20018. if fieldNum <= 0 {
  20019. return fmt.Errorf("proto: EventList: illegal tag %d (wire type %d)", fieldNum, wire)
  20020. }
  20021. switch fieldNum {
  20022. case 1:
  20023. if wireType != 2 {
  20024. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  20025. }
  20026. var msglen int
  20027. for shift := uint(0); ; shift += 7 {
  20028. if shift >= 64 {
  20029. return ErrIntOverflowGenerated
  20030. }
  20031. if iNdEx >= l {
  20032. return io.ErrUnexpectedEOF
  20033. }
  20034. b := data[iNdEx]
  20035. iNdEx++
  20036. msglen |= (int(b) & 0x7F) << shift
  20037. if b < 0x80 {
  20038. break
  20039. }
  20040. }
  20041. if msglen < 0 {
  20042. return ErrInvalidLengthGenerated
  20043. }
  20044. postIndex := iNdEx + msglen
  20045. if postIndex > l {
  20046. return io.ErrUnexpectedEOF
  20047. }
  20048. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  20049. return err
  20050. }
  20051. iNdEx = postIndex
  20052. case 2:
  20053. if wireType != 2 {
  20054. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  20055. }
  20056. var msglen int
  20057. for shift := uint(0); ; shift += 7 {
  20058. if shift >= 64 {
  20059. return ErrIntOverflowGenerated
  20060. }
  20061. if iNdEx >= l {
  20062. return io.ErrUnexpectedEOF
  20063. }
  20064. b := data[iNdEx]
  20065. iNdEx++
  20066. msglen |= (int(b) & 0x7F) << shift
  20067. if b < 0x80 {
  20068. break
  20069. }
  20070. }
  20071. if msglen < 0 {
  20072. return ErrInvalidLengthGenerated
  20073. }
  20074. postIndex := iNdEx + msglen
  20075. if postIndex > l {
  20076. return io.ErrUnexpectedEOF
  20077. }
  20078. m.Items = append(m.Items, Event{})
  20079. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  20080. return err
  20081. }
  20082. iNdEx = postIndex
  20083. default:
  20084. iNdEx = preIndex
  20085. skippy, err := skipGenerated(data[iNdEx:])
  20086. if err != nil {
  20087. return err
  20088. }
  20089. if skippy < 0 {
  20090. return ErrInvalidLengthGenerated
  20091. }
  20092. if (iNdEx + skippy) > l {
  20093. return io.ErrUnexpectedEOF
  20094. }
  20095. iNdEx += skippy
  20096. }
  20097. }
  20098. if iNdEx > l {
  20099. return io.ErrUnexpectedEOF
  20100. }
  20101. return nil
  20102. }
  20103. func (m *EventSource) Unmarshal(data []byte) error {
  20104. l := len(data)
  20105. iNdEx := 0
  20106. for iNdEx < l {
  20107. preIndex := iNdEx
  20108. var wire uint64
  20109. for shift := uint(0); ; shift += 7 {
  20110. if shift >= 64 {
  20111. return ErrIntOverflowGenerated
  20112. }
  20113. if iNdEx >= l {
  20114. return io.ErrUnexpectedEOF
  20115. }
  20116. b := data[iNdEx]
  20117. iNdEx++
  20118. wire |= (uint64(b) & 0x7F) << shift
  20119. if b < 0x80 {
  20120. break
  20121. }
  20122. }
  20123. fieldNum := int32(wire >> 3)
  20124. wireType := int(wire & 0x7)
  20125. if wireType == 4 {
  20126. return fmt.Errorf("proto: EventSource: wiretype end group for non-group")
  20127. }
  20128. if fieldNum <= 0 {
  20129. return fmt.Errorf("proto: EventSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20130. }
  20131. switch fieldNum {
  20132. case 1:
  20133. if wireType != 2 {
  20134. return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType)
  20135. }
  20136. var stringLen uint64
  20137. for shift := uint(0); ; shift += 7 {
  20138. if shift >= 64 {
  20139. return ErrIntOverflowGenerated
  20140. }
  20141. if iNdEx >= l {
  20142. return io.ErrUnexpectedEOF
  20143. }
  20144. b := data[iNdEx]
  20145. iNdEx++
  20146. stringLen |= (uint64(b) & 0x7F) << shift
  20147. if b < 0x80 {
  20148. break
  20149. }
  20150. }
  20151. intStringLen := int(stringLen)
  20152. if intStringLen < 0 {
  20153. return ErrInvalidLengthGenerated
  20154. }
  20155. postIndex := iNdEx + intStringLen
  20156. if postIndex > l {
  20157. return io.ErrUnexpectedEOF
  20158. }
  20159. m.Component = string(data[iNdEx:postIndex])
  20160. iNdEx = postIndex
  20161. case 2:
  20162. if wireType != 2 {
  20163. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  20164. }
  20165. var stringLen uint64
  20166. for shift := uint(0); ; shift += 7 {
  20167. if shift >= 64 {
  20168. return ErrIntOverflowGenerated
  20169. }
  20170. if iNdEx >= l {
  20171. return io.ErrUnexpectedEOF
  20172. }
  20173. b := data[iNdEx]
  20174. iNdEx++
  20175. stringLen |= (uint64(b) & 0x7F) << shift
  20176. if b < 0x80 {
  20177. break
  20178. }
  20179. }
  20180. intStringLen := int(stringLen)
  20181. if intStringLen < 0 {
  20182. return ErrInvalidLengthGenerated
  20183. }
  20184. postIndex := iNdEx + intStringLen
  20185. if postIndex > l {
  20186. return io.ErrUnexpectedEOF
  20187. }
  20188. m.Host = string(data[iNdEx:postIndex])
  20189. iNdEx = postIndex
  20190. default:
  20191. iNdEx = preIndex
  20192. skippy, err := skipGenerated(data[iNdEx:])
  20193. if err != nil {
  20194. return err
  20195. }
  20196. if skippy < 0 {
  20197. return ErrInvalidLengthGenerated
  20198. }
  20199. if (iNdEx + skippy) > l {
  20200. return io.ErrUnexpectedEOF
  20201. }
  20202. iNdEx += skippy
  20203. }
  20204. }
  20205. if iNdEx > l {
  20206. return io.ErrUnexpectedEOF
  20207. }
  20208. return nil
  20209. }
  20210. func (m *ExecAction) Unmarshal(data []byte) error {
  20211. l := len(data)
  20212. iNdEx := 0
  20213. for iNdEx < l {
  20214. preIndex := iNdEx
  20215. var wire uint64
  20216. for shift := uint(0); ; shift += 7 {
  20217. if shift >= 64 {
  20218. return ErrIntOverflowGenerated
  20219. }
  20220. if iNdEx >= l {
  20221. return io.ErrUnexpectedEOF
  20222. }
  20223. b := data[iNdEx]
  20224. iNdEx++
  20225. wire |= (uint64(b) & 0x7F) << shift
  20226. if b < 0x80 {
  20227. break
  20228. }
  20229. }
  20230. fieldNum := int32(wire >> 3)
  20231. wireType := int(wire & 0x7)
  20232. if wireType == 4 {
  20233. return fmt.Errorf("proto: ExecAction: wiretype end group for non-group")
  20234. }
  20235. if fieldNum <= 0 {
  20236. return fmt.Errorf("proto: ExecAction: illegal tag %d (wire type %d)", fieldNum, wire)
  20237. }
  20238. switch fieldNum {
  20239. case 1:
  20240. if wireType != 2 {
  20241. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  20242. }
  20243. var stringLen uint64
  20244. for shift := uint(0); ; shift += 7 {
  20245. if shift >= 64 {
  20246. return ErrIntOverflowGenerated
  20247. }
  20248. if iNdEx >= l {
  20249. return io.ErrUnexpectedEOF
  20250. }
  20251. b := data[iNdEx]
  20252. iNdEx++
  20253. stringLen |= (uint64(b) & 0x7F) << shift
  20254. if b < 0x80 {
  20255. break
  20256. }
  20257. }
  20258. intStringLen := int(stringLen)
  20259. if intStringLen < 0 {
  20260. return ErrInvalidLengthGenerated
  20261. }
  20262. postIndex := iNdEx + intStringLen
  20263. if postIndex > l {
  20264. return io.ErrUnexpectedEOF
  20265. }
  20266. m.Command = append(m.Command, string(data[iNdEx:postIndex]))
  20267. iNdEx = postIndex
  20268. default:
  20269. iNdEx = preIndex
  20270. skippy, err := skipGenerated(data[iNdEx:])
  20271. if err != nil {
  20272. return err
  20273. }
  20274. if skippy < 0 {
  20275. return ErrInvalidLengthGenerated
  20276. }
  20277. if (iNdEx + skippy) > l {
  20278. return io.ErrUnexpectedEOF
  20279. }
  20280. iNdEx += skippy
  20281. }
  20282. }
  20283. if iNdEx > l {
  20284. return io.ErrUnexpectedEOF
  20285. }
  20286. return nil
  20287. }
  20288. func (m *FCVolumeSource) Unmarshal(data []byte) error {
  20289. l := len(data)
  20290. iNdEx := 0
  20291. for iNdEx < l {
  20292. preIndex := iNdEx
  20293. var wire uint64
  20294. for shift := uint(0); ; shift += 7 {
  20295. if shift >= 64 {
  20296. return ErrIntOverflowGenerated
  20297. }
  20298. if iNdEx >= l {
  20299. return io.ErrUnexpectedEOF
  20300. }
  20301. b := data[iNdEx]
  20302. iNdEx++
  20303. wire |= (uint64(b) & 0x7F) << shift
  20304. if b < 0x80 {
  20305. break
  20306. }
  20307. }
  20308. fieldNum := int32(wire >> 3)
  20309. wireType := int(wire & 0x7)
  20310. if wireType == 4 {
  20311. return fmt.Errorf("proto: FCVolumeSource: wiretype end group for non-group")
  20312. }
  20313. if fieldNum <= 0 {
  20314. return fmt.Errorf("proto: FCVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20315. }
  20316. switch fieldNum {
  20317. case 1:
  20318. if wireType != 2 {
  20319. return fmt.Errorf("proto: wrong wireType = %d for field TargetWWNs", wireType)
  20320. }
  20321. var stringLen uint64
  20322. for shift := uint(0); ; shift += 7 {
  20323. if shift >= 64 {
  20324. return ErrIntOverflowGenerated
  20325. }
  20326. if iNdEx >= l {
  20327. return io.ErrUnexpectedEOF
  20328. }
  20329. b := data[iNdEx]
  20330. iNdEx++
  20331. stringLen |= (uint64(b) & 0x7F) << shift
  20332. if b < 0x80 {
  20333. break
  20334. }
  20335. }
  20336. intStringLen := int(stringLen)
  20337. if intStringLen < 0 {
  20338. return ErrInvalidLengthGenerated
  20339. }
  20340. postIndex := iNdEx + intStringLen
  20341. if postIndex > l {
  20342. return io.ErrUnexpectedEOF
  20343. }
  20344. m.TargetWWNs = append(m.TargetWWNs, string(data[iNdEx:postIndex]))
  20345. iNdEx = postIndex
  20346. case 2:
  20347. if wireType != 0 {
  20348. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  20349. }
  20350. var v int32
  20351. for shift := uint(0); ; shift += 7 {
  20352. if shift >= 64 {
  20353. return ErrIntOverflowGenerated
  20354. }
  20355. if iNdEx >= l {
  20356. return io.ErrUnexpectedEOF
  20357. }
  20358. b := data[iNdEx]
  20359. iNdEx++
  20360. v |= (int32(b) & 0x7F) << shift
  20361. if b < 0x80 {
  20362. break
  20363. }
  20364. }
  20365. m.Lun = &v
  20366. case 3:
  20367. if wireType != 2 {
  20368. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  20369. }
  20370. var stringLen uint64
  20371. for shift := uint(0); ; shift += 7 {
  20372. if shift >= 64 {
  20373. return ErrIntOverflowGenerated
  20374. }
  20375. if iNdEx >= l {
  20376. return io.ErrUnexpectedEOF
  20377. }
  20378. b := data[iNdEx]
  20379. iNdEx++
  20380. stringLen |= (uint64(b) & 0x7F) << shift
  20381. if b < 0x80 {
  20382. break
  20383. }
  20384. }
  20385. intStringLen := int(stringLen)
  20386. if intStringLen < 0 {
  20387. return ErrInvalidLengthGenerated
  20388. }
  20389. postIndex := iNdEx + intStringLen
  20390. if postIndex > l {
  20391. return io.ErrUnexpectedEOF
  20392. }
  20393. m.FSType = string(data[iNdEx:postIndex])
  20394. iNdEx = postIndex
  20395. case 4:
  20396. if wireType != 0 {
  20397. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  20398. }
  20399. var v int
  20400. for shift := uint(0); ; shift += 7 {
  20401. if shift >= 64 {
  20402. return ErrIntOverflowGenerated
  20403. }
  20404. if iNdEx >= l {
  20405. return io.ErrUnexpectedEOF
  20406. }
  20407. b := data[iNdEx]
  20408. iNdEx++
  20409. v |= (int(b) & 0x7F) << shift
  20410. if b < 0x80 {
  20411. break
  20412. }
  20413. }
  20414. m.ReadOnly = bool(v != 0)
  20415. default:
  20416. iNdEx = preIndex
  20417. skippy, err := skipGenerated(data[iNdEx:])
  20418. if err != nil {
  20419. return err
  20420. }
  20421. if skippy < 0 {
  20422. return ErrInvalidLengthGenerated
  20423. }
  20424. if (iNdEx + skippy) > l {
  20425. return io.ErrUnexpectedEOF
  20426. }
  20427. iNdEx += skippy
  20428. }
  20429. }
  20430. if iNdEx > l {
  20431. return io.ErrUnexpectedEOF
  20432. }
  20433. return nil
  20434. }
  20435. func (m *FlexVolumeSource) Unmarshal(data []byte) error {
  20436. l := len(data)
  20437. iNdEx := 0
  20438. for iNdEx < l {
  20439. preIndex := iNdEx
  20440. var wire uint64
  20441. for shift := uint(0); ; shift += 7 {
  20442. if shift >= 64 {
  20443. return ErrIntOverflowGenerated
  20444. }
  20445. if iNdEx >= l {
  20446. return io.ErrUnexpectedEOF
  20447. }
  20448. b := data[iNdEx]
  20449. iNdEx++
  20450. wire |= (uint64(b) & 0x7F) << shift
  20451. if b < 0x80 {
  20452. break
  20453. }
  20454. }
  20455. fieldNum := int32(wire >> 3)
  20456. wireType := int(wire & 0x7)
  20457. if wireType == 4 {
  20458. return fmt.Errorf("proto: FlexVolumeSource: wiretype end group for non-group")
  20459. }
  20460. if fieldNum <= 0 {
  20461. return fmt.Errorf("proto: FlexVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20462. }
  20463. switch fieldNum {
  20464. case 1:
  20465. if wireType != 2 {
  20466. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  20467. }
  20468. var stringLen uint64
  20469. for shift := uint(0); ; shift += 7 {
  20470. if shift >= 64 {
  20471. return ErrIntOverflowGenerated
  20472. }
  20473. if iNdEx >= l {
  20474. return io.ErrUnexpectedEOF
  20475. }
  20476. b := data[iNdEx]
  20477. iNdEx++
  20478. stringLen |= (uint64(b) & 0x7F) << shift
  20479. if b < 0x80 {
  20480. break
  20481. }
  20482. }
  20483. intStringLen := int(stringLen)
  20484. if intStringLen < 0 {
  20485. return ErrInvalidLengthGenerated
  20486. }
  20487. postIndex := iNdEx + intStringLen
  20488. if postIndex > l {
  20489. return io.ErrUnexpectedEOF
  20490. }
  20491. m.Driver = string(data[iNdEx:postIndex])
  20492. iNdEx = postIndex
  20493. case 2:
  20494. if wireType != 2 {
  20495. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  20496. }
  20497. var stringLen uint64
  20498. for shift := uint(0); ; shift += 7 {
  20499. if shift >= 64 {
  20500. return ErrIntOverflowGenerated
  20501. }
  20502. if iNdEx >= l {
  20503. return io.ErrUnexpectedEOF
  20504. }
  20505. b := data[iNdEx]
  20506. iNdEx++
  20507. stringLen |= (uint64(b) & 0x7F) << shift
  20508. if b < 0x80 {
  20509. break
  20510. }
  20511. }
  20512. intStringLen := int(stringLen)
  20513. if intStringLen < 0 {
  20514. return ErrInvalidLengthGenerated
  20515. }
  20516. postIndex := iNdEx + intStringLen
  20517. if postIndex > l {
  20518. return io.ErrUnexpectedEOF
  20519. }
  20520. m.FSType = string(data[iNdEx:postIndex])
  20521. iNdEx = postIndex
  20522. case 3:
  20523. if wireType != 2 {
  20524. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  20525. }
  20526. var msglen int
  20527. for shift := uint(0); ; shift += 7 {
  20528. if shift >= 64 {
  20529. return ErrIntOverflowGenerated
  20530. }
  20531. if iNdEx >= l {
  20532. return io.ErrUnexpectedEOF
  20533. }
  20534. b := data[iNdEx]
  20535. iNdEx++
  20536. msglen |= (int(b) & 0x7F) << shift
  20537. if b < 0x80 {
  20538. break
  20539. }
  20540. }
  20541. if msglen < 0 {
  20542. return ErrInvalidLengthGenerated
  20543. }
  20544. postIndex := iNdEx + msglen
  20545. if postIndex > l {
  20546. return io.ErrUnexpectedEOF
  20547. }
  20548. if m.SecretRef == nil {
  20549. m.SecretRef = &LocalObjectReference{}
  20550. }
  20551. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  20552. return err
  20553. }
  20554. iNdEx = postIndex
  20555. case 4:
  20556. if wireType != 0 {
  20557. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  20558. }
  20559. var v int
  20560. for shift := uint(0); ; shift += 7 {
  20561. if shift >= 64 {
  20562. return ErrIntOverflowGenerated
  20563. }
  20564. if iNdEx >= l {
  20565. return io.ErrUnexpectedEOF
  20566. }
  20567. b := data[iNdEx]
  20568. iNdEx++
  20569. v |= (int(b) & 0x7F) << shift
  20570. if b < 0x80 {
  20571. break
  20572. }
  20573. }
  20574. m.ReadOnly = bool(v != 0)
  20575. case 5:
  20576. if wireType != 2 {
  20577. return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
  20578. }
  20579. var msglen int
  20580. for shift := uint(0); ; shift += 7 {
  20581. if shift >= 64 {
  20582. return ErrIntOverflowGenerated
  20583. }
  20584. if iNdEx >= l {
  20585. return io.ErrUnexpectedEOF
  20586. }
  20587. b := data[iNdEx]
  20588. iNdEx++
  20589. msglen |= (int(b) & 0x7F) << shift
  20590. if b < 0x80 {
  20591. break
  20592. }
  20593. }
  20594. if msglen < 0 {
  20595. return ErrInvalidLengthGenerated
  20596. }
  20597. postIndex := iNdEx + msglen
  20598. if postIndex > l {
  20599. return io.ErrUnexpectedEOF
  20600. }
  20601. var keykey uint64
  20602. for shift := uint(0); ; shift += 7 {
  20603. if shift >= 64 {
  20604. return ErrIntOverflowGenerated
  20605. }
  20606. if iNdEx >= l {
  20607. return io.ErrUnexpectedEOF
  20608. }
  20609. b := data[iNdEx]
  20610. iNdEx++
  20611. keykey |= (uint64(b) & 0x7F) << shift
  20612. if b < 0x80 {
  20613. break
  20614. }
  20615. }
  20616. var stringLenmapkey uint64
  20617. for shift := uint(0); ; shift += 7 {
  20618. if shift >= 64 {
  20619. return ErrIntOverflowGenerated
  20620. }
  20621. if iNdEx >= l {
  20622. return io.ErrUnexpectedEOF
  20623. }
  20624. b := data[iNdEx]
  20625. iNdEx++
  20626. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  20627. if b < 0x80 {
  20628. break
  20629. }
  20630. }
  20631. intStringLenmapkey := int(stringLenmapkey)
  20632. if intStringLenmapkey < 0 {
  20633. return ErrInvalidLengthGenerated
  20634. }
  20635. postStringIndexmapkey := iNdEx + intStringLenmapkey
  20636. if postStringIndexmapkey > l {
  20637. return io.ErrUnexpectedEOF
  20638. }
  20639. mapkey := string(data[iNdEx:postStringIndexmapkey])
  20640. iNdEx = postStringIndexmapkey
  20641. var valuekey uint64
  20642. for shift := uint(0); ; shift += 7 {
  20643. if shift >= 64 {
  20644. return ErrIntOverflowGenerated
  20645. }
  20646. if iNdEx >= l {
  20647. return io.ErrUnexpectedEOF
  20648. }
  20649. b := data[iNdEx]
  20650. iNdEx++
  20651. valuekey |= (uint64(b) & 0x7F) << shift
  20652. if b < 0x80 {
  20653. break
  20654. }
  20655. }
  20656. var stringLenmapvalue uint64
  20657. for shift := uint(0); ; shift += 7 {
  20658. if shift >= 64 {
  20659. return ErrIntOverflowGenerated
  20660. }
  20661. if iNdEx >= l {
  20662. return io.ErrUnexpectedEOF
  20663. }
  20664. b := data[iNdEx]
  20665. iNdEx++
  20666. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  20667. if b < 0x80 {
  20668. break
  20669. }
  20670. }
  20671. intStringLenmapvalue := int(stringLenmapvalue)
  20672. if intStringLenmapvalue < 0 {
  20673. return ErrInvalidLengthGenerated
  20674. }
  20675. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  20676. if postStringIndexmapvalue > l {
  20677. return io.ErrUnexpectedEOF
  20678. }
  20679. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  20680. iNdEx = postStringIndexmapvalue
  20681. if m.Options == nil {
  20682. m.Options = make(map[string]string)
  20683. }
  20684. m.Options[mapkey] = mapvalue
  20685. iNdEx = postIndex
  20686. default:
  20687. iNdEx = preIndex
  20688. skippy, err := skipGenerated(data[iNdEx:])
  20689. if err != nil {
  20690. return err
  20691. }
  20692. if skippy < 0 {
  20693. return ErrInvalidLengthGenerated
  20694. }
  20695. if (iNdEx + skippy) > l {
  20696. return io.ErrUnexpectedEOF
  20697. }
  20698. iNdEx += skippy
  20699. }
  20700. }
  20701. if iNdEx > l {
  20702. return io.ErrUnexpectedEOF
  20703. }
  20704. return nil
  20705. }
  20706. func (m *FlockerVolumeSource) Unmarshal(data []byte) error {
  20707. l := len(data)
  20708. iNdEx := 0
  20709. for iNdEx < l {
  20710. preIndex := iNdEx
  20711. var wire uint64
  20712. for shift := uint(0); ; shift += 7 {
  20713. if shift >= 64 {
  20714. return ErrIntOverflowGenerated
  20715. }
  20716. if iNdEx >= l {
  20717. return io.ErrUnexpectedEOF
  20718. }
  20719. b := data[iNdEx]
  20720. iNdEx++
  20721. wire |= (uint64(b) & 0x7F) << shift
  20722. if b < 0x80 {
  20723. break
  20724. }
  20725. }
  20726. fieldNum := int32(wire >> 3)
  20727. wireType := int(wire & 0x7)
  20728. if wireType == 4 {
  20729. return fmt.Errorf("proto: FlockerVolumeSource: wiretype end group for non-group")
  20730. }
  20731. if fieldNum <= 0 {
  20732. return fmt.Errorf("proto: FlockerVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20733. }
  20734. switch fieldNum {
  20735. case 1:
  20736. if wireType != 2 {
  20737. return fmt.Errorf("proto: wrong wireType = %d for field DatasetName", wireType)
  20738. }
  20739. var stringLen uint64
  20740. for shift := uint(0); ; shift += 7 {
  20741. if shift >= 64 {
  20742. return ErrIntOverflowGenerated
  20743. }
  20744. if iNdEx >= l {
  20745. return io.ErrUnexpectedEOF
  20746. }
  20747. b := data[iNdEx]
  20748. iNdEx++
  20749. stringLen |= (uint64(b) & 0x7F) << shift
  20750. if b < 0x80 {
  20751. break
  20752. }
  20753. }
  20754. intStringLen := int(stringLen)
  20755. if intStringLen < 0 {
  20756. return ErrInvalidLengthGenerated
  20757. }
  20758. postIndex := iNdEx + intStringLen
  20759. if postIndex > l {
  20760. return io.ErrUnexpectedEOF
  20761. }
  20762. m.DatasetName = string(data[iNdEx:postIndex])
  20763. iNdEx = postIndex
  20764. case 2:
  20765. if wireType != 2 {
  20766. return fmt.Errorf("proto: wrong wireType = %d for field DatasetUUID", wireType)
  20767. }
  20768. var stringLen uint64
  20769. for shift := uint(0); ; shift += 7 {
  20770. if shift >= 64 {
  20771. return ErrIntOverflowGenerated
  20772. }
  20773. if iNdEx >= l {
  20774. return io.ErrUnexpectedEOF
  20775. }
  20776. b := data[iNdEx]
  20777. iNdEx++
  20778. stringLen |= (uint64(b) & 0x7F) << shift
  20779. if b < 0x80 {
  20780. break
  20781. }
  20782. }
  20783. intStringLen := int(stringLen)
  20784. if intStringLen < 0 {
  20785. return ErrInvalidLengthGenerated
  20786. }
  20787. postIndex := iNdEx + intStringLen
  20788. if postIndex > l {
  20789. return io.ErrUnexpectedEOF
  20790. }
  20791. m.DatasetUUID = string(data[iNdEx:postIndex])
  20792. iNdEx = postIndex
  20793. default:
  20794. iNdEx = preIndex
  20795. skippy, err := skipGenerated(data[iNdEx:])
  20796. if err != nil {
  20797. return err
  20798. }
  20799. if skippy < 0 {
  20800. return ErrInvalidLengthGenerated
  20801. }
  20802. if (iNdEx + skippy) > l {
  20803. return io.ErrUnexpectedEOF
  20804. }
  20805. iNdEx += skippy
  20806. }
  20807. }
  20808. if iNdEx > l {
  20809. return io.ErrUnexpectedEOF
  20810. }
  20811. return nil
  20812. }
  20813. func (m *GCEPersistentDiskVolumeSource) Unmarshal(data []byte) error {
  20814. l := len(data)
  20815. iNdEx := 0
  20816. for iNdEx < l {
  20817. preIndex := iNdEx
  20818. var wire uint64
  20819. for shift := uint(0); ; shift += 7 {
  20820. if shift >= 64 {
  20821. return ErrIntOverflowGenerated
  20822. }
  20823. if iNdEx >= l {
  20824. return io.ErrUnexpectedEOF
  20825. }
  20826. b := data[iNdEx]
  20827. iNdEx++
  20828. wire |= (uint64(b) & 0x7F) << shift
  20829. if b < 0x80 {
  20830. break
  20831. }
  20832. }
  20833. fieldNum := int32(wire >> 3)
  20834. wireType := int(wire & 0x7)
  20835. if wireType == 4 {
  20836. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: wiretype end group for non-group")
  20837. }
  20838. if fieldNum <= 0 {
  20839. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20840. }
  20841. switch fieldNum {
  20842. case 1:
  20843. if wireType != 2 {
  20844. return fmt.Errorf("proto: wrong wireType = %d for field PDName", wireType)
  20845. }
  20846. var stringLen uint64
  20847. for shift := uint(0); ; shift += 7 {
  20848. if shift >= 64 {
  20849. return ErrIntOverflowGenerated
  20850. }
  20851. if iNdEx >= l {
  20852. return io.ErrUnexpectedEOF
  20853. }
  20854. b := data[iNdEx]
  20855. iNdEx++
  20856. stringLen |= (uint64(b) & 0x7F) << shift
  20857. if b < 0x80 {
  20858. break
  20859. }
  20860. }
  20861. intStringLen := int(stringLen)
  20862. if intStringLen < 0 {
  20863. return ErrInvalidLengthGenerated
  20864. }
  20865. postIndex := iNdEx + intStringLen
  20866. if postIndex > l {
  20867. return io.ErrUnexpectedEOF
  20868. }
  20869. m.PDName = string(data[iNdEx:postIndex])
  20870. iNdEx = postIndex
  20871. case 2:
  20872. if wireType != 2 {
  20873. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  20874. }
  20875. var stringLen uint64
  20876. for shift := uint(0); ; shift += 7 {
  20877. if shift >= 64 {
  20878. return ErrIntOverflowGenerated
  20879. }
  20880. if iNdEx >= l {
  20881. return io.ErrUnexpectedEOF
  20882. }
  20883. b := data[iNdEx]
  20884. iNdEx++
  20885. stringLen |= (uint64(b) & 0x7F) << shift
  20886. if b < 0x80 {
  20887. break
  20888. }
  20889. }
  20890. intStringLen := int(stringLen)
  20891. if intStringLen < 0 {
  20892. return ErrInvalidLengthGenerated
  20893. }
  20894. postIndex := iNdEx + intStringLen
  20895. if postIndex > l {
  20896. return io.ErrUnexpectedEOF
  20897. }
  20898. m.FSType = string(data[iNdEx:postIndex])
  20899. iNdEx = postIndex
  20900. case 3:
  20901. if wireType != 0 {
  20902. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  20903. }
  20904. m.Partition = 0
  20905. for shift := uint(0); ; shift += 7 {
  20906. if shift >= 64 {
  20907. return ErrIntOverflowGenerated
  20908. }
  20909. if iNdEx >= l {
  20910. return io.ErrUnexpectedEOF
  20911. }
  20912. b := data[iNdEx]
  20913. iNdEx++
  20914. m.Partition |= (int32(b) & 0x7F) << shift
  20915. if b < 0x80 {
  20916. break
  20917. }
  20918. }
  20919. case 4:
  20920. if wireType != 0 {
  20921. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  20922. }
  20923. var v int
  20924. for shift := uint(0); ; shift += 7 {
  20925. if shift >= 64 {
  20926. return ErrIntOverflowGenerated
  20927. }
  20928. if iNdEx >= l {
  20929. return io.ErrUnexpectedEOF
  20930. }
  20931. b := data[iNdEx]
  20932. iNdEx++
  20933. v |= (int(b) & 0x7F) << shift
  20934. if b < 0x80 {
  20935. break
  20936. }
  20937. }
  20938. m.ReadOnly = bool(v != 0)
  20939. default:
  20940. iNdEx = preIndex
  20941. skippy, err := skipGenerated(data[iNdEx:])
  20942. if err != nil {
  20943. return err
  20944. }
  20945. if skippy < 0 {
  20946. return ErrInvalidLengthGenerated
  20947. }
  20948. if (iNdEx + skippy) > l {
  20949. return io.ErrUnexpectedEOF
  20950. }
  20951. iNdEx += skippy
  20952. }
  20953. }
  20954. if iNdEx > l {
  20955. return io.ErrUnexpectedEOF
  20956. }
  20957. return nil
  20958. }
  20959. func (m *GitRepoVolumeSource) Unmarshal(data []byte) error {
  20960. l := len(data)
  20961. iNdEx := 0
  20962. for iNdEx < l {
  20963. preIndex := iNdEx
  20964. var wire uint64
  20965. for shift := uint(0); ; shift += 7 {
  20966. if shift >= 64 {
  20967. return ErrIntOverflowGenerated
  20968. }
  20969. if iNdEx >= l {
  20970. return io.ErrUnexpectedEOF
  20971. }
  20972. b := data[iNdEx]
  20973. iNdEx++
  20974. wire |= (uint64(b) & 0x7F) << shift
  20975. if b < 0x80 {
  20976. break
  20977. }
  20978. }
  20979. fieldNum := int32(wire >> 3)
  20980. wireType := int(wire & 0x7)
  20981. if wireType == 4 {
  20982. return fmt.Errorf("proto: GitRepoVolumeSource: wiretype end group for non-group")
  20983. }
  20984. if fieldNum <= 0 {
  20985. return fmt.Errorf("proto: GitRepoVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20986. }
  20987. switch fieldNum {
  20988. case 1:
  20989. if wireType != 2 {
  20990. return fmt.Errorf("proto: wrong wireType = %d for field Repository", wireType)
  20991. }
  20992. var stringLen uint64
  20993. for shift := uint(0); ; shift += 7 {
  20994. if shift >= 64 {
  20995. return ErrIntOverflowGenerated
  20996. }
  20997. if iNdEx >= l {
  20998. return io.ErrUnexpectedEOF
  20999. }
  21000. b := data[iNdEx]
  21001. iNdEx++
  21002. stringLen |= (uint64(b) & 0x7F) << shift
  21003. if b < 0x80 {
  21004. break
  21005. }
  21006. }
  21007. intStringLen := int(stringLen)
  21008. if intStringLen < 0 {
  21009. return ErrInvalidLengthGenerated
  21010. }
  21011. postIndex := iNdEx + intStringLen
  21012. if postIndex > l {
  21013. return io.ErrUnexpectedEOF
  21014. }
  21015. m.Repository = string(data[iNdEx:postIndex])
  21016. iNdEx = postIndex
  21017. case 2:
  21018. if wireType != 2 {
  21019. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  21020. }
  21021. var stringLen uint64
  21022. for shift := uint(0); ; shift += 7 {
  21023. if shift >= 64 {
  21024. return ErrIntOverflowGenerated
  21025. }
  21026. if iNdEx >= l {
  21027. return io.ErrUnexpectedEOF
  21028. }
  21029. b := data[iNdEx]
  21030. iNdEx++
  21031. stringLen |= (uint64(b) & 0x7F) << shift
  21032. if b < 0x80 {
  21033. break
  21034. }
  21035. }
  21036. intStringLen := int(stringLen)
  21037. if intStringLen < 0 {
  21038. return ErrInvalidLengthGenerated
  21039. }
  21040. postIndex := iNdEx + intStringLen
  21041. if postIndex > l {
  21042. return io.ErrUnexpectedEOF
  21043. }
  21044. m.Revision = string(data[iNdEx:postIndex])
  21045. iNdEx = postIndex
  21046. case 3:
  21047. if wireType != 2 {
  21048. return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType)
  21049. }
  21050. var stringLen uint64
  21051. for shift := uint(0); ; shift += 7 {
  21052. if shift >= 64 {
  21053. return ErrIntOverflowGenerated
  21054. }
  21055. if iNdEx >= l {
  21056. return io.ErrUnexpectedEOF
  21057. }
  21058. b := data[iNdEx]
  21059. iNdEx++
  21060. stringLen |= (uint64(b) & 0x7F) << shift
  21061. if b < 0x80 {
  21062. break
  21063. }
  21064. }
  21065. intStringLen := int(stringLen)
  21066. if intStringLen < 0 {
  21067. return ErrInvalidLengthGenerated
  21068. }
  21069. postIndex := iNdEx + intStringLen
  21070. if postIndex > l {
  21071. return io.ErrUnexpectedEOF
  21072. }
  21073. m.Directory = string(data[iNdEx:postIndex])
  21074. iNdEx = postIndex
  21075. default:
  21076. iNdEx = preIndex
  21077. skippy, err := skipGenerated(data[iNdEx:])
  21078. if err != nil {
  21079. return err
  21080. }
  21081. if skippy < 0 {
  21082. return ErrInvalidLengthGenerated
  21083. }
  21084. if (iNdEx + skippy) > l {
  21085. return io.ErrUnexpectedEOF
  21086. }
  21087. iNdEx += skippy
  21088. }
  21089. }
  21090. if iNdEx > l {
  21091. return io.ErrUnexpectedEOF
  21092. }
  21093. return nil
  21094. }
  21095. func (m *GlusterfsVolumeSource) Unmarshal(data []byte) error {
  21096. l := len(data)
  21097. iNdEx := 0
  21098. for iNdEx < l {
  21099. preIndex := iNdEx
  21100. var wire uint64
  21101. for shift := uint(0); ; shift += 7 {
  21102. if shift >= 64 {
  21103. return ErrIntOverflowGenerated
  21104. }
  21105. if iNdEx >= l {
  21106. return io.ErrUnexpectedEOF
  21107. }
  21108. b := data[iNdEx]
  21109. iNdEx++
  21110. wire |= (uint64(b) & 0x7F) << shift
  21111. if b < 0x80 {
  21112. break
  21113. }
  21114. }
  21115. fieldNum := int32(wire >> 3)
  21116. wireType := int(wire & 0x7)
  21117. if wireType == 4 {
  21118. return fmt.Errorf("proto: GlusterfsVolumeSource: wiretype end group for non-group")
  21119. }
  21120. if fieldNum <= 0 {
  21121. return fmt.Errorf("proto: GlusterfsVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  21122. }
  21123. switch fieldNum {
  21124. case 1:
  21125. if wireType != 2 {
  21126. return fmt.Errorf("proto: wrong wireType = %d for field EndpointsName", wireType)
  21127. }
  21128. var stringLen uint64
  21129. for shift := uint(0); ; shift += 7 {
  21130. if shift >= 64 {
  21131. return ErrIntOverflowGenerated
  21132. }
  21133. if iNdEx >= l {
  21134. return io.ErrUnexpectedEOF
  21135. }
  21136. b := data[iNdEx]
  21137. iNdEx++
  21138. stringLen |= (uint64(b) & 0x7F) << shift
  21139. if b < 0x80 {
  21140. break
  21141. }
  21142. }
  21143. intStringLen := int(stringLen)
  21144. if intStringLen < 0 {
  21145. return ErrInvalidLengthGenerated
  21146. }
  21147. postIndex := iNdEx + intStringLen
  21148. if postIndex > l {
  21149. return io.ErrUnexpectedEOF
  21150. }
  21151. m.EndpointsName = string(data[iNdEx:postIndex])
  21152. iNdEx = postIndex
  21153. case 2:
  21154. if wireType != 2 {
  21155. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  21156. }
  21157. var stringLen uint64
  21158. for shift := uint(0); ; shift += 7 {
  21159. if shift >= 64 {
  21160. return ErrIntOverflowGenerated
  21161. }
  21162. if iNdEx >= l {
  21163. return io.ErrUnexpectedEOF
  21164. }
  21165. b := data[iNdEx]
  21166. iNdEx++
  21167. stringLen |= (uint64(b) & 0x7F) << shift
  21168. if b < 0x80 {
  21169. break
  21170. }
  21171. }
  21172. intStringLen := int(stringLen)
  21173. if intStringLen < 0 {
  21174. return ErrInvalidLengthGenerated
  21175. }
  21176. postIndex := iNdEx + intStringLen
  21177. if postIndex > l {
  21178. return io.ErrUnexpectedEOF
  21179. }
  21180. m.Path = string(data[iNdEx:postIndex])
  21181. iNdEx = postIndex
  21182. case 3:
  21183. if wireType != 0 {
  21184. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  21185. }
  21186. var v int
  21187. for shift := uint(0); ; shift += 7 {
  21188. if shift >= 64 {
  21189. return ErrIntOverflowGenerated
  21190. }
  21191. if iNdEx >= l {
  21192. return io.ErrUnexpectedEOF
  21193. }
  21194. b := data[iNdEx]
  21195. iNdEx++
  21196. v |= (int(b) & 0x7F) << shift
  21197. if b < 0x80 {
  21198. break
  21199. }
  21200. }
  21201. m.ReadOnly = bool(v != 0)
  21202. default:
  21203. iNdEx = preIndex
  21204. skippy, err := skipGenerated(data[iNdEx:])
  21205. if err != nil {
  21206. return err
  21207. }
  21208. if skippy < 0 {
  21209. return ErrInvalidLengthGenerated
  21210. }
  21211. if (iNdEx + skippy) > l {
  21212. return io.ErrUnexpectedEOF
  21213. }
  21214. iNdEx += skippy
  21215. }
  21216. }
  21217. if iNdEx > l {
  21218. return io.ErrUnexpectedEOF
  21219. }
  21220. return nil
  21221. }
  21222. func (m *HTTPGetAction) Unmarshal(data []byte) error {
  21223. l := len(data)
  21224. iNdEx := 0
  21225. for iNdEx < l {
  21226. preIndex := iNdEx
  21227. var wire uint64
  21228. for shift := uint(0); ; shift += 7 {
  21229. if shift >= 64 {
  21230. return ErrIntOverflowGenerated
  21231. }
  21232. if iNdEx >= l {
  21233. return io.ErrUnexpectedEOF
  21234. }
  21235. b := data[iNdEx]
  21236. iNdEx++
  21237. wire |= (uint64(b) & 0x7F) << shift
  21238. if b < 0x80 {
  21239. break
  21240. }
  21241. }
  21242. fieldNum := int32(wire >> 3)
  21243. wireType := int(wire & 0x7)
  21244. if wireType == 4 {
  21245. return fmt.Errorf("proto: HTTPGetAction: wiretype end group for non-group")
  21246. }
  21247. if fieldNum <= 0 {
  21248. return fmt.Errorf("proto: HTTPGetAction: illegal tag %d (wire type %d)", fieldNum, wire)
  21249. }
  21250. switch fieldNum {
  21251. case 1:
  21252. if wireType != 2 {
  21253. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  21254. }
  21255. var stringLen uint64
  21256. for shift := uint(0); ; shift += 7 {
  21257. if shift >= 64 {
  21258. return ErrIntOverflowGenerated
  21259. }
  21260. if iNdEx >= l {
  21261. return io.ErrUnexpectedEOF
  21262. }
  21263. b := data[iNdEx]
  21264. iNdEx++
  21265. stringLen |= (uint64(b) & 0x7F) << shift
  21266. if b < 0x80 {
  21267. break
  21268. }
  21269. }
  21270. intStringLen := int(stringLen)
  21271. if intStringLen < 0 {
  21272. return ErrInvalidLengthGenerated
  21273. }
  21274. postIndex := iNdEx + intStringLen
  21275. if postIndex > l {
  21276. return io.ErrUnexpectedEOF
  21277. }
  21278. m.Path = string(data[iNdEx:postIndex])
  21279. iNdEx = postIndex
  21280. case 2:
  21281. if wireType != 2 {
  21282. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  21283. }
  21284. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  21295. if b < 0x80 {
  21296. break
  21297. }
  21298. }
  21299. if msglen < 0 {
  21300. return ErrInvalidLengthGenerated
  21301. }
  21302. postIndex := iNdEx + msglen
  21303. if postIndex > l {
  21304. return io.ErrUnexpectedEOF
  21305. }
  21306. if err := m.Port.Unmarshal(data[iNdEx:postIndex]); err != nil {
  21307. return err
  21308. }
  21309. iNdEx = postIndex
  21310. case 3:
  21311. if wireType != 2 {
  21312. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  21313. }
  21314. var stringLen uint64
  21315. for shift := uint(0); ; shift += 7 {
  21316. if shift >= 64 {
  21317. return ErrIntOverflowGenerated
  21318. }
  21319. if iNdEx >= l {
  21320. return io.ErrUnexpectedEOF
  21321. }
  21322. b := data[iNdEx]
  21323. iNdEx++
  21324. stringLen |= (uint64(b) & 0x7F) << shift
  21325. if b < 0x80 {
  21326. break
  21327. }
  21328. }
  21329. intStringLen := int(stringLen)
  21330. if intStringLen < 0 {
  21331. return ErrInvalidLengthGenerated
  21332. }
  21333. postIndex := iNdEx + intStringLen
  21334. if postIndex > l {
  21335. return io.ErrUnexpectedEOF
  21336. }
  21337. m.Host = string(data[iNdEx:postIndex])
  21338. iNdEx = postIndex
  21339. case 4:
  21340. if wireType != 2 {
  21341. return fmt.Errorf("proto: wrong wireType = %d for field Scheme", wireType)
  21342. }
  21343. var stringLen uint64
  21344. for shift := uint(0); ; shift += 7 {
  21345. if shift >= 64 {
  21346. return ErrIntOverflowGenerated
  21347. }
  21348. if iNdEx >= l {
  21349. return io.ErrUnexpectedEOF
  21350. }
  21351. b := data[iNdEx]
  21352. iNdEx++
  21353. stringLen |= (uint64(b) & 0x7F) << shift
  21354. if b < 0x80 {
  21355. break
  21356. }
  21357. }
  21358. intStringLen := int(stringLen)
  21359. if intStringLen < 0 {
  21360. return ErrInvalidLengthGenerated
  21361. }
  21362. postIndex := iNdEx + intStringLen
  21363. if postIndex > l {
  21364. return io.ErrUnexpectedEOF
  21365. }
  21366. m.Scheme = URIScheme(data[iNdEx:postIndex])
  21367. iNdEx = postIndex
  21368. case 5:
  21369. if wireType != 2 {
  21370. return fmt.Errorf("proto: wrong wireType = %d for field HTTPHeaders", wireType)
  21371. }
  21372. var msglen int
  21373. for shift := uint(0); ; shift += 7 {
  21374. if shift >= 64 {
  21375. return ErrIntOverflowGenerated
  21376. }
  21377. if iNdEx >= l {
  21378. return io.ErrUnexpectedEOF
  21379. }
  21380. b := data[iNdEx]
  21381. iNdEx++
  21382. msglen |= (int(b) & 0x7F) << shift
  21383. if b < 0x80 {
  21384. break
  21385. }
  21386. }
  21387. if msglen < 0 {
  21388. return ErrInvalidLengthGenerated
  21389. }
  21390. postIndex := iNdEx + msglen
  21391. if postIndex > l {
  21392. return io.ErrUnexpectedEOF
  21393. }
  21394. m.HTTPHeaders = append(m.HTTPHeaders, HTTPHeader{})
  21395. if err := m.HTTPHeaders[len(m.HTTPHeaders)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  21396. return err
  21397. }
  21398. iNdEx = postIndex
  21399. default:
  21400. iNdEx = preIndex
  21401. skippy, err := skipGenerated(data[iNdEx:])
  21402. if err != nil {
  21403. return err
  21404. }
  21405. if skippy < 0 {
  21406. return ErrInvalidLengthGenerated
  21407. }
  21408. if (iNdEx + skippy) > l {
  21409. return io.ErrUnexpectedEOF
  21410. }
  21411. iNdEx += skippy
  21412. }
  21413. }
  21414. if iNdEx > l {
  21415. return io.ErrUnexpectedEOF
  21416. }
  21417. return nil
  21418. }
  21419. func (m *HTTPHeader) Unmarshal(data []byte) error {
  21420. l := len(data)
  21421. iNdEx := 0
  21422. for iNdEx < l {
  21423. preIndex := iNdEx
  21424. var wire uint64
  21425. for shift := uint(0); ; shift += 7 {
  21426. if shift >= 64 {
  21427. return ErrIntOverflowGenerated
  21428. }
  21429. if iNdEx >= l {
  21430. return io.ErrUnexpectedEOF
  21431. }
  21432. b := data[iNdEx]
  21433. iNdEx++
  21434. wire |= (uint64(b) & 0x7F) << shift
  21435. if b < 0x80 {
  21436. break
  21437. }
  21438. }
  21439. fieldNum := int32(wire >> 3)
  21440. wireType := int(wire & 0x7)
  21441. if wireType == 4 {
  21442. return fmt.Errorf("proto: HTTPHeader: wiretype end group for non-group")
  21443. }
  21444. if fieldNum <= 0 {
  21445. return fmt.Errorf("proto: HTTPHeader: illegal tag %d (wire type %d)", fieldNum, wire)
  21446. }
  21447. switch fieldNum {
  21448. case 1:
  21449. if wireType != 2 {
  21450. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  21451. }
  21452. var stringLen uint64
  21453. for shift := uint(0); ; shift += 7 {
  21454. if shift >= 64 {
  21455. return ErrIntOverflowGenerated
  21456. }
  21457. if iNdEx >= l {
  21458. return io.ErrUnexpectedEOF
  21459. }
  21460. b := data[iNdEx]
  21461. iNdEx++
  21462. stringLen |= (uint64(b) & 0x7F) << shift
  21463. if b < 0x80 {
  21464. break
  21465. }
  21466. }
  21467. intStringLen := int(stringLen)
  21468. if intStringLen < 0 {
  21469. return ErrInvalidLengthGenerated
  21470. }
  21471. postIndex := iNdEx + intStringLen
  21472. if postIndex > l {
  21473. return io.ErrUnexpectedEOF
  21474. }
  21475. m.Name = string(data[iNdEx:postIndex])
  21476. iNdEx = postIndex
  21477. case 2:
  21478. if wireType != 2 {
  21479. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  21480. }
  21481. var stringLen uint64
  21482. for shift := uint(0); ; shift += 7 {
  21483. if shift >= 64 {
  21484. return ErrIntOverflowGenerated
  21485. }
  21486. if iNdEx >= l {
  21487. return io.ErrUnexpectedEOF
  21488. }
  21489. b := data[iNdEx]
  21490. iNdEx++
  21491. stringLen |= (uint64(b) & 0x7F) << shift
  21492. if b < 0x80 {
  21493. break
  21494. }
  21495. }
  21496. intStringLen := int(stringLen)
  21497. if intStringLen < 0 {
  21498. return ErrInvalidLengthGenerated
  21499. }
  21500. postIndex := iNdEx + intStringLen
  21501. if postIndex > l {
  21502. return io.ErrUnexpectedEOF
  21503. }
  21504. m.Value = string(data[iNdEx:postIndex])
  21505. iNdEx = postIndex
  21506. default:
  21507. iNdEx = preIndex
  21508. skippy, err := skipGenerated(data[iNdEx:])
  21509. if err != nil {
  21510. return err
  21511. }
  21512. if skippy < 0 {
  21513. return ErrInvalidLengthGenerated
  21514. }
  21515. if (iNdEx + skippy) > l {
  21516. return io.ErrUnexpectedEOF
  21517. }
  21518. iNdEx += skippy
  21519. }
  21520. }
  21521. if iNdEx > l {
  21522. return io.ErrUnexpectedEOF
  21523. }
  21524. return nil
  21525. }
  21526. func (m *Handler) Unmarshal(data []byte) error {
  21527. l := len(data)
  21528. iNdEx := 0
  21529. for iNdEx < l {
  21530. preIndex := iNdEx
  21531. var wire uint64
  21532. for shift := uint(0); ; shift += 7 {
  21533. if shift >= 64 {
  21534. return ErrIntOverflowGenerated
  21535. }
  21536. if iNdEx >= l {
  21537. return io.ErrUnexpectedEOF
  21538. }
  21539. b := data[iNdEx]
  21540. iNdEx++
  21541. wire |= (uint64(b) & 0x7F) << shift
  21542. if b < 0x80 {
  21543. break
  21544. }
  21545. }
  21546. fieldNum := int32(wire >> 3)
  21547. wireType := int(wire & 0x7)
  21548. if wireType == 4 {
  21549. return fmt.Errorf("proto: Handler: wiretype end group for non-group")
  21550. }
  21551. if fieldNum <= 0 {
  21552. return fmt.Errorf("proto: Handler: illegal tag %d (wire type %d)", fieldNum, wire)
  21553. }
  21554. switch fieldNum {
  21555. case 1:
  21556. if wireType != 2 {
  21557. return fmt.Errorf("proto: wrong wireType = %d for field Exec", wireType)
  21558. }
  21559. var msglen int
  21560. for shift := uint(0); ; shift += 7 {
  21561. if shift >= 64 {
  21562. return ErrIntOverflowGenerated
  21563. }
  21564. if iNdEx >= l {
  21565. return io.ErrUnexpectedEOF
  21566. }
  21567. b := data[iNdEx]
  21568. iNdEx++
  21569. msglen |= (int(b) & 0x7F) << shift
  21570. if b < 0x80 {
  21571. break
  21572. }
  21573. }
  21574. if msglen < 0 {
  21575. return ErrInvalidLengthGenerated
  21576. }
  21577. postIndex := iNdEx + msglen
  21578. if postIndex > l {
  21579. return io.ErrUnexpectedEOF
  21580. }
  21581. if m.Exec == nil {
  21582. m.Exec = &ExecAction{}
  21583. }
  21584. if err := m.Exec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  21585. return err
  21586. }
  21587. iNdEx = postIndex
  21588. case 2:
  21589. if wireType != 2 {
  21590. return fmt.Errorf("proto: wrong wireType = %d for field HTTPGet", wireType)
  21591. }
  21592. var msglen int
  21593. for shift := uint(0); ; shift += 7 {
  21594. if shift >= 64 {
  21595. return ErrIntOverflowGenerated
  21596. }
  21597. if iNdEx >= l {
  21598. return io.ErrUnexpectedEOF
  21599. }
  21600. b := data[iNdEx]
  21601. iNdEx++
  21602. msglen |= (int(b) & 0x7F) << shift
  21603. if b < 0x80 {
  21604. break
  21605. }
  21606. }
  21607. if msglen < 0 {
  21608. return ErrInvalidLengthGenerated
  21609. }
  21610. postIndex := iNdEx + msglen
  21611. if postIndex > l {
  21612. return io.ErrUnexpectedEOF
  21613. }
  21614. if m.HTTPGet == nil {
  21615. m.HTTPGet = &HTTPGetAction{}
  21616. }
  21617. if err := m.HTTPGet.Unmarshal(data[iNdEx:postIndex]); err != nil {
  21618. return err
  21619. }
  21620. iNdEx = postIndex
  21621. case 3:
  21622. if wireType != 2 {
  21623. return fmt.Errorf("proto: wrong wireType = %d for field TCPSocket", wireType)
  21624. }
  21625. var msglen int
  21626. for shift := uint(0); ; shift += 7 {
  21627. if shift >= 64 {
  21628. return ErrIntOverflowGenerated
  21629. }
  21630. if iNdEx >= l {
  21631. return io.ErrUnexpectedEOF
  21632. }
  21633. b := data[iNdEx]
  21634. iNdEx++
  21635. msglen |= (int(b) & 0x7F) << shift
  21636. if b < 0x80 {
  21637. break
  21638. }
  21639. }
  21640. if msglen < 0 {
  21641. return ErrInvalidLengthGenerated
  21642. }
  21643. postIndex := iNdEx + msglen
  21644. if postIndex > l {
  21645. return io.ErrUnexpectedEOF
  21646. }
  21647. if m.TCPSocket == nil {
  21648. m.TCPSocket = &TCPSocketAction{}
  21649. }
  21650. if err := m.TCPSocket.Unmarshal(data[iNdEx:postIndex]); err != nil {
  21651. return err
  21652. }
  21653. iNdEx = postIndex
  21654. default:
  21655. iNdEx = preIndex
  21656. skippy, err := skipGenerated(data[iNdEx:])
  21657. if err != nil {
  21658. return err
  21659. }
  21660. if skippy < 0 {
  21661. return ErrInvalidLengthGenerated
  21662. }
  21663. if (iNdEx + skippy) > l {
  21664. return io.ErrUnexpectedEOF
  21665. }
  21666. iNdEx += skippy
  21667. }
  21668. }
  21669. if iNdEx > l {
  21670. return io.ErrUnexpectedEOF
  21671. }
  21672. return nil
  21673. }
  21674. func (m *HostPathVolumeSource) Unmarshal(data []byte) error {
  21675. l := len(data)
  21676. iNdEx := 0
  21677. for iNdEx < l {
  21678. preIndex := iNdEx
  21679. var wire uint64
  21680. for shift := uint(0); ; shift += 7 {
  21681. if shift >= 64 {
  21682. return ErrIntOverflowGenerated
  21683. }
  21684. if iNdEx >= l {
  21685. return io.ErrUnexpectedEOF
  21686. }
  21687. b := data[iNdEx]
  21688. iNdEx++
  21689. wire |= (uint64(b) & 0x7F) << shift
  21690. if b < 0x80 {
  21691. break
  21692. }
  21693. }
  21694. fieldNum := int32(wire >> 3)
  21695. wireType := int(wire & 0x7)
  21696. if wireType == 4 {
  21697. return fmt.Errorf("proto: HostPathVolumeSource: wiretype end group for non-group")
  21698. }
  21699. if fieldNum <= 0 {
  21700. return fmt.Errorf("proto: HostPathVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  21701. }
  21702. switch fieldNum {
  21703. case 1:
  21704. if wireType != 2 {
  21705. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  21706. }
  21707. var stringLen uint64
  21708. for shift := uint(0); ; shift += 7 {
  21709. if shift >= 64 {
  21710. return ErrIntOverflowGenerated
  21711. }
  21712. if iNdEx >= l {
  21713. return io.ErrUnexpectedEOF
  21714. }
  21715. b := data[iNdEx]
  21716. iNdEx++
  21717. stringLen |= (uint64(b) & 0x7F) << shift
  21718. if b < 0x80 {
  21719. break
  21720. }
  21721. }
  21722. intStringLen := int(stringLen)
  21723. if intStringLen < 0 {
  21724. return ErrInvalidLengthGenerated
  21725. }
  21726. postIndex := iNdEx + intStringLen
  21727. if postIndex > l {
  21728. return io.ErrUnexpectedEOF
  21729. }
  21730. m.Path = string(data[iNdEx:postIndex])
  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 *ISCSIVolumeSource) 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: ISCSIVolumeSource: wiretype end group for non-group")
  21776. }
  21777. if fieldNum <= 0 {
  21778. return fmt.Errorf("proto: ISCSIVolumeSource: 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 TargetPortal", 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.TargetPortal = string(data[iNdEx:postIndex])
  21809. iNdEx = postIndex
  21810. case 2:
  21811. if wireType != 2 {
  21812. return fmt.Errorf("proto: wrong wireType = %d for field IQN", wireType)
  21813. }
  21814. var stringLen uint64
  21815. for shift := uint(0); ; shift += 7 {
  21816. if shift >= 64 {
  21817. return ErrIntOverflowGenerated
  21818. }
  21819. if iNdEx >= l {
  21820. return io.ErrUnexpectedEOF
  21821. }
  21822. b := data[iNdEx]
  21823. iNdEx++
  21824. stringLen |= (uint64(b) & 0x7F) << shift
  21825. if b < 0x80 {
  21826. break
  21827. }
  21828. }
  21829. intStringLen := int(stringLen)
  21830. if intStringLen < 0 {
  21831. return ErrInvalidLengthGenerated
  21832. }
  21833. postIndex := iNdEx + intStringLen
  21834. if postIndex > l {
  21835. return io.ErrUnexpectedEOF
  21836. }
  21837. m.IQN = string(data[iNdEx:postIndex])
  21838. iNdEx = postIndex
  21839. case 3:
  21840. if wireType != 0 {
  21841. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  21842. }
  21843. m.Lun = 0
  21844. for shift := uint(0); ; shift += 7 {
  21845. if shift >= 64 {
  21846. return ErrIntOverflowGenerated
  21847. }
  21848. if iNdEx >= l {
  21849. return io.ErrUnexpectedEOF
  21850. }
  21851. b := data[iNdEx]
  21852. iNdEx++
  21853. m.Lun |= (int32(b) & 0x7F) << shift
  21854. if b < 0x80 {
  21855. break
  21856. }
  21857. }
  21858. case 4:
  21859. if wireType != 2 {
  21860. return fmt.Errorf("proto: wrong wireType = %d for field ISCSIInterface", wireType)
  21861. }
  21862. var stringLen uint64
  21863. for shift := uint(0); ; shift += 7 {
  21864. if shift >= 64 {
  21865. return ErrIntOverflowGenerated
  21866. }
  21867. if iNdEx >= l {
  21868. return io.ErrUnexpectedEOF
  21869. }
  21870. b := data[iNdEx]
  21871. iNdEx++
  21872. stringLen |= (uint64(b) & 0x7F) << shift
  21873. if b < 0x80 {
  21874. break
  21875. }
  21876. }
  21877. intStringLen := int(stringLen)
  21878. if intStringLen < 0 {
  21879. return ErrInvalidLengthGenerated
  21880. }
  21881. postIndex := iNdEx + intStringLen
  21882. if postIndex > l {
  21883. return io.ErrUnexpectedEOF
  21884. }
  21885. m.ISCSIInterface = string(data[iNdEx:postIndex])
  21886. iNdEx = postIndex
  21887. case 5:
  21888. if wireType != 2 {
  21889. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  21890. }
  21891. var stringLen uint64
  21892. for shift := uint(0); ; shift += 7 {
  21893. if shift >= 64 {
  21894. return ErrIntOverflowGenerated
  21895. }
  21896. if iNdEx >= l {
  21897. return io.ErrUnexpectedEOF
  21898. }
  21899. b := data[iNdEx]
  21900. iNdEx++
  21901. stringLen |= (uint64(b) & 0x7F) << shift
  21902. if b < 0x80 {
  21903. break
  21904. }
  21905. }
  21906. intStringLen := int(stringLen)
  21907. if intStringLen < 0 {
  21908. return ErrInvalidLengthGenerated
  21909. }
  21910. postIndex := iNdEx + intStringLen
  21911. if postIndex > l {
  21912. return io.ErrUnexpectedEOF
  21913. }
  21914. m.FSType = string(data[iNdEx:postIndex])
  21915. iNdEx = postIndex
  21916. case 6:
  21917. if wireType != 0 {
  21918. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  21919. }
  21920. var v int
  21921. for shift := uint(0); ; shift += 7 {
  21922. if shift >= 64 {
  21923. return ErrIntOverflowGenerated
  21924. }
  21925. if iNdEx >= l {
  21926. return io.ErrUnexpectedEOF
  21927. }
  21928. b := data[iNdEx]
  21929. iNdEx++
  21930. v |= (int(b) & 0x7F) << shift
  21931. if b < 0x80 {
  21932. break
  21933. }
  21934. }
  21935. m.ReadOnly = bool(v != 0)
  21936. case 7:
  21937. if wireType != 2 {
  21938. return fmt.Errorf("proto: wrong wireType = %d for field Portals", wireType)
  21939. }
  21940. var stringLen uint64
  21941. for shift := uint(0); ; shift += 7 {
  21942. if shift >= 64 {
  21943. return ErrIntOverflowGenerated
  21944. }
  21945. if iNdEx >= l {
  21946. return io.ErrUnexpectedEOF
  21947. }
  21948. b := data[iNdEx]
  21949. iNdEx++
  21950. stringLen |= (uint64(b) & 0x7F) << shift
  21951. if b < 0x80 {
  21952. break
  21953. }
  21954. }
  21955. intStringLen := int(stringLen)
  21956. if intStringLen < 0 {
  21957. return ErrInvalidLengthGenerated
  21958. }
  21959. postIndex := iNdEx + intStringLen
  21960. if postIndex > l {
  21961. return io.ErrUnexpectedEOF
  21962. }
  21963. m.Portals = append(m.Portals, string(data[iNdEx:postIndex]))
  21964. iNdEx = postIndex
  21965. default:
  21966. iNdEx = preIndex
  21967. skippy, err := skipGenerated(data[iNdEx:])
  21968. if err != nil {
  21969. return err
  21970. }
  21971. if skippy < 0 {
  21972. return ErrInvalidLengthGenerated
  21973. }
  21974. if (iNdEx + skippy) > l {
  21975. return io.ErrUnexpectedEOF
  21976. }
  21977. iNdEx += skippy
  21978. }
  21979. }
  21980. if iNdEx > l {
  21981. return io.ErrUnexpectedEOF
  21982. }
  21983. return nil
  21984. }
  21985. func (m *KeyToPath) Unmarshal(data []byte) error {
  21986. l := len(data)
  21987. iNdEx := 0
  21988. for iNdEx < l {
  21989. preIndex := iNdEx
  21990. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  22001. if b < 0x80 {
  22002. break
  22003. }
  22004. }
  22005. fieldNum := int32(wire >> 3)
  22006. wireType := int(wire & 0x7)
  22007. if wireType == 4 {
  22008. return fmt.Errorf("proto: KeyToPath: wiretype end group for non-group")
  22009. }
  22010. if fieldNum <= 0 {
  22011. return fmt.Errorf("proto: KeyToPath: illegal tag %d (wire type %d)", fieldNum, wire)
  22012. }
  22013. switch fieldNum {
  22014. case 1:
  22015. if wireType != 2 {
  22016. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  22017. }
  22018. var stringLen uint64
  22019. for shift := uint(0); ; shift += 7 {
  22020. if shift >= 64 {
  22021. return ErrIntOverflowGenerated
  22022. }
  22023. if iNdEx >= l {
  22024. return io.ErrUnexpectedEOF
  22025. }
  22026. b := data[iNdEx]
  22027. iNdEx++
  22028. stringLen |= (uint64(b) & 0x7F) << shift
  22029. if b < 0x80 {
  22030. break
  22031. }
  22032. }
  22033. intStringLen := int(stringLen)
  22034. if intStringLen < 0 {
  22035. return ErrInvalidLengthGenerated
  22036. }
  22037. postIndex := iNdEx + intStringLen
  22038. if postIndex > l {
  22039. return io.ErrUnexpectedEOF
  22040. }
  22041. m.Key = string(data[iNdEx:postIndex])
  22042. iNdEx = postIndex
  22043. case 2:
  22044. if wireType != 2 {
  22045. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  22046. }
  22047. var stringLen uint64
  22048. for shift := uint(0); ; shift += 7 {
  22049. if shift >= 64 {
  22050. return ErrIntOverflowGenerated
  22051. }
  22052. if iNdEx >= l {
  22053. return io.ErrUnexpectedEOF
  22054. }
  22055. b := data[iNdEx]
  22056. iNdEx++
  22057. stringLen |= (uint64(b) & 0x7F) << shift
  22058. if b < 0x80 {
  22059. break
  22060. }
  22061. }
  22062. intStringLen := int(stringLen)
  22063. if intStringLen < 0 {
  22064. return ErrInvalidLengthGenerated
  22065. }
  22066. postIndex := iNdEx + intStringLen
  22067. if postIndex > l {
  22068. return io.ErrUnexpectedEOF
  22069. }
  22070. m.Path = string(data[iNdEx:postIndex])
  22071. iNdEx = postIndex
  22072. case 3:
  22073. if wireType != 0 {
  22074. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  22075. }
  22076. var v int32
  22077. for shift := uint(0); ; shift += 7 {
  22078. if shift >= 64 {
  22079. return ErrIntOverflowGenerated
  22080. }
  22081. if iNdEx >= l {
  22082. return io.ErrUnexpectedEOF
  22083. }
  22084. b := data[iNdEx]
  22085. iNdEx++
  22086. v |= (int32(b) & 0x7F) << shift
  22087. if b < 0x80 {
  22088. break
  22089. }
  22090. }
  22091. m.Mode = &v
  22092. default:
  22093. iNdEx = preIndex
  22094. skippy, err := skipGenerated(data[iNdEx:])
  22095. if err != nil {
  22096. return err
  22097. }
  22098. if skippy < 0 {
  22099. return ErrInvalidLengthGenerated
  22100. }
  22101. if (iNdEx + skippy) > l {
  22102. return io.ErrUnexpectedEOF
  22103. }
  22104. iNdEx += skippy
  22105. }
  22106. }
  22107. if iNdEx > l {
  22108. return io.ErrUnexpectedEOF
  22109. }
  22110. return nil
  22111. }
  22112. func (m *Lifecycle) Unmarshal(data []byte) error {
  22113. l := len(data)
  22114. iNdEx := 0
  22115. for iNdEx < l {
  22116. preIndex := iNdEx
  22117. var wire uint64
  22118. for shift := uint(0); ; shift += 7 {
  22119. if shift >= 64 {
  22120. return ErrIntOverflowGenerated
  22121. }
  22122. if iNdEx >= l {
  22123. return io.ErrUnexpectedEOF
  22124. }
  22125. b := data[iNdEx]
  22126. iNdEx++
  22127. wire |= (uint64(b) & 0x7F) << shift
  22128. if b < 0x80 {
  22129. break
  22130. }
  22131. }
  22132. fieldNum := int32(wire >> 3)
  22133. wireType := int(wire & 0x7)
  22134. if wireType == 4 {
  22135. return fmt.Errorf("proto: Lifecycle: wiretype end group for non-group")
  22136. }
  22137. if fieldNum <= 0 {
  22138. return fmt.Errorf("proto: Lifecycle: illegal tag %d (wire type %d)", fieldNum, wire)
  22139. }
  22140. switch fieldNum {
  22141. case 1:
  22142. if wireType != 2 {
  22143. return fmt.Errorf("proto: wrong wireType = %d for field PostStart", wireType)
  22144. }
  22145. var msglen int
  22146. for shift := uint(0); ; shift += 7 {
  22147. if shift >= 64 {
  22148. return ErrIntOverflowGenerated
  22149. }
  22150. if iNdEx >= l {
  22151. return io.ErrUnexpectedEOF
  22152. }
  22153. b := data[iNdEx]
  22154. iNdEx++
  22155. msglen |= (int(b) & 0x7F) << shift
  22156. if b < 0x80 {
  22157. break
  22158. }
  22159. }
  22160. if msglen < 0 {
  22161. return ErrInvalidLengthGenerated
  22162. }
  22163. postIndex := iNdEx + msglen
  22164. if postIndex > l {
  22165. return io.ErrUnexpectedEOF
  22166. }
  22167. if m.PostStart == nil {
  22168. m.PostStart = &Handler{}
  22169. }
  22170. if err := m.PostStart.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22171. return err
  22172. }
  22173. iNdEx = postIndex
  22174. case 2:
  22175. if wireType != 2 {
  22176. return fmt.Errorf("proto: wrong wireType = %d for field PreStop", wireType)
  22177. }
  22178. var msglen int
  22179. for shift := uint(0); ; shift += 7 {
  22180. if shift >= 64 {
  22181. return ErrIntOverflowGenerated
  22182. }
  22183. if iNdEx >= l {
  22184. return io.ErrUnexpectedEOF
  22185. }
  22186. b := data[iNdEx]
  22187. iNdEx++
  22188. msglen |= (int(b) & 0x7F) << shift
  22189. if b < 0x80 {
  22190. break
  22191. }
  22192. }
  22193. if msglen < 0 {
  22194. return ErrInvalidLengthGenerated
  22195. }
  22196. postIndex := iNdEx + msglen
  22197. if postIndex > l {
  22198. return io.ErrUnexpectedEOF
  22199. }
  22200. if m.PreStop == nil {
  22201. m.PreStop = &Handler{}
  22202. }
  22203. if err := m.PreStop.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22204. return err
  22205. }
  22206. iNdEx = postIndex
  22207. default:
  22208. iNdEx = preIndex
  22209. skippy, err := skipGenerated(data[iNdEx:])
  22210. if err != nil {
  22211. return err
  22212. }
  22213. if skippy < 0 {
  22214. return ErrInvalidLengthGenerated
  22215. }
  22216. if (iNdEx + skippy) > l {
  22217. return io.ErrUnexpectedEOF
  22218. }
  22219. iNdEx += skippy
  22220. }
  22221. }
  22222. if iNdEx > l {
  22223. return io.ErrUnexpectedEOF
  22224. }
  22225. return nil
  22226. }
  22227. func (m *LimitRange) Unmarshal(data []byte) error {
  22228. l := len(data)
  22229. iNdEx := 0
  22230. for iNdEx < l {
  22231. preIndex := iNdEx
  22232. var wire uint64
  22233. for shift := uint(0); ; shift += 7 {
  22234. if shift >= 64 {
  22235. return ErrIntOverflowGenerated
  22236. }
  22237. if iNdEx >= l {
  22238. return io.ErrUnexpectedEOF
  22239. }
  22240. b := data[iNdEx]
  22241. iNdEx++
  22242. wire |= (uint64(b) & 0x7F) << shift
  22243. if b < 0x80 {
  22244. break
  22245. }
  22246. }
  22247. fieldNum := int32(wire >> 3)
  22248. wireType := int(wire & 0x7)
  22249. if wireType == 4 {
  22250. return fmt.Errorf("proto: LimitRange: wiretype end group for non-group")
  22251. }
  22252. if fieldNum <= 0 {
  22253. return fmt.Errorf("proto: LimitRange: illegal tag %d (wire type %d)", fieldNum, wire)
  22254. }
  22255. switch fieldNum {
  22256. case 1:
  22257. if wireType != 2 {
  22258. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  22259. }
  22260. var msglen int
  22261. for shift := uint(0); ; shift += 7 {
  22262. if shift >= 64 {
  22263. return ErrIntOverflowGenerated
  22264. }
  22265. if iNdEx >= l {
  22266. return io.ErrUnexpectedEOF
  22267. }
  22268. b := data[iNdEx]
  22269. iNdEx++
  22270. msglen |= (int(b) & 0x7F) << shift
  22271. if b < 0x80 {
  22272. break
  22273. }
  22274. }
  22275. if msglen < 0 {
  22276. return ErrInvalidLengthGenerated
  22277. }
  22278. postIndex := iNdEx + msglen
  22279. if postIndex > l {
  22280. return io.ErrUnexpectedEOF
  22281. }
  22282. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22283. return err
  22284. }
  22285. iNdEx = postIndex
  22286. case 2:
  22287. if wireType != 2 {
  22288. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  22289. }
  22290. var msglen int
  22291. for shift := uint(0); ; shift += 7 {
  22292. if shift >= 64 {
  22293. return ErrIntOverflowGenerated
  22294. }
  22295. if iNdEx >= l {
  22296. return io.ErrUnexpectedEOF
  22297. }
  22298. b := data[iNdEx]
  22299. iNdEx++
  22300. msglen |= (int(b) & 0x7F) << shift
  22301. if b < 0x80 {
  22302. break
  22303. }
  22304. }
  22305. if msglen < 0 {
  22306. return ErrInvalidLengthGenerated
  22307. }
  22308. postIndex := iNdEx + msglen
  22309. if postIndex > l {
  22310. return io.ErrUnexpectedEOF
  22311. }
  22312. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  22313. return err
  22314. }
  22315. iNdEx = postIndex
  22316. default:
  22317. iNdEx = preIndex
  22318. skippy, err := skipGenerated(data[iNdEx:])
  22319. if err != nil {
  22320. return err
  22321. }
  22322. if skippy < 0 {
  22323. return ErrInvalidLengthGenerated
  22324. }
  22325. if (iNdEx + skippy) > l {
  22326. return io.ErrUnexpectedEOF
  22327. }
  22328. iNdEx += skippy
  22329. }
  22330. }
  22331. if iNdEx > l {
  22332. return io.ErrUnexpectedEOF
  22333. }
  22334. return nil
  22335. }
  22336. func (m *LimitRangeItem) Unmarshal(data []byte) error {
  22337. l := len(data)
  22338. iNdEx := 0
  22339. for iNdEx < l {
  22340. preIndex := iNdEx
  22341. var wire uint64
  22342. for shift := uint(0); ; shift += 7 {
  22343. if shift >= 64 {
  22344. return ErrIntOverflowGenerated
  22345. }
  22346. if iNdEx >= l {
  22347. return io.ErrUnexpectedEOF
  22348. }
  22349. b := data[iNdEx]
  22350. iNdEx++
  22351. wire |= (uint64(b) & 0x7F) << shift
  22352. if b < 0x80 {
  22353. break
  22354. }
  22355. }
  22356. fieldNum := int32(wire >> 3)
  22357. wireType := int(wire & 0x7)
  22358. if wireType == 4 {
  22359. return fmt.Errorf("proto: LimitRangeItem: wiretype end group for non-group")
  22360. }
  22361. if fieldNum <= 0 {
  22362. return fmt.Errorf("proto: LimitRangeItem: illegal tag %d (wire type %d)", fieldNum, wire)
  22363. }
  22364. switch fieldNum {
  22365. case 1:
  22366. if wireType != 2 {
  22367. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  22368. }
  22369. var stringLen uint64
  22370. for shift := uint(0); ; shift += 7 {
  22371. if shift >= 64 {
  22372. return ErrIntOverflowGenerated
  22373. }
  22374. if iNdEx >= l {
  22375. return io.ErrUnexpectedEOF
  22376. }
  22377. b := data[iNdEx]
  22378. iNdEx++
  22379. stringLen |= (uint64(b) & 0x7F) << shift
  22380. if b < 0x80 {
  22381. break
  22382. }
  22383. }
  22384. intStringLen := int(stringLen)
  22385. if intStringLen < 0 {
  22386. return ErrInvalidLengthGenerated
  22387. }
  22388. postIndex := iNdEx + intStringLen
  22389. if postIndex > l {
  22390. return io.ErrUnexpectedEOF
  22391. }
  22392. m.Type = LimitType(data[iNdEx:postIndex])
  22393. iNdEx = postIndex
  22394. case 2:
  22395. if wireType != 2 {
  22396. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  22397. }
  22398. var msglen int
  22399. for shift := uint(0); ; shift += 7 {
  22400. if shift >= 64 {
  22401. return ErrIntOverflowGenerated
  22402. }
  22403. if iNdEx >= l {
  22404. return io.ErrUnexpectedEOF
  22405. }
  22406. b := data[iNdEx]
  22407. iNdEx++
  22408. msglen |= (int(b) & 0x7F) << shift
  22409. if b < 0x80 {
  22410. break
  22411. }
  22412. }
  22413. if msglen < 0 {
  22414. return ErrInvalidLengthGenerated
  22415. }
  22416. postIndex := iNdEx + msglen
  22417. if postIndex > l {
  22418. return io.ErrUnexpectedEOF
  22419. }
  22420. var keykey uint64
  22421. for shift := uint(0); ; shift += 7 {
  22422. if shift >= 64 {
  22423. return ErrIntOverflowGenerated
  22424. }
  22425. if iNdEx >= l {
  22426. return io.ErrUnexpectedEOF
  22427. }
  22428. b := data[iNdEx]
  22429. iNdEx++
  22430. keykey |= (uint64(b) & 0x7F) << shift
  22431. if b < 0x80 {
  22432. break
  22433. }
  22434. }
  22435. var stringLenmapkey uint64
  22436. for shift := uint(0); ; shift += 7 {
  22437. if shift >= 64 {
  22438. return ErrIntOverflowGenerated
  22439. }
  22440. if iNdEx >= l {
  22441. return io.ErrUnexpectedEOF
  22442. }
  22443. b := data[iNdEx]
  22444. iNdEx++
  22445. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  22446. if b < 0x80 {
  22447. break
  22448. }
  22449. }
  22450. intStringLenmapkey := int(stringLenmapkey)
  22451. if intStringLenmapkey < 0 {
  22452. return ErrInvalidLengthGenerated
  22453. }
  22454. postStringIndexmapkey := iNdEx + intStringLenmapkey
  22455. if postStringIndexmapkey > l {
  22456. return io.ErrUnexpectedEOF
  22457. }
  22458. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  22459. iNdEx = postStringIndexmapkey
  22460. var valuekey uint64
  22461. for shift := uint(0); ; shift += 7 {
  22462. if shift >= 64 {
  22463. return ErrIntOverflowGenerated
  22464. }
  22465. if iNdEx >= l {
  22466. return io.ErrUnexpectedEOF
  22467. }
  22468. b := data[iNdEx]
  22469. iNdEx++
  22470. valuekey |= (uint64(b) & 0x7F) << shift
  22471. if b < 0x80 {
  22472. break
  22473. }
  22474. }
  22475. var mapmsglen int
  22476. for shift := uint(0); ; shift += 7 {
  22477. if shift >= 64 {
  22478. return ErrIntOverflowGenerated
  22479. }
  22480. if iNdEx >= l {
  22481. return io.ErrUnexpectedEOF
  22482. }
  22483. b := data[iNdEx]
  22484. iNdEx++
  22485. mapmsglen |= (int(b) & 0x7F) << shift
  22486. if b < 0x80 {
  22487. break
  22488. }
  22489. }
  22490. if mapmsglen < 0 {
  22491. return ErrInvalidLengthGenerated
  22492. }
  22493. postmsgIndex := iNdEx + mapmsglen
  22494. if mapmsglen < 0 {
  22495. return ErrInvalidLengthGenerated
  22496. }
  22497. if postmsgIndex > l {
  22498. return io.ErrUnexpectedEOF
  22499. }
  22500. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  22501. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  22502. return err
  22503. }
  22504. iNdEx = postmsgIndex
  22505. if m.Max == nil {
  22506. m.Max = make(ResourceList)
  22507. }
  22508. m.Max[ResourceName(mapkey)] = *mapvalue
  22509. iNdEx = postIndex
  22510. case 3:
  22511. if wireType != 2 {
  22512. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  22513. }
  22514. var msglen int
  22515. for shift := uint(0); ; shift += 7 {
  22516. if shift >= 64 {
  22517. return ErrIntOverflowGenerated
  22518. }
  22519. if iNdEx >= l {
  22520. return io.ErrUnexpectedEOF
  22521. }
  22522. b := data[iNdEx]
  22523. iNdEx++
  22524. msglen |= (int(b) & 0x7F) << shift
  22525. if b < 0x80 {
  22526. break
  22527. }
  22528. }
  22529. if msglen < 0 {
  22530. return ErrInvalidLengthGenerated
  22531. }
  22532. postIndex := iNdEx + msglen
  22533. if postIndex > l {
  22534. return io.ErrUnexpectedEOF
  22535. }
  22536. var keykey uint64
  22537. for shift := uint(0); ; shift += 7 {
  22538. if shift >= 64 {
  22539. return ErrIntOverflowGenerated
  22540. }
  22541. if iNdEx >= l {
  22542. return io.ErrUnexpectedEOF
  22543. }
  22544. b := data[iNdEx]
  22545. iNdEx++
  22546. keykey |= (uint64(b) & 0x7F) << shift
  22547. if b < 0x80 {
  22548. break
  22549. }
  22550. }
  22551. var stringLenmapkey uint64
  22552. for shift := uint(0); ; shift += 7 {
  22553. if shift >= 64 {
  22554. return ErrIntOverflowGenerated
  22555. }
  22556. if iNdEx >= l {
  22557. return io.ErrUnexpectedEOF
  22558. }
  22559. b := data[iNdEx]
  22560. iNdEx++
  22561. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  22562. if b < 0x80 {
  22563. break
  22564. }
  22565. }
  22566. intStringLenmapkey := int(stringLenmapkey)
  22567. if intStringLenmapkey < 0 {
  22568. return ErrInvalidLengthGenerated
  22569. }
  22570. postStringIndexmapkey := iNdEx + intStringLenmapkey
  22571. if postStringIndexmapkey > l {
  22572. return io.ErrUnexpectedEOF
  22573. }
  22574. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  22575. iNdEx = postStringIndexmapkey
  22576. var valuekey uint64
  22577. for shift := uint(0); ; shift += 7 {
  22578. if shift >= 64 {
  22579. return ErrIntOverflowGenerated
  22580. }
  22581. if iNdEx >= l {
  22582. return io.ErrUnexpectedEOF
  22583. }
  22584. b := data[iNdEx]
  22585. iNdEx++
  22586. valuekey |= (uint64(b) & 0x7F) << shift
  22587. if b < 0x80 {
  22588. break
  22589. }
  22590. }
  22591. var mapmsglen int
  22592. for shift := uint(0); ; shift += 7 {
  22593. if shift >= 64 {
  22594. return ErrIntOverflowGenerated
  22595. }
  22596. if iNdEx >= l {
  22597. return io.ErrUnexpectedEOF
  22598. }
  22599. b := data[iNdEx]
  22600. iNdEx++
  22601. mapmsglen |= (int(b) & 0x7F) << shift
  22602. if b < 0x80 {
  22603. break
  22604. }
  22605. }
  22606. if mapmsglen < 0 {
  22607. return ErrInvalidLengthGenerated
  22608. }
  22609. postmsgIndex := iNdEx + mapmsglen
  22610. if mapmsglen < 0 {
  22611. return ErrInvalidLengthGenerated
  22612. }
  22613. if postmsgIndex > l {
  22614. return io.ErrUnexpectedEOF
  22615. }
  22616. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  22617. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  22618. return err
  22619. }
  22620. iNdEx = postmsgIndex
  22621. if m.Min == nil {
  22622. m.Min = make(ResourceList)
  22623. }
  22624. m.Min[ResourceName(mapkey)] = *mapvalue
  22625. iNdEx = postIndex
  22626. case 4:
  22627. if wireType != 2 {
  22628. return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType)
  22629. }
  22630. var msglen int
  22631. for shift := uint(0); ; shift += 7 {
  22632. if shift >= 64 {
  22633. return ErrIntOverflowGenerated
  22634. }
  22635. if iNdEx >= l {
  22636. return io.ErrUnexpectedEOF
  22637. }
  22638. b := data[iNdEx]
  22639. iNdEx++
  22640. msglen |= (int(b) & 0x7F) << shift
  22641. if b < 0x80 {
  22642. break
  22643. }
  22644. }
  22645. if msglen < 0 {
  22646. return ErrInvalidLengthGenerated
  22647. }
  22648. postIndex := iNdEx + msglen
  22649. if postIndex > l {
  22650. return io.ErrUnexpectedEOF
  22651. }
  22652. var keykey uint64
  22653. for shift := uint(0); ; shift += 7 {
  22654. if shift >= 64 {
  22655. return ErrIntOverflowGenerated
  22656. }
  22657. if iNdEx >= l {
  22658. return io.ErrUnexpectedEOF
  22659. }
  22660. b := data[iNdEx]
  22661. iNdEx++
  22662. keykey |= (uint64(b) & 0x7F) << shift
  22663. if b < 0x80 {
  22664. break
  22665. }
  22666. }
  22667. var stringLenmapkey uint64
  22668. for shift := uint(0); ; shift += 7 {
  22669. if shift >= 64 {
  22670. return ErrIntOverflowGenerated
  22671. }
  22672. if iNdEx >= l {
  22673. return io.ErrUnexpectedEOF
  22674. }
  22675. b := data[iNdEx]
  22676. iNdEx++
  22677. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  22678. if b < 0x80 {
  22679. break
  22680. }
  22681. }
  22682. intStringLenmapkey := int(stringLenmapkey)
  22683. if intStringLenmapkey < 0 {
  22684. return ErrInvalidLengthGenerated
  22685. }
  22686. postStringIndexmapkey := iNdEx + intStringLenmapkey
  22687. if postStringIndexmapkey > l {
  22688. return io.ErrUnexpectedEOF
  22689. }
  22690. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  22691. iNdEx = postStringIndexmapkey
  22692. var valuekey uint64
  22693. for shift := uint(0); ; shift += 7 {
  22694. if shift >= 64 {
  22695. return ErrIntOverflowGenerated
  22696. }
  22697. if iNdEx >= l {
  22698. return io.ErrUnexpectedEOF
  22699. }
  22700. b := data[iNdEx]
  22701. iNdEx++
  22702. valuekey |= (uint64(b) & 0x7F) << shift
  22703. if b < 0x80 {
  22704. break
  22705. }
  22706. }
  22707. var mapmsglen int
  22708. for shift := uint(0); ; shift += 7 {
  22709. if shift >= 64 {
  22710. return ErrIntOverflowGenerated
  22711. }
  22712. if iNdEx >= l {
  22713. return io.ErrUnexpectedEOF
  22714. }
  22715. b := data[iNdEx]
  22716. iNdEx++
  22717. mapmsglen |= (int(b) & 0x7F) << shift
  22718. if b < 0x80 {
  22719. break
  22720. }
  22721. }
  22722. if mapmsglen < 0 {
  22723. return ErrInvalidLengthGenerated
  22724. }
  22725. postmsgIndex := iNdEx + mapmsglen
  22726. if mapmsglen < 0 {
  22727. return ErrInvalidLengthGenerated
  22728. }
  22729. if postmsgIndex > l {
  22730. return io.ErrUnexpectedEOF
  22731. }
  22732. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  22733. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  22734. return err
  22735. }
  22736. iNdEx = postmsgIndex
  22737. if m.Default == nil {
  22738. m.Default = make(ResourceList)
  22739. }
  22740. m.Default[ResourceName(mapkey)] = *mapvalue
  22741. iNdEx = postIndex
  22742. case 5:
  22743. if wireType != 2 {
  22744. return fmt.Errorf("proto: wrong wireType = %d for field DefaultRequest", wireType)
  22745. }
  22746. var msglen int
  22747. for shift := uint(0); ; shift += 7 {
  22748. if shift >= 64 {
  22749. return ErrIntOverflowGenerated
  22750. }
  22751. if iNdEx >= l {
  22752. return io.ErrUnexpectedEOF
  22753. }
  22754. b := data[iNdEx]
  22755. iNdEx++
  22756. msglen |= (int(b) & 0x7F) << shift
  22757. if b < 0x80 {
  22758. break
  22759. }
  22760. }
  22761. if msglen < 0 {
  22762. return ErrInvalidLengthGenerated
  22763. }
  22764. postIndex := iNdEx + msglen
  22765. if postIndex > l {
  22766. return io.ErrUnexpectedEOF
  22767. }
  22768. var keykey uint64
  22769. for shift := uint(0); ; shift += 7 {
  22770. if shift >= 64 {
  22771. return ErrIntOverflowGenerated
  22772. }
  22773. if iNdEx >= l {
  22774. return io.ErrUnexpectedEOF
  22775. }
  22776. b := data[iNdEx]
  22777. iNdEx++
  22778. keykey |= (uint64(b) & 0x7F) << shift
  22779. if b < 0x80 {
  22780. break
  22781. }
  22782. }
  22783. var stringLenmapkey 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. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  22794. if b < 0x80 {
  22795. break
  22796. }
  22797. }
  22798. intStringLenmapkey := int(stringLenmapkey)
  22799. if intStringLenmapkey < 0 {
  22800. return ErrInvalidLengthGenerated
  22801. }
  22802. postStringIndexmapkey := iNdEx + intStringLenmapkey
  22803. if postStringIndexmapkey > l {
  22804. return io.ErrUnexpectedEOF
  22805. }
  22806. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  22807. iNdEx = postStringIndexmapkey
  22808. var valuekey uint64
  22809. for shift := uint(0); ; shift += 7 {
  22810. if shift >= 64 {
  22811. return ErrIntOverflowGenerated
  22812. }
  22813. if iNdEx >= l {
  22814. return io.ErrUnexpectedEOF
  22815. }
  22816. b := data[iNdEx]
  22817. iNdEx++
  22818. valuekey |= (uint64(b) & 0x7F) << shift
  22819. if b < 0x80 {
  22820. break
  22821. }
  22822. }
  22823. var mapmsglen int
  22824. for shift := uint(0); ; shift += 7 {
  22825. if shift >= 64 {
  22826. return ErrIntOverflowGenerated
  22827. }
  22828. if iNdEx >= l {
  22829. return io.ErrUnexpectedEOF
  22830. }
  22831. b := data[iNdEx]
  22832. iNdEx++
  22833. mapmsglen |= (int(b) & 0x7F) << shift
  22834. if b < 0x80 {
  22835. break
  22836. }
  22837. }
  22838. if mapmsglen < 0 {
  22839. return ErrInvalidLengthGenerated
  22840. }
  22841. postmsgIndex := iNdEx + mapmsglen
  22842. if mapmsglen < 0 {
  22843. return ErrInvalidLengthGenerated
  22844. }
  22845. if postmsgIndex > l {
  22846. return io.ErrUnexpectedEOF
  22847. }
  22848. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  22849. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  22850. return err
  22851. }
  22852. iNdEx = postmsgIndex
  22853. if m.DefaultRequest == nil {
  22854. m.DefaultRequest = make(ResourceList)
  22855. }
  22856. m.DefaultRequest[ResourceName(mapkey)] = *mapvalue
  22857. iNdEx = postIndex
  22858. case 6:
  22859. if wireType != 2 {
  22860. return fmt.Errorf("proto: wrong wireType = %d for field MaxLimitRequestRatio", wireType)
  22861. }
  22862. var msglen int
  22863. for shift := uint(0); ; shift += 7 {
  22864. if shift >= 64 {
  22865. return ErrIntOverflowGenerated
  22866. }
  22867. if iNdEx >= l {
  22868. return io.ErrUnexpectedEOF
  22869. }
  22870. b := data[iNdEx]
  22871. iNdEx++
  22872. msglen |= (int(b) & 0x7F) << shift
  22873. if b < 0x80 {
  22874. break
  22875. }
  22876. }
  22877. if msglen < 0 {
  22878. return ErrInvalidLengthGenerated
  22879. }
  22880. postIndex := iNdEx + msglen
  22881. if postIndex > l {
  22882. return io.ErrUnexpectedEOF
  22883. }
  22884. var keykey uint64
  22885. for shift := uint(0); ; shift += 7 {
  22886. if shift >= 64 {
  22887. return ErrIntOverflowGenerated
  22888. }
  22889. if iNdEx >= l {
  22890. return io.ErrUnexpectedEOF
  22891. }
  22892. b := data[iNdEx]
  22893. iNdEx++
  22894. keykey |= (uint64(b) & 0x7F) << shift
  22895. if b < 0x80 {
  22896. break
  22897. }
  22898. }
  22899. var stringLenmapkey uint64
  22900. for shift := uint(0); ; shift += 7 {
  22901. if shift >= 64 {
  22902. return ErrIntOverflowGenerated
  22903. }
  22904. if iNdEx >= l {
  22905. return io.ErrUnexpectedEOF
  22906. }
  22907. b := data[iNdEx]
  22908. iNdEx++
  22909. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  22910. if b < 0x80 {
  22911. break
  22912. }
  22913. }
  22914. intStringLenmapkey := int(stringLenmapkey)
  22915. if intStringLenmapkey < 0 {
  22916. return ErrInvalidLengthGenerated
  22917. }
  22918. postStringIndexmapkey := iNdEx + intStringLenmapkey
  22919. if postStringIndexmapkey > l {
  22920. return io.ErrUnexpectedEOF
  22921. }
  22922. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  22923. iNdEx = postStringIndexmapkey
  22924. var valuekey uint64
  22925. for shift := uint(0); ; shift += 7 {
  22926. if shift >= 64 {
  22927. return ErrIntOverflowGenerated
  22928. }
  22929. if iNdEx >= l {
  22930. return io.ErrUnexpectedEOF
  22931. }
  22932. b := data[iNdEx]
  22933. iNdEx++
  22934. valuekey |= (uint64(b) & 0x7F) << shift
  22935. if b < 0x80 {
  22936. break
  22937. }
  22938. }
  22939. var mapmsglen int
  22940. for shift := uint(0); ; shift += 7 {
  22941. if shift >= 64 {
  22942. return ErrIntOverflowGenerated
  22943. }
  22944. if iNdEx >= l {
  22945. return io.ErrUnexpectedEOF
  22946. }
  22947. b := data[iNdEx]
  22948. iNdEx++
  22949. mapmsglen |= (int(b) & 0x7F) << shift
  22950. if b < 0x80 {
  22951. break
  22952. }
  22953. }
  22954. if mapmsglen < 0 {
  22955. return ErrInvalidLengthGenerated
  22956. }
  22957. postmsgIndex := iNdEx + mapmsglen
  22958. if mapmsglen < 0 {
  22959. return ErrInvalidLengthGenerated
  22960. }
  22961. if postmsgIndex > l {
  22962. return io.ErrUnexpectedEOF
  22963. }
  22964. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  22965. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  22966. return err
  22967. }
  22968. iNdEx = postmsgIndex
  22969. if m.MaxLimitRequestRatio == nil {
  22970. m.MaxLimitRequestRatio = make(ResourceList)
  22971. }
  22972. m.MaxLimitRequestRatio[ResourceName(mapkey)] = *mapvalue
  22973. iNdEx = postIndex
  22974. default:
  22975. iNdEx = preIndex
  22976. skippy, err := skipGenerated(data[iNdEx:])
  22977. if err != nil {
  22978. return err
  22979. }
  22980. if skippy < 0 {
  22981. return ErrInvalidLengthGenerated
  22982. }
  22983. if (iNdEx + skippy) > l {
  22984. return io.ErrUnexpectedEOF
  22985. }
  22986. iNdEx += skippy
  22987. }
  22988. }
  22989. if iNdEx > l {
  22990. return io.ErrUnexpectedEOF
  22991. }
  22992. return nil
  22993. }
  22994. func (m *LimitRangeList) Unmarshal(data []byte) error {
  22995. l := len(data)
  22996. iNdEx := 0
  22997. for iNdEx < l {
  22998. preIndex := iNdEx
  22999. var wire uint64
  23000. for shift := uint(0); ; shift += 7 {
  23001. if shift >= 64 {
  23002. return ErrIntOverflowGenerated
  23003. }
  23004. if iNdEx >= l {
  23005. return io.ErrUnexpectedEOF
  23006. }
  23007. b := data[iNdEx]
  23008. iNdEx++
  23009. wire |= (uint64(b) & 0x7F) << shift
  23010. if b < 0x80 {
  23011. break
  23012. }
  23013. }
  23014. fieldNum := int32(wire >> 3)
  23015. wireType := int(wire & 0x7)
  23016. if wireType == 4 {
  23017. return fmt.Errorf("proto: LimitRangeList: wiretype end group for non-group")
  23018. }
  23019. if fieldNum <= 0 {
  23020. return fmt.Errorf("proto: LimitRangeList: illegal tag %d (wire type %d)", fieldNum, wire)
  23021. }
  23022. switch fieldNum {
  23023. case 1:
  23024. if wireType != 2 {
  23025. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  23026. }
  23027. var msglen int
  23028. for shift := uint(0); ; shift += 7 {
  23029. if shift >= 64 {
  23030. return ErrIntOverflowGenerated
  23031. }
  23032. if iNdEx >= l {
  23033. return io.ErrUnexpectedEOF
  23034. }
  23035. b := data[iNdEx]
  23036. iNdEx++
  23037. msglen |= (int(b) & 0x7F) << shift
  23038. if b < 0x80 {
  23039. break
  23040. }
  23041. }
  23042. if msglen < 0 {
  23043. return ErrInvalidLengthGenerated
  23044. }
  23045. postIndex := iNdEx + msglen
  23046. if postIndex > l {
  23047. return io.ErrUnexpectedEOF
  23048. }
  23049. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  23050. return err
  23051. }
  23052. iNdEx = postIndex
  23053. case 2:
  23054. if wireType != 2 {
  23055. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  23056. }
  23057. var msglen int
  23058. for shift := uint(0); ; shift += 7 {
  23059. if shift >= 64 {
  23060. return ErrIntOverflowGenerated
  23061. }
  23062. if iNdEx >= l {
  23063. return io.ErrUnexpectedEOF
  23064. }
  23065. b := data[iNdEx]
  23066. iNdEx++
  23067. msglen |= (int(b) & 0x7F) << shift
  23068. if b < 0x80 {
  23069. break
  23070. }
  23071. }
  23072. if msglen < 0 {
  23073. return ErrInvalidLengthGenerated
  23074. }
  23075. postIndex := iNdEx + msglen
  23076. if postIndex > l {
  23077. return io.ErrUnexpectedEOF
  23078. }
  23079. m.Items = append(m.Items, LimitRange{})
  23080. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23081. return err
  23082. }
  23083. iNdEx = postIndex
  23084. default:
  23085. iNdEx = preIndex
  23086. skippy, err := skipGenerated(data[iNdEx:])
  23087. if err != nil {
  23088. return err
  23089. }
  23090. if skippy < 0 {
  23091. return ErrInvalidLengthGenerated
  23092. }
  23093. if (iNdEx + skippy) > l {
  23094. return io.ErrUnexpectedEOF
  23095. }
  23096. iNdEx += skippy
  23097. }
  23098. }
  23099. if iNdEx > l {
  23100. return io.ErrUnexpectedEOF
  23101. }
  23102. return nil
  23103. }
  23104. func (m *LimitRangeSpec) Unmarshal(data []byte) error {
  23105. l := len(data)
  23106. iNdEx := 0
  23107. for iNdEx < l {
  23108. preIndex := iNdEx
  23109. var wire uint64
  23110. for shift := uint(0); ; shift += 7 {
  23111. if shift >= 64 {
  23112. return ErrIntOverflowGenerated
  23113. }
  23114. if iNdEx >= l {
  23115. return io.ErrUnexpectedEOF
  23116. }
  23117. b := data[iNdEx]
  23118. iNdEx++
  23119. wire |= (uint64(b) & 0x7F) << shift
  23120. if b < 0x80 {
  23121. break
  23122. }
  23123. }
  23124. fieldNum := int32(wire >> 3)
  23125. wireType := int(wire & 0x7)
  23126. if wireType == 4 {
  23127. return fmt.Errorf("proto: LimitRangeSpec: wiretype end group for non-group")
  23128. }
  23129. if fieldNum <= 0 {
  23130. return fmt.Errorf("proto: LimitRangeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  23131. }
  23132. switch fieldNum {
  23133. case 1:
  23134. if wireType != 2 {
  23135. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  23136. }
  23137. var msglen int
  23138. for shift := uint(0); ; shift += 7 {
  23139. if shift >= 64 {
  23140. return ErrIntOverflowGenerated
  23141. }
  23142. if iNdEx >= l {
  23143. return io.ErrUnexpectedEOF
  23144. }
  23145. b := data[iNdEx]
  23146. iNdEx++
  23147. msglen |= (int(b) & 0x7F) << shift
  23148. if b < 0x80 {
  23149. break
  23150. }
  23151. }
  23152. if msglen < 0 {
  23153. return ErrInvalidLengthGenerated
  23154. }
  23155. postIndex := iNdEx + msglen
  23156. if postIndex > l {
  23157. return io.ErrUnexpectedEOF
  23158. }
  23159. m.Limits = append(m.Limits, LimitRangeItem{})
  23160. if err := m.Limits[len(m.Limits)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23161. return err
  23162. }
  23163. iNdEx = postIndex
  23164. default:
  23165. iNdEx = preIndex
  23166. skippy, err := skipGenerated(data[iNdEx:])
  23167. if err != nil {
  23168. return err
  23169. }
  23170. if skippy < 0 {
  23171. return ErrInvalidLengthGenerated
  23172. }
  23173. if (iNdEx + skippy) > l {
  23174. return io.ErrUnexpectedEOF
  23175. }
  23176. iNdEx += skippy
  23177. }
  23178. }
  23179. if iNdEx > l {
  23180. return io.ErrUnexpectedEOF
  23181. }
  23182. return nil
  23183. }
  23184. func (m *List) Unmarshal(data []byte) error {
  23185. l := len(data)
  23186. iNdEx := 0
  23187. for iNdEx < l {
  23188. preIndex := iNdEx
  23189. var wire uint64
  23190. for shift := uint(0); ; shift += 7 {
  23191. if shift >= 64 {
  23192. return ErrIntOverflowGenerated
  23193. }
  23194. if iNdEx >= l {
  23195. return io.ErrUnexpectedEOF
  23196. }
  23197. b := data[iNdEx]
  23198. iNdEx++
  23199. wire |= (uint64(b) & 0x7F) << shift
  23200. if b < 0x80 {
  23201. break
  23202. }
  23203. }
  23204. fieldNum := int32(wire >> 3)
  23205. wireType := int(wire & 0x7)
  23206. if wireType == 4 {
  23207. return fmt.Errorf("proto: List: wiretype end group for non-group")
  23208. }
  23209. if fieldNum <= 0 {
  23210. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  23211. }
  23212. switch fieldNum {
  23213. case 1:
  23214. if wireType != 2 {
  23215. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  23216. }
  23217. var msglen int
  23218. for shift := uint(0); ; shift += 7 {
  23219. if shift >= 64 {
  23220. return ErrIntOverflowGenerated
  23221. }
  23222. if iNdEx >= l {
  23223. return io.ErrUnexpectedEOF
  23224. }
  23225. b := data[iNdEx]
  23226. iNdEx++
  23227. msglen |= (int(b) & 0x7F) << shift
  23228. if b < 0x80 {
  23229. break
  23230. }
  23231. }
  23232. if msglen < 0 {
  23233. return ErrInvalidLengthGenerated
  23234. }
  23235. postIndex := iNdEx + msglen
  23236. if postIndex > l {
  23237. return io.ErrUnexpectedEOF
  23238. }
  23239. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  23240. return err
  23241. }
  23242. iNdEx = postIndex
  23243. case 2:
  23244. if wireType != 2 {
  23245. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  23246. }
  23247. var msglen int
  23248. for shift := uint(0); ; shift += 7 {
  23249. if shift >= 64 {
  23250. return ErrIntOverflowGenerated
  23251. }
  23252. if iNdEx >= l {
  23253. return io.ErrUnexpectedEOF
  23254. }
  23255. b := data[iNdEx]
  23256. iNdEx++
  23257. msglen |= (int(b) & 0x7F) << shift
  23258. if b < 0x80 {
  23259. break
  23260. }
  23261. }
  23262. if msglen < 0 {
  23263. return ErrInvalidLengthGenerated
  23264. }
  23265. postIndex := iNdEx + msglen
  23266. if postIndex > l {
  23267. return io.ErrUnexpectedEOF
  23268. }
  23269. m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{})
  23270. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23271. return err
  23272. }
  23273. iNdEx = postIndex
  23274. default:
  23275. iNdEx = preIndex
  23276. skippy, err := skipGenerated(data[iNdEx:])
  23277. if err != nil {
  23278. return err
  23279. }
  23280. if skippy < 0 {
  23281. return ErrInvalidLengthGenerated
  23282. }
  23283. if (iNdEx + skippy) > l {
  23284. return io.ErrUnexpectedEOF
  23285. }
  23286. iNdEx += skippy
  23287. }
  23288. }
  23289. if iNdEx > l {
  23290. return io.ErrUnexpectedEOF
  23291. }
  23292. return nil
  23293. }
  23294. func (m *ListOptions) Unmarshal(data []byte) error {
  23295. l := len(data)
  23296. iNdEx := 0
  23297. for iNdEx < l {
  23298. preIndex := iNdEx
  23299. var wire uint64
  23300. for shift := uint(0); ; shift += 7 {
  23301. if shift >= 64 {
  23302. return ErrIntOverflowGenerated
  23303. }
  23304. if iNdEx >= l {
  23305. return io.ErrUnexpectedEOF
  23306. }
  23307. b := data[iNdEx]
  23308. iNdEx++
  23309. wire |= (uint64(b) & 0x7F) << shift
  23310. if b < 0x80 {
  23311. break
  23312. }
  23313. }
  23314. fieldNum := int32(wire >> 3)
  23315. wireType := int(wire & 0x7)
  23316. if wireType == 4 {
  23317. return fmt.Errorf("proto: ListOptions: wiretype end group for non-group")
  23318. }
  23319. if fieldNum <= 0 {
  23320. return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  23321. }
  23322. switch fieldNum {
  23323. case 1:
  23324. if wireType != 2 {
  23325. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  23326. }
  23327. var stringLen uint64
  23328. for shift := uint(0); ; shift += 7 {
  23329. if shift >= 64 {
  23330. return ErrIntOverflowGenerated
  23331. }
  23332. if iNdEx >= l {
  23333. return io.ErrUnexpectedEOF
  23334. }
  23335. b := data[iNdEx]
  23336. iNdEx++
  23337. stringLen |= (uint64(b) & 0x7F) << shift
  23338. if b < 0x80 {
  23339. break
  23340. }
  23341. }
  23342. intStringLen := int(stringLen)
  23343. if intStringLen < 0 {
  23344. return ErrInvalidLengthGenerated
  23345. }
  23346. postIndex := iNdEx + intStringLen
  23347. if postIndex > l {
  23348. return io.ErrUnexpectedEOF
  23349. }
  23350. m.LabelSelector = string(data[iNdEx:postIndex])
  23351. iNdEx = postIndex
  23352. case 2:
  23353. if wireType != 2 {
  23354. return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType)
  23355. }
  23356. var stringLen uint64
  23357. for shift := uint(0); ; shift += 7 {
  23358. if shift >= 64 {
  23359. return ErrIntOverflowGenerated
  23360. }
  23361. if iNdEx >= l {
  23362. return io.ErrUnexpectedEOF
  23363. }
  23364. b := data[iNdEx]
  23365. iNdEx++
  23366. stringLen |= (uint64(b) & 0x7F) << shift
  23367. if b < 0x80 {
  23368. break
  23369. }
  23370. }
  23371. intStringLen := int(stringLen)
  23372. if intStringLen < 0 {
  23373. return ErrInvalidLengthGenerated
  23374. }
  23375. postIndex := iNdEx + intStringLen
  23376. if postIndex > l {
  23377. return io.ErrUnexpectedEOF
  23378. }
  23379. m.FieldSelector = string(data[iNdEx:postIndex])
  23380. iNdEx = postIndex
  23381. case 3:
  23382. if wireType != 0 {
  23383. return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType)
  23384. }
  23385. var v int
  23386. for shift := uint(0); ; shift += 7 {
  23387. if shift >= 64 {
  23388. return ErrIntOverflowGenerated
  23389. }
  23390. if iNdEx >= l {
  23391. return io.ErrUnexpectedEOF
  23392. }
  23393. b := data[iNdEx]
  23394. iNdEx++
  23395. v |= (int(b) & 0x7F) << shift
  23396. if b < 0x80 {
  23397. break
  23398. }
  23399. }
  23400. m.Watch = bool(v != 0)
  23401. case 4:
  23402. if wireType != 2 {
  23403. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  23404. }
  23405. var stringLen uint64
  23406. for shift := uint(0); ; shift += 7 {
  23407. if shift >= 64 {
  23408. return ErrIntOverflowGenerated
  23409. }
  23410. if iNdEx >= l {
  23411. return io.ErrUnexpectedEOF
  23412. }
  23413. b := data[iNdEx]
  23414. iNdEx++
  23415. stringLen |= (uint64(b) & 0x7F) << shift
  23416. if b < 0x80 {
  23417. break
  23418. }
  23419. }
  23420. intStringLen := int(stringLen)
  23421. if intStringLen < 0 {
  23422. return ErrInvalidLengthGenerated
  23423. }
  23424. postIndex := iNdEx + intStringLen
  23425. if postIndex > l {
  23426. return io.ErrUnexpectedEOF
  23427. }
  23428. m.ResourceVersion = string(data[iNdEx:postIndex])
  23429. iNdEx = postIndex
  23430. case 5:
  23431. if wireType != 0 {
  23432. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  23433. }
  23434. var v int64
  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. v |= (int64(b) & 0x7F) << shift
  23445. if b < 0x80 {
  23446. break
  23447. }
  23448. }
  23449. m.TimeoutSeconds = &v
  23450. default:
  23451. iNdEx = preIndex
  23452. skippy, err := skipGenerated(data[iNdEx:])
  23453. if err != nil {
  23454. return err
  23455. }
  23456. if skippy < 0 {
  23457. return ErrInvalidLengthGenerated
  23458. }
  23459. if (iNdEx + skippy) > l {
  23460. return io.ErrUnexpectedEOF
  23461. }
  23462. iNdEx += skippy
  23463. }
  23464. }
  23465. if iNdEx > l {
  23466. return io.ErrUnexpectedEOF
  23467. }
  23468. return nil
  23469. }
  23470. func (m *LoadBalancerIngress) Unmarshal(data []byte) error {
  23471. l := len(data)
  23472. iNdEx := 0
  23473. for iNdEx < l {
  23474. preIndex := iNdEx
  23475. var wire uint64
  23476. for shift := uint(0); ; shift += 7 {
  23477. if shift >= 64 {
  23478. return ErrIntOverflowGenerated
  23479. }
  23480. if iNdEx >= l {
  23481. return io.ErrUnexpectedEOF
  23482. }
  23483. b := data[iNdEx]
  23484. iNdEx++
  23485. wire |= (uint64(b) & 0x7F) << shift
  23486. if b < 0x80 {
  23487. break
  23488. }
  23489. }
  23490. fieldNum := int32(wire >> 3)
  23491. wireType := int(wire & 0x7)
  23492. if wireType == 4 {
  23493. return fmt.Errorf("proto: LoadBalancerIngress: wiretype end group for non-group")
  23494. }
  23495. if fieldNum <= 0 {
  23496. return fmt.Errorf("proto: LoadBalancerIngress: illegal tag %d (wire type %d)", fieldNum, wire)
  23497. }
  23498. switch fieldNum {
  23499. case 1:
  23500. if wireType != 2 {
  23501. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  23502. }
  23503. var stringLen uint64
  23504. for shift := uint(0); ; shift += 7 {
  23505. if shift >= 64 {
  23506. return ErrIntOverflowGenerated
  23507. }
  23508. if iNdEx >= l {
  23509. return io.ErrUnexpectedEOF
  23510. }
  23511. b := data[iNdEx]
  23512. iNdEx++
  23513. stringLen |= (uint64(b) & 0x7F) << shift
  23514. if b < 0x80 {
  23515. break
  23516. }
  23517. }
  23518. intStringLen := int(stringLen)
  23519. if intStringLen < 0 {
  23520. return ErrInvalidLengthGenerated
  23521. }
  23522. postIndex := iNdEx + intStringLen
  23523. if postIndex > l {
  23524. return io.ErrUnexpectedEOF
  23525. }
  23526. m.IP = string(data[iNdEx:postIndex])
  23527. iNdEx = postIndex
  23528. case 2:
  23529. if wireType != 2 {
  23530. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  23531. }
  23532. var stringLen uint64
  23533. for shift := uint(0); ; shift += 7 {
  23534. if shift >= 64 {
  23535. return ErrIntOverflowGenerated
  23536. }
  23537. if iNdEx >= l {
  23538. return io.ErrUnexpectedEOF
  23539. }
  23540. b := data[iNdEx]
  23541. iNdEx++
  23542. stringLen |= (uint64(b) & 0x7F) << shift
  23543. if b < 0x80 {
  23544. break
  23545. }
  23546. }
  23547. intStringLen := int(stringLen)
  23548. if intStringLen < 0 {
  23549. return ErrInvalidLengthGenerated
  23550. }
  23551. postIndex := iNdEx + intStringLen
  23552. if postIndex > l {
  23553. return io.ErrUnexpectedEOF
  23554. }
  23555. m.Hostname = string(data[iNdEx:postIndex])
  23556. iNdEx = postIndex
  23557. default:
  23558. iNdEx = preIndex
  23559. skippy, err := skipGenerated(data[iNdEx:])
  23560. if err != nil {
  23561. return err
  23562. }
  23563. if skippy < 0 {
  23564. return ErrInvalidLengthGenerated
  23565. }
  23566. if (iNdEx + skippy) > l {
  23567. return io.ErrUnexpectedEOF
  23568. }
  23569. iNdEx += skippy
  23570. }
  23571. }
  23572. if iNdEx > l {
  23573. return io.ErrUnexpectedEOF
  23574. }
  23575. return nil
  23576. }
  23577. func (m *LoadBalancerStatus) Unmarshal(data []byte) error {
  23578. l := len(data)
  23579. iNdEx := 0
  23580. for iNdEx < l {
  23581. preIndex := iNdEx
  23582. var wire uint64
  23583. for shift := uint(0); ; shift += 7 {
  23584. if shift >= 64 {
  23585. return ErrIntOverflowGenerated
  23586. }
  23587. if iNdEx >= l {
  23588. return io.ErrUnexpectedEOF
  23589. }
  23590. b := data[iNdEx]
  23591. iNdEx++
  23592. wire |= (uint64(b) & 0x7F) << shift
  23593. if b < 0x80 {
  23594. break
  23595. }
  23596. }
  23597. fieldNum := int32(wire >> 3)
  23598. wireType := int(wire & 0x7)
  23599. if wireType == 4 {
  23600. return fmt.Errorf("proto: LoadBalancerStatus: wiretype end group for non-group")
  23601. }
  23602. if fieldNum <= 0 {
  23603. return fmt.Errorf("proto: LoadBalancerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  23604. }
  23605. switch fieldNum {
  23606. case 1:
  23607. if wireType != 2 {
  23608. return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
  23609. }
  23610. var msglen int
  23611. for shift := uint(0); ; shift += 7 {
  23612. if shift >= 64 {
  23613. return ErrIntOverflowGenerated
  23614. }
  23615. if iNdEx >= l {
  23616. return io.ErrUnexpectedEOF
  23617. }
  23618. b := data[iNdEx]
  23619. iNdEx++
  23620. msglen |= (int(b) & 0x7F) << shift
  23621. if b < 0x80 {
  23622. break
  23623. }
  23624. }
  23625. if msglen < 0 {
  23626. return ErrInvalidLengthGenerated
  23627. }
  23628. postIndex := iNdEx + msglen
  23629. if postIndex > l {
  23630. return io.ErrUnexpectedEOF
  23631. }
  23632. m.Ingress = append(m.Ingress, LoadBalancerIngress{})
  23633. if err := m.Ingress[len(m.Ingress)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  23634. return err
  23635. }
  23636. iNdEx = postIndex
  23637. default:
  23638. iNdEx = preIndex
  23639. skippy, err := skipGenerated(data[iNdEx:])
  23640. if err != nil {
  23641. return err
  23642. }
  23643. if skippy < 0 {
  23644. return ErrInvalidLengthGenerated
  23645. }
  23646. if (iNdEx + skippy) > l {
  23647. return io.ErrUnexpectedEOF
  23648. }
  23649. iNdEx += skippy
  23650. }
  23651. }
  23652. if iNdEx > l {
  23653. return io.ErrUnexpectedEOF
  23654. }
  23655. return nil
  23656. }
  23657. func (m *LocalObjectReference) Unmarshal(data []byte) error {
  23658. l := len(data)
  23659. iNdEx := 0
  23660. for iNdEx < l {
  23661. preIndex := iNdEx
  23662. var wire uint64
  23663. for shift := uint(0); ; shift += 7 {
  23664. if shift >= 64 {
  23665. return ErrIntOverflowGenerated
  23666. }
  23667. if iNdEx >= l {
  23668. return io.ErrUnexpectedEOF
  23669. }
  23670. b := data[iNdEx]
  23671. iNdEx++
  23672. wire |= (uint64(b) & 0x7F) << shift
  23673. if b < 0x80 {
  23674. break
  23675. }
  23676. }
  23677. fieldNum := int32(wire >> 3)
  23678. wireType := int(wire & 0x7)
  23679. if wireType == 4 {
  23680. return fmt.Errorf("proto: LocalObjectReference: wiretype end group for non-group")
  23681. }
  23682. if fieldNum <= 0 {
  23683. return fmt.Errorf("proto: LocalObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  23684. }
  23685. switch fieldNum {
  23686. case 1:
  23687. if wireType != 2 {
  23688. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  23689. }
  23690. var stringLen uint64
  23691. for shift := uint(0); ; shift += 7 {
  23692. if shift >= 64 {
  23693. return ErrIntOverflowGenerated
  23694. }
  23695. if iNdEx >= l {
  23696. return io.ErrUnexpectedEOF
  23697. }
  23698. b := data[iNdEx]
  23699. iNdEx++
  23700. stringLen |= (uint64(b) & 0x7F) << shift
  23701. if b < 0x80 {
  23702. break
  23703. }
  23704. }
  23705. intStringLen := int(stringLen)
  23706. if intStringLen < 0 {
  23707. return ErrInvalidLengthGenerated
  23708. }
  23709. postIndex := iNdEx + intStringLen
  23710. if postIndex > l {
  23711. return io.ErrUnexpectedEOF
  23712. }
  23713. m.Name = string(data[iNdEx:postIndex])
  23714. iNdEx = postIndex
  23715. default:
  23716. iNdEx = preIndex
  23717. skippy, err := skipGenerated(data[iNdEx:])
  23718. if err != nil {
  23719. return err
  23720. }
  23721. if skippy < 0 {
  23722. return ErrInvalidLengthGenerated
  23723. }
  23724. if (iNdEx + skippy) > l {
  23725. return io.ErrUnexpectedEOF
  23726. }
  23727. iNdEx += skippy
  23728. }
  23729. }
  23730. if iNdEx > l {
  23731. return io.ErrUnexpectedEOF
  23732. }
  23733. return nil
  23734. }
  23735. func (m *NFSVolumeSource) Unmarshal(data []byte) error {
  23736. l := len(data)
  23737. iNdEx := 0
  23738. for iNdEx < l {
  23739. preIndex := iNdEx
  23740. var wire uint64
  23741. for shift := uint(0); ; shift += 7 {
  23742. if shift >= 64 {
  23743. return ErrIntOverflowGenerated
  23744. }
  23745. if iNdEx >= l {
  23746. return io.ErrUnexpectedEOF
  23747. }
  23748. b := data[iNdEx]
  23749. iNdEx++
  23750. wire |= (uint64(b) & 0x7F) << shift
  23751. if b < 0x80 {
  23752. break
  23753. }
  23754. }
  23755. fieldNum := int32(wire >> 3)
  23756. wireType := int(wire & 0x7)
  23757. if wireType == 4 {
  23758. return fmt.Errorf("proto: NFSVolumeSource: wiretype end group for non-group")
  23759. }
  23760. if fieldNum <= 0 {
  23761. return fmt.Errorf("proto: NFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  23762. }
  23763. switch fieldNum {
  23764. case 1:
  23765. if wireType != 2 {
  23766. return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
  23767. }
  23768. var stringLen uint64
  23769. for shift := uint(0); ; shift += 7 {
  23770. if shift >= 64 {
  23771. return ErrIntOverflowGenerated
  23772. }
  23773. if iNdEx >= l {
  23774. return io.ErrUnexpectedEOF
  23775. }
  23776. b := data[iNdEx]
  23777. iNdEx++
  23778. stringLen |= (uint64(b) & 0x7F) << shift
  23779. if b < 0x80 {
  23780. break
  23781. }
  23782. }
  23783. intStringLen := int(stringLen)
  23784. if intStringLen < 0 {
  23785. return ErrInvalidLengthGenerated
  23786. }
  23787. postIndex := iNdEx + intStringLen
  23788. if postIndex > l {
  23789. return io.ErrUnexpectedEOF
  23790. }
  23791. m.Server = string(data[iNdEx:postIndex])
  23792. iNdEx = postIndex
  23793. case 2:
  23794. if wireType != 2 {
  23795. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  23796. }
  23797. var stringLen uint64
  23798. for shift := uint(0); ; shift += 7 {
  23799. if shift >= 64 {
  23800. return ErrIntOverflowGenerated
  23801. }
  23802. if iNdEx >= l {
  23803. return io.ErrUnexpectedEOF
  23804. }
  23805. b := data[iNdEx]
  23806. iNdEx++
  23807. stringLen |= (uint64(b) & 0x7F) << shift
  23808. if b < 0x80 {
  23809. break
  23810. }
  23811. }
  23812. intStringLen := int(stringLen)
  23813. if intStringLen < 0 {
  23814. return ErrInvalidLengthGenerated
  23815. }
  23816. postIndex := iNdEx + intStringLen
  23817. if postIndex > l {
  23818. return io.ErrUnexpectedEOF
  23819. }
  23820. m.Path = string(data[iNdEx:postIndex])
  23821. iNdEx = postIndex
  23822. case 3:
  23823. if wireType != 0 {
  23824. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  23825. }
  23826. var v int
  23827. for shift := uint(0); ; shift += 7 {
  23828. if shift >= 64 {
  23829. return ErrIntOverflowGenerated
  23830. }
  23831. if iNdEx >= l {
  23832. return io.ErrUnexpectedEOF
  23833. }
  23834. b := data[iNdEx]
  23835. iNdEx++
  23836. v |= (int(b) & 0x7F) << shift
  23837. if b < 0x80 {
  23838. break
  23839. }
  23840. }
  23841. m.ReadOnly = bool(v != 0)
  23842. default:
  23843. iNdEx = preIndex
  23844. skippy, err := skipGenerated(data[iNdEx:])
  23845. if err != nil {
  23846. return err
  23847. }
  23848. if skippy < 0 {
  23849. return ErrInvalidLengthGenerated
  23850. }
  23851. if (iNdEx + skippy) > l {
  23852. return io.ErrUnexpectedEOF
  23853. }
  23854. iNdEx += skippy
  23855. }
  23856. }
  23857. if iNdEx > l {
  23858. return io.ErrUnexpectedEOF
  23859. }
  23860. return nil
  23861. }
  23862. func (m *Namespace) Unmarshal(data []byte) error {
  23863. l := len(data)
  23864. iNdEx := 0
  23865. for iNdEx < l {
  23866. preIndex := iNdEx
  23867. var wire uint64
  23868. for shift := uint(0); ; shift += 7 {
  23869. if shift >= 64 {
  23870. return ErrIntOverflowGenerated
  23871. }
  23872. if iNdEx >= l {
  23873. return io.ErrUnexpectedEOF
  23874. }
  23875. b := data[iNdEx]
  23876. iNdEx++
  23877. wire |= (uint64(b) & 0x7F) << shift
  23878. if b < 0x80 {
  23879. break
  23880. }
  23881. }
  23882. fieldNum := int32(wire >> 3)
  23883. wireType := int(wire & 0x7)
  23884. if wireType == 4 {
  23885. return fmt.Errorf("proto: Namespace: wiretype end group for non-group")
  23886. }
  23887. if fieldNum <= 0 {
  23888. return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire)
  23889. }
  23890. switch fieldNum {
  23891. case 1:
  23892. if wireType != 2 {
  23893. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  23894. }
  23895. var msglen int
  23896. for shift := uint(0); ; shift += 7 {
  23897. if shift >= 64 {
  23898. return ErrIntOverflowGenerated
  23899. }
  23900. if iNdEx >= l {
  23901. return io.ErrUnexpectedEOF
  23902. }
  23903. b := data[iNdEx]
  23904. iNdEx++
  23905. msglen |= (int(b) & 0x7F) << shift
  23906. if b < 0x80 {
  23907. break
  23908. }
  23909. }
  23910. if msglen < 0 {
  23911. return ErrInvalidLengthGenerated
  23912. }
  23913. postIndex := iNdEx + msglen
  23914. if postIndex > l {
  23915. return io.ErrUnexpectedEOF
  23916. }
  23917. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  23918. return err
  23919. }
  23920. iNdEx = postIndex
  23921. case 2:
  23922. if wireType != 2 {
  23923. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  23924. }
  23925. var msglen int
  23926. for shift := uint(0); ; shift += 7 {
  23927. if shift >= 64 {
  23928. return ErrIntOverflowGenerated
  23929. }
  23930. if iNdEx >= l {
  23931. return io.ErrUnexpectedEOF
  23932. }
  23933. b := data[iNdEx]
  23934. iNdEx++
  23935. msglen |= (int(b) & 0x7F) << shift
  23936. if b < 0x80 {
  23937. break
  23938. }
  23939. }
  23940. if msglen < 0 {
  23941. return ErrInvalidLengthGenerated
  23942. }
  23943. postIndex := iNdEx + msglen
  23944. if postIndex > l {
  23945. return io.ErrUnexpectedEOF
  23946. }
  23947. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  23948. return err
  23949. }
  23950. iNdEx = postIndex
  23951. case 3:
  23952. if wireType != 2 {
  23953. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  23954. }
  23955. var msglen int
  23956. for shift := uint(0); ; shift += 7 {
  23957. if shift >= 64 {
  23958. return ErrIntOverflowGenerated
  23959. }
  23960. if iNdEx >= l {
  23961. return io.ErrUnexpectedEOF
  23962. }
  23963. b := data[iNdEx]
  23964. iNdEx++
  23965. msglen |= (int(b) & 0x7F) << shift
  23966. if b < 0x80 {
  23967. break
  23968. }
  23969. }
  23970. if msglen < 0 {
  23971. return ErrInvalidLengthGenerated
  23972. }
  23973. postIndex := iNdEx + msglen
  23974. if postIndex > l {
  23975. return io.ErrUnexpectedEOF
  23976. }
  23977. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  23978. return err
  23979. }
  23980. iNdEx = postIndex
  23981. default:
  23982. iNdEx = preIndex
  23983. skippy, err := skipGenerated(data[iNdEx:])
  23984. if err != nil {
  23985. return err
  23986. }
  23987. if skippy < 0 {
  23988. return ErrInvalidLengthGenerated
  23989. }
  23990. if (iNdEx + skippy) > l {
  23991. return io.ErrUnexpectedEOF
  23992. }
  23993. iNdEx += skippy
  23994. }
  23995. }
  23996. if iNdEx > l {
  23997. return io.ErrUnexpectedEOF
  23998. }
  23999. return nil
  24000. }
  24001. func (m *NamespaceList) Unmarshal(data []byte) error {
  24002. l := len(data)
  24003. iNdEx := 0
  24004. for iNdEx < l {
  24005. preIndex := iNdEx
  24006. var wire uint64
  24007. for shift := uint(0); ; shift += 7 {
  24008. if shift >= 64 {
  24009. return ErrIntOverflowGenerated
  24010. }
  24011. if iNdEx >= l {
  24012. return io.ErrUnexpectedEOF
  24013. }
  24014. b := data[iNdEx]
  24015. iNdEx++
  24016. wire |= (uint64(b) & 0x7F) << shift
  24017. if b < 0x80 {
  24018. break
  24019. }
  24020. }
  24021. fieldNum := int32(wire >> 3)
  24022. wireType := int(wire & 0x7)
  24023. if wireType == 4 {
  24024. return fmt.Errorf("proto: NamespaceList: wiretype end group for non-group")
  24025. }
  24026. if fieldNum <= 0 {
  24027. return fmt.Errorf("proto: NamespaceList: illegal tag %d (wire type %d)", fieldNum, wire)
  24028. }
  24029. switch fieldNum {
  24030. case 1:
  24031. if wireType != 2 {
  24032. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  24033. }
  24034. var msglen int
  24035. for shift := uint(0); ; shift += 7 {
  24036. if shift >= 64 {
  24037. return ErrIntOverflowGenerated
  24038. }
  24039. if iNdEx >= l {
  24040. return io.ErrUnexpectedEOF
  24041. }
  24042. b := data[iNdEx]
  24043. iNdEx++
  24044. msglen |= (int(b) & 0x7F) << shift
  24045. if b < 0x80 {
  24046. break
  24047. }
  24048. }
  24049. if msglen < 0 {
  24050. return ErrInvalidLengthGenerated
  24051. }
  24052. postIndex := iNdEx + msglen
  24053. if postIndex > l {
  24054. return io.ErrUnexpectedEOF
  24055. }
  24056. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24057. return err
  24058. }
  24059. iNdEx = postIndex
  24060. case 2:
  24061. if wireType != 2 {
  24062. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  24063. }
  24064. var msglen int
  24065. for shift := uint(0); ; shift += 7 {
  24066. if shift >= 64 {
  24067. return ErrIntOverflowGenerated
  24068. }
  24069. if iNdEx >= l {
  24070. return io.ErrUnexpectedEOF
  24071. }
  24072. b := data[iNdEx]
  24073. iNdEx++
  24074. msglen |= (int(b) & 0x7F) << shift
  24075. if b < 0x80 {
  24076. break
  24077. }
  24078. }
  24079. if msglen < 0 {
  24080. return ErrInvalidLengthGenerated
  24081. }
  24082. postIndex := iNdEx + msglen
  24083. if postIndex > l {
  24084. return io.ErrUnexpectedEOF
  24085. }
  24086. m.Items = append(m.Items, Namespace{})
  24087. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  24088. return err
  24089. }
  24090. iNdEx = postIndex
  24091. default:
  24092. iNdEx = preIndex
  24093. skippy, err := skipGenerated(data[iNdEx:])
  24094. if err != nil {
  24095. return err
  24096. }
  24097. if skippy < 0 {
  24098. return ErrInvalidLengthGenerated
  24099. }
  24100. if (iNdEx + skippy) > l {
  24101. return io.ErrUnexpectedEOF
  24102. }
  24103. iNdEx += skippy
  24104. }
  24105. }
  24106. if iNdEx > l {
  24107. return io.ErrUnexpectedEOF
  24108. }
  24109. return nil
  24110. }
  24111. func (m *NamespaceSpec) Unmarshal(data []byte) error {
  24112. l := len(data)
  24113. iNdEx := 0
  24114. for iNdEx < l {
  24115. preIndex := iNdEx
  24116. var wire uint64
  24117. for shift := uint(0); ; shift += 7 {
  24118. if shift >= 64 {
  24119. return ErrIntOverflowGenerated
  24120. }
  24121. if iNdEx >= l {
  24122. return io.ErrUnexpectedEOF
  24123. }
  24124. b := data[iNdEx]
  24125. iNdEx++
  24126. wire |= (uint64(b) & 0x7F) << shift
  24127. if b < 0x80 {
  24128. break
  24129. }
  24130. }
  24131. fieldNum := int32(wire >> 3)
  24132. wireType := int(wire & 0x7)
  24133. if wireType == 4 {
  24134. return fmt.Errorf("proto: NamespaceSpec: wiretype end group for non-group")
  24135. }
  24136. if fieldNum <= 0 {
  24137. return fmt.Errorf("proto: NamespaceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  24138. }
  24139. switch fieldNum {
  24140. case 1:
  24141. if wireType != 2 {
  24142. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  24143. }
  24144. var stringLen uint64
  24145. for shift := uint(0); ; shift += 7 {
  24146. if shift >= 64 {
  24147. return ErrIntOverflowGenerated
  24148. }
  24149. if iNdEx >= l {
  24150. return io.ErrUnexpectedEOF
  24151. }
  24152. b := data[iNdEx]
  24153. iNdEx++
  24154. stringLen |= (uint64(b) & 0x7F) << shift
  24155. if b < 0x80 {
  24156. break
  24157. }
  24158. }
  24159. intStringLen := int(stringLen)
  24160. if intStringLen < 0 {
  24161. return ErrInvalidLengthGenerated
  24162. }
  24163. postIndex := iNdEx + intStringLen
  24164. if postIndex > l {
  24165. return io.ErrUnexpectedEOF
  24166. }
  24167. m.Finalizers = append(m.Finalizers, FinalizerName(data[iNdEx:postIndex]))
  24168. iNdEx = postIndex
  24169. default:
  24170. iNdEx = preIndex
  24171. skippy, err := skipGenerated(data[iNdEx:])
  24172. if err != nil {
  24173. return err
  24174. }
  24175. if skippy < 0 {
  24176. return ErrInvalidLengthGenerated
  24177. }
  24178. if (iNdEx + skippy) > l {
  24179. return io.ErrUnexpectedEOF
  24180. }
  24181. iNdEx += skippy
  24182. }
  24183. }
  24184. if iNdEx > l {
  24185. return io.ErrUnexpectedEOF
  24186. }
  24187. return nil
  24188. }
  24189. func (m *NamespaceStatus) Unmarshal(data []byte) error {
  24190. l := len(data)
  24191. iNdEx := 0
  24192. for iNdEx < l {
  24193. preIndex := iNdEx
  24194. var wire uint64
  24195. for shift := uint(0); ; shift += 7 {
  24196. if shift >= 64 {
  24197. return ErrIntOverflowGenerated
  24198. }
  24199. if iNdEx >= l {
  24200. return io.ErrUnexpectedEOF
  24201. }
  24202. b := data[iNdEx]
  24203. iNdEx++
  24204. wire |= (uint64(b) & 0x7F) << shift
  24205. if b < 0x80 {
  24206. break
  24207. }
  24208. }
  24209. fieldNum := int32(wire >> 3)
  24210. wireType := int(wire & 0x7)
  24211. if wireType == 4 {
  24212. return fmt.Errorf("proto: NamespaceStatus: wiretype end group for non-group")
  24213. }
  24214. if fieldNum <= 0 {
  24215. return fmt.Errorf("proto: NamespaceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  24216. }
  24217. switch fieldNum {
  24218. case 1:
  24219. if wireType != 2 {
  24220. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  24221. }
  24222. var stringLen uint64
  24223. for shift := uint(0); ; shift += 7 {
  24224. if shift >= 64 {
  24225. return ErrIntOverflowGenerated
  24226. }
  24227. if iNdEx >= l {
  24228. return io.ErrUnexpectedEOF
  24229. }
  24230. b := data[iNdEx]
  24231. iNdEx++
  24232. stringLen |= (uint64(b) & 0x7F) << shift
  24233. if b < 0x80 {
  24234. break
  24235. }
  24236. }
  24237. intStringLen := int(stringLen)
  24238. if intStringLen < 0 {
  24239. return ErrInvalidLengthGenerated
  24240. }
  24241. postIndex := iNdEx + intStringLen
  24242. if postIndex > l {
  24243. return io.ErrUnexpectedEOF
  24244. }
  24245. m.Phase = NamespacePhase(data[iNdEx:postIndex])
  24246. iNdEx = postIndex
  24247. default:
  24248. iNdEx = preIndex
  24249. skippy, err := skipGenerated(data[iNdEx:])
  24250. if err != nil {
  24251. return err
  24252. }
  24253. if skippy < 0 {
  24254. return ErrInvalidLengthGenerated
  24255. }
  24256. if (iNdEx + skippy) > l {
  24257. return io.ErrUnexpectedEOF
  24258. }
  24259. iNdEx += skippy
  24260. }
  24261. }
  24262. if iNdEx > l {
  24263. return io.ErrUnexpectedEOF
  24264. }
  24265. return nil
  24266. }
  24267. func (m *Node) Unmarshal(data []byte) error {
  24268. l := len(data)
  24269. iNdEx := 0
  24270. for iNdEx < l {
  24271. preIndex := iNdEx
  24272. var wire uint64
  24273. for shift := uint(0); ; shift += 7 {
  24274. if shift >= 64 {
  24275. return ErrIntOverflowGenerated
  24276. }
  24277. if iNdEx >= l {
  24278. return io.ErrUnexpectedEOF
  24279. }
  24280. b := data[iNdEx]
  24281. iNdEx++
  24282. wire |= (uint64(b) & 0x7F) << shift
  24283. if b < 0x80 {
  24284. break
  24285. }
  24286. }
  24287. fieldNum := int32(wire >> 3)
  24288. wireType := int(wire & 0x7)
  24289. if wireType == 4 {
  24290. return fmt.Errorf("proto: Node: wiretype end group for non-group")
  24291. }
  24292. if fieldNum <= 0 {
  24293. return fmt.Errorf("proto: Node: illegal tag %d (wire type %d)", fieldNum, wire)
  24294. }
  24295. switch fieldNum {
  24296. case 1:
  24297. if wireType != 2 {
  24298. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  24299. }
  24300. var msglen int
  24301. for shift := uint(0); ; shift += 7 {
  24302. if shift >= 64 {
  24303. return ErrIntOverflowGenerated
  24304. }
  24305. if iNdEx >= l {
  24306. return io.ErrUnexpectedEOF
  24307. }
  24308. b := data[iNdEx]
  24309. iNdEx++
  24310. msglen |= (int(b) & 0x7F) << shift
  24311. if b < 0x80 {
  24312. break
  24313. }
  24314. }
  24315. if msglen < 0 {
  24316. return ErrInvalidLengthGenerated
  24317. }
  24318. postIndex := iNdEx + msglen
  24319. if postIndex > l {
  24320. return io.ErrUnexpectedEOF
  24321. }
  24322. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24323. return err
  24324. }
  24325. iNdEx = postIndex
  24326. case 2:
  24327. if wireType != 2 {
  24328. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  24329. }
  24330. var msglen int
  24331. for shift := uint(0); ; shift += 7 {
  24332. if shift >= 64 {
  24333. return ErrIntOverflowGenerated
  24334. }
  24335. if iNdEx >= l {
  24336. return io.ErrUnexpectedEOF
  24337. }
  24338. b := data[iNdEx]
  24339. iNdEx++
  24340. msglen |= (int(b) & 0x7F) << shift
  24341. if b < 0x80 {
  24342. break
  24343. }
  24344. }
  24345. if msglen < 0 {
  24346. return ErrInvalidLengthGenerated
  24347. }
  24348. postIndex := iNdEx + msglen
  24349. if postIndex > l {
  24350. return io.ErrUnexpectedEOF
  24351. }
  24352. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24353. return err
  24354. }
  24355. iNdEx = postIndex
  24356. case 3:
  24357. if wireType != 2 {
  24358. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  24359. }
  24360. var msglen int
  24361. for shift := uint(0); ; shift += 7 {
  24362. if shift >= 64 {
  24363. return ErrIntOverflowGenerated
  24364. }
  24365. if iNdEx >= l {
  24366. return io.ErrUnexpectedEOF
  24367. }
  24368. b := data[iNdEx]
  24369. iNdEx++
  24370. msglen |= (int(b) & 0x7F) << shift
  24371. if b < 0x80 {
  24372. break
  24373. }
  24374. }
  24375. if msglen < 0 {
  24376. return ErrInvalidLengthGenerated
  24377. }
  24378. postIndex := iNdEx + msglen
  24379. if postIndex > l {
  24380. return io.ErrUnexpectedEOF
  24381. }
  24382. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24383. return err
  24384. }
  24385. iNdEx = postIndex
  24386. default:
  24387. iNdEx = preIndex
  24388. skippy, err := skipGenerated(data[iNdEx:])
  24389. if err != nil {
  24390. return err
  24391. }
  24392. if skippy < 0 {
  24393. return ErrInvalidLengthGenerated
  24394. }
  24395. if (iNdEx + skippy) > l {
  24396. return io.ErrUnexpectedEOF
  24397. }
  24398. iNdEx += skippy
  24399. }
  24400. }
  24401. if iNdEx > l {
  24402. return io.ErrUnexpectedEOF
  24403. }
  24404. return nil
  24405. }
  24406. func (m *NodeAddress) Unmarshal(data []byte) error {
  24407. l := len(data)
  24408. iNdEx := 0
  24409. for iNdEx < l {
  24410. preIndex := iNdEx
  24411. var wire uint64
  24412. for shift := uint(0); ; shift += 7 {
  24413. if shift >= 64 {
  24414. return ErrIntOverflowGenerated
  24415. }
  24416. if iNdEx >= l {
  24417. return io.ErrUnexpectedEOF
  24418. }
  24419. b := data[iNdEx]
  24420. iNdEx++
  24421. wire |= (uint64(b) & 0x7F) << shift
  24422. if b < 0x80 {
  24423. break
  24424. }
  24425. }
  24426. fieldNum := int32(wire >> 3)
  24427. wireType := int(wire & 0x7)
  24428. if wireType == 4 {
  24429. return fmt.Errorf("proto: NodeAddress: wiretype end group for non-group")
  24430. }
  24431. if fieldNum <= 0 {
  24432. return fmt.Errorf("proto: NodeAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  24433. }
  24434. switch fieldNum {
  24435. case 1:
  24436. if wireType != 2 {
  24437. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  24438. }
  24439. var stringLen uint64
  24440. for shift := uint(0); ; shift += 7 {
  24441. if shift >= 64 {
  24442. return ErrIntOverflowGenerated
  24443. }
  24444. if iNdEx >= l {
  24445. return io.ErrUnexpectedEOF
  24446. }
  24447. b := data[iNdEx]
  24448. iNdEx++
  24449. stringLen |= (uint64(b) & 0x7F) << shift
  24450. if b < 0x80 {
  24451. break
  24452. }
  24453. }
  24454. intStringLen := int(stringLen)
  24455. if intStringLen < 0 {
  24456. return ErrInvalidLengthGenerated
  24457. }
  24458. postIndex := iNdEx + intStringLen
  24459. if postIndex > l {
  24460. return io.ErrUnexpectedEOF
  24461. }
  24462. m.Type = NodeAddressType(data[iNdEx:postIndex])
  24463. iNdEx = postIndex
  24464. case 2:
  24465. if wireType != 2 {
  24466. return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
  24467. }
  24468. var stringLen uint64
  24469. for shift := uint(0); ; shift += 7 {
  24470. if shift >= 64 {
  24471. return ErrIntOverflowGenerated
  24472. }
  24473. if iNdEx >= l {
  24474. return io.ErrUnexpectedEOF
  24475. }
  24476. b := data[iNdEx]
  24477. iNdEx++
  24478. stringLen |= (uint64(b) & 0x7F) << shift
  24479. if b < 0x80 {
  24480. break
  24481. }
  24482. }
  24483. intStringLen := int(stringLen)
  24484. if intStringLen < 0 {
  24485. return ErrInvalidLengthGenerated
  24486. }
  24487. postIndex := iNdEx + intStringLen
  24488. if postIndex > l {
  24489. return io.ErrUnexpectedEOF
  24490. }
  24491. m.Address = string(data[iNdEx:postIndex])
  24492. iNdEx = postIndex
  24493. default:
  24494. iNdEx = preIndex
  24495. skippy, err := skipGenerated(data[iNdEx:])
  24496. if err != nil {
  24497. return err
  24498. }
  24499. if skippy < 0 {
  24500. return ErrInvalidLengthGenerated
  24501. }
  24502. if (iNdEx + skippy) > l {
  24503. return io.ErrUnexpectedEOF
  24504. }
  24505. iNdEx += skippy
  24506. }
  24507. }
  24508. if iNdEx > l {
  24509. return io.ErrUnexpectedEOF
  24510. }
  24511. return nil
  24512. }
  24513. func (m *NodeAffinity) Unmarshal(data []byte) error {
  24514. l := len(data)
  24515. iNdEx := 0
  24516. for iNdEx < l {
  24517. preIndex := iNdEx
  24518. var wire uint64
  24519. for shift := uint(0); ; shift += 7 {
  24520. if shift >= 64 {
  24521. return ErrIntOverflowGenerated
  24522. }
  24523. if iNdEx >= l {
  24524. return io.ErrUnexpectedEOF
  24525. }
  24526. b := data[iNdEx]
  24527. iNdEx++
  24528. wire |= (uint64(b) & 0x7F) << shift
  24529. if b < 0x80 {
  24530. break
  24531. }
  24532. }
  24533. fieldNum := int32(wire >> 3)
  24534. wireType := int(wire & 0x7)
  24535. if wireType == 4 {
  24536. return fmt.Errorf("proto: NodeAffinity: wiretype end group for non-group")
  24537. }
  24538. if fieldNum <= 0 {
  24539. return fmt.Errorf("proto: NodeAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  24540. }
  24541. switch fieldNum {
  24542. case 1:
  24543. if wireType != 2 {
  24544. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  24545. }
  24546. var msglen int
  24547. for shift := uint(0); ; shift += 7 {
  24548. if shift >= 64 {
  24549. return ErrIntOverflowGenerated
  24550. }
  24551. if iNdEx >= l {
  24552. return io.ErrUnexpectedEOF
  24553. }
  24554. b := data[iNdEx]
  24555. iNdEx++
  24556. msglen |= (int(b) & 0x7F) << shift
  24557. if b < 0x80 {
  24558. break
  24559. }
  24560. }
  24561. if msglen < 0 {
  24562. return ErrInvalidLengthGenerated
  24563. }
  24564. postIndex := iNdEx + msglen
  24565. if postIndex > l {
  24566. return io.ErrUnexpectedEOF
  24567. }
  24568. if m.RequiredDuringSchedulingIgnoredDuringExecution == nil {
  24569. m.RequiredDuringSchedulingIgnoredDuringExecution = &NodeSelector{}
  24570. }
  24571. if err := m.RequiredDuringSchedulingIgnoredDuringExecution.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24572. return err
  24573. }
  24574. iNdEx = postIndex
  24575. case 2:
  24576. if wireType != 2 {
  24577. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  24578. }
  24579. var msglen int
  24580. for shift := uint(0); ; shift += 7 {
  24581. if shift >= 64 {
  24582. return ErrIntOverflowGenerated
  24583. }
  24584. if iNdEx >= l {
  24585. return io.ErrUnexpectedEOF
  24586. }
  24587. b := data[iNdEx]
  24588. iNdEx++
  24589. msglen |= (int(b) & 0x7F) << shift
  24590. if b < 0x80 {
  24591. break
  24592. }
  24593. }
  24594. if msglen < 0 {
  24595. return ErrInvalidLengthGenerated
  24596. }
  24597. postIndex := iNdEx + msglen
  24598. if postIndex > l {
  24599. return io.ErrUnexpectedEOF
  24600. }
  24601. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, PreferredSchedulingTerm{})
  24602. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  24603. return err
  24604. }
  24605. iNdEx = postIndex
  24606. default:
  24607. iNdEx = preIndex
  24608. skippy, err := skipGenerated(data[iNdEx:])
  24609. if err != nil {
  24610. return err
  24611. }
  24612. if skippy < 0 {
  24613. return ErrInvalidLengthGenerated
  24614. }
  24615. if (iNdEx + skippy) > l {
  24616. return io.ErrUnexpectedEOF
  24617. }
  24618. iNdEx += skippy
  24619. }
  24620. }
  24621. if iNdEx > l {
  24622. return io.ErrUnexpectedEOF
  24623. }
  24624. return nil
  24625. }
  24626. func (m *NodeCondition) Unmarshal(data []byte) error {
  24627. l := len(data)
  24628. iNdEx := 0
  24629. for iNdEx < l {
  24630. preIndex := iNdEx
  24631. var wire uint64
  24632. for shift := uint(0); ; shift += 7 {
  24633. if shift >= 64 {
  24634. return ErrIntOverflowGenerated
  24635. }
  24636. if iNdEx >= l {
  24637. return io.ErrUnexpectedEOF
  24638. }
  24639. b := data[iNdEx]
  24640. iNdEx++
  24641. wire |= (uint64(b) & 0x7F) << shift
  24642. if b < 0x80 {
  24643. break
  24644. }
  24645. }
  24646. fieldNum := int32(wire >> 3)
  24647. wireType := int(wire & 0x7)
  24648. if wireType == 4 {
  24649. return fmt.Errorf("proto: NodeCondition: wiretype end group for non-group")
  24650. }
  24651. if fieldNum <= 0 {
  24652. return fmt.Errorf("proto: NodeCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  24653. }
  24654. switch fieldNum {
  24655. case 1:
  24656. if wireType != 2 {
  24657. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  24658. }
  24659. var stringLen uint64
  24660. for shift := uint(0); ; shift += 7 {
  24661. if shift >= 64 {
  24662. return ErrIntOverflowGenerated
  24663. }
  24664. if iNdEx >= l {
  24665. return io.ErrUnexpectedEOF
  24666. }
  24667. b := data[iNdEx]
  24668. iNdEx++
  24669. stringLen |= (uint64(b) & 0x7F) << shift
  24670. if b < 0x80 {
  24671. break
  24672. }
  24673. }
  24674. intStringLen := int(stringLen)
  24675. if intStringLen < 0 {
  24676. return ErrInvalidLengthGenerated
  24677. }
  24678. postIndex := iNdEx + intStringLen
  24679. if postIndex > l {
  24680. return io.ErrUnexpectedEOF
  24681. }
  24682. m.Type = NodeConditionType(data[iNdEx:postIndex])
  24683. iNdEx = postIndex
  24684. case 2:
  24685. if wireType != 2 {
  24686. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  24687. }
  24688. var stringLen uint64
  24689. for shift := uint(0); ; shift += 7 {
  24690. if shift >= 64 {
  24691. return ErrIntOverflowGenerated
  24692. }
  24693. if iNdEx >= l {
  24694. return io.ErrUnexpectedEOF
  24695. }
  24696. b := data[iNdEx]
  24697. iNdEx++
  24698. stringLen |= (uint64(b) & 0x7F) << shift
  24699. if b < 0x80 {
  24700. break
  24701. }
  24702. }
  24703. intStringLen := int(stringLen)
  24704. if intStringLen < 0 {
  24705. return ErrInvalidLengthGenerated
  24706. }
  24707. postIndex := iNdEx + intStringLen
  24708. if postIndex > l {
  24709. return io.ErrUnexpectedEOF
  24710. }
  24711. m.Status = ConditionStatus(data[iNdEx:postIndex])
  24712. iNdEx = postIndex
  24713. case 3:
  24714. if wireType != 2 {
  24715. return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeatTime", wireType)
  24716. }
  24717. var msglen int
  24718. for shift := uint(0); ; shift += 7 {
  24719. if shift >= 64 {
  24720. return ErrIntOverflowGenerated
  24721. }
  24722. if iNdEx >= l {
  24723. return io.ErrUnexpectedEOF
  24724. }
  24725. b := data[iNdEx]
  24726. iNdEx++
  24727. msglen |= (int(b) & 0x7F) << shift
  24728. if b < 0x80 {
  24729. break
  24730. }
  24731. }
  24732. if msglen < 0 {
  24733. return ErrInvalidLengthGenerated
  24734. }
  24735. postIndex := iNdEx + msglen
  24736. if postIndex > l {
  24737. return io.ErrUnexpectedEOF
  24738. }
  24739. if err := m.LastHeartbeatTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24740. return err
  24741. }
  24742. iNdEx = postIndex
  24743. case 4:
  24744. if wireType != 2 {
  24745. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  24746. }
  24747. var msglen int
  24748. for shift := uint(0); ; shift += 7 {
  24749. if shift >= 64 {
  24750. return ErrIntOverflowGenerated
  24751. }
  24752. if iNdEx >= l {
  24753. return io.ErrUnexpectedEOF
  24754. }
  24755. b := data[iNdEx]
  24756. iNdEx++
  24757. msglen |= (int(b) & 0x7F) << shift
  24758. if b < 0x80 {
  24759. break
  24760. }
  24761. }
  24762. if msglen < 0 {
  24763. return ErrInvalidLengthGenerated
  24764. }
  24765. postIndex := iNdEx + msglen
  24766. if postIndex > l {
  24767. return io.ErrUnexpectedEOF
  24768. }
  24769. if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24770. return err
  24771. }
  24772. iNdEx = postIndex
  24773. case 5:
  24774. if wireType != 2 {
  24775. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  24776. }
  24777. var stringLen uint64
  24778. for shift := uint(0); ; shift += 7 {
  24779. if shift >= 64 {
  24780. return ErrIntOverflowGenerated
  24781. }
  24782. if iNdEx >= l {
  24783. return io.ErrUnexpectedEOF
  24784. }
  24785. b := data[iNdEx]
  24786. iNdEx++
  24787. stringLen |= (uint64(b) & 0x7F) << shift
  24788. if b < 0x80 {
  24789. break
  24790. }
  24791. }
  24792. intStringLen := int(stringLen)
  24793. if intStringLen < 0 {
  24794. return ErrInvalidLengthGenerated
  24795. }
  24796. postIndex := iNdEx + intStringLen
  24797. if postIndex > l {
  24798. return io.ErrUnexpectedEOF
  24799. }
  24800. m.Reason = string(data[iNdEx:postIndex])
  24801. iNdEx = postIndex
  24802. case 6:
  24803. if wireType != 2 {
  24804. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  24805. }
  24806. var stringLen uint64
  24807. for shift := uint(0); ; shift += 7 {
  24808. if shift >= 64 {
  24809. return ErrIntOverflowGenerated
  24810. }
  24811. if iNdEx >= l {
  24812. return io.ErrUnexpectedEOF
  24813. }
  24814. b := data[iNdEx]
  24815. iNdEx++
  24816. stringLen |= (uint64(b) & 0x7F) << shift
  24817. if b < 0x80 {
  24818. break
  24819. }
  24820. }
  24821. intStringLen := int(stringLen)
  24822. if intStringLen < 0 {
  24823. return ErrInvalidLengthGenerated
  24824. }
  24825. postIndex := iNdEx + intStringLen
  24826. if postIndex > l {
  24827. return io.ErrUnexpectedEOF
  24828. }
  24829. m.Message = string(data[iNdEx:postIndex])
  24830. iNdEx = postIndex
  24831. default:
  24832. iNdEx = preIndex
  24833. skippy, err := skipGenerated(data[iNdEx:])
  24834. if err != nil {
  24835. return err
  24836. }
  24837. if skippy < 0 {
  24838. return ErrInvalidLengthGenerated
  24839. }
  24840. if (iNdEx + skippy) > l {
  24841. return io.ErrUnexpectedEOF
  24842. }
  24843. iNdEx += skippy
  24844. }
  24845. }
  24846. if iNdEx > l {
  24847. return io.ErrUnexpectedEOF
  24848. }
  24849. return nil
  24850. }
  24851. func (m *NodeDaemonEndpoints) Unmarshal(data []byte) error {
  24852. l := len(data)
  24853. iNdEx := 0
  24854. for iNdEx < l {
  24855. preIndex := iNdEx
  24856. var wire uint64
  24857. for shift := uint(0); ; shift += 7 {
  24858. if shift >= 64 {
  24859. return ErrIntOverflowGenerated
  24860. }
  24861. if iNdEx >= l {
  24862. return io.ErrUnexpectedEOF
  24863. }
  24864. b := data[iNdEx]
  24865. iNdEx++
  24866. wire |= (uint64(b) & 0x7F) << shift
  24867. if b < 0x80 {
  24868. break
  24869. }
  24870. }
  24871. fieldNum := int32(wire >> 3)
  24872. wireType := int(wire & 0x7)
  24873. if wireType == 4 {
  24874. return fmt.Errorf("proto: NodeDaemonEndpoints: wiretype end group for non-group")
  24875. }
  24876. if fieldNum <= 0 {
  24877. return fmt.Errorf("proto: NodeDaemonEndpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  24878. }
  24879. switch fieldNum {
  24880. case 1:
  24881. if wireType != 2 {
  24882. return fmt.Errorf("proto: wrong wireType = %d for field KubeletEndpoint", wireType)
  24883. }
  24884. var msglen int
  24885. for shift := uint(0); ; shift += 7 {
  24886. if shift >= 64 {
  24887. return ErrIntOverflowGenerated
  24888. }
  24889. if iNdEx >= l {
  24890. return io.ErrUnexpectedEOF
  24891. }
  24892. b := data[iNdEx]
  24893. iNdEx++
  24894. msglen |= (int(b) & 0x7F) << shift
  24895. if b < 0x80 {
  24896. break
  24897. }
  24898. }
  24899. if msglen < 0 {
  24900. return ErrInvalidLengthGenerated
  24901. }
  24902. postIndex := iNdEx + msglen
  24903. if postIndex > l {
  24904. return io.ErrUnexpectedEOF
  24905. }
  24906. if err := m.KubeletEndpoint.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24907. return err
  24908. }
  24909. iNdEx = postIndex
  24910. default:
  24911. iNdEx = preIndex
  24912. skippy, err := skipGenerated(data[iNdEx:])
  24913. if err != nil {
  24914. return err
  24915. }
  24916. if skippy < 0 {
  24917. return ErrInvalidLengthGenerated
  24918. }
  24919. if (iNdEx + skippy) > l {
  24920. return io.ErrUnexpectedEOF
  24921. }
  24922. iNdEx += skippy
  24923. }
  24924. }
  24925. if iNdEx > l {
  24926. return io.ErrUnexpectedEOF
  24927. }
  24928. return nil
  24929. }
  24930. func (m *NodeList) Unmarshal(data []byte) error {
  24931. l := len(data)
  24932. iNdEx := 0
  24933. for iNdEx < l {
  24934. preIndex := iNdEx
  24935. var wire uint64
  24936. for shift := uint(0); ; shift += 7 {
  24937. if shift >= 64 {
  24938. return ErrIntOverflowGenerated
  24939. }
  24940. if iNdEx >= l {
  24941. return io.ErrUnexpectedEOF
  24942. }
  24943. b := data[iNdEx]
  24944. iNdEx++
  24945. wire |= (uint64(b) & 0x7F) << shift
  24946. if b < 0x80 {
  24947. break
  24948. }
  24949. }
  24950. fieldNum := int32(wire >> 3)
  24951. wireType := int(wire & 0x7)
  24952. if wireType == 4 {
  24953. return fmt.Errorf("proto: NodeList: wiretype end group for non-group")
  24954. }
  24955. if fieldNum <= 0 {
  24956. return fmt.Errorf("proto: NodeList: illegal tag %d (wire type %d)", fieldNum, wire)
  24957. }
  24958. switch fieldNum {
  24959. case 1:
  24960. if wireType != 2 {
  24961. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  24962. }
  24963. var msglen int
  24964. for shift := uint(0); ; shift += 7 {
  24965. if shift >= 64 {
  24966. return ErrIntOverflowGenerated
  24967. }
  24968. if iNdEx >= l {
  24969. return io.ErrUnexpectedEOF
  24970. }
  24971. b := data[iNdEx]
  24972. iNdEx++
  24973. msglen |= (int(b) & 0x7F) << shift
  24974. if b < 0x80 {
  24975. break
  24976. }
  24977. }
  24978. if msglen < 0 {
  24979. return ErrInvalidLengthGenerated
  24980. }
  24981. postIndex := iNdEx + msglen
  24982. if postIndex > l {
  24983. return io.ErrUnexpectedEOF
  24984. }
  24985. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  24986. return err
  24987. }
  24988. iNdEx = postIndex
  24989. case 2:
  24990. if wireType != 2 {
  24991. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  24992. }
  24993. var msglen int
  24994. for shift := uint(0); ; shift += 7 {
  24995. if shift >= 64 {
  24996. return ErrIntOverflowGenerated
  24997. }
  24998. if iNdEx >= l {
  24999. return io.ErrUnexpectedEOF
  25000. }
  25001. b := data[iNdEx]
  25002. iNdEx++
  25003. msglen |= (int(b) & 0x7F) << shift
  25004. if b < 0x80 {
  25005. break
  25006. }
  25007. }
  25008. if msglen < 0 {
  25009. return ErrInvalidLengthGenerated
  25010. }
  25011. postIndex := iNdEx + msglen
  25012. if postIndex > l {
  25013. return io.ErrUnexpectedEOF
  25014. }
  25015. m.Items = append(m.Items, Node{})
  25016. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  25017. return err
  25018. }
  25019. iNdEx = postIndex
  25020. default:
  25021. iNdEx = preIndex
  25022. skippy, err := skipGenerated(data[iNdEx:])
  25023. if err != nil {
  25024. return err
  25025. }
  25026. if skippy < 0 {
  25027. return ErrInvalidLengthGenerated
  25028. }
  25029. if (iNdEx + skippy) > l {
  25030. return io.ErrUnexpectedEOF
  25031. }
  25032. iNdEx += skippy
  25033. }
  25034. }
  25035. if iNdEx > l {
  25036. return io.ErrUnexpectedEOF
  25037. }
  25038. return nil
  25039. }
  25040. func (m *NodeProxyOptions) Unmarshal(data []byte) error {
  25041. l := len(data)
  25042. iNdEx := 0
  25043. for iNdEx < l {
  25044. preIndex := iNdEx
  25045. var wire uint64
  25046. for shift := uint(0); ; shift += 7 {
  25047. if shift >= 64 {
  25048. return ErrIntOverflowGenerated
  25049. }
  25050. if iNdEx >= l {
  25051. return io.ErrUnexpectedEOF
  25052. }
  25053. b := data[iNdEx]
  25054. iNdEx++
  25055. wire |= (uint64(b) & 0x7F) << shift
  25056. if b < 0x80 {
  25057. break
  25058. }
  25059. }
  25060. fieldNum := int32(wire >> 3)
  25061. wireType := int(wire & 0x7)
  25062. if wireType == 4 {
  25063. return fmt.Errorf("proto: NodeProxyOptions: wiretype end group for non-group")
  25064. }
  25065. if fieldNum <= 0 {
  25066. return fmt.Errorf("proto: NodeProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  25067. }
  25068. switch fieldNum {
  25069. case 1:
  25070. if wireType != 2 {
  25071. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  25072. }
  25073. var stringLen uint64
  25074. for shift := uint(0); ; shift += 7 {
  25075. if shift >= 64 {
  25076. return ErrIntOverflowGenerated
  25077. }
  25078. if iNdEx >= l {
  25079. return io.ErrUnexpectedEOF
  25080. }
  25081. b := data[iNdEx]
  25082. iNdEx++
  25083. stringLen |= (uint64(b) & 0x7F) << shift
  25084. if b < 0x80 {
  25085. break
  25086. }
  25087. }
  25088. intStringLen := int(stringLen)
  25089. if intStringLen < 0 {
  25090. return ErrInvalidLengthGenerated
  25091. }
  25092. postIndex := iNdEx + intStringLen
  25093. if postIndex > l {
  25094. return io.ErrUnexpectedEOF
  25095. }
  25096. m.Path = string(data[iNdEx:postIndex])
  25097. iNdEx = postIndex
  25098. default:
  25099. iNdEx = preIndex
  25100. skippy, err := skipGenerated(data[iNdEx:])
  25101. if err != nil {
  25102. return err
  25103. }
  25104. if skippy < 0 {
  25105. return ErrInvalidLengthGenerated
  25106. }
  25107. if (iNdEx + skippy) > l {
  25108. return io.ErrUnexpectedEOF
  25109. }
  25110. iNdEx += skippy
  25111. }
  25112. }
  25113. if iNdEx > l {
  25114. return io.ErrUnexpectedEOF
  25115. }
  25116. return nil
  25117. }
  25118. func (m *NodeResources) Unmarshal(data []byte) error {
  25119. l := len(data)
  25120. iNdEx := 0
  25121. for iNdEx < l {
  25122. preIndex := iNdEx
  25123. var wire uint64
  25124. for shift := uint(0); ; shift += 7 {
  25125. if shift >= 64 {
  25126. return ErrIntOverflowGenerated
  25127. }
  25128. if iNdEx >= l {
  25129. return io.ErrUnexpectedEOF
  25130. }
  25131. b := data[iNdEx]
  25132. iNdEx++
  25133. wire |= (uint64(b) & 0x7F) << shift
  25134. if b < 0x80 {
  25135. break
  25136. }
  25137. }
  25138. fieldNum := int32(wire >> 3)
  25139. wireType := int(wire & 0x7)
  25140. if wireType == 4 {
  25141. return fmt.Errorf("proto: NodeResources: wiretype end group for non-group")
  25142. }
  25143. if fieldNum <= 0 {
  25144. return fmt.Errorf("proto: NodeResources: illegal tag %d (wire type %d)", fieldNum, wire)
  25145. }
  25146. switch fieldNum {
  25147. case 1:
  25148. if wireType != 2 {
  25149. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  25150. }
  25151. var msglen int
  25152. for shift := uint(0); ; shift += 7 {
  25153. if shift >= 64 {
  25154. return ErrIntOverflowGenerated
  25155. }
  25156. if iNdEx >= l {
  25157. return io.ErrUnexpectedEOF
  25158. }
  25159. b := data[iNdEx]
  25160. iNdEx++
  25161. msglen |= (int(b) & 0x7F) << shift
  25162. if b < 0x80 {
  25163. break
  25164. }
  25165. }
  25166. if msglen < 0 {
  25167. return ErrInvalidLengthGenerated
  25168. }
  25169. postIndex := iNdEx + msglen
  25170. if postIndex > l {
  25171. return io.ErrUnexpectedEOF
  25172. }
  25173. var keykey uint64
  25174. for shift := uint(0); ; shift += 7 {
  25175. if shift >= 64 {
  25176. return ErrIntOverflowGenerated
  25177. }
  25178. if iNdEx >= l {
  25179. return io.ErrUnexpectedEOF
  25180. }
  25181. b := data[iNdEx]
  25182. iNdEx++
  25183. keykey |= (uint64(b) & 0x7F) << shift
  25184. if b < 0x80 {
  25185. break
  25186. }
  25187. }
  25188. var stringLenmapkey uint64
  25189. for shift := uint(0); ; shift += 7 {
  25190. if shift >= 64 {
  25191. return ErrIntOverflowGenerated
  25192. }
  25193. if iNdEx >= l {
  25194. return io.ErrUnexpectedEOF
  25195. }
  25196. b := data[iNdEx]
  25197. iNdEx++
  25198. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  25199. if b < 0x80 {
  25200. break
  25201. }
  25202. }
  25203. intStringLenmapkey := int(stringLenmapkey)
  25204. if intStringLenmapkey < 0 {
  25205. return ErrInvalidLengthGenerated
  25206. }
  25207. postStringIndexmapkey := iNdEx + intStringLenmapkey
  25208. if postStringIndexmapkey > l {
  25209. return io.ErrUnexpectedEOF
  25210. }
  25211. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  25212. iNdEx = postStringIndexmapkey
  25213. var valuekey uint64
  25214. for shift := uint(0); ; shift += 7 {
  25215. if shift >= 64 {
  25216. return ErrIntOverflowGenerated
  25217. }
  25218. if iNdEx >= l {
  25219. return io.ErrUnexpectedEOF
  25220. }
  25221. b := data[iNdEx]
  25222. iNdEx++
  25223. valuekey |= (uint64(b) & 0x7F) << shift
  25224. if b < 0x80 {
  25225. break
  25226. }
  25227. }
  25228. var mapmsglen int
  25229. for shift := uint(0); ; shift += 7 {
  25230. if shift >= 64 {
  25231. return ErrIntOverflowGenerated
  25232. }
  25233. if iNdEx >= l {
  25234. return io.ErrUnexpectedEOF
  25235. }
  25236. b := data[iNdEx]
  25237. iNdEx++
  25238. mapmsglen |= (int(b) & 0x7F) << shift
  25239. if b < 0x80 {
  25240. break
  25241. }
  25242. }
  25243. if mapmsglen < 0 {
  25244. return ErrInvalidLengthGenerated
  25245. }
  25246. postmsgIndex := iNdEx + mapmsglen
  25247. if mapmsglen < 0 {
  25248. return ErrInvalidLengthGenerated
  25249. }
  25250. if postmsgIndex > l {
  25251. return io.ErrUnexpectedEOF
  25252. }
  25253. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  25254. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  25255. return err
  25256. }
  25257. iNdEx = postmsgIndex
  25258. if m.Capacity == nil {
  25259. m.Capacity = make(ResourceList)
  25260. }
  25261. m.Capacity[ResourceName(mapkey)] = *mapvalue
  25262. iNdEx = postIndex
  25263. default:
  25264. iNdEx = preIndex
  25265. skippy, err := skipGenerated(data[iNdEx:])
  25266. if err != nil {
  25267. return err
  25268. }
  25269. if skippy < 0 {
  25270. return ErrInvalidLengthGenerated
  25271. }
  25272. if (iNdEx + skippy) > l {
  25273. return io.ErrUnexpectedEOF
  25274. }
  25275. iNdEx += skippy
  25276. }
  25277. }
  25278. if iNdEx > l {
  25279. return io.ErrUnexpectedEOF
  25280. }
  25281. return nil
  25282. }
  25283. func (m *NodeSelector) Unmarshal(data []byte) error {
  25284. l := len(data)
  25285. iNdEx := 0
  25286. for iNdEx < l {
  25287. preIndex := iNdEx
  25288. var wire uint64
  25289. for shift := uint(0); ; shift += 7 {
  25290. if shift >= 64 {
  25291. return ErrIntOverflowGenerated
  25292. }
  25293. if iNdEx >= l {
  25294. return io.ErrUnexpectedEOF
  25295. }
  25296. b := data[iNdEx]
  25297. iNdEx++
  25298. wire |= (uint64(b) & 0x7F) << shift
  25299. if b < 0x80 {
  25300. break
  25301. }
  25302. }
  25303. fieldNum := int32(wire >> 3)
  25304. wireType := int(wire & 0x7)
  25305. if wireType == 4 {
  25306. return fmt.Errorf("proto: NodeSelector: wiretype end group for non-group")
  25307. }
  25308. if fieldNum <= 0 {
  25309. return fmt.Errorf("proto: NodeSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  25310. }
  25311. switch fieldNum {
  25312. case 1:
  25313. if wireType != 2 {
  25314. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelectorTerms", wireType)
  25315. }
  25316. var msglen int
  25317. for shift := uint(0); ; shift += 7 {
  25318. if shift >= 64 {
  25319. return ErrIntOverflowGenerated
  25320. }
  25321. if iNdEx >= l {
  25322. return io.ErrUnexpectedEOF
  25323. }
  25324. b := data[iNdEx]
  25325. iNdEx++
  25326. msglen |= (int(b) & 0x7F) << shift
  25327. if b < 0x80 {
  25328. break
  25329. }
  25330. }
  25331. if msglen < 0 {
  25332. return ErrInvalidLengthGenerated
  25333. }
  25334. postIndex := iNdEx + msglen
  25335. if postIndex > l {
  25336. return io.ErrUnexpectedEOF
  25337. }
  25338. m.NodeSelectorTerms = append(m.NodeSelectorTerms, NodeSelectorTerm{})
  25339. if err := m.NodeSelectorTerms[len(m.NodeSelectorTerms)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  25340. return err
  25341. }
  25342. iNdEx = postIndex
  25343. default:
  25344. iNdEx = preIndex
  25345. skippy, err := skipGenerated(data[iNdEx:])
  25346. if err != nil {
  25347. return err
  25348. }
  25349. if skippy < 0 {
  25350. return ErrInvalidLengthGenerated
  25351. }
  25352. if (iNdEx + skippy) > l {
  25353. return io.ErrUnexpectedEOF
  25354. }
  25355. iNdEx += skippy
  25356. }
  25357. }
  25358. if iNdEx > l {
  25359. return io.ErrUnexpectedEOF
  25360. }
  25361. return nil
  25362. }
  25363. func (m *NodeSelectorRequirement) Unmarshal(data []byte) error {
  25364. l := len(data)
  25365. iNdEx := 0
  25366. for iNdEx < l {
  25367. preIndex := iNdEx
  25368. var wire uint64
  25369. for shift := uint(0); ; shift += 7 {
  25370. if shift >= 64 {
  25371. return ErrIntOverflowGenerated
  25372. }
  25373. if iNdEx >= l {
  25374. return io.ErrUnexpectedEOF
  25375. }
  25376. b := data[iNdEx]
  25377. iNdEx++
  25378. wire |= (uint64(b) & 0x7F) << shift
  25379. if b < 0x80 {
  25380. break
  25381. }
  25382. }
  25383. fieldNum := int32(wire >> 3)
  25384. wireType := int(wire & 0x7)
  25385. if wireType == 4 {
  25386. return fmt.Errorf("proto: NodeSelectorRequirement: wiretype end group for non-group")
  25387. }
  25388. if fieldNum <= 0 {
  25389. return fmt.Errorf("proto: NodeSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  25390. }
  25391. switch fieldNum {
  25392. case 1:
  25393. if wireType != 2 {
  25394. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  25395. }
  25396. var stringLen uint64
  25397. for shift := uint(0); ; shift += 7 {
  25398. if shift >= 64 {
  25399. return ErrIntOverflowGenerated
  25400. }
  25401. if iNdEx >= l {
  25402. return io.ErrUnexpectedEOF
  25403. }
  25404. b := data[iNdEx]
  25405. iNdEx++
  25406. stringLen |= (uint64(b) & 0x7F) << shift
  25407. if b < 0x80 {
  25408. break
  25409. }
  25410. }
  25411. intStringLen := int(stringLen)
  25412. if intStringLen < 0 {
  25413. return ErrInvalidLengthGenerated
  25414. }
  25415. postIndex := iNdEx + intStringLen
  25416. if postIndex > l {
  25417. return io.ErrUnexpectedEOF
  25418. }
  25419. m.Key = string(data[iNdEx:postIndex])
  25420. iNdEx = postIndex
  25421. case 2:
  25422. if wireType != 2 {
  25423. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  25424. }
  25425. var stringLen uint64
  25426. for shift := uint(0); ; shift += 7 {
  25427. if shift >= 64 {
  25428. return ErrIntOverflowGenerated
  25429. }
  25430. if iNdEx >= l {
  25431. return io.ErrUnexpectedEOF
  25432. }
  25433. b := data[iNdEx]
  25434. iNdEx++
  25435. stringLen |= (uint64(b) & 0x7F) << shift
  25436. if b < 0x80 {
  25437. break
  25438. }
  25439. }
  25440. intStringLen := int(stringLen)
  25441. if intStringLen < 0 {
  25442. return ErrInvalidLengthGenerated
  25443. }
  25444. postIndex := iNdEx + intStringLen
  25445. if postIndex > l {
  25446. return io.ErrUnexpectedEOF
  25447. }
  25448. m.Operator = NodeSelectorOperator(data[iNdEx:postIndex])
  25449. iNdEx = postIndex
  25450. case 3:
  25451. if wireType != 2 {
  25452. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  25453. }
  25454. var stringLen uint64
  25455. for shift := uint(0); ; shift += 7 {
  25456. if shift >= 64 {
  25457. return ErrIntOverflowGenerated
  25458. }
  25459. if iNdEx >= l {
  25460. return io.ErrUnexpectedEOF
  25461. }
  25462. b := data[iNdEx]
  25463. iNdEx++
  25464. stringLen |= (uint64(b) & 0x7F) << shift
  25465. if b < 0x80 {
  25466. break
  25467. }
  25468. }
  25469. intStringLen := int(stringLen)
  25470. if intStringLen < 0 {
  25471. return ErrInvalidLengthGenerated
  25472. }
  25473. postIndex := iNdEx + intStringLen
  25474. if postIndex > l {
  25475. return io.ErrUnexpectedEOF
  25476. }
  25477. m.Values = append(m.Values, string(data[iNdEx:postIndex]))
  25478. iNdEx = postIndex
  25479. default:
  25480. iNdEx = preIndex
  25481. skippy, err := skipGenerated(data[iNdEx:])
  25482. if err != nil {
  25483. return err
  25484. }
  25485. if skippy < 0 {
  25486. return ErrInvalidLengthGenerated
  25487. }
  25488. if (iNdEx + skippy) > l {
  25489. return io.ErrUnexpectedEOF
  25490. }
  25491. iNdEx += skippy
  25492. }
  25493. }
  25494. if iNdEx > l {
  25495. return io.ErrUnexpectedEOF
  25496. }
  25497. return nil
  25498. }
  25499. func (m *NodeSelectorTerm) Unmarshal(data []byte) error {
  25500. l := len(data)
  25501. iNdEx := 0
  25502. for iNdEx < l {
  25503. preIndex := iNdEx
  25504. var wire uint64
  25505. for shift := uint(0); ; shift += 7 {
  25506. if shift >= 64 {
  25507. return ErrIntOverflowGenerated
  25508. }
  25509. if iNdEx >= l {
  25510. return io.ErrUnexpectedEOF
  25511. }
  25512. b := data[iNdEx]
  25513. iNdEx++
  25514. wire |= (uint64(b) & 0x7F) << shift
  25515. if b < 0x80 {
  25516. break
  25517. }
  25518. }
  25519. fieldNum := int32(wire >> 3)
  25520. wireType := int(wire & 0x7)
  25521. if wireType == 4 {
  25522. return fmt.Errorf("proto: NodeSelectorTerm: wiretype end group for non-group")
  25523. }
  25524. if fieldNum <= 0 {
  25525. return fmt.Errorf("proto: NodeSelectorTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  25526. }
  25527. switch fieldNum {
  25528. case 1:
  25529. if wireType != 2 {
  25530. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  25531. }
  25532. var msglen int
  25533. for shift := uint(0); ; shift += 7 {
  25534. if shift >= 64 {
  25535. return ErrIntOverflowGenerated
  25536. }
  25537. if iNdEx >= l {
  25538. return io.ErrUnexpectedEOF
  25539. }
  25540. b := data[iNdEx]
  25541. iNdEx++
  25542. msglen |= (int(b) & 0x7F) << shift
  25543. if b < 0x80 {
  25544. break
  25545. }
  25546. }
  25547. if msglen < 0 {
  25548. return ErrInvalidLengthGenerated
  25549. }
  25550. postIndex := iNdEx + msglen
  25551. if postIndex > l {
  25552. return io.ErrUnexpectedEOF
  25553. }
  25554. m.MatchExpressions = append(m.MatchExpressions, NodeSelectorRequirement{})
  25555. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  25556. return err
  25557. }
  25558. iNdEx = postIndex
  25559. default:
  25560. iNdEx = preIndex
  25561. skippy, err := skipGenerated(data[iNdEx:])
  25562. if err != nil {
  25563. return err
  25564. }
  25565. if skippy < 0 {
  25566. return ErrInvalidLengthGenerated
  25567. }
  25568. if (iNdEx + skippy) > l {
  25569. return io.ErrUnexpectedEOF
  25570. }
  25571. iNdEx += skippy
  25572. }
  25573. }
  25574. if iNdEx > l {
  25575. return io.ErrUnexpectedEOF
  25576. }
  25577. return nil
  25578. }
  25579. func (m *NodeSpec) Unmarshal(data []byte) error {
  25580. l := len(data)
  25581. iNdEx := 0
  25582. for iNdEx < l {
  25583. preIndex := iNdEx
  25584. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  25595. if b < 0x80 {
  25596. break
  25597. }
  25598. }
  25599. fieldNum := int32(wire >> 3)
  25600. wireType := int(wire & 0x7)
  25601. if wireType == 4 {
  25602. return fmt.Errorf("proto: NodeSpec: wiretype end group for non-group")
  25603. }
  25604. if fieldNum <= 0 {
  25605. return fmt.Errorf("proto: NodeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  25606. }
  25607. switch fieldNum {
  25608. case 1:
  25609. if wireType != 2 {
  25610. return fmt.Errorf("proto: wrong wireType = %d for field PodCIDR", wireType)
  25611. }
  25612. var stringLen uint64
  25613. for shift := uint(0); ; shift += 7 {
  25614. if shift >= 64 {
  25615. return ErrIntOverflowGenerated
  25616. }
  25617. if iNdEx >= l {
  25618. return io.ErrUnexpectedEOF
  25619. }
  25620. b := data[iNdEx]
  25621. iNdEx++
  25622. stringLen |= (uint64(b) & 0x7F) << shift
  25623. if b < 0x80 {
  25624. break
  25625. }
  25626. }
  25627. intStringLen := int(stringLen)
  25628. if intStringLen < 0 {
  25629. return ErrInvalidLengthGenerated
  25630. }
  25631. postIndex := iNdEx + intStringLen
  25632. if postIndex > l {
  25633. return io.ErrUnexpectedEOF
  25634. }
  25635. m.PodCIDR = string(data[iNdEx:postIndex])
  25636. iNdEx = postIndex
  25637. case 2:
  25638. if wireType != 2 {
  25639. return fmt.Errorf("proto: wrong wireType = %d for field ExternalID", wireType)
  25640. }
  25641. var stringLen uint64
  25642. for shift := uint(0); ; shift += 7 {
  25643. if shift >= 64 {
  25644. return ErrIntOverflowGenerated
  25645. }
  25646. if iNdEx >= l {
  25647. return io.ErrUnexpectedEOF
  25648. }
  25649. b := data[iNdEx]
  25650. iNdEx++
  25651. stringLen |= (uint64(b) & 0x7F) << shift
  25652. if b < 0x80 {
  25653. break
  25654. }
  25655. }
  25656. intStringLen := int(stringLen)
  25657. if intStringLen < 0 {
  25658. return ErrInvalidLengthGenerated
  25659. }
  25660. postIndex := iNdEx + intStringLen
  25661. if postIndex > l {
  25662. return io.ErrUnexpectedEOF
  25663. }
  25664. m.ExternalID = string(data[iNdEx:postIndex])
  25665. iNdEx = postIndex
  25666. case 3:
  25667. if wireType != 2 {
  25668. return fmt.Errorf("proto: wrong wireType = %d for field ProviderID", wireType)
  25669. }
  25670. var stringLen uint64
  25671. for shift := uint(0); ; shift += 7 {
  25672. if shift >= 64 {
  25673. return ErrIntOverflowGenerated
  25674. }
  25675. if iNdEx >= l {
  25676. return io.ErrUnexpectedEOF
  25677. }
  25678. b := data[iNdEx]
  25679. iNdEx++
  25680. stringLen |= (uint64(b) & 0x7F) << shift
  25681. if b < 0x80 {
  25682. break
  25683. }
  25684. }
  25685. intStringLen := int(stringLen)
  25686. if intStringLen < 0 {
  25687. return ErrInvalidLengthGenerated
  25688. }
  25689. postIndex := iNdEx + intStringLen
  25690. if postIndex > l {
  25691. return io.ErrUnexpectedEOF
  25692. }
  25693. m.ProviderID = string(data[iNdEx:postIndex])
  25694. iNdEx = postIndex
  25695. case 4:
  25696. if wireType != 0 {
  25697. return fmt.Errorf("proto: wrong wireType = %d for field Unschedulable", wireType)
  25698. }
  25699. var v int
  25700. for shift := uint(0); ; shift += 7 {
  25701. if shift >= 64 {
  25702. return ErrIntOverflowGenerated
  25703. }
  25704. if iNdEx >= l {
  25705. return io.ErrUnexpectedEOF
  25706. }
  25707. b := data[iNdEx]
  25708. iNdEx++
  25709. v |= (int(b) & 0x7F) << shift
  25710. if b < 0x80 {
  25711. break
  25712. }
  25713. }
  25714. m.Unschedulable = bool(v != 0)
  25715. case 5:
  25716. if wireType != 2 {
  25717. return fmt.Errorf("proto: wrong wireType = %d for field Taints", wireType)
  25718. }
  25719. var msglen int
  25720. for shift := uint(0); ; shift += 7 {
  25721. if shift >= 64 {
  25722. return ErrIntOverflowGenerated
  25723. }
  25724. if iNdEx >= l {
  25725. return io.ErrUnexpectedEOF
  25726. }
  25727. b := data[iNdEx]
  25728. iNdEx++
  25729. msglen |= (int(b) & 0x7F) << shift
  25730. if b < 0x80 {
  25731. break
  25732. }
  25733. }
  25734. if msglen < 0 {
  25735. return ErrInvalidLengthGenerated
  25736. }
  25737. postIndex := iNdEx + msglen
  25738. if postIndex > l {
  25739. return io.ErrUnexpectedEOF
  25740. }
  25741. m.Taints = append(m.Taints, Taint{})
  25742. if err := m.Taints[len(m.Taints)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  25743. return err
  25744. }
  25745. iNdEx = postIndex
  25746. default:
  25747. iNdEx = preIndex
  25748. skippy, err := skipGenerated(data[iNdEx:])
  25749. if err != nil {
  25750. return err
  25751. }
  25752. if skippy < 0 {
  25753. return ErrInvalidLengthGenerated
  25754. }
  25755. if (iNdEx + skippy) > l {
  25756. return io.ErrUnexpectedEOF
  25757. }
  25758. iNdEx += skippy
  25759. }
  25760. }
  25761. if iNdEx > l {
  25762. return io.ErrUnexpectedEOF
  25763. }
  25764. return nil
  25765. }
  25766. func (m *NodeStatus) Unmarshal(data []byte) error {
  25767. l := len(data)
  25768. iNdEx := 0
  25769. for iNdEx < l {
  25770. preIndex := iNdEx
  25771. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  25782. if b < 0x80 {
  25783. break
  25784. }
  25785. }
  25786. fieldNum := int32(wire >> 3)
  25787. wireType := int(wire & 0x7)
  25788. if wireType == 4 {
  25789. return fmt.Errorf("proto: NodeStatus: wiretype end group for non-group")
  25790. }
  25791. if fieldNum <= 0 {
  25792. return fmt.Errorf("proto: NodeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  25793. }
  25794. switch fieldNum {
  25795. case 1:
  25796. if wireType != 2 {
  25797. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  25798. }
  25799. var msglen int
  25800. for shift := uint(0); ; shift += 7 {
  25801. if shift >= 64 {
  25802. return ErrIntOverflowGenerated
  25803. }
  25804. if iNdEx >= l {
  25805. return io.ErrUnexpectedEOF
  25806. }
  25807. b := data[iNdEx]
  25808. iNdEx++
  25809. msglen |= (int(b) & 0x7F) << shift
  25810. if b < 0x80 {
  25811. break
  25812. }
  25813. }
  25814. if msglen < 0 {
  25815. return ErrInvalidLengthGenerated
  25816. }
  25817. postIndex := iNdEx + msglen
  25818. if postIndex > l {
  25819. return io.ErrUnexpectedEOF
  25820. }
  25821. var keykey uint64
  25822. for shift := uint(0); ; shift += 7 {
  25823. if shift >= 64 {
  25824. return ErrIntOverflowGenerated
  25825. }
  25826. if iNdEx >= l {
  25827. return io.ErrUnexpectedEOF
  25828. }
  25829. b := data[iNdEx]
  25830. iNdEx++
  25831. keykey |= (uint64(b) & 0x7F) << shift
  25832. if b < 0x80 {
  25833. break
  25834. }
  25835. }
  25836. var stringLenmapkey uint64
  25837. for shift := uint(0); ; shift += 7 {
  25838. if shift >= 64 {
  25839. return ErrIntOverflowGenerated
  25840. }
  25841. if iNdEx >= l {
  25842. return io.ErrUnexpectedEOF
  25843. }
  25844. b := data[iNdEx]
  25845. iNdEx++
  25846. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  25847. if b < 0x80 {
  25848. break
  25849. }
  25850. }
  25851. intStringLenmapkey := int(stringLenmapkey)
  25852. if intStringLenmapkey < 0 {
  25853. return ErrInvalidLengthGenerated
  25854. }
  25855. postStringIndexmapkey := iNdEx + intStringLenmapkey
  25856. if postStringIndexmapkey > l {
  25857. return io.ErrUnexpectedEOF
  25858. }
  25859. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  25860. iNdEx = postStringIndexmapkey
  25861. var valuekey uint64
  25862. for shift := uint(0); ; shift += 7 {
  25863. if shift >= 64 {
  25864. return ErrIntOverflowGenerated
  25865. }
  25866. if iNdEx >= l {
  25867. return io.ErrUnexpectedEOF
  25868. }
  25869. b := data[iNdEx]
  25870. iNdEx++
  25871. valuekey |= (uint64(b) & 0x7F) << shift
  25872. if b < 0x80 {
  25873. break
  25874. }
  25875. }
  25876. var mapmsglen int
  25877. for shift := uint(0); ; shift += 7 {
  25878. if shift >= 64 {
  25879. return ErrIntOverflowGenerated
  25880. }
  25881. if iNdEx >= l {
  25882. return io.ErrUnexpectedEOF
  25883. }
  25884. b := data[iNdEx]
  25885. iNdEx++
  25886. mapmsglen |= (int(b) & 0x7F) << shift
  25887. if b < 0x80 {
  25888. break
  25889. }
  25890. }
  25891. if mapmsglen < 0 {
  25892. return ErrInvalidLengthGenerated
  25893. }
  25894. postmsgIndex := iNdEx + mapmsglen
  25895. if mapmsglen < 0 {
  25896. return ErrInvalidLengthGenerated
  25897. }
  25898. if postmsgIndex > l {
  25899. return io.ErrUnexpectedEOF
  25900. }
  25901. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  25902. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  25903. return err
  25904. }
  25905. iNdEx = postmsgIndex
  25906. if m.Capacity == nil {
  25907. m.Capacity = make(ResourceList)
  25908. }
  25909. m.Capacity[ResourceName(mapkey)] = *mapvalue
  25910. iNdEx = postIndex
  25911. case 2:
  25912. if wireType != 2 {
  25913. return fmt.Errorf("proto: wrong wireType = %d for field Allocatable", wireType)
  25914. }
  25915. var msglen int
  25916. for shift := uint(0); ; shift += 7 {
  25917. if shift >= 64 {
  25918. return ErrIntOverflowGenerated
  25919. }
  25920. if iNdEx >= l {
  25921. return io.ErrUnexpectedEOF
  25922. }
  25923. b := data[iNdEx]
  25924. iNdEx++
  25925. msglen |= (int(b) & 0x7F) << shift
  25926. if b < 0x80 {
  25927. break
  25928. }
  25929. }
  25930. if msglen < 0 {
  25931. return ErrInvalidLengthGenerated
  25932. }
  25933. postIndex := iNdEx + msglen
  25934. if postIndex > l {
  25935. return io.ErrUnexpectedEOF
  25936. }
  25937. var keykey uint64
  25938. for shift := uint(0); ; shift += 7 {
  25939. if shift >= 64 {
  25940. return ErrIntOverflowGenerated
  25941. }
  25942. if iNdEx >= l {
  25943. return io.ErrUnexpectedEOF
  25944. }
  25945. b := data[iNdEx]
  25946. iNdEx++
  25947. keykey |= (uint64(b) & 0x7F) << shift
  25948. if b < 0x80 {
  25949. break
  25950. }
  25951. }
  25952. var stringLenmapkey uint64
  25953. for shift := uint(0); ; shift += 7 {
  25954. if shift >= 64 {
  25955. return ErrIntOverflowGenerated
  25956. }
  25957. if iNdEx >= l {
  25958. return io.ErrUnexpectedEOF
  25959. }
  25960. b := data[iNdEx]
  25961. iNdEx++
  25962. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  25963. if b < 0x80 {
  25964. break
  25965. }
  25966. }
  25967. intStringLenmapkey := int(stringLenmapkey)
  25968. if intStringLenmapkey < 0 {
  25969. return ErrInvalidLengthGenerated
  25970. }
  25971. postStringIndexmapkey := iNdEx + intStringLenmapkey
  25972. if postStringIndexmapkey > l {
  25973. return io.ErrUnexpectedEOF
  25974. }
  25975. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  25976. iNdEx = postStringIndexmapkey
  25977. var valuekey uint64
  25978. for shift := uint(0); ; shift += 7 {
  25979. if shift >= 64 {
  25980. return ErrIntOverflowGenerated
  25981. }
  25982. if iNdEx >= l {
  25983. return io.ErrUnexpectedEOF
  25984. }
  25985. b := data[iNdEx]
  25986. iNdEx++
  25987. valuekey |= (uint64(b) & 0x7F) << shift
  25988. if b < 0x80 {
  25989. break
  25990. }
  25991. }
  25992. var mapmsglen int
  25993. for shift := uint(0); ; shift += 7 {
  25994. if shift >= 64 {
  25995. return ErrIntOverflowGenerated
  25996. }
  25997. if iNdEx >= l {
  25998. return io.ErrUnexpectedEOF
  25999. }
  26000. b := data[iNdEx]
  26001. iNdEx++
  26002. mapmsglen |= (int(b) & 0x7F) << shift
  26003. if b < 0x80 {
  26004. break
  26005. }
  26006. }
  26007. if mapmsglen < 0 {
  26008. return ErrInvalidLengthGenerated
  26009. }
  26010. postmsgIndex := iNdEx + mapmsglen
  26011. if mapmsglen < 0 {
  26012. return ErrInvalidLengthGenerated
  26013. }
  26014. if postmsgIndex > l {
  26015. return io.ErrUnexpectedEOF
  26016. }
  26017. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  26018. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  26019. return err
  26020. }
  26021. iNdEx = postmsgIndex
  26022. if m.Allocatable == nil {
  26023. m.Allocatable = make(ResourceList)
  26024. }
  26025. m.Allocatable[ResourceName(mapkey)] = *mapvalue
  26026. iNdEx = postIndex
  26027. case 3:
  26028. if wireType != 2 {
  26029. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  26030. }
  26031. var stringLen uint64
  26032. for shift := uint(0); ; shift += 7 {
  26033. if shift >= 64 {
  26034. return ErrIntOverflowGenerated
  26035. }
  26036. if iNdEx >= l {
  26037. return io.ErrUnexpectedEOF
  26038. }
  26039. b := data[iNdEx]
  26040. iNdEx++
  26041. stringLen |= (uint64(b) & 0x7F) << shift
  26042. if b < 0x80 {
  26043. break
  26044. }
  26045. }
  26046. intStringLen := int(stringLen)
  26047. if intStringLen < 0 {
  26048. return ErrInvalidLengthGenerated
  26049. }
  26050. postIndex := iNdEx + intStringLen
  26051. if postIndex > l {
  26052. return io.ErrUnexpectedEOF
  26053. }
  26054. m.Phase = NodePhase(data[iNdEx:postIndex])
  26055. iNdEx = postIndex
  26056. case 4:
  26057. if wireType != 2 {
  26058. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  26059. }
  26060. var msglen int
  26061. for shift := uint(0); ; shift += 7 {
  26062. if shift >= 64 {
  26063. return ErrIntOverflowGenerated
  26064. }
  26065. if iNdEx >= l {
  26066. return io.ErrUnexpectedEOF
  26067. }
  26068. b := data[iNdEx]
  26069. iNdEx++
  26070. msglen |= (int(b) & 0x7F) << shift
  26071. if b < 0x80 {
  26072. break
  26073. }
  26074. }
  26075. if msglen < 0 {
  26076. return ErrInvalidLengthGenerated
  26077. }
  26078. postIndex := iNdEx + msglen
  26079. if postIndex > l {
  26080. return io.ErrUnexpectedEOF
  26081. }
  26082. m.Conditions = append(m.Conditions, NodeCondition{})
  26083. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  26084. return err
  26085. }
  26086. iNdEx = postIndex
  26087. case 5:
  26088. if wireType != 2 {
  26089. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  26090. }
  26091. var msglen int
  26092. for shift := uint(0); ; shift += 7 {
  26093. if shift >= 64 {
  26094. return ErrIntOverflowGenerated
  26095. }
  26096. if iNdEx >= l {
  26097. return io.ErrUnexpectedEOF
  26098. }
  26099. b := data[iNdEx]
  26100. iNdEx++
  26101. msglen |= (int(b) & 0x7F) << shift
  26102. if b < 0x80 {
  26103. break
  26104. }
  26105. }
  26106. if msglen < 0 {
  26107. return ErrInvalidLengthGenerated
  26108. }
  26109. postIndex := iNdEx + msglen
  26110. if postIndex > l {
  26111. return io.ErrUnexpectedEOF
  26112. }
  26113. m.Addresses = append(m.Addresses, NodeAddress{})
  26114. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  26115. return err
  26116. }
  26117. iNdEx = postIndex
  26118. case 6:
  26119. if wireType != 2 {
  26120. return fmt.Errorf("proto: wrong wireType = %d for field DaemonEndpoints", wireType)
  26121. }
  26122. var msglen int
  26123. for shift := uint(0); ; shift += 7 {
  26124. if shift >= 64 {
  26125. return ErrIntOverflowGenerated
  26126. }
  26127. if iNdEx >= l {
  26128. return io.ErrUnexpectedEOF
  26129. }
  26130. b := data[iNdEx]
  26131. iNdEx++
  26132. msglen |= (int(b) & 0x7F) << shift
  26133. if b < 0x80 {
  26134. break
  26135. }
  26136. }
  26137. if msglen < 0 {
  26138. return ErrInvalidLengthGenerated
  26139. }
  26140. postIndex := iNdEx + msglen
  26141. if postIndex > l {
  26142. return io.ErrUnexpectedEOF
  26143. }
  26144. if err := m.DaemonEndpoints.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26145. return err
  26146. }
  26147. iNdEx = postIndex
  26148. case 7:
  26149. if wireType != 2 {
  26150. return fmt.Errorf("proto: wrong wireType = %d for field NodeInfo", wireType)
  26151. }
  26152. var msglen int
  26153. for shift := uint(0); ; shift += 7 {
  26154. if shift >= 64 {
  26155. return ErrIntOverflowGenerated
  26156. }
  26157. if iNdEx >= l {
  26158. return io.ErrUnexpectedEOF
  26159. }
  26160. b := data[iNdEx]
  26161. iNdEx++
  26162. msglen |= (int(b) & 0x7F) << shift
  26163. if b < 0x80 {
  26164. break
  26165. }
  26166. }
  26167. if msglen < 0 {
  26168. return ErrInvalidLengthGenerated
  26169. }
  26170. postIndex := iNdEx + msglen
  26171. if postIndex > l {
  26172. return io.ErrUnexpectedEOF
  26173. }
  26174. if err := m.NodeInfo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26175. return err
  26176. }
  26177. iNdEx = postIndex
  26178. case 8:
  26179. if wireType != 2 {
  26180. return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
  26181. }
  26182. var msglen int
  26183. for shift := uint(0); ; shift += 7 {
  26184. if shift >= 64 {
  26185. return ErrIntOverflowGenerated
  26186. }
  26187. if iNdEx >= l {
  26188. return io.ErrUnexpectedEOF
  26189. }
  26190. b := data[iNdEx]
  26191. iNdEx++
  26192. msglen |= (int(b) & 0x7F) << shift
  26193. if b < 0x80 {
  26194. break
  26195. }
  26196. }
  26197. if msglen < 0 {
  26198. return ErrInvalidLengthGenerated
  26199. }
  26200. postIndex := iNdEx + msglen
  26201. if postIndex > l {
  26202. return io.ErrUnexpectedEOF
  26203. }
  26204. m.Images = append(m.Images, ContainerImage{})
  26205. if err := m.Images[len(m.Images)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  26206. return err
  26207. }
  26208. iNdEx = postIndex
  26209. case 9:
  26210. if wireType != 2 {
  26211. return fmt.Errorf("proto: wrong wireType = %d for field VolumesInUse", wireType)
  26212. }
  26213. var stringLen uint64
  26214. for shift := uint(0); ; shift += 7 {
  26215. if shift >= 64 {
  26216. return ErrIntOverflowGenerated
  26217. }
  26218. if iNdEx >= l {
  26219. return io.ErrUnexpectedEOF
  26220. }
  26221. b := data[iNdEx]
  26222. iNdEx++
  26223. stringLen |= (uint64(b) & 0x7F) << shift
  26224. if b < 0x80 {
  26225. break
  26226. }
  26227. }
  26228. intStringLen := int(stringLen)
  26229. if intStringLen < 0 {
  26230. return ErrInvalidLengthGenerated
  26231. }
  26232. postIndex := iNdEx + intStringLen
  26233. if postIndex > l {
  26234. return io.ErrUnexpectedEOF
  26235. }
  26236. m.VolumesInUse = append(m.VolumesInUse, UniqueVolumeName(data[iNdEx:postIndex]))
  26237. iNdEx = postIndex
  26238. case 10:
  26239. if wireType != 2 {
  26240. return fmt.Errorf("proto: wrong wireType = %d for field VolumesAttached", wireType)
  26241. }
  26242. var msglen int
  26243. for shift := uint(0); ; shift += 7 {
  26244. if shift >= 64 {
  26245. return ErrIntOverflowGenerated
  26246. }
  26247. if iNdEx >= l {
  26248. return io.ErrUnexpectedEOF
  26249. }
  26250. b := data[iNdEx]
  26251. iNdEx++
  26252. msglen |= (int(b) & 0x7F) << shift
  26253. if b < 0x80 {
  26254. break
  26255. }
  26256. }
  26257. if msglen < 0 {
  26258. return ErrInvalidLengthGenerated
  26259. }
  26260. postIndex := iNdEx + msglen
  26261. if postIndex > l {
  26262. return io.ErrUnexpectedEOF
  26263. }
  26264. m.VolumesAttached = append(m.VolumesAttached, AttachedVolume{})
  26265. if err := m.VolumesAttached[len(m.VolumesAttached)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  26266. return err
  26267. }
  26268. iNdEx = postIndex
  26269. default:
  26270. iNdEx = preIndex
  26271. skippy, err := skipGenerated(data[iNdEx:])
  26272. if err != nil {
  26273. return err
  26274. }
  26275. if skippy < 0 {
  26276. return ErrInvalidLengthGenerated
  26277. }
  26278. if (iNdEx + skippy) > l {
  26279. return io.ErrUnexpectedEOF
  26280. }
  26281. iNdEx += skippy
  26282. }
  26283. }
  26284. if iNdEx > l {
  26285. return io.ErrUnexpectedEOF
  26286. }
  26287. return nil
  26288. }
  26289. func (m *NodeSystemInfo) Unmarshal(data []byte) error {
  26290. l := len(data)
  26291. iNdEx := 0
  26292. for iNdEx < l {
  26293. preIndex := iNdEx
  26294. var wire uint64
  26295. for shift := uint(0); ; shift += 7 {
  26296. if shift >= 64 {
  26297. return ErrIntOverflowGenerated
  26298. }
  26299. if iNdEx >= l {
  26300. return io.ErrUnexpectedEOF
  26301. }
  26302. b := data[iNdEx]
  26303. iNdEx++
  26304. wire |= (uint64(b) & 0x7F) << shift
  26305. if b < 0x80 {
  26306. break
  26307. }
  26308. }
  26309. fieldNum := int32(wire >> 3)
  26310. wireType := int(wire & 0x7)
  26311. if wireType == 4 {
  26312. return fmt.Errorf("proto: NodeSystemInfo: wiretype end group for non-group")
  26313. }
  26314. if fieldNum <= 0 {
  26315. return fmt.Errorf("proto: NodeSystemInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  26316. }
  26317. switch fieldNum {
  26318. case 1:
  26319. if wireType != 2 {
  26320. return fmt.Errorf("proto: wrong wireType = %d for field MachineID", wireType)
  26321. }
  26322. var stringLen uint64
  26323. for shift := uint(0); ; shift += 7 {
  26324. if shift >= 64 {
  26325. return ErrIntOverflowGenerated
  26326. }
  26327. if iNdEx >= l {
  26328. return io.ErrUnexpectedEOF
  26329. }
  26330. b := data[iNdEx]
  26331. iNdEx++
  26332. stringLen |= (uint64(b) & 0x7F) << shift
  26333. if b < 0x80 {
  26334. break
  26335. }
  26336. }
  26337. intStringLen := int(stringLen)
  26338. if intStringLen < 0 {
  26339. return ErrInvalidLengthGenerated
  26340. }
  26341. postIndex := iNdEx + intStringLen
  26342. if postIndex > l {
  26343. return io.ErrUnexpectedEOF
  26344. }
  26345. m.MachineID = string(data[iNdEx:postIndex])
  26346. iNdEx = postIndex
  26347. case 2:
  26348. if wireType != 2 {
  26349. return fmt.Errorf("proto: wrong wireType = %d for field SystemUUID", wireType)
  26350. }
  26351. var stringLen uint64
  26352. for shift := uint(0); ; shift += 7 {
  26353. if shift >= 64 {
  26354. return ErrIntOverflowGenerated
  26355. }
  26356. if iNdEx >= l {
  26357. return io.ErrUnexpectedEOF
  26358. }
  26359. b := data[iNdEx]
  26360. iNdEx++
  26361. stringLen |= (uint64(b) & 0x7F) << shift
  26362. if b < 0x80 {
  26363. break
  26364. }
  26365. }
  26366. intStringLen := int(stringLen)
  26367. if intStringLen < 0 {
  26368. return ErrInvalidLengthGenerated
  26369. }
  26370. postIndex := iNdEx + intStringLen
  26371. if postIndex > l {
  26372. return io.ErrUnexpectedEOF
  26373. }
  26374. m.SystemUUID = string(data[iNdEx:postIndex])
  26375. iNdEx = postIndex
  26376. case 3:
  26377. if wireType != 2 {
  26378. return fmt.Errorf("proto: wrong wireType = %d for field BootID", wireType)
  26379. }
  26380. var stringLen uint64
  26381. for shift := uint(0); ; shift += 7 {
  26382. if shift >= 64 {
  26383. return ErrIntOverflowGenerated
  26384. }
  26385. if iNdEx >= l {
  26386. return io.ErrUnexpectedEOF
  26387. }
  26388. b := data[iNdEx]
  26389. iNdEx++
  26390. stringLen |= (uint64(b) & 0x7F) << shift
  26391. if b < 0x80 {
  26392. break
  26393. }
  26394. }
  26395. intStringLen := int(stringLen)
  26396. if intStringLen < 0 {
  26397. return ErrInvalidLengthGenerated
  26398. }
  26399. postIndex := iNdEx + intStringLen
  26400. if postIndex > l {
  26401. return io.ErrUnexpectedEOF
  26402. }
  26403. m.BootID = string(data[iNdEx:postIndex])
  26404. iNdEx = postIndex
  26405. case 4:
  26406. if wireType != 2 {
  26407. return fmt.Errorf("proto: wrong wireType = %d for field KernelVersion", wireType)
  26408. }
  26409. var stringLen uint64
  26410. for shift := uint(0); ; shift += 7 {
  26411. if shift >= 64 {
  26412. return ErrIntOverflowGenerated
  26413. }
  26414. if iNdEx >= l {
  26415. return io.ErrUnexpectedEOF
  26416. }
  26417. b := data[iNdEx]
  26418. iNdEx++
  26419. stringLen |= (uint64(b) & 0x7F) << shift
  26420. if b < 0x80 {
  26421. break
  26422. }
  26423. }
  26424. intStringLen := int(stringLen)
  26425. if intStringLen < 0 {
  26426. return ErrInvalidLengthGenerated
  26427. }
  26428. postIndex := iNdEx + intStringLen
  26429. if postIndex > l {
  26430. return io.ErrUnexpectedEOF
  26431. }
  26432. m.KernelVersion = string(data[iNdEx:postIndex])
  26433. iNdEx = postIndex
  26434. case 5:
  26435. if wireType != 2 {
  26436. return fmt.Errorf("proto: wrong wireType = %d for field OSImage", wireType)
  26437. }
  26438. var stringLen uint64
  26439. for shift := uint(0); ; shift += 7 {
  26440. if shift >= 64 {
  26441. return ErrIntOverflowGenerated
  26442. }
  26443. if iNdEx >= l {
  26444. return io.ErrUnexpectedEOF
  26445. }
  26446. b := data[iNdEx]
  26447. iNdEx++
  26448. stringLen |= (uint64(b) & 0x7F) << shift
  26449. if b < 0x80 {
  26450. break
  26451. }
  26452. }
  26453. intStringLen := int(stringLen)
  26454. if intStringLen < 0 {
  26455. return ErrInvalidLengthGenerated
  26456. }
  26457. postIndex := iNdEx + intStringLen
  26458. if postIndex > l {
  26459. return io.ErrUnexpectedEOF
  26460. }
  26461. m.OSImage = string(data[iNdEx:postIndex])
  26462. iNdEx = postIndex
  26463. case 6:
  26464. if wireType != 2 {
  26465. return fmt.Errorf("proto: wrong wireType = %d for field ContainerRuntimeVersion", wireType)
  26466. }
  26467. var stringLen uint64
  26468. for shift := uint(0); ; shift += 7 {
  26469. if shift >= 64 {
  26470. return ErrIntOverflowGenerated
  26471. }
  26472. if iNdEx >= l {
  26473. return io.ErrUnexpectedEOF
  26474. }
  26475. b := data[iNdEx]
  26476. iNdEx++
  26477. stringLen |= (uint64(b) & 0x7F) << shift
  26478. if b < 0x80 {
  26479. break
  26480. }
  26481. }
  26482. intStringLen := int(stringLen)
  26483. if intStringLen < 0 {
  26484. return ErrInvalidLengthGenerated
  26485. }
  26486. postIndex := iNdEx + intStringLen
  26487. if postIndex > l {
  26488. return io.ErrUnexpectedEOF
  26489. }
  26490. m.ContainerRuntimeVersion = string(data[iNdEx:postIndex])
  26491. iNdEx = postIndex
  26492. case 7:
  26493. if wireType != 2 {
  26494. return fmt.Errorf("proto: wrong wireType = %d for field KubeletVersion", wireType)
  26495. }
  26496. var stringLen uint64
  26497. for shift := uint(0); ; shift += 7 {
  26498. if shift >= 64 {
  26499. return ErrIntOverflowGenerated
  26500. }
  26501. if iNdEx >= l {
  26502. return io.ErrUnexpectedEOF
  26503. }
  26504. b := data[iNdEx]
  26505. iNdEx++
  26506. stringLen |= (uint64(b) & 0x7F) << shift
  26507. if b < 0x80 {
  26508. break
  26509. }
  26510. }
  26511. intStringLen := int(stringLen)
  26512. if intStringLen < 0 {
  26513. return ErrInvalidLengthGenerated
  26514. }
  26515. postIndex := iNdEx + intStringLen
  26516. if postIndex > l {
  26517. return io.ErrUnexpectedEOF
  26518. }
  26519. m.KubeletVersion = string(data[iNdEx:postIndex])
  26520. iNdEx = postIndex
  26521. case 8:
  26522. if wireType != 2 {
  26523. return fmt.Errorf("proto: wrong wireType = %d for field KubeProxyVersion", wireType)
  26524. }
  26525. var stringLen uint64
  26526. for shift := uint(0); ; shift += 7 {
  26527. if shift >= 64 {
  26528. return ErrIntOverflowGenerated
  26529. }
  26530. if iNdEx >= l {
  26531. return io.ErrUnexpectedEOF
  26532. }
  26533. b := data[iNdEx]
  26534. iNdEx++
  26535. stringLen |= (uint64(b) & 0x7F) << shift
  26536. if b < 0x80 {
  26537. break
  26538. }
  26539. }
  26540. intStringLen := int(stringLen)
  26541. if intStringLen < 0 {
  26542. return ErrInvalidLengthGenerated
  26543. }
  26544. postIndex := iNdEx + intStringLen
  26545. if postIndex > l {
  26546. return io.ErrUnexpectedEOF
  26547. }
  26548. m.KubeProxyVersion = string(data[iNdEx:postIndex])
  26549. iNdEx = postIndex
  26550. case 9:
  26551. if wireType != 2 {
  26552. return fmt.Errorf("proto: wrong wireType = %d for field OperatingSystem", wireType)
  26553. }
  26554. var stringLen uint64
  26555. for shift := uint(0); ; shift += 7 {
  26556. if shift >= 64 {
  26557. return ErrIntOverflowGenerated
  26558. }
  26559. if iNdEx >= l {
  26560. return io.ErrUnexpectedEOF
  26561. }
  26562. b := data[iNdEx]
  26563. iNdEx++
  26564. stringLen |= (uint64(b) & 0x7F) << shift
  26565. if b < 0x80 {
  26566. break
  26567. }
  26568. }
  26569. intStringLen := int(stringLen)
  26570. if intStringLen < 0 {
  26571. return ErrInvalidLengthGenerated
  26572. }
  26573. postIndex := iNdEx + intStringLen
  26574. if postIndex > l {
  26575. return io.ErrUnexpectedEOF
  26576. }
  26577. m.OperatingSystem = string(data[iNdEx:postIndex])
  26578. iNdEx = postIndex
  26579. case 10:
  26580. if wireType != 2 {
  26581. return fmt.Errorf("proto: wrong wireType = %d for field Architecture", wireType)
  26582. }
  26583. var stringLen uint64
  26584. for shift := uint(0); ; shift += 7 {
  26585. if shift >= 64 {
  26586. return ErrIntOverflowGenerated
  26587. }
  26588. if iNdEx >= l {
  26589. return io.ErrUnexpectedEOF
  26590. }
  26591. b := data[iNdEx]
  26592. iNdEx++
  26593. stringLen |= (uint64(b) & 0x7F) << shift
  26594. if b < 0x80 {
  26595. break
  26596. }
  26597. }
  26598. intStringLen := int(stringLen)
  26599. if intStringLen < 0 {
  26600. return ErrInvalidLengthGenerated
  26601. }
  26602. postIndex := iNdEx + intStringLen
  26603. if postIndex > l {
  26604. return io.ErrUnexpectedEOF
  26605. }
  26606. m.Architecture = string(data[iNdEx:postIndex])
  26607. iNdEx = postIndex
  26608. default:
  26609. iNdEx = preIndex
  26610. skippy, err := skipGenerated(data[iNdEx:])
  26611. if err != nil {
  26612. return err
  26613. }
  26614. if skippy < 0 {
  26615. return ErrInvalidLengthGenerated
  26616. }
  26617. if (iNdEx + skippy) > l {
  26618. return io.ErrUnexpectedEOF
  26619. }
  26620. iNdEx += skippy
  26621. }
  26622. }
  26623. if iNdEx > l {
  26624. return io.ErrUnexpectedEOF
  26625. }
  26626. return nil
  26627. }
  26628. func (m *ObjectFieldSelector) Unmarshal(data []byte) error {
  26629. l := len(data)
  26630. iNdEx := 0
  26631. for iNdEx < l {
  26632. preIndex := iNdEx
  26633. var wire uint64
  26634. for shift := uint(0); ; shift += 7 {
  26635. if shift >= 64 {
  26636. return ErrIntOverflowGenerated
  26637. }
  26638. if iNdEx >= l {
  26639. return io.ErrUnexpectedEOF
  26640. }
  26641. b := data[iNdEx]
  26642. iNdEx++
  26643. wire |= (uint64(b) & 0x7F) << shift
  26644. if b < 0x80 {
  26645. break
  26646. }
  26647. }
  26648. fieldNum := int32(wire >> 3)
  26649. wireType := int(wire & 0x7)
  26650. if wireType == 4 {
  26651. return fmt.Errorf("proto: ObjectFieldSelector: wiretype end group for non-group")
  26652. }
  26653. if fieldNum <= 0 {
  26654. return fmt.Errorf("proto: ObjectFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  26655. }
  26656. switch fieldNum {
  26657. case 1:
  26658. if wireType != 2 {
  26659. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  26660. }
  26661. var stringLen uint64
  26662. for shift := uint(0); ; shift += 7 {
  26663. if shift >= 64 {
  26664. return ErrIntOverflowGenerated
  26665. }
  26666. if iNdEx >= l {
  26667. return io.ErrUnexpectedEOF
  26668. }
  26669. b := data[iNdEx]
  26670. iNdEx++
  26671. stringLen |= (uint64(b) & 0x7F) << shift
  26672. if b < 0x80 {
  26673. break
  26674. }
  26675. }
  26676. intStringLen := int(stringLen)
  26677. if intStringLen < 0 {
  26678. return ErrInvalidLengthGenerated
  26679. }
  26680. postIndex := iNdEx + intStringLen
  26681. if postIndex > l {
  26682. return io.ErrUnexpectedEOF
  26683. }
  26684. m.APIVersion = string(data[iNdEx:postIndex])
  26685. iNdEx = postIndex
  26686. case 2:
  26687. if wireType != 2 {
  26688. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  26689. }
  26690. var stringLen uint64
  26691. for shift := uint(0); ; shift += 7 {
  26692. if shift >= 64 {
  26693. return ErrIntOverflowGenerated
  26694. }
  26695. if iNdEx >= l {
  26696. return io.ErrUnexpectedEOF
  26697. }
  26698. b := data[iNdEx]
  26699. iNdEx++
  26700. stringLen |= (uint64(b) & 0x7F) << shift
  26701. if b < 0x80 {
  26702. break
  26703. }
  26704. }
  26705. intStringLen := int(stringLen)
  26706. if intStringLen < 0 {
  26707. return ErrInvalidLengthGenerated
  26708. }
  26709. postIndex := iNdEx + intStringLen
  26710. if postIndex > l {
  26711. return io.ErrUnexpectedEOF
  26712. }
  26713. m.FieldPath = string(data[iNdEx:postIndex])
  26714. iNdEx = postIndex
  26715. default:
  26716. iNdEx = preIndex
  26717. skippy, err := skipGenerated(data[iNdEx:])
  26718. if err != nil {
  26719. return err
  26720. }
  26721. if skippy < 0 {
  26722. return ErrInvalidLengthGenerated
  26723. }
  26724. if (iNdEx + skippy) > l {
  26725. return io.ErrUnexpectedEOF
  26726. }
  26727. iNdEx += skippy
  26728. }
  26729. }
  26730. if iNdEx > l {
  26731. return io.ErrUnexpectedEOF
  26732. }
  26733. return nil
  26734. }
  26735. func (m *ObjectMeta) Unmarshal(data []byte) error {
  26736. l := len(data)
  26737. iNdEx := 0
  26738. for iNdEx < l {
  26739. preIndex := iNdEx
  26740. var wire uint64
  26741. for shift := uint(0); ; shift += 7 {
  26742. if shift >= 64 {
  26743. return ErrIntOverflowGenerated
  26744. }
  26745. if iNdEx >= l {
  26746. return io.ErrUnexpectedEOF
  26747. }
  26748. b := data[iNdEx]
  26749. iNdEx++
  26750. wire |= (uint64(b) & 0x7F) << shift
  26751. if b < 0x80 {
  26752. break
  26753. }
  26754. }
  26755. fieldNum := int32(wire >> 3)
  26756. wireType := int(wire & 0x7)
  26757. if wireType == 4 {
  26758. return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group")
  26759. }
  26760. if fieldNum <= 0 {
  26761. return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  26762. }
  26763. switch fieldNum {
  26764. case 1:
  26765. if wireType != 2 {
  26766. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  26767. }
  26768. var stringLen uint64
  26769. for shift := uint(0); ; shift += 7 {
  26770. if shift >= 64 {
  26771. return ErrIntOverflowGenerated
  26772. }
  26773. if iNdEx >= l {
  26774. return io.ErrUnexpectedEOF
  26775. }
  26776. b := data[iNdEx]
  26777. iNdEx++
  26778. stringLen |= (uint64(b) & 0x7F) << shift
  26779. if b < 0x80 {
  26780. break
  26781. }
  26782. }
  26783. intStringLen := int(stringLen)
  26784. if intStringLen < 0 {
  26785. return ErrInvalidLengthGenerated
  26786. }
  26787. postIndex := iNdEx + intStringLen
  26788. if postIndex > l {
  26789. return io.ErrUnexpectedEOF
  26790. }
  26791. m.Name = string(data[iNdEx:postIndex])
  26792. iNdEx = postIndex
  26793. case 2:
  26794. if wireType != 2 {
  26795. return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType)
  26796. }
  26797. var stringLen uint64
  26798. for shift := uint(0); ; shift += 7 {
  26799. if shift >= 64 {
  26800. return ErrIntOverflowGenerated
  26801. }
  26802. if iNdEx >= l {
  26803. return io.ErrUnexpectedEOF
  26804. }
  26805. b := data[iNdEx]
  26806. iNdEx++
  26807. stringLen |= (uint64(b) & 0x7F) << shift
  26808. if b < 0x80 {
  26809. break
  26810. }
  26811. }
  26812. intStringLen := int(stringLen)
  26813. if intStringLen < 0 {
  26814. return ErrInvalidLengthGenerated
  26815. }
  26816. postIndex := iNdEx + intStringLen
  26817. if postIndex > l {
  26818. return io.ErrUnexpectedEOF
  26819. }
  26820. m.GenerateName = string(data[iNdEx:postIndex])
  26821. iNdEx = postIndex
  26822. case 3:
  26823. if wireType != 2 {
  26824. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  26825. }
  26826. var stringLen uint64
  26827. for shift := uint(0); ; shift += 7 {
  26828. if shift >= 64 {
  26829. return ErrIntOverflowGenerated
  26830. }
  26831. if iNdEx >= l {
  26832. return io.ErrUnexpectedEOF
  26833. }
  26834. b := data[iNdEx]
  26835. iNdEx++
  26836. stringLen |= (uint64(b) & 0x7F) << shift
  26837. if b < 0x80 {
  26838. break
  26839. }
  26840. }
  26841. intStringLen := int(stringLen)
  26842. if intStringLen < 0 {
  26843. return ErrInvalidLengthGenerated
  26844. }
  26845. postIndex := iNdEx + intStringLen
  26846. if postIndex > l {
  26847. return io.ErrUnexpectedEOF
  26848. }
  26849. m.Namespace = string(data[iNdEx:postIndex])
  26850. iNdEx = postIndex
  26851. case 4:
  26852. if wireType != 2 {
  26853. return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
  26854. }
  26855. var stringLen uint64
  26856. for shift := uint(0); ; shift += 7 {
  26857. if shift >= 64 {
  26858. return ErrIntOverflowGenerated
  26859. }
  26860. if iNdEx >= l {
  26861. return io.ErrUnexpectedEOF
  26862. }
  26863. b := data[iNdEx]
  26864. iNdEx++
  26865. stringLen |= (uint64(b) & 0x7F) << shift
  26866. if b < 0x80 {
  26867. break
  26868. }
  26869. }
  26870. intStringLen := int(stringLen)
  26871. if intStringLen < 0 {
  26872. return ErrInvalidLengthGenerated
  26873. }
  26874. postIndex := iNdEx + intStringLen
  26875. if postIndex > l {
  26876. return io.ErrUnexpectedEOF
  26877. }
  26878. m.SelfLink = string(data[iNdEx:postIndex])
  26879. iNdEx = postIndex
  26880. case 5:
  26881. if wireType != 2 {
  26882. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  26883. }
  26884. var stringLen uint64
  26885. for shift := uint(0); ; shift += 7 {
  26886. if shift >= 64 {
  26887. return ErrIntOverflowGenerated
  26888. }
  26889. if iNdEx >= l {
  26890. return io.ErrUnexpectedEOF
  26891. }
  26892. b := data[iNdEx]
  26893. iNdEx++
  26894. stringLen |= (uint64(b) & 0x7F) << shift
  26895. if b < 0x80 {
  26896. break
  26897. }
  26898. }
  26899. intStringLen := int(stringLen)
  26900. if intStringLen < 0 {
  26901. return ErrInvalidLengthGenerated
  26902. }
  26903. postIndex := iNdEx + intStringLen
  26904. if postIndex > l {
  26905. return io.ErrUnexpectedEOF
  26906. }
  26907. m.UID = k8s_io_apimachinery_pkg_types.UID(data[iNdEx:postIndex])
  26908. iNdEx = postIndex
  26909. case 6:
  26910. if wireType != 2 {
  26911. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  26912. }
  26913. var stringLen uint64
  26914. for shift := uint(0); ; shift += 7 {
  26915. if shift >= 64 {
  26916. return ErrIntOverflowGenerated
  26917. }
  26918. if iNdEx >= l {
  26919. return io.ErrUnexpectedEOF
  26920. }
  26921. b := data[iNdEx]
  26922. iNdEx++
  26923. stringLen |= (uint64(b) & 0x7F) << shift
  26924. if b < 0x80 {
  26925. break
  26926. }
  26927. }
  26928. intStringLen := int(stringLen)
  26929. if intStringLen < 0 {
  26930. return ErrInvalidLengthGenerated
  26931. }
  26932. postIndex := iNdEx + intStringLen
  26933. if postIndex > l {
  26934. return io.ErrUnexpectedEOF
  26935. }
  26936. m.ResourceVersion = string(data[iNdEx:postIndex])
  26937. iNdEx = postIndex
  26938. case 7:
  26939. if wireType != 0 {
  26940. return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType)
  26941. }
  26942. m.Generation = 0
  26943. for shift := uint(0); ; shift += 7 {
  26944. if shift >= 64 {
  26945. return ErrIntOverflowGenerated
  26946. }
  26947. if iNdEx >= l {
  26948. return io.ErrUnexpectedEOF
  26949. }
  26950. b := data[iNdEx]
  26951. iNdEx++
  26952. m.Generation |= (int64(b) & 0x7F) << shift
  26953. if b < 0x80 {
  26954. break
  26955. }
  26956. }
  26957. case 8:
  26958. if wireType != 2 {
  26959. return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", 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 err := m.CreationTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  26984. return err
  26985. }
  26986. iNdEx = postIndex
  26987. case 9:
  26988. if wireType != 2 {
  26989. return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType)
  26990. }
  26991. var msglen int
  26992. for shift := uint(0); ; shift += 7 {
  26993. if shift >= 64 {
  26994. return ErrIntOverflowGenerated
  26995. }
  26996. if iNdEx >= l {
  26997. return io.ErrUnexpectedEOF
  26998. }
  26999. b := data[iNdEx]
  27000. iNdEx++
  27001. msglen |= (int(b) & 0x7F) << shift
  27002. if b < 0x80 {
  27003. break
  27004. }
  27005. }
  27006. if msglen < 0 {
  27007. return ErrInvalidLengthGenerated
  27008. }
  27009. postIndex := iNdEx + msglen
  27010. if postIndex > l {
  27011. return io.ErrUnexpectedEOF
  27012. }
  27013. if m.DeletionTimestamp == nil {
  27014. m.DeletionTimestamp = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  27015. }
  27016. if err := m.DeletionTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27017. return err
  27018. }
  27019. iNdEx = postIndex
  27020. case 10:
  27021. if wireType != 0 {
  27022. return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType)
  27023. }
  27024. var v int64
  27025. for shift := uint(0); ; shift += 7 {
  27026. if shift >= 64 {
  27027. return ErrIntOverflowGenerated
  27028. }
  27029. if iNdEx >= l {
  27030. return io.ErrUnexpectedEOF
  27031. }
  27032. b := data[iNdEx]
  27033. iNdEx++
  27034. v |= (int64(b) & 0x7F) << shift
  27035. if b < 0x80 {
  27036. break
  27037. }
  27038. }
  27039. m.DeletionGracePeriodSeconds = &v
  27040. case 11:
  27041. if wireType != 2 {
  27042. return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
  27043. }
  27044. var msglen int
  27045. for shift := uint(0); ; shift += 7 {
  27046. if shift >= 64 {
  27047. return ErrIntOverflowGenerated
  27048. }
  27049. if iNdEx >= l {
  27050. return io.ErrUnexpectedEOF
  27051. }
  27052. b := data[iNdEx]
  27053. iNdEx++
  27054. msglen |= (int(b) & 0x7F) << shift
  27055. if b < 0x80 {
  27056. break
  27057. }
  27058. }
  27059. if msglen < 0 {
  27060. return ErrInvalidLengthGenerated
  27061. }
  27062. postIndex := iNdEx + msglen
  27063. if postIndex > l {
  27064. return io.ErrUnexpectedEOF
  27065. }
  27066. var keykey uint64
  27067. for shift := uint(0); ; shift += 7 {
  27068. if shift >= 64 {
  27069. return ErrIntOverflowGenerated
  27070. }
  27071. if iNdEx >= l {
  27072. return io.ErrUnexpectedEOF
  27073. }
  27074. b := data[iNdEx]
  27075. iNdEx++
  27076. keykey |= (uint64(b) & 0x7F) << shift
  27077. if b < 0x80 {
  27078. break
  27079. }
  27080. }
  27081. var stringLenmapkey uint64
  27082. for shift := uint(0); ; shift += 7 {
  27083. if shift >= 64 {
  27084. return ErrIntOverflowGenerated
  27085. }
  27086. if iNdEx >= l {
  27087. return io.ErrUnexpectedEOF
  27088. }
  27089. b := data[iNdEx]
  27090. iNdEx++
  27091. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27092. if b < 0x80 {
  27093. break
  27094. }
  27095. }
  27096. intStringLenmapkey := int(stringLenmapkey)
  27097. if intStringLenmapkey < 0 {
  27098. return ErrInvalidLengthGenerated
  27099. }
  27100. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27101. if postStringIndexmapkey > l {
  27102. return io.ErrUnexpectedEOF
  27103. }
  27104. mapkey := string(data[iNdEx:postStringIndexmapkey])
  27105. iNdEx = postStringIndexmapkey
  27106. var valuekey uint64
  27107. for shift := uint(0); ; shift += 7 {
  27108. if shift >= 64 {
  27109. return ErrIntOverflowGenerated
  27110. }
  27111. if iNdEx >= l {
  27112. return io.ErrUnexpectedEOF
  27113. }
  27114. b := data[iNdEx]
  27115. iNdEx++
  27116. valuekey |= (uint64(b) & 0x7F) << shift
  27117. if b < 0x80 {
  27118. break
  27119. }
  27120. }
  27121. var stringLenmapvalue uint64
  27122. for shift := uint(0); ; shift += 7 {
  27123. if shift >= 64 {
  27124. return ErrIntOverflowGenerated
  27125. }
  27126. if iNdEx >= l {
  27127. return io.ErrUnexpectedEOF
  27128. }
  27129. b := data[iNdEx]
  27130. iNdEx++
  27131. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  27132. if b < 0x80 {
  27133. break
  27134. }
  27135. }
  27136. intStringLenmapvalue := int(stringLenmapvalue)
  27137. if intStringLenmapvalue < 0 {
  27138. return ErrInvalidLengthGenerated
  27139. }
  27140. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  27141. if postStringIndexmapvalue > l {
  27142. return io.ErrUnexpectedEOF
  27143. }
  27144. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  27145. iNdEx = postStringIndexmapvalue
  27146. if m.Labels == nil {
  27147. m.Labels = make(map[string]string)
  27148. }
  27149. m.Labels[mapkey] = mapvalue
  27150. iNdEx = postIndex
  27151. case 12:
  27152. if wireType != 2 {
  27153. return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
  27154. }
  27155. var msglen int
  27156. for shift := uint(0); ; shift += 7 {
  27157. if shift >= 64 {
  27158. return ErrIntOverflowGenerated
  27159. }
  27160. if iNdEx >= l {
  27161. return io.ErrUnexpectedEOF
  27162. }
  27163. b := data[iNdEx]
  27164. iNdEx++
  27165. msglen |= (int(b) & 0x7F) << shift
  27166. if b < 0x80 {
  27167. break
  27168. }
  27169. }
  27170. if msglen < 0 {
  27171. return ErrInvalidLengthGenerated
  27172. }
  27173. postIndex := iNdEx + msglen
  27174. if postIndex > l {
  27175. return io.ErrUnexpectedEOF
  27176. }
  27177. var keykey uint64
  27178. for shift := uint(0); ; shift += 7 {
  27179. if shift >= 64 {
  27180. return ErrIntOverflowGenerated
  27181. }
  27182. if iNdEx >= l {
  27183. return io.ErrUnexpectedEOF
  27184. }
  27185. b := data[iNdEx]
  27186. iNdEx++
  27187. keykey |= (uint64(b) & 0x7F) << shift
  27188. if b < 0x80 {
  27189. break
  27190. }
  27191. }
  27192. var stringLenmapkey uint64
  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. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27203. if b < 0x80 {
  27204. break
  27205. }
  27206. }
  27207. intStringLenmapkey := int(stringLenmapkey)
  27208. if intStringLenmapkey < 0 {
  27209. return ErrInvalidLengthGenerated
  27210. }
  27211. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27212. if postStringIndexmapkey > l {
  27213. return io.ErrUnexpectedEOF
  27214. }
  27215. mapkey := string(data[iNdEx:postStringIndexmapkey])
  27216. iNdEx = postStringIndexmapkey
  27217. var valuekey uint64
  27218. for shift := uint(0); ; shift += 7 {
  27219. if shift >= 64 {
  27220. return ErrIntOverflowGenerated
  27221. }
  27222. if iNdEx >= l {
  27223. return io.ErrUnexpectedEOF
  27224. }
  27225. b := data[iNdEx]
  27226. iNdEx++
  27227. valuekey |= (uint64(b) & 0x7F) << shift
  27228. if b < 0x80 {
  27229. break
  27230. }
  27231. }
  27232. var stringLenmapvalue uint64
  27233. for shift := uint(0); ; shift += 7 {
  27234. if shift >= 64 {
  27235. return ErrIntOverflowGenerated
  27236. }
  27237. if iNdEx >= l {
  27238. return io.ErrUnexpectedEOF
  27239. }
  27240. b := data[iNdEx]
  27241. iNdEx++
  27242. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  27243. if b < 0x80 {
  27244. break
  27245. }
  27246. }
  27247. intStringLenmapvalue := int(stringLenmapvalue)
  27248. if intStringLenmapvalue < 0 {
  27249. return ErrInvalidLengthGenerated
  27250. }
  27251. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  27252. if postStringIndexmapvalue > l {
  27253. return io.ErrUnexpectedEOF
  27254. }
  27255. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  27256. iNdEx = postStringIndexmapvalue
  27257. if m.Annotations == nil {
  27258. m.Annotations = make(map[string]string)
  27259. }
  27260. m.Annotations[mapkey] = mapvalue
  27261. iNdEx = postIndex
  27262. case 13:
  27263. if wireType != 2 {
  27264. return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType)
  27265. }
  27266. var msglen int
  27267. for shift := uint(0); ; shift += 7 {
  27268. if shift >= 64 {
  27269. return ErrIntOverflowGenerated
  27270. }
  27271. if iNdEx >= l {
  27272. return io.ErrUnexpectedEOF
  27273. }
  27274. b := data[iNdEx]
  27275. iNdEx++
  27276. msglen |= (int(b) & 0x7F) << shift
  27277. if b < 0x80 {
  27278. break
  27279. }
  27280. }
  27281. if msglen < 0 {
  27282. return ErrInvalidLengthGenerated
  27283. }
  27284. postIndex := iNdEx + msglen
  27285. if postIndex > l {
  27286. return io.ErrUnexpectedEOF
  27287. }
  27288. m.OwnerReferences = append(m.OwnerReferences, k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference{})
  27289. if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  27290. return err
  27291. }
  27292. iNdEx = postIndex
  27293. case 14:
  27294. if wireType != 2 {
  27295. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  27296. }
  27297. var stringLen uint64
  27298. for shift := uint(0); ; shift += 7 {
  27299. if shift >= 64 {
  27300. return ErrIntOverflowGenerated
  27301. }
  27302. if iNdEx >= l {
  27303. return io.ErrUnexpectedEOF
  27304. }
  27305. b := data[iNdEx]
  27306. iNdEx++
  27307. stringLen |= (uint64(b) & 0x7F) << shift
  27308. if b < 0x80 {
  27309. break
  27310. }
  27311. }
  27312. intStringLen := int(stringLen)
  27313. if intStringLen < 0 {
  27314. return ErrInvalidLengthGenerated
  27315. }
  27316. postIndex := iNdEx + intStringLen
  27317. if postIndex > l {
  27318. return io.ErrUnexpectedEOF
  27319. }
  27320. m.Finalizers = append(m.Finalizers, string(data[iNdEx:postIndex]))
  27321. iNdEx = postIndex
  27322. case 15:
  27323. if wireType != 2 {
  27324. return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
  27325. }
  27326. var stringLen uint64
  27327. for shift := uint(0); ; shift += 7 {
  27328. if shift >= 64 {
  27329. return ErrIntOverflowGenerated
  27330. }
  27331. if iNdEx >= l {
  27332. return io.ErrUnexpectedEOF
  27333. }
  27334. b := data[iNdEx]
  27335. iNdEx++
  27336. stringLen |= (uint64(b) & 0x7F) << shift
  27337. if b < 0x80 {
  27338. break
  27339. }
  27340. }
  27341. intStringLen := int(stringLen)
  27342. if intStringLen < 0 {
  27343. return ErrInvalidLengthGenerated
  27344. }
  27345. postIndex := iNdEx + intStringLen
  27346. if postIndex > l {
  27347. return io.ErrUnexpectedEOF
  27348. }
  27349. m.ClusterName = string(data[iNdEx:postIndex])
  27350. iNdEx = postIndex
  27351. default:
  27352. iNdEx = preIndex
  27353. skippy, err := skipGenerated(data[iNdEx:])
  27354. if err != nil {
  27355. return err
  27356. }
  27357. if skippy < 0 {
  27358. return ErrInvalidLengthGenerated
  27359. }
  27360. if (iNdEx + skippy) > l {
  27361. return io.ErrUnexpectedEOF
  27362. }
  27363. iNdEx += skippy
  27364. }
  27365. }
  27366. if iNdEx > l {
  27367. return io.ErrUnexpectedEOF
  27368. }
  27369. return nil
  27370. }
  27371. func (m *ObjectReference) Unmarshal(data []byte) error {
  27372. l := len(data)
  27373. iNdEx := 0
  27374. for iNdEx < l {
  27375. preIndex := iNdEx
  27376. var wire uint64
  27377. for shift := uint(0); ; shift += 7 {
  27378. if shift >= 64 {
  27379. return ErrIntOverflowGenerated
  27380. }
  27381. if iNdEx >= l {
  27382. return io.ErrUnexpectedEOF
  27383. }
  27384. b := data[iNdEx]
  27385. iNdEx++
  27386. wire |= (uint64(b) & 0x7F) << shift
  27387. if b < 0x80 {
  27388. break
  27389. }
  27390. }
  27391. fieldNum := int32(wire >> 3)
  27392. wireType := int(wire & 0x7)
  27393. if wireType == 4 {
  27394. return fmt.Errorf("proto: ObjectReference: wiretype end group for non-group")
  27395. }
  27396. if fieldNum <= 0 {
  27397. return fmt.Errorf("proto: ObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  27398. }
  27399. switch fieldNum {
  27400. case 1:
  27401. if wireType != 2 {
  27402. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  27403. }
  27404. var stringLen uint64
  27405. for shift := uint(0); ; shift += 7 {
  27406. if shift >= 64 {
  27407. return ErrIntOverflowGenerated
  27408. }
  27409. if iNdEx >= l {
  27410. return io.ErrUnexpectedEOF
  27411. }
  27412. b := data[iNdEx]
  27413. iNdEx++
  27414. stringLen |= (uint64(b) & 0x7F) << shift
  27415. if b < 0x80 {
  27416. break
  27417. }
  27418. }
  27419. intStringLen := int(stringLen)
  27420. if intStringLen < 0 {
  27421. return ErrInvalidLengthGenerated
  27422. }
  27423. postIndex := iNdEx + intStringLen
  27424. if postIndex > l {
  27425. return io.ErrUnexpectedEOF
  27426. }
  27427. m.Kind = string(data[iNdEx:postIndex])
  27428. iNdEx = postIndex
  27429. case 2:
  27430. if wireType != 2 {
  27431. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  27432. }
  27433. var stringLen uint64
  27434. for shift := uint(0); ; shift += 7 {
  27435. if shift >= 64 {
  27436. return ErrIntOverflowGenerated
  27437. }
  27438. if iNdEx >= l {
  27439. return io.ErrUnexpectedEOF
  27440. }
  27441. b := data[iNdEx]
  27442. iNdEx++
  27443. stringLen |= (uint64(b) & 0x7F) << shift
  27444. if b < 0x80 {
  27445. break
  27446. }
  27447. }
  27448. intStringLen := int(stringLen)
  27449. if intStringLen < 0 {
  27450. return ErrInvalidLengthGenerated
  27451. }
  27452. postIndex := iNdEx + intStringLen
  27453. if postIndex > l {
  27454. return io.ErrUnexpectedEOF
  27455. }
  27456. m.Namespace = string(data[iNdEx:postIndex])
  27457. iNdEx = postIndex
  27458. case 3:
  27459. if wireType != 2 {
  27460. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  27461. }
  27462. var stringLen uint64
  27463. for shift := uint(0); ; shift += 7 {
  27464. if shift >= 64 {
  27465. return ErrIntOverflowGenerated
  27466. }
  27467. if iNdEx >= l {
  27468. return io.ErrUnexpectedEOF
  27469. }
  27470. b := data[iNdEx]
  27471. iNdEx++
  27472. stringLen |= (uint64(b) & 0x7F) << shift
  27473. if b < 0x80 {
  27474. break
  27475. }
  27476. }
  27477. intStringLen := int(stringLen)
  27478. if intStringLen < 0 {
  27479. return ErrInvalidLengthGenerated
  27480. }
  27481. postIndex := iNdEx + intStringLen
  27482. if postIndex > l {
  27483. return io.ErrUnexpectedEOF
  27484. }
  27485. m.Name = string(data[iNdEx:postIndex])
  27486. iNdEx = postIndex
  27487. case 4:
  27488. if wireType != 2 {
  27489. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  27490. }
  27491. var stringLen uint64
  27492. for shift := uint(0); ; shift += 7 {
  27493. if shift >= 64 {
  27494. return ErrIntOverflowGenerated
  27495. }
  27496. if iNdEx >= l {
  27497. return io.ErrUnexpectedEOF
  27498. }
  27499. b := data[iNdEx]
  27500. iNdEx++
  27501. stringLen |= (uint64(b) & 0x7F) << shift
  27502. if b < 0x80 {
  27503. break
  27504. }
  27505. }
  27506. intStringLen := int(stringLen)
  27507. if intStringLen < 0 {
  27508. return ErrInvalidLengthGenerated
  27509. }
  27510. postIndex := iNdEx + intStringLen
  27511. if postIndex > l {
  27512. return io.ErrUnexpectedEOF
  27513. }
  27514. m.UID = k8s_io_apimachinery_pkg_types.UID(data[iNdEx:postIndex])
  27515. iNdEx = postIndex
  27516. case 5:
  27517. if wireType != 2 {
  27518. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  27519. }
  27520. var stringLen uint64
  27521. for shift := uint(0); ; shift += 7 {
  27522. if shift >= 64 {
  27523. return ErrIntOverflowGenerated
  27524. }
  27525. if iNdEx >= l {
  27526. return io.ErrUnexpectedEOF
  27527. }
  27528. b := data[iNdEx]
  27529. iNdEx++
  27530. stringLen |= (uint64(b) & 0x7F) << shift
  27531. if b < 0x80 {
  27532. break
  27533. }
  27534. }
  27535. intStringLen := int(stringLen)
  27536. if intStringLen < 0 {
  27537. return ErrInvalidLengthGenerated
  27538. }
  27539. postIndex := iNdEx + intStringLen
  27540. if postIndex > l {
  27541. return io.ErrUnexpectedEOF
  27542. }
  27543. m.APIVersion = string(data[iNdEx:postIndex])
  27544. iNdEx = postIndex
  27545. case 6:
  27546. if wireType != 2 {
  27547. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  27548. }
  27549. var stringLen uint64
  27550. for shift := uint(0); ; shift += 7 {
  27551. if shift >= 64 {
  27552. return ErrIntOverflowGenerated
  27553. }
  27554. if iNdEx >= l {
  27555. return io.ErrUnexpectedEOF
  27556. }
  27557. b := data[iNdEx]
  27558. iNdEx++
  27559. stringLen |= (uint64(b) & 0x7F) << shift
  27560. if b < 0x80 {
  27561. break
  27562. }
  27563. }
  27564. intStringLen := int(stringLen)
  27565. if intStringLen < 0 {
  27566. return ErrInvalidLengthGenerated
  27567. }
  27568. postIndex := iNdEx + intStringLen
  27569. if postIndex > l {
  27570. return io.ErrUnexpectedEOF
  27571. }
  27572. m.ResourceVersion = string(data[iNdEx:postIndex])
  27573. iNdEx = postIndex
  27574. case 7:
  27575. if wireType != 2 {
  27576. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  27577. }
  27578. var stringLen uint64
  27579. for shift := uint(0); ; shift += 7 {
  27580. if shift >= 64 {
  27581. return ErrIntOverflowGenerated
  27582. }
  27583. if iNdEx >= l {
  27584. return io.ErrUnexpectedEOF
  27585. }
  27586. b := data[iNdEx]
  27587. iNdEx++
  27588. stringLen |= (uint64(b) & 0x7F) << shift
  27589. if b < 0x80 {
  27590. break
  27591. }
  27592. }
  27593. intStringLen := int(stringLen)
  27594. if intStringLen < 0 {
  27595. return ErrInvalidLengthGenerated
  27596. }
  27597. postIndex := iNdEx + intStringLen
  27598. if postIndex > l {
  27599. return io.ErrUnexpectedEOF
  27600. }
  27601. m.FieldPath = string(data[iNdEx:postIndex])
  27602. iNdEx = postIndex
  27603. default:
  27604. iNdEx = preIndex
  27605. skippy, err := skipGenerated(data[iNdEx:])
  27606. if err != nil {
  27607. return err
  27608. }
  27609. if skippy < 0 {
  27610. return ErrInvalidLengthGenerated
  27611. }
  27612. if (iNdEx + skippy) > l {
  27613. return io.ErrUnexpectedEOF
  27614. }
  27615. iNdEx += skippy
  27616. }
  27617. }
  27618. if iNdEx > l {
  27619. return io.ErrUnexpectedEOF
  27620. }
  27621. return nil
  27622. }
  27623. func (m *PersistentVolume) Unmarshal(data []byte) error {
  27624. l := len(data)
  27625. iNdEx := 0
  27626. for iNdEx < l {
  27627. preIndex := iNdEx
  27628. var wire uint64
  27629. for shift := uint(0); ; shift += 7 {
  27630. if shift >= 64 {
  27631. return ErrIntOverflowGenerated
  27632. }
  27633. if iNdEx >= l {
  27634. return io.ErrUnexpectedEOF
  27635. }
  27636. b := data[iNdEx]
  27637. iNdEx++
  27638. wire |= (uint64(b) & 0x7F) << shift
  27639. if b < 0x80 {
  27640. break
  27641. }
  27642. }
  27643. fieldNum := int32(wire >> 3)
  27644. wireType := int(wire & 0x7)
  27645. if wireType == 4 {
  27646. return fmt.Errorf("proto: PersistentVolume: wiretype end group for non-group")
  27647. }
  27648. if fieldNum <= 0 {
  27649. return fmt.Errorf("proto: PersistentVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  27650. }
  27651. switch fieldNum {
  27652. case 1:
  27653. if wireType != 2 {
  27654. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  27655. }
  27656. var msglen int
  27657. for shift := uint(0); ; shift += 7 {
  27658. if shift >= 64 {
  27659. return ErrIntOverflowGenerated
  27660. }
  27661. if iNdEx >= l {
  27662. return io.ErrUnexpectedEOF
  27663. }
  27664. b := data[iNdEx]
  27665. iNdEx++
  27666. msglen |= (int(b) & 0x7F) << shift
  27667. if b < 0x80 {
  27668. break
  27669. }
  27670. }
  27671. if msglen < 0 {
  27672. return ErrInvalidLengthGenerated
  27673. }
  27674. postIndex := iNdEx + msglen
  27675. if postIndex > l {
  27676. return io.ErrUnexpectedEOF
  27677. }
  27678. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27679. return err
  27680. }
  27681. iNdEx = postIndex
  27682. case 2:
  27683. if wireType != 2 {
  27684. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  27685. }
  27686. var msglen int
  27687. for shift := uint(0); ; shift += 7 {
  27688. if shift >= 64 {
  27689. return ErrIntOverflowGenerated
  27690. }
  27691. if iNdEx >= l {
  27692. return io.ErrUnexpectedEOF
  27693. }
  27694. b := data[iNdEx]
  27695. iNdEx++
  27696. msglen |= (int(b) & 0x7F) << shift
  27697. if b < 0x80 {
  27698. break
  27699. }
  27700. }
  27701. if msglen < 0 {
  27702. return ErrInvalidLengthGenerated
  27703. }
  27704. postIndex := iNdEx + msglen
  27705. if postIndex > l {
  27706. return io.ErrUnexpectedEOF
  27707. }
  27708. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27709. return err
  27710. }
  27711. iNdEx = postIndex
  27712. case 3:
  27713. if wireType != 2 {
  27714. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  27715. }
  27716. var msglen int
  27717. for shift := uint(0); ; shift += 7 {
  27718. if shift >= 64 {
  27719. return ErrIntOverflowGenerated
  27720. }
  27721. if iNdEx >= l {
  27722. return io.ErrUnexpectedEOF
  27723. }
  27724. b := data[iNdEx]
  27725. iNdEx++
  27726. msglen |= (int(b) & 0x7F) << shift
  27727. if b < 0x80 {
  27728. break
  27729. }
  27730. }
  27731. if msglen < 0 {
  27732. return ErrInvalidLengthGenerated
  27733. }
  27734. postIndex := iNdEx + msglen
  27735. if postIndex > l {
  27736. return io.ErrUnexpectedEOF
  27737. }
  27738. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27739. return err
  27740. }
  27741. iNdEx = postIndex
  27742. default:
  27743. iNdEx = preIndex
  27744. skippy, err := skipGenerated(data[iNdEx:])
  27745. if err != nil {
  27746. return err
  27747. }
  27748. if skippy < 0 {
  27749. return ErrInvalidLengthGenerated
  27750. }
  27751. if (iNdEx + skippy) > l {
  27752. return io.ErrUnexpectedEOF
  27753. }
  27754. iNdEx += skippy
  27755. }
  27756. }
  27757. if iNdEx > l {
  27758. return io.ErrUnexpectedEOF
  27759. }
  27760. return nil
  27761. }
  27762. func (m *PersistentVolumeClaim) Unmarshal(data []byte) error {
  27763. l := len(data)
  27764. iNdEx := 0
  27765. for iNdEx < l {
  27766. preIndex := iNdEx
  27767. var wire uint64
  27768. for shift := uint(0); ; shift += 7 {
  27769. if shift >= 64 {
  27770. return ErrIntOverflowGenerated
  27771. }
  27772. if iNdEx >= l {
  27773. return io.ErrUnexpectedEOF
  27774. }
  27775. b := data[iNdEx]
  27776. iNdEx++
  27777. wire |= (uint64(b) & 0x7F) << shift
  27778. if b < 0x80 {
  27779. break
  27780. }
  27781. }
  27782. fieldNum := int32(wire >> 3)
  27783. wireType := int(wire & 0x7)
  27784. if wireType == 4 {
  27785. return fmt.Errorf("proto: PersistentVolumeClaim: wiretype end group for non-group")
  27786. }
  27787. if fieldNum <= 0 {
  27788. return fmt.Errorf("proto: PersistentVolumeClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  27789. }
  27790. switch fieldNum {
  27791. case 1:
  27792. if wireType != 2 {
  27793. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  27794. }
  27795. var msglen int
  27796. for shift := uint(0); ; shift += 7 {
  27797. if shift >= 64 {
  27798. return ErrIntOverflowGenerated
  27799. }
  27800. if iNdEx >= l {
  27801. return io.ErrUnexpectedEOF
  27802. }
  27803. b := data[iNdEx]
  27804. iNdEx++
  27805. msglen |= (int(b) & 0x7F) << shift
  27806. if b < 0x80 {
  27807. break
  27808. }
  27809. }
  27810. if msglen < 0 {
  27811. return ErrInvalidLengthGenerated
  27812. }
  27813. postIndex := iNdEx + msglen
  27814. if postIndex > l {
  27815. return io.ErrUnexpectedEOF
  27816. }
  27817. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27818. return err
  27819. }
  27820. iNdEx = postIndex
  27821. case 2:
  27822. if wireType != 2 {
  27823. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  27824. }
  27825. var msglen int
  27826. for shift := uint(0); ; shift += 7 {
  27827. if shift >= 64 {
  27828. return ErrIntOverflowGenerated
  27829. }
  27830. if iNdEx >= l {
  27831. return io.ErrUnexpectedEOF
  27832. }
  27833. b := data[iNdEx]
  27834. iNdEx++
  27835. msglen |= (int(b) & 0x7F) << shift
  27836. if b < 0x80 {
  27837. break
  27838. }
  27839. }
  27840. if msglen < 0 {
  27841. return ErrInvalidLengthGenerated
  27842. }
  27843. postIndex := iNdEx + msglen
  27844. if postIndex > l {
  27845. return io.ErrUnexpectedEOF
  27846. }
  27847. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27848. return err
  27849. }
  27850. iNdEx = postIndex
  27851. case 3:
  27852. if wireType != 2 {
  27853. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  27854. }
  27855. var msglen int
  27856. for shift := uint(0); ; shift += 7 {
  27857. if shift >= 64 {
  27858. return ErrIntOverflowGenerated
  27859. }
  27860. if iNdEx >= l {
  27861. return io.ErrUnexpectedEOF
  27862. }
  27863. b := data[iNdEx]
  27864. iNdEx++
  27865. msglen |= (int(b) & 0x7F) << shift
  27866. if b < 0x80 {
  27867. break
  27868. }
  27869. }
  27870. if msglen < 0 {
  27871. return ErrInvalidLengthGenerated
  27872. }
  27873. postIndex := iNdEx + msglen
  27874. if postIndex > l {
  27875. return io.ErrUnexpectedEOF
  27876. }
  27877. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27878. return err
  27879. }
  27880. iNdEx = postIndex
  27881. default:
  27882. iNdEx = preIndex
  27883. skippy, err := skipGenerated(data[iNdEx:])
  27884. if err != nil {
  27885. return err
  27886. }
  27887. if skippy < 0 {
  27888. return ErrInvalidLengthGenerated
  27889. }
  27890. if (iNdEx + skippy) > l {
  27891. return io.ErrUnexpectedEOF
  27892. }
  27893. iNdEx += skippy
  27894. }
  27895. }
  27896. if iNdEx > l {
  27897. return io.ErrUnexpectedEOF
  27898. }
  27899. return nil
  27900. }
  27901. func (m *PersistentVolumeClaimList) Unmarshal(data []byte) error {
  27902. l := len(data)
  27903. iNdEx := 0
  27904. for iNdEx < l {
  27905. preIndex := iNdEx
  27906. var wire uint64
  27907. for shift := uint(0); ; shift += 7 {
  27908. if shift >= 64 {
  27909. return ErrIntOverflowGenerated
  27910. }
  27911. if iNdEx >= l {
  27912. return io.ErrUnexpectedEOF
  27913. }
  27914. b := data[iNdEx]
  27915. iNdEx++
  27916. wire |= (uint64(b) & 0x7F) << shift
  27917. if b < 0x80 {
  27918. break
  27919. }
  27920. }
  27921. fieldNum := int32(wire >> 3)
  27922. wireType := int(wire & 0x7)
  27923. if wireType == 4 {
  27924. return fmt.Errorf("proto: PersistentVolumeClaimList: wiretype end group for non-group")
  27925. }
  27926. if fieldNum <= 0 {
  27927. return fmt.Errorf("proto: PersistentVolumeClaimList: illegal tag %d (wire type %d)", fieldNum, wire)
  27928. }
  27929. switch fieldNum {
  27930. case 1:
  27931. if wireType != 2 {
  27932. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  27933. }
  27934. var msglen int
  27935. for shift := uint(0); ; shift += 7 {
  27936. if shift >= 64 {
  27937. return ErrIntOverflowGenerated
  27938. }
  27939. if iNdEx >= l {
  27940. return io.ErrUnexpectedEOF
  27941. }
  27942. b := data[iNdEx]
  27943. iNdEx++
  27944. msglen |= (int(b) & 0x7F) << shift
  27945. if b < 0x80 {
  27946. break
  27947. }
  27948. }
  27949. if msglen < 0 {
  27950. return ErrInvalidLengthGenerated
  27951. }
  27952. postIndex := iNdEx + msglen
  27953. if postIndex > l {
  27954. return io.ErrUnexpectedEOF
  27955. }
  27956. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  27957. return err
  27958. }
  27959. iNdEx = postIndex
  27960. case 2:
  27961. if wireType != 2 {
  27962. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  27963. }
  27964. var msglen int
  27965. for shift := uint(0); ; shift += 7 {
  27966. if shift >= 64 {
  27967. return ErrIntOverflowGenerated
  27968. }
  27969. if iNdEx >= l {
  27970. return io.ErrUnexpectedEOF
  27971. }
  27972. b := data[iNdEx]
  27973. iNdEx++
  27974. msglen |= (int(b) & 0x7F) << shift
  27975. if b < 0x80 {
  27976. break
  27977. }
  27978. }
  27979. if msglen < 0 {
  27980. return ErrInvalidLengthGenerated
  27981. }
  27982. postIndex := iNdEx + msglen
  27983. if postIndex > l {
  27984. return io.ErrUnexpectedEOF
  27985. }
  27986. m.Items = append(m.Items, PersistentVolumeClaim{})
  27987. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  27988. return err
  27989. }
  27990. iNdEx = postIndex
  27991. default:
  27992. iNdEx = preIndex
  27993. skippy, err := skipGenerated(data[iNdEx:])
  27994. if err != nil {
  27995. return err
  27996. }
  27997. if skippy < 0 {
  27998. return ErrInvalidLengthGenerated
  27999. }
  28000. if (iNdEx + skippy) > l {
  28001. return io.ErrUnexpectedEOF
  28002. }
  28003. iNdEx += skippy
  28004. }
  28005. }
  28006. if iNdEx > l {
  28007. return io.ErrUnexpectedEOF
  28008. }
  28009. return nil
  28010. }
  28011. func (m *PersistentVolumeClaimSpec) Unmarshal(data []byte) error {
  28012. l := len(data)
  28013. iNdEx := 0
  28014. for iNdEx < l {
  28015. preIndex := iNdEx
  28016. var wire uint64
  28017. for shift := uint(0); ; shift += 7 {
  28018. if shift >= 64 {
  28019. return ErrIntOverflowGenerated
  28020. }
  28021. if iNdEx >= l {
  28022. return io.ErrUnexpectedEOF
  28023. }
  28024. b := data[iNdEx]
  28025. iNdEx++
  28026. wire |= (uint64(b) & 0x7F) << shift
  28027. if b < 0x80 {
  28028. break
  28029. }
  28030. }
  28031. fieldNum := int32(wire >> 3)
  28032. wireType := int(wire & 0x7)
  28033. if wireType == 4 {
  28034. return fmt.Errorf("proto: PersistentVolumeClaimSpec: wiretype end group for non-group")
  28035. }
  28036. if fieldNum <= 0 {
  28037. return fmt.Errorf("proto: PersistentVolumeClaimSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  28038. }
  28039. switch fieldNum {
  28040. case 1:
  28041. if wireType != 2 {
  28042. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  28043. }
  28044. var stringLen uint64
  28045. for shift := uint(0); ; shift += 7 {
  28046. if shift >= 64 {
  28047. return ErrIntOverflowGenerated
  28048. }
  28049. if iNdEx >= l {
  28050. return io.ErrUnexpectedEOF
  28051. }
  28052. b := data[iNdEx]
  28053. iNdEx++
  28054. stringLen |= (uint64(b) & 0x7F) << shift
  28055. if b < 0x80 {
  28056. break
  28057. }
  28058. }
  28059. intStringLen := int(stringLen)
  28060. if intStringLen < 0 {
  28061. return ErrInvalidLengthGenerated
  28062. }
  28063. postIndex := iNdEx + intStringLen
  28064. if postIndex > l {
  28065. return io.ErrUnexpectedEOF
  28066. }
  28067. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(data[iNdEx:postIndex]))
  28068. iNdEx = postIndex
  28069. case 2:
  28070. if wireType != 2 {
  28071. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  28072. }
  28073. var msglen int
  28074. for shift := uint(0); ; shift += 7 {
  28075. if shift >= 64 {
  28076. return ErrIntOverflowGenerated
  28077. }
  28078. if iNdEx >= l {
  28079. return io.ErrUnexpectedEOF
  28080. }
  28081. b := data[iNdEx]
  28082. iNdEx++
  28083. msglen |= (int(b) & 0x7F) << shift
  28084. if b < 0x80 {
  28085. break
  28086. }
  28087. }
  28088. if msglen < 0 {
  28089. return ErrInvalidLengthGenerated
  28090. }
  28091. postIndex := iNdEx + msglen
  28092. if postIndex > l {
  28093. return io.ErrUnexpectedEOF
  28094. }
  28095. if err := m.Resources.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28096. return err
  28097. }
  28098. iNdEx = postIndex
  28099. case 3:
  28100. if wireType != 2 {
  28101. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  28102. }
  28103. var stringLen uint64
  28104. for shift := uint(0); ; shift += 7 {
  28105. if shift >= 64 {
  28106. return ErrIntOverflowGenerated
  28107. }
  28108. if iNdEx >= l {
  28109. return io.ErrUnexpectedEOF
  28110. }
  28111. b := data[iNdEx]
  28112. iNdEx++
  28113. stringLen |= (uint64(b) & 0x7F) << shift
  28114. if b < 0x80 {
  28115. break
  28116. }
  28117. }
  28118. intStringLen := int(stringLen)
  28119. if intStringLen < 0 {
  28120. return ErrInvalidLengthGenerated
  28121. }
  28122. postIndex := iNdEx + intStringLen
  28123. if postIndex > l {
  28124. return io.ErrUnexpectedEOF
  28125. }
  28126. m.VolumeName = string(data[iNdEx:postIndex])
  28127. iNdEx = postIndex
  28128. case 4:
  28129. if wireType != 2 {
  28130. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  28131. }
  28132. var msglen int
  28133. for shift := uint(0); ; shift += 7 {
  28134. if shift >= 64 {
  28135. return ErrIntOverflowGenerated
  28136. }
  28137. if iNdEx >= l {
  28138. return io.ErrUnexpectedEOF
  28139. }
  28140. b := data[iNdEx]
  28141. iNdEx++
  28142. msglen |= (int(b) & 0x7F) << shift
  28143. if b < 0x80 {
  28144. break
  28145. }
  28146. }
  28147. if msglen < 0 {
  28148. return ErrInvalidLengthGenerated
  28149. }
  28150. postIndex := iNdEx + msglen
  28151. if postIndex > l {
  28152. return io.ErrUnexpectedEOF
  28153. }
  28154. if m.Selector == nil {
  28155. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  28156. }
  28157. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28158. return err
  28159. }
  28160. iNdEx = postIndex
  28161. case 5:
  28162. if wireType != 2 {
  28163. return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType)
  28164. }
  28165. var stringLen uint64
  28166. for shift := uint(0); ; shift += 7 {
  28167. if shift >= 64 {
  28168. return ErrIntOverflowGenerated
  28169. }
  28170. if iNdEx >= l {
  28171. return io.ErrUnexpectedEOF
  28172. }
  28173. b := data[iNdEx]
  28174. iNdEx++
  28175. stringLen |= (uint64(b) & 0x7F) << shift
  28176. if b < 0x80 {
  28177. break
  28178. }
  28179. }
  28180. intStringLen := int(stringLen)
  28181. if intStringLen < 0 {
  28182. return ErrInvalidLengthGenerated
  28183. }
  28184. postIndex := iNdEx + intStringLen
  28185. if postIndex > l {
  28186. return io.ErrUnexpectedEOF
  28187. }
  28188. s := string(data[iNdEx:postIndex])
  28189. m.StorageClassName = &s
  28190. iNdEx = postIndex
  28191. default:
  28192. iNdEx = preIndex
  28193. skippy, err := skipGenerated(data[iNdEx:])
  28194. if err != nil {
  28195. return err
  28196. }
  28197. if skippy < 0 {
  28198. return ErrInvalidLengthGenerated
  28199. }
  28200. if (iNdEx + skippy) > l {
  28201. return io.ErrUnexpectedEOF
  28202. }
  28203. iNdEx += skippy
  28204. }
  28205. }
  28206. if iNdEx > l {
  28207. return io.ErrUnexpectedEOF
  28208. }
  28209. return nil
  28210. }
  28211. func (m *PersistentVolumeClaimStatus) Unmarshal(data []byte) error {
  28212. l := len(data)
  28213. iNdEx := 0
  28214. for iNdEx < l {
  28215. preIndex := iNdEx
  28216. var wire uint64
  28217. for shift := uint(0); ; shift += 7 {
  28218. if shift >= 64 {
  28219. return ErrIntOverflowGenerated
  28220. }
  28221. if iNdEx >= l {
  28222. return io.ErrUnexpectedEOF
  28223. }
  28224. b := data[iNdEx]
  28225. iNdEx++
  28226. wire |= (uint64(b) & 0x7F) << shift
  28227. if b < 0x80 {
  28228. break
  28229. }
  28230. }
  28231. fieldNum := int32(wire >> 3)
  28232. wireType := int(wire & 0x7)
  28233. if wireType == 4 {
  28234. return fmt.Errorf("proto: PersistentVolumeClaimStatus: wiretype end group for non-group")
  28235. }
  28236. if fieldNum <= 0 {
  28237. return fmt.Errorf("proto: PersistentVolumeClaimStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  28238. }
  28239. switch fieldNum {
  28240. case 1:
  28241. if wireType != 2 {
  28242. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  28243. }
  28244. var stringLen uint64
  28245. for shift := uint(0); ; shift += 7 {
  28246. if shift >= 64 {
  28247. return ErrIntOverflowGenerated
  28248. }
  28249. if iNdEx >= l {
  28250. return io.ErrUnexpectedEOF
  28251. }
  28252. b := data[iNdEx]
  28253. iNdEx++
  28254. stringLen |= (uint64(b) & 0x7F) << shift
  28255. if b < 0x80 {
  28256. break
  28257. }
  28258. }
  28259. intStringLen := int(stringLen)
  28260. if intStringLen < 0 {
  28261. return ErrInvalidLengthGenerated
  28262. }
  28263. postIndex := iNdEx + intStringLen
  28264. if postIndex > l {
  28265. return io.ErrUnexpectedEOF
  28266. }
  28267. m.Phase = PersistentVolumeClaimPhase(data[iNdEx:postIndex])
  28268. iNdEx = postIndex
  28269. case 2:
  28270. if wireType != 2 {
  28271. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  28272. }
  28273. var stringLen uint64
  28274. for shift := uint(0); ; shift += 7 {
  28275. if shift >= 64 {
  28276. return ErrIntOverflowGenerated
  28277. }
  28278. if iNdEx >= l {
  28279. return io.ErrUnexpectedEOF
  28280. }
  28281. b := data[iNdEx]
  28282. iNdEx++
  28283. stringLen |= (uint64(b) & 0x7F) << shift
  28284. if b < 0x80 {
  28285. break
  28286. }
  28287. }
  28288. intStringLen := int(stringLen)
  28289. if intStringLen < 0 {
  28290. return ErrInvalidLengthGenerated
  28291. }
  28292. postIndex := iNdEx + intStringLen
  28293. if postIndex > l {
  28294. return io.ErrUnexpectedEOF
  28295. }
  28296. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(data[iNdEx:postIndex]))
  28297. iNdEx = postIndex
  28298. case 3:
  28299. if wireType != 2 {
  28300. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  28301. }
  28302. var msglen int
  28303. for shift := uint(0); ; shift += 7 {
  28304. if shift >= 64 {
  28305. return ErrIntOverflowGenerated
  28306. }
  28307. if iNdEx >= l {
  28308. return io.ErrUnexpectedEOF
  28309. }
  28310. b := data[iNdEx]
  28311. iNdEx++
  28312. msglen |= (int(b) & 0x7F) << shift
  28313. if b < 0x80 {
  28314. break
  28315. }
  28316. }
  28317. if msglen < 0 {
  28318. return ErrInvalidLengthGenerated
  28319. }
  28320. postIndex := iNdEx + msglen
  28321. if postIndex > l {
  28322. return io.ErrUnexpectedEOF
  28323. }
  28324. var keykey uint64
  28325. for shift := uint(0); ; shift += 7 {
  28326. if shift >= 64 {
  28327. return ErrIntOverflowGenerated
  28328. }
  28329. if iNdEx >= l {
  28330. return io.ErrUnexpectedEOF
  28331. }
  28332. b := data[iNdEx]
  28333. iNdEx++
  28334. keykey |= (uint64(b) & 0x7F) << shift
  28335. if b < 0x80 {
  28336. break
  28337. }
  28338. }
  28339. var stringLenmapkey uint64
  28340. for shift := uint(0); ; shift += 7 {
  28341. if shift >= 64 {
  28342. return ErrIntOverflowGenerated
  28343. }
  28344. if iNdEx >= l {
  28345. return io.ErrUnexpectedEOF
  28346. }
  28347. b := data[iNdEx]
  28348. iNdEx++
  28349. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  28350. if b < 0x80 {
  28351. break
  28352. }
  28353. }
  28354. intStringLenmapkey := int(stringLenmapkey)
  28355. if intStringLenmapkey < 0 {
  28356. return ErrInvalidLengthGenerated
  28357. }
  28358. postStringIndexmapkey := iNdEx + intStringLenmapkey
  28359. if postStringIndexmapkey > l {
  28360. return io.ErrUnexpectedEOF
  28361. }
  28362. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  28363. iNdEx = postStringIndexmapkey
  28364. var valuekey uint64
  28365. for shift := uint(0); ; shift += 7 {
  28366. if shift >= 64 {
  28367. return ErrIntOverflowGenerated
  28368. }
  28369. if iNdEx >= l {
  28370. return io.ErrUnexpectedEOF
  28371. }
  28372. b := data[iNdEx]
  28373. iNdEx++
  28374. valuekey |= (uint64(b) & 0x7F) << shift
  28375. if b < 0x80 {
  28376. break
  28377. }
  28378. }
  28379. var mapmsglen int
  28380. for shift := uint(0); ; shift += 7 {
  28381. if shift >= 64 {
  28382. return ErrIntOverflowGenerated
  28383. }
  28384. if iNdEx >= l {
  28385. return io.ErrUnexpectedEOF
  28386. }
  28387. b := data[iNdEx]
  28388. iNdEx++
  28389. mapmsglen |= (int(b) & 0x7F) << shift
  28390. if b < 0x80 {
  28391. break
  28392. }
  28393. }
  28394. if mapmsglen < 0 {
  28395. return ErrInvalidLengthGenerated
  28396. }
  28397. postmsgIndex := iNdEx + mapmsglen
  28398. if mapmsglen < 0 {
  28399. return ErrInvalidLengthGenerated
  28400. }
  28401. if postmsgIndex > l {
  28402. return io.ErrUnexpectedEOF
  28403. }
  28404. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28405. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  28406. return err
  28407. }
  28408. iNdEx = postmsgIndex
  28409. if m.Capacity == nil {
  28410. m.Capacity = make(ResourceList)
  28411. }
  28412. m.Capacity[ResourceName(mapkey)] = *mapvalue
  28413. iNdEx = postIndex
  28414. default:
  28415. iNdEx = preIndex
  28416. skippy, err := skipGenerated(data[iNdEx:])
  28417. if err != nil {
  28418. return err
  28419. }
  28420. if skippy < 0 {
  28421. return ErrInvalidLengthGenerated
  28422. }
  28423. if (iNdEx + skippy) > l {
  28424. return io.ErrUnexpectedEOF
  28425. }
  28426. iNdEx += skippy
  28427. }
  28428. }
  28429. if iNdEx > l {
  28430. return io.ErrUnexpectedEOF
  28431. }
  28432. return nil
  28433. }
  28434. func (m *PersistentVolumeClaimVolumeSource) Unmarshal(data []byte) error {
  28435. l := len(data)
  28436. iNdEx := 0
  28437. for iNdEx < l {
  28438. preIndex := iNdEx
  28439. var wire uint64
  28440. for shift := uint(0); ; shift += 7 {
  28441. if shift >= 64 {
  28442. return ErrIntOverflowGenerated
  28443. }
  28444. if iNdEx >= l {
  28445. return io.ErrUnexpectedEOF
  28446. }
  28447. b := data[iNdEx]
  28448. iNdEx++
  28449. wire |= (uint64(b) & 0x7F) << shift
  28450. if b < 0x80 {
  28451. break
  28452. }
  28453. }
  28454. fieldNum := int32(wire >> 3)
  28455. wireType := int(wire & 0x7)
  28456. if wireType == 4 {
  28457. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: wiretype end group for non-group")
  28458. }
  28459. if fieldNum <= 0 {
  28460. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  28461. }
  28462. switch fieldNum {
  28463. case 1:
  28464. if wireType != 2 {
  28465. return fmt.Errorf("proto: wrong wireType = %d for field ClaimName", wireType)
  28466. }
  28467. var stringLen uint64
  28468. for shift := uint(0); ; shift += 7 {
  28469. if shift >= 64 {
  28470. return ErrIntOverflowGenerated
  28471. }
  28472. if iNdEx >= l {
  28473. return io.ErrUnexpectedEOF
  28474. }
  28475. b := data[iNdEx]
  28476. iNdEx++
  28477. stringLen |= (uint64(b) & 0x7F) << shift
  28478. if b < 0x80 {
  28479. break
  28480. }
  28481. }
  28482. intStringLen := int(stringLen)
  28483. if intStringLen < 0 {
  28484. return ErrInvalidLengthGenerated
  28485. }
  28486. postIndex := iNdEx + intStringLen
  28487. if postIndex > l {
  28488. return io.ErrUnexpectedEOF
  28489. }
  28490. m.ClaimName = string(data[iNdEx:postIndex])
  28491. iNdEx = postIndex
  28492. case 2:
  28493. if wireType != 0 {
  28494. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  28495. }
  28496. var v int
  28497. for shift := uint(0); ; shift += 7 {
  28498. if shift >= 64 {
  28499. return ErrIntOverflowGenerated
  28500. }
  28501. if iNdEx >= l {
  28502. return io.ErrUnexpectedEOF
  28503. }
  28504. b := data[iNdEx]
  28505. iNdEx++
  28506. v |= (int(b) & 0x7F) << shift
  28507. if b < 0x80 {
  28508. break
  28509. }
  28510. }
  28511. m.ReadOnly = bool(v != 0)
  28512. default:
  28513. iNdEx = preIndex
  28514. skippy, err := skipGenerated(data[iNdEx:])
  28515. if err != nil {
  28516. return err
  28517. }
  28518. if skippy < 0 {
  28519. return ErrInvalidLengthGenerated
  28520. }
  28521. if (iNdEx + skippy) > l {
  28522. return io.ErrUnexpectedEOF
  28523. }
  28524. iNdEx += skippy
  28525. }
  28526. }
  28527. if iNdEx > l {
  28528. return io.ErrUnexpectedEOF
  28529. }
  28530. return nil
  28531. }
  28532. func (m *PersistentVolumeList) Unmarshal(data []byte) error {
  28533. l := len(data)
  28534. iNdEx := 0
  28535. for iNdEx < l {
  28536. preIndex := iNdEx
  28537. var wire uint64
  28538. for shift := uint(0); ; shift += 7 {
  28539. if shift >= 64 {
  28540. return ErrIntOverflowGenerated
  28541. }
  28542. if iNdEx >= l {
  28543. return io.ErrUnexpectedEOF
  28544. }
  28545. b := data[iNdEx]
  28546. iNdEx++
  28547. wire |= (uint64(b) & 0x7F) << shift
  28548. if b < 0x80 {
  28549. break
  28550. }
  28551. }
  28552. fieldNum := int32(wire >> 3)
  28553. wireType := int(wire & 0x7)
  28554. if wireType == 4 {
  28555. return fmt.Errorf("proto: PersistentVolumeList: wiretype end group for non-group")
  28556. }
  28557. if fieldNum <= 0 {
  28558. return fmt.Errorf("proto: PersistentVolumeList: illegal tag %d (wire type %d)", fieldNum, wire)
  28559. }
  28560. switch fieldNum {
  28561. case 1:
  28562. if wireType != 2 {
  28563. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  28564. }
  28565. var msglen int
  28566. for shift := uint(0); ; shift += 7 {
  28567. if shift >= 64 {
  28568. return ErrIntOverflowGenerated
  28569. }
  28570. if iNdEx >= l {
  28571. return io.ErrUnexpectedEOF
  28572. }
  28573. b := data[iNdEx]
  28574. iNdEx++
  28575. msglen |= (int(b) & 0x7F) << shift
  28576. if b < 0x80 {
  28577. break
  28578. }
  28579. }
  28580. if msglen < 0 {
  28581. return ErrInvalidLengthGenerated
  28582. }
  28583. postIndex := iNdEx + msglen
  28584. if postIndex > l {
  28585. return io.ErrUnexpectedEOF
  28586. }
  28587. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28588. return err
  28589. }
  28590. iNdEx = postIndex
  28591. case 2:
  28592. if wireType != 2 {
  28593. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  28594. }
  28595. var msglen int
  28596. for shift := uint(0); ; shift += 7 {
  28597. if shift >= 64 {
  28598. return ErrIntOverflowGenerated
  28599. }
  28600. if iNdEx >= l {
  28601. return io.ErrUnexpectedEOF
  28602. }
  28603. b := data[iNdEx]
  28604. iNdEx++
  28605. msglen |= (int(b) & 0x7F) << shift
  28606. if b < 0x80 {
  28607. break
  28608. }
  28609. }
  28610. if msglen < 0 {
  28611. return ErrInvalidLengthGenerated
  28612. }
  28613. postIndex := iNdEx + msglen
  28614. if postIndex > l {
  28615. return io.ErrUnexpectedEOF
  28616. }
  28617. m.Items = append(m.Items, PersistentVolume{})
  28618. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  28619. return err
  28620. }
  28621. iNdEx = postIndex
  28622. default:
  28623. iNdEx = preIndex
  28624. skippy, err := skipGenerated(data[iNdEx:])
  28625. if err != nil {
  28626. return err
  28627. }
  28628. if skippy < 0 {
  28629. return ErrInvalidLengthGenerated
  28630. }
  28631. if (iNdEx + skippy) > l {
  28632. return io.ErrUnexpectedEOF
  28633. }
  28634. iNdEx += skippy
  28635. }
  28636. }
  28637. if iNdEx > l {
  28638. return io.ErrUnexpectedEOF
  28639. }
  28640. return nil
  28641. }
  28642. func (m *PersistentVolumeSource) Unmarshal(data []byte) error {
  28643. l := len(data)
  28644. iNdEx := 0
  28645. for iNdEx < l {
  28646. preIndex := iNdEx
  28647. var wire uint64
  28648. for shift := uint(0); ; shift += 7 {
  28649. if shift >= 64 {
  28650. return ErrIntOverflowGenerated
  28651. }
  28652. if iNdEx >= l {
  28653. return io.ErrUnexpectedEOF
  28654. }
  28655. b := data[iNdEx]
  28656. iNdEx++
  28657. wire |= (uint64(b) & 0x7F) << shift
  28658. if b < 0x80 {
  28659. break
  28660. }
  28661. }
  28662. fieldNum := int32(wire >> 3)
  28663. wireType := int(wire & 0x7)
  28664. if wireType == 4 {
  28665. return fmt.Errorf("proto: PersistentVolumeSource: wiretype end group for non-group")
  28666. }
  28667. if fieldNum <= 0 {
  28668. return fmt.Errorf("proto: PersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  28669. }
  28670. switch fieldNum {
  28671. case 1:
  28672. if wireType != 2 {
  28673. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  28674. }
  28675. var msglen int
  28676. for shift := uint(0); ; shift += 7 {
  28677. if shift >= 64 {
  28678. return ErrIntOverflowGenerated
  28679. }
  28680. if iNdEx >= l {
  28681. return io.ErrUnexpectedEOF
  28682. }
  28683. b := data[iNdEx]
  28684. iNdEx++
  28685. msglen |= (int(b) & 0x7F) << shift
  28686. if b < 0x80 {
  28687. break
  28688. }
  28689. }
  28690. if msglen < 0 {
  28691. return ErrInvalidLengthGenerated
  28692. }
  28693. postIndex := iNdEx + msglen
  28694. if postIndex > l {
  28695. return io.ErrUnexpectedEOF
  28696. }
  28697. if m.GCEPersistentDisk == nil {
  28698. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  28699. }
  28700. if err := m.GCEPersistentDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28701. return err
  28702. }
  28703. iNdEx = postIndex
  28704. case 2:
  28705. if wireType != 2 {
  28706. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", wireType)
  28707. }
  28708. var msglen int
  28709. for shift := uint(0); ; shift += 7 {
  28710. if shift >= 64 {
  28711. return ErrIntOverflowGenerated
  28712. }
  28713. if iNdEx >= l {
  28714. return io.ErrUnexpectedEOF
  28715. }
  28716. b := data[iNdEx]
  28717. iNdEx++
  28718. msglen |= (int(b) & 0x7F) << shift
  28719. if b < 0x80 {
  28720. break
  28721. }
  28722. }
  28723. if msglen < 0 {
  28724. return ErrInvalidLengthGenerated
  28725. }
  28726. postIndex := iNdEx + msglen
  28727. if postIndex > l {
  28728. return io.ErrUnexpectedEOF
  28729. }
  28730. if m.AWSElasticBlockStore == nil {
  28731. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  28732. }
  28733. if err := m.AWSElasticBlockStore.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28734. return err
  28735. }
  28736. iNdEx = postIndex
  28737. case 3:
  28738. if wireType != 2 {
  28739. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  28740. }
  28741. var msglen int
  28742. for shift := uint(0); ; shift += 7 {
  28743. if shift >= 64 {
  28744. return ErrIntOverflowGenerated
  28745. }
  28746. if iNdEx >= l {
  28747. return io.ErrUnexpectedEOF
  28748. }
  28749. b := data[iNdEx]
  28750. iNdEx++
  28751. msglen |= (int(b) & 0x7F) << shift
  28752. if b < 0x80 {
  28753. break
  28754. }
  28755. }
  28756. if msglen < 0 {
  28757. return ErrInvalidLengthGenerated
  28758. }
  28759. postIndex := iNdEx + msglen
  28760. if postIndex > l {
  28761. return io.ErrUnexpectedEOF
  28762. }
  28763. if m.HostPath == nil {
  28764. m.HostPath = &HostPathVolumeSource{}
  28765. }
  28766. if err := m.HostPath.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28767. return err
  28768. }
  28769. iNdEx = postIndex
  28770. case 4:
  28771. if wireType != 2 {
  28772. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  28773. }
  28774. var msglen int
  28775. for shift := uint(0); ; shift += 7 {
  28776. if shift >= 64 {
  28777. return ErrIntOverflowGenerated
  28778. }
  28779. if iNdEx >= l {
  28780. return io.ErrUnexpectedEOF
  28781. }
  28782. b := data[iNdEx]
  28783. iNdEx++
  28784. msglen |= (int(b) & 0x7F) << shift
  28785. if b < 0x80 {
  28786. break
  28787. }
  28788. }
  28789. if msglen < 0 {
  28790. return ErrInvalidLengthGenerated
  28791. }
  28792. postIndex := iNdEx + msglen
  28793. if postIndex > l {
  28794. return io.ErrUnexpectedEOF
  28795. }
  28796. if m.Glusterfs == nil {
  28797. m.Glusterfs = &GlusterfsVolumeSource{}
  28798. }
  28799. if err := m.Glusterfs.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28800. return err
  28801. }
  28802. iNdEx = postIndex
  28803. case 5:
  28804. if wireType != 2 {
  28805. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  28806. }
  28807. var msglen int
  28808. for shift := uint(0); ; shift += 7 {
  28809. if shift >= 64 {
  28810. return ErrIntOverflowGenerated
  28811. }
  28812. if iNdEx >= l {
  28813. return io.ErrUnexpectedEOF
  28814. }
  28815. b := data[iNdEx]
  28816. iNdEx++
  28817. msglen |= (int(b) & 0x7F) << shift
  28818. if b < 0x80 {
  28819. break
  28820. }
  28821. }
  28822. if msglen < 0 {
  28823. return ErrInvalidLengthGenerated
  28824. }
  28825. postIndex := iNdEx + msglen
  28826. if postIndex > l {
  28827. return io.ErrUnexpectedEOF
  28828. }
  28829. if m.NFS == nil {
  28830. m.NFS = &NFSVolumeSource{}
  28831. }
  28832. if err := m.NFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28833. return err
  28834. }
  28835. iNdEx = postIndex
  28836. case 6:
  28837. if wireType != 2 {
  28838. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  28839. }
  28840. var msglen int
  28841. for shift := uint(0); ; shift += 7 {
  28842. if shift >= 64 {
  28843. return ErrIntOverflowGenerated
  28844. }
  28845. if iNdEx >= l {
  28846. return io.ErrUnexpectedEOF
  28847. }
  28848. b := data[iNdEx]
  28849. iNdEx++
  28850. msglen |= (int(b) & 0x7F) << shift
  28851. if b < 0x80 {
  28852. break
  28853. }
  28854. }
  28855. if msglen < 0 {
  28856. return ErrInvalidLengthGenerated
  28857. }
  28858. postIndex := iNdEx + msglen
  28859. if postIndex > l {
  28860. return io.ErrUnexpectedEOF
  28861. }
  28862. if m.RBD == nil {
  28863. m.RBD = &RBDVolumeSource{}
  28864. }
  28865. if err := m.RBD.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28866. return err
  28867. }
  28868. iNdEx = postIndex
  28869. case 7:
  28870. if wireType != 2 {
  28871. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  28872. }
  28873. var msglen int
  28874. for shift := uint(0); ; shift += 7 {
  28875. if shift >= 64 {
  28876. return ErrIntOverflowGenerated
  28877. }
  28878. if iNdEx >= l {
  28879. return io.ErrUnexpectedEOF
  28880. }
  28881. b := data[iNdEx]
  28882. iNdEx++
  28883. msglen |= (int(b) & 0x7F) << shift
  28884. if b < 0x80 {
  28885. break
  28886. }
  28887. }
  28888. if msglen < 0 {
  28889. return ErrInvalidLengthGenerated
  28890. }
  28891. postIndex := iNdEx + msglen
  28892. if postIndex > l {
  28893. return io.ErrUnexpectedEOF
  28894. }
  28895. if m.ISCSI == nil {
  28896. m.ISCSI = &ISCSIVolumeSource{}
  28897. }
  28898. if err := m.ISCSI.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28899. return err
  28900. }
  28901. iNdEx = postIndex
  28902. case 8:
  28903. if wireType != 2 {
  28904. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  28905. }
  28906. var msglen int
  28907. for shift := uint(0); ; shift += 7 {
  28908. if shift >= 64 {
  28909. return ErrIntOverflowGenerated
  28910. }
  28911. if iNdEx >= l {
  28912. return io.ErrUnexpectedEOF
  28913. }
  28914. b := data[iNdEx]
  28915. iNdEx++
  28916. msglen |= (int(b) & 0x7F) << shift
  28917. if b < 0x80 {
  28918. break
  28919. }
  28920. }
  28921. if msglen < 0 {
  28922. return ErrInvalidLengthGenerated
  28923. }
  28924. postIndex := iNdEx + msglen
  28925. if postIndex > l {
  28926. return io.ErrUnexpectedEOF
  28927. }
  28928. if m.Cinder == nil {
  28929. m.Cinder = &CinderVolumeSource{}
  28930. }
  28931. if err := m.Cinder.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28932. return err
  28933. }
  28934. iNdEx = postIndex
  28935. case 9:
  28936. if wireType != 2 {
  28937. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  28938. }
  28939. var msglen 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. msglen |= (int(b) & 0x7F) << shift
  28950. if b < 0x80 {
  28951. break
  28952. }
  28953. }
  28954. if msglen < 0 {
  28955. return ErrInvalidLengthGenerated
  28956. }
  28957. postIndex := iNdEx + msglen
  28958. if postIndex > l {
  28959. return io.ErrUnexpectedEOF
  28960. }
  28961. if m.CephFS == nil {
  28962. m.CephFS = &CephFSVolumeSource{}
  28963. }
  28964. if err := m.CephFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28965. return err
  28966. }
  28967. iNdEx = postIndex
  28968. case 10:
  28969. if wireType != 2 {
  28970. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  28971. }
  28972. var msglen int
  28973. for shift := uint(0); ; shift += 7 {
  28974. if shift >= 64 {
  28975. return ErrIntOverflowGenerated
  28976. }
  28977. if iNdEx >= l {
  28978. return io.ErrUnexpectedEOF
  28979. }
  28980. b := data[iNdEx]
  28981. iNdEx++
  28982. msglen |= (int(b) & 0x7F) << shift
  28983. if b < 0x80 {
  28984. break
  28985. }
  28986. }
  28987. if msglen < 0 {
  28988. return ErrInvalidLengthGenerated
  28989. }
  28990. postIndex := iNdEx + msglen
  28991. if postIndex > l {
  28992. return io.ErrUnexpectedEOF
  28993. }
  28994. if m.FC == nil {
  28995. m.FC = &FCVolumeSource{}
  28996. }
  28997. if err := m.FC.Unmarshal(data[iNdEx:postIndex]); err != nil {
  28998. return err
  28999. }
  29000. iNdEx = postIndex
  29001. case 11:
  29002. if wireType != 2 {
  29003. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  29004. }
  29005. var msglen int
  29006. for shift := uint(0); ; shift += 7 {
  29007. if shift >= 64 {
  29008. return ErrIntOverflowGenerated
  29009. }
  29010. if iNdEx >= l {
  29011. return io.ErrUnexpectedEOF
  29012. }
  29013. b := data[iNdEx]
  29014. iNdEx++
  29015. msglen |= (int(b) & 0x7F) << shift
  29016. if b < 0x80 {
  29017. break
  29018. }
  29019. }
  29020. if msglen < 0 {
  29021. return ErrInvalidLengthGenerated
  29022. }
  29023. postIndex := iNdEx + msglen
  29024. if postIndex > l {
  29025. return io.ErrUnexpectedEOF
  29026. }
  29027. if m.Flocker == nil {
  29028. m.Flocker = &FlockerVolumeSource{}
  29029. }
  29030. if err := m.Flocker.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29031. return err
  29032. }
  29033. iNdEx = postIndex
  29034. case 12:
  29035. if wireType != 2 {
  29036. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  29037. }
  29038. var msglen int
  29039. for shift := uint(0); ; shift += 7 {
  29040. if shift >= 64 {
  29041. return ErrIntOverflowGenerated
  29042. }
  29043. if iNdEx >= l {
  29044. return io.ErrUnexpectedEOF
  29045. }
  29046. b := data[iNdEx]
  29047. iNdEx++
  29048. msglen |= (int(b) & 0x7F) << shift
  29049. if b < 0x80 {
  29050. break
  29051. }
  29052. }
  29053. if msglen < 0 {
  29054. return ErrInvalidLengthGenerated
  29055. }
  29056. postIndex := iNdEx + msglen
  29057. if postIndex > l {
  29058. return io.ErrUnexpectedEOF
  29059. }
  29060. if m.FlexVolume == nil {
  29061. m.FlexVolume = &FlexVolumeSource{}
  29062. }
  29063. if err := m.FlexVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29064. return err
  29065. }
  29066. iNdEx = postIndex
  29067. case 13:
  29068. if wireType != 2 {
  29069. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  29070. }
  29071. var msglen int
  29072. for shift := uint(0); ; shift += 7 {
  29073. if shift >= 64 {
  29074. return ErrIntOverflowGenerated
  29075. }
  29076. if iNdEx >= l {
  29077. return io.ErrUnexpectedEOF
  29078. }
  29079. b := data[iNdEx]
  29080. iNdEx++
  29081. msglen |= (int(b) & 0x7F) << shift
  29082. if b < 0x80 {
  29083. break
  29084. }
  29085. }
  29086. if msglen < 0 {
  29087. return ErrInvalidLengthGenerated
  29088. }
  29089. postIndex := iNdEx + msglen
  29090. if postIndex > l {
  29091. return io.ErrUnexpectedEOF
  29092. }
  29093. if m.AzureFile == nil {
  29094. m.AzureFile = &AzureFileVolumeSource{}
  29095. }
  29096. if err := m.AzureFile.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29097. return err
  29098. }
  29099. iNdEx = postIndex
  29100. case 14:
  29101. if wireType != 2 {
  29102. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  29103. }
  29104. var msglen int
  29105. for shift := uint(0); ; shift += 7 {
  29106. if shift >= 64 {
  29107. return ErrIntOverflowGenerated
  29108. }
  29109. if iNdEx >= l {
  29110. return io.ErrUnexpectedEOF
  29111. }
  29112. b := data[iNdEx]
  29113. iNdEx++
  29114. msglen |= (int(b) & 0x7F) << shift
  29115. if b < 0x80 {
  29116. break
  29117. }
  29118. }
  29119. if msglen < 0 {
  29120. return ErrInvalidLengthGenerated
  29121. }
  29122. postIndex := iNdEx + msglen
  29123. if postIndex > l {
  29124. return io.ErrUnexpectedEOF
  29125. }
  29126. if m.VsphereVolume == nil {
  29127. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  29128. }
  29129. if err := m.VsphereVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29130. return err
  29131. }
  29132. iNdEx = postIndex
  29133. case 15:
  29134. if wireType != 2 {
  29135. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  29136. }
  29137. var msglen int
  29138. for shift := uint(0); ; shift += 7 {
  29139. if shift >= 64 {
  29140. return ErrIntOverflowGenerated
  29141. }
  29142. if iNdEx >= l {
  29143. return io.ErrUnexpectedEOF
  29144. }
  29145. b := data[iNdEx]
  29146. iNdEx++
  29147. msglen |= (int(b) & 0x7F) << shift
  29148. if b < 0x80 {
  29149. break
  29150. }
  29151. }
  29152. if msglen < 0 {
  29153. return ErrInvalidLengthGenerated
  29154. }
  29155. postIndex := iNdEx + msglen
  29156. if postIndex > l {
  29157. return io.ErrUnexpectedEOF
  29158. }
  29159. if m.Quobyte == nil {
  29160. m.Quobyte = &QuobyteVolumeSource{}
  29161. }
  29162. if err := m.Quobyte.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29163. return err
  29164. }
  29165. iNdEx = postIndex
  29166. case 16:
  29167. if wireType != 2 {
  29168. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  29169. }
  29170. var msglen int
  29171. for shift := uint(0); ; shift += 7 {
  29172. if shift >= 64 {
  29173. return ErrIntOverflowGenerated
  29174. }
  29175. if iNdEx >= l {
  29176. return io.ErrUnexpectedEOF
  29177. }
  29178. b := data[iNdEx]
  29179. iNdEx++
  29180. msglen |= (int(b) & 0x7F) << shift
  29181. if b < 0x80 {
  29182. break
  29183. }
  29184. }
  29185. if msglen < 0 {
  29186. return ErrInvalidLengthGenerated
  29187. }
  29188. postIndex := iNdEx + msglen
  29189. if postIndex > l {
  29190. return io.ErrUnexpectedEOF
  29191. }
  29192. if m.AzureDisk == nil {
  29193. m.AzureDisk = &AzureDiskVolumeSource{}
  29194. }
  29195. if err := m.AzureDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29196. return err
  29197. }
  29198. iNdEx = postIndex
  29199. case 17:
  29200. if wireType != 2 {
  29201. return fmt.Errorf("proto: wrong wireType = %d for field PhotonPersistentDisk", wireType)
  29202. }
  29203. var msglen int
  29204. for shift := uint(0); ; shift += 7 {
  29205. if shift >= 64 {
  29206. return ErrIntOverflowGenerated
  29207. }
  29208. if iNdEx >= l {
  29209. return io.ErrUnexpectedEOF
  29210. }
  29211. b := data[iNdEx]
  29212. iNdEx++
  29213. msglen |= (int(b) & 0x7F) << shift
  29214. if b < 0x80 {
  29215. break
  29216. }
  29217. }
  29218. if msglen < 0 {
  29219. return ErrInvalidLengthGenerated
  29220. }
  29221. postIndex := iNdEx + msglen
  29222. if postIndex > l {
  29223. return io.ErrUnexpectedEOF
  29224. }
  29225. if m.PhotonPersistentDisk == nil {
  29226. m.PhotonPersistentDisk = &PhotonPersistentDiskVolumeSource{}
  29227. }
  29228. if err := m.PhotonPersistentDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29229. return err
  29230. }
  29231. iNdEx = postIndex
  29232. case 18:
  29233. if wireType != 2 {
  29234. return fmt.Errorf("proto: wrong wireType = %d for field PortworxVolume", wireType)
  29235. }
  29236. var msglen int
  29237. for shift := uint(0); ; shift += 7 {
  29238. if shift >= 64 {
  29239. return ErrIntOverflowGenerated
  29240. }
  29241. if iNdEx >= l {
  29242. return io.ErrUnexpectedEOF
  29243. }
  29244. b := data[iNdEx]
  29245. iNdEx++
  29246. msglen |= (int(b) & 0x7F) << shift
  29247. if b < 0x80 {
  29248. break
  29249. }
  29250. }
  29251. if msglen < 0 {
  29252. return ErrInvalidLengthGenerated
  29253. }
  29254. postIndex := iNdEx + msglen
  29255. if postIndex > l {
  29256. return io.ErrUnexpectedEOF
  29257. }
  29258. if m.PortworxVolume == nil {
  29259. m.PortworxVolume = &PortworxVolumeSource{}
  29260. }
  29261. if err := m.PortworxVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29262. return err
  29263. }
  29264. iNdEx = postIndex
  29265. case 19:
  29266. if wireType != 2 {
  29267. return fmt.Errorf("proto: wrong wireType = %d for field ScaleIO", wireType)
  29268. }
  29269. var msglen int
  29270. for shift := uint(0); ; shift += 7 {
  29271. if shift >= 64 {
  29272. return ErrIntOverflowGenerated
  29273. }
  29274. if iNdEx >= l {
  29275. return io.ErrUnexpectedEOF
  29276. }
  29277. b := data[iNdEx]
  29278. iNdEx++
  29279. msglen |= (int(b) & 0x7F) << shift
  29280. if b < 0x80 {
  29281. break
  29282. }
  29283. }
  29284. if msglen < 0 {
  29285. return ErrInvalidLengthGenerated
  29286. }
  29287. postIndex := iNdEx + msglen
  29288. if postIndex > l {
  29289. return io.ErrUnexpectedEOF
  29290. }
  29291. if m.ScaleIO == nil {
  29292. m.ScaleIO = &ScaleIOVolumeSource{}
  29293. }
  29294. if err := m.ScaleIO.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29295. return err
  29296. }
  29297. iNdEx = postIndex
  29298. default:
  29299. iNdEx = preIndex
  29300. skippy, err := skipGenerated(data[iNdEx:])
  29301. if err != nil {
  29302. return err
  29303. }
  29304. if skippy < 0 {
  29305. return ErrInvalidLengthGenerated
  29306. }
  29307. if (iNdEx + skippy) > l {
  29308. return io.ErrUnexpectedEOF
  29309. }
  29310. iNdEx += skippy
  29311. }
  29312. }
  29313. if iNdEx > l {
  29314. return io.ErrUnexpectedEOF
  29315. }
  29316. return nil
  29317. }
  29318. func (m *PersistentVolumeSpec) Unmarshal(data []byte) error {
  29319. l := len(data)
  29320. iNdEx := 0
  29321. for iNdEx < l {
  29322. preIndex := iNdEx
  29323. var wire uint64
  29324. for shift := uint(0); ; shift += 7 {
  29325. if shift >= 64 {
  29326. return ErrIntOverflowGenerated
  29327. }
  29328. if iNdEx >= l {
  29329. return io.ErrUnexpectedEOF
  29330. }
  29331. b := data[iNdEx]
  29332. iNdEx++
  29333. wire |= (uint64(b) & 0x7F) << shift
  29334. if b < 0x80 {
  29335. break
  29336. }
  29337. }
  29338. fieldNum := int32(wire >> 3)
  29339. wireType := int(wire & 0x7)
  29340. if wireType == 4 {
  29341. return fmt.Errorf("proto: PersistentVolumeSpec: wiretype end group for non-group")
  29342. }
  29343. if fieldNum <= 0 {
  29344. return fmt.Errorf("proto: PersistentVolumeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  29345. }
  29346. switch fieldNum {
  29347. case 1:
  29348. if wireType != 2 {
  29349. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  29350. }
  29351. var msglen int
  29352. for shift := uint(0); ; shift += 7 {
  29353. if shift >= 64 {
  29354. return ErrIntOverflowGenerated
  29355. }
  29356. if iNdEx >= l {
  29357. return io.ErrUnexpectedEOF
  29358. }
  29359. b := data[iNdEx]
  29360. iNdEx++
  29361. msglen |= (int(b) & 0x7F) << shift
  29362. if b < 0x80 {
  29363. break
  29364. }
  29365. }
  29366. if msglen < 0 {
  29367. return ErrInvalidLengthGenerated
  29368. }
  29369. postIndex := iNdEx + msglen
  29370. if postIndex > l {
  29371. return io.ErrUnexpectedEOF
  29372. }
  29373. var keykey uint64
  29374. for shift := uint(0); ; shift += 7 {
  29375. if shift >= 64 {
  29376. return ErrIntOverflowGenerated
  29377. }
  29378. if iNdEx >= l {
  29379. return io.ErrUnexpectedEOF
  29380. }
  29381. b := data[iNdEx]
  29382. iNdEx++
  29383. keykey |= (uint64(b) & 0x7F) << shift
  29384. if b < 0x80 {
  29385. break
  29386. }
  29387. }
  29388. var stringLenmapkey uint64
  29389. for shift := uint(0); ; shift += 7 {
  29390. if shift >= 64 {
  29391. return ErrIntOverflowGenerated
  29392. }
  29393. if iNdEx >= l {
  29394. return io.ErrUnexpectedEOF
  29395. }
  29396. b := data[iNdEx]
  29397. iNdEx++
  29398. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  29399. if b < 0x80 {
  29400. break
  29401. }
  29402. }
  29403. intStringLenmapkey := int(stringLenmapkey)
  29404. if intStringLenmapkey < 0 {
  29405. return ErrInvalidLengthGenerated
  29406. }
  29407. postStringIndexmapkey := iNdEx + intStringLenmapkey
  29408. if postStringIndexmapkey > l {
  29409. return io.ErrUnexpectedEOF
  29410. }
  29411. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  29412. iNdEx = postStringIndexmapkey
  29413. var valuekey uint64
  29414. for shift := uint(0); ; shift += 7 {
  29415. if shift >= 64 {
  29416. return ErrIntOverflowGenerated
  29417. }
  29418. if iNdEx >= l {
  29419. return io.ErrUnexpectedEOF
  29420. }
  29421. b := data[iNdEx]
  29422. iNdEx++
  29423. valuekey |= (uint64(b) & 0x7F) << shift
  29424. if b < 0x80 {
  29425. break
  29426. }
  29427. }
  29428. var mapmsglen int
  29429. for shift := uint(0); ; shift += 7 {
  29430. if shift >= 64 {
  29431. return ErrIntOverflowGenerated
  29432. }
  29433. if iNdEx >= l {
  29434. return io.ErrUnexpectedEOF
  29435. }
  29436. b := data[iNdEx]
  29437. iNdEx++
  29438. mapmsglen |= (int(b) & 0x7F) << shift
  29439. if b < 0x80 {
  29440. break
  29441. }
  29442. }
  29443. if mapmsglen < 0 {
  29444. return ErrInvalidLengthGenerated
  29445. }
  29446. postmsgIndex := iNdEx + mapmsglen
  29447. if mapmsglen < 0 {
  29448. return ErrInvalidLengthGenerated
  29449. }
  29450. if postmsgIndex > l {
  29451. return io.ErrUnexpectedEOF
  29452. }
  29453. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  29454. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  29455. return err
  29456. }
  29457. iNdEx = postmsgIndex
  29458. if m.Capacity == nil {
  29459. m.Capacity = make(ResourceList)
  29460. }
  29461. m.Capacity[ResourceName(mapkey)] = *mapvalue
  29462. iNdEx = postIndex
  29463. case 2:
  29464. if wireType != 2 {
  29465. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeSource", wireType)
  29466. }
  29467. var msglen int
  29468. for shift := uint(0); ; shift += 7 {
  29469. if shift >= 64 {
  29470. return ErrIntOverflowGenerated
  29471. }
  29472. if iNdEx >= l {
  29473. return io.ErrUnexpectedEOF
  29474. }
  29475. b := data[iNdEx]
  29476. iNdEx++
  29477. msglen |= (int(b) & 0x7F) << shift
  29478. if b < 0x80 {
  29479. break
  29480. }
  29481. }
  29482. if msglen < 0 {
  29483. return ErrInvalidLengthGenerated
  29484. }
  29485. postIndex := iNdEx + msglen
  29486. if postIndex > l {
  29487. return io.ErrUnexpectedEOF
  29488. }
  29489. if err := m.PersistentVolumeSource.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29490. return err
  29491. }
  29492. iNdEx = postIndex
  29493. case 3:
  29494. if wireType != 2 {
  29495. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  29496. }
  29497. var stringLen uint64
  29498. for shift := uint(0); ; shift += 7 {
  29499. if shift >= 64 {
  29500. return ErrIntOverflowGenerated
  29501. }
  29502. if iNdEx >= l {
  29503. return io.ErrUnexpectedEOF
  29504. }
  29505. b := data[iNdEx]
  29506. iNdEx++
  29507. stringLen |= (uint64(b) & 0x7F) << shift
  29508. if b < 0x80 {
  29509. break
  29510. }
  29511. }
  29512. intStringLen := int(stringLen)
  29513. if intStringLen < 0 {
  29514. return ErrInvalidLengthGenerated
  29515. }
  29516. postIndex := iNdEx + intStringLen
  29517. if postIndex > l {
  29518. return io.ErrUnexpectedEOF
  29519. }
  29520. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(data[iNdEx:postIndex]))
  29521. iNdEx = postIndex
  29522. case 4:
  29523. if wireType != 2 {
  29524. return fmt.Errorf("proto: wrong wireType = %d for field ClaimRef", wireType)
  29525. }
  29526. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  29537. if b < 0x80 {
  29538. break
  29539. }
  29540. }
  29541. if msglen < 0 {
  29542. return ErrInvalidLengthGenerated
  29543. }
  29544. postIndex := iNdEx + msglen
  29545. if postIndex > l {
  29546. return io.ErrUnexpectedEOF
  29547. }
  29548. if m.ClaimRef == nil {
  29549. m.ClaimRef = &ObjectReference{}
  29550. }
  29551. if err := m.ClaimRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29552. return err
  29553. }
  29554. iNdEx = postIndex
  29555. case 5:
  29556. if wireType != 2 {
  29557. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeReclaimPolicy", wireType)
  29558. }
  29559. var stringLen uint64
  29560. for shift := uint(0); ; shift += 7 {
  29561. if shift >= 64 {
  29562. return ErrIntOverflowGenerated
  29563. }
  29564. if iNdEx >= l {
  29565. return io.ErrUnexpectedEOF
  29566. }
  29567. b := data[iNdEx]
  29568. iNdEx++
  29569. stringLen |= (uint64(b) & 0x7F) << shift
  29570. if b < 0x80 {
  29571. break
  29572. }
  29573. }
  29574. intStringLen := int(stringLen)
  29575. if intStringLen < 0 {
  29576. return ErrInvalidLengthGenerated
  29577. }
  29578. postIndex := iNdEx + intStringLen
  29579. if postIndex > l {
  29580. return io.ErrUnexpectedEOF
  29581. }
  29582. m.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(data[iNdEx:postIndex])
  29583. iNdEx = postIndex
  29584. case 6:
  29585. if wireType != 2 {
  29586. return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType)
  29587. }
  29588. var stringLen uint64
  29589. for shift := uint(0); ; shift += 7 {
  29590. if shift >= 64 {
  29591. return ErrIntOverflowGenerated
  29592. }
  29593. if iNdEx >= l {
  29594. return io.ErrUnexpectedEOF
  29595. }
  29596. b := data[iNdEx]
  29597. iNdEx++
  29598. stringLen |= (uint64(b) & 0x7F) << shift
  29599. if b < 0x80 {
  29600. break
  29601. }
  29602. }
  29603. intStringLen := int(stringLen)
  29604. if intStringLen < 0 {
  29605. return ErrInvalidLengthGenerated
  29606. }
  29607. postIndex := iNdEx + intStringLen
  29608. if postIndex > l {
  29609. return io.ErrUnexpectedEOF
  29610. }
  29611. m.StorageClassName = string(data[iNdEx:postIndex])
  29612. iNdEx = postIndex
  29613. default:
  29614. iNdEx = preIndex
  29615. skippy, err := skipGenerated(data[iNdEx:])
  29616. if err != nil {
  29617. return err
  29618. }
  29619. if skippy < 0 {
  29620. return ErrInvalidLengthGenerated
  29621. }
  29622. if (iNdEx + skippy) > l {
  29623. return io.ErrUnexpectedEOF
  29624. }
  29625. iNdEx += skippy
  29626. }
  29627. }
  29628. if iNdEx > l {
  29629. return io.ErrUnexpectedEOF
  29630. }
  29631. return nil
  29632. }
  29633. func (m *PersistentVolumeStatus) Unmarshal(data []byte) error {
  29634. l := len(data)
  29635. iNdEx := 0
  29636. for iNdEx < l {
  29637. preIndex := iNdEx
  29638. var wire uint64
  29639. for shift := uint(0); ; shift += 7 {
  29640. if shift >= 64 {
  29641. return ErrIntOverflowGenerated
  29642. }
  29643. if iNdEx >= l {
  29644. return io.ErrUnexpectedEOF
  29645. }
  29646. b := data[iNdEx]
  29647. iNdEx++
  29648. wire |= (uint64(b) & 0x7F) << shift
  29649. if b < 0x80 {
  29650. break
  29651. }
  29652. }
  29653. fieldNum := int32(wire >> 3)
  29654. wireType := int(wire & 0x7)
  29655. if wireType == 4 {
  29656. return fmt.Errorf("proto: PersistentVolumeStatus: wiretype end group for non-group")
  29657. }
  29658. if fieldNum <= 0 {
  29659. return fmt.Errorf("proto: PersistentVolumeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  29660. }
  29661. switch fieldNum {
  29662. case 1:
  29663. if wireType != 2 {
  29664. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  29665. }
  29666. var stringLen uint64
  29667. for shift := uint(0); ; shift += 7 {
  29668. if shift >= 64 {
  29669. return ErrIntOverflowGenerated
  29670. }
  29671. if iNdEx >= l {
  29672. return io.ErrUnexpectedEOF
  29673. }
  29674. b := data[iNdEx]
  29675. iNdEx++
  29676. stringLen |= (uint64(b) & 0x7F) << shift
  29677. if b < 0x80 {
  29678. break
  29679. }
  29680. }
  29681. intStringLen := int(stringLen)
  29682. if intStringLen < 0 {
  29683. return ErrInvalidLengthGenerated
  29684. }
  29685. postIndex := iNdEx + intStringLen
  29686. if postIndex > l {
  29687. return io.ErrUnexpectedEOF
  29688. }
  29689. m.Phase = PersistentVolumePhase(data[iNdEx:postIndex])
  29690. iNdEx = postIndex
  29691. case 2:
  29692. if wireType != 2 {
  29693. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  29694. }
  29695. var stringLen uint64
  29696. for shift := uint(0); ; shift += 7 {
  29697. if shift >= 64 {
  29698. return ErrIntOverflowGenerated
  29699. }
  29700. if iNdEx >= l {
  29701. return io.ErrUnexpectedEOF
  29702. }
  29703. b := data[iNdEx]
  29704. iNdEx++
  29705. stringLen |= (uint64(b) & 0x7F) << shift
  29706. if b < 0x80 {
  29707. break
  29708. }
  29709. }
  29710. intStringLen := int(stringLen)
  29711. if intStringLen < 0 {
  29712. return ErrInvalidLengthGenerated
  29713. }
  29714. postIndex := iNdEx + intStringLen
  29715. if postIndex > l {
  29716. return io.ErrUnexpectedEOF
  29717. }
  29718. m.Message = string(data[iNdEx:postIndex])
  29719. iNdEx = postIndex
  29720. case 3:
  29721. if wireType != 2 {
  29722. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  29723. }
  29724. var stringLen uint64
  29725. for shift := uint(0); ; shift += 7 {
  29726. if shift >= 64 {
  29727. return ErrIntOverflowGenerated
  29728. }
  29729. if iNdEx >= l {
  29730. return io.ErrUnexpectedEOF
  29731. }
  29732. b := data[iNdEx]
  29733. iNdEx++
  29734. stringLen |= (uint64(b) & 0x7F) << shift
  29735. if b < 0x80 {
  29736. break
  29737. }
  29738. }
  29739. intStringLen := int(stringLen)
  29740. if intStringLen < 0 {
  29741. return ErrInvalidLengthGenerated
  29742. }
  29743. postIndex := iNdEx + intStringLen
  29744. if postIndex > l {
  29745. return io.ErrUnexpectedEOF
  29746. }
  29747. m.Reason = string(data[iNdEx:postIndex])
  29748. iNdEx = postIndex
  29749. default:
  29750. iNdEx = preIndex
  29751. skippy, err := skipGenerated(data[iNdEx:])
  29752. if err != nil {
  29753. return err
  29754. }
  29755. if skippy < 0 {
  29756. return ErrInvalidLengthGenerated
  29757. }
  29758. if (iNdEx + skippy) > l {
  29759. return io.ErrUnexpectedEOF
  29760. }
  29761. iNdEx += skippy
  29762. }
  29763. }
  29764. if iNdEx > l {
  29765. return io.ErrUnexpectedEOF
  29766. }
  29767. return nil
  29768. }
  29769. func (m *PhotonPersistentDiskVolumeSource) Unmarshal(data []byte) error {
  29770. l := len(data)
  29771. iNdEx := 0
  29772. for iNdEx < l {
  29773. preIndex := iNdEx
  29774. var wire uint64
  29775. for shift := uint(0); ; shift += 7 {
  29776. if shift >= 64 {
  29777. return ErrIntOverflowGenerated
  29778. }
  29779. if iNdEx >= l {
  29780. return io.ErrUnexpectedEOF
  29781. }
  29782. b := data[iNdEx]
  29783. iNdEx++
  29784. wire |= (uint64(b) & 0x7F) << shift
  29785. if b < 0x80 {
  29786. break
  29787. }
  29788. }
  29789. fieldNum := int32(wire >> 3)
  29790. wireType := int(wire & 0x7)
  29791. if wireType == 4 {
  29792. return fmt.Errorf("proto: PhotonPersistentDiskVolumeSource: wiretype end group for non-group")
  29793. }
  29794. if fieldNum <= 0 {
  29795. return fmt.Errorf("proto: PhotonPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  29796. }
  29797. switch fieldNum {
  29798. case 1:
  29799. if wireType != 2 {
  29800. return fmt.Errorf("proto: wrong wireType = %d for field PdID", wireType)
  29801. }
  29802. var stringLen uint64
  29803. for shift := uint(0); ; shift += 7 {
  29804. if shift >= 64 {
  29805. return ErrIntOverflowGenerated
  29806. }
  29807. if iNdEx >= l {
  29808. return io.ErrUnexpectedEOF
  29809. }
  29810. b := data[iNdEx]
  29811. iNdEx++
  29812. stringLen |= (uint64(b) & 0x7F) << shift
  29813. if b < 0x80 {
  29814. break
  29815. }
  29816. }
  29817. intStringLen := int(stringLen)
  29818. if intStringLen < 0 {
  29819. return ErrInvalidLengthGenerated
  29820. }
  29821. postIndex := iNdEx + intStringLen
  29822. if postIndex > l {
  29823. return io.ErrUnexpectedEOF
  29824. }
  29825. m.PdID = string(data[iNdEx:postIndex])
  29826. iNdEx = postIndex
  29827. case 2:
  29828. if wireType != 2 {
  29829. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  29830. }
  29831. var stringLen uint64
  29832. for shift := uint(0); ; shift += 7 {
  29833. if shift >= 64 {
  29834. return ErrIntOverflowGenerated
  29835. }
  29836. if iNdEx >= l {
  29837. return io.ErrUnexpectedEOF
  29838. }
  29839. b := data[iNdEx]
  29840. iNdEx++
  29841. stringLen |= (uint64(b) & 0x7F) << shift
  29842. if b < 0x80 {
  29843. break
  29844. }
  29845. }
  29846. intStringLen := int(stringLen)
  29847. if intStringLen < 0 {
  29848. return ErrInvalidLengthGenerated
  29849. }
  29850. postIndex := iNdEx + intStringLen
  29851. if postIndex > l {
  29852. return io.ErrUnexpectedEOF
  29853. }
  29854. m.FSType = string(data[iNdEx:postIndex])
  29855. iNdEx = postIndex
  29856. default:
  29857. iNdEx = preIndex
  29858. skippy, err := skipGenerated(data[iNdEx:])
  29859. if err != nil {
  29860. return err
  29861. }
  29862. if skippy < 0 {
  29863. return ErrInvalidLengthGenerated
  29864. }
  29865. if (iNdEx + skippy) > l {
  29866. return io.ErrUnexpectedEOF
  29867. }
  29868. iNdEx += skippy
  29869. }
  29870. }
  29871. if iNdEx > l {
  29872. return io.ErrUnexpectedEOF
  29873. }
  29874. return nil
  29875. }
  29876. func (m *Pod) Unmarshal(data []byte) error {
  29877. l := len(data)
  29878. iNdEx := 0
  29879. for iNdEx < l {
  29880. preIndex := iNdEx
  29881. var wire uint64
  29882. for shift := uint(0); ; shift += 7 {
  29883. if shift >= 64 {
  29884. return ErrIntOverflowGenerated
  29885. }
  29886. if iNdEx >= l {
  29887. return io.ErrUnexpectedEOF
  29888. }
  29889. b := data[iNdEx]
  29890. iNdEx++
  29891. wire |= (uint64(b) & 0x7F) << shift
  29892. if b < 0x80 {
  29893. break
  29894. }
  29895. }
  29896. fieldNum := int32(wire >> 3)
  29897. wireType := int(wire & 0x7)
  29898. if wireType == 4 {
  29899. return fmt.Errorf("proto: Pod: wiretype end group for non-group")
  29900. }
  29901. if fieldNum <= 0 {
  29902. return fmt.Errorf("proto: Pod: illegal tag %d (wire type %d)", fieldNum, wire)
  29903. }
  29904. switch fieldNum {
  29905. case 1:
  29906. if wireType != 2 {
  29907. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  29908. }
  29909. var msglen int
  29910. for shift := uint(0); ; shift += 7 {
  29911. if shift >= 64 {
  29912. return ErrIntOverflowGenerated
  29913. }
  29914. if iNdEx >= l {
  29915. return io.ErrUnexpectedEOF
  29916. }
  29917. b := data[iNdEx]
  29918. iNdEx++
  29919. msglen |= (int(b) & 0x7F) << shift
  29920. if b < 0x80 {
  29921. break
  29922. }
  29923. }
  29924. if msglen < 0 {
  29925. return ErrInvalidLengthGenerated
  29926. }
  29927. postIndex := iNdEx + msglen
  29928. if postIndex > l {
  29929. return io.ErrUnexpectedEOF
  29930. }
  29931. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29932. return err
  29933. }
  29934. iNdEx = postIndex
  29935. case 2:
  29936. if wireType != 2 {
  29937. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  29938. }
  29939. var msglen int
  29940. for shift := uint(0); ; shift += 7 {
  29941. if shift >= 64 {
  29942. return ErrIntOverflowGenerated
  29943. }
  29944. if iNdEx >= l {
  29945. return io.ErrUnexpectedEOF
  29946. }
  29947. b := data[iNdEx]
  29948. iNdEx++
  29949. msglen |= (int(b) & 0x7F) << shift
  29950. if b < 0x80 {
  29951. break
  29952. }
  29953. }
  29954. if msglen < 0 {
  29955. return ErrInvalidLengthGenerated
  29956. }
  29957. postIndex := iNdEx + msglen
  29958. if postIndex > l {
  29959. return io.ErrUnexpectedEOF
  29960. }
  29961. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29962. return err
  29963. }
  29964. iNdEx = postIndex
  29965. case 3:
  29966. if wireType != 2 {
  29967. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  29968. }
  29969. var msglen int
  29970. for shift := uint(0); ; shift += 7 {
  29971. if shift >= 64 {
  29972. return ErrIntOverflowGenerated
  29973. }
  29974. if iNdEx >= l {
  29975. return io.ErrUnexpectedEOF
  29976. }
  29977. b := data[iNdEx]
  29978. iNdEx++
  29979. msglen |= (int(b) & 0x7F) << shift
  29980. if b < 0x80 {
  29981. break
  29982. }
  29983. }
  29984. if msglen < 0 {
  29985. return ErrInvalidLengthGenerated
  29986. }
  29987. postIndex := iNdEx + msglen
  29988. if postIndex > l {
  29989. return io.ErrUnexpectedEOF
  29990. }
  29991. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  29992. return err
  29993. }
  29994. iNdEx = postIndex
  29995. default:
  29996. iNdEx = preIndex
  29997. skippy, err := skipGenerated(data[iNdEx:])
  29998. if err != nil {
  29999. return err
  30000. }
  30001. if skippy < 0 {
  30002. return ErrInvalidLengthGenerated
  30003. }
  30004. if (iNdEx + skippy) > l {
  30005. return io.ErrUnexpectedEOF
  30006. }
  30007. iNdEx += skippy
  30008. }
  30009. }
  30010. if iNdEx > l {
  30011. return io.ErrUnexpectedEOF
  30012. }
  30013. return nil
  30014. }
  30015. func (m *PodAffinity) Unmarshal(data []byte) error {
  30016. l := len(data)
  30017. iNdEx := 0
  30018. for iNdEx < l {
  30019. preIndex := iNdEx
  30020. var wire uint64
  30021. for shift := uint(0); ; shift += 7 {
  30022. if shift >= 64 {
  30023. return ErrIntOverflowGenerated
  30024. }
  30025. if iNdEx >= l {
  30026. return io.ErrUnexpectedEOF
  30027. }
  30028. b := data[iNdEx]
  30029. iNdEx++
  30030. wire |= (uint64(b) & 0x7F) << shift
  30031. if b < 0x80 {
  30032. break
  30033. }
  30034. }
  30035. fieldNum := int32(wire >> 3)
  30036. wireType := int(wire & 0x7)
  30037. if wireType == 4 {
  30038. return fmt.Errorf("proto: PodAffinity: wiretype end group for non-group")
  30039. }
  30040. if fieldNum <= 0 {
  30041. return fmt.Errorf("proto: PodAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  30042. }
  30043. switch fieldNum {
  30044. case 1:
  30045. if wireType != 2 {
  30046. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  30047. }
  30048. var msglen int
  30049. for shift := uint(0); ; shift += 7 {
  30050. if shift >= 64 {
  30051. return ErrIntOverflowGenerated
  30052. }
  30053. if iNdEx >= l {
  30054. return io.ErrUnexpectedEOF
  30055. }
  30056. b := data[iNdEx]
  30057. iNdEx++
  30058. msglen |= (int(b) & 0x7F) << shift
  30059. if b < 0x80 {
  30060. break
  30061. }
  30062. }
  30063. if msglen < 0 {
  30064. return ErrInvalidLengthGenerated
  30065. }
  30066. postIndex := iNdEx + msglen
  30067. if postIndex > l {
  30068. return io.ErrUnexpectedEOF
  30069. }
  30070. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  30071. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  30072. return err
  30073. }
  30074. iNdEx = postIndex
  30075. case 2:
  30076. if wireType != 2 {
  30077. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  30078. }
  30079. var msglen int
  30080. for shift := uint(0); ; shift += 7 {
  30081. if shift >= 64 {
  30082. return ErrIntOverflowGenerated
  30083. }
  30084. if iNdEx >= l {
  30085. return io.ErrUnexpectedEOF
  30086. }
  30087. b := data[iNdEx]
  30088. iNdEx++
  30089. msglen |= (int(b) & 0x7F) << shift
  30090. if b < 0x80 {
  30091. break
  30092. }
  30093. }
  30094. if msglen < 0 {
  30095. return ErrInvalidLengthGenerated
  30096. }
  30097. postIndex := iNdEx + msglen
  30098. if postIndex > l {
  30099. return io.ErrUnexpectedEOF
  30100. }
  30101. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  30102. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  30103. return err
  30104. }
  30105. iNdEx = postIndex
  30106. default:
  30107. iNdEx = preIndex
  30108. skippy, err := skipGenerated(data[iNdEx:])
  30109. if err != nil {
  30110. return err
  30111. }
  30112. if skippy < 0 {
  30113. return ErrInvalidLengthGenerated
  30114. }
  30115. if (iNdEx + skippy) > l {
  30116. return io.ErrUnexpectedEOF
  30117. }
  30118. iNdEx += skippy
  30119. }
  30120. }
  30121. if iNdEx > l {
  30122. return io.ErrUnexpectedEOF
  30123. }
  30124. return nil
  30125. }
  30126. func (m *PodAffinityTerm) Unmarshal(data []byte) error {
  30127. l := len(data)
  30128. iNdEx := 0
  30129. for iNdEx < l {
  30130. preIndex := iNdEx
  30131. var wire uint64
  30132. for shift := uint(0); ; shift += 7 {
  30133. if shift >= 64 {
  30134. return ErrIntOverflowGenerated
  30135. }
  30136. if iNdEx >= l {
  30137. return io.ErrUnexpectedEOF
  30138. }
  30139. b := data[iNdEx]
  30140. iNdEx++
  30141. wire |= (uint64(b) & 0x7F) << shift
  30142. if b < 0x80 {
  30143. break
  30144. }
  30145. }
  30146. fieldNum := int32(wire >> 3)
  30147. wireType := int(wire & 0x7)
  30148. if wireType == 4 {
  30149. return fmt.Errorf("proto: PodAffinityTerm: wiretype end group for non-group")
  30150. }
  30151. if fieldNum <= 0 {
  30152. return fmt.Errorf("proto: PodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  30153. }
  30154. switch fieldNum {
  30155. case 1:
  30156. if wireType != 2 {
  30157. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  30158. }
  30159. var msglen int
  30160. for shift := uint(0); ; shift += 7 {
  30161. if shift >= 64 {
  30162. return ErrIntOverflowGenerated
  30163. }
  30164. if iNdEx >= l {
  30165. return io.ErrUnexpectedEOF
  30166. }
  30167. b := data[iNdEx]
  30168. iNdEx++
  30169. msglen |= (int(b) & 0x7F) << shift
  30170. if b < 0x80 {
  30171. break
  30172. }
  30173. }
  30174. if msglen < 0 {
  30175. return ErrInvalidLengthGenerated
  30176. }
  30177. postIndex := iNdEx + msglen
  30178. if postIndex > l {
  30179. return io.ErrUnexpectedEOF
  30180. }
  30181. if m.LabelSelector == nil {
  30182. m.LabelSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  30183. }
  30184. if err := m.LabelSelector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30185. return err
  30186. }
  30187. iNdEx = postIndex
  30188. case 2:
  30189. if wireType != 2 {
  30190. return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType)
  30191. }
  30192. var stringLen uint64
  30193. for shift := uint(0); ; shift += 7 {
  30194. if shift >= 64 {
  30195. return ErrIntOverflowGenerated
  30196. }
  30197. if iNdEx >= l {
  30198. return io.ErrUnexpectedEOF
  30199. }
  30200. b := data[iNdEx]
  30201. iNdEx++
  30202. stringLen |= (uint64(b) & 0x7F) << shift
  30203. if b < 0x80 {
  30204. break
  30205. }
  30206. }
  30207. intStringLen := int(stringLen)
  30208. if intStringLen < 0 {
  30209. return ErrInvalidLengthGenerated
  30210. }
  30211. postIndex := iNdEx + intStringLen
  30212. if postIndex > l {
  30213. return io.ErrUnexpectedEOF
  30214. }
  30215. m.Namespaces = append(m.Namespaces, string(data[iNdEx:postIndex]))
  30216. iNdEx = postIndex
  30217. case 3:
  30218. if wireType != 2 {
  30219. return fmt.Errorf("proto: wrong wireType = %d for field TopologyKey", wireType)
  30220. }
  30221. var stringLen uint64
  30222. for shift := uint(0); ; shift += 7 {
  30223. if shift >= 64 {
  30224. return ErrIntOverflowGenerated
  30225. }
  30226. if iNdEx >= l {
  30227. return io.ErrUnexpectedEOF
  30228. }
  30229. b := data[iNdEx]
  30230. iNdEx++
  30231. stringLen |= (uint64(b) & 0x7F) << shift
  30232. if b < 0x80 {
  30233. break
  30234. }
  30235. }
  30236. intStringLen := int(stringLen)
  30237. if intStringLen < 0 {
  30238. return ErrInvalidLengthGenerated
  30239. }
  30240. postIndex := iNdEx + intStringLen
  30241. if postIndex > l {
  30242. return io.ErrUnexpectedEOF
  30243. }
  30244. m.TopologyKey = string(data[iNdEx:postIndex])
  30245. iNdEx = postIndex
  30246. default:
  30247. iNdEx = preIndex
  30248. skippy, err := skipGenerated(data[iNdEx:])
  30249. if err != nil {
  30250. return err
  30251. }
  30252. if skippy < 0 {
  30253. return ErrInvalidLengthGenerated
  30254. }
  30255. if (iNdEx + skippy) > l {
  30256. return io.ErrUnexpectedEOF
  30257. }
  30258. iNdEx += skippy
  30259. }
  30260. }
  30261. if iNdEx > l {
  30262. return io.ErrUnexpectedEOF
  30263. }
  30264. return nil
  30265. }
  30266. func (m *PodAntiAffinity) Unmarshal(data []byte) error {
  30267. l := len(data)
  30268. iNdEx := 0
  30269. for iNdEx < l {
  30270. preIndex := iNdEx
  30271. var wire uint64
  30272. for shift := uint(0); ; shift += 7 {
  30273. if shift >= 64 {
  30274. return ErrIntOverflowGenerated
  30275. }
  30276. if iNdEx >= l {
  30277. return io.ErrUnexpectedEOF
  30278. }
  30279. b := data[iNdEx]
  30280. iNdEx++
  30281. wire |= (uint64(b) & 0x7F) << shift
  30282. if b < 0x80 {
  30283. break
  30284. }
  30285. }
  30286. fieldNum := int32(wire >> 3)
  30287. wireType := int(wire & 0x7)
  30288. if wireType == 4 {
  30289. return fmt.Errorf("proto: PodAntiAffinity: wiretype end group for non-group")
  30290. }
  30291. if fieldNum <= 0 {
  30292. return fmt.Errorf("proto: PodAntiAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  30293. }
  30294. switch fieldNum {
  30295. case 1:
  30296. if wireType != 2 {
  30297. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  30298. }
  30299. var msglen int
  30300. for shift := uint(0); ; shift += 7 {
  30301. if shift >= 64 {
  30302. return ErrIntOverflowGenerated
  30303. }
  30304. if iNdEx >= l {
  30305. return io.ErrUnexpectedEOF
  30306. }
  30307. b := data[iNdEx]
  30308. iNdEx++
  30309. msglen |= (int(b) & 0x7F) << shift
  30310. if b < 0x80 {
  30311. break
  30312. }
  30313. }
  30314. if msglen < 0 {
  30315. return ErrInvalidLengthGenerated
  30316. }
  30317. postIndex := iNdEx + msglen
  30318. if postIndex > l {
  30319. return io.ErrUnexpectedEOF
  30320. }
  30321. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  30322. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  30323. return err
  30324. }
  30325. iNdEx = postIndex
  30326. case 2:
  30327. if wireType != 2 {
  30328. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  30329. }
  30330. var msglen int
  30331. for shift := uint(0); ; shift += 7 {
  30332. if shift >= 64 {
  30333. return ErrIntOverflowGenerated
  30334. }
  30335. if iNdEx >= l {
  30336. return io.ErrUnexpectedEOF
  30337. }
  30338. b := data[iNdEx]
  30339. iNdEx++
  30340. msglen |= (int(b) & 0x7F) << shift
  30341. if b < 0x80 {
  30342. break
  30343. }
  30344. }
  30345. if msglen < 0 {
  30346. return ErrInvalidLengthGenerated
  30347. }
  30348. postIndex := iNdEx + msglen
  30349. if postIndex > l {
  30350. return io.ErrUnexpectedEOF
  30351. }
  30352. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  30353. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  30354. return err
  30355. }
  30356. iNdEx = postIndex
  30357. default:
  30358. iNdEx = preIndex
  30359. skippy, err := skipGenerated(data[iNdEx:])
  30360. if err != nil {
  30361. return err
  30362. }
  30363. if skippy < 0 {
  30364. return ErrInvalidLengthGenerated
  30365. }
  30366. if (iNdEx + skippy) > l {
  30367. return io.ErrUnexpectedEOF
  30368. }
  30369. iNdEx += skippy
  30370. }
  30371. }
  30372. if iNdEx > l {
  30373. return io.ErrUnexpectedEOF
  30374. }
  30375. return nil
  30376. }
  30377. func (m *PodAttachOptions) Unmarshal(data []byte) error {
  30378. l := len(data)
  30379. iNdEx := 0
  30380. for iNdEx < l {
  30381. preIndex := iNdEx
  30382. var wire uint64
  30383. for shift := uint(0); ; shift += 7 {
  30384. if shift >= 64 {
  30385. return ErrIntOverflowGenerated
  30386. }
  30387. if iNdEx >= l {
  30388. return io.ErrUnexpectedEOF
  30389. }
  30390. b := data[iNdEx]
  30391. iNdEx++
  30392. wire |= (uint64(b) & 0x7F) << shift
  30393. if b < 0x80 {
  30394. break
  30395. }
  30396. }
  30397. fieldNum := int32(wire >> 3)
  30398. wireType := int(wire & 0x7)
  30399. if wireType == 4 {
  30400. return fmt.Errorf("proto: PodAttachOptions: wiretype end group for non-group")
  30401. }
  30402. if fieldNum <= 0 {
  30403. return fmt.Errorf("proto: PodAttachOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  30404. }
  30405. switch fieldNum {
  30406. case 1:
  30407. if wireType != 0 {
  30408. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  30409. }
  30410. var v int
  30411. for shift := uint(0); ; shift += 7 {
  30412. if shift >= 64 {
  30413. return ErrIntOverflowGenerated
  30414. }
  30415. if iNdEx >= l {
  30416. return io.ErrUnexpectedEOF
  30417. }
  30418. b := data[iNdEx]
  30419. iNdEx++
  30420. v |= (int(b) & 0x7F) << shift
  30421. if b < 0x80 {
  30422. break
  30423. }
  30424. }
  30425. m.Stdin = bool(v != 0)
  30426. case 2:
  30427. if wireType != 0 {
  30428. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  30429. }
  30430. var v int
  30431. for shift := uint(0); ; shift += 7 {
  30432. if shift >= 64 {
  30433. return ErrIntOverflowGenerated
  30434. }
  30435. if iNdEx >= l {
  30436. return io.ErrUnexpectedEOF
  30437. }
  30438. b := data[iNdEx]
  30439. iNdEx++
  30440. v |= (int(b) & 0x7F) << shift
  30441. if b < 0x80 {
  30442. break
  30443. }
  30444. }
  30445. m.Stdout = bool(v != 0)
  30446. case 3:
  30447. if wireType != 0 {
  30448. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  30449. }
  30450. var v int
  30451. for shift := uint(0); ; shift += 7 {
  30452. if shift >= 64 {
  30453. return ErrIntOverflowGenerated
  30454. }
  30455. if iNdEx >= l {
  30456. return io.ErrUnexpectedEOF
  30457. }
  30458. b := data[iNdEx]
  30459. iNdEx++
  30460. v |= (int(b) & 0x7F) << shift
  30461. if b < 0x80 {
  30462. break
  30463. }
  30464. }
  30465. m.Stderr = bool(v != 0)
  30466. case 4:
  30467. if wireType != 0 {
  30468. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  30469. }
  30470. var v int
  30471. for shift := uint(0); ; shift += 7 {
  30472. if shift >= 64 {
  30473. return ErrIntOverflowGenerated
  30474. }
  30475. if iNdEx >= l {
  30476. return io.ErrUnexpectedEOF
  30477. }
  30478. b := data[iNdEx]
  30479. iNdEx++
  30480. v |= (int(b) & 0x7F) << shift
  30481. if b < 0x80 {
  30482. break
  30483. }
  30484. }
  30485. m.TTY = bool(v != 0)
  30486. case 5:
  30487. if wireType != 2 {
  30488. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  30489. }
  30490. var stringLen uint64
  30491. for shift := uint(0); ; shift += 7 {
  30492. if shift >= 64 {
  30493. return ErrIntOverflowGenerated
  30494. }
  30495. if iNdEx >= l {
  30496. return io.ErrUnexpectedEOF
  30497. }
  30498. b := data[iNdEx]
  30499. iNdEx++
  30500. stringLen |= (uint64(b) & 0x7F) << shift
  30501. if b < 0x80 {
  30502. break
  30503. }
  30504. }
  30505. intStringLen := int(stringLen)
  30506. if intStringLen < 0 {
  30507. return ErrInvalidLengthGenerated
  30508. }
  30509. postIndex := iNdEx + intStringLen
  30510. if postIndex > l {
  30511. return io.ErrUnexpectedEOF
  30512. }
  30513. m.Container = string(data[iNdEx:postIndex])
  30514. iNdEx = postIndex
  30515. default:
  30516. iNdEx = preIndex
  30517. skippy, err := skipGenerated(data[iNdEx:])
  30518. if err != nil {
  30519. return err
  30520. }
  30521. if skippy < 0 {
  30522. return ErrInvalidLengthGenerated
  30523. }
  30524. if (iNdEx + skippy) > l {
  30525. return io.ErrUnexpectedEOF
  30526. }
  30527. iNdEx += skippy
  30528. }
  30529. }
  30530. if iNdEx > l {
  30531. return io.ErrUnexpectedEOF
  30532. }
  30533. return nil
  30534. }
  30535. func (m *PodCondition) Unmarshal(data []byte) error {
  30536. l := len(data)
  30537. iNdEx := 0
  30538. for iNdEx < l {
  30539. preIndex := iNdEx
  30540. var wire uint64
  30541. for shift := uint(0); ; shift += 7 {
  30542. if shift >= 64 {
  30543. return ErrIntOverflowGenerated
  30544. }
  30545. if iNdEx >= l {
  30546. return io.ErrUnexpectedEOF
  30547. }
  30548. b := data[iNdEx]
  30549. iNdEx++
  30550. wire |= (uint64(b) & 0x7F) << shift
  30551. if b < 0x80 {
  30552. break
  30553. }
  30554. }
  30555. fieldNum := int32(wire >> 3)
  30556. wireType := int(wire & 0x7)
  30557. if wireType == 4 {
  30558. return fmt.Errorf("proto: PodCondition: wiretype end group for non-group")
  30559. }
  30560. if fieldNum <= 0 {
  30561. return fmt.Errorf("proto: PodCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  30562. }
  30563. switch fieldNum {
  30564. case 1:
  30565. if wireType != 2 {
  30566. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  30567. }
  30568. var stringLen uint64
  30569. for shift := uint(0); ; shift += 7 {
  30570. if shift >= 64 {
  30571. return ErrIntOverflowGenerated
  30572. }
  30573. if iNdEx >= l {
  30574. return io.ErrUnexpectedEOF
  30575. }
  30576. b := data[iNdEx]
  30577. iNdEx++
  30578. stringLen |= (uint64(b) & 0x7F) << shift
  30579. if b < 0x80 {
  30580. break
  30581. }
  30582. }
  30583. intStringLen := int(stringLen)
  30584. if intStringLen < 0 {
  30585. return ErrInvalidLengthGenerated
  30586. }
  30587. postIndex := iNdEx + intStringLen
  30588. if postIndex > l {
  30589. return io.ErrUnexpectedEOF
  30590. }
  30591. m.Type = PodConditionType(data[iNdEx:postIndex])
  30592. iNdEx = postIndex
  30593. case 2:
  30594. if wireType != 2 {
  30595. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  30596. }
  30597. var stringLen uint64
  30598. for shift := uint(0); ; shift += 7 {
  30599. if shift >= 64 {
  30600. return ErrIntOverflowGenerated
  30601. }
  30602. if iNdEx >= l {
  30603. return io.ErrUnexpectedEOF
  30604. }
  30605. b := data[iNdEx]
  30606. iNdEx++
  30607. stringLen |= (uint64(b) & 0x7F) << shift
  30608. if b < 0x80 {
  30609. break
  30610. }
  30611. }
  30612. intStringLen := int(stringLen)
  30613. if intStringLen < 0 {
  30614. return ErrInvalidLengthGenerated
  30615. }
  30616. postIndex := iNdEx + intStringLen
  30617. if postIndex > l {
  30618. return io.ErrUnexpectedEOF
  30619. }
  30620. m.Status = ConditionStatus(data[iNdEx:postIndex])
  30621. iNdEx = postIndex
  30622. case 3:
  30623. if wireType != 2 {
  30624. return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  30625. }
  30626. var msglen int
  30627. for shift := uint(0); ; shift += 7 {
  30628. if shift >= 64 {
  30629. return ErrIntOverflowGenerated
  30630. }
  30631. if iNdEx >= l {
  30632. return io.ErrUnexpectedEOF
  30633. }
  30634. b := data[iNdEx]
  30635. iNdEx++
  30636. msglen |= (int(b) & 0x7F) << shift
  30637. if b < 0x80 {
  30638. break
  30639. }
  30640. }
  30641. if msglen < 0 {
  30642. return ErrInvalidLengthGenerated
  30643. }
  30644. postIndex := iNdEx + msglen
  30645. if postIndex > l {
  30646. return io.ErrUnexpectedEOF
  30647. }
  30648. if err := m.LastProbeTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30649. return err
  30650. }
  30651. iNdEx = postIndex
  30652. case 4:
  30653. if wireType != 2 {
  30654. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  30655. }
  30656. var msglen int
  30657. for shift := uint(0); ; shift += 7 {
  30658. if shift >= 64 {
  30659. return ErrIntOverflowGenerated
  30660. }
  30661. if iNdEx >= l {
  30662. return io.ErrUnexpectedEOF
  30663. }
  30664. b := data[iNdEx]
  30665. iNdEx++
  30666. msglen |= (int(b) & 0x7F) << shift
  30667. if b < 0x80 {
  30668. break
  30669. }
  30670. }
  30671. if msglen < 0 {
  30672. return ErrInvalidLengthGenerated
  30673. }
  30674. postIndex := iNdEx + msglen
  30675. if postIndex > l {
  30676. return io.ErrUnexpectedEOF
  30677. }
  30678. if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  30679. return err
  30680. }
  30681. iNdEx = postIndex
  30682. case 5:
  30683. if wireType != 2 {
  30684. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  30685. }
  30686. var stringLen uint64
  30687. for shift := uint(0); ; shift += 7 {
  30688. if shift >= 64 {
  30689. return ErrIntOverflowGenerated
  30690. }
  30691. if iNdEx >= l {
  30692. return io.ErrUnexpectedEOF
  30693. }
  30694. b := data[iNdEx]
  30695. iNdEx++
  30696. stringLen |= (uint64(b) & 0x7F) << shift
  30697. if b < 0x80 {
  30698. break
  30699. }
  30700. }
  30701. intStringLen := int(stringLen)
  30702. if intStringLen < 0 {
  30703. return ErrInvalidLengthGenerated
  30704. }
  30705. postIndex := iNdEx + intStringLen
  30706. if postIndex > l {
  30707. return io.ErrUnexpectedEOF
  30708. }
  30709. m.Reason = string(data[iNdEx:postIndex])
  30710. iNdEx = postIndex
  30711. case 6:
  30712. if wireType != 2 {
  30713. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  30714. }
  30715. var stringLen uint64
  30716. for shift := uint(0); ; shift += 7 {
  30717. if shift >= 64 {
  30718. return ErrIntOverflowGenerated
  30719. }
  30720. if iNdEx >= l {
  30721. return io.ErrUnexpectedEOF
  30722. }
  30723. b := data[iNdEx]
  30724. iNdEx++
  30725. stringLen |= (uint64(b) & 0x7F) << shift
  30726. if b < 0x80 {
  30727. break
  30728. }
  30729. }
  30730. intStringLen := int(stringLen)
  30731. if intStringLen < 0 {
  30732. return ErrInvalidLengthGenerated
  30733. }
  30734. postIndex := iNdEx + intStringLen
  30735. if postIndex > l {
  30736. return io.ErrUnexpectedEOF
  30737. }
  30738. m.Message = string(data[iNdEx:postIndex])
  30739. iNdEx = postIndex
  30740. default:
  30741. iNdEx = preIndex
  30742. skippy, err := skipGenerated(data[iNdEx:])
  30743. if err != nil {
  30744. return err
  30745. }
  30746. if skippy < 0 {
  30747. return ErrInvalidLengthGenerated
  30748. }
  30749. if (iNdEx + skippy) > l {
  30750. return io.ErrUnexpectedEOF
  30751. }
  30752. iNdEx += skippy
  30753. }
  30754. }
  30755. if iNdEx > l {
  30756. return io.ErrUnexpectedEOF
  30757. }
  30758. return nil
  30759. }
  30760. func (m *PodExecOptions) Unmarshal(data []byte) error {
  30761. l := len(data)
  30762. iNdEx := 0
  30763. for iNdEx < l {
  30764. preIndex := iNdEx
  30765. var wire uint64
  30766. for shift := uint(0); ; shift += 7 {
  30767. if shift >= 64 {
  30768. return ErrIntOverflowGenerated
  30769. }
  30770. if iNdEx >= l {
  30771. return io.ErrUnexpectedEOF
  30772. }
  30773. b := data[iNdEx]
  30774. iNdEx++
  30775. wire |= (uint64(b) & 0x7F) << shift
  30776. if b < 0x80 {
  30777. break
  30778. }
  30779. }
  30780. fieldNum := int32(wire >> 3)
  30781. wireType := int(wire & 0x7)
  30782. if wireType == 4 {
  30783. return fmt.Errorf("proto: PodExecOptions: wiretype end group for non-group")
  30784. }
  30785. if fieldNum <= 0 {
  30786. return fmt.Errorf("proto: PodExecOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  30787. }
  30788. switch fieldNum {
  30789. case 1:
  30790. if wireType != 0 {
  30791. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  30792. }
  30793. var v int
  30794. for shift := uint(0); ; shift += 7 {
  30795. if shift >= 64 {
  30796. return ErrIntOverflowGenerated
  30797. }
  30798. if iNdEx >= l {
  30799. return io.ErrUnexpectedEOF
  30800. }
  30801. b := data[iNdEx]
  30802. iNdEx++
  30803. v |= (int(b) & 0x7F) << shift
  30804. if b < 0x80 {
  30805. break
  30806. }
  30807. }
  30808. m.Stdin = bool(v != 0)
  30809. case 2:
  30810. if wireType != 0 {
  30811. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  30812. }
  30813. var v int
  30814. for shift := uint(0); ; shift += 7 {
  30815. if shift >= 64 {
  30816. return ErrIntOverflowGenerated
  30817. }
  30818. if iNdEx >= l {
  30819. return io.ErrUnexpectedEOF
  30820. }
  30821. b := data[iNdEx]
  30822. iNdEx++
  30823. v |= (int(b) & 0x7F) << shift
  30824. if b < 0x80 {
  30825. break
  30826. }
  30827. }
  30828. m.Stdout = bool(v != 0)
  30829. case 3:
  30830. if wireType != 0 {
  30831. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  30832. }
  30833. var v int
  30834. for shift := uint(0); ; shift += 7 {
  30835. if shift >= 64 {
  30836. return ErrIntOverflowGenerated
  30837. }
  30838. if iNdEx >= l {
  30839. return io.ErrUnexpectedEOF
  30840. }
  30841. b := data[iNdEx]
  30842. iNdEx++
  30843. v |= (int(b) & 0x7F) << shift
  30844. if b < 0x80 {
  30845. break
  30846. }
  30847. }
  30848. m.Stderr = bool(v != 0)
  30849. case 4:
  30850. if wireType != 0 {
  30851. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  30852. }
  30853. var v int
  30854. for shift := uint(0); ; shift += 7 {
  30855. if shift >= 64 {
  30856. return ErrIntOverflowGenerated
  30857. }
  30858. if iNdEx >= l {
  30859. return io.ErrUnexpectedEOF
  30860. }
  30861. b := data[iNdEx]
  30862. iNdEx++
  30863. v |= (int(b) & 0x7F) << shift
  30864. if b < 0x80 {
  30865. break
  30866. }
  30867. }
  30868. m.TTY = bool(v != 0)
  30869. case 5:
  30870. if wireType != 2 {
  30871. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  30872. }
  30873. var stringLen uint64
  30874. for shift := uint(0); ; shift += 7 {
  30875. if shift >= 64 {
  30876. return ErrIntOverflowGenerated
  30877. }
  30878. if iNdEx >= l {
  30879. return io.ErrUnexpectedEOF
  30880. }
  30881. b := data[iNdEx]
  30882. iNdEx++
  30883. stringLen |= (uint64(b) & 0x7F) << shift
  30884. if b < 0x80 {
  30885. break
  30886. }
  30887. }
  30888. intStringLen := int(stringLen)
  30889. if intStringLen < 0 {
  30890. return ErrInvalidLengthGenerated
  30891. }
  30892. postIndex := iNdEx + intStringLen
  30893. if postIndex > l {
  30894. return io.ErrUnexpectedEOF
  30895. }
  30896. m.Container = string(data[iNdEx:postIndex])
  30897. iNdEx = postIndex
  30898. case 6:
  30899. if wireType != 2 {
  30900. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  30901. }
  30902. var stringLen uint64
  30903. for shift := uint(0); ; shift += 7 {
  30904. if shift >= 64 {
  30905. return ErrIntOverflowGenerated
  30906. }
  30907. if iNdEx >= l {
  30908. return io.ErrUnexpectedEOF
  30909. }
  30910. b := data[iNdEx]
  30911. iNdEx++
  30912. stringLen |= (uint64(b) & 0x7F) << shift
  30913. if b < 0x80 {
  30914. break
  30915. }
  30916. }
  30917. intStringLen := int(stringLen)
  30918. if intStringLen < 0 {
  30919. return ErrInvalidLengthGenerated
  30920. }
  30921. postIndex := iNdEx + intStringLen
  30922. if postIndex > l {
  30923. return io.ErrUnexpectedEOF
  30924. }
  30925. m.Command = append(m.Command, string(data[iNdEx:postIndex]))
  30926. iNdEx = postIndex
  30927. default:
  30928. iNdEx = preIndex
  30929. skippy, err := skipGenerated(data[iNdEx:])
  30930. if err != nil {
  30931. return err
  30932. }
  30933. if skippy < 0 {
  30934. return ErrInvalidLengthGenerated
  30935. }
  30936. if (iNdEx + skippy) > l {
  30937. return io.ErrUnexpectedEOF
  30938. }
  30939. iNdEx += skippy
  30940. }
  30941. }
  30942. if iNdEx > l {
  30943. return io.ErrUnexpectedEOF
  30944. }
  30945. return nil
  30946. }
  30947. func (m *PodList) Unmarshal(data []byte) error {
  30948. l := len(data)
  30949. iNdEx := 0
  30950. for iNdEx < l {
  30951. preIndex := iNdEx
  30952. var wire uint64
  30953. for shift := uint(0); ; shift += 7 {
  30954. if shift >= 64 {
  30955. return ErrIntOverflowGenerated
  30956. }
  30957. if iNdEx >= l {
  30958. return io.ErrUnexpectedEOF
  30959. }
  30960. b := data[iNdEx]
  30961. iNdEx++
  30962. wire |= (uint64(b) & 0x7F) << shift
  30963. if b < 0x80 {
  30964. break
  30965. }
  30966. }
  30967. fieldNum := int32(wire >> 3)
  30968. wireType := int(wire & 0x7)
  30969. if wireType == 4 {
  30970. return fmt.Errorf("proto: PodList: wiretype end group for non-group")
  30971. }
  30972. if fieldNum <= 0 {
  30973. return fmt.Errorf("proto: PodList: illegal tag %d (wire type %d)", fieldNum, wire)
  30974. }
  30975. switch fieldNum {
  30976. case 1:
  30977. if wireType != 2 {
  30978. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  30979. }
  30980. var msglen int
  30981. for shift := uint(0); ; shift += 7 {
  30982. if shift >= 64 {
  30983. return ErrIntOverflowGenerated
  30984. }
  30985. if iNdEx >= l {
  30986. return io.ErrUnexpectedEOF
  30987. }
  30988. b := data[iNdEx]
  30989. iNdEx++
  30990. msglen |= (int(b) & 0x7F) << shift
  30991. if b < 0x80 {
  30992. break
  30993. }
  30994. }
  30995. if msglen < 0 {
  30996. return ErrInvalidLengthGenerated
  30997. }
  30998. postIndex := iNdEx + msglen
  30999. if postIndex > l {
  31000. return io.ErrUnexpectedEOF
  31001. }
  31002. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31003. return err
  31004. }
  31005. iNdEx = postIndex
  31006. case 2:
  31007. if wireType != 2 {
  31008. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  31009. }
  31010. var msglen int
  31011. for shift := uint(0); ; shift += 7 {
  31012. if shift >= 64 {
  31013. return ErrIntOverflowGenerated
  31014. }
  31015. if iNdEx >= l {
  31016. return io.ErrUnexpectedEOF
  31017. }
  31018. b := data[iNdEx]
  31019. iNdEx++
  31020. msglen |= (int(b) & 0x7F) << shift
  31021. if b < 0x80 {
  31022. break
  31023. }
  31024. }
  31025. if msglen < 0 {
  31026. return ErrInvalidLengthGenerated
  31027. }
  31028. postIndex := iNdEx + msglen
  31029. if postIndex > l {
  31030. return io.ErrUnexpectedEOF
  31031. }
  31032. m.Items = append(m.Items, Pod{})
  31033. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  31034. return err
  31035. }
  31036. iNdEx = postIndex
  31037. default:
  31038. iNdEx = preIndex
  31039. skippy, err := skipGenerated(data[iNdEx:])
  31040. if err != nil {
  31041. return err
  31042. }
  31043. if skippy < 0 {
  31044. return ErrInvalidLengthGenerated
  31045. }
  31046. if (iNdEx + skippy) > l {
  31047. return io.ErrUnexpectedEOF
  31048. }
  31049. iNdEx += skippy
  31050. }
  31051. }
  31052. if iNdEx > l {
  31053. return io.ErrUnexpectedEOF
  31054. }
  31055. return nil
  31056. }
  31057. func (m *PodLogOptions) Unmarshal(data []byte) error {
  31058. l := len(data)
  31059. iNdEx := 0
  31060. for iNdEx < l {
  31061. preIndex := iNdEx
  31062. var wire uint64
  31063. for shift := uint(0); ; shift += 7 {
  31064. if shift >= 64 {
  31065. return ErrIntOverflowGenerated
  31066. }
  31067. if iNdEx >= l {
  31068. return io.ErrUnexpectedEOF
  31069. }
  31070. b := data[iNdEx]
  31071. iNdEx++
  31072. wire |= (uint64(b) & 0x7F) << shift
  31073. if b < 0x80 {
  31074. break
  31075. }
  31076. }
  31077. fieldNum := int32(wire >> 3)
  31078. wireType := int(wire & 0x7)
  31079. if wireType == 4 {
  31080. return fmt.Errorf("proto: PodLogOptions: wiretype end group for non-group")
  31081. }
  31082. if fieldNum <= 0 {
  31083. return fmt.Errorf("proto: PodLogOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  31084. }
  31085. switch fieldNum {
  31086. case 1:
  31087. if wireType != 2 {
  31088. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  31089. }
  31090. var stringLen uint64
  31091. for shift := uint(0); ; shift += 7 {
  31092. if shift >= 64 {
  31093. return ErrIntOverflowGenerated
  31094. }
  31095. if iNdEx >= l {
  31096. return io.ErrUnexpectedEOF
  31097. }
  31098. b := data[iNdEx]
  31099. iNdEx++
  31100. stringLen |= (uint64(b) & 0x7F) << shift
  31101. if b < 0x80 {
  31102. break
  31103. }
  31104. }
  31105. intStringLen := int(stringLen)
  31106. if intStringLen < 0 {
  31107. return ErrInvalidLengthGenerated
  31108. }
  31109. postIndex := iNdEx + intStringLen
  31110. if postIndex > l {
  31111. return io.ErrUnexpectedEOF
  31112. }
  31113. m.Container = string(data[iNdEx:postIndex])
  31114. iNdEx = postIndex
  31115. case 2:
  31116. if wireType != 0 {
  31117. return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType)
  31118. }
  31119. var v int
  31120. for shift := uint(0); ; shift += 7 {
  31121. if shift >= 64 {
  31122. return ErrIntOverflowGenerated
  31123. }
  31124. if iNdEx >= l {
  31125. return io.ErrUnexpectedEOF
  31126. }
  31127. b := data[iNdEx]
  31128. iNdEx++
  31129. v |= (int(b) & 0x7F) << shift
  31130. if b < 0x80 {
  31131. break
  31132. }
  31133. }
  31134. m.Follow = bool(v != 0)
  31135. case 3:
  31136. if wireType != 0 {
  31137. return fmt.Errorf("proto: wrong wireType = %d for field Previous", wireType)
  31138. }
  31139. var v int
  31140. for shift := uint(0); ; shift += 7 {
  31141. if shift >= 64 {
  31142. return ErrIntOverflowGenerated
  31143. }
  31144. if iNdEx >= l {
  31145. return io.ErrUnexpectedEOF
  31146. }
  31147. b := data[iNdEx]
  31148. iNdEx++
  31149. v |= (int(b) & 0x7F) << shift
  31150. if b < 0x80 {
  31151. break
  31152. }
  31153. }
  31154. m.Previous = bool(v != 0)
  31155. case 4:
  31156. if wireType != 0 {
  31157. return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType)
  31158. }
  31159. var v int64
  31160. for shift := uint(0); ; shift += 7 {
  31161. if shift >= 64 {
  31162. return ErrIntOverflowGenerated
  31163. }
  31164. if iNdEx >= l {
  31165. return io.ErrUnexpectedEOF
  31166. }
  31167. b := data[iNdEx]
  31168. iNdEx++
  31169. v |= (int64(b) & 0x7F) << shift
  31170. if b < 0x80 {
  31171. break
  31172. }
  31173. }
  31174. m.SinceSeconds = &v
  31175. case 5:
  31176. if wireType != 2 {
  31177. return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", wireType)
  31178. }
  31179. var msglen int
  31180. for shift := uint(0); ; shift += 7 {
  31181. if shift >= 64 {
  31182. return ErrIntOverflowGenerated
  31183. }
  31184. if iNdEx >= l {
  31185. return io.ErrUnexpectedEOF
  31186. }
  31187. b := data[iNdEx]
  31188. iNdEx++
  31189. msglen |= (int(b) & 0x7F) << shift
  31190. if b < 0x80 {
  31191. break
  31192. }
  31193. }
  31194. if msglen < 0 {
  31195. return ErrInvalidLengthGenerated
  31196. }
  31197. postIndex := iNdEx + msglen
  31198. if postIndex > l {
  31199. return io.ErrUnexpectedEOF
  31200. }
  31201. if m.SinceTime == nil {
  31202. m.SinceTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  31203. }
  31204. if err := m.SinceTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31205. return err
  31206. }
  31207. iNdEx = postIndex
  31208. case 6:
  31209. if wireType != 0 {
  31210. return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType)
  31211. }
  31212. var v int
  31213. for shift := uint(0); ; shift += 7 {
  31214. if shift >= 64 {
  31215. return ErrIntOverflowGenerated
  31216. }
  31217. if iNdEx >= l {
  31218. return io.ErrUnexpectedEOF
  31219. }
  31220. b := data[iNdEx]
  31221. iNdEx++
  31222. v |= (int(b) & 0x7F) << shift
  31223. if b < 0x80 {
  31224. break
  31225. }
  31226. }
  31227. m.Timestamps = bool(v != 0)
  31228. case 7:
  31229. if wireType != 0 {
  31230. return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType)
  31231. }
  31232. var v int64
  31233. for shift := uint(0); ; shift += 7 {
  31234. if shift >= 64 {
  31235. return ErrIntOverflowGenerated
  31236. }
  31237. if iNdEx >= l {
  31238. return io.ErrUnexpectedEOF
  31239. }
  31240. b := data[iNdEx]
  31241. iNdEx++
  31242. v |= (int64(b) & 0x7F) << shift
  31243. if b < 0x80 {
  31244. break
  31245. }
  31246. }
  31247. m.TailLines = &v
  31248. case 8:
  31249. if wireType != 0 {
  31250. return fmt.Errorf("proto: wrong wireType = %d for field LimitBytes", wireType)
  31251. }
  31252. var v int64
  31253. for shift := uint(0); ; shift += 7 {
  31254. if shift >= 64 {
  31255. return ErrIntOverflowGenerated
  31256. }
  31257. if iNdEx >= l {
  31258. return io.ErrUnexpectedEOF
  31259. }
  31260. b := data[iNdEx]
  31261. iNdEx++
  31262. v |= (int64(b) & 0x7F) << shift
  31263. if b < 0x80 {
  31264. break
  31265. }
  31266. }
  31267. m.LimitBytes = &v
  31268. default:
  31269. iNdEx = preIndex
  31270. skippy, err := skipGenerated(data[iNdEx:])
  31271. if err != nil {
  31272. return err
  31273. }
  31274. if skippy < 0 {
  31275. return ErrInvalidLengthGenerated
  31276. }
  31277. if (iNdEx + skippy) > l {
  31278. return io.ErrUnexpectedEOF
  31279. }
  31280. iNdEx += skippy
  31281. }
  31282. }
  31283. if iNdEx > l {
  31284. return io.ErrUnexpectedEOF
  31285. }
  31286. return nil
  31287. }
  31288. func (m *PodPortForwardOptions) Unmarshal(data []byte) error {
  31289. l := len(data)
  31290. iNdEx := 0
  31291. for iNdEx < l {
  31292. preIndex := iNdEx
  31293. var wire uint64
  31294. for shift := uint(0); ; shift += 7 {
  31295. if shift >= 64 {
  31296. return ErrIntOverflowGenerated
  31297. }
  31298. if iNdEx >= l {
  31299. return io.ErrUnexpectedEOF
  31300. }
  31301. b := data[iNdEx]
  31302. iNdEx++
  31303. wire |= (uint64(b) & 0x7F) << shift
  31304. if b < 0x80 {
  31305. break
  31306. }
  31307. }
  31308. fieldNum := int32(wire >> 3)
  31309. wireType := int(wire & 0x7)
  31310. if wireType == 4 {
  31311. return fmt.Errorf("proto: PodPortForwardOptions: wiretype end group for non-group")
  31312. }
  31313. if fieldNum <= 0 {
  31314. return fmt.Errorf("proto: PodPortForwardOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  31315. }
  31316. switch fieldNum {
  31317. case 1:
  31318. if wireType != 0 {
  31319. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  31320. }
  31321. var v int32
  31322. for shift := uint(0); ; shift += 7 {
  31323. if shift >= 64 {
  31324. return ErrIntOverflowGenerated
  31325. }
  31326. if iNdEx >= l {
  31327. return io.ErrUnexpectedEOF
  31328. }
  31329. b := data[iNdEx]
  31330. iNdEx++
  31331. v |= (int32(b) & 0x7F) << shift
  31332. if b < 0x80 {
  31333. break
  31334. }
  31335. }
  31336. m.Ports = append(m.Ports, v)
  31337. default:
  31338. iNdEx = preIndex
  31339. skippy, err := skipGenerated(data[iNdEx:])
  31340. if err != nil {
  31341. return err
  31342. }
  31343. if skippy < 0 {
  31344. return ErrInvalidLengthGenerated
  31345. }
  31346. if (iNdEx + skippy) > l {
  31347. return io.ErrUnexpectedEOF
  31348. }
  31349. iNdEx += skippy
  31350. }
  31351. }
  31352. if iNdEx > l {
  31353. return io.ErrUnexpectedEOF
  31354. }
  31355. return nil
  31356. }
  31357. func (m *PodProxyOptions) Unmarshal(data []byte) error {
  31358. l := len(data)
  31359. iNdEx := 0
  31360. for iNdEx < l {
  31361. preIndex := iNdEx
  31362. var wire uint64
  31363. for shift := uint(0); ; shift += 7 {
  31364. if shift >= 64 {
  31365. return ErrIntOverflowGenerated
  31366. }
  31367. if iNdEx >= l {
  31368. return io.ErrUnexpectedEOF
  31369. }
  31370. b := data[iNdEx]
  31371. iNdEx++
  31372. wire |= (uint64(b) & 0x7F) << shift
  31373. if b < 0x80 {
  31374. break
  31375. }
  31376. }
  31377. fieldNum := int32(wire >> 3)
  31378. wireType := int(wire & 0x7)
  31379. if wireType == 4 {
  31380. return fmt.Errorf("proto: PodProxyOptions: wiretype end group for non-group")
  31381. }
  31382. if fieldNum <= 0 {
  31383. return fmt.Errorf("proto: PodProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  31384. }
  31385. switch fieldNum {
  31386. case 1:
  31387. if wireType != 2 {
  31388. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  31389. }
  31390. var stringLen uint64
  31391. for shift := uint(0); ; shift += 7 {
  31392. if shift >= 64 {
  31393. return ErrIntOverflowGenerated
  31394. }
  31395. if iNdEx >= l {
  31396. return io.ErrUnexpectedEOF
  31397. }
  31398. b := data[iNdEx]
  31399. iNdEx++
  31400. stringLen |= (uint64(b) & 0x7F) << shift
  31401. if b < 0x80 {
  31402. break
  31403. }
  31404. }
  31405. intStringLen := int(stringLen)
  31406. if intStringLen < 0 {
  31407. return ErrInvalidLengthGenerated
  31408. }
  31409. postIndex := iNdEx + intStringLen
  31410. if postIndex > l {
  31411. return io.ErrUnexpectedEOF
  31412. }
  31413. m.Path = string(data[iNdEx:postIndex])
  31414. iNdEx = postIndex
  31415. default:
  31416. iNdEx = preIndex
  31417. skippy, err := skipGenerated(data[iNdEx:])
  31418. if err != nil {
  31419. return err
  31420. }
  31421. if skippy < 0 {
  31422. return ErrInvalidLengthGenerated
  31423. }
  31424. if (iNdEx + skippy) > l {
  31425. return io.ErrUnexpectedEOF
  31426. }
  31427. iNdEx += skippy
  31428. }
  31429. }
  31430. if iNdEx > l {
  31431. return io.ErrUnexpectedEOF
  31432. }
  31433. return nil
  31434. }
  31435. func (m *PodSecurityContext) Unmarshal(data []byte) error {
  31436. l := len(data)
  31437. iNdEx := 0
  31438. for iNdEx < l {
  31439. preIndex := iNdEx
  31440. var wire uint64
  31441. for shift := uint(0); ; shift += 7 {
  31442. if shift >= 64 {
  31443. return ErrIntOverflowGenerated
  31444. }
  31445. if iNdEx >= l {
  31446. return io.ErrUnexpectedEOF
  31447. }
  31448. b := data[iNdEx]
  31449. iNdEx++
  31450. wire |= (uint64(b) & 0x7F) << shift
  31451. if b < 0x80 {
  31452. break
  31453. }
  31454. }
  31455. fieldNum := int32(wire >> 3)
  31456. wireType := int(wire & 0x7)
  31457. if wireType == 4 {
  31458. return fmt.Errorf("proto: PodSecurityContext: wiretype end group for non-group")
  31459. }
  31460. if fieldNum <= 0 {
  31461. return fmt.Errorf("proto: PodSecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  31462. }
  31463. switch fieldNum {
  31464. case 1:
  31465. if wireType != 2 {
  31466. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  31467. }
  31468. var msglen int
  31469. for shift := uint(0); ; shift += 7 {
  31470. if shift >= 64 {
  31471. return ErrIntOverflowGenerated
  31472. }
  31473. if iNdEx >= l {
  31474. return io.ErrUnexpectedEOF
  31475. }
  31476. b := data[iNdEx]
  31477. iNdEx++
  31478. msglen |= (int(b) & 0x7F) << shift
  31479. if b < 0x80 {
  31480. break
  31481. }
  31482. }
  31483. if msglen < 0 {
  31484. return ErrInvalidLengthGenerated
  31485. }
  31486. postIndex := iNdEx + msglen
  31487. if postIndex > l {
  31488. return io.ErrUnexpectedEOF
  31489. }
  31490. if m.SELinuxOptions == nil {
  31491. m.SELinuxOptions = &SELinuxOptions{}
  31492. }
  31493. if err := m.SELinuxOptions.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31494. return err
  31495. }
  31496. iNdEx = postIndex
  31497. case 2:
  31498. if wireType != 0 {
  31499. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  31500. }
  31501. var v int64
  31502. for shift := uint(0); ; shift += 7 {
  31503. if shift >= 64 {
  31504. return ErrIntOverflowGenerated
  31505. }
  31506. if iNdEx >= l {
  31507. return io.ErrUnexpectedEOF
  31508. }
  31509. b := data[iNdEx]
  31510. iNdEx++
  31511. v |= (int64(b) & 0x7F) << shift
  31512. if b < 0x80 {
  31513. break
  31514. }
  31515. }
  31516. m.RunAsUser = &v
  31517. case 3:
  31518. if wireType != 0 {
  31519. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  31520. }
  31521. var v int
  31522. for shift := uint(0); ; shift += 7 {
  31523. if shift >= 64 {
  31524. return ErrIntOverflowGenerated
  31525. }
  31526. if iNdEx >= l {
  31527. return io.ErrUnexpectedEOF
  31528. }
  31529. b := data[iNdEx]
  31530. iNdEx++
  31531. v |= (int(b) & 0x7F) << shift
  31532. if b < 0x80 {
  31533. break
  31534. }
  31535. }
  31536. b := bool(v != 0)
  31537. m.RunAsNonRoot = &b
  31538. case 4:
  31539. if wireType != 0 {
  31540. return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
  31541. }
  31542. var v int64
  31543. for shift := uint(0); ; shift += 7 {
  31544. if shift >= 64 {
  31545. return ErrIntOverflowGenerated
  31546. }
  31547. if iNdEx >= l {
  31548. return io.ErrUnexpectedEOF
  31549. }
  31550. b := data[iNdEx]
  31551. iNdEx++
  31552. v |= (int64(b) & 0x7F) << shift
  31553. if b < 0x80 {
  31554. break
  31555. }
  31556. }
  31557. m.SupplementalGroups = append(m.SupplementalGroups, v)
  31558. case 5:
  31559. if wireType != 0 {
  31560. return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
  31561. }
  31562. var v int64
  31563. for shift := uint(0); ; shift += 7 {
  31564. if shift >= 64 {
  31565. return ErrIntOverflowGenerated
  31566. }
  31567. if iNdEx >= l {
  31568. return io.ErrUnexpectedEOF
  31569. }
  31570. b := data[iNdEx]
  31571. iNdEx++
  31572. v |= (int64(b) & 0x7F) << shift
  31573. if b < 0x80 {
  31574. break
  31575. }
  31576. }
  31577. m.FSGroup = &v
  31578. default:
  31579. iNdEx = preIndex
  31580. skippy, err := skipGenerated(data[iNdEx:])
  31581. if err != nil {
  31582. return err
  31583. }
  31584. if skippy < 0 {
  31585. return ErrInvalidLengthGenerated
  31586. }
  31587. if (iNdEx + skippy) > l {
  31588. return io.ErrUnexpectedEOF
  31589. }
  31590. iNdEx += skippy
  31591. }
  31592. }
  31593. if iNdEx > l {
  31594. return io.ErrUnexpectedEOF
  31595. }
  31596. return nil
  31597. }
  31598. func (m *PodSignature) Unmarshal(data []byte) error {
  31599. l := len(data)
  31600. iNdEx := 0
  31601. for iNdEx < l {
  31602. preIndex := iNdEx
  31603. var wire uint64
  31604. for shift := uint(0); ; shift += 7 {
  31605. if shift >= 64 {
  31606. return ErrIntOverflowGenerated
  31607. }
  31608. if iNdEx >= l {
  31609. return io.ErrUnexpectedEOF
  31610. }
  31611. b := data[iNdEx]
  31612. iNdEx++
  31613. wire |= (uint64(b) & 0x7F) << shift
  31614. if b < 0x80 {
  31615. break
  31616. }
  31617. }
  31618. fieldNum := int32(wire >> 3)
  31619. wireType := int(wire & 0x7)
  31620. if wireType == 4 {
  31621. return fmt.Errorf("proto: PodSignature: wiretype end group for non-group")
  31622. }
  31623. if fieldNum <= 0 {
  31624. return fmt.Errorf("proto: PodSignature: illegal tag %d (wire type %d)", fieldNum, wire)
  31625. }
  31626. switch fieldNum {
  31627. case 1:
  31628. if wireType != 2 {
  31629. return fmt.Errorf("proto: wrong wireType = %d for field PodController", wireType)
  31630. }
  31631. var msglen int
  31632. for shift := uint(0); ; shift += 7 {
  31633. if shift >= 64 {
  31634. return ErrIntOverflowGenerated
  31635. }
  31636. if iNdEx >= l {
  31637. return io.ErrUnexpectedEOF
  31638. }
  31639. b := data[iNdEx]
  31640. iNdEx++
  31641. msglen |= (int(b) & 0x7F) << shift
  31642. if b < 0x80 {
  31643. break
  31644. }
  31645. }
  31646. if msglen < 0 {
  31647. return ErrInvalidLengthGenerated
  31648. }
  31649. postIndex := iNdEx + msglen
  31650. if postIndex > l {
  31651. return io.ErrUnexpectedEOF
  31652. }
  31653. if m.PodController == nil {
  31654. m.PodController = &k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference{}
  31655. }
  31656. if err := m.PodController.Unmarshal(data[iNdEx:postIndex]); err != nil {
  31657. return err
  31658. }
  31659. iNdEx = postIndex
  31660. default:
  31661. iNdEx = preIndex
  31662. skippy, err := skipGenerated(data[iNdEx:])
  31663. if err != nil {
  31664. return err
  31665. }
  31666. if skippy < 0 {
  31667. return ErrInvalidLengthGenerated
  31668. }
  31669. if (iNdEx + skippy) > l {
  31670. return io.ErrUnexpectedEOF
  31671. }
  31672. iNdEx += skippy
  31673. }
  31674. }
  31675. if iNdEx > l {
  31676. return io.ErrUnexpectedEOF
  31677. }
  31678. return nil
  31679. }
  31680. func (m *PodSpec) Unmarshal(data []byte) error {
  31681. l := len(data)
  31682. iNdEx := 0
  31683. for iNdEx < l {
  31684. preIndex := iNdEx
  31685. var wire uint64
  31686. for shift := uint(0); ; shift += 7 {
  31687. if shift >= 64 {
  31688. return ErrIntOverflowGenerated
  31689. }
  31690. if iNdEx >= l {
  31691. return io.ErrUnexpectedEOF
  31692. }
  31693. b := data[iNdEx]
  31694. iNdEx++
  31695. wire |= (uint64(b) & 0x7F) << shift
  31696. if b < 0x80 {
  31697. break
  31698. }
  31699. }
  31700. fieldNum := int32(wire >> 3)
  31701. wireType := int(wire & 0x7)
  31702. if wireType == 4 {
  31703. return fmt.Errorf("proto: PodSpec: wiretype end group for non-group")
  31704. }
  31705. if fieldNum <= 0 {
  31706. return fmt.Errorf("proto: PodSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  31707. }
  31708. switch fieldNum {
  31709. case 1:
  31710. if wireType != 2 {
  31711. return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
  31712. }
  31713. var msglen int
  31714. for shift := uint(0); ; shift += 7 {
  31715. if shift >= 64 {
  31716. return ErrIntOverflowGenerated
  31717. }
  31718. if iNdEx >= l {
  31719. return io.ErrUnexpectedEOF
  31720. }
  31721. b := data[iNdEx]
  31722. iNdEx++
  31723. msglen |= (int(b) & 0x7F) << shift
  31724. if b < 0x80 {
  31725. break
  31726. }
  31727. }
  31728. if msglen < 0 {
  31729. return ErrInvalidLengthGenerated
  31730. }
  31731. postIndex := iNdEx + msglen
  31732. if postIndex > l {
  31733. return io.ErrUnexpectedEOF
  31734. }
  31735. m.Volumes = append(m.Volumes, Volume{})
  31736. if err := m.Volumes[len(m.Volumes)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  31737. return err
  31738. }
  31739. iNdEx = postIndex
  31740. case 2:
  31741. if wireType != 2 {
  31742. return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
  31743. }
  31744. var msglen int
  31745. for shift := uint(0); ; shift += 7 {
  31746. if shift >= 64 {
  31747. return ErrIntOverflowGenerated
  31748. }
  31749. if iNdEx >= l {
  31750. return io.ErrUnexpectedEOF
  31751. }
  31752. b := data[iNdEx]
  31753. iNdEx++
  31754. msglen |= (int(b) & 0x7F) << shift
  31755. if b < 0x80 {
  31756. break
  31757. }
  31758. }
  31759. if msglen < 0 {
  31760. return ErrInvalidLengthGenerated
  31761. }
  31762. postIndex := iNdEx + msglen
  31763. if postIndex > l {
  31764. return io.ErrUnexpectedEOF
  31765. }
  31766. m.Containers = append(m.Containers, Container{})
  31767. if err := m.Containers[len(m.Containers)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  31768. return err
  31769. }
  31770. iNdEx = postIndex
  31771. case 3:
  31772. if wireType != 2 {
  31773. return fmt.Errorf("proto: wrong wireType = %d for field RestartPolicy", wireType)
  31774. }
  31775. var stringLen uint64
  31776. for shift := uint(0); ; shift += 7 {
  31777. if shift >= 64 {
  31778. return ErrIntOverflowGenerated
  31779. }
  31780. if iNdEx >= l {
  31781. return io.ErrUnexpectedEOF
  31782. }
  31783. b := data[iNdEx]
  31784. iNdEx++
  31785. stringLen |= (uint64(b) & 0x7F) << shift
  31786. if b < 0x80 {
  31787. break
  31788. }
  31789. }
  31790. intStringLen := int(stringLen)
  31791. if intStringLen < 0 {
  31792. return ErrInvalidLengthGenerated
  31793. }
  31794. postIndex := iNdEx + intStringLen
  31795. if postIndex > l {
  31796. return io.ErrUnexpectedEOF
  31797. }
  31798. m.RestartPolicy = RestartPolicy(data[iNdEx:postIndex])
  31799. iNdEx = postIndex
  31800. case 4:
  31801. if wireType != 0 {
  31802. return fmt.Errorf("proto: wrong wireType = %d for field TerminationGracePeriodSeconds", wireType)
  31803. }
  31804. var v int64
  31805. for shift := uint(0); ; shift += 7 {
  31806. if shift >= 64 {
  31807. return ErrIntOverflowGenerated
  31808. }
  31809. if iNdEx >= l {
  31810. return io.ErrUnexpectedEOF
  31811. }
  31812. b := data[iNdEx]
  31813. iNdEx++
  31814. v |= (int64(b) & 0x7F) << shift
  31815. if b < 0x80 {
  31816. break
  31817. }
  31818. }
  31819. m.TerminationGracePeriodSeconds = &v
  31820. case 5:
  31821. if wireType != 0 {
  31822. return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType)
  31823. }
  31824. var v int64
  31825. for shift := uint(0); ; shift += 7 {
  31826. if shift >= 64 {
  31827. return ErrIntOverflowGenerated
  31828. }
  31829. if iNdEx >= l {
  31830. return io.ErrUnexpectedEOF
  31831. }
  31832. b := data[iNdEx]
  31833. iNdEx++
  31834. v |= (int64(b) & 0x7F) << shift
  31835. if b < 0x80 {
  31836. break
  31837. }
  31838. }
  31839. m.ActiveDeadlineSeconds = &v
  31840. case 6:
  31841. if wireType != 2 {
  31842. return fmt.Errorf("proto: wrong wireType = %d for field DNSPolicy", wireType)
  31843. }
  31844. var stringLen uint64
  31845. for shift := uint(0); ; shift += 7 {
  31846. if shift >= 64 {
  31847. return ErrIntOverflowGenerated
  31848. }
  31849. if iNdEx >= l {
  31850. return io.ErrUnexpectedEOF
  31851. }
  31852. b := data[iNdEx]
  31853. iNdEx++
  31854. stringLen |= (uint64(b) & 0x7F) << shift
  31855. if b < 0x80 {
  31856. break
  31857. }
  31858. }
  31859. intStringLen := int(stringLen)
  31860. if intStringLen < 0 {
  31861. return ErrInvalidLengthGenerated
  31862. }
  31863. postIndex := iNdEx + intStringLen
  31864. if postIndex > l {
  31865. return io.ErrUnexpectedEOF
  31866. }
  31867. m.DNSPolicy = DNSPolicy(data[iNdEx:postIndex])
  31868. iNdEx = postIndex
  31869. case 7:
  31870. if wireType != 2 {
  31871. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelector", wireType)
  31872. }
  31873. var msglen int
  31874. for shift := uint(0); ; shift += 7 {
  31875. if shift >= 64 {
  31876. return ErrIntOverflowGenerated
  31877. }
  31878. if iNdEx >= l {
  31879. return io.ErrUnexpectedEOF
  31880. }
  31881. b := data[iNdEx]
  31882. iNdEx++
  31883. msglen |= (int(b) & 0x7F) << shift
  31884. if b < 0x80 {
  31885. break
  31886. }
  31887. }
  31888. if msglen < 0 {
  31889. return ErrInvalidLengthGenerated
  31890. }
  31891. postIndex := iNdEx + msglen
  31892. if postIndex > l {
  31893. return io.ErrUnexpectedEOF
  31894. }
  31895. var keykey uint64
  31896. for shift := uint(0); ; shift += 7 {
  31897. if shift >= 64 {
  31898. return ErrIntOverflowGenerated
  31899. }
  31900. if iNdEx >= l {
  31901. return io.ErrUnexpectedEOF
  31902. }
  31903. b := data[iNdEx]
  31904. iNdEx++
  31905. keykey |= (uint64(b) & 0x7F) << shift
  31906. if b < 0x80 {
  31907. break
  31908. }
  31909. }
  31910. var stringLenmapkey uint64
  31911. for shift := uint(0); ; shift += 7 {
  31912. if shift >= 64 {
  31913. return ErrIntOverflowGenerated
  31914. }
  31915. if iNdEx >= l {
  31916. return io.ErrUnexpectedEOF
  31917. }
  31918. b := data[iNdEx]
  31919. iNdEx++
  31920. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  31921. if b < 0x80 {
  31922. break
  31923. }
  31924. }
  31925. intStringLenmapkey := int(stringLenmapkey)
  31926. if intStringLenmapkey < 0 {
  31927. return ErrInvalidLengthGenerated
  31928. }
  31929. postStringIndexmapkey := iNdEx + intStringLenmapkey
  31930. if postStringIndexmapkey > l {
  31931. return io.ErrUnexpectedEOF
  31932. }
  31933. mapkey := string(data[iNdEx:postStringIndexmapkey])
  31934. iNdEx = postStringIndexmapkey
  31935. var valuekey uint64
  31936. for shift := uint(0); ; shift += 7 {
  31937. if shift >= 64 {
  31938. return ErrIntOverflowGenerated
  31939. }
  31940. if iNdEx >= l {
  31941. return io.ErrUnexpectedEOF
  31942. }
  31943. b := data[iNdEx]
  31944. iNdEx++
  31945. valuekey |= (uint64(b) & 0x7F) << shift
  31946. if b < 0x80 {
  31947. break
  31948. }
  31949. }
  31950. var stringLenmapvalue uint64
  31951. for shift := uint(0); ; shift += 7 {
  31952. if shift >= 64 {
  31953. return ErrIntOverflowGenerated
  31954. }
  31955. if iNdEx >= l {
  31956. return io.ErrUnexpectedEOF
  31957. }
  31958. b := data[iNdEx]
  31959. iNdEx++
  31960. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  31961. if b < 0x80 {
  31962. break
  31963. }
  31964. }
  31965. intStringLenmapvalue := int(stringLenmapvalue)
  31966. if intStringLenmapvalue < 0 {
  31967. return ErrInvalidLengthGenerated
  31968. }
  31969. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  31970. if postStringIndexmapvalue > l {
  31971. return io.ErrUnexpectedEOF
  31972. }
  31973. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  31974. iNdEx = postStringIndexmapvalue
  31975. if m.NodeSelector == nil {
  31976. m.NodeSelector = make(map[string]string)
  31977. }
  31978. m.NodeSelector[mapkey] = mapvalue
  31979. iNdEx = postIndex
  31980. case 8:
  31981. if wireType != 2 {
  31982. return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountName", wireType)
  31983. }
  31984. var stringLen uint64
  31985. for shift := uint(0); ; shift += 7 {
  31986. if shift >= 64 {
  31987. return ErrIntOverflowGenerated
  31988. }
  31989. if iNdEx >= l {
  31990. return io.ErrUnexpectedEOF
  31991. }
  31992. b := data[iNdEx]
  31993. iNdEx++
  31994. stringLen |= (uint64(b) & 0x7F) << shift
  31995. if b < 0x80 {
  31996. break
  31997. }
  31998. }
  31999. intStringLen := int(stringLen)
  32000. if intStringLen < 0 {
  32001. return ErrInvalidLengthGenerated
  32002. }
  32003. postIndex := iNdEx + intStringLen
  32004. if postIndex > l {
  32005. return io.ErrUnexpectedEOF
  32006. }
  32007. m.ServiceAccountName = string(data[iNdEx:postIndex])
  32008. iNdEx = postIndex
  32009. case 9:
  32010. if wireType != 2 {
  32011. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedServiceAccount", wireType)
  32012. }
  32013. var stringLen uint64
  32014. for shift := uint(0); ; shift += 7 {
  32015. if shift >= 64 {
  32016. return ErrIntOverflowGenerated
  32017. }
  32018. if iNdEx >= l {
  32019. return io.ErrUnexpectedEOF
  32020. }
  32021. b := data[iNdEx]
  32022. iNdEx++
  32023. stringLen |= (uint64(b) & 0x7F) << shift
  32024. if b < 0x80 {
  32025. break
  32026. }
  32027. }
  32028. intStringLen := int(stringLen)
  32029. if intStringLen < 0 {
  32030. return ErrInvalidLengthGenerated
  32031. }
  32032. postIndex := iNdEx + intStringLen
  32033. if postIndex > l {
  32034. return io.ErrUnexpectedEOF
  32035. }
  32036. m.DeprecatedServiceAccount = string(data[iNdEx:postIndex])
  32037. iNdEx = postIndex
  32038. case 10:
  32039. if wireType != 2 {
  32040. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  32041. }
  32042. var stringLen uint64
  32043. for shift := uint(0); ; shift += 7 {
  32044. if shift >= 64 {
  32045. return ErrIntOverflowGenerated
  32046. }
  32047. if iNdEx >= l {
  32048. return io.ErrUnexpectedEOF
  32049. }
  32050. b := data[iNdEx]
  32051. iNdEx++
  32052. stringLen |= (uint64(b) & 0x7F) << shift
  32053. if b < 0x80 {
  32054. break
  32055. }
  32056. }
  32057. intStringLen := int(stringLen)
  32058. if intStringLen < 0 {
  32059. return ErrInvalidLengthGenerated
  32060. }
  32061. postIndex := iNdEx + intStringLen
  32062. if postIndex > l {
  32063. return io.ErrUnexpectedEOF
  32064. }
  32065. m.NodeName = string(data[iNdEx:postIndex])
  32066. iNdEx = postIndex
  32067. case 11:
  32068. if wireType != 0 {
  32069. return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  32070. }
  32071. var v int
  32072. for shift := uint(0); ; shift += 7 {
  32073. if shift >= 64 {
  32074. return ErrIntOverflowGenerated
  32075. }
  32076. if iNdEx >= l {
  32077. return io.ErrUnexpectedEOF
  32078. }
  32079. b := data[iNdEx]
  32080. iNdEx++
  32081. v |= (int(b) & 0x7F) << shift
  32082. if b < 0x80 {
  32083. break
  32084. }
  32085. }
  32086. m.HostNetwork = bool(v != 0)
  32087. case 12:
  32088. if wireType != 0 {
  32089. return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  32090. }
  32091. var v int
  32092. for shift := uint(0); ; shift += 7 {
  32093. if shift >= 64 {
  32094. return ErrIntOverflowGenerated
  32095. }
  32096. if iNdEx >= l {
  32097. return io.ErrUnexpectedEOF
  32098. }
  32099. b := data[iNdEx]
  32100. iNdEx++
  32101. v |= (int(b) & 0x7F) << shift
  32102. if b < 0x80 {
  32103. break
  32104. }
  32105. }
  32106. m.HostPID = bool(v != 0)
  32107. case 13:
  32108. if wireType != 0 {
  32109. return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  32110. }
  32111. var v int
  32112. for shift := uint(0); ; shift += 7 {
  32113. if shift >= 64 {
  32114. return ErrIntOverflowGenerated
  32115. }
  32116. if iNdEx >= l {
  32117. return io.ErrUnexpectedEOF
  32118. }
  32119. b := data[iNdEx]
  32120. iNdEx++
  32121. v |= (int(b) & 0x7F) << shift
  32122. if b < 0x80 {
  32123. break
  32124. }
  32125. }
  32126. m.HostIPC = bool(v != 0)
  32127. case 14:
  32128. if wireType != 2 {
  32129. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  32130. }
  32131. var msglen int
  32132. for shift := uint(0); ; shift += 7 {
  32133. if shift >= 64 {
  32134. return ErrIntOverflowGenerated
  32135. }
  32136. if iNdEx >= l {
  32137. return io.ErrUnexpectedEOF
  32138. }
  32139. b := data[iNdEx]
  32140. iNdEx++
  32141. msglen |= (int(b) & 0x7F) << shift
  32142. if b < 0x80 {
  32143. break
  32144. }
  32145. }
  32146. if msglen < 0 {
  32147. return ErrInvalidLengthGenerated
  32148. }
  32149. postIndex := iNdEx + msglen
  32150. if postIndex > l {
  32151. return io.ErrUnexpectedEOF
  32152. }
  32153. if m.SecurityContext == nil {
  32154. m.SecurityContext = &PodSecurityContext{}
  32155. }
  32156. if err := m.SecurityContext.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32157. return err
  32158. }
  32159. iNdEx = postIndex
  32160. case 15:
  32161. if wireType != 2 {
  32162. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  32163. }
  32164. var msglen int
  32165. for shift := uint(0); ; shift += 7 {
  32166. if shift >= 64 {
  32167. return ErrIntOverflowGenerated
  32168. }
  32169. if iNdEx >= l {
  32170. return io.ErrUnexpectedEOF
  32171. }
  32172. b := data[iNdEx]
  32173. iNdEx++
  32174. msglen |= (int(b) & 0x7F) << shift
  32175. if b < 0x80 {
  32176. break
  32177. }
  32178. }
  32179. if msglen < 0 {
  32180. return ErrInvalidLengthGenerated
  32181. }
  32182. postIndex := iNdEx + msglen
  32183. if postIndex > l {
  32184. return io.ErrUnexpectedEOF
  32185. }
  32186. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  32187. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32188. return err
  32189. }
  32190. iNdEx = postIndex
  32191. case 16:
  32192. if wireType != 2 {
  32193. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  32194. }
  32195. var stringLen uint64
  32196. for shift := uint(0); ; shift += 7 {
  32197. if shift >= 64 {
  32198. return ErrIntOverflowGenerated
  32199. }
  32200. if iNdEx >= l {
  32201. return io.ErrUnexpectedEOF
  32202. }
  32203. b := data[iNdEx]
  32204. iNdEx++
  32205. stringLen |= (uint64(b) & 0x7F) << shift
  32206. if b < 0x80 {
  32207. break
  32208. }
  32209. }
  32210. intStringLen := int(stringLen)
  32211. if intStringLen < 0 {
  32212. return ErrInvalidLengthGenerated
  32213. }
  32214. postIndex := iNdEx + intStringLen
  32215. if postIndex > l {
  32216. return io.ErrUnexpectedEOF
  32217. }
  32218. m.Hostname = string(data[iNdEx:postIndex])
  32219. iNdEx = postIndex
  32220. case 17:
  32221. if wireType != 2 {
  32222. return fmt.Errorf("proto: wrong wireType = %d for field Subdomain", wireType)
  32223. }
  32224. var stringLen uint64
  32225. for shift := uint(0); ; shift += 7 {
  32226. if shift >= 64 {
  32227. return ErrIntOverflowGenerated
  32228. }
  32229. if iNdEx >= l {
  32230. return io.ErrUnexpectedEOF
  32231. }
  32232. b := data[iNdEx]
  32233. iNdEx++
  32234. stringLen |= (uint64(b) & 0x7F) << shift
  32235. if b < 0x80 {
  32236. break
  32237. }
  32238. }
  32239. intStringLen := int(stringLen)
  32240. if intStringLen < 0 {
  32241. return ErrInvalidLengthGenerated
  32242. }
  32243. postIndex := iNdEx + intStringLen
  32244. if postIndex > l {
  32245. return io.ErrUnexpectedEOF
  32246. }
  32247. m.Subdomain = string(data[iNdEx:postIndex])
  32248. iNdEx = postIndex
  32249. case 18:
  32250. if wireType != 2 {
  32251. return fmt.Errorf("proto: wrong wireType = %d for field Affinity", wireType)
  32252. }
  32253. var msglen int
  32254. for shift := uint(0); ; shift += 7 {
  32255. if shift >= 64 {
  32256. return ErrIntOverflowGenerated
  32257. }
  32258. if iNdEx >= l {
  32259. return io.ErrUnexpectedEOF
  32260. }
  32261. b := data[iNdEx]
  32262. iNdEx++
  32263. msglen |= (int(b) & 0x7F) << shift
  32264. if b < 0x80 {
  32265. break
  32266. }
  32267. }
  32268. if msglen < 0 {
  32269. return ErrInvalidLengthGenerated
  32270. }
  32271. postIndex := iNdEx + msglen
  32272. if postIndex > l {
  32273. return io.ErrUnexpectedEOF
  32274. }
  32275. if m.Affinity == nil {
  32276. m.Affinity = &Affinity{}
  32277. }
  32278. if err := m.Affinity.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32279. return err
  32280. }
  32281. iNdEx = postIndex
  32282. case 19:
  32283. if wireType != 2 {
  32284. return fmt.Errorf("proto: wrong wireType = %d for field SchedulerName", wireType)
  32285. }
  32286. var stringLen uint64
  32287. for shift := uint(0); ; shift += 7 {
  32288. if shift >= 64 {
  32289. return ErrIntOverflowGenerated
  32290. }
  32291. if iNdEx >= l {
  32292. return io.ErrUnexpectedEOF
  32293. }
  32294. b := data[iNdEx]
  32295. iNdEx++
  32296. stringLen |= (uint64(b) & 0x7F) << shift
  32297. if b < 0x80 {
  32298. break
  32299. }
  32300. }
  32301. intStringLen := int(stringLen)
  32302. if intStringLen < 0 {
  32303. return ErrInvalidLengthGenerated
  32304. }
  32305. postIndex := iNdEx + intStringLen
  32306. if postIndex > l {
  32307. return io.ErrUnexpectedEOF
  32308. }
  32309. m.SchedulerName = string(data[iNdEx:postIndex])
  32310. iNdEx = postIndex
  32311. case 20:
  32312. if wireType != 2 {
  32313. return fmt.Errorf("proto: wrong wireType = %d for field InitContainers", wireType)
  32314. }
  32315. var msglen int
  32316. for shift := uint(0); ; shift += 7 {
  32317. if shift >= 64 {
  32318. return ErrIntOverflowGenerated
  32319. }
  32320. if iNdEx >= l {
  32321. return io.ErrUnexpectedEOF
  32322. }
  32323. b := data[iNdEx]
  32324. iNdEx++
  32325. msglen |= (int(b) & 0x7F) << shift
  32326. if b < 0x80 {
  32327. break
  32328. }
  32329. }
  32330. if msglen < 0 {
  32331. return ErrInvalidLengthGenerated
  32332. }
  32333. postIndex := iNdEx + msglen
  32334. if postIndex > l {
  32335. return io.ErrUnexpectedEOF
  32336. }
  32337. m.InitContainers = append(m.InitContainers, Container{})
  32338. if err := m.InitContainers[len(m.InitContainers)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32339. return err
  32340. }
  32341. iNdEx = postIndex
  32342. case 21:
  32343. if wireType != 0 {
  32344. return fmt.Errorf("proto: wrong wireType = %d for field AutomountServiceAccountToken", wireType)
  32345. }
  32346. var v int
  32347. for shift := uint(0); ; shift += 7 {
  32348. if shift >= 64 {
  32349. return ErrIntOverflowGenerated
  32350. }
  32351. if iNdEx >= l {
  32352. return io.ErrUnexpectedEOF
  32353. }
  32354. b := data[iNdEx]
  32355. iNdEx++
  32356. v |= (int(b) & 0x7F) << shift
  32357. if b < 0x80 {
  32358. break
  32359. }
  32360. }
  32361. b := bool(v != 0)
  32362. m.AutomountServiceAccountToken = &b
  32363. case 22:
  32364. if wireType != 2 {
  32365. return fmt.Errorf("proto: wrong wireType = %d for field Tolerations", wireType)
  32366. }
  32367. var msglen int
  32368. for shift := uint(0); ; shift += 7 {
  32369. if shift >= 64 {
  32370. return ErrIntOverflowGenerated
  32371. }
  32372. if iNdEx >= l {
  32373. return io.ErrUnexpectedEOF
  32374. }
  32375. b := data[iNdEx]
  32376. iNdEx++
  32377. msglen |= (int(b) & 0x7F) << shift
  32378. if b < 0x80 {
  32379. break
  32380. }
  32381. }
  32382. if msglen < 0 {
  32383. return ErrInvalidLengthGenerated
  32384. }
  32385. postIndex := iNdEx + msglen
  32386. if postIndex > l {
  32387. return io.ErrUnexpectedEOF
  32388. }
  32389. m.Tolerations = append(m.Tolerations, Toleration{})
  32390. if err := m.Tolerations[len(m.Tolerations)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32391. return err
  32392. }
  32393. iNdEx = postIndex
  32394. default:
  32395. iNdEx = preIndex
  32396. skippy, err := skipGenerated(data[iNdEx:])
  32397. if err != nil {
  32398. return err
  32399. }
  32400. if skippy < 0 {
  32401. return ErrInvalidLengthGenerated
  32402. }
  32403. if (iNdEx + skippy) > l {
  32404. return io.ErrUnexpectedEOF
  32405. }
  32406. iNdEx += skippy
  32407. }
  32408. }
  32409. if iNdEx > l {
  32410. return io.ErrUnexpectedEOF
  32411. }
  32412. return nil
  32413. }
  32414. func (m *PodStatus) Unmarshal(data []byte) error {
  32415. l := len(data)
  32416. iNdEx := 0
  32417. for iNdEx < l {
  32418. preIndex := iNdEx
  32419. var wire uint64
  32420. for shift := uint(0); ; shift += 7 {
  32421. if shift >= 64 {
  32422. return ErrIntOverflowGenerated
  32423. }
  32424. if iNdEx >= l {
  32425. return io.ErrUnexpectedEOF
  32426. }
  32427. b := data[iNdEx]
  32428. iNdEx++
  32429. wire |= (uint64(b) & 0x7F) << shift
  32430. if b < 0x80 {
  32431. break
  32432. }
  32433. }
  32434. fieldNum := int32(wire >> 3)
  32435. wireType := int(wire & 0x7)
  32436. if wireType == 4 {
  32437. return fmt.Errorf("proto: PodStatus: wiretype end group for non-group")
  32438. }
  32439. if fieldNum <= 0 {
  32440. return fmt.Errorf("proto: PodStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  32441. }
  32442. switch fieldNum {
  32443. case 1:
  32444. if wireType != 2 {
  32445. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  32446. }
  32447. var stringLen uint64
  32448. for shift := uint(0); ; shift += 7 {
  32449. if shift >= 64 {
  32450. return ErrIntOverflowGenerated
  32451. }
  32452. if iNdEx >= l {
  32453. return io.ErrUnexpectedEOF
  32454. }
  32455. b := data[iNdEx]
  32456. iNdEx++
  32457. stringLen |= (uint64(b) & 0x7F) << shift
  32458. if b < 0x80 {
  32459. break
  32460. }
  32461. }
  32462. intStringLen := int(stringLen)
  32463. if intStringLen < 0 {
  32464. return ErrInvalidLengthGenerated
  32465. }
  32466. postIndex := iNdEx + intStringLen
  32467. if postIndex > l {
  32468. return io.ErrUnexpectedEOF
  32469. }
  32470. m.Phase = PodPhase(data[iNdEx:postIndex])
  32471. iNdEx = postIndex
  32472. case 2:
  32473. if wireType != 2 {
  32474. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  32475. }
  32476. var msglen int
  32477. for shift := uint(0); ; shift += 7 {
  32478. if shift >= 64 {
  32479. return ErrIntOverflowGenerated
  32480. }
  32481. if iNdEx >= l {
  32482. return io.ErrUnexpectedEOF
  32483. }
  32484. b := data[iNdEx]
  32485. iNdEx++
  32486. msglen |= (int(b) & 0x7F) << shift
  32487. if b < 0x80 {
  32488. break
  32489. }
  32490. }
  32491. if msglen < 0 {
  32492. return ErrInvalidLengthGenerated
  32493. }
  32494. postIndex := iNdEx + msglen
  32495. if postIndex > l {
  32496. return io.ErrUnexpectedEOF
  32497. }
  32498. m.Conditions = append(m.Conditions, PodCondition{})
  32499. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32500. return err
  32501. }
  32502. iNdEx = postIndex
  32503. case 3:
  32504. if wireType != 2 {
  32505. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  32506. }
  32507. var stringLen uint64
  32508. for shift := uint(0); ; shift += 7 {
  32509. if shift >= 64 {
  32510. return ErrIntOverflowGenerated
  32511. }
  32512. if iNdEx >= l {
  32513. return io.ErrUnexpectedEOF
  32514. }
  32515. b := data[iNdEx]
  32516. iNdEx++
  32517. stringLen |= (uint64(b) & 0x7F) << shift
  32518. if b < 0x80 {
  32519. break
  32520. }
  32521. }
  32522. intStringLen := int(stringLen)
  32523. if intStringLen < 0 {
  32524. return ErrInvalidLengthGenerated
  32525. }
  32526. postIndex := iNdEx + intStringLen
  32527. if postIndex > l {
  32528. return io.ErrUnexpectedEOF
  32529. }
  32530. m.Message = string(data[iNdEx:postIndex])
  32531. iNdEx = postIndex
  32532. case 4:
  32533. if wireType != 2 {
  32534. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  32535. }
  32536. var stringLen uint64
  32537. for shift := uint(0); ; shift += 7 {
  32538. if shift >= 64 {
  32539. return ErrIntOverflowGenerated
  32540. }
  32541. if iNdEx >= l {
  32542. return io.ErrUnexpectedEOF
  32543. }
  32544. b := data[iNdEx]
  32545. iNdEx++
  32546. stringLen |= (uint64(b) & 0x7F) << shift
  32547. if b < 0x80 {
  32548. break
  32549. }
  32550. }
  32551. intStringLen := int(stringLen)
  32552. if intStringLen < 0 {
  32553. return ErrInvalidLengthGenerated
  32554. }
  32555. postIndex := iNdEx + intStringLen
  32556. if postIndex > l {
  32557. return io.ErrUnexpectedEOF
  32558. }
  32559. m.Reason = string(data[iNdEx:postIndex])
  32560. iNdEx = postIndex
  32561. case 5:
  32562. if wireType != 2 {
  32563. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  32564. }
  32565. var stringLen uint64
  32566. for shift := uint(0); ; shift += 7 {
  32567. if shift >= 64 {
  32568. return ErrIntOverflowGenerated
  32569. }
  32570. if iNdEx >= l {
  32571. return io.ErrUnexpectedEOF
  32572. }
  32573. b := data[iNdEx]
  32574. iNdEx++
  32575. stringLen |= (uint64(b) & 0x7F) << shift
  32576. if b < 0x80 {
  32577. break
  32578. }
  32579. }
  32580. intStringLen := int(stringLen)
  32581. if intStringLen < 0 {
  32582. return ErrInvalidLengthGenerated
  32583. }
  32584. postIndex := iNdEx + intStringLen
  32585. if postIndex > l {
  32586. return io.ErrUnexpectedEOF
  32587. }
  32588. m.HostIP = string(data[iNdEx:postIndex])
  32589. iNdEx = postIndex
  32590. case 6:
  32591. if wireType != 2 {
  32592. return fmt.Errorf("proto: wrong wireType = %d for field PodIP", wireType)
  32593. }
  32594. var stringLen uint64
  32595. for shift := uint(0); ; shift += 7 {
  32596. if shift >= 64 {
  32597. return ErrIntOverflowGenerated
  32598. }
  32599. if iNdEx >= l {
  32600. return io.ErrUnexpectedEOF
  32601. }
  32602. b := data[iNdEx]
  32603. iNdEx++
  32604. stringLen |= (uint64(b) & 0x7F) << shift
  32605. if b < 0x80 {
  32606. break
  32607. }
  32608. }
  32609. intStringLen := int(stringLen)
  32610. if intStringLen < 0 {
  32611. return ErrInvalidLengthGenerated
  32612. }
  32613. postIndex := iNdEx + intStringLen
  32614. if postIndex > l {
  32615. return io.ErrUnexpectedEOF
  32616. }
  32617. m.PodIP = string(data[iNdEx:postIndex])
  32618. iNdEx = postIndex
  32619. case 7:
  32620. if wireType != 2 {
  32621. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  32622. }
  32623. var msglen int
  32624. for shift := uint(0); ; shift += 7 {
  32625. if shift >= 64 {
  32626. return ErrIntOverflowGenerated
  32627. }
  32628. if iNdEx >= l {
  32629. return io.ErrUnexpectedEOF
  32630. }
  32631. b := data[iNdEx]
  32632. iNdEx++
  32633. msglen |= (int(b) & 0x7F) << shift
  32634. if b < 0x80 {
  32635. break
  32636. }
  32637. }
  32638. if msglen < 0 {
  32639. return ErrInvalidLengthGenerated
  32640. }
  32641. postIndex := iNdEx + msglen
  32642. if postIndex > l {
  32643. return io.ErrUnexpectedEOF
  32644. }
  32645. if m.StartTime == nil {
  32646. m.StartTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  32647. }
  32648. if err := m.StartTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32649. return err
  32650. }
  32651. iNdEx = postIndex
  32652. case 8:
  32653. if wireType != 2 {
  32654. return fmt.Errorf("proto: wrong wireType = %d for field ContainerStatuses", wireType)
  32655. }
  32656. var msglen int
  32657. for shift := uint(0); ; shift += 7 {
  32658. if shift >= 64 {
  32659. return ErrIntOverflowGenerated
  32660. }
  32661. if iNdEx >= l {
  32662. return io.ErrUnexpectedEOF
  32663. }
  32664. b := data[iNdEx]
  32665. iNdEx++
  32666. msglen |= (int(b) & 0x7F) << shift
  32667. if b < 0x80 {
  32668. break
  32669. }
  32670. }
  32671. if msglen < 0 {
  32672. return ErrInvalidLengthGenerated
  32673. }
  32674. postIndex := iNdEx + msglen
  32675. if postIndex > l {
  32676. return io.ErrUnexpectedEOF
  32677. }
  32678. m.ContainerStatuses = append(m.ContainerStatuses, ContainerStatus{})
  32679. if err := m.ContainerStatuses[len(m.ContainerStatuses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32680. return err
  32681. }
  32682. iNdEx = postIndex
  32683. case 9:
  32684. if wireType != 2 {
  32685. return fmt.Errorf("proto: wrong wireType = %d for field QOSClass", wireType)
  32686. }
  32687. var stringLen uint64
  32688. for shift := uint(0); ; shift += 7 {
  32689. if shift >= 64 {
  32690. return ErrIntOverflowGenerated
  32691. }
  32692. if iNdEx >= l {
  32693. return io.ErrUnexpectedEOF
  32694. }
  32695. b := data[iNdEx]
  32696. iNdEx++
  32697. stringLen |= (uint64(b) & 0x7F) << shift
  32698. if b < 0x80 {
  32699. break
  32700. }
  32701. }
  32702. intStringLen := int(stringLen)
  32703. if intStringLen < 0 {
  32704. return ErrInvalidLengthGenerated
  32705. }
  32706. postIndex := iNdEx + intStringLen
  32707. if postIndex > l {
  32708. return io.ErrUnexpectedEOF
  32709. }
  32710. m.QOSClass = PodQOSClass(data[iNdEx:postIndex])
  32711. iNdEx = postIndex
  32712. case 10:
  32713. if wireType != 2 {
  32714. return fmt.Errorf("proto: wrong wireType = %d for field InitContainerStatuses", wireType)
  32715. }
  32716. var msglen int
  32717. for shift := uint(0); ; shift += 7 {
  32718. if shift >= 64 {
  32719. return ErrIntOverflowGenerated
  32720. }
  32721. if iNdEx >= l {
  32722. return io.ErrUnexpectedEOF
  32723. }
  32724. b := data[iNdEx]
  32725. iNdEx++
  32726. msglen |= (int(b) & 0x7F) << shift
  32727. if b < 0x80 {
  32728. break
  32729. }
  32730. }
  32731. if msglen < 0 {
  32732. return ErrInvalidLengthGenerated
  32733. }
  32734. postIndex := iNdEx + msglen
  32735. if postIndex > l {
  32736. return io.ErrUnexpectedEOF
  32737. }
  32738. m.InitContainerStatuses = append(m.InitContainerStatuses, ContainerStatus{})
  32739. if err := m.InitContainerStatuses[len(m.InitContainerStatuses)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  32740. return err
  32741. }
  32742. iNdEx = postIndex
  32743. default:
  32744. iNdEx = preIndex
  32745. skippy, err := skipGenerated(data[iNdEx:])
  32746. if err != nil {
  32747. return err
  32748. }
  32749. if skippy < 0 {
  32750. return ErrInvalidLengthGenerated
  32751. }
  32752. if (iNdEx + skippy) > l {
  32753. return io.ErrUnexpectedEOF
  32754. }
  32755. iNdEx += skippy
  32756. }
  32757. }
  32758. if iNdEx > l {
  32759. return io.ErrUnexpectedEOF
  32760. }
  32761. return nil
  32762. }
  32763. func (m *PodStatusResult) Unmarshal(data []byte) error {
  32764. l := len(data)
  32765. iNdEx := 0
  32766. for iNdEx < l {
  32767. preIndex := iNdEx
  32768. var wire uint64
  32769. for shift := uint(0); ; shift += 7 {
  32770. if shift >= 64 {
  32771. return ErrIntOverflowGenerated
  32772. }
  32773. if iNdEx >= l {
  32774. return io.ErrUnexpectedEOF
  32775. }
  32776. b := data[iNdEx]
  32777. iNdEx++
  32778. wire |= (uint64(b) & 0x7F) << shift
  32779. if b < 0x80 {
  32780. break
  32781. }
  32782. }
  32783. fieldNum := int32(wire >> 3)
  32784. wireType := int(wire & 0x7)
  32785. if wireType == 4 {
  32786. return fmt.Errorf("proto: PodStatusResult: wiretype end group for non-group")
  32787. }
  32788. if fieldNum <= 0 {
  32789. return fmt.Errorf("proto: PodStatusResult: illegal tag %d (wire type %d)", fieldNum, wire)
  32790. }
  32791. switch fieldNum {
  32792. case 1:
  32793. if wireType != 2 {
  32794. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  32795. }
  32796. var msglen int
  32797. for shift := uint(0); ; shift += 7 {
  32798. if shift >= 64 {
  32799. return ErrIntOverflowGenerated
  32800. }
  32801. if iNdEx >= l {
  32802. return io.ErrUnexpectedEOF
  32803. }
  32804. b := data[iNdEx]
  32805. iNdEx++
  32806. msglen |= (int(b) & 0x7F) << shift
  32807. if b < 0x80 {
  32808. break
  32809. }
  32810. }
  32811. if msglen < 0 {
  32812. return ErrInvalidLengthGenerated
  32813. }
  32814. postIndex := iNdEx + msglen
  32815. if postIndex > l {
  32816. return io.ErrUnexpectedEOF
  32817. }
  32818. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32819. return err
  32820. }
  32821. iNdEx = postIndex
  32822. case 2:
  32823. if wireType != 2 {
  32824. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  32825. }
  32826. var msglen int
  32827. for shift := uint(0); ; shift += 7 {
  32828. if shift >= 64 {
  32829. return ErrIntOverflowGenerated
  32830. }
  32831. if iNdEx >= l {
  32832. return io.ErrUnexpectedEOF
  32833. }
  32834. b := data[iNdEx]
  32835. iNdEx++
  32836. msglen |= (int(b) & 0x7F) << shift
  32837. if b < 0x80 {
  32838. break
  32839. }
  32840. }
  32841. if msglen < 0 {
  32842. return ErrInvalidLengthGenerated
  32843. }
  32844. postIndex := iNdEx + msglen
  32845. if postIndex > l {
  32846. return io.ErrUnexpectedEOF
  32847. }
  32848. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32849. return err
  32850. }
  32851. iNdEx = postIndex
  32852. default:
  32853. iNdEx = preIndex
  32854. skippy, err := skipGenerated(data[iNdEx:])
  32855. if err != nil {
  32856. return err
  32857. }
  32858. if skippy < 0 {
  32859. return ErrInvalidLengthGenerated
  32860. }
  32861. if (iNdEx + skippy) > l {
  32862. return io.ErrUnexpectedEOF
  32863. }
  32864. iNdEx += skippy
  32865. }
  32866. }
  32867. if iNdEx > l {
  32868. return io.ErrUnexpectedEOF
  32869. }
  32870. return nil
  32871. }
  32872. func (m *PodTemplate) Unmarshal(data []byte) error {
  32873. l := len(data)
  32874. iNdEx := 0
  32875. for iNdEx < l {
  32876. preIndex := iNdEx
  32877. var wire uint64
  32878. for shift := uint(0); ; shift += 7 {
  32879. if shift >= 64 {
  32880. return ErrIntOverflowGenerated
  32881. }
  32882. if iNdEx >= l {
  32883. return io.ErrUnexpectedEOF
  32884. }
  32885. b := data[iNdEx]
  32886. iNdEx++
  32887. wire |= (uint64(b) & 0x7F) << shift
  32888. if b < 0x80 {
  32889. break
  32890. }
  32891. }
  32892. fieldNum := int32(wire >> 3)
  32893. wireType := int(wire & 0x7)
  32894. if wireType == 4 {
  32895. return fmt.Errorf("proto: PodTemplate: wiretype end group for non-group")
  32896. }
  32897. if fieldNum <= 0 {
  32898. return fmt.Errorf("proto: PodTemplate: illegal tag %d (wire type %d)", fieldNum, wire)
  32899. }
  32900. switch fieldNum {
  32901. case 1:
  32902. if wireType != 2 {
  32903. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  32904. }
  32905. var msglen int
  32906. for shift := uint(0); ; shift += 7 {
  32907. if shift >= 64 {
  32908. return ErrIntOverflowGenerated
  32909. }
  32910. if iNdEx >= l {
  32911. return io.ErrUnexpectedEOF
  32912. }
  32913. b := data[iNdEx]
  32914. iNdEx++
  32915. msglen |= (int(b) & 0x7F) << shift
  32916. if b < 0x80 {
  32917. break
  32918. }
  32919. }
  32920. if msglen < 0 {
  32921. return ErrInvalidLengthGenerated
  32922. }
  32923. postIndex := iNdEx + msglen
  32924. if postIndex > l {
  32925. return io.ErrUnexpectedEOF
  32926. }
  32927. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32928. return err
  32929. }
  32930. iNdEx = postIndex
  32931. case 2:
  32932. if wireType != 2 {
  32933. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  32934. }
  32935. var msglen int
  32936. for shift := uint(0); ; shift += 7 {
  32937. if shift >= 64 {
  32938. return ErrIntOverflowGenerated
  32939. }
  32940. if iNdEx >= l {
  32941. return io.ErrUnexpectedEOF
  32942. }
  32943. b := data[iNdEx]
  32944. iNdEx++
  32945. msglen |= (int(b) & 0x7F) << shift
  32946. if b < 0x80 {
  32947. break
  32948. }
  32949. }
  32950. if msglen < 0 {
  32951. return ErrInvalidLengthGenerated
  32952. }
  32953. postIndex := iNdEx + msglen
  32954. if postIndex > l {
  32955. return io.ErrUnexpectedEOF
  32956. }
  32957. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  32958. return err
  32959. }
  32960. iNdEx = postIndex
  32961. default:
  32962. iNdEx = preIndex
  32963. skippy, err := skipGenerated(data[iNdEx:])
  32964. if err != nil {
  32965. return err
  32966. }
  32967. if skippy < 0 {
  32968. return ErrInvalidLengthGenerated
  32969. }
  32970. if (iNdEx + skippy) > l {
  32971. return io.ErrUnexpectedEOF
  32972. }
  32973. iNdEx += skippy
  32974. }
  32975. }
  32976. if iNdEx > l {
  32977. return io.ErrUnexpectedEOF
  32978. }
  32979. return nil
  32980. }
  32981. func (m *PodTemplateList) Unmarshal(data []byte) error {
  32982. l := len(data)
  32983. iNdEx := 0
  32984. for iNdEx < l {
  32985. preIndex := iNdEx
  32986. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  32997. if b < 0x80 {
  32998. break
  32999. }
  33000. }
  33001. fieldNum := int32(wire >> 3)
  33002. wireType := int(wire & 0x7)
  33003. if wireType == 4 {
  33004. return fmt.Errorf("proto: PodTemplateList: wiretype end group for non-group")
  33005. }
  33006. if fieldNum <= 0 {
  33007. return fmt.Errorf("proto: PodTemplateList: illegal tag %d (wire type %d)", fieldNum, wire)
  33008. }
  33009. switch fieldNum {
  33010. case 1:
  33011. if wireType != 2 {
  33012. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  33013. }
  33014. var msglen int
  33015. for shift := uint(0); ; shift += 7 {
  33016. if shift >= 64 {
  33017. return ErrIntOverflowGenerated
  33018. }
  33019. if iNdEx >= l {
  33020. return io.ErrUnexpectedEOF
  33021. }
  33022. b := data[iNdEx]
  33023. iNdEx++
  33024. msglen |= (int(b) & 0x7F) << shift
  33025. if b < 0x80 {
  33026. break
  33027. }
  33028. }
  33029. if msglen < 0 {
  33030. return ErrInvalidLengthGenerated
  33031. }
  33032. postIndex := iNdEx + msglen
  33033. if postIndex > l {
  33034. return io.ErrUnexpectedEOF
  33035. }
  33036. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33037. return err
  33038. }
  33039. iNdEx = postIndex
  33040. case 2:
  33041. if wireType != 2 {
  33042. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  33043. }
  33044. var msglen int
  33045. for shift := uint(0); ; shift += 7 {
  33046. if shift >= 64 {
  33047. return ErrIntOverflowGenerated
  33048. }
  33049. if iNdEx >= l {
  33050. return io.ErrUnexpectedEOF
  33051. }
  33052. b := data[iNdEx]
  33053. iNdEx++
  33054. msglen |= (int(b) & 0x7F) << shift
  33055. if b < 0x80 {
  33056. break
  33057. }
  33058. }
  33059. if msglen < 0 {
  33060. return ErrInvalidLengthGenerated
  33061. }
  33062. postIndex := iNdEx + msglen
  33063. if postIndex > l {
  33064. return io.ErrUnexpectedEOF
  33065. }
  33066. m.Items = append(m.Items, PodTemplate{})
  33067. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  33068. return err
  33069. }
  33070. iNdEx = postIndex
  33071. default:
  33072. iNdEx = preIndex
  33073. skippy, err := skipGenerated(data[iNdEx:])
  33074. if err != nil {
  33075. return err
  33076. }
  33077. if skippy < 0 {
  33078. return ErrInvalidLengthGenerated
  33079. }
  33080. if (iNdEx + skippy) > l {
  33081. return io.ErrUnexpectedEOF
  33082. }
  33083. iNdEx += skippy
  33084. }
  33085. }
  33086. if iNdEx > l {
  33087. return io.ErrUnexpectedEOF
  33088. }
  33089. return nil
  33090. }
  33091. func (m *PodTemplateSpec) Unmarshal(data []byte) error {
  33092. l := len(data)
  33093. iNdEx := 0
  33094. for iNdEx < l {
  33095. preIndex := iNdEx
  33096. var wire uint64
  33097. for shift := uint(0); ; shift += 7 {
  33098. if shift >= 64 {
  33099. return ErrIntOverflowGenerated
  33100. }
  33101. if iNdEx >= l {
  33102. return io.ErrUnexpectedEOF
  33103. }
  33104. b := data[iNdEx]
  33105. iNdEx++
  33106. wire |= (uint64(b) & 0x7F) << shift
  33107. if b < 0x80 {
  33108. break
  33109. }
  33110. }
  33111. fieldNum := int32(wire >> 3)
  33112. wireType := int(wire & 0x7)
  33113. if wireType == 4 {
  33114. return fmt.Errorf("proto: PodTemplateSpec: wiretype end group for non-group")
  33115. }
  33116. if fieldNum <= 0 {
  33117. return fmt.Errorf("proto: PodTemplateSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  33118. }
  33119. switch fieldNum {
  33120. case 1:
  33121. if wireType != 2 {
  33122. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  33123. }
  33124. var msglen int
  33125. for shift := uint(0); ; shift += 7 {
  33126. if shift >= 64 {
  33127. return ErrIntOverflowGenerated
  33128. }
  33129. if iNdEx >= l {
  33130. return io.ErrUnexpectedEOF
  33131. }
  33132. b := data[iNdEx]
  33133. iNdEx++
  33134. msglen |= (int(b) & 0x7F) << shift
  33135. if b < 0x80 {
  33136. break
  33137. }
  33138. }
  33139. if msglen < 0 {
  33140. return ErrInvalidLengthGenerated
  33141. }
  33142. postIndex := iNdEx + msglen
  33143. if postIndex > l {
  33144. return io.ErrUnexpectedEOF
  33145. }
  33146. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33147. return err
  33148. }
  33149. iNdEx = postIndex
  33150. case 2:
  33151. if wireType != 2 {
  33152. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  33153. }
  33154. var msglen int
  33155. for shift := uint(0); ; shift += 7 {
  33156. if shift >= 64 {
  33157. return ErrIntOverflowGenerated
  33158. }
  33159. if iNdEx >= l {
  33160. return io.ErrUnexpectedEOF
  33161. }
  33162. b := data[iNdEx]
  33163. iNdEx++
  33164. msglen |= (int(b) & 0x7F) << shift
  33165. if b < 0x80 {
  33166. break
  33167. }
  33168. }
  33169. if msglen < 0 {
  33170. return ErrInvalidLengthGenerated
  33171. }
  33172. postIndex := iNdEx + msglen
  33173. if postIndex > l {
  33174. return io.ErrUnexpectedEOF
  33175. }
  33176. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33177. return err
  33178. }
  33179. iNdEx = postIndex
  33180. default:
  33181. iNdEx = preIndex
  33182. skippy, err := skipGenerated(data[iNdEx:])
  33183. if err != nil {
  33184. return err
  33185. }
  33186. if skippy < 0 {
  33187. return ErrInvalidLengthGenerated
  33188. }
  33189. if (iNdEx + skippy) > l {
  33190. return io.ErrUnexpectedEOF
  33191. }
  33192. iNdEx += skippy
  33193. }
  33194. }
  33195. if iNdEx > l {
  33196. return io.ErrUnexpectedEOF
  33197. }
  33198. return nil
  33199. }
  33200. func (m *PortworxVolumeSource) Unmarshal(data []byte) error {
  33201. l := len(data)
  33202. iNdEx := 0
  33203. for iNdEx < l {
  33204. preIndex := iNdEx
  33205. var wire uint64
  33206. for shift := uint(0); ; shift += 7 {
  33207. if shift >= 64 {
  33208. return ErrIntOverflowGenerated
  33209. }
  33210. if iNdEx >= l {
  33211. return io.ErrUnexpectedEOF
  33212. }
  33213. b := data[iNdEx]
  33214. iNdEx++
  33215. wire |= (uint64(b) & 0x7F) << shift
  33216. if b < 0x80 {
  33217. break
  33218. }
  33219. }
  33220. fieldNum := int32(wire >> 3)
  33221. wireType := int(wire & 0x7)
  33222. if wireType == 4 {
  33223. return fmt.Errorf("proto: PortworxVolumeSource: wiretype end group for non-group")
  33224. }
  33225. if fieldNum <= 0 {
  33226. return fmt.Errorf("proto: PortworxVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  33227. }
  33228. switch fieldNum {
  33229. case 1:
  33230. if wireType != 2 {
  33231. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  33232. }
  33233. var stringLen uint64
  33234. for shift := uint(0); ; shift += 7 {
  33235. if shift >= 64 {
  33236. return ErrIntOverflowGenerated
  33237. }
  33238. if iNdEx >= l {
  33239. return io.ErrUnexpectedEOF
  33240. }
  33241. b := data[iNdEx]
  33242. iNdEx++
  33243. stringLen |= (uint64(b) & 0x7F) << shift
  33244. if b < 0x80 {
  33245. break
  33246. }
  33247. }
  33248. intStringLen := int(stringLen)
  33249. if intStringLen < 0 {
  33250. return ErrInvalidLengthGenerated
  33251. }
  33252. postIndex := iNdEx + intStringLen
  33253. if postIndex > l {
  33254. return io.ErrUnexpectedEOF
  33255. }
  33256. m.VolumeID = string(data[iNdEx:postIndex])
  33257. iNdEx = postIndex
  33258. case 2:
  33259. if wireType != 2 {
  33260. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  33261. }
  33262. var stringLen uint64
  33263. for shift := uint(0); ; shift += 7 {
  33264. if shift >= 64 {
  33265. return ErrIntOverflowGenerated
  33266. }
  33267. if iNdEx >= l {
  33268. return io.ErrUnexpectedEOF
  33269. }
  33270. b := data[iNdEx]
  33271. iNdEx++
  33272. stringLen |= (uint64(b) & 0x7F) << shift
  33273. if b < 0x80 {
  33274. break
  33275. }
  33276. }
  33277. intStringLen := int(stringLen)
  33278. if intStringLen < 0 {
  33279. return ErrInvalidLengthGenerated
  33280. }
  33281. postIndex := iNdEx + intStringLen
  33282. if postIndex > l {
  33283. return io.ErrUnexpectedEOF
  33284. }
  33285. m.FSType = string(data[iNdEx:postIndex])
  33286. iNdEx = postIndex
  33287. case 3:
  33288. if wireType != 0 {
  33289. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  33290. }
  33291. var v int
  33292. for shift := uint(0); ; shift += 7 {
  33293. if shift >= 64 {
  33294. return ErrIntOverflowGenerated
  33295. }
  33296. if iNdEx >= l {
  33297. return io.ErrUnexpectedEOF
  33298. }
  33299. b := data[iNdEx]
  33300. iNdEx++
  33301. v |= (int(b) & 0x7F) << shift
  33302. if b < 0x80 {
  33303. break
  33304. }
  33305. }
  33306. m.ReadOnly = bool(v != 0)
  33307. default:
  33308. iNdEx = preIndex
  33309. skippy, err := skipGenerated(data[iNdEx:])
  33310. if err != nil {
  33311. return err
  33312. }
  33313. if skippy < 0 {
  33314. return ErrInvalidLengthGenerated
  33315. }
  33316. if (iNdEx + skippy) > l {
  33317. return io.ErrUnexpectedEOF
  33318. }
  33319. iNdEx += skippy
  33320. }
  33321. }
  33322. if iNdEx > l {
  33323. return io.ErrUnexpectedEOF
  33324. }
  33325. return nil
  33326. }
  33327. func (m *Preconditions) Unmarshal(data []byte) error {
  33328. l := len(data)
  33329. iNdEx := 0
  33330. for iNdEx < l {
  33331. preIndex := iNdEx
  33332. var wire uint64
  33333. for shift := uint(0); ; shift += 7 {
  33334. if shift >= 64 {
  33335. return ErrIntOverflowGenerated
  33336. }
  33337. if iNdEx >= l {
  33338. return io.ErrUnexpectedEOF
  33339. }
  33340. b := data[iNdEx]
  33341. iNdEx++
  33342. wire |= (uint64(b) & 0x7F) << shift
  33343. if b < 0x80 {
  33344. break
  33345. }
  33346. }
  33347. fieldNum := int32(wire >> 3)
  33348. wireType := int(wire & 0x7)
  33349. if wireType == 4 {
  33350. return fmt.Errorf("proto: Preconditions: wiretype end group for non-group")
  33351. }
  33352. if fieldNum <= 0 {
  33353. return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire)
  33354. }
  33355. switch fieldNum {
  33356. case 1:
  33357. if wireType != 2 {
  33358. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  33359. }
  33360. var stringLen uint64
  33361. for shift := uint(0); ; shift += 7 {
  33362. if shift >= 64 {
  33363. return ErrIntOverflowGenerated
  33364. }
  33365. if iNdEx >= l {
  33366. return io.ErrUnexpectedEOF
  33367. }
  33368. b := data[iNdEx]
  33369. iNdEx++
  33370. stringLen |= (uint64(b) & 0x7F) << shift
  33371. if b < 0x80 {
  33372. break
  33373. }
  33374. }
  33375. intStringLen := int(stringLen)
  33376. if intStringLen < 0 {
  33377. return ErrInvalidLengthGenerated
  33378. }
  33379. postIndex := iNdEx + intStringLen
  33380. if postIndex > l {
  33381. return io.ErrUnexpectedEOF
  33382. }
  33383. s := k8s_io_apimachinery_pkg_types.UID(data[iNdEx:postIndex])
  33384. m.UID = &s
  33385. iNdEx = postIndex
  33386. default:
  33387. iNdEx = preIndex
  33388. skippy, err := skipGenerated(data[iNdEx:])
  33389. if err != nil {
  33390. return err
  33391. }
  33392. if skippy < 0 {
  33393. return ErrInvalidLengthGenerated
  33394. }
  33395. if (iNdEx + skippy) > l {
  33396. return io.ErrUnexpectedEOF
  33397. }
  33398. iNdEx += skippy
  33399. }
  33400. }
  33401. if iNdEx > l {
  33402. return io.ErrUnexpectedEOF
  33403. }
  33404. return nil
  33405. }
  33406. func (m *PreferAvoidPodsEntry) Unmarshal(data []byte) error {
  33407. l := len(data)
  33408. iNdEx := 0
  33409. for iNdEx < l {
  33410. preIndex := iNdEx
  33411. var wire uint64
  33412. for shift := uint(0); ; shift += 7 {
  33413. if shift >= 64 {
  33414. return ErrIntOverflowGenerated
  33415. }
  33416. if iNdEx >= l {
  33417. return io.ErrUnexpectedEOF
  33418. }
  33419. b := data[iNdEx]
  33420. iNdEx++
  33421. wire |= (uint64(b) & 0x7F) << shift
  33422. if b < 0x80 {
  33423. break
  33424. }
  33425. }
  33426. fieldNum := int32(wire >> 3)
  33427. wireType := int(wire & 0x7)
  33428. if wireType == 4 {
  33429. return fmt.Errorf("proto: PreferAvoidPodsEntry: wiretype end group for non-group")
  33430. }
  33431. if fieldNum <= 0 {
  33432. return fmt.Errorf("proto: PreferAvoidPodsEntry: illegal tag %d (wire type %d)", fieldNum, wire)
  33433. }
  33434. switch fieldNum {
  33435. case 1:
  33436. if wireType != 2 {
  33437. return fmt.Errorf("proto: wrong wireType = %d for field PodSignature", wireType)
  33438. }
  33439. var msglen int
  33440. for shift := uint(0); ; shift += 7 {
  33441. if shift >= 64 {
  33442. return ErrIntOverflowGenerated
  33443. }
  33444. if iNdEx >= l {
  33445. return io.ErrUnexpectedEOF
  33446. }
  33447. b := data[iNdEx]
  33448. iNdEx++
  33449. msglen |= (int(b) & 0x7F) << shift
  33450. if b < 0x80 {
  33451. break
  33452. }
  33453. }
  33454. if msglen < 0 {
  33455. return ErrInvalidLengthGenerated
  33456. }
  33457. postIndex := iNdEx + msglen
  33458. if postIndex > l {
  33459. return io.ErrUnexpectedEOF
  33460. }
  33461. if err := m.PodSignature.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33462. return err
  33463. }
  33464. iNdEx = postIndex
  33465. case 2:
  33466. if wireType != 2 {
  33467. return fmt.Errorf("proto: wrong wireType = %d for field EvictionTime", wireType)
  33468. }
  33469. var msglen int
  33470. for shift := uint(0); ; shift += 7 {
  33471. if shift >= 64 {
  33472. return ErrIntOverflowGenerated
  33473. }
  33474. if iNdEx >= l {
  33475. return io.ErrUnexpectedEOF
  33476. }
  33477. b := data[iNdEx]
  33478. iNdEx++
  33479. msglen |= (int(b) & 0x7F) << shift
  33480. if b < 0x80 {
  33481. break
  33482. }
  33483. }
  33484. if msglen < 0 {
  33485. return ErrInvalidLengthGenerated
  33486. }
  33487. postIndex := iNdEx + msglen
  33488. if postIndex > l {
  33489. return io.ErrUnexpectedEOF
  33490. }
  33491. if err := m.EvictionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33492. return err
  33493. }
  33494. iNdEx = postIndex
  33495. case 3:
  33496. if wireType != 2 {
  33497. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  33498. }
  33499. var stringLen uint64
  33500. for shift := uint(0); ; shift += 7 {
  33501. if shift >= 64 {
  33502. return ErrIntOverflowGenerated
  33503. }
  33504. if iNdEx >= l {
  33505. return io.ErrUnexpectedEOF
  33506. }
  33507. b := data[iNdEx]
  33508. iNdEx++
  33509. stringLen |= (uint64(b) & 0x7F) << shift
  33510. if b < 0x80 {
  33511. break
  33512. }
  33513. }
  33514. intStringLen := int(stringLen)
  33515. if intStringLen < 0 {
  33516. return ErrInvalidLengthGenerated
  33517. }
  33518. postIndex := iNdEx + intStringLen
  33519. if postIndex > l {
  33520. return io.ErrUnexpectedEOF
  33521. }
  33522. m.Reason = string(data[iNdEx:postIndex])
  33523. iNdEx = postIndex
  33524. case 4:
  33525. if wireType != 2 {
  33526. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  33527. }
  33528. var stringLen uint64
  33529. for shift := uint(0); ; shift += 7 {
  33530. if shift >= 64 {
  33531. return ErrIntOverflowGenerated
  33532. }
  33533. if iNdEx >= l {
  33534. return io.ErrUnexpectedEOF
  33535. }
  33536. b := data[iNdEx]
  33537. iNdEx++
  33538. stringLen |= (uint64(b) & 0x7F) << shift
  33539. if b < 0x80 {
  33540. break
  33541. }
  33542. }
  33543. intStringLen := int(stringLen)
  33544. if intStringLen < 0 {
  33545. return ErrInvalidLengthGenerated
  33546. }
  33547. postIndex := iNdEx + intStringLen
  33548. if postIndex > l {
  33549. return io.ErrUnexpectedEOF
  33550. }
  33551. m.Message = string(data[iNdEx:postIndex])
  33552. iNdEx = postIndex
  33553. default:
  33554. iNdEx = preIndex
  33555. skippy, err := skipGenerated(data[iNdEx:])
  33556. if err != nil {
  33557. return err
  33558. }
  33559. if skippy < 0 {
  33560. return ErrInvalidLengthGenerated
  33561. }
  33562. if (iNdEx + skippy) > l {
  33563. return io.ErrUnexpectedEOF
  33564. }
  33565. iNdEx += skippy
  33566. }
  33567. }
  33568. if iNdEx > l {
  33569. return io.ErrUnexpectedEOF
  33570. }
  33571. return nil
  33572. }
  33573. func (m *PreferredSchedulingTerm) Unmarshal(data []byte) error {
  33574. l := len(data)
  33575. iNdEx := 0
  33576. for iNdEx < l {
  33577. preIndex := iNdEx
  33578. var wire uint64
  33579. for shift := uint(0); ; shift += 7 {
  33580. if shift >= 64 {
  33581. return ErrIntOverflowGenerated
  33582. }
  33583. if iNdEx >= l {
  33584. return io.ErrUnexpectedEOF
  33585. }
  33586. b := data[iNdEx]
  33587. iNdEx++
  33588. wire |= (uint64(b) & 0x7F) << shift
  33589. if b < 0x80 {
  33590. break
  33591. }
  33592. }
  33593. fieldNum := int32(wire >> 3)
  33594. wireType := int(wire & 0x7)
  33595. if wireType == 4 {
  33596. return fmt.Errorf("proto: PreferredSchedulingTerm: wiretype end group for non-group")
  33597. }
  33598. if fieldNum <= 0 {
  33599. return fmt.Errorf("proto: PreferredSchedulingTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  33600. }
  33601. switch fieldNum {
  33602. case 1:
  33603. if wireType != 0 {
  33604. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  33605. }
  33606. m.Weight = 0
  33607. for shift := uint(0); ; shift += 7 {
  33608. if shift >= 64 {
  33609. return ErrIntOverflowGenerated
  33610. }
  33611. if iNdEx >= l {
  33612. return io.ErrUnexpectedEOF
  33613. }
  33614. b := data[iNdEx]
  33615. iNdEx++
  33616. m.Weight |= (int32(b) & 0x7F) << shift
  33617. if b < 0x80 {
  33618. break
  33619. }
  33620. }
  33621. case 2:
  33622. if wireType != 2 {
  33623. return fmt.Errorf("proto: wrong wireType = %d for field Preference", wireType)
  33624. }
  33625. var msglen int
  33626. for shift := uint(0); ; shift += 7 {
  33627. if shift >= 64 {
  33628. return ErrIntOverflowGenerated
  33629. }
  33630. if iNdEx >= l {
  33631. return io.ErrUnexpectedEOF
  33632. }
  33633. b := data[iNdEx]
  33634. iNdEx++
  33635. msglen |= (int(b) & 0x7F) << shift
  33636. if b < 0x80 {
  33637. break
  33638. }
  33639. }
  33640. if msglen < 0 {
  33641. return ErrInvalidLengthGenerated
  33642. }
  33643. postIndex := iNdEx + msglen
  33644. if postIndex > l {
  33645. return io.ErrUnexpectedEOF
  33646. }
  33647. if err := m.Preference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33648. return err
  33649. }
  33650. iNdEx = postIndex
  33651. default:
  33652. iNdEx = preIndex
  33653. skippy, err := skipGenerated(data[iNdEx:])
  33654. if err != nil {
  33655. return err
  33656. }
  33657. if skippy < 0 {
  33658. return ErrInvalidLengthGenerated
  33659. }
  33660. if (iNdEx + skippy) > l {
  33661. return io.ErrUnexpectedEOF
  33662. }
  33663. iNdEx += skippy
  33664. }
  33665. }
  33666. if iNdEx > l {
  33667. return io.ErrUnexpectedEOF
  33668. }
  33669. return nil
  33670. }
  33671. func (m *Probe) Unmarshal(data []byte) error {
  33672. l := len(data)
  33673. iNdEx := 0
  33674. for iNdEx < l {
  33675. preIndex := iNdEx
  33676. var wire uint64
  33677. for shift := uint(0); ; shift += 7 {
  33678. if shift >= 64 {
  33679. return ErrIntOverflowGenerated
  33680. }
  33681. if iNdEx >= l {
  33682. return io.ErrUnexpectedEOF
  33683. }
  33684. b := data[iNdEx]
  33685. iNdEx++
  33686. wire |= (uint64(b) & 0x7F) << shift
  33687. if b < 0x80 {
  33688. break
  33689. }
  33690. }
  33691. fieldNum := int32(wire >> 3)
  33692. wireType := int(wire & 0x7)
  33693. if wireType == 4 {
  33694. return fmt.Errorf("proto: Probe: wiretype end group for non-group")
  33695. }
  33696. if fieldNum <= 0 {
  33697. return fmt.Errorf("proto: Probe: illegal tag %d (wire type %d)", fieldNum, wire)
  33698. }
  33699. switch fieldNum {
  33700. case 1:
  33701. if wireType != 2 {
  33702. return fmt.Errorf("proto: wrong wireType = %d for field Handler", wireType)
  33703. }
  33704. var msglen int
  33705. for shift := uint(0); ; shift += 7 {
  33706. if shift >= 64 {
  33707. return ErrIntOverflowGenerated
  33708. }
  33709. if iNdEx >= l {
  33710. return io.ErrUnexpectedEOF
  33711. }
  33712. b := data[iNdEx]
  33713. iNdEx++
  33714. msglen |= (int(b) & 0x7F) << shift
  33715. if b < 0x80 {
  33716. break
  33717. }
  33718. }
  33719. if msglen < 0 {
  33720. return ErrInvalidLengthGenerated
  33721. }
  33722. postIndex := iNdEx + msglen
  33723. if postIndex > l {
  33724. return io.ErrUnexpectedEOF
  33725. }
  33726. if err := m.Handler.Unmarshal(data[iNdEx:postIndex]); err != nil {
  33727. return err
  33728. }
  33729. iNdEx = postIndex
  33730. case 2:
  33731. if wireType != 0 {
  33732. return fmt.Errorf("proto: wrong wireType = %d for field InitialDelaySeconds", wireType)
  33733. }
  33734. m.InitialDelaySeconds = 0
  33735. for shift := uint(0); ; shift += 7 {
  33736. if shift >= 64 {
  33737. return ErrIntOverflowGenerated
  33738. }
  33739. if iNdEx >= l {
  33740. return io.ErrUnexpectedEOF
  33741. }
  33742. b := data[iNdEx]
  33743. iNdEx++
  33744. m.InitialDelaySeconds |= (int32(b) & 0x7F) << shift
  33745. if b < 0x80 {
  33746. break
  33747. }
  33748. }
  33749. case 3:
  33750. if wireType != 0 {
  33751. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  33752. }
  33753. m.TimeoutSeconds = 0
  33754. for shift := uint(0); ; shift += 7 {
  33755. if shift >= 64 {
  33756. return ErrIntOverflowGenerated
  33757. }
  33758. if iNdEx >= l {
  33759. return io.ErrUnexpectedEOF
  33760. }
  33761. b := data[iNdEx]
  33762. iNdEx++
  33763. m.TimeoutSeconds |= (int32(b) & 0x7F) << shift
  33764. if b < 0x80 {
  33765. break
  33766. }
  33767. }
  33768. case 4:
  33769. if wireType != 0 {
  33770. return fmt.Errorf("proto: wrong wireType = %d for field PeriodSeconds", wireType)
  33771. }
  33772. m.PeriodSeconds = 0
  33773. for shift := uint(0); ; shift += 7 {
  33774. if shift >= 64 {
  33775. return ErrIntOverflowGenerated
  33776. }
  33777. if iNdEx >= l {
  33778. return io.ErrUnexpectedEOF
  33779. }
  33780. b := data[iNdEx]
  33781. iNdEx++
  33782. m.PeriodSeconds |= (int32(b) & 0x7F) << shift
  33783. if b < 0x80 {
  33784. break
  33785. }
  33786. }
  33787. case 5:
  33788. if wireType != 0 {
  33789. return fmt.Errorf("proto: wrong wireType = %d for field SuccessThreshold", wireType)
  33790. }
  33791. m.SuccessThreshold = 0
  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. m.SuccessThreshold |= (int32(b) & 0x7F) << shift
  33802. if b < 0x80 {
  33803. break
  33804. }
  33805. }
  33806. case 6:
  33807. if wireType != 0 {
  33808. return fmt.Errorf("proto: wrong wireType = %d for field FailureThreshold", wireType)
  33809. }
  33810. m.FailureThreshold = 0
  33811. for shift := uint(0); ; shift += 7 {
  33812. if shift >= 64 {
  33813. return ErrIntOverflowGenerated
  33814. }
  33815. if iNdEx >= l {
  33816. return io.ErrUnexpectedEOF
  33817. }
  33818. b := data[iNdEx]
  33819. iNdEx++
  33820. m.FailureThreshold |= (int32(b) & 0x7F) << shift
  33821. if b < 0x80 {
  33822. break
  33823. }
  33824. }
  33825. default:
  33826. iNdEx = preIndex
  33827. skippy, err := skipGenerated(data[iNdEx:])
  33828. if err != nil {
  33829. return err
  33830. }
  33831. if skippy < 0 {
  33832. return ErrInvalidLengthGenerated
  33833. }
  33834. if (iNdEx + skippy) > l {
  33835. return io.ErrUnexpectedEOF
  33836. }
  33837. iNdEx += skippy
  33838. }
  33839. }
  33840. if iNdEx > l {
  33841. return io.ErrUnexpectedEOF
  33842. }
  33843. return nil
  33844. }
  33845. func (m *ProjectedVolumeSource) Unmarshal(data []byte) error {
  33846. l := len(data)
  33847. iNdEx := 0
  33848. for iNdEx < l {
  33849. preIndex := iNdEx
  33850. var wire uint64
  33851. for shift := uint(0); ; shift += 7 {
  33852. if shift >= 64 {
  33853. return ErrIntOverflowGenerated
  33854. }
  33855. if iNdEx >= l {
  33856. return io.ErrUnexpectedEOF
  33857. }
  33858. b := data[iNdEx]
  33859. iNdEx++
  33860. wire |= (uint64(b) & 0x7F) << shift
  33861. if b < 0x80 {
  33862. break
  33863. }
  33864. }
  33865. fieldNum := int32(wire >> 3)
  33866. wireType := int(wire & 0x7)
  33867. if wireType == 4 {
  33868. return fmt.Errorf("proto: ProjectedVolumeSource: wiretype end group for non-group")
  33869. }
  33870. if fieldNum <= 0 {
  33871. return fmt.Errorf("proto: ProjectedVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  33872. }
  33873. switch fieldNum {
  33874. case 1:
  33875. if wireType != 2 {
  33876. return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
  33877. }
  33878. var msglen int
  33879. for shift := uint(0); ; shift += 7 {
  33880. if shift >= 64 {
  33881. return ErrIntOverflowGenerated
  33882. }
  33883. if iNdEx >= l {
  33884. return io.ErrUnexpectedEOF
  33885. }
  33886. b := data[iNdEx]
  33887. iNdEx++
  33888. msglen |= (int(b) & 0x7F) << shift
  33889. if b < 0x80 {
  33890. break
  33891. }
  33892. }
  33893. if msglen < 0 {
  33894. return ErrInvalidLengthGenerated
  33895. }
  33896. postIndex := iNdEx + msglen
  33897. if postIndex > l {
  33898. return io.ErrUnexpectedEOF
  33899. }
  33900. m.Sources = append(m.Sources, VolumeProjection{})
  33901. if err := m.Sources[len(m.Sources)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  33902. return err
  33903. }
  33904. iNdEx = postIndex
  33905. case 2:
  33906. if wireType != 0 {
  33907. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  33908. }
  33909. var v int32
  33910. for shift := uint(0); ; shift += 7 {
  33911. if shift >= 64 {
  33912. return ErrIntOverflowGenerated
  33913. }
  33914. if iNdEx >= l {
  33915. return io.ErrUnexpectedEOF
  33916. }
  33917. b := data[iNdEx]
  33918. iNdEx++
  33919. v |= (int32(b) & 0x7F) << shift
  33920. if b < 0x80 {
  33921. break
  33922. }
  33923. }
  33924. m.DefaultMode = &v
  33925. default:
  33926. iNdEx = preIndex
  33927. skippy, err := skipGenerated(data[iNdEx:])
  33928. if err != nil {
  33929. return err
  33930. }
  33931. if skippy < 0 {
  33932. return ErrInvalidLengthGenerated
  33933. }
  33934. if (iNdEx + skippy) > l {
  33935. return io.ErrUnexpectedEOF
  33936. }
  33937. iNdEx += skippy
  33938. }
  33939. }
  33940. if iNdEx > l {
  33941. return io.ErrUnexpectedEOF
  33942. }
  33943. return nil
  33944. }
  33945. func (m *QuobyteVolumeSource) Unmarshal(data []byte) error {
  33946. l := len(data)
  33947. iNdEx := 0
  33948. for iNdEx < l {
  33949. preIndex := iNdEx
  33950. var wire uint64
  33951. for shift := uint(0); ; shift += 7 {
  33952. if shift >= 64 {
  33953. return ErrIntOverflowGenerated
  33954. }
  33955. if iNdEx >= l {
  33956. return io.ErrUnexpectedEOF
  33957. }
  33958. b := data[iNdEx]
  33959. iNdEx++
  33960. wire |= (uint64(b) & 0x7F) << shift
  33961. if b < 0x80 {
  33962. break
  33963. }
  33964. }
  33965. fieldNum := int32(wire >> 3)
  33966. wireType := int(wire & 0x7)
  33967. if wireType == 4 {
  33968. return fmt.Errorf("proto: QuobyteVolumeSource: wiretype end group for non-group")
  33969. }
  33970. if fieldNum <= 0 {
  33971. return fmt.Errorf("proto: QuobyteVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  33972. }
  33973. switch fieldNum {
  33974. case 1:
  33975. if wireType != 2 {
  33976. return fmt.Errorf("proto: wrong wireType = %d for field Registry", wireType)
  33977. }
  33978. var stringLen uint64
  33979. for shift := uint(0); ; shift += 7 {
  33980. if shift >= 64 {
  33981. return ErrIntOverflowGenerated
  33982. }
  33983. if iNdEx >= l {
  33984. return io.ErrUnexpectedEOF
  33985. }
  33986. b := data[iNdEx]
  33987. iNdEx++
  33988. stringLen |= (uint64(b) & 0x7F) << shift
  33989. if b < 0x80 {
  33990. break
  33991. }
  33992. }
  33993. intStringLen := int(stringLen)
  33994. if intStringLen < 0 {
  33995. return ErrInvalidLengthGenerated
  33996. }
  33997. postIndex := iNdEx + intStringLen
  33998. if postIndex > l {
  33999. return io.ErrUnexpectedEOF
  34000. }
  34001. m.Registry = string(data[iNdEx:postIndex])
  34002. iNdEx = postIndex
  34003. case 2:
  34004. if wireType != 2 {
  34005. return fmt.Errorf("proto: wrong wireType = %d for field Volume", wireType)
  34006. }
  34007. var stringLen uint64
  34008. for shift := uint(0); ; shift += 7 {
  34009. if shift >= 64 {
  34010. return ErrIntOverflowGenerated
  34011. }
  34012. if iNdEx >= l {
  34013. return io.ErrUnexpectedEOF
  34014. }
  34015. b := data[iNdEx]
  34016. iNdEx++
  34017. stringLen |= (uint64(b) & 0x7F) << shift
  34018. if b < 0x80 {
  34019. break
  34020. }
  34021. }
  34022. intStringLen := int(stringLen)
  34023. if intStringLen < 0 {
  34024. return ErrInvalidLengthGenerated
  34025. }
  34026. postIndex := iNdEx + intStringLen
  34027. if postIndex > l {
  34028. return io.ErrUnexpectedEOF
  34029. }
  34030. m.Volume = string(data[iNdEx:postIndex])
  34031. iNdEx = postIndex
  34032. case 3:
  34033. if wireType != 0 {
  34034. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  34035. }
  34036. var v int
  34037. for shift := uint(0); ; shift += 7 {
  34038. if shift >= 64 {
  34039. return ErrIntOverflowGenerated
  34040. }
  34041. if iNdEx >= l {
  34042. return io.ErrUnexpectedEOF
  34043. }
  34044. b := data[iNdEx]
  34045. iNdEx++
  34046. v |= (int(b) & 0x7F) << shift
  34047. if b < 0x80 {
  34048. break
  34049. }
  34050. }
  34051. m.ReadOnly = bool(v != 0)
  34052. case 4:
  34053. if wireType != 2 {
  34054. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  34055. }
  34056. var stringLen uint64
  34057. for shift := uint(0); ; shift += 7 {
  34058. if shift >= 64 {
  34059. return ErrIntOverflowGenerated
  34060. }
  34061. if iNdEx >= l {
  34062. return io.ErrUnexpectedEOF
  34063. }
  34064. b := data[iNdEx]
  34065. iNdEx++
  34066. stringLen |= (uint64(b) & 0x7F) << shift
  34067. if b < 0x80 {
  34068. break
  34069. }
  34070. }
  34071. intStringLen := int(stringLen)
  34072. if intStringLen < 0 {
  34073. return ErrInvalidLengthGenerated
  34074. }
  34075. postIndex := iNdEx + intStringLen
  34076. if postIndex > l {
  34077. return io.ErrUnexpectedEOF
  34078. }
  34079. m.User = string(data[iNdEx:postIndex])
  34080. iNdEx = postIndex
  34081. case 5:
  34082. if wireType != 2 {
  34083. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  34084. }
  34085. var stringLen uint64
  34086. for shift := uint(0); ; shift += 7 {
  34087. if shift >= 64 {
  34088. return ErrIntOverflowGenerated
  34089. }
  34090. if iNdEx >= l {
  34091. return io.ErrUnexpectedEOF
  34092. }
  34093. b := data[iNdEx]
  34094. iNdEx++
  34095. stringLen |= (uint64(b) & 0x7F) << shift
  34096. if b < 0x80 {
  34097. break
  34098. }
  34099. }
  34100. intStringLen := int(stringLen)
  34101. if intStringLen < 0 {
  34102. return ErrInvalidLengthGenerated
  34103. }
  34104. postIndex := iNdEx + intStringLen
  34105. if postIndex > l {
  34106. return io.ErrUnexpectedEOF
  34107. }
  34108. m.Group = string(data[iNdEx:postIndex])
  34109. iNdEx = postIndex
  34110. default:
  34111. iNdEx = preIndex
  34112. skippy, err := skipGenerated(data[iNdEx:])
  34113. if err != nil {
  34114. return err
  34115. }
  34116. if skippy < 0 {
  34117. return ErrInvalidLengthGenerated
  34118. }
  34119. if (iNdEx + skippy) > l {
  34120. return io.ErrUnexpectedEOF
  34121. }
  34122. iNdEx += skippy
  34123. }
  34124. }
  34125. if iNdEx > l {
  34126. return io.ErrUnexpectedEOF
  34127. }
  34128. return nil
  34129. }
  34130. func (m *RBDVolumeSource) Unmarshal(data []byte) error {
  34131. l := len(data)
  34132. iNdEx := 0
  34133. for iNdEx < l {
  34134. preIndex := iNdEx
  34135. var wire uint64
  34136. for shift := uint(0); ; shift += 7 {
  34137. if shift >= 64 {
  34138. return ErrIntOverflowGenerated
  34139. }
  34140. if iNdEx >= l {
  34141. return io.ErrUnexpectedEOF
  34142. }
  34143. b := data[iNdEx]
  34144. iNdEx++
  34145. wire |= (uint64(b) & 0x7F) << shift
  34146. if b < 0x80 {
  34147. break
  34148. }
  34149. }
  34150. fieldNum := int32(wire >> 3)
  34151. wireType := int(wire & 0x7)
  34152. if wireType == 4 {
  34153. return fmt.Errorf("proto: RBDVolumeSource: wiretype end group for non-group")
  34154. }
  34155. if fieldNum <= 0 {
  34156. return fmt.Errorf("proto: RBDVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  34157. }
  34158. switch fieldNum {
  34159. case 1:
  34160. if wireType != 2 {
  34161. return fmt.Errorf("proto: wrong wireType = %d for field CephMonitors", wireType)
  34162. }
  34163. var stringLen uint64
  34164. for shift := uint(0); ; shift += 7 {
  34165. if shift >= 64 {
  34166. return ErrIntOverflowGenerated
  34167. }
  34168. if iNdEx >= l {
  34169. return io.ErrUnexpectedEOF
  34170. }
  34171. b := data[iNdEx]
  34172. iNdEx++
  34173. stringLen |= (uint64(b) & 0x7F) << shift
  34174. if b < 0x80 {
  34175. break
  34176. }
  34177. }
  34178. intStringLen := int(stringLen)
  34179. if intStringLen < 0 {
  34180. return ErrInvalidLengthGenerated
  34181. }
  34182. postIndex := iNdEx + intStringLen
  34183. if postIndex > l {
  34184. return io.ErrUnexpectedEOF
  34185. }
  34186. m.CephMonitors = append(m.CephMonitors, string(data[iNdEx:postIndex]))
  34187. iNdEx = postIndex
  34188. case 2:
  34189. if wireType != 2 {
  34190. return fmt.Errorf("proto: wrong wireType = %d for field RBDImage", wireType)
  34191. }
  34192. var stringLen uint64
  34193. for shift := uint(0); ; shift += 7 {
  34194. if shift >= 64 {
  34195. return ErrIntOverflowGenerated
  34196. }
  34197. if iNdEx >= l {
  34198. return io.ErrUnexpectedEOF
  34199. }
  34200. b := data[iNdEx]
  34201. iNdEx++
  34202. stringLen |= (uint64(b) & 0x7F) << shift
  34203. if b < 0x80 {
  34204. break
  34205. }
  34206. }
  34207. intStringLen := int(stringLen)
  34208. if intStringLen < 0 {
  34209. return ErrInvalidLengthGenerated
  34210. }
  34211. postIndex := iNdEx + intStringLen
  34212. if postIndex > l {
  34213. return io.ErrUnexpectedEOF
  34214. }
  34215. m.RBDImage = string(data[iNdEx:postIndex])
  34216. iNdEx = postIndex
  34217. case 3:
  34218. if wireType != 2 {
  34219. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  34220. }
  34221. var stringLen uint64
  34222. for shift := uint(0); ; shift += 7 {
  34223. if shift >= 64 {
  34224. return ErrIntOverflowGenerated
  34225. }
  34226. if iNdEx >= l {
  34227. return io.ErrUnexpectedEOF
  34228. }
  34229. b := data[iNdEx]
  34230. iNdEx++
  34231. stringLen |= (uint64(b) & 0x7F) << shift
  34232. if b < 0x80 {
  34233. break
  34234. }
  34235. }
  34236. intStringLen := int(stringLen)
  34237. if intStringLen < 0 {
  34238. return ErrInvalidLengthGenerated
  34239. }
  34240. postIndex := iNdEx + intStringLen
  34241. if postIndex > l {
  34242. return io.ErrUnexpectedEOF
  34243. }
  34244. m.FSType = string(data[iNdEx:postIndex])
  34245. iNdEx = postIndex
  34246. case 4:
  34247. if wireType != 2 {
  34248. return fmt.Errorf("proto: wrong wireType = %d for field RBDPool", wireType)
  34249. }
  34250. var stringLen uint64
  34251. for shift := uint(0); ; shift += 7 {
  34252. if shift >= 64 {
  34253. return ErrIntOverflowGenerated
  34254. }
  34255. if iNdEx >= l {
  34256. return io.ErrUnexpectedEOF
  34257. }
  34258. b := data[iNdEx]
  34259. iNdEx++
  34260. stringLen |= (uint64(b) & 0x7F) << shift
  34261. if b < 0x80 {
  34262. break
  34263. }
  34264. }
  34265. intStringLen := int(stringLen)
  34266. if intStringLen < 0 {
  34267. return ErrInvalidLengthGenerated
  34268. }
  34269. postIndex := iNdEx + intStringLen
  34270. if postIndex > l {
  34271. return io.ErrUnexpectedEOF
  34272. }
  34273. m.RBDPool = string(data[iNdEx:postIndex])
  34274. iNdEx = postIndex
  34275. case 5:
  34276. if wireType != 2 {
  34277. return fmt.Errorf("proto: wrong wireType = %d for field RadosUser", wireType)
  34278. }
  34279. var stringLen uint64
  34280. for shift := uint(0); ; shift += 7 {
  34281. if shift >= 64 {
  34282. return ErrIntOverflowGenerated
  34283. }
  34284. if iNdEx >= l {
  34285. return io.ErrUnexpectedEOF
  34286. }
  34287. b := data[iNdEx]
  34288. iNdEx++
  34289. stringLen |= (uint64(b) & 0x7F) << shift
  34290. if b < 0x80 {
  34291. break
  34292. }
  34293. }
  34294. intStringLen := int(stringLen)
  34295. if intStringLen < 0 {
  34296. return ErrInvalidLengthGenerated
  34297. }
  34298. postIndex := iNdEx + intStringLen
  34299. if postIndex > l {
  34300. return io.ErrUnexpectedEOF
  34301. }
  34302. m.RadosUser = string(data[iNdEx:postIndex])
  34303. iNdEx = postIndex
  34304. case 6:
  34305. if wireType != 2 {
  34306. return fmt.Errorf("proto: wrong wireType = %d for field Keyring", wireType)
  34307. }
  34308. var stringLen uint64
  34309. for shift := uint(0); ; shift += 7 {
  34310. if shift >= 64 {
  34311. return ErrIntOverflowGenerated
  34312. }
  34313. if iNdEx >= l {
  34314. return io.ErrUnexpectedEOF
  34315. }
  34316. b := data[iNdEx]
  34317. iNdEx++
  34318. stringLen |= (uint64(b) & 0x7F) << shift
  34319. if b < 0x80 {
  34320. break
  34321. }
  34322. }
  34323. intStringLen := int(stringLen)
  34324. if intStringLen < 0 {
  34325. return ErrInvalidLengthGenerated
  34326. }
  34327. postIndex := iNdEx + intStringLen
  34328. if postIndex > l {
  34329. return io.ErrUnexpectedEOF
  34330. }
  34331. m.Keyring = string(data[iNdEx:postIndex])
  34332. iNdEx = postIndex
  34333. case 7:
  34334. if wireType != 2 {
  34335. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  34336. }
  34337. var msglen int
  34338. for shift := uint(0); ; shift += 7 {
  34339. if shift >= 64 {
  34340. return ErrIntOverflowGenerated
  34341. }
  34342. if iNdEx >= l {
  34343. return io.ErrUnexpectedEOF
  34344. }
  34345. b := data[iNdEx]
  34346. iNdEx++
  34347. msglen |= (int(b) & 0x7F) << shift
  34348. if b < 0x80 {
  34349. break
  34350. }
  34351. }
  34352. if msglen < 0 {
  34353. return ErrInvalidLengthGenerated
  34354. }
  34355. postIndex := iNdEx + msglen
  34356. if postIndex > l {
  34357. return io.ErrUnexpectedEOF
  34358. }
  34359. if m.SecretRef == nil {
  34360. m.SecretRef = &LocalObjectReference{}
  34361. }
  34362. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34363. return err
  34364. }
  34365. iNdEx = postIndex
  34366. case 8:
  34367. if wireType != 0 {
  34368. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  34369. }
  34370. var v int
  34371. for shift := uint(0); ; shift += 7 {
  34372. if shift >= 64 {
  34373. return ErrIntOverflowGenerated
  34374. }
  34375. if iNdEx >= l {
  34376. return io.ErrUnexpectedEOF
  34377. }
  34378. b := data[iNdEx]
  34379. iNdEx++
  34380. v |= (int(b) & 0x7F) << shift
  34381. if b < 0x80 {
  34382. break
  34383. }
  34384. }
  34385. m.ReadOnly = bool(v != 0)
  34386. default:
  34387. iNdEx = preIndex
  34388. skippy, err := skipGenerated(data[iNdEx:])
  34389. if err != nil {
  34390. return err
  34391. }
  34392. if skippy < 0 {
  34393. return ErrInvalidLengthGenerated
  34394. }
  34395. if (iNdEx + skippy) > l {
  34396. return io.ErrUnexpectedEOF
  34397. }
  34398. iNdEx += skippy
  34399. }
  34400. }
  34401. if iNdEx > l {
  34402. return io.ErrUnexpectedEOF
  34403. }
  34404. return nil
  34405. }
  34406. func (m *RangeAllocation) Unmarshal(data []byte) error {
  34407. l := len(data)
  34408. iNdEx := 0
  34409. for iNdEx < l {
  34410. preIndex := iNdEx
  34411. var wire uint64
  34412. for shift := uint(0); ; shift += 7 {
  34413. if shift >= 64 {
  34414. return ErrIntOverflowGenerated
  34415. }
  34416. if iNdEx >= l {
  34417. return io.ErrUnexpectedEOF
  34418. }
  34419. b := data[iNdEx]
  34420. iNdEx++
  34421. wire |= (uint64(b) & 0x7F) << shift
  34422. if b < 0x80 {
  34423. break
  34424. }
  34425. }
  34426. fieldNum := int32(wire >> 3)
  34427. wireType := int(wire & 0x7)
  34428. if wireType == 4 {
  34429. return fmt.Errorf("proto: RangeAllocation: wiretype end group for non-group")
  34430. }
  34431. if fieldNum <= 0 {
  34432. return fmt.Errorf("proto: RangeAllocation: illegal tag %d (wire type %d)", fieldNum, wire)
  34433. }
  34434. switch fieldNum {
  34435. case 1:
  34436. if wireType != 2 {
  34437. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  34438. }
  34439. var msglen int
  34440. for shift := uint(0); ; shift += 7 {
  34441. if shift >= 64 {
  34442. return ErrIntOverflowGenerated
  34443. }
  34444. if iNdEx >= l {
  34445. return io.ErrUnexpectedEOF
  34446. }
  34447. b := data[iNdEx]
  34448. iNdEx++
  34449. msglen |= (int(b) & 0x7F) << shift
  34450. if b < 0x80 {
  34451. break
  34452. }
  34453. }
  34454. if msglen < 0 {
  34455. return ErrInvalidLengthGenerated
  34456. }
  34457. postIndex := iNdEx + msglen
  34458. if postIndex > l {
  34459. return io.ErrUnexpectedEOF
  34460. }
  34461. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34462. return err
  34463. }
  34464. iNdEx = postIndex
  34465. case 2:
  34466. if wireType != 2 {
  34467. return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType)
  34468. }
  34469. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  34480. if b < 0x80 {
  34481. break
  34482. }
  34483. }
  34484. intStringLen := int(stringLen)
  34485. if intStringLen < 0 {
  34486. return ErrInvalidLengthGenerated
  34487. }
  34488. postIndex := iNdEx + intStringLen
  34489. if postIndex > l {
  34490. return io.ErrUnexpectedEOF
  34491. }
  34492. m.Range = string(data[iNdEx:postIndex])
  34493. iNdEx = postIndex
  34494. case 3:
  34495. if wireType != 2 {
  34496. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  34497. }
  34498. var byteLen int
  34499. for shift := uint(0); ; shift += 7 {
  34500. if shift >= 64 {
  34501. return ErrIntOverflowGenerated
  34502. }
  34503. if iNdEx >= l {
  34504. return io.ErrUnexpectedEOF
  34505. }
  34506. b := data[iNdEx]
  34507. iNdEx++
  34508. byteLen |= (int(b) & 0x7F) << shift
  34509. if b < 0x80 {
  34510. break
  34511. }
  34512. }
  34513. if byteLen < 0 {
  34514. return ErrInvalidLengthGenerated
  34515. }
  34516. postIndex := iNdEx + byteLen
  34517. if postIndex > l {
  34518. return io.ErrUnexpectedEOF
  34519. }
  34520. m.Data = append(m.Data[:0], data[iNdEx:postIndex]...)
  34521. if m.Data == nil {
  34522. m.Data = []byte{}
  34523. }
  34524. iNdEx = postIndex
  34525. default:
  34526. iNdEx = preIndex
  34527. skippy, err := skipGenerated(data[iNdEx:])
  34528. if err != nil {
  34529. return err
  34530. }
  34531. if skippy < 0 {
  34532. return ErrInvalidLengthGenerated
  34533. }
  34534. if (iNdEx + skippy) > l {
  34535. return io.ErrUnexpectedEOF
  34536. }
  34537. iNdEx += skippy
  34538. }
  34539. }
  34540. if iNdEx > l {
  34541. return io.ErrUnexpectedEOF
  34542. }
  34543. return nil
  34544. }
  34545. func (m *ReplicationController) Unmarshal(data []byte) error {
  34546. l := len(data)
  34547. iNdEx := 0
  34548. for iNdEx < l {
  34549. preIndex := iNdEx
  34550. var wire uint64
  34551. for shift := uint(0); ; shift += 7 {
  34552. if shift >= 64 {
  34553. return ErrIntOverflowGenerated
  34554. }
  34555. if iNdEx >= l {
  34556. return io.ErrUnexpectedEOF
  34557. }
  34558. b := data[iNdEx]
  34559. iNdEx++
  34560. wire |= (uint64(b) & 0x7F) << shift
  34561. if b < 0x80 {
  34562. break
  34563. }
  34564. }
  34565. fieldNum := int32(wire >> 3)
  34566. wireType := int(wire & 0x7)
  34567. if wireType == 4 {
  34568. return fmt.Errorf("proto: ReplicationController: wiretype end group for non-group")
  34569. }
  34570. if fieldNum <= 0 {
  34571. return fmt.Errorf("proto: ReplicationController: illegal tag %d (wire type %d)", fieldNum, wire)
  34572. }
  34573. switch fieldNum {
  34574. case 1:
  34575. if wireType != 2 {
  34576. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  34577. }
  34578. var msglen int
  34579. for shift := uint(0); ; shift += 7 {
  34580. if shift >= 64 {
  34581. return ErrIntOverflowGenerated
  34582. }
  34583. if iNdEx >= l {
  34584. return io.ErrUnexpectedEOF
  34585. }
  34586. b := data[iNdEx]
  34587. iNdEx++
  34588. msglen |= (int(b) & 0x7F) << shift
  34589. if b < 0x80 {
  34590. break
  34591. }
  34592. }
  34593. if msglen < 0 {
  34594. return ErrInvalidLengthGenerated
  34595. }
  34596. postIndex := iNdEx + msglen
  34597. if postIndex > l {
  34598. return io.ErrUnexpectedEOF
  34599. }
  34600. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34601. return err
  34602. }
  34603. iNdEx = postIndex
  34604. case 2:
  34605. if wireType != 2 {
  34606. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  34607. }
  34608. var msglen int
  34609. for shift := uint(0); ; shift += 7 {
  34610. if shift >= 64 {
  34611. return ErrIntOverflowGenerated
  34612. }
  34613. if iNdEx >= l {
  34614. return io.ErrUnexpectedEOF
  34615. }
  34616. b := data[iNdEx]
  34617. iNdEx++
  34618. msglen |= (int(b) & 0x7F) << shift
  34619. if b < 0x80 {
  34620. break
  34621. }
  34622. }
  34623. if msglen < 0 {
  34624. return ErrInvalidLengthGenerated
  34625. }
  34626. postIndex := iNdEx + msglen
  34627. if postIndex > l {
  34628. return io.ErrUnexpectedEOF
  34629. }
  34630. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34631. return err
  34632. }
  34633. iNdEx = postIndex
  34634. case 3:
  34635. if wireType != 2 {
  34636. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  34637. }
  34638. var msglen int
  34639. for shift := uint(0); ; shift += 7 {
  34640. if shift >= 64 {
  34641. return ErrIntOverflowGenerated
  34642. }
  34643. if iNdEx >= l {
  34644. return io.ErrUnexpectedEOF
  34645. }
  34646. b := data[iNdEx]
  34647. iNdEx++
  34648. msglen |= (int(b) & 0x7F) << shift
  34649. if b < 0x80 {
  34650. break
  34651. }
  34652. }
  34653. if msglen < 0 {
  34654. return ErrInvalidLengthGenerated
  34655. }
  34656. postIndex := iNdEx + msglen
  34657. if postIndex > l {
  34658. return io.ErrUnexpectedEOF
  34659. }
  34660. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34661. return err
  34662. }
  34663. iNdEx = postIndex
  34664. default:
  34665. iNdEx = preIndex
  34666. skippy, err := skipGenerated(data[iNdEx:])
  34667. if err != nil {
  34668. return err
  34669. }
  34670. if skippy < 0 {
  34671. return ErrInvalidLengthGenerated
  34672. }
  34673. if (iNdEx + skippy) > l {
  34674. return io.ErrUnexpectedEOF
  34675. }
  34676. iNdEx += skippy
  34677. }
  34678. }
  34679. if iNdEx > l {
  34680. return io.ErrUnexpectedEOF
  34681. }
  34682. return nil
  34683. }
  34684. func (m *ReplicationControllerCondition) Unmarshal(data []byte) error {
  34685. l := len(data)
  34686. iNdEx := 0
  34687. for iNdEx < l {
  34688. preIndex := iNdEx
  34689. var wire uint64
  34690. for shift := uint(0); ; shift += 7 {
  34691. if shift >= 64 {
  34692. return ErrIntOverflowGenerated
  34693. }
  34694. if iNdEx >= l {
  34695. return io.ErrUnexpectedEOF
  34696. }
  34697. b := data[iNdEx]
  34698. iNdEx++
  34699. wire |= (uint64(b) & 0x7F) << shift
  34700. if b < 0x80 {
  34701. break
  34702. }
  34703. }
  34704. fieldNum := int32(wire >> 3)
  34705. wireType := int(wire & 0x7)
  34706. if wireType == 4 {
  34707. return fmt.Errorf("proto: ReplicationControllerCondition: wiretype end group for non-group")
  34708. }
  34709. if fieldNum <= 0 {
  34710. return fmt.Errorf("proto: ReplicationControllerCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  34711. }
  34712. switch fieldNum {
  34713. case 1:
  34714. if wireType != 2 {
  34715. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  34716. }
  34717. var stringLen uint64
  34718. for shift := uint(0); ; shift += 7 {
  34719. if shift >= 64 {
  34720. return ErrIntOverflowGenerated
  34721. }
  34722. if iNdEx >= l {
  34723. return io.ErrUnexpectedEOF
  34724. }
  34725. b := data[iNdEx]
  34726. iNdEx++
  34727. stringLen |= (uint64(b) & 0x7F) << shift
  34728. if b < 0x80 {
  34729. break
  34730. }
  34731. }
  34732. intStringLen := int(stringLen)
  34733. if intStringLen < 0 {
  34734. return ErrInvalidLengthGenerated
  34735. }
  34736. postIndex := iNdEx + intStringLen
  34737. if postIndex > l {
  34738. return io.ErrUnexpectedEOF
  34739. }
  34740. m.Type = ReplicationControllerConditionType(data[iNdEx:postIndex])
  34741. iNdEx = postIndex
  34742. case 2:
  34743. if wireType != 2 {
  34744. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  34745. }
  34746. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  34757. if b < 0x80 {
  34758. break
  34759. }
  34760. }
  34761. intStringLen := int(stringLen)
  34762. if intStringLen < 0 {
  34763. return ErrInvalidLengthGenerated
  34764. }
  34765. postIndex := iNdEx + intStringLen
  34766. if postIndex > l {
  34767. return io.ErrUnexpectedEOF
  34768. }
  34769. m.Status = ConditionStatus(data[iNdEx:postIndex])
  34770. iNdEx = postIndex
  34771. case 3:
  34772. if wireType != 2 {
  34773. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  34774. }
  34775. var msglen int
  34776. for shift := uint(0); ; shift += 7 {
  34777. if shift >= 64 {
  34778. return ErrIntOverflowGenerated
  34779. }
  34780. if iNdEx >= l {
  34781. return io.ErrUnexpectedEOF
  34782. }
  34783. b := data[iNdEx]
  34784. iNdEx++
  34785. msglen |= (int(b) & 0x7F) << shift
  34786. if b < 0x80 {
  34787. break
  34788. }
  34789. }
  34790. if msglen < 0 {
  34791. return ErrInvalidLengthGenerated
  34792. }
  34793. postIndex := iNdEx + msglen
  34794. if postIndex > l {
  34795. return io.ErrUnexpectedEOF
  34796. }
  34797. if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34798. return err
  34799. }
  34800. iNdEx = postIndex
  34801. case 4:
  34802. if wireType != 2 {
  34803. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  34804. }
  34805. var stringLen uint64
  34806. for shift := uint(0); ; shift += 7 {
  34807. if shift >= 64 {
  34808. return ErrIntOverflowGenerated
  34809. }
  34810. if iNdEx >= l {
  34811. return io.ErrUnexpectedEOF
  34812. }
  34813. b := data[iNdEx]
  34814. iNdEx++
  34815. stringLen |= (uint64(b) & 0x7F) << shift
  34816. if b < 0x80 {
  34817. break
  34818. }
  34819. }
  34820. intStringLen := int(stringLen)
  34821. if intStringLen < 0 {
  34822. return ErrInvalidLengthGenerated
  34823. }
  34824. postIndex := iNdEx + intStringLen
  34825. if postIndex > l {
  34826. return io.ErrUnexpectedEOF
  34827. }
  34828. m.Reason = string(data[iNdEx:postIndex])
  34829. iNdEx = postIndex
  34830. case 5:
  34831. if wireType != 2 {
  34832. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  34833. }
  34834. var stringLen uint64
  34835. for shift := uint(0); ; shift += 7 {
  34836. if shift >= 64 {
  34837. return ErrIntOverflowGenerated
  34838. }
  34839. if iNdEx >= l {
  34840. return io.ErrUnexpectedEOF
  34841. }
  34842. b := data[iNdEx]
  34843. iNdEx++
  34844. stringLen |= (uint64(b) & 0x7F) << shift
  34845. if b < 0x80 {
  34846. break
  34847. }
  34848. }
  34849. intStringLen := int(stringLen)
  34850. if intStringLen < 0 {
  34851. return ErrInvalidLengthGenerated
  34852. }
  34853. postIndex := iNdEx + intStringLen
  34854. if postIndex > l {
  34855. return io.ErrUnexpectedEOF
  34856. }
  34857. m.Message = string(data[iNdEx:postIndex])
  34858. iNdEx = postIndex
  34859. default:
  34860. iNdEx = preIndex
  34861. skippy, err := skipGenerated(data[iNdEx:])
  34862. if err != nil {
  34863. return err
  34864. }
  34865. if skippy < 0 {
  34866. return ErrInvalidLengthGenerated
  34867. }
  34868. if (iNdEx + skippy) > l {
  34869. return io.ErrUnexpectedEOF
  34870. }
  34871. iNdEx += skippy
  34872. }
  34873. }
  34874. if iNdEx > l {
  34875. return io.ErrUnexpectedEOF
  34876. }
  34877. return nil
  34878. }
  34879. func (m *ReplicationControllerList) Unmarshal(data []byte) error {
  34880. l := len(data)
  34881. iNdEx := 0
  34882. for iNdEx < l {
  34883. preIndex := iNdEx
  34884. var wire uint64
  34885. for shift := uint(0); ; shift += 7 {
  34886. if shift >= 64 {
  34887. return ErrIntOverflowGenerated
  34888. }
  34889. if iNdEx >= l {
  34890. return io.ErrUnexpectedEOF
  34891. }
  34892. b := data[iNdEx]
  34893. iNdEx++
  34894. wire |= (uint64(b) & 0x7F) << shift
  34895. if b < 0x80 {
  34896. break
  34897. }
  34898. }
  34899. fieldNum := int32(wire >> 3)
  34900. wireType := int(wire & 0x7)
  34901. if wireType == 4 {
  34902. return fmt.Errorf("proto: ReplicationControllerList: wiretype end group for non-group")
  34903. }
  34904. if fieldNum <= 0 {
  34905. return fmt.Errorf("proto: ReplicationControllerList: illegal tag %d (wire type %d)", fieldNum, wire)
  34906. }
  34907. switch fieldNum {
  34908. case 1:
  34909. if wireType != 2 {
  34910. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  34911. }
  34912. var msglen int
  34913. for shift := uint(0); ; shift += 7 {
  34914. if shift >= 64 {
  34915. return ErrIntOverflowGenerated
  34916. }
  34917. if iNdEx >= l {
  34918. return io.ErrUnexpectedEOF
  34919. }
  34920. b := data[iNdEx]
  34921. iNdEx++
  34922. msglen |= (int(b) & 0x7F) << shift
  34923. if b < 0x80 {
  34924. break
  34925. }
  34926. }
  34927. if msglen < 0 {
  34928. return ErrInvalidLengthGenerated
  34929. }
  34930. postIndex := iNdEx + msglen
  34931. if postIndex > l {
  34932. return io.ErrUnexpectedEOF
  34933. }
  34934. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  34935. return err
  34936. }
  34937. iNdEx = postIndex
  34938. case 2:
  34939. if wireType != 2 {
  34940. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  34941. }
  34942. var msglen int
  34943. for shift := uint(0); ; shift += 7 {
  34944. if shift >= 64 {
  34945. return ErrIntOverflowGenerated
  34946. }
  34947. if iNdEx >= l {
  34948. return io.ErrUnexpectedEOF
  34949. }
  34950. b := data[iNdEx]
  34951. iNdEx++
  34952. msglen |= (int(b) & 0x7F) << shift
  34953. if b < 0x80 {
  34954. break
  34955. }
  34956. }
  34957. if msglen < 0 {
  34958. return ErrInvalidLengthGenerated
  34959. }
  34960. postIndex := iNdEx + msglen
  34961. if postIndex > l {
  34962. return io.ErrUnexpectedEOF
  34963. }
  34964. m.Items = append(m.Items, ReplicationController{})
  34965. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  34966. return err
  34967. }
  34968. iNdEx = postIndex
  34969. default:
  34970. iNdEx = preIndex
  34971. skippy, err := skipGenerated(data[iNdEx:])
  34972. if err != nil {
  34973. return err
  34974. }
  34975. if skippy < 0 {
  34976. return ErrInvalidLengthGenerated
  34977. }
  34978. if (iNdEx + skippy) > l {
  34979. return io.ErrUnexpectedEOF
  34980. }
  34981. iNdEx += skippy
  34982. }
  34983. }
  34984. if iNdEx > l {
  34985. return io.ErrUnexpectedEOF
  34986. }
  34987. return nil
  34988. }
  34989. func (m *ReplicationControllerSpec) Unmarshal(data []byte) error {
  34990. l := len(data)
  34991. iNdEx := 0
  34992. for iNdEx < l {
  34993. preIndex := iNdEx
  34994. var wire uint64
  34995. for shift := uint(0); ; shift += 7 {
  34996. if shift >= 64 {
  34997. return ErrIntOverflowGenerated
  34998. }
  34999. if iNdEx >= l {
  35000. return io.ErrUnexpectedEOF
  35001. }
  35002. b := data[iNdEx]
  35003. iNdEx++
  35004. wire |= (uint64(b) & 0x7F) << shift
  35005. if b < 0x80 {
  35006. break
  35007. }
  35008. }
  35009. fieldNum := int32(wire >> 3)
  35010. wireType := int(wire & 0x7)
  35011. if wireType == 4 {
  35012. return fmt.Errorf("proto: ReplicationControllerSpec: wiretype end group for non-group")
  35013. }
  35014. if fieldNum <= 0 {
  35015. return fmt.Errorf("proto: ReplicationControllerSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  35016. }
  35017. switch fieldNum {
  35018. case 1:
  35019. if wireType != 0 {
  35020. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  35021. }
  35022. var v int32
  35023. for shift := uint(0); ; shift += 7 {
  35024. if shift >= 64 {
  35025. return ErrIntOverflowGenerated
  35026. }
  35027. if iNdEx >= l {
  35028. return io.ErrUnexpectedEOF
  35029. }
  35030. b := data[iNdEx]
  35031. iNdEx++
  35032. v |= (int32(b) & 0x7F) << shift
  35033. if b < 0x80 {
  35034. break
  35035. }
  35036. }
  35037. m.Replicas = &v
  35038. case 2:
  35039. if wireType != 2 {
  35040. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  35041. }
  35042. var msglen int
  35043. for shift := uint(0); ; shift += 7 {
  35044. if shift >= 64 {
  35045. return ErrIntOverflowGenerated
  35046. }
  35047. if iNdEx >= l {
  35048. return io.ErrUnexpectedEOF
  35049. }
  35050. b := data[iNdEx]
  35051. iNdEx++
  35052. msglen |= (int(b) & 0x7F) << shift
  35053. if b < 0x80 {
  35054. break
  35055. }
  35056. }
  35057. if msglen < 0 {
  35058. return ErrInvalidLengthGenerated
  35059. }
  35060. postIndex := iNdEx + msglen
  35061. if postIndex > l {
  35062. return io.ErrUnexpectedEOF
  35063. }
  35064. var keykey uint64
  35065. for shift := uint(0); ; shift += 7 {
  35066. if shift >= 64 {
  35067. return ErrIntOverflowGenerated
  35068. }
  35069. if iNdEx >= l {
  35070. return io.ErrUnexpectedEOF
  35071. }
  35072. b := data[iNdEx]
  35073. iNdEx++
  35074. keykey |= (uint64(b) & 0x7F) << shift
  35075. if b < 0x80 {
  35076. break
  35077. }
  35078. }
  35079. var stringLenmapkey uint64
  35080. for shift := uint(0); ; shift += 7 {
  35081. if shift >= 64 {
  35082. return ErrIntOverflowGenerated
  35083. }
  35084. if iNdEx >= l {
  35085. return io.ErrUnexpectedEOF
  35086. }
  35087. b := data[iNdEx]
  35088. iNdEx++
  35089. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  35090. if b < 0x80 {
  35091. break
  35092. }
  35093. }
  35094. intStringLenmapkey := int(stringLenmapkey)
  35095. if intStringLenmapkey < 0 {
  35096. return ErrInvalidLengthGenerated
  35097. }
  35098. postStringIndexmapkey := iNdEx + intStringLenmapkey
  35099. if postStringIndexmapkey > l {
  35100. return io.ErrUnexpectedEOF
  35101. }
  35102. mapkey := string(data[iNdEx:postStringIndexmapkey])
  35103. iNdEx = postStringIndexmapkey
  35104. var valuekey uint64
  35105. for shift := uint(0); ; shift += 7 {
  35106. if shift >= 64 {
  35107. return ErrIntOverflowGenerated
  35108. }
  35109. if iNdEx >= l {
  35110. return io.ErrUnexpectedEOF
  35111. }
  35112. b := data[iNdEx]
  35113. iNdEx++
  35114. valuekey |= (uint64(b) & 0x7F) << shift
  35115. if b < 0x80 {
  35116. break
  35117. }
  35118. }
  35119. var stringLenmapvalue uint64
  35120. for shift := uint(0); ; shift += 7 {
  35121. if shift >= 64 {
  35122. return ErrIntOverflowGenerated
  35123. }
  35124. if iNdEx >= l {
  35125. return io.ErrUnexpectedEOF
  35126. }
  35127. b := data[iNdEx]
  35128. iNdEx++
  35129. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  35130. if b < 0x80 {
  35131. break
  35132. }
  35133. }
  35134. intStringLenmapvalue := int(stringLenmapvalue)
  35135. if intStringLenmapvalue < 0 {
  35136. return ErrInvalidLengthGenerated
  35137. }
  35138. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  35139. if postStringIndexmapvalue > l {
  35140. return io.ErrUnexpectedEOF
  35141. }
  35142. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  35143. iNdEx = postStringIndexmapvalue
  35144. if m.Selector == nil {
  35145. m.Selector = make(map[string]string)
  35146. }
  35147. m.Selector[mapkey] = mapvalue
  35148. iNdEx = postIndex
  35149. case 3:
  35150. if wireType != 2 {
  35151. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  35152. }
  35153. var msglen int
  35154. for shift := uint(0); ; shift += 7 {
  35155. if shift >= 64 {
  35156. return ErrIntOverflowGenerated
  35157. }
  35158. if iNdEx >= l {
  35159. return io.ErrUnexpectedEOF
  35160. }
  35161. b := data[iNdEx]
  35162. iNdEx++
  35163. msglen |= (int(b) & 0x7F) << shift
  35164. if b < 0x80 {
  35165. break
  35166. }
  35167. }
  35168. if msglen < 0 {
  35169. return ErrInvalidLengthGenerated
  35170. }
  35171. postIndex := iNdEx + msglen
  35172. if postIndex > l {
  35173. return io.ErrUnexpectedEOF
  35174. }
  35175. if m.Template == nil {
  35176. m.Template = &PodTemplateSpec{}
  35177. }
  35178. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35179. return err
  35180. }
  35181. iNdEx = postIndex
  35182. case 4:
  35183. if wireType != 0 {
  35184. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  35185. }
  35186. m.MinReadySeconds = 0
  35187. for shift := uint(0); ; shift += 7 {
  35188. if shift >= 64 {
  35189. return ErrIntOverflowGenerated
  35190. }
  35191. if iNdEx >= l {
  35192. return io.ErrUnexpectedEOF
  35193. }
  35194. b := data[iNdEx]
  35195. iNdEx++
  35196. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  35197. if b < 0x80 {
  35198. break
  35199. }
  35200. }
  35201. default:
  35202. iNdEx = preIndex
  35203. skippy, err := skipGenerated(data[iNdEx:])
  35204. if err != nil {
  35205. return err
  35206. }
  35207. if skippy < 0 {
  35208. return ErrInvalidLengthGenerated
  35209. }
  35210. if (iNdEx + skippy) > l {
  35211. return io.ErrUnexpectedEOF
  35212. }
  35213. iNdEx += skippy
  35214. }
  35215. }
  35216. if iNdEx > l {
  35217. return io.ErrUnexpectedEOF
  35218. }
  35219. return nil
  35220. }
  35221. func (m *ReplicationControllerStatus) Unmarshal(data []byte) error {
  35222. l := len(data)
  35223. iNdEx := 0
  35224. for iNdEx < l {
  35225. preIndex := iNdEx
  35226. var wire uint64
  35227. for shift := uint(0); ; shift += 7 {
  35228. if shift >= 64 {
  35229. return ErrIntOverflowGenerated
  35230. }
  35231. if iNdEx >= l {
  35232. return io.ErrUnexpectedEOF
  35233. }
  35234. b := data[iNdEx]
  35235. iNdEx++
  35236. wire |= (uint64(b) & 0x7F) << shift
  35237. if b < 0x80 {
  35238. break
  35239. }
  35240. }
  35241. fieldNum := int32(wire >> 3)
  35242. wireType := int(wire & 0x7)
  35243. if wireType == 4 {
  35244. return fmt.Errorf("proto: ReplicationControllerStatus: wiretype end group for non-group")
  35245. }
  35246. if fieldNum <= 0 {
  35247. return fmt.Errorf("proto: ReplicationControllerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  35248. }
  35249. switch fieldNum {
  35250. case 1:
  35251. if wireType != 0 {
  35252. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  35253. }
  35254. m.Replicas = 0
  35255. for shift := uint(0); ; shift += 7 {
  35256. if shift >= 64 {
  35257. return ErrIntOverflowGenerated
  35258. }
  35259. if iNdEx >= l {
  35260. return io.ErrUnexpectedEOF
  35261. }
  35262. b := data[iNdEx]
  35263. iNdEx++
  35264. m.Replicas |= (int32(b) & 0x7F) << shift
  35265. if b < 0x80 {
  35266. break
  35267. }
  35268. }
  35269. case 2:
  35270. if wireType != 0 {
  35271. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  35272. }
  35273. m.FullyLabeledReplicas = 0
  35274. for shift := uint(0); ; shift += 7 {
  35275. if shift >= 64 {
  35276. return ErrIntOverflowGenerated
  35277. }
  35278. if iNdEx >= l {
  35279. return io.ErrUnexpectedEOF
  35280. }
  35281. b := data[iNdEx]
  35282. iNdEx++
  35283. m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
  35284. if b < 0x80 {
  35285. break
  35286. }
  35287. }
  35288. case 3:
  35289. if wireType != 0 {
  35290. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  35291. }
  35292. m.ObservedGeneration = 0
  35293. for shift := uint(0); ; shift += 7 {
  35294. if shift >= 64 {
  35295. return ErrIntOverflowGenerated
  35296. }
  35297. if iNdEx >= l {
  35298. return io.ErrUnexpectedEOF
  35299. }
  35300. b := data[iNdEx]
  35301. iNdEx++
  35302. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  35303. if b < 0x80 {
  35304. break
  35305. }
  35306. }
  35307. case 4:
  35308. if wireType != 0 {
  35309. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  35310. }
  35311. m.ReadyReplicas = 0
  35312. for shift := uint(0); ; shift += 7 {
  35313. if shift >= 64 {
  35314. return ErrIntOverflowGenerated
  35315. }
  35316. if iNdEx >= l {
  35317. return io.ErrUnexpectedEOF
  35318. }
  35319. b := data[iNdEx]
  35320. iNdEx++
  35321. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  35322. if b < 0x80 {
  35323. break
  35324. }
  35325. }
  35326. case 5:
  35327. if wireType != 0 {
  35328. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  35329. }
  35330. m.AvailableReplicas = 0
  35331. for shift := uint(0); ; shift += 7 {
  35332. if shift >= 64 {
  35333. return ErrIntOverflowGenerated
  35334. }
  35335. if iNdEx >= l {
  35336. return io.ErrUnexpectedEOF
  35337. }
  35338. b := data[iNdEx]
  35339. iNdEx++
  35340. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  35341. if b < 0x80 {
  35342. break
  35343. }
  35344. }
  35345. case 6:
  35346. if wireType != 2 {
  35347. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  35348. }
  35349. var msglen int
  35350. for shift := uint(0); ; shift += 7 {
  35351. if shift >= 64 {
  35352. return ErrIntOverflowGenerated
  35353. }
  35354. if iNdEx >= l {
  35355. return io.ErrUnexpectedEOF
  35356. }
  35357. b := data[iNdEx]
  35358. iNdEx++
  35359. msglen |= (int(b) & 0x7F) << shift
  35360. if b < 0x80 {
  35361. break
  35362. }
  35363. }
  35364. if msglen < 0 {
  35365. return ErrInvalidLengthGenerated
  35366. }
  35367. postIndex := iNdEx + msglen
  35368. if postIndex > l {
  35369. return io.ErrUnexpectedEOF
  35370. }
  35371. m.Conditions = append(m.Conditions, ReplicationControllerCondition{})
  35372. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  35373. return err
  35374. }
  35375. iNdEx = postIndex
  35376. default:
  35377. iNdEx = preIndex
  35378. skippy, err := skipGenerated(data[iNdEx:])
  35379. if err != nil {
  35380. return err
  35381. }
  35382. if skippy < 0 {
  35383. return ErrInvalidLengthGenerated
  35384. }
  35385. if (iNdEx + skippy) > l {
  35386. return io.ErrUnexpectedEOF
  35387. }
  35388. iNdEx += skippy
  35389. }
  35390. }
  35391. if iNdEx > l {
  35392. return io.ErrUnexpectedEOF
  35393. }
  35394. return nil
  35395. }
  35396. func (m *ResourceFieldSelector) Unmarshal(data []byte) error {
  35397. l := len(data)
  35398. iNdEx := 0
  35399. for iNdEx < l {
  35400. preIndex := iNdEx
  35401. var wire uint64
  35402. for shift := uint(0); ; shift += 7 {
  35403. if shift >= 64 {
  35404. return ErrIntOverflowGenerated
  35405. }
  35406. if iNdEx >= l {
  35407. return io.ErrUnexpectedEOF
  35408. }
  35409. b := data[iNdEx]
  35410. iNdEx++
  35411. wire |= (uint64(b) & 0x7F) << shift
  35412. if b < 0x80 {
  35413. break
  35414. }
  35415. }
  35416. fieldNum := int32(wire >> 3)
  35417. wireType := int(wire & 0x7)
  35418. if wireType == 4 {
  35419. return fmt.Errorf("proto: ResourceFieldSelector: wiretype end group for non-group")
  35420. }
  35421. if fieldNum <= 0 {
  35422. return fmt.Errorf("proto: ResourceFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  35423. }
  35424. switch fieldNum {
  35425. case 1:
  35426. if wireType != 2 {
  35427. return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType)
  35428. }
  35429. var stringLen uint64
  35430. for shift := uint(0); ; shift += 7 {
  35431. if shift >= 64 {
  35432. return ErrIntOverflowGenerated
  35433. }
  35434. if iNdEx >= l {
  35435. return io.ErrUnexpectedEOF
  35436. }
  35437. b := data[iNdEx]
  35438. iNdEx++
  35439. stringLen |= (uint64(b) & 0x7F) << shift
  35440. if b < 0x80 {
  35441. break
  35442. }
  35443. }
  35444. intStringLen := int(stringLen)
  35445. if intStringLen < 0 {
  35446. return ErrInvalidLengthGenerated
  35447. }
  35448. postIndex := iNdEx + intStringLen
  35449. if postIndex > l {
  35450. return io.ErrUnexpectedEOF
  35451. }
  35452. m.ContainerName = string(data[iNdEx:postIndex])
  35453. iNdEx = postIndex
  35454. case 2:
  35455. if wireType != 2 {
  35456. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  35457. }
  35458. var stringLen uint64
  35459. for shift := uint(0); ; shift += 7 {
  35460. if shift >= 64 {
  35461. return ErrIntOverflowGenerated
  35462. }
  35463. if iNdEx >= l {
  35464. return io.ErrUnexpectedEOF
  35465. }
  35466. b := data[iNdEx]
  35467. iNdEx++
  35468. stringLen |= (uint64(b) & 0x7F) << shift
  35469. if b < 0x80 {
  35470. break
  35471. }
  35472. }
  35473. intStringLen := int(stringLen)
  35474. if intStringLen < 0 {
  35475. return ErrInvalidLengthGenerated
  35476. }
  35477. postIndex := iNdEx + intStringLen
  35478. if postIndex > l {
  35479. return io.ErrUnexpectedEOF
  35480. }
  35481. m.Resource = string(data[iNdEx:postIndex])
  35482. iNdEx = postIndex
  35483. case 3:
  35484. if wireType != 2 {
  35485. return fmt.Errorf("proto: wrong wireType = %d for field Divisor", wireType)
  35486. }
  35487. var msglen int
  35488. for shift := uint(0); ; shift += 7 {
  35489. if shift >= 64 {
  35490. return ErrIntOverflowGenerated
  35491. }
  35492. if iNdEx >= l {
  35493. return io.ErrUnexpectedEOF
  35494. }
  35495. b := data[iNdEx]
  35496. iNdEx++
  35497. msglen |= (int(b) & 0x7F) << shift
  35498. if b < 0x80 {
  35499. break
  35500. }
  35501. }
  35502. if msglen < 0 {
  35503. return ErrInvalidLengthGenerated
  35504. }
  35505. postIndex := iNdEx + msglen
  35506. if postIndex > l {
  35507. return io.ErrUnexpectedEOF
  35508. }
  35509. if err := m.Divisor.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35510. return err
  35511. }
  35512. iNdEx = postIndex
  35513. default:
  35514. iNdEx = preIndex
  35515. skippy, err := skipGenerated(data[iNdEx:])
  35516. if err != nil {
  35517. return err
  35518. }
  35519. if skippy < 0 {
  35520. return ErrInvalidLengthGenerated
  35521. }
  35522. if (iNdEx + skippy) > l {
  35523. return io.ErrUnexpectedEOF
  35524. }
  35525. iNdEx += skippy
  35526. }
  35527. }
  35528. if iNdEx > l {
  35529. return io.ErrUnexpectedEOF
  35530. }
  35531. return nil
  35532. }
  35533. func (m *ResourceQuota) Unmarshal(data []byte) error {
  35534. l := len(data)
  35535. iNdEx := 0
  35536. for iNdEx < l {
  35537. preIndex := iNdEx
  35538. var wire uint64
  35539. for shift := uint(0); ; shift += 7 {
  35540. if shift >= 64 {
  35541. return ErrIntOverflowGenerated
  35542. }
  35543. if iNdEx >= l {
  35544. return io.ErrUnexpectedEOF
  35545. }
  35546. b := data[iNdEx]
  35547. iNdEx++
  35548. wire |= (uint64(b) & 0x7F) << shift
  35549. if b < 0x80 {
  35550. break
  35551. }
  35552. }
  35553. fieldNum := int32(wire >> 3)
  35554. wireType := int(wire & 0x7)
  35555. if wireType == 4 {
  35556. return fmt.Errorf("proto: ResourceQuota: wiretype end group for non-group")
  35557. }
  35558. if fieldNum <= 0 {
  35559. return fmt.Errorf("proto: ResourceQuota: illegal tag %d (wire type %d)", fieldNum, wire)
  35560. }
  35561. switch fieldNum {
  35562. case 1:
  35563. if wireType != 2 {
  35564. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  35565. }
  35566. var msglen int
  35567. for shift := uint(0); ; shift += 7 {
  35568. if shift >= 64 {
  35569. return ErrIntOverflowGenerated
  35570. }
  35571. if iNdEx >= l {
  35572. return io.ErrUnexpectedEOF
  35573. }
  35574. b := data[iNdEx]
  35575. iNdEx++
  35576. msglen |= (int(b) & 0x7F) << shift
  35577. if b < 0x80 {
  35578. break
  35579. }
  35580. }
  35581. if msglen < 0 {
  35582. return ErrInvalidLengthGenerated
  35583. }
  35584. postIndex := iNdEx + msglen
  35585. if postIndex > l {
  35586. return io.ErrUnexpectedEOF
  35587. }
  35588. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35589. return err
  35590. }
  35591. iNdEx = postIndex
  35592. case 2:
  35593. if wireType != 2 {
  35594. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  35595. }
  35596. var msglen int
  35597. for shift := uint(0); ; shift += 7 {
  35598. if shift >= 64 {
  35599. return ErrIntOverflowGenerated
  35600. }
  35601. if iNdEx >= l {
  35602. return io.ErrUnexpectedEOF
  35603. }
  35604. b := data[iNdEx]
  35605. iNdEx++
  35606. msglen |= (int(b) & 0x7F) << shift
  35607. if b < 0x80 {
  35608. break
  35609. }
  35610. }
  35611. if msglen < 0 {
  35612. return ErrInvalidLengthGenerated
  35613. }
  35614. postIndex := iNdEx + msglen
  35615. if postIndex > l {
  35616. return io.ErrUnexpectedEOF
  35617. }
  35618. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35619. return err
  35620. }
  35621. iNdEx = postIndex
  35622. case 3:
  35623. if wireType != 2 {
  35624. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  35625. }
  35626. var msglen int
  35627. for shift := uint(0); ; shift += 7 {
  35628. if shift >= 64 {
  35629. return ErrIntOverflowGenerated
  35630. }
  35631. if iNdEx >= l {
  35632. return io.ErrUnexpectedEOF
  35633. }
  35634. b := data[iNdEx]
  35635. iNdEx++
  35636. msglen |= (int(b) & 0x7F) << shift
  35637. if b < 0x80 {
  35638. break
  35639. }
  35640. }
  35641. if msglen < 0 {
  35642. return ErrInvalidLengthGenerated
  35643. }
  35644. postIndex := iNdEx + msglen
  35645. if postIndex > l {
  35646. return io.ErrUnexpectedEOF
  35647. }
  35648. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35649. return err
  35650. }
  35651. iNdEx = postIndex
  35652. default:
  35653. iNdEx = preIndex
  35654. skippy, err := skipGenerated(data[iNdEx:])
  35655. if err != nil {
  35656. return err
  35657. }
  35658. if skippy < 0 {
  35659. return ErrInvalidLengthGenerated
  35660. }
  35661. if (iNdEx + skippy) > l {
  35662. return io.ErrUnexpectedEOF
  35663. }
  35664. iNdEx += skippy
  35665. }
  35666. }
  35667. if iNdEx > l {
  35668. return io.ErrUnexpectedEOF
  35669. }
  35670. return nil
  35671. }
  35672. func (m *ResourceQuotaList) Unmarshal(data []byte) error {
  35673. l := len(data)
  35674. iNdEx := 0
  35675. for iNdEx < l {
  35676. preIndex := iNdEx
  35677. var wire uint64
  35678. for shift := uint(0); ; shift += 7 {
  35679. if shift >= 64 {
  35680. return ErrIntOverflowGenerated
  35681. }
  35682. if iNdEx >= l {
  35683. return io.ErrUnexpectedEOF
  35684. }
  35685. b := data[iNdEx]
  35686. iNdEx++
  35687. wire |= (uint64(b) & 0x7F) << shift
  35688. if b < 0x80 {
  35689. break
  35690. }
  35691. }
  35692. fieldNum := int32(wire >> 3)
  35693. wireType := int(wire & 0x7)
  35694. if wireType == 4 {
  35695. return fmt.Errorf("proto: ResourceQuotaList: wiretype end group for non-group")
  35696. }
  35697. if fieldNum <= 0 {
  35698. return fmt.Errorf("proto: ResourceQuotaList: illegal tag %d (wire type %d)", fieldNum, wire)
  35699. }
  35700. switch fieldNum {
  35701. case 1:
  35702. if wireType != 2 {
  35703. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  35704. }
  35705. var msglen int
  35706. for shift := uint(0); ; shift += 7 {
  35707. if shift >= 64 {
  35708. return ErrIntOverflowGenerated
  35709. }
  35710. if iNdEx >= l {
  35711. return io.ErrUnexpectedEOF
  35712. }
  35713. b := data[iNdEx]
  35714. iNdEx++
  35715. msglen |= (int(b) & 0x7F) << shift
  35716. if b < 0x80 {
  35717. break
  35718. }
  35719. }
  35720. if msglen < 0 {
  35721. return ErrInvalidLengthGenerated
  35722. }
  35723. postIndex := iNdEx + msglen
  35724. if postIndex > l {
  35725. return io.ErrUnexpectedEOF
  35726. }
  35727. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  35728. return err
  35729. }
  35730. iNdEx = postIndex
  35731. case 2:
  35732. if wireType != 2 {
  35733. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  35734. }
  35735. var msglen int
  35736. for shift := uint(0); ; shift += 7 {
  35737. if shift >= 64 {
  35738. return ErrIntOverflowGenerated
  35739. }
  35740. if iNdEx >= l {
  35741. return io.ErrUnexpectedEOF
  35742. }
  35743. b := data[iNdEx]
  35744. iNdEx++
  35745. msglen |= (int(b) & 0x7F) << shift
  35746. if b < 0x80 {
  35747. break
  35748. }
  35749. }
  35750. if msglen < 0 {
  35751. return ErrInvalidLengthGenerated
  35752. }
  35753. postIndex := iNdEx + msglen
  35754. if postIndex > l {
  35755. return io.ErrUnexpectedEOF
  35756. }
  35757. m.Items = append(m.Items, ResourceQuota{})
  35758. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  35759. return err
  35760. }
  35761. iNdEx = postIndex
  35762. default:
  35763. iNdEx = preIndex
  35764. skippy, err := skipGenerated(data[iNdEx:])
  35765. if err != nil {
  35766. return err
  35767. }
  35768. if skippy < 0 {
  35769. return ErrInvalidLengthGenerated
  35770. }
  35771. if (iNdEx + skippy) > l {
  35772. return io.ErrUnexpectedEOF
  35773. }
  35774. iNdEx += skippy
  35775. }
  35776. }
  35777. if iNdEx > l {
  35778. return io.ErrUnexpectedEOF
  35779. }
  35780. return nil
  35781. }
  35782. func (m *ResourceQuotaSpec) Unmarshal(data []byte) error {
  35783. l := len(data)
  35784. iNdEx := 0
  35785. for iNdEx < l {
  35786. preIndex := iNdEx
  35787. var wire uint64
  35788. for shift := uint(0); ; shift += 7 {
  35789. if shift >= 64 {
  35790. return ErrIntOverflowGenerated
  35791. }
  35792. if iNdEx >= l {
  35793. return io.ErrUnexpectedEOF
  35794. }
  35795. b := data[iNdEx]
  35796. iNdEx++
  35797. wire |= (uint64(b) & 0x7F) << shift
  35798. if b < 0x80 {
  35799. break
  35800. }
  35801. }
  35802. fieldNum := int32(wire >> 3)
  35803. wireType := int(wire & 0x7)
  35804. if wireType == 4 {
  35805. return fmt.Errorf("proto: ResourceQuotaSpec: wiretype end group for non-group")
  35806. }
  35807. if fieldNum <= 0 {
  35808. return fmt.Errorf("proto: ResourceQuotaSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  35809. }
  35810. switch fieldNum {
  35811. case 1:
  35812. if wireType != 2 {
  35813. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  35814. }
  35815. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  35826. if b < 0x80 {
  35827. break
  35828. }
  35829. }
  35830. if msglen < 0 {
  35831. return ErrInvalidLengthGenerated
  35832. }
  35833. postIndex := iNdEx + msglen
  35834. if postIndex > l {
  35835. return io.ErrUnexpectedEOF
  35836. }
  35837. var keykey uint64
  35838. for shift := uint(0); ; shift += 7 {
  35839. if shift >= 64 {
  35840. return ErrIntOverflowGenerated
  35841. }
  35842. if iNdEx >= l {
  35843. return io.ErrUnexpectedEOF
  35844. }
  35845. b := data[iNdEx]
  35846. iNdEx++
  35847. keykey |= (uint64(b) & 0x7F) << shift
  35848. if b < 0x80 {
  35849. break
  35850. }
  35851. }
  35852. var stringLenmapkey uint64
  35853. for shift := uint(0); ; shift += 7 {
  35854. if shift >= 64 {
  35855. return ErrIntOverflowGenerated
  35856. }
  35857. if iNdEx >= l {
  35858. return io.ErrUnexpectedEOF
  35859. }
  35860. b := data[iNdEx]
  35861. iNdEx++
  35862. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  35863. if b < 0x80 {
  35864. break
  35865. }
  35866. }
  35867. intStringLenmapkey := int(stringLenmapkey)
  35868. if intStringLenmapkey < 0 {
  35869. return ErrInvalidLengthGenerated
  35870. }
  35871. postStringIndexmapkey := iNdEx + intStringLenmapkey
  35872. if postStringIndexmapkey > l {
  35873. return io.ErrUnexpectedEOF
  35874. }
  35875. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  35876. iNdEx = postStringIndexmapkey
  35877. var valuekey uint64
  35878. for shift := uint(0); ; shift += 7 {
  35879. if shift >= 64 {
  35880. return ErrIntOverflowGenerated
  35881. }
  35882. if iNdEx >= l {
  35883. return io.ErrUnexpectedEOF
  35884. }
  35885. b := data[iNdEx]
  35886. iNdEx++
  35887. valuekey |= (uint64(b) & 0x7F) << shift
  35888. if b < 0x80 {
  35889. break
  35890. }
  35891. }
  35892. var mapmsglen int
  35893. for shift := uint(0); ; shift += 7 {
  35894. if shift >= 64 {
  35895. return ErrIntOverflowGenerated
  35896. }
  35897. if iNdEx >= l {
  35898. return io.ErrUnexpectedEOF
  35899. }
  35900. b := data[iNdEx]
  35901. iNdEx++
  35902. mapmsglen |= (int(b) & 0x7F) << shift
  35903. if b < 0x80 {
  35904. break
  35905. }
  35906. }
  35907. if mapmsglen < 0 {
  35908. return ErrInvalidLengthGenerated
  35909. }
  35910. postmsgIndex := iNdEx + mapmsglen
  35911. if mapmsglen < 0 {
  35912. return ErrInvalidLengthGenerated
  35913. }
  35914. if postmsgIndex > l {
  35915. return io.ErrUnexpectedEOF
  35916. }
  35917. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  35918. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  35919. return err
  35920. }
  35921. iNdEx = postmsgIndex
  35922. if m.Hard == nil {
  35923. m.Hard = make(ResourceList)
  35924. }
  35925. m.Hard[ResourceName(mapkey)] = *mapvalue
  35926. iNdEx = postIndex
  35927. case 2:
  35928. if wireType != 2 {
  35929. return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
  35930. }
  35931. var stringLen uint64
  35932. for shift := uint(0); ; shift += 7 {
  35933. if shift >= 64 {
  35934. return ErrIntOverflowGenerated
  35935. }
  35936. if iNdEx >= l {
  35937. return io.ErrUnexpectedEOF
  35938. }
  35939. b := data[iNdEx]
  35940. iNdEx++
  35941. stringLen |= (uint64(b) & 0x7F) << shift
  35942. if b < 0x80 {
  35943. break
  35944. }
  35945. }
  35946. intStringLen := int(stringLen)
  35947. if intStringLen < 0 {
  35948. return ErrInvalidLengthGenerated
  35949. }
  35950. postIndex := iNdEx + intStringLen
  35951. if postIndex > l {
  35952. return io.ErrUnexpectedEOF
  35953. }
  35954. m.Scopes = append(m.Scopes, ResourceQuotaScope(data[iNdEx:postIndex]))
  35955. iNdEx = postIndex
  35956. default:
  35957. iNdEx = preIndex
  35958. skippy, err := skipGenerated(data[iNdEx:])
  35959. if err != nil {
  35960. return err
  35961. }
  35962. if skippy < 0 {
  35963. return ErrInvalidLengthGenerated
  35964. }
  35965. if (iNdEx + skippy) > l {
  35966. return io.ErrUnexpectedEOF
  35967. }
  35968. iNdEx += skippy
  35969. }
  35970. }
  35971. if iNdEx > l {
  35972. return io.ErrUnexpectedEOF
  35973. }
  35974. return nil
  35975. }
  35976. func (m *ResourceQuotaStatus) Unmarshal(data []byte) error {
  35977. l := len(data)
  35978. iNdEx := 0
  35979. for iNdEx < l {
  35980. preIndex := iNdEx
  35981. var wire uint64
  35982. for shift := uint(0); ; shift += 7 {
  35983. if shift >= 64 {
  35984. return ErrIntOverflowGenerated
  35985. }
  35986. if iNdEx >= l {
  35987. return io.ErrUnexpectedEOF
  35988. }
  35989. b := data[iNdEx]
  35990. iNdEx++
  35991. wire |= (uint64(b) & 0x7F) << shift
  35992. if b < 0x80 {
  35993. break
  35994. }
  35995. }
  35996. fieldNum := int32(wire >> 3)
  35997. wireType := int(wire & 0x7)
  35998. if wireType == 4 {
  35999. return fmt.Errorf("proto: ResourceQuotaStatus: wiretype end group for non-group")
  36000. }
  36001. if fieldNum <= 0 {
  36002. return fmt.Errorf("proto: ResourceQuotaStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  36003. }
  36004. switch fieldNum {
  36005. case 1:
  36006. if wireType != 2 {
  36007. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  36008. }
  36009. var msglen int
  36010. for shift := uint(0); ; shift += 7 {
  36011. if shift >= 64 {
  36012. return ErrIntOverflowGenerated
  36013. }
  36014. if iNdEx >= l {
  36015. return io.ErrUnexpectedEOF
  36016. }
  36017. b := data[iNdEx]
  36018. iNdEx++
  36019. msglen |= (int(b) & 0x7F) << shift
  36020. if b < 0x80 {
  36021. break
  36022. }
  36023. }
  36024. if msglen < 0 {
  36025. return ErrInvalidLengthGenerated
  36026. }
  36027. postIndex := iNdEx + msglen
  36028. if postIndex > l {
  36029. return io.ErrUnexpectedEOF
  36030. }
  36031. var keykey uint64
  36032. for shift := uint(0); ; shift += 7 {
  36033. if shift >= 64 {
  36034. return ErrIntOverflowGenerated
  36035. }
  36036. if iNdEx >= l {
  36037. return io.ErrUnexpectedEOF
  36038. }
  36039. b := data[iNdEx]
  36040. iNdEx++
  36041. keykey |= (uint64(b) & 0x7F) << shift
  36042. if b < 0x80 {
  36043. break
  36044. }
  36045. }
  36046. var stringLenmapkey uint64
  36047. for shift := uint(0); ; shift += 7 {
  36048. if shift >= 64 {
  36049. return ErrIntOverflowGenerated
  36050. }
  36051. if iNdEx >= l {
  36052. return io.ErrUnexpectedEOF
  36053. }
  36054. b := data[iNdEx]
  36055. iNdEx++
  36056. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  36057. if b < 0x80 {
  36058. break
  36059. }
  36060. }
  36061. intStringLenmapkey := int(stringLenmapkey)
  36062. if intStringLenmapkey < 0 {
  36063. return ErrInvalidLengthGenerated
  36064. }
  36065. postStringIndexmapkey := iNdEx + intStringLenmapkey
  36066. if postStringIndexmapkey > l {
  36067. return io.ErrUnexpectedEOF
  36068. }
  36069. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  36070. iNdEx = postStringIndexmapkey
  36071. var valuekey uint64
  36072. for shift := uint(0); ; shift += 7 {
  36073. if shift >= 64 {
  36074. return ErrIntOverflowGenerated
  36075. }
  36076. if iNdEx >= l {
  36077. return io.ErrUnexpectedEOF
  36078. }
  36079. b := data[iNdEx]
  36080. iNdEx++
  36081. valuekey |= (uint64(b) & 0x7F) << shift
  36082. if b < 0x80 {
  36083. break
  36084. }
  36085. }
  36086. var mapmsglen int
  36087. for shift := uint(0); ; shift += 7 {
  36088. if shift >= 64 {
  36089. return ErrIntOverflowGenerated
  36090. }
  36091. if iNdEx >= l {
  36092. return io.ErrUnexpectedEOF
  36093. }
  36094. b := data[iNdEx]
  36095. iNdEx++
  36096. mapmsglen |= (int(b) & 0x7F) << shift
  36097. if b < 0x80 {
  36098. break
  36099. }
  36100. }
  36101. if mapmsglen < 0 {
  36102. return ErrInvalidLengthGenerated
  36103. }
  36104. postmsgIndex := iNdEx + mapmsglen
  36105. if mapmsglen < 0 {
  36106. return ErrInvalidLengthGenerated
  36107. }
  36108. if postmsgIndex > l {
  36109. return io.ErrUnexpectedEOF
  36110. }
  36111. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  36112. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  36113. return err
  36114. }
  36115. iNdEx = postmsgIndex
  36116. if m.Hard == nil {
  36117. m.Hard = make(ResourceList)
  36118. }
  36119. m.Hard[ResourceName(mapkey)] = *mapvalue
  36120. iNdEx = postIndex
  36121. case 2:
  36122. if wireType != 2 {
  36123. return fmt.Errorf("proto: wrong wireType = %d for field Used", wireType)
  36124. }
  36125. var msglen int
  36126. for shift := uint(0); ; shift += 7 {
  36127. if shift >= 64 {
  36128. return ErrIntOverflowGenerated
  36129. }
  36130. if iNdEx >= l {
  36131. return io.ErrUnexpectedEOF
  36132. }
  36133. b := data[iNdEx]
  36134. iNdEx++
  36135. msglen |= (int(b) & 0x7F) << shift
  36136. if b < 0x80 {
  36137. break
  36138. }
  36139. }
  36140. if msglen < 0 {
  36141. return ErrInvalidLengthGenerated
  36142. }
  36143. postIndex := iNdEx + msglen
  36144. if postIndex > l {
  36145. return io.ErrUnexpectedEOF
  36146. }
  36147. var keykey uint64
  36148. for shift := uint(0); ; shift += 7 {
  36149. if shift >= 64 {
  36150. return ErrIntOverflowGenerated
  36151. }
  36152. if iNdEx >= l {
  36153. return io.ErrUnexpectedEOF
  36154. }
  36155. b := data[iNdEx]
  36156. iNdEx++
  36157. keykey |= (uint64(b) & 0x7F) << shift
  36158. if b < 0x80 {
  36159. break
  36160. }
  36161. }
  36162. var stringLenmapkey uint64
  36163. for shift := uint(0); ; shift += 7 {
  36164. if shift >= 64 {
  36165. return ErrIntOverflowGenerated
  36166. }
  36167. if iNdEx >= l {
  36168. return io.ErrUnexpectedEOF
  36169. }
  36170. b := data[iNdEx]
  36171. iNdEx++
  36172. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  36173. if b < 0x80 {
  36174. break
  36175. }
  36176. }
  36177. intStringLenmapkey := int(stringLenmapkey)
  36178. if intStringLenmapkey < 0 {
  36179. return ErrInvalidLengthGenerated
  36180. }
  36181. postStringIndexmapkey := iNdEx + intStringLenmapkey
  36182. if postStringIndexmapkey > l {
  36183. return io.ErrUnexpectedEOF
  36184. }
  36185. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  36186. iNdEx = postStringIndexmapkey
  36187. var valuekey uint64
  36188. for shift := uint(0); ; shift += 7 {
  36189. if shift >= 64 {
  36190. return ErrIntOverflowGenerated
  36191. }
  36192. if iNdEx >= l {
  36193. return io.ErrUnexpectedEOF
  36194. }
  36195. b := data[iNdEx]
  36196. iNdEx++
  36197. valuekey |= (uint64(b) & 0x7F) << shift
  36198. if b < 0x80 {
  36199. break
  36200. }
  36201. }
  36202. var mapmsglen int
  36203. for shift := uint(0); ; shift += 7 {
  36204. if shift >= 64 {
  36205. return ErrIntOverflowGenerated
  36206. }
  36207. if iNdEx >= l {
  36208. return io.ErrUnexpectedEOF
  36209. }
  36210. b := data[iNdEx]
  36211. iNdEx++
  36212. mapmsglen |= (int(b) & 0x7F) << shift
  36213. if b < 0x80 {
  36214. break
  36215. }
  36216. }
  36217. if mapmsglen < 0 {
  36218. return ErrInvalidLengthGenerated
  36219. }
  36220. postmsgIndex := iNdEx + mapmsglen
  36221. if mapmsglen < 0 {
  36222. return ErrInvalidLengthGenerated
  36223. }
  36224. if postmsgIndex > l {
  36225. return io.ErrUnexpectedEOF
  36226. }
  36227. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  36228. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  36229. return err
  36230. }
  36231. iNdEx = postmsgIndex
  36232. if m.Used == nil {
  36233. m.Used = make(ResourceList)
  36234. }
  36235. m.Used[ResourceName(mapkey)] = *mapvalue
  36236. iNdEx = postIndex
  36237. default:
  36238. iNdEx = preIndex
  36239. skippy, err := skipGenerated(data[iNdEx:])
  36240. if err != nil {
  36241. return err
  36242. }
  36243. if skippy < 0 {
  36244. return ErrInvalidLengthGenerated
  36245. }
  36246. if (iNdEx + skippy) > l {
  36247. return io.ErrUnexpectedEOF
  36248. }
  36249. iNdEx += skippy
  36250. }
  36251. }
  36252. if iNdEx > l {
  36253. return io.ErrUnexpectedEOF
  36254. }
  36255. return nil
  36256. }
  36257. func (m *ResourceRequirements) Unmarshal(data []byte) error {
  36258. l := len(data)
  36259. iNdEx := 0
  36260. for iNdEx < l {
  36261. preIndex := iNdEx
  36262. var wire uint64
  36263. for shift := uint(0); ; shift += 7 {
  36264. if shift >= 64 {
  36265. return ErrIntOverflowGenerated
  36266. }
  36267. if iNdEx >= l {
  36268. return io.ErrUnexpectedEOF
  36269. }
  36270. b := data[iNdEx]
  36271. iNdEx++
  36272. wire |= (uint64(b) & 0x7F) << shift
  36273. if b < 0x80 {
  36274. break
  36275. }
  36276. }
  36277. fieldNum := int32(wire >> 3)
  36278. wireType := int(wire & 0x7)
  36279. if wireType == 4 {
  36280. return fmt.Errorf("proto: ResourceRequirements: wiretype end group for non-group")
  36281. }
  36282. if fieldNum <= 0 {
  36283. return fmt.Errorf("proto: ResourceRequirements: illegal tag %d (wire type %d)", fieldNum, wire)
  36284. }
  36285. switch fieldNum {
  36286. case 1:
  36287. if wireType != 2 {
  36288. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  36289. }
  36290. var msglen int
  36291. for shift := uint(0); ; shift += 7 {
  36292. if shift >= 64 {
  36293. return ErrIntOverflowGenerated
  36294. }
  36295. if iNdEx >= l {
  36296. return io.ErrUnexpectedEOF
  36297. }
  36298. b := data[iNdEx]
  36299. iNdEx++
  36300. msglen |= (int(b) & 0x7F) << shift
  36301. if b < 0x80 {
  36302. break
  36303. }
  36304. }
  36305. if msglen < 0 {
  36306. return ErrInvalidLengthGenerated
  36307. }
  36308. postIndex := iNdEx + msglen
  36309. if postIndex > l {
  36310. return io.ErrUnexpectedEOF
  36311. }
  36312. var keykey uint64
  36313. for shift := uint(0); ; shift += 7 {
  36314. if shift >= 64 {
  36315. return ErrIntOverflowGenerated
  36316. }
  36317. if iNdEx >= l {
  36318. return io.ErrUnexpectedEOF
  36319. }
  36320. b := data[iNdEx]
  36321. iNdEx++
  36322. keykey |= (uint64(b) & 0x7F) << shift
  36323. if b < 0x80 {
  36324. break
  36325. }
  36326. }
  36327. var stringLenmapkey uint64
  36328. for shift := uint(0); ; shift += 7 {
  36329. if shift >= 64 {
  36330. return ErrIntOverflowGenerated
  36331. }
  36332. if iNdEx >= l {
  36333. return io.ErrUnexpectedEOF
  36334. }
  36335. b := data[iNdEx]
  36336. iNdEx++
  36337. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  36338. if b < 0x80 {
  36339. break
  36340. }
  36341. }
  36342. intStringLenmapkey := int(stringLenmapkey)
  36343. if intStringLenmapkey < 0 {
  36344. return ErrInvalidLengthGenerated
  36345. }
  36346. postStringIndexmapkey := iNdEx + intStringLenmapkey
  36347. if postStringIndexmapkey > l {
  36348. return io.ErrUnexpectedEOF
  36349. }
  36350. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  36351. iNdEx = postStringIndexmapkey
  36352. var valuekey uint64
  36353. for shift := uint(0); ; shift += 7 {
  36354. if shift >= 64 {
  36355. return ErrIntOverflowGenerated
  36356. }
  36357. if iNdEx >= l {
  36358. return io.ErrUnexpectedEOF
  36359. }
  36360. b := data[iNdEx]
  36361. iNdEx++
  36362. valuekey |= (uint64(b) & 0x7F) << shift
  36363. if b < 0x80 {
  36364. break
  36365. }
  36366. }
  36367. var mapmsglen int
  36368. for shift := uint(0); ; shift += 7 {
  36369. if shift >= 64 {
  36370. return ErrIntOverflowGenerated
  36371. }
  36372. if iNdEx >= l {
  36373. return io.ErrUnexpectedEOF
  36374. }
  36375. b := data[iNdEx]
  36376. iNdEx++
  36377. mapmsglen |= (int(b) & 0x7F) << shift
  36378. if b < 0x80 {
  36379. break
  36380. }
  36381. }
  36382. if mapmsglen < 0 {
  36383. return ErrInvalidLengthGenerated
  36384. }
  36385. postmsgIndex := iNdEx + mapmsglen
  36386. if mapmsglen < 0 {
  36387. return ErrInvalidLengthGenerated
  36388. }
  36389. if postmsgIndex > l {
  36390. return io.ErrUnexpectedEOF
  36391. }
  36392. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  36393. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  36394. return err
  36395. }
  36396. iNdEx = postmsgIndex
  36397. if m.Limits == nil {
  36398. m.Limits = make(ResourceList)
  36399. }
  36400. m.Limits[ResourceName(mapkey)] = *mapvalue
  36401. iNdEx = postIndex
  36402. case 2:
  36403. if wireType != 2 {
  36404. return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
  36405. }
  36406. var msglen int
  36407. for shift := uint(0); ; shift += 7 {
  36408. if shift >= 64 {
  36409. return ErrIntOverflowGenerated
  36410. }
  36411. if iNdEx >= l {
  36412. return io.ErrUnexpectedEOF
  36413. }
  36414. b := data[iNdEx]
  36415. iNdEx++
  36416. msglen |= (int(b) & 0x7F) << shift
  36417. if b < 0x80 {
  36418. break
  36419. }
  36420. }
  36421. if msglen < 0 {
  36422. return ErrInvalidLengthGenerated
  36423. }
  36424. postIndex := iNdEx + msglen
  36425. if postIndex > l {
  36426. return io.ErrUnexpectedEOF
  36427. }
  36428. var keykey uint64
  36429. for shift := uint(0); ; shift += 7 {
  36430. if shift >= 64 {
  36431. return ErrIntOverflowGenerated
  36432. }
  36433. if iNdEx >= l {
  36434. return io.ErrUnexpectedEOF
  36435. }
  36436. b := data[iNdEx]
  36437. iNdEx++
  36438. keykey |= (uint64(b) & 0x7F) << shift
  36439. if b < 0x80 {
  36440. break
  36441. }
  36442. }
  36443. var stringLenmapkey uint64
  36444. for shift := uint(0); ; shift += 7 {
  36445. if shift >= 64 {
  36446. return ErrIntOverflowGenerated
  36447. }
  36448. if iNdEx >= l {
  36449. return io.ErrUnexpectedEOF
  36450. }
  36451. b := data[iNdEx]
  36452. iNdEx++
  36453. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  36454. if b < 0x80 {
  36455. break
  36456. }
  36457. }
  36458. intStringLenmapkey := int(stringLenmapkey)
  36459. if intStringLenmapkey < 0 {
  36460. return ErrInvalidLengthGenerated
  36461. }
  36462. postStringIndexmapkey := iNdEx + intStringLenmapkey
  36463. if postStringIndexmapkey > l {
  36464. return io.ErrUnexpectedEOF
  36465. }
  36466. mapkey := ResourceName(data[iNdEx:postStringIndexmapkey])
  36467. iNdEx = postStringIndexmapkey
  36468. var valuekey uint64
  36469. for shift := uint(0); ; shift += 7 {
  36470. if shift >= 64 {
  36471. return ErrIntOverflowGenerated
  36472. }
  36473. if iNdEx >= l {
  36474. return io.ErrUnexpectedEOF
  36475. }
  36476. b := data[iNdEx]
  36477. iNdEx++
  36478. valuekey |= (uint64(b) & 0x7F) << shift
  36479. if b < 0x80 {
  36480. break
  36481. }
  36482. }
  36483. var mapmsglen int
  36484. for shift := uint(0); ; shift += 7 {
  36485. if shift >= 64 {
  36486. return ErrIntOverflowGenerated
  36487. }
  36488. if iNdEx >= l {
  36489. return io.ErrUnexpectedEOF
  36490. }
  36491. b := data[iNdEx]
  36492. iNdEx++
  36493. mapmsglen |= (int(b) & 0x7F) << shift
  36494. if b < 0x80 {
  36495. break
  36496. }
  36497. }
  36498. if mapmsglen < 0 {
  36499. return ErrInvalidLengthGenerated
  36500. }
  36501. postmsgIndex := iNdEx + mapmsglen
  36502. if mapmsglen < 0 {
  36503. return ErrInvalidLengthGenerated
  36504. }
  36505. if postmsgIndex > l {
  36506. return io.ErrUnexpectedEOF
  36507. }
  36508. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  36509. if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil {
  36510. return err
  36511. }
  36512. iNdEx = postmsgIndex
  36513. if m.Requests == nil {
  36514. m.Requests = make(ResourceList)
  36515. }
  36516. m.Requests[ResourceName(mapkey)] = *mapvalue
  36517. iNdEx = postIndex
  36518. default:
  36519. iNdEx = preIndex
  36520. skippy, err := skipGenerated(data[iNdEx:])
  36521. if err != nil {
  36522. return err
  36523. }
  36524. if skippy < 0 {
  36525. return ErrInvalidLengthGenerated
  36526. }
  36527. if (iNdEx + skippy) > l {
  36528. return io.ErrUnexpectedEOF
  36529. }
  36530. iNdEx += skippy
  36531. }
  36532. }
  36533. if iNdEx > l {
  36534. return io.ErrUnexpectedEOF
  36535. }
  36536. return nil
  36537. }
  36538. func (m *SELinuxOptions) Unmarshal(data []byte) error {
  36539. l := len(data)
  36540. iNdEx := 0
  36541. for iNdEx < l {
  36542. preIndex := iNdEx
  36543. var wire uint64
  36544. for shift := uint(0); ; shift += 7 {
  36545. if shift >= 64 {
  36546. return ErrIntOverflowGenerated
  36547. }
  36548. if iNdEx >= l {
  36549. return io.ErrUnexpectedEOF
  36550. }
  36551. b := data[iNdEx]
  36552. iNdEx++
  36553. wire |= (uint64(b) & 0x7F) << shift
  36554. if b < 0x80 {
  36555. break
  36556. }
  36557. }
  36558. fieldNum := int32(wire >> 3)
  36559. wireType := int(wire & 0x7)
  36560. if wireType == 4 {
  36561. return fmt.Errorf("proto: SELinuxOptions: wiretype end group for non-group")
  36562. }
  36563. if fieldNum <= 0 {
  36564. return fmt.Errorf("proto: SELinuxOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  36565. }
  36566. switch fieldNum {
  36567. case 1:
  36568. if wireType != 2 {
  36569. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  36570. }
  36571. var stringLen uint64
  36572. for shift := uint(0); ; shift += 7 {
  36573. if shift >= 64 {
  36574. return ErrIntOverflowGenerated
  36575. }
  36576. if iNdEx >= l {
  36577. return io.ErrUnexpectedEOF
  36578. }
  36579. b := data[iNdEx]
  36580. iNdEx++
  36581. stringLen |= (uint64(b) & 0x7F) << shift
  36582. if b < 0x80 {
  36583. break
  36584. }
  36585. }
  36586. intStringLen := int(stringLen)
  36587. if intStringLen < 0 {
  36588. return ErrInvalidLengthGenerated
  36589. }
  36590. postIndex := iNdEx + intStringLen
  36591. if postIndex > l {
  36592. return io.ErrUnexpectedEOF
  36593. }
  36594. m.User = string(data[iNdEx:postIndex])
  36595. iNdEx = postIndex
  36596. case 2:
  36597. if wireType != 2 {
  36598. return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
  36599. }
  36600. var stringLen uint64
  36601. for shift := uint(0); ; shift += 7 {
  36602. if shift >= 64 {
  36603. return ErrIntOverflowGenerated
  36604. }
  36605. if iNdEx >= l {
  36606. return io.ErrUnexpectedEOF
  36607. }
  36608. b := data[iNdEx]
  36609. iNdEx++
  36610. stringLen |= (uint64(b) & 0x7F) << shift
  36611. if b < 0x80 {
  36612. break
  36613. }
  36614. }
  36615. intStringLen := int(stringLen)
  36616. if intStringLen < 0 {
  36617. return ErrInvalidLengthGenerated
  36618. }
  36619. postIndex := iNdEx + intStringLen
  36620. if postIndex > l {
  36621. return io.ErrUnexpectedEOF
  36622. }
  36623. m.Role = string(data[iNdEx:postIndex])
  36624. iNdEx = postIndex
  36625. case 3:
  36626. if wireType != 2 {
  36627. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  36628. }
  36629. var stringLen uint64
  36630. for shift := uint(0); ; shift += 7 {
  36631. if shift >= 64 {
  36632. return ErrIntOverflowGenerated
  36633. }
  36634. if iNdEx >= l {
  36635. return io.ErrUnexpectedEOF
  36636. }
  36637. b := data[iNdEx]
  36638. iNdEx++
  36639. stringLen |= (uint64(b) & 0x7F) << shift
  36640. if b < 0x80 {
  36641. break
  36642. }
  36643. }
  36644. intStringLen := int(stringLen)
  36645. if intStringLen < 0 {
  36646. return ErrInvalidLengthGenerated
  36647. }
  36648. postIndex := iNdEx + intStringLen
  36649. if postIndex > l {
  36650. return io.ErrUnexpectedEOF
  36651. }
  36652. m.Type = string(data[iNdEx:postIndex])
  36653. iNdEx = postIndex
  36654. case 4:
  36655. if wireType != 2 {
  36656. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  36657. }
  36658. var stringLen uint64
  36659. for shift := uint(0); ; shift += 7 {
  36660. if shift >= 64 {
  36661. return ErrIntOverflowGenerated
  36662. }
  36663. if iNdEx >= l {
  36664. return io.ErrUnexpectedEOF
  36665. }
  36666. b := data[iNdEx]
  36667. iNdEx++
  36668. stringLen |= (uint64(b) & 0x7F) << shift
  36669. if b < 0x80 {
  36670. break
  36671. }
  36672. }
  36673. intStringLen := int(stringLen)
  36674. if intStringLen < 0 {
  36675. return ErrInvalidLengthGenerated
  36676. }
  36677. postIndex := iNdEx + intStringLen
  36678. if postIndex > l {
  36679. return io.ErrUnexpectedEOF
  36680. }
  36681. m.Level = string(data[iNdEx:postIndex])
  36682. iNdEx = postIndex
  36683. default:
  36684. iNdEx = preIndex
  36685. skippy, err := skipGenerated(data[iNdEx:])
  36686. if err != nil {
  36687. return err
  36688. }
  36689. if skippy < 0 {
  36690. return ErrInvalidLengthGenerated
  36691. }
  36692. if (iNdEx + skippy) > l {
  36693. return io.ErrUnexpectedEOF
  36694. }
  36695. iNdEx += skippy
  36696. }
  36697. }
  36698. if iNdEx > l {
  36699. return io.ErrUnexpectedEOF
  36700. }
  36701. return nil
  36702. }
  36703. func (m *ScaleIOVolumeSource) Unmarshal(data []byte) error {
  36704. l := len(data)
  36705. iNdEx := 0
  36706. for iNdEx < l {
  36707. preIndex := iNdEx
  36708. var wire uint64
  36709. for shift := uint(0); ; shift += 7 {
  36710. if shift >= 64 {
  36711. return ErrIntOverflowGenerated
  36712. }
  36713. if iNdEx >= l {
  36714. return io.ErrUnexpectedEOF
  36715. }
  36716. b := data[iNdEx]
  36717. iNdEx++
  36718. wire |= (uint64(b) & 0x7F) << shift
  36719. if b < 0x80 {
  36720. break
  36721. }
  36722. }
  36723. fieldNum := int32(wire >> 3)
  36724. wireType := int(wire & 0x7)
  36725. if wireType == 4 {
  36726. return fmt.Errorf("proto: ScaleIOVolumeSource: wiretype end group for non-group")
  36727. }
  36728. if fieldNum <= 0 {
  36729. return fmt.Errorf("proto: ScaleIOVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  36730. }
  36731. switch fieldNum {
  36732. case 1:
  36733. if wireType != 2 {
  36734. return fmt.Errorf("proto: wrong wireType = %d for field Gateway", wireType)
  36735. }
  36736. var stringLen uint64
  36737. for shift := uint(0); ; shift += 7 {
  36738. if shift >= 64 {
  36739. return ErrIntOverflowGenerated
  36740. }
  36741. if iNdEx >= l {
  36742. return io.ErrUnexpectedEOF
  36743. }
  36744. b := data[iNdEx]
  36745. iNdEx++
  36746. stringLen |= (uint64(b) & 0x7F) << shift
  36747. if b < 0x80 {
  36748. break
  36749. }
  36750. }
  36751. intStringLen := int(stringLen)
  36752. if intStringLen < 0 {
  36753. return ErrInvalidLengthGenerated
  36754. }
  36755. postIndex := iNdEx + intStringLen
  36756. if postIndex > l {
  36757. return io.ErrUnexpectedEOF
  36758. }
  36759. m.Gateway = string(data[iNdEx:postIndex])
  36760. iNdEx = postIndex
  36761. case 2:
  36762. if wireType != 2 {
  36763. return fmt.Errorf("proto: wrong wireType = %d for field System", wireType)
  36764. }
  36765. var stringLen uint64
  36766. for shift := uint(0); ; shift += 7 {
  36767. if shift >= 64 {
  36768. return ErrIntOverflowGenerated
  36769. }
  36770. if iNdEx >= l {
  36771. return io.ErrUnexpectedEOF
  36772. }
  36773. b := data[iNdEx]
  36774. iNdEx++
  36775. stringLen |= (uint64(b) & 0x7F) << shift
  36776. if b < 0x80 {
  36777. break
  36778. }
  36779. }
  36780. intStringLen := int(stringLen)
  36781. if intStringLen < 0 {
  36782. return ErrInvalidLengthGenerated
  36783. }
  36784. postIndex := iNdEx + intStringLen
  36785. if postIndex > l {
  36786. return io.ErrUnexpectedEOF
  36787. }
  36788. m.System = string(data[iNdEx:postIndex])
  36789. iNdEx = postIndex
  36790. case 3:
  36791. if wireType != 2 {
  36792. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  36793. }
  36794. var msglen int
  36795. for shift := uint(0); ; shift += 7 {
  36796. if shift >= 64 {
  36797. return ErrIntOverflowGenerated
  36798. }
  36799. if iNdEx >= l {
  36800. return io.ErrUnexpectedEOF
  36801. }
  36802. b := data[iNdEx]
  36803. iNdEx++
  36804. msglen |= (int(b) & 0x7F) << shift
  36805. if b < 0x80 {
  36806. break
  36807. }
  36808. }
  36809. if msglen < 0 {
  36810. return ErrInvalidLengthGenerated
  36811. }
  36812. postIndex := iNdEx + msglen
  36813. if postIndex > l {
  36814. return io.ErrUnexpectedEOF
  36815. }
  36816. if m.SecretRef == nil {
  36817. m.SecretRef = &LocalObjectReference{}
  36818. }
  36819. if err := m.SecretRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  36820. return err
  36821. }
  36822. iNdEx = postIndex
  36823. case 4:
  36824. if wireType != 0 {
  36825. return fmt.Errorf("proto: wrong wireType = %d for field SSLEnabled", wireType)
  36826. }
  36827. var v int
  36828. for shift := uint(0); ; shift += 7 {
  36829. if shift >= 64 {
  36830. return ErrIntOverflowGenerated
  36831. }
  36832. if iNdEx >= l {
  36833. return io.ErrUnexpectedEOF
  36834. }
  36835. b := data[iNdEx]
  36836. iNdEx++
  36837. v |= (int(b) & 0x7F) << shift
  36838. if b < 0x80 {
  36839. break
  36840. }
  36841. }
  36842. m.SSLEnabled = bool(v != 0)
  36843. case 5:
  36844. if wireType != 2 {
  36845. return fmt.Errorf("proto: wrong wireType = %d for field ProtectionDomain", wireType)
  36846. }
  36847. var stringLen uint64
  36848. for shift := uint(0); ; shift += 7 {
  36849. if shift >= 64 {
  36850. return ErrIntOverflowGenerated
  36851. }
  36852. if iNdEx >= l {
  36853. return io.ErrUnexpectedEOF
  36854. }
  36855. b := data[iNdEx]
  36856. iNdEx++
  36857. stringLen |= (uint64(b) & 0x7F) << shift
  36858. if b < 0x80 {
  36859. break
  36860. }
  36861. }
  36862. intStringLen := int(stringLen)
  36863. if intStringLen < 0 {
  36864. return ErrInvalidLengthGenerated
  36865. }
  36866. postIndex := iNdEx + intStringLen
  36867. if postIndex > l {
  36868. return io.ErrUnexpectedEOF
  36869. }
  36870. m.ProtectionDomain = string(data[iNdEx:postIndex])
  36871. iNdEx = postIndex
  36872. case 6:
  36873. if wireType != 2 {
  36874. return fmt.Errorf("proto: wrong wireType = %d for field StoragePool", wireType)
  36875. }
  36876. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  36887. if b < 0x80 {
  36888. break
  36889. }
  36890. }
  36891. intStringLen := int(stringLen)
  36892. if intStringLen < 0 {
  36893. return ErrInvalidLengthGenerated
  36894. }
  36895. postIndex := iNdEx + intStringLen
  36896. if postIndex > l {
  36897. return io.ErrUnexpectedEOF
  36898. }
  36899. m.StoragePool = string(data[iNdEx:postIndex])
  36900. iNdEx = postIndex
  36901. case 7:
  36902. if wireType != 2 {
  36903. return fmt.Errorf("proto: wrong wireType = %d for field StorageMode", wireType)
  36904. }
  36905. var stringLen uint64
  36906. for shift := uint(0); ; shift += 7 {
  36907. if shift >= 64 {
  36908. return ErrIntOverflowGenerated
  36909. }
  36910. if iNdEx >= l {
  36911. return io.ErrUnexpectedEOF
  36912. }
  36913. b := data[iNdEx]
  36914. iNdEx++
  36915. stringLen |= (uint64(b) & 0x7F) << shift
  36916. if b < 0x80 {
  36917. break
  36918. }
  36919. }
  36920. intStringLen := int(stringLen)
  36921. if intStringLen < 0 {
  36922. return ErrInvalidLengthGenerated
  36923. }
  36924. postIndex := iNdEx + intStringLen
  36925. if postIndex > l {
  36926. return io.ErrUnexpectedEOF
  36927. }
  36928. m.StorageMode = string(data[iNdEx:postIndex])
  36929. iNdEx = postIndex
  36930. case 8:
  36931. if wireType != 2 {
  36932. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  36933. }
  36934. var stringLen uint64
  36935. for shift := uint(0); ; shift += 7 {
  36936. if shift >= 64 {
  36937. return ErrIntOverflowGenerated
  36938. }
  36939. if iNdEx >= l {
  36940. return io.ErrUnexpectedEOF
  36941. }
  36942. b := data[iNdEx]
  36943. iNdEx++
  36944. stringLen |= (uint64(b) & 0x7F) << shift
  36945. if b < 0x80 {
  36946. break
  36947. }
  36948. }
  36949. intStringLen := int(stringLen)
  36950. if intStringLen < 0 {
  36951. return ErrInvalidLengthGenerated
  36952. }
  36953. postIndex := iNdEx + intStringLen
  36954. if postIndex > l {
  36955. return io.ErrUnexpectedEOF
  36956. }
  36957. m.VolumeName = string(data[iNdEx:postIndex])
  36958. iNdEx = postIndex
  36959. case 9:
  36960. if wireType != 2 {
  36961. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  36962. }
  36963. var stringLen uint64
  36964. for shift := uint(0); ; shift += 7 {
  36965. if shift >= 64 {
  36966. return ErrIntOverflowGenerated
  36967. }
  36968. if iNdEx >= l {
  36969. return io.ErrUnexpectedEOF
  36970. }
  36971. b := data[iNdEx]
  36972. iNdEx++
  36973. stringLen |= (uint64(b) & 0x7F) << shift
  36974. if b < 0x80 {
  36975. break
  36976. }
  36977. }
  36978. intStringLen := int(stringLen)
  36979. if intStringLen < 0 {
  36980. return ErrInvalidLengthGenerated
  36981. }
  36982. postIndex := iNdEx + intStringLen
  36983. if postIndex > l {
  36984. return io.ErrUnexpectedEOF
  36985. }
  36986. m.FSType = string(data[iNdEx:postIndex])
  36987. iNdEx = postIndex
  36988. case 10:
  36989. if wireType != 0 {
  36990. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  36991. }
  36992. var v int
  36993. for shift := uint(0); ; shift += 7 {
  36994. if shift >= 64 {
  36995. return ErrIntOverflowGenerated
  36996. }
  36997. if iNdEx >= l {
  36998. return io.ErrUnexpectedEOF
  36999. }
  37000. b := data[iNdEx]
  37001. iNdEx++
  37002. v |= (int(b) & 0x7F) << shift
  37003. if b < 0x80 {
  37004. break
  37005. }
  37006. }
  37007. m.ReadOnly = bool(v != 0)
  37008. default:
  37009. iNdEx = preIndex
  37010. skippy, err := skipGenerated(data[iNdEx:])
  37011. if err != nil {
  37012. return err
  37013. }
  37014. if skippy < 0 {
  37015. return ErrInvalidLengthGenerated
  37016. }
  37017. if (iNdEx + skippy) > l {
  37018. return io.ErrUnexpectedEOF
  37019. }
  37020. iNdEx += skippy
  37021. }
  37022. }
  37023. if iNdEx > l {
  37024. return io.ErrUnexpectedEOF
  37025. }
  37026. return nil
  37027. }
  37028. func (m *Secret) Unmarshal(data []byte) error {
  37029. l := len(data)
  37030. iNdEx := 0
  37031. for iNdEx < l {
  37032. preIndex := iNdEx
  37033. var wire uint64
  37034. for shift := uint(0); ; shift += 7 {
  37035. if shift >= 64 {
  37036. return ErrIntOverflowGenerated
  37037. }
  37038. if iNdEx >= l {
  37039. return io.ErrUnexpectedEOF
  37040. }
  37041. b := data[iNdEx]
  37042. iNdEx++
  37043. wire |= (uint64(b) & 0x7F) << shift
  37044. if b < 0x80 {
  37045. break
  37046. }
  37047. }
  37048. fieldNum := int32(wire >> 3)
  37049. wireType := int(wire & 0x7)
  37050. if wireType == 4 {
  37051. return fmt.Errorf("proto: Secret: wiretype end group for non-group")
  37052. }
  37053. if fieldNum <= 0 {
  37054. return fmt.Errorf("proto: Secret: illegal tag %d (wire type %d)", fieldNum, wire)
  37055. }
  37056. switch fieldNum {
  37057. case 1:
  37058. if wireType != 2 {
  37059. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  37060. }
  37061. var msglen int
  37062. for shift := uint(0); ; shift += 7 {
  37063. if shift >= 64 {
  37064. return ErrIntOverflowGenerated
  37065. }
  37066. if iNdEx >= l {
  37067. return io.ErrUnexpectedEOF
  37068. }
  37069. b := data[iNdEx]
  37070. iNdEx++
  37071. msglen |= (int(b) & 0x7F) << shift
  37072. if b < 0x80 {
  37073. break
  37074. }
  37075. }
  37076. if msglen < 0 {
  37077. return ErrInvalidLengthGenerated
  37078. }
  37079. postIndex := iNdEx + msglen
  37080. if postIndex > l {
  37081. return io.ErrUnexpectedEOF
  37082. }
  37083. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37084. return err
  37085. }
  37086. iNdEx = postIndex
  37087. case 2:
  37088. if wireType != 2 {
  37089. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  37090. }
  37091. var msglen int
  37092. for shift := uint(0); ; shift += 7 {
  37093. if shift >= 64 {
  37094. return ErrIntOverflowGenerated
  37095. }
  37096. if iNdEx >= l {
  37097. return io.ErrUnexpectedEOF
  37098. }
  37099. b := data[iNdEx]
  37100. iNdEx++
  37101. msglen |= (int(b) & 0x7F) << shift
  37102. if b < 0x80 {
  37103. break
  37104. }
  37105. }
  37106. if msglen < 0 {
  37107. return ErrInvalidLengthGenerated
  37108. }
  37109. postIndex := iNdEx + msglen
  37110. if postIndex > l {
  37111. return io.ErrUnexpectedEOF
  37112. }
  37113. var keykey uint64
  37114. for shift := uint(0); ; shift += 7 {
  37115. if shift >= 64 {
  37116. return ErrIntOverflowGenerated
  37117. }
  37118. if iNdEx >= l {
  37119. return io.ErrUnexpectedEOF
  37120. }
  37121. b := data[iNdEx]
  37122. iNdEx++
  37123. keykey |= (uint64(b) & 0x7F) << shift
  37124. if b < 0x80 {
  37125. break
  37126. }
  37127. }
  37128. var stringLenmapkey uint64
  37129. for shift := uint(0); ; shift += 7 {
  37130. if shift >= 64 {
  37131. return ErrIntOverflowGenerated
  37132. }
  37133. if iNdEx >= l {
  37134. return io.ErrUnexpectedEOF
  37135. }
  37136. b := data[iNdEx]
  37137. iNdEx++
  37138. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  37139. if b < 0x80 {
  37140. break
  37141. }
  37142. }
  37143. intStringLenmapkey := int(stringLenmapkey)
  37144. if intStringLenmapkey < 0 {
  37145. return ErrInvalidLengthGenerated
  37146. }
  37147. postStringIndexmapkey := iNdEx + intStringLenmapkey
  37148. if postStringIndexmapkey > l {
  37149. return io.ErrUnexpectedEOF
  37150. }
  37151. mapkey := string(data[iNdEx:postStringIndexmapkey])
  37152. iNdEx = postStringIndexmapkey
  37153. var valuekey uint64
  37154. for shift := uint(0); ; shift += 7 {
  37155. if shift >= 64 {
  37156. return ErrIntOverflowGenerated
  37157. }
  37158. if iNdEx >= l {
  37159. return io.ErrUnexpectedEOF
  37160. }
  37161. b := data[iNdEx]
  37162. iNdEx++
  37163. valuekey |= (uint64(b) & 0x7F) << shift
  37164. if b < 0x80 {
  37165. break
  37166. }
  37167. }
  37168. var mapbyteLen uint64
  37169. for shift := uint(0); ; shift += 7 {
  37170. if shift >= 64 {
  37171. return ErrIntOverflowGenerated
  37172. }
  37173. if iNdEx >= l {
  37174. return io.ErrUnexpectedEOF
  37175. }
  37176. b := data[iNdEx]
  37177. iNdEx++
  37178. mapbyteLen |= (uint64(b) & 0x7F) << shift
  37179. if b < 0x80 {
  37180. break
  37181. }
  37182. }
  37183. intMapbyteLen := int(mapbyteLen)
  37184. if intMapbyteLen < 0 {
  37185. return ErrInvalidLengthGenerated
  37186. }
  37187. postbytesIndex := iNdEx + intMapbyteLen
  37188. if postbytesIndex > l {
  37189. return io.ErrUnexpectedEOF
  37190. }
  37191. mapvalue := make([]byte, mapbyteLen)
  37192. copy(mapvalue, data[iNdEx:postbytesIndex])
  37193. iNdEx = postbytesIndex
  37194. if m.Data == nil {
  37195. m.Data = make(map[string][]byte)
  37196. }
  37197. m.Data[mapkey] = mapvalue
  37198. iNdEx = postIndex
  37199. case 3:
  37200. if wireType != 2 {
  37201. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  37202. }
  37203. var stringLen uint64
  37204. for shift := uint(0); ; shift += 7 {
  37205. if shift >= 64 {
  37206. return ErrIntOverflowGenerated
  37207. }
  37208. if iNdEx >= l {
  37209. return io.ErrUnexpectedEOF
  37210. }
  37211. b := data[iNdEx]
  37212. iNdEx++
  37213. stringLen |= (uint64(b) & 0x7F) << shift
  37214. if b < 0x80 {
  37215. break
  37216. }
  37217. }
  37218. intStringLen := int(stringLen)
  37219. if intStringLen < 0 {
  37220. return ErrInvalidLengthGenerated
  37221. }
  37222. postIndex := iNdEx + intStringLen
  37223. if postIndex > l {
  37224. return io.ErrUnexpectedEOF
  37225. }
  37226. m.Type = SecretType(data[iNdEx:postIndex])
  37227. iNdEx = postIndex
  37228. case 4:
  37229. if wireType != 2 {
  37230. return fmt.Errorf("proto: wrong wireType = %d for field StringData", wireType)
  37231. }
  37232. var msglen int
  37233. for shift := uint(0); ; shift += 7 {
  37234. if shift >= 64 {
  37235. return ErrIntOverflowGenerated
  37236. }
  37237. if iNdEx >= l {
  37238. return io.ErrUnexpectedEOF
  37239. }
  37240. b := data[iNdEx]
  37241. iNdEx++
  37242. msglen |= (int(b) & 0x7F) << shift
  37243. if b < 0x80 {
  37244. break
  37245. }
  37246. }
  37247. if msglen < 0 {
  37248. return ErrInvalidLengthGenerated
  37249. }
  37250. postIndex := iNdEx + msglen
  37251. if postIndex > l {
  37252. return io.ErrUnexpectedEOF
  37253. }
  37254. var keykey uint64
  37255. for shift := uint(0); ; shift += 7 {
  37256. if shift >= 64 {
  37257. return ErrIntOverflowGenerated
  37258. }
  37259. if iNdEx >= l {
  37260. return io.ErrUnexpectedEOF
  37261. }
  37262. b := data[iNdEx]
  37263. iNdEx++
  37264. keykey |= (uint64(b) & 0x7F) << shift
  37265. if b < 0x80 {
  37266. break
  37267. }
  37268. }
  37269. var stringLenmapkey uint64
  37270. for shift := uint(0); ; shift += 7 {
  37271. if shift >= 64 {
  37272. return ErrIntOverflowGenerated
  37273. }
  37274. if iNdEx >= l {
  37275. return io.ErrUnexpectedEOF
  37276. }
  37277. b := data[iNdEx]
  37278. iNdEx++
  37279. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  37280. if b < 0x80 {
  37281. break
  37282. }
  37283. }
  37284. intStringLenmapkey := int(stringLenmapkey)
  37285. if intStringLenmapkey < 0 {
  37286. return ErrInvalidLengthGenerated
  37287. }
  37288. postStringIndexmapkey := iNdEx + intStringLenmapkey
  37289. if postStringIndexmapkey > l {
  37290. return io.ErrUnexpectedEOF
  37291. }
  37292. mapkey := string(data[iNdEx:postStringIndexmapkey])
  37293. iNdEx = postStringIndexmapkey
  37294. var valuekey uint64
  37295. for shift := uint(0); ; shift += 7 {
  37296. if shift >= 64 {
  37297. return ErrIntOverflowGenerated
  37298. }
  37299. if iNdEx >= l {
  37300. return io.ErrUnexpectedEOF
  37301. }
  37302. b := data[iNdEx]
  37303. iNdEx++
  37304. valuekey |= (uint64(b) & 0x7F) << shift
  37305. if b < 0x80 {
  37306. break
  37307. }
  37308. }
  37309. var stringLenmapvalue uint64
  37310. for shift := uint(0); ; shift += 7 {
  37311. if shift >= 64 {
  37312. return ErrIntOverflowGenerated
  37313. }
  37314. if iNdEx >= l {
  37315. return io.ErrUnexpectedEOF
  37316. }
  37317. b := data[iNdEx]
  37318. iNdEx++
  37319. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  37320. if b < 0x80 {
  37321. break
  37322. }
  37323. }
  37324. intStringLenmapvalue := int(stringLenmapvalue)
  37325. if intStringLenmapvalue < 0 {
  37326. return ErrInvalidLengthGenerated
  37327. }
  37328. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  37329. if postStringIndexmapvalue > l {
  37330. return io.ErrUnexpectedEOF
  37331. }
  37332. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  37333. iNdEx = postStringIndexmapvalue
  37334. if m.StringData == nil {
  37335. m.StringData = make(map[string]string)
  37336. }
  37337. m.StringData[mapkey] = mapvalue
  37338. iNdEx = postIndex
  37339. default:
  37340. iNdEx = preIndex
  37341. skippy, err := skipGenerated(data[iNdEx:])
  37342. if err != nil {
  37343. return err
  37344. }
  37345. if skippy < 0 {
  37346. return ErrInvalidLengthGenerated
  37347. }
  37348. if (iNdEx + skippy) > l {
  37349. return io.ErrUnexpectedEOF
  37350. }
  37351. iNdEx += skippy
  37352. }
  37353. }
  37354. if iNdEx > l {
  37355. return io.ErrUnexpectedEOF
  37356. }
  37357. return nil
  37358. }
  37359. func (m *SecretEnvSource) Unmarshal(data []byte) error {
  37360. l := len(data)
  37361. iNdEx := 0
  37362. for iNdEx < l {
  37363. preIndex := iNdEx
  37364. var wire uint64
  37365. for shift := uint(0); ; shift += 7 {
  37366. if shift >= 64 {
  37367. return ErrIntOverflowGenerated
  37368. }
  37369. if iNdEx >= l {
  37370. return io.ErrUnexpectedEOF
  37371. }
  37372. b := data[iNdEx]
  37373. iNdEx++
  37374. wire |= (uint64(b) & 0x7F) << shift
  37375. if b < 0x80 {
  37376. break
  37377. }
  37378. }
  37379. fieldNum := int32(wire >> 3)
  37380. wireType := int(wire & 0x7)
  37381. if wireType == 4 {
  37382. return fmt.Errorf("proto: SecretEnvSource: wiretype end group for non-group")
  37383. }
  37384. if fieldNum <= 0 {
  37385. return fmt.Errorf("proto: SecretEnvSource: illegal tag %d (wire type %d)", fieldNum, wire)
  37386. }
  37387. switch fieldNum {
  37388. case 1:
  37389. if wireType != 2 {
  37390. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  37391. }
  37392. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  37403. if b < 0x80 {
  37404. break
  37405. }
  37406. }
  37407. if msglen < 0 {
  37408. return ErrInvalidLengthGenerated
  37409. }
  37410. postIndex := iNdEx + msglen
  37411. if postIndex > l {
  37412. return io.ErrUnexpectedEOF
  37413. }
  37414. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37415. return err
  37416. }
  37417. iNdEx = postIndex
  37418. case 2:
  37419. if wireType != 0 {
  37420. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  37421. }
  37422. var v int
  37423. for shift := uint(0); ; shift += 7 {
  37424. if shift >= 64 {
  37425. return ErrIntOverflowGenerated
  37426. }
  37427. if iNdEx >= l {
  37428. return io.ErrUnexpectedEOF
  37429. }
  37430. b := data[iNdEx]
  37431. iNdEx++
  37432. v |= (int(b) & 0x7F) << shift
  37433. if b < 0x80 {
  37434. break
  37435. }
  37436. }
  37437. b := bool(v != 0)
  37438. m.Optional = &b
  37439. default:
  37440. iNdEx = preIndex
  37441. skippy, err := skipGenerated(data[iNdEx:])
  37442. if err != nil {
  37443. return err
  37444. }
  37445. if skippy < 0 {
  37446. return ErrInvalidLengthGenerated
  37447. }
  37448. if (iNdEx + skippy) > l {
  37449. return io.ErrUnexpectedEOF
  37450. }
  37451. iNdEx += skippy
  37452. }
  37453. }
  37454. if iNdEx > l {
  37455. return io.ErrUnexpectedEOF
  37456. }
  37457. return nil
  37458. }
  37459. func (m *SecretKeySelector) Unmarshal(data []byte) error {
  37460. l := len(data)
  37461. iNdEx := 0
  37462. for iNdEx < l {
  37463. preIndex := iNdEx
  37464. var wire uint64
  37465. for shift := uint(0); ; shift += 7 {
  37466. if shift >= 64 {
  37467. return ErrIntOverflowGenerated
  37468. }
  37469. if iNdEx >= l {
  37470. return io.ErrUnexpectedEOF
  37471. }
  37472. b := data[iNdEx]
  37473. iNdEx++
  37474. wire |= (uint64(b) & 0x7F) << shift
  37475. if b < 0x80 {
  37476. break
  37477. }
  37478. }
  37479. fieldNum := int32(wire >> 3)
  37480. wireType := int(wire & 0x7)
  37481. if wireType == 4 {
  37482. return fmt.Errorf("proto: SecretKeySelector: wiretype end group for non-group")
  37483. }
  37484. if fieldNum <= 0 {
  37485. return fmt.Errorf("proto: SecretKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  37486. }
  37487. switch fieldNum {
  37488. case 1:
  37489. if wireType != 2 {
  37490. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  37491. }
  37492. var msglen int
  37493. for shift := uint(0); ; shift += 7 {
  37494. if shift >= 64 {
  37495. return ErrIntOverflowGenerated
  37496. }
  37497. if iNdEx >= l {
  37498. return io.ErrUnexpectedEOF
  37499. }
  37500. b := data[iNdEx]
  37501. iNdEx++
  37502. msglen |= (int(b) & 0x7F) << shift
  37503. if b < 0x80 {
  37504. break
  37505. }
  37506. }
  37507. if msglen < 0 {
  37508. return ErrInvalidLengthGenerated
  37509. }
  37510. postIndex := iNdEx + msglen
  37511. if postIndex > l {
  37512. return io.ErrUnexpectedEOF
  37513. }
  37514. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37515. return err
  37516. }
  37517. iNdEx = postIndex
  37518. case 2:
  37519. if wireType != 2 {
  37520. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  37521. }
  37522. var stringLen uint64
  37523. for shift := uint(0); ; shift += 7 {
  37524. if shift >= 64 {
  37525. return ErrIntOverflowGenerated
  37526. }
  37527. if iNdEx >= l {
  37528. return io.ErrUnexpectedEOF
  37529. }
  37530. b := data[iNdEx]
  37531. iNdEx++
  37532. stringLen |= (uint64(b) & 0x7F) << shift
  37533. if b < 0x80 {
  37534. break
  37535. }
  37536. }
  37537. intStringLen := int(stringLen)
  37538. if intStringLen < 0 {
  37539. return ErrInvalidLengthGenerated
  37540. }
  37541. postIndex := iNdEx + intStringLen
  37542. if postIndex > l {
  37543. return io.ErrUnexpectedEOF
  37544. }
  37545. m.Key = string(data[iNdEx:postIndex])
  37546. iNdEx = postIndex
  37547. case 3:
  37548. if wireType != 0 {
  37549. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  37550. }
  37551. var v int
  37552. for shift := uint(0); ; shift += 7 {
  37553. if shift >= 64 {
  37554. return ErrIntOverflowGenerated
  37555. }
  37556. if iNdEx >= l {
  37557. return io.ErrUnexpectedEOF
  37558. }
  37559. b := data[iNdEx]
  37560. iNdEx++
  37561. v |= (int(b) & 0x7F) << shift
  37562. if b < 0x80 {
  37563. break
  37564. }
  37565. }
  37566. b := bool(v != 0)
  37567. m.Optional = &b
  37568. default:
  37569. iNdEx = preIndex
  37570. skippy, err := skipGenerated(data[iNdEx:])
  37571. if err != nil {
  37572. return err
  37573. }
  37574. if skippy < 0 {
  37575. return ErrInvalidLengthGenerated
  37576. }
  37577. if (iNdEx + skippy) > l {
  37578. return io.ErrUnexpectedEOF
  37579. }
  37580. iNdEx += skippy
  37581. }
  37582. }
  37583. if iNdEx > l {
  37584. return io.ErrUnexpectedEOF
  37585. }
  37586. return nil
  37587. }
  37588. func (m *SecretList) Unmarshal(data []byte) error {
  37589. l := len(data)
  37590. iNdEx := 0
  37591. for iNdEx < l {
  37592. preIndex := iNdEx
  37593. var wire uint64
  37594. for shift := uint(0); ; shift += 7 {
  37595. if shift >= 64 {
  37596. return ErrIntOverflowGenerated
  37597. }
  37598. if iNdEx >= l {
  37599. return io.ErrUnexpectedEOF
  37600. }
  37601. b := data[iNdEx]
  37602. iNdEx++
  37603. wire |= (uint64(b) & 0x7F) << shift
  37604. if b < 0x80 {
  37605. break
  37606. }
  37607. }
  37608. fieldNum := int32(wire >> 3)
  37609. wireType := int(wire & 0x7)
  37610. if wireType == 4 {
  37611. return fmt.Errorf("proto: SecretList: wiretype end group for non-group")
  37612. }
  37613. if fieldNum <= 0 {
  37614. return fmt.Errorf("proto: SecretList: illegal tag %d (wire type %d)", fieldNum, wire)
  37615. }
  37616. switch fieldNum {
  37617. case 1:
  37618. if wireType != 2 {
  37619. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  37620. }
  37621. var msglen int
  37622. for shift := uint(0); ; shift += 7 {
  37623. if shift >= 64 {
  37624. return ErrIntOverflowGenerated
  37625. }
  37626. if iNdEx >= l {
  37627. return io.ErrUnexpectedEOF
  37628. }
  37629. b := data[iNdEx]
  37630. iNdEx++
  37631. msglen |= (int(b) & 0x7F) << shift
  37632. if b < 0x80 {
  37633. break
  37634. }
  37635. }
  37636. if msglen < 0 {
  37637. return ErrInvalidLengthGenerated
  37638. }
  37639. postIndex := iNdEx + msglen
  37640. if postIndex > l {
  37641. return io.ErrUnexpectedEOF
  37642. }
  37643. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37644. return err
  37645. }
  37646. iNdEx = postIndex
  37647. case 2:
  37648. if wireType != 2 {
  37649. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  37650. }
  37651. var msglen int
  37652. for shift := uint(0); ; shift += 7 {
  37653. if shift >= 64 {
  37654. return ErrIntOverflowGenerated
  37655. }
  37656. if iNdEx >= l {
  37657. return io.ErrUnexpectedEOF
  37658. }
  37659. b := data[iNdEx]
  37660. iNdEx++
  37661. msglen |= (int(b) & 0x7F) << shift
  37662. if b < 0x80 {
  37663. break
  37664. }
  37665. }
  37666. if msglen < 0 {
  37667. return ErrInvalidLengthGenerated
  37668. }
  37669. postIndex := iNdEx + msglen
  37670. if postIndex > l {
  37671. return io.ErrUnexpectedEOF
  37672. }
  37673. m.Items = append(m.Items, Secret{})
  37674. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  37675. return err
  37676. }
  37677. iNdEx = postIndex
  37678. default:
  37679. iNdEx = preIndex
  37680. skippy, err := skipGenerated(data[iNdEx:])
  37681. if err != nil {
  37682. return err
  37683. }
  37684. if skippy < 0 {
  37685. return ErrInvalidLengthGenerated
  37686. }
  37687. if (iNdEx + skippy) > l {
  37688. return io.ErrUnexpectedEOF
  37689. }
  37690. iNdEx += skippy
  37691. }
  37692. }
  37693. if iNdEx > l {
  37694. return io.ErrUnexpectedEOF
  37695. }
  37696. return nil
  37697. }
  37698. func (m *SecretProjection) Unmarshal(data []byte) error {
  37699. l := len(data)
  37700. iNdEx := 0
  37701. for iNdEx < l {
  37702. preIndex := iNdEx
  37703. var wire uint64
  37704. for shift := uint(0); ; shift += 7 {
  37705. if shift >= 64 {
  37706. return ErrIntOverflowGenerated
  37707. }
  37708. if iNdEx >= l {
  37709. return io.ErrUnexpectedEOF
  37710. }
  37711. b := data[iNdEx]
  37712. iNdEx++
  37713. wire |= (uint64(b) & 0x7F) << shift
  37714. if b < 0x80 {
  37715. break
  37716. }
  37717. }
  37718. fieldNum := int32(wire >> 3)
  37719. wireType := int(wire & 0x7)
  37720. if wireType == 4 {
  37721. return fmt.Errorf("proto: SecretProjection: wiretype end group for non-group")
  37722. }
  37723. if fieldNum <= 0 {
  37724. return fmt.Errorf("proto: SecretProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  37725. }
  37726. switch fieldNum {
  37727. case 1:
  37728. if wireType != 2 {
  37729. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  37730. }
  37731. var msglen int
  37732. for shift := uint(0); ; shift += 7 {
  37733. if shift >= 64 {
  37734. return ErrIntOverflowGenerated
  37735. }
  37736. if iNdEx >= l {
  37737. return io.ErrUnexpectedEOF
  37738. }
  37739. b := data[iNdEx]
  37740. iNdEx++
  37741. msglen |= (int(b) & 0x7F) << shift
  37742. if b < 0x80 {
  37743. break
  37744. }
  37745. }
  37746. if msglen < 0 {
  37747. return ErrInvalidLengthGenerated
  37748. }
  37749. postIndex := iNdEx + msglen
  37750. if postIndex > l {
  37751. return io.ErrUnexpectedEOF
  37752. }
  37753. if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  37754. return err
  37755. }
  37756. iNdEx = postIndex
  37757. case 2:
  37758. if wireType != 2 {
  37759. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  37760. }
  37761. var msglen int
  37762. for shift := uint(0); ; shift += 7 {
  37763. if shift >= 64 {
  37764. return ErrIntOverflowGenerated
  37765. }
  37766. if iNdEx >= l {
  37767. return io.ErrUnexpectedEOF
  37768. }
  37769. b := data[iNdEx]
  37770. iNdEx++
  37771. msglen |= (int(b) & 0x7F) << shift
  37772. if b < 0x80 {
  37773. break
  37774. }
  37775. }
  37776. if msglen < 0 {
  37777. return ErrInvalidLengthGenerated
  37778. }
  37779. postIndex := iNdEx + msglen
  37780. if postIndex > l {
  37781. return io.ErrUnexpectedEOF
  37782. }
  37783. m.Items = append(m.Items, KeyToPath{})
  37784. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  37785. return err
  37786. }
  37787. iNdEx = postIndex
  37788. case 4:
  37789. if wireType != 0 {
  37790. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  37791. }
  37792. var v int
  37793. for shift := uint(0); ; shift += 7 {
  37794. if shift >= 64 {
  37795. return ErrIntOverflowGenerated
  37796. }
  37797. if iNdEx >= l {
  37798. return io.ErrUnexpectedEOF
  37799. }
  37800. b := data[iNdEx]
  37801. iNdEx++
  37802. v |= (int(b) & 0x7F) << shift
  37803. if b < 0x80 {
  37804. break
  37805. }
  37806. }
  37807. b := bool(v != 0)
  37808. m.Optional = &b
  37809. default:
  37810. iNdEx = preIndex
  37811. skippy, err := skipGenerated(data[iNdEx:])
  37812. if err != nil {
  37813. return err
  37814. }
  37815. if skippy < 0 {
  37816. return ErrInvalidLengthGenerated
  37817. }
  37818. if (iNdEx + skippy) > l {
  37819. return io.ErrUnexpectedEOF
  37820. }
  37821. iNdEx += skippy
  37822. }
  37823. }
  37824. if iNdEx > l {
  37825. return io.ErrUnexpectedEOF
  37826. }
  37827. return nil
  37828. }
  37829. func (m *SecretVolumeSource) Unmarshal(data []byte) error {
  37830. l := len(data)
  37831. iNdEx := 0
  37832. for iNdEx < l {
  37833. preIndex := iNdEx
  37834. var wire uint64
  37835. for shift := uint(0); ; shift += 7 {
  37836. if shift >= 64 {
  37837. return ErrIntOverflowGenerated
  37838. }
  37839. if iNdEx >= l {
  37840. return io.ErrUnexpectedEOF
  37841. }
  37842. b := data[iNdEx]
  37843. iNdEx++
  37844. wire |= (uint64(b) & 0x7F) << shift
  37845. if b < 0x80 {
  37846. break
  37847. }
  37848. }
  37849. fieldNum := int32(wire >> 3)
  37850. wireType := int(wire & 0x7)
  37851. if wireType == 4 {
  37852. return fmt.Errorf("proto: SecretVolumeSource: wiretype end group for non-group")
  37853. }
  37854. if fieldNum <= 0 {
  37855. return fmt.Errorf("proto: SecretVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  37856. }
  37857. switch fieldNum {
  37858. case 1:
  37859. if wireType != 2 {
  37860. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  37861. }
  37862. var stringLen uint64
  37863. for shift := uint(0); ; shift += 7 {
  37864. if shift >= 64 {
  37865. return ErrIntOverflowGenerated
  37866. }
  37867. if iNdEx >= l {
  37868. return io.ErrUnexpectedEOF
  37869. }
  37870. b := data[iNdEx]
  37871. iNdEx++
  37872. stringLen |= (uint64(b) & 0x7F) << shift
  37873. if b < 0x80 {
  37874. break
  37875. }
  37876. }
  37877. intStringLen := int(stringLen)
  37878. if intStringLen < 0 {
  37879. return ErrInvalidLengthGenerated
  37880. }
  37881. postIndex := iNdEx + intStringLen
  37882. if postIndex > l {
  37883. return io.ErrUnexpectedEOF
  37884. }
  37885. m.SecretName = string(data[iNdEx:postIndex])
  37886. iNdEx = postIndex
  37887. case 2:
  37888. if wireType != 2 {
  37889. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  37890. }
  37891. var msglen int
  37892. for shift := uint(0); ; shift += 7 {
  37893. if shift >= 64 {
  37894. return ErrIntOverflowGenerated
  37895. }
  37896. if iNdEx >= l {
  37897. return io.ErrUnexpectedEOF
  37898. }
  37899. b := data[iNdEx]
  37900. iNdEx++
  37901. msglen |= (int(b) & 0x7F) << shift
  37902. if b < 0x80 {
  37903. break
  37904. }
  37905. }
  37906. if msglen < 0 {
  37907. return ErrInvalidLengthGenerated
  37908. }
  37909. postIndex := iNdEx + msglen
  37910. if postIndex > l {
  37911. return io.ErrUnexpectedEOF
  37912. }
  37913. m.Items = append(m.Items, KeyToPath{})
  37914. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  37915. return err
  37916. }
  37917. iNdEx = postIndex
  37918. case 3:
  37919. if wireType != 0 {
  37920. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  37921. }
  37922. var v int32
  37923. for shift := uint(0); ; shift += 7 {
  37924. if shift >= 64 {
  37925. return ErrIntOverflowGenerated
  37926. }
  37927. if iNdEx >= l {
  37928. return io.ErrUnexpectedEOF
  37929. }
  37930. b := data[iNdEx]
  37931. iNdEx++
  37932. v |= (int32(b) & 0x7F) << shift
  37933. if b < 0x80 {
  37934. break
  37935. }
  37936. }
  37937. m.DefaultMode = &v
  37938. case 4:
  37939. if wireType != 0 {
  37940. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  37941. }
  37942. var v int
  37943. for shift := uint(0); ; shift += 7 {
  37944. if shift >= 64 {
  37945. return ErrIntOverflowGenerated
  37946. }
  37947. if iNdEx >= l {
  37948. return io.ErrUnexpectedEOF
  37949. }
  37950. b := data[iNdEx]
  37951. iNdEx++
  37952. v |= (int(b) & 0x7F) << shift
  37953. if b < 0x80 {
  37954. break
  37955. }
  37956. }
  37957. b := bool(v != 0)
  37958. m.Optional = &b
  37959. default:
  37960. iNdEx = preIndex
  37961. skippy, err := skipGenerated(data[iNdEx:])
  37962. if err != nil {
  37963. return err
  37964. }
  37965. if skippy < 0 {
  37966. return ErrInvalidLengthGenerated
  37967. }
  37968. if (iNdEx + skippy) > l {
  37969. return io.ErrUnexpectedEOF
  37970. }
  37971. iNdEx += skippy
  37972. }
  37973. }
  37974. if iNdEx > l {
  37975. return io.ErrUnexpectedEOF
  37976. }
  37977. return nil
  37978. }
  37979. func (m *SecurityContext) Unmarshal(data []byte) error {
  37980. l := len(data)
  37981. iNdEx := 0
  37982. for iNdEx < l {
  37983. preIndex := iNdEx
  37984. var wire uint64
  37985. for shift := uint(0); ; shift += 7 {
  37986. if shift >= 64 {
  37987. return ErrIntOverflowGenerated
  37988. }
  37989. if iNdEx >= l {
  37990. return io.ErrUnexpectedEOF
  37991. }
  37992. b := data[iNdEx]
  37993. iNdEx++
  37994. wire |= (uint64(b) & 0x7F) << shift
  37995. if b < 0x80 {
  37996. break
  37997. }
  37998. }
  37999. fieldNum := int32(wire >> 3)
  38000. wireType := int(wire & 0x7)
  38001. if wireType == 4 {
  38002. return fmt.Errorf("proto: SecurityContext: wiretype end group for non-group")
  38003. }
  38004. if fieldNum <= 0 {
  38005. return fmt.Errorf("proto: SecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  38006. }
  38007. switch fieldNum {
  38008. case 1:
  38009. if wireType != 2 {
  38010. return fmt.Errorf("proto: wrong wireType = %d for field Capabilities", wireType)
  38011. }
  38012. var msglen int
  38013. for shift := uint(0); ; shift += 7 {
  38014. if shift >= 64 {
  38015. return ErrIntOverflowGenerated
  38016. }
  38017. if iNdEx >= l {
  38018. return io.ErrUnexpectedEOF
  38019. }
  38020. b := data[iNdEx]
  38021. iNdEx++
  38022. msglen |= (int(b) & 0x7F) << shift
  38023. if b < 0x80 {
  38024. break
  38025. }
  38026. }
  38027. if msglen < 0 {
  38028. return ErrInvalidLengthGenerated
  38029. }
  38030. postIndex := iNdEx + msglen
  38031. if postIndex > l {
  38032. return io.ErrUnexpectedEOF
  38033. }
  38034. if m.Capabilities == nil {
  38035. m.Capabilities = &Capabilities{}
  38036. }
  38037. if err := m.Capabilities.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38038. return err
  38039. }
  38040. iNdEx = postIndex
  38041. case 2:
  38042. if wireType != 0 {
  38043. return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
  38044. }
  38045. var v int
  38046. for shift := uint(0); ; shift += 7 {
  38047. if shift >= 64 {
  38048. return ErrIntOverflowGenerated
  38049. }
  38050. if iNdEx >= l {
  38051. return io.ErrUnexpectedEOF
  38052. }
  38053. b := data[iNdEx]
  38054. iNdEx++
  38055. v |= (int(b) & 0x7F) << shift
  38056. if b < 0x80 {
  38057. break
  38058. }
  38059. }
  38060. b := bool(v != 0)
  38061. m.Privileged = &b
  38062. case 3:
  38063. if wireType != 2 {
  38064. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  38065. }
  38066. var msglen int
  38067. for shift := uint(0); ; shift += 7 {
  38068. if shift >= 64 {
  38069. return ErrIntOverflowGenerated
  38070. }
  38071. if iNdEx >= l {
  38072. return io.ErrUnexpectedEOF
  38073. }
  38074. b := data[iNdEx]
  38075. iNdEx++
  38076. msglen |= (int(b) & 0x7F) << shift
  38077. if b < 0x80 {
  38078. break
  38079. }
  38080. }
  38081. if msglen < 0 {
  38082. return ErrInvalidLengthGenerated
  38083. }
  38084. postIndex := iNdEx + msglen
  38085. if postIndex > l {
  38086. return io.ErrUnexpectedEOF
  38087. }
  38088. if m.SELinuxOptions == nil {
  38089. m.SELinuxOptions = &SELinuxOptions{}
  38090. }
  38091. if err := m.SELinuxOptions.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38092. return err
  38093. }
  38094. iNdEx = postIndex
  38095. case 4:
  38096. if wireType != 0 {
  38097. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  38098. }
  38099. var v int64
  38100. for shift := uint(0); ; shift += 7 {
  38101. if shift >= 64 {
  38102. return ErrIntOverflowGenerated
  38103. }
  38104. if iNdEx >= l {
  38105. return io.ErrUnexpectedEOF
  38106. }
  38107. b := data[iNdEx]
  38108. iNdEx++
  38109. v |= (int64(b) & 0x7F) << shift
  38110. if b < 0x80 {
  38111. break
  38112. }
  38113. }
  38114. m.RunAsUser = &v
  38115. case 5:
  38116. if wireType != 0 {
  38117. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  38118. }
  38119. var v int
  38120. for shift := uint(0); ; shift += 7 {
  38121. if shift >= 64 {
  38122. return ErrIntOverflowGenerated
  38123. }
  38124. if iNdEx >= l {
  38125. return io.ErrUnexpectedEOF
  38126. }
  38127. b := data[iNdEx]
  38128. iNdEx++
  38129. v |= (int(b) & 0x7F) << shift
  38130. if b < 0x80 {
  38131. break
  38132. }
  38133. }
  38134. b := bool(v != 0)
  38135. m.RunAsNonRoot = &b
  38136. case 6:
  38137. if wireType != 0 {
  38138. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
  38139. }
  38140. var v int
  38141. for shift := uint(0); ; shift += 7 {
  38142. if shift >= 64 {
  38143. return ErrIntOverflowGenerated
  38144. }
  38145. if iNdEx >= l {
  38146. return io.ErrUnexpectedEOF
  38147. }
  38148. b := data[iNdEx]
  38149. iNdEx++
  38150. v |= (int(b) & 0x7F) << shift
  38151. if b < 0x80 {
  38152. break
  38153. }
  38154. }
  38155. b := bool(v != 0)
  38156. m.ReadOnlyRootFilesystem = &b
  38157. default:
  38158. iNdEx = preIndex
  38159. skippy, err := skipGenerated(data[iNdEx:])
  38160. if err != nil {
  38161. return err
  38162. }
  38163. if skippy < 0 {
  38164. return ErrInvalidLengthGenerated
  38165. }
  38166. if (iNdEx + skippy) > l {
  38167. return io.ErrUnexpectedEOF
  38168. }
  38169. iNdEx += skippy
  38170. }
  38171. }
  38172. if iNdEx > l {
  38173. return io.ErrUnexpectedEOF
  38174. }
  38175. return nil
  38176. }
  38177. func (m *SerializedReference) Unmarshal(data []byte) error {
  38178. l := len(data)
  38179. iNdEx := 0
  38180. for iNdEx < l {
  38181. preIndex := iNdEx
  38182. var wire uint64
  38183. for shift := uint(0); ; shift += 7 {
  38184. if shift >= 64 {
  38185. return ErrIntOverflowGenerated
  38186. }
  38187. if iNdEx >= l {
  38188. return io.ErrUnexpectedEOF
  38189. }
  38190. b := data[iNdEx]
  38191. iNdEx++
  38192. wire |= (uint64(b) & 0x7F) << shift
  38193. if b < 0x80 {
  38194. break
  38195. }
  38196. }
  38197. fieldNum := int32(wire >> 3)
  38198. wireType := int(wire & 0x7)
  38199. if wireType == 4 {
  38200. return fmt.Errorf("proto: SerializedReference: wiretype end group for non-group")
  38201. }
  38202. if fieldNum <= 0 {
  38203. return fmt.Errorf("proto: SerializedReference: illegal tag %d (wire type %d)", fieldNum, wire)
  38204. }
  38205. switch fieldNum {
  38206. case 1:
  38207. if wireType != 2 {
  38208. return fmt.Errorf("proto: wrong wireType = %d for field Reference", wireType)
  38209. }
  38210. var msglen int
  38211. for shift := uint(0); ; shift += 7 {
  38212. if shift >= 64 {
  38213. return ErrIntOverflowGenerated
  38214. }
  38215. if iNdEx >= l {
  38216. return io.ErrUnexpectedEOF
  38217. }
  38218. b := data[iNdEx]
  38219. iNdEx++
  38220. msglen |= (int(b) & 0x7F) << shift
  38221. if b < 0x80 {
  38222. break
  38223. }
  38224. }
  38225. if msglen < 0 {
  38226. return ErrInvalidLengthGenerated
  38227. }
  38228. postIndex := iNdEx + msglen
  38229. if postIndex > l {
  38230. return io.ErrUnexpectedEOF
  38231. }
  38232. if err := m.Reference.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38233. return err
  38234. }
  38235. iNdEx = postIndex
  38236. default:
  38237. iNdEx = preIndex
  38238. skippy, err := skipGenerated(data[iNdEx:])
  38239. if err != nil {
  38240. return err
  38241. }
  38242. if skippy < 0 {
  38243. return ErrInvalidLengthGenerated
  38244. }
  38245. if (iNdEx + skippy) > l {
  38246. return io.ErrUnexpectedEOF
  38247. }
  38248. iNdEx += skippy
  38249. }
  38250. }
  38251. if iNdEx > l {
  38252. return io.ErrUnexpectedEOF
  38253. }
  38254. return nil
  38255. }
  38256. func (m *Service) Unmarshal(data []byte) error {
  38257. l := len(data)
  38258. iNdEx := 0
  38259. for iNdEx < l {
  38260. preIndex := iNdEx
  38261. var wire uint64
  38262. for shift := uint(0); ; shift += 7 {
  38263. if shift >= 64 {
  38264. return ErrIntOverflowGenerated
  38265. }
  38266. if iNdEx >= l {
  38267. return io.ErrUnexpectedEOF
  38268. }
  38269. b := data[iNdEx]
  38270. iNdEx++
  38271. wire |= (uint64(b) & 0x7F) << shift
  38272. if b < 0x80 {
  38273. break
  38274. }
  38275. }
  38276. fieldNum := int32(wire >> 3)
  38277. wireType := int(wire & 0x7)
  38278. if wireType == 4 {
  38279. return fmt.Errorf("proto: Service: wiretype end group for non-group")
  38280. }
  38281. if fieldNum <= 0 {
  38282. return fmt.Errorf("proto: Service: illegal tag %d (wire type %d)", fieldNum, wire)
  38283. }
  38284. switch fieldNum {
  38285. case 1:
  38286. if wireType != 2 {
  38287. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  38288. }
  38289. var msglen int
  38290. for shift := uint(0); ; shift += 7 {
  38291. if shift >= 64 {
  38292. return ErrIntOverflowGenerated
  38293. }
  38294. if iNdEx >= l {
  38295. return io.ErrUnexpectedEOF
  38296. }
  38297. b := data[iNdEx]
  38298. iNdEx++
  38299. msglen |= (int(b) & 0x7F) << shift
  38300. if b < 0x80 {
  38301. break
  38302. }
  38303. }
  38304. if msglen < 0 {
  38305. return ErrInvalidLengthGenerated
  38306. }
  38307. postIndex := iNdEx + msglen
  38308. if postIndex > l {
  38309. return io.ErrUnexpectedEOF
  38310. }
  38311. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38312. return err
  38313. }
  38314. iNdEx = postIndex
  38315. case 2:
  38316. if wireType != 2 {
  38317. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  38318. }
  38319. var msglen int
  38320. for shift := uint(0); ; shift += 7 {
  38321. if shift >= 64 {
  38322. return ErrIntOverflowGenerated
  38323. }
  38324. if iNdEx >= l {
  38325. return io.ErrUnexpectedEOF
  38326. }
  38327. b := data[iNdEx]
  38328. iNdEx++
  38329. msglen |= (int(b) & 0x7F) << shift
  38330. if b < 0x80 {
  38331. break
  38332. }
  38333. }
  38334. if msglen < 0 {
  38335. return ErrInvalidLengthGenerated
  38336. }
  38337. postIndex := iNdEx + msglen
  38338. if postIndex > l {
  38339. return io.ErrUnexpectedEOF
  38340. }
  38341. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38342. return err
  38343. }
  38344. iNdEx = postIndex
  38345. case 3:
  38346. if wireType != 2 {
  38347. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  38348. }
  38349. var msglen int
  38350. for shift := uint(0); ; shift += 7 {
  38351. if shift >= 64 {
  38352. return ErrIntOverflowGenerated
  38353. }
  38354. if iNdEx >= l {
  38355. return io.ErrUnexpectedEOF
  38356. }
  38357. b := data[iNdEx]
  38358. iNdEx++
  38359. msglen |= (int(b) & 0x7F) << shift
  38360. if b < 0x80 {
  38361. break
  38362. }
  38363. }
  38364. if msglen < 0 {
  38365. return ErrInvalidLengthGenerated
  38366. }
  38367. postIndex := iNdEx + msglen
  38368. if postIndex > l {
  38369. return io.ErrUnexpectedEOF
  38370. }
  38371. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38372. return err
  38373. }
  38374. iNdEx = postIndex
  38375. default:
  38376. iNdEx = preIndex
  38377. skippy, err := skipGenerated(data[iNdEx:])
  38378. if err != nil {
  38379. return err
  38380. }
  38381. if skippy < 0 {
  38382. return ErrInvalidLengthGenerated
  38383. }
  38384. if (iNdEx + skippy) > l {
  38385. return io.ErrUnexpectedEOF
  38386. }
  38387. iNdEx += skippy
  38388. }
  38389. }
  38390. if iNdEx > l {
  38391. return io.ErrUnexpectedEOF
  38392. }
  38393. return nil
  38394. }
  38395. func (m *ServiceAccount) Unmarshal(data []byte) error {
  38396. l := len(data)
  38397. iNdEx := 0
  38398. for iNdEx < l {
  38399. preIndex := iNdEx
  38400. var wire uint64
  38401. for shift := uint(0); ; shift += 7 {
  38402. if shift >= 64 {
  38403. return ErrIntOverflowGenerated
  38404. }
  38405. if iNdEx >= l {
  38406. return io.ErrUnexpectedEOF
  38407. }
  38408. b := data[iNdEx]
  38409. iNdEx++
  38410. wire |= (uint64(b) & 0x7F) << shift
  38411. if b < 0x80 {
  38412. break
  38413. }
  38414. }
  38415. fieldNum := int32(wire >> 3)
  38416. wireType := int(wire & 0x7)
  38417. if wireType == 4 {
  38418. return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group")
  38419. }
  38420. if fieldNum <= 0 {
  38421. return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire)
  38422. }
  38423. switch fieldNum {
  38424. case 1:
  38425. if wireType != 2 {
  38426. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  38427. }
  38428. var msglen int
  38429. for shift := uint(0); ; shift += 7 {
  38430. if shift >= 64 {
  38431. return ErrIntOverflowGenerated
  38432. }
  38433. if iNdEx >= l {
  38434. return io.ErrUnexpectedEOF
  38435. }
  38436. b := data[iNdEx]
  38437. iNdEx++
  38438. msglen |= (int(b) & 0x7F) << shift
  38439. if b < 0x80 {
  38440. break
  38441. }
  38442. }
  38443. if msglen < 0 {
  38444. return ErrInvalidLengthGenerated
  38445. }
  38446. postIndex := iNdEx + msglen
  38447. if postIndex > l {
  38448. return io.ErrUnexpectedEOF
  38449. }
  38450. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38451. return err
  38452. }
  38453. iNdEx = postIndex
  38454. case 2:
  38455. if wireType != 2 {
  38456. return fmt.Errorf("proto: wrong wireType = %d for field Secrets", wireType)
  38457. }
  38458. var msglen int
  38459. for shift := uint(0); ; shift += 7 {
  38460. if shift >= 64 {
  38461. return ErrIntOverflowGenerated
  38462. }
  38463. if iNdEx >= l {
  38464. return io.ErrUnexpectedEOF
  38465. }
  38466. b := data[iNdEx]
  38467. iNdEx++
  38468. msglen |= (int(b) & 0x7F) << shift
  38469. if b < 0x80 {
  38470. break
  38471. }
  38472. }
  38473. if msglen < 0 {
  38474. return ErrInvalidLengthGenerated
  38475. }
  38476. postIndex := iNdEx + msglen
  38477. if postIndex > l {
  38478. return io.ErrUnexpectedEOF
  38479. }
  38480. m.Secrets = append(m.Secrets, ObjectReference{})
  38481. if err := m.Secrets[len(m.Secrets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  38482. return err
  38483. }
  38484. iNdEx = postIndex
  38485. case 3:
  38486. if wireType != 2 {
  38487. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  38488. }
  38489. var msglen int
  38490. for shift := uint(0); ; shift += 7 {
  38491. if shift >= 64 {
  38492. return ErrIntOverflowGenerated
  38493. }
  38494. if iNdEx >= l {
  38495. return io.ErrUnexpectedEOF
  38496. }
  38497. b := data[iNdEx]
  38498. iNdEx++
  38499. msglen |= (int(b) & 0x7F) << shift
  38500. if b < 0x80 {
  38501. break
  38502. }
  38503. }
  38504. if msglen < 0 {
  38505. return ErrInvalidLengthGenerated
  38506. }
  38507. postIndex := iNdEx + msglen
  38508. if postIndex > l {
  38509. return io.ErrUnexpectedEOF
  38510. }
  38511. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  38512. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  38513. return err
  38514. }
  38515. iNdEx = postIndex
  38516. case 4:
  38517. if wireType != 0 {
  38518. return fmt.Errorf("proto: wrong wireType = %d for field AutomountServiceAccountToken", wireType)
  38519. }
  38520. var v int
  38521. for shift := uint(0); ; shift += 7 {
  38522. if shift >= 64 {
  38523. return ErrIntOverflowGenerated
  38524. }
  38525. if iNdEx >= l {
  38526. return io.ErrUnexpectedEOF
  38527. }
  38528. b := data[iNdEx]
  38529. iNdEx++
  38530. v |= (int(b) & 0x7F) << shift
  38531. if b < 0x80 {
  38532. break
  38533. }
  38534. }
  38535. b := bool(v != 0)
  38536. m.AutomountServiceAccountToken = &b
  38537. default:
  38538. iNdEx = preIndex
  38539. skippy, err := skipGenerated(data[iNdEx:])
  38540. if err != nil {
  38541. return err
  38542. }
  38543. if skippy < 0 {
  38544. return ErrInvalidLengthGenerated
  38545. }
  38546. if (iNdEx + skippy) > l {
  38547. return io.ErrUnexpectedEOF
  38548. }
  38549. iNdEx += skippy
  38550. }
  38551. }
  38552. if iNdEx > l {
  38553. return io.ErrUnexpectedEOF
  38554. }
  38555. return nil
  38556. }
  38557. func (m *ServiceAccountList) Unmarshal(data []byte) error {
  38558. l := len(data)
  38559. iNdEx := 0
  38560. for iNdEx < l {
  38561. preIndex := iNdEx
  38562. var wire uint64
  38563. for shift := uint(0); ; shift += 7 {
  38564. if shift >= 64 {
  38565. return ErrIntOverflowGenerated
  38566. }
  38567. if iNdEx >= l {
  38568. return io.ErrUnexpectedEOF
  38569. }
  38570. b := data[iNdEx]
  38571. iNdEx++
  38572. wire |= (uint64(b) & 0x7F) << shift
  38573. if b < 0x80 {
  38574. break
  38575. }
  38576. }
  38577. fieldNum := int32(wire >> 3)
  38578. wireType := int(wire & 0x7)
  38579. if wireType == 4 {
  38580. return fmt.Errorf("proto: ServiceAccountList: wiretype end group for non-group")
  38581. }
  38582. if fieldNum <= 0 {
  38583. return fmt.Errorf("proto: ServiceAccountList: illegal tag %d (wire type %d)", fieldNum, wire)
  38584. }
  38585. switch fieldNum {
  38586. case 1:
  38587. if wireType != 2 {
  38588. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  38589. }
  38590. var msglen int
  38591. for shift := uint(0); ; shift += 7 {
  38592. if shift >= 64 {
  38593. return ErrIntOverflowGenerated
  38594. }
  38595. if iNdEx >= l {
  38596. return io.ErrUnexpectedEOF
  38597. }
  38598. b := data[iNdEx]
  38599. iNdEx++
  38600. msglen |= (int(b) & 0x7F) << shift
  38601. if b < 0x80 {
  38602. break
  38603. }
  38604. }
  38605. if msglen < 0 {
  38606. return ErrInvalidLengthGenerated
  38607. }
  38608. postIndex := iNdEx + msglen
  38609. if postIndex > l {
  38610. return io.ErrUnexpectedEOF
  38611. }
  38612. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38613. return err
  38614. }
  38615. iNdEx = postIndex
  38616. case 2:
  38617. if wireType != 2 {
  38618. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  38619. }
  38620. var msglen int
  38621. for shift := uint(0); ; shift += 7 {
  38622. if shift >= 64 {
  38623. return ErrIntOverflowGenerated
  38624. }
  38625. if iNdEx >= l {
  38626. return io.ErrUnexpectedEOF
  38627. }
  38628. b := data[iNdEx]
  38629. iNdEx++
  38630. msglen |= (int(b) & 0x7F) << shift
  38631. if b < 0x80 {
  38632. break
  38633. }
  38634. }
  38635. if msglen < 0 {
  38636. return ErrInvalidLengthGenerated
  38637. }
  38638. postIndex := iNdEx + msglen
  38639. if postIndex > l {
  38640. return io.ErrUnexpectedEOF
  38641. }
  38642. m.Items = append(m.Items, ServiceAccount{})
  38643. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  38644. return err
  38645. }
  38646. iNdEx = postIndex
  38647. default:
  38648. iNdEx = preIndex
  38649. skippy, err := skipGenerated(data[iNdEx:])
  38650. if err != nil {
  38651. return err
  38652. }
  38653. if skippy < 0 {
  38654. return ErrInvalidLengthGenerated
  38655. }
  38656. if (iNdEx + skippy) > l {
  38657. return io.ErrUnexpectedEOF
  38658. }
  38659. iNdEx += skippy
  38660. }
  38661. }
  38662. if iNdEx > l {
  38663. return io.ErrUnexpectedEOF
  38664. }
  38665. return nil
  38666. }
  38667. func (m *ServiceList) Unmarshal(data []byte) error {
  38668. l := len(data)
  38669. iNdEx := 0
  38670. for iNdEx < l {
  38671. preIndex := iNdEx
  38672. var wire uint64
  38673. for shift := uint(0); ; shift += 7 {
  38674. if shift >= 64 {
  38675. return ErrIntOverflowGenerated
  38676. }
  38677. if iNdEx >= l {
  38678. return io.ErrUnexpectedEOF
  38679. }
  38680. b := data[iNdEx]
  38681. iNdEx++
  38682. wire |= (uint64(b) & 0x7F) << shift
  38683. if b < 0x80 {
  38684. break
  38685. }
  38686. }
  38687. fieldNum := int32(wire >> 3)
  38688. wireType := int(wire & 0x7)
  38689. if wireType == 4 {
  38690. return fmt.Errorf("proto: ServiceList: wiretype end group for non-group")
  38691. }
  38692. if fieldNum <= 0 {
  38693. return fmt.Errorf("proto: ServiceList: illegal tag %d (wire type %d)", fieldNum, wire)
  38694. }
  38695. switch fieldNum {
  38696. case 1:
  38697. if wireType != 2 {
  38698. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  38699. }
  38700. var msglen int
  38701. for shift := uint(0); ; shift += 7 {
  38702. if shift >= 64 {
  38703. return ErrIntOverflowGenerated
  38704. }
  38705. if iNdEx >= l {
  38706. return io.ErrUnexpectedEOF
  38707. }
  38708. b := data[iNdEx]
  38709. iNdEx++
  38710. msglen |= (int(b) & 0x7F) << shift
  38711. if b < 0x80 {
  38712. break
  38713. }
  38714. }
  38715. if msglen < 0 {
  38716. return ErrInvalidLengthGenerated
  38717. }
  38718. postIndex := iNdEx + msglen
  38719. if postIndex > l {
  38720. return io.ErrUnexpectedEOF
  38721. }
  38722. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38723. return err
  38724. }
  38725. iNdEx = postIndex
  38726. case 2:
  38727. if wireType != 2 {
  38728. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  38729. }
  38730. var msglen int
  38731. for shift := uint(0); ; shift += 7 {
  38732. if shift >= 64 {
  38733. return ErrIntOverflowGenerated
  38734. }
  38735. if iNdEx >= l {
  38736. return io.ErrUnexpectedEOF
  38737. }
  38738. b := data[iNdEx]
  38739. iNdEx++
  38740. msglen |= (int(b) & 0x7F) << shift
  38741. if b < 0x80 {
  38742. break
  38743. }
  38744. }
  38745. if msglen < 0 {
  38746. return ErrInvalidLengthGenerated
  38747. }
  38748. postIndex := iNdEx + msglen
  38749. if postIndex > l {
  38750. return io.ErrUnexpectedEOF
  38751. }
  38752. m.Items = append(m.Items, Service{})
  38753. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  38754. return err
  38755. }
  38756. iNdEx = postIndex
  38757. default:
  38758. iNdEx = preIndex
  38759. skippy, err := skipGenerated(data[iNdEx:])
  38760. if err != nil {
  38761. return err
  38762. }
  38763. if skippy < 0 {
  38764. return ErrInvalidLengthGenerated
  38765. }
  38766. if (iNdEx + skippy) > l {
  38767. return io.ErrUnexpectedEOF
  38768. }
  38769. iNdEx += skippy
  38770. }
  38771. }
  38772. if iNdEx > l {
  38773. return io.ErrUnexpectedEOF
  38774. }
  38775. return nil
  38776. }
  38777. func (m *ServicePort) Unmarshal(data []byte) error {
  38778. l := len(data)
  38779. iNdEx := 0
  38780. for iNdEx < l {
  38781. preIndex := iNdEx
  38782. var wire uint64
  38783. for shift := uint(0); ; shift += 7 {
  38784. if shift >= 64 {
  38785. return ErrIntOverflowGenerated
  38786. }
  38787. if iNdEx >= l {
  38788. return io.ErrUnexpectedEOF
  38789. }
  38790. b := data[iNdEx]
  38791. iNdEx++
  38792. wire |= (uint64(b) & 0x7F) << shift
  38793. if b < 0x80 {
  38794. break
  38795. }
  38796. }
  38797. fieldNum := int32(wire >> 3)
  38798. wireType := int(wire & 0x7)
  38799. if wireType == 4 {
  38800. return fmt.Errorf("proto: ServicePort: wiretype end group for non-group")
  38801. }
  38802. if fieldNum <= 0 {
  38803. return fmt.Errorf("proto: ServicePort: illegal tag %d (wire type %d)", fieldNum, wire)
  38804. }
  38805. switch fieldNum {
  38806. case 1:
  38807. if wireType != 2 {
  38808. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  38809. }
  38810. var stringLen uint64
  38811. for shift := uint(0); ; shift += 7 {
  38812. if shift >= 64 {
  38813. return ErrIntOverflowGenerated
  38814. }
  38815. if iNdEx >= l {
  38816. return io.ErrUnexpectedEOF
  38817. }
  38818. b := data[iNdEx]
  38819. iNdEx++
  38820. stringLen |= (uint64(b) & 0x7F) << shift
  38821. if b < 0x80 {
  38822. break
  38823. }
  38824. }
  38825. intStringLen := int(stringLen)
  38826. if intStringLen < 0 {
  38827. return ErrInvalidLengthGenerated
  38828. }
  38829. postIndex := iNdEx + intStringLen
  38830. if postIndex > l {
  38831. return io.ErrUnexpectedEOF
  38832. }
  38833. m.Name = string(data[iNdEx:postIndex])
  38834. iNdEx = postIndex
  38835. case 2:
  38836. if wireType != 2 {
  38837. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  38838. }
  38839. var stringLen uint64
  38840. for shift := uint(0); ; shift += 7 {
  38841. if shift >= 64 {
  38842. return ErrIntOverflowGenerated
  38843. }
  38844. if iNdEx >= l {
  38845. return io.ErrUnexpectedEOF
  38846. }
  38847. b := data[iNdEx]
  38848. iNdEx++
  38849. stringLen |= (uint64(b) & 0x7F) << shift
  38850. if b < 0x80 {
  38851. break
  38852. }
  38853. }
  38854. intStringLen := int(stringLen)
  38855. if intStringLen < 0 {
  38856. return ErrInvalidLengthGenerated
  38857. }
  38858. postIndex := iNdEx + intStringLen
  38859. if postIndex > l {
  38860. return io.ErrUnexpectedEOF
  38861. }
  38862. m.Protocol = Protocol(data[iNdEx:postIndex])
  38863. iNdEx = postIndex
  38864. case 3:
  38865. if wireType != 0 {
  38866. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  38867. }
  38868. m.Port = 0
  38869. for shift := uint(0); ; shift += 7 {
  38870. if shift >= 64 {
  38871. return ErrIntOverflowGenerated
  38872. }
  38873. if iNdEx >= l {
  38874. return io.ErrUnexpectedEOF
  38875. }
  38876. b := data[iNdEx]
  38877. iNdEx++
  38878. m.Port |= (int32(b) & 0x7F) << shift
  38879. if b < 0x80 {
  38880. break
  38881. }
  38882. }
  38883. case 4:
  38884. if wireType != 2 {
  38885. return fmt.Errorf("proto: wrong wireType = %d for field TargetPort", wireType)
  38886. }
  38887. var msglen int
  38888. for shift := uint(0); ; shift += 7 {
  38889. if shift >= 64 {
  38890. return ErrIntOverflowGenerated
  38891. }
  38892. if iNdEx >= l {
  38893. return io.ErrUnexpectedEOF
  38894. }
  38895. b := data[iNdEx]
  38896. iNdEx++
  38897. msglen |= (int(b) & 0x7F) << shift
  38898. if b < 0x80 {
  38899. break
  38900. }
  38901. }
  38902. if msglen < 0 {
  38903. return ErrInvalidLengthGenerated
  38904. }
  38905. postIndex := iNdEx + msglen
  38906. if postIndex > l {
  38907. return io.ErrUnexpectedEOF
  38908. }
  38909. if err := m.TargetPort.Unmarshal(data[iNdEx:postIndex]); err != nil {
  38910. return err
  38911. }
  38912. iNdEx = postIndex
  38913. case 5:
  38914. if wireType != 0 {
  38915. return fmt.Errorf("proto: wrong wireType = %d for field NodePort", wireType)
  38916. }
  38917. m.NodePort = 0
  38918. for shift := uint(0); ; shift += 7 {
  38919. if shift >= 64 {
  38920. return ErrIntOverflowGenerated
  38921. }
  38922. if iNdEx >= l {
  38923. return io.ErrUnexpectedEOF
  38924. }
  38925. b := data[iNdEx]
  38926. iNdEx++
  38927. m.NodePort |= (int32(b) & 0x7F) << shift
  38928. if b < 0x80 {
  38929. break
  38930. }
  38931. }
  38932. default:
  38933. iNdEx = preIndex
  38934. skippy, err := skipGenerated(data[iNdEx:])
  38935. if err != nil {
  38936. return err
  38937. }
  38938. if skippy < 0 {
  38939. return ErrInvalidLengthGenerated
  38940. }
  38941. if (iNdEx + skippy) > l {
  38942. return io.ErrUnexpectedEOF
  38943. }
  38944. iNdEx += skippy
  38945. }
  38946. }
  38947. if iNdEx > l {
  38948. return io.ErrUnexpectedEOF
  38949. }
  38950. return nil
  38951. }
  38952. func (m *ServiceProxyOptions) Unmarshal(data []byte) error {
  38953. l := len(data)
  38954. iNdEx := 0
  38955. for iNdEx < l {
  38956. preIndex := iNdEx
  38957. var wire uint64
  38958. for shift := uint(0); ; shift += 7 {
  38959. if shift >= 64 {
  38960. return ErrIntOverflowGenerated
  38961. }
  38962. if iNdEx >= l {
  38963. return io.ErrUnexpectedEOF
  38964. }
  38965. b := data[iNdEx]
  38966. iNdEx++
  38967. wire |= (uint64(b) & 0x7F) << shift
  38968. if b < 0x80 {
  38969. break
  38970. }
  38971. }
  38972. fieldNum := int32(wire >> 3)
  38973. wireType := int(wire & 0x7)
  38974. if wireType == 4 {
  38975. return fmt.Errorf("proto: ServiceProxyOptions: wiretype end group for non-group")
  38976. }
  38977. if fieldNum <= 0 {
  38978. return fmt.Errorf("proto: ServiceProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  38979. }
  38980. switch fieldNum {
  38981. case 1:
  38982. if wireType != 2 {
  38983. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  38984. }
  38985. var stringLen uint64
  38986. for shift := uint(0); ; shift += 7 {
  38987. if shift >= 64 {
  38988. return ErrIntOverflowGenerated
  38989. }
  38990. if iNdEx >= l {
  38991. return io.ErrUnexpectedEOF
  38992. }
  38993. b := data[iNdEx]
  38994. iNdEx++
  38995. stringLen |= (uint64(b) & 0x7F) << shift
  38996. if b < 0x80 {
  38997. break
  38998. }
  38999. }
  39000. intStringLen := int(stringLen)
  39001. if intStringLen < 0 {
  39002. return ErrInvalidLengthGenerated
  39003. }
  39004. postIndex := iNdEx + intStringLen
  39005. if postIndex > l {
  39006. return io.ErrUnexpectedEOF
  39007. }
  39008. m.Path = string(data[iNdEx:postIndex])
  39009. iNdEx = postIndex
  39010. default:
  39011. iNdEx = preIndex
  39012. skippy, err := skipGenerated(data[iNdEx:])
  39013. if err != nil {
  39014. return err
  39015. }
  39016. if skippy < 0 {
  39017. return ErrInvalidLengthGenerated
  39018. }
  39019. if (iNdEx + skippy) > l {
  39020. return io.ErrUnexpectedEOF
  39021. }
  39022. iNdEx += skippy
  39023. }
  39024. }
  39025. if iNdEx > l {
  39026. return io.ErrUnexpectedEOF
  39027. }
  39028. return nil
  39029. }
  39030. func (m *ServiceSpec) Unmarshal(data []byte) error {
  39031. l := len(data)
  39032. iNdEx := 0
  39033. for iNdEx < l {
  39034. preIndex := iNdEx
  39035. var wire uint64
  39036. for shift := uint(0); ; shift += 7 {
  39037. if shift >= 64 {
  39038. return ErrIntOverflowGenerated
  39039. }
  39040. if iNdEx >= l {
  39041. return io.ErrUnexpectedEOF
  39042. }
  39043. b := data[iNdEx]
  39044. iNdEx++
  39045. wire |= (uint64(b) & 0x7F) << shift
  39046. if b < 0x80 {
  39047. break
  39048. }
  39049. }
  39050. fieldNum := int32(wire >> 3)
  39051. wireType := int(wire & 0x7)
  39052. if wireType == 4 {
  39053. return fmt.Errorf("proto: ServiceSpec: wiretype end group for non-group")
  39054. }
  39055. if fieldNum <= 0 {
  39056. return fmt.Errorf("proto: ServiceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  39057. }
  39058. switch fieldNum {
  39059. case 1:
  39060. if wireType != 2 {
  39061. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  39062. }
  39063. var msglen int
  39064. for shift := uint(0); ; shift += 7 {
  39065. if shift >= 64 {
  39066. return ErrIntOverflowGenerated
  39067. }
  39068. if iNdEx >= l {
  39069. return io.ErrUnexpectedEOF
  39070. }
  39071. b := data[iNdEx]
  39072. iNdEx++
  39073. msglen |= (int(b) & 0x7F) << shift
  39074. if b < 0x80 {
  39075. break
  39076. }
  39077. }
  39078. if msglen < 0 {
  39079. return ErrInvalidLengthGenerated
  39080. }
  39081. postIndex := iNdEx + msglen
  39082. if postIndex > l {
  39083. return io.ErrUnexpectedEOF
  39084. }
  39085. m.Ports = append(m.Ports, ServicePort{})
  39086. if err := m.Ports[len(m.Ports)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  39087. return err
  39088. }
  39089. iNdEx = postIndex
  39090. case 2:
  39091. if wireType != 2 {
  39092. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  39093. }
  39094. var msglen int
  39095. for shift := uint(0); ; shift += 7 {
  39096. if shift >= 64 {
  39097. return ErrIntOverflowGenerated
  39098. }
  39099. if iNdEx >= l {
  39100. return io.ErrUnexpectedEOF
  39101. }
  39102. b := data[iNdEx]
  39103. iNdEx++
  39104. msglen |= (int(b) & 0x7F) << shift
  39105. if b < 0x80 {
  39106. break
  39107. }
  39108. }
  39109. if msglen < 0 {
  39110. return ErrInvalidLengthGenerated
  39111. }
  39112. postIndex := iNdEx + msglen
  39113. if postIndex > l {
  39114. return io.ErrUnexpectedEOF
  39115. }
  39116. var keykey uint64
  39117. for shift := uint(0); ; shift += 7 {
  39118. if shift >= 64 {
  39119. return ErrIntOverflowGenerated
  39120. }
  39121. if iNdEx >= l {
  39122. return io.ErrUnexpectedEOF
  39123. }
  39124. b := data[iNdEx]
  39125. iNdEx++
  39126. keykey |= (uint64(b) & 0x7F) << shift
  39127. if b < 0x80 {
  39128. break
  39129. }
  39130. }
  39131. var stringLenmapkey uint64
  39132. for shift := uint(0); ; shift += 7 {
  39133. if shift >= 64 {
  39134. return ErrIntOverflowGenerated
  39135. }
  39136. if iNdEx >= l {
  39137. return io.ErrUnexpectedEOF
  39138. }
  39139. b := data[iNdEx]
  39140. iNdEx++
  39141. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  39142. if b < 0x80 {
  39143. break
  39144. }
  39145. }
  39146. intStringLenmapkey := int(stringLenmapkey)
  39147. if intStringLenmapkey < 0 {
  39148. return ErrInvalidLengthGenerated
  39149. }
  39150. postStringIndexmapkey := iNdEx + intStringLenmapkey
  39151. if postStringIndexmapkey > l {
  39152. return io.ErrUnexpectedEOF
  39153. }
  39154. mapkey := string(data[iNdEx:postStringIndexmapkey])
  39155. iNdEx = postStringIndexmapkey
  39156. var valuekey uint64
  39157. for shift := uint(0); ; shift += 7 {
  39158. if shift >= 64 {
  39159. return ErrIntOverflowGenerated
  39160. }
  39161. if iNdEx >= l {
  39162. return io.ErrUnexpectedEOF
  39163. }
  39164. b := data[iNdEx]
  39165. iNdEx++
  39166. valuekey |= (uint64(b) & 0x7F) << shift
  39167. if b < 0x80 {
  39168. break
  39169. }
  39170. }
  39171. var stringLenmapvalue uint64
  39172. for shift := uint(0); ; shift += 7 {
  39173. if shift >= 64 {
  39174. return ErrIntOverflowGenerated
  39175. }
  39176. if iNdEx >= l {
  39177. return io.ErrUnexpectedEOF
  39178. }
  39179. b := data[iNdEx]
  39180. iNdEx++
  39181. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  39182. if b < 0x80 {
  39183. break
  39184. }
  39185. }
  39186. intStringLenmapvalue := int(stringLenmapvalue)
  39187. if intStringLenmapvalue < 0 {
  39188. return ErrInvalidLengthGenerated
  39189. }
  39190. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  39191. if postStringIndexmapvalue > l {
  39192. return io.ErrUnexpectedEOF
  39193. }
  39194. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  39195. iNdEx = postStringIndexmapvalue
  39196. if m.Selector == nil {
  39197. m.Selector = make(map[string]string)
  39198. }
  39199. m.Selector[mapkey] = mapvalue
  39200. iNdEx = postIndex
  39201. case 3:
  39202. if wireType != 2 {
  39203. return fmt.Errorf("proto: wrong wireType = %d for field ClusterIP", wireType)
  39204. }
  39205. var stringLen uint64
  39206. for shift := uint(0); ; shift += 7 {
  39207. if shift >= 64 {
  39208. return ErrIntOverflowGenerated
  39209. }
  39210. if iNdEx >= l {
  39211. return io.ErrUnexpectedEOF
  39212. }
  39213. b := data[iNdEx]
  39214. iNdEx++
  39215. stringLen |= (uint64(b) & 0x7F) << shift
  39216. if b < 0x80 {
  39217. break
  39218. }
  39219. }
  39220. intStringLen := int(stringLen)
  39221. if intStringLen < 0 {
  39222. return ErrInvalidLengthGenerated
  39223. }
  39224. postIndex := iNdEx + intStringLen
  39225. if postIndex > l {
  39226. return io.ErrUnexpectedEOF
  39227. }
  39228. m.ClusterIP = string(data[iNdEx:postIndex])
  39229. iNdEx = postIndex
  39230. case 4:
  39231. if wireType != 2 {
  39232. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  39233. }
  39234. var stringLen uint64
  39235. for shift := uint(0); ; shift += 7 {
  39236. if shift >= 64 {
  39237. return ErrIntOverflowGenerated
  39238. }
  39239. if iNdEx >= l {
  39240. return io.ErrUnexpectedEOF
  39241. }
  39242. b := data[iNdEx]
  39243. iNdEx++
  39244. stringLen |= (uint64(b) & 0x7F) << shift
  39245. if b < 0x80 {
  39246. break
  39247. }
  39248. }
  39249. intStringLen := int(stringLen)
  39250. if intStringLen < 0 {
  39251. return ErrInvalidLengthGenerated
  39252. }
  39253. postIndex := iNdEx + intStringLen
  39254. if postIndex > l {
  39255. return io.ErrUnexpectedEOF
  39256. }
  39257. m.Type = ServiceType(data[iNdEx:postIndex])
  39258. iNdEx = postIndex
  39259. case 5:
  39260. if wireType != 2 {
  39261. return fmt.Errorf("proto: wrong wireType = %d for field ExternalIPs", wireType)
  39262. }
  39263. var stringLen uint64
  39264. for shift := uint(0); ; shift += 7 {
  39265. if shift >= 64 {
  39266. return ErrIntOverflowGenerated
  39267. }
  39268. if iNdEx >= l {
  39269. return io.ErrUnexpectedEOF
  39270. }
  39271. b := data[iNdEx]
  39272. iNdEx++
  39273. stringLen |= (uint64(b) & 0x7F) << shift
  39274. if b < 0x80 {
  39275. break
  39276. }
  39277. }
  39278. intStringLen := int(stringLen)
  39279. if intStringLen < 0 {
  39280. return ErrInvalidLengthGenerated
  39281. }
  39282. postIndex := iNdEx + intStringLen
  39283. if postIndex > l {
  39284. return io.ErrUnexpectedEOF
  39285. }
  39286. m.ExternalIPs = append(m.ExternalIPs, string(data[iNdEx:postIndex]))
  39287. iNdEx = postIndex
  39288. case 6:
  39289. if wireType != 2 {
  39290. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedPublicIPs", wireType)
  39291. }
  39292. var stringLen uint64
  39293. for shift := uint(0); ; shift += 7 {
  39294. if shift >= 64 {
  39295. return ErrIntOverflowGenerated
  39296. }
  39297. if iNdEx >= l {
  39298. return io.ErrUnexpectedEOF
  39299. }
  39300. b := data[iNdEx]
  39301. iNdEx++
  39302. stringLen |= (uint64(b) & 0x7F) << shift
  39303. if b < 0x80 {
  39304. break
  39305. }
  39306. }
  39307. intStringLen := int(stringLen)
  39308. if intStringLen < 0 {
  39309. return ErrInvalidLengthGenerated
  39310. }
  39311. postIndex := iNdEx + intStringLen
  39312. if postIndex > l {
  39313. return io.ErrUnexpectedEOF
  39314. }
  39315. m.DeprecatedPublicIPs = append(m.DeprecatedPublicIPs, string(data[iNdEx:postIndex]))
  39316. iNdEx = postIndex
  39317. case 7:
  39318. if wireType != 2 {
  39319. return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinity", wireType)
  39320. }
  39321. var stringLen uint64
  39322. for shift := uint(0); ; shift += 7 {
  39323. if shift >= 64 {
  39324. return ErrIntOverflowGenerated
  39325. }
  39326. if iNdEx >= l {
  39327. return io.ErrUnexpectedEOF
  39328. }
  39329. b := data[iNdEx]
  39330. iNdEx++
  39331. stringLen |= (uint64(b) & 0x7F) << shift
  39332. if b < 0x80 {
  39333. break
  39334. }
  39335. }
  39336. intStringLen := int(stringLen)
  39337. if intStringLen < 0 {
  39338. return ErrInvalidLengthGenerated
  39339. }
  39340. postIndex := iNdEx + intStringLen
  39341. if postIndex > l {
  39342. return io.ErrUnexpectedEOF
  39343. }
  39344. m.SessionAffinity = ServiceAffinity(data[iNdEx:postIndex])
  39345. iNdEx = postIndex
  39346. case 8:
  39347. if wireType != 2 {
  39348. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerIP", wireType)
  39349. }
  39350. var stringLen uint64
  39351. for shift := uint(0); ; shift += 7 {
  39352. if shift >= 64 {
  39353. return ErrIntOverflowGenerated
  39354. }
  39355. if iNdEx >= l {
  39356. return io.ErrUnexpectedEOF
  39357. }
  39358. b := data[iNdEx]
  39359. iNdEx++
  39360. stringLen |= (uint64(b) & 0x7F) << shift
  39361. if b < 0x80 {
  39362. break
  39363. }
  39364. }
  39365. intStringLen := int(stringLen)
  39366. if intStringLen < 0 {
  39367. return ErrInvalidLengthGenerated
  39368. }
  39369. postIndex := iNdEx + intStringLen
  39370. if postIndex > l {
  39371. return io.ErrUnexpectedEOF
  39372. }
  39373. m.LoadBalancerIP = string(data[iNdEx:postIndex])
  39374. iNdEx = postIndex
  39375. case 9:
  39376. if wireType != 2 {
  39377. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerSourceRanges", wireType)
  39378. }
  39379. var stringLen uint64
  39380. for shift := uint(0); ; shift += 7 {
  39381. if shift >= 64 {
  39382. return ErrIntOverflowGenerated
  39383. }
  39384. if iNdEx >= l {
  39385. return io.ErrUnexpectedEOF
  39386. }
  39387. b := data[iNdEx]
  39388. iNdEx++
  39389. stringLen |= (uint64(b) & 0x7F) << shift
  39390. if b < 0x80 {
  39391. break
  39392. }
  39393. }
  39394. intStringLen := int(stringLen)
  39395. if intStringLen < 0 {
  39396. return ErrInvalidLengthGenerated
  39397. }
  39398. postIndex := iNdEx + intStringLen
  39399. if postIndex > l {
  39400. return io.ErrUnexpectedEOF
  39401. }
  39402. m.LoadBalancerSourceRanges = append(m.LoadBalancerSourceRanges, string(data[iNdEx:postIndex]))
  39403. iNdEx = postIndex
  39404. case 10:
  39405. if wireType != 2 {
  39406. return fmt.Errorf("proto: wrong wireType = %d for field ExternalName", wireType)
  39407. }
  39408. var stringLen uint64
  39409. for shift := uint(0); ; shift += 7 {
  39410. if shift >= 64 {
  39411. return ErrIntOverflowGenerated
  39412. }
  39413. if iNdEx >= l {
  39414. return io.ErrUnexpectedEOF
  39415. }
  39416. b := data[iNdEx]
  39417. iNdEx++
  39418. stringLen |= (uint64(b) & 0x7F) << shift
  39419. if b < 0x80 {
  39420. break
  39421. }
  39422. }
  39423. intStringLen := int(stringLen)
  39424. if intStringLen < 0 {
  39425. return ErrInvalidLengthGenerated
  39426. }
  39427. postIndex := iNdEx + intStringLen
  39428. if postIndex > l {
  39429. return io.ErrUnexpectedEOF
  39430. }
  39431. m.ExternalName = string(data[iNdEx:postIndex])
  39432. iNdEx = postIndex
  39433. default:
  39434. iNdEx = preIndex
  39435. skippy, err := skipGenerated(data[iNdEx:])
  39436. if err != nil {
  39437. return err
  39438. }
  39439. if skippy < 0 {
  39440. return ErrInvalidLengthGenerated
  39441. }
  39442. if (iNdEx + skippy) > l {
  39443. return io.ErrUnexpectedEOF
  39444. }
  39445. iNdEx += skippy
  39446. }
  39447. }
  39448. if iNdEx > l {
  39449. return io.ErrUnexpectedEOF
  39450. }
  39451. return nil
  39452. }
  39453. func (m *ServiceStatus) Unmarshal(data []byte) error {
  39454. l := len(data)
  39455. iNdEx := 0
  39456. for iNdEx < l {
  39457. preIndex := iNdEx
  39458. var wire uint64
  39459. for shift := uint(0); ; shift += 7 {
  39460. if shift >= 64 {
  39461. return ErrIntOverflowGenerated
  39462. }
  39463. if iNdEx >= l {
  39464. return io.ErrUnexpectedEOF
  39465. }
  39466. b := data[iNdEx]
  39467. iNdEx++
  39468. wire |= (uint64(b) & 0x7F) << shift
  39469. if b < 0x80 {
  39470. break
  39471. }
  39472. }
  39473. fieldNum := int32(wire >> 3)
  39474. wireType := int(wire & 0x7)
  39475. if wireType == 4 {
  39476. return fmt.Errorf("proto: ServiceStatus: wiretype end group for non-group")
  39477. }
  39478. if fieldNum <= 0 {
  39479. return fmt.Errorf("proto: ServiceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  39480. }
  39481. switch fieldNum {
  39482. case 1:
  39483. if wireType != 2 {
  39484. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
  39485. }
  39486. var msglen int
  39487. for shift := uint(0); ; shift += 7 {
  39488. if shift >= 64 {
  39489. return ErrIntOverflowGenerated
  39490. }
  39491. if iNdEx >= l {
  39492. return io.ErrUnexpectedEOF
  39493. }
  39494. b := data[iNdEx]
  39495. iNdEx++
  39496. msglen |= (int(b) & 0x7F) << shift
  39497. if b < 0x80 {
  39498. break
  39499. }
  39500. }
  39501. if msglen < 0 {
  39502. return ErrInvalidLengthGenerated
  39503. }
  39504. postIndex := iNdEx + msglen
  39505. if postIndex > l {
  39506. return io.ErrUnexpectedEOF
  39507. }
  39508. if err := m.LoadBalancer.Unmarshal(data[iNdEx:postIndex]); err != nil {
  39509. return err
  39510. }
  39511. iNdEx = postIndex
  39512. default:
  39513. iNdEx = preIndex
  39514. skippy, err := skipGenerated(data[iNdEx:])
  39515. if err != nil {
  39516. return err
  39517. }
  39518. if skippy < 0 {
  39519. return ErrInvalidLengthGenerated
  39520. }
  39521. if (iNdEx + skippy) > l {
  39522. return io.ErrUnexpectedEOF
  39523. }
  39524. iNdEx += skippy
  39525. }
  39526. }
  39527. if iNdEx > l {
  39528. return io.ErrUnexpectedEOF
  39529. }
  39530. return nil
  39531. }
  39532. func (m *Sysctl) Unmarshal(data []byte) error {
  39533. l := len(data)
  39534. iNdEx := 0
  39535. for iNdEx < l {
  39536. preIndex := iNdEx
  39537. var wire uint64
  39538. for shift := uint(0); ; shift += 7 {
  39539. if shift >= 64 {
  39540. return ErrIntOverflowGenerated
  39541. }
  39542. if iNdEx >= l {
  39543. return io.ErrUnexpectedEOF
  39544. }
  39545. b := data[iNdEx]
  39546. iNdEx++
  39547. wire |= (uint64(b) & 0x7F) << shift
  39548. if b < 0x80 {
  39549. break
  39550. }
  39551. }
  39552. fieldNum := int32(wire >> 3)
  39553. wireType := int(wire & 0x7)
  39554. if wireType == 4 {
  39555. return fmt.Errorf("proto: Sysctl: wiretype end group for non-group")
  39556. }
  39557. if fieldNum <= 0 {
  39558. return fmt.Errorf("proto: Sysctl: illegal tag %d (wire type %d)", fieldNum, wire)
  39559. }
  39560. switch fieldNum {
  39561. case 1:
  39562. if wireType != 2 {
  39563. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  39564. }
  39565. var stringLen uint64
  39566. for shift := uint(0); ; shift += 7 {
  39567. if shift >= 64 {
  39568. return ErrIntOverflowGenerated
  39569. }
  39570. if iNdEx >= l {
  39571. return io.ErrUnexpectedEOF
  39572. }
  39573. b := data[iNdEx]
  39574. iNdEx++
  39575. stringLen |= (uint64(b) & 0x7F) << shift
  39576. if b < 0x80 {
  39577. break
  39578. }
  39579. }
  39580. intStringLen := int(stringLen)
  39581. if intStringLen < 0 {
  39582. return ErrInvalidLengthGenerated
  39583. }
  39584. postIndex := iNdEx + intStringLen
  39585. if postIndex > l {
  39586. return io.ErrUnexpectedEOF
  39587. }
  39588. m.Name = string(data[iNdEx:postIndex])
  39589. iNdEx = postIndex
  39590. case 2:
  39591. if wireType != 2 {
  39592. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  39593. }
  39594. var stringLen uint64
  39595. for shift := uint(0); ; shift += 7 {
  39596. if shift >= 64 {
  39597. return ErrIntOverflowGenerated
  39598. }
  39599. if iNdEx >= l {
  39600. return io.ErrUnexpectedEOF
  39601. }
  39602. b := data[iNdEx]
  39603. iNdEx++
  39604. stringLen |= (uint64(b) & 0x7F) << shift
  39605. if b < 0x80 {
  39606. break
  39607. }
  39608. }
  39609. intStringLen := int(stringLen)
  39610. if intStringLen < 0 {
  39611. return ErrInvalidLengthGenerated
  39612. }
  39613. postIndex := iNdEx + intStringLen
  39614. if postIndex > l {
  39615. return io.ErrUnexpectedEOF
  39616. }
  39617. m.Value = string(data[iNdEx:postIndex])
  39618. iNdEx = postIndex
  39619. default:
  39620. iNdEx = preIndex
  39621. skippy, err := skipGenerated(data[iNdEx:])
  39622. if err != nil {
  39623. return err
  39624. }
  39625. if skippy < 0 {
  39626. return ErrInvalidLengthGenerated
  39627. }
  39628. if (iNdEx + skippy) > l {
  39629. return io.ErrUnexpectedEOF
  39630. }
  39631. iNdEx += skippy
  39632. }
  39633. }
  39634. if iNdEx > l {
  39635. return io.ErrUnexpectedEOF
  39636. }
  39637. return nil
  39638. }
  39639. func (m *TCPSocketAction) Unmarshal(data []byte) error {
  39640. l := len(data)
  39641. iNdEx := 0
  39642. for iNdEx < l {
  39643. preIndex := iNdEx
  39644. var wire uint64
  39645. for shift := uint(0); ; shift += 7 {
  39646. if shift >= 64 {
  39647. return ErrIntOverflowGenerated
  39648. }
  39649. if iNdEx >= l {
  39650. return io.ErrUnexpectedEOF
  39651. }
  39652. b := data[iNdEx]
  39653. iNdEx++
  39654. wire |= (uint64(b) & 0x7F) << shift
  39655. if b < 0x80 {
  39656. break
  39657. }
  39658. }
  39659. fieldNum := int32(wire >> 3)
  39660. wireType := int(wire & 0x7)
  39661. if wireType == 4 {
  39662. return fmt.Errorf("proto: TCPSocketAction: wiretype end group for non-group")
  39663. }
  39664. if fieldNum <= 0 {
  39665. return fmt.Errorf("proto: TCPSocketAction: illegal tag %d (wire type %d)", fieldNum, wire)
  39666. }
  39667. switch fieldNum {
  39668. case 1:
  39669. if wireType != 2 {
  39670. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  39671. }
  39672. var msglen int
  39673. for shift := uint(0); ; shift += 7 {
  39674. if shift >= 64 {
  39675. return ErrIntOverflowGenerated
  39676. }
  39677. if iNdEx >= l {
  39678. return io.ErrUnexpectedEOF
  39679. }
  39680. b := data[iNdEx]
  39681. iNdEx++
  39682. msglen |= (int(b) & 0x7F) << shift
  39683. if b < 0x80 {
  39684. break
  39685. }
  39686. }
  39687. if msglen < 0 {
  39688. return ErrInvalidLengthGenerated
  39689. }
  39690. postIndex := iNdEx + msglen
  39691. if postIndex > l {
  39692. return io.ErrUnexpectedEOF
  39693. }
  39694. if err := m.Port.Unmarshal(data[iNdEx:postIndex]); err != nil {
  39695. return err
  39696. }
  39697. iNdEx = postIndex
  39698. default:
  39699. iNdEx = preIndex
  39700. skippy, err := skipGenerated(data[iNdEx:])
  39701. if err != nil {
  39702. return err
  39703. }
  39704. if skippy < 0 {
  39705. return ErrInvalidLengthGenerated
  39706. }
  39707. if (iNdEx + skippy) > l {
  39708. return io.ErrUnexpectedEOF
  39709. }
  39710. iNdEx += skippy
  39711. }
  39712. }
  39713. if iNdEx > l {
  39714. return io.ErrUnexpectedEOF
  39715. }
  39716. return nil
  39717. }
  39718. func (m *Taint) Unmarshal(data []byte) error {
  39719. l := len(data)
  39720. iNdEx := 0
  39721. for iNdEx < l {
  39722. preIndex := iNdEx
  39723. var wire uint64
  39724. for shift := uint(0); ; shift += 7 {
  39725. if shift >= 64 {
  39726. return ErrIntOverflowGenerated
  39727. }
  39728. if iNdEx >= l {
  39729. return io.ErrUnexpectedEOF
  39730. }
  39731. b := data[iNdEx]
  39732. iNdEx++
  39733. wire |= (uint64(b) & 0x7F) << shift
  39734. if b < 0x80 {
  39735. break
  39736. }
  39737. }
  39738. fieldNum := int32(wire >> 3)
  39739. wireType := int(wire & 0x7)
  39740. if wireType == 4 {
  39741. return fmt.Errorf("proto: Taint: wiretype end group for non-group")
  39742. }
  39743. if fieldNum <= 0 {
  39744. return fmt.Errorf("proto: Taint: illegal tag %d (wire type %d)", fieldNum, wire)
  39745. }
  39746. switch fieldNum {
  39747. case 1:
  39748. if wireType != 2 {
  39749. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  39750. }
  39751. var stringLen uint64
  39752. for shift := uint(0); ; shift += 7 {
  39753. if shift >= 64 {
  39754. return ErrIntOverflowGenerated
  39755. }
  39756. if iNdEx >= l {
  39757. return io.ErrUnexpectedEOF
  39758. }
  39759. b := data[iNdEx]
  39760. iNdEx++
  39761. stringLen |= (uint64(b) & 0x7F) << shift
  39762. if b < 0x80 {
  39763. break
  39764. }
  39765. }
  39766. intStringLen := int(stringLen)
  39767. if intStringLen < 0 {
  39768. return ErrInvalidLengthGenerated
  39769. }
  39770. postIndex := iNdEx + intStringLen
  39771. if postIndex > l {
  39772. return io.ErrUnexpectedEOF
  39773. }
  39774. m.Key = string(data[iNdEx:postIndex])
  39775. iNdEx = postIndex
  39776. case 2:
  39777. if wireType != 2 {
  39778. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  39779. }
  39780. var stringLen uint64
  39781. for shift := uint(0); ; shift += 7 {
  39782. if shift >= 64 {
  39783. return ErrIntOverflowGenerated
  39784. }
  39785. if iNdEx >= l {
  39786. return io.ErrUnexpectedEOF
  39787. }
  39788. b := data[iNdEx]
  39789. iNdEx++
  39790. stringLen |= (uint64(b) & 0x7F) << shift
  39791. if b < 0x80 {
  39792. break
  39793. }
  39794. }
  39795. intStringLen := int(stringLen)
  39796. if intStringLen < 0 {
  39797. return ErrInvalidLengthGenerated
  39798. }
  39799. postIndex := iNdEx + intStringLen
  39800. if postIndex > l {
  39801. return io.ErrUnexpectedEOF
  39802. }
  39803. m.Value = string(data[iNdEx:postIndex])
  39804. iNdEx = postIndex
  39805. case 3:
  39806. if wireType != 2 {
  39807. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  39808. }
  39809. var stringLen uint64
  39810. for shift := uint(0); ; shift += 7 {
  39811. if shift >= 64 {
  39812. return ErrIntOverflowGenerated
  39813. }
  39814. if iNdEx >= l {
  39815. return io.ErrUnexpectedEOF
  39816. }
  39817. b := data[iNdEx]
  39818. iNdEx++
  39819. stringLen |= (uint64(b) & 0x7F) << shift
  39820. if b < 0x80 {
  39821. break
  39822. }
  39823. }
  39824. intStringLen := int(stringLen)
  39825. if intStringLen < 0 {
  39826. return ErrInvalidLengthGenerated
  39827. }
  39828. postIndex := iNdEx + intStringLen
  39829. if postIndex > l {
  39830. return io.ErrUnexpectedEOF
  39831. }
  39832. m.Effect = TaintEffect(data[iNdEx:postIndex])
  39833. iNdEx = postIndex
  39834. case 4:
  39835. if wireType != 2 {
  39836. return fmt.Errorf("proto: wrong wireType = %d for field TimeAdded", wireType)
  39837. }
  39838. var msglen int
  39839. for shift := uint(0); ; shift += 7 {
  39840. if shift >= 64 {
  39841. return ErrIntOverflowGenerated
  39842. }
  39843. if iNdEx >= l {
  39844. return io.ErrUnexpectedEOF
  39845. }
  39846. b := data[iNdEx]
  39847. iNdEx++
  39848. msglen |= (int(b) & 0x7F) << shift
  39849. if b < 0x80 {
  39850. break
  39851. }
  39852. }
  39853. if msglen < 0 {
  39854. return ErrInvalidLengthGenerated
  39855. }
  39856. postIndex := iNdEx + msglen
  39857. if postIndex > l {
  39858. return io.ErrUnexpectedEOF
  39859. }
  39860. if err := m.TimeAdded.Unmarshal(data[iNdEx:postIndex]); err != nil {
  39861. return err
  39862. }
  39863. iNdEx = postIndex
  39864. default:
  39865. iNdEx = preIndex
  39866. skippy, err := skipGenerated(data[iNdEx:])
  39867. if err != nil {
  39868. return err
  39869. }
  39870. if skippy < 0 {
  39871. return ErrInvalidLengthGenerated
  39872. }
  39873. if (iNdEx + skippy) > l {
  39874. return io.ErrUnexpectedEOF
  39875. }
  39876. iNdEx += skippy
  39877. }
  39878. }
  39879. if iNdEx > l {
  39880. return io.ErrUnexpectedEOF
  39881. }
  39882. return nil
  39883. }
  39884. func (m *Toleration) Unmarshal(data []byte) error {
  39885. l := len(data)
  39886. iNdEx := 0
  39887. for iNdEx < l {
  39888. preIndex := iNdEx
  39889. var wire uint64
  39890. for shift := uint(0); ; shift += 7 {
  39891. if shift >= 64 {
  39892. return ErrIntOverflowGenerated
  39893. }
  39894. if iNdEx >= l {
  39895. return io.ErrUnexpectedEOF
  39896. }
  39897. b := data[iNdEx]
  39898. iNdEx++
  39899. wire |= (uint64(b) & 0x7F) << shift
  39900. if b < 0x80 {
  39901. break
  39902. }
  39903. }
  39904. fieldNum := int32(wire >> 3)
  39905. wireType := int(wire & 0x7)
  39906. if wireType == 4 {
  39907. return fmt.Errorf("proto: Toleration: wiretype end group for non-group")
  39908. }
  39909. if fieldNum <= 0 {
  39910. return fmt.Errorf("proto: Toleration: illegal tag %d (wire type %d)", fieldNum, wire)
  39911. }
  39912. switch fieldNum {
  39913. case 1:
  39914. if wireType != 2 {
  39915. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  39916. }
  39917. var stringLen uint64
  39918. for shift := uint(0); ; shift += 7 {
  39919. if shift >= 64 {
  39920. return ErrIntOverflowGenerated
  39921. }
  39922. if iNdEx >= l {
  39923. return io.ErrUnexpectedEOF
  39924. }
  39925. b := data[iNdEx]
  39926. iNdEx++
  39927. stringLen |= (uint64(b) & 0x7F) << shift
  39928. if b < 0x80 {
  39929. break
  39930. }
  39931. }
  39932. intStringLen := int(stringLen)
  39933. if intStringLen < 0 {
  39934. return ErrInvalidLengthGenerated
  39935. }
  39936. postIndex := iNdEx + intStringLen
  39937. if postIndex > l {
  39938. return io.ErrUnexpectedEOF
  39939. }
  39940. m.Key = string(data[iNdEx:postIndex])
  39941. iNdEx = postIndex
  39942. case 2:
  39943. if wireType != 2 {
  39944. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  39945. }
  39946. var stringLen uint64
  39947. for shift := uint(0); ; shift += 7 {
  39948. if shift >= 64 {
  39949. return ErrIntOverflowGenerated
  39950. }
  39951. if iNdEx >= l {
  39952. return io.ErrUnexpectedEOF
  39953. }
  39954. b := data[iNdEx]
  39955. iNdEx++
  39956. stringLen |= (uint64(b) & 0x7F) << shift
  39957. if b < 0x80 {
  39958. break
  39959. }
  39960. }
  39961. intStringLen := int(stringLen)
  39962. if intStringLen < 0 {
  39963. return ErrInvalidLengthGenerated
  39964. }
  39965. postIndex := iNdEx + intStringLen
  39966. if postIndex > l {
  39967. return io.ErrUnexpectedEOF
  39968. }
  39969. m.Operator = TolerationOperator(data[iNdEx:postIndex])
  39970. iNdEx = postIndex
  39971. case 3:
  39972. if wireType != 2 {
  39973. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  39974. }
  39975. var stringLen uint64
  39976. for shift := uint(0); ; shift += 7 {
  39977. if shift >= 64 {
  39978. return ErrIntOverflowGenerated
  39979. }
  39980. if iNdEx >= l {
  39981. return io.ErrUnexpectedEOF
  39982. }
  39983. b := data[iNdEx]
  39984. iNdEx++
  39985. stringLen |= (uint64(b) & 0x7F) << shift
  39986. if b < 0x80 {
  39987. break
  39988. }
  39989. }
  39990. intStringLen := int(stringLen)
  39991. if intStringLen < 0 {
  39992. return ErrInvalidLengthGenerated
  39993. }
  39994. postIndex := iNdEx + intStringLen
  39995. if postIndex > l {
  39996. return io.ErrUnexpectedEOF
  39997. }
  39998. m.Value = string(data[iNdEx:postIndex])
  39999. iNdEx = postIndex
  40000. case 4:
  40001. if wireType != 2 {
  40002. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  40003. }
  40004. var stringLen uint64
  40005. for shift := uint(0); ; shift += 7 {
  40006. if shift >= 64 {
  40007. return ErrIntOverflowGenerated
  40008. }
  40009. if iNdEx >= l {
  40010. return io.ErrUnexpectedEOF
  40011. }
  40012. b := data[iNdEx]
  40013. iNdEx++
  40014. stringLen |= (uint64(b) & 0x7F) << shift
  40015. if b < 0x80 {
  40016. break
  40017. }
  40018. }
  40019. intStringLen := int(stringLen)
  40020. if intStringLen < 0 {
  40021. return ErrInvalidLengthGenerated
  40022. }
  40023. postIndex := iNdEx + intStringLen
  40024. if postIndex > l {
  40025. return io.ErrUnexpectedEOF
  40026. }
  40027. m.Effect = TaintEffect(data[iNdEx:postIndex])
  40028. iNdEx = postIndex
  40029. case 5:
  40030. if wireType != 0 {
  40031. return fmt.Errorf("proto: wrong wireType = %d for field TolerationSeconds", wireType)
  40032. }
  40033. var v int64
  40034. for shift := uint(0); ; shift += 7 {
  40035. if shift >= 64 {
  40036. return ErrIntOverflowGenerated
  40037. }
  40038. if iNdEx >= l {
  40039. return io.ErrUnexpectedEOF
  40040. }
  40041. b := data[iNdEx]
  40042. iNdEx++
  40043. v |= (int64(b) & 0x7F) << shift
  40044. if b < 0x80 {
  40045. break
  40046. }
  40047. }
  40048. m.TolerationSeconds = &v
  40049. default:
  40050. iNdEx = preIndex
  40051. skippy, err := skipGenerated(data[iNdEx:])
  40052. if err != nil {
  40053. return err
  40054. }
  40055. if skippy < 0 {
  40056. return ErrInvalidLengthGenerated
  40057. }
  40058. if (iNdEx + skippy) > l {
  40059. return io.ErrUnexpectedEOF
  40060. }
  40061. iNdEx += skippy
  40062. }
  40063. }
  40064. if iNdEx > l {
  40065. return io.ErrUnexpectedEOF
  40066. }
  40067. return nil
  40068. }
  40069. func (m *Volume) Unmarshal(data []byte) error {
  40070. l := len(data)
  40071. iNdEx := 0
  40072. for iNdEx < l {
  40073. preIndex := iNdEx
  40074. var wire uint64
  40075. for shift := uint(0); ; shift += 7 {
  40076. if shift >= 64 {
  40077. return ErrIntOverflowGenerated
  40078. }
  40079. if iNdEx >= l {
  40080. return io.ErrUnexpectedEOF
  40081. }
  40082. b := data[iNdEx]
  40083. iNdEx++
  40084. wire |= (uint64(b) & 0x7F) << shift
  40085. if b < 0x80 {
  40086. break
  40087. }
  40088. }
  40089. fieldNum := int32(wire >> 3)
  40090. wireType := int(wire & 0x7)
  40091. if wireType == 4 {
  40092. return fmt.Errorf("proto: Volume: wiretype end group for non-group")
  40093. }
  40094. if fieldNum <= 0 {
  40095. return fmt.Errorf("proto: Volume: illegal tag %d (wire type %d)", fieldNum, wire)
  40096. }
  40097. switch fieldNum {
  40098. case 1:
  40099. if wireType != 2 {
  40100. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  40101. }
  40102. var stringLen uint64
  40103. for shift := uint(0); ; shift += 7 {
  40104. if shift >= 64 {
  40105. return ErrIntOverflowGenerated
  40106. }
  40107. if iNdEx >= l {
  40108. return io.ErrUnexpectedEOF
  40109. }
  40110. b := data[iNdEx]
  40111. iNdEx++
  40112. stringLen |= (uint64(b) & 0x7F) << shift
  40113. if b < 0x80 {
  40114. break
  40115. }
  40116. }
  40117. intStringLen := int(stringLen)
  40118. if intStringLen < 0 {
  40119. return ErrInvalidLengthGenerated
  40120. }
  40121. postIndex := iNdEx + intStringLen
  40122. if postIndex > l {
  40123. return io.ErrUnexpectedEOF
  40124. }
  40125. m.Name = string(data[iNdEx:postIndex])
  40126. iNdEx = postIndex
  40127. case 2:
  40128. if wireType != 2 {
  40129. return fmt.Errorf("proto: wrong wireType = %d for field VolumeSource", wireType)
  40130. }
  40131. var msglen int
  40132. for shift := uint(0); ; shift += 7 {
  40133. if shift >= 64 {
  40134. return ErrIntOverflowGenerated
  40135. }
  40136. if iNdEx >= l {
  40137. return io.ErrUnexpectedEOF
  40138. }
  40139. b := data[iNdEx]
  40140. iNdEx++
  40141. msglen |= (int(b) & 0x7F) << shift
  40142. if b < 0x80 {
  40143. break
  40144. }
  40145. }
  40146. if msglen < 0 {
  40147. return ErrInvalidLengthGenerated
  40148. }
  40149. postIndex := iNdEx + msglen
  40150. if postIndex > l {
  40151. return io.ErrUnexpectedEOF
  40152. }
  40153. if err := m.VolumeSource.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40154. return err
  40155. }
  40156. iNdEx = postIndex
  40157. default:
  40158. iNdEx = preIndex
  40159. skippy, err := skipGenerated(data[iNdEx:])
  40160. if err != nil {
  40161. return err
  40162. }
  40163. if skippy < 0 {
  40164. return ErrInvalidLengthGenerated
  40165. }
  40166. if (iNdEx + skippy) > l {
  40167. return io.ErrUnexpectedEOF
  40168. }
  40169. iNdEx += skippy
  40170. }
  40171. }
  40172. if iNdEx > l {
  40173. return io.ErrUnexpectedEOF
  40174. }
  40175. return nil
  40176. }
  40177. func (m *VolumeMount) Unmarshal(data []byte) error {
  40178. l := len(data)
  40179. iNdEx := 0
  40180. for iNdEx < l {
  40181. preIndex := iNdEx
  40182. var wire uint64
  40183. for shift := uint(0); ; shift += 7 {
  40184. if shift >= 64 {
  40185. return ErrIntOverflowGenerated
  40186. }
  40187. if iNdEx >= l {
  40188. return io.ErrUnexpectedEOF
  40189. }
  40190. b := data[iNdEx]
  40191. iNdEx++
  40192. wire |= (uint64(b) & 0x7F) << shift
  40193. if b < 0x80 {
  40194. break
  40195. }
  40196. }
  40197. fieldNum := int32(wire >> 3)
  40198. wireType := int(wire & 0x7)
  40199. if wireType == 4 {
  40200. return fmt.Errorf("proto: VolumeMount: wiretype end group for non-group")
  40201. }
  40202. if fieldNum <= 0 {
  40203. return fmt.Errorf("proto: VolumeMount: illegal tag %d (wire type %d)", fieldNum, wire)
  40204. }
  40205. switch fieldNum {
  40206. case 1:
  40207. if wireType != 2 {
  40208. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  40209. }
  40210. var stringLen uint64
  40211. for shift := uint(0); ; shift += 7 {
  40212. if shift >= 64 {
  40213. return ErrIntOverflowGenerated
  40214. }
  40215. if iNdEx >= l {
  40216. return io.ErrUnexpectedEOF
  40217. }
  40218. b := data[iNdEx]
  40219. iNdEx++
  40220. stringLen |= (uint64(b) & 0x7F) << shift
  40221. if b < 0x80 {
  40222. break
  40223. }
  40224. }
  40225. intStringLen := int(stringLen)
  40226. if intStringLen < 0 {
  40227. return ErrInvalidLengthGenerated
  40228. }
  40229. postIndex := iNdEx + intStringLen
  40230. if postIndex > l {
  40231. return io.ErrUnexpectedEOF
  40232. }
  40233. m.Name = string(data[iNdEx:postIndex])
  40234. iNdEx = postIndex
  40235. case 2:
  40236. if wireType != 0 {
  40237. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  40238. }
  40239. var v int
  40240. for shift := uint(0); ; shift += 7 {
  40241. if shift >= 64 {
  40242. return ErrIntOverflowGenerated
  40243. }
  40244. if iNdEx >= l {
  40245. return io.ErrUnexpectedEOF
  40246. }
  40247. b := data[iNdEx]
  40248. iNdEx++
  40249. v |= (int(b) & 0x7F) << shift
  40250. if b < 0x80 {
  40251. break
  40252. }
  40253. }
  40254. m.ReadOnly = bool(v != 0)
  40255. case 3:
  40256. if wireType != 2 {
  40257. return fmt.Errorf("proto: wrong wireType = %d for field MountPath", wireType)
  40258. }
  40259. var stringLen uint64
  40260. for shift := uint(0); ; shift += 7 {
  40261. if shift >= 64 {
  40262. return ErrIntOverflowGenerated
  40263. }
  40264. if iNdEx >= l {
  40265. return io.ErrUnexpectedEOF
  40266. }
  40267. b := data[iNdEx]
  40268. iNdEx++
  40269. stringLen |= (uint64(b) & 0x7F) << shift
  40270. if b < 0x80 {
  40271. break
  40272. }
  40273. }
  40274. intStringLen := int(stringLen)
  40275. if intStringLen < 0 {
  40276. return ErrInvalidLengthGenerated
  40277. }
  40278. postIndex := iNdEx + intStringLen
  40279. if postIndex > l {
  40280. return io.ErrUnexpectedEOF
  40281. }
  40282. m.MountPath = string(data[iNdEx:postIndex])
  40283. iNdEx = postIndex
  40284. case 4:
  40285. if wireType != 2 {
  40286. return fmt.Errorf("proto: wrong wireType = %d for field SubPath", wireType)
  40287. }
  40288. var stringLen uint64
  40289. for shift := uint(0); ; shift += 7 {
  40290. if shift >= 64 {
  40291. return ErrIntOverflowGenerated
  40292. }
  40293. if iNdEx >= l {
  40294. return io.ErrUnexpectedEOF
  40295. }
  40296. b := data[iNdEx]
  40297. iNdEx++
  40298. stringLen |= (uint64(b) & 0x7F) << shift
  40299. if b < 0x80 {
  40300. break
  40301. }
  40302. }
  40303. intStringLen := int(stringLen)
  40304. if intStringLen < 0 {
  40305. return ErrInvalidLengthGenerated
  40306. }
  40307. postIndex := iNdEx + intStringLen
  40308. if postIndex > l {
  40309. return io.ErrUnexpectedEOF
  40310. }
  40311. m.SubPath = string(data[iNdEx:postIndex])
  40312. iNdEx = postIndex
  40313. default:
  40314. iNdEx = preIndex
  40315. skippy, err := skipGenerated(data[iNdEx:])
  40316. if err != nil {
  40317. return err
  40318. }
  40319. if skippy < 0 {
  40320. return ErrInvalidLengthGenerated
  40321. }
  40322. if (iNdEx + skippy) > l {
  40323. return io.ErrUnexpectedEOF
  40324. }
  40325. iNdEx += skippy
  40326. }
  40327. }
  40328. if iNdEx > l {
  40329. return io.ErrUnexpectedEOF
  40330. }
  40331. return nil
  40332. }
  40333. func (m *VolumeProjection) Unmarshal(data []byte) error {
  40334. l := len(data)
  40335. iNdEx := 0
  40336. for iNdEx < l {
  40337. preIndex := iNdEx
  40338. var wire uint64
  40339. for shift := uint(0); ; shift += 7 {
  40340. if shift >= 64 {
  40341. return ErrIntOverflowGenerated
  40342. }
  40343. if iNdEx >= l {
  40344. return io.ErrUnexpectedEOF
  40345. }
  40346. b := data[iNdEx]
  40347. iNdEx++
  40348. wire |= (uint64(b) & 0x7F) << shift
  40349. if b < 0x80 {
  40350. break
  40351. }
  40352. }
  40353. fieldNum := int32(wire >> 3)
  40354. wireType := int(wire & 0x7)
  40355. if wireType == 4 {
  40356. return fmt.Errorf("proto: VolumeProjection: wiretype end group for non-group")
  40357. }
  40358. if fieldNum <= 0 {
  40359. return fmt.Errorf("proto: VolumeProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  40360. }
  40361. switch fieldNum {
  40362. case 1:
  40363. if wireType != 2 {
  40364. return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
  40365. }
  40366. var msglen int
  40367. for shift := uint(0); ; shift += 7 {
  40368. if shift >= 64 {
  40369. return ErrIntOverflowGenerated
  40370. }
  40371. if iNdEx >= l {
  40372. return io.ErrUnexpectedEOF
  40373. }
  40374. b := data[iNdEx]
  40375. iNdEx++
  40376. msglen |= (int(b) & 0x7F) << shift
  40377. if b < 0x80 {
  40378. break
  40379. }
  40380. }
  40381. if msglen < 0 {
  40382. return ErrInvalidLengthGenerated
  40383. }
  40384. postIndex := iNdEx + msglen
  40385. if postIndex > l {
  40386. return io.ErrUnexpectedEOF
  40387. }
  40388. if m.Secret == nil {
  40389. m.Secret = &SecretProjection{}
  40390. }
  40391. if err := m.Secret.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40392. return err
  40393. }
  40394. iNdEx = postIndex
  40395. case 2:
  40396. if wireType != 2 {
  40397. return fmt.Errorf("proto: wrong wireType = %d for field DownwardAPI", wireType)
  40398. }
  40399. var msglen int
  40400. for shift := uint(0); ; shift += 7 {
  40401. if shift >= 64 {
  40402. return ErrIntOverflowGenerated
  40403. }
  40404. if iNdEx >= l {
  40405. return io.ErrUnexpectedEOF
  40406. }
  40407. b := data[iNdEx]
  40408. iNdEx++
  40409. msglen |= (int(b) & 0x7F) << shift
  40410. if b < 0x80 {
  40411. break
  40412. }
  40413. }
  40414. if msglen < 0 {
  40415. return ErrInvalidLengthGenerated
  40416. }
  40417. postIndex := iNdEx + msglen
  40418. if postIndex > l {
  40419. return io.ErrUnexpectedEOF
  40420. }
  40421. if m.DownwardAPI == nil {
  40422. m.DownwardAPI = &DownwardAPIProjection{}
  40423. }
  40424. if err := m.DownwardAPI.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40425. return err
  40426. }
  40427. iNdEx = postIndex
  40428. case 3:
  40429. if wireType != 2 {
  40430. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  40431. }
  40432. var msglen int
  40433. for shift := uint(0); ; shift += 7 {
  40434. if shift >= 64 {
  40435. return ErrIntOverflowGenerated
  40436. }
  40437. if iNdEx >= l {
  40438. return io.ErrUnexpectedEOF
  40439. }
  40440. b := data[iNdEx]
  40441. iNdEx++
  40442. msglen |= (int(b) & 0x7F) << shift
  40443. if b < 0x80 {
  40444. break
  40445. }
  40446. }
  40447. if msglen < 0 {
  40448. return ErrInvalidLengthGenerated
  40449. }
  40450. postIndex := iNdEx + msglen
  40451. if postIndex > l {
  40452. return io.ErrUnexpectedEOF
  40453. }
  40454. if m.ConfigMap == nil {
  40455. m.ConfigMap = &ConfigMapProjection{}
  40456. }
  40457. if err := m.ConfigMap.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40458. return err
  40459. }
  40460. iNdEx = postIndex
  40461. default:
  40462. iNdEx = preIndex
  40463. skippy, err := skipGenerated(data[iNdEx:])
  40464. if err != nil {
  40465. return err
  40466. }
  40467. if skippy < 0 {
  40468. return ErrInvalidLengthGenerated
  40469. }
  40470. if (iNdEx + skippy) > l {
  40471. return io.ErrUnexpectedEOF
  40472. }
  40473. iNdEx += skippy
  40474. }
  40475. }
  40476. if iNdEx > l {
  40477. return io.ErrUnexpectedEOF
  40478. }
  40479. return nil
  40480. }
  40481. func (m *VolumeSource) Unmarshal(data []byte) error {
  40482. l := len(data)
  40483. iNdEx := 0
  40484. for iNdEx < l {
  40485. preIndex := iNdEx
  40486. var wire uint64
  40487. for shift := uint(0); ; shift += 7 {
  40488. if shift >= 64 {
  40489. return ErrIntOverflowGenerated
  40490. }
  40491. if iNdEx >= l {
  40492. return io.ErrUnexpectedEOF
  40493. }
  40494. b := data[iNdEx]
  40495. iNdEx++
  40496. wire |= (uint64(b) & 0x7F) << shift
  40497. if b < 0x80 {
  40498. break
  40499. }
  40500. }
  40501. fieldNum := int32(wire >> 3)
  40502. wireType := int(wire & 0x7)
  40503. if wireType == 4 {
  40504. return fmt.Errorf("proto: VolumeSource: wiretype end group for non-group")
  40505. }
  40506. if fieldNum <= 0 {
  40507. return fmt.Errorf("proto: VolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  40508. }
  40509. switch fieldNum {
  40510. case 1:
  40511. if wireType != 2 {
  40512. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  40513. }
  40514. var msglen int
  40515. for shift := uint(0); ; shift += 7 {
  40516. if shift >= 64 {
  40517. return ErrIntOverflowGenerated
  40518. }
  40519. if iNdEx >= l {
  40520. return io.ErrUnexpectedEOF
  40521. }
  40522. b := data[iNdEx]
  40523. iNdEx++
  40524. msglen |= (int(b) & 0x7F) << shift
  40525. if b < 0x80 {
  40526. break
  40527. }
  40528. }
  40529. if msglen < 0 {
  40530. return ErrInvalidLengthGenerated
  40531. }
  40532. postIndex := iNdEx + msglen
  40533. if postIndex > l {
  40534. return io.ErrUnexpectedEOF
  40535. }
  40536. if m.HostPath == nil {
  40537. m.HostPath = &HostPathVolumeSource{}
  40538. }
  40539. if err := m.HostPath.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40540. return err
  40541. }
  40542. iNdEx = postIndex
  40543. case 2:
  40544. if wireType != 2 {
  40545. return fmt.Errorf("proto: wrong wireType = %d for field EmptyDir", wireType)
  40546. }
  40547. var msglen int
  40548. for shift := uint(0); ; shift += 7 {
  40549. if shift >= 64 {
  40550. return ErrIntOverflowGenerated
  40551. }
  40552. if iNdEx >= l {
  40553. return io.ErrUnexpectedEOF
  40554. }
  40555. b := data[iNdEx]
  40556. iNdEx++
  40557. msglen |= (int(b) & 0x7F) << shift
  40558. if b < 0x80 {
  40559. break
  40560. }
  40561. }
  40562. if msglen < 0 {
  40563. return ErrInvalidLengthGenerated
  40564. }
  40565. postIndex := iNdEx + msglen
  40566. if postIndex > l {
  40567. return io.ErrUnexpectedEOF
  40568. }
  40569. if m.EmptyDir == nil {
  40570. m.EmptyDir = &EmptyDirVolumeSource{}
  40571. }
  40572. if err := m.EmptyDir.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40573. return err
  40574. }
  40575. iNdEx = postIndex
  40576. case 3:
  40577. if wireType != 2 {
  40578. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  40579. }
  40580. var msglen int
  40581. for shift := uint(0); ; shift += 7 {
  40582. if shift >= 64 {
  40583. return ErrIntOverflowGenerated
  40584. }
  40585. if iNdEx >= l {
  40586. return io.ErrUnexpectedEOF
  40587. }
  40588. b := data[iNdEx]
  40589. iNdEx++
  40590. msglen |= (int(b) & 0x7F) << shift
  40591. if b < 0x80 {
  40592. break
  40593. }
  40594. }
  40595. if msglen < 0 {
  40596. return ErrInvalidLengthGenerated
  40597. }
  40598. postIndex := iNdEx + msglen
  40599. if postIndex > l {
  40600. return io.ErrUnexpectedEOF
  40601. }
  40602. if m.GCEPersistentDisk == nil {
  40603. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  40604. }
  40605. if err := m.GCEPersistentDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40606. return err
  40607. }
  40608. iNdEx = postIndex
  40609. case 4:
  40610. if wireType != 2 {
  40611. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", wireType)
  40612. }
  40613. var msglen int
  40614. for shift := uint(0); ; shift += 7 {
  40615. if shift >= 64 {
  40616. return ErrIntOverflowGenerated
  40617. }
  40618. if iNdEx >= l {
  40619. return io.ErrUnexpectedEOF
  40620. }
  40621. b := data[iNdEx]
  40622. iNdEx++
  40623. msglen |= (int(b) & 0x7F) << shift
  40624. if b < 0x80 {
  40625. break
  40626. }
  40627. }
  40628. if msglen < 0 {
  40629. return ErrInvalidLengthGenerated
  40630. }
  40631. postIndex := iNdEx + msglen
  40632. if postIndex > l {
  40633. return io.ErrUnexpectedEOF
  40634. }
  40635. if m.AWSElasticBlockStore == nil {
  40636. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  40637. }
  40638. if err := m.AWSElasticBlockStore.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40639. return err
  40640. }
  40641. iNdEx = postIndex
  40642. case 5:
  40643. if wireType != 2 {
  40644. return fmt.Errorf("proto: wrong wireType = %d for field GitRepo", wireType)
  40645. }
  40646. var msglen int
  40647. for shift := uint(0); ; shift += 7 {
  40648. if shift >= 64 {
  40649. return ErrIntOverflowGenerated
  40650. }
  40651. if iNdEx >= l {
  40652. return io.ErrUnexpectedEOF
  40653. }
  40654. b := data[iNdEx]
  40655. iNdEx++
  40656. msglen |= (int(b) & 0x7F) << shift
  40657. if b < 0x80 {
  40658. break
  40659. }
  40660. }
  40661. if msglen < 0 {
  40662. return ErrInvalidLengthGenerated
  40663. }
  40664. postIndex := iNdEx + msglen
  40665. if postIndex > l {
  40666. return io.ErrUnexpectedEOF
  40667. }
  40668. if m.GitRepo == nil {
  40669. m.GitRepo = &GitRepoVolumeSource{}
  40670. }
  40671. if err := m.GitRepo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40672. return err
  40673. }
  40674. iNdEx = postIndex
  40675. case 6:
  40676. if wireType != 2 {
  40677. return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
  40678. }
  40679. var msglen int
  40680. for shift := uint(0); ; shift += 7 {
  40681. if shift >= 64 {
  40682. return ErrIntOverflowGenerated
  40683. }
  40684. if iNdEx >= l {
  40685. return io.ErrUnexpectedEOF
  40686. }
  40687. b := data[iNdEx]
  40688. iNdEx++
  40689. msglen |= (int(b) & 0x7F) << shift
  40690. if b < 0x80 {
  40691. break
  40692. }
  40693. }
  40694. if msglen < 0 {
  40695. return ErrInvalidLengthGenerated
  40696. }
  40697. postIndex := iNdEx + msglen
  40698. if postIndex > l {
  40699. return io.ErrUnexpectedEOF
  40700. }
  40701. if m.Secret == nil {
  40702. m.Secret = &SecretVolumeSource{}
  40703. }
  40704. if err := m.Secret.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40705. return err
  40706. }
  40707. iNdEx = postIndex
  40708. case 7:
  40709. if wireType != 2 {
  40710. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  40711. }
  40712. var msglen int
  40713. for shift := uint(0); ; shift += 7 {
  40714. if shift >= 64 {
  40715. return ErrIntOverflowGenerated
  40716. }
  40717. if iNdEx >= l {
  40718. return io.ErrUnexpectedEOF
  40719. }
  40720. b := data[iNdEx]
  40721. iNdEx++
  40722. msglen |= (int(b) & 0x7F) << shift
  40723. if b < 0x80 {
  40724. break
  40725. }
  40726. }
  40727. if msglen < 0 {
  40728. return ErrInvalidLengthGenerated
  40729. }
  40730. postIndex := iNdEx + msglen
  40731. if postIndex > l {
  40732. return io.ErrUnexpectedEOF
  40733. }
  40734. if m.NFS == nil {
  40735. m.NFS = &NFSVolumeSource{}
  40736. }
  40737. if err := m.NFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40738. return err
  40739. }
  40740. iNdEx = postIndex
  40741. case 8:
  40742. if wireType != 2 {
  40743. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  40744. }
  40745. var msglen int
  40746. for shift := uint(0); ; shift += 7 {
  40747. if shift >= 64 {
  40748. return ErrIntOverflowGenerated
  40749. }
  40750. if iNdEx >= l {
  40751. return io.ErrUnexpectedEOF
  40752. }
  40753. b := data[iNdEx]
  40754. iNdEx++
  40755. msglen |= (int(b) & 0x7F) << shift
  40756. if b < 0x80 {
  40757. break
  40758. }
  40759. }
  40760. if msglen < 0 {
  40761. return ErrInvalidLengthGenerated
  40762. }
  40763. postIndex := iNdEx + msglen
  40764. if postIndex > l {
  40765. return io.ErrUnexpectedEOF
  40766. }
  40767. if m.ISCSI == nil {
  40768. m.ISCSI = &ISCSIVolumeSource{}
  40769. }
  40770. if err := m.ISCSI.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40771. return err
  40772. }
  40773. iNdEx = postIndex
  40774. case 9:
  40775. if wireType != 2 {
  40776. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  40777. }
  40778. var msglen int
  40779. for shift := uint(0); ; shift += 7 {
  40780. if shift >= 64 {
  40781. return ErrIntOverflowGenerated
  40782. }
  40783. if iNdEx >= l {
  40784. return io.ErrUnexpectedEOF
  40785. }
  40786. b := data[iNdEx]
  40787. iNdEx++
  40788. msglen |= (int(b) & 0x7F) << shift
  40789. if b < 0x80 {
  40790. break
  40791. }
  40792. }
  40793. if msglen < 0 {
  40794. return ErrInvalidLengthGenerated
  40795. }
  40796. postIndex := iNdEx + msglen
  40797. if postIndex > l {
  40798. return io.ErrUnexpectedEOF
  40799. }
  40800. if m.Glusterfs == nil {
  40801. m.Glusterfs = &GlusterfsVolumeSource{}
  40802. }
  40803. if err := m.Glusterfs.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40804. return err
  40805. }
  40806. iNdEx = postIndex
  40807. case 10:
  40808. if wireType != 2 {
  40809. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeClaim", wireType)
  40810. }
  40811. var msglen int
  40812. for shift := uint(0); ; shift += 7 {
  40813. if shift >= 64 {
  40814. return ErrIntOverflowGenerated
  40815. }
  40816. if iNdEx >= l {
  40817. return io.ErrUnexpectedEOF
  40818. }
  40819. b := data[iNdEx]
  40820. iNdEx++
  40821. msglen |= (int(b) & 0x7F) << shift
  40822. if b < 0x80 {
  40823. break
  40824. }
  40825. }
  40826. if msglen < 0 {
  40827. return ErrInvalidLengthGenerated
  40828. }
  40829. postIndex := iNdEx + msglen
  40830. if postIndex > l {
  40831. return io.ErrUnexpectedEOF
  40832. }
  40833. if m.PersistentVolumeClaim == nil {
  40834. m.PersistentVolumeClaim = &PersistentVolumeClaimVolumeSource{}
  40835. }
  40836. if err := m.PersistentVolumeClaim.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40837. return err
  40838. }
  40839. iNdEx = postIndex
  40840. case 11:
  40841. if wireType != 2 {
  40842. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  40843. }
  40844. var msglen int
  40845. for shift := uint(0); ; shift += 7 {
  40846. if shift >= 64 {
  40847. return ErrIntOverflowGenerated
  40848. }
  40849. if iNdEx >= l {
  40850. return io.ErrUnexpectedEOF
  40851. }
  40852. b := data[iNdEx]
  40853. iNdEx++
  40854. msglen |= (int(b) & 0x7F) << shift
  40855. if b < 0x80 {
  40856. break
  40857. }
  40858. }
  40859. if msglen < 0 {
  40860. return ErrInvalidLengthGenerated
  40861. }
  40862. postIndex := iNdEx + msglen
  40863. if postIndex > l {
  40864. return io.ErrUnexpectedEOF
  40865. }
  40866. if m.RBD == nil {
  40867. m.RBD = &RBDVolumeSource{}
  40868. }
  40869. if err := m.RBD.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40870. return err
  40871. }
  40872. iNdEx = postIndex
  40873. case 12:
  40874. if wireType != 2 {
  40875. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  40876. }
  40877. var msglen int
  40878. for shift := uint(0); ; shift += 7 {
  40879. if shift >= 64 {
  40880. return ErrIntOverflowGenerated
  40881. }
  40882. if iNdEx >= l {
  40883. return io.ErrUnexpectedEOF
  40884. }
  40885. b := data[iNdEx]
  40886. iNdEx++
  40887. msglen |= (int(b) & 0x7F) << shift
  40888. if b < 0x80 {
  40889. break
  40890. }
  40891. }
  40892. if msglen < 0 {
  40893. return ErrInvalidLengthGenerated
  40894. }
  40895. postIndex := iNdEx + msglen
  40896. if postIndex > l {
  40897. return io.ErrUnexpectedEOF
  40898. }
  40899. if m.FlexVolume == nil {
  40900. m.FlexVolume = &FlexVolumeSource{}
  40901. }
  40902. if err := m.FlexVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40903. return err
  40904. }
  40905. iNdEx = postIndex
  40906. case 13:
  40907. if wireType != 2 {
  40908. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  40909. }
  40910. var msglen int
  40911. for shift := uint(0); ; shift += 7 {
  40912. if shift >= 64 {
  40913. return ErrIntOverflowGenerated
  40914. }
  40915. if iNdEx >= l {
  40916. return io.ErrUnexpectedEOF
  40917. }
  40918. b := data[iNdEx]
  40919. iNdEx++
  40920. msglen |= (int(b) & 0x7F) << shift
  40921. if b < 0x80 {
  40922. break
  40923. }
  40924. }
  40925. if msglen < 0 {
  40926. return ErrInvalidLengthGenerated
  40927. }
  40928. postIndex := iNdEx + msglen
  40929. if postIndex > l {
  40930. return io.ErrUnexpectedEOF
  40931. }
  40932. if m.Cinder == nil {
  40933. m.Cinder = &CinderVolumeSource{}
  40934. }
  40935. if err := m.Cinder.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40936. return err
  40937. }
  40938. iNdEx = postIndex
  40939. case 14:
  40940. if wireType != 2 {
  40941. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  40942. }
  40943. var msglen int
  40944. for shift := uint(0); ; shift += 7 {
  40945. if shift >= 64 {
  40946. return ErrIntOverflowGenerated
  40947. }
  40948. if iNdEx >= l {
  40949. return io.ErrUnexpectedEOF
  40950. }
  40951. b := data[iNdEx]
  40952. iNdEx++
  40953. msglen |= (int(b) & 0x7F) << shift
  40954. if b < 0x80 {
  40955. break
  40956. }
  40957. }
  40958. if msglen < 0 {
  40959. return ErrInvalidLengthGenerated
  40960. }
  40961. postIndex := iNdEx + msglen
  40962. if postIndex > l {
  40963. return io.ErrUnexpectedEOF
  40964. }
  40965. if m.CephFS == nil {
  40966. m.CephFS = &CephFSVolumeSource{}
  40967. }
  40968. if err := m.CephFS.Unmarshal(data[iNdEx:postIndex]); err != nil {
  40969. return err
  40970. }
  40971. iNdEx = postIndex
  40972. case 15:
  40973. if wireType != 2 {
  40974. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  40975. }
  40976. var msglen int
  40977. for shift := uint(0); ; shift += 7 {
  40978. if shift >= 64 {
  40979. return ErrIntOverflowGenerated
  40980. }
  40981. if iNdEx >= l {
  40982. return io.ErrUnexpectedEOF
  40983. }
  40984. b := data[iNdEx]
  40985. iNdEx++
  40986. msglen |= (int(b) & 0x7F) << shift
  40987. if b < 0x80 {
  40988. break
  40989. }
  40990. }
  40991. if msglen < 0 {
  40992. return ErrInvalidLengthGenerated
  40993. }
  40994. postIndex := iNdEx + msglen
  40995. if postIndex > l {
  40996. return io.ErrUnexpectedEOF
  40997. }
  40998. if m.Flocker == nil {
  40999. m.Flocker = &FlockerVolumeSource{}
  41000. }
  41001. if err := m.Flocker.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41002. return err
  41003. }
  41004. iNdEx = postIndex
  41005. case 16:
  41006. if wireType != 2 {
  41007. return fmt.Errorf("proto: wrong wireType = %d for field DownwardAPI", wireType)
  41008. }
  41009. var msglen int
  41010. for shift := uint(0); ; shift += 7 {
  41011. if shift >= 64 {
  41012. return ErrIntOverflowGenerated
  41013. }
  41014. if iNdEx >= l {
  41015. return io.ErrUnexpectedEOF
  41016. }
  41017. b := data[iNdEx]
  41018. iNdEx++
  41019. msglen |= (int(b) & 0x7F) << shift
  41020. if b < 0x80 {
  41021. break
  41022. }
  41023. }
  41024. if msglen < 0 {
  41025. return ErrInvalidLengthGenerated
  41026. }
  41027. postIndex := iNdEx + msglen
  41028. if postIndex > l {
  41029. return io.ErrUnexpectedEOF
  41030. }
  41031. if m.DownwardAPI == nil {
  41032. m.DownwardAPI = &DownwardAPIVolumeSource{}
  41033. }
  41034. if err := m.DownwardAPI.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41035. return err
  41036. }
  41037. iNdEx = postIndex
  41038. case 17:
  41039. if wireType != 2 {
  41040. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  41041. }
  41042. var msglen int
  41043. for shift := uint(0); ; shift += 7 {
  41044. if shift >= 64 {
  41045. return ErrIntOverflowGenerated
  41046. }
  41047. if iNdEx >= l {
  41048. return io.ErrUnexpectedEOF
  41049. }
  41050. b := data[iNdEx]
  41051. iNdEx++
  41052. msglen |= (int(b) & 0x7F) << shift
  41053. if b < 0x80 {
  41054. break
  41055. }
  41056. }
  41057. if msglen < 0 {
  41058. return ErrInvalidLengthGenerated
  41059. }
  41060. postIndex := iNdEx + msglen
  41061. if postIndex > l {
  41062. return io.ErrUnexpectedEOF
  41063. }
  41064. if m.FC == nil {
  41065. m.FC = &FCVolumeSource{}
  41066. }
  41067. if err := m.FC.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41068. return err
  41069. }
  41070. iNdEx = postIndex
  41071. case 18:
  41072. if wireType != 2 {
  41073. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  41074. }
  41075. var msglen int
  41076. for shift := uint(0); ; shift += 7 {
  41077. if shift >= 64 {
  41078. return ErrIntOverflowGenerated
  41079. }
  41080. if iNdEx >= l {
  41081. return io.ErrUnexpectedEOF
  41082. }
  41083. b := data[iNdEx]
  41084. iNdEx++
  41085. msglen |= (int(b) & 0x7F) << shift
  41086. if b < 0x80 {
  41087. break
  41088. }
  41089. }
  41090. if msglen < 0 {
  41091. return ErrInvalidLengthGenerated
  41092. }
  41093. postIndex := iNdEx + msglen
  41094. if postIndex > l {
  41095. return io.ErrUnexpectedEOF
  41096. }
  41097. if m.AzureFile == nil {
  41098. m.AzureFile = &AzureFileVolumeSource{}
  41099. }
  41100. if err := m.AzureFile.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41101. return err
  41102. }
  41103. iNdEx = postIndex
  41104. case 19:
  41105. if wireType != 2 {
  41106. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  41107. }
  41108. var msglen int
  41109. for shift := uint(0); ; shift += 7 {
  41110. if shift >= 64 {
  41111. return ErrIntOverflowGenerated
  41112. }
  41113. if iNdEx >= l {
  41114. return io.ErrUnexpectedEOF
  41115. }
  41116. b := data[iNdEx]
  41117. iNdEx++
  41118. msglen |= (int(b) & 0x7F) << shift
  41119. if b < 0x80 {
  41120. break
  41121. }
  41122. }
  41123. if msglen < 0 {
  41124. return ErrInvalidLengthGenerated
  41125. }
  41126. postIndex := iNdEx + msglen
  41127. if postIndex > l {
  41128. return io.ErrUnexpectedEOF
  41129. }
  41130. if m.ConfigMap == nil {
  41131. m.ConfigMap = &ConfigMapVolumeSource{}
  41132. }
  41133. if err := m.ConfigMap.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41134. return err
  41135. }
  41136. iNdEx = postIndex
  41137. case 20:
  41138. if wireType != 2 {
  41139. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  41140. }
  41141. var msglen int
  41142. for shift := uint(0); ; shift += 7 {
  41143. if shift >= 64 {
  41144. return ErrIntOverflowGenerated
  41145. }
  41146. if iNdEx >= l {
  41147. return io.ErrUnexpectedEOF
  41148. }
  41149. b := data[iNdEx]
  41150. iNdEx++
  41151. msglen |= (int(b) & 0x7F) << shift
  41152. if b < 0x80 {
  41153. break
  41154. }
  41155. }
  41156. if msglen < 0 {
  41157. return ErrInvalidLengthGenerated
  41158. }
  41159. postIndex := iNdEx + msglen
  41160. if postIndex > l {
  41161. return io.ErrUnexpectedEOF
  41162. }
  41163. if m.VsphereVolume == nil {
  41164. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  41165. }
  41166. if err := m.VsphereVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41167. return err
  41168. }
  41169. iNdEx = postIndex
  41170. case 21:
  41171. if wireType != 2 {
  41172. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  41173. }
  41174. var msglen int
  41175. for shift := uint(0); ; shift += 7 {
  41176. if shift >= 64 {
  41177. return ErrIntOverflowGenerated
  41178. }
  41179. if iNdEx >= l {
  41180. return io.ErrUnexpectedEOF
  41181. }
  41182. b := data[iNdEx]
  41183. iNdEx++
  41184. msglen |= (int(b) & 0x7F) << shift
  41185. if b < 0x80 {
  41186. break
  41187. }
  41188. }
  41189. if msglen < 0 {
  41190. return ErrInvalidLengthGenerated
  41191. }
  41192. postIndex := iNdEx + msglen
  41193. if postIndex > l {
  41194. return io.ErrUnexpectedEOF
  41195. }
  41196. if m.Quobyte == nil {
  41197. m.Quobyte = &QuobyteVolumeSource{}
  41198. }
  41199. if err := m.Quobyte.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41200. return err
  41201. }
  41202. iNdEx = postIndex
  41203. case 22:
  41204. if wireType != 2 {
  41205. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  41206. }
  41207. var msglen int
  41208. for shift := uint(0); ; shift += 7 {
  41209. if shift >= 64 {
  41210. return ErrIntOverflowGenerated
  41211. }
  41212. if iNdEx >= l {
  41213. return io.ErrUnexpectedEOF
  41214. }
  41215. b := data[iNdEx]
  41216. iNdEx++
  41217. msglen |= (int(b) & 0x7F) << shift
  41218. if b < 0x80 {
  41219. break
  41220. }
  41221. }
  41222. if msglen < 0 {
  41223. return ErrInvalidLengthGenerated
  41224. }
  41225. postIndex := iNdEx + msglen
  41226. if postIndex > l {
  41227. return io.ErrUnexpectedEOF
  41228. }
  41229. if m.AzureDisk == nil {
  41230. m.AzureDisk = &AzureDiskVolumeSource{}
  41231. }
  41232. if err := m.AzureDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41233. return err
  41234. }
  41235. iNdEx = postIndex
  41236. case 23:
  41237. if wireType != 2 {
  41238. return fmt.Errorf("proto: wrong wireType = %d for field PhotonPersistentDisk", wireType)
  41239. }
  41240. var msglen int
  41241. for shift := uint(0); ; shift += 7 {
  41242. if shift >= 64 {
  41243. return ErrIntOverflowGenerated
  41244. }
  41245. if iNdEx >= l {
  41246. return io.ErrUnexpectedEOF
  41247. }
  41248. b := data[iNdEx]
  41249. iNdEx++
  41250. msglen |= (int(b) & 0x7F) << shift
  41251. if b < 0x80 {
  41252. break
  41253. }
  41254. }
  41255. if msglen < 0 {
  41256. return ErrInvalidLengthGenerated
  41257. }
  41258. postIndex := iNdEx + msglen
  41259. if postIndex > l {
  41260. return io.ErrUnexpectedEOF
  41261. }
  41262. if m.PhotonPersistentDisk == nil {
  41263. m.PhotonPersistentDisk = &PhotonPersistentDiskVolumeSource{}
  41264. }
  41265. if err := m.PhotonPersistentDisk.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41266. return err
  41267. }
  41268. iNdEx = postIndex
  41269. case 24:
  41270. if wireType != 2 {
  41271. return fmt.Errorf("proto: wrong wireType = %d for field PortworxVolume", wireType)
  41272. }
  41273. var msglen int
  41274. for shift := uint(0); ; shift += 7 {
  41275. if shift >= 64 {
  41276. return ErrIntOverflowGenerated
  41277. }
  41278. if iNdEx >= l {
  41279. return io.ErrUnexpectedEOF
  41280. }
  41281. b := data[iNdEx]
  41282. iNdEx++
  41283. msglen |= (int(b) & 0x7F) << shift
  41284. if b < 0x80 {
  41285. break
  41286. }
  41287. }
  41288. if msglen < 0 {
  41289. return ErrInvalidLengthGenerated
  41290. }
  41291. postIndex := iNdEx + msglen
  41292. if postIndex > l {
  41293. return io.ErrUnexpectedEOF
  41294. }
  41295. if m.PortworxVolume == nil {
  41296. m.PortworxVolume = &PortworxVolumeSource{}
  41297. }
  41298. if err := m.PortworxVolume.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41299. return err
  41300. }
  41301. iNdEx = postIndex
  41302. case 25:
  41303. if wireType != 2 {
  41304. return fmt.Errorf("proto: wrong wireType = %d for field ScaleIO", wireType)
  41305. }
  41306. var msglen int
  41307. for shift := uint(0); ; shift += 7 {
  41308. if shift >= 64 {
  41309. return ErrIntOverflowGenerated
  41310. }
  41311. if iNdEx >= l {
  41312. return io.ErrUnexpectedEOF
  41313. }
  41314. b := data[iNdEx]
  41315. iNdEx++
  41316. msglen |= (int(b) & 0x7F) << shift
  41317. if b < 0x80 {
  41318. break
  41319. }
  41320. }
  41321. if msglen < 0 {
  41322. return ErrInvalidLengthGenerated
  41323. }
  41324. postIndex := iNdEx + msglen
  41325. if postIndex > l {
  41326. return io.ErrUnexpectedEOF
  41327. }
  41328. if m.ScaleIO == nil {
  41329. m.ScaleIO = &ScaleIOVolumeSource{}
  41330. }
  41331. if err := m.ScaleIO.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41332. return err
  41333. }
  41334. iNdEx = postIndex
  41335. case 26:
  41336. if wireType != 2 {
  41337. return fmt.Errorf("proto: wrong wireType = %d for field Projected", wireType)
  41338. }
  41339. var msglen int
  41340. for shift := uint(0); ; shift += 7 {
  41341. if shift >= 64 {
  41342. return ErrIntOverflowGenerated
  41343. }
  41344. if iNdEx >= l {
  41345. return io.ErrUnexpectedEOF
  41346. }
  41347. b := data[iNdEx]
  41348. iNdEx++
  41349. msglen |= (int(b) & 0x7F) << shift
  41350. if b < 0x80 {
  41351. break
  41352. }
  41353. }
  41354. if msglen < 0 {
  41355. return ErrInvalidLengthGenerated
  41356. }
  41357. postIndex := iNdEx + msglen
  41358. if postIndex > l {
  41359. return io.ErrUnexpectedEOF
  41360. }
  41361. if m.Projected == nil {
  41362. m.Projected = &ProjectedVolumeSource{}
  41363. }
  41364. if err := m.Projected.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41365. return err
  41366. }
  41367. iNdEx = postIndex
  41368. default:
  41369. iNdEx = preIndex
  41370. skippy, err := skipGenerated(data[iNdEx:])
  41371. if err != nil {
  41372. return err
  41373. }
  41374. if skippy < 0 {
  41375. return ErrInvalidLengthGenerated
  41376. }
  41377. if (iNdEx + skippy) > l {
  41378. return io.ErrUnexpectedEOF
  41379. }
  41380. iNdEx += skippy
  41381. }
  41382. }
  41383. if iNdEx > l {
  41384. return io.ErrUnexpectedEOF
  41385. }
  41386. return nil
  41387. }
  41388. func (m *VsphereVirtualDiskVolumeSource) Unmarshal(data []byte) error {
  41389. l := len(data)
  41390. iNdEx := 0
  41391. for iNdEx < l {
  41392. preIndex := iNdEx
  41393. var wire uint64
  41394. for shift := uint(0); ; shift += 7 {
  41395. if shift >= 64 {
  41396. return ErrIntOverflowGenerated
  41397. }
  41398. if iNdEx >= l {
  41399. return io.ErrUnexpectedEOF
  41400. }
  41401. b := data[iNdEx]
  41402. iNdEx++
  41403. wire |= (uint64(b) & 0x7F) << shift
  41404. if b < 0x80 {
  41405. break
  41406. }
  41407. }
  41408. fieldNum := int32(wire >> 3)
  41409. wireType := int(wire & 0x7)
  41410. if wireType == 4 {
  41411. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: wiretype end group for non-group")
  41412. }
  41413. if fieldNum <= 0 {
  41414. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  41415. }
  41416. switch fieldNum {
  41417. case 1:
  41418. if wireType != 2 {
  41419. return fmt.Errorf("proto: wrong wireType = %d for field VolumePath", wireType)
  41420. }
  41421. var stringLen uint64
  41422. for shift := uint(0); ; shift += 7 {
  41423. if shift >= 64 {
  41424. return ErrIntOverflowGenerated
  41425. }
  41426. if iNdEx >= l {
  41427. return io.ErrUnexpectedEOF
  41428. }
  41429. b := data[iNdEx]
  41430. iNdEx++
  41431. stringLen |= (uint64(b) & 0x7F) << shift
  41432. if b < 0x80 {
  41433. break
  41434. }
  41435. }
  41436. intStringLen := int(stringLen)
  41437. if intStringLen < 0 {
  41438. return ErrInvalidLengthGenerated
  41439. }
  41440. postIndex := iNdEx + intStringLen
  41441. if postIndex > l {
  41442. return io.ErrUnexpectedEOF
  41443. }
  41444. m.VolumePath = string(data[iNdEx:postIndex])
  41445. iNdEx = postIndex
  41446. case 2:
  41447. if wireType != 2 {
  41448. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  41449. }
  41450. var stringLen uint64
  41451. for shift := uint(0); ; shift += 7 {
  41452. if shift >= 64 {
  41453. return ErrIntOverflowGenerated
  41454. }
  41455. if iNdEx >= l {
  41456. return io.ErrUnexpectedEOF
  41457. }
  41458. b := data[iNdEx]
  41459. iNdEx++
  41460. stringLen |= (uint64(b) & 0x7F) << shift
  41461. if b < 0x80 {
  41462. break
  41463. }
  41464. }
  41465. intStringLen := int(stringLen)
  41466. if intStringLen < 0 {
  41467. return ErrInvalidLengthGenerated
  41468. }
  41469. postIndex := iNdEx + intStringLen
  41470. if postIndex > l {
  41471. return io.ErrUnexpectedEOF
  41472. }
  41473. m.FSType = string(data[iNdEx:postIndex])
  41474. iNdEx = postIndex
  41475. default:
  41476. iNdEx = preIndex
  41477. skippy, err := skipGenerated(data[iNdEx:])
  41478. if err != nil {
  41479. return err
  41480. }
  41481. if skippy < 0 {
  41482. return ErrInvalidLengthGenerated
  41483. }
  41484. if (iNdEx + skippy) > l {
  41485. return io.ErrUnexpectedEOF
  41486. }
  41487. iNdEx += skippy
  41488. }
  41489. }
  41490. if iNdEx > l {
  41491. return io.ErrUnexpectedEOF
  41492. }
  41493. return nil
  41494. }
  41495. func (m *WeightedPodAffinityTerm) Unmarshal(data []byte) error {
  41496. l := len(data)
  41497. iNdEx := 0
  41498. for iNdEx < l {
  41499. preIndex := iNdEx
  41500. var wire uint64
  41501. for shift := uint(0); ; shift += 7 {
  41502. if shift >= 64 {
  41503. return ErrIntOverflowGenerated
  41504. }
  41505. if iNdEx >= l {
  41506. return io.ErrUnexpectedEOF
  41507. }
  41508. b := data[iNdEx]
  41509. iNdEx++
  41510. wire |= (uint64(b) & 0x7F) << shift
  41511. if b < 0x80 {
  41512. break
  41513. }
  41514. }
  41515. fieldNum := int32(wire >> 3)
  41516. wireType := int(wire & 0x7)
  41517. if wireType == 4 {
  41518. return fmt.Errorf("proto: WeightedPodAffinityTerm: wiretype end group for non-group")
  41519. }
  41520. if fieldNum <= 0 {
  41521. return fmt.Errorf("proto: WeightedPodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  41522. }
  41523. switch fieldNum {
  41524. case 1:
  41525. if wireType != 0 {
  41526. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  41527. }
  41528. m.Weight = 0
  41529. for shift := uint(0); ; shift += 7 {
  41530. if shift >= 64 {
  41531. return ErrIntOverflowGenerated
  41532. }
  41533. if iNdEx >= l {
  41534. return io.ErrUnexpectedEOF
  41535. }
  41536. b := data[iNdEx]
  41537. iNdEx++
  41538. m.Weight |= (int32(b) & 0x7F) << shift
  41539. if b < 0x80 {
  41540. break
  41541. }
  41542. }
  41543. case 2:
  41544. if wireType != 2 {
  41545. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinityTerm", wireType)
  41546. }
  41547. var msglen int
  41548. for shift := uint(0); ; shift += 7 {
  41549. if shift >= 64 {
  41550. return ErrIntOverflowGenerated
  41551. }
  41552. if iNdEx >= l {
  41553. return io.ErrUnexpectedEOF
  41554. }
  41555. b := data[iNdEx]
  41556. iNdEx++
  41557. msglen |= (int(b) & 0x7F) << shift
  41558. if b < 0x80 {
  41559. break
  41560. }
  41561. }
  41562. if msglen < 0 {
  41563. return ErrInvalidLengthGenerated
  41564. }
  41565. postIndex := iNdEx + msglen
  41566. if postIndex > l {
  41567. return io.ErrUnexpectedEOF
  41568. }
  41569. if err := m.PodAffinityTerm.Unmarshal(data[iNdEx:postIndex]); err != nil {
  41570. return err
  41571. }
  41572. iNdEx = postIndex
  41573. default:
  41574. iNdEx = preIndex
  41575. skippy, err := skipGenerated(data[iNdEx:])
  41576. if err != nil {
  41577. return err
  41578. }
  41579. if skippy < 0 {
  41580. return ErrInvalidLengthGenerated
  41581. }
  41582. if (iNdEx + skippy) > l {
  41583. return io.ErrUnexpectedEOF
  41584. }
  41585. iNdEx += skippy
  41586. }
  41587. }
  41588. if iNdEx > l {
  41589. return io.ErrUnexpectedEOF
  41590. }
  41591. return nil
  41592. }
  41593. func skipGenerated(data []byte) (n int, err error) {
  41594. l := len(data)
  41595. iNdEx := 0
  41596. for iNdEx < l {
  41597. var wire uint64
  41598. for shift := uint(0); ; shift += 7 {
  41599. if shift >= 64 {
  41600. return 0, ErrIntOverflowGenerated
  41601. }
  41602. if iNdEx >= l {
  41603. return 0, io.ErrUnexpectedEOF
  41604. }
  41605. b := data[iNdEx]
  41606. iNdEx++
  41607. wire |= (uint64(b) & 0x7F) << shift
  41608. if b < 0x80 {
  41609. break
  41610. }
  41611. }
  41612. wireType := int(wire & 0x7)
  41613. switch wireType {
  41614. case 0:
  41615. for shift := uint(0); ; shift += 7 {
  41616. if shift >= 64 {
  41617. return 0, ErrIntOverflowGenerated
  41618. }
  41619. if iNdEx >= l {
  41620. return 0, io.ErrUnexpectedEOF
  41621. }
  41622. iNdEx++
  41623. if data[iNdEx-1] < 0x80 {
  41624. break
  41625. }
  41626. }
  41627. return iNdEx, nil
  41628. case 1:
  41629. iNdEx += 8
  41630. return iNdEx, nil
  41631. case 2:
  41632. var length int
  41633. for shift := uint(0); ; shift += 7 {
  41634. if shift >= 64 {
  41635. return 0, ErrIntOverflowGenerated
  41636. }
  41637. if iNdEx >= l {
  41638. return 0, io.ErrUnexpectedEOF
  41639. }
  41640. b := data[iNdEx]
  41641. iNdEx++
  41642. length |= (int(b) & 0x7F) << shift
  41643. if b < 0x80 {
  41644. break
  41645. }
  41646. }
  41647. iNdEx += length
  41648. if length < 0 {
  41649. return 0, ErrInvalidLengthGenerated
  41650. }
  41651. return iNdEx, nil
  41652. case 3:
  41653. for {
  41654. var innerWire uint64
  41655. var start int = iNdEx
  41656. for shift := uint(0); ; shift += 7 {
  41657. if shift >= 64 {
  41658. return 0, ErrIntOverflowGenerated
  41659. }
  41660. if iNdEx >= l {
  41661. return 0, io.ErrUnexpectedEOF
  41662. }
  41663. b := data[iNdEx]
  41664. iNdEx++
  41665. innerWire |= (uint64(b) & 0x7F) << shift
  41666. if b < 0x80 {
  41667. break
  41668. }
  41669. }
  41670. innerWireType := int(innerWire & 0x7)
  41671. if innerWireType == 4 {
  41672. break
  41673. }
  41674. next, err := skipGenerated(data[start:])
  41675. if err != nil {
  41676. return 0, err
  41677. }
  41678. iNdEx = start + next
  41679. }
  41680. return iNdEx, nil
  41681. case 4:
  41682. return iNdEx, nil
  41683. case 5:
  41684. iNdEx += 4
  41685. return iNdEx, nil
  41686. default:
  41687. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  41688. }
  41689. }
  41690. panic("unreachable")
  41691. }
  41692. var (
  41693. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  41694. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  41695. )
  41696. var fileDescriptorGenerated = []byte{
  41697. // 11000 bytes of a gzipped FileDescriptorProto
  41698. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0xbd, 0x7d, 0x70, 0x24, 0xc7,
  41699. 0x75, 0x18, 0xae, 0xd9, 0xc5, 0xd7, 0x3e, 0x7c, 0x37, 0x70, 0x47, 0x10, 0x22, 0x0f, 0xc7, 0xa1,
  41700. 0x48, 0x1d, 0xc9, 0x23, 0x20, 0x1e, 0x49, 0xf1, 0x24, 0xea, 0x47, 0x09, 0xc0, 0x02, 0x77, 0xd0,
  41701. 0x7d, 0x2d, 0x7b, 0x71, 0x77, 0x14, 0xc5, 0x9f, 0xc8, 0xb9, 0x9d, 0x06, 0x30, 0xbc, 0xc1, 0xcc,
  41702. 0x72, 0x66, 0x16, 0x77, 0x90, 0xa2, 0x2a, 0x5b, 0x51, 0xc9, 0x49, 0x59, 0x49, 0xe4, 0x72, 0x54,
  41703. 0x95, 0x72, 0x52, 0xa5, 0x94, 0xab, 0xe2, 0x28, 0x9f, 0x8e, 0xa2, 0xb2, 0x24, 0x97, 0xe5, 0xa4,
  41704. 0xe2, 0x58, 0x8e, 0x5c, 0x95, 0x38, 0xaa, 0x72, 0x25, 0x76, 0xca, 0x15, 0xd8, 0x82, 0x2a, 0xfe,
  41705. 0x23, 0x7f, 0xe4, 0x8f, 0xf8, 0x3f, 0x24, 0x95, 0x4a, 0xf5, 0xe7, 0x74, 0xcf, 0xee, 0x62, 0x66,
  41706. 0xc1, 0x03, 0x7c, 0x52, 0xe5, 0xbf, 0xdd, 0x7e, 0xaf, 0x5f, 0x7f, 0x4c, 0xf7, 0xeb, 0xf7, 0x5e,
  41707. 0xbf, 0xf7, 0x1a, 0xce, 0xdf, 0xbd, 0x18, 0xcf, 0x7b, 0xe1, 0xc2, 0xdd, 0xd6, 0x1d, 0x12, 0x05,
  41708. 0x24, 0x21, 0xf1, 0x42, 0xf3, 0xee, 0xe6, 0x82, 0xd3, 0xf4, 0x16, 0x76, 0x5e, 0x58, 0xd8, 0x24,
  41709. 0x01, 0x89, 0x9c, 0x84, 0xb8, 0xf3, 0xcd, 0x28, 0x4c, 0x42, 0xf4, 0x18, 0xc7, 0x9e, 0x4f, 0xb1,
  41710. 0xe7, 0x9b, 0x77, 0x37, 0xe7, 0x9d, 0xa6, 0x37, 0xbf, 0xf3, 0xc2, 0xec, 0xf3, 0x9b, 0x5e, 0xb2,
  41711. 0xd5, 0xba, 0x33, 0xdf, 0x08, 0xb7, 0x17, 0x36, 0xc3, 0xcd, 0x70, 0x81, 0x55, 0xba, 0xd3, 0xda,
  41712. 0x60, 0xff, 0xd8, 0x1f, 0xf6, 0x8b, 0x13, 0x9b, 0x7d, 0x49, 0x34, 0xed, 0x34, 0xbd, 0x6d, 0xa7,
  41713. 0xb1, 0xe5, 0x05, 0x24, 0xda, 0x55, 0x8d, 0x47, 0x24, 0x0e, 0x5b, 0x51, 0x83, 0x64, 0xbb, 0x70,
  41714. 0x68, 0xad, 0x78, 0x61, 0x9b, 0x24, 0x4e, 0x87, 0x8e, 0xcf, 0x2e, 0x74, 0xab, 0x15, 0xb5, 0x82,
  41715. 0xc4, 0xdb, 0x6e, 0x6f, 0xe6, 0xa3, 0x79, 0x15, 0xe2, 0xc6, 0x16, 0xd9, 0x76, 0xda, 0xea, 0xbd,
  41716. 0xd8, 0xad, 0x5e, 0x2b, 0xf1, 0xfc, 0x05, 0x2f, 0x48, 0xe2, 0x24, 0x3a, 0x6c, 0x4c, 0x31, 0x89,
  41717. 0x76, 0x48, 0x94, 0x0e, 0x88, 0xdc, 0x77, 0xb6, 0x9b, 0x3e, 0xe9, 0x30, 0x26, 0xfb, 0x8f, 0x2c,
  41718. 0x38, 0xbb, 0x78, 0xbb, 0xbe, 0xe2, 0x3b, 0x71, 0xe2, 0x35, 0x96, 0xfc, 0xb0, 0x71, 0xb7, 0x9e,
  41719. 0x84, 0x11, 0xb9, 0x15, 0xfa, 0xad, 0x6d, 0x52, 0x67, 0xd3, 0x87, 0xce, 0xc3, 0xd0, 0x0e, 0xfb,
  41720. 0xbf, 0x56, 0x9d, 0xb1, 0xce, 0x5a, 0xe7, 0x2a, 0x4b, 0x13, 0x3f, 0xdc, 0x9b, 0xfb, 0xc0, 0xfe,
  41721. 0xde, 0xdc, 0xd0, 0x2d, 0x51, 0x8e, 0x15, 0x06, 0x7a, 0x1a, 0x06, 0x36, 0xe2, 0xf5, 0xdd, 0x26,
  41722. 0x99, 0x29, 0x31, 0xdc, 0x31, 0x81, 0x3b, 0xb0, 0x5a, 0xa7, 0xa5, 0x58, 0x40, 0xd1, 0x02, 0x54,
  41723. 0x9a, 0x4e, 0x94, 0x78, 0x89, 0x17, 0x06, 0x33, 0xe5, 0xb3, 0xd6, 0xb9, 0xfe, 0xa5, 0x49, 0x81,
  41724. 0x5a, 0xa9, 0x49, 0x00, 0x4e, 0x71, 0x68, 0x37, 0x22, 0xe2, 0xb8, 0x37, 0x02, 0x7f, 0x77, 0xa6,
  41725. 0xef, 0xac, 0x75, 0x6e, 0x28, 0xed, 0x06, 0x16, 0xe5, 0x58, 0x61, 0xd8, 0xdf, 0x2b, 0xc1, 0xd0,
  41726. 0xe2, 0xc6, 0x86, 0x17, 0x78, 0xc9, 0x2e, 0x7a, 0x07, 0x46, 0x82, 0xd0, 0x25, 0xf2, 0x3f, 0x1b,
  41727. 0xc5, 0xf0, 0x85, 0x67, 0xe7, 0x0f, 0x5b, 0x8a, 0xf3, 0xd7, 0xb5, 0x1a, 0x4b, 0x13, 0xfb, 0x7b,
  41728. 0x73, 0x23, 0x7a, 0x09, 0x36, 0x28, 0xa2, 0xb7, 0x60, 0xb8, 0x19, 0xba, 0xaa, 0x81, 0x12, 0x6b,
  41729. 0xe0, 0x99, 0xc3, 0x1b, 0xa8, 0xa5, 0x15, 0x96, 0xc6, 0xf7, 0xf7, 0xe6, 0x86, 0xb5, 0x02, 0xac,
  41730. 0x93, 0x43, 0x3e, 0x8c, 0xd3, 0xbf, 0x41, 0xe2, 0xa9, 0x16, 0xca, 0xac, 0x85, 0xe7, 0xf3, 0x5b,
  41731. 0xd0, 0x2a, 0x2d, 0x4d, 0xed, 0xef, 0xcd, 0x8d, 0x67, 0x0a, 0x71, 0x96, 0xb4, 0xfd, 0x79, 0x18,
  41732. 0x5b, 0x4c, 0x12, 0xa7, 0xb1, 0x45, 0x5c, 0xfe, 0x7d, 0xd1, 0x4b, 0xd0, 0x17, 0x38, 0xdb, 0x44,
  41733. 0x7c, 0xfd, 0xb3, 0x62, 0xda, 0xfb, 0xae, 0x3b, 0xdb, 0xe4, 0x60, 0x6f, 0x6e, 0xe2, 0x66, 0xe0,
  41734. 0xbd, 0xd7, 0x12, 0x6b, 0x86, 0x96, 0x61, 0x86, 0x8d, 0x2e, 0x00, 0xb8, 0x64, 0xc7, 0x6b, 0x90,
  41735. 0x9a, 0x93, 0x6c, 0x89, 0xd5, 0x80, 0x44, 0x5d, 0xa8, 0x2a, 0x08, 0xd6, 0xb0, 0xec, 0x2f, 0x59,
  41736. 0x50, 0x59, 0xdc, 0x09, 0x3d, 0xb7, 0x16, 0xba, 0x31, 0x6a, 0xc1, 0x78, 0x33, 0x22, 0x1b, 0x24,
  41737. 0x52, 0x45, 0x33, 0xd6, 0xd9, 0xf2, 0xb9, 0xe1, 0x0b, 0x17, 0x72, 0xc6, 0x6d, 0x56, 0x5a, 0x09,
  41738. 0x92, 0x68, 0x77, 0xe9, 0x11, 0xd1, 0xf4, 0x78, 0x06, 0x8a, 0xb3, 0x6d, 0xd8, 0xbf, 0x54, 0x82,
  41739. 0x53, 0x8b, 0x9f, 0x6f, 0x45, 0xa4, 0xea, 0xc5, 0x77, 0xb3, 0x5b, 0xc1, 0xf5, 0xe2, 0xbb, 0xd7,
  41740. 0xd3, 0xc9, 0x50, 0x6b, 0xb0, 0x2a, 0xca, 0xb1, 0xc2, 0x40, 0xcf, 0xc3, 0x20, 0xfd, 0x7d, 0x13,
  41741. 0xaf, 0x89, 0xd1, 0x4f, 0x09, 0xe4, 0xe1, 0xaa, 0x93, 0x38, 0x55, 0x0e, 0xc2, 0x12, 0x07, 0x5d,
  41742. 0x83, 0xe1, 0x06, 0xdb, 0xef, 0x9b, 0xd7, 0x42, 0x97, 0xb0, 0x2f, 0x5c, 0x59, 0x7a, 0x8e, 0xa2,
  41743. 0x2f, 0xa7, 0xc5, 0x07, 0x7b, 0x73, 0x33, 0xbc, 0x6f, 0x82, 0x84, 0x06, 0xc3, 0x7a, 0x7d, 0x64,
  41744. 0xab, 0x8d, 0xd8, 0xc7, 0x28, 0x41, 0x87, 0x4d, 0x78, 0x4e, 0xdb, 0x53, 0xfd, 0x6c, 0x4f, 0x8d,
  41745. 0x74, 0xd9, 0x4f, 0xff, 0xd8, 0x12, 0x73, 0xb2, 0xea, 0xf9, 0x26, 0x7b, 0xb8, 0x00, 0x10, 0x93,
  41746. 0x46, 0x44, 0x12, 0x6d, 0x56, 0xd4, 0x67, 0xae, 0x2b, 0x08, 0xd6, 0xb0, 0xe8, 0xe6, 0x8f, 0xb7,
  41747. 0x9c, 0x88, 0xad, 0x16, 0x31, 0x37, 0x6a, 0xf3, 0xd7, 0x25, 0x00, 0xa7, 0x38, 0xc6, 0xe6, 0x2f,
  41748. 0xe7, 0x6e, 0xfe, 0xdf, 0xb1, 0x60, 0x70, 0xc9, 0x0b, 0x5c, 0x2f, 0xd8, 0x44, 0xef, 0xc0, 0x10,
  41749. 0xe5, 0xe8, 0xae, 0x93, 0x38, 0x62, 0xdf, 0x7f, 0x44, 0x2e, 0x1e, 0x9d, 0xc1, 0xca, 0xe5, 0x13,
  41750. 0xcf, 0x53, 0x6c, 0xba, 0x88, 0x6e, 0xdc, 0x79, 0x97, 0x34, 0x92, 0x6b, 0x24, 0x71, 0xd2, 0xe1,
  41751. 0xa4, 0x65, 0x58, 0x51, 0x45, 0x37, 0x61, 0x20, 0x71, 0xa2, 0x4d, 0x92, 0x88, 0x6d, 0x9f, 0xb3,
  41752. 0x29, 0x39, 0x0d, 0x4c, 0x97, 0x1c, 0x09, 0x1a, 0x24, 0x65, 0x90, 0xeb, 0x8c, 0x08, 0x16, 0xc4,
  41753. 0xec, 0x06, 0x8c, 0x2c, 0x3b, 0x4d, 0xe7, 0x8e, 0xe7, 0x7b, 0x89, 0x47, 0x62, 0xf4, 0x61, 0x28,
  41754. 0x3b, 0xae, 0xcb, 0x36, 0x40, 0x65, 0xe9, 0xd4, 0xfe, 0xde, 0x5c, 0x79, 0xd1, 0x75, 0x0f, 0xf6,
  41755. 0xe6, 0x40, 0x61, 0xed, 0x62, 0x8a, 0x81, 0x9e, 0x85, 0x3e, 0x37, 0x0a, 0x9b, 0x33, 0x25, 0x86,
  41756. 0x79, 0x9a, 0xee, 0xd4, 0x6a, 0x14, 0x36, 0x33, 0xa8, 0x0c, 0xc7, 0xfe, 0x41, 0x09, 0xd0, 0x32,
  41757. 0x69, 0x6e, 0xad, 0xd6, 0x8d, 0x6f, 0x7a, 0x0e, 0x86, 0xb6, 0xc3, 0xc0, 0x4b, 0xc2, 0x28, 0x16,
  41758. 0x0d, 0xb2, 0x75, 0x71, 0x4d, 0x94, 0x61, 0x05, 0x45, 0x67, 0xa1, 0xaf, 0x99, 0x6e, 0xef, 0x11,
  41759. 0xc9, 0x1a, 0xd8, 0xc6, 0x66, 0x10, 0x8a, 0xd1, 0x8a, 0x49, 0x24, 0xd6, 0xb3, 0xc2, 0xb8, 0x19,
  41760. 0x93, 0x08, 0x33, 0x48, 0xba, 0x82, 0xe8, 0xda, 0x12, 0xab, 0x35, 0xb3, 0x82, 0x28, 0x04, 0x6b,
  41761. 0x58, 0xe8, 0x6d, 0xa8, 0xf0, 0x7f, 0x98, 0x6c, 0xb0, 0xa5, 0x9b, 0xcb, 0x14, 0xae, 0x86, 0x0d,
  41762. 0xc7, 0xcf, 0x4e, 0xfe, 0x28, 0x5b, 0x71, 0x92, 0x10, 0x4e, 0x69, 0x1a, 0x2b, 0x6e, 0x20, 0x77,
  41763. 0xc5, 0xfd, 0x1d, 0x0b, 0xd0, 0xb2, 0x17, 0xb8, 0x24, 0x3a, 0x81, 0xa3, 0xb3, 0xb7, 0xcd, 0xf0,
  41764. 0x27, 0xb4, 0x6b, 0xe1, 0x76, 0x33, 0x0c, 0x48, 0x90, 0x2c, 0x87, 0x81, 0xcb, 0x8f, 0xd3, 0x8f,
  41765. 0x43, 0x5f, 0x42, 0x9b, 0xe2, 0xdd, 0x7a, 0x5a, 0x7e, 0x16, 0xda, 0xc0, 0xc1, 0xde, 0xdc, 0xe9,
  41766. 0xf6, 0x1a, 0xac, 0x0b, 0xac, 0x0e, 0xfa, 0x18, 0x0c, 0xc4, 0x89, 0x93, 0xb4, 0x62, 0xd1, 0xd1,
  41767. 0x27, 0x64, 0x47, 0xeb, 0xac, 0xf4, 0x60, 0x6f, 0x6e, 0x5c, 0x55, 0xe3, 0x45, 0x58, 0x54, 0x40,
  41768. 0xcf, 0xc0, 0xe0, 0x36, 0x89, 0x63, 0x67, 0x53, 0x32, 0xb8, 0x71, 0x51, 0x77, 0xf0, 0x1a, 0x2f,
  41769. 0xc6, 0x12, 0x8e, 0x9e, 0x84, 0x7e, 0x12, 0x45, 0x61, 0x24, 0x56, 0xc4, 0xa8, 0x40, 0xec, 0x5f,
  41770. 0xa1, 0x85, 0x98, 0xc3, 0xec, 0xff, 0x62, 0xc1, 0xb8, 0xea, 0x2b, 0x6f, 0xeb, 0x04, 0xb6, 0xbc,
  41771. 0x0b, 0xd0, 0x90, 0x03, 0x8c, 0xd9, 0x46, 0xd3, 0xda, 0xe8, 0xbc, 0xfc, 0xda, 0x27, 0x34, 0x6d,
  41772. 0x43, 0x15, 0xc5, 0x58, 0xa3, 0x6b, 0xff, 0x3b, 0x0b, 0xa6, 0x32, 0x63, 0xbb, 0xea, 0xc5, 0x09,
  41773. 0x7a, 0xab, 0x6d, 0x7c, 0xf3, 0xc5, 0xc6, 0x47, 0x6b, 0xb3, 0xd1, 0xa9, 0xf5, 0x22, 0x4b, 0xb4,
  41774. 0xb1, 0x61, 0xe8, 0xf7, 0x12, 0xb2, 0x2d, 0x87, 0xf5, 0x7c, 0xc1, 0x61, 0xf1, 0xfe, 0xa5, 0x5f,
  41775. 0x69, 0x8d, 0xd2, 0xc0, 0x9c, 0x94, 0xfd, 0xbf, 0x2c, 0xa8, 0x2c, 0x87, 0xc1, 0x86, 0xb7, 0x79,
  41776. 0xcd, 0x69, 0x9e, 0xc0, 0xf7, 0xa9, 0x43, 0x1f, 0xa3, 0xce, 0x87, 0xf0, 0x42, 0xde, 0x10, 0x44,
  41777. 0xc7, 0xe6, 0xe9, 0x99, 0xca, 0x85, 0x05, 0xc5, 0xa6, 0x68, 0x11, 0x66, 0xc4, 0x66, 0x5f, 0x81,
  41778. 0x8a, 0x42, 0x40, 0x13, 0x50, 0xbe, 0x4b, 0xb8, 0x24, 0x59, 0xc1, 0xf4, 0x27, 0x9a, 0x86, 0xfe,
  41779. 0x1d, 0xc7, 0x6f, 0x89, 0xcd, 0x8b, 0xf9, 0x9f, 0x8f, 0x97, 0x2e, 0x5a, 0xf6, 0x0f, 0xd8, 0x0e,
  41780. 0x14, 0x8d, 0xac, 0x04, 0x3b, 0x82, 0x39, 0x7c, 0xd9, 0x82, 0x69, 0xbf, 0x03, 0x53, 0x12, 0x73,
  41781. 0x72, 0x14, 0x76, 0xf6, 0x98, 0xe8, 0xf6, 0x74, 0x27, 0x28, 0xee, 0xd8, 0x1a, 0xe5, 0xf5, 0x61,
  41782. 0x93, 0x2e, 0x38, 0xc7, 0x67, 0x5d, 0x17, 0x32, 0xc0, 0x0d, 0x51, 0x86, 0x15, 0xd4, 0xfe, 0x73,
  41783. 0x0b, 0xa6, 0xd5, 0x38, 0xae, 0x90, 0xdd, 0x3a, 0xf1, 0x49, 0x23, 0x09, 0xa3, 0x87, 0x65, 0x24,
  41784. 0x8f, 0xf3, 0x6f, 0xc2, 0x79, 0xd2, 0xb0, 0x20, 0x50, 0xbe, 0x42, 0x76, 0xf9, 0x07, 0xd2, 0x07,
  41785. 0x5a, 0x3e, 0x74, 0xa0, 0xbf, 0x65, 0xc1, 0xa8, 0x1a, 0xe8, 0x09, 0x6c, 0xb9, 0xab, 0xe6, 0x96,
  41786. 0xfb, 0x70, 0xc1, 0xf5, 0xda, 0x65, 0xb3, 0xfd, 0xed, 0x12, 0x65, 0x1b, 0x02, 0xa7, 0x16, 0x85,
  41787. 0x74, 0x92, 0x28, 0xc7, 0x7f, 0x48, 0xbe, 0x52, 0x6f, 0x83, 0xbd, 0x42, 0x76, 0xd7, 0x43, 0x2a,
  41788. 0x4d, 0x74, 0x1e, 0xac, 0xf1, 0x51, 0xfb, 0x0e, 0xfd, 0xa8, 0xbf, 0x5f, 0x82, 0x53, 0x6a, 0x5a,
  41789. 0x8c, 0x53, 0xfa, 0x67, 0x72, 0x62, 0x5e, 0x80, 0x61, 0x97, 0x6c, 0x38, 0x2d, 0x3f, 0x51, 0xda,
  41790. 0x44, 0x3f, 0x57, 0x33, 0xab, 0x69, 0x31, 0xd6, 0x71, 0x7a, 0x98, 0xcb, 0x6f, 0x0c, 0x33, 0x7e,
  41791. 0x9e, 0x38, 0x74, 0xd5, 0x53, 0x09, 0x4f, 0x53, 0x0f, 0x47, 0x74, 0xf5, 0x50, 0xa8, 0x82, 0x4f,
  41792. 0x42, 0xbf, 0xb7, 0x4d, 0xcf, 0xfc, 0x92, 0x79, 0x94, 0xaf, 0xd1, 0x42, 0xcc, 0x61, 0xe8, 0x29,
  41793. 0x18, 0x6c, 0x84, 0xdb, 0xdb, 0x4e, 0xe0, 0xce, 0x94, 0x99, 0xcc, 0x39, 0x4c, 0xc5, 0x82, 0x65,
  41794. 0x5e, 0x84, 0x25, 0x0c, 0x3d, 0x06, 0x7d, 0x4e, 0xb4, 0x19, 0xcf, 0xf4, 0x31, 0x9c, 0x21, 0xda,
  41795. 0xd2, 0x62, 0xb4, 0x19, 0x63, 0x56, 0x4a, 0x65, 0xc9, 0x7b, 0x61, 0x74, 0xd7, 0x0b, 0x36, 0xab,
  41796. 0x5e, 0xc4, 0x04, 0x43, 0x4d, 0x96, 0xbc, 0xad, 0x20, 0x58, 0xc3, 0x42, 0x35, 0xe8, 0x6f, 0x86,
  41797. 0x51, 0x12, 0xcf, 0x0c, 0xb0, 0x89, 0x7f, 0x2e, 0x77, 0xfb, 0xf1, 0x71, 0xd7, 0xc2, 0x28, 0x49,
  41798. 0x87, 0x42, 0xff, 0xc5, 0x98, 0x13, 0x42, 0xcb, 0x50, 0x26, 0xc1, 0xce, 0xcc, 0x20, 0xa3, 0xf7,
  41799. 0xa1, 0xc3, 0xe9, 0xad, 0x04, 0x3b, 0xb7, 0x9c, 0x28, 0xe5, 0x57, 0x2b, 0xc1, 0x0e, 0xa6, 0xb5,
  41800. 0x51, 0x03, 0x2a, 0xd2, 0x84, 0x15, 0xcf, 0x0c, 0x15, 0x59, 0x8a, 0x58, 0xa0, 0x63, 0xf2, 0x5e,
  41801. 0xcb, 0x8b, 0xc8, 0x36, 0x09, 0x92, 0x38, 0x55, 0xac, 0x24, 0x34, 0xc6, 0x29, 0x5d, 0xd4, 0x80,
  41802. 0x11, 0x2e, 0x7f, 0x5e, 0x0b, 0x5b, 0x41, 0x12, 0xcf, 0x54, 0x58, 0x97, 0x73, 0x2c, 0x17, 0xb7,
  41803. 0xd2, 0x1a, 0x4b, 0xd3, 0x82, 0xfc, 0x88, 0x56, 0x18, 0x63, 0x83, 0x28, 0x7a, 0x0b, 0x46, 0x7d,
  41804. 0x6f, 0x87, 0x04, 0x24, 0x8e, 0x6b, 0x51, 0x78, 0x87, 0xcc, 0x00, 0x1b, 0xcd, 0x93, 0x79, 0x5a,
  41805. 0x7c, 0x78, 0x87, 0x2c, 0x4d, 0xee, 0xef, 0xcd, 0x8d, 0x5e, 0xd5, 0x6b, 0x63, 0x93, 0x18, 0x7a,
  41806. 0x1b, 0xc6, 0xa8, 0xb0, 0xeb, 0xa5, 0xe4, 0x87, 0x8b, 0x93, 0x47, 0xfb, 0x7b, 0x73, 0x63, 0xd8,
  41807. 0xa8, 0x8e, 0x33, 0xe4, 0xd0, 0x3a, 0x54, 0x7c, 0x6f, 0x83, 0x34, 0x76, 0x1b, 0x3e, 0x99, 0x19,
  41808. 0x61, 0xb4, 0x73, 0x36, 0xe7, 0x55, 0x89, 0xce, 0x15, 0x0c, 0xf5, 0x17, 0xa7, 0x84, 0xd0, 0x2d,
  41809. 0x38, 0x9d, 0x90, 0x68, 0xdb, 0x0b, 0x1c, 0xba, 0xa9, 0x84, 0xf4, 0xcb, 0x4c, 0x25, 0xa3, 0x6c,
  41810. 0xd5, 0x9e, 0x11, 0x13, 0x7b, 0x7a, 0xbd, 0x23, 0x16, 0xee, 0x52, 0x1b, 0xdd, 0x80, 0x71, 0xb6,
  41811. 0x9f, 0x6a, 0x2d, 0xdf, 0xaf, 0x85, 0xbe, 0xd7, 0xd8, 0x9d, 0x19, 0x63, 0x04, 0x9f, 0x92, 0x06,
  41812. 0x90, 0x35, 0x13, 0x4c, 0x15, 0xc3, 0xf4, 0x1f, 0xce, 0xd6, 0x46, 0x3e, 0x8c, 0xc7, 0xa4, 0xd1,
  41813. 0x8a, 0xbc, 0x64, 0x97, 0xae, 0x7d, 0x72, 0x3f, 0x99, 0x19, 0x2f, 0xa2, 0xe8, 0xd6, 0xcd, 0x4a,
  41814. 0xdc, 0xfa, 0x94, 0x29, 0xc4, 0x59, 0xd2, 0x94, 0x55, 0xc4, 0x89, 0xeb, 0x05, 0x33, 0x13, 0x8c,
  41815. 0x03, 0xa9, 0xfd, 0x55, 0xa7, 0x85, 0x98, 0xc3, 0x98, 0xfd, 0x80, 0xfe, 0xb8, 0x41, 0xb9, 0xf4,
  41816. 0x24, 0x43, 0x4c, 0xed, 0x07, 0x12, 0x80, 0x53, 0x1c, 0x2a, 0x1a, 0x24, 0xc9, 0xee, 0x0c, 0x62,
  41817. 0xa8, 0x6a, 0xab, 0xad, 0xaf, 0x7f, 0x06, 0xd3, 0x72, 0x74, 0x0b, 0x06, 0x49, 0xb0, 0xb3, 0x1a,
  41818. 0x85, 0xdb, 0x33, 0x53, 0x45, 0x78, 0xc0, 0x0a, 0x47, 0xe6, 0xe7, 0x47, 0xaa, 0xc2, 0x88, 0x62,
  41819. 0x2c, 0x89, 0xa1, 0xfb, 0x30, 0xd3, 0xe1, 0x2b, 0xf1, 0x8f, 0x32, 0xcd, 0x3e, 0xca, 0x27, 0x44,
  41820. 0xdd, 0x99, 0xf5, 0x2e, 0x78, 0x07, 0x87, 0xc0, 0x70, 0x57, 0xea, 0xf6, 0x1d, 0x18, 0x53, 0x8c,
  41821. 0x8a, 0x7d, 0x6f, 0x34, 0x07, 0xfd, 0x94, 0x17, 0x4b, 0x85, 0xbe, 0x42, 0x27, 0x95, 0xb2, 0xe8,
  41822. 0x18, 0xf3, 0x72, 0x36, 0xa9, 0xde, 0xe7, 0xc9, 0xd2, 0x6e, 0x42, 0xb8, 0x62, 0x57, 0xd6, 0x26,
  41823. 0x55, 0x02, 0x70, 0x8a, 0x63, 0xff, 0x1f, 0x2e, 0x26, 0xa5, 0xdc, 0xb0, 0xc0, 0x49, 0x70, 0x1e,
  41824. 0x86, 0xb6, 0xc2, 0x38, 0xa1, 0xd8, 0xac, 0x8d, 0xfe, 0x54, 0x30, 0xba, 0x2c, 0xca, 0xb1, 0xc2,
  41825. 0x40, 0xaf, 0xc2, 0x68, 0x43, 0x6f, 0x40, 0x1c, 0x63, 0xa7, 0x44, 0x15, 0xb3, 0x75, 0x6c, 0xe2,
  41826. 0xa2, 0x8b, 0x30, 0xc4, 0xac, 0xdc, 0x8d, 0xd0, 0x17, 0x2a, 0xa4, 0x3c, 0x95, 0x87, 0x6a, 0xa2,
  41827. 0xfc, 0x40, 0xfb, 0x8d, 0x15, 0x36, 0x55, 0xc4, 0x69, 0x17, 0xd6, 0x6a, 0xe2, 0x00, 0x51, 0x8a,
  41828. 0xf8, 0x65, 0x56, 0x8a, 0x05, 0xd4, 0xfe, 0x17, 0x25, 0x6d, 0x96, 0xa9, 0x02, 0x44, 0xd0, 0x9b,
  41829. 0x30, 0x78, 0xcf, 0xf1, 0x12, 0x2f, 0xd8, 0x14, 0xd2, 0xc3, 0x8b, 0x05, 0x4f, 0x13, 0x56, 0xfd,
  41830. 0x36, 0xaf, 0xca, 0x4f, 0x3e, 0xf1, 0x07, 0x4b, 0x82, 0x94, 0x76, 0xd4, 0x0a, 0x02, 0x4a, 0xbb,
  41831. 0xd4, 0x3b, 0x6d, 0xcc, 0xab, 0x72, 0xda, 0xe2, 0x0f, 0x96, 0x04, 0xd1, 0x06, 0x80, 0x5c, 0x4b,
  41832. 0xc4, 0x15, 0xd6, 0xe5, 0x8f, 0xf6, 0x42, 0x7e, 0x5d, 0xd5, 0x5e, 0x1a, 0xa3, 0x67, 0x6d, 0xfa,
  41833. 0x1f, 0x6b, 0x94, 0xed, 0x84, 0x09, 0x61, 0xed, 0xdd, 0x42, 0x9f, 0xa5, 0x5b, 0xda, 0x89, 0x12,
  41834. 0xe2, 0x2e, 0x26, 0x59, 0x03, 0xfd, 0xe1, 0x22, 0xf6, 0xba, 0xb7, 0x4d, 0xf4, 0xed, 0x2f, 0x88,
  41835. 0xe0, 0x94, 0x9e, 0xfd, 0xdd, 0x32, 0xcc, 0x74, 0xeb, 0x2e, 0x5d, 0x92, 0xe4, 0xbe, 0x97, 0x2c,
  41836. 0x53, 0x31, 0xc9, 0x32, 0x97, 0xe4, 0x8a, 0x28, 0xc7, 0x0a, 0x83, 0xae, 0x8d, 0xd8, 0xdb, 0x94,
  41837. 0xca, 0x52, 0x7f, 0xba, 0x36, 0xea, 0xac, 0x14, 0x0b, 0x28, 0xc5, 0x8b, 0x88, 0x13, 0x8b, 0xcb,
  41838. 0x0d, 0x6d, 0x0d, 0x61, 0x56, 0x8a, 0x05, 0x54, 0x37, 0x88, 0xf4, 0xe5, 0x18, 0x44, 0x8c, 0x29,
  41839. 0xea, 0x7f, 0xb0, 0x53, 0x84, 0x3e, 0x07, 0xb0, 0xe1, 0x05, 0x5e, 0xbc, 0xc5, 0xa8, 0x0f, 0xf4,
  41840. 0x4c, 0x5d, 0x09, 0x59, 0xab, 0x8a, 0x0a, 0xd6, 0x28, 0xa2, 0x97, 0x61, 0x58, 0x6d, 0xcf, 0xb5,
  41841. 0xea, 0xcc, 0xa0, 0x69, 0x10, 0x4f, 0x79, 0x55, 0x15, 0xeb, 0x78, 0xf6, 0xbb, 0xd9, 0xf5, 0x22,
  41842. 0x76, 0x85, 0x36, 0xbf, 0x56, 0xd1, 0xf9, 0x2d, 0x1d, 0x3e, 0xbf, 0xf6, 0x7f, 0x2e, 0xc3, 0xb8,
  41843. 0xd1, 0x58, 0x2b, 0x2e, 0xc0, 0xd1, 0x5e, 0xa7, 0x07, 0x96, 0x93, 0x10, 0xb1, 0x27, 0xcf, 0xf7,
  41844. 0xb2, 0x69, 0xf4, 0xe3, 0x8d, 0xee, 0x05, 0x4e, 0x09, 0x6d, 0x41, 0xc5, 0x77, 0x62, 0x66, 0x52,
  41845. 0x21, 0x62, 0x2f, 0xf6, 0x46, 0x36, 0x55, 0x3f, 0x9c, 0x38, 0xd1, 0x4e, 0x0f, 0xde, 0x4a, 0x4a,
  41846. 0x9c, 0x9e, 0xb6, 0x54, 0xd8, 0x91, 0x37, 0x6a, 0xaa, 0x3b, 0x54, 0x22, 0xda, 0xc5, 0x1c, 0x86,
  41847. 0x2e, 0xc2, 0x48, 0x44, 0xd8, 0x4a, 0x59, 0xa6, 0xf2, 0x1c, 0x5b, 0x7a, 0xfd, 0xa9, 0xe0, 0x87,
  41848. 0x35, 0x18, 0x36, 0x30, 0x53, 0xb9, 0x7f, 0xe0, 0x10, 0xb9, 0xff, 0x19, 0x18, 0x64, 0x3f, 0xd4,
  41849. 0xaa, 0x50, 0x5f, 0x68, 0x8d, 0x17, 0x63, 0x09, 0xcf, 0x2e, 0xa2, 0xa1, 0x82, 0x8b, 0xe8, 0x59,
  41850. 0x18, 0xab, 0x3a, 0x64, 0x3b, 0x0c, 0x56, 0x02, 0xb7, 0x19, 0x7a, 0x41, 0x82, 0x66, 0xa0, 0x8f,
  41851. 0x9d, 0x27, 0x7c, 0xbf, 0xf7, 0x51, 0x0a, 0xb8, 0x8f, 0xca, 0xee, 0xf6, 0x9f, 0x94, 0x60, 0xb4,
  41852. 0x4a, 0x7c, 0x92, 0x10, 0xae, 0xf7, 0xc4, 0x68, 0x15, 0xd0, 0x66, 0xe4, 0x34, 0x48, 0x8d, 0x44,
  41853. 0x5e, 0xe8, 0xd6, 0x49, 0x23, 0x0c, 0xd8, 0x45, 0x14, 0x3d, 0x20, 0x4f, 0xef, 0xef, 0xcd, 0xa1,
  41854. 0x4b, 0x6d, 0x50, 0xdc, 0xa1, 0x06, 0x72, 0x61, 0xb4, 0x19, 0x11, 0xc3, 0x6e, 0x68, 0xe5, 0x8b,
  41855. 0x1a, 0x35, 0xbd, 0x0a, 0x97, 0x86, 0x8d, 0x22, 0x6c, 0x12, 0x45, 0x9f, 0x82, 0x89, 0x30, 0x6a,
  41856. 0x6e, 0x39, 0x41, 0x95, 0x34, 0x49, 0xe0, 0x52, 0x15, 0x40, 0x58, 0x3b, 0xa6, 0xf7, 0xf7, 0xe6,
  41857. 0x26, 0x6e, 0x64, 0x60, 0xb8, 0x0d, 0x1b, 0xbd, 0x09, 0x93, 0xcd, 0x28, 0x6c, 0x3a, 0x9b, 0x6c,
  41858. 0xc9, 0x08, 0x69, 0x85, 0xf3, 0xa6, 0xf3, 0xfb, 0x7b, 0x73, 0x93, 0xb5, 0x2c, 0xf0, 0x60, 0x6f,
  41859. 0x6e, 0x8a, 0x4d, 0x19, 0x2d, 0x49, 0x81, 0xb8, 0x9d, 0x8c, 0xfd, 0x1e, 0x9c, 0xaa, 0x86, 0xf7,
  41860. 0x82, 0x7b, 0x4e, 0xe4, 0x2e, 0xd6, 0xd6, 0x34, 0xe3, 0xc4, 0x1b, 0x52, 0xf9, 0xe5, 0x17, 0x7c,
  41861. 0x39, 0x27, 0x9b, 0x46, 0x83, 0xab, 0x1d, 0xab, 0x9e, 0x4f, 0xba, 0x98, 0x43, 0xfe, 0x49, 0xc9,
  41862. 0x68, 0x33, 0xc5, 0x57, 0x77, 0x17, 0x56, 0xd7, 0xbb, 0x8b, 0xcf, 0xc2, 0xd0, 0x86, 0x47, 0x7c,
  41863. 0x17, 0x93, 0x0d, 0xf1, 0xb5, 0x5e, 0x28, 0x72, 0xb9, 0xb3, 0x4a, 0xeb, 0x48, 0xeb, 0x18, 0x57,
  41864. 0xa2, 0x57, 0x05, 0x19, 0xac, 0x08, 0xa2, 0x16, 0x4c, 0x48, 0x3d, 0x4c, 0x42, 0xc5, 0x66, 0x7f,
  41865. 0xb1, 0x98, 0x9a, 0x67, 0x36, 0xc3, 0x3e, 0x2f, 0xce, 0x10, 0xc4, 0x6d, 0x4d, 0x50, 0xfd, 0x79,
  41866. 0x9b, 0x1e, 0x75, 0x7d, 0x6c, 0xe9, 0x33, 0xfd, 0x99, 0x99, 0x02, 0x58, 0xa9, 0xfd, 0x6b, 0x16,
  41867. 0x3c, 0xd2, 0x36, 0x5b, 0xc2, 0x4e, 0x72, 0x6c, 0xdf, 0x28, 0x6b, 0xac, 0x28, 0xe5, 0x1b, 0x2b,
  41868. 0xec, 0x1b, 0x30, 0xbd, 0xb2, 0xdd, 0x4c, 0x76, 0xab, 0x9e, 0x79, 0xe5, 0xf2, 0x0a, 0x0c, 0x6c,
  41869. 0x13, 0xd7, 0x6b, 0x6d, 0x8b, 0xcf, 0x3a, 0x27, 0xcf, 0x85, 0x6b, 0xac, 0xf4, 0x60, 0x6f, 0x6e,
  41870. 0xb4, 0x9e, 0x84, 0x91, 0xb3, 0x49, 0x78, 0x01, 0x16, 0xe8, 0xf6, 0x8f, 0x2d, 0x18, 0x97, 0xfc,
  41871. 0x61, 0xd1, 0x75, 0x23, 0x12, 0xc7, 0x68, 0x16, 0x4a, 0x5e, 0x53, 0x10, 0x02, 0x41, 0xa8, 0xb4,
  41872. 0x56, 0xc3, 0x25, 0xaf, 0x89, 0xde, 0x84, 0x0a, 0xbf, 0xa9, 0x4b, 0x17, 0x47, 0x8f, 0x37, 0x7f,
  41873. 0x4c, 0x37, 0x5c, 0x97, 0x34, 0x70, 0x4a, 0x4e, 0x4a, 0xc9, 0xec, 0xe4, 0x29, 0x9b, 0xf7, 0x46,
  41874. 0x97, 0x45, 0x39, 0x56, 0x18, 0xe8, 0x1c, 0x0c, 0x05, 0xa1, 0xcb, 0x2f, 0x53, 0xf9, 0x3e, 0x65,
  41875. 0x4b, 0xee, 0xba, 0x28, 0xc3, 0x0a, 0x6a, 0x7f, 0xd5, 0x82, 0x11, 0x39, 0xc6, 0x82, 0x02, 0x3b,
  41876. 0xdd, 0x24, 0xa9, 0xb0, 0x9e, 0x6e, 0x12, 0x2a, 0x70, 0x33, 0x88, 0x21, 0x67, 0x97, 0x7b, 0x91,
  41877. 0xb3, 0xed, 0xdf, 0x2c, 0xc1, 0x98, 0xec, 0x4e, 0xbd, 0x75, 0x27, 0x26, 0x54, 0x0c, 0xa9, 0x38,
  41878. 0x7c, 0xf2, 0x89, 0x5c, 0x67, 0xcf, 0xe7, 0xe9, 0x62, 0xc6, 0x37, 0x4b, 0xc5, 0x9c, 0x45, 0x49,
  41879. 0x07, 0xa7, 0x24, 0xd1, 0x0e, 0x4c, 0x06, 0x61, 0xc2, 0x8e, 0x37, 0x05, 0x2f, 0x76, 0xd3, 0x91,
  41880. 0x6d, 0xe7, 0x51, 0xd1, 0xce, 0xe4, 0xf5, 0x2c, 0x3d, 0xdc, 0xde, 0x04, 0xba, 0x21, 0x6d, 0x4c,
  41881. 0x65, 0xd6, 0xd6, 0xb3, 0xc5, 0xda, 0xea, 0x6e, 0x62, 0xb2, 0x7f, 0xcf, 0x82, 0x8a, 0x44, 0x3b,
  41882. 0x89, 0x2b, 0xaf, 0xdb, 0x30, 0x18, 0xb3, 0x4f, 0x24, 0xa7, 0xeb, 0x7c, 0xb1, 0x21, 0xf0, 0xef,
  41883. 0x9a, 0x9e, 0xe9, 0xfc, 0x7f, 0x8c, 0x25, 0x35, 0x66, 0x6c, 0x57, 0x03, 0x79, 0xe8, 0x8c, 0xed,
  41884. 0xaa, 0x67, 0xdd, 0x6f, 0xb6, 0x46, 0x0d, 0x6b, 0x00, 0x15, 0x4c, 0x9b, 0x11, 0xd9, 0xf0, 0xee,
  41885. 0x67, 0x05, 0xd3, 0x1a, 0x2b, 0xc5, 0x02, 0x8a, 0x36, 0x60, 0xa4, 0x21, 0xcd, 0xd1, 0x29, 0x0b,
  41886. 0xf9, 0x48, 0x41, 0xdb, 0xbf, 0xba, 0x46, 0xe2, 0xae, 0x49, 0xcb, 0x1a, 0x25, 0x6c, 0xd0, 0xa5,
  41887. 0x7c, 0x2a, 0xbd, 0x29, 0x2f, 0x17, 0x34, 0xdc, 0x44, 0x24, 0x49, 0x5b, 0xe8, 0x7a, 0x49, 0x6e,
  41888. 0x7f, 0xd3, 0x82, 0x01, 0x6e, 0xbf, 0x2c, 0x66, 0x04, 0xd6, 0x2e, 0xc8, 0xd2, 0xf9, 0xbc, 0x45,
  41889. 0x0b, 0xc5, 0x7d, 0x19, 0xba, 0x0d, 0x15, 0xf6, 0x83, 0xd9, 0x62, 0xca, 0x45, 0xfc, 0xb4, 0x78,
  41890. 0xfb, 0x7a, 0x57, 0x6f, 0x49, 0x02, 0x38, 0xa5, 0x65, 0x7f, 0xbf, 0x4c, 0x59, 0x5f, 0x8a, 0x6a,
  41891. 0x9c, 0xed, 0xd6, 0x49, 0x9c, 0xed, 0xa5, 0xe3, 0x3f, 0xdb, 0xdf, 0x83, 0xf1, 0x86, 0x76, 0x41,
  41892. 0x97, 0x7e, 0xf1, 0x0b, 0x05, 0x97, 0x95, 0x76, 0xab, 0xc7, 0xed, 0x75, 0xcb, 0x26, 0x39, 0x9c,
  41893. 0xa5, 0x8f, 0x08, 0x8c, 0xf0, 0xf5, 0x20, 0xda, 0xeb, 0x63, 0xed, 0x2d, 0x14, 0x59, 0x61, 0x7a,
  41894. 0x63, 0x6c, 0x15, 0xd7, 0x35, 0x42, 0xd8, 0x20, 0x6b, 0xff, 0x4a, 0x3f, 0xf4, 0xaf, 0xec, 0x90,
  41895. 0x20, 0x39, 0x01, 0x56, 0xb7, 0x0d, 0x63, 0x5e, 0xb0, 0x13, 0xfa, 0x3b, 0xc4, 0xe5, 0xf0, 0xa3,
  41896. 0x1d, 0xef, 0xa7, 0x45, 0x23, 0x63, 0x6b, 0x06, 0x31, 0x9c, 0x21, 0x7e, 0x1c, 0x96, 0x82, 0xd7,
  41897. 0x61, 0x80, 0xaf, 0x0c, 0x61, 0x26, 0xc8, 0xb1, 0xe7, 0xb3, 0x89, 0x15, 0x3b, 0x28, 0xb5, 0x67,
  41898. 0xf0, 0xab, 0x04, 0x41, 0x08, 0xbd, 0x0b, 0x63, 0x1b, 0x5e, 0x14, 0x27, 0x54, 0xd9, 0x8f, 0x13,
  41899. 0x67, 0xbb, 0x79, 0x04, 0x1b, 0x81, 0x9a, 0x91, 0x55, 0x83, 0x12, 0xce, 0x50, 0x46, 0x9b, 0x30,
  41900. 0x4a, 0x55, 0xd4, 0xb4, 0xa9, 0xc1, 0x9e, 0x9b, 0x52, 0x26, 0xc2, 0xab, 0x3a, 0x21, 0x6c, 0xd2,
  41901. 0xa5, 0x2c, 0xa9, 0xc1, 0x54, 0xda, 0x21, 0x26, 0xdd, 0x28, 0x96, 0xc4, 0x75, 0x59, 0x0e, 0xa3,
  41902. 0x9c, 0x8d, 0x79, 0xca, 0x54, 0x4c, 0xce, 0x96, 0xfa, 0xc3, 0xd8, 0xdf, 0xa6, 0x67, 0x31, 0x9d,
  41903. 0xc3, 0x13, 0x38, 0xbe, 0x2e, 0x9b, 0xc7, 0xd7, 0x93, 0x05, 0xbe, 0x6c, 0x97, 0xa3, 0xeb, 0x1d,
  41904. 0x18, 0xd6, 0x3e, 0x3c, 0x5a, 0x80, 0x4a, 0x43, 0x3a, 0x73, 0x08, 0x2e, 0xae, 0x44, 0x29, 0xe5,
  41905. 0xe5, 0x81, 0x53, 0x1c, 0x3a, 0x2f, 0x54, 0x04, 0xcd, 0xba, 0x7e, 0x51, 0x01, 0x15, 0x33, 0x88,
  41906. 0xfd, 0x22, 0xc0, 0xca, 0x7d, 0xd2, 0x58, 0xe4, 0x2a, 0x9e, 0x76, 0xbf, 0x67, 0x75, 0xbf, 0xdf,
  41907. 0xb3, 0xbf, 0x65, 0xc1, 0xd8, 0xea, 0xb2, 0x21, 0xd3, 0xcf, 0x03, 0x70, 0xd9, 0xf8, 0xf6, 0xed,
  41908. 0xeb, 0xd2, 0x7e, 0xcd, 0x8d, 0x8c, 0xaa, 0x14, 0x6b, 0x18, 0xe8, 0x51, 0x28, 0xfb, 0xad, 0x40,
  41909. 0x88, 0xac, 0x83, 0xfb, 0x7b, 0x73, 0xe5, 0xab, 0xad, 0x00, 0xd3, 0x32, 0xcd, 0xc7, 0xaa, 0x5c,
  41910. 0xd8, 0xc7, 0x2a, 0xdf, 0xdb, 0xf8, 0xeb, 0x65, 0x98, 0x58, 0xf5, 0xc9, 0x7d, 0xa3, 0xd7, 0x4f,
  41911. 0xc3, 0x80, 0x1b, 0x79, 0x3b, 0x24, 0xca, 0x0a, 0x02, 0x55, 0x56, 0x8a, 0x05, 0xb4, 0xb0, 0xdb,
  41912. 0xd7, 0xdb, 0xed, 0x07, 0xf9, 0xf1, 0xb9, 0xbc, 0xe5, 0x8e, 0x19, 0x6d, 0xc0, 0x20, 0xbf, 0x0f,
  41913. 0x8e, 0x67, 0xfa, 0xd9, 0x52, 0x7c, 0xf5, 0xf0, 0xce, 0x64, 0xe7, 0x67, 0x5e, 0xd8, 0x57, 0xb8,
  41914. 0xc3, 0x8d, 0xe2, 0x65, 0xa2, 0x14, 0x4b, 0xe2, 0xb3, 0x1f, 0x87, 0x11, 0x1d, 0xb3, 0x27, 0xcf,
  41915. 0x9b, 0xbf, 0x6a, 0xc1, 0xd4, 0xaa, 0x1f, 0x36, 0xee, 0x66, 0xfc, 0xf2, 0x5e, 0x86, 0x61, 0xba,
  41916. 0x99, 0x62, 0xc3, 0x69, 0xd5, 0xf0, 0xce, 0x15, 0x20, 0xac, 0xe3, 0x69, 0xd5, 0x6e, 0xde, 0x5c,
  41917. 0xab, 0x76, 0x72, 0xea, 0x15, 0x20, 0xac, 0xe3, 0xd9, 0x7f, 0x60, 0xc1, 0xe3, 0x97, 0x96, 0x57,
  41918. 0x6a, 0x24, 0x8a, 0xbd, 0x38, 0x21, 0x41, 0xd2, 0xe6, 0x57, 0x4c, 0x65, 0x46, 0x57, 0xeb, 0x4a,
  41919. 0x2a, 0x33, 0x56, 0x59, 0x2f, 0x04, 0xf4, 0x61, 0x71, 0xae, 0xff, 0xa6, 0x05, 0x53, 0x97, 0xbc,
  41920. 0x04, 0x93, 0x66, 0x98, 0x75, 0x05, 0x8e, 0x48, 0x33, 0x8c, 0xbd, 0x24, 0x8c, 0x76, 0xb3, 0xae,
  41921. 0xc0, 0x58, 0x41, 0xb0, 0x86, 0xc5, 0x5b, 0xde, 0xf1, 0x62, 0xda, 0xd3, 0x92, 0xa9, 0xea, 0x62,
  41922. 0x51, 0x8e, 0x15, 0x06, 0x1d, 0x98, 0xeb, 0x45, 0x4c, 0x64, 0xd8, 0x15, 0x3b, 0x58, 0x0d, 0xac,
  41923. 0x2a, 0x01, 0x38, 0xc5, 0xb1, 0xff, 0x9e, 0x05, 0xa7, 0x2e, 0xf9, 0xad, 0x38, 0x21, 0xd1, 0x46,
  41924. 0x6c, 0x74, 0xf6, 0x45, 0xa8, 0x10, 0x29, 0xdc, 0x8b, 0xbe, 0xaa, 0x43, 0x43, 0x49, 0xfd, 0xdc,
  41925. 0x0f, 0x59, 0xe1, 0x15, 0x70, 0x77, 0xed, 0xcd, 0x39, 0xf3, 0xb7, 0x4b, 0x30, 0x7a, 0x79, 0x7d,
  41926. 0xbd, 0x76, 0x89, 0x24, 0x82, 0x4b, 0xe6, 0x1b, 0xa5, 0xb0, 0xa6, 0x91, 0x1f, 0x26, 0xfc, 0xb4,
  41927. 0x12, 0xcf, 0x9f, 0xe7, 0xe1, 0x22, 0xf3, 0x6b, 0x41, 0x72, 0x23, 0xaa, 0x27, 0x91, 0x17, 0x6c,
  41928. 0x76, 0xd4, 0xe1, 0x25, 0x2f, 0x2f, 0x77, 0xe3, 0xe5, 0xe8, 0x45, 0x18, 0x60, 0xf1, 0x2a, 0x52,
  41929. 0xf8, 0xf8, 0xa0, 0x92, 0x13, 0x58, 0xe9, 0xc1, 0xde, 0x5c, 0xe5, 0x26, 0x5e, 0xe3, 0x7f, 0xb0,
  41930. 0x40, 0x45, 0x6f, 0xc3, 0xf0, 0x56, 0x92, 0x34, 0x2f, 0x13, 0xc7, 0x25, 0x91, 0xe4, 0x13, 0xe7,
  41931. 0x0e, 0xe7, 0x13, 0x74, 0x3a, 0x78, 0x85, 0x74, 0x6b, 0xa5, 0x65, 0x31, 0xd6, 0x29, 0xda, 0x75,
  41932. 0x80, 0x14, 0xf6, 0x80, 0x74, 0x10, 0xfb, 0xe7, 0x4b, 0x30, 0x78, 0xd9, 0x09, 0x5c, 0x9f, 0x44,
  41933. 0x68, 0x15, 0xfa, 0xc8, 0x7d, 0xd2, 0x10, 0x07, 0x79, 0x4e, 0xd7, 0xd3, 0xc3, 0x8e, 0xdb, 0xd5,
  41934. 0xe8, 0x7f, 0xcc, 0xea, 0x23, 0x0c, 0x83, 0xb4, 0xdf, 0x97, 0x94, 0x97, 0xf8, 0x73, 0xf9, 0xb3,
  41935. 0xa0, 0x16, 0x05, 0x3f, 0x29, 0x45, 0x11, 0x96, 0x84, 0x98, 0x05, 0xaa, 0xd1, 0xac, 0x53, 0xf6,
  41936. 0x96, 0x14, 0xd3, 0xec, 0xd6, 0x97, 0x6b, 0x1c, 0x5d, 0xd0, 0xe5, 0x16, 0x28, 0x59, 0x88, 0x53,
  41937. 0x72, 0xf6, 0x45, 0x98, 0x66, 0xf7, 0xb1, 0x4e, 0xb2, 0x65, 0xec, 0x9a, 0xdc, 0xe5, 0x69, 0xff,
  41938. 0xb0, 0x04, 0x93, 0x6b, 0xf5, 0xe5, 0xba, 0x69, 0x3b, 0xbc, 0x08, 0x23, 0xfc, 0x80, 0xa6, 0x8b,
  41939. 0xce, 0xf1, 0x45, 0x7d, 0x75, 0x87, 0xb0, 0xae, 0xc1, 0xb0, 0x81, 0x89, 0x1e, 0x87, 0xb2, 0xf7,
  41940. 0x5e, 0x90, 0xf5, 0xea, 0x5b, 0x7b, 0xfd, 0x3a, 0xa6, 0xe5, 0x14, 0x4c, 0xcf, 0x7a, 0xce, 0xe4,
  41941. 0x14, 0x58, 0x9d, 0xf7, 0xaf, 0xc1, 0x98, 0x17, 0x37, 0x62, 0x6f, 0x2d, 0xa0, 0x1c, 0xc0, 0x69,
  41942. 0xc8, 0xe5, 0x9b, 0x0a, 0xe7, 0xb4, 0xab, 0x0a, 0x8a, 0x33, 0xd8, 0x1a, 0xc7, 0xed, 0x2f, 0x2c,
  41943. 0x2f, 0xe4, 0xba, 0x8b, 0x53, 0x51, 0xa8, 0xc9, 0x46, 0x17, 0x33, 0x1f, 0x21, 0x21, 0x0a, 0xf1,
  41944. 0x01, 0xc7, 0x58, 0xc2, 0xec, 0x77, 0xa1, 0xa2, 0xdc, 0xbc, 0xa4, 0x77, 0xa3, 0xd5, 0xc5, 0xbb,
  41945. 0x31, 0x9f, 0x33, 0x49, 0xc3, 0x6f, 0xb9, 0xa3, 0xe1, 0xf7, 0x9f, 0x59, 0x90, 0xfa, 0xa9, 0x20,
  41946. 0x0c, 0x95, 0x66, 0xc8, 0x2e, 0x89, 0x22, 0x79, 0x1b, 0xfb, 0x54, 0xce, 0x82, 0xe5, 0x1b, 0x86,
  41947. 0x2f, 0xa9, 0x9a, 0xac, 0x8b, 0x53, 0x32, 0xe8, 0x2a, 0x0c, 0x36, 0x23, 0x52, 0x4f, 0x58, 0x68,
  41948. 0x42, 0x0f, 0x14, 0xf9, 0xdc, 0xf0, 0x9a, 0x58, 0x92, 0xb0, 0xff, 0x95, 0x05, 0x70, 0xd5, 0xdb,
  41949. 0xf6, 0x12, 0xec, 0x04, 0x9b, 0xe4, 0x04, 0xb4, 0xc2, 0xeb, 0xd0, 0x17, 0x37, 0x49, 0xa3, 0xd8,
  41950. 0x35, 0x5f, 0xda, 0xb3, 0x7a, 0x93, 0x34, 0xd2, 0xcf, 0x41, 0xff, 0x61, 0x46, 0xc7, 0xfe, 0x1e,
  41951. 0xc0, 0x58, 0x8a, 0x46, 0x25, 0x73, 0xf4, 0xbc, 0xe1, 0x93, 0xff, 0x68, 0xc6, 0x27, 0xbf, 0xc2,
  41952. 0xb0, 0x35, 0x37, 0xfc, 0x04, 0xca, 0xdb, 0xce, 0x7d, 0xa1, 0x08, 0xbc, 0x5c, 0xb4, 0x43, 0xb4,
  41953. 0xa5, 0xf9, 0x6b, 0xce, 0x7d, 0x2e, 0x77, 0x3d, 0x27, 0x17, 0xd2, 0x35, 0xe7, 0xfe, 0x01, 0xbf,
  41954. 0xcc, 0x63, 0x1b, 0x96, 0x6a, 0x1e, 0x5f, 0xfa, 0xd3, 0xf4, 0x3f, 0xe3, 0xa1, 0xb4, 0x39, 0xd6,
  41955. 0xaa, 0x17, 0x08, 0x3b, 0x66, 0x8f, 0xad, 0x7a, 0x41, 0xb6, 0x55, 0x2f, 0x28, 0xd0, 0xaa, 0xc7,
  41956. 0x9c, 0x57, 0x07, 0x85, 0xf9, 0x9f, 0x79, 0xfe, 0x0d, 0x5f, 0xf8, 0x58, 0x4f, 0x4d, 0x8b, 0x7b,
  41957. 0x04, 0xde, 0xfc, 0x82, 0x14, 0x36, 0x45, 0x69, 0x6e, 0x17, 0x64, 0xd3, 0xe8, 0xef, 0x5b, 0x30,
  41958. 0x26, 0x7e, 0x63, 0xf2, 0x5e, 0x8b, 0xc4, 0x89, 0x38, 0xd4, 0x3e, 0x75, 0x94, 0xde, 0x08, 0x12,
  41959. 0xbc, 0x53, 0x1f, 0x95, 0x1c, 0xc9, 0x04, 0xe6, 0xf6, 0x2d, 0xd3, 0x1f, 0xf4, 0x3d, 0x0b, 0xa6,
  41960. 0xb7, 0x9d, 0xfb, 0xbc, 0x45, 0x5e, 0x86, 0x9d, 0xc4, 0x0b, 0x85, 0x77, 0xe3, 0x6a, 0xaf, 0xeb,
  41961. 0xa4, 0x8d, 0x10, 0xef, 0xae, 0x74, 0x5c, 0x9a, 0xee, 0x84, 0x92, 0xdb, 0xe9, 0x8e, 0x3d, 0x9c,
  41962. 0xdd, 0x80, 0x21, 0xb9, 0x30, 0x3b, 0x88, 0xf9, 0x55, 0xfd, 0xec, 0xce, 0x51, 0xaa, 0xe7, 0xa5,
  41963. 0x69, 0x6c, 0xfe, 0xf5, 0x96, 0x13, 0x24, 0x5e, 0xb2, 0xab, 0xa9, 0x05, 0xac, 0x1d, 0xb1, 0x14,
  41964. 0x8f, 0xb5, 0x9d, 0x77, 0x61, 0x44, 0x5f, 0x77, 0xc7, 0xda, 0xd6, 0x7b, 0x30, 0xd5, 0x61, 0x55,
  41965. 0x1d, 0x6b, 0x93, 0xf7, 0xe0, 0xd1, 0xae, 0xeb, 0xe3, 0x38, 0x1b, 0xb6, 0x7f, 0xdb, 0xd2, 0x59,
  41966. 0xe7, 0x09, 0x18, 0x5d, 0xae, 0x99, 0x46, 0x97, 0x73, 0x45, 0xf7, 0x50, 0x17, 0xcb, 0xcb, 0x86,
  41967. 0xde, 0x7d, 0x7a, 0x24, 0xa0, 0x75, 0x18, 0xf0, 0x69, 0x89, 0xbc, 0xf3, 0x3a, 0xdf, 0xcb, 0x2e,
  41968. 0x4d, 0x85, 0x12, 0x56, 0x1e, 0x63, 0x41, 0xcb, 0xfe, 0x9e, 0x05, 0x7d, 0x7f, 0x89, 0x11, 0x43,
  41969. 0x6d, 0xa4, 0x45, 0xe0, 0xfb, 0x3c, 0x76, 0xee, 0xad, 0xdc, 0x4f, 0x48, 0x10, 0x33, 0x19, 0xb4,
  41970. 0xdb, 0xad, 0xfd, 0x30, 0x6d, 0x4a, 0x3a, 0x61, 0xbc, 0x0a, 0xa3, 0xbe, 0x73, 0x87, 0xf8, 0xd2,
  41971. 0x60, 0x9c, 0xd5, 0xd8, 0xae, 0xea, 0x40, 0x6c, 0xe2, 0xd2, 0xca, 0x1b, 0xba, 0x3d, 0x5d, 0x08,
  41972. 0x49, 0xaa, 0xb2, 0x61, 0x6c, 0xc7, 0x26, 0x2e, 0x55, 0x19, 0xee, 0x39, 0x49, 0x63, 0x4b, 0x68,
  41973. 0x73, 0xaa, 0xbb, 0xb7, 0x69, 0x21, 0xe6, 0x30, 0xb4, 0x08, 0xe3, 0x72, 0xc5, 0xde, 0xa2, 0x6a,
  41974. 0x7e, 0x18, 0x08, 0x39, 0x53, 0x45, 0x1d, 0x63, 0x13, 0x8c, 0xb3, 0xf8, 0xe8, 0xe3, 0x30, 0x46,
  41975. 0x27, 0x27, 0x6c, 0x25, 0xd2, 0xc5, 0xa4, 0x9f, 0xb9, 0x98, 0x30, 0x0f, 0xe5, 0x75, 0x03, 0x82,
  41976. 0x33, 0x98, 0xf6, 0xdb, 0x30, 0x75, 0x35, 0x74, 0xdc, 0x25, 0xc7, 0x77, 0x82, 0x06, 0x89, 0xd6,
  41977. 0x82, 0xcd, 0xdc, 0xeb, 0x6b, 0xfd, 0x8a, 0xb9, 0x94, 0x77, 0xc5, 0x6c, 0x47, 0x80, 0xf4, 0x06,
  41978. 0x84, 0x73, 0xd4, 0x5b, 0x30, 0xe8, 0xf1, 0xa6, 0xc4, 0xb2, 0x7d, 0x21, 0xcf, 0x1e, 0xd5, 0xd6,
  41979. 0x47, 0xcd, 0xd9, 0x87, 0x17, 0x60, 0x49, 0x92, 0xaa, 0x20, 0x9d, 0x0c, 0x58, 0xf9, 0x5a, 0x9e,
  41980. 0xfd, 0xd7, 0x2d, 0x18, 0xbf, 0x9e, 0x09, 0x69, 0x7d, 0x1a, 0x06, 0x78, 0x62, 0x84, 0xac, 0x89,
  41981. 0xa5, 0xce, 0x4a, 0xb1, 0x80, 0x3e, 0x70, 0x0d, 0xff, 0x97, 0x4b, 0x50, 0x61, 0x6e, 0xb6, 0x4d,
  41982. 0xaa, 0x4e, 0x1c, 0xbf, 0x98, 0x7a, 0xcd, 0x10, 0x53, 0x73, 0xb4, 0x4c, 0xd5, 0xb1, 0x6e, 0x52,
  41983. 0x2a, 0xba, 0xa9, 0x42, 0x3d, 0x0b, 0x29, 0x98, 0x29, 0x41, 0x1e, 0x0e, 0x38, 0x66, 0x46, 0x86,
  41984. 0xca, 0x30, 0x50, 0x76, 0xe9, 0xab, 0x70, 0x1f, 0xba, 0x4b, 0x5f, 0xd5, 0xb3, 0x2e, 0xcc, 0xa9,
  41985. 0xa6, 0x75, 0x9e, 0xb1, 0xef, 0x4f, 0x32, 0xe7, 0x49, 0xc7, 0xf7, 0x3e, 0x4f, 0x54, 0xc4, 0xf4,
  41986. 0x9c, 0x70, 0x86, 0x14, 0xa5, 0x07, 0x8c, 0xcf, 0x88, 0x7f, 0x3c, 0x20, 0x3e, 0xad, 0x62, 0x5f,
  41987. 0x86, 0xf1, 0xcc, 0xd4, 0xa1, 0x97, 0xa1, 0xbf, 0xb9, 0xe5, 0xc4, 0x24, 0xe3, 0xc7, 0xd2, 0x5f,
  41988. 0xa3, 0x85, 0x07, 0x7b, 0x73, 0x63, 0xaa, 0x02, 0x2b, 0xc1, 0x1c, 0xdb, 0xfe, 0x72, 0x09, 0xfa,
  41989. 0xae, 0x87, 0xee, 0x49, 0x2c, 0xb5, 0xcb, 0xc6, 0x52, 0x7b, 0x3a, 0x3f, 0x9d, 0x46, 0xd7, 0x55,
  41990. 0x56, 0xcb, 0xac, 0xb2, 0x73, 0x05, 0x68, 0x1d, 0xbe, 0xc0, 0xb6, 0x61, 0x98, 0xa5, 0xeb, 0x10,
  41991. 0x8e, 0x3c, 0x2f, 0x1a, 0x9a, 0xd5, 0x5c, 0x46, 0xb3, 0x1a, 0xd7, 0x50, 0x35, 0xfd, 0xea, 0x19,
  41992. 0x18, 0x14, 0x8e, 0x23, 0x59, 0xd7, 0x51, 0x81, 0x8b, 0x25, 0xdc, 0xfe, 0x97, 0x65, 0x30, 0xd2,
  41993. 0x83, 0xa0, 0xdf, 0xb3, 0x60, 0x3e, 0xe2, 0x61, 0x38, 0x6e, 0xb5, 0x15, 0x79, 0xc1, 0x66, 0xbd,
  41994. 0xb1, 0x45, 0xdc, 0x96, 0xef, 0x05, 0x9b, 0x6b, 0x9b, 0x41, 0xa8, 0x8a, 0x57, 0xee, 0x93, 0x46,
  41995. 0x8b, 0xd9, 0x69, 0x0b, 0x67, 0x25, 0x51, 0x97, 0xa6, 0x17, 0xf6, 0xf7, 0xe6, 0xe6, 0x71, 0x4f,
  41996. 0xad, 0xe0, 0x1e, 0x7b, 0x85, 0xfe, 0xd8, 0x82, 0x05, 0x9e, 0x20, 0xa3, 0xf8, 0x48, 0x0a, 0x69,
  41997. 0xa4, 0x35, 0x49, 0x34, 0x25, 0xb7, 0x4e, 0xa2, 0xed, 0xa5, 0x57, 0xc4, 0x24, 0x2f, 0xd4, 0x7a,
  41998. 0x6b, 0x15, 0xf7, 0xda, 0x4d, 0xfb, 0xdf, 0x94, 0x61, 0x94, 0xce, 0x67, 0x1a, 0x14, 0xff, 0xb2,
  41999. 0xb1, 0x4c, 0x9e, 0xc8, 0x2c, 0x93, 0x49, 0x03, 0xf9, 0xc1, 0xc4, 0xc3, 0xc7, 0x30, 0xe9, 0x3b,
  42000. 0x71, 0x72, 0x99, 0x38, 0x51, 0x72, 0x87, 0x38, 0xec, 0x6e, 0x32, 0xeb, 0xf7, 0x50, 0xe0, 0xba,
  42001. 0x53, 0x39, 0x23, 0x5d, 0xcd, 0x12, 0xc3, 0xed, 0xf4, 0xd1, 0x0e, 0x20, 0x76, 0x0f, 0x1a, 0x39,
  42002. 0x41, 0xcc, 0xc7, 0xe2, 0x09, 0xbb, 0x6e, 0x6f, 0xad, 0xce, 0x8a, 0x56, 0xd1, 0xd5, 0x36, 0x6a,
  42003. 0xb8, 0x43, 0x0b, 0xda, 0x4d, 0x77, 0x7f, 0xd1, 0x9b, 0xee, 0x81, 0x1c, 0x9f, 0xed, 0xaf, 0x58,
  42004. 0x30, 0x45, 0x3f, 0x8b, 0xe9, 0xdf, 0x1b, 0xa3, 0x10, 0xc6, 0xe9, 0xb2, 0xf3, 0x49, 0x22, 0xcb,
  42005. 0xc4, 0xfe, 0xca, 0x91, 0xac, 0x4d, 0x3a, 0xa9, 0xf8, 0x76, 0xc5, 0x24, 0x86, 0xb3, 0xd4, 0xed,
  42006. 0x6f, 0x59, 0xc0, 0x3c, 0xee, 0x4e, 0xe0, 0x30, 0xbb, 0x64, 0x1e, 0x66, 0x76, 0x3e, 0xc7, 0xe8,
  42007. 0x72, 0x8e, 0xbd, 0x04, 0x13, 0x14, 0x5a, 0x8b, 0xc2, 0xfb, 0xbb, 0x52, 0xd0, 0xce, 0x37, 0xf0,
  42008. 0x7e, 0xa5, 0xc4, 0xb7, 0x8d, 0x8a, 0x27, 0x44, 0xbf, 0x60, 0xc1, 0x50, 0xc3, 0x69, 0x3a, 0x0d,
  42009. 0x9e, 0x5c, 0xa9, 0x80, 0x75, 0xc6, 0xa8, 0x3f, 0xbf, 0x2c, 0xea, 0x72, 0xcb, 0xc2, 0x47, 0xe4,
  42010. 0xd0, 0x65, 0x71, 0xae, 0x35, 0x41, 0x35, 0x3e, 0x7b, 0x17, 0x46, 0x0d, 0x62, 0xc7, 0xaa, 0x86,
  42011. 0xfe, 0x82, 0xc5, 0x99, 0xbe, 0x52, 0x15, 0xee, 0xc1, 0x64, 0xa0, 0xfd, 0xa7, 0xec, 0x4c, 0x4a,
  42012. 0xc6, 0xf3, 0xc5, 0xd9, 0x3a, 0xe3, 0x82, 0x9a, 0x77, 0x61, 0x86, 0x20, 0x6e, 0x6f, 0xc3, 0xfe,
  42013. 0x55, 0x0b, 0x1e, 0xd1, 0x11, 0xb5, 0x00, 0xd0, 0x3c, 0xbb, 0x71, 0x15, 0x86, 0xc2, 0x26, 0x89,
  42014. 0x9c, 0x54, 0x2d, 0x3a, 0x27, 0xe7, 0xff, 0x86, 0x28, 0x3f, 0xd8, 0x9b, 0x9b, 0xd6, 0xa9, 0xcb,
  42015. 0x72, 0xac, 0x6a, 0x22, 0x1b, 0x06, 0xd8, 0xbc, 0xc4, 0x22, 0x74, 0x97, 0x25, 0x1b, 0x62, 0x97,
  42016. 0x2a, 0x31, 0x16, 0x10, 0xfb, 0x6f, 0x59, 0x7c, 0xb9, 0xe9, 0x5d, 0x47, 0x5f, 0x80, 0x89, 0x6d,
  42017. 0xaa, 0x41, 0xad, 0xdc, 0x6f, 0xd2, 0x83, 0x94, 0x5d, 0x27, 0x5b, 0x45, 0x8e, 0x8f, 0x2e, 0xc3,
  42018. 0x5d, 0x9a, 0x11, 0xbd, 0x9f, 0xb8, 0x96, 0x21, 0x8b, 0xdb, 0x1a, 0xb2, 0xff, 0x61, 0x89, 0xef,
  42019. 0x59, 0x26, 0xc3, 0x3d, 0x03, 0x83, 0xcd, 0xd0, 0x5d, 0x5e, 0xab, 0x62, 0x31, 0x57, 0x8a, 0xe9,
  42020. 0xd4, 0x78, 0x31, 0x96, 0x70, 0x74, 0x01, 0x80, 0xdc, 0x4f, 0x48, 0x14, 0x38, 0xbe, 0xba, 0x06,
  42021. 0x56, 0xa2, 0xd2, 0x8a, 0x82, 0x60, 0x0d, 0x8b, 0xd6, 0x69, 0x46, 0xe1, 0x8e, 0xe7, 0xb2, 0xc8,
  42022. 0x85, 0xb2, 0x59, 0xa7, 0xa6, 0x20, 0x58, 0xc3, 0xa2, 0x7a, 0x6b, 0x2b, 0x88, 0xf9, 0x31, 0xe6,
  42023. 0xdc, 0x11, 0xb9, 0x71, 0x86, 0x52, 0xbd, 0xf5, 0xa6, 0x0e, 0xc4, 0x26, 0x2e, 0xba, 0x02, 0x03,
  42024. 0x89, 0xc3, 0x2e, 0x37, 0xfb, 0x8b, 0x78, 0x8a, 0xac, 0x53, 0x5c, 0x3d, 0x19, 0x11, 0xad, 0x8a,
  42025. 0x05, 0x09, 0xfb, 0x3f, 0x55, 0x00, 0x52, 0xa9, 0x0b, 0x7d, 0xb9, 0x7d, 0xc3, 0x7f, 0xb4, 0xa8,
  42026. 0xc8, 0xf6, 0xe0, 0x76, 0x3b, 0xfa, 0x9a, 0x05, 0xc3, 0x8e, 0xef, 0x87, 0x0d, 0x27, 0x61, 0xd3,
  42027. 0x53, 0x2a, 0xca, 0x7a, 0x44, 0x4f, 0x16, 0xd3, 0xba, 0xbc, 0x33, 0x2f, 0xca, 0x0b, 0x47, 0x0d,
  42028. 0x92, 0xdb, 0x1f, 0xbd, 0x0b, 0xe8, 0x23, 0x52, 0x6a, 0xe7, 0x5f, 0x78, 0x36, 0x2b, 0xb5, 0x57,
  42029. 0x18, 0xc3, 0xd5, 0x04, 0x76, 0xf4, 0xb6, 0x91, 0x4b, 0xa6, 0xaf, 0x48, 0xf8, 0xa9, 0x21, 0x87,
  42030. 0xe4, 0xa5, 0x91, 0x41, 0x6f, 0xea, 0x2e, 0xd5, 0xfd, 0x45, 0xe2, 0xbb, 0x35, 0x71, 0x38, 0xc7,
  42031. 0x9d, 0x3a, 0x81, 0x71, 0xd7, 0x3c, 0x79, 0x85, 0x5b, 0xd8, 0x0b, 0xf9, 0x2d, 0x64, 0x8e, 0xec,
  42032. 0xf4, 0xac, 0xcd, 0x00, 0x70, 0xb6, 0x09, 0xf4, 0x26, 0x77, 0x78, 0x5f, 0x0b, 0x36, 0x42, 0xe1,
  42033. 0x1a, 0x76, 0xbe, 0xc0, 0x37, 0xdf, 0x8d, 0x13, 0xb2, 0x4d, 0xeb, 0xa4, 0x87, 0xeb, 0x75, 0x41,
  42034. 0x05, 0x2b, 0x7a, 0x68, 0x1d, 0x06, 0x58, 0xb4, 0x51, 0x3c, 0x33, 0x54, 0xc4, 0x12, 0x67, 0x06,
  42035. 0xd9, 0xa6, 0xfb, 0x87, 0xfd, 0x8d, 0xb1, 0xa0, 0x85, 0x2e, 0xcb, 0x30, 0xfb, 0x78, 0x2d, 0xb8,
  42036. 0x19, 0x13, 0x16, 0x66, 0x5f, 0x59, 0xfa, 0x50, 0x1a, 0x37, 0xcf, 0xcb, 0x3b, 0x66, 0xd3, 0x33,
  42037. 0x6a, 0x52, 0xc1, 0x46, 0xfc, 0x97, 0x49, 0xfa, 0x66, 0xa0, 0x48, 0x47, 0xcd, 0x94, 0x7e, 0xe9,
  42038. 0x64, 0xdf, 0x32, 0x89, 0xe1, 0x2c, 0xf5, 0x13, 0x3d, 0x52, 0x67, 0x03, 0x98, 0xc8, 0x6e, 0xca,
  42039. 0x63, 0x3d, 0xc2, 0x7f, 0xd2, 0x07, 0x63, 0xe6, 0xe2, 0x40, 0x0b, 0x50, 0x11, 0x44, 0x54, 0xd2,
  42040. 0x2e, 0xb5, 0x07, 0xae, 0x49, 0x00, 0x4e, 0x71, 0x58, 0xfa, 0x32, 0x56, 0x5d, 0x73, 0x0a, 0x4a,
  42041. 0xd3, 0x97, 0x29, 0x08, 0xd6, 0xb0, 0xa8, 0x24, 0x7c, 0x27, 0x0c, 0x13, 0x75, 0x12, 0xa8, 0x75,
  42042. 0xb3, 0xc4, 0x4a, 0xb1, 0x80, 0xd2, 0x13, 0xe0, 0x2e, 0xfd, 0x98, 0xbe, 0x69, 0x55, 0x54, 0x27,
  42043. 0xc0, 0x15, 0x1d, 0x88, 0x4d, 0x5c, 0x7a, 0xa2, 0x85, 0x31, 0x5b, 0x88, 0x42, 0xde, 0x4e, 0x9d,
  42044. 0xac, 0xea, 0x3c, 0x02, 0x4f, 0xc2, 0xd1, 0x67, 0xe0, 0x11, 0x15, 0x30, 0x87, 0xb9, 0x95, 0x56,
  42045. 0xb6, 0x38, 0x60, 0xa8, 0xcc, 0x8f, 0x2c, 0x77, 0x46, 0xc3, 0xdd, 0xea, 0xa3, 0xd7, 0x60, 0x4c,
  42046. 0xc8, 0xca, 0x92, 0xe2, 0xa0, 0x79, 0x03, 0x7f, 0xc5, 0x80, 0xe2, 0x0c, 0x36, 0xaa, 0xc2, 0x04,
  42047. 0x2d, 0x61, 0x42, 0xaa, 0xa4, 0xc0, 0x03, 0xff, 0xd4, 0x51, 0x7f, 0x25, 0x03, 0xc7, 0x6d, 0x35,
  42048. 0xd0, 0x22, 0x8c, 0x73, 0x61, 0x85, 0x2a, 0x86, 0xec, 0x3b, 0x08, 0x7f, 0x4e, 0xb5, 0x11, 0x6e,
  42049. 0x98, 0x60, 0x9c, 0xc5, 0x47, 0x17, 0x61, 0xc4, 0x89, 0x1a, 0x5b, 0x5e, 0x42, 0x1a, 0x49, 0x2b,
  42050. 0xe2, 0x49, 0x2c, 0x34, 0x17, 0x86, 0x45, 0x0d, 0x86, 0x0d, 0x4c, 0xfb, 0xf3, 0x30, 0xd5, 0xc1,
  42051. 0x79, 0x9c, 0x2e, 0x1c, 0xa7, 0xe9, 0xc9, 0x31, 0x65, 0xdc, 0xa5, 0x16, 0x6b, 0x6b, 0x72, 0x34,
  42052. 0x1a, 0x16, 0x5d, 0x9d, 0xcc, 0x3c, 0xad, 0xe5, 0xd4, 0x54, 0xab, 0x73, 0x55, 0x02, 0x70, 0x8a,
  42053. 0x63, 0xff, 0x45, 0x05, 0x34, 0xeb, 0x4d, 0x01, 0x17, 0x99, 0x8b, 0x30, 0x22, 0xd3, 0xc4, 0x6a,
  42054. 0xe9, 0x19, 0xd5, 0x30, 0x2f, 0x69, 0x30, 0x6c, 0x60, 0xd2, 0xbe, 0x05, 0xd2, 0x26, 0x95, 0x75,
  42055. 0xce, 0x52, 0xc6, 0x2a, 0x9c, 0xe2, 0xa0, 0xf3, 0x30, 0x14, 0x13, 0x7f, 0xe3, 0xaa, 0x17, 0xdc,
  42056. 0x15, 0x0b, 0x5b, 0x71, 0xe6, 0xba, 0x28, 0xc7, 0x0a, 0x03, 0x2d, 0x41, 0xb9, 0xe5, 0xb9, 0x62,
  42057. 0x29, 0x4b, 0xb1, 0xa1, 0x7c, 0x73, 0xad, 0x7a, 0xb0, 0x37, 0xf7, 0x44, 0xb7, 0x9c, 0xb9, 0x54,
  42058. 0x3f, 0x8f, 0xe7, 0xe9, 0xf6, 0xa3, 0x95, 0x3b, 0xd9, 0xe9, 0x07, 0x7a, 0xb4, 0xd3, 0x5f, 0x00,
  42059. 0x10, 0xa3, 0x96, 0x6b, 0xb9, 0x9c, 0x7e, 0xb5, 0x4b, 0x0a, 0x82, 0x35, 0x2c, 0xaa, 0xe5, 0x37,
  42060. 0x22, 0xe2, 0x48, 0x45, 0x98, 0x3b, 0x35, 0x0f, 0x1d, 0x5d, 0xcb, 0x5f, 0xce, 0x12, 0xc3, 0xed,
  42061. 0xf4, 0x51, 0x08, 0x93, 0xae, 0x88, 0xca, 0x4c, 0x1b, 0xad, 0xf4, 0xee, 0x49, 0x4d, 0x1b, 0xac,
  42062. 0x66, 0x09, 0xe1, 0x76, 0xda, 0xe8, 0x73, 0x30, 0x2b, 0x0b, 0xdb, 0x43, 0x62, 0xd9, 0x76, 0x29,
  42063. 0x2f, 0x9d, 0xd9, 0xdf, 0x9b, 0x9b, 0xad, 0x76, 0xc5, 0xc2, 0x87, 0x50, 0x40, 0x6f, 0xc1, 0x00,
  42064. 0xbb, 0xd7, 0x89, 0x67, 0x86, 0xd9, 0x89, 0xf7, 0x52, 0x11, 0x7f, 0x7c, 0xba, 0xea, 0xe7, 0xd9,
  42065. 0xed, 0x90, 0xf0, 0x34, 0x4d, 0x2f, 0xcb, 0x58, 0x21, 0x16, 0x34, 0x51, 0x13, 0x86, 0x9d, 0x20,
  42066. 0x08, 0x13, 0x87, 0x0b, 0x62, 0x23, 0x45, 0x64, 0x49, 0xad, 0x89, 0xc5, 0xb4, 0x2e, 0x6f, 0x47,
  42067. 0x39, 0xaf, 0x69, 0x10, 0xac, 0x37, 0x81, 0xee, 0xc1, 0x78, 0x78, 0x8f, 0x32, 0x4c, 0x79, 0xb5,
  42068. 0x11, 0xcf, 0x8c, 0x9a, 0x03, 0xcb, 0x31, 0xd4, 0x1a, 0x95, 0x35, 0x4e, 0x66, 0x12, 0xc5, 0xd9,
  42069. 0x56, 0xd0, 0xbc, 0x61, 0xae, 0x1e, 0x4b, 0xfd, 0xa9, 0x53, 0x73, 0xb5, 0x6e, 0x9d, 0x66, 0x61,
  42070. 0xd7, 0xdc, 0x87, 0x92, 0x71, 0x84, 0xf1, 0x4c, 0xd8, 0x75, 0x0a, 0xc2, 0x3a, 0xde, 0xec, 0xc7,
  42071. 0x60, 0x58, 0x9b, 0xf8, 0x5e, 0x1c, 0x77, 0x67, 0x5f, 0x83, 0x89, 0xec, 0x84, 0xf6, 0xe4, 0xf8,
  42072. 0xfb, 0x3f, 0x4b, 0x30, 0xde, 0xe1, 0xde, 0xe8, 0xae, 0xc7, 0x9c, 0xcf, 0x0d, 0xd6, 0x77, 0xc5,
  42073. 0x0b, 0x5c, 0xcc, 0x20, 0x26, 0x03, 0x2b, 0x15, 0x60, 0x60, 0x92, 0x9b, 0x96, 0xbb, 0x72, 0x53,
  42074. 0xc1, 0xb4, 0xfa, 0xde, 0x0f, 0xd3, 0x32, 0xcf, 0x89, 0xfe, 0x42, 0xe7, 0xc4, 0x03, 0x60, 0x74,
  42075. 0xc6, 0x51, 0x33, 0x58, 0xe0, 0xa8, 0xf9, 0x66, 0x09, 0x26, 0x52, 0x27, 0x67, 0x91, 0x3b, 0xfa,
  42076. 0xf8, 0xaf, 0x21, 0xd6, 0x8d, 0x6b, 0x88, 0xbc, 0xd4, 0xd0, 0x99, 0xfe, 0x75, 0xbd, 0x92, 0x78,
  42077. 0x2b, 0x73, 0x25, 0xf1, 0x52, 0x8f, 0x74, 0x0f, 0xbf, 0x9e, 0xf8, 0x6e, 0x09, 0x4e, 0x65, 0xab,
  42078. 0x2c, 0xfb, 0x8e, 0xb7, 0x7d, 0x02, 0xf3, 0xf5, 0x19, 0x63, 0xbe, 0x5e, 0xe9, 0x6d, 0x5c, 0xac,
  42079. 0x93, 0x5d, 0x27, 0xcd, 0xc9, 0x4c, 0xda, 0xc7, 0x8e, 0x42, 0xfc, 0xf0, 0x99, 0xfb, 0x43, 0x0b,
  42080. 0x1e, 0xed, 0x58, 0xef, 0x04, 0x0c, 0xaf, 0x6f, 0x98, 0x86, 0xd7, 0x17, 0x8f, 0x30, 0xba, 0x2e,
  42081. 0x96, 0xd8, 0x5f, 0x2b, 0x77, 0x19, 0x15, 0x33, 0x4d, 0xdd, 0x80, 0x61, 0xa7, 0xd1, 0x20, 0x71,
  42082. 0x7c, 0x2d, 0x74, 0x55, 0x02, 0xa7, 0xe7, 0xd9, 0xd9, 0x92, 0x16, 0x1f, 0xec, 0xcd, 0xcd, 0x66,
  42083. 0x49, 0xa4, 0x60, 0xac, 0x53, 0x30, 0x53, 0xcb, 0x95, 0x8e, 0x29, 0xb5, 0xdc, 0x05, 0x80, 0x1d,
  42084. 0xa5, 0xc5, 0x66, 0x2d, 0x5e, 0x9a, 0x7e, 0xab, 0x61, 0xa1, 0xff, 0x9f, 0x49, 0x84, 0xdc, 0x49,
  42085. 0xa3, 0xcf, 0x8c, 0x97, 0xcc, 0xf9, 0x7e, 0xba, 0xc3, 0x07, 0x0f, 0xcb, 0x54, 0xd6, 0x41, 0x45,
  42086. 0x12, 0x7d, 0x0a, 0x26, 0x62, 0x1e, 0xfc, 0xbf, 0xec, 0x3b, 0x31, 0xf3, 0xee, 0x17, 0xfc, 0x94,
  42087. 0x45, 0x58, 0xd6, 0x33, 0x30, 0xdc, 0x86, 0x6d, 0x7f, 0xa7, 0x0c, 0x1f, 0x3c, 0x64, 0xd9, 0xa2,
  42088. 0x45, 0xf3, 0xd6, 0xf6, 0xb9, 0xac, 0xfd, 0x67, 0xb6, 0x63, 0x65, 0xc3, 0x20, 0x94, 0xf9, 0xda,
  42089. 0xa5, 0xf7, 0xfd, 0xb5, 0xbf, 0xae, 0x5b, 0xeb, 0xb8, 0xdf, 0xe6, 0xa5, 0x23, 0x6f, 0xcc, 0x9f,
  42090. 0x56, 0x63, 0xfd, 0x97, 0x2c, 0x78, 0xa2, 0xe3, 0xb0, 0x0c, 0x2f, 0x91, 0x05, 0xa8, 0x34, 0x68,
  42091. 0xa1, 0x16, 0x8b, 0x93, 0x06, 0xc1, 0x49, 0x00, 0x4e, 0x71, 0x0c, 0x67, 0x90, 0x52, 0xae, 0x33,
  42092. 0xc8, 0xef, 0x5b, 0x30, 0x9d, 0xed, 0xc4, 0x09, 0xf0, 0xad, 0xba, 0xc9, 0xb7, 0xe6, 0x7b, 0xfb,
  42093. 0xf8, 0x5d, 0x58, 0xd6, 0x7f, 0x1f, 0x83, 0xd3, 0x6d, 0xa7, 0x1e, 0x9f, 0xc5, 0x9f, 0xb3, 0x60,
  42094. 0x72, 0x93, 0x49, 0xef, 0x5a, 0xc0, 0x93, 0x18, 0x57, 0x4e, 0x94, 0xd8, 0xa1, 0x71, 0x52, 0x5c,
  42095. 0x17, 0x69, 0x43, 0xc1, 0xed, 0x8d, 0xa1, 0xaf, 0x5a, 0x30, 0xed, 0xdc, 0x8b, 0xdb, 0x5e, 0x36,
  42096. 0x11, 0x0b, 0xe9, 0xb5, 0x1c, 0x63, 0x59, 0xce, 0x9b, 0x28, 0x4b, 0x33, 0xfb, 0x7b, 0x73, 0xd3,
  42097. 0x9d, 0xb0, 0x70, 0xc7, 0x56, 0xe9, 0xf7, 0xdd, 0x12, 0xe1, 0x14, 0xc5, 0x42, 0xf7, 0x3a, 0x05,
  42098. 0x5f, 0x70, 0xb6, 0x26, 0x21, 0x58, 0x51, 0x44, 0xef, 0x40, 0x65, 0x53, 0xc6, 0x38, 0x65, 0xd9,
  42099. 0x66, 0x97, 0x69, 0xee, 0x14, 0x12, 0xc5, 0x7d, 0xf7, 0x15, 0x08, 0xa7, 0x44, 0xd1, 0x65, 0x28,
  42100. 0x07, 0x1b, 0xb1, 0x88, 0x26, 0xce, 0xf3, 0x01, 0x32, 0x3d, 0xaf, 0x78, 0x00, 0xe6, 0xf5, 0xd5,
  42101. 0x3a, 0xa6, 0x24, 0x28, 0xa5, 0xe8, 0x8e, 0x2b, 0xac, 0xc4, 0x39, 0x94, 0xf0, 0x52, 0xb5, 0x9d,
  42102. 0x12, 0x5e, 0xaa, 0x62, 0x4a, 0x02, 0xd5, 0xa0, 0x9f, 0x05, 0x6b, 0x08, 0x13, 0x70, 0x4e, 0xc8,
  42103. 0x79, 0x5b, 0x48, 0x0a, 0xcf, 0x80, 0xc8, 0x8a, 0x31, 0x27, 0x84, 0xd6, 0x61, 0xa0, 0xc1, 0x92,
  42104. 0xf8, 0x0b, 0xdd, 0x3c, 0x2f, 0x19, 0x43, 0x5b, 0xc2, 0x7f, 0x7e, 0xef, 0xc5, 0xcb, 0xb1, 0xa0,
  42105. 0xc5, 0xa8, 0x92, 0xe6, 0xd6, 0x46, 0x2c, 0x94, 0xef, 0x3c, 0xaa, 0x6d, 0xcf, 0x31, 0x08, 0xaa,
  42106. 0xac, 0x1c, 0x0b, 0x5a, 0xa8, 0x0a, 0xa5, 0x8d, 0x86, 0x48, 0xa4, 0x9a, 0x63, 0xfa, 0x35, 0xa3,
  42107. 0x69, 0x97, 0x06, 0xf6, 0xf7, 0xe6, 0x4a, 0xab, 0xcb, 0xb8, 0xb4, 0xd1, 0x40, 0x6f, 0xc0, 0xe0,
  42108. 0x06, 0x8f, 0x8f, 0x14, 0x49, 0x53, 0x5f, 0xc8, 0x0b, 0xe2, 0x6c, 0x0b, 0xa6, 0xe4, 0xf1, 0x19,
  42109. 0x02, 0x80, 0x25, 0x39, 0x96, 0x4f, 0x4e, 0x45, 0x7c, 0x8a, 0xac, 0xa9, 0xf3, 0xbd, 0x45, 0x88,
  42110. 0x0a, 0x9d, 0x54, 0x95, 0x62, 0x8d, 0x22, 0x5d, 0xf3, 0x8e, 0x7c, 0x8f, 0x84, 0x65, 0x4c, 0xcd,
  42111. 0x5d, 0xf3, 0x1d, 0x9f, 0x2f, 0xe1, 0x6b, 0x5e, 0x81, 0x70, 0x4a, 0x14, 0xb5, 0x60, 0x74, 0x27,
  42112. 0x6e, 0x6e, 0x11, 0xb9, 0xf5, 0x59, 0x1a, 0xd5, 0xe1, 0x0b, 0x9f, 0xc8, 0xc9, 0x8d, 0x2b, 0xaa,
  42113. 0x78, 0x51, 0xd2, 0x72, 0xfc, 0x36, 0x0e, 0xc6, 0x12, 0x78, 0xdd, 0xd2, 0xc9, 0x62, 0xb3, 0x15,
  42114. 0xfa, 0x49, 0xde, 0x6b, 0x85, 0x77, 0x76, 0x13, 0x22, 0xd2, 0xac, 0xe6, 0x7c, 0x92, 0xd7, 0x39,
  42115. 0x72, 0xfb, 0x27, 0x11, 0x00, 0x2c, 0xc9, 0xa9, 0x29, 0x63, 0xdc, 0x78, 0xa2, 0xf0, 0x94, 0xb5,
  42116. 0x8d, 0x21, 0x9d, 0x32, 0xc6, 0x7d, 0x53, 0xa2, 0x8c, 0xeb, 0x36, 0xb7, 0xc2, 0x24, 0x0c, 0x32,
  42117. 0xbc, 0x7f, 0xb2, 0x08, 0xd7, 0xad, 0x75, 0xa8, 0xd9, 0xce, 0x75, 0x3b, 0x61, 0xe1, 0x8e, 0xad,
  42118. 0xa2, 0x00, 0xc6, 0x9a, 0x61, 0x94, 0xdc, 0x0b, 0x23, 0xb9, 0x0e, 0x51, 0x21, 0x1d, 0xd1, 0xa8,
  42119. 0x23, 0xda, 0x66, 0x6e, 0xb8, 0x26, 0x04, 0x67, 0xa8, 0xd3, 0x4f, 0x17, 0x37, 0x1c, 0x9f, 0xac,
  42120. 0xdd, 0x98, 0x99, 0x2a, 0xf2, 0xe9, 0xea, 0x1c, 0xb9, 0xfd, 0xd3, 0x09, 0x00, 0x96, 0xe4, 0xec,
  42121. 0x5f, 0x1d, 0x68, 0x17, 0x1c, 0x98, 0x6a, 0xf0, 0x37, 0xdb, 0x6f, 0x62, 0x3f, 0xd5, 0xbb, 0x06,
  42122. 0xfc, 0x00, 0xef, 0x64, 0xbf, 0x6a, 0xc1, 0xe9, 0x66, 0x47, 0xb1, 0x40, 0x1c, 0xbd, 0xbd, 0x2a,
  42123. 0xd2, 0x7c, 0x5a, 0x54, 0x36, 0xe4, 0xce, 0x70, 0xdc, 0xa5, 0xcd, 0xac, 0x30, 0x5d, 0x7e, 0xdf,
  42124. 0xc2, 0xf4, 0x6d, 0x18, 0x62, 0xd2, 0x5f, 0x9a, 0xeb, 0xa4, 0xc7, 0xb4, 0x20, 0xec, 0x10, 0x5f,
  42125. 0x16, 0x24, 0xb0, 0x22, 0x46, 0x27, 0xee, 0xf1, 0xec, 0x20, 0x30, 0x61, 0x60, 0x91, 0x83, 0x8f,
  42126. 0x6b, 0x2a, 0xab, 0x62, 0x26, 0x1e, 0xaf, 0x1d, 0x86, 0x7c, 0x90, 0x87, 0x80, 0x0f, 0x6f, 0x0c,
  42127. 0x55, 0x3b, 0xa8, 0x4a, 0x03, 0xe6, 0xb5, 0x4b, 0xbe, 0xba, 0x74, 0xb2, 0x22, 0xfe, 0x3f, 0xb2,
  42128. 0x3a, 0x48, 0xa4, 0x5c, 0x2d, 0xfb, 0x84, 0xa9, 0x96, 0x3d, 0x9d, 0x55, 0xcb, 0xda, 0x8c, 0x31,
  42129. 0x86, 0x46, 0x56, 0x3c, 0x87, 0x68, 0xd1, 0x64, 0x2e, 0xb6, 0x0f, 0x67, 0xf3, 0xd8, 0x1d, 0x73,
  42130. 0xc5, 0x72, 0xd5, 0x25, 0x64, 0xea, 0x8a, 0xe5, 0xae, 0x55, 0x31, 0x83, 0x14, 0xcd, 0x07, 0x60,
  42131. 0xff, 0x7c, 0x09, 0xca, 0xb5, 0xd0, 0x3d, 0x01, 0xe3, 0xd2, 0x25, 0xc3, 0xb8, 0xf4, 0x54, 0xee,
  42132. 0xfb, 0x74, 0x5d, 0x4d, 0x49, 0x37, 0x32, 0xa6, 0xa4, 0x0f, 0xe7, 0x93, 0x3a, 0xdc, 0x70, 0xf4,
  42133. 0xbd, 0x32, 0xe8, 0x2f, 0xec, 0xa1, 0xff, 0x70, 0x14, 0x0f, 0xdd, 0x72, 0xb1, 0x47, 0xf7, 0x44,
  42134. 0x1b, 0xcc, 0x93, 0x4b, 0xc6, 0xf5, 0xfd, 0xd4, 0x3a, 0xea, 0xde, 0x26, 0xde, 0xe6, 0x56, 0x42,
  42135. 0xdc, 0xec, 0xc0, 0x4e, 0xce, 0x51, 0xf7, 0xcf, 0x2d, 0x18, 0xcf, 0xb4, 0x8e, 0xfc, 0x4e, 0x01,
  42136. 0x41, 0x47, 0x34, 0x17, 0x4d, 0xe6, 0x46, 0x10, 0xcd, 0x03, 0x28, 0xab, 0xbf, 0x34, 0xc9, 0x30,
  42137. 0xe9, 0x54, 0x5d, 0x0b, 0xc4, 0x58, 0xc3, 0x40, 0x2f, 0xc3, 0x70, 0x12, 0x36, 0x43, 0x3f, 0xdc,
  42138. 0xdc, 0xbd, 0x42, 0x64, 0xa6, 0x0a, 0x75, 0x63, 0xb2, 0x9e, 0x82, 0xb0, 0x8e, 0x67, 0x7f, 0xbf,
  42139. 0x0c, 0xd9, 0xf7, 0x19, 0xff, 0xdf, 0x3a, 0xfd, 0xe9, 0x59, 0xa7, 0x7f, 0x64, 0xc1, 0x04, 0x6d,
  42140. 0x9d, 0xb9, 0xce, 0x48, 0x87, 0x5a, 0xf5, 0xa0, 0x81, 0x75, 0xc8, 0x83, 0x06, 0x4f, 0x53, 0x6e,
  42141. 0xe7, 0x86, 0xad, 0x44, 0x18, 0x91, 0x34, 0x26, 0x46, 0x4b, 0xb1, 0x80, 0x0a, 0x3c, 0x12, 0x45,
  42142. 0x22, 0xf2, 0x48, 0xc7, 0x23, 0x51, 0x84, 0x05, 0x54, 0xbe, 0x77, 0xd0, 0xd7, 0xe5, 0xbd, 0x03,
  42143. 0x96, 0xeb, 0x49, 0xb8, 0x6b, 0x08, 0xb1, 0x42, 0xcb, 0xf5, 0x24, 0xfd, 0x38, 0x52, 0x1c, 0xfb,
  42144. 0xdb, 0x65, 0x18, 0xa9, 0x85, 0x6e, 0xea, 0x29, 0xff, 0x92, 0xe1, 0x29, 0x7f, 0x36, 0xe3, 0x29,
  42145. 0x3f, 0xa1, 0xe3, 0x3e, 0x18, 0x47, 0x79, 0x91, 0x13, 0x8c, 0xbd, 0xc8, 0x71, 0x44, 0x27, 0x79,
  42146. 0x23, 0x27, 0x98, 0x22, 0x84, 0x4d, 0xba, 0x3f, 0x4b, 0xce, 0xf1, 0xff, 0xdb, 0x82, 0xb1, 0x5a,
  42147. 0xe8, 0xd2, 0x05, 0xfa, 0xb3, 0xb4, 0x1a, 0xf5, 0x4c, 0x62, 0x03, 0x87, 0x64, 0x12, 0xfb, 0x75,
  42148. 0x0b, 0x06, 0x6b, 0xa1, 0x7b, 0x02, 0x06, 0xd6, 0x55, 0xd3, 0xc0, 0xfa, 0x44, 0x2e, 0xe7, 0xed,
  42149. 0x62, 0x53, 0xfd, 0x4e, 0x19, 0x46, 0x69, 0x8f, 0xc3, 0x4d, 0xf9, 0xbd, 0x8c, 0xb9, 0xb1, 0x0a,
  42150. 0xcc, 0x0d, 0x15, 0x09, 0x43, 0xdf, 0x0f, 0xef, 0x65, 0xbf, 0xdd, 0x2a, 0x2b, 0xc5, 0x02, 0x8a,
  42151. 0xce, 0xc3, 0x50, 0x33, 0x22, 0x3b, 0x5e, 0xd8, 0x8a, 0xb3, 0x51, 0x8c, 0x35, 0x51, 0x8e, 0x15,
  42152. 0x06, 0x7a, 0x09, 0x46, 0x62, 0x2f, 0x68, 0x10, 0xe9, 0xcc, 0xd1, 0xc7, 0x9c, 0x39, 0x78, 0xd2,
  42153. 0x46, 0xad, 0x1c, 0x1b, 0x58, 0xe8, 0x36, 0x54, 0xd8, 0x7f, 0xb6, 0x83, 0x7a, 0x7f, 0xb0, 0x80,
  42154. 0x67, 0x2a, 0x93, 0x04, 0x70, 0x4a, 0x0b, 0x5d, 0x00, 0x48, 0xa4, 0xdb, 0x49, 0x2c, 0xf2, 0xad,
  42155. 0x28, 0xb9, 0x54, 0x39, 0xa4, 0xc4, 0x58, 0xc3, 0x42, 0xcf, 0x41, 0x25, 0x71, 0x3c, 0xff, 0xaa,
  42156. 0x17, 0x90, 0x58, 0xb8, 0xed, 0x88, 0x04, 0xcc, 0xa2, 0x10, 0xa7, 0x70, 0x7a, 0xde, 0xb3, 0x18,
  42157. 0x6a, 0xfe, 0x18, 0xca, 0x10, 0xc3, 0x66, 0xe7, 0xfd, 0x55, 0x55, 0x8a, 0x35, 0x0c, 0xfb, 0x22,
  42158. 0x9c, 0xaa, 0x85, 0x6e, 0x2d, 0x8c, 0x92, 0xd5, 0x30, 0xba, 0xe7, 0x44, 0xae, 0xfc, 0x7e, 0x73,
  42159. 0x32, 0xef, 0x2f, 0x3d, 0x93, 0xfb, 0xb9, 0xcd, 0xd1, 0xc8, 0xe3, 0xfb, 0x22, 0x3b, 0xf1, 0x7b,
  42160. 0x0c, 0xc1, 0xf8, 0x51, 0x09, 0x50, 0x8d, 0x39, 0xc6, 0x18, 0x6f, 0xe7, 0x6c, 0xc1, 0x58, 0x4c,
  42161. 0xae, 0x7a, 0x41, 0xeb, 0xbe, 0x20, 0x55, 0x2c, 0xe6, 0xa5, 0xbe, 0xa2, 0xd7, 0xe1, 0x96, 0x0e,
  42162. 0xb3, 0x0c, 0x67, 0xe8, 0xd2, 0xc9, 0x8c, 0x5a, 0xc1, 0x62, 0x7c, 0x33, 0x26, 0x91, 0x78, 0x2b,
  42163. 0x86, 0x4d, 0x26, 0x96, 0x85, 0x38, 0x85, 0xd3, 0xc5, 0xc3, 0xfe, 0x5c, 0x0f, 0x03, 0x1c, 0x86,
  42164. 0x89, 0x5c, 0x6e, 0xec, 0xed, 0x00, 0xad, 0x1c, 0x1b, 0x58, 0x68, 0x15, 0x50, 0xdc, 0x6a, 0x36,
  42165. 0x7d, 0x76, 0xd7, 0xe8, 0xf8, 0x97, 0xa2, 0xb0, 0xd5, 0xe4, 0xfe, 0xd1, 0x22, 0xed, 0x7e, 0xbd,
  42166. 0x0d, 0x8a, 0x3b, 0xd4, 0xa0, 0xcc, 0x62, 0x23, 0x66, 0xbf, 0x45, 0x40, 0x35, 0xb7, 0x57, 0xd6,
  42167. 0x59, 0x11, 0x96, 0x30, 0xfb, 0x8b, 0xec, 0x80, 0x63, 0x8f, 0x78, 0x24, 0xad, 0x88, 0xa0, 0x6d,
  42168. 0x18, 0x6d, 0xb2, 0x43, 0x2c, 0x89, 0x42, 0xdf, 0x27, 0x52, 0xbe, 0x3c, 0x9a, 0x6b, 0x0e, 0x4f,
  42169. 0xdb, 0xaf, 0x93, 0xc3, 0x26, 0x75, 0xfb, 0x17, 0xc7, 0x18, 0xaf, 0x12, 0xd7, 0xbd, 0x83, 0xc2,
  42170. 0x09, 0x57, 0x48, 0x72, 0x1f, 0x2a, 0xf2, 0x1c, 0x57, 0x7a, 0x0e, 0x08, 0x97, 0x5e, 0x2c, 0xa9,
  42171. 0xa0, 0xcf, 0x32, 0x17, 0x73, 0xce, 0x20, 0x8a, 0x3f, 0x32, 0xc8, 0xf1, 0x0d, 0xf7, 0x72, 0x41,
  42172. 0x02, 0x6b, 0xe4, 0xd0, 0x55, 0x18, 0x15, 0x6f, 0x3e, 0x08, 0x33, 0x45, 0xd9, 0x50, 0xb1, 0x47,
  42173. 0xb1, 0x0e, 0x3c, 0xc8, 0x16, 0x60, 0xb3, 0x32, 0xda, 0x84, 0xc7, 0xb5, 0x37, 0x8d, 0x3a, 0xb8,
  42174. 0x91, 0x71, 0xce, 0xf3, 0xc4, 0xfe, 0xde, 0xdc, 0xe3, 0xeb, 0x87, 0x21, 0xe2, 0xc3, 0xe9, 0xa0,
  42175. 0x1b, 0x70, 0xca, 0x69, 0x24, 0xde, 0x0e, 0xa9, 0x12, 0xc7, 0xf5, 0xbd, 0x80, 0x98, 0x51, 0xf7,
  42176. 0x8f, 0xee, 0xef, 0xcd, 0x9d, 0x5a, 0xec, 0x84, 0x80, 0x3b, 0xd7, 0x43, 0x9f, 0x80, 0x8a, 0x1b,
  42177. 0xc4, 0x62, 0x0e, 0x06, 0x8c, 0x27, 0xbc, 0x2a, 0xd5, 0xeb, 0x75, 0x35, 0xfe, 0xf4, 0x0f, 0x4e,
  42178. 0x2b, 0xa0, 0xf7, 0xf8, 0x13, 0xf5, 0x4a, 0x9b, 0xe1, 0x4f, 0xc7, 0xbd, 0x52, 0x48, 0x7f, 0x36,
  42179. 0x62, 0x61, 0xb8, 0x05, 0x4f, 0xb9, 0x6b, 0x1a, 0x61, 0x32, 0x46, 0x13, 0xe8, 0xd3, 0x80, 0x62,
  42180. 0x12, 0xed, 0x78, 0x0d, 0xb2, 0xd8, 0x60, 0x99, 0x4e, 0x99, 0x8d, 0x67, 0xc8, 0x88, 0x5b, 0x40,
  42181. 0xf5, 0x36, 0x0c, 0xdc, 0xa1, 0x16, 0xba, 0x4c, 0x39, 0x8f, 0x5e, 0x2a, 0xbc, 0x6b, 0xa5, 0x60,
  42182. 0x38, 0x53, 0x25, 0xcd, 0x88, 0x34, 0x9c, 0x84, 0xb8, 0x26, 0x45, 0x9c, 0xa9, 0x47, 0xcf, 0x25,
  42183. 0x95, 0xcc, 0x1e, 0x4c, 0x9f, 0xd0, 0xf6, 0x84, 0xf6, 0x54, 0xcf, 0xda, 0x0a, 0xe3, 0xe4, 0x3a,
  42184. 0x49, 0xee, 0x85, 0xd1, 0x5d, 0x76, 0x87, 0x31, 0xa4, 0xa5, 0x8d, 0x4b, 0x41, 0x58, 0xc7, 0xa3,
  42185. 0x32, 0x14, 0xbb, 0x3c, 0x5b, 0xab, 0xb2, 0x9b, 0x89, 0xa1, 0x74, 0xef, 0x5c, 0xe6, 0xc5, 0x58,
  42186. 0xc2, 0x25, 0xea, 0x5a, 0x6d, 0x99, 0xdd, 0x32, 0x64, 0x50, 0xd7, 0x6a, 0xcb, 0x58, 0xc2, 0x51,
  42187. 0xd8, 0xfe, 0x50, 0xda, 0x58, 0x91, 0x1b, 0x9f, 0x76, 0x4e, 0x5e, 0xf0, 0xad, 0xb4, 0xfb, 0x30,
  42188. 0xa1, 0x1e, 0x6b, 0xe3, 0x19, 0x3d, 0xe3, 0x99, 0xf1, 0x22, 0x0f, 0xe4, 0x77, 0x4c, 0x0c, 0xaa,
  42189. 0xec, 0x7a, 0x6b, 0x19, 0x9a, 0xb8, 0xad, 0x15, 0x23, 0x7b, 0xc4, 0x44, 0xee, 0x03, 0x05, 0x0b,
  42190. 0x50, 0x89, 0x5b, 0x77, 0xdc, 0x70, 0xdb, 0xf1, 0x02, 0x76, 0x15, 0xa0, 0x3f, 0xf7, 0x2e, 0x01,
  42191. 0x38, 0xc5, 0x41, 0x35, 0x18, 0x72, 0x84, 0x0a, 0x27, 0x4c, 0xf6, 0x39, 0xd1, 0xe5, 0x52, 0xe1,
  42192. 0xe3, 0xd6, 0x55, 0xf9, 0x0f, 0x2b, 0x2a, 0xe8, 0x55, 0x18, 0x15, 0xc1, 0x51, 0xc2, 0x89, 0x71,
  42193. 0xca, 0x74, 0xa4, 0xaf, 0xeb, 0x40, 0x6c, 0xe2, 0xa2, 0x4d, 0x18, 0xa3, 0x54, 0x52, 0x06, 0x38,
  42194. 0x33, 0xdd, 0x1b, 0x0f, 0xd5, 0x52, 0x41, 0xeb, 0x64, 0x70, 0x86, 0x2c, 0x72, 0xe1, 0x31, 0xa7,
  42195. 0x95, 0x84, 0xdb, 0x74, 0x27, 0x98, 0xfb, 0x64, 0x3d, 0xbc, 0x4b, 0x82, 0x99, 0x53, 0x6c, 0x05,
  42196. 0x9e, 0xdd, 0xdf, 0x9b, 0x7b, 0x6c, 0xf1, 0x10, 0x3c, 0x7c, 0x28, 0x15, 0xf4, 0x36, 0x0c, 0x27,
  42197. 0xa1, 0x2f, 0x7c, 0x93, 0xe3, 0x99, 0xd3, 0x45, 0x72, 0xda, 0xac, 0xab, 0x0a, 0xba, 0x19, 0x43,
  42198. 0x11, 0xc1, 0x3a, 0xc5, 0xd9, 0x4f, 0xc2, 0x64, 0x1b, 0x4b, 0xea, 0xc9, 0x7d, 0xf3, 0x3f, 0xf6,
  42199. 0x43, 0x45, 0x59, 0xf4, 0xd0, 0x82, 0x69, 0xbc, 0x7d, 0x34, 0x6b, 0xbc, 0x1d, 0xa2, 0x02, 0x94,
  42200. 0x6e, 0xaf, 0xfd, 0x5c, 0x87, 0xe7, 0xb9, 0x9f, 0xcd, 0xdd, 0x83, 0xc5, 0x23, 0xaa, 0x7a, 0x78,
  42201. 0xc4, 0x3c, 0xd5, 0xea, 0xfa, 0x0e, 0xd5, 0xea, 0x0a, 0x3e, 0x39, 0x47, 0xf5, 0xb7, 0x66, 0xe8,
  42202. 0xae, 0xd5, 0xb2, 0x2f, 0x2a, 0xd5, 0x68, 0x21, 0xe6, 0x30, 0x26, 0x77, 0xd3, 0x33, 0x95, 0xc9,
  42203. 0xdd, 0x83, 0x47, 0x94, 0xbb, 0x25, 0x01, 0x9c, 0xd2, 0x42, 0x3b, 0x30, 0xd9, 0x30, 0x1f, 0xc8,
  42204. 0x52, 0x71, 0x52, 0xcf, 0xf7, 0xf0, 0x40, 0x55, 0x4b, 0x7b, 0x3d, 0x63, 0x39, 0x4b, 0x0f, 0xb7,
  42205. 0x37, 0x81, 0x5e, 0x85, 0xa1, 0xf7, 0xc2, 0x98, 0x5d, 0x2b, 0x88, 0x83, 0x45, 0xc6, 0xa3, 0x0c,
  42206. 0xbd, 0x7e, 0xa3, 0xce, 0xca, 0x0f, 0xf6, 0xe6, 0x86, 0x6b, 0xa1, 0x2b, 0xff, 0x62, 0x55, 0x01,
  42207. 0x7d, 0xc9, 0x82, 0x53, 0xc6, 0x3e, 0x53, 0x3d, 0x87, 0xa3, 0xf4, 0xfc, 0x71, 0xd1, 0xf2, 0xa9,
  42208. 0xb5, 0x4e, 0x34, 0x71, 0xe7, 0xa6, 0xec, 0xdf, 0xe5, 0x26, 0x4c, 0x61, 0xd4, 0x20, 0x71, 0xcb,
  42209. 0x3f, 0x89, 0x4c, 0xf6, 0x37, 0x0c, 0x7b, 0xcb, 0x03, 0x30, 0xa2, 0xff, 0x7b, 0x8b, 0x19, 0xd1,
  42210. 0xd7, 0xc9, 0x76, 0xd3, 0x77, 0x92, 0x93, 0xf0, 0xee, 0xfd, 0x2c, 0x0c, 0x25, 0xa2, 0xb5, 0x62,
  42211. 0x69, 0xf8, 0xb5, 0xee, 0xb1, 0xcb, 0x05, 0x75, 0x30, 0xc9, 0x52, 0xac, 0x08, 0xda, 0xff, 0x9a,
  42212. 0x7f, 0x15, 0x09, 0x39, 0x01, 0x4b, 0xc1, 0x75, 0xd3, 0x52, 0xf0, 0x4c, 0xe1, 0xb1, 0x74, 0xb1,
  42213. 0x18, 0x7c, 0xdf, 0x1c, 0x01, 0xd3, 0x1f, 0x7e, 0x7a, 0x6e, 0x79, 0xec, 0x5f, 0xb1, 0x60, 0xba,
  42214. 0xd3, 0x75, 0x3b, 0x15, 0x30, 0xb8, 0xf6, 0xa2, 0xee, 0xbf, 0xd4, 0xac, 0xde, 0x12, 0xe5, 0x58,
  42215. 0x61, 0x14, 0xce, 0x8b, 0xdd, 0x5b, 0xea, 0xa6, 0x1b, 0x60, 0x3e, 0xb5, 0x86, 0x5e, 0xe3, 0xce,
  42216. 0xfc, 0x96, 0x7a, 0x0b, 0xad, 0x37, 0x47, 0x7e, 0xfb, 0x37, 0x4a, 0x30, 0xcd, 0x8d, 0xd0, 0x8b,
  42217. 0x3b, 0xa1, 0xe7, 0xd6, 0x42, 0x57, 0x84, 0x36, 0xb8, 0x30, 0xd2, 0xd4, 0x94, 0xcf, 0x62, 0xa9,
  42218. 0x60, 0x74, 0x75, 0x35, 0x15, 0xf8, 0xf5, 0x52, 0x6c, 0x50, 0xa5, 0xad, 0x90, 0x1d, 0xaf, 0xa1,
  42219. 0x6c, 0x9a, 0xa5, 0x9e, 0x4f, 0x06, 0xd5, 0xca, 0x8a, 0x46, 0x07, 0x1b, 0x54, 0x8f, 0xe1, 0x39,
  42220. 0x0b, 0xfb, 0x1f, 0x58, 0xf0, 0x48, 0x97, 0x74, 0x31, 0xb4, 0xb9, 0x7b, 0xcc, 0xf0, 0x2f, 0xde,
  42221. 0xf2, 0x53, 0xcd, 0xf1, 0xeb, 0x00, 0x2c, 0xa0, 0xe8, 0x0e, 0x00, 0x37, 0xe7, 0xb3, 0x97, 0xdd,
  42222. 0x4b, 0x45, 0xfc, 0x91, 0xda, 0x92, 0x32, 0x68, 0xf1, 0xfa, 0xea, 0x2d, 0x77, 0x8d, 0xaa, 0xfd,
  42223. 0xad, 0x32, 0xf4, 0xf3, 0x27, 0xa3, 0x6b, 0x30, 0xb8, 0xc5, 0xd3, 0xd7, 0xf6, 0x96, 0x3d, 0x37,
  42224. 0x55, 0x2e, 0x78, 0x01, 0x96, 0x64, 0xd0, 0x35, 0x98, 0xa2, 0x27, 0x8b, 0xe7, 0xf8, 0x55, 0xe2,
  42225. 0x3b, 0xbb, 0x52, 0x5b, 0xe5, 0x6f, 0x1c, 0xc8, 0x64, 0xdc, 0x53, 0x6b, 0xed, 0x28, 0xb8, 0x53,
  42226. 0x3d, 0xf4, 0x5a, 0x5b, 0xb6, 0x39, 0x9e, 0x16, 0x58, 0x49, 0xaa, 0x87, 0x67, 0x9c, 0xa3, 0xf2,
  42227. 0x74, 0xb3, 0x4d, 0x2f, 0xd7, 0x5e, 0xe6, 0x35, 0x75, 0x71, 0x13, 0x97, 0xf9, 0x16, 0xb4, 0x98,
  42228. 0x4f, 0xc5, 0xfa, 0x56, 0x44, 0xe2, 0xad, 0xd0, 0x77, 0xc5, 0xa3, 0x92, 0xa9, 0x6f, 0x41, 0x06,
  42229. 0x8e, 0xdb, 0x6a, 0x50, 0x2a, 0x1b, 0x8e, 0xe7, 0xb7, 0x22, 0x92, 0x52, 0x19, 0x30, 0xa9, 0xac,
  42230. 0x66, 0xe0, 0xb8, 0xad, 0x06, 0x5d, 0x5b, 0xa7, 0xc4, 0x3b, 0x84, 0x32, 0x38, 0x5a, 0xb0, 0xa0,
  42231. 0xcf, 0xc0, 0xa0, 0x74, 0x91, 0x2f, 0x94, 0xc3, 0x43, 0x38, 0x0e, 0xa8, 0x37, 0x0d, 0xb5, 0x37,
  42232. 0xaf, 0x84, 0x73, 0xbc, 0xa4, 0x77, 0x94, 0xf7, 0xee, 0xfe, 0xcc, 0x82, 0xa9, 0x0e, 0xae, 0x5e,
  42233. 0x9c, 0xa5, 0x6d, 0x7a, 0x71, 0xa2, 0x32, 0xee, 0x6b, 0x2c, 0x8d, 0x97, 0x63, 0x85, 0x41, 0x77,
  42234. 0x0b, 0x67, 0x9a, 0x59, 0x46, 0x29, 0x5c, 0x40, 0x04, 0xb4, 0x37, 0x46, 0x89, 0xce, 0x42, 0x5f,
  42235. 0x2b, 0x26, 0x91, 0x7c, 0x7c, 0x4e, 0xf2, 0x79, 0x66, 0x07, 0x64, 0x10, 0x2a, 0xb6, 0x6e, 0x2a,
  42236. 0x13, 0x9c, 0x26, 0xb6, 0x72, 0x23, 0x1c, 0x87, 0xd9, 0x5f, 0x2f, 0xc3, 0x78, 0xc6, 0xe5, 0x93,
  42237. 0x76, 0x64, 0x3b, 0x0c, 0xbc, 0x24, 0x54, 0x79, 0xd5, 0xf8, 0x7b, 0x57, 0xa4, 0xb9, 0x75, 0x4d,
  42238. 0x94, 0x63, 0x85, 0x81, 0x9e, 0x96, 0xef, 0x8d, 0x66, 0x5f, 0x12, 0x58, 0xaa, 0x1a, 0x4f, 0x8e,
  42239. 0x16, 0x7d, 0x05, 0xe4, 0x49, 0xe8, 0x6b, 0x86, 0xea, 0xf9, 0x68, 0xf5, 0x3d, 0xf1, 0x52, 0xb5,
  42240. 0x16, 0x86, 0x3e, 0x66, 0x40, 0xf4, 0x94, 0x18, 0x7d, 0xe6, 0xe6, 0x02, 0x3b, 0x6e, 0x18, 0x6b,
  42241. 0x53, 0xf0, 0x0c, 0x0c, 0xde, 0x25, 0xbb, 0x91, 0x17, 0x6c, 0x66, 0xef, 0x6d, 0xae, 0xf0, 0x62,
  42242. 0x2c, 0xe1, 0xe6, 0x4b, 0x1f, 0x83, 0xc7, 0xfc, 0xd2, 0xc7, 0x50, 0xee, 0x39, 0xf8, 0x1d, 0x0b,
  42243. 0xc6, 0x59, 0xb2, 0x51, 0x11, 0x9a, 0xef, 0x85, 0xc1, 0x09, 0xc8, 0x18, 0x4f, 0x42, 0x7f, 0x44,
  42244. 0x1b, 0xcd, 0xa6, 0xea, 0x67, 0x3d, 0xc1, 0x1c, 0x86, 0x1e, 0x83, 0x3e, 0xd6, 0x05, 0xfa, 0x19,
  42245. 0x47, 0x78, 0x4e, 0xf3, 0xaa, 0x93, 0x38, 0x98, 0x95, 0xb2, 0x28, 0x2b, 0x4c, 0x9a, 0xbe, 0xc7,
  42246. 0x3b, 0x9d, 0x9a, 0x5b, 0x1f, 0xb6, 0x28, 0xab, 0x8e, 0x9d, 0x7c, 0x50, 0x51, 0x56, 0x9d, 0x89,
  42247. 0x1f, 0x2e, 0xe7, 0xff, 0x8f, 0x12, 0x9c, 0xe9, 0x58, 0x2f, 0xbd, 0x01, 0x5e, 0x35, 0x6e, 0x80,
  42248. 0x2f, 0x64, 0x6e, 0x80, 0xed, 0xc3, 0x6b, 0x3f, 0x98, 0x3b, 0xe1, 0xce, 0x57, 0xb5, 0xe5, 0x13,
  42249. 0xbc, 0xaa, 0xed, 0x2b, 0x2a, 0xe2, 0xf4, 0xe7, 0x88, 0x38, 0x7f, 0x68, 0xc1, 0xa3, 0x1d, 0xa7,
  42250. 0xec, 0xa1, 0x0b, 0x6b, 0xeb, 0xd8, 0xcb, 0x2e, 0xda, 0xc9, 0x2f, 0x97, 0xbb, 0x8c, 0x8a, 0xe9,
  42251. 0x29, 0xe7, 0x28, 0x17, 0x62, 0xc0, 0x58, 0x08, 0x6f, 0x23, 0x9c, 0x03, 0xf1, 0x32, 0xac, 0xa0,
  42252. 0x28, 0xd6, 0xc2, 0xc2, 0x78, 0x27, 0x57, 0x8e, 0xb8, 0xa1, 0xe6, 0x4d, 0x3b, 0xb9, 0x9e, 0x6f,
  42253. 0x20, 0x1b, 0x2c, 0x76, 0x5b, 0xd3, 0x3c, 0xcb, 0x47, 0xd1, 0x3c, 0x47, 0x3a, 0x6b, 0x9d, 0x68,
  42254. 0x11, 0xc6, 0xb7, 0xbd, 0x80, 0x3d, 0x10, 0x6a, 0x4a, 0x4f, 0x2a, 0x36, 0xf7, 0x9a, 0x09, 0xc6,
  42255. 0x59, 0xfc, 0xd9, 0x57, 0x61, 0xf4, 0xe8, 0xd6, 0xb5, 0x1f, 0x97, 0xe1, 0x83, 0x87, 0x30, 0x05,
  42256. 0x7e, 0x3a, 0x18, 0xdf, 0x45, 0x3b, 0x1d, 0xda, 0xbe, 0x4d, 0x0d, 0xa6, 0x37, 0x5a, 0xbe, 0xbf,
  42257. 0xcb, 0xfc, 0xa7, 0x88, 0x2b, 0x31, 0x84, 0x50, 0xa3, 0x5e, 0x22, 0x5f, 0xed, 0x80, 0x83, 0x3b,
  42258. 0xd6, 0x44, 0x9f, 0x06, 0x14, 0xde, 0x61, 0xe9, 0x78, 0xdd, 0x34, 0x9f, 0x02, 0xfb, 0x04, 0xe5,
  42259. 0x74, 0xab, 0xde, 0x68, 0xc3, 0xc0, 0x1d, 0x6a, 0x51, 0x39, 0x95, 0x3d, 0x62, 0xae, 0xba, 0x95,
  42260. 0x91, 0x53, 0xb1, 0x0e, 0xc4, 0x26, 0x2e, 0xba, 0x04, 0x93, 0xce, 0x8e, 0xe3, 0xf1, 0xf4, 0x5a,
  42261. 0x92, 0x00, 0x17, 0x54, 0x95, 0xfd, 0x6a, 0x31, 0x8b, 0x80, 0xdb, 0xeb, 0xa0, 0xa6, 0x61, 0x90,
  42262. 0xe4, 0x89, 0xf8, 0x3f, 0x71, 0x84, 0x15, 0x5c, 0xd8, 0x44, 0x69, 0xff, 0x57, 0x8b, 0x1e, 0x7d,
  42263. 0x1d, 0xde, 0x92, 0xa4, 0x33, 0xa2, 0x0c, 0x6c, 0x5a, 0x98, 0x9b, 0x9a, 0x91, 0x65, 0x1d, 0x88,
  42264. 0x4d, 0x5c, 0xbe, 0x34, 0xe2, 0xd4, 0x9d, 0xdb, 0x90, 0x36, 0x45, 0x84, 0xa8, 0xc2, 0xa0, 0x12,
  42265. 0xb4, 0xeb, 0xed, 0x78, 0x71, 0x18, 0x89, 0x0d, 0xd4, 0xa3, 0x73, 0x6f, 0xca, 0x2f, 0xab, 0x9c,
  42266. 0x0c, 0x96, 0xf4, 0xec, 0x6f, 0x94, 0x60, 0x54, 0xb6, 0xf8, 0x7a, 0x2b, 0x4c, 0x9c, 0x13, 0x38,
  42267. 0xd2, 0x5f, 0x37, 0x8e, 0xf4, 0x85, 0x62, 0x01, 0xb3, 0xac, 0x73, 0x5d, 0x8f, 0xf2, 0xcf, 0x64,
  42268. 0x8e, 0xf2, 0x17, 0x7a, 0x21, 0x7a, 0xf8, 0x11, 0xfe, 0x6f, 0x2d, 0x98, 0x34, 0xf0, 0x4f, 0xe0,
  42269. 0x24, 0xa9, 0x99, 0x27, 0xc9, 0x73, 0x3d, 0x8c, 0xa6, 0xcb, 0x09, 0xf2, 0xed, 0x52, 0x66, 0x14,
  42270. 0xec, 0xe4, 0xf8, 0x02, 0xf4, 0x6d, 0x39, 0x91, 0x5b, 0x2c, 0xd7, 0x64, 0x5b, 0xf5, 0xf9, 0xcb,
  42271. 0x4e, 0xe4, 0x72, 0xfe, 0x7f, 0x5e, 0xbd, 0x74, 0xe5, 0x44, 0x6e, 0x6e, 0x94, 0x03, 0x6b, 0x14,
  42272. 0x5d, 0x84, 0x81, 0xb8, 0x11, 0x36, 0x95, 0x1f, 0xe8, 0x59, 0xfe, 0x0a, 0x16, 0x2d, 0x39, 0xd8,
  42273. 0x9b, 0x43, 0x66, 0x73, 0xb4, 0x18, 0x0b, 0xfc, 0xd9, 0x4d, 0xa8, 0xa8, 0xa6, 0x8f, 0xd5, 0x13,
  42274. 0xfe, 0xbf, 0x95, 0x61, 0xaa, 0xc3, 0x5a, 0x41, 0x5f, 0x34, 0xe6, 0xed, 0xd5, 0x9e, 0x17, 0xdb,
  42275. 0xfb, 0x9c, 0xb9, 0x2f, 0x32, 0x4d, 0xc9, 0x15, 0xab, 0xe3, 0x08, 0xcd, 0xdf, 0x8c, 0x49, 0xb6,
  42276. 0x79, 0x5a, 0x94, 0xdf, 0x3c, 0x6d, 0xf6, 0xc4, 0xa6, 0x9f, 0x36, 0xa4, 0x7a, 0x7a, 0xac, 0xdf,
  42277. 0xf9, 0xaf, 0xf5, 0xc1, 0x74, 0xa7, 0xc8, 0x7c, 0xf4, 0x15, 0x2b, 0xf3, 0xa0, 0xc4, 0x6b, 0xbd,
  42278. 0x87, 0xf7, 0xf3, 0x57, 0x26, 0x44, 0x36, 0x9b, 0x79, 0xf3, 0x89, 0x89, 0xdc, 0x19, 0x17, 0xad,
  42279. 0xb3, 0xf8, 0xa4, 0x88, 0x3f, 0x0e, 0x22, 0xb9, 0xc2, 0xa7, 0x8e, 0xd0, 0x15, 0xf1, 0xbe, 0x48,
  42280. 0x9c, 0x89, 0x4f, 0x92, 0xc5, 0xf9, 0xf1, 0x49, 0xb2, 0x0f, 0xb3, 0x1e, 0x0c, 0x6b, 0xe3, 0x3a,
  42281. 0xd6, 0x65, 0x70, 0x97, 0x1e, 0x51, 0x5a, 0xbf, 0x8f, 0x75, 0x29, 0xfc, 0x5d, 0x0b, 0x32, 0x4e,
  42282. 0x5b, 0xca, 0x2c, 0x63, 0x75, 0x35, 0xcb, 0x9c, 0x85, 0xbe, 0x28, 0xf4, 0x49, 0xf6, 0xb1, 0x03,
  42283. 0x1c, 0xfa, 0x04, 0x33, 0x88, 0x7a, 0xfc, 0xb6, 0xdc, 0xed, 0xf1, 0x5b, 0xaa, 0xa7, 0xfb, 0x64,
  42284. 0x87, 0x48, 0x23, 0x89, 0x62, 0xe3, 0x57, 0x69, 0x21, 0xe6, 0x30, 0xfb, 0xb7, 0xfa, 0x60, 0xaa,
  42285. 0x43, 0xb4, 0x1b, 0xd5, 0x90, 0x36, 0x9d, 0x84, 0xdc, 0x73, 0x76, 0xb3, 0x49, 0x57, 0x2f, 0xf1,
  42286. 0x62, 0x2c, 0xe1, 0xcc, 0xd9, 0x94, 0x27, 0x6e, 0xcb, 0x98, 0xae, 0x44, 0xbe, 0x36, 0x01, 0x3d,
  42287. 0xfe, 0x67, 0x52, 0x2f, 0x00, 0xc4, 0xb1, 0xbf, 0x12, 0x50, 0x09, 0xcf, 0x15, 0x4e, 0xad, 0x69,
  42288. 0xbe, 0xbf, 0xfa, 0x55, 0x01, 0xc1, 0x1a, 0x16, 0xaa, 0xc2, 0x44, 0x33, 0x0a, 0x13, 0x6e, 0x18,
  42289. 0xac, 0x72, 0x47, 0x88, 0x7e, 0x33, 0x9a, 0xaa, 0x96, 0x81, 0xe3, 0xb6, 0x1a, 0xe8, 0x65, 0x18,
  42290. 0x16, 0x11, 0x56, 0xb5, 0x30, 0xf4, 0x85, 0x19, 0x49, 0x5d, 0xc7, 0xd7, 0x53, 0x10, 0xd6, 0xf1,
  42291. 0xb4, 0x6a, 0xcc, 0xda, 0x38, 0xd8, 0xb1, 0x1a, 0xb7, 0x38, 0x6a, 0x78, 0x99, 0xfc, 0x1d, 0x43,
  42292. 0x85, 0xf2, 0x77, 0xa4, 0x86, 0xb5, 0x4a, 0xe1, 0x8b, 0x18, 0xc8, 0x35, 0x40, 0xfd, 0x41, 0x19,
  42293. 0x06, 0xf8, 0xa7, 0x38, 0x01, 0x29, 0xaf, 0x26, 0x4c, 0x4a, 0x85, 0x72, 0x25, 0xf0, 0x5e, 0xcd,
  42294. 0x57, 0x9d, 0xc4, 0xe1, 0xac, 0x49, 0xed, 0x90, 0xd4, 0x0c, 0x85, 0xe6, 0x8d, 0x3d, 0x34, 0x9b,
  42295. 0xb1, 0x94, 0x00, 0xa7, 0xa1, 0xed, 0xa8, 0x2d, 0x80, 0x98, 0x3d, 0xd5, 0x49, 0x69, 0x88, 0x8c,
  42296. 0xb0, 0x2f, 0x15, 0xea, 0x47, 0x5d, 0x55, 0xe3, 0xbd, 0x49, 0x97, 0xa5, 0x02, 0x60, 0x8d, 0xf6,
  42297. 0xec, 0x2b, 0x50, 0x51, 0xc8, 0x79, 0x2a, 0xe4, 0x88, 0xce, 0xda, 0xfe, 0x3f, 0x18, 0xcf, 0xb4,
  42298. 0xd5, 0x93, 0x06, 0xfa, 0x3b, 0x16, 0x8c, 0xf3, 0x2e, 0xaf, 0x04, 0x3b, 0x82, 0x15, 0x7c, 0xd9,
  42299. 0x82, 0x69, 0xbf, 0xc3, 0x4e, 0x14, 0x9f, 0xf9, 0x28, 0x7b, 0x58, 0x29, 0x9f, 0x9d, 0xa0, 0xb8,
  42300. 0x63, 0x6b, 0xe8, 0x1c, 0x0c, 0xf1, 0x97, 0x87, 0x1d, 0x5f, 0x78, 0x50, 0x8f, 0xf0, 0x5c, 0xd8,
  42301. 0xbc, 0x0c, 0x2b, 0xa8, 0xfd, 0x13, 0x0b, 0x26, 0xdb, 0x1e, 0xb2, 0x7f, 0x58, 0x86, 0x21, 0xb2,
  42302. 0x7e, 0x97, 0xba, 0x64, 0xfd, 0xd6, 0x47, 0x59, 0x3e, 0x74, 0x94, 0xbf, 0x61, 0x81, 0x58, 0xa1,
  42303. 0x27, 0xa0, 0x3f, 0xac, 0x99, 0xfa, 0xc3, 0x87, 0x8a, 0x2c, 0xfa, 0x2e, 0x8a, 0xc3, 0x2f, 0x95,
  42304. 0x60, 0x82, 0x23, 0xa4, 0x37, 0x32, 0x0f, 0xcb, 0xc7, 0xe9, 0xed, 0x35, 0x1a, 0xf5, 0x04, 0x68,
  42305. 0xe7, 0x91, 0x1a, 0xdf, 0xb2, 0xef, 0xd0, 0x6f, 0xf9, 0x17, 0x16, 0x20, 0x3e, 0x27, 0xd9, 0x67,
  42306. 0x9b, 0xf9, 0xe9, 0xa6, 0x99, 0x03, 0x52, 0xce, 0xa1, 0x20, 0x58, 0xc3, 0x7a, 0xc0, 0x43, 0xc8,
  42307. 0xdc, 0x87, 0x95, 0xf3, 0xef, 0xc3, 0x7a, 0x18, 0xf5, 0xef, 0x96, 0x21, 0xeb, 0x4a, 0x89, 0xde,
  42308. 0x81, 0x91, 0x86, 0xd3, 0x74, 0xee, 0x78, 0xbe, 0x97, 0x78, 0x24, 0x2e, 0x76, 0xe1, 0xbe, 0xac,
  42309. 0xd5, 0x10, 0xd7, 0x50, 0x5a, 0x09, 0x36, 0x28, 0xa2, 0x79, 0x80, 0x66, 0xe4, 0xed, 0x78, 0x3e,
  42310. 0xd9, 0x64, 0x1a, 0x0f, 0x8b, 0xc5, 0xe0, 0x77, 0xc7, 0xb2, 0x14, 0x6b, 0x18, 0x1d, 0x7c, 0xf7,
  42311. 0xcb, 0x27, 0xe1, 0xbb, 0xdf, 0xd7, 0xa3, 0xef, 0x7e, 0x7f, 0x21, 0xdf, 0x7d, 0x0c, 0xa7, 0xe5,
  42312. 0xe1, 0x4d, 0xff, 0xaf, 0x7a, 0x3e, 0x11, 0xb2, 0x1b, 0x8f, 0xd5, 0x98, 0xdd, 0xdf, 0x9b, 0x3b,
  42313. 0x8d, 0x3b, 0x62, 0xe0, 0x2e, 0x35, 0xed, 0x16, 0x4c, 0xd5, 0x49, 0xe4, 0xb1, 0x9c, 0x94, 0x6e,
  42314. 0xba, 0x97, 0x3e, 0x07, 0x95, 0x28, 0xb3, 0x8d, 0x7b, 0x0c, 0xc8, 0xd7, 0xb2, 0x98, 0xc9, 0x6d,
  42315. 0x9b, 0x92, 0xb4, 0xff, 0x46, 0x09, 0x06, 0x85, 0x13, 0xe5, 0x09, 0x08, 0x1f, 0x57, 0x0c, 0x13,
  42316. 0xd3, 0x33, 0x79, 0xfc, 0x8f, 0x75, 0xab, 0xab, 0x71, 0xa9, 0x9e, 0x31, 0x2e, 0x3d, 0x57, 0x8c,
  42317. 0xdc, 0xe1, 0x66, 0xa5, 0x7f, 0x5a, 0x86, 0x31, 0xd3, 0xa9, 0xf4, 0x04, 0xa6, 0xe5, 0x0d, 0x18,
  42318. 0x8c, 0x85, 0x7f, 0x73, 0xa9, 0x88, 0xcf, 0x5e, 0xf6, 0x13, 0xa7, 0x37, 0xf1, 0xc2, 0xa3, 0x59,
  42319. 0x92, 0xeb, 0xe8, 0x42, 0x5d, 0x3e, 0x11, 0x17, 0xea, 0x3c, 0x5f, 0xdf, 0xbe, 0x07, 0xe1, 0xeb,
  42320. 0x6b, 0xff, 0x80, 0xb1, 0x7c, 0xbd, 0xfc, 0x04, 0x8e, 0xf1, 0xd7, 0xcd, 0xc3, 0xe1, 0x7c, 0xa1,
  42321. 0x75, 0x27, 0xba, 0xd7, 0xe5, 0x38, 0xff, 0xae, 0x05, 0xc3, 0x02, 0xf1, 0x04, 0x06, 0xf0, 0x69,
  42322. 0x73, 0x00, 0x4f, 0x15, 0x1a, 0x40, 0x97, 0x9e, 0x7f, 0xa3, 0xa4, 0x7a, 0x5e, 0x13, 0x4f, 0xed,
  42323. 0xe7, 0x66, 0xe0, 0x1e, 0xa2, 0xaa, 0x5f, 0xd8, 0x08, 0x7d, 0x21, 0xc0, 0x3d, 0x96, 0x86, 0xe6,
  42324. 0xf1, 0xf2, 0x03, 0xed, 0x37, 0x56, 0xd8, 0x2c, 0x72, 0x2c, 0x8c, 0x12, 0x71, 0x80, 0x76, 0x7a,
  42325. 0xe8, 0xdf, 0x05, 0x48, 0x5f, 0x57, 0x17, 0x51, 0xad, 0xdd, 0x77, 0x6b, 0x2b, 0xf1, 0xfc, 0x79,
  42326. 0x2f, 0x48, 0xe2, 0x24, 0x9a, 0x5f, 0x0b, 0x92, 0x1b, 0x11, 0x17, 0xfa, 0xb5, 0x58, 0x3b, 0x45,
  42327. 0x0b, 0x6b, 0x74, 0x65, 0x10, 0x07, 0x6b, 0xa3, 0xdf, 0xbc, 0x41, 0xba, 0x2e, 0xca, 0xb1, 0xc2,
  42328. 0xb0, 0x5f, 0x61, 0x9c, 0x9d, 0x4d, 0x50, 0x6f, 0x61, 0x70, 0xbf, 0x38, 0xa0, 0xa6, 0x96, 0x99,
  42329. 0x85, 0xaf, 0xeb, 0xc1, 0x76, 0x45, 0xd9, 0x27, 0xed, 0x82, 0xee, 0x47, 0x9d, 0xc6, 0xe6, 0x21,
  42330. 0xd2, 0x76, 0xed, 0xf8, 0x4a, 0x61, 0x8e, 0xdc, 0xc3, 0x45, 0x23, 0x4b, 0x3a, 0xc8, 0x32, 0xad,
  42331. 0xad, 0xd5, 0xb2, 0x79, 0xd3, 0x97, 0x25, 0x00, 0xa7, 0x38, 0x68, 0x41, 0x28, 0x94, 0xdc, 0xe2,
  42332. 0xf2, 0xc1, 0x8c, 0x42, 0x29, 0xa7, 0x44, 0xd3, 0x28, 0x5f, 0x80, 0x61, 0xf5, 0x14, 0x4d, 0x8d,
  42333. 0x3f, 0x02, 0x52, 0xe1, 0xf2, 0xd5, 0x4a, 0x5a, 0x8c, 0x75, 0x1c, 0xb4, 0x06, 0x53, 0xae, 0x8a,
  42334. 0xd9, 0xa9, 0xb5, 0xee, 0xf8, 0x5e, 0x83, 0x56, 0xe5, 0xf1, 0xb6, 0x8f, 0xec, 0xef, 0xcd, 0x4d,
  42335. 0x55, 0xdb, 0xc1, 0xb8, 0x53, 0x1d, 0xb4, 0x0e, 0xe3, 0x31, 0x7f, 0x72, 0x47, 0x06, 0x66, 0x08,
  42336. 0x1b, 0xc4, 0xb3, 0xf2, 0xbe, 0xb3, 0x6e, 0x82, 0x0f, 0x58, 0x11, 0xe7, 0x0a, 0x32, 0x94, 0x23,
  42337. 0x4b, 0x02, 0xbd, 0x06, 0x63, 0xbe, 0xfe, 0x9e, 0x68, 0x4d, 0x98, 0x28, 0x94, 0x07, 0x9b, 0xf1,
  42338. 0xda, 0x68, 0x0d, 0x67, 0xb0, 0xd1, 0x1b, 0x30, 0xa3, 0x97, 0x88, 0x3c, 0x42, 0x4e, 0xb0, 0x49,
  42339. 0x62, 0xf1, 0x3c, 0xc7, 0x63, 0xfb, 0x7b, 0x73, 0x33, 0x57, 0xbb, 0xe0, 0xe0, 0xae, 0xb5, 0xd1,
  42340. 0x45, 0x18, 0x91, 0x33, 0xa9, 0x85, 0x31, 0xa5, 0xbe, 0x93, 0x1a, 0x0c, 0x1b, 0x98, 0xef, 0xef,
  42341. 0x5a, 0xf7, 0x0b, 0xb4, 0xb2, 0x76, 0x84, 0xa3, 0x77, 0x61, 0x44, 0xef, 0x63, 0xf6, 0x6c, 0xce,
  42342. 0x7f, 0xa3, 0x55, 0x88, 0x02, 0xaa, 0xe7, 0x3a, 0x0c, 0x1b, 0xb4, 0xed, 0x1b, 0x30, 0x50, 0xdf,
  42343. 0x8d, 0x1b, 0x89, 0x5f, 0x80, 0xbf, 0x3d, 0x69, 0x0c, 0x21, 0xdd, 0x7b, 0xec, 0xbd, 0x28, 0x31,
  42344. 0x22, 0x9b, 0xc0, 0xf8, 0xfa, 0x72, 0xad, 0x1e, 0x36, 0xee, 0x92, 0x64, 0x91, 0x6b, 0x6f, 0x58,
  42345. 0x70, 0x37, 0xeb, 0x88, 0x5c, 0xab, 0x03, 0x3f, 0xb4, 0xff, 0xd4, 0x82, 0x7e, 0xf6, 0xd6, 0x51,
  42346. 0xde, 0x3b, 0x59, 0x45, 0x3a, 0x8d, 0x5e, 0x86, 0x01, 0xb2, 0xb1, 0x41, 0x1a, 0x89, 0xd8, 0xc6,
  42347. 0x32, 0x56, 0x60, 0x60, 0x85, 0x95, 0xd2, 0xcd, 0xc9, 0x1a, 0xe3, 0x7f, 0xb1, 0x40, 0x46, 0x9f,
  42348. 0x85, 0x4a, 0xe2, 0x6d, 0x93, 0x45, 0xd7, 0x15, 0x06, 0xc5, 0xde, 0xdc, 0x57, 0x14, 0xb3, 0x58,
  42349. 0x97, 0x44, 0x70, 0x4a, 0xcf, 0xfe, 0x5a, 0x09, 0x20, 0x8d, 0xd4, 0xc9, 0x1b, 0xe6, 0x52, 0xdb,
  42350. 0x73, 0x60, 0x4f, 0x77, 0x78, 0x0e, 0x0c, 0xa5, 0x04, 0x3b, 0x3c, 0x06, 0xa6, 0xa6, 0xaa, 0x5c,
  42351. 0x68, 0xaa, 0xfa, 0x7a, 0x99, 0xaa, 0x65, 0x98, 0x4c, 0x23, 0x8d, 0xcc, 0x90, 0x4d, 0x96, 0x1c,
  42352. 0x74, 0x3d, 0x0b, 0xc4, 0xed, 0xf8, 0xf6, 0xd7, 0x2c, 0x10, 0x0e, 0x8f, 0x05, 0x56, 0xab, 0x2b,
  42353. 0x9f, 0xee, 0x31, 0xb2, 0x98, 0x3d, 0x5b, 0xc4, 0x17, 0x54, 0xe4, 0x2e, 0x53, 0xfb, 0xc7, 0xc8,
  42354. 0x58, 0x66, 0x50, 0xb5, 0x7f, 0xd3, 0x82, 0x61, 0x0e, 0xbe, 0xc6, 0x64, 0xea, 0xfc, 0x7e, 0xf5,
  42355. 0x94, 0x79, 0x96, 0xbd, 0x6a, 0x43, 0x09, 0xab, 0x0c, 0xa4, 0xfa, 0xab, 0x36, 0x12, 0x80, 0x53,
  42356. 0x1c, 0xf4, 0x0c, 0x0c, 0xc6, 0xad, 0x3b, 0x0c, 0x3d, 0xe3, 0xfd, 0x58, 0xe7, 0xc5, 0x58, 0xc2,
  42357. 0xed, 0x7f, 0x5e, 0x82, 0x89, 0xac, 0xf3, 0x2b, 0xc2, 0x30, 0xc0, 0x65, 0xec, 0xac, 0x78, 0x76,
  42358. 0x98, 0x2d, 0x47, 0x73, 0x9e, 0x05, 0xfe, 0x36, 0x33, 0x33, 0xba, 0x0b, 0x4a, 0x68, 0x03, 0x86,
  42359. 0xdd, 0xf0, 0x5e, 0x70, 0xcf, 0x89, 0xdc, 0xc5, 0xda, 0x9a, 0xf8, 0x12, 0x39, 0xee, 0x4a, 0xd5,
  42360. 0xb4, 0x82, 0xee, 0x9a, 0xcb, 0x6c, 0x0b, 0x29, 0x08, 0xeb, 0x84, 0xa9, 0x4e, 0xd9, 0x08, 0x83,
  42361. 0x0d, 0x6f, 0xf3, 0x9a, 0xd3, 0x2c, 0x76, 0x31, 0xbf, 0x2c, 0xd1, 0xb5, 0x36, 0x46, 0x45, 0x8e,
  42362. 0x06, 0x0e, 0xc0, 0x29, 0x49, 0xfb, 0xd7, 0xa7, 0xc1, 0x58, 0x0b, 0x46, 0x7a, 0x58, 0xeb, 0x81,
  42363. 0xa7, 0x87, 0x7d, 0x0b, 0x86, 0xc8, 0x76, 0x33, 0xd9, 0xad, 0x7a, 0x51, 0xb1, 0x64, 0xdf, 0x2b,
  42364. 0x02, 0xbb, 0x9d, 0xba, 0x84, 0x60, 0x45, 0xb1, 0x4b, 0xb2, 0xdf, 0xf2, 0x43, 0x91, 0xec, 0xb7,
  42365. 0xef, 0x2f, 0x25, 0xd9, 0xef, 0x1b, 0x30, 0xb8, 0xe9, 0x25, 0x98, 0x34, 0x43, 0x91, 0xf4, 0x22,
  42366. 0x67, 0xf1, 0x5c, 0xe2, 0xc8, 0xed, 0x69, 0x20, 0x05, 0x00, 0x4b, 0x72, 0x68, 0x5d, 0x6d, 0xaa,
  42367. 0x81, 0x22, 0x67, 0x79, 0xbb, 0xad, 0xaf, 0xe3, 0xb6, 0x12, 0xc9, 0x7d, 0x07, 0xdf, 0x7f, 0x72,
  42368. 0x5f, 0x95, 0x92, 0x77, 0xe8, 0x41, 0xa5, 0xe4, 0x35, 0x52, 0x1b, 0x57, 0x8e, 0x23, 0xb5, 0xf1,
  42369. 0xd7, 0x2c, 0x38, 0xd5, 0xec, 0x94, 0x18, 0x5c, 0x24, 0xd7, 0xfd, 0xe4, 0x11, 0x52, 0xa5, 0x1b,
  42370. 0x4d, 0xb3, 0x54, 0x02, 0x1d, 0xd1, 0x70, 0xe7, 0x86, 0x65, 0x8e, 0xe4, 0xe1, 0xf7, 0x9f, 0x23,
  42371. 0xf9, 0xb8, 0xb3, 0xf0, 0xa6, 0x19, 0x93, 0x47, 0x8f, 0x25, 0x63, 0xf2, 0xd8, 0x03, 0xcc, 0x98,
  42372. 0xac, 0xe5, 0x3a, 0x1e, 0x7f, 0xb0, 0xb9, 0x8e, 0xb7, 0xcc, 0x73, 0x89, 0xa7, 0xd6, 0x7d, 0xb9,
  42373. 0xf0, 0xb9, 0x64, 0xb4, 0x70, 0xf8, 0xc9, 0xc4, 0xb3, 0x3e, 0x4f, 0xbe, 0xcf, 0xac, 0xcf, 0x46,
  42374. 0xee, 0x64, 0x74, 0x1c, 0xb9, 0x93, 0xdf, 0xd1, 0x4f, 0xd0, 0xa9, 0x22, 0x2d, 0xa8, 0x83, 0xb2,
  42375. 0xbd, 0x85, 0x4e, 0x67, 0x68, 0x7b, 0x76, 0xe6, 0xe9, 0x93, 0xce, 0xce, 0x7c, 0xea, 0x18, 0xb3,
  42376. 0x33, 0x9f, 0x3e, 0xd1, 0xec, 0xcc, 0x8f, 0x3c, 0x24, 0xd9, 0x99, 0x67, 0x4e, 0x2a, 0x3b, 0xf3,
  42377. 0xa3, 0x0f, 0x34, 0x3b, 0x33, 0xfd, 0x74, 0x4d, 0x19, 0x42, 0x36, 0x33, 0x5b, 0xe4, 0xd3, 0x75,
  42378. 0x8c, 0x38, 0xe3, 0x9f, 0x4e, 0x81, 0x70, 0x4a, 0xd4, 0xfe, 0x2b, 0x70, 0xe6, 0xf0, 0xa5, 0x9b,
  42379. 0x7a, 0x6b, 0xd4, 0x52, 0x9b, 0x59, 0xc6, 0x5b, 0x83, 0x89, 0x85, 0x1a, 0x56, 0xe1, 0xf4, 0xb1,
  42380. 0xdf, 0xb6, 0xe0, 0x91, 0x2e, 0xd9, 0x15, 0x0b, 0xc7, 0x5f, 0x36, 0x61, 0xbc, 0x69, 0x56, 0x2d,
  42381. 0x1c, 0xce, 0x6d, 0x64, 0x73, 0x54, 0x3e, 0xf2, 0x19, 0x00, 0xce, 0x92, 0x5f, 0xfa, 0xd0, 0x0f,
  42382. 0x7f, 0x7c, 0xe6, 0x03, 0x3f, 0xfa, 0xf1, 0x99, 0x0f, 0xfc, 0xf1, 0x8f, 0xcf, 0x7c, 0xe0, 0xe7,
  42383. 0xf6, 0xcf, 0x58, 0x3f, 0xdc, 0x3f, 0x63, 0xfd, 0x68, 0xff, 0x8c, 0xf5, 0x67, 0xfb, 0x67, 0xac,
  42384. 0xaf, 0xfd, 0xe4, 0xcc, 0x07, 0xde, 0x2c, 0xed, 0xbc, 0xf0, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff,
  42385. 0x5f, 0x32, 0x87, 0xa4, 0xbe, 0xc8, 0x00, 0x00,
  42386. }