generated.pb.go 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991
  1. /*
  2. Copyright 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. DO NOT EDIT.
  14. // source: k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto
  15. /*
  16. Package v1 is a generated protocol buffer package.
  17. It is generated from these files:
  18. k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto
  19. It has these top-level messages:
  20. AWSElasticBlockStoreVolumeSource
  21. Affinity
  22. AttachedVolume
  23. AvoidPods
  24. AzureDiskVolumeSource
  25. AzureFilePersistentVolumeSource
  26. AzureFileVolumeSource
  27. Binding
  28. CSIPersistentVolumeSource
  29. CSIVolumeSource
  30. Capabilities
  31. CephFSPersistentVolumeSource
  32. CephFSVolumeSource
  33. CinderPersistentVolumeSource
  34. CinderVolumeSource
  35. ClientIPConfig
  36. ComponentCondition
  37. ComponentStatus
  38. ComponentStatusList
  39. ConfigMap
  40. ConfigMapEnvSource
  41. ConfigMapKeySelector
  42. ConfigMapList
  43. ConfigMapNodeConfigSource
  44. ConfigMapProjection
  45. ConfigMapVolumeSource
  46. Container
  47. ContainerImage
  48. ContainerPort
  49. ContainerState
  50. ContainerStateRunning
  51. ContainerStateTerminated
  52. ContainerStateWaiting
  53. ContainerStatus
  54. DaemonEndpoint
  55. DownwardAPIProjection
  56. DownwardAPIVolumeFile
  57. DownwardAPIVolumeSource
  58. EmptyDirVolumeSource
  59. EndpointAddress
  60. EndpointPort
  61. EndpointSubset
  62. Endpoints
  63. EndpointsList
  64. EnvFromSource
  65. EnvVar
  66. EnvVarSource
  67. Event
  68. EventList
  69. EventSeries
  70. EventSource
  71. ExecAction
  72. FCVolumeSource
  73. FlexPersistentVolumeSource
  74. FlexVolumeSource
  75. FlockerVolumeSource
  76. GCEPersistentDiskVolumeSource
  77. GitRepoVolumeSource
  78. GlusterfsPersistentVolumeSource
  79. GlusterfsVolumeSource
  80. HTTPGetAction
  81. HTTPHeader
  82. Handler
  83. HostAlias
  84. HostPathVolumeSource
  85. ISCSIPersistentVolumeSource
  86. ISCSIVolumeSource
  87. KeyToPath
  88. Lifecycle
  89. LimitRange
  90. LimitRangeItem
  91. LimitRangeList
  92. LimitRangeSpec
  93. List
  94. LoadBalancerIngress
  95. LoadBalancerStatus
  96. LocalObjectReference
  97. LocalVolumeSource
  98. NFSVolumeSource
  99. Namespace
  100. NamespaceList
  101. NamespaceSpec
  102. NamespaceStatus
  103. Node
  104. NodeAddress
  105. NodeAffinity
  106. NodeCondition
  107. NodeConfigSource
  108. NodeConfigStatus
  109. NodeDaemonEndpoints
  110. NodeList
  111. NodeProxyOptions
  112. NodeResources
  113. NodeSelector
  114. NodeSelectorRequirement
  115. NodeSelectorTerm
  116. NodeSpec
  117. NodeStatus
  118. NodeSystemInfo
  119. ObjectFieldSelector
  120. ObjectReference
  121. PersistentVolume
  122. PersistentVolumeClaim
  123. PersistentVolumeClaimCondition
  124. PersistentVolumeClaimList
  125. PersistentVolumeClaimSpec
  126. PersistentVolumeClaimStatus
  127. PersistentVolumeClaimVolumeSource
  128. PersistentVolumeList
  129. PersistentVolumeSource
  130. PersistentVolumeSpec
  131. PersistentVolumeStatus
  132. PhotonPersistentDiskVolumeSource
  133. Pod
  134. PodAffinity
  135. PodAffinityTerm
  136. PodAntiAffinity
  137. PodAttachOptions
  138. PodCondition
  139. PodDNSConfig
  140. PodDNSConfigOption
  141. PodExecOptions
  142. PodList
  143. PodLogOptions
  144. PodPortForwardOptions
  145. PodProxyOptions
  146. PodReadinessGate
  147. PodSecurityContext
  148. PodSignature
  149. PodSpec
  150. PodStatus
  151. PodStatusResult
  152. PodTemplate
  153. PodTemplateList
  154. PodTemplateSpec
  155. PortworxVolumeSource
  156. Preconditions
  157. PreferAvoidPodsEntry
  158. PreferredSchedulingTerm
  159. Probe
  160. ProjectedVolumeSource
  161. QuobyteVolumeSource
  162. RBDPersistentVolumeSource
  163. RBDVolumeSource
  164. RangeAllocation
  165. ReplicationController
  166. ReplicationControllerCondition
  167. ReplicationControllerList
  168. ReplicationControllerSpec
  169. ReplicationControllerStatus
  170. ResourceFieldSelector
  171. ResourceQuota
  172. ResourceQuotaList
  173. ResourceQuotaSpec
  174. ResourceQuotaStatus
  175. ResourceRequirements
  176. SELinuxOptions
  177. ScaleIOPersistentVolumeSource
  178. ScaleIOVolumeSource
  179. ScopeSelector
  180. ScopedResourceSelectorRequirement
  181. Secret
  182. SecretEnvSource
  183. SecretKeySelector
  184. SecretList
  185. SecretProjection
  186. SecretReference
  187. SecretVolumeSource
  188. SecurityContext
  189. SerializedReference
  190. Service
  191. ServiceAccount
  192. ServiceAccountList
  193. ServiceAccountTokenProjection
  194. ServiceList
  195. ServicePort
  196. ServiceProxyOptions
  197. ServiceSpec
  198. ServiceStatus
  199. SessionAffinityConfig
  200. StorageOSPersistentVolumeSource
  201. StorageOSVolumeSource
  202. Sysctl
  203. TCPSocketAction
  204. Taint
  205. Toleration
  206. TopologySelectorLabelRequirement
  207. TopologySelectorTerm
  208. TypedLocalObjectReference
  209. Volume
  210. VolumeDevice
  211. VolumeMount
  212. VolumeNodeAffinity
  213. VolumeProjection
  214. VolumeSource
  215. VsphereVirtualDiskVolumeSource
  216. WeightedPodAffinityTerm
  217. */
  218. package v1
  219. import proto "github.com/gogo/protobuf/proto"
  220. import fmt "fmt"
  221. import math "math"
  222. import k8s_io_apimachinery_pkg_api_resource "k8s.io/apimachinery/pkg/api/resource"
  223. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  224. import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime"
  225. import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types"
  226. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  227. import strings "strings"
  228. import reflect "reflect"
  229. import io "io"
  230. // Reference imports to suppress errors if they are not otherwise used.
  231. var _ = proto.Marshal
  232. var _ = fmt.Errorf
  233. var _ = math.Inf
  234. // This is a compile-time assertion to ensure that this generated file
  235. // is compatible with the proto package it is being compiled against.
  236. // A compilation error at this line likely means your copy of the
  237. // proto package needs to be updated.
  238. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  239. func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} }
  240. func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {}
  241. func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) {
  242. return fileDescriptorGenerated, []int{0}
  243. }
  244. func (m *Affinity) Reset() { *m = Affinity{} }
  245. func (*Affinity) ProtoMessage() {}
  246. func (*Affinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  247. func (m *AttachedVolume) Reset() { *m = AttachedVolume{} }
  248. func (*AttachedVolume) ProtoMessage() {}
  249. func (*AttachedVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  250. func (m *AvoidPods) Reset() { *m = AvoidPods{} }
  251. func (*AvoidPods) ProtoMessage() {}
  252. func (*AvoidPods) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  253. func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} }
  254. func (*AzureDiskVolumeSource) ProtoMessage() {}
  255. func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  256. func (m *AzureFilePersistentVolumeSource) Reset() { *m = AzureFilePersistentVolumeSource{} }
  257. func (*AzureFilePersistentVolumeSource) ProtoMessage() {}
  258. func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) {
  259. return fileDescriptorGenerated, []int{5}
  260. }
  261. func (m *AzureFileVolumeSource) Reset() { *m = AzureFileVolumeSource{} }
  262. func (*AzureFileVolumeSource) ProtoMessage() {}
  263. func (*AzureFileVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  264. func (m *Binding) Reset() { *m = Binding{} }
  265. func (*Binding) ProtoMessage() {}
  266. func (*Binding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  267. func (m *CSIPersistentVolumeSource) Reset() { *m = CSIPersistentVolumeSource{} }
  268. func (*CSIPersistentVolumeSource) ProtoMessage() {}
  269. func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int) {
  270. return fileDescriptorGenerated, []int{8}
  271. }
  272. func (m *CSIVolumeSource) Reset() { *m = CSIVolumeSource{} }
  273. func (*CSIVolumeSource) ProtoMessage() {}
  274. func (*CSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  275. func (m *Capabilities) Reset() { *m = Capabilities{} }
  276. func (*Capabilities) ProtoMessage() {}
  277. func (*Capabilities) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  278. func (m *CephFSPersistentVolumeSource) Reset() { *m = CephFSPersistentVolumeSource{} }
  279. func (*CephFSPersistentVolumeSource) ProtoMessage() {}
  280. func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int) {
  281. return fileDescriptorGenerated, []int{11}
  282. }
  283. func (m *CephFSVolumeSource) Reset() { *m = CephFSVolumeSource{} }
  284. func (*CephFSVolumeSource) ProtoMessage() {}
  285. func (*CephFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  286. func (m *CinderPersistentVolumeSource) Reset() { *m = CinderPersistentVolumeSource{} }
  287. func (*CinderPersistentVolumeSource) ProtoMessage() {}
  288. func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int) {
  289. return fileDescriptorGenerated, []int{13}
  290. }
  291. func (m *CinderVolumeSource) Reset() { *m = CinderVolumeSource{} }
  292. func (*CinderVolumeSource) ProtoMessage() {}
  293. func (*CinderVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  294. func (m *ClientIPConfig) Reset() { *m = ClientIPConfig{} }
  295. func (*ClientIPConfig) ProtoMessage() {}
  296. func (*ClientIPConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  297. func (m *ComponentCondition) Reset() { *m = ComponentCondition{} }
  298. func (*ComponentCondition) ProtoMessage() {}
  299. func (*ComponentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  300. func (m *ComponentStatus) Reset() { *m = ComponentStatus{} }
  301. func (*ComponentStatus) ProtoMessage() {}
  302. func (*ComponentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  303. func (m *ComponentStatusList) Reset() { *m = ComponentStatusList{} }
  304. func (*ComponentStatusList) ProtoMessage() {}
  305. func (*ComponentStatusList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  306. func (m *ConfigMap) Reset() { *m = ConfigMap{} }
  307. func (*ConfigMap) ProtoMessage() {}
  308. func (*ConfigMap) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  309. func (m *ConfigMapEnvSource) Reset() { *m = ConfigMapEnvSource{} }
  310. func (*ConfigMapEnvSource) ProtoMessage() {}
  311. func (*ConfigMapEnvSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
  312. func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} }
  313. func (*ConfigMapKeySelector) ProtoMessage() {}
  314. func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
  315. func (m *ConfigMapList) Reset() { *m = ConfigMapList{} }
  316. func (*ConfigMapList) ProtoMessage() {}
  317. func (*ConfigMapList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
  318. func (m *ConfigMapNodeConfigSource) Reset() { *m = ConfigMapNodeConfigSource{} }
  319. func (*ConfigMapNodeConfigSource) ProtoMessage() {}
  320. func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int) {
  321. return fileDescriptorGenerated, []int{23}
  322. }
  323. func (m *ConfigMapProjection) Reset() { *m = ConfigMapProjection{} }
  324. func (*ConfigMapProjection) ProtoMessage() {}
  325. func (*ConfigMapProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
  326. func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} }
  327. func (*ConfigMapVolumeSource) ProtoMessage() {}
  328. func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  329. func (m *Container) Reset() { *m = Container{} }
  330. func (*Container) ProtoMessage() {}
  331. func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  332. func (m *ContainerImage) Reset() { *m = ContainerImage{} }
  333. func (*ContainerImage) ProtoMessage() {}
  334. func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
  335. func (m *ContainerPort) Reset() { *m = ContainerPort{} }
  336. func (*ContainerPort) ProtoMessage() {}
  337. func (*ContainerPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
  338. func (m *ContainerState) Reset() { *m = ContainerState{} }
  339. func (*ContainerState) ProtoMessage() {}
  340. func (*ContainerState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
  341. func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} }
  342. func (*ContainerStateRunning) ProtoMessage() {}
  343. func (*ContainerStateRunning) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
  344. func (m *ContainerStateTerminated) Reset() { *m = ContainerStateTerminated{} }
  345. func (*ContainerStateTerminated) ProtoMessage() {}
  346. func (*ContainerStateTerminated) Descriptor() ([]byte, []int) {
  347. return fileDescriptorGenerated, []int{31}
  348. }
  349. func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} }
  350. func (*ContainerStateWaiting) ProtoMessage() {}
  351. func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
  352. func (m *ContainerStatus) Reset() { *m = ContainerStatus{} }
  353. func (*ContainerStatus) ProtoMessage() {}
  354. func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
  355. func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} }
  356. func (*DaemonEndpoint) ProtoMessage() {}
  357. func (*DaemonEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
  358. func (m *DownwardAPIProjection) Reset() { *m = DownwardAPIProjection{} }
  359. func (*DownwardAPIProjection) ProtoMessage() {}
  360. func (*DownwardAPIProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
  361. func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} }
  362. func (*DownwardAPIVolumeFile) ProtoMessage() {}
  363. func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
  364. func (m *DownwardAPIVolumeSource) Reset() { *m = DownwardAPIVolumeSource{} }
  365. func (*DownwardAPIVolumeSource) ProtoMessage() {}
  366. func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) {
  367. return fileDescriptorGenerated, []int{37}
  368. }
  369. func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} }
  370. func (*EmptyDirVolumeSource) ProtoMessage() {}
  371. func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
  372. func (m *EndpointAddress) Reset() { *m = EndpointAddress{} }
  373. func (*EndpointAddress) ProtoMessage() {}
  374. func (*EndpointAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
  375. func (m *EndpointPort) Reset() { *m = EndpointPort{} }
  376. func (*EndpointPort) ProtoMessage() {}
  377. func (*EndpointPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
  378. func (m *EndpointSubset) Reset() { *m = EndpointSubset{} }
  379. func (*EndpointSubset) ProtoMessage() {}
  380. func (*EndpointSubset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
  381. func (m *Endpoints) Reset() { *m = Endpoints{} }
  382. func (*Endpoints) ProtoMessage() {}
  383. func (*Endpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
  384. func (m *EndpointsList) Reset() { *m = EndpointsList{} }
  385. func (*EndpointsList) ProtoMessage() {}
  386. func (*EndpointsList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
  387. func (m *EnvFromSource) Reset() { *m = EnvFromSource{} }
  388. func (*EnvFromSource) ProtoMessage() {}
  389. func (*EnvFromSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} }
  390. func (m *EnvVar) Reset() { *m = EnvVar{} }
  391. func (*EnvVar) ProtoMessage() {}
  392. func (*EnvVar) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} }
  393. func (m *EnvVarSource) Reset() { *m = EnvVarSource{} }
  394. func (*EnvVarSource) ProtoMessage() {}
  395. func (*EnvVarSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
  396. func (m *Event) Reset() { *m = Event{} }
  397. func (*Event) ProtoMessage() {}
  398. func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} }
  399. func (m *EventList) Reset() { *m = EventList{} }
  400. func (*EventList) ProtoMessage() {}
  401. func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} }
  402. func (m *EventSeries) Reset() { *m = EventSeries{} }
  403. func (*EventSeries) ProtoMessage() {}
  404. func (*EventSeries) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} }
  405. func (m *EventSource) Reset() { *m = EventSource{} }
  406. func (*EventSource) ProtoMessage() {}
  407. func (*EventSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} }
  408. func (m *ExecAction) Reset() { *m = ExecAction{} }
  409. func (*ExecAction) ProtoMessage() {}
  410. func (*ExecAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} }
  411. func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} }
  412. func (*FCVolumeSource) ProtoMessage() {}
  413. func (*FCVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
  414. func (m *FlexPersistentVolumeSource) Reset() { *m = FlexPersistentVolumeSource{} }
  415. func (*FlexPersistentVolumeSource) ProtoMessage() {}
  416. func (*FlexPersistentVolumeSource) Descriptor() ([]byte, []int) {
  417. return fileDescriptorGenerated, []int{53}
  418. }
  419. func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} }
  420. func (*FlexVolumeSource) ProtoMessage() {}
  421. func (*FlexVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} }
  422. func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} }
  423. func (*FlockerVolumeSource) ProtoMessage() {}
  424. func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} }
  425. func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} }
  426. func (*GCEPersistentDiskVolumeSource) ProtoMessage() {}
  427. func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
  428. return fileDescriptorGenerated, []int{56}
  429. }
  430. func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} }
  431. func (*GitRepoVolumeSource) ProtoMessage() {}
  432. func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} }
  433. func (m *GlusterfsPersistentVolumeSource) Reset() { *m = GlusterfsPersistentVolumeSource{} }
  434. func (*GlusterfsPersistentVolumeSource) ProtoMessage() {}
  435. func (*GlusterfsPersistentVolumeSource) Descriptor() ([]byte, []int) {
  436. return fileDescriptorGenerated, []int{58}
  437. }
  438. func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} }
  439. func (*GlusterfsVolumeSource) ProtoMessage() {}
  440. func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} }
  441. func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} }
  442. func (*HTTPGetAction) ProtoMessage() {}
  443. func (*HTTPGetAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} }
  444. func (m *HTTPHeader) Reset() { *m = HTTPHeader{} }
  445. func (*HTTPHeader) ProtoMessage() {}
  446. func (*HTTPHeader) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} }
  447. func (m *Handler) Reset() { *m = Handler{} }
  448. func (*Handler) ProtoMessage() {}
  449. func (*Handler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} }
  450. func (m *HostAlias) Reset() { *m = HostAlias{} }
  451. func (*HostAlias) ProtoMessage() {}
  452. func (*HostAlias) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} }
  453. func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} }
  454. func (*HostPathVolumeSource) ProtoMessage() {}
  455. func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} }
  456. func (m *ISCSIPersistentVolumeSource) Reset() { *m = ISCSIPersistentVolumeSource{} }
  457. func (*ISCSIPersistentVolumeSource) ProtoMessage() {}
  458. func (*ISCSIPersistentVolumeSource) Descriptor() ([]byte, []int) {
  459. return fileDescriptorGenerated, []int{65}
  460. }
  461. func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} }
  462. func (*ISCSIVolumeSource) ProtoMessage() {}
  463. func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} }
  464. func (m *KeyToPath) Reset() { *m = KeyToPath{} }
  465. func (*KeyToPath) ProtoMessage() {}
  466. func (*KeyToPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} }
  467. func (m *Lifecycle) Reset() { *m = Lifecycle{} }
  468. func (*Lifecycle) ProtoMessage() {}
  469. func (*Lifecycle) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} }
  470. func (m *LimitRange) Reset() { *m = LimitRange{} }
  471. func (*LimitRange) ProtoMessage() {}
  472. func (*LimitRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{69} }
  473. func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} }
  474. func (*LimitRangeItem) ProtoMessage() {}
  475. func (*LimitRangeItem) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} }
  476. func (m *LimitRangeList) Reset() { *m = LimitRangeList{} }
  477. func (*LimitRangeList) ProtoMessage() {}
  478. func (*LimitRangeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{71} }
  479. func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} }
  480. func (*LimitRangeSpec) ProtoMessage() {}
  481. func (*LimitRangeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{72} }
  482. func (m *List) Reset() { *m = List{} }
  483. func (*List) ProtoMessage() {}
  484. func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{73} }
  485. func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} }
  486. func (*LoadBalancerIngress) ProtoMessage() {}
  487. func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{74} }
  488. func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} }
  489. func (*LoadBalancerStatus) ProtoMessage() {}
  490. func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{75} }
  491. func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} }
  492. func (*LocalObjectReference) ProtoMessage() {}
  493. func (*LocalObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{76} }
  494. func (m *LocalVolumeSource) Reset() { *m = LocalVolumeSource{} }
  495. func (*LocalVolumeSource) ProtoMessage() {}
  496. func (*LocalVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{77} }
  497. func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} }
  498. func (*NFSVolumeSource) ProtoMessage() {}
  499. func (*NFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{78} }
  500. func (m *Namespace) Reset() { *m = Namespace{} }
  501. func (*Namespace) ProtoMessage() {}
  502. func (*Namespace) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{79} }
  503. func (m *NamespaceList) Reset() { *m = NamespaceList{} }
  504. func (*NamespaceList) ProtoMessage() {}
  505. func (*NamespaceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{80} }
  506. func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} }
  507. func (*NamespaceSpec) ProtoMessage() {}
  508. func (*NamespaceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{81} }
  509. func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} }
  510. func (*NamespaceStatus) ProtoMessage() {}
  511. func (*NamespaceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{82} }
  512. func (m *Node) Reset() { *m = Node{} }
  513. func (*Node) ProtoMessage() {}
  514. func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{83} }
  515. func (m *NodeAddress) Reset() { *m = NodeAddress{} }
  516. func (*NodeAddress) ProtoMessage() {}
  517. func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{84} }
  518. func (m *NodeAffinity) Reset() { *m = NodeAffinity{} }
  519. func (*NodeAffinity) ProtoMessage() {}
  520. func (*NodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{85} }
  521. func (m *NodeCondition) Reset() { *m = NodeCondition{} }
  522. func (*NodeCondition) ProtoMessage() {}
  523. func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{86} }
  524. func (m *NodeConfigSource) Reset() { *m = NodeConfigSource{} }
  525. func (*NodeConfigSource) ProtoMessage() {}
  526. func (*NodeConfigSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{87} }
  527. func (m *NodeConfigStatus) Reset() { *m = NodeConfigStatus{} }
  528. func (*NodeConfigStatus) ProtoMessage() {}
  529. func (*NodeConfigStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{88} }
  530. func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} }
  531. func (*NodeDaemonEndpoints) ProtoMessage() {}
  532. func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{89} }
  533. func (m *NodeList) Reset() { *m = NodeList{} }
  534. func (*NodeList) ProtoMessage() {}
  535. func (*NodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{90} }
  536. func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} }
  537. func (*NodeProxyOptions) ProtoMessage() {}
  538. func (*NodeProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{91} }
  539. func (m *NodeResources) Reset() { *m = NodeResources{} }
  540. func (*NodeResources) ProtoMessage() {}
  541. func (*NodeResources) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{92} }
  542. func (m *NodeSelector) Reset() { *m = NodeSelector{} }
  543. func (*NodeSelector) ProtoMessage() {}
  544. func (*NodeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{93} }
  545. func (m *NodeSelectorRequirement) Reset() { *m = NodeSelectorRequirement{} }
  546. func (*NodeSelectorRequirement) ProtoMessage() {}
  547. func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) {
  548. return fileDescriptorGenerated, []int{94}
  549. }
  550. func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} }
  551. func (*NodeSelectorTerm) ProtoMessage() {}
  552. func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{95} }
  553. func (m *NodeSpec) Reset() { *m = NodeSpec{} }
  554. func (*NodeSpec) ProtoMessage() {}
  555. func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{96} }
  556. func (m *NodeStatus) Reset() { *m = NodeStatus{} }
  557. func (*NodeStatus) ProtoMessage() {}
  558. func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{97} }
  559. func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} }
  560. func (*NodeSystemInfo) ProtoMessage() {}
  561. func (*NodeSystemInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{98} }
  562. func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} }
  563. func (*ObjectFieldSelector) ProtoMessage() {}
  564. func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{99} }
  565. func (m *ObjectReference) Reset() { *m = ObjectReference{} }
  566. func (*ObjectReference) ProtoMessage() {}
  567. func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{100} }
  568. func (m *PersistentVolume) Reset() { *m = PersistentVolume{} }
  569. func (*PersistentVolume) ProtoMessage() {}
  570. func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{101} }
  571. func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} }
  572. func (*PersistentVolumeClaim) ProtoMessage() {}
  573. func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{102} }
  574. func (m *PersistentVolumeClaimCondition) Reset() { *m = PersistentVolumeClaimCondition{} }
  575. func (*PersistentVolumeClaimCondition) ProtoMessage() {}
  576. func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) {
  577. return fileDescriptorGenerated, []int{103}
  578. }
  579. func (m *PersistentVolumeClaimList) Reset() { *m = PersistentVolumeClaimList{} }
  580. func (*PersistentVolumeClaimList) ProtoMessage() {}
  581. func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) {
  582. return fileDescriptorGenerated, []int{104}
  583. }
  584. func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} }
  585. func (*PersistentVolumeClaimSpec) ProtoMessage() {}
  586. func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) {
  587. return fileDescriptorGenerated, []int{105}
  588. }
  589. func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} }
  590. func (*PersistentVolumeClaimStatus) ProtoMessage() {}
  591. func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) {
  592. return fileDescriptorGenerated, []int{106}
  593. }
  594. func (m *PersistentVolumeClaimVolumeSource) Reset() { *m = PersistentVolumeClaimVolumeSource{} }
  595. func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {}
  596. func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) {
  597. return fileDescriptorGenerated, []int{107}
  598. }
  599. func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} }
  600. func (*PersistentVolumeList) ProtoMessage() {}
  601. func (*PersistentVolumeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{108} }
  602. func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} }
  603. func (*PersistentVolumeSource) ProtoMessage() {}
  604. func (*PersistentVolumeSource) Descriptor() ([]byte, []int) {
  605. return fileDescriptorGenerated, []int{109}
  606. }
  607. func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} }
  608. func (*PersistentVolumeSpec) ProtoMessage() {}
  609. func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{110} }
  610. func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} }
  611. func (*PersistentVolumeStatus) ProtoMessage() {}
  612. func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) {
  613. return fileDescriptorGenerated, []int{111}
  614. }
  615. func (m *PhotonPersistentDiskVolumeSource) Reset() { *m = PhotonPersistentDiskVolumeSource{} }
  616. func (*PhotonPersistentDiskVolumeSource) ProtoMessage() {}
  617. func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
  618. return fileDescriptorGenerated, []int{112}
  619. }
  620. func (m *Pod) Reset() { *m = Pod{} }
  621. func (*Pod) ProtoMessage() {}
  622. func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{113} }
  623. func (m *PodAffinity) Reset() { *m = PodAffinity{} }
  624. func (*PodAffinity) ProtoMessage() {}
  625. func (*PodAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{114} }
  626. func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} }
  627. func (*PodAffinityTerm) ProtoMessage() {}
  628. func (*PodAffinityTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{115} }
  629. func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} }
  630. func (*PodAntiAffinity) ProtoMessage() {}
  631. func (*PodAntiAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{116} }
  632. func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} }
  633. func (*PodAttachOptions) ProtoMessage() {}
  634. func (*PodAttachOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{117} }
  635. func (m *PodCondition) Reset() { *m = PodCondition{} }
  636. func (*PodCondition) ProtoMessage() {}
  637. func (*PodCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{118} }
  638. func (m *PodDNSConfig) Reset() { *m = PodDNSConfig{} }
  639. func (*PodDNSConfig) ProtoMessage() {}
  640. func (*PodDNSConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{119} }
  641. func (m *PodDNSConfigOption) Reset() { *m = PodDNSConfigOption{} }
  642. func (*PodDNSConfigOption) ProtoMessage() {}
  643. func (*PodDNSConfigOption) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{120} }
  644. func (m *PodExecOptions) Reset() { *m = PodExecOptions{} }
  645. func (*PodExecOptions) ProtoMessage() {}
  646. func (*PodExecOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{121} }
  647. func (m *PodList) Reset() { *m = PodList{} }
  648. func (*PodList) ProtoMessage() {}
  649. func (*PodList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{122} }
  650. func (m *PodLogOptions) Reset() { *m = PodLogOptions{} }
  651. func (*PodLogOptions) ProtoMessage() {}
  652. func (*PodLogOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{123} }
  653. func (m *PodPortForwardOptions) Reset() { *m = PodPortForwardOptions{} }
  654. func (*PodPortForwardOptions) ProtoMessage() {}
  655. func (*PodPortForwardOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{124} }
  656. func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} }
  657. func (*PodProxyOptions) ProtoMessage() {}
  658. func (*PodProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{125} }
  659. func (m *PodReadinessGate) Reset() { *m = PodReadinessGate{} }
  660. func (*PodReadinessGate) ProtoMessage() {}
  661. func (*PodReadinessGate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} }
  662. func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} }
  663. func (*PodSecurityContext) ProtoMessage() {}
  664. func (*PodSecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} }
  665. func (m *PodSignature) Reset() { *m = PodSignature{} }
  666. func (*PodSignature) ProtoMessage() {}
  667. func (*PodSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} }
  668. func (m *PodSpec) Reset() { *m = PodSpec{} }
  669. func (*PodSpec) ProtoMessage() {}
  670. func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} }
  671. func (m *PodStatus) Reset() { *m = PodStatus{} }
  672. func (*PodStatus) ProtoMessage() {}
  673. func (*PodStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} }
  674. func (m *PodStatusResult) Reset() { *m = PodStatusResult{} }
  675. func (*PodStatusResult) ProtoMessage() {}
  676. func (*PodStatusResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} }
  677. func (m *PodTemplate) Reset() { *m = PodTemplate{} }
  678. func (*PodTemplate) ProtoMessage() {}
  679. func (*PodTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} }
  680. func (m *PodTemplateList) Reset() { *m = PodTemplateList{} }
  681. func (*PodTemplateList) ProtoMessage() {}
  682. func (*PodTemplateList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} }
  683. func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} }
  684. func (*PodTemplateSpec) ProtoMessage() {}
  685. func (*PodTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} }
  686. func (m *PortworxVolumeSource) Reset() { *m = PortworxVolumeSource{} }
  687. func (*PortworxVolumeSource) ProtoMessage() {}
  688. func (*PortworxVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} }
  689. func (m *Preconditions) Reset() { *m = Preconditions{} }
  690. func (*Preconditions) ProtoMessage() {}
  691. func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} }
  692. func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} }
  693. func (*PreferAvoidPodsEntry) ProtoMessage() {}
  694. func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} }
  695. func (m *PreferredSchedulingTerm) Reset() { *m = PreferredSchedulingTerm{} }
  696. func (*PreferredSchedulingTerm) ProtoMessage() {}
  697. func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) {
  698. return fileDescriptorGenerated, []int{138}
  699. }
  700. func (m *Probe) Reset() { *m = Probe{} }
  701. func (*Probe) ProtoMessage() {}
  702. func (*Probe) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} }
  703. func (m *ProjectedVolumeSource) Reset() { *m = ProjectedVolumeSource{} }
  704. func (*ProjectedVolumeSource) ProtoMessage() {}
  705. func (*ProjectedVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} }
  706. func (m *QuobyteVolumeSource) Reset() { *m = QuobyteVolumeSource{} }
  707. func (*QuobyteVolumeSource) ProtoMessage() {}
  708. func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} }
  709. func (m *RBDPersistentVolumeSource) Reset() { *m = RBDPersistentVolumeSource{} }
  710. func (*RBDPersistentVolumeSource) ProtoMessage() {}
  711. func (*RBDPersistentVolumeSource) Descriptor() ([]byte, []int) {
  712. return fileDescriptorGenerated, []int{142}
  713. }
  714. func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} }
  715. func (*RBDVolumeSource) ProtoMessage() {}
  716. func (*RBDVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} }
  717. func (m *RangeAllocation) Reset() { *m = RangeAllocation{} }
  718. func (*RangeAllocation) ProtoMessage() {}
  719. func (*RangeAllocation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} }
  720. func (m *ReplicationController) Reset() { *m = ReplicationController{} }
  721. func (*ReplicationController) ProtoMessage() {}
  722. func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} }
  723. func (m *ReplicationControllerCondition) Reset() { *m = ReplicationControllerCondition{} }
  724. func (*ReplicationControllerCondition) ProtoMessage() {}
  725. func (*ReplicationControllerCondition) Descriptor() ([]byte, []int) {
  726. return fileDescriptorGenerated, []int{146}
  727. }
  728. func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} }
  729. func (*ReplicationControllerList) ProtoMessage() {}
  730. func (*ReplicationControllerList) Descriptor() ([]byte, []int) {
  731. return fileDescriptorGenerated, []int{147}
  732. }
  733. func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} }
  734. func (*ReplicationControllerSpec) ProtoMessage() {}
  735. func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) {
  736. return fileDescriptorGenerated, []int{148}
  737. }
  738. func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} }
  739. func (*ReplicationControllerStatus) ProtoMessage() {}
  740. func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) {
  741. return fileDescriptorGenerated, []int{149}
  742. }
  743. func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} }
  744. func (*ResourceFieldSelector) ProtoMessage() {}
  745. func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} }
  746. func (m *ResourceQuota) Reset() { *m = ResourceQuota{} }
  747. func (*ResourceQuota) ProtoMessage() {}
  748. func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} }
  749. func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} }
  750. func (*ResourceQuotaList) ProtoMessage() {}
  751. func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{152} }
  752. func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} }
  753. func (*ResourceQuotaSpec) ProtoMessage() {}
  754. func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{153} }
  755. func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} }
  756. func (*ResourceQuotaStatus) ProtoMessage() {}
  757. func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{154} }
  758. func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} }
  759. func (*ResourceRequirements) ProtoMessage() {}
  760. func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{155} }
  761. func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} }
  762. func (*SELinuxOptions) ProtoMessage() {}
  763. func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{156} }
  764. func (m *ScaleIOPersistentVolumeSource) Reset() { *m = ScaleIOPersistentVolumeSource{} }
  765. func (*ScaleIOPersistentVolumeSource) ProtoMessage() {}
  766. func (*ScaleIOPersistentVolumeSource) Descriptor() ([]byte, []int) {
  767. return fileDescriptorGenerated, []int{157}
  768. }
  769. func (m *ScaleIOVolumeSource) Reset() { *m = ScaleIOVolumeSource{} }
  770. func (*ScaleIOVolumeSource) ProtoMessage() {}
  771. func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{158} }
  772. func (m *ScopeSelector) Reset() { *m = ScopeSelector{} }
  773. func (*ScopeSelector) ProtoMessage() {}
  774. func (*ScopeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{159} }
  775. func (m *ScopedResourceSelectorRequirement) Reset() { *m = ScopedResourceSelectorRequirement{} }
  776. func (*ScopedResourceSelectorRequirement) ProtoMessage() {}
  777. func (*ScopedResourceSelectorRequirement) Descriptor() ([]byte, []int) {
  778. return fileDescriptorGenerated, []int{160}
  779. }
  780. func (m *Secret) Reset() { *m = Secret{} }
  781. func (*Secret) ProtoMessage() {}
  782. func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{161} }
  783. func (m *SecretEnvSource) Reset() { *m = SecretEnvSource{} }
  784. func (*SecretEnvSource) ProtoMessage() {}
  785. func (*SecretEnvSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{162} }
  786. func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} }
  787. func (*SecretKeySelector) ProtoMessage() {}
  788. func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{163} }
  789. func (m *SecretList) Reset() { *m = SecretList{} }
  790. func (*SecretList) ProtoMessage() {}
  791. func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{164} }
  792. func (m *SecretProjection) Reset() { *m = SecretProjection{} }
  793. func (*SecretProjection) ProtoMessage() {}
  794. func (*SecretProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{165} }
  795. func (m *SecretReference) Reset() { *m = SecretReference{} }
  796. func (*SecretReference) ProtoMessage() {}
  797. func (*SecretReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{166} }
  798. func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} }
  799. func (*SecretVolumeSource) ProtoMessage() {}
  800. func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{167} }
  801. func (m *SecurityContext) Reset() { *m = SecurityContext{} }
  802. func (*SecurityContext) ProtoMessage() {}
  803. func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{168} }
  804. func (m *SerializedReference) Reset() { *m = SerializedReference{} }
  805. func (*SerializedReference) ProtoMessage() {}
  806. func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{169} }
  807. func (m *Service) Reset() { *m = Service{} }
  808. func (*Service) ProtoMessage() {}
  809. func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{170} }
  810. func (m *ServiceAccount) Reset() { *m = ServiceAccount{} }
  811. func (*ServiceAccount) ProtoMessage() {}
  812. func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{171} }
  813. func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} }
  814. func (*ServiceAccountList) ProtoMessage() {}
  815. func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{172} }
  816. func (m *ServiceAccountTokenProjection) Reset() { *m = ServiceAccountTokenProjection{} }
  817. func (*ServiceAccountTokenProjection) ProtoMessage() {}
  818. func (*ServiceAccountTokenProjection) Descriptor() ([]byte, []int) {
  819. return fileDescriptorGenerated, []int{173}
  820. }
  821. func (m *ServiceList) Reset() { *m = ServiceList{} }
  822. func (*ServiceList) ProtoMessage() {}
  823. func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{174} }
  824. func (m *ServicePort) Reset() { *m = ServicePort{} }
  825. func (*ServicePort) ProtoMessage() {}
  826. func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{175} }
  827. func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} }
  828. func (*ServiceProxyOptions) ProtoMessage() {}
  829. func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{176} }
  830. func (m *ServiceSpec) Reset() { *m = ServiceSpec{} }
  831. func (*ServiceSpec) ProtoMessage() {}
  832. func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{177} }
  833. func (m *ServiceStatus) Reset() { *m = ServiceStatus{} }
  834. func (*ServiceStatus) ProtoMessage() {}
  835. func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{178} }
  836. func (m *SessionAffinityConfig) Reset() { *m = SessionAffinityConfig{} }
  837. func (*SessionAffinityConfig) ProtoMessage() {}
  838. func (*SessionAffinityConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{179} }
  839. func (m *StorageOSPersistentVolumeSource) Reset() { *m = StorageOSPersistentVolumeSource{} }
  840. func (*StorageOSPersistentVolumeSource) ProtoMessage() {}
  841. func (*StorageOSPersistentVolumeSource) Descriptor() ([]byte, []int) {
  842. return fileDescriptorGenerated, []int{180}
  843. }
  844. func (m *StorageOSVolumeSource) Reset() { *m = StorageOSVolumeSource{} }
  845. func (*StorageOSVolumeSource) ProtoMessage() {}
  846. func (*StorageOSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{181} }
  847. func (m *Sysctl) Reset() { *m = Sysctl{} }
  848. func (*Sysctl) ProtoMessage() {}
  849. func (*Sysctl) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{182} }
  850. func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} }
  851. func (*TCPSocketAction) ProtoMessage() {}
  852. func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{183} }
  853. func (m *Taint) Reset() { *m = Taint{} }
  854. func (*Taint) ProtoMessage() {}
  855. func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{184} }
  856. func (m *Toleration) Reset() { *m = Toleration{} }
  857. func (*Toleration) ProtoMessage() {}
  858. func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{185} }
  859. func (m *TopologySelectorLabelRequirement) Reset() { *m = TopologySelectorLabelRequirement{} }
  860. func (*TopologySelectorLabelRequirement) ProtoMessage() {}
  861. func (*TopologySelectorLabelRequirement) Descriptor() ([]byte, []int) {
  862. return fileDescriptorGenerated, []int{186}
  863. }
  864. func (m *TopologySelectorTerm) Reset() { *m = TopologySelectorTerm{} }
  865. func (*TopologySelectorTerm) ProtoMessage() {}
  866. func (*TopologySelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{187} }
  867. func (m *TypedLocalObjectReference) Reset() { *m = TypedLocalObjectReference{} }
  868. func (*TypedLocalObjectReference) ProtoMessage() {}
  869. func (*TypedLocalObjectReference) Descriptor() ([]byte, []int) {
  870. return fileDescriptorGenerated, []int{188}
  871. }
  872. func (m *Volume) Reset() { *m = Volume{} }
  873. func (*Volume) ProtoMessage() {}
  874. func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{189} }
  875. func (m *VolumeDevice) Reset() { *m = VolumeDevice{} }
  876. func (*VolumeDevice) ProtoMessage() {}
  877. func (*VolumeDevice) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{190} }
  878. func (m *VolumeMount) Reset() { *m = VolumeMount{} }
  879. func (*VolumeMount) ProtoMessage() {}
  880. func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{191} }
  881. func (m *VolumeNodeAffinity) Reset() { *m = VolumeNodeAffinity{} }
  882. func (*VolumeNodeAffinity) ProtoMessage() {}
  883. func (*VolumeNodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{192} }
  884. func (m *VolumeProjection) Reset() { *m = VolumeProjection{} }
  885. func (*VolumeProjection) ProtoMessage() {}
  886. func (*VolumeProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{193} }
  887. func (m *VolumeSource) Reset() { *m = VolumeSource{} }
  888. func (*VolumeSource) ProtoMessage() {}
  889. func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{194} }
  890. func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} }
  891. func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {}
  892. func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) {
  893. return fileDescriptorGenerated, []int{195}
  894. }
  895. func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} }
  896. func (*WeightedPodAffinityTerm) ProtoMessage() {}
  897. func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) {
  898. return fileDescriptorGenerated, []int{196}
  899. }
  900. func init() {
  901. proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource")
  902. proto.RegisterType((*Affinity)(nil), "k8s.io.api.core.v1.Affinity")
  903. proto.RegisterType((*AttachedVolume)(nil), "k8s.io.api.core.v1.AttachedVolume")
  904. proto.RegisterType((*AvoidPods)(nil), "k8s.io.api.core.v1.AvoidPods")
  905. proto.RegisterType((*AzureDiskVolumeSource)(nil), "k8s.io.api.core.v1.AzureDiskVolumeSource")
  906. proto.RegisterType((*AzureFilePersistentVolumeSource)(nil), "k8s.io.api.core.v1.AzureFilePersistentVolumeSource")
  907. proto.RegisterType((*AzureFileVolumeSource)(nil), "k8s.io.api.core.v1.AzureFileVolumeSource")
  908. proto.RegisterType((*Binding)(nil), "k8s.io.api.core.v1.Binding")
  909. proto.RegisterType((*CSIPersistentVolumeSource)(nil), "k8s.io.api.core.v1.CSIPersistentVolumeSource")
  910. proto.RegisterType((*CSIVolumeSource)(nil), "k8s.io.api.core.v1.CSIVolumeSource")
  911. proto.RegisterType((*Capabilities)(nil), "k8s.io.api.core.v1.Capabilities")
  912. proto.RegisterType((*CephFSPersistentVolumeSource)(nil), "k8s.io.api.core.v1.CephFSPersistentVolumeSource")
  913. proto.RegisterType((*CephFSVolumeSource)(nil), "k8s.io.api.core.v1.CephFSVolumeSource")
  914. proto.RegisterType((*CinderPersistentVolumeSource)(nil), "k8s.io.api.core.v1.CinderPersistentVolumeSource")
  915. proto.RegisterType((*CinderVolumeSource)(nil), "k8s.io.api.core.v1.CinderVolumeSource")
  916. proto.RegisterType((*ClientIPConfig)(nil), "k8s.io.api.core.v1.ClientIPConfig")
  917. proto.RegisterType((*ComponentCondition)(nil), "k8s.io.api.core.v1.ComponentCondition")
  918. proto.RegisterType((*ComponentStatus)(nil), "k8s.io.api.core.v1.ComponentStatus")
  919. proto.RegisterType((*ComponentStatusList)(nil), "k8s.io.api.core.v1.ComponentStatusList")
  920. proto.RegisterType((*ConfigMap)(nil), "k8s.io.api.core.v1.ConfigMap")
  921. proto.RegisterType((*ConfigMapEnvSource)(nil), "k8s.io.api.core.v1.ConfigMapEnvSource")
  922. proto.RegisterType((*ConfigMapKeySelector)(nil), "k8s.io.api.core.v1.ConfigMapKeySelector")
  923. proto.RegisterType((*ConfigMapList)(nil), "k8s.io.api.core.v1.ConfigMapList")
  924. proto.RegisterType((*ConfigMapNodeConfigSource)(nil), "k8s.io.api.core.v1.ConfigMapNodeConfigSource")
  925. proto.RegisterType((*ConfigMapProjection)(nil), "k8s.io.api.core.v1.ConfigMapProjection")
  926. proto.RegisterType((*ConfigMapVolumeSource)(nil), "k8s.io.api.core.v1.ConfigMapVolumeSource")
  927. proto.RegisterType((*Container)(nil), "k8s.io.api.core.v1.Container")
  928. proto.RegisterType((*ContainerImage)(nil), "k8s.io.api.core.v1.ContainerImage")
  929. proto.RegisterType((*ContainerPort)(nil), "k8s.io.api.core.v1.ContainerPort")
  930. proto.RegisterType((*ContainerState)(nil), "k8s.io.api.core.v1.ContainerState")
  931. proto.RegisterType((*ContainerStateRunning)(nil), "k8s.io.api.core.v1.ContainerStateRunning")
  932. proto.RegisterType((*ContainerStateTerminated)(nil), "k8s.io.api.core.v1.ContainerStateTerminated")
  933. proto.RegisterType((*ContainerStateWaiting)(nil), "k8s.io.api.core.v1.ContainerStateWaiting")
  934. proto.RegisterType((*ContainerStatus)(nil), "k8s.io.api.core.v1.ContainerStatus")
  935. proto.RegisterType((*DaemonEndpoint)(nil), "k8s.io.api.core.v1.DaemonEndpoint")
  936. proto.RegisterType((*DownwardAPIProjection)(nil), "k8s.io.api.core.v1.DownwardAPIProjection")
  937. proto.RegisterType((*DownwardAPIVolumeFile)(nil), "k8s.io.api.core.v1.DownwardAPIVolumeFile")
  938. proto.RegisterType((*DownwardAPIVolumeSource)(nil), "k8s.io.api.core.v1.DownwardAPIVolumeSource")
  939. proto.RegisterType((*EmptyDirVolumeSource)(nil), "k8s.io.api.core.v1.EmptyDirVolumeSource")
  940. proto.RegisterType((*EndpointAddress)(nil), "k8s.io.api.core.v1.EndpointAddress")
  941. proto.RegisterType((*EndpointPort)(nil), "k8s.io.api.core.v1.EndpointPort")
  942. proto.RegisterType((*EndpointSubset)(nil), "k8s.io.api.core.v1.EndpointSubset")
  943. proto.RegisterType((*Endpoints)(nil), "k8s.io.api.core.v1.Endpoints")
  944. proto.RegisterType((*EndpointsList)(nil), "k8s.io.api.core.v1.EndpointsList")
  945. proto.RegisterType((*EnvFromSource)(nil), "k8s.io.api.core.v1.EnvFromSource")
  946. proto.RegisterType((*EnvVar)(nil), "k8s.io.api.core.v1.EnvVar")
  947. proto.RegisterType((*EnvVarSource)(nil), "k8s.io.api.core.v1.EnvVarSource")
  948. proto.RegisterType((*Event)(nil), "k8s.io.api.core.v1.Event")
  949. proto.RegisterType((*EventList)(nil), "k8s.io.api.core.v1.EventList")
  950. proto.RegisterType((*EventSeries)(nil), "k8s.io.api.core.v1.EventSeries")
  951. proto.RegisterType((*EventSource)(nil), "k8s.io.api.core.v1.EventSource")
  952. proto.RegisterType((*ExecAction)(nil), "k8s.io.api.core.v1.ExecAction")
  953. proto.RegisterType((*FCVolumeSource)(nil), "k8s.io.api.core.v1.FCVolumeSource")
  954. proto.RegisterType((*FlexPersistentVolumeSource)(nil), "k8s.io.api.core.v1.FlexPersistentVolumeSource")
  955. proto.RegisterType((*FlexVolumeSource)(nil), "k8s.io.api.core.v1.FlexVolumeSource")
  956. proto.RegisterType((*FlockerVolumeSource)(nil), "k8s.io.api.core.v1.FlockerVolumeSource")
  957. proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "k8s.io.api.core.v1.GCEPersistentDiskVolumeSource")
  958. proto.RegisterType((*GitRepoVolumeSource)(nil), "k8s.io.api.core.v1.GitRepoVolumeSource")
  959. proto.RegisterType((*GlusterfsPersistentVolumeSource)(nil), "k8s.io.api.core.v1.GlusterfsPersistentVolumeSource")
  960. proto.RegisterType((*GlusterfsVolumeSource)(nil), "k8s.io.api.core.v1.GlusterfsVolumeSource")
  961. proto.RegisterType((*HTTPGetAction)(nil), "k8s.io.api.core.v1.HTTPGetAction")
  962. proto.RegisterType((*HTTPHeader)(nil), "k8s.io.api.core.v1.HTTPHeader")
  963. proto.RegisterType((*Handler)(nil), "k8s.io.api.core.v1.Handler")
  964. proto.RegisterType((*HostAlias)(nil), "k8s.io.api.core.v1.HostAlias")
  965. proto.RegisterType((*HostPathVolumeSource)(nil), "k8s.io.api.core.v1.HostPathVolumeSource")
  966. proto.RegisterType((*ISCSIPersistentVolumeSource)(nil), "k8s.io.api.core.v1.ISCSIPersistentVolumeSource")
  967. proto.RegisterType((*ISCSIVolumeSource)(nil), "k8s.io.api.core.v1.ISCSIVolumeSource")
  968. proto.RegisterType((*KeyToPath)(nil), "k8s.io.api.core.v1.KeyToPath")
  969. proto.RegisterType((*Lifecycle)(nil), "k8s.io.api.core.v1.Lifecycle")
  970. proto.RegisterType((*LimitRange)(nil), "k8s.io.api.core.v1.LimitRange")
  971. proto.RegisterType((*LimitRangeItem)(nil), "k8s.io.api.core.v1.LimitRangeItem")
  972. proto.RegisterType((*LimitRangeList)(nil), "k8s.io.api.core.v1.LimitRangeList")
  973. proto.RegisterType((*LimitRangeSpec)(nil), "k8s.io.api.core.v1.LimitRangeSpec")
  974. proto.RegisterType((*List)(nil), "k8s.io.api.core.v1.List")
  975. proto.RegisterType((*LoadBalancerIngress)(nil), "k8s.io.api.core.v1.LoadBalancerIngress")
  976. proto.RegisterType((*LoadBalancerStatus)(nil), "k8s.io.api.core.v1.LoadBalancerStatus")
  977. proto.RegisterType((*LocalObjectReference)(nil), "k8s.io.api.core.v1.LocalObjectReference")
  978. proto.RegisterType((*LocalVolumeSource)(nil), "k8s.io.api.core.v1.LocalVolumeSource")
  979. proto.RegisterType((*NFSVolumeSource)(nil), "k8s.io.api.core.v1.NFSVolumeSource")
  980. proto.RegisterType((*Namespace)(nil), "k8s.io.api.core.v1.Namespace")
  981. proto.RegisterType((*NamespaceList)(nil), "k8s.io.api.core.v1.NamespaceList")
  982. proto.RegisterType((*NamespaceSpec)(nil), "k8s.io.api.core.v1.NamespaceSpec")
  983. proto.RegisterType((*NamespaceStatus)(nil), "k8s.io.api.core.v1.NamespaceStatus")
  984. proto.RegisterType((*Node)(nil), "k8s.io.api.core.v1.Node")
  985. proto.RegisterType((*NodeAddress)(nil), "k8s.io.api.core.v1.NodeAddress")
  986. proto.RegisterType((*NodeAffinity)(nil), "k8s.io.api.core.v1.NodeAffinity")
  987. proto.RegisterType((*NodeCondition)(nil), "k8s.io.api.core.v1.NodeCondition")
  988. proto.RegisterType((*NodeConfigSource)(nil), "k8s.io.api.core.v1.NodeConfigSource")
  989. proto.RegisterType((*NodeConfigStatus)(nil), "k8s.io.api.core.v1.NodeConfigStatus")
  990. proto.RegisterType((*NodeDaemonEndpoints)(nil), "k8s.io.api.core.v1.NodeDaemonEndpoints")
  991. proto.RegisterType((*NodeList)(nil), "k8s.io.api.core.v1.NodeList")
  992. proto.RegisterType((*NodeProxyOptions)(nil), "k8s.io.api.core.v1.NodeProxyOptions")
  993. proto.RegisterType((*NodeResources)(nil), "k8s.io.api.core.v1.NodeResources")
  994. proto.RegisterType((*NodeSelector)(nil), "k8s.io.api.core.v1.NodeSelector")
  995. proto.RegisterType((*NodeSelectorRequirement)(nil), "k8s.io.api.core.v1.NodeSelectorRequirement")
  996. proto.RegisterType((*NodeSelectorTerm)(nil), "k8s.io.api.core.v1.NodeSelectorTerm")
  997. proto.RegisterType((*NodeSpec)(nil), "k8s.io.api.core.v1.NodeSpec")
  998. proto.RegisterType((*NodeStatus)(nil), "k8s.io.api.core.v1.NodeStatus")
  999. proto.RegisterType((*NodeSystemInfo)(nil), "k8s.io.api.core.v1.NodeSystemInfo")
  1000. proto.RegisterType((*ObjectFieldSelector)(nil), "k8s.io.api.core.v1.ObjectFieldSelector")
  1001. proto.RegisterType((*ObjectReference)(nil), "k8s.io.api.core.v1.ObjectReference")
  1002. proto.RegisterType((*PersistentVolume)(nil), "k8s.io.api.core.v1.PersistentVolume")
  1003. proto.RegisterType((*PersistentVolumeClaim)(nil), "k8s.io.api.core.v1.PersistentVolumeClaim")
  1004. proto.RegisterType((*PersistentVolumeClaimCondition)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimCondition")
  1005. proto.RegisterType((*PersistentVolumeClaimList)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimList")
  1006. proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimSpec")
  1007. proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimStatus")
  1008. proto.RegisterType((*PersistentVolumeClaimVolumeSource)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource")
  1009. proto.RegisterType((*PersistentVolumeList)(nil), "k8s.io.api.core.v1.PersistentVolumeList")
  1010. proto.RegisterType((*PersistentVolumeSource)(nil), "k8s.io.api.core.v1.PersistentVolumeSource")
  1011. proto.RegisterType((*PersistentVolumeSpec)(nil), "k8s.io.api.core.v1.PersistentVolumeSpec")
  1012. proto.RegisterType((*PersistentVolumeStatus)(nil), "k8s.io.api.core.v1.PersistentVolumeStatus")
  1013. proto.RegisterType((*PhotonPersistentDiskVolumeSource)(nil), "k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource")
  1014. proto.RegisterType((*Pod)(nil), "k8s.io.api.core.v1.Pod")
  1015. proto.RegisterType((*PodAffinity)(nil), "k8s.io.api.core.v1.PodAffinity")
  1016. proto.RegisterType((*PodAffinityTerm)(nil), "k8s.io.api.core.v1.PodAffinityTerm")
  1017. proto.RegisterType((*PodAntiAffinity)(nil), "k8s.io.api.core.v1.PodAntiAffinity")
  1018. proto.RegisterType((*PodAttachOptions)(nil), "k8s.io.api.core.v1.PodAttachOptions")
  1019. proto.RegisterType((*PodCondition)(nil), "k8s.io.api.core.v1.PodCondition")
  1020. proto.RegisterType((*PodDNSConfig)(nil), "k8s.io.api.core.v1.PodDNSConfig")
  1021. proto.RegisterType((*PodDNSConfigOption)(nil), "k8s.io.api.core.v1.PodDNSConfigOption")
  1022. proto.RegisterType((*PodExecOptions)(nil), "k8s.io.api.core.v1.PodExecOptions")
  1023. proto.RegisterType((*PodList)(nil), "k8s.io.api.core.v1.PodList")
  1024. proto.RegisterType((*PodLogOptions)(nil), "k8s.io.api.core.v1.PodLogOptions")
  1025. proto.RegisterType((*PodPortForwardOptions)(nil), "k8s.io.api.core.v1.PodPortForwardOptions")
  1026. proto.RegisterType((*PodProxyOptions)(nil), "k8s.io.api.core.v1.PodProxyOptions")
  1027. proto.RegisterType((*PodReadinessGate)(nil), "k8s.io.api.core.v1.PodReadinessGate")
  1028. proto.RegisterType((*PodSecurityContext)(nil), "k8s.io.api.core.v1.PodSecurityContext")
  1029. proto.RegisterType((*PodSignature)(nil), "k8s.io.api.core.v1.PodSignature")
  1030. proto.RegisterType((*PodSpec)(nil), "k8s.io.api.core.v1.PodSpec")
  1031. proto.RegisterType((*PodStatus)(nil), "k8s.io.api.core.v1.PodStatus")
  1032. proto.RegisterType((*PodStatusResult)(nil), "k8s.io.api.core.v1.PodStatusResult")
  1033. proto.RegisterType((*PodTemplate)(nil), "k8s.io.api.core.v1.PodTemplate")
  1034. proto.RegisterType((*PodTemplateList)(nil), "k8s.io.api.core.v1.PodTemplateList")
  1035. proto.RegisterType((*PodTemplateSpec)(nil), "k8s.io.api.core.v1.PodTemplateSpec")
  1036. proto.RegisterType((*PortworxVolumeSource)(nil), "k8s.io.api.core.v1.PortworxVolumeSource")
  1037. proto.RegisterType((*Preconditions)(nil), "k8s.io.api.core.v1.Preconditions")
  1038. proto.RegisterType((*PreferAvoidPodsEntry)(nil), "k8s.io.api.core.v1.PreferAvoidPodsEntry")
  1039. proto.RegisterType((*PreferredSchedulingTerm)(nil), "k8s.io.api.core.v1.PreferredSchedulingTerm")
  1040. proto.RegisterType((*Probe)(nil), "k8s.io.api.core.v1.Probe")
  1041. proto.RegisterType((*ProjectedVolumeSource)(nil), "k8s.io.api.core.v1.ProjectedVolumeSource")
  1042. proto.RegisterType((*QuobyteVolumeSource)(nil), "k8s.io.api.core.v1.QuobyteVolumeSource")
  1043. proto.RegisterType((*RBDPersistentVolumeSource)(nil), "k8s.io.api.core.v1.RBDPersistentVolumeSource")
  1044. proto.RegisterType((*RBDVolumeSource)(nil), "k8s.io.api.core.v1.RBDVolumeSource")
  1045. proto.RegisterType((*RangeAllocation)(nil), "k8s.io.api.core.v1.RangeAllocation")
  1046. proto.RegisterType((*ReplicationController)(nil), "k8s.io.api.core.v1.ReplicationController")
  1047. proto.RegisterType((*ReplicationControllerCondition)(nil), "k8s.io.api.core.v1.ReplicationControllerCondition")
  1048. proto.RegisterType((*ReplicationControllerList)(nil), "k8s.io.api.core.v1.ReplicationControllerList")
  1049. proto.RegisterType((*ReplicationControllerSpec)(nil), "k8s.io.api.core.v1.ReplicationControllerSpec")
  1050. proto.RegisterType((*ReplicationControllerStatus)(nil), "k8s.io.api.core.v1.ReplicationControllerStatus")
  1051. proto.RegisterType((*ResourceFieldSelector)(nil), "k8s.io.api.core.v1.ResourceFieldSelector")
  1052. proto.RegisterType((*ResourceQuota)(nil), "k8s.io.api.core.v1.ResourceQuota")
  1053. proto.RegisterType((*ResourceQuotaList)(nil), "k8s.io.api.core.v1.ResourceQuotaList")
  1054. proto.RegisterType((*ResourceQuotaSpec)(nil), "k8s.io.api.core.v1.ResourceQuotaSpec")
  1055. proto.RegisterType((*ResourceQuotaStatus)(nil), "k8s.io.api.core.v1.ResourceQuotaStatus")
  1056. proto.RegisterType((*ResourceRequirements)(nil), "k8s.io.api.core.v1.ResourceRequirements")
  1057. proto.RegisterType((*SELinuxOptions)(nil), "k8s.io.api.core.v1.SELinuxOptions")
  1058. proto.RegisterType((*ScaleIOPersistentVolumeSource)(nil), "k8s.io.api.core.v1.ScaleIOPersistentVolumeSource")
  1059. proto.RegisterType((*ScaleIOVolumeSource)(nil), "k8s.io.api.core.v1.ScaleIOVolumeSource")
  1060. proto.RegisterType((*ScopeSelector)(nil), "k8s.io.api.core.v1.ScopeSelector")
  1061. proto.RegisterType((*ScopedResourceSelectorRequirement)(nil), "k8s.io.api.core.v1.ScopedResourceSelectorRequirement")
  1062. proto.RegisterType((*Secret)(nil), "k8s.io.api.core.v1.Secret")
  1063. proto.RegisterType((*SecretEnvSource)(nil), "k8s.io.api.core.v1.SecretEnvSource")
  1064. proto.RegisterType((*SecretKeySelector)(nil), "k8s.io.api.core.v1.SecretKeySelector")
  1065. proto.RegisterType((*SecretList)(nil), "k8s.io.api.core.v1.SecretList")
  1066. proto.RegisterType((*SecretProjection)(nil), "k8s.io.api.core.v1.SecretProjection")
  1067. proto.RegisterType((*SecretReference)(nil), "k8s.io.api.core.v1.SecretReference")
  1068. proto.RegisterType((*SecretVolumeSource)(nil), "k8s.io.api.core.v1.SecretVolumeSource")
  1069. proto.RegisterType((*SecurityContext)(nil), "k8s.io.api.core.v1.SecurityContext")
  1070. proto.RegisterType((*SerializedReference)(nil), "k8s.io.api.core.v1.SerializedReference")
  1071. proto.RegisterType((*Service)(nil), "k8s.io.api.core.v1.Service")
  1072. proto.RegisterType((*ServiceAccount)(nil), "k8s.io.api.core.v1.ServiceAccount")
  1073. proto.RegisterType((*ServiceAccountList)(nil), "k8s.io.api.core.v1.ServiceAccountList")
  1074. proto.RegisterType((*ServiceAccountTokenProjection)(nil), "k8s.io.api.core.v1.ServiceAccountTokenProjection")
  1075. proto.RegisterType((*ServiceList)(nil), "k8s.io.api.core.v1.ServiceList")
  1076. proto.RegisterType((*ServicePort)(nil), "k8s.io.api.core.v1.ServicePort")
  1077. proto.RegisterType((*ServiceProxyOptions)(nil), "k8s.io.api.core.v1.ServiceProxyOptions")
  1078. proto.RegisterType((*ServiceSpec)(nil), "k8s.io.api.core.v1.ServiceSpec")
  1079. proto.RegisterType((*ServiceStatus)(nil), "k8s.io.api.core.v1.ServiceStatus")
  1080. proto.RegisterType((*SessionAffinityConfig)(nil), "k8s.io.api.core.v1.SessionAffinityConfig")
  1081. proto.RegisterType((*StorageOSPersistentVolumeSource)(nil), "k8s.io.api.core.v1.StorageOSPersistentVolumeSource")
  1082. proto.RegisterType((*StorageOSVolumeSource)(nil), "k8s.io.api.core.v1.StorageOSVolumeSource")
  1083. proto.RegisterType((*Sysctl)(nil), "k8s.io.api.core.v1.Sysctl")
  1084. proto.RegisterType((*TCPSocketAction)(nil), "k8s.io.api.core.v1.TCPSocketAction")
  1085. proto.RegisterType((*Taint)(nil), "k8s.io.api.core.v1.Taint")
  1086. proto.RegisterType((*Toleration)(nil), "k8s.io.api.core.v1.Toleration")
  1087. proto.RegisterType((*TopologySelectorLabelRequirement)(nil), "k8s.io.api.core.v1.TopologySelectorLabelRequirement")
  1088. proto.RegisterType((*TopologySelectorTerm)(nil), "k8s.io.api.core.v1.TopologySelectorTerm")
  1089. proto.RegisterType((*TypedLocalObjectReference)(nil), "k8s.io.api.core.v1.TypedLocalObjectReference")
  1090. proto.RegisterType((*Volume)(nil), "k8s.io.api.core.v1.Volume")
  1091. proto.RegisterType((*VolumeDevice)(nil), "k8s.io.api.core.v1.VolumeDevice")
  1092. proto.RegisterType((*VolumeMount)(nil), "k8s.io.api.core.v1.VolumeMount")
  1093. proto.RegisterType((*VolumeNodeAffinity)(nil), "k8s.io.api.core.v1.VolumeNodeAffinity")
  1094. proto.RegisterType((*VolumeProjection)(nil), "k8s.io.api.core.v1.VolumeProjection")
  1095. proto.RegisterType((*VolumeSource)(nil), "k8s.io.api.core.v1.VolumeSource")
  1096. proto.RegisterType((*VsphereVirtualDiskVolumeSource)(nil), "k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource")
  1097. proto.RegisterType((*WeightedPodAffinityTerm)(nil), "k8s.io.api.core.v1.WeightedPodAffinityTerm")
  1098. }
  1099. func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) {
  1100. size := m.Size()
  1101. dAtA = make([]byte, size)
  1102. n, err := m.MarshalTo(dAtA)
  1103. if err != nil {
  1104. return nil, err
  1105. }
  1106. return dAtA[:n], nil
  1107. }
  1108. func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1109. var i int
  1110. _ = i
  1111. var l int
  1112. _ = l
  1113. dAtA[i] = 0xa
  1114. i++
  1115. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeID)))
  1116. i += copy(dAtA[i:], m.VolumeID)
  1117. dAtA[i] = 0x12
  1118. i++
  1119. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  1120. i += copy(dAtA[i:], m.FSType)
  1121. dAtA[i] = 0x18
  1122. i++
  1123. i = encodeVarintGenerated(dAtA, i, uint64(m.Partition))
  1124. dAtA[i] = 0x20
  1125. i++
  1126. if m.ReadOnly {
  1127. dAtA[i] = 1
  1128. } else {
  1129. dAtA[i] = 0
  1130. }
  1131. i++
  1132. return i, nil
  1133. }
  1134. func (m *Affinity) Marshal() (dAtA []byte, err error) {
  1135. size := m.Size()
  1136. dAtA = make([]byte, size)
  1137. n, err := m.MarshalTo(dAtA)
  1138. if err != nil {
  1139. return nil, err
  1140. }
  1141. return dAtA[:n], nil
  1142. }
  1143. func (m *Affinity) MarshalTo(dAtA []byte) (int, error) {
  1144. var i int
  1145. _ = i
  1146. var l int
  1147. _ = l
  1148. if m.NodeAffinity != nil {
  1149. dAtA[i] = 0xa
  1150. i++
  1151. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeAffinity.Size()))
  1152. n1, err := m.NodeAffinity.MarshalTo(dAtA[i:])
  1153. if err != nil {
  1154. return 0, err
  1155. }
  1156. i += n1
  1157. }
  1158. if m.PodAffinity != nil {
  1159. dAtA[i] = 0x12
  1160. i++
  1161. i = encodeVarintGenerated(dAtA, i, uint64(m.PodAffinity.Size()))
  1162. n2, err := m.PodAffinity.MarshalTo(dAtA[i:])
  1163. if err != nil {
  1164. return 0, err
  1165. }
  1166. i += n2
  1167. }
  1168. if m.PodAntiAffinity != nil {
  1169. dAtA[i] = 0x1a
  1170. i++
  1171. i = encodeVarintGenerated(dAtA, i, uint64(m.PodAntiAffinity.Size()))
  1172. n3, err := m.PodAntiAffinity.MarshalTo(dAtA[i:])
  1173. if err != nil {
  1174. return 0, err
  1175. }
  1176. i += n3
  1177. }
  1178. return i, nil
  1179. }
  1180. func (m *AttachedVolume) Marshal() (dAtA []byte, err error) {
  1181. size := m.Size()
  1182. dAtA = make([]byte, size)
  1183. n, err := m.MarshalTo(dAtA)
  1184. if err != nil {
  1185. return nil, err
  1186. }
  1187. return dAtA[:n], nil
  1188. }
  1189. func (m *AttachedVolume) MarshalTo(dAtA []byte) (int, error) {
  1190. var i int
  1191. _ = i
  1192. var l int
  1193. _ = l
  1194. dAtA[i] = 0xa
  1195. i++
  1196. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  1197. i += copy(dAtA[i:], m.Name)
  1198. dAtA[i] = 0x12
  1199. i++
  1200. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DevicePath)))
  1201. i += copy(dAtA[i:], m.DevicePath)
  1202. return i, nil
  1203. }
  1204. func (m *AvoidPods) Marshal() (dAtA []byte, err error) {
  1205. size := m.Size()
  1206. dAtA = make([]byte, size)
  1207. n, err := m.MarshalTo(dAtA)
  1208. if err != nil {
  1209. return nil, err
  1210. }
  1211. return dAtA[:n], nil
  1212. }
  1213. func (m *AvoidPods) MarshalTo(dAtA []byte) (int, error) {
  1214. var i int
  1215. _ = i
  1216. var l int
  1217. _ = l
  1218. if len(m.PreferAvoidPods) > 0 {
  1219. for _, msg := range m.PreferAvoidPods {
  1220. dAtA[i] = 0xa
  1221. i++
  1222. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1223. n, err := msg.MarshalTo(dAtA[i:])
  1224. if err != nil {
  1225. return 0, err
  1226. }
  1227. i += n
  1228. }
  1229. }
  1230. return i, nil
  1231. }
  1232. func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  1233. size := m.Size()
  1234. dAtA = make([]byte, size)
  1235. n, err := m.MarshalTo(dAtA)
  1236. if err != nil {
  1237. return nil, err
  1238. }
  1239. return dAtA[:n], nil
  1240. }
  1241. func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1242. var i int
  1243. _ = i
  1244. var l int
  1245. _ = l
  1246. dAtA[i] = 0xa
  1247. i++
  1248. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DiskName)))
  1249. i += copy(dAtA[i:], m.DiskName)
  1250. dAtA[i] = 0x12
  1251. i++
  1252. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DataDiskURI)))
  1253. i += copy(dAtA[i:], m.DataDiskURI)
  1254. if m.CachingMode != nil {
  1255. dAtA[i] = 0x1a
  1256. i++
  1257. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.CachingMode)))
  1258. i += copy(dAtA[i:], *m.CachingMode)
  1259. }
  1260. if m.FSType != nil {
  1261. dAtA[i] = 0x22
  1262. i++
  1263. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.FSType)))
  1264. i += copy(dAtA[i:], *m.FSType)
  1265. }
  1266. if m.ReadOnly != nil {
  1267. dAtA[i] = 0x28
  1268. i++
  1269. if *m.ReadOnly {
  1270. dAtA[i] = 1
  1271. } else {
  1272. dAtA[i] = 0
  1273. }
  1274. i++
  1275. }
  1276. if m.Kind != nil {
  1277. dAtA[i] = 0x32
  1278. i++
  1279. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Kind)))
  1280. i += copy(dAtA[i:], *m.Kind)
  1281. }
  1282. return i, nil
  1283. }
  1284. func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  1285. size := m.Size()
  1286. dAtA = make([]byte, size)
  1287. n, err := m.MarshalTo(dAtA)
  1288. if err != nil {
  1289. return nil, err
  1290. }
  1291. return dAtA[:n], nil
  1292. }
  1293. func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1294. var i int
  1295. _ = i
  1296. var l int
  1297. _ = l
  1298. dAtA[i] = 0xa
  1299. i++
  1300. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
  1301. i += copy(dAtA[i:], m.SecretName)
  1302. dAtA[i] = 0x12
  1303. i++
  1304. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ShareName)))
  1305. i += copy(dAtA[i:], m.ShareName)
  1306. dAtA[i] = 0x18
  1307. i++
  1308. if m.ReadOnly {
  1309. dAtA[i] = 1
  1310. } else {
  1311. dAtA[i] = 0
  1312. }
  1313. i++
  1314. if m.SecretNamespace != nil {
  1315. dAtA[i] = 0x22
  1316. i++
  1317. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.SecretNamespace)))
  1318. i += copy(dAtA[i:], *m.SecretNamespace)
  1319. }
  1320. return i, nil
  1321. }
  1322. func (m *AzureFileVolumeSource) Marshal() (dAtA []byte, err error) {
  1323. size := m.Size()
  1324. dAtA = make([]byte, size)
  1325. n, err := m.MarshalTo(dAtA)
  1326. if err != nil {
  1327. return nil, err
  1328. }
  1329. return dAtA[:n], nil
  1330. }
  1331. func (m *AzureFileVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1332. var i int
  1333. _ = i
  1334. var l int
  1335. _ = l
  1336. dAtA[i] = 0xa
  1337. i++
  1338. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
  1339. i += copy(dAtA[i:], m.SecretName)
  1340. dAtA[i] = 0x12
  1341. i++
  1342. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ShareName)))
  1343. i += copy(dAtA[i:], m.ShareName)
  1344. dAtA[i] = 0x18
  1345. i++
  1346. if m.ReadOnly {
  1347. dAtA[i] = 1
  1348. } else {
  1349. dAtA[i] = 0
  1350. }
  1351. i++
  1352. return i, nil
  1353. }
  1354. func (m *Binding) Marshal() (dAtA []byte, err error) {
  1355. size := m.Size()
  1356. dAtA = make([]byte, size)
  1357. n, err := m.MarshalTo(dAtA)
  1358. if err != nil {
  1359. return nil, err
  1360. }
  1361. return dAtA[:n], nil
  1362. }
  1363. func (m *Binding) MarshalTo(dAtA []byte) (int, error) {
  1364. var i int
  1365. _ = i
  1366. var l int
  1367. _ = l
  1368. dAtA[i] = 0xa
  1369. i++
  1370. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1371. n4, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1372. if err != nil {
  1373. return 0, err
  1374. }
  1375. i += n4
  1376. dAtA[i] = 0x12
  1377. i++
  1378. i = encodeVarintGenerated(dAtA, i, uint64(m.Target.Size()))
  1379. n5, err := m.Target.MarshalTo(dAtA[i:])
  1380. if err != nil {
  1381. return 0, err
  1382. }
  1383. i += n5
  1384. return i, nil
  1385. }
  1386. func (m *CSIPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  1387. size := m.Size()
  1388. dAtA = make([]byte, size)
  1389. n, err := m.MarshalTo(dAtA)
  1390. if err != nil {
  1391. return nil, err
  1392. }
  1393. return dAtA[:n], nil
  1394. }
  1395. func (m *CSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1396. var i int
  1397. _ = i
  1398. var l int
  1399. _ = l
  1400. dAtA[i] = 0xa
  1401. i++
  1402. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  1403. i += copy(dAtA[i:], m.Driver)
  1404. dAtA[i] = 0x12
  1405. i++
  1406. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeHandle)))
  1407. i += copy(dAtA[i:], m.VolumeHandle)
  1408. dAtA[i] = 0x18
  1409. i++
  1410. if m.ReadOnly {
  1411. dAtA[i] = 1
  1412. } else {
  1413. dAtA[i] = 0
  1414. }
  1415. i++
  1416. dAtA[i] = 0x22
  1417. i++
  1418. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  1419. i += copy(dAtA[i:], m.FSType)
  1420. if len(m.VolumeAttributes) > 0 {
  1421. keysForVolumeAttributes := make([]string, 0, len(m.VolumeAttributes))
  1422. for k := range m.VolumeAttributes {
  1423. keysForVolumeAttributes = append(keysForVolumeAttributes, string(k))
  1424. }
  1425. github_com_gogo_protobuf_sortkeys.Strings(keysForVolumeAttributes)
  1426. for _, k := range keysForVolumeAttributes {
  1427. dAtA[i] = 0x2a
  1428. i++
  1429. v := m.VolumeAttributes[string(k)]
  1430. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1431. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1432. dAtA[i] = 0xa
  1433. i++
  1434. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1435. i += copy(dAtA[i:], k)
  1436. dAtA[i] = 0x12
  1437. i++
  1438. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1439. i += copy(dAtA[i:], v)
  1440. }
  1441. }
  1442. if m.ControllerPublishSecretRef != nil {
  1443. dAtA[i] = 0x32
  1444. i++
  1445. i = encodeVarintGenerated(dAtA, i, uint64(m.ControllerPublishSecretRef.Size()))
  1446. n6, err := m.ControllerPublishSecretRef.MarshalTo(dAtA[i:])
  1447. if err != nil {
  1448. return 0, err
  1449. }
  1450. i += n6
  1451. }
  1452. if m.NodeStageSecretRef != nil {
  1453. dAtA[i] = 0x3a
  1454. i++
  1455. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeStageSecretRef.Size()))
  1456. n7, err := m.NodeStageSecretRef.MarshalTo(dAtA[i:])
  1457. if err != nil {
  1458. return 0, err
  1459. }
  1460. i += n7
  1461. }
  1462. if m.NodePublishSecretRef != nil {
  1463. dAtA[i] = 0x42
  1464. i++
  1465. i = encodeVarintGenerated(dAtA, i, uint64(m.NodePublishSecretRef.Size()))
  1466. n8, err := m.NodePublishSecretRef.MarshalTo(dAtA[i:])
  1467. if err != nil {
  1468. return 0, err
  1469. }
  1470. i += n8
  1471. }
  1472. return i, nil
  1473. }
  1474. func (m *CSIVolumeSource) Marshal() (dAtA []byte, err error) {
  1475. size := m.Size()
  1476. dAtA = make([]byte, size)
  1477. n, err := m.MarshalTo(dAtA)
  1478. if err != nil {
  1479. return nil, err
  1480. }
  1481. return dAtA[:n], nil
  1482. }
  1483. func (m *CSIVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1484. var i int
  1485. _ = i
  1486. var l int
  1487. _ = l
  1488. dAtA[i] = 0xa
  1489. i++
  1490. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  1491. i += copy(dAtA[i:], m.Driver)
  1492. if m.ReadOnly != nil {
  1493. dAtA[i] = 0x10
  1494. i++
  1495. if *m.ReadOnly {
  1496. dAtA[i] = 1
  1497. } else {
  1498. dAtA[i] = 0
  1499. }
  1500. i++
  1501. }
  1502. if m.FSType != nil {
  1503. dAtA[i] = 0x1a
  1504. i++
  1505. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.FSType)))
  1506. i += copy(dAtA[i:], *m.FSType)
  1507. }
  1508. if len(m.VolumeAttributes) > 0 {
  1509. keysForVolumeAttributes := make([]string, 0, len(m.VolumeAttributes))
  1510. for k := range m.VolumeAttributes {
  1511. keysForVolumeAttributes = append(keysForVolumeAttributes, string(k))
  1512. }
  1513. github_com_gogo_protobuf_sortkeys.Strings(keysForVolumeAttributes)
  1514. for _, k := range keysForVolumeAttributes {
  1515. dAtA[i] = 0x22
  1516. i++
  1517. v := m.VolumeAttributes[string(k)]
  1518. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1519. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1520. dAtA[i] = 0xa
  1521. i++
  1522. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1523. i += copy(dAtA[i:], k)
  1524. dAtA[i] = 0x12
  1525. i++
  1526. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1527. i += copy(dAtA[i:], v)
  1528. }
  1529. }
  1530. if m.NodePublishSecretRef != nil {
  1531. dAtA[i] = 0x2a
  1532. i++
  1533. i = encodeVarintGenerated(dAtA, i, uint64(m.NodePublishSecretRef.Size()))
  1534. n9, err := m.NodePublishSecretRef.MarshalTo(dAtA[i:])
  1535. if err != nil {
  1536. return 0, err
  1537. }
  1538. i += n9
  1539. }
  1540. return i, nil
  1541. }
  1542. func (m *Capabilities) Marshal() (dAtA []byte, err error) {
  1543. size := m.Size()
  1544. dAtA = make([]byte, size)
  1545. n, err := m.MarshalTo(dAtA)
  1546. if err != nil {
  1547. return nil, err
  1548. }
  1549. return dAtA[:n], nil
  1550. }
  1551. func (m *Capabilities) MarshalTo(dAtA []byte) (int, error) {
  1552. var i int
  1553. _ = i
  1554. var l int
  1555. _ = l
  1556. if len(m.Add) > 0 {
  1557. for _, s := range m.Add {
  1558. dAtA[i] = 0xa
  1559. i++
  1560. l = len(s)
  1561. for l >= 1<<7 {
  1562. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1563. l >>= 7
  1564. i++
  1565. }
  1566. dAtA[i] = uint8(l)
  1567. i++
  1568. i += copy(dAtA[i:], s)
  1569. }
  1570. }
  1571. if len(m.Drop) > 0 {
  1572. for _, s := range m.Drop {
  1573. dAtA[i] = 0x12
  1574. i++
  1575. l = len(s)
  1576. for l >= 1<<7 {
  1577. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1578. l >>= 7
  1579. i++
  1580. }
  1581. dAtA[i] = uint8(l)
  1582. i++
  1583. i += copy(dAtA[i:], s)
  1584. }
  1585. }
  1586. return i, nil
  1587. }
  1588. func (m *CephFSPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  1589. size := m.Size()
  1590. dAtA = make([]byte, size)
  1591. n, err := m.MarshalTo(dAtA)
  1592. if err != nil {
  1593. return nil, err
  1594. }
  1595. return dAtA[:n], nil
  1596. }
  1597. func (m *CephFSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1598. var i int
  1599. _ = i
  1600. var l int
  1601. _ = l
  1602. if len(m.Monitors) > 0 {
  1603. for _, s := range m.Monitors {
  1604. dAtA[i] = 0xa
  1605. i++
  1606. l = len(s)
  1607. for l >= 1<<7 {
  1608. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1609. l >>= 7
  1610. i++
  1611. }
  1612. dAtA[i] = uint8(l)
  1613. i++
  1614. i += copy(dAtA[i:], s)
  1615. }
  1616. }
  1617. dAtA[i] = 0x12
  1618. i++
  1619. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  1620. i += copy(dAtA[i:], m.Path)
  1621. dAtA[i] = 0x1a
  1622. i++
  1623. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  1624. i += copy(dAtA[i:], m.User)
  1625. dAtA[i] = 0x22
  1626. i++
  1627. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretFile)))
  1628. i += copy(dAtA[i:], m.SecretFile)
  1629. if m.SecretRef != nil {
  1630. dAtA[i] = 0x2a
  1631. i++
  1632. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  1633. n10, err := m.SecretRef.MarshalTo(dAtA[i:])
  1634. if err != nil {
  1635. return 0, err
  1636. }
  1637. i += n10
  1638. }
  1639. dAtA[i] = 0x30
  1640. i++
  1641. if m.ReadOnly {
  1642. dAtA[i] = 1
  1643. } else {
  1644. dAtA[i] = 0
  1645. }
  1646. i++
  1647. return i, nil
  1648. }
  1649. func (m *CephFSVolumeSource) Marshal() (dAtA []byte, err error) {
  1650. size := m.Size()
  1651. dAtA = make([]byte, size)
  1652. n, err := m.MarshalTo(dAtA)
  1653. if err != nil {
  1654. return nil, err
  1655. }
  1656. return dAtA[:n], nil
  1657. }
  1658. func (m *CephFSVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1659. var i int
  1660. _ = i
  1661. var l int
  1662. _ = l
  1663. if len(m.Monitors) > 0 {
  1664. for _, s := range m.Monitors {
  1665. dAtA[i] = 0xa
  1666. i++
  1667. l = len(s)
  1668. for l >= 1<<7 {
  1669. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1670. l >>= 7
  1671. i++
  1672. }
  1673. dAtA[i] = uint8(l)
  1674. i++
  1675. i += copy(dAtA[i:], s)
  1676. }
  1677. }
  1678. dAtA[i] = 0x12
  1679. i++
  1680. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  1681. i += copy(dAtA[i:], m.Path)
  1682. dAtA[i] = 0x1a
  1683. i++
  1684. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  1685. i += copy(dAtA[i:], m.User)
  1686. dAtA[i] = 0x22
  1687. i++
  1688. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretFile)))
  1689. i += copy(dAtA[i:], m.SecretFile)
  1690. if m.SecretRef != nil {
  1691. dAtA[i] = 0x2a
  1692. i++
  1693. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  1694. n11, err := m.SecretRef.MarshalTo(dAtA[i:])
  1695. if err != nil {
  1696. return 0, err
  1697. }
  1698. i += n11
  1699. }
  1700. dAtA[i] = 0x30
  1701. i++
  1702. if m.ReadOnly {
  1703. dAtA[i] = 1
  1704. } else {
  1705. dAtA[i] = 0
  1706. }
  1707. i++
  1708. return i, nil
  1709. }
  1710. func (m *CinderPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  1711. size := m.Size()
  1712. dAtA = make([]byte, size)
  1713. n, err := m.MarshalTo(dAtA)
  1714. if err != nil {
  1715. return nil, err
  1716. }
  1717. return dAtA[:n], nil
  1718. }
  1719. func (m *CinderPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1720. var i int
  1721. _ = i
  1722. var l int
  1723. _ = l
  1724. dAtA[i] = 0xa
  1725. i++
  1726. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeID)))
  1727. i += copy(dAtA[i:], m.VolumeID)
  1728. dAtA[i] = 0x12
  1729. i++
  1730. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  1731. i += copy(dAtA[i:], m.FSType)
  1732. dAtA[i] = 0x18
  1733. i++
  1734. if m.ReadOnly {
  1735. dAtA[i] = 1
  1736. } else {
  1737. dAtA[i] = 0
  1738. }
  1739. i++
  1740. if m.SecretRef != nil {
  1741. dAtA[i] = 0x22
  1742. i++
  1743. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  1744. n12, err := m.SecretRef.MarshalTo(dAtA[i:])
  1745. if err != nil {
  1746. return 0, err
  1747. }
  1748. i += n12
  1749. }
  1750. return i, nil
  1751. }
  1752. func (m *CinderVolumeSource) Marshal() (dAtA []byte, err error) {
  1753. size := m.Size()
  1754. dAtA = make([]byte, size)
  1755. n, err := m.MarshalTo(dAtA)
  1756. if err != nil {
  1757. return nil, err
  1758. }
  1759. return dAtA[:n], nil
  1760. }
  1761. func (m *CinderVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1762. var i int
  1763. _ = i
  1764. var l int
  1765. _ = l
  1766. dAtA[i] = 0xa
  1767. i++
  1768. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeID)))
  1769. i += copy(dAtA[i:], m.VolumeID)
  1770. dAtA[i] = 0x12
  1771. i++
  1772. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  1773. i += copy(dAtA[i:], m.FSType)
  1774. dAtA[i] = 0x18
  1775. i++
  1776. if m.ReadOnly {
  1777. dAtA[i] = 1
  1778. } else {
  1779. dAtA[i] = 0
  1780. }
  1781. i++
  1782. if m.SecretRef != nil {
  1783. dAtA[i] = 0x22
  1784. i++
  1785. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  1786. n13, err := m.SecretRef.MarshalTo(dAtA[i:])
  1787. if err != nil {
  1788. return 0, err
  1789. }
  1790. i += n13
  1791. }
  1792. return i, nil
  1793. }
  1794. func (m *ClientIPConfig) Marshal() (dAtA []byte, err error) {
  1795. size := m.Size()
  1796. dAtA = make([]byte, size)
  1797. n, err := m.MarshalTo(dAtA)
  1798. if err != nil {
  1799. return nil, err
  1800. }
  1801. return dAtA[:n], nil
  1802. }
  1803. func (m *ClientIPConfig) MarshalTo(dAtA []byte) (int, error) {
  1804. var i int
  1805. _ = i
  1806. var l int
  1807. _ = l
  1808. if m.TimeoutSeconds != nil {
  1809. dAtA[i] = 0x8
  1810. i++
  1811. i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds))
  1812. }
  1813. return i, nil
  1814. }
  1815. func (m *ComponentCondition) Marshal() (dAtA []byte, err error) {
  1816. size := m.Size()
  1817. dAtA = make([]byte, size)
  1818. n, err := m.MarshalTo(dAtA)
  1819. if err != nil {
  1820. return nil, err
  1821. }
  1822. return dAtA[:n], nil
  1823. }
  1824. func (m *ComponentCondition) MarshalTo(dAtA []byte) (int, error) {
  1825. var i int
  1826. _ = i
  1827. var l int
  1828. _ = l
  1829. dAtA[i] = 0xa
  1830. i++
  1831. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1832. i += copy(dAtA[i:], m.Type)
  1833. dAtA[i] = 0x12
  1834. i++
  1835. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  1836. i += copy(dAtA[i:], m.Status)
  1837. dAtA[i] = 0x1a
  1838. i++
  1839. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1840. i += copy(dAtA[i:], m.Message)
  1841. dAtA[i] = 0x22
  1842. i++
  1843. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Error)))
  1844. i += copy(dAtA[i:], m.Error)
  1845. return i, nil
  1846. }
  1847. func (m *ComponentStatus) Marshal() (dAtA []byte, err error) {
  1848. size := m.Size()
  1849. dAtA = make([]byte, size)
  1850. n, err := m.MarshalTo(dAtA)
  1851. if err != nil {
  1852. return nil, err
  1853. }
  1854. return dAtA[:n], nil
  1855. }
  1856. func (m *ComponentStatus) MarshalTo(dAtA []byte) (int, error) {
  1857. var i int
  1858. _ = i
  1859. var l int
  1860. _ = l
  1861. dAtA[i] = 0xa
  1862. i++
  1863. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1864. n14, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1865. if err != nil {
  1866. return 0, err
  1867. }
  1868. i += n14
  1869. if len(m.Conditions) > 0 {
  1870. for _, msg := range m.Conditions {
  1871. dAtA[i] = 0x12
  1872. i++
  1873. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1874. n, err := msg.MarshalTo(dAtA[i:])
  1875. if err != nil {
  1876. return 0, err
  1877. }
  1878. i += n
  1879. }
  1880. }
  1881. return i, nil
  1882. }
  1883. func (m *ComponentStatusList) Marshal() (dAtA []byte, err error) {
  1884. size := m.Size()
  1885. dAtA = make([]byte, size)
  1886. n, err := m.MarshalTo(dAtA)
  1887. if err != nil {
  1888. return nil, err
  1889. }
  1890. return dAtA[:n], nil
  1891. }
  1892. func (m *ComponentStatusList) MarshalTo(dAtA []byte) (int, error) {
  1893. var i int
  1894. _ = i
  1895. var l int
  1896. _ = l
  1897. dAtA[i] = 0xa
  1898. i++
  1899. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1900. n15, err := m.ListMeta.MarshalTo(dAtA[i:])
  1901. if err != nil {
  1902. return 0, err
  1903. }
  1904. i += n15
  1905. if len(m.Items) > 0 {
  1906. for _, msg := range m.Items {
  1907. dAtA[i] = 0x12
  1908. i++
  1909. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1910. n, err := msg.MarshalTo(dAtA[i:])
  1911. if err != nil {
  1912. return 0, err
  1913. }
  1914. i += n
  1915. }
  1916. }
  1917. return i, nil
  1918. }
  1919. func (m *ConfigMap) Marshal() (dAtA []byte, err error) {
  1920. size := m.Size()
  1921. dAtA = make([]byte, size)
  1922. n, err := m.MarshalTo(dAtA)
  1923. if err != nil {
  1924. return nil, err
  1925. }
  1926. return dAtA[:n], nil
  1927. }
  1928. func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error) {
  1929. var i int
  1930. _ = i
  1931. var l int
  1932. _ = l
  1933. dAtA[i] = 0xa
  1934. i++
  1935. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1936. n16, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1937. if err != nil {
  1938. return 0, err
  1939. }
  1940. i += n16
  1941. if len(m.Data) > 0 {
  1942. keysForData := make([]string, 0, len(m.Data))
  1943. for k := range m.Data {
  1944. keysForData = append(keysForData, string(k))
  1945. }
  1946. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  1947. for _, k := range keysForData {
  1948. dAtA[i] = 0x12
  1949. i++
  1950. v := m.Data[string(k)]
  1951. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1952. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1953. dAtA[i] = 0xa
  1954. i++
  1955. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1956. i += copy(dAtA[i:], k)
  1957. dAtA[i] = 0x12
  1958. i++
  1959. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1960. i += copy(dAtA[i:], v)
  1961. }
  1962. }
  1963. if len(m.BinaryData) > 0 {
  1964. keysForBinaryData := make([]string, 0, len(m.BinaryData))
  1965. for k := range m.BinaryData {
  1966. keysForBinaryData = append(keysForBinaryData, string(k))
  1967. }
  1968. github_com_gogo_protobuf_sortkeys.Strings(keysForBinaryData)
  1969. for _, k := range keysForBinaryData {
  1970. dAtA[i] = 0x1a
  1971. i++
  1972. v := m.BinaryData[string(k)]
  1973. byteSize := 0
  1974. if v != nil {
  1975. byteSize = 1 + len(v) + sovGenerated(uint64(len(v)))
  1976. }
  1977. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + byteSize
  1978. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1979. dAtA[i] = 0xa
  1980. i++
  1981. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1982. i += copy(dAtA[i:], k)
  1983. if v != nil {
  1984. dAtA[i] = 0x12
  1985. i++
  1986. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1987. i += copy(dAtA[i:], v)
  1988. }
  1989. }
  1990. }
  1991. return i, nil
  1992. }
  1993. func (m *ConfigMapEnvSource) Marshal() (dAtA []byte, err error) {
  1994. size := m.Size()
  1995. dAtA = make([]byte, size)
  1996. n, err := m.MarshalTo(dAtA)
  1997. if err != nil {
  1998. return nil, err
  1999. }
  2000. return dAtA[:n], nil
  2001. }
  2002. func (m *ConfigMapEnvSource) MarshalTo(dAtA []byte) (int, error) {
  2003. var i int
  2004. _ = i
  2005. var l int
  2006. _ = l
  2007. dAtA[i] = 0xa
  2008. i++
  2009. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  2010. n17, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  2011. if err != nil {
  2012. return 0, err
  2013. }
  2014. i += n17
  2015. if m.Optional != nil {
  2016. dAtA[i] = 0x10
  2017. i++
  2018. if *m.Optional {
  2019. dAtA[i] = 1
  2020. } else {
  2021. dAtA[i] = 0
  2022. }
  2023. i++
  2024. }
  2025. return i, nil
  2026. }
  2027. func (m *ConfigMapKeySelector) Marshal() (dAtA []byte, err error) {
  2028. size := m.Size()
  2029. dAtA = make([]byte, size)
  2030. n, err := m.MarshalTo(dAtA)
  2031. if err != nil {
  2032. return nil, err
  2033. }
  2034. return dAtA[:n], nil
  2035. }
  2036. func (m *ConfigMapKeySelector) MarshalTo(dAtA []byte) (int, error) {
  2037. var i int
  2038. _ = i
  2039. var l int
  2040. _ = l
  2041. dAtA[i] = 0xa
  2042. i++
  2043. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  2044. n18, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  2045. if err != nil {
  2046. return 0, err
  2047. }
  2048. i += n18
  2049. dAtA[i] = 0x12
  2050. i++
  2051. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  2052. i += copy(dAtA[i:], m.Key)
  2053. if m.Optional != nil {
  2054. dAtA[i] = 0x18
  2055. i++
  2056. if *m.Optional {
  2057. dAtA[i] = 1
  2058. } else {
  2059. dAtA[i] = 0
  2060. }
  2061. i++
  2062. }
  2063. return i, nil
  2064. }
  2065. func (m *ConfigMapList) Marshal() (dAtA []byte, err error) {
  2066. size := m.Size()
  2067. dAtA = make([]byte, size)
  2068. n, err := m.MarshalTo(dAtA)
  2069. if err != nil {
  2070. return nil, err
  2071. }
  2072. return dAtA[:n], nil
  2073. }
  2074. func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error) {
  2075. var i int
  2076. _ = i
  2077. var l int
  2078. _ = l
  2079. dAtA[i] = 0xa
  2080. i++
  2081. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  2082. n19, err := m.ListMeta.MarshalTo(dAtA[i:])
  2083. if err != nil {
  2084. return 0, err
  2085. }
  2086. i += n19
  2087. if len(m.Items) > 0 {
  2088. for _, msg := range m.Items {
  2089. dAtA[i] = 0x12
  2090. i++
  2091. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2092. n, err := msg.MarshalTo(dAtA[i:])
  2093. if err != nil {
  2094. return 0, err
  2095. }
  2096. i += n
  2097. }
  2098. }
  2099. return i, nil
  2100. }
  2101. func (m *ConfigMapNodeConfigSource) Marshal() (dAtA []byte, err error) {
  2102. size := m.Size()
  2103. dAtA = make([]byte, size)
  2104. n, err := m.MarshalTo(dAtA)
  2105. if err != nil {
  2106. return nil, err
  2107. }
  2108. return dAtA[:n], nil
  2109. }
  2110. func (m *ConfigMapNodeConfigSource) MarshalTo(dAtA []byte) (int, error) {
  2111. var i int
  2112. _ = i
  2113. var l int
  2114. _ = l
  2115. dAtA[i] = 0xa
  2116. i++
  2117. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
  2118. i += copy(dAtA[i:], m.Namespace)
  2119. dAtA[i] = 0x12
  2120. i++
  2121. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2122. i += copy(dAtA[i:], m.Name)
  2123. dAtA[i] = 0x1a
  2124. i++
  2125. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  2126. i += copy(dAtA[i:], m.UID)
  2127. dAtA[i] = 0x22
  2128. i++
  2129. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  2130. i += copy(dAtA[i:], m.ResourceVersion)
  2131. dAtA[i] = 0x2a
  2132. i++
  2133. i = encodeVarintGenerated(dAtA, i, uint64(len(m.KubeletConfigKey)))
  2134. i += copy(dAtA[i:], m.KubeletConfigKey)
  2135. return i, nil
  2136. }
  2137. func (m *ConfigMapProjection) Marshal() (dAtA []byte, err error) {
  2138. size := m.Size()
  2139. dAtA = make([]byte, size)
  2140. n, err := m.MarshalTo(dAtA)
  2141. if err != nil {
  2142. return nil, err
  2143. }
  2144. return dAtA[:n], nil
  2145. }
  2146. func (m *ConfigMapProjection) MarshalTo(dAtA []byte) (int, error) {
  2147. var i int
  2148. _ = i
  2149. var l int
  2150. _ = l
  2151. dAtA[i] = 0xa
  2152. i++
  2153. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  2154. n20, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  2155. if err != nil {
  2156. return 0, err
  2157. }
  2158. i += n20
  2159. if len(m.Items) > 0 {
  2160. for _, msg := range m.Items {
  2161. dAtA[i] = 0x12
  2162. i++
  2163. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2164. n, err := msg.MarshalTo(dAtA[i:])
  2165. if err != nil {
  2166. return 0, err
  2167. }
  2168. i += n
  2169. }
  2170. }
  2171. if m.Optional != nil {
  2172. dAtA[i] = 0x20
  2173. i++
  2174. if *m.Optional {
  2175. dAtA[i] = 1
  2176. } else {
  2177. dAtA[i] = 0
  2178. }
  2179. i++
  2180. }
  2181. return i, nil
  2182. }
  2183. func (m *ConfigMapVolumeSource) Marshal() (dAtA []byte, err error) {
  2184. size := m.Size()
  2185. dAtA = make([]byte, size)
  2186. n, err := m.MarshalTo(dAtA)
  2187. if err != nil {
  2188. return nil, err
  2189. }
  2190. return dAtA[:n], nil
  2191. }
  2192. func (m *ConfigMapVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  2193. var i int
  2194. _ = i
  2195. var l int
  2196. _ = l
  2197. dAtA[i] = 0xa
  2198. i++
  2199. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  2200. n21, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  2201. if err != nil {
  2202. return 0, err
  2203. }
  2204. i += n21
  2205. if len(m.Items) > 0 {
  2206. for _, msg := range m.Items {
  2207. dAtA[i] = 0x12
  2208. i++
  2209. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2210. n, err := msg.MarshalTo(dAtA[i:])
  2211. if err != nil {
  2212. return 0, err
  2213. }
  2214. i += n
  2215. }
  2216. }
  2217. if m.DefaultMode != nil {
  2218. dAtA[i] = 0x18
  2219. i++
  2220. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  2221. }
  2222. if m.Optional != nil {
  2223. dAtA[i] = 0x20
  2224. i++
  2225. if *m.Optional {
  2226. dAtA[i] = 1
  2227. } else {
  2228. dAtA[i] = 0
  2229. }
  2230. i++
  2231. }
  2232. return i, nil
  2233. }
  2234. func (m *Container) Marshal() (dAtA []byte, err error) {
  2235. size := m.Size()
  2236. dAtA = make([]byte, size)
  2237. n, err := m.MarshalTo(dAtA)
  2238. if err != nil {
  2239. return nil, err
  2240. }
  2241. return dAtA[:n], nil
  2242. }
  2243. func (m *Container) MarshalTo(dAtA []byte) (int, error) {
  2244. var i int
  2245. _ = i
  2246. var l int
  2247. _ = l
  2248. dAtA[i] = 0xa
  2249. i++
  2250. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2251. i += copy(dAtA[i:], m.Name)
  2252. dAtA[i] = 0x12
  2253. i++
  2254. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Image)))
  2255. i += copy(dAtA[i:], m.Image)
  2256. if len(m.Command) > 0 {
  2257. for _, s := range m.Command {
  2258. dAtA[i] = 0x1a
  2259. i++
  2260. l = len(s)
  2261. for l >= 1<<7 {
  2262. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2263. l >>= 7
  2264. i++
  2265. }
  2266. dAtA[i] = uint8(l)
  2267. i++
  2268. i += copy(dAtA[i:], s)
  2269. }
  2270. }
  2271. if len(m.Args) > 0 {
  2272. for _, s := range m.Args {
  2273. dAtA[i] = 0x22
  2274. i++
  2275. l = len(s)
  2276. for l >= 1<<7 {
  2277. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2278. l >>= 7
  2279. i++
  2280. }
  2281. dAtA[i] = uint8(l)
  2282. i++
  2283. i += copy(dAtA[i:], s)
  2284. }
  2285. }
  2286. dAtA[i] = 0x2a
  2287. i++
  2288. i = encodeVarintGenerated(dAtA, i, uint64(len(m.WorkingDir)))
  2289. i += copy(dAtA[i:], m.WorkingDir)
  2290. if len(m.Ports) > 0 {
  2291. for _, msg := range m.Ports {
  2292. dAtA[i] = 0x32
  2293. i++
  2294. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2295. n, err := msg.MarshalTo(dAtA[i:])
  2296. if err != nil {
  2297. return 0, err
  2298. }
  2299. i += n
  2300. }
  2301. }
  2302. if len(m.Env) > 0 {
  2303. for _, msg := range m.Env {
  2304. dAtA[i] = 0x3a
  2305. i++
  2306. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2307. n, err := msg.MarshalTo(dAtA[i:])
  2308. if err != nil {
  2309. return 0, err
  2310. }
  2311. i += n
  2312. }
  2313. }
  2314. dAtA[i] = 0x42
  2315. i++
  2316. i = encodeVarintGenerated(dAtA, i, uint64(m.Resources.Size()))
  2317. n22, err := m.Resources.MarshalTo(dAtA[i:])
  2318. if err != nil {
  2319. return 0, err
  2320. }
  2321. i += n22
  2322. if len(m.VolumeMounts) > 0 {
  2323. for _, msg := range m.VolumeMounts {
  2324. dAtA[i] = 0x4a
  2325. i++
  2326. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2327. n, err := msg.MarshalTo(dAtA[i:])
  2328. if err != nil {
  2329. return 0, err
  2330. }
  2331. i += n
  2332. }
  2333. }
  2334. if m.LivenessProbe != nil {
  2335. dAtA[i] = 0x52
  2336. i++
  2337. i = encodeVarintGenerated(dAtA, i, uint64(m.LivenessProbe.Size()))
  2338. n23, err := m.LivenessProbe.MarshalTo(dAtA[i:])
  2339. if err != nil {
  2340. return 0, err
  2341. }
  2342. i += n23
  2343. }
  2344. if m.ReadinessProbe != nil {
  2345. dAtA[i] = 0x5a
  2346. i++
  2347. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadinessProbe.Size()))
  2348. n24, err := m.ReadinessProbe.MarshalTo(dAtA[i:])
  2349. if err != nil {
  2350. return 0, err
  2351. }
  2352. i += n24
  2353. }
  2354. if m.Lifecycle != nil {
  2355. dAtA[i] = 0x62
  2356. i++
  2357. i = encodeVarintGenerated(dAtA, i, uint64(m.Lifecycle.Size()))
  2358. n25, err := m.Lifecycle.MarshalTo(dAtA[i:])
  2359. if err != nil {
  2360. return 0, err
  2361. }
  2362. i += n25
  2363. }
  2364. dAtA[i] = 0x6a
  2365. i++
  2366. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TerminationMessagePath)))
  2367. i += copy(dAtA[i:], m.TerminationMessagePath)
  2368. dAtA[i] = 0x72
  2369. i++
  2370. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ImagePullPolicy)))
  2371. i += copy(dAtA[i:], m.ImagePullPolicy)
  2372. if m.SecurityContext != nil {
  2373. dAtA[i] = 0x7a
  2374. i++
  2375. i = encodeVarintGenerated(dAtA, i, uint64(m.SecurityContext.Size()))
  2376. n26, err := m.SecurityContext.MarshalTo(dAtA[i:])
  2377. if err != nil {
  2378. return 0, err
  2379. }
  2380. i += n26
  2381. }
  2382. dAtA[i] = 0x80
  2383. i++
  2384. dAtA[i] = 0x1
  2385. i++
  2386. if m.Stdin {
  2387. dAtA[i] = 1
  2388. } else {
  2389. dAtA[i] = 0
  2390. }
  2391. i++
  2392. dAtA[i] = 0x88
  2393. i++
  2394. dAtA[i] = 0x1
  2395. i++
  2396. if m.StdinOnce {
  2397. dAtA[i] = 1
  2398. } else {
  2399. dAtA[i] = 0
  2400. }
  2401. i++
  2402. dAtA[i] = 0x90
  2403. i++
  2404. dAtA[i] = 0x1
  2405. i++
  2406. if m.TTY {
  2407. dAtA[i] = 1
  2408. } else {
  2409. dAtA[i] = 0
  2410. }
  2411. i++
  2412. if len(m.EnvFrom) > 0 {
  2413. for _, msg := range m.EnvFrom {
  2414. dAtA[i] = 0x9a
  2415. i++
  2416. dAtA[i] = 0x1
  2417. i++
  2418. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2419. n, err := msg.MarshalTo(dAtA[i:])
  2420. if err != nil {
  2421. return 0, err
  2422. }
  2423. i += n
  2424. }
  2425. }
  2426. dAtA[i] = 0xa2
  2427. i++
  2428. dAtA[i] = 0x1
  2429. i++
  2430. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TerminationMessagePolicy)))
  2431. i += copy(dAtA[i:], m.TerminationMessagePolicy)
  2432. if len(m.VolumeDevices) > 0 {
  2433. for _, msg := range m.VolumeDevices {
  2434. dAtA[i] = 0xaa
  2435. i++
  2436. dAtA[i] = 0x1
  2437. i++
  2438. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2439. n, err := msg.MarshalTo(dAtA[i:])
  2440. if err != nil {
  2441. return 0, err
  2442. }
  2443. i += n
  2444. }
  2445. }
  2446. return i, nil
  2447. }
  2448. func (m *ContainerImage) Marshal() (dAtA []byte, err error) {
  2449. size := m.Size()
  2450. dAtA = make([]byte, size)
  2451. n, err := m.MarshalTo(dAtA)
  2452. if err != nil {
  2453. return nil, err
  2454. }
  2455. return dAtA[:n], nil
  2456. }
  2457. func (m *ContainerImage) MarshalTo(dAtA []byte) (int, error) {
  2458. var i int
  2459. _ = i
  2460. var l int
  2461. _ = l
  2462. if len(m.Names) > 0 {
  2463. for _, s := range m.Names {
  2464. dAtA[i] = 0xa
  2465. i++
  2466. l = len(s)
  2467. for l >= 1<<7 {
  2468. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2469. l >>= 7
  2470. i++
  2471. }
  2472. dAtA[i] = uint8(l)
  2473. i++
  2474. i += copy(dAtA[i:], s)
  2475. }
  2476. }
  2477. dAtA[i] = 0x10
  2478. i++
  2479. i = encodeVarintGenerated(dAtA, i, uint64(m.SizeBytes))
  2480. return i, nil
  2481. }
  2482. func (m *ContainerPort) Marshal() (dAtA []byte, err error) {
  2483. size := m.Size()
  2484. dAtA = make([]byte, size)
  2485. n, err := m.MarshalTo(dAtA)
  2486. if err != nil {
  2487. return nil, err
  2488. }
  2489. return dAtA[:n], nil
  2490. }
  2491. func (m *ContainerPort) MarshalTo(dAtA []byte) (int, error) {
  2492. var i int
  2493. _ = i
  2494. var l int
  2495. _ = l
  2496. dAtA[i] = 0xa
  2497. i++
  2498. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2499. i += copy(dAtA[i:], m.Name)
  2500. dAtA[i] = 0x10
  2501. i++
  2502. i = encodeVarintGenerated(dAtA, i, uint64(m.HostPort))
  2503. dAtA[i] = 0x18
  2504. i++
  2505. i = encodeVarintGenerated(dAtA, i, uint64(m.ContainerPort))
  2506. dAtA[i] = 0x22
  2507. i++
  2508. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Protocol)))
  2509. i += copy(dAtA[i:], m.Protocol)
  2510. dAtA[i] = 0x2a
  2511. i++
  2512. i = encodeVarintGenerated(dAtA, i, uint64(len(m.HostIP)))
  2513. i += copy(dAtA[i:], m.HostIP)
  2514. return i, nil
  2515. }
  2516. func (m *ContainerState) Marshal() (dAtA []byte, err error) {
  2517. size := m.Size()
  2518. dAtA = make([]byte, size)
  2519. n, err := m.MarshalTo(dAtA)
  2520. if err != nil {
  2521. return nil, err
  2522. }
  2523. return dAtA[:n], nil
  2524. }
  2525. func (m *ContainerState) MarshalTo(dAtA []byte) (int, error) {
  2526. var i int
  2527. _ = i
  2528. var l int
  2529. _ = l
  2530. if m.Waiting != nil {
  2531. dAtA[i] = 0xa
  2532. i++
  2533. i = encodeVarintGenerated(dAtA, i, uint64(m.Waiting.Size()))
  2534. n27, err := m.Waiting.MarshalTo(dAtA[i:])
  2535. if err != nil {
  2536. return 0, err
  2537. }
  2538. i += n27
  2539. }
  2540. if m.Running != nil {
  2541. dAtA[i] = 0x12
  2542. i++
  2543. i = encodeVarintGenerated(dAtA, i, uint64(m.Running.Size()))
  2544. n28, err := m.Running.MarshalTo(dAtA[i:])
  2545. if err != nil {
  2546. return 0, err
  2547. }
  2548. i += n28
  2549. }
  2550. if m.Terminated != nil {
  2551. dAtA[i] = 0x1a
  2552. i++
  2553. i = encodeVarintGenerated(dAtA, i, uint64(m.Terminated.Size()))
  2554. n29, err := m.Terminated.MarshalTo(dAtA[i:])
  2555. if err != nil {
  2556. return 0, err
  2557. }
  2558. i += n29
  2559. }
  2560. return i, nil
  2561. }
  2562. func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error) {
  2563. size := m.Size()
  2564. dAtA = make([]byte, size)
  2565. n, err := m.MarshalTo(dAtA)
  2566. if err != nil {
  2567. return nil, err
  2568. }
  2569. return dAtA[:n], nil
  2570. }
  2571. func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error) {
  2572. var i int
  2573. _ = i
  2574. var l int
  2575. _ = l
  2576. dAtA[i] = 0xa
  2577. i++
  2578. i = encodeVarintGenerated(dAtA, i, uint64(m.StartedAt.Size()))
  2579. n30, err := m.StartedAt.MarshalTo(dAtA[i:])
  2580. if err != nil {
  2581. return 0, err
  2582. }
  2583. i += n30
  2584. return i, nil
  2585. }
  2586. func (m *ContainerStateTerminated) Marshal() (dAtA []byte, err error) {
  2587. size := m.Size()
  2588. dAtA = make([]byte, size)
  2589. n, err := m.MarshalTo(dAtA)
  2590. if err != nil {
  2591. return nil, err
  2592. }
  2593. return dAtA[:n], nil
  2594. }
  2595. func (m *ContainerStateTerminated) MarshalTo(dAtA []byte) (int, error) {
  2596. var i int
  2597. _ = i
  2598. var l int
  2599. _ = l
  2600. dAtA[i] = 0x8
  2601. i++
  2602. i = encodeVarintGenerated(dAtA, i, uint64(m.ExitCode))
  2603. dAtA[i] = 0x10
  2604. i++
  2605. i = encodeVarintGenerated(dAtA, i, uint64(m.Signal))
  2606. dAtA[i] = 0x1a
  2607. i++
  2608. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  2609. i += copy(dAtA[i:], m.Reason)
  2610. dAtA[i] = 0x22
  2611. i++
  2612. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  2613. i += copy(dAtA[i:], m.Message)
  2614. dAtA[i] = 0x2a
  2615. i++
  2616. i = encodeVarintGenerated(dAtA, i, uint64(m.StartedAt.Size()))
  2617. n31, err := m.StartedAt.MarshalTo(dAtA[i:])
  2618. if err != nil {
  2619. return 0, err
  2620. }
  2621. i += n31
  2622. dAtA[i] = 0x32
  2623. i++
  2624. i = encodeVarintGenerated(dAtA, i, uint64(m.FinishedAt.Size()))
  2625. n32, err := m.FinishedAt.MarshalTo(dAtA[i:])
  2626. if err != nil {
  2627. return 0, err
  2628. }
  2629. i += n32
  2630. dAtA[i] = 0x3a
  2631. i++
  2632. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerID)))
  2633. i += copy(dAtA[i:], m.ContainerID)
  2634. return i, nil
  2635. }
  2636. func (m *ContainerStateWaiting) Marshal() (dAtA []byte, err error) {
  2637. size := m.Size()
  2638. dAtA = make([]byte, size)
  2639. n, err := m.MarshalTo(dAtA)
  2640. if err != nil {
  2641. return nil, err
  2642. }
  2643. return dAtA[:n], nil
  2644. }
  2645. func (m *ContainerStateWaiting) MarshalTo(dAtA []byte) (int, error) {
  2646. var i int
  2647. _ = i
  2648. var l int
  2649. _ = l
  2650. dAtA[i] = 0xa
  2651. i++
  2652. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  2653. i += copy(dAtA[i:], m.Reason)
  2654. dAtA[i] = 0x12
  2655. i++
  2656. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  2657. i += copy(dAtA[i:], m.Message)
  2658. return i, nil
  2659. }
  2660. func (m *ContainerStatus) Marshal() (dAtA []byte, err error) {
  2661. size := m.Size()
  2662. dAtA = make([]byte, size)
  2663. n, err := m.MarshalTo(dAtA)
  2664. if err != nil {
  2665. return nil, err
  2666. }
  2667. return dAtA[:n], nil
  2668. }
  2669. func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) {
  2670. var i int
  2671. _ = i
  2672. var l int
  2673. _ = l
  2674. dAtA[i] = 0xa
  2675. i++
  2676. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2677. i += copy(dAtA[i:], m.Name)
  2678. dAtA[i] = 0x12
  2679. i++
  2680. i = encodeVarintGenerated(dAtA, i, uint64(m.State.Size()))
  2681. n33, err := m.State.MarshalTo(dAtA[i:])
  2682. if err != nil {
  2683. return 0, err
  2684. }
  2685. i += n33
  2686. dAtA[i] = 0x1a
  2687. i++
  2688. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTerminationState.Size()))
  2689. n34, err := m.LastTerminationState.MarshalTo(dAtA[i:])
  2690. if err != nil {
  2691. return 0, err
  2692. }
  2693. i += n34
  2694. dAtA[i] = 0x20
  2695. i++
  2696. if m.Ready {
  2697. dAtA[i] = 1
  2698. } else {
  2699. dAtA[i] = 0
  2700. }
  2701. i++
  2702. dAtA[i] = 0x28
  2703. i++
  2704. i = encodeVarintGenerated(dAtA, i, uint64(m.RestartCount))
  2705. dAtA[i] = 0x32
  2706. i++
  2707. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Image)))
  2708. i += copy(dAtA[i:], m.Image)
  2709. dAtA[i] = 0x3a
  2710. i++
  2711. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ImageID)))
  2712. i += copy(dAtA[i:], m.ImageID)
  2713. dAtA[i] = 0x42
  2714. i++
  2715. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerID)))
  2716. i += copy(dAtA[i:], m.ContainerID)
  2717. return i, nil
  2718. }
  2719. func (m *DaemonEndpoint) Marshal() (dAtA []byte, err error) {
  2720. size := m.Size()
  2721. dAtA = make([]byte, size)
  2722. n, err := m.MarshalTo(dAtA)
  2723. if err != nil {
  2724. return nil, err
  2725. }
  2726. return dAtA[:n], nil
  2727. }
  2728. func (m *DaemonEndpoint) MarshalTo(dAtA []byte) (int, error) {
  2729. var i int
  2730. _ = i
  2731. var l int
  2732. _ = l
  2733. dAtA[i] = 0x8
  2734. i++
  2735. i = encodeVarintGenerated(dAtA, i, uint64(m.Port))
  2736. return i, nil
  2737. }
  2738. func (m *DownwardAPIProjection) Marshal() (dAtA []byte, err error) {
  2739. size := m.Size()
  2740. dAtA = make([]byte, size)
  2741. n, err := m.MarshalTo(dAtA)
  2742. if err != nil {
  2743. return nil, err
  2744. }
  2745. return dAtA[:n], nil
  2746. }
  2747. func (m *DownwardAPIProjection) MarshalTo(dAtA []byte) (int, error) {
  2748. var i int
  2749. _ = i
  2750. var l int
  2751. _ = l
  2752. if len(m.Items) > 0 {
  2753. for _, msg := range m.Items {
  2754. dAtA[i] = 0xa
  2755. i++
  2756. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2757. n, err := msg.MarshalTo(dAtA[i:])
  2758. if err != nil {
  2759. return 0, err
  2760. }
  2761. i += n
  2762. }
  2763. }
  2764. return i, nil
  2765. }
  2766. func (m *DownwardAPIVolumeFile) Marshal() (dAtA []byte, err error) {
  2767. size := m.Size()
  2768. dAtA = make([]byte, size)
  2769. n, err := m.MarshalTo(dAtA)
  2770. if err != nil {
  2771. return nil, err
  2772. }
  2773. return dAtA[:n], nil
  2774. }
  2775. func (m *DownwardAPIVolumeFile) MarshalTo(dAtA []byte) (int, error) {
  2776. var i int
  2777. _ = i
  2778. var l int
  2779. _ = l
  2780. dAtA[i] = 0xa
  2781. i++
  2782. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  2783. i += copy(dAtA[i:], m.Path)
  2784. if m.FieldRef != nil {
  2785. dAtA[i] = 0x12
  2786. i++
  2787. i = encodeVarintGenerated(dAtA, i, uint64(m.FieldRef.Size()))
  2788. n35, err := m.FieldRef.MarshalTo(dAtA[i:])
  2789. if err != nil {
  2790. return 0, err
  2791. }
  2792. i += n35
  2793. }
  2794. if m.ResourceFieldRef != nil {
  2795. dAtA[i] = 0x1a
  2796. i++
  2797. i = encodeVarintGenerated(dAtA, i, uint64(m.ResourceFieldRef.Size()))
  2798. n36, err := m.ResourceFieldRef.MarshalTo(dAtA[i:])
  2799. if err != nil {
  2800. return 0, err
  2801. }
  2802. i += n36
  2803. }
  2804. if m.Mode != nil {
  2805. dAtA[i] = 0x20
  2806. i++
  2807. i = encodeVarintGenerated(dAtA, i, uint64(*m.Mode))
  2808. }
  2809. return i, nil
  2810. }
  2811. func (m *DownwardAPIVolumeSource) Marshal() (dAtA []byte, err error) {
  2812. size := m.Size()
  2813. dAtA = make([]byte, size)
  2814. n, err := m.MarshalTo(dAtA)
  2815. if err != nil {
  2816. return nil, err
  2817. }
  2818. return dAtA[:n], nil
  2819. }
  2820. func (m *DownwardAPIVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  2821. var i int
  2822. _ = i
  2823. var l int
  2824. _ = l
  2825. if len(m.Items) > 0 {
  2826. for _, msg := range m.Items {
  2827. dAtA[i] = 0xa
  2828. i++
  2829. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2830. n, err := msg.MarshalTo(dAtA[i:])
  2831. if err != nil {
  2832. return 0, err
  2833. }
  2834. i += n
  2835. }
  2836. }
  2837. if m.DefaultMode != nil {
  2838. dAtA[i] = 0x10
  2839. i++
  2840. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  2841. }
  2842. return i, nil
  2843. }
  2844. func (m *EmptyDirVolumeSource) Marshal() (dAtA []byte, err error) {
  2845. size := m.Size()
  2846. dAtA = make([]byte, size)
  2847. n, err := m.MarshalTo(dAtA)
  2848. if err != nil {
  2849. return nil, err
  2850. }
  2851. return dAtA[:n], nil
  2852. }
  2853. func (m *EmptyDirVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  2854. var i int
  2855. _ = i
  2856. var l int
  2857. _ = l
  2858. dAtA[i] = 0xa
  2859. i++
  2860. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Medium)))
  2861. i += copy(dAtA[i:], m.Medium)
  2862. if m.SizeLimit != nil {
  2863. dAtA[i] = 0x12
  2864. i++
  2865. i = encodeVarintGenerated(dAtA, i, uint64(m.SizeLimit.Size()))
  2866. n37, err := m.SizeLimit.MarshalTo(dAtA[i:])
  2867. if err != nil {
  2868. return 0, err
  2869. }
  2870. i += n37
  2871. }
  2872. return i, nil
  2873. }
  2874. func (m *EndpointAddress) Marshal() (dAtA []byte, err error) {
  2875. size := m.Size()
  2876. dAtA = make([]byte, size)
  2877. n, err := m.MarshalTo(dAtA)
  2878. if err != nil {
  2879. return nil, err
  2880. }
  2881. return dAtA[:n], nil
  2882. }
  2883. func (m *EndpointAddress) MarshalTo(dAtA []byte) (int, error) {
  2884. var i int
  2885. _ = i
  2886. var l int
  2887. _ = l
  2888. dAtA[i] = 0xa
  2889. i++
  2890. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IP)))
  2891. i += copy(dAtA[i:], m.IP)
  2892. if m.TargetRef != nil {
  2893. dAtA[i] = 0x12
  2894. i++
  2895. i = encodeVarintGenerated(dAtA, i, uint64(m.TargetRef.Size()))
  2896. n38, err := m.TargetRef.MarshalTo(dAtA[i:])
  2897. if err != nil {
  2898. return 0, err
  2899. }
  2900. i += n38
  2901. }
  2902. dAtA[i] = 0x1a
  2903. i++
  2904. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
  2905. i += copy(dAtA[i:], m.Hostname)
  2906. if m.NodeName != nil {
  2907. dAtA[i] = 0x22
  2908. i++
  2909. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.NodeName)))
  2910. i += copy(dAtA[i:], *m.NodeName)
  2911. }
  2912. return i, nil
  2913. }
  2914. func (m *EndpointPort) Marshal() (dAtA []byte, err error) {
  2915. size := m.Size()
  2916. dAtA = make([]byte, size)
  2917. n, err := m.MarshalTo(dAtA)
  2918. if err != nil {
  2919. return nil, err
  2920. }
  2921. return dAtA[:n], nil
  2922. }
  2923. func (m *EndpointPort) MarshalTo(dAtA []byte) (int, error) {
  2924. var i int
  2925. _ = i
  2926. var l int
  2927. _ = l
  2928. dAtA[i] = 0xa
  2929. i++
  2930. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2931. i += copy(dAtA[i:], m.Name)
  2932. dAtA[i] = 0x10
  2933. i++
  2934. i = encodeVarintGenerated(dAtA, i, uint64(m.Port))
  2935. dAtA[i] = 0x1a
  2936. i++
  2937. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Protocol)))
  2938. i += copy(dAtA[i:], m.Protocol)
  2939. return i, nil
  2940. }
  2941. func (m *EndpointSubset) Marshal() (dAtA []byte, err error) {
  2942. size := m.Size()
  2943. dAtA = make([]byte, size)
  2944. n, err := m.MarshalTo(dAtA)
  2945. if err != nil {
  2946. return nil, err
  2947. }
  2948. return dAtA[:n], nil
  2949. }
  2950. func (m *EndpointSubset) MarshalTo(dAtA []byte) (int, error) {
  2951. var i int
  2952. _ = i
  2953. var l int
  2954. _ = l
  2955. if len(m.Addresses) > 0 {
  2956. for _, msg := range m.Addresses {
  2957. dAtA[i] = 0xa
  2958. i++
  2959. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2960. n, err := msg.MarshalTo(dAtA[i:])
  2961. if err != nil {
  2962. return 0, err
  2963. }
  2964. i += n
  2965. }
  2966. }
  2967. if len(m.NotReadyAddresses) > 0 {
  2968. for _, msg := range m.NotReadyAddresses {
  2969. dAtA[i] = 0x12
  2970. i++
  2971. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2972. n, err := msg.MarshalTo(dAtA[i:])
  2973. if err != nil {
  2974. return 0, err
  2975. }
  2976. i += n
  2977. }
  2978. }
  2979. if len(m.Ports) > 0 {
  2980. for _, msg := range m.Ports {
  2981. dAtA[i] = 0x1a
  2982. i++
  2983. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2984. n, err := msg.MarshalTo(dAtA[i:])
  2985. if err != nil {
  2986. return 0, err
  2987. }
  2988. i += n
  2989. }
  2990. }
  2991. return i, nil
  2992. }
  2993. func (m *Endpoints) Marshal() (dAtA []byte, err error) {
  2994. size := m.Size()
  2995. dAtA = make([]byte, size)
  2996. n, err := m.MarshalTo(dAtA)
  2997. if err != nil {
  2998. return nil, err
  2999. }
  3000. return dAtA[:n], nil
  3001. }
  3002. func (m *Endpoints) MarshalTo(dAtA []byte) (int, error) {
  3003. var i int
  3004. _ = i
  3005. var l int
  3006. _ = l
  3007. dAtA[i] = 0xa
  3008. i++
  3009. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  3010. n39, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  3011. if err != nil {
  3012. return 0, err
  3013. }
  3014. i += n39
  3015. if len(m.Subsets) > 0 {
  3016. for _, msg := range m.Subsets {
  3017. dAtA[i] = 0x12
  3018. i++
  3019. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  3020. n, err := msg.MarshalTo(dAtA[i:])
  3021. if err != nil {
  3022. return 0, err
  3023. }
  3024. i += n
  3025. }
  3026. }
  3027. return i, nil
  3028. }
  3029. func (m *EndpointsList) Marshal() (dAtA []byte, err error) {
  3030. size := m.Size()
  3031. dAtA = make([]byte, size)
  3032. n, err := m.MarshalTo(dAtA)
  3033. if err != nil {
  3034. return nil, err
  3035. }
  3036. return dAtA[:n], nil
  3037. }
  3038. func (m *EndpointsList) MarshalTo(dAtA []byte) (int, error) {
  3039. var i int
  3040. _ = i
  3041. var l int
  3042. _ = l
  3043. dAtA[i] = 0xa
  3044. i++
  3045. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  3046. n40, err := m.ListMeta.MarshalTo(dAtA[i:])
  3047. if err != nil {
  3048. return 0, err
  3049. }
  3050. i += n40
  3051. if len(m.Items) > 0 {
  3052. for _, msg := range m.Items {
  3053. dAtA[i] = 0x12
  3054. i++
  3055. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  3056. n, err := msg.MarshalTo(dAtA[i:])
  3057. if err != nil {
  3058. return 0, err
  3059. }
  3060. i += n
  3061. }
  3062. }
  3063. return i, nil
  3064. }
  3065. func (m *EnvFromSource) Marshal() (dAtA []byte, err error) {
  3066. size := m.Size()
  3067. dAtA = make([]byte, size)
  3068. n, err := m.MarshalTo(dAtA)
  3069. if err != nil {
  3070. return nil, err
  3071. }
  3072. return dAtA[:n], nil
  3073. }
  3074. func (m *EnvFromSource) MarshalTo(dAtA []byte) (int, error) {
  3075. var i int
  3076. _ = i
  3077. var l int
  3078. _ = l
  3079. dAtA[i] = 0xa
  3080. i++
  3081. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Prefix)))
  3082. i += copy(dAtA[i:], m.Prefix)
  3083. if m.ConfigMapRef != nil {
  3084. dAtA[i] = 0x12
  3085. i++
  3086. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMapRef.Size()))
  3087. n41, err := m.ConfigMapRef.MarshalTo(dAtA[i:])
  3088. if err != nil {
  3089. return 0, err
  3090. }
  3091. i += n41
  3092. }
  3093. if m.SecretRef != nil {
  3094. dAtA[i] = 0x1a
  3095. i++
  3096. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  3097. n42, err := m.SecretRef.MarshalTo(dAtA[i:])
  3098. if err != nil {
  3099. return 0, err
  3100. }
  3101. i += n42
  3102. }
  3103. return i, nil
  3104. }
  3105. func (m *EnvVar) Marshal() (dAtA []byte, err error) {
  3106. size := m.Size()
  3107. dAtA = make([]byte, size)
  3108. n, err := m.MarshalTo(dAtA)
  3109. if err != nil {
  3110. return nil, err
  3111. }
  3112. return dAtA[:n], nil
  3113. }
  3114. func (m *EnvVar) MarshalTo(dAtA []byte) (int, error) {
  3115. var i int
  3116. _ = i
  3117. var l int
  3118. _ = l
  3119. dAtA[i] = 0xa
  3120. i++
  3121. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  3122. i += copy(dAtA[i:], m.Name)
  3123. dAtA[i] = 0x12
  3124. i++
  3125. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  3126. i += copy(dAtA[i:], m.Value)
  3127. if m.ValueFrom != nil {
  3128. dAtA[i] = 0x1a
  3129. i++
  3130. i = encodeVarintGenerated(dAtA, i, uint64(m.ValueFrom.Size()))
  3131. n43, err := m.ValueFrom.MarshalTo(dAtA[i:])
  3132. if err != nil {
  3133. return 0, err
  3134. }
  3135. i += n43
  3136. }
  3137. return i, nil
  3138. }
  3139. func (m *EnvVarSource) Marshal() (dAtA []byte, err error) {
  3140. size := m.Size()
  3141. dAtA = make([]byte, size)
  3142. n, err := m.MarshalTo(dAtA)
  3143. if err != nil {
  3144. return nil, err
  3145. }
  3146. return dAtA[:n], nil
  3147. }
  3148. func (m *EnvVarSource) MarshalTo(dAtA []byte) (int, error) {
  3149. var i int
  3150. _ = i
  3151. var l int
  3152. _ = l
  3153. if m.FieldRef != nil {
  3154. dAtA[i] = 0xa
  3155. i++
  3156. i = encodeVarintGenerated(dAtA, i, uint64(m.FieldRef.Size()))
  3157. n44, err := m.FieldRef.MarshalTo(dAtA[i:])
  3158. if err != nil {
  3159. return 0, err
  3160. }
  3161. i += n44
  3162. }
  3163. if m.ResourceFieldRef != nil {
  3164. dAtA[i] = 0x12
  3165. i++
  3166. i = encodeVarintGenerated(dAtA, i, uint64(m.ResourceFieldRef.Size()))
  3167. n45, err := m.ResourceFieldRef.MarshalTo(dAtA[i:])
  3168. if err != nil {
  3169. return 0, err
  3170. }
  3171. i += n45
  3172. }
  3173. if m.ConfigMapKeyRef != nil {
  3174. dAtA[i] = 0x1a
  3175. i++
  3176. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMapKeyRef.Size()))
  3177. n46, err := m.ConfigMapKeyRef.MarshalTo(dAtA[i:])
  3178. if err != nil {
  3179. return 0, err
  3180. }
  3181. i += n46
  3182. }
  3183. if m.SecretKeyRef != nil {
  3184. dAtA[i] = 0x22
  3185. i++
  3186. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretKeyRef.Size()))
  3187. n47, err := m.SecretKeyRef.MarshalTo(dAtA[i:])
  3188. if err != nil {
  3189. return 0, err
  3190. }
  3191. i += n47
  3192. }
  3193. return i, nil
  3194. }
  3195. func (m *Event) Marshal() (dAtA []byte, err error) {
  3196. size := m.Size()
  3197. dAtA = make([]byte, size)
  3198. n, err := m.MarshalTo(dAtA)
  3199. if err != nil {
  3200. return nil, err
  3201. }
  3202. return dAtA[:n], nil
  3203. }
  3204. func (m *Event) MarshalTo(dAtA []byte) (int, error) {
  3205. var i int
  3206. _ = i
  3207. var l int
  3208. _ = l
  3209. dAtA[i] = 0xa
  3210. i++
  3211. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  3212. n48, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  3213. if err != nil {
  3214. return 0, err
  3215. }
  3216. i += n48
  3217. dAtA[i] = 0x12
  3218. i++
  3219. i = encodeVarintGenerated(dAtA, i, uint64(m.InvolvedObject.Size()))
  3220. n49, err := m.InvolvedObject.MarshalTo(dAtA[i:])
  3221. if err != nil {
  3222. return 0, err
  3223. }
  3224. i += n49
  3225. dAtA[i] = 0x1a
  3226. i++
  3227. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  3228. i += copy(dAtA[i:], m.Reason)
  3229. dAtA[i] = 0x22
  3230. i++
  3231. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  3232. i += copy(dAtA[i:], m.Message)
  3233. dAtA[i] = 0x2a
  3234. i++
  3235. i = encodeVarintGenerated(dAtA, i, uint64(m.Source.Size()))
  3236. n50, err := m.Source.MarshalTo(dAtA[i:])
  3237. if err != nil {
  3238. return 0, err
  3239. }
  3240. i += n50
  3241. dAtA[i] = 0x32
  3242. i++
  3243. i = encodeVarintGenerated(dAtA, i, uint64(m.FirstTimestamp.Size()))
  3244. n51, err := m.FirstTimestamp.MarshalTo(dAtA[i:])
  3245. if err != nil {
  3246. return 0, err
  3247. }
  3248. i += n51
  3249. dAtA[i] = 0x3a
  3250. i++
  3251. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTimestamp.Size()))
  3252. n52, err := m.LastTimestamp.MarshalTo(dAtA[i:])
  3253. if err != nil {
  3254. return 0, err
  3255. }
  3256. i += n52
  3257. dAtA[i] = 0x40
  3258. i++
  3259. i = encodeVarintGenerated(dAtA, i, uint64(m.Count))
  3260. dAtA[i] = 0x4a
  3261. i++
  3262. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  3263. i += copy(dAtA[i:], m.Type)
  3264. dAtA[i] = 0x52
  3265. i++
  3266. i = encodeVarintGenerated(dAtA, i, uint64(m.EventTime.Size()))
  3267. n53, err := m.EventTime.MarshalTo(dAtA[i:])
  3268. if err != nil {
  3269. return 0, err
  3270. }
  3271. i += n53
  3272. if m.Series != nil {
  3273. dAtA[i] = 0x5a
  3274. i++
  3275. i = encodeVarintGenerated(dAtA, i, uint64(m.Series.Size()))
  3276. n54, err := m.Series.MarshalTo(dAtA[i:])
  3277. if err != nil {
  3278. return 0, err
  3279. }
  3280. i += n54
  3281. }
  3282. dAtA[i] = 0x62
  3283. i++
  3284. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Action)))
  3285. i += copy(dAtA[i:], m.Action)
  3286. if m.Related != nil {
  3287. dAtA[i] = 0x6a
  3288. i++
  3289. i = encodeVarintGenerated(dAtA, i, uint64(m.Related.Size()))
  3290. n55, err := m.Related.MarshalTo(dAtA[i:])
  3291. if err != nil {
  3292. return 0, err
  3293. }
  3294. i += n55
  3295. }
  3296. dAtA[i] = 0x72
  3297. i++
  3298. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ReportingController)))
  3299. i += copy(dAtA[i:], m.ReportingController)
  3300. dAtA[i] = 0x7a
  3301. i++
  3302. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ReportingInstance)))
  3303. i += copy(dAtA[i:], m.ReportingInstance)
  3304. return i, nil
  3305. }
  3306. func (m *EventList) Marshal() (dAtA []byte, err error) {
  3307. size := m.Size()
  3308. dAtA = make([]byte, size)
  3309. n, err := m.MarshalTo(dAtA)
  3310. if err != nil {
  3311. return nil, err
  3312. }
  3313. return dAtA[:n], nil
  3314. }
  3315. func (m *EventList) MarshalTo(dAtA []byte) (int, error) {
  3316. var i int
  3317. _ = i
  3318. var l int
  3319. _ = l
  3320. dAtA[i] = 0xa
  3321. i++
  3322. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  3323. n56, err := m.ListMeta.MarshalTo(dAtA[i:])
  3324. if err != nil {
  3325. return 0, err
  3326. }
  3327. i += n56
  3328. if len(m.Items) > 0 {
  3329. for _, msg := range m.Items {
  3330. dAtA[i] = 0x12
  3331. i++
  3332. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  3333. n, err := msg.MarshalTo(dAtA[i:])
  3334. if err != nil {
  3335. return 0, err
  3336. }
  3337. i += n
  3338. }
  3339. }
  3340. return i, nil
  3341. }
  3342. func (m *EventSeries) Marshal() (dAtA []byte, err error) {
  3343. size := m.Size()
  3344. dAtA = make([]byte, size)
  3345. n, err := m.MarshalTo(dAtA)
  3346. if err != nil {
  3347. return nil, err
  3348. }
  3349. return dAtA[:n], nil
  3350. }
  3351. func (m *EventSeries) MarshalTo(dAtA []byte) (int, error) {
  3352. var i int
  3353. _ = i
  3354. var l int
  3355. _ = l
  3356. dAtA[i] = 0x8
  3357. i++
  3358. i = encodeVarintGenerated(dAtA, i, uint64(m.Count))
  3359. dAtA[i] = 0x12
  3360. i++
  3361. i = encodeVarintGenerated(dAtA, i, uint64(m.LastObservedTime.Size()))
  3362. n57, err := m.LastObservedTime.MarshalTo(dAtA[i:])
  3363. if err != nil {
  3364. return 0, err
  3365. }
  3366. i += n57
  3367. dAtA[i] = 0x1a
  3368. i++
  3369. i = encodeVarintGenerated(dAtA, i, uint64(len(m.State)))
  3370. i += copy(dAtA[i:], m.State)
  3371. return i, nil
  3372. }
  3373. func (m *EventSource) Marshal() (dAtA []byte, err error) {
  3374. size := m.Size()
  3375. dAtA = make([]byte, size)
  3376. n, err := m.MarshalTo(dAtA)
  3377. if err != nil {
  3378. return nil, err
  3379. }
  3380. return dAtA[:n], nil
  3381. }
  3382. func (m *EventSource) MarshalTo(dAtA []byte) (int, error) {
  3383. var i int
  3384. _ = i
  3385. var l int
  3386. _ = l
  3387. dAtA[i] = 0xa
  3388. i++
  3389. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Component)))
  3390. i += copy(dAtA[i:], m.Component)
  3391. dAtA[i] = 0x12
  3392. i++
  3393. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
  3394. i += copy(dAtA[i:], m.Host)
  3395. return i, nil
  3396. }
  3397. func (m *ExecAction) Marshal() (dAtA []byte, err error) {
  3398. size := m.Size()
  3399. dAtA = make([]byte, size)
  3400. n, err := m.MarshalTo(dAtA)
  3401. if err != nil {
  3402. return nil, err
  3403. }
  3404. return dAtA[:n], nil
  3405. }
  3406. func (m *ExecAction) MarshalTo(dAtA []byte) (int, error) {
  3407. var i int
  3408. _ = i
  3409. var l int
  3410. _ = l
  3411. if len(m.Command) > 0 {
  3412. for _, s := range m.Command {
  3413. dAtA[i] = 0xa
  3414. i++
  3415. l = len(s)
  3416. for l >= 1<<7 {
  3417. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3418. l >>= 7
  3419. i++
  3420. }
  3421. dAtA[i] = uint8(l)
  3422. i++
  3423. i += copy(dAtA[i:], s)
  3424. }
  3425. }
  3426. return i, nil
  3427. }
  3428. func (m *FCVolumeSource) Marshal() (dAtA []byte, err error) {
  3429. size := m.Size()
  3430. dAtA = make([]byte, size)
  3431. n, err := m.MarshalTo(dAtA)
  3432. if err != nil {
  3433. return nil, err
  3434. }
  3435. return dAtA[:n], nil
  3436. }
  3437. func (m *FCVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3438. var i int
  3439. _ = i
  3440. var l int
  3441. _ = l
  3442. if len(m.TargetWWNs) > 0 {
  3443. for _, s := range m.TargetWWNs {
  3444. dAtA[i] = 0xa
  3445. i++
  3446. l = len(s)
  3447. for l >= 1<<7 {
  3448. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3449. l >>= 7
  3450. i++
  3451. }
  3452. dAtA[i] = uint8(l)
  3453. i++
  3454. i += copy(dAtA[i:], s)
  3455. }
  3456. }
  3457. if m.Lun != nil {
  3458. dAtA[i] = 0x10
  3459. i++
  3460. i = encodeVarintGenerated(dAtA, i, uint64(*m.Lun))
  3461. }
  3462. dAtA[i] = 0x1a
  3463. i++
  3464. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3465. i += copy(dAtA[i:], m.FSType)
  3466. dAtA[i] = 0x20
  3467. i++
  3468. if m.ReadOnly {
  3469. dAtA[i] = 1
  3470. } else {
  3471. dAtA[i] = 0
  3472. }
  3473. i++
  3474. if len(m.WWIDs) > 0 {
  3475. for _, s := range m.WWIDs {
  3476. dAtA[i] = 0x2a
  3477. i++
  3478. l = len(s)
  3479. for l >= 1<<7 {
  3480. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3481. l >>= 7
  3482. i++
  3483. }
  3484. dAtA[i] = uint8(l)
  3485. i++
  3486. i += copy(dAtA[i:], s)
  3487. }
  3488. }
  3489. return i, nil
  3490. }
  3491. func (m *FlexPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  3492. size := m.Size()
  3493. dAtA = make([]byte, size)
  3494. n, err := m.MarshalTo(dAtA)
  3495. if err != nil {
  3496. return nil, err
  3497. }
  3498. return dAtA[:n], nil
  3499. }
  3500. func (m *FlexPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3501. var i int
  3502. _ = i
  3503. var l int
  3504. _ = l
  3505. dAtA[i] = 0xa
  3506. i++
  3507. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  3508. i += copy(dAtA[i:], m.Driver)
  3509. dAtA[i] = 0x12
  3510. i++
  3511. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3512. i += copy(dAtA[i:], m.FSType)
  3513. if m.SecretRef != nil {
  3514. dAtA[i] = 0x1a
  3515. i++
  3516. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  3517. n58, err := m.SecretRef.MarshalTo(dAtA[i:])
  3518. if err != nil {
  3519. return 0, err
  3520. }
  3521. i += n58
  3522. }
  3523. dAtA[i] = 0x20
  3524. i++
  3525. if m.ReadOnly {
  3526. dAtA[i] = 1
  3527. } else {
  3528. dAtA[i] = 0
  3529. }
  3530. i++
  3531. if len(m.Options) > 0 {
  3532. keysForOptions := make([]string, 0, len(m.Options))
  3533. for k := range m.Options {
  3534. keysForOptions = append(keysForOptions, string(k))
  3535. }
  3536. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  3537. for _, k := range keysForOptions {
  3538. dAtA[i] = 0x2a
  3539. i++
  3540. v := m.Options[string(k)]
  3541. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3542. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  3543. dAtA[i] = 0xa
  3544. i++
  3545. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  3546. i += copy(dAtA[i:], k)
  3547. dAtA[i] = 0x12
  3548. i++
  3549. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  3550. i += copy(dAtA[i:], v)
  3551. }
  3552. }
  3553. return i, nil
  3554. }
  3555. func (m *FlexVolumeSource) Marshal() (dAtA []byte, err error) {
  3556. size := m.Size()
  3557. dAtA = make([]byte, size)
  3558. n, err := m.MarshalTo(dAtA)
  3559. if err != nil {
  3560. return nil, err
  3561. }
  3562. return dAtA[:n], nil
  3563. }
  3564. func (m *FlexVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3565. var i int
  3566. _ = i
  3567. var l int
  3568. _ = l
  3569. dAtA[i] = 0xa
  3570. i++
  3571. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  3572. i += copy(dAtA[i:], m.Driver)
  3573. dAtA[i] = 0x12
  3574. i++
  3575. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3576. i += copy(dAtA[i:], m.FSType)
  3577. if m.SecretRef != nil {
  3578. dAtA[i] = 0x1a
  3579. i++
  3580. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  3581. n59, err := m.SecretRef.MarshalTo(dAtA[i:])
  3582. if err != nil {
  3583. return 0, err
  3584. }
  3585. i += n59
  3586. }
  3587. dAtA[i] = 0x20
  3588. i++
  3589. if m.ReadOnly {
  3590. dAtA[i] = 1
  3591. } else {
  3592. dAtA[i] = 0
  3593. }
  3594. i++
  3595. if len(m.Options) > 0 {
  3596. keysForOptions := make([]string, 0, len(m.Options))
  3597. for k := range m.Options {
  3598. keysForOptions = append(keysForOptions, string(k))
  3599. }
  3600. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  3601. for _, k := range keysForOptions {
  3602. dAtA[i] = 0x2a
  3603. i++
  3604. v := m.Options[string(k)]
  3605. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3606. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  3607. dAtA[i] = 0xa
  3608. i++
  3609. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  3610. i += copy(dAtA[i:], k)
  3611. dAtA[i] = 0x12
  3612. i++
  3613. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  3614. i += copy(dAtA[i:], v)
  3615. }
  3616. }
  3617. return i, nil
  3618. }
  3619. func (m *FlockerVolumeSource) Marshal() (dAtA []byte, err error) {
  3620. size := m.Size()
  3621. dAtA = make([]byte, size)
  3622. n, err := m.MarshalTo(dAtA)
  3623. if err != nil {
  3624. return nil, err
  3625. }
  3626. return dAtA[:n], nil
  3627. }
  3628. func (m *FlockerVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3629. var i int
  3630. _ = i
  3631. var l int
  3632. _ = l
  3633. dAtA[i] = 0xa
  3634. i++
  3635. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DatasetName)))
  3636. i += copy(dAtA[i:], m.DatasetName)
  3637. dAtA[i] = 0x12
  3638. i++
  3639. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DatasetUUID)))
  3640. i += copy(dAtA[i:], m.DatasetUUID)
  3641. return i, nil
  3642. }
  3643. func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  3644. size := m.Size()
  3645. dAtA = make([]byte, size)
  3646. n, err := m.MarshalTo(dAtA)
  3647. if err != nil {
  3648. return nil, err
  3649. }
  3650. return dAtA[:n], nil
  3651. }
  3652. func (m *GCEPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3653. var i int
  3654. _ = i
  3655. var l int
  3656. _ = l
  3657. dAtA[i] = 0xa
  3658. i++
  3659. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PDName)))
  3660. i += copy(dAtA[i:], m.PDName)
  3661. dAtA[i] = 0x12
  3662. i++
  3663. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3664. i += copy(dAtA[i:], m.FSType)
  3665. dAtA[i] = 0x18
  3666. i++
  3667. i = encodeVarintGenerated(dAtA, i, uint64(m.Partition))
  3668. dAtA[i] = 0x20
  3669. i++
  3670. if m.ReadOnly {
  3671. dAtA[i] = 1
  3672. } else {
  3673. dAtA[i] = 0
  3674. }
  3675. i++
  3676. return i, nil
  3677. }
  3678. func (m *GitRepoVolumeSource) Marshal() (dAtA []byte, err error) {
  3679. size := m.Size()
  3680. dAtA = make([]byte, size)
  3681. n, err := m.MarshalTo(dAtA)
  3682. if err != nil {
  3683. return nil, err
  3684. }
  3685. return dAtA[:n], nil
  3686. }
  3687. func (m *GitRepoVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3688. var i int
  3689. _ = i
  3690. var l int
  3691. _ = l
  3692. dAtA[i] = 0xa
  3693. i++
  3694. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repository)))
  3695. i += copy(dAtA[i:], m.Repository)
  3696. dAtA[i] = 0x12
  3697. i++
  3698. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revision)))
  3699. i += copy(dAtA[i:], m.Revision)
  3700. dAtA[i] = 0x1a
  3701. i++
  3702. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Directory)))
  3703. i += copy(dAtA[i:], m.Directory)
  3704. return i, nil
  3705. }
  3706. func (m *GlusterfsPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  3707. size := m.Size()
  3708. dAtA = make([]byte, size)
  3709. n, err := m.MarshalTo(dAtA)
  3710. if err != nil {
  3711. return nil, err
  3712. }
  3713. return dAtA[:n], nil
  3714. }
  3715. func (m *GlusterfsPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3716. var i int
  3717. _ = i
  3718. var l int
  3719. _ = l
  3720. dAtA[i] = 0xa
  3721. i++
  3722. i = encodeVarintGenerated(dAtA, i, uint64(len(m.EndpointsName)))
  3723. i += copy(dAtA[i:], m.EndpointsName)
  3724. dAtA[i] = 0x12
  3725. i++
  3726. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3727. i += copy(dAtA[i:], m.Path)
  3728. dAtA[i] = 0x18
  3729. i++
  3730. if m.ReadOnly {
  3731. dAtA[i] = 1
  3732. } else {
  3733. dAtA[i] = 0
  3734. }
  3735. i++
  3736. if m.EndpointsNamespace != nil {
  3737. dAtA[i] = 0x22
  3738. i++
  3739. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.EndpointsNamespace)))
  3740. i += copy(dAtA[i:], *m.EndpointsNamespace)
  3741. }
  3742. return i, nil
  3743. }
  3744. func (m *GlusterfsVolumeSource) Marshal() (dAtA []byte, err error) {
  3745. size := m.Size()
  3746. dAtA = make([]byte, size)
  3747. n, err := m.MarshalTo(dAtA)
  3748. if err != nil {
  3749. return nil, err
  3750. }
  3751. return dAtA[:n], nil
  3752. }
  3753. func (m *GlusterfsVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3754. var i int
  3755. _ = i
  3756. var l int
  3757. _ = l
  3758. dAtA[i] = 0xa
  3759. i++
  3760. i = encodeVarintGenerated(dAtA, i, uint64(len(m.EndpointsName)))
  3761. i += copy(dAtA[i:], m.EndpointsName)
  3762. dAtA[i] = 0x12
  3763. i++
  3764. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3765. i += copy(dAtA[i:], m.Path)
  3766. dAtA[i] = 0x18
  3767. i++
  3768. if m.ReadOnly {
  3769. dAtA[i] = 1
  3770. } else {
  3771. dAtA[i] = 0
  3772. }
  3773. i++
  3774. return i, nil
  3775. }
  3776. func (m *HTTPGetAction) Marshal() (dAtA []byte, err error) {
  3777. size := m.Size()
  3778. dAtA = make([]byte, size)
  3779. n, err := m.MarshalTo(dAtA)
  3780. if err != nil {
  3781. return nil, err
  3782. }
  3783. return dAtA[:n], nil
  3784. }
  3785. func (m *HTTPGetAction) MarshalTo(dAtA []byte) (int, error) {
  3786. var i int
  3787. _ = i
  3788. var l int
  3789. _ = l
  3790. dAtA[i] = 0xa
  3791. i++
  3792. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3793. i += copy(dAtA[i:], m.Path)
  3794. dAtA[i] = 0x12
  3795. i++
  3796. i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
  3797. n60, err := m.Port.MarshalTo(dAtA[i:])
  3798. if err != nil {
  3799. return 0, err
  3800. }
  3801. i += n60
  3802. dAtA[i] = 0x1a
  3803. i++
  3804. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
  3805. i += copy(dAtA[i:], m.Host)
  3806. dAtA[i] = 0x22
  3807. i++
  3808. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Scheme)))
  3809. i += copy(dAtA[i:], m.Scheme)
  3810. if len(m.HTTPHeaders) > 0 {
  3811. for _, msg := range m.HTTPHeaders {
  3812. dAtA[i] = 0x2a
  3813. i++
  3814. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  3815. n, err := msg.MarshalTo(dAtA[i:])
  3816. if err != nil {
  3817. return 0, err
  3818. }
  3819. i += n
  3820. }
  3821. }
  3822. return i, nil
  3823. }
  3824. func (m *HTTPHeader) Marshal() (dAtA []byte, err error) {
  3825. size := m.Size()
  3826. dAtA = make([]byte, size)
  3827. n, err := m.MarshalTo(dAtA)
  3828. if err != nil {
  3829. return nil, err
  3830. }
  3831. return dAtA[:n], nil
  3832. }
  3833. func (m *HTTPHeader) MarshalTo(dAtA []byte) (int, error) {
  3834. var i int
  3835. _ = i
  3836. var l int
  3837. _ = l
  3838. dAtA[i] = 0xa
  3839. i++
  3840. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  3841. i += copy(dAtA[i:], m.Name)
  3842. dAtA[i] = 0x12
  3843. i++
  3844. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  3845. i += copy(dAtA[i:], m.Value)
  3846. return i, nil
  3847. }
  3848. func (m *Handler) Marshal() (dAtA []byte, err error) {
  3849. size := m.Size()
  3850. dAtA = make([]byte, size)
  3851. n, err := m.MarshalTo(dAtA)
  3852. if err != nil {
  3853. return nil, err
  3854. }
  3855. return dAtA[:n], nil
  3856. }
  3857. func (m *Handler) MarshalTo(dAtA []byte) (int, error) {
  3858. var i int
  3859. _ = i
  3860. var l int
  3861. _ = l
  3862. if m.Exec != nil {
  3863. dAtA[i] = 0xa
  3864. i++
  3865. i = encodeVarintGenerated(dAtA, i, uint64(m.Exec.Size()))
  3866. n61, err := m.Exec.MarshalTo(dAtA[i:])
  3867. if err != nil {
  3868. return 0, err
  3869. }
  3870. i += n61
  3871. }
  3872. if m.HTTPGet != nil {
  3873. dAtA[i] = 0x12
  3874. i++
  3875. i = encodeVarintGenerated(dAtA, i, uint64(m.HTTPGet.Size()))
  3876. n62, err := m.HTTPGet.MarshalTo(dAtA[i:])
  3877. if err != nil {
  3878. return 0, err
  3879. }
  3880. i += n62
  3881. }
  3882. if m.TCPSocket != nil {
  3883. dAtA[i] = 0x1a
  3884. i++
  3885. i = encodeVarintGenerated(dAtA, i, uint64(m.TCPSocket.Size()))
  3886. n63, err := m.TCPSocket.MarshalTo(dAtA[i:])
  3887. if err != nil {
  3888. return 0, err
  3889. }
  3890. i += n63
  3891. }
  3892. return i, nil
  3893. }
  3894. func (m *HostAlias) Marshal() (dAtA []byte, err error) {
  3895. size := m.Size()
  3896. dAtA = make([]byte, size)
  3897. n, err := m.MarshalTo(dAtA)
  3898. if err != nil {
  3899. return nil, err
  3900. }
  3901. return dAtA[:n], nil
  3902. }
  3903. func (m *HostAlias) MarshalTo(dAtA []byte) (int, error) {
  3904. var i int
  3905. _ = i
  3906. var l int
  3907. _ = l
  3908. dAtA[i] = 0xa
  3909. i++
  3910. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IP)))
  3911. i += copy(dAtA[i:], m.IP)
  3912. if len(m.Hostnames) > 0 {
  3913. for _, s := range m.Hostnames {
  3914. dAtA[i] = 0x12
  3915. i++
  3916. l = len(s)
  3917. for l >= 1<<7 {
  3918. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3919. l >>= 7
  3920. i++
  3921. }
  3922. dAtA[i] = uint8(l)
  3923. i++
  3924. i += copy(dAtA[i:], s)
  3925. }
  3926. }
  3927. return i, nil
  3928. }
  3929. func (m *HostPathVolumeSource) Marshal() (dAtA []byte, err error) {
  3930. size := m.Size()
  3931. dAtA = make([]byte, size)
  3932. n, err := m.MarshalTo(dAtA)
  3933. if err != nil {
  3934. return nil, err
  3935. }
  3936. return dAtA[:n], nil
  3937. }
  3938. func (m *HostPathVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3939. var i int
  3940. _ = i
  3941. var l int
  3942. _ = l
  3943. dAtA[i] = 0xa
  3944. i++
  3945. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3946. i += copy(dAtA[i:], m.Path)
  3947. if m.Type != nil {
  3948. dAtA[i] = 0x12
  3949. i++
  3950. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Type)))
  3951. i += copy(dAtA[i:], *m.Type)
  3952. }
  3953. return i, nil
  3954. }
  3955. func (m *ISCSIPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  3956. size := m.Size()
  3957. dAtA = make([]byte, size)
  3958. n, err := m.MarshalTo(dAtA)
  3959. if err != nil {
  3960. return nil, err
  3961. }
  3962. return dAtA[:n], nil
  3963. }
  3964. func (m *ISCSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3965. var i int
  3966. _ = i
  3967. var l int
  3968. _ = l
  3969. dAtA[i] = 0xa
  3970. i++
  3971. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetPortal)))
  3972. i += copy(dAtA[i:], m.TargetPortal)
  3973. dAtA[i] = 0x12
  3974. i++
  3975. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IQN)))
  3976. i += copy(dAtA[i:], m.IQN)
  3977. dAtA[i] = 0x18
  3978. i++
  3979. i = encodeVarintGenerated(dAtA, i, uint64(m.Lun))
  3980. dAtA[i] = 0x22
  3981. i++
  3982. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ISCSIInterface)))
  3983. i += copy(dAtA[i:], m.ISCSIInterface)
  3984. dAtA[i] = 0x2a
  3985. i++
  3986. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3987. i += copy(dAtA[i:], m.FSType)
  3988. dAtA[i] = 0x30
  3989. i++
  3990. if m.ReadOnly {
  3991. dAtA[i] = 1
  3992. } else {
  3993. dAtA[i] = 0
  3994. }
  3995. i++
  3996. if len(m.Portals) > 0 {
  3997. for _, s := range m.Portals {
  3998. dAtA[i] = 0x3a
  3999. i++
  4000. l = len(s)
  4001. for l >= 1<<7 {
  4002. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4003. l >>= 7
  4004. i++
  4005. }
  4006. dAtA[i] = uint8(l)
  4007. i++
  4008. i += copy(dAtA[i:], s)
  4009. }
  4010. }
  4011. dAtA[i] = 0x40
  4012. i++
  4013. if m.DiscoveryCHAPAuth {
  4014. dAtA[i] = 1
  4015. } else {
  4016. dAtA[i] = 0
  4017. }
  4018. i++
  4019. if m.SecretRef != nil {
  4020. dAtA[i] = 0x52
  4021. i++
  4022. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  4023. n64, err := m.SecretRef.MarshalTo(dAtA[i:])
  4024. if err != nil {
  4025. return 0, err
  4026. }
  4027. i += n64
  4028. }
  4029. dAtA[i] = 0x58
  4030. i++
  4031. if m.SessionCHAPAuth {
  4032. dAtA[i] = 1
  4033. } else {
  4034. dAtA[i] = 0
  4035. }
  4036. i++
  4037. if m.InitiatorName != nil {
  4038. dAtA[i] = 0x62
  4039. i++
  4040. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.InitiatorName)))
  4041. i += copy(dAtA[i:], *m.InitiatorName)
  4042. }
  4043. return i, nil
  4044. }
  4045. func (m *ISCSIVolumeSource) Marshal() (dAtA []byte, err error) {
  4046. size := m.Size()
  4047. dAtA = make([]byte, size)
  4048. n, err := m.MarshalTo(dAtA)
  4049. if err != nil {
  4050. return nil, err
  4051. }
  4052. return dAtA[:n], nil
  4053. }
  4054. func (m *ISCSIVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  4055. var i int
  4056. _ = i
  4057. var l int
  4058. _ = l
  4059. dAtA[i] = 0xa
  4060. i++
  4061. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetPortal)))
  4062. i += copy(dAtA[i:], m.TargetPortal)
  4063. dAtA[i] = 0x12
  4064. i++
  4065. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IQN)))
  4066. i += copy(dAtA[i:], m.IQN)
  4067. dAtA[i] = 0x18
  4068. i++
  4069. i = encodeVarintGenerated(dAtA, i, uint64(m.Lun))
  4070. dAtA[i] = 0x22
  4071. i++
  4072. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ISCSIInterface)))
  4073. i += copy(dAtA[i:], m.ISCSIInterface)
  4074. dAtA[i] = 0x2a
  4075. i++
  4076. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  4077. i += copy(dAtA[i:], m.FSType)
  4078. dAtA[i] = 0x30
  4079. i++
  4080. if m.ReadOnly {
  4081. dAtA[i] = 1
  4082. } else {
  4083. dAtA[i] = 0
  4084. }
  4085. i++
  4086. if len(m.Portals) > 0 {
  4087. for _, s := range m.Portals {
  4088. dAtA[i] = 0x3a
  4089. i++
  4090. l = len(s)
  4091. for l >= 1<<7 {
  4092. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4093. l >>= 7
  4094. i++
  4095. }
  4096. dAtA[i] = uint8(l)
  4097. i++
  4098. i += copy(dAtA[i:], s)
  4099. }
  4100. }
  4101. dAtA[i] = 0x40
  4102. i++
  4103. if m.DiscoveryCHAPAuth {
  4104. dAtA[i] = 1
  4105. } else {
  4106. dAtA[i] = 0
  4107. }
  4108. i++
  4109. if m.SecretRef != nil {
  4110. dAtA[i] = 0x52
  4111. i++
  4112. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  4113. n65, err := m.SecretRef.MarshalTo(dAtA[i:])
  4114. if err != nil {
  4115. return 0, err
  4116. }
  4117. i += n65
  4118. }
  4119. dAtA[i] = 0x58
  4120. i++
  4121. if m.SessionCHAPAuth {
  4122. dAtA[i] = 1
  4123. } else {
  4124. dAtA[i] = 0
  4125. }
  4126. i++
  4127. if m.InitiatorName != nil {
  4128. dAtA[i] = 0x62
  4129. i++
  4130. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.InitiatorName)))
  4131. i += copy(dAtA[i:], *m.InitiatorName)
  4132. }
  4133. return i, nil
  4134. }
  4135. func (m *KeyToPath) Marshal() (dAtA []byte, err error) {
  4136. size := m.Size()
  4137. dAtA = make([]byte, size)
  4138. n, err := m.MarshalTo(dAtA)
  4139. if err != nil {
  4140. return nil, err
  4141. }
  4142. return dAtA[:n], nil
  4143. }
  4144. func (m *KeyToPath) MarshalTo(dAtA []byte) (int, error) {
  4145. var i int
  4146. _ = i
  4147. var l int
  4148. _ = l
  4149. dAtA[i] = 0xa
  4150. i++
  4151. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  4152. i += copy(dAtA[i:], m.Key)
  4153. dAtA[i] = 0x12
  4154. i++
  4155. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  4156. i += copy(dAtA[i:], m.Path)
  4157. if m.Mode != nil {
  4158. dAtA[i] = 0x18
  4159. i++
  4160. i = encodeVarintGenerated(dAtA, i, uint64(*m.Mode))
  4161. }
  4162. return i, nil
  4163. }
  4164. func (m *Lifecycle) Marshal() (dAtA []byte, err error) {
  4165. size := m.Size()
  4166. dAtA = make([]byte, size)
  4167. n, err := m.MarshalTo(dAtA)
  4168. if err != nil {
  4169. return nil, err
  4170. }
  4171. return dAtA[:n], nil
  4172. }
  4173. func (m *Lifecycle) MarshalTo(dAtA []byte) (int, error) {
  4174. var i int
  4175. _ = i
  4176. var l int
  4177. _ = l
  4178. if m.PostStart != nil {
  4179. dAtA[i] = 0xa
  4180. i++
  4181. i = encodeVarintGenerated(dAtA, i, uint64(m.PostStart.Size()))
  4182. n66, err := m.PostStart.MarshalTo(dAtA[i:])
  4183. if err != nil {
  4184. return 0, err
  4185. }
  4186. i += n66
  4187. }
  4188. if m.PreStop != nil {
  4189. dAtA[i] = 0x12
  4190. i++
  4191. i = encodeVarintGenerated(dAtA, i, uint64(m.PreStop.Size()))
  4192. n67, err := m.PreStop.MarshalTo(dAtA[i:])
  4193. if err != nil {
  4194. return 0, err
  4195. }
  4196. i += n67
  4197. }
  4198. return i, nil
  4199. }
  4200. func (m *LimitRange) Marshal() (dAtA []byte, err error) {
  4201. size := m.Size()
  4202. dAtA = make([]byte, size)
  4203. n, err := m.MarshalTo(dAtA)
  4204. if err != nil {
  4205. return nil, err
  4206. }
  4207. return dAtA[:n], nil
  4208. }
  4209. func (m *LimitRange) MarshalTo(dAtA []byte) (int, error) {
  4210. var i int
  4211. _ = i
  4212. var l int
  4213. _ = l
  4214. dAtA[i] = 0xa
  4215. i++
  4216. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  4217. n68, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  4218. if err != nil {
  4219. return 0, err
  4220. }
  4221. i += n68
  4222. dAtA[i] = 0x12
  4223. i++
  4224. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  4225. n69, err := m.Spec.MarshalTo(dAtA[i:])
  4226. if err != nil {
  4227. return 0, err
  4228. }
  4229. i += n69
  4230. return i, nil
  4231. }
  4232. func (m *LimitRangeItem) Marshal() (dAtA []byte, err error) {
  4233. size := m.Size()
  4234. dAtA = make([]byte, size)
  4235. n, err := m.MarshalTo(dAtA)
  4236. if err != nil {
  4237. return nil, err
  4238. }
  4239. return dAtA[:n], nil
  4240. }
  4241. func (m *LimitRangeItem) MarshalTo(dAtA []byte) (int, error) {
  4242. var i int
  4243. _ = i
  4244. var l int
  4245. _ = l
  4246. dAtA[i] = 0xa
  4247. i++
  4248. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  4249. i += copy(dAtA[i:], m.Type)
  4250. if len(m.Max) > 0 {
  4251. keysForMax := make([]string, 0, len(m.Max))
  4252. for k := range m.Max {
  4253. keysForMax = append(keysForMax, string(k))
  4254. }
  4255. github_com_gogo_protobuf_sortkeys.Strings(keysForMax)
  4256. for _, k := range keysForMax {
  4257. dAtA[i] = 0x12
  4258. i++
  4259. v := m.Max[ResourceName(k)]
  4260. msgSize := 0
  4261. if (&v) != nil {
  4262. msgSize = (&v).Size()
  4263. msgSize += 1 + sovGenerated(uint64(msgSize))
  4264. }
  4265. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4266. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4267. dAtA[i] = 0xa
  4268. i++
  4269. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4270. i += copy(dAtA[i:], k)
  4271. dAtA[i] = 0x12
  4272. i++
  4273. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4274. n70, err := (&v).MarshalTo(dAtA[i:])
  4275. if err != nil {
  4276. return 0, err
  4277. }
  4278. i += n70
  4279. }
  4280. }
  4281. if len(m.Min) > 0 {
  4282. keysForMin := make([]string, 0, len(m.Min))
  4283. for k := range m.Min {
  4284. keysForMin = append(keysForMin, string(k))
  4285. }
  4286. github_com_gogo_protobuf_sortkeys.Strings(keysForMin)
  4287. for _, k := range keysForMin {
  4288. dAtA[i] = 0x1a
  4289. i++
  4290. v := m.Min[ResourceName(k)]
  4291. msgSize := 0
  4292. if (&v) != nil {
  4293. msgSize = (&v).Size()
  4294. msgSize += 1 + sovGenerated(uint64(msgSize))
  4295. }
  4296. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4297. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4298. dAtA[i] = 0xa
  4299. i++
  4300. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4301. i += copy(dAtA[i:], k)
  4302. dAtA[i] = 0x12
  4303. i++
  4304. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4305. n71, err := (&v).MarshalTo(dAtA[i:])
  4306. if err != nil {
  4307. return 0, err
  4308. }
  4309. i += n71
  4310. }
  4311. }
  4312. if len(m.Default) > 0 {
  4313. keysForDefault := make([]string, 0, len(m.Default))
  4314. for k := range m.Default {
  4315. keysForDefault = append(keysForDefault, string(k))
  4316. }
  4317. github_com_gogo_protobuf_sortkeys.Strings(keysForDefault)
  4318. for _, k := range keysForDefault {
  4319. dAtA[i] = 0x22
  4320. i++
  4321. v := m.Default[ResourceName(k)]
  4322. msgSize := 0
  4323. if (&v) != nil {
  4324. msgSize = (&v).Size()
  4325. msgSize += 1 + sovGenerated(uint64(msgSize))
  4326. }
  4327. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4328. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4329. dAtA[i] = 0xa
  4330. i++
  4331. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4332. i += copy(dAtA[i:], k)
  4333. dAtA[i] = 0x12
  4334. i++
  4335. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4336. n72, err := (&v).MarshalTo(dAtA[i:])
  4337. if err != nil {
  4338. return 0, err
  4339. }
  4340. i += n72
  4341. }
  4342. }
  4343. if len(m.DefaultRequest) > 0 {
  4344. keysForDefaultRequest := make([]string, 0, len(m.DefaultRequest))
  4345. for k := range m.DefaultRequest {
  4346. keysForDefaultRequest = append(keysForDefaultRequest, string(k))
  4347. }
  4348. github_com_gogo_protobuf_sortkeys.Strings(keysForDefaultRequest)
  4349. for _, k := range keysForDefaultRequest {
  4350. dAtA[i] = 0x2a
  4351. i++
  4352. v := m.DefaultRequest[ResourceName(k)]
  4353. msgSize := 0
  4354. if (&v) != nil {
  4355. msgSize = (&v).Size()
  4356. msgSize += 1 + sovGenerated(uint64(msgSize))
  4357. }
  4358. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4359. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4360. dAtA[i] = 0xa
  4361. i++
  4362. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4363. i += copy(dAtA[i:], k)
  4364. dAtA[i] = 0x12
  4365. i++
  4366. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4367. n73, err := (&v).MarshalTo(dAtA[i:])
  4368. if err != nil {
  4369. return 0, err
  4370. }
  4371. i += n73
  4372. }
  4373. }
  4374. if len(m.MaxLimitRequestRatio) > 0 {
  4375. keysForMaxLimitRequestRatio := make([]string, 0, len(m.MaxLimitRequestRatio))
  4376. for k := range m.MaxLimitRequestRatio {
  4377. keysForMaxLimitRequestRatio = append(keysForMaxLimitRequestRatio, string(k))
  4378. }
  4379. github_com_gogo_protobuf_sortkeys.Strings(keysForMaxLimitRequestRatio)
  4380. for _, k := range keysForMaxLimitRequestRatio {
  4381. dAtA[i] = 0x32
  4382. i++
  4383. v := m.MaxLimitRequestRatio[ResourceName(k)]
  4384. msgSize := 0
  4385. if (&v) != nil {
  4386. msgSize = (&v).Size()
  4387. msgSize += 1 + sovGenerated(uint64(msgSize))
  4388. }
  4389. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4390. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4391. dAtA[i] = 0xa
  4392. i++
  4393. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4394. i += copy(dAtA[i:], k)
  4395. dAtA[i] = 0x12
  4396. i++
  4397. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4398. n74, err := (&v).MarshalTo(dAtA[i:])
  4399. if err != nil {
  4400. return 0, err
  4401. }
  4402. i += n74
  4403. }
  4404. }
  4405. return i, nil
  4406. }
  4407. func (m *LimitRangeList) Marshal() (dAtA []byte, err error) {
  4408. size := m.Size()
  4409. dAtA = make([]byte, size)
  4410. n, err := m.MarshalTo(dAtA)
  4411. if err != nil {
  4412. return nil, err
  4413. }
  4414. return dAtA[:n], nil
  4415. }
  4416. func (m *LimitRangeList) MarshalTo(dAtA []byte) (int, error) {
  4417. var i int
  4418. _ = i
  4419. var l int
  4420. _ = l
  4421. dAtA[i] = 0xa
  4422. i++
  4423. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  4424. n75, err := m.ListMeta.MarshalTo(dAtA[i:])
  4425. if err != nil {
  4426. return 0, err
  4427. }
  4428. i += n75
  4429. if len(m.Items) > 0 {
  4430. for _, msg := range m.Items {
  4431. dAtA[i] = 0x12
  4432. i++
  4433. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4434. n, err := msg.MarshalTo(dAtA[i:])
  4435. if err != nil {
  4436. return 0, err
  4437. }
  4438. i += n
  4439. }
  4440. }
  4441. return i, nil
  4442. }
  4443. func (m *LimitRangeSpec) Marshal() (dAtA []byte, err error) {
  4444. size := m.Size()
  4445. dAtA = make([]byte, size)
  4446. n, err := m.MarshalTo(dAtA)
  4447. if err != nil {
  4448. return nil, err
  4449. }
  4450. return dAtA[:n], nil
  4451. }
  4452. func (m *LimitRangeSpec) MarshalTo(dAtA []byte) (int, error) {
  4453. var i int
  4454. _ = i
  4455. var l int
  4456. _ = l
  4457. if len(m.Limits) > 0 {
  4458. for _, msg := range m.Limits {
  4459. dAtA[i] = 0xa
  4460. i++
  4461. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4462. n, err := msg.MarshalTo(dAtA[i:])
  4463. if err != nil {
  4464. return 0, err
  4465. }
  4466. i += n
  4467. }
  4468. }
  4469. return i, nil
  4470. }
  4471. func (m *List) Marshal() (dAtA []byte, err error) {
  4472. size := m.Size()
  4473. dAtA = make([]byte, size)
  4474. n, err := m.MarshalTo(dAtA)
  4475. if err != nil {
  4476. return nil, err
  4477. }
  4478. return dAtA[:n], nil
  4479. }
  4480. func (m *List) MarshalTo(dAtA []byte) (int, error) {
  4481. var i int
  4482. _ = i
  4483. var l int
  4484. _ = l
  4485. dAtA[i] = 0xa
  4486. i++
  4487. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  4488. n76, err := m.ListMeta.MarshalTo(dAtA[i:])
  4489. if err != nil {
  4490. return 0, err
  4491. }
  4492. i += n76
  4493. if len(m.Items) > 0 {
  4494. for _, msg := range m.Items {
  4495. dAtA[i] = 0x12
  4496. i++
  4497. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4498. n, err := msg.MarshalTo(dAtA[i:])
  4499. if err != nil {
  4500. return 0, err
  4501. }
  4502. i += n
  4503. }
  4504. }
  4505. return i, nil
  4506. }
  4507. func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error) {
  4508. size := m.Size()
  4509. dAtA = make([]byte, size)
  4510. n, err := m.MarshalTo(dAtA)
  4511. if err != nil {
  4512. return nil, err
  4513. }
  4514. return dAtA[:n], nil
  4515. }
  4516. func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error) {
  4517. var i int
  4518. _ = i
  4519. var l int
  4520. _ = l
  4521. dAtA[i] = 0xa
  4522. i++
  4523. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IP)))
  4524. i += copy(dAtA[i:], m.IP)
  4525. dAtA[i] = 0x12
  4526. i++
  4527. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
  4528. i += copy(dAtA[i:], m.Hostname)
  4529. return i, nil
  4530. }
  4531. func (m *LoadBalancerStatus) Marshal() (dAtA []byte, err error) {
  4532. size := m.Size()
  4533. dAtA = make([]byte, size)
  4534. n, err := m.MarshalTo(dAtA)
  4535. if err != nil {
  4536. return nil, err
  4537. }
  4538. return dAtA[:n], nil
  4539. }
  4540. func (m *LoadBalancerStatus) MarshalTo(dAtA []byte) (int, error) {
  4541. var i int
  4542. _ = i
  4543. var l int
  4544. _ = l
  4545. if len(m.Ingress) > 0 {
  4546. for _, msg := range m.Ingress {
  4547. dAtA[i] = 0xa
  4548. i++
  4549. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4550. n, err := msg.MarshalTo(dAtA[i:])
  4551. if err != nil {
  4552. return 0, err
  4553. }
  4554. i += n
  4555. }
  4556. }
  4557. return i, nil
  4558. }
  4559. func (m *LocalObjectReference) Marshal() (dAtA []byte, err error) {
  4560. size := m.Size()
  4561. dAtA = make([]byte, size)
  4562. n, err := m.MarshalTo(dAtA)
  4563. if err != nil {
  4564. return nil, err
  4565. }
  4566. return dAtA[:n], nil
  4567. }
  4568. func (m *LocalObjectReference) MarshalTo(dAtA []byte) (int, error) {
  4569. var i int
  4570. _ = i
  4571. var l int
  4572. _ = l
  4573. dAtA[i] = 0xa
  4574. i++
  4575. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  4576. i += copy(dAtA[i:], m.Name)
  4577. return i, nil
  4578. }
  4579. func (m *LocalVolumeSource) Marshal() (dAtA []byte, err error) {
  4580. size := m.Size()
  4581. dAtA = make([]byte, size)
  4582. n, err := m.MarshalTo(dAtA)
  4583. if err != nil {
  4584. return nil, err
  4585. }
  4586. return dAtA[:n], nil
  4587. }
  4588. func (m *LocalVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  4589. var i int
  4590. _ = i
  4591. var l int
  4592. _ = l
  4593. dAtA[i] = 0xa
  4594. i++
  4595. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  4596. i += copy(dAtA[i:], m.Path)
  4597. if m.FSType != nil {
  4598. dAtA[i] = 0x12
  4599. i++
  4600. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.FSType)))
  4601. i += copy(dAtA[i:], *m.FSType)
  4602. }
  4603. return i, nil
  4604. }
  4605. func (m *NFSVolumeSource) Marshal() (dAtA []byte, err error) {
  4606. size := m.Size()
  4607. dAtA = make([]byte, size)
  4608. n, err := m.MarshalTo(dAtA)
  4609. if err != nil {
  4610. return nil, err
  4611. }
  4612. return dAtA[:n], nil
  4613. }
  4614. func (m *NFSVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  4615. var i int
  4616. _ = i
  4617. var l int
  4618. _ = l
  4619. dAtA[i] = 0xa
  4620. i++
  4621. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Server)))
  4622. i += copy(dAtA[i:], m.Server)
  4623. dAtA[i] = 0x12
  4624. i++
  4625. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  4626. i += copy(dAtA[i:], m.Path)
  4627. dAtA[i] = 0x18
  4628. i++
  4629. if m.ReadOnly {
  4630. dAtA[i] = 1
  4631. } else {
  4632. dAtA[i] = 0
  4633. }
  4634. i++
  4635. return i, nil
  4636. }
  4637. func (m *Namespace) Marshal() (dAtA []byte, err error) {
  4638. size := m.Size()
  4639. dAtA = make([]byte, size)
  4640. n, err := m.MarshalTo(dAtA)
  4641. if err != nil {
  4642. return nil, err
  4643. }
  4644. return dAtA[:n], nil
  4645. }
  4646. func (m *Namespace) MarshalTo(dAtA []byte) (int, error) {
  4647. var i int
  4648. _ = i
  4649. var l int
  4650. _ = l
  4651. dAtA[i] = 0xa
  4652. i++
  4653. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  4654. n77, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  4655. if err != nil {
  4656. return 0, err
  4657. }
  4658. i += n77
  4659. dAtA[i] = 0x12
  4660. i++
  4661. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  4662. n78, err := m.Spec.MarshalTo(dAtA[i:])
  4663. if err != nil {
  4664. return 0, err
  4665. }
  4666. i += n78
  4667. dAtA[i] = 0x1a
  4668. i++
  4669. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  4670. n79, err := m.Status.MarshalTo(dAtA[i:])
  4671. if err != nil {
  4672. return 0, err
  4673. }
  4674. i += n79
  4675. return i, nil
  4676. }
  4677. func (m *NamespaceList) Marshal() (dAtA []byte, err error) {
  4678. size := m.Size()
  4679. dAtA = make([]byte, size)
  4680. n, err := m.MarshalTo(dAtA)
  4681. if err != nil {
  4682. return nil, err
  4683. }
  4684. return dAtA[:n], nil
  4685. }
  4686. func (m *NamespaceList) MarshalTo(dAtA []byte) (int, error) {
  4687. var i int
  4688. _ = i
  4689. var l int
  4690. _ = l
  4691. dAtA[i] = 0xa
  4692. i++
  4693. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  4694. n80, err := m.ListMeta.MarshalTo(dAtA[i:])
  4695. if err != nil {
  4696. return 0, err
  4697. }
  4698. i += n80
  4699. if len(m.Items) > 0 {
  4700. for _, msg := range m.Items {
  4701. dAtA[i] = 0x12
  4702. i++
  4703. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4704. n, err := msg.MarshalTo(dAtA[i:])
  4705. if err != nil {
  4706. return 0, err
  4707. }
  4708. i += n
  4709. }
  4710. }
  4711. return i, nil
  4712. }
  4713. func (m *NamespaceSpec) Marshal() (dAtA []byte, err error) {
  4714. size := m.Size()
  4715. dAtA = make([]byte, size)
  4716. n, err := m.MarshalTo(dAtA)
  4717. if err != nil {
  4718. return nil, err
  4719. }
  4720. return dAtA[:n], nil
  4721. }
  4722. func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error) {
  4723. var i int
  4724. _ = i
  4725. var l int
  4726. _ = l
  4727. if len(m.Finalizers) > 0 {
  4728. for _, s := range m.Finalizers {
  4729. dAtA[i] = 0xa
  4730. i++
  4731. l = len(s)
  4732. for l >= 1<<7 {
  4733. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4734. l >>= 7
  4735. i++
  4736. }
  4737. dAtA[i] = uint8(l)
  4738. i++
  4739. i += copy(dAtA[i:], s)
  4740. }
  4741. }
  4742. return i, nil
  4743. }
  4744. func (m *NamespaceStatus) Marshal() (dAtA []byte, err error) {
  4745. size := m.Size()
  4746. dAtA = make([]byte, size)
  4747. n, err := m.MarshalTo(dAtA)
  4748. if err != nil {
  4749. return nil, err
  4750. }
  4751. return dAtA[:n], nil
  4752. }
  4753. func (m *NamespaceStatus) MarshalTo(dAtA []byte) (int, error) {
  4754. var i int
  4755. _ = i
  4756. var l int
  4757. _ = l
  4758. dAtA[i] = 0xa
  4759. i++
  4760. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  4761. i += copy(dAtA[i:], m.Phase)
  4762. return i, nil
  4763. }
  4764. func (m *Node) Marshal() (dAtA []byte, err error) {
  4765. size := m.Size()
  4766. dAtA = make([]byte, size)
  4767. n, err := m.MarshalTo(dAtA)
  4768. if err != nil {
  4769. return nil, err
  4770. }
  4771. return dAtA[:n], nil
  4772. }
  4773. func (m *Node) MarshalTo(dAtA []byte) (int, error) {
  4774. var i int
  4775. _ = i
  4776. var l int
  4777. _ = l
  4778. dAtA[i] = 0xa
  4779. i++
  4780. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  4781. n81, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  4782. if err != nil {
  4783. return 0, err
  4784. }
  4785. i += n81
  4786. dAtA[i] = 0x12
  4787. i++
  4788. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  4789. n82, err := m.Spec.MarshalTo(dAtA[i:])
  4790. if err != nil {
  4791. return 0, err
  4792. }
  4793. i += n82
  4794. dAtA[i] = 0x1a
  4795. i++
  4796. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  4797. n83, err := m.Status.MarshalTo(dAtA[i:])
  4798. if err != nil {
  4799. return 0, err
  4800. }
  4801. i += n83
  4802. return i, nil
  4803. }
  4804. func (m *NodeAddress) Marshal() (dAtA []byte, err error) {
  4805. size := m.Size()
  4806. dAtA = make([]byte, size)
  4807. n, err := m.MarshalTo(dAtA)
  4808. if err != nil {
  4809. return nil, err
  4810. }
  4811. return dAtA[:n], nil
  4812. }
  4813. func (m *NodeAddress) MarshalTo(dAtA []byte) (int, error) {
  4814. var i int
  4815. _ = i
  4816. var l int
  4817. _ = l
  4818. dAtA[i] = 0xa
  4819. i++
  4820. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  4821. i += copy(dAtA[i:], m.Type)
  4822. dAtA[i] = 0x12
  4823. i++
  4824. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Address)))
  4825. i += copy(dAtA[i:], m.Address)
  4826. return i, nil
  4827. }
  4828. func (m *NodeAffinity) Marshal() (dAtA []byte, err error) {
  4829. size := m.Size()
  4830. dAtA = make([]byte, size)
  4831. n, err := m.MarshalTo(dAtA)
  4832. if err != nil {
  4833. return nil, err
  4834. }
  4835. return dAtA[:n], nil
  4836. }
  4837. func (m *NodeAffinity) MarshalTo(dAtA []byte) (int, error) {
  4838. var i int
  4839. _ = i
  4840. var l int
  4841. _ = l
  4842. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  4843. dAtA[i] = 0xa
  4844. i++
  4845. i = encodeVarintGenerated(dAtA, i, uint64(m.RequiredDuringSchedulingIgnoredDuringExecution.Size()))
  4846. n84, err := m.RequiredDuringSchedulingIgnoredDuringExecution.MarshalTo(dAtA[i:])
  4847. if err != nil {
  4848. return 0, err
  4849. }
  4850. i += n84
  4851. }
  4852. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  4853. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  4854. dAtA[i] = 0x12
  4855. i++
  4856. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4857. n, err := msg.MarshalTo(dAtA[i:])
  4858. if err != nil {
  4859. return 0, err
  4860. }
  4861. i += n
  4862. }
  4863. }
  4864. return i, nil
  4865. }
  4866. func (m *NodeCondition) Marshal() (dAtA []byte, err error) {
  4867. size := m.Size()
  4868. dAtA = make([]byte, size)
  4869. n, err := m.MarshalTo(dAtA)
  4870. if err != nil {
  4871. return nil, err
  4872. }
  4873. return dAtA[:n], nil
  4874. }
  4875. func (m *NodeCondition) MarshalTo(dAtA []byte) (int, error) {
  4876. var i int
  4877. _ = i
  4878. var l int
  4879. _ = l
  4880. dAtA[i] = 0xa
  4881. i++
  4882. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  4883. i += copy(dAtA[i:], m.Type)
  4884. dAtA[i] = 0x12
  4885. i++
  4886. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  4887. i += copy(dAtA[i:], m.Status)
  4888. dAtA[i] = 0x1a
  4889. i++
  4890. i = encodeVarintGenerated(dAtA, i, uint64(m.LastHeartbeatTime.Size()))
  4891. n85, err := m.LastHeartbeatTime.MarshalTo(dAtA[i:])
  4892. if err != nil {
  4893. return 0, err
  4894. }
  4895. i += n85
  4896. dAtA[i] = 0x22
  4897. i++
  4898. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  4899. n86, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  4900. if err != nil {
  4901. return 0, err
  4902. }
  4903. i += n86
  4904. dAtA[i] = 0x2a
  4905. i++
  4906. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  4907. i += copy(dAtA[i:], m.Reason)
  4908. dAtA[i] = 0x32
  4909. i++
  4910. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  4911. i += copy(dAtA[i:], m.Message)
  4912. return i, nil
  4913. }
  4914. func (m *NodeConfigSource) Marshal() (dAtA []byte, err error) {
  4915. size := m.Size()
  4916. dAtA = make([]byte, size)
  4917. n, err := m.MarshalTo(dAtA)
  4918. if err != nil {
  4919. return nil, err
  4920. }
  4921. return dAtA[:n], nil
  4922. }
  4923. func (m *NodeConfigSource) MarshalTo(dAtA []byte) (int, error) {
  4924. var i int
  4925. _ = i
  4926. var l int
  4927. _ = l
  4928. if m.ConfigMap != nil {
  4929. dAtA[i] = 0x12
  4930. i++
  4931. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMap.Size()))
  4932. n87, err := m.ConfigMap.MarshalTo(dAtA[i:])
  4933. if err != nil {
  4934. return 0, err
  4935. }
  4936. i += n87
  4937. }
  4938. return i, nil
  4939. }
  4940. func (m *NodeConfigStatus) Marshal() (dAtA []byte, err error) {
  4941. size := m.Size()
  4942. dAtA = make([]byte, size)
  4943. n, err := m.MarshalTo(dAtA)
  4944. if err != nil {
  4945. return nil, err
  4946. }
  4947. return dAtA[:n], nil
  4948. }
  4949. func (m *NodeConfigStatus) MarshalTo(dAtA []byte) (int, error) {
  4950. var i int
  4951. _ = i
  4952. var l int
  4953. _ = l
  4954. if m.Assigned != nil {
  4955. dAtA[i] = 0xa
  4956. i++
  4957. i = encodeVarintGenerated(dAtA, i, uint64(m.Assigned.Size()))
  4958. n88, err := m.Assigned.MarshalTo(dAtA[i:])
  4959. if err != nil {
  4960. return 0, err
  4961. }
  4962. i += n88
  4963. }
  4964. if m.Active != nil {
  4965. dAtA[i] = 0x12
  4966. i++
  4967. i = encodeVarintGenerated(dAtA, i, uint64(m.Active.Size()))
  4968. n89, err := m.Active.MarshalTo(dAtA[i:])
  4969. if err != nil {
  4970. return 0, err
  4971. }
  4972. i += n89
  4973. }
  4974. if m.LastKnownGood != nil {
  4975. dAtA[i] = 0x1a
  4976. i++
  4977. i = encodeVarintGenerated(dAtA, i, uint64(m.LastKnownGood.Size()))
  4978. n90, err := m.LastKnownGood.MarshalTo(dAtA[i:])
  4979. if err != nil {
  4980. return 0, err
  4981. }
  4982. i += n90
  4983. }
  4984. dAtA[i] = 0x22
  4985. i++
  4986. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Error)))
  4987. i += copy(dAtA[i:], m.Error)
  4988. return i, nil
  4989. }
  4990. func (m *NodeDaemonEndpoints) Marshal() (dAtA []byte, err error) {
  4991. size := m.Size()
  4992. dAtA = make([]byte, size)
  4993. n, err := m.MarshalTo(dAtA)
  4994. if err != nil {
  4995. return nil, err
  4996. }
  4997. return dAtA[:n], nil
  4998. }
  4999. func (m *NodeDaemonEndpoints) MarshalTo(dAtA []byte) (int, error) {
  5000. var i int
  5001. _ = i
  5002. var l int
  5003. _ = l
  5004. dAtA[i] = 0xa
  5005. i++
  5006. i = encodeVarintGenerated(dAtA, i, uint64(m.KubeletEndpoint.Size()))
  5007. n91, err := m.KubeletEndpoint.MarshalTo(dAtA[i:])
  5008. if err != nil {
  5009. return 0, err
  5010. }
  5011. i += n91
  5012. return i, nil
  5013. }
  5014. func (m *NodeList) Marshal() (dAtA []byte, err error) {
  5015. size := m.Size()
  5016. dAtA = make([]byte, size)
  5017. n, err := m.MarshalTo(dAtA)
  5018. if err != nil {
  5019. return nil, err
  5020. }
  5021. return dAtA[:n], nil
  5022. }
  5023. func (m *NodeList) MarshalTo(dAtA []byte) (int, error) {
  5024. var i int
  5025. _ = i
  5026. var l int
  5027. _ = l
  5028. dAtA[i] = 0xa
  5029. i++
  5030. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  5031. n92, err := m.ListMeta.MarshalTo(dAtA[i:])
  5032. if err != nil {
  5033. return 0, err
  5034. }
  5035. i += n92
  5036. if len(m.Items) > 0 {
  5037. for _, msg := range m.Items {
  5038. dAtA[i] = 0x12
  5039. i++
  5040. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5041. n, err := msg.MarshalTo(dAtA[i:])
  5042. if err != nil {
  5043. return 0, err
  5044. }
  5045. i += n
  5046. }
  5047. }
  5048. return i, nil
  5049. }
  5050. func (m *NodeProxyOptions) Marshal() (dAtA []byte, err error) {
  5051. size := m.Size()
  5052. dAtA = make([]byte, size)
  5053. n, err := m.MarshalTo(dAtA)
  5054. if err != nil {
  5055. return nil, err
  5056. }
  5057. return dAtA[:n], nil
  5058. }
  5059. func (m *NodeProxyOptions) MarshalTo(dAtA []byte) (int, error) {
  5060. var i int
  5061. _ = i
  5062. var l int
  5063. _ = l
  5064. dAtA[i] = 0xa
  5065. i++
  5066. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  5067. i += copy(dAtA[i:], m.Path)
  5068. return i, nil
  5069. }
  5070. func (m *NodeResources) Marshal() (dAtA []byte, err error) {
  5071. size := m.Size()
  5072. dAtA = make([]byte, size)
  5073. n, err := m.MarshalTo(dAtA)
  5074. if err != nil {
  5075. return nil, err
  5076. }
  5077. return dAtA[:n], nil
  5078. }
  5079. func (m *NodeResources) MarshalTo(dAtA []byte) (int, error) {
  5080. var i int
  5081. _ = i
  5082. var l int
  5083. _ = l
  5084. if len(m.Capacity) > 0 {
  5085. keysForCapacity := make([]string, 0, len(m.Capacity))
  5086. for k := range m.Capacity {
  5087. keysForCapacity = append(keysForCapacity, string(k))
  5088. }
  5089. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  5090. for _, k := range keysForCapacity {
  5091. dAtA[i] = 0xa
  5092. i++
  5093. v := m.Capacity[ResourceName(k)]
  5094. msgSize := 0
  5095. if (&v) != nil {
  5096. msgSize = (&v).Size()
  5097. msgSize += 1 + sovGenerated(uint64(msgSize))
  5098. }
  5099. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  5100. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5101. dAtA[i] = 0xa
  5102. i++
  5103. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5104. i += copy(dAtA[i:], k)
  5105. dAtA[i] = 0x12
  5106. i++
  5107. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  5108. n93, err := (&v).MarshalTo(dAtA[i:])
  5109. if err != nil {
  5110. return 0, err
  5111. }
  5112. i += n93
  5113. }
  5114. }
  5115. return i, nil
  5116. }
  5117. func (m *NodeSelector) Marshal() (dAtA []byte, err error) {
  5118. size := m.Size()
  5119. dAtA = make([]byte, size)
  5120. n, err := m.MarshalTo(dAtA)
  5121. if err != nil {
  5122. return nil, err
  5123. }
  5124. return dAtA[:n], nil
  5125. }
  5126. func (m *NodeSelector) MarshalTo(dAtA []byte) (int, error) {
  5127. var i int
  5128. _ = i
  5129. var l int
  5130. _ = l
  5131. if len(m.NodeSelectorTerms) > 0 {
  5132. for _, msg := range m.NodeSelectorTerms {
  5133. dAtA[i] = 0xa
  5134. i++
  5135. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5136. n, err := msg.MarshalTo(dAtA[i:])
  5137. if err != nil {
  5138. return 0, err
  5139. }
  5140. i += n
  5141. }
  5142. }
  5143. return i, nil
  5144. }
  5145. func (m *NodeSelectorRequirement) Marshal() (dAtA []byte, err error) {
  5146. size := m.Size()
  5147. dAtA = make([]byte, size)
  5148. n, err := m.MarshalTo(dAtA)
  5149. if err != nil {
  5150. return nil, err
  5151. }
  5152. return dAtA[:n], nil
  5153. }
  5154. func (m *NodeSelectorRequirement) MarshalTo(dAtA []byte) (int, error) {
  5155. var i int
  5156. _ = i
  5157. var l int
  5158. _ = l
  5159. dAtA[i] = 0xa
  5160. i++
  5161. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  5162. i += copy(dAtA[i:], m.Key)
  5163. dAtA[i] = 0x12
  5164. i++
  5165. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
  5166. i += copy(dAtA[i:], m.Operator)
  5167. if len(m.Values) > 0 {
  5168. for _, s := range m.Values {
  5169. dAtA[i] = 0x1a
  5170. i++
  5171. l = len(s)
  5172. for l >= 1<<7 {
  5173. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5174. l >>= 7
  5175. i++
  5176. }
  5177. dAtA[i] = uint8(l)
  5178. i++
  5179. i += copy(dAtA[i:], s)
  5180. }
  5181. }
  5182. return i, nil
  5183. }
  5184. func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error) {
  5185. size := m.Size()
  5186. dAtA = make([]byte, size)
  5187. n, err := m.MarshalTo(dAtA)
  5188. if err != nil {
  5189. return nil, err
  5190. }
  5191. return dAtA[:n], nil
  5192. }
  5193. func (m *NodeSelectorTerm) MarshalTo(dAtA []byte) (int, error) {
  5194. var i int
  5195. _ = i
  5196. var l int
  5197. _ = l
  5198. if len(m.MatchExpressions) > 0 {
  5199. for _, msg := range m.MatchExpressions {
  5200. dAtA[i] = 0xa
  5201. i++
  5202. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5203. n, err := msg.MarshalTo(dAtA[i:])
  5204. if err != nil {
  5205. return 0, err
  5206. }
  5207. i += n
  5208. }
  5209. }
  5210. if len(m.MatchFields) > 0 {
  5211. for _, msg := range m.MatchFields {
  5212. dAtA[i] = 0x12
  5213. i++
  5214. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5215. n, err := msg.MarshalTo(dAtA[i:])
  5216. if err != nil {
  5217. return 0, err
  5218. }
  5219. i += n
  5220. }
  5221. }
  5222. return i, nil
  5223. }
  5224. func (m *NodeSpec) Marshal() (dAtA []byte, err error) {
  5225. size := m.Size()
  5226. dAtA = make([]byte, size)
  5227. n, err := m.MarshalTo(dAtA)
  5228. if err != nil {
  5229. return nil, err
  5230. }
  5231. return dAtA[:n], nil
  5232. }
  5233. func (m *NodeSpec) MarshalTo(dAtA []byte) (int, error) {
  5234. var i int
  5235. _ = i
  5236. var l int
  5237. _ = l
  5238. dAtA[i] = 0xa
  5239. i++
  5240. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodCIDR)))
  5241. i += copy(dAtA[i:], m.PodCIDR)
  5242. dAtA[i] = 0x12
  5243. i++
  5244. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DoNotUse_ExternalID)))
  5245. i += copy(dAtA[i:], m.DoNotUse_ExternalID)
  5246. dAtA[i] = 0x1a
  5247. i++
  5248. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ProviderID)))
  5249. i += copy(dAtA[i:], m.ProviderID)
  5250. dAtA[i] = 0x20
  5251. i++
  5252. if m.Unschedulable {
  5253. dAtA[i] = 1
  5254. } else {
  5255. dAtA[i] = 0
  5256. }
  5257. i++
  5258. if len(m.Taints) > 0 {
  5259. for _, msg := range m.Taints {
  5260. dAtA[i] = 0x2a
  5261. i++
  5262. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5263. n, err := msg.MarshalTo(dAtA[i:])
  5264. if err != nil {
  5265. return 0, err
  5266. }
  5267. i += n
  5268. }
  5269. }
  5270. if m.ConfigSource != nil {
  5271. dAtA[i] = 0x32
  5272. i++
  5273. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigSource.Size()))
  5274. n94, err := m.ConfigSource.MarshalTo(dAtA[i:])
  5275. if err != nil {
  5276. return 0, err
  5277. }
  5278. i += n94
  5279. }
  5280. return i, nil
  5281. }
  5282. func (m *NodeStatus) Marshal() (dAtA []byte, err error) {
  5283. size := m.Size()
  5284. dAtA = make([]byte, size)
  5285. n, err := m.MarshalTo(dAtA)
  5286. if err != nil {
  5287. return nil, err
  5288. }
  5289. return dAtA[:n], nil
  5290. }
  5291. func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error) {
  5292. var i int
  5293. _ = i
  5294. var l int
  5295. _ = l
  5296. if len(m.Capacity) > 0 {
  5297. keysForCapacity := make([]string, 0, len(m.Capacity))
  5298. for k := range m.Capacity {
  5299. keysForCapacity = append(keysForCapacity, string(k))
  5300. }
  5301. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  5302. for _, k := range keysForCapacity {
  5303. dAtA[i] = 0xa
  5304. i++
  5305. v := m.Capacity[ResourceName(k)]
  5306. msgSize := 0
  5307. if (&v) != nil {
  5308. msgSize = (&v).Size()
  5309. msgSize += 1 + sovGenerated(uint64(msgSize))
  5310. }
  5311. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  5312. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5313. dAtA[i] = 0xa
  5314. i++
  5315. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5316. i += copy(dAtA[i:], k)
  5317. dAtA[i] = 0x12
  5318. i++
  5319. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  5320. n95, err := (&v).MarshalTo(dAtA[i:])
  5321. if err != nil {
  5322. return 0, err
  5323. }
  5324. i += n95
  5325. }
  5326. }
  5327. if len(m.Allocatable) > 0 {
  5328. keysForAllocatable := make([]string, 0, len(m.Allocatable))
  5329. for k := range m.Allocatable {
  5330. keysForAllocatable = append(keysForAllocatable, string(k))
  5331. }
  5332. github_com_gogo_protobuf_sortkeys.Strings(keysForAllocatable)
  5333. for _, k := range keysForAllocatable {
  5334. dAtA[i] = 0x12
  5335. i++
  5336. v := m.Allocatable[ResourceName(k)]
  5337. msgSize := 0
  5338. if (&v) != nil {
  5339. msgSize = (&v).Size()
  5340. msgSize += 1 + sovGenerated(uint64(msgSize))
  5341. }
  5342. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  5343. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5344. dAtA[i] = 0xa
  5345. i++
  5346. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5347. i += copy(dAtA[i:], k)
  5348. dAtA[i] = 0x12
  5349. i++
  5350. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  5351. n96, err := (&v).MarshalTo(dAtA[i:])
  5352. if err != nil {
  5353. return 0, err
  5354. }
  5355. i += n96
  5356. }
  5357. }
  5358. dAtA[i] = 0x1a
  5359. i++
  5360. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  5361. i += copy(dAtA[i:], m.Phase)
  5362. if len(m.Conditions) > 0 {
  5363. for _, msg := range m.Conditions {
  5364. dAtA[i] = 0x22
  5365. i++
  5366. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5367. n, err := msg.MarshalTo(dAtA[i:])
  5368. if err != nil {
  5369. return 0, err
  5370. }
  5371. i += n
  5372. }
  5373. }
  5374. if len(m.Addresses) > 0 {
  5375. for _, msg := range m.Addresses {
  5376. dAtA[i] = 0x2a
  5377. i++
  5378. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5379. n, err := msg.MarshalTo(dAtA[i:])
  5380. if err != nil {
  5381. return 0, err
  5382. }
  5383. i += n
  5384. }
  5385. }
  5386. dAtA[i] = 0x32
  5387. i++
  5388. i = encodeVarintGenerated(dAtA, i, uint64(m.DaemonEndpoints.Size()))
  5389. n97, err := m.DaemonEndpoints.MarshalTo(dAtA[i:])
  5390. if err != nil {
  5391. return 0, err
  5392. }
  5393. i += n97
  5394. dAtA[i] = 0x3a
  5395. i++
  5396. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeInfo.Size()))
  5397. n98, err := m.NodeInfo.MarshalTo(dAtA[i:])
  5398. if err != nil {
  5399. return 0, err
  5400. }
  5401. i += n98
  5402. if len(m.Images) > 0 {
  5403. for _, msg := range m.Images {
  5404. dAtA[i] = 0x42
  5405. i++
  5406. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5407. n, err := msg.MarshalTo(dAtA[i:])
  5408. if err != nil {
  5409. return 0, err
  5410. }
  5411. i += n
  5412. }
  5413. }
  5414. if len(m.VolumesInUse) > 0 {
  5415. for _, s := range m.VolumesInUse {
  5416. dAtA[i] = 0x4a
  5417. i++
  5418. l = len(s)
  5419. for l >= 1<<7 {
  5420. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5421. l >>= 7
  5422. i++
  5423. }
  5424. dAtA[i] = uint8(l)
  5425. i++
  5426. i += copy(dAtA[i:], s)
  5427. }
  5428. }
  5429. if len(m.VolumesAttached) > 0 {
  5430. for _, msg := range m.VolumesAttached {
  5431. dAtA[i] = 0x52
  5432. i++
  5433. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5434. n, err := msg.MarshalTo(dAtA[i:])
  5435. if err != nil {
  5436. return 0, err
  5437. }
  5438. i += n
  5439. }
  5440. }
  5441. if m.Config != nil {
  5442. dAtA[i] = 0x5a
  5443. i++
  5444. i = encodeVarintGenerated(dAtA, i, uint64(m.Config.Size()))
  5445. n99, err := m.Config.MarshalTo(dAtA[i:])
  5446. if err != nil {
  5447. return 0, err
  5448. }
  5449. i += n99
  5450. }
  5451. return i, nil
  5452. }
  5453. func (m *NodeSystemInfo) Marshal() (dAtA []byte, err error) {
  5454. size := m.Size()
  5455. dAtA = make([]byte, size)
  5456. n, err := m.MarshalTo(dAtA)
  5457. if err != nil {
  5458. return nil, err
  5459. }
  5460. return dAtA[:n], nil
  5461. }
  5462. func (m *NodeSystemInfo) MarshalTo(dAtA []byte) (int, error) {
  5463. var i int
  5464. _ = i
  5465. var l int
  5466. _ = l
  5467. dAtA[i] = 0xa
  5468. i++
  5469. i = encodeVarintGenerated(dAtA, i, uint64(len(m.MachineID)))
  5470. i += copy(dAtA[i:], m.MachineID)
  5471. dAtA[i] = 0x12
  5472. i++
  5473. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SystemUUID)))
  5474. i += copy(dAtA[i:], m.SystemUUID)
  5475. dAtA[i] = 0x1a
  5476. i++
  5477. i = encodeVarintGenerated(dAtA, i, uint64(len(m.BootID)))
  5478. i += copy(dAtA[i:], m.BootID)
  5479. dAtA[i] = 0x22
  5480. i++
  5481. i = encodeVarintGenerated(dAtA, i, uint64(len(m.KernelVersion)))
  5482. i += copy(dAtA[i:], m.KernelVersion)
  5483. dAtA[i] = 0x2a
  5484. i++
  5485. i = encodeVarintGenerated(dAtA, i, uint64(len(m.OSImage)))
  5486. i += copy(dAtA[i:], m.OSImage)
  5487. dAtA[i] = 0x32
  5488. i++
  5489. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerRuntimeVersion)))
  5490. i += copy(dAtA[i:], m.ContainerRuntimeVersion)
  5491. dAtA[i] = 0x3a
  5492. i++
  5493. i = encodeVarintGenerated(dAtA, i, uint64(len(m.KubeletVersion)))
  5494. i += copy(dAtA[i:], m.KubeletVersion)
  5495. dAtA[i] = 0x42
  5496. i++
  5497. i = encodeVarintGenerated(dAtA, i, uint64(len(m.KubeProxyVersion)))
  5498. i += copy(dAtA[i:], m.KubeProxyVersion)
  5499. dAtA[i] = 0x4a
  5500. i++
  5501. i = encodeVarintGenerated(dAtA, i, uint64(len(m.OperatingSystem)))
  5502. i += copy(dAtA[i:], m.OperatingSystem)
  5503. dAtA[i] = 0x52
  5504. i++
  5505. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Architecture)))
  5506. i += copy(dAtA[i:], m.Architecture)
  5507. return i, nil
  5508. }
  5509. func (m *ObjectFieldSelector) Marshal() (dAtA []byte, err error) {
  5510. size := m.Size()
  5511. dAtA = make([]byte, size)
  5512. n, err := m.MarshalTo(dAtA)
  5513. if err != nil {
  5514. return nil, err
  5515. }
  5516. return dAtA[:n], nil
  5517. }
  5518. func (m *ObjectFieldSelector) MarshalTo(dAtA []byte) (int, error) {
  5519. var i int
  5520. _ = i
  5521. var l int
  5522. _ = l
  5523. dAtA[i] = 0xa
  5524. i++
  5525. i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
  5526. i += copy(dAtA[i:], m.APIVersion)
  5527. dAtA[i] = 0x12
  5528. i++
  5529. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldPath)))
  5530. i += copy(dAtA[i:], m.FieldPath)
  5531. return i, nil
  5532. }
  5533. func (m *ObjectReference) Marshal() (dAtA []byte, err error) {
  5534. size := m.Size()
  5535. dAtA = make([]byte, size)
  5536. n, err := m.MarshalTo(dAtA)
  5537. if err != nil {
  5538. return nil, err
  5539. }
  5540. return dAtA[:n], nil
  5541. }
  5542. func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error) {
  5543. var i int
  5544. _ = i
  5545. var l int
  5546. _ = l
  5547. dAtA[i] = 0xa
  5548. i++
  5549. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  5550. i += copy(dAtA[i:], m.Kind)
  5551. dAtA[i] = 0x12
  5552. i++
  5553. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
  5554. i += copy(dAtA[i:], m.Namespace)
  5555. dAtA[i] = 0x1a
  5556. i++
  5557. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  5558. i += copy(dAtA[i:], m.Name)
  5559. dAtA[i] = 0x22
  5560. i++
  5561. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  5562. i += copy(dAtA[i:], m.UID)
  5563. dAtA[i] = 0x2a
  5564. i++
  5565. i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
  5566. i += copy(dAtA[i:], m.APIVersion)
  5567. dAtA[i] = 0x32
  5568. i++
  5569. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  5570. i += copy(dAtA[i:], m.ResourceVersion)
  5571. dAtA[i] = 0x3a
  5572. i++
  5573. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldPath)))
  5574. i += copy(dAtA[i:], m.FieldPath)
  5575. return i, nil
  5576. }
  5577. func (m *PersistentVolume) Marshal() (dAtA []byte, err error) {
  5578. size := m.Size()
  5579. dAtA = make([]byte, size)
  5580. n, err := m.MarshalTo(dAtA)
  5581. if err != nil {
  5582. return nil, err
  5583. }
  5584. return dAtA[:n], nil
  5585. }
  5586. func (m *PersistentVolume) MarshalTo(dAtA []byte) (int, error) {
  5587. var i int
  5588. _ = i
  5589. var l int
  5590. _ = l
  5591. dAtA[i] = 0xa
  5592. i++
  5593. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  5594. n100, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  5595. if err != nil {
  5596. return 0, err
  5597. }
  5598. i += n100
  5599. dAtA[i] = 0x12
  5600. i++
  5601. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  5602. n101, err := m.Spec.MarshalTo(dAtA[i:])
  5603. if err != nil {
  5604. return 0, err
  5605. }
  5606. i += n101
  5607. dAtA[i] = 0x1a
  5608. i++
  5609. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  5610. n102, err := m.Status.MarshalTo(dAtA[i:])
  5611. if err != nil {
  5612. return 0, err
  5613. }
  5614. i += n102
  5615. return i, nil
  5616. }
  5617. func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error) {
  5618. size := m.Size()
  5619. dAtA = make([]byte, size)
  5620. n, err := m.MarshalTo(dAtA)
  5621. if err != nil {
  5622. return nil, err
  5623. }
  5624. return dAtA[:n], nil
  5625. }
  5626. func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) {
  5627. var i int
  5628. _ = i
  5629. var l int
  5630. _ = l
  5631. dAtA[i] = 0xa
  5632. i++
  5633. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  5634. n103, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  5635. if err != nil {
  5636. return 0, err
  5637. }
  5638. i += n103
  5639. dAtA[i] = 0x12
  5640. i++
  5641. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  5642. n104, err := m.Spec.MarshalTo(dAtA[i:])
  5643. if err != nil {
  5644. return 0, err
  5645. }
  5646. i += n104
  5647. dAtA[i] = 0x1a
  5648. i++
  5649. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  5650. n105, err := m.Status.MarshalTo(dAtA[i:])
  5651. if err != nil {
  5652. return 0, err
  5653. }
  5654. i += n105
  5655. return i, nil
  5656. }
  5657. func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error) {
  5658. size := m.Size()
  5659. dAtA = make([]byte, size)
  5660. n, err := m.MarshalTo(dAtA)
  5661. if err != nil {
  5662. return nil, err
  5663. }
  5664. return dAtA[:n], nil
  5665. }
  5666. func (m *PersistentVolumeClaimCondition) MarshalTo(dAtA []byte) (int, error) {
  5667. var i int
  5668. _ = i
  5669. var l int
  5670. _ = l
  5671. dAtA[i] = 0xa
  5672. i++
  5673. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  5674. i += copy(dAtA[i:], m.Type)
  5675. dAtA[i] = 0x12
  5676. i++
  5677. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  5678. i += copy(dAtA[i:], m.Status)
  5679. dAtA[i] = 0x1a
  5680. i++
  5681. i = encodeVarintGenerated(dAtA, i, uint64(m.LastProbeTime.Size()))
  5682. n106, err := m.LastProbeTime.MarshalTo(dAtA[i:])
  5683. if err != nil {
  5684. return 0, err
  5685. }
  5686. i += n106
  5687. dAtA[i] = 0x22
  5688. i++
  5689. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  5690. n107, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  5691. if err != nil {
  5692. return 0, err
  5693. }
  5694. i += n107
  5695. dAtA[i] = 0x2a
  5696. i++
  5697. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  5698. i += copy(dAtA[i:], m.Reason)
  5699. dAtA[i] = 0x32
  5700. i++
  5701. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  5702. i += copy(dAtA[i:], m.Message)
  5703. return i, nil
  5704. }
  5705. func (m *PersistentVolumeClaimList) Marshal() (dAtA []byte, err error) {
  5706. size := m.Size()
  5707. dAtA = make([]byte, size)
  5708. n, err := m.MarshalTo(dAtA)
  5709. if err != nil {
  5710. return nil, err
  5711. }
  5712. return dAtA[:n], nil
  5713. }
  5714. func (m *PersistentVolumeClaimList) MarshalTo(dAtA []byte) (int, error) {
  5715. var i int
  5716. _ = i
  5717. var l int
  5718. _ = l
  5719. dAtA[i] = 0xa
  5720. i++
  5721. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  5722. n108, err := m.ListMeta.MarshalTo(dAtA[i:])
  5723. if err != nil {
  5724. return 0, err
  5725. }
  5726. i += n108
  5727. if len(m.Items) > 0 {
  5728. for _, msg := range m.Items {
  5729. dAtA[i] = 0x12
  5730. i++
  5731. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5732. n, err := msg.MarshalTo(dAtA[i:])
  5733. if err != nil {
  5734. return 0, err
  5735. }
  5736. i += n
  5737. }
  5738. }
  5739. return i, nil
  5740. }
  5741. func (m *PersistentVolumeClaimSpec) 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 *PersistentVolumeClaimSpec) MarshalTo(dAtA []byte) (int, error) {
  5751. var i int
  5752. _ = i
  5753. var l int
  5754. _ = l
  5755. if len(m.AccessModes) > 0 {
  5756. for _, s := range m.AccessModes {
  5757. dAtA[i] = 0xa
  5758. i++
  5759. l = len(s)
  5760. for l >= 1<<7 {
  5761. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5762. l >>= 7
  5763. i++
  5764. }
  5765. dAtA[i] = uint8(l)
  5766. i++
  5767. i += copy(dAtA[i:], s)
  5768. }
  5769. }
  5770. dAtA[i] = 0x12
  5771. i++
  5772. i = encodeVarintGenerated(dAtA, i, uint64(m.Resources.Size()))
  5773. n109, err := m.Resources.MarshalTo(dAtA[i:])
  5774. if err != nil {
  5775. return 0, err
  5776. }
  5777. i += n109
  5778. dAtA[i] = 0x1a
  5779. i++
  5780. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  5781. i += copy(dAtA[i:], m.VolumeName)
  5782. if m.Selector != nil {
  5783. dAtA[i] = 0x22
  5784. i++
  5785. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  5786. n110, err := m.Selector.MarshalTo(dAtA[i:])
  5787. if err != nil {
  5788. return 0, err
  5789. }
  5790. i += n110
  5791. }
  5792. if m.StorageClassName != nil {
  5793. dAtA[i] = 0x2a
  5794. i++
  5795. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.StorageClassName)))
  5796. i += copy(dAtA[i:], *m.StorageClassName)
  5797. }
  5798. if m.VolumeMode != nil {
  5799. dAtA[i] = 0x32
  5800. i++
  5801. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.VolumeMode)))
  5802. i += copy(dAtA[i:], *m.VolumeMode)
  5803. }
  5804. if m.DataSource != nil {
  5805. dAtA[i] = 0x3a
  5806. i++
  5807. i = encodeVarintGenerated(dAtA, i, uint64(m.DataSource.Size()))
  5808. n111, err := m.DataSource.MarshalTo(dAtA[i:])
  5809. if err != nil {
  5810. return 0, err
  5811. }
  5812. i += n111
  5813. }
  5814. return i, nil
  5815. }
  5816. func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error) {
  5817. size := m.Size()
  5818. dAtA = make([]byte, size)
  5819. n, err := m.MarshalTo(dAtA)
  5820. if err != nil {
  5821. return nil, err
  5822. }
  5823. return dAtA[:n], nil
  5824. }
  5825. func (m *PersistentVolumeClaimStatus) MarshalTo(dAtA []byte) (int, error) {
  5826. var i int
  5827. _ = i
  5828. var l int
  5829. _ = l
  5830. dAtA[i] = 0xa
  5831. i++
  5832. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  5833. i += copy(dAtA[i:], m.Phase)
  5834. if len(m.AccessModes) > 0 {
  5835. for _, s := range m.AccessModes {
  5836. dAtA[i] = 0x12
  5837. i++
  5838. l = len(s)
  5839. for l >= 1<<7 {
  5840. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5841. l >>= 7
  5842. i++
  5843. }
  5844. dAtA[i] = uint8(l)
  5845. i++
  5846. i += copy(dAtA[i:], s)
  5847. }
  5848. }
  5849. if len(m.Capacity) > 0 {
  5850. keysForCapacity := make([]string, 0, len(m.Capacity))
  5851. for k := range m.Capacity {
  5852. keysForCapacity = append(keysForCapacity, string(k))
  5853. }
  5854. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  5855. for _, k := range keysForCapacity {
  5856. dAtA[i] = 0x1a
  5857. i++
  5858. v := m.Capacity[ResourceName(k)]
  5859. msgSize := 0
  5860. if (&v) != nil {
  5861. msgSize = (&v).Size()
  5862. msgSize += 1 + sovGenerated(uint64(msgSize))
  5863. }
  5864. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  5865. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5866. dAtA[i] = 0xa
  5867. i++
  5868. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5869. i += copy(dAtA[i:], k)
  5870. dAtA[i] = 0x12
  5871. i++
  5872. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  5873. n112, err := (&v).MarshalTo(dAtA[i:])
  5874. if err != nil {
  5875. return 0, err
  5876. }
  5877. i += n112
  5878. }
  5879. }
  5880. if len(m.Conditions) > 0 {
  5881. for _, msg := range m.Conditions {
  5882. dAtA[i] = 0x22
  5883. i++
  5884. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5885. n, err := msg.MarshalTo(dAtA[i:])
  5886. if err != nil {
  5887. return 0, err
  5888. }
  5889. i += n
  5890. }
  5891. }
  5892. return i, nil
  5893. }
  5894. func (m *PersistentVolumeClaimVolumeSource) Marshal() (dAtA []byte, err error) {
  5895. size := m.Size()
  5896. dAtA = make([]byte, size)
  5897. n, err := m.MarshalTo(dAtA)
  5898. if err != nil {
  5899. return nil, err
  5900. }
  5901. return dAtA[:n], nil
  5902. }
  5903. func (m *PersistentVolumeClaimVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  5904. var i int
  5905. _ = i
  5906. var l int
  5907. _ = l
  5908. dAtA[i] = 0xa
  5909. i++
  5910. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClaimName)))
  5911. i += copy(dAtA[i:], m.ClaimName)
  5912. dAtA[i] = 0x10
  5913. i++
  5914. if m.ReadOnly {
  5915. dAtA[i] = 1
  5916. } else {
  5917. dAtA[i] = 0
  5918. }
  5919. i++
  5920. return i, nil
  5921. }
  5922. func (m *PersistentVolumeList) Marshal() (dAtA []byte, err error) {
  5923. size := m.Size()
  5924. dAtA = make([]byte, size)
  5925. n, err := m.MarshalTo(dAtA)
  5926. if err != nil {
  5927. return nil, err
  5928. }
  5929. return dAtA[:n], nil
  5930. }
  5931. func (m *PersistentVolumeList) MarshalTo(dAtA []byte) (int, error) {
  5932. var i int
  5933. _ = i
  5934. var l int
  5935. _ = l
  5936. dAtA[i] = 0xa
  5937. i++
  5938. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  5939. n113, err := m.ListMeta.MarshalTo(dAtA[i:])
  5940. if err != nil {
  5941. return 0, err
  5942. }
  5943. i += n113
  5944. if len(m.Items) > 0 {
  5945. for _, msg := range m.Items {
  5946. dAtA[i] = 0x12
  5947. i++
  5948. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5949. n, err := msg.MarshalTo(dAtA[i:])
  5950. if err != nil {
  5951. return 0, err
  5952. }
  5953. i += n
  5954. }
  5955. }
  5956. return i, nil
  5957. }
  5958. func (m *PersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  5959. size := m.Size()
  5960. dAtA = make([]byte, size)
  5961. n, err := m.MarshalTo(dAtA)
  5962. if err != nil {
  5963. return nil, err
  5964. }
  5965. return dAtA[:n], nil
  5966. }
  5967. func (m *PersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  5968. var i int
  5969. _ = i
  5970. var l int
  5971. _ = l
  5972. if m.GCEPersistentDisk != nil {
  5973. dAtA[i] = 0xa
  5974. i++
  5975. i = encodeVarintGenerated(dAtA, i, uint64(m.GCEPersistentDisk.Size()))
  5976. n114, err := m.GCEPersistentDisk.MarshalTo(dAtA[i:])
  5977. if err != nil {
  5978. return 0, err
  5979. }
  5980. i += n114
  5981. }
  5982. if m.AWSElasticBlockStore != nil {
  5983. dAtA[i] = 0x12
  5984. i++
  5985. i = encodeVarintGenerated(dAtA, i, uint64(m.AWSElasticBlockStore.Size()))
  5986. n115, err := m.AWSElasticBlockStore.MarshalTo(dAtA[i:])
  5987. if err != nil {
  5988. return 0, err
  5989. }
  5990. i += n115
  5991. }
  5992. if m.HostPath != nil {
  5993. dAtA[i] = 0x1a
  5994. i++
  5995. i = encodeVarintGenerated(dAtA, i, uint64(m.HostPath.Size()))
  5996. n116, err := m.HostPath.MarshalTo(dAtA[i:])
  5997. if err != nil {
  5998. return 0, err
  5999. }
  6000. i += n116
  6001. }
  6002. if m.Glusterfs != nil {
  6003. dAtA[i] = 0x22
  6004. i++
  6005. i = encodeVarintGenerated(dAtA, i, uint64(m.Glusterfs.Size()))
  6006. n117, err := m.Glusterfs.MarshalTo(dAtA[i:])
  6007. if err != nil {
  6008. return 0, err
  6009. }
  6010. i += n117
  6011. }
  6012. if m.NFS != nil {
  6013. dAtA[i] = 0x2a
  6014. i++
  6015. i = encodeVarintGenerated(dAtA, i, uint64(m.NFS.Size()))
  6016. n118, err := m.NFS.MarshalTo(dAtA[i:])
  6017. if err != nil {
  6018. return 0, err
  6019. }
  6020. i += n118
  6021. }
  6022. if m.RBD != nil {
  6023. dAtA[i] = 0x32
  6024. i++
  6025. i = encodeVarintGenerated(dAtA, i, uint64(m.RBD.Size()))
  6026. n119, err := m.RBD.MarshalTo(dAtA[i:])
  6027. if err != nil {
  6028. return 0, err
  6029. }
  6030. i += n119
  6031. }
  6032. if m.ISCSI != nil {
  6033. dAtA[i] = 0x3a
  6034. i++
  6035. i = encodeVarintGenerated(dAtA, i, uint64(m.ISCSI.Size()))
  6036. n120, err := m.ISCSI.MarshalTo(dAtA[i:])
  6037. if err != nil {
  6038. return 0, err
  6039. }
  6040. i += n120
  6041. }
  6042. if m.Cinder != nil {
  6043. dAtA[i] = 0x42
  6044. i++
  6045. i = encodeVarintGenerated(dAtA, i, uint64(m.Cinder.Size()))
  6046. n121, err := m.Cinder.MarshalTo(dAtA[i:])
  6047. if err != nil {
  6048. return 0, err
  6049. }
  6050. i += n121
  6051. }
  6052. if m.CephFS != nil {
  6053. dAtA[i] = 0x4a
  6054. i++
  6055. i = encodeVarintGenerated(dAtA, i, uint64(m.CephFS.Size()))
  6056. n122, err := m.CephFS.MarshalTo(dAtA[i:])
  6057. if err != nil {
  6058. return 0, err
  6059. }
  6060. i += n122
  6061. }
  6062. if m.FC != nil {
  6063. dAtA[i] = 0x52
  6064. i++
  6065. i = encodeVarintGenerated(dAtA, i, uint64(m.FC.Size()))
  6066. n123, err := m.FC.MarshalTo(dAtA[i:])
  6067. if err != nil {
  6068. return 0, err
  6069. }
  6070. i += n123
  6071. }
  6072. if m.Flocker != nil {
  6073. dAtA[i] = 0x5a
  6074. i++
  6075. i = encodeVarintGenerated(dAtA, i, uint64(m.Flocker.Size()))
  6076. n124, err := m.Flocker.MarshalTo(dAtA[i:])
  6077. if err != nil {
  6078. return 0, err
  6079. }
  6080. i += n124
  6081. }
  6082. if m.FlexVolume != nil {
  6083. dAtA[i] = 0x62
  6084. i++
  6085. i = encodeVarintGenerated(dAtA, i, uint64(m.FlexVolume.Size()))
  6086. n125, err := m.FlexVolume.MarshalTo(dAtA[i:])
  6087. if err != nil {
  6088. return 0, err
  6089. }
  6090. i += n125
  6091. }
  6092. if m.AzureFile != nil {
  6093. dAtA[i] = 0x6a
  6094. i++
  6095. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureFile.Size()))
  6096. n126, err := m.AzureFile.MarshalTo(dAtA[i:])
  6097. if err != nil {
  6098. return 0, err
  6099. }
  6100. i += n126
  6101. }
  6102. if m.VsphereVolume != nil {
  6103. dAtA[i] = 0x72
  6104. i++
  6105. i = encodeVarintGenerated(dAtA, i, uint64(m.VsphereVolume.Size()))
  6106. n127, err := m.VsphereVolume.MarshalTo(dAtA[i:])
  6107. if err != nil {
  6108. return 0, err
  6109. }
  6110. i += n127
  6111. }
  6112. if m.Quobyte != nil {
  6113. dAtA[i] = 0x7a
  6114. i++
  6115. i = encodeVarintGenerated(dAtA, i, uint64(m.Quobyte.Size()))
  6116. n128, err := m.Quobyte.MarshalTo(dAtA[i:])
  6117. if err != nil {
  6118. return 0, err
  6119. }
  6120. i += n128
  6121. }
  6122. if m.AzureDisk != nil {
  6123. dAtA[i] = 0x82
  6124. i++
  6125. dAtA[i] = 0x1
  6126. i++
  6127. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureDisk.Size()))
  6128. n129, err := m.AzureDisk.MarshalTo(dAtA[i:])
  6129. if err != nil {
  6130. return 0, err
  6131. }
  6132. i += n129
  6133. }
  6134. if m.PhotonPersistentDisk != nil {
  6135. dAtA[i] = 0x8a
  6136. i++
  6137. dAtA[i] = 0x1
  6138. i++
  6139. i = encodeVarintGenerated(dAtA, i, uint64(m.PhotonPersistentDisk.Size()))
  6140. n130, err := m.PhotonPersistentDisk.MarshalTo(dAtA[i:])
  6141. if err != nil {
  6142. return 0, err
  6143. }
  6144. i += n130
  6145. }
  6146. if m.PortworxVolume != nil {
  6147. dAtA[i] = 0x92
  6148. i++
  6149. dAtA[i] = 0x1
  6150. i++
  6151. i = encodeVarintGenerated(dAtA, i, uint64(m.PortworxVolume.Size()))
  6152. n131, err := m.PortworxVolume.MarshalTo(dAtA[i:])
  6153. if err != nil {
  6154. return 0, err
  6155. }
  6156. i += n131
  6157. }
  6158. if m.ScaleIO != nil {
  6159. dAtA[i] = 0x9a
  6160. i++
  6161. dAtA[i] = 0x1
  6162. i++
  6163. i = encodeVarintGenerated(dAtA, i, uint64(m.ScaleIO.Size()))
  6164. n132, err := m.ScaleIO.MarshalTo(dAtA[i:])
  6165. if err != nil {
  6166. return 0, err
  6167. }
  6168. i += n132
  6169. }
  6170. if m.Local != nil {
  6171. dAtA[i] = 0xa2
  6172. i++
  6173. dAtA[i] = 0x1
  6174. i++
  6175. i = encodeVarintGenerated(dAtA, i, uint64(m.Local.Size()))
  6176. n133, err := m.Local.MarshalTo(dAtA[i:])
  6177. if err != nil {
  6178. return 0, err
  6179. }
  6180. i += n133
  6181. }
  6182. if m.StorageOS != nil {
  6183. dAtA[i] = 0xaa
  6184. i++
  6185. dAtA[i] = 0x1
  6186. i++
  6187. i = encodeVarintGenerated(dAtA, i, uint64(m.StorageOS.Size()))
  6188. n134, err := m.StorageOS.MarshalTo(dAtA[i:])
  6189. if err != nil {
  6190. return 0, err
  6191. }
  6192. i += n134
  6193. }
  6194. if m.CSI != nil {
  6195. dAtA[i] = 0xb2
  6196. i++
  6197. dAtA[i] = 0x1
  6198. i++
  6199. i = encodeVarintGenerated(dAtA, i, uint64(m.CSI.Size()))
  6200. n135, err := m.CSI.MarshalTo(dAtA[i:])
  6201. if err != nil {
  6202. return 0, err
  6203. }
  6204. i += n135
  6205. }
  6206. return i, nil
  6207. }
  6208. func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error) {
  6209. size := m.Size()
  6210. dAtA = make([]byte, size)
  6211. n, err := m.MarshalTo(dAtA)
  6212. if err != nil {
  6213. return nil, err
  6214. }
  6215. return dAtA[:n], nil
  6216. }
  6217. func (m *PersistentVolumeSpec) MarshalTo(dAtA []byte) (int, error) {
  6218. var i int
  6219. _ = i
  6220. var l int
  6221. _ = l
  6222. if len(m.Capacity) > 0 {
  6223. keysForCapacity := make([]string, 0, len(m.Capacity))
  6224. for k := range m.Capacity {
  6225. keysForCapacity = append(keysForCapacity, string(k))
  6226. }
  6227. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  6228. for _, k := range keysForCapacity {
  6229. dAtA[i] = 0xa
  6230. i++
  6231. v := m.Capacity[ResourceName(k)]
  6232. msgSize := 0
  6233. if (&v) != nil {
  6234. msgSize = (&v).Size()
  6235. msgSize += 1 + sovGenerated(uint64(msgSize))
  6236. }
  6237. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  6238. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  6239. dAtA[i] = 0xa
  6240. i++
  6241. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  6242. i += copy(dAtA[i:], k)
  6243. dAtA[i] = 0x12
  6244. i++
  6245. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  6246. n136, err := (&v).MarshalTo(dAtA[i:])
  6247. if err != nil {
  6248. return 0, err
  6249. }
  6250. i += n136
  6251. }
  6252. }
  6253. dAtA[i] = 0x12
  6254. i++
  6255. i = encodeVarintGenerated(dAtA, i, uint64(m.PersistentVolumeSource.Size()))
  6256. n137, err := m.PersistentVolumeSource.MarshalTo(dAtA[i:])
  6257. if err != nil {
  6258. return 0, err
  6259. }
  6260. i += n137
  6261. if len(m.AccessModes) > 0 {
  6262. for _, s := range m.AccessModes {
  6263. dAtA[i] = 0x1a
  6264. i++
  6265. l = len(s)
  6266. for l >= 1<<7 {
  6267. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6268. l >>= 7
  6269. i++
  6270. }
  6271. dAtA[i] = uint8(l)
  6272. i++
  6273. i += copy(dAtA[i:], s)
  6274. }
  6275. }
  6276. if m.ClaimRef != nil {
  6277. dAtA[i] = 0x22
  6278. i++
  6279. i = encodeVarintGenerated(dAtA, i, uint64(m.ClaimRef.Size()))
  6280. n138, err := m.ClaimRef.MarshalTo(dAtA[i:])
  6281. if err != nil {
  6282. return 0, err
  6283. }
  6284. i += n138
  6285. }
  6286. dAtA[i] = 0x2a
  6287. i++
  6288. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PersistentVolumeReclaimPolicy)))
  6289. i += copy(dAtA[i:], m.PersistentVolumeReclaimPolicy)
  6290. dAtA[i] = 0x32
  6291. i++
  6292. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageClassName)))
  6293. i += copy(dAtA[i:], m.StorageClassName)
  6294. if len(m.MountOptions) > 0 {
  6295. for _, s := range m.MountOptions {
  6296. dAtA[i] = 0x3a
  6297. i++
  6298. l = len(s)
  6299. for l >= 1<<7 {
  6300. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6301. l >>= 7
  6302. i++
  6303. }
  6304. dAtA[i] = uint8(l)
  6305. i++
  6306. i += copy(dAtA[i:], s)
  6307. }
  6308. }
  6309. if m.VolumeMode != nil {
  6310. dAtA[i] = 0x42
  6311. i++
  6312. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.VolumeMode)))
  6313. i += copy(dAtA[i:], *m.VolumeMode)
  6314. }
  6315. if m.NodeAffinity != nil {
  6316. dAtA[i] = 0x4a
  6317. i++
  6318. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeAffinity.Size()))
  6319. n139, err := m.NodeAffinity.MarshalTo(dAtA[i:])
  6320. if err != nil {
  6321. return 0, err
  6322. }
  6323. i += n139
  6324. }
  6325. return i, nil
  6326. }
  6327. func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error) {
  6328. size := m.Size()
  6329. dAtA = make([]byte, size)
  6330. n, err := m.MarshalTo(dAtA)
  6331. if err != nil {
  6332. return nil, err
  6333. }
  6334. return dAtA[:n], nil
  6335. }
  6336. func (m *PersistentVolumeStatus) MarshalTo(dAtA []byte) (int, error) {
  6337. var i int
  6338. _ = i
  6339. var l int
  6340. _ = l
  6341. dAtA[i] = 0xa
  6342. i++
  6343. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  6344. i += copy(dAtA[i:], m.Phase)
  6345. dAtA[i] = 0x12
  6346. i++
  6347. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  6348. i += copy(dAtA[i:], m.Message)
  6349. dAtA[i] = 0x1a
  6350. i++
  6351. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  6352. i += copy(dAtA[i:], m.Reason)
  6353. return i, nil
  6354. }
  6355. func (m *PhotonPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  6356. size := m.Size()
  6357. dAtA = make([]byte, size)
  6358. n, err := m.MarshalTo(dAtA)
  6359. if err != nil {
  6360. return nil, err
  6361. }
  6362. return dAtA[:n], nil
  6363. }
  6364. func (m *PhotonPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  6365. var i int
  6366. _ = i
  6367. var l int
  6368. _ = l
  6369. dAtA[i] = 0xa
  6370. i++
  6371. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PdID)))
  6372. i += copy(dAtA[i:], m.PdID)
  6373. dAtA[i] = 0x12
  6374. i++
  6375. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  6376. i += copy(dAtA[i:], m.FSType)
  6377. return i, nil
  6378. }
  6379. func (m *Pod) Marshal() (dAtA []byte, err error) {
  6380. size := m.Size()
  6381. dAtA = make([]byte, size)
  6382. n, err := m.MarshalTo(dAtA)
  6383. if err != nil {
  6384. return nil, err
  6385. }
  6386. return dAtA[:n], nil
  6387. }
  6388. func (m *Pod) MarshalTo(dAtA []byte) (int, error) {
  6389. var i int
  6390. _ = i
  6391. var l int
  6392. _ = l
  6393. dAtA[i] = 0xa
  6394. i++
  6395. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  6396. n140, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  6397. if err != nil {
  6398. return 0, err
  6399. }
  6400. i += n140
  6401. dAtA[i] = 0x12
  6402. i++
  6403. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  6404. n141, err := m.Spec.MarshalTo(dAtA[i:])
  6405. if err != nil {
  6406. return 0, err
  6407. }
  6408. i += n141
  6409. dAtA[i] = 0x1a
  6410. i++
  6411. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  6412. n142, err := m.Status.MarshalTo(dAtA[i:])
  6413. if err != nil {
  6414. return 0, err
  6415. }
  6416. i += n142
  6417. return i, nil
  6418. }
  6419. func (m *PodAffinity) Marshal() (dAtA []byte, err error) {
  6420. size := m.Size()
  6421. dAtA = make([]byte, size)
  6422. n, err := m.MarshalTo(dAtA)
  6423. if err != nil {
  6424. return nil, err
  6425. }
  6426. return dAtA[:n], nil
  6427. }
  6428. func (m *PodAffinity) MarshalTo(dAtA []byte) (int, error) {
  6429. var i int
  6430. _ = i
  6431. var l int
  6432. _ = l
  6433. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  6434. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  6435. dAtA[i] = 0xa
  6436. i++
  6437. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6438. n, err := msg.MarshalTo(dAtA[i:])
  6439. if err != nil {
  6440. return 0, err
  6441. }
  6442. i += n
  6443. }
  6444. }
  6445. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  6446. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  6447. dAtA[i] = 0x12
  6448. i++
  6449. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6450. n, err := msg.MarshalTo(dAtA[i:])
  6451. if err != nil {
  6452. return 0, err
  6453. }
  6454. i += n
  6455. }
  6456. }
  6457. return i, nil
  6458. }
  6459. func (m *PodAffinityTerm) Marshal() (dAtA []byte, err error) {
  6460. size := m.Size()
  6461. dAtA = make([]byte, size)
  6462. n, err := m.MarshalTo(dAtA)
  6463. if err != nil {
  6464. return nil, err
  6465. }
  6466. return dAtA[:n], nil
  6467. }
  6468. func (m *PodAffinityTerm) MarshalTo(dAtA []byte) (int, error) {
  6469. var i int
  6470. _ = i
  6471. var l int
  6472. _ = l
  6473. if m.LabelSelector != nil {
  6474. dAtA[i] = 0xa
  6475. i++
  6476. i = encodeVarintGenerated(dAtA, i, uint64(m.LabelSelector.Size()))
  6477. n143, err := m.LabelSelector.MarshalTo(dAtA[i:])
  6478. if err != nil {
  6479. return 0, err
  6480. }
  6481. i += n143
  6482. }
  6483. if len(m.Namespaces) > 0 {
  6484. for _, s := range m.Namespaces {
  6485. dAtA[i] = 0x12
  6486. i++
  6487. l = len(s)
  6488. for l >= 1<<7 {
  6489. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6490. l >>= 7
  6491. i++
  6492. }
  6493. dAtA[i] = uint8(l)
  6494. i++
  6495. i += copy(dAtA[i:], s)
  6496. }
  6497. }
  6498. dAtA[i] = 0x1a
  6499. i++
  6500. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TopologyKey)))
  6501. i += copy(dAtA[i:], m.TopologyKey)
  6502. return i, nil
  6503. }
  6504. func (m *PodAntiAffinity) Marshal() (dAtA []byte, err error) {
  6505. size := m.Size()
  6506. dAtA = make([]byte, size)
  6507. n, err := m.MarshalTo(dAtA)
  6508. if err != nil {
  6509. return nil, err
  6510. }
  6511. return dAtA[:n], nil
  6512. }
  6513. func (m *PodAntiAffinity) MarshalTo(dAtA []byte) (int, error) {
  6514. var i int
  6515. _ = i
  6516. var l int
  6517. _ = l
  6518. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  6519. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  6520. dAtA[i] = 0xa
  6521. i++
  6522. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6523. n, err := msg.MarshalTo(dAtA[i:])
  6524. if err != nil {
  6525. return 0, err
  6526. }
  6527. i += n
  6528. }
  6529. }
  6530. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  6531. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  6532. dAtA[i] = 0x12
  6533. i++
  6534. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6535. n, err := msg.MarshalTo(dAtA[i:])
  6536. if err != nil {
  6537. return 0, err
  6538. }
  6539. i += n
  6540. }
  6541. }
  6542. return i, nil
  6543. }
  6544. func (m *PodAttachOptions) Marshal() (dAtA []byte, err error) {
  6545. size := m.Size()
  6546. dAtA = make([]byte, size)
  6547. n, err := m.MarshalTo(dAtA)
  6548. if err != nil {
  6549. return nil, err
  6550. }
  6551. return dAtA[:n], nil
  6552. }
  6553. func (m *PodAttachOptions) MarshalTo(dAtA []byte) (int, error) {
  6554. var i int
  6555. _ = i
  6556. var l int
  6557. _ = l
  6558. dAtA[i] = 0x8
  6559. i++
  6560. if m.Stdin {
  6561. dAtA[i] = 1
  6562. } else {
  6563. dAtA[i] = 0
  6564. }
  6565. i++
  6566. dAtA[i] = 0x10
  6567. i++
  6568. if m.Stdout {
  6569. dAtA[i] = 1
  6570. } else {
  6571. dAtA[i] = 0
  6572. }
  6573. i++
  6574. dAtA[i] = 0x18
  6575. i++
  6576. if m.Stderr {
  6577. dAtA[i] = 1
  6578. } else {
  6579. dAtA[i] = 0
  6580. }
  6581. i++
  6582. dAtA[i] = 0x20
  6583. i++
  6584. if m.TTY {
  6585. dAtA[i] = 1
  6586. } else {
  6587. dAtA[i] = 0
  6588. }
  6589. i++
  6590. dAtA[i] = 0x2a
  6591. i++
  6592. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
  6593. i += copy(dAtA[i:], m.Container)
  6594. return i, nil
  6595. }
  6596. func (m *PodCondition) Marshal() (dAtA []byte, err error) {
  6597. size := m.Size()
  6598. dAtA = make([]byte, size)
  6599. n, err := m.MarshalTo(dAtA)
  6600. if err != nil {
  6601. return nil, err
  6602. }
  6603. return dAtA[:n], nil
  6604. }
  6605. func (m *PodCondition) MarshalTo(dAtA []byte) (int, error) {
  6606. var i int
  6607. _ = i
  6608. var l int
  6609. _ = l
  6610. dAtA[i] = 0xa
  6611. i++
  6612. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  6613. i += copy(dAtA[i:], m.Type)
  6614. dAtA[i] = 0x12
  6615. i++
  6616. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  6617. i += copy(dAtA[i:], m.Status)
  6618. dAtA[i] = 0x1a
  6619. i++
  6620. i = encodeVarintGenerated(dAtA, i, uint64(m.LastProbeTime.Size()))
  6621. n144, err := m.LastProbeTime.MarshalTo(dAtA[i:])
  6622. if err != nil {
  6623. return 0, err
  6624. }
  6625. i += n144
  6626. dAtA[i] = 0x22
  6627. i++
  6628. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  6629. n145, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  6630. if err != nil {
  6631. return 0, err
  6632. }
  6633. i += n145
  6634. dAtA[i] = 0x2a
  6635. i++
  6636. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  6637. i += copy(dAtA[i:], m.Reason)
  6638. dAtA[i] = 0x32
  6639. i++
  6640. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  6641. i += copy(dAtA[i:], m.Message)
  6642. return i, nil
  6643. }
  6644. func (m *PodDNSConfig) Marshal() (dAtA []byte, err error) {
  6645. size := m.Size()
  6646. dAtA = make([]byte, size)
  6647. n, err := m.MarshalTo(dAtA)
  6648. if err != nil {
  6649. return nil, err
  6650. }
  6651. return dAtA[:n], nil
  6652. }
  6653. func (m *PodDNSConfig) MarshalTo(dAtA []byte) (int, error) {
  6654. var i int
  6655. _ = i
  6656. var l int
  6657. _ = l
  6658. if len(m.Nameservers) > 0 {
  6659. for _, s := range m.Nameservers {
  6660. dAtA[i] = 0xa
  6661. i++
  6662. l = len(s)
  6663. for l >= 1<<7 {
  6664. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6665. l >>= 7
  6666. i++
  6667. }
  6668. dAtA[i] = uint8(l)
  6669. i++
  6670. i += copy(dAtA[i:], s)
  6671. }
  6672. }
  6673. if len(m.Searches) > 0 {
  6674. for _, s := range m.Searches {
  6675. dAtA[i] = 0x12
  6676. i++
  6677. l = len(s)
  6678. for l >= 1<<7 {
  6679. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6680. l >>= 7
  6681. i++
  6682. }
  6683. dAtA[i] = uint8(l)
  6684. i++
  6685. i += copy(dAtA[i:], s)
  6686. }
  6687. }
  6688. if len(m.Options) > 0 {
  6689. for _, msg := range m.Options {
  6690. dAtA[i] = 0x1a
  6691. i++
  6692. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6693. n, err := msg.MarshalTo(dAtA[i:])
  6694. if err != nil {
  6695. return 0, err
  6696. }
  6697. i += n
  6698. }
  6699. }
  6700. return i, nil
  6701. }
  6702. func (m *PodDNSConfigOption) Marshal() (dAtA []byte, err error) {
  6703. size := m.Size()
  6704. dAtA = make([]byte, size)
  6705. n, err := m.MarshalTo(dAtA)
  6706. if err != nil {
  6707. return nil, err
  6708. }
  6709. return dAtA[:n], nil
  6710. }
  6711. func (m *PodDNSConfigOption) MarshalTo(dAtA []byte) (int, error) {
  6712. var i int
  6713. _ = i
  6714. var l int
  6715. _ = l
  6716. dAtA[i] = 0xa
  6717. i++
  6718. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  6719. i += copy(dAtA[i:], m.Name)
  6720. if m.Value != nil {
  6721. dAtA[i] = 0x12
  6722. i++
  6723. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Value)))
  6724. i += copy(dAtA[i:], *m.Value)
  6725. }
  6726. return i, nil
  6727. }
  6728. func (m *PodExecOptions) Marshal() (dAtA []byte, err error) {
  6729. size := m.Size()
  6730. dAtA = make([]byte, size)
  6731. n, err := m.MarshalTo(dAtA)
  6732. if err != nil {
  6733. return nil, err
  6734. }
  6735. return dAtA[:n], nil
  6736. }
  6737. func (m *PodExecOptions) MarshalTo(dAtA []byte) (int, error) {
  6738. var i int
  6739. _ = i
  6740. var l int
  6741. _ = l
  6742. dAtA[i] = 0x8
  6743. i++
  6744. if m.Stdin {
  6745. dAtA[i] = 1
  6746. } else {
  6747. dAtA[i] = 0
  6748. }
  6749. i++
  6750. dAtA[i] = 0x10
  6751. i++
  6752. if m.Stdout {
  6753. dAtA[i] = 1
  6754. } else {
  6755. dAtA[i] = 0
  6756. }
  6757. i++
  6758. dAtA[i] = 0x18
  6759. i++
  6760. if m.Stderr {
  6761. dAtA[i] = 1
  6762. } else {
  6763. dAtA[i] = 0
  6764. }
  6765. i++
  6766. dAtA[i] = 0x20
  6767. i++
  6768. if m.TTY {
  6769. dAtA[i] = 1
  6770. } else {
  6771. dAtA[i] = 0
  6772. }
  6773. i++
  6774. dAtA[i] = 0x2a
  6775. i++
  6776. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
  6777. i += copy(dAtA[i:], m.Container)
  6778. if len(m.Command) > 0 {
  6779. for _, s := range m.Command {
  6780. dAtA[i] = 0x32
  6781. i++
  6782. l = len(s)
  6783. for l >= 1<<7 {
  6784. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6785. l >>= 7
  6786. i++
  6787. }
  6788. dAtA[i] = uint8(l)
  6789. i++
  6790. i += copy(dAtA[i:], s)
  6791. }
  6792. }
  6793. return i, nil
  6794. }
  6795. func (m *PodList) Marshal() (dAtA []byte, err error) {
  6796. size := m.Size()
  6797. dAtA = make([]byte, size)
  6798. n, err := m.MarshalTo(dAtA)
  6799. if err != nil {
  6800. return nil, err
  6801. }
  6802. return dAtA[:n], nil
  6803. }
  6804. func (m *PodList) MarshalTo(dAtA []byte) (int, error) {
  6805. var i int
  6806. _ = i
  6807. var l int
  6808. _ = l
  6809. dAtA[i] = 0xa
  6810. i++
  6811. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  6812. n146, err := m.ListMeta.MarshalTo(dAtA[i:])
  6813. if err != nil {
  6814. return 0, err
  6815. }
  6816. i += n146
  6817. if len(m.Items) > 0 {
  6818. for _, msg := range m.Items {
  6819. dAtA[i] = 0x12
  6820. i++
  6821. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6822. n, err := msg.MarshalTo(dAtA[i:])
  6823. if err != nil {
  6824. return 0, err
  6825. }
  6826. i += n
  6827. }
  6828. }
  6829. return i, nil
  6830. }
  6831. func (m *PodLogOptions) Marshal() (dAtA []byte, err error) {
  6832. size := m.Size()
  6833. dAtA = make([]byte, size)
  6834. n, err := m.MarshalTo(dAtA)
  6835. if err != nil {
  6836. return nil, err
  6837. }
  6838. return dAtA[:n], nil
  6839. }
  6840. func (m *PodLogOptions) MarshalTo(dAtA []byte) (int, error) {
  6841. var i int
  6842. _ = i
  6843. var l int
  6844. _ = l
  6845. dAtA[i] = 0xa
  6846. i++
  6847. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
  6848. i += copy(dAtA[i:], m.Container)
  6849. dAtA[i] = 0x10
  6850. i++
  6851. if m.Follow {
  6852. dAtA[i] = 1
  6853. } else {
  6854. dAtA[i] = 0
  6855. }
  6856. i++
  6857. dAtA[i] = 0x18
  6858. i++
  6859. if m.Previous {
  6860. dAtA[i] = 1
  6861. } else {
  6862. dAtA[i] = 0
  6863. }
  6864. i++
  6865. if m.SinceSeconds != nil {
  6866. dAtA[i] = 0x20
  6867. i++
  6868. i = encodeVarintGenerated(dAtA, i, uint64(*m.SinceSeconds))
  6869. }
  6870. if m.SinceTime != nil {
  6871. dAtA[i] = 0x2a
  6872. i++
  6873. i = encodeVarintGenerated(dAtA, i, uint64(m.SinceTime.Size()))
  6874. n147, err := m.SinceTime.MarshalTo(dAtA[i:])
  6875. if err != nil {
  6876. return 0, err
  6877. }
  6878. i += n147
  6879. }
  6880. dAtA[i] = 0x30
  6881. i++
  6882. if m.Timestamps {
  6883. dAtA[i] = 1
  6884. } else {
  6885. dAtA[i] = 0
  6886. }
  6887. i++
  6888. if m.TailLines != nil {
  6889. dAtA[i] = 0x38
  6890. i++
  6891. i = encodeVarintGenerated(dAtA, i, uint64(*m.TailLines))
  6892. }
  6893. if m.LimitBytes != nil {
  6894. dAtA[i] = 0x40
  6895. i++
  6896. i = encodeVarintGenerated(dAtA, i, uint64(*m.LimitBytes))
  6897. }
  6898. return i, nil
  6899. }
  6900. func (m *PodPortForwardOptions) Marshal() (dAtA []byte, err error) {
  6901. size := m.Size()
  6902. dAtA = make([]byte, size)
  6903. n, err := m.MarshalTo(dAtA)
  6904. if err != nil {
  6905. return nil, err
  6906. }
  6907. return dAtA[:n], nil
  6908. }
  6909. func (m *PodPortForwardOptions) MarshalTo(dAtA []byte) (int, error) {
  6910. var i int
  6911. _ = i
  6912. var l int
  6913. _ = l
  6914. if len(m.Ports) > 0 {
  6915. for _, num := range m.Ports {
  6916. dAtA[i] = 0x8
  6917. i++
  6918. i = encodeVarintGenerated(dAtA, i, uint64(num))
  6919. }
  6920. }
  6921. return i, nil
  6922. }
  6923. func (m *PodProxyOptions) Marshal() (dAtA []byte, err error) {
  6924. size := m.Size()
  6925. dAtA = make([]byte, size)
  6926. n, err := m.MarshalTo(dAtA)
  6927. if err != nil {
  6928. return nil, err
  6929. }
  6930. return dAtA[:n], nil
  6931. }
  6932. func (m *PodProxyOptions) MarshalTo(dAtA []byte) (int, error) {
  6933. var i int
  6934. _ = i
  6935. var l int
  6936. _ = l
  6937. dAtA[i] = 0xa
  6938. i++
  6939. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  6940. i += copy(dAtA[i:], m.Path)
  6941. return i, nil
  6942. }
  6943. func (m *PodReadinessGate) Marshal() (dAtA []byte, err error) {
  6944. size := m.Size()
  6945. dAtA = make([]byte, size)
  6946. n, err := m.MarshalTo(dAtA)
  6947. if err != nil {
  6948. return nil, err
  6949. }
  6950. return dAtA[:n], nil
  6951. }
  6952. func (m *PodReadinessGate) MarshalTo(dAtA []byte) (int, error) {
  6953. var i int
  6954. _ = i
  6955. var l int
  6956. _ = l
  6957. dAtA[i] = 0xa
  6958. i++
  6959. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ConditionType)))
  6960. i += copy(dAtA[i:], m.ConditionType)
  6961. return i, nil
  6962. }
  6963. func (m *PodSecurityContext) Marshal() (dAtA []byte, err error) {
  6964. size := m.Size()
  6965. dAtA = make([]byte, size)
  6966. n, err := m.MarshalTo(dAtA)
  6967. if err != nil {
  6968. return nil, err
  6969. }
  6970. return dAtA[:n], nil
  6971. }
  6972. func (m *PodSecurityContext) MarshalTo(dAtA []byte) (int, error) {
  6973. var i int
  6974. _ = i
  6975. var l int
  6976. _ = l
  6977. if m.SELinuxOptions != nil {
  6978. dAtA[i] = 0xa
  6979. i++
  6980. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
  6981. n148, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
  6982. if err != nil {
  6983. return 0, err
  6984. }
  6985. i += n148
  6986. }
  6987. if m.RunAsUser != nil {
  6988. dAtA[i] = 0x10
  6989. i++
  6990. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsUser))
  6991. }
  6992. if m.RunAsNonRoot != nil {
  6993. dAtA[i] = 0x18
  6994. i++
  6995. if *m.RunAsNonRoot {
  6996. dAtA[i] = 1
  6997. } else {
  6998. dAtA[i] = 0
  6999. }
  7000. i++
  7001. }
  7002. if len(m.SupplementalGroups) > 0 {
  7003. for _, num := range m.SupplementalGroups {
  7004. dAtA[i] = 0x20
  7005. i++
  7006. i = encodeVarintGenerated(dAtA, i, uint64(num))
  7007. }
  7008. }
  7009. if m.FSGroup != nil {
  7010. dAtA[i] = 0x28
  7011. i++
  7012. i = encodeVarintGenerated(dAtA, i, uint64(*m.FSGroup))
  7013. }
  7014. if m.RunAsGroup != nil {
  7015. dAtA[i] = 0x30
  7016. i++
  7017. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsGroup))
  7018. }
  7019. if len(m.Sysctls) > 0 {
  7020. for _, msg := range m.Sysctls {
  7021. dAtA[i] = 0x3a
  7022. i++
  7023. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7024. n, err := msg.MarshalTo(dAtA[i:])
  7025. if err != nil {
  7026. return 0, err
  7027. }
  7028. i += n
  7029. }
  7030. }
  7031. return i, nil
  7032. }
  7033. func (m *PodSignature) Marshal() (dAtA []byte, err error) {
  7034. size := m.Size()
  7035. dAtA = make([]byte, size)
  7036. n, err := m.MarshalTo(dAtA)
  7037. if err != nil {
  7038. return nil, err
  7039. }
  7040. return dAtA[:n], nil
  7041. }
  7042. func (m *PodSignature) MarshalTo(dAtA []byte) (int, error) {
  7043. var i int
  7044. _ = i
  7045. var l int
  7046. _ = l
  7047. if m.PodController != nil {
  7048. dAtA[i] = 0xa
  7049. i++
  7050. i = encodeVarintGenerated(dAtA, i, uint64(m.PodController.Size()))
  7051. n149, err := m.PodController.MarshalTo(dAtA[i:])
  7052. if err != nil {
  7053. return 0, err
  7054. }
  7055. i += n149
  7056. }
  7057. return i, nil
  7058. }
  7059. func (m *PodSpec) Marshal() (dAtA []byte, err error) {
  7060. size := m.Size()
  7061. dAtA = make([]byte, size)
  7062. n, err := m.MarshalTo(dAtA)
  7063. if err != nil {
  7064. return nil, err
  7065. }
  7066. return dAtA[:n], nil
  7067. }
  7068. func (m *PodSpec) MarshalTo(dAtA []byte) (int, error) {
  7069. var i int
  7070. _ = i
  7071. var l int
  7072. _ = l
  7073. if len(m.Volumes) > 0 {
  7074. for _, msg := range m.Volumes {
  7075. dAtA[i] = 0xa
  7076. i++
  7077. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7078. n, err := msg.MarshalTo(dAtA[i:])
  7079. if err != nil {
  7080. return 0, err
  7081. }
  7082. i += n
  7083. }
  7084. }
  7085. if len(m.Containers) > 0 {
  7086. for _, msg := range m.Containers {
  7087. dAtA[i] = 0x12
  7088. i++
  7089. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7090. n, err := msg.MarshalTo(dAtA[i:])
  7091. if err != nil {
  7092. return 0, err
  7093. }
  7094. i += n
  7095. }
  7096. }
  7097. dAtA[i] = 0x1a
  7098. i++
  7099. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RestartPolicy)))
  7100. i += copy(dAtA[i:], m.RestartPolicy)
  7101. if m.TerminationGracePeriodSeconds != nil {
  7102. dAtA[i] = 0x20
  7103. i++
  7104. i = encodeVarintGenerated(dAtA, i, uint64(*m.TerminationGracePeriodSeconds))
  7105. }
  7106. if m.ActiveDeadlineSeconds != nil {
  7107. dAtA[i] = 0x28
  7108. i++
  7109. i = encodeVarintGenerated(dAtA, i, uint64(*m.ActiveDeadlineSeconds))
  7110. }
  7111. dAtA[i] = 0x32
  7112. i++
  7113. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DNSPolicy)))
  7114. i += copy(dAtA[i:], m.DNSPolicy)
  7115. if len(m.NodeSelector) > 0 {
  7116. keysForNodeSelector := make([]string, 0, len(m.NodeSelector))
  7117. for k := range m.NodeSelector {
  7118. keysForNodeSelector = append(keysForNodeSelector, string(k))
  7119. }
  7120. github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
  7121. for _, k := range keysForNodeSelector {
  7122. dAtA[i] = 0x3a
  7123. i++
  7124. v := m.NodeSelector[string(k)]
  7125. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7126. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  7127. dAtA[i] = 0xa
  7128. i++
  7129. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  7130. i += copy(dAtA[i:], k)
  7131. dAtA[i] = 0x12
  7132. i++
  7133. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  7134. i += copy(dAtA[i:], v)
  7135. }
  7136. }
  7137. dAtA[i] = 0x42
  7138. i++
  7139. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceAccountName)))
  7140. i += copy(dAtA[i:], m.ServiceAccountName)
  7141. dAtA[i] = 0x4a
  7142. i++
  7143. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DeprecatedServiceAccount)))
  7144. i += copy(dAtA[i:], m.DeprecatedServiceAccount)
  7145. dAtA[i] = 0x52
  7146. i++
  7147. i = encodeVarintGenerated(dAtA, i, uint64(len(m.NodeName)))
  7148. i += copy(dAtA[i:], m.NodeName)
  7149. dAtA[i] = 0x58
  7150. i++
  7151. if m.HostNetwork {
  7152. dAtA[i] = 1
  7153. } else {
  7154. dAtA[i] = 0
  7155. }
  7156. i++
  7157. dAtA[i] = 0x60
  7158. i++
  7159. if m.HostPID {
  7160. dAtA[i] = 1
  7161. } else {
  7162. dAtA[i] = 0
  7163. }
  7164. i++
  7165. dAtA[i] = 0x68
  7166. i++
  7167. if m.HostIPC {
  7168. dAtA[i] = 1
  7169. } else {
  7170. dAtA[i] = 0
  7171. }
  7172. i++
  7173. if m.SecurityContext != nil {
  7174. dAtA[i] = 0x72
  7175. i++
  7176. i = encodeVarintGenerated(dAtA, i, uint64(m.SecurityContext.Size()))
  7177. n150, err := m.SecurityContext.MarshalTo(dAtA[i:])
  7178. if err != nil {
  7179. return 0, err
  7180. }
  7181. i += n150
  7182. }
  7183. if len(m.ImagePullSecrets) > 0 {
  7184. for _, msg := range m.ImagePullSecrets {
  7185. dAtA[i] = 0x7a
  7186. i++
  7187. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7188. n, err := msg.MarshalTo(dAtA[i:])
  7189. if err != nil {
  7190. return 0, err
  7191. }
  7192. i += n
  7193. }
  7194. }
  7195. dAtA[i] = 0x82
  7196. i++
  7197. dAtA[i] = 0x1
  7198. i++
  7199. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
  7200. i += copy(dAtA[i:], m.Hostname)
  7201. dAtA[i] = 0x8a
  7202. i++
  7203. dAtA[i] = 0x1
  7204. i++
  7205. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subdomain)))
  7206. i += copy(dAtA[i:], m.Subdomain)
  7207. if m.Affinity != nil {
  7208. dAtA[i] = 0x92
  7209. i++
  7210. dAtA[i] = 0x1
  7211. i++
  7212. i = encodeVarintGenerated(dAtA, i, uint64(m.Affinity.Size()))
  7213. n151, err := m.Affinity.MarshalTo(dAtA[i:])
  7214. if err != nil {
  7215. return 0, err
  7216. }
  7217. i += n151
  7218. }
  7219. dAtA[i] = 0x9a
  7220. i++
  7221. dAtA[i] = 0x1
  7222. i++
  7223. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SchedulerName)))
  7224. i += copy(dAtA[i:], m.SchedulerName)
  7225. if len(m.InitContainers) > 0 {
  7226. for _, msg := range m.InitContainers {
  7227. dAtA[i] = 0xa2
  7228. i++
  7229. dAtA[i] = 0x1
  7230. i++
  7231. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7232. n, err := msg.MarshalTo(dAtA[i:])
  7233. if err != nil {
  7234. return 0, err
  7235. }
  7236. i += n
  7237. }
  7238. }
  7239. if m.AutomountServiceAccountToken != nil {
  7240. dAtA[i] = 0xa8
  7241. i++
  7242. dAtA[i] = 0x1
  7243. i++
  7244. if *m.AutomountServiceAccountToken {
  7245. dAtA[i] = 1
  7246. } else {
  7247. dAtA[i] = 0
  7248. }
  7249. i++
  7250. }
  7251. if len(m.Tolerations) > 0 {
  7252. for _, msg := range m.Tolerations {
  7253. dAtA[i] = 0xb2
  7254. i++
  7255. dAtA[i] = 0x1
  7256. i++
  7257. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7258. n, err := msg.MarshalTo(dAtA[i:])
  7259. if err != nil {
  7260. return 0, err
  7261. }
  7262. i += n
  7263. }
  7264. }
  7265. if len(m.HostAliases) > 0 {
  7266. for _, msg := range m.HostAliases {
  7267. dAtA[i] = 0xba
  7268. i++
  7269. dAtA[i] = 0x1
  7270. i++
  7271. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7272. n, err := msg.MarshalTo(dAtA[i:])
  7273. if err != nil {
  7274. return 0, err
  7275. }
  7276. i += n
  7277. }
  7278. }
  7279. dAtA[i] = 0xc2
  7280. i++
  7281. dAtA[i] = 0x1
  7282. i++
  7283. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PriorityClassName)))
  7284. i += copy(dAtA[i:], m.PriorityClassName)
  7285. if m.Priority != nil {
  7286. dAtA[i] = 0xc8
  7287. i++
  7288. dAtA[i] = 0x1
  7289. i++
  7290. i = encodeVarintGenerated(dAtA, i, uint64(*m.Priority))
  7291. }
  7292. if m.DNSConfig != nil {
  7293. dAtA[i] = 0xd2
  7294. i++
  7295. dAtA[i] = 0x1
  7296. i++
  7297. i = encodeVarintGenerated(dAtA, i, uint64(m.DNSConfig.Size()))
  7298. n152, err := m.DNSConfig.MarshalTo(dAtA[i:])
  7299. if err != nil {
  7300. return 0, err
  7301. }
  7302. i += n152
  7303. }
  7304. if m.ShareProcessNamespace != nil {
  7305. dAtA[i] = 0xd8
  7306. i++
  7307. dAtA[i] = 0x1
  7308. i++
  7309. if *m.ShareProcessNamespace {
  7310. dAtA[i] = 1
  7311. } else {
  7312. dAtA[i] = 0
  7313. }
  7314. i++
  7315. }
  7316. if len(m.ReadinessGates) > 0 {
  7317. for _, msg := range m.ReadinessGates {
  7318. dAtA[i] = 0xe2
  7319. i++
  7320. dAtA[i] = 0x1
  7321. i++
  7322. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7323. n, err := msg.MarshalTo(dAtA[i:])
  7324. if err != nil {
  7325. return 0, err
  7326. }
  7327. i += n
  7328. }
  7329. }
  7330. if m.RuntimeClassName != nil {
  7331. dAtA[i] = 0xea
  7332. i++
  7333. dAtA[i] = 0x1
  7334. i++
  7335. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.RuntimeClassName)))
  7336. i += copy(dAtA[i:], *m.RuntimeClassName)
  7337. }
  7338. if m.EnableServiceLinks != nil {
  7339. dAtA[i] = 0xf0
  7340. i++
  7341. dAtA[i] = 0x1
  7342. i++
  7343. if *m.EnableServiceLinks {
  7344. dAtA[i] = 1
  7345. } else {
  7346. dAtA[i] = 0
  7347. }
  7348. i++
  7349. }
  7350. return i, nil
  7351. }
  7352. func (m *PodStatus) Marshal() (dAtA []byte, err error) {
  7353. size := m.Size()
  7354. dAtA = make([]byte, size)
  7355. n, err := m.MarshalTo(dAtA)
  7356. if err != nil {
  7357. return nil, err
  7358. }
  7359. return dAtA[:n], nil
  7360. }
  7361. func (m *PodStatus) MarshalTo(dAtA []byte) (int, error) {
  7362. var i int
  7363. _ = i
  7364. var l int
  7365. _ = l
  7366. dAtA[i] = 0xa
  7367. i++
  7368. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  7369. i += copy(dAtA[i:], m.Phase)
  7370. if len(m.Conditions) > 0 {
  7371. for _, msg := range m.Conditions {
  7372. dAtA[i] = 0x12
  7373. i++
  7374. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7375. n, err := msg.MarshalTo(dAtA[i:])
  7376. if err != nil {
  7377. return 0, err
  7378. }
  7379. i += n
  7380. }
  7381. }
  7382. dAtA[i] = 0x1a
  7383. i++
  7384. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  7385. i += copy(dAtA[i:], m.Message)
  7386. dAtA[i] = 0x22
  7387. i++
  7388. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  7389. i += copy(dAtA[i:], m.Reason)
  7390. dAtA[i] = 0x2a
  7391. i++
  7392. i = encodeVarintGenerated(dAtA, i, uint64(len(m.HostIP)))
  7393. i += copy(dAtA[i:], m.HostIP)
  7394. dAtA[i] = 0x32
  7395. i++
  7396. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodIP)))
  7397. i += copy(dAtA[i:], m.PodIP)
  7398. if m.StartTime != nil {
  7399. dAtA[i] = 0x3a
  7400. i++
  7401. i = encodeVarintGenerated(dAtA, i, uint64(m.StartTime.Size()))
  7402. n153, err := m.StartTime.MarshalTo(dAtA[i:])
  7403. if err != nil {
  7404. return 0, err
  7405. }
  7406. i += n153
  7407. }
  7408. if len(m.ContainerStatuses) > 0 {
  7409. for _, msg := range m.ContainerStatuses {
  7410. dAtA[i] = 0x42
  7411. i++
  7412. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7413. n, err := msg.MarshalTo(dAtA[i:])
  7414. if err != nil {
  7415. return 0, err
  7416. }
  7417. i += n
  7418. }
  7419. }
  7420. dAtA[i] = 0x4a
  7421. i++
  7422. i = encodeVarintGenerated(dAtA, i, uint64(len(m.QOSClass)))
  7423. i += copy(dAtA[i:], m.QOSClass)
  7424. if len(m.InitContainerStatuses) > 0 {
  7425. for _, msg := range m.InitContainerStatuses {
  7426. dAtA[i] = 0x52
  7427. i++
  7428. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7429. n, err := msg.MarshalTo(dAtA[i:])
  7430. if err != nil {
  7431. return 0, err
  7432. }
  7433. i += n
  7434. }
  7435. }
  7436. dAtA[i] = 0x5a
  7437. i++
  7438. i = encodeVarintGenerated(dAtA, i, uint64(len(m.NominatedNodeName)))
  7439. i += copy(dAtA[i:], m.NominatedNodeName)
  7440. return i, nil
  7441. }
  7442. func (m *PodStatusResult) Marshal() (dAtA []byte, err error) {
  7443. size := m.Size()
  7444. dAtA = make([]byte, size)
  7445. n, err := m.MarshalTo(dAtA)
  7446. if err != nil {
  7447. return nil, err
  7448. }
  7449. return dAtA[:n], nil
  7450. }
  7451. func (m *PodStatusResult) MarshalTo(dAtA []byte) (int, error) {
  7452. var i int
  7453. _ = i
  7454. var l int
  7455. _ = l
  7456. dAtA[i] = 0xa
  7457. i++
  7458. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7459. n154, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7460. if err != nil {
  7461. return 0, err
  7462. }
  7463. i += n154
  7464. dAtA[i] = 0x12
  7465. i++
  7466. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  7467. n155, err := m.Status.MarshalTo(dAtA[i:])
  7468. if err != nil {
  7469. return 0, err
  7470. }
  7471. i += n155
  7472. return i, nil
  7473. }
  7474. func (m *PodTemplate) Marshal() (dAtA []byte, err error) {
  7475. size := m.Size()
  7476. dAtA = make([]byte, size)
  7477. n, err := m.MarshalTo(dAtA)
  7478. if err != nil {
  7479. return nil, err
  7480. }
  7481. return dAtA[:n], nil
  7482. }
  7483. func (m *PodTemplate) MarshalTo(dAtA []byte) (int, error) {
  7484. var i int
  7485. _ = i
  7486. var l int
  7487. _ = l
  7488. dAtA[i] = 0xa
  7489. i++
  7490. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7491. n156, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7492. if err != nil {
  7493. return 0, err
  7494. }
  7495. i += n156
  7496. dAtA[i] = 0x12
  7497. i++
  7498. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  7499. n157, err := m.Template.MarshalTo(dAtA[i:])
  7500. if err != nil {
  7501. return 0, err
  7502. }
  7503. i += n157
  7504. return i, nil
  7505. }
  7506. func (m *PodTemplateList) Marshal() (dAtA []byte, err error) {
  7507. size := m.Size()
  7508. dAtA = make([]byte, size)
  7509. n, err := m.MarshalTo(dAtA)
  7510. if err != nil {
  7511. return nil, err
  7512. }
  7513. return dAtA[:n], nil
  7514. }
  7515. func (m *PodTemplateList) MarshalTo(dAtA []byte) (int, error) {
  7516. var i int
  7517. _ = i
  7518. var l int
  7519. _ = l
  7520. dAtA[i] = 0xa
  7521. i++
  7522. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  7523. n158, err := m.ListMeta.MarshalTo(dAtA[i:])
  7524. if err != nil {
  7525. return 0, err
  7526. }
  7527. i += n158
  7528. if len(m.Items) > 0 {
  7529. for _, msg := range m.Items {
  7530. dAtA[i] = 0x12
  7531. i++
  7532. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7533. n, err := msg.MarshalTo(dAtA[i:])
  7534. if err != nil {
  7535. return 0, err
  7536. }
  7537. i += n
  7538. }
  7539. }
  7540. return i, nil
  7541. }
  7542. func (m *PodTemplateSpec) Marshal() (dAtA []byte, err error) {
  7543. size := m.Size()
  7544. dAtA = make([]byte, size)
  7545. n, err := m.MarshalTo(dAtA)
  7546. if err != nil {
  7547. return nil, err
  7548. }
  7549. return dAtA[:n], nil
  7550. }
  7551. func (m *PodTemplateSpec) MarshalTo(dAtA []byte) (int, error) {
  7552. var i int
  7553. _ = i
  7554. var l int
  7555. _ = l
  7556. dAtA[i] = 0xa
  7557. i++
  7558. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7559. n159, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7560. if err != nil {
  7561. return 0, err
  7562. }
  7563. i += n159
  7564. dAtA[i] = 0x12
  7565. i++
  7566. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  7567. n160, err := m.Spec.MarshalTo(dAtA[i:])
  7568. if err != nil {
  7569. return 0, err
  7570. }
  7571. i += n160
  7572. return i, nil
  7573. }
  7574. func (m *PortworxVolumeSource) Marshal() (dAtA []byte, err error) {
  7575. size := m.Size()
  7576. dAtA = make([]byte, size)
  7577. n, err := m.MarshalTo(dAtA)
  7578. if err != nil {
  7579. return nil, err
  7580. }
  7581. return dAtA[:n], nil
  7582. }
  7583. func (m *PortworxVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7584. var i int
  7585. _ = i
  7586. var l int
  7587. _ = l
  7588. dAtA[i] = 0xa
  7589. i++
  7590. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeID)))
  7591. i += copy(dAtA[i:], m.VolumeID)
  7592. dAtA[i] = 0x12
  7593. i++
  7594. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  7595. i += copy(dAtA[i:], m.FSType)
  7596. dAtA[i] = 0x18
  7597. i++
  7598. if m.ReadOnly {
  7599. dAtA[i] = 1
  7600. } else {
  7601. dAtA[i] = 0
  7602. }
  7603. i++
  7604. return i, nil
  7605. }
  7606. func (m *Preconditions) Marshal() (dAtA []byte, err error) {
  7607. size := m.Size()
  7608. dAtA = make([]byte, size)
  7609. n, err := m.MarshalTo(dAtA)
  7610. if err != nil {
  7611. return nil, err
  7612. }
  7613. return dAtA[:n], nil
  7614. }
  7615. func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) {
  7616. var i int
  7617. _ = i
  7618. var l int
  7619. _ = l
  7620. if m.UID != nil {
  7621. dAtA[i] = 0xa
  7622. i++
  7623. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID)))
  7624. i += copy(dAtA[i:], *m.UID)
  7625. }
  7626. return i, nil
  7627. }
  7628. func (m *PreferAvoidPodsEntry) Marshal() (dAtA []byte, err error) {
  7629. size := m.Size()
  7630. dAtA = make([]byte, size)
  7631. n, err := m.MarshalTo(dAtA)
  7632. if err != nil {
  7633. return nil, err
  7634. }
  7635. return dAtA[:n], nil
  7636. }
  7637. func (m *PreferAvoidPodsEntry) MarshalTo(dAtA []byte) (int, error) {
  7638. var i int
  7639. _ = i
  7640. var l int
  7641. _ = l
  7642. dAtA[i] = 0xa
  7643. i++
  7644. i = encodeVarintGenerated(dAtA, i, uint64(m.PodSignature.Size()))
  7645. n161, err := m.PodSignature.MarshalTo(dAtA[i:])
  7646. if err != nil {
  7647. return 0, err
  7648. }
  7649. i += n161
  7650. dAtA[i] = 0x12
  7651. i++
  7652. i = encodeVarintGenerated(dAtA, i, uint64(m.EvictionTime.Size()))
  7653. n162, err := m.EvictionTime.MarshalTo(dAtA[i:])
  7654. if err != nil {
  7655. return 0, err
  7656. }
  7657. i += n162
  7658. dAtA[i] = 0x1a
  7659. i++
  7660. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  7661. i += copy(dAtA[i:], m.Reason)
  7662. dAtA[i] = 0x22
  7663. i++
  7664. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  7665. i += copy(dAtA[i:], m.Message)
  7666. return i, nil
  7667. }
  7668. func (m *PreferredSchedulingTerm) Marshal() (dAtA []byte, err error) {
  7669. size := m.Size()
  7670. dAtA = make([]byte, size)
  7671. n, err := m.MarshalTo(dAtA)
  7672. if err != nil {
  7673. return nil, err
  7674. }
  7675. return dAtA[:n], nil
  7676. }
  7677. func (m *PreferredSchedulingTerm) MarshalTo(dAtA []byte) (int, error) {
  7678. var i int
  7679. _ = i
  7680. var l int
  7681. _ = l
  7682. dAtA[i] = 0x8
  7683. i++
  7684. i = encodeVarintGenerated(dAtA, i, uint64(m.Weight))
  7685. dAtA[i] = 0x12
  7686. i++
  7687. i = encodeVarintGenerated(dAtA, i, uint64(m.Preference.Size()))
  7688. n163, err := m.Preference.MarshalTo(dAtA[i:])
  7689. if err != nil {
  7690. return 0, err
  7691. }
  7692. i += n163
  7693. return i, nil
  7694. }
  7695. func (m *Probe) Marshal() (dAtA []byte, err error) {
  7696. size := m.Size()
  7697. dAtA = make([]byte, size)
  7698. n, err := m.MarshalTo(dAtA)
  7699. if err != nil {
  7700. return nil, err
  7701. }
  7702. return dAtA[:n], nil
  7703. }
  7704. func (m *Probe) MarshalTo(dAtA []byte) (int, error) {
  7705. var i int
  7706. _ = i
  7707. var l int
  7708. _ = l
  7709. dAtA[i] = 0xa
  7710. i++
  7711. i = encodeVarintGenerated(dAtA, i, uint64(m.Handler.Size()))
  7712. n164, err := m.Handler.MarshalTo(dAtA[i:])
  7713. if err != nil {
  7714. return 0, err
  7715. }
  7716. i += n164
  7717. dAtA[i] = 0x10
  7718. i++
  7719. i = encodeVarintGenerated(dAtA, i, uint64(m.InitialDelaySeconds))
  7720. dAtA[i] = 0x18
  7721. i++
  7722. i = encodeVarintGenerated(dAtA, i, uint64(m.TimeoutSeconds))
  7723. dAtA[i] = 0x20
  7724. i++
  7725. i = encodeVarintGenerated(dAtA, i, uint64(m.PeriodSeconds))
  7726. dAtA[i] = 0x28
  7727. i++
  7728. i = encodeVarintGenerated(dAtA, i, uint64(m.SuccessThreshold))
  7729. dAtA[i] = 0x30
  7730. i++
  7731. i = encodeVarintGenerated(dAtA, i, uint64(m.FailureThreshold))
  7732. return i, nil
  7733. }
  7734. func (m *ProjectedVolumeSource) Marshal() (dAtA []byte, err error) {
  7735. size := m.Size()
  7736. dAtA = make([]byte, size)
  7737. n, err := m.MarshalTo(dAtA)
  7738. if err != nil {
  7739. return nil, err
  7740. }
  7741. return dAtA[:n], nil
  7742. }
  7743. func (m *ProjectedVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7744. var i int
  7745. _ = i
  7746. var l int
  7747. _ = l
  7748. if len(m.Sources) > 0 {
  7749. for _, msg := range m.Sources {
  7750. dAtA[i] = 0xa
  7751. i++
  7752. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7753. n, err := msg.MarshalTo(dAtA[i:])
  7754. if err != nil {
  7755. return 0, err
  7756. }
  7757. i += n
  7758. }
  7759. }
  7760. if m.DefaultMode != nil {
  7761. dAtA[i] = 0x10
  7762. i++
  7763. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  7764. }
  7765. return i, nil
  7766. }
  7767. func (m *QuobyteVolumeSource) Marshal() (dAtA []byte, err error) {
  7768. size := m.Size()
  7769. dAtA = make([]byte, size)
  7770. n, err := m.MarshalTo(dAtA)
  7771. if err != nil {
  7772. return nil, err
  7773. }
  7774. return dAtA[:n], nil
  7775. }
  7776. func (m *QuobyteVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7777. var i int
  7778. _ = i
  7779. var l int
  7780. _ = l
  7781. dAtA[i] = 0xa
  7782. i++
  7783. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Registry)))
  7784. i += copy(dAtA[i:], m.Registry)
  7785. dAtA[i] = 0x12
  7786. i++
  7787. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Volume)))
  7788. i += copy(dAtA[i:], m.Volume)
  7789. dAtA[i] = 0x18
  7790. i++
  7791. if m.ReadOnly {
  7792. dAtA[i] = 1
  7793. } else {
  7794. dAtA[i] = 0
  7795. }
  7796. i++
  7797. dAtA[i] = 0x22
  7798. i++
  7799. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  7800. i += copy(dAtA[i:], m.User)
  7801. dAtA[i] = 0x2a
  7802. i++
  7803. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  7804. i += copy(dAtA[i:], m.Group)
  7805. dAtA[i] = 0x32
  7806. i++
  7807. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Tenant)))
  7808. i += copy(dAtA[i:], m.Tenant)
  7809. return i, nil
  7810. }
  7811. func (m *RBDPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  7812. size := m.Size()
  7813. dAtA = make([]byte, size)
  7814. n, err := m.MarshalTo(dAtA)
  7815. if err != nil {
  7816. return nil, err
  7817. }
  7818. return dAtA[:n], nil
  7819. }
  7820. func (m *RBDPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7821. var i int
  7822. _ = i
  7823. var l int
  7824. _ = l
  7825. if len(m.CephMonitors) > 0 {
  7826. for _, s := range m.CephMonitors {
  7827. dAtA[i] = 0xa
  7828. i++
  7829. l = len(s)
  7830. for l >= 1<<7 {
  7831. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  7832. l >>= 7
  7833. i++
  7834. }
  7835. dAtA[i] = uint8(l)
  7836. i++
  7837. i += copy(dAtA[i:], s)
  7838. }
  7839. }
  7840. dAtA[i] = 0x12
  7841. i++
  7842. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDImage)))
  7843. i += copy(dAtA[i:], m.RBDImage)
  7844. dAtA[i] = 0x1a
  7845. i++
  7846. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  7847. i += copy(dAtA[i:], m.FSType)
  7848. dAtA[i] = 0x22
  7849. i++
  7850. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDPool)))
  7851. i += copy(dAtA[i:], m.RBDPool)
  7852. dAtA[i] = 0x2a
  7853. i++
  7854. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RadosUser)))
  7855. i += copy(dAtA[i:], m.RadosUser)
  7856. dAtA[i] = 0x32
  7857. i++
  7858. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Keyring)))
  7859. i += copy(dAtA[i:], m.Keyring)
  7860. if m.SecretRef != nil {
  7861. dAtA[i] = 0x3a
  7862. i++
  7863. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  7864. n165, err := m.SecretRef.MarshalTo(dAtA[i:])
  7865. if err != nil {
  7866. return 0, err
  7867. }
  7868. i += n165
  7869. }
  7870. dAtA[i] = 0x40
  7871. i++
  7872. if m.ReadOnly {
  7873. dAtA[i] = 1
  7874. } else {
  7875. dAtA[i] = 0
  7876. }
  7877. i++
  7878. return i, nil
  7879. }
  7880. func (m *RBDVolumeSource) Marshal() (dAtA []byte, err error) {
  7881. size := m.Size()
  7882. dAtA = make([]byte, size)
  7883. n, err := m.MarshalTo(dAtA)
  7884. if err != nil {
  7885. return nil, err
  7886. }
  7887. return dAtA[:n], nil
  7888. }
  7889. func (m *RBDVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7890. var i int
  7891. _ = i
  7892. var l int
  7893. _ = l
  7894. if len(m.CephMonitors) > 0 {
  7895. for _, s := range m.CephMonitors {
  7896. dAtA[i] = 0xa
  7897. i++
  7898. l = len(s)
  7899. for l >= 1<<7 {
  7900. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  7901. l >>= 7
  7902. i++
  7903. }
  7904. dAtA[i] = uint8(l)
  7905. i++
  7906. i += copy(dAtA[i:], s)
  7907. }
  7908. }
  7909. dAtA[i] = 0x12
  7910. i++
  7911. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDImage)))
  7912. i += copy(dAtA[i:], m.RBDImage)
  7913. dAtA[i] = 0x1a
  7914. i++
  7915. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  7916. i += copy(dAtA[i:], m.FSType)
  7917. dAtA[i] = 0x22
  7918. i++
  7919. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDPool)))
  7920. i += copy(dAtA[i:], m.RBDPool)
  7921. dAtA[i] = 0x2a
  7922. i++
  7923. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RadosUser)))
  7924. i += copy(dAtA[i:], m.RadosUser)
  7925. dAtA[i] = 0x32
  7926. i++
  7927. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Keyring)))
  7928. i += copy(dAtA[i:], m.Keyring)
  7929. if m.SecretRef != nil {
  7930. dAtA[i] = 0x3a
  7931. i++
  7932. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  7933. n166, err := m.SecretRef.MarshalTo(dAtA[i:])
  7934. if err != nil {
  7935. return 0, err
  7936. }
  7937. i += n166
  7938. }
  7939. dAtA[i] = 0x40
  7940. i++
  7941. if m.ReadOnly {
  7942. dAtA[i] = 1
  7943. } else {
  7944. dAtA[i] = 0
  7945. }
  7946. i++
  7947. return i, nil
  7948. }
  7949. func (m *RangeAllocation) Marshal() (dAtA []byte, err error) {
  7950. size := m.Size()
  7951. dAtA = make([]byte, size)
  7952. n, err := m.MarshalTo(dAtA)
  7953. if err != nil {
  7954. return nil, err
  7955. }
  7956. return dAtA[:n], nil
  7957. }
  7958. func (m *RangeAllocation) MarshalTo(dAtA []byte) (int, error) {
  7959. var i int
  7960. _ = i
  7961. var l int
  7962. _ = l
  7963. dAtA[i] = 0xa
  7964. i++
  7965. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7966. n167, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7967. if err != nil {
  7968. return 0, err
  7969. }
  7970. i += n167
  7971. dAtA[i] = 0x12
  7972. i++
  7973. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Range)))
  7974. i += copy(dAtA[i:], m.Range)
  7975. if m.Data != nil {
  7976. dAtA[i] = 0x1a
  7977. i++
  7978. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Data)))
  7979. i += copy(dAtA[i:], m.Data)
  7980. }
  7981. return i, nil
  7982. }
  7983. func (m *ReplicationController) Marshal() (dAtA []byte, err error) {
  7984. size := m.Size()
  7985. dAtA = make([]byte, size)
  7986. n, err := m.MarshalTo(dAtA)
  7987. if err != nil {
  7988. return nil, err
  7989. }
  7990. return dAtA[:n], nil
  7991. }
  7992. func (m *ReplicationController) MarshalTo(dAtA []byte) (int, error) {
  7993. var i int
  7994. _ = i
  7995. var l int
  7996. _ = l
  7997. dAtA[i] = 0xa
  7998. i++
  7999. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  8000. n168, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  8001. if err != nil {
  8002. return 0, err
  8003. }
  8004. i += n168
  8005. dAtA[i] = 0x12
  8006. i++
  8007. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  8008. n169, err := m.Spec.MarshalTo(dAtA[i:])
  8009. if err != nil {
  8010. return 0, err
  8011. }
  8012. i += n169
  8013. dAtA[i] = 0x1a
  8014. i++
  8015. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  8016. n170, err := m.Status.MarshalTo(dAtA[i:])
  8017. if err != nil {
  8018. return 0, err
  8019. }
  8020. i += n170
  8021. return i, nil
  8022. }
  8023. func (m *ReplicationControllerCondition) Marshal() (dAtA []byte, err error) {
  8024. size := m.Size()
  8025. dAtA = make([]byte, size)
  8026. n, err := m.MarshalTo(dAtA)
  8027. if err != nil {
  8028. return nil, err
  8029. }
  8030. return dAtA[:n], nil
  8031. }
  8032. func (m *ReplicationControllerCondition) MarshalTo(dAtA []byte) (int, error) {
  8033. var i int
  8034. _ = i
  8035. var l int
  8036. _ = l
  8037. dAtA[i] = 0xa
  8038. i++
  8039. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  8040. i += copy(dAtA[i:], m.Type)
  8041. dAtA[i] = 0x12
  8042. i++
  8043. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  8044. i += copy(dAtA[i:], m.Status)
  8045. dAtA[i] = 0x1a
  8046. i++
  8047. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  8048. n171, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  8049. if err != nil {
  8050. return 0, err
  8051. }
  8052. i += n171
  8053. dAtA[i] = 0x22
  8054. i++
  8055. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  8056. i += copy(dAtA[i:], m.Reason)
  8057. dAtA[i] = 0x2a
  8058. i++
  8059. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  8060. i += copy(dAtA[i:], m.Message)
  8061. return i, nil
  8062. }
  8063. func (m *ReplicationControllerList) Marshal() (dAtA []byte, err error) {
  8064. size := m.Size()
  8065. dAtA = make([]byte, size)
  8066. n, err := m.MarshalTo(dAtA)
  8067. if err != nil {
  8068. return nil, err
  8069. }
  8070. return dAtA[:n], nil
  8071. }
  8072. func (m *ReplicationControllerList) MarshalTo(dAtA []byte) (int, error) {
  8073. var i int
  8074. _ = i
  8075. var l int
  8076. _ = l
  8077. dAtA[i] = 0xa
  8078. i++
  8079. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  8080. n172, err := m.ListMeta.MarshalTo(dAtA[i:])
  8081. if err != nil {
  8082. return 0, err
  8083. }
  8084. i += n172
  8085. if len(m.Items) > 0 {
  8086. for _, msg := range m.Items {
  8087. dAtA[i] = 0x12
  8088. i++
  8089. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8090. n, err := msg.MarshalTo(dAtA[i:])
  8091. if err != nil {
  8092. return 0, err
  8093. }
  8094. i += n
  8095. }
  8096. }
  8097. return i, nil
  8098. }
  8099. func (m *ReplicationControllerSpec) Marshal() (dAtA []byte, err error) {
  8100. size := m.Size()
  8101. dAtA = make([]byte, size)
  8102. n, err := m.MarshalTo(dAtA)
  8103. if err != nil {
  8104. return nil, err
  8105. }
  8106. return dAtA[:n], nil
  8107. }
  8108. func (m *ReplicationControllerSpec) MarshalTo(dAtA []byte) (int, error) {
  8109. var i int
  8110. _ = i
  8111. var l int
  8112. _ = l
  8113. if m.Replicas != nil {
  8114. dAtA[i] = 0x8
  8115. i++
  8116. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  8117. }
  8118. if len(m.Selector) > 0 {
  8119. keysForSelector := make([]string, 0, len(m.Selector))
  8120. for k := range m.Selector {
  8121. keysForSelector = append(keysForSelector, string(k))
  8122. }
  8123. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  8124. for _, k := range keysForSelector {
  8125. dAtA[i] = 0x12
  8126. i++
  8127. v := m.Selector[string(k)]
  8128. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  8129. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8130. dAtA[i] = 0xa
  8131. i++
  8132. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8133. i += copy(dAtA[i:], k)
  8134. dAtA[i] = 0x12
  8135. i++
  8136. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  8137. i += copy(dAtA[i:], v)
  8138. }
  8139. }
  8140. if m.Template != nil {
  8141. dAtA[i] = 0x1a
  8142. i++
  8143. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  8144. n173, err := m.Template.MarshalTo(dAtA[i:])
  8145. if err != nil {
  8146. return 0, err
  8147. }
  8148. i += n173
  8149. }
  8150. dAtA[i] = 0x20
  8151. i++
  8152. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  8153. return i, nil
  8154. }
  8155. func (m *ReplicationControllerStatus) Marshal() (dAtA []byte, err error) {
  8156. size := m.Size()
  8157. dAtA = make([]byte, size)
  8158. n, err := m.MarshalTo(dAtA)
  8159. if err != nil {
  8160. return nil, err
  8161. }
  8162. return dAtA[:n], nil
  8163. }
  8164. func (m *ReplicationControllerStatus) MarshalTo(dAtA []byte) (int, error) {
  8165. var i int
  8166. _ = i
  8167. var l int
  8168. _ = l
  8169. dAtA[i] = 0x8
  8170. i++
  8171. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  8172. dAtA[i] = 0x10
  8173. i++
  8174. i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
  8175. dAtA[i] = 0x18
  8176. i++
  8177. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  8178. dAtA[i] = 0x20
  8179. i++
  8180. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  8181. dAtA[i] = 0x28
  8182. i++
  8183. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  8184. if len(m.Conditions) > 0 {
  8185. for _, msg := range m.Conditions {
  8186. dAtA[i] = 0x32
  8187. i++
  8188. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8189. n, err := msg.MarshalTo(dAtA[i:])
  8190. if err != nil {
  8191. return 0, err
  8192. }
  8193. i += n
  8194. }
  8195. }
  8196. return i, nil
  8197. }
  8198. func (m *ResourceFieldSelector) Marshal() (dAtA []byte, err error) {
  8199. size := m.Size()
  8200. dAtA = make([]byte, size)
  8201. n, err := m.MarshalTo(dAtA)
  8202. if err != nil {
  8203. return nil, err
  8204. }
  8205. return dAtA[:n], nil
  8206. }
  8207. func (m *ResourceFieldSelector) MarshalTo(dAtA []byte) (int, error) {
  8208. var i int
  8209. _ = i
  8210. var l int
  8211. _ = l
  8212. dAtA[i] = 0xa
  8213. i++
  8214. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerName)))
  8215. i += copy(dAtA[i:], m.ContainerName)
  8216. dAtA[i] = 0x12
  8217. i++
  8218. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
  8219. i += copy(dAtA[i:], m.Resource)
  8220. dAtA[i] = 0x1a
  8221. i++
  8222. i = encodeVarintGenerated(dAtA, i, uint64(m.Divisor.Size()))
  8223. n174, err := m.Divisor.MarshalTo(dAtA[i:])
  8224. if err != nil {
  8225. return 0, err
  8226. }
  8227. i += n174
  8228. return i, nil
  8229. }
  8230. func (m *ResourceQuota) Marshal() (dAtA []byte, err error) {
  8231. size := m.Size()
  8232. dAtA = make([]byte, size)
  8233. n, err := m.MarshalTo(dAtA)
  8234. if err != nil {
  8235. return nil, err
  8236. }
  8237. return dAtA[:n], nil
  8238. }
  8239. func (m *ResourceQuota) MarshalTo(dAtA []byte) (int, error) {
  8240. var i int
  8241. _ = i
  8242. var l int
  8243. _ = l
  8244. dAtA[i] = 0xa
  8245. i++
  8246. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  8247. n175, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  8248. if err != nil {
  8249. return 0, err
  8250. }
  8251. i += n175
  8252. dAtA[i] = 0x12
  8253. i++
  8254. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  8255. n176, err := m.Spec.MarshalTo(dAtA[i:])
  8256. if err != nil {
  8257. return 0, err
  8258. }
  8259. i += n176
  8260. dAtA[i] = 0x1a
  8261. i++
  8262. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  8263. n177, err := m.Status.MarshalTo(dAtA[i:])
  8264. if err != nil {
  8265. return 0, err
  8266. }
  8267. i += n177
  8268. return i, nil
  8269. }
  8270. func (m *ResourceQuotaList) Marshal() (dAtA []byte, err error) {
  8271. size := m.Size()
  8272. dAtA = make([]byte, size)
  8273. n, err := m.MarshalTo(dAtA)
  8274. if err != nil {
  8275. return nil, err
  8276. }
  8277. return dAtA[:n], nil
  8278. }
  8279. func (m *ResourceQuotaList) MarshalTo(dAtA []byte) (int, error) {
  8280. var i int
  8281. _ = i
  8282. var l int
  8283. _ = l
  8284. dAtA[i] = 0xa
  8285. i++
  8286. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  8287. n178, err := m.ListMeta.MarshalTo(dAtA[i:])
  8288. if err != nil {
  8289. return 0, err
  8290. }
  8291. i += n178
  8292. if len(m.Items) > 0 {
  8293. for _, msg := range m.Items {
  8294. dAtA[i] = 0x12
  8295. i++
  8296. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8297. n, err := msg.MarshalTo(dAtA[i:])
  8298. if err != nil {
  8299. return 0, err
  8300. }
  8301. i += n
  8302. }
  8303. }
  8304. return i, nil
  8305. }
  8306. func (m *ResourceQuotaSpec) Marshal() (dAtA []byte, err error) {
  8307. size := m.Size()
  8308. dAtA = make([]byte, size)
  8309. n, err := m.MarshalTo(dAtA)
  8310. if err != nil {
  8311. return nil, err
  8312. }
  8313. return dAtA[:n], nil
  8314. }
  8315. func (m *ResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error) {
  8316. var i int
  8317. _ = i
  8318. var l int
  8319. _ = l
  8320. if len(m.Hard) > 0 {
  8321. keysForHard := make([]string, 0, len(m.Hard))
  8322. for k := range m.Hard {
  8323. keysForHard = append(keysForHard, string(k))
  8324. }
  8325. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  8326. for _, k := range keysForHard {
  8327. dAtA[i] = 0xa
  8328. i++
  8329. v := m.Hard[ResourceName(k)]
  8330. msgSize := 0
  8331. if (&v) != nil {
  8332. msgSize = (&v).Size()
  8333. msgSize += 1 + sovGenerated(uint64(msgSize))
  8334. }
  8335. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8336. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8337. dAtA[i] = 0xa
  8338. i++
  8339. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8340. i += copy(dAtA[i:], k)
  8341. dAtA[i] = 0x12
  8342. i++
  8343. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8344. n179, err := (&v).MarshalTo(dAtA[i:])
  8345. if err != nil {
  8346. return 0, err
  8347. }
  8348. i += n179
  8349. }
  8350. }
  8351. if len(m.Scopes) > 0 {
  8352. for _, s := range m.Scopes {
  8353. dAtA[i] = 0x12
  8354. i++
  8355. l = len(s)
  8356. for l >= 1<<7 {
  8357. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  8358. l >>= 7
  8359. i++
  8360. }
  8361. dAtA[i] = uint8(l)
  8362. i++
  8363. i += copy(dAtA[i:], s)
  8364. }
  8365. }
  8366. if m.ScopeSelector != nil {
  8367. dAtA[i] = 0x1a
  8368. i++
  8369. i = encodeVarintGenerated(dAtA, i, uint64(m.ScopeSelector.Size()))
  8370. n180, err := m.ScopeSelector.MarshalTo(dAtA[i:])
  8371. if err != nil {
  8372. return 0, err
  8373. }
  8374. i += n180
  8375. }
  8376. return i, nil
  8377. }
  8378. func (m *ResourceQuotaStatus) Marshal() (dAtA []byte, err error) {
  8379. size := m.Size()
  8380. dAtA = make([]byte, size)
  8381. n, err := m.MarshalTo(dAtA)
  8382. if err != nil {
  8383. return nil, err
  8384. }
  8385. return dAtA[:n], nil
  8386. }
  8387. func (m *ResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error) {
  8388. var i int
  8389. _ = i
  8390. var l int
  8391. _ = l
  8392. if len(m.Hard) > 0 {
  8393. keysForHard := make([]string, 0, len(m.Hard))
  8394. for k := range m.Hard {
  8395. keysForHard = append(keysForHard, string(k))
  8396. }
  8397. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  8398. for _, k := range keysForHard {
  8399. dAtA[i] = 0xa
  8400. i++
  8401. v := m.Hard[ResourceName(k)]
  8402. msgSize := 0
  8403. if (&v) != nil {
  8404. msgSize = (&v).Size()
  8405. msgSize += 1 + sovGenerated(uint64(msgSize))
  8406. }
  8407. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8408. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8409. dAtA[i] = 0xa
  8410. i++
  8411. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8412. i += copy(dAtA[i:], k)
  8413. dAtA[i] = 0x12
  8414. i++
  8415. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8416. n181, err := (&v).MarshalTo(dAtA[i:])
  8417. if err != nil {
  8418. return 0, err
  8419. }
  8420. i += n181
  8421. }
  8422. }
  8423. if len(m.Used) > 0 {
  8424. keysForUsed := make([]string, 0, len(m.Used))
  8425. for k := range m.Used {
  8426. keysForUsed = append(keysForUsed, string(k))
  8427. }
  8428. github_com_gogo_protobuf_sortkeys.Strings(keysForUsed)
  8429. for _, k := range keysForUsed {
  8430. dAtA[i] = 0x12
  8431. i++
  8432. v := m.Used[ResourceName(k)]
  8433. msgSize := 0
  8434. if (&v) != nil {
  8435. msgSize = (&v).Size()
  8436. msgSize += 1 + sovGenerated(uint64(msgSize))
  8437. }
  8438. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8439. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8440. dAtA[i] = 0xa
  8441. i++
  8442. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8443. i += copy(dAtA[i:], k)
  8444. dAtA[i] = 0x12
  8445. i++
  8446. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8447. n182, err := (&v).MarshalTo(dAtA[i:])
  8448. if err != nil {
  8449. return 0, err
  8450. }
  8451. i += n182
  8452. }
  8453. }
  8454. return i, nil
  8455. }
  8456. func (m *ResourceRequirements) Marshal() (dAtA []byte, err error) {
  8457. size := m.Size()
  8458. dAtA = make([]byte, size)
  8459. n, err := m.MarshalTo(dAtA)
  8460. if err != nil {
  8461. return nil, err
  8462. }
  8463. return dAtA[:n], nil
  8464. }
  8465. func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error) {
  8466. var i int
  8467. _ = i
  8468. var l int
  8469. _ = l
  8470. if len(m.Limits) > 0 {
  8471. keysForLimits := make([]string, 0, len(m.Limits))
  8472. for k := range m.Limits {
  8473. keysForLimits = append(keysForLimits, string(k))
  8474. }
  8475. github_com_gogo_protobuf_sortkeys.Strings(keysForLimits)
  8476. for _, k := range keysForLimits {
  8477. dAtA[i] = 0xa
  8478. i++
  8479. v := m.Limits[ResourceName(k)]
  8480. msgSize := 0
  8481. if (&v) != nil {
  8482. msgSize = (&v).Size()
  8483. msgSize += 1 + sovGenerated(uint64(msgSize))
  8484. }
  8485. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8486. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8487. dAtA[i] = 0xa
  8488. i++
  8489. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8490. i += copy(dAtA[i:], k)
  8491. dAtA[i] = 0x12
  8492. i++
  8493. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8494. n183, err := (&v).MarshalTo(dAtA[i:])
  8495. if err != nil {
  8496. return 0, err
  8497. }
  8498. i += n183
  8499. }
  8500. }
  8501. if len(m.Requests) > 0 {
  8502. keysForRequests := make([]string, 0, len(m.Requests))
  8503. for k := range m.Requests {
  8504. keysForRequests = append(keysForRequests, string(k))
  8505. }
  8506. github_com_gogo_protobuf_sortkeys.Strings(keysForRequests)
  8507. for _, k := range keysForRequests {
  8508. dAtA[i] = 0x12
  8509. i++
  8510. v := m.Requests[ResourceName(k)]
  8511. msgSize := 0
  8512. if (&v) != nil {
  8513. msgSize = (&v).Size()
  8514. msgSize += 1 + sovGenerated(uint64(msgSize))
  8515. }
  8516. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8517. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8518. dAtA[i] = 0xa
  8519. i++
  8520. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8521. i += copy(dAtA[i:], k)
  8522. dAtA[i] = 0x12
  8523. i++
  8524. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8525. n184, err := (&v).MarshalTo(dAtA[i:])
  8526. if err != nil {
  8527. return 0, err
  8528. }
  8529. i += n184
  8530. }
  8531. }
  8532. return i, nil
  8533. }
  8534. func (m *SELinuxOptions) Marshal() (dAtA []byte, err error) {
  8535. size := m.Size()
  8536. dAtA = make([]byte, size)
  8537. n, err := m.MarshalTo(dAtA)
  8538. if err != nil {
  8539. return nil, err
  8540. }
  8541. return dAtA[:n], nil
  8542. }
  8543. func (m *SELinuxOptions) MarshalTo(dAtA []byte) (int, error) {
  8544. var i int
  8545. _ = i
  8546. var l int
  8547. _ = l
  8548. dAtA[i] = 0xa
  8549. i++
  8550. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  8551. i += copy(dAtA[i:], m.User)
  8552. dAtA[i] = 0x12
  8553. i++
  8554. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Role)))
  8555. i += copy(dAtA[i:], m.Role)
  8556. dAtA[i] = 0x1a
  8557. i++
  8558. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  8559. i += copy(dAtA[i:], m.Type)
  8560. dAtA[i] = 0x22
  8561. i++
  8562. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Level)))
  8563. i += copy(dAtA[i:], m.Level)
  8564. return i, nil
  8565. }
  8566. func (m *ScaleIOPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  8567. size := m.Size()
  8568. dAtA = make([]byte, size)
  8569. n, err := m.MarshalTo(dAtA)
  8570. if err != nil {
  8571. return nil, err
  8572. }
  8573. return dAtA[:n], nil
  8574. }
  8575. func (m *ScaleIOPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  8576. var i int
  8577. _ = i
  8578. var l int
  8579. _ = l
  8580. dAtA[i] = 0xa
  8581. i++
  8582. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Gateway)))
  8583. i += copy(dAtA[i:], m.Gateway)
  8584. dAtA[i] = 0x12
  8585. i++
  8586. i = encodeVarintGenerated(dAtA, i, uint64(len(m.System)))
  8587. i += copy(dAtA[i:], m.System)
  8588. if m.SecretRef != nil {
  8589. dAtA[i] = 0x1a
  8590. i++
  8591. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  8592. n185, err := m.SecretRef.MarshalTo(dAtA[i:])
  8593. if err != nil {
  8594. return 0, err
  8595. }
  8596. i += n185
  8597. }
  8598. dAtA[i] = 0x20
  8599. i++
  8600. if m.SSLEnabled {
  8601. dAtA[i] = 1
  8602. } else {
  8603. dAtA[i] = 0
  8604. }
  8605. i++
  8606. dAtA[i] = 0x2a
  8607. i++
  8608. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ProtectionDomain)))
  8609. i += copy(dAtA[i:], m.ProtectionDomain)
  8610. dAtA[i] = 0x32
  8611. i++
  8612. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePool)))
  8613. i += copy(dAtA[i:], m.StoragePool)
  8614. dAtA[i] = 0x3a
  8615. i++
  8616. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageMode)))
  8617. i += copy(dAtA[i:], m.StorageMode)
  8618. dAtA[i] = 0x42
  8619. i++
  8620. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  8621. i += copy(dAtA[i:], m.VolumeName)
  8622. dAtA[i] = 0x4a
  8623. i++
  8624. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  8625. i += copy(dAtA[i:], m.FSType)
  8626. dAtA[i] = 0x50
  8627. i++
  8628. if m.ReadOnly {
  8629. dAtA[i] = 1
  8630. } else {
  8631. dAtA[i] = 0
  8632. }
  8633. i++
  8634. return i, nil
  8635. }
  8636. func (m *ScaleIOVolumeSource) Marshal() (dAtA []byte, err error) {
  8637. size := m.Size()
  8638. dAtA = make([]byte, size)
  8639. n, err := m.MarshalTo(dAtA)
  8640. if err != nil {
  8641. return nil, err
  8642. }
  8643. return dAtA[:n], nil
  8644. }
  8645. func (m *ScaleIOVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  8646. var i int
  8647. _ = i
  8648. var l int
  8649. _ = l
  8650. dAtA[i] = 0xa
  8651. i++
  8652. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Gateway)))
  8653. i += copy(dAtA[i:], m.Gateway)
  8654. dAtA[i] = 0x12
  8655. i++
  8656. i = encodeVarintGenerated(dAtA, i, uint64(len(m.System)))
  8657. i += copy(dAtA[i:], m.System)
  8658. if m.SecretRef != nil {
  8659. dAtA[i] = 0x1a
  8660. i++
  8661. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  8662. n186, err := m.SecretRef.MarshalTo(dAtA[i:])
  8663. if err != nil {
  8664. return 0, err
  8665. }
  8666. i += n186
  8667. }
  8668. dAtA[i] = 0x20
  8669. i++
  8670. if m.SSLEnabled {
  8671. dAtA[i] = 1
  8672. } else {
  8673. dAtA[i] = 0
  8674. }
  8675. i++
  8676. dAtA[i] = 0x2a
  8677. i++
  8678. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ProtectionDomain)))
  8679. i += copy(dAtA[i:], m.ProtectionDomain)
  8680. dAtA[i] = 0x32
  8681. i++
  8682. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePool)))
  8683. i += copy(dAtA[i:], m.StoragePool)
  8684. dAtA[i] = 0x3a
  8685. i++
  8686. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageMode)))
  8687. i += copy(dAtA[i:], m.StorageMode)
  8688. dAtA[i] = 0x42
  8689. i++
  8690. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  8691. i += copy(dAtA[i:], m.VolumeName)
  8692. dAtA[i] = 0x4a
  8693. i++
  8694. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  8695. i += copy(dAtA[i:], m.FSType)
  8696. dAtA[i] = 0x50
  8697. i++
  8698. if m.ReadOnly {
  8699. dAtA[i] = 1
  8700. } else {
  8701. dAtA[i] = 0
  8702. }
  8703. i++
  8704. return i, nil
  8705. }
  8706. func (m *ScopeSelector) Marshal() (dAtA []byte, err error) {
  8707. size := m.Size()
  8708. dAtA = make([]byte, size)
  8709. n, err := m.MarshalTo(dAtA)
  8710. if err != nil {
  8711. return nil, err
  8712. }
  8713. return dAtA[:n], nil
  8714. }
  8715. func (m *ScopeSelector) MarshalTo(dAtA []byte) (int, error) {
  8716. var i int
  8717. _ = i
  8718. var l int
  8719. _ = l
  8720. if len(m.MatchExpressions) > 0 {
  8721. for _, msg := range m.MatchExpressions {
  8722. dAtA[i] = 0xa
  8723. i++
  8724. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8725. n, err := msg.MarshalTo(dAtA[i:])
  8726. if err != nil {
  8727. return 0, err
  8728. }
  8729. i += n
  8730. }
  8731. }
  8732. return i, nil
  8733. }
  8734. func (m *ScopedResourceSelectorRequirement) Marshal() (dAtA []byte, err error) {
  8735. size := m.Size()
  8736. dAtA = make([]byte, size)
  8737. n, err := m.MarshalTo(dAtA)
  8738. if err != nil {
  8739. return nil, err
  8740. }
  8741. return dAtA[:n], nil
  8742. }
  8743. func (m *ScopedResourceSelectorRequirement) MarshalTo(dAtA []byte) (int, error) {
  8744. var i int
  8745. _ = i
  8746. var l int
  8747. _ = l
  8748. dAtA[i] = 0xa
  8749. i++
  8750. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ScopeName)))
  8751. i += copy(dAtA[i:], m.ScopeName)
  8752. dAtA[i] = 0x12
  8753. i++
  8754. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
  8755. i += copy(dAtA[i:], m.Operator)
  8756. if len(m.Values) > 0 {
  8757. for _, s := range m.Values {
  8758. dAtA[i] = 0x1a
  8759. i++
  8760. l = len(s)
  8761. for l >= 1<<7 {
  8762. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  8763. l >>= 7
  8764. i++
  8765. }
  8766. dAtA[i] = uint8(l)
  8767. i++
  8768. i += copy(dAtA[i:], s)
  8769. }
  8770. }
  8771. return i, nil
  8772. }
  8773. func (m *Secret) Marshal() (dAtA []byte, err error) {
  8774. size := m.Size()
  8775. dAtA = make([]byte, size)
  8776. n, err := m.MarshalTo(dAtA)
  8777. if err != nil {
  8778. return nil, err
  8779. }
  8780. return dAtA[:n], nil
  8781. }
  8782. func (m *Secret) MarshalTo(dAtA []byte) (int, error) {
  8783. var i int
  8784. _ = i
  8785. var l int
  8786. _ = l
  8787. dAtA[i] = 0xa
  8788. i++
  8789. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  8790. n187, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  8791. if err != nil {
  8792. return 0, err
  8793. }
  8794. i += n187
  8795. if len(m.Data) > 0 {
  8796. keysForData := make([]string, 0, len(m.Data))
  8797. for k := range m.Data {
  8798. keysForData = append(keysForData, string(k))
  8799. }
  8800. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  8801. for _, k := range keysForData {
  8802. dAtA[i] = 0x12
  8803. i++
  8804. v := m.Data[string(k)]
  8805. byteSize := 0
  8806. if v != nil {
  8807. byteSize = 1 + len(v) + sovGenerated(uint64(len(v)))
  8808. }
  8809. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + byteSize
  8810. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8811. dAtA[i] = 0xa
  8812. i++
  8813. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8814. i += copy(dAtA[i:], k)
  8815. if v != nil {
  8816. dAtA[i] = 0x12
  8817. i++
  8818. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  8819. i += copy(dAtA[i:], v)
  8820. }
  8821. }
  8822. }
  8823. dAtA[i] = 0x1a
  8824. i++
  8825. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  8826. i += copy(dAtA[i:], m.Type)
  8827. if len(m.StringData) > 0 {
  8828. keysForStringData := make([]string, 0, len(m.StringData))
  8829. for k := range m.StringData {
  8830. keysForStringData = append(keysForStringData, string(k))
  8831. }
  8832. github_com_gogo_protobuf_sortkeys.Strings(keysForStringData)
  8833. for _, k := range keysForStringData {
  8834. dAtA[i] = 0x22
  8835. i++
  8836. v := m.StringData[string(k)]
  8837. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  8838. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8839. dAtA[i] = 0xa
  8840. i++
  8841. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8842. i += copy(dAtA[i:], k)
  8843. dAtA[i] = 0x12
  8844. i++
  8845. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  8846. i += copy(dAtA[i:], v)
  8847. }
  8848. }
  8849. return i, nil
  8850. }
  8851. func (m *SecretEnvSource) Marshal() (dAtA []byte, err error) {
  8852. size := m.Size()
  8853. dAtA = make([]byte, size)
  8854. n, err := m.MarshalTo(dAtA)
  8855. if err != nil {
  8856. return nil, err
  8857. }
  8858. return dAtA[:n], nil
  8859. }
  8860. func (m *SecretEnvSource) MarshalTo(dAtA []byte) (int, error) {
  8861. var i int
  8862. _ = i
  8863. var l int
  8864. _ = l
  8865. dAtA[i] = 0xa
  8866. i++
  8867. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  8868. n188, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  8869. if err != nil {
  8870. return 0, err
  8871. }
  8872. i += n188
  8873. if m.Optional != nil {
  8874. dAtA[i] = 0x10
  8875. i++
  8876. if *m.Optional {
  8877. dAtA[i] = 1
  8878. } else {
  8879. dAtA[i] = 0
  8880. }
  8881. i++
  8882. }
  8883. return i, nil
  8884. }
  8885. func (m *SecretKeySelector) Marshal() (dAtA []byte, err error) {
  8886. size := m.Size()
  8887. dAtA = make([]byte, size)
  8888. n, err := m.MarshalTo(dAtA)
  8889. if err != nil {
  8890. return nil, err
  8891. }
  8892. return dAtA[:n], nil
  8893. }
  8894. func (m *SecretKeySelector) MarshalTo(dAtA []byte) (int, error) {
  8895. var i int
  8896. _ = i
  8897. var l int
  8898. _ = l
  8899. dAtA[i] = 0xa
  8900. i++
  8901. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  8902. n189, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  8903. if err != nil {
  8904. return 0, err
  8905. }
  8906. i += n189
  8907. dAtA[i] = 0x12
  8908. i++
  8909. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  8910. i += copy(dAtA[i:], m.Key)
  8911. if m.Optional != nil {
  8912. dAtA[i] = 0x18
  8913. i++
  8914. if *m.Optional {
  8915. dAtA[i] = 1
  8916. } else {
  8917. dAtA[i] = 0
  8918. }
  8919. i++
  8920. }
  8921. return i, nil
  8922. }
  8923. func (m *SecretList) Marshal() (dAtA []byte, err error) {
  8924. size := m.Size()
  8925. dAtA = make([]byte, size)
  8926. n, err := m.MarshalTo(dAtA)
  8927. if err != nil {
  8928. return nil, err
  8929. }
  8930. return dAtA[:n], nil
  8931. }
  8932. func (m *SecretList) MarshalTo(dAtA []byte) (int, error) {
  8933. var i int
  8934. _ = i
  8935. var l int
  8936. _ = l
  8937. dAtA[i] = 0xa
  8938. i++
  8939. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  8940. n190, err := m.ListMeta.MarshalTo(dAtA[i:])
  8941. if err != nil {
  8942. return 0, err
  8943. }
  8944. i += n190
  8945. if len(m.Items) > 0 {
  8946. for _, msg := range m.Items {
  8947. dAtA[i] = 0x12
  8948. i++
  8949. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8950. n, err := msg.MarshalTo(dAtA[i:])
  8951. if err != nil {
  8952. return 0, err
  8953. }
  8954. i += n
  8955. }
  8956. }
  8957. return i, nil
  8958. }
  8959. func (m *SecretProjection) Marshal() (dAtA []byte, err error) {
  8960. size := m.Size()
  8961. dAtA = make([]byte, size)
  8962. n, err := m.MarshalTo(dAtA)
  8963. if err != nil {
  8964. return nil, err
  8965. }
  8966. return dAtA[:n], nil
  8967. }
  8968. func (m *SecretProjection) MarshalTo(dAtA []byte) (int, error) {
  8969. var i int
  8970. _ = i
  8971. var l int
  8972. _ = l
  8973. dAtA[i] = 0xa
  8974. i++
  8975. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  8976. n191, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  8977. if err != nil {
  8978. return 0, err
  8979. }
  8980. i += n191
  8981. if len(m.Items) > 0 {
  8982. for _, msg := range m.Items {
  8983. dAtA[i] = 0x12
  8984. i++
  8985. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8986. n, err := msg.MarshalTo(dAtA[i:])
  8987. if err != nil {
  8988. return 0, err
  8989. }
  8990. i += n
  8991. }
  8992. }
  8993. if m.Optional != nil {
  8994. dAtA[i] = 0x20
  8995. i++
  8996. if *m.Optional {
  8997. dAtA[i] = 1
  8998. } else {
  8999. dAtA[i] = 0
  9000. }
  9001. i++
  9002. }
  9003. return i, nil
  9004. }
  9005. func (m *SecretReference) Marshal() (dAtA []byte, err error) {
  9006. size := m.Size()
  9007. dAtA = make([]byte, size)
  9008. n, err := m.MarshalTo(dAtA)
  9009. if err != nil {
  9010. return nil, err
  9011. }
  9012. return dAtA[:n], nil
  9013. }
  9014. func (m *SecretReference) MarshalTo(dAtA []byte) (int, error) {
  9015. var i int
  9016. _ = i
  9017. var l int
  9018. _ = l
  9019. dAtA[i] = 0xa
  9020. i++
  9021. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9022. i += copy(dAtA[i:], m.Name)
  9023. dAtA[i] = 0x12
  9024. i++
  9025. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
  9026. i += copy(dAtA[i:], m.Namespace)
  9027. return i, nil
  9028. }
  9029. func (m *SecretVolumeSource) Marshal() (dAtA []byte, err error) {
  9030. size := m.Size()
  9031. dAtA = make([]byte, size)
  9032. n, err := m.MarshalTo(dAtA)
  9033. if err != nil {
  9034. return nil, err
  9035. }
  9036. return dAtA[:n], nil
  9037. }
  9038. func (m *SecretVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  9039. var i int
  9040. _ = i
  9041. var l int
  9042. _ = l
  9043. dAtA[i] = 0xa
  9044. i++
  9045. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
  9046. i += copy(dAtA[i:], m.SecretName)
  9047. if len(m.Items) > 0 {
  9048. for _, msg := range m.Items {
  9049. dAtA[i] = 0x12
  9050. i++
  9051. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9052. n, err := msg.MarshalTo(dAtA[i:])
  9053. if err != nil {
  9054. return 0, err
  9055. }
  9056. i += n
  9057. }
  9058. }
  9059. if m.DefaultMode != nil {
  9060. dAtA[i] = 0x18
  9061. i++
  9062. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  9063. }
  9064. if m.Optional != nil {
  9065. dAtA[i] = 0x20
  9066. i++
  9067. if *m.Optional {
  9068. dAtA[i] = 1
  9069. } else {
  9070. dAtA[i] = 0
  9071. }
  9072. i++
  9073. }
  9074. return i, nil
  9075. }
  9076. func (m *SecurityContext) Marshal() (dAtA []byte, err error) {
  9077. size := m.Size()
  9078. dAtA = make([]byte, size)
  9079. n, err := m.MarshalTo(dAtA)
  9080. if err != nil {
  9081. return nil, err
  9082. }
  9083. return dAtA[:n], nil
  9084. }
  9085. func (m *SecurityContext) MarshalTo(dAtA []byte) (int, error) {
  9086. var i int
  9087. _ = i
  9088. var l int
  9089. _ = l
  9090. if m.Capabilities != nil {
  9091. dAtA[i] = 0xa
  9092. i++
  9093. i = encodeVarintGenerated(dAtA, i, uint64(m.Capabilities.Size()))
  9094. n192, err := m.Capabilities.MarshalTo(dAtA[i:])
  9095. if err != nil {
  9096. return 0, err
  9097. }
  9098. i += n192
  9099. }
  9100. if m.Privileged != nil {
  9101. dAtA[i] = 0x10
  9102. i++
  9103. if *m.Privileged {
  9104. dAtA[i] = 1
  9105. } else {
  9106. dAtA[i] = 0
  9107. }
  9108. i++
  9109. }
  9110. if m.SELinuxOptions != nil {
  9111. dAtA[i] = 0x1a
  9112. i++
  9113. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
  9114. n193, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
  9115. if err != nil {
  9116. return 0, err
  9117. }
  9118. i += n193
  9119. }
  9120. if m.RunAsUser != nil {
  9121. dAtA[i] = 0x20
  9122. i++
  9123. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsUser))
  9124. }
  9125. if m.RunAsNonRoot != nil {
  9126. dAtA[i] = 0x28
  9127. i++
  9128. if *m.RunAsNonRoot {
  9129. dAtA[i] = 1
  9130. } else {
  9131. dAtA[i] = 0
  9132. }
  9133. i++
  9134. }
  9135. if m.ReadOnlyRootFilesystem != nil {
  9136. dAtA[i] = 0x30
  9137. i++
  9138. if *m.ReadOnlyRootFilesystem {
  9139. dAtA[i] = 1
  9140. } else {
  9141. dAtA[i] = 0
  9142. }
  9143. i++
  9144. }
  9145. if m.AllowPrivilegeEscalation != nil {
  9146. dAtA[i] = 0x38
  9147. i++
  9148. if *m.AllowPrivilegeEscalation {
  9149. dAtA[i] = 1
  9150. } else {
  9151. dAtA[i] = 0
  9152. }
  9153. i++
  9154. }
  9155. if m.RunAsGroup != nil {
  9156. dAtA[i] = 0x40
  9157. i++
  9158. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsGroup))
  9159. }
  9160. if m.ProcMount != nil {
  9161. dAtA[i] = 0x4a
  9162. i++
  9163. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ProcMount)))
  9164. i += copy(dAtA[i:], *m.ProcMount)
  9165. }
  9166. return i, nil
  9167. }
  9168. func (m *SerializedReference) Marshal() (dAtA []byte, err error) {
  9169. size := m.Size()
  9170. dAtA = make([]byte, size)
  9171. n, err := m.MarshalTo(dAtA)
  9172. if err != nil {
  9173. return nil, err
  9174. }
  9175. return dAtA[:n], nil
  9176. }
  9177. func (m *SerializedReference) MarshalTo(dAtA []byte) (int, error) {
  9178. var i int
  9179. _ = i
  9180. var l int
  9181. _ = l
  9182. dAtA[i] = 0xa
  9183. i++
  9184. i = encodeVarintGenerated(dAtA, i, uint64(m.Reference.Size()))
  9185. n194, err := m.Reference.MarshalTo(dAtA[i:])
  9186. if err != nil {
  9187. return 0, err
  9188. }
  9189. i += n194
  9190. return i, nil
  9191. }
  9192. func (m *Service) Marshal() (dAtA []byte, err error) {
  9193. size := m.Size()
  9194. dAtA = make([]byte, size)
  9195. n, err := m.MarshalTo(dAtA)
  9196. if err != nil {
  9197. return nil, err
  9198. }
  9199. return dAtA[:n], nil
  9200. }
  9201. func (m *Service) MarshalTo(dAtA []byte) (int, error) {
  9202. var i int
  9203. _ = i
  9204. var l int
  9205. _ = l
  9206. dAtA[i] = 0xa
  9207. i++
  9208. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  9209. n195, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  9210. if err != nil {
  9211. return 0, err
  9212. }
  9213. i += n195
  9214. dAtA[i] = 0x12
  9215. i++
  9216. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  9217. n196, err := m.Spec.MarshalTo(dAtA[i:])
  9218. if err != nil {
  9219. return 0, err
  9220. }
  9221. i += n196
  9222. dAtA[i] = 0x1a
  9223. i++
  9224. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  9225. n197, err := m.Status.MarshalTo(dAtA[i:])
  9226. if err != nil {
  9227. return 0, err
  9228. }
  9229. i += n197
  9230. return i, nil
  9231. }
  9232. func (m *ServiceAccount) Marshal() (dAtA []byte, err error) {
  9233. size := m.Size()
  9234. dAtA = make([]byte, size)
  9235. n, err := m.MarshalTo(dAtA)
  9236. if err != nil {
  9237. return nil, err
  9238. }
  9239. return dAtA[:n], nil
  9240. }
  9241. func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error) {
  9242. var i int
  9243. _ = i
  9244. var l int
  9245. _ = l
  9246. dAtA[i] = 0xa
  9247. i++
  9248. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  9249. n198, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  9250. if err != nil {
  9251. return 0, err
  9252. }
  9253. i += n198
  9254. if len(m.Secrets) > 0 {
  9255. for _, msg := range m.Secrets {
  9256. dAtA[i] = 0x12
  9257. i++
  9258. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9259. n, err := msg.MarshalTo(dAtA[i:])
  9260. if err != nil {
  9261. return 0, err
  9262. }
  9263. i += n
  9264. }
  9265. }
  9266. if len(m.ImagePullSecrets) > 0 {
  9267. for _, msg := range m.ImagePullSecrets {
  9268. dAtA[i] = 0x1a
  9269. i++
  9270. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9271. n, err := msg.MarshalTo(dAtA[i:])
  9272. if err != nil {
  9273. return 0, err
  9274. }
  9275. i += n
  9276. }
  9277. }
  9278. if m.AutomountServiceAccountToken != nil {
  9279. dAtA[i] = 0x20
  9280. i++
  9281. if *m.AutomountServiceAccountToken {
  9282. dAtA[i] = 1
  9283. } else {
  9284. dAtA[i] = 0
  9285. }
  9286. i++
  9287. }
  9288. return i, nil
  9289. }
  9290. func (m *ServiceAccountList) Marshal() (dAtA []byte, err error) {
  9291. size := m.Size()
  9292. dAtA = make([]byte, size)
  9293. n, err := m.MarshalTo(dAtA)
  9294. if err != nil {
  9295. return nil, err
  9296. }
  9297. return dAtA[:n], nil
  9298. }
  9299. func (m *ServiceAccountList) MarshalTo(dAtA []byte) (int, error) {
  9300. var i int
  9301. _ = i
  9302. var l int
  9303. _ = l
  9304. dAtA[i] = 0xa
  9305. i++
  9306. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  9307. n199, err := m.ListMeta.MarshalTo(dAtA[i:])
  9308. if err != nil {
  9309. return 0, err
  9310. }
  9311. i += n199
  9312. if len(m.Items) > 0 {
  9313. for _, msg := range m.Items {
  9314. dAtA[i] = 0x12
  9315. i++
  9316. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9317. n, err := msg.MarshalTo(dAtA[i:])
  9318. if err != nil {
  9319. return 0, err
  9320. }
  9321. i += n
  9322. }
  9323. }
  9324. return i, nil
  9325. }
  9326. func (m *ServiceAccountTokenProjection) Marshal() (dAtA []byte, err error) {
  9327. size := m.Size()
  9328. dAtA = make([]byte, size)
  9329. n, err := m.MarshalTo(dAtA)
  9330. if err != nil {
  9331. return nil, err
  9332. }
  9333. return dAtA[:n], nil
  9334. }
  9335. func (m *ServiceAccountTokenProjection) MarshalTo(dAtA []byte) (int, error) {
  9336. var i int
  9337. _ = i
  9338. var l int
  9339. _ = l
  9340. dAtA[i] = 0xa
  9341. i++
  9342. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Audience)))
  9343. i += copy(dAtA[i:], m.Audience)
  9344. if m.ExpirationSeconds != nil {
  9345. dAtA[i] = 0x10
  9346. i++
  9347. i = encodeVarintGenerated(dAtA, i, uint64(*m.ExpirationSeconds))
  9348. }
  9349. dAtA[i] = 0x1a
  9350. i++
  9351. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  9352. i += copy(dAtA[i:], m.Path)
  9353. return i, nil
  9354. }
  9355. func (m *ServiceList) Marshal() (dAtA []byte, err error) {
  9356. size := m.Size()
  9357. dAtA = make([]byte, size)
  9358. n, err := m.MarshalTo(dAtA)
  9359. if err != nil {
  9360. return nil, err
  9361. }
  9362. return dAtA[:n], nil
  9363. }
  9364. func (m *ServiceList) MarshalTo(dAtA []byte) (int, error) {
  9365. var i int
  9366. _ = i
  9367. var l int
  9368. _ = l
  9369. dAtA[i] = 0xa
  9370. i++
  9371. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  9372. n200, err := m.ListMeta.MarshalTo(dAtA[i:])
  9373. if err != nil {
  9374. return 0, err
  9375. }
  9376. i += n200
  9377. if len(m.Items) > 0 {
  9378. for _, msg := range m.Items {
  9379. dAtA[i] = 0x12
  9380. i++
  9381. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9382. n, err := msg.MarshalTo(dAtA[i:])
  9383. if err != nil {
  9384. return 0, err
  9385. }
  9386. i += n
  9387. }
  9388. }
  9389. return i, nil
  9390. }
  9391. func (m *ServicePort) Marshal() (dAtA []byte, err error) {
  9392. size := m.Size()
  9393. dAtA = make([]byte, size)
  9394. n, err := m.MarshalTo(dAtA)
  9395. if err != nil {
  9396. return nil, err
  9397. }
  9398. return dAtA[:n], nil
  9399. }
  9400. func (m *ServicePort) MarshalTo(dAtA []byte) (int, error) {
  9401. var i int
  9402. _ = i
  9403. var l int
  9404. _ = l
  9405. dAtA[i] = 0xa
  9406. i++
  9407. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9408. i += copy(dAtA[i:], m.Name)
  9409. dAtA[i] = 0x12
  9410. i++
  9411. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Protocol)))
  9412. i += copy(dAtA[i:], m.Protocol)
  9413. dAtA[i] = 0x18
  9414. i++
  9415. i = encodeVarintGenerated(dAtA, i, uint64(m.Port))
  9416. dAtA[i] = 0x22
  9417. i++
  9418. i = encodeVarintGenerated(dAtA, i, uint64(m.TargetPort.Size()))
  9419. n201, err := m.TargetPort.MarshalTo(dAtA[i:])
  9420. if err != nil {
  9421. return 0, err
  9422. }
  9423. i += n201
  9424. dAtA[i] = 0x28
  9425. i++
  9426. i = encodeVarintGenerated(dAtA, i, uint64(m.NodePort))
  9427. return i, nil
  9428. }
  9429. func (m *ServiceProxyOptions) Marshal() (dAtA []byte, err error) {
  9430. size := m.Size()
  9431. dAtA = make([]byte, size)
  9432. n, err := m.MarshalTo(dAtA)
  9433. if err != nil {
  9434. return nil, err
  9435. }
  9436. return dAtA[:n], nil
  9437. }
  9438. func (m *ServiceProxyOptions) MarshalTo(dAtA []byte) (int, error) {
  9439. var i int
  9440. _ = i
  9441. var l int
  9442. _ = l
  9443. dAtA[i] = 0xa
  9444. i++
  9445. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  9446. i += copy(dAtA[i:], m.Path)
  9447. return i, nil
  9448. }
  9449. func (m *ServiceSpec) Marshal() (dAtA []byte, err error) {
  9450. size := m.Size()
  9451. dAtA = make([]byte, size)
  9452. n, err := m.MarshalTo(dAtA)
  9453. if err != nil {
  9454. return nil, err
  9455. }
  9456. return dAtA[:n], nil
  9457. }
  9458. func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error) {
  9459. var i int
  9460. _ = i
  9461. var l int
  9462. _ = l
  9463. if len(m.Ports) > 0 {
  9464. for _, msg := range m.Ports {
  9465. dAtA[i] = 0xa
  9466. i++
  9467. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9468. n, err := msg.MarshalTo(dAtA[i:])
  9469. if err != nil {
  9470. return 0, err
  9471. }
  9472. i += n
  9473. }
  9474. }
  9475. if len(m.Selector) > 0 {
  9476. keysForSelector := make([]string, 0, len(m.Selector))
  9477. for k := range m.Selector {
  9478. keysForSelector = append(keysForSelector, string(k))
  9479. }
  9480. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  9481. for _, k := range keysForSelector {
  9482. dAtA[i] = 0x12
  9483. i++
  9484. v := m.Selector[string(k)]
  9485. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9486. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  9487. dAtA[i] = 0xa
  9488. i++
  9489. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  9490. i += copy(dAtA[i:], k)
  9491. dAtA[i] = 0x12
  9492. i++
  9493. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  9494. i += copy(dAtA[i:], v)
  9495. }
  9496. }
  9497. dAtA[i] = 0x1a
  9498. i++
  9499. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterIP)))
  9500. i += copy(dAtA[i:], m.ClusterIP)
  9501. dAtA[i] = 0x22
  9502. i++
  9503. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  9504. i += copy(dAtA[i:], m.Type)
  9505. if len(m.ExternalIPs) > 0 {
  9506. for _, s := range m.ExternalIPs {
  9507. dAtA[i] = 0x2a
  9508. i++
  9509. l = len(s)
  9510. for l >= 1<<7 {
  9511. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  9512. l >>= 7
  9513. i++
  9514. }
  9515. dAtA[i] = uint8(l)
  9516. i++
  9517. i += copy(dAtA[i:], s)
  9518. }
  9519. }
  9520. dAtA[i] = 0x3a
  9521. i++
  9522. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SessionAffinity)))
  9523. i += copy(dAtA[i:], m.SessionAffinity)
  9524. dAtA[i] = 0x42
  9525. i++
  9526. i = encodeVarintGenerated(dAtA, i, uint64(len(m.LoadBalancerIP)))
  9527. i += copy(dAtA[i:], m.LoadBalancerIP)
  9528. if len(m.LoadBalancerSourceRanges) > 0 {
  9529. for _, s := range m.LoadBalancerSourceRanges {
  9530. dAtA[i] = 0x4a
  9531. i++
  9532. l = len(s)
  9533. for l >= 1<<7 {
  9534. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  9535. l >>= 7
  9536. i++
  9537. }
  9538. dAtA[i] = uint8(l)
  9539. i++
  9540. i += copy(dAtA[i:], s)
  9541. }
  9542. }
  9543. dAtA[i] = 0x52
  9544. i++
  9545. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ExternalName)))
  9546. i += copy(dAtA[i:], m.ExternalName)
  9547. dAtA[i] = 0x5a
  9548. i++
  9549. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ExternalTrafficPolicy)))
  9550. i += copy(dAtA[i:], m.ExternalTrafficPolicy)
  9551. dAtA[i] = 0x60
  9552. i++
  9553. i = encodeVarintGenerated(dAtA, i, uint64(m.HealthCheckNodePort))
  9554. dAtA[i] = 0x68
  9555. i++
  9556. if m.PublishNotReadyAddresses {
  9557. dAtA[i] = 1
  9558. } else {
  9559. dAtA[i] = 0
  9560. }
  9561. i++
  9562. if m.SessionAffinityConfig != nil {
  9563. dAtA[i] = 0x72
  9564. i++
  9565. i = encodeVarintGenerated(dAtA, i, uint64(m.SessionAffinityConfig.Size()))
  9566. n202, err := m.SessionAffinityConfig.MarshalTo(dAtA[i:])
  9567. if err != nil {
  9568. return 0, err
  9569. }
  9570. i += n202
  9571. }
  9572. return i, nil
  9573. }
  9574. func (m *ServiceStatus) Marshal() (dAtA []byte, err error) {
  9575. size := m.Size()
  9576. dAtA = make([]byte, size)
  9577. n, err := m.MarshalTo(dAtA)
  9578. if err != nil {
  9579. return nil, err
  9580. }
  9581. return dAtA[:n], nil
  9582. }
  9583. func (m *ServiceStatus) MarshalTo(dAtA []byte) (int, error) {
  9584. var i int
  9585. _ = i
  9586. var l int
  9587. _ = l
  9588. dAtA[i] = 0xa
  9589. i++
  9590. i = encodeVarintGenerated(dAtA, i, uint64(m.LoadBalancer.Size()))
  9591. n203, err := m.LoadBalancer.MarshalTo(dAtA[i:])
  9592. if err != nil {
  9593. return 0, err
  9594. }
  9595. i += n203
  9596. return i, nil
  9597. }
  9598. func (m *SessionAffinityConfig) Marshal() (dAtA []byte, err error) {
  9599. size := m.Size()
  9600. dAtA = make([]byte, size)
  9601. n, err := m.MarshalTo(dAtA)
  9602. if err != nil {
  9603. return nil, err
  9604. }
  9605. return dAtA[:n], nil
  9606. }
  9607. func (m *SessionAffinityConfig) MarshalTo(dAtA []byte) (int, error) {
  9608. var i int
  9609. _ = i
  9610. var l int
  9611. _ = l
  9612. if m.ClientIP != nil {
  9613. dAtA[i] = 0xa
  9614. i++
  9615. i = encodeVarintGenerated(dAtA, i, uint64(m.ClientIP.Size()))
  9616. n204, err := m.ClientIP.MarshalTo(dAtA[i:])
  9617. if err != nil {
  9618. return 0, err
  9619. }
  9620. i += n204
  9621. }
  9622. return i, nil
  9623. }
  9624. func (m *StorageOSPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  9625. size := m.Size()
  9626. dAtA = make([]byte, size)
  9627. n, err := m.MarshalTo(dAtA)
  9628. if err != nil {
  9629. return nil, err
  9630. }
  9631. return dAtA[:n], nil
  9632. }
  9633. func (m *StorageOSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  9634. var i int
  9635. _ = i
  9636. var l int
  9637. _ = l
  9638. dAtA[i] = 0xa
  9639. i++
  9640. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  9641. i += copy(dAtA[i:], m.VolumeName)
  9642. dAtA[i] = 0x12
  9643. i++
  9644. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeNamespace)))
  9645. i += copy(dAtA[i:], m.VolumeNamespace)
  9646. dAtA[i] = 0x1a
  9647. i++
  9648. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  9649. i += copy(dAtA[i:], m.FSType)
  9650. dAtA[i] = 0x20
  9651. i++
  9652. if m.ReadOnly {
  9653. dAtA[i] = 1
  9654. } else {
  9655. dAtA[i] = 0
  9656. }
  9657. i++
  9658. if m.SecretRef != nil {
  9659. dAtA[i] = 0x2a
  9660. i++
  9661. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  9662. n205, err := m.SecretRef.MarshalTo(dAtA[i:])
  9663. if err != nil {
  9664. return 0, err
  9665. }
  9666. i += n205
  9667. }
  9668. return i, nil
  9669. }
  9670. func (m *StorageOSVolumeSource) Marshal() (dAtA []byte, err error) {
  9671. size := m.Size()
  9672. dAtA = make([]byte, size)
  9673. n, err := m.MarshalTo(dAtA)
  9674. if err != nil {
  9675. return nil, err
  9676. }
  9677. return dAtA[:n], nil
  9678. }
  9679. func (m *StorageOSVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  9680. var i int
  9681. _ = i
  9682. var l int
  9683. _ = l
  9684. dAtA[i] = 0xa
  9685. i++
  9686. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  9687. i += copy(dAtA[i:], m.VolumeName)
  9688. dAtA[i] = 0x12
  9689. i++
  9690. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeNamespace)))
  9691. i += copy(dAtA[i:], m.VolumeNamespace)
  9692. dAtA[i] = 0x1a
  9693. i++
  9694. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  9695. i += copy(dAtA[i:], m.FSType)
  9696. dAtA[i] = 0x20
  9697. i++
  9698. if m.ReadOnly {
  9699. dAtA[i] = 1
  9700. } else {
  9701. dAtA[i] = 0
  9702. }
  9703. i++
  9704. if m.SecretRef != nil {
  9705. dAtA[i] = 0x2a
  9706. i++
  9707. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  9708. n206, err := m.SecretRef.MarshalTo(dAtA[i:])
  9709. if err != nil {
  9710. return 0, err
  9711. }
  9712. i += n206
  9713. }
  9714. return i, nil
  9715. }
  9716. func (m *Sysctl) Marshal() (dAtA []byte, err error) {
  9717. size := m.Size()
  9718. dAtA = make([]byte, size)
  9719. n, err := m.MarshalTo(dAtA)
  9720. if err != nil {
  9721. return nil, err
  9722. }
  9723. return dAtA[:n], nil
  9724. }
  9725. func (m *Sysctl) MarshalTo(dAtA []byte) (int, error) {
  9726. var i int
  9727. _ = i
  9728. var l int
  9729. _ = l
  9730. dAtA[i] = 0xa
  9731. i++
  9732. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9733. i += copy(dAtA[i:], m.Name)
  9734. dAtA[i] = 0x12
  9735. i++
  9736. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  9737. i += copy(dAtA[i:], m.Value)
  9738. return i, nil
  9739. }
  9740. func (m *TCPSocketAction) Marshal() (dAtA []byte, err error) {
  9741. size := m.Size()
  9742. dAtA = make([]byte, size)
  9743. n, err := m.MarshalTo(dAtA)
  9744. if err != nil {
  9745. return nil, err
  9746. }
  9747. return dAtA[:n], nil
  9748. }
  9749. func (m *TCPSocketAction) MarshalTo(dAtA []byte) (int, error) {
  9750. var i int
  9751. _ = i
  9752. var l int
  9753. _ = l
  9754. dAtA[i] = 0xa
  9755. i++
  9756. i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
  9757. n207, err := m.Port.MarshalTo(dAtA[i:])
  9758. if err != nil {
  9759. return 0, err
  9760. }
  9761. i += n207
  9762. dAtA[i] = 0x12
  9763. i++
  9764. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
  9765. i += copy(dAtA[i:], m.Host)
  9766. return i, nil
  9767. }
  9768. func (m *Taint) Marshal() (dAtA []byte, err error) {
  9769. size := m.Size()
  9770. dAtA = make([]byte, size)
  9771. n, err := m.MarshalTo(dAtA)
  9772. if err != nil {
  9773. return nil, err
  9774. }
  9775. return dAtA[:n], nil
  9776. }
  9777. func (m *Taint) MarshalTo(dAtA []byte) (int, error) {
  9778. var i int
  9779. _ = i
  9780. var l int
  9781. _ = l
  9782. dAtA[i] = 0xa
  9783. i++
  9784. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  9785. i += copy(dAtA[i:], m.Key)
  9786. dAtA[i] = 0x12
  9787. i++
  9788. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  9789. i += copy(dAtA[i:], m.Value)
  9790. dAtA[i] = 0x1a
  9791. i++
  9792. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Effect)))
  9793. i += copy(dAtA[i:], m.Effect)
  9794. if m.TimeAdded != nil {
  9795. dAtA[i] = 0x22
  9796. i++
  9797. i = encodeVarintGenerated(dAtA, i, uint64(m.TimeAdded.Size()))
  9798. n208, err := m.TimeAdded.MarshalTo(dAtA[i:])
  9799. if err != nil {
  9800. return 0, err
  9801. }
  9802. i += n208
  9803. }
  9804. return i, nil
  9805. }
  9806. func (m *Toleration) Marshal() (dAtA []byte, err error) {
  9807. size := m.Size()
  9808. dAtA = make([]byte, size)
  9809. n, err := m.MarshalTo(dAtA)
  9810. if err != nil {
  9811. return nil, err
  9812. }
  9813. return dAtA[:n], nil
  9814. }
  9815. func (m *Toleration) MarshalTo(dAtA []byte) (int, error) {
  9816. var i int
  9817. _ = i
  9818. var l int
  9819. _ = l
  9820. dAtA[i] = 0xa
  9821. i++
  9822. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  9823. i += copy(dAtA[i:], m.Key)
  9824. dAtA[i] = 0x12
  9825. i++
  9826. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
  9827. i += copy(dAtA[i:], m.Operator)
  9828. dAtA[i] = 0x1a
  9829. i++
  9830. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  9831. i += copy(dAtA[i:], m.Value)
  9832. dAtA[i] = 0x22
  9833. i++
  9834. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Effect)))
  9835. i += copy(dAtA[i:], m.Effect)
  9836. if m.TolerationSeconds != nil {
  9837. dAtA[i] = 0x28
  9838. i++
  9839. i = encodeVarintGenerated(dAtA, i, uint64(*m.TolerationSeconds))
  9840. }
  9841. return i, nil
  9842. }
  9843. func (m *TopologySelectorLabelRequirement) Marshal() (dAtA []byte, err error) {
  9844. size := m.Size()
  9845. dAtA = make([]byte, size)
  9846. n, err := m.MarshalTo(dAtA)
  9847. if err != nil {
  9848. return nil, err
  9849. }
  9850. return dAtA[:n], nil
  9851. }
  9852. func (m *TopologySelectorLabelRequirement) MarshalTo(dAtA []byte) (int, error) {
  9853. var i int
  9854. _ = i
  9855. var l int
  9856. _ = l
  9857. dAtA[i] = 0xa
  9858. i++
  9859. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  9860. i += copy(dAtA[i:], m.Key)
  9861. if len(m.Values) > 0 {
  9862. for _, s := range m.Values {
  9863. dAtA[i] = 0x12
  9864. i++
  9865. l = len(s)
  9866. for l >= 1<<7 {
  9867. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  9868. l >>= 7
  9869. i++
  9870. }
  9871. dAtA[i] = uint8(l)
  9872. i++
  9873. i += copy(dAtA[i:], s)
  9874. }
  9875. }
  9876. return i, nil
  9877. }
  9878. func (m *TopologySelectorTerm) Marshal() (dAtA []byte, err error) {
  9879. size := m.Size()
  9880. dAtA = make([]byte, size)
  9881. n, err := m.MarshalTo(dAtA)
  9882. if err != nil {
  9883. return nil, err
  9884. }
  9885. return dAtA[:n], nil
  9886. }
  9887. func (m *TopologySelectorTerm) MarshalTo(dAtA []byte) (int, error) {
  9888. var i int
  9889. _ = i
  9890. var l int
  9891. _ = l
  9892. if len(m.MatchLabelExpressions) > 0 {
  9893. for _, msg := range m.MatchLabelExpressions {
  9894. dAtA[i] = 0xa
  9895. i++
  9896. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9897. n, err := msg.MarshalTo(dAtA[i:])
  9898. if err != nil {
  9899. return 0, err
  9900. }
  9901. i += n
  9902. }
  9903. }
  9904. return i, nil
  9905. }
  9906. func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error) {
  9907. size := m.Size()
  9908. dAtA = make([]byte, size)
  9909. n, err := m.MarshalTo(dAtA)
  9910. if err != nil {
  9911. return nil, err
  9912. }
  9913. return dAtA[:n], nil
  9914. }
  9915. func (m *TypedLocalObjectReference) MarshalTo(dAtA []byte) (int, error) {
  9916. var i int
  9917. _ = i
  9918. var l int
  9919. _ = l
  9920. if m.APIGroup != nil {
  9921. dAtA[i] = 0xa
  9922. i++
  9923. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.APIGroup)))
  9924. i += copy(dAtA[i:], *m.APIGroup)
  9925. }
  9926. dAtA[i] = 0x12
  9927. i++
  9928. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  9929. i += copy(dAtA[i:], m.Kind)
  9930. dAtA[i] = 0x1a
  9931. i++
  9932. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9933. i += copy(dAtA[i:], m.Name)
  9934. return i, nil
  9935. }
  9936. func (m *Volume) Marshal() (dAtA []byte, err error) {
  9937. size := m.Size()
  9938. dAtA = make([]byte, size)
  9939. n, err := m.MarshalTo(dAtA)
  9940. if err != nil {
  9941. return nil, err
  9942. }
  9943. return dAtA[:n], nil
  9944. }
  9945. func (m *Volume) MarshalTo(dAtA []byte) (int, error) {
  9946. var i int
  9947. _ = i
  9948. var l int
  9949. _ = l
  9950. dAtA[i] = 0xa
  9951. i++
  9952. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9953. i += copy(dAtA[i:], m.Name)
  9954. dAtA[i] = 0x12
  9955. i++
  9956. i = encodeVarintGenerated(dAtA, i, uint64(m.VolumeSource.Size()))
  9957. n209, err := m.VolumeSource.MarshalTo(dAtA[i:])
  9958. if err != nil {
  9959. return 0, err
  9960. }
  9961. i += n209
  9962. return i, nil
  9963. }
  9964. func (m *VolumeDevice) Marshal() (dAtA []byte, err error) {
  9965. size := m.Size()
  9966. dAtA = make([]byte, size)
  9967. n, err := m.MarshalTo(dAtA)
  9968. if err != nil {
  9969. return nil, err
  9970. }
  9971. return dAtA[:n], nil
  9972. }
  9973. func (m *VolumeDevice) MarshalTo(dAtA []byte) (int, error) {
  9974. var i int
  9975. _ = i
  9976. var l int
  9977. _ = l
  9978. dAtA[i] = 0xa
  9979. i++
  9980. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9981. i += copy(dAtA[i:], m.Name)
  9982. dAtA[i] = 0x12
  9983. i++
  9984. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DevicePath)))
  9985. i += copy(dAtA[i:], m.DevicePath)
  9986. return i, nil
  9987. }
  9988. func (m *VolumeMount) Marshal() (dAtA []byte, err error) {
  9989. size := m.Size()
  9990. dAtA = make([]byte, size)
  9991. n, err := m.MarshalTo(dAtA)
  9992. if err != nil {
  9993. return nil, err
  9994. }
  9995. return dAtA[:n], nil
  9996. }
  9997. func (m *VolumeMount) MarshalTo(dAtA []byte) (int, error) {
  9998. var i int
  9999. _ = i
  10000. var l int
  10001. _ = l
  10002. dAtA[i] = 0xa
  10003. i++
  10004. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  10005. i += copy(dAtA[i:], m.Name)
  10006. dAtA[i] = 0x10
  10007. i++
  10008. if m.ReadOnly {
  10009. dAtA[i] = 1
  10010. } else {
  10011. dAtA[i] = 0
  10012. }
  10013. i++
  10014. dAtA[i] = 0x1a
  10015. i++
  10016. i = encodeVarintGenerated(dAtA, i, uint64(len(m.MountPath)))
  10017. i += copy(dAtA[i:], m.MountPath)
  10018. dAtA[i] = 0x22
  10019. i++
  10020. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SubPath)))
  10021. i += copy(dAtA[i:], m.SubPath)
  10022. if m.MountPropagation != nil {
  10023. dAtA[i] = 0x2a
  10024. i++
  10025. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.MountPropagation)))
  10026. i += copy(dAtA[i:], *m.MountPropagation)
  10027. }
  10028. dAtA[i] = 0x32
  10029. i++
  10030. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SubPathExpr)))
  10031. i += copy(dAtA[i:], m.SubPathExpr)
  10032. return i, nil
  10033. }
  10034. func (m *VolumeNodeAffinity) Marshal() (dAtA []byte, err error) {
  10035. size := m.Size()
  10036. dAtA = make([]byte, size)
  10037. n, err := m.MarshalTo(dAtA)
  10038. if err != nil {
  10039. return nil, err
  10040. }
  10041. return dAtA[:n], nil
  10042. }
  10043. func (m *VolumeNodeAffinity) MarshalTo(dAtA []byte) (int, error) {
  10044. var i int
  10045. _ = i
  10046. var l int
  10047. _ = l
  10048. if m.Required != nil {
  10049. dAtA[i] = 0xa
  10050. i++
  10051. i = encodeVarintGenerated(dAtA, i, uint64(m.Required.Size()))
  10052. n210, err := m.Required.MarshalTo(dAtA[i:])
  10053. if err != nil {
  10054. return 0, err
  10055. }
  10056. i += n210
  10057. }
  10058. return i, nil
  10059. }
  10060. func (m *VolumeProjection) Marshal() (dAtA []byte, err error) {
  10061. size := m.Size()
  10062. dAtA = make([]byte, size)
  10063. n, err := m.MarshalTo(dAtA)
  10064. if err != nil {
  10065. return nil, err
  10066. }
  10067. return dAtA[:n], nil
  10068. }
  10069. func (m *VolumeProjection) MarshalTo(dAtA []byte) (int, error) {
  10070. var i int
  10071. _ = i
  10072. var l int
  10073. _ = l
  10074. if m.Secret != nil {
  10075. dAtA[i] = 0xa
  10076. i++
  10077. i = encodeVarintGenerated(dAtA, i, uint64(m.Secret.Size()))
  10078. n211, err := m.Secret.MarshalTo(dAtA[i:])
  10079. if err != nil {
  10080. return 0, err
  10081. }
  10082. i += n211
  10083. }
  10084. if m.DownwardAPI != nil {
  10085. dAtA[i] = 0x12
  10086. i++
  10087. i = encodeVarintGenerated(dAtA, i, uint64(m.DownwardAPI.Size()))
  10088. n212, err := m.DownwardAPI.MarshalTo(dAtA[i:])
  10089. if err != nil {
  10090. return 0, err
  10091. }
  10092. i += n212
  10093. }
  10094. if m.ConfigMap != nil {
  10095. dAtA[i] = 0x1a
  10096. i++
  10097. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMap.Size()))
  10098. n213, err := m.ConfigMap.MarshalTo(dAtA[i:])
  10099. if err != nil {
  10100. return 0, err
  10101. }
  10102. i += n213
  10103. }
  10104. if m.ServiceAccountToken != nil {
  10105. dAtA[i] = 0x22
  10106. i++
  10107. i = encodeVarintGenerated(dAtA, i, uint64(m.ServiceAccountToken.Size()))
  10108. n214, err := m.ServiceAccountToken.MarshalTo(dAtA[i:])
  10109. if err != nil {
  10110. return 0, err
  10111. }
  10112. i += n214
  10113. }
  10114. return i, nil
  10115. }
  10116. func (m *VolumeSource) Marshal() (dAtA []byte, err error) {
  10117. size := m.Size()
  10118. dAtA = make([]byte, size)
  10119. n, err := m.MarshalTo(dAtA)
  10120. if err != nil {
  10121. return nil, err
  10122. }
  10123. return dAtA[:n], nil
  10124. }
  10125. func (m *VolumeSource) MarshalTo(dAtA []byte) (int, error) {
  10126. var i int
  10127. _ = i
  10128. var l int
  10129. _ = l
  10130. if m.HostPath != nil {
  10131. dAtA[i] = 0xa
  10132. i++
  10133. i = encodeVarintGenerated(dAtA, i, uint64(m.HostPath.Size()))
  10134. n215, err := m.HostPath.MarshalTo(dAtA[i:])
  10135. if err != nil {
  10136. return 0, err
  10137. }
  10138. i += n215
  10139. }
  10140. if m.EmptyDir != nil {
  10141. dAtA[i] = 0x12
  10142. i++
  10143. i = encodeVarintGenerated(dAtA, i, uint64(m.EmptyDir.Size()))
  10144. n216, err := m.EmptyDir.MarshalTo(dAtA[i:])
  10145. if err != nil {
  10146. return 0, err
  10147. }
  10148. i += n216
  10149. }
  10150. if m.GCEPersistentDisk != nil {
  10151. dAtA[i] = 0x1a
  10152. i++
  10153. i = encodeVarintGenerated(dAtA, i, uint64(m.GCEPersistentDisk.Size()))
  10154. n217, err := m.GCEPersistentDisk.MarshalTo(dAtA[i:])
  10155. if err != nil {
  10156. return 0, err
  10157. }
  10158. i += n217
  10159. }
  10160. if m.AWSElasticBlockStore != nil {
  10161. dAtA[i] = 0x22
  10162. i++
  10163. i = encodeVarintGenerated(dAtA, i, uint64(m.AWSElasticBlockStore.Size()))
  10164. n218, err := m.AWSElasticBlockStore.MarshalTo(dAtA[i:])
  10165. if err != nil {
  10166. return 0, err
  10167. }
  10168. i += n218
  10169. }
  10170. if m.GitRepo != nil {
  10171. dAtA[i] = 0x2a
  10172. i++
  10173. i = encodeVarintGenerated(dAtA, i, uint64(m.GitRepo.Size()))
  10174. n219, err := m.GitRepo.MarshalTo(dAtA[i:])
  10175. if err != nil {
  10176. return 0, err
  10177. }
  10178. i += n219
  10179. }
  10180. if m.Secret != nil {
  10181. dAtA[i] = 0x32
  10182. i++
  10183. i = encodeVarintGenerated(dAtA, i, uint64(m.Secret.Size()))
  10184. n220, err := m.Secret.MarshalTo(dAtA[i:])
  10185. if err != nil {
  10186. return 0, err
  10187. }
  10188. i += n220
  10189. }
  10190. if m.NFS != nil {
  10191. dAtA[i] = 0x3a
  10192. i++
  10193. i = encodeVarintGenerated(dAtA, i, uint64(m.NFS.Size()))
  10194. n221, err := m.NFS.MarshalTo(dAtA[i:])
  10195. if err != nil {
  10196. return 0, err
  10197. }
  10198. i += n221
  10199. }
  10200. if m.ISCSI != nil {
  10201. dAtA[i] = 0x42
  10202. i++
  10203. i = encodeVarintGenerated(dAtA, i, uint64(m.ISCSI.Size()))
  10204. n222, err := m.ISCSI.MarshalTo(dAtA[i:])
  10205. if err != nil {
  10206. return 0, err
  10207. }
  10208. i += n222
  10209. }
  10210. if m.Glusterfs != nil {
  10211. dAtA[i] = 0x4a
  10212. i++
  10213. i = encodeVarintGenerated(dAtA, i, uint64(m.Glusterfs.Size()))
  10214. n223, err := m.Glusterfs.MarshalTo(dAtA[i:])
  10215. if err != nil {
  10216. return 0, err
  10217. }
  10218. i += n223
  10219. }
  10220. if m.PersistentVolumeClaim != nil {
  10221. dAtA[i] = 0x52
  10222. i++
  10223. i = encodeVarintGenerated(dAtA, i, uint64(m.PersistentVolumeClaim.Size()))
  10224. n224, err := m.PersistentVolumeClaim.MarshalTo(dAtA[i:])
  10225. if err != nil {
  10226. return 0, err
  10227. }
  10228. i += n224
  10229. }
  10230. if m.RBD != nil {
  10231. dAtA[i] = 0x5a
  10232. i++
  10233. i = encodeVarintGenerated(dAtA, i, uint64(m.RBD.Size()))
  10234. n225, err := m.RBD.MarshalTo(dAtA[i:])
  10235. if err != nil {
  10236. return 0, err
  10237. }
  10238. i += n225
  10239. }
  10240. if m.FlexVolume != nil {
  10241. dAtA[i] = 0x62
  10242. i++
  10243. i = encodeVarintGenerated(dAtA, i, uint64(m.FlexVolume.Size()))
  10244. n226, err := m.FlexVolume.MarshalTo(dAtA[i:])
  10245. if err != nil {
  10246. return 0, err
  10247. }
  10248. i += n226
  10249. }
  10250. if m.Cinder != nil {
  10251. dAtA[i] = 0x6a
  10252. i++
  10253. i = encodeVarintGenerated(dAtA, i, uint64(m.Cinder.Size()))
  10254. n227, err := m.Cinder.MarshalTo(dAtA[i:])
  10255. if err != nil {
  10256. return 0, err
  10257. }
  10258. i += n227
  10259. }
  10260. if m.CephFS != nil {
  10261. dAtA[i] = 0x72
  10262. i++
  10263. i = encodeVarintGenerated(dAtA, i, uint64(m.CephFS.Size()))
  10264. n228, err := m.CephFS.MarshalTo(dAtA[i:])
  10265. if err != nil {
  10266. return 0, err
  10267. }
  10268. i += n228
  10269. }
  10270. if m.Flocker != nil {
  10271. dAtA[i] = 0x7a
  10272. i++
  10273. i = encodeVarintGenerated(dAtA, i, uint64(m.Flocker.Size()))
  10274. n229, err := m.Flocker.MarshalTo(dAtA[i:])
  10275. if err != nil {
  10276. return 0, err
  10277. }
  10278. i += n229
  10279. }
  10280. if m.DownwardAPI != nil {
  10281. dAtA[i] = 0x82
  10282. i++
  10283. dAtA[i] = 0x1
  10284. i++
  10285. i = encodeVarintGenerated(dAtA, i, uint64(m.DownwardAPI.Size()))
  10286. n230, err := m.DownwardAPI.MarshalTo(dAtA[i:])
  10287. if err != nil {
  10288. return 0, err
  10289. }
  10290. i += n230
  10291. }
  10292. if m.FC != nil {
  10293. dAtA[i] = 0x8a
  10294. i++
  10295. dAtA[i] = 0x1
  10296. i++
  10297. i = encodeVarintGenerated(dAtA, i, uint64(m.FC.Size()))
  10298. n231, err := m.FC.MarshalTo(dAtA[i:])
  10299. if err != nil {
  10300. return 0, err
  10301. }
  10302. i += n231
  10303. }
  10304. if m.AzureFile != nil {
  10305. dAtA[i] = 0x92
  10306. i++
  10307. dAtA[i] = 0x1
  10308. i++
  10309. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureFile.Size()))
  10310. n232, err := m.AzureFile.MarshalTo(dAtA[i:])
  10311. if err != nil {
  10312. return 0, err
  10313. }
  10314. i += n232
  10315. }
  10316. if m.ConfigMap != nil {
  10317. dAtA[i] = 0x9a
  10318. i++
  10319. dAtA[i] = 0x1
  10320. i++
  10321. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMap.Size()))
  10322. n233, err := m.ConfigMap.MarshalTo(dAtA[i:])
  10323. if err != nil {
  10324. return 0, err
  10325. }
  10326. i += n233
  10327. }
  10328. if m.VsphereVolume != nil {
  10329. dAtA[i] = 0xa2
  10330. i++
  10331. dAtA[i] = 0x1
  10332. i++
  10333. i = encodeVarintGenerated(dAtA, i, uint64(m.VsphereVolume.Size()))
  10334. n234, err := m.VsphereVolume.MarshalTo(dAtA[i:])
  10335. if err != nil {
  10336. return 0, err
  10337. }
  10338. i += n234
  10339. }
  10340. if m.Quobyte != nil {
  10341. dAtA[i] = 0xaa
  10342. i++
  10343. dAtA[i] = 0x1
  10344. i++
  10345. i = encodeVarintGenerated(dAtA, i, uint64(m.Quobyte.Size()))
  10346. n235, err := m.Quobyte.MarshalTo(dAtA[i:])
  10347. if err != nil {
  10348. return 0, err
  10349. }
  10350. i += n235
  10351. }
  10352. if m.AzureDisk != nil {
  10353. dAtA[i] = 0xb2
  10354. i++
  10355. dAtA[i] = 0x1
  10356. i++
  10357. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureDisk.Size()))
  10358. n236, err := m.AzureDisk.MarshalTo(dAtA[i:])
  10359. if err != nil {
  10360. return 0, err
  10361. }
  10362. i += n236
  10363. }
  10364. if m.PhotonPersistentDisk != nil {
  10365. dAtA[i] = 0xba
  10366. i++
  10367. dAtA[i] = 0x1
  10368. i++
  10369. i = encodeVarintGenerated(dAtA, i, uint64(m.PhotonPersistentDisk.Size()))
  10370. n237, err := m.PhotonPersistentDisk.MarshalTo(dAtA[i:])
  10371. if err != nil {
  10372. return 0, err
  10373. }
  10374. i += n237
  10375. }
  10376. if m.PortworxVolume != nil {
  10377. dAtA[i] = 0xc2
  10378. i++
  10379. dAtA[i] = 0x1
  10380. i++
  10381. i = encodeVarintGenerated(dAtA, i, uint64(m.PortworxVolume.Size()))
  10382. n238, err := m.PortworxVolume.MarshalTo(dAtA[i:])
  10383. if err != nil {
  10384. return 0, err
  10385. }
  10386. i += n238
  10387. }
  10388. if m.ScaleIO != nil {
  10389. dAtA[i] = 0xca
  10390. i++
  10391. dAtA[i] = 0x1
  10392. i++
  10393. i = encodeVarintGenerated(dAtA, i, uint64(m.ScaleIO.Size()))
  10394. n239, err := m.ScaleIO.MarshalTo(dAtA[i:])
  10395. if err != nil {
  10396. return 0, err
  10397. }
  10398. i += n239
  10399. }
  10400. if m.Projected != nil {
  10401. dAtA[i] = 0xd2
  10402. i++
  10403. dAtA[i] = 0x1
  10404. i++
  10405. i = encodeVarintGenerated(dAtA, i, uint64(m.Projected.Size()))
  10406. n240, err := m.Projected.MarshalTo(dAtA[i:])
  10407. if err != nil {
  10408. return 0, err
  10409. }
  10410. i += n240
  10411. }
  10412. if m.StorageOS != nil {
  10413. dAtA[i] = 0xda
  10414. i++
  10415. dAtA[i] = 0x1
  10416. i++
  10417. i = encodeVarintGenerated(dAtA, i, uint64(m.StorageOS.Size()))
  10418. n241, err := m.StorageOS.MarshalTo(dAtA[i:])
  10419. if err != nil {
  10420. return 0, err
  10421. }
  10422. i += n241
  10423. }
  10424. if m.CSI != nil {
  10425. dAtA[i] = 0xe2
  10426. i++
  10427. dAtA[i] = 0x1
  10428. i++
  10429. i = encodeVarintGenerated(dAtA, i, uint64(m.CSI.Size()))
  10430. n242, err := m.CSI.MarshalTo(dAtA[i:])
  10431. if err != nil {
  10432. return 0, err
  10433. }
  10434. i += n242
  10435. }
  10436. return i, nil
  10437. }
  10438. func (m *VsphereVirtualDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  10439. size := m.Size()
  10440. dAtA = make([]byte, size)
  10441. n, err := m.MarshalTo(dAtA)
  10442. if err != nil {
  10443. return nil, err
  10444. }
  10445. return dAtA[:n], nil
  10446. }
  10447. func (m *VsphereVirtualDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  10448. var i int
  10449. _ = i
  10450. var l int
  10451. _ = l
  10452. dAtA[i] = 0xa
  10453. i++
  10454. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumePath)))
  10455. i += copy(dAtA[i:], m.VolumePath)
  10456. dAtA[i] = 0x12
  10457. i++
  10458. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  10459. i += copy(dAtA[i:], m.FSType)
  10460. dAtA[i] = 0x1a
  10461. i++
  10462. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePolicyName)))
  10463. i += copy(dAtA[i:], m.StoragePolicyName)
  10464. dAtA[i] = 0x22
  10465. i++
  10466. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePolicyID)))
  10467. i += copy(dAtA[i:], m.StoragePolicyID)
  10468. return i, nil
  10469. }
  10470. func (m *WeightedPodAffinityTerm) Marshal() (dAtA []byte, err error) {
  10471. size := m.Size()
  10472. dAtA = make([]byte, size)
  10473. n, err := m.MarshalTo(dAtA)
  10474. if err != nil {
  10475. return nil, err
  10476. }
  10477. return dAtA[:n], nil
  10478. }
  10479. func (m *WeightedPodAffinityTerm) MarshalTo(dAtA []byte) (int, error) {
  10480. var i int
  10481. _ = i
  10482. var l int
  10483. _ = l
  10484. dAtA[i] = 0x8
  10485. i++
  10486. i = encodeVarintGenerated(dAtA, i, uint64(m.Weight))
  10487. dAtA[i] = 0x12
  10488. i++
  10489. i = encodeVarintGenerated(dAtA, i, uint64(m.PodAffinityTerm.Size()))
  10490. n243, err := m.PodAffinityTerm.MarshalTo(dAtA[i:])
  10491. if err != nil {
  10492. return 0, err
  10493. }
  10494. i += n243
  10495. return i, nil
  10496. }
  10497. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  10498. for v >= 1<<7 {
  10499. dAtA[offset] = uint8(v&0x7f | 0x80)
  10500. v >>= 7
  10501. offset++
  10502. }
  10503. dAtA[offset] = uint8(v)
  10504. return offset + 1
  10505. }
  10506. func (m *AWSElasticBlockStoreVolumeSource) Size() (n int) {
  10507. var l int
  10508. _ = l
  10509. l = len(m.VolumeID)
  10510. n += 1 + l + sovGenerated(uint64(l))
  10511. l = len(m.FSType)
  10512. n += 1 + l + sovGenerated(uint64(l))
  10513. n += 1 + sovGenerated(uint64(m.Partition))
  10514. n += 2
  10515. return n
  10516. }
  10517. func (m *Affinity) Size() (n int) {
  10518. var l int
  10519. _ = l
  10520. if m.NodeAffinity != nil {
  10521. l = m.NodeAffinity.Size()
  10522. n += 1 + l + sovGenerated(uint64(l))
  10523. }
  10524. if m.PodAffinity != nil {
  10525. l = m.PodAffinity.Size()
  10526. n += 1 + l + sovGenerated(uint64(l))
  10527. }
  10528. if m.PodAntiAffinity != nil {
  10529. l = m.PodAntiAffinity.Size()
  10530. n += 1 + l + sovGenerated(uint64(l))
  10531. }
  10532. return n
  10533. }
  10534. func (m *AttachedVolume) Size() (n int) {
  10535. var l int
  10536. _ = l
  10537. l = len(m.Name)
  10538. n += 1 + l + sovGenerated(uint64(l))
  10539. l = len(m.DevicePath)
  10540. n += 1 + l + sovGenerated(uint64(l))
  10541. return n
  10542. }
  10543. func (m *AvoidPods) Size() (n int) {
  10544. var l int
  10545. _ = l
  10546. if len(m.PreferAvoidPods) > 0 {
  10547. for _, e := range m.PreferAvoidPods {
  10548. l = e.Size()
  10549. n += 1 + l + sovGenerated(uint64(l))
  10550. }
  10551. }
  10552. return n
  10553. }
  10554. func (m *AzureDiskVolumeSource) Size() (n int) {
  10555. var l int
  10556. _ = l
  10557. l = len(m.DiskName)
  10558. n += 1 + l + sovGenerated(uint64(l))
  10559. l = len(m.DataDiskURI)
  10560. n += 1 + l + sovGenerated(uint64(l))
  10561. if m.CachingMode != nil {
  10562. l = len(*m.CachingMode)
  10563. n += 1 + l + sovGenerated(uint64(l))
  10564. }
  10565. if m.FSType != nil {
  10566. l = len(*m.FSType)
  10567. n += 1 + l + sovGenerated(uint64(l))
  10568. }
  10569. if m.ReadOnly != nil {
  10570. n += 2
  10571. }
  10572. if m.Kind != nil {
  10573. l = len(*m.Kind)
  10574. n += 1 + l + sovGenerated(uint64(l))
  10575. }
  10576. return n
  10577. }
  10578. func (m *AzureFilePersistentVolumeSource) Size() (n int) {
  10579. var l int
  10580. _ = l
  10581. l = len(m.SecretName)
  10582. n += 1 + l + sovGenerated(uint64(l))
  10583. l = len(m.ShareName)
  10584. n += 1 + l + sovGenerated(uint64(l))
  10585. n += 2
  10586. if m.SecretNamespace != nil {
  10587. l = len(*m.SecretNamespace)
  10588. n += 1 + l + sovGenerated(uint64(l))
  10589. }
  10590. return n
  10591. }
  10592. func (m *AzureFileVolumeSource) Size() (n int) {
  10593. var l int
  10594. _ = l
  10595. l = len(m.SecretName)
  10596. n += 1 + l + sovGenerated(uint64(l))
  10597. l = len(m.ShareName)
  10598. n += 1 + l + sovGenerated(uint64(l))
  10599. n += 2
  10600. return n
  10601. }
  10602. func (m *Binding) Size() (n int) {
  10603. var l int
  10604. _ = l
  10605. l = m.ObjectMeta.Size()
  10606. n += 1 + l + sovGenerated(uint64(l))
  10607. l = m.Target.Size()
  10608. n += 1 + l + sovGenerated(uint64(l))
  10609. return n
  10610. }
  10611. func (m *CSIPersistentVolumeSource) Size() (n int) {
  10612. var l int
  10613. _ = l
  10614. l = len(m.Driver)
  10615. n += 1 + l + sovGenerated(uint64(l))
  10616. l = len(m.VolumeHandle)
  10617. n += 1 + l + sovGenerated(uint64(l))
  10618. n += 2
  10619. l = len(m.FSType)
  10620. n += 1 + l + sovGenerated(uint64(l))
  10621. if len(m.VolumeAttributes) > 0 {
  10622. for k, v := range m.VolumeAttributes {
  10623. _ = k
  10624. _ = v
  10625. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10626. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10627. }
  10628. }
  10629. if m.ControllerPublishSecretRef != nil {
  10630. l = m.ControllerPublishSecretRef.Size()
  10631. n += 1 + l + sovGenerated(uint64(l))
  10632. }
  10633. if m.NodeStageSecretRef != nil {
  10634. l = m.NodeStageSecretRef.Size()
  10635. n += 1 + l + sovGenerated(uint64(l))
  10636. }
  10637. if m.NodePublishSecretRef != nil {
  10638. l = m.NodePublishSecretRef.Size()
  10639. n += 1 + l + sovGenerated(uint64(l))
  10640. }
  10641. return n
  10642. }
  10643. func (m *CSIVolumeSource) Size() (n int) {
  10644. var l int
  10645. _ = l
  10646. l = len(m.Driver)
  10647. n += 1 + l + sovGenerated(uint64(l))
  10648. if m.ReadOnly != nil {
  10649. n += 2
  10650. }
  10651. if m.FSType != nil {
  10652. l = len(*m.FSType)
  10653. n += 1 + l + sovGenerated(uint64(l))
  10654. }
  10655. if len(m.VolumeAttributes) > 0 {
  10656. for k, v := range m.VolumeAttributes {
  10657. _ = k
  10658. _ = v
  10659. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10660. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10661. }
  10662. }
  10663. if m.NodePublishSecretRef != nil {
  10664. l = m.NodePublishSecretRef.Size()
  10665. n += 1 + l + sovGenerated(uint64(l))
  10666. }
  10667. return n
  10668. }
  10669. func (m *Capabilities) Size() (n int) {
  10670. var l int
  10671. _ = l
  10672. if len(m.Add) > 0 {
  10673. for _, s := range m.Add {
  10674. l = len(s)
  10675. n += 1 + l + sovGenerated(uint64(l))
  10676. }
  10677. }
  10678. if len(m.Drop) > 0 {
  10679. for _, s := range m.Drop {
  10680. l = len(s)
  10681. n += 1 + l + sovGenerated(uint64(l))
  10682. }
  10683. }
  10684. return n
  10685. }
  10686. func (m *CephFSPersistentVolumeSource) Size() (n int) {
  10687. var l int
  10688. _ = l
  10689. if len(m.Monitors) > 0 {
  10690. for _, s := range m.Monitors {
  10691. l = len(s)
  10692. n += 1 + l + sovGenerated(uint64(l))
  10693. }
  10694. }
  10695. l = len(m.Path)
  10696. n += 1 + l + sovGenerated(uint64(l))
  10697. l = len(m.User)
  10698. n += 1 + l + sovGenerated(uint64(l))
  10699. l = len(m.SecretFile)
  10700. n += 1 + l + sovGenerated(uint64(l))
  10701. if m.SecretRef != nil {
  10702. l = m.SecretRef.Size()
  10703. n += 1 + l + sovGenerated(uint64(l))
  10704. }
  10705. n += 2
  10706. return n
  10707. }
  10708. func (m *CephFSVolumeSource) Size() (n int) {
  10709. var l int
  10710. _ = l
  10711. if len(m.Monitors) > 0 {
  10712. for _, s := range m.Monitors {
  10713. l = len(s)
  10714. n += 1 + l + sovGenerated(uint64(l))
  10715. }
  10716. }
  10717. l = len(m.Path)
  10718. n += 1 + l + sovGenerated(uint64(l))
  10719. l = len(m.User)
  10720. n += 1 + l + sovGenerated(uint64(l))
  10721. l = len(m.SecretFile)
  10722. n += 1 + l + sovGenerated(uint64(l))
  10723. if m.SecretRef != nil {
  10724. l = m.SecretRef.Size()
  10725. n += 1 + l + sovGenerated(uint64(l))
  10726. }
  10727. n += 2
  10728. return n
  10729. }
  10730. func (m *CinderPersistentVolumeSource) Size() (n int) {
  10731. var l int
  10732. _ = l
  10733. l = len(m.VolumeID)
  10734. n += 1 + l + sovGenerated(uint64(l))
  10735. l = len(m.FSType)
  10736. n += 1 + l + sovGenerated(uint64(l))
  10737. n += 2
  10738. if m.SecretRef != nil {
  10739. l = m.SecretRef.Size()
  10740. n += 1 + l + sovGenerated(uint64(l))
  10741. }
  10742. return n
  10743. }
  10744. func (m *CinderVolumeSource) Size() (n int) {
  10745. var l int
  10746. _ = l
  10747. l = len(m.VolumeID)
  10748. n += 1 + l + sovGenerated(uint64(l))
  10749. l = len(m.FSType)
  10750. n += 1 + l + sovGenerated(uint64(l))
  10751. n += 2
  10752. if m.SecretRef != nil {
  10753. l = m.SecretRef.Size()
  10754. n += 1 + l + sovGenerated(uint64(l))
  10755. }
  10756. return n
  10757. }
  10758. func (m *ClientIPConfig) Size() (n int) {
  10759. var l int
  10760. _ = l
  10761. if m.TimeoutSeconds != nil {
  10762. n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
  10763. }
  10764. return n
  10765. }
  10766. func (m *ComponentCondition) Size() (n int) {
  10767. var l int
  10768. _ = l
  10769. l = len(m.Type)
  10770. n += 1 + l + sovGenerated(uint64(l))
  10771. l = len(m.Status)
  10772. n += 1 + l + sovGenerated(uint64(l))
  10773. l = len(m.Message)
  10774. n += 1 + l + sovGenerated(uint64(l))
  10775. l = len(m.Error)
  10776. n += 1 + l + sovGenerated(uint64(l))
  10777. return n
  10778. }
  10779. func (m *ComponentStatus) Size() (n int) {
  10780. var l int
  10781. _ = l
  10782. l = m.ObjectMeta.Size()
  10783. n += 1 + l + sovGenerated(uint64(l))
  10784. if len(m.Conditions) > 0 {
  10785. for _, e := range m.Conditions {
  10786. l = e.Size()
  10787. n += 1 + l + sovGenerated(uint64(l))
  10788. }
  10789. }
  10790. return n
  10791. }
  10792. func (m *ComponentStatusList) Size() (n int) {
  10793. var l int
  10794. _ = l
  10795. l = m.ListMeta.Size()
  10796. n += 1 + l + sovGenerated(uint64(l))
  10797. if len(m.Items) > 0 {
  10798. for _, e := range m.Items {
  10799. l = e.Size()
  10800. n += 1 + l + sovGenerated(uint64(l))
  10801. }
  10802. }
  10803. return n
  10804. }
  10805. func (m *ConfigMap) Size() (n int) {
  10806. var l int
  10807. _ = l
  10808. l = m.ObjectMeta.Size()
  10809. n += 1 + l + sovGenerated(uint64(l))
  10810. if len(m.Data) > 0 {
  10811. for k, v := range m.Data {
  10812. _ = k
  10813. _ = v
  10814. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10815. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10816. }
  10817. }
  10818. if len(m.BinaryData) > 0 {
  10819. for k, v := range m.BinaryData {
  10820. _ = k
  10821. _ = v
  10822. l = 0
  10823. if v != nil {
  10824. l = 1 + len(v) + sovGenerated(uint64(len(v)))
  10825. }
  10826. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + l
  10827. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10828. }
  10829. }
  10830. return n
  10831. }
  10832. func (m *ConfigMapEnvSource) Size() (n int) {
  10833. var l int
  10834. _ = l
  10835. l = m.LocalObjectReference.Size()
  10836. n += 1 + l + sovGenerated(uint64(l))
  10837. if m.Optional != nil {
  10838. n += 2
  10839. }
  10840. return n
  10841. }
  10842. func (m *ConfigMapKeySelector) Size() (n int) {
  10843. var l int
  10844. _ = l
  10845. l = m.LocalObjectReference.Size()
  10846. n += 1 + l + sovGenerated(uint64(l))
  10847. l = len(m.Key)
  10848. n += 1 + l + sovGenerated(uint64(l))
  10849. if m.Optional != nil {
  10850. n += 2
  10851. }
  10852. return n
  10853. }
  10854. func (m *ConfigMapList) Size() (n int) {
  10855. var l int
  10856. _ = l
  10857. l = m.ListMeta.Size()
  10858. n += 1 + l + sovGenerated(uint64(l))
  10859. if len(m.Items) > 0 {
  10860. for _, e := range m.Items {
  10861. l = e.Size()
  10862. n += 1 + l + sovGenerated(uint64(l))
  10863. }
  10864. }
  10865. return n
  10866. }
  10867. func (m *ConfigMapNodeConfigSource) Size() (n int) {
  10868. var l int
  10869. _ = l
  10870. l = len(m.Namespace)
  10871. n += 1 + l + sovGenerated(uint64(l))
  10872. l = len(m.Name)
  10873. n += 1 + l + sovGenerated(uint64(l))
  10874. l = len(m.UID)
  10875. n += 1 + l + sovGenerated(uint64(l))
  10876. l = len(m.ResourceVersion)
  10877. n += 1 + l + sovGenerated(uint64(l))
  10878. l = len(m.KubeletConfigKey)
  10879. n += 1 + l + sovGenerated(uint64(l))
  10880. return n
  10881. }
  10882. func (m *ConfigMapProjection) Size() (n int) {
  10883. var l int
  10884. _ = l
  10885. l = m.LocalObjectReference.Size()
  10886. n += 1 + l + sovGenerated(uint64(l))
  10887. if len(m.Items) > 0 {
  10888. for _, e := range m.Items {
  10889. l = e.Size()
  10890. n += 1 + l + sovGenerated(uint64(l))
  10891. }
  10892. }
  10893. if m.Optional != nil {
  10894. n += 2
  10895. }
  10896. return n
  10897. }
  10898. func (m *ConfigMapVolumeSource) Size() (n int) {
  10899. var l int
  10900. _ = l
  10901. l = m.LocalObjectReference.Size()
  10902. n += 1 + l + sovGenerated(uint64(l))
  10903. if len(m.Items) > 0 {
  10904. for _, e := range m.Items {
  10905. l = e.Size()
  10906. n += 1 + l + sovGenerated(uint64(l))
  10907. }
  10908. }
  10909. if m.DefaultMode != nil {
  10910. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  10911. }
  10912. if m.Optional != nil {
  10913. n += 2
  10914. }
  10915. return n
  10916. }
  10917. func (m *Container) Size() (n int) {
  10918. var l int
  10919. _ = l
  10920. l = len(m.Name)
  10921. n += 1 + l + sovGenerated(uint64(l))
  10922. l = len(m.Image)
  10923. n += 1 + l + sovGenerated(uint64(l))
  10924. if len(m.Command) > 0 {
  10925. for _, s := range m.Command {
  10926. l = len(s)
  10927. n += 1 + l + sovGenerated(uint64(l))
  10928. }
  10929. }
  10930. if len(m.Args) > 0 {
  10931. for _, s := range m.Args {
  10932. l = len(s)
  10933. n += 1 + l + sovGenerated(uint64(l))
  10934. }
  10935. }
  10936. l = len(m.WorkingDir)
  10937. n += 1 + l + sovGenerated(uint64(l))
  10938. if len(m.Ports) > 0 {
  10939. for _, e := range m.Ports {
  10940. l = e.Size()
  10941. n += 1 + l + sovGenerated(uint64(l))
  10942. }
  10943. }
  10944. if len(m.Env) > 0 {
  10945. for _, e := range m.Env {
  10946. l = e.Size()
  10947. n += 1 + l + sovGenerated(uint64(l))
  10948. }
  10949. }
  10950. l = m.Resources.Size()
  10951. n += 1 + l + sovGenerated(uint64(l))
  10952. if len(m.VolumeMounts) > 0 {
  10953. for _, e := range m.VolumeMounts {
  10954. l = e.Size()
  10955. n += 1 + l + sovGenerated(uint64(l))
  10956. }
  10957. }
  10958. if m.LivenessProbe != nil {
  10959. l = m.LivenessProbe.Size()
  10960. n += 1 + l + sovGenerated(uint64(l))
  10961. }
  10962. if m.ReadinessProbe != nil {
  10963. l = m.ReadinessProbe.Size()
  10964. n += 1 + l + sovGenerated(uint64(l))
  10965. }
  10966. if m.Lifecycle != nil {
  10967. l = m.Lifecycle.Size()
  10968. n += 1 + l + sovGenerated(uint64(l))
  10969. }
  10970. l = len(m.TerminationMessagePath)
  10971. n += 1 + l + sovGenerated(uint64(l))
  10972. l = len(m.ImagePullPolicy)
  10973. n += 1 + l + sovGenerated(uint64(l))
  10974. if m.SecurityContext != nil {
  10975. l = m.SecurityContext.Size()
  10976. n += 1 + l + sovGenerated(uint64(l))
  10977. }
  10978. n += 3
  10979. n += 3
  10980. n += 3
  10981. if len(m.EnvFrom) > 0 {
  10982. for _, e := range m.EnvFrom {
  10983. l = e.Size()
  10984. n += 2 + l + sovGenerated(uint64(l))
  10985. }
  10986. }
  10987. l = len(m.TerminationMessagePolicy)
  10988. n += 2 + l + sovGenerated(uint64(l))
  10989. if len(m.VolumeDevices) > 0 {
  10990. for _, e := range m.VolumeDevices {
  10991. l = e.Size()
  10992. n += 2 + l + sovGenerated(uint64(l))
  10993. }
  10994. }
  10995. return n
  10996. }
  10997. func (m *ContainerImage) Size() (n int) {
  10998. var l int
  10999. _ = l
  11000. if len(m.Names) > 0 {
  11001. for _, s := range m.Names {
  11002. l = len(s)
  11003. n += 1 + l + sovGenerated(uint64(l))
  11004. }
  11005. }
  11006. n += 1 + sovGenerated(uint64(m.SizeBytes))
  11007. return n
  11008. }
  11009. func (m *ContainerPort) Size() (n int) {
  11010. var l int
  11011. _ = l
  11012. l = len(m.Name)
  11013. n += 1 + l + sovGenerated(uint64(l))
  11014. n += 1 + sovGenerated(uint64(m.HostPort))
  11015. n += 1 + sovGenerated(uint64(m.ContainerPort))
  11016. l = len(m.Protocol)
  11017. n += 1 + l + sovGenerated(uint64(l))
  11018. l = len(m.HostIP)
  11019. n += 1 + l + sovGenerated(uint64(l))
  11020. return n
  11021. }
  11022. func (m *ContainerState) Size() (n int) {
  11023. var l int
  11024. _ = l
  11025. if m.Waiting != nil {
  11026. l = m.Waiting.Size()
  11027. n += 1 + l + sovGenerated(uint64(l))
  11028. }
  11029. if m.Running != nil {
  11030. l = m.Running.Size()
  11031. n += 1 + l + sovGenerated(uint64(l))
  11032. }
  11033. if m.Terminated != nil {
  11034. l = m.Terminated.Size()
  11035. n += 1 + l + sovGenerated(uint64(l))
  11036. }
  11037. return n
  11038. }
  11039. func (m *ContainerStateRunning) Size() (n int) {
  11040. var l int
  11041. _ = l
  11042. l = m.StartedAt.Size()
  11043. n += 1 + l + sovGenerated(uint64(l))
  11044. return n
  11045. }
  11046. func (m *ContainerStateTerminated) Size() (n int) {
  11047. var l int
  11048. _ = l
  11049. n += 1 + sovGenerated(uint64(m.ExitCode))
  11050. n += 1 + sovGenerated(uint64(m.Signal))
  11051. l = len(m.Reason)
  11052. n += 1 + l + sovGenerated(uint64(l))
  11053. l = len(m.Message)
  11054. n += 1 + l + sovGenerated(uint64(l))
  11055. l = m.StartedAt.Size()
  11056. n += 1 + l + sovGenerated(uint64(l))
  11057. l = m.FinishedAt.Size()
  11058. n += 1 + l + sovGenerated(uint64(l))
  11059. l = len(m.ContainerID)
  11060. n += 1 + l + sovGenerated(uint64(l))
  11061. return n
  11062. }
  11063. func (m *ContainerStateWaiting) Size() (n int) {
  11064. var l int
  11065. _ = l
  11066. l = len(m.Reason)
  11067. n += 1 + l + sovGenerated(uint64(l))
  11068. l = len(m.Message)
  11069. n += 1 + l + sovGenerated(uint64(l))
  11070. return n
  11071. }
  11072. func (m *ContainerStatus) Size() (n int) {
  11073. var l int
  11074. _ = l
  11075. l = len(m.Name)
  11076. n += 1 + l + sovGenerated(uint64(l))
  11077. l = m.State.Size()
  11078. n += 1 + l + sovGenerated(uint64(l))
  11079. l = m.LastTerminationState.Size()
  11080. n += 1 + l + sovGenerated(uint64(l))
  11081. n += 2
  11082. n += 1 + sovGenerated(uint64(m.RestartCount))
  11083. l = len(m.Image)
  11084. n += 1 + l + sovGenerated(uint64(l))
  11085. l = len(m.ImageID)
  11086. n += 1 + l + sovGenerated(uint64(l))
  11087. l = len(m.ContainerID)
  11088. n += 1 + l + sovGenerated(uint64(l))
  11089. return n
  11090. }
  11091. func (m *DaemonEndpoint) Size() (n int) {
  11092. var l int
  11093. _ = l
  11094. n += 1 + sovGenerated(uint64(m.Port))
  11095. return n
  11096. }
  11097. func (m *DownwardAPIProjection) Size() (n int) {
  11098. var l int
  11099. _ = l
  11100. if len(m.Items) > 0 {
  11101. for _, e := range m.Items {
  11102. l = e.Size()
  11103. n += 1 + l + sovGenerated(uint64(l))
  11104. }
  11105. }
  11106. return n
  11107. }
  11108. func (m *DownwardAPIVolumeFile) Size() (n int) {
  11109. var l int
  11110. _ = l
  11111. l = len(m.Path)
  11112. n += 1 + l + sovGenerated(uint64(l))
  11113. if m.FieldRef != nil {
  11114. l = m.FieldRef.Size()
  11115. n += 1 + l + sovGenerated(uint64(l))
  11116. }
  11117. if m.ResourceFieldRef != nil {
  11118. l = m.ResourceFieldRef.Size()
  11119. n += 1 + l + sovGenerated(uint64(l))
  11120. }
  11121. if m.Mode != nil {
  11122. n += 1 + sovGenerated(uint64(*m.Mode))
  11123. }
  11124. return n
  11125. }
  11126. func (m *DownwardAPIVolumeSource) Size() (n int) {
  11127. var l int
  11128. _ = l
  11129. if len(m.Items) > 0 {
  11130. for _, e := range m.Items {
  11131. l = e.Size()
  11132. n += 1 + l + sovGenerated(uint64(l))
  11133. }
  11134. }
  11135. if m.DefaultMode != nil {
  11136. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  11137. }
  11138. return n
  11139. }
  11140. func (m *EmptyDirVolumeSource) Size() (n int) {
  11141. var l int
  11142. _ = l
  11143. l = len(m.Medium)
  11144. n += 1 + l + sovGenerated(uint64(l))
  11145. if m.SizeLimit != nil {
  11146. l = m.SizeLimit.Size()
  11147. n += 1 + l + sovGenerated(uint64(l))
  11148. }
  11149. return n
  11150. }
  11151. func (m *EndpointAddress) Size() (n int) {
  11152. var l int
  11153. _ = l
  11154. l = len(m.IP)
  11155. n += 1 + l + sovGenerated(uint64(l))
  11156. if m.TargetRef != nil {
  11157. l = m.TargetRef.Size()
  11158. n += 1 + l + sovGenerated(uint64(l))
  11159. }
  11160. l = len(m.Hostname)
  11161. n += 1 + l + sovGenerated(uint64(l))
  11162. if m.NodeName != nil {
  11163. l = len(*m.NodeName)
  11164. n += 1 + l + sovGenerated(uint64(l))
  11165. }
  11166. return n
  11167. }
  11168. func (m *EndpointPort) Size() (n int) {
  11169. var l int
  11170. _ = l
  11171. l = len(m.Name)
  11172. n += 1 + l + sovGenerated(uint64(l))
  11173. n += 1 + sovGenerated(uint64(m.Port))
  11174. l = len(m.Protocol)
  11175. n += 1 + l + sovGenerated(uint64(l))
  11176. return n
  11177. }
  11178. func (m *EndpointSubset) Size() (n int) {
  11179. var l int
  11180. _ = l
  11181. if len(m.Addresses) > 0 {
  11182. for _, e := range m.Addresses {
  11183. l = e.Size()
  11184. n += 1 + l + sovGenerated(uint64(l))
  11185. }
  11186. }
  11187. if len(m.NotReadyAddresses) > 0 {
  11188. for _, e := range m.NotReadyAddresses {
  11189. l = e.Size()
  11190. n += 1 + l + sovGenerated(uint64(l))
  11191. }
  11192. }
  11193. if len(m.Ports) > 0 {
  11194. for _, e := range m.Ports {
  11195. l = e.Size()
  11196. n += 1 + l + sovGenerated(uint64(l))
  11197. }
  11198. }
  11199. return n
  11200. }
  11201. func (m *Endpoints) Size() (n int) {
  11202. var l int
  11203. _ = l
  11204. l = m.ObjectMeta.Size()
  11205. n += 1 + l + sovGenerated(uint64(l))
  11206. if len(m.Subsets) > 0 {
  11207. for _, e := range m.Subsets {
  11208. l = e.Size()
  11209. n += 1 + l + sovGenerated(uint64(l))
  11210. }
  11211. }
  11212. return n
  11213. }
  11214. func (m *EndpointsList) Size() (n int) {
  11215. var l int
  11216. _ = l
  11217. l = m.ListMeta.Size()
  11218. n += 1 + l + sovGenerated(uint64(l))
  11219. if len(m.Items) > 0 {
  11220. for _, e := range m.Items {
  11221. l = e.Size()
  11222. n += 1 + l + sovGenerated(uint64(l))
  11223. }
  11224. }
  11225. return n
  11226. }
  11227. func (m *EnvFromSource) Size() (n int) {
  11228. var l int
  11229. _ = l
  11230. l = len(m.Prefix)
  11231. n += 1 + l + sovGenerated(uint64(l))
  11232. if m.ConfigMapRef != nil {
  11233. l = m.ConfigMapRef.Size()
  11234. n += 1 + l + sovGenerated(uint64(l))
  11235. }
  11236. if m.SecretRef != nil {
  11237. l = m.SecretRef.Size()
  11238. n += 1 + l + sovGenerated(uint64(l))
  11239. }
  11240. return n
  11241. }
  11242. func (m *EnvVar) Size() (n int) {
  11243. var l int
  11244. _ = l
  11245. l = len(m.Name)
  11246. n += 1 + l + sovGenerated(uint64(l))
  11247. l = len(m.Value)
  11248. n += 1 + l + sovGenerated(uint64(l))
  11249. if m.ValueFrom != nil {
  11250. l = m.ValueFrom.Size()
  11251. n += 1 + l + sovGenerated(uint64(l))
  11252. }
  11253. return n
  11254. }
  11255. func (m *EnvVarSource) Size() (n int) {
  11256. var l int
  11257. _ = l
  11258. if m.FieldRef != nil {
  11259. l = m.FieldRef.Size()
  11260. n += 1 + l + sovGenerated(uint64(l))
  11261. }
  11262. if m.ResourceFieldRef != nil {
  11263. l = m.ResourceFieldRef.Size()
  11264. n += 1 + l + sovGenerated(uint64(l))
  11265. }
  11266. if m.ConfigMapKeyRef != nil {
  11267. l = m.ConfigMapKeyRef.Size()
  11268. n += 1 + l + sovGenerated(uint64(l))
  11269. }
  11270. if m.SecretKeyRef != nil {
  11271. l = m.SecretKeyRef.Size()
  11272. n += 1 + l + sovGenerated(uint64(l))
  11273. }
  11274. return n
  11275. }
  11276. func (m *Event) Size() (n int) {
  11277. var l int
  11278. _ = l
  11279. l = m.ObjectMeta.Size()
  11280. n += 1 + l + sovGenerated(uint64(l))
  11281. l = m.InvolvedObject.Size()
  11282. n += 1 + l + sovGenerated(uint64(l))
  11283. l = len(m.Reason)
  11284. n += 1 + l + sovGenerated(uint64(l))
  11285. l = len(m.Message)
  11286. n += 1 + l + sovGenerated(uint64(l))
  11287. l = m.Source.Size()
  11288. n += 1 + l + sovGenerated(uint64(l))
  11289. l = m.FirstTimestamp.Size()
  11290. n += 1 + l + sovGenerated(uint64(l))
  11291. l = m.LastTimestamp.Size()
  11292. n += 1 + l + sovGenerated(uint64(l))
  11293. n += 1 + sovGenerated(uint64(m.Count))
  11294. l = len(m.Type)
  11295. n += 1 + l + sovGenerated(uint64(l))
  11296. l = m.EventTime.Size()
  11297. n += 1 + l + sovGenerated(uint64(l))
  11298. if m.Series != nil {
  11299. l = m.Series.Size()
  11300. n += 1 + l + sovGenerated(uint64(l))
  11301. }
  11302. l = len(m.Action)
  11303. n += 1 + l + sovGenerated(uint64(l))
  11304. if m.Related != nil {
  11305. l = m.Related.Size()
  11306. n += 1 + l + sovGenerated(uint64(l))
  11307. }
  11308. l = len(m.ReportingController)
  11309. n += 1 + l + sovGenerated(uint64(l))
  11310. l = len(m.ReportingInstance)
  11311. n += 1 + l + sovGenerated(uint64(l))
  11312. return n
  11313. }
  11314. func (m *EventList) Size() (n int) {
  11315. var l int
  11316. _ = l
  11317. l = m.ListMeta.Size()
  11318. n += 1 + l + sovGenerated(uint64(l))
  11319. if len(m.Items) > 0 {
  11320. for _, e := range m.Items {
  11321. l = e.Size()
  11322. n += 1 + l + sovGenerated(uint64(l))
  11323. }
  11324. }
  11325. return n
  11326. }
  11327. func (m *EventSeries) Size() (n int) {
  11328. var l int
  11329. _ = l
  11330. n += 1 + sovGenerated(uint64(m.Count))
  11331. l = m.LastObservedTime.Size()
  11332. n += 1 + l + sovGenerated(uint64(l))
  11333. l = len(m.State)
  11334. n += 1 + l + sovGenerated(uint64(l))
  11335. return n
  11336. }
  11337. func (m *EventSource) Size() (n int) {
  11338. var l int
  11339. _ = l
  11340. l = len(m.Component)
  11341. n += 1 + l + sovGenerated(uint64(l))
  11342. l = len(m.Host)
  11343. n += 1 + l + sovGenerated(uint64(l))
  11344. return n
  11345. }
  11346. func (m *ExecAction) Size() (n int) {
  11347. var l int
  11348. _ = l
  11349. if len(m.Command) > 0 {
  11350. for _, s := range m.Command {
  11351. l = len(s)
  11352. n += 1 + l + sovGenerated(uint64(l))
  11353. }
  11354. }
  11355. return n
  11356. }
  11357. func (m *FCVolumeSource) Size() (n int) {
  11358. var l int
  11359. _ = l
  11360. if len(m.TargetWWNs) > 0 {
  11361. for _, s := range m.TargetWWNs {
  11362. l = len(s)
  11363. n += 1 + l + sovGenerated(uint64(l))
  11364. }
  11365. }
  11366. if m.Lun != nil {
  11367. n += 1 + sovGenerated(uint64(*m.Lun))
  11368. }
  11369. l = len(m.FSType)
  11370. n += 1 + l + sovGenerated(uint64(l))
  11371. n += 2
  11372. if len(m.WWIDs) > 0 {
  11373. for _, s := range m.WWIDs {
  11374. l = len(s)
  11375. n += 1 + l + sovGenerated(uint64(l))
  11376. }
  11377. }
  11378. return n
  11379. }
  11380. func (m *FlexPersistentVolumeSource) Size() (n int) {
  11381. var l int
  11382. _ = l
  11383. l = len(m.Driver)
  11384. n += 1 + l + sovGenerated(uint64(l))
  11385. l = len(m.FSType)
  11386. n += 1 + l + sovGenerated(uint64(l))
  11387. if m.SecretRef != nil {
  11388. l = m.SecretRef.Size()
  11389. n += 1 + l + sovGenerated(uint64(l))
  11390. }
  11391. n += 2
  11392. if len(m.Options) > 0 {
  11393. for k, v := range m.Options {
  11394. _ = k
  11395. _ = v
  11396. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  11397. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11398. }
  11399. }
  11400. return n
  11401. }
  11402. func (m *FlexVolumeSource) Size() (n int) {
  11403. var l int
  11404. _ = l
  11405. l = len(m.Driver)
  11406. n += 1 + l + sovGenerated(uint64(l))
  11407. l = len(m.FSType)
  11408. n += 1 + l + sovGenerated(uint64(l))
  11409. if m.SecretRef != nil {
  11410. l = m.SecretRef.Size()
  11411. n += 1 + l + sovGenerated(uint64(l))
  11412. }
  11413. n += 2
  11414. if len(m.Options) > 0 {
  11415. for k, v := range m.Options {
  11416. _ = k
  11417. _ = v
  11418. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  11419. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11420. }
  11421. }
  11422. return n
  11423. }
  11424. func (m *FlockerVolumeSource) Size() (n int) {
  11425. var l int
  11426. _ = l
  11427. l = len(m.DatasetName)
  11428. n += 1 + l + sovGenerated(uint64(l))
  11429. l = len(m.DatasetUUID)
  11430. n += 1 + l + sovGenerated(uint64(l))
  11431. return n
  11432. }
  11433. func (m *GCEPersistentDiskVolumeSource) Size() (n int) {
  11434. var l int
  11435. _ = l
  11436. l = len(m.PDName)
  11437. n += 1 + l + sovGenerated(uint64(l))
  11438. l = len(m.FSType)
  11439. n += 1 + l + sovGenerated(uint64(l))
  11440. n += 1 + sovGenerated(uint64(m.Partition))
  11441. n += 2
  11442. return n
  11443. }
  11444. func (m *GitRepoVolumeSource) Size() (n int) {
  11445. var l int
  11446. _ = l
  11447. l = len(m.Repository)
  11448. n += 1 + l + sovGenerated(uint64(l))
  11449. l = len(m.Revision)
  11450. n += 1 + l + sovGenerated(uint64(l))
  11451. l = len(m.Directory)
  11452. n += 1 + l + sovGenerated(uint64(l))
  11453. return n
  11454. }
  11455. func (m *GlusterfsPersistentVolumeSource) Size() (n int) {
  11456. var l int
  11457. _ = l
  11458. l = len(m.EndpointsName)
  11459. n += 1 + l + sovGenerated(uint64(l))
  11460. l = len(m.Path)
  11461. n += 1 + l + sovGenerated(uint64(l))
  11462. n += 2
  11463. if m.EndpointsNamespace != nil {
  11464. l = len(*m.EndpointsNamespace)
  11465. n += 1 + l + sovGenerated(uint64(l))
  11466. }
  11467. return n
  11468. }
  11469. func (m *GlusterfsVolumeSource) Size() (n int) {
  11470. var l int
  11471. _ = l
  11472. l = len(m.EndpointsName)
  11473. n += 1 + l + sovGenerated(uint64(l))
  11474. l = len(m.Path)
  11475. n += 1 + l + sovGenerated(uint64(l))
  11476. n += 2
  11477. return n
  11478. }
  11479. func (m *HTTPGetAction) Size() (n int) {
  11480. var l int
  11481. _ = l
  11482. l = len(m.Path)
  11483. n += 1 + l + sovGenerated(uint64(l))
  11484. l = m.Port.Size()
  11485. n += 1 + l + sovGenerated(uint64(l))
  11486. l = len(m.Host)
  11487. n += 1 + l + sovGenerated(uint64(l))
  11488. l = len(m.Scheme)
  11489. n += 1 + l + sovGenerated(uint64(l))
  11490. if len(m.HTTPHeaders) > 0 {
  11491. for _, e := range m.HTTPHeaders {
  11492. l = e.Size()
  11493. n += 1 + l + sovGenerated(uint64(l))
  11494. }
  11495. }
  11496. return n
  11497. }
  11498. func (m *HTTPHeader) Size() (n int) {
  11499. var l int
  11500. _ = l
  11501. l = len(m.Name)
  11502. n += 1 + l + sovGenerated(uint64(l))
  11503. l = len(m.Value)
  11504. n += 1 + l + sovGenerated(uint64(l))
  11505. return n
  11506. }
  11507. func (m *Handler) Size() (n int) {
  11508. var l int
  11509. _ = l
  11510. if m.Exec != nil {
  11511. l = m.Exec.Size()
  11512. n += 1 + l + sovGenerated(uint64(l))
  11513. }
  11514. if m.HTTPGet != nil {
  11515. l = m.HTTPGet.Size()
  11516. n += 1 + l + sovGenerated(uint64(l))
  11517. }
  11518. if m.TCPSocket != nil {
  11519. l = m.TCPSocket.Size()
  11520. n += 1 + l + sovGenerated(uint64(l))
  11521. }
  11522. return n
  11523. }
  11524. func (m *HostAlias) Size() (n int) {
  11525. var l int
  11526. _ = l
  11527. l = len(m.IP)
  11528. n += 1 + l + sovGenerated(uint64(l))
  11529. if len(m.Hostnames) > 0 {
  11530. for _, s := range m.Hostnames {
  11531. l = len(s)
  11532. n += 1 + l + sovGenerated(uint64(l))
  11533. }
  11534. }
  11535. return n
  11536. }
  11537. func (m *HostPathVolumeSource) Size() (n int) {
  11538. var l int
  11539. _ = l
  11540. l = len(m.Path)
  11541. n += 1 + l + sovGenerated(uint64(l))
  11542. if m.Type != nil {
  11543. l = len(*m.Type)
  11544. n += 1 + l + sovGenerated(uint64(l))
  11545. }
  11546. return n
  11547. }
  11548. func (m *ISCSIPersistentVolumeSource) Size() (n int) {
  11549. var l int
  11550. _ = l
  11551. l = len(m.TargetPortal)
  11552. n += 1 + l + sovGenerated(uint64(l))
  11553. l = len(m.IQN)
  11554. n += 1 + l + sovGenerated(uint64(l))
  11555. n += 1 + sovGenerated(uint64(m.Lun))
  11556. l = len(m.ISCSIInterface)
  11557. n += 1 + l + sovGenerated(uint64(l))
  11558. l = len(m.FSType)
  11559. n += 1 + l + sovGenerated(uint64(l))
  11560. n += 2
  11561. if len(m.Portals) > 0 {
  11562. for _, s := range m.Portals {
  11563. l = len(s)
  11564. n += 1 + l + sovGenerated(uint64(l))
  11565. }
  11566. }
  11567. n += 2
  11568. if m.SecretRef != nil {
  11569. l = m.SecretRef.Size()
  11570. n += 1 + l + sovGenerated(uint64(l))
  11571. }
  11572. n += 2
  11573. if m.InitiatorName != nil {
  11574. l = len(*m.InitiatorName)
  11575. n += 1 + l + sovGenerated(uint64(l))
  11576. }
  11577. return n
  11578. }
  11579. func (m *ISCSIVolumeSource) Size() (n int) {
  11580. var l int
  11581. _ = l
  11582. l = len(m.TargetPortal)
  11583. n += 1 + l + sovGenerated(uint64(l))
  11584. l = len(m.IQN)
  11585. n += 1 + l + sovGenerated(uint64(l))
  11586. n += 1 + sovGenerated(uint64(m.Lun))
  11587. l = len(m.ISCSIInterface)
  11588. n += 1 + l + sovGenerated(uint64(l))
  11589. l = len(m.FSType)
  11590. n += 1 + l + sovGenerated(uint64(l))
  11591. n += 2
  11592. if len(m.Portals) > 0 {
  11593. for _, s := range m.Portals {
  11594. l = len(s)
  11595. n += 1 + l + sovGenerated(uint64(l))
  11596. }
  11597. }
  11598. n += 2
  11599. if m.SecretRef != nil {
  11600. l = m.SecretRef.Size()
  11601. n += 1 + l + sovGenerated(uint64(l))
  11602. }
  11603. n += 2
  11604. if m.InitiatorName != nil {
  11605. l = len(*m.InitiatorName)
  11606. n += 1 + l + sovGenerated(uint64(l))
  11607. }
  11608. return n
  11609. }
  11610. func (m *KeyToPath) Size() (n int) {
  11611. var l int
  11612. _ = l
  11613. l = len(m.Key)
  11614. n += 1 + l + sovGenerated(uint64(l))
  11615. l = len(m.Path)
  11616. n += 1 + l + sovGenerated(uint64(l))
  11617. if m.Mode != nil {
  11618. n += 1 + sovGenerated(uint64(*m.Mode))
  11619. }
  11620. return n
  11621. }
  11622. func (m *Lifecycle) Size() (n int) {
  11623. var l int
  11624. _ = l
  11625. if m.PostStart != nil {
  11626. l = m.PostStart.Size()
  11627. n += 1 + l + sovGenerated(uint64(l))
  11628. }
  11629. if m.PreStop != nil {
  11630. l = m.PreStop.Size()
  11631. n += 1 + l + sovGenerated(uint64(l))
  11632. }
  11633. return n
  11634. }
  11635. func (m *LimitRange) Size() (n int) {
  11636. var l int
  11637. _ = l
  11638. l = m.ObjectMeta.Size()
  11639. n += 1 + l + sovGenerated(uint64(l))
  11640. l = m.Spec.Size()
  11641. n += 1 + l + sovGenerated(uint64(l))
  11642. return n
  11643. }
  11644. func (m *LimitRangeItem) Size() (n int) {
  11645. var l int
  11646. _ = l
  11647. l = len(m.Type)
  11648. n += 1 + l + sovGenerated(uint64(l))
  11649. if len(m.Max) > 0 {
  11650. for k, v := range m.Max {
  11651. _ = k
  11652. _ = v
  11653. l = v.Size()
  11654. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11655. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11656. }
  11657. }
  11658. if len(m.Min) > 0 {
  11659. for k, v := range m.Min {
  11660. _ = k
  11661. _ = v
  11662. l = v.Size()
  11663. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11664. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11665. }
  11666. }
  11667. if len(m.Default) > 0 {
  11668. for k, v := range m.Default {
  11669. _ = k
  11670. _ = v
  11671. l = v.Size()
  11672. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11673. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11674. }
  11675. }
  11676. if len(m.DefaultRequest) > 0 {
  11677. for k, v := range m.DefaultRequest {
  11678. _ = k
  11679. _ = v
  11680. l = v.Size()
  11681. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11682. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11683. }
  11684. }
  11685. if len(m.MaxLimitRequestRatio) > 0 {
  11686. for k, v := range m.MaxLimitRequestRatio {
  11687. _ = k
  11688. _ = v
  11689. l = v.Size()
  11690. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11691. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11692. }
  11693. }
  11694. return n
  11695. }
  11696. func (m *LimitRangeList) Size() (n int) {
  11697. var l int
  11698. _ = l
  11699. l = m.ListMeta.Size()
  11700. n += 1 + l + sovGenerated(uint64(l))
  11701. if len(m.Items) > 0 {
  11702. for _, e := range m.Items {
  11703. l = e.Size()
  11704. n += 1 + l + sovGenerated(uint64(l))
  11705. }
  11706. }
  11707. return n
  11708. }
  11709. func (m *LimitRangeSpec) Size() (n int) {
  11710. var l int
  11711. _ = l
  11712. if len(m.Limits) > 0 {
  11713. for _, e := range m.Limits {
  11714. l = e.Size()
  11715. n += 1 + l + sovGenerated(uint64(l))
  11716. }
  11717. }
  11718. return n
  11719. }
  11720. func (m *List) Size() (n int) {
  11721. var l int
  11722. _ = l
  11723. l = m.ListMeta.Size()
  11724. n += 1 + l + sovGenerated(uint64(l))
  11725. if len(m.Items) > 0 {
  11726. for _, e := range m.Items {
  11727. l = e.Size()
  11728. n += 1 + l + sovGenerated(uint64(l))
  11729. }
  11730. }
  11731. return n
  11732. }
  11733. func (m *LoadBalancerIngress) Size() (n int) {
  11734. var l int
  11735. _ = l
  11736. l = len(m.IP)
  11737. n += 1 + l + sovGenerated(uint64(l))
  11738. l = len(m.Hostname)
  11739. n += 1 + l + sovGenerated(uint64(l))
  11740. return n
  11741. }
  11742. func (m *LoadBalancerStatus) Size() (n int) {
  11743. var l int
  11744. _ = l
  11745. if len(m.Ingress) > 0 {
  11746. for _, e := range m.Ingress {
  11747. l = e.Size()
  11748. n += 1 + l + sovGenerated(uint64(l))
  11749. }
  11750. }
  11751. return n
  11752. }
  11753. func (m *LocalObjectReference) Size() (n int) {
  11754. var l int
  11755. _ = l
  11756. l = len(m.Name)
  11757. n += 1 + l + sovGenerated(uint64(l))
  11758. return n
  11759. }
  11760. func (m *LocalVolumeSource) Size() (n int) {
  11761. var l int
  11762. _ = l
  11763. l = len(m.Path)
  11764. n += 1 + l + sovGenerated(uint64(l))
  11765. if m.FSType != nil {
  11766. l = len(*m.FSType)
  11767. n += 1 + l + sovGenerated(uint64(l))
  11768. }
  11769. return n
  11770. }
  11771. func (m *NFSVolumeSource) Size() (n int) {
  11772. var l int
  11773. _ = l
  11774. l = len(m.Server)
  11775. n += 1 + l + sovGenerated(uint64(l))
  11776. l = len(m.Path)
  11777. n += 1 + l + sovGenerated(uint64(l))
  11778. n += 2
  11779. return n
  11780. }
  11781. func (m *Namespace) Size() (n int) {
  11782. var l int
  11783. _ = l
  11784. l = m.ObjectMeta.Size()
  11785. n += 1 + l + sovGenerated(uint64(l))
  11786. l = m.Spec.Size()
  11787. n += 1 + l + sovGenerated(uint64(l))
  11788. l = m.Status.Size()
  11789. n += 1 + l + sovGenerated(uint64(l))
  11790. return n
  11791. }
  11792. func (m *NamespaceList) Size() (n int) {
  11793. var l int
  11794. _ = l
  11795. l = m.ListMeta.Size()
  11796. n += 1 + l + sovGenerated(uint64(l))
  11797. if len(m.Items) > 0 {
  11798. for _, e := range m.Items {
  11799. l = e.Size()
  11800. n += 1 + l + sovGenerated(uint64(l))
  11801. }
  11802. }
  11803. return n
  11804. }
  11805. func (m *NamespaceSpec) Size() (n int) {
  11806. var l int
  11807. _ = l
  11808. if len(m.Finalizers) > 0 {
  11809. for _, s := range m.Finalizers {
  11810. l = len(s)
  11811. n += 1 + l + sovGenerated(uint64(l))
  11812. }
  11813. }
  11814. return n
  11815. }
  11816. func (m *NamespaceStatus) Size() (n int) {
  11817. var l int
  11818. _ = l
  11819. l = len(m.Phase)
  11820. n += 1 + l + sovGenerated(uint64(l))
  11821. return n
  11822. }
  11823. func (m *Node) Size() (n int) {
  11824. var l int
  11825. _ = l
  11826. l = m.ObjectMeta.Size()
  11827. n += 1 + l + sovGenerated(uint64(l))
  11828. l = m.Spec.Size()
  11829. n += 1 + l + sovGenerated(uint64(l))
  11830. l = m.Status.Size()
  11831. n += 1 + l + sovGenerated(uint64(l))
  11832. return n
  11833. }
  11834. func (m *NodeAddress) Size() (n int) {
  11835. var l int
  11836. _ = l
  11837. l = len(m.Type)
  11838. n += 1 + l + sovGenerated(uint64(l))
  11839. l = len(m.Address)
  11840. n += 1 + l + sovGenerated(uint64(l))
  11841. return n
  11842. }
  11843. func (m *NodeAffinity) Size() (n int) {
  11844. var l int
  11845. _ = l
  11846. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  11847. l = m.RequiredDuringSchedulingIgnoredDuringExecution.Size()
  11848. n += 1 + l + sovGenerated(uint64(l))
  11849. }
  11850. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  11851. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  11852. l = e.Size()
  11853. n += 1 + l + sovGenerated(uint64(l))
  11854. }
  11855. }
  11856. return n
  11857. }
  11858. func (m *NodeCondition) Size() (n int) {
  11859. var l int
  11860. _ = l
  11861. l = len(m.Type)
  11862. n += 1 + l + sovGenerated(uint64(l))
  11863. l = len(m.Status)
  11864. n += 1 + l + sovGenerated(uint64(l))
  11865. l = m.LastHeartbeatTime.Size()
  11866. n += 1 + l + sovGenerated(uint64(l))
  11867. l = m.LastTransitionTime.Size()
  11868. n += 1 + l + sovGenerated(uint64(l))
  11869. l = len(m.Reason)
  11870. n += 1 + l + sovGenerated(uint64(l))
  11871. l = len(m.Message)
  11872. n += 1 + l + sovGenerated(uint64(l))
  11873. return n
  11874. }
  11875. func (m *NodeConfigSource) Size() (n int) {
  11876. var l int
  11877. _ = l
  11878. if m.ConfigMap != nil {
  11879. l = m.ConfigMap.Size()
  11880. n += 1 + l + sovGenerated(uint64(l))
  11881. }
  11882. return n
  11883. }
  11884. func (m *NodeConfigStatus) Size() (n int) {
  11885. var l int
  11886. _ = l
  11887. if m.Assigned != nil {
  11888. l = m.Assigned.Size()
  11889. n += 1 + l + sovGenerated(uint64(l))
  11890. }
  11891. if m.Active != nil {
  11892. l = m.Active.Size()
  11893. n += 1 + l + sovGenerated(uint64(l))
  11894. }
  11895. if m.LastKnownGood != nil {
  11896. l = m.LastKnownGood.Size()
  11897. n += 1 + l + sovGenerated(uint64(l))
  11898. }
  11899. l = len(m.Error)
  11900. n += 1 + l + sovGenerated(uint64(l))
  11901. return n
  11902. }
  11903. func (m *NodeDaemonEndpoints) Size() (n int) {
  11904. var l int
  11905. _ = l
  11906. l = m.KubeletEndpoint.Size()
  11907. n += 1 + l + sovGenerated(uint64(l))
  11908. return n
  11909. }
  11910. func (m *NodeList) Size() (n int) {
  11911. var l int
  11912. _ = l
  11913. l = m.ListMeta.Size()
  11914. n += 1 + l + sovGenerated(uint64(l))
  11915. if len(m.Items) > 0 {
  11916. for _, e := range m.Items {
  11917. l = e.Size()
  11918. n += 1 + l + sovGenerated(uint64(l))
  11919. }
  11920. }
  11921. return n
  11922. }
  11923. func (m *NodeProxyOptions) Size() (n int) {
  11924. var l int
  11925. _ = l
  11926. l = len(m.Path)
  11927. n += 1 + l + sovGenerated(uint64(l))
  11928. return n
  11929. }
  11930. func (m *NodeResources) Size() (n int) {
  11931. var l int
  11932. _ = l
  11933. if len(m.Capacity) > 0 {
  11934. for k, v := range m.Capacity {
  11935. _ = k
  11936. _ = v
  11937. l = v.Size()
  11938. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11939. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11940. }
  11941. }
  11942. return n
  11943. }
  11944. func (m *NodeSelector) Size() (n int) {
  11945. var l int
  11946. _ = l
  11947. if len(m.NodeSelectorTerms) > 0 {
  11948. for _, e := range m.NodeSelectorTerms {
  11949. l = e.Size()
  11950. n += 1 + l + sovGenerated(uint64(l))
  11951. }
  11952. }
  11953. return n
  11954. }
  11955. func (m *NodeSelectorRequirement) Size() (n int) {
  11956. var l int
  11957. _ = l
  11958. l = len(m.Key)
  11959. n += 1 + l + sovGenerated(uint64(l))
  11960. l = len(m.Operator)
  11961. n += 1 + l + sovGenerated(uint64(l))
  11962. if len(m.Values) > 0 {
  11963. for _, s := range m.Values {
  11964. l = len(s)
  11965. n += 1 + l + sovGenerated(uint64(l))
  11966. }
  11967. }
  11968. return n
  11969. }
  11970. func (m *NodeSelectorTerm) Size() (n int) {
  11971. var l int
  11972. _ = l
  11973. if len(m.MatchExpressions) > 0 {
  11974. for _, e := range m.MatchExpressions {
  11975. l = e.Size()
  11976. n += 1 + l + sovGenerated(uint64(l))
  11977. }
  11978. }
  11979. if len(m.MatchFields) > 0 {
  11980. for _, e := range m.MatchFields {
  11981. l = e.Size()
  11982. n += 1 + l + sovGenerated(uint64(l))
  11983. }
  11984. }
  11985. return n
  11986. }
  11987. func (m *NodeSpec) Size() (n int) {
  11988. var l int
  11989. _ = l
  11990. l = len(m.PodCIDR)
  11991. n += 1 + l + sovGenerated(uint64(l))
  11992. l = len(m.DoNotUse_ExternalID)
  11993. n += 1 + l + sovGenerated(uint64(l))
  11994. l = len(m.ProviderID)
  11995. n += 1 + l + sovGenerated(uint64(l))
  11996. n += 2
  11997. if len(m.Taints) > 0 {
  11998. for _, e := range m.Taints {
  11999. l = e.Size()
  12000. n += 1 + l + sovGenerated(uint64(l))
  12001. }
  12002. }
  12003. if m.ConfigSource != nil {
  12004. l = m.ConfigSource.Size()
  12005. n += 1 + l + sovGenerated(uint64(l))
  12006. }
  12007. return n
  12008. }
  12009. func (m *NodeStatus) Size() (n int) {
  12010. var l int
  12011. _ = l
  12012. if len(m.Capacity) > 0 {
  12013. for k, v := range m.Capacity {
  12014. _ = k
  12015. _ = v
  12016. l = v.Size()
  12017. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12018. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12019. }
  12020. }
  12021. if len(m.Allocatable) > 0 {
  12022. for k, v := range m.Allocatable {
  12023. _ = k
  12024. _ = v
  12025. l = v.Size()
  12026. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12027. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12028. }
  12029. }
  12030. l = len(m.Phase)
  12031. n += 1 + l + sovGenerated(uint64(l))
  12032. if len(m.Conditions) > 0 {
  12033. for _, e := range m.Conditions {
  12034. l = e.Size()
  12035. n += 1 + l + sovGenerated(uint64(l))
  12036. }
  12037. }
  12038. if len(m.Addresses) > 0 {
  12039. for _, e := range m.Addresses {
  12040. l = e.Size()
  12041. n += 1 + l + sovGenerated(uint64(l))
  12042. }
  12043. }
  12044. l = m.DaemonEndpoints.Size()
  12045. n += 1 + l + sovGenerated(uint64(l))
  12046. l = m.NodeInfo.Size()
  12047. n += 1 + l + sovGenerated(uint64(l))
  12048. if len(m.Images) > 0 {
  12049. for _, e := range m.Images {
  12050. l = e.Size()
  12051. n += 1 + l + sovGenerated(uint64(l))
  12052. }
  12053. }
  12054. if len(m.VolumesInUse) > 0 {
  12055. for _, s := range m.VolumesInUse {
  12056. l = len(s)
  12057. n += 1 + l + sovGenerated(uint64(l))
  12058. }
  12059. }
  12060. if len(m.VolumesAttached) > 0 {
  12061. for _, e := range m.VolumesAttached {
  12062. l = e.Size()
  12063. n += 1 + l + sovGenerated(uint64(l))
  12064. }
  12065. }
  12066. if m.Config != nil {
  12067. l = m.Config.Size()
  12068. n += 1 + l + sovGenerated(uint64(l))
  12069. }
  12070. return n
  12071. }
  12072. func (m *NodeSystemInfo) Size() (n int) {
  12073. var l int
  12074. _ = l
  12075. l = len(m.MachineID)
  12076. n += 1 + l + sovGenerated(uint64(l))
  12077. l = len(m.SystemUUID)
  12078. n += 1 + l + sovGenerated(uint64(l))
  12079. l = len(m.BootID)
  12080. n += 1 + l + sovGenerated(uint64(l))
  12081. l = len(m.KernelVersion)
  12082. n += 1 + l + sovGenerated(uint64(l))
  12083. l = len(m.OSImage)
  12084. n += 1 + l + sovGenerated(uint64(l))
  12085. l = len(m.ContainerRuntimeVersion)
  12086. n += 1 + l + sovGenerated(uint64(l))
  12087. l = len(m.KubeletVersion)
  12088. n += 1 + l + sovGenerated(uint64(l))
  12089. l = len(m.KubeProxyVersion)
  12090. n += 1 + l + sovGenerated(uint64(l))
  12091. l = len(m.OperatingSystem)
  12092. n += 1 + l + sovGenerated(uint64(l))
  12093. l = len(m.Architecture)
  12094. n += 1 + l + sovGenerated(uint64(l))
  12095. return n
  12096. }
  12097. func (m *ObjectFieldSelector) Size() (n int) {
  12098. var l int
  12099. _ = l
  12100. l = len(m.APIVersion)
  12101. n += 1 + l + sovGenerated(uint64(l))
  12102. l = len(m.FieldPath)
  12103. n += 1 + l + sovGenerated(uint64(l))
  12104. return n
  12105. }
  12106. func (m *ObjectReference) Size() (n int) {
  12107. var l int
  12108. _ = l
  12109. l = len(m.Kind)
  12110. n += 1 + l + sovGenerated(uint64(l))
  12111. l = len(m.Namespace)
  12112. n += 1 + l + sovGenerated(uint64(l))
  12113. l = len(m.Name)
  12114. n += 1 + l + sovGenerated(uint64(l))
  12115. l = len(m.UID)
  12116. n += 1 + l + sovGenerated(uint64(l))
  12117. l = len(m.APIVersion)
  12118. n += 1 + l + sovGenerated(uint64(l))
  12119. l = len(m.ResourceVersion)
  12120. n += 1 + l + sovGenerated(uint64(l))
  12121. l = len(m.FieldPath)
  12122. n += 1 + l + sovGenerated(uint64(l))
  12123. return n
  12124. }
  12125. func (m *PersistentVolume) Size() (n int) {
  12126. var l int
  12127. _ = l
  12128. l = m.ObjectMeta.Size()
  12129. n += 1 + l + sovGenerated(uint64(l))
  12130. l = m.Spec.Size()
  12131. n += 1 + l + sovGenerated(uint64(l))
  12132. l = m.Status.Size()
  12133. n += 1 + l + sovGenerated(uint64(l))
  12134. return n
  12135. }
  12136. func (m *PersistentVolumeClaim) Size() (n int) {
  12137. var l int
  12138. _ = l
  12139. l = m.ObjectMeta.Size()
  12140. n += 1 + l + sovGenerated(uint64(l))
  12141. l = m.Spec.Size()
  12142. n += 1 + l + sovGenerated(uint64(l))
  12143. l = m.Status.Size()
  12144. n += 1 + l + sovGenerated(uint64(l))
  12145. return n
  12146. }
  12147. func (m *PersistentVolumeClaimCondition) Size() (n int) {
  12148. var l int
  12149. _ = l
  12150. l = len(m.Type)
  12151. n += 1 + l + sovGenerated(uint64(l))
  12152. l = len(m.Status)
  12153. n += 1 + l + sovGenerated(uint64(l))
  12154. l = m.LastProbeTime.Size()
  12155. n += 1 + l + sovGenerated(uint64(l))
  12156. l = m.LastTransitionTime.Size()
  12157. n += 1 + l + sovGenerated(uint64(l))
  12158. l = len(m.Reason)
  12159. n += 1 + l + sovGenerated(uint64(l))
  12160. l = len(m.Message)
  12161. n += 1 + l + sovGenerated(uint64(l))
  12162. return n
  12163. }
  12164. func (m *PersistentVolumeClaimList) Size() (n int) {
  12165. var l int
  12166. _ = l
  12167. l = m.ListMeta.Size()
  12168. n += 1 + l + sovGenerated(uint64(l))
  12169. if len(m.Items) > 0 {
  12170. for _, e := range m.Items {
  12171. l = e.Size()
  12172. n += 1 + l + sovGenerated(uint64(l))
  12173. }
  12174. }
  12175. return n
  12176. }
  12177. func (m *PersistentVolumeClaimSpec) Size() (n int) {
  12178. var l int
  12179. _ = l
  12180. if len(m.AccessModes) > 0 {
  12181. for _, s := range m.AccessModes {
  12182. l = len(s)
  12183. n += 1 + l + sovGenerated(uint64(l))
  12184. }
  12185. }
  12186. l = m.Resources.Size()
  12187. n += 1 + l + sovGenerated(uint64(l))
  12188. l = len(m.VolumeName)
  12189. n += 1 + l + sovGenerated(uint64(l))
  12190. if m.Selector != nil {
  12191. l = m.Selector.Size()
  12192. n += 1 + l + sovGenerated(uint64(l))
  12193. }
  12194. if m.StorageClassName != nil {
  12195. l = len(*m.StorageClassName)
  12196. n += 1 + l + sovGenerated(uint64(l))
  12197. }
  12198. if m.VolumeMode != nil {
  12199. l = len(*m.VolumeMode)
  12200. n += 1 + l + sovGenerated(uint64(l))
  12201. }
  12202. if m.DataSource != nil {
  12203. l = m.DataSource.Size()
  12204. n += 1 + l + sovGenerated(uint64(l))
  12205. }
  12206. return n
  12207. }
  12208. func (m *PersistentVolumeClaimStatus) Size() (n int) {
  12209. var l int
  12210. _ = l
  12211. l = len(m.Phase)
  12212. n += 1 + l + sovGenerated(uint64(l))
  12213. if len(m.AccessModes) > 0 {
  12214. for _, s := range m.AccessModes {
  12215. l = len(s)
  12216. n += 1 + l + sovGenerated(uint64(l))
  12217. }
  12218. }
  12219. if len(m.Capacity) > 0 {
  12220. for k, v := range m.Capacity {
  12221. _ = k
  12222. _ = v
  12223. l = v.Size()
  12224. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12225. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12226. }
  12227. }
  12228. if len(m.Conditions) > 0 {
  12229. for _, e := range m.Conditions {
  12230. l = e.Size()
  12231. n += 1 + l + sovGenerated(uint64(l))
  12232. }
  12233. }
  12234. return n
  12235. }
  12236. func (m *PersistentVolumeClaimVolumeSource) Size() (n int) {
  12237. var l int
  12238. _ = l
  12239. l = len(m.ClaimName)
  12240. n += 1 + l + sovGenerated(uint64(l))
  12241. n += 2
  12242. return n
  12243. }
  12244. func (m *PersistentVolumeList) Size() (n int) {
  12245. var l int
  12246. _ = l
  12247. l = m.ListMeta.Size()
  12248. n += 1 + l + sovGenerated(uint64(l))
  12249. if len(m.Items) > 0 {
  12250. for _, e := range m.Items {
  12251. l = e.Size()
  12252. n += 1 + l + sovGenerated(uint64(l))
  12253. }
  12254. }
  12255. return n
  12256. }
  12257. func (m *PersistentVolumeSource) Size() (n int) {
  12258. var l int
  12259. _ = l
  12260. if m.GCEPersistentDisk != nil {
  12261. l = m.GCEPersistentDisk.Size()
  12262. n += 1 + l + sovGenerated(uint64(l))
  12263. }
  12264. if m.AWSElasticBlockStore != nil {
  12265. l = m.AWSElasticBlockStore.Size()
  12266. n += 1 + l + sovGenerated(uint64(l))
  12267. }
  12268. if m.HostPath != nil {
  12269. l = m.HostPath.Size()
  12270. n += 1 + l + sovGenerated(uint64(l))
  12271. }
  12272. if m.Glusterfs != nil {
  12273. l = m.Glusterfs.Size()
  12274. n += 1 + l + sovGenerated(uint64(l))
  12275. }
  12276. if m.NFS != nil {
  12277. l = m.NFS.Size()
  12278. n += 1 + l + sovGenerated(uint64(l))
  12279. }
  12280. if m.RBD != nil {
  12281. l = m.RBD.Size()
  12282. n += 1 + l + sovGenerated(uint64(l))
  12283. }
  12284. if m.ISCSI != nil {
  12285. l = m.ISCSI.Size()
  12286. n += 1 + l + sovGenerated(uint64(l))
  12287. }
  12288. if m.Cinder != nil {
  12289. l = m.Cinder.Size()
  12290. n += 1 + l + sovGenerated(uint64(l))
  12291. }
  12292. if m.CephFS != nil {
  12293. l = m.CephFS.Size()
  12294. n += 1 + l + sovGenerated(uint64(l))
  12295. }
  12296. if m.FC != nil {
  12297. l = m.FC.Size()
  12298. n += 1 + l + sovGenerated(uint64(l))
  12299. }
  12300. if m.Flocker != nil {
  12301. l = m.Flocker.Size()
  12302. n += 1 + l + sovGenerated(uint64(l))
  12303. }
  12304. if m.FlexVolume != nil {
  12305. l = m.FlexVolume.Size()
  12306. n += 1 + l + sovGenerated(uint64(l))
  12307. }
  12308. if m.AzureFile != nil {
  12309. l = m.AzureFile.Size()
  12310. n += 1 + l + sovGenerated(uint64(l))
  12311. }
  12312. if m.VsphereVolume != nil {
  12313. l = m.VsphereVolume.Size()
  12314. n += 1 + l + sovGenerated(uint64(l))
  12315. }
  12316. if m.Quobyte != nil {
  12317. l = m.Quobyte.Size()
  12318. n += 1 + l + sovGenerated(uint64(l))
  12319. }
  12320. if m.AzureDisk != nil {
  12321. l = m.AzureDisk.Size()
  12322. n += 2 + l + sovGenerated(uint64(l))
  12323. }
  12324. if m.PhotonPersistentDisk != nil {
  12325. l = m.PhotonPersistentDisk.Size()
  12326. n += 2 + l + sovGenerated(uint64(l))
  12327. }
  12328. if m.PortworxVolume != nil {
  12329. l = m.PortworxVolume.Size()
  12330. n += 2 + l + sovGenerated(uint64(l))
  12331. }
  12332. if m.ScaleIO != nil {
  12333. l = m.ScaleIO.Size()
  12334. n += 2 + l + sovGenerated(uint64(l))
  12335. }
  12336. if m.Local != nil {
  12337. l = m.Local.Size()
  12338. n += 2 + l + sovGenerated(uint64(l))
  12339. }
  12340. if m.StorageOS != nil {
  12341. l = m.StorageOS.Size()
  12342. n += 2 + l + sovGenerated(uint64(l))
  12343. }
  12344. if m.CSI != nil {
  12345. l = m.CSI.Size()
  12346. n += 2 + l + sovGenerated(uint64(l))
  12347. }
  12348. return n
  12349. }
  12350. func (m *PersistentVolumeSpec) Size() (n int) {
  12351. var l int
  12352. _ = l
  12353. if len(m.Capacity) > 0 {
  12354. for k, v := range m.Capacity {
  12355. _ = k
  12356. _ = v
  12357. l = v.Size()
  12358. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12359. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12360. }
  12361. }
  12362. l = m.PersistentVolumeSource.Size()
  12363. n += 1 + l + sovGenerated(uint64(l))
  12364. if len(m.AccessModes) > 0 {
  12365. for _, s := range m.AccessModes {
  12366. l = len(s)
  12367. n += 1 + l + sovGenerated(uint64(l))
  12368. }
  12369. }
  12370. if m.ClaimRef != nil {
  12371. l = m.ClaimRef.Size()
  12372. n += 1 + l + sovGenerated(uint64(l))
  12373. }
  12374. l = len(m.PersistentVolumeReclaimPolicy)
  12375. n += 1 + l + sovGenerated(uint64(l))
  12376. l = len(m.StorageClassName)
  12377. n += 1 + l + sovGenerated(uint64(l))
  12378. if len(m.MountOptions) > 0 {
  12379. for _, s := range m.MountOptions {
  12380. l = len(s)
  12381. n += 1 + l + sovGenerated(uint64(l))
  12382. }
  12383. }
  12384. if m.VolumeMode != nil {
  12385. l = len(*m.VolumeMode)
  12386. n += 1 + l + sovGenerated(uint64(l))
  12387. }
  12388. if m.NodeAffinity != nil {
  12389. l = m.NodeAffinity.Size()
  12390. n += 1 + l + sovGenerated(uint64(l))
  12391. }
  12392. return n
  12393. }
  12394. func (m *PersistentVolumeStatus) Size() (n int) {
  12395. var l int
  12396. _ = l
  12397. l = len(m.Phase)
  12398. n += 1 + l + sovGenerated(uint64(l))
  12399. l = len(m.Message)
  12400. n += 1 + l + sovGenerated(uint64(l))
  12401. l = len(m.Reason)
  12402. n += 1 + l + sovGenerated(uint64(l))
  12403. return n
  12404. }
  12405. func (m *PhotonPersistentDiskVolumeSource) Size() (n int) {
  12406. var l int
  12407. _ = l
  12408. l = len(m.PdID)
  12409. n += 1 + l + sovGenerated(uint64(l))
  12410. l = len(m.FSType)
  12411. n += 1 + l + sovGenerated(uint64(l))
  12412. return n
  12413. }
  12414. func (m *Pod) Size() (n int) {
  12415. var l int
  12416. _ = l
  12417. l = m.ObjectMeta.Size()
  12418. n += 1 + l + sovGenerated(uint64(l))
  12419. l = m.Spec.Size()
  12420. n += 1 + l + sovGenerated(uint64(l))
  12421. l = m.Status.Size()
  12422. n += 1 + l + sovGenerated(uint64(l))
  12423. return n
  12424. }
  12425. func (m *PodAffinity) Size() (n int) {
  12426. var l int
  12427. _ = l
  12428. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  12429. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  12430. l = e.Size()
  12431. n += 1 + l + sovGenerated(uint64(l))
  12432. }
  12433. }
  12434. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  12435. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  12436. l = e.Size()
  12437. n += 1 + l + sovGenerated(uint64(l))
  12438. }
  12439. }
  12440. return n
  12441. }
  12442. func (m *PodAffinityTerm) Size() (n int) {
  12443. var l int
  12444. _ = l
  12445. if m.LabelSelector != nil {
  12446. l = m.LabelSelector.Size()
  12447. n += 1 + l + sovGenerated(uint64(l))
  12448. }
  12449. if len(m.Namespaces) > 0 {
  12450. for _, s := range m.Namespaces {
  12451. l = len(s)
  12452. n += 1 + l + sovGenerated(uint64(l))
  12453. }
  12454. }
  12455. l = len(m.TopologyKey)
  12456. n += 1 + l + sovGenerated(uint64(l))
  12457. return n
  12458. }
  12459. func (m *PodAntiAffinity) Size() (n int) {
  12460. var l int
  12461. _ = l
  12462. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  12463. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  12464. l = e.Size()
  12465. n += 1 + l + sovGenerated(uint64(l))
  12466. }
  12467. }
  12468. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  12469. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  12470. l = e.Size()
  12471. n += 1 + l + sovGenerated(uint64(l))
  12472. }
  12473. }
  12474. return n
  12475. }
  12476. func (m *PodAttachOptions) Size() (n int) {
  12477. var l int
  12478. _ = l
  12479. n += 2
  12480. n += 2
  12481. n += 2
  12482. n += 2
  12483. l = len(m.Container)
  12484. n += 1 + l + sovGenerated(uint64(l))
  12485. return n
  12486. }
  12487. func (m *PodCondition) Size() (n int) {
  12488. var l int
  12489. _ = l
  12490. l = len(m.Type)
  12491. n += 1 + l + sovGenerated(uint64(l))
  12492. l = len(m.Status)
  12493. n += 1 + l + sovGenerated(uint64(l))
  12494. l = m.LastProbeTime.Size()
  12495. n += 1 + l + sovGenerated(uint64(l))
  12496. l = m.LastTransitionTime.Size()
  12497. n += 1 + l + sovGenerated(uint64(l))
  12498. l = len(m.Reason)
  12499. n += 1 + l + sovGenerated(uint64(l))
  12500. l = len(m.Message)
  12501. n += 1 + l + sovGenerated(uint64(l))
  12502. return n
  12503. }
  12504. func (m *PodDNSConfig) Size() (n int) {
  12505. var l int
  12506. _ = l
  12507. if len(m.Nameservers) > 0 {
  12508. for _, s := range m.Nameservers {
  12509. l = len(s)
  12510. n += 1 + l + sovGenerated(uint64(l))
  12511. }
  12512. }
  12513. if len(m.Searches) > 0 {
  12514. for _, s := range m.Searches {
  12515. l = len(s)
  12516. n += 1 + l + sovGenerated(uint64(l))
  12517. }
  12518. }
  12519. if len(m.Options) > 0 {
  12520. for _, e := range m.Options {
  12521. l = e.Size()
  12522. n += 1 + l + sovGenerated(uint64(l))
  12523. }
  12524. }
  12525. return n
  12526. }
  12527. func (m *PodDNSConfigOption) Size() (n int) {
  12528. var l int
  12529. _ = l
  12530. l = len(m.Name)
  12531. n += 1 + l + sovGenerated(uint64(l))
  12532. if m.Value != nil {
  12533. l = len(*m.Value)
  12534. n += 1 + l + sovGenerated(uint64(l))
  12535. }
  12536. return n
  12537. }
  12538. func (m *PodExecOptions) Size() (n int) {
  12539. var l int
  12540. _ = l
  12541. n += 2
  12542. n += 2
  12543. n += 2
  12544. n += 2
  12545. l = len(m.Container)
  12546. n += 1 + l + sovGenerated(uint64(l))
  12547. if len(m.Command) > 0 {
  12548. for _, s := range m.Command {
  12549. l = len(s)
  12550. n += 1 + l + sovGenerated(uint64(l))
  12551. }
  12552. }
  12553. return n
  12554. }
  12555. func (m *PodList) Size() (n int) {
  12556. var l int
  12557. _ = l
  12558. l = m.ListMeta.Size()
  12559. n += 1 + l + sovGenerated(uint64(l))
  12560. if len(m.Items) > 0 {
  12561. for _, e := range m.Items {
  12562. l = e.Size()
  12563. n += 1 + l + sovGenerated(uint64(l))
  12564. }
  12565. }
  12566. return n
  12567. }
  12568. func (m *PodLogOptions) Size() (n int) {
  12569. var l int
  12570. _ = l
  12571. l = len(m.Container)
  12572. n += 1 + l + sovGenerated(uint64(l))
  12573. n += 2
  12574. n += 2
  12575. if m.SinceSeconds != nil {
  12576. n += 1 + sovGenerated(uint64(*m.SinceSeconds))
  12577. }
  12578. if m.SinceTime != nil {
  12579. l = m.SinceTime.Size()
  12580. n += 1 + l + sovGenerated(uint64(l))
  12581. }
  12582. n += 2
  12583. if m.TailLines != nil {
  12584. n += 1 + sovGenerated(uint64(*m.TailLines))
  12585. }
  12586. if m.LimitBytes != nil {
  12587. n += 1 + sovGenerated(uint64(*m.LimitBytes))
  12588. }
  12589. return n
  12590. }
  12591. func (m *PodPortForwardOptions) Size() (n int) {
  12592. var l int
  12593. _ = l
  12594. if len(m.Ports) > 0 {
  12595. for _, e := range m.Ports {
  12596. n += 1 + sovGenerated(uint64(e))
  12597. }
  12598. }
  12599. return n
  12600. }
  12601. func (m *PodProxyOptions) Size() (n int) {
  12602. var l int
  12603. _ = l
  12604. l = len(m.Path)
  12605. n += 1 + l + sovGenerated(uint64(l))
  12606. return n
  12607. }
  12608. func (m *PodReadinessGate) Size() (n int) {
  12609. var l int
  12610. _ = l
  12611. l = len(m.ConditionType)
  12612. n += 1 + l + sovGenerated(uint64(l))
  12613. return n
  12614. }
  12615. func (m *PodSecurityContext) Size() (n int) {
  12616. var l int
  12617. _ = l
  12618. if m.SELinuxOptions != nil {
  12619. l = m.SELinuxOptions.Size()
  12620. n += 1 + l + sovGenerated(uint64(l))
  12621. }
  12622. if m.RunAsUser != nil {
  12623. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  12624. }
  12625. if m.RunAsNonRoot != nil {
  12626. n += 2
  12627. }
  12628. if len(m.SupplementalGroups) > 0 {
  12629. for _, e := range m.SupplementalGroups {
  12630. n += 1 + sovGenerated(uint64(e))
  12631. }
  12632. }
  12633. if m.FSGroup != nil {
  12634. n += 1 + sovGenerated(uint64(*m.FSGroup))
  12635. }
  12636. if m.RunAsGroup != nil {
  12637. n += 1 + sovGenerated(uint64(*m.RunAsGroup))
  12638. }
  12639. if len(m.Sysctls) > 0 {
  12640. for _, e := range m.Sysctls {
  12641. l = e.Size()
  12642. n += 1 + l + sovGenerated(uint64(l))
  12643. }
  12644. }
  12645. return n
  12646. }
  12647. func (m *PodSignature) Size() (n int) {
  12648. var l int
  12649. _ = l
  12650. if m.PodController != nil {
  12651. l = m.PodController.Size()
  12652. n += 1 + l + sovGenerated(uint64(l))
  12653. }
  12654. return n
  12655. }
  12656. func (m *PodSpec) Size() (n int) {
  12657. var l int
  12658. _ = l
  12659. if len(m.Volumes) > 0 {
  12660. for _, e := range m.Volumes {
  12661. l = e.Size()
  12662. n += 1 + l + sovGenerated(uint64(l))
  12663. }
  12664. }
  12665. if len(m.Containers) > 0 {
  12666. for _, e := range m.Containers {
  12667. l = e.Size()
  12668. n += 1 + l + sovGenerated(uint64(l))
  12669. }
  12670. }
  12671. l = len(m.RestartPolicy)
  12672. n += 1 + l + sovGenerated(uint64(l))
  12673. if m.TerminationGracePeriodSeconds != nil {
  12674. n += 1 + sovGenerated(uint64(*m.TerminationGracePeriodSeconds))
  12675. }
  12676. if m.ActiveDeadlineSeconds != nil {
  12677. n += 1 + sovGenerated(uint64(*m.ActiveDeadlineSeconds))
  12678. }
  12679. l = len(m.DNSPolicy)
  12680. n += 1 + l + sovGenerated(uint64(l))
  12681. if len(m.NodeSelector) > 0 {
  12682. for k, v := range m.NodeSelector {
  12683. _ = k
  12684. _ = v
  12685. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  12686. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12687. }
  12688. }
  12689. l = len(m.ServiceAccountName)
  12690. n += 1 + l + sovGenerated(uint64(l))
  12691. l = len(m.DeprecatedServiceAccount)
  12692. n += 1 + l + sovGenerated(uint64(l))
  12693. l = len(m.NodeName)
  12694. n += 1 + l + sovGenerated(uint64(l))
  12695. n += 2
  12696. n += 2
  12697. n += 2
  12698. if m.SecurityContext != nil {
  12699. l = m.SecurityContext.Size()
  12700. n += 1 + l + sovGenerated(uint64(l))
  12701. }
  12702. if len(m.ImagePullSecrets) > 0 {
  12703. for _, e := range m.ImagePullSecrets {
  12704. l = e.Size()
  12705. n += 1 + l + sovGenerated(uint64(l))
  12706. }
  12707. }
  12708. l = len(m.Hostname)
  12709. n += 2 + l + sovGenerated(uint64(l))
  12710. l = len(m.Subdomain)
  12711. n += 2 + l + sovGenerated(uint64(l))
  12712. if m.Affinity != nil {
  12713. l = m.Affinity.Size()
  12714. n += 2 + l + sovGenerated(uint64(l))
  12715. }
  12716. l = len(m.SchedulerName)
  12717. n += 2 + l + sovGenerated(uint64(l))
  12718. if len(m.InitContainers) > 0 {
  12719. for _, e := range m.InitContainers {
  12720. l = e.Size()
  12721. n += 2 + l + sovGenerated(uint64(l))
  12722. }
  12723. }
  12724. if m.AutomountServiceAccountToken != nil {
  12725. n += 3
  12726. }
  12727. if len(m.Tolerations) > 0 {
  12728. for _, e := range m.Tolerations {
  12729. l = e.Size()
  12730. n += 2 + l + sovGenerated(uint64(l))
  12731. }
  12732. }
  12733. if len(m.HostAliases) > 0 {
  12734. for _, e := range m.HostAliases {
  12735. l = e.Size()
  12736. n += 2 + l + sovGenerated(uint64(l))
  12737. }
  12738. }
  12739. l = len(m.PriorityClassName)
  12740. n += 2 + l + sovGenerated(uint64(l))
  12741. if m.Priority != nil {
  12742. n += 2 + sovGenerated(uint64(*m.Priority))
  12743. }
  12744. if m.DNSConfig != nil {
  12745. l = m.DNSConfig.Size()
  12746. n += 2 + l + sovGenerated(uint64(l))
  12747. }
  12748. if m.ShareProcessNamespace != nil {
  12749. n += 3
  12750. }
  12751. if len(m.ReadinessGates) > 0 {
  12752. for _, e := range m.ReadinessGates {
  12753. l = e.Size()
  12754. n += 2 + l + sovGenerated(uint64(l))
  12755. }
  12756. }
  12757. if m.RuntimeClassName != nil {
  12758. l = len(*m.RuntimeClassName)
  12759. n += 2 + l + sovGenerated(uint64(l))
  12760. }
  12761. if m.EnableServiceLinks != nil {
  12762. n += 3
  12763. }
  12764. return n
  12765. }
  12766. func (m *PodStatus) Size() (n int) {
  12767. var l int
  12768. _ = l
  12769. l = len(m.Phase)
  12770. n += 1 + l + sovGenerated(uint64(l))
  12771. if len(m.Conditions) > 0 {
  12772. for _, e := range m.Conditions {
  12773. l = e.Size()
  12774. n += 1 + l + sovGenerated(uint64(l))
  12775. }
  12776. }
  12777. l = len(m.Message)
  12778. n += 1 + l + sovGenerated(uint64(l))
  12779. l = len(m.Reason)
  12780. n += 1 + l + sovGenerated(uint64(l))
  12781. l = len(m.HostIP)
  12782. n += 1 + l + sovGenerated(uint64(l))
  12783. l = len(m.PodIP)
  12784. n += 1 + l + sovGenerated(uint64(l))
  12785. if m.StartTime != nil {
  12786. l = m.StartTime.Size()
  12787. n += 1 + l + sovGenerated(uint64(l))
  12788. }
  12789. if len(m.ContainerStatuses) > 0 {
  12790. for _, e := range m.ContainerStatuses {
  12791. l = e.Size()
  12792. n += 1 + l + sovGenerated(uint64(l))
  12793. }
  12794. }
  12795. l = len(m.QOSClass)
  12796. n += 1 + l + sovGenerated(uint64(l))
  12797. if len(m.InitContainerStatuses) > 0 {
  12798. for _, e := range m.InitContainerStatuses {
  12799. l = e.Size()
  12800. n += 1 + l + sovGenerated(uint64(l))
  12801. }
  12802. }
  12803. l = len(m.NominatedNodeName)
  12804. n += 1 + l + sovGenerated(uint64(l))
  12805. return n
  12806. }
  12807. func (m *PodStatusResult) Size() (n int) {
  12808. var l int
  12809. _ = l
  12810. l = m.ObjectMeta.Size()
  12811. n += 1 + l + sovGenerated(uint64(l))
  12812. l = m.Status.Size()
  12813. n += 1 + l + sovGenerated(uint64(l))
  12814. return n
  12815. }
  12816. func (m *PodTemplate) Size() (n int) {
  12817. var l int
  12818. _ = l
  12819. l = m.ObjectMeta.Size()
  12820. n += 1 + l + sovGenerated(uint64(l))
  12821. l = m.Template.Size()
  12822. n += 1 + l + sovGenerated(uint64(l))
  12823. return n
  12824. }
  12825. func (m *PodTemplateList) Size() (n int) {
  12826. var l int
  12827. _ = l
  12828. l = m.ListMeta.Size()
  12829. n += 1 + l + sovGenerated(uint64(l))
  12830. if len(m.Items) > 0 {
  12831. for _, e := range m.Items {
  12832. l = e.Size()
  12833. n += 1 + l + sovGenerated(uint64(l))
  12834. }
  12835. }
  12836. return n
  12837. }
  12838. func (m *PodTemplateSpec) Size() (n int) {
  12839. var l int
  12840. _ = l
  12841. l = m.ObjectMeta.Size()
  12842. n += 1 + l + sovGenerated(uint64(l))
  12843. l = m.Spec.Size()
  12844. n += 1 + l + sovGenerated(uint64(l))
  12845. return n
  12846. }
  12847. func (m *PortworxVolumeSource) Size() (n int) {
  12848. var l int
  12849. _ = l
  12850. l = len(m.VolumeID)
  12851. n += 1 + l + sovGenerated(uint64(l))
  12852. l = len(m.FSType)
  12853. n += 1 + l + sovGenerated(uint64(l))
  12854. n += 2
  12855. return n
  12856. }
  12857. func (m *Preconditions) Size() (n int) {
  12858. var l int
  12859. _ = l
  12860. if m.UID != nil {
  12861. l = len(*m.UID)
  12862. n += 1 + l + sovGenerated(uint64(l))
  12863. }
  12864. return n
  12865. }
  12866. func (m *PreferAvoidPodsEntry) Size() (n int) {
  12867. var l int
  12868. _ = l
  12869. l = m.PodSignature.Size()
  12870. n += 1 + l + sovGenerated(uint64(l))
  12871. l = m.EvictionTime.Size()
  12872. n += 1 + l + sovGenerated(uint64(l))
  12873. l = len(m.Reason)
  12874. n += 1 + l + sovGenerated(uint64(l))
  12875. l = len(m.Message)
  12876. n += 1 + l + sovGenerated(uint64(l))
  12877. return n
  12878. }
  12879. func (m *PreferredSchedulingTerm) Size() (n int) {
  12880. var l int
  12881. _ = l
  12882. n += 1 + sovGenerated(uint64(m.Weight))
  12883. l = m.Preference.Size()
  12884. n += 1 + l + sovGenerated(uint64(l))
  12885. return n
  12886. }
  12887. func (m *Probe) Size() (n int) {
  12888. var l int
  12889. _ = l
  12890. l = m.Handler.Size()
  12891. n += 1 + l + sovGenerated(uint64(l))
  12892. n += 1 + sovGenerated(uint64(m.InitialDelaySeconds))
  12893. n += 1 + sovGenerated(uint64(m.TimeoutSeconds))
  12894. n += 1 + sovGenerated(uint64(m.PeriodSeconds))
  12895. n += 1 + sovGenerated(uint64(m.SuccessThreshold))
  12896. n += 1 + sovGenerated(uint64(m.FailureThreshold))
  12897. return n
  12898. }
  12899. func (m *ProjectedVolumeSource) Size() (n int) {
  12900. var l int
  12901. _ = l
  12902. if len(m.Sources) > 0 {
  12903. for _, e := range m.Sources {
  12904. l = e.Size()
  12905. n += 1 + l + sovGenerated(uint64(l))
  12906. }
  12907. }
  12908. if m.DefaultMode != nil {
  12909. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  12910. }
  12911. return n
  12912. }
  12913. func (m *QuobyteVolumeSource) Size() (n int) {
  12914. var l int
  12915. _ = l
  12916. l = len(m.Registry)
  12917. n += 1 + l + sovGenerated(uint64(l))
  12918. l = len(m.Volume)
  12919. n += 1 + l + sovGenerated(uint64(l))
  12920. n += 2
  12921. l = len(m.User)
  12922. n += 1 + l + sovGenerated(uint64(l))
  12923. l = len(m.Group)
  12924. n += 1 + l + sovGenerated(uint64(l))
  12925. l = len(m.Tenant)
  12926. n += 1 + l + sovGenerated(uint64(l))
  12927. return n
  12928. }
  12929. func (m *RBDPersistentVolumeSource) Size() (n int) {
  12930. var l int
  12931. _ = l
  12932. if len(m.CephMonitors) > 0 {
  12933. for _, s := range m.CephMonitors {
  12934. l = len(s)
  12935. n += 1 + l + sovGenerated(uint64(l))
  12936. }
  12937. }
  12938. l = len(m.RBDImage)
  12939. n += 1 + l + sovGenerated(uint64(l))
  12940. l = len(m.FSType)
  12941. n += 1 + l + sovGenerated(uint64(l))
  12942. l = len(m.RBDPool)
  12943. n += 1 + l + sovGenerated(uint64(l))
  12944. l = len(m.RadosUser)
  12945. n += 1 + l + sovGenerated(uint64(l))
  12946. l = len(m.Keyring)
  12947. n += 1 + l + sovGenerated(uint64(l))
  12948. if m.SecretRef != nil {
  12949. l = m.SecretRef.Size()
  12950. n += 1 + l + sovGenerated(uint64(l))
  12951. }
  12952. n += 2
  12953. return n
  12954. }
  12955. func (m *RBDVolumeSource) Size() (n int) {
  12956. var l int
  12957. _ = l
  12958. if len(m.CephMonitors) > 0 {
  12959. for _, s := range m.CephMonitors {
  12960. l = len(s)
  12961. n += 1 + l + sovGenerated(uint64(l))
  12962. }
  12963. }
  12964. l = len(m.RBDImage)
  12965. n += 1 + l + sovGenerated(uint64(l))
  12966. l = len(m.FSType)
  12967. n += 1 + l + sovGenerated(uint64(l))
  12968. l = len(m.RBDPool)
  12969. n += 1 + l + sovGenerated(uint64(l))
  12970. l = len(m.RadosUser)
  12971. n += 1 + l + sovGenerated(uint64(l))
  12972. l = len(m.Keyring)
  12973. n += 1 + l + sovGenerated(uint64(l))
  12974. if m.SecretRef != nil {
  12975. l = m.SecretRef.Size()
  12976. n += 1 + l + sovGenerated(uint64(l))
  12977. }
  12978. n += 2
  12979. return n
  12980. }
  12981. func (m *RangeAllocation) Size() (n int) {
  12982. var l int
  12983. _ = l
  12984. l = m.ObjectMeta.Size()
  12985. n += 1 + l + sovGenerated(uint64(l))
  12986. l = len(m.Range)
  12987. n += 1 + l + sovGenerated(uint64(l))
  12988. if m.Data != nil {
  12989. l = len(m.Data)
  12990. n += 1 + l + sovGenerated(uint64(l))
  12991. }
  12992. return n
  12993. }
  12994. func (m *ReplicationController) Size() (n int) {
  12995. var l int
  12996. _ = l
  12997. l = m.ObjectMeta.Size()
  12998. n += 1 + l + sovGenerated(uint64(l))
  12999. l = m.Spec.Size()
  13000. n += 1 + l + sovGenerated(uint64(l))
  13001. l = m.Status.Size()
  13002. n += 1 + l + sovGenerated(uint64(l))
  13003. return n
  13004. }
  13005. func (m *ReplicationControllerCondition) Size() (n int) {
  13006. var l int
  13007. _ = l
  13008. l = len(m.Type)
  13009. n += 1 + l + sovGenerated(uint64(l))
  13010. l = len(m.Status)
  13011. n += 1 + l + sovGenerated(uint64(l))
  13012. l = m.LastTransitionTime.Size()
  13013. n += 1 + l + sovGenerated(uint64(l))
  13014. l = len(m.Reason)
  13015. n += 1 + l + sovGenerated(uint64(l))
  13016. l = len(m.Message)
  13017. n += 1 + l + sovGenerated(uint64(l))
  13018. return n
  13019. }
  13020. func (m *ReplicationControllerList) Size() (n int) {
  13021. var l int
  13022. _ = l
  13023. l = m.ListMeta.Size()
  13024. n += 1 + l + sovGenerated(uint64(l))
  13025. if len(m.Items) > 0 {
  13026. for _, e := range m.Items {
  13027. l = e.Size()
  13028. n += 1 + l + sovGenerated(uint64(l))
  13029. }
  13030. }
  13031. return n
  13032. }
  13033. func (m *ReplicationControllerSpec) Size() (n int) {
  13034. var l int
  13035. _ = l
  13036. if m.Replicas != nil {
  13037. n += 1 + sovGenerated(uint64(*m.Replicas))
  13038. }
  13039. if len(m.Selector) > 0 {
  13040. for k, v := range m.Selector {
  13041. _ = k
  13042. _ = v
  13043. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  13044. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13045. }
  13046. }
  13047. if m.Template != nil {
  13048. l = m.Template.Size()
  13049. n += 1 + l + sovGenerated(uint64(l))
  13050. }
  13051. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  13052. return n
  13053. }
  13054. func (m *ReplicationControllerStatus) Size() (n int) {
  13055. var l int
  13056. _ = l
  13057. n += 1 + sovGenerated(uint64(m.Replicas))
  13058. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  13059. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  13060. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  13061. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  13062. if len(m.Conditions) > 0 {
  13063. for _, e := range m.Conditions {
  13064. l = e.Size()
  13065. n += 1 + l + sovGenerated(uint64(l))
  13066. }
  13067. }
  13068. return n
  13069. }
  13070. func (m *ResourceFieldSelector) Size() (n int) {
  13071. var l int
  13072. _ = l
  13073. l = len(m.ContainerName)
  13074. n += 1 + l + sovGenerated(uint64(l))
  13075. l = len(m.Resource)
  13076. n += 1 + l + sovGenerated(uint64(l))
  13077. l = m.Divisor.Size()
  13078. n += 1 + l + sovGenerated(uint64(l))
  13079. return n
  13080. }
  13081. func (m *ResourceQuota) Size() (n int) {
  13082. var l int
  13083. _ = l
  13084. l = m.ObjectMeta.Size()
  13085. n += 1 + l + sovGenerated(uint64(l))
  13086. l = m.Spec.Size()
  13087. n += 1 + l + sovGenerated(uint64(l))
  13088. l = m.Status.Size()
  13089. n += 1 + l + sovGenerated(uint64(l))
  13090. return n
  13091. }
  13092. func (m *ResourceQuotaList) Size() (n int) {
  13093. var l int
  13094. _ = l
  13095. l = m.ListMeta.Size()
  13096. n += 1 + l + sovGenerated(uint64(l))
  13097. if len(m.Items) > 0 {
  13098. for _, e := range m.Items {
  13099. l = e.Size()
  13100. n += 1 + l + sovGenerated(uint64(l))
  13101. }
  13102. }
  13103. return n
  13104. }
  13105. func (m *ResourceQuotaSpec) Size() (n int) {
  13106. var l int
  13107. _ = l
  13108. if len(m.Hard) > 0 {
  13109. for k, v := range m.Hard {
  13110. _ = k
  13111. _ = v
  13112. l = v.Size()
  13113. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  13114. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13115. }
  13116. }
  13117. if len(m.Scopes) > 0 {
  13118. for _, s := range m.Scopes {
  13119. l = len(s)
  13120. n += 1 + l + sovGenerated(uint64(l))
  13121. }
  13122. }
  13123. if m.ScopeSelector != nil {
  13124. l = m.ScopeSelector.Size()
  13125. n += 1 + l + sovGenerated(uint64(l))
  13126. }
  13127. return n
  13128. }
  13129. func (m *ResourceQuotaStatus) Size() (n int) {
  13130. var l int
  13131. _ = l
  13132. if len(m.Hard) > 0 {
  13133. for k, v := range m.Hard {
  13134. _ = k
  13135. _ = v
  13136. l = v.Size()
  13137. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  13138. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13139. }
  13140. }
  13141. if len(m.Used) > 0 {
  13142. for k, v := range m.Used {
  13143. _ = k
  13144. _ = v
  13145. l = v.Size()
  13146. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  13147. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13148. }
  13149. }
  13150. return n
  13151. }
  13152. func (m *ResourceRequirements) Size() (n int) {
  13153. var l int
  13154. _ = l
  13155. if len(m.Limits) > 0 {
  13156. for k, v := range m.Limits {
  13157. _ = k
  13158. _ = v
  13159. l = v.Size()
  13160. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  13161. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13162. }
  13163. }
  13164. if len(m.Requests) > 0 {
  13165. for k, v := range m.Requests {
  13166. _ = k
  13167. _ = v
  13168. l = v.Size()
  13169. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  13170. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13171. }
  13172. }
  13173. return n
  13174. }
  13175. func (m *SELinuxOptions) Size() (n int) {
  13176. var l int
  13177. _ = l
  13178. l = len(m.User)
  13179. n += 1 + l + sovGenerated(uint64(l))
  13180. l = len(m.Role)
  13181. n += 1 + l + sovGenerated(uint64(l))
  13182. l = len(m.Type)
  13183. n += 1 + l + sovGenerated(uint64(l))
  13184. l = len(m.Level)
  13185. n += 1 + l + sovGenerated(uint64(l))
  13186. return n
  13187. }
  13188. func (m *ScaleIOPersistentVolumeSource) Size() (n int) {
  13189. var l int
  13190. _ = l
  13191. l = len(m.Gateway)
  13192. n += 1 + l + sovGenerated(uint64(l))
  13193. l = len(m.System)
  13194. n += 1 + l + sovGenerated(uint64(l))
  13195. if m.SecretRef != nil {
  13196. l = m.SecretRef.Size()
  13197. n += 1 + l + sovGenerated(uint64(l))
  13198. }
  13199. n += 2
  13200. l = len(m.ProtectionDomain)
  13201. n += 1 + l + sovGenerated(uint64(l))
  13202. l = len(m.StoragePool)
  13203. n += 1 + l + sovGenerated(uint64(l))
  13204. l = len(m.StorageMode)
  13205. n += 1 + l + sovGenerated(uint64(l))
  13206. l = len(m.VolumeName)
  13207. n += 1 + l + sovGenerated(uint64(l))
  13208. l = len(m.FSType)
  13209. n += 1 + l + sovGenerated(uint64(l))
  13210. n += 2
  13211. return n
  13212. }
  13213. func (m *ScaleIOVolumeSource) Size() (n int) {
  13214. var l int
  13215. _ = l
  13216. l = len(m.Gateway)
  13217. n += 1 + l + sovGenerated(uint64(l))
  13218. l = len(m.System)
  13219. n += 1 + l + sovGenerated(uint64(l))
  13220. if m.SecretRef != nil {
  13221. l = m.SecretRef.Size()
  13222. n += 1 + l + sovGenerated(uint64(l))
  13223. }
  13224. n += 2
  13225. l = len(m.ProtectionDomain)
  13226. n += 1 + l + sovGenerated(uint64(l))
  13227. l = len(m.StoragePool)
  13228. n += 1 + l + sovGenerated(uint64(l))
  13229. l = len(m.StorageMode)
  13230. n += 1 + l + sovGenerated(uint64(l))
  13231. l = len(m.VolumeName)
  13232. n += 1 + l + sovGenerated(uint64(l))
  13233. l = len(m.FSType)
  13234. n += 1 + l + sovGenerated(uint64(l))
  13235. n += 2
  13236. return n
  13237. }
  13238. func (m *ScopeSelector) Size() (n int) {
  13239. var l int
  13240. _ = l
  13241. if len(m.MatchExpressions) > 0 {
  13242. for _, e := range m.MatchExpressions {
  13243. l = e.Size()
  13244. n += 1 + l + sovGenerated(uint64(l))
  13245. }
  13246. }
  13247. return n
  13248. }
  13249. func (m *ScopedResourceSelectorRequirement) Size() (n int) {
  13250. var l int
  13251. _ = l
  13252. l = len(m.ScopeName)
  13253. n += 1 + l + sovGenerated(uint64(l))
  13254. l = len(m.Operator)
  13255. n += 1 + l + sovGenerated(uint64(l))
  13256. if len(m.Values) > 0 {
  13257. for _, s := range m.Values {
  13258. l = len(s)
  13259. n += 1 + l + sovGenerated(uint64(l))
  13260. }
  13261. }
  13262. return n
  13263. }
  13264. func (m *Secret) Size() (n int) {
  13265. var l int
  13266. _ = l
  13267. l = m.ObjectMeta.Size()
  13268. n += 1 + l + sovGenerated(uint64(l))
  13269. if len(m.Data) > 0 {
  13270. for k, v := range m.Data {
  13271. _ = k
  13272. _ = v
  13273. l = 0
  13274. if v != nil {
  13275. l = 1 + len(v) + sovGenerated(uint64(len(v)))
  13276. }
  13277. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + l
  13278. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13279. }
  13280. }
  13281. l = len(m.Type)
  13282. n += 1 + l + sovGenerated(uint64(l))
  13283. if len(m.StringData) > 0 {
  13284. for k, v := range m.StringData {
  13285. _ = k
  13286. _ = v
  13287. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  13288. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13289. }
  13290. }
  13291. return n
  13292. }
  13293. func (m *SecretEnvSource) Size() (n int) {
  13294. var l int
  13295. _ = l
  13296. l = m.LocalObjectReference.Size()
  13297. n += 1 + l + sovGenerated(uint64(l))
  13298. if m.Optional != nil {
  13299. n += 2
  13300. }
  13301. return n
  13302. }
  13303. func (m *SecretKeySelector) Size() (n int) {
  13304. var l int
  13305. _ = l
  13306. l = m.LocalObjectReference.Size()
  13307. n += 1 + l + sovGenerated(uint64(l))
  13308. l = len(m.Key)
  13309. n += 1 + l + sovGenerated(uint64(l))
  13310. if m.Optional != nil {
  13311. n += 2
  13312. }
  13313. return n
  13314. }
  13315. func (m *SecretList) Size() (n int) {
  13316. var l int
  13317. _ = l
  13318. l = m.ListMeta.Size()
  13319. n += 1 + l + sovGenerated(uint64(l))
  13320. if len(m.Items) > 0 {
  13321. for _, e := range m.Items {
  13322. l = e.Size()
  13323. n += 1 + l + sovGenerated(uint64(l))
  13324. }
  13325. }
  13326. return n
  13327. }
  13328. func (m *SecretProjection) Size() (n int) {
  13329. var l int
  13330. _ = l
  13331. l = m.LocalObjectReference.Size()
  13332. n += 1 + l + sovGenerated(uint64(l))
  13333. if len(m.Items) > 0 {
  13334. for _, e := range m.Items {
  13335. l = e.Size()
  13336. n += 1 + l + sovGenerated(uint64(l))
  13337. }
  13338. }
  13339. if m.Optional != nil {
  13340. n += 2
  13341. }
  13342. return n
  13343. }
  13344. func (m *SecretReference) Size() (n int) {
  13345. var l int
  13346. _ = l
  13347. l = len(m.Name)
  13348. n += 1 + l + sovGenerated(uint64(l))
  13349. l = len(m.Namespace)
  13350. n += 1 + l + sovGenerated(uint64(l))
  13351. return n
  13352. }
  13353. func (m *SecretVolumeSource) Size() (n int) {
  13354. var l int
  13355. _ = l
  13356. l = len(m.SecretName)
  13357. n += 1 + l + sovGenerated(uint64(l))
  13358. if len(m.Items) > 0 {
  13359. for _, e := range m.Items {
  13360. l = e.Size()
  13361. n += 1 + l + sovGenerated(uint64(l))
  13362. }
  13363. }
  13364. if m.DefaultMode != nil {
  13365. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  13366. }
  13367. if m.Optional != nil {
  13368. n += 2
  13369. }
  13370. return n
  13371. }
  13372. func (m *SecurityContext) Size() (n int) {
  13373. var l int
  13374. _ = l
  13375. if m.Capabilities != nil {
  13376. l = m.Capabilities.Size()
  13377. n += 1 + l + sovGenerated(uint64(l))
  13378. }
  13379. if m.Privileged != nil {
  13380. n += 2
  13381. }
  13382. if m.SELinuxOptions != nil {
  13383. l = m.SELinuxOptions.Size()
  13384. n += 1 + l + sovGenerated(uint64(l))
  13385. }
  13386. if m.RunAsUser != nil {
  13387. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  13388. }
  13389. if m.RunAsNonRoot != nil {
  13390. n += 2
  13391. }
  13392. if m.ReadOnlyRootFilesystem != nil {
  13393. n += 2
  13394. }
  13395. if m.AllowPrivilegeEscalation != nil {
  13396. n += 2
  13397. }
  13398. if m.RunAsGroup != nil {
  13399. n += 1 + sovGenerated(uint64(*m.RunAsGroup))
  13400. }
  13401. if m.ProcMount != nil {
  13402. l = len(*m.ProcMount)
  13403. n += 1 + l + sovGenerated(uint64(l))
  13404. }
  13405. return n
  13406. }
  13407. func (m *SerializedReference) Size() (n int) {
  13408. var l int
  13409. _ = l
  13410. l = m.Reference.Size()
  13411. n += 1 + l + sovGenerated(uint64(l))
  13412. return n
  13413. }
  13414. func (m *Service) Size() (n int) {
  13415. var l int
  13416. _ = l
  13417. l = m.ObjectMeta.Size()
  13418. n += 1 + l + sovGenerated(uint64(l))
  13419. l = m.Spec.Size()
  13420. n += 1 + l + sovGenerated(uint64(l))
  13421. l = m.Status.Size()
  13422. n += 1 + l + sovGenerated(uint64(l))
  13423. return n
  13424. }
  13425. func (m *ServiceAccount) Size() (n int) {
  13426. var l int
  13427. _ = l
  13428. l = m.ObjectMeta.Size()
  13429. n += 1 + l + sovGenerated(uint64(l))
  13430. if len(m.Secrets) > 0 {
  13431. for _, e := range m.Secrets {
  13432. l = e.Size()
  13433. n += 1 + l + sovGenerated(uint64(l))
  13434. }
  13435. }
  13436. if len(m.ImagePullSecrets) > 0 {
  13437. for _, e := range m.ImagePullSecrets {
  13438. l = e.Size()
  13439. n += 1 + l + sovGenerated(uint64(l))
  13440. }
  13441. }
  13442. if m.AutomountServiceAccountToken != nil {
  13443. n += 2
  13444. }
  13445. return n
  13446. }
  13447. func (m *ServiceAccountList) Size() (n int) {
  13448. var l int
  13449. _ = l
  13450. l = m.ListMeta.Size()
  13451. n += 1 + l + sovGenerated(uint64(l))
  13452. if len(m.Items) > 0 {
  13453. for _, e := range m.Items {
  13454. l = e.Size()
  13455. n += 1 + l + sovGenerated(uint64(l))
  13456. }
  13457. }
  13458. return n
  13459. }
  13460. func (m *ServiceAccountTokenProjection) Size() (n int) {
  13461. var l int
  13462. _ = l
  13463. l = len(m.Audience)
  13464. n += 1 + l + sovGenerated(uint64(l))
  13465. if m.ExpirationSeconds != nil {
  13466. n += 1 + sovGenerated(uint64(*m.ExpirationSeconds))
  13467. }
  13468. l = len(m.Path)
  13469. n += 1 + l + sovGenerated(uint64(l))
  13470. return n
  13471. }
  13472. func (m *ServiceList) Size() (n int) {
  13473. var l int
  13474. _ = l
  13475. l = m.ListMeta.Size()
  13476. n += 1 + l + sovGenerated(uint64(l))
  13477. if len(m.Items) > 0 {
  13478. for _, e := range m.Items {
  13479. l = e.Size()
  13480. n += 1 + l + sovGenerated(uint64(l))
  13481. }
  13482. }
  13483. return n
  13484. }
  13485. func (m *ServicePort) Size() (n int) {
  13486. var l int
  13487. _ = l
  13488. l = len(m.Name)
  13489. n += 1 + l + sovGenerated(uint64(l))
  13490. l = len(m.Protocol)
  13491. n += 1 + l + sovGenerated(uint64(l))
  13492. n += 1 + sovGenerated(uint64(m.Port))
  13493. l = m.TargetPort.Size()
  13494. n += 1 + l + sovGenerated(uint64(l))
  13495. n += 1 + sovGenerated(uint64(m.NodePort))
  13496. return n
  13497. }
  13498. func (m *ServiceProxyOptions) Size() (n int) {
  13499. var l int
  13500. _ = l
  13501. l = len(m.Path)
  13502. n += 1 + l + sovGenerated(uint64(l))
  13503. return n
  13504. }
  13505. func (m *ServiceSpec) Size() (n int) {
  13506. var l int
  13507. _ = l
  13508. if len(m.Ports) > 0 {
  13509. for _, e := range m.Ports {
  13510. l = e.Size()
  13511. n += 1 + l + sovGenerated(uint64(l))
  13512. }
  13513. }
  13514. if len(m.Selector) > 0 {
  13515. for k, v := range m.Selector {
  13516. _ = k
  13517. _ = v
  13518. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  13519. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13520. }
  13521. }
  13522. l = len(m.ClusterIP)
  13523. n += 1 + l + sovGenerated(uint64(l))
  13524. l = len(m.Type)
  13525. n += 1 + l + sovGenerated(uint64(l))
  13526. if len(m.ExternalIPs) > 0 {
  13527. for _, s := range m.ExternalIPs {
  13528. l = len(s)
  13529. n += 1 + l + sovGenerated(uint64(l))
  13530. }
  13531. }
  13532. l = len(m.SessionAffinity)
  13533. n += 1 + l + sovGenerated(uint64(l))
  13534. l = len(m.LoadBalancerIP)
  13535. n += 1 + l + sovGenerated(uint64(l))
  13536. if len(m.LoadBalancerSourceRanges) > 0 {
  13537. for _, s := range m.LoadBalancerSourceRanges {
  13538. l = len(s)
  13539. n += 1 + l + sovGenerated(uint64(l))
  13540. }
  13541. }
  13542. l = len(m.ExternalName)
  13543. n += 1 + l + sovGenerated(uint64(l))
  13544. l = len(m.ExternalTrafficPolicy)
  13545. n += 1 + l + sovGenerated(uint64(l))
  13546. n += 1 + sovGenerated(uint64(m.HealthCheckNodePort))
  13547. n += 2
  13548. if m.SessionAffinityConfig != nil {
  13549. l = m.SessionAffinityConfig.Size()
  13550. n += 1 + l + sovGenerated(uint64(l))
  13551. }
  13552. return n
  13553. }
  13554. func (m *ServiceStatus) Size() (n int) {
  13555. var l int
  13556. _ = l
  13557. l = m.LoadBalancer.Size()
  13558. n += 1 + l + sovGenerated(uint64(l))
  13559. return n
  13560. }
  13561. func (m *SessionAffinityConfig) Size() (n int) {
  13562. var l int
  13563. _ = l
  13564. if m.ClientIP != nil {
  13565. l = m.ClientIP.Size()
  13566. n += 1 + l + sovGenerated(uint64(l))
  13567. }
  13568. return n
  13569. }
  13570. func (m *StorageOSPersistentVolumeSource) Size() (n int) {
  13571. var l int
  13572. _ = l
  13573. l = len(m.VolumeName)
  13574. n += 1 + l + sovGenerated(uint64(l))
  13575. l = len(m.VolumeNamespace)
  13576. n += 1 + l + sovGenerated(uint64(l))
  13577. l = len(m.FSType)
  13578. n += 1 + l + sovGenerated(uint64(l))
  13579. n += 2
  13580. if m.SecretRef != nil {
  13581. l = m.SecretRef.Size()
  13582. n += 1 + l + sovGenerated(uint64(l))
  13583. }
  13584. return n
  13585. }
  13586. func (m *StorageOSVolumeSource) Size() (n int) {
  13587. var l int
  13588. _ = l
  13589. l = len(m.VolumeName)
  13590. n += 1 + l + sovGenerated(uint64(l))
  13591. l = len(m.VolumeNamespace)
  13592. n += 1 + l + sovGenerated(uint64(l))
  13593. l = len(m.FSType)
  13594. n += 1 + l + sovGenerated(uint64(l))
  13595. n += 2
  13596. if m.SecretRef != nil {
  13597. l = m.SecretRef.Size()
  13598. n += 1 + l + sovGenerated(uint64(l))
  13599. }
  13600. return n
  13601. }
  13602. func (m *Sysctl) Size() (n int) {
  13603. var l int
  13604. _ = l
  13605. l = len(m.Name)
  13606. n += 1 + l + sovGenerated(uint64(l))
  13607. l = len(m.Value)
  13608. n += 1 + l + sovGenerated(uint64(l))
  13609. return n
  13610. }
  13611. func (m *TCPSocketAction) Size() (n int) {
  13612. var l int
  13613. _ = l
  13614. l = m.Port.Size()
  13615. n += 1 + l + sovGenerated(uint64(l))
  13616. l = len(m.Host)
  13617. n += 1 + l + sovGenerated(uint64(l))
  13618. return n
  13619. }
  13620. func (m *Taint) Size() (n int) {
  13621. var l int
  13622. _ = l
  13623. l = len(m.Key)
  13624. n += 1 + l + sovGenerated(uint64(l))
  13625. l = len(m.Value)
  13626. n += 1 + l + sovGenerated(uint64(l))
  13627. l = len(m.Effect)
  13628. n += 1 + l + sovGenerated(uint64(l))
  13629. if m.TimeAdded != nil {
  13630. l = m.TimeAdded.Size()
  13631. n += 1 + l + sovGenerated(uint64(l))
  13632. }
  13633. return n
  13634. }
  13635. func (m *Toleration) Size() (n int) {
  13636. var l int
  13637. _ = l
  13638. l = len(m.Key)
  13639. n += 1 + l + sovGenerated(uint64(l))
  13640. l = len(m.Operator)
  13641. n += 1 + l + sovGenerated(uint64(l))
  13642. l = len(m.Value)
  13643. n += 1 + l + sovGenerated(uint64(l))
  13644. l = len(m.Effect)
  13645. n += 1 + l + sovGenerated(uint64(l))
  13646. if m.TolerationSeconds != nil {
  13647. n += 1 + sovGenerated(uint64(*m.TolerationSeconds))
  13648. }
  13649. return n
  13650. }
  13651. func (m *TopologySelectorLabelRequirement) Size() (n int) {
  13652. var l int
  13653. _ = l
  13654. l = len(m.Key)
  13655. n += 1 + l + sovGenerated(uint64(l))
  13656. if len(m.Values) > 0 {
  13657. for _, s := range m.Values {
  13658. l = len(s)
  13659. n += 1 + l + sovGenerated(uint64(l))
  13660. }
  13661. }
  13662. return n
  13663. }
  13664. func (m *TopologySelectorTerm) Size() (n int) {
  13665. var l int
  13666. _ = l
  13667. if len(m.MatchLabelExpressions) > 0 {
  13668. for _, e := range m.MatchLabelExpressions {
  13669. l = e.Size()
  13670. n += 1 + l + sovGenerated(uint64(l))
  13671. }
  13672. }
  13673. return n
  13674. }
  13675. func (m *TypedLocalObjectReference) Size() (n int) {
  13676. var l int
  13677. _ = l
  13678. if m.APIGroup != nil {
  13679. l = len(*m.APIGroup)
  13680. n += 1 + l + sovGenerated(uint64(l))
  13681. }
  13682. l = len(m.Kind)
  13683. n += 1 + l + sovGenerated(uint64(l))
  13684. l = len(m.Name)
  13685. n += 1 + l + sovGenerated(uint64(l))
  13686. return n
  13687. }
  13688. func (m *Volume) Size() (n int) {
  13689. var l int
  13690. _ = l
  13691. l = len(m.Name)
  13692. n += 1 + l + sovGenerated(uint64(l))
  13693. l = m.VolumeSource.Size()
  13694. n += 1 + l + sovGenerated(uint64(l))
  13695. return n
  13696. }
  13697. func (m *VolumeDevice) Size() (n int) {
  13698. var l int
  13699. _ = l
  13700. l = len(m.Name)
  13701. n += 1 + l + sovGenerated(uint64(l))
  13702. l = len(m.DevicePath)
  13703. n += 1 + l + sovGenerated(uint64(l))
  13704. return n
  13705. }
  13706. func (m *VolumeMount) Size() (n int) {
  13707. var l int
  13708. _ = l
  13709. l = len(m.Name)
  13710. n += 1 + l + sovGenerated(uint64(l))
  13711. n += 2
  13712. l = len(m.MountPath)
  13713. n += 1 + l + sovGenerated(uint64(l))
  13714. l = len(m.SubPath)
  13715. n += 1 + l + sovGenerated(uint64(l))
  13716. if m.MountPropagation != nil {
  13717. l = len(*m.MountPropagation)
  13718. n += 1 + l + sovGenerated(uint64(l))
  13719. }
  13720. l = len(m.SubPathExpr)
  13721. n += 1 + l + sovGenerated(uint64(l))
  13722. return n
  13723. }
  13724. func (m *VolumeNodeAffinity) Size() (n int) {
  13725. var l int
  13726. _ = l
  13727. if m.Required != nil {
  13728. l = m.Required.Size()
  13729. n += 1 + l + sovGenerated(uint64(l))
  13730. }
  13731. return n
  13732. }
  13733. func (m *VolumeProjection) Size() (n int) {
  13734. var l int
  13735. _ = l
  13736. if m.Secret != nil {
  13737. l = m.Secret.Size()
  13738. n += 1 + l + sovGenerated(uint64(l))
  13739. }
  13740. if m.DownwardAPI != nil {
  13741. l = m.DownwardAPI.Size()
  13742. n += 1 + l + sovGenerated(uint64(l))
  13743. }
  13744. if m.ConfigMap != nil {
  13745. l = m.ConfigMap.Size()
  13746. n += 1 + l + sovGenerated(uint64(l))
  13747. }
  13748. if m.ServiceAccountToken != nil {
  13749. l = m.ServiceAccountToken.Size()
  13750. n += 1 + l + sovGenerated(uint64(l))
  13751. }
  13752. return n
  13753. }
  13754. func (m *VolumeSource) Size() (n int) {
  13755. var l int
  13756. _ = l
  13757. if m.HostPath != nil {
  13758. l = m.HostPath.Size()
  13759. n += 1 + l + sovGenerated(uint64(l))
  13760. }
  13761. if m.EmptyDir != nil {
  13762. l = m.EmptyDir.Size()
  13763. n += 1 + l + sovGenerated(uint64(l))
  13764. }
  13765. if m.GCEPersistentDisk != nil {
  13766. l = m.GCEPersistentDisk.Size()
  13767. n += 1 + l + sovGenerated(uint64(l))
  13768. }
  13769. if m.AWSElasticBlockStore != nil {
  13770. l = m.AWSElasticBlockStore.Size()
  13771. n += 1 + l + sovGenerated(uint64(l))
  13772. }
  13773. if m.GitRepo != nil {
  13774. l = m.GitRepo.Size()
  13775. n += 1 + l + sovGenerated(uint64(l))
  13776. }
  13777. if m.Secret != nil {
  13778. l = m.Secret.Size()
  13779. n += 1 + l + sovGenerated(uint64(l))
  13780. }
  13781. if m.NFS != nil {
  13782. l = m.NFS.Size()
  13783. n += 1 + l + sovGenerated(uint64(l))
  13784. }
  13785. if m.ISCSI != nil {
  13786. l = m.ISCSI.Size()
  13787. n += 1 + l + sovGenerated(uint64(l))
  13788. }
  13789. if m.Glusterfs != nil {
  13790. l = m.Glusterfs.Size()
  13791. n += 1 + l + sovGenerated(uint64(l))
  13792. }
  13793. if m.PersistentVolumeClaim != nil {
  13794. l = m.PersistentVolumeClaim.Size()
  13795. n += 1 + l + sovGenerated(uint64(l))
  13796. }
  13797. if m.RBD != nil {
  13798. l = m.RBD.Size()
  13799. n += 1 + l + sovGenerated(uint64(l))
  13800. }
  13801. if m.FlexVolume != nil {
  13802. l = m.FlexVolume.Size()
  13803. n += 1 + l + sovGenerated(uint64(l))
  13804. }
  13805. if m.Cinder != nil {
  13806. l = m.Cinder.Size()
  13807. n += 1 + l + sovGenerated(uint64(l))
  13808. }
  13809. if m.CephFS != nil {
  13810. l = m.CephFS.Size()
  13811. n += 1 + l + sovGenerated(uint64(l))
  13812. }
  13813. if m.Flocker != nil {
  13814. l = m.Flocker.Size()
  13815. n += 1 + l + sovGenerated(uint64(l))
  13816. }
  13817. if m.DownwardAPI != nil {
  13818. l = m.DownwardAPI.Size()
  13819. n += 2 + l + sovGenerated(uint64(l))
  13820. }
  13821. if m.FC != nil {
  13822. l = m.FC.Size()
  13823. n += 2 + l + sovGenerated(uint64(l))
  13824. }
  13825. if m.AzureFile != nil {
  13826. l = m.AzureFile.Size()
  13827. n += 2 + l + sovGenerated(uint64(l))
  13828. }
  13829. if m.ConfigMap != nil {
  13830. l = m.ConfigMap.Size()
  13831. n += 2 + l + sovGenerated(uint64(l))
  13832. }
  13833. if m.VsphereVolume != nil {
  13834. l = m.VsphereVolume.Size()
  13835. n += 2 + l + sovGenerated(uint64(l))
  13836. }
  13837. if m.Quobyte != nil {
  13838. l = m.Quobyte.Size()
  13839. n += 2 + l + sovGenerated(uint64(l))
  13840. }
  13841. if m.AzureDisk != nil {
  13842. l = m.AzureDisk.Size()
  13843. n += 2 + l + sovGenerated(uint64(l))
  13844. }
  13845. if m.PhotonPersistentDisk != nil {
  13846. l = m.PhotonPersistentDisk.Size()
  13847. n += 2 + l + sovGenerated(uint64(l))
  13848. }
  13849. if m.PortworxVolume != nil {
  13850. l = m.PortworxVolume.Size()
  13851. n += 2 + l + sovGenerated(uint64(l))
  13852. }
  13853. if m.ScaleIO != nil {
  13854. l = m.ScaleIO.Size()
  13855. n += 2 + l + sovGenerated(uint64(l))
  13856. }
  13857. if m.Projected != nil {
  13858. l = m.Projected.Size()
  13859. n += 2 + l + sovGenerated(uint64(l))
  13860. }
  13861. if m.StorageOS != nil {
  13862. l = m.StorageOS.Size()
  13863. n += 2 + l + sovGenerated(uint64(l))
  13864. }
  13865. if m.CSI != nil {
  13866. l = m.CSI.Size()
  13867. n += 2 + l + sovGenerated(uint64(l))
  13868. }
  13869. return n
  13870. }
  13871. func (m *VsphereVirtualDiskVolumeSource) Size() (n int) {
  13872. var l int
  13873. _ = l
  13874. l = len(m.VolumePath)
  13875. n += 1 + l + sovGenerated(uint64(l))
  13876. l = len(m.FSType)
  13877. n += 1 + l + sovGenerated(uint64(l))
  13878. l = len(m.StoragePolicyName)
  13879. n += 1 + l + sovGenerated(uint64(l))
  13880. l = len(m.StoragePolicyID)
  13881. n += 1 + l + sovGenerated(uint64(l))
  13882. return n
  13883. }
  13884. func (m *WeightedPodAffinityTerm) Size() (n int) {
  13885. var l int
  13886. _ = l
  13887. n += 1 + sovGenerated(uint64(m.Weight))
  13888. l = m.PodAffinityTerm.Size()
  13889. n += 1 + l + sovGenerated(uint64(l))
  13890. return n
  13891. }
  13892. func sovGenerated(x uint64) (n int) {
  13893. for {
  13894. n++
  13895. x >>= 7
  13896. if x == 0 {
  13897. break
  13898. }
  13899. }
  13900. return n
  13901. }
  13902. func sozGenerated(x uint64) (n int) {
  13903. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  13904. }
  13905. func (this *AWSElasticBlockStoreVolumeSource) String() string {
  13906. if this == nil {
  13907. return "nil"
  13908. }
  13909. s := strings.Join([]string{`&AWSElasticBlockStoreVolumeSource{`,
  13910. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  13911. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  13912. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  13913. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13914. `}`,
  13915. }, "")
  13916. return s
  13917. }
  13918. func (this *Affinity) String() string {
  13919. if this == nil {
  13920. return "nil"
  13921. }
  13922. s := strings.Join([]string{`&Affinity{`,
  13923. `NodeAffinity:` + strings.Replace(fmt.Sprintf("%v", this.NodeAffinity), "NodeAffinity", "NodeAffinity", 1) + `,`,
  13924. `PodAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAffinity), "PodAffinity", "PodAffinity", 1) + `,`,
  13925. `PodAntiAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAntiAffinity), "PodAntiAffinity", "PodAntiAffinity", 1) + `,`,
  13926. `}`,
  13927. }, "")
  13928. return s
  13929. }
  13930. func (this *AttachedVolume) String() string {
  13931. if this == nil {
  13932. return "nil"
  13933. }
  13934. s := strings.Join([]string{`&AttachedVolume{`,
  13935. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13936. `DevicePath:` + fmt.Sprintf("%v", this.DevicePath) + `,`,
  13937. `}`,
  13938. }, "")
  13939. return s
  13940. }
  13941. func (this *AvoidPods) String() string {
  13942. if this == nil {
  13943. return "nil"
  13944. }
  13945. s := strings.Join([]string{`&AvoidPods{`,
  13946. `PreferAvoidPods:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferAvoidPods), "PreferAvoidPodsEntry", "PreferAvoidPodsEntry", 1), `&`, ``, 1) + `,`,
  13947. `}`,
  13948. }, "")
  13949. return s
  13950. }
  13951. func (this *AzureDiskVolumeSource) String() string {
  13952. if this == nil {
  13953. return "nil"
  13954. }
  13955. s := strings.Join([]string{`&AzureDiskVolumeSource{`,
  13956. `DiskName:` + fmt.Sprintf("%v", this.DiskName) + `,`,
  13957. `DataDiskURI:` + fmt.Sprintf("%v", this.DataDiskURI) + `,`,
  13958. `CachingMode:` + valueToStringGenerated(this.CachingMode) + `,`,
  13959. `FSType:` + valueToStringGenerated(this.FSType) + `,`,
  13960. `ReadOnly:` + valueToStringGenerated(this.ReadOnly) + `,`,
  13961. `Kind:` + valueToStringGenerated(this.Kind) + `,`,
  13962. `}`,
  13963. }, "")
  13964. return s
  13965. }
  13966. func (this *AzureFilePersistentVolumeSource) String() string {
  13967. if this == nil {
  13968. return "nil"
  13969. }
  13970. s := strings.Join([]string{`&AzureFilePersistentVolumeSource{`,
  13971. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  13972. `ShareName:` + fmt.Sprintf("%v", this.ShareName) + `,`,
  13973. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13974. `SecretNamespace:` + valueToStringGenerated(this.SecretNamespace) + `,`,
  13975. `}`,
  13976. }, "")
  13977. return s
  13978. }
  13979. func (this *AzureFileVolumeSource) String() string {
  13980. if this == nil {
  13981. return "nil"
  13982. }
  13983. s := strings.Join([]string{`&AzureFileVolumeSource{`,
  13984. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  13985. `ShareName:` + fmt.Sprintf("%v", this.ShareName) + `,`,
  13986. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13987. `}`,
  13988. }, "")
  13989. return s
  13990. }
  13991. func (this *Binding) String() string {
  13992. if this == nil {
  13993. return "nil"
  13994. }
  13995. s := strings.Join([]string{`&Binding{`,
  13996. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13997. `Target:` + strings.Replace(strings.Replace(this.Target.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  13998. `}`,
  13999. }, "")
  14000. return s
  14001. }
  14002. func (this *CSIPersistentVolumeSource) String() string {
  14003. if this == nil {
  14004. return "nil"
  14005. }
  14006. keysForVolumeAttributes := make([]string, 0, len(this.VolumeAttributes))
  14007. for k := range this.VolumeAttributes {
  14008. keysForVolumeAttributes = append(keysForVolumeAttributes, k)
  14009. }
  14010. github_com_gogo_protobuf_sortkeys.Strings(keysForVolumeAttributes)
  14011. mapStringForVolumeAttributes := "map[string]string{"
  14012. for _, k := range keysForVolumeAttributes {
  14013. mapStringForVolumeAttributes += fmt.Sprintf("%v: %v,", k, this.VolumeAttributes[k])
  14014. }
  14015. mapStringForVolumeAttributes += "}"
  14016. s := strings.Join([]string{`&CSIPersistentVolumeSource{`,
  14017. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  14018. `VolumeHandle:` + fmt.Sprintf("%v", this.VolumeHandle) + `,`,
  14019. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14020. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14021. `VolumeAttributes:` + mapStringForVolumeAttributes + `,`,
  14022. `ControllerPublishSecretRef:` + strings.Replace(fmt.Sprintf("%v", this.ControllerPublishSecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14023. `NodeStageSecretRef:` + strings.Replace(fmt.Sprintf("%v", this.NodeStageSecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14024. `NodePublishSecretRef:` + strings.Replace(fmt.Sprintf("%v", this.NodePublishSecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14025. `}`,
  14026. }, "")
  14027. return s
  14028. }
  14029. func (this *CSIVolumeSource) String() string {
  14030. if this == nil {
  14031. return "nil"
  14032. }
  14033. keysForVolumeAttributes := make([]string, 0, len(this.VolumeAttributes))
  14034. for k := range this.VolumeAttributes {
  14035. keysForVolumeAttributes = append(keysForVolumeAttributes, k)
  14036. }
  14037. github_com_gogo_protobuf_sortkeys.Strings(keysForVolumeAttributes)
  14038. mapStringForVolumeAttributes := "map[string]string{"
  14039. for _, k := range keysForVolumeAttributes {
  14040. mapStringForVolumeAttributes += fmt.Sprintf("%v: %v,", k, this.VolumeAttributes[k])
  14041. }
  14042. mapStringForVolumeAttributes += "}"
  14043. s := strings.Join([]string{`&CSIVolumeSource{`,
  14044. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  14045. `ReadOnly:` + valueToStringGenerated(this.ReadOnly) + `,`,
  14046. `FSType:` + valueToStringGenerated(this.FSType) + `,`,
  14047. `VolumeAttributes:` + mapStringForVolumeAttributes + `,`,
  14048. `NodePublishSecretRef:` + strings.Replace(fmt.Sprintf("%v", this.NodePublishSecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  14049. `}`,
  14050. }, "")
  14051. return s
  14052. }
  14053. func (this *Capabilities) String() string {
  14054. if this == nil {
  14055. return "nil"
  14056. }
  14057. s := strings.Join([]string{`&Capabilities{`,
  14058. `Add:` + fmt.Sprintf("%v", this.Add) + `,`,
  14059. `Drop:` + fmt.Sprintf("%v", this.Drop) + `,`,
  14060. `}`,
  14061. }, "")
  14062. return s
  14063. }
  14064. func (this *CephFSPersistentVolumeSource) String() string {
  14065. if this == nil {
  14066. return "nil"
  14067. }
  14068. s := strings.Join([]string{`&CephFSPersistentVolumeSource{`,
  14069. `Monitors:` + fmt.Sprintf("%v", this.Monitors) + `,`,
  14070. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14071. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  14072. `SecretFile:` + fmt.Sprintf("%v", this.SecretFile) + `,`,
  14073. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14074. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14075. `}`,
  14076. }, "")
  14077. return s
  14078. }
  14079. func (this *CephFSVolumeSource) String() string {
  14080. if this == nil {
  14081. return "nil"
  14082. }
  14083. s := strings.Join([]string{`&CephFSVolumeSource{`,
  14084. `Monitors:` + fmt.Sprintf("%v", this.Monitors) + `,`,
  14085. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14086. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  14087. `SecretFile:` + fmt.Sprintf("%v", this.SecretFile) + `,`,
  14088. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  14089. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14090. `}`,
  14091. }, "")
  14092. return s
  14093. }
  14094. func (this *CinderPersistentVolumeSource) String() string {
  14095. if this == nil {
  14096. return "nil"
  14097. }
  14098. s := strings.Join([]string{`&CinderPersistentVolumeSource{`,
  14099. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  14100. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14101. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14102. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14103. `}`,
  14104. }, "")
  14105. return s
  14106. }
  14107. func (this *CinderVolumeSource) String() string {
  14108. if this == nil {
  14109. return "nil"
  14110. }
  14111. s := strings.Join([]string{`&CinderVolumeSource{`,
  14112. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  14113. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14114. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14115. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  14116. `}`,
  14117. }, "")
  14118. return s
  14119. }
  14120. func (this *ClientIPConfig) String() string {
  14121. if this == nil {
  14122. return "nil"
  14123. }
  14124. s := strings.Join([]string{`&ClientIPConfig{`,
  14125. `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
  14126. `}`,
  14127. }, "")
  14128. return s
  14129. }
  14130. func (this *ComponentCondition) String() string {
  14131. if this == nil {
  14132. return "nil"
  14133. }
  14134. s := strings.Join([]string{`&ComponentCondition{`,
  14135. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14136. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  14137. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14138. `Error:` + fmt.Sprintf("%v", this.Error) + `,`,
  14139. `}`,
  14140. }, "")
  14141. return s
  14142. }
  14143. func (this *ComponentStatus) String() string {
  14144. if this == nil {
  14145. return "nil"
  14146. }
  14147. s := strings.Join([]string{`&ComponentStatus{`,
  14148. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14149. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ComponentCondition", "ComponentCondition", 1), `&`, ``, 1) + `,`,
  14150. `}`,
  14151. }, "")
  14152. return s
  14153. }
  14154. func (this *ComponentStatusList) String() string {
  14155. if this == nil {
  14156. return "nil"
  14157. }
  14158. s := strings.Join([]string{`&ComponentStatusList{`,
  14159. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14160. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ComponentStatus", "ComponentStatus", 1), `&`, ``, 1) + `,`,
  14161. `}`,
  14162. }, "")
  14163. return s
  14164. }
  14165. func (this *ConfigMap) String() string {
  14166. if this == nil {
  14167. return "nil"
  14168. }
  14169. keysForData := make([]string, 0, len(this.Data))
  14170. for k := range this.Data {
  14171. keysForData = append(keysForData, k)
  14172. }
  14173. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  14174. mapStringForData := "map[string]string{"
  14175. for _, k := range keysForData {
  14176. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  14177. }
  14178. mapStringForData += "}"
  14179. keysForBinaryData := make([]string, 0, len(this.BinaryData))
  14180. for k := range this.BinaryData {
  14181. keysForBinaryData = append(keysForBinaryData, k)
  14182. }
  14183. github_com_gogo_protobuf_sortkeys.Strings(keysForBinaryData)
  14184. mapStringForBinaryData := "map[string][]byte{"
  14185. for _, k := range keysForBinaryData {
  14186. mapStringForBinaryData += fmt.Sprintf("%v: %v,", k, this.BinaryData[k])
  14187. }
  14188. mapStringForBinaryData += "}"
  14189. s := strings.Join([]string{`&ConfigMap{`,
  14190. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14191. `Data:` + mapStringForData + `,`,
  14192. `BinaryData:` + mapStringForBinaryData + `,`,
  14193. `}`,
  14194. }, "")
  14195. return s
  14196. }
  14197. func (this *ConfigMapEnvSource) String() string {
  14198. if this == nil {
  14199. return "nil"
  14200. }
  14201. s := strings.Join([]string{`&ConfigMapEnvSource{`,
  14202. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  14203. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  14204. `}`,
  14205. }, "")
  14206. return s
  14207. }
  14208. func (this *ConfigMapKeySelector) String() string {
  14209. if this == nil {
  14210. return "nil"
  14211. }
  14212. s := strings.Join([]string{`&ConfigMapKeySelector{`,
  14213. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  14214. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  14215. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  14216. `}`,
  14217. }, "")
  14218. return s
  14219. }
  14220. func (this *ConfigMapList) String() string {
  14221. if this == nil {
  14222. return "nil"
  14223. }
  14224. s := strings.Join([]string{`&ConfigMapList{`,
  14225. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14226. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ConfigMap", "ConfigMap", 1), `&`, ``, 1) + `,`,
  14227. `}`,
  14228. }, "")
  14229. return s
  14230. }
  14231. func (this *ConfigMapNodeConfigSource) String() string {
  14232. if this == nil {
  14233. return "nil"
  14234. }
  14235. s := strings.Join([]string{`&ConfigMapNodeConfigSource{`,
  14236. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  14237. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14238. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  14239. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  14240. `KubeletConfigKey:` + fmt.Sprintf("%v", this.KubeletConfigKey) + `,`,
  14241. `}`,
  14242. }, "")
  14243. return s
  14244. }
  14245. func (this *ConfigMapProjection) String() string {
  14246. if this == nil {
  14247. return "nil"
  14248. }
  14249. s := strings.Join([]string{`&ConfigMapProjection{`,
  14250. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  14251. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  14252. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  14253. `}`,
  14254. }, "")
  14255. return s
  14256. }
  14257. func (this *ConfigMapVolumeSource) String() string {
  14258. if this == nil {
  14259. return "nil"
  14260. }
  14261. s := strings.Join([]string{`&ConfigMapVolumeSource{`,
  14262. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  14263. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  14264. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  14265. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  14266. `}`,
  14267. }, "")
  14268. return s
  14269. }
  14270. func (this *Container) String() string {
  14271. if this == nil {
  14272. return "nil"
  14273. }
  14274. s := strings.Join([]string{`&Container{`,
  14275. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14276. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  14277. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  14278. `Args:` + fmt.Sprintf("%v", this.Args) + `,`,
  14279. `WorkingDir:` + fmt.Sprintf("%v", this.WorkingDir) + `,`,
  14280. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ContainerPort", "ContainerPort", 1), `&`, ``, 1) + `,`,
  14281. `Env:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Env), "EnvVar", "EnvVar", 1), `&`, ``, 1) + `,`,
  14282. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  14283. `VolumeMounts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeMounts), "VolumeMount", "VolumeMount", 1), `&`, ``, 1) + `,`,
  14284. `LivenessProbe:` + strings.Replace(fmt.Sprintf("%v", this.LivenessProbe), "Probe", "Probe", 1) + `,`,
  14285. `ReadinessProbe:` + strings.Replace(fmt.Sprintf("%v", this.ReadinessProbe), "Probe", "Probe", 1) + `,`,
  14286. `Lifecycle:` + strings.Replace(fmt.Sprintf("%v", this.Lifecycle), "Lifecycle", "Lifecycle", 1) + `,`,
  14287. `TerminationMessagePath:` + fmt.Sprintf("%v", this.TerminationMessagePath) + `,`,
  14288. `ImagePullPolicy:` + fmt.Sprintf("%v", this.ImagePullPolicy) + `,`,
  14289. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "SecurityContext", "SecurityContext", 1) + `,`,
  14290. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  14291. `StdinOnce:` + fmt.Sprintf("%v", this.StdinOnce) + `,`,
  14292. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  14293. `EnvFrom:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.EnvFrom), "EnvFromSource", "EnvFromSource", 1), `&`, ``, 1) + `,`,
  14294. `TerminationMessagePolicy:` + fmt.Sprintf("%v", this.TerminationMessagePolicy) + `,`,
  14295. `VolumeDevices:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeDevices), "VolumeDevice", "VolumeDevice", 1), `&`, ``, 1) + `,`,
  14296. `}`,
  14297. }, "")
  14298. return s
  14299. }
  14300. func (this *ContainerImage) String() string {
  14301. if this == nil {
  14302. return "nil"
  14303. }
  14304. s := strings.Join([]string{`&ContainerImage{`,
  14305. `Names:` + fmt.Sprintf("%v", this.Names) + `,`,
  14306. `SizeBytes:` + fmt.Sprintf("%v", this.SizeBytes) + `,`,
  14307. `}`,
  14308. }, "")
  14309. return s
  14310. }
  14311. func (this *ContainerPort) String() string {
  14312. if this == nil {
  14313. return "nil"
  14314. }
  14315. s := strings.Join([]string{`&ContainerPort{`,
  14316. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14317. `HostPort:` + fmt.Sprintf("%v", this.HostPort) + `,`,
  14318. `ContainerPort:` + fmt.Sprintf("%v", this.ContainerPort) + `,`,
  14319. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  14320. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  14321. `}`,
  14322. }, "")
  14323. return s
  14324. }
  14325. func (this *ContainerState) String() string {
  14326. if this == nil {
  14327. return "nil"
  14328. }
  14329. s := strings.Join([]string{`&ContainerState{`,
  14330. `Waiting:` + strings.Replace(fmt.Sprintf("%v", this.Waiting), "ContainerStateWaiting", "ContainerStateWaiting", 1) + `,`,
  14331. `Running:` + strings.Replace(fmt.Sprintf("%v", this.Running), "ContainerStateRunning", "ContainerStateRunning", 1) + `,`,
  14332. `Terminated:` + strings.Replace(fmt.Sprintf("%v", this.Terminated), "ContainerStateTerminated", "ContainerStateTerminated", 1) + `,`,
  14333. `}`,
  14334. }, "")
  14335. return s
  14336. }
  14337. func (this *ContainerStateRunning) String() string {
  14338. if this == nil {
  14339. return "nil"
  14340. }
  14341. s := strings.Join([]string{`&ContainerStateRunning{`,
  14342. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14343. `}`,
  14344. }, "")
  14345. return s
  14346. }
  14347. func (this *ContainerStateTerminated) String() string {
  14348. if this == nil {
  14349. return "nil"
  14350. }
  14351. s := strings.Join([]string{`&ContainerStateTerminated{`,
  14352. `ExitCode:` + fmt.Sprintf("%v", this.ExitCode) + `,`,
  14353. `Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
  14354. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  14355. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14356. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14357. `FinishedAt:` + strings.Replace(strings.Replace(this.FinishedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14358. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  14359. `}`,
  14360. }, "")
  14361. return s
  14362. }
  14363. func (this *ContainerStateWaiting) String() string {
  14364. if this == nil {
  14365. return "nil"
  14366. }
  14367. s := strings.Join([]string{`&ContainerStateWaiting{`,
  14368. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  14369. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14370. `}`,
  14371. }, "")
  14372. return s
  14373. }
  14374. func (this *ContainerStatus) String() string {
  14375. if this == nil {
  14376. return "nil"
  14377. }
  14378. s := strings.Join([]string{`&ContainerStatus{`,
  14379. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14380. `State:` + strings.Replace(strings.Replace(this.State.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  14381. `LastTerminationState:` + strings.Replace(strings.Replace(this.LastTerminationState.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  14382. `Ready:` + fmt.Sprintf("%v", this.Ready) + `,`,
  14383. `RestartCount:` + fmt.Sprintf("%v", this.RestartCount) + `,`,
  14384. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  14385. `ImageID:` + fmt.Sprintf("%v", this.ImageID) + `,`,
  14386. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  14387. `}`,
  14388. }, "")
  14389. return s
  14390. }
  14391. func (this *DaemonEndpoint) String() string {
  14392. if this == nil {
  14393. return "nil"
  14394. }
  14395. s := strings.Join([]string{`&DaemonEndpoint{`,
  14396. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  14397. `}`,
  14398. }, "")
  14399. return s
  14400. }
  14401. func (this *DownwardAPIProjection) String() string {
  14402. if this == nil {
  14403. return "nil"
  14404. }
  14405. s := strings.Join([]string{`&DownwardAPIProjection{`,
  14406. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DownwardAPIVolumeFile", "DownwardAPIVolumeFile", 1), `&`, ``, 1) + `,`,
  14407. `}`,
  14408. }, "")
  14409. return s
  14410. }
  14411. func (this *DownwardAPIVolumeFile) String() string {
  14412. if this == nil {
  14413. return "nil"
  14414. }
  14415. s := strings.Join([]string{`&DownwardAPIVolumeFile{`,
  14416. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14417. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  14418. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  14419. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  14420. `}`,
  14421. }, "")
  14422. return s
  14423. }
  14424. func (this *DownwardAPIVolumeSource) String() string {
  14425. if this == nil {
  14426. return "nil"
  14427. }
  14428. s := strings.Join([]string{`&DownwardAPIVolumeSource{`,
  14429. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DownwardAPIVolumeFile", "DownwardAPIVolumeFile", 1), `&`, ``, 1) + `,`,
  14430. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  14431. `}`,
  14432. }, "")
  14433. return s
  14434. }
  14435. func (this *EmptyDirVolumeSource) String() string {
  14436. if this == nil {
  14437. return "nil"
  14438. }
  14439. s := strings.Join([]string{`&EmptyDirVolumeSource{`,
  14440. `Medium:` + fmt.Sprintf("%v", this.Medium) + `,`,
  14441. `SizeLimit:` + strings.Replace(fmt.Sprintf("%v", this.SizeLimit), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
  14442. `}`,
  14443. }, "")
  14444. return s
  14445. }
  14446. func (this *EndpointAddress) String() string {
  14447. if this == nil {
  14448. return "nil"
  14449. }
  14450. s := strings.Join([]string{`&EndpointAddress{`,
  14451. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  14452. `TargetRef:` + strings.Replace(fmt.Sprintf("%v", this.TargetRef), "ObjectReference", "ObjectReference", 1) + `,`,
  14453. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  14454. `NodeName:` + valueToStringGenerated(this.NodeName) + `,`,
  14455. `}`,
  14456. }, "")
  14457. return s
  14458. }
  14459. func (this *EndpointPort) String() string {
  14460. if this == nil {
  14461. return "nil"
  14462. }
  14463. s := strings.Join([]string{`&EndpointPort{`,
  14464. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14465. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  14466. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  14467. `}`,
  14468. }, "")
  14469. return s
  14470. }
  14471. func (this *EndpointSubset) String() string {
  14472. if this == nil {
  14473. return "nil"
  14474. }
  14475. s := strings.Join([]string{`&EndpointSubset{`,
  14476. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  14477. `NotReadyAddresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NotReadyAddresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  14478. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "EndpointPort", "EndpointPort", 1), `&`, ``, 1) + `,`,
  14479. `}`,
  14480. }, "")
  14481. return s
  14482. }
  14483. func (this *Endpoints) String() string {
  14484. if this == nil {
  14485. return "nil"
  14486. }
  14487. s := strings.Join([]string{`&Endpoints{`,
  14488. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14489. `Subsets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subsets), "EndpointSubset", "EndpointSubset", 1), `&`, ``, 1) + `,`,
  14490. `}`,
  14491. }, "")
  14492. return s
  14493. }
  14494. func (this *EndpointsList) String() string {
  14495. if this == nil {
  14496. return "nil"
  14497. }
  14498. s := strings.Join([]string{`&EndpointsList{`,
  14499. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14500. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Endpoints", "Endpoints", 1), `&`, ``, 1) + `,`,
  14501. `}`,
  14502. }, "")
  14503. return s
  14504. }
  14505. func (this *EnvFromSource) String() string {
  14506. if this == nil {
  14507. return "nil"
  14508. }
  14509. s := strings.Join([]string{`&EnvFromSource{`,
  14510. `Prefix:` + fmt.Sprintf("%v", this.Prefix) + `,`,
  14511. `ConfigMapRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapRef), "ConfigMapEnvSource", "ConfigMapEnvSource", 1) + `,`,
  14512. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretEnvSource", "SecretEnvSource", 1) + `,`,
  14513. `}`,
  14514. }, "")
  14515. return s
  14516. }
  14517. func (this *EnvVar) String() string {
  14518. if this == nil {
  14519. return "nil"
  14520. }
  14521. s := strings.Join([]string{`&EnvVar{`,
  14522. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14523. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  14524. `ValueFrom:` + strings.Replace(fmt.Sprintf("%v", this.ValueFrom), "EnvVarSource", "EnvVarSource", 1) + `,`,
  14525. `}`,
  14526. }, "")
  14527. return s
  14528. }
  14529. func (this *EnvVarSource) String() string {
  14530. if this == nil {
  14531. return "nil"
  14532. }
  14533. s := strings.Join([]string{`&EnvVarSource{`,
  14534. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  14535. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  14536. `ConfigMapKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapKeyRef), "ConfigMapKeySelector", "ConfigMapKeySelector", 1) + `,`,
  14537. `SecretKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretKeyRef), "SecretKeySelector", "SecretKeySelector", 1) + `,`,
  14538. `}`,
  14539. }, "")
  14540. return s
  14541. }
  14542. func (this *Event) String() string {
  14543. if this == nil {
  14544. return "nil"
  14545. }
  14546. s := strings.Join([]string{`&Event{`,
  14547. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14548. `InvolvedObject:` + strings.Replace(strings.Replace(this.InvolvedObject.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  14549. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  14550. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14551. `Source:` + strings.Replace(strings.Replace(this.Source.String(), "EventSource", "EventSource", 1), `&`, ``, 1) + `,`,
  14552. `FirstTimestamp:` + strings.Replace(strings.Replace(this.FirstTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14553. `LastTimestamp:` + strings.Replace(strings.Replace(this.LastTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14554. `Count:` + fmt.Sprintf("%v", this.Count) + `,`,
  14555. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14556. `EventTime:` + strings.Replace(strings.Replace(this.EventTime.String(), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1), `&`, ``, 1) + `,`,
  14557. `Series:` + strings.Replace(fmt.Sprintf("%v", this.Series), "EventSeries", "EventSeries", 1) + `,`,
  14558. `Action:` + fmt.Sprintf("%v", this.Action) + `,`,
  14559. `Related:` + strings.Replace(fmt.Sprintf("%v", this.Related), "ObjectReference", "ObjectReference", 1) + `,`,
  14560. `ReportingController:` + fmt.Sprintf("%v", this.ReportingController) + `,`,
  14561. `ReportingInstance:` + fmt.Sprintf("%v", this.ReportingInstance) + `,`,
  14562. `}`,
  14563. }, "")
  14564. return s
  14565. }
  14566. func (this *EventList) String() string {
  14567. if this == nil {
  14568. return "nil"
  14569. }
  14570. s := strings.Join([]string{`&EventList{`,
  14571. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14572. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Event", "Event", 1), `&`, ``, 1) + `,`,
  14573. `}`,
  14574. }, "")
  14575. return s
  14576. }
  14577. func (this *EventSeries) String() string {
  14578. if this == nil {
  14579. return "nil"
  14580. }
  14581. s := strings.Join([]string{`&EventSeries{`,
  14582. `Count:` + fmt.Sprintf("%v", this.Count) + `,`,
  14583. `LastObservedTime:` + strings.Replace(strings.Replace(this.LastObservedTime.String(), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1), `&`, ``, 1) + `,`,
  14584. `State:` + fmt.Sprintf("%v", this.State) + `,`,
  14585. `}`,
  14586. }, "")
  14587. return s
  14588. }
  14589. func (this *EventSource) String() string {
  14590. if this == nil {
  14591. return "nil"
  14592. }
  14593. s := strings.Join([]string{`&EventSource{`,
  14594. `Component:` + fmt.Sprintf("%v", this.Component) + `,`,
  14595. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  14596. `}`,
  14597. }, "")
  14598. return s
  14599. }
  14600. func (this *ExecAction) String() string {
  14601. if this == nil {
  14602. return "nil"
  14603. }
  14604. s := strings.Join([]string{`&ExecAction{`,
  14605. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  14606. `}`,
  14607. }, "")
  14608. return s
  14609. }
  14610. func (this *FCVolumeSource) String() string {
  14611. if this == nil {
  14612. return "nil"
  14613. }
  14614. s := strings.Join([]string{`&FCVolumeSource{`,
  14615. `TargetWWNs:` + fmt.Sprintf("%v", this.TargetWWNs) + `,`,
  14616. `Lun:` + valueToStringGenerated(this.Lun) + `,`,
  14617. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14618. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14619. `WWIDs:` + fmt.Sprintf("%v", this.WWIDs) + `,`,
  14620. `}`,
  14621. }, "")
  14622. return s
  14623. }
  14624. func (this *FlexPersistentVolumeSource) String() string {
  14625. if this == nil {
  14626. return "nil"
  14627. }
  14628. keysForOptions := make([]string, 0, len(this.Options))
  14629. for k := range this.Options {
  14630. keysForOptions = append(keysForOptions, k)
  14631. }
  14632. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  14633. mapStringForOptions := "map[string]string{"
  14634. for _, k := range keysForOptions {
  14635. mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
  14636. }
  14637. mapStringForOptions += "}"
  14638. s := strings.Join([]string{`&FlexPersistentVolumeSource{`,
  14639. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  14640. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14641. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14642. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14643. `Options:` + mapStringForOptions + `,`,
  14644. `}`,
  14645. }, "")
  14646. return s
  14647. }
  14648. func (this *FlexVolumeSource) String() string {
  14649. if this == nil {
  14650. return "nil"
  14651. }
  14652. keysForOptions := make([]string, 0, len(this.Options))
  14653. for k := range this.Options {
  14654. keysForOptions = append(keysForOptions, k)
  14655. }
  14656. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  14657. mapStringForOptions := "map[string]string{"
  14658. for _, k := range keysForOptions {
  14659. mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
  14660. }
  14661. mapStringForOptions += "}"
  14662. s := strings.Join([]string{`&FlexVolumeSource{`,
  14663. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  14664. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14665. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  14666. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14667. `Options:` + mapStringForOptions + `,`,
  14668. `}`,
  14669. }, "")
  14670. return s
  14671. }
  14672. func (this *FlockerVolumeSource) String() string {
  14673. if this == nil {
  14674. return "nil"
  14675. }
  14676. s := strings.Join([]string{`&FlockerVolumeSource{`,
  14677. `DatasetName:` + fmt.Sprintf("%v", this.DatasetName) + `,`,
  14678. `DatasetUUID:` + fmt.Sprintf("%v", this.DatasetUUID) + `,`,
  14679. `}`,
  14680. }, "")
  14681. return s
  14682. }
  14683. func (this *GCEPersistentDiskVolumeSource) String() string {
  14684. if this == nil {
  14685. return "nil"
  14686. }
  14687. s := strings.Join([]string{`&GCEPersistentDiskVolumeSource{`,
  14688. `PDName:` + fmt.Sprintf("%v", this.PDName) + `,`,
  14689. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14690. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  14691. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14692. `}`,
  14693. }, "")
  14694. return s
  14695. }
  14696. func (this *GitRepoVolumeSource) String() string {
  14697. if this == nil {
  14698. return "nil"
  14699. }
  14700. s := strings.Join([]string{`&GitRepoVolumeSource{`,
  14701. `Repository:` + fmt.Sprintf("%v", this.Repository) + `,`,
  14702. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  14703. `Directory:` + fmt.Sprintf("%v", this.Directory) + `,`,
  14704. `}`,
  14705. }, "")
  14706. return s
  14707. }
  14708. func (this *GlusterfsPersistentVolumeSource) String() string {
  14709. if this == nil {
  14710. return "nil"
  14711. }
  14712. s := strings.Join([]string{`&GlusterfsPersistentVolumeSource{`,
  14713. `EndpointsName:` + fmt.Sprintf("%v", this.EndpointsName) + `,`,
  14714. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14715. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14716. `EndpointsNamespace:` + valueToStringGenerated(this.EndpointsNamespace) + `,`,
  14717. `}`,
  14718. }, "")
  14719. return s
  14720. }
  14721. func (this *GlusterfsVolumeSource) String() string {
  14722. if this == nil {
  14723. return "nil"
  14724. }
  14725. s := strings.Join([]string{`&GlusterfsVolumeSource{`,
  14726. `EndpointsName:` + fmt.Sprintf("%v", this.EndpointsName) + `,`,
  14727. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14728. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14729. `}`,
  14730. }, "")
  14731. return s
  14732. }
  14733. func (this *HTTPGetAction) String() string {
  14734. if this == nil {
  14735. return "nil"
  14736. }
  14737. s := strings.Join([]string{`&HTTPGetAction{`,
  14738. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14739. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  14740. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  14741. `Scheme:` + fmt.Sprintf("%v", this.Scheme) + `,`,
  14742. `HTTPHeaders:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HTTPHeaders), "HTTPHeader", "HTTPHeader", 1), `&`, ``, 1) + `,`,
  14743. `}`,
  14744. }, "")
  14745. return s
  14746. }
  14747. func (this *HTTPHeader) String() string {
  14748. if this == nil {
  14749. return "nil"
  14750. }
  14751. s := strings.Join([]string{`&HTTPHeader{`,
  14752. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14753. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  14754. `}`,
  14755. }, "")
  14756. return s
  14757. }
  14758. func (this *Handler) String() string {
  14759. if this == nil {
  14760. return "nil"
  14761. }
  14762. s := strings.Join([]string{`&Handler{`,
  14763. `Exec:` + strings.Replace(fmt.Sprintf("%v", this.Exec), "ExecAction", "ExecAction", 1) + `,`,
  14764. `HTTPGet:` + strings.Replace(fmt.Sprintf("%v", this.HTTPGet), "HTTPGetAction", "HTTPGetAction", 1) + `,`,
  14765. `TCPSocket:` + strings.Replace(fmt.Sprintf("%v", this.TCPSocket), "TCPSocketAction", "TCPSocketAction", 1) + `,`,
  14766. `}`,
  14767. }, "")
  14768. return s
  14769. }
  14770. func (this *HostAlias) String() string {
  14771. if this == nil {
  14772. return "nil"
  14773. }
  14774. s := strings.Join([]string{`&HostAlias{`,
  14775. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  14776. `Hostnames:` + fmt.Sprintf("%v", this.Hostnames) + `,`,
  14777. `}`,
  14778. }, "")
  14779. return s
  14780. }
  14781. func (this *HostPathVolumeSource) String() string {
  14782. if this == nil {
  14783. return "nil"
  14784. }
  14785. s := strings.Join([]string{`&HostPathVolumeSource{`,
  14786. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14787. `Type:` + valueToStringGenerated(this.Type) + `,`,
  14788. `}`,
  14789. }, "")
  14790. return s
  14791. }
  14792. func (this *ISCSIPersistentVolumeSource) String() string {
  14793. if this == nil {
  14794. return "nil"
  14795. }
  14796. s := strings.Join([]string{`&ISCSIPersistentVolumeSource{`,
  14797. `TargetPortal:` + fmt.Sprintf("%v", this.TargetPortal) + `,`,
  14798. `IQN:` + fmt.Sprintf("%v", this.IQN) + `,`,
  14799. `Lun:` + fmt.Sprintf("%v", this.Lun) + `,`,
  14800. `ISCSIInterface:` + fmt.Sprintf("%v", this.ISCSIInterface) + `,`,
  14801. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14802. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14803. `Portals:` + fmt.Sprintf("%v", this.Portals) + `,`,
  14804. `DiscoveryCHAPAuth:` + fmt.Sprintf("%v", this.DiscoveryCHAPAuth) + `,`,
  14805. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14806. `SessionCHAPAuth:` + fmt.Sprintf("%v", this.SessionCHAPAuth) + `,`,
  14807. `InitiatorName:` + valueToStringGenerated(this.InitiatorName) + `,`,
  14808. `}`,
  14809. }, "")
  14810. return s
  14811. }
  14812. func (this *ISCSIVolumeSource) String() string {
  14813. if this == nil {
  14814. return "nil"
  14815. }
  14816. s := strings.Join([]string{`&ISCSIVolumeSource{`,
  14817. `TargetPortal:` + fmt.Sprintf("%v", this.TargetPortal) + `,`,
  14818. `IQN:` + fmt.Sprintf("%v", this.IQN) + `,`,
  14819. `Lun:` + fmt.Sprintf("%v", this.Lun) + `,`,
  14820. `ISCSIInterface:` + fmt.Sprintf("%v", this.ISCSIInterface) + `,`,
  14821. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14822. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14823. `Portals:` + fmt.Sprintf("%v", this.Portals) + `,`,
  14824. `DiscoveryCHAPAuth:` + fmt.Sprintf("%v", this.DiscoveryCHAPAuth) + `,`,
  14825. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  14826. `SessionCHAPAuth:` + fmt.Sprintf("%v", this.SessionCHAPAuth) + `,`,
  14827. `InitiatorName:` + valueToStringGenerated(this.InitiatorName) + `,`,
  14828. `}`,
  14829. }, "")
  14830. return s
  14831. }
  14832. func (this *KeyToPath) String() string {
  14833. if this == nil {
  14834. return "nil"
  14835. }
  14836. s := strings.Join([]string{`&KeyToPath{`,
  14837. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  14838. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14839. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  14840. `}`,
  14841. }, "")
  14842. return s
  14843. }
  14844. func (this *Lifecycle) String() string {
  14845. if this == nil {
  14846. return "nil"
  14847. }
  14848. s := strings.Join([]string{`&Lifecycle{`,
  14849. `PostStart:` + strings.Replace(fmt.Sprintf("%v", this.PostStart), "Handler", "Handler", 1) + `,`,
  14850. `PreStop:` + strings.Replace(fmt.Sprintf("%v", this.PreStop), "Handler", "Handler", 1) + `,`,
  14851. `}`,
  14852. }, "")
  14853. return s
  14854. }
  14855. func (this *LimitRange) String() string {
  14856. if this == nil {
  14857. return "nil"
  14858. }
  14859. s := strings.Join([]string{`&LimitRange{`,
  14860. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14861. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "LimitRangeSpec", "LimitRangeSpec", 1), `&`, ``, 1) + `,`,
  14862. `}`,
  14863. }, "")
  14864. return s
  14865. }
  14866. func (this *LimitRangeItem) String() string {
  14867. if this == nil {
  14868. return "nil"
  14869. }
  14870. keysForMax := make([]string, 0, len(this.Max))
  14871. for k := range this.Max {
  14872. keysForMax = append(keysForMax, string(k))
  14873. }
  14874. github_com_gogo_protobuf_sortkeys.Strings(keysForMax)
  14875. mapStringForMax := "ResourceList{"
  14876. for _, k := range keysForMax {
  14877. mapStringForMax += fmt.Sprintf("%v: %v,", k, this.Max[ResourceName(k)])
  14878. }
  14879. mapStringForMax += "}"
  14880. keysForMin := make([]string, 0, len(this.Min))
  14881. for k := range this.Min {
  14882. keysForMin = append(keysForMin, string(k))
  14883. }
  14884. github_com_gogo_protobuf_sortkeys.Strings(keysForMin)
  14885. mapStringForMin := "ResourceList{"
  14886. for _, k := range keysForMin {
  14887. mapStringForMin += fmt.Sprintf("%v: %v,", k, this.Min[ResourceName(k)])
  14888. }
  14889. mapStringForMin += "}"
  14890. keysForDefault := make([]string, 0, len(this.Default))
  14891. for k := range this.Default {
  14892. keysForDefault = append(keysForDefault, string(k))
  14893. }
  14894. github_com_gogo_protobuf_sortkeys.Strings(keysForDefault)
  14895. mapStringForDefault := "ResourceList{"
  14896. for _, k := range keysForDefault {
  14897. mapStringForDefault += fmt.Sprintf("%v: %v,", k, this.Default[ResourceName(k)])
  14898. }
  14899. mapStringForDefault += "}"
  14900. keysForDefaultRequest := make([]string, 0, len(this.DefaultRequest))
  14901. for k := range this.DefaultRequest {
  14902. keysForDefaultRequest = append(keysForDefaultRequest, string(k))
  14903. }
  14904. github_com_gogo_protobuf_sortkeys.Strings(keysForDefaultRequest)
  14905. mapStringForDefaultRequest := "ResourceList{"
  14906. for _, k := range keysForDefaultRequest {
  14907. mapStringForDefaultRequest += fmt.Sprintf("%v: %v,", k, this.DefaultRequest[ResourceName(k)])
  14908. }
  14909. mapStringForDefaultRequest += "}"
  14910. keysForMaxLimitRequestRatio := make([]string, 0, len(this.MaxLimitRequestRatio))
  14911. for k := range this.MaxLimitRequestRatio {
  14912. keysForMaxLimitRequestRatio = append(keysForMaxLimitRequestRatio, string(k))
  14913. }
  14914. github_com_gogo_protobuf_sortkeys.Strings(keysForMaxLimitRequestRatio)
  14915. mapStringForMaxLimitRequestRatio := "ResourceList{"
  14916. for _, k := range keysForMaxLimitRequestRatio {
  14917. mapStringForMaxLimitRequestRatio += fmt.Sprintf("%v: %v,", k, this.MaxLimitRequestRatio[ResourceName(k)])
  14918. }
  14919. mapStringForMaxLimitRequestRatio += "}"
  14920. s := strings.Join([]string{`&LimitRangeItem{`,
  14921. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14922. `Max:` + mapStringForMax + `,`,
  14923. `Min:` + mapStringForMin + `,`,
  14924. `Default:` + mapStringForDefault + `,`,
  14925. `DefaultRequest:` + mapStringForDefaultRequest + `,`,
  14926. `MaxLimitRequestRatio:` + mapStringForMaxLimitRequestRatio + `,`,
  14927. `}`,
  14928. }, "")
  14929. return s
  14930. }
  14931. func (this *LimitRangeList) String() string {
  14932. if this == nil {
  14933. return "nil"
  14934. }
  14935. s := strings.Join([]string{`&LimitRangeList{`,
  14936. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14937. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "LimitRange", "LimitRange", 1), `&`, ``, 1) + `,`,
  14938. `}`,
  14939. }, "")
  14940. return s
  14941. }
  14942. func (this *LimitRangeSpec) String() string {
  14943. if this == nil {
  14944. return "nil"
  14945. }
  14946. s := strings.Join([]string{`&LimitRangeSpec{`,
  14947. `Limits:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Limits), "LimitRangeItem", "LimitRangeItem", 1), `&`, ``, 1) + `,`,
  14948. `}`,
  14949. }, "")
  14950. return s
  14951. }
  14952. func (this *List) String() string {
  14953. if this == nil {
  14954. return "nil"
  14955. }
  14956. s := strings.Join([]string{`&List{`,
  14957. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14958. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  14959. `}`,
  14960. }, "")
  14961. return s
  14962. }
  14963. func (this *LoadBalancerIngress) String() string {
  14964. if this == nil {
  14965. return "nil"
  14966. }
  14967. s := strings.Join([]string{`&LoadBalancerIngress{`,
  14968. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  14969. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  14970. `}`,
  14971. }, "")
  14972. return s
  14973. }
  14974. func (this *LoadBalancerStatus) String() string {
  14975. if this == nil {
  14976. return "nil"
  14977. }
  14978. s := strings.Join([]string{`&LoadBalancerStatus{`,
  14979. `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "LoadBalancerIngress", "LoadBalancerIngress", 1), `&`, ``, 1) + `,`,
  14980. `}`,
  14981. }, "")
  14982. return s
  14983. }
  14984. func (this *LocalObjectReference) String() string {
  14985. if this == nil {
  14986. return "nil"
  14987. }
  14988. s := strings.Join([]string{`&LocalObjectReference{`,
  14989. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14990. `}`,
  14991. }, "")
  14992. return s
  14993. }
  14994. func (this *LocalVolumeSource) String() string {
  14995. if this == nil {
  14996. return "nil"
  14997. }
  14998. s := strings.Join([]string{`&LocalVolumeSource{`,
  14999. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  15000. `FSType:` + valueToStringGenerated(this.FSType) + `,`,
  15001. `}`,
  15002. }, "")
  15003. return s
  15004. }
  15005. func (this *NFSVolumeSource) String() string {
  15006. if this == nil {
  15007. return "nil"
  15008. }
  15009. s := strings.Join([]string{`&NFSVolumeSource{`,
  15010. `Server:` + fmt.Sprintf("%v", this.Server) + `,`,
  15011. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  15012. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15013. `}`,
  15014. }, "")
  15015. return s
  15016. }
  15017. func (this *Namespace) String() string {
  15018. if this == nil {
  15019. return "nil"
  15020. }
  15021. s := strings.Join([]string{`&Namespace{`,
  15022. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15023. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NamespaceSpec", "NamespaceSpec", 1), `&`, ``, 1) + `,`,
  15024. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NamespaceStatus", "NamespaceStatus", 1), `&`, ``, 1) + `,`,
  15025. `}`,
  15026. }, "")
  15027. return s
  15028. }
  15029. func (this *NamespaceList) String() string {
  15030. if this == nil {
  15031. return "nil"
  15032. }
  15033. s := strings.Join([]string{`&NamespaceList{`,
  15034. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15035. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Namespace", "Namespace", 1), `&`, ``, 1) + `,`,
  15036. `}`,
  15037. }, "")
  15038. return s
  15039. }
  15040. func (this *NamespaceSpec) String() string {
  15041. if this == nil {
  15042. return "nil"
  15043. }
  15044. s := strings.Join([]string{`&NamespaceSpec{`,
  15045. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  15046. `}`,
  15047. }, "")
  15048. return s
  15049. }
  15050. func (this *NamespaceStatus) String() string {
  15051. if this == nil {
  15052. return "nil"
  15053. }
  15054. s := strings.Join([]string{`&NamespaceStatus{`,
  15055. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  15056. `}`,
  15057. }, "")
  15058. return s
  15059. }
  15060. func (this *Node) String() string {
  15061. if this == nil {
  15062. return "nil"
  15063. }
  15064. s := strings.Join([]string{`&Node{`,
  15065. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15066. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NodeSpec", "NodeSpec", 1), `&`, ``, 1) + `,`,
  15067. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NodeStatus", "NodeStatus", 1), `&`, ``, 1) + `,`,
  15068. `}`,
  15069. }, "")
  15070. return s
  15071. }
  15072. func (this *NodeAddress) String() string {
  15073. if this == nil {
  15074. return "nil"
  15075. }
  15076. s := strings.Join([]string{`&NodeAddress{`,
  15077. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15078. `Address:` + fmt.Sprintf("%v", this.Address) + `,`,
  15079. `}`,
  15080. }, "")
  15081. return s
  15082. }
  15083. func (this *NodeAffinity) String() string {
  15084. if this == nil {
  15085. return "nil"
  15086. }
  15087. s := strings.Join([]string{`&NodeAffinity{`,
  15088. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "NodeSelector", "NodeSelector", 1) + `,`,
  15089. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "PreferredSchedulingTerm", "PreferredSchedulingTerm", 1), `&`, ``, 1) + `,`,
  15090. `}`,
  15091. }, "")
  15092. return s
  15093. }
  15094. func (this *NodeCondition) String() string {
  15095. if this == nil {
  15096. return "nil"
  15097. }
  15098. s := strings.Join([]string{`&NodeCondition{`,
  15099. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15100. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  15101. `LastHeartbeatTime:` + strings.Replace(strings.Replace(this.LastHeartbeatTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15102. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15103. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15104. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15105. `}`,
  15106. }, "")
  15107. return s
  15108. }
  15109. func (this *NodeConfigSource) String() string {
  15110. if this == nil {
  15111. return "nil"
  15112. }
  15113. s := strings.Join([]string{`&NodeConfigSource{`,
  15114. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapNodeConfigSource", "ConfigMapNodeConfigSource", 1) + `,`,
  15115. `}`,
  15116. }, "")
  15117. return s
  15118. }
  15119. func (this *NodeConfigStatus) String() string {
  15120. if this == nil {
  15121. return "nil"
  15122. }
  15123. s := strings.Join([]string{`&NodeConfigStatus{`,
  15124. `Assigned:` + strings.Replace(fmt.Sprintf("%v", this.Assigned), "NodeConfigSource", "NodeConfigSource", 1) + `,`,
  15125. `Active:` + strings.Replace(fmt.Sprintf("%v", this.Active), "NodeConfigSource", "NodeConfigSource", 1) + `,`,
  15126. `LastKnownGood:` + strings.Replace(fmt.Sprintf("%v", this.LastKnownGood), "NodeConfigSource", "NodeConfigSource", 1) + `,`,
  15127. `Error:` + fmt.Sprintf("%v", this.Error) + `,`,
  15128. `}`,
  15129. }, "")
  15130. return s
  15131. }
  15132. func (this *NodeDaemonEndpoints) String() string {
  15133. if this == nil {
  15134. return "nil"
  15135. }
  15136. s := strings.Join([]string{`&NodeDaemonEndpoints{`,
  15137. `KubeletEndpoint:` + strings.Replace(strings.Replace(this.KubeletEndpoint.String(), "DaemonEndpoint", "DaemonEndpoint", 1), `&`, ``, 1) + `,`,
  15138. `}`,
  15139. }, "")
  15140. return s
  15141. }
  15142. func (this *NodeList) String() string {
  15143. if this == nil {
  15144. return "nil"
  15145. }
  15146. s := strings.Join([]string{`&NodeList{`,
  15147. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15148. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Node", "Node", 1), `&`, ``, 1) + `,`,
  15149. `}`,
  15150. }, "")
  15151. return s
  15152. }
  15153. func (this *NodeProxyOptions) String() string {
  15154. if this == nil {
  15155. return "nil"
  15156. }
  15157. s := strings.Join([]string{`&NodeProxyOptions{`,
  15158. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  15159. `}`,
  15160. }, "")
  15161. return s
  15162. }
  15163. func (this *NodeResources) String() string {
  15164. if this == nil {
  15165. return "nil"
  15166. }
  15167. keysForCapacity := make([]string, 0, len(this.Capacity))
  15168. for k := range this.Capacity {
  15169. keysForCapacity = append(keysForCapacity, string(k))
  15170. }
  15171. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  15172. mapStringForCapacity := "ResourceList{"
  15173. for _, k := range keysForCapacity {
  15174. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  15175. }
  15176. mapStringForCapacity += "}"
  15177. s := strings.Join([]string{`&NodeResources{`,
  15178. `Capacity:` + mapStringForCapacity + `,`,
  15179. `}`,
  15180. }, "")
  15181. return s
  15182. }
  15183. func (this *NodeSelector) String() string {
  15184. if this == nil {
  15185. return "nil"
  15186. }
  15187. s := strings.Join([]string{`&NodeSelector{`,
  15188. `NodeSelectorTerms:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NodeSelectorTerms), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  15189. `}`,
  15190. }, "")
  15191. return s
  15192. }
  15193. func (this *NodeSelectorRequirement) String() string {
  15194. if this == nil {
  15195. return "nil"
  15196. }
  15197. s := strings.Join([]string{`&NodeSelectorRequirement{`,
  15198. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  15199. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  15200. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  15201. `}`,
  15202. }, "")
  15203. return s
  15204. }
  15205. func (this *NodeSelectorTerm) String() string {
  15206. if this == nil {
  15207. return "nil"
  15208. }
  15209. s := strings.Join([]string{`&NodeSelectorTerm{`,
  15210. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "NodeSelectorRequirement", "NodeSelectorRequirement", 1), `&`, ``, 1) + `,`,
  15211. `MatchFields:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchFields), "NodeSelectorRequirement", "NodeSelectorRequirement", 1), `&`, ``, 1) + `,`,
  15212. `}`,
  15213. }, "")
  15214. return s
  15215. }
  15216. func (this *NodeSpec) String() string {
  15217. if this == nil {
  15218. return "nil"
  15219. }
  15220. s := strings.Join([]string{`&NodeSpec{`,
  15221. `PodCIDR:` + fmt.Sprintf("%v", this.PodCIDR) + `,`,
  15222. `DoNotUse_ExternalID:` + fmt.Sprintf("%v", this.DoNotUse_ExternalID) + `,`,
  15223. `ProviderID:` + fmt.Sprintf("%v", this.ProviderID) + `,`,
  15224. `Unschedulable:` + fmt.Sprintf("%v", this.Unschedulable) + `,`,
  15225. `Taints:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Taints), "Taint", "Taint", 1), `&`, ``, 1) + `,`,
  15226. `ConfigSource:` + strings.Replace(fmt.Sprintf("%v", this.ConfigSource), "NodeConfigSource", "NodeConfigSource", 1) + `,`,
  15227. `}`,
  15228. }, "")
  15229. return s
  15230. }
  15231. func (this *NodeStatus) String() string {
  15232. if this == nil {
  15233. return "nil"
  15234. }
  15235. keysForCapacity := make([]string, 0, len(this.Capacity))
  15236. for k := range this.Capacity {
  15237. keysForCapacity = append(keysForCapacity, string(k))
  15238. }
  15239. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  15240. mapStringForCapacity := "ResourceList{"
  15241. for _, k := range keysForCapacity {
  15242. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  15243. }
  15244. mapStringForCapacity += "}"
  15245. keysForAllocatable := make([]string, 0, len(this.Allocatable))
  15246. for k := range this.Allocatable {
  15247. keysForAllocatable = append(keysForAllocatable, string(k))
  15248. }
  15249. github_com_gogo_protobuf_sortkeys.Strings(keysForAllocatable)
  15250. mapStringForAllocatable := "ResourceList{"
  15251. for _, k := range keysForAllocatable {
  15252. mapStringForAllocatable += fmt.Sprintf("%v: %v,", k, this.Allocatable[ResourceName(k)])
  15253. }
  15254. mapStringForAllocatable += "}"
  15255. s := strings.Join([]string{`&NodeStatus{`,
  15256. `Capacity:` + mapStringForCapacity + `,`,
  15257. `Allocatable:` + mapStringForAllocatable + `,`,
  15258. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  15259. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "NodeCondition", "NodeCondition", 1), `&`, ``, 1) + `,`,
  15260. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "NodeAddress", "NodeAddress", 1), `&`, ``, 1) + `,`,
  15261. `DaemonEndpoints:` + strings.Replace(strings.Replace(this.DaemonEndpoints.String(), "NodeDaemonEndpoints", "NodeDaemonEndpoints", 1), `&`, ``, 1) + `,`,
  15262. `NodeInfo:` + strings.Replace(strings.Replace(this.NodeInfo.String(), "NodeSystemInfo", "NodeSystemInfo", 1), `&`, ``, 1) + `,`,
  15263. `Images:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Images), "ContainerImage", "ContainerImage", 1), `&`, ``, 1) + `,`,
  15264. `VolumesInUse:` + fmt.Sprintf("%v", this.VolumesInUse) + `,`,
  15265. `VolumesAttached:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumesAttached), "AttachedVolume", "AttachedVolume", 1), `&`, ``, 1) + `,`,
  15266. `Config:` + strings.Replace(fmt.Sprintf("%v", this.Config), "NodeConfigStatus", "NodeConfigStatus", 1) + `,`,
  15267. `}`,
  15268. }, "")
  15269. return s
  15270. }
  15271. func (this *NodeSystemInfo) String() string {
  15272. if this == nil {
  15273. return "nil"
  15274. }
  15275. s := strings.Join([]string{`&NodeSystemInfo{`,
  15276. `MachineID:` + fmt.Sprintf("%v", this.MachineID) + `,`,
  15277. `SystemUUID:` + fmt.Sprintf("%v", this.SystemUUID) + `,`,
  15278. `BootID:` + fmt.Sprintf("%v", this.BootID) + `,`,
  15279. `KernelVersion:` + fmt.Sprintf("%v", this.KernelVersion) + `,`,
  15280. `OSImage:` + fmt.Sprintf("%v", this.OSImage) + `,`,
  15281. `ContainerRuntimeVersion:` + fmt.Sprintf("%v", this.ContainerRuntimeVersion) + `,`,
  15282. `KubeletVersion:` + fmt.Sprintf("%v", this.KubeletVersion) + `,`,
  15283. `KubeProxyVersion:` + fmt.Sprintf("%v", this.KubeProxyVersion) + `,`,
  15284. `OperatingSystem:` + fmt.Sprintf("%v", this.OperatingSystem) + `,`,
  15285. `Architecture:` + fmt.Sprintf("%v", this.Architecture) + `,`,
  15286. `}`,
  15287. }, "")
  15288. return s
  15289. }
  15290. func (this *ObjectFieldSelector) String() string {
  15291. if this == nil {
  15292. return "nil"
  15293. }
  15294. s := strings.Join([]string{`&ObjectFieldSelector{`,
  15295. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  15296. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  15297. `}`,
  15298. }, "")
  15299. return s
  15300. }
  15301. func (this *ObjectReference) String() string {
  15302. if this == nil {
  15303. return "nil"
  15304. }
  15305. s := strings.Join([]string{`&ObjectReference{`,
  15306. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  15307. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  15308. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  15309. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  15310. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  15311. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  15312. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  15313. `}`,
  15314. }, "")
  15315. return s
  15316. }
  15317. func (this *PersistentVolume) String() string {
  15318. if this == nil {
  15319. return "nil"
  15320. }
  15321. s := strings.Join([]string{`&PersistentVolume{`,
  15322. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15323. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeSpec", "PersistentVolumeSpec", 1), `&`, ``, 1) + `,`,
  15324. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeStatus", "PersistentVolumeStatus", 1), `&`, ``, 1) + `,`,
  15325. `}`,
  15326. }, "")
  15327. return s
  15328. }
  15329. func (this *PersistentVolumeClaim) String() string {
  15330. if this == nil {
  15331. return "nil"
  15332. }
  15333. s := strings.Join([]string{`&PersistentVolumeClaim{`,
  15334. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15335. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeClaimSpec", "PersistentVolumeClaimSpec", 1), `&`, ``, 1) + `,`,
  15336. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeClaimStatus", "PersistentVolumeClaimStatus", 1), `&`, ``, 1) + `,`,
  15337. `}`,
  15338. }, "")
  15339. return s
  15340. }
  15341. func (this *PersistentVolumeClaimCondition) String() string {
  15342. if this == nil {
  15343. return "nil"
  15344. }
  15345. s := strings.Join([]string{`&PersistentVolumeClaimCondition{`,
  15346. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15347. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  15348. `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15349. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15350. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15351. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15352. `}`,
  15353. }, "")
  15354. return s
  15355. }
  15356. func (this *PersistentVolumeClaimList) String() string {
  15357. if this == nil {
  15358. return "nil"
  15359. }
  15360. s := strings.Join([]string{`&PersistentVolumeClaimList{`,
  15361. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15362. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolumeClaim", "PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
  15363. `}`,
  15364. }, "")
  15365. return s
  15366. }
  15367. func (this *PersistentVolumeClaimSpec) String() string {
  15368. if this == nil {
  15369. return "nil"
  15370. }
  15371. s := strings.Join([]string{`&PersistentVolumeClaimSpec{`,
  15372. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  15373. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  15374. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  15375. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  15376. `StorageClassName:` + valueToStringGenerated(this.StorageClassName) + `,`,
  15377. `VolumeMode:` + valueToStringGenerated(this.VolumeMode) + `,`,
  15378. `DataSource:` + strings.Replace(fmt.Sprintf("%v", this.DataSource), "TypedLocalObjectReference", "TypedLocalObjectReference", 1) + `,`,
  15379. `}`,
  15380. }, "")
  15381. return s
  15382. }
  15383. func (this *PersistentVolumeClaimStatus) String() string {
  15384. if this == nil {
  15385. return "nil"
  15386. }
  15387. keysForCapacity := make([]string, 0, len(this.Capacity))
  15388. for k := range this.Capacity {
  15389. keysForCapacity = append(keysForCapacity, string(k))
  15390. }
  15391. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  15392. mapStringForCapacity := "ResourceList{"
  15393. for _, k := range keysForCapacity {
  15394. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  15395. }
  15396. mapStringForCapacity += "}"
  15397. s := strings.Join([]string{`&PersistentVolumeClaimStatus{`,
  15398. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  15399. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  15400. `Capacity:` + mapStringForCapacity + `,`,
  15401. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "PersistentVolumeClaimCondition", "PersistentVolumeClaimCondition", 1), `&`, ``, 1) + `,`,
  15402. `}`,
  15403. }, "")
  15404. return s
  15405. }
  15406. func (this *PersistentVolumeClaimVolumeSource) String() string {
  15407. if this == nil {
  15408. return "nil"
  15409. }
  15410. s := strings.Join([]string{`&PersistentVolumeClaimVolumeSource{`,
  15411. `ClaimName:` + fmt.Sprintf("%v", this.ClaimName) + `,`,
  15412. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15413. `}`,
  15414. }, "")
  15415. return s
  15416. }
  15417. func (this *PersistentVolumeList) String() string {
  15418. if this == nil {
  15419. return "nil"
  15420. }
  15421. s := strings.Join([]string{`&PersistentVolumeList{`,
  15422. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15423. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolume", "PersistentVolume", 1), `&`, ``, 1) + `,`,
  15424. `}`,
  15425. }, "")
  15426. return s
  15427. }
  15428. func (this *PersistentVolumeSource) String() string {
  15429. if this == nil {
  15430. return "nil"
  15431. }
  15432. s := strings.Join([]string{`&PersistentVolumeSource{`,
  15433. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  15434. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  15435. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  15436. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsPersistentVolumeSource", "GlusterfsPersistentVolumeSource", 1) + `,`,
  15437. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  15438. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDPersistentVolumeSource", "RBDPersistentVolumeSource", 1) + `,`,
  15439. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIPersistentVolumeSource", "ISCSIPersistentVolumeSource", 1) + `,`,
  15440. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderPersistentVolumeSource", "CinderPersistentVolumeSource", 1) + `,`,
  15441. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSPersistentVolumeSource", "CephFSPersistentVolumeSource", 1) + `,`,
  15442. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  15443. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  15444. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexPersistentVolumeSource", "FlexPersistentVolumeSource", 1) + `,`,
  15445. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFilePersistentVolumeSource", "AzureFilePersistentVolumeSource", 1) + `,`,
  15446. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  15447. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  15448. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  15449. `PhotonPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.PhotonPersistentDisk), "PhotonPersistentDiskVolumeSource", "PhotonPersistentDiskVolumeSource", 1) + `,`,
  15450. `PortworxVolume:` + strings.Replace(fmt.Sprintf("%v", this.PortworxVolume), "PortworxVolumeSource", "PortworxVolumeSource", 1) + `,`,
  15451. `ScaleIO:` + strings.Replace(fmt.Sprintf("%v", this.ScaleIO), "ScaleIOPersistentVolumeSource", "ScaleIOPersistentVolumeSource", 1) + `,`,
  15452. `Local:` + strings.Replace(fmt.Sprintf("%v", this.Local), "LocalVolumeSource", "LocalVolumeSource", 1) + `,`,
  15453. `StorageOS:` + strings.Replace(fmt.Sprintf("%v", this.StorageOS), "StorageOSPersistentVolumeSource", "StorageOSPersistentVolumeSource", 1) + `,`,
  15454. `CSI:` + strings.Replace(fmt.Sprintf("%v", this.CSI), "CSIPersistentVolumeSource", "CSIPersistentVolumeSource", 1) + `,`,
  15455. `}`,
  15456. }, "")
  15457. return s
  15458. }
  15459. func (this *PersistentVolumeSpec) String() string {
  15460. if this == nil {
  15461. return "nil"
  15462. }
  15463. keysForCapacity := make([]string, 0, len(this.Capacity))
  15464. for k := range this.Capacity {
  15465. keysForCapacity = append(keysForCapacity, string(k))
  15466. }
  15467. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  15468. mapStringForCapacity := "ResourceList{"
  15469. for _, k := range keysForCapacity {
  15470. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  15471. }
  15472. mapStringForCapacity += "}"
  15473. s := strings.Join([]string{`&PersistentVolumeSpec{`,
  15474. `Capacity:` + mapStringForCapacity + `,`,
  15475. `PersistentVolumeSource:` + strings.Replace(strings.Replace(this.PersistentVolumeSource.String(), "PersistentVolumeSource", "PersistentVolumeSource", 1), `&`, ``, 1) + `,`,
  15476. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  15477. `ClaimRef:` + strings.Replace(fmt.Sprintf("%v", this.ClaimRef), "ObjectReference", "ObjectReference", 1) + `,`,
  15478. `PersistentVolumeReclaimPolicy:` + fmt.Sprintf("%v", this.PersistentVolumeReclaimPolicy) + `,`,
  15479. `StorageClassName:` + fmt.Sprintf("%v", this.StorageClassName) + `,`,
  15480. `MountOptions:` + fmt.Sprintf("%v", this.MountOptions) + `,`,
  15481. `VolumeMode:` + valueToStringGenerated(this.VolumeMode) + `,`,
  15482. `NodeAffinity:` + strings.Replace(fmt.Sprintf("%v", this.NodeAffinity), "VolumeNodeAffinity", "VolumeNodeAffinity", 1) + `,`,
  15483. `}`,
  15484. }, "")
  15485. return s
  15486. }
  15487. func (this *PersistentVolumeStatus) String() string {
  15488. if this == nil {
  15489. return "nil"
  15490. }
  15491. s := strings.Join([]string{`&PersistentVolumeStatus{`,
  15492. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  15493. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15494. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15495. `}`,
  15496. }, "")
  15497. return s
  15498. }
  15499. func (this *PhotonPersistentDiskVolumeSource) String() string {
  15500. if this == nil {
  15501. return "nil"
  15502. }
  15503. s := strings.Join([]string{`&PhotonPersistentDiskVolumeSource{`,
  15504. `PdID:` + fmt.Sprintf("%v", this.PdID) + `,`,
  15505. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15506. `}`,
  15507. }, "")
  15508. return s
  15509. }
  15510. func (this *Pod) String() string {
  15511. if this == nil {
  15512. return "nil"
  15513. }
  15514. s := strings.Join([]string{`&Pod{`,
  15515. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15516. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  15517. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  15518. `}`,
  15519. }, "")
  15520. return s
  15521. }
  15522. func (this *PodAffinity) String() string {
  15523. if this == nil {
  15524. return "nil"
  15525. }
  15526. s := strings.Join([]string{`&PodAffinity{`,
  15527. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15528. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15529. `}`,
  15530. }, "")
  15531. return s
  15532. }
  15533. func (this *PodAffinityTerm) String() string {
  15534. if this == nil {
  15535. return "nil"
  15536. }
  15537. s := strings.Join([]string{`&PodAffinityTerm{`,
  15538. `LabelSelector:` + strings.Replace(fmt.Sprintf("%v", this.LabelSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  15539. `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
  15540. `TopologyKey:` + fmt.Sprintf("%v", this.TopologyKey) + `,`,
  15541. `}`,
  15542. }, "")
  15543. return s
  15544. }
  15545. func (this *PodAntiAffinity) String() string {
  15546. if this == nil {
  15547. return "nil"
  15548. }
  15549. s := strings.Join([]string{`&PodAntiAffinity{`,
  15550. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15551. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15552. `}`,
  15553. }, "")
  15554. return s
  15555. }
  15556. func (this *PodAttachOptions) String() string {
  15557. if this == nil {
  15558. return "nil"
  15559. }
  15560. s := strings.Join([]string{`&PodAttachOptions{`,
  15561. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  15562. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  15563. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  15564. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  15565. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  15566. `}`,
  15567. }, "")
  15568. return s
  15569. }
  15570. func (this *PodCondition) String() string {
  15571. if this == nil {
  15572. return "nil"
  15573. }
  15574. s := strings.Join([]string{`&PodCondition{`,
  15575. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15576. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  15577. `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15578. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15579. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15580. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15581. `}`,
  15582. }, "")
  15583. return s
  15584. }
  15585. func (this *PodDNSConfig) String() string {
  15586. if this == nil {
  15587. return "nil"
  15588. }
  15589. s := strings.Join([]string{`&PodDNSConfig{`,
  15590. `Nameservers:` + fmt.Sprintf("%v", this.Nameservers) + `,`,
  15591. `Searches:` + fmt.Sprintf("%v", this.Searches) + `,`,
  15592. `Options:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Options), "PodDNSConfigOption", "PodDNSConfigOption", 1), `&`, ``, 1) + `,`,
  15593. `}`,
  15594. }, "")
  15595. return s
  15596. }
  15597. func (this *PodDNSConfigOption) String() string {
  15598. if this == nil {
  15599. return "nil"
  15600. }
  15601. s := strings.Join([]string{`&PodDNSConfigOption{`,
  15602. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  15603. `Value:` + valueToStringGenerated(this.Value) + `,`,
  15604. `}`,
  15605. }, "")
  15606. return s
  15607. }
  15608. func (this *PodExecOptions) String() string {
  15609. if this == nil {
  15610. return "nil"
  15611. }
  15612. s := strings.Join([]string{`&PodExecOptions{`,
  15613. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  15614. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  15615. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  15616. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  15617. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  15618. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  15619. `}`,
  15620. }, "")
  15621. return s
  15622. }
  15623. func (this *PodList) String() string {
  15624. if this == nil {
  15625. return "nil"
  15626. }
  15627. s := strings.Join([]string{`&PodList{`,
  15628. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15629. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Pod", "Pod", 1), `&`, ``, 1) + `,`,
  15630. `}`,
  15631. }, "")
  15632. return s
  15633. }
  15634. func (this *PodLogOptions) String() string {
  15635. if this == nil {
  15636. return "nil"
  15637. }
  15638. s := strings.Join([]string{`&PodLogOptions{`,
  15639. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  15640. `Follow:` + fmt.Sprintf("%v", this.Follow) + `,`,
  15641. `Previous:` + fmt.Sprintf("%v", this.Previous) + `,`,
  15642. `SinceSeconds:` + valueToStringGenerated(this.SinceSeconds) + `,`,
  15643. `SinceTime:` + strings.Replace(fmt.Sprintf("%v", this.SinceTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  15644. `Timestamps:` + fmt.Sprintf("%v", this.Timestamps) + `,`,
  15645. `TailLines:` + valueToStringGenerated(this.TailLines) + `,`,
  15646. `LimitBytes:` + valueToStringGenerated(this.LimitBytes) + `,`,
  15647. `}`,
  15648. }, "")
  15649. return s
  15650. }
  15651. func (this *PodPortForwardOptions) String() string {
  15652. if this == nil {
  15653. return "nil"
  15654. }
  15655. s := strings.Join([]string{`&PodPortForwardOptions{`,
  15656. `Ports:` + fmt.Sprintf("%v", this.Ports) + `,`,
  15657. `}`,
  15658. }, "")
  15659. return s
  15660. }
  15661. func (this *PodProxyOptions) String() string {
  15662. if this == nil {
  15663. return "nil"
  15664. }
  15665. s := strings.Join([]string{`&PodProxyOptions{`,
  15666. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  15667. `}`,
  15668. }, "")
  15669. return s
  15670. }
  15671. func (this *PodReadinessGate) String() string {
  15672. if this == nil {
  15673. return "nil"
  15674. }
  15675. s := strings.Join([]string{`&PodReadinessGate{`,
  15676. `ConditionType:` + fmt.Sprintf("%v", this.ConditionType) + `,`,
  15677. `}`,
  15678. }, "")
  15679. return s
  15680. }
  15681. func (this *PodSecurityContext) String() string {
  15682. if this == nil {
  15683. return "nil"
  15684. }
  15685. s := strings.Join([]string{`&PodSecurityContext{`,
  15686. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  15687. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  15688. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  15689. `SupplementalGroups:` + fmt.Sprintf("%v", this.SupplementalGroups) + `,`,
  15690. `FSGroup:` + valueToStringGenerated(this.FSGroup) + `,`,
  15691. `RunAsGroup:` + valueToStringGenerated(this.RunAsGroup) + `,`,
  15692. `Sysctls:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Sysctls), "Sysctl", "Sysctl", 1), `&`, ``, 1) + `,`,
  15693. `}`,
  15694. }, "")
  15695. return s
  15696. }
  15697. func (this *PodSignature) String() string {
  15698. if this == nil {
  15699. return "nil"
  15700. }
  15701. s := strings.Join([]string{`&PodSignature{`,
  15702. `PodController:` + strings.Replace(fmt.Sprintf("%v", this.PodController), "OwnerReference", "k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference", 1) + `,`,
  15703. `}`,
  15704. }, "")
  15705. return s
  15706. }
  15707. func (this *PodSpec) String() string {
  15708. if this == nil {
  15709. return "nil"
  15710. }
  15711. keysForNodeSelector := make([]string, 0, len(this.NodeSelector))
  15712. for k := range this.NodeSelector {
  15713. keysForNodeSelector = append(keysForNodeSelector, k)
  15714. }
  15715. github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
  15716. mapStringForNodeSelector := "map[string]string{"
  15717. for _, k := range keysForNodeSelector {
  15718. mapStringForNodeSelector += fmt.Sprintf("%v: %v,", k, this.NodeSelector[k])
  15719. }
  15720. mapStringForNodeSelector += "}"
  15721. s := strings.Join([]string{`&PodSpec{`,
  15722. `Volumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Volumes), "Volume", "Volume", 1), `&`, ``, 1) + `,`,
  15723. `Containers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Containers), "Container", "Container", 1), `&`, ``, 1) + `,`,
  15724. `RestartPolicy:` + fmt.Sprintf("%v", this.RestartPolicy) + `,`,
  15725. `TerminationGracePeriodSeconds:` + valueToStringGenerated(this.TerminationGracePeriodSeconds) + `,`,
  15726. `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
  15727. `DNSPolicy:` + fmt.Sprintf("%v", this.DNSPolicy) + `,`,
  15728. `NodeSelector:` + mapStringForNodeSelector + `,`,
  15729. `ServiceAccountName:` + fmt.Sprintf("%v", this.ServiceAccountName) + `,`,
  15730. `DeprecatedServiceAccount:` + fmt.Sprintf("%v", this.DeprecatedServiceAccount) + `,`,
  15731. `NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
  15732. `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
  15733. `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
  15734. `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
  15735. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "PodSecurityContext", "PodSecurityContext", 1) + `,`,
  15736. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  15737. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  15738. `Subdomain:` + fmt.Sprintf("%v", this.Subdomain) + `,`,
  15739. `Affinity:` + strings.Replace(fmt.Sprintf("%v", this.Affinity), "Affinity", "Affinity", 1) + `,`,
  15740. `SchedulerName:` + fmt.Sprintf("%v", this.SchedulerName) + `,`,
  15741. `InitContainers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.InitContainers), "Container", "Container", 1), `&`, ``, 1) + `,`,
  15742. `AutomountServiceAccountToken:` + valueToStringGenerated(this.AutomountServiceAccountToken) + `,`,
  15743. `Tolerations:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Tolerations), "Toleration", "Toleration", 1), `&`, ``, 1) + `,`,
  15744. `HostAliases:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostAliases), "HostAlias", "HostAlias", 1), `&`, ``, 1) + `,`,
  15745. `PriorityClassName:` + fmt.Sprintf("%v", this.PriorityClassName) + `,`,
  15746. `Priority:` + valueToStringGenerated(this.Priority) + `,`,
  15747. `DNSConfig:` + strings.Replace(fmt.Sprintf("%v", this.DNSConfig), "PodDNSConfig", "PodDNSConfig", 1) + `,`,
  15748. `ShareProcessNamespace:` + valueToStringGenerated(this.ShareProcessNamespace) + `,`,
  15749. `ReadinessGates:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ReadinessGates), "PodReadinessGate", "PodReadinessGate", 1), `&`, ``, 1) + `,`,
  15750. `RuntimeClassName:` + valueToStringGenerated(this.RuntimeClassName) + `,`,
  15751. `EnableServiceLinks:` + valueToStringGenerated(this.EnableServiceLinks) + `,`,
  15752. `}`,
  15753. }, "")
  15754. return s
  15755. }
  15756. func (this *PodStatus) String() string {
  15757. if this == nil {
  15758. return "nil"
  15759. }
  15760. s := strings.Join([]string{`&PodStatus{`,
  15761. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  15762. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "PodCondition", "PodCondition", 1), `&`, ``, 1) + `,`,
  15763. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15764. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15765. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  15766. `PodIP:` + fmt.Sprintf("%v", this.PodIP) + `,`,
  15767. `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  15768. `ContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`,
  15769. `QOSClass:` + fmt.Sprintf("%v", this.QOSClass) + `,`,
  15770. `InitContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.InitContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`,
  15771. `NominatedNodeName:` + fmt.Sprintf("%v", this.NominatedNodeName) + `,`,
  15772. `}`,
  15773. }, "")
  15774. return s
  15775. }
  15776. func (this *PodStatusResult) String() string {
  15777. if this == nil {
  15778. return "nil"
  15779. }
  15780. s := strings.Join([]string{`&PodStatusResult{`,
  15781. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15782. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  15783. `}`,
  15784. }, "")
  15785. return s
  15786. }
  15787. func (this *PodTemplate) String() string {
  15788. if this == nil {
  15789. return "nil"
  15790. }
  15791. s := strings.Join([]string{`&PodTemplate{`,
  15792. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15793. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  15794. `}`,
  15795. }, "")
  15796. return s
  15797. }
  15798. func (this *PodTemplateList) String() string {
  15799. if this == nil {
  15800. return "nil"
  15801. }
  15802. s := strings.Join([]string{`&PodTemplateList{`,
  15803. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15804. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodTemplate", "PodTemplate", 1), `&`, ``, 1) + `,`,
  15805. `}`,
  15806. }, "")
  15807. return s
  15808. }
  15809. func (this *PodTemplateSpec) String() string {
  15810. if this == nil {
  15811. return "nil"
  15812. }
  15813. s := strings.Join([]string{`&PodTemplateSpec{`,
  15814. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15815. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  15816. `}`,
  15817. }, "")
  15818. return s
  15819. }
  15820. func (this *PortworxVolumeSource) String() string {
  15821. if this == nil {
  15822. return "nil"
  15823. }
  15824. s := strings.Join([]string{`&PortworxVolumeSource{`,
  15825. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  15826. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15827. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15828. `}`,
  15829. }, "")
  15830. return s
  15831. }
  15832. func (this *Preconditions) String() string {
  15833. if this == nil {
  15834. return "nil"
  15835. }
  15836. s := strings.Join([]string{`&Preconditions{`,
  15837. `UID:` + valueToStringGenerated(this.UID) + `,`,
  15838. `}`,
  15839. }, "")
  15840. return s
  15841. }
  15842. func (this *PreferAvoidPodsEntry) String() string {
  15843. if this == nil {
  15844. return "nil"
  15845. }
  15846. s := strings.Join([]string{`&PreferAvoidPodsEntry{`,
  15847. `PodSignature:` + strings.Replace(strings.Replace(this.PodSignature.String(), "PodSignature", "PodSignature", 1), `&`, ``, 1) + `,`,
  15848. `EvictionTime:` + strings.Replace(strings.Replace(this.EvictionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15849. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15850. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15851. `}`,
  15852. }, "")
  15853. return s
  15854. }
  15855. func (this *PreferredSchedulingTerm) String() string {
  15856. if this == nil {
  15857. return "nil"
  15858. }
  15859. s := strings.Join([]string{`&PreferredSchedulingTerm{`,
  15860. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  15861. `Preference:` + strings.Replace(strings.Replace(this.Preference.String(), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  15862. `}`,
  15863. }, "")
  15864. return s
  15865. }
  15866. func (this *Probe) String() string {
  15867. if this == nil {
  15868. return "nil"
  15869. }
  15870. s := strings.Join([]string{`&Probe{`,
  15871. `Handler:` + strings.Replace(strings.Replace(this.Handler.String(), "Handler", "Handler", 1), `&`, ``, 1) + `,`,
  15872. `InitialDelaySeconds:` + fmt.Sprintf("%v", this.InitialDelaySeconds) + `,`,
  15873. `TimeoutSeconds:` + fmt.Sprintf("%v", this.TimeoutSeconds) + `,`,
  15874. `PeriodSeconds:` + fmt.Sprintf("%v", this.PeriodSeconds) + `,`,
  15875. `SuccessThreshold:` + fmt.Sprintf("%v", this.SuccessThreshold) + `,`,
  15876. `FailureThreshold:` + fmt.Sprintf("%v", this.FailureThreshold) + `,`,
  15877. `}`,
  15878. }, "")
  15879. return s
  15880. }
  15881. func (this *ProjectedVolumeSource) String() string {
  15882. if this == nil {
  15883. return "nil"
  15884. }
  15885. s := strings.Join([]string{`&ProjectedVolumeSource{`,
  15886. `Sources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Sources), "VolumeProjection", "VolumeProjection", 1), `&`, ``, 1) + `,`,
  15887. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  15888. `}`,
  15889. }, "")
  15890. return s
  15891. }
  15892. func (this *QuobyteVolumeSource) String() string {
  15893. if this == nil {
  15894. return "nil"
  15895. }
  15896. s := strings.Join([]string{`&QuobyteVolumeSource{`,
  15897. `Registry:` + fmt.Sprintf("%v", this.Registry) + `,`,
  15898. `Volume:` + fmt.Sprintf("%v", this.Volume) + `,`,
  15899. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15900. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  15901. `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
  15902. `Tenant:` + fmt.Sprintf("%v", this.Tenant) + `,`,
  15903. `}`,
  15904. }, "")
  15905. return s
  15906. }
  15907. func (this *RBDPersistentVolumeSource) String() string {
  15908. if this == nil {
  15909. return "nil"
  15910. }
  15911. s := strings.Join([]string{`&RBDPersistentVolumeSource{`,
  15912. `CephMonitors:` + fmt.Sprintf("%v", this.CephMonitors) + `,`,
  15913. `RBDImage:` + fmt.Sprintf("%v", this.RBDImage) + `,`,
  15914. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15915. `RBDPool:` + fmt.Sprintf("%v", this.RBDPool) + `,`,
  15916. `RadosUser:` + fmt.Sprintf("%v", this.RadosUser) + `,`,
  15917. `Keyring:` + fmt.Sprintf("%v", this.Keyring) + `,`,
  15918. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  15919. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15920. `}`,
  15921. }, "")
  15922. return s
  15923. }
  15924. func (this *RBDVolumeSource) String() string {
  15925. if this == nil {
  15926. return "nil"
  15927. }
  15928. s := strings.Join([]string{`&RBDVolumeSource{`,
  15929. `CephMonitors:` + fmt.Sprintf("%v", this.CephMonitors) + `,`,
  15930. `RBDImage:` + fmt.Sprintf("%v", this.RBDImage) + `,`,
  15931. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15932. `RBDPool:` + fmt.Sprintf("%v", this.RBDPool) + `,`,
  15933. `RadosUser:` + fmt.Sprintf("%v", this.RadosUser) + `,`,
  15934. `Keyring:` + fmt.Sprintf("%v", this.Keyring) + `,`,
  15935. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  15936. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15937. `}`,
  15938. }, "")
  15939. return s
  15940. }
  15941. func (this *RangeAllocation) String() string {
  15942. if this == nil {
  15943. return "nil"
  15944. }
  15945. s := strings.Join([]string{`&RangeAllocation{`,
  15946. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15947. `Range:` + fmt.Sprintf("%v", this.Range) + `,`,
  15948. `Data:` + valueToStringGenerated(this.Data) + `,`,
  15949. `}`,
  15950. }, "")
  15951. return s
  15952. }
  15953. func (this *ReplicationController) String() string {
  15954. if this == nil {
  15955. return "nil"
  15956. }
  15957. s := strings.Join([]string{`&ReplicationController{`,
  15958. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15959. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicationControllerSpec", "ReplicationControllerSpec", 1), `&`, ``, 1) + `,`,
  15960. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicationControllerStatus", "ReplicationControllerStatus", 1), `&`, ``, 1) + `,`,
  15961. `}`,
  15962. }, "")
  15963. return s
  15964. }
  15965. func (this *ReplicationControllerCondition) String() string {
  15966. if this == nil {
  15967. return "nil"
  15968. }
  15969. s := strings.Join([]string{`&ReplicationControllerCondition{`,
  15970. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15971. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  15972. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15973. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15974. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15975. `}`,
  15976. }, "")
  15977. return s
  15978. }
  15979. func (this *ReplicationControllerList) String() string {
  15980. if this == nil {
  15981. return "nil"
  15982. }
  15983. s := strings.Join([]string{`&ReplicationControllerList{`,
  15984. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15985. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicationController", "ReplicationController", 1), `&`, ``, 1) + `,`,
  15986. `}`,
  15987. }, "")
  15988. return s
  15989. }
  15990. func (this *ReplicationControllerSpec) String() string {
  15991. if this == nil {
  15992. return "nil"
  15993. }
  15994. keysForSelector := make([]string, 0, len(this.Selector))
  15995. for k := range this.Selector {
  15996. keysForSelector = append(keysForSelector, k)
  15997. }
  15998. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  15999. mapStringForSelector := "map[string]string{"
  16000. for _, k := range keysForSelector {
  16001. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  16002. }
  16003. mapStringForSelector += "}"
  16004. s := strings.Join([]string{`&ReplicationControllerSpec{`,
  16005. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  16006. `Selector:` + mapStringForSelector + `,`,
  16007. `Template:` + strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "PodTemplateSpec", 1) + `,`,
  16008. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  16009. `}`,
  16010. }, "")
  16011. return s
  16012. }
  16013. func (this *ReplicationControllerStatus) String() string {
  16014. if this == nil {
  16015. return "nil"
  16016. }
  16017. s := strings.Join([]string{`&ReplicationControllerStatus{`,
  16018. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  16019. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  16020. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  16021. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  16022. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  16023. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicationControllerCondition", "ReplicationControllerCondition", 1), `&`, ``, 1) + `,`,
  16024. `}`,
  16025. }, "")
  16026. return s
  16027. }
  16028. func (this *ResourceFieldSelector) String() string {
  16029. if this == nil {
  16030. return "nil"
  16031. }
  16032. s := strings.Join([]string{`&ResourceFieldSelector{`,
  16033. `ContainerName:` + fmt.Sprintf("%v", this.ContainerName) + `,`,
  16034. `Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
  16035. `Divisor:` + strings.Replace(strings.Replace(this.Divisor.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
  16036. `}`,
  16037. }, "")
  16038. return s
  16039. }
  16040. func (this *ResourceQuota) String() string {
  16041. if this == nil {
  16042. return "nil"
  16043. }
  16044. s := strings.Join([]string{`&ResourceQuota{`,
  16045. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  16046. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ResourceQuotaSpec", "ResourceQuotaSpec", 1), `&`, ``, 1) + `,`,
  16047. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ResourceQuotaStatus", "ResourceQuotaStatus", 1), `&`, ``, 1) + `,`,
  16048. `}`,
  16049. }, "")
  16050. return s
  16051. }
  16052. func (this *ResourceQuotaList) String() string {
  16053. if this == nil {
  16054. return "nil"
  16055. }
  16056. s := strings.Join([]string{`&ResourceQuotaList{`,
  16057. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  16058. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ResourceQuota", "ResourceQuota", 1), `&`, ``, 1) + `,`,
  16059. `}`,
  16060. }, "")
  16061. return s
  16062. }
  16063. func (this *ResourceQuotaSpec) String() string {
  16064. if this == nil {
  16065. return "nil"
  16066. }
  16067. keysForHard := make([]string, 0, len(this.Hard))
  16068. for k := range this.Hard {
  16069. keysForHard = append(keysForHard, string(k))
  16070. }
  16071. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  16072. mapStringForHard := "ResourceList{"
  16073. for _, k := range keysForHard {
  16074. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  16075. }
  16076. mapStringForHard += "}"
  16077. s := strings.Join([]string{`&ResourceQuotaSpec{`,
  16078. `Hard:` + mapStringForHard + `,`,
  16079. `Scopes:` + fmt.Sprintf("%v", this.Scopes) + `,`,
  16080. `ScopeSelector:` + strings.Replace(fmt.Sprintf("%v", this.ScopeSelector), "ScopeSelector", "ScopeSelector", 1) + `,`,
  16081. `}`,
  16082. }, "")
  16083. return s
  16084. }
  16085. func (this *ResourceQuotaStatus) String() string {
  16086. if this == nil {
  16087. return "nil"
  16088. }
  16089. keysForHard := make([]string, 0, len(this.Hard))
  16090. for k := range this.Hard {
  16091. keysForHard = append(keysForHard, string(k))
  16092. }
  16093. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  16094. mapStringForHard := "ResourceList{"
  16095. for _, k := range keysForHard {
  16096. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  16097. }
  16098. mapStringForHard += "}"
  16099. keysForUsed := make([]string, 0, len(this.Used))
  16100. for k := range this.Used {
  16101. keysForUsed = append(keysForUsed, string(k))
  16102. }
  16103. github_com_gogo_protobuf_sortkeys.Strings(keysForUsed)
  16104. mapStringForUsed := "ResourceList{"
  16105. for _, k := range keysForUsed {
  16106. mapStringForUsed += fmt.Sprintf("%v: %v,", k, this.Used[ResourceName(k)])
  16107. }
  16108. mapStringForUsed += "}"
  16109. s := strings.Join([]string{`&ResourceQuotaStatus{`,
  16110. `Hard:` + mapStringForHard + `,`,
  16111. `Used:` + mapStringForUsed + `,`,
  16112. `}`,
  16113. }, "")
  16114. return s
  16115. }
  16116. func (this *ResourceRequirements) String() string {
  16117. if this == nil {
  16118. return "nil"
  16119. }
  16120. keysForLimits := make([]string, 0, len(this.Limits))
  16121. for k := range this.Limits {
  16122. keysForLimits = append(keysForLimits, string(k))
  16123. }
  16124. github_com_gogo_protobuf_sortkeys.Strings(keysForLimits)
  16125. mapStringForLimits := "ResourceList{"
  16126. for _, k := range keysForLimits {
  16127. mapStringForLimits += fmt.Sprintf("%v: %v,", k, this.Limits[ResourceName(k)])
  16128. }
  16129. mapStringForLimits += "}"
  16130. keysForRequests := make([]string, 0, len(this.Requests))
  16131. for k := range this.Requests {
  16132. keysForRequests = append(keysForRequests, string(k))
  16133. }
  16134. github_com_gogo_protobuf_sortkeys.Strings(keysForRequests)
  16135. mapStringForRequests := "ResourceList{"
  16136. for _, k := range keysForRequests {
  16137. mapStringForRequests += fmt.Sprintf("%v: %v,", k, this.Requests[ResourceName(k)])
  16138. }
  16139. mapStringForRequests += "}"
  16140. s := strings.Join([]string{`&ResourceRequirements{`,
  16141. `Limits:` + mapStringForLimits + `,`,
  16142. `Requests:` + mapStringForRequests + `,`,
  16143. `}`,
  16144. }, "")
  16145. return s
  16146. }
  16147. func (this *SELinuxOptions) String() string {
  16148. if this == nil {
  16149. return "nil"
  16150. }
  16151. s := strings.Join([]string{`&SELinuxOptions{`,
  16152. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  16153. `Role:` + fmt.Sprintf("%v", this.Role) + `,`,
  16154. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  16155. `Level:` + fmt.Sprintf("%v", this.Level) + `,`,
  16156. `}`,
  16157. }, "")
  16158. return s
  16159. }
  16160. func (this *ScaleIOPersistentVolumeSource) String() string {
  16161. if this == nil {
  16162. return "nil"
  16163. }
  16164. s := strings.Join([]string{`&ScaleIOPersistentVolumeSource{`,
  16165. `Gateway:` + fmt.Sprintf("%v", this.Gateway) + `,`,
  16166. `System:` + fmt.Sprintf("%v", this.System) + `,`,
  16167. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  16168. `SSLEnabled:` + fmt.Sprintf("%v", this.SSLEnabled) + `,`,
  16169. `ProtectionDomain:` + fmt.Sprintf("%v", this.ProtectionDomain) + `,`,
  16170. `StoragePool:` + fmt.Sprintf("%v", this.StoragePool) + `,`,
  16171. `StorageMode:` + fmt.Sprintf("%v", this.StorageMode) + `,`,
  16172. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  16173. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  16174. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  16175. `}`,
  16176. }, "")
  16177. return s
  16178. }
  16179. func (this *ScaleIOVolumeSource) String() string {
  16180. if this == nil {
  16181. return "nil"
  16182. }
  16183. s := strings.Join([]string{`&ScaleIOVolumeSource{`,
  16184. `Gateway:` + fmt.Sprintf("%v", this.Gateway) + `,`,
  16185. `System:` + fmt.Sprintf("%v", this.System) + `,`,
  16186. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  16187. `SSLEnabled:` + fmt.Sprintf("%v", this.SSLEnabled) + `,`,
  16188. `ProtectionDomain:` + fmt.Sprintf("%v", this.ProtectionDomain) + `,`,
  16189. `StoragePool:` + fmt.Sprintf("%v", this.StoragePool) + `,`,
  16190. `StorageMode:` + fmt.Sprintf("%v", this.StorageMode) + `,`,
  16191. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  16192. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  16193. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  16194. `}`,
  16195. }, "")
  16196. return s
  16197. }
  16198. func (this *ScopeSelector) String() string {
  16199. if this == nil {
  16200. return "nil"
  16201. }
  16202. s := strings.Join([]string{`&ScopeSelector{`,
  16203. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "ScopedResourceSelectorRequirement", "ScopedResourceSelectorRequirement", 1), `&`, ``, 1) + `,`,
  16204. `}`,
  16205. }, "")
  16206. return s
  16207. }
  16208. func (this *ScopedResourceSelectorRequirement) String() string {
  16209. if this == nil {
  16210. return "nil"
  16211. }
  16212. s := strings.Join([]string{`&ScopedResourceSelectorRequirement{`,
  16213. `ScopeName:` + fmt.Sprintf("%v", this.ScopeName) + `,`,
  16214. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  16215. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  16216. `}`,
  16217. }, "")
  16218. return s
  16219. }
  16220. func (this *Secret) String() string {
  16221. if this == nil {
  16222. return "nil"
  16223. }
  16224. keysForData := make([]string, 0, len(this.Data))
  16225. for k := range this.Data {
  16226. keysForData = append(keysForData, k)
  16227. }
  16228. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  16229. mapStringForData := "map[string][]byte{"
  16230. for _, k := range keysForData {
  16231. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  16232. }
  16233. mapStringForData += "}"
  16234. keysForStringData := make([]string, 0, len(this.StringData))
  16235. for k := range this.StringData {
  16236. keysForStringData = append(keysForStringData, k)
  16237. }
  16238. github_com_gogo_protobuf_sortkeys.Strings(keysForStringData)
  16239. mapStringForStringData := "map[string]string{"
  16240. for _, k := range keysForStringData {
  16241. mapStringForStringData += fmt.Sprintf("%v: %v,", k, this.StringData[k])
  16242. }
  16243. mapStringForStringData += "}"
  16244. s := strings.Join([]string{`&Secret{`,
  16245. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  16246. `Data:` + mapStringForData + `,`,
  16247. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  16248. `StringData:` + mapStringForStringData + `,`,
  16249. `}`,
  16250. }, "")
  16251. return s
  16252. }
  16253. func (this *SecretEnvSource) String() string {
  16254. if this == nil {
  16255. return "nil"
  16256. }
  16257. s := strings.Join([]string{`&SecretEnvSource{`,
  16258. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  16259. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  16260. `}`,
  16261. }, "")
  16262. return s
  16263. }
  16264. func (this *SecretKeySelector) String() string {
  16265. if this == nil {
  16266. return "nil"
  16267. }
  16268. s := strings.Join([]string{`&SecretKeySelector{`,
  16269. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  16270. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  16271. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  16272. `}`,
  16273. }, "")
  16274. return s
  16275. }
  16276. func (this *SecretList) String() string {
  16277. if this == nil {
  16278. return "nil"
  16279. }
  16280. s := strings.Join([]string{`&SecretList{`,
  16281. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  16282. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Secret", "Secret", 1), `&`, ``, 1) + `,`,
  16283. `}`,
  16284. }, "")
  16285. return s
  16286. }
  16287. func (this *SecretProjection) String() string {
  16288. if this == nil {
  16289. return "nil"
  16290. }
  16291. s := strings.Join([]string{`&SecretProjection{`,
  16292. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  16293. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  16294. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  16295. `}`,
  16296. }, "")
  16297. return s
  16298. }
  16299. func (this *SecretReference) String() string {
  16300. if this == nil {
  16301. return "nil"
  16302. }
  16303. s := strings.Join([]string{`&SecretReference{`,
  16304. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16305. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  16306. `}`,
  16307. }, "")
  16308. return s
  16309. }
  16310. func (this *SecretVolumeSource) String() string {
  16311. if this == nil {
  16312. return "nil"
  16313. }
  16314. s := strings.Join([]string{`&SecretVolumeSource{`,
  16315. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  16316. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  16317. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  16318. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  16319. `}`,
  16320. }, "")
  16321. return s
  16322. }
  16323. func (this *SecurityContext) String() string {
  16324. if this == nil {
  16325. return "nil"
  16326. }
  16327. s := strings.Join([]string{`&SecurityContext{`,
  16328. `Capabilities:` + strings.Replace(fmt.Sprintf("%v", this.Capabilities), "Capabilities", "Capabilities", 1) + `,`,
  16329. `Privileged:` + valueToStringGenerated(this.Privileged) + `,`,
  16330. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  16331. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  16332. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  16333. `ReadOnlyRootFilesystem:` + valueToStringGenerated(this.ReadOnlyRootFilesystem) + `,`,
  16334. `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
  16335. `RunAsGroup:` + valueToStringGenerated(this.RunAsGroup) + `,`,
  16336. `ProcMount:` + valueToStringGenerated(this.ProcMount) + `,`,
  16337. `}`,
  16338. }, "")
  16339. return s
  16340. }
  16341. func (this *SerializedReference) String() string {
  16342. if this == nil {
  16343. return "nil"
  16344. }
  16345. s := strings.Join([]string{`&SerializedReference{`,
  16346. `Reference:` + strings.Replace(strings.Replace(this.Reference.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  16347. `}`,
  16348. }, "")
  16349. return s
  16350. }
  16351. func (this *Service) String() string {
  16352. if this == nil {
  16353. return "nil"
  16354. }
  16355. s := strings.Join([]string{`&Service{`,
  16356. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  16357. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ServiceSpec", "ServiceSpec", 1), `&`, ``, 1) + `,`,
  16358. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ServiceStatus", "ServiceStatus", 1), `&`, ``, 1) + `,`,
  16359. `}`,
  16360. }, "")
  16361. return s
  16362. }
  16363. func (this *ServiceAccount) String() string {
  16364. if this == nil {
  16365. return "nil"
  16366. }
  16367. s := strings.Join([]string{`&ServiceAccount{`,
  16368. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  16369. `Secrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Secrets), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  16370. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  16371. `AutomountServiceAccountToken:` + valueToStringGenerated(this.AutomountServiceAccountToken) + `,`,
  16372. `}`,
  16373. }, "")
  16374. return s
  16375. }
  16376. func (this *ServiceAccountList) String() string {
  16377. if this == nil {
  16378. return "nil"
  16379. }
  16380. s := strings.Join([]string{`&ServiceAccountList{`,
  16381. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  16382. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ServiceAccount", "ServiceAccount", 1), `&`, ``, 1) + `,`,
  16383. `}`,
  16384. }, "")
  16385. return s
  16386. }
  16387. func (this *ServiceAccountTokenProjection) String() string {
  16388. if this == nil {
  16389. return "nil"
  16390. }
  16391. s := strings.Join([]string{`&ServiceAccountTokenProjection{`,
  16392. `Audience:` + fmt.Sprintf("%v", this.Audience) + `,`,
  16393. `ExpirationSeconds:` + valueToStringGenerated(this.ExpirationSeconds) + `,`,
  16394. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  16395. `}`,
  16396. }, "")
  16397. return s
  16398. }
  16399. func (this *ServiceList) String() string {
  16400. if this == nil {
  16401. return "nil"
  16402. }
  16403. s := strings.Join([]string{`&ServiceList{`,
  16404. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  16405. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Service", "Service", 1), `&`, ``, 1) + `,`,
  16406. `}`,
  16407. }, "")
  16408. return s
  16409. }
  16410. func (this *ServicePort) String() string {
  16411. if this == nil {
  16412. return "nil"
  16413. }
  16414. s := strings.Join([]string{`&ServicePort{`,
  16415. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16416. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  16417. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  16418. `TargetPort:` + strings.Replace(strings.Replace(this.TargetPort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  16419. `NodePort:` + fmt.Sprintf("%v", this.NodePort) + `,`,
  16420. `}`,
  16421. }, "")
  16422. return s
  16423. }
  16424. func (this *ServiceProxyOptions) String() string {
  16425. if this == nil {
  16426. return "nil"
  16427. }
  16428. s := strings.Join([]string{`&ServiceProxyOptions{`,
  16429. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  16430. `}`,
  16431. }, "")
  16432. return s
  16433. }
  16434. func (this *ServiceSpec) String() string {
  16435. if this == nil {
  16436. return "nil"
  16437. }
  16438. keysForSelector := make([]string, 0, len(this.Selector))
  16439. for k := range this.Selector {
  16440. keysForSelector = append(keysForSelector, k)
  16441. }
  16442. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  16443. mapStringForSelector := "map[string]string{"
  16444. for _, k := range keysForSelector {
  16445. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  16446. }
  16447. mapStringForSelector += "}"
  16448. s := strings.Join([]string{`&ServiceSpec{`,
  16449. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ServicePort", "ServicePort", 1), `&`, ``, 1) + `,`,
  16450. `Selector:` + mapStringForSelector + `,`,
  16451. `ClusterIP:` + fmt.Sprintf("%v", this.ClusterIP) + `,`,
  16452. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  16453. `ExternalIPs:` + fmt.Sprintf("%v", this.ExternalIPs) + `,`,
  16454. `SessionAffinity:` + fmt.Sprintf("%v", this.SessionAffinity) + `,`,
  16455. `LoadBalancerIP:` + fmt.Sprintf("%v", this.LoadBalancerIP) + `,`,
  16456. `LoadBalancerSourceRanges:` + fmt.Sprintf("%v", this.LoadBalancerSourceRanges) + `,`,
  16457. `ExternalName:` + fmt.Sprintf("%v", this.ExternalName) + `,`,
  16458. `ExternalTrafficPolicy:` + fmt.Sprintf("%v", this.ExternalTrafficPolicy) + `,`,
  16459. `HealthCheckNodePort:` + fmt.Sprintf("%v", this.HealthCheckNodePort) + `,`,
  16460. `PublishNotReadyAddresses:` + fmt.Sprintf("%v", this.PublishNotReadyAddresses) + `,`,
  16461. `SessionAffinityConfig:` + strings.Replace(fmt.Sprintf("%v", this.SessionAffinityConfig), "SessionAffinityConfig", "SessionAffinityConfig", 1) + `,`,
  16462. `}`,
  16463. }, "")
  16464. return s
  16465. }
  16466. func (this *ServiceStatus) String() string {
  16467. if this == nil {
  16468. return "nil"
  16469. }
  16470. s := strings.Join([]string{`&ServiceStatus{`,
  16471. `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
  16472. `}`,
  16473. }, "")
  16474. return s
  16475. }
  16476. func (this *SessionAffinityConfig) String() string {
  16477. if this == nil {
  16478. return "nil"
  16479. }
  16480. s := strings.Join([]string{`&SessionAffinityConfig{`,
  16481. `ClientIP:` + strings.Replace(fmt.Sprintf("%v", this.ClientIP), "ClientIPConfig", "ClientIPConfig", 1) + `,`,
  16482. `}`,
  16483. }, "")
  16484. return s
  16485. }
  16486. func (this *StorageOSPersistentVolumeSource) String() string {
  16487. if this == nil {
  16488. return "nil"
  16489. }
  16490. s := strings.Join([]string{`&StorageOSPersistentVolumeSource{`,
  16491. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  16492. `VolumeNamespace:` + fmt.Sprintf("%v", this.VolumeNamespace) + `,`,
  16493. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  16494. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  16495. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "ObjectReference", "ObjectReference", 1) + `,`,
  16496. `}`,
  16497. }, "")
  16498. return s
  16499. }
  16500. func (this *StorageOSVolumeSource) String() string {
  16501. if this == nil {
  16502. return "nil"
  16503. }
  16504. s := strings.Join([]string{`&StorageOSVolumeSource{`,
  16505. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  16506. `VolumeNamespace:` + fmt.Sprintf("%v", this.VolumeNamespace) + `,`,
  16507. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  16508. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  16509. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  16510. `}`,
  16511. }, "")
  16512. return s
  16513. }
  16514. func (this *Sysctl) String() string {
  16515. if this == nil {
  16516. return "nil"
  16517. }
  16518. s := strings.Join([]string{`&Sysctl{`,
  16519. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16520. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  16521. `}`,
  16522. }, "")
  16523. return s
  16524. }
  16525. func (this *TCPSocketAction) String() string {
  16526. if this == nil {
  16527. return "nil"
  16528. }
  16529. s := strings.Join([]string{`&TCPSocketAction{`,
  16530. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  16531. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  16532. `}`,
  16533. }, "")
  16534. return s
  16535. }
  16536. func (this *Taint) String() string {
  16537. if this == nil {
  16538. return "nil"
  16539. }
  16540. s := strings.Join([]string{`&Taint{`,
  16541. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  16542. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  16543. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  16544. `TimeAdded:` + strings.Replace(fmt.Sprintf("%v", this.TimeAdded), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  16545. `}`,
  16546. }, "")
  16547. return s
  16548. }
  16549. func (this *Toleration) String() string {
  16550. if this == nil {
  16551. return "nil"
  16552. }
  16553. s := strings.Join([]string{`&Toleration{`,
  16554. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  16555. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  16556. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  16557. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  16558. `TolerationSeconds:` + valueToStringGenerated(this.TolerationSeconds) + `,`,
  16559. `}`,
  16560. }, "")
  16561. return s
  16562. }
  16563. func (this *TopologySelectorLabelRequirement) String() string {
  16564. if this == nil {
  16565. return "nil"
  16566. }
  16567. s := strings.Join([]string{`&TopologySelectorLabelRequirement{`,
  16568. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  16569. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  16570. `}`,
  16571. }, "")
  16572. return s
  16573. }
  16574. func (this *TopologySelectorTerm) String() string {
  16575. if this == nil {
  16576. return "nil"
  16577. }
  16578. s := strings.Join([]string{`&TopologySelectorTerm{`,
  16579. `MatchLabelExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchLabelExpressions), "TopologySelectorLabelRequirement", "TopologySelectorLabelRequirement", 1), `&`, ``, 1) + `,`,
  16580. `}`,
  16581. }, "")
  16582. return s
  16583. }
  16584. func (this *TypedLocalObjectReference) String() string {
  16585. if this == nil {
  16586. return "nil"
  16587. }
  16588. s := strings.Join([]string{`&TypedLocalObjectReference{`,
  16589. `APIGroup:` + valueToStringGenerated(this.APIGroup) + `,`,
  16590. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  16591. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16592. `}`,
  16593. }, "")
  16594. return s
  16595. }
  16596. func (this *Volume) String() string {
  16597. if this == nil {
  16598. return "nil"
  16599. }
  16600. s := strings.Join([]string{`&Volume{`,
  16601. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16602. `VolumeSource:` + strings.Replace(strings.Replace(this.VolumeSource.String(), "VolumeSource", "VolumeSource", 1), `&`, ``, 1) + `,`,
  16603. `}`,
  16604. }, "")
  16605. return s
  16606. }
  16607. func (this *VolumeDevice) String() string {
  16608. if this == nil {
  16609. return "nil"
  16610. }
  16611. s := strings.Join([]string{`&VolumeDevice{`,
  16612. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16613. `DevicePath:` + fmt.Sprintf("%v", this.DevicePath) + `,`,
  16614. `}`,
  16615. }, "")
  16616. return s
  16617. }
  16618. func (this *VolumeMount) String() string {
  16619. if this == nil {
  16620. return "nil"
  16621. }
  16622. s := strings.Join([]string{`&VolumeMount{`,
  16623. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16624. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  16625. `MountPath:` + fmt.Sprintf("%v", this.MountPath) + `,`,
  16626. `SubPath:` + fmt.Sprintf("%v", this.SubPath) + `,`,
  16627. `MountPropagation:` + valueToStringGenerated(this.MountPropagation) + `,`,
  16628. `SubPathExpr:` + fmt.Sprintf("%v", this.SubPathExpr) + `,`,
  16629. `}`,
  16630. }, "")
  16631. return s
  16632. }
  16633. func (this *VolumeNodeAffinity) String() string {
  16634. if this == nil {
  16635. return "nil"
  16636. }
  16637. s := strings.Join([]string{`&VolumeNodeAffinity{`,
  16638. `Required:` + strings.Replace(fmt.Sprintf("%v", this.Required), "NodeSelector", "NodeSelector", 1) + `,`,
  16639. `}`,
  16640. }, "")
  16641. return s
  16642. }
  16643. func (this *VolumeProjection) String() string {
  16644. if this == nil {
  16645. return "nil"
  16646. }
  16647. s := strings.Join([]string{`&VolumeProjection{`,
  16648. `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "SecretProjection", "SecretProjection", 1) + `,`,
  16649. `DownwardAPI:` + strings.Replace(fmt.Sprintf("%v", this.DownwardAPI), "DownwardAPIProjection", "DownwardAPIProjection", 1) + `,`,
  16650. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapProjection", "ConfigMapProjection", 1) + `,`,
  16651. `ServiceAccountToken:` + strings.Replace(fmt.Sprintf("%v", this.ServiceAccountToken), "ServiceAccountTokenProjection", "ServiceAccountTokenProjection", 1) + `,`,
  16652. `}`,
  16653. }, "")
  16654. return s
  16655. }
  16656. func (this *VolumeSource) String() string {
  16657. if this == nil {
  16658. return "nil"
  16659. }
  16660. s := strings.Join([]string{`&VolumeSource{`,
  16661. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  16662. `EmptyDir:` + strings.Replace(fmt.Sprintf("%v", this.EmptyDir), "EmptyDirVolumeSource", "EmptyDirVolumeSource", 1) + `,`,
  16663. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  16664. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  16665. `GitRepo:` + strings.Replace(fmt.Sprintf("%v", this.GitRepo), "GitRepoVolumeSource", "GitRepoVolumeSource", 1) + `,`,
  16666. `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "SecretVolumeSource", "SecretVolumeSource", 1) + `,`,
  16667. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  16668. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIVolumeSource", "ISCSIVolumeSource", 1) + `,`,
  16669. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsVolumeSource", "GlusterfsVolumeSource", 1) + `,`,
  16670. `PersistentVolumeClaim:` + strings.Replace(fmt.Sprintf("%v", this.PersistentVolumeClaim), "PersistentVolumeClaimVolumeSource", "PersistentVolumeClaimVolumeSource", 1) + `,`,
  16671. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDVolumeSource", "RBDVolumeSource", 1) + `,`,
  16672. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexVolumeSource", "FlexVolumeSource", 1) + `,`,
  16673. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderVolumeSource", "CinderVolumeSource", 1) + `,`,
  16674. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSVolumeSource", "CephFSVolumeSource", 1) + `,`,
  16675. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  16676. `DownwardAPI:` + strings.Replace(fmt.Sprintf("%v", this.DownwardAPI), "DownwardAPIVolumeSource", "DownwardAPIVolumeSource", 1) + `,`,
  16677. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  16678. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFileVolumeSource", "AzureFileVolumeSource", 1) + `,`,
  16679. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapVolumeSource", "ConfigMapVolumeSource", 1) + `,`,
  16680. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  16681. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  16682. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  16683. `PhotonPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.PhotonPersistentDisk), "PhotonPersistentDiskVolumeSource", "PhotonPersistentDiskVolumeSource", 1) + `,`,
  16684. `PortworxVolume:` + strings.Replace(fmt.Sprintf("%v", this.PortworxVolume), "PortworxVolumeSource", "PortworxVolumeSource", 1) + `,`,
  16685. `ScaleIO:` + strings.Replace(fmt.Sprintf("%v", this.ScaleIO), "ScaleIOVolumeSource", "ScaleIOVolumeSource", 1) + `,`,
  16686. `Projected:` + strings.Replace(fmt.Sprintf("%v", this.Projected), "ProjectedVolumeSource", "ProjectedVolumeSource", 1) + `,`,
  16687. `StorageOS:` + strings.Replace(fmt.Sprintf("%v", this.StorageOS), "StorageOSVolumeSource", "StorageOSVolumeSource", 1) + `,`,
  16688. `CSI:` + strings.Replace(fmt.Sprintf("%v", this.CSI), "CSIVolumeSource", "CSIVolumeSource", 1) + `,`,
  16689. `}`,
  16690. }, "")
  16691. return s
  16692. }
  16693. func (this *VsphereVirtualDiskVolumeSource) String() string {
  16694. if this == nil {
  16695. return "nil"
  16696. }
  16697. s := strings.Join([]string{`&VsphereVirtualDiskVolumeSource{`,
  16698. `VolumePath:` + fmt.Sprintf("%v", this.VolumePath) + `,`,
  16699. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  16700. `StoragePolicyName:` + fmt.Sprintf("%v", this.StoragePolicyName) + `,`,
  16701. `StoragePolicyID:` + fmt.Sprintf("%v", this.StoragePolicyID) + `,`,
  16702. `}`,
  16703. }, "")
  16704. return s
  16705. }
  16706. func (this *WeightedPodAffinityTerm) String() string {
  16707. if this == nil {
  16708. return "nil"
  16709. }
  16710. s := strings.Join([]string{`&WeightedPodAffinityTerm{`,
  16711. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  16712. `PodAffinityTerm:` + strings.Replace(strings.Replace(this.PodAffinityTerm.String(), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  16713. `}`,
  16714. }, "")
  16715. return s
  16716. }
  16717. func valueToStringGenerated(v interface{}) string {
  16718. rv := reflect.ValueOf(v)
  16719. if rv.IsNil() {
  16720. return "nil"
  16721. }
  16722. pv := reflect.Indirect(rv).Interface()
  16723. return fmt.Sprintf("*%v", pv)
  16724. }
  16725. func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(dAtA []byte) error {
  16726. l := len(dAtA)
  16727. iNdEx := 0
  16728. for iNdEx < l {
  16729. preIndex := iNdEx
  16730. var wire uint64
  16731. for shift := uint(0); ; shift += 7 {
  16732. if shift >= 64 {
  16733. return ErrIntOverflowGenerated
  16734. }
  16735. if iNdEx >= l {
  16736. return io.ErrUnexpectedEOF
  16737. }
  16738. b := dAtA[iNdEx]
  16739. iNdEx++
  16740. wire |= (uint64(b) & 0x7F) << shift
  16741. if b < 0x80 {
  16742. break
  16743. }
  16744. }
  16745. fieldNum := int32(wire >> 3)
  16746. wireType := int(wire & 0x7)
  16747. if wireType == 4 {
  16748. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: wiretype end group for non-group")
  16749. }
  16750. if fieldNum <= 0 {
  16751. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  16752. }
  16753. switch fieldNum {
  16754. case 1:
  16755. if wireType != 2 {
  16756. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  16757. }
  16758. var stringLen uint64
  16759. for shift := uint(0); ; shift += 7 {
  16760. if shift >= 64 {
  16761. return ErrIntOverflowGenerated
  16762. }
  16763. if iNdEx >= l {
  16764. return io.ErrUnexpectedEOF
  16765. }
  16766. b := dAtA[iNdEx]
  16767. iNdEx++
  16768. stringLen |= (uint64(b) & 0x7F) << shift
  16769. if b < 0x80 {
  16770. break
  16771. }
  16772. }
  16773. intStringLen := int(stringLen)
  16774. if intStringLen < 0 {
  16775. return ErrInvalidLengthGenerated
  16776. }
  16777. postIndex := iNdEx + intStringLen
  16778. if postIndex > l {
  16779. return io.ErrUnexpectedEOF
  16780. }
  16781. m.VolumeID = string(dAtA[iNdEx:postIndex])
  16782. iNdEx = postIndex
  16783. case 2:
  16784. if wireType != 2 {
  16785. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  16786. }
  16787. var stringLen uint64
  16788. for shift := uint(0); ; shift += 7 {
  16789. if shift >= 64 {
  16790. return ErrIntOverflowGenerated
  16791. }
  16792. if iNdEx >= l {
  16793. return io.ErrUnexpectedEOF
  16794. }
  16795. b := dAtA[iNdEx]
  16796. iNdEx++
  16797. stringLen |= (uint64(b) & 0x7F) << shift
  16798. if b < 0x80 {
  16799. break
  16800. }
  16801. }
  16802. intStringLen := int(stringLen)
  16803. if intStringLen < 0 {
  16804. return ErrInvalidLengthGenerated
  16805. }
  16806. postIndex := iNdEx + intStringLen
  16807. if postIndex > l {
  16808. return io.ErrUnexpectedEOF
  16809. }
  16810. m.FSType = string(dAtA[iNdEx:postIndex])
  16811. iNdEx = postIndex
  16812. case 3:
  16813. if wireType != 0 {
  16814. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  16815. }
  16816. m.Partition = 0
  16817. for shift := uint(0); ; shift += 7 {
  16818. if shift >= 64 {
  16819. return ErrIntOverflowGenerated
  16820. }
  16821. if iNdEx >= l {
  16822. return io.ErrUnexpectedEOF
  16823. }
  16824. b := dAtA[iNdEx]
  16825. iNdEx++
  16826. m.Partition |= (int32(b) & 0x7F) << shift
  16827. if b < 0x80 {
  16828. break
  16829. }
  16830. }
  16831. case 4:
  16832. if wireType != 0 {
  16833. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  16834. }
  16835. var v int
  16836. for shift := uint(0); ; shift += 7 {
  16837. if shift >= 64 {
  16838. return ErrIntOverflowGenerated
  16839. }
  16840. if iNdEx >= l {
  16841. return io.ErrUnexpectedEOF
  16842. }
  16843. b := dAtA[iNdEx]
  16844. iNdEx++
  16845. v |= (int(b) & 0x7F) << shift
  16846. if b < 0x80 {
  16847. break
  16848. }
  16849. }
  16850. m.ReadOnly = bool(v != 0)
  16851. default:
  16852. iNdEx = preIndex
  16853. skippy, err := skipGenerated(dAtA[iNdEx:])
  16854. if err != nil {
  16855. return err
  16856. }
  16857. if skippy < 0 {
  16858. return ErrInvalidLengthGenerated
  16859. }
  16860. if (iNdEx + skippy) > l {
  16861. return io.ErrUnexpectedEOF
  16862. }
  16863. iNdEx += skippy
  16864. }
  16865. }
  16866. if iNdEx > l {
  16867. return io.ErrUnexpectedEOF
  16868. }
  16869. return nil
  16870. }
  16871. func (m *Affinity) Unmarshal(dAtA []byte) error {
  16872. l := len(dAtA)
  16873. iNdEx := 0
  16874. for iNdEx < l {
  16875. preIndex := iNdEx
  16876. var wire uint64
  16877. for shift := uint(0); ; shift += 7 {
  16878. if shift >= 64 {
  16879. return ErrIntOverflowGenerated
  16880. }
  16881. if iNdEx >= l {
  16882. return io.ErrUnexpectedEOF
  16883. }
  16884. b := dAtA[iNdEx]
  16885. iNdEx++
  16886. wire |= (uint64(b) & 0x7F) << shift
  16887. if b < 0x80 {
  16888. break
  16889. }
  16890. }
  16891. fieldNum := int32(wire >> 3)
  16892. wireType := int(wire & 0x7)
  16893. if wireType == 4 {
  16894. return fmt.Errorf("proto: Affinity: wiretype end group for non-group")
  16895. }
  16896. if fieldNum <= 0 {
  16897. return fmt.Errorf("proto: Affinity: illegal tag %d (wire type %d)", fieldNum, wire)
  16898. }
  16899. switch fieldNum {
  16900. case 1:
  16901. if wireType != 2 {
  16902. return fmt.Errorf("proto: wrong wireType = %d for field NodeAffinity", wireType)
  16903. }
  16904. var msglen int
  16905. for shift := uint(0); ; shift += 7 {
  16906. if shift >= 64 {
  16907. return ErrIntOverflowGenerated
  16908. }
  16909. if iNdEx >= l {
  16910. return io.ErrUnexpectedEOF
  16911. }
  16912. b := dAtA[iNdEx]
  16913. iNdEx++
  16914. msglen |= (int(b) & 0x7F) << shift
  16915. if b < 0x80 {
  16916. break
  16917. }
  16918. }
  16919. if msglen < 0 {
  16920. return ErrInvalidLengthGenerated
  16921. }
  16922. postIndex := iNdEx + msglen
  16923. if postIndex > l {
  16924. return io.ErrUnexpectedEOF
  16925. }
  16926. if m.NodeAffinity == nil {
  16927. m.NodeAffinity = &NodeAffinity{}
  16928. }
  16929. if err := m.NodeAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  16930. return err
  16931. }
  16932. iNdEx = postIndex
  16933. case 2:
  16934. if wireType != 2 {
  16935. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinity", wireType)
  16936. }
  16937. var msglen int
  16938. for shift := uint(0); ; shift += 7 {
  16939. if shift >= 64 {
  16940. return ErrIntOverflowGenerated
  16941. }
  16942. if iNdEx >= l {
  16943. return io.ErrUnexpectedEOF
  16944. }
  16945. b := dAtA[iNdEx]
  16946. iNdEx++
  16947. msglen |= (int(b) & 0x7F) << shift
  16948. if b < 0x80 {
  16949. break
  16950. }
  16951. }
  16952. if msglen < 0 {
  16953. return ErrInvalidLengthGenerated
  16954. }
  16955. postIndex := iNdEx + msglen
  16956. if postIndex > l {
  16957. return io.ErrUnexpectedEOF
  16958. }
  16959. if m.PodAffinity == nil {
  16960. m.PodAffinity = &PodAffinity{}
  16961. }
  16962. if err := m.PodAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  16963. return err
  16964. }
  16965. iNdEx = postIndex
  16966. case 3:
  16967. if wireType != 2 {
  16968. return fmt.Errorf("proto: wrong wireType = %d for field PodAntiAffinity", wireType)
  16969. }
  16970. var msglen int
  16971. for shift := uint(0); ; shift += 7 {
  16972. if shift >= 64 {
  16973. return ErrIntOverflowGenerated
  16974. }
  16975. if iNdEx >= l {
  16976. return io.ErrUnexpectedEOF
  16977. }
  16978. b := dAtA[iNdEx]
  16979. iNdEx++
  16980. msglen |= (int(b) & 0x7F) << shift
  16981. if b < 0x80 {
  16982. break
  16983. }
  16984. }
  16985. if msglen < 0 {
  16986. return ErrInvalidLengthGenerated
  16987. }
  16988. postIndex := iNdEx + msglen
  16989. if postIndex > l {
  16990. return io.ErrUnexpectedEOF
  16991. }
  16992. if m.PodAntiAffinity == nil {
  16993. m.PodAntiAffinity = &PodAntiAffinity{}
  16994. }
  16995. if err := m.PodAntiAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  16996. return err
  16997. }
  16998. iNdEx = postIndex
  16999. default:
  17000. iNdEx = preIndex
  17001. skippy, err := skipGenerated(dAtA[iNdEx:])
  17002. if err != nil {
  17003. return err
  17004. }
  17005. if skippy < 0 {
  17006. return ErrInvalidLengthGenerated
  17007. }
  17008. if (iNdEx + skippy) > l {
  17009. return io.ErrUnexpectedEOF
  17010. }
  17011. iNdEx += skippy
  17012. }
  17013. }
  17014. if iNdEx > l {
  17015. return io.ErrUnexpectedEOF
  17016. }
  17017. return nil
  17018. }
  17019. func (m *AttachedVolume) Unmarshal(dAtA []byte) error {
  17020. l := len(dAtA)
  17021. iNdEx := 0
  17022. for iNdEx < l {
  17023. preIndex := iNdEx
  17024. var wire uint64
  17025. for shift := uint(0); ; shift += 7 {
  17026. if shift >= 64 {
  17027. return ErrIntOverflowGenerated
  17028. }
  17029. if iNdEx >= l {
  17030. return io.ErrUnexpectedEOF
  17031. }
  17032. b := dAtA[iNdEx]
  17033. iNdEx++
  17034. wire |= (uint64(b) & 0x7F) << shift
  17035. if b < 0x80 {
  17036. break
  17037. }
  17038. }
  17039. fieldNum := int32(wire >> 3)
  17040. wireType := int(wire & 0x7)
  17041. if wireType == 4 {
  17042. return fmt.Errorf("proto: AttachedVolume: wiretype end group for non-group")
  17043. }
  17044. if fieldNum <= 0 {
  17045. return fmt.Errorf("proto: AttachedVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  17046. }
  17047. switch fieldNum {
  17048. case 1:
  17049. if wireType != 2 {
  17050. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  17051. }
  17052. var stringLen uint64
  17053. for shift := uint(0); ; shift += 7 {
  17054. if shift >= 64 {
  17055. return ErrIntOverflowGenerated
  17056. }
  17057. if iNdEx >= l {
  17058. return io.ErrUnexpectedEOF
  17059. }
  17060. b := dAtA[iNdEx]
  17061. iNdEx++
  17062. stringLen |= (uint64(b) & 0x7F) << shift
  17063. if b < 0x80 {
  17064. break
  17065. }
  17066. }
  17067. intStringLen := int(stringLen)
  17068. if intStringLen < 0 {
  17069. return ErrInvalidLengthGenerated
  17070. }
  17071. postIndex := iNdEx + intStringLen
  17072. if postIndex > l {
  17073. return io.ErrUnexpectedEOF
  17074. }
  17075. m.Name = UniqueVolumeName(dAtA[iNdEx:postIndex])
  17076. iNdEx = postIndex
  17077. case 2:
  17078. if wireType != 2 {
  17079. return fmt.Errorf("proto: wrong wireType = %d for field DevicePath", wireType)
  17080. }
  17081. var stringLen uint64
  17082. for shift := uint(0); ; shift += 7 {
  17083. if shift >= 64 {
  17084. return ErrIntOverflowGenerated
  17085. }
  17086. if iNdEx >= l {
  17087. return io.ErrUnexpectedEOF
  17088. }
  17089. b := dAtA[iNdEx]
  17090. iNdEx++
  17091. stringLen |= (uint64(b) & 0x7F) << shift
  17092. if b < 0x80 {
  17093. break
  17094. }
  17095. }
  17096. intStringLen := int(stringLen)
  17097. if intStringLen < 0 {
  17098. return ErrInvalidLengthGenerated
  17099. }
  17100. postIndex := iNdEx + intStringLen
  17101. if postIndex > l {
  17102. return io.ErrUnexpectedEOF
  17103. }
  17104. m.DevicePath = string(dAtA[iNdEx:postIndex])
  17105. iNdEx = postIndex
  17106. default:
  17107. iNdEx = preIndex
  17108. skippy, err := skipGenerated(dAtA[iNdEx:])
  17109. if err != nil {
  17110. return err
  17111. }
  17112. if skippy < 0 {
  17113. return ErrInvalidLengthGenerated
  17114. }
  17115. if (iNdEx + skippy) > l {
  17116. return io.ErrUnexpectedEOF
  17117. }
  17118. iNdEx += skippy
  17119. }
  17120. }
  17121. if iNdEx > l {
  17122. return io.ErrUnexpectedEOF
  17123. }
  17124. return nil
  17125. }
  17126. func (m *AvoidPods) Unmarshal(dAtA []byte) error {
  17127. l := len(dAtA)
  17128. iNdEx := 0
  17129. for iNdEx < l {
  17130. preIndex := iNdEx
  17131. var wire uint64
  17132. for shift := uint(0); ; shift += 7 {
  17133. if shift >= 64 {
  17134. return ErrIntOverflowGenerated
  17135. }
  17136. if iNdEx >= l {
  17137. return io.ErrUnexpectedEOF
  17138. }
  17139. b := dAtA[iNdEx]
  17140. iNdEx++
  17141. wire |= (uint64(b) & 0x7F) << shift
  17142. if b < 0x80 {
  17143. break
  17144. }
  17145. }
  17146. fieldNum := int32(wire >> 3)
  17147. wireType := int(wire & 0x7)
  17148. if wireType == 4 {
  17149. return fmt.Errorf("proto: AvoidPods: wiretype end group for non-group")
  17150. }
  17151. if fieldNum <= 0 {
  17152. return fmt.Errorf("proto: AvoidPods: illegal tag %d (wire type %d)", fieldNum, wire)
  17153. }
  17154. switch fieldNum {
  17155. case 1:
  17156. if wireType != 2 {
  17157. return fmt.Errorf("proto: wrong wireType = %d for field PreferAvoidPods", wireType)
  17158. }
  17159. var msglen int
  17160. for shift := uint(0); ; shift += 7 {
  17161. if shift >= 64 {
  17162. return ErrIntOverflowGenerated
  17163. }
  17164. if iNdEx >= l {
  17165. return io.ErrUnexpectedEOF
  17166. }
  17167. b := dAtA[iNdEx]
  17168. iNdEx++
  17169. msglen |= (int(b) & 0x7F) << shift
  17170. if b < 0x80 {
  17171. break
  17172. }
  17173. }
  17174. if msglen < 0 {
  17175. return ErrInvalidLengthGenerated
  17176. }
  17177. postIndex := iNdEx + msglen
  17178. if postIndex > l {
  17179. return io.ErrUnexpectedEOF
  17180. }
  17181. m.PreferAvoidPods = append(m.PreferAvoidPods, PreferAvoidPodsEntry{})
  17182. if err := m.PreferAvoidPods[len(m.PreferAvoidPods)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17183. return err
  17184. }
  17185. iNdEx = postIndex
  17186. default:
  17187. iNdEx = preIndex
  17188. skippy, err := skipGenerated(dAtA[iNdEx:])
  17189. if err != nil {
  17190. return err
  17191. }
  17192. if skippy < 0 {
  17193. return ErrInvalidLengthGenerated
  17194. }
  17195. if (iNdEx + skippy) > l {
  17196. return io.ErrUnexpectedEOF
  17197. }
  17198. iNdEx += skippy
  17199. }
  17200. }
  17201. if iNdEx > l {
  17202. return io.ErrUnexpectedEOF
  17203. }
  17204. return nil
  17205. }
  17206. func (m *AzureDiskVolumeSource) Unmarshal(dAtA []byte) error {
  17207. l := len(dAtA)
  17208. iNdEx := 0
  17209. for iNdEx < l {
  17210. preIndex := iNdEx
  17211. var wire uint64
  17212. for shift := uint(0); ; shift += 7 {
  17213. if shift >= 64 {
  17214. return ErrIntOverflowGenerated
  17215. }
  17216. if iNdEx >= l {
  17217. return io.ErrUnexpectedEOF
  17218. }
  17219. b := dAtA[iNdEx]
  17220. iNdEx++
  17221. wire |= (uint64(b) & 0x7F) << shift
  17222. if b < 0x80 {
  17223. break
  17224. }
  17225. }
  17226. fieldNum := int32(wire >> 3)
  17227. wireType := int(wire & 0x7)
  17228. if wireType == 4 {
  17229. return fmt.Errorf("proto: AzureDiskVolumeSource: wiretype end group for non-group")
  17230. }
  17231. if fieldNum <= 0 {
  17232. return fmt.Errorf("proto: AzureDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17233. }
  17234. switch fieldNum {
  17235. case 1:
  17236. if wireType != 2 {
  17237. return fmt.Errorf("proto: wrong wireType = %d for field DiskName", wireType)
  17238. }
  17239. var stringLen uint64
  17240. for shift := uint(0); ; shift += 7 {
  17241. if shift >= 64 {
  17242. return ErrIntOverflowGenerated
  17243. }
  17244. if iNdEx >= l {
  17245. return io.ErrUnexpectedEOF
  17246. }
  17247. b := dAtA[iNdEx]
  17248. iNdEx++
  17249. stringLen |= (uint64(b) & 0x7F) << shift
  17250. if b < 0x80 {
  17251. break
  17252. }
  17253. }
  17254. intStringLen := int(stringLen)
  17255. if intStringLen < 0 {
  17256. return ErrInvalidLengthGenerated
  17257. }
  17258. postIndex := iNdEx + intStringLen
  17259. if postIndex > l {
  17260. return io.ErrUnexpectedEOF
  17261. }
  17262. m.DiskName = string(dAtA[iNdEx:postIndex])
  17263. iNdEx = postIndex
  17264. case 2:
  17265. if wireType != 2 {
  17266. return fmt.Errorf("proto: wrong wireType = %d for field DataDiskURI", wireType)
  17267. }
  17268. var stringLen uint64
  17269. for shift := uint(0); ; shift += 7 {
  17270. if shift >= 64 {
  17271. return ErrIntOverflowGenerated
  17272. }
  17273. if iNdEx >= l {
  17274. return io.ErrUnexpectedEOF
  17275. }
  17276. b := dAtA[iNdEx]
  17277. iNdEx++
  17278. stringLen |= (uint64(b) & 0x7F) << shift
  17279. if b < 0x80 {
  17280. break
  17281. }
  17282. }
  17283. intStringLen := int(stringLen)
  17284. if intStringLen < 0 {
  17285. return ErrInvalidLengthGenerated
  17286. }
  17287. postIndex := iNdEx + intStringLen
  17288. if postIndex > l {
  17289. return io.ErrUnexpectedEOF
  17290. }
  17291. m.DataDiskURI = string(dAtA[iNdEx:postIndex])
  17292. iNdEx = postIndex
  17293. case 3:
  17294. if wireType != 2 {
  17295. return fmt.Errorf("proto: wrong wireType = %d for field CachingMode", wireType)
  17296. }
  17297. var stringLen uint64
  17298. for shift := uint(0); ; shift += 7 {
  17299. if shift >= 64 {
  17300. return ErrIntOverflowGenerated
  17301. }
  17302. if iNdEx >= l {
  17303. return io.ErrUnexpectedEOF
  17304. }
  17305. b := dAtA[iNdEx]
  17306. iNdEx++
  17307. stringLen |= (uint64(b) & 0x7F) << shift
  17308. if b < 0x80 {
  17309. break
  17310. }
  17311. }
  17312. intStringLen := int(stringLen)
  17313. if intStringLen < 0 {
  17314. return ErrInvalidLengthGenerated
  17315. }
  17316. postIndex := iNdEx + intStringLen
  17317. if postIndex > l {
  17318. return io.ErrUnexpectedEOF
  17319. }
  17320. s := AzureDataDiskCachingMode(dAtA[iNdEx:postIndex])
  17321. m.CachingMode = &s
  17322. iNdEx = postIndex
  17323. case 4:
  17324. if wireType != 2 {
  17325. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  17326. }
  17327. var stringLen uint64
  17328. for shift := uint(0); ; shift += 7 {
  17329. if shift >= 64 {
  17330. return ErrIntOverflowGenerated
  17331. }
  17332. if iNdEx >= l {
  17333. return io.ErrUnexpectedEOF
  17334. }
  17335. b := dAtA[iNdEx]
  17336. iNdEx++
  17337. stringLen |= (uint64(b) & 0x7F) << shift
  17338. if b < 0x80 {
  17339. break
  17340. }
  17341. }
  17342. intStringLen := int(stringLen)
  17343. if intStringLen < 0 {
  17344. return ErrInvalidLengthGenerated
  17345. }
  17346. postIndex := iNdEx + intStringLen
  17347. if postIndex > l {
  17348. return io.ErrUnexpectedEOF
  17349. }
  17350. s := string(dAtA[iNdEx:postIndex])
  17351. m.FSType = &s
  17352. iNdEx = postIndex
  17353. case 5:
  17354. if wireType != 0 {
  17355. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  17356. }
  17357. var v int
  17358. for shift := uint(0); ; shift += 7 {
  17359. if shift >= 64 {
  17360. return ErrIntOverflowGenerated
  17361. }
  17362. if iNdEx >= l {
  17363. return io.ErrUnexpectedEOF
  17364. }
  17365. b := dAtA[iNdEx]
  17366. iNdEx++
  17367. v |= (int(b) & 0x7F) << shift
  17368. if b < 0x80 {
  17369. break
  17370. }
  17371. }
  17372. b := bool(v != 0)
  17373. m.ReadOnly = &b
  17374. case 6:
  17375. if wireType != 2 {
  17376. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  17377. }
  17378. var stringLen uint64
  17379. for shift := uint(0); ; shift += 7 {
  17380. if shift >= 64 {
  17381. return ErrIntOverflowGenerated
  17382. }
  17383. if iNdEx >= l {
  17384. return io.ErrUnexpectedEOF
  17385. }
  17386. b := dAtA[iNdEx]
  17387. iNdEx++
  17388. stringLen |= (uint64(b) & 0x7F) << shift
  17389. if b < 0x80 {
  17390. break
  17391. }
  17392. }
  17393. intStringLen := int(stringLen)
  17394. if intStringLen < 0 {
  17395. return ErrInvalidLengthGenerated
  17396. }
  17397. postIndex := iNdEx + intStringLen
  17398. if postIndex > l {
  17399. return io.ErrUnexpectedEOF
  17400. }
  17401. s := AzureDataDiskKind(dAtA[iNdEx:postIndex])
  17402. m.Kind = &s
  17403. iNdEx = postIndex
  17404. default:
  17405. iNdEx = preIndex
  17406. skippy, err := skipGenerated(dAtA[iNdEx:])
  17407. if err != nil {
  17408. return err
  17409. }
  17410. if skippy < 0 {
  17411. return ErrInvalidLengthGenerated
  17412. }
  17413. if (iNdEx + skippy) > l {
  17414. return io.ErrUnexpectedEOF
  17415. }
  17416. iNdEx += skippy
  17417. }
  17418. }
  17419. if iNdEx > l {
  17420. return io.ErrUnexpectedEOF
  17421. }
  17422. return nil
  17423. }
  17424. func (m *AzureFilePersistentVolumeSource) Unmarshal(dAtA []byte) error {
  17425. l := len(dAtA)
  17426. iNdEx := 0
  17427. for iNdEx < l {
  17428. preIndex := iNdEx
  17429. var wire uint64
  17430. for shift := uint(0); ; shift += 7 {
  17431. if shift >= 64 {
  17432. return ErrIntOverflowGenerated
  17433. }
  17434. if iNdEx >= l {
  17435. return io.ErrUnexpectedEOF
  17436. }
  17437. b := dAtA[iNdEx]
  17438. iNdEx++
  17439. wire |= (uint64(b) & 0x7F) << shift
  17440. if b < 0x80 {
  17441. break
  17442. }
  17443. }
  17444. fieldNum := int32(wire >> 3)
  17445. wireType := int(wire & 0x7)
  17446. if wireType == 4 {
  17447. return fmt.Errorf("proto: AzureFilePersistentVolumeSource: wiretype end group for non-group")
  17448. }
  17449. if fieldNum <= 0 {
  17450. return fmt.Errorf("proto: AzureFilePersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17451. }
  17452. switch fieldNum {
  17453. case 1:
  17454. if wireType != 2 {
  17455. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  17456. }
  17457. var stringLen uint64
  17458. for shift := uint(0); ; shift += 7 {
  17459. if shift >= 64 {
  17460. return ErrIntOverflowGenerated
  17461. }
  17462. if iNdEx >= l {
  17463. return io.ErrUnexpectedEOF
  17464. }
  17465. b := dAtA[iNdEx]
  17466. iNdEx++
  17467. stringLen |= (uint64(b) & 0x7F) << shift
  17468. if b < 0x80 {
  17469. break
  17470. }
  17471. }
  17472. intStringLen := int(stringLen)
  17473. if intStringLen < 0 {
  17474. return ErrInvalidLengthGenerated
  17475. }
  17476. postIndex := iNdEx + intStringLen
  17477. if postIndex > l {
  17478. return io.ErrUnexpectedEOF
  17479. }
  17480. m.SecretName = string(dAtA[iNdEx:postIndex])
  17481. iNdEx = postIndex
  17482. case 2:
  17483. if wireType != 2 {
  17484. return fmt.Errorf("proto: wrong wireType = %d for field ShareName", wireType)
  17485. }
  17486. var stringLen uint64
  17487. for shift := uint(0); ; shift += 7 {
  17488. if shift >= 64 {
  17489. return ErrIntOverflowGenerated
  17490. }
  17491. if iNdEx >= l {
  17492. return io.ErrUnexpectedEOF
  17493. }
  17494. b := dAtA[iNdEx]
  17495. iNdEx++
  17496. stringLen |= (uint64(b) & 0x7F) << shift
  17497. if b < 0x80 {
  17498. break
  17499. }
  17500. }
  17501. intStringLen := int(stringLen)
  17502. if intStringLen < 0 {
  17503. return ErrInvalidLengthGenerated
  17504. }
  17505. postIndex := iNdEx + intStringLen
  17506. if postIndex > l {
  17507. return io.ErrUnexpectedEOF
  17508. }
  17509. m.ShareName = string(dAtA[iNdEx:postIndex])
  17510. iNdEx = postIndex
  17511. case 3:
  17512. if wireType != 0 {
  17513. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  17514. }
  17515. var v int
  17516. for shift := uint(0); ; shift += 7 {
  17517. if shift >= 64 {
  17518. return ErrIntOverflowGenerated
  17519. }
  17520. if iNdEx >= l {
  17521. return io.ErrUnexpectedEOF
  17522. }
  17523. b := dAtA[iNdEx]
  17524. iNdEx++
  17525. v |= (int(b) & 0x7F) << shift
  17526. if b < 0x80 {
  17527. break
  17528. }
  17529. }
  17530. m.ReadOnly = bool(v != 0)
  17531. case 4:
  17532. if wireType != 2 {
  17533. return fmt.Errorf("proto: wrong wireType = %d for field SecretNamespace", wireType)
  17534. }
  17535. var stringLen uint64
  17536. for shift := uint(0); ; shift += 7 {
  17537. if shift >= 64 {
  17538. return ErrIntOverflowGenerated
  17539. }
  17540. if iNdEx >= l {
  17541. return io.ErrUnexpectedEOF
  17542. }
  17543. b := dAtA[iNdEx]
  17544. iNdEx++
  17545. stringLen |= (uint64(b) & 0x7F) << shift
  17546. if b < 0x80 {
  17547. break
  17548. }
  17549. }
  17550. intStringLen := int(stringLen)
  17551. if intStringLen < 0 {
  17552. return ErrInvalidLengthGenerated
  17553. }
  17554. postIndex := iNdEx + intStringLen
  17555. if postIndex > l {
  17556. return io.ErrUnexpectedEOF
  17557. }
  17558. s := string(dAtA[iNdEx:postIndex])
  17559. m.SecretNamespace = &s
  17560. iNdEx = postIndex
  17561. default:
  17562. iNdEx = preIndex
  17563. skippy, err := skipGenerated(dAtA[iNdEx:])
  17564. if err != nil {
  17565. return err
  17566. }
  17567. if skippy < 0 {
  17568. return ErrInvalidLengthGenerated
  17569. }
  17570. if (iNdEx + skippy) > l {
  17571. return io.ErrUnexpectedEOF
  17572. }
  17573. iNdEx += skippy
  17574. }
  17575. }
  17576. if iNdEx > l {
  17577. return io.ErrUnexpectedEOF
  17578. }
  17579. return nil
  17580. }
  17581. func (m *AzureFileVolumeSource) Unmarshal(dAtA []byte) error {
  17582. l := len(dAtA)
  17583. iNdEx := 0
  17584. for iNdEx < l {
  17585. preIndex := iNdEx
  17586. var wire uint64
  17587. for shift := uint(0); ; shift += 7 {
  17588. if shift >= 64 {
  17589. return ErrIntOverflowGenerated
  17590. }
  17591. if iNdEx >= l {
  17592. return io.ErrUnexpectedEOF
  17593. }
  17594. b := dAtA[iNdEx]
  17595. iNdEx++
  17596. wire |= (uint64(b) & 0x7F) << shift
  17597. if b < 0x80 {
  17598. break
  17599. }
  17600. }
  17601. fieldNum := int32(wire >> 3)
  17602. wireType := int(wire & 0x7)
  17603. if wireType == 4 {
  17604. return fmt.Errorf("proto: AzureFileVolumeSource: wiretype end group for non-group")
  17605. }
  17606. if fieldNum <= 0 {
  17607. return fmt.Errorf("proto: AzureFileVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17608. }
  17609. switch fieldNum {
  17610. case 1:
  17611. if wireType != 2 {
  17612. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  17613. }
  17614. var stringLen uint64
  17615. for shift := uint(0); ; shift += 7 {
  17616. if shift >= 64 {
  17617. return ErrIntOverflowGenerated
  17618. }
  17619. if iNdEx >= l {
  17620. return io.ErrUnexpectedEOF
  17621. }
  17622. b := dAtA[iNdEx]
  17623. iNdEx++
  17624. stringLen |= (uint64(b) & 0x7F) << shift
  17625. if b < 0x80 {
  17626. break
  17627. }
  17628. }
  17629. intStringLen := int(stringLen)
  17630. if intStringLen < 0 {
  17631. return ErrInvalidLengthGenerated
  17632. }
  17633. postIndex := iNdEx + intStringLen
  17634. if postIndex > l {
  17635. return io.ErrUnexpectedEOF
  17636. }
  17637. m.SecretName = string(dAtA[iNdEx:postIndex])
  17638. iNdEx = postIndex
  17639. case 2:
  17640. if wireType != 2 {
  17641. return fmt.Errorf("proto: wrong wireType = %d for field ShareName", wireType)
  17642. }
  17643. var stringLen uint64
  17644. for shift := uint(0); ; shift += 7 {
  17645. if shift >= 64 {
  17646. return ErrIntOverflowGenerated
  17647. }
  17648. if iNdEx >= l {
  17649. return io.ErrUnexpectedEOF
  17650. }
  17651. b := dAtA[iNdEx]
  17652. iNdEx++
  17653. stringLen |= (uint64(b) & 0x7F) << shift
  17654. if b < 0x80 {
  17655. break
  17656. }
  17657. }
  17658. intStringLen := int(stringLen)
  17659. if intStringLen < 0 {
  17660. return ErrInvalidLengthGenerated
  17661. }
  17662. postIndex := iNdEx + intStringLen
  17663. if postIndex > l {
  17664. return io.ErrUnexpectedEOF
  17665. }
  17666. m.ShareName = string(dAtA[iNdEx:postIndex])
  17667. iNdEx = postIndex
  17668. case 3:
  17669. if wireType != 0 {
  17670. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  17671. }
  17672. var v int
  17673. for shift := uint(0); ; shift += 7 {
  17674. if shift >= 64 {
  17675. return ErrIntOverflowGenerated
  17676. }
  17677. if iNdEx >= l {
  17678. return io.ErrUnexpectedEOF
  17679. }
  17680. b := dAtA[iNdEx]
  17681. iNdEx++
  17682. v |= (int(b) & 0x7F) << shift
  17683. if b < 0x80 {
  17684. break
  17685. }
  17686. }
  17687. m.ReadOnly = bool(v != 0)
  17688. default:
  17689. iNdEx = preIndex
  17690. skippy, err := skipGenerated(dAtA[iNdEx:])
  17691. if err != nil {
  17692. return err
  17693. }
  17694. if skippy < 0 {
  17695. return ErrInvalidLengthGenerated
  17696. }
  17697. if (iNdEx + skippy) > l {
  17698. return io.ErrUnexpectedEOF
  17699. }
  17700. iNdEx += skippy
  17701. }
  17702. }
  17703. if iNdEx > l {
  17704. return io.ErrUnexpectedEOF
  17705. }
  17706. return nil
  17707. }
  17708. func (m *Binding) Unmarshal(dAtA []byte) error {
  17709. l := len(dAtA)
  17710. iNdEx := 0
  17711. for iNdEx < l {
  17712. preIndex := iNdEx
  17713. var wire uint64
  17714. for shift := uint(0); ; shift += 7 {
  17715. if shift >= 64 {
  17716. return ErrIntOverflowGenerated
  17717. }
  17718. if iNdEx >= l {
  17719. return io.ErrUnexpectedEOF
  17720. }
  17721. b := dAtA[iNdEx]
  17722. iNdEx++
  17723. wire |= (uint64(b) & 0x7F) << shift
  17724. if b < 0x80 {
  17725. break
  17726. }
  17727. }
  17728. fieldNum := int32(wire >> 3)
  17729. wireType := int(wire & 0x7)
  17730. if wireType == 4 {
  17731. return fmt.Errorf("proto: Binding: wiretype end group for non-group")
  17732. }
  17733. if fieldNum <= 0 {
  17734. return fmt.Errorf("proto: Binding: illegal tag %d (wire type %d)", fieldNum, wire)
  17735. }
  17736. switch fieldNum {
  17737. case 1:
  17738. if wireType != 2 {
  17739. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  17740. }
  17741. var msglen int
  17742. for shift := uint(0); ; shift += 7 {
  17743. if shift >= 64 {
  17744. return ErrIntOverflowGenerated
  17745. }
  17746. if iNdEx >= l {
  17747. return io.ErrUnexpectedEOF
  17748. }
  17749. b := dAtA[iNdEx]
  17750. iNdEx++
  17751. msglen |= (int(b) & 0x7F) << shift
  17752. if b < 0x80 {
  17753. break
  17754. }
  17755. }
  17756. if msglen < 0 {
  17757. return ErrInvalidLengthGenerated
  17758. }
  17759. postIndex := iNdEx + msglen
  17760. if postIndex > l {
  17761. return io.ErrUnexpectedEOF
  17762. }
  17763. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17764. return err
  17765. }
  17766. iNdEx = postIndex
  17767. case 2:
  17768. if wireType != 2 {
  17769. return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
  17770. }
  17771. var msglen int
  17772. for shift := uint(0); ; shift += 7 {
  17773. if shift >= 64 {
  17774. return ErrIntOverflowGenerated
  17775. }
  17776. if iNdEx >= l {
  17777. return io.ErrUnexpectedEOF
  17778. }
  17779. b := dAtA[iNdEx]
  17780. iNdEx++
  17781. msglen |= (int(b) & 0x7F) << shift
  17782. if b < 0x80 {
  17783. break
  17784. }
  17785. }
  17786. if msglen < 0 {
  17787. return ErrInvalidLengthGenerated
  17788. }
  17789. postIndex := iNdEx + msglen
  17790. if postIndex > l {
  17791. return io.ErrUnexpectedEOF
  17792. }
  17793. if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17794. return err
  17795. }
  17796. iNdEx = postIndex
  17797. default:
  17798. iNdEx = preIndex
  17799. skippy, err := skipGenerated(dAtA[iNdEx:])
  17800. if err != nil {
  17801. return err
  17802. }
  17803. if skippy < 0 {
  17804. return ErrInvalidLengthGenerated
  17805. }
  17806. if (iNdEx + skippy) > l {
  17807. return io.ErrUnexpectedEOF
  17808. }
  17809. iNdEx += skippy
  17810. }
  17811. }
  17812. if iNdEx > l {
  17813. return io.ErrUnexpectedEOF
  17814. }
  17815. return nil
  17816. }
  17817. func (m *CSIPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  17818. l := len(dAtA)
  17819. iNdEx := 0
  17820. for iNdEx < l {
  17821. preIndex := iNdEx
  17822. var wire uint64
  17823. for shift := uint(0); ; shift += 7 {
  17824. if shift >= 64 {
  17825. return ErrIntOverflowGenerated
  17826. }
  17827. if iNdEx >= l {
  17828. return io.ErrUnexpectedEOF
  17829. }
  17830. b := dAtA[iNdEx]
  17831. iNdEx++
  17832. wire |= (uint64(b) & 0x7F) << shift
  17833. if b < 0x80 {
  17834. break
  17835. }
  17836. }
  17837. fieldNum := int32(wire >> 3)
  17838. wireType := int(wire & 0x7)
  17839. if wireType == 4 {
  17840. return fmt.Errorf("proto: CSIPersistentVolumeSource: wiretype end group for non-group")
  17841. }
  17842. if fieldNum <= 0 {
  17843. return fmt.Errorf("proto: CSIPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17844. }
  17845. switch fieldNum {
  17846. case 1:
  17847. if wireType != 2 {
  17848. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  17849. }
  17850. var stringLen uint64
  17851. for shift := uint(0); ; shift += 7 {
  17852. if shift >= 64 {
  17853. return ErrIntOverflowGenerated
  17854. }
  17855. if iNdEx >= l {
  17856. return io.ErrUnexpectedEOF
  17857. }
  17858. b := dAtA[iNdEx]
  17859. iNdEx++
  17860. stringLen |= (uint64(b) & 0x7F) << shift
  17861. if b < 0x80 {
  17862. break
  17863. }
  17864. }
  17865. intStringLen := int(stringLen)
  17866. if intStringLen < 0 {
  17867. return ErrInvalidLengthGenerated
  17868. }
  17869. postIndex := iNdEx + intStringLen
  17870. if postIndex > l {
  17871. return io.ErrUnexpectedEOF
  17872. }
  17873. m.Driver = string(dAtA[iNdEx:postIndex])
  17874. iNdEx = postIndex
  17875. case 2:
  17876. if wireType != 2 {
  17877. return fmt.Errorf("proto: wrong wireType = %d for field VolumeHandle", wireType)
  17878. }
  17879. var stringLen uint64
  17880. for shift := uint(0); ; shift += 7 {
  17881. if shift >= 64 {
  17882. return ErrIntOverflowGenerated
  17883. }
  17884. if iNdEx >= l {
  17885. return io.ErrUnexpectedEOF
  17886. }
  17887. b := dAtA[iNdEx]
  17888. iNdEx++
  17889. stringLen |= (uint64(b) & 0x7F) << shift
  17890. if b < 0x80 {
  17891. break
  17892. }
  17893. }
  17894. intStringLen := int(stringLen)
  17895. if intStringLen < 0 {
  17896. return ErrInvalidLengthGenerated
  17897. }
  17898. postIndex := iNdEx + intStringLen
  17899. if postIndex > l {
  17900. return io.ErrUnexpectedEOF
  17901. }
  17902. m.VolumeHandle = string(dAtA[iNdEx:postIndex])
  17903. iNdEx = postIndex
  17904. case 3:
  17905. if wireType != 0 {
  17906. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  17907. }
  17908. var v int
  17909. for shift := uint(0); ; shift += 7 {
  17910. if shift >= 64 {
  17911. return ErrIntOverflowGenerated
  17912. }
  17913. if iNdEx >= l {
  17914. return io.ErrUnexpectedEOF
  17915. }
  17916. b := dAtA[iNdEx]
  17917. iNdEx++
  17918. v |= (int(b) & 0x7F) << shift
  17919. if b < 0x80 {
  17920. break
  17921. }
  17922. }
  17923. m.ReadOnly = bool(v != 0)
  17924. case 4:
  17925. if wireType != 2 {
  17926. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  17927. }
  17928. var stringLen uint64
  17929. for shift := uint(0); ; shift += 7 {
  17930. if shift >= 64 {
  17931. return ErrIntOverflowGenerated
  17932. }
  17933. if iNdEx >= l {
  17934. return io.ErrUnexpectedEOF
  17935. }
  17936. b := dAtA[iNdEx]
  17937. iNdEx++
  17938. stringLen |= (uint64(b) & 0x7F) << shift
  17939. if b < 0x80 {
  17940. break
  17941. }
  17942. }
  17943. intStringLen := int(stringLen)
  17944. if intStringLen < 0 {
  17945. return ErrInvalidLengthGenerated
  17946. }
  17947. postIndex := iNdEx + intStringLen
  17948. if postIndex > l {
  17949. return io.ErrUnexpectedEOF
  17950. }
  17951. m.FSType = string(dAtA[iNdEx:postIndex])
  17952. iNdEx = postIndex
  17953. case 5:
  17954. if wireType != 2 {
  17955. return fmt.Errorf("proto: wrong wireType = %d for field VolumeAttributes", wireType)
  17956. }
  17957. var msglen int
  17958. for shift := uint(0); ; shift += 7 {
  17959. if shift >= 64 {
  17960. return ErrIntOverflowGenerated
  17961. }
  17962. if iNdEx >= l {
  17963. return io.ErrUnexpectedEOF
  17964. }
  17965. b := dAtA[iNdEx]
  17966. iNdEx++
  17967. msglen |= (int(b) & 0x7F) << shift
  17968. if b < 0x80 {
  17969. break
  17970. }
  17971. }
  17972. if msglen < 0 {
  17973. return ErrInvalidLengthGenerated
  17974. }
  17975. postIndex := iNdEx + msglen
  17976. if postIndex > l {
  17977. return io.ErrUnexpectedEOF
  17978. }
  17979. if m.VolumeAttributes == nil {
  17980. m.VolumeAttributes = make(map[string]string)
  17981. }
  17982. var mapkey string
  17983. var mapvalue string
  17984. for iNdEx < postIndex {
  17985. entryPreIndex := iNdEx
  17986. var wire uint64
  17987. for shift := uint(0); ; shift += 7 {
  17988. if shift >= 64 {
  17989. return ErrIntOverflowGenerated
  17990. }
  17991. if iNdEx >= l {
  17992. return io.ErrUnexpectedEOF
  17993. }
  17994. b := dAtA[iNdEx]
  17995. iNdEx++
  17996. wire |= (uint64(b) & 0x7F) << shift
  17997. if b < 0x80 {
  17998. break
  17999. }
  18000. }
  18001. fieldNum := int32(wire >> 3)
  18002. if fieldNum == 1 {
  18003. var stringLenmapkey uint64
  18004. for shift := uint(0); ; shift += 7 {
  18005. if shift >= 64 {
  18006. return ErrIntOverflowGenerated
  18007. }
  18008. if iNdEx >= l {
  18009. return io.ErrUnexpectedEOF
  18010. }
  18011. b := dAtA[iNdEx]
  18012. iNdEx++
  18013. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  18014. if b < 0x80 {
  18015. break
  18016. }
  18017. }
  18018. intStringLenmapkey := int(stringLenmapkey)
  18019. if intStringLenmapkey < 0 {
  18020. return ErrInvalidLengthGenerated
  18021. }
  18022. postStringIndexmapkey := iNdEx + intStringLenmapkey
  18023. if postStringIndexmapkey > l {
  18024. return io.ErrUnexpectedEOF
  18025. }
  18026. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  18027. iNdEx = postStringIndexmapkey
  18028. } else if fieldNum == 2 {
  18029. var stringLenmapvalue uint64
  18030. for shift := uint(0); ; shift += 7 {
  18031. if shift >= 64 {
  18032. return ErrIntOverflowGenerated
  18033. }
  18034. if iNdEx >= l {
  18035. return io.ErrUnexpectedEOF
  18036. }
  18037. b := dAtA[iNdEx]
  18038. iNdEx++
  18039. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  18040. if b < 0x80 {
  18041. break
  18042. }
  18043. }
  18044. intStringLenmapvalue := int(stringLenmapvalue)
  18045. if intStringLenmapvalue < 0 {
  18046. return ErrInvalidLengthGenerated
  18047. }
  18048. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  18049. if postStringIndexmapvalue > l {
  18050. return io.ErrUnexpectedEOF
  18051. }
  18052. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  18053. iNdEx = postStringIndexmapvalue
  18054. } else {
  18055. iNdEx = entryPreIndex
  18056. skippy, err := skipGenerated(dAtA[iNdEx:])
  18057. if err != nil {
  18058. return err
  18059. }
  18060. if skippy < 0 {
  18061. return ErrInvalidLengthGenerated
  18062. }
  18063. if (iNdEx + skippy) > postIndex {
  18064. return io.ErrUnexpectedEOF
  18065. }
  18066. iNdEx += skippy
  18067. }
  18068. }
  18069. m.VolumeAttributes[mapkey] = mapvalue
  18070. iNdEx = postIndex
  18071. case 6:
  18072. if wireType != 2 {
  18073. return fmt.Errorf("proto: wrong wireType = %d for field ControllerPublishSecretRef", wireType)
  18074. }
  18075. var msglen int
  18076. for shift := uint(0); ; shift += 7 {
  18077. if shift >= 64 {
  18078. return ErrIntOverflowGenerated
  18079. }
  18080. if iNdEx >= l {
  18081. return io.ErrUnexpectedEOF
  18082. }
  18083. b := dAtA[iNdEx]
  18084. iNdEx++
  18085. msglen |= (int(b) & 0x7F) << shift
  18086. if b < 0x80 {
  18087. break
  18088. }
  18089. }
  18090. if msglen < 0 {
  18091. return ErrInvalidLengthGenerated
  18092. }
  18093. postIndex := iNdEx + msglen
  18094. if postIndex > l {
  18095. return io.ErrUnexpectedEOF
  18096. }
  18097. if m.ControllerPublishSecretRef == nil {
  18098. m.ControllerPublishSecretRef = &SecretReference{}
  18099. }
  18100. if err := m.ControllerPublishSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18101. return err
  18102. }
  18103. iNdEx = postIndex
  18104. case 7:
  18105. if wireType != 2 {
  18106. return fmt.Errorf("proto: wrong wireType = %d for field NodeStageSecretRef", wireType)
  18107. }
  18108. var msglen int
  18109. for shift := uint(0); ; shift += 7 {
  18110. if shift >= 64 {
  18111. return ErrIntOverflowGenerated
  18112. }
  18113. if iNdEx >= l {
  18114. return io.ErrUnexpectedEOF
  18115. }
  18116. b := dAtA[iNdEx]
  18117. iNdEx++
  18118. msglen |= (int(b) & 0x7F) << shift
  18119. if b < 0x80 {
  18120. break
  18121. }
  18122. }
  18123. if msglen < 0 {
  18124. return ErrInvalidLengthGenerated
  18125. }
  18126. postIndex := iNdEx + msglen
  18127. if postIndex > l {
  18128. return io.ErrUnexpectedEOF
  18129. }
  18130. if m.NodeStageSecretRef == nil {
  18131. m.NodeStageSecretRef = &SecretReference{}
  18132. }
  18133. if err := m.NodeStageSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18134. return err
  18135. }
  18136. iNdEx = postIndex
  18137. case 8:
  18138. if wireType != 2 {
  18139. return fmt.Errorf("proto: wrong wireType = %d for field NodePublishSecretRef", wireType)
  18140. }
  18141. var msglen int
  18142. for shift := uint(0); ; shift += 7 {
  18143. if shift >= 64 {
  18144. return ErrIntOverflowGenerated
  18145. }
  18146. if iNdEx >= l {
  18147. return io.ErrUnexpectedEOF
  18148. }
  18149. b := dAtA[iNdEx]
  18150. iNdEx++
  18151. msglen |= (int(b) & 0x7F) << shift
  18152. if b < 0x80 {
  18153. break
  18154. }
  18155. }
  18156. if msglen < 0 {
  18157. return ErrInvalidLengthGenerated
  18158. }
  18159. postIndex := iNdEx + msglen
  18160. if postIndex > l {
  18161. return io.ErrUnexpectedEOF
  18162. }
  18163. if m.NodePublishSecretRef == nil {
  18164. m.NodePublishSecretRef = &SecretReference{}
  18165. }
  18166. if err := m.NodePublishSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18167. return err
  18168. }
  18169. iNdEx = postIndex
  18170. default:
  18171. iNdEx = preIndex
  18172. skippy, err := skipGenerated(dAtA[iNdEx:])
  18173. if err != nil {
  18174. return err
  18175. }
  18176. if skippy < 0 {
  18177. return ErrInvalidLengthGenerated
  18178. }
  18179. if (iNdEx + skippy) > l {
  18180. return io.ErrUnexpectedEOF
  18181. }
  18182. iNdEx += skippy
  18183. }
  18184. }
  18185. if iNdEx > l {
  18186. return io.ErrUnexpectedEOF
  18187. }
  18188. return nil
  18189. }
  18190. func (m *CSIVolumeSource) Unmarshal(dAtA []byte) error {
  18191. l := len(dAtA)
  18192. iNdEx := 0
  18193. for iNdEx < l {
  18194. preIndex := iNdEx
  18195. var wire uint64
  18196. for shift := uint(0); ; shift += 7 {
  18197. if shift >= 64 {
  18198. return ErrIntOverflowGenerated
  18199. }
  18200. if iNdEx >= l {
  18201. return io.ErrUnexpectedEOF
  18202. }
  18203. b := dAtA[iNdEx]
  18204. iNdEx++
  18205. wire |= (uint64(b) & 0x7F) << shift
  18206. if b < 0x80 {
  18207. break
  18208. }
  18209. }
  18210. fieldNum := int32(wire >> 3)
  18211. wireType := int(wire & 0x7)
  18212. if wireType == 4 {
  18213. return fmt.Errorf("proto: CSIVolumeSource: wiretype end group for non-group")
  18214. }
  18215. if fieldNum <= 0 {
  18216. return fmt.Errorf("proto: CSIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18217. }
  18218. switch fieldNum {
  18219. case 1:
  18220. if wireType != 2 {
  18221. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  18222. }
  18223. var stringLen uint64
  18224. for shift := uint(0); ; shift += 7 {
  18225. if shift >= 64 {
  18226. return ErrIntOverflowGenerated
  18227. }
  18228. if iNdEx >= l {
  18229. return io.ErrUnexpectedEOF
  18230. }
  18231. b := dAtA[iNdEx]
  18232. iNdEx++
  18233. stringLen |= (uint64(b) & 0x7F) << shift
  18234. if b < 0x80 {
  18235. break
  18236. }
  18237. }
  18238. intStringLen := int(stringLen)
  18239. if intStringLen < 0 {
  18240. return ErrInvalidLengthGenerated
  18241. }
  18242. postIndex := iNdEx + intStringLen
  18243. if postIndex > l {
  18244. return io.ErrUnexpectedEOF
  18245. }
  18246. m.Driver = string(dAtA[iNdEx:postIndex])
  18247. iNdEx = postIndex
  18248. case 2:
  18249. if wireType != 0 {
  18250. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  18251. }
  18252. var v int
  18253. for shift := uint(0); ; shift += 7 {
  18254. if shift >= 64 {
  18255. return ErrIntOverflowGenerated
  18256. }
  18257. if iNdEx >= l {
  18258. return io.ErrUnexpectedEOF
  18259. }
  18260. b := dAtA[iNdEx]
  18261. iNdEx++
  18262. v |= (int(b) & 0x7F) << shift
  18263. if b < 0x80 {
  18264. break
  18265. }
  18266. }
  18267. b := bool(v != 0)
  18268. m.ReadOnly = &b
  18269. case 3:
  18270. if wireType != 2 {
  18271. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  18272. }
  18273. var stringLen uint64
  18274. for shift := uint(0); ; shift += 7 {
  18275. if shift >= 64 {
  18276. return ErrIntOverflowGenerated
  18277. }
  18278. if iNdEx >= l {
  18279. return io.ErrUnexpectedEOF
  18280. }
  18281. b := dAtA[iNdEx]
  18282. iNdEx++
  18283. stringLen |= (uint64(b) & 0x7F) << shift
  18284. if b < 0x80 {
  18285. break
  18286. }
  18287. }
  18288. intStringLen := int(stringLen)
  18289. if intStringLen < 0 {
  18290. return ErrInvalidLengthGenerated
  18291. }
  18292. postIndex := iNdEx + intStringLen
  18293. if postIndex > l {
  18294. return io.ErrUnexpectedEOF
  18295. }
  18296. s := string(dAtA[iNdEx:postIndex])
  18297. m.FSType = &s
  18298. iNdEx = postIndex
  18299. case 4:
  18300. if wireType != 2 {
  18301. return fmt.Errorf("proto: wrong wireType = %d for field VolumeAttributes", wireType)
  18302. }
  18303. var msglen int
  18304. for shift := uint(0); ; shift += 7 {
  18305. if shift >= 64 {
  18306. return ErrIntOverflowGenerated
  18307. }
  18308. if iNdEx >= l {
  18309. return io.ErrUnexpectedEOF
  18310. }
  18311. b := dAtA[iNdEx]
  18312. iNdEx++
  18313. msglen |= (int(b) & 0x7F) << shift
  18314. if b < 0x80 {
  18315. break
  18316. }
  18317. }
  18318. if msglen < 0 {
  18319. return ErrInvalidLengthGenerated
  18320. }
  18321. postIndex := iNdEx + msglen
  18322. if postIndex > l {
  18323. return io.ErrUnexpectedEOF
  18324. }
  18325. if m.VolumeAttributes == nil {
  18326. m.VolumeAttributes = make(map[string]string)
  18327. }
  18328. var mapkey string
  18329. var mapvalue string
  18330. for iNdEx < postIndex {
  18331. entryPreIndex := iNdEx
  18332. var wire uint64
  18333. for shift := uint(0); ; shift += 7 {
  18334. if shift >= 64 {
  18335. return ErrIntOverflowGenerated
  18336. }
  18337. if iNdEx >= l {
  18338. return io.ErrUnexpectedEOF
  18339. }
  18340. b := dAtA[iNdEx]
  18341. iNdEx++
  18342. wire |= (uint64(b) & 0x7F) << shift
  18343. if b < 0x80 {
  18344. break
  18345. }
  18346. }
  18347. fieldNum := int32(wire >> 3)
  18348. if fieldNum == 1 {
  18349. var stringLenmapkey uint64
  18350. for shift := uint(0); ; shift += 7 {
  18351. if shift >= 64 {
  18352. return ErrIntOverflowGenerated
  18353. }
  18354. if iNdEx >= l {
  18355. return io.ErrUnexpectedEOF
  18356. }
  18357. b := dAtA[iNdEx]
  18358. iNdEx++
  18359. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  18360. if b < 0x80 {
  18361. break
  18362. }
  18363. }
  18364. intStringLenmapkey := int(stringLenmapkey)
  18365. if intStringLenmapkey < 0 {
  18366. return ErrInvalidLengthGenerated
  18367. }
  18368. postStringIndexmapkey := iNdEx + intStringLenmapkey
  18369. if postStringIndexmapkey > l {
  18370. return io.ErrUnexpectedEOF
  18371. }
  18372. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  18373. iNdEx = postStringIndexmapkey
  18374. } else if fieldNum == 2 {
  18375. var stringLenmapvalue uint64
  18376. for shift := uint(0); ; shift += 7 {
  18377. if shift >= 64 {
  18378. return ErrIntOverflowGenerated
  18379. }
  18380. if iNdEx >= l {
  18381. return io.ErrUnexpectedEOF
  18382. }
  18383. b := dAtA[iNdEx]
  18384. iNdEx++
  18385. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  18386. if b < 0x80 {
  18387. break
  18388. }
  18389. }
  18390. intStringLenmapvalue := int(stringLenmapvalue)
  18391. if intStringLenmapvalue < 0 {
  18392. return ErrInvalidLengthGenerated
  18393. }
  18394. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  18395. if postStringIndexmapvalue > l {
  18396. return io.ErrUnexpectedEOF
  18397. }
  18398. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  18399. iNdEx = postStringIndexmapvalue
  18400. } else {
  18401. iNdEx = entryPreIndex
  18402. skippy, err := skipGenerated(dAtA[iNdEx:])
  18403. if err != nil {
  18404. return err
  18405. }
  18406. if skippy < 0 {
  18407. return ErrInvalidLengthGenerated
  18408. }
  18409. if (iNdEx + skippy) > postIndex {
  18410. return io.ErrUnexpectedEOF
  18411. }
  18412. iNdEx += skippy
  18413. }
  18414. }
  18415. m.VolumeAttributes[mapkey] = mapvalue
  18416. iNdEx = postIndex
  18417. case 5:
  18418. if wireType != 2 {
  18419. return fmt.Errorf("proto: wrong wireType = %d for field NodePublishSecretRef", wireType)
  18420. }
  18421. var msglen int
  18422. for shift := uint(0); ; shift += 7 {
  18423. if shift >= 64 {
  18424. return ErrIntOverflowGenerated
  18425. }
  18426. if iNdEx >= l {
  18427. return io.ErrUnexpectedEOF
  18428. }
  18429. b := dAtA[iNdEx]
  18430. iNdEx++
  18431. msglen |= (int(b) & 0x7F) << shift
  18432. if b < 0x80 {
  18433. break
  18434. }
  18435. }
  18436. if msglen < 0 {
  18437. return ErrInvalidLengthGenerated
  18438. }
  18439. postIndex := iNdEx + msglen
  18440. if postIndex > l {
  18441. return io.ErrUnexpectedEOF
  18442. }
  18443. if m.NodePublishSecretRef == nil {
  18444. m.NodePublishSecretRef = &LocalObjectReference{}
  18445. }
  18446. if err := m.NodePublishSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18447. return err
  18448. }
  18449. iNdEx = postIndex
  18450. default:
  18451. iNdEx = preIndex
  18452. skippy, err := skipGenerated(dAtA[iNdEx:])
  18453. if err != nil {
  18454. return err
  18455. }
  18456. if skippy < 0 {
  18457. return ErrInvalidLengthGenerated
  18458. }
  18459. if (iNdEx + skippy) > l {
  18460. return io.ErrUnexpectedEOF
  18461. }
  18462. iNdEx += skippy
  18463. }
  18464. }
  18465. if iNdEx > l {
  18466. return io.ErrUnexpectedEOF
  18467. }
  18468. return nil
  18469. }
  18470. func (m *Capabilities) Unmarshal(dAtA []byte) error {
  18471. l := len(dAtA)
  18472. iNdEx := 0
  18473. for iNdEx < l {
  18474. preIndex := iNdEx
  18475. var wire uint64
  18476. for shift := uint(0); ; shift += 7 {
  18477. if shift >= 64 {
  18478. return ErrIntOverflowGenerated
  18479. }
  18480. if iNdEx >= l {
  18481. return io.ErrUnexpectedEOF
  18482. }
  18483. b := dAtA[iNdEx]
  18484. iNdEx++
  18485. wire |= (uint64(b) & 0x7F) << shift
  18486. if b < 0x80 {
  18487. break
  18488. }
  18489. }
  18490. fieldNum := int32(wire >> 3)
  18491. wireType := int(wire & 0x7)
  18492. if wireType == 4 {
  18493. return fmt.Errorf("proto: Capabilities: wiretype end group for non-group")
  18494. }
  18495. if fieldNum <= 0 {
  18496. return fmt.Errorf("proto: Capabilities: illegal tag %d (wire type %d)", fieldNum, wire)
  18497. }
  18498. switch fieldNum {
  18499. case 1:
  18500. if wireType != 2 {
  18501. return fmt.Errorf("proto: wrong wireType = %d for field Add", wireType)
  18502. }
  18503. var stringLen uint64
  18504. for shift := uint(0); ; shift += 7 {
  18505. if shift >= 64 {
  18506. return ErrIntOverflowGenerated
  18507. }
  18508. if iNdEx >= l {
  18509. return io.ErrUnexpectedEOF
  18510. }
  18511. b := dAtA[iNdEx]
  18512. iNdEx++
  18513. stringLen |= (uint64(b) & 0x7F) << shift
  18514. if b < 0x80 {
  18515. break
  18516. }
  18517. }
  18518. intStringLen := int(stringLen)
  18519. if intStringLen < 0 {
  18520. return ErrInvalidLengthGenerated
  18521. }
  18522. postIndex := iNdEx + intStringLen
  18523. if postIndex > l {
  18524. return io.ErrUnexpectedEOF
  18525. }
  18526. m.Add = append(m.Add, Capability(dAtA[iNdEx:postIndex]))
  18527. iNdEx = postIndex
  18528. case 2:
  18529. if wireType != 2 {
  18530. return fmt.Errorf("proto: wrong wireType = %d for field Drop", wireType)
  18531. }
  18532. var stringLen uint64
  18533. for shift := uint(0); ; shift += 7 {
  18534. if shift >= 64 {
  18535. return ErrIntOverflowGenerated
  18536. }
  18537. if iNdEx >= l {
  18538. return io.ErrUnexpectedEOF
  18539. }
  18540. b := dAtA[iNdEx]
  18541. iNdEx++
  18542. stringLen |= (uint64(b) & 0x7F) << shift
  18543. if b < 0x80 {
  18544. break
  18545. }
  18546. }
  18547. intStringLen := int(stringLen)
  18548. if intStringLen < 0 {
  18549. return ErrInvalidLengthGenerated
  18550. }
  18551. postIndex := iNdEx + intStringLen
  18552. if postIndex > l {
  18553. return io.ErrUnexpectedEOF
  18554. }
  18555. m.Drop = append(m.Drop, Capability(dAtA[iNdEx:postIndex]))
  18556. iNdEx = postIndex
  18557. default:
  18558. iNdEx = preIndex
  18559. skippy, err := skipGenerated(dAtA[iNdEx:])
  18560. if err != nil {
  18561. return err
  18562. }
  18563. if skippy < 0 {
  18564. return ErrInvalidLengthGenerated
  18565. }
  18566. if (iNdEx + skippy) > l {
  18567. return io.ErrUnexpectedEOF
  18568. }
  18569. iNdEx += skippy
  18570. }
  18571. }
  18572. if iNdEx > l {
  18573. return io.ErrUnexpectedEOF
  18574. }
  18575. return nil
  18576. }
  18577. func (m *CephFSPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  18578. l := len(dAtA)
  18579. iNdEx := 0
  18580. for iNdEx < l {
  18581. preIndex := iNdEx
  18582. var wire uint64
  18583. for shift := uint(0); ; shift += 7 {
  18584. if shift >= 64 {
  18585. return ErrIntOverflowGenerated
  18586. }
  18587. if iNdEx >= l {
  18588. return io.ErrUnexpectedEOF
  18589. }
  18590. b := dAtA[iNdEx]
  18591. iNdEx++
  18592. wire |= (uint64(b) & 0x7F) << shift
  18593. if b < 0x80 {
  18594. break
  18595. }
  18596. }
  18597. fieldNum := int32(wire >> 3)
  18598. wireType := int(wire & 0x7)
  18599. if wireType == 4 {
  18600. return fmt.Errorf("proto: CephFSPersistentVolumeSource: wiretype end group for non-group")
  18601. }
  18602. if fieldNum <= 0 {
  18603. return fmt.Errorf("proto: CephFSPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18604. }
  18605. switch fieldNum {
  18606. case 1:
  18607. if wireType != 2 {
  18608. return fmt.Errorf("proto: wrong wireType = %d for field Monitors", wireType)
  18609. }
  18610. var stringLen uint64
  18611. for shift := uint(0); ; shift += 7 {
  18612. if shift >= 64 {
  18613. return ErrIntOverflowGenerated
  18614. }
  18615. if iNdEx >= l {
  18616. return io.ErrUnexpectedEOF
  18617. }
  18618. b := dAtA[iNdEx]
  18619. iNdEx++
  18620. stringLen |= (uint64(b) & 0x7F) << shift
  18621. if b < 0x80 {
  18622. break
  18623. }
  18624. }
  18625. intStringLen := int(stringLen)
  18626. if intStringLen < 0 {
  18627. return ErrInvalidLengthGenerated
  18628. }
  18629. postIndex := iNdEx + intStringLen
  18630. if postIndex > l {
  18631. return io.ErrUnexpectedEOF
  18632. }
  18633. m.Monitors = append(m.Monitors, string(dAtA[iNdEx:postIndex]))
  18634. iNdEx = postIndex
  18635. case 2:
  18636. if wireType != 2 {
  18637. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  18638. }
  18639. var stringLen uint64
  18640. for shift := uint(0); ; shift += 7 {
  18641. if shift >= 64 {
  18642. return ErrIntOverflowGenerated
  18643. }
  18644. if iNdEx >= l {
  18645. return io.ErrUnexpectedEOF
  18646. }
  18647. b := dAtA[iNdEx]
  18648. iNdEx++
  18649. stringLen |= (uint64(b) & 0x7F) << shift
  18650. if b < 0x80 {
  18651. break
  18652. }
  18653. }
  18654. intStringLen := int(stringLen)
  18655. if intStringLen < 0 {
  18656. return ErrInvalidLengthGenerated
  18657. }
  18658. postIndex := iNdEx + intStringLen
  18659. if postIndex > l {
  18660. return io.ErrUnexpectedEOF
  18661. }
  18662. m.Path = string(dAtA[iNdEx:postIndex])
  18663. iNdEx = postIndex
  18664. case 3:
  18665. if wireType != 2 {
  18666. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  18667. }
  18668. var stringLen uint64
  18669. for shift := uint(0); ; shift += 7 {
  18670. if shift >= 64 {
  18671. return ErrIntOverflowGenerated
  18672. }
  18673. if iNdEx >= l {
  18674. return io.ErrUnexpectedEOF
  18675. }
  18676. b := dAtA[iNdEx]
  18677. iNdEx++
  18678. stringLen |= (uint64(b) & 0x7F) << shift
  18679. if b < 0x80 {
  18680. break
  18681. }
  18682. }
  18683. intStringLen := int(stringLen)
  18684. if intStringLen < 0 {
  18685. return ErrInvalidLengthGenerated
  18686. }
  18687. postIndex := iNdEx + intStringLen
  18688. if postIndex > l {
  18689. return io.ErrUnexpectedEOF
  18690. }
  18691. m.User = string(dAtA[iNdEx:postIndex])
  18692. iNdEx = postIndex
  18693. case 4:
  18694. if wireType != 2 {
  18695. return fmt.Errorf("proto: wrong wireType = %d for field SecretFile", wireType)
  18696. }
  18697. var stringLen uint64
  18698. for shift := uint(0); ; shift += 7 {
  18699. if shift >= 64 {
  18700. return ErrIntOverflowGenerated
  18701. }
  18702. if iNdEx >= l {
  18703. return io.ErrUnexpectedEOF
  18704. }
  18705. b := dAtA[iNdEx]
  18706. iNdEx++
  18707. stringLen |= (uint64(b) & 0x7F) << shift
  18708. if b < 0x80 {
  18709. break
  18710. }
  18711. }
  18712. intStringLen := int(stringLen)
  18713. if intStringLen < 0 {
  18714. return ErrInvalidLengthGenerated
  18715. }
  18716. postIndex := iNdEx + intStringLen
  18717. if postIndex > l {
  18718. return io.ErrUnexpectedEOF
  18719. }
  18720. m.SecretFile = string(dAtA[iNdEx:postIndex])
  18721. iNdEx = postIndex
  18722. case 5:
  18723. if wireType != 2 {
  18724. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  18725. }
  18726. var msglen int
  18727. for shift := uint(0); ; shift += 7 {
  18728. if shift >= 64 {
  18729. return ErrIntOverflowGenerated
  18730. }
  18731. if iNdEx >= l {
  18732. return io.ErrUnexpectedEOF
  18733. }
  18734. b := dAtA[iNdEx]
  18735. iNdEx++
  18736. msglen |= (int(b) & 0x7F) << shift
  18737. if b < 0x80 {
  18738. break
  18739. }
  18740. }
  18741. if msglen < 0 {
  18742. return ErrInvalidLengthGenerated
  18743. }
  18744. postIndex := iNdEx + msglen
  18745. if postIndex > l {
  18746. return io.ErrUnexpectedEOF
  18747. }
  18748. if m.SecretRef == nil {
  18749. m.SecretRef = &SecretReference{}
  18750. }
  18751. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18752. return err
  18753. }
  18754. iNdEx = postIndex
  18755. case 6:
  18756. if wireType != 0 {
  18757. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  18758. }
  18759. var v int
  18760. for shift := uint(0); ; shift += 7 {
  18761. if shift >= 64 {
  18762. return ErrIntOverflowGenerated
  18763. }
  18764. if iNdEx >= l {
  18765. return io.ErrUnexpectedEOF
  18766. }
  18767. b := dAtA[iNdEx]
  18768. iNdEx++
  18769. v |= (int(b) & 0x7F) << shift
  18770. if b < 0x80 {
  18771. break
  18772. }
  18773. }
  18774. m.ReadOnly = bool(v != 0)
  18775. default:
  18776. iNdEx = preIndex
  18777. skippy, err := skipGenerated(dAtA[iNdEx:])
  18778. if err != nil {
  18779. return err
  18780. }
  18781. if skippy < 0 {
  18782. return ErrInvalidLengthGenerated
  18783. }
  18784. if (iNdEx + skippy) > l {
  18785. return io.ErrUnexpectedEOF
  18786. }
  18787. iNdEx += skippy
  18788. }
  18789. }
  18790. if iNdEx > l {
  18791. return io.ErrUnexpectedEOF
  18792. }
  18793. return nil
  18794. }
  18795. func (m *CephFSVolumeSource) Unmarshal(dAtA []byte) error {
  18796. l := len(dAtA)
  18797. iNdEx := 0
  18798. for iNdEx < l {
  18799. preIndex := iNdEx
  18800. var wire uint64
  18801. for shift := uint(0); ; shift += 7 {
  18802. if shift >= 64 {
  18803. return ErrIntOverflowGenerated
  18804. }
  18805. if iNdEx >= l {
  18806. return io.ErrUnexpectedEOF
  18807. }
  18808. b := dAtA[iNdEx]
  18809. iNdEx++
  18810. wire |= (uint64(b) & 0x7F) << shift
  18811. if b < 0x80 {
  18812. break
  18813. }
  18814. }
  18815. fieldNum := int32(wire >> 3)
  18816. wireType := int(wire & 0x7)
  18817. if wireType == 4 {
  18818. return fmt.Errorf("proto: CephFSVolumeSource: wiretype end group for non-group")
  18819. }
  18820. if fieldNum <= 0 {
  18821. return fmt.Errorf("proto: CephFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18822. }
  18823. switch fieldNum {
  18824. case 1:
  18825. if wireType != 2 {
  18826. return fmt.Errorf("proto: wrong wireType = %d for field Monitors", wireType)
  18827. }
  18828. var stringLen uint64
  18829. for shift := uint(0); ; shift += 7 {
  18830. if shift >= 64 {
  18831. return ErrIntOverflowGenerated
  18832. }
  18833. if iNdEx >= l {
  18834. return io.ErrUnexpectedEOF
  18835. }
  18836. b := dAtA[iNdEx]
  18837. iNdEx++
  18838. stringLen |= (uint64(b) & 0x7F) << shift
  18839. if b < 0x80 {
  18840. break
  18841. }
  18842. }
  18843. intStringLen := int(stringLen)
  18844. if intStringLen < 0 {
  18845. return ErrInvalidLengthGenerated
  18846. }
  18847. postIndex := iNdEx + intStringLen
  18848. if postIndex > l {
  18849. return io.ErrUnexpectedEOF
  18850. }
  18851. m.Monitors = append(m.Monitors, string(dAtA[iNdEx:postIndex]))
  18852. iNdEx = postIndex
  18853. case 2:
  18854. if wireType != 2 {
  18855. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  18856. }
  18857. var stringLen uint64
  18858. for shift := uint(0); ; shift += 7 {
  18859. if shift >= 64 {
  18860. return ErrIntOverflowGenerated
  18861. }
  18862. if iNdEx >= l {
  18863. return io.ErrUnexpectedEOF
  18864. }
  18865. b := dAtA[iNdEx]
  18866. iNdEx++
  18867. stringLen |= (uint64(b) & 0x7F) << shift
  18868. if b < 0x80 {
  18869. break
  18870. }
  18871. }
  18872. intStringLen := int(stringLen)
  18873. if intStringLen < 0 {
  18874. return ErrInvalidLengthGenerated
  18875. }
  18876. postIndex := iNdEx + intStringLen
  18877. if postIndex > l {
  18878. return io.ErrUnexpectedEOF
  18879. }
  18880. m.Path = string(dAtA[iNdEx:postIndex])
  18881. iNdEx = postIndex
  18882. case 3:
  18883. if wireType != 2 {
  18884. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  18885. }
  18886. var stringLen uint64
  18887. for shift := uint(0); ; shift += 7 {
  18888. if shift >= 64 {
  18889. return ErrIntOverflowGenerated
  18890. }
  18891. if iNdEx >= l {
  18892. return io.ErrUnexpectedEOF
  18893. }
  18894. b := dAtA[iNdEx]
  18895. iNdEx++
  18896. stringLen |= (uint64(b) & 0x7F) << shift
  18897. if b < 0x80 {
  18898. break
  18899. }
  18900. }
  18901. intStringLen := int(stringLen)
  18902. if intStringLen < 0 {
  18903. return ErrInvalidLengthGenerated
  18904. }
  18905. postIndex := iNdEx + intStringLen
  18906. if postIndex > l {
  18907. return io.ErrUnexpectedEOF
  18908. }
  18909. m.User = string(dAtA[iNdEx:postIndex])
  18910. iNdEx = postIndex
  18911. case 4:
  18912. if wireType != 2 {
  18913. return fmt.Errorf("proto: wrong wireType = %d for field SecretFile", wireType)
  18914. }
  18915. var stringLen uint64
  18916. for shift := uint(0); ; shift += 7 {
  18917. if shift >= 64 {
  18918. return ErrIntOverflowGenerated
  18919. }
  18920. if iNdEx >= l {
  18921. return io.ErrUnexpectedEOF
  18922. }
  18923. b := dAtA[iNdEx]
  18924. iNdEx++
  18925. stringLen |= (uint64(b) & 0x7F) << shift
  18926. if b < 0x80 {
  18927. break
  18928. }
  18929. }
  18930. intStringLen := int(stringLen)
  18931. if intStringLen < 0 {
  18932. return ErrInvalidLengthGenerated
  18933. }
  18934. postIndex := iNdEx + intStringLen
  18935. if postIndex > l {
  18936. return io.ErrUnexpectedEOF
  18937. }
  18938. m.SecretFile = string(dAtA[iNdEx:postIndex])
  18939. iNdEx = postIndex
  18940. case 5:
  18941. if wireType != 2 {
  18942. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  18943. }
  18944. var msglen int
  18945. for shift := uint(0); ; shift += 7 {
  18946. if shift >= 64 {
  18947. return ErrIntOverflowGenerated
  18948. }
  18949. if iNdEx >= l {
  18950. return io.ErrUnexpectedEOF
  18951. }
  18952. b := dAtA[iNdEx]
  18953. iNdEx++
  18954. msglen |= (int(b) & 0x7F) << shift
  18955. if b < 0x80 {
  18956. break
  18957. }
  18958. }
  18959. if msglen < 0 {
  18960. return ErrInvalidLengthGenerated
  18961. }
  18962. postIndex := iNdEx + msglen
  18963. if postIndex > l {
  18964. return io.ErrUnexpectedEOF
  18965. }
  18966. if m.SecretRef == nil {
  18967. m.SecretRef = &LocalObjectReference{}
  18968. }
  18969. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18970. return err
  18971. }
  18972. iNdEx = postIndex
  18973. case 6:
  18974. if wireType != 0 {
  18975. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  18976. }
  18977. var v int
  18978. for shift := uint(0); ; shift += 7 {
  18979. if shift >= 64 {
  18980. return ErrIntOverflowGenerated
  18981. }
  18982. if iNdEx >= l {
  18983. return io.ErrUnexpectedEOF
  18984. }
  18985. b := dAtA[iNdEx]
  18986. iNdEx++
  18987. v |= (int(b) & 0x7F) << shift
  18988. if b < 0x80 {
  18989. break
  18990. }
  18991. }
  18992. m.ReadOnly = bool(v != 0)
  18993. default:
  18994. iNdEx = preIndex
  18995. skippy, err := skipGenerated(dAtA[iNdEx:])
  18996. if err != nil {
  18997. return err
  18998. }
  18999. if skippy < 0 {
  19000. return ErrInvalidLengthGenerated
  19001. }
  19002. if (iNdEx + skippy) > l {
  19003. return io.ErrUnexpectedEOF
  19004. }
  19005. iNdEx += skippy
  19006. }
  19007. }
  19008. if iNdEx > l {
  19009. return io.ErrUnexpectedEOF
  19010. }
  19011. return nil
  19012. }
  19013. func (m *CinderPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  19014. l := len(dAtA)
  19015. iNdEx := 0
  19016. for iNdEx < l {
  19017. preIndex := iNdEx
  19018. var wire uint64
  19019. for shift := uint(0); ; shift += 7 {
  19020. if shift >= 64 {
  19021. return ErrIntOverflowGenerated
  19022. }
  19023. if iNdEx >= l {
  19024. return io.ErrUnexpectedEOF
  19025. }
  19026. b := dAtA[iNdEx]
  19027. iNdEx++
  19028. wire |= (uint64(b) & 0x7F) << shift
  19029. if b < 0x80 {
  19030. break
  19031. }
  19032. }
  19033. fieldNum := int32(wire >> 3)
  19034. wireType := int(wire & 0x7)
  19035. if wireType == 4 {
  19036. return fmt.Errorf("proto: CinderPersistentVolumeSource: wiretype end group for non-group")
  19037. }
  19038. if fieldNum <= 0 {
  19039. return fmt.Errorf("proto: CinderPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19040. }
  19041. switch fieldNum {
  19042. case 1:
  19043. if wireType != 2 {
  19044. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  19045. }
  19046. var stringLen uint64
  19047. for shift := uint(0); ; shift += 7 {
  19048. if shift >= 64 {
  19049. return ErrIntOverflowGenerated
  19050. }
  19051. if iNdEx >= l {
  19052. return io.ErrUnexpectedEOF
  19053. }
  19054. b := dAtA[iNdEx]
  19055. iNdEx++
  19056. stringLen |= (uint64(b) & 0x7F) << shift
  19057. if b < 0x80 {
  19058. break
  19059. }
  19060. }
  19061. intStringLen := int(stringLen)
  19062. if intStringLen < 0 {
  19063. return ErrInvalidLengthGenerated
  19064. }
  19065. postIndex := iNdEx + intStringLen
  19066. if postIndex > l {
  19067. return io.ErrUnexpectedEOF
  19068. }
  19069. m.VolumeID = string(dAtA[iNdEx:postIndex])
  19070. iNdEx = postIndex
  19071. case 2:
  19072. if wireType != 2 {
  19073. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  19074. }
  19075. var stringLen uint64
  19076. for shift := uint(0); ; shift += 7 {
  19077. if shift >= 64 {
  19078. return ErrIntOverflowGenerated
  19079. }
  19080. if iNdEx >= l {
  19081. return io.ErrUnexpectedEOF
  19082. }
  19083. b := dAtA[iNdEx]
  19084. iNdEx++
  19085. stringLen |= (uint64(b) & 0x7F) << shift
  19086. if b < 0x80 {
  19087. break
  19088. }
  19089. }
  19090. intStringLen := int(stringLen)
  19091. if intStringLen < 0 {
  19092. return ErrInvalidLengthGenerated
  19093. }
  19094. postIndex := iNdEx + intStringLen
  19095. if postIndex > l {
  19096. return io.ErrUnexpectedEOF
  19097. }
  19098. m.FSType = string(dAtA[iNdEx:postIndex])
  19099. iNdEx = postIndex
  19100. case 3:
  19101. if wireType != 0 {
  19102. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  19103. }
  19104. var v int
  19105. for shift := uint(0); ; shift += 7 {
  19106. if shift >= 64 {
  19107. return ErrIntOverflowGenerated
  19108. }
  19109. if iNdEx >= l {
  19110. return io.ErrUnexpectedEOF
  19111. }
  19112. b := dAtA[iNdEx]
  19113. iNdEx++
  19114. v |= (int(b) & 0x7F) << shift
  19115. if b < 0x80 {
  19116. break
  19117. }
  19118. }
  19119. m.ReadOnly = bool(v != 0)
  19120. case 4:
  19121. if wireType != 2 {
  19122. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  19123. }
  19124. var msglen int
  19125. for shift := uint(0); ; shift += 7 {
  19126. if shift >= 64 {
  19127. return ErrIntOverflowGenerated
  19128. }
  19129. if iNdEx >= l {
  19130. return io.ErrUnexpectedEOF
  19131. }
  19132. b := dAtA[iNdEx]
  19133. iNdEx++
  19134. msglen |= (int(b) & 0x7F) << shift
  19135. if b < 0x80 {
  19136. break
  19137. }
  19138. }
  19139. if msglen < 0 {
  19140. return ErrInvalidLengthGenerated
  19141. }
  19142. postIndex := iNdEx + msglen
  19143. if postIndex > l {
  19144. return io.ErrUnexpectedEOF
  19145. }
  19146. if m.SecretRef == nil {
  19147. m.SecretRef = &SecretReference{}
  19148. }
  19149. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19150. return err
  19151. }
  19152. iNdEx = postIndex
  19153. default:
  19154. iNdEx = preIndex
  19155. skippy, err := skipGenerated(dAtA[iNdEx:])
  19156. if err != nil {
  19157. return err
  19158. }
  19159. if skippy < 0 {
  19160. return ErrInvalidLengthGenerated
  19161. }
  19162. if (iNdEx + skippy) > l {
  19163. return io.ErrUnexpectedEOF
  19164. }
  19165. iNdEx += skippy
  19166. }
  19167. }
  19168. if iNdEx > l {
  19169. return io.ErrUnexpectedEOF
  19170. }
  19171. return nil
  19172. }
  19173. func (m *CinderVolumeSource) Unmarshal(dAtA []byte) error {
  19174. l := len(dAtA)
  19175. iNdEx := 0
  19176. for iNdEx < l {
  19177. preIndex := iNdEx
  19178. var wire uint64
  19179. for shift := uint(0); ; shift += 7 {
  19180. if shift >= 64 {
  19181. return ErrIntOverflowGenerated
  19182. }
  19183. if iNdEx >= l {
  19184. return io.ErrUnexpectedEOF
  19185. }
  19186. b := dAtA[iNdEx]
  19187. iNdEx++
  19188. wire |= (uint64(b) & 0x7F) << shift
  19189. if b < 0x80 {
  19190. break
  19191. }
  19192. }
  19193. fieldNum := int32(wire >> 3)
  19194. wireType := int(wire & 0x7)
  19195. if wireType == 4 {
  19196. return fmt.Errorf("proto: CinderVolumeSource: wiretype end group for non-group")
  19197. }
  19198. if fieldNum <= 0 {
  19199. return fmt.Errorf("proto: CinderVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19200. }
  19201. switch fieldNum {
  19202. case 1:
  19203. if wireType != 2 {
  19204. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  19205. }
  19206. var stringLen uint64
  19207. for shift := uint(0); ; shift += 7 {
  19208. if shift >= 64 {
  19209. return ErrIntOverflowGenerated
  19210. }
  19211. if iNdEx >= l {
  19212. return io.ErrUnexpectedEOF
  19213. }
  19214. b := dAtA[iNdEx]
  19215. iNdEx++
  19216. stringLen |= (uint64(b) & 0x7F) << shift
  19217. if b < 0x80 {
  19218. break
  19219. }
  19220. }
  19221. intStringLen := int(stringLen)
  19222. if intStringLen < 0 {
  19223. return ErrInvalidLengthGenerated
  19224. }
  19225. postIndex := iNdEx + intStringLen
  19226. if postIndex > l {
  19227. return io.ErrUnexpectedEOF
  19228. }
  19229. m.VolumeID = string(dAtA[iNdEx:postIndex])
  19230. iNdEx = postIndex
  19231. case 2:
  19232. if wireType != 2 {
  19233. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  19234. }
  19235. var stringLen uint64
  19236. for shift := uint(0); ; shift += 7 {
  19237. if shift >= 64 {
  19238. return ErrIntOverflowGenerated
  19239. }
  19240. if iNdEx >= l {
  19241. return io.ErrUnexpectedEOF
  19242. }
  19243. b := dAtA[iNdEx]
  19244. iNdEx++
  19245. stringLen |= (uint64(b) & 0x7F) << shift
  19246. if b < 0x80 {
  19247. break
  19248. }
  19249. }
  19250. intStringLen := int(stringLen)
  19251. if intStringLen < 0 {
  19252. return ErrInvalidLengthGenerated
  19253. }
  19254. postIndex := iNdEx + intStringLen
  19255. if postIndex > l {
  19256. return io.ErrUnexpectedEOF
  19257. }
  19258. m.FSType = string(dAtA[iNdEx:postIndex])
  19259. iNdEx = postIndex
  19260. case 3:
  19261. if wireType != 0 {
  19262. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  19263. }
  19264. var v int
  19265. for shift := uint(0); ; shift += 7 {
  19266. if shift >= 64 {
  19267. return ErrIntOverflowGenerated
  19268. }
  19269. if iNdEx >= l {
  19270. return io.ErrUnexpectedEOF
  19271. }
  19272. b := dAtA[iNdEx]
  19273. iNdEx++
  19274. v |= (int(b) & 0x7F) << shift
  19275. if b < 0x80 {
  19276. break
  19277. }
  19278. }
  19279. m.ReadOnly = bool(v != 0)
  19280. case 4:
  19281. if wireType != 2 {
  19282. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  19283. }
  19284. var msglen int
  19285. for shift := uint(0); ; shift += 7 {
  19286. if shift >= 64 {
  19287. return ErrIntOverflowGenerated
  19288. }
  19289. if iNdEx >= l {
  19290. return io.ErrUnexpectedEOF
  19291. }
  19292. b := dAtA[iNdEx]
  19293. iNdEx++
  19294. msglen |= (int(b) & 0x7F) << shift
  19295. if b < 0x80 {
  19296. break
  19297. }
  19298. }
  19299. if msglen < 0 {
  19300. return ErrInvalidLengthGenerated
  19301. }
  19302. postIndex := iNdEx + msglen
  19303. if postIndex > l {
  19304. return io.ErrUnexpectedEOF
  19305. }
  19306. if m.SecretRef == nil {
  19307. m.SecretRef = &LocalObjectReference{}
  19308. }
  19309. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19310. return err
  19311. }
  19312. iNdEx = postIndex
  19313. default:
  19314. iNdEx = preIndex
  19315. skippy, err := skipGenerated(dAtA[iNdEx:])
  19316. if err != nil {
  19317. return err
  19318. }
  19319. if skippy < 0 {
  19320. return ErrInvalidLengthGenerated
  19321. }
  19322. if (iNdEx + skippy) > l {
  19323. return io.ErrUnexpectedEOF
  19324. }
  19325. iNdEx += skippy
  19326. }
  19327. }
  19328. if iNdEx > l {
  19329. return io.ErrUnexpectedEOF
  19330. }
  19331. return nil
  19332. }
  19333. func (m *ClientIPConfig) Unmarshal(dAtA []byte) error {
  19334. l := len(dAtA)
  19335. iNdEx := 0
  19336. for iNdEx < l {
  19337. preIndex := iNdEx
  19338. var wire uint64
  19339. for shift := uint(0); ; shift += 7 {
  19340. if shift >= 64 {
  19341. return ErrIntOverflowGenerated
  19342. }
  19343. if iNdEx >= l {
  19344. return io.ErrUnexpectedEOF
  19345. }
  19346. b := dAtA[iNdEx]
  19347. iNdEx++
  19348. wire |= (uint64(b) & 0x7F) << shift
  19349. if b < 0x80 {
  19350. break
  19351. }
  19352. }
  19353. fieldNum := int32(wire >> 3)
  19354. wireType := int(wire & 0x7)
  19355. if wireType == 4 {
  19356. return fmt.Errorf("proto: ClientIPConfig: wiretype end group for non-group")
  19357. }
  19358. if fieldNum <= 0 {
  19359. return fmt.Errorf("proto: ClientIPConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  19360. }
  19361. switch fieldNum {
  19362. case 1:
  19363. if wireType != 0 {
  19364. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  19365. }
  19366. var v int32
  19367. for shift := uint(0); ; shift += 7 {
  19368. if shift >= 64 {
  19369. return ErrIntOverflowGenerated
  19370. }
  19371. if iNdEx >= l {
  19372. return io.ErrUnexpectedEOF
  19373. }
  19374. b := dAtA[iNdEx]
  19375. iNdEx++
  19376. v |= (int32(b) & 0x7F) << shift
  19377. if b < 0x80 {
  19378. break
  19379. }
  19380. }
  19381. m.TimeoutSeconds = &v
  19382. default:
  19383. iNdEx = preIndex
  19384. skippy, err := skipGenerated(dAtA[iNdEx:])
  19385. if err != nil {
  19386. return err
  19387. }
  19388. if skippy < 0 {
  19389. return ErrInvalidLengthGenerated
  19390. }
  19391. if (iNdEx + skippy) > l {
  19392. return io.ErrUnexpectedEOF
  19393. }
  19394. iNdEx += skippy
  19395. }
  19396. }
  19397. if iNdEx > l {
  19398. return io.ErrUnexpectedEOF
  19399. }
  19400. return nil
  19401. }
  19402. func (m *ComponentCondition) Unmarshal(dAtA []byte) error {
  19403. l := len(dAtA)
  19404. iNdEx := 0
  19405. for iNdEx < l {
  19406. preIndex := iNdEx
  19407. var wire uint64
  19408. for shift := uint(0); ; shift += 7 {
  19409. if shift >= 64 {
  19410. return ErrIntOverflowGenerated
  19411. }
  19412. if iNdEx >= l {
  19413. return io.ErrUnexpectedEOF
  19414. }
  19415. b := dAtA[iNdEx]
  19416. iNdEx++
  19417. wire |= (uint64(b) & 0x7F) << shift
  19418. if b < 0x80 {
  19419. break
  19420. }
  19421. }
  19422. fieldNum := int32(wire >> 3)
  19423. wireType := int(wire & 0x7)
  19424. if wireType == 4 {
  19425. return fmt.Errorf("proto: ComponentCondition: wiretype end group for non-group")
  19426. }
  19427. if fieldNum <= 0 {
  19428. return fmt.Errorf("proto: ComponentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  19429. }
  19430. switch fieldNum {
  19431. case 1:
  19432. if wireType != 2 {
  19433. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  19434. }
  19435. var stringLen uint64
  19436. for shift := uint(0); ; shift += 7 {
  19437. if shift >= 64 {
  19438. return ErrIntOverflowGenerated
  19439. }
  19440. if iNdEx >= l {
  19441. return io.ErrUnexpectedEOF
  19442. }
  19443. b := dAtA[iNdEx]
  19444. iNdEx++
  19445. stringLen |= (uint64(b) & 0x7F) << shift
  19446. if b < 0x80 {
  19447. break
  19448. }
  19449. }
  19450. intStringLen := int(stringLen)
  19451. if intStringLen < 0 {
  19452. return ErrInvalidLengthGenerated
  19453. }
  19454. postIndex := iNdEx + intStringLen
  19455. if postIndex > l {
  19456. return io.ErrUnexpectedEOF
  19457. }
  19458. m.Type = ComponentConditionType(dAtA[iNdEx:postIndex])
  19459. iNdEx = postIndex
  19460. case 2:
  19461. if wireType != 2 {
  19462. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  19463. }
  19464. var stringLen uint64
  19465. for shift := uint(0); ; shift += 7 {
  19466. if shift >= 64 {
  19467. return ErrIntOverflowGenerated
  19468. }
  19469. if iNdEx >= l {
  19470. return io.ErrUnexpectedEOF
  19471. }
  19472. b := dAtA[iNdEx]
  19473. iNdEx++
  19474. stringLen |= (uint64(b) & 0x7F) << shift
  19475. if b < 0x80 {
  19476. break
  19477. }
  19478. }
  19479. intStringLen := int(stringLen)
  19480. if intStringLen < 0 {
  19481. return ErrInvalidLengthGenerated
  19482. }
  19483. postIndex := iNdEx + intStringLen
  19484. if postIndex > l {
  19485. return io.ErrUnexpectedEOF
  19486. }
  19487. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  19488. iNdEx = postIndex
  19489. case 3:
  19490. if wireType != 2 {
  19491. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  19492. }
  19493. var stringLen uint64
  19494. for shift := uint(0); ; shift += 7 {
  19495. if shift >= 64 {
  19496. return ErrIntOverflowGenerated
  19497. }
  19498. if iNdEx >= l {
  19499. return io.ErrUnexpectedEOF
  19500. }
  19501. b := dAtA[iNdEx]
  19502. iNdEx++
  19503. stringLen |= (uint64(b) & 0x7F) << shift
  19504. if b < 0x80 {
  19505. break
  19506. }
  19507. }
  19508. intStringLen := int(stringLen)
  19509. if intStringLen < 0 {
  19510. return ErrInvalidLengthGenerated
  19511. }
  19512. postIndex := iNdEx + intStringLen
  19513. if postIndex > l {
  19514. return io.ErrUnexpectedEOF
  19515. }
  19516. m.Message = string(dAtA[iNdEx:postIndex])
  19517. iNdEx = postIndex
  19518. case 4:
  19519. if wireType != 2 {
  19520. return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
  19521. }
  19522. var stringLen uint64
  19523. for shift := uint(0); ; shift += 7 {
  19524. if shift >= 64 {
  19525. return ErrIntOverflowGenerated
  19526. }
  19527. if iNdEx >= l {
  19528. return io.ErrUnexpectedEOF
  19529. }
  19530. b := dAtA[iNdEx]
  19531. iNdEx++
  19532. stringLen |= (uint64(b) & 0x7F) << shift
  19533. if b < 0x80 {
  19534. break
  19535. }
  19536. }
  19537. intStringLen := int(stringLen)
  19538. if intStringLen < 0 {
  19539. return ErrInvalidLengthGenerated
  19540. }
  19541. postIndex := iNdEx + intStringLen
  19542. if postIndex > l {
  19543. return io.ErrUnexpectedEOF
  19544. }
  19545. m.Error = string(dAtA[iNdEx:postIndex])
  19546. iNdEx = postIndex
  19547. default:
  19548. iNdEx = preIndex
  19549. skippy, err := skipGenerated(dAtA[iNdEx:])
  19550. if err != nil {
  19551. return err
  19552. }
  19553. if skippy < 0 {
  19554. return ErrInvalidLengthGenerated
  19555. }
  19556. if (iNdEx + skippy) > l {
  19557. return io.ErrUnexpectedEOF
  19558. }
  19559. iNdEx += skippy
  19560. }
  19561. }
  19562. if iNdEx > l {
  19563. return io.ErrUnexpectedEOF
  19564. }
  19565. return nil
  19566. }
  19567. func (m *ComponentStatus) Unmarshal(dAtA []byte) error {
  19568. l := len(dAtA)
  19569. iNdEx := 0
  19570. for iNdEx < l {
  19571. preIndex := iNdEx
  19572. var wire uint64
  19573. for shift := uint(0); ; shift += 7 {
  19574. if shift >= 64 {
  19575. return ErrIntOverflowGenerated
  19576. }
  19577. if iNdEx >= l {
  19578. return io.ErrUnexpectedEOF
  19579. }
  19580. b := dAtA[iNdEx]
  19581. iNdEx++
  19582. wire |= (uint64(b) & 0x7F) << shift
  19583. if b < 0x80 {
  19584. break
  19585. }
  19586. }
  19587. fieldNum := int32(wire >> 3)
  19588. wireType := int(wire & 0x7)
  19589. if wireType == 4 {
  19590. return fmt.Errorf("proto: ComponentStatus: wiretype end group for non-group")
  19591. }
  19592. if fieldNum <= 0 {
  19593. return fmt.Errorf("proto: ComponentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  19594. }
  19595. switch fieldNum {
  19596. case 1:
  19597. if wireType != 2 {
  19598. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  19599. }
  19600. var msglen int
  19601. for shift := uint(0); ; shift += 7 {
  19602. if shift >= 64 {
  19603. return ErrIntOverflowGenerated
  19604. }
  19605. if iNdEx >= l {
  19606. return io.ErrUnexpectedEOF
  19607. }
  19608. b := dAtA[iNdEx]
  19609. iNdEx++
  19610. msglen |= (int(b) & 0x7F) << shift
  19611. if b < 0x80 {
  19612. break
  19613. }
  19614. }
  19615. if msglen < 0 {
  19616. return ErrInvalidLengthGenerated
  19617. }
  19618. postIndex := iNdEx + msglen
  19619. if postIndex > l {
  19620. return io.ErrUnexpectedEOF
  19621. }
  19622. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19623. return err
  19624. }
  19625. iNdEx = postIndex
  19626. case 2:
  19627. if wireType != 2 {
  19628. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  19629. }
  19630. var msglen int
  19631. for shift := uint(0); ; shift += 7 {
  19632. if shift >= 64 {
  19633. return ErrIntOverflowGenerated
  19634. }
  19635. if iNdEx >= l {
  19636. return io.ErrUnexpectedEOF
  19637. }
  19638. b := dAtA[iNdEx]
  19639. iNdEx++
  19640. msglen |= (int(b) & 0x7F) << shift
  19641. if b < 0x80 {
  19642. break
  19643. }
  19644. }
  19645. if msglen < 0 {
  19646. return ErrInvalidLengthGenerated
  19647. }
  19648. postIndex := iNdEx + msglen
  19649. if postIndex > l {
  19650. return io.ErrUnexpectedEOF
  19651. }
  19652. m.Conditions = append(m.Conditions, ComponentCondition{})
  19653. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19654. return err
  19655. }
  19656. iNdEx = postIndex
  19657. default:
  19658. iNdEx = preIndex
  19659. skippy, err := skipGenerated(dAtA[iNdEx:])
  19660. if err != nil {
  19661. return err
  19662. }
  19663. if skippy < 0 {
  19664. return ErrInvalidLengthGenerated
  19665. }
  19666. if (iNdEx + skippy) > l {
  19667. return io.ErrUnexpectedEOF
  19668. }
  19669. iNdEx += skippy
  19670. }
  19671. }
  19672. if iNdEx > l {
  19673. return io.ErrUnexpectedEOF
  19674. }
  19675. return nil
  19676. }
  19677. func (m *ComponentStatusList) Unmarshal(dAtA []byte) error {
  19678. l := len(dAtA)
  19679. iNdEx := 0
  19680. for iNdEx < l {
  19681. preIndex := iNdEx
  19682. var wire uint64
  19683. for shift := uint(0); ; shift += 7 {
  19684. if shift >= 64 {
  19685. return ErrIntOverflowGenerated
  19686. }
  19687. if iNdEx >= l {
  19688. return io.ErrUnexpectedEOF
  19689. }
  19690. b := dAtA[iNdEx]
  19691. iNdEx++
  19692. wire |= (uint64(b) & 0x7F) << shift
  19693. if b < 0x80 {
  19694. break
  19695. }
  19696. }
  19697. fieldNum := int32(wire >> 3)
  19698. wireType := int(wire & 0x7)
  19699. if wireType == 4 {
  19700. return fmt.Errorf("proto: ComponentStatusList: wiretype end group for non-group")
  19701. }
  19702. if fieldNum <= 0 {
  19703. return fmt.Errorf("proto: ComponentStatusList: illegal tag %d (wire type %d)", fieldNum, wire)
  19704. }
  19705. switch fieldNum {
  19706. case 1:
  19707. if wireType != 2 {
  19708. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  19709. }
  19710. var msglen int
  19711. for shift := uint(0); ; shift += 7 {
  19712. if shift >= 64 {
  19713. return ErrIntOverflowGenerated
  19714. }
  19715. if iNdEx >= l {
  19716. return io.ErrUnexpectedEOF
  19717. }
  19718. b := dAtA[iNdEx]
  19719. iNdEx++
  19720. msglen |= (int(b) & 0x7F) << shift
  19721. if b < 0x80 {
  19722. break
  19723. }
  19724. }
  19725. if msglen < 0 {
  19726. return ErrInvalidLengthGenerated
  19727. }
  19728. postIndex := iNdEx + msglen
  19729. if postIndex > l {
  19730. return io.ErrUnexpectedEOF
  19731. }
  19732. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19733. return err
  19734. }
  19735. iNdEx = postIndex
  19736. case 2:
  19737. if wireType != 2 {
  19738. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  19739. }
  19740. var msglen int
  19741. for shift := uint(0); ; shift += 7 {
  19742. if shift >= 64 {
  19743. return ErrIntOverflowGenerated
  19744. }
  19745. if iNdEx >= l {
  19746. return io.ErrUnexpectedEOF
  19747. }
  19748. b := dAtA[iNdEx]
  19749. iNdEx++
  19750. msglen |= (int(b) & 0x7F) << shift
  19751. if b < 0x80 {
  19752. break
  19753. }
  19754. }
  19755. if msglen < 0 {
  19756. return ErrInvalidLengthGenerated
  19757. }
  19758. postIndex := iNdEx + msglen
  19759. if postIndex > l {
  19760. return io.ErrUnexpectedEOF
  19761. }
  19762. m.Items = append(m.Items, ComponentStatus{})
  19763. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19764. return err
  19765. }
  19766. iNdEx = postIndex
  19767. default:
  19768. iNdEx = preIndex
  19769. skippy, err := skipGenerated(dAtA[iNdEx:])
  19770. if err != nil {
  19771. return err
  19772. }
  19773. if skippy < 0 {
  19774. return ErrInvalidLengthGenerated
  19775. }
  19776. if (iNdEx + skippy) > l {
  19777. return io.ErrUnexpectedEOF
  19778. }
  19779. iNdEx += skippy
  19780. }
  19781. }
  19782. if iNdEx > l {
  19783. return io.ErrUnexpectedEOF
  19784. }
  19785. return nil
  19786. }
  19787. func (m *ConfigMap) Unmarshal(dAtA []byte) error {
  19788. l := len(dAtA)
  19789. iNdEx := 0
  19790. for iNdEx < l {
  19791. preIndex := iNdEx
  19792. var wire uint64
  19793. for shift := uint(0); ; shift += 7 {
  19794. if shift >= 64 {
  19795. return ErrIntOverflowGenerated
  19796. }
  19797. if iNdEx >= l {
  19798. return io.ErrUnexpectedEOF
  19799. }
  19800. b := dAtA[iNdEx]
  19801. iNdEx++
  19802. wire |= (uint64(b) & 0x7F) << shift
  19803. if b < 0x80 {
  19804. break
  19805. }
  19806. }
  19807. fieldNum := int32(wire >> 3)
  19808. wireType := int(wire & 0x7)
  19809. if wireType == 4 {
  19810. return fmt.Errorf("proto: ConfigMap: wiretype end group for non-group")
  19811. }
  19812. if fieldNum <= 0 {
  19813. return fmt.Errorf("proto: ConfigMap: illegal tag %d (wire type %d)", fieldNum, wire)
  19814. }
  19815. switch fieldNum {
  19816. case 1:
  19817. if wireType != 2 {
  19818. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  19819. }
  19820. var msglen int
  19821. for shift := uint(0); ; shift += 7 {
  19822. if shift >= 64 {
  19823. return ErrIntOverflowGenerated
  19824. }
  19825. if iNdEx >= l {
  19826. return io.ErrUnexpectedEOF
  19827. }
  19828. b := dAtA[iNdEx]
  19829. iNdEx++
  19830. msglen |= (int(b) & 0x7F) << shift
  19831. if b < 0x80 {
  19832. break
  19833. }
  19834. }
  19835. if msglen < 0 {
  19836. return ErrInvalidLengthGenerated
  19837. }
  19838. postIndex := iNdEx + msglen
  19839. if postIndex > l {
  19840. return io.ErrUnexpectedEOF
  19841. }
  19842. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19843. return err
  19844. }
  19845. iNdEx = postIndex
  19846. case 2:
  19847. if wireType != 2 {
  19848. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  19849. }
  19850. var msglen int
  19851. for shift := uint(0); ; shift += 7 {
  19852. if shift >= 64 {
  19853. return ErrIntOverflowGenerated
  19854. }
  19855. if iNdEx >= l {
  19856. return io.ErrUnexpectedEOF
  19857. }
  19858. b := dAtA[iNdEx]
  19859. iNdEx++
  19860. msglen |= (int(b) & 0x7F) << shift
  19861. if b < 0x80 {
  19862. break
  19863. }
  19864. }
  19865. if msglen < 0 {
  19866. return ErrInvalidLengthGenerated
  19867. }
  19868. postIndex := iNdEx + msglen
  19869. if postIndex > l {
  19870. return io.ErrUnexpectedEOF
  19871. }
  19872. if m.Data == nil {
  19873. m.Data = make(map[string]string)
  19874. }
  19875. var mapkey string
  19876. var mapvalue string
  19877. for iNdEx < postIndex {
  19878. entryPreIndex := iNdEx
  19879. var wire uint64
  19880. for shift := uint(0); ; shift += 7 {
  19881. if shift >= 64 {
  19882. return ErrIntOverflowGenerated
  19883. }
  19884. if iNdEx >= l {
  19885. return io.ErrUnexpectedEOF
  19886. }
  19887. b := dAtA[iNdEx]
  19888. iNdEx++
  19889. wire |= (uint64(b) & 0x7F) << shift
  19890. if b < 0x80 {
  19891. break
  19892. }
  19893. }
  19894. fieldNum := int32(wire >> 3)
  19895. if fieldNum == 1 {
  19896. var stringLenmapkey uint64
  19897. for shift := uint(0); ; shift += 7 {
  19898. if shift >= 64 {
  19899. return ErrIntOverflowGenerated
  19900. }
  19901. if iNdEx >= l {
  19902. return io.ErrUnexpectedEOF
  19903. }
  19904. b := dAtA[iNdEx]
  19905. iNdEx++
  19906. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  19907. if b < 0x80 {
  19908. break
  19909. }
  19910. }
  19911. intStringLenmapkey := int(stringLenmapkey)
  19912. if intStringLenmapkey < 0 {
  19913. return ErrInvalidLengthGenerated
  19914. }
  19915. postStringIndexmapkey := iNdEx + intStringLenmapkey
  19916. if postStringIndexmapkey > l {
  19917. return io.ErrUnexpectedEOF
  19918. }
  19919. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  19920. iNdEx = postStringIndexmapkey
  19921. } else if fieldNum == 2 {
  19922. var stringLenmapvalue uint64
  19923. for shift := uint(0); ; shift += 7 {
  19924. if shift >= 64 {
  19925. return ErrIntOverflowGenerated
  19926. }
  19927. if iNdEx >= l {
  19928. return io.ErrUnexpectedEOF
  19929. }
  19930. b := dAtA[iNdEx]
  19931. iNdEx++
  19932. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  19933. if b < 0x80 {
  19934. break
  19935. }
  19936. }
  19937. intStringLenmapvalue := int(stringLenmapvalue)
  19938. if intStringLenmapvalue < 0 {
  19939. return ErrInvalidLengthGenerated
  19940. }
  19941. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  19942. if postStringIndexmapvalue > l {
  19943. return io.ErrUnexpectedEOF
  19944. }
  19945. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  19946. iNdEx = postStringIndexmapvalue
  19947. } else {
  19948. iNdEx = entryPreIndex
  19949. skippy, err := skipGenerated(dAtA[iNdEx:])
  19950. if err != nil {
  19951. return err
  19952. }
  19953. if skippy < 0 {
  19954. return ErrInvalidLengthGenerated
  19955. }
  19956. if (iNdEx + skippy) > postIndex {
  19957. return io.ErrUnexpectedEOF
  19958. }
  19959. iNdEx += skippy
  19960. }
  19961. }
  19962. m.Data[mapkey] = mapvalue
  19963. iNdEx = postIndex
  19964. case 3:
  19965. if wireType != 2 {
  19966. return fmt.Errorf("proto: wrong wireType = %d for field BinaryData", wireType)
  19967. }
  19968. var msglen int
  19969. for shift := uint(0); ; shift += 7 {
  19970. if shift >= 64 {
  19971. return ErrIntOverflowGenerated
  19972. }
  19973. if iNdEx >= l {
  19974. return io.ErrUnexpectedEOF
  19975. }
  19976. b := dAtA[iNdEx]
  19977. iNdEx++
  19978. msglen |= (int(b) & 0x7F) << shift
  19979. if b < 0x80 {
  19980. break
  19981. }
  19982. }
  19983. if msglen < 0 {
  19984. return ErrInvalidLengthGenerated
  19985. }
  19986. postIndex := iNdEx + msglen
  19987. if postIndex > l {
  19988. return io.ErrUnexpectedEOF
  19989. }
  19990. if m.BinaryData == nil {
  19991. m.BinaryData = make(map[string][]byte)
  19992. }
  19993. var mapkey string
  19994. mapvalue := []byte{}
  19995. for iNdEx < postIndex {
  19996. entryPreIndex := iNdEx
  19997. var wire uint64
  19998. for shift := uint(0); ; shift += 7 {
  19999. if shift >= 64 {
  20000. return ErrIntOverflowGenerated
  20001. }
  20002. if iNdEx >= l {
  20003. return io.ErrUnexpectedEOF
  20004. }
  20005. b := dAtA[iNdEx]
  20006. iNdEx++
  20007. wire |= (uint64(b) & 0x7F) << shift
  20008. if b < 0x80 {
  20009. break
  20010. }
  20011. }
  20012. fieldNum := int32(wire >> 3)
  20013. if fieldNum == 1 {
  20014. var stringLenmapkey uint64
  20015. for shift := uint(0); ; shift += 7 {
  20016. if shift >= 64 {
  20017. return ErrIntOverflowGenerated
  20018. }
  20019. if iNdEx >= l {
  20020. return io.ErrUnexpectedEOF
  20021. }
  20022. b := dAtA[iNdEx]
  20023. iNdEx++
  20024. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  20025. if b < 0x80 {
  20026. break
  20027. }
  20028. }
  20029. intStringLenmapkey := int(stringLenmapkey)
  20030. if intStringLenmapkey < 0 {
  20031. return ErrInvalidLengthGenerated
  20032. }
  20033. postStringIndexmapkey := iNdEx + intStringLenmapkey
  20034. if postStringIndexmapkey > l {
  20035. return io.ErrUnexpectedEOF
  20036. }
  20037. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  20038. iNdEx = postStringIndexmapkey
  20039. } else if fieldNum == 2 {
  20040. var mapbyteLen uint64
  20041. for shift := uint(0); ; shift += 7 {
  20042. if shift >= 64 {
  20043. return ErrIntOverflowGenerated
  20044. }
  20045. if iNdEx >= l {
  20046. return io.ErrUnexpectedEOF
  20047. }
  20048. b := dAtA[iNdEx]
  20049. iNdEx++
  20050. mapbyteLen |= (uint64(b) & 0x7F) << shift
  20051. if b < 0x80 {
  20052. break
  20053. }
  20054. }
  20055. intMapbyteLen := int(mapbyteLen)
  20056. if intMapbyteLen < 0 {
  20057. return ErrInvalidLengthGenerated
  20058. }
  20059. postbytesIndex := iNdEx + intMapbyteLen
  20060. if postbytesIndex > l {
  20061. return io.ErrUnexpectedEOF
  20062. }
  20063. mapvalue = make([]byte, mapbyteLen)
  20064. copy(mapvalue, dAtA[iNdEx:postbytesIndex])
  20065. iNdEx = postbytesIndex
  20066. } else {
  20067. iNdEx = entryPreIndex
  20068. skippy, err := skipGenerated(dAtA[iNdEx:])
  20069. if err != nil {
  20070. return err
  20071. }
  20072. if skippy < 0 {
  20073. return ErrInvalidLengthGenerated
  20074. }
  20075. if (iNdEx + skippy) > postIndex {
  20076. return io.ErrUnexpectedEOF
  20077. }
  20078. iNdEx += skippy
  20079. }
  20080. }
  20081. m.BinaryData[mapkey] = mapvalue
  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 *ConfigMapEnvSource) 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: ConfigMapEnvSource: wiretype end group for non-group")
  20127. }
  20128. if fieldNum <= 0 {
  20129. return fmt.Errorf("proto: ConfigMapEnvSource: 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 LocalObjectReference", wireType)
  20135. }
  20136. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  20147. if b < 0x80 {
  20148. break
  20149. }
  20150. }
  20151. if msglen < 0 {
  20152. return ErrInvalidLengthGenerated
  20153. }
  20154. postIndex := iNdEx + msglen
  20155. if postIndex > l {
  20156. return io.ErrUnexpectedEOF
  20157. }
  20158. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20159. return err
  20160. }
  20161. iNdEx = postIndex
  20162. case 2:
  20163. if wireType != 0 {
  20164. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  20165. }
  20166. var v int
  20167. for shift := uint(0); ; shift += 7 {
  20168. if shift >= 64 {
  20169. return ErrIntOverflowGenerated
  20170. }
  20171. if iNdEx >= l {
  20172. return io.ErrUnexpectedEOF
  20173. }
  20174. b := dAtA[iNdEx]
  20175. iNdEx++
  20176. v |= (int(b) & 0x7F) << shift
  20177. if b < 0x80 {
  20178. break
  20179. }
  20180. }
  20181. b := bool(v != 0)
  20182. m.Optional = &b
  20183. default:
  20184. iNdEx = preIndex
  20185. skippy, err := skipGenerated(dAtA[iNdEx:])
  20186. if err != nil {
  20187. return err
  20188. }
  20189. if skippy < 0 {
  20190. return ErrInvalidLengthGenerated
  20191. }
  20192. if (iNdEx + skippy) > l {
  20193. return io.ErrUnexpectedEOF
  20194. }
  20195. iNdEx += skippy
  20196. }
  20197. }
  20198. if iNdEx > l {
  20199. return io.ErrUnexpectedEOF
  20200. }
  20201. return nil
  20202. }
  20203. func (m *ConfigMapKeySelector) Unmarshal(dAtA []byte) error {
  20204. l := len(dAtA)
  20205. iNdEx := 0
  20206. for iNdEx < l {
  20207. preIndex := iNdEx
  20208. var wire uint64
  20209. for shift := uint(0); ; shift += 7 {
  20210. if shift >= 64 {
  20211. return ErrIntOverflowGenerated
  20212. }
  20213. if iNdEx >= l {
  20214. return io.ErrUnexpectedEOF
  20215. }
  20216. b := dAtA[iNdEx]
  20217. iNdEx++
  20218. wire |= (uint64(b) & 0x7F) << shift
  20219. if b < 0x80 {
  20220. break
  20221. }
  20222. }
  20223. fieldNum := int32(wire >> 3)
  20224. wireType := int(wire & 0x7)
  20225. if wireType == 4 {
  20226. return fmt.Errorf("proto: ConfigMapKeySelector: wiretype end group for non-group")
  20227. }
  20228. if fieldNum <= 0 {
  20229. return fmt.Errorf("proto: ConfigMapKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  20230. }
  20231. switch fieldNum {
  20232. case 1:
  20233. if wireType != 2 {
  20234. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  20235. }
  20236. var msglen int
  20237. for shift := uint(0); ; shift += 7 {
  20238. if shift >= 64 {
  20239. return ErrIntOverflowGenerated
  20240. }
  20241. if iNdEx >= l {
  20242. return io.ErrUnexpectedEOF
  20243. }
  20244. b := dAtA[iNdEx]
  20245. iNdEx++
  20246. msglen |= (int(b) & 0x7F) << shift
  20247. if b < 0x80 {
  20248. break
  20249. }
  20250. }
  20251. if msglen < 0 {
  20252. return ErrInvalidLengthGenerated
  20253. }
  20254. postIndex := iNdEx + msglen
  20255. if postIndex > l {
  20256. return io.ErrUnexpectedEOF
  20257. }
  20258. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20259. return err
  20260. }
  20261. iNdEx = postIndex
  20262. case 2:
  20263. if wireType != 2 {
  20264. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  20265. }
  20266. var stringLen uint64
  20267. for shift := uint(0); ; shift += 7 {
  20268. if shift >= 64 {
  20269. return ErrIntOverflowGenerated
  20270. }
  20271. if iNdEx >= l {
  20272. return io.ErrUnexpectedEOF
  20273. }
  20274. b := dAtA[iNdEx]
  20275. iNdEx++
  20276. stringLen |= (uint64(b) & 0x7F) << shift
  20277. if b < 0x80 {
  20278. break
  20279. }
  20280. }
  20281. intStringLen := int(stringLen)
  20282. if intStringLen < 0 {
  20283. return ErrInvalidLengthGenerated
  20284. }
  20285. postIndex := iNdEx + intStringLen
  20286. if postIndex > l {
  20287. return io.ErrUnexpectedEOF
  20288. }
  20289. m.Key = string(dAtA[iNdEx:postIndex])
  20290. iNdEx = postIndex
  20291. case 3:
  20292. if wireType != 0 {
  20293. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  20294. }
  20295. var v int
  20296. for shift := uint(0); ; shift += 7 {
  20297. if shift >= 64 {
  20298. return ErrIntOverflowGenerated
  20299. }
  20300. if iNdEx >= l {
  20301. return io.ErrUnexpectedEOF
  20302. }
  20303. b := dAtA[iNdEx]
  20304. iNdEx++
  20305. v |= (int(b) & 0x7F) << shift
  20306. if b < 0x80 {
  20307. break
  20308. }
  20309. }
  20310. b := bool(v != 0)
  20311. m.Optional = &b
  20312. default:
  20313. iNdEx = preIndex
  20314. skippy, err := skipGenerated(dAtA[iNdEx:])
  20315. if err != nil {
  20316. return err
  20317. }
  20318. if skippy < 0 {
  20319. return ErrInvalidLengthGenerated
  20320. }
  20321. if (iNdEx + skippy) > l {
  20322. return io.ErrUnexpectedEOF
  20323. }
  20324. iNdEx += skippy
  20325. }
  20326. }
  20327. if iNdEx > l {
  20328. return io.ErrUnexpectedEOF
  20329. }
  20330. return nil
  20331. }
  20332. func (m *ConfigMapList) Unmarshal(dAtA []byte) error {
  20333. l := len(dAtA)
  20334. iNdEx := 0
  20335. for iNdEx < l {
  20336. preIndex := iNdEx
  20337. var wire uint64
  20338. for shift := uint(0); ; shift += 7 {
  20339. if shift >= 64 {
  20340. return ErrIntOverflowGenerated
  20341. }
  20342. if iNdEx >= l {
  20343. return io.ErrUnexpectedEOF
  20344. }
  20345. b := dAtA[iNdEx]
  20346. iNdEx++
  20347. wire |= (uint64(b) & 0x7F) << shift
  20348. if b < 0x80 {
  20349. break
  20350. }
  20351. }
  20352. fieldNum := int32(wire >> 3)
  20353. wireType := int(wire & 0x7)
  20354. if wireType == 4 {
  20355. return fmt.Errorf("proto: ConfigMapList: wiretype end group for non-group")
  20356. }
  20357. if fieldNum <= 0 {
  20358. return fmt.Errorf("proto: ConfigMapList: illegal tag %d (wire type %d)", fieldNum, wire)
  20359. }
  20360. switch fieldNum {
  20361. case 1:
  20362. if wireType != 2 {
  20363. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  20364. }
  20365. var msglen int
  20366. for shift := uint(0); ; shift += 7 {
  20367. if shift >= 64 {
  20368. return ErrIntOverflowGenerated
  20369. }
  20370. if iNdEx >= l {
  20371. return io.ErrUnexpectedEOF
  20372. }
  20373. b := dAtA[iNdEx]
  20374. iNdEx++
  20375. msglen |= (int(b) & 0x7F) << shift
  20376. if b < 0x80 {
  20377. break
  20378. }
  20379. }
  20380. if msglen < 0 {
  20381. return ErrInvalidLengthGenerated
  20382. }
  20383. postIndex := iNdEx + msglen
  20384. if postIndex > l {
  20385. return io.ErrUnexpectedEOF
  20386. }
  20387. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20388. return err
  20389. }
  20390. iNdEx = postIndex
  20391. case 2:
  20392. if wireType != 2 {
  20393. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  20394. }
  20395. var msglen int
  20396. for shift := uint(0); ; shift += 7 {
  20397. if shift >= 64 {
  20398. return ErrIntOverflowGenerated
  20399. }
  20400. if iNdEx >= l {
  20401. return io.ErrUnexpectedEOF
  20402. }
  20403. b := dAtA[iNdEx]
  20404. iNdEx++
  20405. msglen |= (int(b) & 0x7F) << shift
  20406. if b < 0x80 {
  20407. break
  20408. }
  20409. }
  20410. if msglen < 0 {
  20411. return ErrInvalidLengthGenerated
  20412. }
  20413. postIndex := iNdEx + msglen
  20414. if postIndex > l {
  20415. return io.ErrUnexpectedEOF
  20416. }
  20417. m.Items = append(m.Items, ConfigMap{})
  20418. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20419. return err
  20420. }
  20421. iNdEx = postIndex
  20422. default:
  20423. iNdEx = preIndex
  20424. skippy, err := skipGenerated(dAtA[iNdEx:])
  20425. if err != nil {
  20426. return err
  20427. }
  20428. if skippy < 0 {
  20429. return ErrInvalidLengthGenerated
  20430. }
  20431. if (iNdEx + skippy) > l {
  20432. return io.ErrUnexpectedEOF
  20433. }
  20434. iNdEx += skippy
  20435. }
  20436. }
  20437. if iNdEx > l {
  20438. return io.ErrUnexpectedEOF
  20439. }
  20440. return nil
  20441. }
  20442. func (m *ConfigMapNodeConfigSource) Unmarshal(dAtA []byte) error {
  20443. l := len(dAtA)
  20444. iNdEx := 0
  20445. for iNdEx < l {
  20446. preIndex := iNdEx
  20447. var wire uint64
  20448. for shift := uint(0); ; shift += 7 {
  20449. if shift >= 64 {
  20450. return ErrIntOverflowGenerated
  20451. }
  20452. if iNdEx >= l {
  20453. return io.ErrUnexpectedEOF
  20454. }
  20455. b := dAtA[iNdEx]
  20456. iNdEx++
  20457. wire |= (uint64(b) & 0x7F) << shift
  20458. if b < 0x80 {
  20459. break
  20460. }
  20461. }
  20462. fieldNum := int32(wire >> 3)
  20463. wireType := int(wire & 0x7)
  20464. if wireType == 4 {
  20465. return fmt.Errorf("proto: ConfigMapNodeConfigSource: wiretype end group for non-group")
  20466. }
  20467. if fieldNum <= 0 {
  20468. return fmt.Errorf("proto: ConfigMapNodeConfigSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20469. }
  20470. switch fieldNum {
  20471. case 1:
  20472. if wireType != 2 {
  20473. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  20474. }
  20475. var stringLen uint64
  20476. for shift := uint(0); ; shift += 7 {
  20477. if shift >= 64 {
  20478. return ErrIntOverflowGenerated
  20479. }
  20480. if iNdEx >= l {
  20481. return io.ErrUnexpectedEOF
  20482. }
  20483. b := dAtA[iNdEx]
  20484. iNdEx++
  20485. stringLen |= (uint64(b) & 0x7F) << shift
  20486. if b < 0x80 {
  20487. break
  20488. }
  20489. }
  20490. intStringLen := int(stringLen)
  20491. if intStringLen < 0 {
  20492. return ErrInvalidLengthGenerated
  20493. }
  20494. postIndex := iNdEx + intStringLen
  20495. if postIndex > l {
  20496. return io.ErrUnexpectedEOF
  20497. }
  20498. m.Namespace = string(dAtA[iNdEx:postIndex])
  20499. iNdEx = postIndex
  20500. case 2:
  20501. if wireType != 2 {
  20502. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  20503. }
  20504. var stringLen uint64
  20505. for shift := uint(0); ; shift += 7 {
  20506. if shift >= 64 {
  20507. return ErrIntOverflowGenerated
  20508. }
  20509. if iNdEx >= l {
  20510. return io.ErrUnexpectedEOF
  20511. }
  20512. b := dAtA[iNdEx]
  20513. iNdEx++
  20514. stringLen |= (uint64(b) & 0x7F) << shift
  20515. if b < 0x80 {
  20516. break
  20517. }
  20518. }
  20519. intStringLen := int(stringLen)
  20520. if intStringLen < 0 {
  20521. return ErrInvalidLengthGenerated
  20522. }
  20523. postIndex := iNdEx + intStringLen
  20524. if postIndex > l {
  20525. return io.ErrUnexpectedEOF
  20526. }
  20527. m.Name = string(dAtA[iNdEx:postIndex])
  20528. iNdEx = postIndex
  20529. case 3:
  20530. if wireType != 2 {
  20531. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  20532. }
  20533. var stringLen uint64
  20534. for shift := uint(0); ; shift += 7 {
  20535. if shift >= 64 {
  20536. return ErrIntOverflowGenerated
  20537. }
  20538. if iNdEx >= l {
  20539. return io.ErrUnexpectedEOF
  20540. }
  20541. b := dAtA[iNdEx]
  20542. iNdEx++
  20543. stringLen |= (uint64(b) & 0x7F) << shift
  20544. if b < 0x80 {
  20545. break
  20546. }
  20547. }
  20548. intStringLen := int(stringLen)
  20549. if intStringLen < 0 {
  20550. return ErrInvalidLengthGenerated
  20551. }
  20552. postIndex := iNdEx + intStringLen
  20553. if postIndex > l {
  20554. return io.ErrUnexpectedEOF
  20555. }
  20556. m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  20557. iNdEx = postIndex
  20558. case 4:
  20559. if wireType != 2 {
  20560. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  20561. }
  20562. var stringLen uint64
  20563. for shift := uint(0); ; shift += 7 {
  20564. if shift >= 64 {
  20565. return ErrIntOverflowGenerated
  20566. }
  20567. if iNdEx >= l {
  20568. return io.ErrUnexpectedEOF
  20569. }
  20570. b := dAtA[iNdEx]
  20571. iNdEx++
  20572. stringLen |= (uint64(b) & 0x7F) << shift
  20573. if b < 0x80 {
  20574. break
  20575. }
  20576. }
  20577. intStringLen := int(stringLen)
  20578. if intStringLen < 0 {
  20579. return ErrInvalidLengthGenerated
  20580. }
  20581. postIndex := iNdEx + intStringLen
  20582. if postIndex > l {
  20583. return io.ErrUnexpectedEOF
  20584. }
  20585. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  20586. iNdEx = postIndex
  20587. case 5:
  20588. if wireType != 2 {
  20589. return fmt.Errorf("proto: wrong wireType = %d for field KubeletConfigKey", wireType)
  20590. }
  20591. var stringLen uint64
  20592. for shift := uint(0); ; shift += 7 {
  20593. if shift >= 64 {
  20594. return ErrIntOverflowGenerated
  20595. }
  20596. if iNdEx >= l {
  20597. return io.ErrUnexpectedEOF
  20598. }
  20599. b := dAtA[iNdEx]
  20600. iNdEx++
  20601. stringLen |= (uint64(b) & 0x7F) << shift
  20602. if b < 0x80 {
  20603. break
  20604. }
  20605. }
  20606. intStringLen := int(stringLen)
  20607. if intStringLen < 0 {
  20608. return ErrInvalidLengthGenerated
  20609. }
  20610. postIndex := iNdEx + intStringLen
  20611. if postIndex > l {
  20612. return io.ErrUnexpectedEOF
  20613. }
  20614. m.KubeletConfigKey = string(dAtA[iNdEx:postIndex])
  20615. iNdEx = postIndex
  20616. default:
  20617. iNdEx = preIndex
  20618. skippy, err := skipGenerated(dAtA[iNdEx:])
  20619. if err != nil {
  20620. return err
  20621. }
  20622. if skippy < 0 {
  20623. return ErrInvalidLengthGenerated
  20624. }
  20625. if (iNdEx + skippy) > l {
  20626. return io.ErrUnexpectedEOF
  20627. }
  20628. iNdEx += skippy
  20629. }
  20630. }
  20631. if iNdEx > l {
  20632. return io.ErrUnexpectedEOF
  20633. }
  20634. return nil
  20635. }
  20636. func (m *ConfigMapProjection) Unmarshal(dAtA []byte) error {
  20637. l := len(dAtA)
  20638. iNdEx := 0
  20639. for iNdEx < l {
  20640. preIndex := iNdEx
  20641. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  20652. if b < 0x80 {
  20653. break
  20654. }
  20655. }
  20656. fieldNum := int32(wire >> 3)
  20657. wireType := int(wire & 0x7)
  20658. if wireType == 4 {
  20659. return fmt.Errorf("proto: ConfigMapProjection: wiretype end group for non-group")
  20660. }
  20661. if fieldNum <= 0 {
  20662. return fmt.Errorf("proto: ConfigMapProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  20663. }
  20664. switch fieldNum {
  20665. case 1:
  20666. if wireType != 2 {
  20667. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  20668. }
  20669. var msglen int
  20670. for shift := uint(0); ; shift += 7 {
  20671. if shift >= 64 {
  20672. return ErrIntOverflowGenerated
  20673. }
  20674. if iNdEx >= l {
  20675. return io.ErrUnexpectedEOF
  20676. }
  20677. b := dAtA[iNdEx]
  20678. iNdEx++
  20679. msglen |= (int(b) & 0x7F) << shift
  20680. if b < 0x80 {
  20681. break
  20682. }
  20683. }
  20684. if msglen < 0 {
  20685. return ErrInvalidLengthGenerated
  20686. }
  20687. postIndex := iNdEx + msglen
  20688. if postIndex > l {
  20689. return io.ErrUnexpectedEOF
  20690. }
  20691. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20692. return err
  20693. }
  20694. iNdEx = postIndex
  20695. case 2:
  20696. if wireType != 2 {
  20697. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  20698. }
  20699. var msglen int
  20700. for shift := uint(0); ; shift += 7 {
  20701. if shift >= 64 {
  20702. return ErrIntOverflowGenerated
  20703. }
  20704. if iNdEx >= l {
  20705. return io.ErrUnexpectedEOF
  20706. }
  20707. b := dAtA[iNdEx]
  20708. iNdEx++
  20709. msglen |= (int(b) & 0x7F) << shift
  20710. if b < 0x80 {
  20711. break
  20712. }
  20713. }
  20714. if msglen < 0 {
  20715. return ErrInvalidLengthGenerated
  20716. }
  20717. postIndex := iNdEx + msglen
  20718. if postIndex > l {
  20719. return io.ErrUnexpectedEOF
  20720. }
  20721. m.Items = append(m.Items, KeyToPath{})
  20722. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20723. return err
  20724. }
  20725. iNdEx = postIndex
  20726. case 4:
  20727. if wireType != 0 {
  20728. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  20729. }
  20730. var v int
  20731. for shift := uint(0); ; shift += 7 {
  20732. if shift >= 64 {
  20733. return ErrIntOverflowGenerated
  20734. }
  20735. if iNdEx >= l {
  20736. return io.ErrUnexpectedEOF
  20737. }
  20738. b := dAtA[iNdEx]
  20739. iNdEx++
  20740. v |= (int(b) & 0x7F) << shift
  20741. if b < 0x80 {
  20742. break
  20743. }
  20744. }
  20745. b := bool(v != 0)
  20746. m.Optional = &b
  20747. default:
  20748. iNdEx = preIndex
  20749. skippy, err := skipGenerated(dAtA[iNdEx:])
  20750. if err != nil {
  20751. return err
  20752. }
  20753. if skippy < 0 {
  20754. return ErrInvalidLengthGenerated
  20755. }
  20756. if (iNdEx + skippy) > l {
  20757. return io.ErrUnexpectedEOF
  20758. }
  20759. iNdEx += skippy
  20760. }
  20761. }
  20762. if iNdEx > l {
  20763. return io.ErrUnexpectedEOF
  20764. }
  20765. return nil
  20766. }
  20767. func (m *ConfigMapVolumeSource) Unmarshal(dAtA []byte) error {
  20768. l := len(dAtA)
  20769. iNdEx := 0
  20770. for iNdEx < l {
  20771. preIndex := iNdEx
  20772. var wire uint64
  20773. for shift := uint(0); ; shift += 7 {
  20774. if shift >= 64 {
  20775. return ErrIntOverflowGenerated
  20776. }
  20777. if iNdEx >= l {
  20778. return io.ErrUnexpectedEOF
  20779. }
  20780. b := dAtA[iNdEx]
  20781. iNdEx++
  20782. wire |= (uint64(b) & 0x7F) << shift
  20783. if b < 0x80 {
  20784. break
  20785. }
  20786. }
  20787. fieldNum := int32(wire >> 3)
  20788. wireType := int(wire & 0x7)
  20789. if wireType == 4 {
  20790. return fmt.Errorf("proto: ConfigMapVolumeSource: wiretype end group for non-group")
  20791. }
  20792. if fieldNum <= 0 {
  20793. return fmt.Errorf("proto: ConfigMapVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  20794. }
  20795. switch fieldNum {
  20796. case 1:
  20797. if wireType != 2 {
  20798. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  20799. }
  20800. var msglen int
  20801. for shift := uint(0); ; shift += 7 {
  20802. if shift >= 64 {
  20803. return ErrIntOverflowGenerated
  20804. }
  20805. if iNdEx >= l {
  20806. return io.ErrUnexpectedEOF
  20807. }
  20808. b := dAtA[iNdEx]
  20809. iNdEx++
  20810. msglen |= (int(b) & 0x7F) << shift
  20811. if b < 0x80 {
  20812. break
  20813. }
  20814. }
  20815. if msglen < 0 {
  20816. return ErrInvalidLengthGenerated
  20817. }
  20818. postIndex := iNdEx + msglen
  20819. if postIndex > l {
  20820. return io.ErrUnexpectedEOF
  20821. }
  20822. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20823. return err
  20824. }
  20825. iNdEx = postIndex
  20826. case 2:
  20827. if wireType != 2 {
  20828. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  20829. }
  20830. var msglen int
  20831. for shift := uint(0); ; shift += 7 {
  20832. if shift >= 64 {
  20833. return ErrIntOverflowGenerated
  20834. }
  20835. if iNdEx >= l {
  20836. return io.ErrUnexpectedEOF
  20837. }
  20838. b := dAtA[iNdEx]
  20839. iNdEx++
  20840. msglen |= (int(b) & 0x7F) << shift
  20841. if b < 0x80 {
  20842. break
  20843. }
  20844. }
  20845. if msglen < 0 {
  20846. return ErrInvalidLengthGenerated
  20847. }
  20848. postIndex := iNdEx + msglen
  20849. if postIndex > l {
  20850. return io.ErrUnexpectedEOF
  20851. }
  20852. m.Items = append(m.Items, KeyToPath{})
  20853. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20854. return err
  20855. }
  20856. iNdEx = postIndex
  20857. case 3:
  20858. if wireType != 0 {
  20859. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  20860. }
  20861. var v int32
  20862. for shift := uint(0); ; shift += 7 {
  20863. if shift >= 64 {
  20864. return ErrIntOverflowGenerated
  20865. }
  20866. if iNdEx >= l {
  20867. return io.ErrUnexpectedEOF
  20868. }
  20869. b := dAtA[iNdEx]
  20870. iNdEx++
  20871. v |= (int32(b) & 0x7F) << shift
  20872. if b < 0x80 {
  20873. break
  20874. }
  20875. }
  20876. m.DefaultMode = &v
  20877. case 4:
  20878. if wireType != 0 {
  20879. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  20880. }
  20881. var v int
  20882. for shift := uint(0); ; shift += 7 {
  20883. if shift >= 64 {
  20884. return ErrIntOverflowGenerated
  20885. }
  20886. if iNdEx >= l {
  20887. return io.ErrUnexpectedEOF
  20888. }
  20889. b := dAtA[iNdEx]
  20890. iNdEx++
  20891. v |= (int(b) & 0x7F) << shift
  20892. if b < 0x80 {
  20893. break
  20894. }
  20895. }
  20896. b := bool(v != 0)
  20897. m.Optional = &b
  20898. default:
  20899. iNdEx = preIndex
  20900. skippy, err := skipGenerated(dAtA[iNdEx:])
  20901. if err != nil {
  20902. return err
  20903. }
  20904. if skippy < 0 {
  20905. return ErrInvalidLengthGenerated
  20906. }
  20907. if (iNdEx + skippy) > l {
  20908. return io.ErrUnexpectedEOF
  20909. }
  20910. iNdEx += skippy
  20911. }
  20912. }
  20913. if iNdEx > l {
  20914. return io.ErrUnexpectedEOF
  20915. }
  20916. return nil
  20917. }
  20918. func (m *Container) Unmarshal(dAtA []byte) error {
  20919. l := len(dAtA)
  20920. iNdEx := 0
  20921. for iNdEx < l {
  20922. preIndex := iNdEx
  20923. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  20934. if b < 0x80 {
  20935. break
  20936. }
  20937. }
  20938. fieldNum := int32(wire >> 3)
  20939. wireType := int(wire & 0x7)
  20940. if wireType == 4 {
  20941. return fmt.Errorf("proto: Container: wiretype end group for non-group")
  20942. }
  20943. if fieldNum <= 0 {
  20944. return fmt.Errorf("proto: Container: illegal tag %d (wire type %d)", fieldNum, wire)
  20945. }
  20946. switch fieldNum {
  20947. case 1:
  20948. if wireType != 2 {
  20949. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  20950. }
  20951. var stringLen uint64
  20952. for shift := uint(0); ; shift += 7 {
  20953. if shift >= 64 {
  20954. return ErrIntOverflowGenerated
  20955. }
  20956. if iNdEx >= l {
  20957. return io.ErrUnexpectedEOF
  20958. }
  20959. b := dAtA[iNdEx]
  20960. iNdEx++
  20961. stringLen |= (uint64(b) & 0x7F) << shift
  20962. if b < 0x80 {
  20963. break
  20964. }
  20965. }
  20966. intStringLen := int(stringLen)
  20967. if intStringLen < 0 {
  20968. return ErrInvalidLengthGenerated
  20969. }
  20970. postIndex := iNdEx + intStringLen
  20971. if postIndex > l {
  20972. return io.ErrUnexpectedEOF
  20973. }
  20974. m.Name = string(dAtA[iNdEx:postIndex])
  20975. iNdEx = postIndex
  20976. case 2:
  20977. if wireType != 2 {
  20978. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  20979. }
  20980. var stringLen uint64
  20981. for shift := uint(0); ; shift += 7 {
  20982. if shift >= 64 {
  20983. return ErrIntOverflowGenerated
  20984. }
  20985. if iNdEx >= l {
  20986. return io.ErrUnexpectedEOF
  20987. }
  20988. b := dAtA[iNdEx]
  20989. iNdEx++
  20990. stringLen |= (uint64(b) & 0x7F) << shift
  20991. if b < 0x80 {
  20992. break
  20993. }
  20994. }
  20995. intStringLen := int(stringLen)
  20996. if intStringLen < 0 {
  20997. return ErrInvalidLengthGenerated
  20998. }
  20999. postIndex := iNdEx + intStringLen
  21000. if postIndex > l {
  21001. return io.ErrUnexpectedEOF
  21002. }
  21003. m.Image = string(dAtA[iNdEx:postIndex])
  21004. iNdEx = postIndex
  21005. case 3:
  21006. if wireType != 2 {
  21007. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  21008. }
  21009. var stringLen uint64
  21010. for shift := uint(0); ; shift += 7 {
  21011. if shift >= 64 {
  21012. return ErrIntOverflowGenerated
  21013. }
  21014. if iNdEx >= l {
  21015. return io.ErrUnexpectedEOF
  21016. }
  21017. b := dAtA[iNdEx]
  21018. iNdEx++
  21019. stringLen |= (uint64(b) & 0x7F) << shift
  21020. if b < 0x80 {
  21021. break
  21022. }
  21023. }
  21024. intStringLen := int(stringLen)
  21025. if intStringLen < 0 {
  21026. return ErrInvalidLengthGenerated
  21027. }
  21028. postIndex := iNdEx + intStringLen
  21029. if postIndex > l {
  21030. return io.ErrUnexpectedEOF
  21031. }
  21032. m.Command = append(m.Command, string(dAtA[iNdEx:postIndex]))
  21033. iNdEx = postIndex
  21034. case 4:
  21035. if wireType != 2 {
  21036. return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
  21037. }
  21038. var stringLen uint64
  21039. for shift := uint(0); ; shift += 7 {
  21040. if shift >= 64 {
  21041. return ErrIntOverflowGenerated
  21042. }
  21043. if iNdEx >= l {
  21044. return io.ErrUnexpectedEOF
  21045. }
  21046. b := dAtA[iNdEx]
  21047. iNdEx++
  21048. stringLen |= (uint64(b) & 0x7F) << shift
  21049. if b < 0x80 {
  21050. break
  21051. }
  21052. }
  21053. intStringLen := int(stringLen)
  21054. if intStringLen < 0 {
  21055. return ErrInvalidLengthGenerated
  21056. }
  21057. postIndex := iNdEx + intStringLen
  21058. if postIndex > l {
  21059. return io.ErrUnexpectedEOF
  21060. }
  21061. m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
  21062. iNdEx = postIndex
  21063. case 5:
  21064. if wireType != 2 {
  21065. return fmt.Errorf("proto: wrong wireType = %d for field WorkingDir", wireType)
  21066. }
  21067. var stringLen uint64
  21068. for shift := uint(0); ; shift += 7 {
  21069. if shift >= 64 {
  21070. return ErrIntOverflowGenerated
  21071. }
  21072. if iNdEx >= l {
  21073. return io.ErrUnexpectedEOF
  21074. }
  21075. b := dAtA[iNdEx]
  21076. iNdEx++
  21077. stringLen |= (uint64(b) & 0x7F) << shift
  21078. if b < 0x80 {
  21079. break
  21080. }
  21081. }
  21082. intStringLen := int(stringLen)
  21083. if intStringLen < 0 {
  21084. return ErrInvalidLengthGenerated
  21085. }
  21086. postIndex := iNdEx + intStringLen
  21087. if postIndex > l {
  21088. return io.ErrUnexpectedEOF
  21089. }
  21090. m.WorkingDir = string(dAtA[iNdEx:postIndex])
  21091. iNdEx = postIndex
  21092. case 6:
  21093. if wireType != 2 {
  21094. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  21095. }
  21096. var msglen int
  21097. for shift := uint(0); ; shift += 7 {
  21098. if shift >= 64 {
  21099. return ErrIntOverflowGenerated
  21100. }
  21101. if iNdEx >= l {
  21102. return io.ErrUnexpectedEOF
  21103. }
  21104. b := dAtA[iNdEx]
  21105. iNdEx++
  21106. msglen |= (int(b) & 0x7F) << shift
  21107. if b < 0x80 {
  21108. break
  21109. }
  21110. }
  21111. if msglen < 0 {
  21112. return ErrInvalidLengthGenerated
  21113. }
  21114. postIndex := iNdEx + msglen
  21115. if postIndex > l {
  21116. return io.ErrUnexpectedEOF
  21117. }
  21118. m.Ports = append(m.Ports, ContainerPort{})
  21119. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21120. return err
  21121. }
  21122. iNdEx = postIndex
  21123. case 7:
  21124. if wireType != 2 {
  21125. return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
  21126. }
  21127. var msglen int
  21128. for shift := uint(0); ; shift += 7 {
  21129. if shift >= 64 {
  21130. return ErrIntOverflowGenerated
  21131. }
  21132. if iNdEx >= l {
  21133. return io.ErrUnexpectedEOF
  21134. }
  21135. b := dAtA[iNdEx]
  21136. iNdEx++
  21137. msglen |= (int(b) & 0x7F) << shift
  21138. if b < 0x80 {
  21139. break
  21140. }
  21141. }
  21142. if msglen < 0 {
  21143. return ErrInvalidLengthGenerated
  21144. }
  21145. postIndex := iNdEx + msglen
  21146. if postIndex > l {
  21147. return io.ErrUnexpectedEOF
  21148. }
  21149. m.Env = append(m.Env, EnvVar{})
  21150. if err := m.Env[len(m.Env)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21151. return err
  21152. }
  21153. iNdEx = postIndex
  21154. case 8:
  21155. if wireType != 2 {
  21156. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  21157. }
  21158. var msglen int
  21159. for shift := uint(0); ; shift += 7 {
  21160. if shift >= 64 {
  21161. return ErrIntOverflowGenerated
  21162. }
  21163. if iNdEx >= l {
  21164. return io.ErrUnexpectedEOF
  21165. }
  21166. b := dAtA[iNdEx]
  21167. iNdEx++
  21168. msglen |= (int(b) & 0x7F) << shift
  21169. if b < 0x80 {
  21170. break
  21171. }
  21172. }
  21173. if msglen < 0 {
  21174. return ErrInvalidLengthGenerated
  21175. }
  21176. postIndex := iNdEx + msglen
  21177. if postIndex > l {
  21178. return io.ErrUnexpectedEOF
  21179. }
  21180. if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21181. return err
  21182. }
  21183. iNdEx = postIndex
  21184. case 9:
  21185. if wireType != 2 {
  21186. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMounts", wireType)
  21187. }
  21188. var msglen int
  21189. for shift := uint(0); ; shift += 7 {
  21190. if shift >= 64 {
  21191. return ErrIntOverflowGenerated
  21192. }
  21193. if iNdEx >= l {
  21194. return io.ErrUnexpectedEOF
  21195. }
  21196. b := dAtA[iNdEx]
  21197. iNdEx++
  21198. msglen |= (int(b) & 0x7F) << shift
  21199. if b < 0x80 {
  21200. break
  21201. }
  21202. }
  21203. if msglen < 0 {
  21204. return ErrInvalidLengthGenerated
  21205. }
  21206. postIndex := iNdEx + msglen
  21207. if postIndex > l {
  21208. return io.ErrUnexpectedEOF
  21209. }
  21210. m.VolumeMounts = append(m.VolumeMounts, VolumeMount{})
  21211. if err := m.VolumeMounts[len(m.VolumeMounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21212. return err
  21213. }
  21214. iNdEx = postIndex
  21215. case 10:
  21216. if wireType != 2 {
  21217. return fmt.Errorf("proto: wrong wireType = %d for field LivenessProbe", wireType)
  21218. }
  21219. var msglen int
  21220. for shift := uint(0); ; shift += 7 {
  21221. if shift >= 64 {
  21222. return ErrIntOverflowGenerated
  21223. }
  21224. if iNdEx >= l {
  21225. return io.ErrUnexpectedEOF
  21226. }
  21227. b := dAtA[iNdEx]
  21228. iNdEx++
  21229. msglen |= (int(b) & 0x7F) << shift
  21230. if b < 0x80 {
  21231. break
  21232. }
  21233. }
  21234. if msglen < 0 {
  21235. return ErrInvalidLengthGenerated
  21236. }
  21237. postIndex := iNdEx + msglen
  21238. if postIndex > l {
  21239. return io.ErrUnexpectedEOF
  21240. }
  21241. if m.LivenessProbe == nil {
  21242. m.LivenessProbe = &Probe{}
  21243. }
  21244. if err := m.LivenessProbe.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21245. return err
  21246. }
  21247. iNdEx = postIndex
  21248. case 11:
  21249. if wireType != 2 {
  21250. return fmt.Errorf("proto: wrong wireType = %d for field ReadinessProbe", wireType)
  21251. }
  21252. var msglen int
  21253. for shift := uint(0); ; shift += 7 {
  21254. if shift >= 64 {
  21255. return ErrIntOverflowGenerated
  21256. }
  21257. if iNdEx >= l {
  21258. return io.ErrUnexpectedEOF
  21259. }
  21260. b := dAtA[iNdEx]
  21261. iNdEx++
  21262. msglen |= (int(b) & 0x7F) << shift
  21263. if b < 0x80 {
  21264. break
  21265. }
  21266. }
  21267. if msglen < 0 {
  21268. return ErrInvalidLengthGenerated
  21269. }
  21270. postIndex := iNdEx + msglen
  21271. if postIndex > l {
  21272. return io.ErrUnexpectedEOF
  21273. }
  21274. if m.ReadinessProbe == nil {
  21275. m.ReadinessProbe = &Probe{}
  21276. }
  21277. if err := m.ReadinessProbe.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21278. return err
  21279. }
  21280. iNdEx = postIndex
  21281. case 12:
  21282. if wireType != 2 {
  21283. return fmt.Errorf("proto: wrong wireType = %d for field Lifecycle", wireType)
  21284. }
  21285. var msglen int
  21286. for shift := uint(0); ; shift += 7 {
  21287. if shift >= 64 {
  21288. return ErrIntOverflowGenerated
  21289. }
  21290. if iNdEx >= l {
  21291. return io.ErrUnexpectedEOF
  21292. }
  21293. b := dAtA[iNdEx]
  21294. iNdEx++
  21295. msglen |= (int(b) & 0x7F) << shift
  21296. if b < 0x80 {
  21297. break
  21298. }
  21299. }
  21300. if msglen < 0 {
  21301. return ErrInvalidLengthGenerated
  21302. }
  21303. postIndex := iNdEx + msglen
  21304. if postIndex > l {
  21305. return io.ErrUnexpectedEOF
  21306. }
  21307. if m.Lifecycle == nil {
  21308. m.Lifecycle = &Lifecycle{}
  21309. }
  21310. if err := m.Lifecycle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21311. return err
  21312. }
  21313. iNdEx = postIndex
  21314. case 13:
  21315. if wireType != 2 {
  21316. return fmt.Errorf("proto: wrong wireType = %d for field TerminationMessagePath", wireType)
  21317. }
  21318. var stringLen uint64
  21319. for shift := uint(0); ; shift += 7 {
  21320. if shift >= 64 {
  21321. return ErrIntOverflowGenerated
  21322. }
  21323. if iNdEx >= l {
  21324. return io.ErrUnexpectedEOF
  21325. }
  21326. b := dAtA[iNdEx]
  21327. iNdEx++
  21328. stringLen |= (uint64(b) & 0x7F) << shift
  21329. if b < 0x80 {
  21330. break
  21331. }
  21332. }
  21333. intStringLen := int(stringLen)
  21334. if intStringLen < 0 {
  21335. return ErrInvalidLengthGenerated
  21336. }
  21337. postIndex := iNdEx + intStringLen
  21338. if postIndex > l {
  21339. return io.ErrUnexpectedEOF
  21340. }
  21341. m.TerminationMessagePath = string(dAtA[iNdEx:postIndex])
  21342. iNdEx = postIndex
  21343. case 14:
  21344. if wireType != 2 {
  21345. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullPolicy", wireType)
  21346. }
  21347. var stringLen uint64
  21348. for shift := uint(0); ; shift += 7 {
  21349. if shift >= 64 {
  21350. return ErrIntOverflowGenerated
  21351. }
  21352. if iNdEx >= l {
  21353. return io.ErrUnexpectedEOF
  21354. }
  21355. b := dAtA[iNdEx]
  21356. iNdEx++
  21357. stringLen |= (uint64(b) & 0x7F) << shift
  21358. if b < 0x80 {
  21359. break
  21360. }
  21361. }
  21362. intStringLen := int(stringLen)
  21363. if intStringLen < 0 {
  21364. return ErrInvalidLengthGenerated
  21365. }
  21366. postIndex := iNdEx + intStringLen
  21367. if postIndex > l {
  21368. return io.ErrUnexpectedEOF
  21369. }
  21370. m.ImagePullPolicy = PullPolicy(dAtA[iNdEx:postIndex])
  21371. iNdEx = postIndex
  21372. case 15:
  21373. if wireType != 2 {
  21374. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  21375. }
  21376. var msglen int
  21377. for shift := uint(0); ; shift += 7 {
  21378. if shift >= 64 {
  21379. return ErrIntOverflowGenerated
  21380. }
  21381. if iNdEx >= l {
  21382. return io.ErrUnexpectedEOF
  21383. }
  21384. b := dAtA[iNdEx]
  21385. iNdEx++
  21386. msglen |= (int(b) & 0x7F) << shift
  21387. if b < 0x80 {
  21388. break
  21389. }
  21390. }
  21391. if msglen < 0 {
  21392. return ErrInvalidLengthGenerated
  21393. }
  21394. postIndex := iNdEx + msglen
  21395. if postIndex > l {
  21396. return io.ErrUnexpectedEOF
  21397. }
  21398. if m.SecurityContext == nil {
  21399. m.SecurityContext = &SecurityContext{}
  21400. }
  21401. if err := m.SecurityContext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21402. return err
  21403. }
  21404. iNdEx = postIndex
  21405. case 16:
  21406. if wireType != 0 {
  21407. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  21408. }
  21409. var v int
  21410. for shift := uint(0); ; shift += 7 {
  21411. if shift >= 64 {
  21412. return ErrIntOverflowGenerated
  21413. }
  21414. if iNdEx >= l {
  21415. return io.ErrUnexpectedEOF
  21416. }
  21417. b := dAtA[iNdEx]
  21418. iNdEx++
  21419. v |= (int(b) & 0x7F) << shift
  21420. if b < 0x80 {
  21421. break
  21422. }
  21423. }
  21424. m.Stdin = bool(v != 0)
  21425. case 17:
  21426. if wireType != 0 {
  21427. return fmt.Errorf("proto: wrong wireType = %d for field StdinOnce", wireType)
  21428. }
  21429. var v int
  21430. for shift := uint(0); ; shift += 7 {
  21431. if shift >= 64 {
  21432. return ErrIntOverflowGenerated
  21433. }
  21434. if iNdEx >= l {
  21435. return io.ErrUnexpectedEOF
  21436. }
  21437. b := dAtA[iNdEx]
  21438. iNdEx++
  21439. v |= (int(b) & 0x7F) << shift
  21440. if b < 0x80 {
  21441. break
  21442. }
  21443. }
  21444. m.StdinOnce = bool(v != 0)
  21445. case 18:
  21446. if wireType != 0 {
  21447. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  21448. }
  21449. var v int
  21450. for shift := uint(0); ; shift += 7 {
  21451. if shift >= 64 {
  21452. return ErrIntOverflowGenerated
  21453. }
  21454. if iNdEx >= l {
  21455. return io.ErrUnexpectedEOF
  21456. }
  21457. b := dAtA[iNdEx]
  21458. iNdEx++
  21459. v |= (int(b) & 0x7F) << shift
  21460. if b < 0x80 {
  21461. break
  21462. }
  21463. }
  21464. m.TTY = bool(v != 0)
  21465. case 19:
  21466. if wireType != 2 {
  21467. return fmt.Errorf("proto: wrong wireType = %d for field EnvFrom", wireType)
  21468. }
  21469. var msglen int
  21470. for shift := uint(0); ; shift += 7 {
  21471. if shift >= 64 {
  21472. return ErrIntOverflowGenerated
  21473. }
  21474. if iNdEx >= l {
  21475. return io.ErrUnexpectedEOF
  21476. }
  21477. b := dAtA[iNdEx]
  21478. iNdEx++
  21479. msglen |= (int(b) & 0x7F) << shift
  21480. if b < 0x80 {
  21481. break
  21482. }
  21483. }
  21484. if msglen < 0 {
  21485. return ErrInvalidLengthGenerated
  21486. }
  21487. postIndex := iNdEx + msglen
  21488. if postIndex > l {
  21489. return io.ErrUnexpectedEOF
  21490. }
  21491. m.EnvFrom = append(m.EnvFrom, EnvFromSource{})
  21492. if err := m.EnvFrom[len(m.EnvFrom)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21493. return err
  21494. }
  21495. iNdEx = postIndex
  21496. case 20:
  21497. if wireType != 2 {
  21498. return fmt.Errorf("proto: wrong wireType = %d for field TerminationMessagePolicy", wireType)
  21499. }
  21500. var stringLen uint64
  21501. for shift := uint(0); ; shift += 7 {
  21502. if shift >= 64 {
  21503. return ErrIntOverflowGenerated
  21504. }
  21505. if iNdEx >= l {
  21506. return io.ErrUnexpectedEOF
  21507. }
  21508. b := dAtA[iNdEx]
  21509. iNdEx++
  21510. stringLen |= (uint64(b) & 0x7F) << shift
  21511. if b < 0x80 {
  21512. break
  21513. }
  21514. }
  21515. intStringLen := int(stringLen)
  21516. if intStringLen < 0 {
  21517. return ErrInvalidLengthGenerated
  21518. }
  21519. postIndex := iNdEx + intStringLen
  21520. if postIndex > l {
  21521. return io.ErrUnexpectedEOF
  21522. }
  21523. m.TerminationMessagePolicy = TerminationMessagePolicy(dAtA[iNdEx:postIndex])
  21524. iNdEx = postIndex
  21525. case 21:
  21526. if wireType != 2 {
  21527. return fmt.Errorf("proto: wrong wireType = %d for field VolumeDevices", wireType)
  21528. }
  21529. var msglen int
  21530. for shift := uint(0); ; shift += 7 {
  21531. if shift >= 64 {
  21532. return ErrIntOverflowGenerated
  21533. }
  21534. if iNdEx >= l {
  21535. return io.ErrUnexpectedEOF
  21536. }
  21537. b := dAtA[iNdEx]
  21538. iNdEx++
  21539. msglen |= (int(b) & 0x7F) << shift
  21540. if b < 0x80 {
  21541. break
  21542. }
  21543. }
  21544. if msglen < 0 {
  21545. return ErrInvalidLengthGenerated
  21546. }
  21547. postIndex := iNdEx + msglen
  21548. if postIndex > l {
  21549. return io.ErrUnexpectedEOF
  21550. }
  21551. m.VolumeDevices = append(m.VolumeDevices, VolumeDevice{})
  21552. if err := m.VolumeDevices[len(m.VolumeDevices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21553. return err
  21554. }
  21555. iNdEx = postIndex
  21556. default:
  21557. iNdEx = preIndex
  21558. skippy, err := skipGenerated(dAtA[iNdEx:])
  21559. if err != nil {
  21560. return err
  21561. }
  21562. if skippy < 0 {
  21563. return ErrInvalidLengthGenerated
  21564. }
  21565. if (iNdEx + skippy) > l {
  21566. return io.ErrUnexpectedEOF
  21567. }
  21568. iNdEx += skippy
  21569. }
  21570. }
  21571. if iNdEx > l {
  21572. return io.ErrUnexpectedEOF
  21573. }
  21574. return nil
  21575. }
  21576. func (m *ContainerImage) Unmarshal(dAtA []byte) error {
  21577. l := len(dAtA)
  21578. iNdEx := 0
  21579. for iNdEx < l {
  21580. preIndex := iNdEx
  21581. var wire uint64
  21582. for shift := uint(0); ; shift += 7 {
  21583. if shift >= 64 {
  21584. return ErrIntOverflowGenerated
  21585. }
  21586. if iNdEx >= l {
  21587. return io.ErrUnexpectedEOF
  21588. }
  21589. b := dAtA[iNdEx]
  21590. iNdEx++
  21591. wire |= (uint64(b) & 0x7F) << shift
  21592. if b < 0x80 {
  21593. break
  21594. }
  21595. }
  21596. fieldNum := int32(wire >> 3)
  21597. wireType := int(wire & 0x7)
  21598. if wireType == 4 {
  21599. return fmt.Errorf("proto: ContainerImage: wiretype end group for non-group")
  21600. }
  21601. if fieldNum <= 0 {
  21602. return fmt.Errorf("proto: ContainerImage: illegal tag %d (wire type %d)", fieldNum, wire)
  21603. }
  21604. switch fieldNum {
  21605. case 1:
  21606. if wireType != 2 {
  21607. return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType)
  21608. }
  21609. var stringLen uint64
  21610. for shift := uint(0); ; shift += 7 {
  21611. if shift >= 64 {
  21612. return ErrIntOverflowGenerated
  21613. }
  21614. if iNdEx >= l {
  21615. return io.ErrUnexpectedEOF
  21616. }
  21617. b := dAtA[iNdEx]
  21618. iNdEx++
  21619. stringLen |= (uint64(b) & 0x7F) << shift
  21620. if b < 0x80 {
  21621. break
  21622. }
  21623. }
  21624. intStringLen := int(stringLen)
  21625. if intStringLen < 0 {
  21626. return ErrInvalidLengthGenerated
  21627. }
  21628. postIndex := iNdEx + intStringLen
  21629. if postIndex > l {
  21630. return io.ErrUnexpectedEOF
  21631. }
  21632. m.Names = append(m.Names, string(dAtA[iNdEx:postIndex]))
  21633. iNdEx = postIndex
  21634. case 2:
  21635. if wireType != 0 {
  21636. return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
  21637. }
  21638. m.SizeBytes = 0
  21639. for shift := uint(0); ; shift += 7 {
  21640. if shift >= 64 {
  21641. return ErrIntOverflowGenerated
  21642. }
  21643. if iNdEx >= l {
  21644. return io.ErrUnexpectedEOF
  21645. }
  21646. b := dAtA[iNdEx]
  21647. iNdEx++
  21648. m.SizeBytes |= (int64(b) & 0x7F) << shift
  21649. if b < 0x80 {
  21650. break
  21651. }
  21652. }
  21653. default:
  21654. iNdEx = preIndex
  21655. skippy, err := skipGenerated(dAtA[iNdEx:])
  21656. if err != nil {
  21657. return err
  21658. }
  21659. if skippy < 0 {
  21660. return ErrInvalidLengthGenerated
  21661. }
  21662. if (iNdEx + skippy) > l {
  21663. return io.ErrUnexpectedEOF
  21664. }
  21665. iNdEx += skippy
  21666. }
  21667. }
  21668. if iNdEx > l {
  21669. return io.ErrUnexpectedEOF
  21670. }
  21671. return nil
  21672. }
  21673. func (m *ContainerPort) Unmarshal(dAtA []byte) error {
  21674. l := len(dAtA)
  21675. iNdEx := 0
  21676. for iNdEx < l {
  21677. preIndex := iNdEx
  21678. var wire uint64
  21679. for shift := uint(0); ; shift += 7 {
  21680. if shift >= 64 {
  21681. return ErrIntOverflowGenerated
  21682. }
  21683. if iNdEx >= l {
  21684. return io.ErrUnexpectedEOF
  21685. }
  21686. b := dAtA[iNdEx]
  21687. iNdEx++
  21688. wire |= (uint64(b) & 0x7F) << shift
  21689. if b < 0x80 {
  21690. break
  21691. }
  21692. }
  21693. fieldNum := int32(wire >> 3)
  21694. wireType := int(wire & 0x7)
  21695. if wireType == 4 {
  21696. return fmt.Errorf("proto: ContainerPort: wiretype end group for non-group")
  21697. }
  21698. if fieldNum <= 0 {
  21699. return fmt.Errorf("proto: ContainerPort: illegal tag %d (wire type %d)", fieldNum, wire)
  21700. }
  21701. switch fieldNum {
  21702. case 1:
  21703. if wireType != 2 {
  21704. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  21705. }
  21706. var stringLen uint64
  21707. for shift := uint(0); ; shift += 7 {
  21708. if shift >= 64 {
  21709. return ErrIntOverflowGenerated
  21710. }
  21711. if iNdEx >= l {
  21712. return io.ErrUnexpectedEOF
  21713. }
  21714. b := dAtA[iNdEx]
  21715. iNdEx++
  21716. stringLen |= (uint64(b) & 0x7F) << shift
  21717. if b < 0x80 {
  21718. break
  21719. }
  21720. }
  21721. intStringLen := int(stringLen)
  21722. if intStringLen < 0 {
  21723. return ErrInvalidLengthGenerated
  21724. }
  21725. postIndex := iNdEx + intStringLen
  21726. if postIndex > l {
  21727. return io.ErrUnexpectedEOF
  21728. }
  21729. m.Name = string(dAtA[iNdEx:postIndex])
  21730. iNdEx = postIndex
  21731. case 2:
  21732. if wireType != 0 {
  21733. return fmt.Errorf("proto: wrong wireType = %d for field HostPort", wireType)
  21734. }
  21735. m.HostPort = 0
  21736. for shift := uint(0); ; shift += 7 {
  21737. if shift >= 64 {
  21738. return ErrIntOverflowGenerated
  21739. }
  21740. if iNdEx >= l {
  21741. return io.ErrUnexpectedEOF
  21742. }
  21743. b := dAtA[iNdEx]
  21744. iNdEx++
  21745. m.HostPort |= (int32(b) & 0x7F) << shift
  21746. if b < 0x80 {
  21747. break
  21748. }
  21749. }
  21750. case 3:
  21751. if wireType != 0 {
  21752. return fmt.Errorf("proto: wrong wireType = %d for field ContainerPort", wireType)
  21753. }
  21754. m.ContainerPort = 0
  21755. for shift := uint(0); ; shift += 7 {
  21756. if shift >= 64 {
  21757. return ErrIntOverflowGenerated
  21758. }
  21759. if iNdEx >= l {
  21760. return io.ErrUnexpectedEOF
  21761. }
  21762. b := dAtA[iNdEx]
  21763. iNdEx++
  21764. m.ContainerPort |= (int32(b) & 0x7F) << shift
  21765. if b < 0x80 {
  21766. break
  21767. }
  21768. }
  21769. case 4:
  21770. if wireType != 2 {
  21771. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  21772. }
  21773. var stringLen uint64
  21774. for shift := uint(0); ; shift += 7 {
  21775. if shift >= 64 {
  21776. return ErrIntOverflowGenerated
  21777. }
  21778. if iNdEx >= l {
  21779. return io.ErrUnexpectedEOF
  21780. }
  21781. b := dAtA[iNdEx]
  21782. iNdEx++
  21783. stringLen |= (uint64(b) & 0x7F) << shift
  21784. if b < 0x80 {
  21785. break
  21786. }
  21787. }
  21788. intStringLen := int(stringLen)
  21789. if intStringLen < 0 {
  21790. return ErrInvalidLengthGenerated
  21791. }
  21792. postIndex := iNdEx + intStringLen
  21793. if postIndex > l {
  21794. return io.ErrUnexpectedEOF
  21795. }
  21796. m.Protocol = Protocol(dAtA[iNdEx:postIndex])
  21797. iNdEx = postIndex
  21798. case 5:
  21799. if wireType != 2 {
  21800. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  21801. }
  21802. var stringLen uint64
  21803. for shift := uint(0); ; shift += 7 {
  21804. if shift >= 64 {
  21805. return ErrIntOverflowGenerated
  21806. }
  21807. if iNdEx >= l {
  21808. return io.ErrUnexpectedEOF
  21809. }
  21810. b := dAtA[iNdEx]
  21811. iNdEx++
  21812. stringLen |= (uint64(b) & 0x7F) << shift
  21813. if b < 0x80 {
  21814. break
  21815. }
  21816. }
  21817. intStringLen := int(stringLen)
  21818. if intStringLen < 0 {
  21819. return ErrInvalidLengthGenerated
  21820. }
  21821. postIndex := iNdEx + intStringLen
  21822. if postIndex > l {
  21823. return io.ErrUnexpectedEOF
  21824. }
  21825. m.HostIP = string(dAtA[iNdEx:postIndex])
  21826. iNdEx = postIndex
  21827. default:
  21828. iNdEx = preIndex
  21829. skippy, err := skipGenerated(dAtA[iNdEx:])
  21830. if err != nil {
  21831. return err
  21832. }
  21833. if skippy < 0 {
  21834. return ErrInvalidLengthGenerated
  21835. }
  21836. if (iNdEx + skippy) > l {
  21837. return io.ErrUnexpectedEOF
  21838. }
  21839. iNdEx += skippy
  21840. }
  21841. }
  21842. if iNdEx > l {
  21843. return io.ErrUnexpectedEOF
  21844. }
  21845. return nil
  21846. }
  21847. func (m *ContainerState) Unmarshal(dAtA []byte) error {
  21848. l := len(dAtA)
  21849. iNdEx := 0
  21850. for iNdEx < l {
  21851. preIndex := iNdEx
  21852. var wire uint64
  21853. for shift := uint(0); ; shift += 7 {
  21854. if shift >= 64 {
  21855. return ErrIntOverflowGenerated
  21856. }
  21857. if iNdEx >= l {
  21858. return io.ErrUnexpectedEOF
  21859. }
  21860. b := dAtA[iNdEx]
  21861. iNdEx++
  21862. wire |= (uint64(b) & 0x7F) << shift
  21863. if b < 0x80 {
  21864. break
  21865. }
  21866. }
  21867. fieldNum := int32(wire >> 3)
  21868. wireType := int(wire & 0x7)
  21869. if wireType == 4 {
  21870. return fmt.Errorf("proto: ContainerState: wiretype end group for non-group")
  21871. }
  21872. if fieldNum <= 0 {
  21873. return fmt.Errorf("proto: ContainerState: illegal tag %d (wire type %d)", fieldNum, wire)
  21874. }
  21875. switch fieldNum {
  21876. case 1:
  21877. if wireType != 2 {
  21878. return fmt.Errorf("proto: wrong wireType = %d for field Waiting", wireType)
  21879. }
  21880. var msglen int
  21881. for shift := uint(0); ; shift += 7 {
  21882. if shift >= 64 {
  21883. return ErrIntOverflowGenerated
  21884. }
  21885. if iNdEx >= l {
  21886. return io.ErrUnexpectedEOF
  21887. }
  21888. b := dAtA[iNdEx]
  21889. iNdEx++
  21890. msglen |= (int(b) & 0x7F) << shift
  21891. if b < 0x80 {
  21892. break
  21893. }
  21894. }
  21895. if msglen < 0 {
  21896. return ErrInvalidLengthGenerated
  21897. }
  21898. postIndex := iNdEx + msglen
  21899. if postIndex > l {
  21900. return io.ErrUnexpectedEOF
  21901. }
  21902. if m.Waiting == nil {
  21903. m.Waiting = &ContainerStateWaiting{}
  21904. }
  21905. if err := m.Waiting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21906. return err
  21907. }
  21908. iNdEx = postIndex
  21909. case 2:
  21910. if wireType != 2 {
  21911. return fmt.Errorf("proto: wrong wireType = %d for field Running", wireType)
  21912. }
  21913. var msglen int
  21914. for shift := uint(0); ; shift += 7 {
  21915. if shift >= 64 {
  21916. return ErrIntOverflowGenerated
  21917. }
  21918. if iNdEx >= l {
  21919. return io.ErrUnexpectedEOF
  21920. }
  21921. b := dAtA[iNdEx]
  21922. iNdEx++
  21923. msglen |= (int(b) & 0x7F) << shift
  21924. if b < 0x80 {
  21925. break
  21926. }
  21927. }
  21928. if msglen < 0 {
  21929. return ErrInvalidLengthGenerated
  21930. }
  21931. postIndex := iNdEx + msglen
  21932. if postIndex > l {
  21933. return io.ErrUnexpectedEOF
  21934. }
  21935. if m.Running == nil {
  21936. m.Running = &ContainerStateRunning{}
  21937. }
  21938. if err := m.Running.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21939. return err
  21940. }
  21941. iNdEx = postIndex
  21942. case 3:
  21943. if wireType != 2 {
  21944. return fmt.Errorf("proto: wrong wireType = %d for field Terminated", wireType)
  21945. }
  21946. var msglen int
  21947. for shift := uint(0); ; shift += 7 {
  21948. if shift >= 64 {
  21949. return ErrIntOverflowGenerated
  21950. }
  21951. if iNdEx >= l {
  21952. return io.ErrUnexpectedEOF
  21953. }
  21954. b := dAtA[iNdEx]
  21955. iNdEx++
  21956. msglen |= (int(b) & 0x7F) << shift
  21957. if b < 0x80 {
  21958. break
  21959. }
  21960. }
  21961. if msglen < 0 {
  21962. return ErrInvalidLengthGenerated
  21963. }
  21964. postIndex := iNdEx + msglen
  21965. if postIndex > l {
  21966. return io.ErrUnexpectedEOF
  21967. }
  21968. if m.Terminated == nil {
  21969. m.Terminated = &ContainerStateTerminated{}
  21970. }
  21971. if err := m.Terminated.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21972. return err
  21973. }
  21974. iNdEx = postIndex
  21975. default:
  21976. iNdEx = preIndex
  21977. skippy, err := skipGenerated(dAtA[iNdEx:])
  21978. if err != nil {
  21979. return err
  21980. }
  21981. if skippy < 0 {
  21982. return ErrInvalidLengthGenerated
  21983. }
  21984. if (iNdEx + skippy) > l {
  21985. return io.ErrUnexpectedEOF
  21986. }
  21987. iNdEx += skippy
  21988. }
  21989. }
  21990. if iNdEx > l {
  21991. return io.ErrUnexpectedEOF
  21992. }
  21993. return nil
  21994. }
  21995. func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error {
  21996. l := len(dAtA)
  21997. iNdEx := 0
  21998. for iNdEx < l {
  21999. preIndex := iNdEx
  22000. var wire uint64
  22001. for shift := uint(0); ; shift += 7 {
  22002. if shift >= 64 {
  22003. return ErrIntOverflowGenerated
  22004. }
  22005. if iNdEx >= l {
  22006. return io.ErrUnexpectedEOF
  22007. }
  22008. b := dAtA[iNdEx]
  22009. iNdEx++
  22010. wire |= (uint64(b) & 0x7F) << shift
  22011. if b < 0x80 {
  22012. break
  22013. }
  22014. }
  22015. fieldNum := int32(wire >> 3)
  22016. wireType := int(wire & 0x7)
  22017. if wireType == 4 {
  22018. return fmt.Errorf("proto: ContainerStateRunning: wiretype end group for non-group")
  22019. }
  22020. if fieldNum <= 0 {
  22021. return fmt.Errorf("proto: ContainerStateRunning: illegal tag %d (wire type %d)", fieldNum, wire)
  22022. }
  22023. switch fieldNum {
  22024. case 1:
  22025. if wireType != 2 {
  22026. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  22027. }
  22028. var msglen int
  22029. for shift := uint(0); ; shift += 7 {
  22030. if shift >= 64 {
  22031. return ErrIntOverflowGenerated
  22032. }
  22033. if iNdEx >= l {
  22034. return io.ErrUnexpectedEOF
  22035. }
  22036. b := dAtA[iNdEx]
  22037. iNdEx++
  22038. msglen |= (int(b) & 0x7F) << shift
  22039. if b < 0x80 {
  22040. break
  22041. }
  22042. }
  22043. if msglen < 0 {
  22044. return ErrInvalidLengthGenerated
  22045. }
  22046. postIndex := iNdEx + msglen
  22047. if postIndex > l {
  22048. return io.ErrUnexpectedEOF
  22049. }
  22050. if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22051. return err
  22052. }
  22053. iNdEx = postIndex
  22054. default:
  22055. iNdEx = preIndex
  22056. skippy, err := skipGenerated(dAtA[iNdEx:])
  22057. if err != nil {
  22058. return err
  22059. }
  22060. if skippy < 0 {
  22061. return ErrInvalidLengthGenerated
  22062. }
  22063. if (iNdEx + skippy) > l {
  22064. return io.ErrUnexpectedEOF
  22065. }
  22066. iNdEx += skippy
  22067. }
  22068. }
  22069. if iNdEx > l {
  22070. return io.ErrUnexpectedEOF
  22071. }
  22072. return nil
  22073. }
  22074. func (m *ContainerStateTerminated) Unmarshal(dAtA []byte) error {
  22075. l := len(dAtA)
  22076. iNdEx := 0
  22077. for iNdEx < l {
  22078. preIndex := iNdEx
  22079. var wire uint64
  22080. for shift := uint(0); ; shift += 7 {
  22081. if shift >= 64 {
  22082. return ErrIntOverflowGenerated
  22083. }
  22084. if iNdEx >= l {
  22085. return io.ErrUnexpectedEOF
  22086. }
  22087. b := dAtA[iNdEx]
  22088. iNdEx++
  22089. wire |= (uint64(b) & 0x7F) << shift
  22090. if b < 0x80 {
  22091. break
  22092. }
  22093. }
  22094. fieldNum := int32(wire >> 3)
  22095. wireType := int(wire & 0x7)
  22096. if wireType == 4 {
  22097. return fmt.Errorf("proto: ContainerStateTerminated: wiretype end group for non-group")
  22098. }
  22099. if fieldNum <= 0 {
  22100. return fmt.Errorf("proto: ContainerStateTerminated: illegal tag %d (wire type %d)", fieldNum, wire)
  22101. }
  22102. switch fieldNum {
  22103. case 1:
  22104. if wireType != 0 {
  22105. return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType)
  22106. }
  22107. m.ExitCode = 0
  22108. for shift := uint(0); ; shift += 7 {
  22109. if shift >= 64 {
  22110. return ErrIntOverflowGenerated
  22111. }
  22112. if iNdEx >= l {
  22113. return io.ErrUnexpectedEOF
  22114. }
  22115. b := dAtA[iNdEx]
  22116. iNdEx++
  22117. m.ExitCode |= (int32(b) & 0x7F) << shift
  22118. if b < 0x80 {
  22119. break
  22120. }
  22121. }
  22122. case 2:
  22123. if wireType != 0 {
  22124. return fmt.Errorf("proto: wrong wireType = %d for field Signal", wireType)
  22125. }
  22126. m.Signal = 0
  22127. for shift := uint(0); ; shift += 7 {
  22128. if shift >= 64 {
  22129. return ErrIntOverflowGenerated
  22130. }
  22131. if iNdEx >= l {
  22132. return io.ErrUnexpectedEOF
  22133. }
  22134. b := dAtA[iNdEx]
  22135. iNdEx++
  22136. m.Signal |= (int32(b) & 0x7F) << shift
  22137. if b < 0x80 {
  22138. break
  22139. }
  22140. }
  22141. case 3:
  22142. if wireType != 2 {
  22143. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  22144. }
  22145. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  22156. if b < 0x80 {
  22157. break
  22158. }
  22159. }
  22160. intStringLen := int(stringLen)
  22161. if intStringLen < 0 {
  22162. return ErrInvalidLengthGenerated
  22163. }
  22164. postIndex := iNdEx + intStringLen
  22165. if postIndex > l {
  22166. return io.ErrUnexpectedEOF
  22167. }
  22168. m.Reason = string(dAtA[iNdEx:postIndex])
  22169. iNdEx = postIndex
  22170. case 4:
  22171. if wireType != 2 {
  22172. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  22173. }
  22174. var stringLen uint64
  22175. for shift := uint(0); ; shift += 7 {
  22176. if shift >= 64 {
  22177. return ErrIntOverflowGenerated
  22178. }
  22179. if iNdEx >= l {
  22180. return io.ErrUnexpectedEOF
  22181. }
  22182. b := dAtA[iNdEx]
  22183. iNdEx++
  22184. stringLen |= (uint64(b) & 0x7F) << shift
  22185. if b < 0x80 {
  22186. break
  22187. }
  22188. }
  22189. intStringLen := int(stringLen)
  22190. if intStringLen < 0 {
  22191. return ErrInvalidLengthGenerated
  22192. }
  22193. postIndex := iNdEx + intStringLen
  22194. if postIndex > l {
  22195. return io.ErrUnexpectedEOF
  22196. }
  22197. m.Message = string(dAtA[iNdEx:postIndex])
  22198. iNdEx = postIndex
  22199. case 5:
  22200. if wireType != 2 {
  22201. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  22202. }
  22203. var msglen int
  22204. for shift := uint(0); ; shift += 7 {
  22205. if shift >= 64 {
  22206. return ErrIntOverflowGenerated
  22207. }
  22208. if iNdEx >= l {
  22209. return io.ErrUnexpectedEOF
  22210. }
  22211. b := dAtA[iNdEx]
  22212. iNdEx++
  22213. msglen |= (int(b) & 0x7F) << shift
  22214. if b < 0x80 {
  22215. break
  22216. }
  22217. }
  22218. if msglen < 0 {
  22219. return ErrInvalidLengthGenerated
  22220. }
  22221. postIndex := iNdEx + msglen
  22222. if postIndex > l {
  22223. return io.ErrUnexpectedEOF
  22224. }
  22225. if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22226. return err
  22227. }
  22228. iNdEx = postIndex
  22229. case 6:
  22230. if wireType != 2 {
  22231. return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType)
  22232. }
  22233. var msglen int
  22234. for shift := uint(0); ; shift += 7 {
  22235. if shift >= 64 {
  22236. return ErrIntOverflowGenerated
  22237. }
  22238. if iNdEx >= l {
  22239. return io.ErrUnexpectedEOF
  22240. }
  22241. b := dAtA[iNdEx]
  22242. iNdEx++
  22243. msglen |= (int(b) & 0x7F) << shift
  22244. if b < 0x80 {
  22245. break
  22246. }
  22247. }
  22248. if msglen < 0 {
  22249. return ErrInvalidLengthGenerated
  22250. }
  22251. postIndex := iNdEx + msglen
  22252. if postIndex > l {
  22253. return io.ErrUnexpectedEOF
  22254. }
  22255. if err := m.FinishedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22256. return err
  22257. }
  22258. iNdEx = postIndex
  22259. case 7:
  22260. if wireType != 2 {
  22261. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  22262. }
  22263. var stringLen uint64
  22264. for shift := uint(0); ; shift += 7 {
  22265. if shift >= 64 {
  22266. return ErrIntOverflowGenerated
  22267. }
  22268. if iNdEx >= l {
  22269. return io.ErrUnexpectedEOF
  22270. }
  22271. b := dAtA[iNdEx]
  22272. iNdEx++
  22273. stringLen |= (uint64(b) & 0x7F) << shift
  22274. if b < 0x80 {
  22275. break
  22276. }
  22277. }
  22278. intStringLen := int(stringLen)
  22279. if intStringLen < 0 {
  22280. return ErrInvalidLengthGenerated
  22281. }
  22282. postIndex := iNdEx + intStringLen
  22283. if postIndex > l {
  22284. return io.ErrUnexpectedEOF
  22285. }
  22286. m.ContainerID = string(dAtA[iNdEx:postIndex])
  22287. iNdEx = postIndex
  22288. default:
  22289. iNdEx = preIndex
  22290. skippy, err := skipGenerated(dAtA[iNdEx:])
  22291. if err != nil {
  22292. return err
  22293. }
  22294. if skippy < 0 {
  22295. return ErrInvalidLengthGenerated
  22296. }
  22297. if (iNdEx + skippy) > l {
  22298. return io.ErrUnexpectedEOF
  22299. }
  22300. iNdEx += skippy
  22301. }
  22302. }
  22303. if iNdEx > l {
  22304. return io.ErrUnexpectedEOF
  22305. }
  22306. return nil
  22307. }
  22308. func (m *ContainerStateWaiting) Unmarshal(dAtA []byte) error {
  22309. l := len(dAtA)
  22310. iNdEx := 0
  22311. for iNdEx < l {
  22312. preIndex := iNdEx
  22313. var wire uint64
  22314. for shift := uint(0); ; shift += 7 {
  22315. if shift >= 64 {
  22316. return ErrIntOverflowGenerated
  22317. }
  22318. if iNdEx >= l {
  22319. return io.ErrUnexpectedEOF
  22320. }
  22321. b := dAtA[iNdEx]
  22322. iNdEx++
  22323. wire |= (uint64(b) & 0x7F) << shift
  22324. if b < 0x80 {
  22325. break
  22326. }
  22327. }
  22328. fieldNum := int32(wire >> 3)
  22329. wireType := int(wire & 0x7)
  22330. if wireType == 4 {
  22331. return fmt.Errorf("proto: ContainerStateWaiting: wiretype end group for non-group")
  22332. }
  22333. if fieldNum <= 0 {
  22334. return fmt.Errorf("proto: ContainerStateWaiting: illegal tag %d (wire type %d)", fieldNum, wire)
  22335. }
  22336. switch fieldNum {
  22337. case 1:
  22338. if wireType != 2 {
  22339. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  22340. }
  22341. var stringLen 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. stringLen |= (uint64(b) & 0x7F) << shift
  22352. if b < 0x80 {
  22353. break
  22354. }
  22355. }
  22356. intStringLen := int(stringLen)
  22357. if intStringLen < 0 {
  22358. return ErrInvalidLengthGenerated
  22359. }
  22360. postIndex := iNdEx + intStringLen
  22361. if postIndex > l {
  22362. return io.ErrUnexpectedEOF
  22363. }
  22364. m.Reason = string(dAtA[iNdEx:postIndex])
  22365. iNdEx = postIndex
  22366. case 2:
  22367. if wireType != 2 {
  22368. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  22369. }
  22370. var stringLen uint64
  22371. for shift := uint(0); ; shift += 7 {
  22372. if shift >= 64 {
  22373. return ErrIntOverflowGenerated
  22374. }
  22375. if iNdEx >= l {
  22376. return io.ErrUnexpectedEOF
  22377. }
  22378. b := dAtA[iNdEx]
  22379. iNdEx++
  22380. stringLen |= (uint64(b) & 0x7F) << shift
  22381. if b < 0x80 {
  22382. break
  22383. }
  22384. }
  22385. intStringLen := int(stringLen)
  22386. if intStringLen < 0 {
  22387. return ErrInvalidLengthGenerated
  22388. }
  22389. postIndex := iNdEx + intStringLen
  22390. if postIndex > l {
  22391. return io.ErrUnexpectedEOF
  22392. }
  22393. m.Message = string(dAtA[iNdEx:postIndex])
  22394. iNdEx = postIndex
  22395. default:
  22396. iNdEx = preIndex
  22397. skippy, err := skipGenerated(dAtA[iNdEx:])
  22398. if err != nil {
  22399. return err
  22400. }
  22401. if skippy < 0 {
  22402. return ErrInvalidLengthGenerated
  22403. }
  22404. if (iNdEx + skippy) > l {
  22405. return io.ErrUnexpectedEOF
  22406. }
  22407. iNdEx += skippy
  22408. }
  22409. }
  22410. if iNdEx > l {
  22411. return io.ErrUnexpectedEOF
  22412. }
  22413. return nil
  22414. }
  22415. func (m *ContainerStatus) Unmarshal(dAtA []byte) error {
  22416. l := len(dAtA)
  22417. iNdEx := 0
  22418. for iNdEx < l {
  22419. preIndex := iNdEx
  22420. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  22431. if b < 0x80 {
  22432. break
  22433. }
  22434. }
  22435. fieldNum := int32(wire >> 3)
  22436. wireType := int(wire & 0x7)
  22437. if wireType == 4 {
  22438. return fmt.Errorf("proto: ContainerStatus: wiretype end group for non-group")
  22439. }
  22440. if fieldNum <= 0 {
  22441. return fmt.Errorf("proto: ContainerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  22442. }
  22443. switch fieldNum {
  22444. case 1:
  22445. if wireType != 2 {
  22446. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  22447. }
  22448. var stringLen uint64
  22449. for shift := uint(0); ; shift += 7 {
  22450. if shift >= 64 {
  22451. return ErrIntOverflowGenerated
  22452. }
  22453. if iNdEx >= l {
  22454. return io.ErrUnexpectedEOF
  22455. }
  22456. b := dAtA[iNdEx]
  22457. iNdEx++
  22458. stringLen |= (uint64(b) & 0x7F) << shift
  22459. if b < 0x80 {
  22460. break
  22461. }
  22462. }
  22463. intStringLen := int(stringLen)
  22464. if intStringLen < 0 {
  22465. return ErrInvalidLengthGenerated
  22466. }
  22467. postIndex := iNdEx + intStringLen
  22468. if postIndex > l {
  22469. return io.ErrUnexpectedEOF
  22470. }
  22471. m.Name = string(dAtA[iNdEx:postIndex])
  22472. iNdEx = postIndex
  22473. case 2:
  22474. if wireType != 2 {
  22475. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  22476. }
  22477. var msglen int
  22478. for shift := uint(0); ; shift += 7 {
  22479. if shift >= 64 {
  22480. return ErrIntOverflowGenerated
  22481. }
  22482. if iNdEx >= l {
  22483. return io.ErrUnexpectedEOF
  22484. }
  22485. b := dAtA[iNdEx]
  22486. iNdEx++
  22487. msglen |= (int(b) & 0x7F) << shift
  22488. if b < 0x80 {
  22489. break
  22490. }
  22491. }
  22492. if msglen < 0 {
  22493. return ErrInvalidLengthGenerated
  22494. }
  22495. postIndex := iNdEx + msglen
  22496. if postIndex > l {
  22497. return io.ErrUnexpectedEOF
  22498. }
  22499. if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22500. return err
  22501. }
  22502. iNdEx = postIndex
  22503. case 3:
  22504. if wireType != 2 {
  22505. return fmt.Errorf("proto: wrong wireType = %d for field LastTerminationState", wireType)
  22506. }
  22507. var msglen int
  22508. for shift := uint(0); ; shift += 7 {
  22509. if shift >= 64 {
  22510. return ErrIntOverflowGenerated
  22511. }
  22512. if iNdEx >= l {
  22513. return io.ErrUnexpectedEOF
  22514. }
  22515. b := dAtA[iNdEx]
  22516. iNdEx++
  22517. msglen |= (int(b) & 0x7F) << shift
  22518. if b < 0x80 {
  22519. break
  22520. }
  22521. }
  22522. if msglen < 0 {
  22523. return ErrInvalidLengthGenerated
  22524. }
  22525. postIndex := iNdEx + msglen
  22526. if postIndex > l {
  22527. return io.ErrUnexpectedEOF
  22528. }
  22529. if err := m.LastTerminationState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22530. return err
  22531. }
  22532. iNdEx = postIndex
  22533. case 4:
  22534. if wireType != 0 {
  22535. return fmt.Errorf("proto: wrong wireType = %d for field Ready", wireType)
  22536. }
  22537. var v int
  22538. for shift := uint(0); ; shift += 7 {
  22539. if shift >= 64 {
  22540. return ErrIntOverflowGenerated
  22541. }
  22542. if iNdEx >= l {
  22543. return io.ErrUnexpectedEOF
  22544. }
  22545. b := dAtA[iNdEx]
  22546. iNdEx++
  22547. v |= (int(b) & 0x7F) << shift
  22548. if b < 0x80 {
  22549. break
  22550. }
  22551. }
  22552. m.Ready = bool(v != 0)
  22553. case 5:
  22554. if wireType != 0 {
  22555. return fmt.Errorf("proto: wrong wireType = %d for field RestartCount", wireType)
  22556. }
  22557. m.RestartCount = 0
  22558. for shift := uint(0); ; shift += 7 {
  22559. if shift >= 64 {
  22560. return ErrIntOverflowGenerated
  22561. }
  22562. if iNdEx >= l {
  22563. return io.ErrUnexpectedEOF
  22564. }
  22565. b := dAtA[iNdEx]
  22566. iNdEx++
  22567. m.RestartCount |= (int32(b) & 0x7F) << shift
  22568. if b < 0x80 {
  22569. break
  22570. }
  22571. }
  22572. case 6:
  22573. if wireType != 2 {
  22574. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  22575. }
  22576. var stringLen 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. stringLen |= (uint64(b) & 0x7F) << shift
  22587. if b < 0x80 {
  22588. break
  22589. }
  22590. }
  22591. intStringLen := int(stringLen)
  22592. if intStringLen < 0 {
  22593. return ErrInvalidLengthGenerated
  22594. }
  22595. postIndex := iNdEx + intStringLen
  22596. if postIndex > l {
  22597. return io.ErrUnexpectedEOF
  22598. }
  22599. m.Image = string(dAtA[iNdEx:postIndex])
  22600. iNdEx = postIndex
  22601. case 7:
  22602. if wireType != 2 {
  22603. return fmt.Errorf("proto: wrong wireType = %d for field ImageID", wireType)
  22604. }
  22605. var stringLen uint64
  22606. for shift := uint(0); ; shift += 7 {
  22607. if shift >= 64 {
  22608. return ErrIntOverflowGenerated
  22609. }
  22610. if iNdEx >= l {
  22611. return io.ErrUnexpectedEOF
  22612. }
  22613. b := dAtA[iNdEx]
  22614. iNdEx++
  22615. stringLen |= (uint64(b) & 0x7F) << shift
  22616. if b < 0x80 {
  22617. break
  22618. }
  22619. }
  22620. intStringLen := int(stringLen)
  22621. if intStringLen < 0 {
  22622. return ErrInvalidLengthGenerated
  22623. }
  22624. postIndex := iNdEx + intStringLen
  22625. if postIndex > l {
  22626. return io.ErrUnexpectedEOF
  22627. }
  22628. m.ImageID = string(dAtA[iNdEx:postIndex])
  22629. iNdEx = postIndex
  22630. case 8:
  22631. if wireType != 2 {
  22632. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  22633. }
  22634. var stringLen uint64
  22635. for shift := uint(0); ; shift += 7 {
  22636. if shift >= 64 {
  22637. return ErrIntOverflowGenerated
  22638. }
  22639. if iNdEx >= l {
  22640. return io.ErrUnexpectedEOF
  22641. }
  22642. b := dAtA[iNdEx]
  22643. iNdEx++
  22644. stringLen |= (uint64(b) & 0x7F) << shift
  22645. if b < 0x80 {
  22646. break
  22647. }
  22648. }
  22649. intStringLen := int(stringLen)
  22650. if intStringLen < 0 {
  22651. return ErrInvalidLengthGenerated
  22652. }
  22653. postIndex := iNdEx + intStringLen
  22654. if postIndex > l {
  22655. return io.ErrUnexpectedEOF
  22656. }
  22657. m.ContainerID = string(dAtA[iNdEx:postIndex])
  22658. iNdEx = postIndex
  22659. default:
  22660. iNdEx = preIndex
  22661. skippy, err := skipGenerated(dAtA[iNdEx:])
  22662. if err != nil {
  22663. return err
  22664. }
  22665. if skippy < 0 {
  22666. return ErrInvalidLengthGenerated
  22667. }
  22668. if (iNdEx + skippy) > l {
  22669. return io.ErrUnexpectedEOF
  22670. }
  22671. iNdEx += skippy
  22672. }
  22673. }
  22674. if iNdEx > l {
  22675. return io.ErrUnexpectedEOF
  22676. }
  22677. return nil
  22678. }
  22679. func (m *DaemonEndpoint) Unmarshal(dAtA []byte) error {
  22680. l := len(dAtA)
  22681. iNdEx := 0
  22682. for iNdEx < l {
  22683. preIndex := iNdEx
  22684. var wire uint64
  22685. for shift := uint(0); ; shift += 7 {
  22686. if shift >= 64 {
  22687. return ErrIntOverflowGenerated
  22688. }
  22689. if iNdEx >= l {
  22690. return io.ErrUnexpectedEOF
  22691. }
  22692. b := dAtA[iNdEx]
  22693. iNdEx++
  22694. wire |= (uint64(b) & 0x7F) << shift
  22695. if b < 0x80 {
  22696. break
  22697. }
  22698. }
  22699. fieldNum := int32(wire >> 3)
  22700. wireType := int(wire & 0x7)
  22701. if wireType == 4 {
  22702. return fmt.Errorf("proto: DaemonEndpoint: wiretype end group for non-group")
  22703. }
  22704. if fieldNum <= 0 {
  22705. return fmt.Errorf("proto: DaemonEndpoint: illegal tag %d (wire type %d)", fieldNum, wire)
  22706. }
  22707. switch fieldNum {
  22708. case 1:
  22709. if wireType != 0 {
  22710. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  22711. }
  22712. m.Port = 0
  22713. for shift := uint(0); ; shift += 7 {
  22714. if shift >= 64 {
  22715. return ErrIntOverflowGenerated
  22716. }
  22717. if iNdEx >= l {
  22718. return io.ErrUnexpectedEOF
  22719. }
  22720. b := dAtA[iNdEx]
  22721. iNdEx++
  22722. m.Port |= (int32(b) & 0x7F) << shift
  22723. if b < 0x80 {
  22724. break
  22725. }
  22726. }
  22727. default:
  22728. iNdEx = preIndex
  22729. skippy, err := skipGenerated(dAtA[iNdEx:])
  22730. if err != nil {
  22731. return err
  22732. }
  22733. if skippy < 0 {
  22734. return ErrInvalidLengthGenerated
  22735. }
  22736. if (iNdEx + skippy) > l {
  22737. return io.ErrUnexpectedEOF
  22738. }
  22739. iNdEx += skippy
  22740. }
  22741. }
  22742. if iNdEx > l {
  22743. return io.ErrUnexpectedEOF
  22744. }
  22745. return nil
  22746. }
  22747. func (m *DownwardAPIProjection) Unmarshal(dAtA []byte) error {
  22748. l := len(dAtA)
  22749. iNdEx := 0
  22750. for iNdEx < l {
  22751. preIndex := iNdEx
  22752. var wire uint64
  22753. for shift := uint(0); ; shift += 7 {
  22754. if shift >= 64 {
  22755. return ErrIntOverflowGenerated
  22756. }
  22757. if iNdEx >= l {
  22758. return io.ErrUnexpectedEOF
  22759. }
  22760. b := dAtA[iNdEx]
  22761. iNdEx++
  22762. wire |= (uint64(b) & 0x7F) << shift
  22763. if b < 0x80 {
  22764. break
  22765. }
  22766. }
  22767. fieldNum := int32(wire >> 3)
  22768. wireType := int(wire & 0x7)
  22769. if wireType == 4 {
  22770. return fmt.Errorf("proto: DownwardAPIProjection: wiretype end group for non-group")
  22771. }
  22772. if fieldNum <= 0 {
  22773. return fmt.Errorf("proto: DownwardAPIProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  22774. }
  22775. switch fieldNum {
  22776. case 1:
  22777. if wireType != 2 {
  22778. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  22779. }
  22780. var msglen int
  22781. for shift := uint(0); ; shift += 7 {
  22782. if shift >= 64 {
  22783. return ErrIntOverflowGenerated
  22784. }
  22785. if iNdEx >= l {
  22786. return io.ErrUnexpectedEOF
  22787. }
  22788. b := dAtA[iNdEx]
  22789. iNdEx++
  22790. msglen |= (int(b) & 0x7F) << shift
  22791. if b < 0x80 {
  22792. break
  22793. }
  22794. }
  22795. if msglen < 0 {
  22796. return ErrInvalidLengthGenerated
  22797. }
  22798. postIndex := iNdEx + msglen
  22799. if postIndex > l {
  22800. return io.ErrUnexpectedEOF
  22801. }
  22802. m.Items = append(m.Items, DownwardAPIVolumeFile{})
  22803. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22804. return err
  22805. }
  22806. iNdEx = postIndex
  22807. default:
  22808. iNdEx = preIndex
  22809. skippy, err := skipGenerated(dAtA[iNdEx:])
  22810. if err != nil {
  22811. return err
  22812. }
  22813. if skippy < 0 {
  22814. return ErrInvalidLengthGenerated
  22815. }
  22816. if (iNdEx + skippy) > l {
  22817. return io.ErrUnexpectedEOF
  22818. }
  22819. iNdEx += skippy
  22820. }
  22821. }
  22822. if iNdEx > l {
  22823. return io.ErrUnexpectedEOF
  22824. }
  22825. return nil
  22826. }
  22827. func (m *DownwardAPIVolumeFile) Unmarshal(dAtA []byte) error {
  22828. l := len(dAtA)
  22829. iNdEx := 0
  22830. for iNdEx < l {
  22831. preIndex := iNdEx
  22832. var wire uint64
  22833. for shift := uint(0); ; shift += 7 {
  22834. if shift >= 64 {
  22835. return ErrIntOverflowGenerated
  22836. }
  22837. if iNdEx >= l {
  22838. return io.ErrUnexpectedEOF
  22839. }
  22840. b := dAtA[iNdEx]
  22841. iNdEx++
  22842. wire |= (uint64(b) & 0x7F) << shift
  22843. if b < 0x80 {
  22844. break
  22845. }
  22846. }
  22847. fieldNum := int32(wire >> 3)
  22848. wireType := int(wire & 0x7)
  22849. if wireType == 4 {
  22850. return fmt.Errorf("proto: DownwardAPIVolumeFile: wiretype end group for non-group")
  22851. }
  22852. if fieldNum <= 0 {
  22853. return fmt.Errorf("proto: DownwardAPIVolumeFile: illegal tag %d (wire type %d)", fieldNum, wire)
  22854. }
  22855. switch fieldNum {
  22856. case 1:
  22857. if wireType != 2 {
  22858. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  22859. }
  22860. var stringLen uint64
  22861. for shift := uint(0); ; shift += 7 {
  22862. if shift >= 64 {
  22863. return ErrIntOverflowGenerated
  22864. }
  22865. if iNdEx >= l {
  22866. return io.ErrUnexpectedEOF
  22867. }
  22868. b := dAtA[iNdEx]
  22869. iNdEx++
  22870. stringLen |= (uint64(b) & 0x7F) << shift
  22871. if b < 0x80 {
  22872. break
  22873. }
  22874. }
  22875. intStringLen := int(stringLen)
  22876. if intStringLen < 0 {
  22877. return ErrInvalidLengthGenerated
  22878. }
  22879. postIndex := iNdEx + intStringLen
  22880. if postIndex > l {
  22881. return io.ErrUnexpectedEOF
  22882. }
  22883. m.Path = string(dAtA[iNdEx:postIndex])
  22884. iNdEx = postIndex
  22885. case 2:
  22886. if wireType != 2 {
  22887. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  22888. }
  22889. var msglen int
  22890. for shift := uint(0); ; shift += 7 {
  22891. if shift >= 64 {
  22892. return ErrIntOverflowGenerated
  22893. }
  22894. if iNdEx >= l {
  22895. return io.ErrUnexpectedEOF
  22896. }
  22897. b := dAtA[iNdEx]
  22898. iNdEx++
  22899. msglen |= (int(b) & 0x7F) << shift
  22900. if b < 0x80 {
  22901. break
  22902. }
  22903. }
  22904. if msglen < 0 {
  22905. return ErrInvalidLengthGenerated
  22906. }
  22907. postIndex := iNdEx + msglen
  22908. if postIndex > l {
  22909. return io.ErrUnexpectedEOF
  22910. }
  22911. if m.FieldRef == nil {
  22912. m.FieldRef = &ObjectFieldSelector{}
  22913. }
  22914. if err := m.FieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22915. return err
  22916. }
  22917. iNdEx = postIndex
  22918. case 3:
  22919. if wireType != 2 {
  22920. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  22921. }
  22922. var msglen int
  22923. for shift := uint(0); ; shift += 7 {
  22924. if shift >= 64 {
  22925. return ErrIntOverflowGenerated
  22926. }
  22927. if iNdEx >= l {
  22928. return io.ErrUnexpectedEOF
  22929. }
  22930. b := dAtA[iNdEx]
  22931. iNdEx++
  22932. msglen |= (int(b) & 0x7F) << shift
  22933. if b < 0x80 {
  22934. break
  22935. }
  22936. }
  22937. if msglen < 0 {
  22938. return ErrInvalidLengthGenerated
  22939. }
  22940. postIndex := iNdEx + msglen
  22941. if postIndex > l {
  22942. return io.ErrUnexpectedEOF
  22943. }
  22944. if m.ResourceFieldRef == nil {
  22945. m.ResourceFieldRef = &ResourceFieldSelector{}
  22946. }
  22947. if err := m.ResourceFieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22948. return err
  22949. }
  22950. iNdEx = postIndex
  22951. case 4:
  22952. if wireType != 0 {
  22953. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  22954. }
  22955. var v int32
  22956. for shift := uint(0); ; shift += 7 {
  22957. if shift >= 64 {
  22958. return ErrIntOverflowGenerated
  22959. }
  22960. if iNdEx >= l {
  22961. return io.ErrUnexpectedEOF
  22962. }
  22963. b := dAtA[iNdEx]
  22964. iNdEx++
  22965. v |= (int32(b) & 0x7F) << shift
  22966. if b < 0x80 {
  22967. break
  22968. }
  22969. }
  22970. m.Mode = &v
  22971. default:
  22972. iNdEx = preIndex
  22973. skippy, err := skipGenerated(dAtA[iNdEx:])
  22974. if err != nil {
  22975. return err
  22976. }
  22977. if skippy < 0 {
  22978. return ErrInvalidLengthGenerated
  22979. }
  22980. if (iNdEx + skippy) > l {
  22981. return io.ErrUnexpectedEOF
  22982. }
  22983. iNdEx += skippy
  22984. }
  22985. }
  22986. if iNdEx > l {
  22987. return io.ErrUnexpectedEOF
  22988. }
  22989. return nil
  22990. }
  22991. func (m *DownwardAPIVolumeSource) Unmarshal(dAtA []byte) error {
  22992. l := len(dAtA)
  22993. iNdEx := 0
  22994. for iNdEx < l {
  22995. preIndex := iNdEx
  22996. var wire uint64
  22997. for shift := uint(0); ; shift += 7 {
  22998. if shift >= 64 {
  22999. return ErrIntOverflowGenerated
  23000. }
  23001. if iNdEx >= l {
  23002. return io.ErrUnexpectedEOF
  23003. }
  23004. b := dAtA[iNdEx]
  23005. iNdEx++
  23006. wire |= (uint64(b) & 0x7F) << shift
  23007. if b < 0x80 {
  23008. break
  23009. }
  23010. }
  23011. fieldNum := int32(wire >> 3)
  23012. wireType := int(wire & 0x7)
  23013. if wireType == 4 {
  23014. return fmt.Errorf("proto: DownwardAPIVolumeSource: wiretype end group for non-group")
  23015. }
  23016. if fieldNum <= 0 {
  23017. return fmt.Errorf("proto: DownwardAPIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  23018. }
  23019. switch fieldNum {
  23020. case 1:
  23021. if wireType != 2 {
  23022. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  23023. }
  23024. var msglen int
  23025. for shift := uint(0); ; shift += 7 {
  23026. if shift >= 64 {
  23027. return ErrIntOverflowGenerated
  23028. }
  23029. if iNdEx >= l {
  23030. return io.ErrUnexpectedEOF
  23031. }
  23032. b := dAtA[iNdEx]
  23033. iNdEx++
  23034. msglen |= (int(b) & 0x7F) << shift
  23035. if b < 0x80 {
  23036. break
  23037. }
  23038. }
  23039. if msglen < 0 {
  23040. return ErrInvalidLengthGenerated
  23041. }
  23042. postIndex := iNdEx + msglen
  23043. if postIndex > l {
  23044. return io.ErrUnexpectedEOF
  23045. }
  23046. m.Items = append(m.Items, DownwardAPIVolumeFile{})
  23047. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23048. return err
  23049. }
  23050. iNdEx = postIndex
  23051. case 2:
  23052. if wireType != 0 {
  23053. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  23054. }
  23055. var v int32
  23056. for shift := uint(0); ; shift += 7 {
  23057. if shift >= 64 {
  23058. return ErrIntOverflowGenerated
  23059. }
  23060. if iNdEx >= l {
  23061. return io.ErrUnexpectedEOF
  23062. }
  23063. b := dAtA[iNdEx]
  23064. iNdEx++
  23065. v |= (int32(b) & 0x7F) << shift
  23066. if b < 0x80 {
  23067. break
  23068. }
  23069. }
  23070. m.DefaultMode = &v
  23071. default:
  23072. iNdEx = preIndex
  23073. skippy, err := skipGenerated(dAtA[iNdEx:])
  23074. if err != nil {
  23075. return err
  23076. }
  23077. if skippy < 0 {
  23078. return ErrInvalidLengthGenerated
  23079. }
  23080. if (iNdEx + skippy) > l {
  23081. return io.ErrUnexpectedEOF
  23082. }
  23083. iNdEx += skippy
  23084. }
  23085. }
  23086. if iNdEx > l {
  23087. return io.ErrUnexpectedEOF
  23088. }
  23089. return nil
  23090. }
  23091. func (m *EmptyDirVolumeSource) Unmarshal(dAtA []byte) error {
  23092. l := len(dAtA)
  23093. iNdEx := 0
  23094. for iNdEx < l {
  23095. preIndex := iNdEx
  23096. var wire uint64
  23097. for shift := uint(0); ; shift += 7 {
  23098. if shift >= 64 {
  23099. return ErrIntOverflowGenerated
  23100. }
  23101. if iNdEx >= l {
  23102. return io.ErrUnexpectedEOF
  23103. }
  23104. b := dAtA[iNdEx]
  23105. iNdEx++
  23106. wire |= (uint64(b) & 0x7F) << shift
  23107. if b < 0x80 {
  23108. break
  23109. }
  23110. }
  23111. fieldNum := int32(wire >> 3)
  23112. wireType := int(wire & 0x7)
  23113. if wireType == 4 {
  23114. return fmt.Errorf("proto: EmptyDirVolumeSource: wiretype end group for non-group")
  23115. }
  23116. if fieldNum <= 0 {
  23117. return fmt.Errorf("proto: EmptyDirVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  23118. }
  23119. switch fieldNum {
  23120. case 1:
  23121. if wireType != 2 {
  23122. return fmt.Errorf("proto: wrong wireType = %d for field Medium", wireType)
  23123. }
  23124. var stringLen uint64
  23125. for shift := uint(0); ; shift += 7 {
  23126. if shift >= 64 {
  23127. return ErrIntOverflowGenerated
  23128. }
  23129. if iNdEx >= l {
  23130. return io.ErrUnexpectedEOF
  23131. }
  23132. b := dAtA[iNdEx]
  23133. iNdEx++
  23134. stringLen |= (uint64(b) & 0x7F) << shift
  23135. if b < 0x80 {
  23136. break
  23137. }
  23138. }
  23139. intStringLen := int(stringLen)
  23140. if intStringLen < 0 {
  23141. return ErrInvalidLengthGenerated
  23142. }
  23143. postIndex := iNdEx + intStringLen
  23144. if postIndex > l {
  23145. return io.ErrUnexpectedEOF
  23146. }
  23147. m.Medium = StorageMedium(dAtA[iNdEx:postIndex])
  23148. iNdEx = postIndex
  23149. case 2:
  23150. if wireType != 2 {
  23151. return fmt.Errorf("proto: wrong wireType = %d for field SizeLimit", wireType)
  23152. }
  23153. var msglen int
  23154. for shift := uint(0); ; shift += 7 {
  23155. if shift >= 64 {
  23156. return ErrIntOverflowGenerated
  23157. }
  23158. if iNdEx >= l {
  23159. return io.ErrUnexpectedEOF
  23160. }
  23161. b := dAtA[iNdEx]
  23162. iNdEx++
  23163. msglen |= (int(b) & 0x7F) << shift
  23164. if b < 0x80 {
  23165. break
  23166. }
  23167. }
  23168. if msglen < 0 {
  23169. return ErrInvalidLengthGenerated
  23170. }
  23171. postIndex := iNdEx + msglen
  23172. if postIndex > l {
  23173. return io.ErrUnexpectedEOF
  23174. }
  23175. if m.SizeLimit == nil {
  23176. m.SizeLimit = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  23177. }
  23178. if err := m.SizeLimit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23179. return err
  23180. }
  23181. iNdEx = postIndex
  23182. default:
  23183. iNdEx = preIndex
  23184. skippy, err := skipGenerated(dAtA[iNdEx:])
  23185. if err != nil {
  23186. return err
  23187. }
  23188. if skippy < 0 {
  23189. return ErrInvalidLengthGenerated
  23190. }
  23191. if (iNdEx + skippy) > l {
  23192. return io.ErrUnexpectedEOF
  23193. }
  23194. iNdEx += skippy
  23195. }
  23196. }
  23197. if iNdEx > l {
  23198. return io.ErrUnexpectedEOF
  23199. }
  23200. return nil
  23201. }
  23202. func (m *EndpointAddress) Unmarshal(dAtA []byte) error {
  23203. l := len(dAtA)
  23204. iNdEx := 0
  23205. for iNdEx < l {
  23206. preIndex := iNdEx
  23207. var wire uint64
  23208. for shift := uint(0); ; shift += 7 {
  23209. if shift >= 64 {
  23210. return ErrIntOverflowGenerated
  23211. }
  23212. if iNdEx >= l {
  23213. return io.ErrUnexpectedEOF
  23214. }
  23215. b := dAtA[iNdEx]
  23216. iNdEx++
  23217. wire |= (uint64(b) & 0x7F) << shift
  23218. if b < 0x80 {
  23219. break
  23220. }
  23221. }
  23222. fieldNum := int32(wire >> 3)
  23223. wireType := int(wire & 0x7)
  23224. if wireType == 4 {
  23225. return fmt.Errorf("proto: EndpointAddress: wiretype end group for non-group")
  23226. }
  23227. if fieldNum <= 0 {
  23228. return fmt.Errorf("proto: EndpointAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  23229. }
  23230. switch fieldNum {
  23231. case 1:
  23232. if wireType != 2 {
  23233. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  23234. }
  23235. var stringLen uint64
  23236. for shift := uint(0); ; shift += 7 {
  23237. if shift >= 64 {
  23238. return ErrIntOverflowGenerated
  23239. }
  23240. if iNdEx >= l {
  23241. return io.ErrUnexpectedEOF
  23242. }
  23243. b := dAtA[iNdEx]
  23244. iNdEx++
  23245. stringLen |= (uint64(b) & 0x7F) << shift
  23246. if b < 0x80 {
  23247. break
  23248. }
  23249. }
  23250. intStringLen := int(stringLen)
  23251. if intStringLen < 0 {
  23252. return ErrInvalidLengthGenerated
  23253. }
  23254. postIndex := iNdEx + intStringLen
  23255. if postIndex > l {
  23256. return io.ErrUnexpectedEOF
  23257. }
  23258. m.IP = string(dAtA[iNdEx:postIndex])
  23259. iNdEx = postIndex
  23260. case 2:
  23261. if wireType != 2 {
  23262. return fmt.Errorf("proto: wrong wireType = %d for field TargetRef", wireType)
  23263. }
  23264. var msglen int
  23265. for shift := uint(0); ; shift += 7 {
  23266. if shift >= 64 {
  23267. return ErrIntOverflowGenerated
  23268. }
  23269. if iNdEx >= l {
  23270. return io.ErrUnexpectedEOF
  23271. }
  23272. b := dAtA[iNdEx]
  23273. iNdEx++
  23274. msglen |= (int(b) & 0x7F) << shift
  23275. if b < 0x80 {
  23276. break
  23277. }
  23278. }
  23279. if msglen < 0 {
  23280. return ErrInvalidLengthGenerated
  23281. }
  23282. postIndex := iNdEx + msglen
  23283. if postIndex > l {
  23284. return io.ErrUnexpectedEOF
  23285. }
  23286. if m.TargetRef == nil {
  23287. m.TargetRef = &ObjectReference{}
  23288. }
  23289. if err := m.TargetRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23290. return err
  23291. }
  23292. iNdEx = postIndex
  23293. case 3:
  23294. if wireType != 2 {
  23295. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  23296. }
  23297. var stringLen uint64
  23298. for shift := uint(0); ; shift += 7 {
  23299. if shift >= 64 {
  23300. return ErrIntOverflowGenerated
  23301. }
  23302. if iNdEx >= l {
  23303. return io.ErrUnexpectedEOF
  23304. }
  23305. b := dAtA[iNdEx]
  23306. iNdEx++
  23307. stringLen |= (uint64(b) & 0x7F) << shift
  23308. if b < 0x80 {
  23309. break
  23310. }
  23311. }
  23312. intStringLen := int(stringLen)
  23313. if intStringLen < 0 {
  23314. return ErrInvalidLengthGenerated
  23315. }
  23316. postIndex := iNdEx + intStringLen
  23317. if postIndex > l {
  23318. return io.ErrUnexpectedEOF
  23319. }
  23320. m.Hostname = string(dAtA[iNdEx:postIndex])
  23321. iNdEx = postIndex
  23322. case 4:
  23323. if wireType != 2 {
  23324. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  23325. }
  23326. var stringLen uint64
  23327. for shift := uint(0); ; shift += 7 {
  23328. if shift >= 64 {
  23329. return ErrIntOverflowGenerated
  23330. }
  23331. if iNdEx >= l {
  23332. return io.ErrUnexpectedEOF
  23333. }
  23334. b := dAtA[iNdEx]
  23335. iNdEx++
  23336. stringLen |= (uint64(b) & 0x7F) << shift
  23337. if b < 0x80 {
  23338. break
  23339. }
  23340. }
  23341. intStringLen := int(stringLen)
  23342. if intStringLen < 0 {
  23343. return ErrInvalidLengthGenerated
  23344. }
  23345. postIndex := iNdEx + intStringLen
  23346. if postIndex > l {
  23347. return io.ErrUnexpectedEOF
  23348. }
  23349. s := string(dAtA[iNdEx:postIndex])
  23350. m.NodeName = &s
  23351. iNdEx = postIndex
  23352. default:
  23353. iNdEx = preIndex
  23354. skippy, err := skipGenerated(dAtA[iNdEx:])
  23355. if err != nil {
  23356. return err
  23357. }
  23358. if skippy < 0 {
  23359. return ErrInvalidLengthGenerated
  23360. }
  23361. if (iNdEx + skippy) > l {
  23362. return io.ErrUnexpectedEOF
  23363. }
  23364. iNdEx += skippy
  23365. }
  23366. }
  23367. if iNdEx > l {
  23368. return io.ErrUnexpectedEOF
  23369. }
  23370. return nil
  23371. }
  23372. func (m *EndpointPort) Unmarshal(dAtA []byte) error {
  23373. l := len(dAtA)
  23374. iNdEx := 0
  23375. for iNdEx < l {
  23376. preIndex := iNdEx
  23377. var wire uint64
  23378. for shift := uint(0); ; shift += 7 {
  23379. if shift >= 64 {
  23380. return ErrIntOverflowGenerated
  23381. }
  23382. if iNdEx >= l {
  23383. return io.ErrUnexpectedEOF
  23384. }
  23385. b := dAtA[iNdEx]
  23386. iNdEx++
  23387. wire |= (uint64(b) & 0x7F) << shift
  23388. if b < 0x80 {
  23389. break
  23390. }
  23391. }
  23392. fieldNum := int32(wire >> 3)
  23393. wireType := int(wire & 0x7)
  23394. if wireType == 4 {
  23395. return fmt.Errorf("proto: EndpointPort: wiretype end group for non-group")
  23396. }
  23397. if fieldNum <= 0 {
  23398. return fmt.Errorf("proto: EndpointPort: illegal tag %d (wire type %d)", fieldNum, wire)
  23399. }
  23400. switch fieldNum {
  23401. case 1:
  23402. if wireType != 2 {
  23403. return fmt.Errorf("proto: wrong wireType = %d for field Name", 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.Name = string(dAtA[iNdEx:postIndex])
  23429. iNdEx = postIndex
  23430. case 2:
  23431. if wireType != 0 {
  23432. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  23433. }
  23434. m.Port = 0
  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. m.Port |= (int32(b) & 0x7F) << shift
  23445. if b < 0x80 {
  23446. break
  23447. }
  23448. }
  23449. case 3:
  23450. if wireType != 2 {
  23451. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  23452. }
  23453. var stringLen uint64
  23454. for shift := uint(0); ; shift += 7 {
  23455. if shift >= 64 {
  23456. return ErrIntOverflowGenerated
  23457. }
  23458. if iNdEx >= l {
  23459. return io.ErrUnexpectedEOF
  23460. }
  23461. b := dAtA[iNdEx]
  23462. iNdEx++
  23463. stringLen |= (uint64(b) & 0x7F) << shift
  23464. if b < 0x80 {
  23465. break
  23466. }
  23467. }
  23468. intStringLen := int(stringLen)
  23469. if intStringLen < 0 {
  23470. return ErrInvalidLengthGenerated
  23471. }
  23472. postIndex := iNdEx + intStringLen
  23473. if postIndex > l {
  23474. return io.ErrUnexpectedEOF
  23475. }
  23476. m.Protocol = Protocol(dAtA[iNdEx:postIndex])
  23477. iNdEx = postIndex
  23478. default:
  23479. iNdEx = preIndex
  23480. skippy, err := skipGenerated(dAtA[iNdEx:])
  23481. if err != nil {
  23482. return err
  23483. }
  23484. if skippy < 0 {
  23485. return ErrInvalidLengthGenerated
  23486. }
  23487. if (iNdEx + skippy) > l {
  23488. return io.ErrUnexpectedEOF
  23489. }
  23490. iNdEx += skippy
  23491. }
  23492. }
  23493. if iNdEx > l {
  23494. return io.ErrUnexpectedEOF
  23495. }
  23496. return nil
  23497. }
  23498. func (m *EndpointSubset) Unmarshal(dAtA []byte) error {
  23499. l := len(dAtA)
  23500. iNdEx := 0
  23501. for iNdEx < l {
  23502. preIndex := iNdEx
  23503. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  23514. if b < 0x80 {
  23515. break
  23516. }
  23517. }
  23518. fieldNum := int32(wire >> 3)
  23519. wireType := int(wire & 0x7)
  23520. if wireType == 4 {
  23521. return fmt.Errorf("proto: EndpointSubset: wiretype end group for non-group")
  23522. }
  23523. if fieldNum <= 0 {
  23524. return fmt.Errorf("proto: EndpointSubset: illegal tag %d (wire type %d)", fieldNum, wire)
  23525. }
  23526. switch fieldNum {
  23527. case 1:
  23528. if wireType != 2 {
  23529. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  23530. }
  23531. var msglen int
  23532. for shift := uint(0); ; shift += 7 {
  23533. if shift >= 64 {
  23534. return ErrIntOverflowGenerated
  23535. }
  23536. if iNdEx >= l {
  23537. return io.ErrUnexpectedEOF
  23538. }
  23539. b := dAtA[iNdEx]
  23540. iNdEx++
  23541. msglen |= (int(b) & 0x7F) << shift
  23542. if b < 0x80 {
  23543. break
  23544. }
  23545. }
  23546. if msglen < 0 {
  23547. return ErrInvalidLengthGenerated
  23548. }
  23549. postIndex := iNdEx + msglen
  23550. if postIndex > l {
  23551. return io.ErrUnexpectedEOF
  23552. }
  23553. m.Addresses = append(m.Addresses, EndpointAddress{})
  23554. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23555. return err
  23556. }
  23557. iNdEx = postIndex
  23558. case 2:
  23559. if wireType != 2 {
  23560. return fmt.Errorf("proto: wrong wireType = %d for field NotReadyAddresses", wireType)
  23561. }
  23562. var msglen int
  23563. for shift := uint(0); ; shift += 7 {
  23564. if shift >= 64 {
  23565. return ErrIntOverflowGenerated
  23566. }
  23567. if iNdEx >= l {
  23568. return io.ErrUnexpectedEOF
  23569. }
  23570. b := dAtA[iNdEx]
  23571. iNdEx++
  23572. msglen |= (int(b) & 0x7F) << shift
  23573. if b < 0x80 {
  23574. break
  23575. }
  23576. }
  23577. if msglen < 0 {
  23578. return ErrInvalidLengthGenerated
  23579. }
  23580. postIndex := iNdEx + msglen
  23581. if postIndex > l {
  23582. return io.ErrUnexpectedEOF
  23583. }
  23584. m.NotReadyAddresses = append(m.NotReadyAddresses, EndpointAddress{})
  23585. if err := m.NotReadyAddresses[len(m.NotReadyAddresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23586. return err
  23587. }
  23588. iNdEx = postIndex
  23589. case 3:
  23590. if wireType != 2 {
  23591. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  23592. }
  23593. var msglen int
  23594. for shift := uint(0); ; shift += 7 {
  23595. if shift >= 64 {
  23596. return ErrIntOverflowGenerated
  23597. }
  23598. if iNdEx >= l {
  23599. return io.ErrUnexpectedEOF
  23600. }
  23601. b := dAtA[iNdEx]
  23602. iNdEx++
  23603. msglen |= (int(b) & 0x7F) << shift
  23604. if b < 0x80 {
  23605. break
  23606. }
  23607. }
  23608. if msglen < 0 {
  23609. return ErrInvalidLengthGenerated
  23610. }
  23611. postIndex := iNdEx + msglen
  23612. if postIndex > l {
  23613. return io.ErrUnexpectedEOF
  23614. }
  23615. m.Ports = append(m.Ports, EndpointPort{})
  23616. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23617. return err
  23618. }
  23619. iNdEx = postIndex
  23620. default:
  23621. iNdEx = preIndex
  23622. skippy, err := skipGenerated(dAtA[iNdEx:])
  23623. if err != nil {
  23624. return err
  23625. }
  23626. if skippy < 0 {
  23627. return ErrInvalidLengthGenerated
  23628. }
  23629. if (iNdEx + skippy) > l {
  23630. return io.ErrUnexpectedEOF
  23631. }
  23632. iNdEx += skippy
  23633. }
  23634. }
  23635. if iNdEx > l {
  23636. return io.ErrUnexpectedEOF
  23637. }
  23638. return nil
  23639. }
  23640. func (m *Endpoints) Unmarshal(dAtA []byte) error {
  23641. l := len(dAtA)
  23642. iNdEx := 0
  23643. for iNdEx < l {
  23644. preIndex := iNdEx
  23645. var wire uint64
  23646. for shift := uint(0); ; shift += 7 {
  23647. if shift >= 64 {
  23648. return ErrIntOverflowGenerated
  23649. }
  23650. if iNdEx >= l {
  23651. return io.ErrUnexpectedEOF
  23652. }
  23653. b := dAtA[iNdEx]
  23654. iNdEx++
  23655. wire |= (uint64(b) & 0x7F) << shift
  23656. if b < 0x80 {
  23657. break
  23658. }
  23659. }
  23660. fieldNum := int32(wire >> 3)
  23661. wireType := int(wire & 0x7)
  23662. if wireType == 4 {
  23663. return fmt.Errorf("proto: Endpoints: wiretype end group for non-group")
  23664. }
  23665. if fieldNum <= 0 {
  23666. return fmt.Errorf("proto: Endpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  23667. }
  23668. switch fieldNum {
  23669. case 1:
  23670. if wireType != 2 {
  23671. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  23672. }
  23673. var msglen int
  23674. for shift := uint(0); ; shift += 7 {
  23675. if shift >= 64 {
  23676. return ErrIntOverflowGenerated
  23677. }
  23678. if iNdEx >= l {
  23679. return io.ErrUnexpectedEOF
  23680. }
  23681. b := dAtA[iNdEx]
  23682. iNdEx++
  23683. msglen |= (int(b) & 0x7F) << shift
  23684. if b < 0x80 {
  23685. break
  23686. }
  23687. }
  23688. if msglen < 0 {
  23689. return ErrInvalidLengthGenerated
  23690. }
  23691. postIndex := iNdEx + msglen
  23692. if postIndex > l {
  23693. return io.ErrUnexpectedEOF
  23694. }
  23695. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23696. return err
  23697. }
  23698. iNdEx = postIndex
  23699. case 2:
  23700. if wireType != 2 {
  23701. return fmt.Errorf("proto: wrong wireType = %d for field Subsets", wireType)
  23702. }
  23703. var msglen int
  23704. for shift := uint(0); ; shift += 7 {
  23705. if shift >= 64 {
  23706. return ErrIntOverflowGenerated
  23707. }
  23708. if iNdEx >= l {
  23709. return io.ErrUnexpectedEOF
  23710. }
  23711. b := dAtA[iNdEx]
  23712. iNdEx++
  23713. msglen |= (int(b) & 0x7F) << shift
  23714. if b < 0x80 {
  23715. break
  23716. }
  23717. }
  23718. if msglen < 0 {
  23719. return ErrInvalidLengthGenerated
  23720. }
  23721. postIndex := iNdEx + msglen
  23722. if postIndex > l {
  23723. return io.ErrUnexpectedEOF
  23724. }
  23725. m.Subsets = append(m.Subsets, EndpointSubset{})
  23726. if err := m.Subsets[len(m.Subsets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23727. return err
  23728. }
  23729. iNdEx = postIndex
  23730. default:
  23731. iNdEx = preIndex
  23732. skippy, err := skipGenerated(dAtA[iNdEx:])
  23733. if err != nil {
  23734. return err
  23735. }
  23736. if skippy < 0 {
  23737. return ErrInvalidLengthGenerated
  23738. }
  23739. if (iNdEx + skippy) > l {
  23740. return io.ErrUnexpectedEOF
  23741. }
  23742. iNdEx += skippy
  23743. }
  23744. }
  23745. if iNdEx > l {
  23746. return io.ErrUnexpectedEOF
  23747. }
  23748. return nil
  23749. }
  23750. func (m *EndpointsList) Unmarshal(dAtA []byte) error {
  23751. l := len(dAtA)
  23752. iNdEx := 0
  23753. for iNdEx < l {
  23754. preIndex := iNdEx
  23755. var wire uint64
  23756. for shift := uint(0); ; shift += 7 {
  23757. if shift >= 64 {
  23758. return ErrIntOverflowGenerated
  23759. }
  23760. if iNdEx >= l {
  23761. return io.ErrUnexpectedEOF
  23762. }
  23763. b := dAtA[iNdEx]
  23764. iNdEx++
  23765. wire |= (uint64(b) & 0x7F) << shift
  23766. if b < 0x80 {
  23767. break
  23768. }
  23769. }
  23770. fieldNum := int32(wire >> 3)
  23771. wireType := int(wire & 0x7)
  23772. if wireType == 4 {
  23773. return fmt.Errorf("proto: EndpointsList: wiretype end group for non-group")
  23774. }
  23775. if fieldNum <= 0 {
  23776. return fmt.Errorf("proto: EndpointsList: illegal tag %d (wire type %d)", fieldNum, wire)
  23777. }
  23778. switch fieldNum {
  23779. case 1:
  23780. if wireType != 2 {
  23781. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  23782. }
  23783. var msglen int
  23784. for shift := uint(0); ; shift += 7 {
  23785. if shift >= 64 {
  23786. return ErrIntOverflowGenerated
  23787. }
  23788. if iNdEx >= l {
  23789. return io.ErrUnexpectedEOF
  23790. }
  23791. b := dAtA[iNdEx]
  23792. iNdEx++
  23793. msglen |= (int(b) & 0x7F) << shift
  23794. if b < 0x80 {
  23795. break
  23796. }
  23797. }
  23798. if msglen < 0 {
  23799. return ErrInvalidLengthGenerated
  23800. }
  23801. postIndex := iNdEx + msglen
  23802. if postIndex > l {
  23803. return io.ErrUnexpectedEOF
  23804. }
  23805. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23806. return err
  23807. }
  23808. iNdEx = postIndex
  23809. case 2:
  23810. if wireType != 2 {
  23811. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  23812. }
  23813. var msglen int
  23814. for shift := uint(0); ; shift += 7 {
  23815. if shift >= 64 {
  23816. return ErrIntOverflowGenerated
  23817. }
  23818. if iNdEx >= l {
  23819. return io.ErrUnexpectedEOF
  23820. }
  23821. b := dAtA[iNdEx]
  23822. iNdEx++
  23823. msglen |= (int(b) & 0x7F) << shift
  23824. if b < 0x80 {
  23825. break
  23826. }
  23827. }
  23828. if msglen < 0 {
  23829. return ErrInvalidLengthGenerated
  23830. }
  23831. postIndex := iNdEx + msglen
  23832. if postIndex > l {
  23833. return io.ErrUnexpectedEOF
  23834. }
  23835. m.Items = append(m.Items, Endpoints{})
  23836. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23837. return err
  23838. }
  23839. iNdEx = postIndex
  23840. default:
  23841. iNdEx = preIndex
  23842. skippy, err := skipGenerated(dAtA[iNdEx:])
  23843. if err != nil {
  23844. return err
  23845. }
  23846. if skippy < 0 {
  23847. return ErrInvalidLengthGenerated
  23848. }
  23849. if (iNdEx + skippy) > l {
  23850. return io.ErrUnexpectedEOF
  23851. }
  23852. iNdEx += skippy
  23853. }
  23854. }
  23855. if iNdEx > l {
  23856. return io.ErrUnexpectedEOF
  23857. }
  23858. return nil
  23859. }
  23860. func (m *EnvFromSource) Unmarshal(dAtA []byte) error {
  23861. l := len(dAtA)
  23862. iNdEx := 0
  23863. for iNdEx < l {
  23864. preIndex := iNdEx
  23865. var wire uint64
  23866. for shift := uint(0); ; shift += 7 {
  23867. if shift >= 64 {
  23868. return ErrIntOverflowGenerated
  23869. }
  23870. if iNdEx >= l {
  23871. return io.ErrUnexpectedEOF
  23872. }
  23873. b := dAtA[iNdEx]
  23874. iNdEx++
  23875. wire |= (uint64(b) & 0x7F) << shift
  23876. if b < 0x80 {
  23877. break
  23878. }
  23879. }
  23880. fieldNum := int32(wire >> 3)
  23881. wireType := int(wire & 0x7)
  23882. if wireType == 4 {
  23883. return fmt.Errorf("proto: EnvFromSource: wiretype end group for non-group")
  23884. }
  23885. if fieldNum <= 0 {
  23886. return fmt.Errorf("proto: EnvFromSource: illegal tag %d (wire type %d)", fieldNum, wire)
  23887. }
  23888. switch fieldNum {
  23889. case 1:
  23890. if wireType != 2 {
  23891. return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType)
  23892. }
  23893. var stringLen uint64
  23894. for shift := uint(0); ; shift += 7 {
  23895. if shift >= 64 {
  23896. return ErrIntOverflowGenerated
  23897. }
  23898. if iNdEx >= l {
  23899. return io.ErrUnexpectedEOF
  23900. }
  23901. b := dAtA[iNdEx]
  23902. iNdEx++
  23903. stringLen |= (uint64(b) & 0x7F) << shift
  23904. if b < 0x80 {
  23905. break
  23906. }
  23907. }
  23908. intStringLen := int(stringLen)
  23909. if intStringLen < 0 {
  23910. return ErrInvalidLengthGenerated
  23911. }
  23912. postIndex := iNdEx + intStringLen
  23913. if postIndex > l {
  23914. return io.ErrUnexpectedEOF
  23915. }
  23916. m.Prefix = string(dAtA[iNdEx:postIndex])
  23917. iNdEx = postIndex
  23918. case 2:
  23919. if wireType != 2 {
  23920. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapRef", wireType)
  23921. }
  23922. var msglen int
  23923. for shift := uint(0); ; shift += 7 {
  23924. if shift >= 64 {
  23925. return ErrIntOverflowGenerated
  23926. }
  23927. if iNdEx >= l {
  23928. return io.ErrUnexpectedEOF
  23929. }
  23930. b := dAtA[iNdEx]
  23931. iNdEx++
  23932. msglen |= (int(b) & 0x7F) << shift
  23933. if b < 0x80 {
  23934. break
  23935. }
  23936. }
  23937. if msglen < 0 {
  23938. return ErrInvalidLengthGenerated
  23939. }
  23940. postIndex := iNdEx + msglen
  23941. if postIndex > l {
  23942. return io.ErrUnexpectedEOF
  23943. }
  23944. if m.ConfigMapRef == nil {
  23945. m.ConfigMapRef = &ConfigMapEnvSource{}
  23946. }
  23947. if err := m.ConfigMapRef.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 SecretRef", 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 m.SecretRef == nil {
  23978. m.SecretRef = &SecretEnvSource{}
  23979. }
  23980. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23981. return err
  23982. }
  23983. iNdEx = postIndex
  23984. default:
  23985. iNdEx = preIndex
  23986. skippy, err := skipGenerated(dAtA[iNdEx:])
  23987. if err != nil {
  23988. return err
  23989. }
  23990. if skippy < 0 {
  23991. return ErrInvalidLengthGenerated
  23992. }
  23993. if (iNdEx + skippy) > l {
  23994. return io.ErrUnexpectedEOF
  23995. }
  23996. iNdEx += skippy
  23997. }
  23998. }
  23999. if iNdEx > l {
  24000. return io.ErrUnexpectedEOF
  24001. }
  24002. return nil
  24003. }
  24004. func (m *EnvVar) Unmarshal(dAtA []byte) error {
  24005. l := len(dAtA)
  24006. iNdEx := 0
  24007. for iNdEx < l {
  24008. preIndex := iNdEx
  24009. var wire uint64
  24010. for shift := uint(0); ; shift += 7 {
  24011. if shift >= 64 {
  24012. return ErrIntOverflowGenerated
  24013. }
  24014. if iNdEx >= l {
  24015. return io.ErrUnexpectedEOF
  24016. }
  24017. b := dAtA[iNdEx]
  24018. iNdEx++
  24019. wire |= (uint64(b) & 0x7F) << shift
  24020. if b < 0x80 {
  24021. break
  24022. }
  24023. }
  24024. fieldNum := int32(wire >> 3)
  24025. wireType := int(wire & 0x7)
  24026. if wireType == 4 {
  24027. return fmt.Errorf("proto: EnvVar: wiretype end group for non-group")
  24028. }
  24029. if fieldNum <= 0 {
  24030. return fmt.Errorf("proto: EnvVar: illegal tag %d (wire type %d)", fieldNum, wire)
  24031. }
  24032. switch fieldNum {
  24033. case 1:
  24034. if wireType != 2 {
  24035. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  24036. }
  24037. var stringLen uint64
  24038. for shift := uint(0); ; shift += 7 {
  24039. if shift >= 64 {
  24040. return ErrIntOverflowGenerated
  24041. }
  24042. if iNdEx >= l {
  24043. return io.ErrUnexpectedEOF
  24044. }
  24045. b := dAtA[iNdEx]
  24046. iNdEx++
  24047. stringLen |= (uint64(b) & 0x7F) << shift
  24048. if b < 0x80 {
  24049. break
  24050. }
  24051. }
  24052. intStringLen := int(stringLen)
  24053. if intStringLen < 0 {
  24054. return ErrInvalidLengthGenerated
  24055. }
  24056. postIndex := iNdEx + intStringLen
  24057. if postIndex > l {
  24058. return io.ErrUnexpectedEOF
  24059. }
  24060. m.Name = string(dAtA[iNdEx:postIndex])
  24061. iNdEx = postIndex
  24062. case 2:
  24063. if wireType != 2 {
  24064. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  24065. }
  24066. var stringLen uint64
  24067. for shift := uint(0); ; shift += 7 {
  24068. if shift >= 64 {
  24069. return ErrIntOverflowGenerated
  24070. }
  24071. if iNdEx >= l {
  24072. return io.ErrUnexpectedEOF
  24073. }
  24074. b := dAtA[iNdEx]
  24075. iNdEx++
  24076. stringLen |= (uint64(b) & 0x7F) << shift
  24077. if b < 0x80 {
  24078. break
  24079. }
  24080. }
  24081. intStringLen := int(stringLen)
  24082. if intStringLen < 0 {
  24083. return ErrInvalidLengthGenerated
  24084. }
  24085. postIndex := iNdEx + intStringLen
  24086. if postIndex > l {
  24087. return io.ErrUnexpectedEOF
  24088. }
  24089. m.Value = string(dAtA[iNdEx:postIndex])
  24090. iNdEx = postIndex
  24091. case 3:
  24092. if wireType != 2 {
  24093. return fmt.Errorf("proto: wrong wireType = %d for field ValueFrom", wireType)
  24094. }
  24095. var msglen int
  24096. for shift := uint(0); ; shift += 7 {
  24097. if shift >= 64 {
  24098. return ErrIntOverflowGenerated
  24099. }
  24100. if iNdEx >= l {
  24101. return io.ErrUnexpectedEOF
  24102. }
  24103. b := dAtA[iNdEx]
  24104. iNdEx++
  24105. msglen |= (int(b) & 0x7F) << shift
  24106. if b < 0x80 {
  24107. break
  24108. }
  24109. }
  24110. if msglen < 0 {
  24111. return ErrInvalidLengthGenerated
  24112. }
  24113. postIndex := iNdEx + msglen
  24114. if postIndex > l {
  24115. return io.ErrUnexpectedEOF
  24116. }
  24117. if m.ValueFrom == nil {
  24118. m.ValueFrom = &EnvVarSource{}
  24119. }
  24120. if err := m.ValueFrom.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24121. return err
  24122. }
  24123. iNdEx = postIndex
  24124. default:
  24125. iNdEx = preIndex
  24126. skippy, err := skipGenerated(dAtA[iNdEx:])
  24127. if err != nil {
  24128. return err
  24129. }
  24130. if skippy < 0 {
  24131. return ErrInvalidLengthGenerated
  24132. }
  24133. if (iNdEx + skippy) > l {
  24134. return io.ErrUnexpectedEOF
  24135. }
  24136. iNdEx += skippy
  24137. }
  24138. }
  24139. if iNdEx > l {
  24140. return io.ErrUnexpectedEOF
  24141. }
  24142. return nil
  24143. }
  24144. func (m *EnvVarSource) Unmarshal(dAtA []byte) error {
  24145. l := len(dAtA)
  24146. iNdEx := 0
  24147. for iNdEx < l {
  24148. preIndex := iNdEx
  24149. var wire uint64
  24150. for shift := uint(0); ; shift += 7 {
  24151. if shift >= 64 {
  24152. return ErrIntOverflowGenerated
  24153. }
  24154. if iNdEx >= l {
  24155. return io.ErrUnexpectedEOF
  24156. }
  24157. b := dAtA[iNdEx]
  24158. iNdEx++
  24159. wire |= (uint64(b) & 0x7F) << shift
  24160. if b < 0x80 {
  24161. break
  24162. }
  24163. }
  24164. fieldNum := int32(wire >> 3)
  24165. wireType := int(wire & 0x7)
  24166. if wireType == 4 {
  24167. return fmt.Errorf("proto: EnvVarSource: wiretype end group for non-group")
  24168. }
  24169. if fieldNum <= 0 {
  24170. return fmt.Errorf("proto: EnvVarSource: illegal tag %d (wire type %d)", fieldNum, wire)
  24171. }
  24172. switch fieldNum {
  24173. case 1:
  24174. if wireType != 2 {
  24175. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  24176. }
  24177. var msglen int
  24178. for shift := uint(0); ; shift += 7 {
  24179. if shift >= 64 {
  24180. return ErrIntOverflowGenerated
  24181. }
  24182. if iNdEx >= l {
  24183. return io.ErrUnexpectedEOF
  24184. }
  24185. b := dAtA[iNdEx]
  24186. iNdEx++
  24187. msglen |= (int(b) & 0x7F) << shift
  24188. if b < 0x80 {
  24189. break
  24190. }
  24191. }
  24192. if msglen < 0 {
  24193. return ErrInvalidLengthGenerated
  24194. }
  24195. postIndex := iNdEx + msglen
  24196. if postIndex > l {
  24197. return io.ErrUnexpectedEOF
  24198. }
  24199. if m.FieldRef == nil {
  24200. m.FieldRef = &ObjectFieldSelector{}
  24201. }
  24202. if err := m.FieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24203. return err
  24204. }
  24205. iNdEx = postIndex
  24206. case 2:
  24207. if wireType != 2 {
  24208. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  24209. }
  24210. var msglen int
  24211. for shift := uint(0); ; shift += 7 {
  24212. if shift >= 64 {
  24213. return ErrIntOverflowGenerated
  24214. }
  24215. if iNdEx >= l {
  24216. return io.ErrUnexpectedEOF
  24217. }
  24218. b := dAtA[iNdEx]
  24219. iNdEx++
  24220. msglen |= (int(b) & 0x7F) << shift
  24221. if b < 0x80 {
  24222. break
  24223. }
  24224. }
  24225. if msglen < 0 {
  24226. return ErrInvalidLengthGenerated
  24227. }
  24228. postIndex := iNdEx + msglen
  24229. if postIndex > l {
  24230. return io.ErrUnexpectedEOF
  24231. }
  24232. if m.ResourceFieldRef == nil {
  24233. m.ResourceFieldRef = &ResourceFieldSelector{}
  24234. }
  24235. if err := m.ResourceFieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24236. return err
  24237. }
  24238. iNdEx = postIndex
  24239. case 3:
  24240. if wireType != 2 {
  24241. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapKeyRef", wireType)
  24242. }
  24243. var msglen int
  24244. for shift := uint(0); ; shift += 7 {
  24245. if shift >= 64 {
  24246. return ErrIntOverflowGenerated
  24247. }
  24248. if iNdEx >= l {
  24249. return io.ErrUnexpectedEOF
  24250. }
  24251. b := dAtA[iNdEx]
  24252. iNdEx++
  24253. msglen |= (int(b) & 0x7F) << shift
  24254. if b < 0x80 {
  24255. break
  24256. }
  24257. }
  24258. if msglen < 0 {
  24259. return ErrInvalidLengthGenerated
  24260. }
  24261. postIndex := iNdEx + msglen
  24262. if postIndex > l {
  24263. return io.ErrUnexpectedEOF
  24264. }
  24265. if m.ConfigMapKeyRef == nil {
  24266. m.ConfigMapKeyRef = &ConfigMapKeySelector{}
  24267. }
  24268. if err := m.ConfigMapKeyRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24269. return err
  24270. }
  24271. iNdEx = postIndex
  24272. case 4:
  24273. if wireType != 2 {
  24274. return fmt.Errorf("proto: wrong wireType = %d for field SecretKeyRef", wireType)
  24275. }
  24276. var msglen int
  24277. for shift := uint(0); ; shift += 7 {
  24278. if shift >= 64 {
  24279. return ErrIntOverflowGenerated
  24280. }
  24281. if iNdEx >= l {
  24282. return io.ErrUnexpectedEOF
  24283. }
  24284. b := dAtA[iNdEx]
  24285. iNdEx++
  24286. msglen |= (int(b) & 0x7F) << shift
  24287. if b < 0x80 {
  24288. break
  24289. }
  24290. }
  24291. if msglen < 0 {
  24292. return ErrInvalidLengthGenerated
  24293. }
  24294. postIndex := iNdEx + msglen
  24295. if postIndex > l {
  24296. return io.ErrUnexpectedEOF
  24297. }
  24298. if m.SecretKeyRef == nil {
  24299. m.SecretKeyRef = &SecretKeySelector{}
  24300. }
  24301. if err := m.SecretKeyRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24302. return err
  24303. }
  24304. iNdEx = postIndex
  24305. default:
  24306. iNdEx = preIndex
  24307. skippy, err := skipGenerated(dAtA[iNdEx:])
  24308. if err != nil {
  24309. return err
  24310. }
  24311. if skippy < 0 {
  24312. return ErrInvalidLengthGenerated
  24313. }
  24314. if (iNdEx + skippy) > l {
  24315. return io.ErrUnexpectedEOF
  24316. }
  24317. iNdEx += skippy
  24318. }
  24319. }
  24320. if iNdEx > l {
  24321. return io.ErrUnexpectedEOF
  24322. }
  24323. return nil
  24324. }
  24325. func (m *Event) Unmarshal(dAtA []byte) error {
  24326. l := len(dAtA)
  24327. iNdEx := 0
  24328. for iNdEx < l {
  24329. preIndex := iNdEx
  24330. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  24341. if b < 0x80 {
  24342. break
  24343. }
  24344. }
  24345. fieldNum := int32(wire >> 3)
  24346. wireType := int(wire & 0x7)
  24347. if wireType == 4 {
  24348. return fmt.Errorf("proto: Event: wiretype end group for non-group")
  24349. }
  24350. if fieldNum <= 0 {
  24351. return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
  24352. }
  24353. switch fieldNum {
  24354. case 1:
  24355. if wireType != 2 {
  24356. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  24357. }
  24358. var msglen int
  24359. for shift := uint(0); ; shift += 7 {
  24360. if shift >= 64 {
  24361. return ErrIntOverflowGenerated
  24362. }
  24363. if iNdEx >= l {
  24364. return io.ErrUnexpectedEOF
  24365. }
  24366. b := dAtA[iNdEx]
  24367. iNdEx++
  24368. msglen |= (int(b) & 0x7F) << shift
  24369. if b < 0x80 {
  24370. break
  24371. }
  24372. }
  24373. if msglen < 0 {
  24374. return ErrInvalidLengthGenerated
  24375. }
  24376. postIndex := iNdEx + msglen
  24377. if postIndex > l {
  24378. return io.ErrUnexpectedEOF
  24379. }
  24380. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24381. return err
  24382. }
  24383. iNdEx = postIndex
  24384. case 2:
  24385. if wireType != 2 {
  24386. return fmt.Errorf("proto: wrong wireType = %d for field InvolvedObject", wireType)
  24387. }
  24388. var msglen int
  24389. for shift := uint(0); ; shift += 7 {
  24390. if shift >= 64 {
  24391. return ErrIntOverflowGenerated
  24392. }
  24393. if iNdEx >= l {
  24394. return io.ErrUnexpectedEOF
  24395. }
  24396. b := dAtA[iNdEx]
  24397. iNdEx++
  24398. msglen |= (int(b) & 0x7F) << shift
  24399. if b < 0x80 {
  24400. break
  24401. }
  24402. }
  24403. if msglen < 0 {
  24404. return ErrInvalidLengthGenerated
  24405. }
  24406. postIndex := iNdEx + msglen
  24407. if postIndex > l {
  24408. return io.ErrUnexpectedEOF
  24409. }
  24410. if err := m.InvolvedObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24411. return err
  24412. }
  24413. iNdEx = postIndex
  24414. case 3:
  24415. if wireType != 2 {
  24416. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  24417. }
  24418. var stringLen uint64
  24419. for shift := uint(0); ; shift += 7 {
  24420. if shift >= 64 {
  24421. return ErrIntOverflowGenerated
  24422. }
  24423. if iNdEx >= l {
  24424. return io.ErrUnexpectedEOF
  24425. }
  24426. b := dAtA[iNdEx]
  24427. iNdEx++
  24428. stringLen |= (uint64(b) & 0x7F) << shift
  24429. if b < 0x80 {
  24430. break
  24431. }
  24432. }
  24433. intStringLen := int(stringLen)
  24434. if intStringLen < 0 {
  24435. return ErrInvalidLengthGenerated
  24436. }
  24437. postIndex := iNdEx + intStringLen
  24438. if postIndex > l {
  24439. return io.ErrUnexpectedEOF
  24440. }
  24441. m.Reason = string(dAtA[iNdEx:postIndex])
  24442. iNdEx = postIndex
  24443. case 4:
  24444. if wireType != 2 {
  24445. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  24446. }
  24447. var stringLen uint64
  24448. for shift := uint(0); ; shift += 7 {
  24449. if shift >= 64 {
  24450. return ErrIntOverflowGenerated
  24451. }
  24452. if iNdEx >= l {
  24453. return io.ErrUnexpectedEOF
  24454. }
  24455. b := dAtA[iNdEx]
  24456. iNdEx++
  24457. stringLen |= (uint64(b) & 0x7F) << shift
  24458. if b < 0x80 {
  24459. break
  24460. }
  24461. }
  24462. intStringLen := int(stringLen)
  24463. if intStringLen < 0 {
  24464. return ErrInvalidLengthGenerated
  24465. }
  24466. postIndex := iNdEx + intStringLen
  24467. if postIndex > l {
  24468. return io.ErrUnexpectedEOF
  24469. }
  24470. m.Message = string(dAtA[iNdEx:postIndex])
  24471. iNdEx = postIndex
  24472. case 5:
  24473. if wireType != 2 {
  24474. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  24475. }
  24476. var msglen int
  24477. for shift := uint(0); ; shift += 7 {
  24478. if shift >= 64 {
  24479. return ErrIntOverflowGenerated
  24480. }
  24481. if iNdEx >= l {
  24482. return io.ErrUnexpectedEOF
  24483. }
  24484. b := dAtA[iNdEx]
  24485. iNdEx++
  24486. msglen |= (int(b) & 0x7F) << shift
  24487. if b < 0x80 {
  24488. break
  24489. }
  24490. }
  24491. if msglen < 0 {
  24492. return ErrInvalidLengthGenerated
  24493. }
  24494. postIndex := iNdEx + msglen
  24495. if postIndex > l {
  24496. return io.ErrUnexpectedEOF
  24497. }
  24498. if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24499. return err
  24500. }
  24501. iNdEx = postIndex
  24502. case 6:
  24503. if wireType != 2 {
  24504. return fmt.Errorf("proto: wrong wireType = %d for field FirstTimestamp", wireType)
  24505. }
  24506. var msglen int
  24507. for shift := uint(0); ; shift += 7 {
  24508. if shift >= 64 {
  24509. return ErrIntOverflowGenerated
  24510. }
  24511. if iNdEx >= l {
  24512. return io.ErrUnexpectedEOF
  24513. }
  24514. b := dAtA[iNdEx]
  24515. iNdEx++
  24516. msglen |= (int(b) & 0x7F) << shift
  24517. if b < 0x80 {
  24518. break
  24519. }
  24520. }
  24521. if msglen < 0 {
  24522. return ErrInvalidLengthGenerated
  24523. }
  24524. postIndex := iNdEx + msglen
  24525. if postIndex > l {
  24526. return io.ErrUnexpectedEOF
  24527. }
  24528. if err := m.FirstTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24529. return err
  24530. }
  24531. iNdEx = postIndex
  24532. case 7:
  24533. if wireType != 2 {
  24534. return fmt.Errorf("proto: wrong wireType = %d for field LastTimestamp", wireType)
  24535. }
  24536. var msglen int
  24537. for shift := uint(0); ; shift += 7 {
  24538. if shift >= 64 {
  24539. return ErrIntOverflowGenerated
  24540. }
  24541. if iNdEx >= l {
  24542. return io.ErrUnexpectedEOF
  24543. }
  24544. b := dAtA[iNdEx]
  24545. iNdEx++
  24546. msglen |= (int(b) & 0x7F) << shift
  24547. if b < 0x80 {
  24548. break
  24549. }
  24550. }
  24551. if msglen < 0 {
  24552. return ErrInvalidLengthGenerated
  24553. }
  24554. postIndex := iNdEx + msglen
  24555. if postIndex > l {
  24556. return io.ErrUnexpectedEOF
  24557. }
  24558. if err := m.LastTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24559. return err
  24560. }
  24561. iNdEx = postIndex
  24562. case 8:
  24563. if wireType != 0 {
  24564. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  24565. }
  24566. m.Count = 0
  24567. for shift := uint(0); ; shift += 7 {
  24568. if shift >= 64 {
  24569. return ErrIntOverflowGenerated
  24570. }
  24571. if iNdEx >= l {
  24572. return io.ErrUnexpectedEOF
  24573. }
  24574. b := dAtA[iNdEx]
  24575. iNdEx++
  24576. m.Count |= (int32(b) & 0x7F) << shift
  24577. if b < 0x80 {
  24578. break
  24579. }
  24580. }
  24581. case 9:
  24582. if wireType != 2 {
  24583. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  24584. }
  24585. var stringLen uint64
  24586. for shift := uint(0); ; shift += 7 {
  24587. if shift >= 64 {
  24588. return ErrIntOverflowGenerated
  24589. }
  24590. if iNdEx >= l {
  24591. return io.ErrUnexpectedEOF
  24592. }
  24593. b := dAtA[iNdEx]
  24594. iNdEx++
  24595. stringLen |= (uint64(b) & 0x7F) << shift
  24596. if b < 0x80 {
  24597. break
  24598. }
  24599. }
  24600. intStringLen := int(stringLen)
  24601. if intStringLen < 0 {
  24602. return ErrInvalidLengthGenerated
  24603. }
  24604. postIndex := iNdEx + intStringLen
  24605. if postIndex > l {
  24606. return io.ErrUnexpectedEOF
  24607. }
  24608. m.Type = string(dAtA[iNdEx:postIndex])
  24609. iNdEx = postIndex
  24610. case 10:
  24611. if wireType != 2 {
  24612. return fmt.Errorf("proto: wrong wireType = %d for field EventTime", wireType)
  24613. }
  24614. var msglen int
  24615. for shift := uint(0); ; shift += 7 {
  24616. if shift >= 64 {
  24617. return ErrIntOverflowGenerated
  24618. }
  24619. if iNdEx >= l {
  24620. return io.ErrUnexpectedEOF
  24621. }
  24622. b := dAtA[iNdEx]
  24623. iNdEx++
  24624. msglen |= (int(b) & 0x7F) << shift
  24625. if b < 0x80 {
  24626. break
  24627. }
  24628. }
  24629. if msglen < 0 {
  24630. return ErrInvalidLengthGenerated
  24631. }
  24632. postIndex := iNdEx + msglen
  24633. if postIndex > l {
  24634. return io.ErrUnexpectedEOF
  24635. }
  24636. if err := m.EventTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24637. return err
  24638. }
  24639. iNdEx = postIndex
  24640. case 11:
  24641. if wireType != 2 {
  24642. return fmt.Errorf("proto: wrong wireType = %d for field Series", wireType)
  24643. }
  24644. var msglen int
  24645. for shift := uint(0); ; shift += 7 {
  24646. if shift >= 64 {
  24647. return ErrIntOverflowGenerated
  24648. }
  24649. if iNdEx >= l {
  24650. return io.ErrUnexpectedEOF
  24651. }
  24652. b := dAtA[iNdEx]
  24653. iNdEx++
  24654. msglen |= (int(b) & 0x7F) << shift
  24655. if b < 0x80 {
  24656. break
  24657. }
  24658. }
  24659. if msglen < 0 {
  24660. return ErrInvalidLengthGenerated
  24661. }
  24662. postIndex := iNdEx + msglen
  24663. if postIndex > l {
  24664. return io.ErrUnexpectedEOF
  24665. }
  24666. if m.Series == nil {
  24667. m.Series = &EventSeries{}
  24668. }
  24669. if err := m.Series.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24670. return err
  24671. }
  24672. iNdEx = postIndex
  24673. case 12:
  24674. if wireType != 2 {
  24675. return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
  24676. }
  24677. var stringLen uint64
  24678. for shift := uint(0); ; shift += 7 {
  24679. if shift >= 64 {
  24680. return ErrIntOverflowGenerated
  24681. }
  24682. if iNdEx >= l {
  24683. return io.ErrUnexpectedEOF
  24684. }
  24685. b := dAtA[iNdEx]
  24686. iNdEx++
  24687. stringLen |= (uint64(b) & 0x7F) << shift
  24688. if b < 0x80 {
  24689. break
  24690. }
  24691. }
  24692. intStringLen := int(stringLen)
  24693. if intStringLen < 0 {
  24694. return ErrInvalidLengthGenerated
  24695. }
  24696. postIndex := iNdEx + intStringLen
  24697. if postIndex > l {
  24698. return io.ErrUnexpectedEOF
  24699. }
  24700. m.Action = string(dAtA[iNdEx:postIndex])
  24701. iNdEx = postIndex
  24702. case 13:
  24703. if wireType != 2 {
  24704. return fmt.Errorf("proto: wrong wireType = %d for field Related", wireType)
  24705. }
  24706. var msglen int
  24707. for shift := uint(0); ; shift += 7 {
  24708. if shift >= 64 {
  24709. return ErrIntOverflowGenerated
  24710. }
  24711. if iNdEx >= l {
  24712. return io.ErrUnexpectedEOF
  24713. }
  24714. b := dAtA[iNdEx]
  24715. iNdEx++
  24716. msglen |= (int(b) & 0x7F) << shift
  24717. if b < 0x80 {
  24718. break
  24719. }
  24720. }
  24721. if msglen < 0 {
  24722. return ErrInvalidLengthGenerated
  24723. }
  24724. postIndex := iNdEx + msglen
  24725. if postIndex > l {
  24726. return io.ErrUnexpectedEOF
  24727. }
  24728. if m.Related == nil {
  24729. m.Related = &ObjectReference{}
  24730. }
  24731. if err := m.Related.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24732. return err
  24733. }
  24734. iNdEx = postIndex
  24735. case 14:
  24736. if wireType != 2 {
  24737. return fmt.Errorf("proto: wrong wireType = %d for field ReportingController", wireType)
  24738. }
  24739. var stringLen uint64
  24740. for shift := uint(0); ; shift += 7 {
  24741. if shift >= 64 {
  24742. return ErrIntOverflowGenerated
  24743. }
  24744. if iNdEx >= l {
  24745. return io.ErrUnexpectedEOF
  24746. }
  24747. b := dAtA[iNdEx]
  24748. iNdEx++
  24749. stringLen |= (uint64(b) & 0x7F) << shift
  24750. if b < 0x80 {
  24751. break
  24752. }
  24753. }
  24754. intStringLen := int(stringLen)
  24755. if intStringLen < 0 {
  24756. return ErrInvalidLengthGenerated
  24757. }
  24758. postIndex := iNdEx + intStringLen
  24759. if postIndex > l {
  24760. return io.ErrUnexpectedEOF
  24761. }
  24762. m.ReportingController = string(dAtA[iNdEx:postIndex])
  24763. iNdEx = postIndex
  24764. case 15:
  24765. if wireType != 2 {
  24766. return fmt.Errorf("proto: wrong wireType = %d for field ReportingInstance", wireType)
  24767. }
  24768. var stringLen uint64
  24769. for shift := uint(0); ; shift += 7 {
  24770. if shift >= 64 {
  24771. return ErrIntOverflowGenerated
  24772. }
  24773. if iNdEx >= l {
  24774. return io.ErrUnexpectedEOF
  24775. }
  24776. b := dAtA[iNdEx]
  24777. iNdEx++
  24778. stringLen |= (uint64(b) & 0x7F) << shift
  24779. if b < 0x80 {
  24780. break
  24781. }
  24782. }
  24783. intStringLen := int(stringLen)
  24784. if intStringLen < 0 {
  24785. return ErrInvalidLengthGenerated
  24786. }
  24787. postIndex := iNdEx + intStringLen
  24788. if postIndex > l {
  24789. return io.ErrUnexpectedEOF
  24790. }
  24791. m.ReportingInstance = string(dAtA[iNdEx:postIndex])
  24792. iNdEx = postIndex
  24793. default:
  24794. iNdEx = preIndex
  24795. skippy, err := skipGenerated(dAtA[iNdEx:])
  24796. if err != nil {
  24797. return err
  24798. }
  24799. if skippy < 0 {
  24800. return ErrInvalidLengthGenerated
  24801. }
  24802. if (iNdEx + skippy) > l {
  24803. return io.ErrUnexpectedEOF
  24804. }
  24805. iNdEx += skippy
  24806. }
  24807. }
  24808. if iNdEx > l {
  24809. return io.ErrUnexpectedEOF
  24810. }
  24811. return nil
  24812. }
  24813. func (m *EventList) Unmarshal(dAtA []byte) error {
  24814. l := len(dAtA)
  24815. iNdEx := 0
  24816. for iNdEx < l {
  24817. preIndex := iNdEx
  24818. var wire uint64
  24819. for shift := uint(0); ; shift += 7 {
  24820. if shift >= 64 {
  24821. return ErrIntOverflowGenerated
  24822. }
  24823. if iNdEx >= l {
  24824. return io.ErrUnexpectedEOF
  24825. }
  24826. b := dAtA[iNdEx]
  24827. iNdEx++
  24828. wire |= (uint64(b) & 0x7F) << shift
  24829. if b < 0x80 {
  24830. break
  24831. }
  24832. }
  24833. fieldNum := int32(wire >> 3)
  24834. wireType := int(wire & 0x7)
  24835. if wireType == 4 {
  24836. return fmt.Errorf("proto: EventList: wiretype end group for non-group")
  24837. }
  24838. if fieldNum <= 0 {
  24839. return fmt.Errorf("proto: EventList: illegal tag %d (wire type %d)", fieldNum, wire)
  24840. }
  24841. switch fieldNum {
  24842. case 1:
  24843. if wireType != 2 {
  24844. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  24845. }
  24846. var msglen int
  24847. for shift := uint(0); ; shift += 7 {
  24848. if shift >= 64 {
  24849. return ErrIntOverflowGenerated
  24850. }
  24851. if iNdEx >= l {
  24852. return io.ErrUnexpectedEOF
  24853. }
  24854. b := dAtA[iNdEx]
  24855. iNdEx++
  24856. msglen |= (int(b) & 0x7F) << shift
  24857. if b < 0x80 {
  24858. break
  24859. }
  24860. }
  24861. if msglen < 0 {
  24862. return ErrInvalidLengthGenerated
  24863. }
  24864. postIndex := iNdEx + msglen
  24865. if postIndex > l {
  24866. return io.ErrUnexpectedEOF
  24867. }
  24868. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24869. return err
  24870. }
  24871. iNdEx = postIndex
  24872. case 2:
  24873. if wireType != 2 {
  24874. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  24875. }
  24876. var msglen int
  24877. for shift := uint(0); ; shift += 7 {
  24878. if shift >= 64 {
  24879. return ErrIntOverflowGenerated
  24880. }
  24881. if iNdEx >= l {
  24882. return io.ErrUnexpectedEOF
  24883. }
  24884. b := dAtA[iNdEx]
  24885. iNdEx++
  24886. msglen |= (int(b) & 0x7F) << shift
  24887. if b < 0x80 {
  24888. break
  24889. }
  24890. }
  24891. if msglen < 0 {
  24892. return ErrInvalidLengthGenerated
  24893. }
  24894. postIndex := iNdEx + msglen
  24895. if postIndex > l {
  24896. return io.ErrUnexpectedEOF
  24897. }
  24898. m.Items = append(m.Items, Event{})
  24899. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24900. return err
  24901. }
  24902. iNdEx = postIndex
  24903. default:
  24904. iNdEx = preIndex
  24905. skippy, err := skipGenerated(dAtA[iNdEx:])
  24906. if err != nil {
  24907. return err
  24908. }
  24909. if skippy < 0 {
  24910. return ErrInvalidLengthGenerated
  24911. }
  24912. if (iNdEx + skippy) > l {
  24913. return io.ErrUnexpectedEOF
  24914. }
  24915. iNdEx += skippy
  24916. }
  24917. }
  24918. if iNdEx > l {
  24919. return io.ErrUnexpectedEOF
  24920. }
  24921. return nil
  24922. }
  24923. func (m *EventSeries) Unmarshal(dAtA []byte) error {
  24924. l := len(dAtA)
  24925. iNdEx := 0
  24926. for iNdEx < l {
  24927. preIndex := iNdEx
  24928. var wire uint64
  24929. for shift := uint(0); ; shift += 7 {
  24930. if shift >= 64 {
  24931. return ErrIntOverflowGenerated
  24932. }
  24933. if iNdEx >= l {
  24934. return io.ErrUnexpectedEOF
  24935. }
  24936. b := dAtA[iNdEx]
  24937. iNdEx++
  24938. wire |= (uint64(b) & 0x7F) << shift
  24939. if b < 0x80 {
  24940. break
  24941. }
  24942. }
  24943. fieldNum := int32(wire >> 3)
  24944. wireType := int(wire & 0x7)
  24945. if wireType == 4 {
  24946. return fmt.Errorf("proto: EventSeries: wiretype end group for non-group")
  24947. }
  24948. if fieldNum <= 0 {
  24949. return fmt.Errorf("proto: EventSeries: illegal tag %d (wire type %d)", fieldNum, wire)
  24950. }
  24951. switch fieldNum {
  24952. case 1:
  24953. if wireType != 0 {
  24954. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  24955. }
  24956. m.Count = 0
  24957. for shift := uint(0); ; shift += 7 {
  24958. if shift >= 64 {
  24959. return ErrIntOverflowGenerated
  24960. }
  24961. if iNdEx >= l {
  24962. return io.ErrUnexpectedEOF
  24963. }
  24964. b := dAtA[iNdEx]
  24965. iNdEx++
  24966. m.Count |= (int32(b) & 0x7F) << shift
  24967. if b < 0x80 {
  24968. break
  24969. }
  24970. }
  24971. case 2:
  24972. if wireType != 2 {
  24973. return fmt.Errorf("proto: wrong wireType = %d for field LastObservedTime", wireType)
  24974. }
  24975. var msglen int
  24976. for shift := uint(0); ; shift += 7 {
  24977. if shift >= 64 {
  24978. return ErrIntOverflowGenerated
  24979. }
  24980. if iNdEx >= l {
  24981. return io.ErrUnexpectedEOF
  24982. }
  24983. b := dAtA[iNdEx]
  24984. iNdEx++
  24985. msglen |= (int(b) & 0x7F) << shift
  24986. if b < 0x80 {
  24987. break
  24988. }
  24989. }
  24990. if msglen < 0 {
  24991. return ErrInvalidLengthGenerated
  24992. }
  24993. postIndex := iNdEx + msglen
  24994. if postIndex > l {
  24995. return io.ErrUnexpectedEOF
  24996. }
  24997. if err := m.LastObservedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24998. return err
  24999. }
  25000. iNdEx = postIndex
  25001. case 3:
  25002. if wireType != 2 {
  25003. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  25004. }
  25005. var stringLen uint64
  25006. for shift := uint(0); ; shift += 7 {
  25007. if shift >= 64 {
  25008. return ErrIntOverflowGenerated
  25009. }
  25010. if iNdEx >= l {
  25011. return io.ErrUnexpectedEOF
  25012. }
  25013. b := dAtA[iNdEx]
  25014. iNdEx++
  25015. stringLen |= (uint64(b) & 0x7F) << shift
  25016. if b < 0x80 {
  25017. break
  25018. }
  25019. }
  25020. intStringLen := int(stringLen)
  25021. if intStringLen < 0 {
  25022. return ErrInvalidLengthGenerated
  25023. }
  25024. postIndex := iNdEx + intStringLen
  25025. if postIndex > l {
  25026. return io.ErrUnexpectedEOF
  25027. }
  25028. m.State = EventSeriesState(dAtA[iNdEx:postIndex])
  25029. iNdEx = postIndex
  25030. default:
  25031. iNdEx = preIndex
  25032. skippy, err := skipGenerated(dAtA[iNdEx:])
  25033. if err != nil {
  25034. return err
  25035. }
  25036. if skippy < 0 {
  25037. return ErrInvalidLengthGenerated
  25038. }
  25039. if (iNdEx + skippy) > l {
  25040. return io.ErrUnexpectedEOF
  25041. }
  25042. iNdEx += skippy
  25043. }
  25044. }
  25045. if iNdEx > l {
  25046. return io.ErrUnexpectedEOF
  25047. }
  25048. return nil
  25049. }
  25050. func (m *EventSource) Unmarshal(dAtA []byte) error {
  25051. l := len(dAtA)
  25052. iNdEx := 0
  25053. for iNdEx < l {
  25054. preIndex := iNdEx
  25055. var wire uint64
  25056. for shift := uint(0); ; shift += 7 {
  25057. if shift >= 64 {
  25058. return ErrIntOverflowGenerated
  25059. }
  25060. if iNdEx >= l {
  25061. return io.ErrUnexpectedEOF
  25062. }
  25063. b := dAtA[iNdEx]
  25064. iNdEx++
  25065. wire |= (uint64(b) & 0x7F) << shift
  25066. if b < 0x80 {
  25067. break
  25068. }
  25069. }
  25070. fieldNum := int32(wire >> 3)
  25071. wireType := int(wire & 0x7)
  25072. if wireType == 4 {
  25073. return fmt.Errorf("proto: EventSource: wiretype end group for non-group")
  25074. }
  25075. if fieldNum <= 0 {
  25076. return fmt.Errorf("proto: EventSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25077. }
  25078. switch fieldNum {
  25079. case 1:
  25080. if wireType != 2 {
  25081. return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType)
  25082. }
  25083. var stringLen uint64
  25084. for shift := uint(0); ; shift += 7 {
  25085. if shift >= 64 {
  25086. return ErrIntOverflowGenerated
  25087. }
  25088. if iNdEx >= l {
  25089. return io.ErrUnexpectedEOF
  25090. }
  25091. b := dAtA[iNdEx]
  25092. iNdEx++
  25093. stringLen |= (uint64(b) & 0x7F) << shift
  25094. if b < 0x80 {
  25095. break
  25096. }
  25097. }
  25098. intStringLen := int(stringLen)
  25099. if intStringLen < 0 {
  25100. return ErrInvalidLengthGenerated
  25101. }
  25102. postIndex := iNdEx + intStringLen
  25103. if postIndex > l {
  25104. return io.ErrUnexpectedEOF
  25105. }
  25106. m.Component = string(dAtA[iNdEx:postIndex])
  25107. iNdEx = postIndex
  25108. case 2:
  25109. if wireType != 2 {
  25110. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  25111. }
  25112. var stringLen uint64
  25113. for shift := uint(0); ; shift += 7 {
  25114. if shift >= 64 {
  25115. return ErrIntOverflowGenerated
  25116. }
  25117. if iNdEx >= l {
  25118. return io.ErrUnexpectedEOF
  25119. }
  25120. b := dAtA[iNdEx]
  25121. iNdEx++
  25122. stringLen |= (uint64(b) & 0x7F) << shift
  25123. if b < 0x80 {
  25124. break
  25125. }
  25126. }
  25127. intStringLen := int(stringLen)
  25128. if intStringLen < 0 {
  25129. return ErrInvalidLengthGenerated
  25130. }
  25131. postIndex := iNdEx + intStringLen
  25132. if postIndex > l {
  25133. return io.ErrUnexpectedEOF
  25134. }
  25135. m.Host = string(dAtA[iNdEx:postIndex])
  25136. iNdEx = postIndex
  25137. default:
  25138. iNdEx = preIndex
  25139. skippy, err := skipGenerated(dAtA[iNdEx:])
  25140. if err != nil {
  25141. return err
  25142. }
  25143. if skippy < 0 {
  25144. return ErrInvalidLengthGenerated
  25145. }
  25146. if (iNdEx + skippy) > l {
  25147. return io.ErrUnexpectedEOF
  25148. }
  25149. iNdEx += skippy
  25150. }
  25151. }
  25152. if iNdEx > l {
  25153. return io.ErrUnexpectedEOF
  25154. }
  25155. return nil
  25156. }
  25157. func (m *ExecAction) Unmarshal(dAtA []byte) error {
  25158. l := len(dAtA)
  25159. iNdEx := 0
  25160. for iNdEx < l {
  25161. preIndex := iNdEx
  25162. var wire uint64
  25163. for shift := uint(0); ; shift += 7 {
  25164. if shift >= 64 {
  25165. return ErrIntOverflowGenerated
  25166. }
  25167. if iNdEx >= l {
  25168. return io.ErrUnexpectedEOF
  25169. }
  25170. b := dAtA[iNdEx]
  25171. iNdEx++
  25172. wire |= (uint64(b) & 0x7F) << shift
  25173. if b < 0x80 {
  25174. break
  25175. }
  25176. }
  25177. fieldNum := int32(wire >> 3)
  25178. wireType := int(wire & 0x7)
  25179. if wireType == 4 {
  25180. return fmt.Errorf("proto: ExecAction: wiretype end group for non-group")
  25181. }
  25182. if fieldNum <= 0 {
  25183. return fmt.Errorf("proto: ExecAction: illegal tag %d (wire type %d)", fieldNum, wire)
  25184. }
  25185. switch fieldNum {
  25186. case 1:
  25187. if wireType != 2 {
  25188. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  25189. }
  25190. var stringLen uint64
  25191. for shift := uint(0); ; shift += 7 {
  25192. if shift >= 64 {
  25193. return ErrIntOverflowGenerated
  25194. }
  25195. if iNdEx >= l {
  25196. return io.ErrUnexpectedEOF
  25197. }
  25198. b := dAtA[iNdEx]
  25199. iNdEx++
  25200. stringLen |= (uint64(b) & 0x7F) << shift
  25201. if b < 0x80 {
  25202. break
  25203. }
  25204. }
  25205. intStringLen := int(stringLen)
  25206. if intStringLen < 0 {
  25207. return ErrInvalidLengthGenerated
  25208. }
  25209. postIndex := iNdEx + intStringLen
  25210. if postIndex > l {
  25211. return io.ErrUnexpectedEOF
  25212. }
  25213. m.Command = append(m.Command, string(dAtA[iNdEx:postIndex]))
  25214. iNdEx = postIndex
  25215. default:
  25216. iNdEx = preIndex
  25217. skippy, err := skipGenerated(dAtA[iNdEx:])
  25218. if err != nil {
  25219. return err
  25220. }
  25221. if skippy < 0 {
  25222. return ErrInvalidLengthGenerated
  25223. }
  25224. if (iNdEx + skippy) > l {
  25225. return io.ErrUnexpectedEOF
  25226. }
  25227. iNdEx += skippy
  25228. }
  25229. }
  25230. if iNdEx > l {
  25231. return io.ErrUnexpectedEOF
  25232. }
  25233. return nil
  25234. }
  25235. func (m *FCVolumeSource) Unmarshal(dAtA []byte) error {
  25236. l := len(dAtA)
  25237. iNdEx := 0
  25238. for iNdEx < l {
  25239. preIndex := iNdEx
  25240. var wire uint64
  25241. for shift := uint(0); ; shift += 7 {
  25242. if shift >= 64 {
  25243. return ErrIntOverflowGenerated
  25244. }
  25245. if iNdEx >= l {
  25246. return io.ErrUnexpectedEOF
  25247. }
  25248. b := dAtA[iNdEx]
  25249. iNdEx++
  25250. wire |= (uint64(b) & 0x7F) << shift
  25251. if b < 0x80 {
  25252. break
  25253. }
  25254. }
  25255. fieldNum := int32(wire >> 3)
  25256. wireType := int(wire & 0x7)
  25257. if wireType == 4 {
  25258. return fmt.Errorf("proto: FCVolumeSource: wiretype end group for non-group")
  25259. }
  25260. if fieldNum <= 0 {
  25261. return fmt.Errorf("proto: FCVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25262. }
  25263. switch fieldNum {
  25264. case 1:
  25265. if wireType != 2 {
  25266. return fmt.Errorf("proto: wrong wireType = %d for field TargetWWNs", wireType)
  25267. }
  25268. var stringLen uint64
  25269. for shift := uint(0); ; shift += 7 {
  25270. if shift >= 64 {
  25271. return ErrIntOverflowGenerated
  25272. }
  25273. if iNdEx >= l {
  25274. return io.ErrUnexpectedEOF
  25275. }
  25276. b := dAtA[iNdEx]
  25277. iNdEx++
  25278. stringLen |= (uint64(b) & 0x7F) << shift
  25279. if b < 0x80 {
  25280. break
  25281. }
  25282. }
  25283. intStringLen := int(stringLen)
  25284. if intStringLen < 0 {
  25285. return ErrInvalidLengthGenerated
  25286. }
  25287. postIndex := iNdEx + intStringLen
  25288. if postIndex > l {
  25289. return io.ErrUnexpectedEOF
  25290. }
  25291. m.TargetWWNs = append(m.TargetWWNs, string(dAtA[iNdEx:postIndex]))
  25292. iNdEx = postIndex
  25293. case 2:
  25294. if wireType != 0 {
  25295. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  25296. }
  25297. var v int32
  25298. for shift := uint(0); ; shift += 7 {
  25299. if shift >= 64 {
  25300. return ErrIntOverflowGenerated
  25301. }
  25302. if iNdEx >= l {
  25303. return io.ErrUnexpectedEOF
  25304. }
  25305. b := dAtA[iNdEx]
  25306. iNdEx++
  25307. v |= (int32(b) & 0x7F) << shift
  25308. if b < 0x80 {
  25309. break
  25310. }
  25311. }
  25312. m.Lun = &v
  25313. case 3:
  25314. if wireType != 2 {
  25315. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  25316. }
  25317. var stringLen uint64
  25318. for shift := uint(0); ; shift += 7 {
  25319. if shift >= 64 {
  25320. return ErrIntOverflowGenerated
  25321. }
  25322. if iNdEx >= l {
  25323. return io.ErrUnexpectedEOF
  25324. }
  25325. b := dAtA[iNdEx]
  25326. iNdEx++
  25327. stringLen |= (uint64(b) & 0x7F) << shift
  25328. if b < 0x80 {
  25329. break
  25330. }
  25331. }
  25332. intStringLen := int(stringLen)
  25333. if intStringLen < 0 {
  25334. return ErrInvalidLengthGenerated
  25335. }
  25336. postIndex := iNdEx + intStringLen
  25337. if postIndex > l {
  25338. return io.ErrUnexpectedEOF
  25339. }
  25340. m.FSType = string(dAtA[iNdEx:postIndex])
  25341. iNdEx = postIndex
  25342. case 4:
  25343. if wireType != 0 {
  25344. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  25345. }
  25346. var v int
  25347. for shift := uint(0); ; shift += 7 {
  25348. if shift >= 64 {
  25349. return ErrIntOverflowGenerated
  25350. }
  25351. if iNdEx >= l {
  25352. return io.ErrUnexpectedEOF
  25353. }
  25354. b := dAtA[iNdEx]
  25355. iNdEx++
  25356. v |= (int(b) & 0x7F) << shift
  25357. if b < 0x80 {
  25358. break
  25359. }
  25360. }
  25361. m.ReadOnly = bool(v != 0)
  25362. case 5:
  25363. if wireType != 2 {
  25364. return fmt.Errorf("proto: wrong wireType = %d for field WWIDs", wireType)
  25365. }
  25366. var stringLen uint64
  25367. for shift := uint(0); ; shift += 7 {
  25368. if shift >= 64 {
  25369. return ErrIntOverflowGenerated
  25370. }
  25371. if iNdEx >= l {
  25372. return io.ErrUnexpectedEOF
  25373. }
  25374. b := dAtA[iNdEx]
  25375. iNdEx++
  25376. stringLen |= (uint64(b) & 0x7F) << shift
  25377. if b < 0x80 {
  25378. break
  25379. }
  25380. }
  25381. intStringLen := int(stringLen)
  25382. if intStringLen < 0 {
  25383. return ErrInvalidLengthGenerated
  25384. }
  25385. postIndex := iNdEx + intStringLen
  25386. if postIndex > l {
  25387. return io.ErrUnexpectedEOF
  25388. }
  25389. m.WWIDs = append(m.WWIDs, string(dAtA[iNdEx:postIndex]))
  25390. iNdEx = postIndex
  25391. default:
  25392. iNdEx = preIndex
  25393. skippy, err := skipGenerated(dAtA[iNdEx:])
  25394. if err != nil {
  25395. return err
  25396. }
  25397. if skippy < 0 {
  25398. return ErrInvalidLengthGenerated
  25399. }
  25400. if (iNdEx + skippy) > l {
  25401. return io.ErrUnexpectedEOF
  25402. }
  25403. iNdEx += skippy
  25404. }
  25405. }
  25406. if iNdEx > l {
  25407. return io.ErrUnexpectedEOF
  25408. }
  25409. return nil
  25410. }
  25411. func (m *FlexPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  25412. l := len(dAtA)
  25413. iNdEx := 0
  25414. for iNdEx < l {
  25415. preIndex := iNdEx
  25416. var wire uint64
  25417. for shift := uint(0); ; shift += 7 {
  25418. if shift >= 64 {
  25419. return ErrIntOverflowGenerated
  25420. }
  25421. if iNdEx >= l {
  25422. return io.ErrUnexpectedEOF
  25423. }
  25424. b := dAtA[iNdEx]
  25425. iNdEx++
  25426. wire |= (uint64(b) & 0x7F) << shift
  25427. if b < 0x80 {
  25428. break
  25429. }
  25430. }
  25431. fieldNum := int32(wire >> 3)
  25432. wireType := int(wire & 0x7)
  25433. if wireType == 4 {
  25434. return fmt.Errorf("proto: FlexPersistentVolumeSource: wiretype end group for non-group")
  25435. }
  25436. if fieldNum <= 0 {
  25437. return fmt.Errorf("proto: FlexPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25438. }
  25439. switch fieldNum {
  25440. case 1:
  25441. if wireType != 2 {
  25442. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  25443. }
  25444. var stringLen uint64
  25445. for shift := uint(0); ; shift += 7 {
  25446. if shift >= 64 {
  25447. return ErrIntOverflowGenerated
  25448. }
  25449. if iNdEx >= l {
  25450. return io.ErrUnexpectedEOF
  25451. }
  25452. b := dAtA[iNdEx]
  25453. iNdEx++
  25454. stringLen |= (uint64(b) & 0x7F) << shift
  25455. if b < 0x80 {
  25456. break
  25457. }
  25458. }
  25459. intStringLen := int(stringLen)
  25460. if intStringLen < 0 {
  25461. return ErrInvalidLengthGenerated
  25462. }
  25463. postIndex := iNdEx + intStringLen
  25464. if postIndex > l {
  25465. return io.ErrUnexpectedEOF
  25466. }
  25467. m.Driver = string(dAtA[iNdEx:postIndex])
  25468. iNdEx = postIndex
  25469. case 2:
  25470. if wireType != 2 {
  25471. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  25472. }
  25473. var stringLen uint64
  25474. for shift := uint(0); ; shift += 7 {
  25475. if shift >= 64 {
  25476. return ErrIntOverflowGenerated
  25477. }
  25478. if iNdEx >= l {
  25479. return io.ErrUnexpectedEOF
  25480. }
  25481. b := dAtA[iNdEx]
  25482. iNdEx++
  25483. stringLen |= (uint64(b) & 0x7F) << shift
  25484. if b < 0x80 {
  25485. break
  25486. }
  25487. }
  25488. intStringLen := int(stringLen)
  25489. if intStringLen < 0 {
  25490. return ErrInvalidLengthGenerated
  25491. }
  25492. postIndex := iNdEx + intStringLen
  25493. if postIndex > l {
  25494. return io.ErrUnexpectedEOF
  25495. }
  25496. m.FSType = string(dAtA[iNdEx:postIndex])
  25497. iNdEx = postIndex
  25498. case 3:
  25499. if wireType != 2 {
  25500. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  25501. }
  25502. var msglen int
  25503. for shift := uint(0); ; shift += 7 {
  25504. if shift >= 64 {
  25505. return ErrIntOverflowGenerated
  25506. }
  25507. if iNdEx >= l {
  25508. return io.ErrUnexpectedEOF
  25509. }
  25510. b := dAtA[iNdEx]
  25511. iNdEx++
  25512. msglen |= (int(b) & 0x7F) << shift
  25513. if b < 0x80 {
  25514. break
  25515. }
  25516. }
  25517. if msglen < 0 {
  25518. return ErrInvalidLengthGenerated
  25519. }
  25520. postIndex := iNdEx + msglen
  25521. if postIndex > l {
  25522. return io.ErrUnexpectedEOF
  25523. }
  25524. if m.SecretRef == nil {
  25525. m.SecretRef = &SecretReference{}
  25526. }
  25527. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  25528. return err
  25529. }
  25530. iNdEx = postIndex
  25531. case 4:
  25532. if wireType != 0 {
  25533. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  25534. }
  25535. var v int
  25536. for shift := uint(0); ; shift += 7 {
  25537. if shift >= 64 {
  25538. return ErrIntOverflowGenerated
  25539. }
  25540. if iNdEx >= l {
  25541. return io.ErrUnexpectedEOF
  25542. }
  25543. b := dAtA[iNdEx]
  25544. iNdEx++
  25545. v |= (int(b) & 0x7F) << shift
  25546. if b < 0x80 {
  25547. break
  25548. }
  25549. }
  25550. m.ReadOnly = bool(v != 0)
  25551. case 5:
  25552. if wireType != 2 {
  25553. return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
  25554. }
  25555. var msglen int
  25556. for shift := uint(0); ; shift += 7 {
  25557. if shift >= 64 {
  25558. return ErrIntOverflowGenerated
  25559. }
  25560. if iNdEx >= l {
  25561. return io.ErrUnexpectedEOF
  25562. }
  25563. b := dAtA[iNdEx]
  25564. iNdEx++
  25565. msglen |= (int(b) & 0x7F) << shift
  25566. if b < 0x80 {
  25567. break
  25568. }
  25569. }
  25570. if msglen < 0 {
  25571. return ErrInvalidLengthGenerated
  25572. }
  25573. postIndex := iNdEx + msglen
  25574. if postIndex > l {
  25575. return io.ErrUnexpectedEOF
  25576. }
  25577. if m.Options == nil {
  25578. m.Options = make(map[string]string)
  25579. }
  25580. var mapkey string
  25581. var mapvalue string
  25582. for iNdEx < postIndex {
  25583. entryPreIndex := 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. if fieldNum == 1 {
  25601. var stringLenmapkey uint64
  25602. for shift := uint(0); ; shift += 7 {
  25603. if shift >= 64 {
  25604. return ErrIntOverflowGenerated
  25605. }
  25606. if iNdEx >= l {
  25607. return io.ErrUnexpectedEOF
  25608. }
  25609. b := dAtA[iNdEx]
  25610. iNdEx++
  25611. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  25612. if b < 0x80 {
  25613. break
  25614. }
  25615. }
  25616. intStringLenmapkey := int(stringLenmapkey)
  25617. if intStringLenmapkey < 0 {
  25618. return ErrInvalidLengthGenerated
  25619. }
  25620. postStringIndexmapkey := iNdEx + intStringLenmapkey
  25621. if postStringIndexmapkey > l {
  25622. return io.ErrUnexpectedEOF
  25623. }
  25624. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  25625. iNdEx = postStringIndexmapkey
  25626. } else if fieldNum == 2 {
  25627. var stringLenmapvalue uint64
  25628. for shift := uint(0); ; shift += 7 {
  25629. if shift >= 64 {
  25630. return ErrIntOverflowGenerated
  25631. }
  25632. if iNdEx >= l {
  25633. return io.ErrUnexpectedEOF
  25634. }
  25635. b := dAtA[iNdEx]
  25636. iNdEx++
  25637. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  25638. if b < 0x80 {
  25639. break
  25640. }
  25641. }
  25642. intStringLenmapvalue := int(stringLenmapvalue)
  25643. if intStringLenmapvalue < 0 {
  25644. return ErrInvalidLengthGenerated
  25645. }
  25646. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  25647. if postStringIndexmapvalue > l {
  25648. return io.ErrUnexpectedEOF
  25649. }
  25650. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  25651. iNdEx = postStringIndexmapvalue
  25652. } else {
  25653. iNdEx = entryPreIndex
  25654. skippy, err := skipGenerated(dAtA[iNdEx:])
  25655. if err != nil {
  25656. return err
  25657. }
  25658. if skippy < 0 {
  25659. return ErrInvalidLengthGenerated
  25660. }
  25661. if (iNdEx + skippy) > postIndex {
  25662. return io.ErrUnexpectedEOF
  25663. }
  25664. iNdEx += skippy
  25665. }
  25666. }
  25667. m.Options[mapkey] = mapvalue
  25668. iNdEx = postIndex
  25669. default:
  25670. iNdEx = preIndex
  25671. skippy, err := skipGenerated(dAtA[iNdEx:])
  25672. if err != nil {
  25673. return err
  25674. }
  25675. if skippy < 0 {
  25676. return ErrInvalidLengthGenerated
  25677. }
  25678. if (iNdEx + skippy) > l {
  25679. return io.ErrUnexpectedEOF
  25680. }
  25681. iNdEx += skippy
  25682. }
  25683. }
  25684. if iNdEx > l {
  25685. return io.ErrUnexpectedEOF
  25686. }
  25687. return nil
  25688. }
  25689. func (m *FlexVolumeSource) Unmarshal(dAtA []byte) error {
  25690. l := len(dAtA)
  25691. iNdEx := 0
  25692. for iNdEx < l {
  25693. preIndex := iNdEx
  25694. var wire uint64
  25695. for shift := uint(0); ; shift += 7 {
  25696. if shift >= 64 {
  25697. return ErrIntOverflowGenerated
  25698. }
  25699. if iNdEx >= l {
  25700. return io.ErrUnexpectedEOF
  25701. }
  25702. b := dAtA[iNdEx]
  25703. iNdEx++
  25704. wire |= (uint64(b) & 0x7F) << shift
  25705. if b < 0x80 {
  25706. break
  25707. }
  25708. }
  25709. fieldNum := int32(wire >> 3)
  25710. wireType := int(wire & 0x7)
  25711. if wireType == 4 {
  25712. return fmt.Errorf("proto: FlexVolumeSource: wiretype end group for non-group")
  25713. }
  25714. if fieldNum <= 0 {
  25715. return fmt.Errorf("proto: FlexVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25716. }
  25717. switch fieldNum {
  25718. case 1:
  25719. if wireType != 2 {
  25720. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  25721. }
  25722. var stringLen uint64
  25723. for shift := uint(0); ; shift += 7 {
  25724. if shift >= 64 {
  25725. return ErrIntOverflowGenerated
  25726. }
  25727. if iNdEx >= l {
  25728. return io.ErrUnexpectedEOF
  25729. }
  25730. b := dAtA[iNdEx]
  25731. iNdEx++
  25732. stringLen |= (uint64(b) & 0x7F) << shift
  25733. if b < 0x80 {
  25734. break
  25735. }
  25736. }
  25737. intStringLen := int(stringLen)
  25738. if intStringLen < 0 {
  25739. return ErrInvalidLengthGenerated
  25740. }
  25741. postIndex := iNdEx + intStringLen
  25742. if postIndex > l {
  25743. return io.ErrUnexpectedEOF
  25744. }
  25745. m.Driver = string(dAtA[iNdEx:postIndex])
  25746. iNdEx = postIndex
  25747. case 2:
  25748. if wireType != 2 {
  25749. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  25750. }
  25751. var stringLen uint64
  25752. for shift := uint(0); ; shift += 7 {
  25753. if shift >= 64 {
  25754. return ErrIntOverflowGenerated
  25755. }
  25756. if iNdEx >= l {
  25757. return io.ErrUnexpectedEOF
  25758. }
  25759. b := dAtA[iNdEx]
  25760. iNdEx++
  25761. stringLen |= (uint64(b) & 0x7F) << shift
  25762. if b < 0x80 {
  25763. break
  25764. }
  25765. }
  25766. intStringLen := int(stringLen)
  25767. if intStringLen < 0 {
  25768. return ErrInvalidLengthGenerated
  25769. }
  25770. postIndex := iNdEx + intStringLen
  25771. if postIndex > l {
  25772. return io.ErrUnexpectedEOF
  25773. }
  25774. m.FSType = string(dAtA[iNdEx:postIndex])
  25775. iNdEx = postIndex
  25776. case 3:
  25777. if wireType != 2 {
  25778. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  25779. }
  25780. var msglen int
  25781. for shift := uint(0); ; shift += 7 {
  25782. if shift >= 64 {
  25783. return ErrIntOverflowGenerated
  25784. }
  25785. if iNdEx >= l {
  25786. return io.ErrUnexpectedEOF
  25787. }
  25788. b := dAtA[iNdEx]
  25789. iNdEx++
  25790. msglen |= (int(b) & 0x7F) << shift
  25791. if b < 0x80 {
  25792. break
  25793. }
  25794. }
  25795. if msglen < 0 {
  25796. return ErrInvalidLengthGenerated
  25797. }
  25798. postIndex := iNdEx + msglen
  25799. if postIndex > l {
  25800. return io.ErrUnexpectedEOF
  25801. }
  25802. if m.SecretRef == nil {
  25803. m.SecretRef = &LocalObjectReference{}
  25804. }
  25805. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  25806. return err
  25807. }
  25808. iNdEx = postIndex
  25809. case 4:
  25810. if wireType != 0 {
  25811. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  25812. }
  25813. var v int
  25814. for shift := uint(0); ; shift += 7 {
  25815. if shift >= 64 {
  25816. return ErrIntOverflowGenerated
  25817. }
  25818. if iNdEx >= l {
  25819. return io.ErrUnexpectedEOF
  25820. }
  25821. b := dAtA[iNdEx]
  25822. iNdEx++
  25823. v |= (int(b) & 0x7F) << shift
  25824. if b < 0x80 {
  25825. break
  25826. }
  25827. }
  25828. m.ReadOnly = bool(v != 0)
  25829. case 5:
  25830. if wireType != 2 {
  25831. return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
  25832. }
  25833. var msglen int
  25834. for shift := uint(0); ; shift += 7 {
  25835. if shift >= 64 {
  25836. return ErrIntOverflowGenerated
  25837. }
  25838. if iNdEx >= l {
  25839. return io.ErrUnexpectedEOF
  25840. }
  25841. b := dAtA[iNdEx]
  25842. iNdEx++
  25843. msglen |= (int(b) & 0x7F) << shift
  25844. if b < 0x80 {
  25845. break
  25846. }
  25847. }
  25848. if msglen < 0 {
  25849. return ErrInvalidLengthGenerated
  25850. }
  25851. postIndex := iNdEx + msglen
  25852. if postIndex > l {
  25853. return io.ErrUnexpectedEOF
  25854. }
  25855. if m.Options == nil {
  25856. m.Options = make(map[string]string)
  25857. }
  25858. var mapkey string
  25859. var mapvalue string
  25860. for iNdEx < postIndex {
  25861. entryPreIndex := iNdEx
  25862. var wire uint64
  25863. for shift := uint(0); ; shift += 7 {
  25864. if shift >= 64 {
  25865. return ErrIntOverflowGenerated
  25866. }
  25867. if iNdEx >= l {
  25868. return io.ErrUnexpectedEOF
  25869. }
  25870. b := dAtA[iNdEx]
  25871. iNdEx++
  25872. wire |= (uint64(b) & 0x7F) << shift
  25873. if b < 0x80 {
  25874. break
  25875. }
  25876. }
  25877. fieldNum := int32(wire >> 3)
  25878. if fieldNum == 1 {
  25879. var stringLenmapkey uint64
  25880. for shift := uint(0); ; shift += 7 {
  25881. if shift >= 64 {
  25882. return ErrIntOverflowGenerated
  25883. }
  25884. if iNdEx >= l {
  25885. return io.ErrUnexpectedEOF
  25886. }
  25887. b := dAtA[iNdEx]
  25888. iNdEx++
  25889. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  25890. if b < 0x80 {
  25891. break
  25892. }
  25893. }
  25894. intStringLenmapkey := int(stringLenmapkey)
  25895. if intStringLenmapkey < 0 {
  25896. return ErrInvalidLengthGenerated
  25897. }
  25898. postStringIndexmapkey := iNdEx + intStringLenmapkey
  25899. if postStringIndexmapkey > l {
  25900. return io.ErrUnexpectedEOF
  25901. }
  25902. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  25903. iNdEx = postStringIndexmapkey
  25904. } else if fieldNum == 2 {
  25905. var stringLenmapvalue uint64
  25906. for shift := uint(0); ; shift += 7 {
  25907. if shift >= 64 {
  25908. return ErrIntOverflowGenerated
  25909. }
  25910. if iNdEx >= l {
  25911. return io.ErrUnexpectedEOF
  25912. }
  25913. b := dAtA[iNdEx]
  25914. iNdEx++
  25915. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  25916. if b < 0x80 {
  25917. break
  25918. }
  25919. }
  25920. intStringLenmapvalue := int(stringLenmapvalue)
  25921. if intStringLenmapvalue < 0 {
  25922. return ErrInvalidLengthGenerated
  25923. }
  25924. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  25925. if postStringIndexmapvalue > l {
  25926. return io.ErrUnexpectedEOF
  25927. }
  25928. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  25929. iNdEx = postStringIndexmapvalue
  25930. } else {
  25931. iNdEx = entryPreIndex
  25932. skippy, err := skipGenerated(dAtA[iNdEx:])
  25933. if err != nil {
  25934. return err
  25935. }
  25936. if skippy < 0 {
  25937. return ErrInvalidLengthGenerated
  25938. }
  25939. if (iNdEx + skippy) > postIndex {
  25940. return io.ErrUnexpectedEOF
  25941. }
  25942. iNdEx += skippy
  25943. }
  25944. }
  25945. m.Options[mapkey] = mapvalue
  25946. iNdEx = postIndex
  25947. default:
  25948. iNdEx = preIndex
  25949. skippy, err := skipGenerated(dAtA[iNdEx:])
  25950. if err != nil {
  25951. return err
  25952. }
  25953. if skippy < 0 {
  25954. return ErrInvalidLengthGenerated
  25955. }
  25956. if (iNdEx + skippy) > l {
  25957. return io.ErrUnexpectedEOF
  25958. }
  25959. iNdEx += skippy
  25960. }
  25961. }
  25962. if iNdEx > l {
  25963. return io.ErrUnexpectedEOF
  25964. }
  25965. return nil
  25966. }
  25967. func (m *FlockerVolumeSource) Unmarshal(dAtA []byte) error {
  25968. l := len(dAtA)
  25969. iNdEx := 0
  25970. for iNdEx < l {
  25971. preIndex := iNdEx
  25972. var wire uint64
  25973. for shift := uint(0); ; shift += 7 {
  25974. if shift >= 64 {
  25975. return ErrIntOverflowGenerated
  25976. }
  25977. if iNdEx >= l {
  25978. return io.ErrUnexpectedEOF
  25979. }
  25980. b := dAtA[iNdEx]
  25981. iNdEx++
  25982. wire |= (uint64(b) & 0x7F) << shift
  25983. if b < 0x80 {
  25984. break
  25985. }
  25986. }
  25987. fieldNum := int32(wire >> 3)
  25988. wireType := int(wire & 0x7)
  25989. if wireType == 4 {
  25990. return fmt.Errorf("proto: FlockerVolumeSource: wiretype end group for non-group")
  25991. }
  25992. if fieldNum <= 0 {
  25993. return fmt.Errorf("proto: FlockerVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25994. }
  25995. switch fieldNum {
  25996. case 1:
  25997. if wireType != 2 {
  25998. return fmt.Errorf("proto: wrong wireType = %d for field DatasetName", wireType)
  25999. }
  26000. var stringLen uint64
  26001. for shift := uint(0); ; shift += 7 {
  26002. if shift >= 64 {
  26003. return ErrIntOverflowGenerated
  26004. }
  26005. if iNdEx >= l {
  26006. return io.ErrUnexpectedEOF
  26007. }
  26008. b := dAtA[iNdEx]
  26009. iNdEx++
  26010. stringLen |= (uint64(b) & 0x7F) << shift
  26011. if b < 0x80 {
  26012. break
  26013. }
  26014. }
  26015. intStringLen := int(stringLen)
  26016. if intStringLen < 0 {
  26017. return ErrInvalidLengthGenerated
  26018. }
  26019. postIndex := iNdEx + intStringLen
  26020. if postIndex > l {
  26021. return io.ErrUnexpectedEOF
  26022. }
  26023. m.DatasetName = string(dAtA[iNdEx:postIndex])
  26024. iNdEx = postIndex
  26025. case 2:
  26026. if wireType != 2 {
  26027. return fmt.Errorf("proto: wrong wireType = %d for field DatasetUUID", wireType)
  26028. }
  26029. var stringLen uint64
  26030. for shift := uint(0); ; shift += 7 {
  26031. if shift >= 64 {
  26032. return ErrIntOverflowGenerated
  26033. }
  26034. if iNdEx >= l {
  26035. return io.ErrUnexpectedEOF
  26036. }
  26037. b := dAtA[iNdEx]
  26038. iNdEx++
  26039. stringLen |= (uint64(b) & 0x7F) << shift
  26040. if b < 0x80 {
  26041. break
  26042. }
  26043. }
  26044. intStringLen := int(stringLen)
  26045. if intStringLen < 0 {
  26046. return ErrInvalidLengthGenerated
  26047. }
  26048. postIndex := iNdEx + intStringLen
  26049. if postIndex > l {
  26050. return io.ErrUnexpectedEOF
  26051. }
  26052. m.DatasetUUID = string(dAtA[iNdEx:postIndex])
  26053. iNdEx = postIndex
  26054. default:
  26055. iNdEx = preIndex
  26056. skippy, err := skipGenerated(dAtA[iNdEx:])
  26057. if err != nil {
  26058. return err
  26059. }
  26060. if skippy < 0 {
  26061. return ErrInvalidLengthGenerated
  26062. }
  26063. if (iNdEx + skippy) > l {
  26064. return io.ErrUnexpectedEOF
  26065. }
  26066. iNdEx += skippy
  26067. }
  26068. }
  26069. if iNdEx > l {
  26070. return io.ErrUnexpectedEOF
  26071. }
  26072. return nil
  26073. }
  26074. func (m *GCEPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error {
  26075. l := len(dAtA)
  26076. iNdEx := 0
  26077. for iNdEx < l {
  26078. preIndex := iNdEx
  26079. var wire uint64
  26080. for shift := uint(0); ; shift += 7 {
  26081. if shift >= 64 {
  26082. return ErrIntOverflowGenerated
  26083. }
  26084. if iNdEx >= l {
  26085. return io.ErrUnexpectedEOF
  26086. }
  26087. b := dAtA[iNdEx]
  26088. iNdEx++
  26089. wire |= (uint64(b) & 0x7F) << shift
  26090. if b < 0x80 {
  26091. break
  26092. }
  26093. }
  26094. fieldNum := int32(wire >> 3)
  26095. wireType := int(wire & 0x7)
  26096. if wireType == 4 {
  26097. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: wiretype end group for non-group")
  26098. }
  26099. if fieldNum <= 0 {
  26100. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26101. }
  26102. switch fieldNum {
  26103. case 1:
  26104. if wireType != 2 {
  26105. return fmt.Errorf("proto: wrong wireType = %d for field PDName", wireType)
  26106. }
  26107. var stringLen uint64
  26108. for shift := uint(0); ; shift += 7 {
  26109. if shift >= 64 {
  26110. return ErrIntOverflowGenerated
  26111. }
  26112. if iNdEx >= l {
  26113. return io.ErrUnexpectedEOF
  26114. }
  26115. b := dAtA[iNdEx]
  26116. iNdEx++
  26117. stringLen |= (uint64(b) & 0x7F) << shift
  26118. if b < 0x80 {
  26119. break
  26120. }
  26121. }
  26122. intStringLen := int(stringLen)
  26123. if intStringLen < 0 {
  26124. return ErrInvalidLengthGenerated
  26125. }
  26126. postIndex := iNdEx + intStringLen
  26127. if postIndex > l {
  26128. return io.ErrUnexpectedEOF
  26129. }
  26130. m.PDName = string(dAtA[iNdEx:postIndex])
  26131. iNdEx = postIndex
  26132. case 2:
  26133. if wireType != 2 {
  26134. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  26135. }
  26136. var stringLen uint64
  26137. for shift := uint(0); ; shift += 7 {
  26138. if shift >= 64 {
  26139. return ErrIntOverflowGenerated
  26140. }
  26141. if iNdEx >= l {
  26142. return io.ErrUnexpectedEOF
  26143. }
  26144. b := dAtA[iNdEx]
  26145. iNdEx++
  26146. stringLen |= (uint64(b) & 0x7F) << shift
  26147. if b < 0x80 {
  26148. break
  26149. }
  26150. }
  26151. intStringLen := int(stringLen)
  26152. if intStringLen < 0 {
  26153. return ErrInvalidLengthGenerated
  26154. }
  26155. postIndex := iNdEx + intStringLen
  26156. if postIndex > l {
  26157. return io.ErrUnexpectedEOF
  26158. }
  26159. m.FSType = string(dAtA[iNdEx:postIndex])
  26160. iNdEx = postIndex
  26161. case 3:
  26162. if wireType != 0 {
  26163. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  26164. }
  26165. m.Partition = 0
  26166. for shift := uint(0); ; shift += 7 {
  26167. if shift >= 64 {
  26168. return ErrIntOverflowGenerated
  26169. }
  26170. if iNdEx >= l {
  26171. return io.ErrUnexpectedEOF
  26172. }
  26173. b := dAtA[iNdEx]
  26174. iNdEx++
  26175. m.Partition |= (int32(b) & 0x7F) << shift
  26176. if b < 0x80 {
  26177. break
  26178. }
  26179. }
  26180. case 4:
  26181. if wireType != 0 {
  26182. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  26183. }
  26184. var v int
  26185. for shift := uint(0); ; shift += 7 {
  26186. if shift >= 64 {
  26187. return ErrIntOverflowGenerated
  26188. }
  26189. if iNdEx >= l {
  26190. return io.ErrUnexpectedEOF
  26191. }
  26192. b := dAtA[iNdEx]
  26193. iNdEx++
  26194. v |= (int(b) & 0x7F) << shift
  26195. if b < 0x80 {
  26196. break
  26197. }
  26198. }
  26199. m.ReadOnly = bool(v != 0)
  26200. default:
  26201. iNdEx = preIndex
  26202. skippy, err := skipGenerated(dAtA[iNdEx:])
  26203. if err != nil {
  26204. return err
  26205. }
  26206. if skippy < 0 {
  26207. return ErrInvalidLengthGenerated
  26208. }
  26209. if (iNdEx + skippy) > l {
  26210. return io.ErrUnexpectedEOF
  26211. }
  26212. iNdEx += skippy
  26213. }
  26214. }
  26215. if iNdEx > l {
  26216. return io.ErrUnexpectedEOF
  26217. }
  26218. return nil
  26219. }
  26220. func (m *GitRepoVolumeSource) Unmarshal(dAtA []byte) error {
  26221. l := len(dAtA)
  26222. iNdEx := 0
  26223. for iNdEx < l {
  26224. preIndex := iNdEx
  26225. var wire uint64
  26226. for shift := uint(0); ; shift += 7 {
  26227. if shift >= 64 {
  26228. return ErrIntOverflowGenerated
  26229. }
  26230. if iNdEx >= l {
  26231. return io.ErrUnexpectedEOF
  26232. }
  26233. b := dAtA[iNdEx]
  26234. iNdEx++
  26235. wire |= (uint64(b) & 0x7F) << shift
  26236. if b < 0x80 {
  26237. break
  26238. }
  26239. }
  26240. fieldNum := int32(wire >> 3)
  26241. wireType := int(wire & 0x7)
  26242. if wireType == 4 {
  26243. return fmt.Errorf("proto: GitRepoVolumeSource: wiretype end group for non-group")
  26244. }
  26245. if fieldNum <= 0 {
  26246. return fmt.Errorf("proto: GitRepoVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26247. }
  26248. switch fieldNum {
  26249. case 1:
  26250. if wireType != 2 {
  26251. return fmt.Errorf("proto: wrong wireType = %d for field Repository", wireType)
  26252. }
  26253. var stringLen uint64
  26254. for shift := uint(0); ; shift += 7 {
  26255. if shift >= 64 {
  26256. return ErrIntOverflowGenerated
  26257. }
  26258. if iNdEx >= l {
  26259. return io.ErrUnexpectedEOF
  26260. }
  26261. b := dAtA[iNdEx]
  26262. iNdEx++
  26263. stringLen |= (uint64(b) & 0x7F) << shift
  26264. if b < 0x80 {
  26265. break
  26266. }
  26267. }
  26268. intStringLen := int(stringLen)
  26269. if intStringLen < 0 {
  26270. return ErrInvalidLengthGenerated
  26271. }
  26272. postIndex := iNdEx + intStringLen
  26273. if postIndex > l {
  26274. return io.ErrUnexpectedEOF
  26275. }
  26276. m.Repository = string(dAtA[iNdEx:postIndex])
  26277. iNdEx = postIndex
  26278. case 2:
  26279. if wireType != 2 {
  26280. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  26281. }
  26282. var stringLen uint64
  26283. for shift := uint(0); ; shift += 7 {
  26284. if shift >= 64 {
  26285. return ErrIntOverflowGenerated
  26286. }
  26287. if iNdEx >= l {
  26288. return io.ErrUnexpectedEOF
  26289. }
  26290. b := dAtA[iNdEx]
  26291. iNdEx++
  26292. stringLen |= (uint64(b) & 0x7F) << shift
  26293. if b < 0x80 {
  26294. break
  26295. }
  26296. }
  26297. intStringLen := int(stringLen)
  26298. if intStringLen < 0 {
  26299. return ErrInvalidLengthGenerated
  26300. }
  26301. postIndex := iNdEx + intStringLen
  26302. if postIndex > l {
  26303. return io.ErrUnexpectedEOF
  26304. }
  26305. m.Revision = string(dAtA[iNdEx:postIndex])
  26306. iNdEx = postIndex
  26307. case 3:
  26308. if wireType != 2 {
  26309. return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType)
  26310. }
  26311. var stringLen uint64
  26312. for shift := uint(0); ; shift += 7 {
  26313. if shift >= 64 {
  26314. return ErrIntOverflowGenerated
  26315. }
  26316. if iNdEx >= l {
  26317. return io.ErrUnexpectedEOF
  26318. }
  26319. b := dAtA[iNdEx]
  26320. iNdEx++
  26321. stringLen |= (uint64(b) & 0x7F) << shift
  26322. if b < 0x80 {
  26323. break
  26324. }
  26325. }
  26326. intStringLen := int(stringLen)
  26327. if intStringLen < 0 {
  26328. return ErrInvalidLengthGenerated
  26329. }
  26330. postIndex := iNdEx + intStringLen
  26331. if postIndex > l {
  26332. return io.ErrUnexpectedEOF
  26333. }
  26334. m.Directory = string(dAtA[iNdEx:postIndex])
  26335. iNdEx = postIndex
  26336. default:
  26337. iNdEx = preIndex
  26338. skippy, err := skipGenerated(dAtA[iNdEx:])
  26339. if err != nil {
  26340. return err
  26341. }
  26342. if skippy < 0 {
  26343. return ErrInvalidLengthGenerated
  26344. }
  26345. if (iNdEx + skippy) > l {
  26346. return io.ErrUnexpectedEOF
  26347. }
  26348. iNdEx += skippy
  26349. }
  26350. }
  26351. if iNdEx > l {
  26352. return io.ErrUnexpectedEOF
  26353. }
  26354. return nil
  26355. }
  26356. func (m *GlusterfsPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  26357. l := len(dAtA)
  26358. iNdEx := 0
  26359. for iNdEx < l {
  26360. preIndex := iNdEx
  26361. var wire uint64
  26362. for shift := uint(0); ; shift += 7 {
  26363. if shift >= 64 {
  26364. return ErrIntOverflowGenerated
  26365. }
  26366. if iNdEx >= l {
  26367. return io.ErrUnexpectedEOF
  26368. }
  26369. b := dAtA[iNdEx]
  26370. iNdEx++
  26371. wire |= (uint64(b) & 0x7F) << shift
  26372. if b < 0x80 {
  26373. break
  26374. }
  26375. }
  26376. fieldNum := int32(wire >> 3)
  26377. wireType := int(wire & 0x7)
  26378. if wireType == 4 {
  26379. return fmt.Errorf("proto: GlusterfsPersistentVolumeSource: wiretype end group for non-group")
  26380. }
  26381. if fieldNum <= 0 {
  26382. return fmt.Errorf("proto: GlusterfsPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26383. }
  26384. switch fieldNum {
  26385. case 1:
  26386. if wireType != 2 {
  26387. return fmt.Errorf("proto: wrong wireType = %d for field EndpointsName", wireType)
  26388. }
  26389. var stringLen uint64
  26390. for shift := uint(0); ; shift += 7 {
  26391. if shift >= 64 {
  26392. return ErrIntOverflowGenerated
  26393. }
  26394. if iNdEx >= l {
  26395. return io.ErrUnexpectedEOF
  26396. }
  26397. b := dAtA[iNdEx]
  26398. iNdEx++
  26399. stringLen |= (uint64(b) & 0x7F) << shift
  26400. if b < 0x80 {
  26401. break
  26402. }
  26403. }
  26404. intStringLen := int(stringLen)
  26405. if intStringLen < 0 {
  26406. return ErrInvalidLengthGenerated
  26407. }
  26408. postIndex := iNdEx + intStringLen
  26409. if postIndex > l {
  26410. return io.ErrUnexpectedEOF
  26411. }
  26412. m.EndpointsName = string(dAtA[iNdEx:postIndex])
  26413. iNdEx = postIndex
  26414. case 2:
  26415. if wireType != 2 {
  26416. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  26417. }
  26418. var stringLen uint64
  26419. for shift := uint(0); ; shift += 7 {
  26420. if shift >= 64 {
  26421. return ErrIntOverflowGenerated
  26422. }
  26423. if iNdEx >= l {
  26424. return io.ErrUnexpectedEOF
  26425. }
  26426. b := dAtA[iNdEx]
  26427. iNdEx++
  26428. stringLen |= (uint64(b) & 0x7F) << shift
  26429. if b < 0x80 {
  26430. break
  26431. }
  26432. }
  26433. intStringLen := int(stringLen)
  26434. if intStringLen < 0 {
  26435. return ErrInvalidLengthGenerated
  26436. }
  26437. postIndex := iNdEx + intStringLen
  26438. if postIndex > l {
  26439. return io.ErrUnexpectedEOF
  26440. }
  26441. m.Path = string(dAtA[iNdEx:postIndex])
  26442. iNdEx = postIndex
  26443. case 3:
  26444. if wireType != 0 {
  26445. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  26446. }
  26447. var v int
  26448. for shift := uint(0); ; shift += 7 {
  26449. if shift >= 64 {
  26450. return ErrIntOverflowGenerated
  26451. }
  26452. if iNdEx >= l {
  26453. return io.ErrUnexpectedEOF
  26454. }
  26455. b := dAtA[iNdEx]
  26456. iNdEx++
  26457. v |= (int(b) & 0x7F) << shift
  26458. if b < 0x80 {
  26459. break
  26460. }
  26461. }
  26462. m.ReadOnly = bool(v != 0)
  26463. case 4:
  26464. if wireType != 2 {
  26465. return fmt.Errorf("proto: wrong wireType = %d for field EndpointsNamespace", 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. s := string(dAtA[iNdEx:postIndex])
  26491. m.EndpointsNamespace = &s
  26492. iNdEx = postIndex
  26493. default:
  26494. iNdEx = preIndex
  26495. skippy, err := skipGenerated(dAtA[iNdEx:])
  26496. if err != nil {
  26497. return err
  26498. }
  26499. if skippy < 0 {
  26500. return ErrInvalidLengthGenerated
  26501. }
  26502. if (iNdEx + skippy) > l {
  26503. return io.ErrUnexpectedEOF
  26504. }
  26505. iNdEx += skippy
  26506. }
  26507. }
  26508. if iNdEx > l {
  26509. return io.ErrUnexpectedEOF
  26510. }
  26511. return nil
  26512. }
  26513. func (m *GlusterfsVolumeSource) Unmarshal(dAtA []byte) error {
  26514. l := len(dAtA)
  26515. iNdEx := 0
  26516. for iNdEx < l {
  26517. preIndex := iNdEx
  26518. var wire uint64
  26519. for shift := uint(0); ; shift += 7 {
  26520. if shift >= 64 {
  26521. return ErrIntOverflowGenerated
  26522. }
  26523. if iNdEx >= l {
  26524. return io.ErrUnexpectedEOF
  26525. }
  26526. b := dAtA[iNdEx]
  26527. iNdEx++
  26528. wire |= (uint64(b) & 0x7F) << shift
  26529. if b < 0x80 {
  26530. break
  26531. }
  26532. }
  26533. fieldNum := int32(wire >> 3)
  26534. wireType := int(wire & 0x7)
  26535. if wireType == 4 {
  26536. return fmt.Errorf("proto: GlusterfsVolumeSource: wiretype end group for non-group")
  26537. }
  26538. if fieldNum <= 0 {
  26539. return fmt.Errorf("proto: GlusterfsVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26540. }
  26541. switch fieldNum {
  26542. case 1:
  26543. if wireType != 2 {
  26544. return fmt.Errorf("proto: wrong wireType = %d for field EndpointsName", wireType)
  26545. }
  26546. var stringLen uint64
  26547. for shift := uint(0); ; shift += 7 {
  26548. if shift >= 64 {
  26549. return ErrIntOverflowGenerated
  26550. }
  26551. if iNdEx >= l {
  26552. return io.ErrUnexpectedEOF
  26553. }
  26554. b := dAtA[iNdEx]
  26555. iNdEx++
  26556. stringLen |= (uint64(b) & 0x7F) << shift
  26557. if b < 0x80 {
  26558. break
  26559. }
  26560. }
  26561. intStringLen := int(stringLen)
  26562. if intStringLen < 0 {
  26563. return ErrInvalidLengthGenerated
  26564. }
  26565. postIndex := iNdEx + intStringLen
  26566. if postIndex > l {
  26567. return io.ErrUnexpectedEOF
  26568. }
  26569. m.EndpointsName = string(dAtA[iNdEx:postIndex])
  26570. iNdEx = postIndex
  26571. case 2:
  26572. if wireType != 2 {
  26573. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  26574. }
  26575. var stringLen uint64
  26576. for shift := uint(0); ; shift += 7 {
  26577. if shift >= 64 {
  26578. return ErrIntOverflowGenerated
  26579. }
  26580. if iNdEx >= l {
  26581. return io.ErrUnexpectedEOF
  26582. }
  26583. b := dAtA[iNdEx]
  26584. iNdEx++
  26585. stringLen |= (uint64(b) & 0x7F) << shift
  26586. if b < 0x80 {
  26587. break
  26588. }
  26589. }
  26590. intStringLen := int(stringLen)
  26591. if intStringLen < 0 {
  26592. return ErrInvalidLengthGenerated
  26593. }
  26594. postIndex := iNdEx + intStringLen
  26595. if postIndex > l {
  26596. return io.ErrUnexpectedEOF
  26597. }
  26598. m.Path = string(dAtA[iNdEx:postIndex])
  26599. iNdEx = postIndex
  26600. case 3:
  26601. if wireType != 0 {
  26602. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  26603. }
  26604. var v int
  26605. for shift := uint(0); ; shift += 7 {
  26606. if shift >= 64 {
  26607. return ErrIntOverflowGenerated
  26608. }
  26609. if iNdEx >= l {
  26610. return io.ErrUnexpectedEOF
  26611. }
  26612. b := dAtA[iNdEx]
  26613. iNdEx++
  26614. v |= (int(b) & 0x7F) << shift
  26615. if b < 0x80 {
  26616. break
  26617. }
  26618. }
  26619. m.ReadOnly = bool(v != 0)
  26620. default:
  26621. iNdEx = preIndex
  26622. skippy, err := skipGenerated(dAtA[iNdEx:])
  26623. if err != nil {
  26624. return err
  26625. }
  26626. if skippy < 0 {
  26627. return ErrInvalidLengthGenerated
  26628. }
  26629. if (iNdEx + skippy) > l {
  26630. return io.ErrUnexpectedEOF
  26631. }
  26632. iNdEx += skippy
  26633. }
  26634. }
  26635. if iNdEx > l {
  26636. return io.ErrUnexpectedEOF
  26637. }
  26638. return nil
  26639. }
  26640. func (m *HTTPGetAction) Unmarshal(dAtA []byte) error {
  26641. l := len(dAtA)
  26642. iNdEx := 0
  26643. for iNdEx < l {
  26644. preIndex := iNdEx
  26645. var wire uint64
  26646. for shift := uint(0); ; shift += 7 {
  26647. if shift >= 64 {
  26648. return ErrIntOverflowGenerated
  26649. }
  26650. if iNdEx >= l {
  26651. return io.ErrUnexpectedEOF
  26652. }
  26653. b := dAtA[iNdEx]
  26654. iNdEx++
  26655. wire |= (uint64(b) & 0x7F) << shift
  26656. if b < 0x80 {
  26657. break
  26658. }
  26659. }
  26660. fieldNum := int32(wire >> 3)
  26661. wireType := int(wire & 0x7)
  26662. if wireType == 4 {
  26663. return fmt.Errorf("proto: HTTPGetAction: wiretype end group for non-group")
  26664. }
  26665. if fieldNum <= 0 {
  26666. return fmt.Errorf("proto: HTTPGetAction: illegal tag %d (wire type %d)", fieldNum, wire)
  26667. }
  26668. switch fieldNum {
  26669. case 1:
  26670. if wireType != 2 {
  26671. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  26672. }
  26673. var stringLen uint64
  26674. for shift := uint(0); ; shift += 7 {
  26675. if shift >= 64 {
  26676. return ErrIntOverflowGenerated
  26677. }
  26678. if iNdEx >= l {
  26679. return io.ErrUnexpectedEOF
  26680. }
  26681. b := dAtA[iNdEx]
  26682. iNdEx++
  26683. stringLen |= (uint64(b) & 0x7F) << shift
  26684. if b < 0x80 {
  26685. break
  26686. }
  26687. }
  26688. intStringLen := int(stringLen)
  26689. if intStringLen < 0 {
  26690. return ErrInvalidLengthGenerated
  26691. }
  26692. postIndex := iNdEx + intStringLen
  26693. if postIndex > l {
  26694. return io.ErrUnexpectedEOF
  26695. }
  26696. m.Path = string(dAtA[iNdEx:postIndex])
  26697. iNdEx = postIndex
  26698. case 2:
  26699. if wireType != 2 {
  26700. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  26701. }
  26702. var msglen int
  26703. for shift := uint(0); ; shift += 7 {
  26704. if shift >= 64 {
  26705. return ErrIntOverflowGenerated
  26706. }
  26707. if iNdEx >= l {
  26708. return io.ErrUnexpectedEOF
  26709. }
  26710. b := dAtA[iNdEx]
  26711. iNdEx++
  26712. msglen |= (int(b) & 0x7F) << shift
  26713. if b < 0x80 {
  26714. break
  26715. }
  26716. }
  26717. if msglen < 0 {
  26718. return ErrInvalidLengthGenerated
  26719. }
  26720. postIndex := iNdEx + msglen
  26721. if postIndex > l {
  26722. return io.ErrUnexpectedEOF
  26723. }
  26724. if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  26725. return err
  26726. }
  26727. iNdEx = postIndex
  26728. case 3:
  26729. if wireType != 2 {
  26730. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  26731. }
  26732. var stringLen uint64
  26733. for shift := uint(0); ; shift += 7 {
  26734. if shift >= 64 {
  26735. return ErrIntOverflowGenerated
  26736. }
  26737. if iNdEx >= l {
  26738. return io.ErrUnexpectedEOF
  26739. }
  26740. b := dAtA[iNdEx]
  26741. iNdEx++
  26742. stringLen |= (uint64(b) & 0x7F) << shift
  26743. if b < 0x80 {
  26744. break
  26745. }
  26746. }
  26747. intStringLen := int(stringLen)
  26748. if intStringLen < 0 {
  26749. return ErrInvalidLengthGenerated
  26750. }
  26751. postIndex := iNdEx + intStringLen
  26752. if postIndex > l {
  26753. return io.ErrUnexpectedEOF
  26754. }
  26755. m.Host = string(dAtA[iNdEx:postIndex])
  26756. iNdEx = postIndex
  26757. case 4:
  26758. if wireType != 2 {
  26759. return fmt.Errorf("proto: wrong wireType = %d for field Scheme", wireType)
  26760. }
  26761. var stringLen uint64
  26762. for shift := uint(0); ; shift += 7 {
  26763. if shift >= 64 {
  26764. return ErrIntOverflowGenerated
  26765. }
  26766. if iNdEx >= l {
  26767. return io.ErrUnexpectedEOF
  26768. }
  26769. b := dAtA[iNdEx]
  26770. iNdEx++
  26771. stringLen |= (uint64(b) & 0x7F) << shift
  26772. if b < 0x80 {
  26773. break
  26774. }
  26775. }
  26776. intStringLen := int(stringLen)
  26777. if intStringLen < 0 {
  26778. return ErrInvalidLengthGenerated
  26779. }
  26780. postIndex := iNdEx + intStringLen
  26781. if postIndex > l {
  26782. return io.ErrUnexpectedEOF
  26783. }
  26784. m.Scheme = URIScheme(dAtA[iNdEx:postIndex])
  26785. iNdEx = postIndex
  26786. case 5:
  26787. if wireType != 2 {
  26788. return fmt.Errorf("proto: wrong wireType = %d for field HTTPHeaders", wireType)
  26789. }
  26790. var msglen int
  26791. for shift := uint(0); ; shift += 7 {
  26792. if shift >= 64 {
  26793. return ErrIntOverflowGenerated
  26794. }
  26795. if iNdEx >= l {
  26796. return io.ErrUnexpectedEOF
  26797. }
  26798. b := dAtA[iNdEx]
  26799. iNdEx++
  26800. msglen |= (int(b) & 0x7F) << shift
  26801. if b < 0x80 {
  26802. break
  26803. }
  26804. }
  26805. if msglen < 0 {
  26806. return ErrInvalidLengthGenerated
  26807. }
  26808. postIndex := iNdEx + msglen
  26809. if postIndex > l {
  26810. return io.ErrUnexpectedEOF
  26811. }
  26812. m.HTTPHeaders = append(m.HTTPHeaders, HTTPHeader{})
  26813. if err := m.HTTPHeaders[len(m.HTTPHeaders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  26814. return err
  26815. }
  26816. iNdEx = postIndex
  26817. default:
  26818. iNdEx = preIndex
  26819. skippy, err := skipGenerated(dAtA[iNdEx:])
  26820. if err != nil {
  26821. return err
  26822. }
  26823. if skippy < 0 {
  26824. return ErrInvalidLengthGenerated
  26825. }
  26826. if (iNdEx + skippy) > l {
  26827. return io.ErrUnexpectedEOF
  26828. }
  26829. iNdEx += skippy
  26830. }
  26831. }
  26832. if iNdEx > l {
  26833. return io.ErrUnexpectedEOF
  26834. }
  26835. return nil
  26836. }
  26837. func (m *HTTPHeader) Unmarshal(dAtA []byte) error {
  26838. l := len(dAtA)
  26839. iNdEx := 0
  26840. for iNdEx < l {
  26841. preIndex := iNdEx
  26842. var wire uint64
  26843. for shift := uint(0); ; shift += 7 {
  26844. if shift >= 64 {
  26845. return ErrIntOverflowGenerated
  26846. }
  26847. if iNdEx >= l {
  26848. return io.ErrUnexpectedEOF
  26849. }
  26850. b := dAtA[iNdEx]
  26851. iNdEx++
  26852. wire |= (uint64(b) & 0x7F) << shift
  26853. if b < 0x80 {
  26854. break
  26855. }
  26856. }
  26857. fieldNum := int32(wire >> 3)
  26858. wireType := int(wire & 0x7)
  26859. if wireType == 4 {
  26860. return fmt.Errorf("proto: HTTPHeader: wiretype end group for non-group")
  26861. }
  26862. if fieldNum <= 0 {
  26863. return fmt.Errorf("proto: HTTPHeader: illegal tag %d (wire type %d)", fieldNum, wire)
  26864. }
  26865. switch fieldNum {
  26866. case 1:
  26867. if wireType != 2 {
  26868. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  26869. }
  26870. var stringLen uint64
  26871. for shift := uint(0); ; shift += 7 {
  26872. if shift >= 64 {
  26873. return ErrIntOverflowGenerated
  26874. }
  26875. if iNdEx >= l {
  26876. return io.ErrUnexpectedEOF
  26877. }
  26878. b := dAtA[iNdEx]
  26879. iNdEx++
  26880. stringLen |= (uint64(b) & 0x7F) << shift
  26881. if b < 0x80 {
  26882. break
  26883. }
  26884. }
  26885. intStringLen := int(stringLen)
  26886. if intStringLen < 0 {
  26887. return ErrInvalidLengthGenerated
  26888. }
  26889. postIndex := iNdEx + intStringLen
  26890. if postIndex > l {
  26891. return io.ErrUnexpectedEOF
  26892. }
  26893. m.Name = string(dAtA[iNdEx:postIndex])
  26894. iNdEx = postIndex
  26895. case 2:
  26896. if wireType != 2 {
  26897. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  26898. }
  26899. var stringLen uint64
  26900. for shift := uint(0); ; shift += 7 {
  26901. if shift >= 64 {
  26902. return ErrIntOverflowGenerated
  26903. }
  26904. if iNdEx >= l {
  26905. return io.ErrUnexpectedEOF
  26906. }
  26907. b := dAtA[iNdEx]
  26908. iNdEx++
  26909. stringLen |= (uint64(b) & 0x7F) << shift
  26910. if b < 0x80 {
  26911. break
  26912. }
  26913. }
  26914. intStringLen := int(stringLen)
  26915. if intStringLen < 0 {
  26916. return ErrInvalidLengthGenerated
  26917. }
  26918. postIndex := iNdEx + intStringLen
  26919. if postIndex > l {
  26920. return io.ErrUnexpectedEOF
  26921. }
  26922. m.Value = string(dAtA[iNdEx:postIndex])
  26923. iNdEx = postIndex
  26924. default:
  26925. iNdEx = preIndex
  26926. skippy, err := skipGenerated(dAtA[iNdEx:])
  26927. if err != nil {
  26928. return err
  26929. }
  26930. if skippy < 0 {
  26931. return ErrInvalidLengthGenerated
  26932. }
  26933. if (iNdEx + skippy) > l {
  26934. return io.ErrUnexpectedEOF
  26935. }
  26936. iNdEx += skippy
  26937. }
  26938. }
  26939. if iNdEx > l {
  26940. return io.ErrUnexpectedEOF
  26941. }
  26942. return nil
  26943. }
  26944. func (m *Handler) Unmarshal(dAtA []byte) error {
  26945. l := len(dAtA)
  26946. iNdEx := 0
  26947. for iNdEx < l {
  26948. preIndex := iNdEx
  26949. var wire uint64
  26950. for shift := uint(0); ; shift += 7 {
  26951. if shift >= 64 {
  26952. return ErrIntOverflowGenerated
  26953. }
  26954. if iNdEx >= l {
  26955. return io.ErrUnexpectedEOF
  26956. }
  26957. b := dAtA[iNdEx]
  26958. iNdEx++
  26959. wire |= (uint64(b) & 0x7F) << shift
  26960. if b < 0x80 {
  26961. break
  26962. }
  26963. }
  26964. fieldNum := int32(wire >> 3)
  26965. wireType := int(wire & 0x7)
  26966. if wireType == 4 {
  26967. return fmt.Errorf("proto: Handler: wiretype end group for non-group")
  26968. }
  26969. if fieldNum <= 0 {
  26970. return fmt.Errorf("proto: Handler: illegal tag %d (wire type %d)", fieldNum, wire)
  26971. }
  26972. switch fieldNum {
  26973. case 1:
  26974. if wireType != 2 {
  26975. return fmt.Errorf("proto: wrong wireType = %d for field Exec", wireType)
  26976. }
  26977. var msglen int
  26978. for shift := uint(0); ; shift += 7 {
  26979. if shift >= 64 {
  26980. return ErrIntOverflowGenerated
  26981. }
  26982. if iNdEx >= l {
  26983. return io.ErrUnexpectedEOF
  26984. }
  26985. b := dAtA[iNdEx]
  26986. iNdEx++
  26987. msglen |= (int(b) & 0x7F) << shift
  26988. if b < 0x80 {
  26989. break
  26990. }
  26991. }
  26992. if msglen < 0 {
  26993. return ErrInvalidLengthGenerated
  26994. }
  26995. postIndex := iNdEx + msglen
  26996. if postIndex > l {
  26997. return io.ErrUnexpectedEOF
  26998. }
  26999. if m.Exec == nil {
  27000. m.Exec = &ExecAction{}
  27001. }
  27002. if err := m.Exec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27003. return err
  27004. }
  27005. iNdEx = postIndex
  27006. case 2:
  27007. if wireType != 2 {
  27008. return fmt.Errorf("proto: wrong wireType = %d for field HTTPGet", wireType)
  27009. }
  27010. var msglen int
  27011. for shift := uint(0); ; shift += 7 {
  27012. if shift >= 64 {
  27013. return ErrIntOverflowGenerated
  27014. }
  27015. if iNdEx >= l {
  27016. return io.ErrUnexpectedEOF
  27017. }
  27018. b := dAtA[iNdEx]
  27019. iNdEx++
  27020. msglen |= (int(b) & 0x7F) << shift
  27021. if b < 0x80 {
  27022. break
  27023. }
  27024. }
  27025. if msglen < 0 {
  27026. return ErrInvalidLengthGenerated
  27027. }
  27028. postIndex := iNdEx + msglen
  27029. if postIndex > l {
  27030. return io.ErrUnexpectedEOF
  27031. }
  27032. if m.HTTPGet == nil {
  27033. m.HTTPGet = &HTTPGetAction{}
  27034. }
  27035. if err := m.HTTPGet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27036. return err
  27037. }
  27038. iNdEx = postIndex
  27039. case 3:
  27040. if wireType != 2 {
  27041. return fmt.Errorf("proto: wrong wireType = %d for field TCPSocket", wireType)
  27042. }
  27043. var msglen int
  27044. for shift := uint(0); ; shift += 7 {
  27045. if shift >= 64 {
  27046. return ErrIntOverflowGenerated
  27047. }
  27048. if iNdEx >= l {
  27049. return io.ErrUnexpectedEOF
  27050. }
  27051. b := dAtA[iNdEx]
  27052. iNdEx++
  27053. msglen |= (int(b) & 0x7F) << shift
  27054. if b < 0x80 {
  27055. break
  27056. }
  27057. }
  27058. if msglen < 0 {
  27059. return ErrInvalidLengthGenerated
  27060. }
  27061. postIndex := iNdEx + msglen
  27062. if postIndex > l {
  27063. return io.ErrUnexpectedEOF
  27064. }
  27065. if m.TCPSocket == nil {
  27066. m.TCPSocket = &TCPSocketAction{}
  27067. }
  27068. if err := m.TCPSocket.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27069. return err
  27070. }
  27071. iNdEx = postIndex
  27072. default:
  27073. iNdEx = preIndex
  27074. skippy, err := skipGenerated(dAtA[iNdEx:])
  27075. if err != nil {
  27076. return err
  27077. }
  27078. if skippy < 0 {
  27079. return ErrInvalidLengthGenerated
  27080. }
  27081. if (iNdEx + skippy) > l {
  27082. return io.ErrUnexpectedEOF
  27083. }
  27084. iNdEx += skippy
  27085. }
  27086. }
  27087. if iNdEx > l {
  27088. return io.ErrUnexpectedEOF
  27089. }
  27090. return nil
  27091. }
  27092. func (m *HostAlias) Unmarshal(dAtA []byte) error {
  27093. l := len(dAtA)
  27094. iNdEx := 0
  27095. for iNdEx < l {
  27096. preIndex := iNdEx
  27097. var wire uint64
  27098. for shift := uint(0); ; shift += 7 {
  27099. if shift >= 64 {
  27100. return ErrIntOverflowGenerated
  27101. }
  27102. if iNdEx >= l {
  27103. return io.ErrUnexpectedEOF
  27104. }
  27105. b := dAtA[iNdEx]
  27106. iNdEx++
  27107. wire |= (uint64(b) & 0x7F) << shift
  27108. if b < 0x80 {
  27109. break
  27110. }
  27111. }
  27112. fieldNum := int32(wire >> 3)
  27113. wireType := int(wire & 0x7)
  27114. if wireType == 4 {
  27115. return fmt.Errorf("proto: HostAlias: wiretype end group for non-group")
  27116. }
  27117. if fieldNum <= 0 {
  27118. return fmt.Errorf("proto: HostAlias: illegal tag %d (wire type %d)", fieldNum, wire)
  27119. }
  27120. switch fieldNum {
  27121. case 1:
  27122. if wireType != 2 {
  27123. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  27124. }
  27125. var stringLen uint64
  27126. for shift := uint(0); ; shift += 7 {
  27127. if shift >= 64 {
  27128. return ErrIntOverflowGenerated
  27129. }
  27130. if iNdEx >= l {
  27131. return io.ErrUnexpectedEOF
  27132. }
  27133. b := dAtA[iNdEx]
  27134. iNdEx++
  27135. stringLen |= (uint64(b) & 0x7F) << shift
  27136. if b < 0x80 {
  27137. break
  27138. }
  27139. }
  27140. intStringLen := int(stringLen)
  27141. if intStringLen < 0 {
  27142. return ErrInvalidLengthGenerated
  27143. }
  27144. postIndex := iNdEx + intStringLen
  27145. if postIndex > l {
  27146. return io.ErrUnexpectedEOF
  27147. }
  27148. m.IP = string(dAtA[iNdEx:postIndex])
  27149. iNdEx = postIndex
  27150. case 2:
  27151. if wireType != 2 {
  27152. return fmt.Errorf("proto: wrong wireType = %d for field Hostnames", wireType)
  27153. }
  27154. var stringLen uint64
  27155. for shift := uint(0); ; shift += 7 {
  27156. if shift >= 64 {
  27157. return ErrIntOverflowGenerated
  27158. }
  27159. if iNdEx >= l {
  27160. return io.ErrUnexpectedEOF
  27161. }
  27162. b := dAtA[iNdEx]
  27163. iNdEx++
  27164. stringLen |= (uint64(b) & 0x7F) << shift
  27165. if b < 0x80 {
  27166. break
  27167. }
  27168. }
  27169. intStringLen := int(stringLen)
  27170. if intStringLen < 0 {
  27171. return ErrInvalidLengthGenerated
  27172. }
  27173. postIndex := iNdEx + intStringLen
  27174. if postIndex > l {
  27175. return io.ErrUnexpectedEOF
  27176. }
  27177. m.Hostnames = append(m.Hostnames, string(dAtA[iNdEx:postIndex]))
  27178. iNdEx = postIndex
  27179. default:
  27180. iNdEx = preIndex
  27181. skippy, err := skipGenerated(dAtA[iNdEx:])
  27182. if err != nil {
  27183. return err
  27184. }
  27185. if skippy < 0 {
  27186. return ErrInvalidLengthGenerated
  27187. }
  27188. if (iNdEx + skippy) > l {
  27189. return io.ErrUnexpectedEOF
  27190. }
  27191. iNdEx += skippy
  27192. }
  27193. }
  27194. if iNdEx > l {
  27195. return io.ErrUnexpectedEOF
  27196. }
  27197. return nil
  27198. }
  27199. func (m *HostPathVolumeSource) Unmarshal(dAtA []byte) error {
  27200. l := len(dAtA)
  27201. iNdEx := 0
  27202. for iNdEx < l {
  27203. preIndex := iNdEx
  27204. var wire uint64
  27205. for shift := uint(0); ; shift += 7 {
  27206. if shift >= 64 {
  27207. return ErrIntOverflowGenerated
  27208. }
  27209. if iNdEx >= l {
  27210. return io.ErrUnexpectedEOF
  27211. }
  27212. b := dAtA[iNdEx]
  27213. iNdEx++
  27214. wire |= (uint64(b) & 0x7F) << shift
  27215. if b < 0x80 {
  27216. break
  27217. }
  27218. }
  27219. fieldNum := int32(wire >> 3)
  27220. wireType := int(wire & 0x7)
  27221. if wireType == 4 {
  27222. return fmt.Errorf("proto: HostPathVolumeSource: wiretype end group for non-group")
  27223. }
  27224. if fieldNum <= 0 {
  27225. return fmt.Errorf("proto: HostPathVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  27226. }
  27227. switch fieldNum {
  27228. case 1:
  27229. if wireType != 2 {
  27230. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  27231. }
  27232. var stringLen 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. stringLen |= (uint64(b) & 0x7F) << shift
  27243. if b < 0x80 {
  27244. break
  27245. }
  27246. }
  27247. intStringLen := int(stringLen)
  27248. if intStringLen < 0 {
  27249. return ErrInvalidLengthGenerated
  27250. }
  27251. postIndex := iNdEx + intStringLen
  27252. if postIndex > l {
  27253. return io.ErrUnexpectedEOF
  27254. }
  27255. m.Path = string(dAtA[iNdEx:postIndex])
  27256. iNdEx = postIndex
  27257. case 2:
  27258. if wireType != 2 {
  27259. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  27260. }
  27261. var stringLen uint64
  27262. for shift := uint(0); ; shift += 7 {
  27263. if shift >= 64 {
  27264. return ErrIntOverflowGenerated
  27265. }
  27266. if iNdEx >= l {
  27267. return io.ErrUnexpectedEOF
  27268. }
  27269. b := dAtA[iNdEx]
  27270. iNdEx++
  27271. stringLen |= (uint64(b) & 0x7F) << shift
  27272. if b < 0x80 {
  27273. break
  27274. }
  27275. }
  27276. intStringLen := int(stringLen)
  27277. if intStringLen < 0 {
  27278. return ErrInvalidLengthGenerated
  27279. }
  27280. postIndex := iNdEx + intStringLen
  27281. if postIndex > l {
  27282. return io.ErrUnexpectedEOF
  27283. }
  27284. s := HostPathType(dAtA[iNdEx:postIndex])
  27285. m.Type = &s
  27286. iNdEx = postIndex
  27287. default:
  27288. iNdEx = preIndex
  27289. skippy, err := skipGenerated(dAtA[iNdEx:])
  27290. if err != nil {
  27291. return err
  27292. }
  27293. if skippy < 0 {
  27294. return ErrInvalidLengthGenerated
  27295. }
  27296. if (iNdEx + skippy) > l {
  27297. return io.ErrUnexpectedEOF
  27298. }
  27299. iNdEx += skippy
  27300. }
  27301. }
  27302. if iNdEx > l {
  27303. return io.ErrUnexpectedEOF
  27304. }
  27305. return nil
  27306. }
  27307. func (m *ISCSIPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  27308. l := len(dAtA)
  27309. iNdEx := 0
  27310. for iNdEx < l {
  27311. preIndex := iNdEx
  27312. var wire uint64
  27313. for shift := uint(0); ; shift += 7 {
  27314. if shift >= 64 {
  27315. return ErrIntOverflowGenerated
  27316. }
  27317. if iNdEx >= l {
  27318. return io.ErrUnexpectedEOF
  27319. }
  27320. b := dAtA[iNdEx]
  27321. iNdEx++
  27322. wire |= (uint64(b) & 0x7F) << shift
  27323. if b < 0x80 {
  27324. break
  27325. }
  27326. }
  27327. fieldNum := int32(wire >> 3)
  27328. wireType := int(wire & 0x7)
  27329. if wireType == 4 {
  27330. return fmt.Errorf("proto: ISCSIPersistentVolumeSource: wiretype end group for non-group")
  27331. }
  27332. if fieldNum <= 0 {
  27333. return fmt.Errorf("proto: ISCSIPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  27334. }
  27335. switch fieldNum {
  27336. case 1:
  27337. if wireType != 2 {
  27338. return fmt.Errorf("proto: wrong wireType = %d for field TargetPortal", wireType)
  27339. }
  27340. var stringLen uint64
  27341. for shift := uint(0); ; shift += 7 {
  27342. if shift >= 64 {
  27343. return ErrIntOverflowGenerated
  27344. }
  27345. if iNdEx >= l {
  27346. return io.ErrUnexpectedEOF
  27347. }
  27348. b := dAtA[iNdEx]
  27349. iNdEx++
  27350. stringLen |= (uint64(b) & 0x7F) << shift
  27351. if b < 0x80 {
  27352. break
  27353. }
  27354. }
  27355. intStringLen := int(stringLen)
  27356. if intStringLen < 0 {
  27357. return ErrInvalidLengthGenerated
  27358. }
  27359. postIndex := iNdEx + intStringLen
  27360. if postIndex > l {
  27361. return io.ErrUnexpectedEOF
  27362. }
  27363. m.TargetPortal = string(dAtA[iNdEx:postIndex])
  27364. iNdEx = postIndex
  27365. case 2:
  27366. if wireType != 2 {
  27367. return fmt.Errorf("proto: wrong wireType = %d for field IQN", wireType)
  27368. }
  27369. var stringLen uint64
  27370. for shift := uint(0); ; shift += 7 {
  27371. if shift >= 64 {
  27372. return ErrIntOverflowGenerated
  27373. }
  27374. if iNdEx >= l {
  27375. return io.ErrUnexpectedEOF
  27376. }
  27377. b := dAtA[iNdEx]
  27378. iNdEx++
  27379. stringLen |= (uint64(b) & 0x7F) << shift
  27380. if b < 0x80 {
  27381. break
  27382. }
  27383. }
  27384. intStringLen := int(stringLen)
  27385. if intStringLen < 0 {
  27386. return ErrInvalidLengthGenerated
  27387. }
  27388. postIndex := iNdEx + intStringLen
  27389. if postIndex > l {
  27390. return io.ErrUnexpectedEOF
  27391. }
  27392. m.IQN = string(dAtA[iNdEx:postIndex])
  27393. iNdEx = postIndex
  27394. case 3:
  27395. if wireType != 0 {
  27396. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  27397. }
  27398. m.Lun = 0
  27399. for shift := uint(0); ; shift += 7 {
  27400. if shift >= 64 {
  27401. return ErrIntOverflowGenerated
  27402. }
  27403. if iNdEx >= l {
  27404. return io.ErrUnexpectedEOF
  27405. }
  27406. b := dAtA[iNdEx]
  27407. iNdEx++
  27408. m.Lun |= (int32(b) & 0x7F) << shift
  27409. if b < 0x80 {
  27410. break
  27411. }
  27412. }
  27413. case 4:
  27414. if wireType != 2 {
  27415. return fmt.Errorf("proto: wrong wireType = %d for field ISCSIInterface", wireType)
  27416. }
  27417. var stringLen uint64
  27418. for shift := uint(0); ; shift += 7 {
  27419. if shift >= 64 {
  27420. return ErrIntOverflowGenerated
  27421. }
  27422. if iNdEx >= l {
  27423. return io.ErrUnexpectedEOF
  27424. }
  27425. b := dAtA[iNdEx]
  27426. iNdEx++
  27427. stringLen |= (uint64(b) & 0x7F) << shift
  27428. if b < 0x80 {
  27429. break
  27430. }
  27431. }
  27432. intStringLen := int(stringLen)
  27433. if intStringLen < 0 {
  27434. return ErrInvalidLengthGenerated
  27435. }
  27436. postIndex := iNdEx + intStringLen
  27437. if postIndex > l {
  27438. return io.ErrUnexpectedEOF
  27439. }
  27440. m.ISCSIInterface = string(dAtA[iNdEx:postIndex])
  27441. iNdEx = postIndex
  27442. case 5:
  27443. if wireType != 2 {
  27444. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  27445. }
  27446. var stringLen uint64
  27447. for shift := uint(0); ; shift += 7 {
  27448. if shift >= 64 {
  27449. return ErrIntOverflowGenerated
  27450. }
  27451. if iNdEx >= l {
  27452. return io.ErrUnexpectedEOF
  27453. }
  27454. b := dAtA[iNdEx]
  27455. iNdEx++
  27456. stringLen |= (uint64(b) & 0x7F) << shift
  27457. if b < 0x80 {
  27458. break
  27459. }
  27460. }
  27461. intStringLen := int(stringLen)
  27462. if intStringLen < 0 {
  27463. return ErrInvalidLengthGenerated
  27464. }
  27465. postIndex := iNdEx + intStringLen
  27466. if postIndex > l {
  27467. return io.ErrUnexpectedEOF
  27468. }
  27469. m.FSType = string(dAtA[iNdEx:postIndex])
  27470. iNdEx = postIndex
  27471. case 6:
  27472. if wireType != 0 {
  27473. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  27474. }
  27475. var v int
  27476. for shift := uint(0); ; shift += 7 {
  27477. if shift >= 64 {
  27478. return ErrIntOverflowGenerated
  27479. }
  27480. if iNdEx >= l {
  27481. return io.ErrUnexpectedEOF
  27482. }
  27483. b := dAtA[iNdEx]
  27484. iNdEx++
  27485. v |= (int(b) & 0x7F) << shift
  27486. if b < 0x80 {
  27487. break
  27488. }
  27489. }
  27490. m.ReadOnly = bool(v != 0)
  27491. case 7:
  27492. if wireType != 2 {
  27493. return fmt.Errorf("proto: wrong wireType = %d for field Portals", wireType)
  27494. }
  27495. var stringLen uint64
  27496. for shift := uint(0); ; shift += 7 {
  27497. if shift >= 64 {
  27498. return ErrIntOverflowGenerated
  27499. }
  27500. if iNdEx >= l {
  27501. return io.ErrUnexpectedEOF
  27502. }
  27503. b := dAtA[iNdEx]
  27504. iNdEx++
  27505. stringLen |= (uint64(b) & 0x7F) << shift
  27506. if b < 0x80 {
  27507. break
  27508. }
  27509. }
  27510. intStringLen := int(stringLen)
  27511. if intStringLen < 0 {
  27512. return ErrInvalidLengthGenerated
  27513. }
  27514. postIndex := iNdEx + intStringLen
  27515. if postIndex > l {
  27516. return io.ErrUnexpectedEOF
  27517. }
  27518. m.Portals = append(m.Portals, string(dAtA[iNdEx:postIndex]))
  27519. iNdEx = postIndex
  27520. case 8:
  27521. if wireType != 0 {
  27522. return fmt.Errorf("proto: wrong wireType = %d for field DiscoveryCHAPAuth", wireType)
  27523. }
  27524. var v int
  27525. for shift := uint(0); ; shift += 7 {
  27526. if shift >= 64 {
  27527. return ErrIntOverflowGenerated
  27528. }
  27529. if iNdEx >= l {
  27530. return io.ErrUnexpectedEOF
  27531. }
  27532. b := dAtA[iNdEx]
  27533. iNdEx++
  27534. v |= (int(b) & 0x7F) << shift
  27535. if b < 0x80 {
  27536. break
  27537. }
  27538. }
  27539. m.DiscoveryCHAPAuth = bool(v != 0)
  27540. case 10:
  27541. if wireType != 2 {
  27542. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  27543. }
  27544. var msglen int
  27545. for shift := uint(0); ; shift += 7 {
  27546. if shift >= 64 {
  27547. return ErrIntOverflowGenerated
  27548. }
  27549. if iNdEx >= l {
  27550. return io.ErrUnexpectedEOF
  27551. }
  27552. b := dAtA[iNdEx]
  27553. iNdEx++
  27554. msglen |= (int(b) & 0x7F) << shift
  27555. if b < 0x80 {
  27556. break
  27557. }
  27558. }
  27559. if msglen < 0 {
  27560. return ErrInvalidLengthGenerated
  27561. }
  27562. postIndex := iNdEx + msglen
  27563. if postIndex > l {
  27564. return io.ErrUnexpectedEOF
  27565. }
  27566. if m.SecretRef == nil {
  27567. m.SecretRef = &SecretReference{}
  27568. }
  27569. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27570. return err
  27571. }
  27572. iNdEx = postIndex
  27573. case 11:
  27574. if wireType != 0 {
  27575. return fmt.Errorf("proto: wrong wireType = %d for field SessionCHAPAuth", wireType)
  27576. }
  27577. var v int
  27578. for shift := uint(0); ; shift += 7 {
  27579. if shift >= 64 {
  27580. return ErrIntOverflowGenerated
  27581. }
  27582. if iNdEx >= l {
  27583. return io.ErrUnexpectedEOF
  27584. }
  27585. b := dAtA[iNdEx]
  27586. iNdEx++
  27587. v |= (int(b) & 0x7F) << shift
  27588. if b < 0x80 {
  27589. break
  27590. }
  27591. }
  27592. m.SessionCHAPAuth = bool(v != 0)
  27593. case 12:
  27594. if wireType != 2 {
  27595. return fmt.Errorf("proto: wrong wireType = %d for field InitiatorName", wireType)
  27596. }
  27597. var stringLen uint64
  27598. for shift := uint(0); ; shift += 7 {
  27599. if shift >= 64 {
  27600. return ErrIntOverflowGenerated
  27601. }
  27602. if iNdEx >= l {
  27603. return io.ErrUnexpectedEOF
  27604. }
  27605. b := dAtA[iNdEx]
  27606. iNdEx++
  27607. stringLen |= (uint64(b) & 0x7F) << shift
  27608. if b < 0x80 {
  27609. break
  27610. }
  27611. }
  27612. intStringLen := int(stringLen)
  27613. if intStringLen < 0 {
  27614. return ErrInvalidLengthGenerated
  27615. }
  27616. postIndex := iNdEx + intStringLen
  27617. if postIndex > l {
  27618. return io.ErrUnexpectedEOF
  27619. }
  27620. s := string(dAtA[iNdEx:postIndex])
  27621. m.InitiatorName = &s
  27622. iNdEx = postIndex
  27623. default:
  27624. iNdEx = preIndex
  27625. skippy, err := skipGenerated(dAtA[iNdEx:])
  27626. if err != nil {
  27627. return err
  27628. }
  27629. if skippy < 0 {
  27630. return ErrInvalidLengthGenerated
  27631. }
  27632. if (iNdEx + skippy) > l {
  27633. return io.ErrUnexpectedEOF
  27634. }
  27635. iNdEx += skippy
  27636. }
  27637. }
  27638. if iNdEx > l {
  27639. return io.ErrUnexpectedEOF
  27640. }
  27641. return nil
  27642. }
  27643. func (m *ISCSIVolumeSource) Unmarshal(dAtA []byte) error {
  27644. l := len(dAtA)
  27645. iNdEx := 0
  27646. for iNdEx < l {
  27647. preIndex := iNdEx
  27648. var wire uint64
  27649. for shift := uint(0); ; shift += 7 {
  27650. if shift >= 64 {
  27651. return ErrIntOverflowGenerated
  27652. }
  27653. if iNdEx >= l {
  27654. return io.ErrUnexpectedEOF
  27655. }
  27656. b := dAtA[iNdEx]
  27657. iNdEx++
  27658. wire |= (uint64(b) & 0x7F) << shift
  27659. if b < 0x80 {
  27660. break
  27661. }
  27662. }
  27663. fieldNum := int32(wire >> 3)
  27664. wireType := int(wire & 0x7)
  27665. if wireType == 4 {
  27666. return fmt.Errorf("proto: ISCSIVolumeSource: wiretype end group for non-group")
  27667. }
  27668. if fieldNum <= 0 {
  27669. return fmt.Errorf("proto: ISCSIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  27670. }
  27671. switch fieldNum {
  27672. case 1:
  27673. if wireType != 2 {
  27674. return fmt.Errorf("proto: wrong wireType = %d for field TargetPortal", wireType)
  27675. }
  27676. var stringLen uint64
  27677. for shift := uint(0); ; shift += 7 {
  27678. if shift >= 64 {
  27679. return ErrIntOverflowGenerated
  27680. }
  27681. if iNdEx >= l {
  27682. return io.ErrUnexpectedEOF
  27683. }
  27684. b := dAtA[iNdEx]
  27685. iNdEx++
  27686. stringLen |= (uint64(b) & 0x7F) << shift
  27687. if b < 0x80 {
  27688. break
  27689. }
  27690. }
  27691. intStringLen := int(stringLen)
  27692. if intStringLen < 0 {
  27693. return ErrInvalidLengthGenerated
  27694. }
  27695. postIndex := iNdEx + intStringLen
  27696. if postIndex > l {
  27697. return io.ErrUnexpectedEOF
  27698. }
  27699. m.TargetPortal = string(dAtA[iNdEx:postIndex])
  27700. iNdEx = postIndex
  27701. case 2:
  27702. if wireType != 2 {
  27703. return fmt.Errorf("proto: wrong wireType = %d for field IQN", wireType)
  27704. }
  27705. var stringLen uint64
  27706. for shift := uint(0); ; shift += 7 {
  27707. if shift >= 64 {
  27708. return ErrIntOverflowGenerated
  27709. }
  27710. if iNdEx >= l {
  27711. return io.ErrUnexpectedEOF
  27712. }
  27713. b := dAtA[iNdEx]
  27714. iNdEx++
  27715. stringLen |= (uint64(b) & 0x7F) << shift
  27716. if b < 0x80 {
  27717. break
  27718. }
  27719. }
  27720. intStringLen := int(stringLen)
  27721. if intStringLen < 0 {
  27722. return ErrInvalidLengthGenerated
  27723. }
  27724. postIndex := iNdEx + intStringLen
  27725. if postIndex > l {
  27726. return io.ErrUnexpectedEOF
  27727. }
  27728. m.IQN = string(dAtA[iNdEx:postIndex])
  27729. iNdEx = postIndex
  27730. case 3:
  27731. if wireType != 0 {
  27732. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  27733. }
  27734. m.Lun = 0
  27735. for shift := uint(0); ; shift += 7 {
  27736. if shift >= 64 {
  27737. return ErrIntOverflowGenerated
  27738. }
  27739. if iNdEx >= l {
  27740. return io.ErrUnexpectedEOF
  27741. }
  27742. b := dAtA[iNdEx]
  27743. iNdEx++
  27744. m.Lun |= (int32(b) & 0x7F) << shift
  27745. if b < 0x80 {
  27746. break
  27747. }
  27748. }
  27749. case 4:
  27750. if wireType != 2 {
  27751. return fmt.Errorf("proto: wrong wireType = %d for field ISCSIInterface", wireType)
  27752. }
  27753. var stringLen uint64
  27754. for shift := uint(0); ; shift += 7 {
  27755. if shift >= 64 {
  27756. return ErrIntOverflowGenerated
  27757. }
  27758. if iNdEx >= l {
  27759. return io.ErrUnexpectedEOF
  27760. }
  27761. b := dAtA[iNdEx]
  27762. iNdEx++
  27763. stringLen |= (uint64(b) & 0x7F) << shift
  27764. if b < 0x80 {
  27765. break
  27766. }
  27767. }
  27768. intStringLen := int(stringLen)
  27769. if intStringLen < 0 {
  27770. return ErrInvalidLengthGenerated
  27771. }
  27772. postIndex := iNdEx + intStringLen
  27773. if postIndex > l {
  27774. return io.ErrUnexpectedEOF
  27775. }
  27776. m.ISCSIInterface = string(dAtA[iNdEx:postIndex])
  27777. iNdEx = postIndex
  27778. case 5:
  27779. if wireType != 2 {
  27780. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  27781. }
  27782. var stringLen uint64
  27783. for shift := uint(0); ; shift += 7 {
  27784. if shift >= 64 {
  27785. return ErrIntOverflowGenerated
  27786. }
  27787. if iNdEx >= l {
  27788. return io.ErrUnexpectedEOF
  27789. }
  27790. b := dAtA[iNdEx]
  27791. iNdEx++
  27792. stringLen |= (uint64(b) & 0x7F) << shift
  27793. if b < 0x80 {
  27794. break
  27795. }
  27796. }
  27797. intStringLen := int(stringLen)
  27798. if intStringLen < 0 {
  27799. return ErrInvalidLengthGenerated
  27800. }
  27801. postIndex := iNdEx + intStringLen
  27802. if postIndex > l {
  27803. return io.ErrUnexpectedEOF
  27804. }
  27805. m.FSType = string(dAtA[iNdEx:postIndex])
  27806. iNdEx = postIndex
  27807. case 6:
  27808. if wireType != 0 {
  27809. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  27810. }
  27811. var v int
  27812. for shift := uint(0); ; shift += 7 {
  27813. if shift >= 64 {
  27814. return ErrIntOverflowGenerated
  27815. }
  27816. if iNdEx >= l {
  27817. return io.ErrUnexpectedEOF
  27818. }
  27819. b := dAtA[iNdEx]
  27820. iNdEx++
  27821. v |= (int(b) & 0x7F) << shift
  27822. if b < 0x80 {
  27823. break
  27824. }
  27825. }
  27826. m.ReadOnly = bool(v != 0)
  27827. case 7:
  27828. if wireType != 2 {
  27829. return fmt.Errorf("proto: wrong wireType = %d for field Portals", wireType)
  27830. }
  27831. var stringLen uint64
  27832. for shift := uint(0); ; shift += 7 {
  27833. if shift >= 64 {
  27834. return ErrIntOverflowGenerated
  27835. }
  27836. if iNdEx >= l {
  27837. return io.ErrUnexpectedEOF
  27838. }
  27839. b := dAtA[iNdEx]
  27840. iNdEx++
  27841. stringLen |= (uint64(b) & 0x7F) << shift
  27842. if b < 0x80 {
  27843. break
  27844. }
  27845. }
  27846. intStringLen := int(stringLen)
  27847. if intStringLen < 0 {
  27848. return ErrInvalidLengthGenerated
  27849. }
  27850. postIndex := iNdEx + intStringLen
  27851. if postIndex > l {
  27852. return io.ErrUnexpectedEOF
  27853. }
  27854. m.Portals = append(m.Portals, string(dAtA[iNdEx:postIndex]))
  27855. iNdEx = postIndex
  27856. case 8:
  27857. if wireType != 0 {
  27858. return fmt.Errorf("proto: wrong wireType = %d for field DiscoveryCHAPAuth", wireType)
  27859. }
  27860. var v int
  27861. for shift := uint(0); ; shift += 7 {
  27862. if shift >= 64 {
  27863. return ErrIntOverflowGenerated
  27864. }
  27865. if iNdEx >= l {
  27866. return io.ErrUnexpectedEOF
  27867. }
  27868. b := dAtA[iNdEx]
  27869. iNdEx++
  27870. v |= (int(b) & 0x7F) << shift
  27871. if b < 0x80 {
  27872. break
  27873. }
  27874. }
  27875. m.DiscoveryCHAPAuth = bool(v != 0)
  27876. case 10:
  27877. if wireType != 2 {
  27878. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  27879. }
  27880. var msglen int
  27881. for shift := uint(0); ; shift += 7 {
  27882. if shift >= 64 {
  27883. return ErrIntOverflowGenerated
  27884. }
  27885. if iNdEx >= l {
  27886. return io.ErrUnexpectedEOF
  27887. }
  27888. b := dAtA[iNdEx]
  27889. iNdEx++
  27890. msglen |= (int(b) & 0x7F) << shift
  27891. if b < 0x80 {
  27892. break
  27893. }
  27894. }
  27895. if msglen < 0 {
  27896. return ErrInvalidLengthGenerated
  27897. }
  27898. postIndex := iNdEx + msglen
  27899. if postIndex > l {
  27900. return io.ErrUnexpectedEOF
  27901. }
  27902. if m.SecretRef == nil {
  27903. m.SecretRef = &LocalObjectReference{}
  27904. }
  27905. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27906. return err
  27907. }
  27908. iNdEx = postIndex
  27909. case 11:
  27910. if wireType != 0 {
  27911. return fmt.Errorf("proto: wrong wireType = %d for field SessionCHAPAuth", wireType)
  27912. }
  27913. var v int
  27914. for shift := uint(0); ; shift += 7 {
  27915. if shift >= 64 {
  27916. return ErrIntOverflowGenerated
  27917. }
  27918. if iNdEx >= l {
  27919. return io.ErrUnexpectedEOF
  27920. }
  27921. b := dAtA[iNdEx]
  27922. iNdEx++
  27923. v |= (int(b) & 0x7F) << shift
  27924. if b < 0x80 {
  27925. break
  27926. }
  27927. }
  27928. m.SessionCHAPAuth = bool(v != 0)
  27929. case 12:
  27930. if wireType != 2 {
  27931. return fmt.Errorf("proto: wrong wireType = %d for field InitiatorName", wireType)
  27932. }
  27933. var stringLen uint64
  27934. for shift := uint(0); ; shift += 7 {
  27935. if shift >= 64 {
  27936. return ErrIntOverflowGenerated
  27937. }
  27938. if iNdEx >= l {
  27939. return io.ErrUnexpectedEOF
  27940. }
  27941. b := dAtA[iNdEx]
  27942. iNdEx++
  27943. stringLen |= (uint64(b) & 0x7F) << shift
  27944. if b < 0x80 {
  27945. break
  27946. }
  27947. }
  27948. intStringLen := int(stringLen)
  27949. if intStringLen < 0 {
  27950. return ErrInvalidLengthGenerated
  27951. }
  27952. postIndex := iNdEx + intStringLen
  27953. if postIndex > l {
  27954. return io.ErrUnexpectedEOF
  27955. }
  27956. s := string(dAtA[iNdEx:postIndex])
  27957. m.InitiatorName = &s
  27958. iNdEx = postIndex
  27959. default:
  27960. iNdEx = preIndex
  27961. skippy, err := skipGenerated(dAtA[iNdEx:])
  27962. if err != nil {
  27963. return err
  27964. }
  27965. if skippy < 0 {
  27966. return ErrInvalidLengthGenerated
  27967. }
  27968. if (iNdEx + skippy) > l {
  27969. return io.ErrUnexpectedEOF
  27970. }
  27971. iNdEx += skippy
  27972. }
  27973. }
  27974. if iNdEx > l {
  27975. return io.ErrUnexpectedEOF
  27976. }
  27977. return nil
  27978. }
  27979. func (m *KeyToPath) Unmarshal(dAtA []byte) error {
  27980. l := len(dAtA)
  27981. iNdEx := 0
  27982. for iNdEx < l {
  27983. preIndex := iNdEx
  27984. var wire uint64
  27985. for shift := uint(0); ; shift += 7 {
  27986. if shift >= 64 {
  27987. return ErrIntOverflowGenerated
  27988. }
  27989. if iNdEx >= l {
  27990. return io.ErrUnexpectedEOF
  27991. }
  27992. b := dAtA[iNdEx]
  27993. iNdEx++
  27994. wire |= (uint64(b) & 0x7F) << shift
  27995. if b < 0x80 {
  27996. break
  27997. }
  27998. }
  27999. fieldNum := int32(wire >> 3)
  28000. wireType := int(wire & 0x7)
  28001. if wireType == 4 {
  28002. return fmt.Errorf("proto: KeyToPath: wiretype end group for non-group")
  28003. }
  28004. if fieldNum <= 0 {
  28005. return fmt.Errorf("proto: KeyToPath: illegal tag %d (wire type %d)", fieldNum, wire)
  28006. }
  28007. switch fieldNum {
  28008. case 1:
  28009. if wireType != 2 {
  28010. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  28011. }
  28012. var stringLen uint64
  28013. for shift := uint(0); ; shift += 7 {
  28014. if shift >= 64 {
  28015. return ErrIntOverflowGenerated
  28016. }
  28017. if iNdEx >= l {
  28018. return io.ErrUnexpectedEOF
  28019. }
  28020. b := dAtA[iNdEx]
  28021. iNdEx++
  28022. stringLen |= (uint64(b) & 0x7F) << shift
  28023. if b < 0x80 {
  28024. break
  28025. }
  28026. }
  28027. intStringLen := int(stringLen)
  28028. if intStringLen < 0 {
  28029. return ErrInvalidLengthGenerated
  28030. }
  28031. postIndex := iNdEx + intStringLen
  28032. if postIndex > l {
  28033. return io.ErrUnexpectedEOF
  28034. }
  28035. m.Key = string(dAtA[iNdEx:postIndex])
  28036. iNdEx = postIndex
  28037. case 2:
  28038. if wireType != 2 {
  28039. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  28040. }
  28041. var stringLen uint64
  28042. for shift := uint(0); ; shift += 7 {
  28043. if shift >= 64 {
  28044. return ErrIntOverflowGenerated
  28045. }
  28046. if iNdEx >= l {
  28047. return io.ErrUnexpectedEOF
  28048. }
  28049. b := dAtA[iNdEx]
  28050. iNdEx++
  28051. stringLen |= (uint64(b) & 0x7F) << shift
  28052. if b < 0x80 {
  28053. break
  28054. }
  28055. }
  28056. intStringLen := int(stringLen)
  28057. if intStringLen < 0 {
  28058. return ErrInvalidLengthGenerated
  28059. }
  28060. postIndex := iNdEx + intStringLen
  28061. if postIndex > l {
  28062. return io.ErrUnexpectedEOF
  28063. }
  28064. m.Path = string(dAtA[iNdEx:postIndex])
  28065. iNdEx = postIndex
  28066. case 3:
  28067. if wireType != 0 {
  28068. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  28069. }
  28070. var v int32
  28071. for shift := uint(0); ; shift += 7 {
  28072. if shift >= 64 {
  28073. return ErrIntOverflowGenerated
  28074. }
  28075. if iNdEx >= l {
  28076. return io.ErrUnexpectedEOF
  28077. }
  28078. b := dAtA[iNdEx]
  28079. iNdEx++
  28080. v |= (int32(b) & 0x7F) << shift
  28081. if b < 0x80 {
  28082. break
  28083. }
  28084. }
  28085. m.Mode = &v
  28086. default:
  28087. iNdEx = preIndex
  28088. skippy, err := skipGenerated(dAtA[iNdEx:])
  28089. if err != nil {
  28090. return err
  28091. }
  28092. if skippy < 0 {
  28093. return ErrInvalidLengthGenerated
  28094. }
  28095. if (iNdEx + skippy) > l {
  28096. return io.ErrUnexpectedEOF
  28097. }
  28098. iNdEx += skippy
  28099. }
  28100. }
  28101. if iNdEx > l {
  28102. return io.ErrUnexpectedEOF
  28103. }
  28104. return nil
  28105. }
  28106. func (m *Lifecycle) Unmarshal(dAtA []byte) error {
  28107. l := len(dAtA)
  28108. iNdEx := 0
  28109. for iNdEx < l {
  28110. preIndex := iNdEx
  28111. var wire uint64
  28112. for shift := uint(0); ; shift += 7 {
  28113. if shift >= 64 {
  28114. return ErrIntOverflowGenerated
  28115. }
  28116. if iNdEx >= l {
  28117. return io.ErrUnexpectedEOF
  28118. }
  28119. b := dAtA[iNdEx]
  28120. iNdEx++
  28121. wire |= (uint64(b) & 0x7F) << shift
  28122. if b < 0x80 {
  28123. break
  28124. }
  28125. }
  28126. fieldNum := int32(wire >> 3)
  28127. wireType := int(wire & 0x7)
  28128. if wireType == 4 {
  28129. return fmt.Errorf("proto: Lifecycle: wiretype end group for non-group")
  28130. }
  28131. if fieldNum <= 0 {
  28132. return fmt.Errorf("proto: Lifecycle: illegal tag %d (wire type %d)", fieldNum, wire)
  28133. }
  28134. switch fieldNum {
  28135. case 1:
  28136. if wireType != 2 {
  28137. return fmt.Errorf("proto: wrong wireType = %d for field PostStart", wireType)
  28138. }
  28139. var msglen int
  28140. for shift := uint(0); ; shift += 7 {
  28141. if shift >= 64 {
  28142. return ErrIntOverflowGenerated
  28143. }
  28144. if iNdEx >= l {
  28145. return io.ErrUnexpectedEOF
  28146. }
  28147. b := dAtA[iNdEx]
  28148. iNdEx++
  28149. msglen |= (int(b) & 0x7F) << shift
  28150. if b < 0x80 {
  28151. break
  28152. }
  28153. }
  28154. if msglen < 0 {
  28155. return ErrInvalidLengthGenerated
  28156. }
  28157. postIndex := iNdEx + msglen
  28158. if postIndex > l {
  28159. return io.ErrUnexpectedEOF
  28160. }
  28161. if m.PostStart == nil {
  28162. m.PostStart = &Handler{}
  28163. }
  28164. if err := m.PostStart.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28165. return err
  28166. }
  28167. iNdEx = postIndex
  28168. case 2:
  28169. if wireType != 2 {
  28170. return fmt.Errorf("proto: wrong wireType = %d for field PreStop", wireType)
  28171. }
  28172. var msglen int
  28173. for shift := uint(0); ; shift += 7 {
  28174. if shift >= 64 {
  28175. return ErrIntOverflowGenerated
  28176. }
  28177. if iNdEx >= l {
  28178. return io.ErrUnexpectedEOF
  28179. }
  28180. b := dAtA[iNdEx]
  28181. iNdEx++
  28182. msglen |= (int(b) & 0x7F) << shift
  28183. if b < 0x80 {
  28184. break
  28185. }
  28186. }
  28187. if msglen < 0 {
  28188. return ErrInvalidLengthGenerated
  28189. }
  28190. postIndex := iNdEx + msglen
  28191. if postIndex > l {
  28192. return io.ErrUnexpectedEOF
  28193. }
  28194. if m.PreStop == nil {
  28195. m.PreStop = &Handler{}
  28196. }
  28197. if err := m.PreStop.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28198. return err
  28199. }
  28200. iNdEx = postIndex
  28201. default:
  28202. iNdEx = preIndex
  28203. skippy, err := skipGenerated(dAtA[iNdEx:])
  28204. if err != nil {
  28205. return err
  28206. }
  28207. if skippy < 0 {
  28208. return ErrInvalidLengthGenerated
  28209. }
  28210. if (iNdEx + skippy) > l {
  28211. return io.ErrUnexpectedEOF
  28212. }
  28213. iNdEx += skippy
  28214. }
  28215. }
  28216. if iNdEx > l {
  28217. return io.ErrUnexpectedEOF
  28218. }
  28219. return nil
  28220. }
  28221. func (m *LimitRange) Unmarshal(dAtA []byte) error {
  28222. l := len(dAtA)
  28223. iNdEx := 0
  28224. for iNdEx < l {
  28225. preIndex := iNdEx
  28226. var wire uint64
  28227. for shift := uint(0); ; shift += 7 {
  28228. if shift >= 64 {
  28229. return ErrIntOverflowGenerated
  28230. }
  28231. if iNdEx >= l {
  28232. return io.ErrUnexpectedEOF
  28233. }
  28234. b := dAtA[iNdEx]
  28235. iNdEx++
  28236. wire |= (uint64(b) & 0x7F) << shift
  28237. if b < 0x80 {
  28238. break
  28239. }
  28240. }
  28241. fieldNum := int32(wire >> 3)
  28242. wireType := int(wire & 0x7)
  28243. if wireType == 4 {
  28244. return fmt.Errorf("proto: LimitRange: wiretype end group for non-group")
  28245. }
  28246. if fieldNum <= 0 {
  28247. return fmt.Errorf("proto: LimitRange: illegal tag %d (wire type %d)", fieldNum, wire)
  28248. }
  28249. switch fieldNum {
  28250. case 1:
  28251. if wireType != 2 {
  28252. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  28253. }
  28254. var msglen int
  28255. for shift := uint(0); ; shift += 7 {
  28256. if shift >= 64 {
  28257. return ErrIntOverflowGenerated
  28258. }
  28259. if iNdEx >= l {
  28260. return io.ErrUnexpectedEOF
  28261. }
  28262. b := dAtA[iNdEx]
  28263. iNdEx++
  28264. msglen |= (int(b) & 0x7F) << shift
  28265. if b < 0x80 {
  28266. break
  28267. }
  28268. }
  28269. if msglen < 0 {
  28270. return ErrInvalidLengthGenerated
  28271. }
  28272. postIndex := iNdEx + msglen
  28273. if postIndex > l {
  28274. return io.ErrUnexpectedEOF
  28275. }
  28276. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28277. return err
  28278. }
  28279. iNdEx = postIndex
  28280. case 2:
  28281. if wireType != 2 {
  28282. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  28283. }
  28284. var msglen int
  28285. for shift := uint(0); ; shift += 7 {
  28286. if shift >= 64 {
  28287. return ErrIntOverflowGenerated
  28288. }
  28289. if iNdEx >= l {
  28290. return io.ErrUnexpectedEOF
  28291. }
  28292. b := dAtA[iNdEx]
  28293. iNdEx++
  28294. msglen |= (int(b) & 0x7F) << shift
  28295. if b < 0x80 {
  28296. break
  28297. }
  28298. }
  28299. if msglen < 0 {
  28300. return ErrInvalidLengthGenerated
  28301. }
  28302. postIndex := iNdEx + msglen
  28303. if postIndex > l {
  28304. return io.ErrUnexpectedEOF
  28305. }
  28306. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28307. return err
  28308. }
  28309. iNdEx = postIndex
  28310. default:
  28311. iNdEx = preIndex
  28312. skippy, err := skipGenerated(dAtA[iNdEx:])
  28313. if err != nil {
  28314. return err
  28315. }
  28316. if skippy < 0 {
  28317. return ErrInvalidLengthGenerated
  28318. }
  28319. if (iNdEx + skippy) > l {
  28320. return io.ErrUnexpectedEOF
  28321. }
  28322. iNdEx += skippy
  28323. }
  28324. }
  28325. if iNdEx > l {
  28326. return io.ErrUnexpectedEOF
  28327. }
  28328. return nil
  28329. }
  28330. func (m *LimitRangeItem) Unmarshal(dAtA []byte) error {
  28331. l := len(dAtA)
  28332. iNdEx := 0
  28333. for iNdEx < l {
  28334. preIndex := iNdEx
  28335. var wire uint64
  28336. for shift := uint(0); ; shift += 7 {
  28337. if shift >= 64 {
  28338. return ErrIntOverflowGenerated
  28339. }
  28340. if iNdEx >= l {
  28341. return io.ErrUnexpectedEOF
  28342. }
  28343. b := dAtA[iNdEx]
  28344. iNdEx++
  28345. wire |= (uint64(b) & 0x7F) << shift
  28346. if b < 0x80 {
  28347. break
  28348. }
  28349. }
  28350. fieldNum := int32(wire >> 3)
  28351. wireType := int(wire & 0x7)
  28352. if wireType == 4 {
  28353. return fmt.Errorf("proto: LimitRangeItem: wiretype end group for non-group")
  28354. }
  28355. if fieldNum <= 0 {
  28356. return fmt.Errorf("proto: LimitRangeItem: illegal tag %d (wire type %d)", fieldNum, wire)
  28357. }
  28358. switch fieldNum {
  28359. case 1:
  28360. if wireType != 2 {
  28361. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  28362. }
  28363. var stringLen uint64
  28364. for shift := uint(0); ; shift += 7 {
  28365. if shift >= 64 {
  28366. return ErrIntOverflowGenerated
  28367. }
  28368. if iNdEx >= l {
  28369. return io.ErrUnexpectedEOF
  28370. }
  28371. b := dAtA[iNdEx]
  28372. iNdEx++
  28373. stringLen |= (uint64(b) & 0x7F) << shift
  28374. if b < 0x80 {
  28375. break
  28376. }
  28377. }
  28378. intStringLen := int(stringLen)
  28379. if intStringLen < 0 {
  28380. return ErrInvalidLengthGenerated
  28381. }
  28382. postIndex := iNdEx + intStringLen
  28383. if postIndex > l {
  28384. return io.ErrUnexpectedEOF
  28385. }
  28386. m.Type = LimitType(dAtA[iNdEx:postIndex])
  28387. iNdEx = postIndex
  28388. case 2:
  28389. if wireType != 2 {
  28390. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  28391. }
  28392. var msglen int
  28393. for shift := uint(0); ; shift += 7 {
  28394. if shift >= 64 {
  28395. return ErrIntOverflowGenerated
  28396. }
  28397. if iNdEx >= l {
  28398. return io.ErrUnexpectedEOF
  28399. }
  28400. b := dAtA[iNdEx]
  28401. iNdEx++
  28402. msglen |= (int(b) & 0x7F) << shift
  28403. if b < 0x80 {
  28404. break
  28405. }
  28406. }
  28407. if msglen < 0 {
  28408. return ErrInvalidLengthGenerated
  28409. }
  28410. postIndex := iNdEx + msglen
  28411. if postIndex > l {
  28412. return io.ErrUnexpectedEOF
  28413. }
  28414. if m.Max == nil {
  28415. m.Max = make(ResourceList)
  28416. }
  28417. var mapkey ResourceName
  28418. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28419. for iNdEx < postIndex {
  28420. entryPreIndex := iNdEx
  28421. var wire uint64
  28422. for shift := uint(0); ; shift += 7 {
  28423. if shift >= 64 {
  28424. return ErrIntOverflowGenerated
  28425. }
  28426. if iNdEx >= l {
  28427. return io.ErrUnexpectedEOF
  28428. }
  28429. b := dAtA[iNdEx]
  28430. iNdEx++
  28431. wire |= (uint64(b) & 0x7F) << shift
  28432. if b < 0x80 {
  28433. break
  28434. }
  28435. }
  28436. fieldNum := int32(wire >> 3)
  28437. if fieldNum == 1 {
  28438. var stringLenmapkey uint64
  28439. for shift := uint(0); ; shift += 7 {
  28440. if shift >= 64 {
  28441. return ErrIntOverflowGenerated
  28442. }
  28443. if iNdEx >= l {
  28444. return io.ErrUnexpectedEOF
  28445. }
  28446. b := dAtA[iNdEx]
  28447. iNdEx++
  28448. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  28449. if b < 0x80 {
  28450. break
  28451. }
  28452. }
  28453. intStringLenmapkey := int(stringLenmapkey)
  28454. if intStringLenmapkey < 0 {
  28455. return ErrInvalidLengthGenerated
  28456. }
  28457. postStringIndexmapkey := iNdEx + intStringLenmapkey
  28458. if postStringIndexmapkey > l {
  28459. return io.ErrUnexpectedEOF
  28460. }
  28461. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  28462. iNdEx = postStringIndexmapkey
  28463. } else if fieldNum == 2 {
  28464. var mapmsglen int
  28465. for shift := uint(0); ; shift += 7 {
  28466. if shift >= 64 {
  28467. return ErrIntOverflowGenerated
  28468. }
  28469. if iNdEx >= l {
  28470. return io.ErrUnexpectedEOF
  28471. }
  28472. b := dAtA[iNdEx]
  28473. iNdEx++
  28474. mapmsglen |= (int(b) & 0x7F) << shift
  28475. if b < 0x80 {
  28476. break
  28477. }
  28478. }
  28479. if mapmsglen < 0 {
  28480. return ErrInvalidLengthGenerated
  28481. }
  28482. postmsgIndex := iNdEx + mapmsglen
  28483. if mapmsglen < 0 {
  28484. return ErrInvalidLengthGenerated
  28485. }
  28486. if postmsgIndex > l {
  28487. return io.ErrUnexpectedEOF
  28488. }
  28489. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28490. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  28491. return err
  28492. }
  28493. iNdEx = postmsgIndex
  28494. } else {
  28495. iNdEx = entryPreIndex
  28496. skippy, err := skipGenerated(dAtA[iNdEx:])
  28497. if err != nil {
  28498. return err
  28499. }
  28500. if skippy < 0 {
  28501. return ErrInvalidLengthGenerated
  28502. }
  28503. if (iNdEx + skippy) > postIndex {
  28504. return io.ErrUnexpectedEOF
  28505. }
  28506. iNdEx += skippy
  28507. }
  28508. }
  28509. m.Max[ResourceName(mapkey)] = *mapvalue
  28510. iNdEx = postIndex
  28511. case 3:
  28512. if wireType != 2 {
  28513. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  28514. }
  28515. var msglen int
  28516. for shift := uint(0); ; shift += 7 {
  28517. if shift >= 64 {
  28518. return ErrIntOverflowGenerated
  28519. }
  28520. if iNdEx >= l {
  28521. return io.ErrUnexpectedEOF
  28522. }
  28523. b := dAtA[iNdEx]
  28524. iNdEx++
  28525. msglen |= (int(b) & 0x7F) << shift
  28526. if b < 0x80 {
  28527. break
  28528. }
  28529. }
  28530. if msglen < 0 {
  28531. return ErrInvalidLengthGenerated
  28532. }
  28533. postIndex := iNdEx + msglen
  28534. if postIndex > l {
  28535. return io.ErrUnexpectedEOF
  28536. }
  28537. if m.Min == nil {
  28538. m.Min = make(ResourceList)
  28539. }
  28540. var mapkey ResourceName
  28541. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28542. for iNdEx < postIndex {
  28543. entryPreIndex := iNdEx
  28544. var wire uint64
  28545. for shift := uint(0); ; shift += 7 {
  28546. if shift >= 64 {
  28547. return ErrIntOverflowGenerated
  28548. }
  28549. if iNdEx >= l {
  28550. return io.ErrUnexpectedEOF
  28551. }
  28552. b := dAtA[iNdEx]
  28553. iNdEx++
  28554. wire |= (uint64(b) & 0x7F) << shift
  28555. if b < 0x80 {
  28556. break
  28557. }
  28558. }
  28559. fieldNum := int32(wire >> 3)
  28560. if fieldNum == 1 {
  28561. var stringLenmapkey uint64
  28562. for shift := uint(0); ; shift += 7 {
  28563. if shift >= 64 {
  28564. return ErrIntOverflowGenerated
  28565. }
  28566. if iNdEx >= l {
  28567. return io.ErrUnexpectedEOF
  28568. }
  28569. b := dAtA[iNdEx]
  28570. iNdEx++
  28571. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  28572. if b < 0x80 {
  28573. break
  28574. }
  28575. }
  28576. intStringLenmapkey := int(stringLenmapkey)
  28577. if intStringLenmapkey < 0 {
  28578. return ErrInvalidLengthGenerated
  28579. }
  28580. postStringIndexmapkey := iNdEx + intStringLenmapkey
  28581. if postStringIndexmapkey > l {
  28582. return io.ErrUnexpectedEOF
  28583. }
  28584. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  28585. iNdEx = postStringIndexmapkey
  28586. } else if fieldNum == 2 {
  28587. var mapmsglen int
  28588. for shift := uint(0); ; shift += 7 {
  28589. if shift >= 64 {
  28590. return ErrIntOverflowGenerated
  28591. }
  28592. if iNdEx >= l {
  28593. return io.ErrUnexpectedEOF
  28594. }
  28595. b := dAtA[iNdEx]
  28596. iNdEx++
  28597. mapmsglen |= (int(b) & 0x7F) << shift
  28598. if b < 0x80 {
  28599. break
  28600. }
  28601. }
  28602. if mapmsglen < 0 {
  28603. return ErrInvalidLengthGenerated
  28604. }
  28605. postmsgIndex := iNdEx + mapmsglen
  28606. if mapmsglen < 0 {
  28607. return ErrInvalidLengthGenerated
  28608. }
  28609. if postmsgIndex > l {
  28610. return io.ErrUnexpectedEOF
  28611. }
  28612. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28613. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  28614. return err
  28615. }
  28616. iNdEx = postmsgIndex
  28617. } else {
  28618. iNdEx = entryPreIndex
  28619. skippy, err := skipGenerated(dAtA[iNdEx:])
  28620. if err != nil {
  28621. return err
  28622. }
  28623. if skippy < 0 {
  28624. return ErrInvalidLengthGenerated
  28625. }
  28626. if (iNdEx + skippy) > postIndex {
  28627. return io.ErrUnexpectedEOF
  28628. }
  28629. iNdEx += skippy
  28630. }
  28631. }
  28632. m.Min[ResourceName(mapkey)] = *mapvalue
  28633. iNdEx = postIndex
  28634. case 4:
  28635. if wireType != 2 {
  28636. return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType)
  28637. }
  28638. var msglen int
  28639. for shift := uint(0); ; shift += 7 {
  28640. if shift >= 64 {
  28641. return ErrIntOverflowGenerated
  28642. }
  28643. if iNdEx >= l {
  28644. return io.ErrUnexpectedEOF
  28645. }
  28646. b := dAtA[iNdEx]
  28647. iNdEx++
  28648. msglen |= (int(b) & 0x7F) << shift
  28649. if b < 0x80 {
  28650. break
  28651. }
  28652. }
  28653. if msglen < 0 {
  28654. return ErrInvalidLengthGenerated
  28655. }
  28656. postIndex := iNdEx + msglen
  28657. if postIndex > l {
  28658. return io.ErrUnexpectedEOF
  28659. }
  28660. if m.Default == nil {
  28661. m.Default = make(ResourceList)
  28662. }
  28663. var mapkey ResourceName
  28664. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28665. for iNdEx < postIndex {
  28666. entryPreIndex := iNdEx
  28667. var wire uint64
  28668. for shift := uint(0); ; shift += 7 {
  28669. if shift >= 64 {
  28670. return ErrIntOverflowGenerated
  28671. }
  28672. if iNdEx >= l {
  28673. return io.ErrUnexpectedEOF
  28674. }
  28675. b := dAtA[iNdEx]
  28676. iNdEx++
  28677. wire |= (uint64(b) & 0x7F) << shift
  28678. if b < 0x80 {
  28679. break
  28680. }
  28681. }
  28682. fieldNum := int32(wire >> 3)
  28683. if fieldNum == 1 {
  28684. var stringLenmapkey uint64
  28685. for shift := uint(0); ; shift += 7 {
  28686. if shift >= 64 {
  28687. return ErrIntOverflowGenerated
  28688. }
  28689. if iNdEx >= l {
  28690. return io.ErrUnexpectedEOF
  28691. }
  28692. b := dAtA[iNdEx]
  28693. iNdEx++
  28694. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  28695. if b < 0x80 {
  28696. break
  28697. }
  28698. }
  28699. intStringLenmapkey := int(stringLenmapkey)
  28700. if intStringLenmapkey < 0 {
  28701. return ErrInvalidLengthGenerated
  28702. }
  28703. postStringIndexmapkey := iNdEx + intStringLenmapkey
  28704. if postStringIndexmapkey > l {
  28705. return io.ErrUnexpectedEOF
  28706. }
  28707. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  28708. iNdEx = postStringIndexmapkey
  28709. } else if fieldNum == 2 {
  28710. var mapmsglen int
  28711. for shift := uint(0); ; shift += 7 {
  28712. if shift >= 64 {
  28713. return ErrIntOverflowGenerated
  28714. }
  28715. if iNdEx >= l {
  28716. return io.ErrUnexpectedEOF
  28717. }
  28718. b := dAtA[iNdEx]
  28719. iNdEx++
  28720. mapmsglen |= (int(b) & 0x7F) << shift
  28721. if b < 0x80 {
  28722. break
  28723. }
  28724. }
  28725. if mapmsglen < 0 {
  28726. return ErrInvalidLengthGenerated
  28727. }
  28728. postmsgIndex := iNdEx + mapmsglen
  28729. if mapmsglen < 0 {
  28730. return ErrInvalidLengthGenerated
  28731. }
  28732. if postmsgIndex > l {
  28733. return io.ErrUnexpectedEOF
  28734. }
  28735. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28736. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  28737. return err
  28738. }
  28739. iNdEx = postmsgIndex
  28740. } else {
  28741. iNdEx = entryPreIndex
  28742. skippy, err := skipGenerated(dAtA[iNdEx:])
  28743. if err != nil {
  28744. return err
  28745. }
  28746. if skippy < 0 {
  28747. return ErrInvalidLengthGenerated
  28748. }
  28749. if (iNdEx + skippy) > postIndex {
  28750. return io.ErrUnexpectedEOF
  28751. }
  28752. iNdEx += skippy
  28753. }
  28754. }
  28755. m.Default[ResourceName(mapkey)] = *mapvalue
  28756. iNdEx = postIndex
  28757. case 5:
  28758. if wireType != 2 {
  28759. return fmt.Errorf("proto: wrong wireType = %d for field DefaultRequest", wireType)
  28760. }
  28761. var msglen int
  28762. for shift := uint(0); ; shift += 7 {
  28763. if shift >= 64 {
  28764. return ErrIntOverflowGenerated
  28765. }
  28766. if iNdEx >= l {
  28767. return io.ErrUnexpectedEOF
  28768. }
  28769. b := dAtA[iNdEx]
  28770. iNdEx++
  28771. msglen |= (int(b) & 0x7F) << shift
  28772. if b < 0x80 {
  28773. break
  28774. }
  28775. }
  28776. if msglen < 0 {
  28777. return ErrInvalidLengthGenerated
  28778. }
  28779. postIndex := iNdEx + msglen
  28780. if postIndex > l {
  28781. return io.ErrUnexpectedEOF
  28782. }
  28783. if m.DefaultRequest == nil {
  28784. m.DefaultRequest = make(ResourceList)
  28785. }
  28786. var mapkey ResourceName
  28787. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28788. for iNdEx < postIndex {
  28789. entryPreIndex := iNdEx
  28790. var wire uint64
  28791. for shift := uint(0); ; shift += 7 {
  28792. if shift >= 64 {
  28793. return ErrIntOverflowGenerated
  28794. }
  28795. if iNdEx >= l {
  28796. return io.ErrUnexpectedEOF
  28797. }
  28798. b := dAtA[iNdEx]
  28799. iNdEx++
  28800. wire |= (uint64(b) & 0x7F) << shift
  28801. if b < 0x80 {
  28802. break
  28803. }
  28804. }
  28805. fieldNum := int32(wire >> 3)
  28806. if fieldNum == 1 {
  28807. var stringLenmapkey uint64
  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. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  28818. if b < 0x80 {
  28819. break
  28820. }
  28821. }
  28822. intStringLenmapkey := int(stringLenmapkey)
  28823. if intStringLenmapkey < 0 {
  28824. return ErrInvalidLengthGenerated
  28825. }
  28826. postStringIndexmapkey := iNdEx + intStringLenmapkey
  28827. if postStringIndexmapkey > l {
  28828. return io.ErrUnexpectedEOF
  28829. }
  28830. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  28831. iNdEx = postStringIndexmapkey
  28832. } else if fieldNum == 2 {
  28833. var mapmsglen int
  28834. for shift := uint(0); ; shift += 7 {
  28835. if shift >= 64 {
  28836. return ErrIntOverflowGenerated
  28837. }
  28838. if iNdEx >= l {
  28839. return io.ErrUnexpectedEOF
  28840. }
  28841. b := dAtA[iNdEx]
  28842. iNdEx++
  28843. mapmsglen |= (int(b) & 0x7F) << shift
  28844. if b < 0x80 {
  28845. break
  28846. }
  28847. }
  28848. if mapmsglen < 0 {
  28849. return ErrInvalidLengthGenerated
  28850. }
  28851. postmsgIndex := iNdEx + mapmsglen
  28852. if mapmsglen < 0 {
  28853. return ErrInvalidLengthGenerated
  28854. }
  28855. if postmsgIndex > l {
  28856. return io.ErrUnexpectedEOF
  28857. }
  28858. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28859. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  28860. return err
  28861. }
  28862. iNdEx = postmsgIndex
  28863. } else {
  28864. iNdEx = entryPreIndex
  28865. skippy, err := skipGenerated(dAtA[iNdEx:])
  28866. if err != nil {
  28867. return err
  28868. }
  28869. if skippy < 0 {
  28870. return ErrInvalidLengthGenerated
  28871. }
  28872. if (iNdEx + skippy) > postIndex {
  28873. return io.ErrUnexpectedEOF
  28874. }
  28875. iNdEx += skippy
  28876. }
  28877. }
  28878. m.DefaultRequest[ResourceName(mapkey)] = *mapvalue
  28879. iNdEx = postIndex
  28880. case 6:
  28881. if wireType != 2 {
  28882. return fmt.Errorf("proto: wrong wireType = %d for field MaxLimitRequestRatio", wireType)
  28883. }
  28884. var msglen int
  28885. for shift := uint(0); ; shift += 7 {
  28886. if shift >= 64 {
  28887. return ErrIntOverflowGenerated
  28888. }
  28889. if iNdEx >= l {
  28890. return io.ErrUnexpectedEOF
  28891. }
  28892. b := dAtA[iNdEx]
  28893. iNdEx++
  28894. msglen |= (int(b) & 0x7F) << shift
  28895. if b < 0x80 {
  28896. break
  28897. }
  28898. }
  28899. if msglen < 0 {
  28900. return ErrInvalidLengthGenerated
  28901. }
  28902. postIndex := iNdEx + msglen
  28903. if postIndex > l {
  28904. return io.ErrUnexpectedEOF
  28905. }
  28906. if m.MaxLimitRequestRatio == nil {
  28907. m.MaxLimitRequestRatio = make(ResourceList)
  28908. }
  28909. var mapkey ResourceName
  28910. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28911. for iNdEx < postIndex {
  28912. entryPreIndex := iNdEx
  28913. var wire uint64
  28914. for shift := uint(0); ; shift += 7 {
  28915. if shift >= 64 {
  28916. return ErrIntOverflowGenerated
  28917. }
  28918. if iNdEx >= l {
  28919. return io.ErrUnexpectedEOF
  28920. }
  28921. b := dAtA[iNdEx]
  28922. iNdEx++
  28923. wire |= (uint64(b) & 0x7F) << shift
  28924. if b < 0x80 {
  28925. break
  28926. }
  28927. }
  28928. fieldNum := int32(wire >> 3)
  28929. if fieldNum == 1 {
  28930. var stringLenmapkey uint64
  28931. for shift := uint(0); ; shift += 7 {
  28932. if shift >= 64 {
  28933. return ErrIntOverflowGenerated
  28934. }
  28935. if iNdEx >= l {
  28936. return io.ErrUnexpectedEOF
  28937. }
  28938. b := dAtA[iNdEx]
  28939. iNdEx++
  28940. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  28941. if b < 0x80 {
  28942. break
  28943. }
  28944. }
  28945. intStringLenmapkey := int(stringLenmapkey)
  28946. if intStringLenmapkey < 0 {
  28947. return ErrInvalidLengthGenerated
  28948. }
  28949. postStringIndexmapkey := iNdEx + intStringLenmapkey
  28950. if postStringIndexmapkey > l {
  28951. return io.ErrUnexpectedEOF
  28952. }
  28953. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  28954. iNdEx = postStringIndexmapkey
  28955. } else if fieldNum == 2 {
  28956. var mapmsglen int
  28957. for shift := uint(0); ; shift += 7 {
  28958. if shift >= 64 {
  28959. return ErrIntOverflowGenerated
  28960. }
  28961. if iNdEx >= l {
  28962. return io.ErrUnexpectedEOF
  28963. }
  28964. b := dAtA[iNdEx]
  28965. iNdEx++
  28966. mapmsglen |= (int(b) & 0x7F) << shift
  28967. if b < 0x80 {
  28968. break
  28969. }
  28970. }
  28971. if mapmsglen < 0 {
  28972. return ErrInvalidLengthGenerated
  28973. }
  28974. postmsgIndex := iNdEx + mapmsglen
  28975. if mapmsglen < 0 {
  28976. return ErrInvalidLengthGenerated
  28977. }
  28978. if postmsgIndex > l {
  28979. return io.ErrUnexpectedEOF
  28980. }
  28981. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  28982. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  28983. return err
  28984. }
  28985. iNdEx = postmsgIndex
  28986. } else {
  28987. iNdEx = entryPreIndex
  28988. skippy, err := skipGenerated(dAtA[iNdEx:])
  28989. if err != nil {
  28990. return err
  28991. }
  28992. if skippy < 0 {
  28993. return ErrInvalidLengthGenerated
  28994. }
  28995. if (iNdEx + skippy) > postIndex {
  28996. return io.ErrUnexpectedEOF
  28997. }
  28998. iNdEx += skippy
  28999. }
  29000. }
  29001. m.MaxLimitRequestRatio[ResourceName(mapkey)] = *mapvalue
  29002. iNdEx = postIndex
  29003. default:
  29004. iNdEx = preIndex
  29005. skippy, err := skipGenerated(dAtA[iNdEx:])
  29006. if err != nil {
  29007. return err
  29008. }
  29009. if skippy < 0 {
  29010. return ErrInvalidLengthGenerated
  29011. }
  29012. if (iNdEx + skippy) > l {
  29013. return io.ErrUnexpectedEOF
  29014. }
  29015. iNdEx += skippy
  29016. }
  29017. }
  29018. if iNdEx > l {
  29019. return io.ErrUnexpectedEOF
  29020. }
  29021. return nil
  29022. }
  29023. func (m *LimitRangeList) Unmarshal(dAtA []byte) error {
  29024. l := len(dAtA)
  29025. iNdEx := 0
  29026. for iNdEx < l {
  29027. preIndex := iNdEx
  29028. var wire uint64
  29029. for shift := uint(0); ; shift += 7 {
  29030. if shift >= 64 {
  29031. return ErrIntOverflowGenerated
  29032. }
  29033. if iNdEx >= l {
  29034. return io.ErrUnexpectedEOF
  29035. }
  29036. b := dAtA[iNdEx]
  29037. iNdEx++
  29038. wire |= (uint64(b) & 0x7F) << shift
  29039. if b < 0x80 {
  29040. break
  29041. }
  29042. }
  29043. fieldNum := int32(wire >> 3)
  29044. wireType := int(wire & 0x7)
  29045. if wireType == 4 {
  29046. return fmt.Errorf("proto: LimitRangeList: wiretype end group for non-group")
  29047. }
  29048. if fieldNum <= 0 {
  29049. return fmt.Errorf("proto: LimitRangeList: illegal tag %d (wire type %d)", fieldNum, wire)
  29050. }
  29051. switch fieldNum {
  29052. case 1:
  29053. if wireType != 2 {
  29054. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  29055. }
  29056. var msglen int
  29057. for shift := uint(0); ; shift += 7 {
  29058. if shift >= 64 {
  29059. return ErrIntOverflowGenerated
  29060. }
  29061. if iNdEx >= l {
  29062. return io.ErrUnexpectedEOF
  29063. }
  29064. b := dAtA[iNdEx]
  29065. iNdEx++
  29066. msglen |= (int(b) & 0x7F) << shift
  29067. if b < 0x80 {
  29068. break
  29069. }
  29070. }
  29071. if msglen < 0 {
  29072. return ErrInvalidLengthGenerated
  29073. }
  29074. postIndex := iNdEx + msglen
  29075. if postIndex > l {
  29076. return io.ErrUnexpectedEOF
  29077. }
  29078. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29079. return err
  29080. }
  29081. iNdEx = postIndex
  29082. case 2:
  29083. if wireType != 2 {
  29084. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  29085. }
  29086. var msglen int
  29087. for shift := uint(0); ; shift += 7 {
  29088. if shift >= 64 {
  29089. return ErrIntOverflowGenerated
  29090. }
  29091. if iNdEx >= l {
  29092. return io.ErrUnexpectedEOF
  29093. }
  29094. b := dAtA[iNdEx]
  29095. iNdEx++
  29096. msglen |= (int(b) & 0x7F) << shift
  29097. if b < 0x80 {
  29098. break
  29099. }
  29100. }
  29101. if msglen < 0 {
  29102. return ErrInvalidLengthGenerated
  29103. }
  29104. postIndex := iNdEx + msglen
  29105. if postIndex > l {
  29106. return io.ErrUnexpectedEOF
  29107. }
  29108. m.Items = append(m.Items, LimitRange{})
  29109. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29110. return err
  29111. }
  29112. iNdEx = postIndex
  29113. default:
  29114. iNdEx = preIndex
  29115. skippy, err := skipGenerated(dAtA[iNdEx:])
  29116. if err != nil {
  29117. return err
  29118. }
  29119. if skippy < 0 {
  29120. return ErrInvalidLengthGenerated
  29121. }
  29122. if (iNdEx + skippy) > l {
  29123. return io.ErrUnexpectedEOF
  29124. }
  29125. iNdEx += skippy
  29126. }
  29127. }
  29128. if iNdEx > l {
  29129. return io.ErrUnexpectedEOF
  29130. }
  29131. return nil
  29132. }
  29133. func (m *LimitRangeSpec) Unmarshal(dAtA []byte) error {
  29134. l := len(dAtA)
  29135. iNdEx := 0
  29136. for iNdEx < l {
  29137. preIndex := iNdEx
  29138. var wire uint64
  29139. for shift := uint(0); ; shift += 7 {
  29140. if shift >= 64 {
  29141. return ErrIntOverflowGenerated
  29142. }
  29143. if iNdEx >= l {
  29144. return io.ErrUnexpectedEOF
  29145. }
  29146. b := dAtA[iNdEx]
  29147. iNdEx++
  29148. wire |= (uint64(b) & 0x7F) << shift
  29149. if b < 0x80 {
  29150. break
  29151. }
  29152. }
  29153. fieldNum := int32(wire >> 3)
  29154. wireType := int(wire & 0x7)
  29155. if wireType == 4 {
  29156. return fmt.Errorf("proto: LimitRangeSpec: wiretype end group for non-group")
  29157. }
  29158. if fieldNum <= 0 {
  29159. return fmt.Errorf("proto: LimitRangeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  29160. }
  29161. switch fieldNum {
  29162. case 1:
  29163. if wireType != 2 {
  29164. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  29165. }
  29166. var msglen int
  29167. for shift := uint(0); ; shift += 7 {
  29168. if shift >= 64 {
  29169. return ErrIntOverflowGenerated
  29170. }
  29171. if iNdEx >= l {
  29172. return io.ErrUnexpectedEOF
  29173. }
  29174. b := dAtA[iNdEx]
  29175. iNdEx++
  29176. msglen |= (int(b) & 0x7F) << shift
  29177. if b < 0x80 {
  29178. break
  29179. }
  29180. }
  29181. if msglen < 0 {
  29182. return ErrInvalidLengthGenerated
  29183. }
  29184. postIndex := iNdEx + msglen
  29185. if postIndex > l {
  29186. return io.ErrUnexpectedEOF
  29187. }
  29188. m.Limits = append(m.Limits, LimitRangeItem{})
  29189. if err := m.Limits[len(m.Limits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29190. return err
  29191. }
  29192. iNdEx = postIndex
  29193. default:
  29194. iNdEx = preIndex
  29195. skippy, err := skipGenerated(dAtA[iNdEx:])
  29196. if err != nil {
  29197. return err
  29198. }
  29199. if skippy < 0 {
  29200. return ErrInvalidLengthGenerated
  29201. }
  29202. if (iNdEx + skippy) > l {
  29203. return io.ErrUnexpectedEOF
  29204. }
  29205. iNdEx += skippy
  29206. }
  29207. }
  29208. if iNdEx > l {
  29209. return io.ErrUnexpectedEOF
  29210. }
  29211. return nil
  29212. }
  29213. func (m *List) Unmarshal(dAtA []byte) error {
  29214. l := len(dAtA)
  29215. iNdEx := 0
  29216. for iNdEx < l {
  29217. preIndex := iNdEx
  29218. var wire uint64
  29219. for shift := uint(0); ; shift += 7 {
  29220. if shift >= 64 {
  29221. return ErrIntOverflowGenerated
  29222. }
  29223. if iNdEx >= l {
  29224. return io.ErrUnexpectedEOF
  29225. }
  29226. b := dAtA[iNdEx]
  29227. iNdEx++
  29228. wire |= (uint64(b) & 0x7F) << shift
  29229. if b < 0x80 {
  29230. break
  29231. }
  29232. }
  29233. fieldNum := int32(wire >> 3)
  29234. wireType := int(wire & 0x7)
  29235. if wireType == 4 {
  29236. return fmt.Errorf("proto: List: wiretype end group for non-group")
  29237. }
  29238. if fieldNum <= 0 {
  29239. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  29240. }
  29241. switch fieldNum {
  29242. case 1:
  29243. if wireType != 2 {
  29244. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  29245. }
  29246. var msglen int
  29247. for shift := uint(0); ; shift += 7 {
  29248. if shift >= 64 {
  29249. return ErrIntOverflowGenerated
  29250. }
  29251. if iNdEx >= l {
  29252. return io.ErrUnexpectedEOF
  29253. }
  29254. b := dAtA[iNdEx]
  29255. iNdEx++
  29256. msglen |= (int(b) & 0x7F) << shift
  29257. if b < 0x80 {
  29258. break
  29259. }
  29260. }
  29261. if msglen < 0 {
  29262. return ErrInvalidLengthGenerated
  29263. }
  29264. postIndex := iNdEx + msglen
  29265. if postIndex > l {
  29266. return io.ErrUnexpectedEOF
  29267. }
  29268. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29269. return err
  29270. }
  29271. iNdEx = postIndex
  29272. case 2:
  29273. if wireType != 2 {
  29274. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  29275. }
  29276. var msglen int
  29277. for shift := uint(0); ; shift += 7 {
  29278. if shift >= 64 {
  29279. return ErrIntOverflowGenerated
  29280. }
  29281. if iNdEx >= l {
  29282. return io.ErrUnexpectedEOF
  29283. }
  29284. b := dAtA[iNdEx]
  29285. iNdEx++
  29286. msglen |= (int(b) & 0x7F) << shift
  29287. if b < 0x80 {
  29288. break
  29289. }
  29290. }
  29291. if msglen < 0 {
  29292. return ErrInvalidLengthGenerated
  29293. }
  29294. postIndex := iNdEx + msglen
  29295. if postIndex > l {
  29296. return io.ErrUnexpectedEOF
  29297. }
  29298. m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{})
  29299. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29300. return err
  29301. }
  29302. iNdEx = postIndex
  29303. default:
  29304. iNdEx = preIndex
  29305. skippy, err := skipGenerated(dAtA[iNdEx:])
  29306. if err != nil {
  29307. return err
  29308. }
  29309. if skippy < 0 {
  29310. return ErrInvalidLengthGenerated
  29311. }
  29312. if (iNdEx + skippy) > l {
  29313. return io.ErrUnexpectedEOF
  29314. }
  29315. iNdEx += skippy
  29316. }
  29317. }
  29318. if iNdEx > l {
  29319. return io.ErrUnexpectedEOF
  29320. }
  29321. return nil
  29322. }
  29323. func (m *LoadBalancerIngress) Unmarshal(dAtA []byte) error {
  29324. l := len(dAtA)
  29325. iNdEx := 0
  29326. for iNdEx < l {
  29327. preIndex := iNdEx
  29328. var wire uint64
  29329. for shift := uint(0); ; shift += 7 {
  29330. if shift >= 64 {
  29331. return ErrIntOverflowGenerated
  29332. }
  29333. if iNdEx >= l {
  29334. return io.ErrUnexpectedEOF
  29335. }
  29336. b := dAtA[iNdEx]
  29337. iNdEx++
  29338. wire |= (uint64(b) & 0x7F) << shift
  29339. if b < 0x80 {
  29340. break
  29341. }
  29342. }
  29343. fieldNum := int32(wire >> 3)
  29344. wireType := int(wire & 0x7)
  29345. if wireType == 4 {
  29346. return fmt.Errorf("proto: LoadBalancerIngress: wiretype end group for non-group")
  29347. }
  29348. if fieldNum <= 0 {
  29349. return fmt.Errorf("proto: LoadBalancerIngress: illegal tag %d (wire type %d)", fieldNum, wire)
  29350. }
  29351. switch fieldNum {
  29352. case 1:
  29353. if wireType != 2 {
  29354. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  29355. }
  29356. var stringLen uint64
  29357. for shift := uint(0); ; shift += 7 {
  29358. if shift >= 64 {
  29359. return ErrIntOverflowGenerated
  29360. }
  29361. if iNdEx >= l {
  29362. return io.ErrUnexpectedEOF
  29363. }
  29364. b := dAtA[iNdEx]
  29365. iNdEx++
  29366. stringLen |= (uint64(b) & 0x7F) << shift
  29367. if b < 0x80 {
  29368. break
  29369. }
  29370. }
  29371. intStringLen := int(stringLen)
  29372. if intStringLen < 0 {
  29373. return ErrInvalidLengthGenerated
  29374. }
  29375. postIndex := iNdEx + intStringLen
  29376. if postIndex > l {
  29377. return io.ErrUnexpectedEOF
  29378. }
  29379. m.IP = string(dAtA[iNdEx:postIndex])
  29380. iNdEx = postIndex
  29381. case 2:
  29382. if wireType != 2 {
  29383. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  29384. }
  29385. var stringLen uint64
  29386. for shift := uint(0); ; shift += 7 {
  29387. if shift >= 64 {
  29388. return ErrIntOverflowGenerated
  29389. }
  29390. if iNdEx >= l {
  29391. return io.ErrUnexpectedEOF
  29392. }
  29393. b := dAtA[iNdEx]
  29394. iNdEx++
  29395. stringLen |= (uint64(b) & 0x7F) << shift
  29396. if b < 0x80 {
  29397. break
  29398. }
  29399. }
  29400. intStringLen := int(stringLen)
  29401. if intStringLen < 0 {
  29402. return ErrInvalidLengthGenerated
  29403. }
  29404. postIndex := iNdEx + intStringLen
  29405. if postIndex > l {
  29406. return io.ErrUnexpectedEOF
  29407. }
  29408. m.Hostname = string(dAtA[iNdEx:postIndex])
  29409. iNdEx = postIndex
  29410. default:
  29411. iNdEx = preIndex
  29412. skippy, err := skipGenerated(dAtA[iNdEx:])
  29413. if err != nil {
  29414. return err
  29415. }
  29416. if skippy < 0 {
  29417. return ErrInvalidLengthGenerated
  29418. }
  29419. if (iNdEx + skippy) > l {
  29420. return io.ErrUnexpectedEOF
  29421. }
  29422. iNdEx += skippy
  29423. }
  29424. }
  29425. if iNdEx > l {
  29426. return io.ErrUnexpectedEOF
  29427. }
  29428. return nil
  29429. }
  29430. func (m *LoadBalancerStatus) Unmarshal(dAtA []byte) error {
  29431. l := len(dAtA)
  29432. iNdEx := 0
  29433. for iNdEx < l {
  29434. preIndex := iNdEx
  29435. var wire uint64
  29436. for shift := uint(0); ; shift += 7 {
  29437. if shift >= 64 {
  29438. return ErrIntOverflowGenerated
  29439. }
  29440. if iNdEx >= l {
  29441. return io.ErrUnexpectedEOF
  29442. }
  29443. b := dAtA[iNdEx]
  29444. iNdEx++
  29445. wire |= (uint64(b) & 0x7F) << shift
  29446. if b < 0x80 {
  29447. break
  29448. }
  29449. }
  29450. fieldNum := int32(wire >> 3)
  29451. wireType := int(wire & 0x7)
  29452. if wireType == 4 {
  29453. return fmt.Errorf("proto: LoadBalancerStatus: wiretype end group for non-group")
  29454. }
  29455. if fieldNum <= 0 {
  29456. return fmt.Errorf("proto: LoadBalancerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  29457. }
  29458. switch fieldNum {
  29459. case 1:
  29460. if wireType != 2 {
  29461. return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
  29462. }
  29463. var msglen int
  29464. for shift := uint(0); ; shift += 7 {
  29465. if shift >= 64 {
  29466. return ErrIntOverflowGenerated
  29467. }
  29468. if iNdEx >= l {
  29469. return io.ErrUnexpectedEOF
  29470. }
  29471. b := dAtA[iNdEx]
  29472. iNdEx++
  29473. msglen |= (int(b) & 0x7F) << shift
  29474. if b < 0x80 {
  29475. break
  29476. }
  29477. }
  29478. if msglen < 0 {
  29479. return ErrInvalidLengthGenerated
  29480. }
  29481. postIndex := iNdEx + msglen
  29482. if postIndex > l {
  29483. return io.ErrUnexpectedEOF
  29484. }
  29485. m.Ingress = append(m.Ingress, LoadBalancerIngress{})
  29486. if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29487. return err
  29488. }
  29489. iNdEx = postIndex
  29490. default:
  29491. iNdEx = preIndex
  29492. skippy, err := skipGenerated(dAtA[iNdEx:])
  29493. if err != nil {
  29494. return err
  29495. }
  29496. if skippy < 0 {
  29497. return ErrInvalidLengthGenerated
  29498. }
  29499. if (iNdEx + skippy) > l {
  29500. return io.ErrUnexpectedEOF
  29501. }
  29502. iNdEx += skippy
  29503. }
  29504. }
  29505. if iNdEx > l {
  29506. return io.ErrUnexpectedEOF
  29507. }
  29508. return nil
  29509. }
  29510. func (m *LocalObjectReference) Unmarshal(dAtA []byte) error {
  29511. l := len(dAtA)
  29512. iNdEx := 0
  29513. for iNdEx < l {
  29514. preIndex := iNdEx
  29515. var wire uint64
  29516. for shift := uint(0); ; shift += 7 {
  29517. if shift >= 64 {
  29518. return ErrIntOverflowGenerated
  29519. }
  29520. if iNdEx >= l {
  29521. return io.ErrUnexpectedEOF
  29522. }
  29523. b := dAtA[iNdEx]
  29524. iNdEx++
  29525. wire |= (uint64(b) & 0x7F) << shift
  29526. if b < 0x80 {
  29527. break
  29528. }
  29529. }
  29530. fieldNum := int32(wire >> 3)
  29531. wireType := int(wire & 0x7)
  29532. if wireType == 4 {
  29533. return fmt.Errorf("proto: LocalObjectReference: wiretype end group for non-group")
  29534. }
  29535. if fieldNum <= 0 {
  29536. return fmt.Errorf("proto: LocalObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  29537. }
  29538. switch fieldNum {
  29539. case 1:
  29540. if wireType != 2 {
  29541. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  29542. }
  29543. var stringLen uint64
  29544. for shift := uint(0); ; shift += 7 {
  29545. if shift >= 64 {
  29546. return ErrIntOverflowGenerated
  29547. }
  29548. if iNdEx >= l {
  29549. return io.ErrUnexpectedEOF
  29550. }
  29551. b := dAtA[iNdEx]
  29552. iNdEx++
  29553. stringLen |= (uint64(b) & 0x7F) << shift
  29554. if b < 0x80 {
  29555. break
  29556. }
  29557. }
  29558. intStringLen := int(stringLen)
  29559. if intStringLen < 0 {
  29560. return ErrInvalidLengthGenerated
  29561. }
  29562. postIndex := iNdEx + intStringLen
  29563. if postIndex > l {
  29564. return io.ErrUnexpectedEOF
  29565. }
  29566. m.Name = string(dAtA[iNdEx:postIndex])
  29567. iNdEx = postIndex
  29568. default:
  29569. iNdEx = preIndex
  29570. skippy, err := skipGenerated(dAtA[iNdEx:])
  29571. if err != nil {
  29572. return err
  29573. }
  29574. if skippy < 0 {
  29575. return ErrInvalidLengthGenerated
  29576. }
  29577. if (iNdEx + skippy) > l {
  29578. return io.ErrUnexpectedEOF
  29579. }
  29580. iNdEx += skippy
  29581. }
  29582. }
  29583. if iNdEx > l {
  29584. return io.ErrUnexpectedEOF
  29585. }
  29586. return nil
  29587. }
  29588. func (m *LocalVolumeSource) Unmarshal(dAtA []byte) error {
  29589. l := len(dAtA)
  29590. iNdEx := 0
  29591. for iNdEx < l {
  29592. preIndex := iNdEx
  29593. var wire uint64
  29594. for shift := uint(0); ; shift += 7 {
  29595. if shift >= 64 {
  29596. return ErrIntOverflowGenerated
  29597. }
  29598. if iNdEx >= l {
  29599. return io.ErrUnexpectedEOF
  29600. }
  29601. b := dAtA[iNdEx]
  29602. iNdEx++
  29603. wire |= (uint64(b) & 0x7F) << shift
  29604. if b < 0x80 {
  29605. break
  29606. }
  29607. }
  29608. fieldNum := int32(wire >> 3)
  29609. wireType := int(wire & 0x7)
  29610. if wireType == 4 {
  29611. return fmt.Errorf("proto: LocalVolumeSource: wiretype end group for non-group")
  29612. }
  29613. if fieldNum <= 0 {
  29614. return fmt.Errorf("proto: LocalVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  29615. }
  29616. switch fieldNum {
  29617. case 1:
  29618. if wireType != 2 {
  29619. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  29620. }
  29621. var stringLen uint64
  29622. for shift := uint(0); ; shift += 7 {
  29623. if shift >= 64 {
  29624. return ErrIntOverflowGenerated
  29625. }
  29626. if iNdEx >= l {
  29627. return io.ErrUnexpectedEOF
  29628. }
  29629. b := dAtA[iNdEx]
  29630. iNdEx++
  29631. stringLen |= (uint64(b) & 0x7F) << shift
  29632. if b < 0x80 {
  29633. break
  29634. }
  29635. }
  29636. intStringLen := int(stringLen)
  29637. if intStringLen < 0 {
  29638. return ErrInvalidLengthGenerated
  29639. }
  29640. postIndex := iNdEx + intStringLen
  29641. if postIndex > l {
  29642. return io.ErrUnexpectedEOF
  29643. }
  29644. m.Path = string(dAtA[iNdEx:postIndex])
  29645. iNdEx = postIndex
  29646. case 2:
  29647. if wireType != 2 {
  29648. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  29649. }
  29650. var stringLen uint64
  29651. for shift := uint(0); ; shift += 7 {
  29652. if shift >= 64 {
  29653. return ErrIntOverflowGenerated
  29654. }
  29655. if iNdEx >= l {
  29656. return io.ErrUnexpectedEOF
  29657. }
  29658. b := dAtA[iNdEx]
  29659. iNdEx++
  29660. stringLen |= (uint64(b) & 0x7F) << shift
  29661. if b < 0x80 {
  29662. break
  29663. }
  29664. }
  29665. intStringLen := int(stringLen)
  29666. if intStringLen < 0 {
  29667. return ErrInvalidLengthGenerated
  29668. }
  29669. postIndex := iNdEx + intStringLen
  29670. if postIndex > l {
  29671. return io.ErrUnexpectedEOF
  29672. }
  29673. s := string(dAtA[iNdEx:postIndex])
  29674. m.FSType = &s
  29675. iNdEx = postIndex
  29676. default:
  29677. iNdEx = preIndex
  29678. skippy, err := skipGenerated(dAtA[iNdEx:])
  29679. if err != nil {
  29680. return err
  29681. }
  29682. if skippy < 0 {
  29683. return ErrInvalidLengthGenerated
  29684. }
  29685. if (iNdEx + skippy) > l {
  29686. return io.ErrUnexpectedEOF
  29687. }
  29688. iNdEx += skippy
  29689. }
  29690. }
  29691. if iNdEx > l {
  29692. return io.ErrUnexpectedEOF
  29693. }
  29694. return nil
  29695. }
  29696. func (m *NFSVolumeSource) Unmarshal(dAtA []byte) error {
  29697. l := len(dAtA)
  29698. iNdEx := 0
  29699. for iNdEx < l {
  29700. preIndex := iNdEx
  29701. var wire uint64
  29702. for shift := uint(0); ; shift += 7 {
  29703. if shift >= 64 {
  29704. return ErrIntOverflowGenerated
  29705. }
  29706. if iNdEx >= l {
  29707. return io.ErrUnexpectedEOF
  29708. }
  29709. b := dAtA[iNdEx]
  29710. iNdEx++
  29711. wire |= (uint64(b) & 0x7F) << shift
  29712. if b < 0x80 {
  29713. break
  29714. }
  29715. }
  29716. fieldNum := int32(wire >> 3)
  29717. wireType := int(wire & 0x7)
  29718. if wireType == 4 {
  29719. return fmt.Errorf("proto: NFSVolumeSource: wiretype end group for non-group")
  29720. }
  29721. if fieldNum <= 0 {
  29722. return fmt.Errorf("proto: NFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  29723. }
  29724. switch fieldNum {
  29725. case 1:
  29726. if wireType != 2 {
  29727. return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
  29728. }
  29729. var stringLen uint64
  29730. for shift := uint(0); ; shift += 7 {
  29731. if shift >= 64 {
  29732. return ErrIntOverflowGenerated
  29733. }
  29734. if iNdEx >= l {
  29735. return io.ErrUnexpectedEOF
  29736. }
  29737. b := dAtA[iNdEx]
  29738. iNdEx++
  29739. stringLen |= (uint64(b) & 0x7F) << shift
  29740. if b < 0x80 {
  29741. break
  29742. }
  29743. }
  29744. intStringLen := int(stringLen)
  29745. if intStringLen < 0 {
  29746. return ErrInvalidLengthGenerated
  29747. }
  29748. postIndex := iNdEx + intStringLen
  29749. if postIndex > l {
  29750. return io.ErrUnexpectedEOF
  29751. }
  29752. m.Server = string(dAtA[iNdEx:postIndex])
  29753. iNdEx = postIndex
  29754. case 2:
  29755. if wireType != 2 {
  29756. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  29757. }
  29758. var stringLen uint64
  29759. for shift := uint(0); ; shift += 7 {
  29760. if shift >= 64 {
  29761. return ErrIntOverflowGenerated
  29762. }
  29763. if iNdEx >= l {
  29764. return io.ErrUnexpectedEOF
  29765. }
  29766. b := dAtA[iNdEx]
  29767. iNdEx++
  29768. stringLen |= (uint64(b) & 0x7F) << shift
  29769. if b < 0x80 {
  29770. break
  29771. }
  29772. }
  29773. intStringLen := int(stringLen)
  29774. if intStringLen < 0 {
  29775. return ErrInvalidLengthGenerated
  29776. }
  29777. postIndex := iNdEx + intStringLen
  29778. if postIndex > l {
  29779. return io.ErrUnexpectedEOF
  29780. }
  29781. m.Path = string(dAtA[iNdEx:postIndex])
  29782. iNdEx = postIndex
  29783. case 3:
  29784. if wireType != 0 {
  29785. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  29786. }
  29787. var v int
  29788. for shift := uint(0); ; shift += 7 {
  29789. if shift >= 64 {
  29790. return ErrIntOverflowGenerated
  29791. }
  29792. if iNdEx >= l {
  29793. return io.ErrUnexpectedEOF
  29794. }
  29795. b := dAtA[iNdEx]
  29796. iNdEx++
  29797. v |= (int(b) & 0x7F) << shift
  29798. if b < 0x80 {
  29799. break
  29800. }
  29801. }
  29802. m.ReadOnly = bool(v != 0)
  29803. default:
  29804. iNdEx = preIndex
  29805. skippy, err := skipGenerated(dAtA[iNdEx:])
  29806. if err != nil {
  29807. return err
  29808. }
  29809. if skippy < 0 {
  29810. return ErrInvalidLengthGenerated
  29811. }
  29812. if (iNdEx + skippy) > l {
  29813. return io.ErrUnexpectedEOF
  29814. }
  29815. iNdEx += skippy
  29816. }
  29817. }
  29818. if iNdEx > l {
  29819. return io.ErrUnexpectedEOF
  29820. }
  29821. return nil
  29822. }
  29823. func (m *Namespace) Unmarshal(dAtA []byte) error {
  29824. l := len(dAtA)
  29825. iNdEx := 0
  29826. for iNdEx < l {
  29827. preIndex := iNdEx
  29828. var wire uint64
  29829. for shift := uint(0); ; shift += 7 {
  29830. if shift >= 64 {
  29831. return ErrIntOverflowGenerated
  29832. }
  29833. if iNdEx >= l {
  29834. return io.ErrUnexpectedEOF
  29835. }
  29836. b := dAtA[iNdEx]
  29837. iNdEx++
  29838. wire |= (uint64(b) & 0x7F) << shift
  29839. if b < 0x80 {
  29840. break
  29841. }
  29842. }
  29843. fieldNum := int32(wire >> 3)
  29844. wireType := int(wire & 0x7)
  29845. if wireType == 4 {
  29846. return fmt.Errorf("proto: Namespace: wiretype end group for non-group")
  29847. }
  29848. if fieldNum <= 0 {
  29849. return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire)
  29850. }
  29851. switch fieldNum {
  29852. case 1:
  29853. if wireType != 2 {
  29854. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  29855. }
  29856. var msglen int
  29857. for shift := uint(0); ; shift += 7 {
  29858. if shift >= 64 {
  29859. return ErrIntOverflowGenerated
  29860. }
  29861. if iNdEx >= l {
  29862. return io.ErrUnexpectedEOF
  29863. }
  29864. b := dAtA[iNdEx]
  29865. iNdEx++
  29866. msglen |= (int(b) & 0x7F) << shift
  29867. if b < 0x80 {
  29868. break
  29869. }
  29870. }
  29871. if msglen < 0 {
  29872. return ErrInvalidLengthGenerated
  29873. }
  29874. postIndex := iNdEx + msglen
  29875. if postIndex > l {
  29876. return io.ErrUnexpectedEOF
  29877. }
  29878. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29879. return err
  29880. }
  29881. iNdEx = postIndex
  29882. case 2:
  29883. if wireType != 2 {
  29884. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  29885. }
  29886. var msglen int
  29887. for shift := uint(0); ; shift += 7 {
  29888. if shift >= 64 {
  29889. return ErrIntOverflowGenerated
  29890. }
  29891. if iNdEx >= l {
  29892. return io.ErrUnexpectedEOF
  29893. }
  29894. b := dAtA[iNdEx]
  29895. iNdEx++
  29896. msglen |= (int(b) & 0x7F) << shift
  29897. if b < 0x80 {
  29898. break
  29899. }
  29900. }
  29901. if msglen < 0 {
  29902. return ErrInvalidLengthGenerated
  29903. }
  29904. postIndex := iNdEx + msglen
  29905. if postIndex > l {
  29906. return io.ErrUnexpectedEOF
  29907. }
  29908. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29909. return err
  29910. }
  29911. iNdEx = postIndex
  29912. case 3:
  29913. if wireType != 2 {
  29914. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  29915. }
  29916. var msglen int
  29917. for shift := uint(0); ; shift += 7 {
  29918. if shift >= 64 {
  29919. return ErrIntOverflowGenerated
  29920. }
  29921. if iNdEx >= l {
  29922. return io.ErrUnexpectedEOF
  29923. }
  29924. b := dAtA[iNdEx]
  29925. iNdEx++
  29926. msglen |= (int(b) & 0x7F) << shift
  29927. if b < 0x80 {
  29928. break
  29929. }
  29930. }
  29931. if msglen < 0 {
  29932. return ErrInvalidLengthGenerated
  29933. }
  29934. postIndex := iNdEx + msglen
  29935. if postIndex > l {
  29936. return io.ErrUnexpectedEOF
  29937. }
  29938. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29939. return err
  29940. }
  29941. iNdEx = postIndex
  29942. default:
  29943. iNdEx = preIndex
  29944. skippy, err := skipGenerated(dAtA[iNdEx:])
  29945. if err != nil {
  29946. return err
  29947. }
  29948. if skippy < 0 {
  29949. return ErrInvalidLengthGenerated
  29950. }
  29951. if (iNdEx + skippy) > l {
  29952. return io.ErrUnexpectedEOF
  29953. }
  29954. iNdEx += skippy
  29955. }
  29956. }
  29957. if iNdEx > l {
  29958. return io.ErrUnexpectedEOF
  29959. }
  29960. return nil
  29961. }
  29962. func (m *NamespaceList) Unmarshal(dAtA []byte) error {
  29963. l := len(dAtA)
  29964. iNdEx := 0
  29965. for iNdEx < l {
  29966. preIndex := iNdEx
  29967. var wire uint64
  29968. for shift := uint(0); ; shift += 7 {
  29969. if shift >= 64 {
  29970. return ErrIntOverflowGenerated
  29971. }
  29972. if iNdEx >= l {
  29973. return io.ErrUnexpectedEOF
  29974. }
  29975. b := dAtA[iNdEx]
  29976. iNdEx++
  29977. wire |= (uint64(b) & 0x7F) << shift
  29978. if b < 0x80 {
  29979. break
  29980. }
  29981. }
  29982. fieldNum := int32(wire >> 3)
  29983. wireType := int(wire & 0x7)
  29984. if wireType == 4 {
  29985. return fmt.Errorf("proto: NamespaceList: wiretype end group for non-group")
  29986. }
  29987. if fieldNum <= 0 {
  29988. return fmt.Errorf("proto: NamespaceList: illegal tag %d (wire type %d)", fieldNum, wire)
  29989. }
  29990. switch fieldNum {
  29991. case 1:
  29992. if wireType != 2 {
  29993. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  29994. }
  29995. var msglen int
  29996. for shift := uint(0); ; shift += 7 {
  29997. if shift >= 64 {
  29998. return ErrIntOverflowGenerated
  29999. }
  30000. if iNdEx >= l {
  30001. return io.ErrUnexpectedEOF
  30002. }
  30003. b := dAtA[iNdEx]
  30004. iNdEx++
  30005. msglen |= (int(b) & 0x7F) << shift
  30006. if b < 0x80 {
  30007. break
  30008. }
  30009. }
  30010. if msglen < 0 {
  30011. return ErrInvalidLengthGenerated
  30012. }
  30013. postIndex := iNdEx + msglen
  30014. if postIndex > l {
  30015. return io.ErrUnexpectedEOF
  30016. }
  30017. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30018. return err
  30019. }
  30020. iNdEx = postIndex
  30021. case 2:
  30022. if wireType != 2 {
  30023. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  30024. }
  30025. var msglen int
  30026. for shift := uint(0); ; shift += 7 {
  30027. if shift >= 64 {
  30028. return ErrIntOverflowGenerated
  30029. }
  30030. if iNdEx >= l {
  30031. return io.ErrUnexpectedEOF
  30032. }
  30033. b := dAtA[iNdEx]
  30034. iNdEx++
  30035. msglen |= (int(b) & 0x7F) << shift
  30036. if b < 0x80 {
  30037. break
  30038. }
  30039. }
  30040. if msglen < 0 {
  30041. return ErrInvalidLengthGenerated
  30042. }
  30043. postIndex := iNdEx + msglen
  30044. if postIndex > l {
  30045. return io.ErrUnexpectedEOF
  30046. }
  30047. m.Items = append(m.Items, Namespace{})
  30048. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30049. return err
  30050. }
  30051. iNdEx = postIndex
  30052. default:
  30053. iNdEx = preIndex
  30054. skippy, err := skipGenerated(dAtA[iNdEx:])
  30055. if err != nil {
  30056. return err
  30057. }
  30058. if skippy < 0 {
  30059. return ErrInvalidLengthGenerated
  30060. }
  30061. if (iNdEx + skippy) > l {
  30062. return io.ErrUnexpectedEOF
  30063. }
  30064. iNdEx += skippy
  30065. }
  30066. }
  30067. if iNdEx > l {
  30068. return io.ErrUnexpectedEOF
  30069. }
  30070. return nil
  30071. }
  30072. func (m *NamespaceSpec) Unmarshal(dAtA []byte) error {
  30073. l := len(dAtA)
  30074. iNdEx := 0
  30075. for iNdEx < l {
  30076. preIndex := iNdEx
  30077. var wire uint64
  30078. for shift := uint(0); ; shift += 7 {
  30079. if shift >= 64 {
  30080. return ErrIntOverflowGenerated
  30081. }
  30082. if iNdEx >= l {
  30083. return io.ErrUnexpectedEOF
  30084. }
  30085. b := dAtA[iNdEx]
  30086. iNdEx++
  30087. wire |= (uint64(b) & 0x7F) << shift
  30088. if b < 0x80 {
  30089. break
  30090. }
  30091. }
  30092. fieldNum := int32(wire >> 3)
  30093. wireType := int(wire & 0x7)
  30094. if wireType == 4 {
  30095. return fmt.Errorf("proto: NamespaceSpec: wiretype end group for non-group")
  30096. }
  30097. if fieldNum <= 0 {
  30098. return fmt.Errorf("proto: NamespaceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  30099. }
  30100. switch fieldNum {
  30101. case 1:
  30102. if wireType != 2 {
  30103. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  30104. }
  30105. var stringLen uint64
  30106. for shift := uint(0); ; shift += 7 {
  30107. if shift >= 64 {
  30108. return ErrIntOverflowGenerated
  30109. }
  30110. if iNdEx >= l {
  30111. return io.ErrUnexpectedEOF
  30112. }
  30113. b := dAtA[iNdEx]
  30114. iNdEx++
  30115. stringLen |= (uint64(b) & 0x7F) << shift
  30116. if b < 0x80 {
  30117. break
  30118. }
  30119. }
  30120. intStringLen := int(stringLen)
  30121. if intStringLen < 0 {
  30122. return ErrInvalidLengthGenerated
  30123. }
  30124. postIndex := iNdEx + intStringLen
  30125. if postIndex > l {
  30126. return io.ErrUnexpectedEOF
  30127. }
  30128. m.Finalizers = append(m.Finalizers, FinalizerName(dAtA[iNdEx:postIndex]))
  30129. iNdEx = postIndex
  30130. default:
  30131. iNdEx = preIndex
  30132. skippy, err := skipGenerated(dAtA[iNdEx:])
  30133. if err != nil {
  30134. return err
  30135. }
  30136. if skippy < 0 {
  30137. return ErrInvalidLengthGenerated
  30138. }
  30139. if (iNdEx + skippy) > l {
  30140. return io.ErrUnexpectedEOF
  30141. }
  30142. iNdEx += skippy
  30143. }
  30144. }
  30145. if iNdEx > l {
  30146. return io.ErrUnexpectedEOF
  30147. }
  30148. return nil
  30149. }
  30150. func (m *NamespaceStatus) Unmarshal(dAtA []byte) error {
  30151. l := len(dAtA)
  30152. iNdEx := 0
  30153. for iNdEx < l {
  30154. preIndex := iNdEx
  30155. var wire uint64
  30156. for shift := uint(0); ; shift += 7 {
  30157. if shift >= 64 {
  30158. return ErrIntOverflowGenerated
  30159. }
  30160. if iNdEx >= l {
  30161. return io.ErrUnexpectedEOF
  30162. }
  30163. b := dAtA[iNdEx]
  30164. iNdEx++
  30165. wire |= (uint64(b) & 0x7F) << shift
  30166. if b < 0x80 {
  30167. break
  30168. }
  30169. }
  30170. fieldNum := int32(wire >> 3)
  30171. wireType := int(wire & 0x7)
  30172. if wireType == 4 {
  30173. return fmt.Errorf("proto: NamespaceStatus: wiretype end group for non-group")
  30174. }
  30175. if fieldNum <= 0 {
  30176. return fmt.Errorf("proto: NamespaceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  30177. }
  30178. switch fieldNum {
  30179. case 1:
  30180. if wireType != 2 {
  30181. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  30182. }
  30183. var stringLen uint64
  30184. for shift := uint(0); ; shift += 7 {
  30185. if shift >= 64 {
  30186. return ErrIntOverflowGenerated
  30187. }
  30188. if iNdEx >= l {
  30189. return io.ErrUnexpectedEOF
  30190. }
  30191. b := dAtA[iNdEx]
  30192. iNdEx++
  30193. stringLen |= (uint64(b) & 0x7F) << shift
  30194. if b < 0x80 {
  30195. break
  30196. }
  30197. }
  30198. intStringLen := int(stringLen)
  30199. if intStringLen < 0 {
  30200. return ErrInvalidLengthGenerated
  30201. }
  30202. postIndex := iNdEx + intStringLen
  30203. if postIndex > l {
  30204. return io.ErrUnexpectedEOF
  30205. }
  30206. m.Phase = NamespacePhase(dAtA[iNdEx:postIndex])
  30207. iNdEx = postIndex
  30208. default:
  30209. iNdEx = preIndex
  30210. skippy, err := skipGenerated(dAtA[iNdEx:])
  30211. if err != nil {
  30212. return err
  30213. }
  30214. if skippy < 0 {
  30215. return ErrInvalidLengthGenerated
  30216. }
  30217. if (iNdEx + skippy) > l {
  30218. return io.ErrUnexpectedEOF
  30219. }
  30220. iNdEx += skippy
  30221. }
  30222. }
  30223. if iNdEx > l {
  30224. return io.ErrUnexpectedEOF
  30225. }
  30226. return nil
  30227. }
  30228. func (m *Node) Unmarshal(dAtA []byte) error {
  30229. l := len(dAtA)
  30230. iNdEx := 0
  30231. for iNdEx < l {
  30232. preIndex := iNdEx
  30233. var wire uint64
  30234. for shift := uint(0); ; shift += 7 {
  30235. if shift >= 64 {
  30236. return ErrIntOverflowGenerated
  30237. }
  30238. if iNdEx >= l {
  30239. return io.ErrUnexpectedEOF
  30240. }
  30241. b := dAtA[iNdEx]
  30242. iNdEx++
  30243. wire |= (uint64(b) & 0x7F) << shift
  30244. if b < 0x80 {
  30245. break
  30246. }
  30247. }
  30248. fieldNum := int32(wire >> 3)
  30249. wireType := int(wire & 0x7)
  30250. if wireType == 4 {
  30251. return fmt.Errorf("proto: Node: wiretype end group for non-group")
  30252. }
  30253. if fieldNum <= 0 {
  30254. return fmt.Errorf("proto: Node: illegal tag %d (wire type %d)", fieldNum, wire)
  30255. }
  30256. switch fieldNum {
  30257. case 1:
  30258. if wireType != 2 {
  30259. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  30260. }
  30261. var msglen int
  30262. for shift := uint(0); ; shift += 7 {
  30263. if shift >= 64 {
  30264. return ErrIntOverflowGenerated
  30265. }
  30266. if iNdEx >= l {
  30267. return io.ErrUnexpectedEOF
  30268. }
  30269. b := dAtA[iNdEx]
  30270. iNdEx++
  30271. msglen |= (int(b) & 0x7F) << shift
  30272. if b < 0x80 {
  30273. break
  30274. }
  30275. }
  30276. if msglen < 0 {
  30277. return ErrInvalidLengthGenerated
  30278. }
  30279. postIndex := iNdEx + msglen
  30280. if postIndex > l {
  30281. return io.ErrUnexpectedEOF
  30282. }
  30283. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30284. return err
  30285. }
  30286. iNdEx = postIndex
  30287. case 2:
  30288. if wireType != 2 {
  30289. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  30290. }
  30291. var msglen int
  30292. for shift := uint(0); ; shift += 7 {
  30293. if shift >= 64 {
  30294. return ErrIntOverflowGenerated
  30295. }
  30296. if iNdEx >= l {
  30297. return io.ErrUnexpectedEOF
  30298. }
  30299. b := dAtA[iNdEx]
  30300. iNdEx++
  30301. msglen |= (int(b) & 0x7F) << shift
  30302. if b < 0x80 {
  30303. break
  30304. }
  30305. }
  30306. if msglen < 0 {
  30307. return ErrInvalidLengthGenerated
  30308. }
  30309. postIndex := iNdEx + msglen
  30310. if postIndex > l {
  30311. return io.ErrUnexpectedEOF
  30312. }
  30313. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30314. return err
  30315. }
  30316. iNdEx = postIndex
  30317. case 3:
  30318. if wireType != 2 {
  30319. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  30320. }
  30321. var msglen int
  30322. for shift := uint(0); ; shift += 7 {
  30323. if shift >= 64 {
  30324. return ErrIntOverflowGenerated
  30325. }
  30326. if iNdEx >= l {
  30327. return io.ErrUnexpectedEOF
  30328. }
  30329. b := dAtA[iNdEx]
  30330. iNdEx++
  30331. msglen |= (int(b) & 0x7F) << shift
  30332. if b < 0x80 {
  30333. break
  30334. }
  30335. }
  30336. if msglen < 0 {
  30337. return ErrInvalidLengthGenerated
  30338. }
  30339. postIndex := iNdEx + msglen
  30340. if postIndex > l {
  30341. return io.ErrUnexpectedEOF
  30342. }
  30343. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30344. return err
  30345. }
  30346. iNdEx = postIndex
  30347. default:
  30348. iNdEx = preIndex
  30349. skippy, err := skipGenerated(dAtA[iNdEx:])
  30350. if err != nil {
  30351. return err
  30352. }
  30353. if skippy < 0 {
  30354. return ErrInvalidLengthGenerated
  30355. }
  30356. if (iNdEx + skippy) > l {
  30357. return io.ErrUnexpectedEOF
  30358. }
  30359. iNdEx += skippy
  30360. }
  30361. }
  30362. if iNdEx > l {
  30363. return io.ErrUnexpectedEOF
  30364. }
  30365. return nil
  30366. }
  30367. func (m *NodeAddress) Unmarshal(dAtA []byte) error {
  30368. l := len(dAtA)
  30369. iNdEx := 0
  30370. for iNdEx < l {
  30371. preIndex := iNdEx
  30372. var wire uint64
  30373. for shift := uint(0); ; shift += 7 {
  30374. if shift >= 64 {
  30375. return ErrIntOverflowGenerated
  30376. }
  30377. if iNdEx >= l {
  30378. return io.ErrUnexpectedEOF
  30379. }
  30380. b := dAtA[iNdEx]
  30381. iNdEx++
  30382. wire |= (uint64(b) & 0x7F) << shift
  30383. if b < 0x80 {
  30384. break
  30385. }
  30386. }
  30387. fieldNum := int32(wire >> 3)
  30388. wireType := int(wire & 0x7)
  30389. if wireType == 4 {
  30390. return fmt.Errorf("proto: NodeAddress: wiretype end group for non-group")
  30391. }
  30392. if fieldNum <= 0 {
  30393. return fmt.Errorf("proto: NodeAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  30394. }
  30395. switch fieldNum {
  30396. case 1:
  30397. if wireType != 2 {
  30398. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  30399. }
  30400. var stringLen uint64
  30401. for shift := uint(0); ; shift += 7 {
  30402. if shift >= 64 {
  30403. return ErrIntOverflowGenerated
  30404. }
  30405. if iNdEx >= l {
  30406. return io.ErrUnexpectedEOF
  30407. }
  30408. b := dAtA[iNdEx]
  30409. iNdEx++
  30410. stringLen |= (uint64(b) & 0x7F) << shift
  30411. if b < 0x80 {
  30412. break
  30413. }
  30414. }
  30415. intStringLen := int(stringLen)
  30416. if intStringLen < 0 {
  30417. return ErrInvalidLengthGenerated
  30418. }
  30419. postIndex := iNdEx + intStringLen
  30420. if postIndex > l {
  30421. return io.ErrUnexpectedEOF
  30422. }
  30423. m.Type = NodeAddressType(dAtA[iNdEx:postIndex])
  30424. iNdEx = postIndex
  30425. case 2:
  30426. if wireType != 2 {
  30427. return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
  30428. }
  30429. var stringLen uint64
  30430. for shift := uint(0); ; shift += 7 {
  30431. if shift >= 64 {
  30432. return ErrIntOverflowGenerated
  30433. }
  30434. if iNdEx >= l {
  30435. return io.ErrUnexpectedEOF
  30436. }
  30437. b := dAtA[iNdEx]
  30438. iNdEx++
  30439. stringLen |= (uint64(b) & 0x7F) << shift
  30440. if b < 0x80 {
  30441. break
  30442. }
  30443. }
  30444. intStringLen := int(stringLen)
  30445. if intStringLen < 0 {
  30446. return ErrInvalidLengthGenerated
  30447. }
  30448. postIndex := iNdEx + intStringLen
  30449. if postIndex > l {
  30450. return io.ErrUnexpectedEOF
  30451. }
  30452. m.Address = string(dAtA[iNdEx:postIndex])
  30453. iNdEx = postIndex
  30454. default:
  30455. iNdEx = preIndex
  30456. skippy, err := skipGenerated(dAtA[iNdEx:])
  30457. if err != nil {
  30458. return err
  30459. }
  30460. if skippy < 0 {
  30461. return ErrInvalidLengthGenerated
  30462. }
  30463. if (iNdEx + skippy) > l {
  30464. return io.ErrUnexpectedEOF
  30465. }
  30466. iNdEx += skippy
  30467. }
  30468. }
  30469. if iNdEx > l {
  30470. return io.ErrUnexpectedEOF
  30471. }
  30472. return nil
  30473. }
  30474. func (m *NodeAffinity) Unmarshal(dAtA []byte) error {
  30475. l := len(dAtA)
  30476. iNdEx := 0
  30477. for iNdEx < l {
  30478. preIndex := iNdEx
  30479. var wire uint64
  30480. for shift := uint(0); ; shift += 7 {
  30481. if shift >= 64 {
  30482. return ErrIntOverflowGenerated
  30483. }
  30484. if iNdEx >= l {
  30485. return io.ErrUnexpectedEOF
  30486. }
  30487. b := dAtA[iNdEx]
  30488. iNdEx++
  30489. wire |= (uint64(b) & 0x7F) << shift
  30490. if b < 0x80 {
  30491. break
  30492. }
  30493. }
  30494. fieldNum := int32(wire >> 3)
  30495. wireType := int(wire & 0x7)
  30496. if wireType == 4 {
  30497. return fmt.Errorf("proto: NodeAffinity: wiretype end group for non-group")
  30498. }
  30499. if fieldNum <= 0 {
  30500. return fmt.Errorf("proto: NodeAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  30501. }
  30502. switch fieldNum {
  30503. case 1:
  30504. if wireType != 2 {
  30505. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  30506. }
  30507. var msglen int
  30508. for shift := uint(0); ; shift += 7 {
  30509. if shift >= 64 {
  30510. return ErrIntOverflowGenerated
  30511. }
  30512. if iNdEx >= l {
  30513. return io.ErrUnexpectedEOF
  30514. }
  30515. b := dAtA[iNdEx]
  30516. iNdEx++
  30517. msglen |= (int(b) & 0x7F) << shift
  30518. if b < 0x80 {
  30519. break
  30520. }
  30521. }
  30522. if msglen < 0 {
  30523. return ErrInvalidLengthGenerated
  30524. }
  30525. postIndex := iNdEx + msglen
  30526. if postIndex > l {
  30527. return io.ErrUnexpectedEOF
  30528. }
  30529. if m.RequiredDuringSchedulingIgnoredDuringExecution == nil {
  30530. m.RequiredDuringSchedulingIgnoredDuringExecution = &NodeSelector{}
  30531. }
  30532. if err := m.RequiredDuringSchedulingIgnoredDuringExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30533. return err
  30534. }
  30535. iNdEx = postIndex
  30536. case 2:
  30537. if wireType != 2 {
  30538. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  30539. }
  30540. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  30551. if b < 0x80 {
  30552. break
  30553. }
  30554. }
  30555. if msglen < 0 {
  30556. return ErrInvalidLengthGenerated
  30557. }
  30558. postIndex := iNdEx + msglen
  30559. if postIndex > l {
  30560. return io.ErrUnexpectedEOF
  30561. }
  30562. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, PreferredSchedulingTerm{})
  30563. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30564. return err
  30565. }
  30566. iNdEx = postIndex
  30567. default:
  30568. iNdEx = preIndex
  30569. skippy, err := skipGenerated(dAtA[iNdEx:])
  30570. if err != nil {
  30571. return err
  30572. }
  30573. if skippy < 0 {
  30574. return ErrInvalidLengthGenerated
  30575. }
  30576. if (iNdEx + skippy) > l {
  30577. return io.ErrUnexpectedEOF
  30578. }
  30579. iNdEx += skippy
  30580. }
  30581. }
  30582. if iNdEx > l {
  30583. return io.ErrUnexpectedEOF
  30584. }
  30585. return nil
  30586. }
  30587. func (m *NodeCondition) Unmarshal(dAtA []byte) error {
  30588. l := len(dAtA)
  30589. iNdEx := 0
  30590. for iNdEx < l {
  30591. preIndex := iNdEx
  30592. var wire uint64
  30593. for shift := uint(0); ; shift += 7 {
  30594. if shift >= 64 {
  30595. return ErrIntOverflowGenerated
  30596. }
  30597. if iNdEx >= l {
  30598. return io.ErrUnexpectedEOF
  30599. }
  30600. b := dAtA[iNdEx]
  30601. iNdEx++
  30602. wire |= (uint64(b) & 0x7F) << shift
  30603. if b < 0x80 {
  30604. break
  30605. }
  30606. }
  30607. fieldNum := int32(wire >> 3)
  30608. wireType := int(wire & 0x7)
  30609. if wireType == 4 {
  30610. return fmt.Errorf("proto: NodeCondition: wiretype end group for non-group")
  30611. }
  30612. if fieldNum <= 0 {
  30613. return fmt.Errorf("proto: NodeCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  30614. }
  30615. switch fieldNum {
  30616. case 1:
  30617. if wireType != 2 {
  30618. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  30619. }
  30620. var stringLen uint64
  30621. for shift := uint(0); ; shift += 7 {
  30622. if shift >= 64 {
  30623. return ErrIntOverflowGenerated
  30624. }
  30625. if iNdEx >= l {
  30626. return io.ErrUnexpectedEOF
  30627. }
  30628. b := dAtA[iNdEx]
  30629. iNdEx++
  30630. stringLen |= (uint64(b) & 0x7F) << shift
  30631. if b < 0x80 {
  30632. break
  30633. }
  30634. }
  30635. intStringLen := int(stringLen)
  30636. if intStringLen < 0 {
  30637. return ErrInvalidLengthGenerated
  30638. }
  30639. postIndex := iNdEx + intStringLen
  30640. if postIndex > l {
  30641. return io.ErrUnexpectedEOF
  30642. }
  30643. m.Type = NodeConditionType(dAtA[iNdEx:postIndex])
  30644. iNdEx = postIndex
  30645. case 2:
  30646. if wireType != 2 {
  30647. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  30648. }
  30649. var stringLen uint64
  30650. for shift := uint(0); ; shift += 7 {
  30651. if shift >= 64 {
  30652. return ErrIntOverflowGenerated
  30653. }
  30654. if iNdEx >= l {
  30655. return io.ErrUnexpectedEOF
  30656. }
  30657. b := dAtA[iNdEx]
  30658. iNdEx++
  30659. stringLen |= (uint64(b) & 0x7F) << shift
  30660. if b < 0x80 {
  30661. break
  30662. }
  30663. }
  30664. intStringLen := int(stringLen)
  30665. if intStringLen < 0 {
  30666. return ErrInvalidLengthGenerated
  30667. }
  30668. postIndex := iNdEx + intStringLen
  30669. if postIndex > l {
  30670. return io.ErrUnexpectedEOF
  30671. }
  30672. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  30673. iNdEx = postIndex
  30674. case 3:
  30675. if wireType != 2 {
  30676. return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeatTime", wireType)
  30677. }
  30678. var msglen int
  30679. for shift := uint(0); ; shift += 7 {
  30680. if shift >= 64 {
  30681. return ErrIntOverflowGenerated
  30682. }
  30683. if iNdEx >= l {
  30684. return io.ErrUnexpectedEOF
  30685. }
  30686. b := dAtA[iNdEx]
  30687. iNdEx++
  30688. msglen |= (int(b) & 0x7F) << shift
  30689. if b < 0x80 {
  30690. break
  30691. }
  30692. }
  30693. if msglen < 0 {
  30694. return ErrInvalidLengthGenerated
  30695. }
  30696. postIndex := iNdEx + msglen
  30697. if postIndex > l {
  30698. return io.ErrUnexpectedEOF
  30699. }
  30700. if err := m.LastHeartbeatTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30701. return err
  30702. }
  30703. iNdEx = postIndex
  30704. case 4:
  30705. if wireType != 2 {
  30706. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  30707. }
  30708. var msglen int
  30709. for shift := uint(0); ; shift += 7 {
  30710. if shift >= 64 {
  30711. return ErrIntOverflowGenerated
  30712. }
  30713. if iNdEx >= l {
  30714. return io.ErrUnexpectedEOF
  30715. }
  30716. b := dAtA[iNdEx]
  30717. iNdEx++
  30718. msglen |= (int(b) & 0x7F) << shift
  30719. if b < 0x80 {
  30720. break
  30721. }
  30722. }
  30723. if msglen < 0 {
  30724. return ErrInvalidLengthGenerated
  30725. }
  30726. postIndex := iNdEx + msglen
  30727. if postIndex > l {
  30728. return io.ErrUnexpectedEOF
  30729. }
  30730. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30731. return err
  30732. }
  30733. iNdEx = postIndex
  30734. case 5:
  30735. if wireType != 2 {
  30736. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  30737. }
  30738. var stringLen uint64
  30739. for shift := uint(0); ; shift += 7 {
  30740. if shift >= 64 {
  30741. return ErrIntOverflowGenerated
  30742. }
  30743. if iNdEx >= l {
  30744. return io.ErrUnexpectedEOF
  30745. }
  30746. b := dAtA[iNdEx]
  30747. iNdEx++
  30748. stringLen |= (uint64(b) & 0x7F) << shift
  30749. if b < 0x80 {
  30750. break
  30751. }
  30752. }
  30753. intStringLen := int(stringLen)
  30754. if intStringLen < 0 {
  30755. return ErrInvalidLengthGenerated
  30756. }
  30757. postIndex := iNdEx + intStringLen
  30758. if postIndex > l {
  30759. return io.ErrUnexpectedEOF
  30760. }
  30761. m.Reason = string(dAtA[iNdEx:postIndex])
  30762. iNdEx = postIndex
  30763. case 6:
  30764. if wireType != 2 {
  30765. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  30766. }
  30767. var stringLen uint64
  30768. for shift := uint(0); ; shift += 7 {
  30769. if shift >= 64 {
  30770. return ErrIntOverflowGenerated
  30771. }
  30772. if iNdEx >= l {
  30773. return io.ErrUnexpectedEOF
  30774. }
  30775. b := dAtA[iNdEx]
  30776. iNdEx++
  30777. stringLen |= (uint64(b) & 0x7F) << shift
  30778. if b < 0x80 {
  30779. break
  30780. }
  30781. }
  30782. intStringLen := int(stringLen)
  30783. if intStringLen < 0 {
  30784. return ErrInvalidLengthGenerated
  30785. }
  30786. postIndex := iNdEx + intStringLen
  30787. if postIndex > l {
  30788. return io.ErrUnexpectedEOF
  30789. }
  30790. m.Message = string(dAtA[iNdEx:postIndex])
  30791. iNdEx = postIndex
  30792. default:
  30793. iNdEx = preIndex
  30794. skippy, err := skipGenerated(dAtA[iNdEx:])
  30795. if err != nil {
  30796. return err
  30797. }
  30798. if skippy < 0 {
  30799. return ErrInvalidLengthGenerated
  30800. }
  30801. if (iNdEx + skippy) > l {
  30802. return io.ErrUnexpectedEOF
  30803. }
  30804. iNdEx += skippy
  30805. }
  30806. }
  30807. if iNdEx > l {
  30808. return io.ErrUnexpectedEOF
  30809. }
  30810. return nil
  30811. }
  30812. func (m *NodeConfigSource) Unmarshal(dAtA []byte) error {
  30813. l := len(dAtA)
  30814. iNdEx := 0
  30815. for iNdEx < l {
  30816. preIndex := iNdEx
  30817. var wire uint64
  30818. for shift := uint(0); ; shift += 7 {
  30819. if shift >= 64 {
  30820. return ErrIntOverflowGenerated
  30821. }
  30822. if iNdEx >= l {
  30823. return io.ErrUnexpectedEOF
  30824. }
  30825. b := dAtA[iNdEx]
  30826. iNdEx++
  30827. wire |= (uint64(b) & 0x7F) << shift
  30828. if b < 0x80 {
  30829. break
  30830. }
  30831. }
  30832. fieldNum := int32(wire >> 3)
  30833. wireType := int(wire & 0x7)
  30834. if wireType == 4 {
  30835. return fmt.Errorf("proto: NodeConfigSource: wiretype end group for non-group")
  30836. }
  30837. if fieldNum <= 0 {
  30838. return fmt.Errorf("proto: NodeConfigSource: illegal tag %d (wire type %d)", fieldNum, wire)
  30839. }
  30840. switch fieldNum {
  30841. case 2:
  30842. if wireType != 2 {
  30843. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  30844. }
  30845. var msglen int
  30846. for shift := uint(0); ; shift += 7 {
  30847. if shift >= 64 {
  30848. return ErrIntOverflowGenerated
  30849. }
  30850. if iNdEx >= l {
  30851. return io.ErrUnexpectedEOF
  30852. }
  30853. b := dAtA[iNdEx]
  30854. iNdEx++
  30855. msglen |= (int(b) & 0x7F) << shift
  30856. if b < 0x80 {
  30857. break
  30858. }
  30859. }
  30860. if msglen < 0 {
  30861. return ErrInvalidLengthGenerated
  30862. }
  30863. postIndex := iNdEx + msglen
  30864. if postIndex > l {
  30865. return io.ErrUnexpectedEOF
  30866. }
  30867. if m.ConfigMap == nil {
  30868. m.ConfigMap = &ConfigMapNodeConfigSource{}
  30869. }
  30870. if err := m.ConfigMap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30871. return err
  30872. }
  30873. iNdEx = postIndex
  30874. default:
  30875. iNdEx = preIndex
  30876. skippy, err := skipGenerated(dAtA[iNdEx:])
  30877. if err != nil {
  30878. return err
  30879. }
  30880. if skippy < 0 {
  30881. return ErrInvalidLengthGenerated
  30882. }
  30883. if (iNdEx + skippy) > l {
  30884. return io.ErrUnexpectedEOF
  30885. }
  30886. iNdEx += skippy
  30887. }
  30888. }
  30889. if iNdEx > l {
  30890. return io.ErrUnexpectedEOF
  30891. }
  30892. return nil
  30893. }
  30894. func (m *NodeConfigStatus) Unmarshal(dAtA []byte) error {
  30895. l := len(dAtA)
  30896. iNdEx := 0
  30897. for iNdEx < l {
  30898. preIndex := iNdEx
  30899. var wire uint64
  30900. for shift := uint(0); ; shift += 7 {
  30901. if shift >= 64 {
  30902. return ErrIntOverflowGenerated
  30903. }
  30904. if iNdEx >= l {
  30905. return io.ErrUnexpectedEOF
  30906. }
  30907. b := dAtA[iNdEx]
  30908. iNdEx++
  30909. wire |= (uint64(b) & 0x7F) << shift
  30910. if b < 0x80 {
  30911. break
  30912. }
  30913. }
  30914. fieldNum := int32(wire >> 3)
  30915. wireType := int(wire & 0x7)
  30916. if wireType == 4 {
  30917. return fmt.Errorf("proto: NodeConfigStatus: wiretype end group for non-group")
  30918. }
  30919. if fieldNum <= 0 {
  30920. return fmt.Errorf("proto: NodeConfigStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  30921. }
  30922. switch fieldNum {
  30923. case 1:
  30924. if wireType != 2 {
  30925. return fmt.Errorf("proto: wrong wireType = %d for field Assigned", wireType)
  30926. }
  30927. var msglen int
  30928. for shift := uint(0); ; shift += 7 {
  30929. if shift >= 64 {
  30930. return ErrIntOverflowGenerated
  30931. }
  30932. if iNdEx >= l {
  30933. return io.ErrUnexpectedEOF
  30934. }
  30935. b := dAtA[iNdEx]
  30936. iNdEx++
  30937. msglen |= (int(b) & 0x7F) << shift
  30938. if b < 0x80 {
  30939. break
  30940. }
  30941. }
  30942. if msglen < 0 {
  30943. return ErrInvalidLengthGenerated
  30944. }
  30945. postIndex := iNdEx + msglen
  30946. if postIndex > l {
  30947. return io.ErrUnexpectedEOF
  30948. }
  30949. if m.Assigned == nil {
  30950. m.Assigned = &NodeConfigSource{}
  30951. }
  30952. if err := m.Assigned.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30953. return err
  30954. }
  30955. iNdEx = postIndex
  30956. case 2:
  30957. if wireType != 2 {
  30958. return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType)
  30959. }
  30960. var msglen int
  30961. for shift := uint(0); ; shift += 7 {
  30962. if shift >= 64 {
  30963. return ErrIntOverflowGenerated
  30964. }
  30965. if iNdEx >= l {
  30966. return io.ErrUnexpectedEOF
  30967. }
  30968. b := dAtA[iNdEx]
  30969. iNdEx++
  30970. msglen |= (int(b) & 0x7F) << shift
  30971. if b < 0x80 {
  30972. break
  30973. }
  30974. }
  30975. if msglen < 0 {
  30976. return ErrInvalidLengthGenerated
  30977. }
  30978. postIndex := iNdEx + msglen
  30979. if postIndex > l {
  30980. return io.ErrUnexpectedEOF
  30981. }
  30982. if m.Active == nil {
  30983. m.Active = &NodeConfigSource{}
  30984. }
  30985. if err := m.Active.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30986. return err
  30987. }
  30988. iNdEx = postIndex
  30989. case 3:
  30990. if wireType != 2 {
  30991. return fmt.Errorf("proto: wrong wireType = %d for field LastKnownGood", wireType)
  30992. }
  30993. var msglen int
  30994. for shift := uint(0); ; shift += 7 {
  30995. if shift >= 64 {
  30996. return ErrIntOverflowGenerated
  30997. }
  30998. if iNdEx >= l {
  30999. return io.ErrUnexpectedEOF
  31000. }
  31001. b := dAtA[iNdEx]
  31002. iNdEx++
  31003. msglen |= (int(b) & 0x7F) << shift
  31004. if b < 0x80 {
  31005. break
  31006. }
  31007. }
  31008. if msglen < 0 {
  31009. return ErrInvalidLengthGenerated
  31010. }
  31011. postIndex := iNdEx + msglen
  31012. if postIndex > l {
  31013. return io.ErrUnexpectedEOF
  31014. }
  31015. if m.LastKnownGood == nil {
  31016. m.LastKnownGood = &NodeConfigSource{}
  31017. }
  31018. if err := m.LastKnownGood.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31019. return err
  31020. }
  31021. iNdEx = postIndex
  31022. case 4:
  31023. if wireType != 2 {
  31024. return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
  31025. }
  31026. var stringLen uint64
  31027. for shift := uint(0); ; shift += 7 {
  31028. if shift >= 64 {
  31029. return ErrIntOverflowGenerated
  31030. }
  31031. if iNdEx >= l {
  31032. return io.ErrUnexpectedEOF
  31033. }
  31034. b := dAtA[iNdEx]
  31035. iNdEx++
  31036. stringLen |= (uint64(b) & 0x7F) << shift
  31037. if b < 0x80 {
  31038. break
  31039. }
  31040. }
  31041. intStringLen := int(stringLen)
  31042. if intStringLen < 0 {
  31043. return ErrInvalidLengthGenerated
  31044. }
  31045. postIndex := iNdEx + intStringLen
  31046. if postIndex > l {
  31047. return io.ErrUnexpectedEOF
  31048. }
  31049. m.Error = string(dAtA[iNdEx:postIndex])
  31050. iNdEx = postIndex
  31051. default:
  31052. iNdEx = preIndex
  31053. skippy, err := skipGenerated(dAtA[iNdEx:])
  31054. if err != nil {
  31055. return err
  31056. }
  31057. if skippy < 0 {
  31058. return ErrInvalidLengthGenerated
  31059. }
  31060. if (iNdEx + skippy) > l {
  31061. return io.ErrUnexpectedEOF
  31062. }
  31063. iNdEx += skippy
  31064. }
  31065. }
  31066. if iNdEx > l {
  31067. return io.ErrUnexpectedEOF
  31068. }
  31069. return nil
  31070. }
  31071. func (m *NodeDaemonEndpoints) Unmarshal(dAtA []byte) error {
  31072. l := len(dAtA)
  31073. iNdEx := 0
  31074. for iNdEx < l {
  31075. preIndex := iNdEx
  31076. var wire uint64
  31077. for shift := uint(0); ; shift += 7 {
  31078. if shift >= 64 {
  31079. return ErrIntOverflowGenerated
  31080. }
  31081. if iNdEx >= l {
  31082. return io.ErrUnexpectedEOF
  31083. }
  31084. b := dAtA[iNdEx]
  31085. iNdEx++
  31086. wire |= (uint64(b) & 0x7F) << shift
  31087. if b < 0x80 {
  31088. break
  31089. }
  31090. }
  31091. fieldNum := int32(wire >> 3)
  31092. wireType := int(wire & 0x7)
  31093. if wireType == 4 {
  31094. return fmt.Errorf("proto: NodeDaemonEndpoints: wiretype end group for non-group")
  31095. }
  31096. if fieldNum <= 0 {
  31097. return fmt.Errorf("proto: NodeDaemonEndpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  31098. }
  31099. switch fieldNum {
  31100. case 1:
  31101. if wireType != 2 {
  31102. return fmt.Errorf("proto: wrong wireType = %d for field KubeletEndpoint", wireType)
  31103. }
  31104. var msglen int
  31105. for shift := uint(0); ; shift += 7 {
  31106. if shift >= 64 {
  31107. return ErrIntOverflowGenerated
  31108. }
  31109. if iNdEx >= l {
  31110. return io.ErrUnexpectedEOF
  31111. }
  31112. b := dAtA[iNdEx]
  31113. iNdEx++
  31114. msglen |= (int(b) & 0x7F) << shift
  31115. if b < 0x80 {
  31116. break
  31117. }
  31118. }
  31119. if msglen < 0 {
  31120. return ErrInvalidLengthGenerated
  31121. }
  31122. postIndex := iNdEx + msglen
  31123. if postIndex > l {
  31124. return io.ErrUnexpectedEOF
  31125. }
  31126. if err := m.KubeletEndpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31127. return err
  31128. }
  31129. iNdEx = postIndex
  31130. default:
  31131. iNdEx = preIndex
  31132. skippy, err := skipGenerated(dAtA[iNdEx:])
  31133. if err != nil {
  31134. return err
  31135. }
  31136. if skippy < 0 {
  31137. return ErrInvalidLengthGenerated
  31138. }
  31139. if (iNdEx + skippy) > l {
  31140. return io.ErrUnexpectedEOF
  31141. }
  31142. iNdEx += skippy
  31143. }
  31144. }
  31145. if iNdEx > l {
  31146. return io.ErrUnexpectedEOF
  31147. }
  31148. return nil
  31149. }
  31150. func (m *NodeList) Unmarshal(dAtA []byte) error {
  31151. l := len(dAtA)
  31152. iNdEx := 0
  31153. for iNdEx < l {
  31154. preIndex := iNdEx
  31155. var wire uint64
  31156. for shift := uint(0); ; shift += 7 {
  31157. if shift >= 64 {
  31158. return ErrIntOverflowGenerated
  31159. }
  31160. if iNdEx >= l {
  31161. return io.ErrUnexpectedEOF
  31162. }
  31163. b := dAtA[iNdEx]
  31164. iNdEx++
  31165. wire |= (uint64(b) & 0x7F) << shift
  31166. if b < 0x80 {
  31167. break
  31168. }
  31169. }
  31170. fieldNum := int32(wire >> 3)
  31171. wireType := int(wire & 0x7)
  31172. if wireType == 4 {
  31173. return fmt.Errorf("proto: NodeList: wiretype end group for non-group")
  31174. }
  31175. if fieldNum <= 0 {
  31176. return fmt.Errorf("proto: NodeList: illegal tag %d (wire type %d)", fieldNum, wire)
  31177. }
  31178. switch fieldNum {
  31179. case 1:
  31180. if wireType != 2 {
  31181. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  31182. }
  31183. var msglen int
  31184. for shift := uint(0); ; shift += 7 {
  31185. if shift >= 64 {
  31186. return ErrIntOverflowGenerated
  31187. }
  31188. if iNdEx >= l {
  31189. return io.ErrUnexpectedEOF
  31190. }
  31191. b := dAtA[iNdEx]
  31192. iNdEx++
  31193. msglen |= (int(b) & 0x7F) << shift
  31194. if b < 0x80 {
  31195. break
  31196. }
  31197. }
  31198. if msglen < 0 {
  31199. return ErrInvalidLengthGenerated
  31200. }
  31201. postIndex := iNdEx + msglen
  31202. if postIndex > l {
  31203. return io.ErrUnexpectedEOF
  31204. }
  31205. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31206. return err
  31207. }
  31208. iNdEx = postIndex
  31209. case 2:
  31210. if wireType != 2 {
  31211. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  31212. }
  31213. var msglen int
  31214. for shift := uint(0); ; shift += 7 {
  31215. if shift >= 64 {
  31216. return ErrIntOverflowGenerated
  31217. }
  31218. if iNdEx >= l {
  31219. return io.ErrUnexpectedEOF
  31220. }
  31221. b := dAtA[iNdEx]
  31222. iNdEx++
  31223. msglen |= (int(b) & 0x7F) << shift
  31224. if b < 0x80 {
  31225. break
  31226. }
  31227. }
  31228. if msglen < 0 {
  31229. return ErrInvalidLengthGenerated
  31230. }
  31231. postIndex := iNdEx + msglen
  31232. if postIndex > l {
  31233. return io.ErrUnexpectedEOF
  31234. }
  31235. m.Items = append(m.Items, Node{})
  31236. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31237. return err
  31238. }
  31239. iNdEx = postIndex
  31240. default:
  31241. iNdEx = preIndex
  31242. skippy, err := skipGenerated(dAtA[iNdEx:])
  31243. if err != nil {
  31244. return err
  31245. }
  31246. if skippy < 0 {
  31247. return ErrInvalidLengthGenerated
  31248. }
  31249. if (iNdEx + skippy) > l {
  31250. return io.ErrUnexpectedEOF
  31251. }
  31252. iNdEx += skippy
  31253. }
  31254. }
  31255. if iNdEx > l {
  31256. return io.ErrUnexpectedEOF
  31257. }
  31258. return nil
  31259. }
  31260. func (m *NodeProxyOptions) Unmarshal(dAtA []byte) error {
  31261. l := len(dAtA)
  31262. iNdEx := 0
  31263. for iNdEx < l {
  31264. preIndex := iNdEx
  31265. var wire uint64
  31266. for shift := uint(0); ; shift += 7 {
  31267. if shift >= 64 {
  31268. return ErrIntOverflowGenerated
  31269. }
  31270. if iNdEx >= l {
  31271. return io.ErrUnexpectedEOF
  31272. }
  31273. b := dAtA[iNdEx]
  31274. iNdEx++
  31275. wire |= (uint64(b) & 0x7F) << shift
  31276. if b < 0x80 {
  31277. break
  31278. }
  31279. }
  31280. fieldNum := int32(wire >> 3)
  31281. wireType := int(wire & 0x7)
  31282. if wireType == 4 {
  31283. return fmt.Errorf("proto: NodeProxyOptions: wiretype end group for non-group")
  31284. }
  31285. if fieldNum <= 0 {
  31286. return fmt.Errorf("proto: NodeProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  31287. }
  31288. switch fieldNum {
  31289. case 1:
  31290. if wireType != 2 {
  31291. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  31292. }
  31293. var stringLen 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. stringLen |= (uint64(b) & 0x7F) << shift
  31304. if b < 0x80 {
  31305. break
  31306. }
  31307. }
  31308. intStringLen := int(stringLen)
  31309. if intStringLen < 0 {
  31310. return ErrInvalidLengthGenerated
  31311. }
  31312. postIndex := iNdEx + intStringLen
  31313. if postIndex > l {
  31314. return io.ErrUnexpectedEOF
  31315. }
  31316. m.Path = string(dAtA[iNdEx:postIndex])
  31317. iNdEx = postIndex
  31318. default:
  31319. iNdEx = preIndex
  31320. skippy, err := skipGenerated(dAtA[iNdEx:])
  31321. if err != nil {
  31322. return err
  31323. }
  31324. if skippy < 0 {
  31325. return ErrInvalidLengthGenerated
  31326. }
  31327. if (iNdEx + skippy) > l {
  31328. return io.ErrUnexpectedEOF
  31329. }
  31330. iNdEx += skippy
  31331. }
  31332. }
  31333. if iNdEx > l {
  31334. return io.ErrUnexpectedEOF
  31335. }
  31336. return nil
  31337. }
  31338. func (m *NodeResources) Unmarshal(dAtA []byte) error {
  31339. l := len(dAtA)
  31340. iNdEx := 0
  31341. for iNdEx < l {
  31342. preIndex := iNdEx
  31343. var wire uint64
  31344. for shift := uint(0); ; shift += 7 {
  31345. if shift >= 64 {
  31346. return ErrIntOverflowGenerated
  31347. }
  31348. if iNdEx >= l {
  31349. return io.ErrUnexpectedEOF
  31350. }
  31351. b := dAtA[iNdEx]
  31352. iNdEx++
  31353. wire |= (uint64(b) & 0x7F) << shift
  31354. if b < 0x80 {
  31355. break
  31356. }
  31357. }
  31358. fieldNum := int32(wire >> 3)
  31359. wireType := int(wire & 0x7)
  31360. if wireType == 4 {
  31361. return fmt.Errorf("proto: NodeResources: wiretype end group for non-group")
  31362. }
  31363. if fieldNum <= 0 {
  31364. return fmt.Errorf("proto: NodeResources: illegal tag %d (wire type %d)", fieldNum, wire)
  31365. }
  31366. switch fieldNum {
  31367. case 1:
  31368. if wireType != 2 {
  31369. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  31370. }
  31371. var msglen int
  31372. for shift := uint(0); ; shift += 7 {
  31373. if shift >= 64 {
  31374. return ErrIntOverflowGenerated
  31375. }
  31376. if iNdEx >= l {
  31377. return io.ErrUnexpectedEOF
  31378. }
  31379. b := dAtA[iNdEx]
  31380. iNdEx++
  31381. msglen |= (int(b) & 0x7F) << shift
  31382. if b < 0x80 {
  31383. break
  31384. }
  31385. }
  31386. if msglen < 0 {
  31387. return ErrInvalidLengthGenerated
  31388. }
  31389. postIndex := iNdEx + msglen
  31390. if postIndex > l {
  31391. return io.ErrUnexpectedEOF
  31392. }
  31393. if m.Capacity == nil {
  31394. m.Capacity = make(ResourceList)
  31395. }
  31396. var mapkey ResourceName
  31397. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  31398. for iNdEx < postIndex {
  31399. entryPreIndex := iNdEx
  31400. var wire uint64
  31401. for shift := uint(0); ; shift += 7 {
  31402. if shift >= 64 {
  31403. return ErrIntOverflowGenerated
  31404. }
  31405. if iNdEx >= l {
  31406. return io.ErrUnexpectedEOF
  31407. }
  31408. b := dAtA[iNdEx]
  31409. iNdEx++
  31410. wire |= (uint64(b) & 0x7F) << shift
  31411. if b < 0x80 {
  31412. break
  31413. }
  31414. }
  31415. fieldNum := int32(wire >> 3)
  31416. if fieldNum == 1 {
  31417. var stringLenmapkey uint64
  31418. for shift := uint(0); ; shift += 7 {
  31419. if shift >= 64 {
  31420. return ErrIntOverflowGenerated
  31421. }
  31422. if iNdEx >= l {
  31423. return io.ErrUnexpectedEOF
  31424. }
  31425. b := dAtA[iNdEx]
  31426. iNdEx++
  31427. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  31428. if b < 0x80 {
  31429. break
  31430. }
  31431. }
  31432. intStringLenmapkey := int(stringLenmapkey)
  31433. if intStringLenmapkey < 0 {
  31434. return ErrInvalidLengthGenerated
  31435. }
  31436. postStringIndexmapkey := iNdEx + intStringLenmapkey
  31437. if postStringIndexmapkey > l {
  31438. return io.ErrUnexpectedEOF
  31439. }
  31440. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  31441. iNdEx = postStringIndexmapkey
  31442. } else if fieldNum == 2 {
  31443. var mapmsglen int
  31444. for shift := uint(0); ; shift += 7 {
  31445. if shift >= 64 {
  31446. return ErrIntOverflowGenerated
  31447. }
  31448. if iNdEx >= l {
  31449. return io.ErrUnexpectedEOF
  31450. }
  31451. b := dAtA[iNdEx]
  31452. iNdEx++
  31453. mapmsglen |= (int(b) & 0x7F) << shift
  31454. if b < 0x80 {
  31455. break
  31456. }
  31457. }
  31458. if mapmsglen < 0 {
  31459. return ErrInvalidLengthGenerated
  31460. }
  31461. postmsgIndex := iNdEx + mapmsglen
  31462. if mapmsglen < 0 {
  31463. return ErrInvalidLengthGenerated
  31464. }
  31465. if postmsgIndex > l {
  31466. return io.ErrUnexpectedEOF
  31467. }
  31468. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  31469. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  31470. return err
  31471. }
  31472. iNdEx = postmsgIndex
  31473. } else {
  31474. iNdEx = entryPreIndex
  31475. skippy, err := skipGenerated(dAtA[iNdEx:])
  31476. if err != nil {
  31477. return err
  31478. }
  31479. if skippy < 0 {
  31480. return ErrInvalidLengthGenerated
  31481. }
  31482. if (iNdEx + skippy) > postIndex {
  31483. return io.ErrUnexpectedEOF
  31484. }
  31485. iNdEx += skippy
  31486. }
  31487. }
  31488. m.Capacity[ResourceName(mapkey)] = *mapvalue
  31489. iNdEx = postIndex
  31490. default:
  31491. iNdEx = preIndex
  31492. skippy, err := skipGenerated(dAtA[iNdEx:])
  31493. if err != nil {
  31494. return err
  31495. }
  31496. if skippy < 0 {
  31497. return ErrInvalidLengthGenerated
  31498. }
  31499. if (iNdEx + skippy) > l {
  31500. return io.ErrUnexpectedEOF
  31501. }
  31502. iNdEx += skippy
  31503. }
  31504. }
  31505. if iNdEx > l {
  31506. return io.ErrUnexpectedEOF
  31507. }
  31508. return nil
  31509. }
  31510. func (m *NodeSelector) Unmarshal(dAtA []byte) error {
  31511. l := len(dAtA)
  31512. iNdEx := 0
  31513. for iNdEx < l {
  31514. preIndex := iNdEx
  31515. var wire uint64
  31516. for shift := uint(0); ; shift += 7 {
  31517. if shift >= 64 {
  31518. return ErrIntOverflowGenerated
  31519. }
  31520. if iNdEx >= l {
  31521. return io.ErrUnexpectedEOF
  31522. }
  31523. b := dAtA[iNdEx]
  31524. iNdEx++
  31525. wire |= (uint64(b) & 0x7F) << shift
  31526. if b < 0x80 {
  31527. break
  31528. }
  31529. }
  31530. fieldNum := int32(wire >> 3)
  31531. wireType := int(wire & 0x7)
  31532. if wireType == 4 {
  31533. return fmt.Errorf("proto: NodeSelector: wiretype end group for non-group")
  31534. }
  31535. if fieldNum <= 0 {
  31536. return fmt.Errorf("proto: NodeSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  31537. }
  31538. switch fieldNum {
  31539. case 1:
  31540. if wireType != 2 {
  31541. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelectorTerms", wireType)
  31542. }
  31543. var msglen int
  31544. for shift := uint(0); ; shift += 7 {
  31545. if shift >= 64 {
  31546. return ErrIntOverflowGenerated
  31547. }
  31548. if iNdEx >= l {
  31549. return io.ErrUnexpectedEOF
  31550. }
  31551. b := dAtA[iNdEx]
  31552. iNdEx++
  31553. msglen |= (int(b) & 0x7F) << shift
  31554. if b < 0x80 {
  31555. break
  31556. }
  31557. }
  31558. if msglen < 0 {
  31559. return ErrInvalidLengthGenerated
  31560. }
  31561. postIndex := iNdEx + msglen
  31562. if postIndex > l {
  31563. return io.ErrUnexpectedEOF
  31564. }
  31565. m.NodeSelectorTerms = append(m.NodeSelectorTerms, NodeSelectorTerm{})
  31566. if err := m.NodeSelectorTerms[len(m.NodeSelectorTerms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31567. return err
  31568. }
  31569. iNdEx = postIndex
  31570. default:
  31571. iNdEx = preIndex
  31572. skippy, err := skipGenerated(dAtA[iNdEx:])
  31573. if err != nil {
  31574. return err
  31575. }
  31576. if skippy < 0 {
  31577. return ErrInvalidLengthGenerated
  31578. }
  31579. if (iNdEx + skippy) > l {
  31580. return io.ErrUnexpectedEOF
  31581. }
  31582. iNdEx += skippy
  31583. }
  31584. }
  31585. if iNdEx > l {
  31586. return io.ErrUnexpectedEOF
  31587. }
  31588. return nil
  31589. }
  31590. func (m *NodeSelectorRequirement) Unmarshal(dAtA []byte) error {
  31591. l := len(dAtA)
  31592. iNdEx := 0
  31593. for iNdEx < l {
  31594. preIndex := iNdEx
  31595. var wire uint64
  31596. for shift := uint(0); ; shift += 7 {
  31597. if shift >= 64 {
  31598. return ErrIntOverflowGenerated
  31599. }
  31600. if iNdEx >= l {
  31601. return io.ErrUnexpectedEOF
  31602. }
  31603. b := dAtA[iNdEx]
  31604. iNdEx++
  31605. wire |= (uint64(b) & 0x7F) << shift
  31606. if b < 0x80 {
  31607. break
  31608. }
  31609. }
  31610. fieldNum := int32(wire >> 3)
  31611. wireType := int(wire & 0x7)
  31612. if wireType == 4 {
  31613. return fmt.Errorf("proto: NodeSelectorRequirement: wiretype end group for non-group")
  31614. }
  31615. if fieldNum <= 0 {
  31616. return fmt.Errorf("proto: NodeSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  31617. }
  31618. switch fieldNum {
  31619. case 1:
  31620. if wireType != 2 {
  31621. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  31622. }
  31623. var stringLen uint64
  31624. for shift := uint(0); ; shift += 7 {
  31625. if shift >= 64 {
  31626. return ErrIntOverflowGenerated
  31627. }
  31628. if iNdEx >= l {
  31629. return io.ErrUnexpectedEOF
  31630. }
  31631. b := dAtA[iNdEx]
  31632. iNdEx++
  31633. stringLen |= (uint64(b) & 0x7F) << shift
  31634. if b < 0x80 {
  31635. break
  31636. }
  31637. }
  31638. intStringLen := int(stringLen)
  31639. if intStringLen < 0 {
  31640. return ErrInvalidLengthGenerated
  31641. }
  31642. postIndex := iNdEx + intStringLen
  31643. if postIndex > l {
  31644. return io.ErrUnexpectedEOF
  31645. }
  31646. m.Key = string(dAtA[iNdEx:postIndex])
  31647. iNdEx = postIndex
  31648. case 2:
  31649. if wireType != 2 {
  31650. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  31651. }
  31652. var stringLen uint64
  31653. for shift := uint(0); ; shift += 7 {
  31654. if shift >= 64 {
  31655. return ErrIntOverflowGenerated
  31656. }
  31657. if iNdEx >= l {
  31658. return io.ErrUnexpectedEOF
  31659. }
  31660. b := dAtA[iNdEx]
  31661. iNdEx++
  31662. stringLen |= (uint64(b) & 0x7F) << shift
  31663. if b < 0x80 {
  31664. break
  31665. }
  31666. }
  31667. intStringLen := int(stringLen)
  31668. if intStringLen < 0 {
  31669. return ErrInvalidLengthGenerated
  31670. }
  31671. postIndex := iNdEx + intStringLen
  31672. if postIndex > l {
  31673. return io.ErrUnexpectedEOF
  31674. }
  31675. m.Operator = NodeSelectorOperator(dAtA[iNdEx:postIndex])
  31676. iNdEx = postIndex
  31677. case 3:
  31678. if wireType != 2 {
  31679. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  31680. }
  31681. var stringLen uint64
  31682. for shift := uint(0); ; shift += 7 {
  31683. if shift >= 64 {
  31684. return ErrIntOverflowGenerated
  31685. }
  31686. if iNdEx >= l {
  31687. return io.ErrUnexpectedEOF
  31688. }
  31689. b := dAtA[iNdEx]
  31690. iNdEx++
  31691. stringLen |= (uint64(b) & 0x7F) << shift
  31692. if b < 0x80 {
  31693. break
  31694. }
  31695. }
  31696. intStringLen := int(stringLen)
  31697. if intStringLen < 0 {
  31698. return ErrInvalidLengthGenerated
  31699. }
  31700. postIndex := iNdEx + intStringLen
  31701. if postIndex > l {
  31702. return io.ErrUnexpectedEOF
  31703. }
  31704. m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
  31705. iNdEx = postIndex
  31706. default:
  31707. iNdEx = preIndex
  31708. skippy, err := skipGenerated(dAtA[iNdEx:])
  31709. if err != nil {
  31710. return err
  31711. }
  31712. if skippy < 0 {
  31713. return ErrInvalidLengthGenerated
  31714. }
  31715. if (iNdEx + skippy) > l {
  31716. return io.ErrUnexpectedEOF
  31717. }
  31718. iNdEx += skippy
  31719. }
  31720. }
  31721. if iNdEx > l {
  31722. return io.ErrUnexpectedEOF
  31723. }
  31724. return nil
  31725. }
  31726. func (m *NodeSelectorTerm) Unmarshal(dAtA []byte) error {
  31727. l := len(dAtA)
  31728. iNdEx := 0
  31729. for iNdEx < l {
  31730. preIndex := iNdEx
  31731. var wire uint64
  31732. for shift := uint(0); ; shift += 7 {
  31733. if shift >= 64 {
  31734. return ErrIntOverflowGenerated
  31735. }
  31736. if iNdEx >= l {
  31737. return io.ErrUnexpectedEOF
  31738. }
  31739. b := dAtA[iNdEx]
  31740. iNdEx++
  31741. wire |= (uint64(b) & 0x7F) << shift
  31742. if b < 0x80 {
  31743. break
  31744. }
  31745. }
  31746. fieldNum := int32(wire >> 3)
  31747. wireType := int(wire & 0x7)
  31748. if wireType == 4 {
  31749. return fmt.Errorf("proto: NodeSelectorTerm: wiretype end group for non-group")
  31750. }
  31751. if fieldNum <= 0 {
  31752. return fmt.Errorf("proto: NodeSelectorTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  31753. }
  31754. switch fieldNum {
  31755. case 1:
  31756. if wireType != 2 {
  31757. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  31758. }
  31759. var msglen int
  31760. for shift := uint(0); ; shift += 7 {
  31761. if shift >= 64 {
  31762. return ErrIntOverflowGenerated
  31763. }
  31764. if iNdEx >= l {
  31765. return io.ErrUnexpectedEOF
  31766. }
  31767. b := dAtA[iNdEx]
  31768. iNdEx++
  31769. msglen |= (int(b) & 0x7F) << shift
  31770. if b < 0x80 {
  31771. break
  31772. }
  31773. }
  31774. if msglen < 0 {
  31775. return ErrInvalidLengthGenerated
  31776. }
  31777. postIndex := iNdEx + msglen
  31778. if postIndex > l {
  31779. return io.ErrUnexpectedEOF
  31780. }
  31781. m.MatchExpressions = append(m.MatchExpressions, NodeSelectorRequirement{})
  31782. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31783. return err
  31784. }
  31785. iNdEx = postIndex
  31786. case 2:
  31787. if wireType != 2 {
  31788. return fmt.Errorf("proto: wrong wireType = %d for field MatchFields", wireType)
  31789. }
  31790. var msglen int
  31791. for shift := uint(0); ; shift += 7 {
  31792. if shift >= 64 {
  31793. return ErrIntOverflowGenerated
  31794. }
  31795. if iNdEx >= l {
  31796. return io.ErrUnexpectedEOF
  31797. }
  31798. b := dAtA[iNdEx]
  31799. iNdEx++
  31800. msglen |= (int(b) & 0x7F) << shift
  31801. if b < 0x80 {
  31802. break
  31803. }
  31804. }
  31805. if msglen < 0 {
  31806. return ErrInvalidLengthGenerated
  31807. }
  31808. postIndex := iNdEx + msglen
  31809. if postIndex > l {
  31810. return io.ErrUnexpectedEOF
  31811. }
  31812. m.MatchFields = append(m.MatchFields, NodeSelectorRequirement{})
  31813. if err := m.MatchFields[len(m.MatchFields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31814. return err
  31815. }
  31816. iNdEx = postIndex
  31817. default:
  31818. iNdEx = preIndex
  31819. skippy, err := skipGenerated(dAtA[iNdEx:])
  31820. if err != nil {
  31821. return err
  31822. }
  31823. if skippy < 0 {
  31824. return ErrInvalidLengthGenerated
  31825. }
  31826. if (iNdEx + skippy) > l {
  31827. return io.ErrUnexpectedEOF
  31828. }
  31829. iNdEx += skippy
  31830. }
  31831. }
  31832. if iNdEx > l {
  31833. return io.ErrUnexpectedEOF
  31834. }
  31835. return nil
  31836. }
  31837. func (m *NodeSpec) Unmarshal(dAtA []byte) error {
  31838. l := len(dAtA)
  31839. iNdEx := 0
  31840. for iNdEx < l {
  31841. preIndex := iNdEx
  31842. var wire uint64
  31843. for shift := uint(0); ; shift += 7 {
  31844. if shift >= 64 {
  31845. return ErrIntOverflowGenerated
  31846. }
  31847. if iNdEx >= l {
  31848. return io.ErrUnexpectedEOF
  31849. }
  31850. b := dAtA[iNdEx]
  31851. iNdEx++
  31852. wire |= (uint64(b) & 0x7F) << shift
  31853. if b < 0x80 {
  31854. break
  31855. }
  31856. }
  31857. fieldNum := int32(wire >> 3)
  31858. wireType := int(wire & 0x7)
  31859. if wireType == 4 {
  31860. return fmt.Errorf("proto: NodeSpec: wiretype end group for non-group")
  31861. }
  31862. if fieldNum <= 0 {
  31863. return fmt.Errorf("proto: NodeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  31864. }
  31865. switch fieldNum {
  31866. case 1:
  31867. if wireType != 2 {
  31868. return fmt.Errorf("proto: wrong wireType = %d for field PodCIDR", wireType)
  31869. }
  31870. var stringLen uint64
  31871. for shift := uint(0); ; shift += 7 {
  31872. if shift >= 64 {
  31873. return ErrIntOverflowGenerated
  31874. }
  31875. if iNdEx >= l {
  31876. return io.ErrUnexpectedEOF
  31877. }
  31878. b := dAtA[iNdEx]
  31879. iNdEx++
  31880. stringLen |= (uint64(b) & 0x7F) << shift
  31881. if b < 0x80 {
  31882. break
  31883. }
  31884. }
  31885. intStringLen := int(stringLen)
  31886. if intStringLen < 0 {
  31887. return ErrInvalidLengthGenerated
  31888. }
  31889. postIndex := iNdEx + intStringLen
  31890. if postIndex > l {
  31891. return io.ErrUnexpectedEOF
  31892. }
  31893. m.PodCIDR = string(dAtA[iNdEx:postIndex])
  31894. iNdEx = postIndex
  31895. case 2:
  31896. if wireType != 2 {
  31897. return fmt.Errorf("proto: wrong wireType = %d for field DoNotUse_ExternalID", wireType)
  31898. }
  31899. var stringLen uint64
  31900. for shift := uint(0); ; shift += 7 {
  31901. if shift >= 64 {
  31902. return ErrIntOverflowGenerated
  31903. }
  31904. if iNdEx >= l {
  31905. return io.ErrUnexpectedEOF
  31906. }
  31907. b := dAtA[iNdEx]
  31908. iNdEx++
  31909. stringLen |= (uint64(b) & 0x7F) << shift
  31910. if b < 0x80 {
  31911. break
  31912. }
  31913. }
  31914. intStringLen := int(stringLen)
  31915. if intStringLen < 0 {
  31916. return ErrInvalidLengthGenerated
  31917. }
  31918. postIndex := iNdEx + intStringLen
  31919. if postIndex > l {
  31920. return io.ErrUnexpectedEOF
  31921. }
  31922. m.DoNotUse_ExternalID = string(dAtA[iNdEx:postIndex])
  31923. iNdEx = postIndex
  31924. case 3:
  31925. if wireType != 2 {
  31926. return fmt.Errorf("proto: wrong wireType = %d for field ProviderID", wireType)
  31927. }
  31928. var stringLen uint64
  31929. for shift := uint(0); ; shift += 7 {
  31930. if shift >= 64 {
  31931. return ErrIntOverflowGenerated
  31932. }
  31933. if iNdEx >= l {
  31934. return io.ErrUnexpectedEOF
  31935. }
  31936. b := dAtA[iNdEx]
  31937. iNdEx++
  31938. stringLen |= (uint64(b) & 0x7F) << shift
  31939. if b < 0x80 {
  31940. break
  31941. }
  31942. }
  31943. intStringLen := int(stringLen)
  31944. if intStringLen < 0 {
  31945. return ErrInvalidLengthGenerated
  31946. }
  31947. postIndex := iNdEx + intStringLen
  31948. if postIndex > l {
  31949. return io.ErrUnexpectedEOF
  31950. }
  31951. m.ProviderID = string(dAtA[iNdEx:postIndex])
  31952. iNdEx = postIndex
  31953. case 4:
  31954. if wireType != 0 {
  31955. return fmt.Errorf("proto: wrong wireType = %d for field Unschedulable", wireType)
  31956. }
  31957. var v int
  31958. for shift := uint(0); ; shift += 7 {
  31959. if shift >= 64 {
  31960. return ErrIntOverflowGenerated
  31961. }
  31962. if iNdEx >= l {
  31963. return io.ErrUnexpectedEOF
  31964. }
  31965. b := dAtA[iNdEx]
  31966. iNdEx++
  31967. v |= (int(b) & 0x7F) << shift
  31968. if b < 0x80 {
  31969. break
  31970. }
  31971. }
  31972. m.Unschedulable = bool(v != 0)
  31973. case 5:
  31974. if wireType != 2 {
  31975. return fmt.Errorf("proto: wrong wireType = %d for field Taints", wireType)
  31976. }
  31977. var msglen int
  31978. for shift := uint(0); ; shift += 7 {
  31979. if shift >= 64 {
  31980. return ErrIntOverflowGenerated
  31981. }
  31982. if iNdEx >= l {
  31983. return io.ErrUnexpectedEOF
  31984. }
  31985. b := dAtA[iNdEx]
  31986. iNdEx++
  31987. msglen |= (int(b) & 0x7F) << shift
  31988. if b < 0x80 {
  31989. break
  31990. }
  31991. }
  31992. if msglen < 0 {
  31993. return ErrInvalidLengthGenerated
  31994. }
  31995. postIndex := iNdEx + msglen
  31996. if postIndex > l {
  31997. return io.ErrUnexpectedEOF
  31998. }
  31999. m.Taints = append(m.Taints, Taint{})
  32000. if err := m.Taints[len(m.Taints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32001. return err
  32002. }
  32003. iNdEx = postIndex
  32004. case 6:
  32005. if wireType != 2 {
  32006. return fmt.Errorf("proto: wrong wireType = %d for field ConfigSource", wireType)
  32007. }
  32008. var msglen int
  32009. for shift := uint(0); ; shift += 7 {
  32010. if shift >= 64 {
  32011. return ErrIntOverflowGenerated
  32012. }
  32013. if iNdEx >= l {
  32014. return io.ErrUnexpectedEOF
  32015. }
  32016. b := dAtA[iNdEx]
  32017. iNdEx++
  32018. msglen |= (int(b) & 0x7F) << shift
  32019. if b < 0x80 {
  32020. break
  32021. }
  32022. }
  32023. if msglen < 0 {
  32024. return ErrInvalidLengthGenerated
  32025. }
  32026. postIndex := iNdEx + msglen
  32027. if postIndex > l {
  32028. return io.ErrUnexpectedEOF
  32029. }
  32030. if m.ConfigSource == nil {
  32031. m.ConfigSource = &NodeConfigSource{}
  32032. }
  32033. if err := m.ConfigSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32034. return err
  32035. }
  32036. iNdEx = postIndex
  32037. default:
  32038. iNdEx = preIndex
  32039. skippy, err := skipGenerated(dAtA[iNdEx:])
  32040. if err != nil {
  32041. return err
  32042. }
  32043. if skippy < 0 {
  32044. return ErrInvalidLengthGenerated
  32045. }
  32046. if (iNdEx + skippy) > l {
  32047. return io.ErrUnexpectedEOF
  32048. }
  32049. iNdEx += skippy
  32050. }
  32051. }
  32052. if iNdEx > l {
  32053. return io.ErrUnexpectedEOF
  32054. }
  32055. return nil
  32056. }
  32057. func (m *NodeStatus) Unmarshal(dAtA []byte) error {
  32058. l := len(dAtA)
  32059. iNdEx := 0
  32060. for iNdEx < l {
  32061. preIndex := iNdEx
  32062. var wire uint64
  32063. for shift := uint(0); ; shift += 7 {
  32064. if shift >= 64 {
  32065. return ErrIntOverflowGenerated
  32066. }
  32067. if iNdEx >= l {
  32068. return io.ErrUnexpectedEOF
  32069. }
  32070. b := dAtA[iNdEx]
  32071. iNdEx++
  32072. wire |= (uint64(b) & 0x7F) << shift
  32073. if b < 0x80 {
  32074. break
  32075. }
  32076. }
  32077. fieldNum := int32(wire >> 3)
  32078. wireType := int(wire & 0x7)
  32079. if wireType == 4 {
  32080. return fmt.Errorf("proto: NodeStatus: wiretype end group for non-group")
  32081. }
  32082. if fieldNum <= 0 {
  32083. return fmt.Errorf("proto: NodeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  32084. }
  32085. switch fieldNum {
  32086. case 1:
  32087. if wireType != 2 {
  32088. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  32089. }
  32090. var msglen int
  32091. for shift := uint(0); ; shift += 7 {
  32092. if shift >= 64 {
  32093. return ErrIntOverflowGenerated
  32094. }
  32095. if iNdEx >= l {
  32096. return io.ErrUnexpectedEOF
  32097. }
  32098. b := dAtA[iNdEx]
  32099. iNdEx++
  32100. msglen |= (int(b) & 0x7F) << shift
  32101. if b < 0x80 {
  32102. break
  32103. }
  32104. }
  32105. if msglen < 0 {
  32106. return ErrInvalidLengthGenerated
  32107. }
  32108. postIndex := iNdEx + msglen
  32109. if postIndex > l {
  32110. return io.ErrUnexpectedEOF
  32111. }
  32112. if m.Capacity == nil {
  32113. m.Capacity = make(ResourceList)
  32114. }
  32115. var mapkey ResourceName
  32116. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  32117. for iNdEx < postIndex {
  32118. entryPreIndex := iNdEx
  32119. var wire uint64
  32120. for shift := uint(0); ; shift += 7 {
  32121. if shift >= 64 {
  32122. return ErrIntOverflowGenerated
  32123. }
  32124. if iNdEx >= l {
  32125. return io.ErrUnexpectedEOF
  32126. }
  32127. b := dAtA[iNdEx]
  32128. iNdEx++
  32129. wire |= (uint64(b) & 0x7F) << shift
  32130. if b < 0x80 {
  32131. break
  32132. }
  32133. }
  32134. fieldNum := int32(wire >> 3)
  32135. if fieldNum == 1 {
  32136. var stringLenmapkey uint64
  32137. for shift := uint(0); ; shift += 7 {
  32138. if shift >= 64 {
  32139. return ErrIntOverflowGenerated
  32140. }
  32141. if iNdEx >= l {
  32142. return io.ErrUnexpectedEOF
  32143. }
  32144. b := dAtA[iNdEx]
  32145. iNdEx++
  32146. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  32147. if b < 0x80 {
  32148. break
  32149. }
  32150. }
  32151. intStringLenmapkey := int(stringLenmapkey)
  32152. if intStringLenmapkey < 0 {
  32153. return ErrInvalidLengthGenerated
  32154. }
  32155. postStringIndexmapkey := iNdEx + intStringLenmapkey
  32156. if postStringIndexmapkey > l {
  32157. return io.ErrUnexpectedEOF
  32158. }
  32159. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  32160. iNdEx = postStringIndexmapkey
  32161. } else if fieldNum == 2 {
  32162. var mapmsglen int
  32163. for shift := uint(0); ; shift += 7 {
  32164. if shift >= 64 {
  32165. return ErrIntOverflowGenerated
  32166. }
  32167. if iNdEx >= l {
  32168. return io.ErrUnexpectedEOF
  32169. }
  32170. b := dAtA[iNdEx]
  32171. iNdEx++
  32172. mapmsglen |= (int(b) & 0x7F) << shift
  32173. if b < 0x80 {
  32174. break
  32175. }
  32176. }
  32177. if mapmsglen < 0 {
  32178. return ErrInvalidLengthGenerated
  32179. }
  32180. postmsgIndex := iNdEx + mapmsglen
  32181. if mapmsglen < 0 {
  32182. return ErrInvalidLengthGenerated
  32183. }
  32184. if postmsgIndex > l {
  32185. return io.ErrUnexpectedEOF
  32186. }
  32187. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  32188. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  32189. return err
  32190. }
  32191. iNdEx = postmsgIndex
  32192. } else {
  32193. iNdEx = entryPreIndex
  32194. skippy, err := skipGenerated(dAtA[iNdEx:])
  32195. if err != nil {
  32196. return err
  32197. }
  32198. if skippy < 0 {
  32199. return ErrInvalidLengthGenerated
  32200. }
  32201. if (iNdEx + skippy) > postIndex {
  32202. return io.ErrUnexpectedEOF
  32203. }
  32204. iNdEx += skippy
  32205. }
  32206. }
  32207. m.Capacity[ResourceName(mapkey)] = *mapvalue
  32208. iNdEx = postIndex
  32209. case 2:
  32210. if wireType != 2 {
  32211. return fmt.Errorf("proto: wrong wireType = %d for field Allocatable", wireType)
  32212. }
  32213. var msglen int
  32214. for shift := uint(0); ; shift += 7 {
  32215. if shift >= 64 {
  32216. return ErrIntOverflowGenerated
  32217. }
  32218. if iNdEx >= l {
  32219. return io.ErrUnexpectedEOF
  32220. }
  32221. b := dAtA[iNdEx]
  32222. iNdEx++
  32223. msglen |= (int(b) & 0x7F) << shift
  32224. if b < 0x80 {
  32225. break
  32226. }
  32227. }
  32228. if msglen < 0 {
  32229. return ErrInvalidLengthGenerated
  32230. }
  32231. postIndex := iNdEx + msglen
  32232. if postIndex > l {
  32233. return io.ErrUnexpectedEOF
  32234. }
  32235. if m.Allocatable == nil {
  32236. m.Allocatable = make(ResourceList)
  32237. }
  32238. var mapkey ResourceName
  32239. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  32240. for iNdEx < postIndex {
  32241. entryPreIndex := iNdEx
  32242. var wire uint64
  32243. for shift := uint(0); ; shift += 7 {
  32244. if shift >= 64 {
  32245. return ErrIntOverflowGenerated
  32246. }
  32247. if iNdEx >= l {
  32248. return io.ErrUnexpectedEOF
  32249. }
  32250. b := dAtA[iNdEx]
  32251. iNdEx++
  32252. wire |= (uint64(b) & 0x7F) << shift
  32253. if b < 0x80 {
  32254. break
  32255. }
  32256. }
  32257. fieldNum := int32(wire >> 3)
  32258. if fieldNum == 1 {
  32259. var stringLenmapkey uint64
  32260. for shift := uint(0); ; shift += 7 {
  32261. if shift >= 64 {
  32262. return ErrIntOverflowGenerated
  32263. }
  32264. if iNdEx >= l {
  32265. return io.ErrUnexpectedEOF
  32266. }
  32267. b := dAtA[iNdEx]
  32268. iNdEx++
  32269. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  32270. if b < 0x80 {
  32271. break
  32272. }
  32273. }
  32274. intStringLenmapkey := int(stringLenmapkey)
  32275. if intStringLenmapkey < 0 {
  32276. return ErrInvalidLengthGenerated
  32277. }
  32278. postStringIndexmapkey := iNdEx + intStringLenmapkey
  32279. if postStringIndexmapkey > l {
  32280. return io.ErrUnexpectedEOF
  32281. }
  32282. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  32283. iNdEx = postStringIndexmapkey
  32284. } else if fieldNum == 2 {
  32285. var mapmsglen int
  32286. for shift := uint(0); ; shift += 7 {
  32287. if shift >= 64 {
  32288. return ErrIntOverflowGenerated
  32289. }
  32290. if iNdEx >= l {
  32291. return io.ErrUnexpectedEOF
  32292. }
  32293. b := dAtA[iNdEx]
  32294. iNdEx++
  32295. mapmsglen |= (int(b) & 0x7F) << shift
  32296. if b < 0x80 {
  32297. break
  32298. }
  32299. }
  32300. if mapmsglen < 0 {
  32301. return ErrInvalidLengthGenerated
  32302. }
  32303. postmsgIndex := iNdEx + mapmsglen
  32304. if mapmsglen < 0 {
  32305. return ErrInvalidLengthGenerated
  32306. }
  32307. if postmsgIndex > l {
  32308. return io.ErrUnexpectedEOF
  32309. }
  32310. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  32311. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  32312. return err
  32313. }
  32314. iNdEx = postmsgIndex
  32315. } else {
  32316. iNdEx = entryPreIndex
  32317. skippy, err := skipGenerated(dAtA[iNdEx:])
  32318. if err != nil {
  32319. return err
  32320. }
  32321. if skippy < 0 {
  32322. return ErrInvalidLengthGenerated
  32323. }
  32324. if (iNdEx + skippy) > postIndex {
  32325. return io.ErrUnexpectedEOF
  32326. }
  32327. iNdEx += skippy
  32328. }
  32329. }
  32330. m.Allocatable[ResourceName(mapkey)] = *mapvalue
  32331. iNdEx = postIndex
  32332. case 3:
  32333. if wireType != 2 {
  32334. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  32335. }
  32336. var stringLen uint64
  32337. for shift := uint(0); ; shift += 7 {
  32338. if shift >= 64 {
  32339. return ErrIntOverflowGenerated
  32340. }
  32341. if iNdEx >= l {
  32342. return io.ErrUnexpectedEOF
  32343. }
  32344. b := dAtA[iNdEx]
  32345. iNdEx++
  32346. stringLen |= (uint64(b) & 0x7F) << shift
  32347. if b < 0x80 {
  32348. break
  32349. }
  32350. }
  32351. intStringLen := int(stringLen)
  32352. if intStringLen < 0 {
  32353. return ErrInvalidLengthGenerated
  32354. }
  32355. postIndex := iNdEx + intStringLen
  32356. if postIndex > l {
  32357. return io.ErrUnexpectedEOF
  32358. }
  32359. m.Phase = NodePhase(dAtA[iNdEx:postIndex])
  32360. iNdEx = postIndex
  32361. case 4:
  32362. if wireType != 2 {
  32363. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  32364. }
  32365. var msglen int
  32366. for shift := uint(0); ; shift += 7 {
  32367. if shift >= 64 {
  32368. return ErrIntOverflowGenerated
  32369. }
  32370. if iNdEx >= l {
  32371. return io.ErrUnexpectedEOF
  32372. }
  32373. b := dAtA[iNdEx]
  32374. iNdEx++
  32375. msglen |= (int(b) & 0x7F) << shift
  32376. if b < 0x80 {
  32377. break
  32378. }
  32379. }
  32380. if msglen < 0 {
  32381. return ErrInvalidLengthGenerated
  32382. }
  32383. postIndex := iNdEx + msglen
  32384. if postIndex > l {
  32385. return io.ErrUnexpectedEOF
  32386. }
  32387. m.Conditions = append(m.Conditions, NodeCondition{})
  32388. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32389. return err
  32390. }
  32391. iNdEx = postIndex
  32392. case 5:
  32393. if wireType != 2 {
  32394. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  32395. }
  32396. var msglen int
  32397. for shift := uint(0); ; shift += 7 {
  32398. if shift >= 64 {
  32399. return ErrIntOverflowGenerated
  32400. }
  32401. if iNdEx >= l {
  32402. return io.ErrUnexpectedEOF
  32403. }
  32404. b := dAtA[iNdEx]
  32405. iNdEx++
  32406. msglen |= (int(b) & 0x7F) << shift
  32407. if b < 0x80 {
  32408. break
  32409. }
  32410. }
  32411. if msglen < 0 {
  32412. return ErrInvalidLengthGenerated
  32413. }
  32414. postIndex := iNdEx + msglen
  32415. if postIndex > l {
  32416. return io.ErrUnexpectedEOF
  32417. }
  32418. m.Addresses = append(m.Addresses, NodeAddress{})
  32419. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32420. return err
  32421. }
  32422. iNdEx = postIndex
  32423. case 6:
  32424. if wireType != 2 {
  32425. return fmt.Errorf("proto: wrong wireType = %d for field DaemonEndpoints", wireType)
  32426. }
  32427. var msglen int
  32428. for shift := uint(0); ; shift += 7 {
  32429. if shift >= 64 {
  32430. return ErrIntOverflowGenerated
  32431. }
  32432. if iNdEx >= l {
  32433. return io.ErrUnexpectedEOF
  32434. }
  32435. b := dAtA[iNdEx]
  32436. iNdEx++
  32437. msglen |= (int(b) & 0x7F) << shift
  32438. if b < 0x80 {
  32439. break
  32440. }
  32441. }
  32442. if msglen < 0 {
  32443. return ErrInvalidLengthGenerated
  32444. }
  32445. postIndex := iNdEx + msglen
  32446. if postIndex > l {
  32447. return io.ErrUnexpectedEOF
  32448. }
  32449. if err := m.DaemonEndpoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32450. return err
  32451. }
  32452. iNdEx = postIndex
  32453. case 7:
  32454. if wireType != 2 {
  32455. return fmt.Errorf("proto: wrong wireType = %d for field NodeInfo", wireType)
  32456. }
  32457. var msglen int
  32458. for shift := uint(0); ; shift += 7 {
  32459. if shift >= 64 {
  32460. return ErrIntOverflowGenerated
  32461. }
  32462. if iNdEx >= l {
  32463. return io.ErrUnexpectedEOF
  32464. }
  32465. b := dAtA[iNdEx]
  32466. iNdEx++
  32467. msglen |= (int(b) & 0x7F) << shift
  32468. if b < 0x80 {
  32469. break
  32470. }
  32471. }
  32472. if msglen < 0 {
  32473. return ErrInvalidLengthGenerated
  32474. }
  32475. postIndex := iNdEx + msglen
  32476. if postIndex > l {
  32477. return io.ErrUnexpectedEOF
  32478. }
  32479. if err := m.NodeInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32480. return err
  32481. }
  32482. iNdEx = postIndex
  32483. case 8:
  32484. if wireType != 2 {
  32485. return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
  32486. }
  32487. var msglen int
  32488. for shift := uint(0); ; shift += 7 {
  32489. if shift >= 64 {
  32490. return ErrIntOverflowGenerated
  32491. }
  32492. if iNdEx >= l {
  32493. return io.ErrUnexpectedEOF
  32494. }
  32495. b := dAtA[iNdEx]
  32496. iNdEx++
  32497. msglen |= (int(b) & 0x7F) << shift
  32498. if b < 0x80 {
  32499. break
  32500. }
  32501. }
  32502. if msglen < 0 {
  32503. return ErrInvalidLengthGenerated
  32504. }
  32505. postIndex := iNdEx + msglen
  32506. if postIndex > l {
  32507. return io.ErrUnexpectedEOF
  32508. }
  32509. m.Images = append(m.Images, ContainerImage{})
  32510. if err := m.Images[len(m.Images)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32511. return err
  32512. }
  32513. iNdEx = postIndex
  32514. case 9:
  32515. if wireType != 2 {
  32516. return fmt.Errorf("proto: wrong wireType = %d for field VolumesInUse", wireType)
  32517. }
  32518. var stringLen uint64
  32519. for shift := uint(0); ; shift += 7 {
  32520. if shift >= 64 {
  32521. return ErrIntOverflowGenerated
  32522. }
  32523. if iNdEx >= l {
  32524. return io.ErrUnexpectedEOF
  32525. }
  32526. b := dAtA[iNdEx]
  32527. iNdEx++
  32528. stringLen |= (uint64(b) & 0x7F) << shift
  32529. if b < 0x80 {
  32530. break
  32531. }
  32532. }
  32533. intStringLen := int(stringLen)
  32534. if intStringLen < 0 {
  32535. return ErrInvalidLengthGenerated
  32536. }
  32537. postIndex := iNdEx + intStringLen
  32538. if postIndex > l {
  32539. return io.ErrUnexpectedEOF
  32540. }
  32541. m.VolumesInUse = append(m.VolumesInUse, UniqueVolumeName(dAtA[iNdEx:postIndex]))
  32542. iNdEx = postIndex
  32543. case 10:
  32544. if wireType != 2 {
  32545. return fmt.Errorf("proto: wrong wireType = %d for field VolumesAttached", wireType)
  32546. }
  32547. var msglen int
  32548. for shift := uint(0); ; shift += 7 {
  32549. if shift >= 64 {
  32550. return ErrIntOverflowGenerated
  32551. }
  32552. if iNdEx >= l {
  32553. return io.ErrUnexpectedEOF
  32554. }
  32555. b := dAtA[iNdEx]
  32556. iNdEx++
  32557. msglen |= (int(b) & 0x7F) << shift
  32558. if b < 0x80 {
  32559. break
  32560. }
  32561. }
  32562. if msglen < 0 {
  32563. return ErrInvalidLengthGenerated
  32564. }
  32565. postIndex := iNdEx + msglen
  32566. if postIndex > l {
  32567. return io.ErrUnexpectedEOF
  32568. }
  32569. m.VolumesAttached = append(m.VolumesAttached, AttachedVolume{})
  32570. if err := m.VolumesAttached[len(m.VolumesAttached)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32571. return err
  32572. }
  32573. iNdEx = postIndex
  32574. case 11:
  32575. if wireType != 2 {
  32576. return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
  32577. }
  32578. var msglen int
  32579. for shift := uint(0); ; shift += 7 {
  32580. if shift >= 64 {
  32581. return ErrIntOverflowGenerated
  32582. }
  32583. if iNdEx >= l {
  32584. return io.ErrUnexpectedEOF
  32585. }
  32586. b := dAtA[iNdEx]
  32587. iNdEx++
  32588. msglen |= (int(b) & 0x7F) << shift
  32589. if b < 0x80 {
  32590. break
  32591. }
  32592. }
  32593. if msglen < 0 {
  32594. return ErrInvalidLengthGenerated
  32595. }
  32596. postIndex := iNdEx + msglen
  32597. if postIndex > l {
  32598. return io.ErrUnexpectedEOF
  32599. }
  32600. if m.Config == nil {
  32601. m.Config = &NodeConfigStatus{}
  32602. }
  32603. if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32604. return err
  32605. }
  32606. iNdEx = postIndex
  32607. default:
  32608. iNdEx = preIndex
  32609. skippy, err := skipGenerated(dAtA[iNdEx:])
  32610. if err != nil {
  32611. return err
  32612. }
  32613. if skippy < 0 {
  32614. return ErrInvalidLengthGenerated
  32615. }
  32616. if (iNdEx + skippy) > l {
  32617. return io.ErrUnexpectedEOF
  32618. }
  32619. iNdEx += skippy
  32620. }
  32621. }
  32622. if iNdEx > l {
  32623. return io.ErrUnexpectedEOF
  32624. }
  32625. return nil
  32626. }
  32627. func (m *NodeSystemInfo) Unmarshal(dAtA []byte) error {
  32628. l := len(dAtA)
  32629. iNdEx := 0
  32630. for iNdEx < l {
  32631. preIndex := iNdEx
  32632. var wire uint64
  32633. for shift := uint(0); ; shift += 7 {
  32634. if shift >= 64 {
  32635. return ErrIntOverflowGenerated
  32636. }
  32637. if iNdEx >= l {
  32638. return io.ErrUnexpectedEOF
  32639. }
  32640. b := dAtA[iNdEx]
  32641. iNdEx++
  32642. wire |= (uint64(b) & 0x7F) << shift
  32643. if b < 0x80 {
  32644. break
  32645. }
  32646. }
  32647. fieldNum := int32(wire >> 3)
  32648. wireType := int(wire & 0x7)
  32649. if wireType == 4 {
  32650. return fmt.Errorf("proto: NodeSystemInfo: wiretype end group for non-group")
  32651. }
  32652. if fieldNum <= 0 {
  32653. return fmt.Errorf("proto: NodeSystemInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  32654. }
  32655. switch fieldNum {
  32656. case 1:
  32657. if wireType != 2 {
  32658. return fmt.Errorf("proto: wrong wireType = %d for field MachineID", wireType)
  32659. }
  32660. var stringLen uint64
  32661. for shift := uint(0); ; shift += 7 {
  32662. if shift >= 64 {
  32663. return ErrIntOverflowGenerated
  32664. }
  32665. if iNdEx >= l {
  32666. return io.ErrUnexpectedEOF
  32667. }
  32668. b := dAtA[iNdEx]
  32669. iNdEx++
  32670. stringLen |= (uint64(b) & 0x7F) << shift
  32671. if b < 0x80 {
  32672. break
  32673. }
  32674. }
  32675. intStringLen := int(stringLen)
  32676. if intStringLen < 0 {
  32677. return ErrInvalidLengthGenerated
  32678. }
  32679. postIndex := iNdEx + intStringLen
  32680. if postIndex > l {
  32681. return io.ErrUnexpectedEOF
  32682. }
  32683. m.MachineID = string(dAtA[iNdEx:postIndex])
  32684. iNdEx = postIndex
  32685. case 2:
  32686. if wireType != 2 {
  32687. return fmt.Errorf("proto: wrong wireType = %d for field SystemUUID", wireType)
  32688. }
  32689. var stringLen uint64
  32690. for shift := uint(0); ; shift += 7 {
  32691. if shift >= 64 {
  32692. return ErrIntOverflowGenerated
  32693. }
  32694. if iNdEx >= l {
  32695. return io.ErrUnexpectedEOF
  32696. }
  32697. b := dAtA[iNdEx]
  32698. iNdEx++
  32699. stringLen |= (uint64(b) & 0x7F) << shift
  32700. if b < 0x80 {
  32701. break
  32702. }
  32703. }
  32704. intStringLen := int(stringLen)
  32705. if intStringLen < 0 {
  32706. return ErrInvalidLengthGenerated
  32707. }
  32708. postIndex := iNdEx + intStringLen
  32709. if postIndex > l {
  32710. return io.ErrUnexpectedEOF
  32711. }
  32712. m.SystemUUID = string(dAtA[iNdEx:postIndex])
  32713. iNdEx = postIndex
  32714. case 3:
  32715. if wireType != 2 {
  32716. return fmt.Errorf("proto: wrong wireType = %d for field BootID", wireType)
  32717. }
  32718. var stringLen uint64
  32719. for shift := uint(0); ; shift += 7 {
  32720. if shift >= 64 {
  32721. return ErrIntOverflowGenerated
  32722. }
  32723. if iNdEx >= l {
  32724. return io.ErrUnexpectedEOF
  32725. }
  32726. b := dAtA[iNdEx]
  32727. iNdEx++
  32728. stringLen |= (uint64(b) & 0x7F) << shift
  32729. if b < 0x80 {
  32730. break
  32731. }
  32732. }
  32733. intStringLen := int(stringLen)
  32734. if intStringLen < 0 {
  32735. return ErrInvalidLengthGenerated
  32736. }
  32737. postIndex := iNdEx + intStringLen
  32738. if postIndex > l {
  32739. return io.ErrUnexpectedEOF
  32740. }
  32741. m.BootID = string(dAtA[iNdEx:postIndex])
  32742. iNdEx = postIndex
  32743. case 4:
  32744. if wireType != 2 {
  32745. return fmt.Errorf("proto: wrong wireType = %d for field KernelVersion", wireType)
  32746. }
  32747. var stringLen uint64
  32748. for shift := uint(0); ; shift += 7 {
  32749. if shift >= 64 {
  32750. return ErrIntOverflowGenerated
  32751. }
  32752. if iNdEx >= l {
  32753. return io.ErrUnexpectedEOF
  32754. }
  32755. b := dAtA[iNdEx]
  32756. iNdEx++
  32757. stringLen |= (uint64(b) & 0x7F) << shift
  32758. if b < 0x80 {
  32759. break
  32760. }
  32761. }
  32762. intStringLen := int(stringLen)
  32763. if intStringLen < 0 {
  32764. return ErrInvalidLengthGenerated
  32765. }
  32766. postIndex := iNdEx + intStringLen
  32767. if postIndex > l {
  32768. return io.ErrUnexpectedEOF
  32769. }
  32770. m.KernelVersion = string(dAtA[iNdEx:postIndex])
  32771. iNdEx = postIndex
  32772. case 5:
  32773. if wireType != 2 {
  32774. return fmt.Errorf("proto: wrong wireType = %d for field OSImage", wireType)
  32775. }
  32776. var stringLen uint64
  32777. for shift := uint(0); ; shift += 7 {
  32778. if shift >= 64 {
  32779. return ErrIntOverflowGenerated
  32780. }
  32781. if iNdEx >= l {
  32782. return io.ErrUnexpectedEOF
  32783. }
  32784. b := dAtA[iNdEx]
  32785. iNdEx++
  32786. stringLen |= (uint64(b) & 0x7F) << shift
  32787. if b < 0x80 {
  32788. break
  32789. }
  32790. }
  32791. intStringLen := int(stringLen)
  32792. if intStringLen < 0 {
  32793. return ErrInvalidLengthGenerated
  32794. }
  32795. postIndex := iNdEx + intStringLen
  32796. if postIndex > l {
  32797. return io.ErrUnexpectedEOF
  32798. }
  32799. m.OSImage = string(dAtA[iNdEx:postIndex])
  32800. iNdEx = postIndex
  32801. case 6:
  32802. if wireType != 2 {
  32803. return fmt.Errorf("proto: wrong wireType = %d for field ContainerRuntimeVersion", wireType)
  32804. }
  32805. var stringLen uint64
  32806. for shift := uint(0); ; shift += 7 {
  32807. if shift >= 64 {
  32808. return ErrIntOverflowGenerated
  32809. }
  32810. if iNdEx >= l {
  32811. return io.ErrUnexpectedEOF
  32812. }
  32813. b := dAtA[iNdEx]
  32814. iNdEx++
  32815. stringLen |= (uint64(b) & 0x7F) << shift
  32816. if b < 0x80 {
  32817. break
  32818. }
  32819. }
  32820. intStringLen := int(stringLen)
  32821. if intStringLen < 0 {
  32822. return ErrInvalidLengthGenerated
  32823. }
  32824. postIndex := iNdEx + intStringLen
  32825. if postIndex > l {
  32826. return io.ErrUnexpectedEOF
  32827. }
  32828. m.ContainerRuntimeVersion = string(dAtA[iNdEx:postIndex])
  32829. iNdEx = postIndex
  32830. case 7:
  32831. if wireType != 2 {
  32832. return fmt.Errorf("proto: wrong wireType = %d for field KubeletVersion", wireType)
  32833. }
  32834. var stringLen uint64
  32835. for shift := uint(0); ; shift += 7 {
  32836. if shift >= 64 {
  32837. return ErrIntOverflowGenerated
  32838. }
  32839. if iNdEx >= l {
  32840. return io.ErrUnexpectedEOF
  32841. }
  32842. b := dAtA[iNdEx]
  32843. iNdEx++
  32844. stringLen |= (uint64(b) & 0x7F) << shift
  32845. if b < 0x80 {
  32846. break
  32847. }
  32848. }
  32849. intStringLen := int(stringLen)
  32850. if intStringLen < 0 {
  32851. return ErrInvalidLengthGenerated
  32852. }
  32853. postIndex := iNdEx + intStringLen
  32854. if postIndex > l {
  32855. return io.ErrUnexpectedEOF
  32856. }
  32857. m.KubeletVersion = string(dAtA[iNdEx:postIndex])
  32858. iNdEx = postIndex
  32859. case 8:
  32860. if wireType != 2 {
  32861. return fmt.Errorf("proto: wrong wireType = %d for field KubeProxyVersion", wireType)
  32862. }
  32863. var stringLen uint64
  32864. for shift := uint(0); ; shift += 7 {
  32865. if shift >= 64 {
  32866. return ErrIntOverflowGenerated
  32867. }
  32868. if iNdEx >= l {
  32869. return io.ErrUnexpectedEOF
  32870. }
  32871. b := dAtA[iNdEx]
  32872. iNdEx++
  32873. stringLen |= (uint64(b) & 0x7F) << shift
  32874. if b < 0x80 {
  32875. break
  32876. }
  32877. }
  32878. intStringLen := int(stringLen)
  32879. if intStringLen < 0 {
  32880. return ErrInvalidLengthGenerated
  32881. }
  32882. postIndex := iNdEx + intStringLen
  32883. if postIndex > l {
  32884. return io.ErrUnexpectedEOF
  32885. }
  32886. m.KubeProxyVersion = string(dAtA[iNdEx:postIndex])
  32887. iNdEx = postIndex
  32888. case 9:
  32889. if wireType != 2 {
  32890. return fmt.Errorf("proto: wrong wireType = %d for field OperatingSystem", wireType)
  32891. }
  32892. var stringLen uint64
  32893. for shift := uint(0); ; shift += 7 {
  32894. if shift >= 64 {
  32895. return ErrIntOverflowGenerated
  32896. }
  32897. if iNdEx >= l {
  32898. return io.ErrUnexpectedEOF
  32899. }
  32900. b := dAtA[iNdEx]
  32901. iNdEx++
  32902. stringLen |= (uint64(b) & 0x7F) << shift
  32903. if b < 0x80 {
  32904. break
  32905. }
  32906. }
  32907. intStringLen := int(stringLen)
  32908. if intStringLen < 0 {
  32909. return ErrInvalidLengthGenerated
  32910. }
  32911. postIndex := iNdEx + intStringLen
  32912. if postIndex > l {
  32913. return io.ErrUnexpectedEOF
  32914. }
  32915. m.OperatingSystem = string(dAtA[iNdEx:postIndex])
  32916. iNdEx = postIndex
  32917. case 10:
  32918. if wireType != 2 {
  32919. return fmt.Errorf("proto: wrong wireType = %d for field Architecture", wireType)
  32920. }
  32921. var stringLen uint64
  32922. for shift := uint(0); ; shift += 7 {
  32923. if shift >= 64 {
  32924. return ErrIntOverflowGenerated
  32925. }
  32926. if iNdEx >= l {
  32927. return io.ErrUnexpectedEOF
  32928. }
  32929. b := dAtA[iNdEx]
  32930. iNdEx++
  32931. stringLen |= (uint64(b) & 0x7F) << shift
  32932. if b < 0x80 {
  32933. break
  32934. }
  32935. }
  32936. intStringLen := int(stringLen)
  32937. if intStringLen < 0 {
  32938. return ErrInvalidLengthGenerated
  32939. }
  32940. postIndex := iNdEx + intStringLen
  32941. if postIndex > l {
  32942. return io.ErrUnexpectedEOF
  32943. }
  32944. m.Architecture = string(dAtA[iNdEx:postIndex])
  32945. iNdEx = postIndex
  32946. default:
  32947. iNdEx = preIndex
  32948. skippy, err := skipGenerated(dAtA[iNdEx:])
  32949. if err != nil {
  32950. return err
  32951. }
  32952. if skippy < 0 {
  32953. return ErrInvalidLengthGenerated
  32954. }
  32955. if (iNdEx + skippy) > l {
  32956. return io.ErrUnexpectedEOF
  32957. }
  32958. iNdEx += skippy
  32959. }
  32960. }
  32961. if iNdEx > l {
  32962. return io.ErrUnexpectedEOF
  32963. }
  32964. return nil
  32965. }
  32966. func (m *ObjectFieldSelector) Unmarshal(dAtA []byte) error {
  32967. l := len(dAtA)
  32968. iNdEx := 0
  32969. for iNdEx < l {
  32970. preIndex := iNdEx
  32971. var wire uint64
  32972. for shift := uint(0); ; shift += 7 {
  32973. if shift >= 64 {
  32974. return ErrIntOverflowGenerated
  32975. }
  32976. if iNdEx >= l {
  32977. return io.ErrUnexpectedEOF
  32978. }
  32979. b := dAtA[iNdEx]
  32980. iNdEx++
  32981. wire |= (uint64(b) & 0x7F) << shift
  32982. if b < 0x80 {
  32983. break
  32984. }
  32985. }
  32986. fieldNum := int32(wire >> 3)
  32987. wireType := int(wire & 0x7)
  32988. if wireType == 4 {
  32989. return fmt.Errorf("proto: ObjectFieldSelector: wiretype end group for non-group")
  32990. }
  32991. if fieldNum <= 0 {
  32992. return fmt.Errorf("proto: ObjectFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  32993. }
  32994. switch fieldNum {
  32995. case 1:
  32996. if wireType != 2 {
  32997. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  32998. }
  32999. var stringLen uint64
  33000. for shift := uint(0); ; shift += 7 {
  33001. if shift >= 64 {
  33002. return ErrIntOverflowGenerated
  33003. }
  33004. if iNdEx >= l {
  33005. return io.ErrUnexpectedEOF
  33006. }
  33007. b := dAtA[iNdEx]
  33008. iNdEx++
  33009. stringLen |= (uint64(b) & 0x7F) << shift
  33010. if b < 0x80 {
  33011. break
  33012. }
  33013. }
  33014. intStringLen := int(stringLen)
  33015. if intStringLen < 0 {
  33016. return ErrInvalidLengthGenerated
  33017. }
  33018. postIndex := iNdEx + intStringLen
  33019. if postIndex > l {
  33020. return io.ErrUnexpectedEOF
  33021. }
  33022. m.APIVersion = string(dAtA[iNdEx:postIndex])
  33023. iNdEx = postIndex
  33024. case 2:
  33025. if wireType != 2 {
  33026. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  33027. }
  33028. var stringLen uint64
  33029. for shift := uint(0); ; shift += 7 {
  33030. if shift >= 64 {
  33031. return ErrIntOverflowGenerated
  33032. }
  33033. if iNdEx >= l {
  33034. return io.ErrUnexpectedEOF
  33035. }
  33036. b := dAtA[iNdEx]
  33037. iNdEx++
  33038. stringLen |= (uint64(b) & 0x7F) << shift
  33039. if b < 0x80 {
  33040. break
  33041. }
  33042. }
  33043. intStringLen := int(stringLen)
  33044. if intStringLen < 0 {
  33045. return ErrInvalidLengthGenerated
  33046. }
  33047. postIndex := iNdEx + intStringLen
  33048. if postIndex > l {
  33049. return io.ErrUnexpectedEOF
  33050. }
  33051. m.FieldPath = string(dAtA[iNdEx:postIndex])
  33052. iNdEx = postIndex
  33053. default:
  33054. iNdEx = preIndex
  33055. skippy, err := skipGenerated(dAtA[iNdEx:])
  33056. if err != nil {
  33057. return err
  33058. }
  33059. if skippy < 0 {
  33060. return ErrInvalidLengthGenerated
  33061. }
  33062. if (iNdEx + skippy) > l {
  33063. return io.ErrUnexpectedEOF
  33064. }
  33065. iNdEx += skippy
  33066. }
  33067. }
  33068. if iNdEx > l {
  33069. return io.ErrUnexpectedEOF
  33070. }
  33071. return nil
  33072. }
  33073. func (m *ObjectReference) Unmarshal(dAtA []byte) error {
  33074. l := len(dAtA)
  33075. iNdEx := 0
  33076. for iNdEx < l {
  33077. preIndex := iNdEx
  33078. var wire uint64
  33079. for shift := uint(0); ; shift += 7 {
  33080. if shift >= 64 {
  33081. return ErrIntOverflowGenerated
  33082. }
  33083. if iNdEx >= l {
  33084. return io.ErrUnexpectedEOF
  33085. }
  33086. b := dAtA[iNdEx]
  33087. iNdEx++
  33088. wire |= (uint64(b) & 0x7F) << shift
  33089. if b < 0x80 {
  33090. break
  33091. }
  33092. }
  33093. fieldNum := int32(wire >> 3)
  33094. wireType := int(wire & 0x7)
  33095. if wireType == 4 {
  33096. return fmt.Errorf("proto: ObjectReference: wiretype end group for non-group")
  33097. }
  33098. if fieldNum <= 0 {
  33099. return fmt.Errorf("proto: ObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  33100. }
  33101. switch fieldNum {
  33102. case 1:
  33103. if wireType != 2 {
  33104. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  33105. }
  33106. var stringLen uint64
  33107. for shift := uint(0); ; shift += 7 {
  33108. if shift >= 64 {
  33109. return ErrIntOverflowGenerated
  33110. }
  33111. if iNdEx >= l {
  33112. return io.ErrUnexpectedEOF
  33113. }
  33114. b := dAtA[iNdEx]
  33115. iNdEx++
  33116. stringLen |= (uint64(b) & 0x7F) << shift
  33117. if b < 0x80 {
  33118. break
  33119. }
  33120. }
  33121. intStringLen := int(stringLen)
  33122. if intStringLen < 0 {
  33123. return ErrInvalidLengthGenerated
  33124. }
  33125. postIndex := iNdEx + intStringLen
  33126. if postIndex > l {
  33127. return io.ErrUnexpectedEOF
  33128. }
  33129. m.Kind = string(dAtA[iNdEx:postIndex])
  33130. iNdEx = postIndex
  33131. case 2:
  33132. if wireType != 2 {
  33133. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  33134. }
  33135. var stringLen uint64
  33136. for shift := uint(0); ; shift += 7 {
  33137. if shift >= 64 {
  33138. return ErrIntOverflowGenerated
  33139. }
  33140. if iNdEx >= l {
  33141. return io.ErrUnexpectedEOF
  33142. }
  33143. b := dAtA[iNdEx]
  33144. iNdEx++
  33145. stringLen |= (uint64(b) & 0x7F) << shift
  33146. if b < 0x80 {
  33147. break
  33148. }
  33149. }
  33150. intStringLen := int(stringLen)
  33151. if intStringLen < 0 {
  33152. return ErrInvalidLengthGenerated
  33153. }
  33154. postIndex := iNdEx + intStringLen
  33155. if postIndex > l {
  33156. return io.ErrUnexpectedEOF
  33157. }
  33158. m.Namespace = string(dAtA[iNdEx:postIndex])
  33159. iNdEx = postIndex
  33160. case 3:
  33161. if wireType != 2 {
  33162. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  33163. }
  33164. var stringLen uint64
  33165. for shift := uint(0); ; shift += 7 {
  33166. if shift >= 64 {
  33167. return ErrIntOverflowGenerated
  33168. }
  33169. if iNdEx >= l {
  33170. return io.ErrUnexpectedEOF
  33171. }
  33172. b := dAtA[iNdEx]
  33173. iNdEx++
  33174. stringLen |= (uint64(b) & 0x7F) << shift
  33175. if b < 0x80 {
  33176. break
  33177. }
  33178. }
  33179. intStringLen := int(stringLen)
  33180. if intStringLen < 0 {
  33181. return ErrInvalidLengthGenerated
  33182. }
  33183. postIndex := iNdEx + intStringLen
  33184. if postIndex > l {
  33185. return io.ErrUnexpectedEOF
  33186. }
  33187. m.Name = string(dAtA[iNdEx:postIndex])
  33188. iNdEx = postIndex
  33189. case 4:
  33190. if wireType != 2 {
  33191. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  33192. }
  33193. var stringLen uint64
  33194. for shift := uint(0); ; shift += 7 {
  33195. if shift >= 64 {
  33196. return ErrIntOverflowGenerated
  33197. }
  33198. if iNdEx >= l {
  33199. return io.ErrUnexpectedEOF
  33200. }
  33201. b := dAtA[iNdEx]
  33202. iNdEx++
  33203. stringLen |= (uint64(b) & 0x7F) << shift
  33204. if b < 0x80 {
  33205. break
  33206. }
  33207. }
  33208. intStringLen := int(stringLen)
  33209. if intStringLen < 0 {
  33210. return ErrInvalidLengthGenerated
  33211. }
  33212. postIndex := iNdEx + intStringLen
  33213. if postIndex > l {
  33214. return io.ErrUnexpectedEOF
  33215. }
  33216. m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  33217. iNdEx = postIndex
  33218. case 5:
  33219. if wireType != 2 {
  33220. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  33221. }
  33222. var stringLen uint64
  33223. for shift := uint(0); ; shift += 7 {
  33224. if shift >= 64 {
  33225. return ErrIntOverflowGenerated
  33226. }
  33227. if iNdEx >= l {
  33228. return io.ErrUnexpectedEOF
  33229. }
  33230. b := dAtA[iNdEx]
  33231. iNdEx++
  33232. stringLen |= (uint64(b) & 0x7F) << shift
  33233. if b < 0x80 {
  33234. break
  33235. }
  33236. }
  33237. intStringLen := int(stringLen)
  33238. if intStringLen < 0 {
  33239. return ErrInvalidLengthGenerated
  33240. }
  33241. postIndex := iNdEx + intStringLen
  33242. if postIndex > l {
  33243. return io.ErrUnexpectedEOF
  33244. }
  33245. m.APIVersion = string(dAtA[iNdEx:postIndex])
  33246. iNdEx = postIndex
  33247. case 6:
  33248. if wireType != 2 {
  33249. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  33250. }
  33251. var stringLen uint64
  33252. for shift := uint(0); ; shift += 7 {
  33253. if shift >= 64 {
  33254. return ErrIntOverflowGenerated
  33255. }
  33256. if iNdEx >= l {
  33257. return io.ErrUnexpectedEOF
  33258. }
  33259. b := dAtA[iNdEx]
  33260. iNdEx++
  33261. stringLen |= (uint64(b) & 0x7F) << shift
  33262. if b < 0x80 {
  33263. break
  33264. }
  33265. }
  33266. intStringLen := int(stringLen)
  33267. if intStringLen < 0 {
  33268. return ErrInvalidLengthGenerated
  33269. }
  33270. postIndex := iNdEx + intStringLen
  33271. if postIndex > l {
  33272. return io.ErrUnexpectedEOF
  33273. }
  33274. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  33275. iNdEx = postIndex
  33276. case 7:
  33277. if wireType != 2 {
  33278. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  33279. }
  33280. var stringLen uint64
  33281. for shift := uint(0); ; shift += 7 {
  33282. if shift >= 64 {
  33283. return ErrIntOverflowGenerated
  33284. }
  33285. if iNdEx >= l {
  33286. return io.ErrUnexpectedEOF
  33287. }
  33288. b := dAtA[iNdEx]
  33289. iNdEx++
  33290. stringLen |= (uint64(b) & 0x7F) << shift
  33291. if b < 0x80 {
  33292. break
  33293. }
  33294. }
  33295. intStringLen := int(stringLen)
  33296. if intStringLen < 0 {
  33297. return ErrInvalidLengthGenerated
  33298. }
  33299. postIndex := iNdEx + intStringLen
  33300. if postIndex > l {
  33301. return io.ErrUnexpectedEOF
  33302. }
  33303. m.FieldPath = string(dAtA[iNdEx:postIndex])
  33304. iNdEx = postIndex
  33305. default:
  33306. iNdEx = preIndex
  33307. skippy, err := skipGenerated(dAtA[iNdEx:])
  33308. if err != nil {
  33309. return err
  33310. }
  33311. if skippy < 0 {
  33312. return ErrInvalidLengthGenerated
  33313. }
  33314. if (iNdEx + skippy) > l {
  33315. return io.ErrUnexpectedEOF
  33316. }
  33317. iNdEx += skippy
  33318. }
  33319. }
  33320. if iNdEx > l {
  33321. return io.ErrUnexpectedEOF
  33322. }
  33323. return nil
  33324. }
  33325. func (m *PersistentVolume) Unmarshal(dAtA []byte) error {
  33326. l := len(dAtA)
  33327. iNdEx := 0
  33328. for iNdEx < l {
  33329. preIndex := iNdEx
  33330. var wire uint64
  33331. for shift := uint(0); ; shift += 7 {
  33332. if shift >= 64 {
  33333. return ErrIntOverflowGenerated
  33334. }
  33335. if iNdEx >= l {
  33336. return io.ErrUnexpectedEOF
  33337. }
  33338. b := dAtA[iNdEx]
  33339. iNdEx++
  33340. wire |= (uint64(b) & 0x7F) << shift
  33341. if b < 0x80 {
  33342. break
  33343. }
  33344. }
  33345. fieldNum := int32(wire >> 3)
  33346. wireType := int(wire & 0x7)
  33347. if wireType == 4 {
  33348. return fmt.Errorf("proto: PersistentVolume: wiretype end group for non-group")
  33349. }
  33350. if fieldNum <= 0 {
  33351. return fmt.Errorf("proto: PersistentVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  33352. }
  33353. switch fieldNum {
  33354. case 1:
  33355. if wireType != 2 {
  33356. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  33357. }
  33358. var msglen int
  33359. for shift := uint(0); ; shift += 7 {
  33360. if shift >= 64 {
  33361. return ErrIntOverflowGenerated
  33362. }
  33363. if iNdEx >= l {
  33364. return io.ErrUnexpectedEOF
  33365. }
  33366. b := dAtA[iNdEx]
  33367. iNdEx++
  33368. msglen |= (int(b) & 0x7F) << shift
  33369. if b < 0x80 {
  33370. break
  33371. }
  33372. }
  33373. if msglen < 0 {
  33374. return ErrInvalidLengthGenerated
  33375. }
  33376. postIndex := iNdEx + msglen
  33377. if postIndex > l {
  33378. return io.ErrUnexpectedEOF
  33379. }
  33380. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33381. return err
  33382. }
  33383. iNdEx = postIndex
  33384. case 2:
  33385. if wireType != 2 {
  33386. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  33387. }
  33388. var msglen int
  33389. for shift := uint(0); ; shift += 7 {
  33390. if shift >= 64 {
  33391. return ErrIntOverflowGenerated
  33392. }
  33393. if iNdEx >= l {
  33394. return io.ErrUnexpectedEOF
  33395. }
  33396. b := dAtA[iNdEx]
  33397. iNdEx++
  33398. msglen |= (int(b) & 0x7F) << shift
  33399. if b < 0x80 {
  33400. break
  33401. }
  33402. }
  33403. if msglen < 0 {
  33404. return ErrInvalidLengthGenerated
  33405. }
  33406. postIndex := iNdEx + msglen
  33407. if postIndex > l {
  33408. return io.ErrUnexpectedEOF
  33409. }
  33410. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33411. return err
  33412. }
  33413. iNdEx = postIndex
  33414. case 3:
  33415. if wireType != 2 {
  33416. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  33417. }
  33418. var msglen int
  33419. for shift := uint(0); ; shift += 7 {
  33420. if shift >= 64 {
  33421. return ErrIntOverflowGenerated
  33422. }
  33423. if iNdEx >= l {
  33424. return io.ErrUnexpectedEOF
  33425. }
  33426. b := dAtA[iNdEx]
  33427. iNdEx++
  33428. msglen |= (int(b) & 0x7F) << shift
  33429. if b < 0x80 {
  33430. break
  33431. }
  33432. }
  33433. if msglen < 0 {
  33434. return ErrInvalidLengthGenerated
  33435. }
  33436. postIndex := iNdEx + msglen
  33437. if postIndex > l {
  33438. return io.ErrUnexpectedEOF
  33439. }
  33440. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33441. return err
  33442. }
  33443. iNdEx = postIndex
  33444. default:
  33445. iNdEx = preIndex
  33446. skippy, err := skipGenerated(dAtA[iNdEx:])
  33447. if err != nil {
  33448. return err
  33449. }
  33450. if skippy < 0 {
  33451. return ErrInvalidLengthGenerated
  33452. }
  33453. if (iNdEx + skippy) > l {
  33454. return io.ErrUnexpectedEOF
  33455. }
  33456. iNdEx += skippy
  33457. }
  33458. }
  33459. if iNdEx > l {
  33460. return io.ErrUnexpectedEOF
  33461. }
  33462. return nil
  33463. }
  33464. func (m *PersistentVolumeClaim) Unmarshal(dAtA []byte) error {
  33465. l := len(dAtA)
  33466. iNdEx := 0
  33467. for iNdEx < l {
  33468. preIndex := iNdEx
  33469. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  33480. if b < 0x80 {
  33481. break
  33482. }
  33483. }
  33484. fieldNum := int32(wire >> 3)
  33485. wireType := int(wire & 0x7)
  33486. if wireType == 4 {
  33487. return fmt.Errorf("proto: PersistentVolumeClaim: wiretype end group for non-group")
  33488. }
  33489. if fieldNum <= 0 {
  33490. return fmt.Errorf("proto: PersistentVolumeClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  33491. }
  33492. switch fieldNum {
  33493. case 1:
  33494. if wireType != 2 {
  33495. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  33496. }
  33497. var msglen int
  33498. for shift := uint(0); ; shift += 7 {
  33499. if shift >= 64 {
  33500. return ErrIntOverflowGenerated
  33501. }
  33502. if iNdEx >= l {
  33503. return io.ErrUnexpectedEOF
  33504. }
  33505. b := dAtA[iNdEx]
  33506. iNdEx++
  33507. msglen |= (int(b) & 0x7F) << shift
  33508. if b < 0x80 {
  33509. break
  33510. }
  33511. }
  33512. if msglen < 0 {
  33513. return ErrInvalidLengthGenerated
  33514. }
  33515. postIndex := iNdEx + msglen
  33516. if postIndex > l {
  33517. return io.ErrUnexpectedEOF
  33518. }
  33519. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33520. return err
  33521. }
  33522. iNdEx = postIndex
  33523. case 2:
  33524. if wireType != 2 {
  33525. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  33526. }
  33527. var msglen int
  33528. for shift := uint(0); ; shift += 7 {
  33529. if shift >= 64 {
  33530. return ErrIntOverflowGenerated
  33531. }
  33532. if iNdEx >= l {
  33533. return io.ErrUnexpectedEOF
  33534. }
  33535. b := dAtA[iNdEx]
  33536. iNdEx++
  33537. msglen |= (int(b) & 0x7F) << shift
  33538. if b < 0x80 {
  33539. break
  33540. }
  33541. }
  33542. if msglen < 0 {
  33543. return ErrInvalidLengthGenerated
  33544. }
  33545. postIndex := iNdEx + msglen
  33546. if postIndex > l {
  33547. return io.ErrUnexpectedEOF
  33548. }
  33549. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33550. return err
  33551. }
  33552. iNdEx = postIndex
  33553. case 3:
  33554. if wireType != 2 {
  33555. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  33556. }
  33557. var msglen int
  33558. for shift := uint(0); ; shift += 7 {
  33559. if shift >= 64 {
  33560. return ErrIntOverflowGenerated
  33561. }
  33562. if iNdEx >= l {
  33563. return io.ErrUnexpectedEOF
  33564. }
  33565. b := dAtA[iNdEx]
  33566. iNdEx++
  33567. msglen |= (int(b) & 0x7F) << shift
  33568. if b < 0x80 {
  33569. break
  33570. }
  33571. }
  33572. if msglen < 0 {
  33573. return ErrInvalidLengthGenerated
  33574. }
  33575. postIndex := iNdEx + msglen
  33576. if postIndex > l {
  33577. return io.ErrUnexpectedEOF
  33578. }
  33579. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33580. return err
  33581. }
  33582. iNdEx = postIndex
  33583. default:
  33584. iNdEx = preIndex
  33585. skippy, err := skipGenerated(dAtA[iNdEx:])
  33586. if err != nil {
  33587. return err
  33588. }
  33589. if skippy < 0 {
  33590. return ErrInvalidLengthGenerated
  33591. }
  33592. if (iNdEx + skippy) > l {
  33593. return io.ErrUnexpectedEOF
  33594. }
  33595. iNdEx += skippy
  33596. }
  33597. }
  33598. if iNdEx > l {
  33599. return io.ErrUnexpectedEOF
  33600. }
  33601. return nil
  33602. }
  33603. func (m *PersistentVolumeClaimCondition) Unmarshal(dAtA []byte) error {
  33604. l := len(dAtA)
  33605. iNdEx := 0
  33606. for iNdEx < l {
  33607. preIndex := iNdEx
  33608. var wire uint64
  33609. for shift := uint(0); ; shift += 7 {
  33610. if shift >= 64 {
  33611. return ErrIntOverflowGenerated
  33612. }
  33613. if iNdEx >= l {
  33614. return io.ErrUnexpectedEOF
  33615. }
  33616. b := dAtA[iNdEx]
  33617. iNdEx++
  33618. wire |= (uint64(b) & 0x7F) << shift
  33619. if b < 0x80 {
  33620. break
  33621. }
  33622. }
  33623. fieldNum := int32(wire >> 3)
  33624. wireType := int(wire & 0x7)
  33625. if wireType == 4 {
  33626. return fmt.Errorf("proto: PersistentVolumeClaimCondition: wiretype end group for non-group")
  33627. }
  33628. if fieldNum <= 0 {
  33629. return fmt.Errorf("proto: PersistentVolumeClaimCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  33630. }
  33631. switch fieldNum {
  33632. case 1:
  33633. if wireType != 2 {
  33634. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  33635. }
  33636. var stringLen uint64
  33637. for shift := uint(0); ; shift += 7 {
  33638. if shift >= 64 {
  33639. return ErrIntOverflowGenerated
  33640. }
  33641. if iNdEx >= l {
  33642. return io.ErrUnexpectedEOF
  33643. }
  33644. b := dAtA[iNdEx]
  33645. iNdEx++
  33646. stringLen |= (uint64(b) & 0x7F) << shift
  33647. if b < 0x80 {
  33648. break
  33649. }
  33650. }
  33651. intStringLen := int(stringLen)
  33652. if intStringLen < 0 {
  33653. return ErrInvalidLengthGenerated
  33654. }
  33655. postIndex := iNdEx + intStringLen
  33656. if postIndex > l {
  33657. return io.ErrUnexpectedEOF
  33658. }
  33659. m.Type = PersistentVolumeClaimConditionType(dAtA[iNdEx:postIndex])
  33660. iNdEx = postIndex
  33661. case 2:
  33662. if wireType != 2 {
  33663. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  33664. }
  33665. var stringLen uint64
  33666. for shift := uint(0); ; shift += 7 {
  33667. if shift >= 64 {
  33668. return ErrIntOverflowGenerated
  33669. }
  33670. if iNdEx >= l {
  33671. return io.ErrUnexpectedEOF
  33672. }
  33673. b := dAtA[iNdEx]
  33674. iNdEx++
  33675. stringLen |= (uint64(b) & 0x7F) << shift
  33676. if b < 0x80 {
  33677. break
  33678. }
  33679. }
  33680. intStringLen := int(stringLen)
  33681. if intStringLen < 0 {
  33682. return ErrInvalidLengthGenerated
  33683. }
  33684. postIndex := iNdEx + intStringLen
  33685. if postIndex > l {
  33686. return io.ErrUnexpectedEOF
  33687. }
  33688. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  33689. iNdEx = postIndex
  33690. case 3:
  33691. if wireType != 2 {
  33692. return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  33693. }
  33694. var msglen int
  33695. for shift := uint(0); ; shift += 7 {
  33696. if shift >= 64 {
  33697. return ErrIntOverflowGenerated
  33698. }
  33699. if iNdEx >= l {
  33700. return io.ErrUnexpectedEOF
  33701. }
  33702. b := dAtA[iNdEx]
  33703. iNdEx++
  33704. msglen |= (int(b) & 0x7F) << shift
  33705. if b < 0x80 {
  33706. break
  33707. }
  33708. }
  33709. if msglen < 0 {
  33710. return ErrInvalidLengthGenerated
  33711. }
  33712. postIndex := iNdEx + msglen
  33713. if postIndex > l {
  33714. return io.ErrUnexpectedEOF
  33715. }
  33716. if err := m.LastProbeTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33717. return err
  33718. }
  33719. iNdEx = postIndex
  33720. case 4:
  33721. if wireType != 2 {
  33722. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  33723. }
  33724. var msglen int
  33725. for shift := uint(0); ; shift += 7 {
  33726. if shift >= 64 {
  33727. return ErrIntOverflowGenerated
  33728. }
  33729. if iNdEx >= l {
  33730. return io.ErrUnexpectedEOF
  33731. }
  33732. b := dAtA[iNdEx]
  33733. iNdEx++
  33734. msglen |= (int(b) & 0x7F) << shift
  33735. if b < 0x80 {
  33736. break
  33737. }
  33738. }
  33739. if msglen < 0 {
  33740. return ErrInvalidLengthGenerated
  33741. }
  33742. postIndex := iNdEx + msglen
  33743. if postIndex > l {
  33744. return io.ErrUnexpectedEOF
  33745. }
  33746. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33747. return err
  33748. }
  33749. iNdEx = postIndex
  33750. case 5:
  33751. if wireType != 2 {
  33752. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  33753. }
  33754. var stringLen uint64
  33755. for shift := uint(0); ; shift += 7 {
  33756. if shift >= 64 {
  33757. return ErrIntOverflowGenerated
  33758. }
  33759. if iNdEx >= l {
  33760. return io.ErrUnexpectedEOF
  33761. }
  33762. b := dAtA[iNdEx]
  33763. iNdEx++
  33764. stringLen |= (uint64(b) & 0x7F) << shift
  33765. if b < 0x80 {
  33766. break
  33767. }
  33768. }
  33769. intStringLen := int(stringLen)
  33770. if intStringLen < 0 {
  33771. return ErrInvalidLengthGenerated
  33772. }
  33773. postIndex := iNdEx + intStringLen
  33774. if postIndex > l {
  33775. return io.ErrUnexpectedEOF
  33776. }
  33777. m.Reason = string(dAtA[iNdEx:postIndex])
  33778. iNdEx = postIndex
  33779. case 6:
  33780. if wireType != 2 {
  33781. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  33782. }
  33783. var stringLen uint64
  33784. for shift := uint(0); ; shift += 7 {
  33785. if shift >= 64 {
  33786. return ErrIntOverflowGenerated
  33787. }
  33788. if iNdEx >= l {
  33789. return io.ErrUnexpectedEOF
  33790. }
  33791. b := dAtA[iNdEx]
  33792. iNdEx++
  33793. stringLen |= (uint64(b) & 0x7F) << shift
  33794. if b < 0x80 {
  33795. break
  33796. }
  33797. }
  33798. intStringLen := int(stringLen)
  33799. if intStringLen < 0 {
  33800. return ErrInvalidLengthGenerated
  33801. }
  33802. postIndex := iNdEx + intStringLen
  33803. if postIndex > l {
  33804. return io.ErrUnexpectedEOF
  33805. }
  33806. m.Message = string(dAtA[iNdEx:postIndex])
  33807. iNdEx = postIndex
  33808. default:
  33809. iNdEx = preIndex
  33810. skippy, err := skipGenerated(dAtA[iNdEx:])
  33811. if err != nil {
  33812. return err
  33813. }
  33814. if skippy < 0 {
  33815. return ErrInvalidLengthGenerated
  33816. }
  33817. if (iNdEx + skippy) > l {
  33818. return io.ErrUnexpectedEOF
  33819. }
  33820. iNdEx += skippy
  33821. }
  33822. }
  33823. if iNdEx > l {
  33824. return io.ErrUnexpectedEOF
  33825. }
  33826. return nil
  33827. }
  33828. func (m *PersistentVolumeClaimList) Unmarshal(dAtA []byte) error {
  33829. l := len(dAtA)
  33830. iNdEx := 0
  33831. for iNdEx < l {
  33832. preIndex := iNdEx
  33833. var wire uint64
  33834. for shift := uint(0); ; shift += 7 {
  33835. if shift >= 64 {
  33836. return ErrIntOverflowGenerated
  33837. }
  33838. if iNdEx >= l {
  33839. return io.ErrUnexpectedEOF
  33840. }
  33841. b := dAtA[iNdEx]
  33842. iNdEx++
  33843. wire |= (uint64(b) & 0x7F) << shift
  33844. if b < 0x80 {
  33845. break
  33846. }
  33847. }
  33848. fieldNum := int32(wire >> 3)
  33849. wireType := int(wire & 0x7)
  33850. if wireType == 4 {
  33851. return fmt.Errorf("proto: PersistentVolumeClaimList: wiretype end group for non-group")
  33852. }
  33853. if fieldNum <= 0 {
  33854. return fmt.Errorf("proto: PersistentVolumeClaimList: illegal tag %d (wire type %d)", fieldNum, wire)
  33855. }
  33856. switch fieldNum {
  33857. case 1:
  33858. if wireType != 2 {
  33859. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  33860. }
  33861. var msglen int
  33862. for shift := uint(0); ; shift += 7 {
  33863. if shift >= 64 {
  33864. return ErrIntOverflowGenerated
  33865. }
  33866. if iNdEx >= l {
  33867. return io.ErrUnexpectedEOF
  33868. }
  33869. b := dAtA[iNdEx]
  33870. iNdEx++
  33871. msglen |= (int(b) & 0x7F) << shift
  33872. if b < 0x80 {
  33873. break
  33874. }
  33875. }
  33876. if msglen < 0 {
  33877. return ErrInvalidLengthGenerated
  33878. }
  33879. postIndex := iNdEx + msglen
  33880. if postIndex > l {
  33881. return io.ErrUnexpectedEOF
  33882. }
  33883. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33884. return err
  33885. }
  33886. iNdEx = postIndex
  33887. case 2:
  33888. if wireType != 2 {
  33889. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  33890. }
  33891. var msglen int
  33892. for shift := uint(0); ; shift += 7 {
  33893. if shift >= 64 {
  33894. return ErrIntOverflowGenerated
  33895. }
  33896. if iNdEx >= l {
  33897. return io.ErrUnexpectedEOF
  33898. }
  33899. b := dAtA[iNdEx]
  33900. iNdEx++
  33901. msglen |= (int(b) & 0x7F) << shift
  33902. if b < 0x80 {
  33903. break
  33904. }
  33905. }
  33906. if msglen < 0 {
  33907. return ErrInvalidLengthGenerated
  33908. }
  33909. postIndex := iNdEx + msglen
  33910. if postIndex > l {
  33911. return io.ErrUnexpectedEOF
  33912. }
  33913. m.Items = append(m.Items, PersistentVolumeClaim{})
  33914. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33915. return err
  33916. }
  33917. iNdEx = postIndex
  33918. default:
  33919. iNdEx = preIndex
  33920. skippy, err := skipGenerated(dAtA[iNdEx:])
  33921. if err != nil {
  33922. return err
  33923. }
  33924. if skippy < 0 {
  33925. return ErrInvalidLengthGenerated
  33926. }
  33927. if (iNdEx + skippy) > l {
  33928. return io.ErrUnexpectedEOF
  33929. }
  33930. iNdEx += skippy
  33931. }
  33932. }
  33933. if iNdEx > l {
  33934. return io.ErrUnexpectedEOF
  33935. }
  33936. return nil
  33937. }
  33938. func (m *PersistentVolumeClaimSpec) Unmarshal(dAtA []byte) error {
  33939. l := len(dAtA)
  33940. iNdEx := 0
  33941. for iNdEx < l {
  33942. preIndex := iNdEx
  33943. var wire uint64
  33944. for shift := uint(0); ; shift += 7 {
  33945. if shift >= 64 {
  33946. return ErrIntOverflowGenerated
  33947. }
  33948. if iNdEx >= l {
  33949. return io.ErrUnexpectedEOF
  33950. }
  33951. b := dAtA[iNdEx]
  33952. iNdEx++
  33953. wire |= (uint64(b) & 0x7F) << shift
  33954. if b < 0x80 {
  33955. break
  33956. }
  33957. }
  33958. fieldNum := int32(wire >> 3)
  33959. wireType := int(wire & 0x7)
  33960. if wireType == 4 {
  33961. return fmt.Errorf("proto: PersistentVolumeClaimSpec: wiretype end group for non-group")
  33962. }
  33963. if fieldNum <= 0 {
  33964. return fmt.Errorf("proto: PersistentVolumeClaimSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  33965. }
  33966. switch fieldNum {
  33967. case 1:
  33968. if wireType != 2 {
  33969. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  33970. }
  33971. var stringLen uint64
  33972. for shift := uint(0); ; shift += 7 {
  33973. if shift >= 64 {
  33974. return ErrIntOverflowGenerated
  33975. }
  33976. if iNdEx >= l {
  33977. return io.ErrUnexpectedEOF
  33978. }
  33979. b := dAtA[iNdEx]
  33980. iNdEx++
  33981. stringLen |= (uint64(b) & 0x7F) << shift
  33982. if b < 0x80 {
  33983. break
  33984. }
  33985. }
  33986. intStringLen := int(stringLen)
  33987. if intStringLen < 0 {
  33988. return ErrInvalidLengthGenerated
  33989. }
  33990. postIndex := iNdEx + intStringLen
  33991. if postIndex > l {
  33992. return io.ErrUnexpectedEOF
  33993. }
  33994. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(dAtA[iNdEx:postIndex]))
  33995. iNdEx = postIndex
  33996. case 2:
  33997. if wireType != 2 {
  33998. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  33999. }
  34000. var msglen int
  34001. for shift := uint(0); ; shift += 7 {
  34002. if shift >= 64 {
  34003. return ErrIntOverflowGenerated
  34004. }
  34005. if iNdEx >= l {
  34006. return io.ErrUnexpectedEOF
  34007. }
  34008. b := dAtA[iNdEx]
  34009. iNdEx++
  34010. msglen |= (int(b) & 0x7F) << shift
  34011. if b < 0x80 {
  34012. break
  34013. }
  34014. }
  34015. if msglen < 0 {
  34016. return ErrInvalidLengthGenerated
  34017. }
  34018. postIndex := iNdEx + msglen
  34019. if postIndex > l {
  34020. return io.ErrUnexpectedEOF
  34021. }
  34022. if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34023. return err
  34024. }
  34025. iNdEx = postIndex
  34026. case 3:
  34027. if wireType != 2 {
  34028. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  34029. }
  34030. var stringLen uint64
  34031. for shift := uint(0); ; shift += 7 {
  34032. if shift >= 64 {
  34033. return ErrIntOverflowGenerated
  34034. }
  34035. if iNdEx >= l {
  34036. return io.ErrUnexpectedEOF
  34037. }
  34038. b := dAtA[iNdEx]
  34039. iNdEx++
  34040. stringLen |= (uint64(b) & 0x7F) << shift
  34041. if b < 0x80 {
  34042. break
  34043. }
  34044. }
  34045. intStringLen := int(stringLen)
  34046. if intStringLen < 0 {
  34047. return ErrInvalidLengthGenerated
  34048. }
  34049. postIndex := iNdEx + intStringLen
  34050. if postIndex > l {
  34051. return io.ErrUnexpectedEOF
  34052. }
  34053. m.VolumeName = string(dAtA[iNdEx:postIndex])
  34054. iNdEx = postIndex
  34055. case 4:
  34056. if wireType != 2 {
  34057. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  34058. }
  34059. var msglen int
  34060. for shift := uint(0); ; shift += 7 {
  34061. if shift >= 64 {
  34062. return ErrIntOverflowGenerated
  34063. }
  34064. if iNdEx >= l {
  34065. return io.ErrUnexpectedEOF
  34066. }
  34067. b := dAtA[iNdEx]
  34068. iNdEx++
  34069. msglen |= (int(b) & 0x7F) << shift
  34070. if b < 0x80 {
  34071. break
  34072. }
  34073. }
  34074. if msglen < 0 {
  34075. return ErrInvalidLengthGenerated
  34076. }
  34077. postIndex := iNdEx + msglen
  34078. if postIndex > l {
  34079. return io.ErrUnexpectedEOF
  34080. }
  34081. if m.Selector == nil {
  34082. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  34083. }
  34084. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34085. return err
  34086. }
  34087. iNdEx = postIndex
  34088. case 5:
  34089. if wireType != 2 {
  34090. return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType)
  34091. }
  34092. var stringLen uint64
  34093. for shift := uint(0); ; shift += 7 {
  34094. if shift >= 64 {
  34095. return ErrIntOverflowGenerated
  34096. }
  34097. if iNdEx >= l {
  34098. return io.ErrUnexpectedEOF
  34099. }
  34100. b := dAtA[iNdEx]
  34101. iNdEx++
  34102. stringLen |= (uint64(b) & 0x7F) << shift
  34103. if b < 0x80 {
  34104. break
  34105. }
  34106. }
  34107. intStringLen := int(stringLen)
  34108. if intStringLen < 0 {
  34109. return ErrInvalidLengthGenerated
  34110. }
  34111. postIndex := iNdEx + intStringLen
  34112. if postIndex > l {
  34113. return io.ErrUnexpectedEOF
  34114. }
  34115. s := string(dAtA[iNdEx:postIndex])
  34116. m.StorageClassName = &s
  34117. iNdEx = postIndex
  34118. case 6:
  34119. if wireType != 2 {
  34120. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMode", wireType)
  34121. }
  34122. var stringLen uint64
  34123. for shift := uint(0); ; shift += 7 {
  34124. if shift >= 64 {
  34125. return ErrIntOverflowGenerated
  34126. }
  34127. if iNdEx >= l {
  34128. return io.ErrUnexpectedEOF
  34129. }
  34130. b := dAtA[iNdEx]
  34131. iNdEx++
  34132. stringLen |= (uint64(b) & 0x7F) << shift
  34133. if b < 0x80 {
  34134. break
  34135. }
  34136. }
  34137. intStringLen := int(stringLen)
  34138. if intStringLen < 0 {
  34139. return ErrInvalidLengthGenerated
  34140. }
  34141. postIndex := iNdEx + intStringLen
  34142. if postIndex > l {
  34143. return io.ErrUnexpectedEOF
  34144. }
  34145. s := PersistentVolumeMode(dAtA[iNdEx:postIndex])
  34146. m.VolumeMode = &s
  34147. iNdEx = postIndex
  34148. case 7:
  34149. if wireType != 2 {
  34150. return fmt.Errorf("proto: wrong wireType = %d for field DataSource", wireType)
  34151. }
  34152. var msglen int
  34153. for shift := uint(0); ; shift += 7 {
  34154. if shift >= 64 {
  34155. return ErrIntOverflowGenerated
  34156. }
  34157. if iNdEx >= l {
  34158. return io.ErrUnexpectedEOF
  34159. }
  34160. b := dAtA[iNdEx]
  34161. iNdEx++
  34162. msglen |= (int(b) & 0x7F) << shift
  34163. if b < 0x80 {
  34164. break
  34165. }
  34166. }
  34167. if msglen < 0 {
  34168. return ErrInvalidLengthGenerated
  34169. }
  34170. postIndex := iNdEx + msglen
  34171. if postIndex > l {
  34172. return io.ErrUnexpectedEOF
  34173. }
  34174. if m.DataSource == nil {
  34175. m.DataSource = &TypedLocalObjectReference{}
  34176. }
  34177. if err := m.DataSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34178. return err
  34179. }
  34180. iNdEx = postIndex
  34181. default:
  34182. iNdEx = preIndex
  34183. skippy, err := skipGenerated(dAtA[iNdEx:])
  34184. if err != nil {
  34185. return err
  34186. }
  34187. if skippy < 0 {
  34188. return ErrInvalidLengthGenerated
  34189. }
  34190. if (iNdEx + skippy) > l {
  34191. return io.ErrUnexpectedEOF
  34192. }
  34193. iNdEx += skippy
  34194. }
  34195. }
  34196. if iNdEx > l {
  34197. return io.ErrUnexpectedEOF
  34198. }
  34199. return nil
  34200. }
  34201. func (m *PersistentVolumeClaimStatus) Unmarshal(dAtA []byte) error {
  34202. l := len(dAtA)
  34203. iNdEx := 0
  34204. for iNdEx < l {
  34205. preIndex := iNdEx
  34206. var wire uint64
  34207. for shift := uint(0); ; shift += 7 {
  34208. if shift >= 64 {
  34209. return ErrIntOverflowGenerated
  34210. }
  34211. if iNdEx >= l {
  34212. return io.ErrUnexpectedEOF
  34213. }
  34214. b := dAtA[iNdEx]
  34215. iNdEx++
  34216. wire |= (uint64(b) & 0x7F) << shift
  34217. if b < 0x80 {
  34218. break
  34219. }
  34220. }
  34221. fieldNum := int32(wire >> 3)
  34222. wireType := int(wire & 0x7)
  34223. if wireType == 4 {
  34224. return fmt.Errorf("proto: PersistentVolumeClaimStatus: wiretype end group for non-group")
  34225. }
  34226. if fieldNum <= 0 {
  34227. return fmt.Errorf("proto: PersistentVolumeClaimStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  34228. }
  34229. switch fieldNum {
  34230. case 1:
  34231. if wireType != 2 {
  34232. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  34233. }
  34234. var stringLen uint64
  34235. for shift := uint(0); ; shift += 7 {
  34236. if shift >= 64 {
  34237. return ErrIntOverflowGenerated
  34238. }
  34239. if iNdEx >= l {
  34240. return io.ErrUnexpectedEOF
  34241. }
  34242. b := dAtA[iNdEx]
  34243. iNdEx++
  34244. stringLen |= (uint64(b) & 0x7F) << shift
  34245. if b < 0x80 {
  34246. break
  34247. }
  34248. }
  34249. intStringLen := int(stringLen)
  34250. if intStringLen < 0 {
  34251. return ErrInvalidLengthGenerated
  34252. }
  34253. postIndex := iNdEx + intStringLen
  34254. if postIndex > l {
  34255. return io.ErrUnexpectedEOF
  34256. }
  34257. m.Phase = PersistentVolumeClaimPhase(dAtA[iNdEx:postIndex])
  34258. iNdEx = postIndex
  34259. case 2:
  34260. if wireType != 2 {
  34261. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  34262. }
  34263. var stringLen uint64
  34264. for shift := uint(0); ; shift += 7 {
  34265. if shift >= 64 {
  34266. return ErrIntOverflowGenerated
  34267. }
  34268. if iNdEx >= l {
  34269. return io.ErrUnexpectedEOF
  34270. }
  34271. b := dAtA[iNdEx]
  34272. iNdEx++
  34273. stringLen |= (uint64(b) & 0x7F) << shift
  34274. if b < 0x80 {
  34275. break
  34276. }
  34277. }
  34278. intStringLen := int(stringLen)
  34279. if intStringLen < 0 {
  34280. return ErrInvalidLengthGenerated
  34281. }
  34282. postIndex := iNdEx + intStringLen
  34283. if postIndex > l {
  34284. return io.ErrUnexpectedEOF
  34285. }
  34286. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(dAtA[iNdEx:postIndex]))
  34287. iNdEx = postIndex
  34288. case 3:
  34289. if wireType != 2 {
  34290. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  34291. }
  34292. var msglen int
  34293. for shift := uint(0); ; shift += 7 {
  34294. if shift >= 64 {
  34295. return ErrIntOverflowGenerated
  34296. }
  34297. if iNdEx >= l {
  34298. return io.ErrUnexpectedEOF
  34299. }
  34300. b := dAtA[iNdEx]
  34301. iNdEx++
  34302. msglen |= (int(b) & 0x7F) << shift
  34303. if b < 0x80 {
  34304. break
  34305. }
  34306. }
  34307. if msglen < 0 {
  34308. return ErrInvalidLengthGenerated
  34309. }
  34310. postIndex := iNdEx + msglen
  34311. if postIndex > l {
  34312. return io.ErrUnexpectedEOF
  34313. }
  34314. if m.Capacity == nil {
  34315. m.Capacity = make(ResourceList)
  34316. }
  34317. var mapkey ResourceName
  34318. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  34319. for iNdEx < postIndex {
  34320. entryPreIndex := iNdEx
  34321. var wire uint64
  34322. for shift := uint(0); ; shift += 7 {
  34323. if shift >= 64 {
  34324. return ErrIntOverflowGenerated
  34325. }
  34326. if iNdEx >= l {
  34327. return io.ErrUnexpectedEOF
  34328. }
  34329. b := dAtA[iNdEx]
  34330. iNdEx++
  34331. wire |= (uint64(b) & 0x7F) << shift
  34332. if b < 0x80 {
  34333. break
  34334. }
  34335. }
  34336. fieldNum := int32(wire >> 3)
  34337. if fieldNum == 1 {
  34338. var stringLenmapkey uint64
  34339. for shift := uint(0); ; shift += 7 {
  34340. if shift >= 64 {
  34341. return ErrIntOverflowGenerated
  34342. }
  34343. if iNdEx >= l {
  34344. return io.ErrUnexpectedEOF
  34345. }
  34346. b := dAtA[iNdEx]
  34347. iNdEx++
  34348. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  34349. if b < 0x80 {
  34350. break
  34351. }
  34352. }
  34353. intStringLenmapkey := int(stringLenmapkey)
  34354. if intStringLenmapkey < 0 {
  34355. return ErrInvalidLengthGenerated
  34356. }
  34357. postStringIndexmapkey := iNdEx + intStringLenmapkey
  34358. if postStringIndexmapkey > l {
  34359. return io.ErrUnexpectedEOF
  34360. }
  34361. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  34362. iNdEx = postStringIndexmapkey
  34363. } else if fieldNum == 2 {
  34364. var mapmsglen int
  34365. for shift := uint(0); ; shift += 7 {
  34366. if shift >= 64 {
  34367. return ErrIntOverflowGenerated
  34368. }
  34369. if iNdEx >= l {
  34370. return io.ErrUnexpectedEOF
  34371. }
  34372. b := dAtA[iNdEx]
  34373. iNdEx++
  34374. mapmsglen |= (int(b) & 0x7F) << shift
  34375. if b < 0x80 {
  34376. break
  34377. }
  34378. }
  34379. if mapmsglen < 0 {
  34380. return ErrInvalidLengthGenerated
  34381. }
  34382. postmsgIndex := iNdEx + mapmsglen
  34383. if mapmsglen < 0 {
  34384. return ErrInvalidLengthGenerated
  34385. }
  34386. if postmsgIndex > l {
  34387. return io.ErrUnexpectedEOF
  34388. }
  34389. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  34390. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  34391. return err
  34392. }
  34393. iNdEx = postmsgIndex
  34394. } else {
  34395. iNdEx = entryPreIndex
  34396. skippy, err := skipGenerated(dAtA[iNdEx:])
  34397. if err != nil {
  34398. return err
  34399. }
  34400. if skippy < 0 {
  34401. return ErrInvalidLengthGenerated
  34402. }
  34403. if (iNdEx + skippy) > postIndex {
  34404. return io.ErrUnexpectedEOF
  34405. }
  34406. iNdEx += skippy
  34407. }
  34408. }
  34409. m.Capacity[ResourceName(mapkey)] = *mapvalue
  34410. iNdEx = postIndex
  34411. case 4:
  34412. if wireType != 2 {
  34413. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  34414. }
  34415. var msglen int
  34416. for shift := uint(0); ; shift += 7 {
  34417. if shift >= 64 {
  34418. return ErrIntOverflowGenerated
  34419. }
  34420. if iNdEx >= l {
  34421. return io.ErrUnexpectedEOF
  34422. }
  34423. b := dAtA[iNdEx]
  34424. iNdEx++
  34425. msglen |= (int(b) & 0x7F) << shift
  34426. if b < 0x80 {
  34427. break
  34428. }
  34429. }
  34430. if msglen < 0 {
  34431. return ErrInvalidLengthGenerated
  34432. }
  34433. postIndex := iNdEx + msglen
  34434. if postIndex > l {
  34435. return io.ErrUnexpectedEOF
  34436. }
  34437. m.Conditions = append(m.Conditions, PersistentVolumeClaimCondition{})
  34438. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34439. return err
  34440. }
  34441. iNdEx = postIndex
  34442. default:
  34443. iNdEx = preIndex
  34444. skippy, err := skipGenerated(dAtA[iNdEx:])
  34445. if err != nil {
  34446. return err
  34447. }
  34448. if skippy < 0 {
  34449. return ErrInvalidLengthGenerated
  34450. }
  34451. if (iNdEx + skippy) > l {
  34452. return io.ErrUnexpectedEOF
  34453. }
  34454. iNdEx += skippy
  34455. }
  34456. }
  34457. if iNdEx > l {
  34458. return io.ErrUnexpectedEOF
  34459. }
  34460. return nil
  34461. }
  34462. func (m *PersistentVolumeClaimVolumeSource) Unmarshal(dAtA []byte) error {
  34463. l := len(dAtA)
  34464. iNdEx := 0
  34465. for iNdEx < l {
  34466. preIndex := iNdEx
  34467. var wire uint64
  34468. for shift := uint(0); ; shift += 7 {
  34469. if shift >= 64 {
  34470. return ErrIntOverflowGenerated
  34471. }
  34472. if iNdEx >= l {
  34473. return io.ErrUnexpectedEOF
  34474. }
  34475. b := dAtA[iNdEx]
  34476. iNdEx++
  34477. wire |= (uint64(b) & 0x7F) << shift
  34478. if b < 0x80 {
  34479. break
  34480. }
  34481. }
  34482. fieldNum := int32(wire >> 3)
  34483. wireType := int(wire & 0x7)
  34484. if wireType == 4 {
  34485. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: wiretype end group for non-group")
  34486. }
  34487. if fieldNum <= 0 {
  34488. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  34489. }
  34490. switch fieldNum {
  34491. case 1:
  34492. if wireType != 2 {
  34493. return fmt.Errorf("proto: wrong wireType = %d for field ClaimName", wireType)
  34494. }
  34495. var stringLen uint64
  34496. for shift := uint(0); ; shift += 7 {
  34497. if shift >= 64 {
  34498. return ErrIntOverflowGenerated
  34499. }
  34500. if iNdEx >= l {
  34501. return io.ErrUnexpectedEOF
  34502. }
  34503. b := dAtA[iNdEx]
  34504. iNdEx++
  34505. stringLen |= (uint64(b) & 0x7F) << shift
  34506. if b < 0x80 {
  34507. break
  34508. }
  34509. }
  34510. intStringLen := int(stringLen)
  34511. if intStringLen < 0 {
  34512. return ErrInvalidLengthGenerated
  34513. }
  34514. postIndex := iNdEx + intStringLen
  34515. if postIndex > l {
  34516. return io.ErrUnexpectedEOF
  34517. }
  34518. m.ClaimName = string(dAtA[iNdEx:postIndex])
  34519. iNdEx = postIndex
  34520. case 2:
  34521. if wireType != 0 {
  34522. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  34523. }
  34524. var v int
  34525. for shift := uint(0); ; shift += 7 {
  34526. if shift >= 64 {
  34527. return ErrIntOverflowGenerated
  34528. }
  34529. if iNdEx >= l {
  34530. return io.ErrUnexpectedEOF
  34531. }
  34532. b := dAtA[iNdEx]
  34533. iNdEx++
  34534. v |= (int(b) & 0x7F) << shift
  34535. if b < 0x80 {
  34536. break
  34537. }
  34538. }
  34539. m.ReadOnly = bool(v != 0)
  34540. default:
  34541. iNdEx = preIndex
  34542. skippy, err := skipGenerated(dAtA[iNdEx:])
  34543. if err != nil {
  34544. return err
  34545. }
  34546. if skippy < 0 {
  34547. return ErrInvalidLengthGenerated
  34548. }
  34549. if (iNdEx + skippy) > l {
  34550. return io.ErrUnexpectedEOF
  34551. }
  34552. iNdEx += skippy
  34553. }
  34554. }
  34555. if iNdEx > l {
  34556. return io.ErrUnexpectedEOF
  34557. }
  34558. return nil
  34559. }
  34560. func (m *PersistentVolumeList) Unmarshal(dAtA []byte) error {
  34561. l := len(dAtA)
  34562. iNdEx := 0
  34563. for iNdEx < l {
  34564. preIndex := iNdEx
  34565. var wire uint64
  34566. for shift := uint(0); ; shift += 7 {
  34567. if shift >= 64 {
  34568. return ErrIntOverflowGenerated
  34569. }
  34570. if iNdEx >= l {
  34571. return io.ErrUnexpectedEOF
  34572. }
  34573. b := dAtA[iNdEx]
  34574. iNdEx++
  34575. wire |= (uint64(b) & 0x7F) << shift
  34576. if b < 0x80 {
  34577. break
  34578. }
  34579. }
  34580. fieldNum := int32(wire >> 3)
  34581. wireType := int(wire & 0x7)
  34582. if wireType == 4 {
  34583. return fmt.Errorf("proto: PersistentVolumeList: wiretype end group for non-group")
  34584. }
  34585. if fieldNum <= 0 {
  34586. return fmt.Errorf("proto: PersistentVolumeList: illegal tag %d (wire type %d)", fieldNum, wire)
  34587. }
  34588. switch fieldNum {
  34589. case 1:
  34590. if wireType != 2 {
  34591. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  34592. }
  34593. var msglen int
  34594. for shift := uint(0); ; shift += 7 {
  34595. if shift >= 64 {
  34596. return ErrIntOverflowGenerated
  34597. }
  34598. if iNdEx >= l {
  34599. return io.ErrUnexpectedEOF
  34600. }
  34601. b := dAtA[iNdEx]
  34602. iNdEx++
  34603. msglen |= (int(b) & 0x7F) << shift
  34604. if b < 0x80 {
  34605. break
  34606. }
  34607. }
  34608. if msglen < 0 {
  34609. return ErrInvalidLengthGenerated
  34610. }
  34611. postIndex := iNdEx + msglen
  34612. if postIndex > l {
  34613. return io.ErrUnexpectedEOF
  34614. }
  34615. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34616. return err
  34617. }
  34618. iNdEx = postIndex
  34619. case 2:
  34620. if wireType != 2 {
  34621. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  34622. }
  34623. var msglen int
  34624. for shift := uint(0); ; shift += 7 {
  34625. if shift >= 64 {
  34626. return ErrIntOverflowGenerated
  34627. }
  34628. if iNdEx >= l {
  34629. return io.ErrUnexpectedEOF
  34630. }
  34631. b := dAtA[iNdEx]
  34632. iNdEx++
  34633. msglen |= (int(b) & 0x7F) << shift
  34634. if b < 0x80 {
  34635. break
  34636. }
  34637. }
  34638. if msglen < 0 {
  34639. return ErrInvalidLengthGenerated
  34640. }
  34641. postIndex := iNdEx + msglen
  34642. if postIndex > l {
  34643. return io.ErrUnexpectedEOF
  34644. }
  34645. m.Items = append(m.Items, PersistentVolume{})
  34646. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34647. return err
  34648. }
  34649. iNdEx = postIndex
  34650. default:
  34651. iNdEx = preIndex
  34652. skippy, err := skipGenerated(dAtA[iNdEx:])
  34653. if err != nil {
  34654. return err
  34655. }
  34656. if skippy < 0 {
  34657. return ErrInvalidLengthGenerated
  34658. }
  34659. if (iNdEx + skippy) > l {
  34660. return io.ErrUnexpectedEOF
  34661. }
  34662. iNdEx += skippy
  34663. }
  34664. }
  34665. if iNdEx > l {
  34666. return io.ErrUnexpectedEOF
  34667. }
  34668. return nil
  34669. }
  34670. func (m *PersistentVolumeSource) Unmarshal(dAtA []byte) error {
  34671. l := len(dAtA)
  34672. iNdEx := 0
  34673. for iNdEx < l {
  34674. preIndex := iNdEx
  34675. var wire uint64
  34676. for shift := uint(0); ; shift += 7 {
  34677. if shift >= 64 {
  34678. return ErrIntOverflowGenerated
  34679. }
  34680. if iNdEx >= l {
  34681. return io.ErrUnexpectedEOF
  34682. }
  34683. b := dAtA[iNdEx]
  34684. iNdEx++
  34685. wire |= (uint64(b) & 0x7F) << shift
  34686. if b < 0x80 {
  34687. break
  34688. }
  34689. }
  34690. fieldNum := int32(wire >> 3)
  34691. wireType := int(wire & 0x7)
  34692. if wireType == 4 {
  34693. return fmt.Errorf("proto: PersistentVolumeSource: wiretype end group for non-group")
  34694. }
  34695. if fieldNum <= 0 {
  34696. return fmt.Errorf("proto: PersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  34697. }
  34698. switch fieldNum {
  34699. case 1:
  34700. if wireType != 2 {
  34701. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  34702. }
  34703. var msglen int
  34704. for shift := uint(0); ; shift += 7 {
  34705. if shift >= 64 {
  34706. return ErrIntOverflowGenerated
  34707. }
  34708. if iNdEx >= l {
  34709. return io.ErrUnexpectedEOF
  34710. }
  34711. b := dAtA[iNdEx]
  34712. iNdEx++
  34713. msglen |= (int(b) & 0x7F) << shift
  34714. if b < 0x80 {
  34715. break
  34716. }
  34717. }
  34718. if msglen < 0 {
  34719. return ErrInvalidLengthGenerated
  34720. }
  34721. postIndex := iNdEx + msglen
  34722. if postIndex > l {
  34723. return io.ErrUnexpectedEOF
  34724. }
  34725. if m.GCEPersistentDisk == nil {
  34726. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  34727. }
  34728. if err := m.GCEPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34729. return err
  34730. }
  34731. iNdEx = postIndex
  34732. case 2:
  34733. if wireType != 2 {
  34734. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", wireType)
  34735. }
  34736. var msglen int
  34737. for shift := uint(0); ; shift += 7 {
  34738. if shift >= 64 {
  34739. return ErrIntOverflowGenerated
  34740. }
  34741. if iNdEx >= l {
  34742. return io.ErrUnexpectedEOF
  34743. }
  34744. b := dAtA[iNdEx]
  34745. iNdEx++
  34746. msglen |= (int(b) & 0x7F) << shift
  34747. if b < 0x80 {
  34748. break
  34749. }
  34750. }
  34751. if msglen < 0 {
  34752. return ErrInvalidLengthGenerated
  34753. }
  34754. postIndex := iNdEx + msglen
  34755. if postIndex > l {
  34756. return io.ErrUnexpectedEOF
  34757. }
  34758. if m.AWSElasticBlockStore == nil {
  34759. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  34760. }
  34761. if err := m.AWSElasticBlockStore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34762. return err
  34763. }
  34764. iNdEx = postIndex
  34765. case 3:
  34766. if wireType != 2 {
  34767. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  34768. }
  34769. var msglen int
  34770. for shift := uint(0); ; shift += 7 {
  34771. if shift >= 64 {
  34772. return ErrIntOverflowGenerated
  34773. }
  34774. if iNdEx >= l {
  34775. return io.ErrUnexpectedEOF
  34776. }
  34777. b := dAtA[iNdEx]
  34778. iNdEx++
  34779. msglen |= (int(b) & 0x7F) << shift
  34780. if b < 0x80 {
  34781. break
  34782. }
  34783. }
  34784. if msglen < 0 {
  34785. return ErrInvalidLengthGenerated
  34786. }
  34787. postIndex := iNdEx + msglen
  34788. if postIndex > l {
  34789. return io.ErrUnexpectedEOF
  34790. }
  34791. if m.HostPath == nil {
  34792. m.HostPath = &HostPathVolumeSource{}
  34793. }
  34794. if err := m.HostPath.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34795. return err
  34796. }
  34797. iNdEx = postIndex
  34798. case 4:
  34799. if wireType != 2 {
  34800. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  34801. }
  34802. var msglen int
  34803. for shift := uint(0); ; shift += 7 {
  34804. if shift >= 64 {
  34805. return ErrIntOverflowGenerated
  34806. }
  34807. if iNdEx >= l {
  34808. return io.ErrUnexpectedEOF
  34809. }
  34810. b := dAtA[iNdEx]
  34811. iNdEx++
  34812. msglen |= (int(b) & 0x7F) << shift
  34813. if b < 0x80 {
  34814. break
  34815. }
  34816. }
  34817. if msglen < 0 {
  34818. return ErrInvalidLengthGenerated
  34819. }
  34820. postIndex := iNdEx + msglen
  34821. if postIndex > l {
  34822. return io.ErrUnexpectedEOF
  34823. }
  34824. if m.Glusterfs == nil {
  34825. m.Glusterfs = &GlusterfsPersistentVolumeSource{}
  34826. }
  34827. if err := m.Glusterfs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34828. return err
  34829. }
  34830. iNdEx = postIndex
  34831. case 5:
  34832. if wireType != 2 {
  34833. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  34834. }
  34835. var msglen int
  34836. for shift := uint(0); ; shift += 7 {
  34837. if shift >= 64 {
  34838. return ErrIntOverflowGenerated
  34839. }
  34840. if iNdEx >= l {
  34841. return io.ErrUnexpectedEOF
  34842. }
  34843. b := dAtA[iNdEx]
  34844. iNdEx++
  34845. msglen |= (int(b) & 0x7F) << shift
  34846. if b < 0x80 {
  34847. break
  34848. }
  34849. }
  34850. if msglen < 0 {
  34851. return ErrInvalidLengthGenerated
  34852. }
  34853. postIndex := iNdEx + msglen
  34854. if postIndex > l {
  34855. return io.ErrUnexpectedEOF
  34856. }
  34857. if m.NFS == nil {
  34858. m.NFS = &NFSVolumeSource{}
  34859. }
  34860. if err := m.NFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34861. return err
  34862. }
  34863. iNdEx = postIndex
  34864. case 6:
  34865. if wireType != 2 {
  34866. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  34867. }
  34868. var msglen int
  34869. for shift := uint(0); ; shift += 7 {
  34870. if shift >= 64 {
  34871. return ErrIntOverflowGenerated
  34872. }
  34873. if iNdEx >= l {
  34874. return io.ErrUnexpectedEOF
  34875. }
  34876. b := dAtA[iNdEx]
  34877. iNdEx++
  34878. msglen |= (int(b) & 0x7F) << shift
  34879. if b < 0x80 {
  34880. break
  34881. }
  34882. }
  34883. if msglen < 0 {
  34884. return ErrInvalidLengthGenerated
  34885. }
  34886. postIndex := iNdEx + msglen
  34887. if postIndex > l {
  34888. return io.ErrUnexpectedEOF
  34889. }
  34890. if m.RBD == nil {
  34891. m.RBD = &RBDPersistentVolumeSource{}
  34892. }
  34893. if err := m.RBD.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34894. return err
  34895. }
  34896. iNdEx = postIndex
  34897. case 7:
  34898. if wireType != 2 {
  34899. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  34900. }
  34901. var msglen int
  34902. for shift := uint(0); ; shift += 7 {
  34903. if shift >= 64 {
  34904. return ErrIntOverflowGenerated
  34905. }
  34906. if iNdEx >= l {
  34907. return io.ErrUnexpectedEOF
  34908. }
  34909. b := dAtA[iNdEx]
  34910. iNdEx++
  34911. msglen |= (int(b) & 0x7F) << shift
  34912. if b < 0x80 {
  34913. break
  34914. }
  34915. }
  34916. if msglen < 0 {
  34917. return ErrInvalidLengthGenerated
  34918. }
  34919. postIndex := iNdEx + msglen
  34920. if postIndex > l {
  34921. return io.ErrUnexpectedEOF
  34922. }
  34923. if m.ISCSI == nil {
  34924. m.ISCSI = &ISCSIPersistentVolumeSource{}
  34925. }
  34926. if err := m.ISCSI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34927. return err
  34928. }
  34929. iNdEx = postIndex
  34930. case 8:
  34931. if wireType != 2 {
  34932. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  34933. }
  34934. var msglen int
  34935. for shift := uint(0); ; shift += 7 {
  34936. if shift >= 64 {
  34937. return ErrIntOverflowGenerated
  34938. }
  34939. if iNdEx >= l {
  34940. return io.ErrUnexpectedEOF
  34941. }
  34942. b := dAtA[iNdEx]
  34943. iNdEx++
  34944. msglen |= (int(b) & 0x7F) << shift
  34945. if b < 0x80 {
  34946. break
  34947. }
  34948. }
  34949. if msglen < 0 {
  34950. return ErrInvalidLengthGenerated
  34951. }
  34952. postIndex := iNdEx + msglen
  34953. if postIndex > l {
  34954. return io.ErrUnexpectedEOF
  34955. }
  34956. if m.Cinder == nil {
  34957. m.Cinder = &CinderPersistentVolumeSource{}
  34958. }
  34959. if err := m.Cinder.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34960. return err
  34961. }
  34962. iNdEx = postIndex
  34963. case 9:
  34964. if wireType != 2 {
  34965. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  34966. }
  34967. var msglen int
  34968. for shift := uint(0); ; shift += 7 {
  34969. if shift >= 64 {
  34970. return ErrIntOverflowGenerated
  34971. }
  34972. if iNdEx >= l {
  34973. return io.ErrUnexpectedEOF
  34974. }
  34975. b := dAtA[iNdEx]
  34976. iNdEx++
  34977. msglen |= (int(b) & 0x7F) << shift
  34978. if b < 0x80 {
  34979. break
  34980. }
  34981. }
  34982. if msglen < 0 {
  34983. return ErrInvalidLengthGenerated
  34984. }
  34985. postIndex := iNdEx + msglen
  34986. if postIndex > l {
  34987. return io.ErrUnexpectedEOF
  34988. }
  34989. if m.CephFS == nil {
  34990. m.CephFS = &CephFSPersistentVolumeSource{}
  34991. }
  34992. if err := m.CephFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34993. return err
  34994. }
  34995. iNdEx = postIndex
  34996. case 10:
  34997. if wireType != 2 {
  34998. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  34999. }
  35000. var msglen int
  35001. for shift := uint(0); ; shift += 7 {
  35002. if shift >= 64 {
  35003. return ErrIntOverflowGenerated
  35004. }
  35005. if iNdEx >= l {
  35006. return io.ErrUnexpectedEOF
  35007. }
  35008. b := dAtA[iNdEx]
  35009. iNdEx++
  35010. msglen |= (int(b) & 0x7F) << shift
  35011. if b < 0x80 {
  35012. break
  35013. }
  35014. }
  35015. if msglen < 0 {
  35016. return ErrInvalidLengthGenerated
  35017. }
  35018. postIndex := iNdEx + msglen
  35019. if postIndex > l {
  35020. return io.ErrUnexpectedEOF
  35021. }
  35022. if m.FC == nil {
  35023. m.FC = &FCVolumeSource{}
  35024. }
  35025. if err := m.FC.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35026. return err
  35027. }
  35028. iNdEx = postIndex
  35029. case 11:
  35030. if wireType != 2 {
  35031. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  35032. }
  35033. var msglen int
  35034. for shift := uint(0); ; shift += 7 {
  35035. if shift >= 64 {
  35036. return ErrIntOverflowGenerated
  35037. }
  35038. if iNdEx >= l {
  35039. return io.ErrUnexpectedEOF
  35040. }
  35041. b := dAtA[iNdEx]
  35042. iNdEx++
  35043. msglen |= (int(b) & 0x7F) << shift
  35044. if b < 0x80 {
  35045. break
  35046. }
  35047. }
  35048. if msglen < 0 {
  35049. return ErrInvalidLengthGenerated
  35050. }
  35051. postIndex := iNdEx + msglen
  35052. if postIndex > l {
  35053. return io.ErrUnexpectedEOF
  35054. }
  35055. if m.Flocker == nil {
  35056. m.Flocker = &FlockerVolumeSource{}
  35057. }
  35058. if err := m.Flocker.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35059. return err
  35060. }
  35061. iNdEx = postIndex
  35062. case 12:
  35063. if wireType != 2 {
  35064. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  35065. }
  35066. var msglen int
  35067. for shift := uint(0); ; shift += 7 {
  35068. if shift >= 64 {
  35069. return ErrIntOverflowGenerated
  35070. }
  35071. if iNdEx >= l {
  35072. return io.ErrUnexpectedEOF
  35073. }
  35074. b := dAtA[iNdEx]
  35075. iNdEx++
  35076. msglen |= (int(b) & 0x7F) << shift
  35077. if b < 0x80 {
  35078. break
  35079. }
  35080. }
  35081. if msglen < 0 {
  35082. return ErrInvalidLengthGenerated
  35083. }
  35084. postIndex := iNdEx + msglen
  35085. if postIndex > l {
  35086. return io.ErrUnexpectedEOF
  35087. }
  35088. if m.FlexVolume == nil {
  35089. m.FlexVolume = &FlexPersistentVolumeSource{}
  35090. }
  35091. if err := m.FlexVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35092. return err
  35093. }
  35094. iNdEx = postIndex
  35095. case 13:
  35096. if wireType != 2 {
  35097. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  35098. }
  35099. var msglen int
  35100. for shift := uint(0); ; shift += 7 {
  35101. if shift >= 64 {
  35102. return ErrIntOverflowGenerated
  35103. }
  35104. if iNdEx >= l {
  35105. return io.ErrUnexpectedEOF
  35106. }
  35107. b := dAtA[iNdEx]
  35108. iNdEx++
  35109. msglen |= (int(b) & 0x7F) << shift
  35110. if b < 0x80 {
  35111. break
  35112. }
  35113. }
  35114. if msglen < 0 {
  35115. return ErrInvalidLengthGenerated
  35116. }
  35117. postIndex := iNdEx + msglen
  35118. if postIndex > l {
  35119. return io.ErrUnexpectedEOF
  35120. }
  35121. if m.AzureFile == nil {
  35122. m.AzureFile = &AzureFilePersistentVolumeSource{}
  35123. }
  35124. if err := m.AzureFile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35125. return err
  35126. }
  35127. iNdEx = postIndex
  35128. case 14:
  35129. if wireType != 2 {
  35130. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  35131. }
  35132. var msglen int
  35133. for shift := uint(0); ; shift += 7 {
  35134. if shift >= 64 {
  35135. return ErrIntOverflowGenerated
  35136. }
  35137. if iNdEx >= l {
  35138. return io.ErrUnexpectedEOF
  35139. }
  35140. b := dAtA[iNdEx]
  35141. iNdEx++
  35142. msglen |= (int(b) & 0x7F) << shift
  35143. if b < 0x80 {
  35144. break
  35145. }
  35146. }
  35147. if msglen < 0 {
  35148. return ErrInvalidLengthGenerated
  35149. }
  35150. postIndex := iNdEx + msglen
  35151. if postIndex > l {
  35152. return io.ErrUnexpectedEOF
  35153. }
  35154. if m.VsphereVolume == nil {
  35155. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  35156. }
  35157. if err := m.VsphereVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35158. return err
  35159. }
  35160. iNdEx = postIndex
  35161. case 15:
  35162. if wireType != 2 {
  35163. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  35164. }
  35165. var msglen int
  35166. for shift := uint(0); ; shift += 7 {
  35167. if shift >= 64 {
  35168. return ErrIntOverflowGenerated
  35169. }
  35170. if iNdEx >= l {
  35171. return io.ErrUnexpectedEOF
  35172. }
  35173. b := dAtA[iNdEx]
  35174. iNdEx++
  35175. msglen |= (int(b) & 0x7F) << shift
  35176. if b < 0x80 {
  35177. break
  35178. }
  35179. }
  35180. if msglen < 0 {
  35181. return ErrInvalidLengthGenerated
  35182. }
  35183. postIndex := iNdEx + msglen
  35184. if postIndex > l {
  35185. return io.ErrUnexpectedEOF
  35186. }
  35187. if m.Quobyte == nil {
  35188. m.Quobyte = &QuobyteVolumeSource{}
  35189. }
  35190. if err := m.Quobyte.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35191. return err
  35192. }
  35193. iNdEx = postIndex
  35194. case 16:
  35195. if wireType != 2 {
  35196. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  35197. }
  35198. var msglen int
  35199. for shift := uint(0); ; shift += 7 {
  35200. if shift >= 64 {
  35201. return ErrIntOverflowGenerated
  35202. }
  35203. if iNdEx >= l {
  35204. return io.ErrUnexpectedEOF
  35205. }
  35206. b := dAtA[iNdEx]
  35207. iNdEx++
  35208. msglen |= (int(b) & 0x7F) << shift
  35209. if b < 0x80 {
  35210. break
  35211. }
  35212. }
  35213. if msglen < 0 {
  35214. return ErrInvalidLengthGenerated
  35215. }
  35216. postIndex := iNdEx + msglen
  35217. if postIndex > l {
  35218. return io.ErrUnexpectedEOF
  35219. }
  35220. if m.AzureDisk == nil {
  35221. m.AzureDisk = &AzureDiskVolumeSource{}
  35222. }
  35223. if err := m.AzureDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35224. return err
  35225. }
  35226. iNdEx = postIndex
  35227. case 17:
  35228. if wireType != 2 {
  35229. return fmt.Errorf("proto: wrong wireType = %d for field PhotonPersistentDisk", wireType)
  35230. }
  35231. var msglen int
  35232. for shift := uint(0); ; shift += 7 {
  35233. if shift >= 64 {
  35234. return ErrIntOverflowGenerated
  35235. }
  35236. if iNdEx >= l {
  35237. return io.ErrUnexpectedEOF
  35238. }
  35239. b := dAtA[iNdEx]
  35240. iNdEx++
  35241. msglen |= (int(b) & 0x7F) << shift
  35242. if b < 0x80 {
  35243. break
  35244. }
  35245. }
  35246. if msglen < 0 {
  35247. return ErrInvalidLengthGenerated
  35248. }
  35249. postIndex := iNdEx + msglen
  35250. if postIndex > l {
  35251. return io.ErrUnexpectedEOF
  35252. }
  35253. if m.PhotonPersistentDisk == nil {
  35254. m.PhotonPersistentDisk = &PhotonPersistentDiskVolumeSource{}
  35255. }
  35256. if err := m.PhotonPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35257. return err
  35258. }
  35259. iNdEx = postIndex
  35260. case 18:
  35261. if wireType != 2 {
  35262. return fmt.Errorf("proto: wrong wireType = %d for field PortworxVolume", wireType)
  35263. }
  35264. var msglen int
  35265. for shift := uint(0); ; shift += 7 {
  35266. if shift >= 64 {
  35267. return ErrIntOverflowGenerated
  35268. }
  35269. if iNdEx >= l {
  35270. return io.ErrUnexpectedEOF
  35271. }
  35272. b := dAtA[iNdEx]
  35273. iNdEx++
  35274. msglen |= (int(b) & 0x7F) << shift
  35275. if b < 0x80 {
  35276. break
  35277. }
  35278. }
  35279. if msglen < 0 {
  35280. return ErrInvalidLengthGenerated
  35281. }
  35282. postIndex := iNdEx + msglen
  35283. if postIndex > l {
  35284. return io.ErrUnexpectedEOF
  35285. }
  35286. if m.PortworxVolume == nil {
  35287. m.PortworxVolume = &PortworxVolumeSource{}
  35288. }
  35289. if err := m.PortworxVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35290. return err
  35291. }
  35292. iNdEx = postIndex
  35293. case 19:
  35294. if wireType != 2 {
  35295. return fmt.Errorf("proto: wrong wireType = %d for field ScaleIO", wireType)
  35296. }
  35297. var msglen int
  35298. for shift := uint(0); ; shift += 7 {
  35299. if shift >= 64 {
  35300. return ErrIntOverflowGenerated
  35301. }
  35302. if iNdEx >= l {
  35303. return io.ErrUnexpectedEOF
  35304. }
  35305. b := dAtA[iNdEx]
  35306. iNdEx++
  35307. msglen |= (int(b) & 0x7F) << shift
  35308. if b < 0x80 {
  35309. break
  35310. }
  35311. }
  35312. if msglen < 0 {
  35313. return ErrInvalidLengthGenerated
  35314. }
  35315. postIndex := iNdEx + msglen
  35316. if postIndex > l {
  35317. return io.ErrUnexpectedEOF
  35318. }
  35319. if m.ScaleIO == nil {
  35320. m.ScaleIO = &ScaleIOPersistentVolumeSource{}
  35321. }
  35322. if err := m.ScaleIO.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35323. return err
  35324. }
  35325. iNdEx = postIndex
  35326. case 20:
  35327. if wireType != 2 {
  35328. return fmt.Errorf("proto: wrong wireType = %d for field Local", wireType)
  35329. }
  35330. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  35341. if b < 0x80 {
  35342. break
  35343. }
  35344. }
  35345. if msglen < 0 {
  35346. return ErrInvalidLengthGenerated
  35347. }
  35348. postIndex := iNdEx + msglen
  35349. if postIndex > l {
  35350. return io.ErrUnexpectedEOF
  35351. }
  35352. if m.Local == nil {
  35353. m.Local = &LocalVolumeSource{}
  35354. }
  35355. if err := m.Local.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35356. return err
  35357. }
  35358. iNdEx = postIndex
  35359. case 21:
  35360. if wireType != 2 {
  35361. return fmt.Errorf("proto: wrong wireType = %d for field StorageOS", wireType)
  35362. }
  35363. var msglen int
  35364. for shift := uint(0); ; shift += 7 {
  35365. if shift >= 64 {
  35366. return ErrIntOverflowGenerated
  35367. }
  35368. if iNdEx >= l {
  35369. return io.ErrUnexpectedEOF
  35370. }
  35371. b := dAtA[iNdEx]
  35372. iNdEx++
  35373. msglen |= (int(b) & 0x7F) << shift
  35374. if b < 0x80 {
  35375. break
  35376. }
  35377. }
  35378. if msglen < 0 {
  35379. return ErrInvalidLengthGenerated
  35380. }
  35381. postIndex := iNdEx + msglen
  35382. if postIndex > l {
  35383. return io.ErrUnexpectedEOF
  35384. }
  35385. if m.StorageOS == nil {
  35386. m.StorageOS = &StorageOSPersistentVolumeSource{}
  35387. }
  35388. if err := m.StorageOS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35389. return err
  35390. }
  35391. iNdEx = postIndex
  35392. case 22:
  35393. if wireType != 2 {
  35394. return fmt.Errorf("proto: wrong wireType = %d for field CSI", wireType)
  35395. }
  35396. var msglen int
  35397. for shift := uint(0); ; shift += 7 {
  35398. if shift >= 64 {
  35399. return ErrIntOverflowGenerated
  35400. }
  35401. if iNdEx >= l {
  35402. return io.ErrUnexpectedEOF
  35403. }
  35404. b := dAtA[iNdEx]
  35405. iNdEx++
  35406. msglen |= (int(b) & 0x7F) << shift
  35407. if b < 0x80 {
  35408. break
  35409. }
  35410. }
  35411. if msglen < 0 {
  35412. return ErrInvalidLengthGenerated
  35413. }
  35414. postIndex := iNdEx + msglen
  35415. if postIndex > l {
  35416. return io.ErrUnexpectedEOF
  35417. }
  35418. if m.CSI == nil {
  35419. m.CSI = &CSIPersistentVolumeSource{}
  35420. }
  35421. if err := m.CSI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35422. return err
  35423. }
  35424. iNdEx = postIndex
  35425. default:
  35426. iNdEx = preIndex
  35427. skippy, err := skipGenerated(dAtA[iNdEx:])
  35428. if err != nil {
  35429. return err
  35430. }
  35431. if skippy < 0 {
  35432. return ErrInvalidLengthGenerated
  35433. }
  35434. if (iNdEx + skippy) > l {
  35435. return io.ErrUnexpectedEOF
  35436. }
  35437. iNdEx += skippy
  35438. }
  35439. }
  35440. if iNdEx > l {
  35441. return io.ErrUnexpectedEOF
  35442. }
  35443. return nil
  35444. }
  35445. func (m *PersistentVolumeSpec) Unmarshal(dAtA []byte) error {
  35446. l := len(dAtA)
  35447. iNdEx := 0
  35448. for iNdEx < l {
  35449. preIndex := iNdEx
  35450. var wire uint64
  35451. for shift := uint(0); ; shift += 7 {
  35452. if shift >= 64 {
  35453. return ErrIntOverflowGenerated
  35454. }
  35455. if iNdEx >= l {
  35456. return io.ErrUnexpectedEOF
  35457. }
  35458. b := dAtA[iNdEx]
  35459. iNdEx++
  35460. wire |= (uint64(b) & 0x7F) << shift
  35461. if b < 0x80 {
  35462. break
  35463. }
  35464. }
  35465. fieldNum := int32(wire >> 3)
  35466. wireType := int(wire & 0x7)
  35467. if wireType == 4 {
  35468. return fmt.Errorf("proto: PersistentVolumeSpec: wiretype end group for non-group")
  35469. }
  35470. if fieldNum <= 0 {
  35471. return fmt.Errorf("proto: PersistentVolumeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  35472. }
  35473. switch fieldNum {
  35474. case 1:
  35475. if wireType != 2 {
  35476. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  35477. }
  35478. var msglen int
  35479. for shift := uint(0); ; shift += 7 {
  35480. if shift >= 64 {
  35481. return ErrIntOverflowGenerated
  35482. }
  35483. if iNdEx >= l {
  35484. return io.ErrUnexpectedEOF
  35485. }
  35486. b := dAtA[iNdEx]
  35487. iNdEx++
  35488. msglen |= (int(b) & 0x7F) << shift
  35489. if b < 0x80 {
  35490. break
  35491. }
  35492. }
  35493. if msglen < 0 {
  35494. return ErrInvalidLengthGenerated
  35495. }
  35496. postIndex := iNdEx + msglen
  35497. if postIndex > l {
  35498. return io.ErrUnexpectedEOF
  35499. }
  35500. if m.Capacity == nil {
  35501. m.Capacity = make(ResourceList)
  35502. }
  35503. var mapkey ResourceName
  35504. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  35505. for iNdEx < postIndex {
  35506. entryPreIndex := iNdEx
  35507. var wire uint64
  35508. for shift := uint(0); ; shift += 7 {
  35509. if shift >= 64 {
  35510. return ErrIntOverflowGenerated
  35511. }
  35512. if iNdEx >= l {
  35513. return io.ErrUnexpectedEOF
  35514. }
  35515. b := dAtA[iNdEx]
  35516. iNdEx++
  35517. wire |= (uint64(b) & 0x7F) << shift
  35518. if b < 0x80 {
  35519. break
  35520. }
  35521. }
  35522. fieldNum := int32(wire >> 3)
  35523. if fieldNum == 1 {
  35524. var stringLenmapkey uint64
  35525. for shift := uint(0); ; shift += 7 {
  35526. if shift >= 64 {
  35527. return ErrIntOverflowGenerated
  35528. }
  35529. if iNdEx >= l {
  35530. return io.ErrUnexpectedEOF
  35531. }
  35532. b := dAtA[iNdEx]
  35533. iNdEx++
  35534. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  35535. if b < 0x80 {
  35536. break
  35537. }
  35538. }
  35539. intStringLenmapkey := int(stringLenmapkey)
  35540. if intStringLenmapkey < 0 {
  35541. return ErrInvalidLengthGenerated
  35542. }
  35543. postStringIndexmapkey := iNdEx + intStringLenmapkey
  35544. if postStringIndexmapkey > l {
  35545. return io.ErrUnexpectedEOF
  35546. }
  35547. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  35548. iNdEx = postStringIndexmapkey
  35549. } else if fieldNum == 2 {
  35550. var mapmsglen int
  35551. for shift := uint(0); ; shift += 7 {
  35552. if shift >= 64 {
  35553. return ErrIntOverflowGenerated
  35554. }
  35555. if iNdEx >= l {
  35556. return io.ErrUnexpectedEOF
  35557. }
  35558. b := dAtA[iNdEx]
  35559. iNdEx++
  35560. mapmsglen |= (int(b) & 0x7F) << shift
  35561. if b < 0x80 {
  35562. break
  35563. }
  35564. }
  35565. if mapmsglen < 0 {
  35566. return ErrInvalidLengthGenerated
  35567. }
  35568. postmsgIndex := iNdEx + mapmsglen
  35569. if mapmsglen < 0 {
  35570. return ErrInvalidLengthGenerated
  35571. }
  35572. if postmsgIndex > l {
  35573. return io.ErrUnexpectedEOF
  35574. }
  35575. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  35576. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  35577. return err
  35578. }
  35579. iNdEx = postmsgIndex
  35580. } else {
  35581. iNdEx = entryPreIndex
  35582. skippy, err := skipGenerated(dAtA[iNdEx:])
  35583. if err != nil {
  35584. return err
  35585. }
  35586. if skippy < 0 {
  35587. return ErrInvalidLengthGenerated
  35588. }
  35589. if (iNdEx + skippy) > postIndex {
  35590. return io.ErrUnexpectedEOF
  35591. }
  35592. iNdEx += skippy
  35593. }
  35594. }
  35595. m.Capacity[ResourceName(mapkey)] = *mapvalue
  35596. iNdEx = postIndex
  35597. case 2:
  35598. if wireType != 2 {
  35599. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeSource", wireType)
  35600. }
  35601. var msglen int
  35602. for shift := uint(0); ; shift += 7 {
  35603. if shift >= 64 {
  35604. return ErrIntOverflowGenerated
  35605. }
  35606. if iNdEx >= l {
  35607. return io.ErrUnexpectedEOF
  35608. }
  35609. b := dAtA[iNdEx]
  35610. iNdEx++
  35611. msglen |= (int(b) & 0x7F) << shift
  35612. if b < 0x80 {
  35613. break
  35614. }
  35615. }
  35616. if msglen < 0 {
  35617. return ErrInvalidLengthGenerated
  35618. }
  35619. postIndex := iNdEx + msglen
  35620. if postIndex > l {
  35621. return io.ErrUnexpectedEOF
  35622. }
  35623. if err := m.PersistentVolumeSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35624. return err
  35625. }
  35626. iNdEx = postIndex
  35627. case 3:
  35628. if wireType != 2 {
  35629. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  35630. }
  35631. var stringLen uint64
  35632. for shift := uint(0); ; shift += 7 {
  35633. if shift >= 64 {
  35634. return ErrIntOverflowGenerated
  35635. }
  35636. if iNdEx >= l {
  35637. return io.ErrUnexpectedEOF
  35638. }
  35639. b := dAtA[iNdEx]
  35640. iNdEx++
  35641. stringLen |= (uint64(b) & 0x7F) << shift
  35642. if b < 0x80 {
  35643. break
  35644. }
  35645. }
  35646. intStringLen := int(stringLen)
  35647. if intStringLen < 0 {
  35648. return ErrInvalidLengthGenerated
  35649. }
  35650. postIndex := iNdEx + intStringLen
  35651. if postIndex > l {
  35652. return io.ErrUnexpectedEOF
  35653. }
  35654. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(dAtA[iNdEx:postIndex]))
  35655. iNdEx = postIndex
  35656. case 4:
  35657. if wireType != 2 {
  35658. return fmt.Errorf("proto: wrong wireType = %d for field ClaimRef", wireType)
  35659. }
  35660. var msglen int
  35661. for shift := uint(0); ; shift += 7 {
  35662. if shift >= 64 {
  35663. return ErrIntOverflowGenerated
  35664. }
  35665. if iNdEx >= l {
  35666. return io.ErrUnexpectedEOF
  35667. }
  35668. b := dAtA[iNdEx]
  35669. iNdEx++
  35670. msglen |= (int(b) & 0x7F) << shift
  35671. if b < 0x80 {
  35672. break
  35673. }
  35674. }
  35675. if msglen < 0 {
  35676. return ErrInvalidLengthGenerated
  35677. }
  35678. postIndex := iNdEx + msglen
  35679. if postIndex > l {
  35680. return io.ErrUnexpectedEOF
  35681. }
  35682. if m.ClaimRef == nil {
  35683. m.ClaimRef = &ObjectReference{}
  35684. }
  35685. if err := m.ClaimRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35686. return err
  35687. }
  35688. iNdEx = postIndex
  35689. case 5:
  35690. if wireType != 2 {
  35691. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeReclaimPolicy", wireType)
  35692. }
  35693. var stringLen uint64
  35694. for shift := uint(0); ; shift += 7 {
  35695. if shift >= 64 {
  35696. return ErrIntOverflowGenerated
  35697. }
  35698. if iNdEx >= l {
  35699. return io.ErrUnexpectedEOF
  35700. }
  35701. b := dAtA[iNdEx]
  35702. iNdEx++
  35703. stringLen |= (uint64(b) & 0x7F) << shift
  35704. if b < 0x80 {
  35705. break
  35706. }
  35707. }
  35708. intStringLen := int(stringLen)
  35709. if intStringLen < 0 {
  35710. return ErrInvalidLengthGenerated
  35711. }
  35712. postIndex := iNdEx + intStringLen
  35713. if postIndex > l {
  35714. return io.ErrUnexpectedEOF
  35715. }
  35716. m.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(dAtA[iNdEx:postIndex])
  35717. iNdEx = postIndex
  35718. case 6:
  35719. if wireType != 2 {
  35720. return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType)
  35721. }
  35722. var stringLen uint64
  35723. for shift := uint(0); ; shift += 7 {
  35724. if shift >= 64 {
  35725. return ErrIntOverflowGenerated
  35726. }
  35727. if iNdEx >= l {
  35728. return io.ErrUnexpectedEOF
  35729. }
  35730. b := dAtA[iNdEx]
  35731. iNdEx++
  35732. stringLen |= (uint64(b) & 0x7F) << shift
  35733. if b < 0x80 {
  35734. break
  35735. }
  35736. }
  35737. intStringLen := int(stringLen)
  35738. if intStringLen < 0 {
  35739. return ErrInvalidLengthGenerated
  35740. }
  35741. postIndex := iNdEx + intStringLen
  35742. if postIndex > l {
  35743. return io.ErrUnexpectedEOF
  35744. }
  35745. m.StorageClassName = string(dAtA[iNdEx:postIndex])
  35746. iNdEx = postIndex
  35747. case 7:
  35748. if wireType != 2 {
  35749. return fmt.Errorf("proto: wrong wireType = %d for field MountOptions", wireType)
  35750. }
  35751. var stringLen uint64
  35752. for shift := uint(0); ; shift += 7 {
  35753. if shift >= 64 {
  35754. return ErrIntOverflowGenerated
  35755. }
  35756. if iNdEx >= l {
  35757. return io.ErrUnexpectedEOF
  35758. }
  35759. b := dAtA[iNdEx]
  35760. iNdEx++
  35761. stringLen |= (uint64(b) & 0x7F) << shift
  35762. if b < 0x80 {
  35763. break
  35764. }
  35765. }
  35766. intStringLen := int(stringLen)
  35767. if intStringLen < 0 {
  35768. return ErrInvalidLengthGenerated
  35769. }
  35770. postIndex := iNdEx + intStringLen
  35771. if postIndex > l {
  35772. return io.ErrUnexpectedEOF
  35773. }
  35774. m.MountOptions = append(m.MountOptions, string(dAtA[iNdEx:postIndex]))
  35775. iNdEx = postIndex
  35776. case 8:
  35777. if wireType != 2 {
  35778. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMode", wireType)
  35779. }
  35780. var stringLen uint64
  35781. for shift := uint(0); ; shift += 7 {
  35782. if shift >= 64 {
  35783. return ErrIntOverflowGenerated
  35784. }
  35785. if iNdEx >= l {
  35786. return io.ErrUnexpectedEOF
  35787. }
  35788. b := dAtA[iNdEx]
  35789. iNdEx++
  35790. stringLen |= (uint64(b) & 0x7F) << shift
  35791. if b < 0x80 {
  35792. break
  35793. }
  35794. }
  35795. intStringLen := int(stringLen)
  35796. if intStringLen < 0 {
  35797. return ErrInvalidLengthGenerated
  35798. }
  35799. postIndex := iNdEx + intStringLen
  35800. if postIndex > l {
  35801. return io.ErrUnexpectedEOF
  35802. }
  35803. s := PersistentVolumeMode(dAtA[iNdEx:postIndex])
  35804. m.VolumeMode = &s
  35805. iNdEx = postIndex
  35806. case 9:
  35807. if wireType != 2 {
  35808. return fmt.Errorf("proto: wrong wireType = %d for field NodeAffinity", wireType)
  35809. }
  35810. var msglen int
  35811. for shift := uint(0); ; shift += 7 {
  35812. if shift >= 64 {
  35813. return ErrIntOverflowGenerated
  35814. }
  35815. if iNdEx >= l {
  35816. return io.ErrUnexpectedEOF
  35817. }
  35818. b := dAtA[iNdEx]
  35819. iNdEx++
  35820. msglen |= (int(b) & 0x7F) << shift
  35821. if b < 0x80 {
  35822. break
  35823. }
  35824. }
  35825. if msglen < 0 {
  35826. return ErrInvalidLengthGenerated
  35827. }
  35828. postIndex := iNdEx + msglen
  35829. if postIndex > l {
  35830. return io.ErrUnexpectedEOF
  35831. }
  35832. if m.NodeAffinity == nil {
  35833. m.NodeAffinity = &VolumeNodeAffinity{}
  35834. }
  35835. if err := m.NodeAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35836. return err
  35837. }
  35838. iNdEx = postIndex
  35839. default:
  35840. iNdEx = preIndex
  35841. skippy, err := skipGenerated(dAtA[iNdEx:])
  35842. if err != nil {
  35843. return err
  35844. }
  35845. if skippy < 0 {
  35846. return ErrInvalidLengthGenerated
  35847. }
  35848. if (iNdEx + skippy) > l {
  35849. return io.ErrUnexpectedEOF
  35850. }
  35851. iNdEx += skippy
  35852. }
  35853. }
  35854. if iNdEx > l {
  35855. return io.ErrUnexpectedEOF
  35856. }
  35857. return nil
  35858. }
  35859. func (m *PersistentVolumeStatus) Unmarshal(dAtA []byte) error {
  35860. l := len(dAtA)
  35861. iNdEx := 0
  35862. for iNdEx < l {
  35863. preIndex := iNdEx
  35864. var wire uint64
  35865. for shift := uint(0); ; shift += 7 {
  35866. if shift >= 64 {
  35867. return ErrIntOverflowGenerated
  35868. }
  35869. if iNdEx >= l {
  35870. return io.ErrUnexpectedEOF
  35871. }
  35872. b := dAtA[iNdEx]
  35873. iNdEx++
  35874. wire |= (uint64(b) & 0x7F) << shift
  35875. if b < 0x80 {
  35876. break
  35877. }
  35878. }
  35879. fieldNum := int32(wire >> 3)
  35880. wireType := int(wire & 0x7)
  35881. if wireType == 4 {
  35882. return fmt.Errorf("proto: PersistentVolumeStatus: wiretype end group for non-group")
  35883. }
  35884. if fieldNum <= 0 {
  35885. return fmt.Errorf("proto: PersistentVolumeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  35886. }
  35887. switch fieldNum {
  35888. case 1:
  35889. if wireType != 2 {
  35890. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  35891. }
  35892. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  35903. if b < 0x80 {
  35904. break
  35905. }
  35906. }
  35907. intStringLen := int(stringLen)
  35908. if intStringLen < 0 {
  35909. return ErrInvalidLengthGenerated
  35910. }
  35911. postIndex := iNdEx + intStringLen
  35912. if postIndex > l {
  35913. return io.ErrUnexpectedEOF
  35914. }
  35915. m.Phase = PersistentVolumePhase(dAtA[iNdEx:postIndex])
  35916. iNdEx = postIndex
  35917. case 2:
  35918. if wireType != 2 {
  35919. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  35920. }
  35921. var stringLen uint64
  35922. for shift := uint(0); ; shift += 7 {
  35923. if shift >= 64 {
  35924. return ErrIntOverflowGenerated
  35925. }
  35926. if iNdEx >= l {
  35927. return io.ErrUnexpectedEOF
  35928. }
  35929. b := dAtA[iNdEx]
  35930. iNdEx++
  35931. stringLen |= (uint64(b) & 0x7F) << shift
  35932. if b < 0x80 {
  35933. break
  35934. }
  35935. }
  35936. intStringLen := int(stringLen)
  35937. if intStringLen < 0 {
  35938. return ErrInvalidLengthGenerated
  35939. }
  35940. postIndex := iNdEx + intStringLen
  35941. if postIndex > l {
  35942. return io.ErrUnexpectedEOF
  35943. }
  35944. m.Message = string(dAtA[iNdEx:postIndex])
  35945. iNdEx = postIndex
  35946. case 3:
  35947. if wireType != 2 {
  35948. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  35949. }
  35950. var stringLen uint64
  35951. for shift := uint(0); ; shift += 7 {
  35952. if shift >= 64 {
  35953. return ErrIntOverflowGenerated
  35954. }
  35955. if iNdEx >= l {
  35956. return io.ErrUnexpectedEOF
  35957. }
  35958. b := dAtA[iNdEx]
  35959. iNdEx++
  35960. stringLen |= (uint64(b) & 0x7F) << shift
  35961. if b < 0x80 {
  35962. break
  35963. }
  35964. }
  35965. intStringLen := int(stringLen)
  35966. if intStringLen < 0 {
  35967. return ErrInvalidLengthGenerated
  35968. }
  35969. postIndex := iNdEx + intStringLen
  35970. if postIndex > l {
  35971. return io.ErrUnexpectedEOF
  35972. }
  35973. m.Reason = string(dAtA[iNdEx:postIndex])
  35974. iNdEx = postIndex
  35975. default:
  35976. iNdEx = preIndex
  35977. skippy, err := skipGenerated(dAtA[iNdEx:])
  35978. if err != nil {
  35979. return err
  35980. }
  35981. if skippy < 0 {
  35982. return ErrInvalidLengthGenerated
  35983. }
  35984. if (iNdEx + skippy) > l {
  35985. return io.ErrUnexpectedEOF
  35986. }
  35987. iNdEx += skippy
  35988. }
  35989. }
  35990. if iNdEx > l {
  35991. return io.ErrUnexpectedEOF
  35992. }
  35993. return nil
  35994. }
  35995. func (m *PhotonPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error {
  35996. l := len(dAtA)
  35997. iNdEx := 0
  35998. for iNdEx < l {
  35999. preIndex := iNdEx
  36000. var wire uint64
  36001. for shift := uint(0); ; shift += 7 {
  36002. if shift >= 64 {
  36003. return ErrIntOverflowGenerated
  36004. }
  36005. if iNdEx >= l {
  36006. return io.ErrUnexpectedEOF
  36007. }
  36008. b := dAtA[iNdEx]
  36009. iNdEx++
  36010. wire |= (uint64(b) & 0x7F) << shift
  36011. if b < 0x80 {
  36012. break
  36013. }
  36014. }
  36015. fieldNum := int32(wire >> 3)
  36016. wireType := int(wire & 0x7)
  36017. if wireType == 4 {
  36018. return fmt.Errorf("proto: PhotonPersistentDiskVolumeSource: wiretype end group for non-group")
  36019. }
  36020. if fieldNum <= 0 {
  36021. return fmt.Errorf("proto: PhotonPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  36022. }
  36023. switch fieldNum {
  36024. case 1:
  36025. if wireType != 2 {
  36026. return fmt.Errorf("proto: wrong wireType = %d for field PdID", wireType)
  36027. }
  36028. var stringLen uint64
  36029. for shift := uint(0); ; shift += 7 {
  36030. if shift >= 64 {
  36031. return ErrIntOverflowGenerated
  36032. }
  36033. if iNdEx >= l {
  36034. return io.ErrUnexpectedEOF
  36035. }
  36036. b := dAtA[iNdEx]
  36037. iNdEx++
  36038. stringLen |= (uint64(b) & 0x7F) << shift
  36039. if b < 0x80 {
  36040. break
  36041. }
  36042. }
  36043. intStringLen := int(stringLen)
  36044. if intStringLen < 0 {
  36045. return ErrInvalidLengthGenerated
  36046. }
  36047. postIndex := iNdEx + intStringLen
  36048. if postIndex > l {
  36049. return io.ErrUnexpectedEOF
  36050. }
  36051. m.PdID = string(dAtA[iNdEx:postIndex])
  36052. iNdEx = postIndex
  36053. case 2:
  36054. if wireType != 2 {
  36055. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  36056. }
  36057. var stringLen uint64
  36058. for shift := uint(0); ; shift += 7 {
  36059. if shift >= 64 {
  36060. return ErrIntOverflowGenerated
  36061. }
  36062. if iNdEx >= l {
  36063. return io.ErrUnexpectedEOF
  36064. }
  36065. b := dAtA[iNdEx]
  36066. iNdEx++
  36067. stringLen |= (uint64(b) & 0x7F) << shift
  36068. if b < 0x80 {
  36069. break
  36070. }
  36071. }
  36072. intStringLen := int(stringLen)
  36073. if intStringLen < 0 {
  36074. return ErrInvalidLengthGenerated
  36075. }
  36076. postIndex := iNdEx + intStringLen
  36077. if postIndex > l {
  36078. return io.ErrUnexpectedEOF
  36079. }
  36080. m.FSType = string(dAtA[iNdEx:postIndex])
  36081. iNdEx = postIndex
  36082. default:
  36083. iNdEx = preIndex
  36084. skippy, err := skipGenerated(dAtA[iNdEx:])
  36085. if err != nil {
  36086. return err
  36087. }
  36088. if skippy < 0 {
  36089. return ErrInvalidLengthGenerated
  36090. }
  36091. if (iNdEx + skippy) > l {
  36092. return io.ErrUnexpectedEOF
  36093. }
  36094. iNdEx += skippy
  36095. }
  36096. }
  36097. if iNdEx > l {
  36098. return io.ErrUnexpectedEOF
  36099. }
  36100. return nil
  36101. }
  36102. func (m *Pod) Unmarshal(dAtA []byte) error {
  36103. l := len(dAtA)
  36104. iNdEx := 0
  36105. for iNdEx < l {
  36106. preIndex := iNdEx
  36107. var wire uint64
  36108. for shift := uint(0); ; shift += 7 {
  36109. if shift >= 64 {
  36110. return ErrIntOverflowGenerated
  36111. }
  36112. if iNdEx >= l {
  36113. return io.ErrUnexpectedEOF
  36114. }
  36115. b := dAtA[iNdEx]
  36116. iNdEx++
  36117. wire |= (uint64(b) & 0x7F) << shift
  36118. if b < 0x80 {
  36119. break
  36120. }
  36121. }
  36122. fieldNum := int32(wire >> 3)
  36123. wireType := int(wire & 0x7)
  36124. if wireType == 4 {
  36125. return fmt.Errorf("proto: Pod: wiretype end group for non-group")
  36126. }
  36127. if fieldNum <= 0 {
  36128. return fmt.Errorf("proto: Pod: illegal tag %d (wire type %d)", fieldNum, wire)
  36129. }
  36130. switch fieldNum {
  36131. case 1:
  36132. if wireType != 2 {
  36133. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  36134. }
  36135. var msglen int
  36136. for shift := uint(0); ; shift += 7 {
  36137. if shift >= 64 {
  36138. return ErrIntOverflowGenerated
  36139. }
  36140. if iNdEx >= l {
  36141. return io.ErrUnexpectedEOF
  36142. }
  36143. b := dAtA[iNdEx]
  36144. iNdEx++
  36145. msglen |= (int(b) & 0x7F) << shift
  36146. if b < 0x80 {
  36147. break
  36148. }
  36149. }
  36150. if msglen < 0 {
  36151. return ErrInvalidLengthGenerated
  36152. }
  36153. postIndex := iNdEx + msglen
  36154. if postIndex > l {
  36155. return io.ErrUnexpectedEOF
  36156. }
  36157. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36158. return err
  36159. }
  36160. iNdEx = postIndex
  36161. case 2:
  36162. if wireType != 2 {
  36163. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  36164. }
  36165. var msglen int
  36166. for shift := uint(0); ; shift += 7 {
  36167. if shift >= 64 {
  36168. return ErrIntOverflowGenerated
  36169. }
  36170. if iNdEx >= l {
  36171. return io.ErrUnexpectedEOF
  36172. }
  36173. b := dAtA[iNdEx]
  36174. iNdEx++
  36175. msglen |= (int(b) & 0x7F) << shift
  36176. if b < 0x80 {
  36177. break
  36178. }
  36179. }
  36180. if msglen < 0 {
  36181. return ErrInvalidLengthGenerated
  36182. }
  36183. postIndex := iNdEx + msglen
  36184. if postIndex > l {
  36185. return io.ErrUnexpectedEOF
  36186. }
  36187. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36188. return err
  36189. }
  36190. iNdEx = postIndex
  36191. case 3:
  36192. if wireType != 2 {
  36193. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  36194. }
  36195. var msglen int
  36196. for shift := uint(0); ; shift += 7 {
  36197. if shift >= 64 {
  36198. return ErrIntOverflowGenerated
  36199. }
  36200. if iNdEx >= l {
  36201. return io.ErrUnexpectedEOF
  36202. }
  36203. b := dAtA[iNdEx]
  36204. iNdEx++
  36205. msglen |= (int(b) & 0x7F) << shift
  36206. if b < 0x80 {
  36207. break
  36208. }
  36209. }
  36210. if msglen < 0 {
  36211. return ErrInvalidLengthGenerated
  36212. }
  36213. postIndex := iNdEx + msglen
  36214. if postIndex > l {
  36215. return io.ErrUnexpectedEOF
  36216. }
  36217. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36218. return err
  36219. }
  36220. iNdEx = postIndex
  36221. default:
  36222. iNdEx = preIndex
  36223. skippy, err := skipGenerated(dAtA[iNdEx:])
  36224. if err != nil {
  36225. return err
  36226. }
  36227. if skippy < 0 {
  36228. return ErrInvalidLengthGenerated
  36229. }
  36230. if (iNdEx + skippy) > l {
  36231. return io.ErrUnexpectedEOF
  36232. }
  36233. iNdEx += skippy
  36234. }
  36235. }
  36236. if iNdEx > l {
  36237. return io.ErrUnexpectedEOF
  36238. }
  36239. return nil
  36240. }
  36241. func (m *PodAffinity) Unmarshal(dAtA []byte) error {
  36242. l := len(dAtA)
  36243. iNdEx := 0
  36244. for iNdEx < l {
  36245. preIndex := iNdEx
  36246. var wire uint64
  36247. for shift := uint(0); ; shift += 7 {
  36248. if shift >= 64 {
  36249. return ErrIntOverflowGenerated
  36250. }
  36251. if iNdEx >= l {
  36252. return io.ErrUnexpectedEOF
  36253. }
  36254. b := dAtA[iNdEx]
  36255. iNdEx++
  36256. wire |= (uint64(b) & 0x7F) << shift
  36257. if b < 0x80 {
  36258. break
  36259. }
  36260. }
  36261. fieldNum := int32(wire >> 3)
  36262. wireType := int(wire & 0x7)
  36263. if wireType == 4 {
  36264. return fmt.Errorf("proto: PodAffinity: wiretype end group for non-group")
  36265. }
  36266. if fieldNum <= 0 {
  36267. return fmt.Errorf("proto: PodAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  36268. }
  36269. switch fieldNum {
  36270. case 1:
  36271. if wireType != 2 {
  36272. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  36273. }
  36274. var msglen int
  36275. for shift := uint(0); ; shift += 7 {
  36276. if shift >= 64 {
  36277. return ErrIntOverflowGenerated
  36278. }
  36279. if iNdEx >= l {
  36280. return io.ErrUnexpectedEOF
  36281. }
  36282. b := dAtA[iNdEx]
  36283. iNdEx++
  36284. msglen |= (int(b) & 0x7F) << shift
  36285. if b < 0x80 {
  36286. break
  36287. }
  36288. }
  36289. if msglen < 0 {
  36290. return ErrInvalidLengthGenerated
  36291. }
  36292. postIndex := iNdEx + msglen
  36293. if postIndex > l {
  36294. return io.ErrUnexpectedEOF
  36295. }
  36296. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  36297. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36298. return err
  36299. }
  36300. iNdEx = postIndex
  36301. case 2:
  36302. if wireType != 2 {
  36303. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  36304. }
  36305. var msglen int
  36306. for shift := uint(0); ; shift += 7 {
  36307. if shift >= 64 {
  36308. return ErrIntOverflowGenerated
  36309. }
  36310. if iNdEx >= l {
  36311. return io.ErrUnexpectedEOF
  36312. }
  36313. b := dAtA[iNdEx]
  36314. iNdEx++
  36315. msglen |= (int(b) & 0x7F) << shift
  36316. if b < 0x80 {
  36317. break
  36318. }
  36319. }
  36320. if msglen < 0 {
  36321. return ErrInvalidLengthGenerated
  36322. }
  36323. postIndex := iNdEx + msglen
  36324. if postIndex > l {
  36325. return io.ErrUnexpectedEOF
  36326. }
  36327. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  36328. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36329. return err
  36330. }
  36331. iNdEx = postIndex
  36332. default:
  36333. iNdEx = preIndex
  36334. skippy, err := skipGenerated(dAtA[iNdEx:])
  36335. if err != nil {
  36336. return err
  36337. }
  36338. if skippy < 0 {
  36339. return ErrInvalidLengthGenerated
  36340. }
  36341. if (iNdEx + skippy) > l {
  36342. return io.ErrUnexpectedEOF
  36343. }
  36344. iNdEx += skippy
  36345. }
  36346. }
  36347. if iNdEx > l {
  36348. return io.ErrUnexpectedEOF
  36349. }
  36350. return nil
  36351. }
  36352. func (m *PodAffinityTerm) Unmarshal(dAtA []byte) error {
  36353. l := len(dAtA)
  36354. iNdEx := 0
  36355. for iNdEx < l {
  36356. preIndex := iNdEx
  36357. var wire uint64
  36358. for shift := uint(0); ; shift += 7 {
  36359. if shift >= 64 {
  36360. return ErrIntOverflowGenerated
  36361. }
  36362. if iNdEx >= l {
  36363. return io.ErrUnexpectedEOF
  36364. }
  36365. b := dAtA[iNdEx]
  36366. iNdEx++
  36367. wire |= (uint64(b) & 0x7F) << shift
  36368. if b < 0x80 {
  36369. break
  36370. }
  36371. }
  36372. fieldNum := int32(wire >> 3)
  36373. wireType := int(wire & 0x7)
  36374. if wireType == 4 {
  36375. return fmt.Errorf("proto: PodAffinityTerm: wiretype end group for non-group")
  36376. }
  36377. if fieldNum <= 0 {
  36378. return fmt.Errorf("proto: PodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  36379. }
  36380. switch fieldNum {
  36381. case 1:
  36382. if wireType != 2 {
  36383. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  36384. }
  36385. var msglen int
  36386. for shift := uint(0); ; shift += 7 {
  36387. if shift >= 64 {
  36388. return ErrIntOverflowGenerated
  36389. }
  36390. if iNdEx >= l {
  36391. return io.ErrUnexpectedEOF
  36392. }
  36393. b := dAtA[iNdEx]
  36394. iNdEx++
  36395. msglen |= (int(b) & 0x7F) << shift
  36396. if b < 0x80 {
  36397. break
  36398. }
  36399. }
  36400. if msglen < 0 {
  36401. return ErrInvalidLengthGenerated
  36402. }
  36403. postIndex := iNdEx + msglen
  36404. if postIndex > l {
  36405. return io.ErrUnexpectedEOF
  36406. }
  36407. if m.LabelSelector == nil {
  36408. m.LabelSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  36409. }
  36410. if err := m.LabelSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36411. return err
  36412. }
  36413. iNdEx = postIndex
  36414. case 2:
  36415. if wireType != 2 {
  36416. return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType)
  36417. }
  36418. var stringLen uint64
  36419. for shift := uint(0); ; shift += 7 {
  36420. if shift >= 64 {
  36421. return ErrIntOverflowGenerated
  36422. }
  36423. if iNdEx >= l {
  36424. return io.ErrUnexpectedEOF
  36425. }
  36426. b := dAtA[iNdEx]
  36427. iNdEx++
  36428. stringLen |= (uint64(b) & 0x7F) << shift
  36429. if b < 0x80 {
  36430. break
  36431. }
  36432. }
  36433. intStringLen := int(stringLen)
  36434. if intStringLen < 0 {
  36435. return ErrInvalidLengthGenerated
  36436. }
  36437. postIndex := iNdEx + intStringLen
  36438. if postIndex > l {
  36439. return io.ErrUnexpectedEOF
  36440. }
  36441. m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex]))
  36442. iNdEx = postIndex
  36443. case 3:
  36444. if wireType != 2 {
  36445. return fmt.Errorf("proto: wrong wireType = %d for field TopologyKey", wireType)
  36446. }
  36447. var stringLen uint64
  36448. for shift := uint(0); ; shift += 7 {
  36449. if shift >= 64 {
  36450. return ErrIntOverflowGenerated
  36451. }
  36452. if iNdEx >= l {
  36453. return io.ErrUnexpectedEOF
  36454. }
  36455. b := dAtA[iNdEx]
  36456. iNdEx++
  36457. stringLen |= (uint64(b) & 0x7F) << shift
  36458. if b < 0x80 {
  36459. break
  36460. }
  36461. }
  36462. intStringLen := int(stringLen)
  36463. if intStringLen < 0 {
  36464. return ErrInvalidLengthGenerated
  36465. }
  36466. postIndex := iNdEx + intStringLen
  36467. if postIndex > l {
  36468. return io.ErrUnexpectedEOF
  36469. }
  36470. m.TopologyKey = string(dAtA[iNdEx:postIndex])
  36471. iNdEx = postIndex
  36472. default:
  36473. iNdEx = preIndex
  36474. skippy, err := skipGenerated(dAtA[iNdEx:])
  36475. if err != nil {
  36476. return err
  36477. }
  36478. if skippy < 0 {
  36479. return ErrInvalidLengthGenerated
  36480. }
  36481. if (iNdEx + skippy) > l {
  36482. return io.ErrUnexpectedEOF
  36483. }
  36484. iNdEx += skippy
  36485. }
  36486. }
  36487. if iNdEx > l {
  36488. return io.ErrUnexpectedEOF
  36489. }
  36490. return nil
  36491. }
  36492. func (m *PodAntiAffinity) Unmarshal(dAtA []byte) error {
  36493. l := len(dAtA)
  36494. iNdEx := 0
  36495. for iNdEx < l {
  36496. preIndex := iNdEx
  36497. var wire uint64
  36498. for shift := uint(0); ; shift += 7 {
  36499. if shift >= 64 {
  36500. return ErrIntOverflowGenerated
  36501. }
  36502. if iNdEx >= l {
  36503. return io.ErrUnexpectedEOF
  36504. }
  36505. b := dAtA[iNdEx]
  36506. iNdEx++
  36507. wire |= (uint64(b) & 0x7F) << shift
  36508. if b < 0x80 {
  36509. break
  36510. }
  36511. }
  36512. fieldNum := int32(wire >> 3)
  36513. wireType := int(wire & 0x7)
  36514. if wireType == 4 {
  36515. return fmt.Errorf("proto: PodAntiAffinity: wiretype end group for non-group")
  36516. }
  36517. if fieldNum <= 0 {
  36518. return fmt.Errorf("proto: PodAntiAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  36519. }
  36520. switch fieldNum {
  36521. case 1:
  36522. if wireType != 2 {
  36523. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  36524. }
  36525. var msglen int
  36526. for shift := uint(0); ; shift += 7 {
  36527. if shift >= 64 {
  36528. return ErrIntOverflowGenerated
  36529. }
  36530. if iNdEx >= l {
  36531. return io.ErrUnexpectedEOF
  36532. }
  36533. b := dAtA[iNdEx]
  36534. iNdEx++
  36535. msglen |= (int(b) & 0x7F) << shift
  36536. if b < 0x80 {
  36537. break
  36538. }
  36539. }
  36540. if msglen < 0 {
  36541. return ErrInvalidLengthGenerated
  36542. }
  36543. postIndex := iNdEx + msglen
  36544. if postIndex > l {
  36545. return io.ErrUnexpectedEOF
  36546. }
  36547. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  36548. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36549. return err
  36550. }
  36551. iNdEx = postIndex
  36552. case 2:
  36553. if wireType != 2 {
  36554. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  36555. }
  36556. var msglen int
  36557. for shift := uint(0); ; shift += 7 {
  36558. if shift >= 64 {
  36559. return ErrIntOverflowGenerated
  36560. }
  36561. if iNdEx >= l {
  36562. return io.ErrUnexpectedEOF
  36563. }
  36564. b := dAtA[iNdEx]
  36565. iNdEx++
  36566. msglen |= (int(b) & 0x7F) << shift
  36567. if b < 0x80 {
  36568. break
  36569. }
  36570. }
  36571. if msglen < 0 {
  36572. return ErrInvalidLengthGenerated
  36573. }
  36574. postIndex := iNdEx + msglen
  36575. if postIndex > l {
  36576. return io.ErrUnexpectedEOF
  36577. }
  36578. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  36579. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36580. return err
  36581. }
  36582. iNdEx = postIndex
  36583. default:
  36584. iNdEx = preIndex
  36585. skippy, err := skipGenerated(dAtA[iNdEx:])
  36586. if err != nil {
  36587. return err
  36588. }
  36589. if skippy < 0 {
  36590. return ErrInvalidLengthGenerated
  36591. }
  36592. if (iNdEx + skippy) > l {
  36593. return io.ErrUnexpectedEOF
  36594. }
  36595. iNdEx += skippy
  36596. }
  36597. }
  36598. if iNdEx > l {
  36599. return io.ErrUnexpectedEOF
  36600. }
  36601. return nil
  36602. }
  36603. func (m *PodAttachOptions) Unmarshal(dAtA []byte) error {
  36604. l := len(dAtA)
  36605. iNdEx := 0
  36606. for iNdEx < l {
  36607. preIndex := iNdEx
  36608. var wire uint64
  36609. for shift := uint(0); ; shift += 7 {
  36610. if shift >= 64 {
  36611. return ErrIntOverflowGenerated
  36612. }
  36613. if iNdEx >= l {
  36614. return io.ErrUnexpectedEOF
  36615. }
  36616. b := dAtA[iNdEx]
  36617. iNdEx++
  36618. wire |= (uint64(b) & 0x7F) << shift
  36619. if b < 0x80 {
  36620. break
  36621. }
  36622. }
  36623. fieldNum := int32(wire >> 3)
  36624. wireType := int(wire & 0x7)
  36625. if wireType == 4 {
  36626. return fmt.Errorf("proto: PodAttachOptions: wiretype end group for non-group")
  36627. }
  36628. if fieldNum <= 0 {
  36629. return fmt.Errorf("proto: PodAttachOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  36630. }
  36631. switch fieldNum {
  36632. case 1:
  36633. if wireType != 0 {
  36634. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  36635. }
  36636. var v int
  36637. for shift := uint(0); ; shift += 7 {
  36638. if shift >= 64 {
  36639. return ErrIntOverflowGenerated
  36640. }
  36641. if iNdEx >= l {
  36642. return io.ErrUnexpectedEOF
  36643. }
  36644. b := dAtA[iNdEx]
  36645. iNdEx++
  36646. v |= (int(b) & 0x7F) << shift
  36647. if b < 0x80 {
  36648. break
  36649. }
  36650. }
  36651. m.Stdin = bool(v != 0)
  36652. case 2:
  36653. if wireType != 0 {
  36654. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  36655. }
  36656. var v int
  36657. for shift := uint(0); ; shift += 7 {
  36658. if shift >= 64 {
  36659. return ErrIntOverflowGenerated
  36660. }
  36661. if iNdEx >= l {
  36662. return io.ErrUnexpectedEOF
  36663. }
  36664. b := dAtA[iNdEx]
  36665. iNdEx++
  36666. v |= (int(b) & 0x7F) << shift
  36667. if b < 0x80 {
  36668. break
  36669. }
  36670. }
  36671. m.Stdout = bool(v != 0)
  36672. case 3:
  36673. if wireType != 0 {
  36674. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  36675. }
  36676. var v int
  36677. for shift := uint(0); ; shift += 7 {
  36678. if shift >= 64 {
  36679. return ErrIntOverflowGenerated
  36680. }
  36681. if iNdEx >= l {
  36682. return io.ErrUnexpectedEOF
  36683. }
  36684. b := dAtA[iNdEx]
  36685. iNdEx++
  36686. v |= (int(b) & 0x7F) << shift
  36687. if b < 0x80 {
  36688. break
  36689. }
  36690. }
  36691. m.Stderr = bool(v != 0)
  36692. case 4:
  36693. if wireType != 0 {
  36694. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  36695. }
  36696. var v int
  36697. for shift := uint(0); ; shift += 7 {
  36698. if shift >= 64 {
  36699. return ErrIntOverflowGenerated
  36700. }
  36701. if iNdEx >= l {
  36702. return io.ErrUnexpectedEOF
  36703. }
  36704. b := dAtA[iNdEx]
  36705. iNdEx++
  36706. v |= (int(b) & 0x7F) << shift
  36707. if b < 0x80 {
  36708. break
  36709. }
  36710. }
  36711. m.TTY = bool(v != 0)
  36712. case 5:
  36713. if wireType != 2 {
  36714. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  36715. }
  36716. var stringLen uint64
  36717. for shift := uint(0); ; shift += 7 {
  36718. if shift >= 64 {
  36719. return ErrIntOverflowGenerated
  36720. }
  36721. if iNdEx >= l {
  36722. return io.ErrUnexpectedEOF
  36723. }
  36724. b := dAtA[iNdEx]
  36725. iNdEx++
  36726. stringLen |= (uint64(b) & 0x7F) << shift
  36727. if b < 0x80 {
  36728. break
  36729. }
  36730. }
  36731. intStringLen := int(stringLen)
  36732. if intStringLen < 0 {
  36733. return ErrInvalidLengthGenerated
  36734. }
  36735. postIndex := iNdEx + intStringLen
  36736. if postIndex > l {
  36737. return io.ErrUnexpectedEOF
  36738. }
  36739. m.Container = string(dAtA[iNdEx:postIndex])
  36740. iNdEx = postIndex
  36741. default:
  36742. iNdEx = preIndex
  36743. skippy, err := skipGenerated(dAtA[iNdEx:])
  36744. if err != nil {
  36745. return err
  36746. }
  36747. if skippy < 0 {
  36748. return ErrInvalidLengthGenerated
  36749. }
  36750. if (iNdEx + skippy) > l {
  36751. return io.ErrUnexpectedEOF
  36752. }
  36753. iNdEx += skippy
  36754. }
  36755. }
  36756. if iNdEx > l {
  36757. return io.ErrUnexpectedEOF
  36758. }
  36759. return nil
  36760. }
  36761. func (m *PodCondition) Unmarshal(dAtA []byte) error {
  36762. l := len(dAtA)
  36763. iNdEx := 0
  36764. for iNdEx < l {
  36765. preIndex := iNdEx
  36766. var wire uint64
  36767. for shift := uint(0); ; shift += 7 {
  36768. if shift >= 64 {
  36769. return ErrIntOverflowGenerated
  36770. }
  36771. if iNdEx >= l {
  36772. return io.ErrUnexpectedEOF
  36773. }
  36774. b := dAtA[iNdEx]
  36775. iNdEx++
  36776. wire |= (uint64(b) & 0x7F) << shift
  36777. if b < 0x80 {
  36778. break
  36779. }
  36780. }
  36781. fieldNum := int32(wire >> 3)
  36782. wireType := int(wire & 0x7)
  36783. if wireType == 4 {
  36784. return fmt.Errorf("proto: PodCondition: wiretype end group for non-group")
  36785. }
  36786. if fieldNum <= 0 {
  36787. return fmt.Errorf("proto: PodCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  36788. }
  36789. switch fieldNum {
  36790. case 1:
  36791. if wireType != 2 {
  36792. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  36793. }
  36794. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  36805. if b < 0x80 {
  36806. break
  36807. }
  36808. }
  36809. intStringLen := int(stringLen)
  36810. if intStringLen < 0 {
  36811. return ErrInvalidLengthGenerated
  36812. }
  36813. postIndex := iNdEx + intStringLen
  36814. if postIndex > l {
  36815. return io.ErrUnexpectedEOF
  36816. }
  36817. m.Type = PodConditionType(dAtA[iNdEx:postIndex])
  36818. iNdEx = postIndex
  36819. case 2:
  36820. if wireType != 2 {
  36821. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  36822. }
  36823. var stringLen uint64
  36824. for shift := uint(0); ; shift += 7 {
  36825. if shift >= 64 {
  36826. return ErrIntOverflowGenerated
  36827. }
  36828. if iNdEx >= l {
  36829. return io.ErrUnexpectedEOF
  36830. }
  36831. b := dAtA[iNdEx]
  36832. iNdEx++
  36833. stringLen |= (uint64(b) & 0x7F) << shift
  36834. if b < 0x80 {
  36835. break
  36836. }
  36837. }
  36838. intStringLen := int(stringLen)
  36839. if intStringLen < 0 {
  36840. return ErrInvalidLengthGenerated
  36841. }
  36842. postIndex := iNdEx + intStringLen
  36843. if postIndex > l {
  36844. return io.ErrUnexpectedEOF
  36845. }
  36846. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  36847. iNdEx = postIndex
  36848. case 3:
  36849. if wireType != 2 {
  36850. return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  36851. }
  36852. var msglen int
  36853. for shift := uint(0); ; shift += 7 {
  36854. if shift >= 64 {
  36855. return ErrIntOverflowGenerated
  36856. }
  36857. if iNdEx >= l {
  36858. return io.ErrUnexpectedEOF
  36859. }
  36860. b := dAtA[iNdEx]
  36861. iNdEx++
  36862. msglen |= (int(b) & 0x7F) << shift
  36863. if b < 0x80 {
  36864. break
  36865. }
  36866. }
  36867. if msglen < 0 {
  36868. return ErrInvalidLengthGenerated
  36869. }
  36870. postIndex := iNdEx + msglen
  36871. if postIndex > l {
  36872. return io.ErrUnexpectedEOF
  36873. }
  36874. if err := m.LastProbeTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36875. return err
  36876. }
  36877. iNdEx = postIndex
  36878. case 4:
  36879. if wireType != 2 {
  36880. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  36881. }
  36882. var msglen int
  36883. for shift := uint(0); ; shift += 7 {
  36884. if shift >= 64 {
  36885. return ErrIntOverflowGenerated
  36886. }
  36887. if iNdEx >= l {
  36888. return io.ErrUnexpectedEOF
  36889. }
  36890. b := dAtA[iNdEx]
  36891. iNdEx++
  36892. msglen |= (int(b) & 0x7F) << shift
  36893. if b < 0x80 {
  36894. break
  36895. }
  36896. }
  36897. if msglen < 0 {
  36898. return ErrInvalidLengthGenerated
  36899. }
  36900. postIndex := iNdEx + msglen
  36901. if postIndex > l {
  36902. return io.ErrUnexpectedEOF
  36903. }
  36904. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36905. return err
  36906. }
  36907. iNdEx = postIndex
  36908. case 5:
  36909. if wireType != 2 {
  36910. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  36911. }
  36912. var stringLen uint64
  36913. for shift := uint(0); ; shift += 7 {
  36914. if shift >= 64 {
  36915. return ErrIntOverflowGenerated
  36916. }
  36917. if iNdEx >= l {
  36918. return io.ErrUnexpectedEOF
  36919. }
  36920. b := dAtA[iNdEx]
  36921. iNdEx++
  36922. stringLen |= (uint64(b) & 0x7F) << shift
  36923. if b < 0x80 {
  36924. break
  36925. }
  36926. }
  36927. intStringLen := int(stringLen)
  36928. if intStringLen < 0 {
  36929. return ErrInvalidLengthGenerated
  36930. }
  36931. postIndex := iNdEx + intStringLen
  36932. if postIndex > l {
  36933. return io.ErrUnexpectedEOF
  36934. }
  36935. m.Reason = string(dAtA[iNdEx:postIndex])
  36936. iNdEx = postIndex
  36937. case 6:
  36938. if wireType != 2 {
  36939. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  36940. }
  36941. var stringLen uint64
  36942. for shift := uint(0); ; shift += 7 {
  36943. if shift >= 64 {
  36944. return ErrIntOverflowGenerated
  36945. }
  36946. if iNdEx >= l {
  36947. return io.ErrUnexpectedEOF
  36948. }
  36949. b := dAtA[iNdEx]
  36950. iNdEx++
  36951. stringLen |= (uint64(b) & 0x7F) << shift
  36952. if b < 0x80 {
  36953. break
  36954. }
  36955. }
  36956. intStringLen := int(stringLen)
  36957. if intStringLen < 0 {
  36958. return ErrInvalidLengthGenerated
  36959. }
  36960. postIndex := iNdEx + intStringLen
  36961. if postIndex > l {
  36962. return io.ErrUnexpectedEOF
  36963. }
  36964. m.Message = string(dAtA[iNdEx:postIndex])
  36965. iNdEx = postIndex
  36966. default:
  36967. iNdEx = preIndex
  36968. skippy, err := skipGenerated(dAtA[iNdEx:])
  36969. if err != nil {
  36970. return err
  36971. }
  36972. if skippy < 0 {
  36973. return ErrInvalidLengthGenerated
  36974. }
  36975. if (iNdEx + skippy) > l {
  36976. return io.ErrUnexpectedEOF
  36977. }
  36978. iNdEx += skippy
  36979. }
  36980. }
  36981. if iNdEx > l {
  36982. return io.ErrUnexpectedEOF
  36983. }
  36984. return nil
  36985. }
  36986. func (m *PodDNSConfig) Unmarshal(dAtA []byte) error {
  36987. l := len(dAtA)
  36988. iNdEx := 0
  36989. for iNdEx < l {
  36990. preIndex := iNdEx
  36991. var wire uint64
  36992. for shift := uint(0); ; shift += 7 {
  36993. if shift >= 64 {
  36994. return ErrIntOverflowGenerated
  36995. }
  36996. if iNdEx >= l {
  36997. return io.ErrUnexpectedEOF
  36998. }
  36999. b := dAtA[iNdEx]
  37000. iNdEx++
  37001. wire |= (uint64(b) & 0x7F) << shift
  37002. if b < 0x80 {
  37003. break
  37004. }
  37005. }
  37006. fieldNum := int32(wire >> 3)
  37007. wireType := int(wire & 0x7)
  37008. if wireType == 4 {
  37009. return fmt.Errorf("proto: PodDNSConfig: wiretype end group for non-group")
  37010. }
  37011. if fieldNum <= 0 {
  37012. return fmt.Errorf("proto: PodDNSConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  37013. }
  37014. switch fieldNum {
  37015. case 1:
  37016. if wireType != 2 {
  37017. return fmt.Errorf("proto: wrong wireType = %d for field Nameservers", wireType)
  37018. }
  37019. var stringLen uint64
  37020. for shift := uint(0); ; shift += 7 {
  37021. if shift >= 64 {
  37022. return ErrIntOverflowGenerated
  37023. }
  37024. if iNdEx >= l {
  37025. return io.ErrUnexpectedEOF
  37026. }
  37027. b := dAtA[iNdEx]
  37028. iNdEx++
  37029. stringLen |= (uint64(b) & 0x7F) << shift
  37030. if b < 0x80 {
  37031. break
  37032. }
  37033. }
  37034. intStringLen := int(stringLen)
  37035. if intStringLen < 0 {
  37036. return ErrInvalidLengthGenerated
  37037. }
  37038. postIndex := iNdEx + intStringLen
  37039. if postIndex > l {
  37040. return io.ErrUnexpectedEOF
  37041. }
  37042. m.Nameservers = append(m.Nameservers, string(dAtA[iNdEx:postIndex]))
  37043. iNdEx = postIndex
  37044. case 2:
  37045. if wireType != 2 {
  37046. return fmt.Errorf("proto: wrong wireType = %d for field Searches", wireType)
  37047. }
  37048. var stringLen uint64
  37049. for shift := uint(0); ; shift += 7 {
  37050. if shift >= 64 {
  37051. return ErrIntOverflowGenerated
  37052. }
  37053. if iNdEx >= l {
  37054. return io.ErrUnexpectedEOF
  37055. }
  37056. b := dAtA[iNdEx]
  37057. iNdEx++
  37058. stringLen |= (uint64(b) & 0x7F) << shift
  37059. if b < 0x80 {
  37060. break
  37061. }
  37062. }
  37063. intStringLen := int(stringLen)
  37064. if intStringLen < 0 {
  37065. return ErrInvalidLengthGenerated
  37066. }
  37067. postIndex := iNdEx + intStringLen
  37068. if postIndex > l {
  37069. return io.ErrUnexpectedEOF
  37070. }
  37071. m.Searches = append(m.Searches, string(dAtA[iNdEx:postIndex]))
  37072. iNdEx = postIndex
  37073. case 3:
  37074. if wireType != 2 {
  37075. return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
  37076. }
  37077. var msglen int
  37078. for shift := uint(0); ; shift += 7 {
  37079. if shift >= 64 {
  37080. return ErrIntOverflowGenerated
  37081. }
  37082. if iNdEx >= l {
  37083. return io.ErrUnexpectedEOF
  37084. }
  37085. b := dAtA[iNdEx]
  37086. iNdEx++
  37087. msglen |= (int(b) & 0x7F) << shift
  37088. if b < 0x80 {
  37089. break
  37090. }
  37091. }
  37092. if msglen < 0 {
  37093. return ErrInvalidLengthGenerated
  37094. }
  37095. postIndex := iNdEx + msglen
  37096. if postIndex > l {
  37097. return io.ErrUnexpectedEOF
  37098. }
  37099. m.Options = append(m.Options, PodDNSConfigOption{})
  37100. if err := m.Options[len(m.Options)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37101. return err
  37102. }
  37103. iNdEx = postIndex
  37104. default:
  37105. iNdEx = preIndex
  37106. skippy, err := skipGenerated(dAtA[iNdEx:])
  37107. if err != nil {
  37108. return err
  37109. }
  37110. if skippy < 0 {
  37111. return ErrInvalidLengthGenerated
  37112. }
  37113. if (iNdEx + skippy) > l {
  37114. return io.ErrUnexpectedEOF
  37115. }
  37116. iNdEx += skippy
  37117. }
  37118. }
  37119. if iNdEx > l {
  37120. return io.ErrUnexpectedEOF
  37121. }
  37122. return nil
  37123. }
  37124. func (m *PodDNSConfigOption) Unmarshal(dAtA []byte) error {
  37125. l := len(dAtA)
  37126. iNdEx := 0
  37127. for iNdEx < l {
  37128. preIndex := iNdEx
  37129. var wire uint64
  37130. for shift := uint(0); ; shift += 7 {
  37131. if shift >= 64 {
  37132. return ErrIntOverflowGenerated
  37133. }
  37134. if iNdEx >= l {
  37135. return io.ErrUnexpectedEOF
  37136. }
  37137. b := dAtA[iNdEx]
  37138. iNdEx++
  37139. wire |= (uint64(b) & 0x7F) << shift
  37140. if b < 0x80 {
  37141. break
  37142. }
  37143. }
  37144. fieldNum := int32(wire >> 3)
  37145. wireType := int(wire & 0x7)
  37146. if wireType == 4 {
  37147. return fmt.Errorf("proto: PodDNSConfigOption: wiretype end group for non-group")
  37148. }
  37149. if fieldNum <= 0 {
  37150. return fmt.Errorf("proto: PodDNSConfigOption: illegal tag %d (wire type %d)", fieldNum, wire)
  37151. }
  37152. switch fieldNum {
  37153. case 1:
  37154. if wireType != 2 {
  37155. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  37156. }
  37157. var stringLen uint64
  37158. for shift := uint(0); ; shift += 7 {
  37159. if shift >= 64 {
  37160. return ErrIntOverflowGenerated
  37161. }
  37162. if iNdEx >= l {
  37163. return io.ErrUnexpectedEOF
  37164. }
  37165. b := dAtA[iNdEx]
  37166. iNdEx++
  37167. stringLen |= (uint64(b) & 0x7F) << shift
  37168. if b < 0x80 {
  37169. break
  37170. }
  37171. }
  37172. intStringLen := int(stringLen)
  37173. if intStringLen < 0 {
  37174. return ErrInvalidLengthGenerated
  37175. }
  37176. postIndex := iNdEx + intStringLen
  37177. if postIndex > l {
  37178. return io.ErrUnexpectedEOF
  37179. }
  37180. m.Name = string(dAtA[iNdEx:postIndex])
  37181. iNdEx = postIndex
  37182. case 2:
  37183. if wireType != 2 {
  37184. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  37185. }
  37186. var stringLen uint64
  37187. for shift := uint(0); ; shift += 7 {
  37188. if shift >= 64 {
  37189. return ErrIntOverflowGenerated
  37190. }
  37191. if iNdEx >= l {
  37192. return io.ErrUnexpectedEOF
  37193. }
  37194. b := dAtA[iNdEx]
  37195. iNdEx++
  37196. stringLen |= (uint64(b) & 0x7F) << shift
  37197. if b < 0x80 {
  37198. break
  37199. }
  37200. }
  37201. intStringLen := int(stringLen)
  37202. if intStringLen < 0 {
  37203. return ErrInvalidLengthGenerated
  37204. }
  37205. postIndex := iNdEx + intStringLen
  37206. if postIndex > l {
  37207. return io.ErrUnexpectedEOF
  37208. }
  37209. s := string(dAtA[iNdEx:postIndex])
  37210. m.Value = &s
  37211. iNdEx = postIndex
  37212. default:
  37213. iNdEx = preIndex
  37214. skippy, err := skipGenerated(dAtA[iNdEx:])
  37215. if err != nil {
  37216. return err
  37217. }
  37218. if skippy < 0 {
  37219. return ErrInvalidLengthGenerated
  37220. }
  37221. if (iNdEx + skippy) > l {
  37222. return io.ErrUnexpectedEOF
  37223. }
  37224. iNdEx += skippy
  37225. }
  37226. }
  37227. if iNdEx > l {
  37228. return io.ErrUnexpectedEOF
  37229. }
  37230. return nil
  37231. }
  37232. func (m *PodExecOptions) Unmarshal(dAtA []byte) error {
  37233. l := len(dAtA)
  37234. iNdEx := 0
  37235. for iNdEx < l {
  37236. preIndex := iNdEx
  37237. var wire uint64
  37238. for shift := uint(0); ; shift += 7 {
  37239. if shift >= 64 {
  37240. return ErrIntOverflowGenerated
  37241. }
  37242. if iNdEx >= l {
  37243. return io.ErrUnexpectedEOF
  37244. }
  37245. b := dAtA[iNdEx]
  37246. iNdEx++
  37247. wire |= (uint64(b) & 0x7F) << shift
  37248. if b < 0x80 {
  37249. break
  37250. }
  37251. }
  37252. fieldNum := int32(wire >> 3)
  37253. wireType := int(wire & 0x7)
  37254. if wireType == 4 {
  37255. return fmt.Errorf("proto: PodExecOptions: wiretype end group for non-group")
  37256. }
  37257. if fieldNum <= 0 {
  37258. return fmt.Errorf("proto: PodExecOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  37259. }
  37260. switch fieldNum {
  37261. case 1:
  37262. if wireType != 0 {
  37263. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  37264. }
  37265. var v int
  37266. for shift := uint(0); ; shift += 7 {
  37267. if shift >= 64 {
  37268. return ErrIntOverflowGenerated
  37269. }
  37270. if iNdEx >= l {
  37271. return io.ErrUnexpectedEOF
  37272. }
  37273. b := dAtA[iNdEx]
  37274. iNdEx++
  37275. v |= (int(b) & 0x7F) << shift
  37276. if b < 0x80 {
  37277. break
  37278. }
  37279. }
  37280. m.Stdin = bool(v != 0)
  37281. case 2:
  37282. if wireType != 0 {
  37283. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  37284. }
  37285. var v int
  37286. for shift := uint(0); ; shift += 7 {
  37287. if shift >= 64 {
  37288. return ErrIntOverflowGenerated
  37289. }
  37290. if iNdEx >= l {
  37291. return io.ErrUnexpectedEOF
  37292. }
  37293. b := dAtA[iNdEx]
  37294. iNdEx++
  37295. v |= (int(b) & 0x7F) << shift
  37296. if b < 0x80 {
  37297. break
  37298. }
  37299. }
  37300. m.Stdout = bool(v != 0)
  37301. case 3:
  37302. if wireType != 0 {
  37303. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  37304. }
  37305. var v int
  37306. for shift := uint(0); ; shift += 7 {
  37307. if shift >= 64 {
  37308. return ErrIntOverflowGenerated
  37309. }
  37310. if iNdEx >= l {
  37311. return io.ErrUnexpectedEOF
  37312. }
  37313. b := dAtA[iNdEx]
  37314. iNdEx++
  37315. v |= (int(b) & 0x7F) << shift
  37316. if b < 0x80 {
  37317. break
  37318. }
  37319. }
  37320. m.Stderr = bool(v != 0)
  37321. case 4:
  37322. if wireType != 0 {
  37323. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  37324. }
  37325. var v int
  37326. for shift := uint(0); ; shift += 7 {
  37327. if shift >= 64 {
  37328. return ErrIntOverflowGenerated
  37329. }
  37330. if iNdEx >= l {
  37331. return io.ErrUnexpectedEOF
  37332. }
  37333. b := dAtA[iNdEx]
  37334. iNdEx++
  37335. v |= (int(b) & 0x7F) << shift
  37336. if b < 0x80 {
  37337. break
  37338. }
  37339. }
  37340. m.TTY = bool(v != 0)
  37341. case 5:
  37342. if wireType != 2 {
  37343. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  37344. }
  37345. var stringLen uint64
  37346. for shift := uint(0); ; shift += 7 {
  37347. if shift >= 64 {
  37348. return ErrIntOverflowGenerated
  37349. }
  37350. if iNdEx >= l {
  37351. return io.ErrUnexpectedEOF
  37352. }
  37353. b := dAtA[iNdEx]
  37354. iNdEx++
  37355. stringLen |= (uint64(b) & 0x7F) << shift
  37356. if b < 0x80 {
  37357. break
  37358. }
  37359. }
  37360. intStringLen := int(stringLen)
  37361. if intStringLen < 0 {
  37362. return ErrInvalidLengthGenerated
  37363. }
  37364. postIndex := iNdEx + intStringLen
  37365. if postIndex > l {
  37366. return io.ErrUnexpectedEOF
  37367. }
  37368. m.Container = string(dAtA[iNdEx:postIndex])
  37369. iNdEx = postIndex
  37370. case 6:
  37371. if wireType != 2 {
  37372. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  37373. }
  37374. var stringLen uint64
  37375. for shift := uint(0); ; shift += 7 {
  37376. if shift >= 64 {
  37377. return ErrIntOverflowGenerated
  37378. }
  37379. if iNdEx >= l {
  37380. return io.ErrUnexpectedEOF
  37381. }
  37382. b := dAtA[iNdEx]
  37383. iNdEx++
  37384. stringLen |= (uint64(b) & 0x7F) << shift
  37385. if b < 0x80 {
  37386. break
  37387. }
  37388. }
  37389. intStringLen := int(stringLen)
  37390. if intStringLen < 0 {
  37391. return ErrInvalidLengthGenerated
  37392. }
  37393. postIndex := iNdEx + intStringLen
  37394. if postIndex > l {
  37395. return io.ErrUnexpectedEOF
  37396. }
  37397. m.Command = append(m.Command, string(dAtA[iNdEx:postIndex]))
  37398. iNdEx = postIndex
  37399. default:
  37400. iNdEx = preIndex
  37401. skippy, err := skipGenerated(dAtA[iNdEx:])
  37402. if err != nil {
  37403. return err
  37404. }
  37405. if skippy < 0 {
  37406. return ErrInvalidLengthGenerated
  37407. }
  37408. if (iNdEx + skippy) > l {
  37409. return io.ErrUnexpectedEOF
  37410. }
  37411. iNdEx += skippy
  37412. }
  37413. }
  37414. if iNdEx > l {
  37415. return io.ErrUnexpectedEOF
  37416. }
  37417. return nil
  37418. }
  37419. func (m *PodList) Unmarshal(dAtA []byte) error {
  37420. l := len(dAtA)
  37421. iNdEx := 0
  37422. for iNdEx < l {
  37423. preIndex := iNdEx
  37424. var wire uint64
  37425. for shift := uint(0); ; shift += 7 {
  37426. if shift >= 64 {
  37427. return ErrIntOverflowGenerated
  37428. }
  37429. if iNdEx >= l {
  37430. return io.ErrUnexpectedEOF
  37431. }
  37432. b := dAtA[iNdEx]
  37433. iNdEx++
  37434. wire |= (uint64(b) & 0x7F) << shift
  37435. if b < 0x80 {
  37436. break
  37437. }
  37438. }
  37439. fieldNum := int32(wire >> 3)
  37440. wireType := int(wire & 0x7)
  37441. if wireType == 4 {
  37442. return fmt.Errorf("proto: PodList: wiretype end group for non-group")
  37443. }
  37444. if fieldNum <= 0 {
  37445. return fmt.Errorf("proto: PodList: illegal tag %d (wire type %d)", fieldNum, wire)
  37446. }
  37447. switch fieldNum {
  37448. case 1:
  37449. if wireType != 2 {
  37450. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  37451. }
  37452. var msglen int
  37453. for shift := uint(0); ; shift += 7 {
  37454. if shift >= 64 {
  37455. return ErrIntOverflowGenerated
  37456. }
  37457. if iNdEx >= l {
  37458. return io.ErrUnexpectedEOF
  37459. }
  37460. b := dAtA[iNdEx]
  37461. iNdEx++
  37462. msglen |= (int(b) & 0x7F) << shift
  37463. if b < 0x80 {
  37464. break
  37465. }
  37466. }
  37467. if msglen < 0 {
  37468. return ErrInvalidLengthGenerated
  37469. }
  37470. postIndex := iNdEx + msglen
  37471. if postIndex > l {
  37472. return io.ErrUnexpectedEOF
  37473. }
  37474. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37475. return err
  37476. }
  37477. iNdEx = postIndex
  37478. case 2:
  37479. if wireType != 2 {
  37480. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  37481. }
  37482. var msglen int
  37483. for shift := uint(0); ; shift += 7 {
  37484. if shift >= 64 {
  37485. return ErrIntOverflowGenerated
  37486. }
  37487. if iNdEx >= l {
  37488. return io.ErrUnexpectedEOF
  37489. }
  37490. b := dAtA[iNdEx]
  37491. iNdEx++
  37492. msglen |= (int(b) & 0x7F) << shift
  37493. if b < 0x80 {
  37494. break
  37495. }
  37496. }
  37497. if msglen < 0 {
  37498. return ErrInvalidLengthGenerated
  37499. }
  37500. postIndex := iNdEx + msglen
  37501. if postIndex > l {
  37502. return io.ErrUnexpectedEOF
  37503. }
  37504. m.Items = append(m.Items, Pod{})
  37505. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37506. return err
  37507. }
  37508. iNdEx = postIndex
  37509. default:
  37510. iNdEx = preIndex
  37511. skippy, err := skipGenerated(dAtA[iNdEx:])
  37512. if err != nil {
  37513. return err
  37514. }
  37515. if skippy < 0 {
  37516. return ErrInvalidLengthGenerated
  37517. }
  37518. if (iNdEx + skippy) > l {
  37519. return io.ErrUnexpectedEOF
  37520. }
  37521. iNdEx += skippy
  37522. }
  37523. }
  37524. if iNdEx > l {
  37525. return io.ErrUnexpectedEOF
  37526. }
  37527. return nil
  37528. }
  37529. func (m *PodLogOptions) Unmarshal(dAtA []byte) error {
  37530. l := len(dAtA)
  37531. iNdEx := 0
  37532. for iNdEx < l {
  37533. preIndex := iNdEx
  37534. var wire uint64
  37535. for shift := uint(0); ; shift += 7 {
  37536. if shift >= 64 {
  37537. return ErrIntOverflowGenerated
  37538. }
  37539. if iNdEx >= l {
  37540. return io.ErrUnexpectedEOF
  37541. }
  37542. b := dAtA[iNdEx]
  37543. iNdEx++
  37544. wire |= (uint64(b) & 0x7F) << shift
  37545. if b < 0x80 {
  37546. break
  37547. }
  37548. }
  37549. fieldNum := int32(wire >> 3)
  37550. wireType := int(wire & 0x7)
  37551. if wireType == 4 {
  37552. return fmt.Errorf("proto: PodLogOptions: wiretype end group for non-group")
  37553. }
  37554. if fieldNum <= 0 {
  37555. return fmt.Errorf("proto: PodLogOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  37556. }
  37557. switch fieldNum {
  37558. case 1:
  37559. if wireType != 2 {
  37560. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  37561. }
  37562. var stringLen uint64
  37563. for shift := uint(0); ; shift += 7 {
  37564. if shift >= 64 {
  37565. return ErrIntOverflowGenerated
  37566. }
  37567. if iNdEx >= l {
  37568. return io.ErrUnexpectedEOF
  37569. }
  37570. b := dAtA[iNdEx]
  37571. iNdEx++
  37572. stringLen |= (uint64(b) & 0x7F) << shift
  37573. if b < 0x80 {
  37574. break
  37575. }
  37576. }
  37577. intStringLen := int(stringLen)
  37578. if intStringLen < 0 {
  37579. return ErrInvalidLengthGenerated
  37580. }
  37581. postIndex := iNdEx + intStringLen
  37582. if postIndex > l {
  37583. return io.ErrUnexpectedEOF
  37584. }
  37585. m.Container = string(dAtA[iNdEx:postIndex])
  37586. iNdEx = postIndex
  37587. case 2:
  37588. if wireType != 0 {
  37589. return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType)
  37590. }
  37591. var v int
  37592. for shift := uint(0); ; shift += 7 {
  37593. if shift >= 64 {
  37594. return ErrIntOverflowGenerated
  37595. }
  37596. if iNdEx >= l {
  37597. return io.ErrUnexpectedEOF
  37598. }
  37599. b := dAtA[iNdEx]
  37600. iNdEx++
  37601. v |= (int(b) & 0x7F) << shift
  37602. if b < 0x80 {
  37603. break
  37604. }
  37605. }
  37606. m.Follow = bool(v != 0)
  37607. case 3:
  37608. if wireType != 0 {
  37609. return fmt.Errorf("proto: wrong wireType = %d for field Previous", wireType)
  37610. }
  37611. var v int
  37612. for shift := uint(0); ; shift += 7 {
  37613. if shift >= 64 {
  37614. return ErrIntOverflowGenerated
  37615. }
  37616. if iNdEx >= l {
  37617. return io.ErrUnexpectedEOF
  37618. }
  37619. b := dAtA[iNdEx]
  37620. iNdEx++
  37621. v |= (int(b) & 0x7F) << shift
  37622. if b < 0x80 {
  37623. break
  37624. }
  37625. }
  37626. m.Previous = bool(v != 0)
  37627. case 4:
  37628. if wireType != 0 {
  37629. return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType)
  37630. }
  37631. var v int64
  37632. for shift := uint(0); ; shift += 7 {
  37633. if shift >= 64 {
  37634. return ErrIntOverflowGenerated
  37635. }
  37636. if iNdEx >= l {
  37637. return io.ErrUnexpectedEOF
  37638. }
  37639. b := dAtA[iNdEx]
  37640. iNdEx++
  37641. v |= (int64(b) & 0x7F) << shift
  37642. if b < 0x80 {
  37643. break
  37644. }
  37645. }
  37646. m.SinceSeconds = &v
  37647. case 5:
  37648. if wireType != 2 {
  37649. return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", 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. if m.SinceTime == nil {
  37674. m.SinceTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  37675. }
  37676. if err := m.SinceTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37677. return err
  37678. }
  37679. iNdEx = postIndex
  37680. case 6:
  37681. if wireType != 0 {
  37682. return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType)
  37683. }
  37684. var v int
  37685. for shift := uint(0); ; shift += 7 {
  37686. if shift >= 64 {
  37687. return ErrIntOverflowGenerated
  37688. }
  37689. if iNdEx >= l {
  37690. return io.ErrUnexpectedEOF
  37691. }
  37692. b := dAtA[iNdEx]
  37693. iNdEx++
  37694. v |= (int(b) & 0x7F) << shift
  37695. if b < 0x80 {
  37696. break
  37697. }
  37698. }
  37699. m.Timestamps = bool(v != 0)
  37700. case 7:
  37701. if wireType != 0 {
  37702. return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType)
  37703. }
  37704. var v int64
  37705. for shift := uint(0); ; shift += 7 {
  37706. if shift >= 64 {
  37707. return ErrIntOverflowGenerated
  37708. }
  37709. if iNdEx >= l {
  37710. return io.ErrUnexpectedEOF
  37711. }
  37712. b := dAtA[iNdEx]
  37713. iNdEx++
  37714. v |= (int64(b) & 0x7F) << shift
  37715. if b < 0x80 {
  37716. break
  37717. }
  37718. }
  37719. m.TailLines = &v
  37720. case 8:
  37721. if wireType != 0 {
  37722. return fmt.Errorf("proto: wrong wireType = %d for field LimitBytes", wireType)
  37723. }
  37724. var v int64
  37725. for shift := uint(0); ; shift += 7 {
  37726. if shift >= 64 {
  37727. return ErrIntOverflowGenerated
  37728. }
  37729. if iNdEx >= l {
  37730. return io.ErrUnexpectedEOF
  37731. }
  37732. b := dAtA[iNdEx]
  37733. iNdEx++
  37734. v |= (int64(b) & 0x7F) << shift
  37735. if b < 0x80 {
  37736. break
  37737. }
  37738. }
  37739. m.LimitBytes = &v
  37740. default:
  37741. iNdEx = preIndex
  37742. skippy, err := skipGenerated(dAtA[iNdEx:])
  37743. if err != nil {
  37744. return err
  37745. }
  37746. if skippy < 0 {
  37747. return ErrInvalidLengthGenerated
  37748. }
  37749. if (iNdEx + skippy) > l {
  37750. return io.ErrUnexpectedEOF
  37751. }
  37752. iNdEx += skippy
  37753. }
  37754. }
  37755. if iNdEx > l {
  37756. return io.ErrUnexpectedEOF
  37757. }
  37758. return nil
  37759. }
  37760. func (m *PodPortForwardOptions) Unmarshal(dAtA []byte) error {
  37761. l := len(dAtA)
  37762. iNdEx := 0
  37763. for iNdEx < l {
  37764. preIndex := iNdEx
  37765. var wire uint64
  37766. for shift := uint(0); ; shift += 7 {
  37767. if shift >= 64 {
  37768. return ErrIntOverflowGenerated
  37769. }
  37770. if iNdEx >= l {
  37771. return io.ErrUnexpectedEOF
  37772. }
  37773. b := dAtA[iNdEx]
  37774. iNdEx++
  37775. wire |= (uint64(b) & 0x7F) << shift
  37776. if b < 0x80 {
  37777. break
  37778. }
  37779. }
  37780. fieldNum := int32(wire >> 3)
  37781. wireType := int(wire & 0x7)
  37782. if wireType == 4 {
  37783. return fmt.Errorf("proto: PodPortForwardOptions: wiretype end group for non-group")
  37784. }
  37785. if fieldNum <= 0 {
  37786. return fmt.Errorf("proto: PodPortForwardOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  37787. }
  37788. switch fieldNum {
  37789. case 1:
  37790. if wireType == 0 {
  37791. var v int32
  37792. for shift := uint(0); ; shift += 7 {
  37793. if shift >= 64 {
  37794. return ErrIntOverflowGenerated
  37795. }
  37796. if iNdEx >= l {
  37797. return io.ErrUnexpectedEOF
  37798. }
  37799. b := dAtA[iNdEx]
  37800. iNdEx++
  37801. v |= (int32(b) & 0x7F) << shift
  37802. if b < 0x80 {
  37803. break
  37804. }
  37805. }
  37806. m.Ports = append(m.Ports, v)
  37807. } else if wireType == 2 {
  37808. var packedLen int
  37809. for shift := uint(0); ; shift += 7 {
  37810. if shift >= 64 {
  37811. return ErrIntOverflowGenerated
  37812. }
  37813. if iNdEx >= l {
  37814. return io.ErrUnexpectedEOF
  37815. }
  37816. b := dAtA[iNdEx]
  37817. iNdEx++
  37818. packedLen |= (int(b) & 0x7F) << shift
  37819. if b < 0x80 {
  37820. break
  37821. }
  37822. }
  37823. if packedLen < 0 {
  37824. return ErrInvalidLengthGenerated
  37825. }
  37826. postIndex := iNdEx + packedLen
  37827. if postIndex > l {
  37828. return io.ErrUnexpectedEOF
  37829. }
  37830. for iNdEx < postIndex {
  37831. var v int32
  37832. for shift := uint(0); ; shift += 7 {
  37833. if shift >= 64 {
  37834. return ErrIntOverflowGenerated
  37835. }
  37836. if iNdEx >= l {
  37837. return io.ErrUnexpectedEOF
  37838. }
  37839. b := dAtA[iNdEx]
  37840. iNdEx++
  37841. v |= (int32(b) & 0x7F) << shift
  37842. if b < 0x80 {
  37843. break
  37844. }
  37845. }
  37846. m.Ports = append(m.Ports, v)
  37847. }
  37848. } else {
  37849. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  37850. }
  37851. default:
  37852. iNdEx = preIndex
  37853. skippy, err := skipGenerated(dAtA[iNdEx:])
  37854. if err != nil {
  37855. return err
  37856. }
  37857. if skippy < 0 {
  37858. return ErrInvalidLengthGenerated
  37859. }
  37860. if (iNdEx + skippy) > l {
  37861. return io.ErrUnexpectedEOF
  37862. }
  37863. iNdEx += skippy
  37864. }
  37865. }
  37866. if iNdEx > l {
  37867. return io.ErrUnexpectedEOF
  37868. }
  37869. return nil
  37870. }
  37871. func (m *PodProxyOptions) Unmarshal(dAtA []byte) error {
  37872. l := len(dAtA)
  37873. iNdEx := 0
  37874. for iNdEx < l {
  37875. preIndex := iNdEx
  37876. var wire uint64
  37877. for shift := uint(0); ; shift += 7 {
  37878. if shift >= 64 {
  37879. return ErrIntOverflowGenerated
  37880. }
  37881. if iNdEx >= l {
  37882. return io.ErrUnexpectedEOF
  37883. }
  37884. b := dAtA[iNdEx]
  37885. iNdEx++
  37886. wire |= (uint64(b) & 0x7F) << shift
  37887. if b < 0x80 {
  37888. break
  37889. }
  37890. }
  37891. fieldNum := int32(wire >> 3)
  37892. wireType := int(wire & 0x7)
  37893. if wireType == 4 {
  37894. return fmt.Errorf("proto: PodProxyOptions: wiretype end group for non-group")
  37895. }
  37896. if fieldNum <= 0 {
  37897. return fmt.Errorf("proto: PodProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  37898. }
  37899. switch fieldNum {
  37900. case 1:
  37901. if wireType != 2 {
  37902. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  37903. }
  37904. var stringLen uint64
  37905. for shift := uint(0); ; shift += 7 {
  37906. if shift >= 64 {
  37907. return ErrIntOverflowGenerated
  37908. }
  37909. if iNdEx >= l {
  37910. return io.ErrUnexpectedEOF
  37911. }
  37912. b := dAtA[iNdEx]
  37913. iNdEx++
  37914. stringLen |= (uint64(b) & 0x7F) << shift
  37915. if b < 0x80 {
  37916. break
  37917. }
  37918. }
  37919. intStringLen := int(stringLen)
  37920. if intStringLen < 0 {
  37921. return ErrInvalidLengthGenerated
  37922. }
  37923. postIndex := iNdEx + intStringLen
  37924. if postIndex > l {
  37925. return io.ErrUnexpectedEOF
  37926. }
  37927. m.Path = string(dAtA[iNdEx:postIndex])
  37928. iNdEx = postIndex
  37929. default:
  37930. iNdEx = preIndex
  37931. skippy, err := skipGenerated(dAtA[iNdEx:])
  37932. if err != nil {
  37933. return err
  37934. }
  37935. if skippy < 0 {
  37936. return ErrInvalidLengthGenerated
  37937. }
  37938. if (iNdEx + skippy) > l {
  37939. return io.ErrUnexpectedEOF
  37940. }
  37941. iNdEx += skippy
  37942. }
  37943. }
  37944. if iNdEx > l {
  37945. return io.ErrUnexpectedEOF
  37946. }
  37947. return nil
  37948. }
  37949. func (m *PodReadinessGate) Unmarshal(dAtA []byte) error {
  37950. l := len(dAtA)
  37951. iNdEx := 0
  37952. for iNdEx < l {
  37953. preIndex := iNdEx
  37954. var wire uint64
  37955. for shift := uint(0); ; shift += 7 {
  37956. if shift >= 64 {
  37957. return ErrIntOverflowGenerated
  37958. }
  37959. if iNdEx >= l {
  37960. return io.ErrUnexpectedEOF
  37961. }
  37962. b := dAtA[iNdEx]
  37963. iNdEx++
  37964. wire |= (uint64(b) & 0x7F) << shift
  37965. if b < 0x80 {
  37966. break
  37967. }
  37968. }
  37969. fieldNum := int32(wire >> 3)
  37970. wireType := int(wire & 0x7)
  37971. if wireType == 4 {
  37972. return fmt.Errorf("proto: PodReadinessGate: wiretype end group for non-group")
  37973. }
  37974. if fieldNum <= 0 {
  37975. return fmt.Errorf("proto: PodReadinessGate: illegal tag %d (wire type %d)", fieldNum, wire)
  37976. }
  37977. switch fieldNum {
  37978. case 1:
  37979. if wireType != 2 {
  37980. return fmt.Errorf("proto: wrong wireType = %d for field ConditionType", wireType)
  37981. }
  37982. var stringLen uint64
  37983. for shift := uint(0); ; shift += 7 {
  37984. if shift >= 64 {
  37985. return ErrIntOverflowGenerated
  37986. }
  37987. if iNdEx >= l {
  37988. return io.ErrUnexpectedEOF
  37989. }
  37990. b := dAtA[iNdEx]
  37991. iNdEx++
  37992. stringLen |= (uint64(b) & 0x7F) << shift
  37993. if b < 0x80 {
  37994. break
  37995. }
  37996. }
  37997. intStringLen := int(stringLen)
  37998. if intStringLen < 0 {
  37999. return ErrInvalidLengthGenerated
  38000. }
  38001. postIndex := iNdEx + intStringLen
  38002. if postIndex > l {
  38003. return io.ErrUnexpectedEOF
  38004. }
  38005. m.ConditionType = PodConditionType(dAtA[iNdEx:postIndex])
  38006. iNdEx = postIndex
  38007. default:
  38008. iNdEx = preIndex
  38009. skippy, err := skipGenerated(dAtA[iNdEx:])
  38010. if err != nil {
  38011. return err
  38012. }
  38013. if skippy < 0 {
  38014. return ErrInvalidLengthGenerated
  38015. }
  38016. if (iNdEx + skippy) > l {
  38017. return io.ErrUnexpectedEOF
  38018. }
  38019. iNdEx += skippy
  38020. }
  38021. }
  38022. if iNdEx > l {
  38023. return io.ErrUnexpectedEOF
  38024. }
  38025. return nil
  38026. }
  38027. func (m *PodSecurityContext) Unmarshal(dAtA []byte) error {
  38028. l := len(dAtA)
  38029. iNdEx := 0
  38030. for iNdEx < l {
  38031. preIndex := iNdEx
  38032. var wire uint64
  38033. for shift := uint(0); ; shift += 7 {
  38034. if shift >= 64 {
  38035. return ErrIntOverflowGenerated
  38036. }
  38037. if iNdEx >= l {
  38038. return io.ErrUnexpectedEOF
  38039. }
  38040. b := dAtA[iNdEx]
  38041. iNdEx++
  38042. wire |= (uint64(b) & 0x7F) << shift
  38043. if b < 0x80 {
  38044. break
  38045. }
  38046. }
  38047. fieldNum := int32(wire >> 3)
  38048. wireType := int(wire & 0x7)
  38049. if wireType == 4 {
  38050. return fmt.Errorf("proto: PodSecurityContext: wiretype end group for non-group")
  38051. }
  38052. if fieldNum <= 0 {
  38053. return fmt.Errorf("proto: PodSecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  38054. }
  38055. switch fieldNum {
  38056. case 1:
  38057. if wireType != 2 {
  38058. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  38059. }
  38060. var msglen int
  38061. for shift := uint(0); ; shift += 7 {
  38062. if shift >= 64 {
  38063. return ErrIntOverflowGenerated
  38064. }
  38065. if iNdEx >= l {
  38066. return io.ErrUnexpectedEOF
  38067. }
  38068. b := dAtA[iNdEx]
  38069. iNdEx++
  38070. msglen |= (int(b) & 0x7F) << shift
  38071. if b < 0x80 {
  38072. break
  38073. }
  38074. }
  38075. if msglen < 0 {
  38076. return ErrInvalidLengthGenerated
  38077. }
  38078. postIndex := iNdEx + msglen
  38079. if postIndex > l {
  38080. return io.ErrUnexpectedEOF
  38081. }
  38082. if m.SELinuxOptions == nil {
  38083. m.SELinuxOptions = &SELinuxOptions{}
  38084. }
  38085. if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38086. return err
  38087. }
  38088. iNdEx = postIndex
  38089. case 2:
  38090. if wireType != 0 {
  38091. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  38092. }
  38093. var v int64
  38094. for shift := uint(0); ; shift += 7 {
  38095. if shift >= 64 {
  38096. return ErrIntOverflowGenerated
  38097. }
  38098. if iNdEx >= l {
  38099. return io.ErrUnexpectedEOF
  38100. }
  38101. b := dAtA[iNdEx]
  38102. iNdEx++
  38103. v |= (int64(b) & 0x7F) << shift
  38104. if b < 0x80 {
  38105. break
  38106. }
  38107. }
  38108. m.RunAsUser = &v
  38109. case 3:
  38110. if wireType != 0 {
  38111. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  38112. }
  38113. var v int
  38114. for shift := uint(0); ; shift += 7 {
  38115. if shift >= 64 {
  38116. return ErrIntOverflowGenerated
  38117. }
  38118. if iNdEx >= l {
  38119. return io.ErrUnexpectedEOF
  38120. }
  38121. b := dAtA[iNdEx]
  38122. iNdEx++
  38123. v |= (int(b) & 0x7F) << shift
  38124. if b < 0x80 {
  38125. break
  38126. }
  38127. }
  38128. b := bool(v != 0)
  38129. m.RunAsNonRoot = &b
  38130. case 4:
  38131. if wireType == 0 {
  38132. var v int64
  38133. for shift := uint(0); ; shift += 7 {
  38134. if shift >= 64 {
  38135. return ErrIntOverflowGenerated
  38136. }
  38137. if iNdEx >= l {
  38138. return io.ErrUnexpectedEOF
  38139. }
  38140. b := dAtA[iNdEx]
  38141. iNdEx++
  38142. v |= (int64(b) & 0x7F) << shift
  38143. if b < 0x80 {
  38144. break
  38145. }
  38146. }
  38147. m.SupplementalGroups = append(m.SupplementalGroups, v)
  38148. } else if wireType == 2 {
  38149. var packedLen int
  38150. for shift := uint(0); ; shift += 7 {
  38151. if shift >= 64 {
  38152. return ErrIntOverflowGenerated
  38153. }
  38154. if iNdEx >= l {
  38155. return io.ErrUnexpectedEOF
  38156. }
  38157. b := dAtA[iNdEx]
  38158. iNdEx++
  38159. packedLen |= (int(b) & 0x7F) << shift
  38160. if b < 0x80 {
  38161. break
  38162. }
  38163. }
  38164. if packedLen < 0 {
  38165. return ErrInvalidLengthGenerated
  38166. }
  38167. postIndex := iNdEx + packedLen
  38168. if postIndex > l {
  38169. return io.ErrUnexpectedEOF
  38170. }
  38171. for iNdEx < postIndex {
  38172. var v int64
  38173. for shift := uint(0); ; shift += 7 {
  38174. if shift >= 64 {
  38175. return ErrIntOverflowGenerated
  38176. }
  38177. if iNdEx >= l {
  38178. return io.ErrUnexpectedEOF
  38179. }
  38180. b := dAtA[iNdEx]
  38181. iNdEx++
  38182. v |= (int64(b) & 0x7F) << shift
  38183. if b < 0x80 {
  38184. break
  38185. }
  38186. }
  38187. m.SupplementalGroups = append(m.SupplementalGroups, v)
  38188. }
  38189. } else {
  38190. return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
  38191. }
  38192. case 5:
  38193. if wireType != 0 {
  38194. return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
  38195. }
  38196. var v int64
  38197. for shift := uint(0); ; shift += 7 {
  38198. if shift >= 64 {
  38199. return ErrIntOverflowGenerated
  38200. }
  38201. if iNdEx >= l {
  38202. return io.ErrUnexpectedEOF
  38203. }
  38204. b := dAtA[iNdEx]
  38205. iNdEx++
  38206. v |= (int64(b) & 0x7F) << shift
  38207. if b < 0x80 {
  38208. break
  38209. }
  38210. }
  38211. m.FSGroup = &v
  38212. case 6:
  38213. if wireType != 0 {
  38214. return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
  38215. }
  38216. var v int64
  38217. for shift := uint(0); ; shift += 7 {
  38218. if shift >= 64 {
  38219. return ErrIntOverflowGenerated
  38220. }
  38221. if iNdEx >= l {
  38222. return io.ErrUnexpectedEOF
  38223. }
  38224. b := dAtA[iNdEx]
  38225. iNdEx++
  38226. v |= (int64(b) & 0x7F) << shift
  38227. if b < 0x80 {
  38228. break
  38229. }
  38230. }
  38231. m.RunAsGroup = &v
  38232. case 7:
  38233. if wireType != 2 {
  38234. return fmt.Errorf("proto: wrong wireType = %d for field Sysctls", wireType)
  38235. }
  38236. var msglen int
  38237. for shift := uint(0); ; shift += 7 {
  38238. if shift >= 64 {
  38239. return ErrIntOverflowGenerated
  38240. }
  38241. if iNdEx >= l {
  38242. return io.ErrUnexpectedEOF
  38243. }
  38244. b := dAtA[iNdEx]
  38245. iNdEx++
  38246. msglen |= (int(b) & 0x7F) << shift
  38247. if b < 0x80 {
  38248. break
  38249. }
  38250. }
  38251. if msglen < 0 {
  38252. return ErrInvalidLengthGenerated
  38253. }
  38254. postIndex := iNdEx + msglen
  38255. if postIndex > l {
  38256. return io.ErrUnexpectedEOF
  38257. }
  38258. m.Sysctls = append(m.Sysctls, Sysctl{})
  38259. if err := m.Sysctls[len(m.Sysctls)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38260. return err
  38261. }
  38262. iNdEx = postIndex
  38263. default:
  38264. iNdEx = preIndex
  38265. skippy, err := skipGenerated(dAtA[iNdEx:])
  38266. if err != nil {
  38267. return err
  38268. }
  38269. if skippy < 0 {
  38270. return ErrInvalidLengthGenerated
  38271. }
  38272. if (iNdEx + skippy) > l {
  38273. return io.ErrUnexpectedEOF
  38274. }
  38275. iNdEx += skippy
  38276. }
  38277. }
  38278. if iNdEx > l {
  38279. return io.ErrUnexpectedEOF
  38280. }
  38281. return nil
  38282. }
  38283. func (m *PodSignature) Unmarshal(dAtA []byte) error {
  38284. l := len(dAtA)
  38285. iNdEx := 0
  38286. for iNdEx < l {
  38287. preIndex := iNdEx
  38288. var wire uint64
  38289. for shift := uint(0); ; shift += 7 {
  38290. if shift >= 64 {
  38291. return ErrIntOverflowGenerated
  38292. }
  38293. if iNdEx >= l {
  38294. return io.ErrUnexpectedEOF
  38295. }
  38296. b := dAtA[iNdEx]
  38297. iNdEx++
  38298. wire |= (uint64(b) & 0x7F) << shift
  38299. if b < 0x80 {
  38300. break
  38301. }
  38302. }
  38303. fieldNum := int32(wire >> 3)
  38304. wireType := int(wire & 0x7)
  38305. if wireType == 4 {
  38306. return fmt.Errorf("proto: PodSignature: wiretype end group for non-group")
  38307. }
  38308. if fieldNum <= 0 {
  38309. return fmt.Errorf("proto: PodSignature: illegal tag %d (wire type %d)", fieldNum, wire)
  38310. }
  38311. switch fieldNum {
  38312. case 1:
  38313. if wireType != 2 {
  38314. return fmt.Errorf("proto: wrong wireType = %d for field PodController", wireType)
  38315. }
  38316. var msglen int
  38317. for shift := uint(0); ; shift += 7 {
  38318. if shift >= 64 {
  38319. return ErrIntOverflowGenerated
  38320. }
  38321. if iNdEx >= l {
  38322. return io.ErrUnexpectedEOF
  38323. }
  38324. b := dAtA[iNdEx]
  38325. iNdEx++
  38326. msglen |= (int(b) & 0x7F) << shift
  38327. if b < 0x80 {
  38328. break
  38329. }
  38330. }
  38331. if msglen < 0 {
  38332. return ErrInvalidLengthGenerated
  38333. }
  38334. postIndex := iNdEx + msglen
  38335. if postIndex > l {
  38336. return io.ErrUnexpectedEOF
  38337. }
  38338. if m.PodController == nil {
  38339. m.PodController = &k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference{}
  38340. }
  38341. if err := m.PodController.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38342. return err
  38343. }
  38344. iNdEx = postIndex
  38345. default:
  38346. iNdEx = preIndex
  38347. skippy, err := skipGenerated(dAtA[iNdEx:])
  38348. if err != nil {
  38349. return err
  38350. }
  38351. if skippy < 0 {
  38352. return ErrInvalidLengthGenerated
  38353. }
  38354. if (iNdEx + skippy) > l {
  38355. return io.ErrUnexpectedEOF
  38356. }
  38357. iNdEx += skippy
  38358. }
  38359. }
  38360. if iNdEx > l {
  38361. return io.ErrUnexpectedEOF
  38362. }
  38363. return nil
  38364. }
  38365. func (m *PodSpec) Unmarshal(dAtA []byte) error {
  38366. l := len(dAtA)
  38367. iNdEx := 0
  38368. for iNdEx < l {
  38369. preIndex := iNdEx
  38370. var wire uint64
  38371. for shift := uint(0); ; shift += 7 {
  38372. if shift >= 64 {
  38373. return ErrIntOverflowGenerated
  38374. }
  38375. if iNdEx >= l {
  38376. return io.ErrUnexpectedEOF
  38377. }
  38378. b := dAtA[iNdEx]
  38379. iNdEx++
  38380. wire |= (uint64(b) & 0x7F) << shift
  38381. if b < 0x80 {
  38382. break
  38383. }
  38384. }
  38385. fieldNum := int32(wire >> 3)
  38386. wireType := int(wire & 0x7)
  38387. if wireType == 4 {
  38388. return fmt.Errorf("proto: PodSpec: wiretype end group for non-group")
  38389. }
  38390. if fieldNum <= 0 {
  38391. return fmt.Errorf("proto: PodSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  38392. }
  38393. switch fieldNum {
  38394. case 1:
  38395. if wireType != 2 {
  38396. return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
  38397. }
  38398. var msglen int
  38399. for shift := uint(0); ; shift += 7 {
  38400. if shift >= 64 {
  38401. return ErrIntOverflowGenerated
  38402. }
  38403. if iNdEx >= l {
  38404. return io.ErrUnexpectedEOF
  38405. }
  38406. b := dAtA[iNdEx]
  38407. iNdEx++
  38408. msglen |= (int(b) & 0x7F) << shift
  38409. if b < 0x80 {
  38410. break
  38411. }
  38412. }
  38413. if msglen < 0 {
  38414. return ErrInvalidLengthGenerated
  38415. }
  38416. postIndex := iNdEx + msglen
  38417. if postIndex > l {
  38418. return io.ErrUnexpectedEOF
  38419. }
  38420. m.Volumes = append(m.Volumes, Volume{})
  38421. if err := m.Volumes[len(m.Volumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38422. return err
  38423. }
  38424. iNdEx = postIndex
  38425. case 2:
  38426. if wireType != 2 {
  38427. return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
  38428. }
  38429. var msglen int
  38430. for shift := uint(0); ; shift += 7 {
  38431. if shift >= 64 {
  38432. return ErrIntOverflowGenerated
  38433. }
  38434. if iNdEx >= l {
  38435. return io.ErrUnexpectedEOF
  38436. }
  38437. b := dAtA[iNdEx]
  38438. iNdEx++
  38439. msglen |= (int(b) & 0x7F) << shift
  38440. if b < 0x80 {
  38441. break
  38442. }
  38443. }
  38444. if msglen < 0 {
  38445. return ErrInvalidLengthGenerated
  38446. }
  38447. postIndex := iNdEx + msglen
  38448. if postIndex > l {
  38449. return io.ErrUnexpectedEOF
  38450. }
  38451. m.Containers = append(m.Containers, Container{})
  38452. if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38453. return err
  38454. }
  38455. iNdEx = postIndex
  38456. case 3:
  38457. if wireType != 2 {
  38458. return fmt.Errorf("proto: wrong wireType = %d for field RestartPolicy", wireType)
  38459. }
  38460. var stringLen uint64
  38461. for shift := uint(0); ; shift += 7 {
  38462. if shift >= 64 {
  38463. return ErrIntOverflowGenerated
  38464. }
  38465. if iNdEx >= l {
  38466. return io.ErrUnexpectedEOF
  38467. }
  38468. b := dAtA[iNdEx]
  38469. iNdEx++
  38470. stringLen |= (uint64(b) & 0x7F) << shift
  38471. if b < 0x80 {
  38472. break
  38473. }
  38474. }
  38475. intStringLen := int(stringLen)
  38476. if intStringLen < 0 {
  38477. return ErrInvalidLengthGenerated
  38478. }
  38479. postIndex := iNdEx + intStringLen
  38480. if postIndex > l {
  38481. return io.ErrUnexpectedEOF
  38482. }
  38483. m.RestartPolicy = RestartPolicy(dAtA[iNdEx:postIndex])
  38484. iNdEx = postIndex
  38485. case 4:
  38486. if wireType != 0 {
  38487. return fmt.Errorf("proto: wrong wireType = %d for field TerminationGracePeriodSeconds", wireType)
  38488. }
  38489. var v int64
  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. v |= (int64(b) & 0x7F) << shift
  38500. if b < 0x80 {
  38501. break
  38502. }
  38503. }
  38504. m.TerminationGracePeriodSeconds = &v
  38505. case 5:
  38506. if wireType != 0 {
  38507. return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType)
  38508. }
  38509. var v int64
  38510. for shift := uint(0); ; shift += 7 {
  38511. if shift >= 64 {
  38512. return ErrIntOverflowGenerated
  38513. }
  38514. if iNdEx >= l {
  38515. return io.ErrUnexpectedEOF
  38516. }
  38517. b := dAtA[iNdEx]
  38518. iNdEx++
  38519. v |= (int64(b) & 0x7F) << shift
  38520. if b < 0x80 {
  38521. break
  38522. }
  38523. }
  38524. m.ActiveDeadlineSeconds = &v
  38525. case 6:
  38526. if wireType != 2 {
  38527. return fmt.Errorf("proto: wrong wireType = %d for field DNSPolicy", wireType)
  38528. }
  38529. var stringLen uint64
  38530. for shift := uint(0); ; shift += 7 {
  38531. if shift >= 64 {
  38532. return ErrIntOverflowGenerated
  38533. }
  38534. if iNdEx >= l {
  38535. return io.ErrUnexpectedEOF
  38536. }
  38537. b := dAtA[iNdEx]
  38538. iNdEx++
  38539. stringLen |= (uint64(b) & 0x7F) << shift
  38540. if b < 0x80 {
  38541. break
  38542. }
  38543. }
  38544. intStringLen := int(stringLen)
  38545. if intStringLen < 0 {
  38546. return ErrInvalidLengthGenerated
  38547. }
  38548. postIndex := iNdEx + intStringLen
  38549. if postIndex > l {
  38550. return io.ErrUnexpectedEOF
  38551. }
  38552. m.DNSPolicy = DNSPolicy(dAtA[iNdEx:postIndex])
  38553. iNdEx = postIndex
  38554. case 7:
  38555. if wireType != 2 {
  38556. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelector", wireType)
  38557. }
  38558. var msglen int
  38559. for shift := uint(0); ; shift += 7 {
  38560. if shift >= 64 {
  38561. return ErrIntOverflowGenerated
  38562. }
  38563. if iNdEx >= l {
  38564. return io.ErrUnexpectedEOF
  38565. }
  38566. b := dAtA[iNdEx]
  38567. iNdEx++
  38568. msglen |= (int(b) & 0x7F) << shift
  38569. if b < 0x80 {
  38570. break
  38571. }
  38572. }
  38573. if msglen < 0 {
  38574. return ErrInvalidLengthGenerated
  38575. }
  38576. postIndex := iNdEx + msglen
  38577. if postIndex > l {
  38578. return io.ErrUnexpectedEOF
  38579. }
  38580. if m.NodeSelector == nil {
  38581. m.NodeSelector = make(map[string]string)
  38582. }
  38583. var mapkey string
  38584. var mapvalue string
  38585. for iNdEx < postIndex {
  38586. entryPreIndex := iNdEx
  38587. var wire uint64
  38588. for shift := uint(0); ; shift += 7 {
  38589. if shift >= 64 {
  38590. return ErrIntOverflowGenerated
  38591. }
  38592. if iNdEx >= l {
  38593. return io.ErrUnexpectedEOF
  38594. }
  38595. b := dAtA[iNdEx]
  38596. iNdEx++
  38597. wire |= (uint64(b) & 0x7F) << shift
  38598. if b < 0x80 {
  38599. break
  38600. }
  38601. }
  38602. fieldNum := int32(wire >> 3)
  38603. if fieldNum == 1 {
  38604. var stringLenmapkey uint64
  38605. for shift := uint(0); ; shift += 7 {
  38606. if shift >= 64 {
  38607. return ErrIntOverflowGenerated
  38608. }
  38609. if iNdEx >= l {
  38610. return io.ErrUnexpectedEOF
  38611. }
  38612. b := dAtA[iNdEx]
  38613. iNdEx++
  38614. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  38615. if b < 0x80 {
  38616. break
  38617. }
  38618. }
  38619. intStringLenmapkey := int(stringLenmapkey)
  38620. if intStringLenmapkey < 0 {
  38621. return ErrInvalidLengthGenerated
  38622. }
  38623. postStringIndexmapkey := iNdEx + intStringLenmapkey
  38624. if postStringIndexmapkey > l {
  38625. return io.ErrUnexpectedEOF
  38626. }
  38627. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  38628. iNdEx = postStringIndexmapkey
  38629. } else if fieldNum == 2 {
  38630. var stringLenmapvalue uint64
  38631. for shift := uint(0); ; shift += 7 {
  38632. if shift >= 64 {
  38633. return ErrIntOverflowGenerated
  38634. }
  38635. if iNdEx >= l {
  38636. return io.ErrUnexpectedEOF
  38637. }
  38638. b := dAtA[iNdEx]
  38639. iNdEx++
  38640. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  38641. if b < 0x80 {
  38642. break
  38643. }
  38644. }
  38645. intStringLenmapvalue := int(stringLenmapvalue)
  38646. if intStringLenmapvalue < 0 {
  38647. return ErrInvalidLengthGenerated
  38648. }
  38649. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  38650. if postStringIndexmapvalue > l {
  38651. return io.ErrUnexpectedEOF
  38652. }
  38653. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  38654. iNdEx = postStringIndexmapvalue
  38655. } else {
  38656. iNdEx = entryPreIndex
  38657. skippy, err := skipGenerated(dAtA[iNdEx:])
  38658. if err != nil {
  38659. return err
  38660. }
  38661. if skippy < 0 {
  38662. return ErrInvalidLengthGenerated
  38663. }
  38664. if (iNdEx + skippy) > postIndex {
  38665. return io.ErrUnexpectedEOF
  38666. }
  38667. iNdEx += skippy
  38668. }
  38669. }
  38670. m.NodeSelector[mapkey] = mapvalue
  38671. iNdEx = postIndex
  38672. case 8:
  38673. if wireType != 2 {
  38674. return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountName", wireType)
  38675. }
  38676. var stringLen uint64
  38677. for shift := uint(0); ; shift += 7 {
  38678. if shift >= 64 {
  38679. return ErrIntOverflowGenerated
  38680. }
  38681. if iNdEx >= l {
  38682. return io.ErrUnexpectedEOF
  38683. }
  38684. b := dAtA[iNdEx]
  38685. iNdEx++
  38686. stringLen |= (uint64(b) & 0x7F) << shift
  38687. if b < 0x80 {
  38688. break
  38689. }
  38690. }
  38691. intStringLen := int(stringLen)
  38692. if intStringLen < 0 {
  38693. return ErrInvalidLengthGenerated
  38694. }
  38695. postIndex := iNdEx + intStringLen
  38696. if postIndex > l {
  38697. return io.ErrUnexpectedEOF
  38698. }
  38699. m.ServiceAccountName = string(dAtA[iNdEx:postIndex])
  38700. iNdEx = postIndex
  38701. case 9:
  38702. if wireType != 2 {
  38703. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedServiceAccount", wireType)
  38704. }
  38705. var stringLen uint64
  38706. for shift := uint(0); ; shift += 7 {
  38707. if shift >= 64 {
  38708. return ErrIntOverflowGenerated
  38709. }
  38710. if iNdEx >= l {
  38711. return io.ErrUnexpectedEOF
  38712. }
  38713. b := dAtA[iNdEx]
  38714. iNdEx++
  38715. stringLen |= (uint64(b) & 0x7F) << shift
  38716. if b < 0x80 {
  38717. break
  38718. }
  38719. }
  38720. intStringLen := int(stringLen)
  38721. if intStringLen < 0 {
  38722. return ErrInvalidLengthGenerated
  38723. }
  38724. postIndex := iNdEx + intStringLen
  38725. if postIndex > l {
  38726. return io.ErrUnexpectedEOF
  38727. }
  38728. m.DeprecatedServiceAccount = string(dAtA[iNdEx:postIndex])
  38729. iNdEx = postIndex
  38730. case 10:
  38731. if wireType != 2 {
  38732. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  38733. }
  38734. var stringLen uint64
  38735. for shift := uint(0); ; shift += 7 {
  38736. if shift >= 64 {
  38737. return ErrIntOverflowGenerated
  38738. }
  38739. if iNdEx >= l {
  38740. return io.ErrUnexpectedEOF
  38741. }
  38742. b := dAtA[iNdEx]
  38743. iNdEx++
  38744. stringLen |= (uint64(b) & 0x7F) << shift
  38745. if b < 0x80 {
  38746. break
  38747. }
  38748. }
  38749. intStringLen := int(stringLen)
  38750. if intStringLen < 0 {
  38751. return ErrInvalidLengthGenerated
  38752. }
  38753. postIndex := iNdEx + intStringLen
  38754. if postIndex > l {
  38755. return io.ErrUnexpectedEOF
  38756. }
  38757. m.NodeName = string(dAtA[iNdEx:postIndex])
  38758. iNdEx = postIndex
  38759. case 11:
  38760. if wireType != 0 {
  38761. return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  38762. }
  38763. var v int
  38764. for shift := uint(0); ; shift += 7 {
  38765. if shift >= 64 {
  38766. return ErrIntOverflowGenerated
  38767. }
  38768. if iNdEx >= l {
  38769. return io.ErrUnexpectedEOF
  38770. }
  38771. b := dAtA[iNdEx]
  38772. iNdEx++
  38773. v |= (int(b) & 0x7F) << shift
  38774. if b < 0x80 {
  38775. break
  38776. }
  38777. }
  38778. m.HostNetwork = bool(v != 0)
  38779. case 12:
  38780. if wireType != 0 {
  38781. return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  38782. }
  38783. var v int
  38784. for shift := uint(0); ; shift += 7 {
  38785. if shift >= 64 {
  38786. return ErrIntOverflowGenerated
  38787. }
  38788. if iNdEx >= l {
  38789. return io.ErrUnexpectedEOF
  38790. }
  38791. b := dAtA[iNdEx]
  38792. iNdEx++
  38793. v |= (int(b) & 0x7F) << shift
  38794. if b < 0x80 {
  38795. break
  38796. }
  38797. }
  38798. m.HostPID = bool(v != 0)
  38799. case 13:
  38800. if wireType != 0 {
  38801. return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  38802. }
  38803. var v int
  38804. for shift := uint(0); ; shift += 7 {
  38805. if shift >= 64 {
  38806. return ErrIntOverflowGenerated
  38807. }
  38808. if iNdEx >= l {
  38809. return io.ErrUnexpectedEOF
  38810. }
  38811. b := dAtA[iNdEx]
  38812. iNdEx++
  38813. v |= (int(b) & 0x7F) << shift
  38814. if b < 0x80 {
  38815. break
  38816. }
  38817. }
  38818. m.HostIPC = bool(v != 0)
  38819. case 14:
  38820. if wireType != 2 {
  38821. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  38822. }
  38823. var msglen int
  38824. for shift := uint(0); ; shift += 7 {
  38825. if shift >= 64 {
  38826. return ErrIntOverflowGenerated
  38827. }
  38828. if iNdEx >= l {
  38829. return io.ErrUnexpectedEOF
  38830. }
  38831. b := dAtA[iNdEx]
  38832. iNdEx++
  38833. msglen |= (int(b) & 0x7F) << shift
  38834. if b < 0x80 {
  38835. break
  38836. }
  38837. }
  38838. if msglen < 0 {
  38839. return ErrInvalidLengthGenerated
  38840. }
  38841. postIndex := iNdEx + msglen
  38842. if postIndex > l {
  38843. return io.ErrUnexpectedEOF
  38844. }
  38845. if m.SecurityContext == nil {
  38846. m.SecurityContext = &PodSecurityContext{}
  38847. }
  38848. if err := m.SecurityContext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38849. return err
  38850. }
  38851. iNdEx = postIndex
  38852. case 15:
  38853. if wireType != 2 {
  38854. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  38855. }
  38856. var msglen int
  38857. for shift := uint(0); ; shift += 7 {
  38858. if shift >= 64 {
  38859. return ErrIntOverflowGenerated
  38860. }
  38861. if iNdEx >= l {
  38862. return io.ErrUnexpectedEOF
  38863. }
  38864. b := dAtA[iNdEx]
  38865. iNdEx++
  38866. msglen |= (int(b) & 0x7F) << shift
  38867. if b < 0x80 {
  38868. break
  38869. }
  38870. }
  38871. if msglen < 0 {
  38872. return ErrInvalidLengthGenerated
  38873. }
  38874. postIndex := iNdEx + msglen
  38875. if postIndex > l {
  38876. return io.ErrUnexpectedEOF
  38877. }
  38878. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  38879. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38880. return err
  38881. }
  38882. iNdEx = postIndex
  38883. case 16:
  38884. if wireType != 2 {
  38885. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  38886. }
  38887. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  38898. if b < 0x80 {
  38899. break
  38900. }
  38901. }
  38902. intStringLen := int(stringLen)
  38903. if intStringLen < 0 {
  38904. return ErrInvalidLengthGenerated
  38905. }
  38906. postIndex := iNdEx + intStringLen
  38907. if postIndex > l {
  38908. return io.ErrUnexpectedEOF
  38909. }
  38910. m.Hostname = string(dAtA[iNdEx:postIndex])
  38911. iNdEx = postIndex
  38912. case 17:
  38913. if wireType != 2 {
  38914. return fmt.Errorf("proto: wrong wireType = %d for field Subdomain", wireType)
  38915. }
  38916. var stringLen uint64
  38917. for shift := uint(0); ; shift += 7 {
  38918. if shift >= 64 {
  38919. return ErrIntOverflowGenerated
  38920. }
  38921. if iNdEx >= l {
  38922. return io.ErrUnexpectedEOF
  38923. }
  38924. b := dAtA[iNdEx]
  38925. iNdEx++
  38926. stringLen |= (uint64(b) & 0x7F) << shift
  38927. if b < 0x80 {
  38928. break
  38929. }
  38930. }
  38931. intStringLen := int(stringLen)
  38932. if intStringLen < 0 {
  38933. return ErrInvalidLengthGenerated
  38934. }
  38935. postIndex := iNdEx + intStringLen
  38936. if postIndex > l {
  38937. return io.ErrUnexpectedEOF
  38938. }
  38939. m.Subdomain = string(dAtA[iNdEx:postIndex])
  38940. iNdEx = postIndex
  38941. case 18:
  38942. if wireType != 2 {
  38943. return fmt.Errorf("proto: wrong wireType = %d for field Affinity", wireType)
  38944. }
  38945. var msglen int
  38946. for shift := uint(0); ; shift += 7 {
  38947. if shift >= 64 {
  38948. return ErrIntOverflowGenerated
  38949. }
  38950. if iNdEx >= l {
  38951. return io.ErrUnexpectedEOF
  38952. }
  38953. b := dAtA[iNdEx]
  38954. iNdEx++
  38955. msglen |= (int(b) & 0x7F) << shift
  38956. if b < 0x80 {
  38957. break
  38958. }
  38959. }
  38960. if msglen < 0 {
  38961. return ErrInvalidLengthGenerated
  38962. }
  38963. postIndex := iNdEx + msglen
  38964. if postIndex > l {
  38965. return io.ErrUnexpectedEOF
  38966. }
  38967. if m.Affinity == nil {
  38968. m.Affinity = &Affinity{}
  38969. }
  38970. if err := m.Affinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38971. return err
  38972. }
  38973. iNdEx = postIndex
  38974. case 19:
  38975. if wireType != 2 {
  38976. return fmt.Errorf("proto: wrong wireType = %d for field SchedulerName", wireType)
  38977. }
  38978. var stringLen uint64
  38979. for shift := uint(0); ; shift += 7 {
  38980. if shift >= 64 {
  38981. return ErrIntOverflowGenerated
  38982. }
  38983. if iNdEx >= l {
  38984. return io.ErrUnexpectedEOF
  38985. }
  38986. b := dAtA[iNdEx]
  38987. iNdEx++
  38988. stringLen |= (uint64(b) & 0x7F) << shift
  38989. if b < 0x80 {
  38990. break
  38991. }
  38992. }
  38993. intStringLen := int(stringLen)
  38994. if intStringLen < 0 {
  38995. return ErrInvalidLengthGenerated
  38996. }
  38997. postIndex := iNdEx + intStringLen
  38998. if postIndex > l {
  38999. return io.ErrUnexpectedEOF
  39000. }
  39001. m.SchedulerName = string(dAtA[iNdEx:postIndex])
  39002. iNdEx = postIndex
  39003. case 20:
  39004. if wireType != 2 {
  39005. return fmt.Errorf("proto: wrong wireType = %d for field InitContainers", wireType)
  39006. }
  39007. var msglen int
  39008. for shift := uint(0); ; shift += 7 {
  39009. if shift >= 64 {
  39010. return ErrIntOverflowGenerated
  39011. }
  39012. if iNdEx >= l {
  39013. return io.ErrUnexpectedEOF
  39014. }
  39015. b := dAtA[iNdEx]
  39016. iNdEx++
  39017. msglen |= (int(b) & 0x7F) << shift
  39018. if b < 0x80 {
  39019. break
  39020. }
  39021. }
  39022. if msglen < 0 {
  39023. return ErrInvalidLengthGenerated
  39024. }
  39025. postIndex := iNdEx + msglen
  39026. if postIndex > l {
  39027. return io.ErrUnexpectedEOF
  39028. }
  39029. m.InitContainers = append(m.InitContainers, Container{})
  39030. if err := m.InitContainers[len(m.InitContainers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39031. return err
  39032. }
  39033. iNdEx = postIndex
  39034. case 21:
  39035. if wireType != 0 {
  39036. return fmt.Errorf("proto: wrong wireType = %d for field AutomountServiceAccountToken", wireType)
  39037. }
  39038. var v int
  39039. for shift := uint(0); ; shift += 7 {
  39040. if shift >= 64 {
  39041. return ErrIntOverflowGenerated
  39042. }
  39043. if iNdEx >= l {
  39044. return io.ErrUnexpectedEOF
  39045. }
  39046. b := dAtA[iNdEx]
  39047. iNdEx++
  39048. v |= (int(b) & 0x7F) << shift
  39049. if b < 0x80 {
  39050. break
  39051. }
  39052. }
  39053. b := bool(v != 0)
  39054. m.AutomountServiceAccountToken = &b
  39055. case 22:
  39056. if wireType != 2 {
  39057. return fmt.Errorf("proto: wrong wireType = %d for field Tolerations", wireType)
  39058. }
  39059. var msglen int
  39060. for shift := uint(0); ; shift += 7 {
  39061. if shift >= 64 {
  39062. return ErrIntOverflowGenerated
  39063. }
  39064. if iNdEx >= l {
  39065. return io.ErrUnexpectedEOF
  39066. }
  39067. b := dAtA[iNdEx]
  39068. iNdEx++
  39069. msglen |= (int(b) & 0x7F) << shift
  39070. if b < 0x80 {
  39071. break
  39072. }
  39073. }
  39074. if msglen < 0 {
  39075. return ErrInvalidLengthGenerated
  39076. }
  39077. postIndex := iNdEx + msglen
  39078. if postIndex > l {
  39079. return io.ErrUnexpectedEOF
  39080. }
  39081. m.Tolerations = append(m.Tolerations, Toleration{})
  39082. if err := m.Tolerations[len(m.Tolerations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39083. return err
  39084. }
  39085. iNdEx = postIndex
  39086. case 23:
  39087. if wireType != 2 {
  39088. return fmt.Errorf("proto: wrong wireType = %d for field HostAliases", wireType)
  39089. }
  39090. var msglen int
  39091. for shift := uint(0); ; shift += 7 {
  39092. if shift >= 64 {
  39093. return ErrIntOverflowGenerated
  39094. }
  39095. if iNdEx >= l {
  39096. return io.ErrUnexpectedEOF
  39097. }
  39098. b := dAtA[iNdEx]
  39099. iNdEx++
  39100. msglen |= (int(b) & 0x7F) << shift
  39101. if b < 0x80 {
  39102. break
  39103. }
  39104. }
  39105. if msglen < 0 {
  39106. return ErrInvalidLengthGenerated
  39107. }
  39108. postIndex := iNdEx + msglen
  39109. if postIndex > l {
  39110. return io.ErrUnexpectedEOF
  39111. }
  39112. m.HostAliases = append(m.HostAliases, HostAlias{})
  39113. if err := m.HostAliases[len(m.HostAliases)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39114. return err
  39115. }
  39116. iNdEx = postIndex
  39117. case 24:
  39118. if wireType != 2 {
  39119. return fmt.Errorf("proto: wrong wireType = %d for field PriorityClassName", wireType)
  39120. }
  39121. var stringLen uint64
  39122. for shift := uint(0); ; shift += 7 {
  39123. if shift >= 64 {
  39124. return ErrIntOverflowGenerated
  39125. }
  39126. if iNdEx >= l {
  39127. return io.ErrUnexpectedEOF
  39128. }
  39129. b := dAtA[iNdEx]
  39130. iNdEx++
  39131. stringLen |= (uint64(b) & 0x7F) << shift
  39132. if b < 0x80 {
  39133. break
  39134. }
  39135. }
  39136. intStringLen := int(stringLen)
  39137. if intStringLen < 0 {
  39138. return ErrInvalidLengthGenerated
  39139. }
  39140. postIndex := iNdEx + intStringLen
  39141. if postIndex > l {
  39142. return io.ErrUnexpectedEOF
  39143. }
  39144. m.PriorityClassName = string(dAtA[iNdEx:postIndex])
  39145. iNdEx = postIndex
  39146. case 25:
  39147. if wireType != 0 {
  39148. return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType)
  39149. }
  39150. var v int32
  39151. for shift := uint(0); ; shift += 7 {
  39152. if shift >= 64 {
  39153. return ErrIntOverflowGenerated
  39154. }
  39155. if iNdEx >= l {
  39156. return io.ErrUnexpectedEOF
  39157. }
  39158. b := dAtA[iNdEx]
  39159. iNdEx++
  39160. v |= (int32(b) & 0x7F) << shift
  39161. if b < 0x80 {
  39162. break
  39163. }
  39164. }
  39165. m.Priority = &v
  39166. case 26:
  39167. if wireType != 2 {
  39168. return fmt.Errorf("proto: wrong wireType = %d for field DNSConfig", wireType)
  39169. }
  39170. var msglen int
  39171. for shift := uint(0); ; shift += 7 {
  39172. if shift >= 64 {
  39173. return ErrIntOverflowGenerated
  39174. }
  39175. if iNdEx >= l {
  39176. return io.ErrUnexpectedEOF
  39177. }
  39178. b := dAtA[iNdEx]
  39179. iNdEx++
  39180. msglen |= (int(b) & 0x7F) << shift
  39181. if b < 0x80 {
  39182. break
  39183. }
  39184. }
  39185. if msglen < 0 {
  39186. return ErrInvalidLengthGenerated
  39187. }
  39188. postIndex := iNdEx + msglen
  39189. if postIndex > l {
  39190. return io.ErrUnexpectedEOF
  39191. }
  39192. if m.DNSConfig == nil {
  39193. m.DNSConfig = &PodDNSConfig{}
  39194. }
  39195. if err := m.DNSConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39196. return err
  39197. }
  39198. iNdEx = postIndex
  39199. case 27:
  39200. if wireType != 0 {
  39201. return fmt.Errorf("proto: wrong wireType = %d for field ShareProcessNamespace", wireType)
  39202. }
  39203. var v int
  39204. for shift := uint(0); ; shift += 7 {
  39205. if shift >= 64 {
  39206. return ErrIntOverflowGenerated
  39207. }
  39208. if iNdEx >= l {
  39209. return io.ErrUnexpectedEOF
  39210. }
  39211. b := dAtA[iNdEx]
  39212. iNdEx++
  39213. v |= (int(b) & 0x7F) << shift
  39214. if b < 0x80 {
  39215. break
  39216. }
  39217. }
  39218. b := bool(v != 0)
  39219. m.ShareProcessNamespace = &b
  39220. case 28:
  39221. if wireType != 2 {
  39222. return fmt.Errorf("proto: wrong wireType = %d for field ReadinessGates", wireType)
  39223. }
  39224. var msglen int
  39225. for shift := uint(0); ; shift += 7 {
  39226. if shift >= 64 {
  39227. return ErrIntOverflowGenerated
  39228. }
  39229. if iNdEx >= l {
  39230. return io.ErrUnexpectedEOF
  39231. }
  39232. b := dAtA[iNdEx]
  39233. iNdEx++
  39234. msglen |= (int(b) & 0x7F) << shift
  39235. if b < 0x80 {
  39236. break
  39237. }
  39238. }
  39239. if msglen < 0 {
  39240. return ErrInvalidLengthGenerated
  39241. }
  39242. postIndex := iNdEx + msglen
  39243. if postIndex > l {
  39244. return io.ErrUnexpectedEOF
  39245. }
  39246. m.ReadinessGates = append(m.ReadinessGates, PodReadinessGate{})
  39247. if err := m.ReadinessGates[len(m.ReadinessGates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39248. return err
  39249. }
  39250. iNdEx = postIndex
  39251. case 29:
  39252. if wireType != 2 {
  39253. return fmt.Errorf("proto: wrong wireType = %d for field RuntimeClassName", wireType)
  39254. }
  39255. var stringLen uint64
  39256. for shift := uint(0); ; shift += 7 {
  39257. if shift >= 64 {
  39258. return ErrIntOverflowGenerated
  39259. }
  39260. if iNdEx >= l {
  39261. return io.ErrUnexpectedEOF
  39262. }
  39263. b := dAtA[iNdEx]
  39264. iNdEx++
  39265. stringLen |= (uint64(b) & 0x7F) << shift
  39266. if b < 0x80 {
  39267. break
  39268. }
  39269. }
  39270. intStringLen := int(stringLen)
  39271. if intStringLen < 0 {
  39272. return ErrInvalidLengthGenerated
  39273. }
  39274. postIndex := iNdEx + intStringLen
  39275. if postIndex > l {
  39276. return io.ErrUnexpectedEOF
  39277. }
  39278. s := string(dAtA[iNdEx:postIndex])
  39279. m.RuntimeClassName = &s
  39280. iNdEx = postIndex
  39281. case 30:
  39282. if wireType != 0 {
  39283. return fmt.Errorf("proto: wrong wireType = %d for field EnableServiceLinks", wireType)
  39284. }
  39285. var v int
  39286. for shift := uint(0); ; shift += 7 {
  39287. if shift >= 64 {
  39288. return ErrIntOverflowGenerated
  39289. }
  39290. if iNdEx >= l {
  39291. return io.ErrUnexpectedEOF
  39292. }
  39293. b := dAtA[iNdEx]
  39294. iNdEx++
  39295. v |= (int(b) & 0x7F) << shift
  39296. if b < 0x80 {
  39297. break
  39298. }
  39299. }
  39300. b := bool(v != 0)
  39301. m.EnableServiceLinks = &b
  39302. default:
  39303. iNdEx = preIndex
  39304. skippy, err := skipGenerated(dAtA[iNdEx:])
  39305. if err != nil {
  39306. return err
  39307. }
  39308. if skippy < 0 {
  39309. return ErrInvalidLengthGenerated
  39310. }
  39311. if (iNdEx + skippy) > l {
  39312. return io.ErrUnexpectedEOF
  39313. }
  39314. iNdEx += skippy
  39315. }
  39316. }
  39317. if iNdEx > l {
  39318. return io.ErrUnexpectedEOF
  39319. }
  39320. return nil
  39321. }
  39322. func (m *PodStatus) Unmarshal(dAtA []byte) error {
  39323. l := len(dAtA)
  39324. iNdEx := 0
  39325. for iNdEx < l {
  39326. preIndex := iNdEx
  39327. var wire uint64
  39328. for shift := uint(0); ; shift += 7 {
  39329. if shift >= 64 {
  39330. return ErrIntOverflowGenerated
  39331. }
  39332. if iNdEx >= l {
  39333. return io.ErrUnexpectedEOF
  39334. }
  39335. b := dAtA[iNdEx]
  39336. iNdEx++
  39337. wire |= (uint64(b) & 0x7F) << shift
  39338. if b < 0x80 {
  39339. break
  39340. }
  39341. }
  39342. fieldNum := int32(wire >> 3)
  39343. wireType := int(wire & 0x7)
  39344. if wireType == 4 {
  39345. return fmt.Errorf("proto: PodStatus: wiretype end group for non-group")
  39346. }
  39347. if fieldNum <= 0 {
  39348. return fmt.Errorf("proto: PodStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  39349. }
  39350. switch fieldNum {
  39351. case 1:
  39352. if wireType != 2 {
  39353. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  39354. }
  39355. var stringLen uint64
  39356. for shift := uint(0); ; shift += 7 {
  39357. if shift >= 64 {
  39358. return ErrIntOverflowGenerated
  39359. }
  39360. if iNdEx >= l {
  39361. return io.ErrUnexpectedEOF
  39362. }
  39363. b := dAtA[iNdEx]
  39364. iNdEx++
  39365. stringLen |= (uint64(b) & 0x7F) << shift
  39366. if b < 0x80 {
  39367. break
  39368. }
  39369. }
  39370. intStringLen := int(stringLen)
  39371. if intStringLen < 0 {
  39372. return ErrInvalidLengthGenerated
  39373. }
  39374. postIndex := iNdEx + intStringLen
  39375. if postIndex > l {
  39376. return io.ErrUnexpectedEOF
  39377. }
  39378. m.Phase = PodPhase(dAtA[iNdEx:postIndex])
  39379. iNdEx = postIndex
  39380. case 2:
  39381. if wireType != 2 {
  39382. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  39383. }
  39384. var msglen int
  39385. for shift := uint(0); ; shift += 7 {
  39386. if shift >= 64 {
  39387. return ErrIntOverflowGenerated
  39388. }
  39389. if iNdEx >= l {
  39390. return io.ErrUnexpectedEOF
  39391. }
  39392. b := dAtA[iNdEx]
  39393. iNdEx++
  39394. msglen |= (int(b) & 0x7F) << shift
  39395. if b < 0x80 {
  39396. break
  39397. }
  39398. }
  39399. if msglen < 0 {
  39400. return ErrInvalidLengthGenerated
  39401. }
  39402. postIndex := iNdEx + msglen
  39403. if postIndex > l {
  39404. return io.ErrUnexpectedEOF
  39405. }
  39406. m.Conditions = append(m.Conditions, PodCondition{})
  39407. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39408. return err
  39409. }
  39410. iNdEx = postIndex
  39411. case 3:
  39412. if wireType != 2 {
  39413. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  39414. }
  39415. var stringLen uint64
  39416. for shift := uint(0); ; shift += 7 {
  39417. if shift >= 64 {
  39418. return ErrIntOverflowGenerated
  39419. }
  39420. if iNdEx >= l {
  39421. return io.ErrUnexpectedEOF
  39422. }
  39423. b := dAtA[iNdEx]
  39424. iNdEx++
  39425. stringLen |= (uint64(b) & 0x7F) << shift
  39426. if b < 0x80 {
  39427. break
  39428. }
  39429. }
  39430. intStringLen := int(stringLen)
  39431. if intStringLen < 0 {
  39432. return ErrInvalidLengthGenerated
  39433. }
  39434. postIndex := iNdEx + intStringLen
  39435. if postIndex > l {
  39436. return io.ErrUnexpectedEOF
  39437. }
  39438. m.Message = string(dAtA[iNdEx:postIndex])
  39439. iNdEx = postIndex
  39440. case 4:
  39441. if wireType != 2 {
  39442. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  39443. }
  39444. var stringLen uint64
  39445. for shift := uint(0); ; shift += 7 {
  39446. if shift >= 64 {
  39447. return ErrIntOverflowGenerated
  39448. }
  39449. if iNdEx >= l {
  39450. return io.ErrUnexpectedEOF
  39451. }
  39452. b := dAtA[iNdEx]
  39453. iNdEx++
  39454. stringLen |= (uint64(b) & 0x7F) << shift
  39455. if b < 0x80 {
  39456. break
  39457. }
  39458. }
  39459. intStringLen := int(stringLen)
  39460. if intStringLen < 0 {
  39461. return ErrInvalidLengthGenerated
  39462. }
  39463. postIndex := iNdEx + intStringLen
  39464. if postIndex > l {
  39465. return io.ErrUnexpectedEOF
  39466. }
  39467. m.Reason = string(dAtA[iNdEx:postIndex])
  39468. iNdEx = postIndex
  39469. case 5:
  39470. if wireType != 2 {
  39471. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  39472. }
  39473. var stringLen uint64
  39474. for shift := uint(0); ; shift += 7 {
  39475. if shift >= 64 {
  39476. return ErrIntOverflowGenerated
  39477. }
  39478. if iNdEx >= l {
  39479. return io.ErrUnexpectedEOF
  39480. }
  39481. b := dAtA[iNdEx]
  39482. iNdEx++
  39483. stringLen |= (uint64(b) & 0x7F) << shift
  39484. if b < 0x80 {
  39485. break
  39486. }
  39487. }
  39488. intStringLen := int(stringLen)
  39489. if intStringLen < 0 {
  39490. return ErrInvalidLengthGenerated
  39491. }
  39492. postIndex := iNdEx + intStringLen
  39493. if postIndex > l {
  39494. return io.ErrUnexpectedEOF
  39495. }
  39496. m.HostIP = string(dAtA[iNdEx:postIndex])
  39497. iNdEx = postIndex
  39498. case 6:
  39499. if wireType != 2 {
  39500. return fmt.Errorf("proto: wrong wireType = %d for field PodIP", wireType)
  39501. }
  39502. var stringLen uint64
  39503. for shift := uint(0); ; shift += 7 {
  39504. if shift >= 64 {
  39505. return ErrIntOverflowGenerated
  39506. }
  39507. if iNdEx >= l {
  39508. return io.ErrUnexpectedEOF
  39509. }
  39510. b := dAtA[iNdEx]
  39511. iNdEx++
  39512. stringLen |= (uint64(b) & 0x7F) << shift
  39513. if b < 0x80 {
  39514. break
  39515. }
  39516. }
  39517. intStringLen := int(stringLen)
  39518. if intStringLen < 0 {
  39519. return ErrInvalidLengthGenerated
  39520. }
  39521. postIndex := iNdEx + intStringLen
  39522. if postIndex > l {
  39523. return io.ErrUnexpectedEOF
  39524. }
  39525. m.PodIP = string(dAtA[iNdEx:postIndex])
  39526. iNdEx = postIndex
  39527. case 7:
  39528. if wireType != 2 {
  39529. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  39530. }
  39531. var msglen int
  39532. for shift := uint(0); ; shift += 7 {
  39533. if shift >= 64 {
  39534. return ErrIntOverflowGenerated
  39535. }
  39536. if iNdEx >= l {
  39537. return io.ErrUnexpectedEOF
  39538. }
  39539. b := dAtA[iNdEx]
  39540. iNdEx++
  39541. msglen |= (int(b) & 0x7F) << shift
  39542. if b < 0x80 {
  39543. break
  39544. }
  39545. }
  39546. if msglen < 0 {
  39547. return ErrInvalidLengthGenerated
  39548. }
  39549. postIndex := iNdEx + msglen
  39550. if postIndex > l {
  39551. return io.ErrUnexpectedEOF
  39552. }
  39553. if m.StartTime == nil {
  39554. m.StartTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  39555. }
  39556. if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39557. return err
  39558. }
  39559. iNdEx = postIndex
  39560. case 8:
  39561. if wireType != 2 {
  39562. return fmt.Errorf("proto: wrong wireType = %d for field ContainerStatuses", wireType)
  39563. }
  39564. var msglen int
  39565. for shift := uint(0); ; shift += 7 {
  39566. if shift >= 64 {
  39567. return ErrIntOverflowGenerated
  39568. }
  39569. if iNdEx >= l {
  39570. return io.ErrUnexpectedEOF
  39571. }
  39572. b := dAtA[iNdEx]
  39573. iNdEx++
  39574. msglen |= (int(b) & 0x7F) << shift
  39575. if b < 0x80 {
  39576. break
  39577. }
  39578. }
  39579. if msglen < 0 {
  39580. return ErrInvalidLengthGenerated
  39581. }
  39582. postIndex := iNdEx + msglen
  39583. if postIndex > l {
  39584. return io.ErrUnexpectedEOF
  39585. }
  39586. m.ContainerStatuses = append(m.ContainerStatuses, ContainerStatus{})
  39587. if err := m.ContainerStatuses[len(m.ContainerStatuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39588. return err
  39589. }
  39590. iNdEx = postIndex
  39591. case 9:
  39592. if wireType != 2 {
  39593. return fmt.Errorf("proto: wrong wireType = %d for field QOSClass", wireType)
  39594. }
  39595. var stringLen uint64
  39596. for shift := uint(0); ; shift += 7 {
  39597. if shift >= 64 {
  39598. return ErrIntOverflowGenerated
  39599. }
  39600. if iNdEx >= l {
  39601. return io.ErrUnexpectedEOF
  39602. }
  39603. b := dAtA[iNdEx]
  39604. iNdEx++
  39605. stringLen |= (uint64(b) & 0x7F) << shift
  39606. if b < 0x80 {
  39607. break
  39608. }
  39609. }
  39610. intStringLen := int(stringLen)
  39611. if intStringLen < 0 {
  39612. return ErrInvalidLengthGenerated
  39613. }
  39614. postIndex := iNdEx + intStringLen
  39615. if postIndex > l {
  39616. return io.ErrUnexpectedEOF
  39617. }
  39618. m.QOSClass = PodQOSClass(dAtA[iNdEx:postIndex])
  39619. iNdEx = postIndex
  39620. case 10:
  39621. if wireType != 2 {
  39622. return fmt.Errorf("proto: wrong wireType = %d for field InitContainerStatuses", wireType)
  39623. }
  39624. var msglen int
  39625. for shift := uint(0); ; shift += 7 {
  39626. if shift >= 64 {
  39627. return ErrIntOverflowGenerated
  39628. }
  39629. if iNdEx >= l {
  39630. return io.ErrUnexpectedEOF
  39631. }
  39632. b := dAtA[iNdEx]
  39633. iNdEx++
  39634. msglen |= (int(b) & 0x7F) << shift
  39635. if b < 0x80 {
  39636. break
  39637. }
  39638. }
  39639. if msglen < 0 {
  39640. return ErrInvalidLengthGenerated
  39641. }
  39642. postIndex := iNdEx + msglen
  39643. if postIndex > l {
  39644. return io.ErrUnexpectedEOF
  39645. }
  39646. m.InitContainerStatuses = append(m.InitContainerStatuses, ContainerStatus{})
  39647. if err := m.InitContainerStatuses[len(m.InitContainerStatuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39648. return err
  39649. }
  39650. iNdEx = postIndex
  39651. case 11:
  39652. if wireType != 2 {
  39653. return fmt.Errorf("proto: wrong wireType = %d for field NominatedNodeName", wireType)
  39654. }
  39655. var stringLen uint64
  39656. for shift := uint(0); ; shift += 7 {
  39657. if shift >= 64 {
  39658. return ErrIntOverflowGenerated
  39659. }
  39660. if iNdEx >= l {
  39661. return io.ErrUnexpectedEOF
  39662. }
  39663. b := dAtA[iNdEx]
  39664. iNdEx++
  39665. stringLen |= (uint64(b) & 0x7F) << shift
  39666. if b < 0x80 {
  39667. break
  39668. }
  39669. }
  39670. intStringLen := int(stringLen)
  39671. if intStringLen < 0 {
  39672. return ErrInvalidLengthGenerated
  39673. }
  39674. postIndex := iNdEx + intStringLen
  39675. if postIndex > l {
  39676. return io.ErrUnexpectedEOF
  39677. }
  39678. m.NominatedNodeName = string(dAtA[iNdEx:postIndex])
  39679. iNdEx = postIndex
  39680. default:
  39681. iNdEx = preIndex
  39682. skippy, err := skipGenerated(dAtA[iNdEx:])
  39683. if err != nil {
  39684. return err
  39685. }
  39686. if skippy < 0 {
  39687. return ErrInvalidLengthGenerated
  39688. }
  39689. if (iNdEx + skippy) > l {
  39690. return io.ErrUnexpectedEOF
  39691. }
  39692. iNdEx += skippy
  39693. }
  39694. }
  39695. if iNdEx > l {
  39696. return io.ErrUnexpectedEOF
  39697. }
  39698. return nil
  39699. }
  39700. func (m *PodStatusResult) Unmarshal(dAtA []byte) error {
  39701. l := len(dAtA)
  39702. iNdEx := 0
  39703. for iNdEx < l {
  39704. preIndex := iNdEx
  39705. var wire uint64
  39706. for shift := uint(0); ; shift += 7 {
  39707. if shift >= 64 {
  39708. return ErrIntOverflowGenerated
  39709. }
  39710. if iNdEx >= l {
  39711. return io.ErrUnexpectedEOF
  39712. }
  39713. b := dAtA[iNdEx]
  39714. iNdEx++
  39715. wire |= (uint64(b) & 0x7F) << shift
  39716. if b < 0x80 {
  39717. break
  39718. }
  39719. }
  39720. fieldNum := int32(wire >> 3)
  39721. wireType := int(wire & 0x7)
  39722. if wireType == 4 {
  39723. return fmt.Errorf("proto: PodStatusResult: wiretype end group for non-group")
  39724. }
  39725. if fieldNum <= 0 {
  39726. return fmt.Errorf("proto: PodStatusResult: illegal tag %d (wire type %d)", fieldNum, wire)
  39727. }
  39728. switch fieldNum {
  39729. case 1:
  39730. if wireType != 2 {
  39731. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  39732. }
  39733. var msglen int
  39734. for shift := uint(0); ; shift += 7 {
  39735. if shift >= 64 {
  39736. return ErrIntOverflowGenerated
  39737. }
  39738. if iNdEx >= l {
  39739. return io.ErrUnexpectedEOF
  39740. }
  39741. b := dAtA[iNdEx]
  39742. iNdEx++
  39743. msglen |= (int(b) & 0x7F) << shift
  39744. if b < 0x80 {
  39745. break
  39746. }
  39747. }
  39748. if msglen < 0 {
  39749. return ErrInvalidLengthGenerated
  39750. }
  39751. postIndex := iNdEx + msglen
  39752. if postIndex > l {
  39753. return io.ErrUnexpectedEOF
  39754. }
  39755. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39756. return err
  39757. }
  39758. iNdEx = postIndex
  39759. case 2:
  39760. if wireType != 2 {
  39761. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  39762. }
  39763. var msglen int
  39764. for shift := uint(0); ; shift += 7 {
  39765. if shift >= 64 {
  39766. return ErrIntOverflowGenerated
  39767. }
  39768. if iNdEx >= l {
  39769. return io.ErrUnexpectedEOF
  39770. }
  39771. b := dAtA[iNdEx]
  39772. iNdEx++
  39773. msglen |= (int(b) & 0x7F) << shift
  39774. if b < 0x80 {
  39775. break
  39776. }
  39777. }
  39778. if msglen < 0 {
  39779. return ErrInvalidLengthGenerated
  39780. }
  39781. postIndex := iNdEx + msglen
  39782. if postIndex > l {
  39783. return io.ErrUnexpectedEOF
  39784. }
  39785. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39786. return err
  39787. }
  39788. iNdEx = postIndex
  39789. default:
  39790. iNdEx = preIndex
  39791. skippy, err := skipGenerated(dAtA[iNdEx:])
  39792. if err != nil {
  39793. return err
  39794. }
  39795. if skippy < 0 {
  39796. return ErrInvalidLengthGenerated
  39797. }
  39798. if (iNdEx + skippy) > l {
  39799. return io.ErrUnexpectedEOF
  39800. }
  39801. iNdEx += skippy
  39802. }
  39803. }
  39804. if iNdEx > l {
  39805. return io.ErrUnexpectedEOF
  39806. }
  39807. return nil
  39808. }
  39809. func (m *PodTemplate) Unmarshal(dAtA []byte) error {
  39810. l := len(dAtA)
  39811. iNdEx := 0
  39812. for iNdEx < l {
  39813. preIndex := iNdEx
  39814. var wire uint64
  39815. for shift := uint(0); ; shift += 7 {
  39816. if shift >= 64 {
  39817. return ErrIntOverflowGenerated
  39818. }
  39819. if iNdEx >= l {
  39820. return io.ErrUnexpectedEOF
  39821. }
  39822. b := dAtA[iNdEx]
  39823. iNdEx++
  39824. wire |= (uint64(b) & 0x7F) << shift
  39825. if b < 0x80 {
  39826. break
  39827. }
  39828. }
  39829. fieldNum := int32(wire >> 3)
  39830. wireType := int(wire & 0x7)
  39831. if wireType == 4 {
  39832. return fmt.Errorf("proto: PodTemplate: wiretype end group for non-group")
  39833. }
  39834. if fieldNum <= 0 {
  39835. return fmt.Errorf("proto: PodTemplate: illegal tag %d (wire type %d)", fieldNum, wire)
  39836. }
  39837. switch fieldNum {
  39838. case 1:
  39839. if wireType != 2 {
  39840. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  39841. }
  39842. var msglen int
  39843. for shift := uint(0); ; shift += 7 {
  39844. if shift >= 64 {
  39845. return ErrIntOverflowGenerated
  39846. }
  39847. if iNdEx >= l {
  39848. return io.ErrUnexpectedEOF
  39849. }
  39850. b := dAtA[iNdEx]
  39851. iNdEx++
  39852. msglen |= (int(b) & 0x7F) << shift
  39853. if b < 0x80 {
  39854. break
  39855. }
  39856. }
  39857. if msglen < 0 {
  39858. return ErrInvalidLengthGenerated
  39859. }
  39860. postIndex := iNdEx + msglen
  39861. if postIndex > l {
  39862. return io.ErrUnexpectedEOF
  39863. }
  39864. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39865. return err
  39866. }
  39867. iNdEx = postIndex
  39868. case 2:
  39869. if wireType != 2 {
  39870. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  39871. }
  39872. var msglen int
  39873. for shift := uint(0); ; shift += 7 {
  39874. if shift >= 64 {
  39875. return ErrIntOverflowGenerated
  39876. }
  39877. if iNdEx >= l {
  39878. return io.ErrUnexpectedEOF
  39879. }
  39880. b := dAtA[iNdEx]
  39881. iNdEx++
  39882. msglen |= (int(b) & 0x7F) << shift
  39883. if b < 0x80 {
  39884. break
  39885. }
  39886. }
  39887. if msglen < 0 {
  39888. return ErrInvalidLengthGenerated
  39889. }
  39890. postIndex := iNdEx + msglen
  39891. if postIndex > l {
  39892. return io.ErrUnexpectedEOF
  39893. }
  39894. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39895. return err
  39896. }
  39897. iNdEx = postIndex
  39898. default:
  39899. iNdEx = preIndex
  39900. skippy, err := skipGenerated(dAtA[iNdEx:])
  39901. if err != nil {
  39902. return err
  39903. }
  39904. if skippy < 0 {
  39905. return ErrInvalidLengthGenerated
  39906. }
  39907. if (iNdEx + skippy) > l {
  39908. return io.ErrUnexpectedEOF
  39909. }
  39910. iNdEx += skippy
  39911. }
  39912. }
  39913. if iNdEx > l {
  39914. return io.ErrUnexpectedEOF
  39915. }
  39916. return nil
  39917. }
  39918. func (m *PodTemplateList) Unmarshal(dAtA []byte) error {
  39919. l := len(dAtA)
  39920. iNdEx := 0
  39921. for iNdEx < l {
  39922. preIndex := iNdEx
  39923. var wire uint64
  39924. for shift := uint(0); ; shift += 7 {
  39925. if shift >= 64 {
  39926. return ErrIntOverflowGenerated
  39927. }
  39928. if iNdEx >= l {
  39929. return io.ErrUnexpectedEOF
  39930. }
  39931. b := dAtA[iNdEx]
  39932. iNdEx++
  39933. wire |= (uint64(b) & 0x7F) << shift
  39934. if b < 0x80 {
  39935. break
  39936. }
  39937. }
  39938. fieldNum := int32(wire >> 3)
  39939. wireType := int(wire & 0x7)
  39940. if wireType == 4 {
  39941. return fmt.Errorf("proto: PodTemplateList: wiretype end group for non-group")
  39942. }
  39943. if fieldNum <= 0 {
  39944. return fmt.Errorf("proto: PodTemplateList: illegal tag %d (wire type %d)", fieldNum, wire)
  39945. }
  39946. switch fieldNum {
  39947. case 1:
  39948. if wireType != 2 {
  39949. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  39950. }
  39951. var msglen int
  39952. for shift := uint(0); ; shift += 7 {
  39953. if shift >= 64 {
  39954. return ErrIntOverflowGenerated
  39955. }
  39956. if iNdEx >= l {
  39957. return io.ErrUnexpectedEOF
  39958. }
  39959. b := dAtA[iNdEx]
  39960. iNdEx++
  39961. msglen |= (int(b) & 0x7F) << shift
  39962. if b < 0x80 {
  39963. break
  39964. }
  39965. }
  39966. if msglen < 0 {
  39967. return ErrInvalidLengthGenerated
  39968. }
  39969. postIndex := iNdEx + msglen
  39970. if postIndex > l {
  39971. return io.ErrUnexpectedEOF
  39972. }
  39973. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39974. return err
  39975. }
  39976. iNdEx = postIndex
  39977. case 2:
  39978. if wireType != 2 {
  39979. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  39980. }
  39981. var msglen int
  39982. for shift := uint(0); ; shift += 7 {
  39983. if shift >= 64 {
  39984. return ErrIntOverflowGenerated
  39985. }
  39986. if iNdEx >= l {
  39987. return io.ErrUnexpectedEOF
  39988. }
  39989. b := dAtA[iNdEx]
  39990. iNdEx++
  39991. msglen |= (int(b) & 0x7F) << shift
  39992. if b < 0x80 {
  39993. break
  39994. }
  39995. }
  39996. if msglen < 0 {
  39997. return ErrInvalidLengthGenerated
  39998. }
  39999. postIndex := iNdEx + msglen
  40000. if postIndex > l {
  40001. return io.ErrUnexpectedEOF
  40002. }
  40003. m.Items = append(m.Items, PodTemplate{})
  40004. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40005. return err
  40006. }
  40007. iNdEx = postIndex
  40008. default:
  40009. iNdEx = preIndex
  40010. skippy, err := skipGenerated(dAtA[iNdEx:])
  40011. if err != nil {
  40012. return err
  40013. }
  40014. if skippy < 0 {
  40015. return ErrInvalidLengthGenerated
  40016. }
  40017. if (iNdEx + skippy) > l {
  40018. return io.ErrUnexpectedEOF
  40019. }
  40020. iNdEx += skippy
  40021. }
  40022. }
  40023. if iNdEx > l {
  40024. return io.ErrUnexpectedEOF
  40025. }
  40026. return nil
  40027. }
  40028. func (m *PodTemplateSpec) Unmarshal(dAtA []byte) error {
  40029. l := len(dAtA)
  40030. iNdEx := 0
  40031. for iNdEx < l {
  40032. preIndex := iNdEx
  40033. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  40044. if b < 0x80 {
  40045. break
  40046. }
  40047. }
  40048. fieldNum := int32(wire >> 3)
  40049. wireType := int(wire & 0x7)
  40050. if wireType == 4 {
  40051. return fmt.Errorf("proto: PodTemplateSpec: wiretype end group for non-group")
  40052. }
  40053. if fieldNum <= 0 {
  40054. return fmt.Errorf("proto: PodTemplateSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  40055. }
  40056. switch fieldNum {
  40057. case 1:
  40058. if wireType != 2 {
  40059. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  40060. }
  40061. var msglen int
  40062. for shift := uint(0); ; shift += 7 {
  40063. if shift >= 64 {
  40064. return ErrIntOverflowGenerated
  40065. }
  40066. if iNdEx >= l {
  40067. return io.ErrUnexpectedEOF
  40068. }
  40069. b := dAtA[iNdEx]
  40070. iNdEx++
  40071. msglen |= (int(b) & 0x7F) << shift
  40072. if b < 0x80 {
  40073. break
  40074. }
  40075. }
  40076. if msglen < 0 {
  40077. return ErrInvalidLengthGenerated
  40078. }
  40079. postIndex := iNdEx + msglen
  40080. if postIndex > l {
  40081. return io.ErrUnexpectedEOF
  40082. }
  40083. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40084. return err
  40085. }
  40086. iNdEx = postIndex
  40087. case 2:
  40088. if wireType != 2 {
  40089. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  40090. }
  40091. var msglen int
  40092. for shift := uint(0); ; shift += 7 {
  40093. if shift >= 64 {
  40094. return ErrIntOverflowGenerated
  40095. }
  40096. if iNdEx >= l {
  40097. return io.ErrUnexpectedEOF
  40098. }
  40099. b := dAtA[iNdEx]
  40100. iNdEx++
  40101. msglen |= (int(b) & 0x7F) << shift
  40102. if b < 0x80 {
  40103. break
  40104. }
  40105. }
  40106. if msglen < 0 {
  40107. return ErrInvalidLengthGenerated
  40108. }
  40109. postIndex := iNdEx + msglen
  40110. if postIndex > l {
  40111. return io.ErrUnexpectedEOF
  40112. }
  40113. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40114. return err
  40115. }
  40116. iNdEx = postIndex
  40117. default:
  40118. iNdEx = preIndex
  40119. skippy, err := skipGenerated(dAtA[iNdEx:])
  40120. if err != nil {
  40121. return err
  40122. }
  40123. if skippy < 0 {
  40124. return ErrInvalidLengthGenerated
  40125. }
  40126. if (iNdEx + skippy) > l {
  40127. return io.ErrUnexpectedEOF
  40128. }
  40129. iNdEx += skippy
  40130. }
  40131. }
  40132. if iNdEx > l {
  40133. return io.ErrUnexpectedEOF
  40134. }
  40135. return nil
  40136. }
  40137. func (m *PortworxVolumeSource) Unmarshal(dAtA []byte) error {
  40138. l := len(dAtA)
  40139. iNdEx := 0
  40140. for iNdEx < l {
  40141. preIndex := iNdEx
  40142. var wire uint64
  40143. for shift := uint(0); ; shift += 7 {
  40144. if shift >= 64 {
  40145. return ErrIntOverflowGenerated
  40146. }
  40147. if iNdEx >= l {
  40148. return io.ErrUnexpectedEOF
  40149. }
  40150. b := dAtA[iNdEx]
  40151. iNdEx++
  40152. wire |= (uint64(b) & 0x7F) << shift
  40153. if b < 0x80 {
  40154. break
  40155. }
  40156. }
  40157. fieldNum := int32(wire >> 3)
  40158. wireType := int(wire & 0x7)
  40159. if wireType == 4 {
  40160. return fmt.Errorf("proto: PortworxVolumeSource: wiretype end group for non-group")
  40161. }
  40162. if fieldNum <= 0 {
  40163. return fmt.Errorf("proto: PortworxVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  40164. }
  40165. switch fieldNum {
  40166. case 1:
  40167. if wireType != 2 {
  40168. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  40169. }
  40170. var stringLen uint64
  40171. for shift := uint(0); ; shift += 7 {
  40172. if shift >= 64 {
  40173. return ErrIntOverflowGenerated
  40174. }
  40175. if iNdEx >= l {
  40176. return io.ErrUnexpectedEOF
  40177. }
  40178. b := dAtA[iNdEx]
  40179. iNdEx++
  40180. stringLen |= (uint64(b) & 0x7F) << shift
  40181. if b < 0x80 {
  40182. break
  40183. }
  40184. }
  40185. intStringLen := int(stringLen)
  40186. if intStringLen < 0 {
  40187. return ErrInvalidLengthGenerated
  40188. }
  40189. postIndex := iNdEx + intStringLen
  40190. if postIndex > l {
  40191. return io.ErrUnexpectedEOF
  40192. }
  40193. m.VolumeID = string(dAtA[iNdEx:postIndex])
  40194. iNdEx = postIndex
  40195. case 2:
  40196. if wireType != 2 {
  40197. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  40198. }
  40199. var stringLen uint64
  40200. for shift := uint(0); ; shift += 7 {
  40201. if shift >= 64 {
  40202. return ErrIntOverflowGenerated
  40203. }
  40204. if iNdEx >= l {
  40205. return io.ErrUnexpectedEOF
  40206. }
  40207. b := dAtA[iNdEx]
  40208. iNdEx++
  40209. stringLen |= (uint64(b) & 0x7F) << shift
  40210. if b < 0x80 {
  40211. break
  40212. }
  40213. }
  40214. intStringLen := int(stringLen)
  40215. if intStringLen < 0 {
  40216. return ErrInvalidLengthGenerated
  40217. }
  40218. postIndex := iNdEx + intStringLen
  40219. if postIndex > l {
  40220. return io.ErrUnexpectedEOF
  40221. }
  40222. m.FSType = string(dAtA[iNdEx:postIndex])
  40223. iNdEx = postIndex
  40224. case 3:
  40225. if wireType != 0 {
  40226. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  40227. }
  40228. var v int
  40229. for shift := uint(0); ; shift += 7 {
  40230. if shift >= 64 {
  40231. return ErrIntOverflowGenerated
  40232. }
  40233. if iNdEx >= l {
  40234. return io.ErrUnexpectedEOF
  40235. }
  40236. b := dAtA[iNdEx]
  40237. iNdEx++
  40238. v |= (int(b) & 0x7F) << shift
  40239. if b < 0x80 {
  40240. break
  40241. }
  40242. }
  40243. m.ReadOnly = bool(v != 0)
  40244. default:
  40245. iNdEx = preIndex
  40246. skippy, err := skipGenerated(dAtA[iNdEx:])
  40247. if err != nil {
  40248. return err
  40249. }
  40250. if skippy < 0 {
  40251. return ErrInvalidLengthGenerated
  40252. }
  40253. if (iNdEx + skippy) > l {
  40254. return io.ErrUnexpectedEOF
  40255. }
  40256. iNdEx += skippy
  40257. }
  40258. }
  40259. if iNdEx > l {
  40260. return io.ErrUnexpectedEOF
  40261. }
  40262. return nil
  40263. }
  40264. func (m *Preconditions) Unmarshal(dAtA []byte) error {
  40265. l := len(dAtA)
  40266. iNdEx := 0
  40267. for iNdEx < l {
  40268. preIndex := iNdEx
  40269. var wire uint64
  40270. for shift := uint(0); ; shift += 7 {
  40271. if shift >= 64 {
  40272. return ErrIntOverflowGenerated
  40273. }
  40274. if iNdEx >= l {
  40275. return io.ErrUnexpectedEOF
  40276. }
  40277. b := dAtA[iNdEx]
  40278. iNdEx++
  40279. wire |= (uint64(b) & 0x7F) << shift
  40280. if b < 0x80 {
  40281. break
  40282. }
  40283. }
  40284. fieldNum := int32(wire >> 3)
  40285. wireType := int(wire & 0x7)
  40286. if wireType == 4 {
  40287. return fmt.Errorf("proto: Preconditions: wiretype end group for non-group")
  40288. }
  40289. if fieldNum <= 0 {
  40290. return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire)
  40291. }
  40292. switch fieldNum {
  40293. case 1:
  40294. if wireType != 2 {
  40295. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  40296. }
  40297. var stringLen uint64
  40298. for shift := uint(0); ; shift += 7 {
  40299. if shift >= 64 {
  40300. return ErrIntOverflowGenerated
  40301. }
  40302. if iNdEx >= l {
  40303. return io.ErrUnexpectedEOF
  40304. }
  40305. b := dAtA[iNdEx]
  40306. iNdEx++
  40307. stringLen |= (uint64(b) & 0x7F) << shift
  40308. if b < 0x80 {
  40309. break
  40310. }
  40311. }
  40312. intStringLen := int(stringLen)
  40313. if intStringLen < 0 {
  40314. return ErrInvalidLengthGenerated
  40315. }
  40316. postIndex := iNdEx + intStringLen
  40317. if postIndex > l {
  40318. return io.ErrUnexpectedEOF
  40319. }
  40320. s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  40321. m.UID = &s
  40322. iNdEx = postIndex
  40323. default:
  40324. iNdEx = preIndex
  40325. skippy, err := skipGenerated(dAtA[iNdEx:])
  40326. if err != nil {
  40327. return err
  40328. }
  40329. if skippy < 0 {
  40330. return ErrInvalidLengthGenerated
  40331. }
  40332. if (iNdEx + skippy) > l {
  40333. return io.ErrUnexpectedEOF
  40334. }
  40335. iNdEx += skippy
  40336. }
  40337. }
  40338. if iNdEx > l {
  40339. return io.ErrUnexpectedEOF
  40340. }
  40341. return nil
  40342. }
  40343. func (m *PreferAvoidPodsEntry) Unmarshal(dAtA []byte) error {
  40344. l := len(dAtA)
  40345. iNdEx := 0
  40346. for iNdEx < l {
  40347. preIndex := iNdEx
  40348. var wire uint64
  40349. for shift := uint(0); ; shift += 7 {
  40350. if shift >= 64 {
  40351. return ErrIntOverflowGenerated
  40352. }
  40353. if iNdEx >= l {
  40354. return io.ErrUnexpectedEOF
  40355. }
  40356. b := dAtA[iNdEx]
  40357. iNdEx++
  40358. wire |= (uint64(b) & 0x7F) << shift
  40359. if b < 0x80 {
  40360. break
  40361. }
  40362. }
  40363. fieldNum := int32(wire >> 3)
  40364. wireType := int(wire & 0x7)
  40365. if wireType == 4 {
  40366. return fmt.Errorf("proto: PreferAvoidPodsEntry: wiretype end group for non-group")
  40367. }
  40368. if fieldNum <= 0 {
  40369. return fmt.Errorf("proto: PreferAvoidPodsEntry: illegal tag %d (wire type %d)", fieldNum, wire)
  40370. }
  40371. switch fieldNum {
  40372. case 1:
  40373. if wireType != 2 {
  40374. return fmt.Errorf("proto: wrong wireType = %d for field PodSignature", wireType)
  40375. }
  40376. var msglen int
  40377. for shift := uint(0); ; shift += 7 {
  40378. if shift >= 64 {
  40379. return ErrIntOverflowGenerated
  40380. }
  40381. if iNdEx >= l {
  40382. return io.ErrUnexpectedEOF
  40383. }
  40384. b := dAtA[iNdEx]
  40385. iNdEx++
  40386. msglen |= (int(b) & 0x7F) << shift
  40387. if b < 0x80 {
  40388. break
  40389. }
  40390. }
  40391. if msglen < 0 {
  40392. return ErrInvalidLengthGenerated
  40393. }
  40394. postIndex := iNdEx + msglen
  40395. if postIndex > l {
  40396. return io.ErrUnexpectedEOF
  40397. }
  40398. if err := m.PodSignature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40399. return err
  40400. }
  40401. iNdEx = postIndex
  40402. case 2:
  40403. if wireType != 2 {
  40404. return fmt.Errorf("proto: wrong wireType = %d for field EvictionTime", wireType)
  40405. }
  40406. var msglen int
  40407. for shift := uint(0); ; shift += 7 {
  40408. if shift >= 64 {
  40409. return ErrIntOverflowGenerated
  40410. }
  40411. if iNdEx >= l {
  40412. return io.ErrUnexpectedEOF
  40413. }
  40414. b := dAtA[iNdEx]
  40415. iNdEx++
  40416. msglen |= (int(b) & 0x7F) << shift
  40417. if b < 0x80 {
  40418. break
  40419. }
  40420. }
  40421. if msglen < 0 {
  40422. return ErrInvalidLengthGenerated
  40423. }
  40424. postIndex := iNdEx + msglen
  40425. if postIndex > l {
  40426. return io.ErrUnexpectedEOF
  40427. }
  40428. if err := m.EvictionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40429. return err
  40430. }
  40431. iNdEx = postIndex
  40432. case 3:
  40433. if wireType != 2 {
  40434. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  40435. }
  40436. var stringLen uint64
  40437. for shift := uint(0); ; shift += 7 {
  40438. if shift >= 64 {
  40439. return ErrIntOverflowGenerated
  40440. }
  40441. if iNdEx >= l {
  40442. return io.ErrUnexpectedEOF
  40443. }
  40444. b := dAtA[iNdEx]
  40445. iNdEx++
  40446. stringLen |= (uint64(b) & 0x7F) << shift
  40447. if b < 0x80 {
  40448. break
  40449. }
  40450. }
  40451. intStringLen := int(stringLen)
  40452. if intStringLen < 0 {
  40453. return ErrInvalidLengthGenerated
  40454. }
  40455. postIndex := iNdEx + intStringLen
  40456. if postIndex > l {
  40457. return io.ErrUnexpectedEOF
  40458. }
  40459. m.Reason = string(dAtA[iNdEx:postIndex])
  40460. iNdEx = postIndex
  40461. case 4:
  40462. if wireType != 2 {
  40463. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  40464. }
  40465. var stringLen uint64
  40466. for shift := uint(0); ; shift += 7 {
  40467. if shift >= 64 {
  40468. return ErrIntOverflowGenerated
  40469. }
  40470. if iNdEx >= l {
  40471. return io.ErrUnexpectedEOF
  40472. }
  40473. b := dAtA[iNdEx]
  40474. iNdEx++
  40475. stringLen |= (uint64(b) & 0x7F) << shift
  40476. if b < 0x80 {
  40477. break
  40478. }
  40479. }
  40480. intStringLen := int(stringLen)
  40481. if intStringLen < 0 {
  40482. return ErrInvalidLengthGenerated
  40483. }
  40484. postIndex := iNdEx + intStringLen
  40485. if postIndex > l {
  40486. return io.ErrUnexpectedEOF
  40487. }
  40488. m.Message = string(dAtA[iNdEx:postIndex])
  40489. iNdEx = postIndex
  40490. default:
  40491. iNdEx = preIndex
  40492. skippy, err := skipGenerated(dAtA[iNdEx:])
  40493. if err != nil {
  40494. return err
  40495. }
  40496. if skippy < 0 {
  40497. return ErrInvalidLengthGenerated
  40498. }
  40499. if (iNdEx + skippy) > l {
  40500. return io.ErrUnexpectedEOF
  40501. }
  40502. iNdEx += skippy
  40503. }
  40504. }
  40505. if iNdEx > l {
  40506. return io.ErrUnexpectedEOF
  40507. }
  40508. return nil
  40509. }
  40510. func (m *PreferredSchedulingTerm) Unmarshal(dAtA []byte) error {
  40511. l := len(dAtA)
  40512. iNdEx := 0
  40513. for iNdEx < l {
  40514. preIndex := iNdEx
  40515. var wire uint64
  40516. for shift := uint(0); ; shift += 7 {
  40517. if shift >= 64 {
  40518. return ErrIntOverflowGenerated
  40519. }
  40520. if iNdEx >= l {
  40521. return io.ErrUnexpectedEOF
  40522. }
  40523. b := dAtA[iNdEx]
  40524. iNdEx++
  40525. wire |= (uint64(b) & 0x7F) << shift
  40526. if b < 0x80 {
  40527. break
  40528. }
  40529. }
  40530. fieldNum := int32(wire >> 3)
  40531. wireType := int(wire & 0x7)
  40532. if wireType == 4 {
  40533. return fmt.Errorf("proto: PreferredSchedulingTerm: wiretype end group for non-group")
  40534. }
  40535. if fieldNum <= 0 {
  40536. return fmt.Errorf("proto: PreferredSchedulingTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  40537. }
  40538. switch fieldNum {
  40539. case 1:
  40540. if wireType != 0 {
  40541. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  40542. }
  40543. m.Weight = 0
  40544. for shift := uint(0); ; shift += 7 {
  40545. if shift >= 64 {
  40546. return ErrIntOverflowGenerated
  40547. }
  40548. if iNdEx >= l {
  40549. return io.ErrUnexpectedEOF
  40550. }
  40551. b := dAtA[iNdEx]
  40552. iNdEx++
  40553. m.Weight |= (int32(b) & 0x7F) << shift
  40554. if b < 0x80 {
  40555. break
  40556. }
  40557. }
  40558. case 2:
  40559. if wireType != 2 {
  40560. return fmt.Errorf("proto: wrong wireType = %d for field Preference", wireType)
  40561. }
  40562. var msglen int
  40563. for shift := uint(0); ; shift += 7 {
  40564. if shift >= 64 {
  40565. return ErrIntOverflowGenerated
  40566. }
  40567. if iNdEx >= l {
  40568. return io.ErrUnexpectedEOF
  40569. }
  40570. b := dAtA[iNdEx]
  40571. iNdEx++
  40572. msglen |= (int(b) & 0x7F) << shift
  40573. if b < 0x80 {
  40574. break
  40575. }
  40576. }
  40577. if msglen < 0 {
  40578. return ErrInvalidLengthGenerated
  40579. }
  40580. postIndex := iNdEx + msglen
  40581. if postIndex > l {
  40582. return io.ErrUnexpectedEOF
  40583. }
  40584. if err := m.Preference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40585. return err
  40586. }
  40587. iNdEx = postIndex
  40588. default:
  40589. iNdEx = preIndex
  40590. skippy, err := skipGenerated(dAtA[iNdEx:])
  40591. if err != nil {
  40592. return err
  40593. }
  40594. if skippy < 0 {
  40595. return ErrInvalidLengthGenerated
  40596. }
  40597. if (iNdEx + skippy) > l {
  40598. return io.ErrUnexpectedEOF
  40599. }
  40600. iNdEx += skippy
  40601. }
  40602. }
  40603. if iNdEx > l {
  40604. return io.ErrUnexpectedEOF
  40605. }
  40606. return nil
  40607. }
  40608. func (m *Probe) Unmarshal(dAtA []byte) error {
  40609. l := len(dAtA)
  40610. iNdEx := 0
  40611. for iNdEx < l {
  40612. preIndex := iNdEx
  40613. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  40624. if b < 0x80 {
  40625. break
  40626. }
  40627. }
  40628. fieldNum := int32(wire >> 3)
  40629. wireType := int(wire & 0x7)
  40630. if wireType == 4 {
  40631. return fmt.Errorf("proto: Probe: wiretype end group for non-group")
  40632. }
  40633. if fieldNum <= 0 {
  40634. return fmt.Errorf("proto: Probe: illegal tag %d (wire type %d)", fieldNum, wire)
  40635. }
  40636. switch fieldNum {
  40637. case 1:
  40638. if wireType != 2 {
  40639. return fmt.Errorf("proto: wrong wireType = %d for field Handler", wireType)
  40640. }
  40641. var msglen int
  40642. for shift := uint(0); ; shift += 7 {
  40643. if shift >= 64 {
  40644. return ErrIntOverflowGenerated
  40645. }
  40646. if iNdEx >= l {
  40647. return io.ErrUnexpectedEOF
  40648. }
  40649. b := dAtA[iNdEx]
  40650. iNdEx++
  40651. msglen |= (int(b) & 0x7F) << shift
  40652. if b < 0x80 {
  40653. break
  40654. }
  40655. }
  40656. if msglen < 0 {
  40657. return ErrInvalidLengthGenerated
  40658. }
  40659. postIndex := iNdEx + msglen
  40660. if postIndex > l {
  40661. return io.ErrUnexpectedEOF
  40662. }
  40663. if err := m.Handler.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40664. return err
  40665. }
  40666. iNdEx = postIndex
  40667. case 2:
  40668. if wireType != 0 {
  40669. return fmt.Errorf("proto: wrong wireType = %d for field InitialDelaySeconds", wireType)
  40670. }
  40671. m.InitialDelaySeconds = 0
  40672. for shift := uint(0); ; shift += 7 {
  40673. if shift >= 64 {
  40674. return ErrIntOverflowGenerated
  40675. }
  40676. if iNdEx >= l {
  40677. return io.ErrUnexpectedEOF
  40678. }
  40679. b := dAtA[iNdEx]
  40680. iNdEx++
  40681. m.InitialDelaySeconds |= (int32(b) & 0x7F) << shift
  40682. if b < 0x80 {
  40683. break
  40684. }
  40685. }
  40686. case 3:
  40687. if wireType != 0 {
  40688. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  40689. }
  40690. m.TimeoutSeconds = 0
  40691. for shift := uint(0); ; shift += 7 {
  40692. if shift >= 64 {
  40693. return ErrIntOverflowGenerated
  40694. }
  40695. if iNdEx >= l {
  40696. return io.ErrUnexpectedEOF
  40697. }
  40698. b := dAtA[iNdEx]
  40699. iNdEx++
  40700. m.TimeoutSeconds |= (int32(b) & 0x7F) << shift
  40701. if b < 0x80 {
  40702. break
  40703. }
  40704. }
  40705. case 4:
  40706. if wireType != 0 {
  40707. return fmt.Errorf("proto: wrong wireType = %d for field PeriodSeconds", wireType)
  40708. }
  40709. m.PeriodSeconds = 0
  40710. for shift := uint(0); ; shift += 7 {
  40711. if shift >= 64 {
  40712. return ErrIntOverflowGenerated
  40713. }
  40714. if iNdEx >= l {
  40715. return io.ErrUnexpectedEOF
  40716. }
  40717. b := dAtA[iNdEx]
  40718. iNdEx++
  40719. m.PeriodSeconds |= (int32(b) & 0x7F) << shift
  40720. if b < 0x80 {
  40721. break
  40722. }
  40723. }
  40724. case 5:
  40725. if wireType != 0 {
  40726. return fmt.Errorf("proto: wrong wireType = %d for field SuccessThreshold", wireType)
  40727. }
  40728. m.SuccessThreshold = 0
  40729. for shift := uint(0); ; shift += 7 {
  40730. if shift >= 64 {
  40731. return ErrIntOverflowGenerated
  40732. }
  40733. if iNdEx >= l {
  40734. return io.ErrUnexpectedEOF
  40735. }
  40736. b := dAtA[iNdEx]
  40737. iNdEx++
  40738. m.SuccessThreshold |= (int32(b) & 0x7F) << shift
  40739. if b < 0x80 {
  40740. break
  40741. }
  40742. }
  40743. case 6:
  40744. if wireType != 0 {
  40745. return fmt.Errorf("proto: wrong wireType = %d for field FailureThreshold", wireType)
  40746. }
  40747. m.FailureThreshold = 0
  40748. for shift := uint(0); ; shift += 7 {
  40749. if shift >= 64 {
  40750. return ErrIntOverflowGenerated
  40751. }
  40752. if iNdEx >= l {
  40753. return io.ErrUnexpectedEOF
  40754. }
  40755. b := dAtA[iNdEx]
  40756. iNdEx++
  40757. m.FailureThreshold |= (int32(b) & 0x7F) << shift
  40758. if b < 0x80 {
  40759. break
  40760. }
  40761. }
  40762. default:
  40763. iNdEx = preIndex
  40764. skippy, err := skipGenerated(dAtA[iNdEx:])
  40765. if err != nil {
  40766. return err
  40767. }
  40768. if skippy < 0 {
  40769. return ErrInvalidLengthGenerated
  40770. }
  40771. if (iNdEx + skippy) > l {
  40772. return io.ErrUnexpectedEOF
  40773. }
  40774. iNdEx += skippy
  40775. }
  40776. }
  40777. if iNdEx > l {
  40778. return io.ErrUnexpectedEOF
  40779. }
  40780. return nil
  40781. }
  40782. func (m *ProjectedVolumeSource) Unmarshal(dAtA []byte) error {
  40783. l := len(dAtA)
  40784. iNdEx := 0
  40785. for iNdEx < l {
  40786. preIndex := iNdEx
  40787. var wire uint64
  40788. for shift := uint(0); ; shift += 7 {
  40789. if shift >= 64 {
  40790. return ErrIntOverflowGenerated
  40791. }
  40792. if iNdEx >= l {
  40793. return io.ErrUnexpectedEOF
  40794. }
  40795. b := dAtA[iNdEx]
  40796. iNdEx++
  40797. wire |= (uint64(b) & 0x7F) << shift
  40798. if b < 0x80 {
  40799. break
  40800. }
  40801. }
  40802. fieldNum := int32(wire >> 3)
  40803. wireType := int(wire & 0x7)
  40804. if wireType == 4 {
  40805. return fmt.Errorf("proto: ProjectedVolumeSource: wiretype end group for non-group")
  40806. }
  40807. if fieldNum <= 0 {
  40808. return fmt.Errorf("proto: ProjectedVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  40809. }
  40810. switch fieldNum {
  40811. case 1:
  40812. if wireType != 2 {
  40813. return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
  40814. }
  40815. var msglen int
  40816. for shift := uint(0); ; shift += 7 {
  40817. if shift >= 64 {
  40818. return ErrIntOverflowGenerated
  40819. }
  40820. if iNdEx >= l {
  40821. return io.ErrUnexpectedEOF
  40822. }
  40823. b := dAtA[iNdEx]
  40824. iNdEx++
  40825. msglen |= (int(b) & 0x7F) << shift
  40826. if b < 0x80 {
  40827. break
  40828. }
  40829. }
  40830. if msglen < 0 {
  40831. return ErrInvalidLengthGenerated
  40832. }
  40833. postIndex := iNdEx + msglen
  40834. if postIndex > l {
  40835. return io.ErrUnexpectedEOF
  40836. }
  40837. m.Sources = append(m.Sources, VolumeProjection{})
  40838. if err := m.Sources[len(m.Sources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40839. return err
  40840. }
  40841. iNdEx = postIndex
  40842. case 2:
  40843. if wireType != 0 {
  40844. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  40845. }
  40846. var v int32
  40847. for shift := uint(0); ; shift += 7 {
  40848. if shift >= 64 {
  40849. return ErrIntOverflowGenerated
  40850. }
  40851. if iNdEx >= l {
  40852. return io.ErrUnexpectedEOF
  40853. }
  40854. b := dAtA[iNdEx]
  40855. iNdEx++
  40856. v |= (int32(b) & 0x7F) << shift
  40857. if b < 0x80 {
  40858. break
  40859. }
  40860. }
  40861. m.DefaultMode = &v
  40862. default:
  40863. iNdEx = preIndex
  40864. skippy, err := skipGenerated(dAtA[iNdEx:])
  40865. if err != nil {
  40866. return err
  40867. }
  40868. if skippy < 0 {
  40869. return ErrInvalidLengthGenerated
  40870. }
  40871. if (iNdEx + skippy) > l {
  40872. return io.ErrUnexpectedEOF
  40873. }
  40874. iNdEx += skippy
  40875. }
  40876. }
  40877. if iNdEx > l {
  40878. return io.ErrUnexpectedEOF
  40879. }
  40880. return nil
  40881. }
  40882. func (m *QuobyteVolumeSource) Unmarshal(dAtA []byte) error {
  40883. l := len(dAtA)
  40884. iNdEx := 0
  40885. for iNdEx < l {
  40886. preIndex := iNdEx
  40887. var wire uint64
  40888. for shift := uint(0); ; shift += 7 {
  40889. if shift >= 64 {
  40890. return ErrIntOverflowGenerated
  40891. }
  40892. if iNdEx >= l {
  40893. return io.ErrUnexpectedEOF
  40894. }
  40895. b := dAtA[iNdEx]
  40896. iNdEx++
  40897. wire |= (uint64(b) & 0x7F) << shift
  40898. if b < 0x80 {
  40899. break
  40900. }
  40901. }
  40902. fieldNum := int32(wire >> 3)
  40903. wireType := int(wire & 0x7)
  40904. if wireType == 4 {
  40905. return fmt.Errorf("proto: QuobyteVolumeSource: wiretype end group for non-group")
  40906. }
  40907. if fieldNum <= 0 {
  40908. return fmt.Errorf("proto: QuobyteVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  40909. }
  40910. switch fieldNum {
  40911. case 1:
  40912. if wireType != 2 {
  40913. return fmt.Errorf("proto: wrong wireType = %d for field Registry", wireType)
  40914. }
  40915. var stringLen uint64
  40916. for shift := uint(0); ; shift += 7 {
  40917. if shift >= 64 {
  40918. return ErrIntOverflowGenerated
  40919. }
  40920. if iNdEx >= l {
  40921. return io.ErrUnexpectedEOF
  40922. }
  40923. b := dAtA[iNdEx]
  40924. iNdEx++
  40925. stringLen |= (uint64(b) & 0x7F) << shift
  40926. if b < 0x80 {
  40927. break
  40928. }
  40929. }
  40930. intStringLen := int(stringLen)
  40931. if intStringLen < 0 {
  40932. return ErrInvalidLengthGenerated
  40933. }
  40934. postIndex := iNdEx + intStringLen
  40935. if postIndex > l {
  40936. return io.ErrUnexpectedEOF
  40937. }
  40938. m.Registry = string(dAtA[iNdEx:postIndex])
  40939. iNdEx = postIndex
  40940. case 2:
  40941. if wireType != 2 {
  40942. return fmt.Errorf("proto: wrong wireType = %d for field Volume", wireType)
  40943. }
  40944. var stringLen uint64
  40945. for shift := uint(0); ; shift += 7 {
  40946. if shift >= 64 {
  40947. return ErrIntOverflowGenerated
  40948. }
  40949. if iNdEx >= l {
  40950. return io.ErrUnexpectedEOF
  40951. }
  40952. b := dAtA[iNdEx]
  40953. iNdEx++
  40954. stringLen |= (uint64(b) & 0x7F) << shift
  40955. if b < 0x80 {
  40956. break
  40957. }
  40958. }
  40959. intStringLen := int(stringLen)
  40960. if intStringLen < 0 {
  40961. return ErrInvalidLengthGenerated
  40962. }
  40963. postIndex := iNdEx + intStringLen
  40964. if postIndex > l {
  40965. return io.ErrUnexpectedEOF
  40966. }
  40967. m.Volume = string(dAtA[iNdEx:postIndex])
  40968. iNdEx = postIndex
  40969. case 3:
  40970. if wireType != 0 {
  40971. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  40972. }
  40973. var v int
  40974. for shift := uint(0); ; shift += 7 {
  40975. if shift >= 64 {
  40976. return ErrIntOverflowGenerated
  40977. }
  40978. if iNdEx >= l {
  40979. return io.ErrUnexpectedEOF
  40980. }
  40981. b := dAtA[iNdEx]
  40982. iNdEx++
  40983. v |= (int(b) & 0x7F) << shift
  40984. if b < 0x80 {
  40985. break
  40986. }
  40987. }
  40988. m.ReadOnly = bool(v != 0)
  40989. case 4:
  40990. if wireType != 2 {
  40991. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  40992. }
  40993. var stringLen uint64
  40994. for shift := uint(0); ; shift += 7 {
  40995. if shift >= 64 {
  40996. return ErrIntOverflowGenerated
  40997. }
  40998. if iNdEx >= l {
  40999. return io.ErrUnexpectedEOF
  41000. }
  41001. b := dAtA[iNdEx]
  41002. iNdEx++
  41003. stringLen |= (uint64(b) & 0x7F) << shift
  41004. if b < 0x80 {
  41005. break
  41006. }
  41007. }
  41008. intStringLen := int(stringLen)
  41009. if intStringLen < 0 {
  41010. return ErrInvalidLengthGenerated
  41011. }
  41012. postIndex := iNdEx + intStringLen
  41013. if postIndex > l {
  41014. return io.ErrUnexpectedEOF
  41015. }
  41016. m.User = string(dAtA[iNdEx:postIndex])
  41017. iNdEx = postIndex
  41018. case 5:
  41019. if wireType != 2 {
  41020. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  41021. }
  41022. var stringLen uint64
  41023. for shift := uint(0); ; shift += 7 {
  41024. if shift >= 64 {
  41025. return ErrIntOverflowGenerated
  41026. }
  41027. if iNdEx >= l {
  41028. return io.ErrUnexpectedEOF
  41029. }
  41030. b := dAtA[iNdEx]
  41031. iNdEx++
  41032. stringLen |= (uint64(b) & 0x7F) << shift
  41033. if b < 0x80 {
  41034. break
  41035. }
  41036. }
  41037. intStringLen := int(stringLen)
  41038. if intStringLen < 0 {
  41039. return ErrInvalidLengthGenerated
  41040. }
  41041. postIndex := iNdEx + intStringLen
  41042. if postIndex > l {
  41043. return io.ErrUnexpectedEOF
  41044. }
  41045. m.Group = string(dAtA[iNdEx:postIndex])
  41046. iNdEx = postIndex
  41047. case 6:
  41048. if wireType != 2 {
  41049. return fmt.Errorf("proto: wrong wireType = %d for field Tenant", wireType)
  41050. }
  41051. var stringLen uint64
  41052. for shift := uint(0); ; shift += 7 {
  41053. if shift >= 64 {
  41054. return ErrIntOverflowGenerated
  41055. }
  41056. if iNdEx >= l {
  41057. return io.ErrUnexpectedEOF
  41058. }
  41059. b := dAtA[iNdEx]
  41060. iNdEx++
  41061. stringLen |= (uint64(b) & 0x7F) << shift
  41062. if b < 0x80 {
  41063. break
  41064. }
  41065. }
  41066. intStringLen := int(stringLen)
  41067. if intStringLen < 0 {
  41068. return ErrInvalidLengthGenerated
  41069. }
  41070. postIndex := iNdEx + intStringLen
  41071. if postIndex > l {
  41072. return io.ErrUnexpectedEOF
  41073. }
  41074. m.Tenant = string(dAtA[iNdEx:postIndex])
  41075. iNdEx = postIndex
  41076. default:
  41077. iNdEx = preIndex
  41078. skippy, err := skipGenerated(dAtA[iNdEx:])
  41079. if err != nil {
  41080. return err
  41081. }
  41082. if skippy < 0 {
  41083. return ErrInvalidLengthGenerated
  41084. }
  41085. if (iNdEx + skippy) > l {
  41086. return io.ErrUnexpectedEOF
  41087. }
  41088. iNdEx += skippy
  41089. }
  41090. }
  41091. if iNdEx > l {
  41092. return io.ErrUnexpectedEOF
  41093. }
  41094. return nil
  41095. }
  41096. func (m *RBDPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  41097. l := len(dAtA)
  41098. iNdEx := 0
  41099. for iNdEx < l {
  41100. preIndex := iNdEx
  41101. var wire uint64
  41102. for shift := uint(0); ; shift += 7 {
  41103. if shift >= 64 {
  41104. return ErrIntOverflowGenerated
  41105. }
  41106. if iNdEx >= l {
  41107. return io.ErrUnexpectedEOF
  41108. }
  41109. b := dAtA[iNdEx]
  41110. iNdEx++
  41111. wire |= (uint64(b) & 0x7F) << shift
  41112. if b < 0x80 {
  41113. break
  41114. }
  41115. }
  41116. fieldNum := int32(wire >> 3)
  41117. wireType := int(wire & 0x7)
  41118. if wireType == 4 {
  41119. return fmt.Errorf("proto: RBDPersistentVolumeSource: wiretype end group for non-group")
  41120. }
  41121. if fieldNum <= 0 {
  41122. return fmt.Errorf("proto: RBDPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  41123. }
  41124. switch fieldNum {
  41125. case 1:
  41126. if wireType != 2 {
  41127. return fmt.Errorf("proto: wrong wireType = %d for field CephMonitors", wireType)
  41128. }
  41129. var stringLen uint64
  41130. for shift := uint(0); ; shift += 7 {
  41131. if shift >= 64 {
  41132. return ErrIntOverflowGenerated
  41133. }
  41134. if iNdEx >= l {
  41135. return io.ErrUnexpectedEOF
  41136. }
  41137. b := dAtA[iNdEx]
  41138. iNdEx++
  41139. stringLen |= (uint64(b) & 0x7F) << shift
  41140. if b < 0x80 {
  41141. break
  41142. }
  41143. }
  41144. intStringLen := int(stringLen)
  41145. if intStringLen < 0 {
  41146. return ErrInvalidLengthGenerated
  41147. }
  41148. postIndex := iNdEx + intStringLen
  41149. if postIndex > l {
  41150. return io.ErrUnexpectedEOF
  41151. }
  41152. m.CephMonitors = append(m.CephMonitors, string(dAtA[iNdEx:postIndex]))
  41153. iNdEx = postIndex
  41154. case 2:
  41155. if wireType != 2 {
  41156. return fmt.Errorf("proto: wrong wireType = %d for field RBDImage", wireType)
  41157. }
  41158. var stringLen uint64
  41159. for shift := uint(0); ; shift += 7 {
  41160. if shift >= 64 {
  41161. return ErrIntOverflowGenerated
  41162. }
  41163. if iNdEx >= l {
  41164. return io.ErrUnexpectedEOF
  41165. }
  41166. b := dAtA[iNdEx]
  41167. iNdEx++
  41168. stringLen |= (uint64(b) & 0x7F) << shift
  41169. if b < 0x80 {
  41170. break
  41171. }
  41172. }
  41173. intStringLen := int(stringLen)
  41174. if intStringLen < 0 {
  41175. return ErrInvalidLengthGenerated
  41176. }
  41177. postIndex := iNdEx + intStringLen
  41178. if postIndex > l {
  41179. return io.ErrUnexpectedEOF
  41180. }
  41181. m.RBDImage = string(dAtA[iNdEx:postIndex])
  41182. iNdEx = postIndex
  41183. case 3:
  41184. if wireType != 2 {
  41185. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  41186. }
  41187. var stringLen uint64
  41188. for shift := uint(0); ; shift += 7 {
  41189. if shift >= 64 {
  41190. return ErrIntOverflowGenerated
  41191. }
  41192. if iNdEx >= l {
  41193. return io.ErrUnexpectedEOF
  41194. }
  41195. b := dAtA[iNdEx]
  41196. iNdEx++
  41197. stringLen |= (uint64(b) & 0x7F) << shift
  41198. if b < 0x80 {
  41199. break
  41200. }
  41201. }
  41202. intStringLen := int(stringLen)
  41203. if intStringLen < 0 {
  41204. return ErrInvalidLengthGenerated
  41205. }
  41206. postIndex := iNdEx + intStringLen
  41207. if postIndex > l {
  41208. return io.ErrUnexpectedEOF
  41209. }
  41210. m.FSType = string(dAtA[iNdEx:postIndex])
  41211. iNdEx = postIndex
  41212. case 4:
  41213. if wireType != 2 {
  41214. return fmt.Errorf("proto: wrong wireType = %d for field RBDPool", wireType)
  41215. }
  41216. var stringLen uint64
  41217. for shift := uint(0); ; shift += 7 {
  41218. if shift >= 64 {
  41219. return ErrIntOverflowGenerated
  41220. }
  41221. if iNdEx >= l {
  41222. return io.ErrUnexpectedEOF
  41223. }
  41224. b := dAtA[iNdEx]
  41225. iNdEx++
  41226. stringLen |= (uint64(b) & 0x7F) << shift
  41227. if b < 0x80 {
  41228. break
  41229. }
  41230. }
  41231. intStringLen := int(stringLen)
  41232. if intStringLen < 0 {
  41233. return ErrInvalidLengthGenerated
  41234. }
  41235. postIndex := iNdEx + intStringLen
  41236. if postIndex > l {
  41237. return io.ErrUnexpectedEOF
  41238. }
  41239. m.RBDPool = string(dAtA[iNdEx:postIndex])
  41240. iNdEx = postIndex
  41241. case 5:
  41242. if wireType != 2 {
  41243. return fmt.Errorf("proto: wrong wireType = %d for field RadosUser", wireType)
  41244. }
  41245. var stringLen uint64
  41246. for shift := uint(0); ; shift += 7 {
  41247. if shift >= 64 {
  41248. return ErrIntOverflowGenerated
  41249. }
  41250. if iNdEx >= l {
  41251. return io.ErrUnexpectedEOF
  41252. }
  41253. b := dAtA[iNdEx]
  41254. iNdEx++
  41255. stringLen |= (uint64(b) & 0x7F) << shift
  41256. if b < 0x80 {
  41257. break
  41258. }
  41259. }
  41260. intStringLen := int(stringLen)
  41261. if intStringLen < 0 {
  41262. return ErrInvalidLengthGenerated
  41263. }
  41264. postIndex := iNdEx + intStringLen
  41265. if postIndex > l {
  41266. return io.ErrUnexpectedEOF
  41267. }
  41268. m.RadosUser = string(dAtA[iNdEx:postIndex])
  41269. iNdEx = postIndex
  41270. case 6:
  41271. if wireType != 2 {
  41272. return fmt.Errorf("proto: wrong wireType = %d for field Keyring", wireType)
  41273. }
  41274. var stringLen uint64
  41275. for shift := uint(0); ; shift += 7 {
  41276. if shift >= 64 {
  41277. return ErrIntOverflowGenerated
  41278. }
  41279. if iNdEx >= l {
  41280. return io.ErrUnexpectedEOF
  41281. }
  41282. b := dAtA[iNdEx]
  41283. iNdEx++
  41284. stringLen |= (uint64(b) & 0x7F) << shift
  41285. if b < 0x80 {
  41286. break
  41287. }
  41288. }
  41289. intStringLen := int(stringLen)
  41290. if intStringLen < 0 {
  41291. return ErrInvalidLengthGenerated
  41292. }
  41293. postIndex := iNdEx + intStringLen
  41294. if postIndex > l {
  41295. return io.ErrUnexpectedEOF
  41296. }
  41297. m.Keyring = string(dAtA[iNdEx:postIndex])
  41298. iNdEx = postIndex
  41299. case 7:
  41300. if wireType != 2 {
  41301. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  41302. }
  41303. var msglen int
  41304. for shift := uint(0); ; shift += 7 {
  41305. if shift >= 64 {
  41306. return ErrIntOverflowGenerated
  41307. }
  41308. if iNdEx >= l {
  41309. return io.ErrUnexpectedEOF
  41310. }
  41311. b := dAtA[iNdEx]
  41312. iNdEx++
  41313. msglen |= (int(b) & 0x7F) << shift
  41314. if b < 0x80 {
  41315. break
  41316. }
  41317. }
  41318. if msglen < 0 {
  41319. return ErrInvalidLengthGenerated
  41320. }
  41321. postIndex := iNdEx + msglen
  41322. if postIndex > l {
  41323. return io.ErrUnexpectedEOF
  41324. }
  41325. if m.SecretRef == nil {
  41326. m.SecretRef = &SecretReference{}
  41327. }
  41328. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41329. return err
  41330. }
  41331. iNdEx = postIndex
  41332. case 8:
  41333. if wireType != 0 {
  41334. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  41335. }
  41336. var v int
  41337. for shift := uint(0); ; shift += 7 {
  41338. if shift >= 64 {
  41339. return ErrIntOverflowGenerated
  41340. }
  41341. if iNdEx >= l {
  41342. return io.ErrUnexpectedEOF
  41343. }
  41344. b := dAtA[iNdEx]
  41345. iNdEx++
  41346. v |= (int(b) & 0x7F) << shift
  41347. if b < 0x80 {
  41348. break
  41349. }
  41350. }
  41351. m.ReadOnly = bool(v != 0)
  41352. default:
  41353. iNdEx = preIndex
  41354. skippy, err := skipGenerated(dAtA[iNdEx:])
  41355. if err != nil {
  41356. return err
  41357. }
  41358. if skippy < 0 {
  41359. return ErrInvalidLengthGenerated
  41360. }
  41361. if (iNdEx + skippy) > l {
  41362. return io.ErrUnexpectedEOF
  41363. }
  41364. iNdEx += skippy
  41365. }
  41366. }
  41367. if iNdEx > l {
  41368. return io.ErrUnexpectedEOF
  41369. }
  41370. return nil
  41371. }
  41372. func (m *RBDVolumeSource) Unmarshal(dAtA []byte) error {
  41373. l := len(dAtA)
  41374. iNdEx := 0
  41375. for iNdEx < l {
  41376. preIndex := iNdEx
  41377. var wire uint64
  41378. for shift := uint(0); ; shift += 7 {
  41379. if shift >= 64 {
  41380. return ErrIntOverflowGenerated
  41381. }
  41382. if iNdEx >= l {
  41383. return io.ErrUnexpectedEOF
  41384. }
  41385. b := dAtA[iNdEx]
  41386. iNdEx++
  41387. wire |= (uint64(b) & 0x7F) << shift
  41388. if b < 0x80 {
  41389. break
  41390. }
  41391. }
  41392. fieldNum := int32(wire >> 3)
  41393. wireType := int(wire & 0x7)
  41394. if wireType == 4 {
  41395. return fmt.Errorf("proto: RBDVolumeSource: wiretype end group for non-group")
  41396. }
  41397. if fieldNum <= 0 {
  41398. return fmt.Errorf("proto: RBDVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  41399. }
  41400. switch fieldNum {
  41401. case 1:
  41402. if wireType != 2 {
  41403. return fmt.Errorf("proto: wrong wireType = %d for field CephMonitors", wireType)
  41404. }
  41405. var stringLen uint64
  41406. for shift := uint(0); ; shift += 7 {
  41407. if shift >= 64 {
  41408. return ErrIntOverflowGenerated
  41409. }
  41410. if iNdEx >= l {
  41411. return io.ErrUnexpectedEOF
  41412. }
  41413. b := dAtA[iNdEx]
  41414. iNdEx++
  41415. stringLen |= (uint64(b) & 0x7F) << shift
  41416. if b < 0x80 {
  41417. break
  41418. }
  41419. }
  41420. intStringLen := int(stringLen)
  41421. if intStringLen < 0 {
  41422. return ErrInvalidLengthGenerated
  41423. }
  41424. postIndex := iNdEx + intStringLen
  41425. if postIndex > l {
  41426. return io.ErrUnexpectedEOF
  41427. }
  41428. m.CephMonitors = append(m.CephMonitors, string(dAtA[iNdEx:postIndex]))
  41429. iNdEx = postIndex
  41430. case 2:
  41431. if wireType != 2 {
  41432. return fmt.Errorf("proto: wrong wireType = %d for field RBDImage", wireType)
  41433. }
  41434. var stringLen uint64
  41435. for shift := uint(0); ; shift += 7 {
  41436. if shift >= 64 {
  41437. return ErrIntOverflowGenerated
  41438. }
  41439. if iNdEx >= l {
  41440. return io.ErrUnexpectedEOF
  41441. }
  41442. b := dAtA[iNdEx]
  41443. iNdEx++
  41444. stringLen |= (uint64(b) & 0x7F) << shift
  41445. if b < 0x80 {
  41446. break
  41447. }
  41448. }
  41449. intStringLen := int(stringLen)
  41450. if intStringLen < 0 {
  41451. return ErrInvalidLengthGenerated
  41452. }
  41453. postIndex := iNdEx + intStringLen
  41454. if postIndex > l {
  41455. return io.ErrUnexpectedEOF
  41456. }
  41457. m.RBDImage = string(dAtA[iNdEx:postIndex])
  41458. iNdEx = postIndex
  41459. case 3:
  41460. if wireType != 2 {
  41461. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  41462. }
  41463. var stringLen uint64
  41464. for shift := uint(0); ; shift += 7 {
  41465. if shift >= 64 {
  41466. return ErrIntOverflowGenerated
  41467. }
  41468. if iNdEx >= l {
  41469. return io.ErrUnexpectedEOF
  41470. }
  41471. b := dAtA[iNdEx]
  41472. iNdEx++
  41473. stringLen |= (uint64(b) & 0x7F) << shift
  41474. if b < 0x80 {
  41475. break
  41476. }
  41477. }
  41478. intStringLen := int(stringLen)
  41479. if intStringLen < 0 {
  41480. return ErrInvalidLengthGenerated
  41481. }
  41482. postIndex := iNdEx + intStringLen
  41483. if postIndex > l {
  41484. return io.ErrUnexpectedEOF
  41485. }
  41486. m.FSType = string(dAtA[iNdEx:postIndex])
  41487. iNdEx = postIndex
  41488. case 4:
  41489. if wireType != 2 {
  41490. return fmt.Errorf("proto: wrong wireType = %d for field RBDPool", wireType)
  41491. }
  41492. var stringLen uint64
  41493. for shift := uint(0); ; shift += 7 {
  41494. if shift >= 64 {
  41495. return ErrIntOverflowGenerated
  41496. }
  41497. if iNdEx >= l {
  41498. return io.ErrUnexpectedEOF
  41499. }
  41500. b := dAtA[iNdEx]
  41501. iNdEx++
  41502. stringLen |= (uint64(b) & 0x7F) << shift
  41503. if b < 0x80 {
  41504. break
  41505. }
  41506. }
  41507. intStringLen := int(stringLen)
  41508. if intStringLen < 0 {
  41509. return ErrInvalidLengthGenerated
  41510. }
  41511. postIndex := iNdEx + intStringLen
  41512. if postIndex > l {
  41513. return io.ErrUnexpectedEOF
  41514. }
  41515. m.RBDPool = string(dAtA[iNdEx:postIndex])
  41516. iNdEx = postIndex
  41517. case 5:
  41518. if wireType != 2 {
  41519. return fmt.Errorf("proto: wrong wireType = %d for field RadosUser", wireType)
  41520. }
  41521. var stringLen uint64
  41522. for shift := uint(0); ; shift += 7 {
  41523. if shift >= 64 {
  41524. return ErrIntOverflowGenerated
  41525. }
  41526. if iNdEx >= l {
  41527. return io.ErrUnexpectedEOF
  41528. }
  41529. b := dAtA[iNdEx]
  41530. iNdEx++
  41531. stringLen |= (uint64(b) & 0x7F) << shift
  41532. if b < 0x80 {
  41533. break
  41534. }
  41535. }
  41536. intStringLen := int(stringLen)
  41537. if intStringLen < 0 {
  41538. return ErrInvalidLengthGenerated
  41539. }
  41540. postIndex := iNdEx + intStringLen
  41541. if postIndex > l {
  41542. return io.ErrUnexpectedEOF
  41543. }
  41544. m.RadosUser = string(dAtA[iNdEx:postIndex])
  41545. iNdEx = postIndex
  41546. case 6:
  41547. if wireType != 2 {
  41548. return fmt.Errorf("proto: wrong wireType = %d for field Keyring", wireType)
  41549. }
  41550. var stringLen uint64
  41551. for shift := uint(0); ; shift += 7 {
  41552. if shift >= 64 {
  41553. return ErrIntOverflowGenerated
  41554. }
  41555. if iNdEx >= l {
  41556. return io.ErrUnexpectedEOF
  41557. }
  41558. b := dAtA[iNdEx]
  41559. iNdEx++
  41560. stringLen |= (uint64(b) & 0x7F) << shift
  41561. if b < 0x80 {
  41562. break
  41563. }
  41564. }
  41565. intStringLen := int(stringLen)
  41566. if intStringLen < 0 {
  41567. return ErrInvalidLengthGenerated
  41568. }
  41569. postIndex := iNdEx + intStringLen
  41570. if postIndex > l {
  41571. return io.ErrUnexpectedEOF
  41572. }
  41573. m.Keyring = string(dAtA[iNdEx:postIndex])
  41574. iNdEx = postIndex
  41575. case 7:
  41576. if wireType != 2 {
  41577. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  41578. }
  41579. var msglen int
  41580. for shift := uint(0); ; shift += 7 {
  41581. if shift >= 64 {
  41582. return ErrIntOverflowGenerated
  41583. }
  41584. if iNdEx >= l {
  41585. return io.ErrUnexpectedEOF
  41586. }
  41587. b := dAtA[iNdEx]
  41588. iNdEx++
  41589. msglen |= (int(b) & 0x7F) << shift
  41590. if b < 0x80 {
  41591. break
  41592. }
  41593. }
  41594. if msglen < 0 {
  41595. return ErrInvalidLengthGenerated
  41596. }
  41597. postIndex := iNdEx + msglen
  41598. if postIndex > l {
  41599. return io.ErrUnexpectedEOF
  41600. }
  41601. if m.SecretRef == nil {
  41602. m.SecretRef = &LocalObjectReference{}
  41603. }
  41604. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41605. return err
  41606. }
  41607. iNdEx = postIndex
  41608. case 8:
  41609. if wireType != 0 {
  41610. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  41611. }
  41612. var v int
  41613. for shift := uint(0); ; shift += 7 {
  41614. if shift >= 64 {
  41615. return ErrIntOverflowGenerated
  41616. }
  41617. if iNdEx >= l {
  41618. return io.ErrUnexpectedEOF
  41619. }
  41620. b := dAtA[iNdEx]
  41621. iNdEx++
  41622. v |= (int(b) & 0x7F) << shift
  41623. if b < 0x80 {
  41624. break
  41625. }
  41626. }
  41627. m.ReadOnly = bool(v != 0)
  41628. default:
  41629. iNdEx = preIndex
  41630. skippy, err := skipGenerated(dAtA[iNdEx:])
  41631. if err != nil {
  41632. return err
  41633. }
  41634. if skippy < 0 {
  41635. return ErrInvalidLengthGenerated
  41636. }
  41637. if (iNdEx + skippy) > l {
  41638. return io.ErrUnexpectedEOF
  41639. }
  41640. iNdEx += skippy
  41641. }
  41642. }
  41643. if iNdEx > l {
  41644. return io.ErrUnexpectedEOF
  41645. }
  41646. return nil
  41647. }
  41648. func (m *RangeAllocation) Unmarshal(dAtA []byte) error {
  41649. l := len(dAtA)
  41650. iNdEx := 0
  41651. for iNdEx < l {
  41652. preIndex := iNdEx
  41653. var wire uint64
  41654. for shift := uint(0); ; shift += 7 {
  41655. if shift >= 64 {
  41656. return ErrIntOverflowGenerated
  41657. }
  41658. if iNdEx >= l {
  41659. return io.ErrUnexpectedEOF
  41660. }
  41661. b := dAtA[iNdEx]
  41662. iNdEx++
  41663. wire |= (uint64(b) & 0x7F) << shift
  41664. if b < 0x80 {
  41665. break
  41666. }
  41667. }
  41668. fieldNum := int32(wire >> 3)
  41669. wireType := int(wire & 0x7)
  41670. if wireType == 4 {
  41671. return fmt.Errorf("proto: RangeAllocation: wiretype end group for non-group")
  41672. }
  41673. if fieldNum <= 0 {
  41674. return fmt.Errorf("proto: RangeAllocation: illegal tag %d (wire type %d)", fieldNum, wire)
  41675. }
  41676. switch fieldNum {
  41677. case 1:
  41678. if wireType != 2 {
  41679. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  41680. }
  41681. var msglen int
  41682. for shift := uint(0); ; shift += 7 {
  41683. if shift >= 64 {
  41684. return ErrIntOverflowGenerated
  41685. }
  41686. if iNdEx >= l {
  41687. return io.ErrUnexpectedEOF
  41688. }
  41689. b := dAtA[iNdEx]
  41690. iNdEx++
  41691. msglen |= (int(b) & 0x7F) << shift
  41692. if b < 0x80 {
  41693. break
  41694. }
  41695. }
  41696. if msglen < 0 {
  41697. return ErrInvalidLengthGenerated
  41698. }
  41699. postIndex := iNdEx + msglen
  41700. if postIndex > l {
  41701. return io.ErrUnexpectedEOF
  41702. }
  41703. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41704. return err
  41705. }
  41706. iNdEx = postIndex
  41707. case 2:
  41708. if wireType != 2 {
  41709. return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType)
  41710. }
  41711. var stringLen uint64
  41712. for shift := uint(0); ; shift += 7 {
  41713. if shift >= 64 {
  41714. return ErrIntOverflowGenerated
  41715. }
  41716. if iNdEx >= l {
  41717. return io.ErrUnexpectedEOF
  41718. }
  41719. b := dAtA[iNdEx]
  41720. iNdEx++
  41721. stringLen |= (uint64(b) & 0x7F) << shift
  41722. if b < 0x80 {
  41723. break
  41724. }
  41725. }
  41726. intStringLen := int(stringLen)
  41727. if intStringLen < 0 {
  41728. return ErrInvalidLengthGenerated
  41729. }
  41730. postIndex := iNdEx + intStringLen
  41731. if postIndex > l {
  41732. return io.ErrUnexpectedEOF
  41733. }
  41734. m.Range = string(dAtA[iNdEx:postIndex])
  41735. iNdEx = postIndex
  41736. case 3:
  41737. if wireType != 2 {
  41738. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  41739. }
  41740. var byteLen int
  41741. for shift := uint(0); ; shift += 7 {
  41742. if shift >= 64 {
  41743. return ErrIntOverflowGenerated
  41744. }
  41745. if iNdEx >= l {
  41746. return io.ErrUnexpectedEOF
  41747. }
  41748. b := dAtA[iNdEx]
  41749. iNdEx++
  41750. byteLen |= (int(b) & 0x7F) << shift
  41751. if b < 0x80 {
  41752. break
  41753. }
  41754. }
  41755. if byteLen < 0 {
  41756. return ErrInvalidLengthGenerated
  41757. }
  41758. postIndex := iNdEx + byteLen
  41759. if postIndex > l {
  41760. return io.ErrUnexpectedEOF
  41761. }
  41762. m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
  41763. if m.Data == nil {
  41764. m.Data = []byte{}
  41765. }
  41766. iNdEx = postIndex
  41767. default:
  41768. iNdEx = preIndex
  41769. skippy, err := skipGenerated(dAtA[iNdEx:])
  41770. if err != nil {
  41771. return err
  41772. }
  41773. if skippy < 0 {
  41774. return ErrInvalidLengthGenerated
  41775. }
  41776. if (iNdEx + skippy) > l {
  41777. return io.ErrUnexpectedEOF
  41778. }
  41779. iNdEx += skippy
  41780. }
  41781. }
  41782. if iNdEx > l {
  41783. return io.ErrUnexpectedEOF
  41784. }
  41785. return nil
  41786. }
  41787. func (m *ReplicationController) Unmarshal(dAtA []byte) error {
  41788. l := len(dAtA)
  41789. iNdEx := 0
  41790. for iNdEx < l {
  41791. preIndex := iNdEx
  41792. var wire uint64
  41793. for shift := uint(0); ; shift += 7 {
  41794. if shift >= 64 {
  41795. return ErrIntOverflowGenerated
  41796. }
  41797. if iNdEx >= l {
  41798. return io.ErrUnexpectedEOF
  41799. }
  41800. b := dAtA[iNdEx]
  41801. iNdEx++
  41802. wire |= (uint64(b) & 0x7F) << shift
  41803. if b < 0x80 {
  41804. break
  41805. }
  41806. }
  41807. fieldNum := int32(wire >> 3)
  41808. wireType := int(wire & 0x7)
  41809. if wireType == 4 {
  41810. return fmt.Errorf("proto: ReplicationController: wiretype end group for non-group")
  41811. }
  41812. if fieldNum <= 0 {
  41813. return fmt.Errorf("proto: ReplicationController: illegal tag %d (wire type %d)", fieldNum, wire)
  41814. }
  41815. switch fieldNum {
  41816. case 1:
  41817. if wireType != 2 {
  41818. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  41819. }
  41820. var msglen int
  41821. for shift := uint(0); ; shift += 7 {
  41822. if shift >= 64 {
  41823. return ErrIntOverflowGenerated
  41824. }
  41825. if iNdEx >= l {
  41826. return io.ErrUnexpectedEOF
  41827. }
  41828. b := dAtA[iNdEx]
  41829. iNdEx++
  41830. msglen |= (int(b) & 0x7F) << shift
  41831. if b < 0x80 {
  41832. break
  41833. }
  41834. }
  41835. if msglen < 0 {
  41836. return ErrInvalidLengthGenerated
  41837. }
  41838. postIndex := iNdEx + msglen
  41839. if postIndex > l {
  41840. return io.ErrUnexpectedEOF
  41841. }
  41842. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41843. return err
  41844. }
  41845. iNdEx = postIndex
  41846. case 2:
  41847. if wireType != 2 {
  41848. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  41849. }
  41850. var msglen int
  41851. for shift := uint(0); ; shift += 7 {
  41852. if shift >= 64 {
  41853. return ErrIntOverflowGenerated
  41854. }
  41855. if iNdEx >= l {
  41856. return io.ErrUnexpectedEOF
  41857. }
  41858. b := dAtA[iNdEx]
  41859. iNdEx++
  41860. msglen |= (int(b) & 0x7F) << shift
  41861. if b < 0x80 {
  41862. break
  41863. }
  41864. }
  41865. if msglen < 0 {
  41866. return ErrInvalidLengthGenerated
  41867. }
  41868. postIndex := iNdEx + msglen
  41869. if postIndex > l {
  41870. return io.ErrUnexpectedEOF
  41871. }
  41872. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41873. return err
  41874. }
  41875. iNdEx = postIndex
  41876. case 3:
  41877. if wireType != 2 {
  41878. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  41879. }
  41880. var msglen int
  41881. for shift := uint(0); ; shift += 7 {
  41882. if shift >= 64 {
  41883. return ErrIntOverflowGenerated
  41884. }
  41885. if iNdEx >= l {
  41886. return io.ErrUnexpectedEOF
  41887. }
  41888. b := dAtA[iNdEx]
  41889. iNdEx++
  41890. msglen |= (int(b) & 0x7F) << shift
  41891. if b < 0x80 {
  41892. break
  41893. }
  41894. }
  41895. if msglen < 0 {
  41896. return ErrInvalidLengthGenerated
  41897. }
  41898. postIndex := iNdEx + msglen
  41899. if postIndex > l {
  41900. return io.ErrUnexpectedEOF
  41901. }
  41902. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41903. return err
  41904. }
  41905. iNdEx = postIndex
  41906. default:
  41907. iNdEx = preIndex
  41908. skippy, err := skipGenerated(dAtA[iNdEx:])
  41909. if err != nil {
  41910. return err
  41911. }
  41912. if skippy < 0 {
  41913. return ErrInvalidLengthGenerated
  41914. }
  41915. if (iNdEx + skippy) > l {
  41916. return io.ErrUnexpectedEOF
  41917. }
  41918. iNdEx += skippy
  41919. }
  41920. }
  41921. if iNdEx > l {
  41922. return io.ErrUnexpectedEOF
  41923. }
  41924. return nil
  41925. }
  41926. func (m *ReplicationControllerCondition) Unmarshal(dAtA []byte) error {
  41927. l := len(dAtA)
  41928. iNdEx := 0
  41929. for iNdEx < l {
  41930. preIndex := iNdEx
  41931. var wire uint64
  41932. for shift := uint(0); ; shift += 7 {
  41933. if shift >= 64 {
  41934. return ErrIntOverflowGenerated
  41935. }
  41936. if iNdEx >= l {
  41937. return io.ErrUnexpectedEOF
  41938. }
  41939. b := dAtA[iNdEx]
  41940. iNdEx++
  41941. wire |= (uint64(b) & 0x7F) << shift
  41942. if b < 0x80 {
  41943. break
  41944. }
  41945. }
  41946. fieldNum := int32(wire >> 3)
  41947. wireType := int(wire & 0x7)
  41948. if wireType == 4 {
  41949. return fmt.Errorf("proto: ReplicationControllerCondition: wiretype end group for non-group")
  41950. }
  41951. if fieldNum <= 0 {
  41952. return fmt.Errorf("proto: ReplicationControllerCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  41953. }
  41954. switch fieldNum {
  41955. case 1:
  41956. if wireType != 2 {
  41957. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  41958. }
  41959. var stringLen uint64
  41960. for shift := uint(0); ; shift += 7 {
  41961. if shift >= 64 {
  41962. return ErrIntOverflowGenerated
  41963. }
  41964. if iNdEx >= l {
  41965. return io.ErrUnexpectedEOF
  41966. }
  41967. b := dAtA[iNdEx]
  41968. iNdEx++
  41969. stringLen |= (uint64(b) & 0x7F) << shift
  41970. if b < 0x80 {
  41971. break
  41972. }
  41973. }
  41974. intStringLen := int(stringLen)
  41975. if intStringLen < 0 {
  41976. return ErrInvalidLengthGenerated
  41977. }
  41978. postIndex := iNdEx + intStringLen
  41979. if postIndex > l {
  41980. return io.ErrUnexpectedEOF
  41981. }
  41982. m.Type = ReplicationControllerConditionType(dAtA[iNdEx:postIndex])
  41983. iNdEx = postIndex
  41984. case 2:
  41985. if wireType != 2 {
  41986. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  41987. }
  41988. var stringLen uint64
  41989. for shift := uint(0); ; shift += 7 {
  41990. if shift >= 64 {
  41991. return ErrIntOverflowGenerated
  41992. }
  41993. if iNdEx >= l {
  41994. return io.ErrUnexpectedEOF
  41995. }
  41996. b := dAtA[iNdEx]
  41997. iNdEx++
  41998. stringLen |= (uint64(b) & 0x7F) << shift
  41999. if b < 0x80 {
  42000. break
  42001. }
  42002. }
  42003. intStringLen := int(stringLen)
  42004. if intStringLen < 0 {
  42005. return ErrInvalidLengthGenerated
  42006. }
  42007. postIndex := iNdEx + intStringLen
  42008. if postIndex > l {
  42009. return io.ErrUnexpectedEOF
  42010. }
  42011. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  42012. iNdEx = postIndex
  42013. case 3:
  42014. if wireType != 2 {
  42015. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  42016. }
  42017. var msglen int
  42018. for shift := uint(0); ; shift += 7 {
  42019. if shift >= 64 {
  42020. return ErrIntOverflowGenerated
  42021. }
  42022. if iNdEx >= l {
  42023. return io.ErrUnexpectedEOF
  42024. }
  42025. b := dAtA[iNdEx]
  42026. iNdEx++
  42027. msglen |= (int(b) & 0x7F) << shift
  42028. if b < 0x80 {
  42029. break
  42030. }
  42031. }
  42032. if msglen < 0 {
  42033. return ErrInvalidLengthGenerated
  42034. }
  42035. postIndex := iNdEx + msglen
  42036. if postIndex > l {
  42037. return io.ErrUnexpectedEOF
  42038. }
  42039. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42040. return err
  42041. }
  42042. iNdEx = postIndex
  42043. case 4:
  42044. if wireType != 2 {
  42045. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  42046. }
  42047. var stringLen uint64
  42048. for shift := uint(0); ; shift += 7 {
  42049. if shift >= 64 {
  42050. return ErrIntOverflowGenerated
  42051. }
  42052. if iNdEx >= l {
  42053. return io.ErrUnexpectedEOF
  42054. }
  42055. b := dAtA[iNdEx]
  42056. iNdEx++
  42057. stringLen |= (uint64(b) & 0x7F) << shift
  42058. if b < 0x80 {
  42059. break
  42060. }
  42061. }
  42062. intStringLen := int(stringLen)
  42063. if intStringLen < 0 {
  42064. return ErrInvalidLengthGenerated
  42065. }
  42066. postIndex := iNdEx + intStringLen
  42067. if postIndex > l {
  42068. return io.ErrUnexpectedEOF
  42069. }
  42070. m.Reason = string(dAtA[iNdEx:postIndex])
  42071. iNdEx = postIndex
  42072. case 5:
  42073. if wireType != 2 {
  42074. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  42075. }
  42076. var stringLen uint64
  42077. for shift := uint(0); ; shift += 7 {
  42078. if shift >= 64 {
  42079. return ErrIntOverflowGenerated
  42080. }
  42081. if iNdEx >= l {
  42082. return io.ErrUnexpectedEOF
  42083. }
  42084. b := dAtA[iNdEx]
  42085. iNdEx++
  42086. stringLen |= (uint64(b) & 0x7F) << shift
  42087. if b < 0x80 {
  42088. break
  42089. }
  42090. }
  42091. intStringLen := int(stringLen)
  42092. if intStringLen < 0 {
  42093. return ErrInvalidLengthGenerated
  42094. }
  42095. postIndex := iNdEx + intStringLen
  42096. if postIndex > l {
  42097. return io.ErrUnexpectedEOF
  42098. }
  42099. m.Message = string(dAtA[iNdEx:postIndex])
  42100. iNdEx = postIndex
  42101. default:
  42102. iNdEx = preIndex
  42103. skippy, err := skipGenerated(dAtA[iNdEx:])
  42104. if err != nil {
  42105. return err
  42106. }
  42107. if skippy < 0 {
  42108. return ErrInvalidLengthGenerated
  42109. }
  42110. if (iNdEx + skippy) > l {
  42111. return io.ErrUnexpectedEOF
  42112. }
  42113. iNdEx += skippy
  42114. }
  42115. }
  42116. if iNdEx > l {
  42117. return io.ErrUnexpectedEOF
  42118. }
  42119. return nil
  42120. }
  42121. func (m *ReplicationControllerList) Unmarshal(dAtA []byte) error {
  42122. l := len(dAtA)
  42123. iNdEx := 0
  42124. for iNdEx < l {
  42125. preIndex := iNdEx
  42126. var wire uint64
  42127. for shift := uint(0); ; shift += 7 {
  42128. if shift >= 64 {
  42129. return ErrIntOverflowGenerated
  42130. }
  42131. if iNdEx >= l {
  42132. return io.ErrUnexpectedEOF
  42133. }
  42134. b := dAtA[iNdEx]
  42135. iNdEx++
  42136. wire |= (uint64(b) & 0x7F) << shift
  42137. if b < 0x80 {
  42138. break
  42139. }
  42140. }
  42141. fieldNum := int32(wire >> 3)
  42142. wireType := int(wire & 0x7)
  42143. if wireType == 4 {
  42144. return fmt.Errorf("proto: ReplicationControllerList: wiretype end group for non-group")
  42145. }
  42146. if fieldNum <= 0 {
  42147. return fmt.Errorf("proto: ReplicationControllerList: illegal tag %d (wire type %d)", fieldNum, wire)
  42148. }
  42149. switch fieldNum {
  42150. case 1:
  42151. if wireType != 2 {
  42152. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  42153. }
  42154. var msglen int
  42155. for shift := uint(0); ; shift += 7 {
  42156. if shift >= 64 {
  42157. return ErrIntOverflowGenerated
  42158. }
  42159. if iNdEx >= l {
  42160. return io.ErrUnexpectedEOF
  42161. }
  42162. b := dAtA[iNdEx]
  42163. iNdEx++
  42164. msglen |= (int(b) & 0x7F) << shift
  42165. if b < 0x80 {
  42166. break
  42167. }
  42168. }
  42169. if msglen < 0 {
  42170. return ErrInvalidLengthGenerated
  42171. }
  42172. postIndex := iNdEx + msglen
  42173. if postIndex > l {
  42174. return io.ErrUnexpectedEOF
  42175. }
  42176. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42177. return err
  42178. }
  42179. iNdEx = postIndex
  42180. case 2:
  42181. if wireType != 2 {
  42182. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  42183. }
  42184. var msglen int
  42185. for shift := uint(0); ; shift += 7 {
  42186. if shift >= 64 {
  42187. return ErrIntOverflowGenerated
  42188. }
  42189. if iNdEx >= l {
  42190. return io.ErrUnexpectedEOF
  42191. }
  42192. b := dAtA[iNdEx]
  42193. iNdEx++
  42194. msglen |= (int(b) & 0x7F) << shift
  42195. if b < 0x80 {
  42196. break
  42197. }
  42198. }
  42199. if msglen < 0 {
  42200. return ErrInvalidLengthGenerated
  42201. }
  42202. postIndex := iNdEx + msglen
  42203. if postIndex > l {
  42204. return io.ErrUnexpectedEOF
  42205. }
  42206. m.Items = append(m.Items, ReplicationController{})
  42207. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42208. return err
  42209. }
  42210. iNdEx = postIndex
  42211. default:
  42212. iNdEx = preIndex
  42213. skippy, err := skipGenerated(dAtA[iNdEx:])
  42214. if err != nil {
  42215. return err
  42216. }
  42217. if skippy < 0 {
  42218. return ErrInvalidLengthGenerated
  42219. }
  42220. if (iNdEx + skippy) > l {
  42221. return io.ErrUnexpectedEOF
  42222. }
  42223. iNdEx += skippy
  42224. }
  42225. }
  42226. if iNdEx > l {
  42227. return io.ErrUnexpectedEOF
  42228. }
  42229. return nil
  42230. }
  42231. func (m *ReplicationControllerSpec) Unmarshal(dAtA []byte) error {
  42232. l := len(dAtA)
  42233. iNdEx := 0
  42234. for iNdEx < l {
  42235. preIndex := iNdEx
  42236. var wire uint64
  42237. for shift := uint(0); ; shift += 7 {
  42238. if shift >= 64 {
  42239. return ErrIntOverflowGenerated
  42240. }
  42241. if iNdEx >= l {
  42242. return io.ErrUnexpectedEOF
  42243. }
  42244. b := dAtA[iNdEx]
  42245. iNdEx++
  42246. wire |= (uint64(b) & 0x7F) << shift
  42247. if b < 0x80 {
  42248. break
  42249. }
  42250. }
  42251. fieldNum := int32(wire >> 3)
  42252. wireType := int(wire & 0x7)
  42253. if wireType == 4 {
  42254. return fmt.Errorf("proto: ReplicationControllerSpec: wiretype end group for non-group")
  42255. }
  42256. if fieldNum <= 0 {
  42257. return fmt.Errorf("proto: ReplicationControllerSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  42258. }
  42259. switch fieldNum {
  42260. case 1:
  42261. if wireType != 0 {
  42262. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  42263. }
  42264. var v int32
  42265. for shift := uint(0); ; shift += 7 {
  42266. if shift >= 64 {
  42267. return ErrIntOverflowGenerated
  42268. }
  42269. if iNdEx >= l {
  42270. return io.ErrUnexpectedEOF
  42271. }
  42272. b := dAtA[iNdEx]
  42273. iNdEx++
  42274. v |= (int32(b) & 0x7F) << shift
  42275. if b < 0x80 {
  42276. break
  42277. }
  42278. }
  42279. m.Replicas = &v
  42280. case 2:
  42281. if wireType != 2 {
  42282. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  42283. }
  42284. var msglen int
  42285. for shift := uint(0); ; shift += 7 {
  42286. if shift >= 64 {
  42287. return ErrIntOverflowGenerated
  42288. }
  42289. if iNdEx >= l {
  42290. return io.ErrUnexpectedEOF
  42291. }
  42292. b := dAtA[iNdEx]
  42293. iNdEx++
  42294. msglen |= (int(b) & 0x7F) << shift
  42295. if b < 0x80 {
  42296. break
  42297. }
  42298. }
  42299. if msglen < 0 {
  42300. return ErrInvalidLengthGenerated
  42301. }
  42302. postIndex := iNdEx + msglen
  42303. if postIndex > l {
  42304. return io.ErrUnexpectedEOF
  42305. }
  42306. if m.Selector == nil {
  42307. m.Selector = make(map[string]string)
  42308. }
  42309. var mapkey string
  42310. var mapvalue string
  42311. for iNdEx < postIndex {
  42312. entryPreIndex := iNdEx
  42313. var wire uint64
  42314. for shift := uint(0); ; shift += 7 {
  42315. if shift >= 64 {
  42316. return ErrIntOverflowGenerated
  42317. }
  42318. if iNdEx >= l {
  42319. return io.ErrUnexpectedEOF
  42320. }
  42321. b := dAtA[iNdEx]
  42322. iNdEx++
  42323. wire |= (uint64(b) & 0x7F) << shift
  42324. if b < 0x80 {
  42325. break
  42326. }
  42327. }
  42328. fieldNum := int32(wire >> 3)
  42329. if fieldNum == 1 {
  42330. var stringLenmapkey uint64
  42331. for shift := uint(0); ; shift += 7 {
  42332. if shift >= 64 {
  42333. return ErrIntOverflowGenerated
  42334. }
  42335. if iNdEx >= l {
  42336. return io.ErrUnexpectedEOF
  42337. }
  42338. b := dAtA[iNdEx]
  42339. iNdEx++
  42340. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  42341. if b < 0x80 {
  42342. break
  42343. }
  42344. }
  42345. intStringLenmapkey := int(stringLenmapkey)
  42346. if intStringLenmapkey < 0 {
  42347. return ErrInvalidLengthGenerated
  42348. }
  42349. postStringIndexmapkey := iNdEx + intStringLenmapkey
  42350. if postStringIndexmapkey > l {
  42351. return io.ErrUnexpectedEOF
  42352. }
  42353. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  42354. iNdEx = postStringIndexmapkey
  42355. } else if fieldNum == 2 {
  42356. var stringLenmapvalue uint64
  42357. for shift := uint(0); ; shift += 7 {
  42358. if shift >= 64 {
  42359. return ErrIntOverflowGenerated
  42360. }
  42361. if iNdEx >= l {
  42362. return io.ErrUnexpectedEOF
  42363. }
  42364. b := dAtA[iNdEx]
  42365. iNdEx++
  42366. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  42367. if b < 0x80 {
  42368. break
  42369. }
  42370. }
  42371. intStringLenmapvalue := int(stringLenmapvalue)
  42372. if intStringLenmapvalue < 0 {
  42373. return ErrInvalidLengthGenerated
  42374. }
  42375. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  42376. if postStringIndexmapvalue > l {
  42377. return io.ErrUnexpectedEOF
  42378. }
  42379. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  42380. iNdEx = postStringIndexmapvalue
  42381. } else {
  42382. iNdEx = entryPreIndex
  42383. skippy, err := skipGenerated(dAtA[iNdEx:])
  42384. if err != nil {
  42385. return err
  42386. }
  42387. if skippy < 0 {
  42388. return ErrInvalidLengthGenerated
  42389. }
  42390. if (iNdEx + skippy) > postIndex {
  42391. return io.ErrUnexpectedEOF
  42392. }
  42393. iNdEx += skippy
  42394. }
  42395. }
  42396. m.Selector[mapkey] = mapvalue
  42397. iNdEx = postIndex
  42398. case 3:
  42399. if wireType != 2 {
  42400. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  42401. }
  42402. var msglen int
  42403. for shift := uint(0); ; shift += 7 {
  42404. if shift >= 64 {
  42405. return ErrIntOverflowGenerated
  42406. }
  42407. if iNdEx >= l {
  42408. return io.ErrUnexpectedEOF
  42409. }
  42410. b := dAtA[iNdEx]
  42411. iNdEx++
  42412. msglen |= (int(b) & 0x7F) << shift
  42413. if b < 0x80 {
  42414. break
  42415. }
  42416. }
  42417. if msglen < 0 {
  42418. return ErrInvalidLengthGenerated
  42419. }
  42420. postIndex := iNdEx + msglen
  42421. if postIndex > l {
  42422. return io.ErrUnexpectedEOF
  42423. }
  42424. if m.Template == nil {
  42425. m.Template = &PodTemplateSpec{}
  42426. }
  42427. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42428. return err
  42429. }
  42430. iNdEx = postIndex
  42431. case 4:
  42432. if wireType != 0 {
  42433. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  42434. }
  42435. m.MinReadySeconds = 0
  42436. for shift := uint(0); ; shift += 7 {
  42437. if shift >= 64 {
  42438. return ErrIntOverflowGenerated
  42439. }
  42440. if iNdEx >= l {
  42441. return io.ErrUnexpectedEOF
  42442. }
  42443. b := dAtA[iNdEx]
  42444. iNdEx++
  42445. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  42446. if b < 0x80 {
  42447. break
  42448. }
  42449. }
  42450. default:
  42451. iNdEx = preIndex
  42452. skippy, err := skipGenerated(dAtA[iNdEx:])
  42453. if err != nil {
  42454. return err
  42455. }
  42456. if skippy < 0 {
  42457. return ErrInvalidLengthGenerated
  42458. }
  42459. if (iNdEx + skippy) > l {
  42460. return io.ErrUnexpectedEOF
  42461. }
  42462. iNdEx += skippy
  42463. }
  42464. }
  42465. if iNdEx > l {
  42466. return io.ErrUnexpectedEOF
  42467. }
  42468. return nil
  42469. }
  42470. func (m *ReplicationControllerStatus) Unmarshal(dAtA []byte) error {
  42471. l := len(dAtA)
  42472. iNdEx := 0
  42473. for iNdEx < l {
  42474. preIndex := iNdEx
  42475. var wire uint64
  42476. for shift := uint(0); ; shift += 7 {
  42477. if shift >= 64 {
  42478. return ErrIntOverflowGenerated
  42479. }
  42480. if iNdEx >= l {
  42481. return io.ErrUnexpectedEOF
  42482. }
  42483. b := dAtA[iNdEx]
  42484. iNdEx++
  42485. wire |= (uint64(b) & 0x7F) << shift
  42486. if b < 0x80 {
  42487. break
  42488. }
  42489. }
  42490. fieldNum := int32(wire >> 3)
  42491. wireType := int(wire & 0x7)
  42492. if wireType == 4 {
  42493. return fmt.Errorf("proto: ReplicationControllerStatus: wiretype end group for non-group")
  42494. }
  42495. if fieldNum <= 0 {
  42496. return fmt.Errorf("proto: ReplicationControllerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  42497. }
  42498. switch fieldNum {
  42499. case 1:
  42500. if wireType != 0 {
  42501. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  42502. }
  42503. m.Replicas = 0
  42504. for shift := uint(0); ; shift += 7 {
  42505. if shift >= 64 {
  42506. return ErrIntOverflowGenerated
  42507. }
  42508. if iNdEx >= l {
  42509. return io.ErrUnexpectedEOF
  42510. }
  42511. b := dAtA[iNdEx]
  42512. iNdEx++
  42513. m.Replicas |= (int32(b) & 0x7F) << shift
  42514. if b < 0x80 {
  42515. break
  42516. }
  42517. }
  42518. case 2:
  42519. if wireType != 0 {
  42520. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  42521. }
  42522. m.FullyLabeledReplicas = 0
  42523. for shift := uint(0); ; shift += 7 {
  42524. if shift >= 64 {
  42525. return ErrIntOverflowGenerated
  42526. }
  42527. if iNdEx >= l {
  42528. return io.ErrUnexpectedEOF
  42529. }
  42530. b := dAtA[iNdEx]
  42531. iNdEx++
  42532. m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
  42533. if b < 0x80 {
  42534. break
  42535. }
  42536. }
  42537. case 3:
  42538. if wireType != 0 {
  42539. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  42540. }
  42541. m.ObservedGeneration = 0
  42542. for shift := uint(0); ; shift += 7 {
  42543. if shift >= 64 {
  42544. return ErrIntOverflowGenerated
  42545. }
  42546. if iNdEx >= l {
  42547. return io.ErrUnexpectedEOF
  42548. }
  42549. b := dAtA[iNdEx]
  42550. iNdEx++
  42551. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  42552. if b < 0x80 {
  42553. break
  42554. }
  42555. }
  42556. case 4:
  42557. if wireType != 0 {
  42558. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  42559. }
  42560. m.ReadyReplicas = 0
  42561. for shift := uint(0); ; shift += 7 {
  42562. if shift >= 64 {
  42563. return ErrIntOverflowGenerated
  42564. }
  42565. if iNdEx >= l {
  42566. return io.ErrUnexpectedEOF
  42567. }
  42568. b := dAtA[iNdEx]
  42569. iNdEx++
  42570. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  42571. if b < 0x80 {
  42572. break
  42573. }
  42574. }
  42575. case 5:
  42576. if wireType != 0 {
  42577. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  42578. }
  42579. m.AvailableReplicas = 0
  42580. for shift := uint(0); ; shift += 7 {
  42581. if shift >= 64 {
  42582. return ErrIntOverflowGenerated
  42583. }
  42584. if iNdEx >= l {
  42585. return io.ErrUnexpectedEOF
  42586. }
  42587. b := dAtA[iNdEx]
  42588. iNdEx++
  42589. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  42590. if b < 0x80 {
  42591. break
  42592. }
  42593. }
  42594. case 6:
  42595. if wireType != 2 {
  42596. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  42597. }
  42598. var msglen int
  42599. for shift := uint(0); ; shift += 7 {
  42600. if shift >= 64 {
  42601. return ErrIntOverflowGenerated
  42602. }
  42603. if iNdEx >= l {
  42604. return io.ErrUnexpectedEOF
  42605. }
  42606. b := dAtA[iNdEx]
  42607. iNdEx++
  42608. msglen |= (int(b) & 0x7F) << shift
  42609. if b < 0x80 {
  42610. break
  42611. }
  42612. }
  42613. if msglen < 0 {
  42614. return ErrInvalidLengthGenerated
  42615. }
  42616. postIndex := iNdEx + msglen
  42617. if postIndex > l {
  42618. return io.ErrUnexpectedEOF
  42619. }
  42620. m.Conditions = append(m.Conditions, ReplicationControllerCondition{})
  42621. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42622. return err
  42623. }
  42624. iNdEx = postIndex
  42625. default:
  42626. iNdEx = preIndex
  42627. skippy, err := skipGenerated(dAtA[iNdEx:])
  42628. if err != nil {
  42629. return err
  42630. }
  42631. if skippy < 0 {
  42632. return ErrInvalidLengthGenerated
  42633. }
  42634. if (iNdEx + skippy) > l {
  42635. return io.ErrUnexpectedEOF
  42636. }
  42637. iNdEx += skippy
  42638. }
  42639. }
  42640. if iNdEx > l {
  42641. return io.ErrUnexpectedEOF
  42642. }
  42643. return nil
  42644. }
  42645. func (m *ResourceFieldSelector) Unmarshal(dAtA []byte) error {
  42646. l := len(dAtA)
  42647. iNdEx := 0
  42648. for iNdEx < l {
  42649. preIndex := iNdEx
  42650. var wire uint64
  42651. for shift := uint(0); ; shift += 7 {
  42652. if shift >= 64 {
  42653. return ErrIntOverflowGenerated
  42654. }
  42655. if iNdEx >= l {
  42656. return io.ErrUnexpectedEOF
  42657. }
  42658. b := dAtA[iNdEx]
  42659. iNdEx++
  42660. wire |= (uint64(b) & 0x7F) << shift
  42661. if b < 0x80 {
  42662. break
  42663. }
  42664. }
  42665. fieldNum := int32(wire >> 3)
  42666. wireType := int(wire & 0x7)
  42667. if wireType == 4 {
  42668. return fmt.Errorf("proto: ResourceFieldSelector: wiretype end group for non-group")
  42669. }
  42670. if fieldNum <= 0 {
  42671. return fmt.Errorf("proto: ResourceFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  42672. }
  42673. switch fieldNum {
  42674. case 1:
  42675. if wireType != 2 {
  42676. return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType)
  42677. }
  42678. var stringLen uint64
  42679. for shift := uint(0); ; shift += 7 {
  42680. if shift >= 64 {
  42681. return ErrIntOverflowGenerated
  42682. }
  42683. if iNdEx >= l {
  42684. return io.ErrUnexpectedEOF
  42685. }
  42686. b := dAtA[iNdEx]
  42687. iNdEx++
  42688. stringLen |= (uint64(b) & 0x7F) << shift
  42689. if b < 0x80 {
  42690. break
  42691. }
  42692. }
  42693. intStringLen := int(stringLen)
  42694. if intStringLen < 0 {
  42695. return ErrInvalidLengthGenerated
  42696. }
  42697. postIndex := iNdEx + intStringLen
  42698. if postIndex > l {
  42699. return io.ErrUnexpectedEOF
  42700. }
  42701. m.ContainerName = string(dAtA[iNdEx:postIndex])
  42702. iNdEx = postIndex
  42703. case 2:
  42704. if wireType != 2 {
  42705. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  42706. }
  42707. var stringLen uint64
  42708. for shift := uint(0); ; shift += 7 {
  42709. if shift >= 64 {
  42710. return ErrIntOverflowGenerated
  42711. }
  42712. if iNdEx >= l {
  42713. return io.ErrUnexpectedEOF
  42714. }
  42715. b := dAtA[iNdEx]
  42716. iNdEx++
  42717. stringLen |= (uint64(b) & 0x7F) << shift
  42718. if b < 0x80 {
  42719. break
  42720. }
  42721. }
  42722. intStringLen := int(stringLen)
  42723. if intStringLen < 0 {
  42724. return ErrInvalidLengthGenerated
  42725. }
  42726. postIndex := iNdEx + intStringLen
  42727. if postIndex > l {
  42728. return io.ErrUnexpectedEOF
  42729. }
  42730. m.Resource = string(dAtA[iNdEx:postIndex])
  42731. iNdEx = postIndex
  42732. case 3:
  42733. if wireType != 2 {
  42734. return fmt.Errorf("proto: wrong wireType = %d for field Divisor", wireType)
  42735. }
  42736. var msglen int
  42737. for shift := uint(0); ; shift += 7 {
  42738. if shift >= 64 {
  42739. return ErrIntOverflowGenerated
  42740. }
  42741. if iNdEx >= l {
  42742. return io.ErrUnexpectedEOF
  42743. }
  42744. b := dAtA[iNdEx]
  42745. iNdEx++
  42746. msglen |= (int(b) & 0x7F) << shift
  42747. if b < 0x80 {
  42748. break
  42749. }
  42750. }
  42751. if msglen < 0 {
  42752. return ErrInvalidLengthGenerated
  42753. }
  42754. postIndex := iNdEx + msglen
  42755. if postIndex > l {
  42756. return io.ErrUnexpectedEOF
  42757. }
  42758. if err := m.Divisor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42759. return err
  42760. }
  42761. iNdEx = postIndex
  42762. default:
  42763. iNdEx = preIndex
  42764. skippy, err := skipGenerated(dAtA[iNdEx:])
  42765. if err != nil {
  42766. return err
  42767. }
  42768. if skippy < 0 {
  42769. return ErrInvalidLengthGenerated
  42770. }
  42771. if (iNdEx + skippy) > l {
  42772. return io.ErrUnexpectedEOF
  42773. }
  42774. iNdEx += skippy
  42775. }
  42776. }
  42777. if iNdEx > l {
  42778. return io.ErrUnexpectedEOF
  42779. }
  42780. return nil
  42781. }
  42782. func (m *ResourceQuota) Unmarshal(dAtA []byte) error {
  42783. l := len(dAtA)
  42784. iNdEx := 0
  42785. for iNdEx < l {
  42786. preIndex := iNdEx
  42787. var wire uint64
  42788. for shift := uint(0); ; shift += 7 {
  42789. if shift >= 64 {
  42790. return ErrIntOverflowGenerated
  42791. }
  42792. if iNdEx >= l {
  42793. return io.ErrUnexpectedEOF
  42794. }
  42795. b := dAtA[iNdEx]
  42796. iNdEx++
  42797. wire |= (uint64(b) & 0x7F) << shift
  42798. if b < 0x80 {
  42799. break
  42800. }
  42801. }
  42802. fieldNum := int32(wire >> 3)
  42803. wireType := int(wire & 0x7)
  42804. if wireType == 4 {
  42805. return fmt.Errorf("proto: ResourceQuota: wiretype end group for non-group")
  42806. }
  42807. if fieldNum <= 0 {
  42808. return fmt.Errorf("proto: ResourceQuota: illegal tag %d (wire type %d)", fieldNum, wire)
  42809. }
  42810. switch fieldNum {
  42811. case 1:
  42812. if wireType != 2 {
  42813. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  42814. }
  42815. var msglen int
  42816. for shift := uint(0); ; shift += 7 {
  42817. if shift >= 64 {
  42818. return ErrIntOverflowGenerated
  42819. }
  42820. if iNdEx >= l {
  42821. return io.ErrUnexpectedEOF
  42822. }
  42823. b := dAtA[iNdEx]
  42824. iNdEx++
  42825. msglen |= (int(b) & 0x7F) << shift
  42826. if b < 0x80 {
  42827. break
  42828. }
  42829. }
  42830. if msglen < 0 {
  42831. return ErrInvalidLengthGenerated
  42832. }
  42833. postIndex := iNdEx + msglen
  42834. if postIndex > l {
  42835. return io.ErrUnexpectedEOF
  42836. }
  42837. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42838. return err
  42839. }
  42840. iNdEx = postIndex
  42841. case 2:
  42842. if wireType != 2 {
  42843. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  42844. }
  42845. var msglen int
  42846. for shift := uint(0); ; shift += 7 {
  42847. if shift >= 64 {
  42848. return ErrIntOverflowGenerated
  42849. }
  42850. if iNdEx >= l {
  42851. return io.ErrUnexpectedEOF
  42852. }
  42853. b := dAtA[iNdEx]
  42854. iNdEx++
  42855. msglen |= (int(b) & 0x7F) << shift
  42856. if b < 0x80 {
  42857. break
  42858. }
  42859. }
  42860. if msglen < 0 {
  42861. return ErrInvalidLengthGenerated
  42862. }
  42863. postIndex := iNdEx + msglen
  42864. if postIndex > l {
  42865. return io.ErrUnexpectedEOF
  42866. }
  42867. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42868. return err
  42869. }
  42870. iNdEx = postIndex
  42871. case 3:
  42872. if wireType != 2 {
  42873. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  42874. }
  42875. var msglen int
  42876. for shift := uint(0); ; shift += 7 {
  42877. if shift >= 64 {
  42878. return ErrIntOverflowGenerated
  42879. }
  42880. if iNdEx >= l {
  42881. return io.ErrUnexpectedEOF
  42882. }
  42883. b := dAtA[iNdEx]
  42884. iNdEx++
  42885. msglen |= (int(b) & 0x7F) << shift
  42886. if b < 0x80 {
  42887. break
  42888. }
  42889. }
  42890. if msglen < 0 {
  42891. return ErrInvalidLengthGenerated
  42892. }
  42893. postIndex := iNdEx + msglen
  42894. if postIndex > l {
  42895. return io.ErrUnexpectedEOF
  42896. }
  42897. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42898. return err
  42899. }
  42900. iNdEx = postIndex
  42901. default:
  42902. iNdEx = preIndex
  42903. skippy, err := skipGenerated(dAtA[iNdEx:])
  42904. if err != nil {
  42905. return err
  42906. }
  42907. if skippy < 0 {
  42908. return ErrInvalidLengthGenerated
  42909. }
  42910. if (iNdEx + skippy) > l {
  42911. return io.ErrUnexpectedEOF
  42912. }
  42913. iNdEx += skippy
  42914. }
  42915. }
  42916. if iNdEx > l {
  42917. return io.ErrUnexpectedEOF
  42918. }
  42919. return nil
  42920. }
  42921. func (m *ResourceQuotaList) Unmarshal(dAtA []byte) error {
  42922. l := len(dAtA)
  42923. iNdEx := 0
  42924. for iNdEx < l {
  42925. preIndex := iNdEx
  42926. var wire uint64
  42927. for shift := uint(0); ; shift += 7 {
  42928. if shift >= 64 {
  42929. return ErrIntOverflowGenerated
  42930. }
  42931. if iNdEx >= l {
  42932. return io.ErrUnexpectedEOF
  42933. }
  42934. b := dAtA[iNdEx]
  42935. iNdEx++
  42936. wire |= (uint64(b) & 0x7F) << shift
  42937. if b < 0x80 {
  42938. break
  42939. }
  42940. }
  42941. fieldNum := int32(wire >> 3)
  42942. wireType := int(wire & 0x7)
  42943. if wireType == 4 {
  42944. return fmt.Errorf("proto: ResourceQuotaList: wiretype end group for non-group")
  42945. }
  42946. if fieldNum <= 0 {
  42947. return fmt.Errorf("proto: ResourceQuotaList: illegal tag %d (wire type %d)", fieldNum, wire)
  42948. }
  42949. switch fieldNum {
  42950. case 1:
  42951. if wireType != 2 {
  42952. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  42953. }
  42954. var msglen int
  42955. for shift := uint(0); ; shift += 7 {
  42956. if shift >= 64 {
  42957. return ErrIntOverflowGenerated
  42958. }
  42959. if iNdEx >= l {
  42960. return io.ErrUnexpectedEOF
  42961. }
  42962. b := dAtA[iNdEx]
  42963. iNdEx++
  42964. msglen |= (int(b) & 0x7F) << shift
  42965. if b < 0x80 {
  42966. break
  42967. }
  42968. }
  42969. if msglen < 0 {
  42970. return ErrInvalidLengthGenerated
  42971. }
  42972. postIndex := iNdEx + msglen
  42973. if postIndex > l {
  42974. return io.ErrUnexpectedEOF
  42975. }
  42976. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42977. return err
  42978. }
  42979. iNdEx = postIndex
  42980. case 2:
  42981. if wireType != 2 {
  42982. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  42983. }
  42984. var msglen int
  42985. for shift := uint(0); ; shift += 7 {
  42986. if shift >= 64 {
  42987. return ErrIntOverflowGenerated
  42988. }
  42989. if iNdEx >= l {
  42990. return io.ErrUnexpectedEOF
  42991. }
  42992. b := dAtA[iNdEx]
  42993. iNdEx++
  42994. msglen |= (int(b) & 0x7F) << shift
  42995. if b < 0x80 {
  42996. break
  42997. }
  42998. }
  42999. if msglen < 0 {
  43000. return ErrInvalidLengthGenerated
  43001. }
  43002. postIndex := iNdEx + msglen
  43003. if postIndex > l {
  43004. return io.ErrUnexpectedEOF
  43005. }
  43006. m.Items = append(m.Items, ResourceQuota{})
  43007. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  43008. return err
  43009. }
  43010. iNdEx = postIndex
  43011. default:
  43012. iNdEx = preIndex
  43013. skippy, err := skipGenerated(dAtA[iNdEx:])
  43014. if err != nil {
  43015. return err
  43016. }
  43017. if skippy < 0 {
  43018. return ErrInvalidLengthGenerated
  43019. }
  43020. if (iNdEx + skippy) > l {
  43021. return io.ErrUnexpectedEOF
  43022. }
  43023. iNdEx += skippy
  43024. }
  43025. }
  43026. if iNdEx > l {
  43027. return io.ErrUnexpectedEOF
  43028. }
  43029. return nil
  43030. }
  43031. func (m *ResourceQuotaSpec) Unmarshal(dAtA []byte) error {
  43032. l := len(dAtA)
  43033. iNdEx := 0
  43034. for iNdEx < l {
  43035. preIndex := iNdEx
  43036. var wire uint64
  43037. for shift := uint(0); ; shift += 7 {
  43038. if shift >= 64 {
  43039. return ErrIntOverflowGenerated
  43040. }
  43041. if iNdEx >= l {
  43042. return io.ErrUnexpectedEOF
  43043. }
  43044. b := dAtA[iNdEx]
  43045. iNdEx++
  43046. wire |= (uint64(b) & 0x7F) << shift
  43047. if b < 0x80 {
  43048. break
  43049. }
  43050. }
  43051. fieldNum := int32(wire >> 3)
  43052. wireType := int(wire & 0x7)
  43053. if wireType == 4 {
  43054. return fmt.Errorf("proto: ResourceQuotaSpec: wiretype end group for non-group")
  43055. }
  43056. if fieldNum <= 0 {
  43057. return fmt.Errorf("proto: ResourceQuotaSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  43058. }
  43059. switch fieldNum {
  43060. case 1:
  43061. if wireType != 2 {
  43062. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  43063. }
  43064. var msglen int
  43065. for shift := uint(0); ; shift += 7 {
  43066. if shift >= 64 {
  43067. return ErrIntOverflowGenerated
  43068. }
  43069. if iNdEx >= l {
  43070. return io.ErrUnexpectedEOF
  43071. }
  43072. b := dAtA[iNdEx]
  43073. iNdEx++
  43074. msglen |= (int(b) & 0x7F) << shift
  43075. if b < 0x80 {
  43076. break
  43077. }
  43078. }
  43079. if msglen < 0 {
  43080. return ErrInvalidLengthGenerated
  43081. }
  43082. postIndex := iNdEx + msglen
  43083. if postIndex > l {
  43084. return io.ErrUnexpectedEOF
  43085. }
  43086. if m.Hard == nil {
  43087. m.Hard = make(ResourceList)
  43088. }
  43089. var mapkey ResourceName
  43090. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43091. for iNdEx < postIndex {
  43092. entryPreIndex := iNdEx
  43093. var wire uint64
  43094. for shift := uint(0); ; shift += 7 {
  43095. if shift >= 64 {
  43096. return ErrIntOverflowGenerated
  43097. }
  43098. if iNdEx >= l {
  43099. return io.ErrUnexpectedEOF
  43100. }
  43101. b := dAtA[iNdEx]
  43102. iNdEx++
  43103. wire |= (uint64(b) & 0x7F) << shift
  43104. if b < 0x80 {
  43105. break
  43106. }
  43107. }
  43108. fieldNum := int32(wire >> 3)
  43109. if fieldNum == 1 {
  43110. var stringLenmapkey uint64
  43111. for shift := uint(0); ; shift += 7 {
  43112. if shift >= 64 {
  43113. return ErrIntOverflowGenerated
  43114. }
  43115. if iNdEx >= l {
  43116. return io.ErrUnexpectedEOF
  43117. }
  43118. b := dAtA[iNdEx]
  43119. iNdEx++
  43120. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  43121. if b < 0x80 {
  43122. break
  43123. }
  43124. }
  43125. intStringLenmapkey := int(stringLenmapkey)
  43126. if intStringLenmapkey < 0 {
  43127. return ErrInvalidLengthGenerated
  43128. }
  43129. postStringIndexmapkey := iNdEx + intStringLenmapkey
  43130. if postStringIndexmapkey > l {
  43131. return io.ErrUnexpectedEOF
  43132. }
  43133. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  43134. iNdEx = postStringIndexmapkey
  43135. } else if fieldNum == 2 {
  43136. var mapmsglen int
  43137. for shift := uint(0); ; shift += 7 {
  43138. if shift >= 64 {
  43139. return ErrIntOverflowGenerated
  43140. }
  43141. if iNdEx >= l {
  43142. return io.ErrUnexpectedEOF
  43143. }
  43144. b := dAtA[iNdEx]
  43145. iNdEx++
  43146. mapmsglen |= (int(b) & 0x7F) << shift
  43147. if b < 0x80 {
  43148. break
  43149. }
  43150. }
  43151. if mapmsglen < 0 {
  43152. return ErrInvalidLengthGenerated
  43153. }
  43154. postmsgIndex := iNdEx + mapmsglen
  43155. if mapmsglen < 0 {
  43156. return ErrInvalidLengthGenerated
  43157. }
  43158. if postmsgIndex > l {
  43159. return io.ErrUnexpectedEOF
  43160. }
  43161. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43162. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  43163. return err
  43164. }
  43165. iNdEx = postmsgIndex
  43166. } else {
  43167. iNdEx = entryPreIndex
  43168. skippy, err := skipGenerated(dAtA[iNdEx:])
  43169. if err != nil {
  43170. return err
  43171. }
  43172. if skippy < 0 {
  43173. return ErrInvalidLengthGenerated
  43174. }
  43175. if (iNdEx + skippy) > postIndex {
  43176. return io.ErrUnexpectedEOF
  43177. }
  43178. iNdEx += skippy
  43179. }
  43180. }
  43181. m.Hard[ResourceName(mapkey)] = *mapvalue
  43182. iNdEx = postIndex
  43183. case 2:
  43184. if wireType != 2 {
  43185. return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
  43186. }
  43187. var stringLen uint64
  43188. for shift := uint(0); ; shift += 7 {
  43189. if shift >= 64 {
  43190. return ErrIntOverflowGenerated
  43191. }
  43192. if iNdEx >= l {
  43193. return io.ErrUnexpectedEOF
  43194. }
  43195. b := dAtA[iNdEx]
  43196. iNdEx++
  43197. stringLen |= (uint64(b) & 0x7F) << shift
  43198. if b < 0x80 {
  43199. break
  43200. }
  43201. }
  43202. intStringLen := int(stringLen)
  43203. if intStringLen < 0 {
  43204. return ErrInvalidLengthGenerated
  43205. }
  43206. postIndex := iNdEx + intStringLen
  43207. if postIndex > l {
  43208. return io.ErrUnexpectedEOF
  43209. }
  43210. m.Scopes = append(m.Scopes, ResourceQuotaScope(dAtA[iNdEx:postIndex]))
  43211. iNdEx = postIndex
  43212. case 3:
  43213. if wireType != 2 {
  43214. return fmt.Errorf("proto: wrong wireType = %d for field ScopeSelector", wireType)
  43215. }
  43216. var msglen int
  43217. for shift := uint(0); ; shift += 7 {
  43218. if shift >= 64 {
  43219. return ErrIntOverflowGenerated
  43220. }
  43221. if iNdEx >= l {
  43222. return io.ErrUnexpectedEOF
  43223. }
  43224. b := dAtA[iNdEx]
  43225. iNdEx++
  43226. msglen |= (int(b) & 0x7F) << shift
  43227. if b < 0x80 {
  43228. break
  43229. }
  43230. }
  43231. if msglen < 0 {
  43232. return ErrInvalidLengthGenerated
  43233. }
  43234. postIndex := iNdEx + msglen
  43235. if postIndex > l {
  43236. return io.ErrUnexpectedEOF
  43237. }
  43238. if m.ScopeSelector == nil {
  43239. m.ScopeSelector = &ScopeSelector{}
  43240. }
  43241. if err := m.ScopeSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  43242. return err
  43243. }
  43244. iNdEx = postIndex
  43245. default:
  43246. iNdEx = preIndex
  43247. skippy, err := skipGenerated(dAtA[iNdEx:])
  43248. if err != nil {
  43249. return err
  43250. }
  43251. if skippy < 0 {
  43252. return ErrInvalidLengthGenerated
  43253. }
  43254. if (iNdEx + skippy) > l {
  43255. return io.ErrUnexpectedEOF
  43256. }
  43257. iNdEx += skippy
  43258. }
  43259. }
  43260. if iNdEx > l {
  43261. return io.ErrUnexpectedEOF
  43262. }
  43263. return nil
  43264. }
  43265. func (m *ResourceQuotaStatus) Unmarshal(dAtA []byte) error {
  43266. l := len(dAtA)
  43267. iNdEx := 0
  43268. for iNdEx < l {
  43269. preIndex := iNdEx
  43270. var wire uint64
  43271. for shift := uint(0); ; shift += 7 {
  43272. if shift >= 64 {
  43273. return ErrIntOverflowGenerated
  43274. }
  43275. if iNdEx >= l {
  43276. return io.ErrUnexpectedEOF
  43277. }
  43278. b := dAtA[iNdEx]
  43279. iNdEx++
  43280. wire |= (uint64(b) & 0x7F) << shift
  43281. if b < 0x80 {
  43282. break
  43283. }
  43284. }
  43285. fieldNum := int32(wire >> 3)
  43286. wireType := int(wire & 0x7)
  43287. if wireType == 4 {
  43288. return fmt.Errorf("proto: ResourceQuotaStatus: wiretype end group for non-group")
  43289. }
  43290. if fieldNum <= 0 {
  43291. return fmt.Errorf("proto: ResourceQuotaStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  43292. }
  43293. switch fieldNum {
  43294. case 1:
  43295. if wireType != 2 {
  43296. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  43297. }
  43298. var msglen int
  43299. for shift := uint(0); ; shift += 7 {
  43300. if shift >= 64 {
  43301. return ErrIntOverflowGenerated
  43302. }
  43303. if iNdEx >= l {
  43304. return io.ErrUnexpectedEOF
  43305. }
  43306. b := dAtA[iNdEx]
  43307. iNdEx++
  43308. msglen |= (int(b) & 0x7F) << shift
  43309. if b < 0x80 {
  43310. break
  43311. }
  43312. }
  43313. if msglen < 0 {
  43314. return ErrInvalidLengthGenerated
  43315. }
  43316. postIndex := iNdEx + msglen
  43317. if postIndex > l {
  43318. return io.ErrUnexpectedEOF
  43319. }
  43320. if m.Hard == nil {
  43321. m.Hard = make(ResourceList)
  43322. }
  43323. var mapkey ResourceName
  43324. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43325. for iNdEx < postIndex {
  43326. entryPreIndex := iNdEx
  43327. var wire uint64
  43328. for shift := uint(0); ; shift += 7 {
  43329. if shift >= 64 {
  43330. return ErrIntOverflowGenerated
  43331. }
  43332. if iNdEx >= l {
  43333. return io.ErrUnexpectedEOF
  43334. }
  43335. b := dAtA[iNdEx]
  43336. iNdEx++
  43337. wire |= (uint64(b) & 0x7F) << shift
  43338. if b < 0x80 {
  43339. break
  43340. }
  43341. }
  43342. fieldNum := int32(wire >> 3)
  43343. if fieldNum == 1 {
  43344. var stringLenmapkey uint64
  43345. for shift := uint(0); ; shift += 7 {
  43346. if shift >= 64 {
  43347. return ErrIntOverflowGenerated
  43348. }
  43349. if iNdEx >= l {
  43350. return io.ErrUnexpectedEOF
  43351. }
  43352. b := dAtA[iNdEx]
  43353. iNdEx++
  43354. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  43355. if b < 0x80 {
  43356. break
  43357. }
  43358. }
  43359. intStringLenmapkey := int(stringLenmapkey)
  43360. if intStringLenmapkey < 0 {
  43361. return ErrInvalidLengthGenerated
  43362. }
  43363. postStringIndexmapkey := iNdEx + intStringLenmapkey
  43364. if postStringIndexmapkey > l {
  43365. return io.ErrUnexpectedEOF
  43366. }
  43367. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  43368. iNdEx = postStringIndexmapkey
  43369. } else if fieldNum == 2 {
  43370. var mapmsglen int
  43371. for shift := uint(0); ; shift += 7 {
  43372. if shift >= 64 {
  43373. return ErrIntOverflowGenerated
  43374. }
  43375. if iNdEx >= l {
  43376. return io.ErrUnexpectedEOF
  43377. }
  43378. b := dAtA[iNdEx]
  43379. iNdEx++
  43380. mapmsglen |= (int(b) & 0x7F) << shift
  43381. if b < 0x80 {
  43382. break
  43383. }
  43384. }
  43385. if mapmsglen < 0 {
  43386. return ErrInvalidLengthGenerated
  43387. }
  43388. postmsgIndex := iNdEx + mapmsglen
  43389. if mapmsglen < 0 {
  43390. return ErrInvalidLengthGenerated
  43391. }
  43392. if postmsgIndex > l {
  43393. return io.ErrUnexpectedEOF
  43394. }
  43395. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43396. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  43397. return err
  43398. }
  43399. iNdEx = postmsgIndex
  43400. } else {
  43401. iNdEx = entryPreIndex
  43402. skippy, err := skipGenerated(dAtA[iNdEx:])
  43403. if err != nil {
  43404. return err
  43405. }
  43406. if skippy < 0 {
  43407. return ErrInvalidLengthGenerated
  43408. }
  43409. if (iNdEx + skippy) > postIndex {
  43410. return io.ErrUnexpectedEOF
  43411. }
  43412. iNdEx += skippy
  43413. }
  43414. }
  43415. m.Hard[ResourceName(mapkey)] = *mapvalue
  43416. iNdEx = postIndex
  43417. case 2:
  43418. if wireType != 2 {
  43419. return fmt.Errorf("proto: wrong wireType = %d for field Used", wireType)
  43420. }
  43421. var msglen int
  43422. for shift := uint(0); ; shift += 7 {
  43423. if shift >= 64 {
  43424. return ErrIntOverflowGenerated
  43425. }
  43426. if iNdEx >= l {
  43427. return io.ErrUnexpectedEOF
  43428. }
  43429. b := dAtA[iNdEx]
  43430. iNdEx++
  43431. msglen |= (int(b) & 0x7F) << shift
  43432. if b < 0x80 {
  43433. break
  43434. }
  43435. }
  43436. if msglen < 0 {
  43437. return ErrInvalidLengthGenerated
  43438. }
  43439. postIndex := iNdEx + msglen
  43440. if postIndex > l {
  43441. return io.ErrUnexpectedEOF
  43442. }
  43443. if m.Used == nil {
  43444. m.Used = make(ResourceList)
  43445. }
  43446. var mapkey ResourceName
  43447. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43448. for iNdEx < postIndex {
  43449. entryPreIndex := iNdEx
  43450. var wire uint64
  43451. for shift := uint(0); ; shift += 7 {
  43452. if shift >= 64 {
  43453. return ErrIntOverflowGenerated
  43454. }
  43455. if iNdEx >= l {
  43456. return io.ErrUnexpectedEOF
  43457. }
  43458. b := dAtA[iNdEx]
  43459. iNdEx++
  43460. wire |= (uint64(b) & 0x7F) << shift
  43461. if b < 0x80 {
  43462. break
  43463. }
  43464. }
  43465. fieldNum := int32(wire >> 3)
  43466. if fieldNum == 1 {
  43467. var stringLenmapkey uint64
  43468. for shift := uint(0); ; shift += 7 {
  43469. if shift >= 64 {
  43470. return ErrIntOverflowGenerated
  43471. }
  43472. if iNdEx >= l {
  43473. return io.ErrUnexpectedEOF
  43474. }
  43475. b := dAtA[iNdEx]
  43476. iNdEx++
  43477. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  43478. if b < 0x80 {
  43479. break
  43480. }
  43481. }
  43482. intStringLenmapkey := int(stringLenmapkey)
  43483. if intStringLenmapkey < 0 {
  43484. return ErrInvalidLengthGenerated
  43485. }
  43486. postStringIndexmapkey := iNdEx + intStringLenmapkey
  43487. if postStringIndexmapkey > l {
  43488. return io.ErrUnexpectedEOF
  43489. }
  43490. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  43491. iNdEx = postStringIndexmapkey
  43492. } else if fieldNum == 2 {
  43493. var mapmsglen int
  43494. for shift := uint(0); ; shift += 7 {
  43495. if shift >= 64 {
  43496. return ErrIntOverflowGenerated
  43497. }
  43498. if iNdEx >= l {
  43499. return io.ErrUnexpectedEOF
  43500. }
  43501. b := dAtA[iNdEx]
  43502. iNdEx++
  43503. mapmsglen |= (int(b) & 0x7F) << shift
  43504. if b < 0x80 {
  43505. break
  43506. }
  43507. }
  43508. if mapmsglen < 0 {
  43509. return ErrInvalidLengthGenerated
  43510. }
  43511. postmsgIndex := iNdEx + mapmsglen
  43512. if mapmsglen < 0 {
  43513. return ErrInvalidLengthGenerated
  43514. }
  43515. if postmsgIndex > l {
  43516. return io.ErrUnexpectedEOF
  43517. }
  43518. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43519. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  43520. return err
  43521. }
  43522. iNdEx = postmsgIndex
  43523. } else {
  43524. iNdEx = entryPreIndex
  43525. skippy, err := skipGenerated(dAtA[iNdEx:])
  43526. if err != nil {
  43527. return err
  43528. }
  43529. if skippy < 0 {
  43530. return ErrInvalidLengthGenerated
  43531. }
  43532. if (iNdEx + skippy) > postIndex {
  43533. return io.ErrUnexpectedEOF
  43534. }
  43535. iNdEx += skippy
  43536. }
  43537. }
  43538. m.Used[ResourceName(mapkey)] = *mapvalue
  43539. iNdEx = postIndex
  43540. default:
  43541. iNdEx = preIndex
  43542. skippy, err := skipGenerated(dAtA[iNdEx:])
  43543. if err != nil {
  43544. return err
  43545. }
  43546. if skippy < 0 {
  43547. return ErrInvalidLengthGenerated
  43548. }
  43549. if (iNdEx + skippy) > l {
  43550. return io.ErrUnexpectedEOF
  43551. }
  43552. iNdEx += skippy
  43553. }
  43554. }
  43555. if iNdEx > l {
  43556. return io.ErrUnexpectedEOF
  43557. }
  43558. return nil
  43559. }
  43560. func (m *ResourceRequirements) Unmarshal(dAtA []byte) error {
  43561. l := len(dAtA)
  43562. iNdEx := 0
  43563. for iNdEx < l {
  43564. preIndex := iNdEx
  43565. var wire uint64
  43566. for shift := uint(0); ; shift += 7 {
  43567. if shift >= 64 {
  43568. return ErrIntOverflowGenerated
  43569. }
  43570. if iNdEx >= l {
  43571. return io.ErrUnexpectedEOF
  43572. }
  43573. b := dAtA[iNdEx]
  43574. iNdEx++
  43575. wire |= (uint64(b) & 0x7F) << shift
  43576. if b < 0x80 {
  43577. break
  43578. }
  43579. }
  43580. fieldNum := int32(wire >> 3)
  43581. wireType := int(wire & 0x7)
  43582. if wireType == 4 {
  43583. return fmt.Errorf("proto: ResourceRequirements: wiretype end group for non-group")
  43584. }
  43585. if fieldNum <= 0 {
  43586. return fmt.Errorf("proto: ResourceRequirements: illegal tag %d (wire type %d)", fieldNum, wire)
  43587. }
  43588. switch fieldNum {
  43589. case 1:
  43590. if wireType != 2 {
  43591. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  43592. }
  43593. var msglen int
  43594. for shift := uint(0); ; shift += 7 {
  43595. if shift >= 64 {
  43596. return ErrIntOverflowGenerated
  43597. }
  43598. if iNdEx >= l {
  43599. return io.ErrUnexpectedEOF
  43600. }
  43601. b := dAtA[iNdEx]
  43602. iNdEx++
  43603. msglen |= (int(b) & 0x7F) << shift
  43604. if b < 0x80 {
  43605. break
  43606. }
  43607. }
  43608. if msglen < 0 {
  43609. return ErrInvalidLengthGenerated
  43610. }
  43611. postIndex := iNdEx + msglen
  43612. if postIndex > l {
  43613. return io.ErrUnexpectedEOF
  43614. }
  43615. if m.Limits == nil {
  43616. m.Limits = make(ResourceList)
  43617. }
  43618. var mapkey ResourceName
  43619. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43620. for iNdEx < postIndex {
  43621. entryPreIndex := iNdEx
  43622. var wire uint64
  43623. for shift := uint(0); ; shift += 7 {
  43624. if shift >= 64 {
  43625. return ErrIntOverflowGenerated
  43626. }
  43627. if iNdEx >= l {
  43628. return io.ErrUnexpectedEOF
  43629. }
  43630. b := dAtA[iNdEx]
  43631. iNdEx++
  43632. wire |= (uint64(b) & 0x7F) << shift
  43633. if b < 0x80 {
  43634. break
  43635. }
  43636. }
  43637. fieldNum := int32(wire >> 3)
  43638. if fieldNum == 1 {
  43639. var stringLenmapkey uint64
  43640. for shift := uint(0); ; shift += 7 {
  43641. if shift >= 64 {
  43642. return ErrIntOverflowGenerated
  43643. }
  43644. if iNdEx >= l {
  43645. return io.ErrUnexpectedEOF
  43646. }
  43647. b := dAtA[iNdEx]
  43648. iNdEx++
  43649. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  43650. if b < 0x80 {
  43651. break
  43652. }
  43653. }
  43654. intStringLenmapkey := int(stringLenmapkey)
  43655. if intStringLenmapkey < 0 {
  43656. return ErrInvalidLengthGenerated
  43657. }
  43658. postStringIndexmapkey := iNdEx + intStringLenmapkey
  43659. if postStringIndexmapkey > l {
  43660. return io.ErrUnexpectedEOF
  43661. }
  43662. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  43663. iNdEx = postStringIndexmapkey
  43664. } else if fieldNum == 2 {
  43665. var mapmsglen int
  43666. for shift := uint(0); ; shift += 7 {
  43667. if shift >= 64 {
  43668. return ErrIntOverflowGenerated
  43669. }
  43670. if iNdEx >= l {
  43671. return io.ErrUnexpectedEOF
  43672. }
  43673. b := dAtA[iNdEx]
  43674. iNdEx++
  43675. mapmsglen |= (int(b) & 0x7F) << shift
  43676. if b < 0x80 {
  43677. break
  43678. }
  43679. }
  43680. if mapmsglen < 0 {
  43681. return ErrInvalidLengthGenerated
  43682. }
  43683. postmsgIndex := iNdEx + mapmsglen
  43684. if mapmsglen < 0 {
  43685. return ErrInvalidLengthGenerated
  43686. }
  43687. if postmsgIndex > l {
  43688. return io.ErrUnexpectedEOF
  43689. }
  43690. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43691. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  43692. return err
  43693. }
  43694. iNdEx = postmsgIndex
  43695. } else {
  43696. iNdEx = entryPreIndex
  43697. skippy, err := skipGenerated(dAtA[iNdEx:])
  43698. if err != nil {
  43699. return err
  43700. }
  43701. if skippy < 0 {
  43702. return ErrInvalidLengthGenerated
  43703. }
  43704. if (iNdEx + skippy) > postIndex {
  43705. return io.ErrUnexpectedEOF
  43706. }
  43707. iNdEx += skippy
  43708. }
  43709. }
  43710. m.Limits[ResourceName(mapkey)] = *mapvalue
  43711. iNdEx = postIndex
  43712. case 2:
  43713. if wireType != 2 {
  43714. return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
  43715. }
  43716. var msglen int
  43717. for shift := uint(0); ; shift += 7 {
  43718. if shift >= 64 {
  43719. return ErrIntOverflowGenerated
  43720. }
  43721. if iNdEx >= l {
  43722. return io.ErrUnexpectedEOF
  43723. }
  43724. b := dAtA[iNdEx]
  43725. iNdEx++
  43726. msglen |= (int(b) & 0x7F) << shift
  43727. if b < 0x80 {
  43728. break
  43729. }
  43730. }
  43731. if msglen < 0 {
  43732. return ErrInvalidLengthGenerated
  43733. }
  43734. postIndex := iNdEx + msglen
  43735. if postIndex > l {
  43736. return io.ErrUnexpectedEOF
  43737. }
  43738. if m.Requests == nil {
  43739. m.Requests = make(ResourceList)
  43740. }
  43741. var mapkey ResourceName
  43742. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43743. for iNdEx < postIndex {
  43744. entryPreIndex := iNdEx
  43745. var wire uint64
  43746. for shift := uint(0); ; shift += 7 {
  43747. if shift >= 64 {
  43748. return ErrIntOverflowGenerated
  43749. }
  43750. if iNdEx >= l {
  43751. return io.ErrUnexpectedEOF
  43752. }
  43753. b := dAtA[iNdEx]
  43754. iNdEx++
  43755. wire |= (uint64(b) & 0x7F) << shift
  43756. if b < 0x80 {
  43757. break
  43758. }
  43759. }
  43760. fieldNum := int32(wire >> 3)
  43761. if fieldNum == 1 {
  43762. var stringLenmapkey uint64
  43763. for shift := uint(0); ; shift += 7 {
  43764. if shift >= 64 {
  43765. return ErrIntOverflowGenerated
  43766. }
  43767. if iNdEx >= l {
  43768. return io.ErrUnexpectedEOF
  43769. }
  43770. b := dAtA[iNdEx]
  43771. iNdEx++
  43772. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  43773. if b < 0x80 {
  43774. break
  43775. }
  43776. }
  43777. intStringLenmapkey := int(stringLenmapkey)
  43778. if intStringLenmapkey < 0 {
  43779. return ErrInvalidLengthGenerated
  43780. }
  43781. postStringIndexmapkey := iNdEx + intStringLenmapkey
  43782. if postStringIndexmapkey > l {
  43783. return io.ErrUnexpectedEOF
  43784. }
  43785. mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  43786. iNdEx = postStringIndexmapkey
  43787. } else if fieldNum == 2 {
  43788. var mapmsglen int
  43789. for shift := uint(0); ; shift += 7 {
  43790. if shift >= 64 {
  43791. return ErrIntOverflowGenerated
  43792. }
  43793. if iNdEx >= l {
  43794. return io.ErrUnexpectedEOF
  43795. }
  43796. b := dAtA[iNdEx]
  43797. iNdEx++
  43798. mapmsglen |= (int(b) & 0x7F) << shift
  43799. if b < 0x80 {
  43800. break
  43801. }
  43802. }
  43803. if mapmsglen < 0 {
  43804. return ErrInvalidLengthGenerated
  43805. }
  43806. postmsgIndex := iNdEx + mapmsglen
  43807. if mapmsglen < 0 {
  43808. return ErrInvalidLengthGenerated
  43809. }
  43810. if postmsgIndex > l {
  43811. return io.ErrUnexpectedEOF
  43812. }
  43813. mapvalue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  43814. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  43815. return err
  43816. }
  43817. iNdEx = postmsgIndex
  43818. } else {
  43819. iNdEx = entryPreIndex
  43820. skippy, err := skipGenerated(dAtA[iNdEx:])
  43821. if err != nil {
  43822. return err
  43823. }
  43824. if skippy < 0 {
  43825. return ErrInvalidLengthGenerated
  43826. }
  43827. if (iNdEx + skippy) > postIndex {
  43828. return io.ErrUnexpectedEOF
  43829. }
  43830. iNdEx += skippy
  43831. }
  43832. }
  43833. m.Requests[ResourceName(mapkey)] = *mapvalue
  43834. iNdEx = postIndex
  43835. default:
  43836. iNdEx = preIndex
  43837. skippy, err := skipGenerated(dAtA[iNdEx:])
  43838. if err != nil {
  43839. return err
  43840. }
  43841. if skippy < 0 {
  43842. return ErrInvalidLengthGenerated
  43843. }
  43844. if (iNdEx + skippy) > l {
  43845. return io.ErrUnexpectedEOF
  43846. }
  43847. iNdEx += skippy
  43848. }
  43849. }
  43850. if iNdEx > l {
  43851. return io.ErrUnexpectedEOF
  43852. }
  43853. return nil
  43854. }
  43855. func (m *SELinuxOptions) Unmarshal(dAtA []byte) error {
  43856. l := len(dAtA)
  43857. iNdEx := 0
  43858. for iNdEx < l {
  43859. preIndex := iNdEx
  43860. var wire uint64
  43861. for shift := uint(0); ; shift += 7 {
  43862. if shift >= 64 {
  43863. return ErrIntOverflowGenerated
  43864. }
  43865. if iNdEx >= l {
  43866. return io.ErrUnexpectedEOF
  43867. }
  43868. b := dAtA[iNdEx]
  43869. iNdEx++
  43870. wire |= (uint64(b) & 0x7F) << shift
  43871. if b < 0x80 {
  43872. break
  43873. }
  43874. }
  43875. fieldNum := int32(wire >> 3)
  43876. wireType := int(wire & 0x7)
  43877. if wireType == 4 {
  43878. return fmt.Errorf("proto: SELinuxOptions: wiretype end group for non-group")
  43879. }
  43880. if fieldNum <= 0 {
  43881. return fmt.Errorf("proto: SELinuxOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  43882. }
  43883. switch fieldNum {
  43884. case 1:
  43885. if wireType != 2 {
  43886. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  43887. }
  43888. var stringLen uint64
  43889. for shift := uint(0); ; shift += 7 {
  43890. if shift >= 64 {
  43891. return ErrIntOverflowGenerated
  43892. }
  43893. if iNdEx >= l {
  43894. return io.ErrUnexpectedEOF
  43895. }
  43896. b := dAtA[iNdEx]
  43897. iNdEx++
  43898. stringLen |= (uint64(b) & 0x7F) << shift
  43899. if b < 0x80 {
  43900. break
  43901. }
  43902. }
  43903. intStringLen := int(stringLen)
  43904. if intStringLen < 0 {
  43905. return ErrInvalidLengthGenerated
  43906. }
  43907. postIndex := iNdEx + intStringLen
  43908. if postIndex > l {
  43909. return io.ErrUnexpectedEOF
  43910. }
  43911. m.User = string(dAtA[iNdEx:postIndex])
  43912. iNdEx = postIndex
  43913. case 2:
  43914. if wireType != 2 {
  43915. return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
  43916. }
  43917. var stringLen uint64
  43918. for shift := uint(0); ; shift += 7 {
  43919. if shift >= 64 {
  43920. return ErrIntOverflowGenerated
  43921. }
  43922. if iNdEx >= l {
  43923. return io.ErrUnexpectedEOF
  43924. }
  43925. b := dAtA[iNdEx]
  43926. iNdEx++
  43927. stringLen |= (uint64(b) & 0x7F) << shift
  43928. if b < 0x80 {
  43929. break
  43930. }
  43931. }
  43932. intStringLen := int(stringLen)
  43933. if intStringLen < 0 {
  43934. return ErrInvalidLengthGenerated
  43935. }
  43936. postIndex := iNdEx + intStringLen
  43937. if postIndex > l {
  43938. return io.ErrUnexpectedEOF
  43939. }
  43940. m.Role = string(dAtA[iNdEx:postIndex])
  43941. iNdEx = postIndex
  43942. case 3:
  43943. if wireType != 2 {
  43944. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  43945. }
  43946. var stringLen uint64
  43947. for shift := uint(0); ; shift += 7 {
  43948. if shift >= 64 {
  43949. return ErrIntOverflowGenerated
  43950. }
  43951. if iNdEx >= l {
  43952. return io.ErrUnexpectedEOF
  43953. }
  43954. b := dAtA[iNdEx]
  43955. iNdEx++
  43956. stringLen |= (uint64(b) & 0x7F) << shift
  43957. if b < 0x80 {
  43958. break
  43959. }
  43960. }
  43961. intStringLen := int(stringLen)
  43962. if intStringLen < 0 {
  43963. return ErrInvalidLengthGenerated
  43964. }
  43965. postIndex := iNdEx + intStringLen
  43966. if postIndex > l {
  43967. return io.ErrUnexpectedEOF
  43968. }
  43969. m.Type = string(dAtA[iNdEx:postIndex])
  43970. iNdEx = postIndex
  43971. case 4:
  43972. if wireType != 2 {
  43973. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  43974. }
  43975. var stringLen uint64
  43976. for shift := uint(0); ; shift += 7 {
  43977. if shift >= 64 {
  43978. return ErrIntOverflowGenerated
  43979. }
  43980. if iNdEx >= l {
  43981. return io.ErrUnexpectedEOF
  43982. }
  43983. b := dAtA[iNdEx]
  43984. iNdEx++
  43985. stringLen |= (uint64(b) & 0x7F) << shift
  43986. if b < 0x80 {
  43987. break
  43988. }
  43989. }
  43990. intStringLen := int(stringLen)
  43991. if intStringLen < 0 {
  43992. return ErrInvalidLengthGenerated
  43993. }
  43994. postIndex := iNdEx + intStringLen
  43995. if postIndex > l {
  43996. return io.ErrUnexpectedEOF
  43997. }
  43998. m.Level = string(dAtA[iNdEx:postIndex])
  43999. iNdEx = postIndex
  44000. default:
  44001. iNdEx = preIndex
  44002. skippy, err := skipGenerated(dAtA[iNdEx:])
  44003. if err != nil {
  44004. return err
  44005. }
  44006. if skippy < 0 {
  44007. return ErrInvalidLengthGenerated
  44008. }
  44009. if (iNdEx + skippy) > l {
  44010. return io.ErrUnexpectedEOF
  44011. }
  44012. iNdEx += skippy
  44013. }
  44014. }
  44015. if iNdEx > l {
  44016. return io.ErrUnexpectedEOF
  44017. }
  44018. return nil
  44019. }
  44020. func (m *ScaleIOPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  44021. l := len(dAtA)
  44022. iNdEx := 0
  44023. for iNdEx < l {
  44024. preIndex := iNdEx
  44025. var wire uint64
  44026. for shift := uint(0); ; shift += 7 {
  44027. if shift >= 64 {
  44028. return ErrIntOverflowGenerated
  44029. }
  44030. if iNdEx >= l {
  44031. return io.ErrUnexpectedEOF
  44032. }
  44033. b := dAtA[iNdEx]
  44034. iNdEx++
  44035. wire |= (uint64(b) & 0x7F) << shift
  44036. if b < 0x80 {
  44037. break
  44038. }
  44039. }
  44040. fieldNum := int32(wire >> 3)
  44041. wireType := int(wire & 0x7)
  44042. if wireType == 4 {
  44043. return fmt.Errorf("proto: ScaleIOPersistentVolumeSource: wiretype end group for non-group")
  44044. }
  44045. if fieldNum <= 0 {
  44046. return fmt.Errorf("proto: ScaleIOPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  44047. }
  44048. switch fieldNum {
  44049. case 1:
  44050. if wireType != 2 {
  44051. return fmt.Errorf("proto: wrong wireType = %d for field Gateway", wireType)
  44052. }
  44053. var stringLen uint64
  44054. for shift := uint(0); ; shift += 7 {
  44055. if shift >= 64 {
  44056. return ErrIntOverflowGenerated
  44057. }
  44058. if iNdEx >= l {
  44059. return io.ErrUnexpectedEOF
  44060. }
  44061. b := dAtA[iNdEx]
  44062. iNdEx++
  44063. stringLen |= (uint64(b) & 0x7F) << shift
  44064. if b < 0x80 {
  44065. break
  44066. }
  44067. }
  44068. intStringLen := int(stringLen)
  44069. if intStringLen < 0 {
  44070. return ErrInvalidLengthGenerated
  44071. }
  44072. postIndex := iNdEx + intStringLen
  44073. if postIndex > l {
  44074. return io.ErrUnexpectedEOF
  44075. }
  44076. m.Gateway = string(dAtA[iNdEx:postIndex])
  44077. iNdEx = postIndex
  44078. case 2:
  44079. if wireType != 2 {
  44080. return fmt.Errorf("proto: wrong wireType = %d for field System", wireType)
  44081. }
  44082. var stringLen uint64
  44083. for shift := uint(0); ; shift += 7 {
  44084. if shift >= 64 {
  44085. return ErrIntOverflowGenerated
  44086. }
  44087. if iNdEx >= l {
  44088. return io.ErrUnexpectedEOF
  44089. }
  44090. b := dAtA[iNdEx]
  44091. iNdEx++
  44092. stringLen |= (uint64(b) & 0x7F) << shift
  44093. if b < 0x80 {
  44094. break
  44095. }
  44096. }
  44097. intStringLen := int(stringLen)
  44098. if intStringLen < 0 {
  44099. return ErrInvalidLengthGenerated
  44100. }
  44101. postIndex := iNdEx + intStringLen
  44102. if postIndex > l {
  44103. return io.ErrUnexpectedEOF
  44104. }
  44105. m.System = string(dAtA[iNdEx:postIndex])
  44106. iNdEx = postIndex
  44107. case 3:
  44108. if wireType != 2 {
  44109. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  44110. }
  44111. var msglen int
  44112. for shift := uint(0); ; shift += 7 {
  44113. if shift >= 64 {
  44114. return ErrIntOverflowGenerated
  44115. }
  44116. if iNdEx >= l {
  44117. return io.ErrUnexpectedEOF
  44118. }
  44119. b := dAtA[iNdEx]
  44120. iNdEx++
  44121. msglen |= (int(b) & 0x7F) << shift
  44122. if b < 0x80 {
  44123. break
  44124. }
  44125. }
  44126. if msglen < 0 {
  44127. return ErrInvalidLengthGenerated
  44128. }
  44129. postIndex := iNdEx + msglen
  44130. if postIndex > l {
  44131. return io.ErrUnexpectedEOF
  44132. }
  44133. if m.SecretRef == nil {
  44134. m.SecretRef = &SecretReference{}
  44135. }
  44136. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44137. return err
  44138. }
  44139. iNdEx = postIndex
  44140. case 4:
  44141. if wireType != 0 {
  44142. return fmt.Errorf("proto: wrong wireType = %d for field SSLEnabled", wireType)
  44143. }
  44144. var v int
  44145. for shift := uint(0); ; shift += 7 {
  44146. if shift >= 64 {
  44147. return ErrIntOverflowGenerated
  44148. }
  44149. if iNdEx >= l {
  44150. return io.ErrUnexpectedEOF
  44151. }
  44152. b := dAtA[iNdEx]
  44153. iNdEx++
  44154. v |= (int(b) & 0x7F) << shift
  44155. if b < 0x80 {
  44156. break
  44157. }
  44158. }
  44159. m.SSLEnabled = bool(v != 0)
  44160. case 5:
  44161. if wireType != 2 {
  44162. return fmt.Errorf("proto: wrong wireType = %d for field ProtectionDomain", wireType)
  44163. }
  44164. var stringLen uint64
  44165. for shift := uint(0); ; shift += 7 {
  44166. if shift >= 64 {
  44167. return ErrIntOverflowGenerated
  44168. }
  44169. if iNdEx >= l {
  44170. return io.ErrUnexpectedEOF
  44171. }
  44172. b := dAtA[iNdEx]
  44173. iNdEx++
  44174. stringLen |= (uint64(b) & 0x7F) << shift
  44175. if b < 0x80 {
  44176. break
  44177. }
  44178. }
  44179. intStringLen := int(stringLen)
  44180. if intStringLen < 0 {
  44181. return ErrInvalidLengthGenerated
  44182. }
  44183. postIndex := iNdEx + intStringLen
  44184. if postIndex > l {
  44185. return io.ErrUnexpectedEOF
  44186. }
  44187. m.ProtectionDomain = string(dAtA[iNdEx:postIndex])
  44188. iNdEx = postIndex
  44189. case 6:
  44190. if wireType != 2 {
  44191. return fmt.Errorf("proto: wrong wireType = %d for field StoragePool", wireType)
  44192. }
  44193. var stringLen uint64
  44194. for shift := uint(0); ; shift += 7 {
  44195. if shift >= 64 {
  44196. return ErrIntOverflowGenerated
  44197. }
  44198. if iNdEx >= l {
  44199. return io.ErrUnexpectedEOF
  44200. }
  44201. b := dAtA[iNdEx]
  44202. iNdEx++
  44203. stringLen |= (uint64(b) & 0x7F) << shift
  44204. if b < 0x80 {
  44205. break
  44206. }
  44207. }
  44208. intStringLen := int(stringLen)
  44209. if intStringLen < 0 {
  44210. return ErrInvalidLengthGenerated
  44211. }
  44212. postIndex := iNdEx + intStringLen
  44213. if postIndex > l {
  44214. return io.ErrUnexpectedEOF
  44215. }
  44216. m.StoragePool = string(dAtA[iNdEx:postIndex])
  44217. iNdEx = postIndex
  44218. case 7:
  44219. if wireType != 2 {
  44220. return fmt.Errorf("proto: wrong wireType = %d for field StorageMode", wireType)
  44221. }
  44222. var stringLen uint64
  44223. for shift := uint(0); ; shift += 7 {
  44224. if shift >= 64 {
  44225. return ErrIntOverflowGenerated
  44226. }
  44227. if iNdEx >= l {
  44228. return io.ErrUnexpectedEOF
  44229. }
  44230. b := dAtA[iNdEx]
  44231. iNdEx++
  44232. stringLen |= (uint64(b) & 0x7F) << shift
  44233. if b < 0x80 {
  44234. break
  44235. }
  44236. }
  44237. intStringLen := int(stringLen)
  44238. if intStringLen < 0 {
  44239. return ErrInvalidLengthGenerated
  44240. }
  44241. postIndex := iNdEx + intStringLen
  44242. if postIndex > l {
  44243. return io.ErrUnexpectedEOF
  44244. }
  44245. m.StorageMode = string(dAtA[iNdEx:postIndex])
  44246. iNdEx = postIndex
  44247. case 8:
  44248. if wireType != 2 {
  44249. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  44250. }
  44251. var stringLen uint64
  44252. for shift := uint(0); ; shift += 7 {
  44253. if shift >= 64 {
  44254. return ErrIntOverflowGenerated
  44255. }
  44256. if iNdEx >= l {
  44257. return io.ErrUnexpectedEOF
  44258. }
  44259. b := dAtA[iNdEx]
  44260. iNdEx++
  44261. stringLen |= (uint64(b) & 0x7F) << shift
  44262. if b < 0x80 {
  44263. break
  44264. }
  44265. }
  44266. intStringLen := int(stringLen)
  44267. if intStringLen < 0 {
  44268. return ErrInvalidLengthGenerated
  44269. }
  44270. postIndex := iNdEx + intStringLen
  44271. if postIndex > l {
  44272. return io.ErrUnexpectedEOF
  44273. }
  44274. m.VolumeName = string(dAtA[iNdEx:postIndex])
  44275. iNdEx = postIndex
  44276. case 9:
  44277. if wireType != 2 {
  44278. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  44279. }
  44280. var stringLen uint64
  44281. for shift := uint(0); ; shift += 7 {
  44282. if shift >= 64 {
  44283. return ErrIntOverflowGenerated
  44284. }
  44285. if iNdEx >= l {
  44286. return io.ErrUnexpectedEOF
  44287. }
  44288. b := dAtA[iNdEx]
  44289. iNdEx++
  44290. stringLen |= (uint64(b) & 0x7F) << shift
  44291. if b < 0x80 {
  44292. break
  44293. }
  44294. }
  44295. intStringLen := int(stringLen)
  44296. if intStringLen < 0 {
  44297. return ErrInvalidLengthGenerated
  44298. }
  44299. postIndex := iNdEx + intStringLen
  44300. if postIndex > l {
  44301. return io.ErrUnexpectedEOF
  44302. }
  44303. m.FSType = string(dAtA[iNdEx:postIndex])
  44304. iNdEx = postIndex
  44305. case 10:
  44306. if wireType != 0 {
  44307. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  44308. }
  44309. var v int
  44310. for shift := uint(0); ; shift += 7 {
  44311. if shift >= 64 {
  44312. return ErrIntOverflowGenerated
  44313. }
  44314. if iNdEx >= l {
  44315. return io.ErrUnexpectedEOF
  44316. }
  44317. b := dAtA[iNdEx]
  44318. iNdEx++
  44319. v |= (int(b) & 0x7F) << shift
  44320. if b < 0x80 {
  44321. break
  44322. }
  44323. }
  44324. m.ReadOnly = bool(v != 0)
  44325. default:
  44326. iNdEx = preIndex
  44327. skippy, err := skipGenerated(dAtA[iNdEx:])
  44328. if err != nil {
  44329. return err
  44330. }
  44331. if skippy < 0 {
  44332. return ErrInvalidLengthGenerated
  44333. }
  44334. if (iNdEx + skippy) > l {
  44335. return io.ErrUnexpectedEOF
  44336. }
  44337. iNdEx += skippy
  44338. }
  44339. }
  44340. if iNdEx > l {
  44341. return io.ErrUnexpectedEOF
  44342. }
  44343. return nil
  44344. }
  44345. func (m *ScaleIOVolumeSource) Unmarshal(dAtA []byte) error {
  44346. l := len(dAtA)
  44347. iNdEx := 0
  44348. for iNdEx < l {
  44349. preIndex := iNdEx
  44350. var wire uint64
  44351. for shift := uint(0); ; shift += 7 {
  44352. if shift >= 64 {
  44353. return ErrIntOverflowGenerated
  44354. }
  44355. if iNdEx >= l {
  44356. return io.ErrUnexpectedEOF
  44357. }
  44358. b := dAtA[iNdEx]
  44359. iNdEx++
  44360. wire |= (uint64(b) & 0x7F) << shift
  44361. if b < 0x80 {
  44362. break
  44363. }
  44364. }
  44365. fieldNum := int32(wire >> 3)
  44366. wireType := int(wire & 0x7)
  44367. if wireType == 4 {
  44368. return fmt.Errorf("proto: ScaleIOVolumeSource: wiretype end group for non-group")
  44369. }
  44370. if fieldNum <= 0 {
  44371. return fmt.Errorf("proto: ScaleIOVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  44372. }
  44373. switch fieldNum {
  44374. case 1:
  44375. if wireType != 2 {
  44376. return fmt.Errorf("proto: wrong wireType = %d for field Gateway", wireType)
  44377. }
  44378. var stringLen uint64
  44379. for shift := uint(0); ; shift += 7 {
  44380. if shift >= 64 {
  44381. return ErrIntOverflowGenerated
  44382. }
  44383. if iNdEx >= l {
  44384. return io.ErrUnexpectedEOF
  44385. }
  44386. b := dAtA[iNdEx]
  44387. iNdEx++
  44388. stringLen |= (uint64(b) & 0x7F) << shift
  44389. if b < 0x80 {
  44390. break
  44391. }
  44392. }
  44393. intStringLen := int(stringLen)
  44394. if intStringLen < 0 {
  44395. return ErrInvalidLengthGenerated
  44396. }
  44397. postIndex := iNdEx + intStringLen
  44398. if postIndex > l {
  44399. return io.ErrUnexpectedEOF
  44400. }
  44401. m.Gateway = string(dAtA[iNdEx:postIndex])
  44402. iNdEx = postIndex
  44403. case 2:
  44404. if wireType != 2 {
  44405. return fmt.Errorf("proto: wrong wireType = %d for field System", wireType)
  44406. }
  44407. var stringLen uint64
  44408. for shift := uint(0); ; shift += 7 {
  44409. if shift >= 64 {
  44410. return ErrIntOverflowGenerated
  44411. }
  44412. if iNdEx >= l {
  44413. return io.ErrUnexpectedEOF
  44414. }
  44415. b := dAtA[iNdEx]
  44416. iNdEx++
  44417. stringLen |= (uint64(b) & 0x7F) << shift
  44418. if b < 0x80 {
  44419. break
  44420. }
  44421. }
  44422. intStringLen := int(stringLen)
  44423. if intStringLen < 0 {
  44424. return ErrInvalidLengthGenerated
  44425. }
  44426. postIndex := iNdEx + intStringLen
  44427. if postIndex > l {
  44428. return io.ErrUnexpectedEOF
  44429. }
  44430. m.System = string(dAtA[iNdEx:postIndex])
  44431. iNdEx = postIndex
  44432. case 3:
  44433. if wireType != 2 {
  44434. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  44435. }
  44436. var msglen int
  44437. for shift := uint(0); ; shift += 7 {
  44438. if shift >= 64 {
  44439. return ErrIntOverflowGenerated
  44440. }
  44441. if iNdEx >= l {
  44442. return io.ErrUnexpectedEOF
  44443. }
  44444. b := dAtA[iNdEx]
  44445. iNdEx++
  44446. msglen |= (int(b) & 0x7F) << shift
  44447. if b < 0x80 {
  44448. break
  44449. }
  44450. }
  44451. if msglen < 0 {
  44452. return ErrInvalidLengthGenerated
  44453. }
  44454. postIndex := iNdEx + msglen
  44455. if postIndex > l {
  44456. return io.ErrUnexpectedEOF
  44457. }
  44458. if m.SecretRef == nil {
  44459. m.SecretRef = &LocalObjectReference{}
  44460. }
  44461. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44462. return err
  44463. }
  44464. iNdEx = postIndex
  44465. case 4:
  44466. if wireType != 0 {
  44467. return fmt.Errorf("proto: wrong wireType = %d for field SSLEnabled", wireType)
  44468. }
  44469. var v int
  44470. for shift := uint(0); ; shift += 7 {
  44471. if shift >= 64 {
  44472. return ErrIntOverflowGenerated
  44473. }
  44474. if iNdEx >= l {
  44475. return io.ErrUnexpectedEOF
  44476. }
  44477. b := dAtA[iNdEx]
  44478. iNdEx++
  44479. v |= (int(b) & 0x7F) << shift
  44480. if b < 0x80 {
  44481. break
  44482. }
  44483. }
  44484. m.SSLEnabled = bool(v != 0)
  44485. case 5:
  44486. if wireType != 2 {
  44487. return fmt.Errorf("proto: wrong wireType = %d for field ProtectionDomain", wireType)
  44488. }
  44489. var stringLen uint64
  44490. for shift := uint(0); ; shift += 7 {
  44491. if shift >= 64 {
  44492. return ErrIntOverflowGenerated
  44493. }
  44494. if iNdEx >= l {
  44495. return io.ErrUnexpectedEOF
  44496. }
  44497. b := dAtA[iNdEx]
  44498. iNdEx++
  44499. stringLen |= (uint64(b) & 0x7F) << shift
  44500. if b < 0x80 {
  44501. break
  44502. }
  44503. }
  44504. intStringLen := int(stringLen)
  44505. if intStringLen < 0 {
  44506. return ErrInvalidLengthGenerated
  44507. }
  44508. postIndex := iNdEx + intStringLen
  44509. if postIndex > l {
  44510. return io.ErrUnexpectedEOF
  44511. }
  44512. m.ProtectionDomain = string(dAtA[iNdEx:postIndex])
  44513. iNdEx = postIndex
  44514. case 6:
  44515. if wireType != 2 {
  44516. return fmt.Errorf("proto: wrong wireType = %d for field StoragePool", wireType)
  44517. }
  44518. var stringLen uint64
  44519. for shift := uint(0); ; shift += 7 {
  44520. if shift >= 64 {
  44521. return ErrIntOverflowGenerated
  44522. }
  44523. if iNdEx >= l {
  44524. return io.ErrUnexpectedEOF
  44525. }
  44526. b := dAtA[iNdEx]
  44527. iNdEx++
  44528. stringLen |= (uint64(b) & 0x7F) << shift
  44529. if b < 0x80 {
  44530. break
  44531. }
  44532. }
  44533. intStringLen := int(stringLen)
  44534. if intStringLen < 0 {
  44535. return ErrInvalidLengthGenerated
  44536. }
  44537. postIndex := iNdEx + intStringLen
  44538. if postIndex > l {
  44539. return io.ErrUnexpectedEOF
  44540. }
  44541. m.StoragePool = string(dAtA[iNdEx:postIndex])
  44542. iNdEx = postIndex
  44543. case 7:
  44544. if wireType != 2 {
  44545. return fmt.Errorf("proto: wrong wireType = %d for field StorageMode", wireType)
  44546. }
  44547. var stringLen uint64
  44548. for shift := uint(0); ; shift += 7 {
  44549. if shift >= 64 {
  44550. return ErrIntOverflowGenerated
  44551. }
  44552. if iNdEx >= l {
  44553. return io.ErrUnexpectedEOF
  44554. }
  44555. b := dAtA[iNdEx]
  44556. iNdEx++
  44557. stringLen |= (uint64(b) & 0x7F) << shift
  44558. if b < 0x80 {
  44559. break
  44560. }
  44561. }
  44562. intStringLen := int(stringLen)
  44563. if intStringLen < 0 {
  44564. return ErrInvalidLengthGenerated
  44565. }
  44566. postIndex := iNdEx + intStringLen
  44567. if postIndex > l {
  44568. return io.ErrUnexpectedEOF
  44569. }
  44570. m.StorageMode = string(dAtA[iNdEx:postIndex])
  44571. iNdEx = postIndex
  44572. case 8:
  44573. if wireType != 2 {
  44574. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  44575. }
  44576. var stringLen uint64
  44577. for shift := uint(0); ; shift += 7 {
  44578. if shift >= 64 {
  44579. return ErrIntOverflowGenerated
  44580. }
  44581. if iNdEx >= l {
  44582. return io.ErrUnexpectedEOF
  44583. }
  44584. b := dAtA[iNdEx]
  44585. iNdEx++
  44586. stringLen |= (uint64(b) & 0x7F) << shift
  44587. if b < 0x80 {
  44588. break
  44589. }
  44590. }
  44591. intStringLen := int(stringLen)
  44592. if intStringLen < 0 {
  44593. return ErrInvalidLengthGenerated
  44594. }
  44595. postIndex := iNdEx + intStringLen
  44596. if postIndex > l {
  44597. return io.ErrUnexpectedEOF
  44598. }
  44599. m.VolumeName = string(dAtA[iNdEx:postIndex])
  44600. iNdEx = postIndex
  44601. case 9:
  44602. if wireType != 2 {
  44603. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  44604. }
  44605. var stringLen uint64
  44606. for shift := uint(0); ; shift += 7 {
  44607. if shift >= 64 {
  44608. return ErrIntOverflowGenerated
  44609. }
  44610. if iNdEx >= l {
  44611. return io.ErrUnexpectedEOF
  44612. }
  44613. b := dAtA[iNdEx]
  44614. iNdEx++
  44615. stringLen |= (uint64(b) & 0x7F) << shift
  44616. if b < 0x80 {
  44617. break
  44618. }
  44619. }
  44620. intStringLen := int(stringLen)
  44621. if intStringLen < 0 {
  44622. return ErrInvalidLengthGenerated
  44623. }
  44624. postIndex := iNdEx + intStringLen
  44625. if postIndex > l {
  44626. return io.ErrUnexpectedEOF
  44627. }
  44628. m.FSType = string(dAtA[iNdEx:postIndex])
  44629. iNdEx = postIndex
  44630. case 10:
  44631. if wireType != 0 {
  44632. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  44633. }
  44634. var v int
  44635. for shift := uint(0); ; shift += 7 {
  44636. if shift >= 64 {
  44637. return ErrIntOverflowGenerated
  44638. }
  44639. if iNdEx >= l {
  44640. return io.ErrUnexpectedEOF
  44641. }
  44642. b := dAtA[iNdEx]
  44643. iNdEx++
  44644. v |= (int(b) & 0x7F) << shift
  44645. if b < 0x80 {
  44646. break
  44647. }
  44648. }
  44649. m.ReadOnly = bool(v != 0)
  44650. default:
  44651. iNdEx = preIndex
  44652. skippy, err := skipGenerated(dAtA[iNdEx:])
  44653. if err != nil {
  44654. return err
  44655. }
  44656. if skippy < 0 {
  44657. return ErrInvalidLengthGenerated
  44658. }
  44659. if (iNdEx + skippy) > l {
  44660. return io.ErrUnexpectedEOF
  44661. }
  44662. iNdEx += skippy
  44663. }
  44664. }
  44665. if iNdEx > l {
  44666. return io.ErrUnexpectedEOF
  44667. }
  44668. return nil
  44669. }
  44670. func (m *ScopeSelector) Unmarshal(dAtA []byte) error {
  44671. l := len(dAtA)
  44672. iNdEx := 0
  44673. for iNdEx < l {
  44674. preIndex := iNdEx
  44675. var wire uint64
  44676. for shift := uint(0); ; shift += 7 {
  44677. if shift >= 64 {
  44678. return ErrIntOverflowGenerated
  44679. }
  44680. if iNdEx >= l {
  44681. return io.ErrUnexpectedEOF
  44682. }
  44683. b := dAtA[iNdEx]
  44684. iNdEx++
  44685. wire |= (uint64(b) & 0x7F) << shift
  44686. if b < 0x80 {
  44687. break
  44688. }
  44689. }
  44690. fieldNum := int32(wire >> 3)
  44691. wireType := int(wire & 0x7)
  44692. if wireType == 4 {
  44693. return fmt.Errorf("proto: ScopeSelector: wiretype end group for non-group")
  44694. }
  44695. if fieldNum <= 0 {
  44696. return fmt.Errorf("proto: ScopeSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  44697. }
  44698. switch fieldNum {
  44699. case 1:
  44700. if wireType != 2 {
  44701. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  44702. }
  44703. var msglen int
  44704. for shift := uint(0); ; shift += 7 {
  44705. if shift >= 64 {
  44706. return ErrIntOverflowGenerated
  44707. }
  44708. if iNdEx >= l {
  44709. return io.ErrUnexpectedEOF
  44710. }
  44711. b := dAtA[iNdEx]
  44712. iNdEx++
  44713. msglen |= (int(b) & 0x7F) << shift
  44714. if b < 0x80 {
  44715. break
  44716. }
  44717. }
  44718. if msglen < 0 {
  44719. return ErrInvalidLengthGenerated
  44720. }
  44721. postIndex := iNdEx + msglen
  44722. if postIndex > l {
  44723. return io.ErrUnexpectedEOF
  44724. }
  44725. m.MatchExpressions = append(m.MatchExpressions, ScopedResourceSelectorRequirement{})
  44726. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44727. return err
  44728. }
  44729. iNdEx = postIndex
  44730. default:
  44731. iNdEx = preIndex
  44732. skippy, err := skipGenerated(dAtA[iNdEx:])
  44733. if err != nil {
  44734. return err
  44735. }
  44736. if skippy < 0 {
  44737. return ErrInvalidLengthGenerated
  44738. }
  44739. if (iNdEx + skippy) > l {
  44740. return io.ErrUnexpectedEOF
  44741. }
  44742. iNdEx += skippy
  44743. }
  44744. }
  44745. if iNdEx > l {
  44746. return io.ErrUnexpectedEOF
  44747. }
  44748. return nil
  44749. }
  44750. func (m *ScopedResourceSelectorRequirement) Unmarshal(dAtA []byte) error {
  44751. l := len(dAtA)
  44752. iNdEx := 0
  44753. for iNdEx < l {
  44754. preIndex := iNdEx
  44755. var wire uint64
  44756. for shift := uint(0); ; shift += 7 {
  44757. if shift >= 64 {
  44758. return ErrIntOverflowGenerated
  44759. }
  44760. if iNdEx >= l {
  44761. return io.ErrUnexpectedEOF
  44762. }
  44763. b := dAtA[iNdEx]
  44764. iNdEx++
  44765. wire |= (uint64(b) & 0x7F) << shift
  44766. if b < 0x80 {
  44767. break
  44768. }
  44769. }
  44770. fieldNum := int32(wire >> 3)
  44771. wireType := int(wire & 0x7)
  44772. if wireType == 4 {
  44773. return fmt.Errorf("proto: ScopedResourceSelectorRequirement: wiretype end group for non-group")
  44774. }
  44775. if fieldNum <= 0 {
  44776. return fmt.Errorf("proto: ScopedResourceSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  44777. }
  44778. switch fieldNum {
  44779. case 1:
  44780. if wireType != 2 {
  44781. return fmt.Errorf("proto: wrong wireType = %d for field ScopeName", wireType)
  44782. }
  44783. var stringLen uint64
  44784. for shift := uint(0); ; shift += 7 {
  44785. if shift >= 64 {
  44786. return ErrIntOverflowGenerated
  44787. }
  44788. if iNdEx >= l {
  44789. return io.ErrUnexpectedEOF
  44790. }
  44791. b := dAtA[iNdEx]
  44792. iNdEx++
  44793. stringLen |= (uint64(b) & 0x7F) << shift
  44794. if b < 0x80 {
  44795. break
  44796. }
  44797. }
  44798. intStringLen := int(stringLen)
  44799. if intStringLen < 0 {
  44800. return ErrInvalidLengthGenerated
  44801. }
  44802. postIndex := iNdEx + intStringLen
  44803. if postIndex > l {
  44804. return io.ErrUnexpectedEOF
  44805. }
  44806. m.ScopeName = ResourceQuotaScope(dAtA[iNdEx:postIndex])
  44807. iNdEx = postIndex
  44808. case 2:
  44809. if wireType != 2 {
  44810. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  44811. }
  44812. var stringLen uint64
  44813. for shift := uint(0); ; shift += 7 {
  44814. if shift >= 64 {
  44815. return ErrIntOverflowGenerated
  44816. }
  44817. if iNdEx >= l {
  44818. return io.ErrUnexpectedEOF
  44819. }
  44820. b := dAtA[iNdEx]
  44821. iNdEx++
  44822. stringLen |= (uint64(b) & 0x7F) << shift
  44823. if b < 0x80 {
  44824. break
  44825. }
  44826. }
  44827. intStringLen := int(stringLen)
  44828. if intStringLen < 0 {
  44829. return ErrInvalidLengthGenerated
  44830. }
  44831. postIndex := iNdEx + intStringLen
  44832. if postIndex > l {
  44833. return io.ErrUnexpectedEOF
  44834. }
  44835. m.Operator = ScopeSelectorOperator(dAtA[iNdEx:postIndex])
  44836. iNdEx = postIndex
  44837. case 3:
  44838. if wireType != 2 {
  44839. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  44840. }
  44841. var stringLen uint64
  44842. for shift := uint(0); ; shift += 7 {
  44843. if shift >= 64 {
  44844. return ErrIntOverflowGenerated
  44845. }
  44846. if iNdEx >= l {
  44847. return io.ErrUnexpectedEOF
  44848. }
  44849. b := dAtA[iNdEx]
  44850. iNdEx++
  44851. stringLen |= (uint64(b) & 0x7F) << shift
  44852. if b < 0x80 {
  44853. break
  44854. }
  44855. }
  44856. intStringLen := int(stringLen)
  44857. if intStringLen < 0 {
  44858. return ErrInvalidLengthGenerated
  44859. }
  44860. postIndex := iNdEx + intStringLen
  44861. if postIndex > l {
  44862. return io.ErrUnexpectedEOF
  44863. }
  44864. m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
  44865. iNdEx = postIndex
  44866. default:
  44867. iNdEx = preIndex
  44868. skippy, err := skipGenerated(dAtA[iNdEx:])
  44869. if err != nil {
  44870. return err
  44871. }
  44872. if skippy < 0 {
  44873. return ErrInvalidLengthGenerated
  44874. }
  44875. if (iNdEx + skippy) > l {
  44876. return io.ErrUnexpectedEOF
  44877. }
  44878. iNdEx += skippy
  44879. }
  44880. }
  44881. if iNdEx > l {
  44882. return io.ErrUnexpectedEOF
  44883. }
  44884. return nil
  44885. }
  44886. func (m *Secret) Unmarshal(dAtA []byte) error {
  44887. l := len(dAtA)
  44888. iNdEx := 0
  44889. for iNdEx < l {
  44890. preIndex := iNdEx
  44891. var wire uint64
  44892. for shift := uint(0); ; shift += 7 {
  44893. if shift >= 64 {
  44894. return ErrIntOverflowGenerated
  44895. }
  44896. if iNdEx >= l {
  44897. return io.ErrUnexpectedEOF
  44898. }
  44899. b := dAtA[iNdEx]
  44900. iNdEx++
  44901. wire |= (uint64(b) & 0x7F) << shift
  44902. if b < 0x80 {
  44903. break
  44904. }
  44905. }
  44906. fieldNum := int32(wire >> 3)
  44907. wireType := int(wire & 0x7)
  44908. if wireType == 4 {
  44909. return fmt.Errorf("proto: Secret: wiretype end group for non-group")
  44910. }
  44911. if fieldNum <= 0 {
  44912. return fmt.Errorf("proto: Secret: illegal tag %d (wire type %d)", fieldNum, wire)
  44913. }
  44914. switch fieldNum {
  44915. case 1:
  44916. if wireType != 2 {
  44917. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  44918. }
  44919. var msglen int
  44920. for shift := uint(0); ; shift += 7 {
  44921. if shift >= 64 {
  44922. return ErrIntOverflowGenerated
  44923. }
  44924. if iNdEx >= l {
  44925. return io.ErrUnexpectedEOF
  44926. }
  44927. b := dAtA[iNdEx]
  44928. iNdEx++
  44929. msglen |= (int(b) & 0x7F) << shift
  44930. if b < 0x80 {
  44931. break
  44932. }
  44933. }
  44934. if msglen < 0 {
  44935. return ErrInvalidLengthGenerated
  44936. }
  44937. postIndex := iNdEx + msglen
  44938. if postIndex > l {
  44939. return io.ErrUnexpectedEOF
  44940. }
  44941. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44942. return err
  44943. }
  44944. iNdEx = postIndex
  44945. case 2:
  44946. if wireType != 2 {
  44947. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  44948. }
  44949. var msglen int
  44950. for shift := uint(0); ; shift += 7 {
  44951. if shift >= 64 {
  44952. return ErrIntOverflowGenerated
  44953. }
  44954. if iNdEx >= l {
  44955. return io.ErrUnexpectedEOF
  44956. }
  44957. b := dAtA[iNdEx]
  44958. iNdEx++
  44959. msglen |= (int(b) & 0x7F) << shift
  44960. if b < 0x80 {
  44961. break
  44962. }
  44963. }
  44964. if msglen < 0 {
  44965. return ErrInvalidLengthGenerated
  44966. }
  44967. postIndex := iNdEx + msglen
  44968. if postIndex > l {
  44969. return io.ErrUnexpectedEOF
  44970. }
  44971. if m.Data == nil {
  44972. m.Data = make(map[string][]byte)
  44973. }
  44974. var mapkey string
  44975. mapvalue := []byte{}
  44976. for iNdEx < postIndex {
  44977. entryPreIndex := iNdEx
  44978. var wire uint64
  44979. for shift := uint(0); ; shift += 7 {
  44980. if shift >= 64 {
  44981. return ErrIntOverflowGenerated
  44982. }
  44983. if iNdEx >= l {
  44984. return io.ErrUnexpectedEOF
  44985. }
  44986. b := dAtA[iNdEx]
  44987. iNdEx++
  44988. wire |= (uint64(b) & 0x7F) << shift
  44989. if b < 0x80 {
  44990. break
  44991. }
  44992. }
  44993. fieldNum := int32(wire >> 3)
  44994. if fieldNum == 1 {
  44995. var stringLenmapkey uint64
  44996. for shift := uint(0); ; shift += 7 {
  44997. if shift >= 64 {
  44998. return ErrIntOverflowGenerated
  44999. }
  45000. if iNdEx >= l {
  45001. return io.ErrUnexpectedEOF
  45002. }
  45003. b := dAtA[iNdEx]
  45004. iNdEx++
  45005. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  45006. if b < 0x80 {
  45007. break
  45008. }
  45009. }
  45010. intStringLenmapkey := int(stringLenmapkey)
  45011. if intStringLenmapkey < 0 {
  45012. return ErrInvalidLengthGenerated
  45013. }
  45014. postStringIndexmapkey := iNdEx + intStringLenmapkey
  45015. if postStringIndexmapkey > l {
  45016. return io.ErrUnexpectedEOF
  45017. }
  45018. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  45019. iNdEx = postStringIndexmapkey
  45020. } else if fieldNum == 2 {
  45021. var mapbyteLen uint64
  45022. for shift := uint(0); ; shift += 7 {
  45023. if shift >= 64 {
  45024. return ErrIntOverflowGenerated
  45025. }
  45026. if iNdEx >= l {
  45027. return io.ErrUnexpectedEOF
  45028. }
  45029. b := dAtA[iNdEx]
  45030. iNdEx++
  45031. mapbyteLen |= (uint64(b) & 0x7F) << shift
  45032. if b < 0x80 {
  45033. break
  45034. }
  45035. }
  45036. intMapbyteLen := int(mapbyteLen)
  45037. if intMapbyteLen < 0 {
  45038. return ErrInvalidLengthGenerated
  45039. }
  45040. postbytesIndex := iNdEx + intMapbyteLen
  45041. if postbytesIndex > l {
  45042. return io.ErrUnexpectedEOF
  45043. }
  45044. mapvalue = make([]byte, mapbyteLen)
  45045. copy(mapvalue, dAtA[iNdEx:postbytesIndex])
  45046. iNdEx = postbytesIndex
  45047. } else {
  45048. iNdEx = entryPreIndex
  45049. skippy, err := skipGenerated(dAtA[iNdEx:])
  45050. if err != nil {
  45051. return err
  45052. }
  45053. if skippy < 0 {
  45054. return ErrInvalidLengthGenerated
  45055. }
  45056. if (iNdEx + skippy) > postIndex {
  45057. return io.ErrUnexpectedEOF
  45058. }
  45059. iNdEx += skippy
  45060. }
  45061. }
  45062. m.Data[mapkey] = mapvalue
  45063. iNdEx = postIndex
  45064. case 3:
  45065. if wireType != 2 {
  45066. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  45067. }
  45068. var stringLen uint64
  45069. for shift := uint(0); ; shift += 7 {
  45070. if shift >= 64 {
  45071. return ErrIntOverflowGenerated
  45072. }
  45073. if iNdEx >= l {
  45074. return io.ErrUnexpectedEOF
  45075. }
  45076. b := dAtA[iNdEx]
  45077. iNdEx++
  45078. stringLen |= (uint64(b) & 0x7F) << shift
  45079. if b < 0x80 {
  45080. break
  45081. }
  45082. }
  45083. intStringLen := int(stringLen)
  45084. if intStringLen < 0 {
  45085. return ErrInvalidLengthGenerated
  45086. }
  45087. postIndex := iNdEx + intStringLen
  45088. if postIndex > l {
  45089. return io.ErrUnexpectedEOF
  45090. }
  45091. m.Type = SecretType(dAtA[iNdEx:postIndex])
  45092. iNdEx = postIndex
  45093. case 4:
  45094. if wireType != 2 {
  45095. return fmt.Errorf("proto: wrong wireType = %d for field StringData", wireType)
  45096. }
  45097. var msglen int
  45098. for shift := uint(0); ; shift += 7 {
  45099. if shift >= 64 {
  45100. return ErrIntOverflowGenerated
  45101. }
  45102. if iNdEx >= l {
  45103. return io.ErrUnexpectedEOF
  45104. }
  45105. b := dAtA[iNdEx]
  45106. iNdEx++
  45107. msglen |= (int(b) & 0x7F) << shift
  45108. if b < 0x80 {
  45109. break
  45110. }
  45111. }
  45112. if msglen < 0 {
  45113. return ErrInvalidLengthGenerated
  45114. }
  45115. postIndex := iNdEx + msglen
  45116. if postIndex > l {
  45117. return io.ErrUnexpectedEOF
  45118. }
  45119. if m.StringData == nil {
  45120. m.StringData = make(map[string]string)
  45121. }
  45122. var mapkey string
  45123. var mapvalue string
  45124. for iNdEx < postIndex {
  45125. entryPreIndex := iNdEx
  45126. var wire uint64
  45127. for shift := uint(0); ; shift += 7 {
  45128. if shift >= 64 {
  45129. return ErrIntOverflowGenerated
  45130. }
  45131. if iNdEx >= l {
  45132. return io.ErrUnexpectedEOF
  45133. }
  45134. b := dAtA[iNdEx]
  45135. iNdEx++
  45136. wire |= (uint64(b) & 0x7F) << shift
  45137. if b < 0x80 {
  45138. break
  45139. }
  45140. }
  45141. fieldNum := int32(wire >> 3)
  45142. if fieldNum == 1 {
  45143. var stringLenmapkey uint64
  45144. for shift := uint(0); ; shift += 7 {
  45145. if shift >= 64 {
  45146. return ErrIntOverflowGenerated
  45147. }
  45148. if iNdEx >= l {
  45149. return io.ErrUnexpectedEOF
  45150. }
  45151. b := dAtA[iNdEx]
  45152. iNdEx++
  45153. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  45154. if b < 0x80 {
  45155. break
  45156. }
  45157. }
  45158. intStringLenmapkey := int(stringLenmapkey)
  45159. if intStringLenmapkey < 0 {
  45160. return ErrInvalidLengthGenerated
  45161. }
  45162. postStringIndexmapkey := iNdEx + intStringLenmapkey
  45163. if postStringIndexmapkey > l {
  45164. return io.ErrUnexpectedEOF
  45165. }
  45166. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  45167. iNdEx = postStringIndexmapkey
  45168. } else if fieldNum == 2 {
  45169. var stringLenmapvalue uint64
  45170. for shift := uint(0); ; shift += 7 {
  45171. if shift >= 64 {
  45172. return ErrIntOverflowGenerated
  45173. }
  45174. if iNdEx >= l {
  45175. return io.ErrUnexpectedEOF
  45176. }
  45177. b := dAtA[iNdEx]
  45178. iNdEx++
  45179. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  45180. if b < 0x80 {
  45181. break
  45182. }
  45183. }
  45184. intStringLenmapvalue := int(stringLenmapvalue)
  45185. if intStringLenmapvalue < 0 {
  45186. return ErrInvalidLengthGenerated
  45187. }
  45188. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  45189. if postStringIndexmapvalue > l {
  45190. return io.ErrUnexpectedEOF
  45191. }
  45192. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  45193. iNdEx = postStringIndexmapvalue
  45194. } else {
  45195. iNdEx = entryPreIndex
  45196. skippy, err := skipGenerated(dAtA[iNdEx:])
  45197. if err != nil {
  45198. return err
  45199. }
  45200. if skippy < 0 {
  45201. return ErrInvalidLengthGenerated
  45202. }
  45203. if (iNdEx + skippy) > postIndex {
  45204. return io.ErrUnexpectedEOF
  45205. }
  45206. iNdEx += skippy
  45207. }
  45208. }
  45209. m.StringData[mapkey] = mapvalue
  45210. iNdEx = postIndex
  45211. default:
  45212. iNdEx = preIndex
  45213. skippy, err := skipGenerated(dAtA[iNdEx:])
  45214. if err != nil {
  45215. return err
  45216. }
  45217. if skippy < 0 {
  45218. return ErrInvalidLengthGenerated
  45219. }
  45220. if (iNdEx + skippy) > l {
  45221. return io.ErrUnexpectedEOF
  45222. }
  45223. iNdEx += skippy
  45224. }
  45225. }
  45226. if iNdEx > l {
  45227. return io.ErrUnexpectedEOF
  45228. }
  45229. return nil
  45230. }
  45231. func (m *SecretEnvSource) Unmarshal(dAtA []byte) error {
  45232. l := len(dAtA)
  45233. iNdEx := 0
  45234. for iNdEx < l {
  45235. preIndex := iNdEx
  45236. var wire uint64
  45237. for shift := uint(0); ; shift += 7 {
  45238. if shift >= 64 {
  45239. return ErrIntOverflowGenerated
  45240. }
  45241. if iNdEx >= l {
  45242. return io.ErrUnexpectedEOF
  45243. }
  45244. b := dAtA[iNdEx]
  45245. iNdEx++
  45246. wire |= (uint64(b) & 0x7F) << shift
  45247. if b < 0x80 {
  45248. break
  45249. }
  45250. }
  45251. fieldNum := int32(wire >> 3)
  45252. wireType := int(wire & 0x7)
  45253. if wireType == 4 {
  45254. return fmt.Errorf("proto: SecretEnvSource: wiretype end group for non-group")
  45255. }
  45256. if fieldNum <= 0 {
  45257. return fmt.Errorf("proto: SecretEnvSource: illegal tag %d (wire type %d)", fieldNum, wire)
  45258. }
  45259. switch fieldNum {
  45260. case 1:
  45261. if wireType != 2 {
  45262. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  45263. }
  45264. var msglen int
  45265. for shift := uint(0); ; shift += 7 {
  45266. if shift >= 64 {
  45267. return ErrIntOverflowGenerated
  45268. }
  45269. if iNdEx >= l {
  45270. return io.ErrUnexpectedEOF
  45271. }
  45272. b := dAtA[iNdEx]
  45273. iNdEx++
  45274. msglen |= (int(b) & 0x7F) << shift
  45275. if b < 0x80 {
  45276. break
  45277. }
  45278. }
  45279. if msglen < 0 {
  45280. return ErrInvalidLengthGenerated
  45281. }
  45282. postIndex := iNdEx + msglen
  45283. if postIndex > l {
  45284. return io.ErrUnexpectedEOF
  45285. }
  45286. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45287. return err
  45288. }
  45289. iNdEx = postIndex
  45290. case 2:
  45291. if wireType != 0 {
  45292. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  45293. }
  45294. var v int
  45295. for shift := uint(0); ; shift += 7 {
  45296. if shift >= 64 {
  45297. return ErrIntOverflowGenerated
  45298. }
  45299. if iNdEx >= l {
  45300. return io.ErrUnexpectedEOF
  45301. }
  45302. b := dAtA[iNdEx]
  45303. iNdEx++
  45304. v |= (int(b) & 0x7F) << shift
  45305. if b < 0x80 {
  45306. break
  45307. }
  45308. }
  45309. b := bool(v != 0)
  45310. m.Optional = &b
  45311. default:
  45312. iNdEx = preIndex
  45313. skippy, err := skipGenerated(dAtA[iNdEx:])
  45314. if err != nil {
  45315. return err
  45316. }
  45317. if skippy < 0 {
  45318. return ErrInvalidLengthGenerated
  45319. }
  45320. if (iNdEx + skippy) > l {
  45321. return io.ErrUnexpectedEOF
  45322. }
  45323. iNdEx += skippy
  45324. }
  45325. }
  45326. if iNdEx > l {
  45327. return io.ErrUnexpectedEOF
  45328. }
  45329. return nil
  45330. }
  45331. func (m *SecretKeySelector) Unmarshal(dAtA []byte) error {
  45332. l := len(dAtA)
  45333. iNdEx := 0
  45334. for iNdEx < l {
  45335. preIndex := iNdEx
  45336. var wire uint64
  45337. for shift := uint(0); ; shift += 7 {
  45338. if shift >= 64 {
  45339. return ErrIntOverflowGenerated
  45340. }
  45341. if iNdEx >= l {
  45342. return io.ErrUnexpectedEOF
  45343. }
  45344. b := dAtA[iNdEx]
  45345. iNdEx++
  45346. wire |= (uint64(b) & 0x7F) << shift
  45347. if b < 0x80 {
  45348. break
  45349. }
  45350. }
  45351. fieldNum := int32(wire >> 3)
  45352. wireType := int(wire & 0x7)
  45353. if wireType == 4 {
  45354. return fmt.Errorf("proto: SecretKeySelector: wiretype end group for non-group")
  45355. }
  45356. if fieldNum <= 0 {
  45357. return fmt.Errorf("proto: SecretKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  45358. }
  45359. switch fieldNum {
  45360. case 1:
  45361. if wireType != 2 {
  45362. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  45363. }
  45364. var msglen int
  45365. for shift := uint(0); ; shift += 7 {
  45366. if shift >= 64 {
  45367. return ErrIntOverflowGenerated
  45368. }
  45369. if iNdEx >= l {
  45370. return io.ErrUnexpectedEOF
  45371. }
  45372. b := dAtA[iNdEx]
  45373. iNdEx++
  45374. msglen |= (int(b) & 0x7F) << shift
  45375. if b < 0x80 {
  45376. break
  45377. }
  45378. }
  45379. if msglen < 0 {
  45380. return ErrInvalidLengthGenerated
  45381. }
  45382. postIndex := iNdEx + msglen
  45383. if postIndex > l {
  45384. return io.ErrUnexpectedEOF
  45385. }
  45386. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45387. return err
  45388. }
  45389. iNdEx = postIndex
  45390. case 2:
  45391. if wireType != 2 {
  45392. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  45393. }
  45394. var stringLen uint64
  45395. for shift := uint(0); ; shift += 7 {
  45396. if shift >= 64 {
  45397. return ErrIntOverflowGenerated
  45398. }
  45399. if iNdEx >= l {
  45400. return io.ErrUnexpectedEOF
  45401. }
  45402. b := dAtA[iNdEx]
  45403. iNdEx++
  45404. stringLen |= (uint64(b) & 0x7F) << shift
  45405. if b < 0x80 {
  45406. break
  45407. }
  45408. }
  45409. intStringLen := int(stringLen)
  45410. if intStringLen < 0 {
  45411. return ErrInvalidLengthGenerated
  45412. }
  45413. postIndex := iNdEx + intStringLen
  45414. if postIndex > l {
  45415. return io.ErrUnexpectedEOF
  45416. }
  45417. m.Key = string(dAtA[iNdEx:postIndex])
  45418. iNdEx = postIndex
  45419. case 3:
  45420. if wireType != 0 {
  45421. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  45422. }
  45423. var v int
  45424. for shift := uint(0); ; shift += 7 {
  45425. if shift >= 64 {
  45426. return ErrIntOverflowGenerated
  45427. }
  45428. if iNdEx >= l {
  45429. return io.ErrUnexpectedEOF
  45430. }
  45431. b := dAtA[iNdEx]
  45432. iNdEx++
  45433. v |= (int(b) & 0x7F) << shift
  45434. if b < 0x80 {
  45435. break
  45436. }
  45437. }
  45438. b := bool(v != 0)
  45439. m.Optional = &b
  45440. default:
  45441. iNdEx = preIndex
  45442. skippy, err := skipGenerated(dAtA[iNdEx:])
  45443. if err != nil {
  45444. return err
  45445. }
  45446. if skippy < 0 {
  45447. return ErrInvalidLengthGenerated
  45448. }
  45449. if (iNdEx + skippy) > l {
  45450. return io.ErrUnexpectedEOF
  45451. }
  45452. iNdEx += skippy
  45453. }
  45454. }
  45455. if iNdEx > l {
  45456. return io.ErrUnexpectedEOF
  45457. }
  45458. return nil
  45459. }
  45460. func (m *SecretList) Unmarshal(dAtA []byte) error {
  45461. l := len(dAtA)
  45462. iNdEx := 0
  45463. for iNdEx < l {
  45464. preIndex := iNdEx
  45465. var wire uint64
  45466. for shift := uint(0); ; shift += 7 {
  45467. if shift >= 64 {
  45468. return ErrIntOverflowGenerated
  45469. }
  45470. if iNdEx >= l {
  45471. return io.ErrUnexpectedEOF
  45472. }
  45473. b := dAtA[iNdEx]
  45474. iNdEx++
  45475. wire |= (uint64(b) & 0x7F) << shift
  45476. if b < 0x80 {
  45477. break
  45478. }
  45479. }
  45480. fieldNum := int32(wire >> 3)
  45481. wireType := int(wire & 0x7)
  45482. if wireType == 4 {
  45483. return fmt.Errorf("proto: SecretList: wiretype end group for non-group")
  45484. }
  45485. if fieldNum <= 0 {
  45486. return fmt.Errorf("proto: SecretList: illegal tag %d (wire type %d)", fieldNum, wire)
  45487. }
  45488. switch fieldNum {
  45489. case 1:
  45490. if wireType != 2 {
  45491. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  45492. }
  45493. var msglen int
  45494. for shift := uint(0); ; shift += 7 {
  45495. if shift >= 64 {
  45496. return ErrIntOverflowGenerated
  45497. }
  45498. if iNdEx >= l {
  45499. return io.ErrUnexpectedEOF
  45500. }
  45501. b := dAtA[iNdEx]
  45502. iNdEx++
  45503. msglen |= (int(b) & 0x7F) << shift
  45504. if b < 0x80 {
  45505. break
  45506. }
  45507. }
  45508. if msglen < 0 {
  45509. return ErrInvalidLengthGenerated
  45510. }
  45511. postIndex := iNdEx + msglen
  45512. if postIndex > l {
  45513. return io.ErrUnexpectedEOF
  45514. }
  45515. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45516. return err
  45517. }
  45518. iNdEx = postIndex
  45519. case 2:
  45520. if wireType != 2 {
  45521. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  45522. }
  45523. var msglen int
  45524. for shift := uint(0); ; shift += 7 {
  45525. if shift >= 64 {
  45526. return ErrIntOverflowGenerated
  45527. }
  45528. if iNdEx >= l {
  45529. return io.ErrUnexpectedEOF
  45530. }
  45531. b := dAtA[iNdEx]
  45532. iNdEx++
  45533. msglen |= (int(b) & 0x7F) << shift
  45534. if b < 0x80 {
  45535. break
  45536. }
  45537. }
  45538. if msglen < 0 {
  45539. return ErrInvalidLengthGenerated
  45540. }
  45541. postIndex := iNdEx + msglen
  45542. if postIndex > l {
  45543. return io.ErrUnexpectedEOF
  45544. }
  45545. m.Items = append(m.Items, Secret{})
  45546. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45547. return err
  45548. }
  45549. iNdEx = postIndex
  45550. default:
  45551. iNdEx = preIndex
  45552. skippy, err := skipGenerated(dAtA[iNdEx:])
  45553. if err != nil {
  45554. return err
  45555. }
  45556. if skippy < 0 {
  45557. return ErrInvalidLengthGenerated
  45558. }
  45559. if (iNdEx + skippy) > l {
  45560. return io.ErrUnexpectedEOF
  45561. }
  45562. iNdEx += skippy
  45563. }
  45564. }
  45565. if iNdEx > l {
  45566. return io.ErrUnexpectedEOF
  45567. }
  45568. return nil
  45569. }
  45570. func (m *SecretProjection) Unmarshal(dAtA []byte) error {
  45571. l := len(dAtA)
  45572. iNdEx := 0
  45573. for iNdEx < l {
  45574. preIndex := iNdEx
  45575. var wire uint64
  45576. for shift := uint(0); ; shift += 7 {
  45577. if shift >= 64 {
  45578. return ErrIntOverflowGenerated
  45579. }
  45580. if iNdEx >= l {
  45581. return io.ErrUnexpectedEOF
  45582. }
  45583. b := dAtA[iNdEx]
  45584. iNdEx++
  45585. wire |= (uint64(b) & 0x7F) << shift
  45586. if b < 0x80 {
  45587. break
  45588. }
  45589. }
  45590. fieldNum := int32(wire >> 3)
  45591. wireType := int(wire & 0x7)
  45592. if wireType == 4 {
  45593. return fmt.Errorf("proto: SecretProjection: wiretype end group for non-group")
  45594. }
  45595. if fieldNum <= 0 {
  45596. return fmt.Errorf("proto: SecretProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  45597. }
  45598. switch fieldNum {
  45599. case 1:
  45600. if wireType != 2 {
  45601. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  45602. }
  45603. var msglen int
  45604. for shift := uint(0); ; shift += 7 {
  45605. if shift >= 64 {
  45606. return ErrIntOverflowGenerated
  45607. }
  45608. if iNdEx >= l {
  45609. return io.ErrUnexpectedEOF
  45610. }
  45611. b := dAtA[iNdEx]
  45612. iNdEx++
  45613. msglen |= (int(b) & 0x7F) << shift
  45614. if b < 0x80 {
  45615. break
  45616. }
  45617. }
  45618. if msglen < 0 {
  45619. return ErrInvalidLengthGenerated
  45620. }
  45621. postIndex := iNdEx + msglen
  45622. if postIndex > l {
  45623. return io.ErrUnexpectedEOF
  45624. }
  45625. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45626. return err
  45627. }
  45628. iNdEx = postIndex
  45629. case 2:
  45630. if wireType != 2 {
  45631. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  45632. }
  45633. var msglen int
  45634. for shift := uint(0); ; shift += 7 {
  45635. if shift >= 64 {
  45636. return ErrIntOverflowGenerated
  45637. }
  45638. if iNdEx >= l {
  45639. return io.ErrUnexpectedEOF
  45640. }
  45641. b := dAtA[iNdEx]
  45642. iNdEx++
  45643. msglen |= (int(b) & 0x7F) << shift
  45644. if b < 0x80 {
  45645. break
  45646. }
  45647. }
  45648. if msglen < 0 {
  45649. return ErrInvalidLengthGenerated
  45650. }
  45651. postIndex := iNdEx + msglen
  45652. if postIndex > l {
  45653. return io.ErrUnexpectedEOF
  45654. }
  45655. m.Items = append(m.Items, KeyToPath{})
  45656. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45657. return err
  45658. }
  45659. iNdEx = postIndex
  45660. case 4:
  45661. if wireType != 0 {
  45662. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  45663. }
  45664. var v int
  45665. for shift := uint(0); ; shift += 7 {
  45666. if shift >= 64 {
  45667. return ErrIntOverflowGenerated
  45668. }
  45669. if iNdEx >= l {
  45670. return io.ErrUnexpectedEOF
  45671. }
  45672. b := dAtA[iNdEx]
  45673. iNdEx++
  45674. v |= (int(b) & 0x7F) << shift
  45675. if b < 0x80 {
  45676. break
  45677. }
  45678. }
  45679. b := bool(v != 0)
  45680. m.Optional = &b
  45681. default:
  45682. iNdEx = preIndex
  45683. skippy, err := skipGenerated(dAtA[iNdEx:])
  45684. if err != nil {
  45685. return err
  45686. }
  45687. if skippy < 0 {
  45688. return ErrInvalidLengthGenerated
  45689. }
  45690. if (iNdEx + skippy) > l {
  45691. return io.ErrUnexpectedEOF
  45692. }
  45693. iNdEx += skippy
  45694. }
  45695. }
  45696. if iNdEx > l {
  45697. return io.ErrUnexpectedEOF
  45698. }
  45699. return nil
  45700. }
  45701. func (m *SecretReference) Unmarshal(dAtA []byte) error {
  45702. l := len(dAtA)
  45703. iNdEx := 0
  45704. for iNdEx < l {
  45705. preIndex := iNdEx
  45706. var wire uint64
  45707. for shift := uint(0); ; shift += 7 {
  45708. if shift >= 64 {
  45709. return ErrIntOverflowGenerated
  45710. }
  45711. if iNdEx >= l {
  45712. return io.ErrUnexpectedEOF
  45713. }
  45714. b := dAtA[iNdEx]
  45715. iNdEx++
  45716. wire |= (uint64(b) & 0x7F) << shift
  45717. if b < 0x80 {
  45718. break
  45719. }
  45720. }
  45721. fieldNum := int32(wire >> 3)
  45722. wireType := int(wire & 0x7)
  45723. if wireType == 4 {
  45724. return fmt.Errorf("proto: SecretReference: wiretype end group for non-group")
  45725. }
  45726. if fieldNum <= 0 {
  45727. return fmt.Errorf("proto: SecretReference: illegal tag %d (wire type %d)", fieldNum, wire)
  45728. }
  45729. switch fieldNum {
  45730. case 1:
  45731. if wireType != 2 {
  45732. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  45733. }
  45734. var stringLen uint64
  45735. for shift := uint(0); ; shift += 7 {
  45736. if shift >= 64 {
  45737. return ErrIntOverflowGenerated
  45738. }
  45739. if iNdEx >= l {
  45740. return io.ErrUnexpectedEOF
  45741. }
  45742. b := dAtA[iNdEx]
  45743. iNdEx++
  45744. stringLen |= (uint64(b) & 0x7F) << shift
  45745. if b < 0x80 {
  45746. break
  45747. }
  45748. }
  45749. intStringLen := int(stringLen)
  45750. if intStringLen < 0 {
  45751. return ErrInvalidLengthGenerated
  45752. }
  45753. postIndex := iNdEx + intStringLen
  45754. if postIndex > l {
  45755. return io.ErrUnexpectedEOF
  45756. }
  45757. m.Name = string(dAtA[iNdEx:postIndex])
  45758. iNdEx = postIndex
  45759. case 2:
  45760. if wireType != 2 {
  45761. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  45762. }
  45763. var stringLen uint64
  45764. for shift := uint(0); ; shift += 7 {
  45765. if shift >= 64 {
  45766. return ErrIntOverflowGenerated
  45767. }
  45768. if iNdEx >= l {
  45769. return io.ErrUnexpectedEOF
  45770. }
  45771. b := dAtA[iNdEx]
  45772. iNdEx++
  45773. stringLen |= (uint64(b) & 0x7F) << shift
  45774. if b < 0x80 {
  45775. break
  45776. }
  45777. }
  45778. intStringLen := int(stringLen)
  45779. if intStringLen < 0 {
  45780. return ErrInvalidLengthGenerated
  45781. }
  45782. postIndex := iNdEx + intStringLen
  45783. if postIndex > l {
  45784. return io.ErrUnexpectedEOF
  45785. }
  45786. m.Namespace = string(dAtA[iNdEx:postIndex])
  45787. iNdEx = postIndex
  45788. default:
  45789. iNdEx = preIndex
  45790. skippy, err := skipGenerated(dAtA[iNdEx:])
  45791. if err != nil {
  45792. return err
  45793. }
  45794. if skippy < 0 {
  45795. return ErrInvalidLengthGenerated
  45796. }
  45797. if (iNdEx + skippy) > l {
  45798. return io.ErrUnexpectedEOF
  45799. }
  45800. iNdEx += skippy
  45801. }
  45802. }
  45803. if iNdEx > l {
  45804. return io.ErrUnexpectedEOF
  45805. }
  45806. return nil
  45807. }
  45808. func (m *SecretVolumeSource) Unmarshal(dAtA []byte) error {
  45809. l := len(dAtA)
  45810. iNdEx := 0
  45811. for iNdEx < l {
  45812. preIndex := iNdEx
  45813. var wire uint64
  45814. for shift := uint(0); ; shift += 7 {
  45815. if shift >= 64 {
  45816. return ErrIntOverflowGenerated
  45817. }
  45818. if iNdEx >= l {
  45819. return io.ErrUnexpectedEOF
  45820. }
  45821. b := dAtA[iNdEx]
  45822. iNdEx++
  45823. wire |= (uint64(b) & 0x7F) << shift
  45824. if b < 0x80 {
  45825. break
  45826. }
  45827. }
  45828. fieldNum := int32(wire >> 3)
  45829. wireType := int(wire & 0x7)
  45830. if wireType == 4 {
  45831. return fmt.Errorf("proto: SecretVolumeSource: wiretype end group for non-group")
  45832. }
  45833. if fieldNum <= 0 {
  45834. return fmt.Errorf("proto: SecretVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  45835. }
  45836. switch fieldNum {
  45837. case 1:
  45838. if wireType != 2 {
  45839. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  45840. }
  45841. var stringLen uint64
  45842. for shift := uint(0); ; shift += 7 {
  45843. if shift >= 64 {
  45844. return ErrIntOverflowGenerated
  45845. }
  45846. if iNdEx >= l {
  45847. return io.ErrUnexpectedEOF
  45848. }
  45849. b := dAtA[iNdEx]
  45850. iNdEx++
  45851. stringLen |= (uint64(b) & 0x7F) << shift
  45852. if b < 0x80 {
  45853. break
  45854. }
  45855. }
  45856. intStringLen := int(stringLen)
  45857. if intStringLen < 0 {
  45858. return ErrInvalidLengthGenerated
  45859. }
  45860. postIndex := iNdEx + intStringLen
  45861. if postIndex > l {
  45862. return io.ErrUnexpectedEOF
  45863. }
  45864. m.SecretName = string(dAtA[iNdEx:postIndex])
  45865. iNdEx = postIndex
  45866. case 2:
  45867. if wireType != 2 {
  45868. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  45869. }
  45870. var msglen int
  45871. for shift := uint(0); ; shift += 7 {
  45872. if shift >= 64 {
  45873. return ErrIntOverflowGenerated
  45874. }
  45875. if iNdEx >= l {
  45876. return io.ErrUnexpectedEOF
  45877. }
  45878. b := dAtA[iNdEx]
  45879. iNdEx++
  45880. msglen |= (int(b) & 0x7F) << shift
  45881. if b < 0x80 {
  45882. break
  45883. }
  45884. }
  45885. if msglen < 0 {
  45886. return ErrInvalidLengthGenerated
  45887. }
  45888. postIndex := iNdEx + msglen
  45889. if postIndex > l {
  45890. return io.ErrUnexpectedEOF
  45891. }
  45892. m.Items = append(m.Items, KeyToPath{})
  45893. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45894. return err
  45895. }
  45896. iNdEx = postIndex
  45897. case 3:
  45898. if wireType != 0 {
  45899. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  45900. }
  45901. var v int32
  45902. for shift := uint(0); ; shift += 7 {
  45903. if shift >= 64 {
  45904. return ErrIntOverflowGenerated
  45905. }
  45906. if iNdEx >= l {
  45907. return io.ErrUnexpectedEOF
  45908. }
  45909. b := dAtA[iNdEx]
  45910. iNdEx++
  45911. v |= (int32(b) & 0x7F) << shift
  45912. if b < 0x80 {
  45913. break
  45914. }
  45915. }
  45916. m.DefaultMode = &v
  45917. case 4:
  45918. if wireType != 0 {
  45919. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  45920. }
  45921. var v int
  45922. for shift := uint(0); ; shift += 7 {
  45923. if shift >= 64 {
  45924. return ErrIntOverflowGenerated
  45925. }
  45926. if iNdEx >= l {
  45927. return io.ErrUnexpectedEOF
  45928. }
  45929. b := dAtA[iNdEx]
  45930. iNdEx++
  45931. v |= (int(b) & 0x7F) << shift
  45932. if b < 0x80 {
  45933. break
  45934. }
  45935. }
  45936. b := bool(v != 0)
  45937. m.Optional = &b
  45938. default:
  45939. iNdEx = preIndex
  45940. skippy, err := skipGenerated(dAtA[iNdEx:])
  45941. if err != nil {
  45942. return err
  45943. }
  45944. if skippy < 0 {
  45945. return ErrInvalidLengthGenerated
  45946. }
  45947. if (iNdEx + skippy) > l {
  45948. return io.ErrUnexpectedEOF
  45949. }
  45950. iNdEx += skippy
  45951. }
  45952. }
  45953. if iNdEx > l {
  45954. return io.ErrUnexpectedEOF
  45955. }
  45956. return nil
  45957. }
  45958. func (m *SecurityContext) Unmarshal(dAtA []byte) error {
  45959. l := len(dAtA)
  45960. iNdEx := 0
  45961. for iNdEx < l {
  45962. preIndex := iNdEx
  45963. var wire uint64
  45964. for shift := uint(0); ; shift += 7 {
  45965. if shift >= 64 {
  45966. return ErrIntOverflowGenerated
  45967. }
  45968. if iNdEx >= l {
  45969. return io.ErrUnexpectedEOF
  45970. }
  45971. b := dAtA[iNdEx]
  45972. iNdEx++
  45973. wire |= (uint64(b) & 0x7F) << shift
  45974. if b < 0x80 {
  45975. break
  45976. }
  45977. }
  45978. fieldNum := int32(wire >> 3)
  45979. wireType := int(wire & 0x7)
  45980. if wireType == 4 {
  45981. return fmt.Errorf("proto: SecurityContext: wiretype end group for non-group")
  45982. }
  45983. if fieldNum <= 0 {
  45984. return fmt.Errorf("proto: SecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  45985. }
  45986. switch fieldNum {
  45987. case 1:
  45988. if wireType != 2 {
  45989. return fmt.Errorf("proto: wrong wireType = %d for field Capabilities", wireType)
  45990. }
  45991. var msglen int
  45992. for shift := uint(0); ; shift += 7 {
  45993. if shift >= 64 {
  45994. return ErrIntOverflowGenerated
  45995. }
  45996. if iNdEx >= l {
  45997. return io.ErrUnexpectedEOF
  45998. }
  45999. b := dAtA[iNdEx]
  46000. iNdEx++
  46001. msglen |= (int(b) & 0x7F) << shift
  46002. if b < 0x80 {
  46003. break
  46004. }
  46005. }
  46006. if msglen < 0 {
  46007. return ErrInvalidLengthGenerated
  46008. }
  46009. postIndex := iNdEx + msglen
  46010. if postIndex > l {
  46011. return io.ErrUnexpectedEOF
  46012. }
  46013. if m.Capabilities == nil {
  46014. m.Capabilities = &Capabilities{}
  46015. }
  46016. if err := m.Capabilities.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46017. return err
  46018. }
  46019. iNdEx = postIndex
  46020. case 2:
  46021. if wireType != 0 {
  46022. return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
  46023. }
  46024. var v int
  46025. for shift := uint(0); ; shift += 7 {
  46026. if shift >= 64 {
  46027. return ErrIntOverflowGenerated
  46028. }
  46029. if iNdEx >= l {
  46030. return io.ErrUnexpectedEOF
  46031. }
  46032. b := dAtA[iNdEx]
  46033. iNdEx++
  46034. v |= (int(b) & 0x7F) << shift
  46035. if b < 0x80 {
  46036. break
  46037. }
  46038. }
  46039. b := bool(v != 0)
  46040. m.Privileged = &b
  46041. case 3:
  46042. if wireType != 2 {
  46043. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  46044. }
  46045. var msglen int
  46046. for shift := uint(0); ; shift += 7 {
  46047. if shift >= 64 {
  46048. return ErrIntOverflowGenerated
  46049. }
  46050. if iNdEx >= l {
  46051. return io.ErrUnexpectedEOF
  46052. }
  46053. b := dAtA[iNdEx]
  46054. iNdEx++
  46055. msglen |= (int(b) & 0x7F) << shift
  46056. if b < 0x80 {
  46057. break
  46058. }
  46059. }
  46060. if msglen < 0 {
  46061. return ErrInvalidLengthGenerated
  46062. }
  46063. postIndex := iNdEx + msglen
  46064. if postIndex > l {
  46065. return io.ErrUnexpectedEOF
  46066. }
  46067. if m.SELinuxOptions == nil {
  46068. m.SELinuxOptions = &SELinuxOptions{}
  46069. }
  46070. if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46071. return err
  46072. }
  46073. iNdEx = postIndex
  46074. case 4:
  46075. if wireType != 0 {
  46076. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  46077. }
  46078. var v int64
  46079. for shift := uint(0); ; shift += 7 {
  46080. if shift >= 64 {
  46081. return ErrIntOverflowGenerated
  46082. }
  46083. if iNdEx >= l {
  46084. return io.ErrUnexpectedEOF
  46085. }
  46086. b := dAtA[iNdEx]
  46087. iNdEx++
  46088. v |= (int64(b) & 0x7F) << shift
  46089. if b < 0x80 {
  46090. break
  46091. }
  46092. }
  46093. m.RunAsUser = &v
  46094. case 5:
  46095. if wireType != 0 {
  46096. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  46097. }
  46098. var v int
  46099. for shift := uint(0); ; shift += 7 {
  46100. if shift >= 64 {
  46101. return ErrIntOverflowGenerated
  46102. }
  46103. if iNdEx >= l {
  46104. return io.ErrUnexpectedEOF
  46105. }
  46106. b := dAtA[iNdEx]
  46107. iNdEx++
  46108. v |= (int(b) & 0x7F) << shift
  46109. if b < 0x80 {
  46110. break
  46111. }
  46112. }
  46113. b := bool(v != 0)
  46114. m.RunAsNonRoot = &b
  46115. case 6:
  46116. if wireType != 0 {
  46117. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
  46118. }
  46119. var v int
  46120. for shift := uint(0); ; shift += 7 {
  46121. if shift >= 64 {
  46122. return ErrIntOverflowGenerated
  46123. }
  46124. if iNdEx >= l {
  46125. return io.ErrUnexpectedEOF
  46126. }
  46127. b := dAtA[iNdEx]
  46128. iNdEx++
  46129. v |= (int(b) & 0x7F) << shift
  46130. if b < 0x80 {
  46131. break
  46132. }
  46133. }
  46134. b := bool(v != 0)
  46135. m.ReadOnlyRootFilesystem = &b
  46136. case 7:
  46137. if wireType != 0 {
  46138. return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
  46139. }
  46140. var v int
  46141. for shift := uint(0); ; shift += 7 {
  46142. if shift >= 64 {
  46143. return ErrIntOverflowGenerated
  46144. }
  46145. if iNdEx >= l {
  46146. return io.ErrUnexpectedEOF
  46147. }
  46148. b := dAtA[iNdEx]
  46149. iNdEx++
  46150. v |= (int(b) & 0x7F) << shift
  46151. if b < 0x80 {
  46152. break
  46153. }
  46154. }
  46155. b := bool(v != 0)
  46156. m.AllowPrivilegeEscalation = &b
  46157. case 8:
  46158. if wireType != 0 {
  46159. return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
  46160. }
  46161. var v int64
  46162. for shift := uint(0); ; shift += 7 {
  46163. if shift >= 64 {
  46164. return ErrIntOverflowGenerated
  46165. }
  46166. if iNdEx >= l {
  46167. return io.ErrUnexpectedEOF
  46168. }
  46169. b := dAtA[iNdEx]
  46170. iNdEx++
  46171. v |= (int64(b) & 0x7F) << shift
  46172. if b < 0x80 {
  46173. break
  46174. }
  46175. }
  46176. m.RunAsGroup = &v
  46177. case 9:
  46178. if wireType != 2 {
  46179. return fmt.Errorf("proto: wrong wireType = %d for field ProcMount", wireType)
  46180. }
  46181. var stringLen uint64
  46182. for shift := uint(0); ; shift += 7 {
  46183. if shift >= 64 {
  46184. return ErrIntOverflowGenerated
  46185. }
  46186. if iNdEx >= l {
  46187. return io.ErrUnexpectedEOF
  46188. }
  46189. b := dAtA[iNdEx]
  46190. iNdEx++
  46191. stringLen |= (uint64(b) & 0x7F) << shift
  46192. if b < 0x80 {
  46193. break
  46194. }
  46195. }
  46196. intStringLen := int(stringLen)
  46197. if intStringLen < 0 {
  46198. return ErrInvalidLengthGenerated
  46199. }
  46200. postIndex := iNdEx + intStringLen
  46201. if postIndex > l {
  46202. return io.ErrUnexpectedEOF
  46203. }
  46204. s := ProcMountType(dAtA[iNdEx:postIndex])
  46205. m.ProcMount = &s
  46206. iNdEx = postIndex
  46207. default:
  46208. iNdEx = preIndex
  46209. skippy, err := skipGenerated(dAtA[iNdEx:])
  46210. if err != nil {
  46211. return err
  46212. }
  46213. if skippy < 0 {
  46214. return ErrInvalidLengthGenerated
  46215. }
  46216. if (iNdEx + skippy) > l {
  46217. return io.ErrUnexpectedEOF
  46218. }
  46219. iNdEx += skippy
  46220. }
  46221. }
  46222. if iNdEx > l {
  46223. return io.ErrUnexpectedEOF
  46224. }
  46225. return nil
  46226. }
  46227. func (m *SerializedReference) Unmarshal(dAtA []byte) error {
  46228. l := len(dAtA)
  46229. iNdEx := 0
  46230. for iNdEx < l {
  46231. preIndex := iNdEx
  46232. var wire uint64
  46233. for shift := uint(0); ; shift += 7 {
  46234. if shift >= 64 {
  46235. return ErrIntOverflowGenerated
  46236. }
  46237. if iNdEx >= l {
  46238. return io.ErrUnexpectedEOF
  46239. }
  46240. b := dAtA[iNdEx]
  46241. iNdEx++
  46242. wire |= (uint64(b) & 0x7F) << shift
  46243. if b < 0x80 {
  46244. break
  46245. }
  46246. }
  46247. fieldNum := int32(wire >> 3)
  46248. wireType := int(wire & 0x7)
  46249. if wireType == 4 {
  46250. return fmt.Errorf("proto: SerializedReference: wiretype end group for non-group")
  46251. }
  46252. if fieldNum <= 0 {
  46253. return fmt.Errorf("proto: SerializedReference: illegal tag %d (wire type %d)", fieldNum, wire)
  46254. }
  46255. switch fieldNum {
  46256. case 1:
  46257. if wireType != 2 {
  46258. return fmt.Errorf("proto: wrong wireType = %d for field Reference", wireType)
  46259. }
  46260. var msglen int
  46261. for shift := uint(0); ; shift += 7 {
  46262. if shift >= 64 {
  46263. return ErrIntOverflowGenerated
  46264. }
  46265. if iNdEx >= l {
  46266. return io.ErrUnexpectedEOF
  46267. }
  46268. b := dAtA[iNdEx]
  46269. iNdEx++
  46270. msglen |= (int(b) & 0x7F) << shift
  46271. if b < 0x80 {
  46272. break
  46273. }
  46274. }
  46275. if msglen < 0 {
  46276. return ErrInvalidLengthGenerated
  46277. }
  46278. postIndex := iNdEx + msglen
  46279. if postIndex > l {
  46280. return io.ErrUnexpectedEOF
  46281. }
  46282. if err := m.Reference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46283. return err
  46284. }
  46285. iNdEx = postIndex
  46286. default:
  46287. iNdEx = preIndex
  46288. skippy, err := skipGenerated(dAtA[iNdEx:])
  46289. if err != nil {
  46290. return err
  46291. }
  46292. if skippy < 0 {
  46293. return ErrInvalidLengthGenerated
  46294. }
  46295. if (iNdEx + skippy) > l {
  46296. return io.ErrUnexpectedEOF
  46297. }
  46298. iNdEx += skippy
  46299. }
  46300. }
  46301. if iNdEx > l {
  46302. return io.ErrUnexpectedEOF
  46303. }
  46304. return nil
  46305. }
  46306. func (m *Service) Unmarshal(dAtA []byte) error {
  46307. l := len(dAtA)
  46308. iNdEx := 0
  46309. for iNdEx < l {
  46310. preIndex := iNdEx
  46311. var wire uint64
  46312. for shift := uint(0); ; shift += 7 {
  46313. if shift >= 64 {
  46314. return ErrIntOverflowGenerated
  46315. }
  46316. if iNdEx >= l {
  46317. return io.ErrUnexpectedEOF
  46318. }
  46319. b := dAtA[iNdEx]
  46320. iNdEx++
  46321. wire |= (uint64(b) & 0x7F) << shift
  46322. if b < 0x80 {
  46323. break
  46324. }
  46325. }
  46326. fieldNum := int32(wire >> 3)
  46327. wireType := int(wire & 0x7)
  46328. if wireType == 4 {
  46329. return fmt.Errorf("proto: Service: wiretype end group for non-group")
  46330. }
  46331. if fieldNum <= 0 {
  46332. return fmt.Errorf("proto: Service: illegal tag %d (wire type %d)", fieldNum, wire)
  46333. }
  46334. switch fieldNum {
  46335. case 1:
  46336. if wireType != 2 {
  46337. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  46338. }
  46339. var msglen int
  46340. for shift := uint(0); ; shift += 7 {
  46341. if shift >= 64 {
  46342. return ErrIntOverflowGenerated
  46343. }
  46344. if iNdEx >= l {
  46345. return io.ErrUnexpectedEOF
  46346. }
  46347. b := dAtA[iNdEx]
  46348. iNdEx++
  46349. msglen |= (int(b) & 0x7F) << shift
  46350. if b < 0x80 {
  46351. break
  46352. }
  46353. }
  46354. if msglen < 0 {
  46355. return ErrInvalidLengthGenerated
  46356. }
  46357. postIndex := iNdEx + msglen
  46358. if postIndex > l {
  46359. return io.ErrUnexpectedEOF
  46360. }
  46361. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46362. return err
  46363. }
  46364. iNdEx = postIndex
  46365. case 2:
  46366. if wireType != 2 {
  46367. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  46368. }
  46369. var msglen int
  46370. for shift := uint(0); ; shift += 7 {
  46371. if shift >= 64 {
  46372. return ErrIntOverflowGenerated
  46373. }
  46374. if iNdEx >= l {
  46375. return io.ErrUnexpectedEOF
  46376. }
  46377. b := dAtA[iNdEx]
  46378. iNdEx++
  46379. msglen |= (int(b) & 0x7F) << shift
  46380. if b < 0x80 {
  46381. break
  46382. }
  46383. }
  46384. if msglen < 0 {
  46385. return ErrInvalidLengthGenerated
  46386. }
  46387. postIndex := iNdEx + msglen
  46388. if postIndex > l {
  46389. return io.ErrUnexpectedEOF
  46390. }
  46391. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46392. return err
  46393. }
  46394. iNdEx = postIndex
  46395. case 3:
  46396. if wireType != 2 {
  46397. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  46398. }
  46399. var msglen int
  46400. for shift := uint(0); ; shift += 7 {
  46401. if shift >= 64 {
  46402. return ErrIntOverflowGenerated
  46403. }
  46404. if iNdEx >= l {
  46405. return io.ErrUnexpectedEOF
  46406. }
  46407. b := dAtA[iNdEx]
  46408. iNdEx++
  46409. msglen |= (int(b) & 0x7F) << shift
  46410. if b < 0x80 {
  46411. break
  46412. }
  46413. }
  46414. if msglen < 0 {
  46415. return ErrInvalidLengthGenerated
  46416. }
  46417. postIndex := iNdEx + msglen
  46418. if postIndex > l {
  46419. return io.ErrUnexpectedEOF
  46420. }
  46421. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46422. return err
  46423. }
  46424. iNdEx = postIndex
  46425. default:
  46426. iNdEx = preIndex
  46427. skippy, err := skipGenerated(dAtA[iNdEx:])
  46428. if err != nil {
  46429. return err
  46430. }
  46431. if skippy < 0 {
  46432. return ErrInvalidLengthGenerated
  46433. }
  46434. if (iNdEx + skippy) > l {
  46435. return io.ErrUnexpectedEOF
  46436. }
  46437. iNdEx += skippy
  46438. }
  46439. }
  46440. if iNdEx > l {
  46441. return io.ErrUnexpectedEOF
  46442. }
  46443. return nil
  46444. }
  46445. func (m *ServiceAccount) Unmarshal(dAtA []byte) error {
  46446. l := len(dAtA)
  46447. iNdEx := 0
  46448. for iNdEx < l {
  46449. preIndex := iNdEx
  46450. var wire uint64
  46451. for shift := uint(0); ; shift += 7 {
  46452. if shift >= 64 {
  46453. return ErrIntOverflowGenerated
  46454. }
  46455. if iNdEx >= l {
  46456. return io.ErrUnexpectedEOF
  46457. }
  46458. b := dAtA[iNdEx]
  46459. iNdEx++
  46460. wire |= (uint64(b) & 0x7F) << shift
  46461. if b < 0x80 {
  46462. break
  46463. }
  46464. }
  46465. fieldNum := int32(wire >> 3)
  46466. wireType := int(wire & 0x7)
  46467. if wireType == 4 {
  46468. return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group")
  46469. }
  46470. if fieldNum <= 0 {
  46471. return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire)
  46472. }
  46473. switch fieldNum {
  46474. case 1:
  46475. if wireType != 2 {
  46476. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  46477. }
  46478. var msglen int
  46479. for shift := uint(0); ; shift += 7 {
  46480. if shift >= 64 {
  46481. return ErrIntOverflowGenerated
  46482. }
  46483. if iNdEx >= l {
  46484. return io.ErrUnexpectedEOF
  46485. }
  46486. b := dAtA[iNdEx]
  46487. iNdEx++
  46488. msglen |= (int(b) & 0x7F) << shift
  46489. if b < 0x80 {
  46490. break
  46491. }
  46492. }
  46493. if msglen < 0 {
  46494. return ErrInvalidLengthGenerated
  46495. }
  46496. postIndex := iNdEx + msglen
  46497. if postIndex > l {
  46498. return io.ErrUnexpectedEOF
  46499. }
  46500. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46501. return err
  46502. }
  46503. iNdEx = postIndex
  46504. case 2:
  46505. if wireType != 2 {
  46506. return fmt.Errorf("proto: wrong wireType = %d for field Secrets", wireType)
  46507. }
  46508. var msglen int
  46509. for shift := uint(0); ; shift += 7 {
  46510. if shift >= 64 {
  46511. return ErrIntOverflowGenerated
  46512. }
  46513. if iNdEx >= l {
  46514. return io.ErrUnexpectedEOF
  46515. }
  46516. b := dAtA[iNdEx]
  46517. iNdEx++
  46518. msglen |= (int(b) & 0x7F) << shift
  46519. if b < 0x80 {
  46520. break
  46521. }
  46522. }
  46523. if msglen < 0 {
  46524. return ErrInvalidLengthGenerated
  46525. }
  46526. postIndex := iNdEx + msglen
  46527. if postIndex > l {
  46528. return io.ErrUnexpectedEOF
  46529. }
  46530. m.Secrets = append(m.Secrets, ObjectReference{})
  46531. if err := m.Secrets[len(m.Secrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46532. return err
  46533. }
  46534. iNdEx = postIndex
  46535. case 3:
  46536. if wireType != 2 {
  46537. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  46538. }
  46539. var msglen int
  46540. for shift := uint(0); ; shift += 7 {
  46541. if shift >= 64 {
  46542. return ErrIntOverflowGenerated
  46543. }
  46544. if iNdEx >= l {
  46545. return io.ErrUnexpectedEOF
  46546. }
  46547. b := dAtA[iNdEx]
  46548. iNdEx++
  46549. msglen |= (int(b) & 0x7F) << shift
  46550. if b < 0x80 {
  46551. break
  46552. }
  46553. }
  46554. if msglen < 0 {
  46555. return ErrInvalidLengthGenerated
  46556. }
  46557. postIndex := iNdEx + msglen
  46558. if postIndex > l {
  46559. return io.ErrUnexpectedEOF
  46560. }
  46561. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  46562. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46563. return err
  46564. }
  46565. iNdEx = postIndex
  46566. case 4:
  46567. if wireType != 0 {
  46568. return fmt.Errorf("proto: wrong wireType = %d for field AutomountServiceAccountToken", wireType)
  46569. }
  46570. var v int
  46571. for shift := uint(0); ; shift += 7 {
  46572. if shift >= 64 {
  46573. return ErrIntOverflowGenerated
  46574. }
  46575. if iNdEx >= l {
  46576. return io.ErrUnexpectedEOF
  46577. }
  46578. b := dAtA[iNdEx]
  46579. iNdEx++
  46580. v |= (int(b) & 0x7F) << shift
  46581. if b < 0x80 {
  46582. break
  46583. }
  46584. }
  46585. b := bool(v != 0)
  46586. m.AutomountServiceAccountToken = &b
  46587. default:
  46588. iNdEx = preIndex
  46589. skippy, err := skipGenerated(dAtA[iNdEx:])
  46590. if err != nil {
  46591. return err
  46592. }
  46593. if skippy < 0 {
  46594. return ErrInvalidLengthGenerated
  46595. }
  46596. if (iNdEx + skippy) > l {
  46597. return io.ErrUnexpectedEOF
  46598. }
  46599. iNdEx += skippy
  46600. }
  46601. }
  46602. if iNdEx > l {
  46603. return io.ErrUnexpectedEOF
  46604. }
  46605. return nil
  46606. }
  46607. func (m *ServiceAccountList) Unmarshal(dAtA []byte) error {
  46608. l := len(dAtA)
  46609. iNdEx := 0
  46610. for iNdEx < l {
  46611. preIndex := iNdEx
  46612. var wire uint64
  46613. for shift := uint(0); ; shift += 7 {
  46614. if shift >= 64 {
  46615. return ErrIntOverflowGenerated
  46616. }
  46617. if iNdEx >= l {
  46618. return io.ErrUnexpectedEOF
  46619. }
  46620. b := dAtA[iNdEx]
  46621. iNdEx++
  46622. wire |= (uint64(b) & 0x7F) << shift
  46623. if b < 0x80 {
  46624. break
  46625. }
  46626. }
  46627. fieldNum := int32(wire >> 3)
  46628. wireType := int(wire & 0x7)
  46629. if wireType == 4 {
  46630. return fmt.Errorf("proto: ServiceAccountList: wiretype end group for non-group")
  46631. }
  46632. if fieldNum <= 0 {
  46633. return fmt.Errorf("proto: ServiceAccountList: illegal tag %d (wire type %d)", fieldNum, wire)
  46634. }
  46635. switch fieldNum {
  46636. case 1:
  46637. if wireType != 2 {
  46638. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  46639. }
  46640. var msglen int
  46641. for shift := uint(0); ; shift += 7 {
  46642. if shift >= 64 {
  46643. return ErrIntOverflowGenerated
  46644. }
  46645. if iNdEx >= l {
  46646. return io.ErrUnexpectedEOF
  46647. }
  46648. b := dAtA[iNdEx]
  46649. iNdEx++
  46650. msglen |= (int(b) & 0x7F) << shift
  46651. if b < 0x80 {
  46652. break
  46653. }
  46654. }
  46655. if msglen < 0 {
  46656. return ErrInvalidLengthGenerated
  46657. }
  46658. postIndex := iNdEx + msglen
  46659. if postIndex > l {
  46660. return io.ErrUnexpectedEOF
  46661. }
  46662. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46663. return err
  46664. }
  46665. iNdEx = postIndex
  46666. case 2:
  46667. if wireType != 2 {
  46668. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  46669. }
  46670. var msglen int
  46671. for shift := uint(0); ; shift += 7 {
  46672. if shift >= 64 {
  46673. return ErrIntOverflowGenerated
  46674. }
  46675. if iNdEx >= l {
  46676. return io.ErrUnexpectedEOF
  46677. }
  46678. b := dAtA[iNdEx]
  46679. iNdEx++
  46680. msglen |= (int(b) & 0x7F) << shift
  46681. if b < 0x80 {
  46682. break
  46683. }
  46684. }
  46685. if msglen < 0 {
  46686. return ErrInvalidLengthGenerated
  46687. }
  46688. postIndex := iNdEx + msglen
  46689. if postIndex > l {
  46690. return io.ErrUnexpectedEOF
  46691. }
  46692. m.Items = append(m.Items, ServiceAccount{})
  46693. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46694. return err
  46695. }
  46696. iNdEx = postIndex
  46697. default:
  46698. iNdEx = preIndex
  46699. skippy, err := skipGenerated(dAtA[iNdEx:])
  46700. if err != nil {
  46701. return err
  46702. }
  46703. if skippy < 0 {
  46704. return ErrInvalidLengthGenerated
  46705. }
  46706. if (iNdEx + skippy) > l {
  46707. return io.ErrUnexpectedEOF
  46708. }
  46709. iNdEx += skippy
  46710. }
  46711. }
  46712. if iNdEx > l {
  46713. return io.ErrUnexpectedEOF
  46714. }
  46715. return nil
  46716. }
  46717. func (m *ServiceAccountTokenProjection) Unmarshal(dAtA []byte) error {
  46718. l := len(dAtA)
  46719. iNdEx := 0
  46720. for iNdEx < l {
  46721. preIndex := iNdEx
  46722. var wire uint64
  46723. for shift := uint(0); ; shift += 7 {
  46724. if shift >= 64 {
  46725. return ErrIntOverflowGenerated
  46726. }
  46727. if iNdEx >= l {
  46728. return io.ErrUnexpectedEOF
  46729. }
  46730. b := dAtA[iNdEx]
  46731. iNdEx++
  46732. wire |= (uint64(b) & 0x7F) << shift
  46733. if b < 0x80 {
  46734. break
  46735. }
  46736. }
  46737. fieldNum := int32(wire >> 3)
  46738. wireType := int(wire & 0x7)
  46739. if wireType == 4 {
  46740. return fmt.Errorf("proto: ServiceAccountTokenProjection: wiretype end group for non-group")
  46741. }
  46742. if fieldNum <= 0 {
  46743. return fmt.Errorf("proto: ServiceAccountTokenProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  46744. }
  46745. switch fieldNum {
  46746. case 1:
  46747. if wireType != 2 {
  46748. return fmt.Errorf("proto: wrong wireType = %d for field Audience", wireType)
  46749. }
  46750. var stringLen uint64
  46751. for shift := uint(0); ; shift += 7 {
  46752. if shift >= 64 {
  46753. return ErrIntOverflowGenerated
  46754. }
  46755. if iNdEx >= l {
  46756. return io.ErrUnexpectedEOF
  46757. }
  46758. b := dAtA[iNdEx]
  46759. iNdEx++
  46760. stringLen |= (uint64(b) & 0x7F) << shift
  46761. if b < 0x80 {
  46762. break
  46763. }
  46764. }
  46765. intStringLen := int(stringLen)
  46766. if intStringLen < 0 {
  46767. return ErrInvalidLengthGenerated
  46768. }
  46769. postIndex := iNdEx + intStringLen
  46770. if postIndex > l {
  46771. return io.ErrUnexpectedEOF
  46772. }
  46773. m.Audience = string(dAtA[iNdEx:postIndex])
  46774. iNdEx = postIndex
  46775. case 2:
  46776. if wireType != 0 {
  46777. return fmt.Errorf("proto: wrong wireType = %d for field ExpirationSeconds", wireType)
  46778. }
  46779. var v int64
  46780. for shift := uint(0); ; shift += 7 {
  46781. if shift >= 64 {
  46782. return ErrIntOverflowGenerated
  46783. }
  46784. if iNdEx >= l {
  46785. return io.ErrUnexpectedEOF
  46786. }
  46787. b := dAtA[iNdEx]
  46788. iNdEx++
  46789. v |= (int64(b) & 0x7F) << shift
  46790. if b < 0x80 {
  46791. break
  46792. }
  46793. }
  46794. m.ExpirationSeconds = &v
  46795. case 3:
  46796. if wireType != 2 {
  46797. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  46798. }
  46799. var stringLen uint64
  46800. for shift := uint(0); ; shift += 7 {
  46801. if shift >= 64 {
  46802. return ErrIntOverflowGenerated
  46803. }
  46804. if iNdEx >= l {
  46805. return io.ErrUnexpectedEOF
  46806. }
  46807. b := dAtA[iNdEx]
  46808. iNdEx++
  46809. stringLen |= (uint64(b) & 0x7F) << shift
  46810. if b < 0x80 {
  46811. break
  46812. }
  46813. }
  46814. intStringLen := int(stringLen)
  46815. if intStringLen < 0 {
  46816. return ErrInvalidLengthGenerated
  46817. }
  46818. postIndex := iNdEx + intStringLen
  46819. if postIndex > l {
  46820. return io.ErrUnexpectedEOF
  46821. }
  46822. m.Path = string(dAtA[iNdEx:postIndex])
  46823. iNdEx = postIndex
  46824. default:
  46825. iNdEx = preIndex
  46826. skippy, err := skipGenerated(dAtA[iNdEx:])
  46827. if err != nil {
  46828. return err
  46829. }
  46830. if skippy < 0 {
  46831. return ErrInvalidLengthGenerated
  46832. }
  46833. if (iNdEx + skippy) > l {
  46834. return io.ErrUnexpectedEOF
  46835. }
  46836. iNdEx += skippy
  46837. }
  46838. }
  46839. if iNdEx > l {
  46840. return io.ErrUnexpectedEOF
  46841. }
  46842. return nil
  46843. }
  46844. func (m *ServiceList) Unmarshal(dAtA []byte) error {
  46845. l := len(dAtA)
  46846. iNdEx := 0
  46847. for iNdEx < l {
  46848. preIndex := iNdEx
  46849. var wire uint64
  46850. for shift := uint(0); ; shift += 7 {
  46851. if shift >= 64 {
  46852. return ErrIntOverflowGenerated
  46853. }
  46854. if iNdEx >= l {
  46855. return io.ErrUnexpectedEOF
  46856. }
  46857. b := dAtA[iNdEx]
  46858. iNdEx++
  46859. wire |= (uint64(b) & 0x7F) << shift
  46860. if b < 0x80 {
  46861. break
  46862. }
  46863. }
  46864. fieldNum := int32(wire >> 3)
  46865. wireType := int(wire & 0x7)
  46866. if wireType == 4 {
  46867. return fmt.Errorf("proto: ServiceList: wiretype end group for non-group")
  46868. }
  46869. if fieldNum <= 0 {
  46870. return fmt.Errorf("proto: ServiceList: illegal tag %d (wire type %d)", fieldNum, wire)
  46871. }
  46872. switch fieldNum {
  46873. case 1:
  46874. if wireType != 2 {
  46875. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  46876. }
  46877. var msglen int
  46878. for shift := uint(0); ; shift += 7 {
  46879. if shift >= 64 {
  46880. return ErrIntOverflowGenerated
  46881. }
  46882. if iNdEx >= l {
  46883. return io.ErrUnexpectedEOF
  46884. }
  46885. b := dAtA[iNdEx]
  46886. iNdEx++
  46887. msglen |= (int(b) & 0x7F) << shift
  46888. if b < 0x80 {
  46889. break
  46890. }
  46891. }
  46892. if msglen < 0 {
  46893. return ErrInvalidLengthGenerated
  46894. }
  46895. postIndex := iNdEx + msglen
  46896. if postIndex > l {
  46897. return io.ErrUnexpectedEOF
  46898. }
  46899. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46900. return err
  46901. }
  46902. iNdEx = postIndex
  46903. case 2:
  46904. if wireType != 2 {
  46905. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  46906. }
  46907. var msglen int
  46908. for shift := uint(0); ; shift += 7 {
  46909. if shift >= 64 {
  46910. return ErrIntOverflowGenerated
  46911. }
  46912. if iNdEx >= l {
  46913. return io.ErrUnexpectedEOF
  46914. }
  46915. b := dAtA[iNdEx]
  46916. iNdEx++
  46917. msglen |= (int(b) & 0x7F) << shift
  46918. if b < 0x80 {
  46919. break
  46920. }
  46921. }
  46922. if msglen < 0 {
  46923. return ErrInvalidLengthGenerated
  46924. }
  46925. postIndex := iNdEx + msglen
  46926. if postIndex > l {
  46927. return io.ErrUnexpectedEOF
  46928. }
  46929. m.Items = append(m.Items, Service{})
  46930. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46931. return err
  46932. }
  46933. iNdEx = postIndex
  46934. default:
  46935. iNdEx = preIndex
  46936. skippy, err := skipGenerated(dAtA[iNdEx:])
  46937. if err != nil {
  46938. return err
  46939. }
  46940. if skippy < 0 {
  46941. return ErrInvalidLengthGenerated
  46942. }
  46943. if (iNdEx + skippy) > l {
  46944. return io.ErrUnexpectedEOF
  46945. }
  46946. iNdEx += skippy
  46947. }
  46948. }
  46949. if iNdEx > l {
  46950. return io.ErrUnexpectedEOF
  46951. }
  46952. return nil
  46953. }
  46954. func (m *ServicePort) Unmarshal(dAtA []byte) error {
  46955. l := len(dAtA)
  46956. iNdEx := 0
  46957. for iNdEx < l {
  46958. preIndex := iNdEx
  46959. var wire uint64
  46960. for shift := uint(0); ; shift += 7 {
  46961. if shift >= 64 {
  46962. return ErrIntOverflowGenerated
  46963. }
  46964. if iNdEx >= l {
  46965. return io.ErrUnexpectedEOF
  46966. }
  46967. b := dAtA[iNdEx]
  46968. iNdEx++
  46969. wire |= (uint64(b) & 0x7F) << shift
  46970. if b < 0x80 {
  46971. break
  46972. }
  46973. }
  46974. fieldNum := int32(wire >> 3)
  46975. wireType := int(wire & 0x7)
  46976. if wireType == 4 {
  46977. return fmt.Errorf("proto: ServicePort: wiretype end group for non-group")
  46978. }
  46979. if fieldNum <= 0 {
  46980. return fmt.Errorf("proto: ServicePort: illegal tag %d (wire type %d)", fieldNum, wire)
  46981. }
  46982. switch fieldNum {
  46983. case 1:
  46984. if wireType != 2 {
  46985. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  46986. }
  46987. var stringLen uint64
  46988. for shift := uint(0); ; shift += 7 {
  46989. if shift >= 64 {
  46990. return ErrIntOverflowGenerated
  46991. }
  46992. if iNdEx >= l {
  46993. return io.ErrUnexpectedEOF
  46994. }
  46995. b := dAtA[iNdEx]
  46996. iNdEx++
  46997. stringLen |= (uint64(b) & 0x7F) << shift
  46998. if b < 0x80 {
  46999. break
  47000. }
  47001. }
  47002. intStringLen := int(stringLen)
  47003. if intStringLen < 0 {
  47004. return ErrInvalidLengthGenerated
  47005. }
  47006. postIndex := iNdEx + intStringLen
  47007. if postIndex > l {
  47008. return io.ErrUnexpectedEOF
  47009. }
  47010. m.Name = string(dAtA[iNdEx:postIndex])
  47011. iNdEx = postIndex
  47012. case 2:
  47013. if wireType != 2 {
  47014. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  47015. }
  47016. var stringLen uint64
  47017. for shift := uint(0); ; shift += 7 {
  47018. if shift >= 64 {
  47019. return ErrIntOverflowGenerated
  47020. }
  47021. if iNdEx >= l {
  47022. return io.ErrUnexpectedEOF
  47023. }
  47024. b := dAtA[iNdEx]
  47025. iNdEx++
  47026. stringLen |= (uint64(b) & 0x7F) << shift
  47027. if b < 0x80 {
  47028. break
  47029. }
  47030. }
  47031. intStringLen := int(stringLen)
  47032. if intStringLen < 0 {
  47033. return ErrInvalidLengthGenerated
  47034. }
  47035. postIndex := iNdEx + intStringLen
  47036. if postIndex > l {
  47037. return io.ErrUnexpectedEOF
  47038. }
  47039. m.Protocol = Protocol(dAtA[iNdEx:postIndex])
  47040. iNdEx = postIndex
  47041. case 3:
  47042. if wireType != 0 {
  47043. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  47044. }
  47045. m.Port = 0
  47046. for shift := uint(0); ; shift += 7 {
  47047. if shift >= 64 {
  47048. return ErrIntOverflowGenerated
  47049. }
  47050. if iNdEx >= l {
  47051. return io.ErrUnexpectedEOF
  47052. }
  47053. b := dAtA[iNdEx]
  47054. iNdEx++
  47055. m.Port |= (int32(b) & 0x7F) << shift
  47056. if b < 0x80 {
  47057. break
  47058. }
  47059. }
  47060. case 4:
  47061. if wireType != 2 {
  47062. return fmt.Errorf("proto: wrong wireType = %d for field TargetPort", wireType)
  47063. }
  47064. var msglen int
  47065. for shift := uint(0); ; shift += 7 {
  47066. if shift >= 64 {
  47067. return ErrIntOverflowGenerated
  47068. }
  47069. if iNdEx >= l {
  47070. return io.ErrUnexpectedEOF
  47071. }
  47072. b := dAtA[iNdEx]
  47073. iNdEx++
  47074. msglen |= (int(b) & 0x7F) << shift
  47075. if b < 0x80 {
  47076. break
  47077. }
  47078. }
  47079. if msglen < 0 {
  47080. return ErrInvalidLengthGenerated
  47081. }
  47082. postIndex := iNdEx + msglen
  47083. if postIndex > l {
  47084. return io.ErrUnexpectedEOF
  47085. }
  47086. if err := m.TargetPort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47087. return err
  47088. }
  47089. iNdEx = postIndex
  47090. case 5:
  47091. if wireType != 0 {
  47092. return fmt.Errorf("proto: wrong wireType = %d for field NodePort", wireType)
  47093. }
  47094. m.NodePort = 0
  47095. for shift := uint(0); ; shift += 7 {
  47096. if shift >= 64 {
  47097. return ErrIntOverflowGenerated
  47098. }
  47099. if iNdEx >= l {
  47100. return io.ErrUnexpectedEOF
  47101. }
  47102. b := dAtA[iNdEx]
  47103. iNdEx++
  47104. m.NodePort |= (int32(b) & 0x7F) << shift
  47105. if b < 0x80 {
  47106. break
  47107. }
  47108. }
  47109. default:
  47110. iNdEx = preIndex
  47111. skippy, err := skipGenerated(dAtA[iNdEx:])
  47112. if err != nil {
  47113. return err
  47114. }
  47115. if skippy < 0 {
  47116. return ErrInvalidLengthGenerated
  47117. }
  47118. if (iNdEx + skippy) > l {
  47119. return io.ErrUnexpectedEOF
  47120. }
  47121. iNdEx += skippy
  47122. }
  47123. }
  47124. if iNdEx > l {
  47125. return io.ErrUnexpectedEOF
  47126. }
  47127. return nil
  47128. }
  47129. func (m *ServiceProxyOptions) Unmarshal(dAtA []byte) error {
  47130. l := len(dAtA)
  47131. iNdEx := 0
  47132. for iNdEx < l {
  47133. preIndex := iNdEx
  47134. var wire uint64
  47135. for shift := uint(0); ; shift += 7 {
  47136. if shift >= 64 {
  47137. return ErrIntOverflowGenerated
  47138. }
  47139. if iNdEx >= l {
  47140. return io.ErrUnexpectedEOF
  47141. }
  47142. b := dAtA[iNdEx]
  47143. iNdEx++
  47144. wire |= (uint64(b) & 0x7F) << shift
  47145. if b < 0x80 {
  47146. break
  47147. }
  47148. }
  47149. fieldNum := int32(wire >> 3)
  47150. wireType := int(wire & 0x7)
  47151. if wireType == 4 {
  47152. return fmt.Errorf("proto: ServiceProxyOptions: wiretype end group for non-group")
  47153. }
  47154. if fieldNum <= 0 {
  47155. return fmt.Errorf("proto: ServiceProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  47156. }
  47157. switch fieldNum {
  47158. case 1:
  47159. if wireType != 2 {
  47160. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  47161. }
  47162. var stringLen uint64
  47163. for shift := uint(0); ; shift += 7 {
  47164. if shift >= 64 {
  47165. return ErrIntOverflowGenerated
  47166. }
  47167. if iNdEx >= l {
  47168. return io.ErrUnexpectedEOF
  47169. }
  47170. b := dAtA[iNdEx]
  47171. iNdEx++
  47172. stringLen |= (uint64(b) & 0x7F) << shift
  47173. if b < 0x80 {
  47174. break
  47175. }
  47176. }
  47177. intStringLen := int(stringLen)
  47178. if intStringLen < 0 {
  47179. return ErrInvalidLengthGenerated
  47180. }
  47181. postIndex := iNdEx + intStringLen
  47182. if postIndex > l {
  47183. return io.ErrUnexpectedEOF
  47184. }
  47185. m.Path = string(dAtA[iNdEx:postIndex])
  47186. iNdEx = postIndex
  47187. default:
  47188. iNdEx = preIndex
  47189. skippy, err := skipGenerated(dAtA[iNdEx:])
  47190. if err != nil {
  47191. return err
  47192. }
  47193. if skippy < 0 {
  47194. return ErrInvalidLengthGenerated
  47195. }
  47196. if (iNdEx + skippy) > l {
  47197. return io.ErrUnexpectedEOF
  47198. }
  47199. iNdEx += skippy
  47200. }
  47201. }
  47202. if iNdEx > l {
  47203. return io.ErrUnexpectedEOF
  47204. }
  47205. return nil
  47206. }
  47207. func (m *ServiceSpec) Unmarshal(dAtA []byte) error {
  47208. l := len(dAtA)
  47209. iNdEx := 0
  47210. for iNdEx < l {
  47211. preIndex := iNdEx
  47212. var wire uint64
  47213. for shift := uint(0); ; shift += 7 {
  47214. if shift >= 64 {
  47215. return ErrIntOverflowGenerated
  47216. }
  47217. if iNdEx >= l {
  47218. return io.ErrUnexpectedEOF
  47219. }
  47220. b := dAtA[iNdEx]
  47221. iNdEx++
  47222. wire |= (uint64(b) & 0x7F) << shift
  47223. if b < 0x80 {
  47224. break
  47225. }
  47226. }
  47227. fieldNum := int32(wire >> 3)
  47228. wireType := int(wire & 0x7)
  47229. if wireType == 4 {
  47230. return fmt.Errorf("proto: ServiceSpec: wiretype end group for non-group")
  47231. }
  47232. if fieldNum <= 0 {
  47233. return fmt.Errorf("proto: ServiceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  47234. }
  47235. switch fieldNum {
  47236. case 1:
  47237. if wireType != 2 {
  47238. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  47239. }
  47240. var msglen int
  47241. for shift := uint(0); ; shift += 7 {
  47242. if shift >= 64 {
  47243. return ErrIntOverflowGenerated
  47244. }
  47245. if iNdEx >= l {
  47246. return io.ErrUnexpectedEOF
  47247. }
  47248. b := dAtA[iNdEx]
  47249. iNdEx++
  47250. msglen |= (int(b) & 0x7F) << shift
  47251. if b < 0x80 {
  47252. break
  47253. }
  47254. }
  47255. if msglen < 0 {
  47256. return ErrInvalidLengthGenerated
  47257. }
  47258. postIndex := iNdEx + msglen
  47259. if postIndex > l {
  47260. return io.ErrUnexpectedEOF
  47261. }
  47262. m.Ports = append(m.Ports, ServicePort{})
  47263. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47264. return err
  47265. }
  47266. iNdEx = postIndex
  47267. case 2:
  47268. if wireType != 2 {
  47269. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  47270. }
  47271. var msglen int
  47272. for shift := uint(0); ; shift += 7 {
  47273. if shift >= 64 {
  47274. return ErrIntOverflowGenerated
  47275. }
  47276. if iNdEx >= l {
  47277. return io.ErrUnexpectedEOF
  47278. }
  47279. b := dAtA[iNdEx]
  47280. iNdEx++
  47281. msglen |= (int(b) & 0x7F) << shift
  47282. if b < 0x80 {
  47283. break
  47284. }
  47285. }
  47286. if msglen < 0 {
  47287. return ErrInvalidLengthGenerated
  47288. }
  47289. postIndex := iNdEx + msglen
  47290. if postIndex > l {
  47291. return io.ErrUnexpectedEOF
  47292. }
  47293. if m.Selector == nil {
  47294. m.Selector = make(map[string]string)
  47295. }
  47296. var mapkey string
  47297. var mapvalue string
  47298. for iNdEx < postIndex {
  47299. entryPreIndex := iNdEx
  47300. var wire uint64
  47301. for shift := uint(0); ; shift += 7 {
  47302. if shift >= 64 {
  47303. return ErrIntOverflowGenerated
  47304. }
  47305. if iNdEx >= l {
  47306. return io.ErrUnexpectedEOF
  47307. }
  47308. b := dAtA[iNdEx]
  47309. iNdEx++
  47310. wire |= (uint64(b) & 0x7F) << shift
  47311. if b < 0x80 {
  47312. break
  47313. }
  47314. }
  47315. fieldNum := int32(wire >> 3)
  47316. if fieldNum == 1 {
  47317. var stringLenmapkey uint64
  47318. for shift := uint(0); ; shift += 7 {
  47319. if shift >= 64 {
  47320. return ErrIntOverflowGenerated
  47321. }
  47322. if iNdEx >= l {
  47323. return io.ErrUnexpectedEOF
  47324. }
  47325. b := dAtA[iNdEx]
  47326. iNdEx++
  47327. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  47328. if b < 0x80 {
  47329. break
  47330. }
  47331. }
  47332. intStringLenmapkey := int(stringLenmapkey)
  47333. if intStringLenmapkey < 0 {
  47334. return ErrInvalidLengthGenerated
  47335. }
  47336. postStringIndexmapkey := iNdEx + intStringLenmapkey
  47337. if postStringIndexmapkey > l {
  47338. return io.ErrUnexpectedEOF
  47339. }
  47340. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  47341. iNdEx = postStringIndexmapkey
  47342. } else if fieldNum == 2 {
  47343. var stringLenmapvalue uint64
  47344. for shift := uint(0); ; shift += 7 {
  47345. if shift >= 64 {
  47346. return ErrIntOverflowGenerated
  47347. }
  47348. if iNdEx >= l {
  47349. return io.ErrUnexpectedEOF
  47350. }
  47351. b := dAtA[iNdEx]
  47352. iNdEx++
  47353. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  47354. if b < 0x80 {
  47355. break
  47356. }
  47357. }
  47358. intStringLenmapvalue := int(stringLenmapvalue)
  47359. if intStringLenmapvalue < 0 {
  47360. return ErrInvalidLengthGenerated
  47361. }
  47362. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  47363. if postStringIndexmapvalue > l {
  47364. return io.ErrUnexpectedEOF
  47365. }
  47366. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  47367. iNdEx = postStringIndexmapvalue
  47368. } else {
  47369. iNdEx = entryPreIndex
  47370. skippy, err := skipGenerated(dAtA[iNdEx:])
  47371. if err != nil {
  47372. return err
  47373. }
  47374. if skippy < 0 {
  47375. return ErrInvalidLengthGenerated
  47376. }
  47377. if (iNdEx + skippy) > postIndex {
  47378. return io.ErrUnexpectedEOF
  47379. }
  47380. iNdEx += skippy
  47381. }
  47382. }
  47383. m.Selector[mapkey] = mapvalue
  47384. iNdEx = postIndex
  47385. case 3:
  47386. if wireType != 2 {
  47387. return fmt.Errorf("proto: wrong wireType = %d for field ClusterIP", wireType)
  47388. }
  47389. var stringLen uint64
  47390. for shift := uint(0); ; shift += 7 {
  47391. if shift >= 64 {
  47392. return ErrIntOverflowGenerated
  47393. }
  47394. if iNdEx >= l {
  47395. return io.ErrUnexpectedEOF
  47396. }
  47397. b := dAtA[iNdEx]
  47398. iNdEx++
  47399. stringLen |= (uint64(b) & 0x7F) << shift
  47400. if b < 0x80 {
  47401. break
  47402. }
  47403. }
  47404. intStringLen := int(stringLen)
  47405. if intStringLen < 0 {
  47406. return ErrInvalidLengthGenerated
  47407. }
  47408. postIndex := iNdEx + intStringLen
  47409. if postIndex > l {
  47410. return io.ErrUnexpectedEOF
  47411. }
  47412. m.ClusterIP = string(dAtA[iNdEx:postIndex])
  47413. iNdEx = postIndex
  47414. case 4:
  47415. if wireType != 2 {
  47416. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  47417. }
  47418. var stringLen uint64
  47419. for shift := uint(0); ; shift += 7 {
  47420. if shift >= 64 {
  47421. return ErrIntOverflowGenerated
  47422. }
  47423. if iNdEx >= l {
  47424. return io.ErrUnexpectedEOF
  47425. }
  47426. b := dAtA[iNdEx]
  47427. iNdEx++
  47428. stringLen |= (uint64(b) & 0x7F) << shift
  47429. if b < 0x80 {
  47430. break
  47431. }
  47432. }
  47433. intStringLen := int(stringLen)
  47434. if intStringLen < 0 {
  47435. return ErrInvalidLengthGenerated
  47436. }
  47437. postIndex := iNdEx + intStringLen
  47438. if postIndex > l {
  47439. return io.ErrUnexpectedEOF
  47440. }
  47441. m.Type = ServiceType(dAtA[iNdEx:postIndex])
  47442. iNdEx = postIndex
  47443. case 5:
  47444. if wireType != 2 {
  47445. return fmt.Errorf("proto: wrong wireType = %d for field ExternalIPs", wireType)
  47446. }
  47447. var stringLen uint64
  47448. for shift := uint(0); ; shift += 7 {
  47449. if shift >= 64 {
  47450. return ErrIntOverflowGenerated
  47451. }
  47452. if iNdEx >= l {
  47453. return io.ErrUnexpectedEOF
  47454. }
  47455. b := dAtA[iNdEx]
  47456. iNdEx++
  47457. stringLen |= (uint64(b) & 0x7F) << shift
  47458. if b < 0x80 {
  47459. break
  47460. }
  47461. }
  47462. intStringLen := int(stringLen)
  47463. if intStringLen < 0 {
  47464. return ErrInvalidLengthGenerated
  47465. }
  47466. postIndex := iNdEx + intStringLen
  47467. if postIndex > l {
  47468. return io.ErrUnexpectedEOF
  47469. }
  47470. m.ExternalIPs = append(m.ExternalIPs, string(dAtA[iNdEx:postIndex]))
  47471. iNdEx = postIndex
  47472. case 7:
  47473. if wireType != 2 {
  47474. return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinity", wireType)
  47475. }
  47476. var stringLen uint64
  47477. for shift := uint(0); ; shift += 7 {
  47478. if shift >= 64 {
  47479. return ErrIntOverflowGenerated
  47480. }
  47481. if iNdEx >= l {
  47482. return io.ErrUnexpectedEOF
  47483. }
  47484. b := dAtA[iNdEx]
  47485. iNdEx++
  47486. stringLen |= (uint64(b) & 0x7F) << shift
  47487. if b < 0x80 {
  47488. break
  47489. }
  47490. }
  47491. intStringLen := int(stringLen)
  47492. if intStringLen < 0 {
  47493. return ErrInvalidLengthGenerated
  47494. }
  47495. postIndex := iNdEx + intStringLen
  47496. if postIndex > l {
  47497. return io.ErrUnexpectedEOF
  47498. }
  47499. m.SessionAffinity = ServiceAffinity(dAtA[iNdEx:postIndex])
  47500. iNdEx = postIndex
  47501. case 8:
  47502. if wireType != 2 {
  47503. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerIP", wireType)
  47504. }
  47505. var stringLen uint64
  47506. for shift := uint(0); ; shift += 7 {
  47507. if shift >= 64 {
  47508. return ErrIntOverflowGenerated
  47509. }
  47510. if iNdEx >= l {
  47511. return io.ErrUnexpectedEOF
  47512. }
  47513. b := dAtA[iNdEx]
  47514. iNdEx++
  47515. stringLen |= (uint64(b) & 0x7F) << shift
  47516. if b < 0x80 {
  47517. break
  47518. }
  47519. }
  47520. intStringLen := int(stringLen)
  47521. if intStringLen < 0 {
  47522. return ErrInvalidLengthGenerated
  47523. }
  47524. postIndex := iNdEx + intStringLen
  47525. if postIndex > l {
  47526. return io.ErrUnexpectedEOF
  47527. }
  47528. m.LoadBalancerIP = string(dAtA[iNdEx:postIndex])
  47529. iNdEx = postIndex
  47530. case 9:
  47531. if wireType != 2 {
  47532. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerSourceRanges", wireType)
  47533. }
  47534. var stringLen uint64
  47535. for shift := uint(0); ; shift += 7 {
  47536. if shift >= 64 {
  47537. return ErrIntOverflowGenerated
  47538. }
  47539. if iNdEx >= l {
  47540. return io.ErrUnexpectedEOF
  47541. }
  47542. b := dAtA[iNdEx]
  47543. iNdEx++
  47544. stringLen |= (uint64(b) & 0x7F) << shift
  47545. if b < 0x80 {
  47546. break
  47547. }
  47548. }
  47549. intStringLen := int(stringLen)
  47550. if intStringLen < 0 {
  47551. return ErrInvalidLengthGenerated
  47552. }
  47553. postIndex := iNdEx + intStringLen
  47554. if postIndex > l {
  47555. return io.ErrUnexpectedEOF
  47556. }
  47557. m.LoadBalancerSourceRanges = append(m.LoadBalancerSourceRanges, string(dAtA[iNdEx:postIndex]))
  47558. iNdEx = postIndex
  47559. case 10:
  47560. if wireType != 2 {
  47561. return fmt.Errorf("proto: wrong wireType = %d for field ExternalName", wireType)
  47562. }
  47563. var stringLen uint64
  47564. for shift := uint(0); ; shift += 7 {
  47565. if shift >= 64 {
  47566. return ErrIntOverflowGenerated
  47567. }
  47568. if iNdEx >= l {
  47569. return io.ErrUnexpectedEOF
  47570. }
  47571. b := dAtA[iNdEx]
  47572. iNdEx++
  47573. stringLen |= (uint64(b) & 0x7F) << shift
  47574. if b < 0x80 {
  47575. break
  47576. }
  47577. }
  47578. intStringLen := int(stringLen)
  47579. if intStringLen < 0 {
  47580. return ErrInvalidLengthGenerated
  47581. }
  47582. postIndex := iNdEx + intStringLen
  47583. if postIndex > l {
  47584. return io.ErrUnexpectedEOF
  47585. }
  47586. m.ExternalName = string(dAtA[iNdEx:postIndex])
  47587. iNdEx = postIndex
  47588. case 11:
  47589. if wireType != 2 {
  47590. return fmt.Errorf("proto: wrong wireType = %d for field ExternalTrafficPolicy", wireType)
  47591. }
  47592. var stringLen uint64
  47593. for shift := uint(0); ; shift += 7 {
  47594. if shift >= 64 {
  47595. return ErrIntOverflowGenerated
  47596. }
  47597. if iNdEx >= l {
  47598. return io.ErrUnexpectedEOF
  47599. }
  47600. b := dAtA[iNdEx]
  47601. iNdEx++
  47602. stringLen |= (uint64(b) & 0x7F) << shift
  47603. if b < 0x80 {
  47604. break
  47605. }
  47606. }
  47607. intStringLen := int(stringLen)
  47608. if intStringLen < 0 {
  47609. return ErrInvalidLengthGenerated
  47610. }
  47611. postIndex := iNdEx + intStringLen
  47612. if postIndex > l {
  47613. return io.ErrUnexpectedEOF
  47614. }
  47615. m.ExternalTrafficPolicy = ServiceExternalTrafficPolicyType(dAtA[iNdEx:postIndex])
  47616. iNdEx = postIndex
  47617. case 12:
  47618. if wireType != 0 {
  47619. return fmt.Errorf("proto: wrong wireType = %d for field HealthCheckNodePort", wireType)
  47620. }
  47621. m.HealthCheckNodePort = 0
  47622. for shift := uint(0); ; shift += 7 {
  47623. if shift >= 64 {
  47624. return ErrIntOverflowGenerated
  47625. }
  47626. if iNdEx >= l {
  47627. return io.ErrUnexpectedEOF
  47628. }
  47629. b := dAtA[iNdEx]
  47630. iNdEx++
  47631. m.HealthCheckNodePort |= (int32(b) & 0x7F) << shift
  47632. if b < 0x80 {
  47633. break
  47634. }
  47635. }
  47636. case 13:
  47637. if wireType != 0 {
  47638. return fmt.Errorf("proto: wrong wireType = %d for field PublishNotReadyAddresses", wireType)
  47639. }
  47640. var v int
  47641. for shift := uint(0); ; shift += 7 {
  47642. if shift >= 64 {
  47643. return ErrIntOverflowGenerated
  47644. }
  47645. if iNdEx >= l {
  47646. return io.ErrUnexpectedEOF
  47647. }
  47648. b := dAtA[iNdEx]
  47649. iNdEx++
  47650. v |= (int(b) & 0x7F) << shift
  47651. if b < 0x80 {
  47652. break
  47653. }
  47654. }
  47655. m.PublishNotReadyAddresses = bool(v != 0)
  47656. case 14:
  47657. if wireType != 2 {
  47658. return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinityConfig", wireType)
  47659. }
  47660. var msglen int
  47661. for shift := uint(0); ; shift += 7 {
  47662. if shift >= 64 {
  47663. return ErrIntOverflowGenerated
  47664. }
  47665. if iNdEx >= l {
  47666. return io.ErrUnexpectedEOF
  47667. }
  47668. b := dAtA[iNdEx]
  47669. iNdEx++
  47670. msglen |= (int(b) & 0x7F) << shift
  47671. if b < 0x80 {
  47672. break
  47673. }
  47674. }
  47675. if msglen < 0 {
  47676. return ErrInvalidLengthGenerated
  47677. }
  47678. postIndex := iNdEx + msglen
  47679. if postIndex > l {
  47680. return io.ErrUnexpectedEOF
  47681. }
  47682. if m.SessionAffinityConfig == nil {
  47683. m.SessionAffinityConfig = &SessionAffinityConfig{}
  47684. }
  47685. if err := m.SessionAffinityConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47686. return err
  47687. }
  47688. iNdEx = postIndex
  47689. default:
  47690. iNdEx = preIndex
  47691. skippy, err := skipGenerated(dAtA[iNdEx:])
  47692. if err != nil {
  47693. return err
  47694. }
  47695. if skippy < 0 {
  47696. return ErrInvalidLengthGenerated
  47697. }
  47698. if (iNdEx + skippy) > l {
  47699. return io.ErrUnexpectedEOF
  47700. }
  47701. iNdEx += skippy
  47702. }
  47703. }
  47704. if iNdEx > l {
  47705. return io.ErrUnexpectedEOF
  47706. }
  47707. return nil
  47708. }
  47709. func (m *ServiceStatus) Unmarshal(dAtA []byte) error {
  47710. l := len(dAtA)
  47711. iNdEx := 0
  47712. for iNdEx < l {
  47713. preIndex := iNdEx
  47714. var wire uint64
  47715. for shift := uint(0); ; shift += 7 {
  47716. if shift >= 64 {
  47717. return ErrIntOverflowGenerated
  47718. }
  47719. if iNdEx >= l {
  47720. return io.ErrUnexpectedEOF
  47721. }
  47722. b := dAtA[iNdEx]
  47723. iNdEx++
  47724. wire |= (uint64(b) & 0x7F) << shift
  47725. if b < 0x80 {
  47726. break
  47727. }
  47728. }
  47729. fieldNum := int32(wire >> 3)
  47730. wireType := int(wire & 0x7)
  47731. if wireType == 4 {
  47732. return fmt.Errorf("proto: ServiceStatus: wiretype end group for non-group")
  47733. }
  47734. if fieldNum <= 0 {
  47735. return fmt.Errorf("proto: ServiceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  47736. }
  47737. switch fieldNum {
  47738. case 1:
  47739. if wireType != 2 {
  47740. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
  47741. }
  47742. var msglen int
  47743. for shift := uint(0); ; shift += 7 {
  47744. if shift >= 64 {
  47745. return ErrIntOverflowGenerated
  47746. }
  47747. if iNdEx >= l {
  47748. return io.ErrUnexpectedEOF
  47749. }
  47750. b := dAtA[iNdEx]
  47751. iNdEx++
  47752. msglen |= (int(b) & 0x7F) << shift
  47753. if b < 0x80 {
  47754. break
  47755. }
  47756. }
  47757. if msglen < 0 {
  47758. return ErrInvalidLengthGenerated
  47759. }
  47760. postIndex := iNdEx + msglen
  47761. if postIndex > l {
  47762. return io.ErrUnexpectedEOF
  47763. }
  47764. if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47765. return err
  47766. }
  47767. iNdEx = postIndex
  47768. default:
  47769. iNdEx = preIndex
  47770. skippy, err := skipGenerated(dAtA[iNdEx:])
  47771. if err != nil {
  47772. return err
  47773. }
  47774. if skippy < 0 {
  47775. return ErrInvalidLengthGenerated
  47776. }
  47777. if (iNdEx + skippy) > l {
  47778. return io.ErrUnexpectedEOF
  47779. }
  47780. iNdEx += skippy
  47781. }
  47782. }
  47783. if iNdEx > l {
  47784. return io.ErrUnexpectedEOF
  47785. }
  47786. return nil
  47787. }
  47788. func (m *SessionAffinityConfig) Unmarshal(dAtA []byte) error {
  47789. l := len(dAtA)
  47790. iNdEx := 0
  47791. for iNdEx < l {
  47792. preIndex := iNdEx
  47793. var wire uint64
  47794. for shift := uint(0); ; shift += 7 {
  47795. if shift >= 64 {
  47796. return ErrIntOverflowGenerated
  47797. }
  47798. if iNdEx >= l {
  47799. return io.ErrUnexpectedEOF
  47800. }
  47801. b := dAtA[iNdEx]
  47802. iNdEx++
  47803. wire |= (uint64(b) & 0x7F) << shift
  47804. if b < 0x80 {
  47805. break
  47806. }
  47807. }
  47808. fieldNum := int32(wire >> 3)
  47809. wireType := int(wire & 0x7)
  47810. if wireType == 4 {
  47811. return fmt.Errorf("proto: SessionAffinityConfig: wiretype end group for non-group")
  47812. }
  47813. if fieldNum <= 0 {
  47814. return fmt.Errorf("proto: SessionAffinityConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  47815. }
  47816. switch fieldNum {
  47817. case 1:
  47818. if wireType != 2 {
  47819. return fmt.Errorf("proto: wrong wireType = %d for field ClientIP", wireType)
  47820. }
  47821. var msglen int
  47822. for shift := uint(0); ; shift += 7 {
  47823. if shift >= 64 {
  47824. return ErrIntOverflowGenerated
  47825. }
  47826. if iNdEx >= l {
  47827. return io.ErrUnexpectedEOF
  47828. }
  47829. b := dAtA[iNdEx]
  47830. iNdEx++
  47831. msglen |= (int(b) & 0x7F) << shift
  47832. if b < 0x80 {
  47833. break
  47834. }
  47835. }
  47836. if msglen < 0 {
  47837. return ErrInvalidLengthGenerated
  47838. }
  47839. postIndex := iNdEx + msglen
  47840. if postIndex > l {
  47841. return io.ErrUnexpectedEOF
  47842. }
  47843. if m.ClientIP == nil {
  47844. m.ClientIP = &ClientIPConfig{}
  47845. }
  47846. if err := m.ClientIP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47847. return err
  47848. }
  47849. iNdEx = postIndex
  47850. default:
  47851. iNdEx = preIndex
  47852. skippy, err := skipGenerated(dAtA[iNdEx:])
  47853. if err != nil {
  47854. return err
  47855. }
  47856. if skippy < 0 {
  47857. return ErrInvalidLengthGenerated
  47858. }
  47859. if (iNdEx + skippy) > l {
  47860. return io.ErrUnexpectedEOF
  47861. }
  47862. iNdEx += skippy
  47863. }
  47864. }
  47865. if iNdEx > l {
  47866. return io.ErrUnexpectedEOF
  47867. }
  47868. return nil
  47869. }
  47870. func (m *StorageOSPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  47871. l := len(dAtA)
  47872. iNdEx := 0
  47873. for iNdEx < l {
  47874. preIndex := iNdEx
  47875. var wire uint64
  47876. for shift := uint(0); ; shift += 7 {
  47877. if shift >= 64 {
  47878. return ErrIntOverflowGenerated
  47879. }
  47880. if iNdEx >= l {
  47881. return io.ErrUnexpectedEOF
  47882. }
  47883. b := dAtA[iNdEx]
  47884. iNdEx++
  47885. wire |= (uint64(b) & 0x7F) << shift
  47886. if b < 0x80 {
  47887. break
  47888. }
  47889. }
  47890. fieldNum := int32(wire >> 3)
  47891. wireType := int(wire & 0x7)
  47892. if wireType == 4 {
  47893. return fmt.Errorf("proto: StorageOSPersistentVolumeSource: wiretype end group for non-group")
  47894. }
  47895. if fieldNum <= 0 {
  47896. return fmt.Errorf("proto: StorageOSPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  47897. }
  47898. switch fieldNum {
  47899. case 1:
  47900. if wireType != 2 {
  47901. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  47902. }
  47903. var stringLen uint64
  47904. for shift := uint(0); ; shift += 7 {
  47905. if shift >= 64 {
  47906. return ErrIntOverflowGenerated
  47907. }
  47908. if iNdEx >= l {
  47909. return io.ErrUnexpectedEOF
  47910. }
  47911. b := dAtA[iNdEx]
  47912. iNdEx++
  47913. stringLen |= (uint64(b) & 0x7F) << shift
  47914. if b < 0x80 {
  47915. break
  47916. }
  47917. }
  47918. intStringLen := int(stringLen)
  47919. if intStringLen < 0 {
  47920. return ErrInvalidLengthGenerated
  47921. }
  47922. postIndex := iNdEx + intStringLen
  47923. if postIndex > l {
  47924. return io.ErrUnexpectedEOF
  47925. }
  47926. m.VolumeName = string(dAtA[iNdEx:postIndex])
  47927. iNdEx = postIndex
  47928. case 2:
  47929. if wireType != 2 {
  47930. return fmt.Errorf("proto: wrong wireType = %d for field VolumeNamespace", wireType)
  47931. }
  47932. var stringLen uint64
  47933. for shift := uint(0); ; shift += 7 {
  47934. if shift >= 64 {
  47935. return ErrIntOverflowGenerated
  47936. }
  47937. if iNdEx >= l {
  47938. return io.ErrUnexpectedEOF
  47939. }
  47940. b := dAtA[iNdEx]
  47941. iNdEx++
  47942. stringLen |= (uint64(b) & 0x7F) << shift
  47943. if b < 0x80 {
  47944. break
  47945. }
  47946. }
  47947. intStringLen := int(stringLen)
  47948. if intStringLen < 0 {
  47949. return ErrInvalidLengthGenerated
  47950. }
  47951. postIndex := iNdEx + intStringLen
  47952. if postIndex > l {
  47953. return io.ErrUnexpectedEOF
  47954. }
  47955. m.VolumeNamespace = string(dAtA[iNdEx:postIndex])
  47956. iNdEx = postIndex
  47957. case 3:
  47958. if wireType != 2 {
  47959. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  47960. }
  47961. var stringLen uint64
  47962. for shift := uint(0); ; shift += 7 {
  47963. if shift >= 64 {
  47964. return ErrIntOverflowGenerated
  47965. }
  47966. if iNdEx >= l {
  47967. return io.ErrUnexpectedEOF
  47968. }
  47969. b := dAtA[iNdEx]
  47970. iNdEx++
  47971. stringLen |= (uint64(b) & 0x7F) << shift
  47972. if b < 0x80 {
  47973. break
  47974. }
  47975. }
  47976. intStringLen := int(stringLen)
  47977. if intStringLen < 0 {
  47978. return ErrInvalidLengthGenerated
  47979. }
  47980. postIndex := iNdEx + intStringLen
  47981. if postIndex > l {
  47982. return io.ErrUnexpectedEOF
  47983. }
  47984. m.FSType = string(dAtA[iNdEx:postIndex])
  47985. iNdEx = postIndex
  47986. case 4:
  47987. if wireType != 0 {
  47988. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  47989. }
  47990. var v int
  47991. for shift := uint(0); ; shift += 7 {
  47992. if shift >= 64 {
  47993. return ErrIntOverflowGenerated
  47994. }
  47995. if iNdEx >= l {
  47996. return io.ErrUnexpectedEOF
  47997. }
  47998. b := dAtA[iNdEx]
  47999. iNdEx++
  48000. v |= (int(b) & 0x7F) << shift
  48001. if b < 0x80 {
  48002. break
  48003. }
  48004. }
  48005. m.ReadOnly = bool(v != 0)
  48006. case 5:
  48007. if wireType != 2 {
  48008. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  48009. }
  48010. var msglen int
  48011. for shift := uint(0); ; shift += 7 {
  48012. if shift >= 64 {
  48013. return ErrIntOverflowGenerated
  48014. }
  48015. if iNdEx >= l {
  48016. return io.ErrUnexpectedEOF
  48017. }
  48018. b := dAtA[iNdEx]
  48019. iNdEx++
  48020. msglen |= (int(b) & 0x7F) << shift
  48021. if b < 0x80 {
  48022. break
  48023. }
  48024. }
  48025. if msglen < 0 {
  48026. return ErrInvalidLengthGenerated
  48027. }
  48028. postIndex := iNdEx + msglen
  48029. if postIndex > l {
  48030. return io.ErrUnexpectedEOF
  48031. }
  48032. if m.SecretRef == nil {
  48033. m.SecretRef = &ObjectReference{}
  48034. }
  48035. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48036. return err
  48037. }
  48038. iNdEx = postIndex
  48039. default:
  48040. iNdEx = preIndex
  48041. skippy, err := skipGenerated(dAtA[iNdEx:])
  48042. if err != nil {
  48043. return err
  48044. }
  48045. if skippy < 0 {
  48046. return ErrInvalidLengthGenerated
  48047. }
  48048. if (iNdEx + skippy) > l {
  48049. return io.ErrUnexpectedEOF
  48050. }
  48051. iNdEx += skippy
  48052. }
  48053. }
  48054. if iNdEx > l {
  48055. return io.ErrUnexpectedEOF
  48056. }
  48057. return nil
  48058. }
  48059. func (m *StorageOSVolumeSource) Unmarshal(dAtA []byte) error {
  48060. l := len(dAtA)
  48061. iNdEx := 0
  48062. for iNdEx < l {
  48063. preIndex := iNdEx
  48064. var wire uint64
  48065. for shift := uint(0); ; shift += 7 {
  48066. if shift >= 64 {
  48067. return ErrIntOverflowGenerated
  48068. }
  48069. if iNdEx >= l {
  48070. return io.ErrUnexpectedEOF
  48071. }
  48072. b := dAtA[iNdEx]
  48073. iNdEx++
  48074. wire |= (uint64(b) & 0x7F) << shift
  48075. if b < 0x80 {
  48076. break
  48077. }
  48078. }
  48079. fieldNum := int32(wire >> 3)
  48080. wireType := int(wire & 0x7)
  48081. if wireType == 4 {
  48082. return fmt.Errorf("proto: StorageOSVolumeSource: wiretype end group for non-group")
  48083. }
  48084. if fieldNum <= 0 {
  48085. return fmt.Errorf("proto: StorageOSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  48086. }
  48087. switch fieldNum {
  48088. case 1:
  48089. if wireType != 2 {
  48090. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  48091. }
  48092. var stringLen uint64
  48093. for shift := uint(0); ; shift += 7 {
  48094. if shift >= 64 {
  48095. return ErrIntOverflowGenerated
  48096. }
  48097. if iNdEx >= l {
  48098. return io.ErrUnexpectedEOF
  48099. }
  48100. b := dAtA[iNdEx]
  48101. iNdEx++
  48102. stringLen |= (uint64(b) & 0x7F) << shift
  48103. if b < 0x80 {
  48104. break
  48105. }
  48106. }
  48107. intStringLen := int(stringLen)
  48108. if intStringLen < 0 {
  48109. return ErrInvalidLengthGenerated
  48110. }
  48111. postIndex := iNdEx + intStringLen
  48112. if postIndex > l {
  48113. return io.ErrUnexpectedEOF
  48114. }
  48115. m.VolumeName = string(dAtA[iNdEx:postIndex])
  48116. iNdEx = postIndex
  48117. case 2:
  48118. if wireType != 2 {
  48119. return fmt.Errorf("proto: wrong wireType = %d for field VolumeNamespace", wireType)
  48120. }
  48121. var stringLen uint64
  48122. for shift := uint(0); ; shift += 7 {
  48123. if shift >= 64 {
  48124. return ErrIntOverflowGenerated
  48125. }
  48126. if iNdEx >= l {
  48127. return io.ErrUnexpectedEOF
  48128. }
  48129. b := dAtA[iNdEx]
  48130. iNdEx++
  48131. stringLen |= (uint64(b) & 0x7F) << shift
  48132. if b < 0x80 {
  48133. break
  48134. }
  48135. }
  48136. intStringLen := int(stringLen)
  48137. if intStringLen < 0 {
  48138. return ErrInvalidLengthGenerated
  48139. }
  48140. postIndex := iNdEx + intStringLen
  48141. if postIndex > l {
  48142. return io.ErrUnexpectedEOF
  48143. }
  48144. m.VolumeNamespace = string(dAtA[iNdEx:postIndex])
  48145. iNdEx = postIndex
  48146. case 3:
  48147. if wireType != 2 {
  48148. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  48149. }
  48150. var stringLen uint64
  48151. for shift := uint(0); ; shift += 7 {
  48152. if shift >= 64 {
  48153. return ErrIntOverflowGenerated
  48154. }
  48155. if iNdEx >= l {
  48156. return io.ErrUnexpectedEOF
  48157. }
  48158. b := dAtA[iNdEx]
  48159. iNdEx++
  48160. stringLen |= (uint64(b) & 0x7F) << shift
  48161. if b < 0x80 {
  48162. break
  48163. }
  48164. }
  48165. intStringLen := int(stringLen)
  48166. if intStringLen < 0 {
  48167. return ErrInvalidLengthGenerated
  48168. }
  48169. postIndex := iNdEx + intStringLen
  48170. if postIndex > l {
  48171. return io.ErrUnexpectedEOF
  48172. }
  48173. m.FSType = string(dAtA[iNdEx:postIndex])
  48174. iNdEx = postIndex
  48175. case 4:
  48176. if wireType != 0 {
  48177. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  48178. }
  48179. var v int
  48180. for shift := uint(0); ; shift += 7 {
  48181. if shift >= 64 {
  48182. return ErrIntOverflowGenerated
  48183. }
  48184. if iNdEx >= l {
  48185. return io.ErrUnexpectedEOF
  48186. }
  48187. b := dAtA[iNdEx]
  48188. iNdEx++
  48189. v |= (int(b) & 0x7F) << shift
  48190. if b < 0x80 {
  48191. break
  48192. }
  48193. }
  48194. m.ReadOnly = bool(v != 0)
  48195. case 5:
  48196. if wireType != 2 {
  48197. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  48198. }
  48199. var msglen int
  48200. for shift := uint(0); ; shift += 7 {
  48201. if shift >= 64 {
  48202. return ErrIntOverflowGenerated
  48203. }
  48204. if iNdEx >= l {
  48205. return io.ErrUnexpectedEOF
  48206. }
  48207. b := dAtA[iNdEx]
  48208. iNdEx++
  48209. msglen |= (int(b) & 0x7F) << shift
  48210. if b < 0x80 {
  48211. break
  48212. }
  48213. }
  48214. if msglen < 0 {
  48215. return ErrInvalidLengthGenerated
  48216. }
  48217. postIndex := iNdEx + msglen
  48218. if postIndex > l {
  48219. return io.ErrUnexpectedEOF
  48220. }
  48221. if m.SecretRef == nil {
  48222. m.SecretRef = &LocalObjectReference{}
  48223. }
  48224. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48225. return err
  48226. }
  48227. iNdEx = postIndex
  48228. default:
  48229. iNdEx = preIndex
  48230. skippy, err := skipGenerated(dAtA[iNdEx:])
  48231. if err != nil {
  48232. return err
  48233. }
  48234. if skippy < 0 {
  48235. return ErrInvalidLengthGenerated
  48236. }
  48237. if (iNdEx + skippy) > l {
  48238. return io.ErrUnexpectedEOF
  48239. }
  48240. iNdEx += skippy
  48241. }
  48242. }
  48243. if iNdEx > l {
  48244. return io.ErrUnexpectedEOF
  48245. }
  48246. return nil
  48247. }
  48248. func (m *Sysctl) Unmarshal(dAtA []byte) error {
  48249. l := len(dAtA)
  48250. iNdEx := 0
  48251. for iNdEx < l {
  48252. preIndex := iNdEx
  48253. var wire uint64
  48254. for shift := uint(0); ; shift += 7 {
  48255. if shift >= 64 {
  48256. return ErrIntOverflowGenerated
  48257. }
  48258. if iNdEx >= l {
  48259. return io.ErrUnexpectedEOF
  48260. }
  48261. b := dAtA[iNdEx]
  48262. iNdEx++
  48263. wire |= (uint64(b) & 0x7F) << shift
  48264. if b < 0x80 {
  48265. break
  48266. }
  48267. }
  48268. fieldNum := int32(wire >> 3)
  48269. wireType := int(wire & 0x7)
  48270. if wireType == 4 {
  48271. return fmt.Errorf("proto: Sysctl: wiretype end group for non-group")
  48272. }
  48273. if fieldNum <= 0 {
  48274. return fmt.Errorf("proto: Sysctl: illegal tag %d (wire type %d)", fieldNum, wire)
  48275. }
  48276. switch fieldNum {
  48277. case 1:
  48278. if wireType != 2 {
  48279. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  48280. }
  48281. var stringLen uint64
  48282. for shift := uint(0); ; shift += 7 {
  48283. if shift >= 64 {
  48284. return ErrIntOverflowGenerated
  48285. }
  48286. if iNdEx >= l {
  48287. return io.ErrUnexpectedEOF
  48288. }
  48289. b := dAtA[iNdEx]
  48290. iNdEx++
  48291. stringLen |= (uint64(b) & 0x7F) << shift
  48292. if b < 0x80 {
  48293. break
  48294. }
  48295. }
  48296. intStringLen := int(stringLen)
  48297. if intStringLen < 0 {
  48298. return ErrInvalidLengthGenerated
  48299. }
  48300. postIndex := iNdEx + intStringLen
  48301. if postIndex > l {
  48302. return io.ErrUnexpectedEOF
  48303. }
  48304. m.Name = string(dAtA[iNdEx:postIndex])
  48305. iNdEx = postIndex
  48306. case 2:
  48307. if wireType != 2 {
  48308. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  48309. }
  48310. var stringLen uint64
  48311. for shift := uint(0); ; shift += 7 {
  48312. if shift >= 64 {
  48313. return ErrIntOverflowGenerated
  48314. }
  48315. if iNdEx >= l {
  48316. return io.ErrUnexpectedEOF
  48317. }
  48318. b := dAtA[iNdEx]
  48319. iNdEx++
  48320. stringLen |= (uint64(b) & 0x7F) << shift
  48321. if b < 0x80 {
  48322. break
  48323. }
  48324. }
  48325. intStringLen := int(stringLen)
  48326. if intStringLen < 0 {
  48327. return ErrInvalidLengthGenerated
  48328. }
  48329. postIndex := iNdEx + intStringLen
  48330. if postIndex > l {
  48331. return io.ErrUnexpectedEOF
  48332. }
  48333. m.Value = string(dAtA[iNdEx:postIndex])
  48334. iNdEx = postIndex
  48335. default:
  48336. iNdEx = preIndex
  48337. skippy, err := skipGenerated(dAtA[iNdEx:])
  48338. if err != nil {
  48339. return err
  48340. }
  48341. if skippy < 0 {
  48342. return ErrInvalidLengthGenerated
  48343. }
  48344. if (iNdEx + skippy) > l {
  48345. return io.ErrUnexpectedEOF
  48346. }
  48347. iNdEx += skippy
  48348. }
  48349. }
  48350. if iNdEx > l {
  48351. return io.ErrUnexpectedEOF
  48352. }
  48353. return nil
  48354. }
  48355. func (m *TCPSocketAction) Unmarshal(dAtA []byte) error {
  48356. l := len(dAtA)
  48357. iNdEx := 0
  48358. for iNdEx < l {
  48359. preIndex := iNdEx
  48360. var wire uint64
  48361. for shift := uint(0); ; shift += 7 {
  48362. if shift >= 64 {
  48363. return ErrIntOverflowGenerated
  48364. }
  48365. if iNdEx >= l {
  48366. return io.ErrUnexpectedEOF
  48367. }
  48368. b := dAtA[iNdEx]
  48369. iNdEx++
  48370. wire |= (uint64(b) & 0x7F) << shift
  48371. if b < 0x80 {
  48372. break
  48373. }
  48374. }
  48375. fieldNum := int32(wire >> 3)
  48376. wireType := int(wire & 0x7)
  48377. if wireType == 4 {
  48378. return fmt.Errorf("proto: TCPSocketAction: wiretype end group for non-group")
  48379. }
  48380. if fieldNum <= 0 {
  48381. return fmt.Errorf("proto: TCPSocketAction: illegal tag %d (wire type %d)", fieldNum, wire)
  48382. }
  48383. switch fieldNum {
  48384. case 1:
  48385. if wireType != 2 {
  48386. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  48387. }
  48388. var msglen int
  48389. for shift := uint(0); ; shift += 7 {
  48390. if shift >= 64 {
  48391. return ErrIntOverflowGenerated
  48392. }
  48393. if iNdEx >= l {
  48394. return io.ErrUnexpectedEOF
  48395. }
  48396. b := dAtA[iNdEx]
  48397. iNdEx++
  48398. msglen |= (int(b) & 0x7F) << shift
  48399. if b < 0x80 {
  48400. break
  48401. }
  48402. }
  48403. if msglen < 0 {
  48404. return ErrInvalidLengthGenerated
  48405. }
  48406. postIndex := iNdEx + msglen
  48407. if postIndex > l {
  48408. return io.ErrUnexpectedEOF
  48409. }
  48410. if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48411. return err
  48412. }
  48413. iNdEx = postIndex
  48414. case 2:
  48415. if wireType != 2 {
  48416. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  48417. }
  48418. var stringLen uint64
  48419. for shift := uint(0); ; shift += 7 {
  48420. if shift >= 64 {
  48421. return ErrIntOverflowGenerated
  48422. }
  48423. if iNdEx >= l {
  48424. return io.ErrUnexpectedEOF
  48425. }
  48426. b := dAtA[iNdEx]
  48427. iNdEx++
  48428. stringLen |= (uint64(b) & 0x7F) << shift
  48429. if b < 0x80 {
  48430. break
  48431. }
  48432. }
  48433. intStringLen := int(stringLen)
  48434. if intStringLen < 0 {
  48435. return ErrInvalidLengthGenerated
  48436. }
  48437. postIndex := iNdEx + intStringLen
  48438. if postIndex > l {
  48439. return io.ErrUnexpectedEOF
  48440. }
  48441. m.Host = string(dAtA[iNdEx:postIndex])
  48442. iNdEx = postIndex
  48443. default:
  48444. iNdEx = preIndex
  48445. skippy, err := skipGenerated(dAtA[iNdEx:])
  48446. if err != nil {
  48447. return err
  48448. }
  48449. if skippy < 0 {
  48450. return ErrInvalidLengthGenerated
  48451. }
  48452. if (iNdEx + skippy) > l {
  48453. return io.ErrUnexpectedEOF
  48454. }
  48455. iNdEx += skippy
  48456. }
  48457. }
  48458. if iNdEx > l {
  48459. return io.ErrUnexpectedEOF
  48460. }
  48461. return nil
  48462. }
  48463. func (m *Taint) Unmarshal(dAtA []byte) error {
  48464. l := len(dAtA)
  48465. iNdEx := 0
  48466. for iNdEx < l {
  48467. preIndex := iNdEx
  48468. var wire uint64
  48469. for shift := uint(0); ; shift += 7 {
  48470. if shift >= 64 {
  48471. return ErrIntOverflowGenerated
  48472. }
  48473. if iNdEx >= l {
  48474. return io.ErrUnexpectedEOF
  48475. }
  48476. b := dAtA[iNdEx]
  48477. iNdEx++
  48478. wire |= (uint64(b) & 0x7F) << shift
  48479. if b < 0x80 {
  48480. break
  48481. }
  48482. }
  48483. fieldNum := int32(wire >> 3)
  48484. wireType := int(wire & 0x7)
  48485. if wireType == 4 {
  48486. return fmt.Errorf("proto: Taint: wiretype end group for non-group")
  48487. }
  48488. if fieldNum <= 0 {
  48489. return fmt.Errorf("proto: Taint: illegal tag %d (wire type %d)", fieldNum, wire)
  48490. }
  48491. switch fieldNum {
  48492. case 1:
  48493. if wireType != 2 {
  48494. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  48495. }
  48496. var stringLen uint64
  48497. for shift := uint(0); ; shift += 7 {
  48498. if shift >= 64 {
  48499. return ErrIntOverflowGenerated
  48500. }
  48501. if iNdEx >= l {
  48502. return io.ErrUnexpectedEOF
  48503. }
  48504. b := dAtA[iNdEx]
  48505. iNdEx++
  48506. stringLen |= (uint64(b) & 0x7F) << shift
  48507. if b < 0x80 {
  48508. break
  48509. }
  48510. }
  48511. intStringLen := int(stringLen)
  48512. if intStringLen < 0 {
  48513. return ErrInvalidLengthGenerated
  48514. }
  48515. postIndex := iNdEx + intStringLen
  48516. if postIndex > l {
  48517. return io.ErrUnexpectedEOF
  48518. }
  48519. m.Key = string(dAtA[iNdEx:postIndex])
  48520. iNdEx = postIndex
  48521. case 2:
  48522. if wireType != 2 {
  48523. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  48524. }
  48525. var stringLen uint64
  48526. for shift := uint(0); ; shift += 7 {
  48527. if shift >= 64 {
  48528. return ErrIntOverflowGenerated
  48529. }
  48530. if iNdEx >= l {
  48531. return io.ErrUnexpectedEOF
  48532. }
  48533. b := dAtA[iNdEx]
  48534. iNdEx++
  48535. stringLen |= (uint64(b) & 0x7F) << shift
  48536. if b < 0x80 {
  48537. break
  48538. }
  48539. }
  48540. intStringLen := int(stringLen)
  48541. if intStringLen < 0 {
  48542. return ErrInvalidLengthGenerated
  48543. }
  48544. postIndex := iNdEx + intStringLen
  48545. if postIndex > l {
  48546. return io.ErrUnexpectedEOF
  48547. }
  48548. m.Value = string(dAtA[iNdEx:postIndex])
  48549. iNdEx = postIndex
  48550. case 3:
  48551. if wireType != 2 {
  48552. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  48553. }
  48554. var stringLen uint64
  48555. for shift := uint(0); ; shift += 7 {
  48556. if shift >= 64 {
  48557. return ErrIntOverflowGenerated
  48558. }
  48559. if iNdEx >= l {
  48560. return io.ErrUnexpectedEOF
  48561. }
  48562. b := dAtA[iNdEx]
  48563. iNdEx++
  48564. stringLen |= (uint64(b) & 0x7F) << shift
  48565. if b < 0x80 {
  48566. break
  48567. }
  48568. }
  48569. intStringLen := int(stringLen)
  48570. if intStringLen < 0 {
  48571. return ErrInvalidLengthGenerated
  48572. }
  48573. postIndex := iNdEx + intStringLen
  48574. if postIndex > l {
  48575. return io.ErrUnexpectedEOF
  48576. }
  48577. m.Effect = TaintEffect(dAtA[iNdEx:postIndex])
  48578. iNdEx = postIndex
  48579. case 4:
  48580. if wireType != 2 {
  48581. return fmt.Errorf("proto: wrong wireType = %d for field TimeAdded", wireType)
  48582. }
  48583. var msglen int
  48584. for shift := uint(0); ; shift += 7 {
  48585. if shift >= 64 {
  48586. return ErrIntOverflowGenerated
  48587. }
  48588. if iNdEx >= l {
  48589. return io.ErrUnexpectedEOF
  48590. }
  48591. b := dAtA[iNdEx]
  48592. iNdEx++
  48593. msglen |= (int(b) & 0x7F) << shift
  48594. if b < 0x80 {
  48595. break
  48596. }
  48597. }
  48598. if msglen < 0 {
  48599. return ErrInvalidLengthGenerated
  48600. }
  48601. postIndex := iNdEx + msglen
  48602. if postIndex > l {
  48603. return io.ErrUnexpectedEOF
  48604. }
  48605. if m.TimeAdded == nil {
  48606. m.TimeAdded = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  48607. }
  48608. if err := m.TimeAdded.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48609. return err
  48610. }
  48611. iNdEx = postIndex
  48612. default:
  48613. iNdEx = preIndex
  48614. skippy, err := skipGenerated(dAtA[iNdEx:])
  48615. if err != nil {
  48616. return err
  48617. }
  48618. if skippy < 0 {
  48619. return ErrInvalidLengthGenerated
  48620. }
  48621. if (iNdEx + skippy) > l {
  48622. return io.ErrUnexpectedEOF
  48623. }
  48624. iNdEx += skippy
  48625. }
  48626. }
  48627. if iNdEx > l {
  48628. return io.ErrUnexpectedEOF
  48629. }
  48630. return nil
  48631. }
  48632. func (m *Toleration) Unmarshal(dAtA []byte) error {
  48633. l := len(dAtA)
  48634. iNdEx := 0
  48635. for iNdEx < l {
  48636. preIndex := iNdEx
  48637. var wire uint64
  48638. for shift := uint(0); ; shift += 7 {
  48639. if shift >= 64 {
  48640. return ErrIntOverflowGenerated
  48641. }
  48642. if iNdEx >= l {
  48643. return io.ErrUnexpectedEOF
  48644. }
  48645. b := dAtA[iNdEx]
  48646. iNdEx++
  48647. wire |= (uint64(b) & 0x7F) << shift
  48648. if b < 0x80 {
  48649. break
  48650. }
  48651. }
  48652. fieldNum := int32(wire >> 3)
  48653. wireType := int(wire & 0x7)
  48654. if wireType == 4 {
  48655. return fmt.Errorf("proto: Toleration: wiretype end group for non-group")
  48656. }
  48657. if fieldNum <= 0 {
  48658. return fmt.Errorf("proto: Toleration: illegal tag %d (wire type %d)", fieldNum, wire)
  48659. }
  48660. switch fieldNum {
  48661. case 1:
  48662. if wireType != 2 {
  48663. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  48664. }
  48665. var stringLen uint64
  48666. for shift := uint(0); ; shift += 7 {
  48667. if shift >= 64 {
  48668. return ErrIntOverflowGenerated
  48669. }
  48670. if iNdEx >= l {
  48671. return io.ErrUnexpectedEOF
  48672. }
  48673. b := dAtA[iNdEx]
  48674. iNdEx++
  48675. stringLen |= (uint64(b) & 0x7F) << shift
  48676. if b < 0x80 {
  48677. break
  48678. }
  48679. }
  48680. intStringLen := int(stringLen)
  48681. if intStringLen < 0 {
  48682. return ErrInvalidLengthGenerated
  48683. }
  48684. postIndex := iNdEx + intStringLen
  48685. if postIndex > l {
  48686. return io.ErrUnexpectedEOF
  48687. }
  48688. m.Key = string(dAtA[iNdEx:postIndex])
  48689. iNdEx = postIndex
  48690. case 2:
  48691. if wireType != 2 {
  48692. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  48693. }
  48694. var stringLen uint64
  48695. for shift := uint(0); ; shift += 7 {
  48696. if shift >= 64 {
  48697. return ErrIntOverflowGenerated
  48698. }
  48699. if iNdEx >= l {
  48700. return io.ErrUnexpectedEOF
  48701. }
  48702. b := dAtA[iNdEx]
  48703. iNdEx++
  48704. stringLen |= (uint64(b) & 0x7F) << shift
  48705. if b < 0x80 {
  48706. break
  48707. }
  48708. }
  48709. intStringLen := int(stringLen)
  48710. if intStringLen < 0 {
  48711. return ErrInvalidLengthGenerated
  48712. }
  48713. postIndex := iNdEx + intStringLen
  48714. if postIndex > l {
  48715. return io.ErrUnexpectedEOF
  48716. }
  48717. m.Operator = TolerationOperator(dAtA[iNdEx:postIndex])
  48718. iNdEx = postIndex
  48719. case 3:
  48720. if wireType != 2 {
  48721. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  48722. }
  48723. var stringLen uint64
  48724. for shift := uint(0); ; shift += 7 {
  48725. if shift >= 64 {
  48726. return ErrIntOverflowGenerated
  48727. }
  48728. if iNdEx >= l {
  48729. return io.ErrUnexpectedEOF
  48730. }
  48731. b := dAtA[iNdEx]
  48732. iNdEx++
  48733. stringLen |= (uint64(b) & 0x7F) << shift
  48734. if b < 0x80 {
  48735. break
  48736. }
  48737. }
  48738. intStringLen := int(stringLen)
  48739. if intStringLen < 0 {
  48740. return ErrInvalidLengthGenerated
  48741. }
  48742. postIndex := iNdEx + intStringLen
  48743. if postIndex > l {
  48744. return io.ErrUnexpectedEOF
  48745. }
  48746. m.Value = string(dAtA[iNdEx:postIndex])
  48747. iNdEx = postIndex
  48748. case 4:
  48749. if wireType != 2 {
  48750. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  48751. }
  48752. var stringLen uint64
  48753. for shift := uint(0); ; shift += 7 {
  48754. if shift >= 64 {
  48755. return ErrIntOverflowGenerated
  48756. }
  48757. if iNdEx >= l {
  48758. return io.ErrUnexpectedEOF
  48759. }
  48760. b := dAtA[iNdEx]
  48761. iNdEx++
  48762. stringLen |= (uint64(b) & 0x7F) << shift
  48763. if b < 0x80 {
  48764. break
  48765. }
  48766. }
  48767. intStringLen := int(stringLen)
  48768. if intStringLen < 0 {
  48769. return ErrInvalidLengthGenerated
  48770. }
  48771. postIndex := iNdEx + intStringLen
  48772. if postIndex > l {
  48773. return io.ErrUnexpectedEOF
  48774. }
  48775. m.Effect = TaintEffect(dAtA[iNdEx:postIndex])
  48776. iNdEx = postIndex
  48777. case 5:
  48778. if wireType != 0 {
  48779. return fmt.Errorf("proto: wrong wireType = %d for field TolerationSeconds", wireType)
  48780. }
  48781. var v int64
  48782. for shift := uint(0); ; shift += 7 {
  48783. if shift >= 64 {
  48784. return ErrIntOverflowGenerated
  48785. }
  48786. if iNdEx >= l {
  48787. return io.ErrUnexpectedEOF
  48788. }
  48789. b := dAtA[iNdEx]
  48790. iNdEx++
  48791. v |= (int64(b) & 0x7F) << shift
  48792. if b < 0x80 {
  48793. break
  48794. }
  48795. }
  48796. m.TolerationSeconds = &v
  48797. default:
  48798. iNdEx = preIndex
  48799. skippy, err := skipGenerated(dAtA[iNdEx:])
  48800. if err != nil {
  48801. return err
  48802. }
  48803. if skippy < 0 {
  48804. return ErrInvalidLengthGenerated
  48805. }
  48806. if (iNdEx + skippy) > l {
  48807. return io.ErrUnexpectedEOF
  48808. }
  48809. iNdEx += skippy
  48810. }
  48811. }
  48812. if iNdEx > l {
  48813. return io.ErrUnexpectedEOF
  48814. }
  48815. return nil
  48816. }
  48817. func (m *TopologySelectorLabelRequirement) Unmarshal(dAtA []byte) error {
  48818. l := len(dAtA)
  48819. iNdEx := 0
  48820. for iNdEx < l {
  48821. preIndex := iNdEx
  48822. var wire uint64
  48823. for shift := uint(0); ; shift += 7 {
  48824. if shift >= 64 {
  48825. return ErrIntOverflowGenerated
  48826. }
  48827. if iNdEx >= l {
  48828. return io.ErrUnexpectedEOF
  48829. }
  48830. b := dAtA[iNdEx]
  48831. iNdEx++
  48832. wire |= (uint64(b) & 0x7F) << shift
  48833. if b < 0x80 {
  48834. break
  48835. }
  48836. }
  48837. fieldNum := int32(wire >> 3)
  48838. wireType := int(wire & 0x7)
  48839. if wireType == 4 {
  48840. return fmt.Errorf("proto: TopologySelectorLabelRequirement: wiretype end group for non-group")
  48841. }
  48842. if fieldNum <= 0 {
  48843. return fmt.Errorf("proto: TopologySelectorLabelRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  48844. }
  48845. switch fieldNum {
  48846. case 1:
  48847. if wireType != 2 {
  48848. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  48849. }
  48850. var stringLen uint64
  48851. for shift := uint(0); ; shift += 7 {
  48852. if shift >= 64 {
  48853. return ErrIntOverflowGenerated
  48854. }
  48855. if iNdEx >= l {
  48856. return io.ErrUnexpectedEOF
  48857. }
  48858. b := dAtA[iNdEx]
  48859. iNdEx++
  48860. stringLen |= (uint64(b) & 0x7F) << shift
  48861. if b < 0x80 {
  48862. break
  48863. }
  48864. }
  48865. intStringLen := int(stringLen)
  48866. if intStringLen < 0 {
  48867. return ErrInvalidLengthGenerated
  48868. }
  48869. postIndex := iNdEx + intStringLen
  48870. if postIndex > l {
  48871. return io.ErrUnexpectedEOF
  48872. }
  48873. m.Key = string(dAtA[iNdEx:postIndex])
  48874. iNdEx = postIndex
  48875. case 2:
  48876. if wireType != 2 {
  48877. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  48878. }
  48879. var stringLen uint64
  48880. for shift := uint(0); ; shift += 7 {
  48881. if shift >= 64 {
  48882. return ErrIntOverflowGenerated
  48883. }
  48884. if iNdEx >= l {
  48885. return io.ErrUnexpectedEOF
  48886. }
  48887. b := dAtA[iNdEx]
  48888. iNdEx++
  48889. stringLen |= (uint64(b) & 0x7F) << shift
  48890. if b < 0x80 {
  48891. break
  48892. }
  48893. }
  48894. intStringLen := int(stringLen)
  48895. if intStringLen < 0 {
  48896. return ErrInvalidLengthGenerated
  48897. }
  48898. postIndex := iNdEx + intStringLen
  48899. if postIndex > l {
  48900. return io.ErrUnexpectedEOF
  48901. }
  48902. m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
  48903. iNdEx = postIndex
  48904. default:
  48905. iNdEx = preIndex
  48906. skippy, err := skipGenerated(dAtA[iNdEx:])
  48907. if err != nil {
  48908. return err
  48909. }
  48910. if skippy < 0 {
  48911. return ErrInvalidLengthGenerated
  48912. }
  48913. if (iNdEx + skippy) > l {
  48914. return io.ErrUnexpectedEOF
  48915. }
  48916. iNdEx += skippy
  48917. }
  48918. }
  48919. if iNdEx > l {
  48920. return io.ErrUnexpectedEOF
  48921. }
  48922. return nil
  48923. }
  48924. func (m *TopologySelectorTerm) Unmarshal(dAtA []byte) error {
  48925. l := len(dAtA)
  48926. iNdEx := 0
  48927. for iNdEx < l {
  48928. preIndex := iNdEx
  48929. var wire uint64
  48930. for shift := uint(0); ; shift += 7 {
  48931. if shift >= 64 {
  48932. return ErrIntOverflowGenerated
  48933. }
  48934. if iNdEx >= l {
  48935. return io.ErrUnexpectedEOF
  48936. }
  48937. b := dAtA[iNdEx]
  48938. iNdEx++
  48939. wire |= (uint64(b) & 0x7F) << shift
  48940. if b < 0x80 {
  48941. break
  48942. }
  48943. }
  48944. fieldNum := int32(wire >> 3)
  48945. wireType := int(wire & 0x7)
  48946. if wireType == 4 {
  48947. return fmt.Errorf("proto: TopologySelectorTerm: wiretype end group for non-group")
  48948. }
  48949. if fieldNum <= 0 {
  48950. return fmt.Errorf("proto: TopologySelectorTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  48951. }
  48952. switch fieldNum {
  48953. case 1:
  48954. if wireType != 2 {
  48955. return fmt.Errorf("proto: wrong wireType = %d for field MatchLabelExpressions", wireType)
  48956. }
  48957. var msglen int
  48958. for shift := uint(0); ; shift += 7 {
  48959. if shift >= 64 {
  48960. return ErrIntOverflowGenerated
  48961. }
  48962. if iNdEx >= l {
  48963. return io.ErrUnexpectedEOF
  48964. }
  48965. b := dAtA[iNdEx]
  48966. iNdEx++
  48967. msglen |= (int(b) & 0x7F) << shift
  48968. if b < 0x80 {
  48969. break
  48970. }
  48971. }
  48972. if msglen < 0 {
  48973. return ErrInvalidLengthGenerated
  48974. }
  48975. postIndex := iNdEx + msglen
  48976. if postIndex > l {
  48977. return io.ErrUnexpectedEOF
  48978. }
  48979. m.MatchLabelExpressions = append(m.MatchLabelExpressions, TopologySelectorLabelRequirement{})
  48980. if err := m.MatchLabelExpressions[len(m.MatchLabelExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48981. return err
  48982. }
  48983. iNdEx = postIndex
  48984. default:
  48985. iNdEx = preIndex
  48986. skippy, err := skipGenerated(dAtA[iNdEx:])
  48987. if err != nil {
  48988. return err
  48989. }
  48990. if skippy < 0 {
  48991. return ErrInvalidLengthGenerated
  48992. }
  48993. if (iNdEx + skippy) > l {
  48994. return io.ErrUnexpectedEOF
  48995. }
  48996. iNdEx += skippy
  48997. }
  48998. }
  48999. if iNdEx > l {
  49000. return io.ErrUnexpectedEOF
  49001. }
  49002. return nil
  49003. }
  49004. func (m *TypedLocalObjectReference) Unmarshal(dAtA []byte) error {
  49005. l := len(dAtA)
  49006. iNdEx := 0
  49007. for iNdEx < l {
  49008. preIndex := iNdEx
  49009. var wire uint64
  49010. for shift := uint(0); ; shift += 7 {
  49011. if shift >= 64 {
  49012. return ErrIntOverflowGenerated
  49013. }
  49014. if iNdEx >= l {
  49015. return io.ErrUnexpectedEOF
  49016. }
  49017. b := dAtA[iNdEx]
  49018. iNdEx++
  49019. wire |= (uint64(b) & 0x7F) << shift
  49020. if b < 0x80 {
  49021. break
  49022. }
  49023. }
  49024. fieldNum := int32(wire >> 3)
  49025. wireType := int(wire & 0x7)
  49026. if wireType == 4 {
  49027. return fmt.Errorf("proto: TypedLocalObjectReference: wiretype end group for non-group")
  49028. }
  49029. if fieldNum <= 0 {
  49030. return fmt.Errorf("proto: TypedLocalObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  49031. }
  49032. switch fieldNum {
  49033. case 1:
  49034. if wireType != 2 {
  49035. return fmt.Errorf("proto: wrong wireType = %d for field APIGroup", wireType)
  49036. }
  49037. var stringLen uint64
  49038. for shift := uint(0); ; shift += 7 {
  49039. if shift >= 64 {
  49040. return ErrIntOverflowGenerated
  49041. }
  49042. if iNdEx >= l {
  49043. return io.ErrUnexpectedEOF
  49044. }
  49045. b := dAtA[iNdEx]
  49046. iNdEx++
  49047. stringLen |= (uint64(b) & 0x7F) << shift
  49048. if b < 0x80 {
  49049. break
  49050. }
  49051. }
  49052. intStringLen := int(stringLen)
  49053. if intStringLen < 0 {
  49054. return ErrInvalidLengthGenerated
  49055. }
  49056. postIndex := iNdEx + intStringLen
  49057. if postIndex > l {
  49058. return io.ErrUnexpectedEOF
  49059. }
  49060. s := string(dAtA[iNdEx:postIndex])
  49061. m.APIGroup = &s
  49062. iNdEx = postIndex
  49063. case 2:
  49064. if wireType != 2 {
  49065. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  49066. }
  49067. var stringLen uint64
  49068. for shift := uint(0); ; shift += 7 {
  49069. if shift >= 64 {
  49070. return ErrIntOverflowGenerated
  49071. }
  49072. if iNdEx >= l {
  49073. return io.ErrUnexpectedEOF
  49074. }
  49075. b := dAtA[iNdEx]
  49076. iNdEx++
  49077. stringLen |= (uint64(b) & 0x7F) << shift
  49078. if b < 0x80 {
  49079. break
  49080. }
  49081. }
  49082. intStringLen := int(stringLen)
  49083. if intStringLen < 0 {
  49084. return ErrInvalidLengthGenerated
  49085. }
  49086. postIndex := iNdEx + intStringLen
  49087. if postIndex > l {
  49088. return io.ErrUnexpectedEOF
  49089. }
  49090. m.Kind = string(dAtA[iNdEx:postIndex])
  49091. iNdEx = postIndex
  49092. case 3:
  49093. if wireType != 2 {
  49094. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  49095. }
  49096. var stringLen uint64
  49097. for shift := uint(0); ; shift += 7 {
  49098. if shift >= 64 {
  49099. return ErrIntOverflowGenerated
  49100. }
  49101. if iNdEx >= l {
  49102. return io.ErrUnexpectedEOF
  49103. }
  49104. b := dAtA[iNdEx]
  49105. iNdEx++
  49106. stringLen |= (uint64(b) & 0x7F) << shift
  49107. if b < 0x80 {
  49108. break
  49109. }
  49110. }
  49111. intStringLen := int(stringLen)
  49112. if intStringLen < 0 {
  49113. return ErrInvalidLengthGenerated
  49114. }
  49115. postIndex := iNdEx + intStringLen
  49116. if postIndex > l {
  49117. return io.ErrUnexpectedEOF
  49118. }
  49119. m.Name = string(dAtA[iNdEx:postIndex])
  49120. iNdEx = postIndex
  49121. default:
  49122. iNdEx = preIndex
  49123. skippy, err := skipGenerated(dAtA[iNdEx:])
  49124. if err != nil {
  49125. return err
  49126. }
  49127. if skippy < 0 {
  49128. return ErrInvalidLengthGenerated
  49129. }
  49130. if (iNdEx + skippy) > l {
  49131. return io.ErrUnexpectedEOF
  49132. }
  49133. iNdEx += skippy
  49134. }
  49135. }
  49136. if iNdEx > l {
  49137. return io.ErrUnexpectedEOF
  49138. }
  49139. return nil
  49140. }
  49141. func (m *Volume) Unmarshal(dAtA []byte) error {
  49142. l := len(dAtA)
  49143. iNdEx := 0
  49144. for iNdEx < l {
  49145. preIndex := iNdEx
  49146. var wire uint64
  49147. for shift := uint(0); ; shift += 7 {
  49148. if shift >= 64 {
  49149. return ErrIntOverflowGenerated
  49150. }
  49151. if iNdEx >= l {
  49152. return io.ErrUnexpectedEOF
  49153. }
  49154. b := dAtA[iNdEx]
  49155. iNdEx++
  49156. wire |= (uint64(b) & 0x7F) << shift
  49157. if b < 0x80 {
  49158. break
  49159. }
  49160. }
  49161. fieldNum := int32(wire >> 3)
  49162. wireType := int(wire & 0x7)
  49163. if wireType == 4 {
  49164. return fmt.Errorf("proto: Volume: wiretype end group for non-group")
  49165. }
  49166. if fieldNum <= 0 {
  49167. return fmt.Errorf("proto: Volume: illegal tag %d (wire type %d)", fieldNum, wire)
  49168. }
  49169. switch fieldNum {
  49170. case 1:
  49171. if wireType != 2 {
  49172. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  49173. }
  49174. var stringLen uint64
  49175. for shift := uint(0); ; shift += 7 {
  49176. if shift >= 64 {
  49177. return ErrIntOverflowGenerated
  49178. }
  49179. if iNdEx >= l {
  49180. return io.ErrUnexpectedEOF
  49181. }
  49182. b := dAtA[iNdEx]
  49183. iNdEx++
  49184. stringLen |= (uint64(b) & 0x7F) << shift
  49185. if b < 0x80 {
  49186. break
  49187. }
  49188. }
  49189. intStringLen := int(stringLen)
  49190. if intStringLen < 0 {
  49191. return ErrInvalidLengthGenerated
  49192. }
  49193. postIndex := iNdEx + intStringLen
  49194. if postIndex > l {
  49195. return io.ErrUnexpectedEOF
  49196. }
  49197. m.Name = string(dAtA[iNdEx:postIndex])
  49198. iNdEx = postIndex
  49199. case 2:
  49200. if wireType != 2 {
  49201. return fmt.Errorf("proto: wrong wireType = %d for field VolumeSource", wireType)
  49202. }
  49203. var msglen int
  49204. for shift := uint(0); ; shift += 7 {
  49205. if shift >= 64 {
  49206. return ErrIntOverflowGenerated
  49207. }
  49208. if iNdEx >= l {
  49209. return io.ErrUnexpectedEOF
  49210. }
  49211. b := dAtA[iNdEx]
  49212. iNdEx++
  49213. msglen |= (int(b) & 0x7F) << shift
  49214. if b < 0x80 {
  49215. break
  49216. }
  49217. }
  49218. if msglen < 0 {
  49219. return ErrInvalidLengthGenerated
  49220. }
  49221. postIndex := iNdEx + msglen
  49222. if postIndex > l {
  49223. return io.ErrUnexpectedEOF
  49224. }
  49225. if err := m.VolumeSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49226. return err
  49227. }
  49228. iNdEx = postIndex
  49229. default:
  49230. iNdEx = preIndex
  49231. skippy, err := skipGenerated(dAtA[iNdEx:])
  49232. if err != nil {
  49233. return err
  49234. }
  49235. if skippy < 0 {
  49236. return ErrInvalidLengthGenerated
  49237. }
  49238. if (iNdEx + skippy) > l {
  49239. return io.ErrUnexpectedEOF
  49240. }
  49241. iNdEx += skippy
  49242. }
  49243. }
  49244. if iNdEx > l {
  49245. return io.ErrUnexpectedEOF
  49246. }
  49247. return nil
  49248. }
  49249. func (m *VolumeDevice) Unmarshal(dAtA []byte) error {
  49250. l := len(dAtA)
  49251. iNdEx := 0
  49252. for iNdEx < l {
  49253. preIndex := iNdEx
  49254. var wire uint64
  49255. for shift := uint(0); ; shift += 7 {
  49256. if shift >= 64 {
  49257. return ErrIntOverflowGenerated
  49258. }
  49259. if iNdEx >= l {
  49260. return io.ErrUnexpectedEOF
  49261. }
  49262. b := dAtA[iNdEx]
  49263. iNdEx++
  49264. wire |= (uint64(b) & 0x7F) << shift
  49265. if b < 0x80 {
  49266. break
  49267. }
  49268. }
  49269. fieldNum := int32(wire >> 3)
  49270. wireType := int(wire & 0x7)
  49271. if wireType == 4 {
  49272. return fmt.Errorf("proto: VolumeDevice: wiretype end group for non-group")
  49273. }
  49274. if fieldNum <= 0 {
  49275. return fmt.Errorf("proto: VolumeDevice: illegal tag %d (wire type %d)", fieldNum, wire)
  49276. }
  49277. switch fieldNum {
  49278. case 1:
  49279. if wireType != 2 {
  49280. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  49281. }
  49282. var stringLen uint64
  49283. for shift := uint(0); ; shift += 7 {
  49284. if shift >= 64 {
  49285. return ErrIntOverflowGenerated
  49286. }
  49287. if iNdEx >= l {
  49288. return io.ErrUnexpectedEOF
  49289. }
  49290. b := dAtA[iNdEx]
  49291. iNdEx++
  49292. stringLen |= (uint64(b) & 0x7F) << shift
  49293. if b < 0x80 {
  49294. break
  49295. }
  49296. }
  49297. intStringLen := int(stringLen)
  49298. if intStringLen < 0 {
  49299. return ErrInvalidLengthGenerated
  49300. }
  49301. postIndex := iNdEx + intStringLen
  49302. if postIndex > l {
  49303. return io.ErrUnexpectedEOF
  49304. }
  49305. m.Name = string(dAtA[iNdEx:postIndex])
  49306. iNdEx = postIndex
  49307. case 2:
  49308. if wireType != 2 {
  49309. return fmt.Errorf("proto: wrong wireType = %d for field DevicePath", wireType)
  49310. }
  49311. var stringLen uint64
  49312. for shift := uint(0); ; shift += 7 {
  49313. if shift >= 64 {
  49314. return ErrIntOverflowGenerated
  49315. }
  49316. if iNdEx >= l {
  49317. return io.ErrUnexpectedEOF
  49318. }
  49319. b := dAtA[iNdEx]
  49320. iNdEx++
  49321. stringLen |= (uint64(b) & 0x7F) << shift
  49322. if b < 0x80 {
  49323. break
  49324. }
  49325. }
  49326. intStringLen := int(stringLen)
  49327. if intStringLen < 0 {
  49328. return ErrInvalidLengthGenerated
  49329. }
  49330. postIndex := iNdEx + intStringLen
  49331. if postIndex > l {
  49332. return io.ErrUnexpectedEOF
  49333. }
  49334. m.DevicePath = string(dAtA[iNdEx:postIndex])
  49335. iNdEx = postIndex
  49336. default:
  49337. iNdEx = preIndex
  49338. skippy, err := skipGenerated(dAtA[iNdEx:])
  49339. if err != nil {
  49340. return err
  49341. }
  49342. if skippy < 0 {
  49343. return ErrInvalidLengthGenerated
  49344. }
  49345. if (iNdEx + skippy) > l {
  49346. return io.ErrUnexpectedEOF
  49347. }
  49348. iNdEx += skippy
  49349. }
  49350. }
  49351. if iNdEx > l {
  49352. return io.ErrUnexpectedEOF
  49353. }
  49354. return nil
  49355. }
  49356. func (m *VolumeMount) Unmarshal(dAtA []byte) error {
  49357. l := len(dAtA)
  49358. iNdEx := 0
  49359. for iNdEx < l {
  49360. preIndex := iNdEx
  49361. var wire uint64
  49362. for shift := uint(0); ; shift += 7 {
  49363. if shift >= 64 {
  49364. return ErrIntOverflowGenerated
  49365. }
  49366. if iNdEx >= l {
  49367. return io.ErrUnexpectedEOF
  49368. }
  49369. b := dAtA[iNdEx]
  49370. iNdEx++
  49371. wire |= (uint64(b) & 0x7F) << shift
  49372. if b < 0x80 {
  49373. break
  49374. }
  49375. }
  49376. fieldNum := int32(wire >> 3)
  49377. wireType := int(wire & 0x7)
  49378. if wireType == 4 {
  49379. return fmt.Errorf("proto: VolumeMount: wiretype end group for non-group")
  49380. }
  49381. if fieldNum <= 0 {
  49382. return fmt.Errorf("proto: VolumeMount: illegal tag %d (wire type %d)", fieldNum, wire)
  49383. }
  49384. switch fieldNum {
  49385. case 1:
  49386. if wireType != 2 {
  49387. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  49388. }
  49389. var stringLen uint64
  49390. for shift := uint(0); ; shift += 7 {
  49391. if shift >= 64 {
  49392. return ErrIntOverflowGenerated
  49393. }
  49394. if iNdEx >= l {
  49395. return io.ErrUnexpectedEOF
  49396. }
  49397. b := dAtA[iNdEx]
  49398. iNdEx++
  49399. stringLen |= (uint64(b) & 0x7F) << shift
  49400. if b < 0x80 {
  49401. break
  49402. }
  49403. }
  49404. intStringLen := int(stringLen)
  49405. if intStringLen < 0 {
  49406. return ErrInvalidLengthGenerated
  49407. }
  49408. postIndex := iNdEx + intStringLen
  49409. if postIndex > l {
  49410. return io.ErrUnexpectedEOF
  49411. }
  49412. m.Name = string(dAtA[iNdEx:postIndex])
  49413. iNdEx = postIndex
  49414. case 2:
  49415. if wireType != 0 {
  49416. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  49417. }
  49418. var v int
  49419. for shift := uint(0); ; shift += 7 {
  49420. if shift >= 64 {
  49421. return ErrIntOverflowGenerated
  49422. }
  49423. if iNdEx >= l {
  49424. return io.ErrUnexpectedEOF
  49425. }
  49426. b := dAtA[iNdEx]
  49427. iNdEx++
  49428. v |= (int(b) & 0x7F) << shift
  49429. if b < 0x80 {
  49430. break
  49431. }
  49432. }
  49433. m.ReadOnly = bool(v != 0)
  49434. case 3:
  49435. if wireType != 2 {
  49436. return fmt.Errorf("proto: wrong wireType = %d for field MountPath", wireType)
  49437. }
  49438. var stringLen uint64
  49439. for shift := uint(0); ; shift += 7 {
  49440. if shift >= 64 {
  49441. return ErrIntOverflowGenerated
  49442. }
  49443. if iNdEx >= l {
  49444. return io.ErrUnexpectedEOF
  49445. }
  49446. b := dAtA[iNdEx]
  49447. iNdEx++
  49448. stringLen |= (uint64(b) & 0x7F) << shift
  49449. if b < 0x80 {
  49450. break
  49451. }
  49452. }
  49453. intStringLen := int(stringLen)
  49454. if intStringLen < 0 {
  49455. return ErrInvalidLengthGenerated
  49456. }
  49457. postIndex := iNdEx + intStringLen
  49458. if postIndex > l {
  49459. return io.ErrUnexpectedEOF
  49460. }
  49461. m.MountPath = string(dAtA[iNdEx:postIndex])
  49462. iNdEx = postIndex
  49463. case 4:
  49464. if wireType != 2 {
  49465. return fmt.Errorf("proto: wrong wireType = %d for field SubPath", wireType)
  49466. }
  49467. var stringLen uint64
  49468. for shift := uint(0); ; shift += 7 {
  49469. if shift >= 64 {
  49470. return ErrIntOverflowGenerated
  49471. }
  49472. if iNdEx >= l {
  49473. return io.ErrUnexpectedEOF
  49474. }
  49475. b := dAtA[iNdEx]
  49476. iNdEx++
  49477. stringLen |= (uint64(b) & 0x7F) << shift
  49478. if b < 0x80 {
  49479. break
  49480. }
  49481. }
  49482. intStringLen := int(stringLen)
  49483. if intStringLen < 0 {
  49484. return ErrInvalidLengthGenerated
  49485. }
  49486. postIndex := iNdEx + intStringLen
  49487. if postIndex > l {
  49488. return io.ErrUnexpectedEOF
  49489. }
  49490. m.SubPath = string(dAtA[iNdEx:postIndex])
  49491. iNdEx = postIndex
  49492. case 5:
  49493. if wireType != 2 {
  49494. return fmt.Errorf("proto: wrong wireType = %d for field MountPropagation", wireType)
  49495. }
  49496. var stringLen uint64
  49497. for shift := uint(0); ; shift += 7 {
  49498. if shift >= 64 {
  49499. return ErrIntOverflowGenerated
  49500. }
  49501. if iNdEx >= l {
  49502. return io.ErrUnexpectedEOF
  49503. }
  49504. b := dAtA[iNdEx]
  49505. iNdEx++
  49506. stringLen |= (uint64(b) & 0x7F) << shift
  49507. if b < 0x80 {
  49508. break
  49509. }
  49510. }
  49511. intStringLen := int(stringLen)
  49512. if intStringLen < 0 {
  49513. return ErrInvalidLengthGenerated
  49514. }
  49515. postIndex := iNdEx + intStringLen
  49516. if postIndex > l {
  49517. return io.ErrUnexpectedEOF
  49518. }
  49519. s := MountPropagationMode(dAtA[iNdEx:postIndex])
  49520. m.MountPropagation = &s
  49521. iNdEx = postIndex
  49522. case 6:
  49523. if wireType != 2 {
  49524. return fmt.Errorf("proto: wrong wireType = %d for field SubPathExpr", wireType)
  49525. }
  49526. var stringLen uint64
  49527. for shift := uint(0); ; shift += 7 {
  49528. if shift >= 64 {
  49529. return ErrIntOverflowGenerated
  49530. }
  49531. if iNdEx >= l {
  49532. return io.ErrUnexpectedEOF
  49533. }
  49534. b := dAtA[iNdEx]
  49535. iNdEx++
  49536. stringLen |= (uint64(b) & 0x7F) << shift
  49537. if b < 0x80 {
  49538. break
  49539. }
  49540. }
  49541. intStringLen := int(stringLen)
  49542. if intStringLen < 0 {
  49543. return ErrInvalidLengthGenerated
  49544. }
  49545. postIndex := iNdEx + intStringLen
  49546. if postIndex > l {
  49547. return io.ErrUnexpectedEOF
  49548. }
  49549. m.SubPathExpr = string(dAtA[iNdEx:postIndex])
  49550. iNdEx = postIndex
  49551. default:
  49552. iNdEx = preIndex
  49553. skippy, err := skipGenerated(dAtA[iNdEx:])
  49554. if err != nil {
  49555. return err
  49556. }
  49557. if skippy < 0 {
  49558. return ErrInvalidLengthGenerated
  49559. }
  49560. if (iNdEx + skippy) > l {
  49561. return io.ErrUnexpectedEOF
  49562. }
  49563. iNdEx += skippy
  49564. }
  49565. }
  49566. if iNdEx > l {
  49567. return io.ErrUnexpectedEOF
  49568. }
  49569. return nil
  49570. }
  49571. func (m *VolumeNodeAffinity) Unmarshal(dAtA []byte) error {
  49572. l := len(dAtA)
  49573. iNdEx := 0
  49574. for iNdEx < l {
  49575. preIndex := iNdEx
  49576. var wire uint64
  49577. for shift := uint(0); ; shift += 7 {
  49578. if shift >= 64 {
  49579. return ErrIntOverflowGenerated
  49580. }
  49581. if iNdEx >= l {
  49582. return io.ErrUnexpectedEOF
  49583. }
  49584. b := dAtA[iNdEx]
  49585. iNdEx++
  49586. wire |= (uint64(b) & 0x7F) << shift
  49587. if b < 0x80 {
  49588. break
  49589. }
  49590. }
  49591. fieldNum := int32(wire >> 3)
  49592. wireType := int(wire & 0x7)
  49593. if wireType == 4 {
  49594. return fmt.Errorf("proto: VolumeNodeAffinity: wiretype end group for non-group")
  49595. }
  49596. if fieldNum <= 0 {
  49597. return fmt.Errorf("proto: VolumeNodeAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  49598. }
  49599. switch fieldNum {
  49600. case 1:
  49601. if wireType != 2 {
  49602. return fmt.Errorf("proto: wrong wireType = %d for field Required", wireType)
  49603. }
  49604. var msglen int
  49605. for shift := uint(0); ; shift += 7 {
  49606. if shift >= 64 {
  49607. return ErrIntOverflowGenerated
  49608. }
  49609. if iNdEx >= l {
  49610. return io.ErrUnexpectedEOF
  49611. }
  49612. b := dAtA[iNdEx]
  49613. iNdEx++
  49614. msglen |= (int(b) & 0x7F) << shift
  49615. if b < 0x80 {
  49616. break
  49617. }
  49618. }
  49619. if msglen < 0 {
  49620. return ErrInvalidLengthGenerated
  49621. }
  49622. postIndex := iNdEx + msglen
  49623. if postIndex > l {
  49624. return io.ErrUnexpectedEOF
  49625. }
  49626. if m.Required == nil {
  49627. m.Required = &NodeSelector{}
  49628. }
  49629. if err := m.Required.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49630. return err
  49631. }
  49632. iNdEx = postIndex
  49633. default:
  49634. iNdEx = preIndex
  49635. skippy, err := skipGenerated(dAtA[iNdEx:])
  49636. if err != nil {
  49637. return err
  49638. }
  49639. if skippy < 0 {
  49640. return ErrInvalidLengthGenerated
  49641. }
  49642. if (iNdEx + skippy) > l {
  49643. return io.ErrUnexpectedEOF
  49644. }
  49645. iNdEx += skippy
  49646. }
  49647. }
  49648. if iNdEx > l {
  49649. return io.ErrUnexpectedEOF
  49650. }
  49651. return nil
  49652. }
  49653. func (m *VolumeProjection) Unmarshal(dAtA []byte) error {
  49654. l := len(dAtA)
  49655. iNdEx := 0
  49656. for iNdEx < l {
  49657. preIndex := iNdEx
  49658. var wire uint64
  49659. for shift := uint(0); ; shift += 7 {
  49660. if shift >= 64 {
  49661. return ErrIntOverflowGenerated
  49662. }
  49663. if iNdEx >= l {
  49664. return io.ErrUnexpectedEOF
  49665. }
  49666. b := dAtA[iNdEx]
  49667. iNdEx++
  49668. wire |= (uint64(b) & 0x7F) << shift
  49669. if b < 0x80 {
  49670. break
  49671. }
  49672. }
  49673. fieldNum := int32(wire >> 3)
  49674. wireType := int(wire & 0x7)
  49675. if wireType == 4 {
  49676. return fmt.Errorf("proto: VolumeProjection: wiretype end group for non-group")
  49677. }
  49678. if fieldNum <= 0 {
  49679. return fmt.Errorf("proto: VolumeProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  49680. }
  49681. switch fieldNum {
  49682. case 1:
  49683. if wireType != 2 {
  49684. return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
  49685. }
  49686. var msglen int
  49687. for shift := uint(0); ; shift += 7 {
  49688. if shift >= 64 {
  49689. return ErrIntOverflowGenerated
  49690. }
  49691. if iNdEx >= l {
  49692. return io.ErrUnexpectedEOF
  49693. }
  49694. b := dAtA[iNdEx]
  49695. iNdEx++
  49696. msglen |= (int(b) & 0x7F) << shift
  49697. if b < 0x80 {
  49698. break
  49699. }
  49700. }
  49701. if msglen < 0 {
  49702. return ErrInvalidLengthGenerated
  49703. }
  49704. postIndex := iNdEx + msglen
  49705. if postIndex > l {
  49706. return io.ErrUnexpectedEOF
  49707. }
  49708. if m.Secret == nil {
  49709. m.Secret = &SecretProjection{}
  49710. }
  49711. if err := m.Secret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49712. return err
  49713. }
  49714. iNdEx = postIndex
  49715. case 2:
  49716. if wireType != 2 {
  49717. return fmt.Errorf("proto: wrong wireType = %d for field DownwardAPI", wireType)
  49718. }
  49719. var msglen int
  49720. for shift := uint(0); ; shift += 7 {
  49721. if shift >= 64 {
  49722. return ErrIntOverflowGenerated
  49723. }
  49724. if iNdEx >= l {
  49725. return io.ErrUnexpectedEOF
  49726. }
  49727. b := dAtA[iNdEx]
  49728. iNdEx++
  49729. msglen |= (int(b) & 0x7F) << shift
  49730. if b < 0x80 {
  49731. break
  49732. }
  49733. }
  49734. if msglen < 0 {
  49735. return ErrInvalidLengthGenerated
  49736. }
  49737. postIndex := iNdEx + msglen
  49738. if postIndex > l {
  49739. return io.ErrUnexpectedEOF
  49740. }
  49741. if m.DownwardAPI == nil {
  49742. m.DownwardAPI = &DownwardAPIProjection{}
  49743. }
  49744. if err := m.DownwardAPI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49745. return err
  49746. }
  49747. iNdEx = postIndex
  49748. case 3:
  49749. if wireType != 2 {
  49750. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  49751. }
  49752. var msglen int
  49753. for shift := uint(0); ; shift += 7 {
  49754. if shift >= 64 {
  49755. return ErrIntOverflowGenerated
  49756. }
  49757. if iNdEx >= l {
  49758. return io.ErrUnexpectedEOF
  49759. }
  49760. b := dAtA[iNdEx]
  49761. iNdEx++
  49762. msglen |= (int(b) & 0x7F) << shift
  49763. if b < 0x80 {
  49764. break
  49765. }
  49766. }
  49767. if msglen < 0 {
  49768. return ErrInvalidLengthGenerated
  49769. }
  49770. postIndex := iNdEx + msglen
  49771. if postIndex > l {
  49772. return io.ErrUnexpectedEOF
  49773. }
  49774. if m.ConfigMap == nil {
  49775. m.ConfigMap = &ConfigMapProjection{}
  49776. }
  49777. if err := m.ConfigMap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49778. return err
  49779. }
  49780. iNdEx = postIndex
  49781. case 4:
  49782. if wireType != 2 {
  49783. return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountToken", wireType)
  49784. }
  49785. var msglen int
  49786. for shift := uint(0); ; shift += 7 {
  49787. if shift >= 64 {
  49788. return ErrIntOverflowGenerated
  49789. }
  49790. if iNdEx >= l {
  49791. return io.ErrUnexpectedEOF
  49792. }
  49793. b := dAtA[iNdEx]
  49794. iNdEx++
  49795. msglen |= (int(b) & 0x7F) << shift
  49796. if b < 0x80 {
  49797. break
  49798. }
  49799. }
  49800. if msglen < 0 {
  49801. return ErrInvalidLengthGenerated
  49802. }
  49803. postIndex := iNdEx + msglen
  49804. if postIndex > l {
  49805. return io.ErrUnexpectedEOF
  49806. }
  49807. if m.ServiceAccountToken == nil {
  49808. m.ServiceAccountToken = &ServiceAccountTokenProjection{}
  49809. }
  49810. if err := m.ServiceAccountToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49811. return err
  49812. }
  49813. iNdEx = postIndex
  49814. default:
  49815. iNdEx = preIndex
  49816. skippy, err := skipGenerated(dAtA[iNdEx:])
  49817. if err != nil {
  49818. return err
  49819. }
  49820. if skippy < 0 {
  49821. return ErrInvalidLengthGenerated
  49822. }
  49823. if (iNdEx + skippy) > l {
  49824. return io.ErrUnexpectedEOF
  49825. }
  49826. iNdEx += skippy
  49827. }
  49828. }
  49829. if iNdEx > l {
  49830. return io.ErrUnexpectedEOF
  49831. }
  49832. return nil
  49833. }
  49834. func (m *VolumeSource) Unmarshal(dAtA []byte) error {
  49835. l := len(dAtA)
  49836. iNdEx := 0
  49837. for iNdEx < l {
  49838. preIndex := iNdEx
  49839. var wire uint64
  49840. for shift := uint(0); ; shift += 7 {
  49841. if shift >= 64 {
  49842. return ErrIntOverflowGenerated
  49843. }
  49844. if iNdEx >= l {
  49845. return io.ErrUnexpectedEOF
  49846. }
  49847. b := dAtA[iNdEx]
  49848. iNdEx++
  49849. wire |= (uint64(b) & 0x7F) << shift
  49850. if b < 0x80 {
  49851. break
  49852. }
  49853. }
  49854. fieldNum := int32(wire >> 3)
  49855. wireType := int(wire & 0x7)
  49856. if wireType == 4 {
  49857. return fmt.Errorf("proto: VolumeSource: wiretype end group for non-group")
  49858. }
  49859. if fieldNum <= 0 {
  49860. return fmt.Errorf("proto: VolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  49861. }
  49862. switch fieldNum {
  49863. case 1:
  49864. if wireType != 2 {
  49865. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  49866. }
  49867. var msglen int
  49868. for shift := uint(0); ; shift += 7 {
  49869. if shift >= 64 {
  49870. return ErrIntOverflowGenerated
  49871. }
  49872. if iNdEx >= l {
  49873. return io.ErrUnexpectedEOF
  49874. }
  49875. b := dAtA[iNdEx]
  49876. iNdEx++
  49877. msglen |= (int(b) & 0x7F) << shift
  49878. if b < 0x80 {
  49879. break
  49880. }
  49881. }
  49882. if msglen < 0 {
  49883. return ErrInvalidLengthGenerated
  49884. }
  49885. postIndex := iNdEx + msglen
  49886. if postIndex > l {
  49887. return io.ErrUnexpectedEOF
  49888. }
  49889. if m.HostPath == nil {
  49890. m.HostPath = &HostPathVolumeSource{}
  49891. }
  49892. if err := m.HostPath.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49893. return err
  49894. }
  49895. iNdEx = postIndex
  49896. case 2:
  49897. if wireType != 2 {
  49898. return fmt.Errorf("proto: wrong wireType = %d for field EmptyDir", wireType)
  49899. }
  49900. var msglen int
  49901. for shift := uint(0); ; shift += 7 {
  49902. if shift >= 64 {
  49903. return ErrIntOverflowGenerated
  49904. }
  49905. if iNdEx >= l {
  49906. return io.ErrUnexpectedEOF
  49907. }
  49908. b := dAtA[iNdEx]
  49909. iNdEx++
  49910. msglen |= (int(b) & 0x7F) << shift
  49911. if b < 0x80 {
  49912. break
  49913. }
  49914. }
  49915. if msglen < 0 {
  49916. return ErrInvalidLengthGenerated
  49917. }
  49918. postIndex := iNdEx + msglen
  49919. if postIndex > l {
  49920. return io.ErrUnexpectedEOF
  49921. }
  49922. if m.EmptyDir == nil {
  49923. m.EmptyDir = &EmptyDirVolumeSource{}
  49924. }
  49925. if err := m.EmptyDir.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49926. return err
  49927. }
  49928. iNdEx = postIndex
  49929. case 3:
  49930. if wireType != 2 {
  49931. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  49932. }
  49933. var msglen int
  49934. for shift := uint(0); ; shift += 7 {
  49935. if shift >= 64 {
  49936. return ErrIntOverflowGenerated
  49937. }
  49938. if iNdEx >= l {
  49939. return io.ErrUnexpectedEOF
  49940. }
  49941. b := dAtA[iNdEx]
  49942. iNdEx++
  49943. msglen |= (int(b) & 0x7F) << shift
  49944. if b < 0x80 {
  49945. break
  49946. }
  49947. }
  49948. if msglen < 0 {
  49949. return ErrInvalidLengthGenerated
  49950. }
  49951. postIndex := iNdEx + msglen
  49952. if postIndex > l {
  49953. return io.ErrUnexpectedEOF
  49954. }
  49955. if m.GCEPersistentDisk == nil {
  49956. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  49957. }
  49958. if err := m.GCEPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49959. return err
  49960. }
  49961. iNdEx = postIndex
  49962. case 4:
  49963. if wireType != 2 {
  49964. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", wireType)
  49965. }
  49966. var msglen int
  49967. for shift := uint(0); ; shift += 7 {
  49968. if shift >= 64 {
  49969. return ErrIntOverflowGenerated
  49970. }
  49971. if iNdEx >= l {
  49972. return io.ErrUnexpectedEOF
  49973. }
  49974. b := dAtA[iNdEx]
  49975. iNdEx++
  49976. msglen |= (int(b) & 0x7F) << shift
  49977. if b < 0x80 {
  49978. break
  49979. }
  49980. }
  49981. if msglen < 0 {
  49982. return ErrInvalidLengthGenerated
  49983. }
  49984. postIndex := iNdEx + msglen
  49985. if postIndex > l {
  49986. return io.ErrUnexpectedEOF
  49987. }
  49988. if m.AWSElasticBlockStore == nil {
  49989. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  49990. }
  49991. if err := m.AWSElasticBlockStore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49992. return err
  49993. }
  49994. iNdEx = postIndex
  49995. case 5:
  49996. if wireType != 2 {
  49997. return fmt.Errorf("proto: wrong wireType = %d for field GitRepo", wireType)
  49998. }
  49999. var msglen int
  50000. for shift := uint(0); ; shift += 7 {
  50001. if shift >= 64 {
  50002. return ErrIntOverflowGenerated
  50003. }
  50004. if iNdEx >= l {
  50005. return io.ErrUnexpectedEOF
  50006. }
  50007. b := dAtA[iNdEx]
  50008. iNdEx++
  50009. msglen |= (int(b) & 0x7F) << shift
  50010. if b < 0x80 {
  50011. break
  50012. }
  50013. }
  50014. if msglen < 0 {
  50015. return ErrInvalidLengthGenerated
  50016. }
  50017. postIndex := iNdEx + msglen
  50018. if postIndex > l {
  50019. return io.ErrUnexpectedEOF
  50020. }
  50021. if m.GitRepo == nil {
  50022. m.GitRepo = &GitRepoVolumeSource{}
  50023. }
  50024. if err := m.GitRepo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50025. return err
  50026. }
  50027. iNdEx = postIndex
  50028. case 6:
  50029. if wireType != 2 {
  50030. return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
  50031. }
  50032. var msglen int
  50033. for shift := uint(0); ; shift += 7 {
  50034. if shift >= 64 {
  50035. return ErrIntOverflowGenerated
  50036. }
  50037. if iNdEx >= l {
  50038. return io.ErrUnexpectedEOF
  50039. }
  50040. b := dAtA[iNdEx]
  50041. iNdEx++
  50042. msglen |= (int(b) & 0x7F) << shift
  50043. if b < 0x80 {
  50044. break
  50045. }
  50046. }
  50047. if msglen < 0 {
  50048. return ErrInvalidLengthGenerated
  50049. }
  50050. postIndex := iNdEx + msglen
  50051. if postIndex > l {
  50052. return io.ErrUnexpectedEOF
  50053. }
  50054. if m.Secret == nil {
  50055. m.Secret = &SecretVolumeSource{}
  50056. }
  50057. if err := m.Secret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50058. return err
  50059. }
  50060. iNdEx = postIndex
  50061. case 7:
  50062. if wireType != 2 {
  50063. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  50064. }
  50065. var msglen int
  50066. for shift := uint(0); ; shift += 7 {
  50067. if shift >= 64 {
  50068. return ErrIntOverflowGenerated
  50069. }
  50070. if iNdEx >= l {
  50071. return io.ErrUnexpectedEOF
  50072. }
  50073. b := dAtA[iNdEx]
  50074. iNdEx++
  50075. msglen |= (int(b) & 0x7F) << shift
  50076. if b < 0x80 {
  50077. break
  50078. }
  50079. }
  50080. if msglen < 0 {
  50081. return ErrInvalidLengthGenerated
  50082. }
  50083. postIndex := iNdEx + msglen
  50084. if postIndex > l {
  50085. return io.ErrUnexpectedEOF
  50086. }
  50087. if m.NFS == nil {
  50088. m.NFS = &NFSVolumeSource{}
  50089. }
  50090. if err := m.NFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50091. return err
  50092. }
  50093. iNdEx = postIndex
  50094. case 8:
  50095. if wireType != 2 {
  50096. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  50097. }
  50098. var msglen int
  50099. for shift := uint(0); ; shift += 7 {
  50100. if shift >= 64 {
  50101. return ErrIntOverflowGenerated
  50102. }
  50103. if iNdEx >= l {
  50104. return io.ErrUnexpectedEOF
  50105. }
  50106. b := dAtA[iNdEx]
  50107. iNdEx++
  50108. msglen |= (int(b) & 0x7F) << shift
  50109. if b < 0x80 {
  50110. break
  50111. }
  50112. }
  50113. if msglen < 0 {
  50114. return ErrInvalidLengthGenerated
  50115. }
  50116. postIndex := iNdEx + msglen
  50117. if postIndex > l {
  50118. return io.ErrUnexpectedEOF
  50119. }
  50120. if m.ISCSI == nil {
  50121. m.ISCSI = &ISCSIVolumeSource{}
  50122. }
  50123. if err := m.ISCSI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50124. return err
  50125. }
  50126. iNdEx = postIndex
  50127. case 9:
  50128. if wireType != 2 {
  50129. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  50130. }
  50131. var msglen int
  50132. for shift := uint(0); ; shift += 7 {
  50133. if shift >= 64 {
  50134. return ErrIntOverflowGenerated
  50135. }
  50136. if iNdEx >= l {
  50137. return io.ErrUnexpectedEOF
  50138. }
  50139. b := dAtA[iNdEx]
  50140. iNdEx++
  50141. msglen |= (int(b) & 0x7F) << shift
  50142. if b < 0x80 {
  50143. break
  50144. }
  50145. }
  50146. if msglen < 0 {
  50147. return ErrInvalidLengthGenerated
  50148. }
  50149. postIndex := iNdEx + msglen
  50150. if postIndex > l {
  50151. return io.ErrUnexpectedEOF
  50152. }
  50153. if m.Glusterfs == nil {
  50154. m.Glusterfs = &GlusterfsVolumeSource{}
  50155. }
  50156. if err := m.Glusterfs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50157. return err
  50158. }
  50159. iNdEx = postIndex
  50160. case 10:
  50161. if wireType != 2 {
  50162. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeClaim", wireType)
  50163. }
  50164. var msglen int
  50165. for shift := uint(0); ; shift += 7 {
  50166. if shift >= 64 {
  50167. return ErrIntOverflowGenerated
  50168. }
  50169. if iNdEx >= l {
  50170. return io.ErrUnexpectedEOF
  50171. }
  50172. b := dAtA[iNdEx]
  50173. iNdEx++
  50174. msglen |= (int(b) & 0x7F) << shift
  50175. if b < 0x80 {
  50176. break
  50177. }
  50178. }
  50179. if msglen < 0 {
  50180. return ErrInvalidLengthGenerated
  50181. }
  50182. postIndex := iNdEx + msglen
  50183. if postIndex > l {
  50184. return io.ErrUnexpectedEOF
  50185. }
  50186. if m.PersistentVolumeClaim == nil {
  50187. m.PersistentVolumeClaim = &PersistentVolumeClaimVolumeSource{}
  50188. }
  50189. if err := m.PersistentVolumeClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50190. return err
  50191. }
  50192. iNdEx = postIndex
  50193. case 11:
  50194. if wireType != 2 {
  50195. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  50196. }
  50197. var msglen int
  50198. for shift := uint(0); ; shift += 7 {
  50199. if shift >= 64 {
  50200. return ErrIntOverflowGenerated
  50201. }
  50202. if iNdEx >= l {
  50203. return io.ErrUnexpectedEOF
  50204. }
  50205. b := dAtA[iNdEx]
  50206. iNdEx++
  50207. msglen |= (int(b) & 0x7F) << shift
  50208. if b < 0x80 {
  50209. break
  50210. }
  50211. }
  50212. if msglen < 0 {
  50213. return ErrInvalidLengthGenerated
  50214. }
  50215. postIndex := iNdEx + msglen
  50216. if postIndex > l {
  50217. return io.ErrUnexpectedEOF
  50218. }
  50219. if m.RBD == nil {
  50220. m.RBD = &RBDVolumeSource{}
  50221. }
  50222. if err := m.RBD.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50223. return err
  50224. }
  50225. iNdEx = postIndex
  50226. case 12:
  50227. if wireType != 2 {
  50228. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  50229. }
  50230. var msglen int
  50231. for shift := uint(0); ; shift += 7 {
  50232. if shift >= 64 {
  50233. return ErrIntOverflowGenerated
  50234. }
  50235. if iNdEx >= l {
  50236. return io.ErrUnexpectedEOF
  50237. }
  50238. b := dAtA[iNdEx]
  50239. iNdEx++
  50240. msglen |= (int(b) & 0x7F) << shift
  50241. if b < 0x80 {
  50242. break
  50243. }
  50244. }
  50245. if msglen < 0 {
  50246. return ErrInvalidLengthGenerated
  50247. }
  50248. postIndex := iNdEx + msglen
  50249. if postIndex > l {
  50250. return io.ErrUnexpectedEOF
  50251. }
  50252. if m.FlexVolume == nil {
  50253. m.FlexVolume = &FlexVolumeSource{}
  50254. }
  50255. if err := m.FlexVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50256. return err
  50257. }
  50258. iNdEx = postIndex
  50259. case 13:
  50260. if wireType != 2 {
  50261. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  50262. }
  50263. var msglen int
  50264. for shift := uint(0); ; shift += 7 {
  50265. if shift >= 64 {
  50266. return ErrIntOverflowGenerated
  50267. }
  50268. if iNdEx >= l {
  50269. return io.ErrUnexpectedEOF
  50270. }
  50271. b := dAtA[iNdEx]
  50272. iNdEx++
  50273. msglen |= (int(b) & 0x7F) << shift
  50274. if b < 0x80 {
  50275. break
  50276. }
  50277. }
  50278. if msglen < 0 {
  50279. return ErrInvalidLengthGenerated
  50280. }
  50281. postIndex := iNdEx + msglen
  50282. if postIndex > l {
  50283. return io.ErrUnexpectedEOF
  50284. }
  50285. if m.Cinder == nil {
  50286. m.Cinder = &CinderVolumeSource{}
  50287. }
  50288. if err := m.Cinder.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50289. return err
  50290. }
  50291. iNdEx = postIndex
  50292. case 14:
  50293. if wireType != 2 {
  50294. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  50295. }
  50296. var msglen int
  50297. for shift := uint(0); ; shift += 7 {
  50298. if shift >= 64 {
  50299. return ErrIntOverflowGenerated
  50300. }
  50301. if iNdEx >= l {
  50302. return io.ErrUnexpectedEOF
  50303. }
  50304. b := dAtA[iNdEx]
  50305. iNdEx++
  50306. msglen |= (int(b) & 0x7F) << shift
  50307. if b < 0x80 {
  50308. break
  50309. }
  50310. }
  50311. if msglen < 0 {
  50312. return ErrInvalidLengthGenerated
  50313. }
  50314. postIndex := iNdEx + msglen
  50315. if postIndex > l {
  50316. return io.ErrUnexpectedEOF
  50317. }
  50318. if m.CephFS == nil {
  50319. m.CephFS = &CephFSVolumeSource{}
  50320. }
  50321. if err := m.CephFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50322. return err
  50323. }
  50324. iNdEx = postIndex
  50325. case 15:
  50326. if wireType != 2 {
  50327. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  50328. }
  50329. var msglen int
  50330. for shift := uint(0); ; shift += 7 {
  50331. if shift >= 64 {
  50332. return ErrIntOverflowGenerated
  50333. }
  50334. if iNdEx >= l {
  50335. return io.ErrUnexpectedEOF
  50336. }
  50337. b := dAtA[iNdEx]
  50338. iNdEx++
  50339. msglen |= (int(b) & 0x7F) << shift
  50340. if b < 0x80 {
  50341. break
  50342. }
  50343. }
  50344. if msglen < 0 {
  50345. return ErrInvalidLengthGenerated
  50346. }
  50347. postIndex := iNdEx + msglen
  50348. if postIndex > l {
  50349. return io.ErrUnexpectedEOF
  50350. }
  50351. if m.Flocker == nil {
  50352. m.Flocker = &FlockerVolumeSource{}
  50353. }
  50354. if err := m.Flocker.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50355. return err
  50356. }
  50357. iNdEx = postIndex
  50358. case 16:
  50359. if wireType != 2 {
  50360. return fmt.Errorf("proto: wrong wireType = %d for field DownwardAPI", wireType)
  50361. }
  50362. var msglen int
  50363. for shift := uint(0); ; shift += 7 {
  50364. if shift >= 64 {
  50365. return ErrIntOverflowGenerated
  50366. }
  50367. if iNdEx >= l {
  50368. return io.ErrUnexpectedEOF
  50369. }
  50370. b := dAtA[iNdEx]
  50371. iNdEx++
  50372. msglen |= (int(b) & 0x7F) << shift
  50373. if b < 0x80 {
  50374. break
  50375. }
  50376. }
  50377. if msglen < 0 {
  50378. return ErrInvalidLengthGenerated
  50379. }
  50380. postIndex := iNdEx + msglen
  50381. if postIndex > l {
  50382. return io.ErrUnexpectedEOF
  50383. }
  50384. if m.DownwardAPI == nil {
  50385. m.DownwardAPI = &DownwardAPIVolumeSource{}
  50386. }
  50387. if err := m.DownwardAPI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50388. return err
  50389. }
  50390. iNdEx = postIndex
  50391. case 17:
  50392. if wireType != 2 {
  50393. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  50394. }
  50395. var msglen int
  50396. for shift := uint(0); ; shift += 7 {
  50397. if shift >= 64 {
  50398. return ErrIntOverflowGenerated
  50399. }
  50400. if iNdEx >= l {
  50401. return io.ErrUnexpectedEOF
  50402. }
  50403. b := dAtA[iNdEx]
  50404. iNdEx++
  50405. msglen |= (int(b) & 0x7F) << shift
  50406. if b < 0x80 {
  50407. break
  50408. }
  50409. }
  50410. if msglen < 0 {
  50411. return ErrInvalidLengthGenerated
  50412. }
  50413. postIndex := iNdEx + msglen
  50414. if postIndex > l {
  50415. return io.ErrUnexpectedEOF
  50416. }
  50417. if m.FC == nil {
  50418. m.FC = &FCVolumeSource{}
  50419. }
  50420. if err := m.FC.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50421. return err
  50422. }
  50423. iNdEx = postIndex
  50424. case 18:
  50425. if wireType != 2 {
  50426. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  50427. }
  50428. var msglen int
  50429. for shift := uint(0); ; shift += 7 {
  50430. if shift >= 64 {
  50431. return ErrIntOverflowGenerated
  50432. }
  50433. if iNdEx >= l {
  50434. return io.ErrUnexpectedEOF
  50435. }
  50436. b := dAtA[iNdEx]
  50437. iNdEx++
  50438. msglen |= (int(b) & 0x7F) << shift
  50439. if b < 0x80 {
  50440. break
  50441. }
  50442. }
  50443. if msglen < 0 {
  50444. return ErrInvalidLengthGenerated
  50445. }
  50446. postIndex := iNdEx + msglen
  50447. if postIndex > l {
  50448. return io.ErrUnexpectedEOF
  50449. }
  50450. if m.AzureFile == nil {
  50451. m.AzureFile = &AzureFileVolumeSource{}
  50452. }
  50453. if err := m.AzureFile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50454. return err
  50455. }
  50456. iNdEx = postIndex
  50457. case 19:
  50458. if wireType != 2 {
  50459. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  50460. }
  50461. var msglen int
  50462. for shift := uint(0); ; shift += 7 {
  50463. if shift >= 64 {
  50464. return ErrIntOverflowGenerated
  50465. }
  50466. if iNdEx >= l {
  50467. return io.ErrUnexpectedEOF
  50468. }
  50469. b := dAtA[iNdEx]
  50470. iNdEx++
  50471. msglen |= (int(b) & 0x7F) << shift
  50472. if b < 0x80 {
  50473. break
  50474. }
  50475. }
  50476. if msglen < 0 {
  50477. return ErrInvalidLengthGenerated
  50478. }
  50479. postIndex := iNdEx + msglen
  50480. if postIndex > l {
  50481. return io.ErrUnexpectedEOF
  50482. }
  50483. if m.ConfigMap == nil {
  50484. m.ConfigMap = &ConfigMapVolumeSource{}
  50485. }
  50486. if err := m.ConfigMap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50487. return err
  50488. }
  50489. iNdEx = postIndex
  50490. case 20:
  50491. if wireType != 2 {
  50492. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  50493. }
  50494. var msglen int
  50495. for shift := uint(0); ; shift += 7 {
  50496. if shift >= 64 {
  50497. return ErrIntOverflowGenerated
  50498. }
  50499. if iNdEx >= l {
  50500. return io.ErrUnexpectedEOF
  50501. }
  50502. b := dAtA[iNdEx]
  50503. iNdEx++
  50504. msglen |= (int(b) & 0x7F) << shift
  50505. if b < 0x80 {
  50506. break
  50507. }
  50508. }
  50509. if msglen < 0 {
  50510. return ErrInvalidLengthGenerated
  50511. }
  50512. postIndex := iNdEx + msglen
  50513. if postIndex > l {
  50514. return io.ErrUnexpectedEOF
  50515. }
  50516. if m.VsphereVolume == nil {
  50517. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  50518. }
  50519. if err := m.VsphereVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50520. return err
  50521. }
  50522. iNdEx = postIndex
  50523. case 21:
  50524. if wireType != 2 {
  50525. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  50526. }
  50527. var msglen int
  50528. for shift := uint(0); ; shift += 7 {
  50529. if shift >= 64 {
  50530. return ErrIntOverflowGenerated
  50531. }
  50532. if iNdEx >= l {
  50533. return io.ErrUnexpectedEOF
  50534. }
  50535. b := dAtA[iNdEx]
  50536. iNdEx++
  50537. msglen |= (int(b) & 0x7F) << shift
  50538. if b < 0x80 {
  50539. break
  50540. }
  50541. }
  50542. if msglen < 0 {
  50543. return ErrInvalidLengthGenerated
  50544. }
  50545. postIndex := iNdEx + msglen
  50546. if postIndex > l {
  50547. return io.ErrUnexpectedEOF
  50548. }
  50549. if m.Quobyte == nil {
  50550. m.Quobyte = &QuobyteVolumeSource{}
  50551. }
  50552. if err := m.Quobyte.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50553. return err
  50554. }
  50555. iNdEx = postIndex
  50556. case 22:
  50557. if wireType != 2 {
  50558. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  50559. }
  50560. var msglen int
  50561. for shift := uint(0); ; shift += 7 {
  50562. if shift >= 64 {
  50563. return ErrIntOverflowGenerated
  50564. }
  50565. if iNdEx >= l {
  50566. return io.ErrUnexpectedEOF
  50567. }
  50568. b := dAtA[iNdEx]
  50569. iNdEx++
  50570. msglen |= (int(b) & 0x7F) << shift
  50571. if b < 0x80 {
  50572. break
  50573. }
  50574. }
  50575. if msglen < 0 {
  50576. return ErrInvalidLengthGenerated
  50577. }
  50578. postIndex := iNdEx + msglen
  50579. if postIndex > l {
  50580. return io.ErrUnexpectedEOF
  50581. }
  50582. if m.AzureDisk == nil {
  50583. m.AzureDisk = &AzureDiskVolumeSource{}
  50584. }
  50585. if err := m.AzureDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50586. return err
  50587. }
  50588. iNdEx = postIndex
  50589. case 23:
  50590. if wireType != 2 {
  50591. return fmt.Errorf("proto: wrong wireType = %d for field PhotonPersistentDisk", wireType)
  50592. }
  50593. var msglen int
  50594. for shift := uint(0); ; shift += 7 {
  50595. if shift >= 64 {
  50596. return ErrIntOverflowGenerated
  50597. }
  50598. if iNdEx >= l {
  50599. return io.ErrUnexpectedEOF
  50600. }
  50601. b := dAtA[iNdEx]
  50602. iNdEx++
  50603. msglen |= (int(b) & 0x7F) << shift
  50604. if b < 0x80 {
  50605. break
  50606. }
  50607. }
  50608. if msglen < 0 {
  50609. return ErrInvalidLengthGenerated
  50610. }
  50611. postIndex := iNdEx + msglen
  50612. if postIndex > l {
  50613. return io.ErrUnexpectedEOF
  50614. }
  50615. if m.PhotonPersistentDisk == nil {
  50616. m.PhotonPersistentDisk = &PhotonPersistentDiskVolumeSource{}
  50617. }
  50618. if err := m.PhotonPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50619. return err
  50620. }
  50621. iNdEx = postIndex
  50622. case 24:
  50623. if wireType != 2 {
  50624. return fmt.Errorf("proto: wrong wireType = %d for field PortworxVolume", wireType)
  50625. }
  50626. var msglen int
  50627. for shift := uint(0); ; shift += 7 {
  50628. if shift >= 64 {
  50629. return ErrIntOverflowGenerated
  50630. }
  50631. if iNdEx >= l {
  50632. return io.ErrUnexpectedEOF
  50633. }
  50634. b := dAtA[iNdEx]
  50635. iNdEx++
  50636. msglen |= (int(b) & 0x7F) << shift
  50637. if b < 0x80 {
  50638. break
  50639. }
  50640. }
  50641. if msglen < 0 {
  50642. return ErrInvalidLengthGenerated
  50643. }
  50644. postIndex := iNdEx + msglen
  50645. if postIndex > l {
  50646. return io.ErrUnexpectedEOF
  50647. }
  50648. if m.PortworxVolume == nil {
  50649. m.PortworxVolume = &PortworxVolumeSource{}
  50650. }
  50651. if err := m.PortworxVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50652. return err
  50653. }
  50654. iNdEx = postIndex
  50655. case 25:
  50656. if wireType != 2 {
  50657. return fmt.Errorf("proto: wrong wireType = %d for field ScaleIO", wireType)
  50658. }
  50659. var msglen int
  50660. for shift := uint(0); ; shift += 7 {
  50661. if shift >= 64 {
  50662. return ErrIntOverflowGenerated
  50663. }
  50664. if iNdEx >= l {
  50665. return io.ErrUnexpectedEOF
  50666. }
  50667. b := dAtA[iNdEx]
  50668. iNdEx++
  50669. msglen |= (int(b) & 0x7F) << shift
  50670. if b < 0x80 {
  50671. break
  50672. }
  50673. }
  50674. if msglen < 0 {
  50675. return ErrInvalidLengthGenerated
  50676. }
  50677. postIndex := iNdEx + msglen
  50678. if postIndex > l {
  50679. return io.ErrUnexpectedEOF
  50680. }
  50681. if m.ScaleIO == nil {
  50682. m.ScaleIO = &ScaleIOVolumeSource{}
  50683. }
  50684. if err := m.ScaleIO.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50685. return err
  50686. }
  50687. iNdEx = postIndex
  50688. case 26:
  50689. if wireType != 2 {
  50690. return fmt.Errorf("proto: wrong wireType = %d for field Projected", wireType)
  50691. }
  50692. var msglen int
  50693. for shift := uint(0); ; shift += 7 {
  50694. if shift >= 64 {
  50695. return ErrIntOverflowGenerated
  50696. }
  50697. if iNdEx >= l {
  50698. return io.ErrUnexpectedEOF
  50699. }
  50700. b := dAtA[iNdEx]
  50701. iNdEx++
  50702. msglen |= (int(b) & 0x7F) << shift
  50703. if b < 0x80 {
  50704. break
  50705. }
  50706. }
  50707. if msglen < 0 {
  50708. return ErrInvalidLengthGenerated
  50709. }
  50710. postIndex := iNdEx + msglen
  50711. if postIndex > l {
  50712. return io.ErrUnexpectedEOF
  50713. }
  50714. if m.Projected == nil {
  50715. m.Projected = &ProjectedVolumeSource{}
  50716. }
  50717. if err := m.Projected.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50718. return err
  50719. }
  50720. iNdEx = postIndex
  50721. case 27:
  50722. if wireType != 2 {
  50723. return fmt.Errorf("proto: wrong wireType = %d for field StorageOS", wireType)
  50724. }
  50725. var msglen int
  50726. for shift := uint(0); ; shift += 7 {
  50727. if shift >= 64 {
  50728. return ErrIntOverflowGenerated
  50729. }
  50730. if iNdEx >= l {
  50731. return io.ErrUnexpectedEOF
  50732. }
  50733. b := dAtA[iNdEx]
  50734. iNdEx++
  50735. msglen |= (int(b) & 0x7F) << shift
  50736. if b < 0x80 {
  50737. break
  50738. }
  50739. }
  50740. if msglen < 0 {
  50741. return ErrInvalidLengthGenerated
  50742. }
  50743. postIndex := iNdEx + msglen
  50744. if postIndex > l {
  50745. return io.ErrUnexpectedEOF
  50746. }
  50747. if m.StorageOS == nil {
  50748. m.StorageOS = &StorageOSVolumeSource{}
  50749. }
  50750. if err := m.StorageOS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50751. return err
  50752. }
  50753. iNdEx = postIndex
  50754. case 28:
  50755. if wireType != 2 {
  50756. return fmt.Errorf("proto: wrong wireType = %d for field CSI", wireType)
  50757. }
  50758. var msglen int
  50759. for shift := uint(0); ; shift += 7 {
  50760. if shift >= 64 {
  50761. return ErrIntOverflowGenerated
  50762. }
  50763. if iNdEx >= l {
  50764. return io.ErrUnexpectedEOF
  50765. }
  50766. b := dAtA[iNdEx]
  50767. iNdEx++
  50768. msglen |= (int(b) & 0x7F) << shift
  50769. if b < 0x80 {
  50770. break
  50771. }
  50772. }
  50773. if msglen < 0 {
  50774. return ErrInvalidLengthGenerated
  50775. }
  50776. postIndex := iNdEx + msglen
  50777. if postIndex > l {
  50778. return io.ErrUnexpectedEOF
  50779. }
  50780. if m.CSI == nil {
  50781. m.CSI = &CSIVolumeSource{}
  50782. }
  50783. if err := m.CSI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  50784. return err
  50785. }
  50786. iNdEx = postIndex
  50787. default:
  50788. iNdEx = preIndex
  50789. skippy, err := skipGenerated(dAtA[iNdEx:])
  50790. if err != nil {
  50791. return err
  50792. }
  50793. if skippy < 0 {
  50794. return ErrInvalidLengthGenerated
  50795. }
  50796. if (iNdEx + skippy) > l {
  50797. return io.ErrUnexpectedEOF
  50798. }
  50799. iNdEx += skippy
  50800. }
  50801. }
  50802. if iNdEx > l {
  50803. return io.ErrUnexpectedEOF
  50804. }
  50805. return nil
  50806. }
  50807. func (m *VsphereVirtualDiskVolumeSource) Unmarshal(dAtA []byte) error {
  50808. l := len(dAtA)
  50809. iNdEx := 0
  50810. for iNdEx < l {
  50811. preIndex := iNdEx
  50812. var wire uint64
  50813. for shift := uint(0); ; shift += 7 {
  50814. if shift >= 64 {
  50815. return ErrIntOverflowGenerated
  50816. }
  50817. if iNdEx >= l {
  50818. return io.ErrUnexpectedEOF
  50819. }
  50820. b := dAtA[iNdEx]
  50821. iNdEx++
  50822. wire |= (uint64(b) & 0x7F) << shift
  50823. if b < 0x80 {
  50824. break
  50825. }
  50826. }
  50827. fieldNum := int32(wire >> 3)
  50828. wireType := int(wire & 0x7)
  50829. if wireType == 4 {
  50830. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: wiretype end group for non-group")
  50831. }
  50832. if fieldNum <= 0 {
  50833. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  50834. }
  50835. switch fieldNum {
  50836. case 1:
  50837. if wireType != 2 {
  50838. return fmt.Errorf("proto: wrong wireType = %d for field VolumePath", wireType)
  50839. }
  50840. var stringLen uint64
  50841. for shift := uint(0); ; shift += 7 {
  50842. if shift >= 64 {
  50843. return ErrIntOverflowGenerated
  50844. }
  50845. if iNdEx >= l {
  50846. return io.ErrUnexpectedEOF
  50847. }
  50848. b := dAtA[iNdEx]
  50849. iNdEx++
  50850. stringLen |= (uint64(b) & 0x7F) << shift
  50851. if b < 0x80 {
  50852. break
  50853. }
  50854. }
  50855. intStringLen := int(stringLen)
  50856. if intStringLen < 0 {
  50857. return ErrInvalidLengthGenerated
  50858. }
  50859. postIndex := iNdEx + intStringLen
  50860. if postIndex > l {
  50861. return io.ErrUnexpectedEOF
  50862. }
  50863. m.VolumePath = string(dAtA[iNdEx:postIndex])
  50864. iNdEx = postIndex
  50865. case 2:
  50866. if wireType != 2 {
  50867. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  50868. }
  50869. var stringLen uint64
  50870. for shift := uint(0); ; shift += 7 {
  50871. if shift >= 64 {
  50872. return ErrIntOverflowGenerated
  50873. }
  50874. if iNdEx >= l {
  50875. return io.ErrUnexpectedEOF
  50876. }
  50877. b := dAtA[iNdEx]
  50878. iNdEx++
  50879. stringLen |= (uint64(b) & 0x7F) << shift
  50880. if b < 0x80 {
  50881. break
  50882. }
  50883. }
  50884. intStringLen := int(stringLen)
  50885. if intStringLen < 0 {
  50886. return ErrInvalidLengthGenerated
  50887. }
  50888. postIndex := iNdEx + intStringLen
  50889. if postIndex > l {
  50890. return io.ErrUnexpectedEOF
  50891. }
  50892. m.FSType = string(dAtA[iNdEx:postIndex])
  50893. iNdEx = postIndex
  50894. case 3:
  50895. if wireType != 2 {
  50896. return fmt.Errorf("proto: wrong wireType = %d for field StoragePolicyName", wireType)
  50897. }
  50898. var stringLen uint64
  50899. for shift := uint(0); ; shift += 7 {
  50900. if shift >= 64 {
  50901. return ErrIntOverflowGenerated
  50902. }
  50903. if iNdEx >= l {
  50904. return io.ErrUnexpectedEOF
  50905. }
  50906. b := dAtA[iNdEx]
  50907. iNdEx++
  50908. stringLen |= (uint64(b) & 0x7F) << shift
  50909. if b < 0x80 {
  50910. break
  50911. }
  50912. }
  50913. intStringLen := int(stringLen)
  50914. if intStringLen < 0 {
  50915. return ErrInvalidLengthGenerated
  50916. }
  50917. postIndex := iNdEx + intStringLen
  50918. if postIndex > l {
  50919. return io.ErrUnexpectedEOF
  50920. }
  50921. m.StoragePolicyName = string(dAtA[iNdEx:postIndex])
  50922. iNdEx = postIndex
  50923. case 4:
  50924. if wireType != 2 {
  50925. return fmt.Errorf("proto: wrong wireType = %d for field StoragePolicyID", wireType)
  50926. }
  50927. var stringLen uint64
  50928. for shift := uint(0); ; shift += 7 {
  50929. if shift >= 64 {
  50930. return ErrIntOverflowGenerated
  50931. }
  50932. if iNdEx >= l {
  50933. return io.ErrUnexpectedEOF
  50934. }
  50935. b := dAtA[iNdEx]
  50936. iNdEx++
  50937. stringLen |= (uint64(b) & 0x7F) << shift
  50938. if b < 0x80 {
  50939. break
  50940. }
  50941. }
  50942. intStringLen := int(stringLen)
  50943. if intStringLen < 0 {
  50944. return ErrInvalidLengthGenerated
  50945. }
  50946. postIndex := iNdEx + intStringLen
  50947. if postIndex > l {
  50948. return io.ErrUnexpectedEOF
  50949. }
  50950. m.StoragePolicyID = string(dAtA[iNdEx:postIndex])
  50951. iNdEx = postIndex
  50952. default:
  50953. iNdEx = preIndex
  50954. skippy, err := skipGenerated(dAtA[iNdEx:])
  50955. if err != nil {
  50956. return err
  50957. }
  50958. if skippy < 0 {
  50959. return ErrInvalidLengthGenerated
  50960. }
  50961. if (iNdEx + skippy) > l {
  50962. return io.ErrUnexpectedEOF
  50963. }
  50964. iNdEx += skippy
  50965. }
  50966. }
  50967. if iNdEx > l {
  50968. return io.ErrUnexpectedEOF
  50969. }
  50970. return nil
  50971. }
  50972. func (m *WeightedPodAffinityTerm) Unmarshal(dAtA []byte) error {
  50973. l := len(dAtA)
  50974. iNdEx := 0
  50975. for iNdEx < l {
  50976. preIndex := iNdEx
  50977. var wire uint64
  50978. for shift := uint(0); ; shift += 7 {
  50979. if shift >= 64 {
  50980. return ErrIntOverflowGenerated
  50981. }
  50982. if iNdEx >= l {
  50983. return io.ErrUnexpectedEOF
  50984. }
  50985. b := dAtA[iNdEx]
  50986. iNdEx++
  50987. wire |= (uint64(b) & 0x7F) << shift
  50988. if b < 0x80 {
  50989. break
  50990. }
  50991. }
  50992. fieldNum := int32(wire >> 3)
  50993. wireType := int(wire & 0x7)
  50994. if wireType == 4 {
  50995. return fmt.Errorf("proto: WeightedPodAffinityTerm: wiretype end group for non-group")
  50996. }
  50997. if fieldNum <= 0 {
  50998. return fmt.Errorf("proto: WeightedPodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  50999. }
  51000. switch fieldNum {
  51001. case 1:
  51002. if wireType != 0 {
  51003. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  51004. }
  51005. m.Weight = 0
  51006. for shift := uint(0); ; shift += 7 {
  51007. if shift >= 64 {
  51008. return ErrIntOverflowGenerated
  51009. }
  51010. if iNdEx >= l {
  51011. return io.ErrUnexpectedEOF
  51012. }
  51013. b := dAtA[iNdEx]
  51014. iNdEx++
  51015. m.Weight |= (int32(b) & 0x7F) << shift
  51016. if b < 0x80 {
  51017. break
  51018. }
  51019. }
  51020. case 2:
  51021. if wireType != 2 {
  51022. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinityTerm", wireType)
  51023. }
  51024. var msglen int
  51025. for shift := uint(0); ; shift += 7 {
  51026. if shift >= 64 {
  51027. return ErrIntOverflowGenerated
  51028. }
  51029. if iNdEx >= l {
  51030. return io.ErrUnexpectedEOF
  51031. }
  51032. b := dAtA[iNdEx]
  51033. iNdEx++
  51034. msglen |= (int(b) & 0x7F) << shift
  51035. if b < 0x80 {
  51036. break
  51037. }
  51038. }
  51039. if msglen < 0 {
  51040. return ErrInvalidLengthGenerated
  51041. }
  51042. postIndex := iNdEx + msglen
  51043. if postIndex > l {
  51044. return io.ErrUnexpectedEOF
  51045. }
  51046. if err := m.PodAffinityTerm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  51047. return err
  51048. }
  51049. iNdEx = postIndex
  51050. default:
  51051. iNdEx = preIndex
  51052. skippy, err := skipGenerated(dAtA[iNdEx:])
  51053. if err != nil {
  51054. return err
  51055. }
  51056. if skippy < 0 {
  51057. return ErrInvalidLengthGenerated
  51058. }
  51059. if (iNdEx + skippy) > l {
  51060. return io.ErrUnexpectedEOF
  51061. }
  51062. iNdEx += skippy
  51063. }
  51064. }
  51065. if iNdEx > l {
  51066. return io.ErrUnexpectedEOF
  51067. }
  51068. return nil
  51069. }
  51070. func skipGenerated(dAtA []byte) (n int, err error) {
  51071. l := len(dAtA)
  51072. iNdEx := 0
  51073. for iNdEx < l {
  51074. var wire uint64
  51075. for shift := uint(0); ; shift += 7 {
  51076. if shift >= 64 {
  51077. return 0, ErrIntOverflowGenerated
  51078. }
  51079. if iNdEx >= l {
  51080. return 0, io.ErrUnexpectedEOF
  51081. }
  51082. b := dAtA[iNdEx]
  51083. iNdEx++
  51084. wire |= (uint64(b) & 0x7F) << shift
  51085. if b < 0x80 {
  51086. break
  51087. }
  51088. }
  51089. wireType := int(wire & 0x7)
  51090. switch wireType {
  51091. case 0:
  51092. for shift := uint(0); ; shift += 7 {
  51093. if shift >= 64 {
  51094. return 0, ErrIntOverflowGenerated
  51095. }
  51096. if iNdEx >= l {
  51097. return 0, io.ErrUnexpectedEOF
  51098. }
  51099. iNdEx++
  51100. if dAtA[iNdEx-1] < 0x80 {
  51101. break
  51102. }
  51103. }
  51104. return iNdEx, nil
  51105. case 1:
  51106. iNdEx += 8
  51107. return iNdEx, nil
  51108. case 2:
  51109. var length int
  51110. for shift := uint(0); ; shift += 7 {
  51111. if shift >= 64 {
  51112. return 0, ErrIntOverflowGenerated
  51113. }
  51114. if iNdEx >= l {
  51115. return 0, io.ErrUnexpectedEOF
  51116. }
  51117. b := dAtA[iNdEx]
  51118. iNdEx++
  51119. length |= (int(b) & 0x7F) << shift
  51120. if b < 0x80 {
  51121. break
  51122. }
  51123. }
  51124. iNdEx += length
  51125. if length < 0 {
  51126. return 0, ErrInvalidLengthGenerated
  51127. }
  51128. return iNdEx, nil
  51129. case 3:
  51130. for {
  51131. var innerWire uint64
  51132. var start int = iNdEx
  51133. for shift := uint(0); ; shift += 7 {
  51134. if shift >= 64 {
  51135. return 0, ErrIntOverflowGenerated
  51136. }
  51137. if iNdEx >= l {
  51138. return 0, io.ErrUnexpectedEOF
  51139. }
  51140. b := dAtA[iNdEx]
  51141. iNdEx++
  51142. innerWire |= (uint64(b) & 0x7F) << shift
  51143. if b < 0x80 {
  51144. break
  51145. }
  51146. }
  51147. innerWireType := int(innerWire & 0x7)
  51148. if innerWireType == 4 {
  51149. break
  51150. }
  51151. next, err := skipGenerated(dAtA[start:])
  51152. if err != nil {
  51153. return 0, err
  51154. }
  51155. iNdEx = start + next
  51156. }
  51157. return iNdEx, nil
  51158. case 4:
  51159. return iNdEx, nil
  51160. case 5:
  51161. iNdEx += 4
  51162. return iNdEx, nil
  51163. default:
  51164. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  51165. }
  51166. }
  51167. panic("unreachable")
  51168. }
  51169. var (
  51170. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  51171. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  51172. )
  51173. func init() {
  51174. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto", fileDescriptorGenerated)
  51175. }
  51176. var fileDescriptorGenerated = []byte{
  51177. // 12934 bytes of a gzipped FileDescriptorProto
  51178. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0xbd, 0x7d, 0x70, 0x64, 0x57,
  51179. 0x56, 0x18, 0xbe, 0xaf, 0xbb, 0x25, 0x75, 0x1f, 0x7d, 0xdf, 0x99, 0xb1, 0x35, 0xf2, 0xcc, 0xf4,
  51180. 0xf8, 0x79, 0x77, 0x3c, 0x5e, 0xdb, 0xd2, 0x7a, 0x6c, 0xaf, 0xcd, 0xda, 0x6b, 0x90, 0xd4, 0xd2,
  51181. 0x4c, 0x7b, 0x46, 0x9a, 0xf6, 0x6d, 0xcd, 0x78, 0xd7, 0x78, 0x17, 0x3f, 0x75, 0x5f, 0x49, 0xcf,
  51182. 0x6a, 0xbd, 0xd7, 0x7e, 0xef, 0xb5, 0x66, 0xe4, 0x1f, 0xd4, 0x2f, 0x59, 0x02, 0x61, 0x03, 0x95,
  51183. 0xda, 0x4a, 0xb6, 0xf2, 0x01, 0x14, 0xa9, 0x22, 0xa4, 0x80, 0x90, 0xa4, 0x42, 0x20, 0x40, 0x58,
  51184. 0x48, 0x08, 0x24, 0x55, 0x24, 0x7f, 0x6c, 0x48, 0xaa, 0x52, 0x4b, 0x15, 0x15, 0x05, 0x44, 0x2a,
  51185. 0x29, 0xfe, 0x08, 0xa4, 0x42, 0xfe, 0x08, 0x0a, 0x15, 0x52, 0xf7, 0xf3, 0xdd, 0xfb, 0xfa, 0xbd,
  51186. 0xee, 0xd6, 0x58, 0x23, 0x9b, 0xad, 0xfd, 0xaf, 0xfb, 0x9e, 0x73, 0xcf, 0xbd, 0xef, 0x7e, 0x9e,
  51187. 0x73, 0xee, 0xf9, 0x80, 0x57, 0x76, 0x5e, 0x0e, 0xe7, 0x5c, 0x7f, 0x7e, 0xa7, 0xb3, 0x41, 0x02,
  51188. 0x8f, 0x44, 0x24, 0x9c, 0xdf, 0x23, 0x5e, 0xd3, 0x0f, 0xe6, 0x05, 0xc0, 0x69, 0xbb, 0xf3, 0x0d,
  51189. 0x3f, 0x20, 0xf3, 0x7b, 0xcf, 0xcd, 0x6f, 0x11, 0x8f, 0x04, 0x4e, 0x44, 0x9a, 0x73, 0xed, 0xc0,
  51190. 0x8f, 0x7c, 0x84, 0x38, 0xce, 0x9c, 0xd3, 0x76, 0xe7, 0x28, 0xce, 0xdc, 0xde, 0x73, 0xb3, 0xcf,
  51191. 0x6e, 0xb9, 0xd1, 0x76, 0x67, 0x63, 0xae, 0xe1, 0xef, 0xce, 0x6f, 0xf9, 0x5b, 0xfe, 0x3c, 0x43,
  51192. 0xdd, 0xe8, 0x6c, 0xb2, 0x7f, 0xec, 0x0f, 0xfb, 0xc5, 0x49, 0xcc, 0xbe, 0x10, 0x37, 0xb3, 0xeb,
  51193. 0x34, 0xb6, 0x5d, 0x8f, 0x04, 0xfb, 0xf3, 0xed, 0x9d, 0x2d, 0xd6, 0x6e, 0x40, 0x42, 0xbf, 0x13,
  51194. 0x34, 0x48, 0xb2, 0xe1, 0x9e, 0xb5, 0xc2, 0xf9, 0x5d, 0x12, 0x39, 0x29, 0xdd, 0x9d, 0x9d, 0xcf,
  51195. 0xaa, 0x15, 0x74, 0xbc, 0xc8, 0xdd, 0xed, 0x6e, 0xe6, 0xd3, 0xfd, 0x2a, 0x84, 0x8d, 0x6d, 0xb2,
  51196. 0xeb, 0x74, 0xd5, 0x7b, 0x3e, 0xab, 0x5e, 0x27, 0x72, 0x5b, 0xf3, 0xae, 0x17, 0x85, 0x51, 0x90,
  51197. 0xac, 0x64, 0x7f, 0xc3, 0x82, 0xcb, 0x0b, 0x6f, 0xd6, 0x97, 0x5b, 0x4e, 0x18, 0xb9, 0x8d, 0xc5,
  51198. 0x96, 0xdf, 0xd8, 0xa9, 0x47, 0x7e, 0x40, 0xee, 0xfa, 0xad, 0xce, 0x2e, 0xa9, 0xb3, 0x81, 0x40,
  51199. 0xcf, 0x40, 0x71, 0x8f, 0xfd, 0xaf, 0x56, 0x66, 0xac, 0xcb, 0xd6, 0xd5, 0xd2, 0xe2, 0xd4, 0x6f,
  51200. 0x1e, 0x94, 0x3f, 0x76, 0x78, 0x50, 0x2e, 0xde, 0x15, 0xe5, 0x58, 0x61, 0xa0, 0x2b, 0x30, 0xbc,
  51201. 0x19, 0xae, 0xef, 0xb7, 0xc9, 0x4c, 0x8e, 0xe1, 0x4e, 0x08, 0xdc, 0xe1, 0x95, 0x3a, 0x2d, 0xc5,
  51202. 0x02, 0x8a, 0xe6, 0xa1, 0xd4, 0x76, 0x82, 0xc8, 0x8d, 0x5c, 0xdf, 0x9b, 0xc9, 0x5f, 0xb6, 0xae,
  51203. 0x0e, 0x2d, 0x4e, 0x0b, 0xd4, 0x52, 0x4d, 0x02, 0x70, 0x8c, 0x43, 0xbb, 0x11, 0x10, 0xa7, 0x79,
  51204. 0xdb, 0x6b, 0xed, 0xcf, 0x14, 0x2e, 0x5b, 0x57, 0x8b, 0x71, 0x37, 0xb0, 0x28, 0xc7, 0x0a, 0xc3,
  51205. 0xfe, 0xe1, 0x1c, 0x14, 0x17, 0x36, 0x37, 0x5d, 0xcf, 0x8d, 0xf6, 0xd1, 0x5d, 0x18, 0xf3, 0xfc,
  51206. 0x26, 0x91, 0xff, 0xd9, 0x57, 0x8c, 0x5e, 0xbb, 0x3c, 0xd7, 0xbd, 0x94, 0xe6, 0xd6, 0x34, 0xbc,
  51207. 0xc5, 0xa9, 0xc3, 0x83, 0xf2, 0x98, 0x5e, 0x82, 0x0d, 0x3a, 0x08, 0xc3, 0x68, 0xdb, 0x6f, 0x2a,
  51208. 0xb2, 0x39, 0x46, 0xb6, 0x9c, 0x46, 0xb6, 0x16, 0xa3, 0x2d, 0x4e, 0x1e, 0x1e, 0x94, 0x47, 0xb5,
  51209. 0x02, 0xac, 0x13, 0x41, 0x1b, 0x30, 0x49, 0xff, 0x7a, 0x91, 0xab, 0xe8, 0xe6, 0x19, 0xdd, 0x27,
  51210. 0xb2, 0xe8, 0x6a, 0xa8, 0x8b, 0x67, 0x0e, 0x0f, 0xca, 0x93, 0x89, 0x42, 0x9c, 0x24, 0x68, 0xbf,
  51211. 0x0f, 0x13, 0x0b, 0x51, 0xe4, 0x34, 0xb6, 0x49, 0x93, 0xcf, 0x20, 0x7a, 0x01, 0x0a, 0x9e, 0xb3,
  51212. 0x4b, 0xc4, 0xfc, 0x5e, 0x16, 0x03, 0x5b, 0x58, 0x73, 0x76, 0xc9, 0xd1, 0x41, 0x79, 0xea, 0x8e,
  51213. 0xe7, 0xbe, 0xd7, 0x11, 0xab, 0x82, 0x96, 0x61, 0x86, 0x8d, 0xae, 0x01, 0x34, 0xc9, 0x9e, 0xdb,
  51214. 0x20, 0x35, 0x27, 0xda, 0x16, 0xf3, 0x8d, 0x44, 0x5d, 0xa8, 0x28, 0x08, 0xd6, 0xb0, 0xec, 0xfb,
  51215. 0x50, 0x5a, 0xd8, 0xf3, 0xdd, 0x66, 0xcd, 0x6f, 0x86, 0x68, 0x07, 0x26, 0xdb, 0x01, 0xd9, 0x24,
  51216. 0x81, 0x2a, 0x9a, 0xb1, 0x2e, 0xe7, 0xaf, 0x8e, 0x5e, 0xbb, 0x9a, 0xfa, 0xb1, 0x26, 0xea, 0xb2,
  51217. 0x17, 0x05, 0xfb, 0x8b, 0x8f, 0x8a, 0xf6, 0x26, 0x13, 0x50, 0x9c, 0xa4, 0x6c, 0xff, 0xab, 0x1c,
  51218. 0x9c, 0x5b, 0x78, 0xbf, 0x13, 0x90, 0x8a, 0x1b, 0xee, 0x24, 0x57, 0x78, 0xd3, 0x0d, 0x77, 0xd6,
  51219. 0xe2, 0x11, 0x50, 0x4b, 0xab, 0x22, 0xca, 0xb1, 0xc2, 0x40, 0xcf, 0xc2, 0x08, 0xfd, 0x7d, 0x07,
  51220. 0x57, 0xc5, 0x27, 0x9f, 0x11, 0xc8, 0xa3, 0x15, 0x27, 0x72, 0x2a, 0x1c, 0x84, 0x25, 0x0e, 0x5a,
  51221. 0x85, 0xd1, 0x06, 0xdb, 0x90, 0x5b, 0xab, 0x7e, 0x93, 0xb0, 0xc9, 0x2c, 0x2d, 0x3e, 0x4d, 0xd1,
  51222. 0x97, 0xe2, 0xe2, 0xa3, 0x83, 0xf2, 0x0c, 0xef, 0x9b, 0x20, 0xa1, 0xc1, 0xb0, 0x5e, 0x1f, 0xd9,
  51223. 0x6a, 0x7f, 0x15, 0x18, 0x25, 0x48, 0xd9, 0x5b, 0x57, 0xb5, 0xad, 0x32, 0xc4, 0xb6, 0xca, 0x58,
  51224. 0xfa, 0x36, 0x41, 0xcf, 0x41, 0x61, 0xc7, 0xf5, 0x9a, 0x33, 0xc3, 0x8c, 0xd6, 0x45, 0x3a, 0xe7,
  51225. 0x37, 0x5d, 0xaf, 0x79, 0x74, 0x50, 0x9e, 0x36, 0xba, 0x43, 0x0b, 0x31, 0x43, 0xb5, 0xff, 0xd8,
  51226. 0x82, 0x32, 0x83, 0xad, 0xb8, 0x2d, 0x52, 0x23, 0x41, 0xe8, 0x86, 0x11, 0xf1, 0x22, 0x63, 0x40,
  51227. 0xaf, 0x01, 0x84, 0xa4, 0x11, 0x90, 0x48, 0x1b, 0x52, 0xb5, 0x30, 0xea, 0x0a, 0x82, 0x35, 0x2c,
  51228. 0x7a, 0x20, 0x84, 0xdb, 0x4e, 0xc0, 0xd6, 0x97, 0x18, 0x58, 0x75, 0x20, 0xd4, 0x25, 0x00, 0xc7,
  51229. 0x38, 0xc6, 0x81, 0x90, 0xef, 0x77, 0x20, 0xa0, 0xcf, 0xc2, 0x64, 0xdc, 0x58, 0xd8, 0x76, 0x1a,
  51230. 0x72, 0x00, 0xd9, 0x96, 0xa9, 0x9b, 0x20, 0x9c, 0xc4, 0xb5, 0xff, 0xbe, 0x25, 0x16, 0x0f, 0xfd,
  51231. 0xea, 0x8f, 0xf8, 0xb7, 0xda, 0xbf, 0x64, 0xc1, 0xc8, 0xa2, 0xeb, 0x35, 0x5d, 0x6f, 0x0b, 0xbd,
  51232. 0x03, 0x45, 0x7a, 0x37, 0x35, 0x9d, 0xc8, 0x11, 0xe7, 0xde, 0xa7, 0xb4, 0xbd, 0xa5, 0xae, 0x8a,
  51233. 0xb9, 0xf6, 0xce, 0x16, 0x2d, 0x08, 0xe7, 0x28, 0x36, 0xdd, 0x6d, 0xb7, 0x37, 0xde, 0x25, 0x8d,
  51234. 0x68, 0x95, 0x44, 0x4e, 0xfc, 0x39, 0x71, 0x19, 0x56, 0x54, 0xd1, 0x4d, 0x18, 0x8e, 0x9c, 0x60,
  51235. 0x8b, 0x44, 0xe2, 0x00, 0x4c, 0x3d, 0xa8, 0x78, 0x4d, 0x4c, 0x77, 0x24, 0xf1, 0x1a, 0x24, 0xbe,
  51236. 0x16, 0xd6, 0x59, 0x55, 0x2c, 0x48, 0xd8, 0x7f, 0x65, 0x18, 0xce, 0x2f, 0xd5, 0xab, 0x19, 0xeb,
  51237. 0xea, 0x0a, 0x0c, 0x37, 0x03, 0x77, 0x8f, 0x04, 0x62, 0x9c, 0x15, 0x95, 0x0a, 0x2b, 0xc5, 0x02,
  51238. 0x8a, 0x5e, 0x86, 0x31, 0x7e, 0x21, 0xdd, 0x70, 0xbc, 0x66, 0x4b, 0x0e, 0xf1, 0x59, 0x81, 0x3d,
  51239. 0x76, 0x57, 0x83, 0x61, 0x03, 0xf3, 0x98, 0x8b, 0xea, 0x4a, 0x62, 0x33, 0x66, 0x5d, 0x76, 0x5f,
  51240. 0xb6, 0x60, 0x8a, 0x37, 0xb3, 0x10, 0x45, 0x81, 0xbb, 0xd1, 0x89, 0x48, 0x38, 0x33, 0xc4, 0x4e,
  51241. 0xba, 0xa5, 0xb4, 0xd1, 0xca, 0x1c, 0x81, 0xb9, 0xbb, 0x09, 0x2a, 0xfc, 0x10, 0x9c, 0x11, 0xed,
  51242. 0x4e, 0x25, 0xc1, 0xb8, 0xab, 0x59, 0xf4, 0xbd, 0x16, 0xcc, 0x36, 0x7c, 0x2f, 0x0a, 0xfc, 0x56,
  51243. 0x8b, 0x04, 0xb5, 0xce, 0x46, 0xcb, 0x0d, 0xb7, 0xf9, 0x3a, 0xc5, 0x64, 0x93, 0x9d, 0x04, 0x19,
  51244. 0x73, 0xa8, 0x90, 0xc4, 0x1c, 0x5e, 0x3a, 0x3c, 0x28, 0xcf, 0x2e, 0x65, 0x92, 0xc2, 0x3d, 0x9a,
  51245. 0x41, 0x3b, 0x80, 0xe8, 0x55, 0x5a, 0x8f, 0x9c, 0x2d, 0x12, 0x37, 0x3e, 0x32, 0x78, 0xe3, 0x8f,
  51246. 0x1c, 0x1e, 0x94, 0xd1, 0x5a, 0x17, 0x09, 0x9c, 0x42, 0x16, 0xbd, 0x07, 0x67, 0x69, 0x69, 0xd7,
  51247. 0xb7, 0x16, 0x07, 0x6f, 0x6e, 0xe6, 0xf0, 0xa0, 0x7c, 0x76, 0x2d, 0x85, 0x08, 0x4e, 0x25, 0x3d,
  51248. 0xbb, 0x04, 0xe7, 0x52, 0xa7, 0x0a, 0x4d, 0x41, 0x7e, 0x87, 0x70, 0x16, 0xa4, 0x84, 0xe9, 0x4f,
  51249. 0x74, 0x16, 0x86, 0xf6, 0x9c, 0x56, 0x47, 0xac, 0x52, 0xcc, 0xff, 0x7c, 0x26, 0xf7, 0xb2, 0x65,
  51250. 0xff, 0xeb, 0x3c, 0x4c, 0x2e, 0xd5, 0xab, 0x0f, 0xb4, 0x05, 0xf4, 0x3b, 0x20, 0xd7, 0xf3, 0x0e,
  51251. 0x88, 0x6f, 0x94, 0x7c, 0xe6, 0x8d, 0xf2, 0xff, 0xa7, 0xac, 0xdf, 0x02, 0x5b, 0xbf, 0xdf, 0x96,
  51252. 0xb1, 0x7e, 0x4f, 0x78, 0xd5, 0xee, 0x65, 0x4c, 0xe1, 0x10, 0x9b, 0xc2, 0x54, 0x76, 0xe1, 0x96,
  51253. 0xdf, 0x70, 0x5a, 0xc9, 0x73, 0xe7, 0x43, 0x99, 0xc7, 0x06, 0x8c, 0x2d, 0x39, 0x6d, 0x67, 0xc3,
  51254. 0x6d, 0xb9, 0x91, 0x4b, 0x42, 0xf4, 0x24, 0xe4, 0x9d, 0x66, 0x93, 0xb1, 0x3a, 0xa5, 0xc5, 0x73,
  51255. 0x87, 0x07, 0xe5, 0xfc, 0x42, 0x93, 0xde, 0xb9, 0xa0, 0xb0, 0xf6, 0x31, 0xc5, 0x40, 0x9f, 0x84,
  51256. 0x42, 0x33, 0xf0, 0xdb, 0x33, 0x39, 0x86, 0x49, 0x97, 0x7c, 0xa1, 0x12, 0xf8, 0xed, 0x04, 0x2a,
  51257. 0xc3, 0xb1, 0x7f, 0x2d, 0x07, 0x17, 0x96, 0x48, 0x7b, 0x7b, 0xa5, 0x9e, 0x71, 0x78, 0x5e, 0x85,
  51258. 0xe2, 0xae, 0xef, 0xb9, 0x91, 0x1f, 0x84, 0xa2, 0x69, 0xb6, 0x22, 0x56, 0x45, 0x19, 0x56, 0x50,
  51259. 0x74, 0x19, 0x0a, 0xed, 0x98, 0xa3, 0x1b, 0x93, 0xdc, 0x20, 0xe3, 0xe5, 0x18, 0x84, 0x62, 0x74,
  51260. 0x42, 0x12, 0x88, 0x15, 0xa3, 0x30, 0xee, 0x84, 0x24, 0xc0, 0x0c, 0x12, 0x5f, 0x8b, 0xf4, 0xc2,
  51261. 0x14, 0xc7, 0x63, 0xe2, 0x5a, 0xa4, 0x10, 0xac, 0x61, 0xa1, 0x1a, 0x94, 0xc2, 0xc4, 0xcc, 0x0e,
  51262. 0xb4, 0x39, 0xc7, 0xd9, 0xbd, 0xa9, 0x66, 0x32, 0x26, 0x62, 0x1c, 0xe7, 0xc3, 0x7d, 0xef, 0xcd,
  51263. 0xaf, 0xe5, 0x00, 0xf1, 0x21, 0xfc, 0x73, 0x36, 0x70, 0x77, 0xba, 0x07, 0x6e, 0xf0, 0x2d, 0x71,
  51264. 0x52, 0xa3, 0xf7, 0xbf, 0x2c, 0xb8, 0xb0, 0xe4, 0x7a, 0x4d, 0x12, 0x64, 0x2c, 0xc0, 0x87, 0x23,
  51265. 0x48, 0x1e, 0xef, 0xc6, 0x36, 0x96, 0x58, 0xe1, 0x04, 0x96, 0x98, 0xfd, 0x47, 0x16, 0x20, 0xfe,
  51266. 0xd9, 0x1f, 0xb9, 0x8f, 0xbd, 0xd3, 0xfd, 0xb1, 0x27, 0xb0, 0x2c, 0xec, 0x5b, 0x30, 0xb1, 0xd4,
  51267. 0x72, 0x89, 0x17, 0x55, 0x6b, 0x4b, 0xbe, 0xb7, 0xe9, 0x6e, 0xa1, 0xcf, 0xc0, 0x44, 0xe4, 0xee,
  51268. 0x12, 0xbf, 0x13, 0xd5, 0x49, 0xc3, 0xf7, 0x98, 0x18, 0x47, 0x25, 0x7a, 0x74, 0x78, 0x50, 0x9e,
  51269. 0x58, 0x37, 0x20, 0x38, 0x81, 0x69, 0xff, 0x0e, 0x1d, 0x3f, 0x7f, 0xb7, 0xed, 0x7b, 0xc4, 0x8b,
  51270. 0x96, 0x7c, 0xaf, 0xc9, 0xc5, 0xfd, 0xcf, 0x40, 0x21, 0xa2, 0xe3, 0xc1, 0xc7, 0xee, 0x8a, 0xdc,
  51271. 0x28, 0x74, 0x14, 0x8e, 0x0e, 0xca, 0x8f, 0x74, 0xd7, 0x60, 0xe3, 0xc4, 0xea, 0xa0, 0x6f, 0x83,
  51272. 0xe1, 0x30, 0x72, 0xa2, 0x4e, 0x28, 0x46, 0xf3, 0x71, 0x39, 0x9a, 0x75, 0x56, 0x7a, 0x74, 0x50,
  51273. 0x9e, 0x54, 0xd5, 0x78, 0x11, 0x16, 0x15, 0xd0, 0x53, 0x30, 0xb2, 0x4b, 0xc2, 0xd0, 0xd9, 0x92,
  51274. 0xb7, 0xe1, 0xa4, 0xa8, 0x3b, 0xb2, 0xca, 0x8b, 0xb1, 0x84, 0xa3, 0x27, 0x60, 0x88, 0x04, 0x81,
  51275. 0x1f, 0x88, 0x3d, 0x3a, 0x2e, 0x10, 0x87, 0x96, 0x69, 0x21, 0xe6, 0x30, 0xfb, 0xdf, 0x59, 0x30,
  51276. 0xa9, 0xfa, 0xca, 0xdb, 0x3a, 0x05, 0x96, 0xfc, 0x2d, 0x80, 0x86, 0xfc, 0xc0, 0x90, 0xdd, 0x1e,
  51277. 0xa3, 0xd7, 0xae, 0xa4, 0x5e, 0xd4, 0x5d, 0xc3, 0x18, 0x53, 0x56, 0x45, 0x21, 0xd6, 0xa8, 0xd9,
  51278. 0xbf, 0x6a, 0xc1, 0x99, 0xc4, 0x17, 0xdd, 0x72, 0xc3, 0x08, 0xbd, 0xdd, 0xf5, 0x55, 0x73, 0x83,
  51279. 0x7d, 0x15, 0xad, 0xcd, 0xbe, 0x49, 0x2d, 0x65, 0x59, 0xa2, 0x7d, 0xd1, 0x0d, 0x18, 0x72, 0x23,
  51280. 0xb2, 0x2b, 0x3f, 0xe6, 0x89, 0x9e, 0x1f, 0xc3, 0x7b, 0x15, 0xcf, 0x48, 0x95, 0xd6, 0xc4, 0x9c,
  51281. 0x80, 0xfd, 0xd7, 0xf3, 0x50, 0xe2, 0xcb, 0x76, 0xd5, 0x69, 0x9f, 0xc2, 0x5c, 0x54, 0xa1, 0xc0,
  51282. 0xa8, 0xf3, 0x8e, 0x3f, 0x99, 0xde, 0x71, 0xd1, 0x9d, 0x39, 0x2a, 0x6f, 0x73, 0xe6, 0x48, 0x5d,
  51283. 0x0d, 0xb4, 0x08, 0x33, 0x12, 0xc8, 0x01, 0xd8, 0x70, 0x3d, 0x27, 0xd8, 0xa7, 0x65, 0x33, 0x79,
  51284. 0x46, 0xf0, 0xd9, 0xde, 0x04, 0x17, 0x15, 0x3e, 0x27, 0xab, 0xfa, 0x1a, 0x03, 0xb0, 0x46, 0x74,
  51285. 0xf6, 0x25, 0x28, 0x29, 0xe4, 0xe3, 0xf0, 0x38, 0xb3, 0x9f, 0x85, 0xc9, 0x44, 0x5b, 0xfd, 0xaa,
  51286. 0x8f, 0xe9, 0x2c, 0xd2, 0x2f, 0xb3, 0x53, 0x40, 0xf4, 0x7a, 0xd9, 0xdb, 0x13, 0xa7, 0xe8, 0xfb,
  51287. 0x70, 0xb6, 0x95, 0x72, 0x38, 0x89, 0xa9, 0x1a, 0xfc, 0x30, 0xbb, 0x20, 0x3e, 0xfb, 0x6c, 0x1a,
  51288. 0x14, 0xa7, 0xb6, 0x41, 0xaf, 0x7d, 0xbf, 0x4d, 0xd7, 0xbc, 0xd3, 0xd2, 0x39, 0xe8, 0xdb, 0xa2,
  51289. 0x0c, 0x2b, 0x28, 0x3d, 0xc2, 0xce, 0xaa, 0xce, 0xdf, 0x24, 0xfb, 0x75, 0xd2, 0x22, 0x8d, 0xc8,
  51290. 0x0f, 0x3e, 0xd4, 0xee, 0x5f, 0xe4, 0xa3, 0xcf, 0x4f, 0xc0, 0x51, 0x41, 0x20, 0x7f, 0x93, 0xec,
  51291. 0xf3, 0xa9, 0xd0, 0xbf, 0x2e, 0xdf, 0xf3, 0xeb, 0x7e, 0xd6, 0x82, 0x71, 0xf5, 0x75, 0xa7, 0xb0,
  51292. 0xd5, 0x17, 0xcd, 0xad, 0x7e, 0xb1, 0xe7, 0x02, 0xcf, 0xd8, 0xe4, 0x5f, 0xcb, 0xc1, 0x79, 0x85,
  51293. 0x43, 0xd9, 0x7d, 0xfe, 0x47, 0xac, 0xaa, 0x79, 0x28, 0x79, 0x4a, 0x0b, 0x64, 0x99, 0xea, 0x97,
  51294. 0x58, 0x07, 0x14, 0xe3, 0x50, 0xae, 0xcd, 0x8b, 0x55, 0x35, 0x63, 0xba, 0x7a, 0x54, 0xa8, 0x42,
  51295. 0x17, 0x21, 0xdf, 0x71, 0x9b, 0xe2, 0xce, 0xf8, 0x94, 0x1c, 0xed, 0x3b, 0xd5, 0xca, 0xd1, 0x41,
  51296. 0xf9, 0xf1, 0x2c, 0xd5, 0x3c, 0xbd, 0xac, 0xc2, 0xb9, 0x3b, 0xd5, 0x0a, 0xa6, 0x95, 0xd1, 0x02,
  51297. 0x4c, 0xca, 0xd7, 0x87, 0xbb, 0x94, 0x83, 0xf2, 0x3d, 0x71, 0xb5, 0x28, 0x1d, 0x27, 0x36, 0xc1,
  51298. 0x38, 0x89, 0x8f, 0x2a, 0x30, 0xb5, 0xd3, 0xd9, 0x20, 0x2d, 0x12, 0xf1, 0x0f, 0xbe, 0x49, 0xb8,
  51299. 0x06, 0xb0, 0x14, 0x0b, 0x5b, 0x37, 0x13, 0x70, 0xdc, 0x55, 0xc3, 0xfe, 0x33, 0x76, 0xc4, 0x8b,
  51300. 0xd1, 0xab, 0x05, 0x3e, 0x5d, 0x58, 0x94, 0xfa, 0x87, 0xb9, 0x9c, 0x07, 0x59, 0x15, 0x37, 0xc9,
  51301. 0xfe, 0xba, 0x4f, 0x99, 0xed, 0xf4, 0x55, 0x61, 0xac, 0xf9, 0x42, 0xcf, 0x35, 0xff, 0xf3, 0x39,
  51302. 0x38, 0xa7, 0x46, 0xc0, 0xe0, 0xeb, 0xfe, 0xbc, 0x8f, 0xc1, 0x73, 0x30, 0xda, 0x24, 0x9b, 0x4e,
  51303. 0xa7, 0x15, 0x29, 0x75, 0xf4, 0x10, 0x7f, 0x92, 0xa8, 0xc4, 0xc5, 0x58, 0xc7, 0x39, 0xc6, 0xb0,
  51304. 0xfd, 0xc4, 0x28, 0xbb, 0x5b, 0x23, 0x87, 0xae, 0x71, 0xb5, 0x6b, 0xac, 0xcc, 0x5d, 0xf3, 0x04,
  51305. 0x0c, 0xb9, 0xbb, 0x94, 0xd7, 0xca, 0x99, 0x2c, 0x54, 0x95, 0x16, 0x62, 0x0e, 0x43, 0x9f, 0x80,
  51306. 0x91, 0x86, 0xbf, 0xbb, 0xeb, 0x78, 0x4d, 0x76, 0xe5, 0x95, 0x16, 0x47, 0x29, 0x3b, 0xb6, 0xc4,
  51307. 0x8b, 0xb0, 0x84, 0xa1, 0x0b, 0x50, 0x70, 0x82, 0x2d, 0xae, 0x96, 0x28, 0x2d, 0x16, 0x69, 0x4b,
  51308. 0x0b, 0xc1, 0x56, 0x88, 0x59, 0x29, 0x95, 0xaa, 0xee, 0xf9, 0xc1, 0x8e, 0xeb, 0x6d, 0x55, 0xdc,
  51309. 0x40, 0x6c, 0x09, 0x75, 0x17, 0xbe, 0xa9, 0x20, 0x58, 0xc3, 0x42, 0x2b, 0x30, 0xd4, 0xf6, 0x83,
  51310. 0x28, 0x9c, 0x19, 0x66, 0xc3, 0xfd, 0x78, 0xc6, 0x41, 0xc4, 0xbf, 0xb6, 0xe6, 0x07, 0x51, 0xfc,
  51311. 0x01, 0xf4, 0x5f, 0x88, 0x79, 0x75, 0xf4, 0x6d, 0x90, 0x27, 0xde, 0xde, 0xcc, 0x08, 0xa3, 0x32,
  51312. 0x9b, 0x46, 0x65, 0xd9, 0xdb, 0xbb, 0xeb, 0x04, 0xf1, 0x29, 0xbd, 0xec, 0xed, 0x61, 0x5a, 0x07,
  51313. 0x7d, 0x1e, 0x4a, 0x72, 0x8b, 0x87, 0x42, 0x5d, 0x95, 0xba, 0xc4, 0xe4, 0xc1, 0x80, 0xc9, 0x7b,
  51314. 0x1d, 0x37, 0x20, 0xbb, 0xc4, 0x8b, 0xc2, 0xf8, 0x4c, 0x93, 0xd0, 0x10, 0xc7, 0xd4, 0xd0, 0xe7,
  51315. 0xa5, 0x8e, 0x74, 0xd5, 0xef, 0x78, 0x51, 0x38, 0x53, 0x62, 0xdd, 0x4b, 0x7d, 0xbd, 0xba, 0x1b,
  51316. 0xe3, 0x25, 0x95, 0xa8, 0xbc, 0x32, 0x36, 0x48, 0x21, 0x0c, 0xe3, 0x2d, 0x77, 0x8f, 0x78, 0x24,
  51317. 0x0c, 0x6b, 0x81, 0xbf, 0x41, 0x66, 0x80, 0xf5, 0xfc, 0x7c, 0xfa, 0xa3, 0x8e, 0xbf, 0x41, 0x16,
  51318. 0xa7, 0x0f, 0x0f, 0xca, 0xe3, 0xb7, 0xf4, 0x3a, 0xd8, 0x24, 0x81, 0xee, 0xc0, 0x04, 0x95, 0x6b,
  51319. 0xdc, 0x98, 0xe8, 0x68, 0x3f, 0xa2, 0x4c, 0xfa, 0xc0, 0x46, 0x25, 0x9c, 0x20, 0x82, 0x5e, 0x87,
  51320. 0x52, 0xcb, 0xdd, 0x24, 0x8d, 0xfd, 0x46, 0x8b, 0xcc, 0x8c, 0x31, 0x8a, 0xa9, 0xdb, 0xea, 0x96,
  51321. 0x44, 0xe2, 0x72, 0x91, 0xfa, 0x8b, 0xe3, 0xea, 0xe8, 0x2e, 0x3c, 0x12, 0x91, 0x60, 0xd7, 0xf5,
  51322. 0x1c, 0xba, 0x1d, 0x84, 0xbc, 0xc0, 0x9e, 0xc6, 0xc6, 0xd9, 0x7a, 0xbb, 0x24, 0x86, 0xee, 0x91,
  51323. 0xf5, 0x54, 0x2c, 0x9c, 0x51, 0x1b, 0xdd, 0x86, 0x49, 0xb6, 0x13, 0x6a, 0x9d, 0x56, 0xab, 0xe6,
  51324. 0xb7, 0xdc, 0xc6, 0xfe, 0xcc, 0x04, 0x23, 0xf8, 0x09, 0x79, 0x2f, 0x54, 0x4d, 0xf0, 0xd1, 0x41,
  51325. 0x19, 0xe2, 0x7f, 0x38, 0x59, 0x1b, 0x6d, 0xb0, 0xb7, 0x90, 0x4e, 0xe0, 0x46, 0xfb, 0x74, 0xfd,
  51326. 0x92, 0xfb, 0xd1, 0xcc, 0x64, 0x4f, 0x51, 0x58, 0x47, 0x55, 0x0f, 0x26, 0x7a, 0x21, 0x4e, 0x12,
  51327. 0xa4, 0x5b, 0x3b, 0x8c, 0x9a, 0xae, 0x37, 0x33, 0xc5, 0x4e, 0x0c, 0xb5, 0x33, 0xea, 0xb4, 0x10,
  51328. 0x73, 0x18, 0x7b, 0x07, 0xa1, 0x3f, 0x6e, 0xd3, 0x13, 0x74, 0x9a, 0x21, 0xc6, 0xef, 0x20, 0x12,
  51329. 0x80, 0x63, 0x1c, 0xca, 0xd4, 0x44, 0xd1, 0xfe, 0x0c, 0x62, 0xa8, 0x6a, 0xbb, 0xac, 0xaf, 0x7f,
  51330. 0x1e, 0xd3, 0x72, 0x74, 0x0b, 0x46, 0x88, 0xb7, 0xb7, 0x12, 0xf8, 0xbb, 0x33, 0x67, 0xb2, 0xf7,
  51331. 0xec, 0x32, 0x47, 0xe1, 0x07, 0x7a, 0x2c, 0xe0, 0x89, 0x62, 0x2c, 0x49, 0xa0, 0xfb, 0x30, 0x93,
  51332. 0x32, 0x23, 0x7c, 0x02, 0xce, 0xb2, 0x09, 0x78, 0x55, 0xd4, 0x9d, 0x59, 0xcf, 0xc0, 0x3b, 0xea,
  51333. 0x01, 0xc3, 0x99, 0xd4, 0xd1, 0x17, 0x60, 0x9c, 0x6f, 0x28, 0xfe, 0x88, 0x1a, 0xce, 0x9c, 0x63,
  51334. 0x5f, 0x73, 0x39, 0x7b, 0x73, 0x72, 0xc4, 0xc5, 0x73, 0xa2, 0x43, 0xe3, 0x7a, 0x69, 0x88, 0x4d,
  51335. 0x6a, 0xf6, 0x06, 0x4c, 0xa8, 0x73, 0x8b, 0x2d, 0x1d, 0x54, 0x86, 0x21, 0xc6, 0xed, 0x08, 0xfd,
  51336. 0x56, 0x89, 0xce, 0x14, 0xe3, 0x84, 0x30, 0x2f, 0x67, 0x33, 0xe5, 0xbe, 0x4f, 0x16, 0xf7, 0x23,
  51337. 0xc2, 0xa5, 0xea, 0xbc, 0x36, 0x53, 0x12, 0x80, 0x63, 0x1c, 0xfb, 0xff, 0x72, 0xae, 0x31, 0x3e,
  51338. 0x1c, 0x07, 0xb8, 0x0e, 0x9e, 0x81, 0xe2, 0xb6, 0x1f, 0x46, 0x14, 0x9b, 0xb5, 0x31, 0x14, 0xf3,
  51339. 0x89, 0x37, 0x44, 0x39, 0x56, 0x18, 0xe8, 0x15, 0x18, 0x6f, 0xe8, 0x0d, 0x88, 0xbb, 0x4c, 0x0d,
  51340. 0x81, 0xd1, 0x3a, 0x36, 0x71, 0xd1, 0xcb, 0x50, 0x64, 0x26, 0x10, 0x0d, 0xbf, 0x25, 0x98, 0x2c,
  51341. 0x79, 0x21, 0x17, 0x6b, 0xa2, 0xfc, 0x48, 0xfb, 0x8d, 0x15, 0x36, 0xba, 0x02, 0xc3, 0xb4, 0x0b,
  51342. 0xd5, 0x9a, 0xb8, 0x45, 0x94, 0xaa, 0xe6, 0x06, 0x2b, 0xc5, 0x02, 0x6a, 0xff, 0xb5, 0x9c, 0x36,
  51343. 0xca, 0x54, 0x22, 0x25, 0xa8, 0x06, 0x23, 0xf7, 0x1c, 0x37, 0x72, 0xbd, 0x2d, 0xc1, 0x2e, 0x3c,
  51344. 0xd5, 0xf3, 0x4a, 0x61, 0x95, 0xde, 0xe4, 0x15, 0xf8, 0xa5, 0x27, 0xfe, 0x60, 0x49, 0x86, 0x52,
  51345. 0x0c, 0x3a, 0x9e, 0x47, 0x29, 0xe6, 0x06, 0xa5, 0x88, 0x79, 0x05, 0x4e, 0x51, 0xfc, 0xc1, 0x92,
  51346. 0x0c, 0x7a, 0x1b, 0x40, 0x2e, 0x4b, 0xd2, 0x14, 0xa6, 0x07, 0xcf, 0xf4, 0x27, 0xba, 0xae, 0xea,
  51347. 0x2c, 0x4e, 0xd0, 0x2b, 0x35, 0xfe, 0x8f, 0x35, 0x7a, 0x76, 0xc4, 0xd8, 0xaa, 0xee, 0xce, 0xa0,
  51348. 0xef, 0xa4, 0x27, 0x81, 0x13, 0x44, 0xa4, 0xb9, 0x10, 0x89, 0xc1, 0xf9, 0xe4, 0x60, 0x32, 0xc5,
  51349. 0xba, 0xbb, 0x4b, 0xf4, 0x53, 0x43, 0x10, 0xc1, 0x31, 0x3d, 0xfb, 0x17, 0xf3, 0x30, 0x93, 0xd5,
  51350. 0x5d, 0xba, 0xe8, 0xc8, 0x7d, 0x37, 0x5a, 0xa2, 0xdc, 0x90, 0x65, 0x2e, 0xba, 0x65, 0x51, 0x8e,
  51351. 0x15, 0x06, 0x9d, 0xfd, 0xd0, 0xdd, 0x92, 0x22, 0xe1, 0x50, 0x3c, 0xfb, 0x75, 0x56, 0x8a, 0x05,
  51352. 0x94, 0xe2, 0x05, 0xc4, 0x09, 0x85, 0x6d, 0x8b, 0xb6, 0x4a, 0x30, 0x2b, 0xc5, 0x02, 0xaa, 0xeb,
  51353. 0x9b, 0x0a, 0x7d, 0xf4, 0x4d, 0xc6, 0x10, 0x0d, 0x9d, 0xec, 0x10, 0xa1, 0x2f, 0x02, 0x6c, 0xba,
  51354. 0x9e, 0x1b, 0x6e, 0x33, 0xea, 0xc3, 0xc7, 0xa6, 0xae, 0x78, 0xa9, 0x15, 0x45, 0x05, 0x6b, 0x14,
  51355. 0xd1, 0x8b, 0x30, 0xaa, 0x36, 0x60, 0xb5, 0xc2, 0x1e, 0xfa, 0x34, 0xc3, 0x89, 0xf8, 0x34, 0xaa,
  51356. 0x60, 0x1d, 0xcf, 0x7e, 0x37, 0xb9, 0x5e, 0xc4, 0x0e, 0xd0, 0xc6, 0xd7, 0x1a, 0x74, 0x7c, 0x73,
  51357. 0xbd, 0xc7, 0xd7, 0xfe, 0xf5, 0x3c, 0x4c, 0x1a, 0x8d, 0x75, 0xc2, 0x01, 0xce, 0xac, 0xeb, 0xf4,
  51358. 0x9e, 0x73, 0x22, 0x22, 0xf6, 0x9f, 0xdd, 0x7f, 0xab, 0xe8, 0x77, 0x21, 0xdd, 0x01, 0xbc, 0x3e,
  51359. 0xfa, 0x22, 0x94, 0x5a, 0x4e, 0xc8, 0x74, 0x57, 0x44, 0xec, 0xbb, 0x41, 0x88, 0xc5, 0x72, 0x84,
  51360. 0x13, 0x46, 0xda, 0x55, 0xc3, 0x69, 0xc7, 0x24, 0xe9, 0x85, 0x4c, 0x79, 0x1f, 0x69, 0x3c, 0xa5,
  51361. 0x3a, 0x41, 0x19, 0xa4, 0x7d, 0xcc, 0x61, 0xe8, 0x65, 0x18, 0x0b, 0x08, 0x5b, 0x15, 0x4b, 0x94,
  51362. 0x95, 0x63, 0xcb, 0x6c, 0x28, 0xe6, 0xf9, 0xb0, 0x06, 0xc3, 0x06, 0x66, 0xcc, 0xca, 0x0f, 0xf7,
  51363. 0x60, 0xe5, 0x9f, 0x82, 0x11, 0xf6, 0x43, 0xad, 0x00, 0x35, 0x1b, 0x55, 0x5e, 0x8c, 0x25, 0x3c,
  51364. 0xb9, 0x60, 0x8a, 0x03, 0x2e, 0x98, 0x4f, 0xc2, 0x44, 0xc5, 0x21, 0xbb, 0xbe, 0xb7, 0xec, 0x35,
  51365. 0xdb, 0xbe, 0xeb, 0x45, 0x68, 0x06, 0x0a, 0xec, 0x76, 0xe0, 0x7b, 0xbb, 0x40, 0x29, 0xe0, 0x02,
  51366. 0x65, 0xcc, 0xed, 0x2d, 0x38, 0x57, 0xf1, 0xef, 0x79, 0xf7, 0x9c, 0xa0, 0xb9, 0x50, 0xab, 0x6a,
  51367. 0x72, 0xee, 0x9a, 0x94, 0xb3, 0xb8, 0x31, 0x52, 0xea, 0x99, 0xaa, 0xd5, 0xe4, 0x77, 0xed, 0x8a,
  51368. 0xdb, 0x22, 0x19, 0xda, 0x88, 0xbf, 0x99, 0x33, 0x5a, 0x8a, 0xf1, 0xd5, 0x83, 0x91, 0x95, 0xf9,
  51369. 0x60, 0xf4, 0x06, 0x14, 0x37, 0x5d, 0xd2, 0x6a, 0x62, 0xb2, 0x29, 0x96, 0xd8, 0x93, 0xd9, 0xf6,
  51370. 0x15, 0x2b, 0x14, 0x53, 0x6a, 0x9f, 0xb8, 0x94, 0xb6, 0x22, 0x2a, 0x63, 0x45, 0x06, 0xed, 0xc0,
  51371. 0x94, 0x14, 0x03, 0x24, 0x54, 0x2c, 0xb8, 0xa7, 0x7a, 0xc9, 0x16, 0x26, 0xf1, 0xb3, 0x87, 0x07,
  51372. 0xe5, 0x29, 0x9c, 0x20, 0x83, 0xbb, 0x08, 0x53, 0xb1, 0x6c, 0x97, 0x1e, 0xad, 0x05, 0x36, 0xfc,
  51373. 0x4c, 0x2c, 0x63, 0x12, 0x26, 0x2b, 0xb5, 0x7f, 0xd4, 0x82, 0x47, 0xbb, 0x46, 0x46, 0x48, 0xda,
  51374. 0x27, 0x3c, 0x0b, 0x49, 0xc9, 0x37, 0xd7, 0x5f, 0xf2, 0xb5, 0xff, 0x81, 0x05, 0x67, 0x97, 0x77,
  51375. 0xdb, 0xd1, 0x7e, 0xc5, 0x35, 0x5f, 0x77, 0x5e, 0x82, 0xe1, 0x5d, 0xd2, 0x74, 0x3b, 0xbb, 0x62,
  51376. 0xe6, 0xca, 0xf2, 0xf8, 0x59, 0x65, 0xa5, 0x47, 0x07, 0xe5, 0xf1, 0x7a, 0xe4, 0x07, 0xce, 0x16,
  51377. 0xe1, 0x05, 0x58, 0xa0, 0xb3, 0x43, 0xdc, 0x7d, 0x9f, 0xdc, 0x72, 0x77, 0x5d, 0x69, 0x2f, 0xd3,
  51378. 0x53, 0x77, 0x36, 0x27, 0x07, 0x74, 0xee, 0x8d, 0x8e, 0xe3, 0x45, 0x6e, 0xb4, 0x2f, 0x1e, 0x66,
  51379. 0x24, 0x11, 0x1c, 0xd3, 0xb3, 0xbf, 0x61, 0xc1, 0xa4, 0x5c, 0xf7, 0x0b, 0xcd, 0x66, 0x40, 0xc2,
  51380. 0x10, 0xcd, 0x42, 0xce, 0x6d, 0x8b, 0x5e, 0x82, 0xe8, 0x65, 0xae, 0x5a, 0xc3, 0x39, 0xb7, 0x8d,
  51381. 0x6a, 0x50, 0xe2, 0x66, 0x37, 0xf1, 0xe2, 0x1a, 0xc8, 0x78, 0x87, 0xf5, 0x60, 0x5d, 0xd6, 0xc4,
  51382. 0x31, 0x11, 0xc9, 0xc1, 0xb1, 0x33, 0x33, 0x6f, 0xbe, 0x7a, 0xdd, 0x10, 0xe5, 0x58, 0x61, 0xa0,
  51383. 0xab, 0x50, 0xf4, 0xfc, 0x26, 0xb7, 0x82, 0xe2, 0xb7, 0x1f, 0x5b, 0xb2, 0x6b, 0xa2, 0x0c, 0x2b,
  51384. 0xa8, 0xfd, 0x43, 0x16, 0x8c, 0xc9, 0x2f, 0x1b, 0x90, 0x99, 0xa4, 0x5b, 0x2b, 0x66, 0x24, 0xe3,
  51385. 0xad, 0x45, 0x99, 0x41, 0x06, 0x31, 0x78, 0xc0, 0xfc, 0x71, 0x78, 0x40, 0xfb, 0x47, 0x72, 0x30,
  51386. 0x21, 0xbb, 0x53, 0xef, 0x6c, 0x84, 0x24, 0x42, 0xeb, 0x50, 0x72, 0xf8, 0x90, 0x13, 0xb9, 0x62,
  51387. 0x9f, 0x48, 0x17, 0x3e, 0x8c, 0xf9, 0x89, 0xaf, 0xe5, 0x05, 0x59, 0x1b, 0xc7, 0x84, 0x50, 0x0b,
  51388. 0xa6, 0x3d, 0x3f, 0x62, 0x47, 0xb4, 0x82, 0xf7, 0x7a, 0x02, 0x49, 0x52, 0x3f, 0x2f, 0xa8, 0x4f,
  51389. 0xaf, 0x25, 0xa9, 0xe0, 0x6e, 0xc2, 0x68, 0x59, 0x2a, 0x3c, 0xf2, 0xd9, 0xe2, 0x86, 0x3e, 0x0b,
  51390. 0xe9, 0xfa, 0x0e, 0xfb, 0x57, 0x2c, 0x28, 0x49, 0xb4, 0xd3, 0x78, 0xed, 0x5a, 0x85, 0x91, 0x90,
  51391. 0x4d, 0x82, 0x1c, 0x1a, 0xbb, 0x57, 0xc7, 0xf9, 0x7c, 0xc5, 0x37, 0x0f, 0xff, 0x1f, 0x62, 0x49,
  51392. 0x83, 0xe9, 0xbb, 0x55, 0xf7, 0x3f, 0x22, 0xfa, 0x6e, 0xd5, 0x9f, 0x8c, 0x1b, 0xe6, 0xbf, 0xb1,
  51393. 0x3e, 0x6b, 0x62, 0x2d, 0x65, 0x90, 0xda, 0x01, 0xd9, 0x74, 0xef, 0x27, 0x19, 0xa4, 0x1a, 0x2b,
  51394. 0xc5, 0x02, 0x8a, 0xde, 0x86, 0xb1, 0x86, 0x54, 0x74, 0xc6, 0xc7, 0xc0, 0x95, 0x9e, 0x4a, 0x77,
  51395. 0xf5, 0x3e, 0xc3, 0x2d, 0xa4, 0x97, 0xb4, 0xfa, 0xd8, 0xa0, 0x66, 0x3e, 0xb7, 0xe7, 0xfb, 0x3d,
  51396. 0xb7, 0xc7, 0x74, 0xb3, 0x1f, 0x9f, 0x7f, 0xcc, 0x82, 0x61, 0xae, 0x2e, 0x1b, 0x4c, 0xbf, 0xa8,
  51397. 0x3d, 0x57, 0xc5, 0x63, 0x77, 0x97, 0x16, 0x8a, 0xe7, 0x27, 0xb4, 0x0a, 0x25, 0xf6, 0x83, 0xa9,
  51398. 0x0d, 0xf2, 0xd9, 0xa6, 0xe1, 0xbc, 0x55, 0xbd, 0x83, 0x77, 0x65, 0x35, 0x1c, 0x53, 0xb0, 0xbf,
  51399. 0x9a, 0xa7, 0x47, 0x55, 0x8c, 0x6a, 0xdc, 0xe0, 0xd6, 0xc3, 0xbb, 0xc1, 0x73, 0x0f, 0xeb, 0x06,
  51400. 0xdf, 0x82, 0xc9, 0x86, 0xf6, 0xb8, 0x15, 0xcf, 0xe4, 0xd5, 0x9e, 0x8b, 0x44, 0x7b, 0x07, 0xe3,
  51401. 0x2a, 0xa3, 0x25, 0x93, 0x08, 0x4e, 0x52, 0x45, 0xdf, 0x09, 0x63, 0x7c, 0x9e, 0x45, 0x2b, 0xdc,
  51402. 0x62, 0xe1, 0x13, 0xd9, 0xeb, 0x45, 0x6f, 0x82, 0xad, 0xc4, 0xba, 0x56, 0x1d, 0x1b, 0xc4, 0xec,
  51403. 0x5f, 0x2c, 0xc2, 0xd0, 0xf2, 0x1e, 0xf1, 0xa2, 0x53, 0x38, 0x90, 0x1a, 0x30, 0xe1, 0x7a, 0x7b,
  51404. 0x7e, 0x6b, 0x8f, 0x34, 0x39, 0xfc, 0x38, 0x97, 0xeb, 0x23, 0x82, 0xf4, 0x44, 0xd5, 0x20, 0x81,
  51405. 0x13, 0x24, 0x1f, 0x86, 0x84, 0x79, 0x1d, 0x86, 0xf9, 0xdc, 0x0b, 0xf1, 0x32, 0x55, 0x19, 0xcc,
  51406. 0x06, 0x51, 0xec, 0x82, 0x58, 0xfa, 0xe5, 0xda, 0x67, 0x51, 0x1d, 0xbd, 0x0b, 0x13, 0x9b, 0x6e,
  51407. 0x10, 0x46, 0x54, 0x34, 0x0c, 0x23, 0x67, 0xb7, 0xfd, 0x00, 0x12, 0xa5, 0x1a, 0x87, 0x15, 0x83,
  51408. 0x12, 0x4e, 0x50, 0x46, 0x5b, 0x30, 0x4e, 0x85, 0x9c, 0xb8, 0xa9, 0x91, 0x63, 0x37, 0xa5, 0x54,
  51409. 0x46, 0xb7, 0x74, 0x42, 0xd8, 0xa4, 0x4b, 0x0f, 0x93, 0x06, 0x13, 0x8a, 0x8a, 0x8c, 0xa3, 0x50,
  51410. 0x87, 0x09, 0x97, 0x86, 0x38, 0x8c, 0x9e, 0x49, 0xcc, 0x6c, 0xa5, 0x64, 0x9e, 0x49, 0x9a, 0x71,
  51411. 0xca, 0x3b, 0x50, 0x22, 0x74, 0x08, 0x29, 0x61, 0xa1, 0x18, 0x9f, 0x1f, 0xac, 0xaf, 0xab, 0x6e,
  51412. 0x23, 0xf0, 0x4d, 0x59, 0x7e, 0x59, 0x52, 0xc2, 0x31, 0x51, 0xb4, 0x04, 0xc3, 0x21, 0x09, 0x5c,
  51413. 0x12, 0x0a, 0x15, 0x79, 0x8f, 0x69, 0x64, 0x68, 0xdc, 0xe2, 0x93, 0xff, 0xc6, 0xa2, 0x2a, 0x5d,
  51414. 0x5e, 0x0e, 0x93, 0x86, 0x98, 0x56, 0x5c, 0x5b, 0x5e, 0x0b, 0xac, 0x14, 0x0b, 0x28, 0x7a, 0x1d,
  51415. 0x46, 0x02, 0xd2, 0x62, 0xca, 0xa2, 0xf1, 0xc1, 0x17, 0x39, 0xd7, 0x3d, 0xf1, 0x7a, 0x58, 0x12,
  51416. 0x40, 0x37, 0x01, 0x05, 0x84, 0xf2, 0x10, 0xae, 0xb7, 0xa5, 0x8c, 0x39, 0x84, 0xae, 0xfb, 0x31,
  51417. 0xd1, 0xfe, 0x19, 0x1c, 0x63, 0x48, 0xeb, 0x62, 0x9c, 0x52, 0x0d, 0x5d, 0x87, 0x69, 0x55, 0x5a,
  51418. 0xf5, 0xc2, 0xc8, 0xf1, 0x1a, 0x84, 0xa9, 0xb9, 0x4b, 0x31, 0x57, 0x84, 0x93, 0x08, 0xb8, 0xbb,
  51419. 0x8e, 0xfd, 0xd3, 0x94, 0x9d, 0xa1, 0xa3, 0x75, 0x0a, 0xbc, 0xc0, 0x6b, 0x26, 0x2f, 0x70, 0x3e,
  51420. 0x73, 0xe6, 0x32, 0xf8, 0x80, 0x43, 0x0b, 0x46, 0xb5, 0x99, 0x8d, 0xd7, 0xac, 0xd5, 0x63, 0xcd,
  51421. 0x76, 0x60, 0x8a, 0xae, 0xf4, 0xdb, 0x1b, 0x21, 0x09, 0xf6, 0x48, 0x93, 0x2d, 0xcc, 0xdc, 0x83,
  51422. 0x2d, 0x4c, 0xf5, 0xca, 0x7c, 0x2b, 0x41, 0x10, 0x77, 0x35, 0x81, 0x5e, 0x92, 0x9a, 0x93, 0xbc,
  51423. 0x61, 0xa4, 0xc5, 0xb5, 0x22, 0x47, 0x07, 0xe5, 0x29, 0xed, 0x43, 0x74, 0x4d, 0x89, 0xfd, 0x8e,
  51424. 0xfc, 0x46, 0xf5, 0x9a, 0xdf, 0x50, 0x8b, 0x25, 0xf1, 0x9a, 0xaf, 0x96, 0x03, 0x8e, 0x71, 0xe8,
  51425. 0x1e, 0xa5, 0x22, 0x48, 0xf2, 0x35, 0x9f, 0x0a, 0x28, 0x98, 0x41, 0xec, 0xe7, 0x01, 0x96, 0xef,
  51426. 0x93, 0x06, 0x5f, 0xea, 0xfa, 0x03, 0xa4, 0x95, 0xfd, 0x00, 0x69, 0xff, 0x07, 0x0b, 0x26, 0x56,
  51427. 0x96, 0x0c, 0x31, 0x71, 0x0e, 0x80, 0xcb, 0x46, 0x6f, 0xbe, 0xb9, 0x26, 0x75, 0xeb, 0x5c, 0x3d,
  51428. 0xaa, 0x4a, 0xb1, 0x86, 0x81, 0xce, 0x43, 0xbe, 0xd5, 0xf1, 0x84, 0xc8, 0x32, 0x72, 0x78, 0x50,
  51429. 0xce, 0xdf, 0xea, 0x78, 0x98, 0x96, 0x69, 0x16, 0x82, 0xf9, 0x81, 0x2d, 0x04, 0xfb, 0xba, 0xc9,
  51430. 0xa1, 0x32, 0x0c, 0xdd, 0xbb, 0xe7, 0x36, 0xb9, 0x33, 0x82, 0xd0, 0xfb, 0xbf, 0xf9, 0x66, 0xb5,
  51431. 0x12, 0x62, 0x5e, 0x6e, 0x7f, 0x25, 0x0f, 0xb3, 0x2b, 0x2d, 0x72, 0xff, 0x03, 0x3a, 0x64, 0x0c,
  51432. 0x6a, 0xdf, 0x78, 0x3c, 0x7e, 0xf1, 0xb8, 0x36, 0xac, 0xfd, 0xc7, 0x63, 0x13, 0x46, 0xf8, 0x63,
  51433. 0xb6, 0x74, 0xcf, 0x78, 0x25, 0xad, 0xf5, 0xec, 0x01, 0x99, 0xe3, 0x8f, 0xe2, 0xc2, 0xc0, 0x5d,
  51434. 0xdd, 0xb4, 0xa2, 0x14, 0x4b, 0xe2, 0xb3, 0x9f, 0x81, 0x31, 0x1d, 0xf3, 0x58, 0xd6, 0xe4, 0x7f,
  51435. 0x31, 0x0f, 0x53, 0xb4, 0x07, 0x0f, 0x75, 0x22, 0xee, 0x74, 0x4f, 0xc4, 0x49, 0x5b, 0x14, 0xf7,
  51436. 0x9f, 0x8d, 0xb7, 0x93, 0xb3, 0xf1, 0x5c, 0xd6, 0x6c, 0x9c, 0xf6, 0x1c, 0x7c, 0xaf, 0x05, 0x67,
  51437. 0x56, 0x5a, 0x7e, 0x63, 0x27, 0x61, 0xf5, 0xfb, 0x22, 0x8c, 0xd2, 0x73, 0x3c, 0x34, 0xbc, 0xc1,
  51438. 0x0c, 0xff, 0x40, 0x01, 0xc2, 0x3a, 0x9e, 0x56, 0xed, 0xce, 0x9d, 0x6a, 0x25, 0xcd, 0xad, 0x50,
  51439. 0x80, 0xb0, 0x8e, 0x67, 0x7f, 0xdd, 0x82, 0x8b, 0xd7, 0x97, 0x96, 0xe3, 0xa5, 0xd8, 0xe5, 0xd9,
  51440. 0x48, 0xa5, 0xc0, 0xa6, 0xd6, 0x95, 0x58, 0x0a, 0xac, 0xb0, 0x5e, 0x08, 0xe8, 0x47, 0xc5, 0x6b,
  51441. 0xf7, 0xa7, 0x2c, 0x38, 0x73, 0xdd, 0x8d, 0xe8, 0xb5, 0x9c, 0xf4, 0xb1, 0xa3, 0xf7, 0x72, 0xe8,
  51442. 0x46, 0x7e, 0xb0, 0x9f, 0xf4, 0xb1, 0xc3, 0x0a, 0x82, 0x35, 0x2c, 0xde, 0xf2, 0x9e, 0xcb, 0xcc,
  51443. 0xa8, 0x72, 0xa6, 0x2a, 0x0a, 0x8b, 0x72, 0xac, 0x30, 0xe8, 0x87, 0x35, 0xdd, 0x80, 0x89, 0x12,
  51444. 0xfb, 0xe2, 0x84, 0x55, 0x1f, 0x56, 0x91, 0x00, 0x1c, 0xe3, 0xd8, 0x7f, 0x68, 0x41, 0xf9, 0x7a,
  51445. 0xab, 0x13, 0x46, 0x24, 0xd8, 0x0c, 0x33, 0x4e, 0xc7, 0xe7, 0xa1, 0x44, 0xa4, 0xe0, 0x2e, 0x7a,
  51446. 0xad, 0x58, 0x4d, 0x25, 0xd1, 0x73, 0x57, 0x3f, 0x85, 0x37, 0x80, 0x0f, 0xc1, 0xf1, 0x8c, 0xc0,
  51447. 0x57, 0x00, 0x11, 0xbd, 0x2d, 0xdd, 0xf7, 0x91, 0x39, 0x51, 0x2d, 0x77, 0x41, 0x71, 0x4a, 0x0d,
  51448. 0xfb, 0x47, 0x2d, 0x38, 0xa7, 0x3e, 0xf8, 0x23, 0xf7, 0x99, 0xf6, 0xcf, 0xe5, 0x60, 0xfc, 0xc6,
  51449. 0xfa, 0x7a, 0xed, 0x3a, 0x89, 0xc4, 0xb5, 0xdd, 0x5f, 0xb7, 0x8e, 0x35, 0x15, 0x61, 0x2f, 0x29,
  51450. 0xb0, 0x13, 0xb9, 0xad, 0x39, 0xee, 0x42, 0x3f, 0x57, 0xf5, 0xa2, 0xdb, 0x41, 0x3d, 0x0a, 0x5c,
  51451. 0x6f, 0x2b, 0x55, 0xa9, 0x28, 0x99, 0x8b, 0x7c, 0x16, 0x73, 0x81, 0x9e, 0x87, 0x61, 0xe6, 0xc3,
  51452. 0x2f, 0x27, 0xe1, 0x31, 0x25, 0x44, 0xb1, 0xd2, 0xa3, 0x83, 0x72, 0xe9, 0x0e, 0xae, 0xf2, 0x3f,
  51453. 0x58, 0xa0, 0xa2, 0x3b, 0x30, 0xba, 0x1d, 0x45, 0xed, 0x1b, 0xc4, 0x69, 0x92, 0x40, 0x1e, 0x87,
  51454. 0x97, 0xd2, 0x8e, 0x43, 0x3a, 0x08, 0x1c, 0x2d, 0x3e, 0x41, 0xe2, 0xb2, 0x10, 0xeb, 0x74, 0xec,
  51455. 0x3a, 0x40, 0x0c, 0x3b, 0x21, 0x85, 0x8a, 0xfd, 0xfb, 0x16, 0x8c, 0x70, 0x77, 0xca, 0x00, 0xbd,
  51456. 0x0a, 0x05, 0x72, 0x9f, 0x34, 0x04, 0xab, 0x9c, 0xda, 0xe1, 0x98, 0xd3, 0xe2, 0xcf, 0x03, 0xf4,
  51457. 0x3f, 0x66, 0xb5, 0xd0, 0x0d, 0x18, 0xa1, 0xbd, 0xbd, 0xae, 0x7c, 0x4b, 0x1f, 0xcf, 0xfa, 0x62,
  51458. 0x35, 0xed, 0x9c, 0x39, 0x13, 0x45, 0x58, 0x56, 0x67, 0xaa, 0xee, 0x46, 0xbb, 0x4e, 0x4f, 0xec,
  51459. 0xa8, 0x17, 0x63, 0xb1, 0xbe, 0x54, 0xe3, 0x48, 0x82, 0x1a, 0x57, 0x75, 0xcb, 0x42, 0x1c, 0x13,
  51460. 0xb1, 0xd7, 0xa1, 0x44, 0x27, 0x75, 0xa1, 0xe5, 0x3a, 0xbd, 0xb5, 0xec, 0x4f, 0x43, 0x49, 0x6a,
  51461. 0xbc, 0x43, 0xe1, 0xc9, 0xc5, 0xa8, 0x4a, 0x85, 0x78, 0x88, 0x63, 0xb8, 0xbd, 0x09, 0x67, 0x99,
  51462. 0xa9, 0x83, 0x13, 0x6d, 0x1b, 0x7b, 0xac, 0xff, 0x62, 0x7e, 0x46, 0x48, 0x9e, 0x7c, 0x66, 0x66,
  51463. 0x34, 0x67, 0x89, 0x31, 0x49, 0x31, 0x96, 0x42, 0xed, 0x3f, 0x28, 0xc0, 0x63, 0xd5, 0x7a, 0xb6,
  51464. 0xa7, 0xed, 0xcb, 0x30, 0xc6, 0xf9, 0x52, 0xba, 0xb4, 0x9d, 0x96, 0x68, 0x57, 0x3d, 0x04, 0xae,
  51465. 0x6b, 0x30, 0x6c, 0x60, 0xa2, 0x8b, 0x90, 0x77, 0xdf, 0xf3, 0x92, 0x76, 0xc7, 0xd5, 0x37, 0xd6,
  51466. 0x30, 0x2d, 0xa7, 0x60, 0xca, 0xe2, 0xf2, 0xbb, 0x43, 0x81, 0x15, 0x9b, 0xfb, 0x1a, 0x4c, 0xb8,
  51467. 0x61, 0x23, 0x74, 0xab, 0x1e, 0x3d, 0x67, 0xb4, 0x93, 0x4a, 0x69, 0x45, 0x68, 0xa7, 0x15, 0x14,
  51468. 0x27, 0xb0, 0xb5, 0x8b, 0x6c, 0x68, 0x60, 0x36, 0xb9, 0xaf, 0x6b, 0x13, 0x95, 0x00, 0xda, 0xec,
  51469. 0xeb, 0x42, 0x66, 0xc5, 0x27, 0x24, 0x00, 0xfe, 0xc1, 0x21, 0x96, 0x30, 0x2a, 0x72, 0x36, 0xb6,
  51470. 0x9d, 0xf6, 0x42, 0x27, 0xda, 0xae, 0xb8, 0x61, 0xc3, 0xdf, 0x23, 0xc1, 0x3e, 0xd3, 0x16, 0x14,
  51471. 0x63, 0x91, 0x53, 0x01, 0x96, 0x6e, 0x2c, 0xd4, 0x28, 0x26, 0xee, 0xae, 0x63, 0xb2, 0xc1, 0x70,
  51472. 0x12, 0x6c, 0xf0, 0x02, 0x4c, 0xca, 0x66, 0xea, 0x24, 0x64, 0x97, 0xe2, 0x28, 0xeb, 0x98, 0xb2,
  51473. 0x2d, 0x16, 0xc5, 0xaa, 0x5b, 0x49, 0x7c, 0xf4, 0x12, 0x8c, 0xbb, 0x9e, 0x1b, 0xb9, 0x4e, 0xe4,
  51474. 0x07, 0x8c, 0xa5, 0xe0, 0x8a, 0x01, 0x66, 0xba, 0x57, 0xd5, 0x01, 0xd8, 0xc4, 0xb3, 0xff, 0x4b,
  51475. 0x01, 0xa6, 0xd9, 0xb4, 0x7d, 0x6b, 0x85, 0x7d, 0x64, 0x56, 0xd8, 0x9d, 0xee, 0x15, 0x76, 0x12,
  51476. 0xfc, 0xfd, 0x87, 0xb9, 0xcc, 0xde, 0x85, 0x92, 0x32, 0x7e, 0x96, 0xde, 0x0f, 0x56, 0x86, 0xf7,
  51477. 0x43, 0x7f, 0xee, 0x43, 0xbe, 0x5b, 0xe7, 0x53, 0xdf, 0xad, 0xff, 0xb6, 0x05, 0xb1, 0x0d, 0x28,
  51478. 0xba, 0x01, 0xa5, 0xb6, 0xcf, 0xec, 0x2c, 0x02, 0x69, 0xbc, 0xf4, 0x58, 0xea, 0x45, 0xc5, 0x2f,
  51479. 0x45, 0x3e, 0x7e, 0x35, 0x59, 0x03, 0xc7, 0x95, 0xd1, 0x22, 0x8c, 0xb4, 0x03, 0x52, 0x8f, 0x98,
  51480. 0xcf, 0x6f, 0x5f, 0x3a, 0x7c, 0x8d, 0x70, 0x7c, 0x2c, 0x2b, 0xda, 0x3f, 0x6f, 0x01, 0xf0, 0xa7,
  51481. 0x61, 0xc7, 0xdb, 0x22, 0xa7, 0xa0, 0xee, 0xae, 0x40, 0x21, 0x6c, 0x93, 0x46, 0x2f, 0x0b, 0x98,
  51482. 0xb8, 0x3f, 0xf5, 0x36, 0x69, 0xc4, 0x03, 0x4e, 0xff, 0x61, 0x56, 0xdb, 0xfe, 0x3e, 0x80, 0x89,
  51483. 0x18, 0xad, 0x1a, 0x91, 0x5d, 0xf4, 0xac, 0xe1, 0x03, 0x78, 0x3e, 0xe1, 0x03, 0x58, 0x62, 0xd8,
  51484. 0x9a, 0x66, 0xf5, 0x5d, 0xc8, 0xef, 0x3a, 0xf7, 0x85, 0xea, 0xec, 0xe9, 0xde, 0xdd, 0xa0, 0xf4,
  51485. 0xe7, 0x56, 0x9d, 0xfb, 0x5c, 0x48, 0x7c, 0x5a, 0x2e, 0x90, 0x55, 0xe7, 0xfe, 0x11, 0xb7, 0x73,
  51486. 0x61, 0x87, 0xd4, 0x2d, 0x37, 0x8c, 0xbe, 0xf4, 0x9f, 0xe3, 0xff, 0x6c, 0xd9, 0xd1, 0x46, 0x58,
  51487. 0x5b, 0xae, 0x27, 0x1e, 0x4a, 0x07, 0x6a, 0xcb, 0xf5, 0x92, 0x6d, 0xb9, 0xde, 0x00, 0x6d, 0xb9,
  51488. 0x1e, 0x7a, 0x1f, 0x46, 0x84, 0x51, 0x82, 0xf0, 0xb9, 0x9f, 0x1f, 0xa0, 0x3d, 0x61, 0xd3, 0xc0,
  51489. 0xdb, 0x9c, 0x97, 0x42, 0xb0, 0x28, 0xed, 0xdb, 0xae, 0x6c, 0x10, 0xfd, 0x0d, 0x0b, 0x26, 0xc4,
  51490. 0x6f, 0x4c, 0xde, 0xeb, 0x90, 0x30, 0x12, 0xbc, 0xe7, 0xa7, 0x07, 0xef, 0x83, 0xa8, 0xc8, 0xbb,
  51491. 0xf2, 0x69, 0x79, 0xcc, 0x9a, 0xc0, 0xbe, 0x3d, 0x4a, 0xf4, 0x02, 0xfd, 0x23, 0x0b, 0xce, 0xee,
  51492. 0x3a, 0xf7, 0x79, 0x8b, 0xbc, 0x0c, 0x3b, 0x91, 0xeb, 0x0b, 0x63, 0xfd, 0x57, 0x07, 0x9b, 0xfe,
  51493. 0xae, 0xea, 0xbc, 0x93, 0xd2, 0xae, 0xf7, 0x6c, 0x1a, 0x4a, 0xdf, 0xae, 0xa6, 0xf6, 0x6b, 0x76,
  51494. 0x13, 0x8a, 0x72, 0xbd, 0xa5, 0xa8, 0x1a, 0x2a, 0x3a, 0x63, 0x7d, 0x6c, 0x9b, 0x10, 0xdd, 0x11,
  51495. 0x8f, 0xb6, 0x23, 0xd6, 0xda, 0x43, 0x6d, 0xe7, 0x5d, 0x18, 0xd3, 0xd7, 0xd8, 0x43, 0x6d, 0xeb,
  51496. 0x3d, 0x38, 0x93, 0xb2, 0x96, 0x1e, 0x6a, 0x93, 0xf7, 0xe0, 0x7c, 0xe6, 0xfa, 0x78, 0x98, 0x0d,
  51497. 0xdb, 0x3f, 0x67, 0xe9, 0xe7, 0xe0, 0x29, 0xbc, 0x39, 0x2c, 0x99, 0x6f, 0x0e, 0x97, 0x7a, 0xef,
  51498. 0x9c, 0x8c, 0x87, 0x87, 0xb7, 0xf5, 0x4e, 0xd3, 0x53, 0x1d, 0xbd, 0x0e, 0xc3, 0x2d, 0x5a, 0x22,
  51499. 0xad, 0x61, 0xec, 0xfe, 0x3b, 0x32, 0xe6, 0xa5, 0x58, 0x79, 0x88, 0x05, 0x05, 0xfb, 0x97, 0x2c,
  51500. 0x28, 0x9c, 0xc2, 0x48, 0x60, 0x73, 0x24, 0x9e, 0xcd, 0x24, 0x2d, 0x62, 0xf1, 0xcd, 0x61, 0xe7,
  51501. 0xde, 0xf2, 0xfd, 0x88, 0x78, 0x21, 0x13, 0x15, 0x53, 0x07, 0xe6, 0xbb, 0xe0, 0xcc, 0x2d, 0xdf,
  51502. 0x69, 0x2e, 0x3a, 0x2d, 0xc7, 0x6b, 0x90, 0xa0, 0xea, 0x6d, 0xf5, 0x35, 0xcb, 0xd2, 0x8d, 0xa8,
  51503. 0x72, 0xfd, 0x8c, 0xa8, 0xec, 0x6d, 0x40, 0x7a, 0x03, 0xc2, 0x70, 0x15, 0xc3, 0x88, 0xcb, 0x9b,
  51504. 0x12, 0xc3, 0xff, 0x64, 0x3a, 0x77, 0xd7, 0xd5, 0x33, 0xcd, 0x24, 0x93, 0x17, 0x60, 0x49, 0xc8,
  51505. 0x7e, 0x19, 0x52, 0x9d, 0xd5, 0xfa, 0xab, 0x0d, 0xec, 0xcf, 0xc3, 0x34, 0xab, 0x79, 0x4c, 0x91,
  51506. 0xd6, 0x4e, 0x68, 0x25, 0x53, 0x22, 0xd3, 0xd8, 0x5f, 0xb6, 0x60, 0x72, 0x2d, 0x11, 0xb0, 0xe3,
  51507. 0x0a, 0x7b, 0x00, 0x4d, 0x51, 0x86, 0xd7, 0x59, 0x29, 0x16, 0xd0, 0x13, 0xd7, 0x41, 0xfd, 0x99,
  51508. 0x05, 0xb1, 0xff, 0xe8, 0x29, 0x30, 0x5e, 0x4b, 0x06, 0xe3, 0x95, 0xaa, 0x1b, 0x51, 0xdd, 0xc9,
  51509. 0xe2, 0xbb, 0xd0, 0x4d, 0x15, 0x2c, 0xa1, 0x87, 0x5a, 0x24, 0x26, 0xc3, 0x5d, 0xeb, 0x27, 0xcc,
  51510. 0x88, 0x0a, 0x32, 0x7c, 0x02, 0xb3, 0x9d, 0x52, 0xb8, 0x1f, 0x11, 0xdb, 0x29, 0xd5, 0x9f, 0x8c,
  51511. 0x1d, 0x5a, 0xd3, 0xba, 0xcc, 0x4e, 0xae, 0x6f, 0x67, 0xb6, 0xf0, 0x4e, 0xcb, 0x7d, 0x9f, 0xa8,
  51512. 0x88, 0x2f, 0x65, 0x61, 0xdb, 0x2e, 0x4a, 0x8f, 0x0e, 0xca, 0xe3, 0xea, 0x1f, 0x0f, 0xef, 0x16,
  51513. 0x57, 0xb1, 0x6f, 0xc0, 0x64, 0x62, 0xc0, 0xd0, 0x8b, 0x30, 0xd4, 0xde, 0x76, 0x42, 0x92, 0xb0,
  51514. 0x17, 0x1d, 0xaa, 0xd1, 0xc2, 0xa3, 0x83, 0xf2, 0x84, 0xaa, 0xc0, 0x4a, 0x30, 0xc7, 0xb6, 0xff,
  51515. 0x87, 0x05, 0x85, 0x35, 0xbf, 0x79, 0x1a, 0x8b, 0xe9, 0x35, 0x63, 0x31, 0x5d, 0xc8, 0x0a, 0x8e,
  51516. 0x99, 0xb9, 0x8e, 0x56, 0x12, 0xeb, 0xe8, 0x52, 0x26, 0x85, 0xde, 0x4b, 0x68, 0x17, 0x46, 0x59,
  51517. 0xc8, 0x4d, 0x61, 0xbf, 0xfa, 0xbc, 0x21, 0x03, 0x94, 0x13, 0x32, 0xc0, 0xa4, 0x86, 0xaa, 0x49,
  51518. 0x02, 0x4f, 0xc1, 0x88, 0xb0, 0xa1, 0x4c, 0x5a, 0xfd, 0x0b, 0x5c, 0x2c, 0xe1, 0xf6, 0x8f, 0xe5,
  51519. 0xc1, 0x08, 0xf1, 0x89, 0x7e, 0xc5, 0x82, 0xb9, 0x80, 0xbb, 0x51, 0x36, 0x2b, 0x9d, 0xc0, 0xf5,
  51520. 0xb6, 0xea, 0x8d, 0x6d, 0xd2, 0xec, 0xb4, 0x5c, 0x6f, 0xab, 0xba, 0xe5, 0xf9, 0xaa, 0x78, 0xf9,
  51521. 0x3e, 0x69, 0x74, 0xd8, 0x43, 0x48, 0x9f, 0x78, 0xa2, 0xca, 0x46, 0xe9, 0xda, 0xe1, 0x41, 0x79,
  51522. 0x0e, 0x1f, 0x8b, 0x36, 0x3e, 0x66, 0x5f, 0xd0, 0xd7, 0x2d, 0x98, 0xe7, 0x91, 0x2f, 0x07, 0xef,
  51523. 0x7f, 0x0f, 0x89, 0xa9, 0x26, 0x49, 0xc5, 0x44, 0xd6, 0x49, 0xb0, 0xbb, 0xf8, 0x92, 0x18, 0xd0,
  51524. 0xf9, 0xda, 0xf1, 0xda, 0xc2, 0xc7, 0xed, 0x9c, 0xfd, 0x2f, 0xf3, 0x30, 0x2e, 0x3c, 0xf8, 0x45,
  51525. 0x68, 0x98, 0x17, 0x8d, 0x25, 0xf1, 0x78, 0x62, 0x49, 0x4c, 0x1b, 0xc8, 0x27, 0x13, 0x15, 0x26,
  51526. 0x84, 0xe9, 0x96, 0x13, 0x46, 0x37, 0x88, 0x13, 0x44, 0x1b, 0xc4, 0xe1, 0xb6, 0x3b, 0xf9, 0x63,
  51527. 0xdb, 0x19, 0x29, 0x15, 0xcd, 0xad, 0x24, 0x31, 0xdc, 0x4d, 0x1f, 0xed, 0x01, 0x62, 0x06, 0x48,
  51528. 0x81, 0xe3, 0x85, 0xfc, 0x5b, 0x5c, 0xf1, 0x66, 0x70, 0xbc, 0x56, 0x67, 0x45, 0xab, 0xe8, 0x56,
  51529. 0x17, 0x35, 0x9c, 0xd2, 0x82, 0x66, 0x58, 0x36, 0x34, 0xa8, 0x61, 0xd9, 0x70, 0x1f, 0xd7, 0x1a,
  51530. 0x0f, 0xa6, 0xba, 0x82, 0x30, 0xbc, 0x05, 0x25, 0x65, 0x00, 0x28, 0x0e, 0x9d, 0xde, 0xb1, 0x4c,
  51531. 0x92, 0x14, 0xb8, 0x1a, 0x25, 0x36, 0x3e, 0x8d, 0xc9, 0xd9, 0xff, 0x38, 0x67, 0x34, 0xc8, 0x27,
  51532. 0x71, 0x0d, 0x8a, 0x4e, 0x18, 0xba, 0x5b, 0x1e, 0x69, 0x8a, 0x1d, 0xfb, 0xf1, 0xac, 0x1d, 0x6b,
  51533. 0x34, 0xc3, 0x8c, 0x30, 0x17, 0x44, 0x4d, 0xac, 0x68, 0xa0, 0x1b, 0xdc, 0x42, 0x6a, 0x4f, 0xf2,
  51534. 0xfc, 0x83, 0x51, 0x03, 0x69, 0x43, 0xb5, 0x47, 0xb0, 0xa8, 0x8f, 0xbe, 0xc0, 0x4d, 0xd8, 0x6e,
  51535. 0x7a, 0xfe, 0x3d, 0xef, 0xba, 0xef, 0x4b, 0xb7, 0xbb, 0xc1, 0x08, 0x4e, 0x4b, 0xc3, 0x35, 0x55,
  51536. 0x1d, 0x9b, 0xd4, 0x06, 0x0b, 0x54, 0xf4, 0xdd, 0x70, 0x86, 0x92, 0x36, 0x9d, 0x67, 0x42, 0x44,
  51537. 0x60, 0x52, 0x84, 0x87, 0x90, 0x65, 0x62, 0xec, 0x52, 0xd9, 0x79, 0xb3, 0x76, 0xac, 0xf4, 0xbb,
  51538. 0x69, 0x92, 0xc0, 0x49, 0x9a, 0xf6, 0x4f, 0x5a, 0xc0, 0xcc, 0xfe, 0x4f, 0x81, 0x65, 0xf8, 0xac,
  51539. 0xc9, 0x32, 0xcc, 0x64, 0x0d, 0x72, 0x06, 0xb7, 0xf0, 0x02, 0x5f, 0x59, 0xb5, 0xc0, 0xbf, 0xbf,
  51540. 0x2f, 0xcc, 0x07, 0xfa, 0x73, 0xb2, 0xf6, 0xff, 0xb1, 0xf8, 0x21, 0xa6, 0x3c, 0xf1, 0xd1, 0xf7,
  51541. 0x40, 0xb1, 0xe1, 0xb4, 0x9d, 0x06, 0x8f, 0x47, 0x9d, 0xa9, 0xd5, 0x31, 0x2a, 0xcd, 0x2d, 0x89,
  51542. 0x1a, 0x5c, 0x4b, 0x21, 0xc3, 0x8c, 0x14, 0x65, 0x71, 0x5f, 0xcd, 0x84, 0x6a, 0x72, 0x76, 0x07,
  51543. 0xc6, 0x0d, 0x62, 0x0f, 0x55, 0xa4, 0xfd, 0x1e, 0x7e, 0xc5, 0xaa, 0xb0, 0x38, 0xbb, 0x30, 0xed,
  51544. 0x69, 0xff, 0xe9, 0x85, 0x22, 0xc5, 0x94, 0x8f, 0xf7, 0xbb, 0x44, 0xd9, 0xed, 0xa3, 0xb9, 0x35,
  51545. 0x24, 0xc8, 0xe0, 0x6e, 0xca, 0xf6, 0x8f, 0x5b, 0xf0, 0xa8, 0x8e, 0xa8, 0x05, 0x49, 0xe8, 0xa7,
  51546. 0x27, 0xae, 0x40, 0xd1, 0x6f, 0x93, 0xc0, 0x89, 0xfc, 0x40, 0xdc, 0x1a, 0x57, 0xe5, 0xa0, 0xdf,
  51547. 0x16, 0xe5, 0x47, 0x22, 0xa0, 0xa4, 0xa4, 0x2e, 0xcb, 0xb1, 0xaa, 0x49, 0xe5, 0x18, 0x36, 0x18,
  51548. 0xa1, 0x08, 0x60, 0xc1, 0xce, 0x00, 0xf6, 0x64, 0x1a, 0x62, 0x01, 0xb1, 0xff, 0xc0, 0xe2, 0x0b,
  51549. 0x4b, 0xef, 0x3a, 0x7a, 0x0f, 0xa6, 0x76, 0x9d, 0xa8, 0xb1, 0xbd, 0x7c, 0xbf, 0x1d, 0x70, 0xf5,
  51550. 0xb8, 0x1c, 0xa7, 0xa7, 0xfb, 0x8d, 0x93, 0xf6, 0x91, 0xb1, 0x55, 0xde, 0x6a, 0x82, 0x18, 0xee,
  51551. 0x22, 0x8f, 0x36, 0x60, 0x94, 0x95, 0x31, 0xf3, 0xef, 0xb0, 0x17, 0x6b, 0x90, 0xd5, 0x9a, 0x7a,
  51552. 0x75, 0x5e, 0x8d, 0xe9, 0x60, 0x9d, 0xa8, 0xfd, 0xa5, 0x3c, 0xdf, 0xed, 0x8c, 0xdb, 0x7e, 0x0a,
  51553. 0x46, 0xda, 0x7e, 0x73, 0xa9, 0x5a, 0xc1, 0x62, 0x16, 0xd4, 0x35, 0x52, 0xe3, 0xc5, 0x58, 0xc2,
  51554. 0xd1, 0x2b, 0x00, 0xe4, 0x7e, 0x44, 0x02, 0xcf, 0x69, 0x29, 0x2b, 0x19, 0x65, 0x17, 0x5a, 0xf1,
  51555. 0xd7, 0xfc, 0xe8, 0x4e, 0x48, 0xbe, 0x6b, 0x59, 0xa1, 0x60, 0x0d, 0x1d, 0x5d, 0x03, 0x68, 0x07,
  51556. 0xfe, 0x9e, 0xdb, 0x64, 0xfe, 0x84, 0x79, 0xd3, 0x86, 0xa4, 0xa6, 0x20, 0x58, 0xc3, 0x42, 0xaf,
  51557. 0xc0, 0x78, 0xc7, 0x0b, 0x39, 0x87, 0xe2, 0x6c, 0x88, 0x70, 0x8c, 0xc5, 0xd8, 0xba, 0xe1, 0x8e,
  51558. 0x0e, 0xc4, 0x26, 0x2e, 0x5a, 0x80, 0xe1, 0xc8, 0x61, 0x36, 0x11, 0x43, 0xd9, 0xc6, 0x9c, 0xeb,
  51559. 0x14, 0x43, 0x8f, 0x86, 0x4c, 0x2b, 0x60, 0x51, 0x11, 0xbd, 0x25, 0x9d, 0x33, 0xf8, 0x59, 0x2f,
  51560. 0xac, 0xa8, 0x07, 0xbb, 0x17, 0x34, 0xd7, 0x0c, 0x61, 0x9d, 0x6d, 0xd0, 0xb2, 0xbf, 0x5e, 0x02,
  51561. 0x88, 0xd9, 0x71, 0xf4, 0x7e, 0xd7, 0x79, 0xf4, 0x4c, 0x6f, 0x06, 0xfe, 0xe4, 0x0e, 0x23, 0xf4,
  51562. 0xfd, 0x16, 0x8c, 0x3a, 0xad, 0x96, 0xdf, 0x70, 0x22, 0x36, 0xca, 0xb9, 0xde, 0xe7, 0xa1, 0x68,
  51563. 0x7f, 0x21, 0xae, 0xc1, 0xbb, 0xf0, 0xbc, 0x5c, 0x78, 0x1a, 0xa4, 0x6f, 0x2f, 0xf4, 0x86, 0xd1,
  51564. 0xa7, 0xa4, 0x94, 0xc6, 0x97, 0xc7, 0x6c, 0x52, 0x4a, 0x2b, 0xb1, 0xa3, 0x5f, 0x13, 0xd0, 0xd0,
  51565. 0x1d, 0x23, 0xd2, 0x5e, 0x21, 0x3b, 0xe8, 0x84, 0xc1, 0x95, 0xf6, 0x0b, 0xb2, 0x87, 0x6a, 0xba,
  51566. 0x37, 0xd9, 0x50, 0x76, 0x64, 0x16, 0x4d, 0xfc, 0xe9, 0xe3, 0x49, 0xf6, 0x2e, 0x4c, 0x36, 0xcd,
  51567. 0xbb, 0x5d, 0xac, 0xa6, 0x27, 0xb3, 0xe8, 0x26, 0x58, 0x81, 0xf8, 0x36, 0x4f, 0x00, 0x70, 0x92,
  51568. 0x30, 0xaa, 0x71, 0xbf, 0xbe, 0xaa, 0xb7, 0xe9, 0x0b, 0x6b, 0x7c, 0x3b, 0x73, 0x2e, 0xf7, 0xc3,
  51569. 0x88, 0xec, 0x52, 0xcc, 0xf8, 0xd2, 0x5e, 0x13, 0x75, 0xb1, 0xa2, 0x82, 0x5e, 0x87, 0x61, 0xe6,
  51570. 0x18, 0x1c, 0xce, 0x14, 0xb3, 0x95, 0x89, 0x66, 0x4c, 0x8b, 0x78, 0x53, 0xb1, 0xbf, 0x21, 0x16,
  51571. 0x14, 0xd0, 0x0d, 0x19, 0xf8, 0x26, 0xac, 0x7a, 0x77, 0x42, 0xc2, 0x02, 0xdf, 0x94, 0x16, 0x3f,
  51572. 0x1e, 0xc7, 0xb4, 0xe1, 0xe5, 0xa9, 0x79, 0x0f, 0x8c, 0x9a, 0x94, 0x39, 0x12, 0xff, 0x65, 0x3a,
  51573. 0x85, 0x19, 0xc8, 0xee, 0x9e, 0x99, 0x72, 0x21, 0x1e, 0xce, 0xbb, 0x26, 0x09, 0x9c, 0xa4, 0x49,
  51574. 0x19, 0x4d, 0xbe, 0x73, 0x85, 0x3d, 0x7f, 0xbf, 0xfd, 0xcf, 0xe5, 0x6b, 0x76, 0xc9, 0xf0, 0x12,
  51575. 0x2c, 0xea, 0x9f, 0xea, 0xad, 0x3f, 0xeb, 0xc1, 0x54, 0x72, 0x8b, 0x3e, 0x54, 0x2e, 0xe3, 0xf7,
  51576. 0x0b, 0x30, 0x61, 0x2e, 0x29, 0x34, 0x0f, 0x25, 0x41, 0x44, 0x45, 0x61, 0x55, 0xbb, 0x64, 0x55,
  51577. 0x02, 0x70, 0x8c, 0xc3, 0x82, 0xef, 0xb2, 0xea, 0x9a, 0x1d, 0x66, 0x1c, 0x7c, 0x57, 0x41, 0xb0,
  51578. 0x86, 0x45, 0xe5, 0xa5, 0x0d, 0xdf, 0x8f, 0xd4, 0xa5, 0xa2, 0xd6, 0xdd, 0x22, 0x2b, 0xc5, 0x02,
  51579. 0x4a, 0x2f, 0x93, 0x1d, 0x12, 0x78, 0xa4, 0x65, 0x06, 0x77, 0x53, 0x97, 0xc9, 0x4d, 0x1d, 0x88,
  51580. 0x4d, 0x5c, 0x7a, 0x4b, 0xfa, 0x21, 0x5b, 0xc8, 0x42, 0x2a, 0x8b, 0xed, 0x5a, 0xeb, 0xdc, 0xc5,
  51581. 0x5e, 0xc2, 0xd1, 0xe7, 0xe1, 0x51, 0xe5, 0x11, 0x8f, 0xb9, 0xa2, 0x5a, 0xb6, 0x38, 0x6c, 0x28,
  51582. 0x51, 0x1e, 0x5d, 0x4a, 0x47, 0xc3, 0x59, 0xf5, 0xd1, 0x6b, 0x30, 0x21, 0x38, 0x77, 0x49, 0x71,
  51583. 0xc4, 0xb4, 0x9d, 0xb8, 0x69, 0x40, 0x71, 0x02, 0x5b, 0x86, 0xa7, 0x63, 0xcc, 0xb3, 0xa4, 0x50,
  51584. 0xec, 0x0e, 0x4f, 0xa7, 0xc3, 0x71, 0x57, 0x0d, 0xb4, 0x00, 0x93, 0x9c, 0xb5, 0x72, 0xbd, 0x2d,
  51585. 0x3e, 0x27, 0xc2, 0xdd, 0x46, 0x6d, 0xa9, 0xdb, 0x26, 0x18, 0x27, 0xf1, 0xd1, 0xcb, 0x30, 0xe6,
  51586. 0x04, 0x8d, 0x6d, 0x37, 0x22, 0x8d, 0xa8, 0x13, 0x70, 0x3f, 0x1c, 0xcd, 0xf8, 0x64, 0x41, 0x83,
  51587. 0x61, 0x03, 0xd3, 0x7e, 0x1f, 0xce, 0xa4, 0x78, 0xea, 0xd1, 0x85, 0xe3, 0xb4, 0x5d, 0xf9, 0x4d,
  51588. 0x09, 0x0b, 0xd5, 0x85, 0x5a, 0x55, 0x7e, 0x8d, 0x86, 0x45, 0x57, 0x27, 0xf3, 0xe8, 0xd3, 0xb2,
  51589. 0xa7, 0xa8, 0xd5, 0xb9, 0x22, 0x01, 0x38, 0xc6, 0xb1, 0xff, 0x67, 0x0e, 0x26, 0x53, 0x94, 0xef,
  51590. 0x2c, 0x83, 0x47, 0x42, 0xf6, 0x88, 0x13, 0x76, 0x98, 0xd1, 0x0e, 0x73, 0xc7, 0x88, 0x76, 0x98,
  51591. 0xef, 0x17, 0xed, 0xb0, 0xf0, 0x41, 0xa2, 0x1d, 0x9a, 0x23, 0x36, 0x34, 0xd0, 0x88, 0xa5, 0x44,
  51592. 0x48, 0x1c, 0x3e, 0x66, 0x84, 0x44, 0x63, 0xd0, 0x47, 0x06, 0x18, 0xf4, 0xaf, 0xe6, 0x60, 0x2a,
  51593. 0x69, 0x24, 0x77, 0x0a, 0xea, 0xd8, 0xd7, 0x0d, 0x75, 0x6c, 0x7a, 0x3e, 0x9c, 0xa4, 0xe9, 0x5e,
  51594. 0x96, 0x6a, 0x16, 0x27, 0x54, 0xb3, 0x9f, 0x1c, 0x88, 0x5a, 0x6f, 0x35, 0xed, 0xdf, 0xcd, 0xc1,
  51595. 0xb9, 0x64, 0x95, 0xa5, 0x96, 0xe3, 0xee, 0x9e, 0xc2, 0xd8, 0xdc, 0x36, 0xc6, 0xe6, 0xd9, 0x41,
  51596. 0xbe, 0x86, 0x75, 0x2d, 0x73, 0x80, 0xde, 0x4c, 0x0c, 0xd0, 0xfc, 0xe0, 0x24, 0x7b, 0x8f, 0xd2,
  51597. 0x37, 0xf2, 0x70, 0x29, 0xb5, 0x5e, 0xac, 0xcd, 0x5c, 0x31, 0xb4, 0x99, 0xd7, 0x12, 0xda, 0x4c,
  51598. 0xbb, 0x77, 0xed, 0x93, 0x51, 0x6f, 0x0a, 0x17, 0x4a, 0x16, 0x11, 0xef, 0x01, 0x55, 0x9b, 0x86,
  51599. 0x0b, 0xa5, 0x22, 0x84, 0x4d, 0xba, 0xdf, 0x4c, 0x2a, 0xcd, 0x7f, 0x63, 0xc1, 0xf9, 0xd4, 0xb9,
  51600. 0x39, 0x05, 0x15, 0xd6, 0x9a, 0xa9, 0xc2, 0x7a, 0x6a, 0xe0, 0xd5, 0x9a, 0xa1, 0xd3, 0xfa, 0x8d,
  51601. 0x42, 0xc6, 0xb7, 0x30, 0x01, 0xfd, 0x36, 0x8c, 0x3a, 0x8d, 0x06, 0x09, 0xc3, 0x55, 0xbf, 0xa9,
  51602. 0x22, 0xc4, 0x3d, 0xcb, 0xe4, 0xac, 0xb8, 0xf8, 0xe8, 0xa0, 0x3c, 0x9b, 0x24, 0x11, 0x83, 0xb1,
  51603. 0x4e, 0xc1, 0x0c, 0x6a, 0x99, 0x3b, 0xd1, 0xa0, 0x96, 0xd7, 0x00, 0xf6, 0x14, 0xb7, 0x9e, 0x14,
  51604. 0xf2, 0x35, 0x3e, 0x5e, 0xc3, 0x42, 0x5f, 0x80, 0x62, 0x28, 0xae, 0x71, 0xb1, 0x14, 0x9f, 0x1f,
  51605. 0x70, 0xae, 0x9c, 0x0d, 0xd2, 0x32, 0x7d, 0xf5, 0x95, 0x3e, 0x44, 0x91, 0x44, 0xdf, 0x01, 0x53,
  51606. 0x21, 0x0f, 0x05, 0xb3, 0xd4, 0x72, 0x42, 0xe6, 0x07, 0x21, 0x56, 0x21, 0x73, 0xc0, 0xaf, 0x27,
  51607. 0x60, 0xb8, 0x0b, 0x1b, 0xad, 0xc8, 0x8f, 0x62, 0x71, 0x6b, 0xf8, 0xc2, 0xbc, 0x12, 0x7f, 0x90,
  51608. 0xc8, 0x1f, 0x76, 0x36, 0x39, 0xfc, 0x6c, 0xe0, 0xb5, 0x9a, 0xe8, 0x0b, 0x00, 0x74, 0xf9, 0x08,
  51609. 0x5d, 0xc2, 0x48, 0xf6, 0xe1, 0x49, 0x4f, 0x95, 0x66, 0xaa, 0xe5, 0x27, 0x73, 0x5e, 0xac, 0x28,
  51610. 0x22, 0x58, 0x23, 0x68, 0x7f, 0xb5, 0x00, 0x8f, 0xf5, 0x38, 0x23, 0xd1, 0x82, 0xf9, 0x04, 0xfa,
  51611. 0x74, 0x52, 0xb8, 0x9e, 0x4d, 0xad, 0x6c, 0x48, 0xdb, 0x89, 0xa5, 0x98, 0xfb, 0xc0, 0x4b, 0xf1,
  51612. 0x07, 0x2d, 0x4d, 0xed, 0xc1, 0x8d, 0xf9, 0x3e, 0x7b, 0xcc, 0xb3, 0xff, 0x04, 0xf5, 0x20, 0x9b,
  51613. 0x29, 0xca, 0x84, 0x6b, 0x03, 0x77, 0x67, 0x60, 0xed, 0xc2, 0xe9, 0x2a, 0x7f, 0xbf, 0x64, 0xc1,
  51614. 0xe3, 0xa9, 0xfd, 0x35, 0x4c, 0x36, 0xe6, 0xa1, 0xd4, 0xa0, 0x85, 0x9a, 0xaf, 0x5a, 0xec, 0xc4,
  51615. 0x2b, 0x01, 0x38, 0xc6, 0x31, 0x2c, 0x33, 0x72, 0x7d, 0x2d, 0x33, 0xfe, 0x85, 0x05, 0x5d, 0xfb,
  51616. 0xe3, 0x14, 0x0e, 0xea, 0xaa, 0x79, 0x50, 0x7f, 0x7c, 0x90, 0xb9, 0xcc, 0x38, 0xa3, 0xff, 0x68,
  51617. 0x12, 0x1e, 0xc9, 0xf0, 0xd5, 0xd8, 0x83, 0xe9, 0xad, 0x06, 0x31, 0xbd, 0x00, 0xc5, 0xc7, 0xa4,
  51618. 0x3a, 0x4c, 0xf6, 0x74, 0x19, 0x64, 0xf9, 0x88, 0xa6, 0xbb, 0x50, 0x70, 0x77, 0x13, 0xe8, 0x4b,
  51619. 0x16, 0x9c, 0x75, 0xee, 0x85, 0x5d, 0xd9, 0x43, 0xc5, 0x9a, 0x79, 0x21, 0x55, 0x09, 0xd2, 0x27,
  51620. 0xdb, 0x28, 0x4f, 0xd0, 0x94, 0x86, 0x85, 0x53, 0xdb, 0x42, 0x58, 0xc4, 0x0c, 0xa5, 0xec, 0x7c,
  51621. 0x0f, 0x3f, 0xd5, 0x34, 0xa7, 0x1a, 0x7e, 0x64, 0x4b, 0x08, 0x56, 0x74, 0xd0, 0x3b, 0x50, 0xda,
  51622. 0x92, 0x9e, 0x6e, 0x29, 0x57, 0x42, 0x3c, 0x90, 0xbd, 0xfd, 0xff, 0xf8, 0x03, 0xa5, 0x42, 0xc2,
  51623. 0x31, 0x51, 0xf4, 0x1a, 0xe4, 0xbd, 0xcd, 0xb0, 0x57, 0x8e, 0xa3, 0x84, 0x4d, 0x13, 0xf7, 0x06,
  51624. 0x5f, 0x5b, 0xa9, 0x63, 0x5a, 0x11, 0xdd, 0x80, 0x7c, 0xb0, 0xd1, 0x14, 0x1a, 0xbc, 0xd4, 0x33,
  51625. 0x1c, 0x2f, 0x56, 0x32, 0x7a, 0xc5, 0x28, 0xe1, 0xc5, 0x0a, 0xa6, 0x24, 0x50, 0x0d, 0x86, 0x98,
  51626. 0x83, 0x83, 0xb8, 0x0f, 0x52, 0x39, 0xdf, 0x1e, 0x8e, 0x42, 0xdc, 0x65, 0x9c, 0x21, 0x60, 0x4e,
  51627. 0x08, 0xad, 0xc3, 0x70, 0x83, 0xe5, 0xc3, 0x11, 0x01, 0xab, 0x3f, 0x95, 0xaa, 0xab, 0xeb, 0x91,
  51628. 0x28, 0x48, 0xa8, 0xae, 0x18, 0x06, 0x16, 0xb4, 0x18, 0x55, 0xd2, 0xde, 0xde, 0x0c, 0x99, 0xac,
  51629. 0x9f, 0x45, 0xb5, 0x47, 0xfe, 0x2b, 0x41, 0x95, 0x61, 0x60, 0x41, 0x0b, 0x7d, 0x06, 0x72, 0x9b,
  51630. 0x0d, 0xe1, 0xff, 0x90, 0xaa, 0xb4, 0x33, 0x1d, 0xfa, 0x17, 0x87, 0x0f, 0x0f, 0xca, 0xb9, 0x95,
  51631. 0x25, 0x9c, 0xdb, 0x6c, 0xa0, 0x35, 0x18, 0xd9, 0xe4, 0x2e, 0xc0, 0x42, 0x2f, 0xf7, 0x64, 0xba,
  51632. 0x77, 0x72, 0x97, 0x97, 0x30, 0xb7, 0xdb, 0x17, 0x00, 0x2c, 0x89, 0xb0, 0x10, 0x9c, 0xca, 0x95,
  51633. 0x59, 0xc4, 0xa2, 0x9e, 0x3b, 0x9e, 0xfb, 0x39, 0xbf, 0x9f, 0x63, 0x87, 0x68, 0xac, 0x51, 0xa4,
  51634. 0xab, 0xda, 0x91, 0x19, 0x2c, 0x45, 0xac, 0x8e, 0xd4, 0x55, 0xdd, 0x27, 0xb9, 0x27, 0x5f, 0xd5,
  51635. 0x0a, 0x09, 0xc7, 0x44, 0xd1, 0x0e, 0x8c, 0xef, 0x85, 0xed, 0x6d, 0x22, 0xb7, 0x34, 0x0b, 0xdd,
  51636. 0x91, 0x71, 0x85, 0xdd, 0x15, 0x88, 0x6e, 0x10, 0x75, 0x9c, 0x56, 0xd7, 0x29, 0xc4, 0x5e, 0xb5,
  51637. 0xef, 0xea, 0xc4, 0xb0, 0x49, 0x9b, 0x0e, 0xff, 0x7b, 0x1d, 0x7f, 0x63, 0x3f, 0x22, 0x22, 0x78,
  51638. 0x75, 0xea, 0xf0, 0xbf, 0xc1, 0x51, 0xba, 0x87, 0x5f, 0x00, 0xb0, 0x24, 0x82, 0xee, 0x8a, 0xe1,
  51639. 0x61, 0xa7, 0xe7, 0x54, 0x76, 0x30, 0xa5, 0xd4, 0x14, 0xb2, 0xda, 0xa0, 0xb0, 0xd3, 0x32, 0x26,
  51640. 0xc5, 0x4e, 0xc9, 0xf6, 0xb6, 0x1f, 0xf9, 0x5e, 0xe2, 0x84, 0x9e, 0xce, 0x3e, 0x25, 0x6b, 0x29,
  51641. 0xf8, 0xdd, 0xa7, 0x64, 0x1a, 0x16, 0x4e, 0x6d, 0x0b, 0x35, 0x61, 0xa2, 0xed, 0x07, 0xd1, 0x3d,
  51642. 0x3f, 0x90, 0xeb, 0x0b, 0xf5, 0xd0, 0x2b, 0x18, 0x98, 0xa2, 0x45, 0x16, 0x4c, 0xdd, 0x84, 0xe0,
  51643. 0x04, 0x4d, 0xf4, 0x39, 0x18, 0x09, 0x1b, 0x4e, 0x8b, 0x54, 0x6f, 0xcf, 0x9c, 0xc9, 0xbe, 0x7e,
  51644. 0xea, 0x1c, 0x25, 0x63, 0x75, 0xb1, 0xc9, 0x11, 0x28, 0x58, 0x92, 0x43, 0x2b, 0x30, 0xc4, 0x32,
  51645. 0x22, 0xb0, 0xb8, 0xdb, 0x19, 0x31, 0xa1, 0xba, 0x2c, 0x4c, 0xf9, 0xd9, 0xc4, 0x8a, 0x31, 0xaf,
  51646. 0x4e, 0xf7, 0x80, 0x60, 0xaf, 0xfd, 0x70, 0xe6, 0x5c, 0xf6, 0x1e, 0x10, 0x5c, 0xf9, 0xed, 0x7a,
  51647. 0xaf, 0x3d, 0xa0, 0x90, 0x70, 0x4c, 0x94, 0x9e, 0xcc, 0xf4, 0x34, 0x7d, 0xa4, 0x87, 0x41, 0x4b,
  51648. 0xe6, 0x59, 0xca, 0x4e, 0x66, 0x7a, 0x92, 0x52, 0x12, 0xf6, 0xef, 0x8e, 0x74, 0xf3, 0x2c, 0x4c,
  51649. 0x20, 0xfb, 0x4b, 0x56, 0xd7, 0x5b, 0xdd, 0xa7, 0x07, 0xd5, 0x0f, 0x9d, 0x20, 0xb7, 0xfa, 0x25,
  51650. 0x0b, 0x1e, 0x69, 0xa7, 0x7e, 0x88, 0x60, 0x00, 0x06, 0x53, 0x33, 0xf1, 0x4f, 0x57, 0xb1, 0xf1,
  51651. 0xd3, 0xe1, 0x38, 0xa3, 0xa5, 0xa4, 0x44, 0x90, 0xff, 0xc0, 0x12, 0xc1, 0x2a, 0x14, 0x19, 0x93,
  51652. 0xd9, 0x27, 0x3f, 0x5c, 0x52, 0x30, 0x62, 0xac, 0xc4, 0x92, 0xa8, 0x88, 0x15, 0x09, 0xf4, 0x43,
  51653. 0x16, 0x5c, 0x4c, 0x76, 0x1d, 0x13, 0x06, 0x16, 0x91, 0xe4, 0xb9, 0x2c, 0xb8, 0x22, 0xbe, 0xff,
  51654. 0x62, 0xad, 0x17, 0xf2, 0x51, 0x3f, 0x04, 0xdc, 0xbb, 0x31, 0x54, 0x49, 0x11, 0x46, 0x87, 0x4d,
  51655. 0x05, 0xfc, 0x00, 0x02, 0xe9, 0x0b, 0x30, 0xb6, 0xeb, 0x77, 0xbc, 0x48, 0xd8, 0xbf, 0x08, 0x8f,
  51656. 0x45, 0xf6, 0xe0, 0xbc, 0xaa, 0x95, 0x63, 0x03, 0x2b, 0x21, 0xc6, 0x16, 0x1f, 0x58, 0x8c, 0x7d,
  51657. 0x3b, 0x91, 0xcd, 0xbd, 0x94, 0x1d, 0xb1, 0x50, 0x48, 0xfc, 0xc7, 0xc8, 0xe9, 0x7e, 0xba, 0xb2,
  51658. 0xd1, 0x4f, 0x5b, 0x29, 0x4c, 0x3d, 0x97, 0x96, 0x5f, 0x35, 0xa5, 0xe5, 0x2b, 0x49, 0x69, 0xb9,
  51659. 0x4b, 0xf9, 0x6a, 0x08, 0xca, 0x83, 0x87, 0xbd, 0x1e, 0x34, 0x8e, 0x9c, 0xdd, 0x82, 0xcb, 0xfd,
  51660. 0xae, 0x25, 0x66, 0x08, 0xd5, 0x54, 0x4f, 0x6d, 0xb1, 0x21, 0x54, 0xb3, 0x5a, 0xc1, 0x0c, 0x32,
  51661. 0x68, 0xa0, 0x11, 0xfb, 0xbf, 0x5b, 0x90, 0xaf, 0xf9, 0xcd, 0x53, 0x50, 0x26, 0x7f, 0xd6, 0x50,
  51662. 0x26, 0x3f, 0x96, 0x91, 0x65, 0x3f, 0x53, 0x75, 0xbc, 0x9c, 0x50, 0x1d, 0x5f, 0xcc, 0x22, 0xd0,
  51663. 0x5b, 0x51, 0xfc, 0x13, 0x79, 0x18, 0xad, 0xf9, 0x4d, 0x65, 0x85, 0xfc, 0x1b, 0x0f, 0x62, 0x85,
  51664. 0x9c, 0x19, 0x16, 0x56, 0xa3, 0xcc, 0xec, 0xa7, 0xa4, 0x13, 0xde, 0x9f, 0x33, 0x63, 0xe4, 0x37,
  51665. 0x89, 0xbb, 0xb5, 0x1d, 0x91, 0x66, 0xf2, 0x73, 0x4e, 0xcf, 0x18, 0xf9, 0xbf, 0x5a, 0x30, 0x99,
  51666. 0x68, 0x1d, 0xb5, 0x60, 0xbc, 0xa5, 0x6b, 0x02, 0xc5, 0x3a, 0x7d, 0x20, 0x25, 0xa2, 0x30, 0xe6,
  51667. 0xd4, 0x8a, 0xb0, 0x49, 0x1c, 0xcd, 0x01, 0xa8, 0x97, 0x3a, 0xa9, 0x01, 0x63, 0x5c, 0xbf, 0x7a,
  51668. 0xca, 0x0b, 0xb1, 0x86, 0x81, 0x5e, 0x84, 0xd1, 0xc8, 0x6f, 0xfb, 0x2d, 0x7f, 0x6b, 0xff, 0x26,
  51669. 0x91, 0xa1, 0x6d, 0x94, 0x89, 0xd6, 0x7a, 0x0c, 0xc2, 0x3a, 0x9e, 0xfd, 0x53, 0x79, 0xfe, 0xa1,
  51670. 0x5e, 0xe4, 0x7e, 0x6b, 0x4d, 0x7e, 0xb4, 0xd7, 0xe4, 0x37, 0x2c, 0x98, 0xa2, 0xad, 0x33, 0x73,
  51671. 0x11, 0x79, 0xd9, 0xaa, 0xf4, 0x3b, 0x56, 0x8f, 0xf4, 0x3b, 0x57, 0xe8, 0xd9, 0xd5, 0xf4, 0x3b,
  51672. 0x91, 0xd0, 0xa0, 0x69, 0x87, 0x13, 0x2d, 0xc5, 0x02, 0x2a, 0xf0, 0x48, 0x10, 0x08, 0x1f, 0x28,
  51673. 0x1d, 0x8f, 0x04, 0x01, 0x16, 0x50, 0x99, 0x9d, 0xa7, 0x90, 0x91, 0x9d, 0x87, 0x05, 0xea, 0x13,
  51674. 0x86, 0x05, 0x82, 0xed, 0xd1, 0x02, 0xf5, 0x49, 0x8b, 0x83, 0x18, 0xc7, 0xfe, 0xb9, 0x3c, 0x8c,
  51675. 0xd5, 0xfc, 0x66, 0xfc, 0x56, 0xf6, 0x82, 0xf1, 0x56, 0x76, 0x39, 0xf1, 0x56, 0x36, 0xa5, 0xe3,
  51676. 0x7e, 0xeb, 0x65, 0xec, 0xc3, 0x7a, 0x19, 0xfb, 0xe7, 0x16, 0x9b, 0xb5, 0xca, 0x5a, 0x5d, 0x64,
  51677. 0x07, 0x7e, 0x0e, 0x46, 0xd9, 0x81, 0xc4, 0x9c, 0xee, 0xe4, 0x03, 0x12, 0x0b, 0xbc, 0xbf, 0x16,
  51678. 0x17, 0x63, 0x1d, 0x07, 0x5d, 0x85, 0x62, 0x48, 0x9c, 0xa0, 0xb1, 0xad, 0xce, 0x38, 0xf1, 0xbc,
  51679. 0xc2, 0xcb, 0xb0, 0x82, 0xa2, 0x37, 0xe2, 0x18, 0x71, 0xf9, 0xec, 0x3c, 0xb7, 0x7a, 0x7f, 0xf8,
  51680. 0x16, 0xc9, 0x0e, 0x0c, 0x67, 0xbf, 0x09, 0xa8, 0x1b, 0x7f, 0x80, 0xe0, 0x48, 0x65, 0x33, 0x38,
  51681. 0x52, 0xa9, 0x2b, 0x30, 0xd2, 0x9f, 0x5a, 0x30, 0x51, 0xf3, 0x9b, 0x74, 0xeb, 0x7e, 0x33, 0xed,
  51682. 0x53, 0x3d, 0x40, 0xe6, 0x70, 0x8f, 0x00, 0x99, 0x7f, 0xcf, 0x82, 0x91, 0x9a, 0xdf, 0x3c, 0x05,
  51683. 0xbd, 0xfb, 0xab, 0xa6, 0xde, 0xfd, 0xd1, 0x8c, 0x25, 0x91, 0xa1, 0x6a, 0xff, 0x85, 0x3c, 0x8c,
  51684. 0xd3, 0x7e, 0xfa, 0x5b, 0x72, 0x96, 0x8c, 0x11, 0xb1, 0x06, 0x18, 0x11, 0xca, 0xe6, 0xfa, 0xad,
  51685. 0x96, 0x7f, 0x2f, 0x39, 0x63, 0x2b, 0xac, 0x14, 0x0b, 0x28, 0x7a, 0x06, 0x8a, 0xed, 0x80, 0xec,
  51686. 0xb9, 0xbe, 0xe0, 0x1f, 0xb5, 0x57, 0x8c, 0x9a, 0x28, 0xc7, 0x0a, 0x83, 0xca, 0x5d, 0xa1, 0xeb,
  51687. 0x35, 0x88, 0x4c, 0xb2, 0x5d, 0x60, 0x79, 0xb8, 0x78, 0xe4, 0x6b, 0xad, 0x1c, 0x1b, 0x58, 0xe8,
  51688. 0x4d, 0x28, 0xb1, 0xff, 0xec, 0x44, 0x39, 0x7e, 0xde, 0x20, 0x91, 0x6e, 0x42, 0x10, 0xc0, 0x31,
  51689. 0x2d, 0x74, 0x0d, 0x20, 0x92, 0xd1, 0x91, 0x43, 0x11, 0xe3, 0x46, 0xf1, 0xda, 0x2a, 0x6e, 0x72,
  51690. 0x88, 0x35, 0x2c, 0xf4, 0x34, 0x94, 0x22, 0xc7, 0x6d, 0xdd, 0x72, 0x3d, 0x12, 0x32, 0x95, 0x73,
  51691. 0x5e, 0x66, 0x93, 0x10, 0x85, 0x38, 0x86, 0x53, 0x5e, 0x87, 0x39, 0x80, 0xf3, 0xac, 0x63, 0x45,
  51692. 0x86, 0xcd, 0x78, 0x9d, 0x5b, 0xaa, 0x14, 0x6b, 0x18, 0xf6, 0xcb, 0x70, 0xae, 0xe6, 0x37, 0x6b,
  51693. 0x7e, 0x10, 0xad, 0xf8, 0xc1, 0x3d, 0x27, 0x68, 0xca, 0xf9, 0x2b, 0xcb, 0xc4, 0x06, 0xf4, 0xec,
  51694. 0x19, 0xe2, 0x3b, 0xd3, 0x48, 0x59, 0xf0, 0x3c, 0xe3, 0x76, 0x8e, 0xe9, 0xd4, 0xd1, 0x60, 0xf7,
  51695. 0xae, 0x4a, 0x30, 0x78, 0xdd, 0x89, 0x08, 0xba, 0xcd, 0x92, 0x92, 0xc5, 0x57, 0x90, 0xa8, 0xfe,
  51696. 0x94, 0x96, 0x94, 0x2c, 0x06, 0xa6, 0xde, 0x59, 0x66, 0x7d, 0xfb, 0x57, 0xf3, 0xec, 0x34, 0x4a,
  51697. 0xe4, 0xdb, 0x43, 0x5f, 0x84, 0x89, 0x90, 0xdc, 0x72, 0xbd, 0xce, 0x7d, 0x29, 0x84, 0xf7, 0x70,
  51698. 0xcb, 0xa9, 0x2f, 0xeb, 0x98, 0x5c, 0x95, 0x67, 0x96, 0xe1, 0x04, 0x35, 0x3a, 0x4f, 0x41, 0xc7,
  51699. 0x5b, 0x08, 0xef, 0x84, 0x24, 0x10, 0xf9, 0xde, 0xd8, 0x3c, 0x61, 0x59, 0x88, 0x63, 0x38, 0x5d,
  51700. 0x97, 0xec, 0xcf, 0x9a, 0xef, 0x61, 0xdf, 0x8f, 0xe4, 0x4a, 0x66, 0x19, 0x83, 0xb4, 0x72, 0x6c,
  51701. 0x60, 0xa1, 0x15, 0x40, 0x61, 0xa7, 0xdd, 0x6e, 0xb1, 0x87, 0x7d, 0xa7, 0x75, 0x3d, 0xf0, 0x3b,
  51702. 0x6d, 0xfe, 0xea, 0x99, 0xe7, 0x81, 0x09, 0xeb, 0x5d, 0x50, 0x9c, 0x52, 0x83, 0x9e, 0x3e, 0x9b,
  51703. 0x21, 0xfb, 0xcd, 0x56, 0x77, 0x5e, 0xa8, 0xd7, 0xeb, 0xac, 0x08, 0x4b, 0x18, 0x5d, 0x4c, 0xac,
  51704. 0x79, 0x8e, 0x39, 0x1c, 0x2f, 0x26, 0xac, 0x4a, 0xb1, 0x86, 0x81, 0x96, 0x61, 0x24, 0xdc, 0x0f,
  51705. 0x1b, 0x91, 0x88, 0xc8, 0x94, 0x91, 0xb9, 0xb3, 0xce, 0x50, 0xb4, 0x6c, 0x12, 0xbc, 0x0a, 0x96,
  51706. 0x75, 0xed, 0xef, 0x61, 0x97, 0x21, 0xcb, 0x0e, 0x16, 0x75, 0x02, 0x82, 0x76, 0x61, 0xbc, 0xcd,
  51707. 0xa6, 0x5c, 0xc4, 0xae, 0x16, 0xf3, 0xf6, 0xc2, 0x80, 0x52, 0xed, 0x3d, 0x7a, 0xd0, 0x28, 0xad,
  51708. 0x13, 0x13, 0x17, 0x6a, 0x3a, 0x39, 0x6c, 0x52, 0xb7, 0xbf, 0x8a, 0xd8, 0x99, 0x5b, 0xe7, 0xa2,
  51709. 0xea, 0x88, 0x30, 0x2d, 0x16, 0x7c, 0xf9, 0x6c, 0xb6, 0xce, 0x24, 0xfe, 0x22, 0x61, 0x9e, 0x8c,
  51710. 0x65, 0x5d, 0xf4, 0x06, 0x7b, 0xa5, 0xe6, 0x07, 0x5d, 0xbf, 0x24, 0xcd, 0x1c, 0xcb, 0x78, 0x90,
  51711. 0x16, 0x15, 0xb1, 0x46, 0x04, 0xdd, 0x82, 0x71, 0x91, 0x4c, 0x4a, 0x28, 0xc5, 0xf2, 0x86, 0xd2,
  51712. 0x63, 0x1c, 0xeb, 0xc0, 0xa3, 0x64, 0x01, 0x36, 0x2b, 0xa3, 0x2d, 0xb8, 0xa8, 0x65, 0x56, 0xbc,
  51713. 0x1e, 0x38, 0xec, 0xe5, 0xd2, 0x65, 0x9b, 0x48, 0x3b, 0x37, 0x1f, 0x3f, 0x3c, 0x28, 0x5f, 0x5c,
  51714. 0xef, 0x85, 0x88, 0x7b, 0xd3, 0x41, 0xb7, 0xe1, 0x1c, 0xf7, 0xe0, 0xab, 0x10, 0xa7, 0xd9, 0x72,
  51715. 0x3d, 0x75, 0x30, 0xf3, 0x75, 0x78, 0xfe, 0xf0, 0xa0, 0x7c, 0x6e, 0x21, 0x0d, 0x01, 0xa7, 0xd7,
  51716. 0x43, 0xaf, 0x42, 0xa9, 0xe9, 0x85, 0x62, 0x0c, 0x86, 0x8d, 0xa4, 0xa1, 0xa5, 0xca, 0x5a, 0x5d,
  51717. 0x7d, 0x7f, 0xfc, 0x07, 0xc7, 0x15, 0xd0, 0x16, 0x57, 0x8c, 0x29, 0x39, 0x74, 0x24, 0x3b, 0x41,
  51718. 0xbc, 0x58, 0x12, 0x86, 0x0f, 0x0f, 0xd7, 0x08, 0x2b, 0x1b, 0x58, 0xc3, 0xbd, 0xc7, 0x20, 0x8c,
  51719. 0x5e, 0x07, 0x44, 0x19, 0x35, 0xb7, 0x41, 0x16, 0x1a, 0x2c, 0x84, 0x38, 0xd3, 0x23, 0x16, 0x0d,
  51720. 0x9f, 0x09, 0x54, 0xef, 0xc2, 0xc0, 0x29, 0xb5, 0xd0, 0x0d, 0x7a, 0x90, 0xe9, 0xa5, 0xc2, 0x96,
  51721. 0x57, 0x32, 0xf7, 0x33, 0x15, 0xd2, 0x0e, 0x48, 0xc3, 0x89, 0x48, 0xd3, 0xa4, 0x88, 0x13, 0xf5,
  51722. 0xe8, 0x5d, 0xaa, 0xb2, 0x09, 0x81, 0x19, 0x36, 0xa3, 0x3b, 0xa3, 0x10, 0x95, 0x8b, 0xb7, 0xfd,
  51723. 0x30, 0x5a, 0x23, 0xd1, 0x3d, 0x3f, 0xd8, 0x11, 0x51, 0xca, 0xe2, 0x80, 0x99, 0x31, 0x08, 0xeb,
  51724. 0x78, 0x94, 0x0f, 0x66, 0xcf, 0xc4, 0xd5, 0x0a, 0x7b, 0xa1, 0x2b, 0xc6, 0xfb, 0xe4, 0x06, 0x2f,
  51725. 0xc6, 0x12, 0x2e, 0x51, 0xab, 0xb5, 0x25, 0xf6, 0xda, 0x96, 0x40, 0xad, 0xd6, 0x96, 0xb0, 0x84,
  51726. 0x23, 0xd2, 0x9d, 0x90, 0x75, 0x22, 0x5b, 0xab, 0xd9, 0x7d, 0x1d, 0x0c, 0x98, 0x93, 0xd5, 0x83,
  51727. 0x29, 0x95, 0x0a, 0x96, 0x87, 0x6f, 0x0b, 0x67, 0x26, 0xd9, 0x22, 0x19, 0x3c, 0xf6, 0x9b, 0xd2,
  51728. 0x13, 0x57, 0x13, 0x94, 0x70, 0x17, 0x6d, 0x23, 0x90, 0xc9, 0x54, 0xdf, 0x6c, 0x50, 0xf3, 0x50,
  51729. 0x0a, 0x3b, 0x1b, 0x4d, 0x7f, 0xd7, 0x71, 0x3d, 0xf6, 0x38, 0xa6, 0x31, 0x59, 0x75, 0x09, 0xc0,
  51730. 0x31, 0x0e, 0x5a, 0x81, 0xa2, 0x23, 0x95, 0xc0, 0x28, 0x3b, 0x6a, 0x81, 0x52, 0xfd, 0x72, 0x47,
  51731. 0x5e, 0xa9, 0xf6, 0x55, 0x75, 0xd1, 0x2b, 0x30, 0x2e, 0xfc, 0xb6, 0x78, 0x2c, 0x07, 0xf6, 0x78,
  51732. 0xa5, 0x19, 0xe6, 0xd7, 0x75, 0x20, 0x36, 0x71, 0xd1, 0x17, 0x60, 0x82, 0x52, 0x89, 0x0f, 0xb6,
  51733. 0x99, 0xb3, 0x83, 0x9c, 0x88, 0x5a, 0x96, 0x0f, 0xbd, 0x32, 0x4e, 0x10, 0x43, 0x4d, 0xb8, 0xe0,
  51734. 0x74, 0x22, 0x9f, 0x29, 0xd2, 0xcd, 0xf5, 0xbf, 0xee, 0xef, 0x10, 0x8f, 0xbd, 0x61, 0x15, 0x17,
  51735. 0x2f, 0x1f, 0x1e, 0x94, 0x2f, 0x2c, 0xf4, 0xc0, 0xc3, 0x3d, 0xa9, 0xa0, 0x3b, 0x30, 0x1a, 0xf9,
  51736. 0x2d, 0x66, 0x22, 0x4f, 0x59, 0x89, 0x47, 0xb2, 0x03, 0x01, 0xad, 0x2b, 0x34, 0x5d, 0x89, 0xa4,
  51737. 0xaa, 0x62, 0x9d, 0x0e, 0x5a, 0xe7, 0x7b, 0x8c, 0x85, 0x48, 0x25, 0xe1, 0xcc, 0xa3, 0xd9, 0x03,
  51738. 0xa3, 0x22, 0xa9, 0x9a, 0x5b, 0x50, 0xd4, 0xc4, 0x3a, 0x19, 0x74, 0x1d, 0xa6, 0xdb, 0x81, 0xeb,
  51739. 0xb3, 0x85, 0xad, 0x1e, 0x31, 0x66, 0xcc, 0xc4, 0x0e, 0xb5, 0x24, 0x02, 0xee, 0xae, 0x43, 0x85,
  51740. 0x4c, 0x59, 0x38, 0x73, 0x9e, 0x67, 0x09, 0xe3, 0x8c, 0x37, 0x2f, 0xc3, 0x0a, 0x8a, 0x56, 0xd9,
  51741. 0xb9, 0xcc, 0xc5, 0xc1, 0x99, 0xd9, 0xec, 0x68, 0x0f, 0xba, 0xd8, 0xc8, 0xf9, 0x25, 0xf5, 0x17,
  51742. 0xc7, 0x14, 0xe8, 0xbd, 0x11, 0x6e, 0x3b, 0x01, 0xa9, 0x05, 0x7e, 0x83, 0x84, 0x5a, 0x54, 0xe6,
  51743. 0xc7, 0x78, 0x24, 0x47, 0x7a, 0x6f, 0xd4, 0xd3, 0x10, 0x70, 0x7a, 0x3d, 0xd4, 0xd4, 0x92, 0x63,
  51744. 0x53, 0x36, 0x34, 0x9c, 0xb9, 0xd0, 0xc3, 0xe0, 0x28, 0xc1, 0xb3, 0xc6, 0x6b, 0xd1, 0x28, 0x0e,
  51745. 0x71, 0x82, 0x26, 0xfa, 0x0e, 0x98, 0x12, 0x81, 0x8f, 0xe2, 0x71, 0xbf, 0x18, 0x5b, 0x32, 0xe2,
  51746. 0x04, 0x0c, 0x77, 0x61, 0xf3, 0x58, 0xd4, 0xce, 0x46, 0x8b, 0x88, 0x45, 0x78, 0xcb, 0xf5, 0x76,
  51747. 0xc2, 0x99, 0x4b, 0xec, 0xab, 0x45, 0x2c, 0xea, 0x24, 0x14, 0xa7, 0xd4, 0x98, 0xfd, 0x76, 0x98,
  51748. 0xee, 0xba, 0xb9, 0x8e, 0x15, 0xbf, 0xfd, 0x4f, 0x86, 0xa0, 0xa4, 0x94, 0xf2, 0x68, 0xde, 0x7c,
  51749. 0x6b, 0x39, 0x9f, 0x7c, 0x6b, 0x29, 0x52, 0xd9, 0x40, 0x7f, 0x5e, 0x59, 0x37, 0x0c, 0xf5, 0x72,
  51750. 0xd9, 0xd9, 0xd2, 0x74, 0xee, 0xbe, 0xaf, 0xd3, 0x9f, 0xa6, 0x63, 0xc9, 0x0f, 0xfc, 0x68, 0x53,
  51751. 0xe8, 0xa9, 0xb6, 0x19, 0x30, 0x59, 0x31, 0x7a, 0x82, 0x0a, 0x48, 0xcd, 0x6a, 0x2d, 0x99, 0xbd,
  51752. 0xb3, 0x46, 0x0b, 0x31, 0x87, 0x31, 0x41, 0x92, 0xb2, 0x59, 0x4c, 0x90, 0x1c, 0x79, 0x40, 0x41,
  51753. 0x52, 0x12, 0xc0, 0x31, 0x2d, 0xd4, 0x82, 0xe9, 0x86, 0x99, 0x78, 0x55, 0x39, 0xfa, 0x3d, 0xd1,
  51754. 0x37, 0x05, 0x6a, 0x47, 0xcb, 0x72, 0xb7, 0x94, 0xa4, 0x82, 0xbb, 0x09, 0xa3, 0x57, 0xa0, 0xf8,
  51755. 0x9e, 0x1f, 0xb2, 0x45, 0x29, 0x78, 0x0d, 0xe9, 0x10, 0x55, 0x7c, 0xe3, 0x76, 0x9d, 0x95, 0x1f,
  51756. 0x1d, 0x94, 0x47, 0x6b, 0x7e, 0x53, 0xfe, 0xc5, 0xaa, 0x02, 0xba, 0x0f, 0xe7, 0x8c, 0x13, 0x5a,
  51757. 0x75, 0x17, 0x06, 0xef, 0xee, 0x45, 0xd1, 0xdc, 0xb9, 0x6a, 0x1a, 0x25, 0x9c, 0xde, 0x00, 0x3d,
  51758. 0xf6, 0x3c, 0x5f, 0x24, 0x2d, 0x96, 0xfc, 0x0c, 0x63, 0x5b, 0x4a, 0xba, 0x3b, 0x7c, 0x02, 0x01,
  51759. 0x77, 0xd7, 0xb1, 0x7f, 0x99, 0xbf, 0x61, 0x08, 0x4d, 0x27, 0x09, 0x3b, 0xad, 0xd3, 0xc8, 0x89,
  51760. 0xb5, 0x6c, 0x28, 0x61, 0x1f, 0xf8, 0x9d, 0xec, 0xd7, 0x2d, 0xf6, 0x4e, 0xb6, 0x4e, 0x76, 0xdb,
  51761. 0x2d, 0x2a, 0x6f, 0x3f, 0xfc, 0x8e, 0xbf, 0x01, 0xc5, 0x48, 0xb4, 0xd6, 0x2b, 0x8d, 0x97, 0xd6,
  51762. 0x29, 0xf6, 0x56, 0xa8, 0x38, 0x1d, 0x59, 0x8a, 0x15, 0x19, 0xfb, 0x9f, 0xf2, 0x19, 0x90, 0x90,
  51763. 0x53, 0x50, 0x88, 0x55, 0x4c, 0x85, 0x58, 0xb9, 0xcf, 0x17, 0x64, 0x28, 0xc6, 0xfe, 0x89, 0xd9,
  51764. 0x6f, 0x26, 0x54, 0x7e, 0xd4, 0x1f, 0x68, 0xed, 0x1f, 0xb6, 0xe0, 0x6c, 0x9a, 0x45, 0x13, 0xe5,
  51765. 0x4e, 0xb9, 0x48, 0xab, 0x1e, 0xac, 0xd5, 0x08, 0xde, 0x15, 0xe5, 0x58, 0x61, 0x0c, 0x9c, 0x21,
  51766. 0xe3, 0x78, 0x11, 0xe3, 0x6e, 0xc3, 0x78, 0x2d, 0x20, 0xda, 0x1d, 0xf0, 0x1a, 0xf7, 0xac, 0xe3,
  51767. 0xfd, 0x79, 0xe6, 0xd8, 0x5e, 0x75, 0xf6, 0xcf, 0xe4, 0xe0, 0x2c, 0x7f, 0x71, 0x5a, 0xd8, 0xf3,
  51768. 0xdd, 0x66, 0xcd, 0x6f, 0x8a, 0xec, 0x26, 0x6f, 0xc1, 0x58, 0x5b, 0xd3, 0x43, 0xf4, 0x8a, 0x59,
  51769. 0xa5, 0xeb, 0x2b, 0x62, 0x79, 0x50, 0x2f, 0xc5, 0x06, 0x2d, 0xd4, 0x84, 0x31, 0xb2, 0xe7, 0x36,
  51770. 0xd4, 0xb3, 0x45, 0xee, 0xd8, 0x77, 0x83, 0x6a, 0x65, 0x59, 0xa3, 0x83, 0x0d, 0xaa, 0x0f, 0x21,
  51771. 0xe1, 0x9d, 0xfd, 0x23, 0x16, 0x3c, 0x9a, 0x11, 0xe1, 0x8a, 0x36, 0x77, 0x8f, 0xbd, 0xed, 0x89,
  51772. 0xdc, 0x59, 0xaa, 0x39, 0xfe, 0xe2, 0x87, 0x05, 0x14, 0x7d, 0x0e, 0x80, 0xbf, 0xd8, 0x51, 0xf1,
  51773. 0xa8, 0x5f, 0x28, 0x20, 0x23, 0x8a, 0x89, 0x16, 0x7d, 0x42, 0xd6, 0xc7, 0x1a, 0x2d, 0xfb, 0x27,
  51774. 0xf3, 0x30, 0xc4, 0x5e, 0x88, 0xd0, 0x0a, 0x8c, 0x6c, 0xf3, 0x98, 0xcf, 0x83, 0x84, 0x97, 0x8e,
  51775. 0xe5, 0x4c, 0x5e, 0x80, 0x65, 0x65, 0xb4, 0x0a, 0x67, 0x78, 0xcc, 0xec, 0x56, 0x85, 0xb4, 0x9c,
  51776. 0x7d, 0xa9, 0xae, 0xe0, 0xf9, 0xa6, 0x54, 0x24, 0x8d, 0x6a, 0x37, 0x0a, 0x4e, 0xab, 0x87, 0x5e,
  51777. 0x83, 0x09, 0xca, 0xdf, 0xf9, 0x9d, 0x48, 0x52, 0xe2, 0xd1, 0xb2, 0x15, 0x43, 0xb9, 0x6e, 0x40,
  51778. 0x71, 0x02, 0x9b, 0x0a, 0x5e, 0xed, 0x2e, 0xc5, 0xcc, 0x50, 0x2c, 0x78, 0x99, 0xca, 0x18, 0x13,
  51779. 0x97, 0x99, 0x32, 0x75, 0x98, 0xe1, 0xd6, 0xfa, 0x76, 0x40, 0xc2, 0x6d, 0xbf, 0xd5, 0x14, 0xe9,
  51780. 0xca, 0x63, 0x53, 0xa6, 0x04, 0x1c, 0x77, 0xd5, 0xa0, 0x54, 0x36, 0x1d, 0xb7, 0xd5, 0x09, 0x48,
  51781. 0x4c, 0x65, 0xd8, 0xa4, 0xb2, 0x92, 0x80, 0xe3, 0xae, 0x1a, 0x74, 0x1d, 0x9d, 0x13, 0xf9, 0xc3,
  51782. 0xa5, 0x7f, 0xbf, 0xb2, 0x4f, 0x1b, 0x91, 0x9e, 0x4e, 0x3d, 0x02, 0xdc, 0x08, 0x0b, 0x1e, 0x95,
  51783. 0x81, 0x5c, 0xd3, 0x27, 0x0a, 0x1f, 0x27, 0x49, 0xe5, 0x41, 0xb2, 0x58, 0xff, 0x40, 0x0e, 0xce,
  51784. 0xa4, 0xd8, 0xc1, 0xf2, 0xa3, 0x6a, 0xcb, 0x0d, 0x23, 0x95, 0x53, 0x47, 0x3b, 0xaa, 0x78, 0x39,
  51785. 0x56, 0x18, 0x74, 0x3f, 0xf0, 0xc3, 0x30, 0x79, 0x00, 0x0a, 0x3b, 0x33, 0x01, 0x3d, 0x66, 0x76,
  51786. 0x9a, 0xcb, 0x50, 0xe8, 0x84, 0x44, 0x86, 0xa6, 0x52, 0xe7, 0x37, 0xd3, 0x30, 0x33, 0x08, 0x65,
  51787. 0x4d, 0xb7, 0x94, 0x72, 0x57, 0x63, 0x4d, 0xb9, 0xc6, 0x96, 0xc3, 0x68, 0xe7, 0x22, 0xe2, 0x39,
  51788. 0x5e, 0x24, 0x18, 0xd8, 0x38, 0xa0, 0x0a, 0x2b, 0xc5, 0x02, 0x6a, 0x7f, 0x25, 0x0f, 0xe7, 0x33,
  51789. 0x2d, 0xe3, 0x69, 0xd7, 0x77, 0x7d, 0xcf, 0x8d, 0x7c, 0xf5, 0x4a, 0xc9, 0x83, 0xa8, 0x90, 0xf6,
  51790. 0xf6, 0xaa, 0x28, 0xc7, 0x0a, 0x03, 0x5d, 0x91, 0x19, 0xef, 0x93, 0xd9, 0x85, 0x16, 0x2b, 0x46,
  51791. 0xd2, 0xfb, 0x41, 0x33, 0xb7, 0x3d, 0x01, 0x85, 0xb6, 0xef, 0xb7, 0x92, 0x87, 0x16, 0xed, 0xae,
  51792. 0xef, 0xb7, 0x30, 0x03, 0xa2, 0x4f, 0x88, 0xf1, 0x4a, 0x3c, 0xcb, 0x61, 0xa7, 0xe9, 0x87, 0xda,
  51793. 0xa0, 0x3d, 0x05, 0x23, 0x3b, 0x64, 0x3f, 0x70, 0xbd, 0xad, 0xe4, 0x73, 0xed, 0x4d, 0x5e, 0x8c,
  51794. 0x25, 0xdc, 0xcc, 0x35, 0x31, 0x72, 0xd2, 0x29, 0xd7, 0x8a, 0x7d, 0xaf, 0xc0, 0x1f, 0xcc, 0xc3,
  51795. 0x24, 0x5e, 0xac, 0x7c, 0x6b, 0x22, 0xee, 0x74, 0x4f, 0xc4, 0x49, 0xa7, 0x5c, 0xeb, 0x3f, 0x1b,
  51796. 0xbf, 0x60, 0xc1, 0x24, 0x8b, 0xc7, 0x2c, 0x42, 0x77, 0xb8, 0xbe, 0x77, 0x0a, 0x2c, 0xde, 0x13,
  51797. 0x30, 0x14, 0xd0, 0x46, 0x93, 0x69, 0x85, 0x58, 0x4f, 0x30, 0x87, 0xa1, 0x0b, 0x50, 0x60, 0x5d,
  51798. 0xa0, 0x93, 0x37, 0xc6, 0x33, 0x32, 0x54, 0x9c, 0xc8, 0xc1, 0xac, 0x94, 0xf9, 0xa3, 0x63, 0xd2,
  51799. 0x6e, 0xb9, 0xbc, 0xd3, 0xf1, 0x13, 0xc8, 0x47, 0xc3, 0x1f, 0x3d, 0xb5, 0x6b, 0x1f, 0xcc, 0x1f,
  51800. 0x3d, 0x9d, 0x64, 0x6f, 0xf1, 0xe9, 0x0f, 0x73, 0x70, 0x29, 0xb5, 0xde, 0xc0, 0xfe, 0xe8, 0xbd,
  51801. 0x6b, 0x9f, 0x8c, 0xd5, 0x4d, 0xba, 0x31, 0x4c, 0xfe, 0x14, 0x8d, 0x61, 0x0a, 0x83, 0x72, 0x98,
  51802. 0x43, 0x03, 0xb8, 0x89, 0xa7, 0x0e, 0xd9, 0x47, 0xc4, 0x4d, 0x3c, 0xb5, 0x6f, 0x19, 0xe2, 0xdf,
  51803. 0x9f, 0xe5, 0x32, 0xbe, 0x85, 0x09, 0x82, 0x57, 0xe9, 0x39, 0xc3, 0x80, 0xa1, 0xe0, 0x98, 0xc7,
  51804. 0xf8, 0x19, 0xc3, 0xcb, 0xb0, 0x82, 0x22, 0x57, 0x73, 0xb8, 0xce, 0x65, 0x67, 0xd9, 0xcc, 0x6c,
  51805. 0x6a, 0xce, 0x7c, 0xb1, 0x52, 0x43, 0x90, 0xe2, 0x7c, 0xbd, 0xaa, 0x09, 0xef, 0xf9, 0xc1, 0x85,
  51806. 0xf7, 0xb1, 0x74, 0xc1, 0x1d, 0x2d, 0xc0, 0xe4, 0xae, 0xeb, 0xd1, 0x63, 0x73, 0xdf, 0x64, 0x59,
  51807. 0x55, 0xfc, 0x91, 0x55, 0x13, 0x8c, 0x93, 0xf8, 0xb3, 0xaf, 0xc0, 0xf8, 0x83, 0xab, 0x2d, 0xbf,
  51808. 0x91, 0x87, 0xc7, 0x7a, 0x6c, 0x7b, 0x7e, 0xd6, 0x1b, 0x73, 0xa0, 0x9d, 0xf5, 0x5d, 0xf3, 0x50,
  51809. 0x83, 0xb3, 0x9b, 0x9d, 0x56, 0x6b, 0x9f, 0xd9, 0x9b, 0x92, 0xa6, 0xc4, 0x10, 0x3c, 0xe5, 0x05,
  51810. 0x99, 0x03, 0x63, 0x25, 0x05, 0x07, 0xa7, 0xd6, 0x44, 0xaf, 0x03, 0xf2, 0x45, 0x8a, 0xdf, 0xeb,
  51811. 0xc4, 0x13, 0xef, 0x00, 0x6c, 0xe0, 0xf3, 0xf1, 0x66, 0xbc, 0xdd, 0x85, 0x81, 0x53, 0x6a, 0x51,
  51812. 0xe1, 0x80, 0xde, 0x4a, 0xfb, 0xaa, 0x5b, 0x09, 0xe1, 0x00, 0xeb, 0x40, 0x6c, 0xe2, 0xa2, 0xeb,
  51813. 0x30, 0xed, 0xec, 0x39, 0x2e, 0x8f, 0xcb, 0x27, 0x09, 0x70, 0xe9, 0x40, 0x29, 0xcb, 0x16, 0x92,
  51814. 0x08, 0xb8, 0xbb, 0x4e, 0xc2, 0x25, 0x7b, 0x38, 0xdb, 0x25, 0xbb, 0xf7, 0xb9, 0xd8, 0x4f, 0xf7,
  51815. 0x6b, 0xff, 0x27, 0x8b, 0x5e, 0x5f, 0x29, 0x69, 0xfa, 0xe9, 0x38, 0x28, 0x1d, 0xa6, 0xe6, 0x1d,
  51816. 0x7d, 0x4e, 0xb3, 0x28, 0x89, 0x81, 0xd8, 0xc4, 0xe5, 0x0b, 0x22, 0x8c, 0x9d, 0x72, 0x0c, 0x16,
  51817. 0x5f, 0x44, 0x57, 0x50, 0x18, 0xe8, 0xf3, 0x30, 0xd2, 0x74, 0xf7, 0xdc, 0xd0, 0x0f, 0xc4, 0x66,
  51818. 0x39, 0xa6, 0x6b, 0x43, 0x7c, 0x0e, 0x56, 0x38, 0x19, 0x2c, 0xe9, 0xd9, 0x3f, 0x98, 0x83, 0x71,
  51819. 0xd9, 0xe2, 0x1b, 0x1d, 0x3f, 0x72, 0x4e, 0xe1, 0x5a, 0xbe, 0x6e, 0x5c, 0xcb, 0x9f, 0xe8, 0x15,
  51820. 0x62, 0x82, 0x75, 0x29, 0xf3, 0x3a, 0xbe, 0x9d, 0xb8, 0x8e, 0x9f, 0xec, 0x4f, 0xaa, 0xf7, 0x35,
  51821. 0xfc, 0xcf, 0x2c, 0x98, 0x36, 0xf0, 0x4f, 0xe1, 0x36, 0x58, 0x31, 0x6f, 0x83, 0xc7, 0xfb, 0x7e,
  51822. 0x43, 0xc6, 0x2d, 0xf0, 0x7d, 0xf9, 0x44, 0xdf, 0xd9, 0xe9, 0xff, 0x1e, 0x14, 0xb6, 0x9d, 0xa0,
  51823. 0xd9, 0x2b, 0x94, 0x6d, 0x57, 0xa5, 0xb9, 0x1b, 0x4e, 0xd0, 0xe4, 0x67, 0xf8, 0x33, 0x2a, 0x4f,
  51824. 0xa6, 0x13, 0x34, 0xfb, 0xfa, 0xa0, 0xb1, 0xa6, 0xd0, 0xcb, 0x30, 0x1c, 0x36, 0xfc, 0xb6, 0xb2,
  51825. 0x10, 0xbd, 0xcc, 0x73, 0x68, 0xd2, 0x92, 0xa3, 0x83, 0x32, 0x32, 0x9b, 0xa3, 0xc5, 0x58, 0xe0,
  51826. 0xa3, 0xb7, 0x60, 0x9c, 0xfd, 0x52, 0x96, 0x12, 0xf9, 0xec, 0x04, 0x0a, 0x75, 0x1d, 0x91, 0x1b,
  51827. 0xdc, 0x18, 0x45, 0xd8, 0x24, 0x35, 0xbb, 0x05, 0x25, 0xf5, 0x59, 0x0f, 0xd5, 0x77, 0xe8, 0xdf,
  51828. 0xe7, 0xe1, 0x4c, 0xca, 0x9a, 0x43, 0xa1, 0x31, 0x13, 0xcf, 0x0d, 0xb8, 0x54, 0x3f, 0xe0, 0x5c,
  51829. 0x84, 0x4c, 0x1a, 0x6a, 0x8a, 0xb5, 0x35, 0x70, 0xa3, 0x77, 0x42, 0x92, 0x6c, 0x94, 0x16, 0xf5,
  51830. 0x6f, 0x94, 0x36, 0x76, 0x6a, 0x43, 0x4d, 0x1b, 0x52, 0x3d, 0x7d, 0xa8, 0x73, 0xfa, 0xc7, 0x79,
  51831. 0x38, 0x9b, 0x16, 0xf5, 0x06, 0x7d, 0x77, 0x22, 0x99, 0xce, 0x0b, 0x83, 0xc6, 0xcb, 0xe1, 0x19,
  51832. 0x76, 0x44, 0x2e, 0xec, 0x39, 0x33, 0xbd, 0x4e, 0xdf, 0x61, 0x16, 0x6d, 0x32, 0x87, 0xd3, 0x80,
  51833. 0x27, 0x41, 0x92, 0xc7, 0xc7, 0xa7, 0x07, 0xee, 0x80, 0xc8, 0x9e, 0x14, 0x26, 0x1c, 0x4e, 0x65,
  51834. 0x71, 0x7f, 0x87, 0x53, 0xd9, 0xf2, 0xac, 0x0b, 0xa3, 0xda, 0xd7, 0x3c, 0xd4, 0x19, 0xdf, 0xa1,
  51835. 0xb7, 0x95, 0xd6, 0xef, 0x87, 0x3a, 0xeb, 0x3f, 0x62, 0x41, 0xc2, 0x1c, 0x53, 0xa9, 0xc5, 0xac,
  51836. 0x4c, 0xb5, 0xd8, 0x65, 0x28, 0x04, 0x7e, 0x8b, 0x24, 0x73, 0xd7, 0x60, 0xbf, 0x45, 0x30, 0x83,
  51837. 0x50, 0x8c, 0x28, 0x56, 0x76, 0x8c, 0xe9, 0x82, 0x9c, 0x10, 0xd1, 0x9e, 0x80, 0xa1, 0x16, 0xd9,
  51838. 0x23, 0xad, 0x64, 0x60, 0xf8, 0x5b, 0xb4, 0x10, 0x73, 0x98, 0xfd, 0x0b, 0x05, 0xb8, 0xd8, 0xd3,
  51839. 0x65, 0x9b, 0x8a, 0x43, 0x5b, 0x4e, 0x44, 0xee, 0x39, 0xfb, 0xc9, 0x08, 0xce, 0xd7, 0x79, 0x31,
  51840. 0x96, 0x70, 0x66, 0xa1, 0xce, 0x23, 0x36, 0x26, 0x94, 0x88, 0x22, 0x50, 0xa3, 0x80, 0x9a, 0x4a,
  51841. 0xa9, 0xfc, 0x49, 0x28, 0xa5, 0xae, 0x01, 0x84, 0x61, 0x8b, 0xdb, 0x17, 0x34, 0x85, 0xe9, 0x7b,
  51842. 0x1c, 0xd9, 0xb3, 0x7e, 0x4b, 0x40, 0xb0, 0x86, 0x85, 0x2a, 0x30, 0xd5, 0x0e, 0xfc, 0x88, 0xeb,
  51843. 0x64, 0x2b, 0xdc, 0x30, 0x69, 0xc8, 0xf4, 0x96, 0xad, 0x25, 0xe0, 0xb8, 0xab, 0x06, 0x7a, 0x11,
  51844. 0x46, 0x85, 0x07, 0x6d, 0xcd, 0xf7, 0x5b, 0x42, 0x0d, 0xa4, 0xcc, 0x5c, 0xea, 0x31, 0x08, 0xeb,
  51845. 0x78, 0x5a, 0x35, 0xa6, 0xe8, 0x1d, 0x49, 0xad, 0xc6, 0x95, 0xbd, 0x1a, 0x5e, 0x22, 0x02, 0x56,
  51846. 0x71, 0xa0, 0x08, 0x58, 0xb1, 0x62, 0xac, 0x34, 0xf0, 0xdb, 0x16, 0xf4, 0x55, 0x25, 0xfd, 0x6c,
  51847. 0x01, 0xce, 0x88, 0x85, 0xf3, 0xb0, 0x97, 0xcb, 0x9d, 0xee, 0xe5, 0x72, 0x12, 0xaa, 0xb3, 0x6f,
  51848. 0xad, 0x99, 0xd3, 0x5e, 0x33, 0x3f, 0x64, 0x81, 0xc9, 0x5e, 0xa1, 0xff, 0x2f, 0x33, 0x04, 0xfe,
  51849. 0x8b, 0x99, 0xec, 0x5a, 0x53, 0x5e, 0x20, 0x1f, 0x30, 0x18, 0xbe, 0xfd, 0x1f, 0x2d, 0x78, 0xbc,
  51850. 0x2f, 0x45, 0xb4, 0x0c, 0x25, 0xc6, 0x03, 0x6a, 0xd2, 0xd9, 0x93, 0xca, 0x70, 0x51, 0x02, 0x32,
  51851. 0x58, 0xd2, 0xb8, 0x26, 0x5a, 0xee, 0xca, 0x35, 0xf0, 0x54, 0x4a, 0xae, 0x81, 0x73, 0xc6, 0xf0,
  51852. 0x3c, 0x60, 0xb2, 0x81, 0x5f, 0xce, 0xc3, 0x30, 0x5f, 0xf1, 0xa7, 0x20, 0x86, 0xad, 0x08, 0xbd,
  51853. 0x6d, 0x8f, 0x18, 0x58, 0xbc, 0x2f, 0x73, 0x15, 0x27, 0x72, 0x38, 0x9b, 0xa0, 0x6e, 0xab, 0x58,
  51854. 0xc3, 0x8b, 0xe6, 0x8c, 0xfb, 0x6c, 0x36, 0xa1, 0x98, 0x04, 0x4e, 0x43, 0xbb, 0xdd, 0xbe, 0x08,
  51855. 0x10, 0xb2, 0x3c, 0xfd, 0x94, 0x86, 0x88, 0xa6, 0xf6, 0xc9, 0x1e, 0xad, 0xd7, 0x15, 0x32, 0xef,
  51856. 0x43, 0xbc, 0xd3, 0x15, 0x00, 0x6b, 0x14, 0x67, 0x5f, 0x82, 0x92, 0x42, 0xee, 0xa7, 0xc5, 0x19,
  51857. 0xd3, 0x99, 0x8b, 0xcf, 0xc2, 0x64, 0xa2, 0xad, 0x63, 0x29, 0x81, 0x7e, 0xd1, 0x82, 0x49, 0xde,
  51858. 0xe5, 0x65, 0x6f, 0x4f, 0x9c, 0xa9, 0xef, 0xc3, 0xd9, 0x56, 0xca, 0xd9, 0x26, 0x66, 0x74, 0xf0,
  51859. 0xb3, 0x50, 0x29, 0x7d, 0xd2, 0xa0, 0x38, 0xb5, 0x0d, 0x74, 0x95, 0xae, 0x5b, 0x7a, 0x76, 0x39,
  51860. 0x2d, 0xe1, 0xed, 0x34, 0xc6, 0xd7, 0x2c, 0x2f, 0xc3, 0x0a, 0x6a, 0xff, 0xb6, 0x05, 0xd3, 0xbc,
  51861. 0xe7, 0x37, 0xc9, 0xbe, 0xda, 0xe1, 0x1f, 0x66, 0xdf, 0x45, 0xfa, 0x8f, 0x5c, 0x46, 0xfa, 0x0f,
  51862. 0xfd, 0xd3, 0xf2, 0x3d, 0x3f, 0xed, 0x67, 0x2c, 0x10, 0x2b, 0xf0, 0x14, 0x44, 0xf9, 0x6f, 0x37,
  51863. 0x45, 0xf9, 0xd9, 0xec, 0x45, 0x9d, 0x21, 0xc3, 0xff, 0xa9, 0x05, 0x53, 0x1c, 0x21, 0x7e, 0x73,
  51864. 0xfe, 0x50, 0xe7, 0x61, 0x90, 0x3c, 0x7e, 0x2a, 0xb9, 0x77, 0xfa, 0x47, 0x19, 0x93, 0x55, 0xe8,
  51865. 0x39, 0x59, 0x4d, 0xb9, 0x81, 0x8e, 0x91, 0xc3, 0xf2, 0xd8, 0x61, 0xb4, 0xed, 0x3f, 0xb0, 0x00,
  51866. 0xf1, 0x66, 0x0c, 0xf6, 0x87, 0x32, 0x15, 0xac, 0x54, 0xbb, 0x2e, 0xe2, 0xa3, 0x46, 0x41, 0xb0,
  51867. 0x86, 0x75, 0x22, 0xc3, 0x93, 0x30, 0x1c, 0xc8, 0xf7, 0x37, 0x1c, 0x38, 0xc6, 0x88, 0xfe, 0xef,
  51868. 0x02, 0x24, 0xdd, 0x0f, 0xd0, 0x5d, 0x18, 0x6b, 0x38, 0x6d, 0x67, 0xc3, 0x6d, 0xb9, 0x91, 0x4b,
  51869. 0xc2, 0x5e, 0x16, 0x47, 0x4b, 0x1a, 0x9e, 0x78, 0xea, 0xd5, 0x4a, 0xb0, 0x41, 0x07, 0xcd, 0x01,
  51870. 0xb4, 0x03, 0x77, 0xcf, 0x6d, 0x91, 0x2d, 0xa6, 0x71, 0x60, 0xfe, 0x95, 0xdc, 0x8c, 0x46, 0x96,
  51871. 0x62, 0x0d, 0x23, 0xc5, 0x55, 0x2e, 0xff, 0xf0, 0x5c, 0xe5, 0x0a, 0xc7, 0x74, 0x95, 0x1b, 0x1a,
  51872. 0xc8, 0x55, 0x0e, 0xc3, 0x23, 0x92, 0x45, 0xa2, 0xff, 0x57, 0xdc, 0x16, 0x11, 0x7c, 0x31, 0xf7,
  51873. 0xba, 0x9c, 0x3d, 0x3c, 0x28, 0x3f, 0x82, 0x53, 0x31, 0x70, 0x46, 0x4d, 0xf4, 0x39, 0x98, 0x71,
  51874. 0x5a, 0x2d, 0xff, 0x9e, 0x1a, 0xb5, 0xe5, 0xb0, 0xe1, 0xb4, 0xb8, 0xc6, 0x7e, 0x84, 0x51, 0xbd,
  51875. 0x70, 0x78, 0x50, 0x9e, 0x59, 0xc8, 0xc0, 0xc1, 0x99, 0xb5, 0x13, 0x9e, 0x76, 0xc5, 0xbe, 0x9e,
  51876. 0x76, 0xaf, 0x42, 0xa9, 0x1d, 0xf8, 0x8d, 0x55, 0xcd, 0xfb, 0xe7, 0x12, 0xcb, 0x90, 0x2f, 0x0b,
  51877. 0x8f, 0x0e, 0xca, 0xe3, 0xea, 0x0f, 0xbb, 0xe1, 0xe3, 0x0a, 0xf6, 0x0e, 0x9c, 0xa9, 0x93, 0xc0,
  51878. 0x65, 0xb9, 0x37, 0x9b, 0xf1, 0x86, 0x5e, 0x87, 0x52, 0x90, 0x38, 0xc2, 0x06, 0x0a, 0xe4, 0xa4,
  51879. 0xc5, 0x17, 0x96, 0x47, 0x56, 0x4c, 0xc8, 0xfe, 0x13, 0x0b, 0x46, 0x84, 0x25, 0xfa, 0x29, 0x70,
  51880. 0x4e, 0x0b, 0x86, 0x02, 0xbb, 0x9c, 0x7e, 0xcc, 0xb3, 0xce, 0x64, 0xaa, 0xae, 0xab, 0x09, 0xd5,
  51881. 0xf5, 0xe3, 0xbd, 0x88, 0xf4, 0x56, 0x5a, 0xff, 0xad, 0x3c, 0x4c, 0x98, 0xce, 0x23, 0xa7, 0x30,
  51882. 0x04, 0x6b, 0x30, 0x12, 0x0a, 0x4f, 0xa5, 0x5c, 0xb6, 0x85, 0x75, 0x72, 0x12, 0x63, 0xf3, 0x29,
  51883. 0xe1, 0x9b, 0x24, 0x89, 0xa4, 0xba, 0x40, 0xe5, 0x1f, 0xa2, 0x0b, 0x54, 0x3f, 0xff, 0x9d, 0xc2,
  51884. 0x49, 0xf8, 0xef, 0xd8, 0x5f, 0x63, 0x57, 0x8d, 0x5e, 0x7e, 0x0a, 0x5c, 0xc8, 0x75, 0xf3, 0x52,
  51885. 0xb2, 0x7b, 0xac, 0x2c, 0xd1, 0xa9, 0x0c, 0x6e, 0xe4, 0xe7, 0x2d, 0xb8, 0x98, 0xf2, 0x55, 0x1a,
  51886. 0x6b, 0xf2, 0x0c, 0x14, 0x9d, 0x4e, 0xd3, 0x55, 0x7b, 0x59, 0x7b, 0xc6, 0x5a, 0x10, 0xe5, 0x58,
  51887. 0x61, 0xa0, 0x25, 0x98, 0x26, 0xf7, 0xdb, 0x2e, 0x7f, 0x47, 0xd4, 0x6d, 0x1c, 0xf3, 0x3c, 0xb8,
  51888. 0xed, 0x72, 0x12, 0x88, 0xbb, 0xf1, 0x95, 0xfb, 0x77, 0x3e, 0xd3, 0xfd, 0xfb, 0x1f, 0x5a, 0x30,
  51889. 0xaa, 0xbc, 0x52, 0x1e, 0xfa, 0x68, 0x7f, 0x87, 0x39, 0xda, 0x8f, 0xf5, 0x18, 0xed, 0x8c, 0x61,
  51890. 0xfe, 0x3b, 0x39, 0xd5, 0xdf, 0x9a, 0x1f, 0x44, 0x03, 0xb0, 0x3c, 0x2f, 0x43, 0xb1, 0x1d, 0xf8,
  51891. 0x91, 0xdf, 0xf0, 0x5b, 0x82, 0xe3, 0xb9, 0x10, 0x47, 0x27, 0xe0, 0xe5, 0x47, 0xda, 0x6f, 0xac,
  51892. 0xb0, 0xd9, 0xe8, 0xf9, 0x41, 0x24, 0xb8, 0x8c, 0x78, 0xf4, 0xfc, 0x20, 0xc2, 0x0c, 0x82, 0x9a,
  51893. 0x00, 0x91, 0x13, 0x6c, 0x91, 0x88, 0x96, 0x89, 0x40, 0x27, 0xd9, 0x87, 0x47, 0x27, 0x72, 0x5b,
  51894. 0x73, 0xae, 0x17, 0x85, 0x51, 0x30, 0x57, 0xf5, 0xa2, 0xdb, 0x01, 0x17, 0xa0, 0xb4, 0x70, 0x03,
  51895. 0x8a, 0x16, 0xd6, 0xe8, 0x4a, 0x9f, 0x50, 0xd6, 0xc6, 0x90, 0xf9, 0x20, 0xbe, 0x26, 0xca, 0xb1,
  51896. 0xc2, 0xb0, 0x5f, 0x62, 0x57, 0x09, 0x1b, 0xa0, 0xe3, 0x45, 0x02, 0xf8, 0x7a, 0x51, 0x0d, 0x2d,
  51897. 0x7b, 0x0d, 0xab, 0xe8, 0xf1, 0x06, 0x7a, 0x9f, 0xdc, 0xb4, 0x61, 0xdd, 0xdf, 0x26, 0x0e, 0x4a,
  51898. 0x80, 0xbe, 0xb3, 0xcb, 0x4e, 0xe2, 0xd9, 0x3e, 0x57, 0xc0, 0x31, 0x2c, 0x23, 0x58, 0xc0, 0x6d,
  51899. 0x16, 0x8e, 0xb8, 0x5a, 0x13, 0x8b, 0x5c, 0x0b, 0xb8, 0x2d, 0x00, 0x38, 0xc6, 0x41, 0xf3, 0x42,
  51900. 0xfc, 0x2e, 0x18, 0x69, 0xf7, 0xa4, 0xf8, 0x2d, 0x3f, 0x5f, 0x93, 0xbf, 0x9f, 0x83, 0x51, 0x95,
  51901. 0x7e, 0xaf, 0xc6, 0xb3, 0x98, 0x89, 0xb0, 0x2f, 0xcb, 0x71, 0x31, 0xd6, 0x71, 0xd0, 0x3a, 0x4c,
  51902. 0x86, 0x5c, 0xf7, 0xa2, 0xa2, 0xfb, 0x71, 0x1d, 0xd6, 0x27, 0xa5, 0x7d, 0x45, 0xdd, 0x04, 0x1f,
  51903. 0xb1, 0x22, 0x7e, 0x74, 0x48, 0xc7, 0xce, 0x24, 0x09, 0xf4, 0x1a, 0x4c, 0xb4, 0xf4, 0x44, 0xf7,
  51904. 0x35, 0xa1, 0xe2, 0x52, 0x66, 0xca, 0x46, 0x1a, 0xfc, 0x1a, 0x4e, 0x60, 0x53, 0x4e, 0x49, 0x2f,
  51905. 0x11, 0x11, 0x29, 0x1d, 0x6f, 0x8b, 0x84, 0x22, 0x79, 0x18, 0xe3, 0x94, 0x6e, 0x65, 0xe0, 0xe0,
  51906. 0xcc, 0xda, 0xe8, 0x65, 0x18, 0x93, 0x9f, 0xaf, 0xb9, 0x2d, 0xc7, 0xc6, 0xf0, 0x1a, 0x0c, 0x1b,
  51907. 0x98, 0xe8, 0x1e, 0x9c, 0x93, 0xff, 0xd7, 0x03, 0x67, 0x73, 0xd3, 0x6d, 0x08, 0xaf, 0x71, 0xee,
  51908. 0x11, 0xb4, 0x20, 0x5d, 0x8c, 0x96, 0xd3, 0x90, 0x8e, 0x0e, 0xca, 0x97, 0xc5, 0xa8, 0xa5, 0xc2,
  51909. 0xd9, 0x24, 0xa6, 0xd3, 0x47, 0xab, 0x70, 0x66, 0x9b, 0x38, 0xad, 0x68, 0x7b, 0x69, 0x9b, 0x34,
  51910. 0x76, 0xe4, 0x26, 0x62, 0xce, 0xd0, 0x9a, 0x09, 0xf9, 0x8d, 0x6e, 0x14, 0x9c, 0x56, 0x0f, 0xbd,
  51911. 0x0d, 0x33, 0xed, 0xce, 0x46, 0xcb, 0x0d, 0xb7, 0xd7, 0xfc, 0x88, 0x99, 0x74, 0xa8, 0xec, 0x75,
  51912. 0xc2, 0x6b, 0x5a, 0x39, 0x82, 0xd7, 0x32, 0xf0, 0x70, 0x26, 0x05, 0xf4, 0x3e, 0x9c, 0x4b, 0x2c,
  51913. 0x06, 0xe1, 0xc3, 0x39, 0x91, 0x1d, 0xdf, 0xb7, 0x9e, 0x56, 0x41, 0xf8, 0x64, 0xa6, 0x81, 0x70,
  51914. 0x7a, 0x13, 0x1f, 0xcc, 0xd0, 0xe7, 0x3d, 0x5a, 0x59, 0x63, 0xca, 0xd0, 0x3b, 0x30, 0xa6, 0xaf,
  51915. 0x22, 0x71, 0xc1, 0x5c, 0x49, 0xe7, 0x59, 0xb4, 0xd5, 0xc6, 0x59, 0x3a, 0xb5, 0xa2, 0x74, 0x18,
  51916. 0x36, 0x28, 0xda, 0x04, 0xd2, 0xbf, 0x0f, 0xdd, 0x82, 0x62, 0xa3, 0xe5, 0x12, 0x2f, 0xaa, 0xd6,
  51917. 0x7a, 0x05, 0x19, 0x59, 0x12, 0x38, 0x62, 0xc0, 0x44, 0x40, 0x54, 0x5e, 0x86, 0x15, 0x05, 0xfb,
  51918. 0xd7, 0x72, 0x50, 0xee, 0x13, 0x5d, 0x37, 0xa1, 0x8f, 0xb6, 0x06, 0xd2, 0x47, 0x2f, 0xc8, 0x5c,
  51919. 0x7c, 0x6b, 0x09, 0x21, 0x3d, 0x91, 0x67, 0x2f, 0x16, 0xd5, 0x93, 0xf8, 0x03, 0xdb, 0x07, 0xeb,
  51920. 0x2a, 0xed, 0x42, 0x5f, 0x0b, 0x77, 0xe3, 0x29, 0x6b, 0x68, 0x70, 0x41, 0x24, 0xf3, 0x59, 0xc2,
  51921. 0xfe, 0x5a, 0x0e, 0xce, 0xa9, 0x21, 0xfc, 0xe6, 0x1d, 0xb8, 0x3b, 0xdd, 0x03, 0x77, 0x02, 0x8f,
  51922. 0x3a, 0xf6, 0x6d, 0x18, 0xe6, 0x41, 0x5a, 0x06, 0x60, 0x80, 0x9e, 0x30, 0x23, 0x7a, 0xa9, 0x6b,
  51923. 0xda, 0x88, 0xea, 0xf5, 0x97, 0x2d, 0x98, 0x5c, 0x5f, 0xaa, 0xd5, 0xfd, 0xc6, 0x0e, 0x89, 0x16,
  51924. 0x38, 0xc3, 0x8a, 0x05, 0xff, 0x63, 0x3d, 0x20, 0x5f, 0x93, 0xc6, 0x31, 0x5d, 0x86, 0xc2, 0xb6,
  51925. 0x1f, 0x46, 0xc9, 0x17, 0xdf, 0x1b, 0x7e, 0x18, 0x61, 0x06, 0xb1, 0x7f, 0xc7, 0x82, 0x21, 0x96,
  51926. 0x41, 0xb6, 0x5f, 0x5a, 0xe3, 0x41, 0xbe, 0x0b, 0xbd, 0x08, 0xc3, 0x64, 0x73, 0x93, 0x34, 0x22,
  51927. 0x31, 0xab, 0xd2, 0x6d, 0x75, 0x78, 0x99, 0x95, 0xd2, 0x4b, 0x9f, 0x35, 0xc6, 0xff, 0x62, 0x81,
  51928. 0x8c, 0xde, 0x84, 0x52, 0xe4, 0xee, 0x92, 0x85, 0x66, 0x53, 0xbc, 0x99, 0x3d, 0x80, 0x97, 0xf0,
  51929. 0xba, 0x24, 0x80, 0x63, 0x5a, 0xf6, 0x57, 0x72, 0x00, 0x71, 0xa8, 0x81, 0x7e, 0x9f, 0xb8, 0xd8,
  51930. 0xf5, 0x9a, 0x72, 0x25, 0xe5, 0x35, 0x05, 0xc5, 0x04, 0x53, 0x9e, 0x52, 0xd4, 0x30, 0xe5, 0x07,
  51931. 0x1a, 0xa6, 0xc2, 0x71, 0x86, 0x69, 0x09, 0xa6, 0xe3, 0x50, 0x09, 0x66, 0xdc, 0x18, 0x26, 0xa4,
  51932. 0xac, 0x27, 0x81, 0xb8, 0x1b, 0xdf, 0x26, 0x70, 0x59, 0x46, 0xf0, 0x94, 0x77, 0x0d, 0x33, 0xc9,
  51933. 0x3c, 0x46, 0x86, 0xeb, 0xf8, 0xb9, 0x28, 0x97, 0xf9, 0x5c, 0xf4, 0xe3, 0x16, 0x9c, 0x4d, 0xb6,
  51934. 0xc3, 0x7c, 0xe4, 0xbe, 0x6c, 0xc1, 0x39, 0xf6, 0x68, 0xc6, 0x5a, 0xed, 0x7e, 0xa2, 0x7b, 0x21,
  51935. 0x3d, 0x84, 0x44, 0xef, 0x1e, 0xc7, 0xfe, 0xd1, 0xab, 0x69, 0xa4, 0x71, 0x7a, 0x8b, 0xf6, 0x97,
  51936. 0x2d, 0x38, 0x9f, 0x99, 0xb8, 0x08, 0x5d, 0x85, 0xa2, 0xd3, 0x76, 0xb9, 0x46, 0x4a, 0xec, 0x77,
  51937. 0x26, 0x3d, 0xd6, 0xaa, 0x5c, 0x1f, 0xa5, 0xa0, 0x2a, 0xa1, 0x62, 0x2e, 0x33, 0xa1, 0x62, 0xdf,
  51938. 0xfc, 0x88, 0xf6, 0xf7, 0x5b, 0x20, 0xdc, 0xa2, 0x06, 0x38, 0x64, 0xde, 0x92, 0xf9, 0x68, 0x8d,
  51939. 0xe0, 0xe9, 0x97, 0xb3, 0xfd, 0xc4, 0x44, 0xc8, 0x74, 0x75, 0xa9, 0x1b, 0x81, 0xd2, 0x0d, 0x5a,
  51940. 0x76, 0x13, 0x04, 0xb4, 0x42, 0x98, 0xce, 0xaa, 0x7f, 0x6f, 0xae, 0x01, 0x34, 0x19, 0xae, 0x96,
  51941. 0x95, 0x52, 0x5d, 0x21, 0x15, 0x05, 0xc1, 0x1a, 0x96, 0xfd, 0x6f, 0x73, 0x30, 0x2a, 0x83, 0x75,
  51942. 0x77, 0xbc, 0x41, 0x24, 0xcb, 0x63, 0x65, 0xef, 0x61, 0x69, 0x5c, 0x29, 0xe1, 0x5a, 0x2c, 0x90,
  51943. 0xc7, 0x69, 0x5c, 0x25, 0x00, 0xc7, 0x38, 0xe8, 0x29, 0x18, 0x09, 0x3b, 0x1b, 0x0c, 0x3d, 0xe1,
  51944. 0xc4, 0x53, 0xe7, 0xc5, 0x58, 0xc2, 0xd1, 0xe7, 0x60, 0x8a, 0xd7, 0x0b, 0xfc, 0xb6, 0xb3, 0xc5,
  51945. 0xd5, 0x9f, 0x43, 0xca, 0xfb, 0x76, 0x6a, 0x35, 0x01, 0x3b, 0x3a, 0x28, 0x9f, 0x4d, 0x96, 0x31,
  51946. 0xc5, 0x79, 0x17, 0x15, 0xf6, 0x18, 0xcf, 0x1b, 0xa1, 0xcb, 0xb4, 0xeb, 0x0d, 0x3f, 0x06, 0x61,
  51947. 0x1d, 0xcf, 0x7e, 0x07, 0x50, 0x77, 0xd8, 0x72, 0xf4, 0x3a, 0xb7, 0xc0, 0x72, 0x03, 0xd2, 0xec,
  51948. 0xa5, 0x48, 0xd7, 0x7d, 0x4c, 0xa5, 0xfd, 0x3d, 0xaf, 0x85, 0x55, 0x7d, 0xfb, 0xaf, 0xe6, 0x61,
  51949. 0x2a, 0xe9, 0x71, 0x88, 0x6e, 0xc0, 0x30, 0xbf, 0x23, 0x05, 0xf9, 0x1e, 0xef, 0xb4, 0x9a, 0x9f,
  51950. 0x22, 0x3b, 0x2d, 0xc4, 0x35, 0x2b, 0xea, 0xa3, 0xb7, 0x61, 0xb4, 0xe9, 0xdf, 0xf3, 0xee, 0x39,
  51951. 0x41, 0x73, 0xa1, 0x56, 0x15, 0xcb, 0x39, 0x95, 0xd5, 0xae, 0xc4, 0x68, 0xba, 0xef, 0x23, 0x7b,
  51952. 0x93, 0x88, 0x41, 0x58, 0x27, 0x87, 0xd6, 0x59, 0x28, 0xc6, 0x4d, 0x77, 0x6b, 0xd5, 0x69, 0xf7,
  51953. 0x32, 0xc7, 0x5d, 0x92, 0x48, 0x1a, 0xe5, 0x71, 0x11, 0xaf, 0x91, 0x03, 0x70, 0x4c, 0x08, 0x7d,
  51954. 0x37, 0x9c, 0x09, 0x33, 0xb4, 0x73, 0x59, 0x59, 0x2c, 0x7a, 0x29, 0xac, 0x16, 0x1f, 0xa5, 0x42,
  51955. 0x50, 0x9a, 0x1e, 0x2f, 0xad, 0x19, 0xfb, 0xd7, 0xcf, 0x80, 0xb1, 0x89, 0x8d, 0xa4, 0x46, 0xd6,
  51956. 0x09, 0x25, 0x35, 0xc2, 0x50, 0x24, 0xbb, 0xed, 0x68, 0xbf, 0xe2, 0x06, 0xbd, 0x92, 0xee, 0x2d,
  51957. 0x0b, 0x9c, 0x6e, 0x9a, 0x12, 0x82, 0x15, 0x9d, 0xf4, 0xcc, 0x53, 0xf9, 0x0f, 0x31, 0xf3, 0x54,
  51958. 0xe1, 0x14, 0x33, 0x4f, 0xad, 0xc1, 0xc8, 0x96, 0x1b, 0x61, 0xd2, 0xf6, 0x05, 0x77, 0x9a, 0xba,
  51959. 0x0e, 0xaf, 0x73, 0x94, 0xee, 0x1c, 0x27, 0x02, 0x80, 0x25, 0x11, 0xf4, 0xba, 0xda, 0x81, 0xc3,
  51960. 0xd9, 0xc2, 0x5d, 0xf7, 0x83, 0x62, 0xea, 0x1e, 0x14, 0xf9, 0xa5, 0x46, 0x1e, 0x34, 0xbf, 0xd4,
  51961. 0x8a, 0xcc, 0x0a, 0x55, 0xcc, 0xb6, 0x9d, 0x67, 0x49, 0x9f, 0xfa, 0xe4, 0x82, 0xba, 0xab, 0x67,
  51962. 0xd2, 0x2a, 0x65, 0x9f, 0x04, 0x2a, 0x49, 0xd6, 0x80, 0xf9, 0xb3, 0xbe, 0xdf, 0x82, 0x73, 0xed,
  51963. 0xb4, 0xa4, 0x72, 0x22, 0x97, 0xd3, 0x8b, 0x03, 0x67, 0xcd, 0x33, 0x1a, 0x64, 0x52, 0x7e, 0x2a,
  51964. 0x1a, 0x4e, 0x6f, 0x8e, 0x0e, 0x74, 0xb0, 0xd1, 0x14, 0x09, 0xa0, 0x9e, 0xc8, 0x48, 0xc4, 0xd5,
  51965. 0x23, 0xfd, 0xd6, 0x7a, 0x4a, 0xd2, 0xa7, 0x8f, 0x67, 0x25, 0x7d, 0x1a, 0x38, 0xd5, 0xd3, 0xeb,
  51966. 0x2a, 0x05, 0xd7, 0x78, 0xf6, 0x52, 0xe2, 0x09, 0xb6, 0xfa, 0x26, 0xde, 0x7a, 0x5d, 0x25, 0xde,
  51967. 0xea, 0x11, 0x92, 0x8e, 0xa7, 0xd5, 0xea, 0x9b, 0x6e, 0x4b, 0x4b, 0x99, 0x35, 0x79, 0x32, 0x29,
  51968. 0xb3, 0x8c, 0xab, 0x86, 0x67, 0x6d, 0x7a, 0xba, 0xcf, 0x55, 0x63, 0xd0, 0xed, 0x7d, 0xd9, 0xf0,
  51969. 0xf4, 0x60, 0xd3, 0x0f, 0x94, 0x1e, 0xec, 0xae, 0x9e, 0x6e, 0x0b, 0xf5, 0xc9, 0x27, 0x45, 0x91,
  51970. 0x06, 0x4c, 0xb2, 0x75, 0x57, 0xbf, 0x00, 0xcf, 0x64, 0xd3, 0x55, 0xf7, 0x5c, 0x37, 0xdd, 0xd4,
  51971. 0x2b, 0xb0, 0x2b, 0x79, 0xd7, 0xd9, 0xd3, 0x49, 0xde, 0x75, 0xee, 0xc4, 0x93, 0x77, 0x3d, 0x72,
  51972. 0x0a, 0xc9, 0xbb, 0x1e, 0xfd, 0x50, 0x93, 0x77, 0xcd, 0x3c, 0x84, 0xe4, 0x5d, 0x6b, 0x71, 0xf2,
  51973. 0xae, 0xf3, 0xd9, 0x53, 0x92, 0x62, 0xd0, 0x9b, 0x91, 0xb2, 0xeb, 0x2e, 0x7b, 0xd5, 0xe7, 0x21,
  51974. 0x31, 0x44, 0xcc, 0xbc, 0xf4, 0x44, 0xc5, 0x69, 0x71, 0x33, 0xf8, 0x94, 0x28, 0x10, 0x8e, 0x49,
  51975. 0x51, 0xba, 0x71, 0x0a, 0xaf, 0xc7, 0x7a, 0xe8, 0x71, 0xd3, 0x34, 0x64, 0x3d, 0x12, 0x77, 0xbd,
  51976. 0xc6, 0x13, 0x77, 0x5d, 0xc8, 0x3e, 0xc9, 0x93, 0xd7, 0x9d, 0x99, 0xae, 0xeb, 0x07, 0x72, 0x70,
  51977. 0xa9, 0xf7, 0xbe, 0x88, 0xd5, 0x73, 0xb5, 0xf8, 0x39, 0x29, 0xa1, 0x9e, 0xe3, 0xb2, 0x55, 0x8c,
  51978. 0x35, 0x70, 0xdc, 0xa1, 0xeb, 0x30, 0xad, 0x2c, 0x81, 0x5b, 0x6e, 0x63, 0x5f, 0x4b, 0x80, 0xac,
  51979. 0x3c, 0x1e, 0xeb, 0x49, 0x04, 0xdc, 0x5d, 0x07, 0x2d, 0xc0, 0xa4, 0x51, 0x58, 0xad, 0x08, 0x19,
  51980. 0x4a, 0xe9, 0x03, 0xeb, 0x26, 0x18, 0x27, 0xf1, 0xed, 0x9f, 0xb6, 0xe0, 0xd1, 0x8c, 0xbc, 0x18,
  51981. 0x03, 0x87, 0xd5, 0xd9, 0x84, 0xc9, 0xb6, 0x59, 0xb5, 0x4f, 0xf4, 0x2d, 0x23, 0xfb, 0x86, 0xea,
  51982. 0x6b, 0x02, 0x80, 0x93, 0x44, 0x17, 0xaf, 0xfe, 0xe6, 0xef, 0x5d, 0xfa, 0xd8, 0x6f, 0xfd, 0xde,
  51983. 0xa5, 0x8f, 0xfd, 0xf6, 0xef, 0x5d, 0xfa, 0xd8, 0x5f, 0x38, 0xbc, 0x64, 0xfd, 0xe6, 0xe1, 0x25,
  51984. 0xeb, 0xb7, 0x0e, 0x2f, 0x59, 0xbf, 0x7d, 0x78, 0xc9, 0xfa, 0xdd, 0xc3, 0x4b, 0xd6, 0x57, 0x7e,
  51985. 0xff, 0xd2, 0xc7, 0xde, 0xca, 0xed, 0x3d, 0xf7, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x9b,
  51986. 0xc3, 0x9b, 0xb7, 0xea, 0x00, 0x00,
  51987. }