generated.pb.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129
  1. /*
  2. Copyright 2018 The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo.
  14. // source: k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto
  15. // DO NOT EDIT!
  16. /*
  17. Package v1 is a generated protocol buffer package.
  18. It is generated from these files:
  19. k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto
  20. It has these top-level messages:
  21. AWSElasticBlockStoreVolumeSource
  22. Affinity
  23. AttachedVolume
  24. AvoidPods
  25. AzureDiskVolumeSource
  26. AzureFilePersistentVolumeSource
  27. AzureFileVolumeSource
  28. Binding
  29. CSIPersistentVolumeSource
  30. Capabilities
  31. CephFSPersistentVolumeSource
  32. CephFSVolumeSource
  33. CinderVolumeSource
  34. ClientIPConfig
  35. ComponentCondition
  36. ComponentStatus
  37. ComponentStatusList
  38. ConfigMap
  39. ConfigMapEnvSource
  40. ConfigMapKeySelector
  41. ConfigMapList
  42. ConfigMapProjection
  43. ConfigMapVolumeSource
  44. Container
  45. ContainerImage
  46. ContainerPort
  47. ContainerState
  48. ContainerStateRunning
  49. ContainerStateTerminated
  50. ContainerStateWaiting
  51. ContainerStatus
  52. DaemonEndpoint
  53. DeleteOptions
  54. DownwardAPIProjection
  55. DownwardAPIVolumeFile
  56. DownwardAPIVolumeSource
  57. EmptyDirVolumeSource
  58. EndpointAddress
  59. EndpointPort
  60. EndpointSubset
  61. Endpoints
  62. EndpointsList
  63. EnvFromSource
  64. EnvVar
  65. EnvVarSource
  66. Event
  67. EventList
  68. EventSeries
  69. EventSource
  70. ExecAction
  71. FCVolumeSource
  72. FlexPersistentVolumeSource
  73. FlexVolumeSource
  74. FlockerVolumeSource
  75. GCEPersistentDiskVolumeSource
  76. GitRepoVolumeSource
  77. GlusterfsVolumeSource
  78. HTTPGetAction
  79. HTTPHeader
  80. Handler
  81. HostAlias
  82. HostPathVolumeSource
  83. ISCSIPersistentVolumeSource
  84. ISCSIVolumeSource
  85. KeyToPath
  86. Lifecycle
  87. LimitRange
  88. LimitRangeItem
  89. LimitRangeList
  90. LimitRangeSpec
  91. List
  92. ListOptions
  93. LoadBalancerIngress
  94. LoadBalancerStatus
  95. LocalObjectReference
  96. LocalVolumeSource
  97. NFSVolumeSource
  98. Namespace
  99. NamespaceList
  100. NamespaceSpec
  101. NamespaceStatus
  102. Node
  103. NodeAddress
  104. NodeAffinity
  105. NodeCondition
  106. NodeConfigSource
  107. NodeDaemonEndpoints
  108. NodeList
  109. NodeProxyOptions
  110. NodeResources
  111. NodeSelector
  112. NodeSelectorRequirement
  113. NodeSelectorTerm
  114. NodeSpec
  115. NodeStatus
  116. NodeSystemInfo
  117. ObjectFieldSelector
  118. ObjectMeta
  119. ObjectReference
  120. PersistentVolume
  121. PersistentVolumeClaim
  122. PersistentVolumeClaimCondition
  123. PersistentVolumeClaimList
  124. PersistentVolumeClaimSpec
  125. PersistentVolumeClaimStatus
  126. PersistentVolumeClaimVolumeSource
  127. PersistentVolumeList
  128. PersistentVolumeSource
  129. PersistentVolumeSpec
  130. PersistentVolumeStatus
  131. PhotonPersistentDiskVolumeSource
  132. Pod
  133. PodAffinity
  134. PodAffinityTerm
  135. PodAntiAffinity
  136. PodAttachOptions
  137. PodCondition
  138. PodDNSConfig
  139. PodDNSConfigOption
  140. PodExecOptions
  141. PodList
  142. PodLogOptions
  143. PodPortForwardOptions
  144. PodProxyOptions
  145. PodSecurityContext
  146. PodSignature
  147. PodSpec
  148. PodStatus
  149. PodStatusResult
  150. PodTemplate
  151. PodTemplateList
  152. PodTemplateSpec
  153. PortworxVolumeSource
  154. Preconditions
  155. PreferAvoidPodsEntry
  156. PreferredSchedulingTerm
  157. Probe
  158. ProjectedVolumeSource
  159. QuobyteVolumeSource
  160. RBDPersistentVolumeSource
  161. RBDVolumeSource
  162. RangeAllocation
  163. ReplicationController
  164. ReplicationControllerCondition
  165. ReplicationControllerList
  166. ReplicationControllerSpec
  167. ReplicationControllerStatus
  168. ResourceFieldSelector
  169. ResourceQuota
  170. ResourceQuotaList
  171. ResourceQuotaSpec
  172. ResourceQuotaStatus
  173. ResourceRequirements
  174. SELinuxOptions
  175. ScaleIOPersistentVolumeSource
  176. ScaleIOVolumeSource
  177. Secret
  178. SecretEnvSource
  179. SecretKeySelector
  180. SecretList
  181. SecretProjection
  182. SecretReference
  183. SecretVolumeSource
  184. SecurityContext
  185. SerializedReference
  186. Service
  187. ServiceAccount
  188. ServiceAccountList
  189. ServiceList
  190. ServicePort
  191. ServiceProxyOptions
  192. ServiceSpec
  193. ServiceStatus
  194. SessionAffinityConfig
  195. StorageOSPersistentVolumeSource
  196. StorageOSVolumeSource
  197. Sysctl
  198. TCPSocketAction
  199. Taint
  200. Toleration
  201. Volume
  202. VolumeDevice
  203. VolumeMount
  204. VolumeNodeAffinity
  205. VolumeProjection
  206. VolumeSource
  207. VsphereVirtualDiskVolumeSource
  208. WeightedPodAffinityTerm
  209. */
  210. package v1
  211. import proto "github.com/gogo/protobuf/proto"
  212. import fmt "fmt"
  213. import math "math"
  214. import k8s_io_apimachinery_pkg_api_resource "k8s.io/apimachinery/pkg/api/resource"
  215. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  216. import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime"
  217. import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types"
  218. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  219. import strings "strings"
  220. import reflect "reflect"
  221. import io "io"
  222. // Reference imports to suppress errors if they are not otherwise used.
  223. var _ = proto.Marshal
  224. var _ = fmt.Errorf
  225. var _ = math.Inf
  226. // This is a compile-time assertion to ensure that this generated file
  227. // is compatible with the proto package it is being compiled against.
  228. // A compilation error at this line likely means your copy of the
  229. // proto package needs to be updated.
  230. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  231. func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} }
  232. func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {}
  233. func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) {
  234. return fileDescriptorGenerated, []int{0}
  235. }
  236. func (m *Affinity) Reset() { *m = Affinity{} }
  237. func (*Affinity) ProtoMessage() {}
  238. func (*Affinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  239. func (m *AttachedVolume) Reset() { *m = AttachedVolume{} }
  240. func (*AttachedVolume) ProtoMessage() {}
  241. func (*AttachedVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  242. func (m *AvoidPods) Reset() { *m = AvoidPods{} }
  243. func (*AvoidPods) ProtoMessage() {}
  244. func (*AvoidPods) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  245. func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} }
  246. func (*AzureDiskVolumeSource) ProtoMessage() {}
  247. func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  248. func (m *AzureFilePersistentVolumeSource) Reset() { *m = AzureFilePersistentVolumeSource{} }
  249. func (*AzureFilePersistentVolumeSource) ProtoMessage() {}
  250. func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) {
  251. return fileDescriptorGenerated, []int{5}
  252. }
  253. func (m *AzureFileVolumeSource) Reset() { *m = AzureFileVolumeSource{} }
  254. func (*AzureFileVolumeSource) ProtoMessage() {}
  255. func (*AzureFileVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  256. func (m *Binding) Reset() { *m = Binding{} }
  257. func (*Binding) ProtoMessage() {}
  258. func (*Binding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  259. func (m *CSIPersistentVolumeSource) Reset() { *m = CSIPersistentVolumeSource{} }
  260. func (*CSIPersistentVolumeSource) ProtoMessage() {}
  261. func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int) {
  262. return fileDescriptorGenerated, []int{8}
  263. }
  264. func (m *Capabilities) Reset() { *m = Capabilities{} }
  265. func (*Capabilities) ProtoMessage() {}
  266. func (*Capabilities) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  267. func (m *CephFSPersistentVolumeSource) Reset() { *m = CephFSPersistentVolumeSource{} }
  268. func (*CephFSPersistentVolumeSource) ProtoMessage() {}
  269. func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int) {
  270. return fileDescriptorGenerated, []int{10}
  271. }
  272. func (m *CephFSVolumeSource) Reset() { *m = CephFSVolumeSource{} }
  273. func (*CephFSVolumeSource) ProtoMessage() {}
  274. func (*CephFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  275. func (m *CinderVolumeSource) Reset() { *m = CinderVolumeSource{} }
  276. func (*CinderVolumeSource) ProtoMessage() {}
  277. func (*CinderVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  278. func (m *ClientIPConfig) Reset() { *m = ClientIPConfig{} }
  279. func (*ClientIPConfig) ProtoMessage() {}
  280. func (*ClientIPConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  281. func (m *ComponentCondition) Reset() { *m = ComponentCondition{} }
  282. func (*ComponentCondition) ProtoMessage() {}
  283. func (*ComponentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  284. func (m *ComponentStatus) Reset() { *m = ComponentStatus{} }
  285. func (*ComponentStatus) ProtoMessage() {}
  286. func (*ComponentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  287. func (m *ComponentStatusList) Reset() { *m = ComponentStatusList{} }
  288. func (*ComponentStatusList) ProtoMessage() {}
  289. func (*ComponentStatusList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  290. func (m *ConfigMap) Reset() { *m = ConfigMap{} }
  291. func (*ConfigMap) ProtoMessage() {}
  292. func (*ConfigMap) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  293. func (m *ConfigMapEnvSource) Reset() { *m = ConfigMapEnvSource{} }
  294. func (*ConfigMapEnvSource) ProtoMessage() {}
  295. func (*ConfigMapEnvSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  296. func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} }
  297. func (*ConfigMapKeySelector) ProtoMessage() {}
  298. func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  299. func (m *ConfigMapList) Reset() { *m = ConfigMapList{} }
  300. func (*ConfigMapList) ProtoMessage() {}
  301. func (*ConfigMapList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
  302. func (m *ConfigMapProjection) Reset() { *m = ConfigMapProjection{} }
  303. func (*ConfigMapProjection) ProtoMessage() {}
  304. func (*ConfigMapProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
  305. func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} }
  306. func (*ConfigMapVolumeSource) ProtoMessage() {}
  307. func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
  308. func (m *Container) Reset() { *m = Container{} }
  309. func (*Container) ProtoMessage() {}
  310. func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
  311. func (m *ContainerImage) Reset() { *m = ContainerImage{} }
  312. func (*ContainerImage) ProtoMessage() {}
  313. func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
  314. func (m *ContainerPort) Reset() { *m = ContainerPort{} }
  315. func (*ContainerPort) ProtoMessage() {}
  316. func (*ContainerPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  317. func (m *ContainerState) Reset() { *m = ContainerState{} }
  318. func (*ContainerState) ProtoMessage() {}
  319. func (*ContainerState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  320. func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} }
  321. func (*ContainerStateRunning) ProtoMessage() {}
  322. func (*ContainerStateRunning) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
  323. func (m *ContainerStateTerminated) Reset() { *m = ContainerStateTerminated{} }
  324. func (*ContainerStateTerminated) ProtoMessage() {}
  325. func (*ContainerStateTerminated) Descriptor() ([]byte, []int) {
  326. return fileDescriptorGenerated, []int{28}
  327. }
  328. func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} }
  329. func (*ContainerStateWaiting) ProtoMessage() {}
  330. func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
  331. func (m *ContainerStatus) Reset() { *m = ContainerStatus{} }
  332. func (*ContainerStatus) ProtoMessage() {}
  333. func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
  334. func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} }
  335. func (*DaemonEndpoint) ProtoMessage() {}
  336. func (*DaemonEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} }
  337. func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
  338. func (*DeleteOptions) ProtoMessage() {}
  339. func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
  340. func (m *DownwardAPIProjection) Reset() { *m = DownwardAPIProjection{} }
  341. func (*DownwardAPIProjection) ProtoMessage() {}
  342. func (*DownwardAPIProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
  343. func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} }
  344. func (*DownwardAPIVolumeFile) ProtoMessage() {}
  345. func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
  346. func (m *DownwardAPIVolumeSource) Reset() { *m = DownwardAPIVolumeSource{} }
  347. func (*DownwardAPIVolumeSource) ProtoMessage() {}
  348. func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) {
  349. return fileDescriptorGenerated, []int{35}
  350. }
  351. func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} }
  352. func (*EmptyDirVolumeSource) ProtoMessage() {}
  353. func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
  354. func (m *EndpointAddress) Reset() { *m = EndpointAddress{} }
  355. func (*EndpointAddress) ProtoMessage() {}
  356. func (*EndpointAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
  357. func (m *EndpointPort) Reset() { *m = EndpointPort{} }
  358. func (*EndpointPort) ProtoMessage() {}
  359. func (*EndpointPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
  360. func (m *EndpointSubset) Reset() { *m = EndpointSubset{} }
  361. func (*EndpointSubset) ProtoMessage() {}
  362. func (*EndpointSubset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
  363. func (m *Endpoints) Reset() { *m = Endpoints{} }
  364. func (*Endpoints) ProtoMessage() {}
  365. func (*Endpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
  366. func (m *EndpointsList) Reset() { *m = EndpointsList{} }
  367. func (*EndpointsList) ProtoMessage() {}
  368. func (*EndpointsList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
  369. func (m *EnvFromSource) Reset() { *m = EnvFromSource{} }
  370. func (*EnvFromSource) ProtoMessage() {}
  371. func (*EnvFromSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
  372. func (m *EnvVar) Reset() { *m = EnvVar{} }
  373. func (*EnvVar) ProtoMessage() {}
  374. func (*EnvVar) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
  375. func (m *EnvVarSource) Reset() { *m = EnvVarSource{} }
  376. func (*EnvVarSource) ProtoMessage() {}
  377. func (*EnvVarSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} }
  378. func (m *Event) Reset() { *m = Event{} }
  379. func (*Event) ProtoMessage() {}
  380. func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} }
  381. func (m *EventList) Reset() { *m = EventList{} }
  382. func (*EventList) ProtoMessage() {}
  383. func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
  384. func (m *EventSeries) Reset() { *m = EventSeries{} }
  385. func (*EventSeries) ProtoMessage() {}
  386. func (*EventSeries) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} }
  387. func (m *EventSource) Reset() { *m = EventSource{} }
  388. func (*EventSource) ProtoMessage() {}
  389. func (*EventSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} }
  390. func (m *ExecAction) Reset() { *m = ExecAction{} }
  391. func (*ExecAction) ProtoMessage() {}
  392. func (*ExecAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} }
  393. func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} }
  394. func (*FCVolumeSource) ProtoMessage() {}
  395. func (*FCVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} }
  396. func (m *FlexPersistentVolumeSource) Reset() { *m = FlexPersistentVolumeSource{} }
  397. func (*FlexPersistentVolumeSource) ProtoMessage() {}
  398. func (*FlexPersistentVolumeSource) Descriptor() ([]byte, []int) {
  399. return fileDescriptorGenerated, []int{51}
  400. }
  401. func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} }
  402. func (*FlexVolumeSource) ProtoMessage() {}
  403. func (*FlexVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
  404. func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} }
  405. func (*FlockerVolumeSource) ProtoMessage() {}
  406. func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} }
  407. func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} }
  408. func (*GCEPersistentDiskVolumeSource) ProtoMessage() {}
  409. func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
  410. return fileDescriptorGenerated, []int{54}
  411. }
  412. func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} }
  413. func (*GitRepoVolumeSource) ProtoMessage() {}
  414. func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} }
  415. func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} }
  416. func (*GlusterfsVolumeSource) ProtoMessage() {}
  417. func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} }
  418. func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} }
  419. func (*HTTPGetAction) ProtoMessage() {}
  420. func (*HTTPGetAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} }
  421. func (m *HTTPHeader) Reset() { *m = HTTPHeader{} }
  422. func (*HTTPHeader) ProtoMessage() {}
  423. func (*HTTPHeader) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} }
  424. func (m *Handler) Reset() { *m = Handler{} }
  425. func (*Handler) ProtoMessage() {}
  426. func (*Handler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} }
  427. func (m *HostAlias) Reset() { *m = HostAlias{} }
  428. func (*HostAlias) ProtoMessage() {}
  429. func (*HostAlias) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} }
  430. func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} }
  431. func (*HostPathVolumeSource) ProtoMessage() {}
  432. func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} }
  433. func (m *ISCSIPersistentVolumeSource) Reset() { *m = ISCSIPersistentVolumeSource{} }
  434. func (*ISCSIPersistentVolumeSource) ProtoMessage() {}
  435. func (*ISCSIPersistentVolumeSource) Descriptor() ([]byte, []int) {
  436. return fileDescriptorGenerated, []int{62}
  437. }
  438. func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} }
  439. func (*ISCSIVolumeSource) ProtoMessage() {}
  440. func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} }
  441. func (m *KeyToPath) Reset() { *m = KeyToPath{} }
  442. func (*KeyToPath) ProtoMessage() {}
  443. func (*KeyToPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} }
  444. func (m *Lifecycle) Reset() { *m = Lifecycle{} }
  445. func (*Lifecycle) ProtoMessage() {}
  446. func (*Lifecycle) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} }
  447. func (m *LimitRange) Reset() { *m = LimitRange{} }
  448. func (*LimitRange) ProtoMessage() {}
  449. func (*LimitRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} }
  450. func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} }
  451. func (*LimitRangeItem) ProtoMessage() {}
  452. func (*LimitRangeItem) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} }
  453. func (m *LimitRangeList) Reset() { *m = LimitRangeList{} }
  454. func (*LimitRangeList) ProtoMessage() {}
  455. func (*LimitRangeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} }
  456. func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} }
  457. func (*LimitRangeSpec) ProtoMessage() {}
  458. func (*LimitRangeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{69} }
  459. func (m *List) Reset() { *m = List{} }
  460. func (*List) ProtoMessage() {}
  461. func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} }
  462. func (m *ListOptions) Reset() { *m = ListOptions{} }
  463. func (*ListOptions) ProtoMessage() {}
  464. func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{71} }
  465. func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} }
  466. func (*LoadBalancerIngress) ProtoMessage() {}
  467. func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{72} }
  468. func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} }
  469. func (*LoadBalancerStatus) ProtoMessage() {}
  470. func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{73} }
  471. func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} }
  472. func (*LocalObjectReference) ProtoMessage() {}
  473. func (*LocalObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{74} }
  474. func (m *LocalVolumeSource) Reset() { *m = LocalVolumeSource{} }
  475. func (*LocalVolumeSource) ProtoMessage() {}
  476. func (*LocalVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{75} }
  477. func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} }
  478. func (*NFSVolumeSource) ProtoMessage() {}
  479. func (*NFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{76} }
  480. func (m *Namespace) Reset() { *m = Namespace{} }
  481. func (*Namespace) ProtoMessage() {}
  482. func (*Namespace) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{77} }
  483. func (m *NamespaceList) Reset() { *m = NamespaceList{} }
  484. func (*NamespaceList) ProtoMessage() {}
  485. func (*NamespaceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{78} }
  486. func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} }
  487. func (*NamespaceSpec) ProtoMessage() {}
  488. func (*NamespaceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{79} }
  489. func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} }
  490. func (*NamespaceStatus) ProtoMessage() {}
  491. func (*NamespaceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{80} }
  492. func (m *Node) Reset() { *m = Node{} }
  493. func (*Node) ProtoMessage() {}
  494. func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{81} }
  495. func (m *NodeAddress) Reset() { *m = NodeAddress{} }
  496. func (*NodeAddress) ProtoMessage() {}
  497. func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{82} }
  498. func (m *NodeAffinity) Reset() { *m = NodeAffinity{} }
  499. func (*NodeAffinity) ProtoMessage() {}
  500. func (*NodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{83} }
  501. func (m *NodeCondition) Reset() { *m = NodeCondition{} }
  502. func (*NodeCondition) ProtoMessage() {}
  503. func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{84} }
  504. func (m *NodeConfigSource) Reset() { *m = NodeConfigSource{} }
  505. func (*NodeConfigSource) ProtoMessage() {}
  506. func (*NodeConfigSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{85} }
  507. func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} }
  508. func (*NodeDaemonEndpoints) ProtoMessage() {}
  509. func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{86} }
  510. func (m *NodeList) Reset() { *m = NodeList{} }
  511. func (*NodeList) ProtoMessage() {}
  512. func (*NodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{87} }
  513. func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} }
  514. func (*NodeProxyOptions) ProtoMessage() {}
  515. func (*NodeProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{88} }
  516. func (m *NodeResources) Reset() { *m = NodeResources{} }
  517. func (*NodeResources) ProtoMessage() {}
  518. func (*NodeResources) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{89} }
  519. func (m *NodeSelector) Reset() { *m = NodeSelector{} }
  520. func (*NodeSelector) ProtoMessage() {}
  521. func (*NodeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{90} }
  522. func (m *NodeSelectorRequirement) Reset() { *m = NodeSelectorRequirement{} }
  523. func (*NodeSelectorRequirement) ProtoMessage() {}
  524. func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) {
  525. return fileDescriptorGenerated, []int{91}
  526. }
  527. func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} }
  528. func (*NodeSelectorTerm) ProtoMessage() {}
  529. func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{92} }
  530. func (m *NodeSpec) Reset() { *m = NodeSpec{} }
  531. func (*NodeSpec) ProtoMessage() {}
  532. func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{93} }
  533. func (m *NodeStatus) Reset() { *m = NodeStatus{} }
  534. func (*NodeStatus) ProtoMessage() {}
  535. func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{94} }
  536. func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} }
  537. func (*NodeSystemInfo) ProtoMessage() {}
  538. func (*NodeSystemInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{95} }
  539. func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} }
  540. func (*ObjectFieldSelector) ProtoMessage() {}
  541. func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{96} }
  542. func (m *ObjectMeta) Reset() { *m = ObjectMeta{} }
  543. func (*ObjectMeta) ProtoMessage() {}
  544. func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{97} }
  545. func (m *ObjectReference) Reset() { *m = ObjectReference{} }
  546. func (*ObjectReference) ProtoMessage() {}
  547. func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{98} }
  548. func (m *PersistentVolume) Reset() { *m = PersistentVolume{} }
  549. func (*PersistentVolume) ProtoMessage() {}
  550. func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{99} }
  551. func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} }
  552. func (*PersistentVolumeClaim) ProtoMessage() {}
  553. func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{100} }
  554. func (m *PersistentVolumeClaimCondition) Reset() { *m = PersistentVolumeClaimCondition{} }
  555. func (*PersistentVolumeClaimCondition) ProtoMessage() {}
  556. func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) {
  557. return fileDescriptorGenerated, []int{101}
  558. }
  559. func (m *PersistentVolumeClaimList) Reset() { *m = PersistentVolumeClaimList{} }
  560. func (*PersistentVolumeClaimList) ProtoMessage() {}
  561. func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) {
  562. return fileDescriptorGenerated, []int{102}
  563. }
  564. func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} }
  565. func (*PersistentVolumeClaimSpec) ProtoMessage() {}
  566. func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) {
  567. return fileDescriptorGenerated, []int{103}
  568. }
  569. func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} }
  570. func (*PersistentVolumeClaimStatus) ProtoMessage() {}
  571. func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) {
  572. return fileDescriptorGenerated, []int{104}
  573. }
  574. func (m *PersistentVolumeClaimVolumeSource) Reset() { *m = PersistentVolumeClaimVolumeSource{} }
  575. func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {}
  576. func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) {
  577. return fileDescriptorGenerated, []int{105}
  578. }
  579. func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} }
  580. func (*PersistentVolumeList) ProtoMessage() {}
  581. func (*PersistentVolumeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{106} }
  582. func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} }
  583. func (*PersistentVolumeSource) ProtoMessage() {}
  584. func (*PersistentVolumeSource) Descriptor() ([]byte, []int) {
  585. return fileDescriptorGenerated, []int{107}
  586. }
  587. func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} }
  588. func (*PersistentVolumeSpec) ProtoMessage() {}
  589. func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{108} }
  590. func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} }
  591. func (*PersistentVolumeStatus) ProtoMessage() {}
  592. func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) {
  593. return fileDescriptorGenerated, []int{109}
  594. }
  595. func (m *PhotonPersistentDiskVolumeSource) Reset() { *m = PhotonPersistentDiskVolumeSource{} }
  596. func (*PhotonPersistentDiskVolumeSource) ProtoMessage() {}
  597. func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
  598. return fileDescriptorGenerated, []int{110}
  599. }
  600. func (m *Pod) Reset() { *m = Pod{} }
  601. func (*Pod) ProtoMessage() {}
  602. func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{111} }
  603. func (m *PodAffinity) Reset() { *m = PodAffinity{} }
  604. func (*PodAffinity) ProtoMessage() {}
  605. func (*PodAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{112} }
  606. func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} }
  607. func (*PodAffinityTerm) ProtoMessage() {}
  608. func (*PodAffinityTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{113} }
  609. func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} }
  610. func (*PodAntiAffinity) ProtoMessage() {}
  611. func (*PodAntiAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{114} }
  612. func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} }
  613. func (*PodAttachOptions) ProtoMessage() {}
  614. func (*PodAttachOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{115} }
  615. func (m *PodCondition) Reset() { *m = PodCondition{} }
  616. func (*PodCondition) ProtoMessage() {}
  617. func (*PodCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{116} }
  618. func (m *PodDNSConfig) Reset() { *m = PodDNSConfig{} }
  619. func (*PodDNSConfig) ProtoMessage() {}
  620. func (*PodDNSConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{117} }
  621. func (m *PodDNSConfigOption) Reset() { *m = PodDNSConfigOption{} }
  622. func (*PodDNSConfigOption) ProtoMessage() {}
  623. func (*PodDNSConfigOption) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{118} }
  624. func (m *PodExecOptions) Reset() { *m = PodExecOptions{} }
  625. func (*PodExecOptions) ProtoMessage() {}
  626. func (*PodExecOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{119} }
  627. func (m *PodList) Reset() { *m = PodList{} }
  628. func (*PodList) ProtoMessage() {}
  629. func (*PodList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{120} }
  630. func (m *PodLogOptions) Reset() { *m = PodLogOptions{} }
  631. func (*PodLogOptions) ProtoMessage() {}
  632. func (*PodLogOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{121} }
  633. func (m *PodPortForwardOptions) Reset() { *m = PodPortForwardOptions{} }
  634. func (*PodPortForwardOptions) ProtoMessage() {}
  635. func (*PodPortForwardOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{122} }
  636. func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} }
  637. func (*PodProxyOptions) ProtoMessage() {}
  638. func (*PodProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{123} }
  639. func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} }
  640. func (*PodSecurityContext) ProtoMessage() {}
  641. func (*PodSecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{124} }
  642. func (m *PodSignature) Reset() { *m = PodSignature{} }
  643. func (*PodSignature) ProtoMessage() {}
  644. func (*PodSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{125} }
  645. func (m *PodSpec) Reset() { *m = PodSpec{} }
  646. func (*PodSpec) ProtoMessage() {}
  647. func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} }
  648. func (m *PodStatus) Reset() { *m = PodStatus{} }
  649. func (*PodStatus) ProtoMessage() {}
  650. func (*PodStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} }
  651. func (m *PodStatusResult) Reset() { *m = PodStatusResult{} }
  652. func (*PodStatusResult) ProtoMessage() {}
  653. func (*PodStatusResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} }
  654. func (m *PodTemplate) Reset() { *m = PodTemplate{} }
  655. func (*PodTemplate) ProtoMessage() {}
  656. func (*PodTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} }
  657. func (m *PodTemplateList) Reset() { *m = PodTemplateList{} }
  658. func (*PodTemplateList) ProtoMessage() {}
  659. func (*PodTemplateList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} }
  660. func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} }
  661. func (*PodTemplateSpec) ProtoMessage() {}
  662. func (*PodTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} }
  663. func (m *PortworxVolumeSource) Reset() { *m = PortworxVolumeSource{} }
  664. func (*PortworxVolumeSource) ProtoMessage() {}
  665. func (*PortworxVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} }
  666. func (m *Preconditions) Reset() { *m = Preconditions{} }
  667. func (*Preconditions) ProtoMessage() {}
  668. func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} }
  669. func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} }
  670. func (*PreferAvoidPodsEntry) ProtoMessage() {}
  671. func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} }
  672. func (m *PreferredSchedulingTerm) Reset() { *m = PreferredSchedulingTerm{} }
  673. func (*PreferredSchedulingTerm) ProtoMessage() {}
  674. func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) {
  675. return fileDescriptorGenerated, []int{135}
  676. }
  677. func (m *Probe) Reset() { *m = Probe{} }
  678. func (*Probe) ProtoMessage() {}
  679. func (*Probe) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} }
  680. func (m *ProjectedVolumeSource) Reset() { *m = ProjectedVolumeSource{} }
  681. func (*ProjectedVolumeSource) ProtoMessage() {}
  682. func (*ProjectedVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} }
  683. func (m *QuobyteVolumeSource) Reset() { *m = QuobyteVolumeSource{} }
  684. func (*QuobyteVolumeSource) ProtoMessage() {}
  685. func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} }
  686. func (m *RBDPersistentVolumeSource) Reset() { *m = RBDPersistentVolumeSource{} }
  687. func (*RBDPersistentVolumeSource) ProtoMessage() {}
  688. func (*RBDPersistentVolumeSource) Descriptor() ([]byte, []int) {
  689. return fileDescriptorGenerated, []int{139}
  690. }
  691. func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} }
  692. func (*RBDVolumeSource) ProtoMessage() {}
  693. func (*RBDVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} }
  694. func (m *RangeAllocation) Reset() { *m = RangeAllocation{} }
  695. func (*RangeAllocation) ProtoMessage() {}
  696. func (*RangeAllocation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} }
  697. func (m *ReplicationController) Reset() { *m = ReplicationController{} }
  698. func (*ReplicationController) ProtoMessage() {}
  699. func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} }
  700. func (m *ReplicationControllerCondition) Reset() { *m = ReplicationControllerCondition{} }
  701. func (*ReplicationControllerCondition) ProtoMessage() {}
  702. func (*ReplicationControllerCondition) Descriptor() ([]byte, []int) {
  703. return fileDescriptorGenerated, []int{143}
  704. }
  705. func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} }
  706. func (*ReplicationControllerList) ProtoMessage() {}
  707. func (*ReplicationControllerList) Descriptor() ([]byte, []int) {
  708. return fileDescriptorGenerated, []int{144}
  709. }
  710. func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} }
  711. func (*ReplicationControllerSpec) ProtoMessage() {}
  712. func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) {
  713. return fileDescriptorGenerated, []int{145}
  714. }
  715. func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} }
  716. func (*ReplicationControllerStatus) ProtoMessage() {}
  717. func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) {
  718. return fileDescriptorGenerated, []int{146}
  719. }
  720. func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} }
  721. func (*ResourceFieldSelector) ProtoMessage() {}
  722. func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} }
  723. func (m *ResourceQuota) Reset() { *m = ResourceQuota{} }
  724. func (*ResourceQuota) ProtoMessage() {}
  725. func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} }
  726. func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} }
  727. func (*ResourceQuotaList) ProtoMessage() {}
  728. func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} }
  729. func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} }
  730. func (*ResourceQuotaSpec) ProtoMessage() {}
  731. func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} }
  732. func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} }
  733. func (*ResourceQuotaStatus) ProtoMessage() {}
  734. func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} }
  735. func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} }
  736. func (*ResourceRequirements) ProtoMessage() {}
  737. func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{152} }
  738. func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} }
  739. func (*SELinuxOptions) ProtoMessage() {}
  740. func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{153} }
  741. func (m *ScaleIOPersistentVolumeSource) Reset() { *m = ScaleIOPersistentVolumeSource{} }
  742. func (*ScaleIOPersistentVolumeSource) ProtoMessage() {}
  743. func (*ScaleIOPersistentVolumeSource) Descriptor() ([]byte, []int) {
  744. return fileDescriptorGenerated, []int{154}
  745. }
  746. func (m *ScaleIOVolumeSource) Reset() { *m = ScaleIOVolumeSource{} }
  747. func (*ScaleIOVolumeSource) ProtoMessage() {}
  748. func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{155} }
  749. func (m *Secret) Reset() { *m = Secret{} }
  750. func (*Secret) ProtoMessage() {}
  751. func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{156} }
  752. func (m *SecretEnvSource) Reset() { *m = SecretEnvSource{} }
  753. func (*SecretEnvSource) ProtoMessage() {}
  754. func (*SecretEnvSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{157} }
  755. func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} }
  756. func (*SecretKeySelector) ProtoMessage() {}
  757. func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{158} }
  758. func (m *SecretList) Reset() { *m = SecretList{} }
  759. func (*SecretList) ProtoMessage() {}
  760. func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{159} }
  761. func (m *SecretProjection) Reset() { *m = SecretProjection{} }
  762. func (*SecretProjection) ProtoMessage() {}
  763. func (*SecretProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{160} }
  764. func (m *SecretReference) Reset() { *m = SecretReference{} }
  765. func (*SecretReference) ProtoMessage() {}
  766. func (*SecretReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{161} }
  767. func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} }
  768. func (*SecretVolumeSource) ProtoMessage() {}
  769. func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{162} }
  770. func (m *SecurityContext) Reset() { *m = SecurityContext{} }
  771. func (*SecurityContext) ProtoMessage() {}
  772. func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{163} }
  773. func (m *SerializedReference) Reset() { *m = SerializedReference{} }
  774. func (*SerializedReference) ProtoMessage() {}
  775. func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{164} }
  776. func (m *Service) Reset() { *m = Service{} }
  777. func (*Service) ProtoMessage() {}
  778. func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{165} }
  779. func (m *ServiceAccount) Reset() { *m = ServiceAccount{} }
  780. func (*ServiceAccount) ProtoMessage() {}
  781. func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{166} }
  782. func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} }
  783. func (*ServiceAccountList) ProtoMessage() {}
  784. func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{167} }
  785. func (m *ServiceList) Reset() { *m = ServiceList{} }
  786. func (*ServiceList) ProtoMessage() {}
  787. func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{168} }
  788. func (m *ServicePort) Reset() { *m = ServicePort{} }
  789. func (*ServicePort) ProtoMessage() {}
  790. func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{169} }
  791. func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} }
  792. func (*ServiceProxyOptions) ProtoMessage() {}
  793. func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{170} }
  794. func (m *ServiceSpec) Reset() { *m = ServiceSpec{} }
  795. func (*ServiceSpec) ProtoMessage() {}
  796. func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{171} }
  797. func (m *ServiceStatus) Reset() { *m = ServiceStatus{} }
  798. func (*ServiceStatus) ProtoMessage() {}
  799. func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{172} }
  800. func (m *SessionAffinityConfig) Reset() { *m = SessionAffinityConfig{} }
  801. func (*SessionAffinityConfig) ProtoMessage() {}
  802. func (*SessionAffinityConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{173} }
  803. func (m *StorageOSPersistentVolumeSource) Reset() { *m = StorageOSPersistentVolumeSource{} }
  804. func (*StorageOSPersistentVolumeSource) ProtoMessage() {}
  805. func (*StorageOSPersistentVolumeSource) Descriptor() ([]byte, []int) {
  806. return fileDescriptorGenerated, []int{174}
  807. }
  808. func (m *StorageOSVolumeSource) Reset() { *m = StorageOSVolumeSource{} }
  809. func (*StorageOSVolumeSource) ProtoMessage() {}
  810. func (*StorageOSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{175} }
  811. func (m *Sysctl) Reset() { *m = Sysctl{} }
  812. func (*Sysctl) ProtoMessage() {}
  813. func (*Sysctl) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{176} }
  814. func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} }
  815. func (*TCPSocketAction) ProtoMessage() {}
  816. func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{177} }
  817. func (m *Taint) Reset() { *m = Taint{} }
  818. func (*Taint) ProtoMessage() {}
  819. func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{178} }
  820. func (m *Toleration) Reset() { *m = Toleration{} }
  821. func (*Toleration) ProtoMessage() {}
  822. func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{179} }
  823. func (m *Volume) Reset() { *m = Volume{} }
  824. func (*Volume) ProtoMessage() {}
  825. func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{180} }
  826. func (m *VolumeDevice) Reset() { *m = VolumeDevice{} }
  827. func (*VolumeDevice) ProtoMessage() {}
  828. func (*VolumeDevice) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{181} }
  829. func (m *VolumeMount) Reset() { *m = VolumeMount{} }
  830. func (*VolumeMount) ProtoMessage() {}
  831. func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{182} }
  832. func (m *VolumeNodeAffinity) Reset() { *m = VolumeNodeAffinity{} }
  833. func (*VolumeNodeAffinity) ProtoMessage() {}
  834. func (*VolumeNodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{183} }
  835. func (m *VolumeProjection) Reset() { *m = VolumeProjection{} }
  836. func (*VolumeProjection) ProtoMessage() {}
  837. func (*VolumeProjection) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{184} }
  838. func (m *VolumeSource) Reset() { *m = VolumeSource{} }
  839. func (*VolumeSource) ProtoMessage() {}
  840. func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{185} }
  841. func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} }
  842. func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {}
  843. func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) {
  844. return fileDescriptorGenerated, []int{186}
  845. }
  846. func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} }
  847. func (*WeightedPodAffinityTerm) ProtoMessage() {}
  848. func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) {
  849. return fileDescriptorGenerated, []int{187}
  850. }
  851. func init() {
  852. proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource")
  853. proto.RegisterType((*Affinity)(nil), "k8s.io.api.core.v1.Affinity")
  854. proto.RegisterType((*AttachedVolume)(nil), "k8s.io.api.core.v1.AttachedVolume")
  855. proto.RegisterType((*AvoidPods)(nil), "k8s.io.api.core.v1.AvoidPods")
  856. proto.RegisterType((*AzureDiskVolumeSource)(nil), "k8s.io.api.core.v1.AzureDiskVolumeSource")
  857. proto.RegisterType((*AzureFilePersistentVolumeSource)(nil), "k8s.io.api.core.v1.AzureFilePersistentVolumeSource")
  858. proto.RegisterType((*AzureFileVolumeSource)(nil), "k8s.io.api.core.v1.AzureFileVolumeSource")
  859. proto.RegisterType((*Binding)(nil), "k8s.io.api.core.v1.Binding")
  860. proto.RegisterType((*CSIPersistentVolumeSource)(nil), "k8s.io.api.core.v1.CSIPersistentVolumeSource")
  861. proto.RegisterType((*Capabilities)(nil), "k8s.io.api.core.v1.Capabilities")
  862. proto.RegisterType((*CephFSPersistentVolumeSource)(nil), "k8s.io.api.core.v1.CephFSPersistentVolumeSource")
  863. proto.RegisterType((*CephFSVolumeSource)(nil), "k8s.io.api.core.v1.CephFSVolumeSource")
  864. proto.RegisterType((*CinderVolumeSource)(nil), "k8s.io.api.core.v1.CinderVolumeSource")
  865. proto.RegisterType((*ClientIPConfig)(nil), "k8s.io.api.core.v1.ClientIPConfig")
  866. proto.RegisterType((*ComponentCondition)(nil), "k8s.io.api.core.v1.ComponentCondition")
  867. proto.RegisterType((*ComponentStatus)(nil), "k8s.io.api.core.v1.ComponentStatus")
  868. proto.RegisterType((*ComponentStatusList)(nil), "k8s.io.api.core.v1.ComponentStatusList")
  869. proto.RegisterType((*ConfigMap)(nil), "k8s.io.api.core.v1.ConfigMap")
  870. proto.RegisterType((*ConfigMapEnvSource)(nil), "k8s.io.api.core.v1.ConfigMapEnvSource")
  871. proto.RegisterType((*ConfigMapKeySelector)(nil), "k8s.io.api.core.v1.ConfigMapKeySelector")
  872. proto.RegisterType((*ConfigMapList)(nil), "k8s.io.api.core.v1.ConfigMapList")
  873. proto.RegisterType((*ConfigMapProjection)(nil), "k8s.io.api.core.v1.ConfigMapProjection")
  874. proto.RegisterType((*ConfigMapVolumeSource)(nil), "k8s.io.api.core.v1.ConfigMapVolumeSource")
  875. proto.RegisterType((*Container)(nil), "k8s.io.api.core.v1.Container")
  876. proto.RegisterType((*ContainerImage)(nil), "k8s.io.api.core.v1.ContainerImage")
  877. proto.RegisterType((*ContainerPort)(nil), "k8s.io.api.core.v1.ContainerPort")
  878. proto.RegisterType((*ContainerState)(nil), "k8s.io.api.core.v1.ContainerState")
  879. proto.RegisterType((*ContainerStateRunning)(nil), "k8s.io.api.core.v1.ContainerStateRunning")
  880. proto.RegisterType((*ContainerStateTerminated)(nil), "k8s.io.api.core.v1.ContainerStateTerminated")
  881. proto.RegisterType((*ContainerStateWaiting)(nil), "k8s.io.api.core.v1.ContainerStateWaiting")
  882. proto.RegisterType((*ContainerStatus)(nil), "k8s.io.api.core.v1.ContainerStatus")
  883. proto.RegisterType((*DaemonEndpoint)(nil), "k8s.io.api.core.v1.DaemonEndpoint")
  884. proto.RegisterType((*DeleteOptions)(nil), "k8s.io.api.core.v1.DeleteOptions")
  885. proto.RegisterType((*DownwardAPIProjection)(nil), "k8s.io.api.core.v1.DownwardAPIProjection")
  886. proto.RegisterType((*DownwardAPIVolumeFile)(nil), "k8s.io.api.core.v1.DownwardAPIVolumeFile")
  887. proto.RegisterType((*DownwardAPIVolumeSource)(nil), "k8s.io.api.core.v1.DownwardAPIVolumeSource")
  888. proto.RegisterType((*EmptyDirVolumeSource)(nil), "k8s.io.api.core.v1.EmptyDirVolumeSource")
  889. proto.RegisterType((*EndpointAddress)(nil), "k8s.io.api.core.v1.EndpointAddress")
  890. proto.RegisterType((*EndpointPort)(nil), "k8s.io.api.core.v1.EndpointPort")
  891. proto.RegisterType((*EndpointSubset)(nil), "k8s.io.api.core.v1.EndpointSubset")
  892. proto.RegisterType((*Endpoints)(nil), "k8s.io.api.core.v1.Endpoints")
  893. proto.RegisterType((*EndpointsList)(nil), "k8s.io.api.core.v1.EndpointsList")
  894. proto.RegisterType((*EnvFromSource)(nil), "k8s.io.api.core.v1.EnvFromSource")
  895. proto.RegisterType((*EnvVar)(nil), "k8s.io.api.core.v1.EnvVar")
  896. proto.RegisterType((*EnvVarSource)(nil), "k8s.io.api.core.v1.EnvVarSource")
  897. proto.RegisterType((*Event)(nil), "k8s.io.api.core.v1.Event")
  898. proto.RegisterType((*EventList)(nil), "k8s.io.api.core.v1.EventList")
  899. proto.RegisterType((*EventSeries)(nil), "k8s.io.api.core.v1.EventSeries")
  900. proto.RegisterType((*EventSource)(nil), "k8s.io.api.core.v1.EventSource")
  901. proto.RegisterType((*ExecAction)(nil), "k8s.io.api.core.v1.ExecAction")
  902. proto.RegisterType((*FCVolumeSource)(nil), "k8s.io.api.core.v1.FCVolumeSource")
  903. proto.RegisterType((*FlexPersistentVolumeSource)(nil), "k8s.io.api.core.v1.FlexPersistentVolumeSource")
  904. proto.RegisterType((*FlexVolumeSource)(nil), "k8s.io.api.core.v1.FlexVolumeSource")
  905. proto.RegisterType((*FlockerVolumeSource)(nil), "k8s.io.api.core.v1.FlockerVolumeSource")
  906. proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "k8s.io.api.core.v1.GCEPersistentDiskVolumeSource")
  907. proto.RegisterType((*GitRepoVolumeSource)(nil), "k8s.io.api.core.v1.GitRepoVolumeSource")
  908. proto.RegisterType((*GlusterfsVolumeSource)(nil), "k8s.io.api.core.v1.GlusterfsVolumeSource")
  909. proto.RegisterType((*HTTPGetAction)(nil), "k8s.io.api.core.v1.HTTPGetAction")
  910. proto.RegisterType((*HTTPHeader)(nil), "k8s.io.api.core.v1.HTTPHeader")
  911. proto.RegisterType((*Handler)(nil), "k8s.io.api.core.v1.Handler")
  912. proto.RegisterType((*HostAlias)(nil), "k8s.io.api.core.v1.HostAlias")
  913. proto.RegisterType((*HostPathVolumeSource)(nil), "k8s.io.api.core.v1.HostPathVolumeSource")
  914. proto.RegisterType((*ISCSIPersistentVolumeSource)(nil), "k8s.io.api.core.v1.ISCSIPersistentVolumeSource")
  915. proto.RegisterType((*ISCSIVolumeSource)(nil), "k8s.io.api.core.v1.ISCSIVolumeSource")
  916. proto.RegisterType((*KeyToPath)(nil), "k8s.io.api.core.v1.KeyToPath")
  917. proto.RegisterType((*Lifecycle)(nil), "k8s.io.api.core.v1.Lifecycle")
  918. proto.RegisterType((*LimitRange)(nil), "k8s.io.api.core.v1.LimitRange")
  919. proto.RegisterType((*LimitRangeItem)(nil), "k8s.io.api.core.v1.LimitRangeItem")
  920. proto.RegisterType((*LimitRangeList)(nil), "k8s.io.api.core.v1.LimitRangeList")
  921. proto.RegisterType((*LimitRangeSpec)(nil), "k8s.io.api.core.v1.LimitRangeSpec")
  922. proto.RegisterType((*List)(nil), "k8s.io.api.core.v1.List")
  923. proto.RegisterType((*ListOptions)(nil), "k8s.io.api.core.v1.ListOptions")
  924. proto.RegisterType((*LoadBalancerIngress)(nil), "k8s.io.api.core.v1.LoadBalancerIngress")
  925. proto.RegisterType((*LoadBalancerStatus)(nil), "k8s.io.api.core.v1.LoadBalancerStatus")
  926. proto.RegisterType((*LocalObjectReference)(nil), "k8s.io.api.core.v1.LocalObjectReference")
  927. proto.RegisterType((*LocalVolumeSource)(nil), "k8s.io.api.core.v1.LocalVolumeSource")
  928. proto.RegisterType((*NFSVolumeSource)(nil), "k8s.io.api.core.v1.NFSVolumeSource")
  929. proto.RegisterType((*Namespace)(nil), "k8s.io.api.core.v1.Namespace")
  930. proto.RegisterType((*NamespaceList)(nil), "k8s.io.api.core.v1.NamespaceList")
  931. proto.RegisterType((*NamespaceSpec)(nil), "k8s.io.api.core.v1.NamespaceSpec")
  932. proto.RegisterType((*NamespaceStatus)(nil), "k8s.io.api.core.v1.NamespaceStatus")
  933. proto.RegisterType((*Node)(nil), "k8s.io.api.core.v1.Node")
  934. proto.RegisterType((*NodeAddress)(nil), "k8s.io.api.core.v1.NodeAddress")
  935. proto.RegisterType((*NodeAffinity)(nil), "k8s.io.api.core.v1.NodeAffinity")
  936. proto.RegisterType((*NodeCondition)(nil), "k8s.io.api.core.v1.NodeCondition")
  937. proto.RegisterType((*NodeConfigSource)(nil), "k8s.io.api.core.v1.NodeConfigSource")
  938. proto.RegisterType((*NodeDaemonEndpoints)(nil), "k8s.io.api.core.v1.NodeDaemonEndpoints")
  939. proto.RegisterType((*NodeList)(nil), "k8s.io.api.core.v1.NodeList")
  940. proto.RegisterType((*NodeProxyOptions)(nil), "k8s.io.api.core.v1.NodeProxyOptions")
  941. proto.RegisterType((*NodeResources)(nil), "k8s.io.api.core.v1.NodeResources")
  942. proto.RegisterType((*NodeSelector)(nil), "k8s.io.api.core.v1.NodeSelector")
  943. proto.RegisterType((*NodeSelectorRequirement)(nil), "k8s.io.api.core.v1.NodeSelectorRequirement")
  944. proto.RegisterType((*NodeSelectorTerm)(nil), "k8s.io.api.core.v1.NodeSelectorTerm")
  945. proto.RegisterType((*NodeSpec)(nil), "k8s.io.api.core.v1.NodeSpec")
  946. proto.RegisterType((*NodeStatus)(nil), "k8s.io.api.core.v1.NodeStatus")
  947. proto.RegisterType((*NodeSystemInfo)(nil), "k8s.io.api.core.v1.NodeSystemInfo")
  948. proto.RegisterType((*ObjectFieldSelector)(nil), "k8s.io.api.core.v1.ObjectFieldSelector")
  949. proto.RegisterType((*ObjectMeta)(nil), "k8s.io.api.core.v1.ObjectMeta")
  950. proto.RegisterType((*ObjectReference)(nil), "k8s.io.api.core.v1.ObjectReference")
  951. proto.RegisterType((*PersistentVolume)(nil), "k8s.io.api.core.v1.PersistentVolume")
  952. proto.RegisterType((*PersistentVolumeClaim)(nil), "k8s.io.api.core.v1.PersistentVolumeClaim")
  953. proto.RegisterType((*PersistentVolumeClaimCondition)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimCondition")
  954. proto.RegisterType((*PersistentVolumeClaimList)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimList")
  955. proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimSpec")
  956. proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimStatus")
  957. proto.RegisterType((*PersistentVolumeClaimVolumeSource)(nil), "k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource")
  958. proto.RegisterType((*PersistentVolumeList)(nil), "k8s.io.api.core.v1.PersistentVolumeList")
  959. proto.RegisterType((*PersistentVolumeSource)(nil), "k8s.io.api.core.v1.PersistentVolumeSource")
  960. proto.RegisterType((*PersistentVolumeSpec)(nil), "k8s.io.api.core.v1.PersistentVolumeSpec")
  961. proto.RegisterType((*PersistentVolumeStatus)(nil), "k8s.io.api.core.v1.PersistentVolumeStatus")
  962. proto.RegisterType((*PhotonPersistentDiskVolumeSource)(nil), "k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource")
  963. proto.RegisterType((*Pod)(nil), "k8s.io.api.core.v1.Pod")
  964. proto.RegisterType((*PodAffinity)(nil), "k8s.io.api.core.v1.PodAffinity")
  965. proto.RegisterType((*PodAffinityTerm)(nil), "k8s.io.api.core.v1.PodAffinityTerm")
  966. proto.RegisterType((*PodAntiAffinity)(nil), "k8s.io.api.core.v1.PodAntiAffinity")
  967. proto.RegisterType((*PodAttachOptions)(nil), "k8s.io.api.core.v1.PodAttachOptions")
  968. proto.RegisterType((*PodCondition)(nil), "k8s.io.api.core.v1.PodCondition")
  969. proto.RegisterType((*PodDNSConfig)(nil), "k8s.io.api.core.v1.PodDNSConfig")
  970. proto.RegisterType((*PodDNSConfigOption)(nil), "k8s.io.api.core.v1.PodDNSConfigOption")
  971. proto.RegisterType((*PodExecOptions)(nil), "k8s.io.api.core.v1.PodExecOptions")
  972. proto.RegisterType((*PodList)(nil), "k8s.io.api.core.v1.PodList")
  973. proto.RegisterType((*PodLogOptions)(nil), "k8s.io.api.core.v1.PodLogOptions")
  974. proto.RegisterType((*PodPortForwardOptions)(nil), "k8s.io.api.core.v1.PodPortForwardOptions")
  975. proto.RegisterType((*PodProxyOptions)(nil), "k8s.io.api.core.v1.PodProxyOptions")
  976. proto.RegisterType((*PodSecurityContext)(nil), "k8s.io.api.core.v1.PodSecurityContext")
  977. proto.RegisterType((*PodSignature)(nil), "k8s.io.api.core.v1.PodSignature")
  978. proto.RegisterType((*PodSpec)(nil), "k8s.io.api.core.v1.PodSpec")
  979. proto.RegisterType((*PodStatus)(nil), "k8s.io.api.core.v1.PodStatus")
  980. proto.RegisterType((*PodStatusResult)(nil), "k8s.io.api.core.v1.PodStatusResult")
  981. proto.RegisterType((*PodTemplate)(nil), "k8s.io.api.core.v1.PodTemplate")
  982. proto.RegisterType((*PodTemplateList)(nil), "k8s.io.api.core.v1.PodTemplateList")
  983. proto.RegisterType((*PodTemplateSpec)(nil), "k8s.io.api.core.v1.PodTemplateSpec")
  984. proto.RegisterType((*PortworxVolumeSource)(nil), "k8s.io.api.core.v1.PortworxVolumeSource")
  985. proto.RegisterType((*Preconditions)(nil), "k8s.io.api.core.v1.Preconditions")
  986. proto.RegisterType((*PreferAvoidPodsEntry)(nil), "k8s.io.api.core.v1.PreferAvoidPodsEntry")
  987. proto.RegisterType((*PreferredSchedulingTerm)(nil), "k8s.io.api.core.v1.PreferredSchedulingTerm")
  988. proto.RegisterType((*Probe)(nil), "k8s.io.api.core.v1.Probe")
  989. proto.RegisterType((*ProjectedVolumeSource)(nil), "k8s.io.api.core.v1.ProjectedVolumeSource")
  990. proto.RegisterType((*QuobyteVolumeSource)(nil), "k8s.io.api.core.v1.QuobyteVolumeSource")
  991. proto.RegisterType((*RBDPersistentVolumeSource)(nil), "k8s.io.api.core.v1.RBDPersistentVolumeSource")
  992. proto.RegisterType((*RBDVolumeSource)(nil), "k8s.io.api.core.v1.RBDVolumeSource")
  993. proto.RegisterType((*RangeAllocation)(nil), "k8s.io.api.core.v1.RangeAllocation")
  994. proto.RegisterType((*ReplicationController)(nil), "k8s.io.api.core.v1.ReplicationController")
  995. proto.RegisterType((*ReplicationControllerCondition)(nil), "k8s.io.api.core.v1.ReplicationControllerCondition")
  996. proto.RegisterType((*ReplicationControllerList)(nil), "k8s.io.api.core.v1.ReplicationControllerList")
  997. proto.RegisterType((*ReplicationControllerSpec)(nil), "k8s.io.api.core.v1.ReplicationControllerSpec")
  998. proto.RegisterType((*ReplicationControllerStatus)(nil), "k8s.io.api.core.v1.ReplicationControllerStatus")
  999. proto.RegisterType((*ResourceFieldSelector)(nil), "k8s.io.api.core.v1.ResourceFieldSelector")
  1000. proto.RegisterType((*ResourceQuota)(nil), "k8s.io.api.core.v1.ResourceQuota")
  1001. proto.RegisterType((*ResourceQuotaList)(nil), "k8s.io.api.core.v1.ResourceQuotaList")
  1002. proto.RegisterType((*ResourceQuotaSpec)(nil), "k8s.io.api.core.v1.ResourceQuotaSpec")
  1003. proto.RegisterType((*ResourceQuotaStatus)(nil), "k8s.io.api.core.v1.ResourceQuotaStatus")
  1004. proto.RegisterType((*ResourceRequirements)(nil), "k8s.io.api.core.v1.ResourceRequirements")
  1005. proto.RegisterType((*SELinuxOptions)(nil), "k8s.io.api.core.v1.SELinuxOptions")
  1006. proto.RegisterType((*ScaleIOPersistentVolumeSource)(nil), "k8s.io.api.core.v1.ScaleIOPersistentVolumeSource")
  1007. proto.RegisterType((*ScaleIOVolumeSource)(nil), "k8s.io.api.core.v1.ScaleIOVolumeSource")
  1008. proto.RegisterType((*Secret)(nil), "k8s.io.api.core.v1.Secret")
  1009. proto.RegisterType((*SecretEnvSource)(nil), "k8s.io.api.core.v1.SecretEnvSource")
  1010. proto.RegisterType((*SecretKeySelector)(nil), "k8s.io.api.core.v1.SecretKeySelector")
  1011. proto.RegisterType((*SecretList)(nil), "k8s.io.api.core.v1.SecretList")
  1012. proto.RegisterType((*SecretProjection)(nil), "k8s.io.api.core.v1.SecretProjection")
  1013. proto.RegisterType((*SecretReference)(nil), "k8s.io.api.core.v1.SecretReference")
  1014. proto.RegisterType((*SecretVolumeSource)(nil), "k8s.io.api.core.v1.SecretVolumeSource")
  1015. proto.RegisterType((*SecurityContext)(nil), "k8s.io.api.core.v1.SecurityContext")
  1016. proto.RegisterType((*SerializedReference)(nil), "k8s.io.api.core.v1.SerializedReference")
  1017. proto.RegisterType((*Service)(nil), "k8s.io.api.core.v1.Service")
  1018. proto.RegisterType((*ServiceAccount)(nil), "k8s.io.api.core.v1.ServiceAccount")
  1019. proto.RegisterType((*ServiceAccountList)(nil), "k8s.io.api.core.v1.ServiceAccountList")
  1020. proto.RegisterType((*ServiceList)(nil), "k8s.io.api.core.v1.ServiceList")
  1021. proto.RegisterType((*ServicePort)(nil), "k8s.io.api.core.v1.ServicePort")
  1022. proto.RegisterType((*ServiceProxyOptions)(nil), "k8s.io.api.core.v1.ServiceProxyOptions")
  1023. proto.RegisterType((*ServiceSpec)(nil), "k8s.io.api.core.v1.ServiceSpec")
  1024. proto.RegisterType((*ServiceStatus)(nil), "k8s.io.api.core.v1.ServiceStatus")
  1025. proto.RegisterType((*SessionAffinityConfig)(nil), "k8s.io.api.core.v1.SessionAffinityConfig")
  1026. proto.RegisterType((*StorageOSPersistentVolumeSource)(nil), "k8s.io.api.core.v1.StorageOSPersistentVolumeSource")
  1027. proto.RegisterType((*StorageOSVolumeSource)(nil), "k8s.io.api.core.v1.StorageOSVolumeSource")
  1028. proto.RegisterType((*Sysctl)(nil), "k8s.io.api.core.v1.Sysctl")
  1029. proto.RegisterType((*TCPSocketAction)(nil), "k8s.io.api.core.v1.TCPSocketAction")
  1030. proto.RegisterType((*Taint)(nil), "k8s.io.api.core.v1.Taint")
  1031. proto.RegisterType((*Toleration)(nil), "k8s.io.api.core.v1.Toleration")
  1032. proto.RegisterType((*Volume)(nil), "k8s.io.api.core.v1.Volume")
  1033. proto.RegisterType((*VolumeDevice)(nil), "k8s.io.api.core.v1.VolumeDevice")
  1034. proto.RegisterType((*VolumeMount)(nil), "k8s.io.api.core.v1.VolumeMount")
  1035. proto.RegisterType((*VolumeNodeAffinity)(nil), "k8s.io.api.core.v1.VolumeNodeAffinity")
  1036. proto.RegisterType((*VolumeProjection)(nil), "k8s.io.api.core.v1.VolumeProjection")
  1037. proto.RegisterType((*VolumeSource)(nil), "k8s.io.api.core.v1.VolumeSource")
  1038. proto.RegisterType((*VsphereVirtualDiskVolumeSource)(nil), "k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource")
  1039. proto.RegisterType((*WeightedPodAffinityTerm)(nil), "k8s.io.api.core.v1.WeightedPodAffinityTerm")
  1040. }
  1041. func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) {
  1042. size := m.Size()
  1043. dAtA = make([]byte, size)
  1044. n, err := m.MarshalTo(dAtA)
  1045. if err != nil {
  1046. return nil, err
  1047. }
  1048. return dAtA[:n], nil
  1049. }
  1050. func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1051. var i int
  1052. _ = i
  1053. var l int
  1054. _ = l
  1055. dAtA[i] = 0xa
  1056. i++
  1057. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeID)))
  1058. i += copy(dAtA[i:], m.VolumeID)
  1059. dAtA[i] = 0x12
  1060. i++
  1061. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  1062. i += copy(dAtA[i:], m.FSType)
  1063. dAtA[i] = 0x18
  1064. i++
  1065. i = encodeVarintGenerated(dAtA, i, uint64(m.Partition))
  1066. dAtA[i] = 0x20
  1067. i++
  1068. if m.ReadOnly {
  1069. dAtA[i] = 1
  1070. } else {
  1071. dAtA[i] = 0
  1072. }
  1073. i++
  1074. return i, nil
  1075. }
  1076. func (m *Affinity) Marshal() (dAtA []byte, err error) {
  1077. size := m.Size()
  1078. dAtA = make([]byte, size)
  1079. n, err := m.MarshalTo(dAtA)
  1080. if err != nil {
  1081. return nil, err
  1082. }
  1083. return dAtA[:n], nil
  1084. }
  1085. func (m *Affinity) MarshalTo(dAtA []byte) (int, error) {
  1086. var i int
  1087. _ = i
  1088. var l int
  1089. _ = l
  1090. if m.NodeAffinity != nil {
  1091. dAtA[i] = 0xa
  1092. i++
  1093. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeAffinity.Size()))
  1094. n1, err := m.NodeAffinity.MarshalTo(dAtA[i:])
  1095. if err != nil {
  1096. return 0, err
  1097. }
  1098. i += n1
  1099. }
  1100. if m.PodAffinity != nil {
  1101. dAtA[i] = 0x12
  1102. i++
  1103. i = encodeVarintGenerated(dAtA, i, uint64(m.PodAffinity.Size()))
  1104. n2, err := m.PodAffinity.MarshalTo(dAtA[i:])
  1105. if err != nil {
  1106. return 0, err
  1107. }
  1108. i += n2
  1109. }
  1110. if m.PodAntiAffinity != nil {
  1111. dAtA[i] = 0x1a
  1112. i++
  1113. i = encodeVarintGenerated(dAtA, i, uint64(m.PodAntiAffinity.Size()))
  1114. n3, err := m.PodAntiAffinity.MarshalTo(dAtA[i:])
  1115. if err != nil {
  1116. return 0, err
  1117. }
  1118. i += n3
  1119. }
  1120. return i, nil
  1121. }
  1122. func (m *AttachedVolume) Marshal() (dAtA []byte, err error) {
  1123. size := m.Size()
  1124. dAtA = make([]byte, size)
  1125. n, err := m.MarshalTo(dAtA)
  1126. if err != nil {
  1127. return nil, err
  1128. }
  1129. return dAtA[:n], nil
  1130. }
  1131. func (m *AttachedVolume) MarshalTo(dAtA []byte) (int, error) {
  1132. var i int
  1133. _ = i
  1134. var l int
  1135. _ = l
  1136. dAtA[i] = 0xa
  1137. i++
  1138. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  1139. i += copy(dAtA[i:], m.Name)
  1140. dAtA[i] = 0x12
  1141. i++
  1142. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DevicePath)))
  1143. i += copy(dAtA[i:], m.DevicePath)
  1144. return i, nil
  1145. }
  1146. func (m *AvoidPods) Marshal() (dAtA []byte, err error) {
  1147. size := m.Size()
  1148. dAtA = make([]byte, size)
  1149. n, err := m.MarshalTo(dAtA)
  1150. if err != nil {
  1151. return nil, err
  1152. }
  1153. return dAtA[:n], nil
  1154. }
  1155. func (m *AvoidPods) MarshalTo(dAtA []byte) (int, error) {
  1156. var i int
  1157. _ = i
  1158. var l int
  1159. _ = l
  1160. if len(m.PreferAvoidPods) > 0 {
  1161. for _, msg := range m.PreferAvoidPods {
  1162. dAtA[i] = 0xa
  1163. i++
  1164. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1165. n, err := msg.MarshalTo(dAtA[i:])
  1166. if err != nil {
  1167. return 0, err
  1168. }
  1169. i += n
  1170. }
  1171. }
  1172. return i, nil
  1173. }
  1174. func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  1175. size := m.Size()
  1176. dAtA = make([]byte, size)
  1177. n, err := m.MarshalTo(dAtA)
  1178. if err != nil {
  1179. return nil, err
  1180. }
  1181. return dAtA[:n], nil
  1182. }
  1183. func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1184. var i int
  1185. _ = i
  1186. var l int
  1187. _ = l
  1188. dAtA[i] = 0xa
  1189. i++
  1190. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DiskName)))
  1191. i += copy(dAtA[i:], m.DiskName)
  1192. dAtA[i] = 0x12
  1193. i++
  1194. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DataDiskURI)))
  1195. i += copy(dAtA[i:], m.DataDiskURI)
  1196. if m.CachingMode != nil {
  1197. dAtA[i] = 0x1a
  1198. i++
  1199. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.CachingMode)))
  1200. i += copy(dAtA[i:], *m.CachingMode)
  1201. }
  1202. if m.FSType != nil {
  1203. dAtA[i] = 0x22
  1204. i++
  1205. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.FSType)))
  1206. i += copy(dAtA[i:], *m.FSType)
  1207. }
  1208. if m.ReadOnly != nil {
  1209. dAtA[i] = 0x28
  1210. i++
  1211. if *m.ReadOnly {
  1212. dAtA[i] = 1
  1213. } else {
  1214. dAtA[i] = 0
  1215. }
  1216. i++
  1217. }
  1218. if m.Kind != nil {
  1219. dAtA[i] = 0x32
  1220. i++
  1221. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Kind)))
  1222. i += copy(dAtA[i:], *m.Kind)
  1223. }
  1224. return i, nil
  1225. }
  1226. func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  1227. size := m.Size()
  1228. dAtA = make([]byte, size)
  1229. n, err := m.MarshalTo(dAtA)
  1230. if err != nil {
  1231. return nil, err
  1232. }
  1233. return dAtA[:n], nil
  1234. }
  1235. func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1236. var i int
  1237. _ = i
  1238. var l int
  1239. _ = l
  1240. dAtA[i] = 0xa
  1241. i++
  1242. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
  1243. i += copy(dAtA[i:], m.SecretName)
  1244. dAtA[i] = 0x12
  1245. i++
  1246. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ShareName)))
  1247. i += copy(dAtA[i:], m.ShareName)
  1248. dAtA[i] = 0x18
  1249. i++
  1250. if m.ReadOnly {
  1251. dAtA[i] = 1
  1252. } else {
  1253. dAtA[i] = 0
  1254. }
  1255. i++
  1256. if m.SecretNamespace != nil {
  1257. dAtA[i] = 0x22
  1258. i++
  1259. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.SecretNamespace)))
  1260. i += copy(dAtA[i:], *m.SecretNamespace)
  1261. }
  1262. return i, nil
  1263. }
  1264. func (m *AzureFileVolumeSource) Marshal() (dAtA []byte, err error) {
  1265. size := m.Size()
  1266. dAtA = make([]byte, size)
  1267. n, err := m.MarshalTo(dAtA)
  1268. if err != nil {
  1269. return nil, err
  1270. }
  1271. return dAtA[:n], nil
  1272. }
  1273. func (m *AzureFileVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1274. var i int
  1275. _ = i
  1276. var l int
  1277. _ = l
  1278. dAtA[i] = 0xa
  1279. i++
  1280. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
  1281. i += copy(dAtA[i:], m.SecretName)
  1282. dAtA[i] = 0x12
  1283. i++
  1284. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ShareName)))
  1285. i += copy(dAtA[i:], m.ShareName)
  1286. dAtA[i] = 0x18
  1287. i++
  1288. if m.ReadOnly {
  1289. dAtA[i] = 1
  1290. } else {
  1291. dAtA[i] = 0
  1292. }
  1293. i++
  1294. return i, nil
  1295. }
  1296. func (m *Binding) Marshal() (dAtA []byte, err error) {
  1297. size := m.Size()
  1298. dAtA = make([]byte, size)
  1299. n, err := m.MarshalTo(dAtA)
  1300. if err != nil {
  1301. return nil, err
  1302. }
  1303. return dAtA[:n], nil
  1304. }
  1305. func (m *Binding) MarshalTo(dAtA []byte) (int, error) {
  1306. var i int
  1307. _ = i
  1308. var l int
  1309. _ = l
  1310. dAtA[i] = 0xa
  1311. i++
  1312. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1313. n4, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1314. if err != nil {
  1315. return 0, err
  1316. }
  1317. i += n4
  1318. dAtA[i] = 0x12
  1319. i++
  1320. i = encodeVarintGenerated(dAtA, i, uint64(m.Target.Size()))
  1321. n5, err := m.Target.MarshalTo(dAtA[i:])
  1322. if err != nil {
  1323. return 0, err
  1324. }
  1325. i += n5
  1326. return i, nil
  1327. }
  1328. func (m *CSIPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  1329. size := m.Size()
  1330. dAtA = make([]byte, size)
  1331. n, err := m.MarshalTo(dAtA)
  1332. if err != nil {
  1333. return nil, err
  1334. }
  1335. return dAtA[:n], nil
  1336. }
  1337. func (m *CSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1338. var i int
  1339. _ = i
  1340. var l int
  1341. _ = l
  1342. dAtA[i] = 0xa
  1343. i++
  1344. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  1345. i += copy(dAtA[i:], m.Driver)
  1346. dAtA[i] = 0x12
  1347. i++
  1348. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeHandle)))
  1349. i += copy(dAtA[i:], m.VolumeHandle)
  1350. dAtA[i] = 0x18
  1351. i++
  1352. if m.ReadOnly {
  1353. dAtA[i] = 1
  1354. } else {
  1355. dAtA[i] = 0
  1356. }
  1357. i++
  1358. dAtA[i] = 0x22
  1359. i++
  1360. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  1361. i += copy(dAtA[i:], m.FSType)
  1362. if len(m.VolumeAttributes) > 0 {
  1363. keysForVolumeAttributes := make([]string, 0, len(m.VolumeAttributes))
  1364. for k := range m.VolumeAttributes {
  1365. keysForVolumeAttributes = append(keysForVolumeAttributes, string(k))
  1366. }
  1367. github_com_gogo_protobuf_sortkeys.Strings(keysForVolumeAttributes)
  1368. for _, k := range keysForVolumeAttributes {
  1369. dAtA[i] = 0x2a
  1370. i++
  1371. v := m.VolumeAttributes[string(k)]
  1372. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1373. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1374. dAtA[i] = 0xa
  1375. i++
  1376. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1377. i += copy(dAtA[i:], k)
  1378. dAtA[i] = 0x12
  1379. i++
  1380. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1381. i += copy(dAtA[i:], v)
  1382. }
  1383. }
  1384. if m.ControllerPublishSecretRef != nil {
  1385. dAtA[i] = 0x32
  1386. i++
  1387. i = encodeVarintGenerated(dAtA, i, uint64(m.ControllerPublishSecretRef.Size()))
  1388. n6, err := m.ControllerPublishSecretRef.MarshalTo(dAtA[i:])
  1389. if err != nil {
  1390. return 0, err
  1391. }
  1392. i += n6
  1393. }
  1394. if m.NodeStageSecretRef != nil {
  1395. dAtA[i] = 0x3a
  1396. i++
  1397. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeStageSecretRef.Size()))
  1398. n7, err := m.NodeStageSecretRef.MarshalTo(dAtA[i:])
  1399. if err != nil {
  1400. return 0, err
  1401. }
  1402. i += n7
  1403. }
  1404. if m.NodePublishSecretRef != nil {
  1405. dAtA[i] = 0x42
  1406. i++
  1407. i = encodeVarintGenerated(dAtA, i, uint64(m.NodePublishSecretRef.Size()))
  1408. n8, err := m.NodePublishSecretRef.MarshalTo(dAtA[i:])
  1409. if err != nil {
  1410. return 0, err
  1411. }
  1412. i += n8
  1413. }
  1414. return i, nil
  1415. }
  1416. func (m *Capabilities) Marshal() (dAtA []byte, err error) {
  1417. size := m.Size()
  1418. dAtA = make([]byte, size)
  1419. n, err := m.MarshalTo(dAtA)
  1420. if err != nil {
  1421. return nil, err
  1422. }
  1423. return dAtA[:n], nil
  1424. }
  1425. func (m *Capabilities) MarshalTo(dAtA []byte) (int, error) {
  1426. var i int
  1427. _ = i
  1428. var l int
  1429. _ = l
  1430. if len(m.Add) > 0 {
  1431. for _, s := range m.Add {
  1432. dAtA[i] = 0xa
  1433. i++
  1434. l = len(s)
  1435. for l >= 1<<7 {
  1436. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1437. l >>= 7
  1438. i++
  1439. }
  1440. dAtA[i] = uint8(l)
  1441. i++
  1442. i += copy(dAtA[i:], s)
  1443. }
  1444. }
  1445. if len(m.Drop) > 0 {
  1446. for _, s := range m.Drop {
  1447. dAtA[i] = 0x12
  1448. i++
  1449. l = len(s)
  1450. for l >= 1<<7 {
  1451. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1452. l >>= 7
  1453. i++
  1454. }
  1455. dAtA[i] = uint8(l)
  1456. i++
  1457. i += copy(dAtA[i:], s)
  1458. }
  1459. }
  1460. return i, nil
  1461. }
  1462. func (m *CephFSPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  1463. size := m.Size()
  1464. dAtA = make([]byte, size)
  1465. n, err := m.MarshalTo(dAtA)
  1466. if err != nil {
  1467. return nil, err
  1468. }
  1469. return dAtA[:n], nil
  1470. }
  1471. func (m *CephFSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1472. var i int
  1473. _ = i
  1474. var l int
  1475. _ = l
  1476. if len(m.Monitors) > 0 {
  1477. for _, s := range m.Monitors {
  1478. dAtA[i] = 0xa
  1479. i++
  1480. l = len(s)
  1481. for l >= 1<<7 {
  1482. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1483. l >>= 7
  1484. i++
  1485. }
  1486. dAtA[i] = uint8(l)
  1487. i++
  1488. i += copy(dAtA[i:], s)
  1489. }
  1490. }
  1491. dAtA[i] = 0x12
  1492. i++
  1493. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  1494. i += copy(dAtA[i:], m.Path)
  1495. dAtA[i] = 0x1a
  1496. i++
  1497. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  1498. i += copy(dAtA[i:], m.User)
  1499. dAtA[i] = 0x22
  1500. i++
  1501. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretFile)))
  1502. i += copy(dAtA[i:], m.SecretFile)
  1503. if m.SecretRef != nil {
  1504. dAtA[i] = 0x2a
  1505. i++
  1506. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  1507. n9, err := m.SecretRef.MarshalTo(dAtA[i:])
  1508. if err != nil {
  1509. return 0, err
  1510. }
  1511. i += n9
  1512. }
  1513. dAtA[i] = 0x30
  1514. i++
  1515. if m.ReadOnly {
  1516. dAtA[i] = 1
  1517. } else {
  1518. dAtA[i] = 0
  1519. }
  1520. i++
  1521. return i, nil
  1522. }
  1523. func (m *CephFSVolumeSource) Marshal() (dAtA []byte, err error) {
  1524. size := m.Size()
  1525. dAtA = make([]byte, size)
  1526. n, err := m.MarshalTo(dAtA)
  1527. if err != nil {
  1528. return nil, err
  1529. }
  1530. return dAtA[:n], nil
  1531. }
  1532. func (m *CephFSVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1533. var i int
  1534. _ = i
  1535. var l int
  1536. _ = l
  1537. if len(m.Monitors) > 0 {
  1538. for _, s := range m.Monitors {
  1539. dAtA[i] = 0xa
  1540. i++
  1541. l = len(s)
  1542. for l >= 1<<7 {
  1543. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1544. l >>= 7
  1545. i++
  1546. }
  1547. dAtA[i] = uint8(l)
  1548. i++
  1549. i += copy(dAtA[i:], s)
  1550. }
  1551. }
  1552. dAtA[i] = 0x12
  1553. i++
  1554. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  1555. i += copy(dAtA[i:], m.Path)
  1556. dAtA[i] = 0x1a
  1557. i++
  1558. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  1559. i += copy(dAtA[i:], m.User)
  1560. dAtA[i] = 0x22
  1561. i++
  1562. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretFile)))
  1563. i += copy(dAtA[i:], m.SecretFile)
  1564. if m.SecretRef != nil {
  1565. dAtA[i] = 0x2a
  1566. i++
  1567. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  1568. n10, err := m.SecretRef.MarshalTo(dAtA[i:])
  1569. if err != nil {
  1570. return 0, err
  1571. }
  1572. i += n10
  1573. }
  1574. dAtA[i] = 0x30
  1575. i++
  1576. if m.ReadOnly {
  1577. dAtA[i] = 1
  1578. } else {
  1579. dAtA[i] = 0
  1580. }
  1581. i++
  1582. return i, nil
  1583. }
  1584. func (m *CinderVolumeSource) Marshal() (dAtA []byte, err error) {
  1585. size := m.Size()
  1586. dAtA = make([]byte, size)
  1587. n, err := m.MarshalTo(dAtA)
  1588. if err != nil {
  1589. return nil, err
  1590. }
  1591. return dAtA[:n], nil
  1592. }
  1593. func (m *CinderVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1594. var i int
  1595. _ = i
  1596. var l int
  1597. _ = l
  1598. dAtA[i] = 0xa
  1599. i++
  1600. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeID)))
  1601. i += copy(dAtA[i:], m.VolumeID)
  1602. dAtA[i] = 0x12
  1603. i++
  1604. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  1605. i += copy(dAtA[i:], m.FSType)
  1606. dAtA[i] = 0x18
  1607. i++
  1608. if m.ReadOnly {
  1609. dAtA[i] = 1
  1610. } else {
  1611. dAtA[i] = 0
  1612. }
  1613. i++
  1614. return i, nil
  1615. }
  1616. func (m *ClientIPConfig) Marshal() (dAtA []byte, err error) {
  1617. size := m.Size()
  1618. dAtA = make([]byte, size)
  1619. n, err := m.MarshalTo(dAtA)
  1620. if err != nil {
  1621. return nil, err
  1622. }
  1623. return dAtA[:n], nil
  1624. }
  1625. func (m *ClientIPConfig) MarshalTo(dAtA []byte) (int, error) {
  1626. var i int
  1627. _ = i
  1628. var l int
  1629. _ = l
  1630. if m.TimeoutSeconds != nil {
  1631. dAtA[i] = 0x8
  1632. i++
  1633. i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds))
  1634. }
  1635. return i, nil
  1636. }
  1637. func (m *ComponentCondition) Marshal() (dAtA []byte, err error) {
  1638. size := m.Size()
  1639. dAtA = make([]byte, size)
  1640. n, err := m.MarshalTo(dAtA)
  1641. if err != nil {
  1642. return nil, err
  1643. }
  1644. return dAtA[:n], nil
  1645. }
  1646. func (m *ComponentCondition) MarshalTo(dAtA []byte) (int, error) {
  1647. var i int
  1648. _ = i
  1649. var l int
  1650. _ = l
  1651. dAtA[i] = 0xa
  1652. i++
  1653. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1654. i += copy(dAtA[i:], m.Type)
  1655. dAtA[i] = 0x12
  1656. i++
  1657. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  1658. i += copy(dAtA[i:], m.Status)
  1659. dAtA[i] = 0x1a
  1660. i++
  1661. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1662. i += copy(dAtA[i:], m.Message)
  1663. dAtA[i] = 0x22
  1664. i++
  1665. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Error)))
  1666. i += copy(dAtA[i:], m.Error)
  1667. return i, nil
  1668. }
  1669. func (m *ComponentStatus) Marshal() (dAtA []byte, err error) {
  1670. size := m.Size()
  1671. dAtA = make([]byte, size)
  1672. n, err := m.MarshalTo(dAtA)
  1673. if err != nil {
  1674. return nil, err
  1675. }
  1676. return dAtA[:n], nil
  1677. }
  1678. func (m *ComponentStatus) MarshalTo(dAtA []byte) (int, error) {
  1679. var i int
  1680. _ = i
  1681. var l int
  1682. _ = l
  1683. dAtA[i] = 0xa
  1684. i++
  1685. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1686. n11, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1687. if err != nil {
  1688. return 0, err
  1689. }
  1690. i += n11
  1691. if len(m.Conditions) > 0 {
  1692. for _, msg := range m.Conditions {
  1693. dAtA[i] = 0x12
  1694. i++
  1695. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1696. n, err := msg.MarshalTo(dAtA[i:])
  1697. if err != nil {
  1698. return 0, err
  1699. }
  1700. i += n
  1701. }
  1702. }
  1703. return i, nil
  1704. }
  1705. func (m *ComponentStatusList) Marshal() (dAtA []byte, err error) {
  1706. size := m.Size()
  1707. dAtA = make([]byte, size)
  1708. n, err := m.MarshalTo(dAtA)
  1709. if err != nil {
  1710. return nil, err
  1711. }
  1712. return dAtA[:n], nil
  1713. }
  1714. func (m *ComponentStatusList) MarshalTo(dAtA []byte) (int, error) {
  1715. var i int
  1716. _ = i
  1717. var l int
  1718. _ = l
  1719. dAtA[i] = 0xa
  1720. i++
  1721. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1722. n12, err := m.ListMeta.MarshalTo(dAtA[i:])
  1723. if err != nil {
  1724. return 0, err
  1725. }
  1726. i += n12
  1727. if len(m.Items) > 0 {
  1728. for _, msg := range m.Items {
  1729. dAtA[i] = 0x12
  1730. i++
  1731. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1732. n, err := msg.MarshalTo(dAtA[i:])
  1733. if err != nil {
  1734. return 0, err
  1735. }
  1736. i += n
  1737. }
  1738. }
  1739. return i, nil
  1740. }
  1741. func (m *ConfigMap) Marshal() (dAtA []byte, err error) {
  1742. size := m.Size()
  1743. dAtA = make([]byte, size)
  1744. n, err := m.MarshalTo(dAtA)
  1745. if err != nil {
  1746. return nil, err
  1747. }
  1748. return dAtA[:n], nil
  1749. }
  1750. func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error) {
  1751. var i int
  1752. _ = i
  1753. var l int
  1754. _ = l
  1755. dAtA[i] = 0xa
  1756. i++
  1757. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1758. n13, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1759. if err != nil {
  1760. return 0, err
  1761. }
  1762. i += n13
  1763. if len(m.Data) > 0 {
  1764. keysForData := make([]string, 0, len(m.Data))
  1765. for k := range m.Data {
  1766. keysForData = append(keysForData, string(k))
  1767. }
  1768. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  1769. for _, k := range keysForData {
  1770. dAtA[i] = 0x12
  1771. i++
  1772. v := m.Data[string(k)]
  1773. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1774. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1775. dAtA[i] = 0xa
  1776. i++
  1777. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1778. i += copy(dAtA[i:], k)
  1779. dAtA[i] = 0x12
  1780. i++
  1781. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1782. i += copy(dAtA[i:], v)
  1783. }
  1784. }
  1785. if len(m.BinaryData) > 0 {
  1786. keysForBinaryData := make([]string, 0, len(m.BinaryData))
  1787. for k := range m.BinaryData {
  1788. keysForBinaryData = append(keysForBinaryData, string(k))
  1789. }
  1790. github_com_gogo_protobuf_sortkeys.Strings(keysForBinaryData)
  1791. for _, k := range keysForBinaryData {
  1792. dAtA[i] = 0x1a
  1793. i++
  1794. v := m.BinaryData[string(k)]
  1795. byteSize := 0
  1796. if v != nil {
  1797. byteSize = 1 + len(v) + sovGenerated(uint64(len(v)))
  1798. }
  1799. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + byteSize
  1800. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1801. dAtA[i] = 0xa
  1802. i++
  1803. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1804. i += copy(dAtA[i:], k)
  1805. if v != nil {
  1806. dAtA[i] = 0x12
  1807. i++
  1808. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1809. i += copy(dAtA[i:], v)
  1810. }
  1811. }
  1812. }
  1813. return i, nil
  1814. }
  1815. func (m *ConfigMapEnvSource) 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 *ConfigMapEnvSource) 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(m.LocalObjectReference.Size()))
  1832. n14, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  1833. if err != nil {
  1834. return 0, err
  1835. }
  1836. i += n14
  1837. if m.Optional != nil {
  1838. dAtA[i] = 0x10
  1839. i++
  1840. if *m.Optional {
  1841. dAtA[i] = 1
  1842. } else {
  1843. dAtA[i] = 0
  1844. }
  1845. i++
  1846. }
  1847. return i, nil
  1848. }
  1849. func (m *ConfigMapKeySelector) Marshal() (dAtA []byte, err error) {
  1850. size := m.Size()
  1851. dAtA = make([]byte, size)
  1852. n, err := m.MarshalTo(dAtA)
  1853. if err != nil {
  1854. return nil, err
  1855. }
  1856. return dAtA[:n], nil
  1857. }
  1858. func (m *ConfigMapKeySelector) MarshalTo(dAtA []byte) (int, error) {
  1859. var i int
  1860. _ = i
  1861. var l int
  1862. _ = l
  1863. dAtA[i] = 0xa
  1864. i++
  1865. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  1866. n15, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  1867. if err != nil {
  1868. return 0, err
  1869. }
  1870. i += n15
  1871. dAtA[i] = 0x12
  1872. i++
  1873. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  1874. i += copy(dAtA[i:], m.Key)
  1875. if m.Optional != nil {
  1876. dAtA[i] = 0x18
  1877. i++
  1878. if *m.Optional {
  1879. dAtA[i] = 1
  1880. } else {
  1881. dAtA[i] = 0
  1882. }
  1883. i++
  1884. }
  1885. return i, nil
  1886. }
  1887. func (m *ConfigMapList) Marshal() (dAtA []byte, err error) {
  1888. size := m.Size()
  1889. dAtA = make([]byte, size)
  1890. n, err := m.MarshalTo(dAtA)
  1891. if err != nil {
  1892. return nil, err
  1893. }
  1894. return dAtA[:n], nil
  1895. }
  1896. func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error) {
  1897. var i int
  1898. _ = i
  1899. var l int
  1900. _ = l
  1901. dAtA[i] = 0xa
  1902. i++
  1903. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1904. n16, err := m.ListMeta.MarshalTo(dAtA[i:])
  1905. if err != nil {
  1906. return 0, err
  1907. }
  1908. i += n16
  1909. if len(m.Items) > 0 {
  1910. for _, msg := range m.Items {
  1911. dAtA[i] = 0x12
  1912. i++
  1913. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1914. n, err := msg.MarshalTo(dAtA[i:])
  1915. if err != nil {
  1916. return 0, err
  1917. }
  1918. i += n
  1919. }
  1920. }
  1921. return i, nil
  1922. }
  1923. func (m *ConfigMapProjection) Marshal() (dAtA []byte, err error) {
  1924. size := m.Size()
  1925. dAtA = make([]byte, size)
  1926. n, err := m.MarshalTo(dAtA)
  1927. if err != nil {
  1928. return nil, err
  1929. }
  1930. return dAtA[:n], nil
  1931. }
  1932. func (m *ConfigMapProjection) MarshalTo(dAtA []byte) (int, error) {
  1933. var i int
  1934. _ = i
  1935. var l int
  1936. _ = l
  1937. dAtA[i] = 0xa
  1938. i++
  1939. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  1940. n17, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  1941. if err != nil {
  1942. return 0, err
  1943. }
  1944. i += n17
  1945. if len(m.Items) > 0 {
  1946. for _, msg := range m.Items {
  1947. dAtA[i] = 0x12
  1948. i++
  1949. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1950. n, err := msg.MarshalTo(dAtA[i:])
  1951. if err != nil {
  1952. return 0, err
  1953. }
  1954. i += n
  1955. }
  1956. }
  1957. if m.Optional != nil {
  1958. dAtA[i] = 0x20
  1959. i++
  1960. if *m.Optional {
  1961. dAtA[i] = 1
  1962. } else {
  1963. dAtA[i] = 0
  1964. }
  1965. i++
  1966. }
  1967. return i, nil
  1968. }
  1969. func (m *ConfigMapVolumeSource) Marshal() (dAtA []byte, err error) {
  1970. size := m.Size()
  1971. dAtA = make([]byte, size)
  1972. n, err := m.MarshalTo(dAtA)
  1973. if err != nil {
  1974. return nil, err
  1975. }
  1976. return dAtA[:n], nil
  1977. }
  1978. func (m *ConfigMapVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  1979. var i int
  1980. _ = i
  1981. var l int
  1982. _ = l
  1983. dAtA[i] = 0xa
  1984. i++
  1985. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  1986. n18, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  1987. if err != nil {
  1988. return 0, err
  1989. }
  1990. i += n18
  1991. if len(m.Items) > 0 {
  1992. for _, msg := range m.Items {
  1993. dAtA[i] = 0x12
  1994. i++
  1995. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1996. n, err := msg.MarshalTo(dAtA[i:])
  1997. if err != nil {
  1998. return 0, err
  1999. }
  2000. i += n
  2001. }
  2002. }
  2003. if m.DefaultMode != nil {
  2004. dAtA[i] = 0x18
  2005. i++
  2006. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  2007. }
  2008. if m.Optional != nil {
  2009. dAtA[i] = 0x20
  2010. i++
  2011. if *m.Optional {
  2012. dAtA[i] = 1
  2013. } else {
  2014. dAtA[i] = 0
  2015. }
  2016. i++
  2017. }
  2018. return i, nil
  2019. }
  2020. func (m *Container) Marshal() (dAtA []byte, err error) {
  2021. size := m.Size()
  2022. dAtA = make([]byte, size)
  2023. n, err := m.MarshalTo(dAtA)
  2024. if err != nil {
  2025. return nil, err
  2026. }
  2027. return dAtA[:n], nil
  2028. }
  2029. func (m *Container) MarshalTo(dAtA []byte) (int, error) {
  2030. var i int
  2031. _ = i
  2032. var l int
  2033. _ = l
  2034. dAtA[i] = 0xa
  2035. i++
  2036. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2037. i += copy(dAtA[i:], m.Name)
  2038. dAtA[i] = 0x12
  2039. i++
  2040. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Image)))
  2041. i += copy(dAtA[i:], m.Image)
  2042. if len(m.Command) > 0 {
  2043. for _, s := range m.Command {
  2044. dAtA[i] = 0x1a
  2045. i++
  2046. l = len(s)
  2047. for l >= 1<<7 {
  2048. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2049. l >>= 7
  2050. i++
  2051. }
  2052. dAtA[i] = uint8(l)
  2053. i++
  2054. i += copy(dAtA[i:], s)
  2055. }
  2056. }
  2057. if len(m.Args) > 0 {
  2058. for _, s := range m.Args {
  2059. dAtA[i] = 0x22
  2060. i++
  2061. l = len(s)
  2062. for l >= 1<<7 {
  2063. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2064. l >>= 7
  2065. i++
  2066. }
  2067. dAtA[i] = uint8(l)
  2068. i++
  2069. i += copy(dAtA[i:], s)
  2070. }
  2071. }
  2072. dAtA[i] = 0x2a
  2073. i++
  2074. i = encodeVarintGenerated(dAtA, i, uint64(len(m.WorkingDir)))
  2075. i += copy(dAtA[i:], m.WorkingDir)
  2076. if len(m.Ports) > 0 {
  2077. for _, msg := range m.Ports {
  2078. dAtA[i] = 0x32
  2079. i++
  2080. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2081. n, err := msg.MarshalTo(dAtA[i:])
  2082. if err != nil {
  2083. return 0, err
  2084. }
  2085. i += n
  2086. }
  2087. }
  2088. if len(m.Env) > 0 {
  2089. for _, msg := range m.Env {
  2090. dAtA[i] = 0x3a
  2091. i++
  2092. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2093. n, err := msg.MarshalTo(dAtA[i:])
  2094. if err != nil {
  2095. return 0, err
  2096. }
  2097. i += n
  2098. }
  2099. }
  2100. dAtA[i] = 0x42
  2101. i++
  2102. i = encodeVarintGenerated(dAtA, i, uint64(m.Resources.Size()))
  2103. n19, err := m.Resources.MarshalTo(dAtA[i:])
  2104. if err != nil {
  2105. return 0, err
  2106. }
  2107. i += n19
  2108. if len(m.VolumeMounts) > 0 {
  2109. for _, msg := range m.VolumeMounts {
  2110. dAtA[i] = 0x4a
  2111. i++
  2112. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2113. n, err := msg.MarshalTo(dAtA[i:])
  2114. if err != nil {
  2115. return 0, err
  2116. }
  2117. i += n
  2118. }
  2119. }
  2120. if m.LivenessProbe != nil {
  2121. dAtA[i] = 0x52
  2122. i++
  2123. i = encodeVarintGenerated(dAtA, i, uint64(m.LivenessProbe.Size()))
  2124. n20, err := m.LivenessProbe.MarshalTo(dAtA[i:])
  2125. if err != nil {
  2126. return 0, err
  2127. }
  2128. i += n20
  2129. }
  2130. if m.ReadinessProbe != nil {
  2131. dAtA[i] = 0x5a
  2132. i++
  2133. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadinessProbe.Size()))
  2134. n21, err := m.ReadinessProbe.MarshalTo(dAtA[i:])
  2135. if err != nil {
  2136. return 0, err
  2137. }
  2138. i += n21
  2139. }
  2140. if m.Lifecycle != nil {
  2141. dAtA[i] = 0x62
  2142. i++
  2143. i = encodeVarintGenerated(dAtA, i, uint64(m.Lifecycle.Size()))
  2144. n22, err := m.Lifecycle.MarshalTo(dAtA[i:])
  2145. if err != nil {
  2146. return 0, err
  2147. }
  2148. i += n22
  2149. }
  2150. dAtA[i] = 0x6a
  2151. i++
  2152. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TerminationMessagePath)))
  2153. i += copy(dAtA[i:], m.TerminationMessagePath)
  2154. dAtA[i] = 0x72
  2155. i++
  2156. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ImagePullPolicy)))
  2157. i += copy(dAtA[i:], m.ImagePullPolicy)
  2158. if m.SecurityContext != nil {
  2159. dAtA[i] = 0x7a
  2160. i++
  2161. i = encodeVarintGenerated(dAtA, i, uint64(m.SecurityContext.Size()))
  2162. n23, err := m.SecurityContext.MarshalTo(dAtA[i:])
  2163. if err != nil {
  2164. return 0, err
  2165. }
  2166. i += n23
  2167. }
  2168. dAtA[i] = 0x80
  2169. i++
  2170. dAtA[i] = 0x1
  2171. i++
  2172. if m.Stdin {
  2173. dAtA[i] = 1
  2174. } else {
  2175. dAtA[i] = 0
  2176. }
  2177. i++
  2178. dAtA[i] = 0x88
  2179. i++
  2180. dAtA[i] = 0x1
  2181. i++
  2182. if m.StdinOnce {
  2183. dAtA[i] = 1
  2184. } else {
  2185. dAtA[i] = 0
  2186. }
  2187. i++
  2188. dAtA[i] = 0x90
  2189. i++
  2190. dAtA[i] = 0x1
  2191. i++
  2192. if m.TTY {
  2193. dAtA[i] = 1
  2194. } else {
  2195. dAtA[i] = 0
  2196. }
  2197. i++
  2198. if len(m.EnvFrom) > 0 {
  2199. for _, msg := range m.EnvFrom {
  2200. dAtA[i] = 0x9a
  2201. i++
  2202. dAtA[i] = 0x1
  2203. i++
  2204. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2205. n, err := msg.MarshalTo(dAtA[i:])
  2206. if err != nil {
  2207. return 0, err
  2208. }
  2209. i += n
  2210. }
  2211. }
  2212. dAtA[i] = 0xa2
  2213. i++
  2214. dAtA[i] = 0x1
  2215. i++
  2216. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TerminationMessagePolicy)))
  2217. i += copy(dAtA[i:], m.TerminationMessagePolicy)
  2218. if len(m.VolumeDevices) > 0 {
  2219. for _, msg := range m.VolumeDevices {
  2220. dAtA[i] = 0xaa
  2221. i++
  2222. dAtA[i] = 0x1
  2223. i++
  2224. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2225. n, err := msg.MarshalTo(dAtA[i:])
  2226. if err != nil {
  2227. return 0, err
  2228. }
  2229. i += n
  2230. }
  2231. }
  2232. return i, nil
  2233. }
  2234. func (m *ContainerImage) 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 *ContainerImage) MarshalTo(dAtA []byte) (int, error) {
  2244. var i int
  2245. _ = i
  2246. var l int
  2247. _ = l
  2248. if len(m.Names) > 0 {
  2249. for _, s := range m.Names {
  2250. dAtA[i] = 0xa
  2251. i++
  2252. l = len(s)
  2253. for l >= 1<<7 {
  2254. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2255. l >>= 7
  2256. i++
  2257. }
  2258. dAtA[i] = uint8(l)
  2259. i++
  2260. i += copy(dAtA[i:], s)
  2261. }
  2262. }
  2263. dAtA[i] = 0x10
  2264. i++
  2265. i = encodeVarintGenerated(dAtA, i, uint64(m.SizeBytes))
  2266. return i, nil
  2267. }
  2268. func (m *ContainerPort) Marshal() (dAtA []byte, err error) {
  2269. size := m.Size()
  2270. dAtA = make([]byte, size)
  2271. n, err := m.MarshalTo(dAtA)
  2272. if err != nil {
  2273. return nil, err
  2274. }
  2275. return dAtA[:n], nil
  2276. }
  2277. func (m *ContainerPort) MarshalTo(dAtA []byte) (int, error) {
  2278. var i int
  2279. _ = i
  2280. var l int
  2281. _ = l
  2282. dAtA[i] = 0xa
  2283. i++
  2284. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2285. i += copy(dAtA[i:], m.Name)
  2286. dAtA[i] = 0x10
  2287. i++
  2288. i = encodeVarintGenerated(dAtA, i, uint64(m.HostPort))
  2289. dAtA[i] = 0x18
  2290. i++
  2291. i = encodeVarintGenerated(dAtA, i, uint64(m.ContainerPort))
  2292. dAtA[i] = 0x22
  2293. i++
  2294. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Protocol)))
  2295. i += copy(dAtA[i:], m.Protocol)
  2296. dAtA[i] = 0x2a
  2297. i++
  2298. i = encodeVarintGenerated(dAtA, i, uint64(len(m.HostIP)))
  2299. i += copy(dAtA[i:], m.HostIP)
  2300. return i, nil
  2301. }
  2302. func (m *ContainerState) Marshal() (dAtA []byte, err error) {
  2303. size := m.Size()
  2304. dAtA = make([]byte, size)
  2305. n, err := m.MarshalTo(dAtA)
  2306. if err != nil {
  2307. return nil, err
  2308. }
  2309. return dAtA[:n], nil
  2310. }
  2311. func (m *ContainerState) MarshalTo(dAtA []byte) (int, error) {
  2312. var i int
  2313. _ = i
  2314. var l int
  2315. _ = l
  2316. if m.Waiting != nil {
  2317. dAtA[i] = 0xa
  2318. i++
  2319. i = encodeVarintGenerated(dAtA, i, uint64(m.Waiting.Size()))
  2320. n24, err := m.Waiting.MarshalTo(dAtA[i:])
  2321. if err != nil {
  2322. return 0, err
  2323. }
  2324. i += n24
  2325. }
  2326. if m.Running != nil {
  2327. dAtA[i] = 0x12
  2328. i++
  2329. i = encodeVarintGenerated(dAtA, i, uint64(m.Running.Size()))
  2330. n25, err := m.Running.MarshalTo(dAtA[i:])
  2331. if err != nil {
  2332. return 0, err
  2333. }
  2334. i += n25
  2335. }
  2336. if m.Terminated != nil {
  2337. dAtA[i] = 0x1a
  2338. i++
  2339. i = encodeVarintGenerated(dAtA, i, uint64(m.Terminated.Size()))
  2340. n26, err := m.Terminated.MarshalTo(dAtA[i:])
  2341. if err != nil {
  2342. return 0, err
  2343. }
  2344. i += n26
  2345. }
  2346. return i, nil
  2347. }
  2348. func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error) {
  2349. size := m.Size()
  2350. dAtA = make([]byte, size)
  2351. n, err := m.MarshalTo(dAtA)
  2352. if err != nil {
  2353. return nil, err
  2354. }
  2355. return dAtA[:n], nil
  2356. }
  2357. func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error) {
  2358. var i int
  2359. _ = i
  2360. var l int
  2361. _ = l
  2362. dAtA[i] = 0xa
  2363. i++
  2364. i = encodeVarintGenerated(dAtA, i, uint64(m.StartedAt.Size()))
  2365. n27, err := m.StartedAt.MarshalTo(dAtA[i:])
  2366. if err != nil {
  2367. return 0, err
  2368. }
  2369. i += n27
  2370. return i, nil
  2371. }
  2372. func (m *ContainerStateTerminated) Marshal() (dAtA []byte, err error) {
  2373. size := m.Size()
  2374. dAtA = make([]byte, size)
  2375. n, err := m.MarshalTo(dAtA)
  2376. if err != nil {
  2377. return nil, err
  2378. }
  2379. return dAtA[:n], nil
  2380. }
  2381. func (m *ContainerStateTerminated) MarshalTo(dAtA []byte) (int, error) {
  2382. var i int
  2383. _ = i
  2384. var l int
  2385. _ = l
  2386. dAtA[i] = 0x8
  2387. i++
  2388. i = encodeVarintGenerated(dAtA, i, uint64(m.ExitCode))
  2389. dAtA[i] = 0x10
  2390. i++
  2391. i = encodeVarintGenerated(dAtA, i, uint64(m.Signal))
  2392. dAtA[i] = 0x1a
  2393. i++
  2394. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  2395. i += copy(dAtA[i:], m.Reason)
  2396. dAtA[i] = 0x22
  2397. i++
  2398. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  2399. i += copy(dAtA[i:], m.Message)
  2400. dAtA[i] = 0x2a
  2401. i++
  2402. i = encodeVarintGenerated(dAtA, i, uint64(m.StartedAt.Size()))
  2403. n28, err := m.StartedAt.MarshalTo(dAtA[i:])
  2404. if err != nil {
  2405. return 0, err
  2406. }
  2407. i += n28
  2408. dAtA[i] = 0x32
  2409. i++
  2410. i = encodeVarintGenerated(dAtA, i, uint64(m.FinishedAt.Size()))
  2411. n29, err := m.FinishedAt.MarshalTo(dAtA[i:])
  2412. if err != nil {
  2413. return 0, err
  2414. }
  2415. i += n29
  2416. dAtA[i] = 0x3a
  2417. i++
  2418. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerID)))
  2419. i += copy(dAtA[i:], m.ContainerID)
  2420. return i, nil
  2421. }
  2422. func (m *ContainerStateWaiting) Marshal() (dAtA []byte, err error) {
  2423. size := m.Size()
  2424. dAtA = make([]byte, size)
  2425. n, err := m.MarshalTo(dAtA)
  2426. if err != nil {
  2427. return nil, err
  2428. }
  2429. return dAtA[:n], nil
  2430. }
  2431. func (m *ContainerStateWaiting) MarshalTo(dAtA []byte) (int, error) {
  2432. var i int
  2433. _ = i
  2434. var l int
  2435. _ = l
  2436. dAtA[i] = 0xa
  2437. i++
  2438. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  2439. i += copy(dAtA[i:], m.Reason)
  2440. dAtA[i] = 0x12
  2441. i++
  2442. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  2443. i += copy(dAtA[i:], m.Message)
  2444. return i, nil
  2445. }
  2446. func (m *ContainerStatus) Marshal() (dAtA []byte, err error) {
  2447. size := m.Size()
  2448. dAtA = make([]byte, size)
  2449. n, err := m.MarshalTo(dAtA)
  2450. if err != nil {
  2451. return nil, err
  2452. }
  2453. return dAtA[:n], nil
  2454. }
  2455. func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) {
  2456. var i int
  2457. _ = i
  2458. var l int
  2459. _ = l
  2460. dAtA[i] = 0xa
  2461. i++
  2462. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2463. i += copy(dAtA[i:], m.Name)
  2464. dAtA[i] = 0x12
  2465. i++
  2466. i = encodeVarintGenerated(dAtA, i, uint64(m.State.Size()))
  2467. n30, err := m.State.MarshalTo(dAtA[i:])
  2468. if err != nil {
  2469. return 0, err
  2470. }
  2471. i += n30
  2472. dAtA[i] = 0x1a
  2473. i++
  2474. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTerminationState.Size()))
  2475. n31, err := m.LastTerminationState.MarshalTo(dAtA[i:])
  2476. if err != nil {
  2477. return 0, err
  2478. }
  2479. i += n31
  2480. dAtA[i] = 0x20
  2481. i++
  2482. if m.Ready {
  2483. dAtA[i] = 1
  2484. } else {
  2485. dAtA[i] = 0
  2486. }
  2487. i++
  2488. dAtA[i] = 0x28
  2489. i++
  2490. i = encodeVarintGenerated(dAtA, i, uint64(m.RestartCount))
  2491. dAtA[i] = 0x32
  2492. i++
  2493. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Image)))
  2494. i += copy(dAtA[i:], m.Image)
  2495. dAtA[i] = 0x3a
  2496. i++
  2497. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ImageID)))
  2498. i += copy(dAtA[i:], m.ImageID)
  2499. dAtA[i] = 0x42
  2500. i++
  2501. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerID)))
  2502. i += copy(dAtA[i:], m.ContainerID)
  2503. return i, nil
  2504. }
  2505. func (m *DaemonEndpoint) Marshal() (dAtA []byte, err error) {
  2506. size := m.Size()
  2507. dAtA = make([]byte, size)
  2508. n, err := m.MarshalTo(dAtA)
  2509. if err != nil {
  2510. return nil, err
  2511. }
  2512. return dAtA[:n], nil
  2513. }
  2514. func (m *DaemonEndpoint) MarshalTo(dAtA []byte) (int, error) {
  2515. var i int
  2516. _ = i
  2517. var l int
  2518. _ = l
  2519. dAtA[i] = 0x8
  2520. i++
  2521. i = encodeVarintGenerated(dAtA, i, uint64(m.Port))
  2522. return i, nil
  2523. }
  2524. func (m *DeleteOptions) Marshal() (dAtA []byte, err error) {
  2525. size := m.Size()
  2526. dAtA = make([]byte, size)
  2527. n, err := m.MarshalTo(dAtA)
  2528. if err != nil {
  2529. return nil, err
  2530. }
  2531. return dAtA[:n], nil
  2532. }
  2533. func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error) {
  2534. var i int
  2535. _ = i
  2536. var l int
  2537. _ = l
  2538. if m.GracePeriodSeconds != nil {
  2539. dAtA[i] = 0x8
  2540. i++
  2541. i = encodeVarintGenerated(dAtA, i, uint64(*m.GracePeriodSeconds))
  2542. }
  2543. if m.Preconditions != nil {
  2544. dAtA[i] = 0x12
  2545. i++
  2546. i = encodeVarintGenerated(dAtA, i, uint64(m.Preconditions.Size()))
  2547. n32, err := m.Preconditions.MarshalTo(dAtA[i:])
  2548. if err != nil {
  2549. return 0, err
  2550. }
  2551. i += n32
  2552. }
  2553. if m.OrphanDependents != nil {
  2554. dAtA[i] = 0x18
  2555. i++
  2556. if *m.OrphanDependents {
  2557. dAtA[i] = 1
  2558. } else {
  2559. dAtA[i] = 0
  2560. }
  2561. i++
  2562. }
  2563. if m.PropagationPolicy != nil {
  2564. dAtA[i] = 0x22
  2565. i++
  2566. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PropagationPolicy)))
  2567. i += copy(dAtA[i:], *m.PropagationPolicy)
  2568. }
  2569. return i, nil
  2570. }
  2571. func (m *DownwardAPIProjection) Marshal() (dAtA []byte, err error) {
  2572. size := m.Size()
  2573. dAtA = make([]byte, size)
  2574. n, err := m.MarshalTo(dAtA)
  2575. if err != nil {
  2576. return nil, err
  2577. }
  2578. return dAtA[:n], nil
  2579. }
  2580. func (m *DownwardAPIProjection) MarshalTo(dAtA []byte) (int, error) {
  2581. var i int
  2582. _ = i
  2583. var l int
  2584. _ = l
  2585. if len(m.Items) > 0 {
  2586. for _, msg := range m.Items {
  2587. dAtA[i] = 0xa
  2588. i++
  2589. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2590. n, err := msg.MarshalTo(dAtA[i:])
  2591. if err != nil {
  2592. return 0, err
  2593. }
  2594. i += n
  2595. }
  2596. }
  2597. return i, nil
  2598. }
  2599. func (m *DownwardAPIVolumeFile) Marshal() (dAtA []byte, err error) {
  2600. size := m.Size()
  2601. dAtA = make([]byte, size)
  2602. n, err := m.MarshalTo(dAtA)
  2603. if err != nil {
  2604. return nil, err
  2605. }
  2606. return dAtA[:n], nil
  2607. }
  2608. func (m *DownwardAPIVolumeFile) MarshalTo(dAtA []byte) (int, error) {
  2609. var i int
  2610. _ = i
  2611. var l int
  2612. _ = l
  2613. dAtA[i] = 0xa
  2614. i++
  2615. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  2616. i += copy(dAtA[i:], m.Path)
  2617. if m.FieldRef != nil {
  2618. dAtA[i] = 0x12
  2619. i++
  2620. i = encodeVarintGenerated(dAtA, i, uint64(m.FieldRef.Size()))
  2621. n33, err := m.FieldRef.MarshalTo(dAtA[i:])
  2622. if err != nil {
  2623. return 0, err
  2624. }
  2625. i += n33
  2626. }
  2627. if m.ResourceFieldRef != nil {
  2628. dAtA[i] = 0x1a
  2629. i++
  2630. i = encodeVarintGenerated(dAtA, i, uint64(m.ResourceFieldRef.Size()))
  2631. n34, err := m.ResourceFieldRef.MarshalTo(dAtA[i:])
  2632. if err != nil {
  2633. return 0, err
  2634. }
  2635. i += n34
  2636. }
  2637. if m.Mode != nil {
  2638. dAtA[i] = 0x20
  2639. i++
  2640. i = encodeVarintGenerated(dAtA, i, uint64(*m.Mode))
  2641. }
  2642. return i, nil
  2643. }
  2644. func (m *DownwardAPIVolumeSource) Marshal() (dAtA []byte, err error) {
  2645. size := m.Size()
  2646. dAtA = make([]byte, size)
  2647. n, err := m.MarshalTo(dAtA)
  2648. if err != nil {
  2649. return nil, err
  2650. }
  2651. return dAtA[:n], nil
  2652. }
  2653. func (m *DownwardAPIVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  2654. var i int
  2655. _ = i
  2656. var l int
  2657. _ = l
  2658. if len(m.Items) > 0 {
  2659. for _, msg := range m.Items {
  2660. dAtA[i] = 0xa
  2661. i++
  2662. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2663. n, err := msg.MarshalTo(dAtA[i:])
  2664. if err != nil {
  2665. return 0, err
  2666. }
  2667. i += n
  2668. }
  2669. }
  2670. if m.DefaultMode != nil {
  2671. dAtA[i] = 0x10
  2672. i++
  2673. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  2674. }
  2675. return i, nil
  2676. }
  2677. func (m *EmptyDirVolumeSource) Marshal() (dAtA []byte, err error) {
  2678. size := m.Size()
  2679. dAtA = make([]byte, size)
  2680. n, err := m.MarshalTo(dAtA)
  2681. if err != nil {
  2682. return nil, err
  2683. }
  2684. return dAtA[:n], nil
  2685. }
  2686. func (m *EmptyDirVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  2687. var i int
  2688. _ = i
  2689. var l int
  2690. _ = l
  2691. dAtA[i] = 0xa
  2692. i++
  2693. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Medium)))
  2694. i += copy(dAtA[i:], m.Medium)
  2695. if m.SizeLimit != nil {
  2696. dAtA[i] = 0x12
  2697. i++
  2698. i = encodeVarintGenerated(dAtA, i, uint64(m.SizeLimit.Size()))
  2699. n35, err := m.SizeLimit.MarshalTo(dAtA[i:])
  2700. if err != nil {
  2701. return 0, err
  2702. }
  2703. i += n35
  2704. }
  2705. return i, nil
  2706. }
  2707. func (m *EndpointAddress) Marshal() (dAtA []byte, err error) {
  2708. size := m.Size()
  2709. dAtA = make([]byte, size)
  2710. n, err := m.MarshalTo(dAtA)
  2711. if err != nil {
  2712. return nil, err
  2713. }
  2714. return dAtA[:n], nil
  2715. }
  2716. func (m *EndpointAddress) MarshalTo(dAtA []byte) (int, error) {
  2717. var i int
  2718. _ = i
  2719. var l int
  2720. _ = l
  2721. dAtA[i] = 0xa
  2722. i++
  2723. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IP)))
  2724. i += copy(dAtA[i:], m.IP)
  2725. if m.TargetRef != nil {
  2726. dAtA[i] = 0x12
  2727. i++
  2728. i = encodeVarintGenerated(dAtA, i, uint64(m.TargetRef.Size()))
  2729. n36, err := m.TargetRef.MarshalTo(dAtA[i:])
  2730. if err != nil {
  2731. return 0, err
  2732. }
  2733. i += n36
  2734. }
  2735. dAtA[i] = 0x1a
  2736. i++
  2737. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
  2738. i += copy(dAtA[i:], m.Hostname)
  2739. if m.NodeName != nil {
  2740. dAtA[i] = 0x22
  2741. i++
  2742. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.NodeName)))
  2743. i += copy(dAtA[i:], *m.NodeName)
  2744. }
  2745. return i, nil
  2746. }
  2747. func (m *EndpointPort) Marshal() (dAtA []byte, err error) {
  2748. size := m.Size()
  2749. dAtA = make([]byte, size)
  2750. n, err := m.MarshalTo(dAtA)
  2751. if err != nil {
  2752. return nil, err
  2753. }
  2754. return dAtA[:n], nil
  2755. }
  2756. func (m *EndpointPort) MarshalTo(dAtA []byte) (int, error) {
  2757. var i int
  2758. _ = i
  2759. var l int
  2760. _ = l
  2761. dAtA[i] = 0xa
  2762. i++
  2763. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2764. i += copy(dAtA[i:], m.Name)
  2765. dAtA[i] = 0x10
  2766. i++
  2767. i = encodeVarintGenerated(dAtA, i, uint64(m.Port))
  2768. dAtA[i] = 0x1a
  2769. i++
  2770. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Protocol)))
  2771. i += copy(dAtA[i:], m.Protocol)
  2772. return i, nil
  2773. }
  2774. func (m *EndpointSubset) Marshal() (dAtA []byte, err error) {
  2775. size := m.Size()
  2776. dAtA = make([]byte, size)
  2777. n, err := m.MarshalTo(dAtA)
  2778. if err != nil {
  2779. return nil, err
  2780. }
  2781. return dAtA[:n], nil
  2782. }
  2783. func (m *EndpointSubset) MarshalTo(dAtA []byte) (int, error) {
  2784. var i int
  2785. _ = i
  2786. var l int
  2787. _ = l
  2788. if len(m.Addresses) > 0 {
  2789. for _, msg := range m.Addresses {
  2790. dAtA[i] = 0xa
  2791. i++
  2792. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2793. n, err := msg.MarshalTo(dAtA[i:])
  2794. if err != nil {
  2795. return 0, err
  2796. }
  2797. i += n
  2798. }
  2799. }
  2800. if len(m.NotReadyAddresses) > 0 {
  2801. for _, msg := range m.NotReadyAddresses {
  2802. dAtA[i] = 0x12
  2803. i++
  2804. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2805. n, err := msg.MarshalTo(dAtA[i:])
  2806. if err != nil {
  2807. return 0, err
  2808. }
  2809. i += n
  2810. }
  2811. }
  2812. if len(m.Ports) > 0 {
  2813. for _, msg := range m.Ports {
  2814. dAtA[i] = 0x1a
  2815. i++
  2816. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2817. n, err := msg.MarshalTo(dAtA[i:])
  2818. if err != nil {
  2819. return 0, err
  2820. }
  2821. i += n
  2822. }
  2823. }
  2824. return i, nil
  2825. }
  2826. func (m *Endpoints) Marshal() (dAtA []byte, err error) {
  2827. size := m.Size()
  2828. dAtA = make([]byte, size)
  2829. n, err := m.MarshalTo(dAtA)
  2830. if err != nil {
  2831. return nil, err
  2832. }
  2833. return dAtA[:n], nil
  2834. }
  2835. func (m *Endpoints) MarshalTo(dAtA []byte) (int, error) {
  2836. var i int
  2837. _ = i
  2838. var l int
  2839. _ = l
  2840. dAtA[i] = 0xa
  2841. i++
  2842. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  2843. n37, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  2844. if err != nil {
  2845. return 0, err
  2846. }
  2847. i += n37
  2848. if len(m.Subsets) > 0 {
  2849. for _, msg := range m.Subsets {
  2850. dAtA[i] = 0x12
  2851. i++
  2852. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2853. n, err := msg.MarshalTo(dAtA[i:])
  2854. if err != nil {
  2855. return 0, err
  2856. }
  2857. i += n
  2858. }
  2859. }
  2860. return i, nil
  2861. }
  2862. func (m *EndpointsList) Marshal() (dAtA []byte, err error) {
  2863. size := m.Size()
  2864. dAtA = make([]byte, size)
  2865. n, err := m.MarshalTo(dAtA)
  2866. if err != nil {
  2867. return nil, err
  2868. }
  2869. return dAtA[:n], nil
  2870. }
  2871. func (m *EndpointsList) MarshalTo(dAtA []byte) (int, error) {
  2872. var i int
  2873. _ = i
  2874. var l int
  2875. _ = l
  2876. dAtA[i] = 0xa
  2877. i++
  2878. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  2879. n38, err := m.ListMeta.MarshalTo(dAtA[i:])
  2880. if err != nil {
  2881. return 0, err
  2882. }
  2883. i += n38
  2884. if len(m.Items) > 0 {
  2885. for _, msg := range m.Items {
  2886. dAtA[i] = 0x12
  2887. i++
  2888. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2889. n, err := msg.MarshalTo(dAtA[i:])
  2890. if err != nil {
  2891. return 0, err
  2892. }
  2893. i += n
  2894. }
  2895. }
  2896. return i, nil
  2897. }
  2898. func (m *EnvFromSource) Marshal() (dAtA []byte, err error) {
  2899. size := m.Size()
  2900. dAtA = make([]byte, size)
  2901. n, err := m.MarshalTo(dAtA)
  2902. if err != nil {
  2903. return nil, err
  2904. }
  2905. return dAtA[:n], nil
  2906. }
  2907. func (m *EnvFromSource) MarshalTo(dAtA []byte) (int, error) {
  2908. var i int
  2909. _ = i
  2910. var l int
  2911. _ = l
  2912. dAtA[i] = 0xa
  2913. i++
  2914. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Prefix)))
  2915. i += copy(dAtA[i:], m.Prefix)
  2916. if m.ConfigMapRef != nil {
  2917. dAtA[i] = 0x12
  2918. i++
  2919. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMapRef.Size()))
  2920. n39, err := m.ConfigMapRef.MarshalTo(dAtA[i:])
  2921. if err != nil {
  2922. return 0, err
  2923. }
  2924. i += n39
  2925. }
  2926. if m.SecretRef != nil {
  2927. dAtA[i] = 0x1a
  2928. i++
  2929. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  2930. n40, err := m.SecretRef.MarshalTo(dAtA[i:])
  2931. if err != nil {
  2932. return 0, err
  2933. }
  2934. i += n40
  2935. }
  2936. return i, nil
  2937. }
  2938. func (m *EnvVar) Marshal() (dAtA []byte, err error) {
  2939. size := m.Size()
  2940. dAtA = make([]byte, size)
  2941. n, err := m.MarshalTo(dAtA)
  2942. if err != nil {
  2943. return nil, err
  2944. }
  2945. return dAtA[:n], nil
  2946. }
  2947. func (m *EnvVar) MarshalTo(dAtA []byte) (int, error) {
  2948. var i int
  2949. _ = i
  2950. var l int
  2951. _ = l
  2952. dAtA[i] = 0xa
  2953. i++
  2954. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  2955. i += copy(dAtA[i:], m.Name)
  2956. dAtA[i] = 0x12
  2957. i++
  2958. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  2959. i += copy(dAtA[i:], m.Value)
  2960. if m.ValueFrom != nil {
  2961. dAtA[i] = 0x1a
  2962. i++
  2963. i = encodeVarintGenerated(dAtA, i, uint64(m.ValueFrom.Size()))
  2964. n41, err := m.ValueFrom.MarshalTo(dAtA[i:])
  2965. if err != nil {
  2966. return 0, err
  2967. }
  2968. i += n41
  2969. }
  2970. return i, nil
  2971. }
  2972. func (m *EnvVarSource) Marshal() (dAtA []byte, err error) {
  2973. size := m.Size()
  2974. dAtA = make([]byte, size)
  2975. n, err := m.MarshalTo(dAtA)
  2976. if err != nil {
  2977. return nil, err
  2978. }
  2979. return dAtA[:n], nil
  2980. }
  2981. func (m *EnvVarSource) MarshalTo(dAtA []byte) (int, error) {
  2982. var i int
  2983. _ = i
  2984. var l int
  2985. _ = l
  2986. if m.FieldRef != nil {
  2987. dAtA[i] = 0xa
  2988. i++
  2989. i = encodeVarintGenerated(dAtA, i, uint64(m.FieldRef.Size()))
  2990. n42, err := m.FieldRef.MarshalTo(dAtA[i:])
  2991. if err != nil {
  2992. return 0, err
  2993. }
  2994. i += n42
  2995. }
  2996. if m.ResourceFieldRef != nil {
  2997. dAtA[i] = 0x12
  2998. i++
  2999. i = encodeVarintGenerated(dAtA, i, uint64(m.ResourceFieldRef.Size()))
  3000. n43, err := m.ResourceFieldRef.MarshalTo(dAtA[i:])
  3001. if err != nil {
  3002. return 0, err
  3003. }
  3004. i += n43
  3005. }
  3006. if m.ConfigMapKeyRef != nil {
  3007. dAtA[i] = 0x1a
  3008. i++
  3009. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMapKeyRef.Size()))
  3010. n44, err := m.ConfigMapKeyRef.MarshalTo(dAtA[i:])
  3011. if err != nil {
  3012. return 0, err
  3013. }
  3014. i += n44
  3015. }
  3016. if m.SecretKeyRef != nil {
  3017. dAtA[i] = 0x22
  3018. i++
  3019. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretKeyRef.Size()))
  3020. n45, err := m.SecretKeyRef.MarshalTo(dAtA[i:])
  3021. if err != nil {
  3022. return 0, err
  3023. }
  3024. i += n45
  3025. }
  3026. return i, nil
  3027. }
  3028. func (m *Event) Marshal() (dAtA []byte, err error) {
  3029. size := m.Size()
  3030. dAtA = make([]byte, size)
  3031. n, err := m.MarshalTo(dAtA)
  3032. if err != nil {
  3033. return nil, err
  3034. }
  3035. return dAtA[:n], nil
  3036. }
  3037. func (m *Event) MarshalTo(dAtA []byte) (int, error) {
  3038. var i int
  3039. _ = i
  3040. var l int
  3041. _ = l
  3042. dAtA[i] = 0xa
  3043. i++
  3044. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  3045. n46, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  3046. if err != nil {
  3047. return 0, err
  3048. }
  3049. i += n46
  3050. dAtA[i] = 0x12
  3051. i++
  3052. i = encodeVarintGenerated(dAtA, i, uint64(m.InvolvedObject.Size()))
  3053. n47, err := m.InvolvedObject.MarshalTo(dAtA[i:])
  3054. if err != nil {
  3055. return 0, err
  3056. }
  3057. i += n47
  3058. dAtA[i] = 0x1a
  3059. i++
  3060. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  3061. i += copy(dAtA[i:], m.Reason)
  3062. dAtA[i] = 0x22
  3063. i++
  3064. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  3065. i += copy(dAtA[i:], m.Message)
  3066. dAtA[i] = 0x2a
  3067. i++
  3068. i = encodeVarintGenerated(dAtA, i, uint64(m.Source.Size()))
  3069. n48, err := m.Source.MarshalTo(dAtA[i:])
  3070. if err != nil {
  3071. return 0, err
  3072. }
  3073. i += n48
  3074. dAtA[i] = 0x32
  3075. i++
  3076. i = encodeVarintGenerated(dAtA, i, uint64(m.FirstTimestamp.Size()))
  3077. n49, err := m.FirstTimestamp.MarshalTo(dAtA[i:])
  3078. if err != nil {
  3079. return 0, err
  3080. }
  3081. i += n49
  3082. dAtA[i] = 0x3a
  3083. i++
  3084. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTimestamp.Size()))
  3085. n50, err := m.LastTimestamp.MarshalTo(dAtA[i:])
  3086. if err != nil {
  3087. return 0, err
  3088. }
  3089. i += n50
  3090. dAtA[i] = 0x40
  3091. i++
  3092. i = encodeVarintGenerated(dAtA, i, uint64(m.Count))
  3093. dAtA[i] = 0x4a
  3094. i++
  3095. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  3096. i += copy(dAtA[i:], m.Type)
  3097. dAtA[i] = 0x52
  3098. i++
  3099. i = encodeVarintGenerated(dAtA, i, uint64(m.EventTime.Size()))
  3100. n51, err := m.EventTime.MarshalTo(dAtA[i:])
  3101. if err != nil {
  3102. return 0, err
  3103. }
  3104. i += n51
  3105. if m.Series != nil {
  3106. dAtA[i] = 0x5a
  3107. i++
  3108. i = encodeVarintGenerated(dAtA, i, uint64(m.Series.Size()))
  3109. n52, err := m.Series.MarshalTo(dAtA[i:])
  3110. if err != nil {
  3111. return 0, err
  3112. }
  3113. i += n52
  3114. }
  3115. dAtA[i] = 0x62
  3116. i++
  3117. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Action)))
  3118. i += copy(dAtA[i:], m.Action)
  3119. if m.Related != nil {
  3120. dAtA[i] = 0x6a
  3121. i++
  3122. i = encodeVarintGenerated(dAtA, i, uint64(m.Related.Size()))
  3123. n53, err := m.Related.MarshalTo(dAtA[i:])
  3124. if err != nil {
  3125. return 0, err
  3126. }
  3127. i += n53
  3128. }
  3129. dAtA[i] = 0x72
  3130. i++
  3131. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ReportingController)))
  3132. i += copy(dAtA[i:], m.ReportingController)
  3133. dAtA[i] = 0x7a
  3134. i++
  3135. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ReportingInstance)))
  3136. i += copy(dAtA[i:], m.ReportingInstance)
  3137. return i, nil
  3138. }
  3139. func (m *EventList) 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 *EventList) MarshalTo(dAtA []byte) (int, error) {
  3149. var i int
  3150. _ = i
  3151. var l int
  3152. _ = l
  3153. dAtA[i] = 0xa
  3154. i++
  3155. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  3156. n54, err := m.ListMeta.MarshalTo(dAtA[i:])
  3157. if err != nil {
  3158. return 0, err
  3159. }
  3160. i += n54
  3161. if len(m.Items) > 0 {
  3162. for _, msg := range m.Items {
  3163. dAtA[i] = 0x12
  3164. i++
  3165. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  3166. n, err := msg.MarshalTo(dAtA[i:])
  3167. if err != nil {
  3168. return 0, err
  3169. }
  3170. i += n
  3171. }
  3172. }
  3173. return i, nil
  3174. }
  3175. func (m *EventSeries) Marshal() (dAtA []byte, err error) {
  3176. size := m.Size()
  3177. dAtA = make([]byte, size)
  3178. n, err := m.MarshalTo(dAtA)
  3179. if err != nil {
  3180. return nil, err
  3181. }
  3182. return dAtA[:n], nil
  3183. }
  3184. func (m *EventSeries) MarshalTo(dAtA []byte) (int, error) {
  3185. var i int
  3186. _ = i
  3187. var l int
  3188. _ = l
  3189. dAtA[i] = 0x8
  3190. i++
  3191. i = encodeVarintGenerated(dAtA, i, uint64(m.Count))
  3192. dAtA[i] = 0x12
  3193. i++
  3194. i = encodeVarintGenerated(dAtA, i, uint64(m.LastObservedTime.Size()))
  3195. n55, err := m.LastObservedTime.MarshalTo(dAtA[i:])
  3196. if err != nil {
  3197. return 0, err
  3198. }
  3199. i += n55
  3200. dAtA[i] = 0x1a
  3201. i++
  3202. i = encodeVarintGenerated(dAtA, i, uint64(len(m.State)))
  3203. i += copy(dAtA[i:], m.State)
  3204. return i, nil
  3205. }
  3206. func (m *EventSource) Marshal() (dAtA []byte, err error) {
  3207. size := m.Size()
  3208. dAtA = make([]byte, size)
  3209. n, err := m.MarshalTo(dAtA)
  3210. if err != nil {
  3211. return nil, err
  3212. }
  3213. return dAtA[:n], nil
  3214. }
  3215. func (m *EventSource) MarshalTo(dAtA []byte) (int, error) {
  3216. var i int
  3217. _ = i
  3218. var l int
  3219. _ = l
  3220. dAtA[i] = 0xa
  3221. i++
  3222. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Component)))
  3223. i += copy(dAtA[i:], m.Component)
  3224. dAtA[i] = 0x12
  3225. i++
  3226. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
  3227. i += copy(dAtA[i:], m.Host)
  3228. return i, nil
  3229. }
  3230. func (m *ExecAction) Marshal() (dAtA []byte, err error) {
  3231. size := m.Size()
  3232. dAtA = make([]byte, size)
  3233. n, err := m.MarshalTo(dAtA)
  3234. if err != nil {
  3235. return nil, err
  3236. }
  3237. return dAtA[:n], nil
  3238. }
  3239. func (m *ExecAction) MarshalTo(dAtA []byte) (int, error) {
  3240. var i int
  3241. _ = i
  3242. var l int
  3243. _ = l
  3244. if len(m.Command) > 0 {
  3245. for _, s := range m.Command {
  3246. dAtA[i] = 0xa
  3247. i++
  3248. l = len(s)
  3249. for l >= 1<<7 {
  3250. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3251. l >>= 7
  3252. i++
  3253. }
  3254. dAtA[i] = uint8(l)
  3255. i++
  3256. i += copy(dAtA[i:], s)
  3257. }
  3258. }
  3259. return i, nil
  3260. }
  3261. func (m *FCVolumeSource) Marshal() (dAtA []byte, err error) {
  3262. size := m.Size()
  3263. dAtA = make([]byte, size)
  3264. n, err := m.MarshalTo(dAtA)
  3265. if err != nil {
  3266. return nil, err
  3267. }
  3268. return dAtA[:n], nil
  3269. }
  3270. func (m *FCVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3271. var i int
  3272. _ = i
  3273. var l int
  3274. _ = l
  3275. if len(m.TargetWWNs) > 0 {
  3276. for _, s := range m.TargetWWNs {
  3277. dAtA[i] = 0xa
  3278. i++
  3279. l = len(s)
  3280. for l >= 1<<7 {
  3281. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3282. l >>= 7
  3283. i++
  3284. }
  3285. dAtA[i] = uint8(l)
  3286. i++
  3287. i += copy(dAtA[i:], s)
  3288. }
  3289. }
  3290. if m.Lun != nil {
  3291. dAtA[i] = 0x10
  3292. i++
  3293. i = encodeVarintGenerated(dAtA, i, uint64(*m.Lun))
  3294. }
  3295. dAtA[i] = 0x1a
  3296. i++
  3297. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3298. i += copy(dAtA[i:], m.FSType)
  3299. dAtA[i] = 0x20
  3300. i++
  3301. if m.ReadOnly {
  3302. dAtA[i] = 1
  3303. } else {
  3304. dAtA[i] = 0
  3305. }
  3306. i++
  3307. if len(m.WWIDs) > 0 {
  3308. for _, s := range m.WWIDs {
  3309. dAtA[i] = 0x2a
  3310. i++
  3311. l = len(s)
  3312. for l >= 1<<7 {
  3313. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3314. l >>= 7
  3315. i++
  3316. }
  3317. dAtA[i] = uint8(l)
  3318. i++
  3319. i += copy(dAtA[i:], s)
  3320. }
  3321. }
  3322. return i, nil
  3323. }
  3324. func (m *FlexPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  3325. size := m.Size()
  3326. dAtA = make([]byte, size)
  3327. n, err := m.MarshalTo(dAtA)
  3328. if err != nil {
  3329. return nil, err
  3330. }
  3331. return dAtA[:n], nil
  3332. }
  3333. func (m *FlexPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3334. var i int
  3335. _ = i
  3336. var l int
  3337. _ = l
  3338. dAtA[i] = 0xa
  3339. i++
  3340. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  3341. i += copy(dAtA[i:], m.Driver)
  3342. dAtA[i] = 0x12
  3343. i++
  3344. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3345. i += copy(dAtA[i:], m.FSType)
  3346. if m.SecretRef != nil {
  3347. dAtA[i] = 0x1a
  3348. i++
  3349. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  3350. n56, err := m.SecretRef.MarshalTo(dAtA[i:])
  3351. if err != nil {
  3352. return 0, err
  3353. }
  3354. i += n56
  3355. }
  3356. dAtA[i] = 0x20
  3357. i++
  3358. if m.ReadOnly {
  3359. dAtA[i] = 1
  3360. } else {
  3361. dAtA[i] = 0
  3362. }
  3363. i++
  3364. if len(m.Options) > 0 {
  3365. keysForOptions := make([]string, 0, len(m.Options))
  3366. for k := range m.Options {
  3367. keysForOptions = append(keysForOptions, string(k))
  3368. }
  3369. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  3370. for _, k := range keysForOptions {
  3371. dAtA[i] = 0x2a
  3372. i++
  3373. v := m.Options[string(k)]
  3374. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3375. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  3376. dAtA[i] = 0xa
  3377. i++
  3378. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  3379. i += copy(dAtA[i:], k)
  3380. dAtA[i] = 0x12
  3381. i++
  3382. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  3383. i += copy(dAtA[i:], v)
  3384. }
  3385. }
  3386. return i, nil
  3387. }
  3388. func (m *FlexVolumeSource) Marshal() (dAtA []byte, err error) {
  3389. size := m.Size()
  3390. dAtA = make([]byte, size)
  3391. n, err := m.MarshalTo(dAtA)
  3392. if err != nil {
  3393. return nil, err
  3394. }
  3395. return dAtA[:n], nil
  3396. }
  3397. func (m *FlexVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3398. var i int
  3399. _ = i
  3400. var l int
  3401. _ = l
  3402. dAtA[i] = 0xa
  3403. i++
  3404. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  3405. i += copy(dAtA[i:], m.Driver)
  3406. dAtA[i] = 0x12
  3407. i++
  3408. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3409. i += copy(dAtA[i:], m.FSType)
  3410. if m.SecretRef != nil {
  3411. dAtA[i] = 0x1a
  3412. i++
  3413. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  3414. n57, err := m.SecretRef.MarshalTo(dAtA[i:])
  3415. if err != nil {
  3416. return 0, err
  3417. }
  3418. i += n57
  3419. }
  3420. dAtA[i] = 0x20
  3421. i++
  3422. if m.ReadOnly {
  3423. dAtA[i] = 1
  3424. } else {
  3425. dAtA[i] = 0
  3426. }
  3427. i++
  3428. if len(m.Options) > 0 {
  3429. keysForOptions := make([]string, 0, len(m.Options))
  3430. for k := range m.Options {
  3431. keysForOptions = append(keysForOptions, string(k))
  3432. }
  3433. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  3434. for _, k := range keysForOptions {
  3435. dAtA[i] = 0x2a
  3436. i++
  3437. v := m.Options[string(k)]
  3438. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3439. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  3440. dAtA[i] = 0xa
  3441. i++
  3442. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  3443. i += copy(dAtA[i:], k)
  3444. dAtA[i] = 0x12
  3445. i++
  3446. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  3447. i += copy(dAtA[i:], v)
  3448. }
  3449. }
  3450. return i, nil
  3451. }
  3452. func (m *FlockerVolumeSource) Marshal() (dAtA []byte, err error) {
  3453. size := m.Size()
  3454. dAtA = make([]byte, size)
  3455. n, err := m.MarshalTo(dAtA)
  3456. if err != nil {
  3457. return nil, err
  3458. }
  3459. return dAtA[:n], nil
  3460. }
  3461. func (m *FlockerVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3462. var i int
  3463. _ = i
  3464. var l int
  3465. _ = l
  3466. dAtA[i] = 0xa
  3467. i++
  3468. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DatasetName)))
  3469. i += copy(dAtA[i:], m.DatasetName)
  3470. dAtA[i] = 0x12
  3471. i++
  3472. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DatasetUUID)))
  3473. i += copy(dAtA[i:], m.DatasetUUID)
  3474. return i, nil
  3475. }
  3476. func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  3477. size := m.Size()
  3478. dAtA = make([]byte, size)
  3479. n, err := m.MarshalTo(dAtA)
  3480. if err != nil {
  3481. return nil, err
  3482. }
  3483. return dAtA[:n], nil
  3484. }
  3485. func (m *GCEPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3486. var i int
  3487. _ = i
  3488. var l int
  3489. _ = l
  3490. dAtA[i] = 0xa
  3491. i++
  3492. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PDName)))
  3493. i += copy(dAtA[i:], m.PDName)
  3494. dAtA[i] = 0x12
  3495. i++
  3496. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3497. i += copy(dAtA[i:], m.FSType)
  3498. dAtA[i] = 0x18
  3499. i++
  3500. i = encodeVarintGenerated(dAtA, i, uint64(m.Partition))
  3501. dAtA[i] = 0x20
  3502. i++
  3503. if m.ReadOnly {
  3504. dAtA[i] = 1
  3505. } else {
  3506. dAtA[i] = 0
  3507. }
  3508. i++
  3509. return i, nil
  3510. }
  3511. func (m *GitRepoVolumeSource) Marshal() (dAtA []byte, err error) {
  3512. size := m.Size()
  3513. dAtA = make([]byte, size)
  3514. n, err := m.MarshalTo(dAtA)
  3515. if err != nil {
  3516. return nil, err
  3517. }
  3518. return dAtA[:n], nil
  3519. }
  3520. func (m *GitRepoVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3521. var i int
  3522. _ = i
  3523. var l int
  3524. _ = l
  3525. dAtA[i] = 0xa
  3526. i++
  3527. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Repository)))
  3528. i += copy(dAtA[i:], m.Repository)
  3529. dAtA[i] = 0x12
  3530. i++
  3531. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Revision)))
  3532. i += copy(dAtA[i:], m.Revision)
  3533. dAtA[i] = 0x1a
  3534. i++
  3535. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Directory)))
  3536. i += copy(dAtA[i:], m.Directory)
  3537. return i, nil
  3538. }
  3539. func (m *GlusterfsVolumeSource) Marshal() (dAtA []byte, err error) {
  3540. size := m.Size()
  3541. dAtA = make([]byte, size)
  3542. n, err := m.MarshalTo(dAtA)
  3543. if err != nil {
  3544. return nil, err
  3545. }
  3546. return dAtA[:n], nil
  3547. }
  3548. func (m *GlusterfsVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3549. var i int
  3550. _ = i
  3551. var l int
  3552. _ = l
  3553. dAtA[i] = 0xa
  3554. i++
  3555. i = encodeVarintGenerated(dAtA, i, uint64(len(m.EndpointsName)))
  3556. i += copy(dAtA[i:], m.EndpointsName)
  3557. dAtA[i] = 0x12
  3558. i++
  3559. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3560. i += copy(dAtA[i:], m.Path)
  3561. dAtA[i] = 0x18
  3562. i++
  3563. if m.ReadOnly {
  3564. dAtA[i] = 1
  3565. } else {
  3566. dAtA[i] = 0
  3567. }
  3568. i++
  3569. return i, nil
  3570. }
  3571. func (m *HTTPGetAction) Marshal() (dAtA []byte, err error) {
  3572. size := m.Size()
  3573. dAtA = make([]byte, size)
  3574. n, err := m.MarshalTo(dAtA)
  3575. if err != nil {
  3576. return nil, err
  3577. }
  3578. return dAtA[:n], nil
  3579. }
  3580. func (m *HTTPGetAction) MarshalTo(dAtA []byte) (int, error) {
  3581. var i int
  3582. _ = i
  3583. var l int
  3584. _ = l
  3585. dAtA[i] = 0xa
  3586. i++
  3587. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3588. i += copy(dAtA[i:], m.Path)
  3589. dAtA[i] = 0x12
  3590. i++
  3591. i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
  3592. n58, err := m.Port.MarshalTo(dAtA[i:])
  3593. if err != nil {
  3594. return 0, err
  3595. }
  3596. i += n58
  3597. dAtA[i] = 0x1a
  3598. i++
  3599. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
  3600. i += copy(dAtA[i:], m.Host)
  3601. dAtA[i] = 0x22
  3602. i++
  3603. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Scheme)))
  3604. i += copy(dAtA[i:], m.Scheme)
  3605. if len(m.HTTPHeaders) > 0 {
  3606. for _, msg := range m.HTTPHeaders {
  3607. dAtA[i] = 0x2a
  3608. i++
  3609. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  3610. n, err := msg.MarshalTo(dAtA[i:])
  3611. if err != nil {
  3612. return 0, err
  3613. }
  3614. i += n
  3615. }
  3616. }
  3617. return i, nil
  3618. }
  3619. func (m *HTTPHeader) 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 *HTTPHeader) 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.Name)))
  3636. i += copy(dAtA[i:], m.Name)
  3637. dAtA[i] = 0x12
  3638. i++
  3639. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  3640. i += copy(dAtA[i:], m.Value)
  3641. return i, nil
  3642. }
  3643. func (m *Handler) 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 *Handler) MarshalTo(dAtA []byte) (int, error) {
  3653. var i int
  3654. _ = i
  3655. var l int
  3656. _ = l
  3657. if m.Exec != nil {
  3658. dAtA[i] = 0xa
  3659. i++
  3660. i = encodeVarintGenerated(dAtA, i, uint64(m.Exec.Size()))
  3661. n59, err := m.Exec.MarshalTo(dAtA[i:])
  3662. if err != nil {
  3663. return 0, err
  3664. }
  3665. i += n59
  3666. }
  3667. if m.HTTPGet != nil {
  3668. dAtA[i] = 0x12
  3669. i++
  3670. i = encodeVarintGenerated(dAtA, i, uint64(m.HTTPGet.Size()))
  3671. n60, err := m.HTTPGet.MarshalTo(dAtA[i:])
  3672. if err != nil {
  3673. return 0, err
  3674. }
  3675. i += n60
  3676. }
  3677. if m.TCPSocket != nil {
  3678. dAtA[i] = 0x1a
  3679. i++
  3680. i = encodeVarintGenerated(dAtA, i, uint64(m.TCPSocket.Size()))
  3681. n61, err := m.TCPSocket.MarshalTo(dAtA[i:])
  3682. if err != nil {
  3683. return 0, err
  3684. }
  3685. i += n61
  3686. }
  3687. return i, nil
  3688. }
  3689. func (m *HostAlias) Marshal() (dAtA []byte, err error) {
  3690. size := m.Size()
  3691. dAtA = make([]byte, size)
  3692. n, err := m.MarshalTo(dAtA)
  3693. if err != nil {
  3694. return nil, err
  3695. }
  3696. return dAtA[:n], nil
  3697. }
  3698. func (m *HostAlias) MarshalTo(dAtA []byte) (int, error) {
  3699. var i int
  3700. _ = i
  3701. var l int
  3702. _ = l
  3703. dAtA[i] = 0xa
  3704. i++
  3705. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IP)))
  3706. i += copy(dAtA[i:], m.IP)
  3707. if len(m.Hostnames) > 0 {
  3708. for _, s := range m.Hostnames {
  3709. dAtA[i] = 0x12
  3710. i++
  3711. l = len(s)
  3712. for l >= 1<<7 {
  3713. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3714. l >>= 7
  3715. i++
  3716. }
  3717. dAtA[i] = uint8(l)
  3718. i++
  3719. i += copy(dAtA[i:], s)
  3720. }
  3721. }
  3722. return i, nil
  3723. }
  3724. func (m *HostPathVolumeSource) Marshal() (dAtA []byte, err error) {
  3725. size := m.Size()
  3726. dAtA = make([]byte, size)
  3727. n, err := m.MarshalTo(dAtA)
  3728. if err != nil {
  3729. return nil, err
  3730. }
  3731. return dAtA[:n], nil
  3732. }
  3733. func (m *HostPathVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3734. var i int
  3735. _ = i
  3736. var l int
  3737. _ = l
  3738. dAtA[i] = 0xa
  3739. i++
  3740. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3741. i += copy(dAtA[i:], m.Path)
  3742. if m.Type != nil {
  3743. dAtA[i] = 0x12
  3744. i++
  3745. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Type)))
  3746. i += copy(dAtA[i:], *m.Type)
  3747. }
  3748. return i, nil
  3749. }
  3750. func (m *ISCSIPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  3751. size := m.Size()
  3752. dAtA = make([]byte, size)
  3753. n, err := m.MarshalTo(dAtA)
  3754. if err != nil {
  3755. return nil, err
  3756. }
  3757. return dAtA[:n], nil
  3758. }
  3759. func (m *ISCSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3760. var i int
  3761. _ = i
  3762. var l int
  3763. _ = l
  3764. dAtA[i] = 0xa
  3765. i++
  3766. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetPortal)))
  3767. i += copy(dAtA[i:], m.TargetPortal)
  3768. dAtA[i] = 0x12
  3769. i++
  3770. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IQN)))
  3771. i += copy(dAtA[i:], m.IQN)
  3772. dAtA[i] = 0x18
  3773. i++
  3774. i = encodeVarintGenerated(dAtA, i, uint64(m.Lun))
  3775. dAtA[i] = 0x22
  3776. i++
  3777. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ISCSIInterface)))
  3778. i += copy(dAtA[i:], m.ISCSIInterface)
  3779. dAtA[i] = 0x2a
  3780. i++
  3781. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3782. i += copy(dAtA[i:], m.FSType)
  3783. dAtA[i] = 0x30
  3784. i++
  3785. if m.ReadOnly {
  3786. dAtA[i] = 1
  3787. } else {
  3788. dAtA[i] = 0
  3789. }
  3790. i++
  3791. if len(m.Portals) > 0 {
  3792. for _, s := range m.Portals {
  3793. dAtA[i] = 0x3a
  3794. i++
  3795. l = len(s)
  3796. for l >= 1<<7 {
  3797. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3798. l >>= 7
  3799. i++
  3800. }
  3801. dAtA[i] = uint8(l)
  3802. i++
  3803. i += copy(dAtA[i:], s)
  3804. }
  3805. }
  3806. dAtA[i] = 0x40
  3807. i++
  3808. if m.DiscoveryCHAPAuth {
  3809. dAtA[i] = 1
  3810. } else {
  3811. dAtA[i] = 0
  3812. }
  3813. i++
  3814. if m.SecretRef != nil {
  3815. dAtA[i] = 0x52
  3816. i++
  3817. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  3818. n62, err := m.SecretRef.MarshalTo(dAtA[i:])
  3819. if err != nil {
  3820. return 0, err
  3821. }
  3822. i += n62
  3823. }
  3824. dAtA[i] = 0x58
  3825. i++
  3826. if m.SessionCHAPAuth {
  3827. dAtA[i] = 1
  3828. } else {
  3829. dAtA[i] = 0
  3830. }
  3831. i++
  3832. if m.InitiatorName != nil {
  3833. dAtA[i] = 0x62
  3834. i++
  3835. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.InitiatorName)))
  3836. i += copy(dAtA[i:], *m.InitiatorName)
  3837. }
  3838. return i, nil
  3839. }
  3840. func (m *ISCSIVolumeSource) Marshal() (dAtA []byte, err error) {
  3841. size := m.Size()
  3842. dAtA = make([]byte, size)
  3843. n, err := m.MarshalTo(dAtA)
  3844. if err != nil {
  3845. return nil, err
  3846. }
  3847. return dAtA[:n], nil
  3848. }
  3849. func (m *ISCSIVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  3850. var i int
  3851. _ = i
  3852. var l int
  3853. _ = l
  3854. dAtA[i] = 0xa
  3855. i++
  3856. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetPortal)))
  3857. i += copy(dAtA[i:], m.TargetPortal)
  3858. dAtA[i] = 0x12
  3859. i++
  3860. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IQN)))
  3861. i += copy(dAtA[i:], m.IQN)
  3862. dAtA[i] = 0x18
  3863. i++
  3864. i = encodeVarintGenerated(dAtA, i, uint64(m.Lun))
  3865. dAtA[i] = 0x22
  3866. i++
  3867. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ISCSIInterface)))
  3868. i += copy(dAtA[i:], m.ISCSIInterface)
  3869. dAtA[i] = 0x2a
  3870. i++
  3871. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  3872. i += copy(dAtA[i:], m.FSType)
  3873. dAtA[i] = 0x30
  3874. i++
  3875. if m.ReadOnly {
  3876. dAtA[i] = 1
  3877. } else {
  3878. dAtA[i] = 0
  3879. }
  3880. i++
  3881. if len(m.Portals) > 0 {
  3882. for _, s := range m.Portals {
  3883. dAtA[i] = 0x3a
  3884. i++
  3885. l = len(s)
  3886. for l >= 1<<7 {
  3887. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3888. l >>= 7
  3889. i++
  3890. }
  3891. dAtA[i] = uint8(l)
  3892. i++
  3893. i += copy(dAtA[i:], s)
  3894. }
  3895. }
  3896. dAtA[i] = 0x40
  3897. i++
  3898. if m.DiscoveryCHAPAuth {
  3899. dAtA[i] = 1
  3900. } else {
  3901. dAtA[i] = 0
  3902. }
  3903. i++
  3904. if m.SecretRef != nil {
  3905. dAtA[i] = 0x52
  3906. i++
  3907. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  3908. n63, err := m.SecretRef.MarshalTo(dAtA[i:])
  3909. if err != nil {
  3910. return 0, err
  3911. }
  3912. i += n63
  3913. }
  3914. dAtA[i] = 0x58
  3915. i++
  3916. if m.SessionCHAPAuth {
  3917. dAtA[i] = 1
  3918. } else {
  3919. dAtA[i] = 0
  3920. }
  3921. i++
  3922. if m.InitiatorName != nil {
  3923. dAtA[i] = 0x62
  3924. i++
  3925. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.InitiatorName)))
  3926. i += copy(dAtA[i:], *m.InitiatorName)
  3927. }
  3928. return i, nil
  3929. }
  3930. func (m *KeyToPath) Marshal() (dAtA []byte, err error) {
  3931. size := m.Size()
  3932. dAtA = make([]byte, size)
  3933. n, err := m.MarshalTo(dAtA)
  3934. if err != nil {
  3935. return nil, err
  3936. }
  3937. return dAtA[:n], nil
  3938. }
  3939. func (m *KeyToPath) MarshalTo(dAtA []byte) (int, error) {
  3940. var i int
  3941. _ = i
  3942. var l int
  3943. _ = l
  3944. dAtA[i] = 0xa
  3945. i++
  3946. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  3947. i += copy(dAtA[i:], m.Key)
  3948. dAtA[i] = 0x12
  3949. i++
  3950. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  3951. i += copy(dAtA[i:], m.Path)
  3952. if m.Mode != nil {
  3953. dAtA[i] = 0x18
  3954. i++
  3955. i = encodeVarintGenerated(dAtA, i, uint64(*m.Mode))
  3956. }
  3957. return i, nil
  3958. }
  3959. func (m *Lifecycle) Marshal() (dAtA []byte, err error) {
  3960. size := m.Size()
  3961. dAtA = make([]byte, size)
  3962. n, err := m.MarshalTo(dAtA)
  3963. if err != nil {
  3964. return nil, err
  3965. }
  3966. return dAtA[:n], nil
  3967. }
  3968. func (m *Lifecycle) MarshalTo(dAtA []byte) (int, error) {
  3969. var i int
  3970. _ = i
  3971. var l int
  3972. _ = l
  3973. if m.PostStart != nil {
  3974. dAtA[i] = 0xa
  3975. i++
  3976. i = encodeVarintGenerated(dAtA, i, uint64(m.PostStart.Size()))
  3977. n64, err := m.PostStart.MarshalTo(dAtA[i:])
  3978. if err != nil {
  3979. return 0, err
  3980. }
  3981. i += n64
  3982. }
  3983. if m.PreStop != nil {
  3984. dAtA[i] = 0x12
  3985. i++
  3986. i = encodeVarintGenerated(dAtA, i, uint64(m.PreStop.Size()))
  3987. n65, err := m.PreStop.MarshalTo(dAtA[i:])
  3988. if err != nil {
  3989. return 0, err
  3990. }
  3991. i += n65
  3992. }
  3993. return i, nil
  3994. }
  3995. func (m *LimitRange) Marshal() (dAtA []byte, err error) {
  3996. size := m.Size()
  3997. dAtA = make([]byte, size)
  3998. n, err := m.MarshalTo(dAtA)
  3999. if err != nil {
  4000. return nil, err
  4001. }
  4002. return dAtA[:n], nil
  4003. }
  4004. func (m *LimitRange) MarshalTo(dAtA []byte) (int, error) {
  4005. var i int
  4006. _ = i
  4007. var l int
  4008. _ = l
  4009. dAtA[i] = 0xa
  4010. i++
  4011. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  4012. n66, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  4013. if err != nil {
  4014. return 0, err
  4015. }
  4016. i += n66
  4017. dAtA[i] = 0x12
  4018. i++
  4019. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  4020. n67, err := m.Spec.MarshalTo(dAtA[i:])
  4021. if err != nil {
  4022. return 0, err
  4023. }
  4024. i += n67
  4025. return i, nil
  4026. }
  4027. func (m *LimitRangeItem) Marshal() (dAtA []byte, err error) {
  4028. size := m.Size()
  4029. dAtA = make([]byte, size)
  4030. n, err := m.MarshalTo(dAtA)
  4031. if err != nil {
  4032. return nil, err
  4033. }
  4034. return dAtA[:n], nil
  4035. }
  4036. func (m *LimitRangeItem) MarshalTo(dAtA []byte) (int, error) {
  4037. var i int
  4038. _ = i
  4039. var l int
  4040. _ = l
  4041. dAtA[i] = 0xa
  4042. i++
  4043. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  4044. i += copy(dAtA[i:], m.Type)
  4045. if len(m.Max) > 0 {
  4046. keysForMax := make([]string, 0, len(m.Max))
  4047. for k := range m.Max {
  4048. keysForMax = append(keysForMax, string(k))
  4049. }
  4050. github_com_gogo_protobuf_sortkeys.Strings(keysForMax)
  4051. for _, k := range keysForMax {
  4052. dAtA[i] = 0x12
  4053. i++
  4054. v := m.Max[ResourceName(k)]
  4055. msgSize := 0
  4056. if (&v) != nil {
  4057. msgSize = (&v).Size()
  4058. msgSize += 1 + sovGenerated(uint64(msgSize))
  4059. }
  4060. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4061. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4062. dAtA[i] = 0xa
  4063. i++
  4064. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4065. i += copy(dAtA[i:], k)
  4066. dAtA[i] = 0x12
  4067. i++
  4068. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4069. n68, err := (&v).MarshalTo(dAtA[i:])
  4070. if err != nil {
  4071. return 0, err
  4072. }
  4073. i += n68
  4074. }
  4075. }
  4076. if len(m.Min) > 0 {
  4077. keysForMin := make([]string, 0, len(m.Min))
  4078. for k := range m.Min {
  4079. keysForMin = append(keysForMin, string(k))
  4080. }
  4081. github_com_gogo_protobuf_sortkeys.Strings(keysForMin)
  4082. for _, k := range keysForMin {
  4083. dAtA[i] = 0x1a
  4084. i++
  4085. v := m.Min[ResourceName(k)]
  4086. msgSize := 0
  4087. if (&v) != nil {
  4088. msgSize = (&v).Size()
  4089. msgSize += 1 + sovGenerated(uint64(msgSize))
  4090. }
  4091. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4092. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4093. dAtA[i] = 0xa
  4094. i++
  4095. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4096. i += copy(dAtA[i:], k)
  4097. dAtA[i] = 0x12
  4098. i++
  4099. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4100. n69, err := (&v).MarshalTo(dAtA[i:])
  4101. if err != nil {
  4102. return 0, err
  4103. }
  4104. i += n69
  4105. }
  4106. }
  4107. if len(m.Default) > 0 {
  4108. keysForDefault := make([]string, 0, len(m.Default))
  4109. for k := range m.Default {
  4110. keysForDefault = append(keysForDefault, string(k))
  4111. }
  4112. github_com_gogo_protobuf_sortkeys.Strings(keysForDefault)
  4113. for _, k := range keysForDefault {
  4114. dAtA[i] = 0x22
  4115. i++
  4116. v := m.Default[ResourceName(k)]
  4117. msgSize := 0
  4118. if (&v) != nil {
  4119. msgSize = (&v).Size()
  4120. msgSize += 1 + sovGenerated(uint64(msgSize))
  4121. }
  4122. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4123. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4124. dAtA[i] = 0xa
  4125. i++
  4126. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4127. i += copy(dAtA[i:], k)
  4128. dAtA[i] = 0x12
  4129. i++
  4130. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4131. n70, err := (&v).MarshalTo(dAtA[i:])
  4132. if err != nil {
  4133. return 0, err
  4134. }
  4135. i += n70
  4136. }
  4137. }
  4138. if len(m.DefaultRequest) > 0 {
  4139. keysForDefaultRequest := make([]string, 0, len(m.DefaultRequest))
  4140. for k := range m.DefaultRequest {
  4141. keysForDefaultRequest = append(keysForDefaultRequest, string(k))
  4142. }
  4143. github_com_gogo_protobuf_sortkeys.Strings(keysForDefaultRequest)
  4144. for _, k := range keysForDefaultRequest {
  4145. dAtA[i] = 0x2a
  4146. i++
  4147. v := m.DefaultRequest[ResourceName(k)]
  4148. msgSize := 0
  4149. if (&v) != nil {
  4150. msgSize = (&v).Size()
  4151. msgSize += 1 + sovGenerated(uint64(msgSize))
  4152. }
  4153. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4154. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4155. dAtA[i] = 0xa
  4156. i++
  4157. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4158. i += copy(dAtA[i:], k)
  4159. dAtA[i] = 0x12
  4160. i++
  4161. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4162. n71, err := (&v).MarshalTo(dAtA[i:])
  4163. if err != nil {
  4164. return 0, err
  4165. }
  4166. i += n71
  4167. }
  4168. }
  4169. if len(m.MaxLimitRequestRatio) > 0 {
  4170. keysForMaxLimitRequestRatio := make([]string, 0, len(m.MaxLimitRequestRatio))
  4171. for k := range m.MaxLimitRequestRatio {
  4172. keysForMaxLimitRequestRatio = append(keysForMaxLimitRequestRatio, string(k))
  4173. }
  4174. github_com_gogo_protobuf_sortkeys.Strings(keysForMaxLimitRequestRatio)
  4175. for _, k := range keysForMaxLimitRequestRatio {
  4176. dAtA[i] = 0x32
  4177. i++
  4178. v := m.MaxLimitRequestRatio[ResourceName(k)]
  4179. msgSize := 0
  4180. if (&v) != nil {
  4181. msgSize = (&v).Size()
  4182. msgSize += 1 + sovGenerated(uint64(msgSize))
  4183. }
  4184. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4185. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4186. dAtA[i] = 0xa
  4187. i++
  4188. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4189. i += copy(dAtA[i:], k)
  4190. dAtA[i] = 0x12
  4191. i++
  4192. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4193. n72, err := (&v).MarshalTo(dAtA[i:])
  4194. if err != nil {
  4195. return 0, err
  4196. }
  4197. i += n72
  4198. }
  4199. }
  4200. return i, nil
  4201. }
  4202. func (m *LimitRangeList) Marshal() (dAtA []byte, err error) {
  4203. size := m.Size()
  4204. dAtA = make([]byte, size)
  4205. n, err := m.MarshalTo(dAtA)
  4206. if err != nil {
  4207. return nil, err
  4208. }
  4209. return dAtA[:n], nil
  4210. }
  4211. func (m *LimitRangeList) MarshalTo(dAtA []byte) (int, error) {
  4212. var i int
  4213. _ = i
  4214. var l int
  4215. _ = l
  4216. dAtA[i] = 0xa
  4217. i++
  4218. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  4219. n73, err := m.ListMeta.MarshalTo(dAtA[i:])
  4220. if err != nil {
  4221. return 0, err
  4222. }
  4223. i += n73
  4224. if len(m.Items) > 0 {
  4225. for _, msg := range m.Items {
  4226. dAtA[i] = 0x12
  4227. i++
  4228. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4229. n, err := msg.MarshalTo(dAtA[i:])
  4230. if err != nil {
  4231. return 0, err
  4232. }
  4233. i += n
  4234. }
  4235. }
  4236. return i, nil
  4237. }
  4238. func (m *LimitRangeSpec) Marshal() (dAtA []byte, err error) {
  4239. size := m.Size()
  4240. dAtA = make([]byte, size)
  4241. n, err := m.MarshalTo(dAtA)
  4242. if err != nil {
  4243. return nil, err
  4244. }
  4245. return dAtA[:n], nil
  4246. }
  4247. func (m *LimitRangeSpec) MarshalTo(dAtA []byte) (int, error) {
  4248. var i int
  4249. _ = i
  4250. var l int
  4251. _ = l
  4252. if len(m.Limits) > 0 {
  4253. for _, msg := range m.Limits {
  4254. dAtA[i] = 0xa
  4255. i++
  4256. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4257. n, err := msg.MarshalTo(dAtA[i:])
  4258. if err != nil {
  4259. return 0, err
  4260. }
  4261. i += n
  4262. }
  4263. }
  4264. return i, nil
  4265. }
  4266. func (m *List) Marshal() (dAtA []byte, err error) {
  4267. size := m.Size()
  4268. dAtA = make([]byte, size)
  4269. n, err := m.MarshalTo(dAtA)
  4270. if err != nil {
  4271. return nil, err
  4272. }
  4273. return dAtA[:n], nil
  4274. }
  4275. func (m *List) MarshalTo(dAtA []byte) (int, error) {
  4276. var i int
  4277. _ = i
  4278. var l int
  4279. _ = l
  4280. dAtA[i] = 0xa
  4281. i++
  4282. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  4283. n74, err := m.ListMeta.MarshalTo(dAtA[i:])
  4284. if err != nil {
  4285. return 0, err
  4286. }
  4287. i += n74
  4288. if len(m.Items) > 0 {
  4289. for _, msg := range m.Items {
  4290. dAtA[i] = 0x12
  4291. i++
  4292. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4293. n, err := msg.MarshalTo(dAtA[i:])
  4294. if err != nil {
  4295. return 0, err
  4296. }
  4297. i += n
  4298. }
  4299. }
  4300. return i, nil
  4301. }
  4302. func (m *ListOptions) Marshal() (dAtA []byte, err error) {
  4303. size := m.Size()
  4304. dAtA = make([]byte, size)
  4305. n, err := m.MarshalTo(dAtA)
  4306. if err != nil {
  4307. return nil, err
  4308. }
  4309. return dAtA[:n], nil
  4310. }
  4311. func (m *ListOptions) MarshalTo(dAtA []byte) (int, error) {
  4312. var i int
  4313. _ = i
  4314. var l int
  4315. _ = l
  4316. dAtA[i] = 0xa
  4317. i++
  4318. i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector)))
  4319. i += copy(dAtA[i:], m.LabelSelector)
  4320. dAtA[i] = 0x12
  4321. i++
  4322. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldSelector)))
  4323. i += copy(dAtA[i:], m.FieldSelector)
  4324. dAtA[i] = 0x18
  4325. i++
  4326. if m.Watch {
  4327. dAtA[i] = 1
  4328. } else {
  4329. dAtA[i] = 0
  4330. }
  4331. i++
  4332. dAtA[i] = 0x22
  4333. i++
  4334. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  4335. i += copy(dAtA[i:], m.ResourceVersion)
  4336. if m.TimeoutSeconds != nil {
  4337. dAtA[i] = 0x28
  4338. i++
  4339. i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds))
  4340. }
  4341. dAtA[i] = 0x30
  4342. i++
  4343. if m.IncludeUninitialized {
  4344. dAtA[i] = 1
  4345. } else {
  4346. dAtA[i] = 0
  4347. }
  4348. i++
  4349. return i, nil
  4350. }
  4351. func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error) {
  4352. size := m.Size()
  4353. dAtA = make([]byte, size)
  4354. n, err := m.MarshalTo(dAtA)
  4355. if err != nil {
  4356. return nil, err
  4357. }
  4358. return dAtA[:n], nil
  4359. }
  4360. func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error) {
  4361. var i int
  4362. _ = i
  4363. var l int
  4364. _ = l
  4365. dAtA[i] = 0xa
  4366. i++
  4367. i = encodeVarintGenerated(dAtA, i, uint64(len(m.IP)))
  4368. i += copy(dAtA[i:], m.IP)
  4369. dAtA[i] = 0x12
  4370. i++
  4371. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
  4372. i += copy(dAtA[i:], m.Hostname)
  4373. return i, nil
  4374. }
  4375. func (m *LoadBalancerStatus) Marshal() (dAtA []byte, err error) {
  4376. size := m.Size()
  4377. dAtA = make([]byte, size)
  4378. n, err := m.MarshalTo(dAtA)
  4379. if err != nil {
  4380. return nil, err
  4381. }
  4382. return dAtA[:n], nil
  4383. }
  4384. func (m *LoadBalancerStatus) MarshalTo(dAtA []byte) (int, error) {
  4385. var i int
  4386. _ = i
  4387. var l int
  4388. _ = l
  4389. if len(m.Ingress) > 0 {
  4390. for _, msg := range m.Ingress {
  4391. dAtA[i] = 0xa
  4392. i++
  4393. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4394. n, err := msg.MarshalTo(dAtA[i:])
  4395. if err != nil {
  4396. return 0, err
  4397. }
  4398. i += n
  4399. }
  4400. }
  4401. return i, nil
  4402. }
  4403. func (m *LocalObjectReference) Marshal() (dAtA []byte, err error) {
  4404. size := m.Size()
  4405. dAtA = make([]byte, size)
  4406. n, err := m.MarshalTo(dAtA)
  4407. if err != nil {
  4408. return nil, err
  4409. }
  4410. return dAtA[:n], nil
  4411. }
  4412. func (m *LocalObjectReference) MarshalTo(dAtA []byte) (int, error) {
  4413. var i int
  4414. _ = i
  4415. var l int
  4416. _ = l
  4417. dAtA[i] = 0xa
  4418. i++
  4419. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  4420. i += copy(dAtA[i:], m.Name)
  4421. return i, nil
  4422. }
  4423. func (m *LocalVolumeSource) Marshal() (dAtA []byte, err error) {
  4424. size := m.Size()
  4425. dAtA = make([]byte, size)
  4426. n, err := m.MarshalTo(dAtA)
  4427. if err != nil {
  4428. return nil, err
  4429. }
  4430. return dAtA[:n], nil
  4431. }
  4432. func (m *LocalVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  4433. var i int
  4434. _ = i
  4435. var l int
  4436. _ = l
  4437. dAtA[i] = 0xa
  4438. i++
  4439. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  4440. i += copy(dAtA[i:], m.Path)
  4441. return i, nil
  4442. }
  4443. func (m *NFSVolumeSource) 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 *NFSVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  4453. var i int
  4454. _ = i
  4455. var l int
  4456. _ = l
  4457. dAtA[i] = 0xa
  4458. i++
  4459. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Server)))
  4460. i += copy(dAtA[i:], m.Server)
  4461. dAtA[i] = 0x12
  4462. i++
  4463. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  4464. i += copy(dAtA[i:], m.Path)
  4465. dAtA[i] = 0x18
  4466. i++
  4467. if m.ReadOnly {
  4468. dAtA[i] = 1
  4469. } else {
  4470. dAtA[i] = 0
  4471. }
  4472. i++
  4473. return i, nil
  4474. }
  4475. func (m *Namespace) Marshal() (dAtA []byte, err error) {
  4476. size := m.Size()
  4477. dAtA = make([]byte, size)
  4478. n, err := m.MarshalTo(dAtA)
  4479. if err != nil {
  4480. return nil, err
  4481. }
  4482. return dAtA[:n], nil
  4483. }
  4484. func (m *Namespace) MarshalTo(dAtA []byte) (int, error) {
  4485. var i int
  4486. _ = i
  4487. var l int
  4488. _ = l
  4489. dAtA[i] = 0xa
  4490. i++
  4491. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  4492. n75, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  4493. if err != nil {
  4494. return 0, err
  4495. }
  4496. i += n75
  4497. dAtA[i] = 0x12
  4498. i++
  4499. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  4500. n76, err := m.Spec.MarshalTo(dAtA[i:])
  4501. if err != nil {
  4502. return 0, err
  4503. }
  4504. i += n76
  4505. dAtA[i] = 0x1a
  4506. i++
  4507. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  4508. n77, err := m.Status.MarshalTo(dAtA[i:])
  4509. if err != nil {
  4510. return 0, err
  4511. }
  4512. i += n77
  4513. return i, nil
  4514. }
  4515. func (m *NamespaceList) Marshal() (dAtA []byte, err error) {
  4516. size := m.Size()
  4517. dAtA = make([]byte, size)
  4518. n, err := m.MarshalTo(dAtA)
  4519. if err != nil {
  4520. return nil, err
  4521. }
  4522. return dAtA[:n], nil
  4523. }
  4524. func (m *NamespaceList) MarshalTo(dAtA []byte) (int, error) {
  4525. var i int
  4526. _ = i
  4527. var l int
  4528. _ = l
  4529. dAtA[i] = 0xa
  4530. i++
  4531. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  4532. n78, err := m.ListMeta.MarshalTo(dAtA[i:])
  4533. if err != nil {
  4534. return 0, err
  4535. }
  4536. i += n78
  4537. if len(m.Items) > 0 {
  4538. for _, msg := range m.Items {
  4539. dAtA[i] = 0x12
  4540. i++
  4541. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4542. n, err := msg.MarshalTo(dAtA[i:])
  4543. if err != nil {
  4544. return 0, err
  4545. }
  4546. i += n
  4547. }
  4548. }
  4549. return i, nil
  4550. }
  4551. func (m *NamespaceSpec) Marshal() (dAtA []byte, err error) {
  4552. size := m.Size()
  4553. dAtA = make([]byte, size)
  4554. n, err := m.MarshalTo(dAtA)
  4555. if err != nil {
  4556. return nil, err
  4557. }
  4558. return dAtA[:n], nil
  4559. }
  4560. func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error) {
  4561. var i int
  4562. _ = i
  4563. var l int
  4564. _ = l
  4565. if len(m.Finalizers) > 0 {
  4566. for _, s := range m.Finalizers {
  4567. dAtA[i] = 0xa
  4568. i++
  4569. l = len(s)
  4570. for l >= 1<<7 {
  4571. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4572. l >>= 7
  4573. i++
  4574. }
  4575. dAtA[i] = uint8(l)
  4576. i++
  4577. i += copy(dAtA[i:], s)
  4578. }
  4579. }
  4580. return i, nil
  4581. }
  4582. func (m *NamespaceStatus) Marshal() (dAtA []byte, err error) {
  4583. size := m.Size()
  4584. dAtA = make([]byte, size)
  4585. n, err := m.MarshalTo(dAtA)
  4586. if err != nil {
  4587. return nil, err
  4588. }
  4589. return dAtA[:n], nil
  4590. }
  4591. func (m *NamespaceStatus) MarshalTo(dAtA []byte) (int, error) {
  4592. var i int
  4593. _ = i
  4594. var l int
  4595. _ = l
  4596. dAtA[i] = 0xa
  4597. i++
  4598. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  4599. i += copy(dAtA[i:], m.Phase)
  4600. return i, nil
  4601. }
  4602. func (m *Node) Marshal() (dAtA []byte, err error) {
  4603. size := m.Size()
  4604. dAtA = make([]byte, size)
  4605. n, err := m.MarshalTo(dAtA)
  4606. if err != nil {
  4607. return nil, err
  4608. }
  4609. return dAtA[:n], nil
  4610. }
  4611. func (m *Node) MarshalTo(dAtA []byte) (int, error) {
  4612. var i int
  4613. _ = i
  4614. var l int
  4615. _ = l
  4616. dAtA[i] = 0xa
  4617. i++
  4618. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  4619. n79, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  4620. if err != nil {
  4621. return 0, err
  4622. }
  4623. i += n79
  4624. dAtA[i] = 0x12
  4625. i++
  4626. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  4627. n80, err := m.Spec.MarshalTo(dAtA[i:])
  4628. if err != nil {
  4629. return 0, err
  4630. }
  4631. i += n80
  4632. dAtA[i] = 0x1a
  4633. i++
  4634. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  4635. n81, err := m.Status.MarshalTo(dAtA[i:])
  4636. if err != nil {
  4637. return 0, err
  4638. }
  4639. i += n81
  4640. return i, nil
  4641. }
  4642. func (m *NodeAddress) Marshal() (dAtA []byte, err error) {
  4643. size := m.Size()
  4644. dAtA = make([]byte, size)
  4645. n, err := m.MarshalTo(dAtA)
  4646. if err != nil {
  4647. return nil, err
  4648. }
  4649. return dAtA[:n], nil
  4650. }
  4651. func (m *NodeAddress) MarshalTo(dAtA []byte) (int, error) {
  4652. var i int
  4653. _ = i
  4654. var l int
  4655. _ = l
  4656. dAtA[i] = 0xa
  4657. i++
  4658. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  4659. i += copy(dAtA[i:], m.Type)
  4660. dAtA[i] = 0x12
  4661. i++
  4662. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Address)))
  4663. i += copy(dAtA[i:], m.Address)
  4664. return i, nil
  4665. }
  4666. func (m *NodeAffinity) Marshal() (dAtA []byte, err error) {
  4667. size := m.Size()
  4668. dAtA = make([]byte, size)
  4669. n, err := m.MarshalTo(dAtA)
  4670. if err != nil {
  4671. return nil, err
  4672. }
  4673. return dAtA[:n], nil
  4674. }
  4675. func (m *NodeAffinity) MarshalTo(dAtA []byte) (int, error) {
  4676. var i int
  4677. _ = i
  4678. var l int
  4679. _ = l
  4680. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  4681. dAtA[i] = 0xa
  4682. i++
  4683. i = encodeVarintGenerated(dAtA, i, uint64(m.RequiredDuringSchedulingIgnoredDuringExecution.Size()))
  4684. n82, err := m.RequiredDuringSchedulingIgnoredDuringExecution.MarshalTo(dAtA[i:])
  4685. if err != nil {
  4686. return 0, err
  4687. }
  4688. i += n82
  4689. }
  4690. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  4691. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  4692. dAtA[i] = 0x12
  4693. i++
  4694. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4695. n, err := msg.MarshalTo(dAtA[i:])
  4696. if err != nil {
  4697. return 0, err
  4698. }
  4699. i += n
  4700. }
  4701. }
  4702. return i, nil
  4703. }
  4704. func (m *NodeCondition) Marshal() (dAtA []byte, err error) {
  4705. size := m.Size()
  4706. dAtA = make([]byte, size)
  4707. n, err := m.MarshalTo(dAtA)
  4708. if err != nil {
  4709. return nil, err
  4710. }
  4711. return dAtA[:n], nil
  4712. }
  4713. func (m *NodeCondition) MarshalTo(dAtA []byte) (int, error) {
  4714. var i int
  4715. _ = i
  4716. var l int
  4717. _ = l
  4718. dAtA[i] = 0xa
  4719. i++
  4720. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  4721. i += copy(dAtA[i:], m.Type)
  4722. dAtA[i] = 0x12
  4723. i++
  4724. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  4725. i += copy(dAtA[i:], m.Status)
  4726. dAtA[i] = 0x1a
  4727. i++
  4728. i = encodeVarintGenerated(dAtA, i, uint64(m.LastHeartbeatTime.Size()))
  4729. n83, err := m.LastHeartbeatTime.MarshalTo(dAtA[i:])
  4730. if err != nil {
  4731. return 0, err
  4732. }
  4733. i += n83
  4734. dAtA[i] = 0x22
  4735. i++
  4736. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  4737. n84, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  4738. if err != nil {
  4739. return 0, err
  4740. }
  4741. i += n84
  4742. dAtA[i] = 0x2a
  4743. i++
  4744. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  4745. i += copy(dAtA[i:], m.Reason)
  4746. dAtA[i] = 0x32
  4747. i++
  4748. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  4749. i += copy(dAtA[i:], m.Message)
  4750. return i, nil
  4751. }
  4752. func (m *NodeConfigSource) Marshal() (dAtA []byte, err error) {
  4753. size := m.Size()
  4754. dAtA = make([]byte, size)
  4755. n, err := m.MarshalTo(dAtA)
  4756. if err != nil {
  4757. return nil, err
  4758. }
  4759. return dAtA[:n], nil
  4760. }
  4761. func (m *NodeConfigSource) MarshalTo(dAtA []byte) (int, error) {
  4762. var i int
  4763. _ = i
  4764. var l int
  4765. _ = l
  4766. if m.ConfigMapRef != nil {
  4767. dAtA[i] = 0xa
  4768. i++
  4769. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMapRef.Size()))
  4770. n85, err := m.ConfigMapRef.MarshalTo(dAtA[i:])
  4771. if err != nil {
  4772. return 0, err
  4773. }
  4774. i += n85
  4775. }
  4776. return i, nil
  4777. }
  4778. func (m *NodeDaemonEndpoints) Marshal() (dAtA []byte, err error) {
  4779. size := m.Size()
  4780. dAtA = make([]byte, size)
  4781. n, err := m.MarshalTo(dAtA)
  4782. if err != nil {
  4783. return nil, err
  4784. }
  4785. return dAtA[:n], nil
  4786. }
  4787. func (m *NodeDaemonEndpoints) MarshalTo(dAtA []byte) (int, error) {
  4788. var i int
  4789. _ = i
  4790. var l int
  4791. _ = l
  4792. dAtA[i] = 0xa
  4793. i++
  4794. i = encodeVarintGenerated(dAtA, i, uint64(m.KubeletEndpoint.Size()))
  4795. n86, err := m.KubeletEndpoint.MarshalTo(dAtA[i:])
  4796. if err != nil {
  4797. return 0, err
  4798. }
  4799. i += n86
  4800. return i, nil
  4801. }
  4802. func (m *NodeList) Marshal() (dAtA []byte, err error) {
  4803. size := m.Size()
  4804. dAtA = make([]byte, size)
  4805. n, err := m.MarshalTo(dAtA)
  4806. if err != nil {
  4807. return nil, err
  4808. }
  4809. return dAtA[:n], nil
  4810. }
  4811. func (m *NodeList) MarshalTo(dAtA []byte) (int, error) {
  4812. var i int
  4813. _ = i
  4814. var l int
  4815. _ = l
  4816. dAtA[i] = 0xa
  4817. i++
  4818. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  4819. n87, err := m.ListMeta.MarshalTo(dAtA[i:])
  4820. if err != nil {
  4821. return 0, err
  4822. }
  4823. i += n87
  4824. if len(m.Items) > 0 {
  4825. for _, msg := range m.Items {
  4826. dAtA[i] = 0x12
  4827. i++
  4828. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4829. n, err := msg.MarshalTo(dAtA[i:])
  4830. if err != nil {
  4831. return 0, err
  4832. }
  4833. i += n
  4834. }
  4835. }
  4836. return i, nil
  4837. }
  4838. func (m *NodeProxyOptions) Marshal() (dAtA []byte, err error) {
  4839. size := m.Size()
  4840. dAtA = make([]byte, size)
  4841. n, err := m.MarshalTo(dAtA)
  4842. if err != nil {
  4843. return nil, err
  4844. }
  4845. return dAtA[:n], nil
  4846. }
  4847. func (m *NodeProxyOptions) MarshalTo(dAtA []byte) (int, error) {
  4848. var i int
  4849. _ = i
  4850. var l int
  4851. _ = l
  4852. dAtA[i] = 0xa
  4853. i++
  4854. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  4855. i += copy(dAtA[i:], m.Path)
  4856. return i, nil
  4857. }
  4858. func (m *NodeResources) Marshal() (dAtA []byte, err error) {
  4859. size := m.Size()
  4860. dAtA = make([]byte, size)
  4861. n, err := m.MarshalTo(dAtA)
  4862. if err != nil {
  4863. return nil, err
  4864. }
  4865. return dAtA[:n], nil
  4866. }
  4867. func (m *NodeResources) MarshalTo(dAtA []byte) (int, error) {
  4868. var i int
  4869. _ = i
  4870. var l int
  4871. _ = l
  4872. if len(m.Capacity) > 0 {
  4873. keysForCapacity := make([]string, 0, len(m.Capacity))
  4874. for k := range m.Capacity {
  4875. keysForCapacity = append(keysForCapacity, string(k))
  4876. }
  4877. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  4878. for _, k := range keysForCapacity {
  4879. dAtA[i] = 0xa
  4880. i++
  4881. v := m.Capacity[ResourceName(k)]
  4882. msgSize := 0
  4883. if (&v) != nil {
  4884. msgSize = (&v).Size()
  4885. msgSize += 1 + sovGenerated(uint64(msgSize))
  4886. }
  4887. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  4888. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  4889. dAtA[i] = 0xa
  4890. i++
  4891. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  4892. i += copy(dAtA[i:], k)
  4893. dAtA[i] = 0x12
  4894. i++
  4895. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  4896. n88, err := (&v).MarshalTo(dAtA[i:])
  4897. if err != nil {
  4898. return 0, err
  4899. }
  4900. i += n88
  4901. }
  4902. }
  4903. return i, nil
  4904. }
  4905. func (m *NodeSelector) Marshal() (dAtA []byte, err error) {
  4906. size := m.Size()
  4907. dAtA = make([]byte, size)
  4908. n, err := m.MarshalTo(dAtA)
  4909. if err != nil {
  4910. return nil, err
  4911. }
  4912. return dAtA[:n], nil
  4913. }
  4914. func (m *NodeSelector) MarshalTo(dAtA []byte) (int, error) {
  4915. var i int
  4916. _ = i
  4917. var l int
  4918. _ = l
  4919. if len(m.NodeSelectorTerms) > 0 {
  4920. for _, msg := range m.NodeSelectorTerms {
  4921. dAtA[i] = 0xa
  4922. i++
  4923. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4924. n, err := msg.MarshalTo(dAtA[i:])
  4925. if err != nil {
  4926. return 0, err
  4927. }
  4928. i += n
  4929. }
  4930. }
  4931. return i, nil
  4932. }
  4933. func (m *NodeSelectorRequirement) Marshal() (dAtA []byte, err error) {
  4934. size := m.Size()
  4935. dAtA = make([]byte, size)
  4936. n, err := m.MarshalTo(dAtA)
  4937. if err != nil {
  4938. return nil, err
  4939. }
  4940. return dAtA[:n], nil
  4941. }
  4942. func (m *NodeSelectorRequirement) MarshalTo(dAtA []byte) (int, error) {
  4943. var i int
  4944. _ = i
  4945. var l int
  4946. _ = l
  4947. dAtA[i] = 0xa
  4948. i++
  4949. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  4950. i += copy(dAtA[i:], m.Key)
  4951. dAtA[i] = 0x12
  4952. i++
  4953. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
  4954. i += copy(dAtA[i:], m.Operator)
  4955. if len(m.Values) > 0 {
  4956. for _, s := range m.Values {
  4957. dAtA[i] = 0x1a
  4958. i++
  4959. l = len(s)
  4960. for l >= 1<<7 {
  4961. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4962. l >>= 7
  4963. i++
  4964. }
  4965. dAtA[i] = uint8(l)
  4966. i++
  4967. i += copy(dAtA[i:], s)
  4968. }
  4969. }
  4970. return i, nil
  4971. }
  4972. func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error) {
  4973. size := m.Size()
  4974. dAtA = make([]byte, size)
  4975. n, err := m.MarshalTo(dAtA)
  4976. if err != nil {
  4977. return nil, err
  4978. }
  4979. return dAtA[:n], nil
  4980. }
  4981. func (m *NodeSelectorTerm) MarshalTo(dAtA []byte) (int, error) {
  4982. var i int
  4983. _ = i
  4984. var l int
  4985. _ = l
  4986. if len(m.MatchExpressions) > 0 {
  4987. for _, msg := range m.MatchExpressions {
  4988. dAtA[i] = 0xa
  4989. i++
  4990. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  4991. n, err := msg.MarshalTo(dAtA[i:])
  4992. if err != nil {
  4993. return 0, err
  4994. }
  4995. i += n
  4996. }
  4997. }
  4998. return i, nil
  4999. }
  5000. func (m *NodeSpec) Marshal() (dAtA []byte, err error) {
  5001. size := m.Size()
  5002. dAtA = make([]byte, size)
  5003. n, err := m.MarshalTo(dAtA)
  5004. if err != nil {
  5005. return nil, err
  5006. }
  5007. return dAtA[:n], nil
  5008. }
  5009. func (m *NodeSpec) MarshalTo(dAtA []byte) (int, error) {
  5010. var i int
  5011. _ = i
  5012. var l int
  5013. _ = l
  5014. dAtA[i] = 0xa
  5015. i++
  5016. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodCIDR)))
  5017. i += copy(dAtA[i:], m.PodCIDR)
  5018. dAtA[i] = 0x12
  5019. i++
  5020. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ExternalID)))
  5021. i += copy(dAtA[i:], m.ExternalID)
  5022. dAtA[i] = 0x1a
  5023. i++
  5024. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ProviderID)))
  5025. i += copy(dAtA[i:], m.ProviderID)
  5026. dAtA[i] = 0x20
  5027. i++
  5028. if m.Unschedulable {
  5029. dAtA[i] = 1
  5030. } else {
  5031. dAtA[i] = 0
  5032. }
  5033. i++
  5034. if len(m.Taints) > 0 {
  5035. for _, msg := range m.Taints {
  5036. dAtA[i] = 0x2a
  5037. i++
  5038. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5039. n, err := msg.MarshalTo(dAtA[i:])
  5040. if err != nil {
  5041. return 0, err
  5042. }
  5043. i += n
  5044. }
  5045. }
  5046. if m.ConfigSource != nil {
  5047. dAtA[i] = 0x32
  5048. i++
  5049. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigSource.Size()))
  5050. n89, err := m.ConfigSource.MarshalTo(dAtA[i:])
  5051. if err != nil {
  5052. return 0, err
  5053. }
  5054. i += n89
  5055. }
  5056. return i, nil
  5057. }
  5058. func (m *NodeStatus) Marshal() (dAtA []byte, err error) {
  5059. size := m.Size()
  5060. dAtA = make([]byte, size)
  5061. n, err := m.MarshalTo(dAtA)
  5062. if err != nil {
  5063. return nil, err
  5064. }
  5065. return dAtA[:n], nil
  5066. }
  5067. func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error) {
  5068. var i int
  5069. _ = i
  5070. var l int
  5071. _ = l
  5072. if len(m.Capacity) > 0 {
  5073. keysForCapacity := make([]string, 0, len(m.Capacity))
  5074. for k := range m.Capacity {
  5075. keysForCapacity = append(keysForCapacity, string(k))
  5076. }
  5077. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  5078. for _, k := range keysForCapacity {
  5079. dAtA[i] = 0xa
  5080. i++
  5081. v := m.Capacity[ResourceName(k)]
  5082. msgSize := 0
  5083. if (&v) != nil {
  5084. msgSize = (&v).Size()
  5085. msgSize += 1 + sovGenerated(uint64(msgSize))
  5086. }
  5087. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  5088. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5089. dAtA[i] = 0xa
  5090. i++
  5091. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5092. i += copy(dAtA[i:], k)
  5093. dAtA[i] = 0x12
  5094. i++
  5095. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  5096. n90, err := (&v).MarshalTo(dAtA[i:])
  5097. if err != nil {
  5098. return 0, err
  5099. }
  5100. i += n90
  5101. }
  5102. }
  5103. if len(m.Allocatable) > 0 {
  5104. keysForAllocatable := make([]string, 0, len(m.Allocatable))
  5105. for k := range m.Allocatable {
  5106. keysForAllocatable = append(keysForAllocatable, string(k))
  5107. }
  5108. github_com_gogo_protobuf_sortkeys.Strings(keysForAllocatable)
  5109. for _, k := range keysForAllocatable {
  5110. dAtA[i] = 0x12
  5111. i++
  5112. v := m.Allocatable[ResourceName(k)]
  5113. msgSize := 0
  5114. if (&v) != nil {
  5115. msgSize = (&v).Size()
  5116. msgSize += 1 + sovGenerated(uint64(msgSize))
  5117. }
  5118. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  5119. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5120. dAtA[i] = 0xa
  5121. i++
  5122. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5123. i += copy(dAtA[i:], k)
  5124. dAtA[i] = 0x12
  5125. i++
  5126. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  5127. n91, err := (&v).MarshalTo(dAtA[i:])
  5128. if err != nil {
  5129. return 0, err
  5130. }
  5131. i += n91
  5132. }
  5133. }
  5134. dAtA[i] = 0x1a
  5135. i++
  5136. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  5137. i += copy(dAtA[i:], m.Phase)
  5138. if len(m.Conditions) > 0 {
  5139. for _, msg := range m.Conditions {
  5140. dAtA[i] = 0x22
  5141. i++
  5142. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5143. n, err := msg.MarshalTo(dAtA[i:])
  5144. if err != nil {
  5145. return 0, err
  5146. }
  5147. i += n
  5148. }
  5149. }
  5150. if len(m.Addresses) > 0 {
  5151. for _, msg := range m.Addresses {
  5152. dAtA[i] = 0x2a
  5153. i++
  5154. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5155. n, err := msg.MarshalTo(dAtA[i:])
  5156. if err != nil {
  5157. return 0, err
  5158. }
  5159. i += n
  5160. }
  5161. }
  5162. dAtA[i] = 0x32
  5163. i++
  5164. i = encodeVarintGenerated(dAtA, i, uint64(m.DaemonEndpoints.Size()))
  5165. n92, err := m.DaemonEndpoints.MarshalTo(dAtA[i:])
  5166. if err != nil {
  5167. return 0, err
  5168. }
  5169. i += n92
  5170. dAtA[i] = 0x3a
  5171. i++
  5172. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeInfo.Size()))
  5173. n93, err := m.NodeInfo.MarshalTo(dAtA[i:])
  5174. if err != nil {
  5175. return 0, err
  5176. }
  5177. i += n93
  5178. if len(m.Images) > 0 {
  5179. for _, msg := range m.Images {
  5180. dAtA[i] = 0x42
  5181. i++
  5182. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5183. n, err := msg.MarshalTo(dAtA[i:])
  5184. if err != nil {
  5185. return 0, err
  5186. }
  5187. i += n
  5188. }
  5189. }
  5190. if len(m.VolumesInUse) > 0 {
  5191. for _, s := range m.VolumesInUse {
  5192. dAtA[i] = 0x4a
  5193. i++
  5194. l = len(s)
  5195. for l >= 1<<7 {
  5196. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5197. l >>= 7
  5198. i++
  5199. }
  5200. dAtA[i] = uint8(l)
  5201. i++
  5202. i += copy(dAtA[i:], s)
  5203. }
  5204. }
  5205. if len(m.VolumesAttached) > 0 {
  5206. for _, msg := range m.VolumesAttached {
  5207. dAtA[i] = 0x52
  5208. i++
  5209. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5210. n, err := msg.MarshalTo(dAtA[i:])
  5211. if err != nil {
  5212. return 0, err
  5213. }
  5214. i += n
  5215. }
  5216. }
  5217. return i, nil
  5218. }
  5219. func (m *NodeSystemInfo) Marshal() (dAtA []byte, err error) {
  5220. size := m.Size()
  5221. dAtA = make([]byte, size)
  5222. n, err := m.MarshalTo(dAtA)
  5223. if err != nil {
  5224. return nil, err
  5225. }
  5226. return dAtA[:n], nil
  5227. }
  5228. func (m *NodeSystemInfo) MarshalTo(dAtA []byte) (int, error) {
  5229. var i int
  5230. _ = i
  5231. var l int
  5232. _ = l
  5233. dAtA[i] = 0xa
  5234. i++
  5235. i = encodeVarintGenerated(dAtA, i, uint64(len(m.MachineID)))
  5236. i += copy(dAtA[i:], m.MachineID)
  5237. dAtA[i] = 0x12
  5238. i++
  5239. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SystemUUID)))
  5240. i += copy(dAtA[i:], m.SystemUUID)
  5241. dAtA[i] = 0x1a
  5242. i++
  5243. i = encodeVarintGenerated(dAtA, i, uint64(len(m.BootID)))
  5244. i += copy(dAtA[i:], m.BootID)
  5245. dAtA[i] = 0x22
  5246. i++
  5247. i = encodeVarintGenerated(dAtA, i, uint64(len(m.KernelVersion)))
  5248. i += copy(dAtA[i:], m.KernelVersion)
  5249. dAtA[i] = 0x2a
  5250. i++
  5251. i = encodeVarintGenerated(dAtA, i, uint64(len(m.OSImage)))
  5252. i += copy(dAtA[i:], m.OSImage)
  5253. dAtA[i] = 0x32
  5254. i++
  5255. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerRuntimeVersion)))
  5256. i += copy(dAtA[i:], m.ContainerRuntimeVersion)
  5257. dAtA[i] = 0x3a
  5258. i++
  5259. i = encodeVarintGenerated(dAtA, i, uint64(len(m.KubeletVersion)))
  5260. i += copy(dAtA[i:], m.KubeletVersion)
  5261. dAtA[i] = 0x42
  5262. i++
  5263. i = encodeVarintGenerated(dAtA, i, uint64(len(m.KubeProxyVersion)))
  5264. i += copy(dAtA[i:], m.KubeProxyVersion)
  5265. dAtA[i] = 0x4a
  5266. i++
  5267. i = encodeVarintGenerated(dAtA, i, uint64(len(m.OperatingSystem)))
  5268. i += copy(dAtA[i:], m.OperatingSystem)
  5269. dAtA[i] = 0x52
  5270. i++
  5271. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Architecture)))
  5272. i += copy(dAtA[i:], m.Architecture)
  5273. return i, nil
  5274. }
  5275. func (m *ObjectFieldSelector) Marshal() (dAtA []byte, err error) {
  5276. size := m.Size()
  5277. dAtA = make([]byte, size)
  5278. n, err := m.MarshalTo(dAtA)
  5279. if err != nil {
  5280. return nil, err
  5281. }
  5282. return dAtA[:n], nil
  5283. }
  5284. func (m *ObjectFieldSelector) MarshalTo(dAtA []byte) (int, error) {
  5285. var i int
  5286. _ = i
  5287. var l int
  5288. _ = l
  5289. dAtA[i] = 0xa
  5290. i++
  5291. i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
  5292. i += copy(dAtA[i:], m.APIVersion)
  5293. dAtA[i] = 0x12
  5294. i++
  5295. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldPath)))
  5296. i += copy(dAtA[i:], m.FieldPath)
  5297. return i, nil
  5298. }
  5299. func (m *ObjectMeta) Marshal() (dAtA []byte, err error) {
  5300. size := m.Size()
  5301. dAtA = make([]byte, size)
  5302. n, err := m.MarshalTo(dAtA)
  5303. if err != nil {
  5304. return nil, err
  5305. }
  5306. return dAtA[:n], nil
  5307. }
  5308. func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error) {
  5309. var i int
  5310. _ = i
  5311. var l int
  5312. _ = l
  5313. dAtA[i] = 0xa
  5314. i++
  5315. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  5316. i += copy(dAtA[i:], m.Name)
  5317. dAtA[i] = 0x12
  5318. i++
  5319. i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName)))
  5320. i += copy(dAtA[i:], m.GenerateName)
  5321. dAtA[i] = 0x1a
  5322. i++
  5323. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
  5324. i += copy(dAtA[i:], m.Namespace)
  5325. dAtA[i] = 0x22
  5326. i++
  5327. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink)))
  5328. i += copy(dAtA[i:], m.SelfLink)
  5329. dAtA[i] = 0x2a
  5330. i++
  5331. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  5332. i += copy(dAtA[i:], m.UID)
  5333. dAtA[i] = 0x32
  5334. i++
  5335. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  5336. i += copy(dAtA[i:], m.ResourceVersion)
  5337. dAtA[i] = 0x38
  5338. i++
  5339. i = encodeVarintGenerated(dAtA, i, uint64(m.Generation))
  5340. dAtA[i] = 0x42
  5341. i++
  5342. i = encodeVarintGenerated(dAtA, i, uint64(m.CreationTimestamp.Size()))
  5343. n94, err := m.CreationTimestamp.MarshalTo(dAtA[i:])
  5344. if err != nil {
  5345. return 0, err
  5346. }
  5347. i += n94
  5348. if m.DeletionTimestamp != nil {
  5349. dAtA[i] = 0x4a
  5350. i++
  5351. i = encodeVarintGenerated(dAtA, i, uint64(m.DeletionTimestamp.Size()))
  5352. n95, err := m.DeletionTimestamp.MarshalTo(dAtA[i:])
  5353. if err != nil {
  5354. return 0, err
  5355. }
  5356. i += n95
  5357. }
  5358. if m.DeletionGracePeriodSeconds != nil {
  5359. dAtA[i] = 0x50
  5360. i++
  5361. i = encodeVarintGenerated(dAtA, i, uint64(*m.DeletionGracePeriodSeconds))
  5362. }
  5363. if len(m.Labels) > 0 {
  5364. keysForLabels := make([]string, 0, len(m.Labels))
  5365. for k := range m.Labels {
  5366. keysForLabels = append(keysForLabels, string(k))
  5367. }
  5368. github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
  5369. for _, k := range keysForLabels {
  5370. dAtA[i] = 0x5a
  5371. i++
  5372. v := m.Labels[string(k)]
  5373. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  5374. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5375. dAtA[i] = 0xa
  5376. i++
  5377. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5378. i += copy(dAtA[i:], k)
  5379. dAtA[i] = 0x12
  5380. i++
  5381. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  5382. i += copy(dAtA[i:], v)
  5383. }
  5384. }
  5385. if len(m.Annotations) > 0 {
  5386. keysForAnnotations := make([]string, 0, len(m.Annotations))
  5387. for k := range m.Annotations {
  5388. keysForAnnotations = append(keysForAnnotations, string(k))
  5389. }
  5390. github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
  5391. for _, k := range keysForAnnotations {
  5392. dAtA[i] = 0x62
  5393. i++
  5394. v := m.Annotations[string(k)]
  5395. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  5396. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5397. dAtA[i] = 0xa
  5398. i++
  5399. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5400. i += copy(dAtA[i:], k)
  5401. dAtA[i] = 0x12
  5402. i++
  5403. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  5404. i += copy(dAtA[i:], v)
  5405. }
  5406. }
  5407. if len(m.OwnerReferences) > 0 {
  5408. for _, msg := range m.OwnerReferences {
  5409. dAtA[i] = 0x6a
  5410. i++
  5411. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5412. n, err := msg.MarshalTo(dAtA[i:])
  5413. if err != nil {
  5414. return 0, err
  5415. }
  5416. i += n
  5417. }
  5418. }
  5419. if len(m.Finalizers) > 0 {
  5420. for _, s := range m.Finalizers {
  5421. dAtA[i] = 0x72
  5422. i++
  5423. l = len(s)
  5424. for l >= 1<<7 {
  5425. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5426. l >>= 7
  5427. i++
  5428. }
  5429. dAtA[i] = uint8(l)
  5430. i++
  5431. i += copy(dAtA[i:], s)
  5432. }
  5433. }
  5434. dAtA[i] = 0x7a
  5435. i++
  5436. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterName)))
  5437. i += copy(dAtA[i:], m.ClusterName)
  5438. if m.Initializers != nil {
  5439. dAtA[i] = 0x82
  5440. i++
  5441. dAtA[i] = 0x1
  5442. i++
  5443. i = encodeVarintGenerated(dAtA, i, uint64(m.Initializers.Size()))
  5444. n96, err := m.Initializers.MarshalTo(dAtA[i:])
  5445. if err != nil {
  5446. return 0, err
  5447. }
  5448. i += n96
  5449. }
  5450. return i, nil
  5451. }
  5452. func (m *ObjectReference) Marshal() (dAtA []byte, err error) {
  5453. size := m.Size()
  5454. dAtA = make([]byte, size)
  5455. n, err := m.MarshalTo(dAtA)
  5456. if err != nil {
  5457. return nil, err
  5458. }
  5459. return dAtA[:n], nil
  5460. }
  5461. func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error) {
  5462. var i int
  5463. _ = i
  5464. var l int
  5465. _ = l
  5466. dAtA[i] = 0xa
  5467. i++
  5468. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  5469. i += copy(dAtA[i:], m.Kind)
  5470. dAtA[i] = 0x12
  5471. i++
  5472. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
  5473. i += copy(dAtA[i:], m.Namespace)
  5474. dAtA[i] = 0x1a
  5475. i++
  5476. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  5477. i += copy(dAtA[i:], m.Name)
  5478. dAtA[i] = 0x22
  5479. i++
  5480. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  5481. i += copy(dAtA[i:], m.UID)
  5482. dAtA[i] = 0x2a
  5483. i++
  5484. i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
  5485. i += copy(dAtA[i:], m.APIVersion)
  5486. dAtA[i] = 0x32
  5487. i++
  5488. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  5489. i += copy(dAtA[i:], m.ResourceVersion)
  5490. dAtA[i] = 0x3a
  5491. i++
  5492. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldPath)))
  5493. i += copy(dAtA[i:], m.FieldPath)
  5494. return i, nil
  5495. }
  5496. func (m *PersistentVolume) Marshal() (dAtA []byte, err error) {
  5497. size := m.Size()
  5498. dAtA = make([]byte, size)
  5499. n, err := m.MarshalTo(dAtA)
  5500. if err != nil {
  5501. return nil, err
  5502. }
  5503. return dAtA[:n], nil
  5504. }
  5505. func (m *PersistentVolume) MarshalTo(dAtA []byte) (int, error) {
  5506. var i int
  5507. _ = i
  5508. var l int
  5509. _ = l
  5510. dAtA[i] = 0xa
  5511. i++
  5512. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  5513. n97, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  5514. if err != nil {
  5515. return 0, err
  5516. }
  5517. i += n97
  5518. dAtA[i] = 0x12
  5519. i++
  5520. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  5521. n98, err := m.Spec.MarshalTo(dAtA[i:])
  5522. if err != nil {
  5523. return 0, err
  5524. }
  5525. i += n98
  5526. dAtA[i] = 0x1a
  5527. i++
  5528. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  5529. n99, err := m.Status.MarshalTo(dAtA[i:])
  5530. if err != nil {
  5531. return 0, err
  5532. }
  5533. i += n99
  5534. return i, nil
  5535. }
  5536. func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error) {
  5537. size := m.Size()
  5538. dAtA = make([]byte, size)
  5539. n, err := m.MarshalTo(dAtA)
  5540. if err != nil {
  5541. return nil, err
  5542. }
  5543. return dAtA[:n], nil
  5544. }
  5545. func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) {
  5546. var i int
  5547. _ = i
  5548. var l int
  5549. _ = l
  5550. dAtA[i] = 0xa
  5551. i++
  5552. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  5553. n100, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  5554. if err != nil {
  5555. return 0, err
  5556. }
  5557. i += n100
  5558. dAtA[i] = 0x12
  5559. i++
  5560. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  5561. n101, err := m.Spec.MarshalTo(dAtA[i:])
  5562. if err != nil {
  5563. return 0, err
  5564. }
  5565. i += n101
  5566. dAtA[i] = 0x1a
  5567. i++
  5568. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  5569. n102, err := m.Status.MarshalTo(dAtA[i:])
  5570. if err != nil {
  5571. return 0, err
  5572. }
  5573. i += n102
  5574. return i, nil
  5575. }
  5576. func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error) {
  5577. size := m.Size()
  5578. dAtA = make([]byte, size)
  5579. n, err := m.MarshalTo(dAtA)
  5580. if err != nil {
  5581. return nil, err
  5582. }
  5583. return dAtA[:n], nil
  5584. }
  5585. func (m *PersistentVolumeClaimCondition) MarshalTo(dAtA []byte) (int, error) {
  5586. var i int
  5587. _ = i
  5588. var l int
  5589. _ = l
  5590. dAtA[i] = 0xa
  5591. i++
  5592. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  5593. i += copy(dAtA[i:], m.Type)
  5594. dAtA[i] = 0x12
  5595. i++
  5596. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  5597. i += copy(dAtA[i:], m.Status)
  5598. dAtA[i] = 0x1a
  5599. i++
  5600. i = encodeVarintGenerated(dAtA, i, uint64(m.LastProbeTime.Size()))
  5601. n103, err := m.LastProbeTime.MarshalTo(dAtA[i:])
  5602. if err != nil {
  5603. return 0, err
  5604. }
  5605. i += n103
  5606. dAtA[i] = 0x22
  5607. i++
  5608. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  5609. n104, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  5610. if err != nil {
  5611. return 0, err
  5612. }
  5613. i += n104
  5614. dAtA[i] = 0x2a
  5615. i++
  5616. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  5617. i += copy(dAtA[i:], m.Reason)
  5618. dAtA[i] = 0x32
  5619. i++
  5620. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  5621. i += copy(dAtA[i:], m.Message)
  5622. return i, nil
  5623. }
  5624. func (m *PersistentVolumeClaimList) Marshal() (dAtA []byte, err error) {
  5625. size := m.Size()
  5626. dAtA = make([]byte, size)
  5627. n, err := m.MarshalTo(dAtA)
  5628. if err != nil {
  5629. return nil, err
  5630. }
  5631. return dAtA[:n], nil
  5632. }
  5633. func (m *PersistentVolumeClaimList) MarshalTo(dAtA []byte) (int, error) {
  5634. var i int
  5635. _ = i
  5636. var l int
  5637. _ = l
  5638. dAtA[i] = 0xa
  5639. i++
  5640. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  5641. n105, err := m.ListMeta.MarshalTo(dAtA[i:])
  5642. if err != nil {
  5643. return 0, err
  5644. }
  5645. i += n105
  5646. if len(m.Items) > 0 {
  5647. for _, msg := range m.Items {
  5648. dAtA[i] = 0x12
  5649. i++
  5650. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5651. n, err := msg.MarshalTo(dAtA[i:])
  5652. if err != nil {
  5653. return 0, err
  5654. }
  5655. i += n
  5656. }
  5657. }
  5658. return i, nil
  5659. }
  5660. func (m *PersistentVolumeClaimSpec) Marshal() (dAtA []byte, err error) {
  5661. size := m.Size()
  5662. dAtA = make([]byte, size)
  5663. n, err := m.MarshalTo(dAtA)
  5664. if err != nil {
  5665. return nil, err
  5666. }
  5667. return dAtA[:n], nil
  5668. }
  5669. func (m *PersistentVolumeClaimSpec) MarshalTo(dAtA []byte) (int, error) {
  5670. var i int
  5671. _ = i
  5672. var l int
  5673. _ = l
  5674. if len(m.AccessModes) > 0 {
  5675. for _, s := range m.AccessModes {
  5676. dAtA[i] = 0xa
  5677. i++
  5678. l = len(s)
  5679. for l >= 1<<7 {
  5680. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5681. l >>= 7
  5682. i++
  5683. }
  5684. dAtA[i] = uint8(l)
  5685. i++
  5686. i += copy(dAtA[i:], s)
  5687. }
  5688. }
  5689. dAtA[i] = 0x12
  5690. i++
  5691. i = encodeVarintGenerated(dAtA, i, uint64(m.Resources.Size()))
  5692. n106, err := m.Resources.MarshalTo(dAtA[i:])
  5693. if err != nil {
  5694. return 0, err
  5695. }
  5696. i += n106
  5697. dAtA[i] = 0x1a
  5698. i++
  5699. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  5700. i += copy(dAtA[i:], m.VolumeName)
  5701. if m.Selector != nil {
  5702. dAtA[i] = 0x22
  5703. i++
  5704. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  5705. n107, err := m.Selector.MarshalTo(dAtA[i:])
  5706. if err != nil {
  5707. return 0, err
  5708. }
  5709. i += n107
  5710. }
  5711. if m.StorageClassName != nil {
  5712. dAtA[i] = 0x2a
  5713. i++
  5714. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.StorageClassName)))
  5715. i += copy(dAtA[i:], *m.StorageClassName)
  5716. }
  5717. if m.VolumeMode != nil {
  5718. dAtA[i] = 0x32
  5719. i++
  5720. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.VolumeMode)))
  5721. i += copy(dAtA[i:], *m.VolumeMode)
  5722. }
  5723. return i, nil
  5724. }
  5725. func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error) {
  5726. size := m.Size()
  5727. dAtA = make([]byte, size)
  5728. n, err := m.MarshalTo(dAtA)
  5729. if err != nil {
  5730. return nil, err
  5731. }
  5732. return dAtA[:n], nil
  5733. }
  5734. func (m *PersistentVolumeClaimStatus) MarshalTo(dAtA []byte) (int, error) {
  5735. var i int
  5736. _ = i
  5737. var l int
  5738. _ = l
  5739. dAtA[i] = 0xa
  5740. i++
  5741. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  5742. i += copy(dAtA[i:], m.Phase)
  5743. if len(m.AccessModes) > 0 {
  5744. for _, s := range m.AccessModes {
  5745. dAtA[i] = 0x12
  5746. i++
  5747. l = len(s)
  5748. for l >= 1<<7 {
  5749. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  5750. l >>= 7
  5751. i++
  5752. }
  5753. dAtA[i] = uint8(l)
  5754. i++
  5755. i += copy(dAtA[i:], s)
  5756. }
  5757. }
  5758. if len(m.Capacity) > 0 {
  5759. keysForCapacity := make([]string, 0, len(m.Capacity))
  5760. for k := range m.Capacity {
  5761. keysForCapacity = append(keysForCapacity, string(k))
  5762. }
  5763. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  5764. for _, k := range keysForCapacity {
  5765. dAtA[i] = 0x1a
  5766. i++
  5767. v := m.Capacity[ResourceName(k)]
  5768. msgSize := 0
  5769. if (&v) != nil {
  5770. msgSize = (&v).Size()
  5771. msgSize += 1 + sovGenerated(uint64(msgSize))
  5772. }
  5773. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  5774. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  5775. dAtA[i] = 0xa
  5776. i++
  5777. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  5778. i += copy(dAtA[i:], k)
  5779. dAtA[i] = 0x12
  5780. i++
  5781. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  5782. n108, err := (&v).MarshalTo(dAtA[i:])
  5783. if err != nil {
  5784. return 0, err
  5785. }
  5786. i += n108
  5787. }
  5788. }
  5789. if len(m.Conditions) > 0 {
  5790. for _, msg := range m.Conditions {
  5791. dAtA[i] = 0x22
  5792. i++
  5793. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5794. n, err := msg.MarshalTo(dAtA[i:])
  5795. if err != nil {
  5796. return 0, err
  5797. }
  5798. i += n
  5799. }
  5800. }
  5801. return i, nil
  5802. }
  5803. func (m *PersistentVolumeClaimVolumeSource) Marshal() (dAtA []byte, err error) {
  5804. size := m.Size()
  5805. dAtA = make([]byte, size)
  5806. n, err := m.MarshalTo(dAtA)
  5807. if err != nil {
  5808. return nil, err
  5809. }
  5810. return dAtA[:n], nil
  5811. }
  5812. func (m *PersistentVolumeClaimVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  5813. var i int
  5814. _ = i
  5815. var l int
  5816. _ = l
  5817. dAtA[i] = 0xa
  5818. i++
  5819. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClaimName)))
  5820. i += copy(dAtA[i:], m.ClaimName)
  5821. dAtA[i] = 0x10
  5822. i++
  5823. if m.ReadOnly {
  5824. dAtA[i] = 1
  5825. } else {
  5826. dAtA[i] = 0
  5827. }
  5828. i++
  5829. return i, nil
  5830. }
  5831. func (m *PersistentVolumeList) Marshal() (dAtA []byte, err error) {
  5832. size := m.Size()
  5833. dAtA = make([]byte, size)
  5834. n, err := m.MarshalTo(dAtA)
  5835. if err != nil {
  5836. return nil, err
  5837. }
  5838. return dAtA[:n], nil
  5839. }
  5840. func (m *PersistentVolumeList) MarshalTo(dAtA []byte) (int, error) {
  5841. var i int
  5842. _ = i
  5843. var l int
  5844. _ = l
  5845. dAtA[i] = 0xa
  5846. i++
  5847. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  5848. n109, err := m.ListMeta.MarshalTo(dAtA[i:])
  5849. if err != nil {
  5850. return 0, err
  5851. }
  5852. i += n109
  5853. if len(m.Items) > 0 {
  5854. for _, msg := range m.Items {
  5855. dAtA[i] = 0x12
  5856. i++
  5857. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  5858. n, err := msg.MarshalTo(dAtA[i:])
  5859. if err != nil {
  5860. return 0, err
  5861. }
  5862. i += n
  5863. }
  5864. }
  5865. return i, nil
  5866. }
  5867. func (m *PersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  5868. size := m.Size()
  5869. dAtA = make([]byte, size)
  5870. n, err := m.MarshalTo(dAtA)
  5871. if err != nil {
  5872. return nil, err
  5873. }
  5874. return dAtA[:n], nil
  5875. }
  5876. func (m *PersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  5877. var i int
  5878. _ = i
  5879. var l int
  5880. _ = l
  5881. if m.GCEPersistentDisk != nil {
  5882. dAtA[i] = 0xa
  5883. i++
  5884. i = encodeVarintGenerated(dAtA, i, uint64(m.GCEPersistentDisk.Size()))
  5885. n110, err := m.GCEPersistentDisk.MarshalTo(dAtA[i:])
  5886. if err != nil {
  5887. return 0, err
  5888. }
  5889. i += n110
  5890. }
  5891. if m.AWSElasticBlockStore != nil {
  5892. dAtA[i] = 0x12
  5893. i++
  5894. i = encodeVarintGenerated(dAtA, i, uint64(m.AWSElasticBlockStore.Size()))
  5895. n111, err := m.AWSElasticBlockStore.MarshalTo(dAtA[i:])
  5896. if err != nil {
  5897. return 0, err
  5898. }
  5899. i += n111
  5900. }
  5901. if m.HostPath != nil {
  5902. dAtA[i] = 0x1a
  5903. i++
  5904. i = encodeVarintGenerated(dAtA, i, uint64(m.HostPath.Size()))
  5905. n112, err := m.HostPath.MarshalTo(dAtA[i:])
  5906. if err != nil {
  5907. return 0, err
  5908. }
  5909. i += n112
  5910. }
  5911. if m.Glusterfs != nil {
  5912. dAtA[i] = 0x22
  5913. i++
  5914. i = encodeVarintGenerated(dAtA, i, uint64(m.Glusterfs.Size()))
  5915. n113, err := m.Glusterfs.MarshalTo(dAtA[i:])
  5916. if err != nil {
  5917. return 0, err
  5918. }
  5919. i += n113
  5920. }
  5921. if m.NFS != nil {
  5922. dAtA[i] = 0x2a
  5923. i++
  5924. i = encodeVarintGenerated(dAtA, i, uint64(m.NFS.Size()))
  5925. n114, err := m.NFS.MarshalTo(dAtA[i:])
  5926. if err != nil {
  5927. return 0, err
  5928. }
  5929. i += n114
  5930. }
  5931. if m.RBD != nil {
  5932. dAtA[i] = 0x32
  5933. i++
  5934. i = encodeVarintGenerated(dAtA, i, uint64(m.RBD.Size()))
  5935. n115, err := m.RBD.MarshalTo(dAtA[i:])
  5936. if err != nil {
  5937. return 0, err
  5938. }
  5939. i += n115
  5940. }
  5941. if m.ISCSI != nil {
  5942. dAtA[i] = 0x3a
  5943. i++
  5944. i = encodeVarintGenerated(dAtA, i, uint64(m.ISCSI.Size()))
  5945. n116, err := m.ISCSI.MarshalTo(dAtA[i:])
  5946. if err != nil {
  5947. return 0, err
  5948. }
  5949. i += n116
  5950. }
  5951. if m.Cinder != nil {
  5952. dAtA[i] = 0x42
  5953. i++
  5954. i = encodeVarintGenerated(dAtA, i, uint64(m.Cinder.Size()))
  5955. n117, err := m.Cinder.MarshalTo(dAtA[i:])
  5956. if err != nil {
  5957. return 0, err
  5958. }
  5959. i += n117
  5960. }
  5961. if m.CephFS != nil {
  5962. dAtA[i] = 0x4a
  5963. i++
  5964. i = encodeVarintGenerated(dAtA, i, uint64(m.CephFS.Size()))
  5965. n118, err := m.CephFS.MarshalTo(dAtA[i:])
  5966. if err != nil {
  5967. return 0, err
  5968. }
  5969. i += n118
  5970. }
  5971. if m.FC != nil {
  5972. dAtA[i] = 0x52
  5973. i++
  5974. i = encodeVarintGenerated(dAtA, i, uint64(m.FC.Size()))
  5975. n119, err := m.FC.MarshalTo(dAtA[i:])
  5976. if err != nil {
  5977. return 0, err
  5978. }
  5979. i += n119
  5980. }
  5981. if m.Flocker != nil {
  5982. dAtA[i] = 0x5a
  5983. i++
  5984. i = encodeVarintGenerated(dAtA, i, uint64(m.Flocker.Size()))
  5985. n120, err := m.Flocker.MarshalTo(dAtA[i:])
  5986. if err != nil {
  5987. return 0, err
  5988. }
  5989. i += n120
  5990. }
  5991. if m.FlexVolume != nil {
  5992. dAtA[i] = 0x62
  5993. i++
  5994. i = encodeVarintGenerated(dAtA, i, uint64(m.FlexVolume.Size()))
  5995. n121, err := m.FlexVolume.MarshalTo(dAtA[i:])
  5996. if err != nil {
  5997. return 0, err
  5998. }
  5999. i += n121
  6000. }
  6001. if m.AzureFile != nil {
  6002. dAtA[i] = 0x6a
  6003. i++
  6004. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureFile.Size()))
  6005. n122, err := m.AzureFile.MarshalTo(dAtA[i:])
  6006. if err != nil {
  6007. return 0, err
  6008. }
  6009. i += n122
  6010. }
  6011. if m.VsphereVolume != nil {
  6012. dAtA[i] = 0x72
  6013. i++
  6014. i = encodeVarintGenerated(dAtA, i, uint64(m.VsphereVolume.Size()))
  6015. n123, err := m.VsphereVolume.MarshalTo(dAtA[i:])
  6016. if err != nil {
  6017. return 0, err
  6018. }
  6019. i += n123
  6020. }
  6021. if m.Quobyte != nil {
  6022. dAtA[i] = 0x7a
  6023. i++
  6024. i = encodeVarintGenerated(dAtA, i, uint64(m.Quobyte.Size()))
  6025. n124, err := m.Quobyte.MarshalTo(dAtA[i:])
  6026. if err != nil {
  6027. return 0, err
  6028. }
  6029. i += n124
  6030. }
  6031. if m.AzureDisk != nil {
  6032. dAtA[i] = 0x82
  6033. i++
  6034. dAtA[i] = 0x1
  6035. i++
  6036. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureDisk.Size()))
  6037. n125, err := m.AzureDisk.MarshalTo(dAtA[i:])
  6038. if err != nil {
  6039. return 0, err
  6040. }
  6041. i += n125
  6042. }
  6043. if m.PhotonPersistentDisk != nil {
  6044. dAtA[i] = 0x8a
  6045. i++
  6046. dAtA[i] = 0x1
  6047. i++
  6048. i = encodeVarintGenerated(dAtA, i, uint64(m.PhotonPersistentDisk.Size()))
  6049. n126, err := m.PhotonPersistentDisk.MarshalTo(dAtA[i:])
  6050. if err != nil {
  6051. return 0, err
  6052. }
  6053. i += n126
  6054. }
  6055. if m.PortworxVolume != nil {
  6056. dAtA[i] = 0x92
  6057. i++
  6058. dAtA[i] = 0x1
  6059. i++
  6060. i = encodeVarintGenerated(dAtA, i, uint64(m.PortworxVolume.Size()))
  6061. n127, err := m.PortworxVolume.MarshalTo(dAtA[i:])
  6062. if err != nil {
  6063. return 0, err
  6064. }
  6065. i += n127
  6066. }
  6067. if m.ScaleIO != nil {
  6068. dAtA[i] = 0x9a
  6069. i++
  6070. dAtA[i] = 0x1
  6071. i++
  6072. i = encodeVarintGenerated(dAtA, i, uint64(m.ScaleIO.Size()))
  6073. n128, err := m.ScaleIO.MarshalTo(dAtA[i:])
  6074. if err != nil {
  6075. return 0, err
  6076. }
  6077. i += n128
  6078. }
  6079. if m.Local != nil {
  6080. dAtA[i] = 0xa2
  6081. i++
  6082. dAtA[i] = 0x1
  6083. i++
  6084. i = encodeVarintGenerated(dAtA, i, uint64(m.Local.Size()))
  6085. n129, err := m.Local.MarshalTo(dAtA[i:])
  6086. if err != nil {
  6087. return 0, err
  6088. }
  6089. i += n129
  6090. }
  6091. if m.StorageOS != nil {
  6092. dAtA[i] = 0xaa
  6093. i++
  6094. dAtA[i] = 0x1
  6095. i++
  6096. i = encodeVarintGenerated(dAtA, i, uint64(m.StorageOS.Size()))
  6097. n130, err := m.StorageOS.MarshalTo(dAtA[i:])
  6098. if err != nil {
  6099. return 0, err
  6100. }
  6101. i += n130
  6102. }
  6103. if m.CSI != nil {
  6104. dAtA[i] = 0xb2
  6105. i++
  6106. dAtA[i] = 0x1
  6107. i++
  6108. i = encodeVarintGenerated(dAtA, i, uint64(m.CSI.Size()))
  6109. n131, err := m.CSI.MarshalTo(dAtA[i:])
  6110. if err != nil {
  6111. return 0, err
  6112. }
  6113. i += n131
  6114. }
  6115. return i, nil
  6116. }
  6117. func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error) {
  6118. size := m.Size()
  6119. dAtA = make([]byte, size)
  6120. n, err := m.MarshalTo(dAtA)
  6121. if err != nil {
  6122. return nil, err
  6123. }
  6124. return dAtA[:n], nil
  6125. }
  6126. func (m *PersistentVolumeSpec) MarshalTo(dAtA []byte) (int, error) {
  6127. var i int
  6128. _ = i
  6129. var l int
  6130. _ = l
  6131. if len(m.Capacity) > 0 {
  6132. keysForCapacity := make([]string, 0, len(m.Capacity))
  6133. for k := range m.Capacity {
  6134. keysForCapacity = append(keysForCapacity, string(k))
  6135. }
  6136. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  6137. for _, k := range keysForCapacity {
  6138. dAtA[i] = 0xa
  6139. i++
  6140. v := m.Capacity[ResourceName(k)]
  6141. msgSize := 0
  6142. if (&v) != nil {
  6143. msgSize = (&v).Size()
  6144. msgSize += 1 + sovGenerated(uint64(msgSize))
  6145. }
  6146. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  6147. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  6148. dAtA[i] = 0xa
  6149. i++
  6150. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  6151. i += copy(dAtA[i:], k)
  6152. dAtA[i] = 0x12
  6153. i++
  6154. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  6155. n132, err := (&v).MarshalTo(dAtA[i:])
  6156. if err != nil {
  6157. return 0, err
  6158. }
  6159. i += n132
  6160. }
  6161. }
  6162. dAtA[i] = 0x12
  6163. i++
  6164. i = encodeVarintGenerated(dAtA, i, uint64(m.PersistentVolumeSource.Size()))
  6165. n133, err := m.PersistentVolumeSource.MarshalTo(dAtA[i:])
  6166. if err != nil {
  6167. return 0, err
  6168. }
  6169. i += n133
  6170. if len(m.AccessModes) > 0 {
  6171. for _, s := range m.AccessModes {
  6172. dAtA[i] = 0x1a
  6173. i++
  6174. l = len(s)
  6175. for l >= 1<<7 {
  6176. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6177. l >>= 7
  6178. i++
  6179. }
  6180. dAtA[i] = uint8(l)
  6181. i++
  6182. i += copy(dAtA[i:], s)
  6183. }
  6184. }
  6185. if m.ClaimRef != nil {
  6186. dAtA[i] = 0x22
  6187. i++
  6188. i = encodeVarintGenerated(dAtA, i, uint64(m.ClaimRef.Size()))
  6189. n134, err := m.ClaimRef.MarshalTo(dAtA[i:])
  6190. if err != nil {
  6191. return 0, err
  6192. }
  6193. i += n134
  6194. }
  6195. dAtA[i] = 0x2a
  6196. i++
  6197. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PersistentVolumeReclaimPolicy)))
  6198. i += copy(dAtA[i:], m.PersistentVolumeReclaimPolicy)
  6199. dAtA[i] = 0x32
  6200. i++
  6201. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageClassName)))
  6202. i += copy(dAtA[i:], m.StorageClassName)
  6203. if len(m.MountOptions) > 0 {
  6204. for _, s := range m.MountOptions {
  6205. dAtA[i] = 0x3a
  6206. i++
  6207. l = len(s)
  6208. for l >= 1<<7 {
  6209. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6210. l >>= 7
  6211. i++
  6212. }
  6213. dAtA[i] = uint8(l)
  6214. i++
  6215. i += copy(dAtA[i:], s)
  6216. }
  6217. }
  6218. if m.VolumeMode != nil {
  6219. dAtA[i] = 0x42
  6220. i++
  6221. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.VolumeMode)))
  6222. i += copy(dAtA[i:], *m.VolumeMode)
  6223. }
  6224. if m.NodeAffinity != nil {
  6225. dAtA[i] = 0x4a
  6226. i++
  6227. i = encodeVarintGenerated(dAtA, i, uint64(m.NodeAffinity.Size()))
  6228. n135, err := m.NodeAffinity.MarshalTo(dAtA[i:])
  6229. if err != nil {
  6230. return 0, err
  6231. }
  6232. i += n135
  6233. }
  6234. return i, nil
  6235. }
  6236. func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error) {
  6237. size := m.Size()
  6238. dAtA = make([]byte, size)
  6239. n, err := m.MarshalTo(dAtA)
  6240. if err != nil {
  6241. return nil, err
  6242. }
  6243. return dAtA[:n], nil
  6244. }
  6245. func (m *PersistentVolumeStatus) MarshalTo(dAtA []byte) (int, error) {
  6246. var i int
  6247. _ = i
  6248. var l int
  6249. _ = l
  6250. dAtA[i] = 0xa
  6251. i++
  6252. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  6253. i += copy(dAtA[i:], m.Phase)
  6254. dAtA[i] = 0x12
  6255. i++
  6256. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  6257. i += copy(dAtA[i:], m.Message)
  6258. dAtA[i] = 0x1a
  6259. i++
  6260. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  6261. i += copy(dAtA[i:], m.Reason)
  6262. return i, nil
  6263. }
  6264. func (m *PhotonPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  6265. size := m.Size()
  6266. dAtA = make([]byte, size)
  6267. n, err := m.MarshalTo(dAtA)
  6268. if err != nil {
  6269. return nil, err
  6270. }
  6271. return dAtA[:n], nil
  6272. }
  6273. func (m *PhotonPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  6274. var i int
  6275. _ = i
  6276. var l int
  6277. _ = l
  6278. dAtA[i] = 0xa
  6279. i++
  6280. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PdID)))
  6281. i += copy(dAtA[i:], m.PdID)
  6282. dAtA[i] = 0x12
  6283. i++
  6284. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  6285. i += copy(dAtA[i:], m.FSType)
  6286. return i, nil
  6287. }
  6288. func (m *Pod) Marshal() (dAtA []byte, err error) {
  6289. size := m.Size()
  6290. dAtA = make([]byte, size)
  6291. n, err := m.MarshalTo(dAtA)
  6292. if err != nil {
  6293. return nil, err
  6294. }
  6295. return dAtA[:n], nil
  6296. }
  6297. func (m *Pod) MarshalTo(dAtA []byte) (int, error) {
  6298. var i int
  6299. _ = i
  6300. var l int
  6301. _ = l
  6302. dAtA[i] = 0xa
  6303. i++
  6304. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  6305. n136, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  6306. if err != nil {
  6307. return 0, err
  6308. }
  6309. i += n136
  6310. dAtA[i] = 0x12
  6311. i++
  6312. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  6313. n137, err := m.Spec.MarshalTo(dAtA[i:])
  6314. if err != nil {
  6315. return 0, err
  6316. }
  6317. i += n137
  6318. dAtA[i] = 0x1a
  6319. i++
  6320. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  6321. n138, err := m.Status.MarshalTo(dAtA[i:])
  6322. if err != nil {
  6323. return 0, err
  6324. }
  6325. i += n138
  6326. return i, nil
  6327. }
  6328. func (m *PodAffinity) Marshal() (dAtA []byte, err error) {
  6329. size := m.Size()
  6330. dAtA = make([]byte, size)
  6331. n, err := m.MarshalTo(dAtA)
  6332. if err != nil {
  6333. return nil, err
  6334. }
  6335. return dAtA[:n], nil
  6336. }
  6337. func (m *PodAffinity) MarshalTo(dAtA []byte) (int, error) {
  6338. var i int
  6339. _ = i
  6340. var l int
  6341. _ = l
  6342. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  6343. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  6344. dAtA[i] = 0xa
  6345. i++
  6346. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6347. n, err := msg.MarshalTo(dAtA[i:])
  6348. if err != nil {
  6349. return 0, err
  6350. }
  6351. i += n
  6352. }
  6353. }
  6354. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  6355. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  6356. dAtA[i] = 0x12
  6357. i++
  6358. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6359. n, err := msg.MarshalTo(dAtA[i:])
  6360. if err != nil {
  6361. return 0, err
  6362. }
  6363. i += n
  6364. }
  6365. }
  6366. return i, nil
  6367. }
  6368. func (m *PodAffinityTerm) Marshal() (dAtA []byte, err error) {
  6369. size := m.Size()
  6370. dAtA = make([]byte, size)
  6371. n, err := m.MarshalTo(dAtA)
  6372. if err != nil {
  6373. return nil, err
  6374. }
  6375. return dAtA[:n], nil
  6376. }
  6377. func (m *PodAffinityTerm) MarshalTo(dAtA []byte) (int, error) {
  6378. var i int
  6379. _ = i
  6380. var l int
  6381. _ = l
  6382. if m.LabelSelector != nil {
  6383. dAtA[i] = 0xa
  6384. i++
  6385. i = encodeVarintGenerated(dAtA, i, uint64(m.LabelSelector.Size()))
  6386. n139, err := m.LabelSelector.MarshalTo(dAtA[i:])
  6387. if err != nil {
  6388. return 0, err
  6389. }
  6390. i += n139
  6391. }
  6392. if len(m.Namespaces) > 0 {
  6393. for _, s := range m.Namespaces {
  6394. dAtA[i] = 0x12
  6395. i++
  6396. l = len(s)
  6397. for l >= 1<<7 {
  6398. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6399. l >>= 7
  6400. i++
  6401. }
  6402. dAtA[i] = uint8(l)
  6403. i++
  6404. i += copy(dAtA[i:], s)
  6405. }
  6406. }
  6407. dAtA[i] = 0x1a
  6408. i++
  6409. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TopologyKey)))
  6410. i += copy(dAtA[i:], m.TopologyKey)
  6411. return i, nil
  6412. }
  6413. func (m *PodAntiAffinity) Marshal() (dAtA []byte, err error) {
  6414. size := m.Size()
  6415. dAtA = make([]byte, size)
  6416. n, err := m.MarshalTo(dAtA)
  6417. if err != nil {
  6418. return nil, err
  6419. }
  6420. return dAtA[:n], nil
  6421. }
  6422. func (m *PodAntiAffinity) MarshalTo(dAtA []byte) (int, error) {
  6423. var i int
  6424. _ = i
  6425. var l int
  6426. _ = l
  6427. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  6428. for _, msg := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  6429. dAtA[i] = 0xa
  6430. i++
  6431. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6432. n, err := msg.MarshalTo(dAtA[i:])
  6433. if err != nil {
  6434. return 0, err
  6435. }
  6436. i += n
  6437. }
  6438. }
  6439. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  6440. for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  6441. dAtA[i] = 0x12
  6442. i++
  6443. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6444. n, err := msg.MarshalTo(dAtA[i:])
  6445. if err != nil {
  6446. return 0, err
  6447. }
  6448. i += n
  6449. }
  6450. }
  6451. return i, nil
  6452. }
  6453. func (m *PodAttachOptions) Marshal() (dAtA []byte, err error) {
  6454. size := m.Size()
  6455. dAtA = make([]byte, size)
  6456. n, err := m.MarshalTo(dAtA)
  6457. if err != nil {
  6458. return nil, err
  6459. }
  6460. return dAtA[:n], nil
  6461. }
  6462. func (m *PodAttachOptions) MarshalTo(dAtA []byte) (int, error) {
  6463. var i int
  6464. _ = i
  6465. var l int
  6466. _ = l
  6467. dAtA[i] = 0x8
  6468. i++
  6469. if m.Stdin {
  6470. dAtA[i] = 1
  6471. } else {
  6472. dAtA[i] = 0
  6473. }
  6474. i++
  6475. dAtA[i] = 0x10
  6476. i++
  6477. if m.Stdout {
  6478. dAtA[i] = 1
  6479. } else {
  6480. dAtA[i] = 0
  6481. }
  6482. i++
  6483. dAtA[i] = 0x18
  6484. i++
  6485. if m.Stderr {
  6486. dAtA[i] = 1
  6487. } else {
  6488. dAtA[i] = 0
  6489. }
  6490. i++
  6491. dAtA[i] = 0x20
  6492. i++
  6493. if m.TTY {
  6494. dAtA[i] = 1
  6495. } else {
  6496. dAtA[i] = 0
  6497. }
  6498. i++
  6499. dAtA[i] = 0x2a
  6500. i++
  6501. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
  6502. i += copy(dAtA[i:], m.Container)
  6503. return i, nil
  6504. }
  6505. func (m *PodCondition) Marshal() (dAtA []byte, err error) {
  6506. size := m.Size()
  6507. dAtA = make([]byte, size)
  6508. n, err := m.MarshalTo(dAtA)
  6509. if err != nil {
  6510. return nil, err
  6511. }
  6512. return dAtA[:n], nil
  6513. }
  6514. func (m *PodCondition) MarshalTo(dAtA []byte) (int, error) {
  6515. var i int
  6516. _ = i
  6517. var l int
  6518. _ = l
  6519. dAtA[i] = 0xa
  6520. i++
  6521. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  6522. i += copy(dAtA[i:], m.Type)
  6523. dAtA[i] = 0x12
  6524. i++
  6525. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  6526. i += copy(dAtA[i:], m.Status)
  6527. dAtA[i] = 0x1a
  6528. i++
  6529. i = encodeVarintGenerated(dAtA, i, uint64(m.LastProbeTime.Size()))
  6530. n140, err := m.LastProbeTime.MarshalTo(dAtA[i:])
  6531. if err != nil {
  6532. return 0, err
  6533. }
  6534. i += n140
  6535. dAtA[i] = 0x22
  6536. i++
  6537. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  6538. n141, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  6539. if err != nil {
  6540. return 0, err
  6541. }
  6542. i += n141
  6543. dAtA[i] = 0x2a
  6544. i++
  6545. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  6546. i += copy(dAtA[i:], m.Reason)
  6547. dAtA[i] = 0x32
  6548. i++
  6549. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  6550. i += copy(dAtA[i:], m.Message)
  6551. return i, nil
  6552. }
  6553. func (m *PodDNSConfig) Marshal() (dAtA []byte, err error) {
  6554. size := m.Size()
  6555. dAtA = make([]byte, size)
  6556. n, err := m.MarshalTo(dAtA)
  6557. if err != nil {
  6558. return nil, err
  6559. }
  6560. return dAtA[:n], nil
  6561. }
  6562. func (m *PodDNSConfig) MarshalTo(dAtA []byte) (int, error) {
  6563. var i int
  6564. _ = i
  6565. var l int
  6566. _ = l
  6567. if len(m.Nameservers) > 0 {
  6568. for _, s := range m.Nameservers {
  6569. dAtA[i] = 0xa
  6570. i++
  6571. l = len(s)
  6572. for l >= 1<<7 {
  6573. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6574. l >>= 7
  6575. i++
  6576. }
  6577. dAtA[i] = uint8(l)
  6578. i++
  6579. i += copy(dAtA[i:], s)
  6580. }
  6581. }
  6582. if len(m.Searches) > 0 {
  6583. for _, s := range m.Searches {
  6584. dAtA[i] = 0x12
  6585. i++
  6586. l = len(s)
  6587. for l >= 1<<7 {
  6588. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6589. l >>= 7
  6590. i++
  6591. }
  6592. dAtA[i] = uint8(l)
  6593. i++
  6594. i += copy(dAtA[i:], s)
  6595. }
  6596. }
  6597. if len(m.Options) > 0 {
  6598. for _, msg := range m.Options {
  6599. dAtA[i] = 0x1a
  6600. i++
  6601. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6602. n, err := msg.MarshalTo(dAtA[i:])
  6603. if err != nil {
  6604. return 0, err
  6605. }
  6606. i += n
  6607. }
  6608. }
  6609. return i, nil
  6610. }
  6611. func (m *PodDNSConfigOption) Marshal() (dAtA []byte, err error) {
  6612. size := m.Size()
  6613. dAtA = make([]byte, size)
  6614. n, err := m.MarshalTo(dAtA)
  6615. if err != nil {
  6616. return nil, err
  6617. }
  6618. return dAtA[:n], nil
  6619. }
  6620. func (m *PodDNSConfigOption) MarshalTo(dAtA []byte) (int, error) {
  6621. var i int
  6622. _ = i
  6623. var l int
  6624. _ = l
  6625. dAtA[i] = 0xa
  6626. i++
  6627. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  6628. i += copy(dAtA[i:], m.Name)
  6629. if m.Value != nil {
  6630. dAtA[i] = 0x12
  6631. i++
  6632. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Value)))
  6633. i += copy(dAtA[i:], *m.Value)
  6634. }
  6635. return i, nil
  6636. }
  6637. func (m *PodExecOptions) Marshal() (dAtA []byte, err error) {
  6638. size := m.Size()
  6639. dAtA = make([]byte, size)
  6640. n, err := m.MarshalTo(dAtA)
  6641. if err != nil {
  6642. return nil, err
  6643. }
  6644. return dAtA[:n], nil
  6645. }
  6646. func (m *PodExecOptions) MarshalTo(dAtA []byte) (int, error) {
  6647. var i int
  6648. _ = i
  6649. var l int
  6650. _ = l
  6651. dAtA[i] = 0x8
  6652. i++
  6653. if m.Stdin {
  6654. dAtA[i] = 1
  6655. } else {
  6656. dAtA[i] = 0
  6657. }
  6658. i++
  6659. dAtA[i] = 0x10
  6660. i++
  6661. if m.Stdout {
  6662. dAtA[i] = 1
  6663. } else {
  6664. dAtA[i] = 0
  6665. }
  6666. i++
  6667. dAtA[i] = 0x18
  6668. i++
  6669. if m.Stderr {
  6670. dAtA[i] = 1
  6671. } else {
  6672. dAtA[i] = 0
  6673. }
  6674. i++
  6675. dAtA[i] = 0x20
  6676. i++
  6677. if m.TTY {
  6678. dAtA[i] = 1
  6679. } else {
  6680. dAtA[i] = 0
  6681. }
  6682. i++
  6683. dAtA[i] = 0x2a
  6684. i++
  6685. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
  6686. i += copy(dAtA[i:], m.Container)
  6687. if len(m.Command) > 0 {
  6688. for _, s := range m.Command {
  6689. dAtA[i] = 0x32
  6690. i++
  6691. l = len(s)
  6692. for l >= 1<<7 {
  6693. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  6694. l >>= 7
  6695. i++
  6696. }
  6697. dAtA[i] = uint8(l)
  6698. i++
  6699. i += copy(dAtA[i:], s)
  6700. }
  6701. }
  6702. return i, nil
  6703. }
  6704. func (m *PodList) Marshal() (dAtA []byte, err error) {
  6705. size := m.Size()
  6706. dAtA = make([]byte, size)
  6707. n, err := m.MarshalTo(dAtA)
  6708. if err != nil {
  6709. return nil, err
  6710. }
  6711. return dAtA[:n], nil
  6712. }
  6713. func (m *PodList) MarshalTo(dAtA []byte) (int, error) {
  6714. var i int
  6715. _ = i
  6716. var l int
  6717. _ = l
  6718. dAtA[i] = 0xa
  6719. i++
  6720. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  6721. n142, err := m.ListMeta.MarshalTo(dAtA[i:])
  6722. if err != nil {
  6723. return 0, err
  6724. }
  6725. i += n142
  6726. if len(m.Items) > 0 {
  6727. for _, msg := range m.Items {
  6728. dAtA[i] = 0x12
  6729. i++
  6730. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6731. n, err := msg.MarshalTo(dAtA[i:])
  6732. if err != nil {
  6733. return 0, err
  6734. }
  6735. i += n
  6736. }
  6737. }
  6738. return i, nil
  6739. }
  6740. func (m *PodLogOptions) Marshal() (dAtA []byte, err error) {
  6741. size := m.Size()
  6742. dAtA = make([]byte, size)
  6743. n, err := m.MarshalTo(dAtA)
  6744. if err != nil {
  6745. return nil, err
  6746. }
  6747. return dAtA[:n], nil
  6748. }
  6749. func (m *PodLogOptions) MarshalTo(dAtA []byte) (int, error) {
  6750. var i int
  6751. _ = i
  6752. var l int
  6753. _ = l
  6754. dAtA[i] = 0xa
  6755. i++
  6756. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Container)))
  6757. i += copy(dAtA[i:], m.Container)
  6758. dAtA[i] = 0x10
  6759. i++
  6760. if m.Follow {
  6761. dAtA[i] = 1
  6762. } else {
  6763. dAtA[i] = 0
  6764. }
  6765. i++
  6766. dAtA[i] = 0x18
  6767. i++
  6768. if m.Previous {
  6769. dAtA[i] = 1
  6770. } else {
  6771. dAtA[i] = 0
  6772. }
  6773. i++
  6774. if m.SinceSeconds != nil {
  6775. dAtA[i] = 0x20
  6776. i++
  6777. i = encodeVarintGenerated(dAtA, i, uint64(*m.SinceSeconds))
  6778. }
  6779. if m.SinceTime != nil {
  6780. dAtA[i] = 0x2a
  6781. i++
  6782. i = encodeVarintGenerated(dAtA, i, uint64(m.SinceTime.Size()))
  6783. n143, err := m.SinceTime.MarshalTo(dAtA[i:])
  6784. if err != nil {
  6785. return 0, err
  6786. }
  6787. i += n143
  6788. }
  6789. dAtA[i] = 0x30
  6790. i++
  6791. if m.Timestamps {
  6792. dAtA[i] = 1
  6793. } else {
  6794. dAtA[i] = 0
  6795. }
  6796. i++
  6797. if m.TailLines != nil {
  6798. dAtA[i] = 0x38
  6799. i++
  6800. i = encodeVarintGenerated(dAtA, i, uint64(*m.TailLines))
  6801. }
  6802. if m.LimitBytes != nil {
  6803. dAtA[i] = 0x40
  6804. i++
  6805. i = encodeVarintGenerated(dAtA, i, uint64(*m.LimitBytes))
  6806. }
  6807. return i, nil
  6808. }
  6809. func (m *PodPortForwardOptions) Marshal() (dAtA []byte, err error) {
  6810. size := m.Size()
  6811. dAtA = make([]byte, size)
  6812. n, err := m.MarshalTo(dAtA)
  6813. if err != nil {
  6814. return nil, err
  6815. }
  6816. return dAtA[:n], nil
  6817. }
  6818. func (m *PodPortForwardOptions) MarshalTo(dAtA []byte) (int, error) {
  6819. var i int
  6820. _ = i
  6821. var l int
  6822. _ = l
  6823. if len(m.Ports) > 0 {
  6824. for _, num := range m.Ports {
  6825. dAtA[i] = 0x8
  6826. i++
  6827. i = encodeVarintGenerated(dAtA, i, uint64(num))
  6828. }
  6829. }
  6830. return i, nil
  6831. }
  6832. func (m *PodProxyOptions) Marshal() (dAtA []byte, err error) {
  6833. size := m.Size()
  6834. dAtA = make([]byte, size)
  6835. n, err := m.MarshalTo(dAtA)
  6836. if err != nil {
  6837. return nil, err
  6838. }
  6839. return dAtA[:n], nil
  6840. }
  6841. func (m *PodProxyOptions) MarshalTo(dAtA []byte) (int, error) {
  6842. var i int
  6843. _ = i
  6844. var l int
  6845. _ = l
  6846. dAtA[i] = 0xa
  6847. i++
  6848. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  6849. i += copy(dAtA[i:], m.Path)
  6850. return i, nil
  6851. }
  6852. func (m *PodSecurityContext) Marshal() (dAtA []byte, err error) {
  6853. size := m.Size()
  6854. dAtA = make([]byte, size)
  6855. n, err := m.MarshalTo(dAtA)
  6856. if err != nil {
  6857. return nil, err
  6858. }
  6859. return dAtA[:n], nil
  6860. }
  6861. func (m *PodSecurityContext) MarshalTo(dAtA []byte) (int, error) {
  6862. var i int
  6863. _ = i
  6864. var l int
  6865. _ = l
  6866. if m.SELinuxOptions != nil {
  6867. dAtA[i] = 0xa
  6868. i++
  6869. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
  6870. n144, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
  6871. if err != nil {
  6872. return 0, err
  6873. }
  6874. i += n144
  6875. }
  6876. if m.RunAsUser != nil {
  6877. dAtA[i] = 0x10
  6878. i++
  6879. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsUser))
  6880. }
  6881. if m.RunAsNonRoot != nil {
  6882. dAtA[i] = 0x18
  6883. i++
  6884. if *m.RunAsNonRoot {
  6885. dAtA[i] = 1
  6886. } else {
  6887. dAtA[i] = 0
  6888. }
  6889. i++
  6890. }
  6891. if len(m.SupplementalGroups) > 0 {
  6892. for _, num := range m.SupplementalGroups {
  6893. dAtA[i] = 0x20
  6894. i++
  6895. i = encodeVarintGenerated(dAtA, i, uint64(num))
  6896. }
  6897. }
  6898. if m.FSGroup != nil {
  6899. dAtA[i] = 0x28
  6900. i++
  6901. i = encodeVarintGenerated(dAtA, i, uint64(*m.FSGroup))
  6902. }
  6903. if m.RunAsGroup != nil {
  6904. dAtA[i] = 0x30
  6905. i++
  6906. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsGroup))
  6907. }
  6908. return i, nil
  6909. }
  6910. func (m *PodSignature) Marshal() (dAtA []byte, err error) {
  6911. size := m.Size()
  6912. dAtA = make([]byte, size)
  6913. n, err := m.MarshalTo(dAtA)
  6914. if err != nil {
  6915. return nil, err
  6916. }
  6917. return dAtA[:n], nil
  6918. }
  6919. func (m *PodSignature) MarshalTo(dAtA []byte) (int, error) {
  6920. var i int
  6921. _ = i
  6922. var l int
  6923. _ = l
  6924. if m.PodController != nil {
  6925. dAtA[i] = 0xa
  6926. i++
  6927. i = encodeVarintGenerated(dAtA, i, uint64(m.PodController.Size()))
  6928. n145, err := m.PodController.MarshalTo(dAtA[i:])
  6929. if err != nil {
  6930. return 0, err
  6931. }
  6932. i += n145
  6933. }
  6934. return i, nil
  6935. }
  6936. func (m *PodSpec) Marshal() (dAtA []byte, err error) {
  6937. size := m.Size()
  6938. dAtA = make([]byte, size)
  6939. n, err := m.MarshalTo(dAtA)
  6940. if err != nil {
  6941. return nil, err
  6942. }
  6943. return dAtA[:n], nil
  6944. }
  6945. func (m *PodSpec) MarshalTo(dAtA []byte) (int, error) {
  6946. var i int
  6947. _ = i
  6948. var l int
  6949. _ = l
  6950. if len(m.Volumes) > 0 {
  6951. for _, msg := range m.Volumes {
  6952. dAtA[i] = 0xa
  6953. i++
  6954. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6955. n, err := msg.MarshalTo(dAtA[i:])
  6956. if err != nil {
  6957. return 0, err
  6958. }
  6959. i += n
  6960. }
  6961. }
  6962. if len(m.Containers) > 0 {
  6963. for _, msg := range m.Containers {
  6964. dAtA[i] = 0x12
  6965. i++
  6966. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  6967. n, err := msg.MarshalTo(dAtA[i:])
  6968. if err != nil {
  6969. return 0, err
  6970. }
  6971. i += n
  6972. }
  6973. }
  6974. dAtA[i] = 0x1a
  6975. i++
  6976. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RestartPolicy)))
  6977. i += copy(dAtA[i:], m.RestartPolicy)
  6978. if m.TerminationGracePeriodSeconds != nil {
  6979. dAtA[i] = 0x20
  6980. i++
  6981. i = encodeVarintGenerated(dAtA, i, uint64(*m.TerminationGracePeriodSeconds))
  6982. }
  6983. if m.ActiveDeadlineSeconds != nil {
  6984. dAtA[i] = 0x28
  6985. i++
  6986. i = encodeVarintGenerated(dAtA, i, uint64(*m.ActiveDeadlineSeconds))
  6987. }
  6988. dAtA[i] = 0x32
  6989. i++
  6990. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DNSPolicy)))
  6991. i += copy(dAtA[i:], m.DNSPolicy)
  6992. if len(m.NodeSelector) > 0 {
  6993. keysForNodeSelector := make([]string, 0, len(m.NodeSelector))
  6994. for k := range m.NodeSelector {
  6995. keysForNodeSelector = append(keysForNodeSelector, string(k))
  6996. }
  6997. github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
  6998. for _, k := range keysForNodeSelector {
  6999. dAtA[i] = 0x3a
  7000. i++
  7001. v := m.NodeSelector[string(k)]
  7002. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7003. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  7004. dAtA[i] = 0xa
  7005. i++
  7006. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  7007. i += copy(dAtA[i:], k)
  7008. dAtA[i] = 0x12
  7009. i++
  7010. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  7011. i += copy(dAtA[i:], v)
  7012. }
  7013. }
  7014. dAtA[i] = 0x42
  7015. i++
  7016. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceAccountName)))
  7017. i += copy(dAtA[i:], m.ServiceAccountName)
  7018. dAtA[i] = 0x4a
  7019. i++
  7020. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DeprecatedServiceAccount)))
  7021. i += copy(dAtA[i:], m.DeprecatedServiceAccount)
  7022. dAtA[i] = 0x52
  7023. i++
  7024. i = encodeVarintGenerated(dAtA, i, uint64(len(m.NodeName)))
  7025. i += copy(dAtA[i:], m.NodeName)
  7026. dAtA[i] = 0x58
  7027. i++
  7028. if m.HostNetwork {
  7029. dAtA[i] = 1
  7030. } else {
  7031. dAtA[i] = 0
  7032. }
  7033. i++
  7034. dAtA[i] = 0x60
  7035. i++
  7036. if m.HostPID {
  7037. dAtA[i] = 1
  7038. } else {
  7039. dAtA[i] = 0
  7040. }
  7041. i++
  7042. dAtA[i] = 0x68
  7043. i++
  7044. if m.HostIPC {
  7045. dAtA[i] = 1
  7046. } else {
  7047. dAtA[i] = 0
  7048. }
  7049. i++
  7050. if m.SecurityContext != nil {
  7051. dAtA[i] = 0x72
  7052. i++
  7053. i = encodeVarintGenerated(dAtA, i, uint64(m.SecurityContext.Size()))
  7054. n146, err := m.SecurityContext.MarshalTo(dAtA[i:])
  7055. if err != nil {
  7056. return 0, err
  7057. }
  7058. i += n146
  7059. }
  7060. if len(m.ImagePullSecrets) > 0 {
  7061. for _, msg := range m.ImagePullSecrets {
  7062. dAtA[i] = 0x7a
  7063. i++
  7064. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7065. n, err := msg.MarshalTo(dAtA[i:])
  7066. if err != nil {
  7067. return 0, err
  7068. }
  7069. i += n
  7070. }
  7071. }
  7072. dAtA[i] = 0x82
  7073. i++
  7074. dAtA[i] = 0x1
  7075. i++
  7076. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
  7077. i += copy(dAtA[i:], m.Hostname)
  7078. dAtA[i] = 0x8a
  7079. i++
  7080. dAtA[i] = 0x1
  7081. i++
  7082. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subdomain)))
  7083. i += copy(dAtA[i:], m.Subdomain)
  7084. if m.Affinity != nil {
  7085. dAtA[i] = 0x92
  7086. i++
  7087. dAtA[i] = 0x1
  7088. i++
  7089. i = encodeVarintGenerated(dAtA, i, uint64(m.Affinity.Size()))
  7090. n147, err := m.Affinity.MarshalTo(dAtA[i:])
  7091. if err != nil {
  7092. return 0, err
  7093. }
  7094. i += n147
  7095. }
  7096. dAtA[i] = 0x9a
  7097. i++
  7098. dAtA[i] = 0x1
  7099. i++
  7100. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SchedulerName)))
  7101. i += copy(dAtA[i:], m.SchedulerName)
  7102. if len(m.InitContainers) > 0 {
  7103. for _, msg := range m.InitContainers {
  7104. dAtA[i] = 0xa2
  7105. i++
  7106. dAtA[i] = 0x1
  7107. i++
  7108. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7109. n, err := msg.MarshalTo(dAtA[i:])
  7110. if err != nil {
  7111. return 0, err
  7112. }
  7113. i += n
  7114. }
  7115. }
  7116. if m.AutomountServiceAccountToken != nil {
  7117. dAtA[i] = 0xa8
  7118. i++
  7119. dAtA[i] = 0x1
  7120. i++
  7121. if *m.AutomountServiceAccountToken {
  7122. dAtA[i] = 1
  7123. } else {
  7124. dAtA[i] = 0
  7125. }
  7126. i++
  7127. }
  7128. if len(m.Tolerations) > 0 {
  7129. for _, msg := range m.Tolerations {
  7130. dAtA[i] = 0xb2
  7131. i++
  7132. dAtA[i] = 0x1
  7133. i++
  7134. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7135. n, err := msg.MarshalTo(dAtA[i:])
  7136. if err != nil {
  7137. return 0, err
  7138. }
  7139. i += n
  7140. }
  7141. }
  7142. if len(m.HostAliases) > 0 {
  7143. for _, msg := range m.HostAliases {
  7144. dAtA[i] = 0xba
  7145. i++
  7146. dAtA[i] = 0x1
  7147. i++
  7148. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7149. n, err := msg.MarshalTo(dAtA[i:])
  7150. if err != nil {
  7151. return 0, err
  7152. }
  7153. i += n
  7154. }
  7155. }
  7156. dAtA[i] = 0xc2
  7157. i++
  7158. dAtA[i] = 0x1
  7159. i++
  7160. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PriorityClassName)))
  7161. i += copy(dAtA[i:], m.PriorityClassName)
  7162. if m.Priority != nil {
  7163. dAtA[i] = 0xc8
  7164. i++
  7165. dAtA[i] = 0x1
  7166. i++
  7167. i = encodeVarintGenerated(dAtA, i, uint64(*m.Priority))
  7168. }
  7169. if m.DNSConfig != nil {
  7170. dAtA[i] = 0xd2
  7171. i++
  7172. dAtA[i] = 0x1
  7173. i++
  7174. i = encodeVarintGenerated(dAtA, i, uint64(m.DNSConfig.Size()))
  7175. n148, err := m.DNSConfig.MarshalTo(dAtA[i:])
  7176. if err != nil {
  7177. return 0, err
  7178. }
  7179. i += n148
  7180. }
  7181. if m.ShareProcessNamespace != nil {
  7182. dAtA[i] = 0xd8
  7183. i++
  7184. dAtA[i] = 0x1
  7185. i++
  7186. if *m.ShareProcessNamespace {
  7187. dAtA[i] = 1
  7188. } else {
  7189. dAtA[i] = 0
  7190. }
  7191. i++
  7192. }
  7193. return i, nil
  7194. }
  7195. func (m *PodStatus) Marshal() (dAtA []byte, err error) {
  7196. size := m.Size()
  7197. dAtA = make([]byte, size)
  7198. n, err := m.MarshalTo(dAtA)
  7199. if err != nil {
  7200. return nil, err
  7201. }
  7202. return dAtA[:n], nil
  7203. }
  7204. func (m *PodStatus) MarshalTo(dAtA []byte) (int, error) {
  7205. var i int
  7206. _ = i
  7207. var l int
  7208. _ = l
  7209. dAtA[i] = 0xa
  7210. i++
  7211. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
  7212. i += copy(dAtA[i:], m.Phase)
  7213. if len(m.Conditions) > 0 {
  7214. for _, msg := range m.Conditions {
  7215. dAtA[i] = 0x12
  7216. i++
  7217. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7218. n, err := msg.MarshalTo(dAtA[i:])
  7219. if err != nil {
  7220. return 0, err
  7221. }
  7222. i += n
  7223. }
  7224. }
  7225. dAtA[i] = 0x1a
  7226. i++
  7227. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  7228. i += copy(dAtA[i:], m.Message)
  7229. dAtA[i] = 0x22
  7230. i++
  7231. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  7232. i += copy(dAtA[i:], m.Reason)
  7233. dAtA[i] = 0x2a
  7234. i++
  7235. i = encodeVarintGenerated(dAtA, i, uint64(len(m.HostIP)))
  7236. i += copy(dAtA[i:], m.HostIP)
  7237. dAtA[i] = 0x32
  7238. i++
  7239. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodIP)))
  7240. i += copy(dAtA[i:], m.PodIP)
  7241. if m.StartTime != nil {
  7242. dAtA[i] = 0x3a
  7243. i++
  7244. i = encodeVarintGenerated(dAtA, i, uint64(m.StartTime.Size()))
  7245. n149, err := m.StartTime.MarshalTo(dAtA[i:])
  7246. if err != nil {
  7247. return 0, err
  7248. }
  7249. i += n149
  7250. }
  7251. if len(m.ContainerStatuses) > 0 {
  7252. for _, msg := range m.ContainerStatuses {
  7253. dAtA[i] = 0x42
  7254. i++
  7255. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7256. n, err := msg.MarshalTo(dAtA[i:])
  7257. if err != nil {
  7258. return 0, err
  7259. }
  7260. i += n
  7261. }
  7262. }
  7263. dAtA[i] = 0x4a
  7264. i++
  7265. i = encodeVarintGenerated(dAtA, i, uint64(len(m.QOSClass)))
  7266. i += copy(dAtA[i:], m.QOSClass)
  7267. if len(m.InitContainerStatuses) > 0 {
  7268. for _, msg := range m.InitContainerStatuses {
  7269. dAtA[i] = 0x52
  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] = 0x5a
  7280. i++
  7281. i = encodeVarintGenerated(dAtA, i, uint64(len(m.NominatedNodeName)))
  7282. i += copy(dAtA[i:], m.NominatedNodeName)
  7283. return i, nil
  7284. }
  7285. func (m *PodStatusResult) Marshal() (dAtA []byte, err error) {
  7286. size := m.Size()
  7287. dAtA = make([]byte, size)
  7288. n, err := m.MarshalTo(dAtA)
  7289. if err != nil {
  7290. return nil, err
  7291. }
  7292. return dAtA[:n], nil
  7293. }
  7294. func (m *PodStatusResult) MarshalTo(dAtA []byte) (int, error) {
  7295. var i int
  7296. _ = i
  7297. var l int
  7298. _ = l
  7299. dAtA[i] = 0xa
  7300. i++
  7301. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7302. n150, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7303. if err != nil {
  7304. return 0, err
  7305. }
  7306. i += n150
  7307. dAtA[i] = 0x12
  7308. i++
  7309. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  7310. n151, err := m.Status.MarshalTo(dAtA[i:])
  7311. if err != nil {
  7312. return 0, err
  7313. }
  7314. i += n151
  7315. return i, nil
  7316. }
  7317. func (m *PodTemplate) Marshal() (dAtA []byte, err error) {
  7318. size := m.Size()
  7319. dAtA = make([]byte, size)
  7320. n, err := m.MarshalTo(dAtA)
  7321. if err != nil {
  7322. return nil, err
  7323. }
  7324. return dAtA[:n], nil
  7325. }
  7326. func (m *PodTemplate) MarshalTo(dAtA []byte) (int, error) {
  7327. var i int
  7328. _ = i
  7329. var l int
  7330. _ = l
  7331. dAtA[i] = 0xa
  7332. i++
  7333. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7334. n152, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7335. if err != nil {
  7336. return 0, err
  7337. }
  7338. i += n152
  7339. dAtA[i] = 0x12
  7340. i++
  7341. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  7342. n153, err := m.Template.MarshalTo(dAtA[i:])
  7343. if err != nil {
  7344. return 0, err
  7345. }
  7346. i += n153
  7347. return i, nil
  7348. }
  7349. func (m *PodTemplateList) Marshal() (dAtA []byte, err error) {
  7350. size := m.Size()
  7351. dAtA = make([]byte, size)
  7352. n, err := m.MarshalTo(dAtA)
  7353. if err != nil {
  7354. return nil, err
  7355. }
  7356. return dAtA[:n], nil
  7357. }
  7358. func (m *PodTemplateList) MarshalTo(dAtA []byte) (int, error) {
  7359. var i int
  7360. _ = i
  7361. var l int
  7362. _ = l
  7363. dAtA[i] = 0xa
  7364. i++
  7365. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  7366. n154, err := m.ListMeta.MarshalTo(dAtA[i:])
  7367. if err != nil {
  7368. return 0, err
  7369. }
  7370. i += n154
  7371. if len(m.Items) > 0 {
  7372. for _, msg := range m.Items {
  7373. dAtA[i] = 0x12
  7374. i++
  7375. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7376. n, err := msg.MarshalTo(dAtA[i:])
  7377. if err != nil {
  7378. return 0, err
  7379. }
  7380. i += n
  7381. }
  7382. }
  7383. return i, nil
  7384. }
  7385. func (m *PodTemplateSpec) Marshal() (dAtA []byte, err error) {
  7386. size := m.Size()
  7387. dAtA = make([]byte, size)
  7388. n, err := m.MarshalTo(dAtA)
  7389. if err != nil {
  7390. return nil, err
  7391. }
  7392. return dAtA[:n], nil
  7393. }
  7394. func (m *PodTemplateSpec) MarshalTo(dAtA []byte) (int, error) {
  7395. var i int
  7396. _ = i
  7397. var l int
  7398. _ = l
  7399. dAtA[i] = 0xa
  7400. i++
  7401. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7402. n155, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7403. if err != nil {
  7404. return 0, err
  7405. }
  7406. i += n155
  7407. dAtA[i] = 0x12
  7408. i++
  7409. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  7410. n156, err := m.Spec.MarshalTo(dAtA[i:])
  7411. if err != nil {
  7412. return 0, err
  7413. }
  7414. i += n156
  7415. return i, nil
  7416. }
  7417. func (m *PortworxVolumeSource) Marshal() (dAtA []byte, err error) {
  7418. size := m.Size()
  7419. dAtA = make([]byte, size)
  7420. n, err := m.MarshalTo(dAtA)
  7421. if err != nil {
  7422. return nil, err
  7423. }
  7424. return dAtA[:n], nil
  7425. }
  7426. func (m *PortworxVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7427. var i int
  7428. _ = i
  7429. var l int
  7430. _ = l
  7431. dAtA[i] = 0xa
  7432. i++
  7433. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeID)))
  7434. i += copy(dAtA[i:], m.VolumeID)
  7435. dAtA[i] = 0x12
  7436. i++
  7437. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  7438. i += copy(dAtA[i:], m.FSType)
  7439. dAtA[i] = 0x18
  7440. i++
  7441. if m.ReadOnly {
  7442. dAtA[i] = 1
  7443. } else {
  7444. dAtA[i] = 0
  7445. }
  7446. i++
  7447. return i, nil
  7448. }
  7449. func (m *Preconditions) Marshal() (dAtA []byte, err error) {
  7450. size := m.Size()
  7451. dAtA = make([]byte, size)
  7452. n, err := m.MarshalTo(dAtA)
  7453. if err != nil {
  7454. return nil, err
  7455. }
  7456. return dAtA[:n], nil
  7457. }
  7458. func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) {
  7459. var i int
  7460. _ = i
  7461. var l int
  7462. _ = l
  7463. if m.UID != nil {
  7464. dAtA[i] = 0xa
  7465. i++
  7466. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID)))
  7467. i += copy(dAtA[i:], *m.UID)
  7468. }
  7469. return i, nil
  7470. }
  7471. func (m *PreferAvoidPodsEntry) Marshal() (dAtA []byte, err error) {
  7472. size := m.Size()
  7473. dAtA = make([]byte, size)
  7474. n, err := m.MarshalTo(dAtA)
  7475. if err != nil {
  7476. return nil, err
  7477. }
  7478. return dAtA[:n], nil
  7479. }
  7480. func (m *PreferAvoidPodsEntry) MarshalTo(dAtA []byte) (int, error) {
  7481. var i int
  7482. _ = i
  7483. var l int
  7484. _ = l
  7485. dAtA[i] = 0xa
  7486. i++
  7487. i = encodeVarintGenerated(dAtA, i, uint64(m.PodSignature.Size()))
  7488. n157, err := m.PodSignature.MarshalTo(dAtA[i:])
  7489. if err != nil {
  7490. return 0, err
  7491. }
  7492. i += n157
  7493. dAtA[i] = 0x12
  7494. i++
  7495. i = encodeVarintGenerated(dAtA, i, uint64(m.EvictionTime.Size()))
  7496. n158, err := m.EvictionTime.MarshalTo(dAtA[i:])
  7497. if err != nil {
  7498. return 0, err
  7499. }
  7500. i += n158
  7501. dAtA[i] = 0x1a
  7502. i++
  7503. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  7504. i += copy(dAtA[i:], m.Reason)
  7505. dAtA[i] = 0x22
  7506. i++
  7507. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  7508. i += copy(dAtA[i:], m.Message)
  7509. return i, nil
  7510. }
  7511. func (m *PreferredSchedulingTerm) Marshal() (dAtA []byte, err error) {
  7512. size := m.Size()
  7513. dAtA = make([]byte, size)
  7514. n, err := m.MarshalTo(dAtA)
  7515. if err != nil {
  7516. return nil, err
  7517. }
  7518. return dAtA[:n], nil
  7519. }
  7520. func (m *PreferredSchedulingTerm) MarshalTo(dAtA []byte) (int, error) {
  7521. var i int
  7522. _ = i
  7523. var l int
  7524. _ = l
  7525. dAtA[i] = 0x8
  7526. i++
  7527. i = encodeVarintGenerated(dAtA, i, uint64(m.Weight))
  7528. dAtA[i] = 0x12
  7529. i++
  7530. i = encodeVarintGenerated(dAtA, i, uint64(m.Preference.Size()))
  7531. n159, err := m.Preference.MarshalTo(dAtA[i:])
  7532. if err != nil {
  7533. return 0, err
  7534. }
  7535. i += n159
  7536. return i, nil
  7537. }
  7538. func (m *Probe) Marshal() (dAtA []byte, err error) {
  7539. size := m.Size()
  7540. dAtA = make([]byte, size)
  7541. n, err := m.MarshalTo(dAtA)
  7542. if err != nil {
  7543. return nil, err
  7544. }
  7545. return dAtA[:n], nil
  7546. }
  7547. func (m *Probe) MarshalTo(dAtA []byte) (int, error) {
  7548. var i int
  7549. _ = i
  7550. var l int
  7551. _ = l
  7552. dAtA[i] = 0xa
  7553. i++
  7554. i = encodeVarintGenerated(dAtA, i, uint64(m.Handler.Size()))
  7555. n160, err := m.Handler.MarshalTo(dAtA[i:])
  7556. if err != nil {
  7557. return 0, err
  7558. }
  7559. i += n160
  7560. dAtA[i] = 0x10
  7561. i++
  7562. i = encodeVarintGenerated(dAtA, i, uint64(m.InitialDelaySeconds))
  7563. dAtA[i] = 0x18
  7564. i++
  7565. i = encodeVarintGenerated(dAtA, i, uint64(m.TimeoutSeconds))
  7566. dAtA[i] = 0x20
  7567. i++
  7568. i = encodeVarintGenerated(dAtA, i, uint64(m.PeriodSeconds))
  7569. dAtA[i] = 0x28
  7570. i++
  7571. i = encodeVarintGenerated(dAtA, i, uint64(m.SuccessThreshold))
  7572. dAtA[i] = 0x30
  7573. i++
  7574. i = encodeVarintGenerated(dAtA, i, uint64(m.FailureThreshold))
  7575. return i, nil
  7576. }
  7577. func (m *ProjectedVolumeSource) Marshal() (dAtA []byte, err error) {
  7578. size := m.Size()
  7579. dAtA = make([]byte, size)
  7580. n, err := m.MarshalTo(dAtA)
  7581. if err != nil {
  7582. return nil, err
  7583. }
  7584. return dAtA[:n], nil
  7585. }
  7586. func (m *ProjectedVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7587. var i int
  7588. _ = i
  7589. var l int
  7590. _ = l
  7591. if len(m.Sources) > 0 {
  7592. for _, msg := range m.Sources {
  7593. dAtA[i] = 0xa
  7594. i++
  7595. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7596. n, err := msg.MarshalTo(dAtA[i:])
  7597. if err != nil {
  7598. return 0, err
  7599. }
  7600. i += n
  7601. }
  7602. }
  7603. if m.DefaultMode != nil {
  7604. dAtA[i] = 0x10
  7605. i++
  7606. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  7607. }
  7608. return i, nil
  7609. }
  7610. func (m *QuobyteVolumeSource) Marshal() (dAtA []byte, err error) {
  7611. size := m.Size()
  7612. dAtA = make([]byte, size)
  7613. n, err := m.MarshalTo(dAtA)
  7614. if err != nil {
  7615. return nil, err
  7616. }
  7617. return dAtA[:n], nil
  7618. }
  7619. func (m *QuobyteVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7620. var i int
  7621. _ = i
  7622. var l int
  7623. _ = l
  7624. dAtA[i] = 0xa
  7625. i++
  7626. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Registry)))
  7627. i += copy(dAtA[i:], m.Registry)
  7628. dAtA[i] = 0x12
  7629. i++
  7630. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Volume)))
  7631. i += copy(dAtA[i:], m.Volume)
  7632. dAtA[i] = 0x18
  7633. i++
  7634. if m.ReadOnly {
  7635. dAtA[i] = 1
  7636. } else {
  7637. dAtA[i] = 0
  7638. }
  7639. i++
  7640. dAtA[i] = 0x22
  7641. i++
  7642. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  7643. i += copy(dAtA[i:], m.User)
  7644. dAtA[i] = 0x2a
  7645. i++
  7646. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  7647. i += copy(dAtA[i:], m.Group)
  7648. return i, nil
  7649. }
  7650. func (m *RBDPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  7651. size := m.Size()
  7652. dAtA = make([]byte, size)
  7653. n, err := m.MarshalTo(dAtA)
  7654. if err != nil {
  7655. return nil, err
  7656. }
  7657. return dAtA[:n], nil
  7658. }
  7659. func (m *RBDPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7660. var i int
  7661. _ = i
  7662. var l int
  7663. _ = l
  7664. if len(m.CephMonitors) > 0 {
  7665. for _, s := range m.CephMonitors {
  7666. dAtA[i] = 0xa
  7667. i++
  7668. l = len(s)
  7669. for l >= 1<<7 {
  7670. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  7671. l >>= 7
  7672. i++
  7673. }
  7674. dAtA[i] = uint8(l)
  7675. i++
  7676. i += copy(dAtA[i:], s)
  7677. }
  7678. }
  7679. dAtA[i] = 0x12
  7680. i++
  7681. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDImage)))
  7682. i += copy(dAtA[i:], m.RBDImage)
  7683. dAtA[i] = 0x1a
  7684. i++
  7685. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  7686. i += copy(dAtA[i:], m.FSType)
  7687. dAtA[i] = 0x22
  7688. i++
  7689. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDPool)))
  7690. i += copy(dAtA[i:], m.RBDPool)
  7691. dAtA[i] = 0x2a
  7692. i++
  7693. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RadosUser)))
  7694. i += copy(dAtA[i:], m.RadosUser)
  7695. dAtA[i] = 0x32
  7696. i++
  7697. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Keyring)))
  7698. i += copy(dAtA[i:], m.Keyring)
  7699. if m.SecretRef != nil {
  7700. dAtA[i] = 0x3a
  7701. i++
  7702. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  7703. n161, err := m.SecretRef.MarshalTo(dAtA[i:])
  7704. if err != nil {
  7705. return 0, err
  7706. }
  7707. i += n161
  7708. }
  7709. dAtA[i] = 0x40
  7710. i++
  7711. if m.ReadOnly {
  7712. dAtA[i] = 1
  7713. } else {
  7714. dAtA[i] = 0
  7715. }
  7716. i++
  7717. return i, nil
  7718. }
  7719. func (m *RBDVolumeSource) Marshal() (dAtA []byte, err error) {
  7720. size := m.Size()
  7721. dAtA = make([]byte, size)
  7722. n, err := m.MarshalTo(dAtA)
  7723. if err != nil {
  7724. return nil, err
  7725. }
  7726. return dAtA[:n], nil
  7727. }
  7728. func (m *RBDVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  7729. var i int
  7730. _ = i
  7731. var l int
  7732. _ = l
  7733. if len(m.CephMonitors) > 0 {
  7734. for _, s := range m.CephMonitors {
  7735. dAtA[i] = 0xa
  7736. i++
  7737. l = len(s)
  7738. for l >= 1<<7 {
  7739. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  7740. l >>= 7
  7741. i++
  7742. }
  7743. dAtA[i] = uint8(l)
  7744. i++
  7745. i += copy(dAtA[i:], s)
  7746. }
  7747. }
  7748. dAtA[i] = 0x12
  7749. i++
  7750. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDImage)))
  7751. i += copy(dAtA[i:], m.RBDImage)
  7752. dAtA[i] = 0x1a
  7753. i++
  7754. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  7755. i += copy(dAtA[i:], m.FSType)
  7756. dAtA[i] = 0x22
  7757. i++
  7758. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDPool)))
  7759. i += copy(dAtA[i:], m.RBDPool)
  7760. dAtA[i] = 0x2a
  7761. i++
  7762. i = encodeVarintGenerated(dAtA, i, uint64(len(m.RadosUser)))
  7763. i += copy(dAtA[i:], m.RadosUser)
  7764. dAtA[i] = 0x32
  7765. i++
  7766. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Keyring)))
  7767. i += copy(dAtA[i:], m.Keyring)
  7768. if m.SecretRef != nil {
  7769. dAtA[i] = 0x3a
  7770. i++
  7771. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  7772. n162, err := m.SecretRef.MarshalTo(dAtA[i:])
  7773. if err != nil {
  7774. return 0, err
  7775. }
  7776. i += n162
  7777. }
  7778. dAtA[i] = 0x40
  7779. i++
  7780. if m.ReadOnly {
  7781. dAtA[i] = 1
  7782. } else {
  7783. dAtA[i] = 0
  7784. }
  7785. i++
  7786. return i, nil
  7787. }
  7788. func (m *RangeAllocation) Marshal() (dAtA []byte, err error) {
  7789. size := m.Size()
  7790. dAtA = make([]byte, size)
  7791. n, err := m.MarshalTo(dAtA)
  7792. if err != nil {
  7793. return nil, err
  7794. }
  7795. return dAtA[:n], nil
  7796. }
  7797. func (m *RangeAllocation) MarshalTo(dAtA []byte) (int, error) {
  7798. var i int
  7799. _ = i
  7800. var l int
  7801. _ = l
  7802. dAtA[i] = 0xa
  7803. i++
  7804. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7805. n163, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7806. if err != nil {
  7807. return 0, err
  7808. }
  7809. i += n163
  7810. dAtA[i] = 0x12
  7811. i++
  7812. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Range)))
  7813. i += copy(dAtA[i:], m.Range)
  7814. if m.Data != nil {
  7815. dAtA[i] = 0x1a
  7816. i++
  7817. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Data)))
  7818. i += copy(dAtA[i:], m.Data)
  7819. }
  7820. return i, nil
  7821. }
  7822. func (m *ReplicationController) Marshal() (dAtA []byte, err error) {
  7823. size := m.Size()
  7824. dAtA = make([]byte, size)
  7825. n, err := m.MarshalTo(dAtA)
  7826. if err != nil {
  7827. return nil, err
  7828. }
  7829. return dAtA[:n], nil
  7830. }
  7831. func (m *ReplicationController) MarshalTo(dAtA []byte) (int, error) {
  7832. var i int
  7833. _ = i
  7834. var l int
  7835. _ = l
  7836. dAtA[i] = 0xa
  7837. i++
  7838. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  7839. n164, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  7840. if err != nil {
  7841. return 0, err
  7842. }
  7843. i += n164
  7844. dAtA[i] = 0x12
  7845. i++
  7846. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  7847. n165, err := m.Spec.MarshalTo(dAtA[i:])
  7848. if err != nil {
  7849. return 0, err
  7850. }
  7851. i += n165
  7852. dAtA[i] = 0x1a
  7853. i++
  7854. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  7855. n166, err := m.Status.MarshalTo(dAtA[i:])
  7856. if err != nil {
  7857. return 0, err
  7858. }
  7859. i += n166
  7860. return i, nil
  7861. }
  7862. func (m *ReplicationControllerCondition) Marshal() (dAtA []byte, err error) {
  7863. size := m.Size()
  7864. dAtA = make([]byte, size)
  7865. n, err := m.MarshalTo(dAtA)
  7866. if err != nil {
  7867. return nil, err
  7868. }
  7869. return dAtA[:n], nil
  7870. }
  7871. func (m *ReplicationControllerCondition) MarshalTo(dAtA []byte) (int, error) {
  7872. var i int
  7873. _ = i
  7874. var l int
  7875. _ = l
  7876. dAtA[i] = 0xa
  7877. i++
  7878. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  7879. i += copy(dAtA[i:], m.Type)
  7880. dAtA[i] = 0x12
  7881. i++
  7882. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  7883. i += copy(dAtA[i:], m.Status)
  7884. dAtA[i] = 0x1a
  7885. i++
  7886. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  7887. n167, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  7888. if err != nil {
  7889. return 0, err
  7890. }
  7891. i += n167
  7892. dAtA[i] = 0x22
  7893. i++
  7894. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  7895. i += copy(dAtA[i:], m.Reason)
  7896. dAtA[i] = 0x2a
  7897. i++
  7898. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  7899. i += copy(dAtA[i:], m.Message)
  7900. return i, nil
  7901. }
  7902. func (m *ReplicationControllerList) Marshal() (dAtA []byte, err error) {
  7903. size := m.Size()
  7904. dAtA = make([]byte, size)
  7905. n, err := m.MarshalTo(dAtA)
  7906. if err != nil {
  7907. return nil, err
  7908. }
  7909. return dAtA[:n], nil
  7910. }
  7911. func (m *ReplicationControllerList) MarshalTo(dAtA []byte) (int, error) {
  7912. var i int
  7913. _ = i
  7914. var l int
  7915. _ = l
  7916. dAtA[i] = 0xa
  7917. i++
  7918. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  7919. n168, err := m.ListMeta.MarshalTo(dAtA[i:])
  7920. if err != nil {
  7921. return 0, err
  7922. }
  7923. i += n168
  7924. if len(m.Items) > 0 {
  7925. for _, msg := range m.Items {
  7926. dAtA[i] = 0x12
  7927. i++
  7928. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  7929. n, err := msg.MarshalTo(dAtA[i:])
  7930. if err != nil {
  7931. return 0, err
  7932. }
  7933. i += n
  7934. }
  7935. }
  7936. return i, nil
  7937. }
  7938. func (m *ReplicationControllerSpec) Marshal() (dAtA []byte, err error) {
  7939. size := m.Size()
  7940. dAtA = make([]byte, size)
  7941. n, err := m.MarshalTo(dAtA)
  7942. if err != nil {
  7943. return nil, err
  7944. }
  7945. return dAtA[:n], nil
  7946. }
  7947. func (m *ReplicationControllerSpec) MarshalTo(dAtA []byte) (int, error) {
  7948. var i int
  7949. _ = i
  7950. var l int
  7951. _ = l
  7952. if m.Replicas != nil {
  7953. dAtA[i] = 0x8
  7954. i++
  7955. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  7956. }
  7957. if len(m.Selector) > 0 {
  7958. keysForSelector := make([]string, 0, len(m.Selector))
  7959. for k := range m.Selector {
  7960. keysForSelector = append(keysForSelector, string(k))
  7961. }
  7962. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  7963. for _, k := range keysForSelector {
  7964. dAtA[i] = 0x12
  7965. i++
  7966. v := m.Selector[string(k)]
  7967. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  7968. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  7969. dAtA[i] = 0xa
  7970. i++
  7971. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  7972. i += copy(dAtA[i:], k)
  7973. dAtA[i] = 0x12
  7974. i++
  7975. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  7976. i += copy(dAtA[i:], v)
  7977. }
  7978. }
  7979. if m.Template != nil {
  7980. dAtA[i] = 0x1a
  7981. i++
  7982. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  7983. n169, err := m.Template.MarshalTo(dAtA[i:])
  7984. if err != nil {
  7985. return 0, err
  7986. }
  7987. i += n169
  7988. }
  7989. dAtA[i] = 0x20
  7990. i++
  7991. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  7992. return i, nil
  7993. }
  7994. func (m *ReplicationControllerStatus) Marshal() (dAtA []byte, err error) {
  7995. size := m.Size()
  7996. dAtA = make([]byte, size)
  7997. n, err := m.MarshalTo(dAtA)
  7998. if err != nil {
  7999. return nil, err
  8000. }
  8001. return dAtA[:n], nil
  8002. }
  8003. func (m *ReplicationControllerStatus) MarshalTo(dAtA []byte) (int, error) {
  8004. var i int
  8005. _ = i
  8006. var l int
  8007. _ = l
  8008. dAtA[i] = 0x8
  8009. i++
  8010. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  8011. dAtA[i] = 0x10
  8012. i++
  8013. i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
  8014. dAtA[i] = 0x18
  8015. i++
  8016. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  8017. dAtA[i] = 0x20
  8018. i++
  8019. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  8020. dAtA[i] = 0x28
  8021. i++
  8022. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  8023. if len(m.Conditions) > 0 {
  8024. for _, msg := range m.Conditions {
  8025. dAtA[i] = 0x32
  8026. i++
  8027. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8028. n, err := msg.MarshalTo(dAtA[i:])
  8029. if err != nil {
  8030. return 0, err
  8031. }
  8032. i += n
  8033. }
  8034. }
  8035. return i, nil
  8036. }
  8037. func (m *ResourceFieldSelector) Marshal() (dAtA []byte, err error) {
  8038. size := m.Size()
  8039. dAtA = make([]byte, size)
  8040. n, err := m.MarshalTo(dAtA)
  8041. if err != nil {
  8042. return nil, err
  8043. }
  8044. return dAtA[:n], nil
  8045. }
  8046. func (m *ResourceFieldSelector) MarshalTo(dAtA []byte) (int, error) {
  8047. var i int
  8048. _ = i
  8049. var l int
  8050. _ = l
  8051. dAtA[i] = 0xa
  8052. i++
  8053. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContainerName)))
  8054. i += copy(dAtA[i:], m.ContainerName)
  8055. dAtA[i] = 0x12
  8056. i++
  8057. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
  8058. i += copy(dAtA[i:], m.Resource)
  8059. dAtA[i] = 0x1a
  8060. i++
  8061. i = encodeVarintGenerated(dAtA, i, uint64(m.Divisor.Size()))
  8062. n170, err := m.Divisor.MarshalTo(dAtA[i:])
  8063. if err != nil {
  8064. return 0, err
  8065. }
  8066. i += n170
  8067. return i, nil
  8068. }
  8069. func (m *ResourceQuota) Marshal() (dAtA []byte, err error) {
  8070. size := m.Size()
  8071. dAtA = make([]byte, size)
  8072. n, err := m.MarshalTo(dAtA)
  8073. if err != nil {
  8074. return nil, err
  8075. }
  8076. return dAtA[:n], nil
  8077. }
  8078. func (m *ResourceQuota) MarshalTo(dAtA []byte) (int, error) {
  8079. var i int
  8080. _ = i
  8081. var l int
  8082. _ = l
  8083. dAtA[i] = 0xa
  8084. i++
  8085. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  8086. n171, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  8087. if err != nil {
  8088. return 0, err
  8089. }
  8090. i += n171
  8091. dAtA[i] = 0x12
  8092. i++
  8093. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  8094. n172, err := m.Spec.MarshalTo(dAtA[i:])
  8095. if err != nil {
  8096. return 0, err
  8097. }
  8098. i += n172
  8099. dAtA[i] = 0x1a
  8100. i++
  8101. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  8102. n173, err := m.Status.MarshalTo(dAtA[i:])
  8103. if err != nil {
  8104. return 0, err
  8105. }
  8106. i += n173
  8107. return i, nil
  8108. }
  8109. func (m *ResourceQuotaList) Marshal() (dAtA []byte, err error) {
  8110. size := m.Size()
  8111. dAtA = make([]byte, size)
  8112. n, err := m.MarshalTo(dAtA)
  8113. if err != nil {
  8114. return nil, err
  8115. }
  8116. return dAtA[:n], nil
  8117. }
  8118. func (m *ResourceQuotaList) MarshalTo(dAtA []byte) (int, error) {
  8119. var i int
  8120. _ = i
  8121. var l int
  8122. _ = l
  8123. dAtA[i] = 0xa
  8124. i++
  8125. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  8126. n174, err := m.ListMeta.MarshalTo(dAtA[i:])
  8127. if err != nil {
  8128. return 0, err
  8129. }
  8130. i += n174
  8131. if len(m.Items) > 0 {
  8132. for _, msg := range m.Items {
  8133. dAtA[i] = 0x12
  8134. i++
  8135. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8136. n, err := msg.MarshalTo(dAtA[i:])
  8137. if err != nil {
  8138. return 0, err
  8139. }
  8140. i += n
  8141. }
  8142. }
  8143. return i, nil
  8144. }
  8145. func (m *ResourceQuotaSpec) Marshal() (dAtA []byte, err error) {
  8146. size := m.Size()
  8147. dAtA = make([]byte, size)
  8148. n, err := m.MarshalTo(dAtA)
  8149. if err != nil {
  8150. return nil, err
  8151. }
  8152. return dAtA[:n], nil
  8153. }
  8154. func (m *ResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error) {
  8155. var i int
  8156. _ = i
  8157. var l int
  8158. _ = l
  8159. if len(m.Hard) > 0 {
  8160. keysForHard := make([]string, 0, len(m.Hard))
  8161. for k := range m.Hard {
  8162. keysForHard = append(keysForHard, string(k))
  8163. }
  8164. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  8165. for _, k := range keysForHard {
  8166. dAtA[i] = 0xa
  8167. i++
  8168. v := m.Hard[ResourceName(k)]
  8169. msgSize := 0
  8170. if (&v) != nil {
  8171. msgSize = (&v).Size()
  8172. msgSize += 1 + sovGenerated(uint64(msgSize))
  8173. }
  8174. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8175. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8176. dAtA[i] = 0xa
  8177. i++
  8178. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8179. i += copy(dAtA[i:], k)
  8180. dAtA[i] = 0x12
  8181. i++
  8182. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8183. n175, err := (&v).MarshalTo(dAtA[i:])
  8184. if err != nil {
  8185. return 0, err
  8186. }
  8187. i += n175
  8188. }
  8189. }
  8190. if len(m.Scopes) > 0 {
  8191. for _, s := range m.Scopes {
  8192. dAtA[i] = 0x12
  8193. i++
  8194. l = len(s)
  8195. for l >= 1<<7 {
  8196. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  8197. l >>= 7
  8198. i++
  8199. }
  8200. dAtA[i] = uint8(l)
  8201. i++
  8202. i += copy(dAtA[i:], s)
  8203. }
  8204. }
  8205. return i, nil
  8206. }
  8207. func (m *ResourceQuotaStatus) Marshal() (dAtA []byte, err error) {
  8208. size := m.Size()
  8209. dAtA = make([]byte, size)
  8210. n, err := m.MarshalTo(dAtA)
  8211. if err != nil {
  8212. return nil, err
  8213. }
  8214. return dAtA[:n], nil
  8215. }
  8216. func (m *ResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error) {
  8217. var i int
  8218. _ = i
  8219. var l int
  8220. _ = l
  8221. if len(m.Hard) > 0 {
  8222. keysForHard := make([]string, 0, len(m.Hard))
  8223. for k := range m.Hard {
  8224. keysForHard = append(keysForHard, string(k))
  8225. }
  8226. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  8227. for _, k := range keysForHard {
  8228. dAtA[i] = 0xa
  8229. i++
  8230. v := m.Hard[ResourceName(k)]
  8231. msgSize := 0
  8232. if (&v) != nil {
  8233. msgSize = (&v).Size()
  8234. msgSize += 1 + sovGenerated(uint64(msgSize))
  8235. }
  8236. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8237. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8238. dAtA[i] = 0xa
  8239. i++
  8240. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8241. i += copy(dAtA[i:], k)
  8242. dAtA[i] = 0x12
  8243. i++
  8244. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8245. n176, err := (&v).MarshalTo(dAtA[i:])
  8246. if err != nil {
  8247. return 0, err
  8248. }
  8249. i += n176
  8250. }
  8251. }
  8252. if len(m.Used) > 0 {
  8253. keysForUsed := make([]string, 0, len(m.Used))
  8254. for k := range m.Used {
  8255. keysForUsed = append(keysForUsed, string(k))
  8256. }
  8257. github_com_gogo_protobuf_sortkeys.Strings(keysForUsed)
  8258. for _, k := range keysForUsed {
  8259. dAtA[i] = 0x12
  8260. i++
  8261. v := m.Used[ResourceName(k)]
  8262. msgSize := 0
  8263. if (&v) != nil {
  8264. msgSize = (&v).Size()
  8265. msgSize += 1 + sovGenerated(uint64(msgSize))
  8266. }
  8267. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8268. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8269. dAtA[i] = 0xa
  8270. i++
  8271. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8272. i += copy(dAtA[i:], k)
  8273. dAtA[i] = 0x12
  8274. i++
  8275. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8276. n177, err := (&v).MarshalTo(dAtA[i:])
  8277. if err != nil {
  8278. return 0, err
  8279. }
  8280. i += n177
  8281. }
  8282. }
  8283. return i, nil
  8284. }
  8285. func (m *ResourceRequirements) Marshal() (dAtA []byte, err error) {
  8286. size := m.Size()
  8287. dAtA = make([]byte, size)
  8288. n, err := m.MarshalTo(dAtA)
  8289. if err != nil {
  8290. return nil, err
  8291. }
  8292. return dAtA[:n], nil
  8293. }
  8294. func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error) {
  8295. var i int
  8296. _ = i
  8297. var l int
  8298. _ = l
  8299. if len(m.Limits) > 0 {
  8300. keysForLimits := make([]string, 0, len(m.Limits))
  8301. for k := range m.Limits {
  8302. keysForLimits = append(keysForLimits, string(k))
  8303. }
  8304. github_com_gogo_protobuf_sortkeys.Strings(keysForLimits)
  8305. for _, k := range keysForLimits {
  8306. dAtA[i] = 0xa
  8307. i++
  8308. v := m.Limits[ResourceName(k)]
  8309. msgSize := 0
  8310. if (&v) != nil {
  8311. msgSize = (&v).Size()
  8312. msgSize += 1 + sovGenerated(uint64(msgSize))
  8313. }
  8314. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8315. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8316. dAtA[i] = 0xa
  8317. i++
  8318. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8319. i += copy(dAtA[i:], k)
  8320. dAtA[i] = 0x12
  8321. i++
  8322. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8323. n178, err := (&v).MarshalTo(dAtA[i:])
  8324. if err != nil {
  8325. return 0, err
  8326. }
  8327. i += n178
  8328. }
  8329. }
  8330. if len(m.Requests) > 0 {
  8331. keysForRequests := make([]string, 0, len(m.Requests))
  8332. for k := range m.Requests {
  8333. keysForRequests = append(keysForRequests, string(k))
  8334. }
  8335. github_com_gogo_protobuf_sortkeys.Strings(keysForRequests)
  8336. for _, k := range keysForRequests {
  8337. dAtA[i] = 0x12
  8338. i++
  8339. v := m.Requests[ResourceName(k)]
  8340. msgSize := 0
  8341. if (&v) != nil {
  8342. msgSize = (&v).Size()
  8343. msgSize += 1 + sovGenerated(uint64(msgSize))
  8344. }
  8345. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  8346. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8347. dAtA[i] = 0xa
  8348. i++
  8349. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8350. i += copy(dAtA[i:], k)
  8351. dAtA[i] = 0x12
  8352. i++
  8353. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  8354. n179, err := (&v).MarshalTo(dAtA[i:])
  8355. if err != nil {
  8356. return 0, err
  8357. }
  8358. i += n179
  8359. }
  8360. }
  8361. return i, nil
  8362. }
  8363. func (m *SELinuxOptions) Marshal() (dAtA []byte, err error) {
  8364. size := m.Size()
  8365. dAtA = make([]byte, size)
  8366. n, err := m.MarshalTo(dAtA)
  8367. if err != nil {
  8368. return nil, err
  8369. }
  8370. return dAtA[:n], nil
  8371. }
  8372. func (m *SELinuxOptions) MarshalTo(dAtA []byte) (int, error) {
  8373. var i int
  8374. _ = i
  8375. var l int
  8376. _ = l
  8377. dAtA[i] = 0xa
  8378. i++
  8379. i = encodeVarintGenerated(dAtA, i, uint64(len(m.User)))
  8380. i += copy(dAtA[i:], m.User)
  8381. dAtA[i] = 0x12
  8382. i++
  8383. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Role)))
  8384. i += copy(dAtA[i:], m.Role)
  8385. dAtA[i] = 0x1a
  8386. i++
  8387. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  8388. i += copy(dAtA[i:], m.Type)
  8389. dAtA[i] = 0x22
  8390. i++
  8391. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Level)))
  8392. i += copy(dAtA[i:], m.Level)
  8393. return i, nil
  8394. }
  8395. func (m *ScaleIOPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  8396. size := m.Size()
  8397. dAtA = make([]byte, size)
  8398. n, err := m.MarshalTo(dAtA)
  8399. if err != nil {
  8400. return nil, err
  8401. }
  8402. return dAtA[:n], nil
  8403. }
  8404. func (m *ScaleIOPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  8405. var i int
  8406. _ = i
  8407. var l int
  8408. _ = l
  8409. dAtA[i] = 0xa
  8410. i++
  8411. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Gateway)))
  8412. i += copy(dAtA[i:], m.Gateway)
  8413. dAtA[i] = 0x12
  8414. i++
  8415. i = encodeVarintGenerated(dAtA, i, uint64(len(m.System)))
  8416. i += copy(dAtA[i:], m.System)
  8417. if m.SecretRef != nil {
  8418. dAtA[i] = 0x1a
  8419. i++
  8420. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  8421. n180, err := m.SecretRef.MarshalTo(dAtA[i:])
  8422. if err != nil {
  8423. return 0, err
  8424. }
  8425. i += n180
  8426. }
  8427. dAtA[i] = 0x20
  8428. i++
  8429. if m.SSLEnabled {
  8430. dAtA[i] = 1
  8431. } else {
  8432. dAtA[i] = 0
  8433. }
  8434. i++
  8435. dAtA[i] = 0x2a
  8436. i++
  8437. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ProtectionDomain)))
  8438. i += copy(dAtA[i:], m.ProtectionDomain)
  8439. dAtA[i] = 0x32
  8440. i++
  8441. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePool)))
  8442. i += copy(dAtA[i:], m.StoragePool)
  8443. dAtA[i] = 0x3a
  8444. i++
  8445. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageMode)))
  8446. i += copy(dAtA[i:], m.StorageMode)
  8447. dAtA[i] = 0x42
  8448. i++
  8449. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  8450. i += copy(dAtA[i:], m.VolumeName)
  8451. dAtA[i] = 0x4a
  8452. i++
  8453. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  8454. i += copy(dAtA[i:], m.FSType)
  8455. dAtA[i] = 0x50
  8456. i++
  8457. if m.ReadOnly {
  8458. dAtA[i] = 1
  8459. } else {
  8460. dAtA[i] = 0
  8461. }
  8462. i++
  8463. return i, nil
  8464. }
  8465. func (m *ScaleIOVolumeSource) Marshal() (dAtA []byte, err error) {
  8466. size := m.Size()
  8467. dAtA = make([]byte, size)
  8468. n, err := m.MarshalTo(dAtA)
  8469. if err != nil {
  8470. return nil, err
  8471. }
  8472. return dAtA[:n], nil
  8473. }
  8474. func (m *ScaleIOVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  8475. var i int
  8476. _ = i
  8477. var l int
  8478. _ = l
  8479. dAtA[i] = 0xa
  8480. i++
  8481. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Gateway)))
  8482. i += copy(dAtA[i:], m.Gateway)
  8483. dAtA[i] = 0x12
  8484. i++
  8485. i = encodeVarintGenerated(dAtA, i, uint64(len(m.System)))
  8486. i += copy(dAtA[i:], m.System)
  8487. if m.SecretRef != nil {
  8488. dAtA[i] = 0x1a
  8489. i++
  8490. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  8491. n181, err := m.SecretRef.MarshalTo(dAtA[i:])
  8492. if err != nil {
  8493. return 0, err
  8494. }
  8495. i += n181
  8496. }
  8497. dAtA[i] = 0x20
  8498. i++
  8499. if m.SSLEnabled {
  8500. dAtA[i] = 1
  8501. } else {
  8502. dAtA[i] = 0
  8503. }
  8504. i++
  8505. dAtA[i] = 0x2a
  8506. i++
  8507. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ProtectionDomain)))
  8508. i += copy(dAtA[i:], m.ProtectionDomain)
  8509. dAtA[i] = 0x32
  8510. i++
  8511. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePool)))
  8512. i += copy(dAtA[i:], m.StoragePool)
  8513. dAtA[i] = 0x3a
  8514. i++
  8515. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageMode)))
  8516. i += copy(dAtA[i:], m.StorageMode)
  8517. dAtA[i] = 0x42
  8518. i++
  8519. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  8520. i += copy(dAtA[i:], m.VolumeName)
  8521. dAtA[i] = 0x4a
  8522. i++
  8523. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  8524. i += copy(dAtA[i:], m.FSType)
  8525. dAtA[i] = 0x50
  8526. i++
  8527. if m.ReadOnly {
  8528. dAtA[i] = 1
  8529. } else {
  8530. dAtA[i] = 0
  8531. }
  8532. i++
  8533. return i, nil
  8534. }
  8535. func (m *Secret) Marshal() (dAtA []byte, err error) {
  8536. size := m.Size()
  8537. dAtA = make([]byte, size)
  8538. n, err := m.MarshalTo(dAtA)
  8539. if err != nil {
  8540. return nil, err
  8541. }
  8542. return dAtA[:n], nil
  8543. }
  8544. func (m *Secret) MarshalTo(dAtA []byte) (int, error) {
  8545. var i int
  8546. _ = i
  8547. var l int
  8548. _ = l
  8549. dAtA[i] = 0xa
  8550. i++
  8551. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  8552. n182, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  8553. if err != nil {
  8554. return 0, err
  8555. }
  8556. i += n182
  8557. if len(m.Data) > 0 {
  8558. keysForData := make([]string, 0, len(m.Data))
  8559. for k := range m.Data {
  8560. keysForData = append(keysForData, string(k))
  8561. }
  8562. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  8563. for _, k := range keysForData {
  8564. dAtA[i] = 0x12
  8565. i++
  8566. v := m.Data[string(k)]
  8567. byteSize := 0
  8568. if v != nil {
  8569. byteSize = 1 + len(v) + sovGenerated(uint64(len(v)))
  8570. }
  8571. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + byteSize
  8572. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8573. dAtA[i] = 0xa
  8574. i++
  8575. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8576. i += copy(dAtA[i:], k)
  8577. if v != nil {
  8578. dAtA[i] = 0x12
  8579. i++
  8580. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  8581. i += copy(dAtA[i:], v)
  8582. }
  8583. }
  8584. }
  8585. dAtA[i] = 0x1a
  8586. i++
  8587. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  8588. i += copy(dAtA[i:], m.Type)
  8589. if len(m.StringData) > 0 {
  8590. keysForStringData := make([]string, 0, len(m.StringData))
  8591. for k := range m.StringData {
  8592. keysForStringData = append(keysForStringData, string(k))
  8593. }
  8594. github_com_gogo_protobuf_sortkeys.Strings(keysForStringData)
  8595. for _, k := range keysForStringData {
  8596. dAtA[i] = 0x22
  8597. i++
  8598. v := m.StringData[string(k)]
  8599. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  8600. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  8601. dAtA[i] = 0xa
  8602. i++
  8603. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  8604. i += copy(dAtA[i:], k)
  8605. dAtA[i] = 0x12
  8606. i++
  8607. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  8608. i += copy(dAtA[i:], v)
  8609. }
  8610. }
  8611. return i, nil
  8612. }
  8613. func (m *SecretEnvSource) Marshal() (dAtA []byte, err error) {
  8614. size := m.Size()
  8615. dAtA = make([]byte, size)
  8616. n, err := m.MarshalTo(dAtA)
  8617. if err != nil {
  8618. return nil, err
  8619. }
  8620. return dAtA[:n], nil
  8621. }
  8622. func (m *SecretEnvSource) MarshalTo(dAtA []byte) (int, error) {
  8623. var i int
  8624. _ = i
  8625. var l int
  8626. _ = l
  8627. dAtA[i] = 0xa
  8628. i++
  8629. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  8630. n183, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  8631. if err != nil {
  8632. return 0, err
  8633. }
  8634. i += n183
  8635. if m.Optional != nil {
  8636. dAtA[i] = 0x10
  8637. i++
  8638. if *m.Optional {
  8639. dAtA[i] = 1
  8640. } else {
  8641. dAtA[i] = 0
  8642. }
  8643. i++
  8644. }
  8645. return i, nil
  8646. }
  8647. func (m *SecretKeySelector) Marshal() (dAtA []byte, err error) {
  8648. size := m.Size()
  8649. dAtA = make([]byte, size)
  8650. n, err := m.MarshalTo(dAtA)
  8651. if err != nil {
  8652. return nil, err
  8653. }
  8654. return dAtA[:n], nil
  8655. }
  8656. func (m *SecretKeySelector) MarshalTo(dAtA []byte) (int, error) {
  8657. var i int
  8658. _ = i
  8659. var l int
  8660. _ = l
  8661. dAtA[i] = 0xa
  8662. i++
  8663. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  8664. n184, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  8665. if err != nil {
  8666. return 0, err
  8667. }
  8668. i += n184
  8669. dAtA[i] = 0x12
  8670. i++
  8671. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  8672. i += copy(dAtA[i:], m.Key)
  8673. if m.Optional != nil {
  8674. dAtA[i] = 0x18
  8675. i++
  8676. if *m.Optional {
  8677. dAtA[i] = 1
  8678. } else {
  8679. dAtA[i] = 0
  8680. }
  8681. i++
  8682. }
  8683. return i, nil
  8684. }
  8685. func (m *SecretList) Marshal() (dAtA []byte, err error) {
  8686. size := m.Size()
  8687. dAtA = make([]byte, size)
  8688. n, err := m.MarshalTo(dAtA)
  8689. if err != nil {
  8690. return nil, err
  8691. }
  8692. return dAtA[:n], nil
  8693. }
  8694. func (m *SecretList) MarshalTo(dAtA []byte) (int, error) {
  8695. var i int
  8696. _ = i
  8697. var l int
  8698. _ = l
  8699. dAtA[i] = 0xa
  8700. i++
  8701. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  8702. n185, err := m.ListMeta.MarshalTo(dAtA[i:])
  8703. if err != nil {
  8704. return 0, err
  8705. }
  8706. i += n185
  8707. if len(m.Items) > 0 {
  8708. for _, msg := range m.Items {
  8709. dAtA[i] = 0x12
  8710. i++
  8711. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8712. n, err := msg.MarshalTo(dAtA[i:])
  8713. if err != nil {
  8714. return 0, err
  8715. }
  8716. i += n
  8717. }
  8718. }
  8719. return i, nil
  8720. }
  8721. func (m *SecretProjection) Marshal() (dAtA []byte, err error) {
  8722. size := m.Size()
  8723. dAtA = make([]byte, size)
  8724. n, err := m.MarshalTo(dAtA)
  8725. if err != nil {
  8726. return nil, err
  8727. }
  8728. return dAtA[:n], nil
  8729. }
  8730. func (m *SecretProjection) MarshalTo(dAtA []byte) (int, error) {
  8731. var i int
  8732. _ = i
  8733. var l int
  8734. _ = l
  8735. dAtA[i] = 0xa
  8736. i++
  8737. i = encodeVarintGenerated(dAtA, i, uint64(m.LocalObjectReference.Size()))
  8738. n186, err := m.LocalObjectReference.MarshalTo(dAtA[i:])
  8739. if err != nil {
  8740. return 0, err
  8741. }
  8742. i += n186
  8743. if len(m.Items) > 0 {
  8744. for _, msg := range m.Items {
  8745. dAtA[i] = 0x12
  8746. i++
  8747. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8748. n, err := msg.MarshalTo(dAtA[i:])
  8749. if err != nil {
  8750. return 0, err
  8751. }
  8752. i += n
  8753. }
  8754. }
  8755. if m.Optional != nil {
  8756. dAtA[i] = 0x20
  8757. i++
  8758. if *m.Optional {
  8759. dAtA[i] = 1
  8760. } else {
  8761. dAtA[i] = 0
  8762. }
  8763. i++
  8764. }
  8765. return i, nil
  8766. }
  8767. func (m *SecretReference) Marshal() (dAtA []byte, err error) {
  8768. size := m.Size()
  8769. dAtA = make([]byte, size)
  8770. n, err := m.MarshalTo(dAtA)
  8771. if err != nil {
  8772. return nil, err
  8773. }
  8774. return dAtA[:n], nil
  8775. }
  8776. func (m *SecretReference) MarshalTo(dAtA []byte) (int, error) {
  8777. var i int
  8778. _ = i
  8779. var l int
  8780. _ = l
  8781. dAtA[i] = 0xa
  8782. i++
  8783. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  8784. i += copy(dAtA[i:], m.Name)
  8785. dAtA[i] = 0x12
  8786. i++
  8787. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
  8788. i += copy(dAtA[i:], m.Namespace)
  8789. return i, nil
  8790. }
  8791. func (m *SecretVolumeSource) Marshal() (dAtA []byte, err error) {
  8792. size := m.Size()
  8793. dAtA = make([]byte, size)
  8794. n, err := m.MarshalTo(dAtA)
  8795. if err != nil {
  8796. return nil, err
  8797. }
  8798. return dAtA[:n], nil
  8799. }
  8800. func (m *SecretVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  8801. var i int
  8802. _ = i
  8803. var l int
  8804. _ = l
  8805. dAtA[i] = 0xa
  8806. i++
  8807. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
  8808. i += copy(dAtA[i:], m.SecretName)
  8809. if len(m.Items) > 0 {
  8810. for _, msg := range m.Items {
  8811. dAtA[i] = 0x12
  8812. i++
  8813. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  8814. n, err := msg.MarshalTo(dAtA[i:])
  8815. if err != nil {
  8816. return 0, err
  8817. }
  8818. i += n
  8819. }
  8820. }
  8821. if m.DefaultMode != nil {
  8822. dAtA[i] = 0x18
  8823. i++
  8824. i = encodeVarintGenerated(dAtA, i, uint64(*m.DefaultMode))
  8825. }
  8826. if m.Optional != nil {
  8827. dAtA[i] = 0x20
  8828. i++
  8829. if *m.Optional {
  8830. dAtA[i] = 1
  8831. } else {
  8832. dAtA[i] = 0
  8833. }
  8834. i++
  8835. }
  8836. return i, nil
  8837. }
  8838. func (m *SecurityContext) Marshal() (dAtA []byte, err error) {
  8839. size := m.Size()
  8840. dAtA = make([]byte, size)
  8841. n, err := m.MarshalTo(dAtA)
  8842. if err != nil {
  8843. return nil, err
  8844. }
  8845. return dAtA[:n], nil
  8846. }
  8847. func (m *SecurityContext) MarshalTo(dAtA []byte) (int, error) {
  8848. var i int
  8849. _ = i
  8850. var l int
  8851. _ = l
  8852. if m.Capabilities != nil {
  8853. dAtA[i] = 0xa
  8854. i++
  8855. i = encodeVarintGenerated(dAtA, i, uint64(m.Capabilities.Size()))
  8856. n187, err := m.Capabilities.MarshalTo(dAtA[i:])
  8857. if err != nil {
  8858. return 0, err
  8859. }
  8860. i += n187
  8861. }
  8862. if m.Privileged != nil {
  8863. dAtA[i] = 0x10
  8864. i++
  8865. if *m.Privileged {
  8866. dAtA[i] = 1
  8867. } else {
  8868. dAtA[i] = 0
  8869. }
  8870. i++
  8871. }
  8872. if m.SELinuxOptions != nil {
  8873. dAtA[i] = 0x1a
  8874. i++
  8875. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
  8876. n188, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
  8877. if err != nil {
  8878. return 0, err
  8879. }
  8880. i += n188
  8881. }
  8882. if m.RunAsUser != nil {
  8883. dAtA[i] = 0x20
  8884. i++
  8885. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsUser))
  8886. }
  8887. if m.RunAsNonRoot != nil {
  8888. dAtA[i] = 0x28
  8889. i++
  8890. if *m.RunAsNonRoot {
  8891. dAtA[i] = 1
  8892. } else {
  8893. dAtA[i] = 0
  8894. }
  8895. i++
  8896. }
  8897. if m.ReadOnlyRootFilesystem != nil {
  8898. dAtA[i] = 0x30
  8899. i++
  8900. if *m.ReadOnlyRootFilesystem {
  8901. dAtA[i] = 1
  8902. } else {
  8903. dAtA[i] = 0
  8904. }
  8905. i++
  8906. }
  8907. if m.AllowPrivilegeEscalation != nil {
  8908. dAtA[i] = 0x38
  8909. i++
  8910. if *m.AllowPrivilegeEscalation {
  8911. dAtA[i] = 1
  8912. } else {
  8913. dAtA[i] = 0
  8914. }
  8915. i++
  8916. }
  8917. if m.RunAsGroup != nil {
  8918. dAtA[i] = 0x40
  8919. i++
  8920. i = encodeVarintGenerated(dAtA, i, uint64(*m.RunAsGroup))
  8921. }
  8922. return i, nil
  8923. }
  8924. func (m *SerializedReference) Marshal() (dAtA []byte, err error) {
  8925. size := m.Size()
  8926. dAtA = make([]byte, size)
  8927. n, err := m.MarshalTo(dAtA)
  8928. if err != nil {
  8929. return nil, err
  8930. }
  8931. return dAtA[:n], nil
  8932. }
  8933. func (m *SerializedReference) MarshalTo(dAtA []byte) (int, error) {
  8934. var i int
  8935. _ = i
  8936. var l int
  8937. _ = l
  8938. dAtA[i] = 0xa
  8939. i++
  8940. i = encodeVarintGenerated(dAtA, i, uint64(m.Reference.Size()))
  8941. n189, err := m.Reference.MarshalTo(dAtA[i:])
  8942. if err != nil {
  8943. return 0, err
  8944. }
  8945. i += n189
  8946. return i, nil
  8947. }
  8948. func (m *Service) Marshal() (dAtA []byte, err error) {
  8949. size := m.Size()
  8950. dAtA = make([]byte, size)
  8951. n, err := m.MarshalTo(dAtA)
  8952. if err != nil {
  8953. return nil, err
  8954. }
  8955. return dAtA[:n], nil
  8956. }
  8957. func (m *Service) MarshalTo(dAtA []byte) (int, error) {
  8958. var i int
  8959. _ = i
  8960. var l int
  8961. _ = l
  8962. dAtA[i] = 0xa
  8963. i++
  8964. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  8965. n190, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  8966. if err != nil {
  8967. return 0, err
  8968. }
  8969. i += n190
  8970. dAtA[i] = 0x12
  8971. i++
  8972. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  8973. n191, err := m.Spec.MarshalTo(dAtA[i:])
  8974. if err != nil {
  8975. return 0, err
  8976. }
  8977. i += n191
  8978. dAtA[i] = 0x1a
  8979. i++
  8980. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  8981. n192, err := m.Status.MarshalTo(dAtA[i:])
  8982. if err != nil {
  8983. return 0, err
  8984. }
  8985. i += n192
  8986. return i, nil
  8987. }
  8988. func (m *ServiceAccount) Marshal() (dAtA []byte, err error) {
  8989. size := m.Size()
  8990. dAtA = make([]byte, size)
  8991. n, err := m.MarshalTo(dAtA)
  8992. if err != nil {
  8993. return nil, err
  8994. }
  8995. return dAtA[:n], nil
  8996. }
  8997. func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error) {
  8998. var i int
  8999. _ = i
  9000. var l int
  9001. _ = l
  9002. dAtA[i] = 0xa
  9003. i++
  9004. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  9005. n193, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  9006. if err != nil {
  9007. return 0, err
  9008. }
  9009. i += n193
  9010. if len(m.Secrets) > 0 {
  9011. for _, msg := range m.Secrets {
  9012. dAtA[i] = 0x12
  9013. i++
  9014. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9015. n, err := msg.MarshalTo(dAtA[i:])
  9016. if err != nil {
  9017. return 0, err
  9018. }
  9019. i += n
  9020. }
  9021. }
  9022. if len(m.ImagePullSecrets) > 0 {
  9023. for _, msg := range m.ImagePullSecrets {
  9024. dAtA[i] = 0x1a
  9025. i++
  9026. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9027. n, err := msg.MarshalTo(dAtA[i:])
  9028. if err != nil {
  9029. return 0, err
  9030. }
  9031. i += n
  9032. }
  9033. }
  9034. if m.AutomountServiceAccountToken != nil {
  9035. dAtA[i] = 0x20
  9036. i++
  9037. if *m.AutomountServiceAccountToken {
  9038. dAtA[i] = 1
  9039. } else {
  9040. dAtA[i] = 0
  9041. }
  9042. i++
  9043. }
  9044. return i, nil
  9045. }
  9046. func (m *ServiceAccountList) Marshal() (dAtA []byte, err error) {
  9047. size := m.Size()
  9048. dAtA = make([]byte, size)
  9049. n, err := m.MarshalTo(dAtA)
  9050. if err != nil {
  9051. return nil, err
  9052. }
  9053. return dAtA[:n], nil
  9054. }
  9055. func (m *ServiceAccountList) MarshalTo(dAtA []byte) (int, error) {
  9056. var i int
  9057. _ = i
  9058. var l int
  9059. _ = l
  9060. dAtA[i] = 0xa
  9061. i++
  9062. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  9063. n194, err := m.ListMeta.MarshalTo(dAtA[i:])
  9064. if err != nil {
  9065. return 0, err
  9066. }
  9067. i += n194
  9068. if len(m.Items) > 0 {
  9069. for _, msg := range m.Items {
  9070. dAtA[i] = 0x12
  9071. i++
  9072. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9073. n, err := msg.MarshalTo(dAtA[i:])
  9074. if err != nil {
  9075. return 0, err
  9076. }
  9077. i += n
  9078. }
  9079. }
  9080. return i, nil
  9081. }
  9082. func (m *ServiceList) Marshal() (dAtA []byte, err error) {
  9083. size := m.Size()
  9084. dAtA = make([]byte, size)
  9085. n, err := m.MarshalTo(dAtA)
  9086. if err != nil {
  9087. return nil, err
  9088. }
  9089. return dAtA[:n], nil
  9090. }
  9091. func (m *ServiceList) MarshalTo(dAtA []byte) (int, error) {
  9092. var i int
  9093. _ = i
  9094. var l int
  9095. _ = l
  9096. dAtA[i] = 0xa
  9097. i++
  9098. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  9099. n195, err := m.ListMeta.MarshalTo(dAtA[i:])
  9100. if err != nil {
  9101. return 0, err
  9102. }
  9103. i += n195
  9104. if len(m.Items) > 0 {
  9105. for _, msg := range m.Items {
  9106. dAtA[i] = 0x12
  9107. i++
  9108. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9109. n, err := msg.MarshalTo(dAtA[i:])
  9110. if err != nil {
  9111. return 0, err
  9112. }
  9113. i += n
  9114. }
  9115. }
  9116. return i, nil
  9117. }
  9118. func (m *ServicePort) Marshal() (dAtA []byte, err error) {
  9119. size := m.Size()
  9120. dAtA = make([]byte, size)
  9121. n, err := m.MarshalTo(dAtA)
  9122. if err != nil {
  9123. return nil, err
  9124. }
  9125. return dAtA[:n], nil
  9126. }
  9127. func (m *ServicePort) MarshalTo(dAtA []byte) (int, error) {
  9128. var i int
  9129. _ = i
  9130. var l int
  9131. _ = l
  9132. dAtA[i] = 0xa
  9133. i++
  9134. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9135. i += copy(dAtA[i:], m.Name)
  9136. dAtA[i] = 0x12
  9137. i++
  9138. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Protocol)))
  9139. i += copy(dAtA[i:], m.Protocol)
  9140. dAtA[i] = 0x18
  9141. i++
  9142. i = encodeVarintGenerated(dAtA, i, uint64(m.Port))
  9143. dAtA[i] = 0x22
  9144. i++
  9145. i = encodeVarintGenerated(dAtA, i, uint64(m.TargetPort.Size()))
  9146. n196, err := m.TargetPort.MarshalTo(dAtA[i:])
  9147. if err != nil {
  9148. return 0, err
  9149. }
  9150. i += n196
  9151. dAtA[i] = 0x28
  9152. i++
  9153. i = encodeVarintGenerated(dAtA, i, uint64(m.NodePort))
  9154. return i, nil
  9155. }
  9156. func (m *ServiceProxyOptions) Marshal() (dAtA []byte, err error) {
  9157. size := m.Size()
  9158. dAtA = make([]byte, size)
  9159. n, err := m.MarshalTo(dAtA)
  9160. if err != nil {
  9161. return nil, err
  9162. }
  9163. return dAtA[:n], nil
  9164. }
  9165. func (m *ServiceProxyOptions) MarshalTo(dAtA []byte) (int, error) {
  9166. var i int
  9167. _ = i
  9168. var l int
  9169. _ = l
  9170. dAtA[i] = 0xa
  9171. i++
  9172. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  9173. i += copy(dAtA[i:], m.Path)
  9174. return i, nil
  9175. }
  9176. func (m *ServiceSpec) Marshal() (dAtA []byte, err error) {
  9177. size := m.Size()
  9178. dAtA = make([]byte, size)
  9179. n, err := m.MarshalTo(dAtA)
  9180. if err != nil {
  9181. return nil, err
  9182. }
  9183. return dAtA[:n], nil
  9184. }
  9185. func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error) {
  9186. var i int
  9187. _ = i
  9188. var l int
  9189. _ = l
  9190. if len(m.Ports) > 0 {
  9191. for _, msg := range m.Ports {
  9192. dAtA[i] = 0xa
  9193. i++
  9194. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  9195. n, err := msg.MarshalTo(dAtA[i:])
  9196. if err != nil {
  9197. return 0, err
  9198. }
  9199. i += n
  9200. }
  9201. }
  9202. if len(m.Selector) > 0 {
  9203. keysForSelector := make([]string, 0, len(m.Selector))
  9204. for k := range m.Selector {
  9205. keysForSelector = append(keysForSelector, string(k))
  9206. }
  9207. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  9208. for _, k := range keysForSelector {
  9209. dAtA[i] = 0x12
  9210. i++
  9211. v := m.Selector[string(k)]
  9212. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  9213. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  9214. dAtA[i] = 0xa
  9215. i++
  9216. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  9217. i += copy(dAtA[i:], k)
  9218. dAtA[i] = 0x12
  9219. i++
  9220. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  9221. i += copy(dAtA[i:], v)
  9222. }
  9223. }
  9224. dAtA[i] = 0x1a
  9225. i++
  9226. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterIP)))
  9227. i += copy(dAtA[i:], m.ClusterIP)
  9228. dAtA[i] = 0x22
  9229. i++
  9230. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  9231. i += copy(dAtA[i:], m.Type)
  9232. if len(m.ExternalIPs) > 0 {
  9233. for _, s := range m.ExternalIPs {
  9234. dAtA[i] = 0x2a
  9235. i++
  9236. l = len(s)
  9237. for l >= 1<<7 {
  9238. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  9239. l >>= 7
  9240. i++
  9241. }
  9242. dAtA[i] = uint8(l)
  9243. i++
  9244. i += copy(dAtA[i:], s)
  9245. }
  9246. }
  9247. dAtA[i] = 0x3a
  9248. i++
  9249. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SessionAffinity)))
  9250. i += copy(dAtA[i:], m.SessionAffinity)
  9251. dAtA[i] = 0x42
  9252. i++
  9253. i = encodeVarintGenerated(dAtA, i, uint64(len(m.LoadBalancerIP)))
  9254. i += copy(dAtA[i:], m.LoadBalancerIP)
  9255. if len(m.LoadBalancerSourceRanges) > 0 {
  9256. for _, s := range m.LoadBalancerSourceRanges {
  9257. dAtA[i] = 0x4a
  9258. i++
  9259. l = len(s)
  9260. for l >= 1<<7 {
  9261. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  9262. l >>= 7
  9263. i++
  9264. }
  9265. dAtA[i] = uint8(l)
  9266. i++
  9267. i += copy(dAtA[i:], s)
  9268. }
  9269. }
  9270. dAtA[i] = 0x52
  9271. i++
  9272. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ExternalName)))
  9273. i += copy(dAtA[i:], m.ExternalName)
  9274. dAtA[i] = 0x5a
  9275. i++
  9276. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ExternalTrafficPolicy)))
  9277. i += copy(dAtA[i:], m.ExternalTrafficPolicy)
  9278. dAtA[i] = 0x60
  9279. i++
  9280. i = encodeVarintGenerated(dAtA, i, uint64(m.HealthCheckNodePort))
  9281. dAtA[i] = 0x68
  9282. i++
  9283. if m.PublishNotReadyAddresses {
  9284. dAtA[i] = 1
  9285. } else {
  9286. dAtA[i] = 0
  9287. }
  9288. i++
  9289. if m.SessionAffinityConfig != nil {
  9290. dAtA[i] = 0x72
  9291. i++
  9292. i = encodeVarintGenerated(dAtA, i, uint64(m.SessionAffinityConfig.Size()))
  9293. n197, err := m.SessionAffinityConfig.MarshalTo(dAtA[i:])
  9294. if err != nil {
  9295. return 0, err
  9296. }
  9297. i += n197
  9298. }
  9299. return i, nil
  9300. }
  9301. func (m *ServiceStatus) Marshal() (dAtA []byte, err error) {
  9302. size := m.Size()
  9303. dAtA = make([]byte, size)
  9304. n, err := m.MarshalTo(dAtA)
  9305. if err != nil {
  9306. return nil, err
  9307. }
  9308. return dAtA[:n], nil
  9309. }
  9310. func (m *ServiceStatus) MarshalTo(dAtA []byte) (int, error) {
  9311. var i int
  9312. _ = i
  9313. var l int
  9314. _ = l
  9315. dAtA[i] = 0xa
  9316. i++
  9317. i = encodeVarintGenerated(dAtA, i, uint64(m.LoadBalancer.Size()))
  9318. n198, err := m.LoadBalancer.MarshalTo(dAtA[i:])
  9319. if err != nil {
  9320. return 0, err
  9321. }
  9322. i += n198
  9323. return i, nil
  9324. }
  9325. func (m *SessionAffinityConfig) Marshal() (dAtA []byte, err error) {
  9326. size := m.Size()
  9327. dAtA = make([]byte, size)
  9328. n, err := m.MarshalTo(dAtA)
  9329. if err != nil {
  9330. return nil, err
  9331. }
  9332. return dAtA[:n], nil
  9333. }
  9334. func (m *SessionAffinityConfig) MarshalTo(dAtA []byte) (int, error) {
  9335. var i int
  9336. _ = i
  9337. var l int
  9338. _ = l
  9339. if m.ClientIP != nil {
  9340. dAtA[i] = 0xa
  9341. i++
  9342. i = encodeVarintGenerated(dAtA, i, uint64(m.ClientIP.Size()))
  9343. n199, err := m.ClientIP.MarshalTo(dAtA[i:])
  9344. if err != nil {
  9345. return 0, err
  9346. }
  9347. i += n199
  9348. }
  9349. return i, nil
  9350. }
  9351. func (m *StorageOSPersistentVolumeSource) Marshal() (dAtA []byte, err error) {
  9352. size := m.Size()
  9353. dAtA = make([]byte, size)
  9354. n, err := m.MarshalTo(dAtA)
  9355. if err != nil {
  9356. return nil, err
  9357. }
  9358. return dAtA[:n], nil
  9359. }
  9360. func (m *StorageOSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  9361. var i int
  9362. _ = i
  9363. var l int
  9364. _ = l
  9365. dAtA[i] = 0xa
  9366. i++
  9367. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  9368. i += copy(dAtA[i:], m.VolumeName)
  9369. dAtA[i] = 0x12
  9370. i++
  9371. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeNamespace)))
  9372. i += copy(dAtA[i:], m.VolumeNamespace)
  9373. dAtA[i] = 0x1a
  9374. i++
  9375. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  9376. i += copy(dAtA[i:], m.FSType)
  9377. dAtA[i] = 0x20
  9378. i++
  9379. if m.ReadOnly {
  9380. dAtA[i] = 1
  9381. } else {
  9382. dAtA[i] = 0
  9383. }
  9384. i++
  9385. if m.SecretRef != nil {
  9386. dAtA[i] = 0x2a
  9387. i++
  9388. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  9389. n200, err := m.SecretRef.MarshalTo(dAtA[i:])
  9390. if err != nil {
  9391. return 0, err
  9392. }
  9393. i += n200
  9394. }
  9395. return i, nil
  9396. }
  9397. func (m *StorageOSVolumeSource) Marshal() (dAtA []byte, err error) {
  9398. size := m.Size()
  9399. dAtA = make([]byte, size)
  9400. n, err := m.MarshalTo(dAtA)
  9401. if err != nil {
  9402. return nil, err
  9403. }
  9404. return dAtA[:n], nil
  9405. }
  9406. func (m *StorageOSVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  9407. var i int
  9408. _ = i
  9409. var l int
  9410. _ = l
  9411. dAtA[i] = 0xa
  9412. i++
  9413. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeName)))
  9414. i += copy(dAtA[i:], m.VolumeName)
  9415. dAtA[i] = 0x12
  9416. i++
  9417. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeNamespace)))
  9418. i += copy(dAtA[i:], m.VolumeNamespace)
  9419. dAtA[i] = 0x1a
  9420. i++
  9421. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  9422. i += copy(dAtA[i:], m.FSType)
  9423. dAtA[i] = 0x20
  9424. i++
  9425. if m.ReadOnly {
  9426. dAtA[i] = 1
  9427. } else {
  9428. dAtA[i] = 0
  9429. }
  9430. i++
  9431. if m.SecretRef != nil {
  9432. dAtA[i] = 0x2a
  9433. i++
  9434. i = encodeVarintGenerated(dAtA, i, uint64(m.SecretRef.Size()))
  9435. n201, err := m.SecretRef.MarshalTo(dAtA[i:])
  9436. if err != nil {
  9437. return 0, err
  9438. }
  9439. i += n201
  9440. }
  9441. return i, nil
  9442. }
  9443. func (m *Sysctl) Marshal() (dAtA []byte, err error) {
  9444. size := m.Size()
  9445. dAtA = make([]byte, size)
  9446. n, err := m.MarshalTo(dAtA)
  9447. if err != nil {
  9448. return nil, err
  9449. }
  9450. return dAtA[:n], nil
  9451. }
  9452. func (m *Sysctl) MarshalTo(dAtA []byte) (int, error) {
  9453. var i int
  9454. _ = i
  9455. var l int
  9456. _ = l
  9457. dAtA[i] = 0xa
  9458. i++
  9459. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9460. i += copy(dAtA[i:], m.Name)
  9461. dAtA[i] = 0x12
  9462. i++
  9463. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  9464. i += copy(dAtA[i:], m.Value)
  9465. return i, nil
  9466. }
  9467. func (m *TCPSocketAction) Marshal() (dAtA []byte, err error) {
  9468. size := m.Size()
  9469. dAtA = make([]byte, size)
  9470. n, err := m.MarshalTo(dAtA)
  9471. if err != nil {
  9472. return nil, err
  9473. }
  9474. return dAtA[:n], nil
  9475. }
  9476. func (m *TCPSocketAction) MarshalTo(dAtA []byte) (int, error) {
  9477. var i int
  9478. _ = i
  9479. var l int
  9480. _ = l
  9481. dAtA[i] = 0xa
  9482. i++
  9483. i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
  9484. n202, err := m.Port.MarshalTo(dAtA[i:])
  9485. if err != nil {
  9486. return 0, err
  9487. }
  9488. i += n202
  9489. dAtA[i] = 0x12
  9490. i++
  9491. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
  9492. i += copy(dAtA[i:], m.Host)
  9493. return i, nil
  9494. }
  9495. func (m *Taint) Marshal() (dAtA []byte, err error) {
  9496. size := m.Size()
  9497. dAtA = make([]byte, size)
  9498. n, err := m.MarshalTo(dAtA)
  9499. if err != nil {
  9500. return nil, err
  9501. }
  9502. return dAtA[:n], nil
  9503. }
  9504. func (m *Taint) MarshalTo(dAtA []byte) (int, error) {
  9505. var i int
  9506. _ = i
  9507. var l int
  9508. _ = l
  9509. dAtA[i] = 0xa
  9510. i++
  9511. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  9512. i += copy(dAtA[i:], m.Key)
  9513. dAtA[i] = 0x12
  9514. i++
  9515. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  9516. i += copy(dAtA[i:], m.Value)
  9517. dAtA[i] = 0x1a
  9518. i++
  9519. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Effect)))
  9520. i += copy(dAtA[i:], m.Effect)
  9521. if m.TimeAdded != nil {
  9522. dAtA[i] = 0x22
  9523. i++
  9524. i = encodeVarintGenerated(dAtA, i, uint64(m.TimeAdded.Size()))
  9525. n203, err := m.TimeAdded.MarshalTo(dAtA[i:])
  9526. if err != nil {
  9527. return 0, err
  9528. }
  9529. i += n203
  9530. }
  9531. return i, nil
  9532. }
  9533. func (m *Toleration) Marshal() (dAtA []byte, err error) {
  9534. size := m.Size()
  9535. dAtA = make([]byte, size)
  9536. n, err := m.MarshalTo(dAtA)
  9537. if err != nil {
  9538. return nil, err
  9539. }
  9540. return dAtA[:n], nil
  9541. }
  9542. func (m *Toleration) MarshalTo(dAtA []byte) (int, error) {
  9543. var i int
  9544. _ = i
  9545. var l int
  9546. _ = l
  9547. dAtA[i] = 0xa
  9548. i++
  9549. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  9550. i += copy(dAtA[i:], m.Key)
  9551. dAtA[i] = 0x12
  9552. i++
  9553. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
  9554. i += copy(dAtA[i:], m.Operator)
  9555. dAtA[i] = 0x1a
  9556. i++
  9557. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Value)))
  9558. i += copy(dAtA[i:], m.Value)
  9559. dAtA[i] = 0x22
  9560. i++
  9561. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Effect)))
  9562. i += copy(dAtA[i:], m.Effect)
  9563. if m.TolerationSeconds != nil {
  9564. dAtA[i] = 0x28
  9565. i++
  9566. i = encodeVarintGenerated(dAtA, i, uint64(*m.TolerationSeconds))
  9567. }
  9568. return i, nil
  9569. }
  9570. func (m *Volume) Marshal() (dAtA []byte, err error) {
  9571. size := m.Size()
  9572. dAtA = make([]byte, size)
  9573. n, err := m.MarshalTo(dAtA)
  9574. if err != nil {
  9575. return nil, err
  9576. }
  9577. return dAtA[:n], nil
  9578. }
  9579. func (m *Volume) MarshalTo(dAtA []byte) (int, error) {
  9580. var i int
  9581. _ = i
  9582. var l int
  9583. _ = l
  9584. dAtA[i] = 0xa
  9585. i++
  9586. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9587. i += copy(dAtA[i:], m.Name)
  9588. dAtA[i] = 0x12
  9589. i++
  9590. i = encodeVarintGenerated(dAtA, i, uint64(m.VolumeSource.Size()))
  9591. n204, err := m.VolumeSource.MarshalTo(dAtA[i:])
  9592. if err != nil {
  9593. return 0, err
  9594. }
  9595. i += n204
  9596. return i, nil
  9597. }
  9598. func (m *VolumeDevice) 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 *VolumeDevice) MarshalTo(dAtA []byte) (int, error) {
  9608. var i int
  9609. _ = i
  9610. var l int
  9611. _ = l
  9612. dAtA[i] = 0xa
  9613. i++
  9614. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9615. i += copy(dAtA[i:], m.Name)
  9616. dAtA[i] = 0x12
  9617. i++
  9618. i = encodeVarintGenerated(dAtA, i, uint64(len(m.DevicePath)))
  9619. i += copy(dAtA[i:], m.DevicePath)
  9620. return i, nil
  9621. }
  9622. func (m *VolumeMount) Marshal() (dAtA []byte, err error) {
  9623. size := m.Size()
  9624. dAtA = make([]byte, size)
  9625. n, err := m.MarshalTo(dAtA)
  9626. if err != nil {
  9627. return nil, err
  9628. }
  9629. return dAtA[:n], nil
  9630. }
  9631. func (m *VolumeMount) MarshalTo(dAtA []byte) (int, error) {
  9632. var i int
  9633. _ = i
  9634. var l int
  9635. _ = l
  9636. dAtA[i] = 0xa
  9637. i++
  9638. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  9639. i += copy(dAtA[i:], m.Name)
  9640. dAtA[i] = 0x10
  9641. i++
  9642. if m.ReadOnly {
  9643. dAtA[i] = 1
  9644. } else {
  9645. dAtA[i] = 0
  9646. }
  9647. i++
  9648. dAtA[i] = 0x1a
  9649. i++
  9650. i = encodeVarintGenerated(dAtA, i, uint64(len(m.MountPath)))
  9651. i += copy(dAtA[i:], m.MountPath)
  9652. dAtA[i] = 0x22
  9653. i++
  9654. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SubPath)))
  9655. i += copy(dAtA[i:], m.SubPath)
  9656. if m.MountPropagation != nil {
  9657. dAtA[i] = 0x2a
  9658. i++
  9659. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.MountPropagation)))
  9660. i += copy(dAtA[i:], *m.MountPropagation)
  9661. }
  9662. return i, nil
  9663. }
  9664. func (m *VolumeNodeAffinity) Marshal() (dAtA []byte, err error) {
  9665. size := m.Size()
  9666. dAtA = make([]byte, size)
  9667. n, err := m.MarshalTo(dAtA)
  9668. if err != nil {
  9669. return nil, err
  9670. }
  9671. return dAtA[:n], nil
  9672. }
  9673. func (m *VolumeNodeAffinity) MarshalTo(dAtA []byte) (int, error) {
  9674. var i int
  9675. _ = i
  9676. var l int
  9677. _ = l
  9678. if m.Required != nil {
  9679. dAtA[i] = 0xa
  9680. i++
  9681. i = encodeVarintGenerated(dAtA, i, uint64(m.Required.Size()))
  9682. n205, err := m.Required.MarshalTo(dAtA[i:])
  9683. if err != nil {
  9684. return 0, err
  9685. }
  9686. i += n205
  9687. }
  9688. return i, nil
  9689. }
  9690. func (m *VolumeProjection) Marshal() (dAtA []byte, err error) {
  9691. size := m.Size()
  9692. dAtA = make([]byte, size)
  9693. n, err := m.MarshalTo(dAtA)
  9694. if err != nil {
  9695. return nil, err
  9696. }
  9697. return dAtA[:n], nil
  9698. }
  9699. func (m *VolumeProjection) MarshalTo(dAtA []byte) (int, error) {
  9700. var i int
  9701. _ = i
  9702. var l int
  9703. _ = l
  9704. if m.Secret != nil {
  9705. dAtA[i] = 0xa
  9706. i++
  9707. i = encodeVarintGenerated(dAtA, i, uint64(m.Secret.Size()))
  9708. n206, err := m.Secret.MarshalTo(dAtA[i:])
  9709. if err != nil {
  9710. return 0, err
  9711. }
  9712. i += n206
  9713. }
  9714. if m.DownwardAPI != nil {
  9715. dAtA[i] = 0x12
  9716. i++
  9717. i = encodeVarintGenerated(dAtA, i, uint64(m.DownwardAPI.Size()))
  9718. n207, err := m.DownwardAPI.MarshalTo(dAtA[i:])
  9719. if err != nil {
  9720. return 0, err
  9721. }
  9722. i += n207
  9723. }
  9724. if m.ConfigMap != nil {
  9725. dAtA[i] = 0x1a
  9726. i++
  9727. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMap.Size()))
  9728. n208, err := m.ConfigMap.MarshalTo(dAtA[i:])
  9729. if err != nil {
  9730. return 0, err
  9731. }
  9732. i += n208
  9733. }
  9734. return i, nil
  9735. }
  9736. func (m *VolumeSource) Marshal() (dAtA []byte, err error) {
  9737. size := m.Size()
  9738. dAtA = make([]byte, size)
  9739. n, err := m.MarshalTo(dAtA)
  9740. if err != nil {
  9741. return nil, err
  9742. }
  9743. return dAtA[:n], nil
  9744. }
  9745. func (m *VolumeSource) MarshalTo(dAtA []byte) (int, error) {
  9746. var i int
  9747. _ = i
  9748. var l int
  9749. _ = l
  9750. if m.HostPath != nil {
  9751. dAtA[i] = 0xa
  9752. i++
  9753. i = encodeVarintGenerated(dAtA, i, uint64(m.HostPath.Size()))
  9754. n209, err := m.HostPath.MarshalTo(dAtA[i:])
  9755. if err != nil {
  9756. return 0, err
  9757. }
  9758. i += n209
  9759. }
  9760. if m.EmptyDir != nil {
  9761. dAtA[i] = 0x12
  9762. i++
  9763. i = encodeVarintGenerated(dAtA, i, uint64(m.EmptyDir.Size()))
  9764. n210, err := m.EmptyDir.MarshalTo(dAtA[i:])
  9765. if err != nil {
  9766. return 0, err
  9767. }
  9768. i += n210
  9769. }
  9770. if m.GCEPersistentDisk != nil {
  9771. dAtA[i] = 0x1a
  9772. i++
  9773. i = encodeVarintGenerated(dAtA, i, uint64(m.GCEPersistentDisk.Size()))
  9774. n211, err := m.GCEPersistentDisk.MarshalTo(dAtA[i:])
  9775. if err != nil {
  9776. return 0, err
  9777. }
  9778. i += n211
  9779. }
  9780. if m.AWSElasticBlockStore != nil {
  9781. dAtA[i] = 0x22
  9782. i++
  9783. i = encodeVarintGenerated(dAtA, i, uint64(m.AWSElasticBlockStore.Size()))
  9784. n212, err := m.AWSElasticBlockStore.MarshalTo(dAtA[i:])
  9785. if err != nil {
  9786. return 0, err
  9787. }
  9788. i += n212
  9789. }
  9790. if m.GitRepo != nil {
  9791. dAtA[i] = 0x2a
  9792. i++
  9793. i = encodeVarintGenerated(dAtA, i, uint64(m.GitRepo.Size()))
  9794. n213, err := m.GitRepo.MarshalTo(dAtA[i:])
  9795. if err != nil {
  9796. return 0, err
  9797. }
  9798. i += n213
  9799. }
  9800. if m.Secret != nil {
  9801. dAtA[i] = 0x32
  9802. i++
  9803. i = encodeVarintGenerated(dAtA, i, uint64(m.Secret.Size()))
  9804. n214, err := m.Secret.MarshalTo(dAtA[i:])
  9805. if err != nil {
  9806. return 0, err
  9807. }
  9808. i += n214
  9809. }
  9810. if m.NFS != nil {
  9811. dAtA[i] = 0x3a
  9812. i++
  9813. i = encodeVarintGenerated(dAtA, i, uint64(m.NFS.Size()))
  9814. n215, err := m.NFS.MarshalTo(dAtA[i:])
  9815. if err != nil {
  9816. return 0, err
  9817. }
  9818. i += n215
  9819. }
  9820. if m.ISCSI != nil {
  9821. dAtA[i] = 0x42
  9822. i++
  9823. i = encodeVarintGenerated(dAtA, i, uint64(m.ISCSI.Size()))
  9824. n216, err := m.ISCSI.MarshalTo(dAtA[i:])
  9825. if err != nil {
  9826. return 0, err
  9827. }
  9828. i += n216
  9829. }
  9830. if m.Glusterfs != nil {
  9831. dAtA[i] = 0x4a
  9832. i++
  9833. i = encodeVarintGenerated(dAtA, i, uint64(m.Glusterfs.Size()))
  9834. n217, err := m.Glusterfs.MarshalTo(dAtA[i:])
  9835. if err != nil {
  9836. return 0, err
  9837. }
  9838. i += n217
  9839. }
  9840. if m.PersistentVolumeClaim != nil {
  9841. dAtA[i] = 0x52
  9842. i++
  9843. i = encodeVarintGenerated(dAtA, i, uint64(m.PersistentVolumeClaim.Size()))
  9844. n218, err := m.PersistentVolumeClaim.MarshalTo(dAtA[i:])
  9845. if err != nil {
  9846. return 0, err
  9847. }
  9848. i += n218
  9849. }
  9850. if m.RBD != nil {
  9851. dAtA[i] = 0x5a
  9852. i++
  9853. i = encodeVarintGenerated(dAtA, i, uint64(m.RBD.Size()))
  9854. n219, err := m.RBD.MarshalTo(dAtA[i:])
  9855. if err != nil {
  9856. return 0, err
  9857. }
  9858. i += n219
  9859. }
  9860. if m.FlexVolume != nil {
  9861. dAtA[i] = 0x62
  9862. i++
  9863. i = encodeVarintGenerated(dAtA, i, uint64(m.FlexVolume.Size()))
  9864. n220, err := m.FlexVolume.MarshalTo(dAtA[i:])
  9865. if err != nil {
  9866. return 0, err
  9867. }
  9868. i += n220
  9869. }
  9870. if m.Cinder != nil {
  9871. dAtA[i] = 0x6a
  9872. i++
  9873. i = encodeVarintGenerated(dAtA, i, uint64(m.Cinder.Size()))
  9874. n221, err := m.Cinder.MarshalTo(dAtA[i:])
  9875. if err != nil {
  9876. return 0, err
  9877. }
  9878. i += n221
  9879. }
  9880. if m.CephFS != nil {
  9881. dAtA[i] = 0x72
  9882. i++
  9883. i = encodeVarintGenerated(dAtA, i, uint64(m.CephFS.Size()))
  9884. n222, err := m.CephFS.MarshalTo(dAtA[i:])
  9885. if err != nil {
  9886. return 0, err
  9887. }
  9888. i += n222
  9889. }
  9890. if m.Flocker != nil {
  9891. dAtA[i] = 0x7a
  9892. i++
  9893. i = encodeVarintGenerated(dAtA, i, uint64(m.Flocker.Size()))
  9894. n223, err := m.Flocker.MarshalTo(dAtA[i:])
  9895. if err != nil {
  9896. return 0, err
  9897. }
  9898. i += n223
  9899. }
  9900. if m.DownwardAPI != nil {
  9901. dAtA[i] = 0x82
  9902. i++
  9903. dAtA[i] = 0x1
  9904. i++
  9905. i = encodeVarintGenerated(dAtA, i, uint64(m.DownwardAPI.Size()))
  9906. n224, err := m.DownwardAPI.MarshalTo(dAtA[i:])
  9907. if err != nil {
  9908. return 0, err
  9909. }
  9910. i += n224
  9911. }
  9912. if m.FC != nil {
  9913. dAtA[i] = 0x8a
  9914. i++
  9915. dAtA[i] = 0x1
  9916. i++
  9917. i = encodeVarintGenerated(dAtA, i, uint64(m.FC.Size()))
  9918. n225, err := m.FC.MarshalTo(dAtA[i:])
  9919. if err != nil {
  9920. return 0, err
  9921. }
  9922. i += n225
  9923. }
  9924. if m.AzureFile != nil {
  9925. dAtA[i] = 0x92
  9926. i++
  9927. dAtA[i] = 0x1
  9928. i++
  9929. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureFile.Size()))
  9930. n226, err := m.AzureFile.MarshalTo(dAtA[i:])
  9931. if err != nil {
  9932. return 0, err
  9933. }
  9934. i += n226
  9935. }
  9936. if m.ConfigMap != nil {
  9937. dAtA[i] = 0x9a
  9938. i++
  9939. dAtA[i] = 0x1
  9940. i++
  9941. i = encodeVarintGenerated(dAtA, i, uint64(m.ConfigMap.Size()))
  9942. n227, err := m.ConfigMap.MarshalTo(dAtA[i:])
  9943. if err != nil {
  9944. return 0, err
  9945. }
  9946. i += n227
  9947. }
  9948. if m.VsphereVolume != nil {
  9949. dAtA[i] = 0xa2
  9950. i++
  9951. dAtA[i] = 0x1
  9952. i++
  9953. i = encodeVarintGenerated(dAtA, i, uint64(m.VsphereVolume.Size()))
  9954. n228, err := m.VsphereVolume.MarshalTo(dAtA[i:])
  9955. if err != nil {
  9956. return 0, err
  9957. }
  9958. i += n228
  9959. }
  9960. if m.Quobyte != nil {
  9961. dAtA[i] = 0xaa
  9962. i++
  9963. dAtA[i] = 0x1
  9964. i++
  9965. i = encodeVarintGenerated(dAtA, i, uint64(m.Quobyte.Size()))
  9966. n229, err := m.Quobyte.MarshalTo(dAtA[i:])
  9967. if err != nil {
  9968. return 0, err
  9969. }
  9970. i += n229
  9971. }
  9972. if m.AzureDisk != nil {
  9973. dAtA[i] = 0xb2
  9974. i++
  9975. dAtA[i] = 0x1
  9976. i++
  9977. i = encodeVarintGenerated(dAtA, i, uint64(m.AzureDisk.Size()))
  9978. n230, err := m.AzureDisk.MarshalTo(dAtA[i:])
  9979. if err != nil {
  9980. return 0, err
  9981. }
  9982. i += n230
  9983. }
  9984. if m.PhotonPersistentDisk != nil {
  9985. dAtA[i] = 0xba
  9986. i++
  9987. dAtA[i] = 0x1
  9988. i++
  9989. i = encodeVarintGenerated(dAtA, i, uint64(m.PhotonPersistentDisk.Size()))
  9990. n231, err := m.PhotonPersistentDisk.MarshalTo(dAtA[i:])
  9991. if err != nil {
  9992. return 0, err
  9993. }
  9994. i += n231
  9995. }
  9996. if m.PortworxVolume != nil {
  9997. dAtA[i] = 0xc2
  9998. i++
  9999. dAtA[i] = 0x1
  10000. i++
  10001. i = encodeVarintGenerated(dAtA, i, uint64(m.PortworxVolume.Size()))
  10002. n232, err := m.PortworxVolume.MarshalTo(dAtA[i:])
  10003. if err != nil {
  10004. return 0, err
  10005. }
  10006. i += n232
  10007. }
  10008. if m.ScaleIO != nil {
  10009. dAtA[i] = 0xca
  10010. i++
  10011. dAtA[i] = 0x1
  10012. i++
  10013. i = encodeVarintGenerated(dAtA, i, uint64(m.ScaleIO.Size()))
  10014. n233, err := m.ScaleIO.MarshalTo(dAtA[i:])
  10015. if err != nil {
  10016. return 0, err
  10017. }
  10018. i += n233
  10019. }
  10020. if m.Projected != nil {
  10021. dAtA[i] = 0xd2
  10022. i++
  10023. dAtA[i] = 0x1
  10024. i++
  10025. i = encodeVarintGenerated(dAtA, i, uint64(m.Projected.Size()))
  10026. n234, err := m.Projected.MarshalTo(dAtA[i:])
  10027. if err != nil {
  10028. return 0, err
  10029. }
  10030. i += n234
  10031. }
  10032. if m.StorageOS != nil {
  10033. dAtA[i] = 0xda
  10034. i++
  10035. dAtA[i] = 0x1
  10036. i++
  10037. i = encodeVarintGenerated(dAtA, i, uint64(m.StorageOS.Size()))
  10038. n235, err := m.StorageOS.MarshalTo(dAtA[i:])
  10039. if err != nil {
  10040. return 0, err
  10041. }
  10042. i += n235
  10043. }
  10044. return i, nil
  10045. }
  10046. func (m *VsphereVirtualDiskVolumeSource) Marshal() (dAtA []byte, err error) {
  10047. size := m.Size()
  10048. dAtA = make([]byte, size)
  10049. n, err := m.MarshalTo(dAtA)
  10050. if err != nil {
  10051. return nil, err
  10052. }
  10053. return dAtA[:n], nil
  10054. }
  10055. func (m *VsphereVirtualDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) {
  10056. var i int
  10057. _ = i
  10058. var l int
  10059. _ = l
  10060. dAtA[i] = 0xa
  10061. i++
  10062. i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumePath)))
  10063. i += copy(dAtA[i:], m.VolumePath)
  10064. dAtA[i] = 0x12
  10065. i++
  10066. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
  10067. i += copy(dAtA[i:], m.FSType)
  10068. dAtA[i] = 0x1a
  10069. i++
  10070. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePolicyName)))
  10071. i += copy(dAtA[i:], m.StoragePolicyName)
  10072. dAtA[i] = 0x22
  10073. i++
  10074. i = encodeVarintGenerated(dAtA, i, uint64(len(m.StoragePolicyID)))
  10075. i += copy(dAtA[i:], m.StoragePolicyID)
  10076. return i, nil
  10077. }
  10078. func (m *WeightedPodAffinityTerm) Marshal() (dAtA []byte, err error) {
  10079. size := m.Size()
  10080. dAtA = make([]byte, size)
  10081. n, err := m.MarshalTo(dAtA)
  10082. if err != nil {
  10083. return nil, err
  10084. }
  10085. return dAtA[:n], nil
  10086. }
  10087. func (m *WeightedPodAffinityTerm) MarshalTo(dAtA []byte) (int, error) {
  10088. var i int
  10089. _ = i
  10090. var l int
  10091. _ = l
  10092. dAtA[i] = 0x8
  10093. i++
  10094. i = encodeVarintGenerated(dAtA, i, uint64(m.Weight))
  10095. dAtA[i] = 0x12
  10096. i++
  10097. i = encodeVarintGenerated(dAtA, i, uint64(m.PodAffinityTerm.Size()))
  10098. n236, err := m.PodAffinityTerm.MarshalTo(dAtA[i:])
  10099. if err != nil {
  10100. return 0, err
  10101. }
  10102. i += n236
  10103. return i, nil
  10104. }
  10105. func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int {
  10106. dAtA[offset] = uint8(v)
  10107. dAtA[offset+1] = uint8(v >> 8)
  10108. dAtA[offset+2] = uint8(v >> 16)
  10109. dAtA[offset+3] = uint8(v >> 24)
  10110. dAtA[offset+4] = uint8(v >> 32)
  10111. dAtA[offset+5] = uint8(v >> 40)
  10112. dAtA[offset+6] = uint8(v >> 48)
  10113. dAtA[offset+7] = uint8(v >> 56)
  10114. return offset + 8
  10115. }
  10116. func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int {
  10117. dAtA[offset] = uint8(v)
  10118. dAtA[offset+1] = uint8(v >> 8)
  10119. dAtA[offset+2] = uint8(v >> 16)
  10120. dAtA[offset+3] = uint8(v >> 24)
  10121. return offset + 4
  10122. }
  10123. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  10124. for v >= 1<<7 {
  10125. dAtA[offset] = uint8(v&0x7f | 0x80)
  10126. v >>= 7
  10127. offset++
  10128. }
  10129. dAtA[offset] = uint8(v)
  10130. return offset + 1
  10131. }
  10132. func (m *AWSElasticBlockStoreVolumeSource) Size() (n int) {
  10133. var l int
  10134. _ = l
  10135. l = len(m.VolumeID)
  10136. n += 1 + l + sovGenerated(uint64(l))
  10137. l = len(m.FSType)
  10138. n += 1 + l + sovGenerated(uint64(l))
  10139. n += 1 + sovGenerated(uint64(m.Partition))
  10140. n += 2
  10141. return n
  10142. }
  10143. func (m *Affinity) Size() (n int) {
  10144. var l int
  10145. _ = l
  10146. if m.NodeAffinity != nil {
  10147. l = m.NodeAffinity.Size()
  10148. n += 1 + l + sovGenerated(uint64(l))
  10149. }
  10150. if m.PodAffinity != nil {
  10151. l = m.PodAffinity.Size()
  10152. n += 1 + l + sovGenerated(uint64(l))
  10153. }
  10154. if m.PodAntiAffinity != nil {
  10155. l = m.PodAntiAffinity.Size()
  10156. n += 1 + l + sovGenerated(uint64(l))
  10157. }
  10158. return n
  10159. }
  10160. func (m *AttachedVolume) Size() (n int) {
  10161. var l int
  10162. _ = l
  10163. l = len(m.Name)
  10164. n += 1 + l + sovGenerated(uint64(l))
  10165. l = len(m.DevicePath)
  10166. n += 1 + l + sovGenerated(uint64(l))
  10167. return n
  10168. }
  10169. func (m *AvoidPods) Size() (n int) {
  10170. var l int
  10171. _ = l
  10172. if len(m.PreferAvoidPods) > 0 {
  10173. for _, e := range m.PreferAvoidPods {
  10174. l = e.Size()
  10175. n += 1 + l + sovGenerated(uint64(l))
  10176. }
  10177. }
  10178. return n
  10179. }
  10180. func (m *AzureDiskVolumeSource) Size() (n int) {
  10181. var l int
  10182. _ = l
  10183. l = len(m.DiskName)
  10184. n += 1 + l + sovGenerated(uint64(l))
  10185. l = len(m.DataDiskURI)
  10186. n += 1 + l + sovGenerated(uint64(l))
  10187. if m.CachingMode != nil {
  10188. l = len(*m.CachingMode)
  10189. n += 1 + l + sovGenerated(uint64(l))
  10190. }
  10191. if m.FSType != nil {
  10192. l = len(*m.FSType)
  10193. n += 1 + l + sovGenerated(uint64(l))
  10194. }
  10195. if m.ReadOnly != nil {
  10196. n += 2
  10197. }
  10198. if m.Kind != nil {
  10199. l = len(*m.Kind)
  10200. n += 1 + l + sovGenerated(uint64(l))
  10201. }
  10202. return n
  10203. }
  10204. func (m *AzureFilePersistentVolumeSource) Size() (n int) {
  10205. var l int
  10206. _ = l
  10207. l = len(m.SecretName)
  10208. n += 1 + l + sovGenerated(uint64(l))
  10209. l = len(m.ShareName)
  10210. n += 1 + l + sovGenerated(uint64(l))
  10211. n += 2
  10212. if m.SecretNamespace != nil {
  10213. l = len(*m.SecretNamespace)
  10214. n += 1 + l + sovGenerated(uint64(l))
  10215. }
  10216. return n
  10217. }
  10218. func (m *AzureFileVolumeSource) Size() (n int) {
  10219. var l int
  10220. _ = l
  10221. l = len(m.SecretName)
  10222. n += 1 + l + sovGenerated(uint64(l))
  10223. l = len(m.ShareName)
  10224. n += 1 + l + sovGenerated(uint64(l))
  10225. n += 2
  10226. return n
  10227. }
  10228. func (m *Binding) Size() (n int) {
  10229. var l int
  10230. _ = l
  10231. l = m.ObjectMeta.Size()
  10232. n += 1 + l + sovGenerated(uint64(l))
  10233. l = m.Target.Size()
  10234. n += 1 + l + sovGenerated(uint64(l))
  10235. return n
  10236. }
  10237. func (m *CSIPersistentVolumeSource) Size() (n int) {
  10238. var l int
  10239. _ = l
  10240. l = len(m.Driver)
  10241. n += 1 + l + sovGenerated(uint64(l))
  10242. l = len(m.VolumeHandle)
  10243. n += 1 + l + sovGenerated(uint64(l))
  10244. n += 2
  10245. l = len(m.FSType)
  10246. n += 1 + l + sovGenerated(uint64(l))
  10247. if len(m.VolumeAttributes) > 0 {
  10248. for k, v := range m.VolumeAttributes {
  10249. _ = k
  10250. _ = v
  10251. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10252. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10253. }
  10254. }
  10255. if m.ControllerPublishSecretRef != nil {
  10256. l = m.ControllerPublishSecretRef.Size()
  10257. n += 1 + l + sovGenerated(uint64(l))
  10258. }
  10259. if m.NodeStageSecretRef != nil {
  10260. l = m.NodeStageSecretRef.Size()
  10261. n += 1 + l + sovGenerated(uint64(l))
  10262. }
  10263. if m.NodePublishSecretRef != nil {
  10264. l = m.NodePublishSecretRef.Size()
  10265. n += 1 + l + sovGenerated(uint64(l))
  10266. }
  10267. return n
  10268. }
  10269. func (m *Capabilities) Size() (n int) {
  10270. var l int
  10271. _ = l
  10272. if len(m.Add) > 0 {
  10273. for _, s := range m.Add {
  10274. l = len(s)
  10275. n += 1 + l + sovGenerated(uint64(l))
  10276. }
  10277. }
  10278. if len(m.Drop) > 0 {
  10279. for _, s := range m.Drop {
  10280. l = len(s)
  10281. n += 1 + l + sovGenerated(uint64(l))
  10282. }
  10283. }
  10284. return n
  10285. }
  10286. func (m *CephFSPersistentVolumeSource) Size() (n int) {
  10287. var l int
  10288. _ = l
  10289. if len(m.Monitors) > 0 {
  10290. for _, s := range m.Monitors {
  10291. l = len(s)
  10292. n += 1 + l + sovGenerated(uint64(l))
  10293. }
  10294. }
  10295. l = len(m.Path)
  10296. n += 1 + l + sovGenerated(uint64(l))
  10297. l = len(m.User)
  10298. n += 1 + l + sovGenerated(uint64(l))
  10299. l = len(m.SecretFile)
  10300. n += 1 + l + sovGenerated(uint64(l))
  10301. if m.SecretRef != nil {
  10302. l = m.SecretRef.Size()
  10303. n += 1 + l + sovGenerated(uint64(l))
  10304. }
  10305. n += 2
  10306. return n
  10307. }
  10308. func (m *CephFSVolumeSource) Size() (n int) {
  10309. var l int
  10310. _ = l
  10311. if len(m.Monitors) > 0 {
  10312. for _, s := range m.Monitors {
  10313. l = len(s)
  10314. n += 1 + l + sovGenerated(uint64(l))
  10315. }
  10316. }
  10317. l = len(m.Path)
  10318. n += 1 + l + sovGenerated(uint64(l))
  10319. l = len(m.User)
  10320. n += 1 + l + sovGenerated(uint64(l))
  10321. l = len(m.SecretFile)
  10322. n += 1 + l + sovGenerated(uint64(l))
  10323. if m.SecretRef != nil {
  10324. l = m.SecretRef.Size()
  10325. n += 1 + l + sovGenerated(uint64(l))
  10326. }
  10327. n += 2
  10328. return n
  10329. }
  10330. func (m *CinderVolumeSource) Size() (n int) {
  10331. var l int
  10332. _ = l
  10333. l = len(m.VolumeID)
  10334. n += 1 + l + sovGenerated(uint64(l))
  10335. l = len(m.FSType)
  10336. n += 1 + l + sovGenerated(uint64(l))
  10337. n += 2
  10338. return n
  10339. }
  10340. func (m *ClientIPConfig) Size() (n int) {
  10341. var l int
  10342. _ = l
  10343. if m.TimeoutSeconds != nil {
  10344. n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
  10345. }
  10346. return n
  10347. }
  10348. func (m *ComponentCondition) Size() (n int) {
  10349. var l int
  10350. _ = l
  10351. l = len(m.Type)
  10352. n += 1 + l + sovGenerated(uint64(l))
  10353. l = len(m.Status)
  10354. n += 1 + l + sovGenerated(uint64(l))
  10355. l = len(m.Message)
  10356. n += 1 + l + sovGenerated(uint64(l))
  10357. l = len(m.Error)
  10358. n += 1 + l + sovGenerated(uint64(l))
  10359. return n
  10360. }
  10361. func (m *ComponentStatus) Size() (n int) {
  10362. var l int
  10363. _ = l
  10364. l = m.ObjectMeta.Size()
  10365. n += 1 + l + sovGenerated(uint64(l))
  10366. if len(m.Conditions) > 0 {
  10367. for _, e := range m.Conditions {
  10368. l = e.Size()
  10369. n += 1 + l + sovGenerated(uint64(l))
  10370. }
  10371. }
  10372. return n
  10373. }
  10374. func (m *ComponentStatusList) Size() (n int) {
  10375. var l int
  10376. _ = l
  10377. l = m.ListMeta.Size()
  10378. n += 1 + l + sovGenerated(uint64(l))
  10379. if len(m.Items) > 0 {
  10380. for _, e := range m.Items {
  10381. l = e.Size()
  10382. n += 1 + l + sovGenerated(uint64(l))
  10383. }
  10384. }
  10385. return n
  10386. }
  10387. func (m *ConfigMap) Size() (n int) {
  10388. var l int
  10389. _ = l
  10390. l = m.ObjectMeta.Size()
  10391. n += 1 + l + sovGenerated(uint64(l))
  10392. if len(m.Data) > 0 {
  10393. for k, v := range m.Data {
  10394. _ = k
  10395. _ = v
  10396. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10397. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10398. }
  10399. }
  10400. if len(m.BinaryData) > 0 {
  10401. for k, v := range m.BinaryData {
  10402. _ = k
  10403. _ = v
  10404. l = 0
  10405. if v != nil {
  10406. l = 1 + len(v) + sovGenerated(uint64(len(v)))
  10407. }
  10408. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + l
  10409. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10410. }
  10411. }
  10412. return n
  10413. }
  10414. func (m *ConfigMapEnvSource) Size() (n int) {
  10415. var l int
  10416. _ = l
  10417. l = m.LocalObjectReference.Size()
  10418. n += 1 + l + sovGenerated(uint64(l))
  10419. if m.Optional != nil {
  10420. n += 2
  10421. }
  10422. return n
  10423. }
  10424. func (m *ConfigMapKeySelector) Size() (n int) {
  10425. var l int
  10426. _ = l
  10427. l = m.LocalObjectReference.Size()
  10428. n += 1 + l + sovGenerated(uint64(l))
  10429. l = len(m.Key)
  10430. n += 1 + l + sovGenerated(uint64(l))
  10431. if m.Optional != nil {
  10432. n += 2
  10433. }
  10434. return n
  10435. }
  10436. func (m *ConfigMapList) Size() (n int) {
  10437. var l int
  10438. _ = l
  10439. l = m.ListMeta.Size()
  10440. n += 1 + l + sovGenerated(uint64(l))
  10441. if len(m.Items) > 0 {
  10442. for _, e := range m.Items {
  10443. l = e.Size()
  10444. n += 1 + l + sovGenerated(uint64(l))
  10445. }
  10446. }
  10447. return n
  10448. }
  10449. func (m *ConfigMapProjection) Size() (n int) {
  10450. var l int
  10451. _ = l
  10452. l = m.LocalObjectReference.Size()
  10453. n += 1 + l + sovGenerated(uint64(l))
  10454. if len(m.Items) > 0 {
  10455. for _, e := range m.Items {
  10456. l = e.Size()
  10457. n += 1 + l + sovGenerated(uint64(l))
  10458. }
  10459. }
  10460. if m.Optional != nil {
  10461. n += 2
  10462. }
  10463. return n
  10464. }
  10465. func (m *ConfigMapVolumeSource) Size() (n int) {
  10466. var l int
  10467. _ = l
  10468. l = m.LocalObjectReference.Size()
  10469. n += 1 + l + sovGenerated(uint64(l))
  10470. if len(m.Items) > 0 {
  10471. for _, e := range m.Items {
  10472. l = e.Size()
  10473. n += 1 + l + sovGenerated(uint64(l))
  10474. }
  10475. }
  10476. if m.DefaultMode != nil {
  10477. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  10478. }
  10479. if m.Optional != nil {
  10480. n += 2
  10481. }
  10482. return n
  10483. }
  10484. func (m *Container) Size() (n int) {
  10485. var l int
  10486. _ = l
  10487. l = len(m.Name)
  10488. n += 1 + l + sovGenerated(uint64(l))
  10489. l = len(m.Image)
  10490. n += 1 + l + sovGenerated(uint64(l))
  10491. if len(m.Command) > 0 {
  10492. for _, s := range m.Command {
  10493. l = len(s)
  10494. n += 1 + l + sovGenerated(uint64(l))
  10495. }
  10496. }
  10497. if len(m.Args) > 0 {
  10498. for _, s := range m.Args {
  10499. l = len(s)
  10500. n += 1 + l + sovGenerated(uint64(l))
  10501. }
  10502. }
  10503. l = len(m.WorkingDir)
  10504. n += 1 + l + sovGenerated(uint64(l))
  10505. if len(m.Ports) > 0 {
  10506. for _, e := range m.Ports {
  10507. l = e.Size()
  10508. n += 1 + l + sovGenerated(uint64(l))
  10509. }
  10510. }
  10511. if len(m.Env) > 0 {
  10512. for _, e := range m.Env {
  10513. l = e.Size()
  10514. n += 1 + l + sovGenerated(uint64(l))
  10515. }
  10516. }
  10517. l = m.Resources.Size()
  10518. n += 1 + l + sovGenerated(uint64(l))
  10519. if len(m.VolumeMounts) > 0 {
  10520. for _, e := range m.VolumeMounts {
  10521. l = e.Size()
  10522. n += 1 + l + sovGenerated(uint64(l))
  10523. }
  10524. }
  10525. if m.LivenessProbe != nil {
  10526. l = m.LivenessProbe.Size()
  10527. n += 1 + l + sovGenerated(uint64(l))
  10528. }
  10529. if m.ReadinessProbe != nil {
  10530. l = m.ReadinessProbe.Size()
  10531. n += 1 + l + sovGenerated(uint64(l))
  10532. }
  10533. if m.Lifecycle != nil {
  10534. l = m.Lifecycle.Size()
  10535. n += 1 + l + sovGenerated(uint64(l))
  10536. }
  10537. l = len(m.TerminationMessagePath)
  10538. n += 1 + l + sovGenerated(uint64(l))
  10539. l = len(m.ImagePullPolicy)
  10540. n += 1 + l + sovGenerated(uint64(l))
  10541. if m.SecurityContext != nil {
  10542. l = m.SecurityContext.Size()
  10543. n += 1 + l + sovGenerated(uint64(l))
  10544. }
  10545. n += 3
  10546. n += 3
  10547. n += 3
  10548. if len(m.EnvFrom) > 0 {
  10549. for _, e := range m.EnvFrom {
  10550. l = e.Size()
  10551. n += 2 + l + sovGenerated(uint64(l))
  10552. }
  10553. }
  10554. l = len(m.TerminationMessagePolicy)
  10555. n += 2 + l + sovGenerated(uint64(l))
  10556. if len(m.VolumeDevices) > 0 {
  10557. for _, e := range m.VolumeDevices {
  10558. l = e.Size()
  10559. n += 2 + l + sovGenerated(uint64(l))
  10560. }
  10561. }
  10562. return n
  10563. }
  10564. func (m *ContainerImage) Size() (n int) {
  10565. var l int
  10566. _ = l
  10567. if len(m.Names) > 0 {
  10568. for _, s := range m.Names {
  10569. l = len(s)
  10570. n += 1 + l + sovGenerated(uint64(l))
  10571. }
  10572. }
  10573. n += 1 + sovGenerated(uint64(m.SizeBytes))
  10574. return n
  10575. }
  10576. func (m *ContainerPort) Size() (n int) {
  10577. var l int
  10578. _ = l
  10579. l = len(m.Name)
  10580. n += 1 + l + sovGenerated(uint64(l))
  10581. n += 1 + sovGenerated(uint64(m.HostPort))
  10582. n += 1 + sovGenerated(uint64(m.ContainerPort))
  10583. l = len(m.Protocol)
  10584. n += 1 + l + sovGenerated(uint64(l))
  10585. l = len(m.HostIP)
  10586. n += 1 + l + sovGenerated(uint64(l))
  10587. return n
  10588. }
  10589. func (m *ContainerState) Size() (n int) {
  10590. var l int
  10591. _ = l
  10592. if m.Waiting != nil {
  10593. l = m.Waiting.Size()
  10594. n += 1 + l + sovGenerated(uint64(l))
  10595. }
  10596. if m.Running != nil {
  10597. l = m.Running.Size()
  10598. n += 1 + l + sovGenerated(uint64(l))
  10599. }
  10600. if m.Terminated != nil {
  10601. l = m.Terminated.Size()
  10602. n += 1 + l + sovGenerated(uint64(l))
  10603. }
  10604. return n
  10605. }
  10606. func (m *ContainerStateRunning) Size() (n int) {
  10607. var l int
  10608. _ = l
  10609. l = m.StartedAt.Size()
  10610. n += 1 + l + sovGenerated(uint64(l))
  10611. return n
  10612. }
  10613. func (m *ContainerStateTerminated) Size() (n int) {
  10614. var l int
  10615. _ = l
  10616. n += 1 + sovGenerated(uint64(m.ExitCode))
  10617. n += 1 + sovGenerated(uint64(m.Signal))
  10618. l = len(m.Reason)
  10619. n += 1 + l + sovGenerated(uint64(l))
  10620. l = len(m.Message)
  10621. n += 1 + l + sovGenerated(uint64(l))
  10622. l = m.StartedAt.Size()
  10623. n += 1 + l + sovGenerated(uint64(l))
  10624. l = m.FinishedAt.Size()
  10625. n += 1 + l + sovGenerated(uint64(l))
  10626. l = len(m.ContainerID)
  10627. n += 1 + l + sovGenerated(uint64(l))
  10628. return n
  10629. }
  10630. func (m *ContainerStateWaiting) Size() (n int) {
  10631. var l int
  10632. _ = l
  10633. l = len(m.Reason)
  10634. n += 1 + l + sovGenerated(uint64(l))
  10635. l = len(m.Message)
  10636. n += 1 + l + sovGenerated(uint64(l))
  10637. return n
  10638. }
  10639. func (m *ContainerStatus) Size() (n int) {
  10640. var l int
  10641. _ = l
  10642. l = len(m.Name)
  10643. n += 1 + l + sovGenerated(uint64(l))
  10644. l = m.State.Size()
  10645. n += 1 + l + sovGenerated(uint64(l))
  10646. l = m.LastTerminationState.Size()
  10647. n += 1 + l + sovGenerated(uint64(l))
  10648. n += 2
  10649. n += 1 + sovGenerated(uint64(m.RestartCount))
  10650. l = len(m.Image)
  10651. n += 1 + l + sovGenerated(uint64(l))
  10652. l = len(m.ImageID)
  10653. n += 1 + l + sovGenerated(uint64(l))
  10654. l = len(m.ContainerID)
  10655. n += 1 + l + sovGenerated(uint64(l))
  10656. return n
  10657. }
  10658. func (m *DaemonEndpoint) Size() (n int) {
  10659. var l int
  10660. _ = l
  10661. n += 1 + sovGenerated(uint64(m.Port))
  10662. return n
  10663. }
  10664. func (m *DeleteOptions) Size() (n int) {
  10665. var l int
  10666. _ = l
  10667. if m.GracePeriodSeconds != nil {
  10668. n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds))
  10669. }
  10670. if m.Preconditions != nil {
  10671. l = m.Preconditions.Size()
  10672. n += 1 + l + sovGenerated(uint64(l))
  10673. }
  10674. if m.OrphanDependents != nil {
  10675. n += 2
  10676. }
  10677. if m.PropagationPolicy != nil {
  10678. l = len(*m.PropagationPolicy)
  10679. n += 1 + l + sovGenerated(uint64(l))
  10680. }
  10681. return n
  10682. }
  10683. func (m *DownwardAPIProjection) Size() (n int) {
  10684. var l int
  10685. _ = l
  10686. if len(m.Items) > 0 {
  10687. for _, e := range m.Items {
  10688. l = e.Size()
  10689. n += 1 + l + sovGenerated(uint64(l))
  10690. }
  10691. }
  10692. return n
  10693. }
  10694. func (m *DownwardAPIVolumeFile) Size() (n int) {
  10695. var l int
  10696. _ = l
  10697. l = len(m.Path)
  10698. n += 1 + l + sovGenerated(uint64(l))
  10699. if m.FieldRef != nil {
  10700. l = m.FieldRef.Size()
  10701. n += 1 + l + sovGenerated(uint64(l))
  10702. }
  10703. if m.ResourceFieldRef != nil {
  10704. l = m.ResourceFieldRef.Size()
  10705. n += 1 + l + sovGenerated(uint64(l))
  10706. }
  10707. if m.Mode != nil {
  10708. n += 1 + sovGenerated(uint64(*m.Mode))
  10709. }
  10710. return n
  10711. }
  10712. func (m *DownwardAPIVolumeSource) Size() (n int) {
  10713. var l int
  10714. _ = l
  10715. if len(m.Items) > 0 {
  10716. for _, e := range m.Items {
  10717. l = e.Size()
  10718. n += 1 + l + sovGenerated(uint64(l))
  10719. }
  10720. }
  10721. if m.DefaultMode != nil {
  10722. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  10723. }
  10724. return n
  10725. }
  10726. func (m *EmptyDirVolumeSource) Size() (n int) {
  10727. var l int
  10728. _ = l
  10729. l = len(m.Medium)
  10730. n += 1 + l + sovGenerated(uint64(l))
  10731. if m.SizeLimit != nil {
  10732. l = m.SizeLimit.Size()
  10733. n += 1 + l + sovGenerated(uint64(l))
  10734. }
  10735. return n
  10736. }
  10737. func (m *EndpointAddress) Size() (n int) {
  10738. var l int
  10739. _ = l
  10740. l = len(m.IP)
  10741. n += 1 + l + sovGenerated(uint64(l))
  10742. if m.TargetRef != nil {
  10743. l = m.TargetRef.Size()
  10744. n += 1 + l + sovGenerated(uint64(l))
  10745. }
  10746. l = len(m.Hostname)
  10747. n += 1 + l + sovGenerated(uint64(l))
  10748. if m.NodeName != nil {
  10749. l = len(*m.NodeName)
  10750. n += 1 + l + sovGenerated(uint64(l))
  10751. }
  10752. return n
  10753. }
  10754. func (m *EndpointPort) Size() (n int) {
  10755. var l int
  10756. _ = l
  10757. l = len(m.Name)
  10758. n += 1 + l + sovGenerated(uint64(l))
  10759. n += 1 + sovGenerated(uint64(m.Port))
  10760. l = len(m.Protocol)
  10761. n += 1 + l + sovGenerated(uint64(l))
  10762. return n
  10763. }
  10764. func (m *EndpointSubset) Size() (n int) {
  10765. var l int
  10766. _ = l
  10767. if len(m.Addresses) > 0 {
  10768. for _, e := range m.Addresses {
  10769. l = e.Size()
  10770. n += 1 + l + sovGenerated(uint64(l))
  10771. }
  10772. }
  10773. if len(m.NotReadyAddresses) > 0 {
  10774. for _, e := range m.NotReadyAddresses {
  10775. l = e.Size()
  10776. n += 1 + l + sovGenerated(uint64(l))
  10777. }
  10778. }
  10779. if len(m.Ports) > 0 {
  10780. for _, e := range m.Ports {
  10781. l = e.Size()
  10782. n += 1 + l + sovGenerated(uint64(l))
  10783. }
  10784. }
  10785. return n
  10786. }
  10787. func (m *Endpoints) Size() (n int) {
  10788. var l int
  10789. _ = l
  10790. l = m.ObjectMeta.Size()
  10791. n += 1 + l + sovGenerated(uint64(l))
  10792. if len(m.Subsets) > 0 {
  10793. for _, e := range m.Subsets {
  10794. l = e.Size()
  10795. n += 1 + l + sovGenerated(uint64(l))
  10796. }
  10797. }
  10798. return n
  10799. }
  10800. func (m *EndpointsList) Size() (n int) {
  10801. var l int
  10802. _ = l
  10803. l = m.ListMeta.Size()
  10804. n += 1 + l + sovGenerated(uint64(l))
  10805. if len(m.Items) > 0 {
  10806. for _, e := range m.Items {
  10807. l = e.Size()
  10808. n += 1 + l + sovGenerated(uint64(l))
  10809. }
  10810. }
  10811. return n
  10812. }
  10813. func (m *EnvFromSource) Size() (n int) {
  10814. var l int
  10815. _ = l
  10816. l = len(m.Prefix)
  10817. n += 1 + l + sovGenerated(uint64(l))
  10818. if m.ConfigMapRef != nil {
  10819. l = m.ConfigMapRef.Size()
  10820. n += 1 + l + sovGenerated(uint64(l))
  10821. }
  10822. if m.SecretRef != nil {
  10823. l = m.SecretRef.Size()
  10824. n += 1 + l + sovGenerated(uint64(l))
  10825. }
  10826. return n
  10827. }
  10828. func (m *EnvVar) Size() (n int) {
  10829. var l int
  10830. _ = l
  10831. l = len(m.Name)
  10832. n += 1 + l + sovGenerated(uint64(l))
  10833. l = len(m.Value)
  10834. n += 1 + l + sovGenerated(uint64(l))
  10835. if m.ValueFrom != nil {
  10836. l = m.ValueFrom.Size()
  10837. n += 1 + l + sovGenerated(uint64(l))
  10838. }
  10839. return n
  10840. }
  10841. func (m *EnvVarSource) Size() (n int) {
  10842. var l int
  10843. _ = l
  10844. if m.FieldRef != nil {
  10845. l = m.FieldRef.Size()
  10846. n += 1 + l + sovGenerated(uint64(l))
  10847. }
  10848. if m.ResourceFieldRef != nil {
  10849. l = m.ResourceFieldRef.Size()
  10850. n += 1 + l + sovGenerated(uint64(l))
  10851. }
  10852. if m.ConfigMapKeyRef != nil {
  10853. l = m.ConfigMapKeyRef.Size()
  10854. n += 1 + l + sovGenerated(uint64(l))
  10855. }
  10856. if m.SecretKeyRef != nil {
  10857. l = m.SecretKeyRef.Size()
  10858. n += 1 + l + sovGenerated(uint64(l))
  10859. }
  10860. return n
  10861. }
  10862. func (m *Event) Size() (n int) {
  10863. var l int
  10864. _ = l
  10865. l = m.ObjectMeta.Size()
  10866. n += 1 + l + sovGenerated(uint64(l))
  10867. l = m.InvolvedObject.Size()
  10868. n += 1 + l + sovGenerated(uint64(l))
  10869. l = len(m.Reason)
  10870. n += 1 + l + sovGenerated(uint64(l))
  10871. l = len(m.Message)
  10872. n += 1 + l + sovGenerated(uint64(l))
  10873. l = m.Source.Size()
  10874. n += 1 + l + sovGenerated(uint64(l))
  10875. l = m.FirstTimestamp.Size()
  10876. n += 1 + l + sovGenerated(uint64(l))
  10877. l = m.LastTimestamp.Size()
  10878. n += 1 + l + sovGenerated(uint64(l))
  10879. n += 1 + sovGenerated(uint64(m.Count))
  10880. l = len(m.Type)
  10881. n += 1 + l + sovGenerated(uint64(l))
  10882. l = m.EventTime.Size()
  10883. n += 1 + l + sovGenerated(uint64(l))
  10884. if m.Series != nil {
  10885. l = m.Series.Size()
  10886. n += 1 + l + sovGenerated(uint64(l))
  10887. }
  10888. l = len(m.Action)
  10889. n += 1 + l + sovGenerated(uint64(l))
  10890. if m.Related != nil {
  10891. l = m.Related.Size()
  10892. n += 1 + l + sovGenerated(uint64(l))
  10893. }
  10894. l = len(m.ReportingController)
  10895. n += 1 + l + sovGenerated(uint64(l))
  10896. l = len(m.ReportingInstance)
  10897. n += 1 + l + sovGenerated(uint64(l))
  10898. return n
  10899. }
  10900. func (m *EventList) Size() (n int) {
  10901. var l int
  10902. _ = l
  10903. l = m.ListMeta.Size()
  10904. n += 1 + l + sovGenerated(uint64(l))
  10905. if len(m.Items) > 0 {
  10906. for _, e := range m.Items {
  10907. l = e.Size()
  10908. n += 1 + l + sovGenerated(uint64(l))
  10909. }
  10910. }
  10911. return n
  10912. }
  10913. func (m *EventSeries) Size() (n int) {
  10914. var l int
  10915. _ = l
  10916. n += 1 + sovGenerated(uint64(m.Count))
  10917. l = m.LastObservedTime.Size()
  10918. n += 1 + l + sovGenerated(uint64(l))
  10919. l = len(m.State)
  10920. n += 1 + l + sovGenerated(uint64(l))
  10921. return n
  10922. }
  10923. func (m *EventSource) Size() (n int) {
  10924. var l int
  10925. _ = l
  10926. l = len(m.Component)
  10927. n += 1 + l + sovGenerated(uint64(l))
  10928. l = len(m.Host)
  10929. n += 1 + l + sovGenerated(uint64(l))
  10930. return n
  10931. }
  10932. func (m *ExecAction) Size() (n int) {
  10933. var l int
  10934. _ = l
  10935. if len(m.Command) > 0 {
  10936. for _, s := range m.Command {
  10937. l = len(s)
  10938. n += 1 + l + sovGenerated(uint64(l))
  10939. }
  10940. }
  10941. return n
  10942. }
  10943. func (m *FCVolumeSource) Size() (n int) {
  10944. var l int
  10945. _ = l
  10946. if len(m.TargetWWNs) > 0 {
  10947. for _, s := range m.TargetWWNs {
  10948. l = len(s)
  10949. n += 1 + l + sovGenerated(uint64(l))
  10950. }
  10951. }
  10952. if m.Lun != nil {
  10953. n += 1 + sovGenerated(uint64(*m.Lun))
  10954. }
  10955. l = len(m.FSType)
  10956. n += 1 + l + sovGenerated(uint64(l))
  10957. n += 2
  10958. if len(m.WWIDs) > 0 {
  10959. for _, s := range m.WWIDs {
  10960. l = len(s)
  10961. n += 1 + l + sovGenerated(uint64(l))
  10962. }
  10963. }
  10964. return n
  10965. }
  10966. func (m *FlexPersistentVolumeSource) Size() (n int) {
  10967. var l int
  10968. _ = l
  10969. l = len(m.Driver)
  10970. n += 1 + l + sovGenerated(uint64(l))
  10971. l = len(m.FSType)
  10972. n += 1 + l + sovGenerated(uint64(l))
  10973. if m.SecretRef != nil {
  10974. l = m.SecretRef.Size()
  10975. n += 1 + l + sovGenerated(uint64(l))
  10976. }
  10977. n += 2
  10978. if len(m.Options) > 0 {
  10979. for k, v := range m.Options {
  10980. _ = k
  10981. _ = v
  10982. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  10983. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  10984. }
  10985. }
  10986. return n
  10987. }
  10988. func (m *FlexVolumeSource) Size() (n int) {
  10989. var l int
  10990. _ = l
  10991. l = len(m.Driver)
  10992. n += 1 + l + sovGenerated(uint64(l))
  10993. l = len(m.FSType)
  10994. n += 1 + l + sovGenerated(uint64(l))
  10995. if m.SecretRef != nil {
  10996. l = m.SecretRef.Size()
  10997. n += 1 + l + sovGenerated(uint64(l))
  10998. }
  10999. n += 2
  11000. if len(m.Options) > 0 {
  11001. for k, v := range m.Options {
  11002. _ = k
  11003. _ = v
  11004. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  11005. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11006. }
  11007. }
  11008. return n
  11009. }
  11010. func (m *FlockerVolumeSource) Size() (n int) {
  11011. var l int
  11012. _ = l
  11013. l = len(m.DatasetName)
  11014. n += 1 + l + sovGenerated(uint64(l))
  11015. l = len(m.DatasetUUID)
  11016. n += 1 + l + sovGenerated(uint64(l))
  11017. return n
  11018. }
  11019. func (m *GCEPersistentDiskVolumeSource) Size() (n int) {
  11020. var l int
  11021. _ = l
  11022. l = len(m.PDName)
  11023. n += 1 + l + sovGenerated(uint64(l))
  11024. l = len(m.FSType)
  11025. n += 1 + l + sovGenerated(uint64(l))
  11026. n += 1 + sovGenerated(uint64(m.Partition))
  11027. n += 2
  11028. return n
  11029. }
  11030. func (m *GitRepoVolumeSource) Size() (n int) {
  11031. var l int
  11032. _ = l
  11033. l = len(m.Repository)
  11034. n += 1 + l + sovGenerated(uint64(l))
  11035. l = len(m.Revision)
  11036. n += 1 + l + sovGenerated(uint64(l))
  11037. l = len(m.Directory)
  11038. n += 1 + l + sovGenerated(uint64(l))
  11039. return n
  11040. }
  11041. func (m *GlusterfsVolumeSource) Size() (n int) {
  11042. var l int
  11043. _ = l
  11044. l = len(m.EndpointsName)
  11045. n += 1 + l + sovGenerated(uint64(l))
  11046. l = len(m.Path)
  11047. n += 1 + l + sovGenerated(uint64(l))
  11048. n += 2
  11049. return n
  11050. }
  11051. func (m *HTTPGetAction) Size() (n int) {
  11052. var l int
  11053. _ = l
  11054. l = len(m.Path)
  11055. n += 1 + l + sovGenerated(uint64(l))
  11056. l = m.Port.Size()
  11057. n += 1 + l + sovGenerated(uint64(l))
  11058. l = len(m.Host)
  11059. n += 1 + l + sovGenerated(uint64(l))
  11060. l = len(m.Scheme)
  11061. n += 1 + l + sovGenerated(uint64(l))
  11062. if len(m.HTTPHeaders) > 0 {
  11063. for _, e := range m.HTTPHeaders {
  11064. l = e.Size()
  11065. n += 1 + l + sovGenerated(uint64(l))
  11066. }
  11067. }
  11068. return n
  11069. }
  11070. func (m *HTTPHeader) Size() (n int) {
  11071. var l int
  11072. _ = l
  11073. l = len(m.Name)
  11074. n += 1 + l + sovGenerated(uint64(l))
  11075. l = len(m.Value)
  11076. n += 1 + l + sovGenerated(uint64(l))
  11077. return n
  11078. }
  11079. func (m *Handler) Size() (n int) {
  11080. var l int
  11081. _ = l
  11082. if m.Exec != nil {
  11083. l = m.Exec.Size()
  11084. n += 1 + l + sovGenerated(uint64(l))
  11085. }
  11086. if m.HTTPGet != nil {
  11087. l = m.HTTPGet.Size()
  11088. n += 1 + l + sovGenerated(uint64(l))
  11089. }
  11090. if m.TCPSocket != nil {
  11091. l = m.TCPSocket.Size()
  11092. n += 1 + l + sovGenerated(uint64(l))
  11093. }
  11094. return n
  11095. }
  11096. func (m *HostAlias) Size() (n int) {
  11097. var l int
  11098. _ = l
  11099. l = len(m.IP)
  11100. n += 1 + l + sovGenerated(uint64(l))
  11101. if len(m.Hostnames) > 0 {
  11102. for _, s := range m.Hostnames {
  11103. l = len(s)
  11104. n += 1 + l + sovGenerated(uint64(l))
  11105. }
  11106. }
  11107. return n
  11108. }
  11109. func (m *HostPathVolumeSource) Size() (n int) {
  11110. var l int
  11111. _ = l
  11112. l = len(m.Path)
  11113. n += 1 + l + sovGenerated(uint64(l))
  11114. if m.Type != nil {
  11115. l = len(*m.Type)
  11116. n += 1 + l + sovGenerated(uint64(l))
  11117. }
  11118. return n
  11119. }
  11120. func (m *ISCSIPersistentVolumeSource) Size() (n int) {
  11121. var l int
  11122. _ = l
  11123. l = len(m.TargetPortal)
  11124. n += 1 + l + sovGenerated(uint64(l))
  11125. l = len(m.IQN)
  11126. n += 1 + l + sovGenerated(uint64(l))
  11127. n += 1 + sovGenerated(uint64(m.Lun))
  11128. l = len(m.ISCSIInterface)
  11129. n += 1 + l + sovGenerated(uint64(l))
  11130. l = len(m.FSType)
  11131. n += 1 + l + sovGenerated(uint64(l))
  11132. n += 2
  11133. if len(m.Portals) > 0 {
  11134. for _, s := range m.Portals {
  11135. l = len(s)
  11136. n += 1 + l + sovGenerated(uint64(l))
  11137. }
  11138. }
  11139. n += 2
  11140. if m.SecretRef != nil {
  11141. l = m.SecretRef.Size()
  11142. n += 1 + l + sovGenerated(uint64(l))
  11143. }
  11144. n += 2
  11145. if m.InitiatorName != nil {
  11146. l = len(*m.InitiatorName)
  11147. n += 1 + l + sovGenerated(uint64(l))
  11148. }
  11149. return n
  11150. }
  11151. func (m *ISCSIVolumeSource) Size() (n int) {
  11152. var l int
  11153. _ = l
  11154. l = len(m.TargetPortal)
  11155. n += 1 + l + sovGenerated(uint64(l))
  11156. l = len(m.IQN)
  11157. n += 1 + l + sovGenerated(uint64(l))
  11158. n += 1 + sovGenerated(uint64(m.Lun))
  11159. l = len(m.ISCSIInterface)
  11160. n += 1 + l + sovGenerated(uint64(l))
  11161. l = len(m.FSType)
  11162. n += 1 + l + sovGenerated(uint64(l))
  11163. n += 2
  11164. if len(m.Portals) > 0 {
  11165. for _, s := range m.Portals {
  11166. l = len(s)
  11167. n += 1 + l + sovGenerated(uint64(l))
  11168. }
  11169. }
  11170. n += 2
  11171. if m.SecretRef != nil {
  11172. l = m.SecretRef.Size()
  11173. n += 1 + l + sovGenerated(uint64(l))
  11174. }
  11175. n += 2
  11176. if m.InitiatorName != nil {
  11177. l = len(*m.InitiatorName)
  11178. n += 1 + l + sovGenerated(uint64(l))
  11179. }
  11180. return n
  11181. }
  11182. func (m *KeyToPath) Size() (n int) {
  11183. var l int
  11184. _ = l
  11185. l = len(m.Key)
  11186. n += 1 + l + sovGenerated(uint64(l))
  11187. l = len(m.Path)
  11188. n += 1 + l + sovGenerated(uint64(l))
  11189. if m.Mode != nil {
  11190. n += 1 + sovGenerated(uint64(*m.Mode))
  11191. }
  11192. return n
  11193. }
  11194. func (m *Lifecycle) Size() (n int) {
  11195. var l int
  11196. _ = l
  11197. if m.PostStart != nil {
  11198. l = m.PostStart.Size()
  11199. n += 1 + l + sovGenerated(uint64(l))
  11200. }
  11201. if m.PreStop != nil {
  11202. l = m.PreStop.Size()
  11203. n += 1 + l + sovGenerated(uint64(l))
  11204. }
  11205. return n
  11206. }
  11207. func (m *LimitRange) Size() (n int) {
  11208. var l int
  11209. _ = l
  11210. l = m.ObjectMeta.Size()
  11211. n += 1 + l + sovGenerated(uint64(l))
  11212. l = m.Spec.Size()
  11213. n += 1 + l + sovGenerated(uint64(l))
  11214. return n
  11215. }
  11216. func (m *LimitRangeItem) Size() (n int) {
  11217. var l int
  11218. _ = l
  11219. l = len(m.Type)
  11220. n += 1 + l + sovGenerated(uint64(l))
  11221. if len(m.Max) > 0 {
  11222. for k, v := range m.Max {
  11223. _ = k
  11224. _ = v
  11225. l = v.Size()
  11226. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11227. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11228. }
  11229. }
  11230. if len(m.Min) > 0 {
  11231. for k, v := range m.Min {
  11232. _ = k
  11233. _ = v
  11234. l = v.Size()
  11235. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11236. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11237. }
  11238. }
  11239. if len(m.Default) > 0 {
  11240. for k, v := range m.Default {
  11241. _ = k
  11242. _ = v
  11243. l = v.Size()
  11244. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11245. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11246. }
  11247. }
  11248. if len(m.DefaultRequest) > 0 {
  11249. for k, v := range m.DefaultRequest {
  11250. _ = k
  11251. _ = v
  11252. l = v.Size()
  11253. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11254. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11255. }
  11256. }
  11257. if len(m.MaxLimitRequestRatio) > 0 {
  11258. for k, v := range m.MaxLimitRequestRatio {
  11259. _ = k
  11260. _ = v
  11261. l = v.Size()
  11262. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11263. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11264. }
  11265. }
  11266. return n
  11267. }
  11268. func (m *LimitRangeList) Size() (n int) {
  11269. var l int
  11270. _ = l
  11271. l = m.ListMeta.Size()
  11272. n += 1 + l + sovGenerated(uint64(l))
  11273. if len(m.Items) > 0 {
  11274. for _, e := range m.Items {
  11275. l = e.Size()
  11276. n += 1 + l + sovGenerated(uint64(l))
  11277. }
  11278. }
  11279. return n
  11280. }
  11281. func (m *LimitRangeSpec) Size() (n int) {
  11282. var l int
  11283. _ = l
  11284. if len(m.Limits) > 0 {
  11285. for _, e := range m.Limits {
  11286. l = e.Size()
  11287. n += 1 + l + sovGenerated(uint64(l))
  11288. }
  11289. }
  11290. return n
  11291. }
  11292. func (m *List) Size() (n int) {
  11293. var l int
  11294. _ = l
  11295. l = m.ListMeta.Size()
  11296. n += 1 + l + sovGenerated(uint64(l))
  11297. if len(m.Items) > 0 {
  11298. for _, e := range m.Items {
  11299. l = e.Size()
  11300. n += 1 + l + sovGenerated(uint64(l))
  11301. }
  11302. }
  11303. return n
  11304. }
  11305. func (m *ListOptions) Size() (n int) {
  11306. var l int
  11307. _ = l
  11308. l = len(m.LabelSelector)
  11309. n += 1 + l + sovGenerated(uint64(l))
  11310. l = len(m.FieldSelector)
  11311. n += 1 + l + sovGenerated(uint64(l))
  11312. n += 2
  11313. l = len(m.ResourceVersion)
  11314. n += 1 + l + sovGenerated(uint64(l))
  11315. if m.TimeoutSeconds != nil {
  11316. n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
  11317. }
  11318. n += 2
  11319. return n
  11320. }
  11321. func (m *LoadBalancerIngress) Size() (n int) {
  11322. var l int
  11323. _ = l
  11324. l = len(m.IP)
  11325. n += 1 + l + sovGenerated(uint64(l))
  11326. l = len(m.Hostname)
  11327. n += 1 + l + sovGenerated(uint64(l))
  11328. return n
  11329. }
  11330. func (m *LoadBalancerStatus) Size() (n int) {
  11331. var l int
  11332. _ = l
  11333. if len(m.Ingress) > 0 {
  11334. for _, e := range m.Ingress {
  11335. l = e.Size()
  11336. n += 1 + l + sovGenerated(uint64(l))
  11337. }
  11338. }
  11339. return n
  11340. }
  11341. func (m *LocalObjectReference) Size() (n int) {
  11342. var l int
  11343. _ = l
  11344. l = len(m.Name)
  11345. n += 1 + l + sovGenerated(uint64(l))
  11346. return n
  11347. }
  11348. func (m *LocalVolumeSource) Size() (n int) {
  11349. var l int
  11350. _ = l
  11351. l = len(m.Path)
  11352. n += 1 + l + sovGenerated(uint64(l))
  11353. return n
  11354. }
  11355. func (m *NFSVolumeSource) Size() (n int) {
  11356. var l int
  11357. _ = l
  11358. l = len(m.Server)
  11359. n += 1 + l + sovGenerated(uint64(l))
  11360. l = len(m.Path)
  11361. n += 1 + l + sovGenerated(uint64(l))
  11362. n += 2
  11363. return n
  11364. }
  11365. func (m *Namespace) Size() (n int) {
  11366. var l int
  11367. _ = l
  11368. l = m.ObjectMeta.Size()
  11369. n += 1 + l + sovGenerated(uint64(l))
  11370. l = m.Spec.Size()
  11371. n += 1 + l + sovGenerated(uint64(l))
  11372. l = m.Status.Size()
  11373. n += 1 + l + sovGenerated(uint64(l))
  11374. return n
  11375. }
  11376. func (m *NamespaceList) Size() (n int) {
  11377. var l int
  11378. _ = l
  11379. l = m.ListMeta.Size()
  11380. n += 1 + l + sovGenerated(uint64(l))
  11381. if len(m.Items) > 0 {
  11382. for _, e := range m.Items {
  11383. l = e.Size()
  11384. n += 1 + l + sovGenerated(uint64(l))
  11385. }
  11386. }
  11387. return n
  11388. }
  11389. func (m *NamespaceSpec) Size() (n int) {
  11390. var l int
  11391. _ = l
  11392. if len(m.Finalizers) > 0 {
  11393. for _, s := range m.Finalizers {
  11394. l = len(s)
  11395. n += 1 + l + sovGenerated(uint64(l))
  11396. }
  11397. }
  11398. return n
  11399. }
  11400. func (m *NamespaceStatus) Size() (n int) {
  11401. var l int
  11402. _ = l
  11403. l = len(m.Phase)
  11404. n += 1 + l + sovGenerated(uint64(l))
  11405. return n
  11406. }
  11407. func (m *Node) Size() (n int) {
  11408. var l int
  11409. _ = l
  11410. l = m.ObjectMeta.Size()
  11411. n += 1 + l + sovGenerated(uint64(l))
  11412. l = m.Spec.Size()
  11413. n += 1 + l + sovGenerated(uint64(l))
  11414. l = m.Status.Size()
  11415. n += 1 + l + sovGenerated(uint64(l))
  11416. return n
  11417. }
  11418. func (m *NodeAddress) Size() (n int) {
  11419. var l int
  11420. _ = l
  11421. l = len(m.Type)
  11422. n += 1 + l + sovGenerated(uint64(l))
  11423. l = len(m.Address)
  11424. n += 1 + l + sovGenerated(uint64(l))
  11425. return n
  11426. }
  11427. func (m *NodeAffinity) Size() (n int) {
  11428. var l int
  11429. _ = l
  11430. if m.RequiredDuringSchedulingIgnoredDuringExecution != nil {
  11431. l = m.RequiredDuringSchedulingIgnoredDuringExecution.Size()
  11432. n += 1 + l + sovGenerated(uint64(l))
  11433. }
  11434. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  11435. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  11436. l = e.Size()
  11437. n += 1 + l + sovGenerated(uint64(l))
  11438. }
  11439. }
  11440. return n
  11441. }
  11442. func (m *NodeCondition) Size() (n int) {
  11443. var l int
  11444. _ = l
  11445. l = len(m.Type)
  11446. n += 1 + l + sovGenerated(uint64(l))
  11447. l = len(m.Status)
  11448. n += 1 + l + sovGenerated(uint64(l))
  11449. l = m.LastHeartbeatTime.Size()
  11450. n += 1 + l + sovGenerated(uint64(l))
  11451. l = m.LastTransitionTime.Size()
  11452. n += 1 + l + sovGenerated(uint64(l))
  11453. l = len(m.Reason)
  11454. n += 1 + l + sovGenerated(uint64(l))
  11455. l = len(m.Message)
  11456. n += 1 + l + sovGenerated(uint64(l))
  11457. return n
  11458. }
  11459. func (m *NodeConfigSource) Size() (n int) {
  11460. var l int
  11461. _ = l
  11462. if m.ConfigMapRef != nil {
  11463. l = m.ConfigMapRef.Size()
  11464. n += 1 + l + sovGenerated(uint64(l))
  11465. }
  11466. return n
  11467. }
  11468. func (m *NodeDaemonEndpoints) Size() (n int) {
  11469. var l int
  11470. _ = l
  11471. l = m.KubeletEndpoint.Size()
  11472. n += 1 + l + sovGenerated(uint64(l))
  11473. return n
  11474. }
  11475. func (m *NodeList) Size() (n int) {
  11476. var l int
  11477. _ = l
  11478. l = m.ListMeta.Size()
  11479. n += 1 + l + sovGenerated(uint64(l))
  11480. if len(m.Items) > 0 {
  11481. for _, e := range m.Items {
  11482. l = e.Size()
  11483. n += 1 + l + sovGenerated(uint64(l))
  11484. }
  11485. }
  11486. return n
  11487. }
  11488. func (m *NodeProxyOptions) Size() (n int) {
  11489. var l int
  11490. _ = l
  11491. l = len(m.Path)
  11492. n += 1 + l + sovGenerated(uint64(l))
  11493. return n
  11494. }
  11495. func (m *NodeResources) Size() (n int) {
  11496. var l int
  11497. _ = l
  11498. if len(m.Capacity) > 0 {
  11499. for k, v := range m.Capacity {
  11500. _ = k
  11501. _ = v
  11502. l = v.Size()
  11503. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11504. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11505. }
  11506. }
  11507. return n
  11508. }
  11509. func (m *NodeSelector) Size() (n int) {
  11510. var l int
  11511. _ = l
  11512. if len(m.NodeSelectorTerms) > 0 {
  11513. for _, e := range m.NodeSelectorTerms {
  11514. l = e.Size()
  11515. n += 1 + l + sovGenerated(uint64(l))
  11516. }
  11517. }
  11518. return n
  11519. }
  11520. func (m *NodeSelectorRequirement) Size() (n int) {
  11521. var l int
  11522. _ = l
  11523. l = len(m.Key)
  11524. n += 1 + l + sovGenerated(uint64(l))
  11525. l = len(m.Operator)
  11526. n += 1 + l + sovGenerated(uint64(l))
  11527. if len(m.Values) > 0 {
  11528. for _, s := range m.Values {
  11529. l = len(s)
  11530. n += 1 + l + sovGenerated(uint64(l))
  11531. }
  11532. }
  11533. return n
  11534. }
  11535. func (m *NodeSelectorTerm) Size() (n int) {
  11536. var l int
  11537. _ = l
  11538. if len(m.MatchExpressions) > 0 {
  11539. for _, e := range m.MatchExpressions {
  11540. l = e.Size()
  11541. n += 1 + l + sovGenerated(uint64(l))
  11542. }
  11543. }
  11544. return n
  11545. }
  11546. func (m *NodeSpec) Size() (n int) {
  11547. var l int
  11548. _ = l
  11549. l = len(m.PodCIDR)
  11550. n += 1 + l + sovGenerated(uint64(l))
  11551. l = len(m.ExternalID)
  11552. n += 1 + l + sovGenerated(uint64(l))
  11553. l = len(m.ProviderID)
  11554. n += 1 + l + sovGenerated(uint64(l))
  11555. n += 2
  11556. if len(m.Taints) > 0 {
  11557. for _, e := range m.Taints {
  11558. l = e.Size()
  11559. n += 1 + l + sovGenerated(uint64(l))
  11560. }
  11561. }
  11562. if m.ConfigSource != nil {
  11563. l = m.ConfigSource.Size()
  11564. n += 1 + l + sovGenerated(uint64(l))
  11565. }
  11566. return n
  11567. }
  11568. func (m *NodeStatus) Size() (n int) {
  11569. var l int
  11570. _ = l
  11571. if len(m.Capacity) > 0 {
  11572. for k, v := range m.Capacity {
  11573. _ = k
  11574. _ = v
  11575. l = v.Size()
  11576. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11577. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11578. }
  11579. }
  11580. if len(m.Allocatable) > 0 {
  11581. for k, v := range m.Allocatable {
  11582. _ = k
  11583. _ = v
  11584. l = v.Size()
  11585. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11586. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11587. }
  11588. }
  11589. l = len(m.Phase)
  11590. n += 1 + l + sovGenerated(uint64(l))
  11591. if len(m.Conditions) > 0 {
  11592. for _, e := range m.Conditions {
  11593. l = e.Size()
  11594. n += 1 + l + sovGenerated(uint64(l))
  11595. }
  11596. }
  11597. if len(m.Addresses) > 0 {
  11598. for _, e := range m.Addresses {
  11599. l = e.Size()
  11600. n += 1 + l + sovGenerated(uint64(l))
  11601. }
  11602. }
  11603. l = m.DaemonEndpoints.Size()
  11604. n += 1 + l + sovGenerated(uint64(l))
  11605. l = m.NodeInfo.Size()
  11606. n += 1 + l + sovGenerated(uint64(l))
  11607. if len(m.Images) > 0 {
  11608. for _, e := range m.Images {
  11609. l = e.Size()
  11610. n += 1 + l + sovGenerated(uint64(l))
  11611. }
  11612. }
  11613. if len(m.VolumesInUse) > 0 {
  11614. for _, s := range m.VolumesInUse {
  11615. l = len(s)
  11616. n += 1 + l + sovGenerated(uint64(l))
  11617. }
  11618. }
  11619. if len(m.VolumesAttached) > 0 {
  11620. for _, e := range m.VolumesAttached {
  11621. l = e.Size()
  11622. n += 1 + l + sovGenerated(uint64(l))
  11623. }
  11624. }
  11625. return n
  11626. }
  11627. func (m *NodeSystemInfo) Size() (n int) {
  11628. var l int
  11629. _ = l
  11630. l = len(m.MachineID)
  11631. n += 1 + l + sovGenerated(uint64(l))
  11632. l = len(m.SystemUUID)
  11633. n += 1 + l + sovGenerated(uint64(l))
  11634. l = len(m.BootID)
  11635. n += 1 + l + sovGenerated(uint64(l))
  11636. l = len(m.KernelVersion)
  11637. n += 1 + l + sovGenerated(uint64(l))
  11638. l = len(m.OSImage)
  11639. n += 1 + l + sovGenerated(uint64(l))
  11640. l = len(m.ContainerRuntimeVersion)
  11641. n += 1 + l + sovGenerated(uint64(l))
  11642. l = len(m.KubeletVersion)
  11643. n += 1 + l + sovGenerated(uint64(l))
  11644. l = len(m.KubeProxyVersion)
  11645. n += 1 + l + sovGenerated(uint64(l))
  11646. l = len(m.OperatingSystem)
  11647. n += 1 + l + sovGenerated(uint64(l))
  11648. l = len(m.Architecture)
  11649. n += 1 + l + sovGenerated(uint64(l))
  11650. return n
  11651. }
  11652. func (m *ObjectFieldSelector) Size() (n int) {
  11653. var l int
  11654. _ = l
  11655. l = len(m.APIVersion)
  11656. n += 1 + l + sovGenerated(uint64(l))
  11657. l = len(m.FieldPath)
  11658. n += 1 + l + sovGenerated(uint64(l))
  11659. return n
  11660. }
  11661. func (m *ObjectMeta) Size() (n int) {
  11662. var l int
  11663. _ = l
  11664. l = len(m.Name)
  11665. n += 1 + l + sovGenerated(uint64(l))
  11666. l = len(m.GenerateName)
  11667. n += 1 + l + sovGenerated(uint64(l))
  11668. l = len(m.Namespace)
  11669. n += 1 + l + sovGenerated(uint64(l))
  11670. l = len(m.SelfLink)
  11671. n += 1 + l + sovGenerated(uint64(l))
  11672. l = len(m.UID)
  11673. n += 1 + l + sovGenerated(uint64(l))
  11674. l = len(m.ResourceVersion)
  11675. n += 1 + l + sovGenerated(uint64(l))
  11676. n += 1 + sovGenerated(uint64(m.Generation))
  11677. l = m.CreationTimestamp.Size()
  11678. n += 1 + l + sovGenerated(uint64(l))
  11679. if m.DeletionTimestamp != nil {
  11680. l = m.DeletionTimestamp.Size()
  11681. n += 1 + l + sovGenerated(uint64(l))
  11682. }
  11683. if m.DeletionGracePeriodSeconds != nil {
  11684. n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds))
  11685. }
  11686. if len(m.Labels) > 0 {
  11687. for k, v := range m.Labels {
  11688. _ = k
  11689. _ = v
  11690. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  11691. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11692. }
  11693. }
  11694. if len(m.Annotations) > 0 {
  11695. for k, v := range m.Annotations {
  11696. _ = k
  11697. _ = v
  11698. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  11699. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11700. }
  11701. }
  11702. if len(m.OwnerReferences) > 0 {
  11703. for _, e := range m.OwnerReferences {
  11704. l = e.Size()
  11705. n += 1 + l + sovGenerated(uint64(l))
  11706. }
  11707. }
  11708. if len(m.Finalizers) > 0 {
  11709. for _, s := range m.Finalizers {
  11710. l = len(s)
  11711. n += 1 + l + sovGenerated(uint64(l))
  11712. }
  11713. }
  11714. l = len(m.ClusterName)
  11715. n += 1 + l + sovGenerated(uint64(l))
  11716. if m.Initializers != nil {
  11717. l = m.Initializers.Size()
  11718. n += 2 + l + sovGenerated(uint64(l))
  11719. }
  11720. return n
  11721. }
  11722. func (m *ObjectReference) Size() (n int) {
  11723. var l int
  11724. _ = l
  11725. l = len(m.Kind)
  11726. n += 1 + l + sovGenerated(uint64(l))
  11727. l = len(m.Namespace)
  11728. n += 1 + l + sovGenerated(uint64(l))
  11729. l = len(m.Name)
  11730. n += 1 + l + sovGenerated(uint64(l))
  11731. l = len(m.UID)
  11732. n += 1 + l + sovGenerated(uint64(l))
  11733. l = len(m.APIVersion)
  11734. n += 1 + l + sovGenerated(uint64(l))
  11735. l = len(m.ResourceVersion)
  11736. n += 1 + l + sovGenerated(uint64(l))
  11737. l = len(m.FieldPath)
  11738. n += 1 + l + sovGenerated(uint64(l))
  11739. return n
  11740. }
  11741. func (m *PersistentVolume) Size() (n int) {
  11742. var l int
  11743. _ = l
  11744. l = m.ObjectMeta.Size()
  11745. n += 1 + l + sovGenerated(uint64(l))
  11746. l = m.Spec.Size()
  11747. n += 1 + l + sovGenerated(uint64(l))
  11748. l = m.Status.Size()
  11749. n += 1 + l + sovGenerated(uint64(l))
  11750. return n
  11751. }
  11752. func (m *PersistentVolumeClaim) Size() (n int) {
  11753. var l int
  11754. _ = l
  11755. l = m.ObjectMeta.Size()
  11756. n += 1 + l + sovGenerated(uint64(l))
  11757. l = m.Spec.Size()
  11758. n += 1 + l + sovGenerated(uint64(l))
  11759. l = m.Status.Size()
  11760. n += 1 + l + sovGenerated(uint64(l))
  11761. return n
  11762. }
  11763. func (m *PersistentVolumeClaimCondition) Size() (n int) {
  11764. var l int
  11765. _ = l
  11766. l = len(m.Type)
  11767. n += 1 + l + sovGenerated(uint64(l))
  11768. l = len(m.Status)
  11769. n += 1 + l + sovGenerated(uint64(l))
  11770. l = m.LastProbeTime.Size()
  11771. n += 1 + l + sovGenerated(uint64(l))
  11772. l = m.LastTransitionTime.Size()
  11773. n += 1 + l + sovGenerated(uint64(l))
  11774. l = len(m.Reason)
  11775. n += 1 + l + sovGenerated(uint64(l))
  11776. l = len(m.Message)
  11777. n += 1 + l + sovGenerated(uint64(l))
  11778. return n
  11779. }
  11780. func (m *PersistentVolumeClaimList) Size() (n int) {
  11781. var l int
  11782. _ = l
  11783. l = m.ListMeta.Size()
  11784. n += 1 + l + sovGenerated(uint64(l))
  11785. if len(m.Items) > 0 {
  11786. for _, e := range m.Items {
  11787. l = e.Size()
  11788. n += 1 + l + sovGenerated(uint64(l))
  11789. }
  11790. }
  11791. return n
  11792. }
  11793. func (m *PersistentVolumeClaimSpec) Size() (n int) {
  11794. var l int
  11795. _ = l
  11796. if len(m.AccessModes) > 0 {
  11797. for _, s := range m.AccessModes {
  11798. l = len(s)
  11799. n += 1 + l + sovGenerated(uint64(l))
  11800. }
  11801. }
  11802. l = m.Resources.Size()
  11803. n += 1 + l + sovGenerated(uint64(l))
  11804. l = len(m.VolumeName)
  11805. n += 1 + l + sovGenerated(uint64(l))
  11806. if m.Selector != nil {
  11807. l = m.Selector.Size()
  11808. n += 1 + l + sovGenerated(uint64(l))
  11809. }
  11810. if m.StorageClassName != nil {
  11811. l = len(*m.StorageClassName)
  11812. n += 1 + l + sovGenerated(uint64(l))
  11813. }
  11814. if m.VolumeMode != nil {
  11815. l = len(*m.VolumeMode)
  11816. n += 1 + l + sovGenerated(uint64(l))
  11817. }
  11818. return n
  11819. }
  11820. func (m *PersistentVolumeClaimStatus) Size() (n int) {
  11821. var l int
  11822. _ = l
  11823. l = len(m.Phase)
  11824. n += 1 + l + sovGenerated(uint64(l))
  11825. if len(m.AccessModes) > 0 {
  11826. for _, s := range m.AccessModes {
  11827. l = len(s)
  11828. n += 1 + l + sovGenerated(uint64(l))
  11829. }
  11830. }
  11831. if len(m.Capacity) > 0 {
  11832. for k, v := range m.Capacity {
  11833. _ = k
  11834. _ = v
  11835. l = v.Size()
  11836. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11837. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11838. }
  11839. }
  11840. if len(m.Conditions) > 0 {
  11841. for _, e := range m.Conditions {
  11842. l = e.Size()
  11843. n += 1 + l + sovGenerated(uint64(l))
  11844. }
  11845. }
  11846. return n
  11847. }
  11848. func (m *PersistentVolumeClaimVolumeSource) Size() (n int) {
  11849. var l int
  11850. _ = l
  11851. l = len(m.ClaimName)
  11852. n += 1 + l + sovGenerated(uint64(l))
  11853. n += 2
  11854. return n
  11855. }
  11856. func (m *PersistentVolumeList) Size() (n int) {
  11857. var l int
  11858. _ = l
  11859. l = m.ListMeta.Size()
  11860. n += 1 + l + sovGenerated(uint64(l))
  11861. if len(m.Items) > 0 {
  11862. for _, e := range m.Items {
  11863. l = e.Size()
  11864. n += 1 + l + sovGenerated(uint64(l))
  11865. }
  11866. }
  11867. return n
  11868. }
  11869. func (m *PersistentVolumeSource) Size() (n int) {
  11870. var l int
  11871. _ = l
  11872. if m.GCEPersistentDisk != nil {
  11873. l = m.GCEPersistentDisk.Size()
  11874. n += 1 + l + sovGenerated(uint64(l))
  11875. }
  11876. if m.AWSElasticBlockStore != nil {
  11877. l = m.AWSElasticBlockStore.Size()
  11878. n += 1 + l + sovGenerated(uint64(l))
  11879. }
  11880. if m.HostPath != nil {
  11881. l = m.HostPath.Size()
  11882. n += 1 + l + sovGenerated(uint64(l))
  11883. }
  11884. if m.Glusterfs != nil {
  11885. l = m.Glusterfs.Size()
  11886. n += 1 + l + sovGenerated(uint64(l))
  11887. }
  11888. if m.NFS != nil {
  11889. l = m.NFS.Size()
  11890. n += 1 + l + sovGenerated(uint64(l))
  11891. }
  11892. if m.RBD != nil {
  11893. l = m.RBD.Size()
  11894. n += 1 + l + sovGenerated(uint64(l))
  11895. }
  11896. if m.ISCSI != nil {
  11897. l = m.ISCSI.Size()
  11898. n += 1 + l + sovGenerated(uint64(l))
  11899. }
  11900. if m.Cinder != nil {
  11901. l = m.Cinder.Size()
  11902. n += 1 + l + sovGenerated(uint64(l))
  11903. }
  11904. if m.CephFS != nil {
  11905. l = m.CephFS.Size()
  11906. n += 1 + l + sovGenerated(uint64(l))
  11907. }
  11908. if m.FC != nil {
  11909. l = m.FC.Size()
  11910. n += 1 + l + sovGenerated(uint64(l))
  11911. }
  11912. if m.Flocker != nil {
  11913. l = m.Flocker.Size()
  11914. n += 1 + l + sovGenerated(uint64(l))
  11915. }
  11916. if m.FlexVolume != nil {
  11917. l = m.FlexVolume.Size()
  11918. n += 1 + l + sovGenerated(uint64(l))
  11919. }
  11920. if m.AzureFile != nil {
  11921. l = m.AzureFile.Size()
  11922. n += 1 + l + sovGenerated(uint64(l))
  11923. }
  11924. if m.VsphereVolume != nil {
  11925. l = m.VsphereVolume.Size()
  11926. n += 1 + l + sovGenerated(uint64(l))
  11927. }
  11928. if m.Quobyte != nil {
  11929. l = m.Quobyte.Size()
  11930. n += 1 + l + sovGenerated(uint64(l))
  11931. }
  11932. if m.AzureDisk != nil {
  11933. l = m.AzureDisk.Size()
  11934. n += 2 + l + sovGenerated(uint64(l))
  11935. }
  11936. if m.PhotonPersistentDisk != nil {
  11937. l = m.PhotonPersistentDisk.Size()
  11938. n += 2 + l + sovGenerated(uint64(l))
  11939. }
  11940. if m.PortworxVolume != nil {
  11941. l = m.PortworxVolume.Size()
  11942. n += 2 + l + sovGenerated(uint64(l))
  11943. }
  11944. if m.ScaleIO != nil {
  11945. l = m.ScaleIO.Size()
  11946. n += 2 + l + sovGenerated(uint64(l))
  11947. }
  11948. if m.Local != nil {
  11949. l = m.Local.Size()
  11950. n += 2 + l + sovGenerated(uint64(l))
  11951. }
  11952. if m.StorageOS != nil {
  11953. l = m.StorageOS.Size()
  11954. n += 2 + l + sovGenerated(uint64(l))
  11955. }
  11956. if m.CSI != nil {
  11957. l = m.CSI.Size()
  11958. n += 2 + l + sovGenerated(uint64(l))
  11959. }
  11960. return n
  11961. }
  11962. func (m *PersistentVolumeSpec) Size() (n int) {
  11963. var l int
  11964. _ = l
  11965. if len(m.Capacity) > 0 {
  11966. for k, v := range m.Capacity {
  11967. _ = k
  11968. _ = v
  11969. l = v.Size()
  11970. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  11971. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  11972. }
  11973. }
  11974. l = m.PersistentVolumeSource.Size()
  11975. n += 1 + l + sovGenerated(uint64(l))
  11976. if len(m.AccessModes) > 0 {
  11977. for _, s := range m.AccessModes {
  11978. l = len(s)
  11979. n += 1 + l + sovGenerated(uint64(l))
  11980. }
  11981. }
  11982. if m.ClaimRef != nil {
  11983. l = m.ClaimRef.Size()
  11984. n += 1 + l + sovGenerated(uint64(l))
  11985. }
  11986. l = len(m.PersistentVolumeReclaimPolicy)
  11987. n += 1 + l + sovGenerated(uint64(l))
  11988. l = len(m.StorageClassName)
  11989. n += 1 + l + sovGenerated(uint64(l))
  11990. if len(m.MountOptions) > 0 {
  11991. for _, s := range m.MountOptions {
  11992. l = len(s)
  11993. n += 1 + l + sovGenerated(uint64(l))
  11994. }
  11995. }
  11996. if m.VolumeMode != nil {
  11997. l = len(*m.VolumeMode)
  11998. n += 1 + l + sovGenerated(uint64(l))
  11999. }
  12000. if m.NodeAffinity != nil {
  12001. l = m.NodeAffinity.Size()
  12002. n += 1 + l + sovGenerated(uint64(l))
  12003. }
  12004. return n
  12005. }
  12006. func (m *PersistentVolumeStatus) Size() (n int) {
  12007. var l int
  12008. _ = l
  12009. l = len(m.Phase)
  12010. n += 1 + l + sovGenerated(uint64(l))
  12011. l = len(m.Message)
  12012. n += 1 + l + sovGenerated(uint64(l))
  12013. l = len(m.Reason)
  12014. n += 1 + l + sovGenerated(uint64(l))
  12015. return n
  12016. }
  12017. func (m *PhotonPersistentDiskVolumeSource) Size() (n int) {
  12018. var l int
  12019. _ = l
  12020. l = len(m.PdID)
  12021. n += 1 + l + sovGenerated(uint64(l))
  12022. l = len(m.FSType)
  12023. n += 1 + l + sovGenerated(uint64(l))
  12024. return n
  12025. }
  12026. func (m *Pod) Size() (n int) {
  12027. var l int
  12028. _ = l
  12029. l = m.ObjectMeta.Size()
  12030. n += 1 + l + sovGenerated(uint64(l))
  12031. l = m.Spec.Size()
  12032. n += 1 + l + sovGenerated(uint64(l))
  12033. l = m.Status.Size()
  12034. n += 1 + l + sovGenerated(uint64(l))
  12035. return n
  12036. }
  12037. func (m *PodAffinity) Size() (n int) {
  12038. var l int
  12039. _ = l
  12040. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  12041. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  12042. l = e.Size()
  12043. n += 1 + l + sovGenerated(uint64(l))
  12044. }
  12045. }
  12046. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  12047. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  12048. l = e.Size()
  12049. n += 1 + l + sovGenerated(uint64(l))
  12050. }
  12051. }
  12052. return n
  12053. }
  12054. func (m *PodAffinityTerm) Size() (n int) {
  12055. var l int
  12056. _ = l
  12057. if m.LabelSelector != nil {
  12058. l = m.LabelSelector.Size()
  12059. n += 1 + l + sovGenerated(uint64(l))
  12060. }
  12061. if len(m.Namespaces) > 0 {
  12062. for _, s := range m.Namespaces {
  12063. l = len(s)
  12064. n += 1 + l + sovGenerated(uint64(l))
  12065. }
  12066. }
  12067. l = len(m.TopologyKey)
  12068. n += 1 + l + sovGenerated(uint64(l))
  12069. return n
  12070. }
  12071. func (m *PodAntiAffinity) Size() (n int) {
  12072. var l int
  12073. _ = l
  12074. if len(m.RequiredDuringSchedulingIgnoredDuringExecution) > 0 {
  12075. for _, e := range m.RequiredDuringSchedulingIgnoredDuringExecution {
  12076. l = e.Size()
  12077. n += 1 + l + sovGenerated(uint64(l))
  12078. }
  12079. }
  12080. if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 {
  12081. for _, e := range m.PreferredDuringSchedulingIgnoredDuringExecution {
  12082. l = e.Size()
  12083. n += 1 + l + sovGenerated(uint64(l))
  12084. }
  12085. }
  12086. return n
  12087. }
  12088. func (m *PodAttachOptions) Size() (n int) {
  12089. var l int
  12090. _ = l
  12091. n += 2
  12092. n += 2
  12093. n += 2
  12094. n += 2
  12095. l = len(m.Container)
  12096. n += 1 + l + sovGenerated(uint64(l))
  12097. return n
  12098. }
  12099. func (m *PodCondition) Size() (n int) {
  12100. var l int
  12101. _ = l
  12102. l = len(m.Type)
  12103. n += 1 + l + sovGenerated(uint64(l))
  12104. l = len(m.Status)
  12105. n += 1 + l + sovGenerated(uint64(l))
  12106. l = m.LastProbeTime.Size()
  12107. n += 1 + l + sovGenerated(uint64(l))
  12108. l = m.LastTransitionTime.Size()
  12109. n += 1 + l + sovGenerated(uint64(l))
  12110. l = len(m.Reason)
  12111. n += 1 + l + sovGenerated(uint64(l))
  12112. l = len(m.Message)
  12113. n += 1 + l + sovGenerated(uint64(l))
  12114. return n
  12115. }
  12116. func (m *PodDNSConfig) Size() (n int) {
  12117. var l int
  12118. _ = l
  12119. if len(m.Nameservers) > 0 {
  12120. for _, s := range m.Nameservers {
  12121. l = len(s)
  12122. n += 1 + l + sovGenerated(uint64(l))
  12123. }
  12124. }
  12125. if len(m.Searches) > 0 {
  12126. for _, s := range m.Searches {
  12127. l = len(s)
  12128. n += 1 + l + sovGenerated(uint64(l))
  12129. }
  12130. }
  12131. if len(m.Options) > 0 {
  12132. for _, e := range m.Options {
  12133. l = e.Size()
  12134. n += 1 + l + sovGenerated(uint64(l))
  12135. }
  12136. }
  12137. return n
  12138. }
  12139. func (m *PodDNSConfigOption) Size() (n int) {
  12140. var l int
  12141. _ = l
  12142. l = len(m.Name)
  12143. n += 1 + l + sovGenerated(uint64(l))
  12144. if m.Value != nil {
  12145. l = len(*m.Value)
  12146. n += 1 + l + sovGenerated(uint64(l))
  12147. }
  12148. return n
  12149. }
  12150. func (m *PodExecOptions) Size() (n int) {
  12151. var l int
  12152. _ = l
  12153. n += 2
  12154. n += 2
  12155. n += 2
  12156. n += 2
  12157. l = len(m.Container)
  12158. n += 1 + l + sovGenerated(uint64(l))
  12159. if len(m.Command) > 0 {
  12160. for _, s := range m.Command {
  12161. l = len(s)
  12162. n += 1 + l + sovGenerated(uint64(l))
  12163. }
  12164. }
  12165. return n
  12166. }
  12167. func (m *PodList) Size() (n int) {
  12168. var l int
  12169. _ = l
  12170. l = m.ListMeta.Size()
  12171. n += 1 + l + sovGenerated(uint64(l))
  12172. if len(m.Items) > 0 {
  12173. for _, e := range m.Items {
  12174. l = e.Size()
  12175. n += 1 + l + sovGenerated(uint64(l))
  12176. }
  12177. }
  12178. return n
  12179. }
  12180. func (m *PodLogOptions) Size() (n int) {
  12181. var l int
  12182. _ = l
  12183. l = len(m.Container)
  12184. n += 1 + l + sovGenerated(uint64(l))
  12185. n += 2
  12186. n += 2
  12187. if m.SinceSeconds != nil {
  12188. n += 1 + sovGenerated(uint64(*m.SinceSeconds))
  12189. }
  12190. if m.SinceTime != nil {
  12191. l = m.SinceTime.Size()
  12192. n += 1 + l + sovGenerated(uint64(l))
  12193. }
  12194. n += 2
  12195. if m.TailLines != nil {
  12196. n += 1 + sovGenerated(uint64(*m.TailLines))
  12197. }
  12198. if m.LimitBytes != nil {
  12199. n += 1 + sovGenerated(uint64(*m.LimitBytes))
  12200. }
  12201. return n
  12202. }
  12203. func (m *PodPortForwardOptions) Size() (n int) {
  12204. var l int
  12205. _ = l
  12206. if len(m.Ports) > 0 {
  12207. for _, e := range m.Ports {
  12208. n += 1 + sovGenerated(uint64(e))
  12209. }
  12210. }
  12211. return n
  12212. }
  12213. func (m *PodProxyOptions) Size() (n int) {
  12214. var l int
  12215. _ = l
  12216. l = len(m.Path)
  12217. n += 1 + l + sovGenerated(uint64(l))
  12218. return n
  12219. }
  12220. func (m *PodSecurityContext) Size() (n int) {
  12221. var l int
  12222. _ = l
  12223. if m.SELinuxOptions != nil {
  12224. l = m.SELinuxOptions.Size()
  12225. n += 1 + l + sovGenerated(uint64(l))
  12226. }
  12227. if m.RunAsUser != nil {
  12228. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  12229. }
  12230. if m.RunAsNonRoot != nil {
  12231. n += 2
  12232. }
  12233. if len(m.SupplementalGroups) > 0 {
  12234. for _, e := range m.SupplementalGroups {
  12235. n += 1 + sovGenerated(uint64(e))
  12236. }
  12237. }
  12238. if m.FSGroup != nil {
  12239. n += 1 + sovGenerated(uint64(*m.FSGroup))
  12240. }
  12241. if m.RunAsGroup != nil {
  12242. n += 1 + sovGenerated(uint64(*m.RunAsGroup))
  12243. }
  12244. return n
  12245. }
  12246. func (m *PodSignature) Size() (n int) {
  12247. var l int
  12248. _ = l
  12249. if m.PodController != nil {
  12250. l = m.PodController.Size()
  12251. n += 1 + l + sovGenerated(uint64(l))
  12252. }
  12253. return n
  12254. }
  12255. func (m *PodSpec) Size() (n int) {
  12256. var l int
  12257. _ = l
  12258. if len(m.Volumes) > 0 {
  12259. for _, e := range m.Volumes {
  12260. l = e.Size()
  12261. n += 1 + l + sovGenerated(uint64(l))
  12262. }
  12263. }
  12264. if len(m.Containers) > 0 {
  12265. for _, e := range m.Containers {
  12266. l = e.Size()
  12267. n += 1 + l + sovGenerated(uint64(l))
  12268. }
  12269. }
  12270. l = len(m.RestartPolicy)
  12271. n += 1 + l + sovGenerated(uint64(l))
  12272. if m.TerminationGracePeriodSeconds != nil {
  12273. n += 1 + sovGenerated(uint64(*m.TerminationGracePeriodSeconds))
  12274. }
  12275. if m.ActiveDeadlineSeconds != nil {
  12276. n += 1 + sovGenerated(uint64(*m.ActiveDeadlineSeconds))
  12277. }
  12278. l = len(m.DNSPolicy)
  12279. n += 1 + l + sovGenerated(uint64(l))
  12280. if len(m.NodeSelector) > 0 {
  12281. for k, v := range m.NodeSelector {
  12282. _ = k
  12283. _ = v
  12284. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  12285. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12286. }
  12287. }
  12288. l = len(m.ServiceAccountName)
  12289. n += 1 + l + sovGenerated(uint64(l))
  12290. l = len(m.DeprecatedServiceAccount)
  12291. n += 1 + l + sovGenerated(uint64(l))
  12292. l = len(m.NodeName)
  12293. n += 1 + l + sovGenerated(uint64(l))
  12294. n += 2
  12295. n += 2
  12296. n += 2
  12297. if m.SecurityContext != nil {
  12298. l = m.SecurityContext.Size()
  12299. n += 1 + l + sovGenerated(uint64(l))
  12300. }
  12301. if len(m.ImagePullSecrets) > 0 {
  12302. for _, e := range m.ImagePullSecrets {
  12303. l = e.Size()
  12304. n += 1 + l + sovGenerated(uint64(l))
  12305. }
  12306. }
  12307. l = len(m.Hostname)
  12308. n += 2 + l + sovGenerated(uint64(l))
  12309. l = len(m.Subdomain)
  12310. n += 2 + l + sovGenerated(uint64(l))
  12311. if m.Affinity != nil {
  12312. l = m.Affinity.Size()
  12313. n += 2 + l + sovGenerated(uint64(l))
  12314. }
  12315. l = len(m.SchedulerName)
  12316. n += 2 + l + sovGenerated(uint64(l))
  12317. if len(m.InitContainers) > 0 {
  12318. for _, e := range m.InitContainers {
  12319. l = e.Size()
  12320. n += 2 + l + sovGenerated(uint64(l))
  12321. }
  12322. }
  12323. if m.AutomountServiceAccountToken != nil {
  12324. n += 3
  12325. }
  12326. if len(m.Tolerations) > 0 {
  12327. for _, e := range m.Tolerations {
  12328. l = e.Size()
  12329. n += 2 + l + sovGenerated(uint64(l))
  12330. }
  12331. }
  12332. if len(m.HostAliases) > 0 {
  12333. for _, e := range m.HostAliases {
  12334. l = e.Size()
  12335. n += 2 + l + sovGenerated(uint64(l))
  12336. }
  12337. }
  12338. l = len(m.PriorityClassName)
  12339. n += 2 + l + sovGenerated(uint64(l))
  12340. if m.Priority != nil {
  12341. n += 2 + sovGenerated(uint64(*m.Priority))
  12342. }
  12343. if m.DNSConfig != nil {
  12344. l = m.DNSConfig.Size()
  12345. n += 2 + l + sovGenerated(uint64(l))
  12346. }
  12347. if m.ShareProcessNamespace != nil {
  12348. n += 3
  12349. }
  12350. return n
  12351. }
  12352. func (m *PodStatus) Size() (n int) {
  12353. var l int
  12354. _ = l
  12355. l = len(m.Phase)
  12356. n += 1 + l + sovGenerated(uint64(l))
  12357. if len(m.Conditions) > 0 {
  12358. for _, e := range m.Conditions {
  12359. l = e.Size()
  12360. n += 1 + l + sovGenerated(uint64(l))
  12361. }
  12362. }
  12363. l = len(m.Message)
  12364. n += 1 + l + sovGenerated(uint64(l))
  12365. l = len(m.Reason)
  12366. n += 1 + l + sovGenerated(uint64(l))
  12367. l = len(m.HostIP)
  12368. n += 1 + l + sovGenerated(uint64(l))
  12369. l = len(m.PodIP)
  12370. n += 1 + l + sovGenerated(uint64(l))
  12371. if m.StartTime != nil {
  12372. l = m.StartTime.Size()
  12373. n += 1 + l + sovGenerated(uint64(l))
  12374. }
  12375. if len(m.ContainerStatuses) > 0 {
  12376. for _, e := range m.ContainerStatuses {
  12377. l = e.Size()
  12378. n += 1 + l + sovGenerated(uint64(l))
  12379. }
  12380. }
  12381. l = len(m.QOSClass)
  12382. n += 1 + l + sovGenerated(uint64(l))
  12383. if len(m.InitContainerStatuses) > 0 {
  12384. for _, e := range m.InitContainerStatuses {
  12385. l = e.Size()
  12386. n += 1 + l + sovGenerated(uint64(l))
  12387. }
  12388. }
  12389. l = len(m.NominatedNodeName)
  12390. n += 1 + l + sovGenerated(uint64(l))
  12391. return n
  12392. }
  12393. func (m *PodStatusResult) Size() (n int) {
  12394. var l int
  12395. _ = l
  12396. l = m.ObjectMeta.Size()
  12397. n += 1 + l + sovGenerated(uint64(l))
  12398. l = m.Status.Size()
  12399. n += 1 + l + sovGenerated(uint64(l))
  12400. return n
  12401. }
  12402. func (m *PodTemplate) Size() (n int) {
  12403. var l int
  12404. _ = l
  12405. l = m.ObjectMeta.Size()
  12406. n += 1 + l + sovGenerated(uint64(l))
  12407. l = m.Template.Size()
  12408. n += 1 + l + sovGenerated(uint64(l))
  12409. return n
  12410. }
  12411. func (m *PodTemplateList) Size() (n int) {
  12412. var l int
  12413. _ = l
  12414. l = m.ListMeta.Size()
  12415. n += 1 + l + sovGenerated(uint64(l))
  12416. if len(m.Items) > 0 {
  12417. for _, e := range m.Items {
  12418. l = e.Size()
  12419. n += 1 + l + sovGenerated(uint64(l))
  12420. }
  12421. }
  12422. return n
  12423. }
  12424. func (m *PodTemplateSpec) Size() (n int) {
  12425. var l int
  12426. _ = l
  12427. l = m.ObjectMeta.Size()
  12428. n += 1 + l + sovGenerated(uint64(l))
  12429. l = m.Spec.Size()
  12430. n += 1 + l + sovGenerated(uint64(l))
  12431. return n
  12432. }
  12433. func (m *PortworxVolumeSource) Size() (n int) {
  12434. var l int
  12435. _ = l
  12436. l = len(m.VolumeID)
  12437. n += 1 + l + sovGenerated(uint64(l))
  12438. l = len(m.FSType)
  12439. n += 1 + l + sovGenerated(uint64(l))
  12440. n += 2
  12441. return n
  12442. }
  12443. func (m *Preconditions) Size() (n int) {
  12444. var l int
  12445. _ = l
  12446. if m.UID != nil {
  12447. l = len(*m.UID)
  12448. n += 1 + l + sovGenerated(uint64(l))
  12449. }
  12450. return n
  12451. }
  12452. func (m *PreferAvoidPodsEntry) Size() (n int) {
  12453. var l int
  12454. _ = l
  12455. l = m.PodSignature.Size()
  12456. n += 1 + l + sovGenerated(uint64(l))
  12457. l = m.EvictionTime.Size()
  12458. n += 1 + l + sovGenerated(uint64(l))
  12459. l = len(m.Reason)
  12460. n += 1 + l + sovGenerated(uint64(l))
  12461. l = len(m.Message)
  12462. n += 1 + l + sovGenerated(uint64(l))
  12463. return n
  12464. }
  12465. func (m *PreferredSchedulingTerm) Size() (n int) {
  12466. var l int
  12467. _ = l
  12468. n += 1 + sovGenerated(uint64(m.Weight))
  12469. l = m.Preference.Size()
  12470. n += 1 + l + sovGenerated(uint64(l))
  12471. return n
  12472. }
  12473. func (m *Probe) Size() (n int) {
  12474. var l int
  12475. _ = l
  12476. l = m.Handler.Size()
  12477. n += 1 + l + sovGenerated(uint64(l))
  12478. n += 1 + sovGenerated(uint64(m.InitialDelaySeconds))
  12479. n += 1 + sovGenerated(uint64(m.TimeoutSeconds))
  12480. n += 1 + sovGenerated(uint64(m.PeriodSeconds))
  12481. n += 1 + sovGenerated(uint64(m.SuccessThreshold))
  12482. n += 1 + sovGenerated(uint64(m.FailureThreshold))
  12483. return n
  12484. }
  12485. func (m *ProjectedVolumeSource) Size() (n int) {
  12486. var l int
  12487. _ = l
  12488. if len(m.Sources) > 0 {
  12489. for _, e := range m.Sources {
  12490. l = e.Size()
  12491. n += 1 + l + sovGenerated(uint64(l))
  12492. }
  12493. }
  12494. if m.DefaultMode != nil {
  12495. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  12496. }
  12497. return n
  12498. }
  12499. func (m *QuobyteVolumeSource) Size() (n int) {
  12500. var l int
  12501. _ = l
  12502. l = len(m.Registry)
  12503. n += 1 + l + sovGenerated(uint64(l))
  12504. l = len(m.Volume)
  12505. n += 1 + l + sovGenerated(uint64(l))
  12506. n += 2
  12507. l = len(m.User)
  12508. n += 1 + l + sovGenerated(uint64(l))
  12509. l = len(m.Group)
  12510. n += 1 + l + sovGenerated(uint64(l))
  12511. return n
  12512. }
  12513. func (m *RBDPersistentVolumeSource) Size() (n int) {
  12514. var l int
  12515. _ = l
  12516. if len(m.CephMonitors) > 0 {
  12517. for _, s := range m.CephMonitors {
  12518. l = len(s)
  12519. n += 1 + l + sovGenerated(uint64(l))
  12520. }
  12521. }
  12522. l = len(m.RBDImage)
  12523. n += 1 + l + sovGenerated(uint64(l))
  12524. l = len(m.FSType)
  12525. n += 1 + l + sovGenerated(uint64(l))
  12526. l = len(m.RBDPool)
  12527. n += 1 + l + sovGenerated(uint64(l))
  12528. l = len(m.RadosUser)
  12529. n += 1 + l + sovGenerated(uint64(l))
  12530. l = len(m.Keyring)
  12531. n += 1 + l + sovGenerated(uint64(l))
  12532. if m.SecretRef != nil {
  12533. l = m.SecretRef.Size()
  12534. n += 1 + l + sovGenerated(uint64(l))
  12535. }
  12536. n += 2
  12537. return n
  12538. }
  12539. func (m *RBDVolumeSource) Size() (n int) {
  12540. var l int
  12541. _ = l
  12542. if len(m.CephMonitors) > 0 {
  12543. for _, s := range m.CephMonitors {
  12544. l = len(s)
  12545. n += 1 + l + sovGenerated(uint64(l))
  12546. }
  12547. }
  12548. l = len(m.RBDImage)
  12549. n += 1 + l + sovGenerated(uint64(l))
  12550. l = len(m.FSType)
  12551. n += 1 + l + sovGenerated(uint64(l))
  12552. l = len(m.RBDPool)
  12553. n += 1 + l + sovGenerated(uint64(l))
  12554. l = len(m.RadosUser)
  12555. n += 1 + l + sovGenerated(uint64(l))
  12556. l = len(m.Keyring)
  12557. n += 1 + l + sovGenerated(uint64(l))
  12558. if m.SecretRef != nil {
  12559. l = m.SecretRef.Size()
  12560. n += 1 + l + sovGenerated(uint64(l))
  12561. }
  12562. n += 2
  12563. return n
  12564. }
  12565. func (m *RangeAllocation) Size() (n int) {
  12566. var l int
  12567. _ = l
  12568. l = m.ObjectMeta.Size()
  12569. n += 1 + l + sovGenerated(uint64(l))
  12570. l = len(m.Range)
  12571. n += 1 + l + sovGenerated(uint64(l))
  12572. if m.Data != nil {
  12573. l = len(m.Data)
  12574. n += 1 + l + sovGenerated(uint64(l))
  12575. }
  12576. return n
  12577. }
  12578. func (m *ReplicationController) Size() (n int) {
  12579. var l int
  12580. _ = l
  12581. l = m.ObjectMeta.Size()
  12582. n += 1 + l + sovGenerated(uint64(l))
  12583. l = m.Spec.Size()
  12584. n += 1 + l + sovGenerated(uint64(l))
  12585. l = m.Status.Size()
  12586. n += 1 + l + sovGenerated(uint64(l))
  12587. return n
  12588. }
  12589. func (m *ReplicationControllerCondition) Size() (n int) {
  12590. var l int
  12591. _ = l
  12592. l = len(m.Type)
  12593. n += 1 + l + sovGenerated(uint64(l))
  12594. l = len(m.Status)
  12595. n += 1 + l + sovGenerated(uint64(l))
  12596. l = m.LastTransitionTime.Size()
  12597. n += 1 + l + sovGenerated(uint64(l))
  12598. l = len(m.Reason)
  12599. n += 1 + l + sovGenerated(uint64(l))
  12600. l = len(m.Message)
  12601. n += 1 + l + sovGenerated(uint64(l))
  12602. return n
  12603. }
  12604. func (m *ReplicationControllerList) Size() (n int) {
  12605. var l int
  12606. _ = l
  12607. l = m.ListMeta.Size()
  12608. n += 1 + l + sovGenerated(uint64(l))
  12609. if len(m.Items) > 0 {
  12610. for _, e := range m.Items {
  12611. l = e.Size()
  12612. n += 1 + l + sovGenerated(uint64(l))
  12613. }
  12614. }
  12615. return n
  12616. }
  12617. func (m *ReplicationControllerSpec) Size() (n int) {
  12618. var l int
  12619. _ = l
  12620. if m.Replicas != nil {
  12621. n += 1 + sovGenerated(uint64(*m.Replicas))
  12622. }
  12623. if len(m.Selector) > 0 {
  12624. for k, v := range m.Selector {
  12625. _ = k
  12626. _ = v
  12627. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  12628. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12629. }
  12630. }
  12631. if m.Template != nil {
  12632. l = m.Template.Size()
  12633. n += 1 + l + sovGenerated(uint64(l))
  12634. }
  12635. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  12636. return n
  12637. }
  12638. func (m *ReplicationControllerStatus) Size() (n int) {
  12639. var l int
  12640. _ = l
  12641. n += 1 + sovGenerated(uint64(m.Replicas))
  12642. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  12643. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  12644. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  12645. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  12646. if len(m.Conditions) > 0 {
  12647. for _, e := range m.Conditions {
  12648. l = e.Size()
  12649. n += 1 + l + sovGenerated(uint64(l))
  12650. }
  12651. }
  12652. return n
  12653. }
  12654. func (m *ResourceFieldSelector) Size() (n int) {
  12655. var l int
  12656. _ = l
  12657. l = len(m.ContainerName)
  12658. n += 1 + l + sovGenerated(uint64(l))
  12659. l = len(m.Resource)
  12660. n += 1 + l + sovGenerated(uint64(l))
  12661. l = m.Divisor.Size()
  12662. n += 1 + l + sovGenerated(uint64(l))
  12663. return n
  12664. }
  12665. func (m *ResourceQuota) Size() (n int) {
  12666. var l int
  12667. _ = l
  12668. l = m.ObjectMeta.Size()
  12669. n += 1 + l + sovGenerated(uint64(l))
  12670. l = m.Spec.Size()
  12671. n += 1 + l + sovGenerated(uint64(l))
  12672. l = m.Status.Size()
  12673. n += 1 + l + sovGenerated(uint64(l))
  12674. return n
  12675. }
  12676. func (m *ResourceQuotaList) Size() (n int) {
  12677. var l int
  12678. _ = l
  12679. l = m.ListMeta.Size()
  12680. n += 1 + l + sovGenerated(uint64(l))
  12681. if len(m.Items) > 0 {
  12682. for _, e := range m.Items {
  12683. l = e.Size()
  12684. n += 1 + l + sovGenerated(uint64(l))
  12685. }
  12686. }
  12687. return n
  12688. }
  12689. func (m *ResourceQuotaSpec) Size() (n int) {
  12690. var l int
  12691. _ = l
  12692. if len(m.Hard) > 0 {
  12693. for k, v := range m.Hard {
  12694. _ = k
  12695. _ = v
  12696. l = v.Size()
  12697. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12698. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12699. }
  12700. }
  12701. if len(m.Scopes) > 0 {
  12702. for _, s := range m.Scopes {
  12703. l = len(s)
  12704. n += 1 + l + sovGenerated(uint64(l))
  12705. }
  12706. }
  12707. return n
  12708. }
  12709. func (m *ResourceQuotaStatus) Size() (n int) {
  12710. var l int
  12711. _ = l
  12712. if len(m.Hard) > 0 {
  12713. for k, v := range m.Hard {
  12714. _ = k
  12715. _ = v
  12716. l = v.Size()
  12717. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12718. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12719. }
  12720. }
  12721. if len(m.Used) > 0 {
  12722. for k, v := range m.Used {
  12723. _ = k
  12724. _ = v
  12725. l = v.Size()
  12726. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12727. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12728. }
  12729. }
  12730. return n
  12731. }
  12732. func (m *ResourceRequirements) Size() (n int) {
  12733. var l int
  12734. _ = l
  12735. if len(m.Limits) > 0 {
  12736. for k, v := range m.Limits {
  12737. _ = k
  12738. _ = v
  12739. l = v.Size()
  12740. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12741. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12742. }
  12743. }
  12744. if len(m.Requests) > 0 {
  12745. for k, v := range m.Requests {
  12746. _ = k
  12747. _ = v
  12748. l = v.Size()
  12749. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  12750. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12751. }
  12752. }
  12753. return n
  12754. }
  12755. func (m *SELinuxOptions) Size() (n int) {
  12756. var l int
  12757. _ = l
  12758. l = len(m.User)
  12759. n += 1 + l + sovGenerated(uint64(l))
  12760. l = len(m.Role)
  12761. n += 1 + l + sovGenerated(uint64(l))
  12762. l = len(m.Type)
  12763. n += 1 + l + sovGenerated(uint64(l))
  12764. l = len(m.Level)
  12765. n += 1 + l + sovGenerated(uint64(l))
  12766. return n
  12767. }
  12768. func (m *ScaleIOPersistentVolumeSource) Size() (n int) {
  12769. var l int
  12770. _ = l
  12771. l = len(m.Gateway)
  12772. n += 1 + l + sovGenerated(uint64(l))
  12773. l = len(m.System)
  12774. n += 1 + l + sovGenerated(uint64(l))
  12775. if m.SecretRef != nil {
  12776. l = m.SecretRef.Size()
  12777. n += 1 + l + sovGenerated(uint64(l))
  12778. }
  12779. n += 2
  12780. l = len(m.ProtectionDomain)
  12781. n += 1 + l + sovGenerated(uint64(l))
  12782. l = len(m.StoragePool)
  12783. n += 1 + l + sovGenerated(uint64(l))
  12784. l = len(m.StorageMode)
  12785. n += 1 + l + sovGenerated(uint64(l))
  12786. l = len(m.VolumeName)
  12787. n += 1 + l + sovGenerated(uint64(l))
  12788. l = len(m.FSType)
  12789. n += 1 + l + sovGenerated(uint64(l))
  12790. n += 2
  12791. return n
  12792. }
  12793. func (m *ScaleIOVolumeSource) Size() (n int) {
  12794. var l int
  12795. _ = l
  12796. l = len(m.Gateway)
  12797. n += 1 + l + sovGenerated(uint64(l))
  12798. l = len(m.System)
  12799. n += 1 + l + sovGenerated(uint64(l))
  12800. if m.SecretRef != nil {
  12801. l = m.SecretRef.Size()
  12802. n += 1 + l + sovGenerated(uint64(l))
  12803. }
  12804. n += 2
  12805. l = len(m.ProtectionDomain)
  12806. n += 1 + l + sovGenerated(uint64(l))
  12807. l = len(m.StoragePool)
  12808. n += 1 + l + sovGenerated(uint64(l))
  12809. l = len(m.StorageMode)
  12810. n += 1 + l + sovGenerated(uint64(l))
  12811. l = len(m.VolumeName)
  12812. n += 1 + l + sovGenerated(uint64(l))
  12813. l = len(m.FSType)
  12814. n += 1 + l + sovGenerated(uint64(l))
  12815. n += 2
  12816. return n
  12817. }
  12818. func (m *Secret) Size() (n int) {
  12819. var l int
  12820. _ = l
  12821. l = m.ObjectMeta.Size()
  12822. n += 1 + l + sovGenerated(uint64(l))
  12823. if len(m.Data) > 0 {
  12824. for k, v := range m.Data {
  12825. _ = k
  12826. _ = v
  12827. l = 0
  12828. if v != nil {
  12829. l = 1 + len(v) + sovGenerated(uint64(len(v)))
  12830. }
  12831. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + l
  12832. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12833. }
  12834. }
  12835. l = len(m.Type)
  12836. n += 1 + l + sovGenerated(uint64(l))
  12837. if len(m.StringData) > 0 {
  12838. for k, v := range m.StringData {
  12839. _ = k
  12840. _ = v
  12841. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  12842. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  12843. }
  12844. }
  12845. return n
  12846. }
  12847. func (m *SecretEnvSource) Size() (n int) {
  12848. var l int
  12849. _ = l
  12850. l = m.LocalObjectReference.Size()
  12851. n += 1 + l + sovGenerated(uint64(l))
  12852. if m.Optional != nil {
  12853. n += 2
  12854. }
  12855. return n
  12856. }
  12857. func (m *SecretKeySelector) Size() (n int) {
  12858. var l int
  12859. _ = l
  12860. l = m.LocalObjectReference.Size()
  12861. n += 1 + l + sovGenerated(uint64(l))
  12862. l = len(m.Key)
  12863. n += 1 + l + sovGenerated(uint64(l))
  12864. if m.Optional != nil {
  12865. n += 2
  12866. }
  12867. return n
  12868. }
  12869. func (m *SecretList) Size() (n int) {
  12870. var l int
  12871. _ = l
  12872. l = m.ListMeta.Size()
  12873. n += 1 + l + sovGenerated(uint64(l))
  12874. if len(m.Items) > 0 {
  12875. for _, e := range m.Items {
  12876. l = e.Size()
  12877. n += 1 + l + sovGenerated(uint64(l))
  12878. }
  12879. }
  12880. return n
  12881. }
  12882. func (m *SecretProjection) Size() (n int) {
  12883. var l int
  12884. _ = l
  12885. l = m.LocalObjectReference.Size()
  12886. n += 1 + l + sovGenerated(uint64(l))
  12887. if len(m.Items) > 0 {
  12888. for _, e := range m.Items {
  12889. l = e.Size()
  12890. n += 1 + l + sovGenerated(uint64(l))
  12891. }
  12892. }
  12893. if m.Optional != nil {
  12894. n += 2
  12895. }
  12896. return n
  12897. }
  12898. func (m *SecretReference) Size() (n int) {
  12899. var l int
  12900. _ = l
  12901. l = len(m.Name)
  12902. n += 1 + l + sovGenerated(uint64(l))
  12903. l = len(m.Namespace)
  12904. n += 1 + l + sovGenerated(uint64(l))
  12905. return n
  12906. }
  12907. func (m *SecretVolumeSource) Size() (n int) {
  12908. var l int
  12909. _ = l
  12910. l = len(m.SecretName)
  12911. n += 1 + l + sovGenerated(uint64(l))
  12912. if len(m.Items) > 0 {
  12913. for _, e := range m.Items {
  12914. l = e.Size()
  12915. n += 1 + l + sovGenerated(uint64(l))
  12916. }
  12917. }
  12918. if m.DefaultMode != nil {
  12919. n += 1 + sovGenerated(uint64(*m.DefaultMode))
  12920. }
  12921. if m.Optional != nil {
  12922. n += 2
  12923. }
  12924. return n
  12925. }
  12926. func (m *SecurityContext) Size() (n int) {
  12927. var l int
  12928. _ = l
  12929. if m.Capabilities != nil {
  12930. l = m.Capabilities.Size()
  12931. n += 1 + l + sovGenerated(uint64(l))
  12932. }
  12933. if m.Privileged != nil {
  12934. n += 2
  12935. }
  12936. if m.SELinuxOptions != nil {
  12937. l = m.SELinuxOptions.Size()
  12938. n += 1 + l + sovGenerated(uint64(l))
  12939. }
  12940. if m.RunAsUser != nil {
  12941. n += 1 + sovGenerated(uint64(*m.RunAsUser))
  12942. }
  12943. if m.RunAsNonRoot != nil {
  12944. n += 2
  12945. }
  12946. if m.ReadOnlyRootFilesystem != nil {
  12947. n += 2
  12948. }
  12949. if m.AllowPrivilegeEscalation != nil {
  12950. n += 2
  12951. }
  12952. if m.RunAsGroup != nil {
  12953. n += 1 + sovGenerated(uint64(*m.RunAsGroup))
  12954. }
  12955. return n
  12956. }
  12957. func (m *SerializedReference) Size() (n int) {
  12958. var l int
  12959. _ = l
  12960. l = m.Reference.Size()
  12961. n += 1 + l + sovGenerated(uint64(l))
  12962. return n
  12963. }
  12964. func (m *Service) Size() (n int) {
  12965. var l int
  12966. _ = l
  12967. l = m.ObjectMeta.Size()
  12968. n += 1 + l + sovGenerated(uint64(l))
  12969. l = m.Spec.Size()
  12970. n += 1 + l + sovGenerated(uint64(l))
  12971. l = m.Status.Size()
  12972. n += 1 + l + sovGenerated(uint64(l))
  12973. return n
  12974. }
  12975. func (m *ServiceAccount) Size() (n int) {
  12976. var l int
  12977. _ = l
  12978. l = m.ObjectMeta.Size()
  12979. n += 1 + l + sovGenerated(uint64(l))
  12980. if len(m.Secrets) > 0 {
  12981. for _, e := range m.Secrets {
  12982. l = e.Size()
  12983. n += 1 + l + sovGenerated(uint64(l))
  12984. }
  12985. }
  12986. if len(m.ImagePullSecrets) > 0 {
  12987. for _, e := range m.ImagePullSecrets {
  12988. l = e.Size()
  12989. n += 1 + l + sovGenerated(uint64(l))
  12990. }
  12991. }
  12992. if m.AutomountServiceAccountToken != nil {
  12993. n += 2
  12994. }
  12995. return n
  12996. }
  12997. func (m *ServiceAccountList) Size() (n int) {
  12998. var l int
  12999. _ = l
  13000. l = m.ListMeta.Size()
  13001. n += 1 + l + sovGenerated(uint64(l))
  13002. if len(m.Items) > 0 {
  13003. for _, e := range m.Items {
  13004. l = e.Size()
  13005. n += 1 + l + sovGenerated(uint64(l))
  13006. }
  13007. }
  13008. return n
  13009. }
  13010. func (m *ServiceList) Size() (n int) {
  13011. var l int
  13012. _ = l
  13013. l = m.ListMeta.Size()
  13014. n += 1 + l + sovGenerated(uint64(l))
  13015. if len(m.Items) > 0 {
  13016. for _, e := range m.Items {
  13017. l = e.Size()
  13018. n += 1 + l + sovGenerated(uint64(l))
  13019. }
  13020. }
  13021. return n
  13022. }
  13023. func (m *ServicePort) Size() (n int) {
  13024. var l int
  13025. _ = l
  13026. l = len(m.Name)
  13027. n += 1 + l + sovGenerated(uint64(l))
  13028. l = len(m.Protocol)
  13029. n += 1 + l + sovGenerated(uint64(l))
  13030. n += 1 + sovGenerated(uint64(m.Port))
  13031. l = m.TargetPort.Size()
  13032. n += 1 + l + sovGenerated(uint64(l))
  13033. n += 1 + sovGenerated(uint64(m.NodePort))
  13034. return n
  13035. }
  13036. func (m *ServiceProxyOptions) Size() (n int) {
  13037. var l int
  13038. _ = l
  13039. l = len(m.Path)
  13040. n += 1 + l + sovGenerated(uint64(l))
  13041. return n
  13042. }
  13043. func (m *ServiceSpec) Size() (n int) {
  13044. var l int
  13045. _ = l
  13046. if len(m.Ports) > 0 {
  13047. for _, e := range m.Ports {
  13048. l = e.Size()
  13049. n += 1 + l + sovGenerated(uint64(l))
  13050. }
  13051. }
  13052. if len(m.Selector) > 0 {
  13053. for k, v := range m.Selector {
  13054. _ = k
  13055. _ = v
  13056. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  13057. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  13058. }
  13059. }
  13060. l = len(m.ClusterIP)
  13061. n += 1 + l + sovGenerated(uint64(l))
  13062. l = len(m.Type)
  13063. n += 1 + l + sovGenerated(uint64(l))
  13064. if len(m.ExternalIPs) > 0 {
  13065. for _, s := range m.ExternalIPs {
  13066. l = len(s)
  13067. n += 1 + l + sovGenerated(uint64(l))
  13068. }
  13069. }
  13070. l = len(m.SessionAffinity)
  13071. n += 1 + l + sovGenerated(uint64(l))
  13072. l = len(m.LoadBalancerIP)
  13073. n += 1 + l + sovGenerated(uint64(l))
  13074. if len(m.LoadBalancerSourceRanges) > 0 {
  13075. for _, s := range m.LoadBalancerSourceRanges {
  13076. l = len(s)
  13077. n += 1 + l + sovGenerated(uint64(l))
  13078. }
  13079. }
  13080. l = len(m.ExternalName)
  13081. n += 1 + l + sovGenerated(uint64(l))
  13082. l = len(m.ExternalTrafficPolicy)
  13083. n += 1 + l + sovGenerated(uint64(l))
  13084. n += 1 + sovGenerated(uint64(m.HealthCheckNodePort))
  13085. n += 2
  13086. if m.SessionAffinityConfig != nil {
  13087. l = m.SessionAffinityConfig.Size()
  13088. n += 1 + l + sovGenerated(uint64(l))
  13089. }
  13090. return n
  13091. }
  13092. func (m *ServiceStatus) Size() (n int) {
  13093. var l int
  13094. _ = l
  13095. l = m.LoadBalancer.Size()
  13096. n += 1 + l + sovGenerated(uint64(l))
  13097. return n
  13098. }
  13099. func (m *SessionAffinityConfig) Size() (n int) {
  13100. var l int
  13101. _ = l
  13102. if m.ClientIP != nil {
  13103. l = m.ClientIP.Size()
  13104. n += 1 + l + sovGenerated(uint64(l))
  13105. }
  13106. return n
  13107. }
  13108. func (m *StorageOSPersistentVolumeSource) Size() (n int) {
  13109. var l int
  13110. _ = l
  13111. l = len(m.VolumeName)
  13112. n += 1 + l + sovGenerated(uint64(l))
  13113. l = len(m.VolumeNamespace)
  13114. n += 1 + l + sovGenerated(uint64(l))
  13115. l = len(m.FSType)
  13116. n += 1 + l + sovGenerated(uint64(l))
  13117. n += 2
  13118. if m.SecretRef != nil {
  13119. l = m.SecretRef.Size()
  13120. n += 1 + l + sovGenerated(uint64(l))
  13121. }
  13122. return n
  13123. }
  13124. func (m *StorageOSVolumeSource) Size() (n int) {
  13125. var l int
  13126. _ = l
  13127. l = len(m.VolumeName)
  13128. n += 1 + l + sovGenerated(uint64(l))
  13129. l = len(m.VolumeNamespace)
  13130. n += 1 + l + sovGenerated(uint64(l))
  13131. l = len(m.FSType)
  13132. n += 1 + l + sovGenerated(uint64(l))
  13133. n += 2
  13134. if m.SecretRef != nil {
  13135. l = m.SecretRef.Size()
  13136. n += 1 + l + sovGenerated(uint64(l))
  13137. }
  13138. return n
  13139. }
  13140. func (m *Sysctl) Size() (n int) {
  13141. var l int
  13142. _ = l
  13143. l = len(m.Name)
  13144. n += 1 + l + sovGenerated(uint64(l))
  13145. l = len(m.Value)
  13146. n += 1 + l + sovGenerated(uint64(l))
  13147. return n
  13148. }
  13149. func (m *TCPSocketAction) Size() (n int) {
  13150. var l int
  13151. _ = l
  13152. l = m.Port.Size()
  13153. n += 1 + l + sovGenerated(uint64(l))
  13154. l = len(m.Host)
  13155. n += 1 + l + sovGenerated(uint64(l))
  13156. return n
  13157. }
  13158. func (m *Taint) Size() (n int) {
  13159. var l int
  13160. _ = l
  13161. l = len(m.Key)
  13162. n += 1 + l + sovGenerated(uint64(l))
  13163. l = len(m.Value)
  13164. n += 1 + l + sovGenerated(uint64(l))
  13165. l = len(m.Effect)
  13166. n += 1 + l + sovGenerated(uint64(l))
  13167. if m.TimeAdded != nil {
  13168. l = m.TimeAdded.Size()
  13169. n += 1 + l + sovGenerated(uint64(l))
  13170. }
  13171. return n
  13172. }
  13173. func (m *Toleration) Size() (n int) {
  13174. var l int
  13175. _ = l
  13176. l = len(m.Key)
  13177. n += 1 + l + sovGenerated(uint64(l))
  13178. l = len(m.Operator)
  13179. n += 1 + l + sovGenerated(uint64(l))
  13180. l = len(m.Value)
  13181. n += 1 + l + sovGenerated(uint64(l))
  13182. l = len(m.Effect)
  13183. n += 1 + l + sovGenerated(uint64(l))
  13184. if m.TolerationSeconds != nil {
  13185. n += 1 + sovGenerated(uint64(*m.TolerationSeconds))
  13186. }
  13187. return n
  13188. }
  13189. func (m *Volume) Size() (n int) {
  13190. var l int
  13191. _ = l
  13192. l = len(m.Name)
  13193. n += 1 + l + sovGenerated(uint64(l))
  13194. l = m.VolumeSource.Size()
  13195. n += 1 + l + sovGenerated(uint64(l))
  13196. return n
  13197. }
  13198. func (m *VolumeDevice) Size() (n int) {
  13199. var l int
  13200. _ = l
  13201. l = len(m.Name)
  13202. n += 1 + l + sovGenerated(uint64(l))
  13203. l = len(m.DevicePath)
  13204. n += 1 + l + sovGenerated(uint64(l))
  13205. return n
  13206. }
  13207. func (m *VolumeMount) Size() (n int) {
  13208. var l int
  13209. _ = l
  13210. l = len(m.Name)
  13211. n += 1 + l + sovGenerated(uint64(l))
  13212. n += 2
  13213. l = len(m.MountPath)
  13214. n += 1 + l + sovGenerated(uint64(l))
  13215. l = len(m.SubPath)
  13216. n += 1 + l + sovGenerated(uint64(l))
  13217. if m.MountPropagation != nil {
  13218. l = len(*m.MountPropagation)
  13219. n += 1 + l + sovGenerated(uint64(l))
  13220. }
  13221. return n
  13222. }
  13223. func (m *VolumeNodeAffinity) Size() (n int) {
  13224. var l int
  13225. _ = l
  13226. if m.Required != nil {
  13227. l = m.Required.Size()
  13228. n += 1 + l + sovGenerated(uint64(l))
  13229. }
  13230. return n
  13231. }
  13232. func (m *VolumeProjection) Size() (n int) {
  13233. var l int
  13234. _ = l
  13235. if m.Secret != nil {
  13236. l = m.Secret.Size()
  13237. n += 1 + l + sovGenerated(uint64(l))
  13238. }
  13239. if m.DownwardAPI != nil {
  13240. l = m.DownwardAPI.Size()
  13241. n += 1 + l + sovGenerated(uint64(l))
  13242. }
  13243. if m.ConfigMap != nil {
  13244. l = m.ConfigMap.Size()
  13245. n += 1 + l + sovGenerated(uint64(l))
  13246. }
  13247. return n
  13248. }
  13249. func (m *VolumeSource) Size() (n int) {
  13250. var l int
  13251. _ = l
  13252. if m.HostPath != nil {
  13253. l = m.HostPath.Size()
  13254. n += 1 + l + sovGenerated(uint64(l))
  13255. }
  13256. if m.EmptyDir != nil {
  13257. l = m.EmptyDir.Size()
  13258. n += 1 + l + sovGenerated(uint64(l))
  13259. }
  13260. if m.GCEPersistentDisk != nil {
  13261. l = m.GCEPersistentDisk.Size()
  13262. n += 1 + l + sovGenerated(uint64(l))
  13263. }
  13264. if m.AWSElasticBlockStore != nil {
  13265. l = m.AWSElasticBlockStore.Size()
  13266. n += 1 + l + sovGenerated(uint64(l))
  13267. }
  13268. if m.GitRepo != nil {
  13269. l = m.GitRepo.Size()
  13270. n += 1 + l + sovGenerated(uint64(l))
  13271. }
  13272. if m.Secret != nil {
  13273. l = m.Secret.Size()
  13274. n += 1 + l + sovGenerated(uint64(l))
  13275. }
  13276. if m.NFS != nil {
  13277. l = m.NFS.Size()
  13278. n += 1 + l + sovGenerated(uint64(l))
  13279. }
  13280. if m.ISCSI != nil {
  13281. l = m.ISCSI.Size()
  13282. n += 1 + l + sovGenerated(uint64(l))
  13283. }
  13284. if m.Glusterfs != nil {
  13285. l = m.Glusterfs.Size()
  13286. n += 1 + l + sovGenerated(uint64(l))
  13287. }
  13288. if m.PersistentVolumeClaim != nil {
  13289. l = m.PersistentVolumeClaim.Size()
  13290. n += 1 + l + sovGenerated(uint64(l))
  13291. }
  13292. if m.RBD != nil {
  13293. l = m.RBD.Size()
  13294. n += 1 + l + sovGenerated(uint64(l))
  13295. }
  13296. if m.FlexVolume != nil {
  13297. l = m.FlexVolume.Size()
  13298. n += 1 + l + sovGenerated(uint64(l))
  13299. }
  13300. if m.Cinder != nil {
  13301. l = m.Cinder.Size()
  13302. n += 1 + l + sovGenerated(uint64(l))
  13303. }
  13304. if m.CephFS != nil {
  13305. l = m.CephFS.Size()
  13306. n += 1 + l + sovGenerated(uint64(l))
  13307. }
  13308. if m.Flocker != nil {
  13309. l = m.Flocker.Size()
  13310. n += 1 + l + sovGenerated(uint64(l))
  13311. }
  13312. if m.DownwardAPI != nil {
  13313. l = m.DownwardAPI.Size()
  13314. n += 2 + l + sovGenerated(uint64(l))
  13315. }
  13316. if m.FC != nil {
  13317. l = m.FC.Size()
  13318. n += 2 + l + sovGenerated(uint64(l))
  13319. }
  13320. if m.AzureFile != nil {
  13321. l = m.AzureFile.Size()
  13322. n += 2 + l + sovGenerated(uint64(l))
  13323. }
  13324. if m.ConfigMap != nil {
  13325. l = m.ConfigMap.Size()
  13326. n += 2 + l + sovGenerated(uint64(l))
  13327. }
  13328. if m.VsphereVolume != nil {
  13329. l = m.VsphereVolume.Size()
  13330. n += 2 + l + sovGenerated(uint64(l))
  13331. }
  13332. if m.Quobyte != nil {
  13333. l = m.Quobyte.Size()
  13334. n += 2 + l + sovGenerated(uint64(l))
  13335. }
  13336. if m.AzureDisk != nil {
  13337. l = m.AzureDisk.Size()
  13338. n += 2 + l + sovGenerated(uint64(l))
  13339. }
  13340. if m.PhotonPersistentDisk != nil {
  13341. l = m.PhotonPersistentDisk.Size()
  13342. n += 2 + l + sovGenerated(uint64(l))
  13343. }
  13344. if m.PortworxVolume != nil {
  13345. l = m.PortworxVolume.Size()
  13346. n += 2 + l + sovGenerated(uint64(l))
  13347. }
  13348. if m.ScaleIO != nil {
  13349. l = m.ScaleIO.Size()
  13350. n += 2 + l + sovGenerated(uint64(l))
  13351. }
  13352. if m.Projected != nil {
  13353. l = m.Projected.Size()
  13354. n += 2 + l + sovGenerated(uint64(l))
  13355. }
  13356. if m.StorageOS != nil {
  13357. l = m.StorageOS.Size()
  13358. n += 2 + l + sovGenerated(uint64(l))
  13359. }
  13360. return n
  13361. }
  13362. func (m *VsphereVirtualDiskVolumeSource) Size() (n int) {
  13363. var l int
  13364. _ = l
  13365. l = len(m.VolumePath)
  13366. n += 1 + l + sovGenerated(uint64(l))
  13367. l = len(m.FSType)
  13368. n += 1 + l + sovGenerated(uint64(l))
  13369. l = len(m.StoragePolicyName)
  13370. n += 1 + l + sovGenerated(uint64(l))
  13371. l = len(m.StoragePolicyID)
  13372. n += 1 + l + sovGenerated(uint64(l))
  13373. return n
  13374. }
  13375. func (m *WeightedPodAffinityTerm) Size() (n int) {
  13376. var l int
  13377. _ = l
  13378. n += 1 + sovGenerated(uint64(m.Weight))
  13379. l = m.PodAffinityTerm.Size()
  13380. n += 1 + l + sovGenerated(uint64(l))
  13381. return n
  13382. }
  13383. func sovGenerated(x uint64) (n int) {
  13384. for {
  13385. n++
  13386. x >>= 7
  13387. if x == 0 {
  13388. break
  13389. }
  13390. }
  13391. return n
  13392. }
  13393. func sozGenerated(x uint64) (n int) {
  13394. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  13395. }
  13396. func (this *AWSElasticBlockStoreVolumeSource) String() string {
  13397. if this == nil {
  13398. return "nil"
  13399. }
  13400. s := strings.Join([]string{`&AWSElasticBlockStoreVolumeSource{`,
  13401. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  13402. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  13403. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  13404. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13405. `}`,
  13406. }, "")
  13407. return s
  13408. }
  13409. func (this *Affinity) String() string {
  13410. if this == nil {
  13411. return "nil"
  13412. }
  13413. s := strings.Join([]string{`&Affinity{`,
  13414. `NodeAffinity:` + strings.Replace(fmt.Sprintf("%v", this.NodeAffinity), "NodeAffinity", "NodeAffinity", 1) + `,`,
  13415. `PodAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAffinity), "PodAffinity", "PodAffinity", 1) + `,`,
  13416. `PodAntiAffinity:` + strings.Replace(fmt.Sprintf("%v", this.PodAntiAffinity), "PodAntiAffinity", "PodAntiAffinity", 1) + `,`,
  13417. `}`,
  13418. }, "")
  13419. return s
  13420. }
  13421. func (this *AttachedVolume) String() string {
  13422. if this == nil {
  13423. return "nil"
  13424. }
  13425. s := strings.Join([]string{`&AttachedVolume{`,
  13426. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13427. `DevicePath:` + fmt.Sprintf("%v", this.DevicePath) + `,`,
  13428. `}`,
  13429. }, "")
  13430. return s
  13431. }
  13432. func (this *AvoidPods) String() string {
  13433. if this == nil {
  13434. return "nil"
  13435. }
  13436. s := strings.Join([]string{`&AvoidPods{`,
  13437. `PreferAvoidPods:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferAvoidPods), "PreferAvoidPodsEntry", "PreferAvoidPodsEntry", 1), `&`, ``, 1) + `,`,
  13438. `}`,
  13439. }, "")
  13440. return s
  13441. }
  13442. func (this *AzureDiskVolumeSource) String() string {
  13443. if this == nil {
  13444. return "nil"
  13445. }
  13446. s := strings.Join([]string{`&AzureDiskVolumeSource{`,
  13447. `DiskName:` + fmt.Sprintf("%v", this.DiskName) + `,`,
  13448. `DataDiskURI:` + fmt.Sprintf("%v", this.DataDiskURI) + `,`,
  13449. `CachingMode:` + valueToStringGenerated(this.CachingMode) + `,`,
  13450. `FSType:` + valueToStringGenerated(this.FSType) + `,`,
  13451. `ReadOnly:` + valueToStringGenerated(this.ReadOnly) + `,`,
  13452. `Kind:` + valueToStringGenerated(this.Kind) + `,`,
  13453. `}`,
  13454. }, "")
  13455. return s
  13456. }
  13457. func (this *AzureFilePersistentVolumeSource) String() string {
  13458. if this == nil {
  13459. return "nil"
  13460. }
  13461. s := strings.Join([]string{`&AzureFilePersistentVolumeSource{`,
  13462. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  13463. `ShareName:` + fmt.Sprintf("%v", this.ShareName) + `,`,
  13464. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13465. `SecretNamespace:` + valueToStringGenerated(this.SecretNamespace) + `,`,
  13466. `}`,
  13467. }, "")
  13468. return s
  13469. }
  13470. func (this *AzureFileVolumeSource) String() string {
  13471. if this == nil {
  13472. return "nil"
  13473. }
  13474. s := strings.Join([]string{`&AzureFileVolumeSource{`,
  13475. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  13476. `ShareName:` + fmt.Sprintf("%v", this.ShareName) + `,`,
  13477. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13478. `}`,
  13479. }, "")
  13480. return s
  13481. }
  13482. func (this *Binding) String() string {
  13483. if this == nil {
  13484. return "nil"
  13485. }
  13486. s := strings.Join([]string{`&Binding{`,
  13487. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13488. `Target:` + strings.Replace(strings.Replace(this.Target.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  13489. `}`,
  13490. }, "")
  13491. return s
  13492. }
  13493. func (this *CSIPersistentVolumeSource) String() string {
  13494. if this == nil {
  13495. return "nil"
  13496. }
  13497. keysForVolumeAttributes := make([]string, 0, len(this.VolumeAttributes))
  13498. for k := range this.VolumeAttributes {
  13499. keysForVolumeAttributes = append(keysForVolumeAttributes, k)
  13500. }
  13501. github_com_gogo_protobuf_sortkeys.Strings(keysForVolumeAttributes)
  13502. mapStringForVolumeAttributes := "map[string]string{"
  13503. for _, k := range keysForVolumeAttributes {
  13504. mapStringForVolumeAttributes += fmt.Sprintf("%v: %v,", k, this.VolumeAttributes[k])
  13505. }
  13506. mapStringForVolumeAttributes += "}"
  13507. s := strings.Join([]string{`&CSIPersistentVolumeSource{`,
  13508. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  13509. `VolumeHandle:` + fmt.Sprintf("%v", this.VolumeHandle) + `,`,
  13510. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13511. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  13512. `VolumeAttributes:` + mapStringForVolumeAttributes + `,`,
  13513. `ControllerPublishSecretRef:` + strings.Replace(fmt.Sprintf("%v", this.ControllerPublishSecretRef), "SecretReference", "SecretReference", 1) + `,`,
  13514. `NodeStageSecretRef:` + strings.Replace(fmt.Sprintf("%v", this.NodeStageSecretRef), "SecretReference", "SecretReference", 1) + `,`,
  13515. `NodePublishSecretRef:` + strings.Replace(fmt.Sprintf("%v", this.NodePublishSecretRef), "SecretReference", "SecretReference", 1) + `,`,
  13516. `}`,
  13517. }, "")
  13518. return s
  13519. }
  13520. func (this *Capabilities) String() string {
  13521. if this == nil {
  13522. return "nil"
  13523. }
  13524. s := strings.Join([]string{`&Capabilities{`,
  13525. `Add:` + fmt.Sprintf("%v", this.Add) + `,`,
  13526. `Drop:` + fmt.Sprintf("%v", this.Drop) + `,`,
  13527. `}`,
  13528. }, "")
  13529. return s
  13530. }
  13531. func (this *CephFSPersistentVolumeSource) String() string {
  13532. if this == nil {
  13533. return "nil"
  13534. }
  13535. s := strings.Join([]string{`&CephFSPersistentVolumeSource{`,
  13536. `Monitors:` + fmt.Sprintf("%v", this.Monitors) + `,`,
  13537. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  13538. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  13539. `SecretFile:` + fmt.Sprintf("%v", this.SecretFile) + `,`,
  13540. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  13541. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13542. `}`,
  13543. }, "")
  13544. return s
  13545. }
  13546. func (this *CephFSVolumeSource) String() string {
  13547. if this == nil {
  13548. return "nil"
  13549. }
  13550. s := strings.Join([]string{`&CephFSVolumeSource{`,
  13551. `Monitors:` + fmt.Sprintf("%v", this.Monitors) + `,`,
  13552. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  13553. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  13554. `SecretFile:` + fmt.Sprintf("%v", this.SecretFile) + `,`,
  13555. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  13556. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13557. `}`,
  13558. }, "")
  13559. return s
  13560. }
  13561. func (this *CinderVolumeSource) String() string {
  13562. if this == nil {
  13563. return "nil"
  13564. }
  13565. s := strings.Join([]string{`&CinderVolumeSource{`,
  13566. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  13567. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  13568. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  13569. `}`,
  13570. }, "")
  13571. return s
  13572. }
  13573. func (this *ClientIPConfig) String() string {
  13574. if this == nil {
  13575. return "nil"
  13576. }
  13577. s := strings.Join([]string{`&ClientIPConfig{`,
  13578. `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
  13579. `}`,
  13580. }, "")
  13581. return s
  13582. }
  13583. func (this *ComponentCondition) String() string {
  13584. if this == nil {
  13585. return "nil"
  13586. }
  13587. s := strings.Join([]string{`&ComponentCondition{`,
  13588. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  13589. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  13590. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  13591. `Error:` + fmt.Sprintf("%v", this.Error) + `,`,
  13592. `}`,
  13593. }, "")
  13594. return s
  13595. }
  13596. func (this *ComponentStatus) String() string {
  13597. if this == nil {
  13598. return "nil"
  13599. }
  13600. s := strings.Join([]string{`&ComponentStatus{`,
  13601. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13602. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ComponentCondition", "ComponentCondition", 1), `&`, ``, 1) + `,`,
  13603. `}`,
  13604. }, "")
  13605. return s
  13606. }
  13607. func (this *ComponentStatusList) String() string {
  13608. if this == nil {
  13609. return "nil"
  13610. }
  13611. s := strings.Join([]string{`&ComponentStatusList{`,
  13612. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13613. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ComponentStatus", "ComponentStatus", 1), `&`, ``, 1) + `,`,
  13614. `}`,
  13615. }, "")
  13616. return s
  13617. }
  13618. func (this *ConfigMap) String() string {
  13619. if this == nil {
  13620. return "nil"
  13621. }
  13622. keysForData := make([]string, 0, len(this.Data))
  13623. for k := range this.Data {
  13624. keysForData = append(keysForData, k)
  13625. }
  13626. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  13627. mapStringForData := "map[string]string{"
  13628. for _, k := range keysForData {
  13629. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  13630. }
  13631. mapStringForData += "}"
  13632. keysForBinaryData := make([]string, 0, len(this.BinaryData))
  13633. for k := range this.BinaryData {
  13634. keysForBinaryData = append(keysForBinaryData, k)
  13635. }
  13636. github_com_gogo_protobuf_sortkeys.Strings(keysForBinaryData)
  13637. mapStringForBinaryData := "map[string][]byte{"
  13638. for _, k := range keysForBinaryData {
  13639. mapStringForBinaryData += fmt.Sprintf("%v: %v,", k, this.BinaryData[k])
  13640. }
  13641. mapStringForBinaryData += "}"
  13642. s := strings.Join([]string{`&ConfigMap{`,
  13643. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13644. `Data:` + mapStringForData + `,`,
  13645. `BinaryData:` + mapStringForBinaryData + `,`,
  13646. `}`,
  13647. }, "")
  13648. return s
  13649. }
  13650. func (this *ConfigMapEnvSource) String() string {
  13651. if this == nil {
  13652. return "nil"
  13653. }
  13654. s := strings.Join([]string{`&ConfigMapEnvSource{`,
  13655. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13656. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13657. `}`,
  13658. }, "")
  13659. return s
  13660. }
  13661. func (this *ConfigMapKeySelector) String() string {
  13662. if this == nil {
  13663. return "nil"
  13664. }
  13665. s := strings.Join([]string{`&ConfigMapKeySelector{`,
  13666. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13667. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  13668. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13669. `}`,
  13670. }, "")
  13671. return s
  13672. }
  13673. func (this *ConfigMapList) String() string {
  13674. if this == nil {
  13675. return "nil"
  13676. }
  13677. s := strings.Join([]string{`&ConfigMapList{`,
  13678. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13679. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ConfigMap", "ConfigMap", 1), `&`, ``, 1) + `,`,
  13680. `}`,
  13681. }, "")
  13682. return s
  13683. }
  13684. func (this *ConfigMapProjection) String() string {
  13685. if this == nil {
  13686. return "nil"
  13687. }
  13688. s := strings.Join([]string{`&ConfigMapProjection{`,
  13689. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13690. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  13691. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13692. `}`,
  13693. }, "")
  13694. return s
  13695. }
  13696. func (this *ConfigMapVolumeSource) String() string {
  13697. if this == nil {
  13698. return "nil"
  13699. }
  13700. s := strings.Join([]string{`&ConfigMapVolumeSource{`,
  13701. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  13702. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  13703. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  13704. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  13705. `}`,
  13706. }, "")
  13707. return s
  13708. }
  13709. func (this *Container) String() string {
  13710. if this == nil {
  13711. return "nil"
  13712. }
  13713. s := strings.Join([]string{`&Container{`,
  13714. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13715. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  13716. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  13717. `Args:` + fmt.Sprintf("%v", this.Args) + `,`,
  13718. `WorkingDir:` + fmt.Sprintf("%v", this.WorkingDir) + `,`,
  13719. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ContainerPort", "ContainerPort", 1), `&`, ``, 1) + `,`,
  13720. `Env:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Env), "EnvVar", "EnvVar", 1), `&`, ``, 1) + `,`,
  13721. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  13722. `VolumeMounts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeMounts), "VolumeMount", "VolumeMount", 1), `&`, ``, 1) + `,`,
  13723. `LivenessProbe:` + strings.Replace(fmt.Sprintf("%v", this.LivenessProbe), "Probe", "Probe", 1) + `,`,
  13724. `ReadinessProbe:` + strings.Replace(fmt.Sprintf("%v", this.ReadinessProbe), "Probe", "Probe", 1) + `,`,
  13725. `Lifecycle:` + strings.Replace(fmt.Sprintf("%v", this.Lifecycle), "Lifecycle", "Lifecycle", 1) + `,`,
  13726. `TerminationMessagePath:` + fmt.Sprintf("%v", this.TerminationMessagePath) + `,`,
  13727. `ImagePullPolicy:` + fmt.Sprintf("%v", this.ImagePullPolicy) + `,`,
  13728. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "SecurityContext", "SecurityContext", 1) + `,`,
  13729. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  13730. `StdinOnce:` + fmt.Sprintf("%v", this.StdinOnce) + `,`,
  13731. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  13732. `EnvFrom:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.EnvFrom), "EnvFromSource", "EnvFromSource", 1), `&`, ``, 1) + `,`,
  13733. `TerminationMessagePolicy:` + fmt.Sprintf("%v", this.TerminationMessagePolicy) + `,`,
  13734. `VolumeDevices:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeDevices), "VolumeDevice", "VolumeDevice", 1), `&`, ``, 1) + `,`,
  13735. `}`,
  13736. }, "")
  13737. return s
  13738. }
  13739. func (this *ContainerImage) String() string {
  13740. if this == nil {
  13741. return "nil"
  13742. }
  13743. s := strings.Join([]string{`&ContainerImage{`,
  13744. `Names:` + fmt.Sprintf("%v", this.Names) + `,`,
  13745. `SizeBytes:` + fmt.Sprintf("%v", this.SizeBytes) + `,`,
  13746. `}`,
  13747. }, "")
  13748. return s
  13749. }
  13750. func (this *ContainerPort) String() string {
  13751. if this == nil {
  13752. return "nil"
  13753. }
  13754. s := strings.Join([]string{`&ContainerPort{`,
  13755. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13756. `HostPort:` + fmt.Sprintf("%v", this.HostPort) + `,`,
  13757. `ContainerPort:` + fmt.Sprintf("%v", this.ContainerPort) + `,`,
  13758. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  13759. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  13760. `}`,
  13761. }, "")
  13762. return s
  13763. }
  13764. func (this *ContainerState) String() string {
  13765. if this == nil {
  13766. return "nil"
  13767. }
  13768. s := strings.Join([]string{`&ContainerState{`,
  13769. `Waiting:` + strings.Replace(fmt.Sprintf("%v", this.Waiting), "ContainerStateWaiting", "ContainerStateWaiting", 1) + `,`,
  13770. `Running:` + strings.Replace(fmt.Sprintf("%v", this.Running), "ContainerStateRunning", "ContainerStateRunning", 1) + `,`,
  13771. `Terminated:` + strings.Replace(fmt.Sprintf("%v", this.Terminated), "ContainerStateTerminated", "ContainerStateTerminated", 1) + `,`,
  13772. `}`,
  13773. }, "")
  13774. return s
  13775. }
  13776. func (this *ContainerStateRunning) String() string {
  13777. if this == nil {
  13778. return "nil"
  13779. }
  13780. s := strings.Join([]string{`&ContainerStateRunning{`,
  13781. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  13782. `}`,
  13783. }, "")
  13784. return s
  13785. }
  13786. func (this *ContainerStateTerminated) String() string {
  13787. if this == nil {
  13788. return "nil"
  13789. }
  13790. s := strings.Join([]string{`&ContainerStateTerminated{`,
  13791. `ExitCode:` + fmt.Sprintf("%v", this.ExitCode) + `,`,
  13792. `Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
  13793. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  13794. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  13795. `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  13796. `FinishedAt:` + strings.Replace(strings.Replace(this.FinishedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  13797. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  13798. `}`,
  13799. }, "")
  13800. return s
  13801. }
  13802. func (this *ContainerStateWaiting) String() string {
  13803. if this == nil {
  13804. return "nil"
  13805. }
  13806. s := strings.Join([]string{`&ContainerStateWaiting{`,
  13807. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  13808. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  13809. `}`,
  13810. }, "")
  13811. return s
  13812. }
  13813. func (this *ContainerStatus) String() string {
  13814. if this == nil {
  13815. return "nil"
  13816. }
  13817. s := strings.Join([]string{`&ContainerStatus{`,
  13818. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13819. `State:` + strings.Replace(strings.Replace(this.State.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  13820. `LastTerminationState:` + strings.Replace(strings.Replace(this.LastTerminationState.String(), "ContainerState", "ContainerState", 1), `&`, ``, 1) + `,`,
  13821. `Ready:` + fmt.Sprintf("%v", this.Ready) + `,`,
  13822. `RestartCount:` + fmt.Sprintf("%v", this.RestartCount) + `,`,
  13823. `Image:` + fmt.Sprintf("%v", this.Image) + `,`,
  13824. `ImageID:` + fmt.Sprintf("%v", this.ImageID) + `,`,
  13825. `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
  13826. `}`,
  13827. }, "")
  13828. return s
  13829. }
  13830. func (this *DaemonEndpoint) String() string {
  13831. if this == nil {
  13832. return "nil"
  13833. }
  13834. s := strings.Join([]string{`&DaemonEndpoint{`,
  13835. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  13836. `}`,
  13837. }, "")
  13838. return s
  13839. }
  13840. func (this *DeleteOptions) String() string {
  13841. if this == nil {
  13842. return "nil"
  13843. }
  13844. s := strings.Join([]string{`&DeleteOptions{`,
  13845. `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`,
  13846. `Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`,
  13847. `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`,
  13848. `PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`,
  13849. `}`,
  13850. }, "")
  13851. return s
  13852. }
  13853. func (this *DownwardAPIProjection) String() string {
  13854. if this == nil {
  13855. return "nil"
  13856. }
  13857. s := strings.Join([]string{`&DownwardAPIProjection{`,
  13858. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DownwardAPIVolumeFile", "DownwardAPIVolumeFile", 1), `&`, ``, 1) + `,`,
  13859. `}`,
  13860. }, "")
  13861. return s
  13862. }
  13863. func (this *DownwardAPIVolumeFile) String() string {
  13864. if this == nil {
  13865. return "nil"
  13866. }
  13867. s := strings.Join([]string{`&DownwardAPIVolumeFile{`,
  13868. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  13869. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  13870. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  13871. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  13872. `}`,
  13873. }, "")
  13874. return s
  13875. }
  13876. func (this *DownwardAPIVolumeSource) String() string {
  13877. if this == nil {
  13878. return "nil"
  13879. }
  13880. s := strings.Join([]string{`&DownwardAPIVolumeSource{`,
  13881. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DownwardAPIVolumeFile", "DownwardAPIVolumeFile", 1), `&`, ``, 1) + `,`,
  13882. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  13883. `}`,
  13884. }, "")
  13885. return s
  13886. }
  13887. func (this *EmptyDirVolumeSource) String() string {
  13888. if this == nil {
  13889. return "nil"
  13890. }
  13891. s := strings.Join([]string{`&EmptyDirVolumeSource{`,
  13892. `Medium:` + fmt.Sprintf("%v", this.Medium) + `,`,
  13893. `SizeLimit:` + strings.Replace(fmt.Sprintf("%v", this.SizeLimit), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
  13894. `}`,
  13895. }, "")
  13896. return s
  13897. }
  13898. func (this *EndpointAddress) String() string {
  13899. if this == nil {
  13900. return "nil"
  13901. }
  13902. s := strings.Join([]string{`&EndpointAddress{`,
  13903. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  13904. `TargetRef:` + strings.Replace(fmt.Sprintf("%v", this.TargetRef), "ObjectReference", "ObjectReference", 1) + `,`,
  13905. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  13906. `NodeName:` + valueToStringGenerated(this.NodeName) + `,`,
  13907. `}`,
  13908. }, "")
  13909. return s
  13910. }
  13911. func (this *EndpointPort) String() string {
  13912. if this == nil {
  13913. return "nil"
  13914. }
  13915. s := strings.Join([]string{`&EndpointPort{`,
  13916. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13917. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  13918. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  13919. `}`,
  13920. }, "")
  13921. return s
  13922. }
  13923. func (this *EndpointSubset) String() string {
  13924. if this == nil {
  13925. return "nil"
  13926. }
  13927. s := strings.Join([]string{`&EndpointSubset{`,
  13928. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  13929. `NotReadyAddresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NotReadyAddresses), "EndpointAddress", "EndpointAddress", 1), `&`, ``, 1) + `,`,
  13930. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "EndpointPort", "EndpointPort", 1), `&`, ``, 1) + `,`,
  13931. `}`,
  13932. }, "")
  13933. return s
  13934. }
  13935. func (this *Endpoints) String() string {
  13936. if this == nil {
  13937. return "nil"
  13938. }
  13939. s := strings.Join([]string{`&Endpoints{`,
  13940. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  13941. `Subsets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subsets), "EndpointSubset", "EndpointSubset", 1), `&`, ``, 1) + `,`,
  13942. `}`,
  13943. }, "")
  13944. return s
  13945. }
  13946. func (this *EndpointsList) String() string {
  13947. if this == nil {
  13948. return "nil"
  13949. }
  13950. s := strings.Join([]string{`&EndpointsList{`,
  13951. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  13952. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Endpoints", "Endpoints", 1), `&`, ``, 1) + `,`,
  13953. `}`,
  13954. }, "")
  13955. return s
  13956. }
  13957. func (this *EnvFromSource) String() string {
  13958. if this == nil {
  13959. return "nil"
  13960. }
  13961. s := strings.Join([]string{`&EnvFromSource{`,
  13962. `Prefix:` + fmt.Sprintf("%v", this.Prefix) + `,`,
  13963. `ConfigMapRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapRef), "ConfigMapEnvSource", "ConfigMapEnvSource", 1) + `,`,
  13964. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretEnvSource", "SecretEnvSource", 1) + `,`,
  13965. `}`,
  13966. }, "")
  13967. return s
  13968. }
  13969. func (this *EnvVar) String() string {
  13970. if this == nil {
  13971. return "nil"
  13972. }
  13973. s := strings.Join([]string{`&EnvVar{`,
  13974. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  13975. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  13976. `ValueFrom:` + strings.Replace(fmt.Sprintf("%v", this.ValueFrom), "EnvVarSource", "EnvVarSource", 1) + `,`,
  13977. `}`,
  13978. }, "")
  13979. return s
  13980. }
  13981. func (this *EnvVarSource) String() string {
  13982. if this == nil {
  13983. return "nil"
  13984. }
  13985. s := strings.Join([]string{`&EnvVarSource{`,
  13986. `FieldRef:` + strings.Replace(fmt.Sprintf("%v", this.FieldRef), "ObjectFieldSelector", "ObjectFieldSelector", 1) + `,`,
  13987. `ResourceFieldRef:` + strings.Replace(fmt.Sprintf("%v", this.ResourceFieldRef), "ResourceFieldSelector", "ResourceFieldSelector", 1) + `,`,
  13988. `ConfigMapKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapKeyRef), "ConfigMapKeySelector", "ConfigMapKeySelector", 1) + `,`,
  13989. `SecretKeyRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretKeyRef), "SecretKeySelector", "SecretKeySelector", 1) + `,`,
  13990. `}`,
  13991. }, "")
  13992. return s
  13993. }
  13994. func (this *Event) String() string {
  13995. if this == nil {
  13996. return "nil"
  13997. }
  13998. s := strings.Join([]string{`&Event{`,
  13999. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14000. `InvolvedObject:` + strings.Replace(strings.Replace(this.InvolvedObject.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  14001. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  14002. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14003. `Source:` + strings.Replace(strings.Replace(this.Source.String(), "EventSource", "EventSource", 1), `&`, ``, 1) + `,`,
  14004. `FirstTimestamp:` + strings.Replace(strings.Replace(this.FirstTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14005. `LastTimestamp:` + strings.Replace(strings.Replace(this.LastTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14006. `Count:` + fmt.Sprintf("%v", this.Count) + `,`,
  14007. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14008. `EventTime:` + strings.Replace(strings.Replace(this.EventTime.String(), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1), `&`, ``, 1) + `,`,
  14009. `Series:` + strings.Replace(fmt.Sprintf("%v", this.Series), "EventSeries", "EventSeries", 1) + `,`,
  14010. `Action:` + fmt.Sprintf("%v", this.Action) + `,`,
  14011. `Related:` + strings.Replace(fmt.Sprintf("%v", this.Related), "ObjectReference", "ObjectReference", 1) + `,`,
  14012. `ReportingController:` + fmt.Sprintf("%v", this.ReportingController) + `,`,
  14013. `ReportingInstance:` + fmt.Sprintf("%v", this.ReportingInstance) + `,`,
  14014. `}`,
  14015. }, "")
  14016. return s
  14017. }
  14018. func (this *EventList) String() string {
  14019. if this == nil {
  14020. return "nil"
  14021. }
  14022. s := strings.Join([]string{`&EventList{`,
  14023. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14024. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Event", "Event", 1), `&`, ``, 1) + `,`,
  14025. `}`,
  14026. }, "")
  14027. return s
  14028. }
  14029. func (this *EventSeries) String() string {
  14030. if this == nil {
  14031. return "nil"
  14032. }
  14033. s := strings.Join([]string{`&EventSeries{`,
  14034. `Count:` + fmt.Sprintf("%v", this.Count) + `,`,
  14035. `LastObservedTime:` + strings.Replace(strings.Replace(this.LastObservedTime.String(), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1), `&`, ``, 1) + `,`,
  14036. `State:` + fmt.Sprintf("%v", this.State) + `,`,
  14037. `}`,
  14038. }, "")
  14039. return s
  14040. }
  14041. func (this *EventSource) String() string {
  14042. if this == nil {
  14043. return "nil"
  14044. }
  14045. s := strings.Join([]string{`&EventSource{`,
  14046. `Component:` + fmt.Sprintf("%v", this.Component) + `,`,
  14047. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  14048. `}`,
  14049. }, "")
  14050. return s
  14051. }
  14052. func (this *ExecAction) String() string {
  14053. if this == nil {
  14054. return "nil"
  14055. }
  14056. s := strings.Join([]string{`&ExecAction{`,
  14057. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  14058. `}`,
  14059. }, "")
  14060. return s
  14061. }
  14062. func (this *FCVolumeSource) String() string {
  14063. if this == nil {
  14064. return "nil"
  14065. }
  14066. s := strings.Join([]string{`&FCVolumeSource{`,
  14067. `TargetWWNs:` + fmt.Sprintf("%v", this.TargetWWNs) + `,`,
  14068. `Lun:` + valueToStringGenerated(this.Lun) + `,`,
  14069. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14070. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14071. `WWIDs:` + fmt.Sprintf("%v", this.WWIDs) + `,`,
  14072. `}`,
  14073. }, "")
  14074. return s
  14075. }
  14076. func (this *FlexPersistentVolumeSource) String() string {
  14077. if this == nil {
  14078. return "nil"
  14079. }
  14080. keysForOptions := make([]string, 0, len(this.Options))
  14081. for k := range this.Options {
  14082. keysForOptions = append(keysForOptions, k)
  14083. }
  14084. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  14085. mapStringForOptions := "map[string]string{"
  14086. for _, k := range keysForOptions {
  14087. mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
  14088. }
  14089. mapStringForOptions += "}"
  14090. s := strings.Join([]string{`&FlexPersistentVolumeSource{`,
  14091. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  14092. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14093. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14094. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14095. `Options:` + mapStringForOptions + `,`,
  14096. `}`,
  14097. }, "")
  14098. return s
  14099. }
  14100. func (this *FlexVolumeSource) String() string {
  14101. if this == nil {
  14102. return "nil"
  14103. }
  14104. keysForOptions := make([]string, 0, len(this.Options))
  14105. for k := range this.Options {
  14106. keysForOptions = append(keysForOptions, k)
  14107. }
  14108. github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
  14109. mapStringForOptions := "map[string]string{"
  14110. for _, k := range keysForOptions {
  14111. mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
  14112. }
  14113. mapStringForOptions += "}"
  14114. s := strings.Join([]string{`&FlexVolumeSource{`,
  14115. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  14116. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14117. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  14118. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14119. `Options:` + mapStringForOptions + `,`,
  14120. `}`,
  14121. }, "")
  14122. return s
  14123. }
  14124. func (this *FlockerVolumeSource) String() string {
  14125. if this == nil {
  14126. return "nil"
  14127. }
  14128. s := strings.Join([]string{`&FlockerVolumeSource{`,
  14129. `DatasetName:` + fmt.Sprintf("%v", this.DatasetName) + `,`,
  14130. `DatasetUUID:` + fmt.Sprintf("%v", this.DatasetUUID) + `,`,
  14131. `}`,
  14132. }, "")
  14133. return s
  14134. }
  14135. func (this *GCEPersistentDiskVolumeSource) String() string {
  14136. if this == nil {
  14137. return "nil"
  14138. }
  14139. s := strings.Join([]string{`&GCEPersistentDiskVolumeSource{`,
  14140. `PDName:` + fmt.Sprintf("%v", this.PDName) + `,`,
  14141. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14142. `Partition:` + fmt.Sprintf("%v", this.Partition) + `,`,
  14143. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14144. `}`,
  14145. }, "")
  14146. return s
  14147. }
  14148. func (this *GitRepoVolumeSource) String() string {
  14149. if this == nil {
  14150. return "nil"
  14151. }
  14152. s := strings.Join([]string{`&GitRepoVolumeSource{`,
  14153. `Repository:` + fmt.Sprintf("%v", this.Repository) + `,`,
  14154. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  14155. `Directory:` + fmt.Sprintf("%v", this.Directory) + `,`,
  14156. `}`,
  14157. }, "")
  14158. return s
  14159. }
  14160. func (this *GlusterfsVolumeSource) String() string {
  14161. if this == nil {
  14162. return "nil"
  14163. }
  14164. s := strings.Join([]string{`&GlusterfsVolumeSource{`,
  14165. `EndpointsName:` + fmt.Sprintf("%v", this.EndpointsName) + `,`,
  14166. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14167. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14168. `}`,
  14169. }, "")
  14170. return s
  14171. }
  14172. func (this *HTTPGetAction) String() string {
  14173. if this == nil {
  14174. return "nil"
  14175. }
  14176. s := strings.Join([]string{`&HTTPGetAction{`,
  14177. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14178. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  14179. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  14180. `Scheme:` + fmt.Sprintf("%v", this.Scheme) + `,`,
  14181. `HTTPHeaders:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HTTPHeaders), "HTTPHeader", "HTTPHeader", 1), `&`, ``, 1) + `,`,
  14182. `}`,
  14183. }, "")
  14184. return s
  14185. }
  14186. func (this *HTTPHeader) String() string {
  14187. if this == nil {
  14188. return "nil"
  14189. }
  14190. s := strings.Join([]string{`&HTTPHeader{`,
  14191. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14192. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  14193. `}`,
  14194. }, "")
  14195. return s
  14196. }
  14197. func (this *Handler) String() string {
  14198. if this == nil {
  14199. return "nil"
  14200. }
  14201. s := strings.Join([]string{`&Handler{`,
  14202. `Exec:` + strings.Replace(fmt.Sprintf("%v", this.Exec), "ExecAction", "ExecAction", 1) + `,`,
  14203. `HTTPGet:` + strings.Replace(fmt.Sprintf("%v", this.HTTPGet), "HTTPGetAction", "HTTPGetAction", 1) + `,`,
  14204. `TCPSocket:` + strings.Replace(fmt.Sprintf("%v", this.TCPSocket), "TCPSocketAction", "TCPSocketAction", 1) + `,`,
  14205. `}`,
  14206. }, "")
  14207. return s
  14208. }
  14209. func (this *HostAlias) String() string {
  14210. if this == nil {
  14211. return "nil"
  14212. }
  14213. s := strings.Join([]string{`&HostAlias{`,
  14214. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  14215. `Hostnames:` + fmt.Sprintf("%v", this.Hostnames) + `,`,
  14216. `}`,
  14217. }, "")
  14218. return s
  14219. }
  14220. func (this *HostPathVolumeSource) String() string {
  14221. if this == nil {
  14222. return "nil"
  14223. }
  14224. s := strings.Join([]string{`&HostPathVolumeSource{`,
  14225. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14226. `Type:` + valueToStringGenerated(this.Type) + `,`,
  14227. `}`,
  14228. }, "")
  14229. return s
  14230. }
  14231. func (this *ISCSIPersistentVolumeSource) String() string {
  14232. if this == nil {
  14233. return "nil"
  14234. }
  14235. s := strings.Join([]string{`&ISCSIPersistentVolumeSource{`,
  14236. `TargetPortal:` + fmt.Sprintf("%v", this.TargetPortal) + `,`,
  14237. `IQN:` + fmt.Sprintf("%v", this.IQN) + `,`,
  14238. `Lun:` + fmt.Sprintf("%v", this.Lun) + `,`,
  14239. `ISCSIInterface:` + fmt.Sprintf("%v", this.ISCSIInterface) + `,`,
  14240. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14241. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14242. `Portals:` + fmt.Sprintf("%v", this.Portals) + `,`,
  14243. `DiscoveryCHAPAuth:` + fmt.Sprintf("%v", this.DiscoveryCHAPAuth) + `,`,
  14244. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  14245. `SessionCHAPAuth:` + fmt.Sprintf("%v", this.SessionCHAPAuth) + `,`,
  14246. `InitiatorName:` + valueToStringGenerated(this.InitiatorName) + `,`,
  14247. `}`,
  14248. }, "")
  14249. return s
  14250. }
  14251. func (this *ISCSIVolumeSource) String() string {
  14252. if this == nil {
  14253. return "nil"
  14254. }
  14255. s := strings.Join([]string{`&ISCSIVolumeSource{`,
  14256. `TargetPortal:` + fmt.Sprintf("%v", this.TargetPortal) + `,`,
  14257. `IQN:` + fmt.Sprintf("%v", this.IQN) + `,`,
  14258. `Lun:` + fmt.Sprintf("%v", this.Lun) + `,`,
  14259. `ISCSIInterface:` + fmt.Sprintf("%v", this.ISCSIInterface) + `,`,
  14260. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14261. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14262. `Portals:` + fmt.Sprintf("%v", this.Portals) + `,`,
  14263. `DiscoveryCHAPAuth:` + fmt.Sprintf("%v", this.DiscoveryCHAPAuth) + `,`,
  14264. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  14265. `SessionCHAPAuth:` + fmt.Sprintf("%v", this.SessionCHAPAuth) + `,`,
  14266. `InitiatorName:` + valueToStringGenerated(this.InitiatorName) + `,`,
  14267. `}`,
  14268. }, "")
  14269. return s
  14270. }
  14271. func (this *KeyToPath) String() string {
  14272. if this == nil {
  14273. return "nil"
  14274. }
  14275. s := strings.Join([]string{`&KeyToPath{`,
  14276. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  14277. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14278. `Mode:` + valueToStringGenerated(this.Mode) + `,`,
  14279. `}`,
  14280. }, "")
  14281. return s
  14282. }
  14283. func (this *Lifecycle) String() string {
  14284. if this == nil {
  14285. return "nil"
  14286. }
  14287. s := strings.Join([]string{`&Lifecycle{`,
  14288. `PostStart:` + strings.Replace(fmt.Sprintf("%v", this.PostStart), "Handler", "Handler", 1) + `,`,
  14289. `PreStop:` + strings.Replace(fmt.Sprintf("%v", this.PreStop), "Handler", "Handler", 1) + `,`,
  14290. `}`,
  14291. }, "")
  14292. return s
  14293. }
  14294. func (this *LimitRange) String() string {
  14295. if this == nil {
  14296. return "nil"
  14297. }
  14298. s := strings.Join([]string{`&LimitRange{`,
  14299. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14300. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "LimitRangeSpec", "LimitRangeSpec", 1), `&`, ``, 1) + `,`,
  14301. `}`,
  14302. }, "")
  14303. return s
  14304. }
  14305. func (this *LimitRangeItem) String() string {
  14306. if this == nil {
  14307. return "nil"
  14308. }
  14309. keysForMax := make([]string, 0, len(this.Max))
  14310. for k := range this.Max {
  14311. keysForMax = append(keysForMax, string(k))
  14312. }
  14313. github_com_gogo_protobuf_sortkeys.Strings(keysForMax)
  14314. mapStringForMax := "ResourceList{"
  14315. for _, k := range keysForMax {
  14316. mapStringForMax += fmt.Sprintf("%v: %v,", k, this.Max[ResourceName(k)])
  14317. }
  14318. mapStringForMax += "}"
  14319. keysForMin := make([]string, 0, len(this.Min))
  14320. for k := range this.Min {
  14321. keysForMin = append(keysForMin, string(k))
  14322. }
  14323. github_com_gogo_protobuf_sortkeys.Strings(keysForMin)
  14324. mapStringForMin := "ResourceList{"
  14325. for _, k := range keysForMin {
  14326. mapStringForMin += fmt.Sprintf("%v: %v,", k, this.Min[ResourceName(k)])
  14327. }
  14328. mapStringForMin += "}"
  14329. keysForDefault := make([]string, 0, len(this.Default))
  14330. for k := range this.Default {
  14331. keysForDefault = append(keysForDefault, string(k))
  14332. }
  14333. github_com_gogo_protobuf_sortkeys.Strings(keysForDefault)
  14334. mapStringForDefault := "ResourceList{"
  14335. for _, k := range keysForDefault {
  14336. mapStringForDefault += fmt.Sprintf("%v: %v,", k, this.Default[ResourceName(k)])
  14337. }
  14338. mapStringForDefault += "}"
  14339. keysForDefaultRequest := make([]string, 0, len(this.DefaultRequest))
  14340. for k := range this.DefaultRequest {
  14341. keysForDefaultRequest = append(keysForDefaultRequest, string(k))
  14342. }
  14343. github_com_gogo_protobuf_sortkeys.Strings(keysForDefaultRequest)
  14344. mapStringForDefaultRequest := "ResourceList{"
  14345. for _, k := range keysForDefaultRequest {
  14346. mapStringForDefaultRequest += fmt.Sprintf("%v: %v,", k, this.DefaultRequest[ResourceName(k)])
  14347. }
  14348. mapStringForDefaultRequest += "}"
  14349. keysForMaxLimitRequestRatio := make([]string, 0, len(this.MaxLimitRequestRatio))
  14350. for k := range this.MaxLimitRequestRatio {
  14351. keysForMaxLimitRequestRatio = append(keysForMaxLimitRequestRatio, string(k))
  14352. }
  14353. github_com_gogo_protobuf_sortkeys.Strings(keysForMaxLimitRequestRatio)
  14354. mapStringForMaxLimitRequestRatio := "ResourceList{"
  14355. for _, k := range keysForMaxLimitRequestRatio {
  14356. mapStringForMaxLimitRequestRatio += fmt.Sprintf("%v: %v,", k, this.MaxLimitRequestRatio[ResourceName(k)])
  14357. }
  14358. mapStringForMaxLimitRequestRatio += "}"
  14359. s := strings.Join([]string{`&LimitRangeItem{`,
  14360. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14361. `Max:` + mapStringForMax + `,`,
  14362. `Min:` + mapStringForMin + `,`,
  14363. `Default:` + mapStringForDefault + `,`,
  14364. `DefaultRequest:` + mapStringForDefaultRequest + `,`,
  14365. `MaxLimitRequestRatio:` + mapStringForMaxLimitRequestRatio + `,`,
  14366. `}`,
  14367. }, "")
  14368. return s
  14369. }
  14370. func (this *LimitRangeList) String() string {
  14371. if this == nil {
  14372. return "nil"
  14373. }
  14374. s := strings.Join([]string{`&LimitRangeList{`,
  14375. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14376. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "LimitRange", "LimitRange", 1), `&`, ``, 1) + `,`,
  14377. `}`,
  14378. }, "")
  14379. return s
  14380. }
  14381. func (this *LimitRangeSpec) String() string {
  14382. if this == nil {
  14383. return "nil"
  14384. }
  14385. s := strings.Join([]string{`&LimitRangeSpec{`,
  14386. `Limits:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Limits), "LimitRangeItem", "LimitRangeItem", 1), `&`, ``, 1) + `,`,
  14387. `}`,
  14388. }, "")
  14389. return s
  14390. }
  14391. func (this *List) String() string {
  14392. if this == nil {
  14393. return "nil"
  14394. }
  14395. s := strings.Join([]string{`&List{`,
  14396. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14397. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  14398. `}`,
  14399. }, "")
  14400. return s
  14401. }
  14402. func (this *ListOptions) String() string {
  14403. if this == nil {
  14404. return "nil"
  14405. }
  14406. s := strings.Join([]string{`&ListOptions{`,
  14407. `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
  14408. `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`,
  14409. `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`,
  14410. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  14411. `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
  14412. `IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
  14413. `}`,
  14414. }, "")
  14415. return s
  14416. }
  14417. func (this *LoadBalancerIngress) String() string {
  14418. if this == nil {
  14419. return "nil"
  14420. }
  14421. s := strings.Join([]string{`&LoadBalancerIngress{`,
  14422. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  14423. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  14424. `}`,
  14425. }, "")
  14426. return s
  14427. }
  14428. func (this *LoadBalancerStatus) String() string {
  14429. if this == nil {
  14430. return "nil"
  14431. }
  14432. s := strings.Join([]string{`&LoadBalancerStatus{`,
  14433. `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "LoadBalancerIngress", "LoadBalancerIngress", 1), `&`, ``, 1) + `,`,
  14434. `}`,
  14435. }, "")
  14436. return s
  14437. }
  14438. func (this *LocalObjectReference) String() string {
  14439. if this == nil {
  14440. return "nil"
  14441. }
  14442. s := strings.Join([]string{`&LocalObjectReference{`,
  14443. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14444. `}`,
  14445. }, "")
  14446. return s
  14447. }
  14448. func (this *LocalVolumeSource) String() string {
  14449. if this == nil {
  14450. return "nil"
  14451. }
  14452. s := strings.Join([]string{`&LocalVolumeSource{`,
  14453. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14454. `}`,
  14455. }, "")
  14456. return s
  14457. }
  14458. func (this *NFSVolumeSource) String() string {
  14459. if this == nil {
  14460. return "nil"
  14461. }
  14462. s := strings.Join([]string{`&NFSVolumeSource{`,
  14463. `Server:` + fmt.Sprintf("%v", this.Server) + `,`,
  14464. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14465. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14466. `}`,
  14467. }, "")
  14468. return s
  14469. }
  14470. func (this *Namespace) String() string {
  14471. if this == nil {
  14472. return "nil"
  14473. }
  14474. s := strings.Join([]string{`&Namespace{`,
  14475. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14476. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NamespaceSpec", "NamespaceSpec", 1), `&`, ``, 1) + `,`,
  14477. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NamespaceStatus", "NamespaceStatus", 1), `&`, ``, 1) + `,`,
  14478. `}`,
  14479. }, "")
  14480. return s
  14481. }
  14482. func (this *NamespaceList) String() string {
  14483. if this == nil {
  14484. return "nil"
  14485. }
  14486. s := strings.Join([]string{`&NamespaceList{`,
  14487. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14488. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Namespace", "Namespace", 1), `&`, ``, 1) + `,`,
  14489. `}`,
  14490. }, "")
  14491. return s
  14492. }
  14493. func (this *NamespaceSpec) String() string {
  14494. if this == nil {
  14495. return "nil"
  14496. }
  14497. s := strings.Join([]string{`&NamespaceSpec{`,
  14498. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  14499. `}`,
  14500. }, "")
  14501. return s
  14502. }
  14503. func (this *NamespaceStatus) String() string {
  14504. if this == nil {
  14505. return "nil"
  14506. }
  14507. s := strings.Join([]string{`&NamespaceStatus{`,
  14508. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  14509. `}`,
  14510. }, "")
  14511. return s
  14512. }
  14513. func (this *Node) String() string {
  14514. if this == nil {
  14515. return "nil"
  14516. }
  14517. s := strings.Join([]string{`&Node{`,
  14518. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14519. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NodeSpec", "NodeSpec", 1), `&`, ``, 1) + `,`,
  14520. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NodeStatus", "NodeStatus", 1), `&`, ``, 1) + `,`,
  14521. `}`,
  14522. }, "")
  14523. return s
  14524. }
  14525. func (this *NodeAddress) String() string {
  14526. if this == nil {
  14527. return "nil"
  14528. }
  14529. s := strings.Join([]string{`&NodeAddress{`,
  14530. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14531. `Address:` + fmt.Sprintf("%v", this.Address) + `,`,
  14532. `}`,
  14533. }, "")
  14534. return s
  14535. }
  14536. func (this *NodeAffinity) String() string {
  14537. if this == nil {
  14538. return "nil"
  14539. }
  14540. s := strings.Join([]string{`&NodeAffinity{`,
  14541. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "NodeSelector", "NodeSelector", 1) + `,`,
  14542. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "PreferredSchedulingTerm", "PreferredSchedulingTerm", 1), `&`, ``, 1) + `,`,
  14543. `}`,
  14544. }, "")
  14545. return s
  14546. }
  14547. func (this *NodeCondition) String() string {
  14548. if this == nil {
  14549. return "nil"
  14550. }
  14551. s := strings.Join([]string{`&NodeCondition{`,
  14552. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14553. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  14554. `LastHeartbeatTime:` + strings.Replace(strings.Replace(this.LastHeartbeatTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14555. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14556. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  14557. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14558. `}`,
  14559. }, "")
  14560. return s
  14561. }
  14562. func (this *NodeConfigSource) String() string {
  14563. if this == nil {
  14564. return "nil"
  14565. }
  14566. s := strings.Join([]string{`&NodeConfigSource{`,
  14567. `ConfigMapRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapRef), "ObjectReference", "ObjectReference", 1) + `,`,
  14568. `}`,
  14569. }, "")
  14570. return s
  14571. }
  14572. func (this *NodeDaemonEndpoints) String() string {
  14573. if this == nil {
  14574. return "nil"
  14575. }
  14576. s := strings.Join([]string{`&NodeDaemonEndpoints{`,
  14577. `KubeletEndpoint:` + strings.Replace(strings.Replace(this.KubeletEndpoint.String(), "DaemonEndpoint", "DaemonEndpoint", 1), `&`, ``, 1) + `,`,
  14578. `}`,
  14579. }, "")
  14580. return s
  14581. }
  14582. func (this *NodeList) String() string {
  14583. if this == nil {
  14584. return "nil"
  14585. }
  14586. s := strings.Join([]string{`&NodeList{`,
  14587. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14588. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Node", "Node", 1), `&`, ``, 1) + `,`,
  14589. `}`,
  14590. }, "")
  14591. return s
  14592. }
  14593. func (this *NodeProxyOptions) String() string {
  14594. if this == nil {
  14595. return "nil"
  14596. }
  14597. s := strings.Join([]string{`&NodeProxyOptions{`,
  14598. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  14599. `}`,
  14600. }, "")
  14601. return s
  14602. }
  14603. func (this *NodeResources) String() string {
  14604. if this == nil {
  14605. return "nil"
  14606. }
  14607. keysForCapacity := make([]string, 0, len(this.Capacity))
  14608. for k := range this.Capacity {
  14609. keysForCapacity = append(keysForCapacity, string(k))
  14610. }
  14611. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  14612. mapStringForCapacity := "ResourceList{"
  14613. for _, k := range keysForCapacity {
  14614. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  14615. }
  14616. mapStringForCapacity += "}"
  14617. s := strings.Join([]string{`&NodeResources{`,
  14618. `Capacity:` + mapStringForCapacity + `,`,
  14619. `}`,
  14620. }, "")
  14621. return s
  14622. }
  14623. func (this *NodeSelector) String() string {
  14624. if this == nil {
  14625. return "nil"
  14626. }
  14627. s := strings.Join([]string{`&NodeSelector{`,
  14628. `NodeSelectorTerms:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.NodeSelectorTerms), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  14629. `}`,
  14630. }, "")
  14631. return s
  14632. }
  14633. func (this *NodeSelectorRequirement) String() string {
  14634. if this == nil {
  14635. return "nil"
  14636. }
  14637. s := strings.Join([]string{`&NodeSelectorRequirement{`,
  14638. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  14639. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  14640. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  14641. `}`,
  14642. }, "")
  14643. return s
  14644. }
  14645. func (this *NodeSelectorTerm) String() string {
  14646. if this == nil {
  14647. return "nil"
  14648. }
  14649. s := strings.Join([]string{`&NodeSelectorTerm{`,
  14650. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "NodeSelectorRequirement", "NodeSelectorRequirement", 1), `&`, ``, 1) + `,`,
  14651. `}`,
  14652. }, "")
  14653. return s
  14654. }
  14655. func (this *NodeSpec) String() string {
  14656. if this == nil {
  14657. return "nil"
  14658. }
  14659. s := strings.Join([]string{`&NodeSpec{`,
  14660. `PodCIDR:` + fmt.Sprintf("%v", this.PodCIDR) + `,`,
  14661. `ExternalID:` + fmt.Sprintf("%v", this.ExternalID) + `,`,
  14662. `ProviderID:` + fmt.Sprintf("%v", this.ProviderID) + `,`,
  14663. `Unschedulable:` + fmt.Sprintf("%v", this.Unschedulable) + `,`,
  14664. `Taints:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Taints), "Taint", "Taint", 1), `&`, ``, 1) + `,`,
  14665. `ConfigSource:` + strings.Replace(fmt.Sprintf("%v", this.ConfigSource), "NodeConfigSource", "NodeConfigSource", 1) + `,`,
  14666. `}`,
  14667. }, "")
  14668. return s
  14669. }
  14670. func (this *NodeStatus) String() string {
  14671. if this == nil {
  14672. return "nil"
  14673. }
  14674. keysForCapacity := make([]string, 0, len(this.Capacity))
  14675. for k := range this.Capacity {
  14676. keysForCapacity = append(keysForCapacity, string(k))
  14677. }
  14678. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  14679. mapStringForCapacity := "ResourceList{"
  14680. for _, k := range keysForCapacity {
  14681. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  14682. }
  14683. mapStringForCapacity += "}"
  14684. keysForAllocatable := make([]string, 0, len(this.Allocatable))
  14685. for k := range this.Allocatable {
  14686. keysForAllocatable = append(keysForAllocatable, string(k))
  14687. }
  14688. github_com_gogo_protobuf_sortkeys.Strings(keysForAllocatable)
  14689. mapStringForAllocatable := "ResourceList{"
  14690. for _, k := range keysForAllocatable {
  14691. mapStringForAllocatable += fmt.Sprintf("%v: %v,", k, this.Allocatable[ResourceName(k)])
  14692. }
  14693. mapStringForAllocatable += "}"
  14694. s := strings.Join([]string{`&NodeStatus{`,
  14695. `Capacity:` + mapStringForCapacity + `,`,
  14696. `Allocatable:` + mapStringForAllocatable + `,`,
  14697. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  14698. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "NodeCondition", "NodeCondition", 1), `&`, ``, 1) + `,`,
  14699. `Addresses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Addresses), "NodeAddress", "NodeAddress", 1), `&`, ``, 1) + `,`,
  14700. `DaemonEndpoints:` + strings.Replace(strings.Replace(this.DaemonEndpoints.String(), "NodeDaemonEndpoints", "NodeDaemonEndpoints", 1), `&`, ``, 1) + `,`,
  14701. `NodeInfo:` + strings.Replace(strings.Replace(this.NodeInfo.String(), "NodeSystemInfo", "NodeSystemInfo", 1), `&`, ``, 1) + `,`,
  14702. `Images:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Images), "ContainerImage", "ContainerImage", 1), `&`, ``, 1) + `,`,
  14703. `VolumesInUse:` + fmt.Sprintf("%v", this.VolumesInUse) + `,`,
  14704. `VolumesAttached:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumesAttached), "AttachedVolume", "AttachedVolume", 1), `&`, ``, 1) + `,`,
  14705. `}`,
  14706. }, "")
  14707. return s
  14708. }
  14709. func (this *NodeSystemInfo) String() string {
  14710. if this == nil {
  14711. return "nil"
  14712. }
  14713. s := strings.Join([]string{`&NodeSystemInfo{`,
  14714. `MachineID:` + fmt.Sprintf("%v", this.MachineID) + `,`,
  14715. `SystemUUID:` + fmt.Sprintf("%v", this.SystemUUID) + `,`,
  14716. `BootID:` + fmt.Sprintf("%v", this.BootID) + `,`,
  14717. `KernelVersion:` + fmt.Sprintf("%v", this.KernelVersion) + `,`,
  14718. `OSImage:` + fmt.Sprintf("%v", this.OSImage) + `,`,
  14719. `ContainerRuntimeVersion:` + fmt.Sprintf("%v", this.ContainerRuntimeVersion) + `,`,
  14720. `KubeletVersion:` + fmt.Sprintf("%v", this.KubeletVersion) + `,`,
  14721. `KubeProxyVersion:` + fmt.Sprintf("%v", this.KubeProxyVersion) + `,`,
  14722. `OperatingSystem:` + fmt.Sprintf("%v", this.OperatingSystem) + `,`,
  14723. `Architecture:` + fmt.Sprintf("%v", this.Architecture) + `,`,
  14724. `}`,
  14725. }, "")
  14726. return s
  14727. }
  14728. func (this *ObjectFieldSelector) String() string {
  14729. if this == nil {
  14730. return "nil"
  14731. }
  14732. s := strings.Join([]string{`&ObjectFieldSelector{`,
  14733. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  14734. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  14735. `}`,
  14736. }, "")
  14737. return s
  14738. }
  14739. func (this *ObjectMeta) String() string {
  14740. if this == nil {
  14741. return "nil"
  14742. }
  14743. keysForLabels := make([]string, 0, len(this.Labels))
  14744. for k := range this.Labels {
  14745. keysForLabels = append(keysForLabels, k)
  14746. }
  14747. github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
  14748. mapStringForLabels := "map[string]string{"
  14749. for _, k := range keysForLabels {
  14750. mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
  14751. }
  14752. mapStringForLabels += "}"
  14753. keysForAnnotations := make([]string, 0, len(this.Annotations))
  14754. for k := range this.Annotations {
  14755. keysForAnnotations = append(keysForAnnotations, k)
  14756. }
  14757. github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
  14758. mapStringForAnnotations := "map[string]string{"
  14759. for _, k := range keysForAnnotations {
  14760. mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
  14761. }
  14762. mapStringForAnnotations += "}"
  14763. s := strings.Join([]string{`&ObjectMeta{`,
  14764. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14765. `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`,
  14766. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  14767. `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
  14768. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  14769. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  14770. `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`,
  14771. `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14772. `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  14773. `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`,
  14774. `Labels:` + mapStringForLabels + `,`,
  14775. `Annotations:` + mapStringForAnnotations + `,`,
  14776. `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference", 1), `&`, ``, 1) + `,`,
  14777. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  14778. `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
  14779. `Initializers:` + strings.Replace(fmt.Sprintf("%v", this.Initializers), "Initializers", "k8s_io_apimachinery_pkg_apis_meta_v1.Initializers", 1) + `,`,
  14780. `}`,
  14781. }, "")
  14782. return s
  14783. }
  14784. func (this *ObjectReference) String() string {
  14785. if this == nil {
  14786. return "nil"
  14787. }
  14788. s := strings.Join([]string{`&ObjectReference{`,
  14789. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  14790. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  14791. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  14792. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  14793. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  14794. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  14795. `FieldPath:` + fmt.Sprintf("%v", this.FieldPath) + `,`,
  14796. `}`,
  14797. }, "")
  14798. return s
  14799. }
  14800. func (this *PersistentVolume) String() string {
  14801. if this == nil {
  14802. return "nil"
  14803. }
  14804. s := strings.Join([]string{`&PersistentVolume{`,
  14805. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14806. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeSpec", "PersistentVolumeSpec", 1), `&`, ``, 1) + `,`,
  14807. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeStatus", "PersistentVolumeStatus", 1), `&`, ``, 1) + `,`,
  14808. `}`,
  14809. }, "")
  14810. return s
  14811. }
  14812. func (this *PersistentVolumeClaim) String() string {
  14813. if this == nil {
  14814. return "nil"
  14815. }
  14816. s := strings.Join([]string{`&PersistentVolumeClaim{`,
  14817. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14818. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeClaimSpec", "PersistentVolumeClaimSpec", 1), `&`, ``, 1) + `,`,
  14819. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeClaimStatus", "PersistentVolumeClaimStatus", 1), `&`, ``, 1) + `,`,
  14820. `}`,
  14821. }, "")
  14822. return s
  14823. }
  14824. func (this *PersistentVolumeClaimCondition) String() string {
  14825. if this == nil {
  14826. return "nil"
  14827. }
  14828. s := strings.Join([]string{`&PersistentVolumeClaimCondition{`,
  14829. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  14830. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  14831. `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14832. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  14833. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  14834. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14835. `}`,
  14836. }, "")
  14837. return s
  14838. }
  14839. func (this *PersistentVolumeClaimList) String() string {
  14840. if this == nil {
  14841. return "nil"
  14842. }
  14843. s := strings.Join([]string{`&PersistentVolumeClaimList{`,
  14844. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14845. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolumeClaim", "PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
  14846. `}`,
  14847. }, "")
  14848. return s
  14849. }
  14850. func (this *PersistentVolumeClaimSpec) String() string {
  14851. if this == nil {
  14852. return "nil"
  14853. }
  14854. s := strings.Join([]string{`&PersistentVolumeClaimSpec{`,
  14855. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  14856. `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`,
  14857. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  14858. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  14859. `StorageClassName:` + valueToStringGenerated(this.StorageClassName) + `,`,
  14860. `VolumeMode:` + valueToStringGenerated(this.VolumeMode) + `,`,
  14861. `}`,
  14862. }, "")
  14863. return s
  14864. }
  14865. func (this *PersistentVolumeClaimStatus) String() string {
  14866. if this == nil {
  14867. return "nil"
  14868. }
  14869. keysForCapacity := make([]string, 0, len(this.Capacity))
  14870. for k := range this.Capacity {
  14871. keysForCapacity = append(keysForCapacity, string(k))
  14872. }
  14873. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  14874. mapStringForCapacity := "ResourceList{"
  14875. for _, k := range keysForCapacity {
  14876. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  14877. }
  14878. mapStringForCapacity += "}"
  14879. s := strings.Join([]string{`&PersistentVolumeClaimStatus{`,
  14880. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  14881. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  14882. `Capacity:` + mapStringForCapacity + `,`,
  14883. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "PersistentVolumeClaimCondition", "PersistentVolumeClaimCondition", 1), `&`, ``, 1) + `,`,
  14884. `}`,
  14885. }, "")
  14886. return s
  14887. }
  14888. func (this *PersistentVolumeClaimVolumeSource) String() string {
  14889. if this == nil {
  14890. return "nil"
  14891. }
  14892. s := strings.Join([]string{`&PersistentVolumeClaimVolumeSource{`,
  14893. `ClaimName:` + fmt.Sprintf("%v", this.ClaimName) + `,`,
  14894. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  14895. `}`,
  14896. }, "")
  14897. return s
  14898. }
  14899. func (this *PersistentVolumeList) String() string {
  14900. if this == nil {
  14901. return "nil"
  14902. }
  14903. s := strings.Join([]string{`&PersistentVolumeList{`,
  14904. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  14905. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolume", "PersistentVolume", 1), `&`, ``, 1) + `,`,
  14906. `}`,
  14907. }, "")
  14908. return s
  14909. }
  14910. func (this *PersistentVolumeSource) String() string {
  14911. if this == nil {
  14912. return "nil"
  14913. }
  14914. s := strings.Join([]string{`&PersistentVolumeSource{`,
  14915. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  14916. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  14917. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  14918. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsVolumeSource", "GlusterfsVolumeSource", 1) + `,`,
  14919. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  14920. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDPersistentVolumeSource", "RBDPersistentVolumeSource", 1) + `,`,
  14921. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIPersistentVolumeSource", "ISCSIPersistentVolumeSource", 1) + `,`,
  14922. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderVolumeSource", "CinderVolumeSource", 1) + `,`,
  14923. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSPersistentVolumeSource", "CephFSPersistentVolumeSource", 1) + `,`,
  14924. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  14925. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  14926. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexPersistentVolumeSource", "FlexPersistentVolumeSource", 1) + `,`,
  14927. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFilePersistentVolumeSource", "AzureFilePersistentVolumeSource", 1) + `,`,
  14928. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  14929. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  14930. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  14931. `PhotonPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.PhotonPersistentDisk), "PhotonPersistentDiskVolumeSource", "PhotonPersistentDiskVolumeSource", 1) + `,`,
  14932. `PortworxVolume:` + strings.Replace(fmt.Sprintf("%v", this.PortworxVolume), "PortworxVolumeSource", "PortworxVolumeSource", 1) + `,`,
  14933. `ScaleIO:` + strings.Replace(fmt.Sprintf("%v", this.ScaleIO), "ScaleIOPersistentVolumeSource", "ScaleIOPersistentVolumeSource", 1) + `,`,
  14934. `Local:` + strings.Replace(fmt.Sprintf("%v", this.Local), "LocalVolumeSource", "LocalVolumeSource", 1) + `,`,
  14935. `StorageOS:` + strings.Replace(fmt.Sprintf("%v", this.StorageOS), "StorageOSPersistentVolumeSource", "StorageOSPersistentVolumeSource", 1) + `,`,
  14936. `CSI:` + strings.Replace(fmt.Sprintf("%v", this.CSI), "CSIPersistentVolumeSource", "CSIPersistentVolumeSource", 1) + `,`,
  14937. `}`,
  14938. }, "")
  14939. return s
  14940. }
  14941. func (this *PersistentVolumeSpec) String() string {
  14942. if this == nil {
  14943. return "nil"
  14944. }
  14945. keysForCapacity := make([]string, 0, len(this.Capacity))
  14946. for k := range this.Capacity {
  14947. keysForCapacity = append(keysForCapacity, string(k))
  14948. }
  14949. github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
  14950. mapStringForCapacity := "ResourceList{"
  14951. for _, k := range keysForCapacity {
  14952. mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
  14953. }
  14954. mapStringForCapacity += "}"
  14955. s := strings.Join([]string{`&PersistentVolumeSpec{`,
  14956. `Capacity:` + mapStringForCapacity + `,`,
  14957. `PersistentVolumeSource:` + strings.Replace(strings.Replace(this.PersistentVolumeSource.String(), "PersistentVolumeSource", "PersistentVolumeSource", 1), `&`, ``, 1) + `,`,
  14958. `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`,
  14959. `ClaimRef:` + strings.Replace(fmt.Sprintf("%v", this.ClaimRef), "ObjectReference", "ObjectReference", 1) + `,`,
  14960. `PersistentVolumeReclaimPolicy:` + fmt.Sprintf("%v", this.PersistentVolumeReclaimPolicy) + `,`,
  14961. `StorageClassName:` + fmt.Sprintf("%v", this.StorageClassName) + `,`,
  14962. `MountOptions:` + fmt.Sprintf("%v", this.MountOptions) + `,`,
  14963. `VolumeMode:` + valueToStringGenerated(this.VolumeMode) + `,`,
  14964. `NodeAffinity:` + strings.Replace(fmt.Sprintf("%v", this.NodeAffinity), "VolumeNodeAffinity", "VolumeNodeAffinity", 1) + `,`,
  14965. `}`,
  14966. }, "")
  14967. return s
  14968. }
  14969. func (this *PersistentVolumeStatus) String() string {
  14970. if this == nil {
  14971. return "nil"
  14972. }
  14973. s := strings.Join([]string{`&PersistentVolumeStatus{`,
  14974. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  14975. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  14976. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  14977. `}`,
  14978. }, "")
  14979. return s
  14980. }
  14981. func (this *PhotonPersistentDiskVolumeSource) String() string {
  14982. if this == nil {
  14983. return "nil"
  14984. }
  14985. s := strings.Join([]string{`&PhotonPersistentDiskVolumeSource{`,
  14986. `PdID:` + fmt.Sprintf("%v", this.PdID) + `,`,
  14987. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  14988. `}`,
  14989. }, "")
  14990. return s
  14991. }
  14992. func (this *Pod) String() string {
  14993. if this == nil {
  14994. return "nil"
  14995. }
  14996. s := strings.Join([]string{`&Pod{`,
  14997. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  14998. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  14999. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  15000. `}`,
  15001. }, "")
  15002. return s
  15003. }
  15004. func (this *PodAffinity) String() string {
  15005. if this == nil {
  15006. return "nil"
  15007. }
  15008. s := strings.Join([]string{`&PodAffinity{`,
  15009. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15010. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15011. `}`,
  15012. }, "")
  15013. return s
  15014. }
  15015. func (this *PodAffinityTerm) String() string {
  15016. if this == nil {
  15017. return "nil"
  15018. }
  15019. s := strings.Join([]string{`&PodAffinityTerm{`,
  15020. `LabelSelector:` + strings.Replace(fmt.Sprintf("%v", this.LabelSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  15021. `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
  15022. `TopologyKey:` + fmt.Sprintf("%v", this.TopologyKey) + `,`,
  15023. `}`,
  15024. }, "")
  15025. return s
  15026. }
  15027. func (this *PodAntiAffinity) String() string {
  15028. if this == nil {
  15029. return "nil"
  15030. }
  15031. s := strings.Join([]string{`&PodAntiAffinity{`,
  15032. `RequiredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RequiredDuringSchedulingIgnoredDuringExecution), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15033. `PreferredDuringSchedulingIgnoredDuringExecution:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PreferredDuringSchedulingIgnoredDuringExecution), "WeightedPodAffinityTerm", "WeightedPodAffinityTerm", 1), `&`, ``, 1) + `,`,
  15034. `}`,
  15035. }, "")
  15036. return s
  15037. }
  15038. func (this *PodAttachOptions) String() string {
  15039. if this == nil {
  15040. return "nil"
  15041. }
  15042. s := strings.Join([]string{`&PodAttachOptions{`,
  15043. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  15044. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  15045. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  15046. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  15047. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  15048. `}`,
  15049. }, "")
  15050. return s
  15051. }
  15052. func (this *PodCondition) String() string {
  15053. if this == nil {
  15054. return "nil"
  15055. }
  15056. s := strings.Join([]string{`&PodCondition{`,
  15057. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15058. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  15059. `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15060. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15061. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15062. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15063. `}`,
  15064. }, "")
  15065. return s
  15066. }
  15067. func (this *PodDNSConfig) String() string {
  15068. if this == nil {
  15069. return "nil"
  15070. }
  15071. s := strings.Join([]string{`&PodDNSConfig{`,
  15072. `Nameservers:` + fmt.Sprintf("%v", this.Nameservers) + `,`,
  15073. `Searches:` + fmt.Sprintf("%v", this.Searches) + `,`,
  15074. `Options:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Options), "PodDNSConfigOption", "PodDNSConfigOption", 1), `&`, ``, 1) + `,`,
  15075. `}`,
  15076. }, "")
  15077. return s
  15078. }
  15079. func (this *PodDNSConfigOption) String() string {
  15080. if this == nil {
  15081. return "nil"
  15082. }
  15083. s := strings.Join([]string{`&PodDNSConfigOption{`,
  15084. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  15085. `Value:` + valueToStringGenerated(this.Value) + `,`,
  15086. `}`,
  15087. }, "")
  15088. return s
  15089. }
  15090. func (this *PodExecOptions) String() string {
  15091. if this == nil {
  15092. return "nil"
  15093. }
  15094. s := strings.Join([]string{`&PodExecOptions{`,
  15095. `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
  15096. `Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
  15097. `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
  15098. `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
  15099. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  15100. `Command:` + fmt.Sprintf("%v", this.Command) + `,`,
  15101. `}`,
  15102. }, "")
  15103. return s
  15104. }
  15105. func (this *PodList) String() string {
  15106. if this == nil {
  15107. return "nil"
  15108. }
  15109. s := strings.Join([]string{`&PodList{`,
  15110. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15111. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Pod", "Pod", 1), `&`, ``, 1) + `,`,
  15112. `}`,
  15113. }, "")
  15114. return s
  15115. }
  15116. func (this *PodLogOptions) String() string {
  15117. if this == nil {
  15118. return "nil"
  15119. }
  15120. s := strings.Join([]string{`&PodLogOptions{`,
  15121. `Container:` + fmt.Sprintf("%v", this.Container) + `,`,
  15122. `Follow:` + fmt.Sprintf("%v", this.Follow) + `,`,
  15123. `Previous:` + fmt.Sprintf("%v", this.Previous) + `,`,
  15124. `SinceSeconds:` + valueToStringGenerated(this.SinceSeconds) + `,`,
  15125. `SinceTime:` + strings.Replace(fmt.Sprintf("%v", this.SinceTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  15126. `Timestamps:` + fmt.Sprintf("%v", this.Timestamps) + `,`,
  15127. `TailLines:` + valueToStringGenerated(this.TailLines) + `,`,
  15128. `LimitBytes:` + valueToStringGenerated(this.LimitBytes) + `,`,
  15129. `}`,
  15130. }, "")
  15131. return s
  15132. }
  15133. func (this *PodPortForwardOptions) String() string {
  15134. if this == nil {
  15135. return "nil"
  15136. }
  15137. s := strings.Join([]string{`&PodPortForwardOptions{`,
  15138. `Ports:` + fmt.Sprintf("%v", this.Ports) + `,`,
  15139. `}`,
  15140. }, "")
  15141. return s
  15142. }
  15143. func (this *PodProxyOptions) String() string {
  15144. if this == nil {
  15145. return "nil"
  15146. }
  15147. s := strings.Join([]string{`&PodProxyOptions{`,
  15148. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  15149. `}`,
  15150. }, "")
  15151. return s
  15152. }
  15153. func (this *PodSecurityContext) String() string {
  15154. if this == nil {
  15155. return "nil"
  15156. }
  15157. s := strings.Join([]string{`&PodSecurityContext{`,
  15158. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  15159. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  15160. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  15161. `SupplementalGroups:` + fmt.Sprintf("%v", this.SupplementalGroups) + `,`,
  15162. `FSGroup:` + valueToStringGenerated(this.FSGroup) + `,`,
  15163. `RunAsGroup:` + valueToStringGenerated(this.RunAsGroup) + `,`,
  15164. `}`,
  15165. }, "")
  15166. return s
  15167. }
  15168. func (this *PodSignature) String() string {
  15169. if this == nil {
  15170. return "nil"
  15171. }
  15172. s := strings.Join([]string{`&PodSignature{`,
  15173. `PodController:` + strings.Replace(fmt.Sprintf("%v", this.PodController), "OwnerReference", "k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference", 1) + `,`,
  15174. `}`,
  15175. }, "")
  15176. return s
  15177. }
  15178. func (this *PodSpec) String() string {
  15179. if this == nil {
  15180. return "nil"
  15181. }
  15182. keysForNodeSelector := make([]string, 0, len(this.NodeSelector))
  15183. for k := range this.NodeSelector {
  15184. keysForNodeSelector = append(keysForNodeSelector, k)
  15185. }
  15186. github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
  15187. mapStringForNodeSelector := "map[string]string{"
  15188. for _, k := range keysForNodeSelector {
  15189. mapStringForNodeSelector += fmt.Sprintf("%v: %v,", k, this.NodeSelector[k])
  15190. }
  15191. mapStringForNodeSelector += "}"
  15192. s := strings.Join([]string{`&PodSpec{`,
  15193. `Volumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Volumes), "Volume", "Volume", 1), `&`, ``, 1) + `,`,
  15194. `Containers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Containers), "Container", "Container", 1), `&`, ``, 1) + `,`,
  15195. `RestartPolicy:` + fmt.Sprintf("%v", this.RestartPolicy) + `,`,
  15196. `TerminationGracePeriodSeconds:` + valueToStringGenerated(this.TerminationGracePeriodSeconds) + `,`,
  15197. `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
  15198. `DNSPolicy:` + fmt.Sprintf("%v", this.DNSPolicy) + `,`,
  15199. `NodeSelector:` + mapStringForNodeSelector + `,`,
  15200. `ServiceAccountName:` + fmt.Sprintf("%v", this.ServiceAccountName) + `,`,
  15201. `DeprecatedServiceAccount:` + fmt.Sprintf("%v", this.DeprecatedServiceAccount) + `,`,
  15202. `NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
  15203. `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
  15204. `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
  15205. `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
  15206. `SecurityContext:` + strings.Replace(fmt.Sprintf("%v", this.SecurityContext), "PodSecurityContext", "PodSecurityContext", 1) + `,`,
  15207. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  15208. `Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
  15209. `Subdomain:` + fmt.Sprintf("%v", this.Subdomain) + `,`,
  15210. `Affinity:` + strings.Replace(fmt.Sprintf("%v", this.Affinity), "Affinity", "Affinity", 1) + `,`,
  15211. `SchedulerName:` + fmt.Sprintf("%v", this.SchedulerName) + `,`,
  15212. `InitContainers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.InitContainers), "Container", "Container", 1), `&`, ``, 1) + `,`,
  15213. `AutomountServiceAccountToken:` + valueToStringGenerated(this.AutomountServiceAccountToken) + `,`,
  15214. `Tolerations:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Tolerations), "Toleration", "Toleration", 1), `&`, ``, 1) + `,`,
  15215. `HostAliases:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostAliases), "HostAlias", "HostAlias", 1), `&`, ``, 1) + `,`,
  15216. `PriorityClassName:` + fmt.Sprintf("%v", this.PriorityClassName) + `,`,
  15217. `Priority:` + valueToStringGenerated(this.Priority) + `,`,
  15218. `DNSConfig:` + strings.Replace(fmt.Sprintf("%v", this.DNSConfig), "PodDNSConfig", "PodDNSConfig", 1) + `,`,
  15219. `ShareProcessNamespace:` + valueToStringGenerated(this.ShareProcessNamespace) + `,`,
  15220. `}`,
  15221. }, "")
  15222. return s
  15223. }
  15224. func (this *PodStatus) String() string {
  15225. if this == nil {
  15226. return "nil"
  15227. }
  15228. s := strings.Join([]string{`&PodStatus{`,
  15229. `Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
  15230. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "PodCondition", "PodCondition", 1), `&`, ``, 1) + `,`,
  15231. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15232. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15233. `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
  15234. `PodIP:` + fmt.Sprintf("%v", this.PodIP) + `,`,
  15235. `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  15236. `ContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`,
  15237. `QOSClass:` + fmt.Sprintf("%v", this.QOSClass) + `,`,
  15238. `InitContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.InitContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`,
  15239. `NominatedNodeName:` + fmt.Sprintf("%v", this.NominatedNodeName) + `,`,
  15240. `}`,
  15241. }, "")
  15242. return s
  15243. }
  15244. func (this *PodStatusResult) String() string {
  15245. if this == nil {
  15246. return "nil"
  15247. }
  15248. s := strings.Join([]string{`&PodStatusResult{`,
  15249. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15250. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`,
  15251. `}`,
  15252. }, "")
  15253. return s
  15254. }
  15255. func (this *PodTemplate) String() string {
  15256. if this == nil {
  15257. return "nil"
  15258. }
  15259. s := strings.Join([]string{`&PodTemplate{`,
  15260. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15261. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  15262. `}`,
  15263. }, "")
  15264. return s
  15265. }
  15266. func (this *PodTemplateList) String() string {
  15267. if this == nil {
  15268. return "nil"
  15269. }
  15270. s := strings.Join([]string{`&PodTemplateList{`,
  15271. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15272. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodTemplate", "PodTemplate", 1), `&`, ``, 1) + `,`,
  15273. `}`,
  15274. }, "")
  15275. return s
  15276. }
  15277. func (this *PodTemplateSpec) String() string {
  15278. if this == nil {
  15279. return "nil"
  15280. }
  15281. s := strings.Join([]string{`&PodTemplateSpec{`,
  15282. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15283. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`,
  15284. `}`,
  15285. }, "")
  15286. return s
  15287. }
  15288. func (this *PortworxVolumeSource) String() string {
  15289. if this == nil {
  15290. return "nil"
  15291. }
  15292. s := strings.Join([]string{`&PortworxVolumeSource{`,
  15293. `VolumeID:` + fmt.Sprintf("%v", this.VolumeID) + `,`,
  15294. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15295. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15296. `}`,
  15297. }, "")
  15298. return s
  15299. }
  15300. func (this *Preconditions) String() string {
  15301. if this == nil {
  15302. return "nil"
  15303. }
  15304. s := strings.Join([]string{`&Preconditions{`,
  15305. `UID:` + valueToStringGenerated(this.UID) + `,`,
  15306. `}`,
  15307. }, "")
  15308. return s
  15309. }
  15310. func (this *PreferAvoidPodsEntry) String() string {
  15311. if this == nil {
  15312. return "nil"
  15313. }
  15314. s := strings.Join([]string{`&PreferAvoidPodsEntry{`,
  15315. `PodSignature:` + strings.Replace(strings.Replace(this.PodSignature.String(), "PodSignature", "PodSignature", 1), `&`, ``, 1) + `,`,
  15316. `EvictionTime:` + strings.Replace(strings.Replace(this.EvictionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15317. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15318. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15319. `}`,
  15320. }, "")
  15321. return s
  15322. }
  15323. func (this *PreferredSchedulingTerm) String() string {
  15324. if this == nil {
  15325. return "nil"
  15326. }
  15327. s := strings.Join([]string{`&PreferredSchedulingTerm{`,
  15328. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  15329. `Preference:` + strings.Replace(strings.Replace(this.Preference.String(), "NodeSelectorTerm", "NodeSelectorTerm", 1), `&`, ``, 1) + `,`,
  15330. `}`,
  15331. }, "")
  15332. return s
  15333. }
  15334. func (this *Probe) String() string {
  15335. if this == nil {
  15336. return "nil"
  15337. }
  15338. s := strings.Join([]string{`&Probe{`,
  15339. `Handler:` + strings.Replace(strings.Replace(this.Handler.String(), "Handler", "Handler", 1), `&`, ``, 1) + `,`,
  15340. `InitialDelaySeconds:` + fmt.Sprintf("%v", this.InitialDelaySeconds) + `,`,
  15341. `TimeoutSeconds:` + fmt.Sprintf("%v", this.TimeoutSeconds) + `,`,
  15342. `PeriodSeconds:` + fmt.Sprintf("%v", this.PeriodSeconds) + `,`,
  15343. `SuccessThreshold:` + fmt.Sprintf("%v", this.SuccessThreshold) + `,`,
  15344. `FailureThreshold:` + fmt.Sprintf("%v", this.FailureThreshold) + `,`,
  15345. `}`,
  15346. }, "")
  15347. return s
  15348. }
  15349. func (this *ProjectedVolumeSource) String() string {
  15350. if this == nil {
  15351. return "nil"
  15352. }
  15353. s := strings.Join([]string{`&ProjectedVolumeSource{`,
  15354. `Sources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Sources), "VolumeProjection", "VolumeProjection", 1), `&`, ``, 1) + `,`,
  15355. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  15356. `}`,
  15357. }, "")
  15358. return s
  15359. }
  15360. func (this *QuobyteVolumeSource) String() string {
  15361. if this == nil {
  15362. return "nil"
  15363. }
  15364. s := strings.Join([]string{`&QuobyteVolumeSource{`,
  15365. `Registry:` + fmt.Sprintf("%v", this.Registry) + `,`,
  15366. `Volume:` + fmt.Sprintf("%v", this.Volume) + `,`,
  15367. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15368. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  15369. `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
  15370. `}`,
  15371. }, "")
  15372. return s
  15373. }
  15374. func (this *RBDPersistentVolumeSource) String() string {
  15375. if this == nil {
  15376. return "nil"
  15377. }
  15378. s := strings.Join([]string{`&RBDPersistentVolumeSource{`,
  15379. `CephMonitors:` + fmt.Sprintf("%v", this.CephMonitors) + `,`,
  15380. `RBDImage:` + fmt.Sprintf("%v", this.RBDImage) + `,`,
  15381. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15382. `RBDPool:` + fmt.Sprintf("%v", this.RBDPool) + `,`,
  15383. `RadosUser:` + fmt.Sprintf("%v", this.RadosUser) + `,`,
  15384. `Keyring:` + fmt.Sprintf("%v", this.Keyring) + `,`,
  15385. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  15386. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15387. `}`,
  15388. }, "")
  15389. return s
  15390. }
  15391. func (this *RBDVolumeSource) String() string {
  15392. if this == nil {
  15393. return "nil"
  15394. }
  15395. s := strings.Join([]string{`&RBDVolumeSource{`,
  15396. `CephMonitors:` + fmt.Sprintf("%v", this.CephMonitors) + `,`,
  15397. `RBDImage:` + fmt.Sprintf("%v", this.RBDImage) + `,`,
  15398. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15399. `RBDPool:` + fmt.Sprintf("%v", this.RBDPool) + `,`,
  15400. `RadosUser:` + fmt.Sprintf("%v", this.RadosUser) + `,`,
  15401. `Keyring:` + fmt.Sprintf("%v", this.Keyring) + `,`,
  15402. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  15403. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15404. `}`,
  15405. }, "")
  15406. return s
  15407. }
  15408. func (this *RangeAllocation) String() string {
  15409. if this == nil {
  15410. return "nil"
  15411. }
  15412. s := strings.Join([]string{`&RangeAllocation{`,
  15413. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15414. `Range:` + fmt.Sprintf("%v", this.Range) + `,`,
  15415. `Data:` + valueToStringGenerated(this.Data) + `,`,
  15416. `}`,
  15417. }, "")
  15418. return s
  15419. }
  15420. func (this *ReplicationController) String() string {
  15421. if this == nil {
  15422. return "nil"
  15423. }
  15424. s := strings.Join([]string{`&ReplicationController{`,
  15425. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15426. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicationControllerSpec", "ReplicationControllerSpec", 1), `&`, ``, 1) + `,`,
  15427. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicationControllerStatus", "ReplicationControllerStatus", 1), `&`, ``, 1) + `,`,
  15428. `}`,
  15429. }, "")
  15430. return s
  15431. }
  15432. func (this *ReplicationControllerCondition) String() string {
  15433. if this == nil {
  15434. return "nil"
  15435. }
  15436. s := strings.Join([]string{`&ReplicationControllerCondition{`,
  15437. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15438. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  15439. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  15440. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  15441. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  15442. `}`,
  15443. }, "")
  15444. return s
  15445. }
  15446. func (this *ReplicationControllerList) String() string {
  15447. if this == nil {
  15448. return "nil"
  15449. }
  15450. s := strings.Join([]string{`&ReplicationControllerList{`,
  15451. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15452. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicationController", "ReplicationController", 1), `&`, ``, 1) + `,`,
  15453. `}`,
  15454. }, "")
  15455. return s
  15456. }
  15457. func (this *ReplicationControllerSpec) String() string {
  15458. if this == nil {
  15459. return "nil"
  15460. }
  15461. keysForSelector := make([]string, 0, len(this.Selector))
  15462. for k := range this.Selector {
  15463. keysForSelector = append(keysForSelector, k)
  15464. }
  15465. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  15466. mapStringForSelector := "map[string]string{"
  15467. for _, k := range keysForSelector {
  15468. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  15469. }
  15470. mapStringForSelector += "}"
  15471. s := strings.Join([]string{`&ReplicationControllerSpec{`,
  15472. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  15473. `Selector:` + mapStringForSelector + `,`,
  15474. `Template:` + strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "PodTemplateSpec", 1) + `,`,
  15475. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  15476. `}`,
  15477. }, "")
  15478. return s
  15479. }
  15480. func (this *ReplicationControllerStatus) String() string {
  15481. if this == nil {
  15482. return "nil"
  15483. }
  15484. s := strings.Join([]string{`&ReplicationControllerStatus{`,
  15485. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  15486. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  15487. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  15488. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  15489. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  15490. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicationControllerCondition", "ReplicationControllerCondition", 1), `&`, ``, 1) + `,`,
  15491. `}`,
  15492. }, "")
  15493. return s
  15494. }
  15495. func (this *ResourceFieldSelector) String() string {
  15496. if this == nil {
  15497. return "nil"
  15498. }
  15499. s := strings.Join([]string{`&ResourceFieldSelector{`,
  15500. `ContainerName:` + fmt.Sprintf("%v", this.ContainerName) + `,`,
  15501. `Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
  15502. `Divisor:` + strings.Replace(strings.Replace(this.Divisor.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
  15503. `}`,
  15504. }, "")
  15505. return s
  15506. }
  15507. func (this *ResourceQuota) String() string {
  15508. if this == nil {
  15509. return "nil"
  15510. }
  15511. s := strings.Join([]string{`&ResourceQuota{`,
  15512. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15513. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ResourceQuotaSpec", "ResourceQuotaSpec", 1), `&`, ``, 1) + `,`,
  15514. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ResourceQuotaStatus", "ResourceQuotaStatus", 1), `&`, ``, 1) + `,`,
  15515. `}`,
  15516. }, "")
  15517. return s
  15518. }
  15519. func (this *ResourceQuotaList) String() string {
  15520. if this == nil {
  15521. return "nil"
  15522. }
  15523. s := strings.Join([]string{`&ResourceQuotaList{`,
  15524. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15525. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ResourceQuota", "ResourceQuota", 1), `&`, ``, 1) + `,`,
  15526. `}`,
  15527. }, "")
  15528. return s
  15529. }
  15530. func (this *ResourceQuotaSpec) String() string {
  15531. if this == nil {
  15532. return "nil"
  15533. }
  15534. keysForHard := make([]string, 0, len(this.Hard))
  15535. for k := range this.Hard {
  15536. keysForHard = append(keysForHard, string(k))
  15537. }
  15538. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  15539. mapStringForHard := "ResourceList{"
  15540. for _, k := range keysForHard {
  15541. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  15542. }
  15543. mapStringForHard += "}"
  15544. s := strings.Join([]string{`&ResourceQuotaSpec{`,
  15545. `Hard:` + mapStringForHard + `,`,
  15546. `Scopes:` + fmt.Sprintf("%v", this.Scopes) + `,`,
  15547. `}`,
  15548. }, "")
  15549. return s
  15550. }
  15551. func (this *ResourceQuotaStatus) String() string {
  15552. if this == nil {
  15553. return "nil"
  15554. }
  15555. keysForHard := make([]string, 0, len(this.Hard))
  15556. for k := range this.Hard {
  15557. keysForHard = append(keysForHard, string(k))
  15558. }
  15559. github_com_gogo_protobuf_sortkeys.Strings(keysForHard)
  15560. mapStringForHard := "ResourceList{"
  15561. for _, k := range keysForHard {
  15562. mapStringForHard += fmt.Sprintf("%v: %v,", k, this.Hard[ResourceName(k)])
  15563. }
  15564. mapStringForHard += "}"
  15565. keysForUsed := make([]string, 0, len(this.Used))
  15566. for k := range this.Used {
  15567. keysForUsed = append(keysForUsed, string(k))
  15568. }
  15569. github_com_gogo_protobuf_sortkeys.Strings(keysForUsed)
  15570. mapStringForUsed := "ResourceList{"
  15571. for _, k := range keysForUsed {
  15572. mapStringForUsed += fmt.Sprintf("%v: %v,", k, this.Used[ResourceName(k)])
  15573. }
  15574. mapStringForUsed += "}"
  15575. s := strings.Join([]string{`&ResourceQuotaStatus{`,
  15576. `Hard:` + mapStringForHard + `,`,
  15577. `Used:` + mapStringForUsed + `,`,
  15578. `}`,
  15579. }, "")
  15580. return s
  15581. }
  15582. func (this *ResourceRequirements) String() string {
  15583. if this == nil {
  15584. return "nil"
  15585. }
  15586. keysForLimits := make([]string, 0, len(this.Limits))
  15587. for k := range this.Limits {
  15588. keysForLimits = append(keysForLimits, string(k))
  15589. }
  15590. github_com_gogo_protobuf_sortkeys.Strings(keysForLimits)
  15591. mapStringForLimits := "ResourceList{"
  15592. for _, k := range keysForLimits {
  15593. mapStringForLimits += fmt.Sprintf("%v: %v,", k, this.Limits[ResourceName(k)])
  15594. }
  15595. mapStringForLimits += "}"
  15596. keysForRequests := make([]string, 0, len(this.Requests))
  15597. for k := range this.Requests {
  15598. keysForRequests = append(keysForRequests, string(k))
  15599. }
  15600. github_com_gogo_protobuf_sortkeys.Strings(keysForRequests)
  15601. mapStringForRequests := "ResourceList{"
  15602. for _, k := range keysForRequests {
  15603. mapStringForRequests += fmt.Sprintf("%v: %v,", k, this.Requests[ResourceName(k)])
  15604. }
  15605. mapStringForRequests += "}"
  15606. s := strings.Join([]string{`&ResourceRequirements{`,
  15607. `Limits:` + mapStringForLimits + `,`,
  15608. `Requests:` + mapStringForRequests + `,`,
  15609. `}`,
  15610. }, "")
  15611. return s
  15612. }
  15613. func (this *SELinuxOptions) String() string {
  15614. if this == nil {
  15615. return "nil"
  15616. }
  15617. s := strings.Join([]string{`&SELinuxOptions{`,
  15618. `User:` + fmt.Sprintf("%v", this.User) + `,`,
  15619. `Role:` + fmt.Sprintf("%v", this.Role) + `,`,
  15620. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15621. `Level:` + fmt.Sprintf("%v", this.Level) + `,`,
  15622. `}`,
  15623. }, "")
  15624. return s
  15625. }
  15626. func (this *ScaleIOPersistentVolumeSource) String() string {
  15627. if this == nil {
  15628. return "nil"
  15629. }
  15630. s := strings.Join([]string{`&ScaleIOPersistentVolumeSource{`,
  15631. `Gateway:` + fmt.Sprintf("%v", this.Gateway) + `,`,
  15632. `System:` + fmt.Sprintf("%v", this.System) + `,`,
  15633. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "SecretReference", "SecretReference", 1) + `,`,
  15634. `SSLEnabled:` + fmt.Sprintf("%v", this.SSLEnabled) + `,`,
  15635. `ProtectionDomain:` + fmt.Sprintf("%v", this.ProtectionDomain) + `,`,
  15636. `StoragePool:` + fmt.Sprintf("%v", this.StoragePool) + `,`,
  15637. `StorageMode:` + fmt.Sprintf("%v", this.StorageMode) + `,`,
  15638. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  15639. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15640. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15641. `}`,
  15642. }, "")
  15643. return s
  15644. }
  15645. func (this *ScaleIOVolumeSource) String() string {
  15646. if this == nil {
  15647. return "nil"
  15648. }
  15649. s := strings.Join([]string{`&ScaleIOVolumeSource{`,
  15650. `Gateway:` + fmt.Sprintf("%v", this.Gateway) + `,`,
  15651. `System:` + fmt.Sprintf("%v", this.System) + `,`,
  15652. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  15653. `SSLEnabled:` + fmt.Sprintf("%v", this.SSLEnabled) + `,`,
  15654. `ProtectionDomain:` + fmt.Sprintf("%v", this.ProtectionDomain) + `,`,
  15655. `StoragePool:` + fmt.Sprintf("%v", this.StoragePool) + `,`,
  15656. `StorageMode:` + fmt.Sprintf("%v", this.StorageMode) + `,`,
  15657. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  15658. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15659. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15660. `}`,
  15661. }, "")
  15662. return s
  15663. }
  15664. func (this *Secret) String() string {
  15665. if this == nil {
  15666. return "nil"
  15667. }
  15668. keysForData := make([]string, 0, len(this.Data))
  15669. for k := range this.Data {
  15670. keysForData = append(keysForData, k)
  15671. }
  15672. github_com_gogo_protobuf_sortkeys.Strings(keysForData)
  15673. mapStringForData := "map[string][]byte{"
  15674. for _, k := range keysForData {
  15675. mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
  15676. }
  15677. mapStringForData += "}"
  15678. keysForStringData := make([]string, 0, len(this.StringData))
  15679. for k := range this.StringData {
  15680. keysForStringData = append(keysForStringData, k)
  15681. }
  15682. github_com_gogo_protobuf_sortkeys.Strings(keysForStringData)
  15683. mapStringForStringData := "map[string]string{"
  15684. for _, k := range keysForStringData {
  15685. mapStringForStringData += fmt.Sprintf("%v: %v,", k, this.StringData[k])
  15686. }
  15687. mapStringForStringData += "}"
  15688. s := strings.Join([]string{`&Secret{`,
  15689. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15690. `Data:` + mapStringForData + `,`,
  15691. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15692. `StringData:` + mapStringForStringData + `,`,
  15693. `}`,
  15694. }, "")
  15695. return s
  15696. }
  15697. func (this *SecretEnvSource) String() string {
  15698. if this == nil {
  15699. return "nil"
  15700. }
  15701. s := strings.Join([]string{`&SecretEnvSource{`,
  15702. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  15703. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  15704. `}`,
  15705. }, "")
  15706. return s
  15707. }
  15708. func (this *SecretKeySelector) String() string {
  15709. if this == nil {
  15710. return "nil"
  15711. }
  15712. s := strings.Join([]string{`&SecretKeySelector{`,
  15713. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  15714. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  15715. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  15716. `}`,
  15717. }, "")
  15718. return s
  15719. }
  15720. func (this *SecretList) String() string {
  15721. if this == nil {
  15722. return "nil"
  15723. }
  15724. s := strings.Join([]string{`&SecretList{`,
  15725. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15726. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Secret", "Secret", 1), `&`, ``, 1) + `,`,
  15727. `}`,
  15728. }, "")
  15729. return s
  15730. }
  15731. func (this *SecretProjection) String() string {
  15732. if this == nil {
  15733. return "nil"
  15734. }
  15735. s := strings.Join([]string{`&SecretProjection{`,
  15736. `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  15737. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  15738. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  15739. `}`,
  15740. }, "")
  15741. return s
  15742. }
  15743. func (this *SecretReference) String() string {
  15744. if this == nil {
  15745. return "nil"
  15746. }
  15747. s := strings.Join([]string{`&SecretReference{`,
  15748. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  15749. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  15750. `}`,
  15751. }, "")
  15752. return s
  15753. }
  15754. func (this *SecretVolumeSource) String() string {
  15755. if this == nil {
  15756. return "nil"
  15757. }
  15758. s := strings.Join([]string{`&SecretVolumeSource{`,
  15759. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  15760. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "KeyToPath", "KeyToPath", 1), `&`, ``, 1) + `,`,
  15761. `DefaultMode:` + valueToStringGenerated(this.DefaultMode) + `,`,
  15762. `Optional:` + valueToStringGenerated(this.Optional) + `,`,
  15763. `}`,
  15764. }, "")
  15765. return s
  15766. }
  15767. func (this *SecurityContext) String() string {
  15768. if this == nil {
  15769. return "nil"
  15770. }
  15771. s := strings.Join([]string{`&SecurityContext{`,
  15772. `Capabilities:` + strings.Replace(fmt.Sprintf("%v", this.Capabilities), "Capabilities", "Capabilities", 1) + `,`,
  15773. `Privileged:` + valueToStringGenerated(this.Privileged) + `,`,
  15774. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "SELinuxOptions", 1) + `,`,
  15775. `RunAsUser:` + valueToStringGenerated(this.RunAsUser) + `,`,
  15776. `RunAsNonRoot:` + valueToStringGenerated(this.RunAsNonRoot) + `,`,
  15777. `ReadOnlyRootFilesystem:` + valueToStringGenerated(this.ReadOnlyRootFilesystem) + `,`,
  15778. `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
  15779. `RunAsGroup:` + valueToStringGenerated(this.RunAsGroup) + `,`,
  15780. `}`,
  15781. }, "")
  15782. return s
  15783. }
  15784. func (this *SerializedReference) String() string {
  15785. if this == nil {
  15786. return "nil"
  15787. }
  15788. s := strings.Join([]string{`&SerializedReference{`,
  15789. `Reference:` + strings.Replace(strings.Replace(this.Reference.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  15790. `}`,
  15791. }, "")
  15792. return s
  15793. }
  15794. func (this *Service) String() string {
  15795. if this == nil {
  15796. return "nil"
  15797. }
  15798. s := strings.Join([]string{`&Service{`,
  15799. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15800. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ServiceSpec", "ServiceSpec", 1), `&`, ``, 1) + `,`,
  15801. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ServiceStatus", "ServiceStatus", 1), `&`, ``, 1) + `,`,
  15802. `}`,
  15803. }, "")
  15804. return s
  15805. }
  15806. func (this *ServiceAccount) String() string {
  15807. if this == nil {
  15808. return "nil"
  15809. }
  15810. s := strings.Join([]string{`&ServiceAccount{`,
  15811. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  15812. `Secrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Secrets), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`,
  15813. `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`,
  15814. `AutomountServiceAccountToken:` + valueToStringGenerated(this.AutomountServiceAccountToken) + `,`,
  15815. `}`,
  15816. }, "")
  15817. return s
  15818. }
  15819. func (this *ServiceAccountList) String() string {
  15820. if this == nil {
  15821. return "nil"
  15822. }
  15823. s := strings.Join([]string{`&ServiceAccountList{`,
  15824. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15825. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ServiceAccount", "ServiceAccount", 1), `&`, ``, 1) + `,`,
  15826. `}`,
  15827. }, "")
  15828. return s
  15829. }
  15830. func (this *ServiceList) String() string {
  15831. if this == nil {
  15832. return "nil"
  15833. }
  15834. s := strings.Join([]string{`&ServiceList{`,
  15835. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  15836. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Service", "Service", 1), `&`, ``, 1) + `,`,
  15837. `}`,
  15838. }, "")
  15839. return s
  15840. }
  15841. func (this *ServicePort) String() string {
  15842. if this == nil {
  15843. return "nil"
  15844. }
  15845. s := strings.Join([]string{`&ServicePort{`,
  15846. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  15847. `Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
  15848. `Port:` + fmt.Sprintf("%v", this.Port) + `,`,
  15849. `TargetPort:` + strings.Replace(strings.Replace(this.TargetPort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  15850. `NodePort:` + fmt.Sprintf("%v", this.NodePort) + `,`,
  15851. `}`,
  15852. }, "")
  15853. return s
  15854. }
  15855. func (this *ServiceProxyOptions) String() string {
  15856. if this == nil {
  15857. return "nil"
  15858. }
  15859. s := strings.Join([]string{`&ServiceProxyOptions{`,
  15860. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  15861. `}`,
  15862. }, "")
  15863. return s
  15864. }
  15865. func (this *ServiceSpec) String() string {
  15866. if this == nil {
  15867. return "nil"
  15868. }
  15869. keysForSelector := make([]string, 0, len(this.Selector))
  15870. for k := range this.Selector {
  15871. keysForSelector = append(keysForSelector, k)
  15872. }
  15873. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  15874. mapStringForSelector := "map[string]string{"
  15875. for _, k := range keysForSelector {
  15876. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  15877. }
  15878. mapStringForSelector += "}"
  15879. s := strings.Join([]string{`&ServiceSpec{`,
  15880. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "ServicePort", "ServicePort", 1), `&`, ``, 1) + `,`,
  15881. `Selector:` + mapStringForSelector + `,`,
  15882. `ClusterIP:` + fmt.Sprintf("%v", this.ClusterIP) + `,`,
  15883. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  15884. `ExternalIPs:` + fmt.Sprintf("%v", this.ExternalIPs) + `,`,
  15885. `SessionAffinity:` + fmt.Sprintf("%v", this.SessionAffinity) + `,`,
  15886. `LoadBalancerIP:` + fmt.Sprintf("%v", this.LoadBalancerIP) + `,`,
  15887. `LoadBalancerSourceRanges:` + fmt.Sprintf("%v", this.LoadBalancerSourceRanges) + `,`,
  15888. `ExternalName:` + fmt.Sprintf("%v", this.ExternalName) + `,`,
  15889. `ExternalTrafficPolicy:` + fmt.Sprintf("%v", this.ExternalTrafficPolicy) + `,`,
  15890. `HealthCheckNodePort:` + fmt.Sprintf("%v", this.HealthCheckNodePort) + `,`,
  15891. `PublishNotReadyAddresses:` + fmt.Sprintf("%v", this.PublishNotReadyAddresses) + `,`,
  15892. `SessionAffinityConfig:` + strings.Replace(fmt.Sprintf("%v", this.SessionAffinityConfig), "SessionAffinityConfig", "SessionAffinityConfig", 1) + `,`,
  15893. `}`,
  15894. }, "")
  15895. return s
  15896. }
  15897. func (this *ServiceStatus) String() string {
  15898. if this == nil {
  15899. return "nil"
  15900. }
  15901. s := strings.Join([]string{`&ServiceStatus{`,
  15902. `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
  15903. `}`,
  15904. }, "")
  15905. return s
  15906. }
  15907. func (this *SessionAffinityConfig) String() string {
  15908. if this == nil {
  15909. return "nil"
  15910. }
  15911. s := strings.Join([]string{`&SessionAffinityConfig{`,
  15912. `ClientIP:` + strings.Replace(fmt.Sprintf("%v", this.ClientIP), "ClientIPConfig", "ClientIPConfig", 1) + `,`,
  15913. `}`,
  15914. }, "")
  15915. return s
  15916. }
  15917. func (this *StorageOSPersistentVolumeSource) String() string {
  15918. if this == nil {
  15919. return "nil"
  15920. }
  15921. s := strings.Join([]string{`&StorageOSPersistentVolumeSource{`,
  15922. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  15923. `VolumeNamespace:` + fmt.Sprintf("%v", this.VolumeNamespace) + `,`,
  15924. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15925. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15926. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "ObjectReference", "ObjectReference", 1) + `,`,
  15927. `}`,
  15928. }, "")
  15929. return s
  15930. }
  15931. func (this *StorageOSVolumeSource) String() string {
  15932. if this == nil {
  15933. return "nil"
  15934. }
  15935. s := strings.Join([]string{`&StorageOSVolumeSource{`,
  15936. `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`,
  15937. `VolumeNamespace:` + fmt.Sprintf("%v", this.VolumeNamespace) + `,`,
  15938. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  15939. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  15940. `SecretRef:` + strings.Replace(fmt.Sprintf("%v", this.SecretRef), "LocalObjectReference", "LocalObjectReference", 1) + `,`,
  15941. `}`,
  15942. }, "")
  15943. return s
  15944. }
  15945. func (this *Sysctl) String() string {
  15946. if this == nil {
  15947. return "nil"
  15948. }
  15949. s := strings.Join([]string{`&Sysctl{`,
  15950. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  15951. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  15952. `}`,
  15953. }, "")
  15954. return s
  15955. }
  15956. func (this *TCPSocketAction) String() string {
  15957. if this == nil {
  15958. return "nil"
  15959. }
  15960. s := strings.Join([]string{`&TCPSocketAction{`,
  15961. `Port:` + strings.Replace(strings.Replace(this.Port.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  15962. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  15963. `}`,
  15964. }, "")
  15965. return s
  15966. }
  15967. func (this *Taint) String() string {
  15968. if this == nil {
  15969. return "nil"
  15970. }
  15971. s := strings.Join([]string{`&Taint{`,
  15972. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  15973. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  15974. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  15975. `TimeAdded:` + strings.Replace(fmt.Sprintf("%v", this.TimeAdded), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
  15976. `}`,
  15977. }, "")
  15978. return s
  15979. }
  15980. func (this *Toleration) String() string {
  15981. if this == nil {
  15982. return "nil"
  15983. }
  15984. s := strings.Join([]string{`&Toleration{`,
  15985. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  15986. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  15987. `Value:` + fmt.Sprintf("%v", this.Value) + `,`,
  15988. `Effect:` + fmt.Sprintf("%v", this.Effect) + `,`,
  15989. `TolerationSeconds:` + valueToStringGenerated(this.TolerationSeconds) + `,`,
  15990. `}`,
  15991. }, "")
  15992. return s
  15993. }
  15994. func (this *Volume) String() string {
  15995. if this == nil {
  15996. return "nil"
  15997. }
  15998. s := strings.Join([]string{`&Volume{`,
  15999. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16000. `VolumeSource:` + strings.Replace(strings.Replace(this.VolumeSource.String(), "VolumeSource", "VolumeSource", 1), `&`, ``, 1) + `,`,
  16001. `}`,
  16002. }, "")
  16003. return s
  16004. }
  16005. func (this *VolumeDevice) String() string {
  16006. if this == nil {
  16007. return "nil"
  16008. }
  16009. s := strings.Join([]string{`&VolumeDevice{`,
  16010. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16011. `DevicePath:` + fmt.Sprintf("%v", this.DevicePath) + `,`,
  16012. `}`,
  16013. }, "")
  16014. return s
  16015. }
  16016. func (this *VolumeMount) String() string {
  16017. if this == nil {
  16018. return "nil"
  16019. }
  16020. s := strings.Join([]string{`&VolumeMount{`,
  16021. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  16022. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  16023. `MountPath:` + fmt.Sprintf("%v", this.MountPath) + `,`,
  16024. `SubPath:` + fmt.Sprintf("%v", this.SubPath) + `,`,
  16025. `MountPropagation:` + valueToStringGenerated(this.MountPropagation) + `,`,
  16026. `}`,
  16027. }, "")
  16028. return s
  16029. }
  16030. func (this *VolumeNodeAffinity) String() string {
  16031. if this == nil {
  16032. return "nil"
  16033. }
  16034. s := strings.Join([]string{`&VolumeNodeAffinity{`,
  16035. `Required:` + strings.Replace(fmt.Sprintf("%v", this.Required), "NodeSelector", "NodeSelector", 1) + `,`,
  16036. `}`,
  16037. }, "")
  16038. return s
  16039. }
  16040. func (this *VolumeProjection) String() string {
  16041. if this == nil {
  16042. return "nil"
  16043. }
  16044. s := strings.Join([]string{`&VolumeProjection{`,
  16045. `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "SecretProjection", "SecretProjection", 1) + `,`,
  16046. `DownwardAPI:` + strings.Replace(fmt.Sprintf("%v", this.DownwardAPI), "DownwardAPIProjection", "DownwardAPIProjection", 1) + `,`,
  16047. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapProjection", "ConfigMapProjection", 1) + `,`,
  16048. `}`,
  16049. }, "")
  16050. return s
  16051. }
  16052. func (this *VolumeSource) String() string {
  16053. if this == nil {
  16054. return "nil"
  16055. }
  16056. s := strings.Join([]string{`&VolumeSource{`,
  16057. `HostPath:` + strings.Replace(fmt.Sprintf("%v", this.HostPath), "HostPathVolumeSource", "HostPathVolumeSource", 1) + `,`,
  16058. `EmptyDir:` + strings.Replace(fmt.Sprintf("%v", this.EmptyDir), "EmptyDirVolumeSource", "EmptyDirVolumeSource", 1) + `,`,
  16059. `GCEPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.GCEPersistentDisk), "GCEPersistentDiskVolumeSource", "GCEPersistentDiskVolumeSource", 1) + `,`,
  16060. `AWSElasticBlockStore:` + strings.Replace(fmt.Sprintf("%v", this.AWSElasticBlockStore), "AWSElasticBlockStoreVolumeSource", "AWSElasticBlockStoreVolumeSource", 1) + `,`,
  16061. `GitRepo:` + strings.Replace(fmt.Sprintf("%v", this.GitRepo), "GitRepoVolumeSource", "GitRepoVolumeSource", 1) + `,`,
  16062. `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "SecretVolumeSource", "SecretVolumeSource", 1) + `,`,
  16063. `NFS:` + strings.Replace(fmt.Sprintf("%v", this.NFS), "NFSVolumeSource", "NFSVolumeSource", 1) + `,`,
  16064. `ISCSI:` + strings.Replace(fmt.Sprintf("%v", this.ISCSI), "ISCSIVolumeSource", "ISCSIVolumeSource", 1) + `,`,
  16065. `Glusterfs:` + strings.Replace(fmt.Sprintf("%v", this.Glusterfs), "GlusterfsVolumeSource", "GlusterfsVolumeSource", 1) + `,`,
  16066. `PersistentVolumeClaim:` + strings.Replace(fmt.Sprintf("%v", this.PersistentVolumeClaim), "PersistentVolumeClaimVolumeSource", "PersistentVolumeClaimVolumeSource", 1) + `,`,
  16067. `RBD:` + strings.Replace(fmt.Sprintf("%v", this.RBD), "RBDVolumeSource", "RBDVolumeSource", 1) + `,`,
  16068. `FlexVolume:` + strings.Replace(fmt.Sprintf("%v", this.FlexVolume), "FlexVolumeSource", "FlexVolumeSource", 1) + `,`,
  16069. `Cinder:` + strings.Replace(fmt.Sprintf("%v", this.Cinder), "CinderVolumeSource", "CinderVolumeSource", 1) + `,`,
  16070. `CephFS:` + strings.Replace(fmt.Sprintf("%v", this.CephFS), "CephFSVolumeSource", "CephFSVolumeSource", 1) + `,`,
  16071. `Flocker:` + strings.Replace(fmt.Sprintf("%v", this.Flocker), "FlockerVolumeSource", "FlockerVolumeSource", 1) + `,`,
  16072. `DownwardAPI:` + strings.Replace(fmt.Sprintf("%v", this.DownwardAPI), "DownwardAPIVolumeSource", "DownwardAPIVolumeSource", 1) + `,`,
  16073. `FC:` + strings.Replace(fmt.Sprintf("%v", this.FC), "FCVolumeSource", "FCVolumeSource", 1) + `,`,
  16074. `AzureFile:` + strings.Replace(fmt.Sprintf("%v", this.AzureFile), "AzureFileVolumeSource", "AzureFileVolumeSource", 1) + `,`,
  16075. `ConfigMap:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMap), "ConfigMapVolumeSource", "ConfigMapVolumeSource", 1) + `,`,
  16076. `VsphereVolume:` + strings.Replace(fmt.Sprintf("%v", this.VsphereVolume), "VsphereVirtualDiskVolumeSource", "VsphereVirtualDiskVolumeSource", 1) + `,`,
  16077. `Quobyte:` + strings.Replace(fmt.Sprintf("%v", this.Quobyte), "QuobyteVolumeSource", "QuobyteVolumeSource", 1) + `,`,
  16078. `AzureDisk:` + strings.Replace(fmt.Sprintf("%v", this.AzureDisk), "AzureDiskVolumeSource", "AzureDiskVolumeSource", 1) + `,`,
  16079. `PhotonPersistentDisk:` + strings.Replace(fmt.Sprintf("%v", this.PhotonPersistentDisk), "PhotonPersistentDiskVolumeSource", "PhotonPersistentDiskVolumeSource", 1) + `,`,
  16080. `PortworxVolume:` + strings.Replace(fmt.Sprintf("%v", this.PortworxVolume), "PortworxVolumeSource", "PortworxVolumeSource", 1) + `,`,
  16081. `ScaleIO:` + strings.Replace(fmt.Sprintf("%v", this.ScaleIO), "ScaleIOVolumeSource", "ScaleIOVolumeSource", 1) + `,`,
  16082. `Projected:` + strings.Replace(fmt.Sprintf("%v", this.Projected), "ProjectedVolumeSource", "ProjectedVolumeSource", 1) + `,`,
  16083. `StorageOS:` + strings.Replace(fmt.Sprintf("%v", this.StorageOS), "StorageOSVolumeSource", "StorageOSVolumeSource", 1) + `,`,
  16084. `}`,
  16085. }, "")
  16086. return s
  16087. }
  16088. func (this *VsphereVirtualDiskVolumeSource) String() string {
  16089. if this == nil {
  16090. return "nil"
  16091. }
  16092. s := strings.Join([]string{`&VsphereVirtualDiskVolumeSource{`,
  16093. `VolumePath:` + fmt.Sprintf("%v", this.VolumePath) + `,`,
  16094. `FSType:` + fmt.Sprintf("%v", this.FSType) + `,`,
  16095. `StoragePolicyName:` + fmt.Sprintf("%v", this.StoragePolicyName) + `,`,
  16096. `StoragePolicyID:` + fmt.Sprintf("%v", this.StoragePolicyID) + `,`,
  16097. `}`,
  16098. }, "")
  16099. return s
  16100. }
  16101. func (this *WeightedPodAffinityTerm) String() string {
  16102. if this == nil {
  16103. return "nil"
  16104. }
  16105. s := strings.Join([]string{`&WeightedPodAffinityTerm{`,
  16106. `Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
  16107. `PodAffinityTerm:` + strings.Replace(strings.Replace(this.PodAffinityTerm.String(), "PodAffinityTerm", "PodAffinityTerm", 1), `&`, ``, 1) + `,`,
  16108. `}`,
  16109. }, "")
  16110. return s
  16111. }
  16112. func valueToStringGenerated(v interface{}) string {
  16113. rv := reflect.ValueOf(v)
  16114. if rv.IsNil() {
  16115. return "nil"
  16116. }
  16117. pv := reflect.Indirect(rv).Interface()
  16118. return fmt.Sprintf("*%v", pv)
  16119. }
  16120. func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(dAtA []byte) error {
  16121. l := len(dAtA)
  16122. iNdEx := 0
  16123. for iNdEx < l {
  16124. preIndex := iNdEx
  16125. var wire uint64
  16126. for shift := uint(0); ; shift += 7 {
  16127. if shift >= 64 {
  16128. return ErrIntOverflowGenerated
  16129. }
  16130. if iNdEx >= l {
  16131. return io.ErrUnexpectedEOF
  16132. }
  16133. b := dAtA[iNdEx]
  16134. iNdEx++
  16135. wire |= (uint64(b) & 0x7F) << shift
  16136. if b < 0x80 {
  16137. break
  16138. }
  16139. }
  16140. fieldNum := int32(wire >> 3)
  16141. wireType := int(wire & 0x7)
  16142. if wireType == 4 {
  16143. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: wiretype end group for non-group")
  16144. }
  16145. if fieldNum <= 0 {
  16146. return fmt.Errorf("proto: AWSElasticBlockStoreVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  16147. }
  16148. switch fieldNum {
  16149. case 1:
  16150. if wireType != 2 {
  16151. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  16152. }
  16153. var stringLen uint64
  16154. for shift := uint(0); ; shift += 7 {
  16155. if shift >= 64 {
  16156. return ErrIntOverflowGenerated
  16157. }
  16158. if iNdEx >= l {
  16159. return io.ErrUnexpectedEOF
  16160. }
  16161. b := dAtA[iNdEx]
  16162. iNdEx++
  16163. stringLen |= (uint64(b) & 0x7F) << shift
  16164. if b < 0x80 {
  16165. break
  16166. }
  16167. }
  16168. intStringLen := int(stringLen)
  16169. if intStringLen < 0 {
  16170. return ErrInvalidLengthGenerated
  16171. }
  16172. postIndex := iNdEx + intStringLen
  16173. if postIndex > l {
  16174. return io.ErrUnexpectedEOF
  16175. }
  16176. m.VolumeID = string(dAtA[iNdEx:postIndex])
  16177. iNdEx = postIndex
  16178. case 2:
  16179. if wireType != 2 {
  16180. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  16181. }
  16182. var stringLen uint64
  16183. for shift := uint(0); ; shift += 7 {
  16184. if shift >= 64 {
  16185. return ErrIntOverflowGenerated
  16186. }
  16187. if iNdEx >= l {
  16188. return io.ErrUnexpectedEOF
  16189. }
  16190. b := dAtA[iNdEx]
  16191. iNdEx++
  16192. stringLen |= (uint64(b) & 0x7F) << shift
  16193. if b < 0x80 {
  16194. break
  16195. }
  16196. }
  16197. intStringLen := int(stringLen)
  16198. if intStringLen < 0 {
  16199. return ErrInvalidLengthGenerated
  16200. }
  16201. postIndex := iNdEx + intStringLen
  16202. if postIndex > l {
  16203. return io.ErrUnexpectedEOF
  16204. }
  16205. m.FSType = string(dAtA[iNdEx:postIndex])
  16206. iNdEx = postIndex
  16207. case 3:
  16208. if wireType != 0 {
  16209. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  16210. }
  16211. m.Partition = 0
  16212. for shift := uint(0); ; shift += 7 {
  16213. if shift >= 64 {
  16214. return ErrIntOverflowGenerated
  16215. }
  16216. if iNdEx >= l {
  16217. return io.ErrUnexpectedEOF
  16218. }
  16219. b := dAtA[iNdEx]
  16220. iNdEx++
  16221. m.Partition |= (int32(b) & 0x7F) << shift
  16222. if b < 0x80 {
  16223. break
  16224. }
  16225. }
  16226. case 4:
  16227. if wireType != 0 {
  16228. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  16229. }
  16230. var v int
  16231. for shift := uint(0); ; shift += 7 {
  16232. if shift >= 64 {
  16233. return ErrIntOverflowGenerated
  16234. }
  16235. if iNdEx >= l {
  16236. return io.ErrUnexpectedEOF
  16237. }
  16238. b := dAtA[iNdEx]
  16239. iNdEx++
  16240. v |= (int(b) & 0x7F) << shift
  16241. if b < 0x80 {
  16242. break
  16243. }
  16244. }
  16245. m.ReadOnly = bool(v != 0)
  16246. default:
  16247. iNdEx = preIndex
  16248. skippy, err := skipGenerated(dAtA[iNdEx:])
  16249. if err != nil {
  16250. return err
  16251. }
  16252. if skippy < 0 {
  16253. return ErrInvalidLengthGenerated
  16254. }
  16255. if (iNdEx + skippy) > l {
  16256. return io.ErrUnexpectedEOF
  16257. }
  16258. iNdEx += skippy
  16259. }
  16260. }
  16261. if iNdEx > l {
  16262. return io.ErrUnexpectedEOF
  16263. }
  16264. return nil
  16265. }
  16266. func (m *Affinity) Unmarshal(dAtA []byte) error {
  16267. l := len(dAtA)
  16268. iNdEx := 0
  16269. for iNdEx < l {
  16270. preIndex := iNdEx
  16271. var wire uint64
  16272. for shift := uint(0); ; shift += 7 {
  16273. if shift >= 64 {
  16274. return ErrIntOverflowGenerated
  16275. }
  16276. if iNdEx >= l {
  16277. return io.ErrUnexpectedEOF
  16278. }
  16279. b := dAtA[iNdEx]
  16280. iNdEx++
  16281. wire |= (uint64(b) & 0x7F) << shift
  16282. if b < 0x80 {
  16283. break
  16284. }
  16285. }
  16286. fieldNum := int32(wire >> 3)
  16287. wireType := int(wire & 0x7)
  16288. if wireType == 4 {
  16289. return fmt.Errorf("proto: Affinity: wiretype end group for non-group")
  16290. }
  16291. if fieldNum <= 0 {
  16292. return fmt.Errorf("proto: Affinity: illegal tag %d (wire type %d)", fieldNum, wire)
  16293. }
  16294. switch fieldNum {
  16295. case 1:
  16296. if wireType != 2 {
  16297. return fmt.Errorf("proto: wrong wireType = %d for field NodeAffinity", wireType)
  16298. }
  16299. var msglen int
  16300. for shift := uint(0); ; shift += 7 {
  16301. if shift >= 64 {
  16302. return ErrIntOverflowGenerated
  16303. }
  16304. if iNdEx >= l {
  16305. return io.ErrUnexpectedEOF
  16306. }
  16307. b := dAtA[iNdEx]
  16308. iNdEx++
  16309. msglen |= (int(b) & 0x7F) << shift
  16310. if b < 0x80 {
  16311. break
  16312. }
  16313. }
  16314. if msglen < 0 {
  16315. return ErrInvalidLengthGenerated
  16316. }
  16317. postIndex := iNdEx + msglen
  16318. if postIndex > l {
  16319. return io.ErrUnexpectedEOF
  16320. }
  16321. if m.NodeAffinity == nil {
  16322. m.NodeAffinity = &NodeAffinity{}
  16323. }
  16324. if err := m.NodeAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  16325. return err
  16326. }
  16327. iNdEx = postIndex
  16328. case 2:
  16329. if wireType != 2 {
  16330. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinity", wireType)
  16331. }
  16332. var msglen int
  16333. for shift := uint(0); ; shift += 7 {
  16334. if shift >= 64 {
  16335. return ErrIntOverflowGenerated
  16336. }
  16337. if iNdEx >= l {
  16338. return io.ErrUnexpectedEOF
  16339. }
  16340. b := dAtA[iNdEx]
  16341. iNdEx++
  16342. msglen |= (int(b) & 0x7F) << shift
  16343. if b < 0x80 {
  16344. break
  16345. }
  16346. }
  16347. if msglen < 0 {
  16348. return ErrInvalidLengthGenerated
  16349. }
  16350. postIndex := iNdEx + msglen
  16351. if postIndex > l {
  16352. return io.ErrUnexpectedEOF
  16353. }
  16354. if m.PodAffinity == nil {
  16355. m.PodAffinity = &PodAffinity{}
  16356. }
  16357. if err := m.PodAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  16358. return err
  16359. }
  16360. iNdEx = postIndex
  16361. case 3:
  16362. if wireType != 2 {
  16363. return fmt.Errorf("proto: wrong wireType = %d for field PodAntiAffinity", wireType)
  16364. }
  16365. var msglen int
  16366. for shift := uint(0); ; shift += 7 {
  16367. if shift >= 64 {
  16368. return ErrIntOverflowGenerated
  16369. }
  16370. if iNdEx >= l {
  16371. return io.ErrUnexpectedEOF
  16372. }
  16373. b := dAtA[iNdEx]
  16374. iNdEx++
  16375. msglen |= (int(b) & 0x7F) << shift
  16376. if b < 0x80 {
  16377. break
  16378. }
  16379. }
  16380. if msglen < 0 {
  16381. return ErrInvalidLengthGenerated
  16382. }
  16383. postIndex := iNdEx + msglen
  16384. if postIndex > l {
  16385. return io.ErrUnexpectedEOF
  16386. }
  16387. if m.PodAntiAffinity == nil {
  16388. m.PodAntiAffinity = &PodAntiAffinity{}
  16389. }
  16390. if err := m.PodAntiAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  16391. return err
  16392. }
  16393. iNdEx = postIndex
  16394. default:
  16395. iNdEx = preIndex
  16396. skippy, err := skipGenerated(dAtA[iNdEx:])
  16397. if err != nil {
  16398. return err
  16399. }
  16400. if skippy < 0 {
  16401. return ErrInvalidLengthGenerated
  16402. }
  16403. if (iNdEx + skippy) > l {
  16404. return io.ErrUnexpectedEOF
  16405. }
  16406. iNdEx += skippy
  16407. }
  16408. }
  16409. if iNdEx > l {
  16410. return io.ErrUnexpectedEOF
  16411. }
  16412. return nil
  16413. }
  16414. func (m *AttachedVolume) Unmarshal(dAtA []byte) error {
  16415. l := len(dAtA)
  16416. iNdEx := 0
  16417. for iNdEx < l {
  16418. preIndex := iNdEx
  16419. var wire uint64
  16420. for shift := uint(0); ; shift += 7 {
  16421. if shift >= 64 {
  16422. return ErrIntOverflowGenerated
  16423. }
  16424. if iNdEx >= l {
  16425. return io.ErrUnexpectedEOF
  16426. }
  16427. b := dAtA[iNdEx]
  16428. iNdEx++
  16429. wire |= (uint64(b) & 0x7F) << shift
  16430. if b < 0x80 {
  16431. break
  16432. }
  16433. }
  16434. fieldNum := int32(wire >> 3)
  16435. wireType := int(wire & 0x7)
  16436. if wireType == 4 {
  16437. return fmt.Errorf("proto: AttachedVolume: wiretype end group for non-group")
  16438. }
  16439. if fieldNum <= 0 {
  16440. return fmt.Errorf("proto: AttachedVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  16441. }
  16442. switch fieldNum {
  16443. case 1:
  16444. if wireType != 2 {
  16445. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  16446. }
  16447. var stringLen uint64
  16448. for shift := uint(0); ; shift += 7 {
  16449. if shift >= 64 {
  16450. return ErrIntOverflowGenerated
  16451. }
  16452. if iNdEx >= l {
  16453. return io.ErrUnexpectedEOF
  16454. }
  16455. b := dAtA[iNdEx]
  16456. iNdEx++
  16457. stringLen |= (uint64(b) & 0x7F) << shift
  16458. if b < 0x80 {
  16459. break
  16460. }
  16461. }
  16462. intStringLen := int(stringLen)
  16463. if intStringLen < 0 {
  16464. return ErrInvalidLengthGenerated
  16465. }
  16466. postIndex := iNdEx + intStringLen
  16467. if postIndex > l {
  16468. return io.ErrUnexpectedEOF
  16469. }
  16470. m.Name = UniqueVolumeName(dAtA[iNdEx:postIndex])
  16471. iNdEx = postIndex
  16472. case 2:
  16473. if wireType != 2 {
  16474. return fmt.Errorf("proto: wrong wireType = %d for field DevicePath", wireType)
  16475. }
  16476. var stringLen uint64
  16477. for shift := uint(0); ; shift += 7 {
  16478. if shift >= 64 {
  16479. return ErrIntOverflowGenerated
  16480. }
  16481. if iNdEx >= l {
  16482. return io.ErrUnexpectedEOF
  16483. }
  16484. b := dAtA[iNdEx]
  16485. iNdEx++
  16486. stringLen |= (uint64(b) & 0x7F) << shift
  16487. if b < 0x80 {
  16488. break
  16489. }
  16490. }
  16491. intStringLen := int(stringLen)
  16492. if intStringLen < 0 {
  16493. return ErrInvalidLengthGenerated
  16494. }
  16495. postIndex := iNdEx + intStringLen
  16496. if postIndex > l {
  16497. return io.ErrUnexpectedEOF
  16498. }
  16499. m.DevicePath = string(dAtA[iNdEx:postIndex])
  16500. iNdEx = postIndex
  16501. default:
  16502. iNdEx = preIndex
  16503. skippy, err := skipGenerated(dAtA[iNdEx:])
  16504. if err != nil {
  16505. return err
  16506. }
  16507. if skippy < 0 {
  16508. return ErrInvalidLengthGenerated
  16509. }
  16510. if (iNdEx + skippy) > l {
  16511. return io.ErrUnexpectedEOF
  16512. }
  16513. iNdEx += skippy
  16514. }
  16515. }
  16516. if iNdEx > l {
  16517. return io.ErrUnexpectedEOF
  16518. }
  16519. return nil
  16520. }
  16521. func (m *AvoidPods) Unmarshal(dAtA []byte) error {
  16522. l := len(dAtA)
  16523. iNdEx := 0
  16524. for iNdEx < l {
  16525. preIndex := iNdEx
  16526. var wire uint64
  16527. for shift := uint(0); ; shift += 7 {
  16528. if shift >= 64 {
  16529. return ErrIntOverflowGenerated
  16530. }
  16531. if iNdEx >= l {
  16532. return io.ErrUnexpectedEOF
  16533. }
  16534. b := dAtA[iNdEx]
  16535. iNdEx++
  16536. wire |= (uint64(b) & 0x7F) << shift
  16537. if b < 0x80 {
  16538. break
  16539. }
  16540. }
  16541. fieldNum := int32(wire >> 3)
  16542. wireType := int(wire & 0x7)
  16543. if wireType == 4 {
  16544. return fmt.Errorf("proto: AvoidPods: wiretype end group for non-group")
  16545. }
  16546. if fieldNum <= 0 {
  16547. return fmt.Errorf("proto: AvoidPods: illegal tag %d (wire type %d)", fieldNum, wire)
  16548. }
  16549. switch fieldNum {
  16550. case 1:
  16551. if wireType != 2 {
  16552. return fmt.Errorf("proto: wrong wireType = %d for field PreferAvoidPods", wireType)
  16553. }
  16554. var msglen int
  16555. for shift := uint(0); ; shift += 7 {
  16556. if shift >= 64 {
  16557. return ErrIntOverflowGenerated
  16558. }
  16559. if iNdEx >= l {
  16560. return io.ErrUnexpectedEOF
  16561. }
  16562. b := dAtA[iNdEx]
  16563. iNdEx++
  16564. msglen |= (int(b) & 0x7F) << shift
  16565. if b < 0x80 {
  16566. break
  16567. }
  16568. }
  16569. if msglen < 0 {
  16570. return ErrInvalidLengthGenerated
  16571. }
  16572. postIndex := iNdEx + msglen
  16573. if postIndex > l {
  16574. return io.ErrUnexpectedEOF
  16575. }
  16576. m.PreferAvoidPods = append(m.PreferAvoidPods, PreferAvoidPodsEntry{})
  16577. if err := m.PreferAvoidPods[len(m.PreferAvoidPods)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  16578. return err
  16579. }
  16580. iNdEx = postIndex
  16581. default:
  16582. iNdEx = preIndex
  16583. skippy, err := skipGenerated(dAtA[iNdEx:])
  16584. if err != nil {
  16585. return err
  16586. }
  16587. if skippy < 0 {
  16588. return ErrInvalidLengthGenerated
  16589. }
  16590. if (iNdEx + skippy) > l {
  16591. return io.ErrUnexpectedEOF
  16592. }
  16593. iNdEx += skippy
  16594. }
  16595. }
  16596. if iNdEx > l {
  16597. return io.ErrUnexpectedEOF
  16598. }
  16599. return nil
  16600. }
  16601. func (m *AzureDiskVolumeSource) Unmarshal(dAtA []byte) error {
  16602. l := len(dAtA)
  16603. iNdEx := 0
  16604. for iNdEx < l {
  16605. preIndex := iNdEx
  16606. var wire uint64
  16607. for shift := uint(0); ; shift += 7 {
  16608. if shift >= 64 {
  16609. return ErrIntOverflowGenerated
  16610. }
  16611. if iNdEx >= l {
  16612. return io.ErrUnexpectedEOF
  16613. }
  16614. b := dAtA[iNdEx]
  16615. iNdEx++
  16616. wire |= (uint64(b) & 0x7F) << shift
  16617. if b < 0x80 {
  16618. break
  16619. }
  16620. }
  16621. fieldNum := int32(wire >> 3)
  16622. wireType := int(wire & 0x7)
  16623. if wireType == 4 {
  16624. return fmt.Errorf("proto: AzureDiskVolumeSource: wiretype end group for non-group")
  16625. }
  16626. if fieldNum <= 0 {
  16627. return fmt.Errorf("proto: AzureDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  16628. }
  16629. switch fieldNum {
  16630. case 1:
  16631. if wireType != 2 {
  16632. return fmt.Errorf("proto: wrong wireType = %d for field DiskName", wireType)
  16633. }
  16634. var stringLen uint64
  16635. for shift := uint(0); ; shift += 7 {
  16636. if shift >= 64 {
  16637. return ErrIntOverflowGenerated
  16638. }
  16639. if iNdEx >= l {
  16640. return io.ErrUnexpectedEOF
  16641. }
  16642. b := dAtA[iNdEx]
  16643. iNdEx++
  16644. stringLen |= (uint64(b) & 0x7F) << shift
  16645. if b < 0x80 {
  16646. break
  16647. }
  16648. }
  16649. intStringLen := int(stringLen)
  16650. if intStringLen < 0 {
  16651. return ErrInvalidLengthGenerated
  16652. }
  16653. postIndex := iNdEx + intStringLen
  16654. if postIndex > l {
  16655. return io.ErrUnexpectedEOF
  16656. }
  16657. m.DiskName = string(dAtA[iNdEx:postIndex])
  16658. iNdEx = postIndex
  16659. case 2:
  16660. if wireType != 2 {
  16661. return fmt.Errorf("proto: wrong wireType = %d for field DataDiskURI", wireType)
  16662. }
  16663. var stringLen uint64
  16664. for shift := uint(0); ; shift += 7 {
  16665. if shift >= 64 {
  16666. return ErrIntOverflowGenerated
  16667. }
  16668. if iNdEx >= l {
  16669. return io.ErrUnexpectedEOF
  16670. }
  16671. b := dAtA[iNdEx]
  16672. iNdEx++
  16673. stringLen |= (uint64(b) & 0x7F) << shift
  16674. if b < 0x80 {
  16675. break
  16676. }
  16677. }
  16678. intStringLen := int(stringLen)
  16679. if intStringLen < 0 {
  16680. return ErrInvalidLengthGenerated
  16681. }
  16682. postIndex := iNdEx + intStringLen
  16683. if postIndex > l {
  16684. return io.ErrUnexpectedEOF
  16685. }
  16686. m.DataDiskURI = string(dAtA[iNdEx:postIndex])
  16687. iNdEx = postIndex
  16688. case 3:
  16689. if wireType != 2 {
  16690. return fmt.Errorf("proto: wrong wireType = %d for field CachingMode", wireType)
  16691. }
  16692. var stringLen uint64
  16693. for shift := uint(0); ; shift += 7 {
  16694. if shift >= 64 {
  16695. return ErrIntOverflowGenerated
  16696. }
  16697. if iNdEx >= l {
  16698. return io.ErrUnexpectedEOF
  16699. }
  16700. b := dAtA[iNdEx]
  16701. iNdEx++
  16702. stringLen |= (uint64(b) & 0x7F) << shift
  16703. if b < 0x80 {
  16704. break
  16705. }
  16706. }
  16707. intStringLen := int(stringLen)
  16708. if intStringLen < 0 {
  16709. return ErrInvalidLengthGenerated
  16710. }
  16711. postIndex := iNdEx + intStringLen
  16712. if postIndex > l {
  16713. return io.ErrUnexpectedEOF
  16714. }
  16715. s := AzureDataDiskCachingMode(dAtA[iNdEx:postIndex])
  16716. m.CachingMode = &s
  16717. iNdEx = postIndex
  16718. case 4:
  16719. if wireType != 2 {
  16720. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  16721. }
  16722. var stringLen uint64
  16723. for shift := uint(0); ; shift += 7 {
  16724. if shift >= 64 {
  16725. return ErrIntOverflowGenerated
  16726. }
  16727. if iNdEx >= l {
  16728. return io.ErrUnexpectedEOF
  16729. }
  16730. b := dAtA[iNdEx]
  16731. iNdEx++
  16732. stringLen |= (uint64(b) & 0x7F) << shift
  16733. if b < 0x80 {
  16734. break
  16735. }
  16736. }
  16737. intStringLen := int(stringLen)
  16738. if intStringLen < 0 {
  16739. return ErrInvalidLengthGenerated
  16740. }
  16741. postIndex := iNdEx + intStringLen
  16742. if postIndex > l {
  16743. return io.ErrUnexpectedEOF
  16744. }
  16745. s := string(dAtA[iNdEx:postIndex])
  16746. m.FSType = &s
  16747. iNdEx = postIndex
  16748. case 5:
  16749. if wireType != 0 {
  16750. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  16751. }
  16752. var v int
  16753. for shift := uint(0); ; shift += 7 {
  16754. if shift >= 64 {
  16755. return ErrIntOverflowGenerated
  16756. }
  16757. if iNdEx >= l {
  16758. return io.ErrUnexpectedEOF
  16759. }
  16760. b := dAtA[iNdEx]
  16761. iNdEx++
  16762. v |= (int(b) & 0x7F) << shift
  16763. if b < 0x80 {
  16764. break
  16765. }
  16766. }
  16767. b := bool(v != 0)
  16768. m.ReadOnly = &b
  16769. case 6:
  16770. if wireType != 2 {
  16771. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  16772. }
  16773. var stringLen uint64
  16774. for shift := uint(0); ; shift += 7 {
  16775. if shift >= 64 {
  16776. return ErrIntOverflowGenerated
  16777. }
  16778. if iNdEx >= l {
  16779. return io.ErrUnexpectedEOF
  16780. }
  16781. b := dAtA[iNdEx]
  16782. iNdEx++
  16783. stringLen |= (uint64(b) & 0x7F) << shift
  16784. if b < 0x80 {
  16785. break
  16786. }
  16787. }
  16788. intStringLen := int(stringLen)
  16789. if intStringLen < 0 {
  16790. return ErrInvalidLengthGenerated
  16791. }
  16792. postIndex := iNdEx + intStringLen
  16793. if postIndex > l {
  16794. return io.ErrUnexpectedEOF
  16795. }
  16796. s := AzureDataDiskKind(dAtA[iNdEx:postIndex])
  16797. m.Kind = &s
  16798. iNdEx = postIndex
  16799. default:
  16800. iNdEx = preIndex
  16801. skippy, err := skipGenerated(dAtA[iNdEx:])
  16802. if err != nil {
  16803. return err
  16804. }
  16805. if skippy < 0 {
  16806. return ErrInvalidLengthGenerated
  16807. }
  16808. if (iNdEx + skippy) > l {
  16809. return io.ErrUnexpectedEOF
  16810. }
  16811. iNdEx += skippy
  16812. }
  16813. }
  16814. if iNdEx > l {
  16815. return io.ErrUnexpectedEOF
  16816. }
  16817. return nil
  16818. }
  16819. func (m *AzureFilePersistentVolumeSource) Unmarshal(dAtA []byte) error {
  16820. l := len(dAtA)
  16821. iNdEx := 0
  16822. for iNdEx < l {
  16823. preIndex := iNdEx
  16824. var wire uint64
  16825. for shift := uint(0); ; shift += 7 {
  16826. if shift >= 64 {
  16827. return ErrIntOverflowGenerated
  16828. }
  16829. if iNdEx >= l {
  16830. return io.ErrUnexpectedEOF
  16831. }
  16832. b := dAtA[iNdEx]
  16833. iNdEx++
  16834. wire |= (uint64(b) & 0x7F) << shift
  16835. if b < 0x80 {
  16836. break
  16837. }
  16838. }
  16839. fieldNum := int32(wire >> 3)
  16840. wireType := int(wire & 0x7)
  16841. if wireType == 4 {
  16842. return fmt.Errorf("proto: AzureFilePersistentVolumeSource: wiretype end group for non-group")
  16843. }
  16844. if fieldNum <= 0 {
  16845. return fmt.Errorf("proto: AzureFilePersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  16846. }
  16847. switch fieldNum {
  16848. case 1:
  16849. if wireType != 2 {
  16850. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  16851. }
  16852. var stringLen uint64
  16853. for shift := uint(0); ; shift += 7 {
  16854. if shift >= 64 {
  16855. return ErrIntOverflowGenerated
  16856. }
  16857. if iNdEx >= l {
  16858. return io.ErrUnexpectedEOF
  16859. }
  16860. b := dAtA[iNdEx]
  16861. iNdEx++
  16862. stringLen |= (uint64(b) & 0x7F) << shift
  16863. if b < 0x80 {
  16864. break
  16865. }
  16866. }
  16867. intStringLen := int(stringLen)
  16868. if intStringLen < 0 {
  16869. return ErrInvalidLengthGenerated
  16870. }
  16871. postIndex := iNdEx + intStringLen
  16872. if postIndex > l {
  16873. return io.ErrUnexpectedEOF
  16874. }
  16875. m.SecretName = string(dAtA[iNdEx:postIndex])
  16876. iNdEx = postIndex
  16877. case 2:
  16878. if wireType != 2 {
  16879. return fmt.Errorf("proto: wrong wireType = %d for field ShareName", wireType)
  16880. }
  16881. var stringLen uint64
  16882. for shift := uint(0); ; shift += 7 {
  16883. if shift >= 64 {
  16884. return ErrIntOverflowGenerated
  16885. }
  16886. if iNdEx >= l {
  16887. return io.ErrUnexpectedEOF
  16888. }
  16889. b := dAtA[iNdEx]
  16890. iNdEx++
  16891. stringLen |= (uint64(b) & 0x7F) << shift
  16892. if b < 0x80 {
  16893. break
  16894. }
  16895. }
  16896. intStringLen := int(stringLen)
  16897. if intStringLen < 0 {
  16898. return ErrInvalidLengthGenerated
  16899. }
  16900. postIndex := iNdEx + intStringLen
  16901. if postIndex > l {
  16902. return io.ErrUnexpectedEOF
  16903. }
  16904. m.ShareName = string(dAtA[iNdEx:postIndex])
  16905. iNdEx = postIndex
  16906. case 3:
  16907. if wireType != 0 {
  16908. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  16909. }
  16910. var v int
  16911. for shift := uint(0); ; shift += 7 {
  16912. if shift >= 64 {
  16913. return ErrIntOverflowGenerated
  16914. }
  16915. if iNdEx >= l {
  16916. return io.ErrUnexpectedEOF
  16917. }
  16918. b := dAtA[iNdEx]
  16919. iNdEx++
  16920. v |= (int(b) & 0x7F) << shift
  16921. if b < 0x80 {
  16922. break
  16923. }
  16924. }
  16925. m.ReadOnly = bool(v != 0)
  16926. case 4:
  16927. if wireType != 2 {
  16928. return fmt.Errorf("proto: wrong wireType = %d for field SecretNamespace", wireType)
  16929. }
  16930. var stringLen uint64
  16931. for shift := uint(0); ; shift += 7 {
  16932. if shift >= 64 {
  16933. return ErrIntOverflowGenerated
  16934. }
  16935. if iNdEx >= l {
  16936. return io.ErrUnexpectedEOF
  16937. }
  16938. b := dAtA[iNdEx]
  16939. iNdEx++
  16940. stringLen |= (uint64(b) & 0x7F) << shift
  16941. if b < 0x80 {
  16942. break
  16943. }
  16944. }
  16945. intStringLen := int(stringLen)
  16946. if intStringLen < 0 {
  16947. return ErrInvalidLengthGenerated
  16948. }
  16949. postIndex := iNdEx + intStringLen
  16950. if postIndex > l {
  16951. return io.ErrUnexpectedEOF
  16952. }
  16953. s := string(dAtA[iNdEx:postIndex])
  16954. m.SecretNamespace = &s
  16955. iNdEx = postIndex
  16956. default:
  16957. iNdEx = preIndex
  16958. skippy, err := skipGenerated(dAtA[iNdEx:])
  16959. if err != nil {
  16960. return err
  16961. }
  16962. if skippy < 0 {
  16963. return ErrInvalidLengthGenerated
  16964. }
  16965. if (iNdEx + skippy) > l {
  16966. return io.ErrUnexpectedEOF
  16967. }
  16968. iNdEx += skippy
  16969. }
  16970. }
  16971. if iNdEx > l {
  16972. return io.ErrUnexpectedEOF
  16973. }
  16974. return nil
  16975. }
  16976. func (m *AzureFileVolumeSource) Unmarshal(dAtA []byte) error {
  16977. l := len(dAtA)
  16978. iNdEx := 0
  16979. for iNdEx < l {
  16980. preIndex := iNdEx
  16981. var wire uint64
  16982. for shift := uint(0); ; shift += 7 {
  16983. if shift >= 64 {
  16984. return ErrIntOverflowGenerated
  16985. }
  16986. if iNdEx >= l {
  16987. return io.ErrUnexpectedEOF
  16988. }
  16989. b := dAtA[iNdEx]
  16990. iNdEx++
  16991. wire |= (uint64(b) & 0x7F) << shift
  16992. if b < 0x80 {
  16993. break
  16994. }
  16995. }
  16996. fieldNum := int32(wire >> 3)
  16997. wireType := int(wire & 0x7)
  16998. if wireType == 4 {
  16999. return fmt.Errorf("proto: AzureFileVolumeSource: wiretype end group for non-group")
  17000. }
  17001. if fieldNum <= 0 {
  17002. return fmt.Errorf("proto: AzureFileVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17003. }
  17004. switch fieldNum {
  17005. case 1:
  17006. if wireType != 2 {
  17007. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  17008. }
  17009. var stringLen uint64
  17010. for shift := uint(0); ; shift += 7 {
  17011. if shift >= 64 {
  17012. return ErrIntOverflowGenerated
  17013. }
  17014. if iNdEx >= l {
  17015. return io.ErrUnexpectedEOF
  17016. }
  17017. b := dAtA[iNdEx]
  17018. iNdEx++
  17019. stringLen |= (uint64(b) & 0x7F) << shift
  17020. if b < 0x80 {
  17021. break
  17022. }
  17023. }
  17024. intStringLen := int(stringLen)
  17025. if intStringLen < 0 {
  17026. return ErrInvalidLengthGenerated
  17027. }
  17028. postIndex := iNdEx + intStringLen
  17029. if postIndex > l {
  17030. return io.ErrUnexpectedEOF
  17031. }
  17032. m.SecretName = string(dAtA[iNdEx:postIndex])
  17033. iNdEx = postIndex
  17034. case 2:
  17035. if wireType != 2 {
  17036. return fmt.Errorf("proto: wrong wireType = %d for field ShareName", wireType)
  17037. }
  17038. var stringLen uint64
  17039. for shift := uint(0); ; shift += 7 {
  17040. if shift >= 64 {
  17041. return ErrIntOverflowGenerated
  17042. }
  17043. if iNdEx >= l {
  17044. return io.ErrUnexpectedEOF
  17045. }
  17046. b := dAtA[iNdEx]
  17047. iNdEx++
  17048. stringLen |= (uint64(b) & 0x7F) << shift
  17049. if b < 0x80 {
  17050. break
  17051. }
  17052. }
  17053. intStringLen := int(stringLen)
  17054. if intStringLen < 0 {
  17055. return ErrInvalidLengthGenerated
  17056. }
  17057. postIndex := iNdEx + intStringLen
  17058. if postIndex > l {
  17059. return io.ErrUnexpectedEOF
  17060. }
  17061. m.ShareName = string(dAtA[iNdEx:postIndex])
  17062. iNdEx = postIndex
  17063. case 3:
  17064. if wireType != 0 {
  17065. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  17066. }
  17067. var v int
  17068. for shift := uint(0); ; shift += 7 {
  17069. if shift >= 64 {
  17070. return ErrIntOverflowGenerated
  17071. }
  17072. if iNdEx >= l {
  17073. return io.ErrUnexpectedEOF
  17074. }
  17075. b := dAtA[iNdEx]
  17076. iNdEx++
  17077. v |= (int(b) & 0x7F) << shift
  17078. if b < 0x80 {
  17079. break
  17080. }
  17081. }
  17082. m.ReadOnly = bool(v != 0)
  17083. default:
  17084. iNdEx = preIndex
  17085. skippy, err := skipGenerated(dAtA[iNdEx:])
  17086. if err != nil {
  17087. return err
  17088. }
  17089. if skippy < 0 {
  17090. return ErrInvalidLengthGenerated
  17091. }
  17092. if (iNdEx + skippy) > l {
  17093. return io.ErrUnexpectedEOF
  17094. }
  17095. iNdEx += skippy
  17096. }
  17097. }
  17098. if iNdEx > l {
  17099. return io.ErrUnexpectedEOF
  17100. }
  17101. return nil
  17102. }
  17103. func (m *Binding) Unmarshal(dAtA []byte) error {
  17104. l := len(dAtA)
  17105. iNdEx := 0
  17106. for iNdEx < l {
  17107. preIndex := iNdEx
  17108. var wire uint64
  17109. for shift := uint(0); ; shift += 7 {
  17110. if shift >= 64 {
  17111. return ErrIntOverflowGenerated
  17112. }
  17113. if iNdEx >= l {
  17114. return io.ErrUnexpectedEOF
  17115. }
  17116. b := dAtA[iNdEx]
  17117. iNdEx++
  17118. wire |= (uint64(b) & 0x7F) << shift
  17119. if b < 0x80 {
  17120. break
  17121. }
  17122. }
  17123. fieldNum := int32(wire >> 3)
  17124. wireType := int(wire & 0x7)
  17125. if wireType == 4 {
  17126. return fmt.Errorf("proto: Binding: wiretype end group for non-group")
  17127. }
  17128. if fieldNum <= 0 {
  17129. return fmt.Errorf("proto: Binding: illegal tag %d (wire type %d)", fieldNum, wire)
  17130. }
  17131. switch fieldNum {
  17132. case 1:
  17133. if wireType != 2 {
  17134. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  17135. }
  17136. var msglen int
  17137. for shift := uint(0); ; shift += 7 {
  17138. if shift >= 64 {
  17139. return ErrIntOverflowGenerated
  17140. }
  17141. if iNdEx >= l {
  17142. return io.ErrUnexpectedEOF
  17143. }
  17144. b := dAtA[iNdEx]
  17145. iNdEx++
  17146. msglen |= (int(b) & 0x7F) << shift
  17147. if b < 0x80 {
  17148. break
  17149. }
  17150. }
  17151. if msglen < 0 {
  17152. return ErrInvalidLengthGenerated
  17153. }
  17154. postIndex := iNdEx + msglen
  17155. if postIndex > l {
  17156. return io.ErrUnexpectedEOF
  17157. }
  17158. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17159. return err
  17160. }
  17161. iNdEx = postIndex
  17162. case 2:
  17163. if wireType != 2 {
  17164. return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
  17165. }
  17166. var msglen int
  17167. for shift := uint(0); ; shift += 7 {
  17168. if shift >= 64 {
  17169. return ErrIntOverflowGenerated
  17170. }
  17171. if iNdEx >= l {
  17172. return io.ErrUnexpectedEOF
  17173. }
  17174. b := dAtA[iNdEx]
  17175. iNdEx++
  17176. msglen |= (int(b) & 0x7F) << shift
  17177. if b < 0x80 {
  17178. break
  17179. }
  17180. }
  17181. if msglen < 0 {
  17182. return ErrInvalidLengthGenerated
  17183. }
  17184. postIndex := iNdEx + msglen
  17185. if postIndex > l {
  17186. return io.ErrUnexpectedEOF
  17187. }
  17188. if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17189. return err
  17190. }
  17191. iNdEx = postIndex
  17192. default:
  17193. iNdEx = preIndex
  17194. skippy, err := skipGenerated(dAtA[iNdEx:])
  17195. if err != nil {
  17196. return err
  17197. }
  17198. if skippy < 0 {
  17199. return ErrInvalidLengthGenerated
  17200. }
  17201. if (iNdEx + skippy) > l {
  17202. return io.ErrUnexpectedEOF
  17203. }
  17204. iNdEx += skippy
  17205. }
  17206. }
  17207. if iNdEx > l {
  17208. return io.ErrUnexpectedEOF
  17209. }
  17210. return nil
  17211. }
  17212. func (m *CSIPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  17213. l := len(dAtA)
  17214. iNdEx := 0
  17215. for iNdEx < l {
  17216. preIndex := iNdEx
  17217. var wire uint64
  17218. for shift := uint(0); ; shift += 7 {
  17219. if shift >= 64 {
  17220. return ErrIntOverflowGenerated
  17221. }
  17222. if iNdEx >= l {
  17223. return io.ErrUnexpectedEOF
  17224. }
  17225. b := dAtA[iNdEx]
  17226. iNdEx++
  17227. wire |= (uint64(b) & 0x7F) << shift
  17228. if b < 0x80 {
  17229. break
  17230. }
  17231. }
  17232. fieldNum := int32(wire >> 3)
  17233. wireType := int(wire & 0x7)
  17234. if wireType == 4 {
  17235. return fmt.Errorf("proto: CSIPersistentVolumeSource: wiretype end group for non-group")
  17236. }
  17237. if fieldNum <= 0 {
  17238. return fmt.Errorf("proto: CSIPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17239. }
  17240. switch fieldNum {
  17241. case 1:
  17242. if wireType != 2 {
  17243. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  17244. }
  17245. var stringLen uint64
  17246. for shift := uint(0); ; shift += 7 {
  17247. if shift >= 64 {
  17248. return ErrIntOverflowGenerated
  17249. }
  17250. if iNdEx >= l {
  17251. return io.ErrUnexpectedEOF
  17252. }
  17253. b := dAtA[iNdEx]
  17254. iNdEx++
  17255. stringLen |= (uint64(b) & 0x7F) << shift
  17256. if b < 0x80 {
  17257. break
  17258. }
  17259. }
  17260. intStringLen := int(stringLen)
  17261. if intStringLen < 0 {
  17262. return ErrInvalidLengthGenerated
  17263. }
  17264. postIndex := iNdEx + intStringLen
  17265. if postIndex > l {
  17266. return io.ErrUnexpectedEOF
  17267. }
  17268. m.Driver = string(dAtA[iNdEx:postIndex])
  17269. iNdEx = postIndex
  17270. case 2:
  17271. if wireType != 2 {
  17272. return fmt.Errorf("proto: wrong wireType = %d for field VolumeHandle", wireType)
  17273. }
  17274. var stringLen uint64
  17275. for shift := uint(0); ; shift += 7 {
  17276. if shift >= 64 {
  17277. return ErrIntOverflowGenerated
  17278. }
  17279. if iNdEx >= l {
  17280. return io.ErrUnexpectedEOF
  17281. }
  17282. b := dAtA[iNdEx]
  17283. iNdEx++
  17284. stringLen |= (uint64(b) & 0x7F) << shift
  17285. if b < 0x80 {
  17286. break
  17287. }
  17288. }
  17289. intStringLen := int(stringLen)
  17290. if intStringLen < 0 {
  17291. return ErrInvalidLengthGenerated
  17292. }
  17293. postIndex := iNdEx + intStringLen
  17294. if postIndex > l {
  17295. return io.ErrUnexpectedEOF
  17296. }
  17297. m.VolumeHandle = string(dAtA[iNdEx:postIndex])
  17298. iNdEx = postIndex
  17299. case 3:
  17300. if wireType != 0 {
  17301. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  17302. }
  17303. var v int
  17304. for shift := uint(0); ; shift += 7 {
  17305. if shift >= 64 {
  17306. return ErrIntOverflowGenerated
  17307. }
  17308. if iNdEx >= l {
  17309. return io.ErrUnexpectedEOF
  17310. }
  17311. b := dAtA[iNdEx]
  17312. iNdEx++
  17313. v |= (int(b) & 0x7F) << shift
  17314. if b < 0x80 {
  17315. break
  17316. }
  17317. }
  17318. m.ReadOnly = bool(v != 0)
  17319. case 4:
  17320. if wireType != 2 {
  17321. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  17322. }
  17323. var stringLen uint64
  17324. for shift := uint(0); ; shift += 7 {
  17325. if shift >= 64 {
  17326. return ErrIntOverflowGenerated
  17327. }
  17328. if iNdEx >= l {
  17329. return io.ErrUnexpectedEOF
  17330. }
  17331. b := dAtA[iNdEx]
  17332. iNdEx++
  17333. stringLen |= (uint64(b) & 0x7F) << shift
  17334. if b < 0x80 {
  17335. break
  17336. }
  17337. }
  17338. intStringLen := int(stringLen)
  17339. if intStringLen < 0 {
  17340. return ErrInvalidLengthGenerated
  17341. }
  17342. postIndex := iNdEx + intStringLen
  17343. if postIndex > l {
  17344. return io.ErrUnexpectedEOF
  17345. }
  17346. m.FSType = string(dAtA[iNdEx:postIndex])
  17347. iNdEx = postIndex
  17348. case 5:
  17349. if wireType != 2 {
  17350. return fmt.Errorf("proto: wrong wireType = %d for field VolumeAttributes", wireType)
  17351. }
  17352. var msglen int
  17353. for shift := uint(0); ; shift += 7 {
  17354. if shift >= 64 {
  17355. return ErrIntOverflowGenerated
  17356. }
  17357. if iNdEx >= l {
  17358. return io.ErrUnexpectedEOF
  17359. }
  17360. b := dAtA[iNdEx]
  17361. iNdEx++
  17362. msglen |= (int(b) & 0x7F) << shift
  17363. if b < 0x80 {
  17364. break
  17365. }
  17366. }
  17367. if msglen < 0 {
  17368. return ErrInvalidLengthGenerated
  17369. }
  17370. postIndex := iNdEx + msglen
  17371. if postIndex > l {
  17372. return io.ErrUnexpectedEOF
  17373. }
  17374. var keykey uint64
  17375. for shift := uint(0); ; shift += 7 {
  17376. if shift >= 64 {
  17377. return ErrIntOverflowGenerated
  17378. }
  17379. if iNdEx >= l {
  17380. return io.ErrUnexpectedEOF
  17381. }
  17382. b := dAtA[iNdEx]
  17383. iNdEx++
  17384. keykey |= (uint64(b) & 0x7F) << shift
  17385. if b < 0x80 {
  17386. break
  17387. }
  17388. }
  17389. var stringLenmapkey uint64
  17390. for shift := uint(0); ; shift += 7 {
  17391. if shift >= 64 {
  17392. return ErrIntOverflowGenerated
  17393. }
  17394. if iNdEx >= l {
  17395. return io.ErrUnexpectedEOF
  17396. }
  17397. b := dAtA[iNdEx]
  17398. iNdEx++
  17399. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  17400. if b < 0x80 {
  17401. break
  17402. }
  17403. }
  17404. intStringLenmapkey := int(stringLenmapkey)
  17405. if intStringLenmapkey < 0 {
  17406. return ErrInvalidLengthGenerated
  17407. }
  17408. postStringIndexmapkey := iNdEx + intStringLenmapkey
  17409. if postStringIndexmapkey > l {
  17410. return io.ErrUnexpectedEOF
  17411. }
  17412. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  17413. iNdEx = postStringIndexmapkey
  17414. if m.VolumeAttributes == nil {
  17415. m.VolumeAttributes = make(map[string]string)
  17416. }
  17417. if iNdEx < postIndex {
  17418. var valuekey uint64
  17419. for shift := uint(0); ; shift += 7 {
  17420. if shift >= 64 {
  17421. return ErrIntOverflowGenerated
  17422. }
  17423. if iNdEx >= l {
  17424. return io.ErrUnexpectedEOF
  17425. }
  17426. b := dAtA[iNdEx]
  17427. iNdEx++
  17428. valuekey |= (uint64(b) & 0x7F) << shift
  17429. if b < 0x80 {
  17430. break
  17431. }
  17432. }
  17433. var stringLenmapvalue uint64
  17434. for shift := uint(0); ; shift += 7 {
  17435. if shift >= 64 {
  17436. return ErrIntOverflowGenerated
  17437. }
  17438. if iNdEx >= l {
  17439. return io.ErrUnexpectedEOF
  17440. }
  17441. b := dAtA[iNdEx]
  17442. iNdEx++
  17443. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  17444. if b < 0x80 {
  17445. break
  17446. }
  17447. }
  17448. intStringLenmapvalue := int(stringLenmapvalue)
  17449. if intStringLenmapvalue < 0 {
  17450. return ErrInvalidLengthGenerated
  17451. }
  17452. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  17453. if postStringIndexmapvalue > l {
  17454. return io.ErrUnexpectedEOF
  17455. }
  17456. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  17457. iNdEx = postStringIndexmapvalue
  17458. m.VolumeAttributes[mapkey] = mapvalue
  17459. } else {
  17460. var mapvalue string
  17461. m.VolumeAttributes[mapkey] = mapvalue
  17462. }
  17463. iNdEx = postIndex
  17464. case 6:
  17465. if wireType != 2 {
  17466. return fmt.Errorf("proto: wrong wireType = %d for field ControllerPublishSecretRef", wireType)
  17467. }
  17468. var msglen int
  17469. for shift := uint(0); ; shift += 7 {
  17470. if shift >= 64 {
  17471. return ErrIntOverflowGenerated
  17472. }
  17473. if iNdEx >= l {
  17474. return io.ErrUnexpectedEOF
  17475. }
  17476. b := dAtA[iNdEx]
  17477. iNdEx++
  17478. msglen |= (int(b) & 0x7F) << shift
  17479. if b < 0x80 {
  17480. break
  17481. }
  17482. }
  17483. if msglen < 0 {
  17484. return ErrInvalidLengthGenerated
  17485. }
  17486. postIndex := iNdEx + msglen
  17487. if postIndex > l {
  17488. return io.ErrUnexpectedEOF
  17489. }
  17490. if m.ControllerPublishSecretRef == nil {
  17491. m.ControllerPublishSecretRef = &SecretReference{}
  17492. }
  17493. if err := m.ControllerPublishSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17494. return err
  17495. }
  17496. iNdEx = postIndex
  17497. case 7:
  17498. if wireType != 2 {
  17499. return fmt.Errorf("proto: wrong wireType = %d for field NodeStageSecretRef", wireType)
  17500. }
  17501. var msglen int
  17502. for shift := uint(0); ; shift += 7 {
  17503. if shift >= 64 {
  17504. return ErrIntOverflowGenerated
  17505. }
  17506. if iNdEx >= l {
  17507. return io.ErrUnexpectedEOF
  17508. }
  17509. b := dAtA[iNdEx]
  17510. iNdEx++
  17511. msglen |= (int(b) & 0x7F) << shift
  17512. if b < 0x80 {
  17513. break
  17514. }
  17515. }
  17516. if msglen < 0 {
  17517. return ErrInvalidLengthGenerated
  17518. }
  17519. postIndex := iNdEx + msglen
  17520. if postIndex > l {
  17521. return io.ErrUnexpectedEOF
  17522. }
  17523. if m.NodeStageSecretRef == nil {
  17524. m.NodeStageSecretRef = &SecretReference{}
  17525. }
  17526. if err := m.NodeStageSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17527. return err
  17528. }
  17529. iNdEx = postIndex
  17530. case 8:
  17531. if wireType != 2 {
  17532. return fmt.Errorf("proto: wrong wireType = %d for field NodePublishSecretRef", wireType)
  17533. }
  17534. var msglen int
  17535. for shift := uint(0); ; shift += 7 {
  17536. if shift >= 64 {
  17537. return ErrIntOverflowGenerated
  17538. }
  17539. if iNdEx >= l {
  17540. return io.ErrUnexpectedEOF
  17541. }
  17542. b := dAtA[iNdEx]
  17543. iNdEx++
  17544. msglen |= (int(b) & 0x7F) << shift
  17545. if b < 0x80 {
  17546. break
  17547. }
  17548. }
  17549. if msglen < 0 {
  17550. return ErrInvalidLengthGenerated
  17551. }
  17552. postIndex := iNdEx + msglen
  17553. if postIndex > l {
  17554. return io.ErrUnexpectedEOF
  17555. }
  17556. if m.NodePublishSecretRef == nil {
  17557. m.NodePublishSecretRef = &SecretReference{}
  17558. }
  17559. if err := m.NodePublishSecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17560. return err
  17561. }
  17562. iNdEx = postIndex
  17563. default:
  17564. iNdEx = preIndex
  17565. skippy, err := skipGenerated(dAtA[iNdEx:])
  17566. if err != nil {
  17567. return err
  17568. }
  17569. if skippy < 0 {
  17570. return ErrInvalidLengthGenerated
  17571. }
  17572. if (iNdEx + skippy) > l {
  17573. return io.ErrUnexpectedEOF
  17574. }
  17575. iNdEx += skippy
  17576. }
  17577. }
  17578. if iNdEx > l {
  17579. return io.ErrUnexpectedEOF
  17580. }
  17581. return nil
  17582. }
  17583. func (m *Capabilities) Unmarshal(dAtA []byte) error {
  17584. l := len(dAtA)
  17585. iNdEx := 0
  17586. for iNdEx < l {
  17587. preIndex := iNdEx
  17588. var wire uint64
  17589. for shift := uint(0); ; shift += 7 {
  17590. if shift >= 64 {
  17591. return ErrIntOverflowGenerated
  17592. }
  17593. if iNdEx >= l {
  17594. return io.ErrUnexpectedEOF
  17595. }
  17596. b := dAtA[iNdEx]
  17597. iNdEx++
  17598. wire |= (uint64(b) & 0x7F) << shift
  17599. if b < 0x80 {
  17600. break
  17601. }
  17602. }
  17603. fieldNum := int32(wire >> 3)
  17604. wireType := int(wire & 0x7)
  17605. if wireType == 4 {
  17606. return fmt.Errorf("proto: Capabilities: wiretype end group for non-group")
  17607. }
  17608. if fieldNum <= 0 {
  17609. return fmt.Errorf("proto: Capabilities: illegal tag %d (wire type %d)", fieldNum, wire)
  17610. }
  17611. switch fieldNum {
  17612. case 1:
  17613. if wireType != 2 {
  17614. return fmt.Errorf("proto: wrong wireType = %d for field Add", wireType)
  17615. }
  17616. var stringLen uint64
  17617. for shift := uint(0); ; shift += 7 {
  17618. if shift >= 64 {
  17619. return ErrIntOverflowGenerated
  17620. }
  17621. if iNdEx >= l {
  17622. return io.ErrUnexpectedEOF
  17623. }
  17624. b := dAtA[iNdEx]
  17625. iNdEx++
  17626. stringLen |= (uint64(b) & 0x7F) << shift
  17627. if b < 0x80 {
  17628. break
  17629. }
  17630. }
  17631. intStringLen := int(stringLen)
  17632. if intStringLen < 0 {
  17633. return ErrInvalidLengthGenerated
  17634. }
  17635. postIndex := iNdEx + intStringLen
  17636. if postIndex > l {
  17637. return io.ErrUnexpectedEOF
  17638. }
  17639. m.Add = append(m.Add, Capability(dAtA[iNdEx:postIndex]))
  17640. iNdEx = postIndex
  17641. case 2:
  17642. if wireType != 2 {
  17643. return fmt.Errorf("proto: wrong wireType = %d for field Drop", wireType)
  17644. }
  17645. var stringLen uint64
  17646. for shift := uint(0); ; shift += 7 {
  17647. if shift >= 64 {
  17648. return ErrIntOverflowGenerated
  17649. }
  17650. if iNdEx >= l {
  17651. return io.ErrUnexpectedEOF
  17652. }
  17653. b := dAtA[iNdEx]
  17654. iNdEx++
  17655. stringLen |= (uint64(b) & 0x7F) << shift
  17656. if b < 0x80 {
  17657. break
  17658. }
  17659. }
  17660. intStringLen := int(stringLen)
  17661. if intStringLen < 0 {
  17662. return ErrInvalidLengthGenerated
  17663. }
  17664. postIndex := iNdEx + intStringLen
  17665. if postIndex > l {
  17666. return io.ErrUnexpectedEOF
  17667. }
  17668. m.Drop = append(m.Drop, Capability(dAtA[iNdEx:postIndex]))
  17669. iNdEx = postIndex
  17670. default:
  17671. iNdEx = preIndex
  17672. skippy, err := skipGenerated(dAtA[iNdEx:])
  17673. if err != nil {
  17674. return err
  17675. }
  17676. if skippy < 0 {
  17677. return ErrInvalidLengthGenerated
  17678. }
  17679. if (iNdEx + skippy) > l {
  17680. return io.ErrUnexpectedEOF
  17681. }
  17682. iNdEx += skippy
  17683. }
  17684. }
  17685. if iNdEx > l {
  17686. return io.ErrUnexpectedEOF
  17687. }
  17688. return nil
  17689. }
  17690. func (m *CephFSPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  17691. l := len(dAtA)
  17692. iNdEx := 0
  17693. for iNdEx < l {
  17694. preIndex := iNdEx
  17695. var wire uint64
  17696. for shift := uint(0); ; shift += 7 {
  17697. if shift >= 64 {
  17698. return ErrIntOverflowGenerated
  17699. }
  17700. if iNdEx >= l {
  17701. return io.ErrUnexpectedEOF
  17702. }
  17703. b := dAtA[iNdEx]
  17704. iNdEx++
  17705. wire |= (uint64(b) & 0x7F) << shift
  17706. if b < 0x80 {
  17707. break
  17708. }
  17709. }
  17710. fieldNum := int32(wire >> 3)
  17711. wireType := int(wire & 0x7)
  17712. if wireType == 4 {
  17713. return fmt.Errorf("proto: CephFSPersistentVolumeSource: wiretype end group for non-group")
  17714. }
  17715. if fieldNum <= 0 {
  17716. return fmt.Errorf("proto: CephFSPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17717. }
  17718. switch fieldNum {
  17719. case 1:
  17720. if wireType != 2 {
  17721. return fmt.Errorf("proto: wrong wireType = %d for field Monitors", wireType)
  17722. }
  17723. var stringLen uint64
  17724. for shift := uint(0); ; shift += 7 {
  17725. if shift >= 64 {
  17726. return ErrIntOverflowGenerated
  17727. }
  17728. if iNdEx >= l {
  17729. return io.ErrUnexpectedEOF
  17730. }
  17731. b := dAtA[iNdEx]
  17732. iNdEx++
  17733. stringLen |= (uint64(b) & 0x7F) << shift
  17734. if b < 0x80 {
  17735. break
  17736. }
  17737. }
  17738. intStringLen := int(stringLen)
  17739. if intStringLen < 0 {
  17740. return ErrInvalidLengthGenerated
  17741. }
  17742. postIndex := iNdEx + intStringLen
  17743. if postIndex > l {
  17744. return io.ErrUnexpectedEOF
  17745. }
  17746. m.Monitors = append(m.Monitors, string(dAtA[iNdEx:postIndex]))
  17747. iNdEx = postIndex
  17748. case 2:
  17749. if wireType != 2 {
  17750. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  17751. }
  17752. var stringLen uint64
  17753. for shift := uint(0); ; shift += 7 {
  17754. if shift >= 64 {
  17755. return ErrIntOverflowGenerated
  17756. }
  17757. if iNdEx >= l {
  17758. return io.ErrUnexpectedEOF
  17759. }
  17760. b := dAtA[iNdEx]
  17761. iNdEx++
  17762. stringLen |= (uint64(b) & 0x7F) << shift
  17763. if b < 0x80 {
  17764. break
  17765. }
  17766. }
  17767. intStringLen := int(stringLen)
  17768. if intStringLen < 0 {
  17769. return ErrInvalidLengthGenerated
  17770. }
  17771. postIndex := iNdEx + intStringLen
  17772. if postIndex > l {
  17773. return io.ErrUnexpectedEOF
  17774. }
  17775. m.Path = string(dAtA[iNdEx:postIndex])
  17776. iNdEx = postIndex
  17777. case 3:
  17778. if wireType != 2 {
  17779. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  17780. }
  17781. var stringLen uint64
  17782. for shift := uint(0); ; shift += 7 {
  17783. if shift >= 64 {
  17784. return ErrIntOverflowGenerated
  17785. }
  17786. if iNdEx >= l {
  17787. return io.ErrUnexpectedEOF
  17788. }
  17789. b := dAtA[iNdEx]
  17790. iNdEx++
  17791. stringLen |= (uint64(b) & 0x7F) << shift
  17792. if b < 0x80 {
  17793. break
  17794. }
  17795. }
  17796. intStringLen := int(stringLen)
  17797. if intStringLen < 0 {
  17798. return ErrInvalidLengthGenerated
  17799. }
  17800. postIndex := iNdEx + intStringLen
  17801. if postIndex > l {
  17802. return io.ErrUnexpectedEOF
  17803. }
  17804. m.User = string(dAtA[iNdEx:postIndex])
  17805. iNdEx = postIndex
  17806. case 4:
  17807. if wireType != 2 {
  17808. return fmt.Errorf("proto: wrong wireType = %d for field SecretFile", wireType)
  17809. }
  17810. var stringLen uint64
  17811. for shift := uint(0); ; shift += 7 {
  17812. if shift >= 64 {
  17813. return ErrIntOverflowGenerated
  17814. }
  17815. if iNdEx >= l {
  17816. return io.ErrUnexpectedEOF
  17817. }
  17818. b := dAtA[iNdEx]
  17819. iNdEx++
  17820. stringLen |= (uint64(b) & 0x7F) << shift
  17821. if b < 0x80 {
  17822. break
  17823. }
  17824. }
  17825. intStringLen := int(stringLen)
  17826. if intStringLen < 0 {
  17827. return ErrInvalidLengthGenerated
  17828. }
  17829. postIndex := iNdEx + intStringLen
  17830. if postIndex > l {
  17831. return io.ErrUnexpectedEOF
  17832. }
  17833. m.SecretFile = string(dAtA[iNdEx:postIndex])
  17834. iNdEx = postIndex
  17835. case 5:
  17836. if wireType != 2 {
  17837. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  17838. }
  17839. var msglen int
  17840. for shift := uint(0); ; shift += 7 {
  17841. if shift >= 64 {
  17842. return ErrIntOverflowGenerated
  17843. }
  17844. if iNdEx >= l {
  17845. return io.ErrUnexpectedEOF
  17846. }
  17847. b := dAtA[iNdEx]
  17848. iNdEx++
  17849. msglen |= (int(b) & 0x7F) << shift
  17850. if b < 0x80 {
  17851. break
  17852. }
  17853. }
  17854. if msglen < 0 {
  17855. return ErrInvalidLengthGenerated
  17856. }
  17857. postIndex := iNdEx + msglen
  17858. if postIndex > l {
  17859. return io.ErrUnexpectedEOF
  17860. }
  17861. if m.SecretRef == nil {
  17862. m.SecretRef = &SecretReference{}
  17863. }
  17864. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  17865. return err
  17866. }
  17867. iNdEx = postIndex
  17868. case 6:
  17869. if wireType != 0 {
  17870. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  17871. }
  17872. var v int
  17873. for shift := uint(0); ; shift += 7 {
  17874. if shift >= 64 {
  17875. return ErrIntOverflowGenerated
  17876. }
  17877. if iNdEx >= l {
  17878. return io.ErrUnexpectedEOF
  17879. }
  17880. b := dAtA[iNdEx]
  17881. iNdEx++
  17882. v |= (int(b) & 0x7F) << shift
  17883. if b < 0x80 {
  17884. break
  17885. }
  17886. }
  17887. m.ReadOnly = bool(v != 0)
  17888. default:
  17889. iNdEx = preIndex
  17890. skippy, err := skipGenerated(dAtA[iNdEx:])
  17891. if err != nil {
  17892. return err
  17893. }
  17894. if skippy < 0 {
  17895. return ErrInvalidLengthGenerated
  17896. }
  17897. if (iNdEx + skippy) > l {
  17898. return io.ErrUnexpectedEOF
  17899. }
  17900. iNdEx += skippy
  17901. }
  17902. }
  17903. if iNdEx > l {
  17904. return io.ErrUnexpectedEOF
  17905. }
  17906. return nil
  17907. }
  17908. func (m *CephFSVolumeSource) Unmarshal(dAtA []byte) error {
  17909. l := len(dAtA)
  17910. iNdEx := 0
  17911. for iNdEx < l {
  17912. preIndex := iNdEx
  17913. var wire uint64
  17914. for shift := uint(0); ; shift += 7 {
  17915. if shift >= 64 {
  17916. return ErrIntOverflowGenerated
  17917. }
  17918. if iNdEx >= l {
  17919. return io.ErrUnexpectedEOF
  17920. }
  17921. b := dAtA[iNdEx]
  17922. iNdEx++
  17923. wire |= (uint64(b) & 0x7F) << shift
  17924. if b < 0x80 {
  17925. break
  17926. }
  17927. }
  17928. fieldNum := int32(wire >> 3)
  17929. wireType := int(wire & 0x7)
  17930. if wireType == 4 {
  17931. return fmt.Errorf("proto: CephFSVolumeSource: wiretype end group for non-group")
  17932. }
  17933. if fieldNum <= 0 {
  17934. return fmt.Errorf("proto: CephFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  17935. }
  17936. switch fieldNum {
  17937. case 1:
  17938. if wireType != 2 {
  17939. return fmt.Errorf("proto: wrong wireType = %d for field Monitors", wireType)
  17940. }
  17941. var stringLen uint64
  17942. for shift := uint(0); ; shift += 7 {
  17943. if shift >= 64 {
  17944. return ErrIntOverflowGenerated
  17945. }
  17946. if iNdEx >= l {
  17947. return io.ErrUnexpectedEOF
  17948. }
  17949. b := dAtA[iNdEx]
  17950. iNdEx++
  17951. stringLen |= (uint64(b) & 0x7F) << shift
  17952. if b < 0x80 {
  17953. break
  17954. }
  17955. }
  17956. intStringLen := int(stringLen)
  17957. if intStringLen < 0 {
  17958. return ErrInvalidLengthGenerated
  17959. }
  17960. postIndex := iNdEx + intStringLen
  17961. if postIndex > l {
  17962. return io.ErrUnexpectedEOF
  17963. }
  17964. m.Monitors = append(m.Monitors, string(dAtA[iNdEx:postIndex]))
  17965. iNdEx = postIndex
  17966. case 2:
  17967. if wireType != 2 {
  17968. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  17969. }
  17970. var stringLen uint64
  17971. for shift := uint(0); ; shift += 7 {
  17972. if shift >= 64 {
  17973. return ErrIntOverflowGenerated
  17974. }
  17975. if iNdEx >= l {
  17976. return io.ErrUnexpectedEOF
  17977. }
  17978. b := dAtA[iNdEx]
  17979. iNdEx++
  17980. stringLen |= (uint64(b) & 0x7F) << shift
  17981. if b < 0x80 {
  17982. break
  17983. }
  17984. }
  17985. intStringLen := int(stringLen)
  17986. if intStringLen < 0 {
  17987. return ErrInvalidLengthGenerated
  17988. }
  17989. postIndex := iNdEx + intStringLen
  17990. if postIndex > l {
  17991. return io.ErrUnexpectedEOF
  17992. }
  17993. m.Path = string(dAtA[iNdEx:postIndex])
  17994. iNdEx = postIndex
  17995. case 3:
  17996. if wireType != 2 {
  17997. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  17998. }
  17999. var stringLen uint64
  18000. for shift := uint(0); ; shift += 7 {
  18001. if shift >= 64 {
  18002. return ErrIntOverflowGenerated
  18003. }
  18004. if iNdEx >= l {
  18005. return io.ErrUnexpectedEOF
  18006. }
  18007. b := dAtA[iNdEx]
  18008. iNdEx++
  18009. stringLen |= (uint64(b) & 0x7F) << shift
  18010. if b < 0x80 {
  18011. break
  18012. }
  18013. }
  18014. intStringLen := int(stringLen)
  18015. if intStringLen < 0 {
  18016. return ErrInvalidLengthGenerated
  18017. }
  18018. postIndex := iNdEx + intStringLen
  18019. if postIndex > l {
  18020. return io.ErrUnexpectedEOF
  18021. }
  18022. m.User = string(dAtA[iNdEx:postIndex])
  18023. iNdEx = postIndex
  18024. case 4:
  18025. if wireType != 2 {
  18026. return fmt.Errorf("proto: wrong wireType = %d for field SecretFile", wireType)
  18027. }
  18028. var stringLen uint64
  18029. for shift := uint(0); ; shift += 7 {
  18030. if shift >= 64 {
  18031. return ErrIntOverflowGenerated
  18032. }
  18033. if iNdEx >= l {
  18034. return io.ErrUnexpectedEOF
  18035. }
  18036. b := dAtA[iNdEx]
  18037. iNdEx++
  18038. stringLen |= (uint64(b) & 0x7F) << shift
  18039. if b < 0x80 {
  18040. break
  18041. }
  18042. }
  18043. intStringLen := int(stringLen)
  18044. if intStringLen < 0 {
  18045. return ErrInvalidLengthGenerated
  18046. }
  18047. postIndex := iNdEx + intStringLen
  18048. if postIndex > l {
  18049. return io.ErrUnexpectedEOF
  18050. }
  18051. m.SecretFile = string(dAtA[iNdEx:postIndex])
  18052. iNdEx = postIndex
  18053. case 5:
  18054. if wireType != 2 {
  18055. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  18056. }
  18057. var msglen int
  18058. for shift := uint(0); ; shift += 7 {
  18059. if shift >= 64 {
  18060. return ErrIntOverflowGenerated
  18061. }
  18062. if iNdEx >= l {
  18063. return io.ErrUnexpectedEOF
  18064. }
  18065. b := dAtA[iNdEx]
  18066. iNdEx++
  18067. msglen |= (int(b) & 0x7F) << shift
  18068. if b < 0x80 {
  18069. break
  18070. }
  18071. }
  18072. if msglen < 0 {
  18073. return ErrInvalidLengthGenerated
  18074. }
  18075. postIndex := iNdEx + msglen
  18076. if postIndex > l {
  18077. return io.ErrUnexpectedEOF
  18078. }
  18079. if m.SecretRef == nil {
  18080. m.SecretRef = &LocalObjectReference{}
  18081. }
  18082. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18083. return err
  18084. }
  18085. iNdEx = postIndex
  18086. case 6:
  18087. if wireType != 0 {
  18088. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  18089. }
  18090. var v int
  18091. for shift := uint(0); ; shift += 7 {
  18092. if shift >= 64 {
  18093. return ErrIntOverflowGenerated
  18094. }
  18095. if iNdEx >= l {
  18096. return io.ErrUnexpectedEOF
  18097. }
  18098. b := dAtA[iNdEx]
  18099. iNdEx++
  18100. v |= (int(b) & 0x7F) << shift
  18101. if b < 0x80 {
  18102. break
  18103. }
  18104. }
  18105. m.ReadOnly = bool(v != 0)
  18106. default:
  18107. iNdEx = preIndex
  18108. skippy, err := skipGenerated(dAtA[iNdEx:])
  18109. if err != nil {
  18110. return err
  18111. }
  18112. if skippy < 0 {
  18113. return ErrInvalidLengthGenerated
  18114. }
  18115. if (iNdEx + skippy) > l {
  18116. return io.ErrUnexpectedEOF
  18117. }
  18118. iNdEx += skippy
  18119. }
  18120. }
  18121. if iNdEx > l {
  18122. return io.ErrUnexpectedEOF
  18123. }
  18124. return nil
  18125. }
  18126. func (m *CinderVolumeSource) Unmarshal(dAtA []byte) error {
  18127. l := len(dAtA)
  18128. iNdEx := 0
  18129. for iNdEx < l {
  18130. preIndex := iNdEx
  18131. var wire uint64
  18132. for shift := uint(0); ; shift += 7 {
  18133. if shift >= 64 {
  18134. return ErrIntOverflowGenerated
  18135. }
  18136. if iNdEx >= l {
  18137. return io.ErrUnexpectedEOF
  18138. }
  18139. b := dAtA[iNdEx]
  18140. iNdEx++
  18141. wire |= (uint64(b) & 0x7F) << shift
  18142. if b < 0x80 {
  18143. break
  18144. }
  18145. }
  18146. fieldNum := int32(wire >> 3)
  18147. wireType := int(wire & 0x7)
  18148. if wireType == 4 {
  18149. return fmt.Errorf("proto: CinderVolumeSource: wiretype end group for non-group")
  18150. }
  18151. if fieldNum <= 0 {
  18152. return fmt.Errorf("proto: CinderVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  18153. }
  18154. switch fieldNum {
  18155. case 1:
  18156. if wireType != 2 {
  18157. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  18158. }
  18159. var stringLen uint64
  18160. for shift := uint(0); ; shift += 7 {
  18161. if shift >= 64 {
  18162. return ErrIntOverflowGenerated
  18163. }
  18164. if iNdEx >= l {
  18165. return io.ErrUnexpectedEOF
  18166. }
  18167. b := dAtA[iNdEx]
  18168. iNdEx++
  18169. stringLen |= (uint64(b) & 0x7F) << shift
  18170. if b < 0x80 {
  18171. break
  18172. }
  18173. }
  18174. intStringLen := int(stringLen)
  18175. if intStringLen < 0 {
  18176. return ErrInvalidLengthGenerated
  18177. }
  18178. postIndex := iNdEx + intStringLen
  18179. if postIndex > l {
  18180. return io.ErrUnexpectedEOF
  18181. }
  18182. m.VolumeID = string(dAtA[iNdEx:postIndex])
  18183. iNdEx = postIndex
  18184. case 2:
  18185. if wireType != 2 {
  18186. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  18187. }
  18188. var stringLen uint64
  18189. for shift := uint(0); ; shift += 7 {
  18190. if shift >= 64 {
  18191. return ErrIntOverflowGenerated
  18192. }
  18193. if iNdEx >= l {
  18194. return io.ErrUnexpectedEOF
  18195. }
  18196. b := dAtA[iNdEx]
  18197. iNdEx++
  18198. stringLen |= (uint64(b) & 0x7F) << shift
  18199. if b < 0x80 {
  18200. break
  18201. }
  18202. }
  18203. intStringLen := int(stringLen)
  18204. if intStringLen < 0 {
  18205. return ErrInvalidLengthGenerated
  18206. }
  18207. postIndex := iNdEx + intStringLen
  18208. if postIndex > l {
  18209. return io.ErrUnexpectedEOF
  18210. }
  18211. m.FSType = string(dAtA[iNdEx:postIndex])
  18212. iNdEx = postIndex
  18213. case 3:
  18214. if wireType != 0 {
  18215. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  18216. }
  18217. var v int
  18218. for shift := uint(0); ; shift += 7 {
  18219. if shift >= 64 {
  18220. return ErrIntOverflowGenerated
  18221. }
  18222. if iNdEx >= l {
  18223. return io.ErrUnexpectedEOF
  18224. }
  18225. b := dAtA[iNdEx]
  18226. iNdEx++
  18227. v |= (int(b) & 0x7F) << shift
  18228. if b < 0x80 {
  18229. break
  18230. }
  18231. }
  18232. m.ReadOnly = bool(v != 0)
  18233. default:
  18234. iNdEx = preIndex
  18235. skippy, err := skipGenerated(dAtA[iNdEx:])
  18236. if err != nil {
  18237. return err
  18238. }
  18239. if skippy < 0 {
  18240. return ErrInvalidLengthGenerated
  18241. }
  18242. if (iNdEx + skippy) > l {
  18243. return io.ErrUnexpectedEOF
  18244. }
  18245. iNdEx += skippy
  18246. }
  18247. }
  18248. if iNdEx > l {
  18249. return io.ErrUnexpectedEOF
  18250. }
  18251. return nil
  18252. }
  18253. func (m *ClientIPConfig) Unmarshal(dAtA []byte) error {
  18254. l := len(dAtA)
  18255. iNdEx := 0
  18256. for iNdEx < l {
  18257. preIndex := iNdEx
  18258. var wire uint64
  18259. for shift := uint(0); ; shift += 7 {
  18260. if shift >= 64 {
  18261. return ErrIntOverflowGenerated
  18262. }
  18263. if iNdEx >= l {
  18264. return io.ErrUnexpectedEOF
  18265. }
  18266. b := dAtA[iNdEx]
  18267. iNdEx++
  18268. wire |= (uint64(b) & 0x7F) << shift
  18269. if b < 0x80 {
  18270. break
  18271. }
  18272. }
  18273. fieldNum := int32(wire >> 3)
  18274. wireType := int(wire & 0x7)
  18275. if wireType == 4 {
  18276. return fmt.Errorf("proto: ClientIPConfig: wiretype end group for non-group")
  18277. }
  18278. if fieldNum <= 0 {
  18279. return fmt.Errorf("proto: ClientIPConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  18280. }
  18281. switch fieldNum {
  18282. case 1:
  18283. if wireType != 0 {
  18284. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  18285. }
  18286. var v int32
  18287. for shift := uint(0); ; shift += 7 {
  18288. if shift >= 64 {
  18289. return ErrIntOverflowGenerated
  18290. }
  18291. if iNdEx >= l {
  18292. return io.ErrUnexpectedEOF
  18293. }
  18294. b := dAtA[iNdEx]
  18295. iNdEx++
  18296. v |= (int32(b) & 0x7F) << shift
  18297. if b < 0x80 {
  18298. break
  18299. }
  18300. }
  18301. m.TimeoutSeconds = &v
  18302. default:
  18303. iNdEx = preIndex
  18304. skippy, err := skipGenerated(dAtA[iNdEx:])
  18305. if err != nil {
  18306. return err
  18307. }
  18308. if skippy < 0 {
  18309. return ErrInvalidLengthGenerated
  18310. }
  18311. if (iNdEx + skippy) > l {
  18312. return io.ErrUnexpectedEOF
  18313. }
  18314. iNdEx += skippy
  18315. }
  18316. }
  18317. if iNdEx > l {
  18318. return io.ErrUnexpectedEOF
  18319. }
  18320. return nil
  18321. }
  18322. func (m *ComponentCondition) Unmarshal(dAtA []byte) error {
  18323. l := len(dAtA)
  18324. iNdEx := 0
  18325. for iNdEx < l {
  18326. preIndex := iNdEx
  18327. var wire uint64
  18328. for shift := uint(0); ; shift += 7 {
  18329. if shift >= 64 {
  18330. return ErrIntOverflowGenerated
  18331. }
  18332. if iNdEx >= l {
  18333. return io.ErrUnexpectedEOF
  18334. }
  18335. b := dAtA[iNdEx]
  18336. iNdEx++
  18337. wire |= (uint64(b) & 0x7F) << shift
  18338. if b < 0x80 {
  18339. break
  18340. }
  18341. }
  18342. fieldNum := int32(wire >> 3)
  18343. wireType := int(wire & 0x7)
  18344. if wireType == 4 {
  18345. return fmt.Errorf("proto: ComponentCondition: wiretype end group for non-group")
  18346. }
  18347. if fieldNum <= 0 {
  18348. return fmt.Errorf("proto: ComponentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  18349. }
  18350. switch fieldNum {
  18351. case 1:
  18352. if wireType != 2 {
  18353. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  18354. }
  18355. var stringLen uint64
  18356. for shift := uint(0); ; shift += 7 {
  18357. if shift >= 64 {
  18358. return ErrIntOverflowGenerated
  18359. }
  18360. if iNdEx >= l {
  18361. return io.ErrUnexpectedEOF
  18362. }
  18363. b := dAtA[iNdEx]
  18364. iNdEx++
  18365. stringLen |= (uint64(b) & 0x7F) << shift
  18366. if b < 0x80 {
  18367. break
  18368. }
  18369. }
  18370. intStringLen := int(stringLen)
  18371. if intStringLen < 0 {
  18372. return ErrInvalidLengthGenerated
  18373. }
  18374. postIndex := iNdEx + intStringLen
  18375. if postIndex > l {
  18376. return io.ErrUnexpectedEOF
  18377. }
  18378. m.Type = ComponentConditionType(dAtA[iNdEx:postIndex])
  18379. iNdEx = postIndex
  18380. case 2:
  18381. if wireType != 2 {
  18382. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  18383. }
  18384. var stringLen uint64
  18385. for shift := uint(0); ; shift += 7 {
  18386. if shift >= 64 {
  18387. return ErrIntOverflowGenerated
  18388. }
  18389. if iNdEx >= l {
  18390. return io.ErrUnexpectedEOF
  18391. }
  18392. b := dAtA[iNdEx]
  18393. iNdEx++
  18394. stringLen |= (uint64(b) & 0x7F) << shift
  18395. if b < 0x80 {
  18396. break
  18397. }
  18398. }
  18399. intStringLen := int(stringLen)
  18400. if intStringLen < 0 {
  18401. return ErrInvalidLengthGenerated
  18402. }
  18403. postIndex := iNdEx + intStringLen
  18404. if postIndex > l {
  18405. return io.ErrUnexpectedEOF
  18406. }
  18407. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  18408. iNdEx = postIndex
  18409. case 3:
  18410. if wireType != 2 {
  18411. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  18412. }
  18413. var stringLen uint64
  18414. for shift := uint(0); ; shift += 7 {
  18415. if shift >= 64 {
  18416. return ErrIntOverflowGenerated
  18417. }
  18418. if iNdEx >= l {
  18419. return io.ErrUnexpectedEOF
  18420. }
  18421. b := dAtA[iNdEx]
  18422. iNdEx++
  18423. stringLen |= (uint64(b) & 0x7F) << shift
  18424. if b < 0x80 {
  18425. break
  18426. }
  18427. }
  18428. intStringLen := int(stringLen)
  18429. if intStringLen < 0 {
  18430. return ErrInvalidLengthGenerated
  18431. }
  18432. postIndex := iNdEx + intStringLen
  18433. if postIndex > l {
  18434. return io.ErrUnexpectedEOF
  18435. }
  18436. m.Message = string(dAtA[iNdEx:postIndex])
  18437. iNdEx = postIndex
  18438. case 4:
  18439. if wireType != 2 {
  18440. return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
  18441. }
  18442. var stringLen uint64
  18443. for shift := uint(0); ; shift += 7 {
  18444. if shift >= 64 {
  18445. return ErrIntOverflowGenerated
  18446. }
  18447. if iNdEx >= l {
  18448. return io.ErrUnexpectedEOF
  18449. }
  18450. b := dAtA[iNdEx]
  18451. iNdEx++
  18452. stringLen |= (uint64(b) & 0x7F) << shift
  18453. if b < 0x80 {
  18454. break
  18455. }
  18456. }
  18457. intStringLen := int(stringLen)
  18458. if intStringLen < 0 {
  18459. return ErrInvalidLengthGenerated
  18460. }
  18461. postIndex := iNdEx + intStringLen
  18462. if postIndex > l {
  18463. return io.ErrUnexpectedEOF
  18464. }
  18465. m.Error = string(dAtA[iNdEx:postIndex])
  18466. iNdEx = postIndex
  18467. default:
  18468. iNdEx = preIndex
  18469. skippy, err := skipGenerated(dAtA[iNdEx:])
  18470. if err != nil {
  18471. return err
  18472. }
  18473. if skippy < 0 {
  18474. return ErrInvalidLengthGenerated
  18475. }
  18476. if (iNdEx + skippy) > l {
  18477. return io.ErrUnexpectedEOF
  18478. }
  18479. iNdEx += skippy
  18480. }
  18481. }
  18482. if iNdEx > l {
  18483. return io.ErrUnexpectedEOF
  18484. }
  18485. return nil
  18486. }
  18487. func (m *ComponentStatus) Unmarshal(dAtA []byte) error {
  18488. l := len(dAtA)
  18489. iNdEx := 0
  18490. for iNdEx < l {
  18491. preIndex := iNdEx
  18492. var wire uint64
  18493. for shift := uint(0); ; shift += 7 {
  18494. if shift >= 64 {
  18495. return ErrIntOverflowGenerated
  18496. }
  18497. if iNdEx >= l {
  18498. return io.ErrUnexpectedEOF
  18499. }
  18500. b := dAtA[iNdEx]
  18501. iNdEx++
  18502. wire |= (uint64(b) & 0x7F) << shift
  18503. if b < 0x80 {
  18504. break
  18505. }
  18506. }
  18507. fieldNum := int32(wire >> 3)
  18508. wireType := int(wire & 0x7)
  18509. if wireType == 4 {
  18510. return fmt.Errorf("proto: ComponentStatus: wiretype end group for non-group")
  18511. }
  18512. if fieldNum <= 0 {
  18513. return fmt.Errorf("proto: ComponentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  18514. }
  18515. switch fieldNum {
  18516. case 1:
  18517. if wireType != 2 {
  18518. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  18519. }
  18520. var msglen int
  18521. for shift := uint(0); ; shift += 7 {
  18522. if shift >= 64 {
  18523. return ErrIntOverflowGenerated
  18524. }
  18525. if iNdEx >= l {
  18526. return io.ErrUnexpectedEOF
  18527. }
  18528. b := dAtA[iNdEx]
  18529. iNdEx++
  18530. msglen |= (int(b) & 0x7F) << shift
  18531. if b < 0x80 {
  18532. break
  18533. }
  18534. }
  18535. if msglen < 0 {
  18536. return ErrInvalidLengthGenerated
  18537. }
  18538. postIndex := iNdEx + msglen
  18539. if postIndex > l {
  18540. return io.ErrUnexpectedEOF
  18541. }
  18542. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18543. return err
  18544. }
  18545. iNdEx = postIndex
  18546. case 2:
  18547. if wireType != 2 {
  18548. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  18549. }
  18550. var msglen int
  18551. for shift := uint(0); ; shift += 7 {
  18552. if shift >= 64 {
  18553. return ErrIntOverflowGenerated
  18554. }
  18555. if iNdEx >= l {
  18556. return io.ErrUnexpectedEOF
  18557. }
  18558. b := dAtA[iNdEx]
  18559. iNdEx++
  18560. msglen |= (int(b) & 0x7F) << shift
  18561. if b < 0x80 {
  18562. break
  18563. }
  18564. }
  18565. if msglen < 0 {
  18566. return ErrInvalidLengthGenerated
  18567. }
  18568. postIndex := iNdEx + msglen
  18569. if postIndex > l {
  18570. return io.ErrUnexpectedEOF
  18571. }
  18572. m.Conditions = append(m.Conditions, ComponentCondition{})
  18573. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18574. return err
  18575. }
  18576. iNdEx = postIndex
  18577. default:
  18578. iNdEx = preIndex
  18579. skippy, err := skipGenerated(dAtA[iNdEx:])
  18580. if err != nil {
  18581. return err
  18582. }
  18583. if skippy < 0 {
  18584. return ErrInvalidLengthGenerated
  18585. }
  18586. if (iNdEx + skippy) > l {
  18587. return io.ErrUnexpectedEOF
  18588. }
  18589. iNdEx += skippy
  18590. }
  18591. }
  18592. if iNdEx > l {
  18593. return io.ErrUnexpectedEOF
  18594. }
  18595. return nil
  18596. }
  18597. func (m *ComponentStatusList) Unmarshal(dAtA []byte) error {
  18598. l := len(dAtA)
  18599. iNdEx := 0
  18600. for iNdEx < l {
  18601. preIndex := iNdEx
  18602. var wire uint64
  18603. for shift := uint(0); ; shift += 7 {
  18604. if shift >= 64 {
  18605. return ErrIntOverflowGenerated
  18606. }
  18607. if iNdEx >= l {
  18608. return io.ErrUnexpectedEOF
  18609. }
  18610. b := dAtA[iNdEx]
  18611. iNdEx++
  18612. wire |= (uint64(b) & 0x7F) << shift
  18613. if b < 0x80 {
  18614. break
  18615. }
  18616. }
  18617. fieldNum := int32(wire >> 3)
  18618. wireType := int(wire & 0x7)
  18619. if wireType == 4 {
  18620. return fmt.Errorf("proto: ComponentStatusList: wiretype end group for non-group")
  18621. }
  18622. if fieldNum <= 0 {
  18623. return fmt.Errorf("proto: ComponentStatusList: illegal tag %d (wire type %d)", fieldNum, wire)
  18624. }
  18625. switch fieldNum {
  18626. case 1:
  18627. if wireType != 2 {
  18628. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  18629. }
  18630. var msglen int
  18631. for shift := uint(0); ; shift += 7 {
  18632. if shift >= 64 {
  18633. return ErrIntOverflowGenerated
  18634. }
  18635. if iNdEx >= l {
  18636. return io.ErrUnexpectedEOF
  18637. }
  18638. b := dAtA[iNdEx]
  18639. iNdEx++
  18640. msglen |= (int(b) & 0x7F) << shift
  18641. if b < 0x80 {
  18642. break
  18643. }
  18644. }
  18645. if msglen < 0 {
  18646. return ErrInvalidLengthGenerated
  18647. }
  18648. postIndex := iNdEx + msglen
  18649. if postIndex > l {
  18650. return io.ErrUnexpectedEOF
  18651. }
  18652. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18653. return err
  18654. }
  18655. iNdEx = postIndex
  18656. case 2:
  18657. if wireType != 2 {
  18658. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  18659. }
  18660. var msglen int
  18661. for shift := uint(0); ; shift += 7 {
  18662. if shift >= 64 {
  18663. return ErrIntOverflowGenerated
  18664. }
  18665. if iNdEx >= l {
  18666. return io.ErrUnexpectedEOF
  18667. }
  18668. b := dAtA[iNdEx]
  18669. iNdEx++
  18670. msglen |= (int(b) & 0x7F) << shift
  18671. if b < 0x80 {
  18672. break
  18673. }
  18674. }
  18675. if msglen < 0 {
  18676. return ErrInvalidLengthGenerated
  18677. }
  18678. postIndex := iNdEx + msglen
  18679. if postIndex > l {
  18680. return io.ErrUnexpectedEOF
  18681. }
  18682. m.Items = append(m.Items, ComponentStatus{})
  18683. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18684. return err
  18685. }
  18686. iNdEx = postIndex
  18687. default:
  18688. iNdEx = preIndex
  18689. skippy, err := skipGenerated(dAtA[iNdEx:])
  18690. if err != nil {
  18691. return err
  18692. }
  18693. if skippy < 0 {
  18694. return ErrInvalidLengthGenerated
  18695. }
  18696. if (iNdEx + skippy) > l {
  18697. return io.ErrUnexpectedEOF
  18698. }
  18699. iNdEx += skippy
  18700. }
  18701. }
  18702. if iNdEx > l {
  18703. return io.ErrUnexpectedEOF
  18704. }
  18705. return nil
  18706. }
  18707. func (m *ConfigMap) Unmarshal(dAtA []byte) error {
  18708. l := len(dAtA)
  18709. iNdEx := 0
  18710. for iNdEx < l {
  18711. preIndex := iNdEx
  18712. var wire uint64
  18713. for shift := uint(0); ; shift += 7 {
  18714. if shift >= 64 {
  18715. return ErrIntOverflowGenerated
  18716. }
  18717. if iNdEx >= l {
  18718. return io.ErrUnexpectedEOF
  18719. }
  18720. b := dAtA[iNdEx]
  18721. iNdEx++
  18722. wire |= (uint64(b) & 0x7F) << shift
  18723. if b < 0x80 {
  18724. break
  18725. }
  18726. }
  18727. fieldNum := int32(wire >> 3)
  18728. wireType := int(wire & 0x7)
  18729. if wireType == 4 {
  18730. return fmt.Errorf("proto: ConfigMap: wiretype end group for non-group")
  18731. }
  18732. if fieldNum <= 0 {
  18733. return fmt.Errorf("proto: ConfigMap: illegal tag %d (wire type %d)", fieldNum, wire)
  18734. }
  18735. switch fieldNum {
  18736. case 1:
  18737. if wireType != 2 {
  18738. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  18739. }
  18740. var msglen int
  18741. for shift := uint(0); ; shift += 7 {
  18742. if shift >= 64 {
  18743. return ErrIntOverflowGenerated
  18744. }
  18745. if iNdEx >= l {
  18746. return io.ErrUnexpectedEOF
  18747. }
  18748. b := dAtA[iNdEx]
  18749. iNdEx++
  18750. msglen |= (int(b) & 0x7F) << shift
  18751. if b < 0x80 {
  18752. break
  18753. }
  18754. }
  18755. if msglen < 0 {
  18756. return ErrInvalidLengthGenerated
  18757. }
  18758. postIndex := iNdEx + msglen
  18759. if postIndex > l {
  18760. return io.ErrUnexpectedEOF
  18761. }
  18762. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  18763. return err
  18764. }
  18765. iNdEx = postIndex
  18766. case 2:
  18767. if wireType != 2 {
  18768. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  18769. }
  18770. var msglen int
  18771. for shift := uint(0); ; shift += 7 {
  18772. if shift >= 64 {
  18773. return ErrIntOverflowGenerated
  18774. }
  18775. if iNdEx >= l {
  18776. return io.ErrUnexpectedEOF
  18777. }
  18778. b := dAtA[iNdEx]
  18779. iNdEx++
  18780. msglen |= (int(b) & 0x7F) << shift
  18781. if b < 0x80 {
  18782. break
  18783. }
  18784. }
  18785. if msglen < 0 {
  18786. return ErrInvalidLengthGenerated
  18787. }
  18788. postIndex := iNdEx + msglen
  18789. if postIndex > l {
  18790. return io.ErrUnexpectedEOF
  18791. }
  18792. var keykey uint64
  18793. for shift := uint(0); ; shift += 7 {
  18794. if shift >= 64 {
  18795. return ErrIntOverflowGenerated
  18796. }
  18797. if iNdEx >= l {
  18798. return io.ErrUnexpectedEOF
  18799. }
  18800. b := dAtA[iNdEx]
  18801. iNdEx++
  18802. keykey |= (uint64(b) & 0x7F) << shift
  18803. if b < 0x80 {
  18804. break
  18805. }
  18806. }
  18807. var stringLenmapkey uint64
  18808. for shift := uint(0); ; shift += 7 {
  18809. if shift >= 64 {
  18810. return ErrIntOverflowGenerated
  18811. }
  18812. if iNdEx >= l {
  18813. return io.ErrUnexpectedEOF
  18814. }
  18815. b := dAtA[iNdEx]
  18816. iNdEx++
  18817. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  18818. if b < 0x80 {
  18819. break
  18820. }
  18821. }
  18822. intStringLenmapkey := int(stringLenmapkey)
  18823. if intStringLenmapkey < 0 {
  18824. return ErrInvalidLengthGenerated
  18825. }
  18826. postStringIndexmapkey := iNdEx + intStringLenmapkey
  18827. if postStringIndexmapkey > l {
  18828. return io.ErrUnexpectedEOF
  18829. }
  18830. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  18831. iNdEx = postStringIndexmapkey
  18832. if m.Data == nil {
  18833. m.Data = make(map[string]string)
  18834. }
  18835. if iNdEx < postIndex {
  18836. var valuekey uint64
  18837. for shift := uint(0); ; shift += 7 {
  18838. if shift >= 64 {
  18839. return ErrIntOverflowGenerated
  18840. }
  18841. if iNdEx >= l {
  18842. return io.ErrUnexpectedEOF
  18843. }
  18844. b := dAtA[iNdEx]
  18845. iNdEx++
  18846. valuekey |= (uint64(b) & 0x7F) << shift
  18847. if b < 0x80 {
  18848. break
  18849. }
  18850. }
  18851. var stringLenmapvalue uint64
  18852. for shift := uint(0); ; shift += 7 {
  18853. if shift >= 64 {
  18854. return ErrIntOverflowGenerated
  18855. }
  18856. if iNdEx >= l {
  18857. return io.ErrUnexpectedEOF
  18858. }
  18859. b := dAtA[iNdEx]
  18860. iNdEx++
  18861. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  18862. if b < 0x80 {
  18863. break
  18864. }
  18865. }
  18866. intStringLenmapvalue := int(stringLenmapvalue)
  18867. if intStringLenmapvalue < 0 {
  18868. return ErrInvalidLengthGenerated
  18869. }
  18870. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  18871. if postStringIndexmapvalue > l {
  18872. return io.ErrUnexpectedEOF
  18873. }
  18874. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  18875. iNdEx = postStringIndexmapvalue
  18876. m.Data[mapkey] = mapvalue
  18877. } else {
  18878. var mapvalue string
  18879. m.Data[mapkey] = mapvalue
  18880. }
  18881. iNdEx = postIndex
  18882. case 3:
  18883. if wireType != 2 {
  18884. return fmt.Errorf("proto: wrong wireType = %d for field BinaryData", wireType)
  18885. }
  18886. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  18897. if b < 0x80 {
  18898. break
  18899. }
  18900. }
  18901. if msglen < 0 {
  18902. return ErrInvalidLengthGenerated
  18903. }
  18904. postIndex := iNdEx + msglen
  18905. if postIndex > l {
  18906. return io.ErrUnexpectedEOF
  18907. }
  18908. var keykey uint64
  18909. for shift := uint(0); ; shift += 7 {
  18910. if shift >= 64 {
  18911. return ErrIntOverflowGenerated
  18912. }
  18913. if iNdEx >= l {
  18914. return io.ErrUnexpectedEOF
  18915. }
  18916. b := dAtA[iNdEx]
  18917. iNdEx++
  18918. keykey |= (uint64(b) & 0x7F) << shift
  18919. if b < 0x80 {
  18920. break
  18921. }
  18922. }
  18923. var stringLenmapkey uint64
  18924. for shift := uint(0); ; shift += 7 {
  18925. if shift >= 64 {
  18926. return ErrIntOverflowGenerated
  18927. }
  18928. if iNdEx >= l {
  18929. return io.ErrUnexpectedEOF
  18930. }
  18931. b := dAtA[iNdEx]
  18932. iNdEx++
  18933. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  18934. if b < 0x80 {
  18935. break
  18936. }
  18937. }
  18938. intStringLenmapkey := int(stringLenmapkey)
  18939. if intStringLenmapkey < 0 {
  18940. return ErrInvalidLengthGenerated
  18941. }
  18942. postStringIndexmapkey := iNdEx + intStringLenmapkey
  18943. if postStringIndexmapkey > l {
  18944. return io.ErrUnexpectedEOF
  18945. }
  18946. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  18947. iNdEx = postStringIndexmapkey
  18948. if m.BinaryData == nil {
  18949. m.BinaryData = make(map[string][]byte)
  18950. }
  18951. if iNdEx < postIndex {
  18952. var valuekey uint64
  18953. for shift := uint(0); ; shift += 7 {
  18954. if shift >= 64 {
  18955. return ErrIntOverflowGenerated
  18956. }
  18957. if iNdEx >= l {
  18958. return io.ErrUnexpectedEOF
  18959. }
  18960. b := dAtA[iNdEx]
  18961. iNdEx++
  18962. valuekey |= (uint64(b) & 0x7F) << shift
  18963. if b < 0x80 {
  18964. break
  18965. }
  18966. }
  18967. var mapbyteLen uint64
  18968. for shift := uint(0); ; shift += 7 {
  18969. if shift >= 64 {
  18970. return ErrIntOverflowGenerated
  18971. }
  18972. if iNdEx >= l {
  18973. return io.ErrUnexpectedEOF
  18974. }
  18975. b := dAtA[iNdEx]
  18976. iNdEx++
  18977. mapbyteLen |= (uint64(b) & 0x7F) << shift
  18978. if b < 0x80 {
  18979. break
  18980. }
  18981. }
  18982. intMapbyteLen := int(mapbyteLen)
  18983. if intMapbyteLen < 0 {
  18984. return ErrInvalidLengthGenerated
  18985. }
  18986. postbytesIndex := iNdEx + intMapbyteLen
  18987. if postbytesIndex > l {
  18988. return io.ErrUnexpectedEOF
  18989. }
  18990. mapvalue := make([]byte, mapbyteLen)
  18991. copy(mapvalue, dAtA[iNdEx:postbytesIndex])
  18992. iNdEx = postbytesIndex
  18993. m.BinaryData[mapkey] = mapvalue
  18994. } else {
  18995. var mapvalue []byte
  18996. m.BinaryData[mapkey] = mapvalue
  18997. }
  18998. iNdEx = postIndex
  18999. default:
  19000. iNdEx = preIndex
  19001. skippy, err := skipGenerated(dAtA[iNdEx:])
  19002. if err != nil {
  19003. return err
  19004. }
  19005. if skippy < 0 {
  19006. return ErrInvalidLengthGenerated
  19007. }
  19008. if (iNdEx + skippy) > l {
  19009. return io.ErrUnexpectedEOF
  19010. }
  19011. iNdEx += skippy
  19012. }
  19013. }
  19014. if iNdEx > l {
  19015. return io.ErrUnexpectedEOF
  19016. }
  19017. return nil
  19018. }
  19019. func (m *ConfigMapEnvSource) Unmarshal(dAtA []byte) error {
  19020. l := len(dAtA)
  19021. iNdEx := 0
  19022. for iNdEx < l {
  19023. preIndex := iNdEx
  19024. var wire uint64
  19025. for shift := uint(0); ; shift += 7 {
  19026. if shift >= 64 {
  19027. return ErrIntOverflowGenerated
  19028. }
  19029. if iNdEx >= l {
  19030. return io.ErrUnexpectedEOF
  19031. }
  19032. b := dAtA[iNdEx]
  19033. iNdEx++
  19034. wire |= (uint64(b) & 0x7F) << shift
  19035. if b < 0x80 {
  19036. break
  19037. }
  19038. }
  19039. fieldNum := int32(wire >> 3)
  19040. wireType := int(wire & 0x7)
  19041. if wireType == 4 {
  19042. return fmt.Errorf("proto: ConfigMapEnvSource: wiretype end group for non-group")
  19043. }
  19044. if fieldNum <= 0 {
  19045. return fmt.Errorf("proto: ConfigMapEnvSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19046. }
  19047. switch fieldNum {
  19048. case 1:
  19049. if wireType != 2 {
  19050. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  19051. }
  19052. var msglen int
  19053. for shift := uint(0); ; shift += 7 {
  19054. if shift >= 64 {
  19055. return ErrIntOverflowGenerated
  19056. }
  19057. if iNdEx >= l {
  19058. return io.ErrUnexpectedEOF
  19059. }
  19060. b := dAtA[iNdEx]
  19061. iNdEx++
  19062. msglen |= (int(b) & 0x7F) << shift
  19063. if b < 0x80 {
  19064. break
  19065. }
  19066. }
  19067. if msglen < 0 {
  19068. return ErrInvalidLengthGenerated
  19069. }
  19070. postIndex := iNdEx + msglen
  19071. if postIndex > l {
  19072. return io.ErrUnexpectedEOF
  19073. }
  19074. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19075. return err
  19076. }
  19077. iNdEx = postIndex
  19078. case 2:
  19079. if wireType != 0 {
  19080. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  19081. }
  19082. var v int
  19083. for shift := uint(0); ; shift += 7 {
  19084. if shift >= 64 {
  19085. return ErrIntOverflowGenerated
  19086. }
  19087. if iNdEx >= l {
  19088. return io.ErrUnexpectedEOF
  19089. }
  19090. b := dAtA[iNdEx]
  19091. iNdEx++
  19092. v |= (int(b) & 0x7F) << shift
  19093. if b < 0x80 {
  19094. break
  19095. }
  19096. }
  19097. b := bool(v != 0)
  19098. m.Optional = &b
  19099. default:
  19100. iNdEx = preIndex
  19101. skippy, err := skipGenerated(dAtA[iNdEx:])
  19102. if err != nil {
  19103. return err
  19104. }
  19105. if skippy < 0 {
  19106. return ErrInvalidLengthGenerated
  19107. }
  19108. if (iNdEx + skippy) > l {
  19109. return io.ErrUnexpectedEOF
  19110. }
  19111. iNdEx += skippy
  19112. }
  19113. }
  19114. if iNdEx > l {
  19115. return io.ErrUnexpectedEOF
  19116. }
  19117. return nil
  19118. }
  19119. func (m *ConfigMapKeySelector) Unmarshal(dAtA []byte) error {
  19120. l := len(dAtA)
  19121. iNdEx := 0
  19122. for iNdEx < l {
  19123. preIndex := iNdEx
  19124. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  19135. if b < 0x80 {
  19136. break
  19137. }
  19138. }
  19139. fieldNum := int32(wire >> 3)
  19140. wireType := int(wire & 0x7)
  19141. if wireType == 4 {
  19142. return fmt.Errorf("proto: ConfigMapKeySelector: wiretype end group for non-group")
  19143. }
  19144. if fieldNum <= 0 {
  19145. return fmt.Errorf("proto: ConfigMapKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  19146. }
  19147. switch fieldNum {
  19148. case 1:
  19149. if wireType != 2 {
  19150. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  19151. }
  19152. var msglen int
  19153. for shift := uint(0); ; shift += 7 {
  19154. if shift >= 64 {
  19155. return ErrIntOverflowGenerated
  19156. }
  19157. if iNdEx >= l {
  19158. return io.ErrUnexpectedEOF
  19159. }
  19160. b := dAtA[iNdEx]
  19161. iNdEx++
  19162. msglen |= (int(b) & 0x7F) << shift
  19163. if b < 0x80 {
  19164. break
  19165. }
  19166. }
  19167. if msglen < 0 {
  19168. return ErrInvalidLengthGenerated
  19169. }
  19170. postIndex := iNdEx + msglen
  19171. if postIndex > l {
  19172. return io.ErrUnexpectedEOF
  19173. }
  19174. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19175. return err
  19176. }
  19177. iNdEx = postIndex
  19178. case 2:
  19179. if wireType != 2 {
  19180. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  19181. }
  19182. var stringLen uint64
  19183. for shift := uint(0); ; shift += 7 {
  19184. if shift >= 64 {
  19185. return ErrIntOverflowGenerated
  19186. }
  19187. if iNdEx >= l {
  19188. return io.ErrUnexpectedEOF
  19189. }
  19190. b := dAtA[iNdEx]
  19191. iNdEx++
  19192. stringLen |= (uint64(b) & 0x7F) << shift
  19193. if b < 0x80 {
  19194. break
  19195. }
  19196. }
  19197. intStringLen := int(stringLen)
  19198. if intStringLen < 0 {
  19199. return ErrInvalidLengthGenerated
  19200. }
  19201. postIndex := iNdEx + intStringLen
  19202. if postIndex > l {
  19203. return io.ErrUnexpectedEOF
  19204. }
  19205. m.Key = string(dAtA[iNdEx:postIndex])
  19206. iNdEx = postIndex
  19207. case 3:
  19208. if wireType != 0 {
  19209. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  19210. }
  19211. var v int
  19212. for shift := uint(0); ; shift += 7 {
  19213. if shift >= 64 {
  19214. return ErrIntOverflowGenerated
  19215. }
  19216. if iNdEx >= l {
  19217. return io.ErrUnexpectedEOF
  19218. }
  19219. b := dAtA[iNdEx]
  19220. iNdEx++
  19221. v |= (int(b) & 0x7F) << shift
  19222. if b < 0x80 {
  19223. break
  19224. }
  19225. }
  19226. b := bool(v != 0)
  19227. m.Optional = &b
  19228. default:
  19229. iNdEx = preIndex
  19230. skippy, err := skipGenerated(dAtA[iNdEx:])
  19231. if err != nil {
  19232. return err
  19233. }
  19234. if skippy < 0 {
  19235. return ErrInvalidLengthGenerated
  19236. }
  19237. if (iNdEx + skippy) > l {
  19238. return io.ErrUnexpectedEOF
  19239. }
  19240. iNdEx += skippy
  19241. }
  19242. }
  19243. if iNdEx > l {
  19244. return io.ErrUnexpectedEOF
  19245. }
  19246. return nil
  19247. }
  19248. func (m *ConfigMapList) Unmarshal(dAtA []byte) error {
  19249. l := len(dAtA)
  19250. iNdEx := 0
  19251. for iNdEx < l {
  19252. preIndex := iNdEx
  19253. var wire uint64
  19254. for shift := uint(0); ; shift += 7 {
  19255. if shift >= 64 {
  19256. return ErrIntOverflowGenerated
  19257. }
  19258. if iNdEx >= l {
  19259. return io.ErrUnexpectedEOF
  19260. }
  19261. b := dAtA[iNdEx]
  19262. iNdEx++
  19263. wire |= (uint64(b) & 0x7F) << shift
  19264. if b < 0x80 {
  19265. break
  19266. }
  19267. }
  19268. fieldNum := int32(wire >> 3)
  19269. wireType := int(wire & 0x7)
  19270. if wireType == 4 {
  19271. return fmt.Errorf("proto: ConfigMapList: wiretype end group for non-group")
  19272. }
  19273. if fieldNum <= 0 {
  19274. return fmt.Errorf("proto: ConfigMapList: illegal tag %d (wire type %d)", fieldNum, wire)
  19275. }
  19276. switch fieldNum {
  19277. case 1:
  19278. if wireType != 2 {
  19279. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  19280. }
  19281. var msglen int
  19282. for shift := uint(0); ; shift += 7 {
  19283. if shift >= 64 {
  19284. return ErrIntOverflowGenerated
  19285. }
  19286. if iNdEx >= l {
  19287. return io.ErrUnexpectedEOF
  19288. }
  19289. b := dAtA[iNdEx]
  19290. iNdEx++
  19291. msglen |= (int(b) & 0x7F) << shift
  19292. if b < 0x80 {
  19293. break
  19294. }
  19295. }
  19296. if msglen < 0 {
  19297. return ErrInvalidLengthGenerated
  19298. }
  19299. postIndex := iNdEx + msglen
  19300. if postIndex > l {
  19301. return io.ErrUnexpectedEOF
  19302. }
  19303. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19304. return err
  19305. }
  19306. iNdEx = postIndex
  19307. case 2:
  19308. if wireType != 2 {
  19309. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  19310. }
  19311. var msglen int
  19312. for shift := uint(0); ; shift += 7 {
  19313. if shift >= 64 {
  19314. return ErrIntOverflowGenerated
  19315. }
  19316. if iNdEx >= l {
  19317. return io.ErrUnexpectedEOF
  19318. }
  19319. b := dAtA[iNdEx]
  19320. iNdEx++
  19321. msglen |= (int(b) & 0x7F) << shift
  19322. if b < 0x80 {
  19323. break
  19324. }
  19325. }
  19326. if msglen < 0 {
  19327. return ErrInvalidLengthGenerated
  19328. }
  19329. postIndex := iNdEx + msglen
  19330. if postIndex > l {
  19331. return io.ErrUnexpectedEOF
  19332. }
  19333. m.Items = append(m.Items, ConfigMap{})
  19334. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19335. return err
  19336. }
  19337. iNdEx = postIndex
  19338. default:
  19339. iNdEx = preIndex
  19340. skippy, err := skipGenerated(dAtA[iNdEx:])
  19341. if err != nil {
  19342. return err
  19343. }
  19344. if skippy < 0 {
  19345. return ErrInvalidLengthGenerated
  19346. }
  19347. if (iNdEx + skippy) > l {
  19348. return io.ErrUnexpectedEOF
  19349. }
  19350. iNdEx += skippy
  19351. }
  19352. }
  19353. if iNdEx > l {
  19354. return io.ErrUnexpectedEOF
  19355. }
  19356. return nil
  19357. }
  19358. func (m *ConfigMapProjection) Unmarshal(dAtA []byte) error {
  19359. l := len(dAtA)
  19360. iNdEx := 0
  19361. for iNdEx < l {
  19362. preIndex := iNdEx
  19363. var wire uint64
  19364. for shift := uint(0); ; shift += 7 {
  19365. if shift >= 64 {
  19366. return ErrIntOverflowGenerated
  19367. }
  19368. if iNdEx >= l {
  19369. return io.ErrUnexpectedEOF
  19370. }
  19371. b := dAtA[iNdEx]
  19372. iNdEx++
  19373. wire |= (uint64(b) & 0x7F) << shift
  19374. if b < 0x80 {
  19375. break
  19376. }
  19377. }
  19378. fieldNum := int32(wire >> 3)
  19379. wireType := int(wire & 0x7)
  19380. if wireType == 4 {
  19381. return fmt.Errorf("proto: ConfigMapProjection: wiretype end group for non-group")
  19382. }
  19383. if fieldNum <= 0 {
  19384. return fmt.Errorf("proto: ConfigMapProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  19385. }
  19386. switch fieldNum {
  19387. case 1:
  19388. if wireType != 2 {
  19389. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  19390. }
  19391. var msglen int
  19392. for shift := uint(0); ; shift += 7 {
  19393. if shift >= 64 {
  19394. return ErrIntOverflowGenerated
  19395. }
  19396. if iNdEx >= l {
  19397. return io.ErrUnexpectedEOF
  19398. }
  19399. b := dAtA[iNdEx]
  19400. iNdEx++
  19401. msglen |= (int(b) & 0x7F) << shift
  19402. if b < 0x80 {
  19403. break
  19404. }
  19405. }
  19406. if msglen < 0 {
  19407. return ErrInvalidLengthGenerated
  19408. }
  19409. postIndex := iNdEx + msglen
  19410. if postIndex > l {
  19411. return io.ErrUnexpectedEOF
  19412. }
  19413. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19414. return err
  19415. }
  19416. iNdEx = postIndex
  19417. case 2:
  19418. if wireType != 2 {
  19419. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  19420. }
  19421. var msglen int
  19422. for shift := uint(0); ; shift += 7 {
  19423. if shift >= 64 {
  19424. return ErrIntOverflowGenerated
  19425. }
  19426. if iNdEx >= l {
  19427. return io.ErrUnexpectedEOF
  19428. }
  19429. b := dAtA[iNdEx]
  19430. iNdEx++
  19431. msglen |= (int(b) & 0x7F) << shift
  19432. if b < 0x80 {
  19433. break
  19434. }
  19435. }
  19436. if msglen < 0 {
  19437. return ErrInvalidLengthGenerated
  19438. }
  19439. postIndex := iNdEx + msglen
  19440. if postIndex > l {
  19441. return io.ErrUnexpectedEOF
  19442. }
  19443. m.Items = append(m.Items, KeyToPath{})
  19444. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19445. return err
  19446. }
  19447. iNdEx = postIndex
  19448. case 4:
  19449. if wireType != 0 {
  19450. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  19451. }
  19452. var v int
  19453. for shift := uint(0); ; shift += 7 {
  19454. if shift >= 64 {
  19455. return ErrIntOverflowGenerated
  19456. }
  19457. if iNdEx >= l {
  19458. return io.ErrUnexpectedEOF
  19459. }
  19460. b := dAtA[iNdEx]
  19461. iNdEx++
  19462. v |= (int(b) & 0x7F) << shift
  19463. if b < 0x80 {
  19464. break
  19465. }
  19466. }
  19467. b := bool(v != 0)
  19468. m.Optional = &b
  19469. default:
  19470. iNdEx = preIndex
  19471. skippy, err := skipGenerated(dAtA[iNdEx:])
  19472. if err != nil {
  19473. return err
  19474. }
  19475. if skippy < 0 {
  19476. return ErrInvalidLengthGenerated
  19477. }
  19478. if (iNdEx + skippy) > l {
  19479. return io.ErrUnexpectedEOF
  19480. }
  19481. iNdEx += skippy
  19482. }
  19483. }
  19484. if iNdEx > l {
  19485. return io.ErrUnexpectedEOF
  19486. }
  19487. return nil
  19488. }
  19489. func (m *ConfigMapVolumeSource) Unmarshal(dAtA []byte) error {
  19490. l := len(dAtA)
  19491. iNdEx := 0
  19492. for iNdEx < l {
  19493. preIndex := iNdEx
  19494. var wire uint64
  19495. for shift := uint(0); ; shift += 7 {
  19496. if shift >= 64 {
  19497. return ErrIntOverflowGenerated
  19498. }
  19499. if iNdEx >= l {
  19500. return io.ErrUnexpectedEOF
  19501. }
  19502. b := dAtA[iNdEx]
  19503. iNdEx++
  19504. wire |= (uint64(b) & 0x7F) << shift
  19505. if b < 0x80 {
  19506. break
  19507. }
  19508. }
  19509. fieldNum := int32(wire >> 3)
  19510. wireType := int(wire & 0x7)
  19511. if wireType == 4 {
  19512. return fmt.Errorf("proto: ConfigMapVolumeSource: wiretype end group for non-group")
  19513. }
  19514. if fieldNum <= 0 {
  19515. return fmt.Errorf("proto: ConfigMapVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  19516. }
  19517. switch fieldNum {
  19518. case 1:
  19519. if wireType != 2 {
  19520. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  19521. }
  19522. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  19533. if b < 0x80 {
  19534. break
  19535. }
  19536. }
  19537. if msglen < 0 {
  19538. return ErrInvalidLengthGenerated
  19539. }
  19540. postIndex := iNdEx + msglen
  19541. if postIndex > l {
  19542. return io.ErrUnexpectedEOF
  19543. }
  19544. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19545. return err
  19546. }
  19547. iNdEx = postIndex
  19548. case 2:
  19549. if wireType != 2 {
  19550. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  19551. }
  19552. var msglen int
  19553. for shift := uint(0); ; shift += 7 {
  19554. if shift >= 64 {
  19555. return ErrIntOverflowGenerated
  19556. }
  19557. if iNdEx >= l {
  19558. return io.ErrUnexpectedEOF
  19559. }
  19560. b := dAtA[iNdEx]
  19561. iNdEx++
  19562. msglen |= (int(b) & 0x7F) << shift
  19563. if b < 0x80 {
  19564. break
  19565. }
  19566. }
  19567. if msglen < 0 {
  19568. return ErrInvalidLengthGenerated
  19569. }
  19570. postIndex := iNdEx + msglen
  19571. if postIndex > l {
  19572. return io.ErrUnexpectedEOF
  19573. }
  19574. m.Items = append(m.Items, KeyToPath{})
  19575. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19576. return err
  19577. }
  19578. iNdEx = postIndex
  19579. case 3:
  19580. if wireType != 0 {
  19581. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  19582. }
  19583. var v int32
  19584. for shift := uint(0); ; shift += 7 {
  19585. if shift >= 64 {
  19586. return ErrIntOverflowGenerated
  19587. }
  19588. if iNdEx >= l {
  19589. return io.ErrUnexpectedEOF
  19590. }
  19591. b := dAtA[iNdEx]
  19592. iNdEx++
  19593. v |= (int32(b) & 0x7F) << shift
  19594. if b < 0x80 {
  19595. break
  19596. }
  19597. }
  19598. m.DefaultMode = &v
  19599. case 4:
  19600. if wireType != 0 {
  19601. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  19602. }
  19603. var v int
  19604. for shift := uint(0); ; shift += 7 {
  19605. if shift >= 64 {
  19606. return ErrIntOverflowGenerated
  19607. }
  19608. if iNdEx >= l {
  19609. return io.ErrUnexpectedEOF
  19610. }
  19611. b := dAtA[iNdEx]
  19612. iNdEx++
  19613. v |= (int(b) & 0x7F) << shift
  19614. if b < 0x80 {
  19615. break
  19616. }
  19617. }
  19618. b := bool(v != 0)
  19619. m.Optional = &b
  19620. default:
  19621. iNdEx = preIndex
  19622. skippy, err := skipGenerated(dAtA[iNdEx:])
  19623. if err != nil {
  19624. return err
  19625. }
  19626. if skippy < 0 {
  19627. return ErrInvalidLengthGenerated
  19628. }
  19629. if (iNdEx + skippy) > l {
  19630. return io.ErrUnexpectedEOF
  19631. }
  19632. iNdEx += skippy
  19633. }
  19634. }
  19635. if iNdEx > l {
  19636. return io.ErrUnexpectedEOF
  19637. }
  19638. return nil
  19639. }
  19640. func (m *Container) Unmarshal(dAtA []byte) error {
  19641. l := len(dAtA)
  19642. iNdEx := 0
  19643. for iNdEx < l {
  19644. preIndex := iNdEx
  19645. var wire uint64
  19646. for shift := uint(0); ; shift += 7 {
  19647. if shift >= 64 {
  19648. return ErrIntOverflowGenerated
  19649. }
  19650. if iNdEx >= l {
  19651. return io.ErrUnexpectedEOF
  19652. }
  19653. b := dAtA[iNdEx]
  19654. iNdEx++
  19655. wire |= (uint64(b) & 0x7F) << shift
  19656. if b < 0x80 {
  19657. break
  19658. }
  19659. }
  19660. fieldNum := int32(wire >> 3)
  19661. wireType := int(wire & 0x7)
  19662. if wireType == 4 {
  19663. return fmt.Errorf("proto: Container: wiretype end group for non-group")
  19664. }
  19665. if fieldNum <= 0 {
  19666. return fmt.Errorf("proto: Container: illegal tag %d (wire type %d)", fieldNum, wire)
  19667. }
  19668. switch fieldNum {
  19669. case 1:
  19670. if wireType != 2 {
  19671. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  19672. }
  19673. var stringLen uint64
  19674. for shift := uint(0); ; shift += 7 {
  19675. if shift >= 64 {
  19676. return ErrIntOverflowGenerated
  19677. }
  19678. if iNdEx >= l {
  19679. return io.ErrUnexpectedEOF
  19680. }
  19681. b := dAtA[iNdEx]
  19682. iNdEx++
  19683. stringLen |= (uint64(b) & 0x7F) << shift
  19684. if b < 0x80 {
  19685. break
  19686. }
  19687. }
  19688. intStringLen := int(stringLen)
  19689. if intStringLen < 0 {
  19690. return ErrInvalidLengthGenerated
  19691. }
  19692. postIndex := iNdEx + intStringLen
  19693. if postIndex > l {
  19694. return io.ErrUnexpectedEOF
  19695. }
  19696. m.Name = string(dAtA[iNdEx:postIndex])
  19697. iNdEx = postIndex
  19698. case 2:
  19699. if wireType != 2 {
  19700. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  19701. }
  19702. var stringLen uint64
  19703. for shift := uint(0); ; shift += 7 {
  19704. if shift >= 64 {
  19705. return ErrIntOverflowGenerated
  19706. }
  19707. if iNdEx >= l {
  19708. return io.ErrUnexpectedEOF
  19709. }
  19710. b := dAtA[iNdEx]
  19711. iNdEx++
  19712. stringLen |= (uint64(b) & 0x7F) << shift
  19713. if b < 0x80 {
  19714. break
  19715. }
  19716. }
  19717. intStringLen := int(stringLen)
  19718. if intStringLen < 0 {
  19719. return ErrInvalidLengthGenerated
  19720. }
  19721. postIndex := iNdEx + intStringLen
  19722. if postIndex > l {
  19723. return io.ErrUnexpectedEOF
  19724. }
  19725. m.Image = string(dAtA[iNdEx:postIndex])
  19726. iNdEx = postIndex
  19727. case 3:
  19728. if wireType != 2 {
  19729. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  19730. }
  19731. var stringLen uint64
  19732. for shift := uint(0); ; shift += 7 {
  19733. if shift >= 64 {
  19734. return ErrIntOverflowGenerated
  19735. }
  19736. if iNdEx >= l {
  19737. return io.ErrUnexpectedEOF
  19738. }
  19739. b := dAtA[iNdEx]
  19740. iNdEx++
  19741. stringLen |= (uint64(b) & 0x7F) << shift
  19742. if b < 0x80 {
  19743. break
  19744. }
  19745. }
  19746. intStringLen := int(stringLen)
  19747. if intStringLen < 0 {
  19748. return ErrInvalidLengthGenerated
  19749. }
  19750. postIndex := iNdEx + intStringLen
  19751. if postIndex > l {
  19752. return io.ErrUnexpectedEOF
  19753. }
  19754. m.Command = append(m.Command, string(dAtA[iNdEx:postIndex]))
  19755. iNdEx = postIndex
  19756. case 4:
  19757. if wireType != 2 {
  19758. return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
  19759. }
  19760. var stringLen uint64
  19761. for shift := uint(0); ; shift += 7 {
  19762. if shift >= 64 {
  19763. return ErrIntOverflowGenerated
  19764. }
  19765. if iNdEx >= l {
  19766. return io.ErrUnexpectedEOF
  19767. }
  19768. b := dAtA[iNdEx]
  19769. iNdEx++
  19770. stringLen |= (uint64(b) & 0x7F) << shift
  19771. if b < 0x80 {
  19772. break
  19773. }
  19774. }
  19775. intStringLen := int(stringLen)
  19776. if intStringLen < 0 {
  19777. return ErrInvalidLengthGenerated
  19778. }
  19779. postIndex := iNdEx + intStringLen
  19780. if postIndex > l {
  19781. return io.ErrUnexpectedEOF
  19782. }
  19783. m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
  19784. iNdEx = postIndex
  19785. case 5:
  19786. if wireType != 2 {
  19787. return fmt.Errorf("proto: wrong wireType = %d for field WorkingDir", wireType)
  19788. }
  19789. var stringLen uint64
  19790. for shift := uint(0); ; shift += 7 {
  19791. if shift >= 64 {
  19792. return ErrIntOverflowGenerated
  19793. }
  19794. if iNdEx >= l {
  19795. return io.ErrUnexpectedEOF
  19796. }
  19797. b := dAtA[iNdEx]
  19798. iNdEx++
  19799. stringLen |= (uint64(b) & 0x7F) << shift
  19800. if b < 0x80 {
  19801. break
  19802. }
  19803. }
  19804. intStringLen := int(stringLen)
  19805. if intStringLen < 0 {
  19806. return ErrInvalidLengthGenerated
  19807. }
  19808. postIndex := iNdEx + intStringLen
  19809. if postIndex > l {
  19810. return io.ErrUnexpectedEOF
  19811. }
  19812. m.WorkingDir = string(dAtA[iNdEx:postIndex])
  19813. iNdEx = postIndex
  19814. case 6:
  19815. if wireType != 2 {
  19816. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  19817. }
  19818. var msglen int
  19819. for shift := uint(0); ; shift += 7 {
  19820. if shift >= 64 {
  19821. return ErrIntOverflowGenerated
  19822. }
  19823. if iNdEx >= l {
  19824. return io.ErrUnexpectedEOF
  19825. }
  19826. b := dAtA[iNdEx]
  19827. iNdEx++
  19828. msglen |= (int(b) & 0x7F) << shift
  19829. if b < 0x80 {
  19830. break
  19831. }
  19832. }
  19833. if msglen < 0 {
  19834. return ErrInvalidLengthGenerated
  19835. }
  19836. postIndex := iNdEx + msglen
  19837. if postIndex > l {
  19838. return io.ErrUnexpectedEOF
  19839. }
  19840. m.Ports = append(m.Ports, ContainerPort{})
  19841. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19842. return err
  19843. }
  19844. iNdEx = postIndex
  19845. case 7:
  19846. if wireType != 2 {
  19847. return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
  19848. }
  19849. var msglen int
  19850. for shift := uint(0); ; shift += 7 {
  19851. if shift >= 64 {
  19852. return ErrIntOverflowGenerated
  19853. }
  19854. if iNdEx >= l {
  19855. return io.ErrUnexpectedEOF
  19856. }
  19857. b := dAtA[iNdEx]
  19858. iNdEx++
  19859. msglen |= (int(b) & 0x7F) << shift
  19860. if b < 0x80 {
  19861. break
  19862. }
  19863. }
  19864. if msglen < 0 {
  19865. return ErrInvalidLengthGenerated
  19866. }
  19867. postIndex := iNdEx + msglen
  19868. if postIndex > l {
  19869. return io.ErrUnexpectedEOF
  19870. }
  19871. m.Env = append(m.Env, EnvVar{})
  19872. if err := m.Env[len(m.Env)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19873. return err
  19874. }
  19875. iNdEx = postIndex
  19876. case 8:
  19877. if wireType != 2 {
  19878. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  19879. }
  19880. var msglen int
  19881. for shift := uint(0); ; shift += 7 {
  19882. if shift >= 64 {
  19883. return ErrIntOverflowGenerated
  19884. }
  19885. if iNdEx >= l {
  19886. return io.ErrUnexpectedEOF
  19887. }
  19888. b := dAtA[iNdEx]
  19889. iNdEx++
  19890. msglen |= (int(b) & 0x7F) << shift
  19891. if b < 0x80 {
  19892. break
  19893. }
  19894. }
  19895. if msglen < 0 {
  19896. return ErrInvalidLengthGenerated
  19897. }
  19898. postIndex := iNdEx + msglen
  19899. if postIndex > l {
  19900. return io.ErrUnexpectedEOF
  19901. }
  19902. if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19903. return err
  19904. }
  19905. iNdEx = postIndex
  19906. case 9:
  19907. if wireType != 2 {
  19908. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMounts", wireType)
  19909. }
  19910. var msglen int
  19911. for shift := uint(0); ; shift += 7 {
  19912. if shift >= 64 {
  19913. return ErrIntOverflowGenerated
  19914. }
  19915. if iNdEx >= l {
  19916. return io.ErrUnexpectedEOF
  19917. }
  19918. b := dAtA[iNdEx]
  19919. iNdEx++
  19920. msglen |= (int(b) & 0x7F) << shift
  19921. if b < 0x80 {
  19922. break
  19923. }
  19924. }
  19925. if msglen < 0 {
  19926. return ErrInvalidLengthGenerated
  19927. }
  19928. postIndex := iNdEx + msglen
  19929. if postIndex > l {
  19930. return io.ErrUnexpectedEOF
  19931. }
  19932. m.VolumeMounts = append(m.VolumeMounts, VolumeMount{})
  19933. if err := m.VolumeMounts[len(m.VolumeMounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19934. return err
  19935. }
  19936. iNdEx = postIndex
  19937. case 10:
  19938. if wireType != 2 {
  19939. return fmt.Errorf("proto: wrong wireType = %d for field LivenessProbe", wireType)
  19940. }
  19941. var msglen int
  19942. for shift := uint(0); ; shift += 7 {
  19943. if shift >= 64 {
  19944. return ErrIntOverflowGenerated
  19945. }
  19946. if iNdEx >= l {
  19947. return io.ErrUnexpectedEOF
  19948. }
  19949. b := dAtA[iNdEx]
  19950. iNdEx++
  19951. msglen |= (int(b) & 0x7F) << shift
  19952. if b < 0x80 {
  19953. break
  19954. }
  19955. }
  19956. if msglen < 0 {
  19957. return ErrInvalidLengthGenerated
  19958. }
  19959. postIndex := iNdEx + msglen
  19960. if postIndex > l {
  19961. return io.ErrUnexpectedEOF
  19962. }
  19963. if m.LivenessProbe == nil {
  19964. m.LivenessProbe = &Probe{}
  19965. }
  19966. if err := m.LivenessProbe.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  19967. return err
  19968. }
  19969. iNdEx = postIndex
  19970. case 11:
  19971. if wireType != 2 {
  19972. return fmt.Errorf("proto: wrong wireType = %d for field ReadinessProbe", wireType)
  19973. }
  19974. var msglen int
  19975. for shift := uint(0); ; shift += 7 {
  19976. if shift >= 64 {
  19977. return ErrIntOverflowGenerated
  19978. }
  19979. if iNdEx >= l {
  19980. return io.ErrUnexpectedEOF
  19981. }
  19982. b := dAtA[iNdEx]
  19983. iNdEx++
  19984. msglen |= (int(b) & 0x7F) << shift
  19985. if b < 0x80 {
  19986. break
  19987. }
  19988. }
  19989. if msglen < 0 {
  19990. return ErrInvalidLengthGenerated
  19991. }
  19992. postIndex := iNdEx + msglen
  19993. if postIndex > l {
  19994. return io.ErrUnexpectedEOF
  19995. }
  19996. if m.ReadinessProbe == nil {
  19997. m.ReadinessProbe = &Probe{}
  19998. }
  19999. if err := m.ReadinessProbe.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20000. return err
  20001. }
  20002. iNdEx = postIndex
  20003. case 12:
  20004. if wireType != 2 {
  20005. return fmt.Errorf("proto: wrong wireType = %d for field Lifecycle", wireType)
  20006. }
  20007. var msglen int
  20008. for shift := uint(0); ; shift += 7 {
  20009. if shift >= 64 {
  20010. return ErrIntOverflowGenerated
  20011. }
  20012. if iNdEx >= l {
  20013. return io.ErrUnexpectedEOF
  20014. }
  20015. b := dAtA[iNdEx]
  20016. iNdEx++
  20017. msglen |= (int(b) & 0x7F) << shift
  20018. if b < 0x80 {
  20019. break
  20020. }
  20021. }
  20022. if msglen < 0 {
  20023. return ErrInvalidLengthGenerated
  20024. }
  20025. postIndex := iNdEx + msglen
  20026. if postIndex > l {
  20027. return io.ErrUnexpectedEOF
  20028. }
  20029. if m.Lifecycle == nil {
  20030. m.Lifecycle = &Lifecycle{}
  20031. }
  20032. if err := m.Lifecycle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20033. return err
  20034. }
  20035. iNdEx = postIndex
  20036. case 13:
  20037. if wireType != 2 {
  20038. return fmt.Errorf("proto: wrong wireType = %d for field TerminationMessagePath", wireType)
  20039. }
  20040. var stringLen 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. stringLen |= (uint64(b) & 0x7F) << shift
  20051. if b < 0x80 {
  20052. break
  20053. }
  20054. }
  20055. intStringLen := int(stringLen)
  20056. if intStringLen < 0 {
  20057. return ErrInvalidLengthGenerated
  20058. }
  20059. postIndex := iNdEx + intStringLen
  20060. if postIndex > l {
  20061. return io.ErrUnexpectedEOF
  20062. }
  20063. m.TerminationMessagePath = string(dAtA[iNdEx:postIndex])
  20064. iNdEx = postIndex
  20065. case 14:
  20066. if wireType != 2 {
  20067. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullPolicy", wireType)
  20068. }
  20069. var stringLen uint64
  20070. for shift := uint(0); ; shift += 7 {
  20071. if shift >= 64 {
  20072. return ErrIntOverflowGenerated
  20073. }
  20074. if iNdEx >= l {
  20075. return io.ErrUnexpectedEOF
  20076. }
  20077. b := dAtA[iNdEx]
  20078. iNdEx++
  20079. stringLen |= (uint64(b) & 0x7F) << shift
  20080. if b < 0x80 {
  20081. break
  20082. }
  20083. }
  20084. intStringLen := int(stringLen)
  20085. if intStringLen < 0 {
  20086. return ErrInvalidLengthGenerated
  20087. }
  20088. postIndex := iNdEx + intStringLen
  20089. if postIndex > l {
  20090. return io.ErrUnexpectedEOF
  20091. }
  20092. m.ImagePullPolicy = PullPolicy(dAtA[iNdEx:postIndex])
  20093. iNdEx = postIndex
  20094. case 15:
  20095. if wireType != 2 {
  20096. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  20097. }
  20098. var msglen int
  20099. for shift := uint(0); ; shift += 7 {
  20100. if shift >= 64 {
  20101. return ErrIntOverflowGenerated
  20102. }
  20103. if iNdEx >= l {
  20104. return io.ErrUnexpectedEOF
  20105. }
  20106. b := dAtA[iNdEx]
  20107. iNdEx++
  20108. msglen |= (int(b) & 0x7F) << shift
  20109. if b < 0x80 {
  20110. break
  20111. }
  20112. }
  20113. if msglen < 0 {
  20114. return ErrInvalidLengthGenerated
  20115. }
  20116. postIndex := iNdEx + msglen
  20117. if postIndex > l {
  20118. return io.ErrUnexpectedEOF
  20119. }
  20120. if m.SecurityContext == nil {
  20121. m.SecurityContext = &SecurityContext{}
  20122. }
  20123. if err := m.SecurityContext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20124. return err
  20125. }
  20126. iNdEx = postIndex
  20127. case 16:
  20128. if wireType != 0 {
  20129. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  20130. }
  20131. var v int
  20132. for shift := uint(0); ; shift += 7 {
  20133. if shift >= 64 {
  20134. return ErrIntOverflowGenerated
  20135. }
  20136. if iNdEx >= l {
  20137. return io.ErrUnexpectedEOF
  20138. }
  20139. b := dAtA[iNdEx]
  20140. iNdEx++
  20141. v |= (int(b) & 0x7F) << shift
  20142. if b < 0x80 {
  20143. break
  20144. }
  20145. }
  20146. m.Stdin = bool(v != 0)
  20147. case 17:
  20148. if wireType != 0 {
  20149. return fmt.Errorf("proto: wrong wireType = %d for field StdinOnce", wireType)
  20150. }
  20151. var v int
  20152. for shift := uint(0); ; shift += 7 {
  20153. if shift >= 64 {
  20154. return ErrIntOverflowGenerated
  20155. }
  20156. if iNdEx >= l {
  20157. return io.ErrUnexpectedEOF
  20158. }
  20159. b := dAtA[iNdEx]
  20160. iNdEx++
  20161. v |= (int(b) & 0x7F) << shift
  20162. if b < 0x80 {
  20163. break
  20164. }
  20165. }
  20166. m.StdinOnce = bool(v != 0)
  20167. case 18:
  20168. if wireType != 0 {
  20169. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  20170. }
  20171. var v int
  20172. for shift := uint(0); ; shift += 7 {
  20173. if shift >= 64 {
  20174. return ErrIntOverflowGenerated
  20175. }
  20176. if iNdEx >= l {
  20177. return io.ErrUnexpectedEOF
  20178. }
  20179. b := dAtA[iNdEx]
  20180. iNdEx++
  20181. v |= (int(b) & 0x7F) << shift
  20182. if b < 0x80 {
  20183. break
  20184. }
  20185. }
  20186. m.TTY = bool(v != 0)
  20187. case 19:
  20188. if wireType != 2 {
  20189. return fmt.Errorf("proto: wrong wireType = %d for field EnvFrom", wireType)
  20190. }
  20191. var msglen int
  20192. for shift := uint(0); ; shift += 7 {
  20193. if shift >= 64 {
  20194. return ErrIntOverflowGenerated
  20195. }
  20196. if iNdEx >= l {
  20197. return io.ErrUnexpectedEOF
  20198. }
  20199. b := dAtA[iNdEx]
  20200. iNdEx++
  20201. msglen |= (int(b) & 0x7F) << shift
  20202. if b < 0x80 {
  20203. break
  20204. }
  20205. }
  20206. if msglen < 0 {
  20207. return ErrInvalidLengthGenerated
  20208. }
  20209. postIndex := iNdEx + msglen
  20210. if postIndex > l {
  20211. return io.ErrUnexpectedEOF
  20212. }
  20213. m.EnvFrom = append(m.EnvFrom, EnvFromSource{})
  20214. if err := m.EnvFrom[len(m.EnvFrom)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20215. return err
  20216. }
  20217. iNdEx = postIndex
  20218. case 20:
  20219. if wireType != 2 {
  20220. return fmt.Errorf("proto: wrong wireType = %d for field TerminationMessagePolicy", wireType)
  20221. }
  20222. var stringLen uint64
  20223. for shift := uint(0); ; shift += 7 {
  20224. if shift >= 64 {
  20225. return ErrIntOverflowGenerated
  20226. }
  20227. if iNdEx >= l {
  20228. return io.ErrUnexpectedEOF
  20229. }
  20230. b := dAtA[iNdEx]
  20231. iNdEx++
  20232. stringLen |= (uint64(b) & 0x7F) << shift
  20233. if b < 0x80 {
  20234. break
  20235. }
  20236. }
  20237. intStringLen := int(stringLen)
  20238. if intStringLen < 0 {
  20239. return ErrInvalidLengthGenerated
  20240. }
  20241. postIndex := iNdEx + intStringLen
  20242. if postIndex > l {
  20243. return io.ErrUnexpectedEOF
  20244. }
  20245. m.TerminationMessagePolicy = TerminationMessagePolicy(dAtA[iNdEx:postIndex])
  20246. iNdEx = postIndex
  20247. case 21:
  20248. if wireType != 2 {
  20249. return fmt.Errorf("proto: wrong wireType = %d for field VolumeDevices", wireType)
  20250. }
  20251. var msglen int
  20252. for shift := uint(0); ; shift += 7 {
  20253. if shift >= 64 {
  20254. return ErrIntOverflowGenerated
  20255. }
  20256. if iNdEx >= l {
  20257. return io.ErrUnexpectedEOF
  20258. }
  20259. b := dAtA[iNdEx]
  20260. iNdEx++
  20261. msglen |= (int(b) & 0x7F) << shift
  20262. if b < 0x80 {
  20263. break
  20264. }
  20265. }
  20266. if msglen < 0 {
  20267. return ErrInvalidLengthGenerated
  20268. }
  20269. postIndex := iNdEx + msglen
  20270. if postIndex > l {
  20271. return io.ErrUnexpectedEOF
  20272. }
  20273. m.VolumeDevices = append(m.VolumeDevices, VolumeDevice{})
  20274. if err := m.VolumeDevices[len(m.VolumeDevices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20275. return err
  20276. }
  20277. iNdEx = postIndex
  20278. default:
  20279. iNdEx = preIndex
  20280. skippy, err := skipGenerated(dAtA[iNdEx:])
  20281. if err != nil {
  20282. return err
  20283. }
  20284. if skippy < 0 {
  20285. return ErrInvalidLengthGenerated
  20286. }
  20287. if (iNdEx + skippy) > l {
  20288. return io.ErrUnexpectedEOF
  20289. }
  20290. iNdEx += skippy
  20291. }
  20292. }
  20293. if iNdEx > l {
  20294. return io.ErrUnexpectedEOF
  20295. }
  20296. return nil
  20297. }
  20298. func (m *ContainerImage) Unmarshal(dAtA []byte) error {
  20299. l := len(dAtA)
  20300. iNdEx := 0
  20301. for iNdEx < l {
  20302. preIndex := iNdEx
  20303. var wire uint64
  20304. for shift := uint(0); ; shift += 7 {
  20305. if shift >= 64 {
  20306. return ErrIntOverflowGenerated
  20307. }
  20308. if iNdEx >= l {
  20309. return io.ErrUnexpectedEOF
  20310. }
  20311. b := dAtA[iNdEx]
  20312. iNdEx++
  20313. wire |= (uint64(b) & 0x7F) << shift
  20314. if b < 0x80 {
  20315. break
  20316. }
  20317. }
  20318. fieldNum := int32(wire >> 3)
  20319. wireType := int(wire & 0x7)
  20320. if wireType == 4 {
  20321. return fmt.Errorf("proto: ContainerImage: wiretype end group for non-group")
  20322. }
  20323. if fieldNum <= 0 {
  20324. return fmt.Errorf("proto: ContainerImage: illegal tag %d (wire type %d)", fieldNum, wire)
  20325. }
  20326. switch fieldNum {
  20327. case 1:
  20328. if wireType != 2 {
  20329. return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType)
  20330. }
  20331. var stringLen uint64
  20332. for shift := uint(0); ; shift += 7 {
  20333. if shift >= 64 {
  20334. return ErrIntOverflowGenerated
  20335. }
  20336. if iNdEx >= l {
  20337. return io.ErrUnexpectedEOF
  20338. }
  20339. b := dAtA[iNdEx]
  20340. iNdEx++
  20341. stringLen |= (uint64(b) & 0x7F) << shift
  20342. if b < 0x80 {
  20343. break
  20344. }
  20345. }
  20346. intStringLen := int(stringLen)
  20347. if intStringLen < 0 {
  20348. return ErrInvalidLengthGenerated
  20349. }
  20350. postIndex := iNdEx + intStringLen
  20351. if postIndex > l {
  20352. return io.ErrUnexpectedEOF
  20353. }
  20354. m.Names = append(m.Names, string(dAtA[iNdEx:postIndex]))
  20355. iNdEx = postIndex
  20356. case 2:
  20357. if wireType != 0 {
  20358. return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
  20359. }
  20360. m.SizeBytes = 0
  20361. for shift := uint(0); ; shift += 7 {
  20362. if shift >= 64 {
  20363. return ErrIntOverflowGenerated
  20364. }
  20365. if iNdEx >= l {
  20366. return io.ErrUnexpectedEOF
  20367. }
  20368. b := dAtA[iNdEx]
  20369. iNdEx++
  20370. m.SizeBytes |= (int64(b) & 0x7F) << shift
  20371. if b < 0x80 {
  20372. break
  20373. }
  20374. }
  20375. default:
  20376. iNdEx = preIndex
  20377. skippy, err := skipGenerated(dAtA[iNdEx:])
  20378. if err != nil {
  20379. return err
  20380. }
  20381. if skippy < 0 {
  20382. return ErrInvalidLengthGenerated
  20383. }
  20384. if (iNdEx + skippy) > l {
  20385. return io.ErrUnexpectedEOF
  20386. }
  20387. iNdEx += skippy
  20388. }
  20389. }
  20390. if iNdEx > l {
  20391. return io.ErrUnexpectedEOF
  20392. }
  20393. return nil
  20394. }
  20395. func (m *ContainerPort) Unmarshal(dAtA []byte) error {
  20396. l := len(dAtA)
  20397. iNdEx := 0
  20398. for iNdEx < l {
  20399. preIndex := iNdEx
  20400. var wire uint64
  20401. for shift := uint(0); ; shift += 7 {
  20402. if shift >= 64 {
  20403. return ErrIntOverflowGenerated
  20404. }
  20405. if iNdEx >= l {
  20406. return io.ErrUnexpectedEOF
  20407. }
  20408. b := dAtA[iNdEx]
  20409. iNdEx++
  20410. wire |= (uint64(b) & 0x7F) << shift
  20411. if b < 0x80 {
  20412. break
  20413. }
  20414. }
  20415. fieldNum := int32(wire >> 3)
  20416. wireType := int(wire & 0x7)
  20417. if wireType == 4 {
  20418. return fmt.Errorf("proto: ContainerPort: wiretype end group for non-group")
  20419. }
  20420. if fieldNum <= 0 {
  20421. return fmt.Errorf("proto: ContainerPort: illegal tag %d (wire type %d)", fieldNum, wire)
  20422. }
  20423. switch fieldNum {
  20424. case 1:
  20425. if wireType != 2 {
  20426. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  20427. }
  20428. var stringLen uint64
  20429. for shift := uint(0); ; shift += 7 {
  20430. if shift >= 64 {
  20431. return ErrIntOverflowGenerated
  20432. }
  20433. if iNdEx >= l {
  20434. return io.ErrUnexpectedEOF
  20435. }
  20436. b := dAtA[iNdEx]
  20437. iNdEx++
  20438. stringLen |= (uint64(b) & 0x7F) << shift
  20439. if b < 0x80 {
  20440. break
  20441. }
  20442. }
  20443. intStringLen := int(stringLen)
  20444. if intStringLen < 0 {
  20445. return ErrInvalidLengthGenerated
  20446. }
  20447. postIndex := iNdEx + intStringLen
  20448. if postIndex > l {
  20449. return io.ErrUnexpectedEOF
  20450. }
  20451. m.Name = string(dAtA[iNdEx:postIndex])
  20452. iNdEx = postIndex
  20453. case 2:
  20454. if wireType != 0 {
  20455. return fmt.Errorf("proto: wrong wireType = %d for field HostPort", wireType)
  20456. }
  20457. m.HostPort = 0
  20458. for shift := uint(0); ; shift += 7 {
  20459. if shift >= 64 {
  20460. return ErrIntOverflowGenerated
  20461. }
  20462. if iNdEx >= l {
  20463. return io.ErrUnexpectedEOF
  20464. }
  20465. b := dAtA[iNdEx]
  20466. iNdEx++
  20467. m.HostPort |= (int32(b) & 0x7F) << shift
  20468. if b < 0x80 {
  20469. break
  20470. }
  20471. }
  20472. case 3:
  20473. if wireType != 0 {
  20474. return fmt.Errorf("proto: wrong wireType = %d for field ContainerPort", wireType)
  20475. }
  20476. m.ContainerPort = 0
  20477. for shift := uint(0); ; shift += 7 {
  20478. if shift >= 64 {
  20479. return ErrIntOverflowGenerated
  20480. }
  20481. if iNdEx >= l {
  20482. return io.ErrUnexpectedEOF
  20483. }
  20484. b := dAtA[iNdEx]
  20485. iNdEx++
  20486. m.ContainerPort |= (int32(b) & 0x7F) << shift
  20487. if b < 0x80 {
  20488. break
  20489. }
  20490. }
  20491. case 4:
  20492. if wireType != 2 {
  20493. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  20494. }
  20495. var stringLen uint64
  20496. for shift := uint(0); ; shift += 7 {
  20497. if shift >= 64 {
  20498. return ErrIntOverflowGenerated
  20499. }
  20500. if iNdEx >= l {
  20501. return io.ErrUnexpectedEOF
  20502. }
  20503. b := dAtA[iNdEx]
  20504. iNdEx++
  20505. stringLen |= (uint64(b) & 0x7F) << shift
  20506. if b < 0x80 {
  20507. break
  20508. }
  20509. }
  20510. intStringLen := int(stringLen)
  20511. if intStringLen < 0 {
  20512. return ErrInvalidLengthGenerated
  20513. }
  20514. postIndex := iNdEx + intStringLen
  20515. if postIndex > l {
  20516. return io.ErrUnexpectedEOF
  20517. }
  20518. m.Protocol = Protocol(dAtA[iNdEx:postIndex])
  20519. iNdEx = postIndex
  20520. case 5:
  20521. if wireType != 2 {
  20522. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  20523. }
  20524. var stringLen uint64
  20525. for shift := uint(0); ; shift += 7 {
  20526. if shift >= 64 {
  20527. return ErrIntOverflowGenerated
  20528. }
  20529. if iNdEx >= l {
  20530. return io.ErrUnexpectedEOF
  20531. }
  20532. b := dAtA[iNdEx]
  20533. iNdEx++
  20534. stringLen |= (uint64(b) & 0x7F) << shift
  20535. if b < 0x80 {
  20536. break
  20537. }
  20538. }
  20539. intStringLen := int(stringLen)
  20540. if intStringLen < 0 {
  20541. return ErrInvalidLengthGenerated
  20542. }
  20543. postIndex := iNdEx + intStringLen
  20544. if postIndex > l {
  20545. return io.ErrUnexpectedEOF
  20546. }
  20547. m.HostIP = string(dAtA[iNdEx:postIndex])
  20548. iNdEx = postIndex
  20549. default:
  20550. iNdEx = preIndex
  20551. skippy, err := skipGenerated(dAtA[iNdEx:])
  20552. if err != nil {
  20553. return err
  20554. }
  20555. if skippy < 0 {
  20556. return ErrInvalidLengthGenerated
  20557. }
  20558. if (iNdEx + skippy) > l {
  20559. return io.ErrUnexpectedEOF
  20560. }
  20561. iNdEx += skippy
  20562. }
  20563. }
  20564. if iNdEx > l {
  20565. return io.ErrUnexpectedEOF
  20566. }
  20567. return nil
  20568. }
  20569. func (m *ContainerState) Unmarshal(dAtA []byte) error {
  20570. l := len(dAtA)
  20571. iNdEx := 0
  20572. for iNdEx < l {
  20573. preIndex := iNdEx
  20574. var wire uint64
  20575. for shift := uint(0); ; shift += 7 {
  20576. if shift >= 64 {
  20577. return ErrIntOverflowGenerated
  20578. }
  20579. if iNdEx >= l {
  20580. return io.ErrUnexpectedEOF
  20581. }
  20582. b := dAtA[iNdEx]
  20583. iNdEx++
  20584. wire |= (uint64(b) & 0x7F) << shift
  20585. if b < 0x80 {
  20586. break
  20587. }
  20588. }
  20589. fieldNum := int32(wire >> 3)
  20590. wireType := int(wire & 0x7)
  20591. if wireType == 4 {
  20592. return fmt.Errorf("proto: ContainerState: wiretype end group for non-group")
  20593. }
  20594. if fieldNum <= 0 {
  20595. return fmt.Errorf("proto: ContainerState: illegal tag %d (wire type %d)", fieldNum, wire)
  20596. }
  20597. switch fieldNum {
  20598. case 1:
  20599. if wireType != 2 {
  20600. return fmt.Errorf("proto: wrong wireType = %d for field Waiting", wireType)
  20601. }
  20602. var msglen int
  20603. for shift := uint(0); ; shift += 7 {
  20604. if shift >= 64 {
  20605. return ErrIntOverflowGenerated
  20606. }
  20607. if iNdEx >= l {
  20608. return io.ErrUnexpectedEOF
  20609. }
  20610. b := dAtA[iNdEx]
  20611. iNdEx++
  20612. msglen |= (int(b) & 0x7F) << shift
  20613. if b < 0x80 {
  20614. break
  20615. }
  20616. }
  20617. if msglen < 0 {
  20618. return ErrInvalidLengthGenerated
  20619. }
  20620. postIndex := iNdEx + msglen
  20621. if postIndex > l {
  20622. return io.ErrUnexpectedEOF
  20623. }
  20624. if m.Waiting == nil {
  20625. m.Waiting = &ContainerStateWaiting{}
  20626. }
  20627. if err := m.Waiting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20628. return err
  20629. }
  20630. iNdEx = postIndex
  20631. case 2:
  20632. if wireType != 2 {
  20633. return fmt.Errorf("proto: wrong wireType = %d for field Running", wireType)
  20634. }
  20635. var msglen int
  20636. for shift := uint(0); ; shift += 7 {
  20637. if shift >= 64 {
  20638. return ErrIntOverflowGenerated
  20639. }
  20640. if iNdEx >= l {
  20641. return io.ErrUnexpectedEOF
  20642. }
  20643. b := dAtA[iNdEx]
  20644. iNdEx++
  20645. msglen |= (int(b) & 0x7F) << shift
  20646. if b < 0x80 {
  20647. break
  20648. }
  20649. }
  20650. if msglen < 0 {
  20651. return ErrInvalidLengthGenerated
  20652. }
  20653. postIndex := iNdEx + msglen
  20654. if postIndex > l {
  20655. return io.ErrUnexpectedEOF
  20656. }
  20657. if m.Running == nil {
  20658. m.Running = &ContainerStateRunning{}
  20659. }
  20660. if err := m.Running.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20661. return err
  20662. }
  20663. iNdEx = postIndex
  20664. case 3:
  20665. if wireType != 2 {
  20666. return fmt.Errorf("proto: wrong wireType = %d for field Terminated", wireType)
  20667. }
  20668. var msglen int
  20669. for shift := uint(0); ; shift += 7 {
  20670. if shift >= 64 {
  20671. return ErrIntOverflowGenerated
  20672. }
  20673. if iNdEx >= l {
  20674. return io.ErrUnexpectedEOF
  20675. }
  20676. b := dAtA[iNdEx]
  20677. iNdEx++
  20678. msglen |= (int(b) & 0x7F) << shift
  20679. if b < 0x80 {
  20680. break
  20681. }
  20682. }
  20683. if msglen < 0 {
  20684. return ErrInvalidLengthGenerated
  20685. }
  20686. postIndex := iNdEx + msglen
  20687. if postIndex > l {
  20688. return io.ErrUnexpectedEOF
  20689. }
  20690. if m.Terminated == nil {
  20691. m.Terminated = &ContainerStateTerminated{}
  20692. }
  20693. if err := m.Terminated.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20694. return err
  20695. }
  20696. iNdEx = postIndex
  20697. default:
  20698. iNdEx = preIndex
  20699. skippy, err := skipGenerated(dAtA[iNdEx:])
  20700. if err != nil {
  20701. return err
  20702. }
  20703. if skippy < 0 {
  20704. return ErrInvalidLengthGenerated
  20705. }
  20706. if (iNdEx + skippy) > l {
  20707. return io.ErrUnexpectedEOF
  20708. }
  20709. iNdEx += skippy
  20710. }
  20711. }
  20712. if iNdEx > l {
  20713. return io.ErrUnexpectedEOF
  20714. }
  20715. return nil
  20716. }
  20717. func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error {
  20718. l := len(dAtA)
  20719. iNdEx := 0
  20720. for iNdEx < l {
  20721. preIndex := iNdEx
  20722. var wire uint64
  20723. for shift := uint(0); ; shift += 7 {
  20724. if shift >= 64 {
  20725. return ErrIntOverflowGenerated
  20726. }
  20727. if iNdEx >= l {
  20728. return io.ErrUnexpectedEOF
  20729. }
  20730. b := dAtA[iNdEx]
  20731. iNdEx++
  20732. wire |= (uint64(b) & 0x7F) << shift
  20733. if b < 0x80 {
  20734. break
  20735. }
  20736. }
  20737. fieldNum := int32(wire >> 3)
  20738. wireType := int(wire & 0x7)
  20739. if wireType == 4 {
  20740. return fmt.Errorf("proto: ContainerStateRunning: wiretype end group for non-group")
  20741. }
  20742. if fieldNum <= 0 {
  20743. return fmt.Errorf("proto: ContainerStateRunning: illegal tag %d (wire type %d)", fieldNum, wire)
  20744. }
  20745. switch fieldNum {
  20746. case 1:
  20747. if wireType != 2 {
  20748. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  20749. }
  20750. var msglen int
  20751. for shift := uint(0); ; shift += 7 {
  20752. if shift >= 64 {
  20753. return ErrIntOverflowGenerated
  20754. }
  20755. if iNdEx >= l {
  20756. return io.ErrUnexpectedEOF
  20757. }
  20758. b := dAtA[iNdEx]
  20759. iNdEx++
  20760. msglen |= (int(b) & 0x7F) << shift
  20761. if b < 0x80 {
  20762. break
  20763. }
  20764. }
  20765. if msglen < 0 {
  20766. return ErrInvalidLengthGenerated
  20767. }
  20768. postIndex := iNdEx + msglen
  20769. if postIndex > l {
  20770. return io.ErrUnexpectedEOF
  20771. }
  20772. if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20773. return err
  20774. }
  20775. iNdEx = postIndex
  20776. default:
  20777. iNdEx = preIndex
  20778. skippy, err := skipGenerated(dAtA[iNdEx:])
  20779. if err != nil {
  20780. return err
  20781. }
  20782. if skippy < 0 {
  20783. return ErrInvalidLengthGenerated
  20784. }
  20785. if (iNdEx + skippy) > l {
  20786. return io.ErrUnexpectedEOF
  20787. }
  20788. iNdEx += skippy
  20789. }
  20790. }
  20791. if iNdEx > l {
  20792. return io.ErrUnexpectedEOF
  20793. }
  20794. return nil
  20795. }
  20796. func (m *ContainerStateTerminated) Unmarshal(dAtA []byte) error {
  20797. l := len(dAtA)
  20798. iNdEx := 0
  20799. for iNdEx < l {
  20800. preIndex := iNdEx
  20801. var wire uint64
  20802. for shift := uint(0); ; shift += 7 {
  20803. if shift >= 64 {
  20804. return ErrIntOverflowGenerated
  20805. }
  20806. if iNdEx >= l {
  20807. return io.ErrUnexpectedEOF
  20808. }
  20809. b := dAtA[iNdEx]
  20810. iNdEx++
  20811. wire |= (uint64(b) & 0x7F) << shift
  20812. if b < 0x80 {
  20813. break
  20814. }
  20815. }
  20816. fieldNum := int32(wire >> 3)
  20817. wireType := int(wire & 0x7)
  20818. if wireType == 4 {
  20819. return fmt.Errorf("proto: ContainerStateTerminated: wiretype end group for non-group")
  20820. }
  20821. if fieldNum <= 0 {
  20822. return fmt.Errorf("proto: ContainerStateTerminated: illegal tag %d (wire type %d)", fieldNum, wire)
  20823. }
  20824. switch fieldNum {
  20825. case 1:
  20826. if wireType != 0 {
  20827. return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType)
  20828. }
  20829. m.ExitCode = 0
  20830. for shift := uint(0); ; shift += 7 {
  20831. if shift >= 64 {
  20832. return ErrIntOverflowGenerated
  20833. }
  20834. if iNdEx >= l {
  20835. return io.ErrUnexpectedEOF
  20836. }
  20837. b := dAtA[iNdEx]
  20838. iNdEx++
  20839. m.ExitCode |= (int32(b) & 0x7F) << shift
  20840. if b < 0x80 {
  20841. break
  20842. }
  20843. }
  20844. case 2:
  20845. if wireType != 0 {
  20846. return fmt.Errorf("proto: wrong wireType = %d for field Signal", wireType)
  20847. }
  20848. m.Signal = 0
  20849. for shift := uint(0); ; shift += 7 {
  20850. if shift >= 64 {
  20851. return ErrIntOverflowGenerated
  20852. }
  20853. if iNdEx >= l {
  20854. return io.ErrUnexpectedEOF
  20855. }
  20856. b := dAtA[iNdEx]
  20857. iNdEx++
  20858. m.Signal |= (int32(b) & 0x7F) << shift
  20859. if b < 0x80 {
  20860. break
  20861. }
  20862. }
  20863. case 3:
  20864. if wireType != 2 {
  20865. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  20866. }
  20867. var stringLen uint64
  20868. for shift := uint(0); ; shift += 7 {
  20869. if shift >= 64 {
  20870. return ErrIntOverflowGenerated
  20871. }
  20872. if iNdEx >= l {
  20873. return io.ErrUnexpectedEOF
  20874. }
  20875. b := dAtA[iNdEx]
  20876. iNdEx++
  20877. stringLen |= (uint64(b) & 0x7F) << shift
  20878. if b < 0x80 {
  20879. break
  20880. }
  20881. }
  20882. intStringLen := int(stringLen)
  20883. if intStringLen < 0 {
  20884. return ErrInvalidLengthGenerated
  20885. }
  20886. postIndex := iNdEx + intStringLen
  20887. if postIndex > l {
  20888. return io.ErrUnexpectedEOF
  20889. }
  20890. m.Reason = string(dAtA[iNdEx:postIndex])
  20891. iNdEx = postIndex
  20892. case 4:
  20893. if wireType != 2 {
  20894. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  20895. }
  20896. var stringLen uint64
  20897. for shift := uint(0); ; shift += 7 {
  20898. if shift >= 64 {
  20899. return ErrIntOverflowGenerated
  20900. }
  20901. if iNdEx >= l {
  20902. return io.ErrUnexpectedEOF
  20903. }
  20904. b := dAtA[iNdEx]
  20905. iNdEx++
  20906. stringLen |= (uint64(b) & 0x7F) << shift
  20907. if b < 0x80 {
  20908. break
  20909. }
  20910. }
  20911. intStringLen := int(stringLen)
  20912. if intStringLen < 0 {
  20913. return ErrInvalidLengthGenerated
  20914. }
  20915. postIndex := iNdEx + intStringLen
  20916. if postIndex > l {
  20917. return io.ErrUnexpectedEOF
  20918. }
  20919. m.Message = string(dAtA[iNdEx:postIndex])
  20920. iNdEx = postIndex
  20921. case 5:
  20922. if wireType != 2 {
  20923. return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  20924. }
  20925. var msglen int
  20926. for shift := uint(0); ; shift += 7 {
  20927. if shift >= 64 {
  20928. return ErrIntOverflowGenerated
  20929. }
  20930. if iNdEx >= l {
  20931. return io.ErrUnexpectedEOF
  20932. }
  20933. b := dAtA[iNdEx]
  20934. iNdEx++
  20935. msglen |= (int(b) & 0x7F) << shift
  20936. if b < 0x80 {
  20937. break
  20938. }
  20939. }
  20940. if msglen < 0 {
  20941. return ErrInvalidLengthGenerated
  20942. }
  20943. postIndex := iNdEx + msglen
  20944. if postIndex > l {
  20945. return io.ErrUnexpectedEOF
  20946. }
  20947. if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20948. return err
  20949. }
  20950. iNdEx = postIndex
  20951. case 6:
  20952. if wireType != 2 {
  20953. return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType)
  20954. }
  20955. var msglen int
  20956. for shift := uint(0); ; shift += 7 {
  20957. if shift >= 64 {
  20958. return ErrIntOverflowGenerated
  20959. }
  20960. if iNdEx >= l {
  20961. return io.ErrUnexpectedEOF
  20962. }
  20963. b := dAtA[iNdEx]
  20964. iNdEx++
  20965. msglen |= (int(b) & 0x7F) << shift
  20966. if b < 0x80 {
  20967. break
  20968. }
  20969. }
  20970. if msglen < 0 {
  20971. return ErrInvalidLengthGenerated
  20972. }
  20973. postIndex := iNdEx + msglen
  20974. if postIndex > l {
  20975. return io.ErrUnexpectedEOF
  20976. }
  20977. if err := m.FinishedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  20978. return err
  20979. }
  20980. iNdEx = postIndex
  20981. case 7:
  20982. if wireType != 2 {
  20983. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  20984. }
  20985. var stringLen uint64
  20986. for shift := uint(0); ; shift += 7 {
  20987. if shift >= 64 {
  20988. return ErrIntOverflowGenerated
  20989. }
  20990. if iNdEx >= l {
  20991. return io.ErrUnexpectedEOF
  20992. }
  20993. b := dAtA[iNdEx]
  20994. iNdEx++
  20995. stringLen |= (uint64(b) & 0x7F) << shift
  20996. if b < 0x80 {
  20997. break
  20998. }
  20999. }
  21000. intStringLen := int(stringLen)
  21001. if intStringLen < 0 {
  21002. return ErrInvalidLengthGenerated
  21003. }
  21004. postIndex := iNdEx + intStringLen
  21005. if postIndex > l {
  21006. return io.ErrUnexpectedEOF
  21007. }
  21008. m.ContainerID = string(dAtA[iNdEx:postIndex])
  21009. iNdEx = postIndex
  21010. default:
  21011. iNdEx = preIndex
  21012. skippy, err := skipGenerated(dAtA[iNdEx:])
  21013. if err != nil {
  21014. return err
  21015. }
  21016. if skippy < 0 {
  21017. return ErrInvalidLengthGenerated
  21018. }
  21019. if (iNdEx + skippy) > l {
  21020. return io.ErrUnexpectedEOF
  21021. }
  21022. iNdEx += skippy
  21023. }
  21024. }
  21025. if iNdEx > l {
  21026. return io.ErrUnexpectedEOF
  21027. }
  21028. return nil
  21029. }
  21030. func (m *ContainerStateWaiting) Unmarshal(dAtA []byte) error {
  21031. l := len(dAtA)
  21032. iNdEx := 0
  21033. for iNdEx < l {
  21034. preIndex := iNdEx
  21035. var wire uint64
  21036. for shift := uint(0); ; shift += 7 {
  21037. if shift >= 64 {
  21038. return ErrIntOverflowGenerated
  21039. }
  21040. if iNdEx >= l {
  21041. return io.ErrUnexpectedEOF
  21042. }
  21043. b := dAtA[iNdEx]
  21044. iNdEx++
  21045. wire |= (uint64(b) & 0x7F) << shift
  21046. if b < 0x80 {
  21047. break
  21048. }
  21049. }
  21050. fieldNum := int32(wire >> 3)
  21051. wireType := int(wire & 0x7)
  21052. if wireType == 4 {
  21053. return fmt.Errorf("proto: ContainerStateWaiting: wiretype end group for non-group")
  21054. }
  21055. if fieldNum <= 0 {
  21056. return fmt.Errorf("proto: ContainerStateWaiting: illegal tag %d (wire type %d)", fieldNum, wire)
  21057. }
  21058. switch fieldNum {
  21059. case 1:
  21060. if wireType != 2 {
  21061. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  21062. }
  21063. var stringLen uint64
  21064. for shift := uint(0); ; shift += 7 {
  21065. if shift >= 64 {
  21066. return ErrIntOverflowGenerated
  21067. }
  21068. if iNdEx >= l {
  21069. return io.ErrUnexpectedEOF
  21070. }
  21071. b := dAtA[iNdEx]
  21072. iNdEx++
  21073. stringLen |= (uint64(b) & 0x7F) << shift
  21074. if b < 0x80 {
  21075. break
  21076. }
  21077. }
  21078. intStringLen := int(stringLen)
  21079. if intStringLen < 0 {
  21080. return ErrInvalidLengthGenerated
  21081. }
  21082. postIndex := iNdEx + intStringLen
  21083. if postIndex > l {
  21084. return io.ErrUnexpectedEOF
  21085. }
  21086. m.Reason = string(dAtA[iNdEx:postIndex])
  21087. iNdEx = postIndex
  21088. case 2:
  21089. if wireType != 2 {
  21090. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  21091. }
  21092. var stringLen uint64
  21093. for shift := uint(0); ; shift += 7 {
  21094. if shift >= 64 {
  21095. return ErrIntOverflowGenerated
  21096. }
  21097. if iNdEx >= l {
  21098. return io.ErrUnexpectedEOF
  21099. }
  21100. b := dAtA[iNdEx]
  21101. iNdEx++
  21102. stringLen |= (uint64(b) & 0x7F) << shift
  21103. if b < 0x80 {
  21104. break
  21105. }
  21106. }
  21107. intStringLen := int(stringLen)
  21108. if intStringLen < 0 {
  21109. return ErrInvalidLengthGenerated
  21110. }
  21111. postIndex := iNdEx + intStringLen
  21112. if postIndex > l {
  21113. return io.ErrUnexpectedEOF
  21114. }
  21115. m.Message = string(dAtA[iNdEx:postIndex])
  21116. iNdEx = postIndex
  21117. default:
  21118. iNdEx = preIndex
  21119. skippy, err := skipGenerated(dAtA[iNdEx:])
  21120. if err != nil {
  21121. return err
  21122. }
  21123. if skippy < 0 {
  21124. return ErrInvalidLengthGenerated
  21125. }
  21126. if (iNdEx + skippy) > l {
  21127. return io.ErrUnexpectedEOF
  21128. }
  21129. iNdEx += skippy
  21130. }
  21131. }
  21132. if iNdEx > l {
  21133. return io.ErrUnexpectedEOF
  21134. }
  21135. return nil
  21136. }
  21137. func (m *ContainerStatus) Unmarshal(dAtA []byte) error {
  21138. l := len(dAtA)
  21139. iNdEx := 0
  21140. for iNdEx < l {
  21141. preIndex := iNdEx
  21142. var wire uint64
  21143. for shift := uint(0); ; shift += 7 {
  21144. if shift >= 64 {
  21145. return ErrIntOverflowGenerated
  21146. }
  21147. if iNdEx >= l {
  21148. return io.ErrUnexpectedEOF
  21149. }
  21150. b := dAtA[iNdEx]
  21151. iNdEx++
  21152. wire |= (uint64(b) & 0x7F) << shift
  21153. if b < 0x80 {
  21154. break
  21155. }
  21156. }
  21157. fieldNum := int32(wire >> 3)
  21158. wireType := int(wire & 0x7)
  21159. if wireType == 4 {
  21160. return fmt.Errorf("proto: ContainerStatus: wiretype end group for non-group")
  21161. }
  21162. if fieldNum <= 0 {
  21163. return fmt.Errorf("proto: ContainerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  21164. }
  21165. switch fieldNum {
  21166. case 1:
  21167. if wireType != 2 {
  21168. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  21169. }
  21170. var stringLen uint64
  21171. for shift := uint(0); ; shift += 7 {
  21172. if shift >= 64 {
  21173. return ErrIntOverflowGenerated
  21174. }
  21175. if iNdEx >= l {
  21176. return io.ErrUnexpectedEOF
  21177. }
  21178. b := dAtA[iNdEx]
  21179. iNdEx++
  21180. stringLen |= (uint64(b) & 0x7F) << shift
  21181. if b < 0x80 {
  21182. break
  21183. }
  21184. }
  21185. intStringLen := int(stringLen)
  21186. if intStringLen < 0 {
  21187. return ErrInvalidLengthGenerated
  21188. }
  21189. postIndex := iNdEx + intStringLen
  21190. if postIndex > l {
  21191. return io.ErrUnexpectedEOF
  21192. }
  21193. m.Name = string(dAtA[iNdEx:postIndex])
  21194. iNdEx = postIndex
  21195. case 2:
  21196. if wireType != 2 {
  21197. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  21198. }
  21199. var msglen int
  21200. for shift := uint(0); ; shift += 7 {
  21201. if shift >= 64 {
  21202. return ErrIntOverflowGenerated
  21203. }
  21204. if iNdEx >= l {
  21205. return io.ErrUnexpectedEOF
  21206. }
  21207. b := dAtA[iNdEx]
  21208. iNdEx++
  21209. msglen |= (int(b) & 0x7F) << shift
  21210. if b < 0x80 {
  21211. break
  21212. }
  21213. }
  21214. if msglen < 0 {
  21215. return ErrInvalidLengthGenerated
  21216. }
  21217. postIndex := iNdEx + msglen
  21218. if postIndex > l {
  21219. return io.ErrUnexpectedEOF
  21220. }
  21221. if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21222. return err
  21223. }
  21224. iNdEx = postIndex
  21225. case 3:
  21226. if wireType != 2 {
  21227. return fmt.Errorf("proto: wrong wireType = %d for field LastTerminationState", wireType)
  21228. }
  21229. var msglen int
  21230. for shift := uint(0); ; shift += 7 {
  21231. if shift >= 64 {
  21232. return ErrIntOverflowGenerated
  21233. }
  21234. if iNdEx >= l {
  21235. return io.ErrUnexpectedEOF
  21236. }
  21237. b := dAtA[iNdEx]
  21238. iNdEx++
  21239. msglen |= (int(b) & 0x7F) << shift
  21240. if b < 0x80 {
  21241. break
  21242. }
  21243. }
  21244. if msglen < 0 {
  21245. return ErrInvalidLengthGenerated
  21246. }
  21247. postIndex := iNdEx + msglen
  21248. if postIndex > l {
  21249. return io.ErrUnexpectedEOF
  21250. }
  21251. if err := m.LastTerminationState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21252. return err
  21253. }
  21254. iNdEx = postIndex
  21255. case 4:
  21256. if wireType != 0 {
  21257. return fmt.Errorf("proto: wrong wireType = %d for field Ready", wireType)
  21258. }
  21259. var v int
  21260. for shift := uint(0); ; shift += 7 {
  21261. if shift >= 64 {
  21262. return ErrIntOverflowGenerated
  21263. }
  21264. if iNdEx >= l {
  21265. return io.ErrUnexpectedEOF
  21266. }
  21267. b := dAtA[iNdEx]
  21268. iNdEx++
  21269. v |= (int(b) & 0x7F) << shift
  21270. if b < 0x80 {
  21271. break
  21272. }
  21273. }
  21274. m.Ready = bool(v != 0)
  21275. case 5:
  21276. if wireType != 0 {
  21277. return fmt.Errorf("proto: wrong wireType = %d for field RestartCount", wireType)
  21278. }
  21279. m.RestartCount = 0
  21280. for shift := uint(0); ; shift += 7 {
  21281. if shift >= 64 {
  21282. return ErrIntOverflowGenerated
  21283. }
  21284. if iNdEx >= l {
  21285. return io.ErrUnexpectedEOF
  21286. }
  21287. b := dAtA[iNdEx]
  21288. iNdEx++
  21289. m.RestartCount |= (int32(b) & 0x7F) << shift
  21290. if b < 0x80 {
  21291. break
  21292. }
  21293. }
  21294. case 6:
  21295. if wireType != 2 {
  21296. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  21297. }
  21298. var stringLen uint64
  21299. for shift := uint(0); ; shift += 7 {
  21300. if shift >= 64 {
  21301. return ErrIntOverflowGenerated
  21302. }
  21303. if iNdEx >= l {
  21304. return io.ErrUnexpectedEOF
  21305. }
  21306. b := dAtA[iNdEx]
  21307. iNdEx++
  21308. stringLen |= (uint64(b) & 0x7F) << shift
  21309. if b < 0x80 {
  21310. break
  21311. }
  21312. }
  21313. intStringLen := int(stringLen)
  21314. if intStringLen < 0 {
  21315. return ErrInvalidLengthGenerated
  21316. }
  21317. postIndex := iNdEx + intStringLen
  21318. if postIndex > l {
  21319. return io.ErrUnexpectedEOF
  21320. }
  21321. m.Image = string(dAtA[iNdEx:postIndex])
  21322. iNdEx = postIndex
  21323. case 7:
  21324. if wireType != 2 {
  21325. return fmt.Errorf("proto: wrong wireType = %d for field ImageID", wireType)
  21326. }
  21327. var stringLen uint64
  21328. for shift := uint(0); ; shift += 7 {
  21329. if shift >= 64 {
  21330. return ErrIntOverflowGenerated
  21331. }
  21332. if iNdEx >= l {
  21333. return io.ErrUnexpectedEOF
  21334. }
  21335. b := dAtA[iNdEx]
  21336. iNdEx++
  21337. stringLen |= (uint64(b) & 0x7F) << shift
  21338. if b < 0x80 {
  21339. break
  21340. }
  21341. }
  21342. intStringLen := int(stringLen)
  21343. if intStringLen < 0 {
  21344. return ErrInvalidLengthGenerated
  21345. }
  21346. postIndex := iNdEx + intStringLen
  21347. if postIndex > l {
  21348. return io.ErrUnexpectedEOF
  21349. }
  21350. m.ImageID = string(dAtA[iNdEx:postIndex])
  21351. iNdEx = postIndex
  21352. case 8:
  21353. if wireType != 2 {
  21354. return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
  21355. }
  21356. var stringLen uint64
  21357. for shift := uint(0); ; shift += 7 {
  21358. if shift >= 64 {
  21359. return ErrIntOverflowGenerated
  21360. }
  21361. if iNdEx >= l {
  21362. return io.ErrUnexpectedEOF
  21363. }
  21364. b := dAtA[iNdEx]
  21365. iNdEx++
  21366. stringLen |= (uint64(b) & 0x7F) << shift
  21367. if b < 0x80 {
  21368. break
  21369. }
  21370. }
  21371. intStringLen := int(stringLen)
  21372. if intStringLen < 0 {
  21373. return ErrInvalidLengthGenerated
  21374. }
  21375. postIndex := iNdEx + intStringLen
  21376. if postIndex > l {
  21377. return io.ErrUnexpectedEOF
  21378. }
  21379. m.ContainerID = string(dAtA[iNdEx:postIndex])
  21380. iNdEx = postIndex
  21381. default:
  21382. iNdEx = preIndex
  21383. skippy, err := skipGenerated(dAtA[iNdEx:])
  21384. if err != nil {
  21385. return err
  21386. }
  21387. if skippy < 0 {
  21388. return ErrInvalidLengthGenerated
  21389. }
  21390. if (iNdEx + skippy) > l {
  21391. return io.ErrUnexpectedEOF
  21392. }
  21393. iNdEx += skippy
  21394. }
  21395. }
  21396. if iNdEx > l {
  21397. return io.ErrUnexpectedEOF
  21398. }
  21399. return nil
  21400. }
  21401. func (m *DaemonEndpoint) Unmarshal(dAtA []byte) error {
  21402. l := len(dAtA)
  21403. iNdEx := 0
  21404. for iNdEx < l {
  21405. preIndex := iNdEx
  21406. var wire uint64
  21407. for shift := uint(0); ; shift += 7 {
  21408. if shift >= 64 {
  21409. return ErrIntOverflowGenerated
  21410. }
  21411. if iNdEx >= l {
  21412. return io.ErrUnexpectedEOF
  21413. }
  21414. b := dAtA[iNdEx]
  21415. iNdEx++
  21416. wire |= (uint64(b) & 0x7F) << shift
  21417. if b < 0x80 {
  21418. break
  21419. }
  21420. }
  21421. fieldNum := int32(wire >> 3)
  21422. wireType := int(wire & 0x7)
  21423. if wireType == 4 {
  21424. return fmt.Errorf("proto: DaemonEndpoint: wiretype end group for non-group")
  21425. }
  21426. if fieldNum <= 0 {
  21427. return fmt.Errorf("proto: DaemonEndpoint: illegal tag %d (wire type %d)", fieldNum, wire)
  21428. }
  21429. switch fieldNum {
  21430. case 1:
  21431. if wireType != 0 {
  21432. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  21433. }
  21434. m.Port = 0
  21435. for shift := uint(0); ; shift += 7 {
  21436. if shift >= 64 {
  21437. return ErrIntOverflowGenerated
  21438. }
  21439. if iNdEx >= l {
  21440. return io.ErrUnexpectedEOF
  21441. }
  21442. b := dAtA[iNdEx]
  21443. iNdEx++
  21444. m.Port |= (int32(b) & 0x7F) << shift
  21445. if b < 0x80 {
  21446. break
  21447. }
  21448. }
  21449. default:
  21450. iNdEx = preIndex
  21451. skippy, err := skipGenerated(dAtA[iNdEx:])
  21452. if err != nil {
  21453. return err
  21454. }
  21455. if skippy < 0 {
  21456. return ErrInvalidLengthGenerated
  21457. }
  21458. if (iNdEx + skippy) > l {
  21459. return io.ErrUnexpectedEOF
  21460. }
  21461. iNdEx += skippy
  21462. }
  21463. }
  21464. if iNdEx > l {
  21465. return io.ErrUnexpectedEOF
  21466. }
  21467. return nil
  21468. }
  21469. func (m *DeleteOptions) Unmarshal(dAtA []byte) error {
  21470. l := len(dAtA)
  21471. iNdEx := 0
  21472. for iNdEx < l {
  21473. preIndex := iNdEx
  21474. var wire uint64
  21475. for shift := uint(0); ; shift += 7 {
  21476. if shift >= 64 {
  21477. return ErrIntOverflowGenerated
  21478. }
  21479. if iNdEx >= l {
  21480. return io.ErrUnexpectedEOF
  21481. }
  21482. b := dAtA[iNdEx]
  21483. iNdEx++
  21484. wire |= (uint64(b) & 0x7F) << shift
  21485. if b < 0x80 {
  21486. break
  21487. }
  21488. }
  21489. fieldNum := int32(wire >> 3)
  21490. wireType := int(wire & 0x7)
  21491. if wireType == 4 {
  21492. return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group")
  21493. }
  21494. if fieldNum <= 0 {
  21495. return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  21496. }
  21497. switch fieldNum {
  21498. case 1:
  21499. if wireType != 0 {
  21500. return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType)
  21501. }
  21502. var v int64
  21503. for shift := uint(0); ; shift += 7 {
  21504. if shift >= 64 {
  21505. return ErrIntOverflowGenerated
  21506. }
  21507. if iNdEx >= l {
  21508. return io.ErrUnexpectedEOF
  21509. }
  21510. b := dAtA[iNdEx]
  21511. iNdEx++
  21512. v |= (int64(b) & 0x7F) << shift
  21513. if b < 0x80 {
  21514. break
  21515. }
  21516. }
  21517. m.GracePeriodSeconds = &v
  21518. case 2:
  21519. if wireType != 2 {
  21520. return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType)
  21521. }
  21522. var msglen int
  21523. for shift := uint(0); ; shift += 7 {
  21524. if shift >= 64 {
  21525. return ErrIntOverflowGenerated
  21526. }
  21527. if iNdEx >= l {
  21528. return io.ErrUnexpectedEOF
  21529. }
  21530. b := dAtA[iNdEx]
  21531. iNdEx++
  21532. msglen |= (int(b) & 0x7F) << shift
  21533. if b < 0x80 {
  21534. break
  21535. }
  21536. }
  21537. if msglen < 0 {
  21538. return ErrInvalidLengthGenerated
  21539. }
  21540. postIndex := iNdEx + msglen
  21541. if postIndex > l {
  21542. return io.ErrUnexpectedEOF
  21543. }
  21544. if m.Preconditions == nil {
  21545. m.Preconditions = &Preconditions{}
  21546. }
  21547. if err := m.Preconditions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21548. return err
  21549. }
  21550. iNdEx = postIndex
  21551. case 3:
  21552. if wireType != 0 {
  21553. return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType)
  21554. }
  21555. var v int
  21556. for shift := uint(0); ; shift += 7 {
  21557. if shift >= 64 {
  21558. return ErrIntOverflowGenerated
  21559. }
  21560. if iNdEx >= l {
  21561. return io.ErrUnexpectedEOF
  21562. }
  21563. b := dAtA[iNdEx]
  21564. iNdEx++
  21565. v |= (int(b) & 0x7F) << shift
  21566. if b < 0x80 {
  21567. break
  21568. }
  21569. }
  21570. b := bool(v != 0)
  21571. m.OrphanDependents = &b
  21572. case 4:
  21573. if wireType != 2 {
  21574. return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType)
  21575. }
  21576. var stringLen uint64
  21577. for shift := uint(0); ; shift += 7 {
  21578. if shift >= 64 {
  21579. return ErrIntOverflowGenerated
  21580. }
  21581. if iNdEx >= l {
  21582. return io.ErrUnexpectedEOF
  21583. }
  21584. b := dAtA[iNdEx]
  21585. iNdEx++
  21586. stringLen |= (uint64(b) & 0x7F) << shift
  21587. if b < 0x80 {
  21588. break
  21589. }
  21590. }
  21591. intStringLen := int(stringLen)
  21592. if intStringLen < 0 {
  21593. return ErrInvalidLengthGenerated
  21594. }
  21595. postIndex := iNdEx + intStringLen
  21596. if postIndex > l {
  21597. return io.ErrUnexpectedEOF
  21598. }
  21599. s := DeletionPropagation(dAtA[iNdEx:postIndex])
  21600. m.PropagationPolicy = &s
  21601. iNdEx = postIndex
  21602. default:
  21603. iNdEx = preIndex
  21604. skippy, err := skipGenerated(dAtA[iNdEx:])
  21605. if err != nil {
  21606. return err
  21607. }
  21608. if skippy < 0 {
  21609. return ErrInvalidLengthGenerated
  21610. }
  21611. if (iNdEx + skippy) > l {
  21612. return io.ErrUnexpectedEOF
  21613. }
  21614. iNdEx += skippy
  21615. }
  21616. }
  21617. if iNdEx > l {
  21618. return io.ErrUnexpectedEOF
  21619. }
  21620. return nil
  21621. }
  21622. func (m *DownwardAPIProjection) Unmarshal(dAtA []byte) error {
  21623. l := len(dAtA)
  21624. iNdEx := 0
  21625. for iNdEx < l {
  21626. preIndex := iNdEx
  21627. var wire uint64
  21628. for shift := uint(0); ; shift += 7 {
  21629. if shift >= 64 {
  21630. return ErrIntOverflowGenerated
  21631. }
  21632. if iNdEx >= l {
  21633. return io.ErrUnexpectedEOF
  21634. }
  21635. b := dAtA[iNdEx]
  21636. iNdEx++
  21637. wire |= (uint64(b) & 0x7F) << shift
  21638. if b < 0x80 {
  21639. break
  21640. }
  21641. }
  21642. fieldNum := int32(wire >> 3)
  21643. wireType := int(wire & 0x7)
  21644. if wireType == 4 {
  21645. return fmt.Errorf("proto: DownwardAPIProjection: wiretype end group for non-group")
  21646. }
  21647. if fieldNum <= 0 {
  21648. return fmt.Errorf("proto: DownwardAPIProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  21649. }
  21650. switch fieldNum {
  21651. case 1:
  21652. if wireType != 2 {
  21653. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  21654. }
  21655. var msglen int
  21656. for shift := uint(0); ; shift += 7 {
  21657. if shift >= 64 {
  21658. return ErrIntOverflowGenerated
  21659. }
  21660. if iNdEx >= l {
  21661. return io.ErrUnexpectedEOF
  21662. }
  21663. b := dAtA[iNdEx]
  21664. iNdEx++
  21665. msglen |= (int(b) & 0x7F) << shift
  21666. if b < 0x80 {
  21667. break
  21668. }
  21669. }
  21670. if msglen < 0 {
  21671. return ErrInvalidLengthGenerated
  21672. }
  21673. postIndex := iNdEx + msglen
  21674. if postIndex > l {
  21675. return io.ErrUnexpectedEOF
  21676. }
  21677. m.Items = append(m.Items, DownwardAPIVolumeFile{})
  21678. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21679. return err
  21680. }
  21681. iNdEx = postIndex
  21682. default:
  21683. iNdEx = preIndex
  21684. skippy, err := skipGenerated(dAtA[iNdEx:])
  21685. if err != nil {
  21686. return err
  21687. }
  21688. if skippy < 0 {
  21689. return ErrInvalidLengthGenerated
  21690. }
  21691. if (iNdEx + skippy) > l {
  21692. return io.ErrUnexpectedEOF
  21693. }
  21694. iNdEx += skippy
  21695. }
  21696. }
  21697. if iNdEx > l {
  21698. return io.ErrUnexpectedEOF
  21699. }
  21700. return nil
  21701. }
  21702. func (m *DownwardAPIVolumeFile) Unmarshal(dAtA []byte) error {
  21703. l := len(dAtA)
  21704. iNdEx := 0
  21705. for iNdEx < l {
  21706. preIndex := iNdEx
  21707. var wire uint64
  21708. for shift := uint(0); ; shift += 7 {
  21709. if shift >= 64 {
  21710. return ErrIntOverflowGenerated
  21711. }
  21712. if iNdEx >= l {
  21713. return io.ErrUnexpectedEOF
  21714. }
  21715. b := dAtA[iNdEx]
  21716. iNdEx++
  21717. wire |= (uint64(b) & 0x7F) << shift
  21718. if b < 0x80 {
  21719. break
  21720. }
  21721. }
  21722. fieldNum := int32(wire >> 3)
  21723. wireType := int(wire & 0x7)
  21724. if wireType == 4 {
  21725. return fmt.Errorf("proto: DownwardAPIVolumeFile: wiretype end group for non-group")
  21726. }
  21727. if fieldNum <= 0 {
  21728. return fmt.Errorf("proto: DownwardAPIVolumeFile: illegal tag %d (wire type %d)", fieldNum, wire)
  21729. }
  21730. switch fieldNum {
  21731. case 1:
  21732. if wireType != 2 {
  21733. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  21734. }
  21735. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  21746. if b < 0x80 {
  21747. break
  21748. }
  21749. }
  21750. intStringLen := int(stringLen)
  21751. if intStringLen < 0 {
  21752. return ErrInvalidLengthGenerated
  21753. }
  21754. postIndex := iNdEx + intStringLen
  21755. if postIndex > l {
  21756. return io.ErrUnexpectedEOF
  21757. }
  21758. m.Path = string(dAtA[iNdEx:postIndex])
  21759. iNdEx = postIndex
  21760. case 2:
  21761. if wireType != 2 {
  21762. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  21763. }
  21764. var msglen int
  21765. for shift := uint(0); ; shift += 7 {
  21766. if shift >= 64 {
  21767. return ErrIntOverflowGenerated
  21768. }
  21769. if iNdEx >= l {
  21770. return io.ErrUnexpectedEOF
  21771. }
  21772. b := dAtA[iNdEx]
  21773. iNdEx++
  21774. msglen |= (int(b) & 0x7F) << shift
  21775. if b < 0x80 {
  21776. break
  21777. }
  21778. }
  21779. if msglen < 0 {
  21780. return ErrInvalidLengthGenerated
  21781. }
  21782. postIndex := iNdEx + msglen
  21783. if postIndex > l {
  21784. return io.ErrUnexpectedEOF
  21785. }
  21786. if m.FieldRef == nil {
  21787. m.FieldRef = &ObjectFieldSelector{}
  21788. }
  21789. if err := m.FieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21790. return err
  21791. }
  21792. iNdEx = postIndex
  21793. case 3:
  21794. if wireType != 2 {
  21795. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  21796. }
  21797. var msglen int
  21798. for shift := uint(0); ; shift += 7 {
  21799. if shift >= 64 {
  21800. return ErrIntOverflowGenerated
  21801. }
  21802. if iNdEx >= l {
  21803. return io.ErrUnexpectedEOF
  21804. }
  21805. b := dAtA[iNdEx]
  21806. iNdEx++
  21807. msglen |= (int(b) & 0x7F) << shift
  21808. if b < 0x80 {
  21809. break
  21810. }
  21811. }
  21812. if msglen < 0 {
  21813. return ErrInvalidLengthGenerated
  21814. }
  21815. postIndex := iNdEx + msglen
  21816. if postIndex > l {
  21817. return io.ErrUnexpectedEOF
  21818. }
  21819. if m.ResourceFieldRef == nil {
  21820. m.ResourceFieldRef = &ResourceFieldSelector{}
  21821. }
  21822. if err := m.ResourceFieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21823. return err
  21824. }
  21825. iNdEx = postIndex
  21826. case 4:
  21827. if wireType != 0 {
  21828. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  21829. }
  21830. var v int32
  21831. for shift := uint(0); ; shift += 7 {
  21832. if shift >= 64 {
  21833. return ErrIntOverflowGenerated
  21834. }
  21835. if iNdEx >= l {
  21836. return io.ErrUnexpectedEOF
  21837. }
  21838. b := dAtA[iNdEx]
  21839. iNdEx++
  21840. v |= (int32(b) & 0x7F) << shift
  21841. if b < 0x80 {
  21842. break
  21843. }
  21844. }
  21845. m.Mode = &v
  21846. default:
  21847. iNdEx = preIndex
  21848. skippy, err := skipGenerated(dAtA[iNdEx:])
  21849. if err != nil {
  21850. return err
  21851. }
  21852. if skippy < 0 {
  21853. return ErrInvalidLengthGenerated
  21854. }
  21855. if (iNdEx + skippy) > l {
  21856. return io.ErrUnexpectedEOF
  21857. }
  21858. iNdEx += skippy
  21859. }
  21860. }
  21861. if iNdEx > l {
  21862. return io.ErrUnexpectedEOF
  21863. }
  21864. return nil
  21865. }
  21866. func (m *DownwardAPIVolumeSource) Unmarshal(dAtA []byte) error {
  21867. l := len(dAtA)
  21868. iNdEx := 0
  21869. for iNdEx < l {
  21870. preIndex := iNdEx
  21871. var wire uint64
  21872. for shift := uint(0); ; shift += 7 {
  21873. if shift >= 64 {
  21874. return ErrIntOverflowGenerated
  21875. }
  21876. if iNdEx >= l {
  21877. return io.ErrUnexpectedEOF
  21878. }
  21879. b := dAtA[iNdEx]
  21880. iNdEx++
  21881. wire |= (uint64(b) & 0x7F) << shift
  21882. if b < 0x80 {
  21883. break
  21884. }
  21885. }
  21886. fieldNum := int32(wire >> 3)
  21887. wireType := int(wire & 0x7)
  21888. if wireType == 4 {
  21889. return fmt.Errorf("proto: DownwardAPIVolumeSource: wiretype end group for non-group")
  21890. }
  21891. if fieldNum <= 0 {
  21892. return fmt.Errorf("proto: DownwardAPIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  21893. }
  21894. switch fieldNum {
  21895. case 1:
  21896. if wireType != 2 {
  21897. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  21898. }
  21899. var msglen int
  21900. for shift := uint(0); ; shift += 7 {
  21901. if shift >= 64 {
  21902. return ErrIntOverflowGenerated
  21903. }
  21904. if iNdEx >= l {
  21905. return io.ErrUnexpectedEOF
  21906. }
  21907. b := dAtA[iNdEx]
  21908. iNdEx++
  21909. msglen |= (int(b) & 0x7F) << shift
  21910. if b < 0x80 {
  21911. break
  21912. }
  21913. }
  21914. if msglen < 0 {
  21915. return ErrInvalidLengthGenerated
  21916. }
  21917. postIndex := iNdEx + msglen
  21918. if postIndex > l {
  21919. return io.ErrUnexpectedEOF
  21920. }
  21921. m.Items = append(m.Items, DownwardAPIVolumeFile{})
  21922. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  21923. return err
  21924. }
  21925. iNdEx = postIndex
  21926. case 2:
  21927. if wireType != 0 {
  21928. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  21929. }
  21930. var v int32
  21931. for shift := uint(0); ; shift += 7 {
  21932. if shift >= 64 {
  21933. return ErrIntOverflowGenerated
  21934. }
  21935. if iNdEx >= l {
  21936. return io.ErrUnexpectedEOF
  21937. }
  21938. b := dAtA[iNdEx]
  21939. iNdEx++
  21940. v |= (int32(b) & 0x7F) << shift
  21941. if b < 0x80 {
  21942. break
  21943. }
  21944. }
  21945. m.DefaultMode = &v
  21946. default:
  21947. iNdEx = preIndex
  21948. skippy, err := skipGenerated(dAtA[iNdEx:])
  21949. if err != nil {
  21950. return err
  21951. }
  21952. if skippy < 0 {
  21953. return ErrInvalidLengthGenerated
  21954. }
  21955. if (iNdEx + skippy) > l {
  21956. return io.ErrUnexpectedEOF
  21957. }
  21958. iNdEx += skippy
  21959. }
  21960. }
  21961. if iNdEx > l {
  21962. return io.ErrUnexpectedEOF
  21963. }
  21964. return nil
  21965. }
  21966. func (m *EmptyDirVolumeSource) Unmarshal(dAtA []byte) error {
  21967. l := len(dAtA)
  21968. iNdEx := 0
  21969. for iNdEx < l {
  21970. preIndex := iNdEx
  21971. var wire uint64
  21972. for shift := uint(0); ; shift += 7 {
  21973. if shift >= 64 {
  21974. return ErrIntOverflowGenerated
  21975. }
  21976. if iNdEx >= l {
  21977. return io.ErrUnexpectedEOF
  21978. }
  21979. b := dAtA[iNdEx]
  21980. iNdEx++
  21981. wire |= (uint64(b) & 0x7F) << shift
  21982. if b < 0x80 {
  21983. break
  21984. }
  21985. }
  21986. fieldNum := int32(wire >> 3)
  21987. wireType := int(wire & 0x7)
  21988. if wireType == 4 {
  21989. return fmt.Errorf("proto: EmptyDirVolumeSource: wiretype end group for non-group")
  21990. }
  21991. if fieldNum <= 0 {
  21992. return fmt.Errorf("proto: EmptyDirVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  21993. }
  21994. switch fieldNum {
  21995. case 1:
  21996. if wireType != 2 {
  21997. return fmt.Errorf("proto: wrong wireType = %d for field Medium", wireType)
  21998. }
  21999. var stringLen uint64
  22000. for shift := uint(0); ; shift += 7 {
  22001. if shift >= 64 {
  22002. return ErrIntOverflowGenerated
  22003. }
  22004. if iNdEx >= l {
  22005. return io.ErrUnexpectedEOF
  22006. }
  22007. b := dAtA[iNdEx]
  22008. iNdEx++
  22009. stringLen |= (uint64(b) & 0x7F) << shift
  22010. if b < 0x80 {
  22011. break
  22012. }
  22013. }
  22014. intStringLen := int(stringLen)
  22015. if intStringLen < 0 {
  22016. return ErrInvalidLengthGenerated
  22017. }
  22018. postIndex := iNdEx + intStringLen
  22019. if postIndex > l {
  22020. return io.ErrUnexpectedEOF
  22021. }
  22022. m.Medium = StorageMedium(dAtA[iNdEx:postIndex])
  22023. iNdEx = postIndex
  22024. case 2:
  22025. if wireType != 2 {
  22026. return fmt.Errorf("proto: wrong wireType = %d for field SizeLimit", 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 m.SizeLimit == nil {
  22051. m.SizeLimit = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  22052. }
  22053. if err := m.SizeLimit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22054. return err
  22055. }
  22056. iNdEx = postIndex
  22057. default:
  22058. iNdEx = preIndex
  22059. skippy, err := skipGenerated(dAtA[iNdEx:])
  22060. if err != nil {
  22061. return err
  22062. }
  22063. if skippy < 0 {
  22064. return ErrInvalidLengthGenerated
  22065. }
  22066. if (iNdEx + skippy) > l {
  22067. return io.ErrUnexpectedEOF
  22068. }
  22069. iNdEx += skippy
  22070. }
  22071. }
  22072. if iNdEx > l {
  22073. return io.ErrUnexpectedEOF
  22074. }
  22075. return nil
  22076. }
  22077. func (m *EndpointAddress) Unmarshal(dAtA []byte) error {
  22078. l := len(dAtA)
  22079. iNdEx := 0
  22080. for iNdEx < l {
  22081. preIndex := iNdEx
  22082. var wire uint64
  22083. for shift := uint(0); ; shift += 7 {
  22084. if shift >= 64 {
  22085. return ErrIntOverflowGenerated
  22086. }
  22087. if iNdEx >= l {
  22088. return io.ErrUnexpectedEOF
  22089. }
  22090. b := dAtA[iNdEx]
  22091. iNdEx++
  22092. wire |= (uint64(b) & 0x7F) << shift
  22093. if b < 0x80 {
  22094. break
  22095. }
  22096. }
  22097. fieldNum := int32(wire >> 3)
  22098. wireType := int(wire & 0x7)
  22099. if wireType == 4 {
  22100. return fmt.Errorf("proto: EndpointAddress: wiretype end group for non-group")
  22101. }
  22102. if fieldNum <= 0 {
  22103. return fmt.Errorf("proto: EndpointAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  22104. }
  22105. switch fieldNum {
  22106. case 1:
  22107. if wireType != 2 {
  22108. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  22109. }
  22110. var stringLen uint64
  22111. for shift := uint(0); ; shift += 7 {
  22112. if shift >= 64 {
  22113. return ErrIntOverflowGenerated
  22114. }
  22115. if iNdEx >= l {
  22116. return io.ErrUnexpectedEOF
  22117. }
  22118. b := dAtA[iNdEx]
  22119. iNdEx++
  22120. stringLen |= (uint64(b) & 0x7F) << shift
  22121. if b < 0x80 {
  22122. break
  22123. }
  22124. }
  22125. intStringLen := int(stringLen)
  22126. if intStringLen < 0 {
  22127. return ErrInvalidLengthGenerated
  22128. }
  22129. postIndex := iNdEx + intStringLen
  22130. if postIndex > l {
  22131. return io.ErrUnexpectedEOF
  22132. }
  22133. m.IP = string(dAtA[iNdEx:postIndex])
  22134. iNdEx = postIndex
  22135. case 2:
  22136. if wireType != 2 {
  22137. return fmt.Errorf("proto: wrong wireType = %d for field TargetRef", wireType)
  22138. }
  22139. var msglen int
  22140. for shift := uint(0); ; shift += 7 {
  22141. if shift >= 64 {
  22142. return ErrIntOverflowGenerated
  22143. }
  22144. if iNdEx >= l {
  22145. return io.ErrUnexpectedEOF
  22146. }
  22147. b := dAtA[iNdEx]
  22148. iNdEx++
  22149. msglen |= (int(b) & 0x7F) << shift
  22150. if b < 0x80 {
  22151. break
  22152. }
  22153. }
  22154. if msglen < 0 {
  22155. return ErrInvalidLengthGenerated
  22156. }
  22157. postIndex := iNdEx + msglen
  22158. if postIndex > l {
  22159. return io.ErrUnexpectedEOF
  22160. }
  22161. if m.TargetRef == nil {
  22162. m.TargetRef = &ObjectReference{}
  22163. }
  22164. if err := m.TargetRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22165. return err
  22166. }
  22167. iNdEx = postIndex
  22168. case 3:
  22169. if wireType != 2 {
  22170. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  22171. }
  22172. var stringLen uint64
  22173. for shift := uint(0); ; shift += 7 {
  22174. if shift >= 64 {
  22175. return ErrIntOverflowGenerated
  22176. }
  22177. if iNdEx >= l {
  22178. return io.ErrUnexpectedEOF
  22179. }
  22180. b := dAtA[iNdEx]
  22181. iNdEx++
  22182. stringLen |= (uint64(b) & 0x7F) << shift
  22183. if b < 0x80 {
  22184. break
  22185. }
  22186. }
  22187. intStringLen := int(stringLen)
  22188. if intStringLen < 0 {
  22189. return ErrInvalidLengthGenerated
  22190. }
  22191. postIndex := iNdEx + intStringLen
  22192. if postIndex > l {
  22193. return io.ErrUnexpectedEOF
  22194. }
  22195. m.Hostname = string(dAtA[iNdEx:postIndex])
  22196. iNdEx = postIndex
  22197. case 4:
  22198. if wireType != 2 {
  22199. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  22200. }
  22201. var stringLen uint64
  22202. for shift := uint(0); ; shift += 7 {
  22203. if shift >= 64 {
  22204. return ErrIntOverflowGenerated
  22205. }
  22206. if iNdEx >= l {
  22207. return io.ErrUnexpectedEOF
  22208. }
  22209. b := dAtA[iNdEx]
  22210. iNdEx++
  22211. stringLen |= (uint64(b) & 0x7F) << shift
  22212. if b < 0x80 {
  22213. break
  22214. }
  22215. }
  22216. intStringLen := int(stringLen)
  22217. if intStringLen < 0 {
  22218. return ErrInvalidLengthGenerated
  22219. }
  22220. postIndex := iNdEx + intStringLen
  22221. if postIndex > l {
  22222. return io.ErrUnexpectedEOF
  22223. }
  22224. s := string(dAtA[iNdEx:postIndex])
  22225. m.NodeName = &s
  22226. iNdEx = postIndex
  22227. default:
  22228. iNdEx = preIndex
  22229. skippy, err := skipGenerated(dAtA[iNdEx:])
  22230. if err != nil {
  22231. return err
  22232. }
  22233. if skippy < 0 {
  22234. return ErrInvalidLengthGenerated
  22235. }
  22236. if (iNdEx + skippy) > l {
  22237. return io.ErrUnexpectedEOF
  22238. }
  22239. iNdEx += skippy
  22240. }
  22241. }
  22242. if iNdEx > l {
  22243. return io.ErrUnexpectedEOF
  22244. }
  22245. return nil
  22246. }
  22247. func (m *EndpointPort) Unmarshal(dAtA []byte) error {
  22248. l := len(dAtA)
  22249. iNdEx := 0
  22250. for iNdEx < l {
  22251. preIndex := iNdEx
  22252. var wire uint64
  22253. for shift := uint(0); ; shift += 7 {
  22254. if shift >= 64 {
  22255. return ErrIntOverflowGenerated
  22256. }
  22257. if iNdEx >= l {
  22258. return io.ErrUnexpectedEOF
  22259. }
  22260. b := dAtA[iNdEx]
  22261. iNdEx++
  22262. wire |= (uint64(b) & 0x7F) << shift
  22263. if b < 0x80 {
  22264. break
  22265. }
  22266. }
  22267. fieldNum := int32(wire >> 3)
  22268. wireType := int(wire & 0x7)
  22269. if wireType == 4 {
  22270. return fmt.Errorf("proto: EndpointPort: wiretype end group for non-group")
  22271. }
  22272. if fieldNum <= 0 {
  22273. return fmt.Errorf("proto: EndpointPort: illegal tag %d (wire type %d)", fieldNum, wire)
  22274. }
  22275. switch fieldNum {
  22276. case 1:
  22277. if wireType != 2 {
  22278. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  22279. }
  22280. var stringLen uint64
  22281. for shift := uint(0); ; shift += 7 {
  22282. if shift >= 64 {
  22283. return ErrIntOverflowGenerated
  22284. }
  22285. if iNdEx >= l {
  22286. return io.ErrUnexpectedEOF
  22287. }
  22288. b := dAtA[iNdEx]
  22289. iNdEx++
  22290. stringLen |= (uint64(b) & 0x7F) << shift
  22291. if b < 0x80 {
  22292. break
  22293. }
  22294. }
  22295. intStringLen := int(stringLen)
  22296. if intStringLen < 0 {
  22297. return ErrInvalidLengthGenerated
  22298. }
  22299. postIndex := iNdEx + intStringLen
  22300. if postIndex > l {
  22301. return io.ErrUnexpectedEOF
  22302. }
  22303. m.Name = string(dAtA[iNdEx:postIndex])
  22304. iNdEx = postIndex
  22305. case 2:
  22306. if wireType != 0 {
  22307. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  22308. }
  22309. m.Port = 0
  22310. for shift := uint(0); ; shift += 7 {
  22311. if shift >= 64 {
  22312. return ErrIntOverflowGenerated
  22313. }
  22314. if iNdEx >= l {
  22315. return io.ErrUnexpectedEOF
  22316. }
  22317. b := dAtA[iNdEx]
  22318. iNdEx++
  22319. m.Port |= (int32(b) & 0x7F) << shift
  22320. if b < 0x80 {
  22321. break
  22322. }
  22323. }
  22324. case 3:
  22325. if wireType != 2 {
  22326. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  22327. }
  22328. var stringLen uint64
  22329. for shift := uint(0); ; shift += 7 {
  22330. if shift >= 64 {
  22331. return ErrIntOverflowGenerated
  22332. }
  22333. if iNdEx >= l {
  22334. return io.ErrUnexpectedEOF
  22335. }
  22336. b := dAtA[iNdEx]
  22337. iNdEx++
  22338. stringLen |= (uint64(b) & 0x7F) << shift
  22339. if b < 0x80 {
  22340. break
  22341. }
  22342. }
  22343. intStringLen := int(stringLen)
  22344. if intStringLen < 0 {
  22345. return ErrInvalidLengthGenerated
  22346. }
  22347. postIndex := iNdEx + intStringLen
  22348. if postIndex > l {
  22349. return io.ErrUnexpectedEOF
  22350. }
  22351. m.Protocol = Protocol(dAtA[iNdEx:postIndex])
  22352. iNdEx = postIndex
  22353. default:
  22354. iNdEx = preIndex
  22355. skippy, err := skipGenerated(dAtA[iNdEx:])
  22356. if err != nil {
  22357. return err
  22358. }
  22359. if skippy < 0 {
  22360. return ErrInvalidLengthGenerated
  22361. }
  22362. if (iNdEx + skippy) > l {
  22363. return io.ErrUnexpectedEOF
  22364. }
  22365. iNdEx += skippy
  22366. }
  22367. }
  22368. if iNdEx > l {
  22369. return io.ErrUnexpectedEOF
  22370. }
  22371. return nil
  22372. }
  22373. func (m *EndpointSubset) Unmarshal(dAtA []byte) error {
  22374. l := len(dAtA)
  22375. iNdEx := 0
  22376. for iNdEx < l {
  22377. preIndex := iNdEx
  22378. var wire uint64
  22379. for shift := uint(0); ; shift += 7 {
  22380. if shift >= 64 {
  22381. return ErrIntOverflowGenerated
  22382. }
  22383. if iNdEx >= l {
  22384. return io.ErrUnexpectedEOF
  22385. }
  22386. b := dAtA[iNdEx]
  22387. iNdEx++
  22388. wire |= (uint64(b) & 0x7F) << shift
  22389. if b < 0x80 {
  22390. break
  22391. }
  22392. }
  22393. fieldNum := int32(wire >> 3)
  22394. wireType := int(wire & 0x7)
  22395. if wireType == 4 {
  22396. return fmt.Errorf("proto: EndpointSubset: wiretype end group for non-group")
  22397. }
  22398. if fieldNum <= 0 {
  22399. return fmt.Errorf("proto: EndpointSubset: illegal tag %d (wire type %d)", fieldNum, wire)
  22400. }
  22401. switch fieldNum {
  22402. case 1:
  22403. if wireType != 2 {
  22404. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  22405. }
  22406. var msglen int
  22407. for shift := uint(0); ; shift += 7 {
  22408. if shift >= 64 {
  22409. return ErrIntOverflowGenerated
  22410. }
  22411. if iNdEx >= l {
  22412. return io.ErrUnexpectedEOF
  22413. }
  22414. b := dAtA[iNdEx]
  22415. iNdEx++
  22416. msglen |= (int(b) & 0x7F) << shift
  22417. if b < 0x80 {
  22418. break
  22419. }
  22420. }
  22421. if msglen < 0 {
  22422. return ErrInvalidLengthGenerated
  22423. }
  22424. postIndex := iNdEx + msglen
  22425. if postIndex > l {
  22426. return io.ErrUnexpectedEOF
  22427. }
  22428. m.Addresses = append(m.Addresses, EndpointAddress{})
  22429. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22430. return err
  22431. }
  22432. iNdEx = postIndex
  22433. case 2:
  22434. if wireType != 2 {
  22435. return fmt.Errorf("proto: wrong wireType = %d for field NotReadyAddresses", wireType)
  22436. }
  22437. var msglen int
  22438. for shift := uint(0); ; shift += 7 {
  22439. if shift >= 64 {
  22440. return ErrIntOverflowGenerated
  22441. }
  22442. if iNdEx >= l {
  22443. return io.ErrUnexpectedEOF
  22444. }
  22445. b := dAtA[iNdEx]
  22446. iNdEx++
  22447. msglen |= (int(b) & 0x7F) << shift
  22448. if b < 0x80 {
  22449. break
  22450. }
  22451. }
  22452. if msglen < 0 {
  22453. return ErrInvalidLengthGenerated
  22454. }
  22455. postIndex := iNdEx + msglen
  22456. if postIndex > l {
  22457. return io.ErrUnexpectedEOF
  22458. }
  22459. m.NotReadyAddresses = append(m.NotReadyAddresses, EndpointAddress{})
  22460. if err := m.NotReadyAddresses[len(m.NotReadyAddresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22461. return err
  22462. }
  22463. iNdEx = postIndex
  22464. case 3:
  22465. if wireType != 2 {
  22466. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  22467. }
  22468. var msglen int
  22469. for shift := uint(0); ; shift += 7 {
  22470. if shift >= 64 {
  22471. return ErrIntOverflowGenerated
  22472. }
  22473. if iNdEx >= l {
  22474. return io.ErrUnexpectedEOF
  22475. }
  22476. b := dAtA[iNdEx]
  22477. iNdEx++
  22478. msglen |= (int(b) & 0x7F) << shift
  22479. if b < 0x80 {
  22480. break
  22481. }
  22482. }
  22483. if msglen < 0 {
  22484. return ErrInvalidLengthGenerated
  22485. }
  22486. postIndex := iNdEx + msglen
  22487. if postIndex > l {
  22488. return io.ErrUnexpectedEOF
  22489. }
  22490. m.Ports = append(m.Ports, EndpointPort{})
  22491. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22492. return err
  22493. }
  22494. iNdEx = postIndex
  22495. default:
  22496. iNdEx = preIndex
  22497. skippy, err := skipGenerated(dAtA[iNdEx:])
  22498. if err != nil {
  22499. return err
  22500. }
  22501. if skippy < 0 {
  22502. return ErrInvalidLengthGenerated
  22503. }
  22504. if (iNdEx + skippy) > l {
  22505. return io.ErrUnexpectedEOF
  22506. }
  22507. iNdEx += skippy
  22508. }
  22509. }
  22510. if iNdEx > l {
  22511. return io.ErrUnexpectedEOF
  22512. }
  22513. return nil
  22514. }
  22515. func (m *Endpoints) Unmarshal(dAtA []byte) error {
  22516. l := len(dAtA)
  22517. iNdEx := 0
  22518. for iNdEx < l {
  22519. preIndex := iNdEx
  22520. var wire uint64
  22521. for shift := uint(0); ; shift += 7 {
  22522. if shift >= 64 {
  22523. return ErrIntOverflowGenerated
  22524. }
  22525. if iNdEx >= l {
  22526. return io.ErrUnexpectedEOF
  22527. }
  22528. b := dAtA[iNdEx]
  22529. iNdEx++
  22530. wire |= (uint64(b) & 0x7F) << shift
  22531. if b < 0x80 {
  22532. break
  22533. }
  22534. }
  22535. fieldNum := int32(wire >> 3)
  22536. wireType := int(wire & 0x7)
  22537. if wireType == 4 {
  22538. return fmt.Errorf("proto: Endpoints: wiretype end group for non-group")
  22539. }
  22540. if fieldNum <= 0 {
  22541. return fmt.Errorf("proto: Endpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  22542. }
  22543. switch fieldNum {
  22544. case 1:
  22545. if wireType != 2 {
  22546. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  22547. }
  22548. var msglen int
  22549. for shift := uint(0); ; shift += 7 {
  22550. if shift >= 64 {
  22551. return ErrIntOverflowGenerated
  22552. }
  22553. if iNdEx >= l {
  22554. return io.ErrUnexpectedEOF
  22555. }
  22556. b := dAtA[iNdEx]
  22557. iNdEx++
  22558. msglen |= (int(b) & 0x7F) << shift
  22559. if b < 0x80 {
  22560. break
  22561. }
  22562. }
  22563. if msglen < 0 {
  22564. return ErrInvalidLengthGenerated
  22565. }
  22566. postIndex := iNdEx + msglen
  22567. if postIndex > l {
  22568. return io.ErrUnexpectedEOF
  22569. }
  22570. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22571. return err
  22572. }
  22573. iNdEx = postIndex
  22574. case 2:
  22575. if wireType != 2 {
  22576. return fmt.Errorf("proto: wrong wireType = %d for field Subsets", wireType)
  22577. }
  22578. var msglen int
  22579. for shift := uint(0); ; shift += 7 {
  22580. if shift >= 64 {
  22581. return ErrIntOverflowGenerated
  22582. }
  22583. if iNdEx >= l {
  22584. return io.ErrUnexpectedEOF
  22585. }
  22586. b := dAtA[iNdEx]
  22587. iNdEx++
  22588. msglen |= (int(b) & 0x7F) << shift
  22589. if b < 0x80 {
  22590. break
  22591. }
  22592. }
  22593. if msglen < 0 {
  22594. return ErrInvalidLengthGenerated
  22595. }
  22596. postIndex := iNdEx + msglen
  22597. if postIndex > l {
  22598. return io.ErrUnexpectedEOF
  22599. }
  22600. m.Subsets = append(m.Subsets, EndpointSubset{})
  22601. if err := m.Subsets[len(m.Subsets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22602. return err
  22603. }
  22604. iNdEx = postIndex
  22605. default:
  22606. iNdEx = preIndex
  22607. skippy, err := skipGenerated(dAtA[iNdEx:])
  22608. if err != nil {
  22609. return err
  22610. }
  22611. if skippy < 0 {
  22612. return ErrInvalidLengthGenerated
  22613. }
  22614. if (iNdEx + skippy) > l {
  22615. return io.ErrUnexpectedEOF
  22616. }
  22617. iNdEx += skippy
  22618. }
  22619. }
  22620. if iNdEx > l {
  22621. return io.ErrUnexpectedEOF
  22622. }
  22623. return nil
  22624. }
  22625. func (m *EndpointsList) Unmarshal(dAtA []byte) error {
  22626. l := len(dAtA)
  22627. iNdEx := 0
  22628. for iNdEx < l {
  22629. preIndex := iNdEx
  22630. var wire uint64
  22631. for shift := uint(0); ; shift += 7 {
  22632. if shift >= 64 {
  22633. return ErrIntOverflowGenerated
  22634. }
  22635. if iNdEx >= l {
  22636. return io.ErrUnexpectedEOF
  22637. }
  22638. b := dAtA[iNdEx]
  22639. iNdEx++
  22640. wire |= (uint64(b) & 0x7F) << shift
  22641. if b < 0x80 {
  22642. break
  22643. }
  22644. }
  22645. fieldNum := int32(wire >> 3)
  22646. wireType := int(wire & 0x7)
  22647. if wireType == 4 {
  22648. return fmt.Errorf("proto: EndpointsList: wiretype end group for non-group")
  22649. }
  22650. if fieldNum <= 0 {
  22651. return fmt.Errorf("proto: EndpointsList: illegal tag %d (wire type %d)", fieldNum, wire)
  22652. }
  22653. switch fieldNum {
  22654. case 1:
  22655. if wireType != 2 {
  22656. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  22657. }
  22658. var msglen int
  22659. for shift := uint(0); ; shift += 7 {
  22660. if shift >= 64 {
  22661. return ErrIntOverflowGenerated
  22662. }
  22663. if iNdEx >= l {
  22664. return io.ErrUnexpectedEOF
  22665. }
  22666. b := dAtA[iNdEx]
  22667. iNdEx++
  22668. msglen |= (int(b) & 0x7F) << shift
  22669. if b < 0x80 {
  22670. break
  22671. }
  22672. }
  22673. if msglen < 0 {
  22674. return ErrInvalidLengthGenerated
  22675. }
  22676. postIndex := iNdEx + msglen
  22677. if postIndex > l {
  22678. return io.ErrUnexpectedEOF
  22679. }
  22680. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22681. return err
  22682. }
  22683. iNdEx = postIndex
  22684. case 2:
  22685. if wireType != 2 {
  22686. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  22687. }
  22688. var msglen int
  22689. for shift := uint(0); ; shift += 7 {
  22690. if shift >= 64 {
  22691. return ErrIntOverflowGenerated
  22692. }
  22693. if iNdEx >= l {
  22694. return io.ErrUnexpectedEOF
  22695. }
  22696. b := dAtA[iNdEx]
  22697. iNdEx++
  22698. msglen |= (int(b) & 0x7F) << shift
  22699. if b < 0x80 {
  22700. break
  22701. }
  22702. }
  22703. if msglen < 0 {
  22704. return ErrInvalidLengthGenerated
  22705. }
  22706. postIndex := iNdEx + msglen
  22707. if postIndex > l {
  22708. return io.ErrUnexpectedEOF
  22709. }
  22710. m.Items = append(m.Items, Endpoints{})
  22711. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22712. return err
  22713. }
  22714. iNdEx = postIndex
  22715. default:
  22716. iNdEx = preIndex
  22717. skippy, err := skipGenerated(dAtA[iNdEx:])
  22718. if err != nil {
  22719. return err
  22720. }
  22721. if skippy < 0 {
  22722. return ErrInvalidLengthGenerated
  22723. }
  22724. if (iNdEx + skippy) > l {
  22725. return io.ErrUnexpectedEOF
  22726. }
  22727. iNdEx += skippy
  22728. }
  22729. }
  22730. if iNdEx > l {
  22731. return io.ErrUnexpectedEOF
  22732. }
  22733. return nil
  22734. }
  22735. func (m *EnvFromSource) Unmarshal(dAtA []byte) error {
  22736. l := len(dAtA)
  22737. iNdEx := 0
  22738. for iNdEx < l {
  22739. preIndex := iNdEx
  22740. var wire uint64
  22741. for shift := uint(0); ; shift += 7 {
  22742. if shift >= 64 {
  22743. return ErrIntOverflowGenerated
  22744. }
  22745. if iNdEx >= l {
  22746. return io.ErrUnexpectedEOF
  22747. }
  22748. b := dAtA[iNdEx]
  22749. iNdEx++
  22750. wire |= (uint64(b) & 0x7F) << shift
  22751. if b < 0x80 {
  22752. break
  22753. }
  22754. }
  22755. fieldNum := int32(wire >> 3)
  22756. wireType := int(wire & 0x7)
  22757. if wireType == 4 {
  22758. return fmt.Errorf("proto: EnvFromSource: wiretype end group for non-group")
  22759. }
  22760. if fieldNum <= 0 {
  22761. return fmt.Errorf("proto: EnvFromSource: illegal tag %d (wire type %d)", fieldNum, wire)
  22762. }
  22763. switch fieldNum {
  22764. case 1:
  22765. if wireType != 2 {
  22766. return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType)
  22767. }
  22768. var stringLen uint64
  22769. for shift := uint(0); ; shift += 7 {
  22770. if shift >= 64 {
  22771. return ErrIntOverflowGenerated
  22772. }
  22773. if iNdEx >= l {
  22774. return io.ErrUnexpectedEOF
  22775. }
  22776. b := dAtA[iNdEx]
  22777. iNdEx++
  22778. stringLen |= (uint64(b) & 0x7F) << shift
  22779. if b < 0x80 {
  22780. break
  22781. }
  22782. }
  22783. intStringLen := int(stringLen)
  22784. if intStringLen < 0 {
  22785. return ErrInvalidLengthGenerated
  22786. }
  22787. postIndex := iNdEx + intStringLen
  22788. if postIndex > l {
  22789. return io.ErrUnexpectedEOF
  22790. }
  22791. m.Prefix = string(dAtA[iNdEx:postIndex])
  22792. iNdEx = postIndex
  22793. case 2:
  22794. if wireType != 2 {
  22795. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapRef", wireType)
  22796. }
  22797. var msglen int
  22798. for shift := uint(0); ; shift += 7 {
  22799. if shift >= 64 {
  22800. return ErrIntOverflowGenerated
  22801. }
  22802. if iNdEx >= l {
  22803. return io.ErrUnexpectedEOF
  22804. }
  22805. b := dAtA[iNdEx]
  22806. iNdEx++
  22807. msglen |= (int(b) & 0x7F) << shift
  22808. if b < 0x80 {
  22809. break
  22810. }
  22811. }
  22812. if msglen < 0 {
  22813. return ErrInvalidLengthGenerated
  22814. }
  22815. postIndex := iNdEx + msglen
  22816. if postIndex > l {
  22817. return io.ErrUnexpectedEOF
  22818. }
  22819. if m.ConfigMapRef == nil {
  22820. m.ConfigMapRef = &ConfigMapEnvSource{}
  22821. }
  22822. if err := m.ConfigMapRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22823. return err
  22824. }
  22825. iNdEx = postIndex
  22826. case 3:
  22827. if wireType != 2 {
  22828. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  22829. }
  22830. var msglen int
  22831. for shift := uint(0); ; shift += 7 {
  22832. if shift >= 64 {
  22833. return ErrIntOverflowGenerated
  22834. }
  22835. if iNdEx >= l {
  22836. return io.ErrUnexpectedEOF
  22837. }
  22838. b := dAtA[iNdEx]
  22839. iNdEx++
  22840. msglen |= (int(b) & 0x7F) << shift
  22841. if b < 0x80 {
  22842. break
  22843. }
  22844. }
  22845. if msglen < 0 {
  22846. return ErrInvalidLengthGenerated
  22847. }
  22848. postIndex := iNdEx + msglen
  22849. if postIndex > l {
  22850. return io.ErrUnexpectedEOF
  22851. }
  22852. if m.SecretRef == nil {
  22853. m.SecretRef = &SecretEnvSource{}
  22854. }
  22855. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22856. return err
  22857. }
  22858. iNdEx = postIndex
  22859. default:
  22860. iNdEx = preIndex
  22861. skippy, err := skipGenerated(dAtA[iNdEx:])
  22862. if err != nil {
  22863. return err
  22864. }
  22865. if skippy < 0 {
  22866. return ErrInvalidLengthGenerated
  22867. }
  22868. if (iNdEx + skippy) > l {
  22869. return io.ErrUnexpectedEOF
  22870. }
  22871. iNdEx += skippy
  22872. }
  22873. }
  22874. if iNdEx > l {
  22875. return io.ErrUnexpectedEOF
  22876. }
  22877. return nil
  22878. }
  22879. func (m *EnvVar) Unmarshal(dAtA []byte) error {
  22880. l := len(dAtA)
  22881. iNdEx := 0
  22882. for iNdEx < l {
  22883. preIndex := iNdEx
  22884. var wire uint64
  22885. for shift := uint(0); ; shift += 7 {
  22886. if shift >= 64 {
  22887. return ErrIntOverflowGenerated
  22888. }
  22889. if iNdEx >= l {
  22890. return io.ErrUnexpectedEOF
  22891. }
  22892. b := dAtA[iNdEx]
  22893. iNdEx++
  22894. wire |= (uint64(b) & 0x7F) << shift
  22895. if b < 0x80 {
  22896. break
  22897. }
  22898. }
  22899. fieldNum := int32(wire >> 3)
  22900. wireType := int(wire & 0x7)
  22901. if wireType == 4 {
  22902. return fmt.Errorf("proto: EnvVar: wiretype end group for non-group")
  22903. }
  22904. if fieldNum <= 0 {
  22905. return fmt.Errorf("proto: EnvVar: illegal tag %d (wire type %d)", fieldNum, wire)
  22906. }
  22907. switch fieldNum {
  22908. case 1:
  22909. if wireType != 2 {
  22910. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  22911. }
  22912. var stringLen uint64
  22913. for shift := uint(0); ; shift += 7 {
  22914. if shift >= 64 {
  22915. return ErrIntOverflowGenerated
  22916. }
  22917. if iNdEx >= l {
  22918. return io.ErrUnexpectedEOF
  22919. }
  22920. b := dAtA[iNdEx]
  22921. iNdEx++
  22922. stringLen |= (uint64(b) & 0x7F) << shift
  22923. if b < 0x80 {
  22924. break
  22925. }
  22926. }
  22927. intStringLen := int(stringLen)
  22928. if intStringLen < 0 {
  22929. return ErrInvalidLengthGenerated
  22930. }
  22931. postIndex := iNdEx + intStringLen
  22932. if postIndex > l {
  22933. return io.ErrUnexpectedEOF
  22934. }
  22935. m.Name = string(dAtA[iNdEx:postIndex])
  22936. iNdEx = postIndex
  22937. case 2:
  22938. if wireType != 2 {
  22939. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  22940. }
  22941. var stringLen uint64
  22942. for shift := uint(0); ; shift += 7 {
  22943. if shift >= 64 {
  22944. return ErrIntOverflowGenerated
  22945. }
  22946. if iNdEx >= l {
  22947. return io.ErrUnexpectedEOF
  22948. }
  22949. b := dAtA[iNdEx]
  22950. iNdEx++
  22951. stringLen |= (uint64(b) & 0x7F) << shift
  22952. if b < 0x80 {
  22953. break
  22954. }
  22955. }
  22956. intStringLen := int(stringLen)
  22957. if intStringLen < 0 {
  22958. return ErrInvalidLengthGenerated
  22959. }
  22960. postIndex := iNdEx + intStringLen
  22961. if postIndex > l {
  22962. return io.ErrUnexpectedEOF
  22963. }
  22964. m.Value = string(dAtA[iNdEx:postIndex])
  22965. iNdEx = postIndex
  22966. case 3:
  22967. if wireType != 2 {
  22968. return fmt.Errorf("proto: wrong wireType = %d for field ValueFrom", wireType)
  22969. }
  22970. var msglen int
  22971. for shift := uint(0); ; shift += 7 {
  22972. if shift >= 64 {
  22973. return ErrIntOverflowGenerated
  22974. }
  22975. if iNdEx >= l {
  22976. return io.ErrUnexpectedEOF
  22977. }
  22978. b := dAtA[iNdEx]
  22979. iNdEx++
  22980. msglen |= (int(b) & 0x7F) << shift
  22981. if b < 0x80 {
  22982. break
  22983. }
  22984. }
  22985. if msglen < 0 {
  22986. return ErrInvalidLengthGenerated
  22987. }
  22988. postIndex := iNdEx + msglen
  22989. if postIndex > l {
  22990. return io.ErrUnexpectedEOF
  22991. }
  22992. if m.ValueFrom == nil {
  22993. m.ValueFrom = &EnvVarSource{}
  22994. }
  22995. if err := m.ValueFrom.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  22996. return err
  22997. }
  22998. iNdEx = postIndex
  22999. default:
  23000. iNdEx = preIndex
  23001. skippy, err := skipGenerated(dAtA[iNdEx:])
  23002. if err != nil {
  23003. return err
  23004. }
  23005. if skippy < 0 {
  23006. return ErrInvalidLengthGenerated
  23007. }
  23008. if (iNdEx + skippy) > l {
  23009. return io.ErrUnexpectedEOF
  23010. }
  23011. iNdEx += skippy
  23012. }
  23013. }
  23014. if iNdEx > l {
  23015. return io.ErrUnexpectedEOF
  23016. }
  23017. return nil
  23018. }
  23019. func (m *EnvVarSource) Unmarshal(dAtA []byte) error {
  23020. l := len(dAtA)
  23021. iNdEx := 0
  23022. for iNdEx < l {
  23023. preIndex := iNdEx
  23024. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  23035. if b < 0x80 {
  23036. break
  23037. }
  23038. }
  23039. fieldNum := int32(wire >> 3)
  23040. wireType := int(wire & 0x7)
  23041. if wireType == 4 {
  23042. return fmt.Errorf("proto: EnvVarSource: wiretype end group for non-group")
  23043. }
  23044. if fieldNum <= 0 {
  23045. return fmt.Errorf("proto: EnvVarSource: illegal tag %d (wire type %d)", fieldNum, wire)
  23046. }
  23047. switch fieldNum {
  23048. case 1:
  23049. if wireType != 2 {
  23050. return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
  23051. }
  23052. var msglen int
  23053. for shift := uint(0); ; shift += 7 {
  23054. if shift >= 64 {
  23055. return ErrIntOverflowGenerated
  23056. }
  23057. if iNdEx >= l {
  23058. return io.ErrUnexpectedEOF
  23059. }
  23060. b := dAtA[iNdEx]
  23061. iNdEx++
  23062. msglen |= (int(b) & 0x7F) << shift
  23063. if b < 0x80 {
  23064. break
  23065. }
  23066. }
  23067. if msglen < 0 {
  23068. return ErrInvalidLengthGenerated
  23069. }
  23070. postIndex := iNdEx + msglen
  23071. if postIndex > l {
  23072. return io.ErrUnexpectedEOF
  23073. }
  23074. if m.FieldRef == nil {
  23075. m.FieldRef = &ObjectFieldSelector{}
  23076. }
  23077. if err := m.FieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23078. return err
  23079. }
  23080. iNdEx = postIndex
  23081. case 2:
  23082. if wireType != 2 {
  23083. return fmt.Errorf("proto: wrong wireType = %d for field ResourceFieldRef", wireType)
  23084. }
  23085. var msglen int
  23086. for shift := uint(0); ; shift += 7 {
  23087. if shift >= 64 {
  23088. return ErrIntOverflowGenerated
  23089. }
  23090. if iNdEx >= l {
  23091. return io.ErrUnexpectedEOF
  23092. }
  23093. b := dAtA[iNdEx]
  23094. iNdEx++
  23095. msglen |= (int(b) & 0x7F) << shift
  23096. if b < 0x80 {
  23097. break
  23098. }
  23099. }
  23100. if msglen < 0 {
  23101. return ErrInvalidLengthGenerated
  23102. }
  23103. postIndex := iNdEx + msglen
  23104. if postIndex > l {
  23105. return io.ErrUnexpectedEOF
  23106. }
  23107. if m.ResourceFieldRef == nil {
  23108. m.ResourceFieldRef = &ResourceFieldSelector{}
  23109. }
  23110. if err := m.ResourceFieldRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23111. return err
  23112. }
  23113. iNdEx = postIndex
  23114. case 3:
  23115. if wireType != 2 {
  23116. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapKeyRef", wireType)
  23117. }
  23118. var msglen int
  23119. for shift := uint(0); ; shift += 7 {
  23120. if shift >= 64 {
  23121. return ErrIntOverflowGenerated
  23122. }
  23123. if iNdEx >= l {
  23124. return io.ErrUnexpectedEOF
  23125. }
  23126. b := dAtA[iNdEx]
  23127. iNdEx++
  23128. msglen |= (int(b) & 0x7F) << shift
  23129. if b < 0x80 {
  23130. break
  23131. }
  23132. }
  23133. if msglen < 0 {
  23134. return ErrInvalidLengthGenerated
  23135. }
  23136. postIndex := iNdEx + msglen
  23137. if postIndex > l {
  23138. return io.ErrUnexpectedEOF
  23139. }
  23140. if m.ConfigMapKeyRef == nil {
  23141. m.ConfigMapKeyRef = &ConfigMapKeySelector{}
  23142. }
  23143. if err := m.ConfigMapKeyRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23144. return err
  23145. }
  23146. iNdEx = postIndex
  23147. case 4:
  23148. if wireType != 2 {
  23149. return fmt.Errorf("proto: wrong wireType = %d for field SecretKeyRef", wireType)
  23150. }
  23151. var msglen int
  23152. for shift := uint(0); ; shift += 7 {
  23153. if shift >= 64 {
  23154. return ErrIntOverflowGenerated
  23155. }
  23156. if iNdEx >= l {
  23157. return io.ErrUnexpectedEOF
  23158. }
  23159. b := dAtA[iNdEx]
  23160. iNdEx++
  23161. msglen |= (int(b) & 0x7F) << shift
  23162. if b < 0x80 {
  23163. break
  23164. }
  23165. }
  23166. if msglen < 0 {
  23167. return ErrInvalidLengthGenerated
  23168. }
  23169. postIndex := iNdEx + msglen
  23170. if postIndex > l {
  23171. return io.ErrUnexpectedEOF
  23172. }
  23173. if m.SecretKeyRef == nil {
  23174. m.SecretKeyRef = &SecretKeySelector{}
  23175. }
  23176. if err := m.SecretKeyRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23177. return err
  23178. }
  23179. iNdEx = postIndex
  23180. default:
  23181. iNdEx = preIndex
  23182. skippy, err := skipGenerated(dAtA[iNdEx:])
  23183. if err != nil {
  23184. return err
  23185. }
  23186. if skippy < 0 {
  23187. return ErrInvalidLengthGenerated
  23188. }
  23189. if (iNdEx + skippy) > l {
  23190. return io.ErrUnexpectedEOF
  23191. }
  23192. iNdEx += skippy
  23193. }
  23194. }
  23195. if iNdEx > l {
  23196. return io.ErrUnexpectedEOF
  23197. }
  23198. return nil
  23199. }
  23200. func (m *Event) Unmarshal(dAtA []byte) error {
  23201. l := len(dAtA)
  23202. iNdEx := 0
  23203. for iNdEx < l {
  23204. preIndex := iNdEx
  23205. var wire uint64
  23206. for shift := uint(0); ; shift += 7 {
  23207. if shift >= 64 {
  23208. return ErrIntOverflowGenerated
  23209. }
  23210. if iNdEx >= l {
  23211. return io.ErrUnexpectedEOF
  23212. }
  23213. b := dAtA[iNdEx]
  23214. iNdEx++
  23215. wire |= (uint64(b) & 0x7F) << shift
  23216. if b < 0x80 {
  23217. break
  23218. }
  23219. }
  23220. fieldNum := int32(wire >> 3)
  23221. wireType := int(wire & 0x7)
  23222. if wireType == 4 {
  23223. return fmt.Errorf("proto: Event: wiretype end group for non-group")
  23224. }
  23225. if fieldNum <= 0 {
  23226. return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
  23227. }
  23228. switch fieldNum {
  23229. case 1:
  23230. if wireType != 2 {
  23231. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  23232. }
  23233. var msglen int
  23234. for shift := uint(0); ; shift += 7 {
  23235. if shift >= 64 {
  23236. return ErrIntOverflowGenerated
  23237. }
  23238. if iNdEx >= l {
  23239. return io.ErrUnexpectedEOF
  23240. }
  23241. b := dAtA[iNdEx]
  23242. iNdEx++
  23243. msglen |= (int(b) & 0x7F) << shift
  23244. if b < 0x80 {
  23245. break
  23246. }
  23247. }
  23248. if msglen < 0 {
  23249. return ErrInvalidLengthGenerated
  23250. }
  23251. postIndex := iNdEx + msglen
  23252. if postIndex > l {
  23253. return io.ErrUnexpectedEOF
  23254. }
  23255. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23256. return err
  23257. }
  23258. iNdEx = postIndex
  23259. case 2:
  23260. if wireType != 2 {
  23261. return fmt.Errorf("proto: wrong wireType = %d for field InvolvedObject", wireType)
  23262. }
  23263. var msglen int
  23264. for shift := uint(0); ; shift += 7 {
  23265. if shift >= 64 {
  23266. return ErrIntOverflowGenerated
  23267. }
  23268. if iNdEx >= l {
  23269. return io.ErrUnexpectedEOF
  23270. }
  23271. b := dAtA[iNdEx]
  23272. iNdEx++
  23273. msglen |= (int(b) & 0x7F) << shift
  23274. if b < 0x80 {
  23275. break
  23276. }
  23277. }
  23278. if msglen < 0 {
  23279. return ErrInvalidLengthGenerated
  23280. }
  23281. postIndex := iNdEx + msglen
  23282. if postIndex > l {
  23283. return io.ErrUnexpectedEOF
  23284. }
  23285. if err := m.InvolvedObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23286. return err
  23287. }
  23288. iNdEx = postIndex
  23289. case 3:
  23290. if wireType != 2 {
  23291. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  23292. }
  23293. var stringLen uint64
  23294. for shift := uint(0); ; shift += 7 {
  23295. if shift >= 64 {
  23296. return ErrIntOverflowGenerated
  23297. }
  23298. if iNdEx >= l {
  23299. return io.ErrUnexpectedEOF
  23300. }
  23301. b := dAtA[iNdEx]
  23302. iNdEx++
  23303. stringLen |= (uint64(b) & 0x7F) << shift
  23304. if b < 0x80 {
  23305. break
  23306. }
  23307. }
  23308. intStringLen := int(stringLen)
  23309. if intStringLen < 0 {
  23310. return ErrInvalidLengthGenerated
  23311. }
  23312. postIndex := iNdEx + intStringLen
  23313. if postIndex > l {
  23314. return io.ErrUnexpectedEOF
  23315. }
  23316. m.Reason = string(dAtA[iNdEx:postIndex])
  23317. iNdEx = postIndex
  23318. case 4:
  23319. if wireType != 2 {
  23320. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  23321. }
  23322. var stringLen uint64
  23323. for shift := uint(0); ; shift += 7 {
  23324. if shift >= 64 {
  23325. return ErrIntOverflowGenerated
  23326. }
  23327. if iNdEx >= l {
  23328. return io.ErrUnexpectedEOF
  23329. }
  23330. b := dAtA[iNdEx]
  23331. iNdEx++
  23332. stringLen |= (uint64(b) & 0x7F) << shift
  23333. if b < 0x80 {
  23334. break
  23335. }
  23336. }
  23337. intStringLen := int(stringLen)
  23338. if intStringLen < 0 {
  23339. return ErrInvalidLengthGenerated
  23340. }
  23341. postIndex := iNdEx + intStringLen
  23342. if postIndex > l {
  23343. return io.ErrUnexpectedEOF
  23344. }
  23345. m.Message = string(dAtA[iNdEx:postIndex])
  23346. iNdEx = postIndex
  23347. case 5:
  23348. if wireType != 2 {
  23349. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  23350. }
  23351. var msglen int
  23352. for shift := uint(0); ; shift += 7 {
  23353. if shift >= 64 {
  23354. return ErrIntOverflowGenerated
  23355. }
  23356. if iNdEx >= l {
  23357. return io.ErrUnexpectedEOF
  23358. }
  23359. b := dAtA[iNdEx]
  23360. iNdEx++
  23361. msglen |= (int(b) & 0x7F) << shift
  23362. if b < 0x80 {
  23363. break
  23364. }
  23365. }
  23366. if msglen < 0 {
  23367. return ErrInvalidLengthGenerated
  23368. }
  23369. postIndex := iNdEx + msglen
  23370. if postIndex > l {
  23371. return io.ErrUnexpectedEOF
  23372. }
  23373. if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23374. return err
  23375. }
  23376. iNdEx = postIndex
  23377. case 6:
  23378. if wireType != 2 {
  23379. return fmt.Errorf("proto: wrong wireType = %d for field FirstTimestamp", wireType)
  23380. }
  23381. var msglen int
  23382. for shift := uint(0); ; shift += 7 {
  23383. if shift >= 64 {
  23384. return ErrIntOverflowGenerated
  23385. }
  23386. if iNdEx >= l {
  23387. return io.ErrUnexpectedEOF
  23388. }
  23389. b := dAtA[iNdEx]
  23390. iNdEx++
  23391. msglen |= (int(b) & 0x7F) << shift
  23392. if b < 0x80 {
  23393. break
  23394. }
  23395. }
  23396. if msglen < 0 {
  23397. return ErrInvalidLengthGenerated
  23398. }
  23399. postIndex := iNdEx + msglen
  23400. if postIndex > l {
  23401. return io.ErrUnexpectedEOF
  23402. }
  23403. if err := m.FirstTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23404. return err
  23405. }
  23406. iNdEx = postIndex
  23407. case 7:
  23408. if wireType != 2 {
  23409. return fmt.Errorf("proto: wrong wireType = %d for field LastTimestamp", wireType)
  23410. }
  23411. var msglen int
  23412. for shift := uint(0); ; shift += 7 {
  23413. if shift >= 64 {
  23414. return ErrIntOverflowGenerated
  23415. }
  23416. if iNdEx >= l {
  23417. return io.ErrUnexpectedEOF
  23418. }
  23419. b := dAtA[iNdEx]
  23420. iNdEx++
  23421. msglen |= (int(b) & 0x7F) << shift
  23422. if b < 0x80 {
  23423. break
  23424. }
  23425. }
  23426. if msglen < 0 {
  23427. return ErrInvalidLengthGenerated
  23428. }
  23429. postIndex := iNdEx + msglen
  23430. if postIndex > l {
  23431. return io.ErrUnexpectedEOF
  23432. }
  23433. if err := m.LastTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23434. return err
  23435. }
  23436. iNdEx = postIndex
  23437. case 8:
  23438. if wireType != 0 {
  23439. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  23440. }
  23441. m.Count = 0
  23442. for shift := uint(0); ; shift += 7 {
  23443. if shift >= 64 {
  23444. return ErrIntOverflowGenerated
  23445. }
  23446. if iNdEx >= l {
  23447. return io.ErrUnexpectedEOF
  23448. }
  23449. b := dAtA[iNdEx]
  23450. iNdEx++
  23451. m.Count |= (int32(b) & 0x7F) << shift
  23452. if b < 0x80 {
  23453. break
  23454. }
  23455. }
  23456. case 9:
  23457. if wireType != 2 {
  23458. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  23459. }
  23460. var stringLen uint64
  23461. for shift := uint(0); ; shift += 7 {
  23462. if shift >= 64 {
  23463. return ErrIntOverflowGenerated
  23464. }
  23465. if iNdEx >= l {
  23466. return io.ErrUnexpectedEOF
  23467. }
  23468. b := dAtA[iNdEx]
  23469. iNdEx++
  23470. stringLen |= (uint64(b) & 0x7F) << shift
  23471. if b < 0x80 {
  23472. break
  23473. }
  23474. }
  23475. intStringLen := int(stringLen)
  23476. if intStringLen < 0 {
  23477. return ErrInvalidLengthGenerated
  23478. }
  23479. postIndex := iNdEx + intStringLen
  23480. if postIndex > l {
  23481. return io.ErrUnexpectedEOF
  23482. }
  23483. m.Type = string(dAtA[iNdEx:postIndex])
  23484. iNdEx = postIndex
  23485. case 10:
  23486. if wireType != 2 {
  23487. return fmt.Errorf("proto: wrong wireType = %d for field EventTime", wireType)
  23488. }
  23489. var msglen int
  23490. for shift := uint(0); ; shift += 7 {
  23491. if shift >= 64 {
  23492. return ErrIntOverflowGenerated
  23493. }
  23494. if iNdEx >= l {
  23495. return io.ErrUnexpectedEOF
  23496. }
  23497. b := dAtA[iNdEx]
  23498. iNdEx++
  23499. msglen |= (int(b) & 0x7F) << shift
  23500. if b < 0x80 {
  23501. break
  23502. }
  23503. }
  23504. if msglen < 0 {
  23505. return ErrInvalidLengthGenerated
  23506. }
  23507. postIndex := iNdEx + msglen
  23508. if postIndex > l {
  23509. return io.ErrUnexpectedEOF
  23510. }
  23511. if err := m.EventTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23512. return err
  23513. }
  23514. iNdEx = postIndex
  23515. case 11:
  23516. if wireType != 2 {
  23517. return fmt.Errorf("proto: wrong wireType = %d for field Series", wireType)
  23518. }
  23519. var msglen int
  23520. for shift := uint(0); ; shift += 7 {
  23521. if shift >= 64 {
  23522. return ErrIntOverflowGenerated
  23523. }
  23524. if iNdEx >= l {
  23525. return io.ErrUnexpectedEOF
  23526. }
  23527. b := dAtA[iNdEx]
  23528. iNdEx++
  23529. msglen |= (int(b) & 0x7F) << shift
  23530. if b < 0x80 {
  23531. break
  23532. }
  23533. }
  23534. if msglen < 0 {
  23535. return ErrInvalidLengthGenerated
  23536. }
  23537. postIndex := iNdEx + msglen
  23538. if postIndex > l {
  23539. return io.ErrUnexpectedEOF
  23540. }
  23541. if m.Series == nil {
  23542. m.Series = &EventSeries{}
  23543. }
  23544. if err := m.Series.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23545. return err
  23546. }
  23547. iNdEx = postIndex
  23548. case 12:
  23549. if wireType != 2 {
  23550. return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
  23551. }
  23552. var stringLen uint64
  23553. for shift := uint(0); ; shift += 7 {
  23554. if shift >= 64 {
  23555. return ErrIntOverflowGenerated
  23556. }
  23557. if iNdEx >= l {
  23558. return io.ErrUnexpectedEOF
  23559. }
  23560. b := dAtA[iNdEx]
  23561. iNdEx++
  23562. stringLen |= (uint64(b) & 0x7F) << shift
  23563. if b < 0x80 {
  23564. break
  23565. }
  23566. }
  23567. intStringLen := int(stringLen)
  23568. if intStringLen < 0 {
  23569. return ErrInvalidLengthGenerated
  23570. }
  23571. postIndex := iNdEx + intStringLen
  23572. if postIndex > l {
  23573. return io.ErrUnexpectedEOF
  23574. }
  23575. m.Action = string(dAtA[iNdEx:postIndex])
  23576. iNdEx = postIndex
  23577. case 13:
  23578. if wireType != 2 {
  23579. return fmt.Errorf("proto: wrong wireType = %d for field Related", wireType)
  23580. }
  23581. var msglen int
  23582. for shift := uint(0); ; shift += 7 {
  23583. if shift >= 64 {
  23584. return ErrIntOverflowGenerated
  23585. }
  23586. if iNdEx >= l {
  23587. return io.ErrUnexpectedEOF
  23588. }
  23589. b := dAtA[iNdEx]
  23590. iNdEx++
  23591. msglen |= (int(b) & 0x7F) << shift
  23592. if b < 0x80 {
  23593. break
  23594. }
  23595. }
  23596. if msglen < 0 {
  23597. return ErrInvalidLengthGenerated
  23598. }
  23599. postIndex := iNdEx + msglen
  23600. if postIndex > l {
  23601. return io.ErrUnexpectedEOF
  23602. }
  23603. if m.Related == nil {
  23604. m.Related = &ObjectReference{}
  23605. }
  23606. if err := m.Related.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23607. return err
  23608. }
  23609. iNdEx = postIndex
  23610. case 14:
  23611. if wireType != 2 {
  23612. return fmt.Errorf("proto: wrong wireType = %d for field ReportingController", wireType)
  23613. }
  23614. var stringLen uint64
  23615. for shift := uint(0); ; shift += 7 {
  23616. if shift >= 64 {
  23617. return ErrIntOverflowGenerated
  23618. }
  23619. if iNdEx >= l {
  23620. return io.ErrUnexpectedEOF
  23621. }
  23622. b := dAtA[iNdEx]
  23623. iNdEx++
  23624. stringLen |= (uint64(b) & 0x7F) << shift
  23625. if b < 0x80 {
  23626. break
  23627. }
  23628. }
  23629. intStringLen := int(stringLen)
  23630. if intStringLen < 0 {
  23631. return ErrInvalidLengthGenerated
  23632. }
  23633. postIndex := iNdEx + intStringLen
  23634. if postIndex > l {
  23635. return io.ErrUnexpectedEOF
  23636. }
  23637. m.ReportingController = string(dAtA[iNdEx:postIndex])
  23638. iNdEx = postIndex
  23639. case 15:
  23640. if wireType != 2 {
  23641. return fmt.Errorf("proto: wrong wireType = %d for field ReportingInstance", wireType)
  23642. }
  23643. var stringLen uint64
  23644. for shift := uint(0); ; shift += 7 {
  23645. if shift >= 64 {
  23646. return ErrIntOverflowGenerated
  23647. }
  23648. if iNdEx >= l {
  23649. return io.ErrUnexpectedEOF
  23650. }
  23651. b := dAtA[iNdEx]
  23652. iNdEx++
  23653. stringLen |= (uint64(b) & 0x7F) << shift
  23654. if b < 0x80 {
  23655. break
  23656. }
  23657. }
  23658. intStringLen := int(stringLen)
  23659. if intStringLen < 0 {
  23660. return ErrInvalidLengthGenerated
  23661. }
  23662. postIndex := iNdEx + intStringLen
  23663. if postIndex > l {
  23664. return io.ErrUnexpectedEOF
  23665. }
  23666. m.ReportingInstance = string(dAtA[iNdEx:postIndex])
  23667. iNdEx = postIndex
  23668. default:
  23669. iNdEx = preIndex
  23670. skippy, err := skipGenerated(dAtA[iNdEx:])
  23671. if err != nil {
  23672. return err
  23673. }
  23674. if skippy < 0 {
  23675. return ErrInvalidLengthGenerated
  23676. }
  23677. if (iNdEx + skippy) > l {
  23678. return io.ErrUnexpectedEOF
  23679. }
  23680. iNdEx += skippy
  23681. }
  23682. }
  23683. if iNdEx > l {
  23684. return io.ErrUnexpectedEOF
  23685. }
  23686. return nil
  23687. }
  23688. func (m *EventList) Unmarshal(dAtA []byte) error {
  23689. l := len(dAtA)
  23690. iNdEx := 0
  23691. for iNdEx < l {
  23692. preIndex := iNdEx
  23693. var wire uint64
  23694. for shift := uint(0); ; shift += 7 {
  23695. if shift >= 64 {
  23696. return ErrIntOverflowGenerated
  23697. }
  23698. if iNdEx >= l {
  23699. return io.ErrUnexpectedEOF
  23700. }
  23701. b := dAtA[iNdEx]
  23702. iNdEx++
  23703. wire |= (uint64(b) & 0x7F) << shift
  23704. if b < 0x80 {
  23705. break
  23706. }
  23707. }
  23708. fieldNum := int32(wire >> 3)
  23709. wireType := int(wire & 0x7)
  23710. if wireType == 4 {
  23711. return fmt.Errorf("proto: EventList: wiretype end group for non-group")
  23712. }
  23713. if fieldNum <= 0 {
  23714. return fmt.Errorf("proto: EventList: illegal tag %d (wire type %d)", fieldNum, wire)
  23715. }
  23716. switch fieldNum {
  23717. case 1:
  23718. if wireType != 2 {
  23719. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  23720. }
  23721. var msglen int
  23722. for shift := uint(0); ; shift += 7 {
  23723. if shift >= 64 {
  23724. return ErrIntOverflowGenerated
  23725. }
  23726. if iNdEx >= l {
  23727. return io.ErrUnexpectedEOF
  23728. }
  23729. b := dAtA[iNdEx]
  23730. iNdEx++
  23731. msglen |= (int(b) & 0x7F) << shift
  23732. if b < 0x80 {
  23733. break
  23734. }
  23735. }
  23736. if msglen < 0 {
  23737. return ErrInvalidLengthGenerated
  23738. }
  23739. postIndex := iNdEx + msglen
  23740. if postIndex > l {
  23741. return io.ErrUnexpectedEOF
  23742. }
  23743. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23744. return err
  23745. }
  23746. iNdEx = postIndex
  23747. case 2:
  23748. if wireType != 2 {
  23749. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  23750. }
  23751. var msglen int
  23752. for shift := uint(0); ; shift += 7 {
  23753. if shift >= 64 {
  23754. return ErrIntOverflowGenerated
  23755. }
  23756. if iNdEx >= l {
  23757. return io.ErrUnexpectedEOF
  23758. }
  23759. b := dAtA[iNdEx]
  23760. iNdEx++
  23761. msglen |= (int(b) & 0x7F) << shift
  23762. if b < 0x80 {
  23763. break
  23764. }
  23765. }
  23766. if msglen < 0 {
  23767. return ErrInvalidLengthGenerated
  23768. }
  23769. postIndex := iNdEx + msglen
  23770. if postIndex > l {
  23771. return io.ErrUnexpectedEOF
  23772. }
  23773. m.Items = append(m.Items, Event{})
  23774. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23775. return err
  23776. }
  23777. iNdEx = postIndex
  23778. default:
  23779. iNdEx = preIndex
  23780. skippy, err := skipGenerated(dAtA[iNdEx:])
  23781. if err != nil {
  23782. return err
  23783. }
  23784. if skippy < 0 {
  23785. return ErrInvalidLengthGenerated
  23786. }
  23787. if (iNdEx + skippy) > l {
  23788. return io.ErrUnexpectedEOF
  23789. }
  23790. iNdEx += skippy
  23791. }
  23792. }
  23793. if iNdEx > l {
  23794. return io.ErrUnexpectedEOF
  23795. }
  23796. return nil
  23797. }
  23798. func (m *EventSeries) Unmarshal(dAtA []byte) error {
  23799. l := len(dAtA)
  23800. iNdEx := 0
  23801. for iNdEx < l {
  23802. preIndex := iNdEx
  23803. var wire uint64
  23804. for shift := uint(0); ; shift += 7 {
  23805. if shift >= 64 {
  23806. return ErrIntOverflowGenerated
  23807. }
  23808. if iNdEx >= l {
  23809. return io.ErrUnexpectedEOF
  23810. }
  23811. b := dAtA[iNdEx]
  23812. iNdEx++
  23813. wire |= (uint64(b) & 0x7F) << shift
  23814. if b < 0x80 {
  23815. break
  23816. }
  23817. }
  23818. fieldNum := int32(wire >> 3)
  23819. wireType := int(wire & 0x7)
  23820. if wireType == 4 {
  23821. return fmt.Errorf("proto: EventSeries: wiretype end group for non-group")
  23822. }
  23823. if fieldNum <= 0 {
  23824. return fmt.Errorf("proto: EventSeries: illegal tag %d (wire type %d)", fieldNum, wire)
  23825. }
  23826. switch fieldNum {
  23827. case 1:
  23828. if wireType != 0 {
  23829. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  23830. }
  23831. m.Count = 0
  23832. for shift := uint(0); ; shift += 7 {
  23833. if shift >= 64 {
  23834. return ErrIntOverflowGenerated
  23835. }
  23836. if iNdEx >= l {
  23837. return io.ErrUnexpectedEOF
  23838. }
  23839. b := dAtA[iNdEx]
  23840. iNdEx++
  23841. m.Count |= (int32(b) & 0x7F) << shift
  23842. if b < 0x80 {
  23843. break
  23844. }
  23845. }
  23846. case 2:
  23847. if wireType != 2 {
  23848. return fmt.Errorf("proto: wrong wireType = %d for field LastObservedTime", wireType)
  23849. }
  23850. var msglen int
  23851. for shift := uint(0); ; shift += 7 {
  23852. if shift >= 64 {
  23853. return ErrIntOverflowGenerated
  23854. }
  23855. if iNdEx >= l {
  23856. return io.ErrUnexpectedEOF
  23857. }
  23858. b := dAtA[iNdEx]
  23859. iNdEx++
  23860. msglen |= (int(b) & 0x7F) << shift
  23861. if b < 0x80 {
  23862. break
  23863. }
  23864. }
  23865. if msglen < 0 {
  23866. return ErrInvalidLengthGenerated
  23867. }
  23868. postIndex := iNdEx + msglen
  23869. if postIndex > l {
  23870. return io.ErrUnexpectedEOF
  23871. }
  23872. if err := m.LastObservedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  23873. return err
  23874. }
  23875. iNdEx = postIndex
  23876. case 3:
  23877. if wireType != 2 {
  23878. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  23879. }
  23880. var stringLen uint64
  23881. for shift := uint(0); ; shift += 7 {
  23882. if shift >= 64 {
  23883. return ErrIntOverflowGenerated
  23884. }
  23885. if iNdEx >= l {
  23886. return io.ErrUnexpectedEOF
  23887. }
  23888. b := dAtA[iNdEx]
  23889. iNdEx++
  23890. stringLen |= (uint64(b) & 0x7F) << shift
  23891. if b < 0x80 {
  23892. break
  23893. }
  23894. }
  23895. intStringLen := int(stringLen)
  23896. if intStringLen < 0 {
  23897. return ErrInvalidLengthGenerated
  23898. }
  23899. postIndex := iNdEx + intStringLen
  23900. if postIndex > l {
  23901. return io.ErrUnexpectedEOF
  23902. }
  23903. m.State = EventSeriesState(dAtA[iNdEx:postIndex])
  23904. iNdEx = postIndex
  23905. default:
  23906. iNdEx = preIndex
  23907. skippy, err := skipGenerated(dAtA[iNdEx:])
  23908. if err != nil {
  23909. return err
  23910. }
  23911. if skippy < 0 {
  23912. return ErrInvalidLengthGenerated
  23913. }
  23914. if (iNdEx + skippy) > l {
  23915. return io.ErrUnexpectedEOF
  23916. }
  23917. iNdEx += skippy
  23918. }
  23919. }
  23920. if iNdEx > l {
  23921. return io.ErrUnexpectedEOF
  23922. }
  23923. return nil
  23924. }
  23925. func (m *EventSource) Unmarshal(dAtA []byte) error {
  23926. l := len(dAtA)
  23927. iNdEx := 0
  23928. for iNdEx < l {
  23929. preIndex := iNdEx
  23930. var wire uint64
  23931. for shift := uint(0); ; shift += 7 {
  23932. if shift >= 64 {
  23933. return ErrIntOverflowGenerated
  23934. }
  23935. if iNdEx >= l {
  23936. return io.ErrUnexpectedEOF
  23937. }
  23938. b := dAtA[iNdEx]
  23939. iNdEx++
  23940. wire |= (uint64(b) & 0x7F) << shift
  23941. if b < 0x80 {
  23942. break
  23943. }
  23944. }
  23945. fieldNum := int32(wire >> 3)
  23946. wireType := int(wire & 0x7)
  23947. if wireType == 4 {
  23948. return fmt.Errorf("proto: EventSource: wiretype end group for non-group")
  23949. }
  23950. if fieldNum <= 0 {
  23951. return fmt.Errorf("proto: EventSource: illegal tag %d (wire type %d)", fieldNum, wire)
  23952. }
  23953. switch fieldNum {
  23954. case 1:
  23955. if wireType != 2 {
  23956. return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType)
  23957. }
  23958. var stringLen uint64
  23959. for shift := uint(0); ; shift += 7 {
  23960. if shift >= 64 {
  23961. return ErrIntOverflowGenerated
  23962. }
  23963. if iNdEx >= l {
  23964. return io.ErrUnexpectedEOF
  23965. }
  23966. b := dAtA[iNdEx]
  23967. iNdEx++
  23968. stringLen |= (uint64(b) & 0x7F) << shift
  23969. if b < 0x80 {
  23970. break
  23971. }
  23972. }
  23973. intStringLen := int(stringLen)
  23974. if intStringLen < 0 {
  23975. return ErrInvalidLengthGenerated
  23976. }
  23977. postIndex := iNdEx + intStringLen
  23978. if postIndex > l {
  23979. return io.ErrUnexpectedEOF
  23980. }
  23981. m.Component = string(dAtA[iNdEx:postIndex])
  23982. iNdEx = postIndex
  23983. case 2:
  23984. if wireType != 2 {
  23985. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  23986. }
  23987. var stringLen uint64
  23988. for shift := uint(0); ; shift += 7 {
  23989. if shift >= 64 {
  23990. return ErrIntOverflowGenerated
  23991. }
  23992. if iNdEx >= l {
  23993. return io.ErrUnexpectedEOF
  23994. }
  23995. b := dAtA[iNdEx]
  23996. iNdEx++
  23997. stringLen |= (uint64(b) & 0x7F) << shift
  23998. if b < 0x80 {
  23999. break
  24000. }
  24001. }
  24002. intStringLen := int(stringLen)
  24003. if intStringLen < 0 {
  24004. return ErrInvalidLengthGenerated
  24005. }
  24006. postIndex := iNdEx + intStringLen
  24007. if postIndex > l {
  24008. return io.ErrUnexpectedEOF
  24009. }
  24010. m.Host = string(dAtA[iNdEx:postIndex])
  24011. iNdEx = postIndex
  24012. default:
  24013. iNdEx = preIndex
  24014. skippy, err := skipGenerated(dAtA[iNdEx:])
  24015. if err != nil {
  24016. return err
  24017. }
  24018. if skippy < 0 {
  24019. return ErrInvalidLengthGenerated
  24020. }
  24021. if (iNdEx + skippy) > l {
  24022. return io.ErrUnexpectedEOF
  24023. }
  24024. iNdEx += skippy
  24025. }
  24026. }
  24027. if iNdEx > l {
  24028. return io.ErrUnexpectedEOF
  24029. }
  24030. return nil
  24031. }
  24032. func (m *ExecAction) Unmarshal(dAtA []byte) error {
  24033. l := len(dAtA)
  24034. iNdEx := 0
  24035. for iNdEx < l {
  24036. preIndex := iNdEx
  24037. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  24048. if b < 0x80 {
  24049. break
  24050. }
  24051. }
  24052. fieldNum := int32(wire >> 3)
  24053. wireType := int(wire & 0x7)
  24054. if wireType == 4 {
  24055. return fmt.Errorf("proto: ExecAction: wiretype end group for non-group")
  24056. }
  24057. if fieldNum <= 0 {
  24058. return fmt.Errorf("proto: ExecAction: illegal tag %d (wire type %d)", fieldNum, wire)
  24059. }
  24060. switch fieldNum {
  24061. case 1:
  24062. if wireType != 2 {
  24063. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  24064. }
  24065. var stringLen uint64
  24066. for shift := uint(0); ; shift += 7 {
  24067. if shift >= 64 {
  24068. return ErrIntOverflowGenerated
  24069. }
  24070. if iNdEx >= l {
  24071. return io.ErrUnexpectedEOF
  24072. }
  24073. b := dAtA[iNdEx]
  24074. iNdEx++
  24075. stringLen |= (uint64(b) & 0x7F) << shift
  24076. if b < 0x80 {
  24077. break
  24078. }
  24079. }
  24080. intStringLen := int(stringLen)
  24081. if intStringLen < 0 {
  24082. return ErrInvalidLengthGenerated
  24083. }
  24084. postIndex := iNdEx + intStringLen
  24085. if postIndex > l {
  24086. return io.ErrUnexpectedEOF
  24087. }
  24088. m.Command = append(m.Command, string(dAtA[iNdEx:postIndex]))
  24089. iNdEx = postIndex
  24090. default:
  24091. iNdEx = preIndex
  24092. skippy, err := skipGenerated(dAtA[iNdEx:])
  24093. if err != nil {
  24094. return err
  24095. }
  24096. if skippy < 0 {
  24097. return ErrInvalidLengthGenerated
  24098. }
  24099. if (iNdEx + skippy) > l {
  24100. return io.ErrUnexpectedEOF
  24101. }
  24102. iNdEx += skippy
  24103. }
  24104. }
  24105. if iNdEx > l {
  24106. return io.ErrUnexpectedEOF
  24107. }
  24108. return nil
  24109. }
  24110. func (m *FCVolumeSource) Unmarshal(dAtA []byte) error {
  24111. l := len(dAtA)
  24112. iNdEx := 0
  24113. for iNdEx < l {
  24114. preIndex := iNdEx
  24115. var wire uint64
  24116. for shift := uint(0); ; shift += 7 {
  24117. if shift >= 64 {
  24118. return ErrIntOverflowGenerated
  24119. }
  24120. if iNdEx >= l {
  24121. return io.ErrUnexpectedEOF
  24122. }
  24123. b := dAtA[iNdEx]
  24124. iNdEx++
  24125. wire |= (uint64(b) & 0x7F) << shift
  24126. if b < 0x80 {
  24127. break
  24128. }
  24129. }
  24130. fieldNum := int32(wire >> 3)
  24131. wireType := int(wire & 0x7)
  24132. if wireType == 4 {
  24133. return fmt.Errorf("proto: FCVolumeSource: wiretype end group for non-group")
  24134. }
  24135. if fieldNum <= 0 {
  24136. return fmt.Errorf("proto: FCVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  24137. }
  24138. switch fieldNum {
  24139. case 1:
  24140. if wireType != 2 {
  24141. return fmt.Errorf("proto: wrong wireType = %d for field TargetWWNs", wireType)
  24142. }
  24143. var stringLen uint64
  24144. for shift := uint(0); ; shift += 7 {
  24145. if shift >= 64 {
  24146. return ErrIntOverflowGenerated
  24147. }
  24148. if iNdEx >= l {
  24149. return io.ErrUnexpectedEOF
  24150. }
  24151. b := dAtA[iNdEx]
  24152. iNdEx++
  24153. stringLen |= (uint64(b) & 0x7F) << shift
  24154. if b < 0x80 {
  24155. break
  24156. }
  24157. }
  24158. intStringLen := int(stringLen)
  24159. if intStringLen < 0 {
  24160. return ErrInvalidLengthGenerated
  24161. }
  24162. postIndex := iNdEx + intStringLen
  24163. if postIndex > l {
  24164. return io.ErrUnexpectedEOF
  24165. }
  24166. m.TargetWWNs = append(m.TargetWWNs, string(dAtA[iNdEx:postIndex]))
  24167. iNdEx = postIndex
  24168. case 2:
  24169. if wireType != 0 {
  24170. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  24171. }
  24172. var v int32
  24173. for shift := uint(0); ; shift += 7 {
  24174. if shift >= 64 {
  24175. return ErrIntOverflowGenerated
  24176. }
  24177. if iNdEx >= l {
  24178. return io.ErrUnexpectedEOF
  24179. }
  24180. b := dAtA[iNdEx]
  24181. iNdEx++
  24182. v |= (int32(b) & 0x7F) << shift
  24183. if b < 0x80 {
  24184. break
  24185. }
  24186. }
  24187. m.Lun = &v
  24188. case 3:
  24189. if wireType != 2 {
  24190. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  24191. }
  24192. var stringLen uint64
  24193. for shift := uint(0); ; shift += 7 {
  24194. if shift >= 64 {
  24195. return ErrIntOverflowGenerated
  24196. }
  24197. if iNdEx >= l {
  24198. return io.ErrUnexpectedEOF
  24199. }
  24200. b := dAtA[iNdEx]
  24201. iNdEx++
  24202. stringLen |= (uint64(b) & 0x7F) << shift
  24203. if b < 0x80 {
  24204. break
  24205. }
  24206. }
  24207. intStringLen := int(stringLen)
  24208. if intStringLen < 0 {
  24209. return ErrInvalidLengthGenerated
  24210. }
  24211. postIndex := iNdEx + intStringLen
  24212. if postIndex > l {
  24213. return io.ErrUnexpectedEOF
  24214. }
  24215. m.FSType = string(dAtA[iNdEx:postIndex])
  24216. iNdEx = postIndex
  24217. case 4:
  24218. if wireType != 0 {
  24219. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  24220. }
  24221. var v int
  24222. for shift := uint(0); ; shift += 7 {
  24223. if shift >= 64 {
  24224. return ErrIntOverflowGenerated
  24225. }
  24226. if iNdEx >= l {
  24227. return io.ErrUnexpectedEOF
  24228. }
  24229. b := dAtA[iNdEx]
  24230. iNdEx++
  24231. v |= (int(b) & 0x7F) << shift
  24232. if b < 0x80 {
  24233. break
  24234. }
  24235. }
  24236. m.ReadOnly = bool(v != 0)
  24237. case 5:
  24238. if wireType != 2 {
  24239. return fmt.Errorf("proto: wrong wireType = %d for field WWIDs", wireType)
  24240. }
  24241. var stringLen uint64
  24242. for shift := uint(0); ; shift += 7 {
  24243. if shift >= 64 {
  24244. return ErrIntOverflowGenerated
  24245. }
  24246. if iNdEx >= l {
  24247. return io.ErrUnexpectedEOF
  24248. }
  24249. b := dAtA[iNdEx]
  24250. iNdEx++
  24251. stringLen |= (uint64(b) & 0x7F) << shift
  24252. if b < 0x80 {
  24253. break
  24254. }
  24255. }
  24256. intStringLen := int(stringLen)
  24257. if intStringLen < 0 {
  24258. return ErrInvalidLengthGenerated
  24259. }
  24260. postIndex := iNdEx + intStringLen
  24261. if postIndex > l {
  24262. return io.ErrUnexpectedEOF
  24263. }
  24264. m.WWIDs = append(m.WWIDs, string(dAtA[iNdEx:postIndex]))
  24265. iNdEx = postIndex
  24266. default:
  24267. iNdEx = preIndex
  24268. skippy, err := skipGenerated(dAtA[iNdEx:])
  24269. if err != nil {
  24270. return err
  24271. }
  24272. if skippy < 0 {
  24273. return ErrInvalidLengthGenerated
  24274. }
  24275. if (iNdEx + skippy) > l {
  24276. return io.ErrUnexpectedEOF
  24277. }
  24278. iNdEx += skippy
  24279. }
  24280. }
  24281. if iNdEx > l {
  24282. return io.ErrUnexpectedEOF
  24283. }
  24284. return nil
  24285. }
  24286. func (m *FlexPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  24287. l := len(dAtA)
  24288. iNdEx := 0
  24289. for iNdEx < l {
  24290. preIndex := iNdEx
  24291. var wire uint64
  24292. for shift := uint(0); ; shift += 7 {
  24293. if shift >= 64 {
  24294. return ErrIntOverflowGenerated
  24295. }
  24296. if iNdEx >= l {
  24297. return io.ErrUnexpectedEOF
  24298. }
  24299. b := dAtA[iNdEx]
  24300. iNdEx++
  24301. wire |= (uint64(b) & 0x7F) << shift
  24302. if b < 0x80 {
  24303. break
  24304. }
  24305. }
  24306. fieldNum := int32(wire >> 3)
  24307. wireType := int(wire & 0x7)
  24308. if wireType == 4 {
  24309. return fmt.Errorf("proto: FlexPersistentVolumeSource: wiretype end group for non-group")
  24310. }
  24311. if fieldNum <= 0 {
  24312. return fmt.Errorf("proto: FlexPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  24313. }
  24314. switch fieldNum {
  24315. case 1:
  24316. if wireType != 2 {
  24317. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  24318. }
  24319. var stringLen uint64
  24320. for shift := uint(0); ; shift += 7 {
  24321. if shift >= 64 {
  24322. return ErrIntOverflowGenerated
  24323. }
  24324. if iNdEx >= l {
  24325. return io.ErrUnexpectedEOF
  24326. }
  24327. b := dAtA[iNdEx]
  24328. iNdEx++
  24329. stringLen |= (uint64(b) & 0x7F) << shift
  24330. if b < 0x80 {
  24331. break
  24332. }
  24333. }
  24334. intStringLen := int(stringLen)
  24335. if intStringLen < 0 {
  24336. return ErrInvalidLengthGenerated
  24337. }
  24338. postIndex := iNdEx + intStringLen
  24339. if postIndex > l {
  24340. return io.ErrUnexpectedEOF
  24341. }
  24342. m.Driver = string(dAtA[iNdEx:postIndex])
  24343. iNdEx = postIndex
  24344. case 2:
  24345. if wireType != 2 {
  24346. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  24347. }
  24348. var stringLen uint64
  24349. for shift := uint(0); ; shift += 7 {
  24350. if shift >= 64 {
  24351. return ErrIntOverflowGenerated
  24352. }
  24353. if iNdEx >= l {
  24354. return io.ErrUnexpectedEOF
  24355. }
  24356. b := dAtA[iNdEx]
  24357. iNdEx++
  24358. stringLen |= (uint64(b) & 0x7F) << shift
  24359. if b < 0x80 {
  24360. break
  24361. }
  24362. }
  24363. intStringLen := int(stringLen)
  24364. if intStringLen < 0 {
  24365. return ErrInvalidLengthGenerated
  24366. }
  24367. postIndex := iNdEx + intStringLen
  24368. if postIndex > l {
  24369. return io.ErrUnexpectedEOF
  24370. }
  24371. m.FSType = string(dAtA[iNdEx:postIndex])
  24372. iNdEx = postIndex
  24373. case 3:
  24374. if wireType != 2 {
  24375. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  24376. }
  24377. var msglen int
  24378. for shift := uint(0); ; shift += 7 {
  24379. if shift >= 64 {
  24380. return ErrIntOverflowGenerated
  24381. }
  24382. if iNdEx >= l {
  24383. return io.ErrUnexpectedEOF
  24384. }
  24385. b := dAtA[iNdEx]
  24386. iNdEx++
  24387. msglen |= (int(b) & 0x7F) << shift
  24388. if b < 0x80 {
  24389. break
  24390. }
  24391. }
  24392. if msglen < 0 {
  24393. return ErrInvalidLengthGenerated
  24394. }
  24395. postIndex := iNdEx + msglen
  24396. if postIndex > l {
  24397. return io.ErrUnexpectedEOF
  24398. }
  24399. if m.SecretRef == nil {
  24400. m.SecretRef = &SecretReference{}
  24401. }
  24402. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24403. return err
  24404. }
  24405. iNdEx = postIndex
  24406. case 4:
  24407. if wireType != 0 {
  24408. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  24409. }
  24410. var v int
  24411. for shift := uint(0); ; shift += 7 {
  24412. if shift >= 64 {
  24413. return ErrIntOverflowGenerated
  24414. }
  24415. if iNdEx >= l {
  24416. return io.ErrUnexpectedEOF
  24417. }
  24418. b := dAtA[iNdEx]
  24419. iNdEx++
  24420. v |= (int(b) & 0x7F) << shift
  24421. if b < 0x80 {
  24422. break
  24423. }
  24424. }
  24425. m.ReadOnly = bool(v != 0)
  24426. case 5:
  24427. if wireType != 2 {
  24428. return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
  24429. }
  24430. var msglen int
  24431. for shift := uint(0); ; shift += 7 {
  24432. if shift >= 64 {
  24433. return ErrIntOverflowGenerated
  24434. }
  24435. if iNdEx >= l {
  24436. return io.ErrUnexpectedEOF
  24437. }
  24438. b := dAtA[iNdEx]
  24439. iNdEx++
  24440. msglen |= (int(b) & 0x7F) << shift
  24441. if b < 0x80 {
  24442. break
  24443. }
  24444. }
  24445. if msglen < 0 {
  24446. return ErrInvalidLengthGenerated
  24447. }
  24448. postIndex := iNdEx + msglen
  24449. if postIndex > l {
  24450. return io.ErrUnexpectedEOF
  24451. }
  24452. var keykey uint64
  24453. for shift := uint(0); ; shift += 7 {
  24454. if shift >= 64 {
  24455. return ErrIntOverflowGenerated
  24456. }
  24457. if iNdEx >= l {
  24458. return io.ErrUnexpectedEOF
  24459. }
  24460. b := dAtA[iNdEx]
  24461. iNdEx++
  24462. keykey |= (uint64(b) & 0x7F) << shift
  24463. if b < 0x80 {
  24464. break
  24465. }
  24466. }
  24467. var stringLenmapkey uint64
  24468. for shift := uint(0); ; shift += 7 {
  24469. if shift >= 64 {
  24470. return ErrIntOverflowGenerated
  24471. }
  24472. if iNdEx >= l {
  24473. return io.ErrUnexpectedEOF
  24474. }
  24475. b := dAtA[iNdEx]
  24476. iNdEx++
  24477. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  24478. if b < 0x80 {
  24479. break
  24480. }
  24481. }
  24482. intStringLenmapkey := int(stringLenmapkey)
  24483. if intStringLenmapkey < 0 {
  24484. return ErrInvalidLengthGenerated
  24485. }
  24486. postStringIndexmapkey := iNdEx + intStringLenmapkey
  24487. if postStringIndexmapkey > l {
  24488. return io.ErrUnexpectedEOF
  24489. }
  24490. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  24491. iNdEx = postStringIndexmapkey
  24492. if m.Options == nil {
  24493. m.Options = make(map[string]string)
  24494. }
  24495. if iNdEx < postIndex {
  24496. var valuekey uint64
  24497. for shift := uint(0); ; shift += 7 {
  24498. if shift >= 64 {
  24499. return ErrIntOverflowGenerated
  24500. }
  24501. if iNdEx >= l {
  24502. return io.ErrUnexpectedEOF
  24503. }
  24504. b := dAtA[iNdEx]
  24505. iNdEx++
  24506. valuekey |= (uint64(b) & 0x7F) << shift
  24507. if b < 0x80 {
  24508. break
  24509. }
  24510. }
  24511. var stringLenmapvalue uint64
  24512. for shift := uint(0); ; shift += 7 {
  24513. if shift >= 64 {
  24514. return ErrIntOverflowGenerated
  24515. }
  24516. if iNdEx >= l {
  24517. return io.ErrUnexpectedEOF
  24518. }
  24519. b := dAtA[iNdEx]
  24520. iNdEx++
  24521. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  24522. if b < 0x80 {
  24523. break
  24524. }
  24525. }
  24526. intStringLenmapvalue := int(stringLenmapvalue)
  24527. if intStringLenmapvalue < 0 {
  24528. return ErrInvalidLengthGenerated
  24529. }
  24530. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  24531. if postStringIndexmapvalue > l {
  24532. return io.ErrUnexpectedEOF
  24533. }
  24534. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  24535. iNdEx = postStringIndexmapvalue
  24536. m.Options[mapkey] = mapvalue
  24537. } else {
  24538. var mapvalue string
  24539. m.Options[mapkey] = mapvalue
  24540. }
  24541. iNdEx = postIndex
  24542. default:
  24543. iNdEx = preIndex
  24544. skippy, err := skipGenerated(dAtA[iNdEx:])
  24545. if err != nil {
  24546. return err
  24547. }
  24548. if skippy < 0 {
  24549. return ErrInvalidLengthGenerated
  24550. }
  24551. if (iNdEx + skippy) > l {
  24552. return io.ErrUnexpectedEOF
  24553. }
  24554. iNdEx += skippy
  24555. }
  24556. }
  24557. if iNdEx > l {
  24558. return io.ErrUnexpectedEOF
  24559. }
  24560. return nil
  24561. }
  24562. func (m *FlexVolumeSource) Unmarshal(dAtA []byte) error {
  24563. l := len(dAtA)
  24564. iNdEx := 0
  24565. for iNdEx < l {
  24566. preIndex := iNdEx
  24567. var wire uint64
  24568. for shift := uint(0); ; shift += 7 {
  24569. if shift >= 64 {
  24570. return ErrIntOverflowGenerated
  24571. }
  24572. if iNdEx >= l {
  24573. return io.ErrUnexpectedEOF
  24574. }
  24575. b := dAtA[iNdEx]
  24576. iNdEx++
  24577. wire |= (uint64(b) & 0x7F) << shift
  24578. if b < 0x80 {
  24579. break
  24580. }
  24581. }
  24582. fieldNum := int32(wire >> 3)
  24583. wireType := int(wire & 0x7)
  24584. if wireType == 4 {
  24585. return fmt.Errorf("proto: FlexVolumeSource: wiretype end group for non-group")
  24586. }
  24587. if fieldNum <= 0 {
  24588. return fmt.Errorf("proto: FlexVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  24589. }
  24590. switch fieldNum {
  24591. case 1:
  24592. if wireType != 2 {
  24593. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  24594. }
  24595. var stringLen uint64
  24596. for shift := uint(0); ; shift += 7 {
  24597. if shift >= 64 {
  24598. return ErrIntOverflowGenerated
  24599. }
  24600. if iNdEx >= l {
  24601. return io.ErrUnexpectedEOF
  24602. }
  24603. b := dAtA[iNdEx]
  24604. iNdEx++
  24605. stringLen |= (uint64(b) & 0x7F) << shift
  24606. if b < 0x80 {
  24607. break
  24608. }
  24609. }
  24610. intStringLen := int(stringLen)
  24611. if intStringLen < 0 {
  24612. return ErrInvalidLengthGenerated
  24613. }
  24614. postIndex := iNdEx + intStringLen
  24615. if postIndex > l {
  24616. return io.ErrUnexpectedEOF
  24617. }
  24618. m.Driver = string(dAtA[iNdEx:postIndex])
  24619. iNdEx = postIndex
  24620. case 2:
  24621. if wireType != 2 {
  24622. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  24623. }
  24624. var stringLen uint64
  24625. for shift := uint(0); ; shift += 7 {
  24626. if shift >= 64 {
  24627. return ErrIntOverflowGenerated
  24628. }
  24629. if iNdEx >= l {
  24630. return io.ErrUnexpectedEOF
  24631. }
  24632. b := dAtA[iNdEx]
  24633. iNdEx++
  24634. stringLen |= (uint64(b) & 0x7F) << shift
  24635. if b < 0x80 {
  24636. break
  24637. }
  24638. }
  24639. intStringLen := int(stringLen)
  24640. if intStringLen < 0 {
  24641. return ErrInvalidLengthGenerated
  24642. }
  24643. postIndex := iNdEx + intStringLen
  24644. if postIndex > l {
  24645. return io.ErrUnexpectedEOF
  24646. }
  24647. m.FSType = string(dAtA[iNdEx:postIndex])
  24648. iNdEx = postIndex
  24649. case 3:
  24650. if wireType != 2 {
  24651. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  24652. }
  24653. var msglen int
  24654. for shift := uint(0); ; shift += 7 {
  24655. if shift >= 64 {
  24656. return ErrIntOverflowGenerated
  24657. }
  24658. if iNdEx >= l {
  24659. return io.ErrUnexpectedEOF
  24660. }
  24661. b := dAtA[iNdEx]
  24662. iNdEx++
  24663. msglen |= (int(b) & 0x7F) << shift
  24664. if b < 0x80 {
  24665. break
  24666. }
  24667. }
  24668. if msglen < 0 {
  24669. return ErrInvalidLengthGenerated
  24670. }
  24671. postIndex := iNdEx + msglen
  24672. if postIndex > l {
  24673. return io.ErrUnexpectedEOF
  24674. }
  24675. if m.SecretRef == nil {
  24676. m.SecretRef = &LocalObjectReference{}
  24677. }
  24678. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  24679. return err
  24680. }
  24681. iNdEx = postIndex
  24682. case 4:
  24683. if wireType != 0 {
  24684. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  24685. }
  24686. var v int
  24687. for shift := uint(0); ; shift += 7 {
  24688. if shift >= 64 {
  24689. return ErrIntOverflowGenerated
  24690. }
  24691. if iNdEx >= l {
  24692. return io.ErrUnexpectedEOF
  24693. }
  24694. b := dAtA[iNdEx]
  24695. iNdEx++
  24696. v |= (int(b) & 0x7F) << shift
  24697. if b < 0x80 {
  24698. break
  24699. }
  24700. }
  24701. m.ReadOnly = bool(v != 0)
  24702. case 5:
  24703. if wireType != 2 {
  24704. return fmt.Errorf("proto: wrong wireType = %d for field Options", 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. var keykey uint64
  24729. for shift := uint(0); ; shift += 7 {
  24730. if shift >= 64 {
  24731. return ErrIntOverflowGenerated
  24732. }
  24733. if iNdEx >= l {
  24734. return io.ErrUnexpectedEOF
  24735. }
  24736. b := dAtA[iNdEx]
  24737. iNdEx++
  24738. keykey |= (uint64(b) & 0x7F) << shift
  24739. if b < 0x80 {
  24740. break
  24741. }
  24742. }
  24743. var stringLenmapkey uint64
  24744. for shift := uint(0); ; shift += 7 {
  24745. if shift >= 64 {
  24746. return ErrIntOverflowGenerated
  24747. }
  24748. if iNdEx >= l {
  24749. return io.ErrUnexpectedEOF
  24750. }
  24751. b := dAtA[iNdEx]
  24752. iNdEx++
  24753. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  24754. if b < 0x80 {
  24755. break
  24756. }
  24757. }
  24758. intStringLenmapkey := int(stringLenmapkey)
  24759. if intStringLenmapkey < 0 {
  24760. return ErrInvalidLengthGenerated
  24761. }
  24762. postStringIndexmapkey := iNdEx + intStringLenmapkey
  24763. if postStringIndexmapkey > l {
  24764. return io.ErrUnexpectedEOF
  24765. }
  24766. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  24767. iNdEx = postStringIndexmapkey
  24768. if m.Options == nil {
  24769. m.Options = make(map[string]string)
  24770. }
  24771. if iNdEx < postIndex {
  24772. var valuekey uint64
  24773. for shift := uint(0); ; shift += 7 {
  24774. if shift >= 64 {
  24775. return ErrIntOverflowGenerated
  24776. }
  24777. if iNdEx >= l {
  24778. return io.ErrUnexpectedEOF
  24779. }
  24780. b := dAtA[iNdEx]
  24781. iNdEx++
  24782. valuekey |= (uint64(b) & 0x7F) << shift
  24783. if b < 0x80 {
  24784. break
  24785. }
  24786. }
  24787. var stringLenmapvalue uint64
  24788. for shift := uint(0); ; shift += 7 {
  24789. if shift >= 64 {
  24790. return ErrIntOverflowGenerated
  24791. }
  24792. if iNdEx >= l {
  24793. return io.ErrUnexpectedEOF
  24794. }
  24795. b := dAtA[iNdEx]
  24796. iNdEx++
  24797. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  24798. if b < 0x80 {
  24799. break
  24800. }
  24801. }
  24802. intStringLenmapvalue := int(stringLenmapvalue)
  24803. if intStringLenmapvalue < 0 {
  24804. return ErrInvalidLengthGenerated
  24805. }
  24806. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  24807. if postStringIndexmapvalue > l {
  24808. return io.ErrUnexpectedEOF
  24809. }
  24810. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  24811. iNdEx = postStringIndexmapvalue
  24812. m.Options[mapkey] = mapvalue
  24813. } else {
  24814. var mapvalue string
  24815. m.Options[mapkey] = mapvalue
  24816. }
  24817. iNdEx = postIndex
  24818. default:
  24819. iNdEx = preIndex
  24820. skippy, err := skipGenerated(dAtA[iNdEx:])
  24821. if err != nil {
  24822. return err
  24823. }
  24824. if skippy < 0 {
  24825. return ErrInvalidLengthGenerated
  24826. }
  24827. if (iNdEx + skippy) > l {
  24828. return io.ErrUnexpectedEOF
  24829. }
  24830. iNdEx += skippy
  24831. }
  24832. }
  24833. if iNdEx > l {
  24834. return io.ErrUnexpectedEOF
  24835. }
  24836. return nil
  24837. }
  24838. func (m *FlockerVolumeSource) Unmarshal(dAtA []byte) error {
  24839. l := len(dAtA)
  24840. iNdEx := 0
  24841. for iNdEx < l {
  24842. preIndex := iNdEx
  24843. var wire uint64
  24844. for shift := uint(0); ; shift += 7 {
  24845. if shift >= 64 {
  24846. return ErrIntOverflowGenerated
  24847. }
  24848. if iNdEx >= l {
  24849. return io.ErrUnexpectedEOF
  24850. }
  24851. b := dAtA[iNdEx]
  24852. iNdEx++
  24853. wire |= (uint64(b) & 0x7F) << shift
  24854. if b < 0x80 {
  24855. break
  24856. }
  24857. }
  24858. fieldNum := int32(wire >> 3)
  24859. wireType := int(wire & 0x7)
  24860. if wireType == 4 {
  24861. return fmt.Errorf("proto: FlockerVolumeSource: wiretype end group for non-group")
  24862. }
  24863. if fieldNum <= 0 {
  24864. return fmt.Errorf("proto: FlockerVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  24865. }
  24866. switch fieldNum {
  24867. case 1:
  24868. if wireType != 2 {
  24869. return fmt.Errorf("proto: wrong wireType = %d for field DatasetName", wireType)
  24870. }
  24871. var stringLen uint64
  24872. for shift := uint(0); ; shift += 7 {
  24873. if shift >= 64 {
  24874. return ErrIntOverflowGenerated
  24875. }
  24876. if iNdEx >= l {
  24877. return io.ErrUnexpectedEOF
  24878. }
  24879. b := dAtA[iNdEx]
  24880. iNdEx++
  24881. stringLen |= (uint64(b) & 0x7F) << shift
  24882. if b < 0x80 {
  24883. break
  24884. }
  24885. }
  24886. intStringLen := int(stringLen)
  24887. if intStringLen < 0 {
  24888. return ErrInvalidLengthGenerated
  24889. }
  24890. postIndex := iNdEx + intStringLen
  24891. if postIndex > l {
  24892. return io.ErrUnexpectedEOF
  24893. }
  24894. m.DatasetName = string(dAtA[iNdEx:postIndex])
  24895. iNdEx = postIndex
  24896. case 2:
  24897. if wireType != 2 {
  24898. return fmt.Errorf("proto: wrong wireType = %d for field DatasetUUID", wireType)
  24899. }
  24900. var stringLen uint64
  24901. for shift := uint(0); ; shift += 7 {
  24902. if shift >= 64 {
  24903. return ErrIntOverflowGenerated
  24904. }
  24905. if iNdEx >= l {
  24906. return io.ErrUnexpectedEOF
  24907. }
  24908. b := dAtA[iNdEx]
  24909. iNdEx++
  24910. stringLen |= (uint64(b) & 0x7F) << shift
  24911. if b < 0x80 {
  24912. break
  24913. }
  24914. }
  24915. intStringLen := int(stringLen)
  24916. if intStringLen < 0 {
  24917. return ErrInvalidLengthGenerated
  24918. }
  24919. postIndex := iNdEx + intStringLen
  24920. if postIndex > l {
  24921. return io.ErrUnexpectedEOF
  24922. }
  24923. m.DatasetUUID = string(dAtA[iNdEx:postIndex])
  24924. iNdEx = postIndex
  24925. default:
  24926. iNdEx = preIndex
  24927. skippy, err := skipGenerated(dAtA[iNdEx:])
  24928. if err != nil {
  24929. return err
  24930. }
  24931. if skippy < 0 {
  24932. return ErrInvalidLengthGenerated
  24933. }
  24934. if (iNdEx + skippy) > l {
  24935. return io.ErrUnexpectedEOF
  24936. }
  24937. iNdEx += skippy
  24938. }
  24939. }
  24940. if iNdEx > l {
  24941. return io.ErrUnexpectedEOF
  24942. }
  24943. return nil
  24944. }
  24945. func (m *GCEPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error {
  24946. l := len(dAtA)
  24947. iNdEx := 0
  24948. for iNdEx < l {
  24949. preIndex := iNdEx
  24950. var wire uint64
  24951. for shift := uint(0); ; shift += 7 {
  24952. if shift >= 64 {
  24953. return ErrIntOverflowGenerated
  24954. }
  24955. if iNdEx >= l {
  24956. return io.ErrUnexpectedEOF
  24957. }
  24958. b := dAtA[iNdEx]
  24959. iNdEx++
  24960. wire |= (uint64(b) & 0x7F) << shift
  24961. if b < 0x80 {
  24962. break
  24963. }
  24964. }
  24965. fieldNum := int32(wire >> 3)
  24966. wireType := int(wire & 0x7)
  24967. if wireType == 4 {
  24968. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: wiretype end group for non-group")
  24969. }
  24970. if fieldNum <= 0 {
  24971. return fmt.Errorf("proto: GCEPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  24972. }
  24973. switch fieldNum {
  24974. case 1:
  24975. if wireType != 2 {
  24976. return fmt.Errorf("proto: wrong wireType = %d for field PDName", wireType)
  24977. }
  24978. var stringLen uint64
  24979. for shift := uint(0); ; shift += 7 {
  24980. if shift >= 64 {
  24981. return ErrIntOverflowGenerated
  24982. }
  24983. if iNdEx >= l {
  24984. return io.ErrUnexpectedEOF
  24985. }
  24986. b := dAtA[iNdEx]
  24987. iNdEx++
  24988. stringLen |= (uint64(b) & 0x7F) << shift
  24989. if b < 0x80 {
  24990. break
  24991. }
  24992. }
  24993. intStringLen := int(stringLen)
  24994. if intStringLen < 0 {
  24995. return ErrInvalidLengthGenerated
  24996. }
  24997. postIndex := iNdEx + intStringLen
  24998. if postIndex > l {
  24999. return io.ErrUnexpectedEOF
  25000. }
  25001. m.PDName = string(dAtA[iNdEx:postIndex])
  25002. iNdEx = postIndex
  25003. case 2:
  25004. if wireType != 2 {
  25005. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  25006. }
  25007. var stringLen uint64
  25008. for shift := uint(0); ; shift += 7 {
  25009. if shift >= 64 {
  25010. return ErrIntOverflowGenerated
  25011. }
  25012. if iNdEx >= l {
  25013. return io.ErrUnexpectedEOF
  25014. }
  25015. b := dAtA[iNdEx]
  25016. iNdEx++
  25017. stringLen |= (uint64(b) & 0x7F) << shift
  25018. if b < 0x80 {
  25019. break
  25020. }
  25021. }
  25022. intStringLen := int(stringLen)
  25023. if intStringLen < 0 {
  25024. return ErrInvalidLengthGenerated
  25025. }
  25026. postIndex := iNdEx + intStringLen
  25027. if postIndex > l {
  25028. return io.ErrUnexpectedEOF
  25029. }
  25030. m.FSType = string(dAtA[iNdEx:postIndex])
  25031. iNdEx = postIndex
  25032. case 3:
  25033. if wireType != 0 {
  25034. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  25035. }
  25036. m.Partition = 0
  25037. for shift := uint(0); ; shift += 7 {
  25038. if shift >= 64 {
  25039. return ErrIntOverflowGenerated
  25040. }
  25041. if iNdEx >= l {
  25042. return io.ErrUnexpectedEOF
  25043. }
  25044. b := dAtA[iNdEx]
  25045. iNdEx++
  25046. m.Partition |= (int32(b) & 0x7F) << shift
  25047. if b < 0x80 {
  25048. break
  25049. }
  25050. }
  25051. case 4:
  25052. if wireType != 0 {
  25053. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  25054. }
  25055. var v int
  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. v |= (int(b) & 0x7F) << shift
  25066. if b < 0x80 {
  25067. break
  25068. }
  25069. }
  25070. m.ReadOnly = bool(v != 0)
  25071. default:
  25072. iNdEx = preIndex
  25073. skippy, err := skipGenerated(dAtA[iNdEx:])
  25074. if err != nil {
  25075. return err
  25076. }
  25077. if skippy < 0 {
  25078. return ErrInvalidLengthGenerated
  25079. }
  25080. if (iNdEx + skippy) > l {
  25081. return io.ErrUnexpectedEOF
  25082. }
  25083. iNdEx += skippy
  25084. }
  25085. }
  25086. if iNdEx > l {
  25087. return io.ErrUnexpectedEOF
  25088. }
  25089. return nil
  25090. }
  25091. func (m *GitRepoVolumeSource) Unmarshal(dAtA []byte) error {
  25092. l := len(dAtA)
  25093. iNdEx := 0
  25094. for iNdEx < l {
  25095. preIndex := iNdEx
  25096. var wire uint64
  25097. for shift := uint(0); ; shift += 7 {
  25098. if shift >= 64 {
  25099. return ErrIntOverflowGenerated
  25100. }
  25101. if iNdEx >= l {
  25102. return io.ErrUnexpectedEOF
  25103. }
  25104. b := dAtA[iNdEx]
  25105. iNdEx++
  25106. wire |= (uint64(b) & 0x7F) << shift
  25107. if b < 0x80 {
  25108. break
  25109. }
  25110. }
  25111. fieldNum := int32(wire >> 3)
  25112. wireType := int(wire & 0x7)
  25113. if wireType == 4 {
  25114. return fmt.Errorf("proto: GitRepoVolumeSource: wiretype end group for non-group")
  25115. }
  25116. if fieldNum <= 0 {
  25117. return fmt.Errorf("proto: GitRepoVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25118. }
  25119. switch fieldNum {
  25120. case 1:
  25121. if wireType != 2 {
  25122. return fmt.Errorf("proto: wrong wireType = %d for field Repository", wireType)
  25123. }
  25124. var stringLen uint64
  25125. for shift := uint(0); ; shift += 7 {
  25126. if shift >= 64 {
  25127. return ErrIntOverflowGenerated
  25128. }
  25129. if iNdEx >= l {
  25130. return io.ErrUnexpectedEOF
  25131. }
  25132. b := dAtA[iNdEx]
  25133. iNdEx++
  25134. stringLen |= (uint64(b) & 0x7F) << shift
  25135. if b < 0x80 {
  25136. break
  25137. }
  25138. }
  25139. intStringLen := int(stringLen)
  25140. if intStringLen < 0 {
  25141. return ErrInvalidLengthGenerated
  25142. }
  25143. postIndex := iNdEx + intStringLen
  25144. if postIndex > l {
  25145. return io.ErrUnexpectedEOF
  25146. }
  25147. m.Repository = string(dAtA[iNdEx:postIndex])
  25148. iNdEx = postIndex
  25149. case 2:
  25150. if wireType != 2 {
  25151. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  25152. }
  25153. var stringLen uint64
  25154. for shift := uint(0); ; shift += 7 {
  25155. if shift >= 64 {
  25156. return ErrIntOverflowGenerated
  25157. }
  25158. if iNdEx >= l {
  25159. return io.ErrUnexpectedEOF
  25160. }
  25161. b := dAtA[iNdEx]
  25162. iNdEx++
  25163. stringLen |= (uint64(b) & 0x7F) << shift
  25164. if b < 0x80 {
  25165. break
  25166. }
  25167. }
  25168. intStringLen := int(stringLen)
  25169. if intStringLen < 0 {
  25170. return ErrInvalidLengthGenerated
  25171. }
  25172. postIndex := iNdEx + intStringLen
  25173. if postIndex > l {
  25174. return io.ErrUnexpectedEOF
  25175. }
  25176. m.Revision = string(dAtA[iNdEx:postIndex])
  25177. iNdEx = postIndex
  25178. case 3:
  25179. if wireType != 2 {
  25180. return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType)
  25181. }
  25182. var stringLen uint64
  25183. for shift := uint(0); ; shift += 7 {
  25184. if shift >= 64 {
  25185. return ErrIntOverflowGenerated
  25186. }
  25187. if iNdEx >= l {
  25188. return io.ErrUnexpectedEOF
  25189. }
  25190. b := dAtA[iNdEx]
  25191. iNdEx++
  25192. stringLen |= (uint64(b) & 0x7F) << shift
  25193. if b < 0x80 {
  25194. break
  25195. }
  25196. }
  25197. intStringLen := int(stringLen)
  25198. if intStringLen < 0 {
  25199. return ErrInvalidLengthGenerated
  25200. }
  25201. postIndex := iNdEx + intStringLen
  25202. if postIndex > l {
  25203. return io.ErrUnexpectedEOF
  25204. }
  25205. m.Directory = string(dAtA[iNdEx:postIndex])
  25206. iNdEx = postIndex
  25207. default:
  25208. iNdEx = preIndex
  25209. skippy, err := skipGenerated(dAtA[iNdEx:])
  25210. if err != nil {
  25211. return err
  25212. }
  25213. if skippy < 0 {
  25214. return ErrInvalidLengthGenerated
  25215. }
  25216. if (iNdEx + skippy) > l {
  25217. return io.ErrUnexpectedEOF
  25218. }
  25219. iNdEx += skippy
  25220. }
  25221. }
  25222. if iNdEx > l {
  25223. return io.ErrUnexpectedEOF
  25224. }
  25225. return nil
  25226. }
  25227. func (m *GlusterfsVolumeSource) Unmarshal(dAtA []byte) error {
  25228. l := len(dAtA)
  25229. iNdEx := 0
  25230. for iNdEx < l {
  25231. preIndex := iNdEx
  25232. var wire uint64
  25233. for shift := uint(0); ; shift += 7 {
  25234. if shift >= 64 {
  25235. return ErrIntOverflowGenerated
  25236. }
  25237. if iNdEx >= l {
  25238. return io.ErrUnexpectedEOF
  25239. }
  25240. b := dAtA[iNdEx]
  25241. iNdEx++
  25242. wire |= (uint64(b) & 0x7F) << shift
  25243. if b < 0x80 {
  25244. break
  25245. }
  25246. }
  25247. fieldNum := int32(wire >> 3)
  25248. wireType := int(wire & 0x7)
  25249. if wireType == 4 {
  25250. return fmt.Errorf("proto: GlusterfsVolumeSource: wiretype end group for non-group")
  25251. }
  25252. if fieldNum <= 0 {
  25253. return fmt.Errorf("proto: GlusterfsVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25254. }
  25255. switch fieldNum {
  25256. case 1:
  25257. if wireType != 2 {
  25258. return fmt.Errorf("proto: wrong wireType = %d for field EndpointsName", wireType)
  25259. }
  25260. var stringLen uint64
  25261. for shift := uint(0); ; shift += 7 {
  25262. if shift >= 64 {
  25263. return ErrIntOverflowGenerated
  25264. }
  25265. if iNdEx >= l {
  25266. return io.ErrUnexpectedEOF
  25267. }
  25268. b := dAtA[iNdEx]
  25269. iNdEx++
  25270. stringLen |= (uint64(b) & 0x7F) << shift
  25271. if b < 0x80 {
  25272. break
  25273. }
  25274. }
  25275. intStringLen := int(stringLen)
  25276. if intStringLen < 0 {
  25277. return ErrInvalidLengthGenerated
  25278. }
  25279. postIndex := iNdEx + intStringLen
  25280. if postIndex > l {
  25281. return io.ErrUnexpectedEOF
  25282. }
  25283. m.EndpointsName = string(dAtA[iNdEx:postIndex])
  25284. iNdEx = postIndex
  25285. case 2:
  25286. if wireType != 2 {
  25287. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  25288. }
  25289. var stringLen uint64
  25290. for shift := uint(0); ; shift += 7 {
  25291. if shift >= 64 {
  25292. return ErrIntOverflowGenerated
  25293. }
  25294. if iNdEx >= l {
  25295. return io.ErrUnexpectedEOF
  25296. }
  25297. b := dAtA[iNdEx]
  25298. iNdEx++
  25299. stringLen |= (uint64(b) & 0x7F) << shift
  25300. if b < 0x80 {
  25301. break
  25302. }
  25303. }
  25304. intStringLen := int(stringLen)
  25305. if intStringLen < 0 {
  25306. return ErrInvalidLengthGenerated
  25307. }
  25308. postIndex := iNdEx + intStringLen
  25309. if postIndex > l {
  25310. return io.ErrUnexpectedEOF
  25311. }
  25312. m.Path = string(dAtA[iNdEx:postIndex])
  25313. iNdEx = postIndex
  25314. case 3:
  25315. if wireType != 0 {
  25316. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  25317. }
  25318. var v int
  25319. for shift := uint(0); ; shift += 7 {
  25320. if shift >= 64 {
  25321. return ErrIntOverflowGenerated
  25322. }
  25323. if iNdEx >= l {
  25324. return io.ErrUnexpectedEOF
  25325. }
  25326. b := dAtA[iNdEx]
  25327. iNdEx++
  25328. v |= (int(b) & 0x7F) << shift
  25329. if b < 0x80 {
  25330. break
  25331. }
  25332. }
  25333. m.ReadOnly = bool(v != 0)
  25334. default:
  25335. iNdEx = preIndex
  25336. skippy, err := skipGenerated(dAtA[iNdEx:])
  25337. if err != nil {
  25338. return err
  25339. }
  25340. if skippy < 0 {
  25341. return ErrInvalidLengthGenerated
  25342. }
  25343. if (iNdEx + skippy) > l {
  25344. return io.ErrUnexpectedEOF
  25345. }
  25346. iNdEx += skippy
  25347. }
  25348. }
  25349. if iNdEx > l {
  25350. return io.ErrUnexpectedEOF
  25351. }
  25352. return nil
  25353. }
  25354. func (m *HTTPGetAction) Unmarshal(dAtA []byte) error {
  25355. l := len(dAtA)
  25356. iNdEx := 0
  25357. for iNdEx < l {
  25358. preIndex := iNdEx
  25359. var wire uint64
  25360. for shift := uint(0); ; shift += 7 {
  25361. if shift >= 64 {
  25362. return ErrIntOverflowGenerated
  25363. }
  25364. if iNdEx >= l {
  25365. return io.ErrUnexpectedEOF
  25366. }
  25367. b := dAtA[iNdEx]
  25368. iNdEx++
  25369. wire |= (uint64(b) & 0x7F) << shift
  25370. if b < 0x80 {
  25371. break
  25372. }
  25373. }
  25374. fieldNum := int32(wire >> 3)
  25375. wireType := int(wire & 0x7)
  25376. if wireType == 4 {
  25377. return fmt.Errorf("proto: HTTPGetAction: wiretype end group for non-group")
  25378. }
  25379. if fieldNum <= 0 {
  25380. return fmt.Errorf("proto: HTTPGetAction: illegal tag %d (wire type %d)", fieldNum, wire)
  25381. }
  25382. switch fieldNum {
  25383. case 1:
  25384. if wireType != 2 {
  25385. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  25386. }
  25387. var stringLen uint64
  25388. for shift := uint(0); ; shift += 7 {
  25389. if shift >= 64 {
  25390. return ErrIntOverflowGenerated
  25391. }
  25392. if iNdEx >= l {
  25393. return io.ErrUnexpectedEOF
  25394. }
  25395. b := dAtA[iNdEx]
  25396. iNdEx++
  25397. stringLen |= (uint64(b) & 0x7F) << shift
  25398. if b < 0x80 {
  25399. break
  25400. }
  25401. }
  25402. intStringLen := int(stringLen)
  25403. if intStringLen < 0 {
  25404. return ErrInvalidLengthGenerated
  25405. }
  25406. postIndex := iNdEx + intStringLen
  25407. if postIndex > l {
  25408. return io.ErrUnexpectedEOF
  25409. }
  25410. m.Path = string(dAtA[iNdEx:postIndex])
  25411. iNdEx = postIndex
  25412. case 2:
  25413. if wireType != 2 {
  25414. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  25415. }
  25416. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  25427. if b < 0x80 {
  25428. break
  25429. }
  25430. }
  25431. if msglen < 0 {
  25432. return ErrInvalidLengthGenerated
  25433. }
  25434. postIndex := iNdEx + msglen
  25435. if postIndex > l {
  25436. return io.ErrUnexpectedEOF
  25437. }
  25438. if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  25439. return err
  25440. }
  25441. iNdEx = postIndex
  25442. case 3:
  25443. if wireType != 2 {
  25444. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  25445. }
  25446. var stringLen uint64
  25447. for shift := uint(0); ; shift += 7 {
  25448. if shift >= 64 {
  25449. return ErrIntOverflowGenerated
  25450. }
  25451. if iNdEx >= l {
  25452. return io.ErrUnexpectedEOF
  25453. }
  25454. b := dAtA[iNdEx]
  25455. iNdEx++
  25456. stringLen |= (uint64(b) & 0x7F) << shift
  25457. if b < 0x80 {
  25458. break
  25459. }
  25460. }
  25461. intStringLen := int(stringLen)
  25462. if intStringLen < 0 {
  25463. return ErrInvalidLengthGenerated
  25464. }
  25465. postIndex := iNdEx + intStringLen
  25466. if postIndex > l {
  25467. return io.ErrUnexpectedEOF
  25468. }
  25469. m.Host = string(dAtA[iNdEx:postIndex])
  25470. iNdEx = postIndex
  25471. case 4:
  25472. if wireType != 2 {
  25473. return fmt.Errorf("proto: wrong wireType = %d for field Scheme", wireType)
  25474. }
  25475. var stringLen uint64
  25476. for shift := uint(0); ; shift += 7 {
  25477. if shift >= 64 {
  25478. return ErrIntOverflowGenerated
  25479. }
  25480. if iNdEx >= l {
  25481. return io.ErrUnexpectedEOF
  25482. }
  25483. b := dAtA[iNdEx]
  25484. iNdEx++
  25485. stringLen |= (uint64(b) & 0x7F) << shift
  25486. if b < 0x80 {
  25487. break
  25488. }
  25489. }
  25490. intStringLen := int(stringLen)
  25491. if intStringLen < 0 {
  25492. return ErrInvalidLengthGenerated
  25493. }
  25494. postIndex := iNdEx + intStringLen
  25495. if postIndex > l {
  25496. return io.ErrUnexpectedEOF
  25497. }
  25498. m.Scheme = URIScheme(dAtA[iNdEx:postIndex])
  25499. iNdEx = postIndex
  25500. case 5:
  25501. if wireType != 2 {
  25502. return fmt.Errorf("proto: wrong wireType = %d for field HTTPHeaders", wireType)
  25503. }
  25504. var msglen int
  25505. for shift := uint(0); ; shift += 7 {
  25506. if shift >= 64 {
  25507. return ErrIntOverflowGenerated
  25508. }
  25509. if iNdEx >= l {
  25510. return io.ErrUnexpectedEOF
  25511. }
  25512. b := dAtA[iNdEx]
  25513. iNdEx++
  25514. msglen |= (int(b) & 0x7F) << shift
  25515. if b < 0x80 {
  25516. break
  25517. }
  25518. }
  25519. if msglen < 0 {
  25520. return ErrInvalidLengthGenerated
  25521. }
  25522. postIndex := iNdEx + msglen
  25523. if postIndex > l {
  25524. return io.ErrUnexpectedEOF
  25525. }
  25526. m.HTTPHeaders = append(m.HTTPHeaders, HTTPHeader{})
  25527. if err := m.HTTPHeaders[len(m.HTTPHeaders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  25528. return err
  25529. }
  25530. iNdEx = postIndex
  25531. default:
  25532. iNdEx = preIndex
  25533. skippy, err := skipGenerated(dAtA[iNdEx:])
  25534. if err != nil {
  25535. return err
  25536. }
  25537. if skippy < 0 {
  25538. return ErrInvalidLengthGenerated
  25539. }
  25540. if (iNdEx + skippy) > l {
  25541. return io.ErrUnexpectedEOF
  25542. }
  25543. iNdEx += skippy
  25544. }
  25545. }
  25546. if iNdEx > l {
  25547. return io.ErrUnexpectedEOF
  25548. }
  25549. return nil
  25550. }
  25551. func (m *HTTPHeader) Unmarshal(dAtA []byte) error {
  25552. l := len(dAtA)
  25553. iNdEx := 0
  25554. for iNdEx < l {
  25555. preIndex := iNdEx
  25556. var wire uint64
  25557. for shift := uint(0); ; shift += 7 {
  25558. if shift >= 64 {
  25559. return ErrIntOverflowGenerated
  25560. }
  25561. if iNdEx >= l {
  25562. return io.ErrUnexpectedEOF
  25563. }
  25564. b := dAtA[iNdEx]
  25565. iNdEx++
  25566. wire |= (uint64(b) & 0x7F) << shift
  25567. if b < 0x80 {
  25568. break
  25569. }
  25570. }
  25571. fieldNum := int32(wire >> 3)
  25572. wireType := int(wire & 0x7)
  25573. if wireType == 4 {
  25574. return fmt.Errorf("proto: HTTPHeader: wiretype end group for non-group")
  25575. }
  25576. if fieldNum <= 0 {
  25577. return fmt.Errorf("proto: HTTPHeader: illegal tag %d (wire type %d)", fieldNum, wire)
  25578. }
  25579. switch fieldNum {
  25580. case 1:
  25581. if wireType != 2 {
  25582. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  25583. }
  25584. var stringLen uint64
  25585. for shift := uint(0); ; shift += 7 {
  25586. if shift >= 64 {
  25587. return ErrIntOverflowGenerated
  25588. }
  25589. if iNdEx >= l {
  25590. return io.ErrUnexpectedEOF
  25591. }
  25592. b := dAtA[iNdEx]
  25593. iNdEx++
  25594. stringLen |= (uint64(b) & 0x7F) << shift
  25595. if b < 0x80 {
  25596. break
  25597. }
  25598. }
  25599. intStringLen := int(stringLen)
  25600. if intStringLen < 0 {
  25601. return ErrInvalidLengthGenerated
  25602. }
  25603. postIndex := iNdEx + intStringLen
  25604. if postIndex > l {
  25605. return io.ErrUnexpectedEOF
  25606. }
  25607. m.Name = string(dAtA[iNdEx:postIndex])
  25608. iNdEx = postIndex
  25609. case 2:
  25610. if wireType != 2 {
  25611. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  25612. }
  25613. var stringLen uint64
  25614. for shift := uint(0); ; shift += 7 {
  25615. if shift >= 64 {
  25616. return ErrIntOverflowGenerated
  25617. }
  25618. if iNdEx >= l {
  25619. return io.ErrUnexpectedEOF
  25620. }
  25621. b := dAtA[iNdEx]
  25622. iNdEx++
  25623. stringLen |= (uint64(b) & 0x7F) << shift
  25624. if b < 0x80 {
  25625. break
  25626. }
  25627. }
  25628. intStringLen := int(stringLen)
  25629. if intStringLen < 0 {
  25630. return ErrInvalidLengthGenerated
  25631. }
  25632. postIndex := iNdEx + intStringLen
  25633. if postIndex > l {
  25634. return io.ErrUnexpectedEOF
  25635. }
  25636. m.Value = string(dAtA[iNdEx:postIndex])
  25637. iNdEx = postIndex
  25638. default:
  25639. iNdEx = preIndex
  25640. skippy, err := skipGenerated(dAtA[iNdEx:])
  25641. if err != nil {
  25642. return err
  25643. }
  25644. if skippy < 0 {
  25645. return ErrInvalidLengthGenerated
  25646. }
  25647. if (iNdEx + skippy) > l {
  25648. return io.ErrUnexpectedEOF
  25649. }
  25650. iNdEx += skippy
  25651. }
  25652. }
  25653. if iNdEx > l {
  25654. return io.ErrUnexpectedEOF
  25655. }
  25656. return nil
  25657. }
  25658. func (m *Handler) Unmarshal(dAtA []byte) error {
  25659. l := len(dAtA)
  25660. iNdEx := 0
  25661. for iNdEx < l {
  25662. preIndex := iNdEx
  25663. var wire uint64
  25664. for shift := uint(0); ; shift += 7 {
  25665. if shift >= 64 {
  25666. return ErrIntOverflowGenerated
  25667. }
  25668. if iNdEx >= l {
  25669. return io.ErrUnexpectedEOF
  25670. }
  25671. b := dAtA[iNdEx]
  25672. iNdEx++
  25673. wire |= (uint64(b) & 0x7F) << shift
  25674. if b < 0x80 {
  25675. break
  25676. }
  25677. }
  25678. fieldNum := int32(wire >> 3)
  25679. wireType := int(wire & 0x7)
  25680. if wireType == 4 {
  25681. return fmt.Errorf("proto: Handler: wiretype end group for non-group")
  25682. }
  25683. if fieldNum <= 0 {
  25684. return fmt.Errorf("proto: Handler: illegal tag %d (wire type %d)", fieldNum, wire)
  25685. }
  25686. switch fieldNum {
  25687. case 1:
  25688. if wireType != 2 {
  25689. return fmt.Errorf("proto: wrong wireType = %d for field Exec", wireType)
  25690. }
  25691. var msglen int
  25692. for shift := uint(0); ; shift += 7 {
  25693. if shift >= 64 {
  25694. return ErrIntOverflowGenerated
  25695. }
  25696. if iNdEx >= l {
  25697. return io.ErrUnexpectedEOF
  25698. }
  25699. b := dAtA[iNdEx]
  25700. iNdEx++
  25701. msglen |= (int(b) & 0x7F) << shift
  25702. if b < 0x80 {
  25703. break
  25704. }
  25705. }
  25706. if msglen < 0 {
  25707. return ErrInvalidLengthGenerated
  25708. }
  25709. postIndex := iNdEx + msglen
  25710. if postIndex > l {
  25711. return io.ErrUnexpectedEOF
  25712. }
  25713. if m.Exec == nil {
  25714. m.Exec = &ExecAction{}
  25715. }
  25716. if err := m.Exec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  25717. return err
  25718. }
  25719. iNdEx = postIndex
  25720. case 2:
  25721. if wireType != 2 {
  25722. return fmt.Errorf("proto: wrong wireType = %d for field HTTPGet", wireType)
  25723. }
  25724. var msglen int
  25725. for shift := uint(0); ; shift += 7 {
  25726. if shift >= 64 {
  25727. return ErrIntOverflowGenerated
  25728. }
  25729. if iNdEx >= l {
  25730. return io.ErrUnexpectedEOF
  25731. }
  25732. b := dAtA[iNdEx]
  25733. iNdEx++
  25734. msglen |= (int(b) & 0x7F) << shift
  25735. if b < 0x80 {
  25736. break
  25737. }
  25738. }
  25739. if msglen < 0 {
  25740. return ErrInvalidLengthGenerated
  25741. }
  25742. postIndex := iNdEx + msglen
  25743. if postIndex > l {
  25744. return io.ErrUnexpectedEOF
  25745. }
  25746. if m.HTTPGet == nil {
  25747. m.HTTPGet = &HTTPGetAction{}
  25748. }
  25749. if err := m.HTTPGet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  25750. return err
  25751. }
  25752. iNdEx = postIndex
  25753. case 3:
  25754. if wireType != 2 {
  25755. return fmt.Errorf("proto: wrong wireType = %d for field TCPSocket", wireType)
  25756. }
  25757. var msglen int
  25758. for shift := uint(0); ; shift += 7 {
  25759. if shift >= 64 {
  25760. return ErrIntOverflowGenerated
  25761. }
  25762. if iNdEx >= l {
  25763. return io.ErrUnexpectedEOF
  25764. }
  25765. b := dAtA[iNdEx]
  25766. iNdEx++
  25767. msglen |= (int(b) & 0x7F) << shift
  25768. if b < 0x80 {
  25769. break
  25770. }
  25771. }
  25772. if msglen < 0 {
  25773. return ErrInvalidLengthGenerated
  25774. }
  25775. postIndex := iNdEx + msglen
  25776. if postIndex > l {
  25777. return io.ErrUnexpectedEOF
  25778. }
  25779. if m.TCPSocket == nil {
  25780. m.TCPSocket = &TCPSocketAction{}
  25781. }
  25782. if err := m.TCPSocket.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  25783. return err
  25784. }
  25785. iNdEx = postIndex
  25786. default:
  25787. iNdEx = preIndex
  25788. skippy, err := skipGenerated(dAtA[iNdEx:])
  25789. if err != nil {
  25790. return err
  25791. }
  25792. if skippy < 0 {
  25793. return ErrInvalidLengthGenerated
  25794. }
  25795. if (iNdEx + skippy) > l {
  25796. return io.ErrUnexpectedEOF
  25797. }
  25798. iNdEx += skippy
  25799. }
  25800. }
  25801. if iNdEx > l {
  25802. return io.ErrUnexpectedEOF
  25803. }
  25804. return nil
  25805. }
  25806. func (m *HostAlias) Unmarshal(dAtA []byte) error {
  25807. l := len(dAtA)
  25808. iNdEx := 0
  25809. for iNdEx < l {
  25810. preIndex := iNdEx
  25811. var wire uint64
  25812. for shift := uint(0); ; shift += 7 {
  25813. if shift >= 64 {
  25814. return ErrIntOverflowGenerated
  25815. }
  25816. if iNdEx >= l {
  25817. return io.ErrUnexpectedEOF
  25818. }
  25819. b := dAtA[iNdEx]
  25820. iNdEx++
  25821. wire |= (uint64(b) & 0x7F) << shift
  25822. if b < 0x80 {
  25823. break
  25824. }
  25825. }
  25826. fieldNum := int32(wire >> 3)
  25827. wireType := int(wire & 0x7)
  25828. if wireType == 4 {
  25829. return fmt.Errorf("proto: HostAlias: wiretype end group for non-group")
  25830. }
  25831. if fieldNum <= 0 {
  25832. return fmt.Errorf("proto: HostAlias: illegal tag %d (wire type %d)", fieldNum, wire)
  25833. }
  25834. switch fieldNum {
  25835. case 1:
  25836. if wireType != 2 {
  25837. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  25838. }
  25839. var stringLen uint64
  25840. for shift := uint(0); ; shift += 7 {
  25841. if shift >= 64 {
  25842. return ErrIntOverflowGenerated
  25843. }
  25844. if iNdEx >= l {
  25845. return io.ErrUnexpectedEOF
  25846. }
  25847. b := dAtA[iNdEx]
  25848. iNdEx++
  25849. stringLen |= (uint64(b) & 0x7F) << shift
  25850. if b < 0x80 {
  25851. break
  25852. }
  25853. }
  25854. intStringLen := int(stringLen)
  25855. if intStringLen < 0 {
  25856. return ErrInvalidLengthGenerated
  25857. }
  25858. postIndex := iNdEx + intStringLen
  25859. if postIndex > l {
  25860. return io.ErrUnexpectedEOF
  25861. }
  25862. m.IP = string(dAtA[iNdEx:postIndex])
  25863. iNdEx = postIndex
  25864. case 2:
  25865. if wireType != 2 {
  25866. return fmt.Errorf("proto: wrong wireType = %d for field Hostnames", wireType)
  25867. }
  25868. var stringLen uint64
  25869. for shift := uint(0); ; shift += 7 {
  25870. if shift >= 64 {
  25871. return ErrIntOverflowGenerated
  25872. }
  25873. if iNdEx >= l {
  25874. return io.ErrUnexpectedEOF
  25875. }
  25876. b := dAtA[iNdEx]
  25877. iNdEx++
  25878. stringLen |= (uint64(b) & 0x7F) << shift
  25879. if b < 0x80 {
  25880. break
  25881. }
  25882. }
  25883. intStringLen := int(stringLen)
  25884. if intStringLen < 0 {
  25885. return ErrInvalidLengthGenerated
  25886. }
  25887. postIndex := iNdEx + intStringLen
  25888. if postIndex > l {
  25889. return io.ErrUnexpectedEOF
  25890. }
  25891. m.Hostnames = append(m.Hostnames, string(dAtA[iNdEx:postIndex]))
  25892. iNdEx = postIndex
  25893. default:
  25894. iNdEx = preIndex
  25895. skippy, err := skipGenerated(dAtA[iNdEx:])
  25896. if err != nil {
  25897. return err
  25898. }
  25899. if skippy < 0 {
  25900. return ErrInvalidLengthGenerated
  25901. }
  25902. if (iNdEx + skippy) > l {
  25903. return io.ErrUnexpectedEOF
  25904. }
  25905. iNdEx += skippy
  25906. }
  25907. }
  25908. if iNdEx > l {
  25909. return io.ErrUnexpectedEOF
  25910. }
  25911. return nil
  25912. }
  25913. func (m *HostPathVolumeSource) Unmarshal(dAtA []byte) error {
  25914. l := len(dAtA)
  25915. iNdEx := 0
  25916. for iNdEx < l {
  25917. preIndex := iNdEx
  25918. var wire uint64
  25919. for shift := uint(0); ; shift += 7 {
  25920. if shift >= 64 {
  25921. return ErrIntOverflowGenerated
  25922. }
  25923. if iNdEx >= l {
  25924. return io.ErrUnexpectedEOF
  25925. }
  25926. b := dAtA[iNdEx]
  25927. iNdEx++
  25928. wire |= (uint64(b) & 0x7F) << shift
  25929. if b < 0x80 {
  25930. break
  25931. }
  25932. }
  25933. fieldNum := int32(wire >> 3)
  25934. wireType := int(wire & 0x7)
  25935. if wireType == 4 {
  25936. return fmt.Errorf("proto: HostPathVolumeSource: wiretype end group for non-group")
  25937. }
  25938. if fieldNum <= 0 {
  25939. return fmt.Errorf("proto: HostPathVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  25940. }
  25941. switch fieldNum {
  25942. case 1:
  25943. if wireType != 2 {
  25944. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  25945. }
  25946. var stringLen uint64
  25947. for shift := uint(0); ; shift += 7 {
  25948. if shift >= 64 {
  25949. return ErrIntOverflowGenerated
  25950. }
  25951. if iNdEx >= l {
  25952. return io.ErrUnexpectedEOF
  25953. }
  25954. b := dAtA[iNdEx]
  25955. iNdEx++
  25956. stringLen |= (uint64(b) & 0x7F) << shift
  25957. if b < 0x80 {
  25958. break
  25959. }
  25960. }
  25961. intStringLen := int(stringLen)
  25962. if intStringLen < 0 {
  25963. return ErrInvalidLengthGenerated
  25964. }
  25965. postIndex := iNdEx + intStringLen
  25966. if postIndex > l {
  25967. return io.ErrUnexpectedEOF
  25968. }
  25969. m.Path = string(dAtA[iNdEx:postIndex])
  25970. iNdEx = postIndex
  25971. case 2:
  25972. if wireType != 2 {
  25973. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  25974. }
  25975. var stringLen uint64
  25976. for shift := uint(0); ; shift += 7 {
  25977. if shift >= 64 {
  25978. return ErrIntOverflowGenerated
  25979. }
  25980. if iNdEx >= l {
  25981. return io.ErrUnexpectedEOF
  25982. }
  25983. b := dAtA[iNdEx]
  25984. iNdEx++
  25985. stringLen |= (uint64(b) & 0x7F) << shift
  25986. if b < 0x80 {
  25987. break
  25988. }
  25989. }
  25990. intStringLen := int(stringLen)
  25991. if intStringLen < 0 {
  25992. return ErrInvalidLengthGenerated
  25993. }
  25994. postIndex := iNdEx + intStringLen
  25995. if postIndex > l {
  25996. return io.ErrUnexpectedEOF
  25997. }
  25998. s := HostPathType(dAtA[iNdEx:postIndex])
  25999. m.Type = &s
  26000. iNdEx = postIndex
  26001. default:
  26002. iNdEx = preIndex
  26003. skippy, err := skipGenerated(dAtA[iNdEx:])
  26004. if err != nil {
  26005. return err
  26006. }
  26007. if skippy < 0 {
  26008. return ErrInvalidLengthGenerated
  26009. }
  26010. if (iNdEx + skippy) > l {
  26011. return io.ErrUnexpectedEOF
  26012. }
  26013. iNdEx += skippy
  26014. }
  26015. }
  26016. if iNdEx > l {
  26017. return io.ErrUnexpectedEOF
  26018. }
  26019. return nil
  26020. }
  26021. func (m *ISCSIPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  26022. l := len(dAtA)
  26023. iNdEx := 0
  26024. for iNdEx < l {
  26025. preIndex := iNdEx
  26026. var wire uint64
  26027. for shift := uint(0); ; shift += 7 {
  26028. if shift >= 64 {
  26029. return ErrIntOverflowGenerated
  26030. }
  26031. if iNdEx >= l {
  26032. return io.ErrUnexpectedEOF
  26033. }
  26034. b := dAtA[iNdEx]
  26035. iNdEx++
  26036. wire |= (uint64(b) & 0x7F) << shift
  26037. if b < 0x80 {
  26038. break
  26039. }
  26040. }
  26041. fieldNum := int32(wire >> 3)
  26042. wireType := int(wire & 0x7)
  26043. if wireType == 4 {
  26044. return fmt.Errorf("proto: ISCSIPersistentVolumeSource: wiretype end group for non-group")
  26045. }
  26046. if fieldNum <= 0 {
  26047. return fmt.Errorf("proto: ISCSIPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26048. }
  26049. switch fieldNum {
  26050. case 1:
  26051. if wireType != 2 {
  26052. return fmt.Errorf("proto: wrong wireType = %d for field TargetPortal", wireType)
  26053. }
  26054. var stringLen uint64
  26055. for shift := uint(0); ; shift += 7 {
  26056. if shift >= 64 {
  26057. return ErrIntOverflowGenerated
  26058. }
  26059. if iNdEx >= l {
  26060. return io.ErrUnexpectedEOF
  26061. }
  26062. b := dAtA[iNdEx]
  26063. iNdEx++
  26064. stringLen |= (uint64(b) & 0x7F) << shift
  26065. if b < 0x80 {
  26066. break
  26067. }
  26068. }
  26069. intStringLen := int(stringLen)
  26070. if intStringLen < 0 {
  26071. return ErrInvalidLengthGenerated
  26072. }
  26073. postIndex := iNdEx + intStringLen
  26074. if postIndex > l {
  26075. return io.ErrUnexpectedEOF
  26076. }
  26077. m.TargetPortal = string(dAtA[iNdEx:postIndex])
  26078. iNdEx = postIndex
  26079. case 2:
  26080. if wireType != 2 {
  26081. return fmt.Errorf("proto: wrong wireType = %d for field IQN", wireType)
  26082. }
  26083. var stringLen uint64
  26084. for shift := uint(0); ; shift += 7 {
  26085. if shift >= 64 {
  26086. return ErrIntOverflowGenerated
  26087. }
  26088. if iNdEx >= l {
  26089. return io.ErrUnexpectedEOF
  26090. }
  26091. b := dAtA[iNdEx]
  26092. iNdEx++
  26093. stringLen |= (uint64(b) & 0x7F) << shift
  26094. if b < 0x80 {
  26095. break
  26096. }
  26097. }
  26098. intStringLen := int(stringLen)
  26099. if intStringLen < 0 {
  26100. return ErrInvalidLengthGenerated
  26101. }
  26102. postIndex := iNdEx + intStringLen
  26103. if postIndex > l {
  26104. return io.ErrUnexpectedEOF
  26105. }
  26106. m.IQN = string(dAtA[iNdEx:postIndex])
  26107. iNdEx = postIndex
  26108. case 3:
  26109. if wireType != 0 {
  26110. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  26111. }
  26112. m.Lun = 0
  26113. for shift := uint(0); ; shift += 7 {
  26114. if shift >= 64 {
  26115. return ErrIntOverflowGenerated
  26116. }
  26117. if iNdEx >= l {
  26118. return io.ErrUnexpectedEOF
  26119. }
  26120. b := dAtA[iNdEx]
  26121. iNdEx++
  26122. m.Lun |= (int32(b) & 0x7F) << shift
  26123. if b < 0x80 {
  26124. break
  26125. }
  26126. }
  26127. case 4:
  26128. if wireType != 2 {
  26129. return fmt.Errorf("proto: wrong wireType = %d for field ISCSIInterface", wireType)
  26130. }
  26131. var stringLen uint64
  26132. for shift := uint(0); ; shift += 7 {
  26133. if shift >= 64 {
  26134. return ErrIntOverflowGenerated
  26135. }
  26136. if iNdEx >= l {
  26137. return io.ErrUnexpectedEOF
  26138. }
  26139. b := dAtA[iNdEx]
  26140. iNdEx++
  26141. stringLen |= (uint64(b) & 0x7F) << shift
  26142. if b < 0x80 {
  26143. break
  26144. }
  26145. }
  26146. intStringLen := int(stringLen)
  26147. if intStringLen < 0 {
  26148. return ErrInvalidLengthGenerated
  26149. }
  26150. postIndex := iNdEx + intStringLen
  26151. if postIndex > l {
  26152. return io.ErrUnexpectedEOF
  26153. }
  26154. m.ISCSIInterface = string(dAtA[iNdEx:postIndex])
  26155. iNdEx = postIndex
  26156. case 5:
  26157. if wireType != 2 {
  26158. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  26159. }
  26160. var stringLen uint64
  26161. for shift := uint(0); ; shift += 7 {
  26162. if shift >= 64 {
  26163. return ErrIntOverflowGenerated
  26164. }
  26165. if iNdEx >= l {
  26166. return io.ErrUnexpectedEOF
  26167. }
  26168. b := dAtA[iNdEx]
  26169. iNdEx++
  26170. stringLen |= (uint64(b) & 0x7F) << shift
  26171. if b < 0x80 {
  26172. break
  26173. }
  26174. }
  26175. intStringLen := int(stringLen)
  26176. if intStringLen < 0 {
  26177. return ErrInvalidLengthGenerated
  26178. }
  26179. postIndex := iNdEx + intStringLen
  26180. if postIndex > l {
  26181. return io.ErrUnexpectedEOF
  26182. }
  26183. m.FSType = string(dAtA[iNdEx:postIndex])
  26184. iNdEx = postIndex
  26185. case 6:
  26186. if wireType != 0 {
  26187. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  26188. }
  26189. var v int
  26190. for shift := uint(0); ; shift += 7 {
  26191. if shift >= 64 {
  26192. return ErrIntOverflowGenerated
  26193. }
  26194. if iNdEx >= l {
  26195. return io.ErrUnexpectedEOF
  26196. }
  26197. b := dAtA[iNdEx]
  26198. iNdEx++
  26199. v |= (int(b) & 0x7F) << shift
  26200. if b < 0x80 {
  26201. break
  26202. }
  26203. }
  26204. m.ReadOnly = bool(v != 0)
  26205. case 7:
  26206. if wireType != 2 {
  26207. return fmt.Errorf("proto: wrong wireType = %d for field Portals", wireType)
  26208. }
  26209. var stringLen uint64
  26210. for shift := uint(0); ; shift += 7 {
  26211. if shift >= 64 {
  26212. return ErrIntOverflowGenerated
  26213. }
  26214. if iNdEx >= l {
  26215. return io.ErrUnexpectedEOF
  26216. }
  26217. b := dAtA[iNdEx]
  26218. iNdEx++
  26219. stringLen |= (uint64(b) & 0x7F) << shift
  26220. if b < 0x80 {
  26221. break
  26222. }
  26223. }
  26224. intStringLen := int(stringLen)
  26225. if intStringLen < 0 {
  26226. return ErrInvalidLengthGenerated
  26227. }
  26228. postIndex := iNdEx + intStringLen
  26229. if postIndex > l {
  26230. return io.ErrUnexpectedEOF
  26231. }
  26232. m.Portals = append(m.Portals, string(dAtA[iNdEx:postIndex]))
  26233. iNdEx = postIndex
  26234. case 8:
  26235. if wireType != 0 {
  26236. return fmt.Errorf("proto: wrong wireType = %d for field DiscoveryCHAPAuth", wireType)
  26237. }
  26238. var v int
  26239. for shift := uint(0); ; shift += 7 {
  26240. if shift >= 64 {
  26241. return ErrIntOverflowGenerated
  26242. }
  26243. if iNdEx >= l {
  26244. return io.ErrUnexpectedEOF
  26245. }
  26246. b := dAtA[iNdEx]
  26247. iNdEx++
  26248. v |= (int(b) & 0x7F) << shift
  26249. if b < 0x80 {
  26250. break
  26251. }
  26252. }
  26253. m.DiscoveryCHAPAuth = bool(v != 0)
  26254. case 10:
  26255. if wireType != 2 {
  26256. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  26257. }
  26258. var msglen int
  26259. for shift := uint(0); ; shift += 7 {
  26260. if shift >= 64 {
  26261. return ErrIntOverflowGenerated
  26262. }
  26263. if iNdEx >= l {
  26264. return io.ErrUnexpectedEOF
  26265. }
  26266. b := dAtA[iNdEx]
  26267. iNdEx++
  26268. msglen |= (int(b) & 0x7F) << shift
  26269. if b < 0x80 {
  26270. break
  26271. }
  26272. }
  26273. if msglen < 0 {
  26274. return ErrInvalidLengthGenerated
  26275. }
  26276. postIndex := iNdEx + msglen
  26277. if postIndex > l {
  26278. return io.ErrUnexpectedEOF
  26279. }
  26280. if m.SecretRef == nil {
  26281. m.SecretRef = &SecretReference{}
  26282. }
  26283. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  26284. return err
  26285. }
  26286. iNdEx = postIndex
  26287. case 11:
  26288. if wireType != 0 {
  26289. return fmt.Errorf("proto: wrong wireType = %d for field SessionCHAPAuth", wireType)
  26290. }
  26291. var v int
  26292. for shift := uint(0); ; shift += 7 {
  26293. if shift >= 64 {
  26294. return ErrIntOverflowGenerated
  26295. }
  26296. if iNdEx >= l {
  26297. return io.ErrUnexpectedEOF
  26298. }
  26299. b := dAtA[iNdEx]
  26300. iNdEx++
  26301. v |= (int(b) & 0x7F) << shift
  26302. if b < 0x80 {
  26303. break
  26304. }
  26305. }
  26306. m.SessionCHAPAuth = bool(v != 0)
  26307. case 12:
  26308. if wireType != 2 {
  26309. return fmt.Errorf("proto: wrong wireType = %d for field InitiatorName", 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. s := string(dAtA[iNdEx:postIndex])
  26335. m.InitiatorName = &s
  26336. iNdEx = postIndex
  26337. default:
  26338. iNdEx = preIndex
  26339. skippy, err := skipGenerated(dAtA[iNdEx:])
  26340. if err != nil {
  26341. return err
  26342. }
  26343. if skippy < 0 {
  26344. return ErrInvalidLengthGenerated
  26345. }
  26346. if (iNdEx + skippy) > l {
  26347. return io.ErrUnexpectedEOF
  26348. }
  26349. iNdEx += skippy
  26350. }
  26351. }
  26352. if iNdEx > l {
  26353. return io.ErrUnexpectedEOF
  26354. }
  26355. return nil
  26356. }
  26357. func (m *ISCSIVolumeSource) Unmarshal(dAtA []byte) error {
  26358. l := len(dAtA)
  26359. iNdEx := 0
  26360. for iNdEx < l {
  26361. preIndex := iNdEx
  26362. var wire uint64
  26363. for shift := uint(0); ; shift += 7 {
  26364. if shift >= 64 {
  26365. return ErrIntOverflowGenerated
  26366. }
  26367. if iNdEx >= l {
  26368. return io.ErrUnexpectedEOF
  26369. }
  26370. b := dAtA[iNdEx]
  26371. iNdEx++
  26372. wire |= (uint64(b) & 0x7F) << shift
  26373. if b < 0x80 {
  26374. break
  26375. }
  26376. }
  26377. fieldNum := int32(wire >> 3)
  26378. wireType := int(wire & 0x7)
  26379. if wireType == 4 {
  26380. return fmt.Errorf("proto: ISCSIVolumeSource: wiretype end group for non-group")
  26381. }
  26382. if fieldNum <= 0 {
  26383. return fmt.Errorf("proto: ISCSIVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  26384. }
  26385. switch fieldNum {
  26386. case 1:
  26387. if wireType != 2 {
  26388. return fmt.Errorf("proto: wrong wireType = %d for field TargetPortal", wireType)
  26389. }
  26390. var stringLen uint64
  26391. for shift := uint(0); ; shift += 7 {
  26392. if shift >= 64 {
  26393. return ErrIntOverflowGenerated
  26394. }
  26395. if iNdEx >= l {
  26396. return io.ErrUnexpectedEOF
  26397. }
  26398. b := dAtA[iNdEx]
  26399. iNdEx++
  26400. stringLen |= (uint64(b) & 0x7F) << shift
  26401. if b < 0x80 {
  26402. break
  26403. }
  26404. }
  26405. intStringLen := int(stringLen)
  26406. if intStringLen < 0 {
  26407. return ErrInvalidLengthGenerated
  26408. }
  26409. postIndex := iNdEx + intStringLen
  26410. if postIndex > l {
  26411. return io.ErrUnexpectedEOF
  26412. }
  26413. m.TargetPortal = string(dAtA[iNdEx:postIndex])
  26414. iNdEx = postIndex
  26415. case 2:
  26416. if wireType != 2 {
  26417. return fmt.Errorf("proto: wrong wireType = %d for field IQN", wireType)
  26418. }
  26419. var stringLen uint64
  26420. for shift := uint(0); ; shift += 7 {
  26421. if shift >= 64 {
  26422. return ErrIntOverflowGenerated
  26423. }
  26424. if iNdEx >= l {
  26425. return io.ErrUnexpectedEOF
  26426. }
  26427. b := dAtA[iNdEx]
  26428. iNdEx++
  26429. stringLen |= (uint64(b) & 0x7F) << shift
  26430. if b < 0x80 {
  26431. break
  26432. }
  26433. }
  26434. intStringLen := int(stringLen)
  26435. if intStringLen < 0 {
  26436. return ErrInvalidLengthGenerated
  26437. }
  26438. postIndex := iNdEx + intStringLen
  26439. if postIndex > l {
  26440. return io.ErrUnexpectedEOF
  26441. }
  26442. m.IQN = string(dAtA[iNdEx:postIndex])
  26443. iNdEx = postIndex
  26444. case 3:
  26445. if wireType != 0 {
  26446. return fmt.Errorf("proto: wrong wireType = %d for field Lun", wireType)
  26447. }
  26448. m.Lun = 0
  26449. for shift := uint(0); ; shift += 7 {
  26450. if shift >= 64 {
  26451. return ErrIntOverflowGenerated
  26452. }
  26453. if iNdEx >= l {
  26454. return io.ErrUnexpectedEOF
  26455. }
  26456. b := dAtA[iNdEx]
  26457. iNdEx++
  26458. m.Lun |= (int32(b) & 0x7F) << shift
  26459. if b < 0x80 {
  26460. break
  26461. }
  26462. }
  26463. case 4:
  26464. if wireType != 2 {
  26465. return fmt.Errorf("proto: wrong wireType = %d for field ISCSIInterface", wireType)
  26466. }
  26467. var stringLen uint64
  26468. for shift := uint(0); ; shift += 7 {
  26469. if shift >= 64 {
  26470. return ErrIntOverflowGenerated
  26471. }
  26472. if iNdEx >= l {
  26473. return io.ErrUnexpectedEOF
  26474. }
  26475. b := dAtA[iNdEx]
  26476. iNdEx++
  26477. stringLen |= (uint64(b) & 0x7F) << shift
  26478. if b < 0x80 {
  26479. break
  26480. }
  26481. }
  26482. intStringLen := int(stringLen)
  26483. if intStringLen < 0 {
  26484. return ErrInvalidLengthGenerated
  26485. }
  26486. postIndex := iNdEx + intStringLen
  26487. if postIndex > l {
  26488. return io.ErrUnexpectedEOF
  26489. }
  26490. m.ISCSIInterface = string(dAtA[iNdEx:postIndex])
  26491. iNdEx = postIndex
  26492. case 5:
  26493. if wireType != 2 {
  26494. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  26495. }
  26496. var stringLen uint64
  26497. for shift := uint(0); ; shift += 7 {
  26498. if shift >= 64 {
  26499. return ErrIntOverflowGenerated
  26500. }
  26501. if iNdEx >= l {
  26502. return io.ErrUnexpectedEOF
  26503. }
  26504. b := dAtA[iNdEx]
  26505. iNdEx++
  26506. stringLen |= (uint64(b) & 0x7F) << shift
  26507. if b < 0x80 {
  26508. break
  26509. }
  26510. }
  26511. intStringLen := int(stringLen)
  26512. if intStringLen < 0 {
  26513. return ErrInvalidLengthGenerated
  26514. }
  26515. postIndex := iNdEx + intStringLen
  26516. if postIndex > l {
  26517. return io.ErrUnexpectedEOF
  26518. }
  26519. m.FSType = string(dAtA[iNdEx:postIndex])
  26520. iNdEx = postIndex
  26521. case 6:
  26522. if wireType != 0 {
  26523. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  26524. }
  26525. var v int
  26526. for shift := uint(0); ; shift += 7 {
  26527. if shift >= 64 {
  26528. return ErrIntOverflowGenerated
  26529. }
  26530. if iNdEx >= l {
  26531. return io.ErrUnexpectedEOF
  26532. }
  26533. b := dAtA[iNdEx]
  26534. iNdEx++
  26535. v |= (int(b) & 0x7F) << shift
  26536. if b < 0x80 {
  26537. break
  26538. }
  26539. }
  26540. m.ReadOnly = bool(v != 0)
  26541. case 7:
  26542. if wireType != 2 {
  26543. return fmt.Errorf("proto: wrong wireType = %d for field Portals", wireType)
  26544. }
  26545. var stringLen uint64
  26546. for shift := uint(0); ; shift += 7 {
  26547. if shift >= 64 {
  26548. return ErrIntOverflowGenerated
  26549. }
  26550. if iNdEx >= l {
  26551. return io.ErrUnexpectedEOF
  26552. }
  26553. b := dAtA[iNdEx]
  26554. iNdEx++
  26555. stringLen |= (uint64(b) & 0x7F) << shift
  26556. if b < 0x80 {
  26557. break
  26558. }
  26559. }
  26560. intStringLen := int(stringLen)
  26561. if intStringLen < 0 {
  26562. return ErrInvalidLengthGenerated
  26563. }
  26564. postIndex := iNdEx + intStringLen
  26565. if postIndex > l {
  26566. return io.ErrUnexpectedEOF
  26567. }
  26568. m.Portals = append(m.Portals, string(dAtA[iNdEx:postIndex]))
  26569. iNdEx = postIndex
  26570. case 8:
  26571. if wireType != 0 {
  26572. return fmt.Errorf("proto: wrong wireType = %d for field DiscoveryCHAPAuth", wireType)
  26573. }
  26574. var v int
  26575. for shift := uint(0); ; shift += 7 {
  26576. if shift >= 64 {
  26577. return ErrIntOverflowGenerated
  26578. }
  26579. if iNdEx >= l {
  26580. return io.ErrUnexpectedEOF
  26581. }
  26582. b := dAtA[iNdEx]
  26583. iNdEx++
  26584. v |= (int(b) & 0x7F) << shift
  26585. if b < 0x80 {
  26586. break
  26587. }
  26588. }
  26589. m.DiscoveryCHAPAuth = bool(v != 0)
  26590. case 10:
  26591. if wireType != 2 {
  26592. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  26593. }
  26594. var msglen int
  26595. for shift := uint(0); ; shift += 7 {
  26596. if shift >= 64 {
  26597. return ErrIntOverflowGenerated
  26598. }
  26599. if iNdEx >= l {
  26600. return io.ErrUnexpectedEOF
  26601. }
  26602. b := dAtA[iNdEx]
  26603. iNdEx++
  26604. msglen |= (int(b) & 0x7F) << shift
  26605. if b < 0x80 {
  26606. break
  26607. }
  26608. }
  26609. if msglen < 0 {
  26610. return ErrInvalidLengthGenerated
  26611. }
  26612. postIndex := iNdEx + msglen
  26613. if postIndex > l {
  26614. return io.ErrUnexpectedEOF
  26615. }
  26616. if m.SecretRef == nil {
  26617. m.SecretRef = &LocalObjectReference{}
  26618. }
  26619. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  26620. return err
  26621. }
  26622. iNdEx = postIndex
  26623. case 11:
  26624. if wireType != 0 {
  26625. return fmt.Errorf("proto: wrong wireType = %d for field SessionCHAPAuth", wireType)
  26626. }
  26627. var v int
  26628. for shift := uint(0); ; shift += 7 {
  26629. if shift >= 64 {
  26630. return ErrIntOverflowGenerated
  26631. }
  26632. if iNdEx >= l {
  26633. return io.ErrUnexpectedEOF
  26634. }
  26635. b := dAtA[iNdEx]
  26636. iNdEx++
  26637. v |= (int(b) & 0x7F) << shift
  26638. if b < 0x80 {
  26639. break
  26640. }
  26641. }
  26642. m.SessionCHAPAuth = bool(v != 0)
  26643. case 12:
  26644. if wireType != 2 {
  26645. return fmt.Errorf("proto: wrong wireType = %d for field InitiatorName", wireType)
  26646. }
  26647. var stringLen uint64
  26648. for shift := uint(0); ; shift += 7 {
  26649. if shift >= 64 {
  26650. return ErrIntOverflowGenerated
  26651. }
  26652. if iNdEx >= l {
  26653. return io.ErrUnexpectedEOF
  26654. }
  26655. b := dAtA[iNdEx]
  26656. iNdEx++
  26657. stringLen |= (uint64(b) & 0x7F) << shift
  26658. if b < 0x80 {
  26659. break
  26660. }
  26661. }
  26662. intStringLen := int(stringLen)
  26663. if intStringLen < 0 {
  26664. return ErrInvalidLengthGenerated
  26665. }
  26666. postIndex := iNdEx + intStringLen
  26667. if postIndex > l {
  26668. return io.ErrUnexpectedEOF
  26669. }
  26670. s := string(dAtA[iNdEx:postIndex])
  26671. m.InitiatorName = &s
  26672. iNdEx = postIndex
  26673. default:
  26674. iNdEx = preIndex
  26675. skippy, err := skipGenerated(dAtA[iNdEx:])
  26676. if err != nil {
  26677. return err
  26678. }
  26679. if skippy < 0 {
  26680. return ErrInvalidLengthGenerated
  26681. }
  26682. if (iNdEx + skippy) > l {
  26683. return io.ErrUnexpectedEOF
  26684. }
  26685. iNdEx += skippy
  26686. }
  26687. }
  26688. if iNdEx > l {
  26689. return io.ErrUnexpectedEOF
  26690. }
  26691. return nil
  26692. }
  26693. func (m *KeyToPath) Unmarshal(dAtA []byte) error {
  26694. l := len(dAtA)
  26695. iNdEx := 0
  26696. for iNdEx < l {
  26697. preIndex := iNdEx
  26698. var wire uint64
  26699. for shift := uint(0); ; shift += 7 {
  26700. if shift >= 64 {
  26701. return ErrIntOverflowGenerated
  26702. }
  26703. if iNdEx >= l {
  26704. return io.ErrUnexpectedEOF
  26705. }
  26706. b := dAtA[iNdEx]
  26707. iNdEx++
  26708. wire |= (uint64(b) & 0x7F) << shift
  26709. if b < 0x80 {
  26710. break
  26711. }
  26712. }
  26713. fieldNum := int32(wire >> 3)
  26714. wireType := int(wire & 0x7)
  26715. if wireType == 4 {
  26716. return fmt.Errorf("proto: KeyToPath: wiretype end group for non-group")
  26717. }
  26718. if fieldNum <= 0 {
  26719. return fmt.Errorf("proto: KeyToPath: illegal tag %d (wire type %d)", fieldNum, wire)
  26720. }
  26721. switch fieldNum {
  26722. case 1:
  26723. if wireType != 2 {
  26724. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  26725. }
  26726. var stringLen uint64
  26727. for shift := uint(0); ; shift += 7 {
  26728. if shift >= 64 {
  26729. return ErrIntOverflowGenerated
  26730. }
  26731. if iNdEx >= l {
  26732. return io.ErrUnexpectedEOF
  26733. }
  26734. b := dAtA[iNdEx]
  26735. iNdEx++
  26736. stringLen |= (uint64(b) & 0x7F) << shift
  26737. if b < 0x80 {
  26738. break
  26739. }
  26740. }
  26741. intStringLen := int(stringLen)
  26742. if intStringLen < 0 {
  26743. return ErrInvalidLengthGenerated
  26744. }
  26745. postIndex := iNdEx + intStringLen
  26746. if postIndex > l {
  26747. return io.ErrUnexpectedEOF
  26748. }
  26749. m.Key = string(dAtA[iNdEx:postIndex])
  26750. iNdEx = postIndex
  26751. case 2:
  26752. if wireType != 2 {
  26753. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  26754. }
  26755. var stringLen uint64
  26756. for shift := uint(0); ; shift += 7 {
  26757. if shift >= 64 {
  26758. return ErrIntOverflowGenerated
  26759. }
  26760. if iNdEx >= l {
  26761. return io.ErrUnexpectedEOF
  26762. }
  26763. b := dAtA[iNdEx]
  26764. iNdEx++
  26765. stringLen |= (uint64(b) & 0x7F) << shift
  26766. if b < 0x80 {
  26767. break
  26768. }
  26769. }
  26770. intStringLen := int(stringLen)
  26771. if intStringLen < 0 {
  26772. return ErrInvalidLengthGenerated
  26773. }
  26774. postIndex := iNdEx + intStringLen
  26775. if postIndex > l {
  26776. return io.ErrUnexpectedEOF
  26777. }
  26778. m.Path = string(dAtA[iNdEx:postIndex])
  26779. iNdEx = postIndex
  26780. case 3:
  26781. if wireType != 0 {
  26782. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  26783. }
  26784. var v int32
  26785. for shift := uint(0); ; shift += 7 {
  26786. if shift >= 64 {
  26787. return ErrIntOverflowGenerated
  26788. }
  26789. if iNdEx >= l {
  26790. return io.ErrUnexpectedEOF
  26791. }
  26792. b := dAtA[iNdEx]
  26793. iNdEx++
  26794. v |= (int32(b) & 0x7F) << shift
  26795. if b < 0x80 {
  26796. break
  26797. }
  26798. }
  26799. m.Mode = &v
  26800. default:
  26801. iNdEx = preIndex
  26802. skippy, err := skipGenerated(dAtA[iNdEx:])
  26803. if err != nil {
  26804. return err
  26805. }
  26806. if skippy < 0 {
  26807. return ErrInvalidLengthGenerated
  26808. }
  26809. if (iNdEx + skippy) > l {
  26810. return io.ErrUnexpectedEOF
  26811. }
  26812. iNdEx += skippy
  26813. }
  26814. }
  26815. if iNdEx > l {
  26816. return io.ErrUnexpectedEOF
  26817. }
  26818. return nil
  26819. }
  26820. func (m *Lifecycle) Unmarshal(dAtA []byte) error {
  26821. l := len(dAtA)
  26822. iNdEx := 0
  26823. for iNdEx < l {
  26824. preIndex := iNdEx
  26825. var wire uint64
  26826. for shift := uint(0); ; shift += 7 {
  26827. if shift >= 64 {
  26828. return ErrIntOverflowGenerated
  26829. }
  26830. if iNdEx >= l {
  26831. return io.ErrUnexpectedEOF
  26832. }
  26833. b := dAtA[iNdEx]
  26834. iNdEx++
  26835. wire |= (uint64(b) & 0x7F) << shift
  26836. if b < 0x80 {
  26837. break
  26838. }
  26839. }
  26840. fieldNum := int32(wire >> 3)
  26841. wireType := int(wire & 0x7)
  26842. if wireType == 4 {
  26843. return fmt.Errorf("proto: Lifecycle: wiretype end group for non-group")
  26844. }
  26845. if fieldNum <= 0 {
  26846. return fmt.Errorf("proto: Lifecycle: illegal tag %d (wire type %d)", fieldNum, wire)
  26847. }
  26848. switch fieldNum {
  26849. case 1:
  26850. if wireType != 2 {
  26851. return fmt.Errorf("proto: wrong wireType = %d for field PostStart", wireType)
  26852. }
  26853. var msglen int
  26854. for shift := uint(0); ; shift += 7 {
  26855. if shift >= 64 {
  26856. return ErrIntOverflowGenerated
  26857. }
  26858. if iNdEx >= l {
  26859. return io.ErrUnexpectedEOF
  26860. }
  26861. b := dAtA[iNdEx]
  26862. iNdEx++
  26863. msglen |= (int(b) & 0x7F) << shift
  26864. if b < 0x80 {
  26865. break
  26866. }
  26867. }
  26868. if msglen < 0 {
  26869. return ErrInvalidLengthGenerated
  26870. }
  26871. postIndex := iNdEx + msglen
  26872. if postIndex > l {
  26873. return io.ErrUnexpectedEOF
  26874. }
  26875. if m.PostStart == nil {
  26876. m.PostStart = &Handler{}
  26877. }
  26878. if err := m.PostStart.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  26879. return err
  26880. }
  26881. iNdEx = postIndex
  26882. case 2:
  26883. if wireType != 2 {
  26884. return fmt.Errorf("proto: wrong wireType = %d for field PreStop", wireType)
  26885. }
  26886. var msglen int
  26887. for shift := uint(0); ; shift += 7 {
  26888. if shift >= 64 {
  26889. return ErrIntOverflowGenerated
  26890. }
  26891. if iNdEx >= l {
  26892. return io.ErrUnexpectedEOF
  26893. }
  26894. b := dAtA[iNdEx]
  26895. iNdEx++
  26896. msglen |= (int(b) & 0x7F) << shift
  26897. if b < 0x80 {
  26898. break
  26899. }
  26900. }
  26901. if msglen < 0 {
  26902. return ErrInvalidLengthGenerated
  26903. }
  26904. postIndex := iNdEx + msglen
  26905. if postIndex > l {
  26906. return io.ErrUnexpectedEOF
  26907. }
  26908. if m.PreStop == nil {
  26909. m.PreStop = &Handler{}
  26910. }
  26911. if err := m.PreStop.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  26912. return err
  26913. }
  26914. iNdEx = postIndex
  26915. default:
  26916. iNdEx = preIndex
  26917. skippy, err := skipGenerated(dAtA[iNdEx:])
  26918. if err != nil {
  26919. return err
  26920. }
  26921. if skippy < 0 {
  26922. return ErrInvalidLengthGenerated
  26923. }
  26924. if (iNdEx + skippy) > l {
  26925. return io.ErrUnexpectedEOF
  26926. }
  26927. iNdEx += skippy
  26928. }
  26929. }
  26930. if iNdEx > l {
  26931. return io.ErrUnexpectedEOF
  26932. }
  26933. return nil
  26934. }
  26935. func (m *LimitRange) Unmarshal(dAtA []byte) error {
  26936. l := len(dAtA)
  26937. iNdEx := 0
  26938. for iNdEx < l {
  26939. preIndex := iNdEx
  26940. var wire uint64
  26941. for shift := uint(0); ; shift += 7 {
  26942. if shift >= 64 {
  26943. return ErrIntOverflowGenerated
  26944. }
  26945. if iNdEx >= l {
  26946. return io.ErrUnexpectedEOF
  26947. }
  26948. b := dAtA[iNdEx]
  26949. iNdEx++
  26950. wire |= (uint64(b) & 0x7F) << shift
  26951. if b < 0x80 {
  26952. break
  26953. }
  26954. }
  26955. fieldNum := int32(wire >> 3)
  26956. wireType := int(wire & 0x7)
  26957. if wireType == 4 {
  26958. return fmt.Errorf("proto: LimitRange: wiretype end group for non-group")
  26959. }
  26960. if fieldNum <= 0 {
  26961. return fmt.Errorf("proto: LimitRange: illegal tag %d (wire type %d)", fieldNum, wire)
  26962. }
  26963. switch fieldNum {
  26964. case 1:
  26965. if wireType != 2 {
  26966. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  26967. }
  26968. var msglen int
  26969. for shift := uint(0); ; shift += 7 {
  26970. if shift >= 64 {
  26971. return ErrIntOverflowGenerated
  26972. }
  26973. if iNdEx >= l {
  26974. return io.ErrUnexpectedEOF
  26975. }
  26976. b := dAtA[iNdEx]
  26977. iNdEx++
  26978. msglen |= (int(b) & 0x7F) << shift
  26979. if b < 0x80 {
  26980. break
  26981. }
  26982. }
  26983. if msglen < 0 {
  26984. return ErrInvalidLengthGenerated
  26985. }
  26986. postIndex := iNdEx + msglen
  26987. if postIndex > l {
  26988. return io.ErrUnexpectedEOF
  26989. }
  26990. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  26991. return err
  26992. }
  26993. iNdEx = postIndex
  26994. case 2:
  26995. if wireType != 2 {
  26996. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  26997. }
  26998. var msglen int
  26999. for shift := uint(0); ; shift += 7 {
  27000. if shift >= 64 {
  27001. return ErrIntOverflowGenerated
  27002. }
  27003. if iNdEx >= l {
  27004. return io.ErrUnexpectedEOF
  27005. }
  27006. b := dAtA[iNdEx]
  27007. iNdEx++
  27008. msglen |= (int(b) & 0x7F) << shift
  27009. if b < 0x80 {
  27010. break
  27011. }
  27012. }
  27013. if msglen < 0 {
  27014. return ErrInvalidLengthGenerated
  27015. }
  27016. postIndex := iNdEx + msglen
  27017. if postIndex > l {
  27018. return io.ErrUnexpectedEOF
  27019. }
  27020. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27021. return err
  27022. }
  27023. iNdEx = postIndex
  27024. default:
  27025. iNdEx = preIndex
  27026. skippy, err := skipGenerated(dAtA[iNdEx:])
  27027. if err != nil {
  27028. return err
  27029. }
  27030. if skippy < 0 {
  27031. return ErrInvalidLengthGenerated
  27032. }
  27033. if (iNdEx + skippy) > l {
  27034. return io.ErrUnexpectedEOF
  27035. }
  27036. iNdEx += skippy
  27037. }
  27038. }
  27039. if iNdEx > l {
  27040. return io.ErrUnexpectedEOF
  27041. }
  27042. return nil
  27043. }
  27044. func (m *LimitRangeItem) Unmarshal(dAtA []byte) error {
  27045. l := len(dAtA)
  27046. iNdEx := 0
  27047. for iNdEx < l {
  27048. preIndex := iNdEx
  27049. var wire uint64
  27050. for shift := uint(0); ; shift += 7 {
  27051. if shift >= 64 {
  27052. return ErrIntOverflowGenerated
  27053. }
  27054. if iNdEx >= l {
  27055. return io.ErrUnexpectedEOF
  27056. }
  27057. b := dAtA[iNdEx]
  27058. iNdEx++
  27059. wire |= (uint64(b) & 0x7F) << shift
  27060. if b < 0x80 {
  27061. break
  27062. }
  27063. }
  27064. fieldNum := int32(wire >> 3)
  27065. wireType := int(wire & 0x7)
  27066. if wireType == 4 {
  27067. return fmt.Errorf("proto: LimitRangeItem: wiretype end group for non-group")
  27068. }
  27069. if fieldNum <= 0 {
  27070. return fmt.Errorf("proto: LimitRangeItem: illegal tag %d (wire type %d)", fieldNum, wire)
  27071. }
  27072. switch fieldNum {
  27073. case 1:
  27074. if wireType != 2 {
  27075. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  27076. }
  27077. var stringLen uint64
  27078. for shift := uint(0); ; shift += 7 {
  27079. if shift >= 64 {
  27080. return ErrIntOverflowGenerated
  27081. }
  27082. if iNdEx >= l {
  27083. return io.ErrUnexpectedEOF
  27084. }
  27085. b := dAtA[iNdEx]
  27086. iNdEx++
  27087. stringLen |= (uint64(b) & 0x7F) << shift
  27088. if b < 0x80 {
  27089. break
  27090. }
  27091. }
  27092. intStringLen := int(stringLen)
  27093. if intStringLen < 0 {
  27094. return ErrInvalidLengthGenerated
  27095. }
  27096. postIndex := iNdEx + intStringLen
  27097. if postIndex > l {
  27098. return io.ErrUnexpectedEOF
  27099. }
  27100. m.Type = LimitType(dAtA[iNdEx:postIndex])
  27101. iNdEx = postIndex
  27102. case 2:
  27103. if wireType != 2 {
  27104. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  27105. }
  27106. var msglen int
  27107. for shift := uint(0); ; shift += 7 {
  27108. if shift >= 64 {
  27109. return ErrIntOverflowGenerated
  27110. }
  27111. if iNdEx >= l {
  27112. return io.ErrUnexpectedEOF
  27113. }
  27114. b := dAtA[iNdEx]
  27115. iNdEx++
  27116. msglen |= (int(b) & 0x7F) << shift
  27117. if b < 0x80 {
  27118. break
  27119. }
  27120. }
  27121. if msglen < 0 {
  27122. return ErrInvalidLengthGenerated
  27123. }
  27124. postIndex := iNdEx + msglen
  27125. if postIndex > l {
  27126. return io.ErrUnexpectedEOF
  27127. }
  27128. var keykey uint64
  27129. for shift := uint(0); ; shift += 7 {
  27130. if shift >= 64 {
  27131. return ErrIntOverflowGenerated
  27132. }
  27133. if iNdEx >= l {
  27134. return io.ErrUnexpectedEOF
  27135. }
  27136. b := dAtA[iNdEx]
  27137. iNdEx++
  27138. keykey |= (uint64(b) & 0x7F) << shift
  27139. if b < 0x80 {
  27140. break
  27141. }
  27142. }
  27143. var stringLenmapkey uint64
  27144. for shift := uint(0); ; shift += 7 {
  27145. if shift >= 64 {
  27146. return ErrIntOverflowGenerated
  27147. }
  27148. if iNdEx >= l {
  27149. return io.ErrUnexpectedEOF
  27150. }
  27151. b := dAtA[iNdEx]
  27152. iNdEx++
  27153. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27154. if b < 0x80 {
  27155. break
  27156. }
  27157. }
  27158. intStringLenmapkey := int(stringLenmapkey)
  27159. if intStringLenmapkey < 0 {
  27160. return ErrInvalidLengthGenerated
  27161. }
  27162. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27163. if postStringIndexmapkey > l {
  27164. return io.ErrUnexpectedEOF
  27165. }
  27166. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  27167. iNdEx = postStringIndexmapkey
  27168. if m.Max == nil {
  27169. m.Max = make(ResourceList)
  27170. }
  27171. if iNdEx < postIndex {
  27172. var valuekey uint64
  27173. for shift := uint(0); ; shift += 7 {
  27174. if shift >= 64 {
  27175. return ErrIntOverflowGenerated
  27176. }
  27177. if iNdEx >= l {
  27178. return io.ErrUnexpectedEOF
  27179. }
  27180. b := dAtA[iNdEx]
  27181. iNdEx++
  27182. valuekey |= (uint64(b) & 0x7F) << shift
  27183. if b < 0x80 {
  27184. break
  27185. }
  27186. }
  27187. var mapmsglen int
  27188. for shift := uint(0); ; shift += 7 {
  27189. if shift >= 64 {
  27190. return ErrIntOverflowGenerated
  27191. }
  27192. if iNdEx >= l {
  27193. return io.ErrUnexpectedEOF
  27194. }
  27195. b := dAtA[iNdEx]
  27196. iNdEx++
  27197. mapmsglen |= (int(b) & 0x7F) << shift
  27198. if b < 0x80 {
  27199. break
  27200. }
  27201. }
  27202. if mapmsglen < 0 {
  27203. return ErrInvalidLengthGenerated
  27204. }
  27205. postmsgIndex := iNdEx + mapmsglen
  27206. if mapmsglen < 0 {
  27207. return ErrInvalidLengthGenerated
  27208. }
  27209. if postmsgIndex > l {
  27210. return io.ErrUnexpectedEOF
  27211. }
  27212. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  27213. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  27214. return err
  27215. }
  27216. iNdEx = postmsgIndex
  27217. m.Max[ResourceName(mapkey)] = *mapvalue
  27218. } else {
  27219. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  27220. m.Max[ResourceName(mapkey)] = mapvalue
  27221. }
  27222. iNdEx = postIndex
  27223. case 3:
  27224. if wireType != 2 {
  27225. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  27226. }
  27227. var msglen int
  27228. for shift := uint(0); ; shift += 7 {
  27229. if shift >= 64 {
  27230. return ErrIntOverflowGenerated
  27231. }
  27232. if iNdEx >= l {
  27233. return io.ErrUnexpectedEOF
  27234. }
  27235. b := dAtA[iNdEx]
  27236. iNdEx++
  27237. msglen |= (int(b) & 0x7F) << shift
  27238. if b < 0x80 {
  27239. break
  27240. }
  27241. }
  27242. if msglen < 0 {
  27243. return ErrInvalidLengthGenerated
  27244. }
  27245. postIndex := iNdEx + msglen
  27246. if postIndex > l {
  27247. return io.ErrUnexpectedEOF
  27248. }
  27249. var keykey uint64
  27250. for shift := uint(0); ; shift += 7 {
  27251. if shift >= 64 {
  27252. return ErrIntOverflowGenerated
  27253. }
  27254. if iNdEx >= l {
  27255. return io.ErrUnexpectedEOF
  27256. }
  27257. b := dAtA[iNdEx]
  27258. iNdEx++
  27259. keykey |= (uint64(b) & 0x7F) << shift
  27260. if b < 0x80 {
  27261. break
  27262. }
  27263. }
  27264. var stringLenmapkey uint64
  27265. for shift := uint(0); ; shift += 7 {
  27266. if shift >= 64 {
  27267. return ErrIntOverflowGenerated
  27268. }
  27269. if iNdEx >= l {
  27270. return io.ErrUnexpectedEOF
  27271. }
  27272. b := dAtA[iNdEx]
  27273. iNdEx++
  27274. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27275. if b < 0x80 {
  27276. break
  27277. }
  27278. }
  27279. intStringLenmapkey := int(stringLenmapkey)
  27280. if intStringLenmapkey < 0 {
  27281. return ErrInvalidLengthGenerated
  27282. }
  27283. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27284. if postStringIndexmapkey > l {
  27285. return io.ErrUnexpectedEOF
  27286. }
  27287. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  27288. iNdEx = postStringIndexmapkey
  27289. if m.Min == nil {
  27290. m.Min = make(ResourceList)
  27291. }
  27292. if iNdEx < postIndex {
  27293. var valuekey uint64
  27294. for shift := uint(0); ; shift += 7 {
  27295. if shift >= 64 {
  27296. return ErrIntOverflowGenerated
  27297. }
  27298. if iNdEx >= l {
  27299. return io.ErrUnexpectedEOF
  27300. }
  27301. b := dAtA[iNdEx]
  27302. iNdEx++
  27303. valuekey |= (uint64(b) & 0x7F) << shift
  27304. if b < 0x80 {
  27305. break
  27306. }
  27307. }
  27308. var mapmsglen int
  27309. for shift := uint(0); ; shift += 7 {
  27310. if shift >= 64 {
  27311. return ErrIntOverflowGenerated
  27312. }
  27313. if iNdEx >= l {
  27314. return io.ErrUnexpectedEOF
  27315. }
  27316. b := dAtA[iNdEx]
  27317. iNdEx++
  27318. mapmsglen |= (int(b) & 0x7F) << shift
  27319. if b < 0x80 {
  27320. break
  27321. }
  27322. }
  27323. if mapmsglen < 0 {
  27324. return ErrInvalidLengthGenerated
  27325. }
  27326. postmsgIndex := iNdEx + mapmsglen
  27327. if mapmsglen < 0 {
  27328. return ErrInvalidLengthGenerated
  27329. }
  27330. if postmsgIndex > l {
  27331. return io.ErrUnexpectedEOF
  27332. }
  27333. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  27334. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  27335. return err
  27336. }
  27337. iNdEx = postmsgIndex
  27338. m.Min[ResourceName(mapkey)] = *mapvalue
  27339. } else {
  27340. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  27341. m.Min[ResourceName(mapkey)] = mapvalue
  27342. }
  27343. iNdEx = postIndex
  27344. case 4:
  27345. if wireType != 2 {
  27346. return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType)
  27347. }
  27348. var msglen int
  27349. for shift := uint(0); ; shift += 7 {
  27350. if shift >= 64 {
  27351. return ErrIntOverflowGenerated
  27352. }
  27353. if iNdEx >= l {
  27354. return io.ErrUnexpectedEOF
  27355. }
  27356. b := dAtA[iNdEx]
  27357. iNdEx++
  27358. msglen |= (int(b) & 0x7F) << shift
  27359. if b < 0x80 {
  27360. break
  27361. }
  27362. }
  27363. if msglen < 0 {
  27364. return ErrInvalidLengthGenerated
  27365. }
  27366. postIndex := iNdEx + msglen
  27367. if postIndex > l {
  27368. return io.ErrUnexpectedEOF
  27369. }
  27370. var keykey uint64
  27371. for shift := uint(0); ; shift += 7 {
  27372. if shift >= 64 {
  27373. return ErrIntOverflowGenerated
  27374. }
  27375. if iNdEx >= l {
  27376. return io.ErrUnexpectedEOF
  27377. }
  27378. b := dAtA[iNdEx]
  27379. iNdEx++
  27380. keykey |= (uint64(b) & 0x7F) << shift
  27381. if b < 0x80 {
  27382. break
  27383. }
  27384. }
  27385. var stringLenmapkey uint64
  27386. for shift := uint(0); ; shift += 7 {
  27387. if shift >= 64 {
  27388. return ErrIntOverflowGenerated
  27389. }
  27390. if iNdEx >= l {
  27391. return io.ErrUnexpectedEOF
  27392. }
  27393. b := dAtA[iNdEx]
  27394. iNdEx++
  27395. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27396. if b < 0x80 {
  27397. break
  27398. }
  27399. }
  27400. intStringLenmapkey := int(stringLenmapkey)
  27401. if intStringLenmapkey < 0 {
  27402. return ErrInvalidLengthGenerated
  27403. }
  27404. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27405. if postStringIndexmapkey > l {
  27406. return io.ErrUnexpectedEOF
  27407. }
  27408. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  27409. iNdEx = postStringIndexmapkey
  27410. if m.Default == nil {
  27411. m.Default = make(ResourceList)
  27412. }
  27413. if iNdEx < postIndex {
  27414. var valuekey uint64
  27415. for shift := uint(0); ; shift += 7 {
  27416. if shift >= 64 {
  27417. return ErrIntOverflowGenerated
  27418. }
  27419. if iNdEx >= l {
  27420. return io.ErrUnexpectedEOF
  27421. }
  27422. b := dAtA[iNdEx]
  27423. iNdEx++
  27424. valuekey |= (uint64(b) & 0x7F) << shift
  27425. if b < 0x80 {
  27426. break
  27427. }
  27428. }
  27429. var mapmsglen int
  27430. for shift := uint(0); ; shift += 7 {
  27431. if shift >= 64 {
  27432. return ErrIntOverflowGenerated
  27433. }
  27434. if iNdEx >= l {
  27435. return io.ErrUnexpectedEOF
  27436. }
  27437. b := dAtA[iNdEx]
  27438. iNdEx++
  27439. mapmsglen |= (int(b) & 0x7F) << shift
  27440. if b < 0x80 {
  27441. break
  27442. }
  27443. }
  27444. if mapmsglen < 0 {
  27445. return ErrInvalidLengthGenerated
  27446. }
  27447. postmsgIndex := iNdEx + mapmsglen
  27448. if mapmsglen < 0 {
  27449. return ErrInvalidLengthGenerated
  27450. }
  27451. if postmsgIndex > l {
  27452. return io.ErrUnexpectedEOF
  27453. }
  27454. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  27455. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  27456. return err
  27457. }
  27458. iNdEx = postmsgIndex
  27459. m.Default[ResourceName(mapkey)] = *mapvalue
  27460. } else {
  27461. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  27462. m.Default[ResourceName(mapkey)] = mapvalue
  27463. }
  27464. iNdEx = postIndex
  27465. case 5:
  27466. if wireType != 2 {
  27467. return fmt.Errorf("proto: wrong wireType = %d for field DefaultRequest", wireType)
  27468. }
  27469. var msglen int
  27470. for shift := uint(0); ; shift += 7 {
  27471. if shift >= 64 {
  27472. return ErrIntOverflowGenerated
  27473. }
  27474. if iNdEx >= l {
  27475. return io.ErrUnexpectedEOF
  27476. }
  27477. b := dAtA[iNdEx]
  27478. iNdEx++
  27479. msglen |= (int(b) & 0x7F) << shift
  27480. if b < 0x80 {
  27481. break
  27482. }
  27483. }
  27484. if msglen < 0 {
  27485. return ErrInvalidLengthGenerated
  27486. }
  27487. postIndex := iNdEx + msglen
  27488. if postIndex > l {
  27489. return io.ErrUnexpectedEOF
  27490. }
  27491. var keykey uint64
  27492. for shift := uint(0); ; shift += 7 {
  27493. if shift >= 64 {
  27494. return ErrIntOverflowGenerated
  27495. }
  27496. if iNdEx >= l {
  27497. return io.ErrUnexpectedEOF
  27498. }
  27499. b := dAtA[iNdEx]
  27500. iNdEx++
  27501. keykey |= (uint64(b) & 0x7F) << shift
  27502. if b < 0x80 {
  27503. break
  27504. }
  27505. }
  27506. var stringLenmapkey uint64
  27507. for shift := uint(0); ; shift += 7 {
  27508. if shift >= 64 {
  27509. return ErrIntOverflowGenerated
  27510. }
  27511. if iNdEx >= l {
  27512. return io.ErrUnexpectedEOF
  27513. }
  27514. b := dAtA[iNdEx]
  27515. iNdEx++
  27516. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27517. if b < 0x80 {
  27518. break
  27519. }
  27520. }
  27521. intStringLenmapkey := int(stringLenmapkey)
  27522. if intStringLenmapkey < 0 {
  27523. return ErrInvalidLengthGenerated
  27524. }
  27525. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27526. if postStringIndexmapkey > l {
  27527. return io.ErrUnexpectedEOF
  27528. }
  27529. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  27530. iNdEx = postStringIndexmapkey
  27531. if m.DefaultRequest == nil {
  27532. m.DefaultRequest = make(ResourceList)
  27533. }
  27534. if iNdEx < postIndex {
  27535. var valuekey uint64
  27536. for shift := uint(0); ; shift += 7 {
  27537. if shift >= 64 {
  27538. return ErrIntOverflowGenerated
  27539. }
  27540. if iNdEx >= l {
  27541. return io.ErrUnexpectedEOF
  27542. }
  27543. b := dAtA[iNdEx]
  27544. iNdEx++
  27545. valuekey |= (uint64(b) & 0x7F) << shift
  27546. if b < 0x80 {
  27547. break
  27548. }
  27549. }
  27550. var mapmsglen int
  27551. for shift := uint(0); ; shift += 7 {
  27552. if shift >= 64 {
  27553. return ErrIntOverflowGenerated
  27554. }
  27555. if iNdEx >= l {
  27556. return io.ErrUnexpectedEOF
  27557. }
  27558. b := dAtA[iNdEx]
  27559. iNdEx++
  27560. mapmsglen |= (int(b) & 0x7F) << shift
  27561. if b < 0x80 {
  27562. break
  27563. }
  27564. }
  27565. if mapmsglen < 0 {
  27566. return ErrInvalidLengthGenerated
  27567. }
  27568. postmsgIndex := iNdEx + mapmsglen
  27569. if mapmsglen < 0 {
  27570. return ErrInvalidLengthGenerated
  27571. }
  27572. if postmsgIndex > l {
  27573. return io.ErrUnexpectedEOF
  27574. }
  27575. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  27576. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  27577. return err
  27578. }
  27579. iNdEx = postmsgIndex
  27580. m.DefaultRequest[ResourceName(mapkey)] = *mapvalue
  27581. } else {
  27582. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  27583. m.DefaultRequest[ResourceName(mapkey)] = mapvalue
  27584. }
  27585. iNdEx = postIndex
  27586. case 6:
  27587. if wireType != 2 {
  27588. return fmt.Errorf("proto: wrong wireType = %d for field MaxLimitRequestRatio", wireType)
  27589. }
  27590. var msglen int
  27591. for shift := uint(0); ; shift += 7 {
  27592. if shift >= 64 {
  27593. return ErrIntOverflowGenerated
  27594. }
  27595. if iNdEx >= l {
  27596. return io.ErrUnexpectedEOF
  27597. }
  27598. b := dAtA[iNdEx]
  27599. iNdEx++
  27600. msglen |= (int(b) & 0x7F) << shift
  27601. if b < 0x80 {
  27602. break
  27603. }
  27604. }
  27605. if msglen < 0 {
  27606. return ErrInvalidLengthGenerated
  27607. }
  27608. postIndex := iNdEx + msglen
  27609. if postIndex > l {
  27610. return io.ErrUnexpectedEOF
  27611. }
  27612. var keykey uint64
  27613. for shift := uint(0); ; shift += 7 {
  27614. if shift >= 64 {
  27615. return ErrIntOverflowGenerated
  27616. }
  27617. if iNdEx >= l {
  27618. return io.ErrUnexpectedEOF
  27619. }
  27620. b := dAtA[iNdEx]
  27621. iNdEx++
  27622. keykey |= (uint64(b) & 0x7F) << shift
  27623. if b < 0x80 {
  27624. break
  27625. }
  27626. }
  27627. var stringLenmapkey uint64
  27628. for shift := uint(0); ; shift += 7 {
  27629. if shift >= 64 {
  27630. return ErrIntOverflowGenerated
  27631. }
  27632. if iNdEx >= l {
  27633. return io.ErrUnexpectedEOF
  27634. }
  27635. b := dAtA[iNdEx]
  27636. iNdEx++
  27637. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  27638. if b < 0x80 {
  27639. break
  27640. }
  27641. }
  27642. intStringLenmapkey := int(stringLenmapkey)
  27643. if intStringLenmapkey < 0 {
  27644. return ErrInvalidLengthGenerated
  27645. }
  27646. postStringIndexmapkey := iNdEx + intStringLenmapkey
  27647. if postStringIndexmapkey > l {
  27648. return io.ErrUnexpectedEOF
  27649. }
  27650. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  27651. iNdEx = postStringIndexmapkey
  27652. if m.MaxLimitRequestRatio == nil {
  27653. m.MaxLimitRequestRatio = make(ResourceList)
  27654. }
  27655. if iNdEx < postIndex {
  27656. var valuekey uint64
  27657. for shift := uint(0); ; shift += 7 {
  27658. if shift >= 64 {
  27659. return ErrIntOverflowGenerated
  27660. }
  27661. if iNdEx >= l {
  27662. return io.ErrUnexpectedEOF
  27663. }
  27664. b := dAtA[iNdEx]
  27665. iNdEx++
  27666. valuekey |= (uint64(b) & 0x7F) << shift
  27667. if b < 0x80 {
  27668. break
  27669. }
  27670. }
  27671. var mapmsglen int
  27672. for shift := uint(0); ; shift += 7 {
  27673. if shift >= 64 {
  27674. return ErrIntOverflowGenerated
  27675. }
  27676. if iNdEx >= l {
  27677. return io.ErrUnexpectedEOF
  27678. }
  27679. b := dAtA[iNdEx]
  27680. iNdEx++
  27681. mapmsglen |= (int(b) & 0x7F) << shift
  27682. if b < 0x80 {
  27683. break
  27684. }
  27685. }
  27686. if mapmsglen < 0 {
  27687. return ErrInvalidLengthGenerated
  27688. }
  27689. postmsgIndex := iNdEx + mapmsglen
  27690. if mapmsglen < 0 {
  27691. return ErrInvalidLengthGenerated
  27692. }
  27693. if postmsgIndex > l {
  27694. return io.ErrUnexpectedEOF
  27695. }
  27696. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  27697. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  27698. return err
  27699. }
  27700. iNdEx = postmsgIndex
  27701. m.MaxLimitRequestRatio[ResourceName(mapkey)] = *mapvalue
  27702. } else {
  27703. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  27704. m.MaxLimitRequestRatio[ResourceName(mapkey)] = mapvalue
  27705. }
  27706. iNdEx = postIndex
  27707. default:
  27708. iNdEx = preIndex
  27709. skippy, err := skipGenerated(dAtA[iNdEx:])
  27710. if err != nil {
  27711. return err
  27712. }
  27713. if skippy < 0 {
  27714. return ErrInvalidLengthGenerated
  27715. }
  27716. if (iNdEx + skippy) > l {
  27717. return io.ErrUnexpectedEOF
  27718. }
  27719. iNdEx += skippy
  27720. }
  27721. }
  27722. if iNdEx > l {
  27723. return io.ErrUnexpectedEOF
  27724. }
  27725. return nil
  27726. }
  27727. func (m *LimitRangeList) Unmarshal(dAtA []byte) error {
  27728. l := len(dAtA)
  27729. iNdEx := 0
  27730. for iNdEx < l {
  27731. preIndex := iNdEx
  27732. var wire uint64
  27733. for shift := uint(0); ; shift += 7 {
  27734. if shift >= 64 {
  27735. return ErrIntOverflowGenerated
  27736. }
  27737. if iNdEx >= l {
  27738. return io.ErrUnexpectedEOF
  27739. }
  27740. b := dAtA[iNdEx]
  27741. iNdEx++
  27742. wire |= (uint64(b) & 0x7F) << shift
  27743. if b < 0x80 {
  27744. break
  27745. }
  27746. }
  27747. fieldNum := int32(wire >> 3)
  27748. wireType := int(wire & 0x7)
  27749. if wireType == 4 {
  27750. return fmt.Errorf("proto: LimitRangeList: wiretype end group for non-group")
  27751. }
  27752. if fieldNum <= 0 {
  27753. return fmt.Errorf("proto: LimitRangeList: illegal tag %d (wire type %d)", fieldNum, wire)
  27754. }
  27755. switch fieldNum {
  27756. case 1:
  27757. if wireType != 2 {
  27758. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  27759. }
  27760. var msglen int
  27761. for shift := uint(0); ; shift += 7 {
  27762. if shift >= 64 {
  27763. return ErrIntOverflowGenerated
  27764. }
  27765. if iNdEx >= l {
  27766. return io.ErrUnexpectedEOF
  27767. }
  27768. b := dAtA[iNdEx]
  27769. iNdEx++
  27770. msglen |= (int(b) & 0x7F) << shift
  27771. if b < 0x80 {
  27772. break
  27773. }
  27774. }
  27775. if msglen < 0 {
  27776. return ErrInvalidLengthGenerated
  27777. }
  27778. postIndex := iNdEx + msglen
  27779. if postIndex > l {
  27780. return io.ErrUnexpectedEOF
  27781. }
  27782. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27783. return err
  27784. }
  27785. iNdEx = postIndex
  27786. case 2:
  27787. if wireType != 2 {
  27788. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  27789. }
  27790. var msglen int
  27791. for shift := uint(0); ; shift += 7 {
  27792. if shift >= 64 {
  27793. return ErrIntOverflowGenerated
  27794. }
  27795. if iNdEx >= l {
  27796. return io.ErrUnexpectedEOF
  27797. }
  27798. b := dAtA[iNdEx]
  27799. iNdEx++
  27800. msglen |= (int(b) & 0x7F) << shift
  27801. if b < 0x80 {
  27802. break
  27803. }
  27804. }
  27805. if msglen < 0 {
  27806. return ErrInvalidLengthGenerated
  27807. }
  27808. postIndex := iNdEx + msglen
  27809. if postIndex > l {
  27810. return io.ErrUnexpectedEOF
  27811. }
  27812. m.Items = append(m.Items, LimitRange{})
  27813. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27814. return err
  27815. }
  27816. iNdEx = postIndex
  27817. default:
  27818. iNdEx = preIndex
  27819. skippy, err := skipGenerated(dAtA[iNdEx:])
  27820. if err != nil {
  27821. return err
  27822. }
  27823. if skippy < 0 {
  27824. return ErrInvalidLengthGenerated
  27825. }
  27826. if (iNdEx + skippy) > l {
  27827. return io.ErrUnexpectedEOF
  27828. }
  27829. iNdEx += skippy
  27830. }
  27831. }
  27832. if iNdEx > l {
  27833. return io.ErrUnexpectedEOF
  27834. }
  27835. return nil
  27836. }
  27837. func (m *LimitRangeSpec) Unmarshal(dAtA []byte) error {
  27838. l := len(dAtA)
  27839. iNdEx := 0
  27840. for iNdEx < l {
  27841. preIndex := iNdEx
  27842. var wire uint64
  27843. for shift := uint(0); ; shift += 7 {
  27844. if shift >= 64 {
  27845. return ErrIntOverflowGenerated
  27846. }
  27847. if iNdEx >= l {
  27848. return io.ErrUnexpectedEOF
  27849. }
  27850. b := dAtA[iNdEx]
  27851. iNdEx++
  27852. wire |= (uint64(b) & 0x7F) << shift
  27853. if b < 0x80 {
  27854. break
  27855. }
  27856. }
  27857. fieldNum := int32(wire >> 3)
  27858. wireType := int(wire & 0x7)
  27859. if wireType == 4 {
  27860. return fmt.Errorf("proto: LimitRangeSpec: wiretype end group for non-group")
  27861. }
  27862. if fieldNum <= 0 {
  27863. return fmt.Errorf("proto: LimitRangeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  27864. }
  27865. switch fieldNum {
  27866. case 1:
  27867. if wireType != 2 {
  27868. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  27869. }
  27870. var msglen int
  27871. for shift := uint(0); ; shift += 7 {
  27872. if shift >= 64 {
  27873. return ErrIntOverflowGenerated
  27874. }
  27875. if iNdEx >= l {
  27876. return io.ErrUnexpectedEOF
  27877. }
  27878. b := dAtA[iNdEx]
  27879. iNdEx++
  27880. msglen |= (int(b) & 0x7F) << shift
  27881. if b < 0x80 {
  27882. break
  27883. }
  27884. }
  27885. if msglen < 0 {
  27886. return ErrInvalidLengthGenerated
  27887. }
  27888. postIndex := iNdEx + msglen
  27889. if postIndex > l {
  27890. return io.ErrUnexpectedEOF
  27891. }
  27892. m.Limits = append(m.Limits, LimitRangeItem{})
  27893. if err := m.Limits[len(m.Limits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27894. return err
  27895. }
  27896. iNdEx = postIndex
  27897. default:
  27898. iNdEx = preIndex
  27899. skippy, err := skipGenerated(dAtA[iNdEx:])
  27900. if err != nil {
  27901. return err
  27902. }
  27903. if skippy < 0 {
  27904. return ErrInvalidLengthGenerated
  27905. }
  27906. if (iNdEx + skippy) > l {
  27907. return io.ErrUnexpectedEOF
  27908. }
  27909. iNdEx += skippy
  27910. }
  27911. }
  27912. if iNdEx > l {
  27913. return io.ErrUnexpectedEOF
  27914. }
  27915. return nil
  27916. }
  27917. func (m *List) Unmarshal(dAtA []byte) error {
  27918. l := len(dAtA)
  27919. iNdEx := 0
  27920. for iNdEx < l {
  27921. preIndex := iNdEx
  27922. var wire uint64
  27923. for shift := uint(0); ; shift += 7 {
  27924. if shift >= 64 {
  27925. return ErrIntOverflowGenerated
  27926. }
  27927. if iNdEx >= l {
  27928. return io.ErrUnexpectedEOF
  27929. }
  27930. b := dAtA[iNdEx]
  27931. iNdEx++
  27932. wire |= (uint64(b) & 0x7F) << shift
  27933. if b < 0x80 {
  27934. break
  27935. }
  27936. }
  27937. fieldNum := int32(wire >> 3)
  27938. wireType := int(wire & 0x7)
  27939. if wireType == 4 {
  27940. return fmt.Errorf("proto: List: wiretype end group for non-group")
  27941. }
  27942. if fieldNum <= 0 {
  27943. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  27944. }
  27945. switch fieldNum {
  27946. case 1:
  27947. if wireType != 2 {
  27948. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  27949. }
  27950. var msglen int
  27951. for shift := uint(0); ; shift += 7 {
  27952. if shift >= 64 {
  27953. return ErrIntOverflowGenerated
  27954. }
  27955. if iNdEx >= l {
  27956. return io.ErrUnexpectedEOF
  27957. }
  27958. b := dAtA[iNdEx]
  27959. iNdEx++
  27960. msglen |= (int(b) & 0x7F) << shift
  27961. if b < 0x80 {
  27962. break
  27963. }
  27964. }
  27965. if msglen < 0 {
  27966. return ErrInvalidLengthGenerated
  27967. }
  27968. postIndex := iNdEx + msglen
  27969. if postIndex > l {
  27970. return io.ErrUnexpectedEOF
  27971. }
  27972. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  27973. return err
  27974. }
  27975. iNdEx = postIndex
  27976. case 2:
  27977. if wireType != 2 {
  27978. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  27979. }
  27980. var msglen int
  27981. for shift := uint(0); ; shift += 7 {
  27982. if shift >= 64 {
  27983. return ErrIntOverflowGenerated
  27984. }
  27985. if iNdEx >= l {
  27986. return io.ErrUnexpectedEOF
  27987. }
  27988. b := dAtA[iNdEx]
  27989. iNdEx++
  27990. msglen |= (int(b) & 0x7F) << shift
  27991. if b < 0x80 {
  27992. break
  27993. }
  27994. }
  27995. if msglen < 0 {
  27996. return ErrInvalidLengthGenerated
  27997. }
  27998. postIndex := iNdEx + msglen
  27999. if postIndex > l {
  28000. return io.ErrUnexpectedEOF
  28001. }
  28002. m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{})
  28003. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28004. return err
  28005. }
  28006. iNdEx = postIndex
  28007. default:
  28008. iNdEx = preIndex
  28009. skippy, err := skipGenerated(dAtA[iNdEx:])
  28010. if err != nil {
  28011. return err
  28012. }
  28013. if skippy < 0 {
  28014. return ErrInvalidLengthGenerated
  28015. }
  28016. if (iNdEx + skippy) > l {
  28017. return io.ErrUnexpectedEOF
  28018. }
  28019. iNdEx += skippy
  28020. }
  28021. }
  28022. if iNdEx > l {
  28023. return io.ErrUnexpectedEOF
  28024. }
  28025. return nil
  28026. }
  28027. func (m *ListOptions) Unmarshal(dAtA []byte) error {
  28028. l := len(dAtA)
  28029. iNdEx := 0
  28030. for iNdEx < l {
  28031. preIndex := iNdEx
  28032. var wire uint64
  28033. for shift := uint(0); ; shift += 7 {
  28034. if shift >= 64 {
  28035. return ErrIntOverflowGenerated
  28036. }
  28037. if iNdEx >= l {
  28038. return io.ErrUnexpectedEOF
  28039. }
  28040. b := dAtA[iNdEx]
  28041. iNdEx++
  28042. wire |= (uint64(b) & 0x7F) << shift
  28043. if b < 0x80 {
  28044. break
  28045. }
  28046. }
  28047. fieldNum := int32(wire >> 3)
  28048. wireType := int(wire & 0x7)
  28049. if wireType == 4 {
  28050. return fmt.Errorf("proto: ListOptions: wiretype end group for non-group")
  28051. }
  28052. if fieldNum <= 0 {
  28053. return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  28054. }
  28055. switch fieldNum {
  28056. case 1:
  28057. if wireType != 2 {
  28058. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  28059. }
  28060. var stringLen uint64
  28061. for shift := uint(0); ; shift += 7 {
  28062. if shift >= 64 {
  28063. return ErrIntOverflowGenerated
  28064. }
  28065. if iNdEx >= l {
  28066. return io.ErrUnexpectedEOF
  28067. }
  28068. b := dAtA[iNdEx]
  28069. iNdEx++
  28070. stringLen |= (uint64(b) & 0x7F) << shift
  28071. if b < 0x80 {
  28072. break
  28073. }
  28074. }
  28075. intStringLen := int(stringLen)
  28076. if intStringLen < 0 {
  28077. return ErrInvalidLengthGenerated
  28078. }
  28079. postIndex := iNdEx + intStringLen
  28080. if postIndex > l {
  28081. return io.ErrUnexpectedEOF
  28082. }
  28083. m.LabelSelector = string(dAtA[iNdEx:postIndex])
  28084. iNdEx = postIndex
  28085. case 2:
  28086. if wireType != 2 {
  28087. return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType)
  28088. }
  28089. var stringLen uint64
  28090. for shift := uint(0); ; shift += 7 {
  28091. if shift >= 64 {
  28092. return ErrIntOverflowGenerated
  28093. }
  28094. if iNdEx >= l {
  28095. return io.ErrUnexpectedEOF
  28096. }
  28097. b := dAtA[iNdEx]
  28098. iNdEx++
  28099. stringLen |= (uint64(b) & 0x7F) << shift
  28100. if b < 0x80 {
  28101. break
  28102. }
  28103. }
  28104. intStringLen := int(stringLen)
  28105. if intStringLen < 0 {
  28106. return ErrInvalidLengthGenerated
  28107. }
  28108. postIndex := iNdEx + intStringLen
  28109. if postIndex > l {
  28110. return io.ErrUnexpectedEOF
  28111. }
  28112. m.FieldSelector = string(dAtA[iNdEx:postIndex])
  28113. iNdEx = postIndex
  28114. case 3:
  28115. if wireType != 0 {
  28116. return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType)
  28117. }
  28118. var v int
  28119. for shift := uint(0); ; shift += 7 {
  28120. if shift >= 64 {
  28121. return ErrIntOverflowGenerated
  28122. }
  28123. if iNdEx >= l {
  28124. return io.ErrUnexpectedEOF
  28125. }
  28126. b := dAtA[iNdEx]
  28127. iNdEx++
  28128. v |= (int(b) & 0x7F) << shift
  28129. if b < 0x80 {
  28130. break
  28131. }
  28132. }
  28133. m.Watch = bool(v != 0)
  28134. case 4:
  28135. if wireType != 2 {
  28136. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  28137. }
  28138. var stringLen uint64
  28139. for shift := uint(0); ; shift += 7 {
  28140. if shift >= 64 {
  28141. return ErrIntOverflowGenerated
  28142. }
  28143. if iNdEx >= l {
  28144. return io.ErrUnexpectedEOF
  28145. }
  28146. b := dAtA[iNdEx]
  28147. iNdEx++
  28148. stringLen |= (uint64(b) & 0x7F) << shift
  28149. if b < 0x80 {
  28150. break
  28151. }
  28152. }
  28153. intStringLen := int(stringLen)
  28154. if intStringLen < 0 {
  28155. return ErrInvalidLengthGenerated
  28156. }
  28157. postIndex := iNdEx + intStringLen
  28158. if postIndex > l {
  28159. return io.ErrUnexpectedEOF
  28160. }
  28161. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  28162. iNdEx = postIndex
  28163. case 5:
  28164. if wireType != 0 {
  28165. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  28166. }
  28167. var v int64
  28168. for shift := uint(0); ; shift += 7 {
  28169. if shift >= 64 {
  28170. return ErrIntOverflowGenerated
  28171. }
  28172. if iNdEx >= l {
  28173. return io.ErrUnexpectedEOF
  28174. }
  28175. b := dAtA[iNdEx]
  28176. iNdEx++
  28177. v |= (int64(b) & 0x7F) << shift
  28178. if b < 0x80 {
  28179. break
  28180. }
  28181. }
  28182. m.TimeoutSeconds = &v
  28183. case 6:
  28184. if wireType != 0 {
  28185. return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
  28186. }
  28187. var v int
  28188. for shift := uint(0); ; shift += 7 {
  28189. if shift >= 64 {
  28190. return ErrIntOverflowGenerated
  28191. }
  28192. if iNdEx >= l {
  28193. return io.ErrUnexpectedEOF
  28194. }
  28195. b := dAtA[iNdEx]
  28196. iNdEx++
  28197. v |= (int(b) & 0x7F) << shift
  28198. if b < 0x80 {
  28199. break
  28200. }
  28201. }
  28202. m.IncludeUninitialized = bool(v != 0)
  28203. default:
  28204. iNdEx = preIndex
  28205. skippy, err := skipGenerated(dAtA[iNdEx:])
  28206. if err != nil {
  28207. return err
  28208. }
  28209. if skippy < 0 {
  28210. return ErrInvalidLengthGenerated
  28211. }
  28212. if (iNdEx + skippy) > l {
  28213. return io.ErrUnexpectedEOF
  28214. }
  28215. iNdEx += skippy
  28216. }
  28217. }
  28218. if iNdEx > l {
  28219. return io.ErrUnexpectedEOF
  28220. }
  28221. return nil
  28222. }
  28223. func (m *LoadBalancerIngress) Unmarshal(dAtA []byte) error {
  28224. l := len(dAtA)
  28225. iNdEx := 0
  28226. for iNdEx < l {
  28227. preIndex := iNdEx
  28228. var wire uint64
  28229. for shift := uint(0); ; shift += 7 {
  28230. if shift >= 64 {
  28231. return ErrIntOverflowGenerated
  28232. }
  28233. if iNdEx >= l {
  28234. return io.ErrUnexpectedEOF
  28235. }
  28236. b := dAtA[iNdEx]
  28237. iNdEx++
  28238. wire |= (uint64(b) & 0x7F) << shift
  28239. if b < 0x80 {
  28240. break
  28241. }
  28242. }
  28243. fieldNum := int32(wire >> 3)
  28244. wireType := int(wire & 0x7)
  28245. if wireType == 4 {
  28246. return fmt.Errorf("proto: LoadBalancerIngress: wiretype end group for non-group")
  28247. }
  28248. if fieldNum <= 0 {
  28249. return fmt.Errorf("proto: LoadBalancerIngress: illegal tag %d (wire type %d)", fieldNum, wire)
  28250. }
  28251. switch fieldNum {
  28252. case 1:
  28253. if wireType != 2 {
  28254. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  28255. }
  28256. var stringLen uint64
  28257. for shift := uint(0); ; shift += 7 {
  28258. if shift >= 64 {
  28259. return ErrIntOverflowGenerated
  28260. }
  28261. if iNdEx >= l {
  28262. return io.ErrUnexpectedEOF
  28263. }
  28264. b := dAtA[iNdEx]
  28265. iNdEx++
  28266. stringLen |= (uint64(b) & 0x7F) << shift
  28267. if b < 0x80 {
  28268. break
  28269. }
  28270. }
  28271. intStringLen := int(stringLen)
  28272. if intStringLen < 0 {
  28273. return ErrInvalidLengthGenerated
  28274. }
  28275. postIndex := iNdEx + intStringLen
  28276. if postIndex > l {
  28277. return io.ErrUnexpectedEOF
  28278. }
  28279. m.IP = string(dAtA[iNdEx:postIndex])
  28280. iNdEx = postIndex
  28281. case 2:
  28282. if wireType != 2 {
  28283. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  28284. }
  28285. var stringLen uint64
  28286. for shift := uint(0); ; shift += 7 {
  28287. if shift >= 64 {
  28288. return ErrIntOverflowGenerated
  28289. }
  28290. if iNdEx >= l {
  28291. return io.ErrUnexpectedEOF
  28292. }
  28293. b := dAtA[iNdEx]
  28294. iNdEx++
  28295. stringLen |= (uint64(b) & 0x7F) << shift
  28296. if b < 0x80 {
  28297. break
  28298. }
  28299. }
  28300. intStringLen := int(stringLen)
  28301. if intStringLen < 0 {
  28302. return ErrInvalidLengthGenerated
  28303. }
  28304. postIndex := iNdEx + intStringLen
  28305. if postIndex > l {
  28306. return io.ErrUnexpectedEOF
  28307. }
  28308. m.Hostname = string(dAtA[iNdEx:postIndex])
  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 *LoadBalancerStatus) 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: LoadBalancerStatus: wiretype end group for non-group")
  28354. }
  28355. if fieldNum <= 0 {
  28356. return fmt.Errorf("proto: LoadBalancerStatus: 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 Ingress", wireType)
  28362. }
  28363. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  28374. if b < 0x80 {
  28375. break
  28376. }
  28377. }
  28378. if msglen < 0 {
  28379. return ErrInvalidLengthGenerated
  28380. }
  28381. postIndex := iNdEx + msglen
  28382. if postIndex > l {
  28383. return io.ErrUnexpectedEOF
  28384. }
  28385. m.Ingress = append(m.Ingress, LoadBalancerIngress{})
  28386. if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28387. return err
  28388. }
  28389. iNdEx = postIndex
  28390. default:
  28391. iNdEx = preIndex
  28392. skippy, err := skipGenerated(dAtA[iNdEx:])
  28393. if err != nil {
  28394. return err
  28395. }
  28396. if skippy < 0 {
  28397. return ErrInvalidLengthGenerated
  28398. }
  28399. if (iNdEx + skippy) > l {
  28400. return io.ErrUnexpectedEOF
  28401. }
  28402. iNdEx += skippy
  28403. }
  28404. }
  28405. if iNdEx > l {
  28406. return io.ErrUnexpectedEOF
  28407. }
  28408. return nil
  28409. }
  28410. func (m *LocalObjectReference) Unmarshal(dAtA []byte) error {
  28411. l := len(dAtA)
  28412. iNdEx := 0
  28413. for iNdEx < l {
  28414. preIndex := iNdEx
  28415. var wire uint64
  28416. for shift := uint(0); ; shift += 7 {
  28417. if shift >= 64 {
  28418. return ErrIntOverflowGenerated
  28419. }
  28420. if iNdEx >= l {
  28421. return io.ErrUnexpectedEOF
  28422. }
  28423. b := dAtA[iNdEx]
  28424. iNdEx++
  28425. wire |= (uint64(b) & 0x7F) << shift
  28426. if b < 0x80 {
  28427. break
  28428. }
  28429. }
  28430. fieldNum := int32(wire >> 3)
  28431. wireType := int(wire & 0x7)
  28432. if wireType == 4 {
  28433. return fmt.Errorf("proto: LocalObjectReference: wiretype end group for non-group")
  28434. }
  28435. if fieldNum <= 0 {
  28436. return fmt.Errorf("proto: LocalObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  28437. }
  28438. switch fieldNum {
  28439. case 1:
  28440. if wireType != 2 {
  28441. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  28442. }
  28443. var stringLen uint64
  28444. for shift := uint(0); ; shift += 7 {
  28445. if shift >= 64 {
  28446. return ErrIntOverflowGenerated
  28447. }
  28448. if iNdEx >= l {
  28449. return io.ErrUnexpectedEOF
  28450. }
  28451. b := dAtA[iNdEx]
  28452. iNdEx++
  28453. stringLen |= (uint64(b) & 0x7F) << shift
  28454. if b < 0x80 {
  28455. break
  28456. }
  28457. }
  28458. intStringLen := int(stringLen)
  28459. if intStringLen < 0 {
  28460. return ErrInvalidLengthGenerated
  28461. }
  28462. postIndex := iNdEx + intStringLen
  28463. if postIndex > l {
  28464. return io.ErrUnexpectedEOF
  28465. }
  28466. m.Name = string(dAtA[iNdEx:postIndex])
  28467. iNdEx = postIndex
  28468. default:
  28469. iNdEx = preIndex
  28470. skippy, err := skipGenerated(dAtA[iNdEx:])
  28471. if err != nil {
  28472. return err
  28473. }
  28474. if skippy < 0 {
  28475. return ErrInvalidLengthGenerated
  28476. }
  28477. if (iNdEx + skippy) > l {
  28478. return io.ErrUnexpectedEOF
  28479. }
  28480. iNdEx += skippy
  28481. }
  28482. }
  28483. if iNdEx > l {
  28484. return io.ErrUnexpectedEOF
  28485. }
  28486. return nil
  28487. }
  28488. func (m *LocalVolumeSource) Unmarshal(dAtA []byte) error {
  28489. l := len(dAtA)
  28490. iNdEx := 0
  28491. for iNdEx < l {
  28492. preIndex := iNdEx
  28493. var wire uint64
  28494. for shift := uint(0); ; shift += 7 {
  28495. if shift >= 64 {
  28496. return ErrIntOverflowGenerated
  28497. }
  28498. if iNdEx >= l {
  28499. return io.ErrUnexpectedEOF
  28500. }
  28501. b := dAtA[iNdEx]
  28502. iNdEx++
  28503. wire |= (uint64(b) & 0x7F) << shift
  28504. if b < 0x80 {
  28505. break
  28506. }
  28507. }
  28508. fieldNum := int32(wire >> 3)
  28509. wireType := int(wire & 0x7)
  28510. if wireType == 4 {
  28511. return fmt.Errorf("proto: LocalVolumeSource: wiretype end group for non-group")
  28512. }
  28513. if fieldNum <= 0 {
  28514. return fmt.Errorf("proto: LocalVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  28515. }
  28516. switch fieldNum {
  28517. case 1:
  28518. if wireType != 2 {
  28519. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  28520. }
  28521. var stringLen uint64
  28522. for shift := uint(0); ; shift += 7 {
  28523. if shift >= 64 {
  28524. return ErrIntOverflowGenerated
  28525. }
  28526. if iNdEx >= l {
  28527. return io.ErrUnexpectedEOF
  28528. }
  28529. b := dAtA[iNdEx]
  28530. iNdEx++
  28531. stringLen |= (uint64(b) & 0x7F) << shift
  28532. if b < 0x80 {
  28533. break
  28534. }
  28535. }
  28536. intStringLen := int(stringLen)
  28537. if intStringLen < 0 {
  28538. return ErrInvalidLengthGenerated
  28539. }
  28540. postIndex := iNdEx + intStringLen
  28541. if postIndex > l {
  28542. return io.ErrUnexpectedEOF
  28543. }
  28544. m.Path = string(dAtA[iNdEx:postIndex])
  28545. iNdEx = postIndex
  28546. default:
  28547. iNdEx = preIndex
  28548. skippy, err := skipGenerated(dAtA[iNdEx:])
  28549. if err != nil {
  28550. return err
  28551. }
  28552. if skippy < 0 {
  28553. return ErrInvalidLengthGenerated
  28554. }
  28555. if (iNdEx + skippy) > l {
  28556. return io.ErrUnexpectedEOF
  28557. }
  28558. iNdEx += skippy
  28559. }
  28560. }
  28561. if iNdEx > l {
  28562. return io.ErrUnexpectedEOF
  28563. }
  28564. return nil
  28565. }
  28566. func (m *NFSVolumeSource) Unmarshal(dAtA []byte) error {
  28567. l := len(dAtA)
  28568. iNdEx := 0
  28569. for iNdEx < l {
  28570. preIndex := iNdEx
  28571. var wire uint64
  28572. for shift := uint(0); ; shift += 7 {
  28573. if shift >= 64 {
  28574. return ErrIntOverflowGenerated
  28575. }
  28576. if iNdEx >= l {
  28577. return io.ErrUnexpectedEOF
  28578. }
  28579. b := dAtA[iNdEx]
  28580. iNdEx++
  28581. wire |= (uint64(b) & 0x7F) << shift
  28582. if b < 0x80 {
  28583. break
  28584. }
  28585. }
  28586. fieldNum := int32(wire >> 3)
  28587. wireType := int(wire & 0x7)
  28588. if wireType == 4 {
  28589. return fmt.Errorf("proto: NFSVolumeSource: wiretype end group for non-group")
  28590. }
  28591. if fieldNum <= 0 {
  28592. return fmt.Errorf("proto: NFSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  28593. }
  28594. switch fieldNum {
  28595. case 1:
  28596. if wireType != 2 {
  28597. return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType)
  28598. }
  28599. var stringLen uint64
  28600. for shift := uint(0); ; shift += 7 {
  28601. if shift >= 64 {
  28602. return ErrIntOverflowGenerated
  28603. }
  28604. if iNdEx >= l {
  28605. return io.ErrUnexpectedEOF
  28606. }
  28607. b := dAtA[iNdEx]
  28608. iNdEx++
  28609. stringLen |= (uint64(b) & 0x7F) << shift
  28610. if b < 0x80 {
  28611. break
  28612. }
  28613. }
  28614. intStringLen := int(stringLen)
  28615. if intStringLen < 0 {
  28616. return ErrInvalidLengthGenerated
  28617. }
  28618. postIndex := iNdEx + intStringLen
  28619. if postIndex > l {
  28620. return io.ErrUnexpectedEOF
  28621. }
  28622. m.Server = string(dAtA[iNdEx:postIndex])
  28623. iNdEx = postIndex
  28624. case 2:
  28625. if wireType != 2 {
  28626. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  28627. }
  28628. var stringLen uint64
  28629. for shift := uint(0); ; shift += 7 {
  28630. if shift >= 64 {
  28631. return ErrIntOverflowGenerated
  28632. }
  28633. if iNdEx >= l {
  28634. return io.ErrUnexpectedEOF
  28635. }
  28636. b := dAtA[iNdEx]
  28637. iNdEx++
  28638. stringLen |= (uint64(b) & 0x7F) << shift
  28639. if b < 0x80 {
  28640. break
  28641. }
  28642. }
  28643. intStringLen := int(stringLen)
  28644. if intStringLen < 0 {
  28645. return ErrInvalidLengthGenerated
  28646. }
  28647. postIndex := iNdEx + intStringLen
  28648. if postIndex > l {
  28649. return io.ErrUnexpectedEOF
  28650. }
  28651. m.Path = string(dAtA[iNdEx:postIndex])
  28652. iNdEx = postIndex
  28653. case 3:
  28654. if wireType != 0 {
  28655. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  28656. }
  28657. var v int
  28658. for shift := uint(0); ; shift += 7 {
  28659. if shift >= 64 {
  28660. return ErrIntOverflowGenerated
  28661. }
  28662. if iNdEx >= l {
  28663. return io.ErrUnexpectedEOF
  28664. }
  28665. b := dAtA[iNdEx]
  28666. iNdEx++
  28667. v |= (int(b) & 0x7F) << shift
  28668. if b < 0x80 {
  28669. break
  28670. }
  28671. }
  28672. m.ReadOnly = bool(v != 0)
  28673. default:
  28674. iNdEx = preIndex
  28675. skippy, err := skipGenerated(dAtA[iNdEx:])
  28676. if err != nil {
  28677. return err
  28678. }
  28679. if skippy < 0 {
  28680. return ErrInvalidLengthGenerated
  28681. }
  28682. if (iNdEx + skippy) > l {
  28683. return io.ErrUnexpectedEOF
  28684. }
  28685. iNdEx += skippy
  28686. }
  28687. }
  28688. if iNdEx > l {
  28689. return io.ErrUnexpectedEOF
  28690. }
  28691. return nil
  28692. }
  28693. func (m *Namespace) Unmarshal(dAtA []byte) error {
  28694. l := len(dAtA)
  28695. iNdEx := 0
  28696. for iNdEx < l {
  28697. preIndex := iNdEx
  28698. var wire uint64
  28699. for shift := uint(0); ; shift += 7 {
  28700. if shift >= 64 {
  28701. return ErrIntOverflowGenerated
  28702. }
  28703. if iNdEx >= l {
  28704. return io.ErrUnexpectedEOF
  28705. }
  28706. b := dAtA[iNdEx]
  28707. iNdEx++
  28708. wire |= (uint64(b) & 0x7F) << shift
  28709. if b < 0x80 {
  28710. break
  28711. }
  28712. }
  28713. fieldNum := int32(wire >> 3)
  28714. wireType := int(wire & 0x7)
  28715. if wireType == 4 {
  28716. return fmt.Errorf("proto: Namespace: wiretype end group for non-group")
  28717. }
  28718. if fieldNum <= 0 {
  28719. return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire)
  28720. }
  28721. switch fieldNum {
  28722. case 1:
  28723. if wireType != 2 {
  28724. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  28725. }
  28726. var msglen int
  28727. for shift := uint(0); ; shift += 7 {
  28728. if shift >= 64 {
  28729. return ErrIntOverflowGenerated
  28730. }
  28731. if iNdEx >= l {
  28732. return io.ErrUnexpectedEOF
  28733. }
  28734. b := dAtA[iNdEx]
  28735. iNdEx++
  28736. msglen |= (int(b) & 0x7F) << shift
  28737. if b < 0x80 {
  28738. break
  28739. }
  28740. }
  28741. if msglen < 0 {
  28742. return ErrInvalidLengthGenerated
  28743. }
  28744. postIndex := iNdEx + msglen
  28745. if postIndex > l {
  28746. return io.ErrUnexpectedEOF
  28747. }
  28748. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28749. return err
  28750. }
  28751. iNdEx = postIndex
  28752. case 2:
  28753. if wireType != 2 {
  28754. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  28755. }
  28756. var msglen int
  28757. for shift := uint(0); ; shift += 7 {
  28758. if shift >= 64 {
  28759. return ErrIntOverflowGenerated
  28760. }
  28761. if iNdEx >= l {
  28762. return io.ErrUnexpectedEOF
  28763. }
  28764. b := dAtA[iNdEx]
  28765. iNdEx++
  28766. msglen |= (int(b) & 0x7F) << shift
  28767. if b < 0x80 {
  28768. break
  28769. }
  28770. }
  28771. if msglen < 0 {
  28772. return ErrInvalidLengthGenerated
  28773. }
  28774. postIndex := iNdEx + msglen
  28775. if postIndex > l {
  28776. return io.ErrUnexpectedEOF
  28777. }
  28778. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28779. return err
  28780. }
  28781. iNdEx = postIndex
  28782. case 3:
  28783. if wireType != 2 {
  28784. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  28785. }
  28786. var msglen int
  28787. for shift := uint(0); ; shift += 7 {
  28788. if shift >= 64 {
  28789. return ErrIntOverflowGenerated
  28790. }
  28791. if iNdEx >= l {
  28792. return io.ErrUnexpectedEOF
  28793. }
  28794. b := dAtA[iNdEx]
  28795. iNdEx++
  28796. msglen |= (int(b) & 0x7F) << shift
  28797. if b < 0x80 {
  28798. break
  28799. }
  28800. }
  28801. if msglen < 0 {
  28802. return ErrInvalidLengthGenerated
  28803. }
  28804. postIndex := iNdEx + msglen
  28805. if postIndex > l {
  28806. return io.ErrUnexpectedEOF
  28807. }
  28808. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28809. return err
  28810. }
  28811. iNdEx = postIndex
  28812. default:
  28813. iNdEx = preIndex
  28814. skippy, err := skipGenerated(dAtA[iNdEx:])
  28815. if err != nil {
  28816. return err
  28817. }
  28818. if skippy < 0 {
  28819. return ErrInvalidLengthGenerated
  28820. }
  28821. if (iNdEx + skippy) > l {
  28822. return io.ErrUnexpectedEOF
  28823. }
  28824. iNdEx += skippy
  28825. }
  28826. }
  28827. if iNdEx > l {
  28828. return io.ErrUnexpectedEOF
  28829. }
  28830. return nil
  28831. }
  28832. func (m *NamespaceList) Unmarshal(dAtA []byte) error {
  28833. l := len(dAtA)
  28834. iNdEx := 0
  28835. for iNdEx < l {
  28836. preIndex := iNdEx
  28837. var wire uint64
  28838. for shift := uint(0); ; shift += 7 {
  28839. if shift >= 64 {
  28840. return ErrIntOverflowGenerated
  28841. }
  28842. if iNdEx >= l {
  28843. return io.ErrUnexpectedEOF
  28844. }
  28845. b := dAtA[iNdEx]
  28846. iNdEx++
  28847. wire |= (uint64(b) & 0x7F) << shift
  28848. if b < 0x80 {
  28849. break
  28850. }
  28851. }
  28852. fieldNum := int32(wire >> 3)
  28853. wireType := int(wire & 0x7)
  28854. if wireType == 4 {
  28855. return fmt.Errorf("proto: NamespaceList: wiretype end group for non-group")
  28856. }
  28857. if fieldNum <= 0 {
  28858. return fmt.Errorf("proto: NamespaceList: illegal tag %d (wire type %d)", fieldNum, wire)
  28859. }
  28860. switch fieldNum {
  28861. case 1:
  28862. if wireType != 2 {
  28863. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  28864. }
  28865. var msglen int
  28866. for shift := uint(0); ; shift += 7 {
  28867. if shift >= 64 {
  28868. return ErrIntOverflowGenerated
  28869. }
  28870. if iNdEx >= l {
  28871. return io.ErrUnexpectedEOF
  28872. }
  28873. b := dAtA[iNdEx]
  28874. iNdEx++
  28875. msglen |= (int(b) & 0x7F) << shift
  28876. if b < 0x80 {
  28877. break
  28878. }
  28879. }
  28880. if msglen < 0 {
  28881. return ErrInvalidLengthGenerated
  28882. }
  28883. postIndex := iNdEx + msglen
  28884. if postIndex > l {
  28885. return io.ErrUnexpectedEOF
  28886. }
  28887. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28888. return err
  28889. }
  28890. iNdEx = postIndex
  28891. case 2:
  28892. if wireType != 2 {
  28893. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  28894. }
  28895. var msglen int
  28896. for shift := uint(0); ; shift += 7 {
  28897. if shift >= 64 {
  28898. return ErrIntOverflowGenerated
  28899. }
  28900. if iNdEx >= l {
  28901. return io.ErrUnexpectedEOF
  28902. }
  28903. b := dAtA[iNdEx]
  28904. iNdEx++
  28905. msglen |= (int(b) & 0x7F) << shift
  28906. if b < 0x80 {
  28907. break
  28908. }
  28909. }
  28910. if msglen < 0 {
  28911. return ErrInvalidLengthGenerated
  28912. }
  28913. postIndex := iNdEx + msglen
  28914. if postIndex > l {
  28915. return io.ErrUnexpectedEOF
  28916. }
  28917. m.Items = append(m.Items, Namespace{})
  28918. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  28919. return err
  28920. }
  28921. iNdEx = postIndex
  28922. default:
  28923. iNdEx = preIndex
  28924. skippy, err := skipGenerated(dAtA[iNdEx:])
  28925. if err != nil {
  28926. return err
  28927. }
  28928. if skippy < 0 {
  28929. return ErrInvalidLengthGenerated
  28930. }
  28931. if (iNdEx + skippy) > l {
  28932. return io.ErrUnexpectedEOF
  28933. }
  28934. iNdEx += skippy
  28935. }
  28936. }
  28937. if iNdEx > l {
  28938. return io.ErrUnexpectedEOF
  28939. }
  28940. return nil
  28941. }
  28942. func (m *NamespaceSpec) Unmarshal(dAtA []byte) error {
  28943. l := len(dAtA)
  28944. iNdEx := 0
  28945. for iNdEx < l {
  28946. preIndex := iNdEx
  28947. var wire uint64
  28948. for shift := uint(0); ; shift += 7 {
  28949. if shift >= 64 {
  28950. return ErrIntOverflowGenerated
  28951. }
  28952. if iNdEx >= l {
  28953. return io.ErrUnexpectedEOF
  28954. }
  28955. b := dAtA[iNdEx]
  28956. iNdEx++
  28957. wire |= (uint64(b) & 0x7F) << shift
  28958. if b < 0x80 {
  28959. break
  28960. }
  28961. }
  28962. fieldNum := int32(wire >> 3)
  28963. wireType := int(wire & 0x7)
  28964. if wireType == 4 {
  28965. return fmt.Errorf("proto: NamespaceSpec: wiretype end group for non-group")
  28966. }
  28967. if fieldNum <= 0 {
  28968. return fmt.Errorf("proto: NamespaceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  28969. }
  28970. switch fieldNum {
  28971. case 1:
  28972. if wireType != 2 {
  28973. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  28974. }
  28975. var stringLen uint64
  28976. for shift := uint(0); ; shift += 7 {
  28977. if shift >= 64 {
  28978. return ErrIntOverflowGenerated
  28979. }
  28980. if iNdEx >= l {
  28981. return io.ErrUnexpectedEOF
  28982. }
  28983. b := dAtA[iNdEx]
  28984. iNdEx++
  28985. stringLen |= (uint64(b) & 0x7F) << shift
  28986. if b < 0x80 {
  28987. break
  28988. }
  28989. }
  28990. intStringLen := int(stringLen)
  28991. if intStringLen < 0 {
  28992. return ErrInvalidLengthGenerated
  28993. }
  28994. postIndex := iNdEx + intStringLen
  28995. if postIndex > l {
  28996. return io.ErrUnexpectedEOF
  28997. }
  28998. m.Finalizers = append(m.Finalizers, FinalizerName(dAtA[iNdEx:postIndex]))
  28999. iNdEx = postIndex
  29000. default:
  29001. iNdEx = preIndex
  29002. skippy, err := skipGenerated(dAtA[iNdEx:])
  29003. if err != nil {
  29004. return err
  29005. }
  29006. if skippy < 0 {
  29007. return ErrInvalidLengthGenerated
  29008. }
  29009. if (iNdEx + skippy) > l {
  29010. return io.ErrUnexpectedEOF
  29011. }
  29012. iNdEx += skippy
  29013. }
  29014. }
  29015. if iNdEx > l {
  29016. return io.ErrUnexpectedEOF
  29017. }
  29018. return nil
  29019. }
  29020. func (m *NamespaceStatus) Unmarshal(dAtA []byte) error {
  29021. l := len(dAtA)
  29022. iNdEx := 0
  29023. for iNdEx < l {
  29024. preIndex := iNdEx
  29025. var wire uint64
  29026. for shift := uint(0); ; shift += 7 {
  29027. if shift >= 64 {
  29028. return ErrIntOverflowGenerated
  29029. }
  29030. if iNdEx >= l {
  29031. return io.ErrUnexpectedEOF
  29032. }
  29033. b := dAtA[iNdEx]
  29034. iNdEx++
  29035. wire |= (uint64(b) & 0x7F) << shift
  29036. if b < 0x80 {
  29037. break
  29038. }
  29039. }
  29040. fieldNum := int32(wire >> 3)
  29041. wireType := int(wire & 0x7)
  29042. if wireType == 4 {
  29043. return fmt.Errorf("proto: NamespaceStatus: wiretype end group for non-group")
  29044. }
  29045. if fieldNum <= 0 {
  29046. return fmt.Errorf("proto: NamespaceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  29047. }
  29048. switch fieldNum {
  29049. case 1:
  29050. if wireType != 2 {
  29051. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  29052. }
  29053. var stringLen uint64
  29054. for shift := uint(0); ; shift += 7 {
  29055. if shift >= 64 {
  29056. return ErrIntOverflowGenerated
  29057. }
  29058. if iNdEx >= l {
  29059. return io.ErrUnexpectedEOF
  29060. }
  29061. b := dAtA[iNdEx]
  29062. iNdEx++
  29063. stringLen |= (uint64(b) & 0x7F) << shift
  29064. if b < 0x80 {
  29065. break
  29066. }
  29067. }
  29068. intStringLen := int(stringLen)
  29069. if intStringLen < 0 {
  29070. return ErrInvalidLengthGenerated
  29071. }
  29072. postIndex := iNdEx + intStringLen
  29073. if postIndex > l {
  29074. return io.ErrUnexpectedEOF
  29075. }
  29076. m.Phase = NamespacePhase(dAtA[iNdEx:postIndex])
  29077. iNdEx = postIndex
  29078. default:
  29079. iNdEx = preIndex
  29080. skippy, err := skipGenerated(dAtA[iNdEx:])
  29081. if err != nil {
  29082. return err
  29083. }
  29084. if skippy < 0 {
  29085. return ErrInvalidLengthGenerated
  29086. }
  29087. if (iNdEx + skippy) > l {
  29088. return io.ErrUnexpectedEOF
  29089. }
  29090. iNdEx += skippy
  29091. }
  29092. }
  29093. if iNdEx > l {
  29094. return io.ErrUnexpectedEOF
  29095. }
  29096. return nil
  29097. }
  29098. func (m *Node) Unmarshal(dAtA []byte) error {
  29099. l := len(dAtA)
  29100. iNdEx := 0
  29101. for iNdEx < l {
  29102. preIndex := iNdEx
  29103. var wire uint64
  29104. for shift := uint(0); ; shift += 7 {
  29105. if shift >= 64 {
  29106. return ErrIntOverflowGenerated
  29107. }
  29108. if iNdEx >= l {
  29109. return io.ErrUnexpectedEOF
  29110. }
  29111. b := dAtA[iNdEx]
  29112. iNdEx++
  29113. wire |= (uint64(b) & 0x7F) << shift
  29114. if b < 0x80 {
  29115. break
  29116. }
  29117. }
  29118. fieldNum := int32(wire >> 3)
  29119. wireType := int(wire & 0x7)
  29120. if wireType == 4 {
  29121. return fmt.Errorf("proto: Node: wiretype end group for non-group")
  29122. }
  29123. if fieldNum <= 0 {
  29124. return fmt.Errorf("proto: Node: illegal tag %d (wire type %d)", fieldNum, wire)
  29125. }
  29126. switch fieldNum {
  29127. case 1:
  29128. if wireType != 2 {
  29129. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  29130. }
  29131. var msglen int
  29132. for shift := uint(0); ; shift += 7 {
  29133. if shift >= 64 {
  29134. return ErrIntOverflowGenerated
  29135. }
  29136. if iNdEx >= l {
  29137. return io.ErrUnexpectedEOF
  29138. }
  29139. b := dAtA[iNdEx]
  29140. iNdEx++
  29141. msglen |= (int(b) & 0x7F) << shift
  29142. if b < 0x80 {
  29143. break
  29144. }
  29145. }
  29146. if msglen < 0 {
  29147. return ErrInvalidLengthGenerated
  29148. }
  29149. postIndex := iNdEx + msglen
  29150. if postIndex > l {
  29151. return io.ErrUnexpectedEOF
  29152. }
  29153. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29154. return err
  29155. }
  29156. iNdEx = postIndex
  29157. case 2:
  29158. if wireType != 2 {
  29159. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  29160. }
  29161. var msglen int
  29162. for shift := uint(0); ; shift += 7 {
  29163. if shift >= 64 {
  29164. return ErrIntOverflowGenerated
  29165. }
  29166. if iNdEx >= l {
  29167. return io.ErrUnexpectedEOF
  29168. }
  29169. b := dAtA[iNdEx]
  29170. iNdEx++
  29171. msglen |= (int(b) & 0x7F) << shift
  29172. if b < 0x80 {
  29173. break
  29174. }
  29175. }
  29176. if msglen < 0 {
  29177. return ErrInvalidLengthGenerated
  29178. }
  29179. postIndex := iNdEx + msglen
  29180. if postIndex > l {
  29181. return io.ErrUnexpectedEOF
  29182. }
  29183. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29184. return err
  29185. }
  29186. iNdEx = postIndex
  29187. case 3:
  29188. if wireType != 2 {
  29189. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  29190. }
  29191. var msglen int
  29192. for shift := uint(0); ; shift += 7 {
  29193. if shift >= 64 {
  29194. return ErrIntOverflowGenerated
  29195. }
  29196. if iNdEx >= l {
  29197. return io.ErrUnexpectedEOF
  29198. }
  29199. b := dAtA[iNdEx]
  29200. iNdEx++
  29201. msglen |= (int(b) & 0x7F) << shift
  29202. if b < 0x80 {
  29203. break
  29204. }
  29205. }
  29206. if msglen < 0 {
  29207. return ErrInvalidLengthGenerated
  29208. }
  29209. postIndex := iNdEx + msglen
  29210. if postIndex > l {
  29211. return io.ErrUnexpectedEOF
  29212. }
  29213. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29214. return err
  29215. }
  29216. iNdEx = postIndex
  29217. default:
  29218. iNdEx = preIndex
  29219. skippy, err := skipGenerated(dAtA[iNdEx:])
  29220. if err != nil {
  29221. return err
  29222. }
  29223. if skippy < 0 {
  29224. return ErrInvalidLengthGenerated
  29225. }
  29226. if (iNdEx + skippy) > l {
  29227. return io.ErrUnexpectedEOF
  29228. }
  29229. iNdEx += skippy
  29230. }
  29231. }
  29232. if iNdEx > l {
  29233. return io.ErrUnexpectedEOF
  29234. }
  29235. return nil
  29236. }
  29237. func (m *NodeAddress) Unmarshal(dAtA []byte) error {
  29238. l := len(dAtA)
  29239. iNdEx := 0
  29240. for iNdEx < l {
  29241. preIndex := iNdEx
  29242. var wire uint64
  29243. for shift := uint(0); ; shift += 7 {
  29244. if shift >= 64 {
  29245. return ErrIntOverflowGenerated
  29246. }
  29247. if iNdEx >= l {
  29248. return io.ErrUnexpectedEOF
  29249. }
  29250. b := dAtA[iNdEx]
  29251. iNdEx++
  29252. wire |= (uint64(b) & 0x7F) << shift
  29253. if b < 0x80 {
  29254. break
  29255. }
  29256. }
  29257. fieldNum := int32(wire >> 3)
  29258. wireType := int(wire & 0x7)
  29259. if wireType == 4 {
  29260. return fmt.Errorf("proto: NodeAddress: wiretype end group for non-group")
  29261. }
  29262. if fieldNum <= 0 {
  29263. return fmt.Errorf("proto: NodeAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  29264. }
  29265. switch fieldNum {
  29266. case 1:
  29267. if wireType != 2 {
  29268. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  29269. }
  29270. var stringLen uint64
  29271. for shift := uint(0); ; shift += 7 {
  29272. if shift >= 64 {
  29273. return ErrIntOverflowGenerated
  29274. }
  29275. if iNdEx >= l {
  29276. return io.ErrUnexpectedEOF
  29277. }
  29278. b := dAtA[iNdEx]
  29279. iNdEx++
  29280. stringLen |= (uint64(b) & 0x7F) << shift
  29281. if b < 0x80 {
  29282. break
  29283. }
  29284. }
  29285. intStringLen := int(stringLen)
  29286. if intStringLen < 0 {
  29287. return ErrInvalidLengthGenerated
  29288. }
  29289. postIndex := iNdEx + intStringLen
  29290. if postIndex > l {
  29291. return io.ErrUnexpectedEOF
  29292. }
  29293. m.Type = NodeAddressType(dAtA[iNdEx:postIndex])
  29294. iNdEx = postIndex
  29295. case 2:
  29296. if wireType != 2 {
  29297. return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
  29298. }
  29299. var stringLen uint64
  29300. for shift := uint(0); ; shift += 7 {
  29301. if shift >= 64 {
  29302. return ErrIntOverflowGenerated
  29303. }
  29304. if iNdEx >= l {
  29305. return io.ErrUnexpectedEOF
  29306. }
  29307. b := dAtA[iNdEx]
  29308. iNdEx++
  29309. stringLen |= (uint64(b) & 0x7F) << shift
  29310. if b < 0x80 {
  29311. break
  29312. }
  29313. }
  29314. intStringLen := int(stringLen)
  29315. if intStringLen < 0 {
  29316. return ErrInvalidLengthGenerated
  29317. }
  29318. postIndex := iNdEx + intStringLen
  29319. if postIndex > l {
  29320. return io.ErrUnexpectedEOF
  29321. }
  29322. m.Address = string(dAtA[iNdEx:postIndex])
  29323. iNdEx = postIndex
  29324. default:
  29325. iNdEx = preIndex
  29326. skippy, err := skipGenerated(dAtA[iNdEx:])
  29327. if err != nil {
  29328. return err
  29329. }
  29330. if skippy < 0 {
  29331. return ErrInvalidLengthGenerated
  29332. }
  29333. if (iNdEx + skippy) > l {
  29334. return io.ErrUnexpectedEOF
  29335. }
  29336. iNdEx += skippy
  29337. }
  29338. }
  29339. if iNdEx > l {
  29340. return io.ErrUnexpectedEOF
  29341. }
  29342. return nil
  29343. }
  29344. func (m *NodeAffinity) Unmarshal(dAtA []byte) error {
  29345. l := len(dAtA)
  29346. iNdEx := 0
  29347. for iNdEx < l {
  29348. preIndex := iNdEx
  29349. var wire uint64
  29350. for shift := uint(0); ; shift += 7 {
  29351. if shift >= 64 {
  29352. return ErrIntOverflowGenerated
  29353. }
  29354. if iNdEx >= l {
  29355. return io.ErrUnexpectedEOF
  29356. }
  29357. b := dAtA[iNdEx]
  29358. iNdEx++
  29359. wire |= (uint64(b) & 0x7F) << shift
  29360. if b < 0x80 {
  29361. break
  29362. }
  29363. }
  29364. fieldNum := int32(wire >> 3)
  29365. wireType := int(wire & 0x7)
  29366. if wireType == 4 {
  29367. return fmt.Errorf("proto: NodeAffinity: wiretype end group for non-group")
  29368. }
  29369. if fieldNum <= 0 {
  29370. return fmt.Errorf("proto: NodeAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  29371. }
  29372. switch fieldNum {
  29373. case 1:
  29374. if wireType != 2 {
  29375. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  29376. }
  29377. var msglen int
  29378. for shift := uint(0); ; shift += 7 {
  29379. if shift >= 64 {
  29380. return ErrIntOverflowGenerated
  29381. }
  29382. if iNdEx >= l {
  29383. return io.ErrUnexpectedEOF
  29384. }
  29385. b := dAtA[iNdEx]
  29386. iNdEx++
  29387. msglen |= (int(b) & 0x7F) << shift
  29388. if b < 0x80 {
  29389. break
  29390. }
  29391. }
  29392. if msglen < 0 {
  29393. return ErrInvalidLengthGenerated
  29394. }
  29395. postIndex := iNdEx + msglen
  29396. if postIndex > l {
  29397. return io.ErrUnexpectedEOF
  29398. }
  29399. if m.RequiredDuringSchedulingIgnoredDuringExecution == nil {
  29400. m.RequiredDuringSchedulingIgnoredDuringExecution = &NodeSelector{}
  29401. }
  29402. if err := m.RequiredDuringSchedulingIgnoredDuringExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29403. return err
  29404. }
  29405. iNdEx = postIndex
  29406. case 2:
  29407. if wireType != 2 {
  29408. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  29409. }
  29410. var msglen int
  29411. for shift := uint(0); ; shift += 7 {
  29412. if shift >= 64 {
  29413. return ErrIntOverflowGenerated
  29414. }
  29415. if iNdEx >= l {
  29416. return io.ErrUnexpectedEOF
  29417. }
  29418. b := dAtA[iNdEx]
  29419. iNdEx++
  29420. msglen |= (int(b) & 0x7F) << shift
  29421. if b < 0x80 {
  29422. break
  29423. }
  29424. }
  29425. if msglen < 0 {
  29426. return ErrInvalidLengthGenerated
  29427. }
  29428. postIndex := iNdEx + msglen
  29429. if postIndex > l {
  29430. return io.ErrUnexpectedEOF
  29431. }
  29432. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, PreferredSchedulingTerm{})
  29433. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29434. return err
  29435. }
  29436. iNdEx = postIndex
  29437. default:
  29438. iNdEx = preIndex
  29439. skippy, err := skipGenerated(dAtA[iNdEx:])
  29440. if err != nil {
  29441. return err
  29442. }
  29443. if skippy < 0 {
  29444. return ErrInvalidLengthGenerated
  29445. }
  29446. if (iNdEx + skippy) > l {
  29447. return io.ErrUnexpectedEOF
  29448. }
  29449. iNdEx += skippy
  29450. }
  29451. }
  29452. if iNdEx > l {
  29453. return io.ErrUnexpectedEOF
  29454. }
  29455. return nil
  29456. }
  29457. func (m *NodeCondition) Unmarshal(dAtA []byte) error {
  29458. l := len(dAtA)
  29459. iNdEx := 0
  29460. for iNdEx < l {
  29461. preIndex := iNdEx
  29462. var wire uint64
  29463. for shift := uint(0); ; shift += 7 {
  29464. if shift >= 64 {
  29465. return ErrIntOverflowGenerated
  29466. }
  29467. if iNdEx >= l {
  29468. return io.ErrUnexpectedEOF
  29469. }
  29470. b := dAtA[iNdEx]
  29471. iNdEx++
  29472. wire |= (uint64(b) & 0x7F) << shift
  29473. if b < 0x80 {
  29474. break
  29475. }
  29476. }
  29477. fieldNum := int32(wire >> 3)
  29478. wireType := int(wire & 0x7)
  29479. if wireType == 4 {
  29480. return fmt.Errorf("proto: NodeCondition: wiretype end group for non-group")
  29481. }
  29482. if fieldNum <= 0 {
  29483. return fmt.Errorf("proto: NodeCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  29484. }
  29485. switch fieldNum {
  29486. case 1:
  29487. if wireType != 2 {
  29488. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  29489. }
  29490. var stringLen uint64
  29491. for shift := uint(0); ; shift += 7 {
  29492. if shift >= 64 {
  29493. return ErrIntOverflowGenerated
  29494. }
  29495. if iNdEx >= l {
  29496. return io.ErrUnexpectedEOF
  29497. }
  29498. b := dAtA[iNdEx]
  29499. iNdEx++
  29500. stringLen |= (uint64(b) & 0x7F) << shift
  29501. if b < 0x80 {
  29502. break
  29503. }
  29504. }
  29505. intStringLen := int(stringLen)
  29506. if intStringLen < 0 {
  29507. return ErrInvalidLengthGenerated
  29508. }
  29509. postIndex := iNdEx + intStringLen
  29510. if postIndex > l {
  29511. return io.ErrUnexpectedEOF
  29512. }
  29513. m.Type = NodeConditionType(dAtA[iNdEx:postIndex])
  29514. iNdEx = postIndex
  29515. case 2:
  29516. if wireType != 2 {
  29517. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  29518. }
  29519. var stringLen uint64
  29520. for shift := uint(0); ; shift += 7 {
  29521. if shift >= 64 {
  29522. return ErrIntOverflowGenerated
  29523. }
  29524. if iNdEx >= l {
  29525. return io.ErrUnexpectedEOF
  29526. }
  29527. b := dAtA[iNdEx]
  29528. iNdEx++
  29529. stringLen |= (uint64(b) & 0x7F) << shift
  29530. if b < 0x80 {
  29531. break
  29532. }
  29533. }
  29534. intStringLen := int(stringLen)
  29535. if intStringLen < 0 {
  29536. return ErrInvalidLengthGenerated
  29537. }
  29538. postIndex := iNdEx + intStringLen
  29539. if postIndex > l {
  29540. return io.ErrUnexpectedEOF
  29541. }
  29542. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  29543. iNdEx = postIndex
  29544. case 3:
  29545. if wireType != 2 {
  29546. return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeatTime", wireType)
  29547. }
  29548. var msglen int
  29549. for shift := uint(0); ; shift += 7 {
  29550. if shift >= 64 {
  29551. return ErrIntOverflowGenerated
  29552. }
  29553. if iNdEx >= l {
  29554. return io.ErrUnexpectedEOF
  29555. }
  29556. b := dAtA[iNdEx]
  29557. iNdEx++
  29558. msglen |= (int(b) & 0x7F) << shift
  29559. if b < 0x80 {
  29560. break
  29561. }
  29562. }
  29563. if msglen < 0 {
  29564. return ErrInvalidLengthGenerated
  29565. }
  29566. postIndex := iNdEx + msglen
  29567. if postIndex > l {
  29568. return io.ErrUnexpectedEOF
  29569. }
  29570. if err := m.LastHeartbeatTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29571. return err
  29572. }
  29573. iNdEx = postIndex
  29574. case 4:
  29575. if wireType != 2 {
  29576. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  29577. }
  29578. var msglen int
  29579. for shift := uint(0); ; shift += 7 {
  29580. if shift >= 64 {
  29581. return ErrIntOverflowGenerated
  29582. }
  29583. if iNdEx >= l {
  29584. return io.ErrUnexpectedEOF
  29585. }
  29586. b := dAtA[iNdEx]
  29587. iNdEx++
  29588. msglen |= (int(b) & 0x7F) << shift
  29589. if b < 0x80 {
  29590. break
  29591. }
  29592. }
  29593. if msglen < 0 {
  29594. return ErrInvalidLengthGenerated
  29595. }
  29596. postIndex := iNdEx + msglen
  29597. if postIndex > l {
  29598. return io.ErrUnexpectedEOF
  29599. }
  29600. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29601. return err
  29602. }
  29603. iNdEx = postIndex
  29604. case 5:
  29605. if wireType != 2 {
  29606. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  29607. }
  29608. var stringLen uint64
  29609. for shift := uint(0); ; shift += 7 {
  29610. if shift >= 64 {
  29611. return ErrIntOverflowGenerated
  29612. }
  29613. if iNdEx >= l {
  29614. return io.ErrUnexpectedEOF
  29615. }
  29616. b := dAtA[iNdEx]
  29617. iNdEx++
  29618. stringLen |= (uint64(b) & 0x7F) << shift
  29619. if b < 0x80 {
  29620. break
  29621. }
  29622. }
  29623. intStringLen := int(stringLen)
  29624. if intStringLen < 0 {
  29625. return ErrInvalidLengthGenerated
  29626. }
  29627. postIndex := iNdEx + intStringLen
  29628. if postIndex > l {
  29629. return io.ErrUnexpectedEOF
  29630. }
  29631. m.Reason = string(dAtA[iNdEx:postIndex])
  29632. iNdEx = postIndex
  29633. case 6:
  29634. if wireType != 2 {
  29635. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  29636. }
  29637. var stringLen uint64
  29638. for shift := uint(0); ; shift += 7 {
  29639. if shift >= 64 {
  29640. return ErrIntOverflowGenerated
  29641. }
  29642. if iNdEx >= l {
  29643. return io.ErrUnexpectedEOF
  29644. }
  29645. b := dAtA[iNdEx]
  29646. iNdEx++
  29647. stringLen |= (uint64(b) & 0x7F) << shift
  29648. if b < 0x80 {
  29649. break
  29650. }
  29651. }
  29652. intStringLen := int(stringLen)
  29653. if intStringLen < 0 {
  29654. return ErrInvalidLengthGenerated
  29655. }
  29656. postIndex := iNdEx + intStringLen
  29657. if postIndex > l {
  29658. return io.ErrUnexpectedEOF
  29659. }
  29660. m.Message = string(dAtA[iNdEx:postIndex])
  29661. iNdEx = postIndex
  29662. default:
  29663. iNdEx = preIndex
  29664. skippy, err := skipGenerated(dAtA[iNdEx:])
  29665. if err != nil {
  29666. return err
  29667. }
  29668. if skippy < 0 {
  29669. return ErrInvalidLengthGenerated
  29670. }
  29671. if (iNdEx + skippy) > l {
  29672. return io.ErrUnexpectedEOF
  29673. }
  29674. iNdEx += skippy
  29675. }
  29676. }
  29677. if iNdEx > l {
  29678. return io.ErrUnexpectedEOF
  29679. }
  29680. return nil
  29681. }
  29682. func (m *NodeConfigSource) Unmarshal(dAtA []byte) error {
  29683. l := len(dAtA)
  29684. iNdEx := 0
  29685. for iNdEx < l {
  29686. preIndex := iNdEx
  29687. var wire uint64
  29688. for shift := uint(0); ; shift += 7 {
  29689. if shift >= 64 {
  29690. return ErrIntOverflowGenerated
  29691. }
  29692. if iNdEx >= l {
  29693. return io.ErrUnexpectedEOF
  29694. }
  29695. b := dAtA[iNdEx]
  29696. iNdEx++
  29697. wire |= (uint64(b) & 0x7F) << shift
  29698. if b < 0x80 {
  29699. break
  29700. }
  29701. }
  29702. fieldNum := int32(wire >> 3)
  29703. wireType := int(wire & 0x7)
  29704. if wireType == 4 {
  29705. return fmt.Errorf("proto: NodeConfigSource: wiretype end group for non-group")
  29706. }
  29707. if fieldNum <= 0 {
  29708. return fmt.Errorf("proto: NodeConfigSource: illegal tag %d (wire type %d)", fieldNum, wire)
  29709. }
  29710. switch fieldNum {
  29711. case 1:
  29712. if wireType != 2 {
  29713. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapRef", wireType)
  29714. }
  29715. var msglen int
  29716. for shift := uint(0); ; shift += 7 {
  29717. if shift >= 64 {
  29718. return ErrIntOverflowGenerated
  29719. }
  29720. if iNdEx >= l {
  29721. return io.ErrUnexpectedEOF
  29722. }
  29723. b := dAtA[iNdEx]
  29724. iNdEx++
  29725. msglen |= (int(b) & 0x7F) << shift
  29726. if b < 0x80 {
  29727. break
  29728. }
  29729. }
  29730. if msglen < 0 {
  29731. return ErrInvalidLengthGenerated
  29732. }
  29733. postIndex := iNdEx + msglen
  29734. if postIndex > l {
  29735. return io.ErrUnexpectedEOF
  29736. }
  29737. if m.ConfigMapRef == nil {
  29738. m.ConfigMapRef = &ObjectReference{}
  29739. }
  29740. if err := m.ConfigMapRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29741. return err
  29742. }
  29743. iNdEx = postIndex
  29744. default:
  29745. iNdEx = preIndex
  29746. skippy, err := skipGenerated(dAtA[iNdEx:])
  29747. if err != nil {
  29748. return err
  29749. }
  29750. if skippy < 0 {
  29751. return ErrInvalidLengthGenerated
  29752. }
  29753. if (iNdEx + skippy) > l {
  29754. return io.ErrUnexpectedEOF
  29755. }
  29756. iNdEx += skippy
  29757. }
  29758. }
  29759. if iNdEx > l {
  29760. return io.ErrUnexpectedEOF
  29761. }
  29762. return nil
  29763. }
  29764. func (m *NodeDaemonEndpoints) Unmarshal(dAtA []byte) error {
  29765. l := len(dAtA)
  29766. iNdEx := 0
  29767. for iNdEx < l {
  29768. preIndex := iNdEx
  29769. var wire uint64
  29770. for shift := uint(0); ; shift += 7 {
  29771. if shift >= 64 {
  29772. return ErrIntOverflowGenerated
  29773. }
  29774. if iNdEx >= l {
  29775. return io.ErrUnexpectedEOF
  29776. }
  29777. b := dAtA[iNdEx]
  29778. iNdEx++
  29779. wire |= (uint64(b) & 0x7F) << shift
  29780. if b < 0x80 {
  29781. break
  29782. }
  29783. }
  29784. fieldNum := int32(wire >> 3)
  29785. wireType := int(wire & 0x7)
  29786. if wireType == 4 {
  29787. return fmt.Errorf("proto: NodeDaemonEndpoints: wiretype end group for non-group")
  29788. }
  29789. if fieldNum <= 0 {
  29790. return fmt.Errorf("proto: NodeDaemonEndpoints: illegal tag %d (wire type %d)", fieldNum, wire)
  29791. }
  29792. switch fieldNum {
  29793. case 1:
  29794. if wireType != 2 {
  29795. return fmt.Errorf("proto: wrong wireType = %d for field KubeletEndpoint", wireType)
  29796. }
  29797. var msglen int
  29798. for shift := uint(0); ; shift += 7 {
  29799. if shift >= 64 {
  29800. return ErrIntOverflowGenerated
  29801. }
  29802. if iNdEx >= l {
  29803. return io.ErrUnexpectedEOF
  29804. }
  29805. b := dAtA[iNdEx]
  29806. iNdEx++
  29807. msglen |= (int(b) & 0x7F) << shift
  29808. if b < 0x80 {
  29809. break
  29810. }
  29811. }
  29812. if msglen < 0 {
  29813. return ErrInvalidLengthGenerated
  29814. }
  29815. postIndex := iNdEx + msglen
  29816. if postIndex > l {
  29817. return io.ErrUnexpectedEOF
  29818. }
  29819. if err := m.KubeletEndpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29820. return err
  29821. }
  29822. iNdEx = postIndex
  29823. default:
  29824. iNdEx = preIndex
  29825. skippy, err := skipGenerated(dAtA[iNdEx:])
  29826. if err != nil {
  29827. return err
  29828. }
  29829. if skippy < 0 {
  29830. return ErrInvalidLengthGenerated
  29831. }
  29832. if (iNdEx + skippy) > l {
  29833. return io.ErrUnexpectedEOF
  29834. }
  29835. iNdEx += skippy
  29836. }
  29837. }
  29838. if iNdEx > l {
  29839. return io.ErrUnexpectedEOF
  29840. }
  29841. return nil
  29842. }
  29843. func (m *NodeList) Unmarshal(dAtA []byte) error {
  29844. l := len(dAtA)
  29845. iNdEx := 0
  29846. for iNdEx < l {
  29847. preIndex := iNdEx
  29848. var wire uint64
  29849. for shift := uint(0); ; shift += 7 {
  29850. if shift >= 64 {
  29851. return ErrIntOverflowGenerated
  29852. }
  29853. if iNdEx >= l {
  29854. return io.ErrUnexpectedEOF
  29855. }
  29856. b := dAtA[iNdEx]
  29857. iNdEx++
  29858. wire |= (uint64(b) & 0x7F) << shift
  29859. if b < 0x80 {
  29860. break
  29861. }
  29862. }
  29863. fieldNum := int32(wire >> 3)
  29864. wireType := int(wire & 0x7)
  29865. if wireType == 4 {
  29866. return fmt.Errorf("proto: NodeList: wiretype end group for non-group")
  29867. }
  29868. if fieldNum <= 0 {
  29869. return fmt.Errorf("proto: NodeList: illegal tag %d (wire type %d)", fieldNum, wire)
  29870. }
  29871. switch fieldNum {
  29872. case 1:
  29873. if wireType != 2 {
  29874. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  29875. }
  29876. var msglen int
  29877. for shift := uint(0); ; shift += 7 {
  29878. if shift >= 64 {
  29879. return ErrIntOverflowGenerated
  29880. }
  29881. if iNdEx >= l {
  29882. return io.ErrUnexpectedEOF
  29883. }
  29884. b := dAtA[iNdEx]
  29885. iNdEx++
  29886. msglen |= (int(b) & 0x7F) << shift
  29887. if b < 0x80 {
  29888. break
  29889. }
  29890. }
  29891. if msglen < 0 {
  29892. return ErrInvalidLengthGenerated
  29893. }
  29894. postIndex := iNdEx + msglen
  29895. if postIndex > l {
  29896. return io.ErrUnexpectedEOF
  29897. }
  29898. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29899. return err
  29900. }
  29901. iNdEx = postIndex
  29902. case 2:
  29903. if wireType != 2 {
  29904. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  29905. }
  29906. var msglen int
  29907. for shift := uint(0); ; shift += 7 {
  29908. if shift >= 64 {
  29909. return ErrIntOverflowGenerated
  29910. }
  29911. if iNdEx >= l {
  29912. return io.ErrUnexpectedEOF
  29913. }
  29914. b := dAtA[iNdEx]
  29915. iNdEx++
  29916. msglen |= (int(b) & 0x7F) << shift
  29917. if b < 0x80 {
  29918. break
  29919. }
  29920. }
  29921. if msglen < 0 {
  29922. return ErrInvalidLengthGenerated
  29923. }
  29924. postIndex := iNdEx + msglen
  29925. if postIndex > l {
  29926. return io.ErrUnexpectedEOF
  29927. }
  29928. m.Items = append(m.Items, Node{})
  29929. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  29930. return err
  29931. }
  29932. iNdEx = postIndex
  29933. default:
  29934. iNdEx = preIndex
  29935. skippy, err := skipGenerated(dAtA[iNdEx:])
  29936. if err != nil {
  29937. return err
  29938. }
  29939. if skippy < 0 {
  29940. return ErrInvalidLengthGenerated
  29941. }
  29942. if (iNdEx + skippy) > l {
  29943. return io.ErrUnexpectedEOF
  29944. }
  29945. iNdEx += skippy
  29946. }
  29947. }
  29948. if iNdEx > l {
  29949. return io.ErrUnexpectedEOF
  29950. }
  29951. return nil
  29952. }
  29953. func (m *NodeProxyOptions) Unmarshal(dAtA []byte) error {
  29954. l := len(dAtA)
  29955. iNdEx := 0
  29956. for iNdEx < l {
  29957. preIndex := iNdEx
  29958. var wire uint64
  29959. for shift := uint(0); ; shift += 7 {
  29960. if shift >= 64 {
  29961. return ErrIntOverflowGenerated
  29962. }
  29963. if iNdEx >= l {
  29964. return io.ErrUnexpectedEOF
  29965. }
  29966. b := dAtA[iNdEx]
  29967. iNdEx++
  29968. wire |= (uint64(b) & 0x7F) << shift
  29969. if b < 0x80 {
  29970. break
  29971. }
  29972. }
  29973. fieldNum := int32(wire >> 3)
  29974. wireType := int(wire & 0x7)
  29975. if wireType == 4 {
  29976. return fmt.Errorf("proto: NodeProxyOptions: wiretype end group for non-group")
  29977. }
  29978. if fieldNum <= 0 {
  29979. return fmt.Errorf("proto: NodeProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  29980. }
  29981. switch fieldNum {
  29982. case 1:
  29983. if wireType != 2 {
  29984. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  29985. }
  29986. var stringLen uint64
  29987. for shift := uint(0); ; shift += 7 {
  29988. if shift >= 64 {
  29989. return ErrIntOverflowGenerated
  29990. }
  29991. if iNdEx >= l {
  29992. return io.ErrUnexpectedEOF
  29993. }
  29994. b := dAtA[iNdEx]
  29995. iNdEx++
  29996. stringLen |= (uint64(b) & 0x7F) << shift
  29997. if b < 0x80 {
  29998. break
  29999. }
  30000. }
  30001. intStringLen := int(stringLen)
  30002. if intStringLen < 0 {
  30003. return ErrInvalidLengthGenerated
  30004. }
  30005. postIndex := iNdEx + intStringLen
  30006. if postIndex > l {
  30007. return io.ErrUnexpectedEOF
  30008. }
  30009. m.Path = string(dAtA[iNdEx:postIndex])
  30010. iNdEx = postIndex
  30011. default:
  30012. iNdEx = preIndex
  30013. skippy, err := skipGenerated(dAtA[iNdEx:])
  30014. if err != nil {
  30015. return err
  30016. }
  30017. if skippy < 0 {
  30018. return ErrInvalidLengthGenerated
  30019. }
  30020. if (iNdEx + skippy) > l {
  30021. return io.ErrUnexpectedEOF
  30022. }
  30023. iNdEx += skippy
  30024. }
  30025. }
  30026. if iNdEx > l {
  30027. return io.ErrUnexpectedEOF
  30028. }
  30029. return nil
  30030. }
  30031. func (m *NodeResources) Unmarshal(dAtA []byte) error {
  30032. l := len(dAtA)
  30033. iNdEx := 0
  30034. for iNdEx < l {
  30035. preIndex := iNdEx
  30036. var wire uint64
  30037. for shift := uint(0); ; shift += 7 {
  30038. if shift >= 64 {
  30039. return ErrIntOverflowGenerated
  30040. }
  30041. if iNdEx >= l {
  30042. return io.ErrUnexpectedEOF
  30043. }
  30044. b := dAtA[iNdEx]
  30045. iNdEx++
  30046. wire |= (uint64(b) & 0x7F) << shift
  30047. if b < 0x80 {
  30048. break
  30049. }
  30050. }
  30051. fieldNum := int32(wire >> 3)
  30052. wireType := int(wire & 0x7)
  30053. if wireType == 4 {
  30054. return fmt.Errorf("proto: NodeResources: wiretype end group for non-group")
  30055. }
  30056. if fieldNum <= 0 {
  30057. return fmt.Errorf("proto: NodeResources: illegal tag %d (wire type %d)", fieldNum, wire)
  30058. }
  30059. switch fieldNum {
  30060. case 1:
  30061. if wireType != 2 {
  30062. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  30063. }
  30064. var msglen int
  30065. for shift := uint(0); ; shift += 7 {
  30066. if shift >= 64 {
  30067. return ErrIntOverflowGenerated
  30068. }
  30069. if iNdEx >= l {
  30070. return io.ErrUnexpectedEOF
  30071. }
  30072. b := dAtA[iNdEx]
  30073. iNdEx++
  30074. msglen |= (int(b) & 0x7F) << shift
  30075. if b < 0x80 {
  30076. break
  30077. }
  30078. }
  30079. if msglen < 0 {
  30080. return ErrInvalidLengthGenerated
  30081. }
  30082. postIndex := iNdEx + msglen
  30083. if postIndex > l {
  30084. return io.ErrUnexpectedEOF
  30085. }
  30086. var keykey uint64
  30087. for shift := uint(0); ; shift += 7 {
  30088. if shift >= 64 {
  30089. return ErrIntOverflowGenerated
  30090. }
  30091. if iNdEx >= l {
  30092. return io.ErrUnexpectedEOF
  30093. }
  30094. b := dAtA[iNdEx]
  30095. iNdEx++
  30096. keykey |= (uint64(b) & 0x7F) << shift
  30097. if b < 0x80 {
  30098. break
  30099. }
  30100. }
  30101. var stringLenmapkey uint64
  30102. for shift := uint(0); ; shift += 7 {
  30103. if shift >= 64 {
  30104. return ErrIntOverflowGenerated
  30105. }
  30106. if iNdEx >= l {
  30107. return io.ErrUnexpectedEOF
  30108. }
  30109. b := dAtA[iNdEx]
  30110. iNdEx++
  30111. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  30112. if b < 0x80 {
  30113. break
  30114. }
  30115. }
  30116. intStringLenmapkey := int(stringLenmapkey)
  30117. if intStringLenmapkey < 0 {
  30118. return ErrInvalidLengthGenerated
  30119. }
  30120. postStringIndexmapkey := iNdEx + intStringLenmapkey
  30121. if postStringIndexmapkey > l {
  30122. return io.ErrUnexpectedEOF
  30123. }
  30124. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  30125. iNdEx = postStringIndexmapkey
  30126. if m.Capacity == nil {
  30127. m.Capacity = make(ResourceList)
  30128. }
  30129. if iNdEx < postIndex {
  30130. var valuekey uint64
  30131. for shift := uint(0); ; shift += 7 {
  30132. if shift >= 64 {
  30133. return ErrIntOverflowGenerated
  30134. }
  30135. if iNdEx >= l {
  30136. return io.ErrUnexpectedEOF
  30137. }
  30138. b := dAtA[iNdEx]
  30139. iNdEx++
  30140. valuekey |= (uint64(b) & 0x7F) << shift
  30141. if b < 0x80 {
  30142. break
  30143. }
  30144. }
  30145. var mapmsglen int
  30146. for shift := uint(0); ; shift += 7 {
  30147. if shift >= 64 {
  30148. return ErrIntOverflowGenerated
  30149. }
  30150. if iNdEx >= l {
  30151. return io.ErrUnexpectedEOF
  30152. }
  30153. b := dAtA[iNdEx]
  30154. iNdEx++
  30155. mapmsglen |= (int(b) & 0x7F) << shift
  30156. if b < 0x80 {
  30157. break
  30158. }
  30159. }
  30160. if mapmsglen < 0 {
  30161. return ErrInvalidLengthGenerated
  30162. }
  30163. postmsgIndex := iNdEx + mapmsglen
  30164. if mapmsglen < 0 {
  30165. return ErrInvalidLengthGenerated
  30166. }
  30167. if postmsgIndex > l {
  30168. return io.ErrUnexpectedEOF
  30169. }
  30170. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  30171. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  30172. return err
  30173. }
  30174. iNdEx = postmsgIndex
  30175. m.Capacity[ResourceName(mapkey)] = *mapvalue
  30176. } else {
  30177. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  30178. m.Capacity[ResourceName(mapkey)] = mapvalue
  30179. }
  30180. iNdEx = postIndex
  30181. default:
  30182. iNdEx = preIndex
  30183. skippy, err := skipGenerated(dAtA[iNdEx:])
  30184. if err != nil {
  30185. return err
  30186. }
  30187. if skippy < 0 {
  30188. return ErrInvalidLengthGenerated
  30189. }
  30190. if (iNdEx + skippy) > l {
  30191. return io.ErrUnexpectedEOF
  30192. }
  30193. iNdEx += skippy
  30194. }
  30195. }
  30196. if iNdEx > l {
  30197. return io.ErrUnexpectedEOF
  30198. }
  30199. return nil
  30200. }
  30201. func (m *NodeSelector) Unmarshal(dAtA []byte) error {
  30202. l := len(dAtA)
  30203. iNdEx := 0
  30204. for iNdEx < l {
  30205. preIndex := iNdEx
  30206. var wire uint64
  30207. for shift := uint(0); ; shift += 7 {
  30208. if shift >= 64 {
  30209. return ErrIntOverflowGenerated
  30210. }
  30211. if iNdEx >= l {
  30212. return io.ErrUnexpectedEOF
  30213. }
  30214. b := dAtA[iNdEx]
  30215. iNdEx++
  30216. wire |= (uint64(b) & 0x7F) << shift
  30217. if b < 0x80 {
  30218. break
  30219. }
  30220. }
  30221. fieldNum := int32(wire >> 3)
  30222. wireType := int(wire & 0x7)
  30223. if wireType == 4 {
  30224. return fmt.Errorf("proto: NodeSelector: wiretype end group for non-group")
  30225. }
  30226. if fieldNum <= 0 {
  30227. return fmt.Errorf("proto: NodeSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  30228. }
  30229. switch fieldNum {
  30230. case 1:
  30231. if wireType != 2 {
  30232. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelectorTerms", wireType)
  30233. }
  30234. var msglen int
  30235. for shift := uint(0); ; shift += 7 {
  30236. if shift >= 64 {
  30237. return ErrIntOverflowGenerated
  30238. }
  30239. if iNdEx >= l {
  30240. return io.ErrUnexpectedEOF
  30241. }
  30242. b := dAtA[iNdEx]
  30243. iNdEx++
  30244. msglen |= (int(b) & 0x7F) << shift
  30245. if b < 0x80 {
  30246. break
  30247. }
  30248. }
  30249. if msglen < 0 {
  30250. return ErrInvalidLengthGenerated
  30251. }
  30252. postIndex := iNdEx + msglen
  30253. if postIndex > l {
  30254. return io.ErrUnexpectedEOF
  30255. }
  30256. m.NodeSelectorTerms = append(m.NodeSelectorTerms, NodeSelectorTerm{})
  30257. if err := m.NodeSelectorTerms[len(m.NodeSelectorTerms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30258. return err
  30259. }
  30260. iNdEx = postIndex
  30261. default:
  30262. iNdEx = preIndex
  30263. skippy, err := skipGenerated(dAtA[iNdEx:])
  30264. if err != nil {
  30265. return err
  30266. }
  30267. if skippy < 0 {
  30268. return ErrInvalidLengthGenerated
  30269. }
  30270. if (iNdEx + skippy) > l {
  30271. return io.ErrUnexpectedEOF
  30272. }
  30273. iNdEx += skippy
  30274. }
  30275. }
  30276. if iNdEx > l {
  30277. return io.ErrUnexpectedEOF
  30278. }
  30279. return nil
  30280. }
  30281. func (m *NodeSelectorRequirement) Unmarshal(dAtA []byte) error {
  30282. l := len(dAtA)
  30283. iNdEx := 0
  30284. for iNdEx < l {
  30285. preIndex := iNdEx
  30286. var wire uint64
  30287. for shift := uint(0); ; shift += 7 {
  30288. if shift >= 64 {
  30289. return ErrIntOverflowGenerated
  30290. }
  30291. if iNdEx >= l {
  30292. return io.ErrUnexpectedEOF
  30293. }
  30294. b := dAtA[iNdEx]
  30295. iNdEx++
  30296. wire |= (uint64(b) & 0x7F) << shift
  30297. if b < 0x80 {
  30298. break
  30299. }
  30300. }
  30301. fieldNum := int32(wire >> 3)
  30302. wireType := int(wire & 0x7)
  30303. if wireType == 4 {
  30304. return fmt.Errorf("proto: NodeSelectorRequirement: wiretype end group for non-group")
  30305. }
  30306. if fieldNum <= 0 {
  30307. return fmt.Errorf("proto: NodeSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  30308. }
  30309. switch fieldNum {
  30310. case 1:
  30311. if wireType != 2 {
  30312. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  30313. }
  30314. var stringLen uint64
  30315. for shift := uint(0); ; shift += 7 {
  30316. if shift >= 64 {
  30317. return ErrIntOverflowGenerated
  30318. }
  30319. if iNdEx >= l {
  30320. return io.ErrUnexpectedEOF
  30321. }
  30322. b := dAtA[iNdEx]
  30323. iNdEx++
  30324. stringLen |= (uint64(b) & 0x7F) << shift
  30325. if b < 0x80 {
  30326. break
  30327. }
  30328. }
  30329. intStringLen := int(stringLen)
  30330. if intStringLen < 0 {
  30331. return ErrInvalidLengthGenerated
  30332. }
  30333. postIndex := iNdEx + intStringLen
  30334. if postIndex > l {
  30335. return io.ErrUnexpectedEOF
  30336. }
  30337. m.Key = string(dAtA[iNdEx:postIndex])
  30338. iNdEx = postIndex
  30339. case 2:
  30340. if wireType != 2 {
  30341. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  30342. }
  30343. var stringLen uint64
  30344. for shift := uint(0); ; shift += 7 {
  30345. if shift >= 64 {
  30346. return ErrIntOverflowGenerated
  30347. }
  30348. if iNdEx >= l {
  30349. return io.ErrUnexpectedEOF
  30350. }
  30351. b := dAtA[iNdEx]
  30352. iNdEx++
  30353. stringLen |= (uint64(b) & 0x7F) << shift
  30354. if b < 0x80 {
  30355. break
  30356. }
  30357. }
  30358. intStringLen := int(stringLen)
  30359. if intStringLen < 0 {
  30360. return ErrInvalidLengthGenerated
  30361. }
  30362. postIndex := iNdEx + intStringLen
  30363. if postIndex > l {
  30364. return io.ErrUnexpectedEOF
  30365. }
  30366. m.Operator = NodeSelectorOperator(dAtA[iNdEx:postIndex])
  30367. iNdEx = postIndex
  30368. case 3:
  30369. if wireType != 2 {
  30370. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  30371. }
  30372. var stringLen 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. stringLen |= (uint64(b) & 0x7F) << shift
  30383. if b < 0x80 {
  30384. break
  30385. }
  30386. }
  30387. intStringLen := int(stringLen)
  30388. if intStringLen < 0 {
  30389. return ErrInvalidLengthGenerated
  30390. }
  30391. postIndex := iNdEx + intStringLen
  30392. if postIndex > l {
  30393. return io.ErrUnexpectedEOF
  30394. }
  30395. m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
  30396. iNdEx = postIndex
  30397. default:
  30398. iNdEx = preIndex
  30399. skippy, err := skipGenerated(dAtA[iNdEx:])
  30400. if err != nil {
  30401. return err
  30402. }
  30403. if skippy < 0 {
  30404. return ErrInvalidLengthGenerated
  30405. }
  30406. if (iNdEx + skippy) > l {
  30407. return io.ErrUnexpectedEOF
  30408. }
  30409. iNdEx += skippy
  30410. }
  30411. }
  30412. if iNdEx > l {
  30413. return io.ErrUnexpectedEOF
  30414. }
  30415. return nil
  30416. }
  30417. func (m *NodeSelectorTerm) Unmarshal(dAtA []byte) error {
  30418. l := len(dAtA)
  30419. iNdEx := 0
  30420. for iNdEx < l {
  30421. preIndex := iNdEx
  30422. var wire uint64
  30423. for shift := uint(0); ; shift += 7 {
  30424. if shift >= 64 {
  30425. return ErrIntOverflowGenerated
  30426. }
  30427. if iNdEx >= l {
  30428. return io.ErrUnexpectedEOF
  30429. }
  30430. b := dAtA[iNdEx]
  30431. iNdEx++
  30432. wire |= (uint64(b) & 0x7F) << shift
  30433. if b < 0x80 {
  30434. break
  30435. }
  30436. }
  30437. fieldNum := int32(wire >> 3)
  30438. wireType := int(wire & 0x7)
  30439. if wireType == 4 {
  30440. return fmt.Errorf("proto: NodeSelectorTerm: wiretype end group for non-group")
  30441. }
  30442. if fieldNum <= 0 {
  30443. return fmt.Errorf("proto: NodeSelectorTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  30444. }
  30445. switch fieldNum {
  30446. case 1:
  30447. if wireType != 2 {
  30448. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  30449. }
  30450. var msglen int
  30451. for shift := uint(0); ; shift += 7 {
  30452. if shift >= 64 {
  30453. return ErrIntOverflowGenerated
  30454. }
  30455. if iNdEx >= l {
  30456. return io.ErrUnexpectedEOF
  30457. }
  30458. b := dAtA[iNdEx]
  30459. iNdEx++
  30460. msglen |= (int(b) & 0x7F) << shift
  30461. if b < 0x80 {
  30462. break
  30463. }
  30464. }
  30465. if msglen < 0 {
  30466. return ErrInvalidLengthGenerated
  30467. }
  30468. postIndex := iNdEx + msglen
  30469. if postIndex > l {
  30470. return io.ErrUnexpectedEOF
  30471. }
  30472. m.MatchExpressions = append(m.MatchExpressions, NodeSelectorRequirement{})
  30473. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30474. return err
  30475. }
  30476. iNdEx = postIndex
  30477. default:
  30478. iNdEx = preIndex
  30479. skippy, err := skipGenerated(dAtA[iNdEx:])
  30480. if err != nil {
  30481. return err
  30482. }
  30483. if skippy < 0 {
  30484. return ErrInvalidLengthGenerated
  30485. }
  30486. if (iNdEx + skippy) > l {
  30487. return io.ErrUnexpectedEOF
  30488. }
  30489. iNdEx += skippy
  30490. }
  30491. }
  30492. if iNdEx > l {
  30493. return io.ErrUnexpectedEOF
  30494. }
  30495. return nil
  30496. }
  30497. func (m *NodeSpec) Unmarshal(dAtA []byte) error {
  30498. l := len(dAtA)
  30499. iNdEx := 0
  30500. for iNdEx < l {
  30501. preIndex := iNdEx
  30502. var wire uint64
  30503. for shift := uint(0); ; shift += 7 {
  30504. if shift >= 64 {
  30505. return ErrIntOverflowGenerated
  30506. }
  30507. if iNdEx >= l {
  30508. return io.ErrUnexpectedEOF
  30509. }
  30510. b := dAtA[iNdEx]
  30511. iNdEx++
  30512. wire |= (uint64(b) & 0x7F) << shift
  30513. if b < 0x80 {
  30514. break
  30515. }
  30516. }
  30517. fieldNum := int32(wire >> 3)
  30518. wireType := int(wire & 0x7)
  30519. if wireType == 4 {
  30520. return fmt.Errorf("proto: NodeSpec: wiretype end group for non-group")
  30521. }
  30522. if fieldNum <= 0 {
  30523. return fmt.Errorf("proto: NodeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  30524. }
  30525. switch fieldNum {
  30526. case 1:
  30527. if wireType != 2 {
  30528. return fmt.Errorf("proto: wrong wireType = %d for field PodCIDR", wireType)
  30529. }
  30530. var stringLen uint64
  30531. for shift := uint(0); ; shift += 7 {
  30532. if shift >= 64 {
  30533. return ErrIntOverflowGenerated
  30534. }
  30535. if iNdEx >= l {
  30536. return io.ErrUnexpectedEOF
  30537. }
  30538. b := dAtA[iNdEx]
  30539. iNdEx++
  30540. stringLen |= (uint64(b) & 0x7F) << shift
  30541. if b < 0x80 {
  30542. break
  30543. }
  30544. }
  30545. intStringLen := int(stringLen)
  30546. if intStringLen < 0 {
  30547. return ErrInvalidLengthGenerated
  30548. }
  30549. postIndex := iNdEx + intStringLen
  30550. if postIndex > l {
  30551. return io.ErrUnexpectedEOF
  30552. }
  30553. m.PodCIDR = string(dAtA[iNdEx:postIndex])
  30554. iNdEx = postIndex
  30555. case 2:
  30556. if wireType != 2 {
  30557. return fmt.Errorf("proto: wrong wireType = %d for field ExternalID", wireType)
  30558. }
  30559. var stringLen uint64
  30560. for shift := uint(0); ; shift += 7 {
  30561. if shift >= 64 {
  30562. return ErrIntOverflowGenerated
  30563. }
  30564. if iNdEx >= l {
  30565. return io.ErrUnexpectedEOF
  30566. }
  30567. b := dAtA[iNdEx]
  30568. iNdEx++
  30569. stringLen |= (uint64(b) & 0x7F) << shift
  30570. if b < 0x80 {
  30571. break
  30572. }
  30573. }
  30574. intStringLen := int(stringLen)
  30575. if intStringLen < 0 {
  30576. return ErrInvalidLengthGenerated
  30577. }
  30578. postIndex := iNdEx + intStringLen
  30579. if postIndex > l {
  30580. return io.ErrUnexpectedEOF
  30581. }
  30582. m.ExternalID = string(dAtA[iNdEx:postIndex])
  30583. iNdEx = postIndex
  30584. case 3:
  30585. if wireType != 2 {
  30586. return fmt.Errorf("proto: wrong wireType = %d for field ProviderID", wireType)
  30587. }
  30588. var stringLen uint64
  30589. for shift := uint(0); ; shift += 7 {
  30590. if shift >= 64 {
  30591. return ErrIntOverflowGenerated
  30592. }
  30593. if iNdEx >= l {
  30594. return io.ErrUnexpectedEOF
  30595. }
  30596. b := dAtA[iNdEx]
  30597. iNdEx++
  30598. stringLen |= (uint64(b) & 0x7F) << shift
  30599. if b < 0x80 {
  30600. break
  30601. }
  30602. }
  30603. intStringLen := int(stringLen)
  30604. if intStringLen < 0 {
  30605. return ErrInvalidLengthGenerated
  30606. }
  30607. postIndex := iNdEx + intStringLen
  30608. if postIndex > l {
  30609. return io.ErrUnexpectedEOF
  30610. }
  30611. m.ProviderID = string(dAtA[iNdEx:postIndex])
  30612. iNdEx = postIndex
  30613. case 4:
  30614. if wireType != 0 {
  30615. return fmt.Errorf("proto: wrong wireType = %d for field Unschedulable", wireType)
  30616. }
  30617. var v int
  30618. for shift := uint(0); ; shift += 7 {
  30619. if shift >= 64 {
  30620. return ErrIntOverflowGenerated
  30621. }
  30622. if iNdEx >= l {
  30623. return io.ErrUnexpectedEOF
  30624. }
  30625. b := dAtA[iNdEx]
  30626. iNdEx++
  30627. v |= (int(b) & 0x7F) << shift
  30628. if b < 0x80 {
  30629. break
  30630. }
  30631. }
  30632. m.Unschedulable = bool(v != 0)
  30633. case 5:
  30634. if wireType != 2 {
  30635. return fmt.Errorf("proto: wrong wireType = %d for field Taints", wireType)
  30636. }
  30637. var msglen int
  30638. for shift := uint(0); ; shift += 7 {
  30639. if shift >= 64 {
  30640. return ErrIntOverflowGenerated
  30641. }
  30642. if iNdEx >= l {
  30643. return io.ErrUnexpectedEOF
  30644. }
  30645. b := dAtA[iNdEx]
  30646. iNdEx++
  30647. msglen |= (int(b) & 0x7F) << shift
  30648. if b < 0x80 {
  30649. break
  30650. }
  30651. }
  30652. if msglen < 0 {
  30653. return ErrInvalidLengthGenerated
  30654. }
  30655. postIndex := iNdEx + msglen
  30656. if postIndex > l {
  30657. return io.ErrUnexpectedEOF
  30658. }
  30659. m.Taints = append(m.Taints, Taint{})
  30660. if err := m.Taints[len(m.Taints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30661. return err
  30662. }
  30663. iNdEx = postIndex
  30664. case 6:
  30665. if wireType != 2 {
  30666. return fmt.Errorf("proto: wrong wireType = %d for field ConfigSource", wireType)
  30667. }
  30668. var msglen int
  30669. for shift := uint(0); ; shift += 7 {
  30670. if shift >= 64 {
  30671. return ErrIntOverflowGenerated
  30672. }
  30673. if iNdEx >= l {
  30674. return io.ErrUnexpectedEOF
  30675. }
  30676. b := dAtA[iNdEx]
  30677. iNdEx++
  30678. msglen |= (int(b) & 0x7F) << shift
  30679. if b < 0x80 {
  30680. break
  30681. }
  30682. }
  30683. if msglen < 0 {
  30684. return ErrInvalidLengthGenerated
  30685. }
  30686. postIndex := iNdEx + msglen
  30687. if postIndex > l {
  30688. return io.ErrUnexpectedEOF
  30689. }
  30690. if m.ConfigSource == nil {
  30691. m.ConfigSource = &NodeConfigSource{}
  30692. }
  30693. if err := m.ConfigSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  30694. return err
  30695. }
  30696. iNdEx = postIndex
  30697. default:
  30698. iNdEx = preIndex
  30699. skippy, err := skipGenerated(dAtA[iNdEx:])
  30700. if err != nil {
  30701. return err
  30702. }
  30703. if skippy < 0 {
  30704. return ErrInvalidLengthGenerated
  30705. }
  30706. if (iNdEx + skippy) > l {
  30707. return io.ErrUnexpectedEOF
  30708. }
  30709. iNdEx += skippy
  30710. }
  30711. }
  30712. if iNdEx > l {
  30713. return io.ErrUnexpectedEOF
  30714. }
  30715. return nil
  30716. }
  30717. func (m *NodeStatus) Unmarshal(dAtA []byte) error {
  30718. l := len(dAtA)
  30719. iNdEx := 0
  30720. for iNdEx < l {
  30721. preIndex := iNdEx
  30722. var wire uint64
  30723. for shift := uint(0); ; shift += 7 {
  30724. if shift >= 64 {
  30725. return ErrIntOverflowGenerated
  30726. }
  30727. if iNdEx >= l {
  30728. return io.ErrUnexpectedEOF
  30729. }
  30730. b := dAtA[iNdEx]
  30731. iNdEx++
  30732. wire |= (uint64(b) & 0x7F) << shift
  30733. if b < 0x80 {
  30734. break
  30735. }
  30736. }
  30737. fieldNum := int32(wire >> 3)
  30738. wireType := int(wire & 0x7)
  30739. if wireType == 4 {
  30740. return fmt.Errorf("proto: NodeStatus: wiretype end group for non-group")
  30741. }
  30742. if fieldNum <= 0 {
  30743. return fmt.Errorf("proto: NodeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  30744. }
  30745. switch fieldNum {
  30746. case 1:
  30747. if wireType != 2 {
  30748. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  30749. }
  30750. var msglen int
  30751. for shift := uint(0); ; shift += 7 {
  30752. if shift >= 64 {
  30753. return ErrIntOverflowGenerated
  30754. }
  30755. if iNdEx >= l {
  30756. return io.ErrUnexpectedEOF
  30757. }
  30758. b := dAtA[iNdEx]
  30759. iNdEx++
  30760. msglen |= (int(b) & 0x7F) << shift
  30761. if b < 0x80 {
  30762. break
  30763. }
  30764. }
  30765. if msglen < 0 {
  30766. return ErrInvalidLengthGenerated
  30767. }
  30768. postIndex := iNdEx + msglen
  30769. if postIndex > l {
  30770. return io.ErrUnexpectedEOF
  30771. }
  30772. var keykey uint64
  30773. for shift := uint(0); ; shift += 7 {
  30774. if shift >= 64 {
  30775. return ErrIntOverflowGenerated
  30776. }
  30777. if iNdEx >= l {
  30778. return io.ErrUnexpectedEOF
  30779. }
  30780. b := dAtA[iNdEx]
  30781. iNdEx++
  30782. keykey |= (uint64(b) & 0x7F) << shift
  30783. if b < 0x80 {
  30784. break
  30785. }
  30786. }
  30787. var stringLenmapkey uint64
  30788. for shift := uint(0); ; shift += 7 {
  30789. if shift >= 64 {
  30790. return ErrIntOverflowGenerated
  30791. }
  30792. if iNdEx >= l {
  30793. return io.ErrUnexpectedEOF
  30794. }
  30795. b := dAtA[iNdEx]
  30796. iNdEx++
  30797. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  30798. if b < 0x80 {
  30799. break
  30800. }
  30801. }
  30802. intStringLenmapkey := int(stringLenmapkey)
  30803. if intStringLenmapkey < 0 {
  30804. return ErrInvalidLengthGenerated
  30805. }
  30806. postStringIndexmapkey := iNdEx + intStringLenmapkey
  30807. if postStringIndexmapkey > l {
  30808. return io.ErrUnexpectedEOF
  30809. }
  30810. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  30811. iNdEx = postStringIndexmapkey
  30812. if m.Capacity == nil {
  30813. m.Capacity = make(ResourceList)
  30814. }
  30815. if iNdEx < postIndex {
  30816. var valuekey uint64
  30817. for shift := uint(0); ; shift += 7 {
  30818. if shift >= 64 {
  30819. return ErrIntOverflowGenerated
  30820. }
  30821. if iNdEx >= l {
  30822. return io.ErrUnexpectedEOF
  30823. }
  30824. b := dAtA[iNdEx]
  30825. iNdEx++
  30826. valuekey |= (uint64(b) & 0x7F) << shift
  30827. if b < 0x80 {
  30828. break
  30829. }
  30830. }
  30831. var mapmsglen int
  30832. for shift := uint(0); ; shift += 7 {
  30833. if shift >= 64 {
  30834. return ErrIntOverflowGenerated
  30835. }
  30836. if iNdEx >= l {
  30837. return io.ErrUnexpectedEOF
  30838. }
  30839. b := dAtA[iNdEx]
  30840. iNdEx++
  30841. mapmsglen |= (int(b) & 0x7F) << shift
  30842. if b < 0x80 {
  30843. break
  30844. }
  30845. }
  30846. if mapmsglen < 0 {
  30847. return ErrInvalidLengthGenerated
  30848. }
  30849. postmsgIndex := iNdEx + mapmsglen
  30850. if mapmsglen < 0 {
  30851. return ErrInvalidLengthGenerated
  30852. }
  30853. if postmsgIndex > l {
  30854. return io.ErrUnexpectedEOF
  30855. }
  30856. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  30857. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  30858. return err
  30859. }
  30860. iNdEx = postmsgIndex
  30861. m.Capacity[ResourceName(mapkey)] = *mapvalue
  30862. } else {
  30863. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  30864. m.Capacity[ResourceName(mapkey)] = mapvalue
  30865. }
  30866. iNdEx = postIndex
  30867. case 2:
  30868. if wireType != 2 {
  30869. return fmt.Errorf("proto: wrong wireType = %d for field Allocatable", wireType)
  30870. }
  30871. var msglen int
  30872. for shift := uint(0); ; shift += 7 {
  30873. if shift >= 64 {
  30874. return ErrIntOverflowGenerated
  30875. }
  30876. if iNdEx >= l {
  30877. return io.ErrUnexpectedEOF
  30878. }
  30879. b := dAtA[iNdEx]
  30880. iNdEx++
  30881. msglen |= (int(b) & 0x7F) << shift
  30882. if b < 0x80 {
  30883. break
  30884. }
  30885. }
  30886. if msglen < 0 {
  30887. return ErrInvalidLengthGenerated
  30888. }
  30889. postIndex := iNdEx + msglen
  30890. if postIndex > l {
  30891. return io.ErrUnexpectedEOF
  30892. }
  30893. var keykey uint64
  30894. for shift := uint(0); ; shift += 7 {
  30895. if shift >= 64 {
  30896. return ErrIntOverflowGenerated
  30897. }
  30898. if iNdEx >= l {
  30899. return io.ErrUnexpectedEOF
  30900. }
  30901. b := dAtA[iNdEx]
  30902. iNdEx++
  30903. keykey |= (uint64(b) & 0x7F) << shift
  30904. if b < 0x80 {
  30905. break
  30906. }
  30907. }
  30908. var stringLenmapkey uint64
  30909. for shift := uint(0); ; shift += 7 {
  30910. if shift >= 64 {
  30911. return ErrIntOverflowGenerated
  30912. }
  30913. if iNdEx >= l {
  30914. return io.ErrUnexpectedEOF
  30915. }
  30916. b := dAtA[iNdEx]
  30917. iNdEx++
  30918. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  30919. if b < 0x80 {
  30920. break
  30921. }
  30922. }
  30923. intStringLenmapkey := int(stringLenmapkey)
  30924. if intStringLenmapkey < 0 {
  30925. return ErrInvalidLengthGenerated
  30926. }
  30927. postStringIndexmapkey := iNdEx + intStringLenmapkey
  30928. if postStringIndexmapkey > l {
  30929. return io.ErrUnexpectedEOF
  30930. }
  30931. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  30932. iNdEx = postStringIndexmapkey
  30933. if m.Allocatable == nil {
  30934. m.Allocatable = make(ResourceList)
  30935. }
  30936. if iNdEx < postIndex {
  30937. var valuekey uint64
  30938. for shift := uint(0); ; shift += 7 {
  30939. if shift >= 64 {
  30940. return ErrIntOverflowGenerated
  30941. }
  30942. if iNdEx >= l {
  30943. return io.ErrUnexpectedEOF
  30944. }
  30945. b := dAtA[iNdEx]
  30946. iNdEx++
  30947. valuekey |= (uint64(b) & 0x7F) << shift
  30948. if b < 0x80 {
  30949. break
  30950. }
  30951. }
  30952. var mapmsglen int
  30953. for shift := uint(0); ; shift += 7 {
  30954. if shift >= 64 {
  30955. return ErrIntOverflowGenerated
  30956. }
  30957. if iNdEx >= l {
  30958. return io.ErrUnexpectedEOF
  30959. }
  30960. b := dAtA[iNdEx]
  30961. iNdEx++
  30962. mapmsglen |= (int(b) & 0x7F) << shift
  30963. if b < 0x80 {
  30964. break
  30965. }
  30966. }
  30967. if mapmsglen < 0 {
  30968. return ErrInvalidLengthGenerated
  30969. }
  30970. postmsgIndex := iNdEx + mapmsglen
  30971. if mapmsglen < 0 {
  30972. return ErrInvalidLengthGenerated
  30973. }
  30974. if postmsgIndex > l {
  30975. return io.ErrUnexpectedEOF
  30976. }
  30977. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  30978. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  30979. return err
  30980. }
  30981. iNdEx = postmsgIndex
  30982. m.Allocatable[ResourceName(mapkey)] = *mapvalue
  30983. } else {
  30984. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  30985. m.Allocatable[ResourceName(mapkey)] = mapvalue
  30986. }
  30987. iNdEx = postIndex
  30988. case 3:
  30989. if wireType != 2 {
  30990. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  30991. }
  30992. var stringLen uint64
  30993. for shift := uint(0); ; shift += 7 {
  30994. if shift >= 64 {
  30995. return ErrIntOverflowGenerated
  30996. }
  30997. if iNdEx >= l {
  30998. return io.ErrUnexpectedEOF
  30999. }
  31000. b := dAtA[iNdEx]
  31001. iNdEx++
  31002. stringLen |= (uint64(b) & 0x7F) << shift
  31003. if b < 0x80 {
  31004. break
  31005. }
  31006. }
  31007. intStringLen := int(stringLen)
  31008. if intStringLen < 0 {
  31009. return ErrInvalidLengthGenerated
  31010. }
  31011. postIndex := iNdEx + intStringLen
  31012. if postIndex > l {
  31013. return io.ErrUnexpectedEOF
  31014. }
  31015. m.Phase = NodePhase(dAtA[iNdEx:postIndex])
  31016. iNdEx = postIndex
  31017. case 4:
  31018. if wireType != 2 {
  31019. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  31020. }
  31021. var msglen int
  31022. for shift := uint(0); ; shift += 7 {
  31023. if shift >= 64 {
  31024. return ErrIntOverflowGenerated
  31025. }
  31026. if iNdEx >= l {
  31027. return io.ErrUnexpectedEOF
  31028. }
  31029. b := dAtA[iNdEx]
  31030. iNdEx++
  31031. msglen |= (int(b) & 0x7F) << shift
  31032. if b < 0x80 {
  31033. break
  31034. }
  31035. }
  31036. if msglen < 0 {
  31037. return ErrInvalidLengthGenerated
  31038. }
  31039. postIndex := iNdEx + msglen
  31040. if postIndex > l {
  31041. return io.ErrUnexpectedEOF
  31042. }
  31043. m.Conditions = append(m.Conditions, NodeCondition{})
  31044. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31045. return err
  31046. }
  31047. iNdEx = postIndex
  31048. case 5:
  31049. if wireType != 2 {
  31050. return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
  31051. }
  31052. var msglen int
  31053. for shift := uint(0); ; shift += 7 {
  31054. if shift >= 64 {
  31055. return ErrIntOverflowGenerated
  31056. }
  31057. if iNdEx >= l {
  31058. return io.ErrUnexpectedEOF
  31059. }
  31060. b := dAtA[iNdEx]
  31061. iNdEx++
  31062. msglen |= (int(b) & 0x7F) << shift
  31063. if b < 0x80 {
  31064. break
  31065. }
  31066. }
  31067. if msglen < 0 {
  31068. return ErrInvalidLengthGenerated
  31069. }
  31070. postIndex := iNdEx + msglen
  31071. if postIndex > l {
  31072. return io.ErrUnexpectedEOF
  31073. }
  31074. m.Addresses = append(m.Addresses, NodeAddress{})
  31075. if err := m.Addresses[len(m.Addresses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31076. return err
  31077. }
  31078. iNdEx = postIndex
  31079. case 6:
  31080. if wireType != 2 {
  31081. return fmt.Errorf("proto: wrong wireType = %d for field DaemonEndpoints", wireType)
  31082. }
  31083. var msglen int
  31084. for shift := uint(0); ; shift += 7 {
  31085. if shift >= 64 {
  31086. return ErrIntOverflowGenerated
  31087. }
  31088. if iNdEx >= l {
  31089. return io.ErrUnexpectedEOF
  31090. }
  31091. b := dAtA[iNdEx]
  31092. iNdEx++
  31093. msglen |= (int(b) & 0x7F) << shift
  31094. if b < 0x80 {
  31095. break
  31096. }
  31097. }
  31098. if msglen < 0 {
  31099. return ErrInvalidLengthGenerated
  31100. }
  31101. postIndex := iNdEx + msglen
  31102. if postIndex > l {
  31103. return io.ErrUnexpectedEOF
  31104. }
  31105. if err := m.DaemonEndpoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31106. return err
  31107. }
  31108. iNdEx = postIndex
  31109. case 7:
  31110. if wireType != 2 {
  31111. return fmt.Errorf("proto: wrong wireType = %d for field NodeInfo", wireType)
  31112. }
  31113. var msglen int
  31114. for shift := uint(0); ; shift += 7 {
  31115. if shift >= 64 {
  31116. return ErrIntOverflowGenerated
  31117. }
  31118. if iNdEx >= l {
  31119. return io.ErrUnexpectedEOF
  31120. }
  31121. b := dAtA[iNdEx]
  31122. iNdEx++
  31123. msglen |= (int(b) & 0x7F) << shift
  31124. if b < 0x80 {
  31125. break
  31126. }
  31127. }
  31128. if msglen < 0 {
  31129. return ErrInvalidLengthGenerated
  31130. }
  31131. postIndex := iNdEx + msglen
  31132. if postIndex > l {
  31133. return io.ErrUnexpectedEOF
  31134. }
  31135. if err := m.NodeInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31136. return err
  31137. }
  31138. iNdEx = postIndex
  31139. case 8:
  31140. if wireType != 2 {
  31141. return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
  31142. }
  31143. var msglen int
  31144. for shift := uint(0); ; shift += 7 {
  31145. if shift >= 64 {
  31146. return ErrIntOverflowGenerated
  31147. }
  31148. if iNdEx >= l {
  31149. return io.ErrUnexpectedEOF
  31150. }
  31151. b := dAtA[iNdEx]
  31152. iNdEx++
  31153. msglen |= (int(b) & 0x7F) << shift
  31154. if b < 0x80 {
  31155. break
  31156. }
  31157. }
  31158. if msglen < 0 {
  31159. return ErrInvalidLengthGenerated
  31160. }
  31161. postIndex := iNdEx + msglen
  31162. if postIndex > l {
  31163. return io.ErrUnexpectedEOF
  31164. }
  31165. m.Images = append(m.Images, ContainerImage{})
  31166. if err := m.Images[len(m.Images)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31167. return err
  31168. }
  31169. iNdEx = postIndex
  31170. case 9:
  31171. if wireType != 2 {
  31172. return fmt.Errorf("proto: wrong wireType = %d for field VolumesInUse", wireType)
  31173. }
  31174. var stringLen uint64
  31175. for shift := uint(0); ; shift += 7 {
  31176. if shift >= 64 {
  31177. return ErrIntOverflowGenerated
  31178. }
  31179. if iNdEx >= l {
  31180. return io.ErrUnexpectedEOF
  31181. }
  31182. b := dAtA[iNdEx]
  31183. iNdEx++
  31184. stringLen |= (uint64(b) & 0x7F) << shift
  31185. if b < 0x80 {
  31186. break
  31187. }
  31188. }
  31189. intStringLen := int(stringLen)
  31190. if intStringLen < 0 {
  31191. return ErrInvalidLengthGenerated
  31192. }
  31193. postIndex := iNdEx + intStringLen
  31194. if postIndex > l {
  31195. return io.ErrUnexpectedEOF
  31196. }
  31197. m.VolumesInUse = append(m.VolumesInUse, UniqueVolumeName(dAtA[iNdEx:postIndex]))
  31198. iNdEx = postIndex
  31199. case 10:
  31200. if wireType != 2 {
  31201. return fmt.Errorf("proto: wrong wireType = %d for field VolumesAttached", wireType)
  31202. }
  31203. var msglen int
  31204. for shift := uint(0); ; shift += 7 {
  31205. if shift >= 64 {
  31206. return ErrIntOverflowGenerated
  31207. }
  31208. if iNdEx >= l {
  31209. return io.ErrUnexpectedEOF
  31210. }
  31211. b := dAtA[iNdEx]
  31212. iNdEx++
  31213. msglen |= (int(b) & 0x7F) << shift
  31214. if b < 0x80 {
  31215. break
  31216. }
  31217. }
  31218. if msglen < 0 {
  31219. return ErrInvalidLengthGenerated
  31220. }
  31221. postIndex := iNdEx + msglen
  31222. if postIndex > l {
  31223. return io.ErrUnexpectedEOF
  31224. }
  31225. m.VolumesAttached = append(m.VolumesAttached, AttachedVolume{})
  31226. if err := m.VolumesAttached[len(m.VolumesAttached)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31227. return err
  31228. }
  31229. iNdEx = postIndex
  31230. default:
  31231. iNdEx = preIndex
  31232. skippy, err := skipGenerated(dAtA[iNdEx:])
  31233. if err != nil {
  31234. return err
  31235. }
  31236. if skippy < 0 {
  31237. return ErrInvalidLengthGenerated
  31238. }
  31239. if (iNdEx + skippy) > l {
  31240. return io.ErrUnexpectedEOF
  31241. }
  31242. iNdEx += skippy
  31243. }
  31244. }
  31245. if iNdEx > l {
  31246. return io.ErrUnexpectedEOF
  31247. }
  31248. return nil
  31249. }
  31250. func (m *NodeSystemInfo) Unmarshal(dAtA []byte) error {
  31251. l := len(dAtA)
  31252. iNdEx := 0
  31253. for iNdEx < l {
  31254. preIndex := iNdEx
  31255. var wire uint64
  31256. for shift := uint(0); ; shift += 7 {
  31257. if shift >= 64 {
  31258. return ErrIntOverflowGenerated
  31259. }
  31260. if iNdEx >= l {
  31261. return io.ErrUnexpectedEOF
  31262. }
  31263. b := dAtA[iNdEx]
  31264. iNdEx++
  31265. wire |= (uint64(b) & 0x7F) << shift
  31266. if b < 0x80 {
  31267. break
  31268. }
  31269. }
  31270. fieldNum := int32(wire >> 3)
  31271. wireType := int(wire & 0x7)
  31272. if wireType == 4 {
  31273. return fmt.Errorf("proto: NodeSystemInfo: wiretype end group for non-group")
  31274. }
  31275. if fieldNum <= 0 {
  31276. return fmt.Errorf("proto: NodeSystemInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  31277. }
  31278. switch fieldNum {
  31279. case 1:
  31280. if wireType != 2 {
  31281. return fmt.Errorf("proto: wrong wireType = %d for field MachineID", wireType)
  31282. }
  31283. var stringLen uint64
  31284. for shift := uint(0); ; shift += 7 {
  31285. if shift >= 64 {
  31286. return ErrIntOverflowGenerated
  31287. }
  31288. if iNdEx >= l {
  31289. return io.ErrUnexpectedEOF
  31290. }
  31291. b := dAtA[iNdEx]
  31292. iNdEx++
  31293. stringLen |= (uint64(b) & 0x7F) << shift
  31294. if b < 0x80 {
  31295. break
  31296. }
  31297. }
  31298. intStringLen := int(stringLen)
  31299. if intStringLen < 0 {
  31300. return ErrInvalidLengthGenerated
  31301. }
  31302. postIndex := iNdEx + intStringLen
  31303. if postIndex > l {
  31304. return io.ErrUnexpectedEOF
  31305. }
  31306. m.MachineID = string(dAtA[iNdEx:postIndex])
  31307. iNdEx = postIndex
  31308. case 2:
  31309. if wireType != 2 {
  31310. return fmt.Errorf("proto: wrong wireType = %d for field SystemUUID", wireType)
  31311. }
  31312. var stringLen uint64
  31313. for shift := uint(0); ; shift += 7 {
  31314. if shift >= 64 {
  31315. return ErrIntOverflowGenerated
  31316. }
  31317. if iNdEx >= l {
  31318. return io.ErrUnexpectedEOF
  31319. }
  31320. b := dAtA[iNdEx]
  31321. iNdEx++
  31322. stringLen |= (uint64(b) & 0x7F) << shift
  31323. if b < 0x80 {
  31324. break
  31325. }
  31326. }
  31327. intStringLen := int(stringLen)
  31328. if intStringLen < 0 {
  31329. return ErrInvalidLengthGenerated
  31330. }
  31331. postIndex := iNdEx + intStringLen
  31332. if postIndex > l {
  31333. return io.ErrUnexpectedEOF
  31334. }
  31335. m.SystemUUID = string(dAtA[iNdEx:postIndex])
  31336. iNdEx = postIndex
  31337. case 3:
  31338. if wireType != 2 {
  31339. return fmt.Errorf("proto: wrong wireType = %d for field BootID", wireType)
  31340. }
  31341. var stringLen uint64
  31342. for shift := uint(0); ; shift += 7 {
  31343. if shift >= 64 {
  31344. return ErrIntOverflowGenerated
  31345. }
  31346. if iNdEx >= l {
  31347. return io.ErrUnexpectedEOF
  31348. }
  31349. b := dAtA[iNdEx]
  31350. iNdEx++
  31351. stringLen |= (uint64(b) & 0x7F) << shift
  31352. if b < 0x80 {
  31353. break
  31354. }
  31355. }
  31356. intStringLen := int(stringLen)
  31357. if intStringLen < 0 {
  31358. return ErrInvalidLengthGenerated
  31359. }
  31360. postIndex := iNdEx + intStringLen
  31361. if postIndex > l {
  31362. return io.ErrUnexpectedEOF
  31363. }
  31364. m.BootID = string(dAtA[iNdEx:postIndex])
  31365. iNdEx = postIndex
  31366. case 4:
  31367. if wireType != 2 {
  31368. return fmt.Errorf("proto: wrong wireType = %d for field KernelVersion", wireType)
  31369. }
  31370. var stringLen uint64
  31371. for shift := uint(0); ; shift += 7 {
  31372. if shift >= 64 {
  31373. return ErrIntOverflowGenerated
  31374. }
  31375. if iNdEx >= l {
  31376. return io.ErrUnexpectedEOF
  31377. }
  31378. b := dAtA[iNdEx]
  31379. iNdEx++
  31380. stringLen |= (uint64(b) & 0x7F) << shift
  31381. if b < 0x80 {
  31382. break
  31383. }
  31384. }
  31385. intStringLen := int(stringLen)
  31386. if intStringLen < 0 {
  31387. return ErrInvalidLengthGenerated
  31388. }
  31389. postIndex := iNdEx + intStringLen
  31390. if postIndex > l {
  31391. return io.ErrUnexpectedEOF
  31392. }
  31393. m.KernelVersion = string(dAtA[iNdEx:postIndex])
  31394. iNdEx = postIndex
  31395. case 5:
  31396. if wireType != 2 {
  31397. return fmt.Errorf("proto: wrong wireType = %d for field OSImage", wireType)
  31398. }
  31399. var stringLen uint64
  31400. for shift := uint(0); ; shift += 7 {
  31401. if shift >= 64 {
  31402. return ErrIntOverflowGenerated
  31403. }
  31404. if iNdEx >= l {
  31405. return io.ErrUnexpectedEOF
  31406. }
  31407. b := dAtA[iNdEx]
  31408. iNdEx++
  31409. stringLen |= (uint64(b) & 0x7F) << shift
  31410. if b < 0x80 {
  31411. break
  31412. }
  31413. }
  31414. intStringLen := int(stringLen)
  31415. if intStringLen < 0 {
  31416. return ErrInvalidLengthGenerated
  31417. }
  31418. postIndex := iNdEx + intStringLen
  31419. if postIndex > l {
  31420. return io.ErrUnexpectedEOF
  31421. }
  31422. m.OSImage = string(dAtA[iNdEx:postIndex])
  31423. iNdEx = postIndex
  31424. case 6:
  31425. if wireType != 2 {
  31426. return fmt.Errorf("proto: wrong wireType = %d for field ContainerRuntimeVersion", wireType)
  31427. }
  31428. var stringLen uint64
  31429. for shift := uint(0); ; shift += 7 {
  31430. if shift >= 64 {
  31431. return ErrIntOverflowGenerated
  31432. }
  31433. if iNdEx >= l {
  31434. return io.ErrUnexpectedEOF
  31435. }
  31436. b := dAtA[iNdEx]
  31437. iNdEx++
  31438. stringLen |= (uint64(b) & 0x7F) << shift
  31439. if b < 0x80 {
  31440. break
  31441. }
  31442. }
  31443. intStringLen := int(stringLen)
  31444. if intStringLen < 0 {
  31445. return ErrInvalidLengthGenerated
  31446. }
  31447. postIndex := iNdEx + intStringLen
  31448. if postIndex > l {
  31449. return io.ErrUnexpectedEOF
  31450. }
  31451. m.ContainerRuntimeVersion = string(dAtA[iNdEx:postIndex])
  31452. iNdEx = postIndex
  31453. case 7:
  31454. if wireType != 2 {
  31455. return fmt.Errorf("proto: wrong wireType = %d for field KubeletVersion", wireType)
  31456. }
  31457. var stringLen uint64
  31458. for shift := uint(0); ; shift += 7 {
  31459. if shift >= 64 {
  31460. return ErrIntOverflowGenerated
  31461. }
  31462. if iNdEx >= l {
  31463. return io.ErrUnexpectedEOF
  31464. }
  31465. b := dAtA[iNdEx]
  31466. iNdEx++
  31467. stringLen |= (uint64(b) & 0x7F) << shift
  31468. if b < 0x80 {
  31469. break
  31470. }
  31471. }
  31472. intStringLen := int(stringLen)
  31473. if intStringLen < 0 {
  31474. return ErrInvalidLengthGenerated
  31475. }
  31476. postIndex := iNdEx + intStringLen
  31477. if postIndex > l {
  31478. return io.ErrUnexpectedEOF
  31479. }
  31480. m.KubeletVersion = string(dAtA[iNdEx:postIndex])
  31481. iNdEx = postIndex
  31482. case 8:
  31483. if wireType != 2 {
  31484. return fmt.Errorf("proto: wrong wireType = %d for field KubeProxyVersion", wireType)
  31485. }
  31486. var stringLen uint64
  31487. for shift := uint(0); ; shift += 7 {
  31488. if shift >= 64 {
  31489. return ErrIntOverflowGenerated
  31490. }
  31491. if iNdEx >= l {
  31492. return io.ErrUnexpectedEOF
  31493. }
  31494. b := dAtA[iNdEx]
  31495. iNdEx++
  31496. stringLen |= (uint64(b) & 0x7F) << shift
  31497. if b < 0x80 {
  31498. break
  31499. }
  31500. }
  31501. intStringLen := int(stringLen)
  31502. if intStringLen < 0 {
  31503. return ErrInvalidLengthGenerated
  31504. }
  31505. postIndex := iNdEx + intStringLen
  31506. if postIndex > l {
  31507. return io.ErrUnexpectedEOF
  31508. }
  31509. m.KubeProxyVersion = string(dAtA[iNdEx:postIndex])
  31510. iNdEx = postIndex
  31511. case 9:
  31512. if wireType != 2 {
  31513. return fmt.Errorf("proto: wrong wireType = %d for field OperatingSystem", wireType)
  31514. }
  31515. var stringLen 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. stringLen |= (uint64(b) & 0x7F) << shift
  31526. if b < 0x80 {
  31527. break
  31528. }
  31529. }
  31530. intStringLen := int(stringLen)
  31531. if intStringLen < 0 {
  31532. return ErrInvalidLengthGenerated
  31533. }
  31534. postIndex := iNdEx + intStringLen
  31535. if postIndex > l {
  31536. return io.ErrUnexpectedEOF
  31537. }
  31538. m.OperatingSystem = string(dAtA[iNdEx:postIndex])
  31539. iNdEx = postIndex
  31540. case 10:
  31541. if wireType != 2 {
  31542. return fmt.Errorf("proto: wrong wireType = %d for field Architecture", wireType)
  31543. }
  31544. var stringLen uint64
  31545. for shift := uint(0); ; shift += 7 {
  31546. if shift >= 64 {
  31547. return ErrIntOverflowGenerated
  31548. }
  31549. if iNdEx >= l {
  31550. return io.ErrUnexpectedEOF
  31551. }
  31552. b := dAtA[iNdEx]
  31553. iNdEx++
  31554. stringLen |= (uint64(b) & 0x7F) << shift
  31555. if b < 0x80 {
  31556. break
  31557. }
  31558. }
  31559. intStringLen := int(stringLen)
  31560. if intStringLen < 0 {
  31561. return ErrInvalidLengthGenerated
  31562. }
  31563. postIndex := iNdEx + intStringLen
  31564. if postIndex > l {
  31565. return io.ErrUnexpectedEOF
  31566. }
  31567. m.Architecture = string(dAtA[iNdEx:postIndex])
  31568. iNdEx = postIndex
  31569. default:
  31570. iNdEx = preIndex
  31571. skippy, err := skipGenerated(dAtA[iNdEx:])
  31572. if err != nil {
  31573. return err
  31574. }
  31575. if skippy < 0 {
  31576. return ErrInvalidLengthGenerated
  31577. }
  31578. if (iNdEx + skippy) > l {
  31579. return io.ErrUnexpectedEOF
  31580. }
  31581. iNdEx += skippy
  31582. }
  31583. }
  31584. if iNdEx > l {
  31585. return io.ErrUnexpectedEOF
  31586. }
  31587. return nil
  31588. }
  31589. func (m *ObjectFieldSelector) Unmarshal(dAtA []byte) error {
  31590. l := len(dAtA)
  31591. iNdEx := 0
  31592. for iNdEx < l {
  31593. preIndex := iNdEx
  31594. var wire uint64
  31595. for shift := uint(0); ; shift += 7 {
  31596. if shift >= 64 {
  31597. return ErrIntOverflowGenerated
  31598. }
  31599. if iNdEx >= l {
  31600. return io.ErrUnexpectedEOF
  31601. }
  31602. b := dAtA[iNdEx]
  31603. iNdEx++
  31604. wire |= (uint64(b) & 0x7F) << shift
  31605. if b < 0x80 {
  31606. break
  31607. }
  31608. }
  31609. fieldNum := int32(wire >> 3)
  31610. wireType := int(wire & 0x7)
  31611. if wireType == 4 {
  31612. return fmt.Errorf("proto: ObjectFieldSelector: wiretype end group for non-group")
  31613. }
  31614. if fieldNum <= 0 {
  31615. return fmt.Errorf("proto: ObjectFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  31616. }
  31617. switch fieldNum {
  31618. case 1:
  31619. if wireType != 2 {
  31620. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  31621. }
  31622. var stringLen uint64
  31623. for shift := uint(0); ; shift += 7 {
  31624. if shift >= 64 {
  31625. return ErrIntOverflowGenerated
  31626. }
  31627. if iNdEx >= l {
  31628. return io.ErrUnexpectedEOF
  31629. }
  31630. b := dAtA[iNdEx]
  31631. iNdEx++
  31632. stringLen |= (uint64(b) & 0x7F) << shift
  31633. if b < 0x80 {
  31634. break
  31635. }
  31636. }
  31637. intStringLen := int(stringLen)
  31638. if intStringLen < 0 {
  31639. return ErrInvalidLengthGenerated
  31640. }
  31641. postIndex := iNdEx + intStringLen
  31642. if postIndex > l {
  31643. return io.ErrUnexpectedEOF
  31644. }
  31645. m.APIVersion = string(dAtA[iNdEx:postIndex])
  31646. iNdEx = postIndex
  31647. case 2:
  31648. if wireType != 2 {
  31649. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  31650. }
  31651. var stringLen uint64
  31652. for shift := uint(0); ; shift += 7 {
  31653. if shift >= 64 {
  31654. return ErrIntOverflowGenerated
  31655. }
  31656. if iNdEx >= l {
  31657. return io.ErrUnexpectedEOF
  31658. }
  31659. b := dAtA[iNdEx]
  31660. iNdEx++
  31661. stringLen |= (uint64(b) & 0x7F) << shift
  31662. if b < 0x80 {
  31663. break
  31664. }
  31665. }
  31666. intStringLen := int(stringLen)
  31667. if intStringLen < 0 {
  31668. return ErrInvalidLengthGenerated
  31669. }
  31670. postIndex := iNdEx + intStringLen
  31671. if postIndex > l {
  31672. return io.ErrUnexpectedEOF
  31673. }
  31674. m.FieldPath = string(dAtA[iNdEx:postIndex])
  31675. iNdEx = postIndex
  31676. default:
  31677. iNdEx = preIndex
  31678. skippy, err := skipGenerated(dAtA[iNdEx:])
  31679. if err != nil {
  31680. return err
  31681. }
  31682. if skippy < 0 {
  31683. return ErrInvalidLengthGenerated
  31684. }
  31685. if (iNdEx + skippy) > l {
  31686. return io.ErrUnexpectedEOF
  31687. }
  31688. iNdEx += skippy
  31689. }
  31690. }
  31691. if iNdEx > l {
  31692. return io.ErrUnexpectedEOF
  31693. }
  31694. return nil
  31695. }
  31696. func (m *ObjectMeta) Unmarshal(dAtA []byte) error {
  31697. l := len(dAtA)
  31698. iNdEx := 0
  31699. for iNdEx < l {
  31700. preIndex := iNdEx
  31701. var wire uint64
  31702. for shift := uint(0); ; shift += 7 {
  31703. if shift >= 64 {
  31704. return ErrIntOverflowGenerated
  31705. }
  31706. if iNdEx >= l {
  31707. return io.ErrUnexpectedEOF
  31708. }
  31709. b := dAtA[iNdEx]
  31710. iNdEx++
  31711. wire |= (uint64(b) & 0x7F) << shift
  31712. if b < 0x80 {
  31713. break
  31714. }
  31715. }
  31716. fieldNum := int32(wire >> 3)
  31717. wireType := int(wire & 0x7)
  31718. if wireType == 4 {
  31719. return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group")
  31720. }
  31721. if fieldNum <= 0 {
  31722. return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  31723. }
  31724. switch fieldNum {
  31725. case 1:
  31726. if wireType != 2 {
  31727. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  31728. }
  31729. var stringLen uint64
  31730. for shift := uint(0); ; shift += 7 {
  31731. if shift >= 64 {
  31732. return ErrIntOverflowGenerated
  31733. }
  31734. if iNdEx >= l {
  31735. return io.ErrUnexpectedEOF
  31736. }
  31737. b := dAtA[iNdEx]
  31738. iNdEx++
  31739. stringLen |= (uint64(b) & 0x7F) << shift
  31740. if b < 0x80 {
  31741. break
  31742. }
  31743. }
  31744. intStringLen := int(stringLen)
  31745. if intStringLen < 0 {
  31746. return ErrInvalidLengthGenerated
  31747. }
  31748. postIndex := iNdEx + intStringLen
  31749. if postIndex > l {
  31750. return io.ErrUnexpectedEOF
  31751. }
  31752. m.Name = string(dAtA[iNdEx:postIndex])
  31753. iNdEx = postIndex
  31754. case 2:
  31755. if wireType != 2 {
  31756. return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType)
  31757. }
  31758. var stringLen uint64
  31759. for shift := uint(0); ; shift += 7 {
  31760. if shift >= 64 {
  31761. return ErrIntOverflowGenerated
  31762. }
  31763. if iNdEx >= l {
  31764. return io.ErrUnexpectedEOF
  31765. }
  31766. b := dAtA[iNdEx]
  31767. iNdEx++
  31768. stringLen |= (uint64(b) & 0x7F) << shift
  31769. if b < 0x80 {
  31770. break
  31771. }
  31772. }
  31773. intStringLen := int(stringLen)
  31774. if intStringLen < 0 {
  31775. return ErrInvalidLengthGenerated
  31776. }
  31777. postIndex := iNdEx + intStringLen
  31778. if postIndex > l {
  31779. return io.ErrUnexpectedEOF
  31780. }
  31781. m.GenerateName = string(dAtA[iNdEx:postIndex])
  31782. iNdEx = postIndex
  31783. case 3:
  31784. if wireType != 2 {
  31785. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  31786. }
  31787. var stringLen uint64
  31788. for shift := uint(0); ; shift += 7 {
  31789. if shift >= 64 {
  31790. return ErrIntOverflowGenerated
  31791. }
  31792. if iNdEx >= l {
  31793. return io.ErrUnexpectedEOF
  31794. }
  31795. b := dAtA[iNdEx]
  31796. iNdEx++
  31797. stringLen |= (uint64(b) & 0x7F) << shift
  31798. if b < 0x80 {
  31799. break
  31800. }
  31801. }
  31802. intStringLen := int(stringLen)
  31803. if intStringLen < 0 {
  31804. return ErrInvalidLengthGenerated
  31805. }
  31806. postIndex := iNdEx + intStringLen
  31807. if postIndex > l {
  31808. return io.ErrUnexpectedEOF
  31809. }
  31810. m.Namespace = string(dAtA[iNdEx:postIndex])
  31811. iNdEx = postIndex
  31812. case 4:
  31813. if wireType != 2 {
  31814. return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
  31815. }
  31816. var stringLen uint64
  31817. for shift := uint(0); ; shift += 7 {
  31818. if shift >= 64 {
  31819. return ErrIntOverflowGenerated
  31820. }
  31821. if iNdEx >= l {
  31822. return io.ErrUnexpectedEOF
  31823. }
  31824. b := dAtA[iNdEx]
  31825. iNdEx++
  31826. stringLen |= (uint64(b) & 0x7F) << shift
  31827. if b < 0x80 {
  31828. break
  31829. }
  31830. }
  31831. intStringLen := int(stringLen)
  31832. if intStringLen < 0 {
  31833. return ErrInvalidLengthGenerated
  31834. }
  31835. postIndex := iNdEx + intStringLen
  31836. if postIndex > l {
  31837. return io.ErrUnexpectedEOF
  31838. }
  31839. m.SelfLink = string(dAtA[iNdEx:postIndex])
  31840. iNdEx = postIndex
  31841. case 5:
  31842. if wireType != 2 {
  31843. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  31844. }
  31845. var stringLen uint64
  31846. for shift := uint(0); ; shift += 7 {
  31847. if shift >= 64 {
  31848. return ErrIntOverflowGenerated
  31849. }
  31850. if iNdEx >= l {
  31851. return io.ErrUnexpectedEOF
  31852. }
  31853. b := dAtA[iNdEx]
  31854. iNdEx++
  31855. stringLen |= (uint64(b) & 0x7F) << shift
  31856. if b < 0x80 {
  31857. break
  31858. }
  31859. }
  31860. intStringLen := int(stringLen)
  31861. if intStringLen < 0 {
  31862. return ErrInvalidLengthGenerated
  31863. }
  31864. postIndex := iNdEx + intStringLen
  31865. if postIndex > l {
  31866. return io.ErrUnexpectedEOF
  31867. }
  31868. m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  31869. iNdEx = postIndex
  31870. case 6:
  31871. if wireType != 2 {
  31872. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  31873. }
  31874. var stringLen uint64
  31875. for shift := uint(0); ; shift += 7 {
  31876. if shift >= 64 {
  31877. return ErrIntOverflowGenerated
  31878. }
  31879. if iNdEx >= l {
  31880. return io.ErrUnexpectedEOF
  31881. }
  31882. b := dAtA[iNdEx]
  31883. iNdEx++
  31884. stringLen |= (uint64(b) & 0x7F) << shift
  31885. if b < 0x80 {
  31886. break
  31887. }
  31888. }
  31889. intStringLen := int(stringLen)
  31890. if intStringLen < 0 {
  31891. return ErrInvalidLengthGenerated
  31892. }
  31893. postIndex := iNdEx + intStringLen
  31894. if postIndex > l {
  31895. return io.ErrUnexpectedEOF
  31896. }
  31897. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  31898. iNdEx = postIndex
  31899. case 7:
  31900. if wireType != 0 {
  31901. return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType)
  31902. }
  31903. m.Generation = 0
  31904. for shift := uint(0); ; shift += 7 {
  31905. if shift >= 64 {
  31906. return ErrIntOverflowGenerated
  31907. }
  31908. if iNdEx >= l {
  31909. return io.ErrUnexpectedEOF
  31910. }
  31911. b := dAtA[iNdEx]
  31912. iNdEx++
  31913. m.Generation |= (int64(b) & 0x7F) << shift
  31914. if b < 0x80 {
  31915. break
  31916. }
  31917. }
  31918. case 8:
  31919. if wireType != 2 {
  31920. return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType)
  31921. }
  31922. var msglen int
  31923. for shift := uint(0); ; shift += 7 {
  31924. if shift >= 64 {
  31925. return ErrIntOverflowGenerated
  31926. }
  31927. if iNdEx >= l {
  31928. return io.ErrUnexpectedEOF
  31929. }
  31930. b := dAtA[iNdEx]
  31931. iNdEx++
  31932. msglen |= (int(b) & 0x7F) << shift
  31933. if b < 0x80 {
  31934. break
  31935. }
  31936. }
  31937. if msglen < 0 {
  31938. return ErrInvalidLengthGenerated
  31939. }
  31940. postIndex := iNdEx + msglen
  31941. if postIndex > l {
  31942. return io.ErrUnexpectedEOF
  31943. }
  31944. if err := m.CreationTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31945. return err
  31946. }
  31947. iNdEx = postIndex
  31948. case 9:
  31949. if wireType != 2 {
  31950. return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType)
  31951. }
  31952. var msglen int
  31953. for shift := uint(0); ; shift += 7 {
  31954. if shift >= 64 {
  31955. return ErrIntOverflowGenerated
  31956. }
  31957. if iNdEx >= l {
  31958. return io.ErrUnexpectedEOF
  31959. }
  31960. b := dAtA[iNdEx]
  31961. iNdEx++
  31962. msglen |= (int(b) & 0x7F) << shift
  31963. if b < 0x80 {
  31964. break
  31965. }
  31966. }
  31967. if msglen < 0 {
  31968. return ErrInvalidLengthGenerated
  31969. }
  31970. postIndex := iNdEx + msglen
  31971. if postIndex > l {
  31972. return io.ErrUnexpectedEOF
  31973. }
  31974. if m.DeletionTimestamp == nil {
  31975. m.DeletionTimestamp = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  31976. }
  31977. if err := m.DeletionTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  31978. return err
  31979. }
  31980. iNdEx = postIndex
  31981. case 10:
  31982. if wireType != 0 {
  31983. return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType)
  31984. }
  31985. var v int64
  31986. for shift := uint(0); ; shift += 7 {
  31987. if shift >= 64 {
  31988. return ErrIntOverflowGenerated
  31989. }
  31990. if iNdEx >= l {
  31991. return io.ErrUnexpectedEOF
  31992. }
  31993. b := dAtA[iNdEx]
  31994. iNdEx++
  31995. v |= (int64(b) & 0x7F) << shift
  31996. if b < 0x80 {
  31997. break
  31998. }
  31999. }
  32000. m.DeletionGracePeriodSeconds = &v
  32001. case 11:
  32002. if wireType != 2 {
  32003. return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
  32004. }
  32005. var msglen int
  32006. for shift := uint(0); ; shift += 7 {
  32007. if shift >= 64 {
  32008. return ErrIntOverflowGenerated
  32009. }
  32010. if iNdEx >= l {
  32011. return io.ErrUnexpectedEOF
  32012. }
  32013. b := dAtA[iNdEx]
  32014. iNdEx++
  32015. msglen |= (int(b) & 0x7F) << shift
  32016. if b < 0x80 {
  32017. break
  32018. }
  32019. }
  32020. if msglen < 0 {
  32021. return ErrInvalidLengthGenerated
  32022. }
  32023. postIndex := iNdEx + msglen
  32024. if postIndex > l {
  32025. return io.ErrUnexpectedEOF
  32026. }
  32027. var keykey uint64
  32028. for shift := uint(0); ; shift += 7 {
  32029. if shift >= 64 {
  32030. return ErrIntOverflowGenerated
  32031. }
  32032. if iNdEx >= l {
  32033. return io.ErrUnexpectedEOF
  32034. }
  32035. b := dAtA[iNdEx]
  32036. iNdEx++
  32037. keykey |= (uint64(b) & 0x7F) << shift
  32038. if b < 0x80 {
  32039. break
  32040. }
  32041. }
  32042. var stringLenmapkey uint64
  32043. for shift := uint(0); ; shift += 7 {
  32044. if shift >= 64 {
  32045. return ErrIntOverflowGenerated
  32046. }
  32047. if iNdEx >= l {
  32048. return io.ErrUnexpectedEOF
  32049. }
  32050. b := dAtA[iNdEx]
  32051. iNdEx++
  32052. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  32053. if b < 0x80 {
  32054. break
  32055. }
  32056. }
  32057. intStringLenmapkey := int(stringLenmapkey)
  32058. if intStringLenmapkey < 0 {
  32059. return ErrInvalidLengthGenerated
  32060. }
  32061. postStringIndexmapkey := iNdEx + intStringLenmapkey
  32062. if postStringIndexmapkey > l {
  32063. return io.ErrUnexpectedEOF
  32064. }
  32065. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  32066. iNdEx = postStringIndexmapkey
  32067. if m.Labels == nil {
  32068. m.Labels = make(map[string]string)
  32069. }
  32070. if iNdEx < postIndex {
  32071. var valuekey uint64
  32072. for shift := uint(0); ; shift += 7 {
  32073. if shift >= 64 {
  32074. return ErrIntOverflowGenerated
  32075. }
  32076. if iNdEx >= l {
  32077. return io.ErrUnexpectedEOF
  32078. }
  32079. b := dAtA[iNdEx]
  32080. iNdEx++
  32081. valuekey |= (uint64(b) & 0x7F) << shift
  32082. if b < 0x80 {
  32083. break
  32084. }
  32085. }
  32086. var stringLenmapvalue uint64
  32087. for shift := uint(0); ; shift += 7 {
  32088. if shift >= 64 {
  32089. return ErrIntOverflowGenerated
  32090. }
  32091. if iNdEx >= l {
  32092. return io.ErrUnexpectedEOF
  32093. }
  32094. b := dAtA[iNdEx]
  32095. iNdEx++
  32096. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  32097. if b < 0x80 {
  32098. break
  32099. }
  32100. }
  32101. intStringLenmapvalue := int(stringLenmapvalue)
  32102. if intStringLenmapvalue < 0 {
  32103. return ErrInvalidLengthGenerated
  32104. }
  32105. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  32106. if postStringIndexmapvalue > l {
  32107. return io.ErrUnexpectedEOF
  32108. }
  32109. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  32110. iNdEx = postStringIndexmapvalue
  32111. m.Labels[mapkey] = mapvalue
  32112. } else {
  32113. var mapvalue string
  32114. m.Labels[mapkey] = mapvalue
  32115. }
  32116. iNdEx = postIndex
  32117. case 12:
  32118. if wireType != 2 {
  32119. return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
  32120. }
  32121. var msglen int
  32122. for shift := uint(0); ; shift += 7 {
  32123. if shift >= 64 {
  32124. return ErrIntOverflowGenerated
  32125. }
  32126. if iNdEx >= l {
  32127. return io.ErrUnexpectedEOF
  32128. }
  32129. b := dAtA[iNdEx]
  32130. iNdEx++
  32131. msglen |= (int(b) & 0x7F) << shift
  32132. if b < 0x80 {
  32133. break
  32134. }
  32135. }
  32136. if msglen < 0 {
  32137. return ErrInvalidLengthGenerated
  32138. }
  32139. postIndex := iNdEx + msglen
  32140. if postIndex > l {
  32141. return io.ErrUnexpectedEOF
  32142. }
  32143. var keykey uint64
  32144. for shift := uint(0); ; shift += 7 {
  32145. if shift >= 64 {
  32146. return ErrIntOverflowGenerated
  32147. }
  32148. if iNdEx >= l {
  32149. return io.ErrUnexpectedEOF
  32150. }
  32151. b := dAtA[iNdEx]
  32152. iNdEx++
  32153. keykey |= (uint64(b) & 0x7F) << shift
  32154. if b < 0x80 {
  32155. break
  32156. }
  32157. }
  32158. var stringLenmapkey uint64
  32159. for shift := uint(0); ; shift += 7 {
  32160. if shift >= 64 {
  32161. return ErrIntOverflowGenerated
  32162. }
  32163. if iNdEx >= l {
  32164. return io.ErrUnexpectedEOF
  32165. }
  32166. b := dAtA[iNdEx]
  32167. iNdEx++
  32168. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  32169. if b < 0x80 {
  32170. break
  32171. }
  32172. }
  32173. intStringLenmapkey := int(stringLenmapkey)
  32174. if intStringLenmapkey < 0 {
  32175. return ErrInvalidLengthGenerated
  32176. }
  32177. postStringIndexmapkey := iNdEx + intStringLenmapkey
  32178. if postStringIndexmapkey > l {
  32179. return io.ErrUnexpectedEOF
  32180. }
  32181. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  32182. iNdEx = postStringIndexmapkey
  32183. if m.Annotations == nil {
  32184. m.Annotations = make(map[string]string)
  32185. }
  32186. if iNdEx < postIndex {
  32187. var valuekey uint64
  32188. for shift := uint(0); ; shift += 7 {
  32189. if shift >= 64 {
  32190. return ErrIntOverflowGenerated
  32191. }
  32192. if iNdEx >= l {
  32193. return io.ErrUnexpectedEOF
  32194. }
  32195. b := dAtA[iNdEx]
  32196. iNdEx++
  32197. valuekey |= (uint64(b) & 0x7F) << shift
  32198. if b < 0x80 {
  32199. break
  32200. }
  32201. }
  32202. var stringLenmapvalue uint64
  32203. for shift := uint(0); ; shift += 7 {
  32204. if shift >= 64 {
  32205. return ErrIntOverflowGenerated
  32206. }
  32207. if iNdEx >= l {
  32208. return io.ErrUnexpectedEOF
  32209. }
  32210. b := dAtA[iNdEx]
  32211. iNdEx++
  32212. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  32213. if b < 0x80 {
  32214. break
  32215. }
  32216. }
  32217. intStringLenmapvalue := int(stringLenmapvalue)
  32218. if intStringLenmapvalue < 0 {
  32219. return ErrInvalidLengthGenerated
  32220. }
  32221. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  32222. if postStringIndexmapvalue > l {
  32223. return io.ErrUnexpectedEOF
  32224. }
  32225. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  32226. iNdEx = postStringIndexmapvalue
  32227. m.Annotations[mapkey] = mapvalue
  32228. } else {
  32229. var mapvalue string
  32230. m.Annotations[mapkey] = mapvalue
  32231. }
  32232. iNdEx = postIndex
  32233. case 13:
  32234. if wireType != 2 {
  32235. return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType)
  32236. }
  32237. var msglen int
  32238. for shift := uint(0); ; shift += 7 {
  32239. if shift >= 64 {
  32240. return ErrIntOverflowGenerated
  32241. }
  32242. if iNdEx >= l {
  32243. return io.ErrUnexpectedEOF
  32244. }
  32245. b := dAtA[iNdEx]
  32246. iNdEx++
  32247. msglen |= (int(b) & 0x7F) << shift
  32248. if b < 0x80 {
  32249. break
  32250. }
  32251. }
  32252. if msglen < 0 {
  32253. return ErrInvalidLengthGenerated
  32254. }
  32255. postIndex := iNdEx + msglen
  32256. if postIndex > l {
  32257. return io.ErrUnexpectedEOF
  32258. }
  32259. m.OwnerReferences = append(m.OwnerReferences, k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference{})
  32260. if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32261. return err
  32262. }
  32263. iNdEx = postIndex
  32264. case 14:
  32265. if wireType != 2 {
  32266. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  32267. }
  32268. var stringLen uint64
  32269. for shift := uint(0); ; shift += 7 {
  32270. if shift >= 64 {
  32271. return ErrIntOverflowGenerated
  32272. }
  32273. if iNdEx >= l {
  32274. return io.ErrUnexpectedEOF
  32275. }
  32276. b := dAtA[iNdEx]
  32277. iNdEx++
  32278. stringLen |= (uint64(b) & 0x7F) << shift
  32279. if b < 0x80 {
  32280. break
  32281. }
  32282. }
  32283. intStringLen := int(stringLen)
  32284. if intStringLen < 0 {
  32285. return ErrInvalidLengthGenerated
  32286. }
  32287. postIndex := iNdEx + intStringLen
  32288. if postIndex > l {
  32289. return io.ErrUnexpectedEOF
  32290. }
  32291. m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex]))
  32292. iNdEx = postIndex
  32293. case 15:
  32294. if wireType != 2 {
  32295. return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
  32296. }
  32297. var stringLen uint64
  32298. for shift := uint(0); ; shift += 7 {
  32299. if shift >= 64 {
  32300. return ErrIntOverflowGenerated
  32301. }
  32302. if iNdEx >= l {
  32303. return io.ErrUnexpectedEOF
  32304. }
  32305. b := dAtA[iNdEx]
  32306. iNdEx++
  32307. stringLen |= (uint64(b) & 0x7F) << shift
  32308. if b < 0x80 {
  32309. break
  32310. }
  32311. }
  32312. intStringLen := int(stringLen)
  32313. if intStringLen < 0 {
  32314. return ErrInvalidLengthGenerated
  32315. }
  32316. postIndex := iNdEx + intStringLen
  32317. if postIndex > l {
  32318. return io.ErrUnexpectedEOF
  32319. }
  32320. m.ClusterName = string(dAtA[iNdEx:postIndex])
  32321. iNdEx = postIndex
  32322. case 16:
  32323. if wireType != 2 {
  32324. return fmt.Errorf("proto: wrong wireType = %d for field Initializers", wireType)
  32325. }
  32326. var msglen int
  32327. for shift := uint(0); ; shift += 7 {
  32328. if shift >= 64 {
  32329. return ErrIntOverflowGenerated
  32330. }
  32331. if iNdEx >= l {
  32332. return io.ErrUnexpectedEOF
  32333. }
  32334. b := dAtA[iNdEx]
  32335. iNdEx++
  32336. msglen |= (int(b) & 0x7F) << shift
  32337. if b < 0x80 {
  32338. break
  32339. }
  32340. }
  32341. if msglen < 0 {
  32342. return ErrInvalidLengthGenerated
  32343. }
  32344. postIndex := iNdEx + msglen
  32345. if postIndex > l {
  32346. return io.ErrUnexpectedEOF
  32347. }
  32348. if m.Initializers == nil {
  32349. m.Initializers = &k8s_io_apimachinery_pkg_apis_meta_v1.Initializers{}
  32350. }
  32351. if err := m.Initializers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32352. return err
  32353. }
  32354. iNdEx = postIndex
  32355. default:
  32356. iNdEx = preIndex
  32357. skippy, err := skipGenerated(dAtA[iNdEx:])
  32358. if err != nil {
  32359. return err
  32360. }
  32361. if skippy < 0 {
  32362. return ErrInvalidLengthGenerated
  32363. }
  32364. if (iNdEx + skippy) > l {
  32365. return io.ErrUnexpectedEOF
  32366. }
  32367. iNdEx += skippy
  32368. }
  32369. }
  32370. if iNdEx > l {
  32371. return io.ErrUnexpectedEOF
  32372. }
  32373. return nil
  32374. }
  32375. func (m *ObjectReference) Unmarshal(dAtA []byte) error {
  32376. l := len(dAtA)
  32377. iNdEx := 0
  32378. for iNdEx < l {
  32379. preIndex := iNdEx
  32380. var wire uint64
  32381. for shift := uint(0); ; shift += 7 {
  32382. if shift >= 64 {
  32383. return ErrIntOverflowGenerated
  32384. }
  32385. if iNdEx >= l {
  32386. return io.ErrUnexpectedEOF
  32387. }
  32388. b := dAtA[iNdEx]
  32389. iNdEx++
  32390. wire |= (uint64(b) & 0x7F) << shift
  32391. if b < 0x80 {
  32392. break
  32393. }
  32394. }
  32395. fieldNum := int32(wire >> 3)
  32396. wireType := int(wire & 0x7)
  32397. if wireType == 4 {
  32398. return fmt.Errorf("proto: ObjectReference: wiretype end group for non-group")
  32399. }
  32400. if fieldNum <= 0 {
  32401. return fmt.Errorf("proto: ObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
  32402. }
  32403. switch fieldNum {
  32404. case 1:
  32405. if wireType != 2 {
  32406. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  32407. }
  32408. var stringLen uint64
  32409. for shift := uint(0); ; shift += 7 {
  32410. if shift >= 64 {
  32411. return ErrIntOverflowGenerated
  32412. }
  32413. if iNdEx >= l {
  32414. return io.ErrUnexpectedEOF
  32415. }
  32416. b := dAtA[iNdEx]
  32417. iNdEx++
  32418. stringLen |= (uint64(b) & 0x7F) << shift
  32419. if b < 0x80 {
  32420. break
  32421. }
  32422. }
  32423. intStringLen := int(stringLen)
  32424. if intStringLen < 0 {
  32425. return ErrInvalidLengthGenerated
  32426. }
  32427. postIndex := iNdEx + intStringLen
  32428. if postIndex > l {
  32429. return io.ErrUnexpectedEOF
  32430. }
  32431. m.Kind = string(dAtA[iNdEx:postIndex])
  32432. iNdEx = postIndex
  32433. case 2:
  32434. if wireType != 2 {
  32435. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  32436. }
  32437. var stringLen uint64
  32438. for shift := uint(0); ; shift += 7 {
  32439. if shift >= 64 {
  32440. return ErrIntOverflowGenerated
  32441. }
  32442. if iNdEx >= l {
  32443. return io.ErrUnexpectedEOF
  32444. }
  32445. b := dAtA[iNdEx]
  32446. iNdEx++
  32447. stringLen |= (uint64(b) & 0x7F) << shift
  32448. if b < 0x80 {
  32449. break
  32450. }
  32451. }
  32452. intStringLen := int(stringLen)
  32453. if intStringLen < 0 {
  32454. return ErrInvalidLengthGenerated
  32455. }
  32456. postIndex := iNdEx + intStringLen
  32457. if postIndex > l {
  32458. return io.ErrUnexpectedEOF
  32459. }
  32460. m.Namespace = string(dAtA[iNdEx:postIndex])
  32461. iNdEx = postIndex
  32462. case 3:
  32463. if wireType != 2 {
  32464. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  32465. }
  32466. var stringLen uint64
  32467. for shift := uint(0); ; shift += 7 {
  32468. if shift >= 64 {
  32469. return ErrIntOverflowGenerated
  32470. }
  32471. if iNdEx >= l {
  32472. return io.ErrUnexpectedEOF
  32473. }
  32474. b := dAtA[iNdEx]
  32475. iNdEx++
  32476. stringLen |= (uint64(b) & 0x7F) << shift
  32477. if b < 0x80 {
  32478. break
  32479. }
  32480. }
  32481. intStringLen := int(stringLen)
  32482. if intStringLen < 0 {
  32483. return ErrInvalidLengthGenerated
  32484. }
  32485. postIndex := iNdEx + intStringLen
  32486. if postIndex > l {
  32487. return io.ErrUnexpectedEOF
  32488. }
  32489. m.Name = string(dAtA[iNdEx:postIndex])
  32490. iNdEx = postIndex
  32491. case 4:
  32492. if wireType != 2 {
  32493. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  32494. }
  32495. var stringLen uint64
  32496. for shift := uint(0); ; shift += 7 {
  32497. if shift >= 64 {
  32498. return ErrIntOverflowGenerated
  32499. }
  32500. if iNdEx >= l {
  32501. return io.ErrUnexpectedEOF
  32502. }
  32503. b := dAtA[iNdEx]
  32504. iNdEx++
  32505. stringLen |= (uint64(b) & 0x7F) << shift
  32506. if b < 0x80 {
  32507. break
  32508. }
  32509. }
  32510. intStringLen := int(stringLen)
  32511. if intStringLen < 0 {
  32512. return ErrInvalidLengthGenerated
  32513. }
  32514. postIndex := iNdEx + intStringLen
  32515. if postIndex > l {
  32516. return io.ErrUnexpectedEOF
  32517. }
  32518. m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  32519. iNdEx = postIndex
  32520. case 5:
  32521. if wireType != 2 {
  32522. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  32523. }
  32524. var stringLen uint64
  32525. for shift := uint(0); ; shift += 7 {
  32526. if shift >= 64 {
  32527. return ErrIntOverflowGenerated
  32528. }
  32529. if iNdEx >= l {
  32530. return io.ErrUnexpectedEOF
  32531. }
  32532. b := dAtA[iNdEx]
  32533. iNdEx++
  32534. stringLen |= (uint64(b) & 0x7F) << shift
  32535. if b < 0x80 {
  32536. break
  32537. }
  32538. }
  32539. intStringLen := int(stringLen)
  32540. if intStringLen < 0 {
  32541. return ErrInvalidLengthGenerated
  32542. }
  32543. postIndex := iNdEx + intStringLen
  32544. if postIndex > l {
  32545. return io.ErrUnexpectedEOF
  32546. }
  32547. m.APIVersion = string(dAtA[iNdEx:postIndex])
  32548. iNdEx = postIndex
  32549. case 6:
  32550. if wireType != 2 {
  32551. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  32552. }
  32553. var stringLen uint64
  32554. for shift := uint(0); ; shift += 7 {
  32555. if shift >= 64 {
  32556. return ErrIntOverflowGenerated
  32557. }
  32558. if iNdEx >= l {
  32559. return io.ErrUnexpectedEOF
  32560. }
  32561. b := dAtA[iNdEx]
  32562. iNdEx++
  32563. stringLen |= (uint64(b) & 0x7F) << shift
  32564. if b < 0x80 {
  32565. break
  32566. }
  32567. }
  32568. intStringLen := int(stringLen)
  32569. if intStringLen < 0 {
  32570. return ErrInvalidLengthGenerated
  32571. }
  32572. postIndex := iNdEx + intStringLen
  32573. if postIndex > l {
  32574. return io.ErrUnexpectedEOF
  32575. }
  32576. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  32577. iNdEx = postIndex
  32578. case 7:
  32579. if wireType != 2 {
  32580. return fmt.Errorf("proto: wrong wireType = %d for field FieldPath", wireType)
  32581. }
  32582. var stringLen uint64
  32583. for shift := uint(0); ; shift += 7 {
  32584. if shift >= 64 {
  32585. return ErrIntOverflowGenerated
  32586. }
  32587. if iNdEx >= l {
  32588. return io.ErrUnexpectedEOF
  32589. }
  32590. b := dAtA[iNdEx]
  32591. iNdEx++
  32592. stringLen |= (uint64(b) & 0x7F) << shift
  32593. if b < 0x80 {
  32594. break
  32595. }
  32596. }
  32597. intStringLen := int(stringLen)
  32598. if intStringLen < 0 {
  32599. return ErrInvalidLengthGenerated
  32600. }
  32601. postIndex := iNdEx + intStringLen
  32602. if postIndex > l {
  32603. return io.ErrUnexpectedEOF
  32604. }
  32605. m.FieldPath = string(dAtA[iNdEx:postIndex])
  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 *PersistentVolume) 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: PersistentVolume: wiretype end group for non-group")
  32651. }
  32652. if fieldNum <= 0 {
  32653. return fmt.Errorf("proto: PersistentVolume: 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 ObjectMeta", wireType)
  32659. }
  32660. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  32671. if b < 0x80 {
  32672. break
  32673. }
  32674. }
  32675. if msglen < 0 {
  32676. return ErrInvalidLengthGenerated
  32677. }
  32678. postIndex := iNdEx + msglen
  32679. if postIndex > l {
  32680. return io.ErrUnexpectedEOF
  32681. }
  32682. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32683. return err
  32684. }
  32685. iNdEx = postIndex
  32686. case 2:
  32687. if wireType != 2 {
  32688. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  32689. }
  32690. var msglen int
  32691. for shift := uint(0); ; shift += 7 {
  32692. if shift >= 64 {
  32693. return ErrIntOverflowGenerated
  32694. }
  32695. if iNdEx >= l {
  32696. return io.ErrUnexpectedEOF
  32697. }
  32698. b := dAtA[iNdEx]
  32699. iNdEx++
  32700. msglen |= (int(b) & 0x7F) << shift
  32701. if b < 0x80 {
  32702. break
  32703. }
  32704. }
  32705. if msglen < 0 {
  32706. return ErrInvalidLengthGenerated
  32707. }
  32708. postIndex := iNdEx + msglen
  32709. if postIndex > l {
  32710. return io.ErrUnexpectedEOF
  32711. }
  32712. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32713. return err
  32714. }
  32715. iNdEx = postIndex
  32716. case 3:
  32717. if wireType != 2 {
  32718. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  32719. }
  32720. var msglen int
  32721. for shift := uint(0); ; shift += 7 {
  32722. if shift >= 64 {
  32723. return ErrIntOverflowGenerated
  32724. }
  32725. if iNdEx >= l {
  32726. return io.ErrUnexpectedEOF
  32727. }
  32728. b := dAtA[iNdEx]
  32729. iNdEx++
  32730. msglen |= (int(b) & 0x7F) << shift
  32731. if b < 0x80 {
  32732. break
  32733. }
  32734. }
  32735. if msglen < 0 {
  32736. return ErrInvalidLengthGenerated
  32737. }
  32738. postIndex := iNdEx + msglen
  32739. if postIndex > l {
  32740. return io.ErrUnexpectedEOF
  32741. }
  32742. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32743. return err
  32744. }
  32745. iNdEx = postIndex
  32746. default:
  32747. iNdEx = preIndex
  32748. skippy, err := skipGenerated(dAtA[iNdEx:])
  32749. if err != nil {
  32750. return err
  32751. }
  32752. if skippy < 0 {
  32753. return ErrInvalidLengthGenerated
  32754. }
  32755. if (iNdEx + skippy) > l {
  32756. return io.ErrUnexpectedEOF
  32757. }
  32758. iNdEx += skippy
  32759. }
  32760. }
  32761. if iNdEx > l {
  32762. return io.ErrUnexpectedEOF
  32763. }
  32764. return nil
  32765. }
  32766. func (m *PersistentVolumeClaim) Unmarshal(dAtA []byte) error {
  32767. l := len(dAtA)
  32768. iNdEx := 0
  32769. for iNdEx < l {
  32770. preIndex := iNdEx
  32771. var wire uint64
  32772. for shift := uint(0); ; shift += 7 {
  32773. if shift >= 64 {
  32774. return ErrIntOverflowGenerated
  32775. }
  32776. if iNdEx >= l {
  32777. return io.ErrUnexpectedEOF
  32778. }
  32779. b := dAtA[iNdEx]
  32780. iNdEx++
  32781. wire |= (uint64(b) & 0x7F) << shift
  32782. if b < 0x80 {
  32783. break
  32784. }
  32785. }
  32786. fieldNum := int32(wire >> 3)
  32787. wireType := int(wire & 0x7)
  32788. if wireType == 4 {
  32789. return fmt.Errorf("proto: PersistentVolumeClaim: wiretype end group for non-group")
  32790. }
  32791. if fieldNum <= 0 {
  32792. return fmt.Errorf("proto: PersistentVolumeClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  32793. }
  32794. switch fieldNum {
  32795. case 1:
  32796. if wireType != 2 {
  32797. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  32798. }
  32799. var msglen int
  32800. for shift := uint(0); ; shift += 7 {
  32801. if shift >= 64 {
  32802. return ErrIntOverflowGenerated
  32803. }
  32804. if iNdEx >= l {
  32805. return io.ErrUnexpectedEOF
  32806. }
  32807. b := dAtA[iNdEx]
  32808. iNdEx++
  32809. msglen |= (int(b) & 0x7F) << shift
  32810. if b < 0x80 {
  32811. break
  32812. }
  32813. }
  32814. if msglen < 0 {
  32815. return ErrInvalidLengthGenerated
  32816. }
  32817. postIndex := iNdEx + msglen
  32818. if postIndex > l {
  32819. return io.ErrUnexpectedEOF
  32820. }
  32821. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32822. return err
  32823. }
  32824. iNdEx = postIndex
  32825. case 2:
  32826. if wireType != 2 {
  32827. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  32828. }
  32829. var msglen int
  32830. for shift := uint(0); ; shift += 7 {
  32831. if shift >= 64 {
  32832. return ErrIntOverflowGenerated
  32833. }
  32834. if iNdEx >= l {
  32835. return io.ErrUnexpectedEOF
  32836. }
  32837. b := dAtA[iNdEx]
  32838. iNdEx++
  32839. msglen |= (int(b) & 0x7F) << shift
  32840. if b < 0x80 {
  32841. break
  32842. }
  32843. }
  32844. if msglen < 0 {
  32845. return ErrInvalidLengthGenerated
  32846. }
  32847. postIndex := iNdEx + msglen
  32848. if postIndex > l {
  32849. return io.ErrUnexpectedEOF
  32850. }
  32851. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32852. return err
  32853. }
  32854. iNdEx = postIndex
  32855. case 3:
  32856. if wireType != 2 {
  32857. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  32858. }
  32859. var msglen int
  32860. for shift := uint(0); ; shift += 7 {
  32861. if shift >= 64 {
  32862. return ErrIntOverflowGenerated
  32863. }
  32864. if iNdEx >= l {
  32865. return io.ErrUnexpectedEOF
  32866. }
  32867. b := dAtA[iNdEx]
  32868. iNdEx++
  32869. msglen |= (int(b) & 0x7F) << shift
  32870. if b < 0x80 {
  32871. break
  32872. }
  32873. }
  32874. if msglen < 0 {
  32875. return ErrInvalidLengthGenerated
  32876. }
  32877. postIndex := iNdEx + msglen
  32878. if postIndex > l {
  32879. return io.ErrUnexpectedEOF
  32880. }
  32881. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  32882. return err
  32883. }
  32884. iNdEx = postIndex
  32885. default:
  32886. iNdEx = preIndex
  32887. skippy, err := skipGenerated(dAtA[iNdEx:])
  32888. if err != nil {
  32889. return err
  32890. }
  32891. if skippy < 0 {
  32892. return ErrInvalidLengthGenerated
  32893. }
  32894. if (iNdEx + skippy) > l {
  32895. return io.ErrUnexpectedEOF
  32896. }
  32897. iNdEx += skippy
  32898. }
  32899. }
  32900. if iNdEx > l {
  32901. return io.ErrUnexpectedEOF
  32902. }
  32903. return nil
  32904. }
  32905. func (m *PersistentVolumeClaimCondition) Unmarshal(dAtA []byte) error {
  32906. l := len(dAtA)
  32907. iNdEx := 0
  32908. for iNdEx < l {
  32909. preIndex := iNdEx
  32910. var wire uint64
  32911. for shift := uint(0); ; shift += 7 {
  32912. if shift >= 64 {
  32913. return ErrIntOverflowGenerated
  32914. }
  32915. if iNdEx >= l {
  32916. return io.ErrUnexpectedEOF
  32917. }
  32918. b := dAtA[iNdEx]
  32919. iNdEx++
  32920. wire |= (uint64(b) & 0x7F) << shift
  32921. if b < 0x80 {
  32922. break
  32923. }
  32924. }
  32925. fieldNum := int32(wire >> 3)
  32926. wireType := int(wire & 0x7)
  32927. if wireType == 4 {
  32928. return fmt.Errorf("proto: PersistentVolumeClaimCondition: wiretype end group for non-group")
  32929. }
  32930. if fieldNum <= 0 {
  32931. return fmt.Errorf("proto: PersistentVolumeClaimCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  32932. }
  32933. switch fieldNum {
  32934. case 1:
  32935. if wireType != 2 {
  32936. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  32937. }
  32938. var stringLen uint64
  32939. for shift := uint(0); ; shift += 7 {
  32940. if shift >= 64 {
  32941. return ErrIntOverflowGenerated
  32942. }
  32943. if iNdEx >= l {
  32944. return io.ErrUnexpectedEOF
  32945. }
  32946. b := dAtA[iNdEx]
  32947. iNdEx++
  32948. stringLen |= (uint64(b) & 0x7F) << shift
  32949. if b < 0x80 {
  32950. break
  32951. }
  32952. }
  32953. intStringLen := int(stringLen)
  32954. if intStringLen < 0 {
  32955. return ErrInvalidLengthGenerated
  32956. }
  32957. postIndex := iNdEx + intStringLen
  32958. if postIndex > l {
  32959. return io.ErrUnexpectedEOF
  32960. }
  32961. m.Type = PersistentVolumeClaimConditionType(dAtA[iNdEx:postIndex])
  32962. iNdEx = postIndex
  32963. case 2:
  32964. if wireType != 2 {
  32965. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  32966. }
  32967. var stringLen uint64
  32968. for shift := uint(0); ; shift += 7 {
  32969. if shift >= 64 {
  32970. return ErrIntOverflowGenerated
  32971. }
  32972. if iNdEx >= l {
  32973. return io.ErrUnexpectedEOF
  32974. }
  32975. b := dAtA[iNdEx]
  32976. iNdEx++
  32977. stringLen |= (uint64(b) & 0x7F) << shift
  32978. if b < 0x80 {
  32979. break
  32980. }
  32981. }
  32982. intStringLen := int(stringLen)
  32983. if intStringLen < 0 {
  32984. return ErrInvalidLengthGenerated
  32985. }
  32986. postIndex := iNdEx + intStringLen
  32987. if postIndex > l {
  32988. return io.ErrUnexpectedEOF
  32989. }
  32990. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  32991. iNdEx = postIndex
  32992. case 3:
  32993. if wireType != 2 {
  32994. return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  32995. }
  32996. var msglen int
  32997. for shift := uint(0); ; shift += 7 {
  32998. if shift >= 64 {
  32999. return ErrIntOverflowGenerated
  33000. }
  33001. if iNdEx >= l {
  33002. return io.ErrUnexpectedEOF
  33003. }
  33004. b := dAtA[iNdEx]
  33005. iNdEx++
  33006. msglen |= (int(b) & 0x7F) << shift
  33007. if b < 0x80 {
  33008. break
  33009. }
  33010. }
  33011. if msglen < 0 {
  33012. return ErrInvalidLengthGenerated
  33013. }
  33014. postIndex := iNdEx + msglen
  33015. if postIndex > l {
  33016. return io.ErrUnexpectedEOF
  33017. }
  33018. if err := m.LastProbeTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33019. return err
  33020. }
  33021. iNdEx = postIndex
  33022. case 4:
  33023. if wireType != 2 {
  33024. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  33025. }
  33026. var msglen int
  33027. for shift := uint(0); ; shift += 7 {
  33028. if shift >= 64 {
  33029. return ErrIntOverflowGenerated
  33030. }
  33031. if iNdEx >= l {
  33032. return io.ErrUnexpectedEOF
  33033. }
  33034. b := dAtA[iNdEx]
  33035. iNdEx++
  33036. msglen |= (int(b) & 0x7F) << shift
  33037. if b < 0x80 {
  33038. break
  33039. }
  33040. }
  33041. if msglen < 0 {
  33042. return ErrInvalidLengthGenerated
  33043. }
  33044. postIndex := iNdEx + msglen
  33045. if postIndex > l {
  33046. return io.ErrUnexpectedEOF
  33047. }
  33048. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33049. return err
  33050. }
  33051. iNdEx = postIndex
  33052. case 5:
  33053. if wireType != 2 {
  33054. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  33055. }
  33056. var stringLen uint64
  33057. for shift := uint(0); ; shift += 7 {
  33058. if shift >= 64 {
  33059. return ErrIntOverflowGenerated
  33060. }
  33061. if iNdEx >= l {
  33062. return io.ErrUnexpectedEOF
  33063. }
  33064. b := dAtA[iNdEx]
  33065. iNdEx++
  33066. stringLen |= (uint64(b) & 0x7F) << shift
  33067. if b < 0x80 {
  33068. break
  33069. }
  33070. }
  33071. intStringLen := int(stringLen)
  33072. if intStringLen < 0 {
  33073. return ErrInvalidLengthGenerated
  33074. }
  33075. postIndex := iNdEx + intStringLen
  33076. if postIndex > l {
  33077. return io.ErrUnexpectedEOF
  33078. }
  33079. m.Reason = string(dAtA[iNdEx:postIndex])
  33080. iNdEx = postIndex
  33081. case 6:
  33082. if wireType != 2 {
  33083. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  33084. }
  33085. var stringLen uint64
  33086. for shift := uint(0); ; shift += 7 {
  33087. if shift >= 64 {
  33088. return ErrIntOverflowGenerated
  33089. }
  33090. if iNdEx >= l {
  33091. return io.ErrUnexpectedEOF
  33092. }
  33093. b := dAtA[iNdEx]
  33094. iNdEx++
  33095. stringLen |= (uint64(b) & 0x7F) << shift
  33096. if b < 0x80 {
  33097. break
  33098. }
  33099. }
  33100. intStringLen := int(stringLen)
  33101. if intStringLen < 0 {
  33102. return ErrInvalidLengthGenerated
  33103. }
  33104. postIndex := iNdEx + intStringLen
  33105. if postIndex > l {
  33106. return io.ErrUnexpectedEOF
  33107. }
  33108. m.Message = string(dAtA[iNdEx:postIndex])
  33109. iNdEx = postIndex
  33110. default:
  33111. iNdEx = preIndex
  33112. skippy, err := skipGenerated(dAtA[iNdEx:])
  33113. if err != nil {
  33114. return err
  33115. }
  33116. if skippy < 0 {
  33117. return ErrInvalidLengthGenerated
  33118. }
  33119. if (iNdEx + skippy) > l {
  33120. return io.ErrUnexpectedEOF
  33121. }
  33122. iNdEx += skippy
  33123. }
  33124. }
  33125. if iNdEx > l {
  33126. return io.ErrUnexpectedEOF
  33127. }
  33128. return nil
  33129. }
  33130. func (m *PersistentVolumeClaimList) Unmarshal(dAtA []byte) error {
  33131. l := len(dAtA)
  33132. iNdEx := 0
  33133. for iNdEx < l {
  33134. preIndex := iNdEx
  33135. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  33146. if b < 0x80 {
  33147. break
  33148. }
  33149. }
  33150. fieldNum := int32(wire >> 3)
  33151. wireType := int(wire & 0x7)
  33152. if wireType == 4 {
  33153. return fmt.Errorf("proto: PersistentVolumeClaimList: wiretype end group for non-group")
  33154. }
  33155. if fieldNum <= 0 {
  33156. return fmt.Errorf("proto: PersistentVolumeClaimList: illegal tag %d (wire type %d)", fieldNum, wire)
  33157. }
  33158. switch fieldNum {
  33159. case 1:
  33160. if wireType != 2 {
  33161. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  33162. }
  33163. var msglen int
  33164. for shift := uint(0); ; shift += 7 {
  33165. if shift >= 64 {
  33166. return ErrIntOverflowGenerated
  33167. }
  33168. if iNdEx >= l {
  33169. return io.ErrUnexpectedEOF
  33170. }
  33171. b := dAtA[iNdEx]
  33172. iNdEx++
  33173. msglen |= (int(b) & 0x7F) << shift
  33174. if b < 0x80 {
  33175. break
  33176. }
  33177. }
  33178. if msglen < 0 {
  33179. return ErrInvalidLengthGenerated
  33180. }
  33181. postIndex := iNdEx + msglen
  33182. if postIndex > l {
  33183. return io.ErrUnexpectedEOF
  33184. }
  33185. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33186. return err
  33187. }
  33188. iNdEx = postIndex
  33189. case 2:
  33190. if wireType != 2 {
  33191. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  33192. }
  33193. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  33204. if b < 0x80 {
  33205. break
  33206. }
  33207. }
  33208. if msglen < 0 {
  33209. return ErrInvalidLengthGenerated
  33210. }
  33211. postIndex := iNdEx + msglen
  33212. if postIndex > l {
  33213. return io.ErrUnexpectedEOF
  33214. }
  33215. m.Items = append(m.Items, PersistentVolumeClaim{})
  33216. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33217. return err
  33218. }
  33219. iNdEx = postIndex
  33220. default:
  33221. iNdEx = preIndex
  33222. skippy, err := skipGenerated(dAtA[iNdEx:])
  33223. if err != nil {
  33224. return err
  33225. }
  33226. if skippy < 0 {
  33227. return ErrInvalidLengthGenerated
  33228. }
  33229. if (iNdEx + skippy) > l {
  33230. return io.ErrUnexpectedEOF
  33231. }
  33232. iNdEx += skippy
  33233. }
  33234. }
  33235. if iNdEx > l {
  33236. return io.ErrUnexpectedEOF
  33237. }
  33238. return nil
  33239. }
  33240. func (m *PersistentVolumeClaimSpec) Unmarshal(dAtA []byte) error {
  33241. l := len(dAtA)
  33242. iNdEx := 0
  33243. for iNdEx < l {
  33244. preIndex := iNdEx
  33245. var wire uint64
  33246. for shift := uint(0); ; shift += 7 {
  33247. if shift >= 64 {
  33248. return ErrIntOverflowGenerated
  33249. }
  33250. if iNdEx >= l {
  33251. return io.ErrUnexpectedEOF
  33252. }
  33253. b := dAtA[iNdEx]
  33254. iNdEx++
  33255. wire |= (uint64(b) & 0x7F) << shift
  33256. if b < 0x80 {
  33257. break
  33258. }
  33259. }
  33260. fieldNum := int32(wire >> 3)
  33261. wireType := int(wire & 0x7)
  33262. if wireType == 4 {
  33263. return fmt.Errorf("proto: PersistentVolumeClaimSpec: wiretype end group for non-group")
  33264. }
  33265. if fieldNum <= 0 {
  33266. return fmt.Errorf("proto: PersistentVolumeClaimSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  33267. }
  33268. switch fieldNum {
  33269. case 1:
  33270. if wireType != 2 {
  33271. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  33272. }
  33273. var stringLen uint64
  33274. for shift := uint(0); ; shift += 7 {
  33275. if shift >= 64 {
  33276. return ErrIntOverflowGenerated
  33277. }
  33278. if iNdEx >= l {
  33279. return io.ErrUnexpectedEOF
  33280. }
  33281. b := dAtA[iNdEx]
  33282. iNdEx++
  33283. stringLen |= (uint64(b) & 0x7F) << shift
  33284. if b < 0x80 {
  33285. break
  33286. }
  33287. }
  33288. intStringLen := int(stringLen)
  33289. if intStringLen < 0 {
  33290. return ErrInvalidLengthGenerated
  33291. }
  33292. postIndex := iNdEx + intStringLen
  33293. if postIndex > l {
  33294. return io.ErrUnexpectedEOF
  33295. }
  33296. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(dAtA[iNdEx:postIndex]))
  33297. iNdEx = postIndex
  33298. case 2:
  33299. if wireType != 2 {
  33300. return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
  33301. }
  33302. var msglen int
  33303. for shift := uint(0); ; shift += 7 {
  33304. if shift >= 64 {
  33305. return ErrIntOverflowGenerated
  33306. }
  33307. if iNdEx >= l {
  33308. return io.ErrUnexpectedEOF
  33309. }
  33310. b := dAtA[iNdEx]
  33311. iNdEx++
  33312. msglen |= (int(b) & 0x7F) << shift
  33313. if b < 0x80 {
  33314. break
  33315. }
  33316. }
  33317. if msglen < 0 {
  33318. return ErrInvalidLengthGenerated
  33319. }
  33320. postIndex := iNdEx + msglen
  33321. if postIndex > l {
  33322. return io.ErrUnexpectedEOF
  33323. }
  33324. if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33325. return err
  33326. }
  33327. iNdEx = postIndex
  33328. case 3:
  33329. if wireType != 2 {
  33330. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  33331. }
  33332. var stringLen uint64
  33333. for shift := uint(0); ; shift += 7 {
  33334. if shift >= 64 {
  33335. return ErrIntOverflowGenerated
  33336. }
  33337. if iNdEx >= l {
  33338. return io.ErrUnexpectedEOF
  33339. }
  33340. b := dAtA[iNdEx]
  33341. iNdEx++
  33342. stringLen |= (uint64(b) & 0x7F) << shift
  33343. if b < 0x80 {
  33344. break
  33345. }
  33346. }
  33347. intStringLen := int(stringLen)
  33348. if intStringLen < 0 {
  33349. return ErrInvalidLengthGenerated
  33350. }
  33351. postIndex := iNdEx + intStringLen
  33352. if postIndex > l {
  33353. return io.ErrUnexpectedEOF
  33354. }
  33355. m.VolumeName = string(dAtA[iNdEx:postIndex])
  33356. iNdEx = postIndex
  33357. case 4:
  33358. if wireType != 2 {
  33359. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  33360. }
  33361. var msglen int
  33362. for shift := uint(0); ; shift += 7 {
  33363. if shift >= 64 {
  33364. return ErrIntOverflowGenerated
  33365. }
  33366. if iNdEx >= l {
  33367. return io.ErrUnexpectedEOF
  33368. }
  33369. b := dAtA[iNdEx]
  33370. iNdEx++
  33371. msglen |= (int(b) & 0x7F) << shift
  33372. if b < 0x80 {
  33373. break
  33374. }
  33375. }
  33376. if msglen < 0 {
  33377. return ErrInvalidLengthGenerated
  33378. }
  33379. postIndex := iNdEx + msglen
  33380. if postIndex > l {
  33381. return io.ErrUnexpectedEOF
  33382. }
  33383. if m.Selector == nil {
  33384. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  33385. }
  33386. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33387. return err
  33388. }
  33389. iNdEx = postIndex
  33390. case 5:
  33391. if wireType != 2 {
  33392. return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType)
  33393. }
  33394. var stringLen uint64
  33395. for shift := uint(0); ; shift += 7 {
  33396. if shift >= 64 {
  33397. return ErrIntOverflowGenerated
  33398. }
  33399. if iNdEx >= l {
  33400. return io.ErrUnexpectedEOF
  33401. }
  33402. b := dAtA[iNdEx]
  33403. iNdEx++
  33404. stringLen |= (uint64(b) & 0x7F) << shift
  33405. if b < 0x80 {
  33406. break
  33407. }
  33408. }
  33409. intStringLen := int(stringLen)
  33410. if intStringLen < 0 {
  33411. return ErrInvalidLengthGenerated
  33412. }
  33413. postIndex := iNdEx + intStringLen
  33414. if postIndex > l {
  33415. return io.ErrUnexpectedEOF
  33416. }
  33417. s := string(dAtA[iNdEx:postIndex])
  33418. m.StorageClassName = &s
  33419. iNdEx = postIndex
  33420. case 6:
  33421. if wireType != 2 {
  33422. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMode", wireType)
  33423. }
  33424. var stringLen uint64
  33425. for shift := uint(0); ; shift += 7 {
  33426. if shift >= 64 {
  33427. return ErrIntOverflowGenerated
  33428. }
  33429. if iNdEx >= l {
  33430. return io.ErrUnexpectedEOF
  33431. }
  33432. b := dAtA[iNdEx]
  33433. iNdEx++
  33434. stringLen |= (uint64(b) & 0x7F) << shift
  33435. if b < 0x80 {
  33436. break
  33437. }
  33438. }
  33439. intStringLen := int(stringLen)
  33440. if intStringLen < 0 {
  33441. return ErrInvalidLengthGenerated
  33442. }
  33443. postIndex := iNdEx + intStringLen
  33444. if postIndex > l {
  33445. return io.ErrUnexpectedEOF
  33446. }
  33447. s := PersistentVolumeMode(dAtA[iNdEx:postIndex])
  33448. m.VolumeMode = &s
  33449. iNdEx = postIndex
  33450. default:
  33451. iNdEx = preIndex
  33452. skippy, err := skipGenerated(dAtA[iNdEx:])
  33453. if err != nil {
  33454. return err
  33455. }
  33456. if skippy < 0 {
  33457. return ErrInvalidLengthGenerated
  33458. }
  33459. if (iNdEx + skippy) > l {
  33460. return io.ErrUnexpectedEOF
  33461. }
  33462. iNdEx += skippy
  33463. }
  33464. }
  33465. if iNdEx > l {
  33466. return io.ErrUnexpectedEOF
  33467. }
  33468. return nil
  33469. }
  33470. func (m *PersistentVolumeClaimStatus) Unmarshal(dAtA []byte) error {
  33471. l := len(dAtA)
  33472. iNdEx := 0
  33473. for iNdEx < l {
  33474. preIndex := iNdEx
  33475. var wire uint64
  33476. for shift := uint(0); ; shift += 7 {
  33477. if shift >= 64 {
  33478. return ErrIntOverflowGenerated
  33479. }
  33480. if iNdEx >= l {
  33481. return io.ErrUnexpectedEOF
  33482. }
  33483. b := dAtA[iNdEx]
  33484. iNdEx++
  33485. wire |= (uint64(b) & 0x7F) << shift
  33486. if b < 0x80 {
  33487. break
  33488. }
  33489. }
  33490. fieldNum := int32(wire >> 3)
  33491. wireType := int(wire & 0x7)
  33492. if wireType == 4 {
  33493. return fmt.Errorf("proto: PersistentVolumeClaimStatus: wiretype end group for non-group")
  33494. }
  33495. if fieldNum <= 0 {
  33496. return fmt.Errorf("proto: PersistentVolumeClaimStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  33497. }
  33498. switch fieldNum {
  33499. case 1:
  33500. if wireType != 2 {
  33501. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  33502. }
  33503. var stringLen uint64
  33504. for shift := uint(0); ; shift += 7 {
  33505. if shift >= 64 {
  33506. return ErrIntOverflowGenerated
  33507. }
  33508. if iNdEx >= l {
  33509. return io.ErrUnexpectedEOF
  33510. }
  33511. b := dAtA[iNdEx]
  33512. iNdEx++
  33513. stringLen |= (uint64(b) & 0x7F) << shift
  33514. if b < 0x80 {
  33515. break
  33516. }
  33517. }
  33518. intStringLen := int(stringLen)
  33519. if intStringLen < 0 {
  33520. return ErrInvalidLengthGenerated
  33521. }
  33522. postIndex := iNdEx + intStringLen
  33523. if postIndex > l {
  33524. return io.ErrUnexpectedEOF
  33525. }
  33526. m.Phase = PersistentVolumeClaimPhase(dAtA[iNdEx:postIndex])
  33527. iNdEx = postIndex
  33528. case 2:
  33529. if wireType != 2 {
  33530. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  33531. }
  33532. var stringLen uint64
  33533. for shift := uint(0); ; shift += 7 {
  33534. if shift >= 64 {
  33535. return ErrIntOverflowGenerated
  33536. }
  33537. if iNdEx >= l {
  33538. return io.ErrUnexpectedEOF
  33539. }
  33540. b := dAtA[iNdEx]
  33541. iNdEx++
  33542. stringLen |= (uint64(b) & 0x7F) << shift
  33543. if b < 0x80 {
  33544. break
  33545. }
  33546. }
  33547. intStringLen := int(stringLen)
  33548. if intStringLen < 0 {
  33549. return ErrInvalidLengthGenerated
  33550. }
  33551. postIndex := iNdEx + intStringLen
  33552. if postIndex > l {
  33553. return io.ErrUnexpectedEOF
  33554. }
  33555. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(dAtA[iNdEx:postIndex]))
  33556. iNdEx = postIndex
  33557. case 3:
  33558. if wireType != 2 {
  33559. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  33560. }
  33561. var msglen int
  33562. for shift := uint(0); ; shift += 7 {
  33563. if shift >= 64 {
  33564. return ErrIntOverflowGenerated
  33565. }
  33566. if iNdEx >= l {
  33567. return io.ErrUnexpectedEOF
  33568. }
  33569. b := dAtA[iNdEx]
  33570. iNdEx++
  33571. msglen |= (int(b) & 0x7F) << shift
  33572. if b < 0x80 {
  33573. break
  33574. }
  33575. }
  33576. if msglen < 0 {
  33577. return ErrInvalidLengthGenerated
  33578. }
  33579. postIndex := iNdEx + msglen
  33580. if postIndex > l {
  33581. return io.ErrUnexpectedEOF
  33582. }
  33583. var keykey uint64
  33584. for shift := uint(0); ; shift += 7 {
  33585. if shift >= 64 {
  33586. return ErrIntOverflowGenerated
  33587. }
  33588. if iNdEx >= l {
  33589. return io.ErrUnexpectedEOF
  33590. }
  33591. b := dAtA[iNdEx]
  33592. iNdEx++
  33593. keykey |= (uint64(b) & 0x7F) << shift
  33594. if b < 0x80 {
  33595. break
  33596. }
  33597. }
  33598. var stringLenmapkey uint64
  33599. for shift := uint(0); ; shift += 7 {
  33600. if shift >= 64 {
  33601. return ErrIntOverflowGenerated
  33602. }
  33603. if iNdEx >= l {
  33604. return io.ErrUnexpectedEOF
  33605. }
  33606. b := dAtA[iNdEx]
  33607. iNdEx++
  33608. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  33609. if b < 0x80 {
  33610. break
  33611. }
  33612. }
  33613. intStringLenmapkey := int(stringLenmapkey)
  33614. if intStringLenmapkey < 0 {
  33615. return ErrInvalidLengthGenerated
  33616. }
  33617. postStringIndexmapkey := iNdEx + intStringLenmapkey
  33618. if postStringIndexmapkey > l {
  33619. return io.ErrUnexpectedEOF
  33620. }
  33621. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  33622. iNdEx = postStringIndexmapkey
  33623. if m.Capacity == nil {
  33624. m.Capacity = make(ResourceList)
  33625. }
  33626. if iNdEx < postIndex {
  33627. var valuekey uint64
  33628. for shift := uint(0); ; shift += 7 {
  33629. if shift >= 64 {
  33630. return ErrIntOverflowGenerated
  33631. }
  33632. if iNdEx >= l {
  33633. return io.ErrUnexpectedEOF
  33634. }
  33635. b := dAtA[iNdEx]
  33636. iNdEx++
  33637. valuekey |= (uint64(b) & 0x7F) << shift
  33638. if b < 0x80 {
  33639. break
  33640. }
  33641. }
  33642. var mapmsglen int
  33643. for shift := uint(0); ; shift += 7 {
  33644. if shift >= 64 {
  33645. return ErrIntOverflowGenerated
  33646. }
  33647. if iNdEx >= l {
  33648. return io.ErrUnexpectedEOF
  33649. }
  33650. b := dAtA[iNdEx]
  33651. iNdEx++
  33652. mapmsglen |= (int(b) & 0x7F) << shift
  33653. if b < 0x80 {
  33654. break
  33655. }
  33656. }
  33657. if mapmsglen < 0 {
  33658. return ErrInvalidLengthGenerated
  33659. }
  33660. postmsgIndex := iNdEx + mapmsglen
  33661. if mapmsglen < 0 {
  33662. return ErrInvalidLengthGenerated
  33663. }
  33664. if postmsgIndex > l {
  33665. return io.ErrUnexpectedEOF
  33666. }
  33667. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  33668. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  33669. return err
  33670. }
  33671. iNdEx = postmsgIndex
  33672. m.Capacity[ResourceName(mapkey)] = *mapvalue
  33673. } else {
  33674. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  33675. m.Capacity[ResourceName(mapkey)] = mapvalue
  33676. }
  33677. iNdEx = postIndex
  33678. case 4:
  33679. if wireType != 2 {
  33680. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  33681. }
  33682. var msglen int
  33683. for shift := uint(0); ; shift += 7 {
  33684. if shift >= 64 {
  33685. return ErrIntOverflowGenerated
  33686. }
  33687. if iNdEx >= l {
  33688. return io.ErrUnexpectedEOF
  33689. }
  33690. b := dAtA[iNdEx]
  33691. iNdEx++
  33692. msglen |= (int(b) & 0x7F) << shift
  33693. if b < 0x80 {
  33694. break
  33695. }
  33696. }
  33697. if msglen < 0 {
  33698. return ErrInvalidLengthGenerated
  33699. }
  33700. postIndex := iNdEx + msglen
  33701. if postIndex > l {
  33702. return io.ErrUnexpectedEOF
  33703. }
  33704. m.Conditions = append(m.Conditions, PersistentVolumeClaimCondition{})
  33705. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33706. return err
  33707. }
  33708. iNdEx = postIndex
  33709. default:
  33710. iNdEx = preIndex
  33711. skippy, err := skipGenerated(dAtA[iNdEx:])
  33712. if err != nil {
  33713. return err
  33714. }
  33715. if skippy < 0 {
  33716. return ErrInvalidLengthGenerated
  33717. }
  33718. if (iNdEx + skippy) > l {
  33719. return io.ErrUnexpectedEOF
  33720. }
  33721. iNdEx += skippy
  33722. }
  33723. }
  33724. if iNdEx > l {
  33725. return io.ErrUnexpectedEOF
  33726. }
  33727. return nil
  33728. }
  33729. func (m *PersistentVolumeClaimVolumeSource) Unmarshal(dAtA []byte) error {
  33730. l := len(dAtA)
  33731. iNdEx := 0
  33732. for iNdEx < l {
  33733. preIndex := iNdEx
  33734. var wire uint64
  33735. for shift := uint(0); ; shift += 7 {
  33736. if shift >= 64 {
  33737. return ErrIntOverflowGenerated
  33738. }
  33739. if iNdEx >= l {
  33740. return io.ErrUnexpectedEOF
  33741. }
  33742. b := dAtA[iNdEx]
  33743. iNdEx++
  33744. wire |= (uint64(b) & 0x7F) << shift
  33745. if b < 0x80 {
  33746. break
  33747. }
  33748. }
  33749. fieldNum := int32(wire >> 3)
  33750. wireType := int(wire & 0x7)
  33751. if wireType == 4 {
  33752. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: wiretype end group for non-group")
  33753. }
  33754. if fieldNum <= 0 {
  33755. return fmt.Errorf("proto: PersistentVolumeClaimVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  33756. }
  33757. switch fieldNum {
  33758. case 1:
  33759. if wireType != 2 {
  33760. return fmt.Errorf("proto: wrong wireType = %d for field ClaimName", wireType)
  33761. }
  33762. var stringLen uint64
  33763. for shift := uint(0); ; shift += 7 {
  33764. if shift >= 64 {
  33765. return ErrIntOverflowGenerated
  33766. }
  33767. if iNdEx >= l {
  33768. return io.ErrUnexpectedEOF
  33769. }
  33770. b := dAtA[iNdEx]
  33771. iNdEx++
  33772. stringLen |= (uint64(b) & 0x7F) << shift
  33773. if b < 0x80 {
  33774. break
  33775. }
  33776. }
  33777. intStringLen := int(stringLen)
  33778. if intStringLen < 0 {
  33779. return ErrInvalidLengthGenerated
  33780. }
  33781. postIndex := iNdEx + intStringLen
  33782. if postIndex > l {
  33783. return io.ErrUnexpectedEOF
  33784. }
  33785. m.ClaimName = string(dAtA[iNdEx:postIndex])
  33786. iNdEx = postIndex
  33787. case 2:
  33788. if wireType != 0 {
  33789. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  33790. }
  33791. var v int
  33792. for shift := uint(0); ; shift += 7 {
  33793. if shift >= 64 {
  33794. return ErrIntOverflowGenerated
  33795. }
  33796. if iNdEx >= l {
  33797. return io.ErrUnexpectedEOF
  33798. }
  33799. b := dAtA[iNdEx]
  33800. iNdEx++
  33801. v |= (int(b) & 0x7F) << shift
  33802. if b < 0x80 {
  33803. break
  33804. }
  33805. }
  33806. m.ReadOnly = bool(v != 0)
  33807. default:
  33808. iNdEx = preIndex
  33809. skippy, err := skipGenerated(dAtA[iNdEx:])
  33810. if err != nil {
  33811. return err
  33812. }
  33813. if skippy < 0 {
  33814. return ErrInvalidLengthGenerated
  33815. }
  33816. if (iNdEx + skippy) > l {
  33817. return io.ErrUnexpectedEOF
  33818. }
  33819. iNdEx += skippy
  33820. }
  33821. }
  33822. if iNdEx > l {
  33823. return io.ErrUnexpectedEOF
  33824. }
  33825. return nil
  33826. }
  33827. func (m *PersistentVolumeList) Unmarshal(dAtA []byte) error {
  33828. l := len(dAtA)
  33829. iNdEx := 0
  33830. for iNdEx < l {
  33831. preIndex := iNdEx
  33832. var wire uint64
  33833. for shift := uint(0); ; shift += 7 {
  33834. if shift >= 64 {
  33835. return ErrIntOverflowGenerated
  33836. }
  33837. if iNdEx >= l {
  33838. return io.ErrUnexpectedEOF
  33839. }
  33840. b := dAtA[iNdEx]
  33841. iNdEx++
  33842. wire |= (uint64(b) & 0x7F) << shift
  33843. if b < 0x80 {
  33844. break
  33845. }
  33846. }
  33847. fieldNum := int32(wire >> 3)
  33848. wireType := int(wire & 0x7)
  33849. if wireType == 4 {
  33850. return fmt.Errorf("proto: PersistentVolumeList: wiretype end group for non-group")
  33851. }
  33852. if fieldNum <= 0 {
  33853. return fmt.Errorf("proto: PersistentVolumeList: illegal tag %d (wire type %d)", fieldNum, wire)
  33854. }
  33855. switch fieldNum {
  33856. case 1:
  33857. if wireType != 2 {
  33858. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  33859. }
  33860. var msglen int
  33861. for shift := uint(0); ; shift += 7 {
  33862. if shift >= 64 {
  33863. return ErrIntOverflowGenerated
  33864. }
  33865. if iNdEx >= l {
  33866. return io.ErrUnexpectedEOF
  33867. }
  33868. b := dAtA[iNdEx]
  33869. iNdEx++
  33870. msglen |= (int(b) & 0x7F) << shift
  33871. if b < 0x80 {
  33872. break
  33873. }
  33874. }
  33875. if msglen < 0 {
  33876. return ErrInvalidLengthGenerated
  33877. }
  33878. postIndex := iNdEx + msglen
  33879. if postIndex > l {
  33880. return io.ErrUnexpectedEOF
  33881. }
  33882. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33883. return err
  33884. }
  33885. iNdEx = postIndex
  33886. case 2:
  33887. if wireType != 2 {
  33888. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  33889. }
  33890. var msglen int
  33891. for shift := uint(0); ; shift += 7 {
  33892. if shift >= 64 {
  33893. return ErrIntOverflowGenerated
  33894. }
  33895. if iNdEx >= l {
  33896. return io.ErrUnexpectedEOF
  33897. }
  33898. b := dAtA[iNdEx]
  33899. iNdEx++
  33900. msglen |= (int(b) & 0x7F) << shift
  33901. if b < 0x80 {
  33902. break
  33903. }
  33904. }
  33905. if msglen < 0 {
  33906. return ErrInvalidLengthGenerated
  33907. }
  33908. postIndex := iNdEx + msglen
  33909. if postIndex > l {
  33910. return io.ErrUnexpectedEOF
  33911. }
  33912. m.Items = append(m.Items, PersistentVolume{})
  33913. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33914. return err
  33915. }
  33916. iNdEx = postIndex
  33917. default:
  33918. iNdEx = preIndex
  33919. skippy, err := skipGenerated(dAtA[iNdEx:])
  33920. if err != nil {
  33921. return err
  33922. }
  33923. if skippy < 0 {
  33924. return ErrInvalidLengthGenerated
  33925. }
  33926. if (iNdEx + skippy) > l {
  33927. return io.ErrUnexpectedEOF
  33928. }
  33929. iNdEx += skippy
  33930. }
  33931. }
  33932. if iNdEx > l {
  33933. return io.ErrUnexpectedEOF
  33934. }
  33935. return nil
  33936. }
  33937. func (m *PersistentVolumeSource) Unmarshal(dAtA []byte) error {
  33938. l := len(dAtA)
  33939. iNdEx := 0
  33940. for iNdEx < l {
  33941. preIndex := iNdEx
  33942. var wire uint64
  33943. for shift := uint(0); ; shift += 7 {
  33944. if shift >= 64 {
  33945. return ErrIntOverflowGenerated
  33946. }
  33947. if iNdEx >= l {
  33948. return io.ErrUnexpectedEOF
  33949. }
  33950. b := dAtA[iNdEx]
  33951. iNdEx++
  33952. wire |= (uint64(b) & 0x7F) << shift
  33953. if b < 0x80 {
  33954. break
  33955. }
  33956. }
  33957. fieldNum := int32(wire >> 3)
  33958. wireType := int(wire & 0x7)
  33959. if wireType == 4 {
  33960. return fmt.Errorf("proto: PersistentVolumeSource: wiretype end group for non-group")
  33961. }
  33962. if fieldNum <= 0 {
  33963. return fmt.Errorf("proto: PersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  33964. }
  33965. switch fieldNum {
  33966. case 1:
  33967. if wireType != 2 {
  33968. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  33969. }
  33970. var msglen int
  33971. for shift := uint(0); ; shift += 7 {
  33972. if shift >= 64 {
  33973. return ErrIntOverflowGenerated
  33974. }
  33975. if iNdEx >= l {
  33976. return io.ErrUnexpectedEOF
  33977. }
  33978. b := dAtA[iNdEx]
  33979. iNdEx++
  33980. msglen |= (int(b) & 0x7F) << shift
  33981. if b < 0x80 {
  33982. break
  33983. }
  33984. }
  33985. if msglen < 0 {
  33986. return ErrInvalidLengthGenerated
  33987. }
  33988. postIndex := iNdEx + msglen
  33989. if postIndex > l {
  33990. return io.ErrUnexpectedEOF
  33991. }
  33992. if m.GCEPersistentDisk == nil {
  33993. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  33994. }
  33995. if err := m.GCEPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  33996. return err
  33997. }
  33998. iNdEx = postIndex
  33999. case 2:
  34000. if wireType != 2 {
  34001. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", wireType)
  34002. }
  34003. var msglen int
  34004. for shift := uint(0); ; shift += 7 {
  34005. if shift >= 64 {
  34006. return ErrIntOverflowGenerated
  34007. }
  34008. if iNdEx >= l {
  34009. return io.ErrUnexpectedEOF
  34010. }
  34011. b := dAtA[iNdEx]
  34012. iNdEx++
  34013. msglen |= (int(b) & 0x7F) << shift
  34014. if b < 0x80 {
  34015. break
  34016. }
  34017. }
  34018. if msglen < 0 {
  34019. return ErrInvalidLengthGenerated
  34020. }
  34021. postIndex := iNdEx + msglen
  34022. if postIndex > l {
  34023. return io.ErrUnexpectedEOF
  34024. }
  34025. if m.AWSElasticBlockStore == nil {
  34026. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  34027. }
  34028. if err := m.AWSElasticBlockStore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34029. return err
  34030. }
  34031. iNdEx = postIndex
  34032. case 3:
  34033. if wireType != 2 {
  34034. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  34035. }
  34036. var msglen int
  34037. for shift := uint(0); ; shift += 7 {
  34038. if shift >= 64 {
  34039. return ErrIntOverflowGenerated
  34040. }
  34041. if iNdEx >= l {
  34042. return io.ErrUnexpectedEOF
  34043. }
  34044. b := dAtA[iNdEx]
  34045. iNdEx++
  34046. msglen |= (int(b) & 0x7F) << shift
  34047. if b < 0x80 {
  34048. break
  34049. }
  34050. }
  34051. if msglen < 0 {
  34052. return ErrInvalidLengthGenerated
  34053. }
  34054. postIndex := iNdEx + msglen
  34055. if postIndex > l {
  34056. return io.ErrUnexpectedEOF
  34057. }
  34058. if m.HostPath == nil {
  34059. m.HostPath = &HostPathVolumeSource{}
  34060. }
  34061. if err := m.HostPath.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34062. return err
  34063. }
  34064. iNdEx = postIndex
  34065. case 4:
  34066. if wireType != 2 {
  34067. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  34068. }
  34069. var msglen int
  34070. for shift := uint(0); ; shift += 7 {
  34071. if shift >= 64 {
  34072. return ErrIntOverflowGenerated
  34073. }
  34074. if iNdEx >= l {
  34075. return io.ErrUnexpectedEOF
  34076. }
  34077. b := dAtA[iNdEx]
  34078. iNdEx++
  34079. msglen |= (int(b) & 0x7F) << shift
  34080. if b < 0x80 {
  34081. break
  34082. }
  34083. }
  34084. if msglen < 0 {
  34085. return ErrInvalidLengthGenerated
  34086. }
  34087. postIndex := iNdEx + msglen
  34088. if postIndex > l {
  34089. return io.ErrUnexpectedEOF
  34090. }
  34091. if m.Glusterfs == nil {
  34092. m.Glusterfs = &GlusterfsVolumeSource{}
  34093. }
  34094. if err := m.Glusterfs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34095. return err
  34096. }
  34097. iNdEx = postIndex
  34098. case 5:
  34099. if wireType != 2 {
  34100. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  34101. }
  34102. var msglen int
  34103. for shift := uint(0); ; shift += 7 {
  34104. if shift >= 64 {
  34105. return ErrIntOverflowGenerated
  34106. }
  34107. if iNdEx >= l {
  34108. return io.ErrUnexpectedEOF
  34109. }
  34110. b := dAtA[iNdEx]
  34111. iNdEx++
  34112. msglen |= (int(b) & 0x7F) << shift
  34113. if b < 0x80 {
  34114. break
  34115. }
  34116. }
  34117. if msglen < 0 {
  34118. return ErrInvalidLengthGenerated
  34119. }
  34120. postIndex := iNdEx + msglen
  34121. if postIndex > l {
  34122. return io.ErrUnexpectedEOF
  34123. }
  34124. if m.NFS == nil {
  34125. m.NFS = &NFSVolumeSource{}
  34126. }
  34127. if err := m.NFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34128. return err
  34129. }
  34130. iNdEx = postIndex
  34131. case 6:
  34132. if wireType != 2 {
  34133. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  34134. }
  34135. var msglen int
  34136. for shift := uint(0); ; shift += 7 {
  34137. if shift >= 64 {
  34138. return ErrIntOverflowGenerated
  34139. }
  34140. if iNdEx >= l {
  34141. return io.ErrUnexpectedEOF
  34142. }
  34143. b := dAtA[iNdEx]
  34144. iNdEx++
  34145. msglen |= (int(b) & 0x7F) << shift
  34146. if b < 0x80 {
  34147. break
  34148. }
  34149. }
  34150. if msglen < 0 {
  34151. return ErrInvalidLengthGenerated
  34152. }
  34153. postIndex := iNdEx + msglen
  34154. if postIndex > l {
  34155. return io.ErrUnexpectedEOF
  34156. }
  34157. if m.RBD == nil {
  34158. m.RBD = &RBDPersistentVolumeSource{}
  34159. }
  34160. if err := m.RBD.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34161. return err
  34162. }
  34163. iNdEx = postIndex
  34164. case 7:
  34165. if wireType != 2 {
  34166. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  34167. }
  34168. var msglen int
  34169. for shift := uint(0); ; shift += 7 {
  34170. if shift >= 64 {
  34171. return ErrIntOverflowGenerated
  34172. }
  34173. if iNdEx >= l {
  34174. return io.ErrUnexpectedEOF
  34175. }
  34176. b := dAtA[iNdEx]
  34177. iNdEx++
  34178. msglen |= (int(b) & 0x7F) << shift
  34179. if b < 0x80 {
  34180. break
  34181. }
  34182. }
  34183. if msglen < 0 {
  34184. return ErrInvalidLengthGenerated
  34185. }
  34186. postIndex := iNdEx + msglen
  34187. if postIndex > l {
  34188. return io.ErrUnexpectedEOF
  34189. }
  34190. if m.ISCSI == nil {
  34191. m.ISCSI = &ISCSIPersistentVolumeSource{}
  34192. }
  34193. if err := m.ISCSI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34194. return err
  34195. }
  34196. iNdEx = postIndex
  34197. case 8:
  34198. if wireType != 2 {
  34199. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  34200. }
  34201. var msglen int
  34202. for shift := uint(0); ; shift += 7 {
  34203. if shift >= 64 {
  34204. return ErrIntOverflowGenerated
  34205. }
  34206. if iNdEx >= l {
  34207. return io.ErrUnexpectedEOF
  34208. }
  34209. b := dAtA[iNdEx]
  34210. iNdEx++
  34211. msglen |= (int(b) & 0x7F) << shift
  34212. if b < 0x80 {
  34213. break
  34214. }
  34215. }
  34216. if msglen < 0 {
  34217. return ErrInvalidLengthGenerated
  34218. }
  34219. postIndex := iNdEx + msglen
  34220. if postIndex > l {
  34221. return io.ErrUnexpectedEOF
  34222. }
  34223. if m.Cinder == nil {
  34224. m.Cinder = &CinderVolumeSource{}
  34225. }
  34226. if err := m.Cinder.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34227. return err
  34228. }
  34229. iNdEx = postIndex
  34230. case 9:
  34231. if wireType != 2 {
  34232. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  34233. }
  34234. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  34245. if b < 0x80 {
  34246. break
  34247. }
  34248. }
  34249. if msglen < 0 {
  34250. return ErrInvalidLengthGenerated
  34251. }
  34252. postIndex := iNdEx + msglen
  34253. if postIndex > l {
  34254. return io.ErrUnexpectedEOF
  34255. }
  34256. if m.CephFS == nil {
  34257. m.CephFS = &CephFSPersistentVolumeSource{}
  34258. }
  34259. if err := m.CephFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34260. return err
  34261. }
  34262. iNdEx = postIndex
  34263. case 10:
  34264. if wireType != 2 {
  34265. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  34266. }
  34267. var msglen int
  34268. for shift := uint(0); ; shift += 7 {
  34269. if shift >= 64 {
  34270. return ErrIntOverflowGenerated
  34271. }
  34272. if iNdEx >= l {
  34273. return io.ErrUnexpectedEOF
  34274. }
  34275. b := dAtA[iNdEx]
  34276. iNdEx++
  34277. msglen |= (int(b) & 0x7F) << shift
  34278. if b < 0x80 {
  34279. break
  34280. }
  34281. }
  34282. if msglen < 0 {
  34283. return ErrInvalidLengthGenerated
  34284. }
  34285. postIndex := iNdEx + msglen
  34286. if postIndex > l {
  34287. return io.ErrUnexpectedEOF
  34288. }
  34289. if m.FC == nil {
  34290. m.FC = &FCVolumeSource{}
  34291. }
  34292. if err := m.FC.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34293. return err
  34294. }
  34295. iNdEx = postIndex
  34296. case 11:
  34297. if wireType != 2 {
  34298. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  34299. }
  34300. var msglen int
  34301. for shift := uint(0); ; shift += 7 {
  34302. if shift >= 64 {
  34303. return ErrIntOverflowGenerated
  34304. }
  34305. if iNdEx >= l {
  34306. return io.ErrUnexpectedEOF
  34307. }
  34308. b := dAtA[iNdEx]
  34309. iNdEx++
  34310. msglen |= (int(b) & 0x7F) << shift
  34311. if b < 0x80 {
  34312. break
  34313. }
  34314. }
  34315. if msglen < 0 {
  34316. return ErrInvalidLengthGenerated
  34317. }
  34318. postIndex := iNdEx + msglen
  34319. if postIndex > l {
  34320. return io.ErrUnexpectedEOF
  34321. }
  34322. if m.Flocker == nil {
  34323. m.Flocker = &FlockerVolumeSource{}
  34324. }
  34325. if err := m.Flocker.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34326. return err
  34327. }
  34328. iNdEx = postIndex
  34329. case 12:
  34330. if wireType != 2 {
  34331. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  34332. }
  34333. var msglen int
  34334. for shift := uint(0); ; shift += 7 {
  34335. if shift >= 64 {
  34336. return ErrIntOverflowGenerated
  34337. }
  34338. if iNdEx >= l {
  34339. return io.ErrUnexpectedEOF
  34340. }
  34341. b := dAtA[iNdEx]
  34342. iNdEx++
  34343. msglen |= (int(b) & 0x7F) << shift
  34344. if b < 0x80 {
  34345. break
  34346. }
  34347. }
  34348. if msglen < 0 {
  34349. return ErrInvalidLengthGenerated
  34350. }
  34351. postIndex := iNdEx + msglen
  34352. if postIndex > l {
  34353. return io.ErrUnexpectedEOF
  34354. }
  34355. if m.FlexVolume == nil {
  34356. m.FlexVolume = &FlexPersistentVolumeSource{}
  34357. }
  34358. if err := m.FlexVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34359. return err
  34360. }
  34361. iNdEx = postIndex
  34362. case 13:
  34363. if wireType != 2 {
  34364. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  34365. }
  34366. var msglen int
  34367. for shift := uint(0); ; shift += 7 {
  34368. if shift >= 64 {
  34369. return ErrIntOverflowGenerated
  34370. }
  34371. if iNdEx >= l {
  34372. return io.ErrUnexpectedEOF
  34373. }
  34374. b := dAtA[iNdEx]
  34375. iNdEx++
  34376. msglen |= (int(b) & 0x7F) << shift
  34377. if b < 0x80 {
  34378. break
  34379. }
  34380. }
  34381. if msglen < 0 {
  34382. return ErrInvalidLengthGenerated
  34383. }
  34384. postIndex := iNdEx + msglen
  34385. if postIndex > l {
  34386. return io.ErrUnexpectedEOF
  34387. }
  34388. if m.AzureFile == nil {
  34389. m.AzureFile = &AzureFilePersistentVolumeSource{}
  34390. }
  34391. if err := m.AzureFile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34392. return err
  34393. }
  34394. iNdEx = postIndex
  34395. case 14:
  34396. if wireType != 2 {
  34397. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  34398. }
  34399. var msglen int
  34400. for shift := uint(0); ; shift += 7 {
  34401. if shift >= 64 {
  34402. return ErrIntOverflowGenerated
  34403. }
  34404. if iNdEx >= l {
  34405. return io.ErrUnexpectedEOF
  34406. }
  34407. b := dAtA[iNdEx]
  34408. iNdEx++
  34409. msglen |= (int(b) & 0x7F) << shift
  34410. if b < 0x80 {
  34411. break
  34412. }
  34413. }
  34414. if msglen < 0 {
  34415. return ErrInvalidLengthGenerated
  34416. }
  34417. postIndex := iNdEx + msglen
  34418. if postIndex > l {
  34419. return io.ErrUnexpectedEOF
  34420. }
  34421. if m.VsphereVolume == nil {
  34422. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  34423. }
  34424. if err := m.VsphereVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34425. return err
  34426. }
  34427. iNdEx = postIndex
  34428. case 15:
  34429. if wireType != 2 {
  34430. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  34431. }
  34432. var msglen int
  34433. for shift := uint(0); ; shift += 7 {
  34434. if shift >= 64 {
  34435. return ErrIntOverflowGenerated
  34436. }
  34437. if iNdEx >= l {
  34438. return io.ErrUnexpectedEOF
  34439. }
  34440. b := dAtA[iNdEx]
  34441. iNdEx++
  34442. msglen |= (int(b) & 0x7F) << shift
  34443. if b < 0x80 {
  34444. break
  34445. }
  34446. }
  34447. if msglen < 0 {
  34448. return ErrInvalidLengthGenerated
  34449. }
  34450. postIndex := iNdEx + msglen
  34451. if postIndex > l {
  34452. return io.ErrUnexpectedEOF
  34453. }
  34454. if m.Quobyte == nil {
  34455. m.Quobyte = &QuobyteVolumeSource{}
  34456. }
  34457. if err := m.Quobyte.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34458. return err
  34459. }
  34460. iNdEx = postIndex
  34461. case 16:
  34462. if wireType != 2 {
  34463. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  34464. }
  34465. var msglen int
  34466. for shift := uint(0); ; shift += 7 {
  34467. if shift >= 64 {
  34468. return ErrIntOverflowGenerated
  34469. }
  34470. if iNdEx >= l {
  34471. return io.ErrUnexpectedEOF
  34472. }
  34473. b := dAtA[iNdEx]
  34474. iNdEx++
  34475. msglen |= (int(b) & 0x7F) << shift
  34476. if b < 0x80 {
  34477. break
  34478. }
  34479. }
  34480. if msglen < 0 {
  34481. return ErrInvalidLengthGenerated
  34482. }
  34483. postIndex := iNdEx + msglen
  34484. if postIndex > l {
  34485. return io.ErrUnexpectedEOF
  34486. }
  34487. if m.AzureDisk == nil {
  34488. m.AzureDisk = &AzureDiskVolumeSource{}
  34489. }
  34490. if err := m.AzureDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34491. return err
  34492. }
  34493. iNdEx = postIndex
  34494. case 17:
  34495. if wireType != 2 {
  34496. return fmt.Errorf("proto: wrong wireType = %d for field PhotonPersistentDisk", wireType)
  34497. }
  34498. var msglen int
  34499. for shift := uint(0); ; shift += 7 {
  34500. if shift >= 64 {
  34501. return ErrIntOverflowGenerated
  34502. }
  34503. if iNdEx >= l {
  34504. return io.ErrUnexpectedEOF
  34505. }
  34506. b := dAtA[iNdEx]
  34507. iNdEx++
  34508. msglen |= (int(b) & 0x7F) << shift
  34509. if b < 0x80 {
  34510. break
  34511. }
  34512. }
  34513. if msglen < 0 {
  34514. return ErrInvalidLengthGenerated
  34515. }
  34516. postIndex := iNdEx + msglen
  34517. if postIndex > l {
  34518. return io.ErrUnexpectedEOF
  34519. }
  34520. if m.PhotonPersistentDisk == nil {
  34521. m.PhotonPersistentDisk = &PhotonPersistentDiskVolumeSource{}
  34522. }
  34523. if err := m.PhotonPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34524. return err
  34525. }
  34526. iNdEx = postIndex
  34527. case 18:
  34528. if wireType != 2 {
  34529. return fmt.Errorf("proto: wrong wireType = %d for field PortworxVolume", wireType)
  34530. }
  34531. var msglen int
  34532. for shift := uint(0); ; shift += 7 {
  34533. if shift >= 64 {
  34534. return ErrIntOverflowGenerated
  34535. }
  34536. if iNdEx >= l {
  34537. return io.ErrUnexpectedEOF
  34538. }
  34539. b := dAtA[iNdEx]
  34540. iNdEx++
  34541. msglen |= (int(b) & 0x7F) << shift
  34542. if b < 0x80 {
  34543. break
  34544. }
  34545. }
  34546. if msglen < 0 {
  34547. return ErrInvalidLengthGenerated
  34548. }
  34549. postIndex := iNdEx + msglen
  34550. if postIndex > l {
  34551. return io.ErrUnexpectedEOF
  34552. }
  34553. if m.PortworxVolume == nil {
  34554. m.PortworxVolume = &PortworxVolumeSource{}
  34555. }
  34556. if err := m.PortworxVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34557. return err
  34558. }
  34559. iNdEx = postIndex
  34560. case 19:
  34561. if wireType != 2 {
  34562. return fmt.Errorf("proto: wrong wireType = %d for field ScaleIO", wireType)
  34563. }
  34564. var msglen int
  34565. for shift := uint(0); ; shift += 7 {
  34566. if shift >= 64 {
  34567. return ErrIntOverflowGenerated
  34568. }
  34569. if iNdEx >= l {
  34570. return io.ErrUnexpectedEOF
  34571. }
  34572. b := dAtA[iNdEx]
  34573. iNdEx++
  34574. msglen |= (int(b) & 0x7F) << shift
  34575. if b < 0x80 {
  34576. break
  34577. }
  34578. }
  34579. if msglen < 0 {
  34580. return ErrInvalidLengthGenerated
  34581. }
  34582. postIndex := iNdEx + msglen
  34583. if postIndex > l {
  34584. return io.ErrUnexpectedEOF
  34585. }
  34586. if m.ScaleIO == nil {
  34587. m.ScaleIO = &ScaleIOPersistentVolumeSource{}
  34588. }
  34589. if err := m.ScaleIO.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34590. return err
  34591. }
  34592. iNdEx = postIndex
  34593. case 20:
  34594. if wireType != 2 {
  34595. return fmt.Errorf("proto: wrong wireType = %d for field Local", wireType)
  34596. }
  34597. var msglen int
  34598. for shift := uint(0); ; shift += 7 {
  34599. if shift >= 64 {
  34600. return ErrIntOverflowGenerated
  34601. }
  34602. if iNdEx >= l {
  34603. return io.ErrUnexpectedEOF
  34604. }
  34605. b := dAtA[iNdEx]
  34606. iNdEx++
  34607. msglen |= (int(b) & 0x7F) << shift
  34608. if b < 0x80 {
  34609. break
  34610. }
  34611. }
  34612. if msglen < 0 {
  34613. return ErrInvalidLengthGenerated
  34614. }
  34615. postIndex := iNdEx + msglen
  34616. if postIndex > l {
  34617. return io.ErrUnexpectedEOF
  34618. }
  34619. if m.Local == nil {
  34620. m.Local = &LocalVolumeSource{}
  34621. }
  34622. if err := m.Local.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34623. return err
  34624. }
  34625. iNdEx = postIndex
  34626. case 21:
  34627. if wireType != 2 {
  34628. return fmt.Errorf("proto: wrong wireType = %d for field StorageOS", wireType)
  34629. }
  34630. var msglen int
  34631. for shift := uint(0); ; shift += 7 {
  34632. if shift >= 64 {
  34633. return ErrIntOverflowGenerated
  34634. }
  34635. if iNdEx >= l {
  34636. return io.ErrUnexpectedEOF
  34637. }
  34638. b := dAtA[iNdEx]
  34639. iNdEx++
  34640. msglen |= (int(b) & 0x7F) << shift
  34641. if b < 0x80 {
  34642. break
  34643. }
  34644. }
  34645. if msglen < 0 {
  34646. return ErrInvalidLengthGenerated
  34647. }
  34648. postIndex := iNdEx + msglen
  34649. if postIndex > l {
  34650. return io.ErrUnexpectedEOF
  34651. }
  34652. if m.StorageOS == nil {
  34653. m.StorageOS = &StorageOSPersistentVolumeSource{}
  34654. }
  34655. if err := m.StorageOS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34656. return err
  34657. }
  34658. iNdEx = postIndex
  34659. case 22:
  34660. if wireType != 2 {
  34661. return fmt.Errorf("proto: wrong wireType = %d for field CSI", wireType)
  34662. }
  34663. var msglen int
  34664. for shift := uint(0); ; shift += 7 {
  34665. if shift >= 64 {
  34666. return ErrIntOverflowGenerated
  34667. }
  34668. if iNdEx >= l {
  34669. return io.ErrUnexpectedEOF
  34670. }
  34671. b := dAtA[iNdEx]
  34672. iNdEx++
  34673. msglen |= (int(b) & 0x7F) << shift
  34674. if b < 0x80 {
  34675. break
  34676. }
  34677. }
  34678. if msglen < 0 {
  34679. return ErrInvalidLengthGenerated
  34680. }
  34681. postIndex := iNdEx + msglen
  34682. if postIndex > l {
  34683. return io.ErrUnexpectedEOF
  34684. }
  34685. if m.CSI == nil {
  34686. m.CSI = &CSIPersistentVolumeSource{}
  34687. }
  34688. if err := m.CSI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34689. return err
  34690. }
  34691. iNdEx = postIndex
  34692. default:
  34693. iNdEx = preIndex
  34694. skippy, err := skipGenerated(dAtA[iNdEx:])
  34695. if err != nil {
  34696. return err
  34697. }
  34698. if skippy < 0 {
  34699. return ErrInvalidLengthGenerated
  34700. }
  34701. if (iNdEx + skippy) > l {
  34702. return io.ErrUnexpectedEOF
  34703. }
  34704. iNdEx += skippy
  34705. }
  34706. }
  34707. if iNdEx > l {
  34708. return io.ErrUnexpectedEOF
  34709. }
  34710. return nil
  34711. }
  34712. func (m *PersistentVolumeSpec) Unmarshal(dAtA []byte) error {
  34713. l := len(dAtA)
  34714. iNdEx := 0
  34715. for iNdEx < l {
  34716. preIndex := iNdEx
  34717. var wire uint64
  34718. for shift := uint(0); ; shift += 7 {
  34719. if shift >= 64 {
  34720. return ErrIntOverflowGenerated
  34721. }
  34722. if iNdEx >= l {
  34723. return io.ErrUnexpectedEOF
  34724. }
  34725. b := dAtA[iNdEx]
  34726. iNdEx++
  34727. wire |= (uint64(b) & 0x7F) << shift
  34728. if b < 0x80 {
  34729. break
  34730. }
  34731. }
  34732. fieldNum := int32(wire >> 3)
  34733. wireType := int(wire & 0x7)
  34734. if wireType == 4 {
  34735. return fmt.Errorf("proto: PersistentVolumeSpec: wiretype end group for non-group")
  34736. }
  34737. if fieldNum <= 0 {
  34738. return fmt.Errorf("proto: PersistentVolumeSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  34739. }
  34740. switch fieldNum {
  34741. case 1:
  34742. if wireType != 2 {
  34743. return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
  34744. }
  34745. var msglen int
  34746. for shift := uint(0); ; shift += 7 {
  34747. if shift >= 64 {
  34748. return ErrIntOverflowGenerated
  34749. }
  34750. if iNdEx >= l {
  34751. return io.ErrUnexpectedEOF
  34752. }
  34753. b := dAtA[iNdEx]
  34754. iNdEx++
  34755. msglen |= (int(b) & 0x7F) << shift
  34756. if b < 0x80 {
  34757. break
  34758. }
  34759. }
  34760. if msglen < 0 {
  34761. return ErrInvalidLengthGenerated
  34762. }
  34763. postIndex := iNdEx + msglen
  34764. if postIndex > l {
  34765. return io.ErrUnexpectedEOF
  34766. }
  34767. var keykey uint64
  34768. for shift := uint(0); ; shift += 7 {
  34769. if shift >= 64 {
  34770. return ErrIntOverflowGenerated
  34771. }
  34772. if iNdEx >= l {
  34773. return io.ErrUnexpectedEOF
  34774. }
  34775. b := dAtA[iNdEx]
  34776. iNdEx++
  34777. keykey |= (uint64(b) & 0x7F) << shift
  34778. if b < 0x80 {
  34779. break
  34780. }
  34781. }
  34782. var stringLenmapkey uint64
  34783. for shift := uint(0); ; shift += 7 {
  34784. if shift >= 64 {
  34785. return ErrIntOverflowGenerated
  34786. }
  34787. if iNdEx >= l {
  34788. return io.ErrUnexpectedEOF
  34789. }
  34790. b := dAtA[iNdEx]
  34791. iNdEx++
  34792. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  34793. if b < 0x80 {
  34794. break
  34795. }
  34796. }
  34797. intStringLenmapkey := int(stringLenmapkey)
  34798. if intStringLenmapkey < 0 {
  34799. return ErrInvalidLengthGenerated
  34800. }
  34801. postStringIndexmapkey := iNdEx + intStringLenmapkey
  34802. if postStringIndexmapkey > l {
  34803. return io.ErrUnexpectedEOF
  34804. }
  34805. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  34806. iNdEx = postStringIndexmapkey
  34807. if m.Capacity == nil {
  34808. m.Capacity = make(ResourceList)
  34809. }
  34810. if iNdEx < postIndex {
  34811. var valuekey uint64
  34812. for shift := uint(0); ; shift += 7 {
  34813. if shift >= 64 {
  34814. return ErrIntOverflowGenerated
  34815. }
  34816. if iNdEx >= l {
  34817. return io.ErrUnexpectedEOF
  34818. }
  34819. b := dAtA[iNdEx]
  34820. iNdEx++
  34821. valuekey |= (uint64(b) & 0x7F) << shift
  34822. if b < 0x80 {
  34823. break
  34824. }
  34825. }
  34826. var mapmsglen int
  34827. for shift := uint(0); ; shift += 7 {
  34828. if shift >= 64 {
  34829. return ErrIntOverflowGenerated
  34830. }
  34831. if iNdEx >= l {
  34832. return io.ErrUnexpectedEOF
  34833. }
  34834. b := dAtA[iNdEx]
  34835. iNdEx++
  34836. mapmsglen |= (int(b) & 0x7F) << shift
  34837. if b < 0x80 {
  34838. break
  34839. }
  34840. }
  34841. if mapmsglen < 0 {
  34842. return ErrInvalidLengthGenerated
  34843. }
  34844. postmsgIndex := iNdEx + mapmsglen
  34845. if mapmsglen < 0 {
  34846. return ErrInvalidLengthGenerated
  34847. }
  34848. if postmsgIndex > l {
  34849. return io.ErrUnexpectedEOF
  34850. }
  34851. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  34852. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  34853. return err
  34854. }
  34855. iNdEx = postmsgIndex
  34856. m.Capacity[ResourceName(mapkey)] = *mapvalue
  34857. } else {
  34858. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  34859. m.Capacity[ResourceName(mapkey)] = mapvalue
  34860. }
  34861. iNdEx = postIndex
  34862. case 2:
  34863. if wireType != 2 {
  34864. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeSource", wireType)
  34865. }
  34866. var msglen int
  34867. for shift := uint(0); ; shift += 7 {
  34868. if shift >= 64 {
  34869. return ErrIntOverflowGenerated
  34870. }
  34871. if iNdEx >= l {
  34872. return io.ErrUnexpectedEOF
  34873. }
  34874. b := dAtA[iNdEx]
  34875. iNdEx++
  34876. msglen |= (int(b) & 0x7F) << shift
  34877. if b < 0x80 {
  34878. break
  34879. }
  34880. }
  34881. if msglen < 0 {
  34882. return ErrInvalidLengthGenerated
  34883. }
  34884. postIndex := iNdEx + msglen
  34885. if postIndex > l {
  34886. return io.ErrUnexpectedEOF
  34887. }
  34888. if err := m.PersistentVolumeSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34889. return err
  34890. }
  34891. iNdEx = postIndex
  34892. case 3:
  34893. if wireType != 2 {
  34894. return fmt.Errorf("proto: wrong wireType = %d for field AccessModes", wireType)
  34895. }
  34896. var stringLen uint64
  34897. for shift := uint(0); ; shift += 7 {
  34898. if shift >= 64 {
  34899. return ErrIntOverflowGenerated
  34900. }
  34901. if iNdEx >= l {
  34902. return io.ErrUnexpectedEOF
  34903. }
  34904. b := dAtA[iNdEx]
  34905. iNdEx++
  34906. stringLen |= (uint64(b) & 0x7F) << shift
  34907. if b < 0x80 {
  34908. break
  34909. }
  34910. }
  34911. intStringLen := int(stringLen)
  34912. if intStringLen < 0 {
  34913. return ErrInvalidLengthGenerated
  34914. }
  34915. postIndex := iNdEx + intStringLen
  34916. if postIndex > l {
  34917. return io.ErrUnexpectedEOF
  34918. }
  34919. m.AccessModes = append(m.AccessModes, PersistentVolumeAccessMode(dAtA[iNdEx:postIndex]))
  34920. iNdEx = postIndex
  34921. case 4:
  34922. if wireType != 2 {
  34923. return fmt.Errorf("proto: wrong wireType = %d for field ClaimRef", wireType)
  34924. }
  34925. var msglen int
  34926. for shift := uint(0); ; shift += 7 {
  34927. if shift >= 64 {
  34928. return ErrIntOverflowGenerated
  34929. }
  34930. if iNdEx >= l {
  34931. return io.ErrUnexpectedEOF
  34932. }
  34933. b := dAtA[iNdEx]
  34934. iNdEx++
  34935. msglen |= (int(b) & 0x7F) << shift
  34936. if b < 0x80 {
  34937. break
  34938. }
  34939. }
  34940. if msglen < 0 {
  34941. return ErrInvalidLengthGenerated
  34942. }
  34943. postIndex := iNdEx + msglen
  34944. if postIndex > l {
  34945. return io.ErrUnexpectedEOF
  34946. }
  34947. if m.ClaimRef == nil {
  34948. m.ClaimRef = &ObjectReference{}
  34949. }
  34950. if err := m.ClaimRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  34951. return err
  34952. }
  34953. iNdEx = postIndex
  34954. case 5:
  34955. if wireType != 2 {
  34956. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeReclaimPolicy", wireType)
  34957. }
  34958. var stringLen uint64
  34959. for shift := uint(0); ; shift += 7 {
  34960. if shift >= 64 {
  34961. return ErrIntOverflowGenerated
  34962. }
  34963. if iNdEx >= l {
  34964. return io.ErrUnexpectedEOF
  34965. }
  34966. b := dAtA[iNdEx]
  34967. iNdEx++
  34968. stringLen |= (uint64(b) & 0x7F) << shift
  34969. if b < 0x80 {
  34970. break
  34971. }
  34972. }
  34973. intStringLen := int(stringLen)
  34974. if intStringLen < 0 {
  34975. return ErrInvalidLengthGenerated
  34976. }
  34977. postIndex := iNdEx + intStringLen
  34978. if postIndex > l {
  34979. return io.ErrUnexpectedEOF
  34980. }
  34981. m.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(dAtA[iNdEx:postIndex])
  34982. iNdEx = postIndex
  34983. case 6:
  34984. if wireType != 2 {
  34985. return fmt.Errorf("proto: wrong wireType = %d for field StorageClassName", wireType)
  34986. }
  34987. var stringLen uint64
  34988. for shift := uint(0); ; shift += 7 {
  34989. if shift >= 64 {
  34990. return ErrIntOverflowGenerated
  34991. }
  34992. if iNdEx >= l {
  34993. return io.ErrUnexpectedEOF
  34994. }
  34995. b := dAtA[iNdEx]
  34996. iNdEx++
  34997. stringLen |= (uint64(b) & 0x7F) << shift
  34998. if b < 0x80 {
  34999. break
  35000. }
  35001. }
  35002. intStringLen := int(stringLen)
  35003. if intStringLen < 0 {
  35004. return ErrInvalidLengthGenerated
  35005. }
  35006. postIndex := iNdEx + intStringLen
  35007. if postIndex > l {
  35008. return io.ErrUnexpectedEOF
  35009. }
  35010. m.StorageClassName = string(dAtA[iNdEx:postIndex])
  35011. iNdEx = postIndex
  35012. case 7:
  35013. if wireType != 2 {
  35014. return fmt.Errorf("proto: wrong wireType = %d for field MountOptions", wireType)
  35015. }
  35016. var stringLen uint64
  35017. for shift := uint(0); ; shift += 7 {
  35018. if shift >= 64 {
  35019. return ErrIntOverflowGenerated
  35020. }
  35021. if iNdEx >= l {
  35022. return io.ErrUnexpectedEOF
  35023. }
  35024. b := dAtA[iNdEx]
  35025. iNdEx++
  35026. stringLen |= (uint64(b) & 0x7F) << shift
  35027. if b < 0x80 {
  35028. break
  35029. }
  35030. }
  35031. intStringLen := int(stringLen)
  35032. if intStringLen < 0 {
  35033. return ErrInvalidLengthGenerated
  35034. }
  35035. postIndex := iNdEx + intStringLen
  35036. if postIndex > l {
  35037. return io.ErrUnexpectedEOF
  35038. }
  35039. m.MountOptions = append(m.MountOptions, string(dAtA[iNdEx:postIndex]))
  35040. iNdEx = postIndex
  35041. case 8:
  35042. if wireType != 2 {
  35043. return fmt.Errorf("proto: wrong wireType = %d for field VolumeMode", wireType)
  35044. }
  35045. var stringLen uint64
  35046. for shift := uint(0); ; shift += 7 {
  35047. if shift >= 64 {
  35048. return ErrIntOverflowGenerated
  35049. }
  35050. if iNdEx >= l {
  35051. return io.ErrUnexpectedEOF
  35052. }
  35053. b := dAtA[iNdEx]
  35054. iNdEx++
  35055. stringLen |= (uint64(b) & 0x7F) << shift
  35056. if b < 0x80 {
  35057. break
  35058. }
  35059. }
  35060. intStringLen := int(stringLen)
  35061. if intStringLen < 0 {
  35062. return ErrInvalidLengthGenerated
  35063. }
  35064. postIndex := iNdEx + intStringLen
  35065. if postIndex > l {
  35066. return io.ErrUnexpectedEOF
  35067. }
  35068. s := PersistentVolumeMode(dAtA[iNdEx:postIndex])
  35069. m.VolumeMode = &s
  35070. iNdEx = postIndex
  35071. case 9:
  35072. if wireType != 2 {
  35073. return fmt.Errorf("proto: wrong wireType = %d for field NodeAffinity", wireType)
  35074. }
  35075. var msglen int
  35076. for shift := uint(0); ; shift += 7 {
  35077. if shift >= 64 {
  35078. return ErrIntOverflowGenerated
  35079. }
  35080. if iNdEx >= l {
  35081. return io.ErrUnexpectedEOF
  35082. }
  35083. b := dAtA[iNdEx]
  35084. iNdEx++
  35085. msglen |= (int(b) & 0x7F) << shift
  35086. if b < 0x80 {
  35087. break
  35088. }
  35089. }
  35090. if msglen < 0 {
  35091. return ErrInvalidLengthGenerated
  35092. }
  35093. postIndex := iNdEx + msglen
  35094. if postIndex > l {
  35095. return io.ErrUnexpectedEOF
  35096. }
  35097. if m.NodeAffinity == nil {
  35098. m.NodeAffinity = &VolumeNodeAffinity{}
  35099. }
  35100. if err := m.NodeAffinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35101. return err
  35102. }
  35103. iNdEx = postIndex
  35104. default:
  35105. iNdEx = preIndex
  35106. skippy, err := skipGenerated(dAtA[iNdEx:])
  35107. if err != nil {
  35108. return err
  35109. }
  35110. if skippy < 0 {
  35111. return ErrInvalidLengthGenerated
  35112. }
  35113. if (iNdEx + skippy) > l {
  35114. return io.ErrUnexpectedEOF
  35115. }
  35116. iNdEx += skippy
  35117. }
  35118. }
  35119. if iNdEx > l {
  35120. return io.ErrUnexpectedEOF
  35121. }
  35122. return nil
  35123. }
  35124. func (m *PersistentVolumeStatus) Unmarshal(dAtA []byte) error {
  35125. l := len(dAtA)
  35126. iNdEx := 0
  35127. for iNdEx < l {
  35128. preIndex := iNdEx
  35129. var wire uint64
  35130. for shift := uint(0); ; shift += 7 {
  35131. if shift >= 64 {
  35132. return ErrIntOverflowGenerated
  35133. }
  35134. if iNdEx >= l {
  35135. return io.ErrUnexpectedEOF
  35136. }
  35137. b := dAtA[iNdEx]
  35138. iNdEx++
  35139. wire |= (uint64(b) & 0x7F) << shift
  35140. if b < 0x80 {
  35141. break
  35142. }
  35143. }
  35144. fieldNum := int32(wire >> 3)
  35145. wireType := int(wire & 0x7)
  35146. if wireType == 4 {
  35147. return fmt.Errorf("proto: PersistentVolumeStatus: wiretype end group for non-group")
  35148. }
  35149. if fieldNum <= 0 {
  35150. return fmt.Errorf("proto: PersistentVolumeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  35151. }
  35152. switch fieldNum {
  35153. case 1:
  35154. if wireType != 2 {
  35155. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  35156. }
  35157. var stringLen uint64
  35158. for shift := uint(0); ; shift += 7 {
  35159. if shift >= 64 {
  35160. return ErrIntOverflowGenerated
  35161. }
  35162. if iNdEx >= l {
  35163. return io.ErrUnexpectedEOF
  35164. }
  35165. b := dAtA[iNdEx]
  35166. iNdEx++
  35167. stringLen |= (uint64(b) & 0x7F) << shift
  35168. if b < 0x80 {
  35169. break
  35170. }
  35171. }
  35172. intStringLen := int(stringLen)
  35173. if intStringLen < 0 {
  35174. return ErrInvalidLengthGenerated
  35175. }
  35176. postIndex := iNdEx + intStringLen
  35177. if postIndex > l {
  35178. return io.ErrUnexpectedEOF
  35179. }
  35180. m.Phase = PersistentVolumePhase(dAtA[iNdEx:postIndex])
  35181. iNdEx = postIndex
  35182. case 2:
  35183. if wireType != 2 {
  35184. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  35185. }
  35186. var stringLen uint64
  35187. for shift := uint(0); ; shift += 7 {
  35188. if shift >= 64 {
  35189. return ErrIntOverflowGenerated
  35190. }
  35191. if iNdEx >= l {
  35192. return io.ErrUnexpectedEOF
  35193. }
  35194. b := dAtA[iNdEx]
  35195. iNdEx++
  35196. stringLen |= (uint64(b) & 0x7F) << shift
  35197. if b < 0x80 {
  35198. break
  35199. }
  35200. }
  35201. intStringLen := int(stringLen)
  35202. if intStringLen < 0 {
  35203. return ErrInvalidLengthGenerated
  35204. }
  35205. postIndex := iNdEx + intStringLen
  35206. if postIndex > l {
  35207. return io.ErrUnexpectedEOF
  35208. }
  35209. m.Message = string(dAtA[iNdEx:postIndex])
  35210. iNdEx = postIndex
  35211. case 3:
  35212. if wireType != 2 {
  35213. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  35214. }
  35215. var stringLen uint64
  35216. for shift := uint(0); ; shift += 7 {
  35217. if shift >= 64 {
  35218. return ErrIntOverflowGenerated
  35219. }
  35220. if iNdEx >= l {
  35221. return io.ErrUnexpectedEOF
  35222. }
  35223. b := dAtA[iNdEx]
  35224. iNdEx++
  35225. stringLen |= (uint64(b) & 0x7F) << shift
  35226. if b < 0x80 {
  35227. break
  35228. }
  35229. }
  35230. intStringLen := int(stringLen)
  35231. if intStringLen < 0 {
  35232. return ErrInvalidLengthGenerated
  35233. }
  35234. postIndex := iNdEx + intStringLen
  35235. if postIndex > l {
  35236. return io.ErrUnexpectedEOF
  35237. }
  35238. m.Reason = string(dAtA[iNdEx:postIndex])
  35239. iNdEx = postIndex
  35240. default:
  35241. iNdEx = preIndex
  35242. skippy, err := skipGenerated(dAtA[iNdEx:])
  35243. if err != nil {
  35244. return err
  35245. }
  35246. if skippy < 0 {
  35247. return ErrInvalidLengthGenerated
  35248. }
  35249. if (iNdEx + skippy) > l {
  35250. return io.ErrUnexpectedEOF
  35251. }
  35252. iNdEx += skippy
  35253. }
  35254. }
  35255. if iNdEx > l {
  35256. return io.ErrUnexpectedEOF
  35257. }
  35258. return nil
  35259. }
  35260. func (m *PhotonPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error {
  35261. l := len(dAtA)
  35262. iNdEx := 0
  35263. for iNdEx < l {
  35264. preIndex := iNdEx
  35265. var wire uint64
  35266. for shift := uint(0); ; shift += 7 {
  35267. if shift >= 64 {
  35268. return ErrIntOverflowGenerated
  35269. }
  35270. if iNdEx >= l {
  35271. return io.ErrUnexpectedEOF
  35272. }
  35273. b := dAtA[iNdEx]
  35274. iNdEx++
  35275. wire |= (uint64(b) & 0x7F) << shift
  35276. if b < 0x80 {
  35277. break
  35278. }
  35279. }
  35280. fieldNum := int32(wire >> 3)
  35281. wireType := int(wire & 0x7)
  35282. if wireType == 4 {
  35283. return fmt.Errorf("proto: PhotonPersistentDiskVolumeSource: wiretype end group for non-group")
  35284. }
  35285. if fieldNum <= 0 {
  35286. return fmt.Errorf("proto: PhotonPersistentDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  35287. }
  35288. switch fieldNum {
  35289. case 1:
  35290. if wireType != 2 {
  35291. return fmt.Errorf("proto: wrong wireType = %d for field PdID", wireType)
  35292. }
  35293. var stringLen uint64
  35294. for shift := uint(0); ; shift += 7 {
  35295. if shift >= 64 {
  35296. return ErrIntOverflowGenerated
  35297. }
  35298. if iNdEx >= l {
  35299. return io.ErrUnexpectedEOF
  35300. }
  35301. b := dAtA[iNdEx]
  35302. iNdEx++
  35303. stringLen |= (uint64(b) & 0x7F) << shift
  35304. if b < 0x80 {
  35305. break
  35306. }
  35307. }
  35308. intStringLen := int(stringLen)
  35309. if intStringLen < 0 {
  35310. return ErrInvalidLengthGenerated
  35311. }
  35312. postIndex := iNdEx + intStringLen
  35313. if postIndex > l {
  35314. return io.ErrUnexpectedEOF
  35315. }
  35316. m.PdID = string(dAtA[iNdEx:postIndex])
  35317. iNdEx = postIndex
  35318. case 2:
  35319. if wireType != 2 {
  35320. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  35321. }
  35322. var stringLen uint64
  35323. for shift := uint(0); ; shift += 7 {
  35324. if shift >= 64 {
  35325. return ErrIntOverflowGenerated
  35326. }
  35327. if iNdEx >= l {
  35328. return io.ErrUnexpectedEOF
  35329. }
  35330. b := dAtA[iNdEx]
  35331. iNdEx++
  35332. stringLen |= (uint64(b) & 0x7F) << shift
  35333. if b < 0x80 {
  35334. break
  35335. }
  35336. }
  35337. intStringLen := int(stringLen)
  35338. if intStringLen < 0 {
  35339. return ErrInvalidLengthGenerated
  35340. }
  35341. postIndex := iNdEx + intStringLen
  35342. if postIndex > l {
  35343. return io.ErrUnexpectedEOF
  35344. }
  35345. m.FSType = string(dAtA[iNdEx:postIndex])
  35346. iNdEx = postIndex
  35347. default:
  35348. iNdEx = preIndex
  35349. skippy, err := skipGenerated(dAtA[iNdEx:])
  35350. if err != nil {
  35351. return err
  35352. }
  35353. if skippy < 0 {
  35354. return ErrInvalidLengthGenerated
  35355. }
  35356. if (iNdEx + skippy) > l {
  35357. return io.ErrUnexpectedEOF
  35358. }
  35359. iNdEx += skippy
  35360. }
  35361. }
  35362. if iNdEx > l {
  35363. return io.ErrUnexpectedEOF
  35364. }
  35365. return nil
  35366. }
  35367. func (m *Pod) Unmarshal(dAtA []byte) error {
  35368. l := len(dAtA)
  35369. iNdEx := 0
  35370. for iNdEx < l {
  35371. preIndex := iNdEx
  35372. var wire uint64
  35373. for shift := uint(0); ; shift += 7 {
  35374. if shift >= 64 {
  35375. return ErrIntOverflowGenerated
  35376. }
  35377. if iNdEx >= l {
  35378. return io.ErrUnexpectedEOF
  35379. }
  35380. b := dAtA[iNdEx]
  35381. iNdEx++
  35382. wire |= (uint64(b) & 0x7F) << shift
  35383. if b < 0x80 {
  35384. break
  35385. }
  35386. }
  35387. fieldNum := int32(wire >> 3)
  35388. wireType := int(wire & 0x7)
  35389. if wireType == 4 {
  35390. return fmt.Errorf("proto: Pod: wiretype end group for non-group")
  35391. }
  35392. if fieldNum <= 0 {
  35393. return fmt.Errorf("proto: Pod: illegal tag %d (wire type %d)", fieldNum, wire)
  35394. }
  35395. switch fieldNum {
  35396. case 1:
  35397. if wireType != 2 {
  35398. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  35399. }
  35400. var msglen int
  35401. for shift := uint(0); ; shift += 7 {
  35402. if shift >= 64 {
  35403. return ErrIntOverflowGenerated
  35404. }
  35405. if iNdEx >= l {
  35406. return io.ErrUnexpectedEOF
  35407. }
  35408. b := dAtA[iNdEx]
  35409. iNdEx++
  35410. msglen |= (int(b) & 0x7F) << shift
  35411. if b < 0x80 {
  35412. break
  35413. }
  35414. }
  35415. if msglen < 0 {
  35416. return ErrInvalidLengthGenerated
  35417. }
  35418. postIndex := iNdEx + msglen
  35419. if postIndex > l {
  35420. return io.ErrUnexpectedEOF
  35421. }
  35422. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35423. return err
  35424. }
  35425. iNdEx = postIndex
  35426. case 2:
  35427. if wireType != 2 {
  35428. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  35429. }
  35430. var msglen int
  35431. for shift := uint(0); ; shift += 7 {
  35432. if shift >= 64 {
  35433. return ErrIntOverflowGenerated
  35434. }
  35435. if iNdEx >= l {
  35436. return io.ErrUnexpectedEOF
  35437. }
  35438. b := dAtA[iNdEx]
  35439. iNdEx++
  35440. msglen |= (int(b) & 0x7F) << shift
  35441. if b < 0x80 {
  35442. break
  35443. }
  35444. }
  35445. if msglen < 0 {
  35446. return ErrInvalidLengthGenerated
  35447. }
  35448. postIndex := iNdEx + msglen
  35449. if postIndex > l {
  35450. return io.ErrUnexpectedEOF
  35451. }
  35452. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35453. return err
  35454. }
  35455. iNdEx = postIndex
  35456. case 3:
  35457. if wireType != 2 {
  35458. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  35459. }
  35460. var msglen int
  35461. for shift := uint(0); ; shift += 7 {
  35462. if shift >= 64 {
  35463. return ErrIntOverflowGenerated
  35464. }
  35465. if iNdEx >= l {
  35466. return io.ErrUnexpectedEOF
  35467. }
  35468. b := dAtA[iNdEx]
  35469. iNdEx++
  35470. msglen |= (int(b) & 0x7F) << shift
  35471. if b < 0x80 {
  35472. break
  35473. }
  35474. }
  35475. if msglen < 0 {
  35476. return ErrInvalidLengthGenerated
  35477. }
  35478. postIndex := iNdEx + msglen
  35479. if postIndex > l {
  35480. return io.ErrUnexpectedEOF
  35481. }
  35482. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35483. return err
  35484. }
  35485. iNdEx = postIndex
  35486. default:
  35487. iNdEx = preIndex
  35488. skippy, err := skipGenerated(dAtA[iNdEx:])
  35489. if err != nil {
  35490. return err
  35491. }
  35492. if skippy < 0 {
  35493. return ErrInvalidLengthGenerated
  35494. }
  35495. if (iNdEx + skippy) > l {
  35496. return io.ErrUnexpectedEOF
  35497. }
  35498. iNdEx += skippy
  35499. }
  35500. }
  35501. if iNdEx > l {
  35502. return io.ErrUnexpectedEOF
  35503. }
  35504. return nil
  35505. }
  35506. func (m *PodAffinity) Unmarshal(dAtA []byte) error {
  35507. l := len(dAtA)
  35508. iNdEx := 0
  35509. for iNdEx < l {
  35510. preIndex := iNdEx
  35511. var wire uint64
  35512. for shift := uint(0); ; shift += 7 {
  35513. if shift >= 64 {
  35514. return ErrIntOverflowGenerated
  35515. }
  35516. if iNdEx >= l {
  35517. return io.ErrUnexpectedEOF
  35518. }
  35519. b := dAtA[iNdEx]
  35520. iNdEx++
  35521. wire |= (uint64(b) & 0x7F) << shift
  35522. if b < 0x80 {
  35523. break
  35524. }
  35525. }
  35526. fieldNum := int32(wire >> 3)
  35527. wireType := int(wire & 0x7)
  35528. if wireType == 4 {
  35529. return fmt.Errorf("proto: PodAffinity: wiretype end group for non-group")
  35530. }
  35531. if fieldNum <= 0 {
  35532. return fmt.Errorf("proto: PodAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  35533. }
  35534. switch fieldNum {
  35535. case 1:
  35536. if wireType != 2 {
  35537. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  35538. }
  35539. var msglen int
  35540. for shift := uint(0); ; shift += 7 {
  35541. if shift >= 64 {
  35542. return ErrIntOverflowGenerated
  35543. }
  35544. if iNdEx >= l {
  35545. return io.ErrUnexpectedEOF
  35546. }
  35547. b := dAtA[iNdEx]
  35548. iNdEx++
  35549. msglen |= (int(b) & 0x7F) << shift
  35550. if b < 0x80 {
  35551. break
  35552. }
  35553. }
  35554. if msglen < 0 {
  35555. return ErrInvalidLengthGenerated
  35556. }
  35557. postIndex := iNdEx + msglen
  35558. if postIndex > l {
  35559. return io.ErrUnexpectedEOF
  35560. }
  35561. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  35562. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35563. return err
  35564. }
  35565. iNdEx = postIndex
  35566. case 2:
  35567. if wireType != 2 {
  35568. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  35569. }
  35570. var msglen int
  35571. for shift := uint(0); ; shift += 7 {
  35572. if shift >= 64 {
  35573. return ErrIntOverflowGenerated
  35574. }
  35575. if iNdEx >= l {
  35576. return io.ErrUnexpectedEOF
  35577. }
  35578. b := dAtA[iNdEx]
  35579. iNdEx++
  35580. msglen |= (int(b) & 0x7F) << shift
  35581. if b < 0x80 {
  35582. break
  35583. }
  35584. }
  35585. if msglen < 0 {
  35586. return ErrInvalidLengthGenerated
  35587. }
  35588. postIndex := iNdEx + msglen
  35589. if postIndex > l {
  35590. return io.ErrUnexpectedEOF
  35591. }
  35592. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  35593. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35594. return err
  35595. }
  35596. iNdEx = postIndex
  35597. default:
  35598. iNdEx = preIndex
  35599. skippy, err := skipGenerated(dAtA[iNdEx:])
  35600. if err != nil {
  35601. return err
  35602. }
  35603. if skippy < 0 {
  35604. return ErrInvalidLengthGenerated
  35605. }
  35606. if (iNdEx + skippy) > l {
  35607. return io.ErrUnexpectedEOF
  35608. }
  35609. iNdEx += skippy
  35610. }
  35611. }
  35612. if iNdEx > l {
  35613. return io.ErrUnexpectedEOF
  35614. }
  35615. return nil
  35616. }
  35617. func (m *PodAffinityTerm) Unmarshal(dAtA []byte) error {
  35618. l := len(dAtA)
  35619. iNdEx := 0
  35620. for iNdEx < l {
  35621. preIndex := iNdEx
  35622. var wire uint64
  35623. for shift := uint(0); ; shift += 7 {
  35624. if shift >= 64 {
  35625. return ErrIntOverflowGenerated
  35626. }
  35627. if iNdEx >= l {
  35628. return io.ErrUnexpectedEOF
  35629. }
  35630. b := dAtA[iNdEx]
  35631. iNdEx++
  35632. wire |= (uint64(b) & 0x7F) << shift
  35633. if b < 0x80 {
  35634. break
  35635. }
  35636. }
  35637. fieldNum := int32(wire >> 3)
  35638. wireType := int(wire & 0x7)
  35639. if wireType == 4 {
  35640. return fmt.Errorf("proto: PodAffinityTerm: wiretype end group for non-group")
  35641. }
  35642. if fieldNum <= 0 {
  35643. return fmt.Errorf("proto: PodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  35644. }
  35645. switch fieldNum {
  35646. case 1:
  35647. if wireType != 2 {
  35648. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  35649. }
  35650. var msglen int
  35651. for shift := uint(0); ; shift += 7 {
  35652. if shift >= 64 {
  35653. return ErrIntOverflowGenerated
  35654. }
  35655. if iNdEx >= l {
  35656. return io.ErrUnexpectedEOF
  35657. }
  35658. b := dAtA[iNdEx]
  35659. iNdEx++
  35660. msglen |= (int(b) & 0x7F) << shift
  35661. if b < 0x80 {
  35662. break
  35663. }
  35664. }
  35665. if msglen < 0 {
  35666. return ErrInvalidLengthGenerated
  35667. }
  35668. postIndex := iNdEx + msglen
  35669. if postIndex > l {
  35670. return io.ErrUnexpectedEOF
  35671. }
  35672. if m.LabelSelector == nil {
  35673. m.LabelSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  35674. }
  35675. if err := m.LabelSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35676. return err
  35677. }
  35678. iNdEx = postIndex
  35679. case 2:
  35680. if wireType != 2 {
  35681. return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType)
  35682. }
  35683. var stringLen uint64
  35684. for shift := uint(0); ; shift += 7 {
  35685. if shift >= 64 {
  35686. return ErrIntOverflowGenerated
  35687. }
  35688. if iNdEx >= l {
  35689. return io.ErrUnexpectedEOF
  35690. }
  35691. b := dAtA[iNdEx]
  35692. iNdEx++
  35693. stringLen |= (uint64(b) & 0x7F) << shift
  35694. if b < 0x80 {
  35695. break
  35696. }
  35697. }
  35698. intStringLen := int(stringLen)
  35699. if intStringLen < 0 {
  35700. return ErrInvalidLengthGenerated
  35701. }
  35702. postIndex := iNdEx + intStringLen
  35703. if postIndex > l {
  35704. return io.ErrUnexpectedEOF
  35705. }
  35706. m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex]))
  35707. iNdEx = postIndex
  35708. case 3:
  35709. if wireType != 2 {
  35710. return fmt.Errorf("proto: wrong wireType = %d for field TopologyKey", wireType)
  35711. }
  35712. var stringLen uint64
  35713. for shift := uint(0); ; shift += 7 {
  35714. if shift >= 64 {
  35715. return ErrIntOverflowGenerated
  35716. }
  35717. if iNdEx >= l {
  35718. return io.ErrUnexpectedEOF
  35719. }
  35720. b := dAtA[iNdEx]
  35721. iNdEx++
  35722. stringLen |= (uint64(b) & 0x7F) << shift
  35723. if b < 0x80 {
  35724. break
  35725. }
  35726. }
  35727. intStringLen := int(stringLen)
  35728. if intStringLen < 0 {
  35729. return ErrInvalidLengthGenerated
  35730. }
  35731. postIndex := iNdEx + intStringLen
  35732. if postIndex > l {
  35733. return io.ErrUnexpectedEOF
  35734. }
  35735. m.TopologyKey = string(dAtA[iNdEx:postIndex])
  35736. iNdEx = postIndex
  35737. default:
  35738. iNdEx = preIndex
  35739. skippy, err := skipGenerated(dAtA[iNdEx:])
  35740. if err != nil {
  35741. return err
  35742. }
  35743. if skippy < 0 {
  35744. return ErrInvalidLengthGenerated
  35745. }
  35746. if (iNdEx + skippy) > l {
  35747. return io.ErrUnexpectedEOF
  35748. }
  35749. iNdEx += skippy
  35750. }
  35751. }
  35752. if iNdEx > l {
  35753. return io.ErrUnexpectedEOF
  35754. }
  35755. return nil
  35756. }
  35757. func (m *PodAntiAffinity) Unmarshal(dAtA []byte) error {
  35758. l := len(dAtA)
  35759. iNdEx := 0
  35760. for iNdEx < l {
  35761. preIndex := iNdEx
  35762. var wire uint64
  35763. for shift := uint(0); ; shift += 7 {
  35764. if shift >= 64 {
  35765. return ErrIntOverflowGenerated
  35766. }
  35767. if iNdEx >= l {
  35768. return io.ErrUnexpectedEOF
  35769. }
  35770. b := dAtA[iNdEx]
  35771. iNdEx++
  35772. wire |= (uint64(b) & 0x7F) << shift
  35773. if b < 0x80 {
  35774. break
  35775. }
  35776. }
  35777. fieldNum := int32(wire >> 3)
  35778. wireType := int(wire & 0x7)
  35779. if wireType == 4 {
  35780. return fmt.Errorf("proto: PodAntiAffinity: wiretype end group for non-group")
  35781. }
  35782. if fieldNum <= 0 {
  35783. return fmt.Errorf("proto: PodAntiAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  35784. }
  35785. switch fieldNum {
  35786. case 1:
  35787. if wireType != 2 {
  35788. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDuringSchedulingIgnoredDuringExecution", wireType)
  35789. }
  35790. var msglen int
  35791. for shift := uint(0); ; shift += 7 {
  35792. if shift >= 64 {
  35793. return ErrIntOverflowGenerated
  35794. }
  35795. if iNdEx >= l {
  35796. return io.ErrUnexpectedEOF
  35797. }
  35798. b := dAtA[iNdEx]
  35799. iNdEx++
  35800. msglen |= (int(b) & 0x7F) << shift
  35801. if b < 0x80 {
  35802. break
  35803. }
  35804. }
  35805. if msglen < 0 {
  35806. return ErrInvalidLengthGenerated
  35807. }
  35808. postIndex := iNdEx + msglen
  35809. if postIndex > l {
  35810. return io.ErrUnexpectedEOF
  35811. }
  35812. m.RequiredDuringSchedulingIgnoredDuringExecution = append(m.RequiredDuringSchedulingIgnoredDuringExecution, PodAffinityTerm{})
  35813. if err := m.RequiredDuringSchedulingIgnoredDuringExecution[len(m.RequiredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35814. return err
  35815. }
  35816. iNdEx = postIndex
  35817. case 2:
  35818. if wireType != 2 {
  35819. return fmt.Errorf("proto: wrong wireType = %d for field PreferredDuringSchedulingIgnoredDuringExecution", wireType)
  35820. }
  35821. var msglen int
  35822. for shift := uint(0); ; shift += 7 {
  35823. if shift >= 64 {
  35824. return ErrIntOverflowGenerated
  35825. }
  35826. if iNdEx >= l {
  35827. return io.ErrUnexpectedEOF
  35828. }
  35829. b := dAtA[iNdEx]
  35830. iNdEx++
  35831. msglen |= (int(b) & 0x7F) << shift
  35832. if b < 0x80 {
  35833. break
  35834. }
  35835. }
  35836. if msglen < 0 {
  35837. return ErrInvalidLengthGenerated
  35838. }
  35839. postIndex := iNdEx + msglen
  35840. if postIndex > l {
  35841. return io.ErrUnexpectedEOF
  35842. }
  35843. m.PreferredDuringSchedulingIgnoredDuringExecution = append(m.PreferredDuringSchedulingIgnoredDuringExecution, WeightedPodAffinityTerm{})
  35844. if err := m.PreferredDuringSchedulingIgnoredDuringExecution[len(m.PreferredDuringSchedulingIgnoredDuringExecution)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  35845. return err
  35846. }
  35847. iNdEx = postIndex
  35848. default:
  35849. iNdEx = preIndex
  35850. skippy, err := skipGenerated(dAtA[iNdEx:])
  35851. if err != nil {
  35852. return err
  35853. }
  35854. if skippy < 0 {
  35855. return ErrInvalidLengthGenerated
  35856. }
  35857. if (iNdEx + skippy) > l {
  35858. return io.ErrUnexpectedEOF
  35859. }
  35860. iNdEx += skippy
  35861. }
  35862. }
  35863. if iNdEx > l {
  35864. return io.ErrUnexpectedEOF
  35865. }
  35866. return nil
  35867. }
  35868. func (m *PodAttachOptions) Unmarshal(dAtA []byte) error {
  35869. l := len(dAtA)
  35870. iNdEx := 0
  35871. for iNdEx < l {
  35872. preIndex := iNdEx
  35873. var wire uint64
  35874. for shift := uint(0); ; shift += 7 {
  35875. if shift >= 64 {
  35876. return ErrIntOverflowGenerated
  35877. }
  35878. if iNdEx >= l {
  35879. return io.ErrUnexpectedEOF
  35880. }
  35881. b := dAtA[iNdEx]
  35882. iNdEx++
  35883. wire |= (uint64(b) & 0x7F) << shift
  35884. if b < 0x80 {
  35885. break
  35886. }
  35887. }
  35888. fieldNum := int32(wire >> 3)
  35889. wireType := int(wire & 0x7)
  35890. if wireType == 4 {
  35891. return fmt.Errorf("proto: PodAttachOptions: wiretype end group for non-group")
  35892. }
  35893. if fieldNum <= 0 {
  35894. return fmt.Errorf("proto: PodAttachOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  35895. }
  35896. switch fieldNum {
  35897. case 1:
  35898. if wireType != 0 {
  35899. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  35900. }
  35901. var v int
  35902. for shift := uint(0); ; shift += 7 {
  35903. if shift >= 64 {
  35904. return ErrIntOverflowGenerated
  35905. }
  35906. if iNdEx >= l {
  35907. return io.ErrUnexpectedEOF
  35908. }
  35909. b := dAtA[iNdEx]
  35910. iNdEx++
  35911. v |= (int(b) & 0x7F) << shift
  35912. if b < 0x80 {
  35913. break
  35914. }
  35915. }
  35916. m.Stdin = bool(v != 0)
  35917. case 2:
  35918. if wireType != 0 {
  35919. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  35920. }
  35921. var v int
  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. v |= (int(b) & 0x7F) << shift
  35932. if b < 0x80 {
  35933. break
  35934. }
  35935. }
  35936. m.Stdout = bool(v != 0)
  35937. case 3:
  35938. if wireType != 0 {
  35939. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  35940. }
  35941. var v int
  35942. for shift := uint(0); ; shift += 7 {
  35943. if shift >= 64 {
  35944. return ErrIntOverflowGenerated
  35945. }
  35946. if iNdEx >= l {
  35947. return io.ErrUnexpectedEOF
  35948. }
  35949. b := dAtA[iNdEx]
  35950. iNdEx++
  35951. v |= (int(b) & 0x7F) << shift
  35952. if b < 0x80 {
  35953. break
  35954. }
  35955. }
  35956. m.Stderr = bool(v != 0)
  35957. case 4:
  35958. if wireType != 0 {
  35959. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  35960. }
  35961. var v int
  35962. for shift := uint(0); ; shift += 7 {
  35963. if shift >= 64 {
  35964. return ErrIntOverflowGenerated
  35965. }
  35966. if iNdEx >= l {
  35967. return io.ErrUnexpectedEOF
  35968. }
  35969. b := dAtA[iNdEx]
  35970. iNdEx++
  35971. v |= (int(b) & 0x7F) << shift
  35972. if b < 0x80 {
  35973. break
  35974. }
  35975. }
  35976. m.TTY = bool(v != 0)
  35977. case 5:
  35978. if wireType != 2 {
  35979. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  35980. }
  35981. var stringLen uint64
  35982. for shift := uint(0); ; shift += 7 {
  35983. if shift >= 64 {
  35984. return ErrIntOverflowGenerated
  35985. }
  35986. if iNdEx >= l {
  35987. return io.ErrUnexpectedEOF
  35988. }
  35989. b := dAtA[iNdEx]
  35990. iNdEx++
  35991. stringLen |= (uint64(b) & 0x7F) << shift
  35992. if b < 0x80 {
  35993. break
  35994. }
  35995. }
  35996. intStringLen := int(stringLen)
  35997. if intStringLen < 0 {
  35998. return ErrInvalidLengthGenerated
  35999. }
  36000. postIndex := iNdEx + intStringLen
  36001. if postIndex > l {
  36002. return io.ErrUnexpectedEOF
  36003. }
  36004. m.Container = string(dAtA[iNdEx:postIndex])
  36005. iNdEx = postIndex
  36006. default:
  36007. iNdEx = preIndex
  36008. skippy, err := skipGenerated(dAtA[iNdEx:])
  36009. if err != nil {
  36010. return err
  36011. }
  36012. if skippy < 0 {
  36013. return ErrInvalidLengthGenerated
  36014. }
  36015. if (iNdEx + skippy) > l {
  36016. return io.ErrUnexpectedEOF
  36017. }
  36018. iNdEx += skippy
  36019. }
  36020. }
  36021. if iNdEx > l {
  36022. return io.ErrUnexpectedEOF
  36023. }
  36024. return nil
  36025. }
  36026. func (m *PodCondition) Unmarshal(dAtA []byte) error {
  36027. l := len(dAtA)
  36028. iNdEx := 0
  36029. for iNdEx < l {
  36030. preIndex := iNdEx
  36031. var wire uint64
  36032. for shift := uint(0); ; shift += 7 {
  36033. if shift >= 64 {
  36034. return ErrIntOverflowGenerated
  36035. }
  36036. if iNdEx >= l {
  36037. return io.ErrUnexpectedEOF
  36038. }
  36039. b := dAtA[iNdEx]
  36040. iNdEx++
  36041. wire |= (uint64(b) & 0x7F) << shift
  36042. if b < 0x80 {
  36043. break
  36044. }
  36045. }
  36046. fieldNum := int32(wire >> 3)
  36047. wireType := int(wire & 0x7)
  36048. if wireType == 4 {
  36049. return fmt.Errorf("proto: PodCondition: wiretype end group for non-group")
  36050. }
  36051. if fieldNum <= 0 {
  36052. return fmt.Errorf("proto: PodCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  36053. }
  36054. switch fieldNum {
  36055. case 1:
  36056. if wireType != 2 {
  36057. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  36058. }
  36059. var stringLen uint64
  36060. for shift := uint(0); ; shift += 7 {
  36061. if shift >= 64 {
  36062. return ErrIntOverflowGenerated
  36063. }
  36064. if iNdEx >= l {
  36065. return io.ErrUnexpectedEOF
  36066. }
  36067. b := dAtA[iNdEx]
  36068. iNdEx++
  36069. stringLen |= (uint64(b) & 0x7F) << shift
  36070. if b < 0x80 {
  36071. break
  36072. }
  36073. }
  36074. intStringLen := int(stringLen)
  36075. if intStringLen < 0 {
  36076. return ErrInvalidLengthGenerated
  36077. }
  36078. postIndex := iNdEx + intStringLen
  36079. if postIndex > l {
  36080. return io.ErrUnexpectedEOF
  36081. }
  36082. m.Type = PodConditionType(dAtA[iNdEx:postIndex])
  36083. iNdEx = postIndex
  36084. case 2:
  36085. if wireType != 2 {
  36086. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  36087. }
  36088. var stringLen uint64
  36089. for shift := uint(0); ; shift += 7 {
  36090. if shift >= 64 {
  36091. return ErrIntOverflowGenerated
  36092. }
  36093. if iNdEx >= l {
  36094. return io.ErrUnexpectedEOF
  36095. }
  36096. b := dAtA[iNdEx]
  36097. iNdEx++
  36098. stringLen |= (uint64(b) & 0x7F) << shift
  36099. if b < 0x80 {
  36100. break
  36101. }
  36102. }
  36103. intStringLen := int(stringLen)
  36104. if intStringLen < 0 {
  36105. return ErrInvalidLengthGenerated
  36106. }
  36107. postIndex := iNdEx + intStringLen
  36108. if postIndex > l {
  36109. return io.ErrUnexpectedEOF
  36110. }
  36111. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  36112. iNdEx = postIndex
  36113. case 3:
  36114. if wireType != 2 {
  36115. return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  36116. }
  36117. var msglen int
  36118. for shift := uint(0); ; shift += 7 {
  36119. if shift >= 64 {
  36120. return ErrIntOverflowGenerated
  36121. }
  36122. if iNdEx >= l {
  36123. return io.ErrUnexpectedEOF
  36124. }
  36125. b := dAtA[iNdEx]
  36126. iNdEx++
  36127. msglen |= (int(b) & 0x7F) << shift
  36128. if b < 0x80 {
  36129. break
  36130. }
  36131. }
  36132. if msglen < 0 {
  36133. return ErrInvalidLengthGenerated
  36134. }
  36135. postIndex := iNdEx + msglen
  36136. if postIndex > l {
  36137. return io.ErrUnexpectedEOF
  36138. }
  36139. if err := m.LastProbeTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36140. return err
  36141. }
  36142. iNdEx = postIndex
  36143. case 4:
  36144. if wireType != 2 {
  36145. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  36146. }
  36147. var msglen int
  36148. for shift := uint(0); ; shift += 7 {
  36149. if shift >= 64 {
  36150. return ErrIntOverflowGenerated
  36151. }
  36152. if iNdEx >= l {
  36153. return io.ErrUnexpectedEOF
  36154. }
  36155. b := dAtA[iNdEx]
  36156. iNdEx++
  36157. msglen |= (int(b) & 0x7F) << shift
  36158. if b < 0x80 {
  36159. break
  36160. }
  36161. }
  36162. if msglen < 0 {
  36163. return ErrInvalidLengthGenerated
  36164. }
  36165. postIndex := iNdEx + msglen
  36166. if postIndex > l {
  36167. return io.ErrUnexpectedEOF
  36168. }
  36169. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36170. return err
  36171. }
  36172. iNdEx = postIndex
  36173. case 5:
  36174. if wireType != 2 {
  36175. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  36176. }
  36177. var stringLen uint64
  36178. for shift := uint(0); ; shift += 7 {
  36179. if shift >= 64 {
  36180. return ErrIntOverflowGenerated
  36181. }
  36182. if iNdEx >= l {
  36183. return io.ErrUnexpectedEOF
  36184. }
  36185. b := dAtA[iNdEx]
  36186. iNdEx++
  36187. stringLen |= (uint64(b) & 0x7F) << shift
  36188. if b < 0x80 {
  36189. break
  36190. }
  36191. }
  36192. intStringLen := int(stringLen)
  36193. if intStringLen < 0 {
  36194. return ErrInvalidLengthGenerated
  36195. }
  36196. postIndex := iNdEx + intStringLen
  36197. if postIndex > l {
  36198. return io.ErrUnexpectedEOF
  36199. }
  36200. m.Reason = string(dAtA[iNdEx:postIndex])
  36201. iNdEx = postIndex
  36202. case 6:
  36203. if wireType != 2 {
  36204. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  36205. }
  36206. var stringLen uint64
  36207. for shift := uint(0); ; shift += 7 {
  36208. if shift >= 64 {
  36209. return ErrIntOverflowGenerated
  36210. }
  36211. if iNdEx >= l {
  36212. return io.ErrUnexpectedEOF
  36213. }
  36214. b := dAtA[iNdEx]
  36215. iNdEx++
  36216. stringLen |= (uint64(b) & 0x7F) << shift
  36217. if b < 0x80 {
  36218. break
  36219. }
  36220. }
  36221. intStringLen := int(stringLen)
  36222. if intStringLen < 0 {
  36223. return ErrInvalidLengthGenerated
  36224. }
  36225. postIndex := iNdEx + intStringLen
  36226. if postIndex > l {
  36227. return io.ErrUnexpectedEOF
  36228. }
  36229. m.Message = string(dAtA[iNdEx:postIndex])
  36230. iNdEx = postIndex
  36231. default:
  36232. iNdEx = preIndex
  36233. skippy, err := skipGenerated(dAtA[iNdEx:])
  36234. if err != nil {
  36235. return err
  36236. }
  36237. if skippy < 0 {
  36238. return ErrInvalidLengthGenerated
  36239. }
  36240. if (iNdEx + skippy) > l {
  36241. return io.ErrUnexpectedEOF
  36242. }
  36243. iNdEx += skippy
  36244. }
  36245. }
  36246. if iNdEx > l {
  36247. return io.ErrUnexpectedEOF
  36248. }
  36249. return nil
  36250. }
  36251. func (m *PodDNSConfig) Unmarshal(dAtA []byte) error {
  36252. l := len(dAtA)
  36253. iNdEx := 0
  36254. for iNdEx < l {
  36255. preIndex := iNdEx
  36256. var wire uint64
  36257. for shift := uint(0); ; shift += 7 {
  36258. if shift >= 64 {
  36259. return ErrIntOverflowGenerated
  36260. }
  36261. if iNdEx >= l {
  36262. return io.ErrUnexpectedEOF
  36263. }
  36264. b := dAtA[iNdEx]
  36265. iNdEx++
  36266. wire |= (uint64(b) & 0x7F) << shift
  36267. if b < 0x80 {
  36268. break
  36269. }
  36270. }
  36271. fieldNum := int32(wire >> 3)
  36272. wireType := int(wire & 0x7)
  36273. if wireType == 4 {
  36274. return fmt.Errorf("proto: PodDNSConfig: wiretype end group for non-group")
  36275. }
  36276. if fieldNum <= 0 {
  36277. return fmt.Errorf("proto: PodDNSConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  36278. }
  36279. switch fieldNum {
  36280. case 1:
  36281. if wireType != 2 {
  36282. return fmt.Errorf("proto: wrong wireType = %d for field Nameservers", wireType)
  36283. }
  36284. var stringLen uint64
  36285. for shift := uint(0); ; shift += 7 {
  36286. if shift >= 64 {
  36287. return ErrIntOverflowGenerated
  36288. }
  36289. if iNdEx >= l {
  36290. return io.ErrUnexpectedEOF
  36291. }
  36292. b := dAtA[iNdEx]
  36293. iNdEx++
  36294. stringLen |= (uint64(b) & 0x7F) << shift
  36295. if b < 0x80 {
  36296. break
  36297. }
  36298. }
  36299. intStringLen := int(stringLen)
  36300. if intStringLen < 0 {
  36301. return ErrInvalidLengthGenerated
  36302. }
  36303. postIndex := iNdEx + intStringLen
  36304. if postIndex > l {
  36305. return io.ErrUnexpectedEOF
  36306. }
  36307. m.Nameservers = append(m.Nameservers, string(dAtA[iNdEx:postIndex]))
  36308. iNdEx = postIndex
  36309. case 2:
  36310. if wireType != 2 {
  36311. return fmt.Errorf("proto: wrong wireType = %d for field Searches", wireType)
  36312. }
  36313. var stringLen uint64
  36314. for shift := uint(0); ; shift += 7 {
  36315. if shift >= 64 {
  36316. return ErrIntOverflowGenerated
  36317. }
  36318. if iNdEx >= l {
  36319. return io.ErrUnexpectedEOF
  36320. }
  36321. b := dAtA[iNdEx]
  36322. iNdEx++
  36323. stringLen |= (uint64(b) & 0x7F) << shift
  36324. if b < 0x80 {
  36325. break
  36326. }
  36327. }
  36328. intStringLen := int(stringLen)
  36329. if intStringLen < 0 {
  36330. return ErrInvalidLengthGenerated
  36331. }
  36332. postIndex := iNdEx + intStringLen
  36333. if postIndex > l {
  36334. return io.ErrUnexpectedEOF
  36335. }
  36336. m.Searches = append(m.Searches, string(dAtA[iNdEx:postIndex]))
  36337. iNdEx = postIndex
  36338. case 3:
  36339. if wireType != 2 {
  36340. return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
  36341. }
  36342. var msglen int
  36343. for shift := uint(0); ; shift += 7 {
  36344. if shift >= 64 {
  36345. return ErrIntOverflowGenerated
  36346. }
  36347. if iNdEx >= l {
  36348. return io.ErrUnexpectedEOF
  36349. }
  36350. b := dAtA[iNdEx]
  36351. iNdEx++
  36352. msglen |= (int(b) & 0x7F) << shift
  36353. if b < 0x80 {
  36354. break
  36355. }
  36356. }
  36357. if msglen < 0 {
  36358. return ErrInvalidLengthGenerated
  36359. }
  36360. postIndex := iNdEx + msglen
  36361. if postIndex > l {
  36362. return io.ErrUnexpectedEOF
  36363. }
  36364. m.Options = append(m.Options, PodDNSConfigOption{})
  36365. if err := m.Options[len(m.Options)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36366. return err
  36367. }
  36368. iNdEx = postIndex
  36369. default:
  36370. iNdEx = preIndex
  36371. skippy, err := skipGenerated(dAtA[iNdEx:])
  36372. if err != nil {
  36373. return err
  36374. }
  36375. if skippy < 0 {
  36376. return ErrInvalidLengthGenerated
  36377. }
  36378. if (iNdEx + skippy) > l {
  36379. return io.ErrUnexpectedEOF
  36380. }
  36381. iNdEx += skippy
  36382. }
  36383. }
  36384. if iNdEx > l {
  36385. return io.ErrUnexpectedEOF
  36386. }
  36387. return nil
  36388. }
  36389. func (m *PodDNSConfigOption) Unmarshal(dAtA []byte) error {
  36390. l := len(dAtA)
  36391. iNdEx := 0
  36392. for iNdEx < l {
  36393. preIndex := iNdEx
  36394. var wire uint64
  36395. for shift := uint(0); ; shift += 7 {
  36396. if shift >= 64 {
  36397. return ErrIntOverflowGenerated
  36398. }
  36399. if iNdEx >= l {
  36400. return io.ErrUnexpectedEOF
  36401. }
  36402. b := dAtA[iNdEx]
  36403. iNdEx++
  36404. wire |= (uint64(b) & 0x7F) << shift
  36405. if b < 0x80 {
  36406. break
  36407. }
  36408. }
  36409. fieldNum := int32(wire >> 3)
  36410. wireType := int(wire & 0x7)
  36411. if wireType == 4 {
  36412. return fmt.Errorf("proto: PodDNSConfigOption: wiretype end group for non-group")
  36413. }
  36414. if fieldNum <= 0 {
  36415. return fmt.Errorf("proto: PodDNSConfigOption: illegal tag %d (wire type %d)", fieldNum, wire)
  36416. }
  36417. switch fieldNum {
  36418. case 1:
  36419. if wireType != 2 {
  36420. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  36421. }
  36422. var stringLen uint64
  36423. for shift := uint(0); ; shift += 7 {
  36424. if shift >= 64 {
  36425. return ErrIntOverflowGenerated
  36426. }
  36427. if iNdEx >= l {
  36428. return io.ErrUnexpectedEOF
  36429. }
  36430. b := dAtA[iNdEx]
  36431. iNdEx++
  36432. stringLen |= (uint64(b) & 0x7F) << shift
  36433. if b < 0x80 {
  36434. break
  36435. }
  36436. }
  36437. intStringLen := int(stringLen)
  36438. if intStringLen < 0 {
  36439. return ErrInvalidLengthGenerated
  36440. }
  36441. postIndex := iNdEx + intStringLen
  36442. if postIndex > l {
  36443. return io.ErrUnexpectedEOF
  36444. }
  36445. m.Name = string(dAtA[iNdEx:postIndex])
  36446. iNdEx = postIndex
  36447. case 2:
  36448. if wireType != 2 {
  36449. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  36450. }
  36451. var stringLen uint64
  36452. for shift := uint(0); ; shift += 7 {
  36453. if shift >= 64 {
  36454. return ErrIntOverflowGenerated
  36455. }
  36456. if iNdEx >= l {
  36457. return io.ErrUnexpectedEOF
  36458. }
  36459. b := dAtA[iNdEx]
  36460. iNdEx++
  36461. stringLen |= (uint64(b) & 0x7F) << shift
  36462. if b < 0x80 {
  36463. break
  36464. }
  36465. }
  36466. intStringLen := int(stringLen)
  36467. if intStringLen < 0 {
  36468. return ErrInvalidLengthGenerated
  36469. }
  36470. postIndex := iNdEx + intStringLen
  36471. if postIndex > l {
  36472. return io.ErrUnexpectedEOF
  36473. }
  36474. s := string(dAtA[iNdEx:postIndex])
  36475. m.Value = &s
  36476. iNdEx = postIndex
  36477. default:
  36478. iNdEx = preIndex
  36479. skippy, err := skipGenerated(dAtA[iNdEx:])
  36480. if err != nil {
  36481. return err
  36482. }
  36483. if skippy < 0 {
  36484. return ErrInvalidLengthGenerated
  36485. }
  36486. if (iNdEx + skippy) > l {
  36487. return io.ErrUnexpectedEOF
  36488. }
  36489. iNdEx += skippy
  36490. }
  36491. }
  36492. if iNdEx > l {
  36493. return io.ErrUnexpectedEOF
  36494. }
  36495. return nil
  36496. }
  36497. func (m *PodExecOptions) Unmarshal(dAtA []byte) error {
  36498. l := len(dAtA)
  36499. iNdEx := 0
  36500. for iNdEx < l {
  36501. preIndex := iNdEx
  36502. var wire uint64
  36503. for shift := uint(0); ; shift += 7 {
  36504. if shift >= 64 {
  36505. return ErrIntOverflowGenerated
  36506. }
  36507. if iNdEx >= l {
  36508. return io.ErrUnexpectedEOF
  36509. }
  36510. b := dAtA[iNdEx]
  36511. iNdEx++
  36512. wire |= (uint64(b) & 0x7F) << shift
  36513. if b < 0x80 {
  36514. break
  36515. }
  36516. }
  36517. fieldNum := int32(wire >> 3)
  36518. wireType := int(wire & 0x7)
  36519. if wireType == 4 {
  36520. return fmt.Errorf("proto: PodExecOptions: wiretype end group for non-group")
  36521. }
  36522. if fieldNum <= 0 {
  36523. return fmt.Errorf("proto: PodExecOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  36524. }
  36525. switch fieldNum {
  36526. case 1:
  36527. if wireType != 0 {
  36528. return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
  36529. }
  36530. var v int
  36531. for shift := uint(0); ; shift += 7 {
  36532. if shift >= 64 {
  36533. return ErrIntOverflowGenerated
  36534. }
  36535. if iNdEx >= l {
  36536. return io.ErrUnexpectedEOF
  36537. }
  36538. b := dAtA[iNdEx]
  36539. iNdEx++
  36540. v |= (int(b) & 0x7F) << shift
  36541. if b < 0x80 {
  36542. break
  36543. }
  36544. }
  36545. m.Stdin = bool(v != 0)
  36546. case 2:
  36547. if wireType != 0 {
  36548. return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
  36549. }
  36550. var v int
  36551. for shift := uint(0); ; shift += 7 {
  36552. if shift >= 64 {
  36553. return ErrIntOverflowGenerated
  36554. }
  36555. if iNdEx >= l {
  36556. return io.ErrUnexpectedEOF
  36557. }
  36558. b := dAtA[iNdEx]
  36559. iNdEx++
  36560. v |= (int(b) & 0x7F) << shift
  36561. if b < 0x80 {
  36562. break
  36563. }
  36564. }
  36565. m.Stdout = bool(v != 0)
  36566. case 3:
  36567. if wireType != 0 {
  36568. return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
  36569. }
  36570. var v int
  36571. for shift := uint(0); ; shift += 7 {
  36572. if shift >= 64 {
  36573. return ErrIntOverflowGenerated
  36574. }
  36575. if iNdEx >= l {
  36576. return io.ErrUnexpectedEOF
  36577. }
  36578. b := dAtA[iNdEx]
  36579. iNdEx++
  36580. v |= (int(b) & 0x7F) << shift
  36581. if b < 0x80 {
  36582. break
  36583. }
  36584. }
  36585. m.Stderr = bool(v != 0)
  36586. case 4:
  36587. if wireType != 0 {
  36588. return fmt.Errorf("proto: wrong wireType = %d for field TTY", wireType)
  36589. }
  36590. var v int
  36591. for shift := uint(0); ; shift += 7 {
  36592. if shift >= 64 {
  36593. return ErrIntOverflowGenerated
  36594. }
  36595. if iNdEx >= l {
  36596. return io.ErrUnexpectedEOF
  36597. }
  36598. b := dAtA[iNdEx]
  36599. iNdEx++
  36600. v |= (int(b) & 0x7F) << shift
  36601. if b < 0x80 {
  36602. break
  36603. }
  36604. }
  36605. m.TTY = bool(v != 0)
  36606. case 5:
  36607. if wireType != 2 {
  36608. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  36609. }
  36610. var stringLen uint64
  36611. for shift := uint(0); ; shift += 7 {
  36612. if shift >= 64 {
  36613. return ErrIntOverflowGenerated
  36614. }
  36615. if iNdEx >= l {
  36616. return io.ErrUnexpectedEOF
  36617. }
  36618. b := dAtA[iNdEx]
  36619. iNdEx++
  36620. stringLen |= (uint64(b) & 0x7F) << shift
  36621. if b < 0x80 {
  36622. break
  36623. }
  36624. }
  36625. intStringLen := int(stringLen)
  36626. if intStringLen < 0 {
  36627. return ErrInvalidLengthGenerated
  36628. }
  36629. postIndex := iNdEx + intStringLen
  36630. if postIndex > l {
  36631. return io.ErrUnexpectedEOF
  36632. }
  36633. m.Container = string(dAtA[iNdEx:postIndex])
  36634. iNdEx = postIndex
  36635. case 6:
  36636. if wireType != 2 {
  36637. return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
  36638. }
  36639. var stringLen uint64
  36640. for shift := uint(0); ; shift += 7 {
  36641. if shift >= 64 {
  36642. return ErrIntOverflowGenerated
  36643. }
  36644. if iNdEx >= l {
  36645. return io.ErrUnexpectedEOF
  36646. }
  36647. b := dAtA[iNdEx]
  36648. iNdEx++
  36649. stringLen |= (uint64(b) & 0x7F) << shift
  36650. if b < 0x80 {
  36651. break
  36652. }
  36653. }
  36654. intStringLen := int(stringLen)
  36655. if intStringLen < 0 {
  36656. return ErrInvalidLengthGenerated
  36657. }
  36658. postIndex := iNdEx + intStringLen
  36659. if postIndex > l {
  36660. return io.ErrUnexpectedEOF
  36661. }
  36662. m.Command = append(m.Command, string(dAtA[iNdEx:postIndex]))
  36663. iNdEx = postIndex
  36664. default:
  36665. iNdEx = preIndex
  36666. skippy, err := skipGenerated(dAtA[iNdEx:])
  36667. if err != nil {
  36668. return err
  36669. }
  36670. if skippy < 0 {
  36671. return ErrInvalidLengthGenerated
  36672. }
  36673. if (iNdEx + skippy) > l {
  36674. return io.ErrUnexpectedEOF
  36675. }
  36676. iNdEx += skippy
  36677. }
  36678. }
  36679. if iNdEx > l {
  36680. return io.ErrUnexpectedEOF
  36681. }
  36682. return nil
  36683. }
  36684. func (m *PodList) Unmarshal(dAtA []byte) error {
  36685. l := len(dAtA)
  36686. iNdEx := 0
  36687. for iNdEx < l {
  36688. preIndex := iNdEx
  36689. var wire uint64
  36690. for shift := uint(0); ; shift += 7 {
  36691. if shift >= 64 {
  36692. return ErrIntOverflowGenerated
  36693. }
  36694. if iNdEx >= l {
  36695. return io.ErrUnexpectedEOF
  36696. }
  36697. b := dAtA[iNdEx]
  36698. iNdEx++
  36699. wire |= (uint64(b) & 0x7F) << shift
  36700. if b < 0x80 {
  36701. break
  36702. }
  36703. }
  36704. fieldNum := int32(wire >> 3)
  36705. wireType := int(wire & 0x7)
  36706. if wireType == 4 {
  36707. return fmt.Errorf("proto: PodList: wiretype end group for non-group")
  36708. }
  36709. if fieldNum <= 0 {
  36710. return fmt.Errorf("proto: PodList: illegal tag %d (wire type %d)", fieldNum, wire)
  36711. }
  36712. switch fieldNum {
  36713. case 1:
  36714. if wireType != 2 {
  36715. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  36716. }
  36717. var msglen int
  36718. for shift := uint(0); ; shift += 7 {
  36719. if shift >= 64 {
  36720. return ErrIntOverflowGenerated
  36721. }
  36722. if iNdEx >= l {
  36723. return io.ErrUnexpectedEOF
  36724. }
  36725. b := dAtA[iNdEx]
  36726. iNdEx++
  36727. msglen |= (int(b) & 0x7F) << shift
  36728. if b < 0x80 {
  36729. break
  36730. }
  36731. }
  36732. if msglen < 0 {
  36733. return ErrInvalidLengthGenerated
  36734. }
  36735. postIndex := iNdEx + msglen
  36736. if postIndex > l {
  36737. return io.ErrUnexpectedEOF
  36738. }
  36739. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36740. return err
  36741. }
  36742. iNdEx = postIndex
  36743. case 2:
  36744. if wireType != 2 {
  36745. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  36746. }
  36747. var msglen int
  36748. for shift := uint(0); ; shift += 7 {
  36749. if shift >= 64 {
  36750. return ErrIntOverflowGenerated
  36751. }
  36752. if iNdEx >= l {
  36753. return io.ErrUnexpectedEOF
  36754. }
  36755. b := dAtA[iNdEx]
  36756. iNdEx++
  36757. msglen |= (int(b) & 0x7F) << shift
  36758. if b < 0x80 {
  36759. break
  36760. }
  36761. }
  36762. if msglen < 0 {
  36763. return ErrInvalidLengthGenerated
  36764. }
  36765. postIndex := iNdEx + msglen
  36766. if postIndex > l {
  36767. return io.ErrUnexpectedEOF
  36768. }
  36769. m.Items = append(m.Items, Pod{})
  36770. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36771. return err
  36772. }
  36773. iNdEx = postIndex
  36774. default:
  36775. iNdEx = preIndex
  36776. skippy, err := skipGenerated(dAtA[iNdEx:])
  36777. if err != nil {
  36778. return err
  36779. }
  36780. if skippy < 0 {
  36781. return ErrInvalidLengthGenerated
  36782. }
  36783. if (iNdEx + skippy) > l {
  36784. return io.ErrUnexpectedEOF
  36785. }
  36786. iNdEx += skippy
  36787. }
  36788. }
  36789. if iNdEx > l {
  36790. return io.ErrUnexpectedEOF
  36791. }
  36792. return nil
  36793. }
  36794. func (m *PodLogOptions) Unmarshal(dAtA []byte) error {
  36795. l := len(dAtA)
  36796. iNdEx := 0
  36797. for iNdEx < l {
  36798. preIndex := iNdEx
  36799. var wire uint64
  36800. for shift := uint(0); ; shift += 7 {
  36801. if shift >= 64 {
  36802. return ErrIntOverflowGenerated
  36803. }
  36804. if iNdEx >= l {
  36805. return io.ErrUnexpectedEOF
  36806. }
  36807. b := dAtA[iNdEx]
  36808. iNdEx++
  36809. wire |= (uint64(b) & 0x7F) << shift
  36810. if b < 0x80 {
  36811. break
  36812. }
  36813. }
  36814. fieldNum := int32(wire >> 3)
  36815. wireType := int(wire & 0x7)
  36816. if wireType == 4 {
  36817. return fmt.Errorf("proto: PodLogOptions: wiretype end group for non-group")
  36818. }
  36819. if fieldNum <= 0 {
  36820. return fmt.Errorf("proto: PodLogOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  36821. }
  36822. switch fieldNum {
  36823. case 1:
  36824. if wireType != 2 {
  36825. return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
  36826. }
  36827. var stringLen uint64
  36828. for shift := uint(0); ; shift += 7 {
  36829. if shift >= 64 {
  36830. return ErrIntOverflowGenerated
  36831. }
  36832. if iNdEx >= l {
  36833. return io.ErrUnexpectedEOF
  36834. }
  36835. b := dAtA[iNdEx]
  36836. iNdEx++
  36837. stringLen |= (uint64(b) & 0x7F) << shift
  36838. if b < 0x80 {
  36839. break
  36840. }
  36841. }
  36842. intStringLen := int(stringLen)
  36843. if intStringLen < 0 {
  36844. return ErrInvalidLengthGenerated
  36845. }
  36846. postIndex := iNdEx + intStringLen
  36847. if postIndex > l {
  36848. return io.ErrUnexpectedEOF
  36849. }
  36850. m.Container = string(dAtA[iNdEx:postIndex])
  36851. iNdEx = postIndex
  36852. case 2:
  36853. if wireType != 0 {
  36854. return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType)
  36855. }
  36856. var v int
  36857. for shift := uint(0); ; shift += 7 {
  36858. if shift >= 64 {
  36859. return ErrIntOverflowGenerated
  36860. }
  36861. if iNdEx >= l {
  36862. return io.ErrUnexpectedEOF
  36863. }
  36864. b := dAtA[iNdEx]
  36865. iNdEx++
  36866. v |= (int(b) & 0x7F) << shift
  36867. if b < 0x80 {
  36868. break
  36869. }
  36870. }
  36871. m.Follow = bool(v != 0)
  36872. case 3:
  36873. if wireType != 0 {
  36874. return fmt.Errorf("proto: wrong wireType = %d for field Previous", wireType)
  36875. }
  36876. var v int
  36877. for shift := uint(0); ; shift += 7 {
  36878. if shift >= 64 {
  36879. return ErrIntOverflowGenerated
  36880. }
  36881. if iNdEx >= l {
  36882. return io.ErrUnexpectedEOF
  36883. }
  36884. b := dAtA[iNdEx]
  36885. iNdEx++
  36886. v |= (int(b) & 0x7F) << shift
  36887. if b < 0x80 {
  36888. break
  36889. }
  36890. }
  36891. m.Previous = bool(v != 0)
  36892. case 4:
  36893. if wireType != 0 {
  36894. return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType)
  36895. }
  36896. var v int64
  36897. for shift := uint(0); ; shift += 7 {
  36898. if shift >= 64 {
  36899. return ErrIntOverflowGenerated
  36900. }
  36901. if iNdEx >= l {
  36902. return io.ErrUnexpectedEOF
  36903. }
  36904. b := dAtA[iNdEx]
  36905. iNdEx++
  36906. v |= (int64(b) & 0x7F) << shift
  36907. if b < 0x80 {
  36908. break
  36909. }
  36910. }
  36911. m.SinceSeconds = &v
  36912. case 5:
  36913. if wireType != 2 {
  36914. return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", wireType)
  36915. }
  36916. var msglen int
  36917. for shift := uint(0); ; shift += 7 {
  36918. if shift >= 64 {
  36919. return ErrIntOverflowGenerated
  36920. }
  36921. if iNdEx >= l {
  36922. return io.ErrUnexpectedEOF
  36923. }
  36924. b := dAtA[iNdEx]
  36925. iNdEx++
  36926. msglen |= (int(b) & 0x7F) << shift
  36927. if b < 0x80 {
  36928. break
  36929. }
  36930. }
  36931. if msglen < 0 {
  36932. return ErrInvalidLengthGenerated
  36933. }
  36934. postIndex := iNdEx + msglen
  36935. if postIndex > l {
  36936. return io.ErrUnexpectedEOF
  36937. }
  36938. if m.SinceTime == nil {
  36939. m.SinceTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  36940. }
  36941. if err := m.SinceTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  36942. return err
  36943. }
  36944. iNdEx = postIndex
  36945. case 6:
  36946. if wireType != 0 {
  36947. return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType)
  36948. }
  36949. var v int
  36950. for shift := uint(0); ; shift += 7 {
  36951. if shift >= 64 {
  36952. return ErrIntOverflowGenerated
  36953. }
  36954. if iNdEx >= l {
  36955. return io.ErrUnexpectedEOF
  36956. }
  36957. b := dAtA[iNdEx]
  36958. iNdEx++
  36959. v |= (int(b) & 0x7F) << shift
  36960. if b < 0x80 {
  36961. break
  36962. }
  36963. }
  36964. m.Timestamps = bool(v != 0)
  36965. case 7:
  36966. if wireType != 0 {
  36967. return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType)
  36968. }
  36969. var v int64
  36970. for shift := uint(0); ; shift += 7 {
  36971. if shift >= 64 {
  36972. return ErrIntOverflowGenerated
  36973. }
  36974. if iNdEx >= l {
  36975. return io.ErrUnexpectedEOF
  36976. }
  36977. b := dAtA[iNdEx]
  36978. iNdEx++
  36979. v |= (int64(b) & 0x7F) << shift
  36980. if b < 0x80 {
  36981. break
  36982. }
  36983. }
  36984. m.TailLines = &v
  36985. case 8:
  36986. if wireType != 0 {
  36987. return fmt.Errorf("proto: wrong wireType = %d for field LimitBytes", wireType)
  36988. }
  36989. var v int64
  36990. for shift := uint(0); ; shift += 7 {
  36991. if shift >= 64 {
  36992. return ErrIntOverflowGenerated
  36993. }
  36994. if iNdEx >= l {
  36995. return io.ErrUnexpectedEOF
  36996. }
  36997. b := dAtA[iNdEx]
  36998. iNdEx++
  36999. v |= (int64(b) & 0x7F) << shift
  37000. if b < 0x80 {
  37001. break
  37002. }
  37003. }
  37004. m.LimitBytes = &v
  37005. default:
  37006. iNdEx = preIndex
  37007. skippy, err := skipGenerated(dAtA[iNdEx:])
  37008. if err != nil {
  37009. return err
  37010. }
  37011. if skippy < 0 {
  37012. return ErrInvalidLengthGenerated
  37013. }
  37014. if (iNdEx + skippy) > l {
  37015. return io.ErrUnexpectedEOF
  37016. }
  37017. iNdEx += skippy
  37018. }
  37019. }
  37020. if iNdEx > l {
  37021. return io.ErrUnexpectedEOF
  37022. }
  37023. return nil
  37024. }
  37025. func (m *PodPortForwardOptions) Unmarshal(dAtA []byte) error {
  37026. l := len(dAtA)
  37027. iNdEx := 0
  37028. for iNdEx < l {
  37029. preIndex := iNdEx
  37030. var wire uint64
  37031. for shift := uint(0); ; shift += 7 {
  37032. if shift >= 64 {
  37033. return ErrIntOverflowGenerated
  37034. }
  37035. if iNdEx >= l {
  37036. return io.ErrUnexpectedEOF
  37037. }
  37038. b := dAtA[iNdEx]
  37039. iNdEx++
  37040. wire |= (uint64(b) & 0x7F) << shift
  37041. if b < 0x80 {
  37042. break
  37043. }
  37044. }
  37045. fieldNum := int32(wire >> 3)
  37046. wireType := int(wire & 0x7)
  37047. if wireType == 4 {
  37048. return fmt.Errorf("proto: PodPortForwardOptions: wiretype end group for non-group")
  37049. }
  37050. if fieldNum <= 0 {
  37051. return fmt.Errorf("proto: PodPortForwardOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  37052. }
  37053. switch fieldNum {
  37054. case 1:
  37055. if wireType == 0 {
  37056. var v int32
  37057. for shift := uint(0); ; shift += 7 {
  37058. if shift >= 64 {
  37059. return ErrIntOverflowGenerated
  37060. }
  37061. if iNdEx >= l {
  37062. return io.ErrUnexpectedEOF
  37063. }
  37064. b := dAtA[iNdEx]
  37065. iNdEx++
  37066. v |= (int32(b) & 0x7F) << shift
  37067. if b < 0x80 {
  37068. break
  37069. }
  37070. }
  37071. m.Ports = append(m.Ports, v)
  37072. } else if wireType == 2 {
  37073. var packedLen int
  37074. for shift := uint(0); ; shift += 7 {
  37075. if shift >= 64 {
  37076. return ErrIntOverflowGenerated
  37077. }
  37078. if iNdEx >= l {
  37079. return io.ErrUnexpectedEOF
  37080. }
  37081. b := dAtA[iNdEx]
  37082. iNdEx++
  37083. packedLen |= (int(b) & 0x7F) << shift
  37084. if b < 0x80 {
  37085. break
  37086. }
  37087. }
  37088. if packedLen < 0 {
  37089. return ErrInvalidLengthGenerated
  37090. }
  37091. postIndex := iNdEx + packedLen
  37092. if postIndex > l {
  37093. return io.ErrUnexpectedEOF
  37094. }
  37095. for iNdEx < postIndex {
  37096. var v int32
  37097. for shift := uint(0); ; shift += 7 {
  37098. if shift >= 64 {
  37099. return ErrIntOverflowGenerated
  37100. }
  37101. if iNdEx >= l {
  37102. return io.ErrUnexpectedEOF
  37103. }
  37104. b := dAtA[iNdEx]
  37105. iNdEx++
  37106. v |= (int32(b) & 0x7F) << shift
  37107. if b < 0x80 {
  37108. break
  37109. }
  37110. }
  37111. m.Ports = append(m.Ports, v)
  37112. }
  37113. } else {
  37114. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  37115. }
  37116. default:
  37117. iNdEx = preIndex
  37118. skippy, err := skipGenerated(dAtA[iNdEx:])
  37119. if err != nil {
  37120. return err
  37121. }
  37122. if skippy < 0 {
  37123. return ErrInvalidLengthGenerated
  37124. }
  37125. if (iNdEx + skippy) > l {
  37126. return io.ErrUnexpectedEOF
  37127. }
  37128. iNdEx += skippy
  37129. }
  37130. }
  37131. if iNdEx > l {
  37132. return io.ErrUnexpectedEOF
  37133. }
  37134. return nil
  37135. }
  37136. func (m *PodProxyOptions) Unmarshal(dAtA []byte) error {
  37137. l := len(dAtA)
  37138. iNdEx := 0
  37139. for iNdEx < l {
  37140. preIndex := iNdEx
  37141. var wire uint64
  37142. for shift := uint(0); ; shift += 7 {
  37143. if shift >= 64 {
  37144. return ErrIntOverflowGenerated
  37145. }
  37146. if iNdEx >= l {
  37147. return io.ErrUnexpectedEOF
  37148. }
  37149. b := dAtA[iNdEx]
  37150. iNdEx++
  37151. wire |= (uint64(b) & 0x7F) << shift
  37152. if b < 0x80 {
  37153. break
  37154. }
  37155. }
  37156. fieldNum := int32(wire >> 3)
  37157. wireType := int(wire & 0x7)
  37158. if wireType == 4 {
  37159. return fmt.Errorf("proto: PodProxyOptions: wiretype end group for non-group")
  37160. }
  37161. if fieldNum <= 0 {
  37162. return fmt.Errorf("proto: PodProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  37163. }
  37164. switch fieldNum {
  37165. case 1:
  37166. if wireType != 2 {
  37167. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  37168. }
  37169. var stringLen uint64
  37170. for shift := uint(0); ; shift += 7 {
  37171. if shift >= 64 {
  37172. return ErrIntOverflowGenerated
  37173. }
  37174. if iNdEx >= l {
  37175. return io.ErrUnexpectedEOF
  37176. }
  37177. b := dAtA[iNdEx]
  37178. iNdEx++
  37179. stringLen |= (uint64(b) & 0x7F) << shift
  37180. if b < 0x80 {
  37181. break
  37182. }
  37183. }
  37184. intStringLen := int(stringLen)
  37185. if intStringLen < 0 {
  37186. return ErrInvalidLengthGenerated
  37187. }
  37188. postIndex := iNdEx + intStringLen
  37189. if postIndex > l {
  37190. return io.ErrUnexpectedEOF
  37191. }
  37192. m.Path = string(dAtA[iNdEx:postIndex])
  37193. iNdEx = postIndex
  37194. default:
  37195. iNdEx = preIndex
  37196. skippy, err := skipGenerated(dAtA[iNdEx:])
  37197. if err != nil {
  37198. return err
  37199. }
  37200. if skippy < 0 {
  37201. return ErrInvalidLengthGenerated
  37202. }
  37203. if (iNdEx + skippy) > l {
  37204. return io.ErrUnexpectedEOF
  37205. }
  37206. iNdEx += skippy
  37207. }
  37208. }
  37209. if iNdEx > l {
  37210. return io.ErrUnexpectedEOF
  37211. }
  37212. return nil
  37213. }
  37214. func (m *PodSecurityContext) Unmarshal(dAtA []byte) error {
  37215. l := len(dAtA)
  37216. iNdEx := 0
  37217. for iNdEx < l {
  37218. preIndex := iNdEx
  37219. var wire uint64
  37220. for shift := uint(0); ; shift += 7 {
  37221. if shift >= 64 {
  37222. return ErrIntOverflowGenerated
  37223. }
  37224. if iNdEx >= l {
  37225. return io.ErrUnexpectedEOF
  37226. }
  37227. b := dAtA[iNdEx]
  37228. iNdEx++
  37229. wire |= (uint64(b) & 0x7F) << shift
  37230. if b < 0x80 {
  37231. break
  37232. }
  37233. }
  37234. fieldNum := int32(wire >> 3)
  37235. wireType := int(wire & 0x7)
  37236. if wireType == 4 {
  37237. return fmt.Errorf("proto: PodSecurityContext: wiretype end group for non-group")
  37238. }
  37239. if fieldNum <= 0 {
  37240. return fmt.Errorf("proto: PodSecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  37241. }
  37242. switch fieldNum {
  37243. case 1:
  37244. if wireType != 2 {
  37245. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  37246. }
  37247. var msglen int
  37248. for shift := uint(0); ; shift += 7 {
  37249. if shift >= 64 {
  37250. return ErrIntOverflowGenerated
  37251. }
  37252. if iNdEx >= l {
  37253. return io.ErrUnexpectedEOF
  37254. }
  37255. b := dAtA[iNdEx]
  37256. iNdEx++
  37257. msglen |= (int(b) & 0x7F) << shift
  37258. if b < 0x80 {
  37259. break
  37260. }
  37261. }
  37262. if msglen < 0 {
  37263. return ErrInvalidLengthGenerated
  37264. }
  37265. postIndex := iNdEx + msglen
  37266. if postIndex > l {
  37267. return io.ErrUnexpectedEOF
  37268. }
  37269. if m.SELinuxOptions == nil {
  37270. m.SELinuxOptions = &SELinuxOptions{}
  37271. }
  37272. if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37273. return err
  37274. }
  37275. iNdEx = postIndex
  37276. case 2:
  37277. if wireType != 0 {
  37278. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  37279. }
  37280. var v int64
  37281. for shift := uint(0); ; shift += 7 {
  37282. if shift >= 64 {
  37283. return ErrIntOverflowGenerated
  37284. }
  37285. if iNdEx >= l {
  37286. return io.ErrUnexpectedEOF
  37287. }
  37288. b := dAtA[iNdEx]
  37289. iNdEx++
  37290. v |= (int64(b) & 0x7F) << shift
  37291. if b < 0x80 {
  37292. break
  37293. }
  37294. }
  37295. m.RunAsUser = &v
  37296. case 3:
  37297. if wireType != 0 {
  37298. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  37299. }
  37300. var v int
  37301. for shift := uint(0); ; shift += 7 {
  37302. if shift >= 64 {
  37303. return ErrIntOverflowGenerated
  37304. }
  37305. if iNdEx >= l {
  37306. return io.ErrUnexpectedEOF
  37307. }
  37308. b := dAtA[iNdEx]
  37309. iNdEx++
  37310. v |= (int(b) & 0x7F) << shift
  37311. if b < 0x80 {
  37312. break
  37313. }
  37314. }
  37315. b := bool(v != 0)
  37316. m.RunAsNonRoot = &b
  37317. case 4:
  37318. if wireType == 0 {
  37319. var v int64
  37320. for shift := uint(0); ; shift += 7 {
  37321. if shift >= 64 {
  37322. return ErrIntOverflowGenerated
  37323. }
  37324. if iNdEx >= l {
  37325. return io.ErrUnexpectedEOF
  37326. }
  37327. b := dAtA[iNdEx]
  37328. iNdEx++
  37329. v |= (int64(b) & 0x7F) << shift
  37330. if b < 0x80 {
  37331. break
  37332. }
  37333. }
  37334. m.SupplementalGroups = append(m.SupplementalGroups, v)
  37335. } else if wireType == 2 {
  37336. var packedLen int
  37337. for shift := uint(0); ; shift += 7 {
  37338. if shift >= 64 {
  37339. return ErrIntOverflowGenerated
  37340. }
  37341. if iNdEx >= l {
  37342. return io.ErrUnexpectedEOF
  37343. }
  37344. b := dAtA[iNdEx]
  37345. iNdEx++
  37346. packedLen |= (int(b) & 0x7F) << shift
  37347. if b < 0x80 {
  37348. break
  37349. }
  37350. }
  37351. if packedLen < 0 {
  37352. return ErrInvalidLengthGenerated
  37353. }
  37354. postIndex := iNdEx + packedLen
  37355. if postIndex > l {
  37356. return io.ErrUnexpectedEOF
  37357. }
  37358. for iNdEx < postIndex {
  37359. var v int64
  37360. for shift := uint(0); ; shift += 7 {
  37361. if shift >= 64 {
  37362. return ErrIntOverflowGenerated
  37363. }
  37364. if iNdEx >= l {
  37365. return io.ErrUnexpectedEOF
  37366. }
  37367. b := dAtA[iNdEx]
  37368. iNdEx++
  37369. v |= (int64(b) & 0x7F) << shift
  37370. if b < 0x80 {
  37371. break
  37372. }
  37373. }
  37374. m.SupplementalGroups = append(m.SupplementalGroups, v)
  37375. }
  37376. } else {
  37377. return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
  37378. }
  37379. case 5:
  37380. if wireType != 0 {
  37381. return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
  37382. }
  37383. var v int64
  37384. for shift := uint(0); ; shift += 7 {
  37385. if shift >= 64 {
  37386. return ErrIntOverflowGenerated
  37387. }
  37388. if iNdEx >= l {
  37389. return io.ErrUnexpectedEOF
  37390. }
  37391. b := dAtA[iNdEx]
  37392. iNdEx++
  37393. v |= (int64(b) & 0x7F) << shift
  37394. if b < 0x80 {
  37395. break
  37396. }
  37397. }
  37398. m.FSGroup = &v
  37399. case 6:
  37400. if wireType != 0 {
  37401. return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
  37402. }
  37403. var v int64
  37404. for shift := uint(0); ; shift += 7 {
  37405. if shift >= 64 {
  37406. return ErrIntOverflowGenerated
  37407. }
  37408. if iNdEx >= l {
  37409. return io.ErrUnexpectedEOF
  37410. }
  37411. b := dAtA[iNdEx]
  37412. iNdEx++
  37413. v |= (int64(b) & 0x7F) << shift
  37414. if b < 0x80 {
  37415. break
  37416. }
  37417. }
  37418. m.RunAsGroup = &v
  37419. default:
  37420. iNdEx = preIndex
  37421. skippy, err := skipGenerated(dAtA[iNdEx:])
  37422. if err != nil {
  37423. return err
  37424. }
  37425. if skippy < 0 {
  37426. return ErrInvalidLengthGenerated
  37427. }
  37428. if (iNdEx + skippy) > l {
  37429. return io.ErrUnexpectedEOF
  37430. }
  37431. iNdEx += skippy
  37432. }
  37433. }
  37434. if iNdEx > l {
  37435. return io.ErrUnexpectedEOF
  37436. }
  37437. return nil
  37438. }
  37439. func (m *PodSignature) Unmarshal(dAtA []byte) error {
  37440. l := len(dAtA)
  37441. iNdEx := 0
  37442. for iNdEx < l {
  37443. preIndex := iNdEx
  37444. var wire uint64
  37445. for shift := uint(0); ; shift += 7 {
  37446. if shift >= 64 {
  37447. return ErrIntOverflowGenerated
  37448. }
  37449. if iNdEx >= l {
  37450. return io.ErrUnexpectedEOF
  37451. }
  37452. b := dAtA[iNdEx]
  37453. iNdEx++
  37454. wire |= (uint64(b) & 0x7F) << shift
  37455. if b < 0x80 {
  37456. break
  37457. }
  37458. }
  37459. fieldNum := int32(wire >> 3)
  37460. wireType := int(wire & 0x7)
  37461. if wireType == 4 {
  37462. return fmt.Errorf("proto: PodSignature: wiretype end group for non-group")
  37463. }
  37464. if fieldNum <= 0 {
  37465. return fmt.Errorf("proto: PodSignature: illegal tag %d (wire type %d)", fieldNum, wire)
  37466. }
  37467. switch fieldNum {
  37468. case 1:
  37469. if wireType != 2 {
  37470. return fmt.Errorf("proto: wrong wireType = %d for field PodController", wireType)
  37471. }
  37472. var msglen int
  37473. for shift := uint(0); ; shift += 7 {
  37474. if shift >= 64 {
  37475. return ErrIntOverflowGenerated
  37476. }
  37477. if iNdEx >= l {
  37478. return io.ErrUnexpectedEOF
  37479. }
  37480. b := dAtA[iNdEx]
  37481. iNdEx++
  37482. msglen |= (int(b) & 0x7F) << shift
  37483. if b < 0x80 {
  37484. break
  37485. }
  37486. }
  37487. if msglen < 0 {
  37488. return ErrInvalidLengthGenerated
  37489. }
  37490. postIndex := iNdEx + msglen
  37491. if postIndex > l {
  37492. return io.ErrUnexpectedEOF
  37493. }
  37494. if m.PodController == nil {
  37495. m.PodController = &k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference{}
  37496. }
  37497. if err := m.PodController.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37498. return err
  37499. }
  37500. iNdEx = postIndex
  37501. default:
  37502. iNdEx = preIndex
  37503. skippy, err := skipGenerated(dAtA[iNdEx:])
  37504. if err != nil {
  37505. return err
  37506. }
  37507. if skippy < 0 {
  37508. return ErrInvalidLengthGenerated
  37509. }
  37510. if (iNdEx + skippy) > l {
  37511. return io.ErrUnexpectedEOF
  37512. }
  37513. iNdEx += skippy
  37514. }
  37515. }
  37516. if iNdEx > l {
  37517. return io.ErrUnexpectedEOF
  37518. }
  37519. return nil
  37520. }
  37521. func (m *PodSpec) Unmarshal(dAtA []byte) error {
  37522. l := len(dAtA)
  37523. iNdEx := 0
  37524. for iNdEx < l {
  37525. preIndex := iNdEx
  37526. var wire uint64
  37527. for shift := uint(0); ; shift += 7 {
  37528. if shift >= 64 {
  37529. return ErrIntOverflowGenerated
  37530. }
  37531. if iNdEx >= l {
  37532. return io.ErrUnexpectedEOF
  37533. }
  37534. b := dAtA[iNdEx]
  37535. iNdEx++
  37536. wire |= (uint64(b) & 0x7F) << shift
  37537. if b < 0x80 {
  37538. break
  37539. }
  37540. }
  37541. fieldNum := int32(wire >> 3)
  37542. wireType := int(wire & 0x7)
  37543. if wireType == 4 {
  37544. return fmt.Errorf("proto: PodSpec: wiretype end group for non-group")
  37545. }
  37546. if fieldNum <= 0 {
  37547. return fmt.Errorf("proto: PodSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  37548. }
  37549. switch fieldNum {
  37550. case 1:
  37551. if wireType != 2 {
  37552. return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
  37553. }
  37554. var msglen int
  37555. for shift := uint(0); ; shift += 7 {
  37556. if shift >= 64 {
  37557. return ErrIntOverflowGenerated
  37558. }
  37559. if iNdEx >= l {
  37560. return io.ErrUnexpectedEOF
  37561. }
  37562. b := dAtA[iNdEx]
  37563. iNdEx++
  37564. msglen |= (int(b) & 0x7F) << shift
  37565. if b < 0x80 {
  37566. break
  37567. }
  37568. }
  37569. if msglen < 0 {
  37570. return ErrInvalidLengthGenerated
  37571. }
  37572. postIndex := iNdEx + msglen
  37573. if postIndex > l {
  37574. return io.ErrUnexpectedEOF
  37575. }
  37576. m.Volumes = append(m.Volumes, Volume{})
  37577. if err := m.Volumes[len(m.Volumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37578. return err
  37579. }
  37580. iNdEx = postIndex
  37581. case 2:
  37582. if wireType != 2 {
  37583. return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
  37584. }
  37585. var msglen int
  37586. for shift := uint(0); ; shift += 7 {
  37587. if shift >= 64 {
  37588. return ErrIntOverflowGenerated
  37589. }
  37590. if iNdEx >= l {
  37591. return io.ErrUnexpectedEOF
  37592. }
  37593. b := dAtA[iNdEx]
  37594. iNdEx++
  37595. msglen |= (int(b) & 0x7F) << shift
  37596. if b < 0x80 {
  37597. break
  37598. }
  37599. }
  37600. if msglen < 0 {
  37601. return ErrInvalidLengthGenerated
  37602. }
  37603. postIndex := iNdEx + msglen
  37604. if postIndex > l {
  37605. return io.ErrUnexpectedEOF
  37606. }
  37607. m.Containers = append(m.Containers, Container{})
  37608. if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  37609. return err
  37610. }
  37611. iNdEx = postIndex
  37612. case 3:
  37613. if wireType != 2 {
  37614. return fmt.Errorf("proto: wrong wireType = %d for field RestartPolicy", wireType)
  37615. }
  37616. var stringLen uint64
  37617. for shift := uint(0); ; shift += 7 {
  37618. if shift >= 64 {
  37619. return ErrIntOverflowGenerated
  37620. }
  37621. if iNdEx >= l {
  37622. return io.ErrUnexpectedEOF
  37623. }
  37624. b := dAtA[iNdEx]
  37625. iNdEx++
  37626. stringLen |= (uint64(b) & 0x7F) << shift
  37627. if b < 0x80 {
  37628. break
  37629. }
  37630. }
  37631. intStringLen := int(stringLen)
  37632. if intStringLen < 0 {
  37633. return ErrInvalidLengthGenerated
  37634. }
  37635. postIndex := iNdEx + intStringLen
  37636. if postIndex > l {
  37637. return io.ErrUnexpectedEOF
  37638. }
  37639. m.RestartPolicy = RestartPolicy(dAtA[iNdEx:postIndex])
  37640. iNdEx = postIndex
  37641. case 4:
  37642. if wireType != 0 {
  37643. return fmt.Errorf("proto: wrong wireType = %d for field TerminationGracePeriodSeconds", wireType)
  37644. }
  37645. var v int64
  37646. for shift := uint(0); ; shift += 7 {
  37647. if shift >= 64 {
  37648. return ErrIntOverflowGenerated
  37649. }
  37650. if iNdEx >= l {
  37651. return io.ErrUnexpectedEOF
  37652. }
  37653. b := dAtA[iNdEx]
  37654. iNdEx++
  37655. v |= (int64(b) & 0x7F) << shift
  37656. if b < 0x80 {
  37657. break
  37658. }
  37659. }
  37660. m.TerminationGracePeriodSeconds = &v
  37661. case 5:
  37662. if wireType != 0 {
  37663. return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType)
  37664. }
  37665. var v int64
  37666. for shift := uint(0); ; shift += 7 {
  37667. if shift >= 64 {
  37668. return ErrIntOverflowGenerated
  37669. }
  37670. if iNdEx >= l {
  37671. return io.ErrUnexpectedEOF
  37672. }
  37673. b := dAtA[iNdEx]
  37674. iNdEx++
  37675. v |= (int64(b) & 0x7F) << shift
  37676. if b < 0x80 {
  37677. break
  37678. }
  37679. }
  37680. m.ActiveDeadlineSeconds = &v
  37681. case 6:
  37682. if wireType != 2 {
  37683. return fmt.Errorf("proto: wrong wireType = %d for field DNSPolicy", wireType)
  37684. }
  37685. var stringLen uint64
  37686. for shift := uint(0); ; shift += 7 {
  37687. if shift >= 64 {
  37688. return ErrIntOverflowGenerated
  37689. }
  37690. if iNdEx >= l {
  37691. return io.ErrUnexpectedEOF
  37692. }
  37693. b := dAtA[iNdEx]
  37694. iNdEx++
  37695. stringLen |= (uint64(b) & 0x7F) << shift
  37696. if b < 0x80 {
  37697. break
  37698. }
  37699. }
  37700. intStringLen := int(stringLen)
  37701. if intStringLen < 0 {
  37702. return ErrInvalidLengthGenerated
  37703. }
  37704. postIndex := iNdEx + intStringLen
  37705. if postIndex > l {
  37706. return io.ErrUnexpectedEOF
  37707. }
  37708. m.DNSPolicy = DNSPolicy(dAtA[iNdEx:postIndex])
  37709. iNdEx = postIndex
  37710. case 7:
  37711. if wireType != 2 {
  37712. return fmt.Errorf("proto: wrong wireType = %d for field NodeSelector", wireType)
  37713. }
  37714. var msglen int
  37715. for shift := uint(0); ; shift += 7 {
  37716. if shift >= 64 {
  37717. return ErrIntOverflowGenerated
  37718. }
  37719. if iNdEx >= l {
  37720. return io.ErrUnexpectedEOF
  37721. }
  37722. b := dAtA[iNdEx]
  37723. iNdEx++
  37724. msglen |= (int(b) & 0x7F) << shift
  37725. if b < 0x80 {
  37726. break
  37727. }
  37728. }
  37729. if msglen < 0 {
  37730. return ErrInvalidLengthGenerated
  37731. }
  37732. postIndex := iNdEx + msglen
  37733. if postIndex > l {
  37734. return io.ErrUnexpectedEOF
  37735. }
  37736. var keykey uint64
  37737. for shift := uint(0); ; shift += 7 {
  37738. if shift >= 64 {
  37739. return ErrIntOverflowGenerated
  37740. }
  37741. if iNdEx >= l {
  37742. return io.ErrUnexpectedEOF
  37743. }
  37744. b := dAtA[iNdEx]
  37745. iNdEx++
  37746. keykey |= (uint64(b) & 0x7F) << shift
  37747. if b < 0x80 {
  37748. break
  37749. }
  37750. }
  37751. var stringLenmapkey uint64
  37752. for shift := uint(0); ; shift += 7 {
  37753. if shift >= 64 {
  37754. return ErrIntOverflowGenerated
  37755. }
  37756. if iNdEx >= l {
  37757. return io.ErrUnexpectedEOF
  37758. }
  37759. b := dAtA[iNdEx]
  37760. iNdEx++
  37761. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  37762. if b < 0x80 {
  37763. break
  37764. }
  37765. }
  37766. intStringLenmapkey := int(stringLenmapkey)
  37767. if intStringLenmapkey < 0 {
  37768. return ErrInvalidLengthGenerated
  37769. }
  37770. postStringIndexmapkey := iNdEx + intStringLenmapkey
  37771. if postStringIndexmapkey > l {
  37772. return io.ErrUnexpectedEOF
  37773. }
  37774. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  37775. iNdEx = postStringIndexmapkey
  37776. if m.NodeSelector == nil {
  37777. m.NodeSelector = make(map[string]string)
  37778. }
  37779. if iNdEx < postIndex {
  37780. var valuekey uint64
  37781. for shift := uint(0); ; shift += 7 {
  37782. if shift >= 64 {
  37783. return ErrIntOverflowGenerated
  37784. }
  37785. if iNdEx >= l {
  37786. return io.ErrUnexpectedEOF
  37787. }
  37788. b := dAtA[iNdEx]
  37789. iNdEx++
  37790. valuekey |= (uint64(b) & 0x7F) << shift
  37791. if b < 0x80 {
  37792. break
  37793. }
  37794. }
  37795. var stringLenmapvalue uint64
  37796. for shift := uint(0); ; shift += 7 {
  37797. if shift >= 64 {
  37798. return ErrIntOverflowGenerated
  37799. }
  37800. if iNdEx >= l {
  37801. return io.ErrUnexpectedEOF
  37802. }
  37803. b := dAtA[iNdEx]
  37804. iNdEx++
  37805. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  37806. if b < 0x80 {
  37807. break
  37808. }
  37809. }
  37810. intStringLenmapvalue := int(stringLenmapvalue)
  37811. if intStringLenmapvalue < 0 {
  37812. return ErrInvalidLengthGenerated
  37813. }
  37814. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  37815. if postStringIndexmapvalue > l {
  37816. return io.ErrUnexpectedEOF
  37817. }
  37818. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  37819. iNdEx = postStringIndexmapvalue
  37820. m.NodeSelector[mapkey] = mapvalue
  37821. } else {
  37822. var mapvalue string
  37823. m.NodeSelector[mapkey] = mapvalue
  37824. }
  37825. iNdEx = postIndex
  37826. case 8:
  37827. if wireType != 2 {
  37828. return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountName", wireType)
  37829. }
  37830. var stringLen uint64
  37831. for shift := uint(0); ; shift += 7 {
  37832. if shift >= 64 {
  37833. return ErrIntOverflowGenerated
  37834. }
  37835. if iNdEx >= l {
  37836. return io.ErrUnexpectedEOF
  37837. }
  37838. b := dAtA[iNdEx]
  37839. iNdEx++
  37840. stringLen |= (uint64(b) & 0x7F) << shift
  37841. if b < 0x80 {
  37842. break
  37843. }
  37844. }
  37845. intStringLen := int(stringLen)
  37846. if intStringLen < 0 {
  37847. return ErrInvalidLengthGenerated
  37848. }
  37849. postIndex := iNdEx + intStringLen
  37850. if postIndex > l {
  37851. return io.ErrUnexpectedEOF
  37852. }
  37853. m.ServiceAccountName = string(dAtA[iNdEx:postIndex])
  37854. iNdEx = postIndex
  37855. case 9:
  37856. if wireType != 2 {
  37857. return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedServiceAccount", wireType)
  37858. }
  37859. var stringLen uint64
  37860. for shift := uint(0); ; shift += 7 {
  37861. if shift >= 64 {
  37862. return ErrIntOverflowGenerated
  37863. }
  37864. if iNdEx >= l {
  37865. return io.ErrUnexpectedEOF
  37866. }
  37867. b := dAtA[iNdEx]
  37868. iNdEx++
  37869. stringLen |= (uint64(b) & 0x7F) << shift
  37870. if b < 0x80 {
  37871. break
  37872. }
  37873. }
  37874. intStringLen := int(stringLen)
  37875. if intStringLen < 0 {
  37876. return ErrInvalidLengthGenerated
  37877. }
  37878. postIndex := iNdEx + intStringLen
  37879. if postIndex > l {
  37880. return io.ErrUnexpectedEOF
  37881. }
  37882. m.DeprecatedServiceAccount = string(dAtA[iNdEx:postIndex])
  37883. iNdEx = postIndex
  37884. case 10:
  37885. if wireType != 2 {
  37886. return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  37887. }
  37888. var stringLen uint64
  37889. for shift := uint(0); ; shift += 7 {
  37890. if shift >= 64 {
  37891. return ErrIntOverflowGenerated
  37892. }
  37893. if iNdEx >= l {
  37894. return io.ErrUnexpectedEOF
  37895. }
  37896. b := dAtA[iNdEx]
  37897. iNdEx++
  37898. stringLen |= (uint64(b) & 0x7F) << shift
  37899. if b < 0x80 {
  37900. break
  37901. }
  37902. }
  37903. intStringLen := int(stringLen)
  37904. if intStringLen < 0 {
  37905. return ErrInvalidLengthGenerated
  37906. }
  37907. postIndex := iNdEx + intStringLen
  37908. if postIndex > l {
  37909. return io.ErrUnexpectedEOF
  37910. }
  37911. m.NodeName = string(dAtA[iNdEx:postIndex])
  37912. iNdEx = postIndex
  37913. case 11:
  37914. if wireType != 0 {
  37915. return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  37916. }
  37917. var v int
  37918. for shift := uint(0); ; shift += 7 {
  37919. if shift >= 64 {
  37920. return ErrIntOverflowGenerated
  37921. }
  37922. if iNdEx >= l {
  37923. return io.ErrUnexpectedEOF
  37924. }
  37925. b := dAtA[iNdEx]
  37926. iNdEx++
  37927. v |= (int(b) & 0x7F) << shift
  37928. if b < 0x80 {
  37929. break
  37930. }
  37931. }
  37932. m.HostNetwork = bool(v != 0)
  37933. case 12:
  37934. if wireType != 0 {
  37935. return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  37936. }
  37937. var v int
  37938. for shift := uint(0); ; shift += 7 {
  37939. if shift >= 64 {
  37940. return ErrIntOverflowGenerated
  37941. }
  37942. if iNdEx >= l {
  37943. return io.ErrUnexpectedEOF
  37944. }
  37945. b := dAtA[iNdEx]
  37946. iNdEx++
  37947. v |= (int(b) & 0x7F) << shift
  37948. if b < 0x80 {
  37949. break
  37950. }
  37951. }
  37952. m.HostPID = bool(v != 0)
  37953. case 13:
  37954. if wireType != 0 {
  37955. return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  37956. }
  37957. var v int
  37958. for shift := uint(0); ; shift += 7 {
  37959. if shift >= 64 {
  37960. return ErrIntOverflowGenerated
  37961. }
  37962. if iNdEx >= l {
  37963. return io.ErrUnexpectedEOF
  37964. }
  37965. b := dAtA[iNdEx]
  37966. iNdEx++
  37967. v |= (int(b) & 0x7F) << shift
  37968. if b < 0x80 {
  37969. break
  37970. }
  37971. }
  37972. m.HostIPC = bool(v != 0)
  37973. case 14:
  37974. if wireType != 2 {
  37975. return fmt.Errorf("proto: wrong wireType = %d for field SecurityContext", wireType)
  37976. }
  37977. var msglen int
  37978. for shift := uint(0); ; shift += 7 {
  37979. if shift >= 64 {
  37980. return ErrIntOverflowGenerated
  37981. }
  37982. if iNdEx >= l {
  37983. return io.ErrUnexpectedEOF
  37984. }
  37985. b := dAtA[iNdEx]
  37986. iNdEx++
  37987. msglen |= (int(b) & 0x7F) << shift
  37988. if b < 0x80 {
  37989. break
  37990. }
  37991. }
  37992. if msglen < 0 {
  37993. return ErrInvalidLengthGenerated
  37994. }
  37995. postIndex := iNdEx + msglen
  37996. if postIndex > l {
  37997. return io.ErrUnexpectedEOF
  37998. }
  37999. if m.SecurityContext == nil {
  38000. m.SecurityContext = &PodSecurityContext{}
  38001. }
  38002. if err := m.SecurityContext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38003. return err
  38004. }
  38005. iNdEx = postIndex
  38006. case 15:
  38007. if wireType != 2 {
  38008. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  38009. }
  38010. var msglen int
  38011. for shift := uint(0); ; shift += 7 {
  38012. if shift >= 64 {
  38013. return ErrIntOverflowGenerated
  38014. }
  38015. if iNdEx >= l {
  38016. return io.ErrUnexpectedEOF
  38017. }
  38018. b := dAtA[iNdEx]
  38019. iNdEx++
  38020. msglen |= (int(b) & 0x7F) << shift
  38021. if b < 0x80 {
  38022. break
  38023. }
  38024. }
  38025. if msglen < 0 {
  38026. return ErrInvalidLengthGenerated
  38027. }
  38028. postIndex := iNdEx + msglen
  38029. if postIndex > l {
  38030. return io.ErrUnexpectedEOF
  38031. }
  38032. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  38033. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38034. return err
  38035. }
  38036. iNdEx = postIndex
  38037. case 16:
  38038. if wireType != 2 {
  38039. return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  38040. }
  38041. var stringLen uint64
  38042. for shift := uint(0); ; shift += 7 {
  38043. if shift >= 64 {
  38044. return ErrIntOverflowGenerated
  38045. }
  38046. if iNdEx >= l {
  38047. return io.ErrUnexpectedEOF
  38048. }
  38049. b := dAtA[iNdEx]
  38050. iNdEx++
  38051. stringLen |= (uint64(b) & 0x7F) << shift
  38052. if b < 0x80 {
  38053. break
  38054. }
  38055. }
  38056. intStringLen := int(stringLen)
  38057. if intStringLen < 0 {
  38058. return ErrInvalidLengthGenerated
  38059. }
  38060. postIndex := iNdEx + intStringLen
  38061. if postIndex > l {
  38062. return io.ErrUnexpectedEOF
  38063. }
  38064. m.Hostname = string(dAtA[iNdEx:postIndex])
  38065. iNdEx = postIndex
  38066. case 17:
  38067. if wireType != 2 {
  38068. return fmt.Errorf("proto: wrong wireType = %d for field Subdomain", wireType)
  38069. }
  38070. var stringLen uint64
  38071. for shift := uint(0); ; shift += 7 {
  38072. if shift >= 64 {
  38073. return ErrIntOverflowGenerated
  38074. }
  38075. if iNdEx >= l {
  38076. return io.ErrUnexpectedEOF
  38077. }
  38078. b := dAtA[iNdEx]
  38079. iNdEx++
  38080. stringLen |= (uint64(b) & 0x7F) << shift
  38081. if b < 0x80 {
  38082. break
  38083. }
  38084. }
  38085. intStringLen := int(stringLen)
  38086. if intStringLen < 0 {
  38087. return ErrInvalidLengthGenerated
  38088. }
  38089. postIndex := iNdEx + intStringLen
  38090. if postIndex > l {
  38091. return io.ErrUnexpectedEOF
  38092. }
  38093. m.Subdomain = string(dAtA[iNdEx:postIndex])
  38094. iNdEx = postIndex
  38095. case 18:
  38096. if wireType != 2 {
  38097. return fmt.Errorf("proto: wrong wireType = %d for field Affinity", wireType)
  38098. }
  38099. var msglen int
  38100. for shift := uint(0); ; shift += 7 {
  38101. if shift >= 64 {
  38102. return ErrIntOverflowGenerated
  38103. }
  38104. if iNdEx >= l {
  38105. return io.ErrUnexpectedEOF
  38106. }
  38107. b := dAtA[iNdEx]
  38108. iNdEx++
  38109. msglen |= (int(b) & 0x7F) << shift
  38110. if b < 0x80 {
  38111. break
  38112. }
  38113. }
  38114. if msglen < 0 {
  38115. return ErrInvalidLengthGenerated
  38116. }
  38117. postIndex := iNdEx + msglen
  38118. if postIndex > l {
  38119. return io.ErrUnexpectedEOF
  38120. }
  38121. if m.Affinity == nil {
  38122. m.Affinity = &Affinity{}
  38123. }
  38124. if err := m.Affinity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38125. return err
  38126. }
  38127. iNdEx = postIndex
  38128. case 19:
  38129. if wireType != 2 {
  38130. return fmt.Errorf("proto: wrong wireType = %d for field SchedulerName", wireType)
  38131. }
  38132. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  38143. if b < 0x80 {
  38144. break
  38145. }
  38146. }
  38147. intStringLen := int(stringLen)
  38148. if intStringLen < 0 {
  38149. return ErrInvalidLengthGenerated
  38150. }
  38151. postIndex := iNdEx + intStringLen
  38152. if postIndex > l {
  38153. return io.ErrUnexpectedEOF
  38154. }
  38155. m.SchedulerName = string(dAtA[iNdEx:postIndex])
  38156. iNdEx = postIndex
  38157. case 20:
  38158. if wireType != 2 {
  38159. return fmt.Errorf("proto: wrong wireType = %d for field InitContainers", wireType)
  38160. }
  38161. var msglen int
  38162. for shift := uint(0); ; shift += 7 {
  38163. if shift >= 64 {
  38164. return ErrIntOverflowGenerated
  38165. }
  38166. if iNdEx >= l {
  38167. return io.ErrUnexpectedEOF
  38168. }
  38169. b := dAtA[iNdEx]
  38170. iNdEx++
  38171. msglen |= (int(b) & 0x7F) << shift
  38172. if b < 0x80 {
  38173. break
  38174. }
  38175. }
  38176. if msglen < 0 {
  38177. return ErrInvalidLengthGenerated
  38178. }
  38179. postIndex := iNdEx + msglen
  38180. if postIndex > l {
  38181. return io.ErrUnexpectedEOF
  38182. }
  38183. m.InitContainers = append(m.InitContainers, Container{})
  38184. if err := m.InitContainers[len(m.InitContainers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38185. return err
  38186. }
  38187. iNdEx = postIndex
  38188. case 21:
  38189. if wireType != 0 {
  38190. return fmt.Errorf("proto: wrong wireType = %d for field AutomountServiceAccountToken", wireType)
  38191. }
  38192. var v int
  38193. for shift := uint(0); ; shift += 7 {
  38194. if shift >= 64 {
  38195. return ErrIntOverflowGenerated
  38196. }
  38197. if iNdEx >= l {
  38198. return io.ErrUnexpectedEOF
  38199. }
  38200. b := dAtA[iNdEx]
  38201. iNdEx++
  38202. v |= (int(b) & 0x7F) << shift
  38203. if b < 0x80 {
  38204. break
  38205. }
  38206. }
  38207. b := bool(v != 0)
  38208. m.AutomountServiceAccountToken = &b
  38209. case 22:
  38210. if wireType != 2 {
  38211. return fmt.Errorf("proto: wrong wireType = %d for field Tolerations", wireType)
  38212. }
  38213. var msglen int
  38214. for shift := uint(0); ; shift += 7 {
  38215. if shift >= 64 {
  38216. return ErrIntOverflowGenerated
  38217. }
  38218. if iNdEx >= l {
  38219. return io.ErrUnexpectedEOF
  38220. }
  38221. b := dAtA[iNdEx]
  38222. iNdEx++
  38223. msglen |= (int(b) & 0x7F) << shift
  38224. if b < 0x80 {
  38225. break
  38226. }
  38227. }
  38228. if msglen < 0 {
  38229. return ErrInvalidLengthGenerated
  38230. }
  38231. postIndex := iNdEx + msglen
  38232. if postIndex > l {
  38233. return io.ErrUnexpectedEOF
  38234. }
  38235. m.Tolerations = append(m.Tolerations, Toleration{})
  38236. if err := m.Tolerations[len(m.Tolerations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38237. return err
  38238. }
  38239. iNdEx = postIndex
  38240. case 23:
  38241. if wireType != 2 {
  38242. return fmt.Errorf("proto: wrong wireType = %d for field HostAliases", wireType)
  38243. }
  38244. var msglen int
  38245. for shift := uint(0); ; shift += 7 {
  38246. if shift >= 64 {
  38247. return ErrIntOverflowGenerated
  38248. }
  38249. if iNdEx >= l {
  38250. return io.ErrUnexpectedEOF
  38251. }
  38252. b := dAtA[iNdEx]
  38253. iNdEx++
  38254. msglen |= (int(b) & 0x7F) << shift
  38255. if b < 0x80 {
  38256. break
  38257. }
  38258. }
  38259. if msglen < 0 {
  38260. return ErrInvalidLengthGenerated
  38261. }
  38262. postIndex := iNdEx + msglen
  38263. if postIndex > l {
  38264. return io.ErrUnexpectedEOF
  38265. }
  38266. m.HostAliases = append(m.HostAliases, HostAlias{})
  38267. if err := m.HostAliases[len(m.HostAliases)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38268. return err
  38269. }
  38270. iNdEx = postIndex
  38271. case 24:
  38272. if wireType != 2 {
  38273. return fmt.Errorf("proto: wrong wireType = %d for field PriorityClassName", wireType)
  38274. }
  38275. var stringLen uint64
  38276. for shift := uint(0); ; shift += 7 {
  38277. if shift >= 64 {
  38278. return ErrIntOverflowGenerated
  38279. }
  38280. if iNdEx >= l {
  38281. return io.ErrUnexpectedEOF
  38282. }
  38283. b := dAtA[iNdEx]
  38284. iNdEx++
  38285. stringLen |= (uint64(b) & 0x7F) << shift
  38286. if b < 0x80 {
  38287. break
  38288. }
  38289. }
  38290. intStringLen := int(stringLen)
  38291. if intStringLen < 0 {
  38292. return ErrInvalidLengthGenerated
  38293. }
  38294. postIndex := iNdEx + intStringLen
  38295. if postIndex > l {
  38296. return io.ErrUnexpectedEOF
  38297. }
  38298. m.PriorityClassName = string(dAtA[iNdEx:postIndex])
  38299. iNdEx = postIndex
  38300. case 25:
  38301. if wireType != 0 {
  38302. return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType)
  38303. }
  38304. var v int32
  38305. for shift := uint(0); ; shift += 7 {
  38306. if shift >= 64 {
  38307. return ErrIntOverflowGenerated
  38308. }
  38309. if iNdEx >= l {
  38310. return io.ErrUnexpectedEOF
  38311. }
  38312. b := dAtA[iNdEx]
  38313. iNdEx++
  38314. v |= (int32(b) & 0x7F) << shift
  38315. if b < 0x80 {
  38316. break
  38317. }
  38318. }
  38319. m.Priority = &v
  38320. case 26:
  38321. if wireType != 2 {
  38322. return fmt.Errorf("proto: wrong wireType = %d for field DNSConfig", wireType)
  38323. }
  38324. var msglen int
  38325. for shift := uint(0); ; shift += 7 {
  38326. if shift >= 64 {
  38327. return ErrIntOverflowGenerated
  38328. }
  38329. if iNdEx >= l {
  38330. return io.ErrUnexpectedEOF
  38331. }
  38332. b := dAtA[iNdEx]
  38333. iNdEx++
  38334. msglen |= (int(b) & 0x7F) << shift
  38335. if b < 0x80 {
  38336. break
  38337. }
  38338. }
  38339. if msglen < 0 {
  38340. return ErrInvalidLengthGenerated
  38341. }
  38342. postIndex := iNdEx + msglen
  38343. if postIndex > l {
  38344. return io.ErrUnexpectedEOF
  38345. }
  38346. if m.DNSConfig == nil {
  38347. m.DNSConfig = &PodDNSConfig{}
  38348. }
  38349. if err := m.DNSConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38350. return err
  38351. }
  38352. iNdEx = postIndex
  38353. case 27:
  38354. if wireType != 0 {
  38355. return fmt.Errorf("proto: wrong wireType = %d for field ShareProcessNamespace", wireType)
  38356. }
  38357. var v int
  38358. for shift := uint(0); ; shift += 7 {
  38359. if shift >= 64 {
  38360. return ErrIntOverflowGenerated
  38361. }
  38362. if iNdEx >= l {
  38363. return io.ErrUnexpectedEOF
  38364. }
  38365. b := dAtA[iNdEx]
  38366. iNdEx++
  38367. v |= (int(b) & 0x7F) << shift
  38368. if b < 0x80 {
  38369. break
  38370. }
  38371. }
  38372. b := bool(v != 0)
  38373. m.ShareProcessNamespace = &b
  38374. default:
  38375. iNdEx = preIndex
  38376. skippy, err := skipGenerated(dAtA[iNdEx:])
  38377. if err != nil {
  38378. return err
  38379. }
  38380. if skippy < 0 {
  38381. return ErrInvalidLengthGenerated
  38382. }
  38383. if (iNdEx + skippy) > l {
  38384. return io.ErrUnexpectedEOF
  38385. }
  38386. iNdEx += skippy
  38387. }
  38388. }
  38389. if iNdEx > l {
  38390. return io.ErrUnexpectedEOF
  38391. }
  38392. return nil
  38393. }
  38394. func (m *PodStatus) Unmarshal(dAtA []byte) error {
  38395. l := len(dAtA)
  38396. iNdEx := 0
  38397. for iNdEx < l {
  38398. preIndex := iNdEx
  38399. var wire uint64
  38400. for shift := uint(0); ; shift += 7 {
  38401. if shift >= 64 {
  38402. return ErrIntOverflowGenerated
  38403. }
  38404. if iNdEx >= l {
  38405. return io.ErrUnexpectedEOF
  38406. }
  38407. b := dAtA[iNdEx]
  38408. iNdEx++
  38409. wire |= (uint64(b) & 0x7F) << shift
  38410. if b < 0x80 {
  38411. break
  38412. }
  38413. }
  38414. fieldNum := int32(wire >> 3)
  38415. wireType := int(wire & 0x7)
  38416. if wireType == 4 {
  38417. return fmt.Errorf("proto: PodStatus: wiretype end group for non-group")
  38418. }
  38419. if fieldNum <= 0 {
  38420. return fmt.Errorf("proto: PodStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  38421. }
  38422. switch fieldNum {
  38423. case 1:
  38424. if wireType != 2 {
  38425. return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  38426. }
  38427. var stringLen uint64
  38428. for shift := uint(0); ; shift += 7 {
  38429. if shift >= 64 {
  38430. return ErrIntOverflowGenerated
  38431. }
  38432. if iNdEx >= l {
  38433. return io.ErrUnexpectedEOF
  38434. }
  38435. b := dAtA[iNdEx]
  38436. iNdEx++
  38437. stringLen |= (uint64(b) & 0x7F) << shift
  38438. if b < 0x80 {
  38439. break
  38440. }
  38441. }
  38442. intStringLen := int(stringLen)
  38443. if intStringLen < 0 {
  38444. return ErrInvalidLengthGenerated
  38445. }
  38446. postIndex := iNdEx + intStringLen
  38447. if postIndex > l {
  38448. return io.ErrUnexpectedEOF
  38449. }
  38450. m.Phase = PodPhase(dAtA[iNdEx:postIndex])
  38451. iNdEx = postIndex
  38452. case 2:
  38453. if wireType != 2 {
  38454. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  38455. }
  38456. var msglen int
  38457. for shift := uint(0); ; shift += 7 {
  38458. if shift >= 64 {
  38459. return ErrIntOverflowGenerated
  38460. }
  38461. if iNdEx >= l {
  38462. return io.ErrUnexpectedEOF
  38463. }
  38464. b := dAtA[iNdEx]
  38465. iNdEx++
  38466. msglen |= (int(b) & 0x7F) << shift
  38467. if b < 0x80 {
  38468. break
  38469. }
  38470. }
  38471. if msglen < 0 {
  38472. return ErrInvalidLengthGenerated
  38473. }
  38474. postIndex := iNdEx + msglen
  38475. if postIndex > l {
  38476. return io.ErrUnexpectedEOF
  38477. }
  38478. m.Conditions = append(m.Conditions, PodCondition{})
  38479. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38480. return err
  38481. }
  38482. iNdEx = postIndex
  38483. case 3:
  38484. if wireType != 2 {
  38485. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  38486. }
  38487. var stringLen uint64
  38488. for shift := uint(0); ; shift += 7 {
  38489. if shift >= 64 {
  38490. return ErrIntOverflowGenerated
  38491. }
  38492. if iNdEx >= l {
  38493. return io.ErrUnexpectedEOF
  38494. }
  38495. b := dAtA[iNdEx]
  38496. iNdEx++
  38497. stringLen |= (uint64(b) & 0x7F) << shift
  38498. if b < 0x80 {
  38499. break
  38500. }
  38501. }
  38502. intStringLen := int(stringLen)
  38503. if intStringLen < 0 {
  38504. return ErrInvalidLengthGenerated
  38505. }
  38506. postIndex := iNdEx + intStringLen
  38507. if postIndex > l {
  38508. return io.ErrUnexpectedEOF
  38509. }
  38510. m.Message = string(dAtA[iNdEx:postIndex])
  38511. iNdEx = postIndex
  38512. case 4:
  38513. if wireType != 2 {
  38514. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  38515. }
  38516. var stringLen uint64
  38517. for shift := uint(0); ; shift += 7 {
  38518. if shift >= 64 {
  38519. return ErrIntOverflowGenerated
  38520. }
  38521. if iNdEx >= l {
  38522. return io.ErrUnexpectedEOF
  38523. }
  38524. b := dAtA[iNdEx]
  38525. iNdEx++
  38526. stringLen |= (uint64(b) & 0x7F) << shift
  38527. if b < 0x80 {
  38528. break
  38529. }
  38530. }
  38531. intStringLen := int(stringLen)
  38532. if intStringLen < 0 {
  38533. return ErrInvalidLengthGenerated
  38534. }
  38535. postIndex := iNdEx + intStringLen
  38536. if postIndex > l {
  38537. return io.ErrUnexpectedEOF
  38538. }
  38539. m.Reason = string(dAtA[iNdEx:postIndex])
  38540. iNdEx = postIndex
  38541. case 5:
  38542. if wireType != 2 {
  38543. return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  38544. }
  38545. var stringLen uint64
  38546. for shift := uint(0); ; shift += 7 {
  38547. if shift >= 64 {
  38548. return ErrIntOverflowGenerated
  38549. }
  38550. if iNdEx >= l {
  38551. return io.ErrUnexpectedEOF
  38552. }
  38553. b := dAtA[iNdEx]
  38554. iNdEx++
  38555. stringLen |= (uint64(b) & 0x7F) << shift
  38556. if b < 0x80 {
  38557. break
  38558. }
  38559. }
  38560. intStringLen := int(stringLen)
  38561. if intStringLen < 0 {
  38562. return ErrInvalidLengthGenerated
  38563. }
  38564. postIndex := iNdEx + intStringLen
  38565. if postIndex > l {
  38566. return io.ErrUnexpectedEOF
  38567. }
  38568. m.HostIP = string(dAtA[iNdEx:postIndex])
  38569. iNdEx = postIndex
  38570. case 6:
  38571. if wireType != 2 {
  38572. return fmt.Errorf("proto: wrong wireType = %d for field PodIP", wireType)
  38573. }
  38574. var stringLen uint64
  38575. for shift := uint(0); ; shift += 7 {
  38576. if shift >= 64 {
  38577. return ErrIntOverflowGenerated
  38578. }
  38579. if iNdEx >= l {
  38580. return io.ErrUnexpectedEOF
  38581. }
  38582. b := dAtA[iNdEx]
  38583. iNdEx++
  38584. stringLen |= (uint64(b) & 0x7F) << shift
  38585. if b < 0x80 {
  38586. break
  38587. }
  38588. }
  38589. intStringLen := int(stringLen)
  38590. if intStringLen < 0 {
  38591. return ErrInvalidLengthGenerated
  38592. }
  38593. postIndex := iNdEx + intStringLen
  38594. if postIndex > l {
  38595. return io.ErrUnexpectedEOF
  38596. }
  38597. m.PodIP = string(dAtA[iNdEx:postIndex])
  38598. iNdEx = postIndex
  38599. case 7:
  38600. if wireType != 2 {
  38601. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  38602. }
  38603. var msglen int
  38604. for shift := uint(0); ; shift += 7 {
  38605. if shift >= 64 {
  38606. return ErrIntOverflowGenerated
  38607. }
  38608. if iNdEx >= l {
  38609. return io.ErrUnexpectedEOF
  38610. }
  38611. b := dAtA[iNdEx]
  38612. iNdEx++
  38613. msglen |= (int(b) & 0x7F) << shift
  38614. if b < 0x80 {
  38615. break
  38616. }
  38617. }
  38618. if msglen < 0 {
  38619. return ErrInvalidLengthGenerated
  38620. }
  38621. postIndex := iNdEx + msglen
  38622. if postIndex > l {
  38623. return io.ErrUnexpectedEOF
  38624. }
  38625. if m.StartTime == nil {
  38626. m.StartTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  38627. }
  38628. if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38629. return err
  38630. }
  38631. iNdEx = postIndex
  38632. case 8:
  38633. if wireType != 2 {
  38634. return fmt.Errorf("proto: wrong wireType = %d for field ContainerStatuses", wireType)
  38635. }
  38636. var msglen int
  38637. for shift := uint(0); ; shift += 7 {
  38638. if shift >= 64 {
  38639. return ErrIntOverflowGenerated
  38640. }
  38641. if iNdEx >= l {
  38642. return io.ErrUnexpectedEOF
  38643. }
  38644. b := dAtA[iNdEx]
  38645. iNdEx++
  38646. msglen |= (int(b) & 0x7F) << shift
  38647. if b < 0x80 {
  38648. break
  38649. }
  38650. }
  38651. if msglen < 0 {
  38652. return ErrInvalidLengthGenerated
  38653. }
  38654. postIndex := iNdEx + msglen
  38655. if postIndex > l {
  38656. return io.ErrUnexpectedEOF
  38657. }
  38658. m.ContainerStatuses = append(m.ContainerStatuses, ContainerStatus{})
  38659. if err := m.ContainerStatuses[len(m.ContainerStatuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38660. return err
  38661. }
  38662. iNdEx = postIndex
  38663. case 9:
  38664. if wireType != 2 {
  38665. return fmt.Errorf("proto: wrong wireType = %d for field QOSClass", wireType)
  38666. }
  38667. var stringLen uint64
  38668. for shift := uint(0); ; shift += 7 {
  38669. if shift >= 64 {
  38670. return ErrIntOverflowGenerated
  38671. }
  38672. if iNdEx >= l {
  38673. return io.ErrUnexpectedEOF
  38674. }
  38675. b := dAtA[iNdEx]
  38676. iNdEx++
  38677. stringLen |= (uint64(b) & 0x7F) << shift
  38678. if b < 0x80 {
  38679. break
  38680. }
  38681. }
  38682. intStringLen := int(stringLen)
  38683. if intStringLen < 0 {
  38684. return ErrInvalidLengthGenerated
  38685. }
  38686. postIndex := iNdEx + intStringLen
  38687. if postIndex > l {
  38688. return io.ErrUnexpectedEOF
  38689. }
  38690. m.QOSClass = PodQOSClass(dAtA[iNdEx:postIndex])
  38691. iNdEx = postIndex
  38692. case 10:
  38693. if wireType != 2 {
  38694. return fmt.Errorf("proto: wrong wireType = %d for field InitContainerStatuses", wireType)
  38695. }
  38696. var msglen int
  38697. for shift := uint(0); ; shift += 7 {
  38698. if shift >= 64 {
  38699. return ErrIntOverflowGenerated
  38700. }
  38701. if iNdEx >= l {
  38702. return io.ErrUnexpectedEOF
  38703. }
  38704. b := dAtA[iNdEx]
  38705. iNdEx++
  38706. msglen |= (int(b) & 0x7F) << shift
  38707. if b < 0x80 {
  38708. break
  38709. }
  38710. }
  38711. if msglen < 0 {
  38712. return ErrInvalidLengthGenerated
  38713. }
  38714. postIndex := iNdEx + msglen
  38715. if postIndex > l {
  38716. return io.ErrUnexpectedEOF
  38717. }
  38718. m.InitContainerStatuses = append(m.InitContainerStatuses, ContainerStatus{})
  38719. if err := m.InitContainerStatuses[len(m.InitContainerStatuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38720. return err
  38721. }
  38722. iNdEx = postIndex
  38723. case 11:
  38724. if wireType != 2 {
  38725. return fmt.Errorf("proto: wrong wireType = %d for field NominatedNodeName", wireType)
  38726. }
  38727. var stringLen uint64
  38728. for shift := uint(0); ; shift += 7 {
  38729. if shift >= 64 {
  38730. return ErrIntOverflowGenerated
  38731. }
  38732. if iNdEx >= l {
  38733. return io.ErrUnexpectedEOF
  38734. }
  38735. b := dAtA[iNdEx]
  38736. iNdEx++
  38737. stringLen |= (uint64(b) & 0x7F) << shift
  38738. if b < 0x80 {
  38739. break
  38740. }
  38741. }
  38742. intStringLen := int(stringLen)
  38743. if intStringLen < 0 {
  38744. return ErrInvalidLengthGenerated
  38745. }
  38746. postIndex := iNdEx + intStringLen
  38747. if postIndex > l {
  38748. return io.ErrUnexpectedEOF
  38749. }
  38750. m.NominatedNodeName = string(dAtA[iNdEx:postIndex])
  38751. iNdEx = postIndex
  38752. default:
  38753. iNdEx = preIndex
  38754. skippy, err := skipGenerated(dAtA[iNdEx:])
  38755. if err != nil {
  38756. return err
  38757. }
  38758. if skippy < 0 {
  38759. return ErrInvalidLengthGenerated
  38760. }
  38761. if (iNdEx + skippy) > l {
  38762. return io.ErrUnexpectedEOF
  38763. }
  38764. iNdEx += skippy
  38765. }
  38766. }
  38767. if iNdEx > l {
  38768. return io.ErrUnexpectedEOF
  38769. }
  38770. return nil
  38771. }
  38772. func (m *PodStatusResult) Unmarshal(dAtA []byte) error {
  38773. l := len(dAtA)
  38774. iNdEx := 0
  38775. for iNdEx < l {
  38776. preIndex := iNdEx
  38777. var wire uint64
  38778. for shift := uint(0); ; shift += 7 {
  38779. if shift >= 64 {
  38780. return ErrIntOverflowGenerated
  38781. }
  38782. if iNdEx >= l {
  38783. return io.ErrUnexpectedEOF
  38784. }
  38785. b := dAtA[iNdEx]
  38786. iNdEx++
  38787. wire |= (uint64(b) & 0x7F) << shift
  38788. if b < 0x80 {
  38789. break
  38790. }
  38791. }
  38792. fieldNum := int32(wire >> 3)
  38793. wireType := int(wire & 0x7)
  38794. if wireType == 4 {
  38795. return fmt.Errorf("proto: PodStatusResult: wiretype end group for non-group")
  38796. }
  38797. if fieldNum <= 0 {
  38798. return fmt.Errorf("proto: PodStatusResult: illegal tag %d (wire type %d)", fieldNum, wire)
  38799. }
  38800. switch fieldNum {
  38801. case 1:
  38802. if wireType != 2 {
  38803. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  38804. }
  38805. var msglen int
  38806. for shift := uint(0); ; shift += 7 {
  38807. if shift >= 64 {
  38808. return ErrIntOverflowGenerated
  38809. }
  38810. if iNdEx >= l {
  38811. return io.ErrUnexpectedEOF
  38812. }
  38813. b := dAtA[iNdEx]
  38814. iNdEx++
  38815. msglen |= (int(b) & 0x7F) << shift
  38816. if b < 0x80 {
  38817. break
  38818. }
  38819. }
  38820. if msglen < 0 {
  38821. return ErrInvalidLengthGenerated
  38822. }
  38823. postIndex := iNdEx + msglen
  38824. if postIndex > l {
  38825. return io.ErrUnexpectedEOF
  38826. }
  38827. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38828. return err
  38829. }
  38830. iNdEx = postIndex
  38831. case 2:
  38832. if wireType != 2 {
  38833. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  38834. }
  38835. var msglen int
  38836. for shift := uint(0); ; shift += 7 {
  38837. if shift >= 64 {
  38838. return ErrIntOverflowGenerated
  38839. }
  38840. if iNdEx >= l {
  38841. return io.ErrUnexpectedEOF
  38842. }
  38843. b := dAtA[iNdEx]
  38844. iNdEx++
  38845. msglen |= (int(b) & 0x7F) << shift
  38846. if b < 0x80 {
  38847. break
  38848. }
  38849. }
  38850. if msglen < 0 {
  38851. return ErrInvalidLengthGenerated
  38852. }
  38853. postIndex := iNdEx + msglen
  38854. if postIndex > l {
  38855. return io.ErrUnexpectedEOF
  38856. }
  38857. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38858. return err
  38859. }
  38860. iNdEx = postIndex
  38861. default:
  38862. iNdEx = preIndex
  38863. skippy, err := skipGenerated(dAtA[iNdEx:])
  38864. if err != nil {
  38865. return err
  38866. }
  38867. if skippy < 0 {
  38868. return ErrInvalidLengthGenerated
  38869. }
  38870. if (iNdEx + skippy) > l {
  38871. return io.ErrUnexpectedEOF
  38872. }
  38873. iNdEx += skippy
  38874. }
  38875. }
  38876. if iNdEx > l {
  38877. return io.ErrUnexpectedEOF
  38878. }
  38879. return nil
  38880. }
  38881. func (m *PodTemplate) Unmarshal(dAtA []byte) error {
  38882. l := len(dAtA)
  38883. iNdEx := 0
  38884. for iNdEx < l {
  38885. preIndex := iNdEx
  38886. var wire uint64
  38887. for shift := uint(0); ; shift += 7 {
  38888. if shift >= 64 {
  38889. return ErrIntOverflowGenerated
  38890. }
  38891. if iNdEx >= l {
  38892. return io.ErrUnexpectedEOF
  38893. }
  38894. b := dAtA[iNdEx]
  38895. iNdEx++
  38896. wire |= (uint64(b) & 0x7F) << shift
  38897. if b < 0x80 {
  38898. break
  38899. }
  38900. }
  38901. fieldNum := int32(wire >> 3)
  38902. wireType := int(wire & 0x7)
  38903. if wireType == 4 {
  38904. return fmt.Errorf("proto: PodTemplate: wiretype end group for non-group")
  38905. }
  38906. if fieldNum <= 0 {
  38907. return fmt.Errorf("proto: PodTemplate: illegal tag %d (wire type %d)", fieldNum, wire)
  38908. }
  38909. switch fieldNum {
  38910. case 1:
  38911. if wireType != 2 {
  38912. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  38913. }
  38914. var msglen int
  38915. for shift := uint(0); ; shift += 7 {
  38916. if shift >= 64 {
  38917. return ErrIntOverflowGenerated
  38918. }
  38919. if iNdEx >= l {
  38920. return io.ErrUnexpectedEOF
  38921. }
  38922. b := dAtA[iNdEx]
  38923. iNdEx++
  38924. msglen |= (int(b) & 0x7F) << shift
  38925. if b < 0x80 {
  38926. break
  38927. }
  38928. }
  38929. if msglen < 0 {
  38930. return ErrInvalidLengthGenerated
  38931. }
  38932. postIndex := iNdEx + msglen
  38933. if postIndex > l {
  38934. return io.ErrUnexpectedEOF
  38935. }
  38936. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38937. return err
  38938. }
  38939. iNdEx = postIndex
  38940. case 2:
  38941. if wireType != 2 {
  38942. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  38943. }
  38944. var msglen int
  38945. for shift := uint(0); ; shift += 7 {
  38946. if shift >= 64 {
  38947. return ErrIntOverflowGenerated
  38948. }
  38949. if iNdEx >= l {
  38950. return io.ErrUnexpectedEOF
  38951. }
  38952. b := dAtA[iNdEx]
  38953. iNdEx++
  38954. msglen |= (int(b) & 0x7F) << shift
  38955. if b < 0x80 {
  38956. break
  38957. }
  38958. }
  38959. if msglen < 0 {
  38960. return ErrInvalidLengthGenerated
  38961. }
  38962. postIndex := iNdEx + msglen
  38963. if postIndex > l {
  38964. return io.ErrUnexpectedEOF
  38965. }
  38966. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  38967. return err
  38968. }
  38969. iNdEx = postIndex
  38970. default:
  38971. iNdEx = preIndex
  38972. skippy, err := skipGenerated(dAtA[iNdEx:])
  38973. if err != nil {
  38974. return err
  38975. }
  38976. if skippy < 0 {
  38977. return ErrInvalidLengthGenerated
  38978. }
  38979. if (iNdEx + skippy) > l {
  38980. return io.ErrUnexpectedEOF
  38981. }
  38982. iNdEx += skippy
  38983. }
  38984. }
  38985. if iNdEx > l {
  38986. return io.ErrUnexpectedEOF
  38987. }
  38988. return nil
  38989. }
  38990. func (m *PodTemplateList) Unmarshal(dAtA []byte) error {
  38991. l := len(dAtA)
  38992. iNdEx := 0
  38993. for iNdEx < l {
  38994. preIndex := iNdEx
  38995. var wire uint64
  38996. for shift := uint(0); ; shift += 7 {
  38997. if shift >= 64 {
  38998. return ErrIntOverflowGenerated
  38999. }
  39000. if iNdEx >= l {
  39001. return io.ErrUnexpectedEOF
  39002. }
  39003. b := dAtA[iNdEx]
  39004. iNdEx++
  39005. wire |= (uint64(b) & 0x7F) << shift
  39006. if b < 0x80 {
  39007. break
  39008. }
  39009. }
  39010. fieldNum := int32(wire >> 3)
  39011. wireType := int(wire & 0x7)
  39012. if wireType == 4 {
  39013. return fmt.Errorf("proto: PodTemplateList: wiretype end group for non-group")
  39014. }
  39015. if fieldNum <= 0 {
  39016. return fmt.Errorf("proto: PodTemplateList: illegal tag %d (wire type %d)", fieldNum, wire)
  39017. }
  39018. switch fieldNum {
  39019. case 1:
  39020. if wireType != 2 {
  39021. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  39022. }
  39023. var msglen int
  39024. for shift := uint(0); ; shift += 7 {
  39025. if shift >= 64 {
  39026. return ErrIntOverflowGenerated
  39027. }
  39028. if iNdEx >= l {
  39029. return io.ErrUnexpectedEOF
  39030. }
  39031. b := dAtA[iNdEx]
  39032. iNdEx++
  39033. msglen |= (int(b) & 0x7F) << shift
  39034. if b < 0x80 {
  39035. break
  39036. }
  39037. }
  39038. if msglen < 0 {
  39039. return ErrInvalidLengthGenerated
  39040. }
  39041. postIndex := iNdEx + msglen
  39042. if postIndex > l {
  39043. return io.ErrUnexpectedEOF
  39044. }
  39045. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39046. return err
  39047. }
  39048. iNdEx = postIndex
  39049. case 2:
  39050. if wireType != 2 {
  39051. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  39052. }
  39053. var msglen int
  39054. for shift := uint(0); ; shift += 7 {
  39055. if shift >= 64 {
  39056. return ErrIntOverflowGenerated
  39057. }
  39058. if iNdEx >= l {
  39059. return io.ErrUnexpectedEOF
  39060. }
  39061. b := dAtA[iNdEx]
  39062. iNdEx++
  39063. msglen |= (int(b) & 0x7F) << shift
  39064. if b < 0x80 {
  39065. break
  39066. }
  39067. }
  39068. if msglen < 0 {
  39069. return ErrInvalidLengthGenerated
  39070. }
  39071. postIndex := iNdEx + msglen
  39072. if postIndex > l {
  39073. return io.ErrUnexpectedEOF
  39074. }
  39075. m.Items = append(m.Items, PodTemplate{})
  39076. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39077. return err
  39078. }
  39079. iNdEx = postIndex
  39080. default:
  39081. iNdEx = preIndex
  39082. skippy, err := skipGenerated(dAtA[iNdEx:])
  39083. if err != nil {
  39084. return err
  39085. }
  39086. if skippy < 0 {
  39087. return ErrInvalidLengthGenerated
  39088. }
  39089. if (iNdEx + skippy) > l {
  39090. return io.ErrUnexpectedEOF
  39091. }
  39092. iNdEx += skippy
  39093. }
  39094. }
  39095. if iNdEx > l {
  39096. return io.ErrUnexpectedEOF
  39097. }
  39098. return nil
  39099. }
  39100. func (m *PodTemplateSpec) Unmarshal(dAtA []byte) error {
  39101. l := len(dAtA)
  39102. iNdEx := 0
  39103. for iNdEx < l {
  39104. preIndex := iNdEx
  39105. var wire uint64
  39106. for shift := uint(0); ; shift += 7 {
  39107. if shift >= 64 {
  39108. return ErrIntOverflowGenerated
  39109. }
  39110. if iNdEx >= l {
  39111. return io.ErrUnexpectedEOF
  39112. }
  39113. b := dAtA[iNdEx]
  39114. iNdEx++
  39115. wire |= (uint64(b) & 0x7F) << shift
  39116. if b < 0x80 {
  39117. break
  39118. }
  39119. }
  39120. fieldNum := int32(wire >> 3)
  39121. wireType := int(wire & 0x7)
  39122. if wireType == 4 {
  39123. return fmt.Errorf("proto: PodTemplateSpec: wiretype end group for non-group")
  39124. }
  39125. if fieldNum <= 0 {
  39126. return fmt.Errorf("proto: PodTemplateSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  39127. }
  39128. switch fieldNum {
  39129. case 1:
  39130. if wireType != 2 {
  39131. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  39132. }
  39133. var msglen int
  39134. for shift := uint(0); ; shift += 7 {
  39135. if shift >= 64 {
  39136. return ErrIntOverflowGenerated
  39137. }
  39138. if iNdEx >= l {
  39139. return io.ErrUnexpectedEOF
  39140. }
  39141. b := dAtA[iNdEx]
  39142. iNdEx++
  39143. msglen |= (int(b) & 0x7F) << shift
  39144. if b < 0x80 {
  39145. break
  39146. }
  39147. }
  39148. if msglen < 0 {
  39149. return ErrInvalidLengthGenerated
  39150. }
  39151. postIndex := iNdEx + msglen
  39152. if postIndex > l {
  39153. return io.ErrUnexpectedEOF
  39154. }
  39155. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39156. return err
  39157. }
  39158. iNdEx = postIndex
  39159. case 2:
  39160. if wireType != 2 {
  39161. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  39162. }
  39163. var msglen int
  39164. for shift := uint(0); ; shift += 7 {
  39165. if shift >= 64 {
  39166. return ErrIntOverflowGenerated
  39167. }
  39168. if iNdEx >= l {
  39169. return io.ErrUnexpectedEOF
  39170. }
  39171. b := dAtA[iNdEx]
  39172. iNdEx++
  39173. msglen |= (int(b) & 0x7F) << shift
  39174. if b < 0x80 {
  39175. break
  39176. }
  39177. }
  39178. if msglen < 0 {
  39179. return ErrInvalidLengthGenerated
  39180. }
  39181. postIndex := iNdEx + msglen
  39182. if postIndex > l {
  39183. return io.ErrUnexpectedEOF
  39184. }
  39185. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39186. return err
  39187. }
  39188. iNdEx = postIndex
  39189. default:
  39190. iNdEx = preIndex
  39191. skippy, err := skipGenerated(dAtA[iNdEx:])
  39192. if err != nil {
  39193. return err
  39194. }
  39195. if skippy < 0 {
  39196. return ErrInvalidLengthGenerated
  39197. }
  39198. if (iNdEx + skippy) > l {
  39199. return io.ErrUnexpectedEOF
  39200. }
  39201. iNdEx += skippy
  39202. }
  39203. }
  39204. if iNdEx > l {
  39205. return io.ErrUnexpectedEOF
  39206. }
  39207. return nil
  39208. }
  39209. func (m *PortworxVolumeSource) Unmarshal(dAtA []byte) error {
  39210. l := len(dAtA)
  39211. iNdEx := 0
  39212. for iNdEx < l {
  39213. preIndex := iNdEx
  39214. var wire uint64
  39215. for shift := uint(0); ; shift += 7 {
  39216. if shift >= 64 {
  39217. return ErrIntOverflowGenerated
  39218. }
  39219. if iNdEx >= l {
  39220. return io.ErrUnexpectedEOF
  39221. }
  39222. b := dAtA[iNdEx]
  39223. iNdEx++
  39224. wire |= (uint64(b) & 0x7F) << shift
  39225. if b < 0x80 {
  39226. break
  39227. }
  39228. }
  39229. fieldNum := int32(wire >> 3)
  39230. wireType := int(wire & 0x7)
  39231. if wireType == 4 {
  39232. return fmt.Errorf("proto: PortworxVolumeSource: wiretype end group for non-group")
  39233. }
  39234. if fieldNum <= 0 {
  39235. return fmt.Errorf("proto: PortworxVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  39236. }
  39237. switch fieldNum {
  39238. case 1:
  39239. if wireType != 2 {
  39240. return fmt.Errorf("proto: wrong wireType = %d for field VolumeID", wireType)
  39241. }
  39242. var stringLen uint64
  39243. for shift := uint(0); ; shift += 7 {
  39244. if shift >= 64 {
  39245. return ErrIntOverflowGenerated
  39246. }
  39247. if iNdEx >= l {
  39248. return io.ErrUnexpectedEOF
  39249. }
  39250. b := dAtA[iNdEx]
  39251. iNdEx++
  39252. stringLen |= (uint64(b) & 0x7F) << shift
  39253. if b < 0x80 {
  39254. break
  39255. }
  39256. }
  39257. intStringLen := int(stringLen)
  39258. if intStringLen < 0 {
  39259. return ErrInvalidLengthGenerated
  39260. }
  39261. postIndex := iNdEx + intStringLen
  39262. if postIndex > l {
  39263. return io.ErrUnexpectedEOF
  39264. }
  39265. m.VolumeID = string(dAtA[iNdEx:postIndex])
  39266. iNdEx = postIndex
  39267. case 2:
  39268. if wireType != 2 {
  39269. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  39270. }
  39271. var stringLen uint64
  39272. for shift := uint(0); ; shift += 7 {
  39273. if shift >= 64 {
  39274. return ErrIntOverflowGenerated
  39275. }
  39276. if iNdEx >= l {
  39277. return io.ErrUnexpectedEOF
  39278. }
  39279. b := dAtA[iNdEx]
  39280. iNdEx++
  39281. stringLen |= (uint64(b) & 0x7F) << shift
  39282. if b < 0x80 {
  39283. break
  39284. }
  39285. }
  39286. intStringLen := int(stringLen)
  39287. if intStringLen < 0 {
  39288. return ErrInvalidLengthGenerated
  39289. }
  39290. postIndex := iNdEx + intStringLen
  39291. if postIndex > l {
  39292. return io.ErrUnexpectedEOF
  39293. }
  39294. m.FSType = string(dAtA[iNdEx:postIndex])
  39295. iNdEx = postIndex
  39296. case 3:
  39297. if wireType != 0 {
  39298. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  39299. }
  39300. var v int
  39301. for shift := uint(0); ; shift += 7 {
  39302. if shift >= 64 {
  39303. return ErrIntOverflowGenerated
  39304. }
  39305. if iNdEx >= l {
  39306. return io.ErrUnexpectedEOF
  39307. }
  39308. b := dAtA[iNdEx]
  39309. iNdEx++
  39310. v |= (int(b) & 0x7F) << shift
  39311. if b < 0x80 {
  39312. break
  39313. }
  39314. }
  39315. m.ReadOnly = bool(v != 0)
  39316. default:
  39317. iNdEx = preIndex
  39318. skippy, err := skipGenerated(dAtA[iNdEx:])
  39319. if err != nil {
  39320. return err
  39321. }
  39322. if skippy < 0 {
  39323. return ErrInvalidLengthGenerated
  39324. }
  39325. if (iNdEx + skippy) > l {
  39326. return io.ErrUnexpectedEOF
  39327. }
  39328. iNdEx += skippy
  39329. }
  39330. }
  39331. if iNdEx > l {
  39332. return io.ErrUnexpectedEOF
  39333. }
  39334. return nil
  39335. }
  39336. func (m *Preconditions) Unmarshal(dAtA []byte) error {
  39337. l := len(dAtA)
  39338. iNdEx := 0
  39339. for iNdEx < l {
  39340. preIndex := iNdEx
  39341. var wire uint64
  39342. for shift := uint(0); ; shift += 7 {
  39343. if shift >= 64 {
  39344. return ErrIntOverflowGenerated
  39345. }
  39346. if iNdEx >= l {
  39347. return io.ErrUnexpectedEOF
  39348. }
  39349. b := dAtA[iNdEx]
  39350. iNdEx++
  39351. wire |= (uint64(b) & 0x7F) << shift
  39352. if b < 0x80 {
  39353. break
  39354. }
  39355. }
  39356. fieldNum := int32(wire >> 3)
  39357. wireType := int(wire & 0x7)
  39358. if wireType == 4 {
  39359. return fmt.Errorf("proto: Preconditions: wiretype end group for non-group")
  39360. }
  39361. if fieldNum <= 0 {
  39362. return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire)
  39363. }
  39364. switch fieldNum {
  39365. case 1:
  39366. if wireType != 2 {
  39367. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  39368. }
  39369. var stringLen uint64
  39370. for shift := uint(0); ; shift += 7 {
  39371. if shift >= 64 {
  39372. return ErrIntOverflowGenerated
  39373. }
  39374. if iNdEx >= l {
  39375. return io.ErrUnexpectedEOF
  39376. }
  39377. b := dAtA[iNdEx]
  39378. iNdEx++
  39379. stringLen |= (uint64(b) & 0x7F) << shift
  39380. if b < 0x80 {
  39381. break
  39382. }
  39383. }
  39384. intStringLen := int(stringLen)
  39385. if intStringLen < 0 {
  39386. return ErrInvalidLengthGenerated
  39387. }
  39388. postIndex := iNdEx + intStringLen
  39389. if postIndex > l {
  39390. return io.ErrUnexpectedEOF
  39391. }
  39392. s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  39393. m.UID = &s
  39394. iNdEx = postIndex
  39395. default:
  39396. iNdEx = preIndex
  39397. skippy, err := skipGenerated(dAtA[iNdEx:])
  39398. if err != nil {
  39399. return err
  39400. }
  39401. if skippy < 0 {
  39402. return ErrInvalidLengthGenerated
  39403. }
  39404. if (iNdEx + skippy) > l {
  39405. return io.ErrUnexpectedEOF
  39406. }
  39407. iNdEx += skippy
  39408. }
  39409. }
  39410. if iNdEx > l {
  39411. return io.ErrUnexpectedEOF
  39412. }
  39413. return nil
  39414. }
  39415. func (m *PreferAvoidPodsEntry) Unmarshal(dAtA []byte) error {
  39416. l := len(dAtA)
  39417. iNdEx := 0
  39418. for iNdEx < l {
  39419. preIndex := iNdEx
  39420. var wire uint64
  39421. for shift := uint(0); ; shift += 7 {
  39422. if shift >= 64 {
  39423. return ErrIntOverflowGenerated
  39424. }
  39425. if iNdEx >= l {
  39426. return io.ErrUnexpectedEOF
  39427. }
  39428. b := dAtA[iNdEx]
  39429. iNdEx++
  39430. wire |= (uint64(b) & 0x7F) << shift
  39431. if b < 0x80 {
  39432. break
  39433. }
  39434. }
  39435. fieldNum := int32(wire >> 3)
  39436. wireType := int(wire & 0x7)
  39437. if wireType == 4 {
  39438. return fmt.Errorf("proto: PreferAvoidPodsEntry: wiretype end group for non-group")
  39439. }
  39440. if fieldNum <= 0 {
  39441. return fmt.Errorf("proto: PreferAvoidPodsEntry: illegal tag %d (wire type %d)", fieldNum, wire)
  39442. }
  39443. switch fieldNum {
  39444. case 1:
  39445. if wireType != 2 {
  39446. return fmt.Errorf("proto: wrong wireType = %d for field PodSignature", wireType)
  39447. }
  39448. var msglen int
  39449. for shift := uint(0); ; shift += 7 {
  39450. if shift >= 64 {
  39451. return ErrIntOverflowGenerated
  39452. }
  39453. if iNdEx >= l {
  39454. return io.ErrUnexpectedEOF
  39455. }
  39456. b := dAtA[iNdEx]
  39457. iNdEx++
  39458. msglen |= (int(b) & 0x7F) << shift
  39459. if b < 0x80 {
  39460. break
  39461. }
  39462. }
  39463. if msglen < 0 {
  39464. return ErrInvalidLengthGenerated
  39465. }
  39466. postIndex := iNdEx + msglen
  39467. if postIndex > l {
  39468. return io.ErrUnexpectedEOF
  39469. }
  39470. if err := m.PodSignature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39471. return err
  39472. }
  39473. iNdEx = postIndex
  39474. case 2:
  39475. if wireType != 2 {
  39476. return fmt.Errorf("proto: wrong wireType = %d for field EvictionTime", wireType)
  39477. }
  39478. var msglen int
  39479. for shift := uint(0); ; shift += 7 {
  39480. if shift >= 64 {
  39481. return ErrIntOverflowGenerated
  39482. }
  39483. if iNdEx >= l {
  39484. return io.ErrUnexpectedEOF
  39485. }
  39486. b := dAtA[iNdEx]
  39487. iNdEx++
  39488. msglen |= (int(b) & 0x7F) << shift
  39489. if b < 0x80 {
  39490. break
  39491. }
  39492. }
  39493. if msglen < 0 {
  39494. return ErrInvalidLengthGenerated
  39495. }
  39496. postIndex := iNdEx + msglen
  39497. if postIndex > l {
  39498. return io.ErrUnexpectedEOF
  39499. }
  39500. if err := m.EvictionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39501. return err
  39502. }
  39503. iNdEx = postIndex
  39504. case 3:
  39505. if wireType != 2 {
  39506. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  39507. }
  39508. var stringLen uint64
  39509. for shift := uint(0); ; shift += 7 {
  39510. if shift >= 64 {
  39511. return ErrIntOverflowGenerated
  39512. }
  39513. if iNdEx >= l {
  39514. return io.ErrUnexpectedEOF
  39515. }
  39516. b := dAtA[iNdEx]
  39517. iNdEx++
  39518. stringLen |= (uint64(b) & 0x7F) << shift
  39519. if b < 0x80 {
  39520. break
  39521. }
  39522. }
  39523. intStringLen := int(stringLen)
  39524. if intStringLen < 0 {
  39525. return ErrInvalidLengthGenerated
  39526. }
  39527. postIndex := iNdEx + intStringLen
  39528. if postIndex > l {
  39529. return io.ErrUnexpectedEOF
  39530. }
  39531. m.Reason = string(dAtA[iNdEx:postIndex])
  39532. iNdEx = postIndex
  39533. case 4:
  39534. if wireType != 2 {
  39535. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  39536. }
  39537. var stringLen uint64
  39538. for shift := uint(0); ; shift += 7 {
  39539. if shift >= 64 {
  39540. return ErrIntOverflowGenerated
  39541. }
  39542. if iNdEx >= l {
  39543. return io.ErrUnexpectedEOF
  39544. }
  39545. b := dAtA[iNdEx]
  39546. iNdEx++
  39547. stringLen |= (uint64(b) & 0x7F) << shift
  39548. if b < 0x80 {
  39549. break
  39550. }
  39551. }
  39552. intStringLen := int(stringLen)
  39553. if intStringLen < 0 {
  39554. return ErrInvalidLengthGenerated
  39555. }
  39556. postIndex := iNdEx + intStringLen
  39557. if postIndex > l {
  39558. return io.ErrUnexpectedEOF
  39559. }
  39560. m.Message = string(dAtA[iNdEx:postIndex])
  39561. iNdEx = postIndex
  39562. default:
  39563. iNdEx = preIndex
  39564. skippy, err := skipGenerated(dAtA[iNdEx:])
  39565. if err != nil {
  39566. return err
  39567. }
  39568. if skippy < 0 {
  39569. return ErrInvalidLengthGenerated
  39570. }
  39571. if (iNdEx + skippy) > l {
  39572. return io.ErrUnexpectedEOF
  39573. }
  39574. iNdEx += skippy
  39575. }
  39576. }
  39577. if iNdEx > l {
  39578. return io.ErrUnexpectedEOF
  39579. }
  39580. return nil
  39581. }
  39582. func (m *PreferredSchedulingTerm) Unmarshal(dAtA []byte) error {
  39583. l := len(dAtA)
  39584. iNdEx := 0
  39585. for iNdEx < l {
  39586. preIndex := iNdEx
  39587. var wire uint64
  39588. for shift := uint(0); ; shift += 7 {
  39589. if shift >= 64 {
  39590. return ErrIntOverflowGenerated
  39591. }
  39592. if iNdEx >= l {
  39593. return io.ErrUnexpectedEOF
  39594. }
  39595. b := dAtA[iNdEx]
  39596. iNdEx++
  39597. wire |= (uint64(b) & 0x7F) << shift
  39598. if b < 0x80 {
  39599. break
  39600. }
  39601. }
  39602. fieldNum := int32(wire >> 3)
  39603. wireType := int(wire & 0x7)
  39604. if wireType == 4 {
  39605. return fmt.Errorf("proto: PreferredSchedulingTerm: wiretype end group for non-group")
  39606. }
  39607. if fieldNum <= 0 {
  39608. return fmt.Errorf("proto: PreferredSchedulingTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  39609. }
  39610. switch fieldNum {
  39611. case 1:
  39612. if wireType != 0 {
  39613. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  39614. }
  39615. m.Weight = 0
  39616. for shift := uint(0); ; shift += 7 {
  39617. if shift >= 64 {
  39618. return ErrIntOverflowGenerated
  39619. }
  39620. if iNdEx >= l {
  39621. return io.ErrUnexpectedEOF
  39622. }
  39623. b := dAtA[iNdEx]
  39624. iNdEx++
  39625. m.Weight |= (int32(b) & 0x7F) << shift
  39626. if b < 0x80 {
  39627. break
  39628. }
  39629. }
  39630. case 2:
  39631. if wireType != 2 {
  39632. return fmt.Errorf("proto: wrong wireType = %d for field Preference", wireType)
  39633. }
  39634. var msglen int
  39635. for shift := uint(0); ; shift += 7 {
  39636. if shift >= 64 {
  39637. return ErrIntOverflowGenerated
  39638. }
  39639. if iNdEx >= l {
  39640. return io.ErrUnexpectedEOF
  39641. }
  39642. b := dAtA[iNdEx]
  39643. iNdEx++
  39644. msglen |= (int(b) & 0x7F) << shift
  39645. if b < 0x80 {
  39646. break
  39647. }
  39648. }
  39649. if msglen < 0 {
  39650. return ErrInvalidLengthGenerated
  39651. }
  39652. postIndex := iNdEx + msglen
  39653. if postIndex > l {
  39654. return io.ErrUnexpectedEOF
  39655. }
  39656. if err := m.Preference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39657. return err
  39658. }
  39659. iNdEx = postIndex
  39660. default:
  39661. iNdEx = preIndex
  39662. skippy, err := skipGenerated(dAtA[iNdEx:])
  39663. if err != nil {
  39664. return err
  39665. }
  39666. if skippy < 0 {
  39667. return ErrInvalidLengthGenerated
  39668. }
  39669. if (iNdEx + skippy) > l {
  39670. return io.ErrUnexpectedEOF
  39671. }
  39672. iNdEx += skippy
  39673. }
  39674. }
  39675. if iNdEx > l {
  39676. return io.ErrUnexpectedEOF
  39677. }
  39678. return nil
  39679. }
  39680. func (m *Probe) Unmarshal(dAtA []byte) error {
  39681. l := len(dAtA)
  39682. iNdEx := 0
  39683. for iNdEx < l {
  39684. preIndex := iNdEx
  39685. var wire uint64
  39686. for shift := uint(0); ; shift += 7 {
  39687. if shift >= 64 {
  39688. return ErrIntOverflowGenerated
  39689. }
  39690. if iNdEx >= l {
  39691. return io.ErrUnexpectedEOF
  39692. }
  39693. b := dAtA[iNdEx]
  39694. iNdEx++
  39695. wire |= (uint64(b) & 0x7F) << shift
  39696. if b < 0x80 {
  39697. break
  39698. }
  39699. }
  39700. fieldNum := int32(wire >> 3)
  39701. wireType := int(wire & 0x7)
  39702. if wireType == 4 {
  39703. return fmt.Errorf("proto: Probe: wiretype end group for non-group")
  39704. }
  39705. if fieldNum <= 0 {
  39706. return fmt.Errorf("proto: Probe: illegal tag %d (wire type %d)", fieldNum, wire)
  39707. }
  39708. switch fieldNum {
  39709. case 1:
  39710. if wireType != 2 {
  39711. return fmt.Errorf("proto: wrong wireType = %d for field Handler", wireType)
  39712. }
  39713. var msglen int
  39714. for shift := uint(0); ; shift += 7 {
  39715. if shift >= 64 {
  39716. return ErrIntOverflowGenerated
  39717. }
  39718. if iNdEx >= l {
  39719. return io.ErrUnexpectedEOF
  39720. }
  39721. b := dAtA[iNdEx]
  39722. iNdEx++
  39723. msglen |= (int(b) & 0x7F) << shift
  39724. if b < 0x80 {
  39725. break
  39726. }
  39727. }
  39728. if msglen < 0 {
  39729. return ErrInvalidLengthGenerated
  39730. }
  39731. postIndex := iNdEx + msglen
  39732. if postIndex > l {
  39733. return io.ErrUnexpectedEOF
  39734. }
  39735. if err := m.Handler.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39736. return err
  39737. }
  39738. iNdEx = postIndex
  39739. case 2:
  39740. if wireType != 0 {
  39741. return fmt.Errorf("proto: wrong wireType = %d for field InitialDelaySeconds", wireType)
  39742. }
  39743. m.InitialDelaySeconds = 0
  39744. for shift := uint(0); ; shift += 7 {
  39745. if shift >= 64 {
  39746. return ErrIntOverflowGenerated
  39747. }
  39748. if iNdEx >= l {
  39749. return io.ErrUnexpectedEOF
  39750. }
  39751. b := dAtA[iNdEx]
  39752. iNdEx++
  39753. m.InitialDelaySeconds |= (int32(b) & 0x7F) << shift
  39754. if b < 0x80 {
  39755. break
  39756. }
  39757. }
  39758. case 3:
  39759. if wireType != 0 {
  39760. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  39761. }
  39762. m.TimeoutSeconds = 0
  39763. for shift := uint(0); ; shift += 7 {
  39764. if shift >= 64 {
  39765. return ErrIntOverflowGenerated
  39766. }
  39767. if iNdEx >= l {
  39768. return io.ErrUnexpectedEOF
  39769. }
  39770. b := dAtA[iNdEx]
  39771. iNdEx++
  39772. m.TimeoutSeconds |= (int32(b) & 0x7F) << shift
  39773. if b < 0x80 {
  39774. break
  39775. }
  39776. }
  39777. case 4:
  39778. if wireType != 0 {
  39779. return fmt.Errorf("proto: wrong wireType = %d for field PeriodSeconds", wireType)
  39780. }
  39781. m.PeriodSeconds = 0
  39782. for shift := uint(0); ; shift += 7 {
  39783. if shift >= 64 {
  39784. return ErrIntOverflowGenerated
  39785. }
  39786. if iNdEx >= l {
  39787. return io.ErrUnexpectedEOF
  39788. }
  39789. b := dAtA[iNdEx]
  39790. iNdEx++
  39791. m.PeriodSeconds |= (int32(b) & 0x7F) << shift
  39792. if b < 0x80 {
  39793. break
  39794. }
  39795. }
  39796. case 5:
  39797. if wireType != 0 {
  39798. return fmt.Errorf("proto: wrong wireType = %d for field SuccessThreshold", wireType)
  39799. }
  39800. m.SuccessThreshold = 0
  39801. for shift := uint(0); ; shift += 7 {
  39802. if shift >= 64 {
  39803. return ErrIntOverflowGenerated
  39804. }
  39805. if iNdEx >= l {
  39806. return io.ErrUnexpectedEOF
  39807. }
  39808. b := dAtA[iNdEx]
  39809. iNdEx++
  39810. m.SuccessThreshold |= (int32(b) & 0x7F) << shift
  39811. if b < 0x80 {
  39812. break
  39813. }
  39814. }
  39815. case 6:
  39816. if wireType != 0 {
  39817. return fmt.Errorf("proto: wrong wireType = %d for field FailureThreshold", wireType)
  39818. }
  39819. m.FailureThreshold = 0
  39820. for shift := uint(0); ; shift += 7 {
  39821. if shift >= 64 {
  39822. return ErrIntOverflowGenerated
  39823. }
  39824. if iNdEx >= l {
  39825. return io.ErrUnexpectedEOF
  39826. }
  39827. b := dAtA[iNdEx]
  39828. iNdEx++
  39829. m.FailureThreshold |= (int32(b) & 0x7F) << shift
  39830. if b < 0x80 {
  39831. break
  39832. }
  39833. }
  39834. default:
  39835. iNdEx = preIndex
  39836. skippy, err := skipGenerated(dAtA[iNdEx:])
  39837. if err != nil {
  39838. return err
  39839. }
  39840. if skippy < 0 {
  39841. return ErrInvalidLengthGenerated
  39842. }
  39843. if (iNdEx + skippy) > l {
  39844. return io.ErrUnexpectedEOF
  39845. }
  39846. iNdEx += skippy
  39847. }
  39848. }
  39849. if iNdEx > l {
  39850. return io.ErrUnexpectedEOF
  39851. }
  39852. return nil
  39853. }
  39854. func (m *ProjectedVolumeSource) Unmarshal(dAtA []byte) error {
  39855. l := len(dAtA)
  39856. iNdEx := 0
  39857. for iNdEx < l {
  39858. preIndex := iNdEx
  39859. var wire uint64
  39860. for shift := uint(0); ; shift += 7 {
  39861. if shift >= 64 {
  39862. return ErrIntOverflowGenerated
  39863. }
  39864. if iNdEx >= l {
  39865. return io.ErrUnexpectedEOF
  39866. }
  39867. b := dAtA[iNdEx]
  39868. iNdEx++
  39869. wire |= (uint64(b) & 0x7F) << shift
  39870. if b < 0x80 {
  39871. break
  39872. }
  39873. }
  39874. fieldNum := int32(wire >> 3)
  39875. wireType := int(wire & 0x7)
  39876. if wireType == 4 {
  39877. return fmt.Errorf("proto: ProjectedVolumeSource: wiretype end group for non-group")
  39878. }
  39879. if fieldNum <= 0 {
  39880. return fmt.Errorf("proto: ProjectedVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  39881. }
  39882. switch fieldNum {
  39883. case 1:
  39884. if wireType != 2 {
  39885. return fmt.Errorf("proto: wrong wireType = %d for field Sources", wireType)
  39886. }
  39887. var msglen int
  39888. for shift := uint(0); ; shift += 7 {
  39889. if shift >= 64 {
  39890. return ErrIntOverflowGenerated
  39891. }
  39892. if iNdEx >= l {
  39893. return io.ErrUnexpectedEOF
  39894. }
  39895. b := dAtA[iNdEx]
  39896. iNdEx++
  39897. msglen |= (int(b) & 0x7F) << shift
  39898. if b < 0x80 {
  39899. break
  39900. }
  39901. }
  39902. if msglen < 0 {
  39903. return ErrInvalidLengthGenerated
  39904. }
  39905. postIndex := iNdEx + msglen
  39906. if postIndex > l {
  39907. return io.ErrUnexpectedEOF
  39908. }
  39909. m.Sources = append(m.Sources, VolumeProjection{})
  39910. if err := m.Sources[len(m.Sources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  39911. return err
  39912. }
  39913. iNdEx = postIndex
  39914. case 2:
  39915. if wireType != 0 {
  39916. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  39917. }
  39918. var v int32
  39919. for shift := uint(0); ; shift += 7 {
  39920. if shift >= 64 {
  39921. return ErrIntOverflowGenerated
  39922. }
  39923. if iNdEx >= l {
  39924. return io.ErrUnexpectedEOF
  39925. }
  39926. b := dAtA[iNdEx]
  39927. iNdEx++
  39928. v |= (int32(b) & 0x7F) << shift
  39929. if b < 0x80 {
  39930. break
  39931. }
  39932. }
  39933. m.DefaultMode = &v
  39934. default:
  39935. iNdEx = preIndex
  39936. skippy, err := skipGenerated(dAtA[iNdEx:])
  39937. if err != nil {
  39938. return err
  39939. }
  39940. if skippy < 0 {
  39941. return ErrInvalidLengthGenerated
  39942. }
  39943. if (iNdEx + skippy) > l {
  39944. return io.ErrUnexpectedEOF
  39945. }
  39946. iNdEx += skippy
  39947. }
  39948. }
  39949. if iNdEx > l {
  39950. return io.ErrUnexpectedEOF
  39951. }
  39952. return nil
  39953. }
  39954. func (m *QuobyteVolumeSource) Unmarshal(dAtA []byte) error {
  39955. l := len(dAtA)
  39956. iNdEx := 0
  39957. for iNdEx < l {
  39958. preIndex := iNdEx
  39959. var wire uint64
  39960. for shift := uint(0); ; shift += 7 {
  39961. if shift >= 64 {
  39962. return ErrIntOverflowGenerated
  39963. }
  39964. if iNdEx >= l {
  39965. return io.ErrUnexpectedEOF
  39966. }
  39967. b := dAtA[iNdEx]
  39968. iNdEx++
  39969. wire |= (uint64(b) & 0x7F) << shift
  39970. if b < 0x80 {
  39971. break
  39972. }
  39973. }
  39974. fieldNum := int32(wire >> 3)
  39975. wireType := int(wire & 0x7)
  39976. if wireType == 4 {
  39977. return fmt.Errorf("proto: QuobyteVolumeSource: wiretype end group for non-group")
  39978. }
  39979. if fieldNum <= 0 {
  39980. return fmt.Errorf("proto: QuobyteVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  39981. }
  39982. switch fieldNum {
  39983. case 1:
  39984. if wireType != 2 {
  39985. return fmt.Errorf("proto: wrong wireType = %d for field Registry", wireType)
  39986. }
  39987. var stringLen uint64
  39988. for shift := uint(0); ; shift += 7 {
  39989. if shift >= 64 {
  39990. return ErrIntOverflowGenerated
  39991. }
  39992. if iNdEx >= l {
  39993. return io.ErrUnexpectedEOF
  39994. }
  39995. b := dAtA[iNdEx]
  39996. iNdEx++
  39997. stringLen |= (uint64(b) & 0x7F) << shift
  39998. if b < 0x80 {
  39999. break
  40000. }
  40001. }
  40002. intStringLen := int(stringLen)
  40003. if intStringLen < 0 {
  40004. return ErrInvalidLengthGenerated
  40005. }
  40006. postIndex := iNdEx + intStringLen
  40007. if postIndex > l {
  40008. return io.ErrUnexpectedEOF
  40009. }
  40010. m.Registry = string(dAtA[iNdEx:postIndex])
  40011. iNdEx = postIndex
  40012. case 2:
  40013. if wireType != 2 {
  40014. return fmt.Errorf("proto: wrong wireType = %d for field Volume", wireType)
  40015. }
  40016. var stringLen uint64
  40017. for shift := uint(0); ; shift += 7 {
  40018. if shift >= 64 {
  40019. return ErrIntOverflowGenerated
  40020. }
  40021. if iNdEx >= l {
  40022. return io.ErrUnexpectedEOF
  40023. }
  40024. b := dAtA[iNdEx]
  40025. iNdEx++
  40026. stringLen |= (uint64(b) & 0x7F) << shift
  40027. if b < 0x80 {
  40028. break
  40029. }
  40030. }
  40031. intStringLen := int(stringLen)
  40032. if intStringLen < 0 {
  40033. return ErrInvalidLengthGenerated
  40034. }
  40035. postIndex := iNdEx + intStringLen
  40036. if postIndex > l {
  40037. return io.ErrUnexpectedEOF
  40038. }
  40039. m.Volume = string(dAtA[iNdEx:postIndex])
  40040. iNdEx = postIndex
  40041. case 3:
  40042. if wireType != 0 {
  40043. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  40044. }
  40045. var v int
  40046. for shift := uint(0); ; shift += 7 {
  40047. if shift >= 64 {
  40048. return ErrIntOverflowGenerated
  40049. }
  40050. if iNdEx >= l {
  40051. return io.ErrUnexpectedEOF
  40052. }
  40053. b := dAtA[iNdEx]
  40054. iNdEx++
  40055. v |= (int(b) & 0x7F) << shift
  40056. if b < 0x80 {
  40057. break
  40058. }
  40059. }
  40060. m.ReadOnly = bool(v != 0)
  40061. case 4:
  40062. if wireType != 2 {
  40063. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  40064. }
  40065. var stringLen uint64
  40066. for shift := uint(0); ; shift += 7 {
  40067. if shift >= 64 {
  40068. return ErrIntOverflowGenerated
  40069. }
  40070. if iNdEx >= l {
  40071. return io.ErrUnexpectedEOF
  40072. }
  40073. b := dAtA[iNdEx]
  40074. iNdEx++
  40075. stringLen |= (uint64(b) & 0x7F) << shift
  40076. if b < 0x80 {
  40077. break
  40078. }
  40079. }
  40080. intStringLen := int(stringLen)
  40081. if intStringLen < 0 {
  40082. return ErrInvalidLengthGenerated
  40083. }
  40084. postIndex := iNdEx + intStringLen
  40085. if postIndex > l {
  40086. return io.ErrUnexpectedEOF
  40087. }
  40088. m.User = string(dAtA[iNdEx:postIndex])
  40089. iNdEx = postIndex
  40090. case 5:
  40091. if wireType != 2 {
  40092. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  40093. }
  40094. var stringLen uint64
  40095. for shift := uint(0); ; shift += 7 {
  40096. if shift >= 64 {
  40097. return ErrIntOverflowGenerated
  40098. }
  40099. if iNdEx >= l {
  40100. return io.ErrUnexpectedEOF
  40101. }
  40102. b := dAtA[iNdEx]
  40103. iNdEx++
  40104. stringLen |= (uint64(b) & 0x7F) << shift
  40105. if b < 0x80 {
  40106. break
  40107. }
  40108. }
  40109. intStringLen := int(stringLen)
  40110. if intStringLen < 0 {
  40111. return ErrInvalidLengthGenerated
  40112. }
  40113. postIndex := iNdEx + intStringLen
  40114. if postIndex > l {
  40115. return io.ErrUnexpectedEOF
  40116. }
  40117. m.Group = string(dAtA[iNdEx:postIndex])
  40118. iNdEx = postIndex
  40119. default:
  40120. iNdEx = preIndex
  40121. skippy, err := skipGenerated(dAtA[iNdEx:])
  40122. if err != nil {
  40123. return err
  40124. }
  40125. if skippy < 0 {
  40126. return ErrInvalidLengthGenerated
  40127. }
  40128. if (iNdEx + skippy) > l {
  40129. return io.ErrUnexpectedEOF
  40130. }
  40131. iNdEx += skippy
  40132. }
  40133. }
  40134. if iNdEx > l {
  40135. return io.ErrUnexpectedEOF
  40136. }
  40137. return nil
  40138. }
  40139. func (m *RBDPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  40140. l := len(dAtA)
  40141. iNdEx := 0
  40142. for iNdEx < l {
  40143. preIndex := iNdEx
  40144. var wire uint64
  40145. for shift := uint(0); ; shift += 7 {
  40146. if shift >= 64 {
  40147. return ErrIntOverflowGenerated
  40148. }
  40149. if iNdEx >= l {
  40150. return io.ErrUnexpectedEOF
  40151. }
  40152. b := dAtA[iNdEx]
  40153. iNdEx++
  40154. wire |= (uint64(b) & 0x7F) << shift
  40155. if b < 0x80 {
  40156. break
  40157. }
  40158. }
  40159. fieldNum := int32(wire >> 3)
  40160. wireType := int(wire & 0x7)
  40161. if wireType == 4 {
  40162. return fmt.Errorf("proto: RBDPersistentVolumeSource: wiretype end group for non-group")
  40163. }
  40164. if fieldNum <= 0 {
  40165. return fmt.Errorf("proto: RBDPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  40166. }
  40167. switch fieldNum {
  40168. case 1:
  40169. if wireType != 2 {
  40170. return fmt.Errorf("proto: wrong wireType = %d for field CephMonitors", wireType)
  40171. }
  40172. var stringLen uint64
  40173. for shift := uint(0); ; shift += 7 {
  40174. if shift >= 64 {
  40175. return ErrIntOverflowGenerated
  40176. }
  40177. if iNdEx >= l {
  40178. return io.ErrUnexpectedEOF
  40179. }
  40180. b := dAtA[iNdEx]
  40181. iNdEx++
  40182. stringLen |= (uint64(b) & 0x7F) << shift
  40183. if b < 0x80 {
  40184. break
  40185. }
  40186. }
  40187. intStringLen := int(stringLen)
  40188. if intStringLen < 0 {
  40189. return ErrInvalidLengthGenerated
  40190. }
  40191. postIndex := iNdEx + intStringLen
  40192. if postIndex > l {
  40193. return io.ErrUnexpectedEOF
  40194. }
  40195. m.CephMonitors = append(m.CephMonitors, string(dAtA[iNdEx:postIndex]))
  40196. iNdEx = postIndex
  40197. case 2:
  40198. if wireType != 2 {
  40199. return fmt.Errorf("proto: wrong wireType = %d for field RBDImage", wireType)
  40200. }
  40201. var stringLen uint64
  40202. for shift := uint(0); ; shift += 7 {
  40203. if shift >= 64 {
  40204. return ErrIntOverflowGenerated
  40205. }
  40206. if iNdEx >= l {
  40207. return io.ErrUnexpectedEOF
  40208. }
  40209. b := dAtA[iNdEx]
  40210. iNdEx++
  40211. stringLen |= (uint64(b) & 0x7F) << shift
  40212. if b < 0x80 {
  40213. break
  40214. }
  40215. }
  40216. intStringLen := int(stringLen)
  40217. if intStringLen < 0 {
  40218. return ErrInvalidLengthGenerated
  40219. }
  40220. postIndex := iNdEx + intStringLen
  40221. if postIndex > l {
  40222. return io.ErrUnexpectedEOF
  40223. }
  40224. m.RBDImage = string(dAtA[iNdEx:postIndex])
  40225. iNdEx = postIndex
  40226. case 3:
  40227. if wireType != 2 {
  40228. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  40229. }
  40230. var stringLen uint64
  40231. for shift := uint(0); ; shift += 7 {
  40232. if shift >= 64 {
  40233. return ErrIntOverflowGenerated
  40234. }
  40235. if iNdEx >= l {
  40236. return io.ErrUnexpectedEOF
  40237. }
  40238. b := dAtA[iNdEx]
  40239. iNdEx++
  40240. stringLen |= (uint64(b) & 0x7F) << shift
  40241. if b < 0x80 {
  40242. break
  40243. }
  40244. }
  40245. intStringLen := int(stringLen)
  40246. if intStringLen < 0 {
  40247. return ErrInvalidLengthGenerated
  40248. }
  40249. postIndex := iNdEx + intStringLen
  40250. if postIndex > l {
  40251. return io.ErrUnexpectedEOF
  40252. }
  40253. m.FSType = string(dAtA[iNdEx:postIndex])
  40254. iNdEx = postIndex
  40255. case 4:
  40256. if wireType != 2 {
  40257. return fmt.Errorf("proto: wrong wireType = %d for field RBDPool", wireType)
  40258. }
  40259. var stringLen uint64
  40260. for shift := uint(0); ; shift += 7 {
  40261. if shift >= 64 {
  40262. return ErrIntOverflowGenerated
  40263. }
  40264. if iNdEx >= l {
  40265. return io.ErrUnexpectedEOF
  40266. }
  40267. b := dAtA[iNdEx]
  40268. iNdEx++
  40269. stringLen |= (uint64(b) & 0x7F) << shift
  40270. if b < 0x80 {
  40271. break
  40272. }
  40273. }
  40274. intStringLen := int(stringLen)
  40275. if intStringLen < 0 {
  40276. return ErrInvalidLengthGenerated
  40277. }
  40278. postIndex := iNdEx + intStringLen
  40279. if postIndex > l {
  40280. return io.ErrUnexpectedEOF
  40281. }
  40282. m.RBDPool = string(dAtA[iNdEx:postIndex])
  40283. iNdEx = postIndex
  40284. case 5:
  40285. if wireType != 2 {
  40286. return fmt.Errorf("proto: wrong wireType = %d for field RadosUser", wireType)
  40287. }
  40288. var stringLen uint64
  40289. for shift := uint(0); ; shift += 7 {
  40290. if shift >= 64 {
  40291. return ErrIntOverflowGenerated
  40292. }
  40293. if iNdEx >= l {
  40294. return io.ErrUnexpectedEOF
  40295. }
  40296. b := dAtA[iNdEx]
  40297. iNdEx++
  40298. stringLen |= (uint64(b) & 0x7F) << shift
  40299. if b < 0x80 {
  40300. break
  40301. }
  40302. }
  40303. intStringLen := int(stringLen)
  40304. if intStringLen < 0 {
  40305. return ErrInvalidLengthGenerated
  40306. }
  40307. postIndex := iNdEx + intStringLen
  40308. if postIndex > l {
  40309. return io.ErrUnexpectedEOF
  40310. }
  40311. m.RadosUser = string(dAtA[iNdEx:postIndex])
  40312. iNdEx = postIndex
  40313. case 6:
  40314. if wireType != 2 {
  40315. return fmt.Errorf("proto: wrong wireType = %d for field Keyring", wireType)
  40316. }
  40317. var stringLen uint64
  40318. for shift := uint(0); ; shift += 7 {
  40319. if shift >= 64 {
  40320. return ErrIntOverflowGenerated
  40321. }
  40322. if iNdEx >= l {
  40323. return io.ErrUnexpectedEOF
  40324. }
  40325. b := dAtA[iNdEx]
  40326. iNdEx++
  40327. stringLen |= (uint64(b) & 0x7F) << shift
  40328. if b < 0x80 {
  40329. break
  40330. }
  40331. }
  40332. intStringLen := int(stringLen)
  40333. if intStringLen < 0 {
  40334. return ErrInvalidLengthGenerated
  40335. }
  40336. postIndex := iNdEx + intStringLen
  40337. if postIndex > l {
  40338. return io.ErrUnexpectedEOF
  40339. }
  40340. m.Keyring = string(dAtA[iNdEx:postIndex])
  40341. iNdEx = postIndex
  40342. case 7:
  40343. if wireType != 2 {
  40344. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  40345. }
  40346. var msglen int
  40347. for shift := uint(0); ; shift += 7 {
  40348. if shift >= 64 {
  40349. return ErrIntOverflowGenerated
  40350. }
  40351. if iNdEx >= l {
  40352. return io.ErrUnexpectedEOF
  40353. }
  40354. b := dAtA[iNdEx]
  40355. iNdEx++
  40356. msglen |= (int(b) & 0x7F) << shift
  40357. if b < 0x80 {
  40358. break
  40359. }
  40360. }
  40361. if msglen < 0 {
  40362. return ErrInvalidLengthGenerated
  40363. }
  40364. postIndex := iNdEx + msglen
  40365. if postIndex > l {
  40366. return io.ErrUnexpectedEOF
  40367. }
  40368. if m.SecretRef == nil {
  40369. m.SecretRef = &SecretReference{}
  40370. }
  40371. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40372. return err
  40373. }
  40374. iNdEx = postIndex
  40375. case 8:
  40376. if wireType != 0 {
  40377. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  40378. }
  40379. var v int
  40380. for shift := uint(0); ; shift += 7 {
  40381. if shift >= 64 {
  40382. return ErrIntOverflowGenerated
  40383. }
  40384. if iNdEx >= l {
  40385. return io.ErrUnexpectedEOF
  40386. }
  40387. b := dAtA[iNdEx]
  40388. iNdEx++
  40389. v |= (int(b) & 0x7F) << shift
  40390. if b < 0x80 {
  40391. break
  40392. }
  40393. }
  40394. m.ReadOnly = bool(v != 0)
  40395. default:
  40396. iNdEx = preIndex
  40397. skippy, err := skipGenerated(dAtA[iNdEx:])
  40398. if err != nil {
  40399. return err
  40400. }
  40401. if skippy < 0 {
  40402. return ErrInvalidLengthGenerated
  40403. }
  40404. if (iNdEx + skippy) > l {
  40405. return io.ErrUnexpectedEOF
  40406. }
  40407. iNdEx += skippy
  40408. }
  40409. }
  40410. if iNdEx > l {
  40411. return io.ErrUnexpectedEOF
  40412. }
  40413. return nil
  40414. }
  40415. func (m *RBDVolumeSource) Unmarshal(dAtA []byte) error {
  40416. l := len(dAtA)
  40417. iNdEx := 0
  40418. for iNdEx < l {
  40419. preIndex := iNdEx
  40420. var wire uint64
  40421. for shift := uint(0); ; shift += 7 {
  40422. if shift >= 64 {
  40423. return ErrIntOverflowGenerated
  40424. }
  40425. if iNdEx >= l {
  40426. return io.ErrUnexpectedEOF
  40427. }
  40428. b := dAtA[iNdEx]
  40429. iNdEx++
  40430. wire |= (uint64(b) & 0x7F) << shift
  40431. if b < 0x80 {
  40432. break
  40433. }
  40434. }
  40435. fieldNum := int32(wire >> 3)
  40436. wireType := int(wire & 0x7)
  40437. if wireType == 4 {
  40438. return fmt.Errorf("proto: RBDVolumeSource: wiretype end group for non-group")
  40439. }
  40440. if fieldNum <= 0 {
  40441. return fmt.Errorf("proto: RBDVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  40442. }
  40443. switch fieldNum {
  40444. case 1:
  40445. if wireType != 2 {
  40446. return fmt.Errorf("proto: wrong wireType = %d for field CephMonitors", wireType)
  40447. }
  40448. var stringLen uint64
  40449. for shift := uint(0); ; shift += 7 {
  40450. if shift >= 64 {
  40451. return ErrIntOverflowGenerated
  40452. }
  40453. if iNdEx >= l {
  40454. return io.ErrUnexpectedEOF
  40455. }
  40456. b := dAtA[iNdEx]
  40457. iNdEx++
  40458. stringLen |= (uint64(b) & 0x7F) << shift
  40459. if b < 0x80 {
  40460. break
  40461. }
  40462. }
  40463. intStringLen := int(stringLen)
  40464. if intStringLen < 0 {
  40465. return ErrInvalidLengthGenerated
  40466. }
  40467. postIndex := iNdEx + intStringLen
  40468. if postIndex > l {
  40469. return io.ErrUnexpectedEOF
  40470. }
  40471. m.CephMonitors = append(m.CephMonitors, string(dAtA[iNdEx:postIndex]))
  40472. iNdEx = postIndex
  40473. case 2:
  40474. if wireType != 2 {
  40475. return fmt.Errorf("proto: wrong wireType = %d for field RBDImage", wireType)
  40476. }
  40477. var stringLen uint64
  40478. for shift := uint(0); ; shift += 7 {
  40479. if shift >= 64 {
  40480. return ErrIntOverflowGenerated
  40481. }
  40482. if iNdEx >= l {
  40483. return io.ErrUnexpectedEOF
  40484. }
  40485. b := dAtA[iNdEx]
  40486. iNdEx++
  40487. stringLen |= (uint64(b) & 0x7F) << shift
  40488. if b < 0x80 {
  40489. break
  40490. }
  40491. }
  40492. intStringLen := int(stringLen)
  40493. if intStringLen < 0 {
  40494. return ErrInvalidLengthGenerated
  40495. }
  40496. postIndex := iNdEx + intStringLen
  40497. if postIndex > l {
  40498. return io.ErrUnexpectedEOF
  40499. }
  40500. m.RBDImage = string(dAtA[iNdEx:postIndex])
  40501. iNdEx = postIndex
  40502. case 3:
  40503. if wireType != 2 {
  40504. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  40505. }
  40506. var stringLen uint64
  40507. for shift := uint(0); ; shift += 7 {
  40508. if shift >= 64 {
  40509. return ErrIntOverflowGenerated
  40510. }
  40511. if iNdEx >= l {
  40512. return io.ErrUnexpectedEOF
  40513. }
  40514. b := dAtA[iNdEx]
  40515. iNdEx++
  40516. stringLen |= (uint64(b) & 0x7F) << shift
  40517. if b < 0x80 {
  40518. break
  40519. }
  40520. }
  40521. intStringLen := int(stringLen)
  40522. if intStringLen < 0 {
  40523. return ErrInvalidLengthGenerated
  40524. }
  40525. postIndex := iNdEx + intStringLen
  40526. if postIndex > l {
  40527. return io.ErrUnexpectedEOF
  40528. }
  40529. m.FSType = string(dAtA[iNdEx:postIndex])
  40530. iNdEx = postIndex
  40531. case 4:
  40532. if wireType != 2 {
  40533. return fmt.Errorf("proto: wrong wireType = %d for field RBDPool", wireType)
  40534. }
  40535. var stringLen uint64
  40536. for shift := uint(0); ; shift += 7 {
  40537. if shift >= 64 {
  40538. return ErrIntOverflowGenerated
  40539. }
  40540. if iNdEx >= l {
  40541. return io.ErrUnexpectedEOF
  40542. }
  40543. b := dAtA[iNdEx]
  40544. iNdEx++
  40545. stringLen |= (uint64(b) & 0x7F) << shift
  40546. if b < 0x80 {
  40547. break
  40548. }
  40549. }
  40550. intStringLen := int(stringLen)
  40551. if intStringLen < 0 {
  40552. return ErrInvalidLengthGenerated
  40553. }
  40554. postIndex := iNdEx + intStringLen
  40555. if postIndex > l {
  40556. return io.ErrUnexpectedEOF
  40557. }
  40558. m.RBDPool = string(dAtA[iNdEx:postIndex])
  40559. iNdEx = postIndex
  40560. case 5:
  40561. if wireType != 2 {
  40562. return fmt.Errorf("proto: wrong wireType = %d for field RadosUser", wireType)
  40563. }
  40564. var stringLen uint64
  40565. for shift := uint(0); ; shift += 7 {
  40566. if shift >= 64 {
  40567. return ErrIntOverflowGenerated
  40568. }
  40569. if iNdEx >= l {
  40570. return io.ErrUnexpectedEOF
  40571. }
  40572. b := dAtA[iNdEx]
  40573. iNdEx++
  40574. stringLen |= (uint64(b) & 0x7F) << shift
  40575. if b < 0x80 {
  40576. break
  40577. }
  40578. }
  40579. intStringLen := int(stringLen)
  40580. if intStringLen < 0 {
  40581. return ErrInvalidLengthGenerated
  40582. }
  40583. postIndex := iNdEx + intStringLen
  40584. if postIndex > l {
  40585. return io.ErrUnexpectedEOF
  40586. }
  40587. m.RadosUser = string(dAtA[iNdEx:postIndex])
  40588. iNdEx = postIndex
  40589. case 6:
  40590. if wireType != 2 {
  40591. return fmt.Errorf("proto: wrong wireType = %d for field Keyring", wireType)
  40592. }
  40593. var stringLen uint64
  40594. for shift := uint(0); ; shift += 7 {
  40595. if shift >= 64 {
  40596. return ErrIntOverflowGenerated
  40597. }
  40598. if iNdEx >= l {
  40599. return io.ErrUnexpectedEOF
  40600. }
  40601. b := dAtA[iNdEx]
  40602. iNdEx++
  40603. stringLen |= (uint64(b) & 0x7F) << shift
  40604. if b < 0x80 {
  40605. break
  40606. }
  40607. }
  40608. intStringLen := int(stringLen)
  40609. if intStringLen < 0 {
  40610. return ErrInvalidLengthGenerated
  40611. }
  40612. postIndex := iNdEx + intStringLen
  40613. if postIndex > l {
  40614. return io.ErrUnexpectedEOF
  40615. }
  40616. m.Keyring = string(dAtA[iNdEx:postIndex])
  40617. iNdEx = postIndex
  40618. case 7:
  40619. if wireType != 2 {
  40620. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  40621. }
  40622. var msglen int
  40623. for shift := uint(0); ; shift += 7 {
  40624. if shift >= 64 {
  40625. return ErrIntOverflowGenerated
  40626. }
  40627. if iNdEx >= l {
  40628. return io.ErrUnexpectedEOF
  40629. }
  40630. b := dAtA[iNdEx]
  40631. iNdEx++
  40632. msglen |= (int(b) & 0x7F) << shift
  40633. if b < 0x80 {
  40634. break
  40635. }
  40636. }
  40637. if msglen < 0 {
  40638. return ErrInvalidLengthGenerated
  40639. }
  40640. postIndex := iNdEx + msglen
  40641. if postIndex > l {
  40642. return io.ErrUnexpectedEOF
  40643. }
  40644. if m.SecretRef == nil {
  40645. m.SecretRef = &LocalObjectReference{}
  40646. }
  40647. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40648. return err
  40649. }
  40650. iNdEx = postIndex
  40651. case 8:
  40652. if wireType != 0 {
  40653. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  40654. }
  40655. var v int
  40656. for shift := uint(0); ; shift += 7 {
  40657. if shift >= 64 {
  40658. return ErrIntOverflowGenerated
  40659. }
  40660. if iNdEx >= l {
  40661. return io.ErrUnexpectedEOF
  40662. }
  40663. b := dAtA[iNdEx]
  40664. iNdEx++
  40665. v |= (int(b) & 0x7F) << shift
  40666. if b < 0x80 {
  40667. break
  40668. }
  40669. }
  40670. m.ReadOnly = bool(v != 0)
  40671. default:
  40672. iNdEx = preIndex
  40673. skippy, err := skipGenerated(dAtA[iNdEx:])
  40674. if err != nil {
  40675. return err
  40676. }
  40677. if skippy < 0 {
  40678. return ErrInvalidLengthGenerated
  40679. }
  40680. if (iNdEx + skippy) > l {
  40681. return io.ErrUnexpectedEOF
  40682. }
  40683. iNdEx += skippy
  40684. }
  40685. }
  40686. if iNdEx > l {
  40687. return io.ErrUnexpectedEOF
  40688. }
  40689. return nil
  40690. }
  40691. func (m *RangeAllocation) Unmarshal(dAtA []byte) error {
  40692. l := len(dAtA)
  40693. iNdEx := 0
  40694. for iNdEx < l {
  40695. preIndex := iNdEx
  40696. var wire uint64
  40697. for shift := uint(0); ; shift += 7 {
  40698. if shift >= 64 {
  40699. return ErrIntOverflowGenerated
  40700. }
  40701. if iNdEx >= l {
  40702. return io.ErrUnexpectedEOF
  40703. }
  40704. b := dAtA[iNdEx]
  40705. iNdEx++
  40706. wire |= (uint64(b) & 0x7F) << shift
  40707. if b < 0x80 {
  40708. break
  40709. }
  40710. }
  40711. fieldNum := int32(wire >> 3)
  40712. wireType := int(wire & 0x7)
  40713. if wireType == 4 {
  40714. return fmt.Errorf("proto: RangeAllocation: wiretype end group for non-group")
  40715. }
  40716. if fieldNum <= 0 {
  40717. return fmt.Errorf("proto: RangeAllocation: illegal tag %d (wire type %d)", fieldNum, wire)
  40718. }
  40719. switch fieldNum {
  40720. case 1:
  40721. if wireType != 2 {
  40722. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  40723. }
  40724. var msglen int
  40725. for shift := uint(0); ; shift += 7 {
  40726. if shift >= 64 {
  40727. return ErrIntOverflowGenerated
  40728. }
  40729. if iNdEx >= l {
  40730. return io.ErrUnexpectedEOF
  40731. }
  40732. b := dAtA[iNdEx]
  40733. iNdEx++
  40734. msglen |= (int(b) & 0x7F) << shift
  40735. if b < 0x80 {
  40736. break
  40737. }
  40738. }
  40739. if msglen < 0 {
  40740. return ErrInvalidLengthGenerated
  40741. }
  40742. postIndex := iNdEx + msglen
  40743. if postIndex > l {
  40744. return io.ErrUnexpectedEOF
  40745. }
  40746. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40747. return err
  40748. }
  40749. iNdEx = postIndex
  40750. case 2:
  40751. if wireType != 2 {
  40752. return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType)
  40753. }
  40754. var stringLen uint64
  40755. for shift := uint(0); ; shift += 7 {
  40756. if shift >= 64 {
  40757. return ErrIntOverflowGenerated
  40758. }
  40759. if iNdEx >= l {
  40760. return io.ErrUnexpectedEOF
  40761. }
  40762. b := dAtA[iNdEx]
  40763. iNdEx++
  40764. stringLen |= (uint64(b) & 0x7F) << shift
  40765. if b < 0x80 {
  40766. break
  40767. }
  40768. }
  40769. intStringLen := int(stringLen)
  40770. if intStringLen < 0 {
  40771. return ErrInvalidLengthGenerated
  40772. }
  40773. postIndex := iNdEx + intStringLen
  40774. if postIndex > l {
  40775. return io.ErrUnexpectedEOF
  40776. }
  40777. m.Range = string(dAtA[iNdEx:postIndex])
  40778. iNdEx = postIndex
  40779. case 3:
  40780. if wireType != 2 {
  40781. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  40782. }
  40783. var byteLen int
  40784. for shift := uint(0); ; shift += 7 {
  40785. if shift >= 64 {
  40786. return ErrIntOverflowGenerated
  40787. }
  40788. if iNdEx >= l {
  40789. return io.ErrUnexpectedEOF
  40790. }
  40791. b := dAtA[iNdEx]
  40792. iNdEx++
  40793. byteLen |= (int(b) & 0x7F) << shift
  40794. if b < 0x80 {
  40795. break
  40796. }
  40797. }
  40798. if byteLen < 0 {
  40799. return ErrInvalidLengthGenerated
  40800. }
  40801. postIndex := iNdEx + byteLen
  40802. if postIndex > l {
  40803. return io.ErrUnexpectedEOF
  40804. }
  40805. m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
  40806. if m.Data == nil {
  40807. m.Data = []byte{}
  40808. }
  40809. iNdEx = postIndex
  40810. default:
  40811. iNdEx = preIndex
  40812. skippy, err := skipGenerated(dAtA[iNdEx:])
  40813. if err != nil {
  40814. return err
  40815. }
  40816. if skippy < 0 {
  40817. return ErrInvalidLengthGenerated
  40818. }
  40819. if (iNdEx + skippy) > l {
  40820. return io.ErrUnexpectedEOF
  40821. }
  40822. iNdEx += skippy
  40823. }
  40824. }
  40825. if iNdEx > l {
  40826. return io.ErrUnexpectedEOF
  40827. }
  40828. return nil
  40829. }
  40830. func (m *ReplicationController) Unmarshal(dAtA []byte) error {
  40831. l := len(dAtA)
  40832. iNdEx := 0
  40833. for iNdEx < l {
  40834. preIndex := iNdEx
  40835. var wire uint64
  40836. for shift := uint(0); ; shift += 7 {
  40837. if shift >= 64 {
  40838. return ErrIntOverflowGenerated
  40839. }
  40840. if iNdEx >= l {
  40841. return io.ErrUnexpectedEOF
  40842. }
  40843. b := dAtA[iNdEx]
  40844. iNdEx++
  40845. wire |= (uint64(b) & 0x7F) << shift
  40846. if b < 0x80 {
  40847. break
  40848. }
  40849. }
  40850. fieldNum := int32(wire >> 3)
  40851. wireType := int(wire & 0x7)
  40852. if wireType == 4 {
  40853. return fmt.Errorf("proto: ReplicationController: wiretype end group for non-group")
  40854. }
  40855. if fieldNum <= 0 {
  40856. return fmt.Errorf("proto: ReplicationController: illegal tag %d (wire type %d)", fieldNum, wire)
  40857. }
  40858. switch fieldNum {
  40859. case 1:
  40860. if wireType != 2 {
  40861. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  40862. }
  40863. var msglen int
  40864. for shift := uint(0); ; shift += 7 {
  40865. if shift >= 64 {
  40866. return ErrIntOverflowGenerated
  40867. }
  40868. if iNdEx >= l {
  40869. return io.ErrUnexpectedEOF
  40870. }
  40871. b := dAtA[iNdEx]
  40872. iNdEx++
  40873. msglen |= (int(b) & 0x7F) << shift
  40874. if b < 0x80 {
  40875. break
  40876. }
  40877. }
  40878. if msglen < 0 {
  40879. return ErrInvalidLengthGenerated
  40880. }
  40881. postIndex := iNdEx + msglen
  40882. if postIndex > l {
  40883. return io.ErrUnexpectedEOF
  40884. }
  40885. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40886. return err
  40887. }
  40888. iNdEx = postIndex
  40889. case 2:
  40890. if wireType != 2 {
  40891. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  40892. }
  40893. var msglen int
  40894. for shift := uint(0); ; shift += 7 {
  40895. if shift >= 64 {
  40896. return ErrIntOverflowGenerated
  40897. }
  40898. if iNdEx >= l {
  40899. return io.ErrUnexpectedEOF
  40900. }
  40901. b := dAtA[iNdEx]
  40902. iNdEx++
  40903. msglen |= (int(b) & 0x7F) << shift
  40904. if b < 0x80 {
  40905. break
  40906. }
  40907. }
  40908. if msglen < 0 {
  40909. return ErrInvalidLengthGenerated
  40910. }
  40911. postIndex := iNdEx + msglen
  40912. if postIndex > l {
  40913. return io.ErrUnexpectedEOF
  40914. }
  40915. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40916. return err
  40917. }
  40918. iNdEx = postIndex
  40919. case 3:
  40920. if wireType != 2 {
  40921. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  40922. }
  40923. var msglen int
  40924. for shift := uint(0); ; shift += 7 {
  40925. if shift >= 64 {
  40926. return ErrIntOverflowGenerated
  40927. }
  40928. if iNdEx >= l {
  40929. return io.ErrUnexpectedEOF
  40930. }
  40931. b := dAtA[iNdEx]
  40932. iNdEx++
  40933. msglen |= (int(b) & 0x7F) << shift
  40934. if b < 0x80 {
  40935. break
  40936. }
  40937. }
  40938. if msglen < 0 {
  40939. return ErrInvalidLengthGenerated
  40940. }
  40941. postIndex := iNdEx + msglen
  40942. if postIndex > l {
  40943. return io.ErrUnexpectedEOF
  40944. }
  40945. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  40946. return err
  40947. }
  40948. iNdEx = postIndex
  40949. default:
  40950. iNdEx = preIndex
  40951. skippy, err := skipGenerated(dAtA[iNdEx:])
  40952. if err != nil {
  40953. return err
  40954. }
  40955. if skippy < 0 {
  40956. return ErrInvalidLengthGenerated
  40957. }
  40958. if (iNdEx + skippy) > l {
  40959. return io.ErrUnexpectedEOF
  40960. }
  40961. iNdEx += skippy
  40962. }
  40963. }
  40964. if iNdEx > l {
  40965. return io.ErrUnexpectedEOF
  40966. }
  40967. return nil
  40968. }
  40969. func (m *ReplicationControllerCondition) Unmarshal(dAtA []byte) error {
  40970. l := len(dAtA)
  40971. iNdEx := 0
  40972. for iNdEx < l {
  40973. preIndex := iNdEx
  40974. var wire uint64
  40975. for shift := uint(0); ; shift += 7 {
  40976. if shift >= 64 {
  40977. return ErrIntOverflowGenerated
  40978. }
  40979. if iNdEx >= l {
  40980. return io.ErrUnexpectedEOF
  40981. }
  40982. b := dAtA[iNdEx]
  40983. iNdEx++
  40984. wire |= (uint64(b) & 0x7F) << shift
  40985. if b < 0x80 {
  40986. break
  40987. }
  40988. }
  40989. fieldNum := int32(wire >> 3)
  40990. wireType := int(wire & 0x7)
  40991. if wireType == 4 {
  40992. return fmt.Errorf("proto: ReplicationControllerCondition: wiretype end group for non-group")
  40993. }
  40994. if fieldNum <= 0 {
  40995. return fmt.Errorf("proto: ReplicationControllerCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  40996. }
  40997. switch fieldNum {
  40998. case 1:
  40999. if wireType != 2 {
  41000. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  41001. }
  41002. var stringLen uint64
  41003. for shift := uint(0); ; shift += 7 {
  41004. if shift >= 64 {
  41005. return ErrIntOverflowGenerated
  41006. }
  41007. if iNdEx >= l {
  41008. return io.ErrUnexpectedEOF
  41009. }
  41010. b := dAtA[iNdEx]
  41011. iNdEx++
  41012. stringLen |= (uint64(b) & 0x7F) << shift
  41013. if b < 0x80 {
  41014. break
  41015. }
  41016. }
  41017. intStringLen := int(stringLen)
  41018. if intStringLen < 0 {
  41019. return ErrInvalidLengthGenerated
  41020. }
  41021. postIndex := iNdEx + intStringLen
  41022. if postIndex > l {
  41023. return io.ErrUnexpectedEOF
  41024. }
  41025. m.Type = ReplicationControllerConditionType(dAtA[iNdEx:postIndex])
  41026. iNdEx = postIndex
  41027. case 2:
  41028. if wireType != 2 {
  41029. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  41030. }
  41031. var stringLen uint64
  41032. for shift := uint(0); ; shift += 7 {
  41033. if shift >= 64 {
  41034. return ErrIntOverflowGenerated
  41035. }
  41036. if iNdEx >= l {
  41037. return io.ErrUnexpectedEOF
  41038. }
  41039. b := dAtA[iNdEx]
  41040. iNdEx++
  41041. stringLen |= (uint64(b) & 0x7F) << shift
  41042. if b < 0x80 {
  41043. break
  41044. }
  41045. }
  41046. intStringLen := int(stringLen)
  41047. if intStringLen < 0 {
  41048. return ErrInvalidLengthGenerated
  41049. }
  41050. postIndex := iNdEx + intStringLen
  41051. if postIndex > l {
  41052. return io.ErrUnexpectedEOF
  41053. }
  41054. m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  41055. iNdEx = postIndex
  41056. case 3:
  41057. if wireType != 2 {
  41058. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  41059. }
  41060. var msglen int
  41061. for shift := uint(0); ; shift += 7 {
  41062. if shift >= 64 {
  41063. return ErrIntOverflowGenerated
  41064. }
  41065. if iNdEx >= l {
  41066. return io.ErrUnexpectedEOF
  41067. }
  41068. b := dAtA[iNdEx]
  41069. iNdEx++
  41070. msglen |= (int(b) & 0x7F) << shift
  41071. if b < 0x80 {
  41072. break
  41073. }
  41074. }
  41075. if msglen < 0 {
  41076. return ErrInvalidLengthGenerated
  41077. }
  41078. postIndex := iNdEx + msglen
  41079. if postIndex > l {
  41080. return io.ErrUnexpectedEOF
  41081. }
  41082. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41083. return err
  41084. }
  41085. iNdEx = postIndex
  41086. case 4:
  41087. if wireType != 2 {
  41088. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  41089. }
  41090. var stringLen uint64
  41091. for shift := uint(0); ; shift += 7 {
  41092. if shift >= 64 {
  41093. return ErrIntOverflowGenerated
  41094. }
  41095. if iNdEx >= l {
  41096. return io.ErrUnexpectedEOF
  41097. }
  41098. b := dAtA[iNdEx]
  41099. iNdEx++
  41100. stringLen |= (uint64(b) & 0x7F) << shift
  41101. if b < 0x80 {
  41102. break
  41103. }
  41104. }
  41105. intStringLen := int(stringLen)
  41106. if intStringLen < 0 {
  41107. return ErrInvalidLengthGenerated
  41108. }
  41109. postIndex := iNdEx + intStringLen
  41110. if postIndex > l {
  41111. return io.ErrUnexpectedEOF
  41112. }
  41113. m.Reason = string(dAtA[iNdEx:postIndex])
  41114. iNdEx = postIndex
  41115. case 5:
  41116. if wireType != 2 {
  41117. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  41118. }
  41119. var stringLen uint64
  41120. for shift := uint(0); ; shift += 7 {
  41121. if shift >= 64 {
  41122. return ErrIntOverflowGenerated
  41123. }
  41124. if iNdEx >= l {
  41125. return io.ErrUnexpectedEOF
  41126. }
  41127. b := dAtA[iNdEx]
  41128. iNdEx++
  41129. stringLen |= (uint64(b) & 0x7F) << shift
  41130. if b < 0x80 {
  41131. break
  41132. }
  41133. }
  41134. intStringLen := int(stringLen)
  41135. if intStringLen < 0 {
  41136. return ErrInvalidLengthGenerated
  41137. }
  41138. postIndex := iNdEx + intStringLen
  41139. if postIndex > l {
  41140. return io.ErrUnexpectedEOF
  41141. }
  41142. m.Message = string(dAtA[iNdEx:postIndex])
  41143. iNdEx = postIndex
  41144. default:
  41145. iNdEx = preIndex
  41146. skippy, err := skipGenerated(dAtA[iNdEx:])
  41147. if err != nil {
  41148. return err
  41149. }
  41150. if skippy < 0 {
  41151. return ErrInvalidLengthGenerated
  41152. }
  41153. if (iNdEx + skippy) > l {
  41154. return io.ErrUnexpectedEOF
  41155. }
  41156. iNdEx += skippy
  41157. }
  41158. }
  41159. if iNdEx > l {
  41160. return io.ErrUnexpectedEOF
  41161. }
  41162. return nil
  41163. }
  41164. func (m *ReplicationControllerList) Unmarshal(dAtA []byte) error {
  41165. l := len(dAtA)
  41166. iNdEx := 0
  41167. for iNdEx < l {
  41168. preIndex := iNdEx
  41169. var wire uint64
  41170. for shift := uint(0); ; shift += 7 {
  41171. if shift >= 64 {
  41172. return ErrIntOverflowGenerated
  41173. }
  41174. if iNdEx >= l {
  41175. return io.ErrUnexpectedEOF
  41176. }
  41177. b := dAtA[iNdEx]
  41178. iNdEx++
  41179. wire |= (uint64(b) & 0x7F) << shift
  41180. if b < 0x80 {
  41181. break
  41182. }
  41183. }
  41184. fieldNum := int32(wire >> 3)
  41185. wireType := int(wire & 0x7)
  41186. if wireType == 4 {
  41187. return fmt.Errorf("proto: ReplicationControllerList: wiretype end group for non-group")
  41188. }
  41189. if fieldNum <= 0 {
  41190. return fmt.Errorf("proto: ReplicationControllerList: illegal tag %d (wire type %d)", fieldNum, wire)
  41191. }
  41192. switch fieldNum {
  41193. case 1:
  41194. if wireType != 2 {
  41195. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  41196. }
  41197. var msglen int
  41198. for shift := uint(0); ; shift += 7 {
  41199. if shift >= 64 {
  41200. return ErrIntOverflowGenerated
  41201. }
  41202. if iNdEx >= l {
  41203. return io.ErrUnexpectedEOF
  41204. }
  41205. b := dAtA[iNdEx]
  41206. iNdEx++
  41207. msglen |= (int(b) & 0x7F) << shift
  41208. if b < 0x80 {
  41209. break
  41210. }
  41211. }
  41212. if msglen < 0 {
  41213. return ErrInvalidLengthGenerated
  41214. }
  41215. postIndex := iNdEx + msglen
  41216. if postIndex > l {
  41217. return io.ErrUnexpectedEOF
  41218. }
  41219. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41220. return err
  41221. }
  41222. iNdEx = postIndex
  41223. case 2:
  41224. if wireType != 2 {
  41225. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  41226. }
  41227. var msglen int
  41228. for shift := uint(0); ; shift += 7 {
  41229. if shift >= 64 {
  41230. return ErrIntOverflowGenerated
  41231. }
  41232. if iNdEx >= l {
  41233. return io.ErrUnexpectedEOF
  41234. }
  41235. b := dAtA[iNdEx]
  41236. iNdEx++
  41237. msglen |= (int(b) & 0x7F) << shift
  41238. if b < 0x80 {
  41239. break
  41240. }
  41241. }
  41242. if msglen < 0 {
  41243. return ErrInvalidLengthGenerated
  41244. }
  41245. postIndex := iNdEx + msglen
  41246. if postIndex > l {
  41247. return io.ErrUnexpectedEOF
  41248. }
  41249. m.Items = append(m.Items, ReplicationController{})
  41250. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41251. return err
  41252. }
  41253. iNdEx = postIndex
  41254. default:
  41255. iNdEx = preIndex
  41256. skippy, err := skipGenerated(dAtA[iNdEx:])
  41257. if err != nil {
  41258. return err
  41259. }
  41260. if skippy < 0 {
  41261. return ErrInvalidLengthGenerated
  41262. }
  41263. if (iNdEx + skippy) > l {
  41264. return io.ErrUnexpectedEOF
  41265. }
  41266. iNdEx += skippy
  41267. }
  41268. }
  41269. if iNdEx > l {
  41270. return io.ErrUnexpectedEOF
  41271. }
  41272. return nil
  41273. }
  41274. func (m *ReplicationControllerSpec) Unmarshal(dAtA []byte) error {
  41275. l := len(dAtA)
  41276. iNdEx := 0
  41277. for iNdEx < l {
  41278. preIndex := iNdEx
  41279. var wire uint64
  41280. for shift := uint(0); ; shift += 7 {
  41281. if shift >= 64 {
  41282. return ErrIntOverflowGenerated
  41283. }
  41284. if iNdEx >= l {
  41285. return io.ErrUnexpectedEOF
  41286. }
  41287. b := dAtA[iNdEx]
  41288. iNdEx++
  41289. wire |= (uint64(b) & 0x7F) << shift
  41290. if b < 0x80 {
  41291. break
  41292. }
  41293. }
  41294. fieldNum := int32(wire >> 3)
  41295. wireType := int(wire & 0x7)
  41296. if wireType == 4 {
  41297. return fmt.Errorf("proto: ReplicationControllerSpec: wiretype end group for non-group")
  41298. }
  41299. if fieldNum <= 0 {
  41300. return fmt.Errorf("proto: ReplicationControllerSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  41301. }
  41302. switch fieldNum {
  41303. case 1:
  41304. if wireType != 0 {
  41305. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  41306. }
  41307. var v int32
  41308. for shift := uint(0); ; shift += 7 {
  41309. if shift >= 64 {
  41310. return ErrIntOverflowGenerated
  41311. }
  41312. if iNdEx >= l {
  41313. return io.ErrUnexpectedEOF
  41314. }
  41315. b := dAtA[iNdEx]
  41316. iNdEx++
  41317. v |= (int32(b) & 0x7F) << shift
  41318. if b < 0x80 {
  41319. break
  41320. }
  41321. }
  41322. m.Replicas = &v
  41323. case 2:
  41324. if wireType != 2 {
  41325. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  41326. }
  41327. var msglen int
  41328. for shift := uint(0); ; shift += 7 {
  41329. if shift >= 64 {
  41330. return ErrIntOverflowGenerated
  41331. }
  41332. if iNdEx >= l {
  41333. return io.ErrUnexpectedEOF
  41334. }
  41335. b := dAtA[iNdEx]
  41336. iNdEx++
  41337. msglen |= (int(b) & 0x7F) << shift
  41338. if b < 0x80 {
  41339. break
  41340. }
  41341. }
  41342. if msglen < 0 {
  41343. return ErrInvalidLengthGenerated
  41344. }
  41345. postIndex := iNdEx + msglen
  41346. if postIndex > l {
  41347. return io.ErrUnexpectedEOF
  41348. }
  41349. var keykey uint64
  41350. for shift := uint(0); ; shift += 7 {
  41351. if shift >= 64 {
  41352. return ErrIntOverflowGenerated
  41353. }
  41354. if iNdEx >= l {
  41355. return io.ErrUnexpectedEOF
  41356. }
  41357. b := dAtA[iNdEx]
  41358. iNdEx++
  41359. keykey |= (uint64(b) & 0x7F) << shift
  41360. if b < 0x80 {
  41361. break
  41362. }
  41363. }
  41364. var stringLenmapkey uint64
  41365. for shift := uint(0); ; shift += 7 {
  41366. if shift >= 64 {
  41367. return ErrIntOverflowGenerated
  41368. }
  41369. if iNdEx >= l {
  41370. return io.ErrUnexpectedEOF
  41371. }
  41372. b := dAtA[iNdEx]
  41373. iNdEx++
  41374. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  41375. if b < 0x80 {
  41376. break
  41377. }
  41378. }
  41379. intStringLenmapkey := int(stringLenmapkey)
  41380. if intStringLenmapkey < 0 {
  41381. return ErrInvalidLengthGenerated
  41382. }
  41383. postStringIndexmapkey := iNdEx + intStringLenmapkey
  41384. if postStringIndexmapkey > l {
  41385. return io.ErrUnexpectedEOF
  41386. }
  41387. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  41388. iNdEx = postStringIndexmapkey
  41389. if m.Selector == nil {
  41390. m.Selector = make(map[string]string)
  41391. }
  41392. if iNdEx < postIndex {
  41393. var valuekey uint64
  41394. for shift := uint(0); ; shift += 7 {
  41395. if shift >= 64 {
  41396. return ErrIntOverflowGenerated
  41397. }
  41398. if iNdEx >= l {
  41399. return io.ErrUnexpectedEOF
  41400. }
  41401. b := dAtA[iNdEx]
  41402. iNdEx++
  41403. valuekey |= (uint64(b) & 0x7F) << shift
  41404. if b < 0x80 {
  41405. break
  41406. }
  41407. }
  41408. var stringLenmapvalue uint64
  41409. for shift := uint(0); ; shift += 7 {
  41410. if shift >= 64 {
  41411. return ErrIntOverflowGenerated
  41412. }
  41413. if iNdEx >= l {
  41414. return io.ErrUnexpectedEOF
  41415. }
  41416. b := dAtA[iNdEx]
  41417. iNdEx++
  41418. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  41419. if b < 0x80 {
  41420. break
  41421. }
  41422. }
  41423. intStringLenmapvalue := int(stringLenmapvalue)
  41424. if intStringLenmapvalue < 0 {
  41425. return ErrInvalidLengthGenerated
  41426. }
  41427. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  41428. if postStringIndexmapvalue > l {
  41429. return io.ErrUnexpectedEOF
  41430. }
  41431. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  41432. iNdEx = postStringIndexmapvalue
  41433. m.Selector[mapkey] = mapvalue
  41434. } else {
  41435. var mapvalue string
  41436. m.Selector[mapkey] = mapvalue
  41437. }
  41438. iNdEx = postIndex
  41439. case 3:
  41440. if wireType != 2 {
  41441. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  41442. }
  41443. var msglen int
  41444. for shift := uint(0); ; shift += 7 {
  41445. if shift >= 64 {
  41446. return ErrIntOverflowGenerated
  41447. }
  41448. if iNdEx >= l {
  41449. return io.ErrUnexpectedEOF
  41450. }
  41451. b := dAtA[iNdEx]
  41452. iNdEx++
  41453. msglen |= (int(b) & 0x7F) << shift
  41454. if b < 0x80 {
  41455. break
  41456. }
  41457. }
  41458. if msglen < 0 {
  41459. return ErrInvalidLengthGenerated
  41460. }
  41461. postIndex := iNdEx + msglen
  41462. if postIndex > l {
  41463. return io.ErrUnexpectedEOF
  41464. }
  41465. if m.Template == nil {
  41466. m.Template = &PodTemplateSpec{}
  41467. }
  41468. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41469. return err
  41470. }
  41471. iNdEx = postIndex
  41472. case 4:
  41473. if wireType != 0 {
  41474. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  41475. }
  41476. m.MinReadySeconds = 0
  41477. for shift := uint(0); ; shift += 7 {
  41478. if shift >= 64 {
  41479. return ErrIntOverflowGenerated
  41480. }
  41481. if iNdEx >= l {
  41482. return io.ErrUnexpectedEOF
  41483. }
  41484. b := dAtA[iNdEx]
  41485. iNdEx++
  41486. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  41487. if b < 0x80 {
  41488. break
  41489. }
  41490. }
  41491. default:
  41492. iNdEx = preIndex
  41493. skippy, err := skipGenerated(dAtA[iNdEx:])
  41494. if err != nil {
  41495. return err
  41496. }
  41497. if skippy < 0 {
  41498. return ErrInvalidLengthGenerated
  41499. }
  41500. if (iNdEx + skippy) > l {
  41501. return io.ErrUnexpectedEOF
  41502. }
  41503. iNdEx += skippy
  41504. }
  41505. }
  41506. if iNdEx > l {
  41507. return io.ErrUnexpectedEOF
  41508. }
  41509. return nil
  41510. }
  41511. func (m *ReplicationControllerStatus) Unmarshal(dAtA []byte) error {
  41512. l := len(dAtA)
  41513. iNdEx := 0
  41514. for iNdEx < l {
  41515. preIndex := iNdEx
  41516. var wire uint64
  41517. for shift := uint(0); ; shift += 7 {
  41518. if shift >= 64 {
  41519. return ErrIntOverflowGenerated
  41520. }
  41521. if iNdEx >= l {
  41522. return io.ErrUnexpectedEOF
  41523. }
  41524. b := dAtA[iNdEx]
  41525. iNdEx++
  41526. wire |= (uint64(b) & 0x7F) << shift
  41527. if b < 0x80 {
  41528. break
  41529. }
  41530. }
  41531. fieldNum := int32(wire >> 3)
  41532. wireType := int(wire & 0x7)
  41533. if wireType == 4 {
  41534. return fmt.Errorf("proto: ReplicationControllerStatus: wiretype end group for non-group")
  41535. }
  41536. if fieldNum <= 0 {
  41537. return fmt.Errorf("proto: ReplicationControllerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  41538. }
  41539. switch fieldNum {
  41540. case 1:
  41541. if wireType != 0 {
  41542. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  41543. }
  41544. m.Replicas = 0
  41545. for shift := uint(0); ; shift += 7 {
  41546. if shift >= 64 {
  41547. return ErrIntOverflowGenerated
  41548. }
  41549. if iNdEx >= l {
  41550. return io.ErrUnexpectedEOF
  41551. }
  41552. b := dAtA[iNdEx]
  41553. iNdEx++
  41554. m.Replicas |= (int32(b) & 0x7F) << shift
  41555. if b < 0x80 {
  41556. break
  41557. }
  41558. }
  41559. case 2:
  41560. if wireType != 0 {
  41561. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  41562. }
  41563. m.FullyLabeledReplicas = 0
  41564. for shift := uint(0); ; shift += 7 {
  41565. if shift >= 64 {
  41566. return ErrIntOverflowGenerated
  41567. }
  41568. if iNdEx >= l {
  41569. return io.ErrUnexpectedEOF
  41570. }
  41571. b := dAtA[iNdEx]
  41572. iNdEx++
  41573. m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
  41574. if b < 0x80 {
  41575. break
  41576. }
  41577. }
  41578. case 3:
  41579. if wireType != 0 {
  41580. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  41581. }
  41582. m.ObservedGeneration = 0
  41583. for shift := uint(0); ; shift += 7 {
  41584. if shift >= 64 {
  41585. return ErrIntOverflowGenerated
  41586. }
  41587. if iNdEx >= l {
  41588. return io.ErrUnexpectedEOF
  41589. }
  41590. b := dAtA[iNdEx]
  41591. iNdEx++
  41592. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  41593. if b < 0x80 {
  41594. break
  41595. }
  41596. }
  41597. case 4:
  41598. if wireType != 0 {
  41599. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  41600. }
  41601. m.ReadyReplicas = 0
  41602. for shift := uint(0); ; shift += 7 {
  41603. if shift >= 64 {
  41604. return ErrIntOverflowGenerated
  41605. }
  41606. if iNdEx >= l {
  41607. return io.ErrUnexpectedEOF
  41608. }
  41609. b := dAtA[iNdEx]
  41610. iNdEx++
  41611. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  41612. if b < 0x80 {
  41613. break
  41614. }
  41615. }
  41616. case 5:
  41617. if wireType != 0 {
  41618. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  41619. }
  41620. m.AvailableReplicas = 0
  41621. for shift := uint(0); ; shift += 7 {
  41622. if shift >= 64 {
  41623. return ErrIntOverflowGenerated
  41624. }
  41625. if iNdEx >= l {
  41626. return io.ErrUnexpectedEOF
  41627. }
  41628. b := dAtA[iNdEx]
  41629. iNdEx++
  41630. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  41631. if b < 0x80 {
  41632. break
  41633. }
  41634. }
  41635. case 6:
  41636. if wireType != 2 {
  41637. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  41638. }
  41639. var msglen int
  41640. for shift := uint(0); ; shift += 7 {
  41641. if shift >= 64 {
  41642. return ErrIntOverflowGenerated
  41643. }
  41644. if iNdEx >= l {
  41645. return io.ErrUnexpectedEOF
  41646. }
  41647. b := dAtA[iNdEx]
  41648. iNdEx++
  41649. msglen |= (int(b) & 0x7F) << shift
  41650. if b < 0x80 {
  41651. break
  41652. }
  41653. }
  41654. if msglen < 0 {
  41655. return ErrInvalidLengthGenerated
  41656. }
  41657. postIndex := iNdEx + msglen
  41658. if postIndex > l {
  41659. return io.ErrUnexpectedEOF
  41660. }
  41661. m.Conditions = append(m.Conditions, ReplicationControllerCondition{})
  41662. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41663. return err
  41664. }
  41665. iNdEx = postIndex
  41666. default:
  41667. iNdEx = preIndex
  41668. skippy, err := skipGenerated(dAtA[iNdEx:])
  41669. if err != nil {
  41670. return err
  41671. }
  41672. if skippy < 0 {
  41673. return ErrInvalidLengthGenerated
  41674. }
  41675. if (iNdEx + skippy) > l {
  41676. return io.ErrUnexpectedEOF
  41677. }
  41678. iNdEx += skippy
  41679. }
  41680. }
  41681. if iNdEx > l {
  41682. return io.ErrUnexpectedEOF
  41683. }
  41684. return nil
  41685. }
  41686. func (m *ResourceFieldSelector) Unmarshal(dAtA []byte) error {
  41687. l := len(dAtA)
  41688. iNdEx := 0
  41689. for iNdEx < l {
  41690. preIndex := iNdEx
  41691. var wire uint64
  41692. for shift := uint(0); ; shift += 7 {
  41693. if shift >= 64 {
  41694. return ErrIntOverflowGenerated
  41695. }
  41696. if iNdEx >= l {
  41697. return io.ErrUnexpectedEOF
  41698. }
  41699. b := dAtA[iNdEx]
  41700. iNdEx++
  41701. wire |= (uint64(b) & 0x7F) << shift
  41702. if b < 0x80 {
  41703. break
  41704. }
  41705. }
  41706. fieldNum := int32(wire >> 3)
  41707. wireType := int(wire & 0x7)
  41708. if wireType == 4 {
  41709. return fmt.Errorf("proto: ResourceFieldSelector: wiretype end group for non-group")
  41710. }
  41711. if fieldNum <= 0 {
  41712. return fmt.Errorf("proto: ResourceFieldSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  41713. }
  41714. switch fieldNum {
  41715. case 1:
  41716. if wireType != 2 {
  41717. return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType)
  41718. }
  41719. var stringLen uint64
  41720. for shift := uint(0); ; shift += 7 {
  41721. if shift >= 64 {
  41722. return ErrIntOverflowGenerated
  41723. }
  41724. if iNdEx >= l {
  41725. return io.ErrUnexpectedEOF
  41726. }
  41727. b := dAtA[iNdEx]
  41728. iNdEx++
  41729. stringLen |= (uint64(b) & 0x7F) << shift
  41730. if b < 0x80 {
  41731. break
  41732. }
  41733. }
  41734. intStringLen := int(stringLen)
  41735. if intStringLen < 0 {
  41736. return ErrInvalidLengthGenerated
  41737. }
  41738. postIndex := iNdEx + intStringLen
  41739. if postIndex > l {
  41740. return io.ErrUnexpectedEOF
  41741. }
  41742. m.ContainerName = string(dAtA[iNdEx:postIndex])
  41743. iNdEx = postIndex
  41744. case 2:
  41745. if wireType != 2 {
  41746. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  41747. }
  41748. var stringLen uint64
  41749. for shift := uint(0); ; shift += 7 {
  41750. if shift >= 64 {
  41751. return ErrIntOverflowGenerated
  41752. }
  41753. if iNdEx >= l {
  41754. return io.ErrUnexpectedEOF
  41755. }
  41756. b := dAtA[iNdEx]
  41757. iNdEx++
  41758. stringLen |= (uint64(b) & 0x7F) << shift
  41759. if b < 0x80 {
  41760. break
  41761. }
  41762. }
  41763. intStringLen := int(stringLen)
  41764. if intStringLen < 0 {
  41765. return ErrInvalidLengthGenerated
  41766. }
  41767. postIndex := iNdEx + intStringLen
  41768. if postIndex > l {
  41769. return io.ErrUnexpectedEOF
  41770. }
  41771. m.Resource = string(dAtA[iNdEx:postIndex])
  41772. iNdEx = postIndex
  41773. case 3:
  41774. if wireType != 2 {
  41775. return fmt.Errorf("proto: wrong wireType = %d for field Divisor", wireType)
  41776. }
  41777. var msglen int
  41778. for shift := uint(0); ; shift += 7 {
  41779. if shift >= 64 {
  41780. return ErrIntOverflowGenerated
  41781. }
  41782. if iNdEx >= l {
  41783. return io.ErrUnexpectedEOF
  41784. }
  41785. b := dAtA[iNdEx]
  41786. iNdEx++
  41787. msglen |= (int(b) & 0x7F) << shift
  41788. if b < 0x80 {
  41789. break
  41790. }
  41791. }
  41792. if msglen < 0 {
  41793. return ErrInvalidLengthGenerated
  41794. }
  41795. postIndex := iNdEx + msglen
  41796. if postIndex > l {
  41797. return io.ErrUnexpectedEOF
  41798. }
  41799. if err := m.Divisor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41800. return err
  41801. }
  41802. iNdEx = postIndex
  41803. default:
  41804. iNdEx = preIndex
  41805. skippy, err := skipGenerated(dAtA[iNdEx:])
  41806. if err != nil {
  41807. return err
  41808. }
  41809. if skippy < 0 {
  41810. return ErrInvalidLengthGenerated
  41811. }
  41812. if (iNdEx + skippy) > l {
  41813. return io.ErrUnexpectedEOF
  41814. }
  41815. iNdEx += skippy
  41816. }
  41817. }
  41818. if iNdEx > l {
  41819. return io.ErrUnexpectedEOF
  41820. }
  41821. return nil
  41822. }
  41823. func (m *ResourceQuota) Unmarshal(dAtA []byte) error {
  41824. l := len(dAtA)
  41825. iNdEx := 0
  41826. for iNdEx < l {
  41827. preIndex := iNdEx
  41828. var wire uint64
  41829. for shift := uint(0); ; shift += 7 {
  41830. if shift >= 64 {
  41831. return ErrIntOverflowGenerated
  41832. }
  41833. if iNdEx >= l {
  41834. return io.ErrUnexpectedEOF
  41835. }
  41836. b := dAtA[iNdEx]
  41837. iNdEx++
  41838. wire |= (uint64(b) & 0x7F) << shift
  41839. if b < 0x80 {
  41840. break
  41841. }
  41842. }
  41843. fieldNum := int32(wire >> 3)
  41844. wireType := int(wire & 0x7)
  41845. if wireType == 4 {
  41846. return fmt.Errorf("proto: ResourceQuota: wiretype end group for non-group")
  41847. }
  41848. if fieldNum <= 0 {
  41849. return fmt.Errorf("proto: ResourceQuota: illegal tag %d (wire type %d)", fieldNum, wire)
  41850. }
  41851. switch fieldNum {
  41852. case 1:
  41853. if wireType != 2 {
  41854. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  41855. }
  41856. var msglen int
  41857. for shift := uint(0); ; shift += 7 {
  41858. if shift >= 64 {
  41859. return ErrIntOverflowGenerated
  41860. }
  41861. if iNdEx >= l {
  41862. return io.ErrUnexpectedEOF
  41863. }
  41864. b := dAtA[iNdEx]
  41865. iNdEx++
  41866. msglen |= (int(b) & 0x7F) << shift
  41867. if b < 0x80 {
  41868. break
  41869. }
  41870. }
  41871. if msglen < 0 {
  41872. return ErrInvalidLengthGenerated
  41873. }
  41874. postIndex := iNdEx + msglen
  41875. if postIndex > l {
  41876. return io.ErrUnexpectedEOF
  41877. }
  41878. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41879. return err
  41880. }
  41881. iNdEx = postIndex
  41882. case 2:
  41883. if wireType != 2 {
  41884. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  41885. }
  41886. var msglen int
  41887. for shift := uint(0); ; shift += 7 {
  41888. if shift >= 64 {
  41889. return ErrIntOverflowGenerated
  41890. }
  41891. if iNdEx >= l {
  41892. return io.ErrUnexpectedEOF
  41893. }
  41894. b := dAtA[iNdEx]
  41895. iNdEx++
  41896. msglen |= (int(b) & 0x7F) << shift
  41897. if b < 0x80 {
  41898. break
  41899. }
  41900. }
  41901. if msglen < 0 {
  41902. return ErrInvalidLengthGenerated
  41903. }
  41904. postIndex := iNdEx + msglen
  41905. if postIndex > l {
  41906. return io.ErrUnexpectedEOF
  41907. }
  41908. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41909. return err
  41910. }
  41911. iNdEx = postIndex
  41912. case 3:
  41913. if wireType != 2 {
  41914. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  41915. }
  41916. var msglen int
  41917. for shift := uint(0); ; shift += 7 {
  41918. if shift >= 64 {
  41919. return ErrIntOverflowGenerated
  41920. }
  41921. if iNdEx >= l {
  41922. return io.ErrUnexpectedEOF
  41923. }
  41924. b := dAtA[iNdEx]
  41925. iNdEx++
  41926. msglen |= (int(b) & 0x7F) << shift
  41927. if b < 0x80 {
  41928. break
  41929. }
  41930. }
  41931. if msglen < 0 {
  41932. return ErrInvalidLengthGenerated
  41933. }
  41934. postIndex := iNdEx + msglen
  41935. if postIndex > l {
  41936. return io.ErrUnexpectedEOF
  41937. }
  41938. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  41939. return err
  41940. }
  41941. iNdEx = postIndex
  41942. default:
  41943. iNdEx = preIndex
  41944. skippy, err := skipGenerated(dAtA[iNdEx:])
  41945. if err != nil {
  41946. return err
  41947. }
  41948. if skippy < 0 {
  41949. return ErrInvalidLengthGenerated
  41950. }
  41951. if (iNdEx + skippy) > l {
  41952. return io.ErrUnexpectedEOF
  41953. }
  41954. iNdEx += skippy
  41955. }
  41956. }
  41957. if iNdEx > l {
  41958. return io.ErrUnexpectedEOF
  41959. }
  41960. return nil
  41961. }
  41962. func (m *ResourceQuotaList) Unmarshal(dAtA []byte) error {
  41963. l := len(dAtA)
  41964. iNdEx := 0
  41965. for iNdEx < l {
  41966. preIndex := iNdEx
  41967. var wire uint64
  41968. for shift := uint(0); ; shift += 7 {
  41969. if shift >= 64 {
  41970. return ErrIntOverflowGenerated
  41971. }
  41972. if iNdEx >= l {
  41973. return io.ErrUnexpectedEOF
  41974. }
  41975. b := dAtA[iNdEx]
  41976. iNdEx++
  41977. wire |= (uint64(b) & 0x7F) << shift
  41978. if b < 0x80 {
  41979. break
  41980. }
  41981. }
  41982. fieldNum := int32(wire >> 3)
  41983. wireType := int(wire & 0x7)
  41984. if wireType == 4 {
  41985. return fmt.Errorf("proto: ResourceQuotaList: wiretype end group for non-group")
  41986. }
  41987. if fieldNum <= 0 {
  41988. return fmt.Errorf("proto: ResourceQuotaList: illegal tag %d (wire type %d)", fieldNum, wire)
  41989. }
  41990. switch fieldNum {
  41991. case 1:
  41992. if wireType != 2 {
  41993. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  41994. }
  41995. var msglen int
  41996. for shift := uint(0); ; shift += 7 {
  41997. if shift >= 64 {
  41998. return ErrIntOverflowGenerated
  41999. }
  42000. if iNdEx >= l {
  42001. return io.ErrUnexpectedEOF
  42002. }
  42003. b := dAtA[iNdEx]
  42004. iNdEx++
  42005. msglen |= (int(b) & 0x7F) << shift
  42006. if b < 0x80 {
  42007. break
  42008. }
  42009. }
  42010. if msglen < 0 {
  42011. return ErrInvalidLengthGenerated
  42012. }
  42013. postIndex := iNdEx + msglen
  42014. if postIndex > l {
  42015. return io.ErrUnexpectedEOF
  42016. }
  42017. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42018. return err
  42019. }
  42020. iNdEx = postIndex
  42021. case 2:
  42022. if wireType != 2 {
  42023. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  42024. }
  42025. var msglen int
  42026. for shift := uint(0); ; shift += 7 {
  42027. if shift >= 64 {
  42028. return ErrIntOverflowGenerated
  42029. }
  42030. if iNdEx >= l {
  42031. return io.ErrUnexpectedEOF
  42032. }
  42033. b := dAtA[iNdEx]
  42034. iNdEx++
  42035. msglen |= (int(b) & 0x7F) << shift
  42036. if b < 0x80 {
  42037. break
  42038. }
  42039. }
  42040. if msglen < 0 {
  42041. return ErrInvalidLengthGenerated
  42042. }
  42043. postIndex := iNdEx + msglen
  42044. if postIndex > l {
  42045. return io.ErrUnexpectedEOF
  42046. }
  42047. m.Items = append(m.Items, ResourceQuota{})
  42048. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  42049. return err
  42050. }
  42051. iNdEx = postIndex
  42052. default:
  42053. iNdEx = preIndex
  42054. skippy, err := skipGenerated(dAtA[iNdEx:])
  42055. if err != nil {
  42056. return err
  42057. }
  42058. if skippy < 0 {
  42059. return ErrInvalidLengthGenerated
  42060. }
  42061. if (iNdEx + skippy) > l {
  42062. return io.ErrUnexpectedEOF
  42063. }
  42064. iNdEx += skippy
  42065. }
  42066. }
  42067. if iNdEx > l {
  42068. return io.ErrUnexpectedEOF
  42069. }
  42070. return nil
  42071. }
  42072. func (m *ResourceQuotaSpec) Unmarshal(dAtA []byte) error {
  42073. l := len(dAtA)
  42074. iNdEx := 0
  42075. for iNdEx < l {
  42076. preIndex := iNdEx
  42077. var wire uint64
  42078. for shift := uint(0); ; shift += 7 {
  42079. if shift >= 64 {
  42080. return ErrIntOverflowGenerated
  42081. }
  42082. if iNdEx >= l {
  42083. return io.ErrUnexpectedEOF
  42084. }
  42085. b := dAtA[iNdEx]
  42086. iNdEx++
  42087. wire |= (uint64(b) & 0x7F) << shift
  42088. if b < 0x80 {
  42089. break
  42090. }
  42091. }
  42092. fieldNum := int32(wire >> 3)
  42093. wireType := int(wire & 0x7)
  42094. if wireType == 4 {
  42095. return fmt.Errorf("proto: ResourceQuotaSpec: wiretype end group for non-group")
  42096. }
  42097. if fieldNum <= 0 {
  42098. return fmt.Errorf("proto: ResourceQuotaSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  42099. }
  42100. switch fieldNum {
  42101. case 1:
  42102. if wireType != 2 {
  42103. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  42104. }
  42105. var msglen int
  42106. for shift := uint(0); ; shift += 7 {
  42107. if shift >= 64 {
  42108. return ErrIntOverflowGenerated
  42109. }
  42110. if iNdEx >= l {
  42111. return io.ErrUnexpectedEOF
  42112. }
  42113. b := dAtA[iNdEx]
  42114. iNdEx++
  42115. msglen |= (int(b) & 0x7F) << shift
  42116. if b < 0x80 {
  42117. break
  42118. }
  42119. }
  42120. if msglen < 0 {
  42121. return ErrInvalidLengthGenerated
  42122. }
  42123. postIndex := iNdEx + msglen
  42124. if postIndex > l {
  42125. return io.ErrUnexpectedEOF
  42126. }
  42127. var keykey uint64
  42128. for shift := uint(0); ; shift += 7 {
  42129. if shift >= 64 {
  42130. return ErrIntOverflowGenerated
  42131. }
  42132. if iNdEx >= l {
  42133. return io.ErrUnexpectedEOF
  42134. }
  42135. b := dAtA[iNdEx]
  42136. iNdEx++
  42137. keykey |= (uint64(b) & 0x7F) << shift
  42138. if b < 0x80 {
  42139. break
  42140. }
  42141. }
  42142. var stringLenmapkey uint64
  42143. for shift := uint(0); ; shift += 7 {
  42144. if shift >= 64 {
  42145. return ErrIntOverflowGenerated
  42146. }
  42147. if iNdEx >= l {
  42148. return io.ErrUnexpectedEOF
  42149. }
  42150. b := dAtA[iNdEx]
  42151. iNdEx++
  42152. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  42153. if b < 0x80 {
  42154. break
  42155. }
  42156. }
  42157. intStringLenmapkey := int(stringLenmapkey)
  42158. if intStringLenmapkey < 0 {
  42159. return ErrInvalidLengthGenerated
  42160. }
  42161. postStringIndexmapkey := iNdEx + intStringLenmapkey
  42162. if postStringIndexmapkey > l {
  42163. return io.ErrUnexpectedEOF
  42164. }
  42165. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  42166. iNdEx = postStringIndexmapkey
  42167. if m.Hard == nil {
  42168. m.Hard = make(ResourceList)
  42169. }
  42170. if iNdEx < postIndex {
  42171. var valuekey uint64
  42172. for shift := uint(0); ; shift += 7 {
  42173. if shift >= 64 {
  42174. return ErrIntOverflowGenerated
  42175. }
  42176. if iNdEx >= l {
  42177. return io.ErrUnexpectedEOF
  42178. }
  42179. b := dAtA[iNdEx]
  42180. iNdEx++
  42181. valuekey |= (uint64(b) & 0x7F) << shift
  42182. if b < 0x80 {
  42183. break
  42184. }
  42185. }
  42186. var mapmsglen int
  42187. for shift := uint(0); ; shift += 7 {
  42188. if shift >= 64 {
  42189. return ErrIntOverflowGenerated
  42190. }
  42191. if iNdEx >= l {
  42192. return io.ErrUnexpectedEOF
  42193. }
  42194. b := dAtA[iNdEx]
  42195. iNdEx++
  42196. mapmsglen |= (int(b) & 0x7F) << shift
  42197. if b < 0x80 {
  42198. break
  42199. }
  42200. }
  42201. if mapmsglen < 0 {
  42202. return ErrInvalidLengthGenerated
  42203. }
  42204. postmsgIndex := iNdEx + mapmsglen
  42205. if mapmsglen < 0 {
  42206. return ErrInvalidLengthGenerated
  42207. }
  42208. if postmsgIndex > l {
  42209. return io.ErrUnexpectedEOF
  42210. }
  42211. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  42212. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  42213. return err
  42214. }
  42215. iNdEx = postmsgIndex
  42216. m.Hard[ResourceName(mapkey)] = *mapvalue
  42217. } else {
  42218. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  42219. m.Hard[ResourceName(mapkey)] = mapvalue
  42220. }
  42221. iNdEx = postIndex
  42222. case 2:
  42223. if wireType != 2 {
  42224. return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
  42225. }
  42226. var stringLen uint64
  42227. for shift := uint(0); ; shift += 7 {
  42228. if shift >= 64 {
  42229. return ErrIntOverflowGenerated
  42230. }
  42231. if iNdEx >= l {
  42232. return io.ErrUnexpectedEOF
  42233. }
  42234. b := dAtA[iNdEx]
  42235. iNdEx++
  42236. stringLen |= (uint64(b) & 0x7F) << shift
  42237. if b < 0x80 {
  42238. break
  42239. }
  42240. }
  42241. intStringLen := int(stringLen)
  42242. if intStringLen < 0 {
  42243. return ErrInvalidLengthGenerated
  42244. }
  42245. postIndex := iNdEx + intStringLen
  42246. if postIndex > l {
  42247. return io.ErrUnexpectedEOF
  42248. }
  42249. m.Scopes = append(m.Scopes, ResourceQuotaScope(dAtA[iNdEx:postIndex]))
  42250. iNdEx = postIndex
  42251. default:
  42252. iNdEx = preIndex
  42253. skippy, err := skipGenerated(dAtA[iNdEx:])
  42254. if err != nil {
  42255. return err
  42256. }
  42257. if skippy < 0 {
  42258. return ErrInvalidLengthGenerated
  42259. }
  42260. if (iNdEx + skippy) > l {
  42261. return io.ErrUnexpectedEOF
  42262. }
  42263. iNdEx += skippy
  42264. }
  42265. }
  42266. if iNdEx > l {
  42267. return io.ErrUnexpectedEOF
  42268. }
  42269. return nil
  42270. }
  42271. func (m *ResourceQuotaStatus) Unmarshal(dAtA []byte) error {
  42272. l := len(dAtA)
  42273. iNdEx := 0
  42274. for iNdEx < l {
  42275. preIndex := iNdEx
  42276. var wire uint64
  42277. for shift := uint(0); ; shift += 7 {
  42278. if shift >= 64 {
  42279. return ErrIntOverflowGenerated
  42280. }
  42281. if iNdEx >= l {
  42282. return io.ErrUnexpectedEOF
  42283. }
  42284. b := dAtA[iNdEx]
  42285. iNdEx++
  42286. wire |= (uint64(b) & 0x7F) << shift
  42287. if b < 0x80 {
  42288. break
  42289. }
  42290. }
  42291. fieldNum := int32(wire >> 3)
  42292. wireType := int(wire & 0x7)
  42293. if wireType == 4 {
  42294. return fmt.Errorf("proto: ResourceQuotaStatus: wiretype end group for non-group")
  42295. }
  42296. if fieldNum <= 0 {
  42297. return fmt.Errorf("proto: ResourceQuotaStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  42298. }
  42299. switch fieldNum {
  42300. case 1:
  42301. if wireType != 2 {
  42302. return fmt.Errorf("proto: wrong wireType = %d for field Hard", wireType)
  42303. }
  42304. var msglen int
  42305. for shift := uint(0); ; shift += 7 {
  42306. if shift >= 64 {
  42307. return ErrIntOverflowGenerated
  42308. }
  42309. if iNdEx >= l {
  42310. return io.ErrUnexpectedEOF
  42311. }
  42312. b := dAtA[iNdEx]
  42313. iNdEx++
  42314. msglen |= (int(b) & 0x7F) << shift
  42315. if b < 0x80 {
  42316. break
  42317. }
  42318. }
  42319. if msglen < 0 {
  42320. return ErrInvalidLengthGenerated
  42321. }
  42322. postIndex := iNdEx + msglen
  42323. if postIndex > l {
  42324. return io.ErrUnexpectedEOF
  42325. }
  42326. var keykey uint64
  42327. for shift := uint(0); ; shift += 7 {
  42328. if shift >= 64 {
  42329. return ErrIntOverflowGenerated
  42330. }
  42331. if iNdEx >= l {
  42332. return io.ErrUnexpectedEOF
  42333. }
  42334. b := dAtA[iNdEx]
  42335. iNdEx++
  42336. keykey |= (uint64(b) & 0x7F) << shift
  42337. if b < 0x80 {
  42338. break
  42339. }
  42340. }
  42341. var stringLenmapkey uint64
  42342. for shift := uint(0); ; shift += 7 {
  42343. if shift >= 64 {
  42344. return ErrIntOverflowGenerated
  42345. }
  42346. if iNdEx >= l {
  42347. return io.ErrUnexpectedEOF
  42348. }
  42349. b := dAtA[iNdEx]
  42350. iNdEx++
  42351. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  42352. if b < 0x80 {
  42353. break
  42354. }
  42355. }
  42356. intStringLenmapkey := int(stringLenmapkey)
  42357. if intStringLenmapkey < 0 {
  42358. return ErrInvalidLengthGenerated
  42359. }
  42360. postStringIndexmapkey := iNdEx + intStringLenmapkey
  42361. if postStringIndexmapkey > l {
  42362. return io.ErrUnexpectedEOF
  42363. }
  42364. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  42365. iNdEx = postStringIndexmapkey
  42366. if m.Hard == nil {
  42367. m.Hard = make(ResourceList)
  42368. }
  42369. if iNdEx < postIndex {
  42370. var valuekey uint64
  42371. for shift := uint(0); ; shift += 7 {
  42372. if shift >= 64 {
  42373. return ErrIntOverflowGenerated
  42374. }
  42375. if iNdEx >= l {
  42376. return io.ErrUnexpectedEOF
  42377. }
  42378. b := dAtA[iNdEx]
  42379. iNdEx++
  42380. valuekey |= (uint64(b) & 0x7F) << shift
  42381. if b < 0x80 {
  42382. break
  42383. }
  42384. }
  42385. var mapmsglen int
  42386. for shift := uint(0); ; shift += 7 {
  42387. if shift >= 64 {
  42388. return ErrIntOverflowGenerated
  42389. }
  42390. if iNdEx >= l {
  42391. return io.ErrUnexpectedEOF
  42392. }
  42393. b := dAtA[iNdEx]
  42394. iNdEx++
  42395. mapmsglen |= (int(b) & 0x7F) << shift
  42396. if b < 0x80 {
  42397. break
  42398. }
  42399. }
  42400. if mapmsglen < 0 {
  42401. return ErrInvalidLengthGenerated
  42402. }
  42403. postmsgIndex := iNdEx + mapmsglen
  42404. if mapmsglen < 0 {
  42405. return ErrInvalidLengthGenerated
  42406. }
  42407. if postmsgIndex > l {
  42408. return io.ErrUnexpectedEOF
  42409. }
  42410. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  42411. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  42412. return err
  42413. }
  42414. iNdEx = postmsgIndex
  42415. m.Hard[ResourceName(mapkey)] = *mapvalue
  42416. } else {
  42417. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  42418. m.Hard[ResourceName(mapkey)] = mapvalue
  42419. }
  42420. iNdEx = postIndex
  42421. case 2:
  42422. if wireType != 2 {
  42423. return fmt.Errorf("proto: wrong wireType = %d for field Used", wireType)
  42424. }
  42425. var msglen int
  42426. for shift := uint(0); ; shift += 7 {
  42427. if shift >= 64 {
  42428. return ErrIntOverflowGenerated
  42429. }
  42430. if iNdEx >= l {
  42431. return io.ErrUnexpectedEOF
  42432. }
  42433. b := dAtA[iNdEx]
  42434. iNdEx++
  42435. msglen |= (int(b) & 0x7F) << shift
  42436. if b < 0x80 {
  42437. break
  42438. }
  42439. }
  42440. if msglen < 0 {
  42441. return ErrInvalidLengthGenerated
  42442. }
  42443. postIndex := iNdEx + msglen
  42444. if postIndex > l {
  42445. return io.ErrUnexpectedEOF
  42446. }
  42447. var keykey uint64
  42448. for shift := uint(0); ; shift += 7 {
  42449. if shift >= 64 {
  42450. return ErrIntOverflowGenerated
  42451. }
  42452. if iNdEx >= l {
  42453. return io.ErrUnexpectedEOF
  42454. }
  42455. b := dAtA[iNdEx]
  42456. iNdEx++
  42457. keykey |= (uint64(b) & 0x7F) << shift
  42458. if b < 0x80 {
  42459. break
  42460. }
  42461. }
  42462. var stringLenmapkey uint64
  42463. for shift := uint(0); ; shift += 7 {
  42464. if shift >= 64 {
  42465. return ErrIntOverflowGenerated
  42466. }
  42467. if iNdEx >= l {
  42468. return io.ErrUnexpectedEOF
  42469. }
  42470. b := dAtA[iNdEx]
  42471. iNdEx++
  42472. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  42473. if b < 0x80 {
  42474. break
  42475. }
  42476. }
  42477. intStringLenmapkey := int(stringLenmapkey)
  42478. if intStringLenmapkey < 0 {
  42479. return ErrInvalidLengthGenerated
  42480. }
  42481. postStringIndexmapkey := iNdEx + intStringLenmapkey
  42482. if postStringIndexmapkey > l {
  42483. return io.ErrUnexpectedEOF
  42484. }
  42485. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  42486. iNdEx = postStringIndexmapkey
  42487. if m.Used == nil {
  42488. m.Used = make(ResourceList)
  42489. }
  42490. if iNdEx < postIndex {
  42491. var valuekey uint64
  42492. for shift := uint(0); ; shift += 7 {
  42493. if shift >= 64 {
  42494. return ErrIntOverflowGenerated
  42495. }
  42496. if iNdEx >= l {
  42497. return io.ErrUnexpectedEOF
  42498. }
  42499. b := dAtA[iNdEx]
  42500. iNdEx++
  42501. valuekey |= (uint64(b) & 0x7F) << shift
  42502. if b < 0x80 {
  42503. break
  42504. }
  42505. }
  42506. var mapmsglen int
  42507. for shift := uint(0); ; shift += 7 {
  42508. if shift >= 64 {
  42509. return ErrIntOverflowGenerated
  42510. }
  42511. if iNdEx >= l {
  42512. return io.ErrUnexpectedEOF
  42513. }
  42514. b := dAtA[iNdEx]
  42515. iNdEx++
  42516. mapmsglen |= (int(b) & 0x7F) << shift
  42517. if b < 0x80 {
  42518. break
  42519. }
  42520. }
  42521. if mapmsglen < 0 {
  42522. return ErrInvalidLengthGenerated
  42523. }
  42524. postmsgIndex := iNdEx + mapmsglen
  42525. if mapmsglen < 0 {
  42526. return ErrInvalidLengthGenerated
  42527. }
  42528. if postmsgIndex > l {
  42529. return io.ErrUnexpectedEOF
  42530. }
  42531. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  42532. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  42533. return err
  42534. }
  42535. iNdEx = postmsgIndex
  42536. m.Used[ResourceName(mapkey)] = *mapvalue
  42537. } else {
  42538. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  42539. m.Used[ResourceName(mapkey)] = mapvalue
  42540. }
  42541. iNdEx = postIndex
  42542. default:
  42543. iNdEx = preIndex
  42544. skippy, err := skipGenerated(dAtA[iNdEx:])
  42545. if err != nil {
  42546. return err
  42547. }
  42548. if skippy < 0 {
  42549. return ErrInvalidLengthGenerated
  42550. }
  42551. if (iNdEx + skippy) > l {
  42552. return io.ErrUnexpectedEOF
  42553. }
  42554. iNdEx += skippy
  42555. }
  42556. }
  42557. if iNdEx > l {
  42558. return io.ErrUnexpectedEOF
  42559. }
  42560. return nil
  42561. }
  42562. func (m *ResourceRequirements) Unmarshal(dAtA []byte) error {
  42563. l := len(dAtA)
  42564. iNdEx := 0
  42565. for iNdEx < l {
  42566. preIndex := iNdEx
  42567. var wire uint64
  42568. for shift := uint(0); ; shift += 7 {
  42569. if shift >= 64 {
  42570. return ErrIntOverflowGenerated
  42571. }
  42572. if iNdEx >= l {
  42573. return io.ErrUnexpectedEOF
  42574. }
  42575. b := dAtA[iNdEx]
  42576. iNdEx++
  42577. wire |= (uint64(b) & 0x7F) << shift
  42578. if b < 0x80 {
  42579. break
  42580. }
  42581. }
  42582. fieldNum := int32(wire >> 3)
  42583. wireType := int(wire & 0x7)
  42584. if wireType == 4 {
  42585. return fmt.Errorf("proto: ResourceRequirements: wiretype end group for non-group")
  42586. }
  42587. if fieldNum <= 0 {
  42588. return fmt.Errorf("proto: ResourceRequirements: illegal tag %d (wire type %d)", fieldNum, wire)
  42589. }
  42590. switch fieldNum {
  42591. case 1:
  42592. if wireType != 2 {
  42593. return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
  42594. }
  42595. var msglen int
  42596. for shift := uint(0); ; shift += 7 {
  42597. if shift >= 64 {
  42598. return ErrIntOverflowGenerated
  42599. }
  42600. if iNdEx >= l {
  42601. return io.ErrUnexpectedEOF
  42602. }
  42603. b := dAtA[iNdEx]
  42604. iNdEx++
  42605. msglen |= (int(b) & 0x7F) << shift
  42606. if b < 0x80 {
  42607. break
  42608. }
  42609. }
  42610. if msglen < 0 {
  42611. return ErrInvalidLengthGenerated
  42612. }
  42613. postIndex := iNdEx + msglen
  42614. if postIndex > l {
  42615. return io.ErrUnexpectedEOF
  42616. }
  42617. var keykey uint64
  42618. for shift := uint(0); ; shift += 7 {
  42619. if shift >= 64 {
  42620. return ErrIntOverflowGenerated
  42621. }
  42622. if iNdEx >= l {
  42623. return io.ErrUnexpectedEOF
  42624. }
  42625. b := dAtA[iNdEx]
  42626. iNdEx++
  42627. keykey |= (uint64(b) & 0x7F) << shift
  42628. if b < 0x80 {
  42629. break
  42630. }
  42631. }
  42632. var stringLenmapkey uint64
  42633. for shift := uint(0); ; shift += 7 {
  42634. if shift >= 64 {
  42635. return ErrIntOverflowGenerated
  42636. }
  42637. if iNdEx >= l {
  42638. return io.ErrUnexpectedEOF
  42639. }
  42640. b := dAtA[iNdEx]
  42641. iNdEx++
  42642. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  42643. if b < 0x80 {
  42644. break
  42645. }
  42646. }
  42647. intStringLenmapkey := int(stringLenmapkey)
  42648. if intStringLenmapkey < 0 {
  42649. return ErrInvalidLengthGenerated
  42650. }
  42651. postStringIndexmapkey := iNdEx + intStringLenmapkey
  42652. if postStringIndexmapkey > l {
  42653. return io.ErrUnexpectedEOF
  42654. }
  42655. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  42656. iNdEx = postStringIndexmapkey
  42657. if m.Limits == nil {
  42658. m.Limits = make(ResourceList)
  42659. }
  42660. if iNdEx < postIndex {
  42661. var valuekey uint64
  42662. for shift := uint(0); ; shift += 7 {
  42663. if shift >= 64 {
  42664. return ErrIntOverflowGenerated
  42665. }
  42666. if iNdEx >= l {
  42667. return io.ErrUnexpectedEOF
  42668. }
  42669. b := dAtA[iNdEx]
  42670. iNdEx++
  42671. valuekey |= (uint64(b) & 0x7F) << shift
  42672. if b < 0x80 {
  42673. break
  42674. }
  42675. }
  42676. var mapmsglen int
  42677. for shift := uint(0); ; shift += 7 {
  42678. if shift >= 64 {
  42679. return ErrIntOverflowGenerated
  42680. }
  42681. if iNdEx >= l {
  42682. return io.ErrUnexpectedEOF
  42683. }
  42684. b := dAtA[iNdEx]
  42685. iNdEx++
  42686. mapmsglen |= (int(b) & 0x7F) << shift
  42687. if b < 0x80 {
  42688. break
  42689. }
  42690. }
  42691. if mapmsglen < 0 {
  42692. return ErrInvalidLengthGenerated
  42693. }
  42694. postmsgIndex := iNdEx + mapmsglen
  42695. if mapmsglen < 0 {
  42696. return ErrInvalidLengthGenerated
  42697. }
  42698. if postmsgIndex > l {
  42699. return io.ErrUnexpectedEOF
  42700. }
  42701. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  42702. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  42703. return err
  42704. }
  42705. iNdEx = postmsgIndex
  42706. m.Limits[ResourceName(mapkey)] = *mapvalue
  42707. } else {
  42708. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  42709. m.Limits[ResourceName(mapkey)] = mapvalue
  42710. }
  42711. iNdEx = postIndex
  42712. case 2:
  42713. if wireType != 2 {
  42714. return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
  42715. }
  42716. var msglen int
  42717. for shift := uint(0); ; shift += 7 {
  42718. if shift >= 64 {
  42719. return ErrIntOverflowGenerated
  42720. }
  42721. if iNdEx >= l {
  42722. return io.ErrUnexpectedEOF
  42723. }
  42724. b := dAtA[iNdEx]
  42725. iNdEx++
  42726. msglen |= (int(b) & 0x7F) << shift
  42727. if b < 0x80 {
  42728. break
  42729. }
  42730. }
  42731. if msglen < 0 {
  42732. return ErrInvalidLengthGenerated
  42733. }
  42734. postIndex := iNdEx + msglen
  42735. if postIndex > l {
  42736. return io.ErrUnexpectedEOF
  42737. }
  42738. var keykey uint64
  42739. for shift := uint(0); ; shift += 7 {
  42740. if shift >= 64 {
  42741. return ErrIntOverflowGenerated
  42742. }
  42743. if iNdEx >= l {
  42744. return io.ErrUnexpectedEOF
  42745. }
  42746. b := dAtA[iNdEx]
  42747. iNdEx++
  42748. keykey |= (uint64(b) & 0x7F) << shift
  42749. if b < 0x80 {
  42750. break
  42751. }
  42752. }
  42753. var stringLenmapkey uint64
  42754. for shift := uint(0); ; shift += 7 {
  42755. if shift >= 64 {
  42756. return ErrIntOverflowGenerated
  42757. }
  42758. if iNdEx >= l {
  42759. return io.ErrUnexpectedEOF
  42760. }
  42761. b := dAtA[iNdEx]
  42762. iNdEx++
  42763. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  42764. if b < 0x80 {
  42765. break
  42766. }
  42767. }
  42768. intStringLenmapkey := int(stringLenmapkey)
  42769. if intStringLenmapkey < 0 {
  42770. return ErrInvalidLengthGenerated
  42771. }
  42772. postStringIndexmapkey := iNdEx + intStringLenmapkey
  42773. if postStringIndexmapkey > l {
  42774. return io.ErrUnexpectedEOF
  42775. }
  42776. mapkey := ResourceName(dAtA[iNdEx:postStringIndexmapkey])
  42777. iNdEx = postStringIndexmapkey
  42778. if m.Requests == nil {
  42779. m.Requests = make(ResourceList)
  42780. }
  42781. if iNdEx < postIndex {
  42782. var valuekey uint64
  42783. for shift := uint(0); ; shift += 7 {
  42784. if shift >= 64 {
  42785. return ErrIntOverflowGenerated
  42786. }
  42787. if iNdEx >= l {
  42788. return io.ErrUnexpectedEOF
  42789. }
  42790. b := dAtA[iNdEx]
  42791. iNdEx++
  42792. valuekey |= (uint64(b) & 0x7F) << shift
  42793. if b < 0x80 {
  42794. break
  42795. }
  42796. }
  42797. var mapmsglen int
  42798. for shift := uint(0); ; shift += 7 {
  42799. if shift >= 64 {
  42800. return ErrIntOverflowGenerated
  42801. }
  42802. if iNdEx >= l {
  42803. return io.ErrUnexpectedEOF
  42804. }
  42805. b := dAtA[iNdEx]
  42806. iNdEx++
  42807. mapmsglen |= (int(b) & 0x7F) << shift
  42808. if b < 0x80 {
  42809. break
  42810. }
  42811. }
  42812. if mapmsglen < 0 {
  42813. return ErrInvalidLengthGenerated
  42814. }
  42815. postmsgIndex := iNdEx + mapmsglen
  42816. if mapmsglen < 0 {
  42817. return ErrInvalidLengthGenerated
  42818. }
  42819. if postmsgIndex > l {
  42820. return io.ErrUnexpectedEOF
  42821. }
  42822. mapvalue := &k8s_io_apimachinery_pkg_api_resource.Quantity{}
  42823. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  42824. return err
  42825. }
  42826. iNdEx = postmsgIndex
  42827. m.Requests[ResourceName(mapkey)] = *mapvalue
  42828. } else {
  42829. var mapvalue k8s_io_apimachinery_pkg_api_resource.Quantity
  42830. m.Requests[ResourceName(mapkey)] = mapvalue
  42831. }
  42832. iNdEx = postIndex
  42833. default:
  42834. iNdEx = preIndex
  42835. skippy, err := skipGenerated(dAtA[iNdEx:])
  42836. if err != nil {
  42837. return err
  42838. }
  42839. if skippy < 0 {
  42840. return ErrInvalidLengthGenerated
  42841. }
  42842. if (iNdEx + skippy) > l {
  42843. return io.ErrUnexpectedEOF
  42844. }
  42845. iNdEx += skippy
  42846. }
  42847. }
  42848. if iNdEx > l {
  42849. return io.ErrUnexpectedEOF
  42850. }
  42851. return nil
  42852. }
  42853. func (m *SELinuxOptions) Unmarshal(dAtA []byte) error {
  42854. l := len(dAtA)
  42855. iNdEx := 0
  42856. for iNdEx < l {
  42857. preIndex := iNdEx
  42858. var wire uint64
  42859. for shift := uint(0); ; shift += 7 {
  42860. if shift >= 64 {
  42861. return ErrIntOverflowGenerated
  42862. }
  42863. if iNdEx >= l {
  42864. return io.ErrUnexpectedEOF
  42865. }
  42866. b := dAtA[iNdEx]
  42867. iNdEx++
  42868. wire |= (uint64(b) & 0x7F) << shift
  42869. if b < 0x80 {
  42870. break
  42871. }
  42872. }
  42873. fieldNum := int32(wire >> 3)
  42874. wireType := int(wire & 0x7)
  42875. if wireType == 4 {
  42876. return fmt.Errorf("proto: SELinuxOptions: wiretype end group for non-group")
  42877. }
  42878. if fieldNum <= 0 {
  42879. return fmt.Errorf("proto: SELinuxOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  42880. }
  42881. switch fieldNum {
  42882. case 1:
  42883. if wireType != 2 {
  42884. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  42885. }
  42886. var stringLen uint64
  42887. for shift := uint(0); ; shift += 7 {
  42888. if shift >= 64 {
  42889. return ErrIntOverflowGenerated
  42890. }
  42891. if iNdEx >= l {
  42892. return io.ErrUnexpectedEOF
  42893. }
  42894. b := dAtA[iNdEx]
  42895. iNdEx++
  42896. stringLen |= (uint64(b) & 0x7F) << shift
  42897. if b < 0x80 {
  42898. break
  42899. }
  42900. }
  42901. intStringLen := int(stringLen)
  42902. if intStringLen < 0 {
  42903. return ErrInvalidLengthGenerated
  42904. }
  42905. postIndex := iNdEx + intStringLen
  42906. if postIndex > l {
  42907. return io.ErrUnexpectedEOF
  42908. }
  42909. m.User = string(dAtA[iNdEx:postIndex])
  42910. iNdEx = postIndex
  42911. case 2:
  42912. if wireType != 2 {
  42913. return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
  42914. }
  42915. var stringLen uint64
  42916. for shift := uint(0); ; shift += 7 {
  42917. if shift >= 64 {
  42918. return ErrIntOverflowGenerated
  42919. }
  42920. if iNdEx >= l {
  42921. return io.ErrUnexpectedEOF
  42922. }
  42923. b := dAtA[iNdEx]
  42924. iNdEx++
  42925. stringLen |= (uint64(b) & 0x7F) << shift
  42926. if b < 0x80 {
  42927. break
  42928. }
  42929. }
  42930. intStringLen := int(stringLen)
  42931. if intStringLen < 0 {
  42932. return ErrInvalidLengthGenerated
  42933. }
  42934. postIndex := iNdEx + intStringLen
  42935. if postIndex > l {
  42936. return io.ErrUnexpectedEOF
  42937. }
  42938. m.Role = string(dAtA[iNdEx:postIndex])
  42939. iNdEx = postIndex
  42940. case 3:
  42941. if wireType != 2 {
  42942. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  42943. }
  42944. var stringLen uint64
  42945. for shift := uint(0); ; shift += 7 {
  42946. if shift >= 64 {
  42947. return ErrIntOverflowGenerated
  42948. }
  42949. if iNdEx >= l {
  42950. return io.ErrUnexpectedEOF
  42951. }
  42952. b := dAtA[iNdEx]
  42953. iNdEx++
  42954. stringLen |= (uint64(b) & 0x7F) << shift
  42955. if b < 0x80 {
  42956. break
  42957. }
  42958. }
  42959. intStringLen := int(stringLen)
  42960. if intStringLen < 0 {
  42961. return ErrInvalidLengthGenerated
  42962. }
  42963. postIndex := iNdEx + intStringLen
  42964. if postIndex > l {
  42965. return io.ErrUnexpectedEOF
  42966. }
  42967. m.Type = string(dAtA[iNdEx:postIndex])
  42968. iNdEx = postIndex
  42969. case 4:
  42970. if wireType != 2 {
  42971. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  42972. }
  42973. var stringLen uint64
  42974. for shift := uint(0); ; shift += 7 {
  42975. if shift >= 64 {
  42976. return ErrIntOverflowGenerated
  42977. }
  42978. if iNdEx >= l {
  42979. return io.ErrUnexpectedEOF
  42980. }
  42981. b := dAtA[iNdEx]
  42982. iNdEx++
  42983. stringLen |= (uint64(b) & 0x7F) << shift
  42984. if b < 0x80 {
  42985. break
  42986. }
  42987. }
  42988. intStringLen := int(stringLen)
  42989. if intStringLen < 0 {
  42990. return ErrInvalidLengthGenerated
  42991. }
  42992. postIndex := iNdEx + intStringLen
  42993. if postIndex > l {
  42994. return io.ErrUnexpectedEOF
  42995. }
  42996. m.Level = string(dAtA[iNdEx:postIndex])
  42997. iNdEx = postIndex
  42998. default:
  42999. iNdEx = preIndex
  43000. skippy, err := skipGenerated(dAtA[iNdEx:])
  43001. if err != nil {
  43002. return err
  43003. }
  43004. if skippy < 0 {
  43005. return ErrInvalidLengthGenerated
  43006. }
  43007. if (iNdEx + skippy) > l {
  43008. return io.ErrUnexpectedEOF
  43009. }
  43010. iNdEx += skippy
  43011. }
  43012. }
  43013. if iNdEx > l {
  43014. return io.ErrUnexpectedEOF
  43015. }
  43016. return nil
  43017. }
  43018. func (m *ScaleIOPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  43019. l := len(dAtA)
  43020. iNdEx := 0
  43021. for iNdEx < l {
  43022. preIndex := iNdEx
  43023. var wire uint64
  43024. for shift := uint(0); ; shift += 7 {
  43025. if shift >= 64 {
  43026. return ErrIntOverflowGenerated
  43027. }
  43028. if iNdEx >= l {
  43029. return io.ErrUnexpectedEOF
  43030. }
  43031. b := dAtA[iNdEx]
  43032. iNdEx++
  43033. wire |= (uint64(b) & 0x7F) << shift
  43034. if b < 0x80 {
  43035. break
  43036. }
  43037. }
  43038. fieldNum := int32(wire >> 3)
  43039. wireType := int(wire & 0x7)
  43040. if wireType == 4 {
  43041. return fmt.Errorf("proto: ScaleIOPersistentVolumeSource: wiretype end group for non-group")
  43042. }
  43043. if fieldNum <= 0 {
  43044. return fmt.Errorf("proto: ScaleIOPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  43045. }
  43046. switch fieldNum {
  43047. case 1:
  43048. if wireType != 2 {
  43049. return fmt.Errorf("proto: wrong wireType = %d for field Gateway", wireType)
  43050. }
  43051. var stringLen uint64
  43052. for shift := uint(0); ; shift += 7 {
  43053. if shift >= 64 {
  43054. return ErrIntOverflowGenerated
  43055. }
  43056. if iNdEx >= l {
  43057. return io.ErrUnexpectedEOF
  43058. }
  43059. b := dAtA[iNdEx]
  43060. iNdEx++
  43061. stringLen |= (uint64(b) & 0x7F) << shift
  43062. if b < 0x80 {
  43063. break
  43064. }
  43065. }
  43066. intStringLen := int(stringLen)
  43067. if intStringLen < 0 {
  43068. return ErrInvalidLengthGenerated
  43069. }
  43070. postIndex := iNdEx + intStringLen
  43071. if postIndex > l {
  43072. return io.ErrUnexpectedEOF
  43073. }
  43074. m.Gateway = string(dAtA[iNdEx:postIndex])
  43075. iNdEx = postIndex
  43076. case 2:
  43077. if wireType != 2 {
  43078. return fmt.Errorf("proto: wrong wireType = %d for field System", wireType)
  43079. }
  43080. var stringLen uint64
  43081. for shift := uint(0); ; shift += 7 {
  43082. if shift >= 64 {
  43083. return ErrIntOverflowGenerated
  43084. }
  43085. if iNdEx >= l {
  43086. return io.ErrUnexpectedEOF
  43087. }
  43088. b := dAtA[iNdEx]
  43089. iNdEx++
  43090. stringLen |= (uint64(b) & 0x7F) << shift
  43091. if b < 0x80 {
  43092. break
  43093. }
  43094. }
  43095. intStringLen := int(stringLen)
  43096. if intStringLen < 0 {
  43097. return ErrInvalidLengthGenerated
  43098. }
  43099. postIndex := iNdEx + intStringLen
  43100. if postIndex > l {
  43101. return io.ErrUnexpectedEOF
  43102. }
  43103. m.System = string(dAtA[iNdEx:postIndex])
  43104. iNdEx = postIndex
  43105. case 3:
  43106. if wireType != 2 {
  43107. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  43108. }
  43109. var msglen int
  43110. for shift := uint(0); ; shift += 7 {
  43111. if shift >= 64 {
  43112. return ErrIntOverflowGenerated
  43113. }
  43114. if iNdEx >= l {
  43115. return io.ErrUnexpectedEOF
  43116. }
  43117. b := dAtA[iNdEx]
  43118. iNdEx++
  43119. msglen |= (int(b) & 0x7F) << shift
  43120. if b < 0x80 {
  43121. break
  43122. }
  43123. }
  43124. if msglen < 0 {
  43125. return ErrInvalidLengthGenerated
  43126. }
  43127. postIndex := iNdEx + msglen
  43128. if postIndex > l {
  43129. return io.ErrUnexpectedEOF
  43130. }
  43131. if m.SecretRef == nil {
  43132. m.SecretRef = &SecretReference{}
  43133. }
  43134. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  43135. return err
  43136. }
  43137. iNdEx = postIndex
  43138. case 4:
  43139. if wireType != 0 {
  43140. return fmt.Errorf("proto: wrong wireType = %d for field SSLEnabled", wireType)
  43141. }
  43142. var v int
  43143. for shift := uint(0); ; shift += 7 {
  43144. if shift >= 64 {
  43145. return ErrIntOverflowGenerated
  43146. }
  43147. if iNdEx >= l {
  43148. return io.ErrUnexpectedEOF
  43149. }
  43150. b := dAtA[iNdEx]
  43151. iNdEx++
  43152. v |= (int(b) & 0x7F) << shift
  43153. if b < 0x80 {
  43154. break
  43155. }
  43156. }
  43157. m.SSLEnabled = bool(v != 0)
  43158. case 5:
  43159. if wireType != 2 {
  43160. return fmt.Errorf("proto: wrong wireType = %d for field ProtectionDomain", wireType)
  43161. }
  43162. var stringLen uint64
  43163. for shift := uint(0); ; shift += 7 {
  43164. if shift >= 64 {
  43165. return ErrIntOverflowGenerated
  43166. }
  43167. if iNdEx >= l {
  43168. return io.ErrUnexpectedEOF
  43169. }
  43170. b := dAtA[iNdEx]
  43171. iNdEx++
  43172. stringLen |= (uint64(b) & 0x7F) << shift
  43173. if b < 0x80 {
  43174. break
  43175. }
  43176. }
  43177. intStringLen := int(stringLen)
  43178. if intStringLen < 0 {
  43179. return ErrInvalidLengthGenerated
  43180. }
  43181. postIndex := iNdEx + intStringLen
  43182. if postIndex > l {
  43183. return io.ErrUnexpectedEOF
  43184. }
  43185. m.ProtectionDomain = string(dAtA[iNdEx:postIndex])
  43186. iNdEx = postIndex
  43187. case 6:
  43188. if wireType != 2 {
  43189. return fmt.Errorf("proto: wrong wireType = %d for field StoragePool", wireType)
  43190. }
  43191. var stringLen uint64
  43192. for shift := uint(0); ; shift += 7 {
  43193. if shift >= 64 {
  43194. return ErrIntOverflowGenerated
  43195. }
  43196. if iNdEx >= l {
  43197. return io.ErrUnexpectedEOF
  43198. }
  43199. b := dAtA[iNdEx]
  43200. iNdEx++
  43201. stringLen |= (uint64(b) & 0x7F) << shift
  43202. if b < 0x80 {
  43203. break
  43204. }
  43205. }
  43206. intStringLen := int(stringLen)
  43207. if intStringLen < 0 {
  43208. return ErrInvalidLengthGenerated
  43209. }
  43210. postIndex := iNdEx + intStringLen
  43211. if postIndex > l {
  43212. return io.ErrUnexpectedEOF
  43213. }
  43214. m.StoragePool = string(dAtA[iNdEx:postIndex])
  43215. iNdEx = postIndex
  43216. case 7:
  43217. if wireType != 2 {
  43218. return fmt.Errorf("proto: wrong wireType = %d for field StorageMode", wireType)
  43219. }
  43220. var stringLen uint64
  43221. for shift := uint(0); ; shift += 7 {
  43222. if shift >= 64 {
  43223. return ErrIntOverflowGenerated
  43224. }
  43225. if iNdEx >= l {
  43226. return io.ErrUnexpectedEOF
  43227. }
  43228. b := dAtA[iNdEx]
  43229. iNdEx++
  43230. stringLen |= (uint64(b) & 0x7F) << shift
  43231. if b < 0x80 {
  43232. break
  43233. }
  43234. }
  43235. intStringLen := int(stringLen)
  43236. if intStringLen < 0 {
  43237. return ErrInvalidLengthGenerated
  43238. }
  43239. postIndex := iNdEx + intStringLen
  43240. if postIndex > l {
  43241. return io.ErrUnexpectedEOF
  43242. }
  43243. m.StorageMode = string(dAtA[iNdEx:postIndex])
  43244. iNdEx = postIndex
  43245. case 8:
  43246. if wireType != 2 {
  43247. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  43248. }
  43249. var stringLen uint64
  43250. for shift := uint(0); ; shift += 7 {
  43251. if shift >= 64 {
  43252. return ErrIntOverflowGenerated
  43253. }
  43254. if iNdEx >= l {
  43255. return io.ErrUnexpectedEOF
  43256. }
  43257. b := dAtA[iNdEx]
  43258. iNdEx++
  43259. stringLen |= (uint64(b) & 0x7F) << shift
  43260. if b < 0x80 {
  43261. break
  43262. }
  43263. }
  43264. intStringLen := int(stringLen)
  43265. if intStringLen < 0 {
  43266. return ErrInvalidLengthGenerated
  43267. }
  43268. postIndex := iNdEx + intStringLen
  43269. if postIndex > l {
  43270. return io.ErrUnexpectedEOF
  43271. }
  43272. m.VolumeName = string(dAtA[iNdEx:postIndex])
  43273. iNdEx = postIndex
  43274. case 9:
  43275. if wireType != 2 {
  43276. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  43277. }
  43278. var stringLen uint64
  43279. for shift := uint(0); ; shift += 7 {
  43280. if shift >= 64 {
  43281. return ErrIntOverflowGenerated
  43282. }
  43283. if iNdEx >= l {
  43284. return io.ErrUnexpectedEOF
  43285. }
  43286. b := dAtA[iNdEx]
  43287. iNdEx++
  43288. stringLen |= (uint64(b) & 0x7F) << shift
  43289. if b < 0x80 {
  43290. break
  43291. }
  43292. }
  43293. intStringLen := int(stringLen)
  43294. if intStringLen < 0 {
  43295. return ErrInvalidLengthGenerated
  43296. }
  43297. postIndex := iNdEx + intStringLen
  43298. if postIndex > l {
  43299. return io.ErrUnexpectedEOF
  43300. }
  43301. m.FSType = string(dAtA[iNdEx:postIndex])
  43302. iNdEx = postIndex
  43303. case 10:
  43304. if wireType != 0 {
  43305. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  43306. }
  43307. var v int
  43308. for shift := uint(0); ; shift += 7 {
  43309. if shift >= 64 {
  43310. return ErrIntOverflowGenerated
  43311. }
  43312. if iNdEx >= l {
  43313. return io.ErrUnexpectedEOF
  43314. }
  43315. b := dAtA[iNdEx]
  43316. iNdEx++
  43317. v |= (int(b) & 0x7F) << shift
  43318. if b < 0x80 {
  43319. break
  43320. }
  43321. }
  43322. m.ReadOnly = bool(v != 0)
  43323. default:
  43324. iNdEx = preIndex
  43325. skippy, err := skipGenerated(dAtA[iNdEx:])
  43326. if err != nil {
  43327. return err
  43328. }
  43329. if skippy < 0 {
  43330. return ErrInvalidLengthGenerated
  43331. }
  43332. if (iNdEx + skippy) > l {
  43333. return io.ErrUnexpectedEOF
  43334. }
  43335. iNdEx += skippy
  43336. }
  43337. }
  43338. if iNdEx > l {
  43339. return io.ErrUnexpectedEOF
  43340. }
  43341. return nil
  43342. }
  43343. func (m *ScaleIOVolumeSource) Unmarshal(dAtA []byte) error {
  43344. l := len(dAtA)
  43345. iNdEx := 0
  43346. for iNdEx < l {
  43347. preIndex := iNdEx
  43348. var wire uint64
  43349. for shift := uint(0); ; shift += 7 {
  43350. if shift >= 64 {
  43351. return ErrIntOverflowGenerated
  43352. }
  43353. if iNdEx >= l {
  43354. return io.ErrUnexpectedEOF
  43355. }
  43356. b := dAtA[iNdEx]
  43357. iNdEx++
  43358. wire |= (uint64(b) & 0x7F) << shift
  43359. if b < 0x80 {
  43360. break
  43361. }
  43362. }
  43363. fieldNum := int32(wire >> 3)
  43364. wireType := int(wire & 0x7)
  43365. if wireType == 4 {
  43366. return fmt.Errorf("proto: ScaleIOVolumeSource: wiretype end group for non-group")
  43367. }
  43368. if fieldNum <= 0 {
  43369. return fmt.Errorf("proto: ScaleIOVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  43370. }
  43371. switch fieldNum {
  43372. case 1:
  43373. if wireType != 2 {
  43374. return fmt.Errorf("proto: wrong wireType = %d for field Gateway", wireType)
  43375. }
  43376. var stringLen uint64
  43377. for shift := uint(0); ; shift += 7 {
  43378. if shift >= 64 {
  43379. return ErrIntOverflowGenerated
  43380. }
  43381. if iNdEx >= l {
  43382. return io.ErrUnexpectedEOF
  43383. }
  43384. b := dAtA[iNdEx]
  43385. iNdEx++
  43386. stringLen |= (uint64(b) & 0x7F) << shift
  43387. if b < 0x80 {
  43388. break
  43389. }
  43390. }
  43391. intStringLen := int(stringLen)
  43392. if intStringLen < 0 {
  43393. return ErrInvalidLengthGenerated
  43394. }
  43395. postIndex := iNdEx + intStringLen
  43396. if postIndex > l {
  43397. return io.ErrUnexpectedEOF
  43398. }
  43399. m.Gateway = string(dAtA[iNdEx:postIndex])
  43400. iNdEx = postIndex
  43401. case 2:
  43402. if wireType != 2 {
  43403. return fmt.Errorf("proto: wrong wireType = %d for field System", wireType)
  43404. }
  43405. var stringLen uint64
  43406. for shift := uint(0); ; shift += 7 {
  43407. if shift >= 64 {
  43408. return ErrIntOverflowGenerated
  43409. }
  43410. if iNdEx >= l {
  43411. return io.ErrUnexpectedEOF
  43412. }
  43413. b := dAtA[iNdEx]
  43414. iNdEx++
  43415. stringLen |= (uint64(b) & 0x7F) << shift
  43416. if b < 0x80 {
  43417. break
  43418. }
  43419. }
  43420. intStringLen := int(stringLen)
  43421. if intStringLen < 0 {
  43422. return ErrInvalidLengthGenerated
  43423. }
  43424. postIndex := iNdEx + intStringLen
  43425. if postIndex > l {
  43426. return io.ErrUnexpectedEOF
  43427. }
  43428. m.System = string(dAtA[iNdEx:postIndex])
  43429. iNdEx = postIndex
  43430. case 3:
  43431. if wireType != 2 {
  43432. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  43433. }
  43434. var msglen int
  43435. for shift := uint(0); ; shift += 7 {
  43436. if shift >= 64 {
  43437. return ErrIntOverflowGenerated
  43438. }
  43439. if iNdEx >= l {
  43440. return io.ErrUnexpectedEOF
  43441. }
  43442. b := dAtA[iNdEx]
  43443. iNdEx++
  43444. msglen |= (int(b) & 0x7F) << shift
  43445. if b < 0x80 {
  43446. break
  43447. }
  43448. }
  43449. if msglen < 0 {
  43450. return ErrInvalidLengthGenerated
  43451. }
  43452. postIndex := iNdEx + msglen
  43453. if postIndex > l {
  43454. return io.ErrUnexpectedEOF
  43455. }
  43456. if m.SecretRef == nil {
  43457. m.SecretRef = &LocalObjectReference{}
  43458. }
  43459. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  43460. return err
  43461. }
  43462. iNdEx = postIndex
  43463. case 4:
  43464. if wireType != 0 {
  43465. return fmt.Errorf("proto: wrong wireType = %d for field SSLEnabled", wireType)
  43466. }
  43467. var v int
  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. v |= (int(b) & 0x7F) << shift
  43478. if b < 0x80 {
  43479. break
  43480. }
  43481. }
  43482. m.SSLEnabled = bool(v != 0)
  43483. case 5:
  43484. if wireType != 2 {
  43485. return fmt.Errorf("proto: wrong wireType = %d for field ProtectionDomain", wireType)
  43486. }
  43487. var stringLen uint64
  43488. for shift := uint(0); ; shift += 7 {
  43489. if shift >= 64 {
  43490. return ErrIntOverflowGenerated
  43491. }
  43492. if iNdEx >= l {
  43493. return io.ErrUnexpectedEOF
  43494. }
  43495. b := dAtA[iNdEx]
  43496. iNdEx++
  43497. stringLen |= (uint64(b) & 0x7F) << shift
  43498. if b < 0x80 {
  43499. break
  43500. }
  43501. }
  43502. intStringLen := int(stringLen)
  43503. if intStringLen < 0 {
  43504. return ErrInvalidLengthGenerated
  43505. }
  43506. postIndex := iNdEx + intStringLen
  43507. if postIndex > l {
  43508. return io.ErrUnexpectedEOF
  43509. }
  43510. m.ProtectionDomain = string(dAtA[iNdEx:postIndex])
  43511. iNdEx = postIndex
  43512. case 6:
  43513. if wireType != 2 {
  43514. return fmt.Errorf("proto: wrong wireType = %d for field StoragePool", wireType)
  43515. }
  43516. var stringLen uint64
  43517. for shift := uint(0); ; shift += 7 {
  43518. if shift >= 64 {
  43519. return ErrIntOverflowGenerated
  43520. }
  43521. if iNdEx >= l {
  43522. return io.ErrUnexpectedEOF
  43523. }
  43524. b := dAtA[iNdEx]
  43525. iNdEx++
  43526. stringLen |= (uint64(b) & 0x7F) << shift
  43527. if b < 0x80 {
  43528. break
  43529. }
  43530. }
  43531. intStringLen := int(stringLen)
  43532. if intStringLen < 0 {
  43533. return ErrInvalidLengthGenerated
  43534. }
  43535. postIndex := iNdEx + intStringLen
  43536. if postIndex > l {
  43537. return io.ErrUnexpectedEOF
  43538. }
  43539. m.StoragePool = string(dAtA[iNdEx:postIndex])
  43540. iNdEx = postIndex
  43541. case 7:
  43542. if wireType != 2 {
  43543. return fmt.Errorf("proto: wrong wireType = %d for field StorageMode", wireType)
  43544. }
  43545. var stringLen uint64
  43546. for shift := uint(0); ; shift += 7 {
  43547. if shift >= 64 {
  43548. return ErrIntOverflowGenerated
  43549. }
  43550. if iNdEx >= l {
  43551. return io.ErrUnexpectedEOF
  43552. }
  43553. b := dAtA[iNdEx]
  43554. iNdEx++
  43555. stringLen |= (uint64(b) & 0x7F) << shift
  43556. if b < 0x80 {
  43557. break
  43558. }
  43559. }
  43560. intStringLen := int(stringLen)
  43561. if intStringLen < 0 {
  43562. return ErrInvalidLengthGenerated
  43563. }
  43564. postIndex := iNdEx + intStringLen
  43565. if postIndex > l {
  43566. return io.ErrUnexpectedEOF
  43567. }
  43568. m.StorageMode = string(dAtA[iNdEx:postIndex])
  43569. iNdEx = postIndex
  43570. case 8:
  43571. if wireType != 2 {
  43572. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  43573. }
  43574. var stringLen uint64
  43575. for shift := uint(0); ; shift += 7 {
  43576. if shift >= 64 {
  43577. return ErrIntOverflowGenerated
  43578. }
  43579. if iNdEx >= l {
  43580. return io.ErrUnexpectedEOF
  43581. }
  43582. b := dAtA[iNdEx]
  43583. iNdEx++
  43584. stringLen |= (uint64(b) & 0x7F) << shift
  43585. if b < 0x80 {
  43586. break
  43587. }
  43588. }
  43589. intStringLen := int(stringLen)
  43590. if intStringLen < 0 {
  43591. return ErrInvalidLengthGenerated
  43592. }
  43593. postIndex := iNdEx + intStringLen
  43594. if postIndex > l {
  43595. return io.ErrUnexpectedEOF
  43596. }
  43597. m.VolumeName = string(dAtA[iNdEx:postIndex])
  43598. iNdEx = postIndex
  43599. case 9:
  43600. if wireType != 2 {
  43601. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  43602. }
  43603. var stringLen uint64
  43604. for shift := uint(0); ; shift += 7 {
  43605. if shift >= 64 {
  43606. return ErrIntOverflowGenerated
  43607. }
  43608. if iNdEx >= l {
  43609. return io.ErrUnexpectedEOF
  43610. }
  43611. b := dAtA[iNdEx]
  43612. iNdEx++
  43613. stringLen |= (uint64(b) & 0x7F) << shift
  43614. if b < 0x80 {
  43615. break
  43616. }
  43617. }
  43618. intStringLen := int(stringLen)
  43619. if intStringLen < 0 {
  43620. return ErrInvalidLengthGenerated
  43621. }
  43622. postIndex := iNdEx + intStringLen
  43623. if postIndex > l {
  43624. return io.ErrUnexpectedEOF
  43625. }
  43626. m.FSType = string(dAtA[iNdEx:postIndex])
  43627. iNdEx = postIndex
  43628. case 10:
  43629. if wireType != 0 {
  43630. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  43631. }
  43632. var v int
  43633. for shift := uint(0); ; shift += 7 {
  43634. if shift >= 64 {
  43635. return ErrIntOverflowGenerated
  43636. }
  43637. if iNdEx >= l {
  43638. return io.ErrUnexpectedEOF
  43639. }
  43640. b := dAtA[iNdEx]
  43641. iNdEx++
  43642. v |= (int(b) & 0x7F) << shift
  43643. if b < 0x80 {
  43644. break
  43645. }
  43646. }
  43647. m.ReadOnly = bool(v != 0)
  43648. default:
  43649. iNdEx = preIndex
  43650. skippy, err := skipGenerated(dAtA[iNdEx:])
  43651. if err != nil {
  43652. return err
  43653. }
  43654. if skippy < 0 {
  43655. return ErrInvalidLengthGenerated
  43656. }
  43657. if (iNdEx + skippy) > l {
  43658. return io.ErrUnexpectedEOF
  43659. }
  43660. iNdEx += skippy
  43661. }
  43662. }
  43663. if iNdEx > l {
  43664. return io.ErrUnexpectedEOF
  43665. }
  43666. return nil
  43667. }
  43668. func (m *Secret) Unmarshal(dAtA []byte) error {
  43669. l := len(dAtA)
  43670. iNdEx := 0
  43671. for iNdEx < l {
  43672. preIndex := iNdEx
  43673. var wire uint64
  43674. for shift := uint(0); ; shift += 7 {
  43675. if shift >= 64 {
  43676. return ErrIntOverflowGenerated
  43677. }
  43678. if iNdEx >= l {
  43679. return io.ErrUnexpectedEOF
  43680. }
  43681. b := dAtA[iNdEx]
  43682. iNdEx++
  43683. wire |= (uint64(b) & 0x7F) << shift
  43684. if b < 0x80 {
  43685. break
  43686. }
  43687. }
  43688. fieldNum := int32(wire >> 3)
  43689. wireType := int(wire & 0x7)
  43690. if wireType == 4 {
  43691. return fmt.Errorf("proto: Secret: wiretype end group for non-group")
  43692. }
  43693. if fieldNum <= 0 {
  43694. return fmt.Errorf("proto: Secret: illegal tag %d (wire type %d)", fieldNum, wire)
  43695. }
  43696. switch fieldNum {
  43697. case 1:
  43698. if wireType != 2 {
  43699. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  43700. }
  43701. var msglen int
  43702. for shift := uint(0); ; shift += 7 {
  43703. if shift >= 64 {
  43704. return ErrIntOverflowGenerated
  43705. }
  43706. if iNdEx >= l {
  43707. return io.ErrUnexpectedEOF
  43708. }
  43709. b := dAtA[iNdEx]
  43710. iNdEx++
  43711. msglen |= (int(b) & 0x7F) << shift
  43712. if b < 0x80 {
  43713. break
  43714. }
  43715. }
  43716. if msglen < 0 {
  43717. return ErrInvalidLengthGenerated
  43718. }
  43719. postIndex := iNdEx + msglen
  43720. if postIndex > l {
  43721. return io.ErrUnexpectedEOF
  43722. }
  43723. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  43724. return err
  43725. }
  43726. iNdEx = postIndex
  43727. case 2:
  43728. if wireType != 2 {
  43729. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  43730. }
  43731. var msglen int
  43732. for shift := uint(0); ; shift += 7 {
  43733. if shift >= 64 {
  43734. return ErrIntOverflowGenerated
  43735. }
  43736. if iNdEx >= l {
  43737. return io.ErrUnexpectedEOF
  43738. }
  43739. b := dAtA[iNdEx]
  43740. iNdEx++
  43741. msglen |= (int(b) & 0x7F) << shift
  43742. if b < 0x80 {
  43743. break
  43744. }
  43745. }
  43746. if msglen < 0 {
  43747. return ErrInvalidLengthGenerated
  43748. }
  43749. postIndex := iNdEx + msglen
  43750. if postIndex > l {
  43751. return io.ErrUnexpectedEOF
  43752. }
  43753. var keykey uint64
  43754. for shift := uint(0); ; shift += 7 {
  43755. if shift >= 64 {
  43756. return ErrIntOverflowGenerated
  43757. }
  43758. if iNdEx >= l {
  43759. return io.ErrUnexpectedEOF
  43760. }
  43761. b := dAtA[iNdEx]
  43762. iNdEx++
  43763. keykey |= (uint64(b) & 0x7F) << shift
  43764. if b < 0x80 {
  43765. break
  43766. }
  43767. }
  43768. var stringLenmapkey uint64
  43769. for shift := uint(0); ; shift += 7 {
  43770. if shift >= 64 {
  43771. return ErrIntOverflowGenerated
  43772. }
  43773. if iNdEx >= l {
  43774. return io.ErrUnexpectedEOF
  43775. }
  43776. b := dAtA[iNdEx]
  43777. iNdEx++
  43778. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  43779. if b < 0x80 {
  43780. break
  43781. }
  43782. }
  43783. intStringLenmapkey := int(stringLenmapkey)
  43784. if intStringLenmapkey < 0 {
  43785. return ErrInvalidLengthGenerated
  43786. }
  43787. postStringIndexmapkey := iNdEx + intStringLenmapkey
  43788. if postStringIndexmapkey > l {
  43789. return io.ErrUnexpectedEOF
  43790. }
  43791. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  43792. iNdEx = postStringIndexmapkey
  43793. if m.Data == nil {
  43794. m.Data = make(map[string][]byte)
  43795. }
  43796. if iNdEx < postIndex {
  43797. var valuekey uint64
  43798. for shift := uint(0); ; shift += 7 {
  43799. if shift >= 64 {
  43800. return ErrIntOverflowGenerated
  43801. }
  43802. if iNdEx >= l {
  43803. return io.ErrUnexpectedEOF
  43804. }
  43805. b := dAtA[iNdEx]
  43806. iNdEx++
  43807. valuekey |= (uint64(b) & 0x7F) << shift
  43808. if b < 0x80 {
  43809. break
  43810. }
  43811. }
  43812. var mapbyteLen uint64
  43813. for shift := uint(0); ; shift += 7 {
  43814. if shift >= 64 {
  43815. return ErrIntOverflowGenerated
  43816. }
  43817. if iNdEx >= l {
  43818. return io.ErrUnexpectedEOF
  43819. }
  43820. b := dAtA[iNdEx]
  43821. iNdEx++
  43822. mapbyteLen |= (uint64(b) & 0x7F) << shift
  43823. if b < 0x80 {
  43824. break
  43825. }
  43826. }
  43827. intMapbyteLen := int(mapbyteLen)
  43828. if intMapbyteLen < 0 {
  43829. return ErrInvalidLengthGenerated
  43830. }
  43831. postbytesIndex := iNdEx + intMapbyteLen
  43832. if postbytesIndex > l {
  43833. return io.ErrUnexpectedEOF
  43834. }
  43835. mapvalue := make([]byte, mapbyteLen)
  43836. copy(mapvalue, dAtA[iNdEx:postbytesIndex])
  43837. iNdEx = postbytesIndex
  43838. m.Data[mapkey] = mapvalue
  43839. } else {
  43840. var mapvalue []byte
  43841. m.Data[mapkey] = mapvalue
  43842. }
  43843. iNdEx = postIndex
  43844. case 3:
  43845. if wireType != 2 {
  43846. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  43847. }
  43848. var stringLen uint64
  43849. for shift := uint(0); ; shift += 7 {
  43850. if shift >= 64 {
  43851. return ErrIntOverflowGenerated
  43852. }
  43853. if iNdEx >= l {
  43854. return io.ErrUnexpectedEOF
  43855. }
  43856. b := dAtA[iNdEx]
  43857. iNdEx++
  43858. stringLen |= (uint64(b) & 0x7F) << shift
  43859. if b < 0x80 {
  43860. break
  43861. }
  43862. }
  43863. intStringLen := int(stringLen)
  43864. if intStringLen < 0 {
  43865. return ErrInvalidLengthGenerated
  43866. }
  43867. postIndex := iNdEx + intStringLen
  43868. if postIndex > l {
  43869. return io.ErrUnexpectedEOF
  43870. }
  43871. m.Type = SecretType(dAtA[iNdEx:postIndex])
  43872. iNdEx = postIndex
  43873. case 4:
  43874. if wireType != 2 {
  43875. return fmt.Errorf("proto: wrong wireType = %d for field StringData", wireType)
  43876. }
  43877. var msglen int
  43878. for shift := uint(0); ; shift += 7 {
  43879. if shift >= 64 {
  43880. return ErrIntOverflowGenerated
  43881. }
  43882. if iNdEx >= l {
  43883. return io.ErrUnexpectedEOF
  43884. }
  43885. b := dAtA[iNdEx]
  43886. iNdEx++
  43887. msglen |= (int(b) & 0x7F) << shift
  43888. if b < 0x80 {
  43889. break
  43890. }
  43891. }
  43892. if msglen < 0 {
  43893. return ErrInvalidLengthGenerated
  43894. }
  43895. postIndex := iNdEx + msglen
  43896. if postIndex > l {
  43897. return io.ErrUnexpectedEOF
  43898. }
  43899. var keykey uint64
  43900. for shift := uint(0); ; shift += 7 {
  43901. if shift >= 64 {
  43902. return ErrIntOverflowGenerated
  43903. }
  43904. if iNdEx >= l {
  43905. return io.ErrUnexpectedEOF
  43906. }
  43907. b := dAtA[iNdEx]
  43908. iNdEx++
  43909. keykey |= (uint64(b) & 0x7F) << shift
  43910. if b < 0x80 {
  43911. break
  43912. }
  43913. }
  43914. var stringLenmapkey uint64
  43915. for shift := uint(0); ; shift += 7 {
  43916. if shift >= 64 {
  43917. return ErrIntOverflowGenerated
  43918. }
  43919. if iNdEx >= l {
  43920. return io.ErrUnexpectedEOF
  43921. }
  43922. b := dAtA[iNdEx]
  43923. iNdEx++
  43924. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  43925. if b < 0x80 {
  43926. break
  43927. }
  43928. }
  43929. intStringLenmapkey := int(stringLenmapkey)
  43930. if intStringLenmapkey < 0 {
  43931. return ErrInvalidLengthGenerated
  43932. }
  43933. postStringIndexmapkey := iNdEx + intStringLenmapkey
  43934. if postStringIndexmapkey > l {
  43935. return io.ErrUnexpectedEOF
  43936. }
  43937. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  43938. iNdEx = postStringIndexmapkey
  43939. if m.StringData == nil {
  43940. m.StringData = make(map[string]string)
  43941. }
  43942. if iNdEx < postIndex {
  43943. var valuekey uint64
  43944. for shift := uint(0); ; shift += 7 {
  43945. if shift >= 64 {
  43946. return ErrIntOverflowGenerated
  43947. }
  43948. if iNdEx >= l {
  43949. return io.ErrUnexpectedEOF
  43950. }
  43951. b := dAtA[iNdEx]
  43952. iNdEx++
  43953. valuekey |= (uint64(b) & 0x7F) << shift
  43954. if b < 0x80 {
  43955. break
  43956. }
  43957. }
  43958. var stringLenmapvalue uint64
  43959. for shift := uint(0); ; shift += 7 {
  43960. if shift >= 64 {
  43961. return ErrIntOverflowGenerated
  43962. }
  43963. if iNdEx >= l {
  43964. return io.ErrUnexpectedEOF
  43965. }
  43966. b := dAtA[iNdEx]
  43967. iNdEx++
  43968. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  43969. if b < 0x80 {
  43970. break
  43971. }
  43972. }
  43973. intStringLenmapvalue := int(stringLenmapvalue)
  43974. if intStringLenmapvalue < 0 {
  43975. return ErrInvalidLengthGenerated
  43976. }
  43977. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  43978. if postStringIndexmapvalue > l {
  43979. return io.ErrUnexpectedEOF
  43980. }
  43981. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  43982. iNdEx = postStringIndexmapvalue
  43983. m.StringData[mapkey] = mapvalue
  43984. } else {
  43985. var mapvalue string
  43986. m.StringData[mapkey] = mapvalue
  43987. }
  43988. iNdEx = postIndex
  43989. default:
  43990. iNdEx = preIndex
  43991. skippy, err := skipGenerated(dAtA[iNdEx:])
  43992. if err != nil {
  43993. return err
  43994. }
  43995. if skippy < 0 {
  43996. return ErrInvalidLengthGenerated
  43997. }
  43998. if (iNdEx + skippy) > l {
  43999. return io.ErrUnexpectedEOF
  44000. }
  44001. iNdEx += skippy
  44002. }
  44003. }
  44004. if iNdEx > l {
  44005. return io.ErrUnexpectedEOF
  44006. }
  44007. return nil
  44008. }
  44009. func (m *SecretEnvSource) Unmarshal(dAtA []byte) error {
  44010. l := len(dAtA)
  44011. iNdEx := 0
  44012. for iNdEx < l {
  44013. preIndex := iNdEx
  44014. var wire uint64
  44015. for shift := uint(0); ; shift += 7 {
  44016. if shift >= 64 {
  44017. return ErrIntOverflowGenerated
  44018. }
  44019. if iNdEx >= l {
  44020. return io.ErrUnexpectedEOF
  44021. }
  44022. b := dAtA[iNdEx]
  44023. iNdEx++
  44024. wire |= (uint64(b) & 0x7F) << shift
  44025. if b < 0x80 {
  44026. break
  44027. }
  44028. }
  44029. fieldNum := int32(wire >> 3)
  44030. wireType := int(wire & 0x7)
  44031. if wireType == 4 {
  44032. return fmt.Errorf("proto: SecretEnvSource: wiretype end group for non-group")
  44033. }
  44034. if fieldNum <= 0 {
  44035. return fmt.Errorf("proto: SecretEnvSource: illegal tag %d (wire type %d)", fieldNum, wire)
  44036. }
  44037. switch fieldNum {
  44038. case 1:
  44039. if wireType != 2 {
  44040. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  44041. }
  44042. var msglen int
  44043. for shift := uint(0); ; shift += 7 {
  44044. if shift >= 64 {
  44045. return ErrIntOverflowGenerated
  44046. }
  44047. if iNdEx >= l {
  44048. return io.ErrUnexpectedEOF
  44049. }
  44050. b := dAtA[iNdEx]
  44051. iNdEx++
  44052. msglen |= (int(b) & 0x7F) << shift
  44053. if b < 0x80 {
  44054. break
  44055. }
  44056. }
  44057. if msglen < 0 {
  44058. return ErrInvalidLengthGenerated
  44059. }
  44060. postIndex := iNdEx + msglen
  44061. if postIndex > l {
  44062. return io.ErrUnexpectedEOF
  44063. }
  44064. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44065. return err
  44066. }
  44067. iNdEx = postIndex
  44068. case 2:
  44069. if wireType != 0 {
  44070. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  44071. }
  44072. var v int
  44073. for shift := uint(0); ; shift += 7 {
  44074. if shift >= 64 {
  44075. return ErrIntOverflowGenerated
  44076. }
  44077. if iNdEx >= l {
  44078. return io.ErrUnexpectedEOF
  44079. }
  44080. b := dAtA[iNdEx]
  44081. iNdEx++
  44082. v |= (int(b) & 0x7F) << shift
  44083. if b < 0x80 {
  44084. break
  44085. }
  44086. }
  44087. b := bool(v != 0)
  44088. m.Optional = &b
  44089. default:
  44090. iNdEx = preIndex
  44091. skippy, err := skipGenerated(dAtA[iNdEx:])
  44092. if err != nil {
  44093. return err
  44094. }
  44095. if skippy < 0 {
  44096. return ErrInvalidLengthGenerated
  44097. }
  44098. if (iNdEx + skippy) > l {
  44099. return io.ErrUnexpectedEOF
  44100. }
  44101. iNdEx += skippy
  44102. }
  44103. }
  44104. if iNdEx > l {
  44105. return io.ErrUnexpectedEOF
  44106. }
  44107. return nil
  44108. }
  44109. func (m *SecretKeySelector) Unmarshal(dAtA []byte) error {
  44110. l := len(dAtA)
  44111. iNdEx := 0
  44112. for iNdEx < l {
  44113. preIndex := iNdEx
  44114. var wire uint64
  44115. for shift := uint(0); ; shift += 7 {
  44116. if shift >= 64 {
  44117. return ErrIntOverflowGenerated
  44118. }
  44119. if iNdEx >= l {
  44120. return io.ErrUnexpectedEOF
  44121. }
  44122. b := dAtA[iNdEx]
  44123. iNdEx++
  44124. wire |= (uint64(b) & 0x7F) << shift
  44125. if b < 0x80 {
  44126. break
  44127. }
  44128. }
  44129. fieldNum := int32(wire >> 3)
  44130. wireType := int(wire & 0x7)
  44131. if wireType == 4 {
  44132. return fmt.Errorf("proto: SecretKeySelector: wiretype end group for non-group")
  44133. }
  44134. if fieldNum <= 0 {
  44135. return fmt.Errorf("proto: SecretKeySelector: illegal tag %d (wire type %d)", fieldNum, wire)
  44136. }
  44137. switch fieldNum {
  44138. case 1:
  44139. if wireType != 2 {
  44140. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  44141. }
  44142. var msglen int
  44143. for shift := uint(0); ; shift += 7 {
  44144. if shift >= 64 {
  44145. return ErrIntOverflowGenerated
  44146. }
  44147. if iNdEx >= l {
  44148. return io.ErrUnexpectedEOF
  44149. }
  44150. b := dAtA[iNdEx]
  44151. iNdEx++
  44152. msglen |= (int(b) & 0x7F) << shift
  44153. if b < 0x80 {
  44154. break
  44155. }
  44156. }
  44157. if msglen < 0 {
  44158. return ErrInvalidLengthGenerated
  44159. }
  44160. postIndex := iNdEx + msglen
  44161. if postIndex > l {
  44162. return io.ErrUnexpectedEOF
  44163. }
  44164. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44165. return err
  44166. }
  44167. iNdEx = postIndex
  44168. case 2:
  44169. if wireType != 2 {
  44170. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  44171. }
  44172. var stringLen uint64
  44173. for shift := uint(0); ; shift += 7 {
  44174. if shift >= 64 {
  44175. return ErrIntOverflowGenerated
  44176. }
  44177. if iNdEx >= l {
  44178. return io.ErrUnexpectedEOF
  44179. }
  44180. b := dAtA[iNdEx]
  44181. iNdEx++
  44182. stringLen |= (uint64(b) & 0x7F) << shift
  44183. if b < 0x80 {
  44184. break
  44185. }
  44186. }
  44187. intStringLen := int(stringLen)
  44188. if intStringLen < 0 {
  44189. return ErrInvalidLengthGenerated
  44190. }
  44191. postIndex := iNdEx + intStringLen
  44192. if postIndex > l {
  44193. return io.ErrUnexpectedEOF
  44194. }
  44195. m.Key = string(dAtA[iNdEx:postIndex])
  44196. iNdEx = postIndex
  44197. case 3:
  44198. if wireType != 0 {
  44199. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  44200. }
  44201. var v int
  44202. for shift := uint(0); ; shift += 7 {
  44203. if shift >= 64 {
  44204. return ErrIntOverflowGenerated
  44205. }
  44206. if iNdEx >= l {
  44207. return io.ErrUnexpectedEOF
  44208. }
  44209. b := dAtA[iNdEx]
  44210. iNdEx++
  44211. v |= (int(b) & 0x7F) << shift
  44212. if b < 0x80 {
  44213. break
  44214. }
  44215. }
  44216. b := bool(v != 0)
  44217. m.Optional = &b
  44218. default:
  44219. iNdEx = preIndex
  44220. skippy, err := skipGenerated(dAtA[iNdEx:])
  44221. if err != nil {
  44222. return err
  44223. }
  44224. if skippy < 0 {
  44225. return ErrInvalidLengthGenerated
  44226. }
  44227. if (iNdEx + skippy) > l {
  44228. return io.ErrUnexpectedEOF
  44229. }
  44230. iNdEx += skippy
  44231. }
  44232. }
  44233. if iNdEx > l {
  44234. return io.ErrUnexpectedEOF
  44235. }
  44236. return nil
  44237. }
  44238. func (m *SecretList) Unmarshal(dAtA []byte) error {
  44239. l := len(dAtA)
  44240. iNdEx := 0
  44241. for iNdEx < l {
  44242. preIndex := iNdEx
  44243. var wire uint64
  44244. for shift := uint(0); ; shift += 7 {
  44245. if shift >= 64 {
  44246. return ErrIntOverflowGenerated
  44247. }
  44248. if iNdEx >= l {
  44249. return io.ErrUnexpectedEOF
  44250. }
  44251. b := dAtA[iNdEx]
  44252. iNdEx++
  44253. wire |= (uint64(b) & 0x7F) << shift
  44254. if b < 0x80 {
  44255. break
  44256. }
  44257. }
  44258. fieldNum := int32(wire >> 3)
  44259. wireType := int(wire & 0x7)
  44260. if wireType == 4 {
  44261. return fmt.Errorf("proto: SecretList: wiretype end group for non-group")
  44262. }
  44263. if fieldNum <= 0 {
  44264. return fmt.Errorf("proto: SecretList: illegal tag %d (wire type %d)", fieldNum, wire)
  44265. }
  44266. switch fieldNum {
  44267. case 1:
  44268. if wireType != 2 {
  44269. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  44270. }
  44271. var msglen int
  44272. for shift := uint(0); ; shift += 7 {
  44273. if shift >= 64 {
  44274. return ErrIntOverflowGenerated
  44275. }
  44276. if iNdEx >= l {
  44277. return io.ErrUnexpectedEOF
  44278. }
  44279. b := dAtA[iNdEx]
  44280. iNdEx++
  44281. msglen |= (int(b) & 0x7F) << shift
  44282. if b < 0x80 {
  44283. break
  44284. }
  44285. }
  44286. if msglen < 0 {
  44287. return ErrInvalidLengthGenerated
  44288. }
  44289. postIndex := iNdEx + msglen
  44290. if postIndex > l {
  44291. return io.ErrUnexpectedEOF
  44292. }
  44293. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44294. return err
  44295. }
  44296. iNdEx = postIndex
  44297. case 2:
  44298. if wireType != 2 {
  44299. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  44300. }
  44301. var msglen int
  44302. for shift := uint(0); ; shift += 7 {
  44303. if shift >= 64 {
  44304. return ErrIntOverflowGenerated
  44305. }
  44306. if iNdEx >= l {
  44307. return io.ErrUnexpectedEOF
  44308. }
  44309. b := dAtA[iNdEx]
  44310. iNdEx++
  44311. msglen |= (int(b) & 0x7F) << shift
  44312. if b < 0x80 {
  44313. break
  44314. }
  44315. }
  44316. if msglen < 0 {
  44317. return ErrInvalidLengthGenerated
  44318. }
  44319. postIndex := iNdEx + msglen
  44320. if postIndex > l {
  44321. return io.ErrUnexpectedEOF
  44322. }
  44323. m.Items = append(m.Items, Secret{})
  44324. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44325. return err
  44326. }
  44327. iNdEx = postIndex
  44328. default:
  44329. iNdEx = preIndex
  44330. skippy, err := skipGenerated(dAtA[iNdEx:])
  44331. if err != nil {
  44332. return err
  44333. }
  44334. if skippy < 0 {
  44335. return ErrInvalidLengthGenerated
  44336. }
  44337. if (iNdEx + skippy) > l {
  44338. return io.ErrUnexpectedEOF
  44339. }
  44340. iNdEx += skippy
  44341. }
  44342. }
  44343. if iNdEx > l {
  44344. return io.ErrUnexpectedEOF
  44345. }
  44346. return nil
  44347. }
  44348. func (m *SecretProjection) Unmarshal(dAtA []byte) error {
  44349. l := len(dAtA)
  44350. iNdEx := 0
  44351. for iNdEx < l {
  44352. preIndex := iNdEx
  44353. var wire uint64
  44354. for shift := uint(0); ; shift += 7 {
  44355. if shift >= 64 {
  44356. return ErrIntOverflowGenerated
  44357. }
  44358. if iNdEx >= l {
  44359. return io.ErrUnexpectedEOF
  44360. }
  44361. b := dAtA[iNdEx]
  44362. iNdEx++
  44363. wire |= (uint64(b) & 0x7F) << shift
  44364. if b < 0x80 {
  44365. break
  44366. }
  44367. }
  44368. fieldNum := int32(wire >> 3)
  44369. wireType := int(wire & 0x7)
  44370. if wireType == 4 {
  44371. return fmt.Errorf("proto: SecretProjection: wiretype end group for non-group")
  44372. }
  44373. if fieldNum <= 0 {
  44374. return fmt.Errorf("proto: SecretProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  44375. }
  44376. switch fieldNum {
  44377. case 1:
  44378. if wireType != 2 {
  44379. return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType)
  44380. }
  44381. var msglen int
  44382. for shift := uint(0); ; shift += 7 {
  44383. if shift >= 64 {
  44384. return ErrIntOverflowGenerated
  44385. }
  44386. if iNdEx >= l {
  44387. return io.ErrUnexpectedEOF
  44388. }
  44389. b := dAtA[iNdEx]
  44390. iNdEx++
  44391. msglen |= (int(b) & 0x7F) << shift
  44392. if b < 0x80 {
  44393. break
  44394. }
  44395. }
  44396. if msglen < 0 {
  44397. return ErrInvalidLengthGenerated
  44398. }
  44399. postIndex := iNdEx + msglen
  44400. if postIndex > l {
  44401. return io.ErrUnexpectedEOF
  44402. }
  44403. if err := m.LocalObjectReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44404. return err
  44405. }
  44406. iNdEx = postIndex
  44407. case 2:
  44408. if wireType != 2 {
  44409. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  44410. }
  44411. var msglen int
  44412. for shift := uint(0); ; shift += 7 {
  44413. if shift >= 64 {
  44414. return ErrIntOverflowGenerated
  44415. }
  44416. if iNdEx >= l {
  44417. return io.ErrUnexpectedEOF
  44418. }
  44419. b := dAtA[iNdEx]
  44420. iNdEx++
  44421. msglen |= (int(b) & 0x7F) << shift
  44422. if b < 0x80 {
  44423. break
  44424. }
  44425. }
  44426. if msglen < 0 {
  44427. return ErrInvalidLengthGenerated
  44428. }
  44429. postIndex := iNdEx + msglen
  44430. if postIndex > l {
  44431. return io.ErrUnexpectedEOF
  44432. }
  44433. m.Items = append(m.Items, KeyToPath{})
  44434. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44435. return err
  44436. }
  44437. iNdEx = postIndex
  44438. case 4:
  44439. if wireType != 0 {
  44440. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  44441. }
  44442. var v int
  44443. for shift := uint(0); ; shift += 7 {
  44444. if shift >= 64 {
  44445. return ErrIntOverflowGenerated
  44446. }
  44447. if iNdEx >= l {
  44448. return io.ErrUnexpectedEOF
  44449. }
  44450. b := dAtA[iNdEx]
  44451. iNdEx++
  44452. v |= (int(b) & 0x7F) << shift
  44453. if b < 0x80 {
  44454. break
  44455. }
  44456. }
  44457. b := bool(v != 0)
  44458. m.Optional = &b
  44459. default:
  44460. iNdEx = preIndex
  44461. skippy, err := skipGenerated(dAtA[iNdEx:])
  44462. if err != nil {
  44463. return err
  44464. }
  44465. if skippy < 0 {
  44466. return ErrInvalidLengthGenerated
  44467. }
  44468. if (iNdEx + skippy) > l {
  44469. return io.ErrUnexpectedEOF
  44470. }
  44471. iNdEx += skippy
  44472. }
  44473. }
  44474. if iNdEx > l {
  44475. return io.ErrUnexpectedEOF
  44476. }
  44477. return nil
  44478. }
  44479. func (m *SecretReference) Unmarshal(dAtA []byte) error {
  44480. l := len(dAtA)
  44481. iNdEx := 0
  44482. for iNdEx < l {
  44483. preIndex := iNdEx
  44484. var wire uint64
  44485. for shift := uint(0); ; shift += 7 {
  44486. if shift >= 64 {
  44487. return ErrIntOverflowGenerated
  44488. }
  44489. if iNdEx >= l {
  44490. return io.ErrUnexpectedEOF
  44491. }
  44492. b := dAtA[iNdEx]
  44493. iNdEx++
  44494. wire |= (uint64(b) & 0x7F) << shift
  44495. if b < 0x80 {
  44496. break
  44497. }
  44498. }
  44499. fieldNum := int32(wire >> 3)
  44500. wireType := int(wire & 0x7)
  44501. if wireType == 4 {
  44502. return fmt.Errorf("proto: SecretReference: wiretype end group for non-group")
  44503. }
  44504. if fieldNum <= 0 {
  44505. return fmt.Errorf("proto: SecretReference: illegal tag %d (wire type %d)", fieldNum, wire)
  44506. }
  44507. switch fieldNum {
  44508. case 1:
  44509. if wireType != 2 {
  44510. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  44511. }
  44512. var stringLen uint64
  44513. for shift := uint(0); ; shift += 7 {
  44514. if shift >= 64 {
  44515. return ErrIntOverflowGenerated
  44516. }
  44517. if iNdEx >= l {
  44518. return io.ErrUnexpectedEOF
  44519. }
  44520. b := dAtA[iNdEx]
  44521. iNdEx++
  44522. stringLen |= (uint64(b) & 0x7F) << shift
  44523. if b < 0x80 {
  44524. break
  44525. }
  44526. }
  44527. intStringLen := int(stringLen)
  44528. if intStringLen < 0 {
  44529. return ErrInvalidLengthGenerated
  44530. }
  44531. postIndex := iNdEx + intStringLen
  44532. if postIndex > l {
  44533. return io.ErrUnexpectedEOF
  44534. }
  44535. m.Name = string(dAtA[iNdEx:postIndex])
  44536. iNdEx = postIndex
  44537. case 2:
  44538. if wireType != 2 {
  44539. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  44540. }
  44541. var stringLen uint64
  44542. for shift := uint(0); ; shift += 7 {
  44543. if shift >= 64 {
  44544. return ErrIntOverflowGenerated
  44545. }
  44546. if iNdEx >= l {
  44547. return io.ErrUnexpectedEOF
  44548. }
  44549. b := dAtA[iNdEx]
  44550. iNdEx++
  44551. stringLen |= (uint64(b) & 0x7F) << shift
  44552. if b < 0x80 {
  44553. break
  44554. }
  44555. }
  44556. intStringLen := int(stringLen)
  44557. if intStringLen < 0 {
  44558. return ErrInvalidLengthGenerated
  44559. }
  44560. postIndex := iNdEx + intStringLen
  44561. if postIndex > l {
  44562. return io.ErrUnexpectedEOF
  44563. }
  44564. m.Namespace = string(dAtA[iNdEx:postIndex])
  44565. iNdEx = postIndex
  44566. default:
  44567. iNdEx = preIndex
  44568. skippy, err := skipGenerated(dAtA[iNdEx:])
  44569. if err != nil {
  44570. return err
  44571. }
  44572. if skippy < 0 {
  44573. return ErrInvalidLengthGenerated
  44574. }
  44575. if (iNdEx + skippy) > l {
  44576. return io.ErrUnexpectedEOF
  44577. }
  44578. iNdEx += skippy
  44579. }
  44580. }
  44581. if iNdEx > l {
  44582. return io.ErrUnexpectedEOF
  44583. }
  44584. return nil
  44585. }
  44586. func (m *SecretVolumeSource) Unmarshal(dAtA []byte) error {
  44587. l := len(dAtA)
  44588. iNdEx := 0
  44589. for iNdEx < l {
  44590. preIndex := iNdEx
  44591. var wire uint64
  44592. for shift := uint(0); ; shift += 7 {
  44593. if shift >= 64 {
  44594. return ErrIntOverflowGenerated
  44595. }
  44596. if iNdEx >= l {
  44597. return io.ErrUnexpectedEOF
  44598. }
  44599. b := dAtA[iNdEx]
  44600. iNdEx++
  44601. wire |= (uint64(b) & 0x7F) << shift
  44602. if b < 0x80 {
  44603. break
  44604. }
  44605. }
  44606. fieldNum := int32(wire >> 3)
  44607. wireType := int(wire & 0x7)
  44608. if wireType == 4 {
  44609. return fmt.Errorf("proto: SecretVolumeSource: wiretype end group for non-group")
  44610. }
  44611. if fieldNum <= 0 {
  44612. return fmt.Errorf("proto: SecretVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  44613. }
  44614. switch fieldNum {
  44615. case 1:
  44616. if wireType != 2 {
  44617. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  44618. }
  44619. var stringLen uint64
  44620. for shift := uint(0); ; shift += 7 {
  44621. if shift >= 64 {
  44622. return ErrIntOverflowGenerated
  44623. }
  44624. if iNdEx >= l {
  44625. return io.ErrUnexpectedEOF
  44626. }
  44627. b := dAtA[iNdEx]
  44628. iNdEx++
  44629. stringLen |= (uint64(b) & 0x7F) << shift
  44630. if b < 0x80 {
  44631. break
  44632. }
  44633. }
  44634. intStringLen := int(stringLen)
  44635. if intStringLen < 0 {
  44636. return ErrInvalidLengthGenerated
  44637. }
  44638. postIndex := iNdEx + intStringLen
  44639. if postIndex > l {
  44640. return io.ErrUnexpectedEOF
  44641. }
  44642. m.SecretName = string(dAtA[iNdEx:postIndex])
  44643. iNdEx = postIndex
  44644. case 2:
  44645. if wireType != 2 {
  44646. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  44647. }
  44648. var msglen int
  44649. for shift := uint(0); ; shift += 7 {
  44650. if shift >= 64 {
  44651. return ErrIntOverflowGenerated
  44652. }
  44653. if iNdEx >= l {
  44654. return io.ErrUnexpectedEOF
  44655. }
  44656. b := dAtA[iNdEx]
  44657. iNdEx++
  44658. msglen |= (int(b) & 0x7F) << shift
  44659. if b < 0x80 {
  44660. break
  44661. }
  44662. }
  44663. if msglen < 0 {
  44664. return ErrInvalidLengthGenerated
  44665. }
  44666. postIndex := iNdEx + msglen
  44667. if postIndex > l {
  44668. return io.ErrUnexpectedEOF
  44669. }
  44670. m.Items = append(m.Items, KeyToPath{})
  44671. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44672. return err
  44673. }
  44674. iNdEx = postIndex
  44675. case 3:
  44676. if wireType != 0 {
  44677. return fmt.Errorf("proto: wrong wireType = %d for field DefaultMode", wireType)
  44678. }
  44679. var v int32
  44680. for shift := uint(0); ; shift += 7 {
  44681. if shift >= 64 {
  44682. return ErrIntOverflowGenerated
  44683. }
  44684. if iNdEx >= l {
  44685. return io.ErrUnexpectedEOF
  44686. }
  44687. b := dAtA[iNdEx]
  44688. iNdEx++
  44689. v |= (int32(b) & 0x7F) << shift
  44690. if b < 0x80 {
  44691. break
  44692. }
  44693. }
  44694. m.DefaultMode = &v
  44695. case 4:
  44696. if wireType != 0 {
  44697. return fmt.Errorf("proto: wrong wireType = %d for field Optional", wireType)
  44698. }
  44699. var v int
  44700. for shift := uint(0); ; shift += 7 {
  44701. if shift >= 64 {
  44702. return ErrIntOverflowGenerated
  44703. }
  44704. if iNdEx >= l {
  44705. return io.ErrUnexpectedEOF
  44706. }
  44707. b := dAtA[iNdEx]
  44708. iNdEx++
  44709. v |= (int(b) & 0x7F) << shift
  44710. if b < 0x80 {
  44711. break
  44712. }
  44713. }
  44714. b := bool(v != 0)
  44715. m.Optional = &b
  44716. default:
  44717. iNdEx = preIndex
  44718. skippy, err := skipGenerated(dAtA[iNdEx:])
  44719. if err != nil {
  44720. return err
  44721. }
  44722. if skippy < 0 {
  44723. return ErrInvalidLengthGenerated
  44724. }
  44725. if (iNdEx + skippy) > l {
  44726. return io.ErrUnexpectedEOF
  44727. }
  44728. iNdEx += skippy
  44729. }
  44730. }
  44731. if iNdEx > l {
  44732. return io.ErrUnexpectedEOF
  44733. }
  44734. return nil
  44735. }
  44736. func (m *SecurityContext) Unmarshal(dAtA []byte) error {
  44737. l := len(dAtA)
  44738. iNdEx := 0
  44739. for iNdEx < l {
  44740. preIndex := iNdEx
  44741. var wire uint64
  44742. for shift := uint(0); ; shift += 7 {
  44743. if shift >= 64 {
  44744. return ErrIntOverflowGenerated
  44745. }
  44746. if iNdEx >= l {
  44747. return io.ErrUnexpectedEOF
  44748. }
  44749. b := dAtA[iNdEx]
  44750. iNdEx++
  44751. wire |= (uint64(b) & 0x7F) << shift
  44752. if b < 0x80 {
  44753. break
  44754. }
  44755. }
  44756. fieldNum := int32(wire >> 3)
  44757. wireType := int(wire & 0x7)
  44758. if wireType == 4 {
  44759. return fmt.Errorf("proto: SecurityContext: wiretype end group for non-group")
  44760. }
  44761. if fieldNum <= 0 {
  44762. return fmt.Errorf("proto: SecurityContext: illegal tag %d (wire type %d)", fieldNum, wire)
  44763. }
  44764. switch fieldNum {
  44765. case 1:
  44766. if wireType != 2 {
  44767. return fmt.Errorf("proto: wrong wireType = %d for field Capabilities", wireType)
  44768. }
  44769. var msglen int
  44770. for shift := uint(0); ; shift += 7 {
  44771. if shift >= 64 {
  44772. return ErrIntOverflowGenerated
  44773. }
  44774. if iNdEx >= l {
  44775. return io.ErrUnexpectedEOF
  44776. }
  44777. b := dAtA[iNdEx]
  44778. iNdEx++
  44779. msglen |= (int(b) & 0x7F) << shift
  44780. if b < 0x80 {
  44781. break
  44782. }
  44783. }
  44784. if msglen < 0 {
  44785. return ErrInvalidLengthGenerated
  44786. }
  44787. postIndex := iNdEx + msglen
  44788. if postIndex > l {
  44789. return io.ErrUnexpectedEOF
  44790. }
  44791. if m.Capabilities == nil {
  44792. m.Capabilities = &Capabilities{}
  44793. }
  44794. if err := m.Capabilities.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44795. return err
  44796. }
  44797. iNdEx = postIndex
  44798. case 2:
  44799. if wireType != 0 {
  44800. return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
  44801. }
  44802. var v int
  44803. for shift := uint(0); ; shift += 7 {
  44804. if shift >= 64 {
  44805. return ErrIntOverflowGenerated
  44806. }
  44807. if iNdEx >= l {
  44808. return io.ErrUnexpectedEOF
  44809. }
  44810. b := dAtA[iNdEx]
  44811. iNdEx++
  44812. v |= (int(b) & 0x7F) << shift
  44813. if b < 0x80 {
  44814. break
  44815. }
  44816. }
  44817. b := bool(v != 0)
  44818. m.Privileged = &b
  44819. case 3:
  44820. if wireType != 2 {
  44821. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  44822. }
  44823. var msglen int
  44824. for shift := uint(0); ; shift += 7 {
  44825. if shift >= 64 {
  44826. return ErrIntOverflowGenerated
  44827. }
  44828. if iNdEx >= l {
  44829. return io.ErrUnexpectedEOF
  44830. }
  44831. b := dAtA[iNdEx]
  44832. iNdEx++
  44833. msglen |= (int(b) & 0x7F) << shift
  44834. if b < 0x80 {
  44835. break
  44836. }
  44837. }
  44838. if msglen < 0 {
  44839. return ErrInvalidLengthGenerated
  44840. }
  44841. postIndex := iNdEx + msglen
  44842. if postIndex > l {
  44843. return io.ErrUnexpectedEOF
  44844. }
  44845. if m.SELinuxOptions == nil {
  44846. m.SELinuxOptions = &SELinuxOptions{}
  44847. }
  44848. if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  44849. return err
  44850. }
  44851. iNdEx = postIndex
  44852. case 4:
  44853. if wireType != 0 {
  44854. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  44855. }
  44856. var v int64
  44857. for shift := uint(0); ; shift += 7 {
  44858. if shift >= 64 {
  44859. return ErrIntOverflowGenerated
  44860. }
  44861. if iNdEx >= l {
  44862. return io.ErrUnexpectedEOF
  44863. }
  44864. b := dAtA[iNdEx]
  44865. iNdEx++
  44866. v |= (int64(b) & 0x7F) << shift
  44867. if b < 0x80 {
  44868. break
  44869. }
  44870. }
  44871. m.RunAsUser = &v
  44872. case 5:
  44873. if wireType != 0 {
  44874. return fmt.Errorf("proto: wrong wireType = %d for field RunAsNonRoot", wireType)
  44875. }
  44876. var v int
  44877. for shift := uint(0); ; shift += 7 {
  44878. if shift >= 64 {
  44879. return ErrIntOverflowGenerated
  44880. }
  44881. if iNdEx >= l {
  44882. return io.ErrUnexpectedEOF
  44883. }
  44884. b := dAtA[iNdEx]
  44885. iNdEx++
  44886. v |= (int(b) & 0x7F) << shift
  44887. if b < 0x80 {
  44888. break
  44889. }
  44890. }
  44891. b := bool(v != 0)
  44892. m.RunAsNonRoot = &b
  44893. case 6:
  44894. if wireType != 0 {
  44895. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
  44896. }
  44897. var v int
  44898. for shift := uint(0); ; shift += 7 {
  44899. if shift >= 64 {
  44900. return ErrIntOverflowGenerated
  44901. }
  44902. if iNdEx >= l {
  44903. return io.ErrUnexpectedEOF
  44904. }
  44905. b := dAtA[iNdEx]
  44906. iNdEx++
  44907. v |= (int(b) & 0x7F) << shift
  44908. if b < 0x80 {
  44909. break
  44910. }
  44911. }
  44912. b := bool(v != 0)
  44913. m.ReadOnlyRootFilesystem = &b
  44914. case 7:
  44915. if wireType != 0 {
  44916. return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
  44917. }
  44918. var v int
  44919. for shift := uint(0); ; shift += 7 {
  44920. if shift >= 64 {
  44921. return ErrIntOverflowGenerated
  44922. }
  44923. if iNdEx >= l {
  44924. return io.ErrUnexpectedEOF
  44925. }
  44926. b := dAtA[iNdEx]
  44927. iNdEx++
  44928. v |= (int(b) & 0x7F) << shift
  44929. if b < 0x80 {
  44930. break
  44931. }
  44932. }
  44933. b := bool(v != 0)
  44934. m.AllowPrivilegeEscalation = &b
  44935. case 8:
  44936. if wireType != 0 {
  44937. return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
  44938. }
  44939. var v int64
  44940. for shift := uint(0); ; shift += 7 {
  44941. if shift >= 64 {
  44942. return ErrIntOverflowGenerated
  44943. }
  44944. if iNdEx >= l {
  44945. return io.ErrUnexpectedEOF
  44946. }
  44947. b := dAtA[iNdEx]
  44948. iNdEx++
  44949. v |= (int64(b) & 0x7F) << shift
  44950. if b < 0x80 {
  44951. break
  44952. }
  44953. }
  44954. m.RunAsGroup = &v
  44955. default:
  44956. iNdEx = preIndex
  44957. skippy, err := skipGenerated(dAtA[iNdEx:])
  44958. if err != nil {
  44959. return err
  44960. }
  44961. if skippy < 0 {
  44962. return ErrInvalidLengthGenerated
  44963. }
  44964. if (iNdEx + skippy) > l {
  44965. return io.ErrUnexpectedEOF
  44966. }
  44967. iNdEx += skippy
  44968. }
  44969. }
  44970. if iNdEx > l {
  44971. return io.ErrUnexpectedEOF
  44972. }
  44973. return nil
  44974. }
  44975. func (m *SerializedReference) Unmarshal(dAtA []byte) error {
  44976. l := len(dAtA)
  44977. iNdEx := 0
  44978. for iNdEx < l {
  44979. preIndex := iNdEx
  44980. var wire uint64
  44981. for shift := uint(0); ; shift += 7 {
  44982. if shift >= 64 {
  44983. return ErrIntOverflowGenerated
  44984. }
  44985. if iNdEx >= l {
  44986. return io.ErrUnexpectedEOF
  44987. }
  44988. b := dAtA[iNdEx]
  44989. iNdEx++
  44990. wire |= (uint64(b) & 0x7F) << shift
  44991. if b < 0x80 {
  44992. break
  44993. }
  44994. }
  44995. fieldNum := int32(wire >> 3)
  44996. wireType := int(wire & 0x7)
  44997. if wireType == 4 {
  44998. return fmt.Errorf("proto: SerializedReference: wiretype end group for non-group")
  44999. }
  45000. if fieldNum <= 0 {
  45001. return fmt.Errorf("proto: SerializedReference: illegal tag %d (wire type %d)", fieldNum, wire)
  45002. }
  45003. switch fieldNum {
  45004. case 1:
  45005. if wireType != 2 {
  45006. return fmt.Errorf("proto: wrong wireType = %d for field Reference", wireType)
  45007. }
  45008. var msglen int
  45009. for shift := uint(0); ; shift += 7 {
  45010. if shift >= 64 {
  45011. return ErrIntOverflowGenerated
  45012. }
  45013. if iNdEx >= l {
  45014. return io.ErrUnexpectedEOF
  45015. }
  45016. b := dAtA[iNdEx]
  45017. iNdEx++
  45018. msglen |= (int(b) & 0x7F) << shift
  45019. if b < 0x80 {
  45020. break
  45021. }
  45022. }
  45023. if msglen < 0 {
  45024. return ErrInvalidLengthGenerated
  45025. }
  45026. postIndex := iNdEx + msglen
  45027. if postIndex > l {
  45028. return io.ErrUnexpectedEOF
  45029. }
  45030. if err := m.Reference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45031. return err
  45032. }
  45033. iNdEx = postIndex
  45034. default:
  45035. iNdEx = preIndex
  45036. skippy, err := skipGenerated(dAtA[iNdEx:])
  45037. if err != nil {
  45038. return err
  45039. }
  45040. if skippy < 0 {
  45041. return ErrInvalidLengthGenerated
  45042. }
  45043. if (iNdEx + skippy) > l {
  45044. return io.ErrUnexpectedEOF
  45045. }
  45046. iNdEx += skippy
  45047. }
  45048. }
  45049. if iNdEx > l {
  45050. return io.ErrUnexpectedEOF
  45051. }
  45052. return nil
  45053. }
  45054. func (m *Service) Unmarshal(dAtA []byte) error {
  45055. l := len(dAtA)
  45056. iNdEx := 0
  45057. for iNdEx < l {
  45058. preIndex := iNdEx
  45059. var wire uint64
  45060. for shift := uint(0); ; shift += 7 {
  45061. if shift >= 64 {
  45062. return ErrIntOverflowGenerated
  45063. }
  45064. if iNdEx >= l {
  45065. return io.ErrUnexpectedEOF
  45066. }
  45067. b := dAtA[iNdEx]
  45068. iNdEx++
  45069. wire |= (uint64(b) & 0x7F) << shift
  45070. if b < 0x80 {
  45071. break
  45072. }
  45073. }
  45074. fieldNum := int32(wire >> 3)
  45075. wireType := int(wire & 0x7)
  45076. if wireType == 4 {
  45077. return fmt.Errorf("proto: Service: wiretype end group for non-group")
  45078. }
  45079. if fieldNum <= 0 {
  45080. return fmt.Errorf("proto: Service: illegal tag %d (wire type %d)", fieldNum, wire)
  45081. }
  45082. switch fieldNum {
  45083. case 1:
  45084. if wireType != 2 {
  45085. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  45086. }
  45087. var msglen int
  45088. for shift := uint(0); ; shift += 7 {
  45089. if shift >= 64 {
  45090. return ErrIntOverflowGenerated
  45091. }
  45092. if iNdEx >= l {
  45093. return io.ErrUnexpectedEOF
  45094. }
  45095. b := dAtA[iNdEx]
  45096. iNdEx++
  45097. msglen |= (int(b) & 0x7F) << shift
  45098. if b < 0x80 {
  45099. break
  45100. }
  45101. }
  45102. if msglen < 0 {
  45103. return ErrInvalidLengthGenerated
  45104. }
  45105. postIndex := iNdEx + msglen
  45106. if postIndex > l {
  45107. return io.ErrUnexpectedEOF
  45108. }
  45109. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45110. return err
  45111. }
  45112. iNdEx = postIndex
  45113. case 2:
  45114. if wireType != 2 {
  45115. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  45116. }
  45117. var msglen int
  45118. for shift := uint(0); ; shift += 7 {
  45119. if shift >= 64 {
  45120. return ErrIntOverflowGenerated
  45121. }
  45122. if iNdEx >= l {
  45123. return io.ErrUnexpectedEOF
  45124. }
  45125. b := dAtA[iNdEx]
  45126. iNdEx++
  45127. msglen |= (int(b) & 0x7F) << shift
  45128. if b < 0x80 {
  45129. break
  45130. }
  45131. }
  45132. if msglen < 0 {
  45133. return ErrInvalidLengthGenerated
  45134. }
  45135. postIndex := iNdEx + msglen
  45136. if postIndex > l {
  45137. return io.ErrUnexpectedEOF
  45138. }
  45139. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45140. return err
  45141. }
  45142. iNdEx = postIndex
  45143. case 3:
  45144. if wireType != 2 {
  45145. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  45146. }
  45147. var msglen int
  45148. for shift := uint(0); ; shift += 7 {
  45149. if shift >= 64 {
  45150. return ErrIntOverflowGenerated
  45151. }
  45152. if iNdEx >= l {
  45153. return io.ErrUnexpectedEOF
  45154. }
  45155. b := dAtA[iNdEx]
  45156. iNdEx++
  45157. msglen |= (int(b) & 0x7F) << shift
  45158. if b < 0x80 {
  45159. break
  45160. }
  45161. }
  45162. if msglen < 0 {
  45163. return ErrInvalidLengthGenerated
  45164. }
  45165. postIndex := iNdEx + msglen
  45166. if postIndex > l {
  45167. return io.ErrUnexpectedEOF
  45168. }
  45169. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45170. return err
  45171. }
  45172. iNdEx = postIndex
  45173. default:
  45174. iNdEx = preIndex
  45175. skippy, err := skipGenerated(dAtA[iNdEx:])
  45176. if err != nil {
  45177. return err
  45178. }
  45179. if skippy < 0 {
  45180. return ErrInvalidLengthGenerated
  45181. }
  45182. if (iNdEx + skippy) > l {
  45183. return io.ErrUnexpectedEOF
  45184. }
  45185. iNdEx += skippy
  45186. }
  45187. }
  45188. if iNdEx > l {
  45189. return io.ErrUnexpectedEOF
  45190. }
  45191. return nil
  45192. }
  45193. func (m *ServiceAccount) Unmarshal(dAtA []byte) error {
  45194. l := len(dAtA)
  45195. iNdEx := 0
  45196. for iNdEx < l {
  45197. preIndex := iNdEx
  45198. var wire uint64
  45199. for shift := uint(0); ; shift += 7 {
  45200. if shift >= 64 {
  45201. return ErrIntOverflowGenerated
  45202. }
  45203. if iNdEx >= l {
  45204. return io.ErrUnexpectedEOF
  45205. }
  45206. b := dAtA[iNdEx]
  45207. iNdEx++
  45208. wire |= (uint64(b) & 0x7F) << shift
  45209. if b < 0x80 {
  45210. break
  45211. }
  45212. }
  45213. fieldNum := int32(wire >> 3)
  45214. wireType := int(wire & 0x7)
  45215. if wireType == 4 {
  45216. return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group")
  45217. }
  45218. if fieldNum <= 0 {
  45219. return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire)
  45220. }
  45221. switch fieldNum {
  45222. case 1:
  45223. if wireType != 2 {
  45224. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  45225. }
  45226. var msglen int
  45227. for shift := uint(0); ; shift += 7 {
  45228. if shift >= 64 {
  45229. return ErrIntOverflowGenerated
  45230. }
  45231. if iNdEx >= l {
  45232. return io.ErrUnexpectedEOF
  45233. }
  45234. b := dAtA[iNdEx]
  45235. iNdEx++
  45236. msglen |= (int(b) & 0x7F) << shift
  45237. if b < 0x80 {
  45238. break
  45239. }
  45240. }
  45241. if msglen < 0 {
  45242. return ErrInvalidLengthGenerated
  45243. }
  45244. postIndex := iNdEx + msglen
  45245. if postIndex > l {
  45246. return io.ErrUnexpectedEOF
  45247. }
  45248. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45249. return err
  45250. }
  45251. iNdEx = postIndex
  45252. case 2:
  45253. if wireType != 2 {
  45254. return fmt.Errorf("proto: wrong wireType = %d for field Secrets", wireType)
  45255. }
  45256. var msglen int
  45257. for shift := uint(0); ; shift += 7 {
  45258. if shift >= 64 {
  45259. return ErrIntOverflowGenerated
  45260. }
  45261. if iNdEx >= l {
  45262. return io.ErrUnexpectedEOF
  45263. }
  45264. b := dAtA[iNdEx]
  45265. iNdEx++
  45266. msglen |= (int(b) & 0x7F) << shift
  45267. if b < 0x80 {
  45268. break
  45269. }
  45270. }
  45271. if msglen < 0 {
  45272. return ErrInvalidLengthGenerated
  45273. }
  45274. postIndex := iNdEx + msglen
  45275. if postIndex > l {
  45276. return io.ErrUnexpectedEOF
  45277. }
  45278. m.Secrets = append(m.Secrets, ObjectReference{})
  45279. if err := m.Secrets[len(m.Secrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45280. return err
  45281. }
  45282. iNdEx = postIndex
  45283. case 3:
  45284. if wireType != 2 {
  45285. return fmt.Errorf("proto: wrong wireType = %d for field ImagePullSecrets", wireType)
  45286. }
  45287. var msglen int
  45288. for shift := uint(0); ; shift += 7 {
  45289. if shift >= 64 {
  45290. return ErrIntOverflowGenerated
  45291. }
  45292. if iNdEx >= l {
  45293. return io.ErrUnexpectedEOF
  45294. }
  45295. b := dAtA[iNdEx]
  45296. iNdEx++
  45297. msglen |= (int(b) & 0x7F) << shift
  45298. if b < 0x80 {
  45299. break
  45300. }
  45301. }
  45302. if msglen < 0 {
  45303. return ErrInvalidLengthGenerated
  45304. }
  45305. postIndex := iNdEx + msglen
  45306. if postIndex > l {
  45307. return io.ErrUnexpectedEOF
  45308. }
  45309. m.ImagePullSecrets = append(m.ImagePullSecrets, LocalObjectReference{})
  45310. if err := m.ImagePullSecrets[len(m.ImagePullSecrets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45311. return err
  45312. }
  45313. iNdEx = postIndex
  45314. case 4:
  45315. if wireType != 0 {
  45316. return fmt.Errorf("proto: wrong wireType = %d for field AutomountServiceAccountToken", wireType)
  45317. }
  45318. var v int
  45319. for shift := uint(0); ; shift += 7 {
  45320. if shift >= 64 {
  45321. return ErrIntOverflowGenerated
  45322. }
  45323. if iNdEx >= l {
  45324. return io.ErrUnexpectedEOF
  45325. }
  45326. b := dAtA[iNdEx]
  45327. iNdEx++
  45328. v |= (int(b) & 0x7F) << shift
  45329. if b < 0x80 {
  45330. break
  45331. }
  45332. }
  45333. b := bool(v != 0)
  45334. m.AutomountServiceAccountToken = &b
  45335. default:
  45336. iNdEx = preIndex
  45337. skippy, err := skipGenerated(dAtA[iNdEx:])
  45338. if err != nil {
  45339. return err
  45340. }
  45341. if skippy < 0 {
  45342. return ErrInvalidLengthGenerated
  45343. }
  45344. if (iNdEx + skippy) > l {
  45345. return io.ErrUnexpectedEOF
  45346. }
  45347. iNdEx += skippy
  45348. }
  45349. }
  45350. if iNdEx > l {
  45351. return io.ErrUnexpectedEOF
  45352. }
  45353. return nil
  45354. }
  45355. func (m *ServiceAccountList) Unmarshal(dAtA []byte) error {
  45356. l := len(dAtA)
  45357. iNdEx := 0
  45358. for iNdEx < l {
  45359. preIndex := iNdEx
  45360. var wire uint64
  45361. for shift := uint(0); ; shift += 7 {
  45362. if shift >= 64 {
  45363. return ErrIntOverflowGenerated
  45364. }
  45365. if iNdEx >= l {
  45366. return io.ErrUnexpectedEOF
  45367. }
  45368. b := dAtA[iNdEx]
  45369. iNdEx++
  45370. wire |= (uint64(b) & 0x7F) << shift
  45371. if b < 0x80 {
  45372. break
  45373. }
  45374. }
  45375. fieldNum := int32(wire >> 3)
  45376. wireType := int(wire & 0x7)
  45377. if wireType == 4 {
  45378. return fmt.Errorf("proto: ServiceAccountList: wiretype end group for non-group")
  45379. }
  45380. if fieldNum <= 0 {
  45381. return fmt.Errorf("proto: ServiceAccountList: illegal tag %d (wire type %d)", fieldNum, wire)
  45382. }
  45383. switch fieldNum {
  45384. case 1:
  45385. if wireType != 2 {
  45386. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  45387. }
  45388. var msglen int
  45389. for shift := uint(0); ; shift += 7 {
  45390. if shift >= 64 {
  45391. return ErrIntOverflowGenerated
  45392. }
  45393. if iNdEx >= l {
  45394. return io.ErrUnexpectedEOF
  45395. }
  45396. b := dAtA[iNdEx]
  45397. iNdEx++
  45398. msglen |= (int(b) & 0x7F) << shift
  45399. if b < 0x80 {
  45400. break
  45401. }
  45402. }
  45403. if msglen < 0 {
  45404. return ErrInvalidLengthGenerated
  45405. }
  45406. postIndex := iNdEx + msglen
  45407. if postIndex > l {
  45408. return io.ErrUnexpectedEOF
  45409. }
  45410. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45411. return err
  45412. }
  45413. iNdEx = postIndex
  45414. case 2:
  45415. if wireType != 2 {
  45416. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  45417. }
  45418. var msglen int
  45419. for shift := uint(0); ; shift += 7 {
  45420. if shift >= 64 {
  45421. return ErrIntOverflowGenerated
  45422. }
  45423. if iNdEx >= l {
  45424. return io.ErrUnexpectedEOF
  45425. }
  45426. b := dAtA[iNdEx]
  45427. iNdEx++
  45428. msglen |= (int(b) & 0x7F) << shift
  45429. if b < 0x80 {
  45430. break
  45431. }
  45432. }
  45433. if msglen < 0 {
  45434. return ErrInvalidLengthGenerated
  45435. }
  45436. postIndex := iNdEx + msglen
  45437. if postIndex > l {
  45438. return io.ErrUnexpectedEOF
  45439. }
  45440. m.Items = append(m.Items, ServiceAccount{})
  45441. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45442. return err
  45443. }
  45444. iNdEx = postIndex
  45445. default:
  45446. iNdEx = preIndex
  45447. skippy, err := skipGenerated(dAtA[iNdEx:])
  45448. if err != nil {
  45449. return err
  45450. }
  45451. if skippy < 0 {
  45452. return ErrInvalidLengthGenerated
  45453. }
  45454. if (iNdEx + skippy) > l {
  45455. return io.ErrUnexpectedEOF
  45456. }
  45457. iNdEx += skippy
  45458. }
  45459. }
  45460. if iNdEx > l {
  45461. return io.ErrUnexpectedEOF
  45462. }
  45463. return nil
  45464. }
  45465. func (m *ServiceList) Unmarshal(dAtA []byte) error {
  45466. l := len(dAtA)
  45467. iNdEx := 0
  45468. for iNdEx < l {
  45469. preIndex := iNdEx
  45470. var wire uint64
  45471. for shift := uint(0); ; shift += 7 {
  45472. if shift >= 64 {
  45473. return ErrIntOverflowGenerated
  45474. }
  45475. if iNdEx >= l {
  45476. return io.ErrUnexpectedEOF
  45477. }
  45478. b := dAtA[iNdEx]
  45479. iNdEx++
  45480. wire |= (uint64(b) & 0x7F) << shift
  45481. if b < 0x80 {
  45482. break
  45483. }
  45484. }
  45485. fieldNum := int32(wire >> 3)
  45486. wireType := int(wire & 0x7)
  45487. if wireType == 4 {
  45488. return fmt.Errorf("proto: ServiceList: wiretype end group for non-group")
  45489. }
  45490. if fieldNum <= 0 {
  45491. return fmt.Errorf("proto: ServiceList: illegal tag %d (wire type %d)", fieldNum, wire)
  45492. }
  45493. switch fieldNum {
  45494. case 1:
  45495. if wireType != 2 {
  45496. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  45497. }
  45498. var msglen int
  45499. for shift := uint(0); ; shift += 7 {
  45500. if shift >= 64 {
  45501. return ErrIntOverflowGenerated
  45502. }
  45503. if iNdEx >= l {
  45504. return io.ErrUnexpectedEOF
  45505. }
  45506. b := dAtA[iNdEx]
  45507. iNdEx++
  45508. msglen |= (int(b) & 0x7F) << shift
  45509. if b < 0x80 {
  45510. break
  45511. }
  45512. }
  45513. if msglen < 0 {
  45514. return ErrInvalidLengthGenerated
  45515. }
  45516. postIndex := iNdEx + msglen
  45517. if postIndex > l {
  45518. return io.ErrUnexpectedEOF
  45519. }
  45520. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45521. return err
  45522. }
  45523. iNdEx = postIndex
  45524. case 2:
  45525. if wireType != 2 {
  45526. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  45527. }
  45528. var msglen int
  45529. for shift := uint(0); ; shift += 7 {
  45530. if shift >= 64 {
  45531. return ErrIntOverflowGenerated
  45532. }
  45533. if iNdEx >= l {
  45534. return io.ErrUnexpectedEOF
  45535. }
  45536. b := dAtA[iNdEx]
  45537. iNdEx++
  45538. msglen |= (int(b) & 0x7F) << shift
  45539. if b < 0x80 {
  45540. break
  45541. }
  45542. }
  45543. if msglen < 0 {
  45544. return ErrInvalidLengthGenerated
  45545. }
  45546. postIndex := iNdEx + msglen
  45547. if postIndex > l {
  45548. return io.ErrUnexpectedEOF
  45549. }
  45550. m.Items = append(m.Items, Service{})
  45551. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45552. return err
  45553. }
  45554. iNdEx = postIndex
  45555. default:
  45556. iNdEx = preIndex
  45557. skippy, err := skipGenerated(dAtA[iNdEx:])
  45558. if err != nil {
  45559. return err
  45560. }
  45561. if skippy < 0 {
  45562. return ErrInvalidLengthGenerated
  45563. }
  45564. if (iNdEx + skippy) > l {
  45565. return io.ErrUnexpectedEOF
  45566. }
  45567. iNdEx += skippy
  45568. }
  45569. }
  45570. if iNdEx > l {
  45571. return io.ErrUnexpectedEOF
  45572. }
  45573. return nil
  45574. }
  45575. func (m *ServicePort) Unmarshal(dAtA []byte) error {
  45576. l := len(dAtA)
  45577. iNdEx := 0
  45578. for iNdEx < l {
  45579. preIndex := iNdEx
  45580. var wire uint64
  45581. for shift := uint(0); ; shift += 7 {
  45582. if shift >= 64 {
  45583. return ErrIntOverflowGenerated
  45584. }
  45585. if iNdEx >= l {
  45586. return io.ErrUnexpectedEOF
  45587. }
  45588. b := dAtA[iNdEx]
  45589. iNdEx++
  45590. wire |= (uint64(b) & 0x7F) << shift
  45591. if b < 0x80 {
  45592. break
  45593. }
  45594. }
  45595. fieldNum := int32(wire >> 3)
  45596. wireType := int(wire & 0x7)
  45597. if wireType == 4 {
  45598. return fmt.Errorf("proto: ServicePort: wiretype end group for non-group")
  45599. }
  45600. if fieldNum <= 0 {
  45601. return fmt.Errorf("proto: ServicePort: illegal tag %d (wire type %d)", fieldNum, wire)
  45602. }
  45603. switch fieldNum {
  45604. case 1:
  45605. if wireType != 2 {
  45606. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  45607. }
  45608. var stringLen uint64
  45609. for shift := uint(0); ; shift += 7 {
  45610. if shift >= 64 {
  45611. return ErrIntOverflowGenerated
  45612. }
  45613. if iNdEx >= l {
  45614. return io.ErrUnexpectedEOF
  45615. }
  45616. b := dAtA[iNdEx]
  45617. iNdEx++
  45618. stringLen |= (uint64(b) & 0x7F) << shift
  45619. if b < 0x80 {
  45620. break
  45621. }
  45622. }
  45623. intStringLen := int(stringLen)
  45624. if intStringLen < 0 {
  45625. return ErrInvalidLengthGenerated
  45626. }
  45627. postIndex := iNdEx + intStringLen
  45628. if postIndex > l {
  45629. return io.ErrUnexpectedEOF
  45630. }
  45631. m.Name = string(dAtA[iNdEx:postIndex])
  45632. iNdEx = postIndex
  45633. case 2:
  45634. if wireType != 2 {
  45635. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  45636. }
  45637. var stringLen uint64
  45638. for shift := uint(0); ; shift += 7 {
  45639. if shift >= 64 {
  45640. return ErrIntOverflowGenerated
  45641. }
  45642. if iNdEx >= l {
  45643. return io.ErrUnexpectedEOF
  45644. }
  45645. b := dAtA[iNdEx]
  45646. iNdEx++
  45647. stringLen |= (uint64(b) & 0x7F) << shift
  45648. if b < 0x80 {
  45649. break
  45650. }
  45651. }
  45652. intStringLen := int(stringLen)
  45653. if intStringLen < 0 {
  45654. return ErrInvalidLengthGenerated
  45655. }
  45656. postIndex := iNdEx + intStringLen
  45657. if postIndex > l {
  45658. return io.ErrUnexpectedEOF
  45659. }
  45660. m.Protocol = Protocol(dAtA[iNdEx:postIndex])
  45661. iNdEx = postIndex
  45662. case 3:
  45663. if wireType != 0 {
  45664. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  45665. }
  45666. m.Port = 0
  45667. for shift := uint(0); ; shift += 7 {
  45668. if shift >= 64 {
  45669. return ErrIntOverflowGenerated
  45670. }
  45671. if iNdEx >= l {
  45672. return io.ErrUnexpectedEOF
  45673. }
  45674. b := dAtA[iNdEx]
  45675. iNdEx++
  45676. m.Port |= (int32(b) & 0x7F) << shift
  45677. if b < 0x80 {
  45678. break
  45679. }
  45680. }
  45681. case 4:
  45682. if wireType != 2 {
  45683. return fmt.Errorf("proto: wrong wireType = %d for field TargetPort", wireType)
  45684. }
  45685. var msglen int
  45686. for shift := uint(0); ; shift += 7 {
  45687. if shift >= 64 {
  45688. return ErrIntOverflowGenerated
  45689. }
  45690. if iNdEx >= l {
  45691. return io.ErrUnexpectedEOF
  45692. }
  45693. b := dAtA[iNdEx]
  45694. iNdEx++
  45695. msglen |= (int(b) & 0x7F) << shift
  45696. if b < 0x80 {
  45697. break
  45698. }
  45699. }
  45700. if msglen < 0 {
  45701. return ErrInvalidLengthGenerated
  45702. }
  45703. postIndex := iNdEx + msglen
  45704. if postIndex > l {
  45705. return io.ErrUnexpectedEOF
  45706. }
  45707. if err := m.TargetPort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45708. return err
  45709. }
  45710. iNdEx = postIndex
  45711. case 5:
  45712. if wireType != 0 {
  45713. return fmt.Errorf("proto: wrong wireType = %d for field NodePort", wireType)
  45714. }
  45715. m.NodePort = 0
  45716. for shift := uint(0); ; shift += 7 {
  45717. if shift >= 64 {
  45718. return ErrIntOverflowGenerated
  45719. }
  45720. if iNdEx >= l {
  45721. return io.ErrUnexpectedEOF
  45722. }
  45723. b := dAtA[iNdEx]
  45724. iNdEx++
  45725. m.NodePort |= (int32(b) & 0x7F) << shift
  45726. if b < 0x80 {
  45727. break
  45728. }
  45729. }
  45730. default:
  45731. iNdEx = preIndex
  45732. skippy, err := skipGenerated(dAtA[iNdEx:])
  45733. if err != nil {
  45734. return err
  45735. }
  45736. if skippy < 0 {
  45737. return ErrInvalidLengthGenerated
  45738. }
  45739. if (iNdEx + skippy) > l {
  45740. return io.ErrUnexpectedEOF
  45741. }
  45742. iNdEx += skippy
  45743. }
  45744. }
  45745. if iNdEx > l {
  45746. return io.ErrUnexpectedEOF
  45747. }
  45748. return nil
  45749. }
  45750. func (m *ServiceProxyOptions) Unmarshal(dAtA []byte) error {
  45751. l := len(dAtA)
  45752. iNdEx := 0
  45753. for iNdEx < l {
  45754. preIndex := iNdEx
  45755. var wire uint64
  45756. for shift := uint(0); ; shift += 7 {
  45757. if shift >= 64 {
  45758. return ErrIntOverflowGenerated
  45759. }
  45760. if iNdEx >= l {
  45761. return io.ErrUnexpectedEOF
  45762. }
  45763. b := dAtA[iNdEx]
  45764. iNdEx++
  45765. wire |= (uint64(b) & 0x7F) << shift
  45766. if b < 0x80 {
  45767. break
  45768. }
  45769. }
  45770. fieldNum := int32(wire >> 3)
  45771. wireType := int(wire & 0x7)
  45772. if wireType == 4 {
  45773. return fmt.Errorf("proto: ServiceProxyOptions: wiretype end group for non-group")
  45774. }
  45775. if fieldNum <= 0 {
  45776. return fmt.Errorf("proto: ServiceProxyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  45777. }
  45778. switch fieldNum {
  45779. case 1:
  45780. if wireType != 2 {
  45781. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  45782. }
  45783. var stringLen uint64
  45784. for shift := uint(0); ; shift += 7 {
  45785. if shift >= 64 {
  45786. return ErrIntOverflowGenerated
  45787. }
  45788. if iNdEx >= l {
  45789. return io.ErrUnexpectedEOF
  45790. }
  45791. b := dAtA[iNdEx]
  45792. iNdEx++
  45793. stringLen |= (uint64(b) & 0x7F) << shift
  45794. if b < 0x80 {
  45795. break
  45796. }
  45797. }
  45798. intStringLen := int(stringLen)
  45799. if intStringLen < 0 {
  45800. return ErrInvalidLengthGenerated
  45801. }
  45802. postIndex := iNdEx + intStringLen
  45803. if postIndex > l {
  45804. return io.ErrUnexpectedEOF
  45805. }
  45806. m.Path = string(dAtA[iNdEx:postIndex])
  45807. iNdEx = postIndex
  45808. default:
  45809. iNdEx = preIndex
  45810. skippy, err := skipGenerated(dAtA[iNdEx:])
  45811. if err != nil {
  45812. return err
  45813. }
  45814. if skippy < 0 {
  45815. return ErrInvalidLengthGenerated
  45816. }
  45817. if (iNdEx + skippy) > l {
  45818. return io.ErrUnexpectedEOF
  45819. }
  45820. iNdEx += skippy
  45821. }
  45822. }
  45823. if iNdEx > l {
  45824. return io.ErrUnexpectedEOF
  45825. }
  45826. return nil
  45827. }
  45828. func (m *ServiceSpec) Unmarshal(dAtA []byte) error {
  45829. l := len(dAtA)
  45830. iNdEx := 0
  45831. for iNdEx < l {
  45832. preIndex := iNdEx
  45833. var wire uint64
  45834. for shift := uint(0); ; shift += 7 {
  45835. if shift >= 64 {
  45836. return ErrIntOverflowGenerated
  45837. }
  45838. if iNdEx >= l {
  45839. return io.ErrUnexpectedEOF
  45840. }
  45841. b := dAtA[iNdEx]
  45842. iNdEx++
  45843. wire |= (uint64(b) & 0x7F) << shift
  45844. if b < 0x80 {
  45845. break
  45846. }
  45847. }
  45848. fieldNum := int32(wire >> 3)
  45849. wireType := int(wire & 0x7)
  45850. if wireType == 4 {
  45851. return fmt.Errorf("proto: ServiceSpec: wiretype end group for non-group")
  45852. }
  45853. if fieldNum <= 0 {
  45854. return fmt.Errorf("proto: ServiceSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  45855. }
  45856. switch fieldNum {
  45857. case 1:
  45858. if wireType != 2 {
  45859. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  45860. }
  45861. var msglen int
  45862. for shift := uint(0); ; shift += 7 {
  45863. if shift >= 64 {
  45864. return ErrIntOverflowGenerated
  45865. }
  45866. if iNdEx >= l {
  45867. return io.ErrUnexpectedEOF
  45868. }
  45869. b := dAtA[iNdEx]
  45870. iNdEx++
  45871. msglen |= (int(b) & 0x7F) << shift
  45872. if b < 0x80 {
  45873. break
  45874. }
  45875. }
  45876. if msglen < 0 {
  45877. return ErrInvalidLengthGenerated
  45878. }
  45879. postIndex := iNdEx + msglen
  45880. if postIndex > l {
  45881. return io.ErrUnexpectedEOF
  45882. }
  45883. m.Ports = append(m.Ports, ServicePort{})
  45884. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  45885. return err
  45886. }
  45887. iNdEx = postIndex
  45888. case 2:
  45889. if wireType != 2 {
  45890. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  45891. }
  45892. var msglen int
  45893. for shift := uint(0); ; shift += 7 {
  45894. if shift >= 64 {
  45895. return ErrIntOverflowGenerated
  45896. }
  45897. if iNdEx >= l {
  45898. return io.ErrUnexpectedEOF
  45899. }
  45900. b := dAtA[iNdEx]
  45901. iNdEx++
  45902. msglen |= (int(b) & 0x7F) << shift
  45903. if b < 0x80 {
  45904. break
  45905. }
  45906. }
  45907. if msglen < 0 {
  45908. return ErrInvalidLengthGenerated
  45909. }
  45910. postIndex := iNdEx + msglen
  45911. if postIndex > l {
  45912. return io.ErrUnexpectedEOF
  45913. }
  45914. var keykey uint64
  45915. for shift := uint(0); ; shift += 7 {
  45916. if shift >= 64 {
  45917. return ErrIntOverflowGenerated
  45918. }
  45919. if iNdEx >= l {
  45920. return io.ErrUnexpectedEOF
  45921. }
  45922. b := dAtA[iNdEx]
  45923. iNdEx++
  45924. keykey |= (uint64(b) & 0x7F) << shift
  45925. if b < 0x80 {
  45926. break
  45927. }
  45928. }
  45929. var stringLenmapkey uint64
  45930. for shift := uint(0); ; shift += 7 {
  45931. if shift >= 64 {
  45932. return ErrIntOverflowGenerated
  45933. }
  45934. if iNdEx >= l {
  45935. return io.ErrUnexpectedEOF
  45936. }
  45937. b := dAtA[iNdEx]
  45938. iNdEx++
  45939. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  45940. if b < 0x80 {
  45941. break
  45942. }
  45943. }
  45944. intStringLenmapkey := int(stringLenmapkey)
  45945. if intStringLenmapkey < 0 {
  45946. return ErrInvalidLengthGenerated
  45947. }
  45948. postStringIndexmapkey := iNdEx + intStringLenmapkey
  45949. if postStringIndexmapkey > l {
  45950. return io.ErrUnexpectedEOF
  45951. }
  45952. mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
  45953. iNdEx = postStringIndexmapkey
  45954. if m.Selector == nil {
  45955. m.Selector = make(map[string]string)
  45956. }
  45957. if iNdEx < postIndex {
  45958. var valuekey uint64
  45959. for shift := uint(0); ; shift += 7 {
  45960. if shift >= 64 {
  45961. return ErrIntOverflowGenerated
  45962. }
  45963. if iNdEx >= l {
  45964. return io.ErrUnexpectedEOF
  45965. }
  45966. b := dAtA[iNdEx]
  45967. iNdEx++
  45968. valuekey |= (uint64(b) & 0x7F) << shift
  45969. if b < 0x80 {
  45970. break
  45971. }
  45972. }
  45973. var stringLenmapvalue uint64
  45974. for shift := uint(0); ; shift += 7 {
  45975. if shift >= 64 {
  45976. return ErrIntOverflowGenerated
  45977. }
  45978. if iNdEx >= l {
  45979. return io.ErrUnexpectedEOF
  45980. }
  45981. b := dAtA[iNdEx]
  45982. iNdEx++
  45983. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  45984. if b < 0x80 {
  45985. break
  45986. }
  45987. }
  45988. intStringLenmapvalue := int(stringLenmapvalue)
  45989. if intStringLenmapvalue < 0 {
  45990. return ErrInvalidLengthGenerated
  45991. }
  45992. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  45993. if postStringIndexmapvalue > l {
  45994. return io.ErrUnexpectedEOF
  45995. }
  45996. mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
  45997. iNdEx = postStringIndexmapvalue
  45998. m.Selector[mapkey] = mapvalue
  45999. } else {
  46000. var mapvalue string
  46001. m.Selector[mapkey] = mapvalue
  46002. }
  46003. iNdEx = postIndex
  46004. case 3:
  46005. if wireType != 2 {
  46006. return fmt.Errorf("proto: wrong wireType = %d for field ClusterIP", wireType)
  46007. }
  46008. var stringLen uint64
  46009. for shift := uint(0); ; shift += 7 {
  46010. if shift >= 64 {
  46011. return ErrIntOverflowGenerated
  46012. }
  46013. if iNdEx >= l {
  46014. return io.ErrUnexpectedEOF
  46015. }
  46016. b := dAtA[iNdEx]
  46017. iNdEx++
  46018. stringLen |= (uint64(b) & 0x7F) << shift
  46019. if b < 0x80 {
  46020. break
  46021. }
  46022. }
  46023. intStringLen := int(stringLen)
  46024. if intStringLen < 0 {
  46025. return ErrInvalidLengthGenerated
  46026. }
  46027. postIndex := iNdEx + intStringLen
  46028. if postIndex > l {
  46029. return io.ErrUnexpectedEOF
  46030. }
  46031. m.ClusterIP = string(dAtA[iNdEx:postIndex])
  46032. iNdEx = postIndex
  46033. case 4:
  46034. if wireType != 2 {
  46035. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  46036. }
  46037. var stringLen uint64
  46038. for shift := uint(0); ; shift += 7 {
  46039. if shift >= 64 {
  46040. return ErrIntOverflowGenerated
  46041. }
  46042. if iNdEx >= l {
  46043. return io.ErrUnexpectedEOF
  46044. }
  46045. b := dAtA[iNdEx]
  46046. iNdEx++
  46047. stringLen |= (uint64(b) & 0x7F) << shift
  46048. if b < 0x80 {
  46049. break
  46050. }
  46051. }
  46052. intStringLen := int(stringLen)
  46053. if intStringLen < 0 {
  46054. return ErrInvalidLengthGenerated
  46055. }
  46056. postIndex := iNdEx + intStringLen
  46057. if postIndex > l {
  46058. return io.ErrUnexpectedEOF
  46059. }
  46060. m.Type = ServiceType(dAtA[iNdEx:postIndex])
  46061. iNdEx = postIndex
  46062. case 5:
  46063. if wireType != 2 {
  46064. return fmt.Errorf("proto: wrong wireType = %d for field ExternalIPs", wireType)
  46065. }
  46066. var stringLen uint64
  46067. for shift := uint(0); ; shift += 7 {
  46068. if shift >= 64 {
  46069. return ErrIntOverflowGenerated
  46070. }
  46071. if iNdEx >= l {
  46072. return io.ErrUnexpectedEOF
  46073. }
  46074. b := dAtA[iNdEx]
  46075. iNdEx++
  46076. stringLen |= (uint64(b) & 0x7F) << shift
  46077. if b < 0x80 {
  46078. break
  46079. }
  46080. }
  46081. intStringLen := int(stringLen)
  46082. if intStringLen < 0 {
  46083. return ErrInvalidLengthGenerated
  46084. }
  46085. postIndex := iNdEx + intStringLen
  46086. if postIndex > l {
  46087. return io.ErrUnexpectedEOF
  46088. }
  46089. m.ExternalIPs = append(m.ExternalIPs, string(dAtA[iNdEx:postIndex]))
  46090. iNdEx = postIndex
  46091. case 7:
  46092. if wireType != 2 {
  46093. return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinity", wireType)
  46094. }
  46095. var stringLen uint64
  46096. for shift := uint(0); ; shift += 7 {
  46097. if shift >= 64 {
  46098. return ErrIntOverflowGenerated
  46099. }
  46100. if iNdEx >= l {
  46101. return io.ErrUnexpectedEOF
  46102. }
  46103. b := dAtA[iNdEx]
  46104. iNdEx++
  46105. stringLen |= (uint64(b) & 0x7F) << shift
  46106. if b < 0x80 {
  46107. break
  46108. }
  46109. }
  46110. intStringLen := int(stringLen)
  46111. if intStringLen < 0 {
  46112. return ErrInvalidLengthGenerated
  46113. }
  46114. postIndex := iNdEx + intStringLen
  46115. if postIndex > l {
  46116. return io.ErrUnexpectedEOF
  46117. }
  46118. m.SessionAffinity = ServiceAffinity(dAtA[iNdEx:postIndex])
  46119. iNdEx = postIndex
  46120. case 8:
  46121. if wireType != 2 {
  46122. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerIP", wireType)
  46123. }
  46124. var stringLen uint64
  46125. for shift := uint(0); ; shift += 7 {
  46126. if shift >= 64 {
  46127. return ErrIntOverflowGenerated
  46128. }
  46129. if iNdEx >= l {
  46130. return io.ErrUnexpectedEOF
  46131. }
  46132. b := dAtA[iNdEx]
  46133. iNdEx++
  46134. stringLen |= (uint64(b) & 0x7F) << shift
  46135. if b < 0x80 {
  46136. break
  46137. }
  46138. }
  46139. intStringLen := int(stringLen)
  46140. if intStringLen < 0 {
  46141. return ErrInvalidLengthGenerated
  46142. }
  46143. postIndex := iNdEx + intStringLen
  46144. if postIndex > l {
  46145. return io.ErrUnexpectedEOF
  46146. }
  46147. m.LoadBalancerIP = string(dAtA[iNdEx:postIndex])
  46148. iNdEx = postIndex
  46149. case 9:
  46150. if wireType != 2 {
  46151. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancerSourceRanges", wireType)
  46152. }
  46153. var stringLen uint64
  46154. for shift := uint(0); ; shift += 7 {
  46155. if shift >= 64 {
  46156. return ErrIntOverflowGenerated
  46157. }
  46158. if iNdEx >= l {
  46159. return io.ErrUnexpectedEOF
  46160. }
  46161. b := dAtA[iNdEx]
  46162. iNdEx++
  46163. stringLen |= (uint64(b) & 0x7F) << shift
  46164. if b < 0x80 {
  46165. break
  46166. }
  46167. }
  46168. intStringLen := int(stringLen)
  46169. if intStringLen < 0 {
  46170. return ErrInvalidLengthGenerated
  46171. }
  46172. postIndex := iNdEx + intStringLen
  46173. if postIndex > l {
  46174. return io.ErrUnexpectedEOF
  46175. }
  46176. m.LoadBalancerSourceRanges = append(m.LoadBalancerSourceRanges, string(dAtA[iNdEx:postIndex]))
  46177. iNdEx = postIndex
  46178. case 10:
  46179. if wireType != 2 {
  46180. return fmt.Errorf("proto: wrong wireType = %d for field ExternalName", wireType)
  46181. }
  46182. var stringLen uint64
  46183. for shift := uint(0); ; shift += 7 {
  46184. if shift >= 64 {
  46185. return ErrIntOverflowGenerated
  46186. }
  46187. if iNdEx >= l {
  46188. return io.ErrUnexpectedEOF
  46189. }
  46190. b := dAtA[iNdEx]
  46191. iNdEx++
  46192. stringLen |= (uint64(b) & 0x7F) << shift
  46193. if b < 0x80 {
  46194. break
  46195. }
  46196. }
  46197. intStringLen := int(stringLen)
  46198. if intStringLen < 0 {
  46199. return ErrInvalidLengthGenerated
  46200. }
  46201. postIndex := iNdEx + intStringLen
  46202. if postIndex > l {
  46203. return io.ErrUnexpectedEOF
  46204. }
  46205. m.ExternalName = string(dAtA[iNdEx:postIndex])
  46206. iNdEx = postIndex
  46207. case 11:
  46208. if wireType != 2 {
  46209. return fmt.Errorf("proto: wrong wireType = %d for field ExternalTrafficPolicy", wireType)
  46210. }
  46211. var stringLen uint64
  46212. for shift := uint(0); ; shift += 7 {
  46213. if shift >= 64 {
  46214. return ErrIntOverflowGenerated
  46215. }
  46216. if iNdEx >= l {
  46217. return io.ErrUnexpectedEOF
  46218. }
  46219. b := dAtA[iNdEx]
  46220. iNdEx++
  46221. stringLen |= (uint64(b) & 0x7F) << shift
  46222. if b < 0x80 {
  46223. break
  46224. }
  46225. }
  46226. intStringLen := int(stringLen)
  46227. if intStringLen < 0 {
  46228. return ErrInvalidLengthGenerated
  46229. }
  46230. postIndex := iNdEx + intStringLen
  46231. if postIndex > l {
  46232. return io.ErrUnexpectedEOF
  46233. }
  46234. m.ExternalTrafficPolicy = ServiceExternalTrafficPolicyType(dAtA[iNdEx:postIndex])
  46235. iNdEx = postIndex
  46236. case 12:
  46237. if wireType != 0 {
  46238. return fmt.Errorf("proto: wrong wireType = %d for field HealthCheckNodePort", wireType)
  46239. }
  46240. m.HealthCheckNodePort = 0
  46241. for shift := uint(0); ; shift += 7 {
  46242. if shift >= 64 {
  46243. return ErrIntOverflowGenerated
  46244. }
  46245. if iNdEx >= l {
  46246. return io.ErrUnexpectedEOF
  46247. }
  46248. b := dAtA[iNdEx]
  46249. iNdEx++
  46250. m.HealthCheckNodePort |= (int32(b) & 0x7F) << shift
  46251. if b < 0x80 {
  46252. break
  46253. }
  46254. }
  46255. case 13:
  46256. if wireType != 0 {
  46257. return fmt.Errorf("proto: wrong wireType = %d for field PublishNotReadyAddresses", wireType)
  46258. }
  46259. var v int
  46260. for shift := uint(0); ; shift += 7 {
  46261. if shift >= 64 {
  46262. return ErrIntOverflowGenerated
  46263. }
  46264. if iNdEx >= l {
  46265. return io.ErrUnexpectedEOF
  46266. }
  46267. b := dAtA[iNdEx]
  46268. iNdEx++
  46269. v |= (int(b) & 0x7F) << shift
  46270. if b < 0x80 {
  46271. break
  46272. }
  46273. }
  46274. m.PublishNotReadyAddresses = bool(v != 0)
  46275. case 14:
  46276. if wireType != 2 {
  46277. return fmt.Errorf("proto: wrong wireType = %d for field SessionAffinityConfig", wireType)
  46278. }
  46279. var msglen int
  46280. for shift := uint(0); ; shift += 7 {
  46281. if shift >= 64 {
  46282. return ErrIntOverflowGenerated
  46283. }
  46284. if iNdEx >= l {
  46285. return io.ErrUnexpectedEOF
  46286. }
  46287. b := dAtA[iNdEx]
  46288. iNdEx++
  46289. msglen |= (int(b) & 0x7F) << shift
  46290. if b < 0x80 {
  46291. break
  46292. }
  46293. }
  46294. if msglen < 0 {
  46295. return ErrInvalidLengthGenerated
  46296. }
  46297. postIndex := iNdEx + msglen
  46298. if postIndex > l {
  46299. return io.ErrUnexpectedEOF
  46300. }
  46301. if m.SessionAffinityConfig == nil {
  46302. m.SessionAffinityConfig = &SessionAffinityConfig{}
  46303. }
  46304. if err := m.SessionAffinityConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46305. return err
  46306. }
  46307. iNdEx = postIndex
  46308. default:
  46309. iNdEx = preIndex
  46310. skippy, err := skipGenerated(dAtA[iNdEx:])
  46311. if err != nil {
  46312. return err
  46313. }
  46314. if skippy < 0 {
  46315. return ErrInvalidLengthGenerated
  46316. }
  46317. if (iNdEx + skippy) > l {
  46318. return io.ErrUnexpectedEOF
  46319. }
  46320. iNdEx += skippy
  46321. }
  46322. }
  46323. if iNdEx > l {
  46324. return io.ErrUnexpectedEOF
  46325. }
  46326. return nil
  46327. }
  46328. func (m *ServiceStatus) Unmarshal(dAtA []byte) error {
  46329. l := len(dAtA)
  46330. iNdEx := 0
  46331. for iNdEx < l {
  46332. preIndex := iNdEx
  46333. var wire uint64
  46334. for shift := uint(0); ; shift += 7 {
  46335. if shift >= 64 {
  46336. return ErrIntOverflowGenerated
  46337. }
  46338. if iNdEx >= l {
  46339. return io.ErrUnexpectedEOF
  46340. }
  46341. b := dAtA[iNdEx]
  46342. iNdEx++
  46343. wire |= (uint64(b) & 0x7F) << shift
  46344. if b < 0x80 {
  46345. break
  46346. }
  46347. }
  46348. fieldNum := int32(wire >> 3)
  46349. wireType := int(wire & 0x7)
  46350. if wireType == 4 {
  46351. return fmt.Errorf("proto: ServiceStatus: wiretype end group for non-group")
  46352. }
  46353. if fieldNum <= 0 {
  46354. return fmt.Errorf("proto: ServiceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  46355. }
  46356. switch fieldNum {
  46357. case 1:
  46358. if wireType != 2 {
  46359. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
  46360. }
  46361. var msglen int
  46362. for shift := uint(0); ; shift += 7 {
  46363. if shift >= 64 {
  46364. return ErrIntOverflowGenerated
  46365. }
  46366. if iNdEx >= l {
  46367. return io.ErrUnexpectedEOF
  46368. }
  46369. b := dAtA[iNdEx]
  46370. iNdEx++
  46371. msglen |= (int(b) & 0x7F) << shift
  46372. if b < 0x80 {
  46373. break
  46374. }
  46375. }
  46376. if msglen < 0 {
  46377. return ErrInvalidLengthGenerated
  46378. }
  46379. postIndex := iNdEx + msglen
  46380. if postIndex > l {
  46381. return io.ErrUnexpectedEOF
  46382. }
  46383. if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46384. return err
  46385. }
  46386. iNdEx = postIndex
  46387. default:
  46388. iNdEx = preIndex
  46389. skippy, err := skipGenerated(dAtA[iNdEx:])
  46390. if err != nil {
  46391. return err
  46392. }
  46393. if skippy < 0 {
  46394. return ErrInvalidLengthGenerated
  46395. }
  46396. if (iNdEx + skippy) > l {
  46397. return io.ErrUnexpectedEOF
  46398. }
  46399. iNdEx += skippy
  46400. }
  46401. }
  46402. if iNdEx > l {
  46403. return io.ErrUnexpectedEOF
  46404. }
  46405. return nil
  46406. }
  46407. func (m *SessionAffinityConfig) Unmarshal(dAtA []byte) error {
  46408. l := len(dAtA)
  46409. iNdEx := 0
  46410. for iNdEx < l {
  46411. preIndex := iNdEx
  46412. var wire uint64
  46413. for shift := uint(0); ; shift += 7 {
  46414. if shift >= 64 {
  46415. return ErrIntOverflowGenerated
  46416. }
  46417. if iNdEx >= l {
  46418. return io.ErrUnexpectedEOF
  46419. }
  46420. b := dAtA[iNdEx]
  46421. iNdEx++
  46422. wire |= (uint64(b) & 0x7F) << shift
  46423. if b < 0x80 {
  46424. break
  46425. }
  46426. }
  46427. fieldNum := int32(wire >> 3)
  46428. wireType := int(wire & 0x7)
  46429. if wireType == 4 {
  46430. return fmt.Errorf("proto: SessionAffinityConfig: wiretype end group for non-group")
  46431. }
  46432. if fieldNum <= 0 {
  46433. return fmt.Errorf("proto: SessionAffinityConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  46434. }
  46435. switch fieldNum {
  46436. case 1:
  46437. if wireType != 2 {
  46438. return fmt.Errorf("proto: wrong wireType = %d for field ClientIP", wireType)
  46439. }
  46440. var msglen int
  46441. for shift := uint(0); ; shift += 7 {
  46442. if shift >= 64 {
  46443. return ErrIntOverflowGenerated
  46444. }
  46445. if iNdEx >= l {
  46446. return io.ErrUnexpectedEOF
  46447. }
  46448. b := dAtA[iNdEx]
  46449. iNdEx++
  46450. msglen |= (int(b) & 0x7F) << shift
  46451. if b < 0x80 {
  46452. break
  46453. }
  46454. }
  46455. if msglen < 0 {
  46456. return ErrInvalidLengthGenerated
  46457. }
  46458. postIndex := iNdEx + msglen
  46459. if postIndex > l {
  46460. return io.ErrUnexpectedEOF
  46461. }
  46462. if m.ClientIP == nil {
  46463. m.ClientIP = &ClientIPConfig{}
  46464. }
  46465. if err := m.ClientIP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46466. return err
  46467. }
  46468. iNdEx = postIndex
  46469. default:
  46470. iNdEx = preIndex
  46471. skippy, err := skipGenerated(dAtA[iNdEx:])
  46472. if err != nil {
  46473. return err
  46474. }
  46475. if skippy < 0 {
  46476. return ErrInvalidLengthGenerated
  46477. }
  46478. if (iNdEx + skippy) > l {
  46479. return io.ErrUnexpectedEOF
  46480. }
  46481. iNdEx += skippy
  46482. }
  46483. }
  46484. if iNdEx > l {
  46485. return io.ErrUnexpectedEOF
  46486. }
  46487. return nil
  46488. }
  46489. func (m *StorageOSPersistentVolumeSource) Unmarshal(dAtA []byte) error {
  46490. l := len(dAtA)
  46491. iNdEx := 0
  46492. for iNdEx < l {
  46493. preIndex := iNdEx
  46494. var wire uint64
  46495. for shift := uint(0); ; shift += 7 {
  46496. if shift >= 64 {
  46497. return ErrIntOverflowGenerated
  46498. }
  46499. if iNdEx >= l {
  46500. return io.ErrUnexpectedEOF
  46501. }
  46502. b := dAtA[iNdEx]
  46503. iNdEx++
  46504. wire |= (uint64(b) & 0x7F) << shift
  46505. if b < 0x80 {
  46506. break
  46507. }
  46508. }
  46509. fieldNum := int32(wire >> 3)
  46510. wireType := int(wire & 0x7)
  46511. if wireType == 4 {
  46512. return fmt.Errorf("proto: StorageOSPersistentVolumeSource: wiretype end group for non-group")
  46513. }
  46514. if fieldNum <= 0 {
  46515. return fmt.Errorf("proto: StorageOSPersistentVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  46516. }
  46517. switch fieldNum {
  46518. case 1:
  46519. if wireType != 2 {
  46520. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  46521. }
  46522. var stringLen uint64
  46523. for shift := uint(0); ; shift += 7 {
  46524. if shift >= 64 {
  46525. return ErrIntOverflowGenerated
  46526. }
  46527. if iNdEx >= l {
  46528. return io.ErrUnexpectedEOF
  46529. }
  46530. b := dAtA[iNdEx]
  46531. iNdEx++
  46532. stringLen |= (uint64(b) & 0x7F) << shift
  46533. if b < 0x80 {
  46534. break
  46535. }
  46536. }
  46537. intStringLen := int(stringLen)
  46538. if intStringLen < 0 {
  46539. return ErrInvalidLengthGenerated
  46540. }
  46541. postIndex := iNdEx + intStringLen
  46542. if postIndex > l {
  46543. return io.ErrUnexpectedEOF
  46544. }
  46545. m.VolumeName = string(dAtA[iNdEx:postIndex])
  46546. iNdEx = postIndex
  46547. case 2:
  46548. if wireType != 2 {
  46549. return fmt.Errorf("proto: wrong wireType = %d for field VolumeNamespace", wireType)
  46550. }
  46551. var stringLen uint64
  46552. for shift := uint(0); ; shift += 7 {
  46553. if shift >= 64 {
  46554. return ErrIntOverflowGenerated
  46555. }
  46556. if iNdEx >= l {
  46557. return io.ErrUnexpectedEOF
  46558. }
  46559. b := dAtA[iNdEx]
  46560. iNdEx++
  46561. stringLen |= (uint64(b) & 0x7F) << shift
  46562. if b < 0x80 {
  46563. break
  46564. }
  46565. }
  46566. intStringLen := int(stringLen)
  46567. if intStringLen < 0 {
  46568. return ErrInvalidLengthGenerated
  46569. }
  46570. postIndex := iNdEx + intStringLen
  46571. if postIndex > l {
  46572. return io.ErrUnexpectedEOF
  46573. }
  46574. m.VolumeNamespace = string(dAtA[iNdEx:postIndex])
  46575. iNdEx = postIndex
  46576. case 3:
  46577. if wireType != 2 {
  46578. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  46579. }
  46580. var stringLen uint64
  46581. for shift := uint(0); ; shift += 7 {
  46582. if shift >= 64 {
  46583. return ErrIntOverflowGenerated
  46584. }
  46585. if iNdEx >= l {
  46586. return io.ErrUnexpectedEOF
  46587. }
  46588. b := dAtA[iNdEx]
  46589. iNdEx++
  46590. stringLen |= (uint64(b) & 0x7F) << shift
  46591. if b < 0x80 {
  46592. break
  46593. }
  46594. }
  46595. intStringLen := int(stringLen)
  46596. if intStringLen < 0 {
  46597. return ErrInvalidLengthGenerated
  46598. }
  46599. postIndex := iNdEx + intStringLen
  46600. if postIndex > l {
  46601. return io.ErrUnexpectedEOF
  46602. }
  46603. m.FSType = string(dAtA[iNdEx:postIndex])
  46604. iNdEx = postIndex
  46605. case 4:
  46606. if wireType != 0 {
  46607. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  46608. }
  46609. var v int
  46610. for shift := uint(0); ; shift += 7 {
  46611. if shift >= 64 {
  46612. return ErrIntOverflowGenerated
  46613. }
  46614. if iNdEx >= l {
  46615. return io.ErrUnexpectedEOF
  46616. }
  46617. b := dAtA[iNdEx]
  46618. iNdEx++
  46619. v |= (int(b) & 0x7F) << shift
  46620. if b < 0x80 {
  46621. break
  46622. }
  46623. }
  46624. m.ReadOnly = bool(v != 0)
  46625. case 5:
  46626. if wireType != 2 {
  46627. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  46628. }
  46629. var msglen int
  46630. for shift := uint(0); ; shift += 7 {
  46631. if shift >= 64 {
  46632. return ErrIntOverflowGenerated
  46633. }
  46634. if iNdEx >= l {
  46635. return io.ErrUnexpectedEOF
  46636. }
  46637. b := dAtA[iNdEx]
  46638. iNdEx++
  46639. msglen |= (int(b) & 0x7F) << shift
  46640. if b < 0x80 {
  46641. break
  46642. }
  46643. }
  46644. if msglen < 0 {
  46645. return ErrInvalidLengthGenerated
  46646. }
  46647. postIndex := iNdEx + msglen
  46648. if postIndex > l {
  46649. return io.ErrUnexpectedEOF
  46650. }
  46651. if m.SecretRef == nil {
  46652. m.SecretRef = &ObjectReference{}
  46653. }
  46654. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46655. return err
  46656. }
  46657. iNdEx = postIndex
  46658. default:
  46659. iNdEx = preIndex
  46660. skippy, err := skipGenerated(dAtA[iNdEx:])
  46661. if err != nil {
  46662. return err
  46663. }
  46664. if skippy < 0 {
  46665. return ErrInvalidLengthGenerated
  46666. }
  46667. if (iNdEx + skippy) > l {
  46668. return io.ErrUnexpectedEOF
  46669. }
  46670. iNdEx += skippy
  46671. }
  46672. }
  46673. if iNdEx > l {
  46674. return io.ErrUnexpectedEOF
  46675. }
  46676. return nil
  46677. }
  46678. func (m *StorageOSVolumeSource) Unmarshal(dAtA []byte) error {
  46679. l := len(dAtA)
  46680. iNdEx := 0
  46681. for iNdEx < l {
  46682. preIndex := iNdEx
  46683. var wire uint64
  46684. for shift := uint(0); ; shift += 7 {
  46685. if shift >= 64 {
  46686. return ErrIntOverflowGenerated
  46687. }
  46688. if iNdEx >= l {
  46689. return io.ErrUnexpectedEOF
  46690. }
  46691. b := dAtA[iNdEx]
  46692. iNdEx++
  46693. wire |= (uint64(b) & 0x7F) << shift
  46694. if b < 0x80 {
  46695. break
  46696. }
  46697. }
  46698. fieldNum := int32(wire >> 3)
  46699. wireType := int(wire & 0x7)
  46700. if wireType == 4 {
  46701. return fmt.Errorf("proto: StorageOSVolumeSource: wiretype end group for non-group")
  46702. }
  46703. if fieldNum <= 0 {
  46704. return fmt.Errorf("proto: StorageOSVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  46705. }
  46706. switch fieldNum {
  46707. case 1:
  46708. if wireType != 2 {
  46709. return fmt.Errorf("proto: wrong wireType = %d for field VolumeName", wireType)
  46710. }
  46711. var stringLen uint64
  46712. for shift := uint(0); ; shift += 7 {
  46713. if shift >= 64 {
  46714. return ErrIntOverflowGenerated
  46715. }
  46716. if iNdEx >= l {
  46717. return io.ErrUnexpectedEOF
  46718. }
  46719. b := dAtA[iNdEx]
  46720. iNdEx++
  46721. stringLen |= (uint64(b) & 0x7F) << shift
  46722. if b < 0x80 {
  46723. break
  46724. }
  46725. }
  46726. intStringLen := int(stringLen)
  46727. if intStringLen < 0 {
  46728. return ErrInvalidLengthGenerated
  46729. }
  46730. postIndex := iNdEx + intStringLen
  46731. if postIndex > l {
  46732. return io.ErrUnexpectedEOF
  46733. }
  46734. m.VolumeName = string(dAtA[iNdEx:postIndex])
  46735. iNdEx = postIndex
  46736. case 2:
  46737. if wireType != 2 {
  46738. return fmt.Errorf("proto: wrong wireType = %d for field VolumeNamespace", wireType)
  46739. }
  46740. var stringLen uint64
  46741. for shift := uint(0); ; shift += 7 {
  46742. if shift >= 64 {
  46743. return ErrIntOverflowGenerated
  46744. }
  46745. if iNdEx >= l {
  46746. return io.ErrUnexpectedEOF
  46747. }
  46748. b := dAtA[iNdEx]
  46749. iNdEx++
  46750. stringLen |= (uint64(b) & 0x7F) << shift
  46751. if b < 0x80 {
  46752. break
  46753. }
  46754. }
  46755. intStringLen := int(stringLen)
  46756. if intStringLen < 0 {
  46757. return ErrInvalidLengthGenerated
  46758. }
  46759. postIndex := iNdEx + intStringLen
  46760. if postIndex > l {
  46761. return io.ErrUnexpectedEOF
  46762. }
  46763. m.VolumeNamespace = string(dAtA[iNdEx:postIndex])
  46764. iNdEx = postIndex
  46765. case 3:
  46766. if wireType != 2 {
  46767. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  46768. }
  46769. var stringLen uint64
  46770. for shift := uint(0); ; shift += 7 {
  46771. if shift >= 64 {
  46772. return ErrIntOverflowGenerated
  46773. }
  46774. if iNdEx >= l {
  46775. return io.ErrUnexpectedEOF
  46776. }
  46777. b := dAtA[iNdEx]
  46778. iNdEx++
  46779. stringLen |= (uint64(b) & 0x7F) << shift
  46780. if b < 0x80 {
  46781. break
  46782. }
  46783. }
  46784. intStringLen := int(stringLen)
  46785. if intStringLen < 0 {
  46786. return ErrInvalidLengthGenerated
  46787. }
  46788. postIndex := iNdEx + intStringLen
  46789. if postIndex > l {
  46790. return io.ErrUnexpectedEOF
  46791. }
  46792. m.FSType = string(dAtA[iNdEx:postIndex])
  46793. iNdEx = postIndex
  46794. case 4:
  46795. if wireType != 0 {
  46796. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  46797. }
  46798. var v int
  46799. for shift := uint(0); ; shift += 7 {
  46800. if shift >= 64 {
  46801. return ErrIntOverflowGenerated
  46802. }
  46803. if iNdEx >= l {
  46804. return io.ErrUnexpectedEOF
  46805. }
  46806. b := dAtA[iNdEx]
  46807. iNdEx++
  46808. v |= (int(b) & 0x7F) << shift
  46809. if b < 0x80 {
  46810. break
  46811. }
  46812. }
  46813. m.ReadOnly = bool(v != 0)
  46814. case 5:
  46815. if wireType != 2 {
  46816. return fmt.Errorf("proto: wrong wireType = %d for field SecretRef", wireType)
  46817. }
  46818. var msglen int
  46819. for shift := uint(0); ; shift += 7 {
  46820. if shift >= 64 {
  46821. return ErrIntOverflowGenerated
  46822. }
  46823. if iNdEx >= l {
  46824. return io.ErrUnexpectedEOF
  46825. }
  46826. b := dAtA[iNdEx]
  46827. iNdEx++
  46828. msglen |= (int(b) & 0x7F) << shift
  46829. if b < 0x80 {
  46830. break
  46831. }
  46832. }
  46833. if msglen < 0 {
  46834. return ErrInvalidLengthGenerated
  46835. }
  46836. postIndex := iNdEx + msglen
  46837. if postIndex > l {
  46838. return io.ErrUnexpectedEOF
  46839. }
  46840. if m.SecretRef == nil {
  46841. m.SecretRef = &LocalObjectReference{}
  46842. }
  46843. if err := m.SecretRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  46844. return err
  46845. }
  46846. iNdEx = postIndex
  46847. default:
  46848. iNdEx = preIndex
  46849. skippy, err := skipGenerated(dAtA[iNdEx:])
  46850. if err != nil {
  46851. return err
  46852. }
  46853. if skippy < 0 {
  46854. return ErrInvalidLengthGenerated
  46855. }
  46856. if (iNdEx + skippy) > l {
  46857. return io.ErrUnexpectedEOF
  46858. }
  46859. iNdEx += skippy
  46860. }
  46861. }
  46862. if iNdEx > l {
  46863. return io.ErrUnexpectedEOF
  46864. }
  46865. return nil
  46866. }
  46867. func (m *Sysctl) Unmarshal(dAtA []byte) error {
  46868. l := len(dAtA)
  46869. iNdEx := 0
  46870. for iNdEx < l {
  46871. preIndex := iNdEx
  46872. var wire uint64
  46873. for shift := uint(0); ; shift += 7 {
  46874. if shift >= 64 {
  46875. return ErrIntOverflowGenerated
  46876. }
  46877. if iNdEx >= l {
  46878. return io.ErrUnexpectedEOF
  46879. }
  46880. b := dAtA[iNdEx]
  46881. iNdEx++
  46882. wire |= (uint64(b) & 0x7F) << shift
  46883. if b < 0x80 {
  46884. break
  46885. }
  46886. }
  46887. fieldNum := int32(wire >> 3)
  46888. wireType := int(wire & 0x7)
  46889. if wireType == 4 {
  46890. return fmt.Errorf("proto: Sysctl: wiretype end group for non-group")
  46891. }
  46892. if fieldNum <= 0 {
  46893. return fmt.Errorf("proto: Sysctl: illegal tag %d (wire type %d)", fieldNum, wire)
  46894. }
  46895. switch fieldNum {
  46896. case 1:
  46897. if wireType != 2 {
  46898. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  46899. }
  46900. var stringLen uint64
  46901. for shift := uint(0); ; shift += 7 {
  46902. if shift >= 64 {
  46903. return ErrIntOverflowGenerated
  46904. }
  46905. if iNdEx >= l {
  46906. return io.ErrUnexpectedEOF
  46907. }
  46908. b := dAtA[iNdEx]
  46909. iNdEx++
  46910. stringLen |= (uint64(b) & 0x7F) << shift
  46911. if b < 0x80 {
  46912. break
  46913. }
  46914. }
  46915. intStringLen := int(stringLen)
  46916. if intStringLen < 0 {
  46917. return ErrInvalidLengthGenerated
  46918. }
  46919. postIndex := iNdEx + intStringLen
  46920. if postIndex > l {
  46921. return io.ErrUnexpectedEOF
  46922. }
  46923. m.Name = string(dAtA[iNdEx:postIndex])
  46924. iNdEx = postIndex
  46925. case 2:
  46926. if wireType != 2 {
  46927. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  46928. }
  46929. var stringLen uint64
  46930. for shift := uint(0); ; shift += 7 {
  46931. if shift >= 64 {
  46932. return ErrIntOverflowGenerated
  46933. }
  46934. if iNdEx >= l {
  46935. return io.ErrUnexpectedEOF
  46936. }
  46937. b := dAtA[iNdEx]
  46938. iNdEx++
  46939. stringLen |= (uint64(b) & 0x7F) << shift
  46940. if b < 0x80 {
  46941. break
  46942. }
  46943. }
  46944. intStringLen := int(stringLen)
  46945. if intStringLen < 0 {
  46946. return ErrInvalidLengthGenerated
  46947. }
  46948. postIndex := iNdEx + intStringLen
  46949. if postIndex > l {
  46950. return io.ErrUnexpectedEOF
  46951. }
  46952. m.Value = string(dAtA[iNdEx:postIndex])
  46953. iNdEx = postIndex
  46954. default:
  46955. iNdEx = preIndex
  46956. skippy, err := skipGenerated(dAtA[iNdEx:])
  46957. if err != nil {
  46958. return err
  46959. }
  46960. if skippy < 0 {
  46961. return ErrInvalidLengthGenerated
  46962. }
  46963. if (iNdEx + skippy) > l {
  46964. return io.ErrUnexpectedEOF
  46965. }
  46966. iNdEx += skippy
  46967. }
  46968. }
  46969. if iNdEx > l {
  46970. return io.ErrUnexpectedEOF
  46971. }
  46972. return nil
  46973. }
  46974. func (m *TCPSocketAction) Unmarshal(dAtA []byte) error {
  46975. l := len(dAtA)
  46976. iNdEx := 0
  46977. for iNdEx < l {
  46978. preIndex := iNdEx
  46979. var wire uint64
  46980. for shift := uint(0); ; shift += 7 {
  46981. if shift >= 64 {
  46982. return ErrIntOverflowGenerated
  46983. }
  46984. if iNdEx >= l {
  46985. return io.ErrUnexpectedEOF
  46986. }
  46987. b := dAtA[iNdEx]
  46988. iNdEx++
  46989. wire |= (uint64(b) & 0x7F) << shift
  46990. if b < 0x80 {
  46991. break
  46992. }
  46993. }
  46994. fieldNum := int32(wire >> 3)
  46995. wireType := int(wire & 0x7)
  46996. if wireType == 4 {
  46997. return fmt.Errorf("proto: TCPSocketAction: wiretype end group for non-group")
  46998. }
  46999. if fieldNum <= 0 {
  47000. return fmt.Errorf("proto: TCPSocketAction: illegal tag %d (wire type %d)", fieldNum, wire)
  47001. }
  47002. switch fieldNum {
  47003. case 1:
  47004. if wireType != 2 {
  47005. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  47006. }
  47007. var msglen int
  47008. for shift := uint(0); ; shift += 7 {
  47009. if shift >= 64 {
  47010. return ErrIntOverflowGenerated
  47011. }
  47012. if iNdEx >= l {
  47013. return io.ErrUnexpectedEOF
  47014. }
  47015. b := dAtA[iNdEx]
  47016. iNdEx++
  47017. msglen |= (int(b) & 0x7F) << shift
  47018. if b < 0x80 {
  47019. break
  47020. }
  47021. }
  47022. if msglen < 0 {
  47023. return ErrInvalidLengthGenerated
  47024. }
  47025. postIndex := iNdEx + msglen
  47026. if postIndex > l {
  47027. return io.ErrUnexpectedEOF
  47028. }
  47029. if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47030. return err
  47031. }
  47032. iNdEx = postIndex
  47033. case 2:
  47034. if wireType != 2 {
  47035. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  47036. }
  47037. var stringLen uint64
  47038. for shift := uint(0); ; shift += 7 {
  47039. if shift >= 64 {
  47040. return ErrIntOverflowGenerated
  47041. }
  47042. if iNdEx >= l {
  47043. return io.ErrUnexpectedEOF
  47044. }
  47045. b := dAtA[iNdEx]
  47046. iNdEx++
  47047. stringLen |= (uint64(b) & 0x7F) << shift
  47048. if b < 0x80 {
  47049. break
  47050. }
  47051. }
  47052. intStringLen := int(stringLen)
  47053. if intStringLen < 0 {
  47054. return ErrInvalidLengthGenerated
  47055. }
  47056. postIndex := iNdEx + intStringLen
  47057. if postIndex > l {
  47058. return io.ErrUnexpectedEOF
  47059. }
  47060. m.Host = string(dAtA[iNdEx:postIndex])
  47061. iNdEx = postIndex
  47062. default:
  47063. iNdEx = preIndex
  47064. skippy, err := skipGenerated(dAtA[iNdEx:])
  47065. if err != nil {
  47066. return err
  47067. }
  47068. if skippy < 0 {
  47069. return ErrInvalidLengthGenerated
  47070. }
  47071. if (iNdEx + skippy) > l {
  47072. return io.ErrUnexpectedEOF
  47073. }
  47074. iNdEx += skippy
  47075. }
  47076. }
  47077. if iNdEx > l {
  47078. return io.ErrUnexpectedEOF
  47079. }
  47080. return nil
  47081. }
  47082. func (m *Taint) Unmarshal(dAtA []byte) error {
  47083. l := len(dAtA)
  47084. iNdEx := 0
  47085. for iNdEx < l {
  47086. preIndex := iNdEx
  47087. var wire uint64
  47088. for shift := uint(0); ; shift += 7 {
  47089. if shift >= 64 {
  47090. return ErrIntOverflowGenerated
  47091. }
  47092. if iNdEx >= l {
  47093. return io.ErrUnexpectedEOF
  47094. }
  47095. b := dAtA[iNdEx]
  47096. iNdEx++
  47097. wire |= (uint64(b) & 0x7F) << shift
  47098. if b < 0x80 {
  47099. break
  47100. }
  47101. }
  47102. fieldNum := int32(wire >> 3)
  47103. wireType := int(wire & 0x7)
  47104. if wireType == 4 {
  47105. return fmt.Errorf("proto: Taint: wiretype end group for non-group")
  47106. }
  47107. if fieldNum <= 0 {
  47108. return fmt.Errorf("proto: Taint: illegal tag %d (wire type %d)", fieldNum, wire)
  47109. }
  47110. switch fieldNum {
  47111. case 1:
  47112. if wireType != 2 {
  47113. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  47114. }
  47115. var stringLen uint64
  47116. for shift := uint(0); ; shift += 7 {
  47117. if shift >= 64 {
  47118. return ErrIntOverflowGenerated
  47119. }
  47120. if iNdEx >= l {
  47121. return io.ErrUnexpectedEOF
  47122. }
  47123. b := dAtA[iNdEx]
  47124. iNdEx++
  47125. stringLen |= (uint64(b) & 0x7F) << shift
  47126. if b < 0x80 {
  47127. break
  47128. }
  47129. }
  47130. intStringLen := int(stringLen)
  47131. if intStringLen < 0 {
  47132. return ErrInvalidLengthGenerated
  47133. }
  47134. postIndex := iNdEx + intStringLen
  47135. if postIndex > l {
  47136. return io.ErrUnexpectedEOF
  47137. }
  47138. m.Key = string(dAtA[iNdEx:postIndex])
  47139. iNdEx = postIndex
  47140. case 2:
  47141. if wireType != 2 {
  47142. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  47143. }
  47144. var stringLen uint64
  47145. for shift := uint(0); ; shift += 7 {
  47146. if shift >= 64 {
  47147. return ErrIntOverflowGenerated
  47148. }
  47149. if iNdEx >= l {
  47150. return io.ErrUnexpectedEOF
  47151. }
  47152. b := dAtA[iNdEx]
  47153. iNdEx++
  47154. stringLen |= (uint64(b) & 0x7F) << shift
  47155. if b < 0x80 {
  47156. break
  47157. }
  47158. }
  47159. intStringLen := int(stringLen)
  47160. if intStringLen < 0 {
  47161. return ErrInvalidLengthGenerated
  47162. }
  47163. postIndex := iNdEx + intStringLen
  47164. if postIndex > l {
  47165. return io.ErrUnexpectedEOF
  47166. }
  47167. m.Value = string(dAtA[iNdEx:postIndex])
  47168. iNdEx = postIndex
  47169. case 3:
  47170. if wireType != 2 {
  47171. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  47172. }
  47173. var stringLen uint64
  47174. for shift := uint(0); ; shift += 7 {
  47175. if shift >= 64 {
  47176. return ErrIntOverflowGenerated
  47177. }
  47178. if iNdEx >= l {
  47179. return io.ErrUnexpectedEOF
  47180. }
  47181. b := dAtA[iNdEx]
  47182. iNdEx++
  47183. stringLen |= (uint64(b) & 0x7F) << shift
  47184. if b < 0x80 {
  47185. break
  47186. }
  47187. }
  47188. intStringLen := int(stringLen)
  47189. if intStringLen < 0 {
  47190. return ErrInvalidLengthGenerated
  47191. }
  47192. postIndex := iNdEx + intStringLen
  47193. if postIndex > l {
  47194. return io.ErrUnexpectedEOF
  47195. }
  47196. m.Effect = TaintEffect(dAtA[iNdEx:postIndex])
  47197. iNdEx = postIndex
  47198. case 4:
  47199. if wireType != 2 {
  47200. return fmt.Errorf("proto: wrong wireType = %d for field TimeAdded", wireType)
  47201. }
  47202. var msglen int
  47203. for shift := uint(0); ; shift += 7 {
  47204. if shift >= 64 {
  47205. return ErrIntOverflowGenerated
  47206. }
  47207. if iNdEx >= l {
  47208. return io.ErrUnexpectedEOF
  47209. }
  47210. b := dAtA[iNdEx]
  47211. iNdEx++
  47212. msglen |= (int(b) & 0x7F) << shift
  47213. if b < 0x80 {
  47214. break
  47215. }
  47216. }
  47217. if msglen < 0 {
  47218. return ErrInvalidLengthGenerated
  47219. }
  47220. postIndex := iNdEx + msglen
  47221. if postIndex > l {
  47222. return io.ErrUnexpectedEOF
  47223. }
  47224. if m.TimeAdded == nil {
  47225. m.TimeAdded = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
  47226. }
  47227. if err := m.TimeAdded.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47228. return err
  47229. }
  47230. iNdEx = postIndex
  47231. default:
  47232. iNdEx = preIndex
  47233. skippy, err := skipGenerated(dAtA[iNdEx:])
  47234. if err != nil {
  47235. return err
  47236. }
  47237. if skippy < 0 {
  47238. return ErrInvalidLengthGenerated
  47239. }
  47240. if (iNdEx + skippy) > l {
  47241. return io.ErrUnexpectedEOF
  47242. }
  47243. iNdEx += skippy
  47244. }
  47245. }
  47246. if iNdEx > l {
  47247. return io.ErrUnexpectedEOF
  47248. }
  47249. return nil
  47250. }
  47251. func (m *Toleration) Unmarshal(dAtA []byte) error {
  47252. l := len(dAtA)
  47253. iNdEx := 0
  47254. for iNdEx < l {
  47255. preIndex := iNdEx
  47256. var wire uint64
  47257. for shift := uint(0); ; shift += 7 {
  47258. if shift >= 64 {
  47259. return ErrIntOverflowGenerated
  47260. }
  47261. if iNdEx >= l {
  47262. return io.ErrUnexpectedEOF
  47263. }
  47264. b := dAtA[iNdEx]
  47265. iNdEx++
  47266. wire |= (uint64(b) & 0x7F) << shift
  47267. if b < 0x80 {
  47268. break
  47269. }
  47270. }
  47271. fieldNum := int32(wire >> 3)
  47272. wireType := int(wire & 0x7)
  47273. if wireType == 4 {
  47274. return fmt.Errorf("proto: Toleration: wiretype end group for non-group")
  47275. }
  47276. if fieldNum <= 0 {
  47277. return fmt.Errorf("proto: Toleration: illegal tag %d (wire type %d)", fieldNum, wire)
  47278. }
  47279. switch fieldNum {
  47280. case 1:
  47281. if wireType != 2 {
  47282. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  47283. }
  47284. var stringLen uint64
  47285. for shift := uint(0); ; shift += 7 {
  47286. if shift >= 64 {
  47287. return ErrIntOverflowGenerated
  47288. }
  47289. if iNdEx >= l {
  47290. return io.ErrUnexpectedEOF
  47291. }
  47292. b := dAtA[iNdEx]
  47293. iNdEx++
  47294. stringLen |= (uint64(b) & 0x7F) << shift
  47295. if b < 0x80 {
  47296. break
  47297. }
  47298. }
  47299. intStringLen := int(stringLen)
  47300. if intStringLen < 0 {
  47301. return ErrInvalidLengthGenerated
  47302. }
  47303. postIndex := iNdEx + intStringLen
  47304. if postIndex > l {
  47305. return io.ErrUnexpectedEOF
  47306. }
  47307. m.Key = string(dAtA[iNdEx:postIndex])
  47308. iNdEx = postIndex
  47309. case 2:
  47310. if wireType != 2 {
  47311. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  47312. }
  47313. var stringLen uint64
  47314. for shift := uint(0); ; shift += 7 {
  47315. if shift >= 64 {
  47316. return ErrIntOverflowGenerated
  47317. }
  47318. if iNdEx >= l {
  47319. return io.ErrUnexpectedEOF
  47320. }
  47321. b := dAtA[iNdEx]
  47322. iNdEx++
  47323. stringLen |= (uint64(b) & 0x7F) << shift
  47324. if b < 0x80 {
  47325. break
  47326. }
  47327. }
  47328. intStringLen := int(stringLen)
  47329. if intStringLen < 0 {
  47330. return ErrInvalidLengthGenerated
  47331. }
  47332. postIndex := iNdEx + intStringLen
  47333. if postIndex > l {
  47334. return io.ErrUnexpectedEOF
  47335. }
  47336. m.Operator = TolerationOperator(dAtA[iNdEx:postIndex])
  47337. iNdEx = postIndex
  47338. case 3:
  47339. if wireType != 2 {
  47340. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  47341. }
  47342. var stringLen uint64
  47343. for shift := uint(0); ; shift += 7 {
  47344. if shift >= 64 {
  47345. return ErrIntOverflowGenerated
  47346. }
  47347. if iNdEx >= l {
  47348. return io.ErrUnexpectedEOF
  47349. }
  47350. b := dAtA[iNdEx]
  47351. iNdEx++
  47352. stringLen |= (uint64(b) & 0x7F) << shift
  47353. if b < 0x80 {
  47354. break
  47355. }
  47356. }
  47357. intStringLen := int(stringLen)
  47358. if intStringLen < 0 {
  47359. return ErrInvalidLengthGenerated
  47360. }
  47361. postIndex := iNdEx + intStringLen
  47362. if postIndex > l {
  47363. return io.ErrUnexpectedEOF
  47364. }
  47365. m.Value = string(dAtA[iNdEx:postIndex])
  47366. iNdEx = postIndex
  47367. case 4:
  47368. if wireType != 2 {
  47369. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  47370. }
  47371. var stringLen uint64
  47372. for shift := uint(0); ; shift += 7 {
  47373. if shift >= 64 {
  47374. return ErrIntOverflowGenerated
  47375. }
  47376. if iNdEx >= l {
  47377. return io.ErrUnexpectedEOF
  47378. }
  47379. b := dAtA[iNdEx]
  47380. iNdEx++
  47381. stringLen |= (uint64(b) & 0x7F) << shift
  47382. if b < 0x80 {
  47383. break
  47384. }
  47385. }
  47386. intStringLen := int(stringLen)
  47387. if intStringLen < 0 {
  47388. return ErrInvalidLengthGenerated
  47389. }
  47390. postIndex := iNdEx + intStringLen
  47391. if postIndex > l {
  47392. return io.ErrUnexpectedEOF
  47393. }
  47394. m.Effect = TaintEffect(dAtA[iNdEx:postIndex])
  47395. iNdEx = postIndex
  47396. case 5:
  47397. if wireType != 0 {
  47398. return fmt.Errorf("proto: wrong wireType = %d for field TolerationSeconds", wireType)
  47399. }
  47400. var v int64
  47401. for shift := uint(0); ; shift += 7 {
  47402. if shift >= 64 {
  47403. return ErrIntOverflowGenerated
  47404. }
  47405. if iNdEx >= l {
  47406. return io.ErrUnexpectedEOF
  47407. }
  47408. b := dAtA[iNdEx]
  47409. iNdEx++
  47410. v |= (int64(b) & 0x7F) << shift
  47411. if b < 0x80 {
  47412. break
  47413. }
  47414. }
  47415. m.TolerationSeconds = &v
  47416. default:
  47417. iNdEx = preIndex
  47418. skippy, err := skipGenerated(dAtA[iNdEx:])
  47419. if err != nil {
  47420. return err
  47421. }
  47422. if skippy < 0 {
  47423. return ErrInvalidLengthGenerated
  47424. }
  47425. if (iNdEx + skippy) > l {
  47426. return io.ErrUnexpectedEOF
  47427. }
  47428. iNdEx += skippy
  47429. }
  47430. }
  47431. if iNdEx > l {
  47432. return io.ErrUnexpectedEOF
  47433. }
  47434. return nil
  47435. }
  47436. func (m *Volume) Unmarshal(dAtA []byte) error {
  47437. l := len(dAtA)
  47438. iNdEx := 0
  47439. for iNdEx < l {
  47440. preIndex := iNdEx
  47441. var wire uint64
  47442. for shift := uint(0); ; shift += 7 {
  47443. if shift >= 64 {
  47444. return ErrIntOverflowGenerated
  47445. }
  47446. if iNdEx >= l {
  47447. return io.ErrUnexpectedEOF
  47448. }
  47449. b := dAtA[iNdEx]
  47450. iNdEx++
  47451. wire |= (uint64(b) & 0x7F) << shift
  47452. if b < 0x80 {
  47453. break
  47454. }
  47455. }
  47456. fieldNum := int32(wire >> 3)
  47457. wireType := int(wire & 0x7)
  47458. if wireType == 4 {
  47459. return fmt.Errorf("proto: Volume: wiretype end group for non-group")
  47460. }
  47461. if fieldNum <= 0 {
  47462. return fmt.Errorf("proto: Volume: illegal tag %d (wire type %d)", fieldNum, wire)
  47463. }
  47464. switch fieldNum {
  47465. case 1:
  47466. if wireType != 2 {
  47467. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  47468. }
  47469. var stringLen uint64
  47470. for shift := uint(0); ; shift += 7 {
  47471. if shift >= 64 {
  47472. return ErrIntOverflowGenerated
  47473. }
  47474. if iNdEx >= l {
  47475. return io.ErrUnexpectedEOF
  47476. }
  47477. b := dAtA[iNdEx]
  47478. iNdEx++
  47479. stringLen |= (uint64(b) & 0x7F) << shift
  47480. if b < 0x80 {
  47481. break
  47482. }
  47483. }
  47484. intStringLen := int(stringLen)
  47485. if intStringLen < 0 {
  47486. return ErrInvalidLengthGenerated
  47487. }
  47488. postIndex := iNdEx + intStringLen
  47489. if postIndex > l {
  47490. return io.ErrUnexpectedEOF
  47491. }
  47492. m.Name = string(dAtA[iNdEx:postIndex])
  47493. iNdEx = postIndex
  47494. case 2:
  47495. if wireType != 2 {
  47496. return fmt.Errorf("proto: wrong wireType = %d for field VolumeSource", wireType)
  47497. }
  47498. var msglen int
  47499. for shift := uint(0); ; shift += 7 {
  47500. if shift >= 64 {
  47501. return ErrIntOverflowGenerated
  47502. }
  47503. if iNdEx >= l {
  47504. return io.ErrUnexpectedEOF
  47505. }
  47506. b := dAtA[iNdEx]
  47507. iNdEx++
  47508. msglen |= (int(b) & 0x7F) << shift
  47509. if b < 0x80 {
  47510. break
  47511. }
  47512. }
  47513. if msglen < 0 {
  47514. return ErrInvalidLengthGenerated
  47515. }
  47516. postIndex := iNdEx + msglen
  47517. if postIndex > l {
  47518. return io.ErrUnexpectedEOF
  47519. }
  47520. if err := m.VolumeSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47521. return err
  47522. }
  47523. iNdEx = postIndex
  47524. default:
  47525. iNdEx = preIndex
  47526. skippy, err := skipGenerated(dAtA[iNdEx:])
  47527. if err != nil {
  47528. return err
  47529. }
  47530. if skippy < 0 {
  47531. return ErrInvalidLengthGenerated
  47532. }
  47533. if (iNdEx + skippy) > l {
  47534. return io.ErrUnexpectedEOF
  47535. }
  47536. iNdEx += skippy
  47537. }
  47538. }
  47539. if iNdEx > l {
  47540. return io.ErrUnexpectedEOF
  47541. }
  47542. return nil
  47543. }
  47544. func (m *VolumeDevice) Unmarshal(dAtA []byte) error {
  47545. l := len(dAtA)
  47546. iNdEx := 0
  47547. for iNdEx < l {
  47548. preIndex := iNdEx
  47549. var wire uint64
  47550. for shift := uint(0); ; shift += 7 {
  47551. if shift >= 64 {
  47552. return ErrIntOverflowGenerated
  47553. }
  47554. if iNdEx >= l {
  47555. return io.ErrUnexpectedEOF
  47556. }
  47557. b := dAtA[iNdEx]
  47558. iNdEx++
  47559. wire |= (uint64(b) & 0x7F) << shift
  47560. if b < 0x80 {
  47561. break
  47562. }
  47563. }
  47564. fieldNum := int32(wire >> 3)
  47565. wireType := int(wire & 0x7)
  47566. if wireType == 4 {
  47567. return fmt.Errorf("proto: VolumeDevice: wiretype end group for non-group")
  47568. }
  47569. if fieldNum <= 0 {
  47570. return fmt.Errorf("proto: VolumeDevice: illegal tag %d (wire type %d)", fieldNum, wire)
  47571. }
  47572. switch fieldNum {
  47573. case 1:
  47574. if wireType != 2 {
  47575. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  47576. }
  47577. var stringLen uint64
  47578. for shift := uint(0); ; shift += 7 {
  47579. if shift >= 64 {
  47580. return ErrIntOverflowGenerated
  47581. }
  47582. if iNdEx >= l {
  47583. return io.ErrUnexpectedEOF
  47584. }
  47585. b := dAtA[iNdEx]
  47586. iNdEx++
  47587. stringLen |= (uint64(b) & 0x7F) << shift
  47588. if b < 0x80 {
  47589. break
  47590. }
  47591. }
  47592. intStringLen := int(stringLen)
  47593. if intStringLen < 0 {
  47594. return ErrInvalidLengthGenerated
  47595. }
  47596. postIndex := iNdEx + intStringLen
  47597. if postIndex > l {
  47598. return io.ErrUnexpectedEOF
  47599. }
  47600. m.Name = string(dAtA[iNdEx:postIndex])
  47601. iNdEx = postIndex
  47602. case 2:
  47603. if wireType != 2 {
  47604. return fmt.Errorf("proto: wrong wireType = %d for field DevicePath", wireType)
  47605. }
  47606. var stringLen uint64
  47607. for shift := uint(0); ; shift += 7 {
  47608. if shift >= 64 {
  47609. return ErrIntOverflowGenerated
  47610. }
  47611. if iNdEx >= l {
  47612. return io.ErrUnexpectedEOF
  47613. }
  47614. b := dAtA[iNdEx]
  47615. iNdEx++
  47616. stringLen |= (uint64(b) & 0x7F) << shift
  47617. if b < 0x80 {
  47618. break
  47619. }
  47620. }
  47621. intStringLen := int(stringLen)
  47622. if intStringLen < 0 {
  47623. return ErrInvalidLengthGenerated
  47624. }
  47625. postIndex := iNdEx + intStringLen
  47626. if postIndex > l {
  47627. return io.ErrUnexpectedEOF
  47628. }
  47629. m.DevicePath = string(dAtA[iNdEx:postIndex])
  47630. iNdEx = postIndex
  47631. default:
  47632. iNdEx = preIndex
  47633. skippy, err := skipGenerated(dAtA[iNdEx:])
  47634. if err != nil {
  47635. return err
  47636. }
  47637. if skippy < 0 {
  47638. return ErrInvalidLengthGenerated
  47639. }
  47640. if (iNdEx + skippy) > l {
  47641. return io.ErrUnexpectedEOF
  47642. }
  47643. iNdEx += skippy
  47644. }
  47645. }
  47646. if iNdEx > l {
  47647. return io.ErrUnexpectedEOF
  47648. }
  47649. return nil
  47650. }
  47651. func (m *VolumeMount) Unmarshal(dAtA []byte) error {
  47652. l := len(dAtA)
  47653. iNdEx := 0
  47654. for iNdEx < l {
  47655. preIndex := iNdEx
  47656. var wire uint64
  47657. for shift := uint(0); ; shift += 7 {
  47658. if shift >= 64 {
  47659. return ErrIntOverflowGenerated
  47660. }
  47661. if iNdEx >= l {
  47662. return io.ErrUnexpectedEOF
  47663. }
  47664. b := dAtA[iNdEx]
  47665. iNdEx++
  47666. wire |= (uint64(b) & 0x7F) << shift
  47667. if b < 0x80 {
  47668. break
  47669. }
  47670. }
  47671. fieldNum := int32(wire >> 3)
  47672. wireType := int(wire & 0x7)
  47673. if wireType == 4 {
  47674. return fmt.Errorf("proto: VolumeMount: wiretype end group for non-group")
  47675. }
  47676. if fieldNum <= 0 {
  47677. return fmt.Errorf("proto: VolumeMount: illegal tag %d (wire type %d)", fieldNum, wire)
  47678. }
  47679. switch fieldNum {
  47680. case 1:
  47681. if wireType != 2 {
  47682. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  47683. }
  47684. var stringLen uint64
  47685. for shift := uint(0); ; shift += 7 {
  47686. if shift >= 64 {
  47687. return ErrIntOverflowGenerated
  47688. }
  47689. if iNdEx >= l {
  47690. return io.ErrUnexpectedEOF
  47691. }
  47692. b := dAtA[iNdEx]
  47693. iNdEx++
  47694. stringLen |= (uint64(b) & 0x7F) << shift
  47695. if b < 0x80 {
  47696. break
  47697. }
  47698. }
  47699. intStringLen := int(stringLen)
  47700. if intStringLen < 0 {
  47701. return ErrInvalidLengthGenerated
  47702. }
  47703. postIndex := iNdEx + intStringLen
  47704. if postIndex > l {
  47705. return io.ErrUnexpectedEOF
  47706. }
  47707. m.Name = string(dAtA[iNdEx:postIndex])
  47708. iNdEx = postIndex
  47709. case 2:
  47710. if wireType != 0 {
  47711. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  47712. }
  47713. var v int
  47714. for shift := uint(0); ; shift += 7 {
  47715. if shift >= 64 {
  47716. return ErrIntOverflowGenerated
  47717. }
  47718. if iNdEx >= l {
  47719. return io.ErrUnexpectedEOF
  47720. }
  47721. b := dAtA[iNdEx]
  47722. iNdEx++
  47723. v |= (int(b) & 0x7F) << shift
  47724. if b < 0x80 {
  47725. break
  47726. }
  47727. }
  47728. m.ReadOnly = bool(v != 0)
  47729. case 3:
  47730. if wireType != 2 {
  47731. return fmt.Errorf("proto: wrong wireType = %d for field MountPath", wireType)
  47732. }
  47733. var stringLen uint64
  47734. for shift := uint(0); ; shift += 7 {
  47735. if shift >= 64 {
  47736. return ErrIntOverflowGenerated
  47737. }
  47738. if iNdEx >= l {
  47739. return io.ErrUnexpectedEOF
  47740. }
  47741. b := dAtA[iNdEx]
  47742. iNdEx++
  47743. stringLen |= (uint64(b) & 0x7F) << shift
  47744. if b < 0x80 {
  47745. break
  47746. }
  47747. }
  47748. intStringLen := int(stringLen)
  47749. if intStringLen < 0 {
  47750. return ErrInvalidLengthGenerated
  47751. }
  47752. postIndex := iNdEx + intStringLen
  47753. if postIndex > l {
  47754. return io.ErrUnexpectedEOF
  47755. }
  47756. m.MountPath = string(dAtA[iNdEx:postIndex])
  47757. iNdEx = postIndex
  47758. case 4:
  47759. if wireType != 2 {
  47760. return fmt.Errorf("proto: wrong wireType = %d for field SubPath", wireType)
  47761. }
  47762. var stringLen uint64
  47763. for shift := uint(0); ; shift += 7 {
  47764. if shift >= 64 {
  47765. return ErrIntOverflowGenerated
  47766. }
  47767. if iNdEx >= l {
  47768. return io.ErrUnexpectedEOF
  47769. }
  47770. b := dAtA[iNdEx]
  47771. iNdEx++
  47772. stringLen |= (uint64(b) & 0x7F) << shift
  47773. if b < 0x80 {
  47774. break
  47775. }
  47776. }
  47777. intStringLen := int(stringLen)
  47778. if intStringLen < 0 {
  47779. return ErrInvalidLengthGenerated
  47780. }
  47781. postIndex := iNdEx + intStringLen
  47782. if postIndex > l {
  47783. return io.ErrUnexpectedEOF
  47784. }
  47785. m.SubPath = string(dAtA[iNdEx:postIndex])
  47786. iNdEx = postIndex
  47787. case 5:
  47788. if wireType != 2 {
  47789. return fmt.Errorf("proto: wrong wireType = %d for field MountPropagation", wireType)
  47790. }
  47791. var stringLen uint64
  47792. for shift := uint(0); ; shift += 7 {
  47793. if shift >= 64 {
  47794. return ErrIntOverflowGenerated
  47795. }
  47796. if iNdEx >= l {
  47797. return io.ErrUnexpectedEOF
  47798. }
  47799. b := dAtA[iNdEx]
  47800. iNdEx++
  47801. stringLen |= (uint64(b) & 0x7F) << shift
  47802. if b < 0x80 {
  47803. break
  47804. }
  47805. }
  47806. intStringLen := int(stringLen)
  47807. if intStringLen < 0 {
  47808. return ErrInvalidLengthGenerated
  47809. }
  47810. postIndex := iNdEx + intStringLen
  47811. if postIndex > l {
  47812. return io.ErrUnexpectedEOF
  47813. }
  47814. s := MountPropagationMode(dAtA[iNdEx:postIndex])
  47815. m.MountPropagation = &s
  47816. iNdEx = postIndex
  47817. default:
  47818. iNdEx = preIndex
  47819. skippy, err := skipGenerated(dAtA[iNdEx:])
  47820. if err != nil {
  47821. return err
  47822. }
  47823. if skippy < 0 {
  47824. return ErrInvalidLengthGenerated
  47825. }
  47826. if (iNdEx + skippy) > l {
  47827. return io.ErrUnexpectedEOF
  47828. }
  47829. iNdEx += skippy
  47830. }
  47831. }
  47832. if iNdEx > l {
  47833. return io.ErrUnexpectedEOF
  47834. }
  47835. return nil
  47836. }
  47837. func (m *VolumeNodeAffinity) Unmarshal(dAtA []byte) error {
  47838. l := len(dAtA)
  47839. iNdEx := 0
  47840. for iNdEx < l {
  47841. preIndex := iNdEx
  47842. var wire uint64
  47843. for shift := uint(0); ; shift += 7 {
  47844. if shift >= 64 {
  47845. return ErrIntOverflowGenerated
  47846. }
  47847. if iNdEx >= l {
  47848. return io.ErrUnexpectedEOF
  47849. }
  47850. b := dAtA[iNdEx]
  47851. iNdEx++
  47852. wire |= (uint64(b) & 0x7F) << shift
  47853. if b < 0x80 {
  47854. break
  47855. }
  47856. }
  47857. fieldNum := int32(wire >> 3)
  47858. wireType := int(wire & 0x7)
  47859. if wireType == 4 {
  47860. return fmt.Errorf("proto: VolumeNodeAffinity: wiretype end group for non-group")
  47861. }
  47862. if fieldNum <= 0 {
  47863. return fmt.Errorf("proto: VolumeNodeAffinity: illegal tag %d (wire type %d)", fieldNum, wire)
  47864. }
  47865. switch fieldNum {
  47866. case 1:
  47867. if wireType != 2 {
  47868. return fmt.Errorf("proto: wrong wireType = %d for field Required", wireType)
  47869. }
  47870. var msglen int
  47871. for shift := uint(0); ; shift += 7 {
  47872. if shift >= 64 {
  47873. return ErrIntOverflowGenerated
  47874. }
  47875. if iNdEx >= l {
  47876. return io.ErrUnexpectedEOF
  47877. }
  47878. b := dAtA[iNdEx]
  47879. iNdEx++
  47880. msglen |= (int(b) & 0x7F) << shift
  47881. if b < 0x80 {
  47882. break
  47883. }
  47884. }
  47885. if msglen < 0 {
  47886. return ErrInvalidLengthGenerated
  47887. }
  47888. postIndex := iNdEx + msglen
  47889. if postIndex > l {
  47890. return io.ErrUnexpectedEOF
  47891. }
  47892. if m.Required == nil {
  47893. m.Required = &NodeSelector{}
  47894. }
  47895. if err := m.Required.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47896. return err
  47897. }
  47898. iNdEx = postIndex
  47899. default:
  47900. iNdEx = preIndex
  47901. skippy, err := skipGenerated(dAtA[iNdEx:])
  47902. if err != nil {
  47903. return err
  47904. }
  47905. if skippy < 0 {
  47906. return ErrInvalidLengthGenerated
  47907. }
  47908. if (iNdEx + skippy) > l {
  47909. return io.ErrUnexpectedEOF
  47910. }
  47911. iNdEx += skippy
  47912. }
  47913. }
  47914. if iNdEx > l {
  47915. return io.ErrUnexpectedEOF
  47916. }
  47917. return nil
  47918. }
  47919. func (m *VolumeProjection) Unmarshal(dAtA []byte) error {
  47920. l := len(dAtA)
  47921. iNdEx := 0
  47922. for iNdEx < l {
  47923. preIndex := iNdEx
  47924. var wire uint64
  47925. for shift := uint(0); ; shift += 7 {
  47926. if shift >= 64 {
  47927. return ErrIntOverflowGenerated
  47928. }
  47929. if iNdEx >= l {
  47930. return io.ErrUnexpectedEOF
  47931. }
  47932. b := dAtA[iNdEx]
  47933. iNdEx++
  47934. wire |= (uint64(b) & 0x7F) << shift
  47935. if b < 0x80 {
  47936. break
  47937. }
  47938. }
  47939. fieldNum := int32(wire >> 3)
  47940. wireType := int(wire & 0x7)
  47941. if wireType == 4 {
  47942. return fmt.Errorf("proto: VolumeProjection: wiretype end group for non-group")
  47943. }
  47944. if fieldNum <= 0 {
  47945. return fmt.Errorf("proto: VolumeProjection: illegal tag %d (wire type %d)", fieldNum, wire)
  47946. }
  47947. switch fieldNum {
  47948. case 1:
  47949. if wireType != 2 {
  47950. return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
  47951. }
  47952. var msglen int
  47953. for shift := uint(0); ; shift += 7 {
  47954. if shift >= 64 {
  47955. return ErrIntOverflowGenerated
  47956. }
  47957. if iNdEx >= l {
  47958. return io.ErrUnexpectedEOF
  47959. }
  47960. b := dAtA[iNdEx]
  47961. iNdEx++
  47962. msglen |= (int(b) & 0x7F) << shift
  47963. if b < 0x80 {
  47964. break
  47965. }
  47966. }
  47967. if msglen < 0 {
  47968. return ErrInvalidLengthGenerated
  47969. }
  47970. postIndex := iNdEx + msglen
  47971. if postIndex > l {
  47972. return io.ErrUnexpectedEOF
  47973. }
  47974. if m.Secret == nil {
  47975. m.Secret = &SecretProjection{}
  47976. }
  47977. if err := m.Secret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  47978. return err
  47979. }
  47980. iNdEx = postIndex
  47981. case 2:
  47982. if wireType != 2 {
  47983. return fmt.Errorf("proto: wrong wireType = %d for field DownwardAPI", wireType)
  47984. }
  47985. var msglen int
  47986. for shift := uint(0); ; shift += 7 {
  47987. if shift >= 64 {
  47988. return ErrIntOverflowGenerated
  47989. }
  47990. if iNdEx >= l {
  47991. return io.ErrUnexpectedEOF
  47992. }
  47993. b := dAtA[iNdEx]
  47994. iNdEx++
  47995. msglen |= (int(b) & 0x7F) << shift
  47996. if b < 0x80 {
  47997. break
  47998. }
  47999. }
  48000. if msglen < 0 {
  48001. return ErrInvalidLengthGenerated
  48002. }
  48003. postIndex := iNdEx + msglen
  48004. if postIndex > l {
  48005. return io.ErrUnexpectedEOF
  48006. }
  48007. if m.DownwardAPI == nil {
  48008. m.DownwardAPI = &DownwardAPIProjection{}
  48009. }
  48010. if err := m.DownwardAPI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48011. return err
  48012. }
  48013. iNdEx = postIndex
  48014. case 3:
  48015. if wireType != 2 {
  48016. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  48017. }
  48018. var msglen int
  48019. for shift := uint(0); ; shift += 7 {
  48020. if shift >= 64 {
  48021. return ErrIntOverflowGenerated
  48022. }
  48023. if iNdEx >= l {
  48024. return io.ErrUnexpectedEOF
  48025. }
  48026. b := dAtA[iNdEx]
  48027. iNdEx++
  48028. msglen |= (int(b) & 0x7F) << shift
  48029. if b < 0x80 {
  48030. break
  48031. }
  48032. }
  48033. if msglen < 0 {
  48034. return ErrInvalidLengthGenerated
  48035. }
  48036. postIndex := iNdEx + msglen
  48037. if postIndex > l {
  48038. return io.ErrUnexpectedEOF
  48039. }
  48040. if m.ConfigMap == nil {
  48041. m.ConfigMap = &ConfigMapProjection{}
  48042. }
  48043. if err := m.ConfigMap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48044. return err
  48045. }
  48046. iNdEx = postIndex
  48047. default:
  48048. iNdEx = preIndex
  48049. skippy, err := skipGenerated(dAtA[iNdEx:])
  48050. if err != nil {
  48051. return err
  48052. }
  48053. if skippy < 0 {
  48054. return ErrInvalidLengthGenerated
  48055. }
  48056. if (iNdEx + skippy) > l {
  48057. return io.ErrUnexpectedEOF
  48058. }
  48059. iNdEx += skippy
  48060. }
  48061. }
  48062. if iNdEx > l {
  48063. return io.ErrUnexpectedEOF
  48064. }
  48065. return nil
  48066. }
  48067. func (m *VolumeSource) Unmarshal(dAtA []byte) error {
  48068. l := len(dAtA)
  48069. iNdEx := 0
  48070. for iNdEx < l {
  48071. preIndex := iNdEx
  48072. var wire uint64
  48073. for shift := uint(0); ; shift += 7 {
  48074. if shift >= 64 {
  48075. return ErrIntOverflowGenerated
  48076. }
  48077. if iNdEx >= l {
  48078. return io.ErrUnexpectedEOF
  48079. }
  48080. b := dAtA[iNdEx]
  48081. iNdEx++
  48082. wire |= (uint64(b) & 0x7F) << shift
  48083. if b < 0x80 {
  48084. break
  48085. }
  48086. }
  48087. fieldNum := int32(wire >> 3)
  48088. wireType := int(wire & 0x7)
  48089. if wireType == 4 {
  48090. return fmt.Errorf("proto: VolumeSource: wiretype end group for non-group")
  48091. }
  48092. if fieldNum <= 0 {
  48093. return fmt.Errorf("proto: VolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  48094. }
  48095. switch fieldNum {
  48096. case 1:
  48097. if wireType != 2 {
  48098. return fmt.Errorf("proto: wrong wireType = %d for field HostPath", wireType)
  48099. }
  48100. var msglen int
  48101. for shift := uint(0); ; shift += 7 {
  48102. if shift >= 64 {
  48103. return ErrIntOverflowGenerated
  48104. }
  48105. if iNdEx >= l {
  48106. return io.ErrUnexpectedEOF
  48107. }
  48108. b := dAtA[iNdEx]
  48109. iNdEx++
  48110. msglen |= (int(b) & 0x7F) << shift
  48111. if b < 0x80 {
  48112. break
  48113. }
  48114. }
  48115. if msglen < 0 {
  48116. return ErrInvalidLengthGenerated
  48117. }
  48118. postIndex := iNdEx + msglen
  48119. if postIndex > l {
  48120. return io.ErrUnexpectedEOF
  48121. }
  48122. if m.HostPath == nil {
  48123. m.HostPath = &HostPathVolumeSource{}
  48124. }
  48125. if err := m.HostPath.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48126. return err
  48127. }
  48128. iNdEx = postIndex
  48129. case 2:
  48130. if wireType != 2 {
  48131. return fmt.Errorf("proto: wrong wireType = %d for field EmptyDir", wireType)
  48132. }
  48133. var msglen int
  48134. for shift := uint(0); ; shift += 7 {
  48135. if shift >= 64 {
  48136. return ErrIntOverflowGenerated
  48137. }
  48138. if iNdEx >= l {
  48139. return io.ErrUnexpectedEOF
  48140. }
  48141. b := dAtA[iNdEx]
  48142. iNdEx++
  48143. msglen |= (int(b) & 0x7F) << shift
  48144. if b < 0x80 {
  48145. break
  48146. }
  48147. }
  48148. if msglen < 0 {
  48149. return ErrInvalidLengthGenerated
  48150. }
  48151. postIndex := iNdEx + msglen
  48152. if postIndex > l {
  48153. return io.ErrUnexpectedEOF
  48154. }
  48155. if m.EmptyDir == nil {
  48156. m.EmptyDir = &EmptyDirVolumeSource{}
  48157. }
  48158. if err := m.EmptyDir.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48159. return err
  48160. }
  48161. iNdEx = postIndex
  48162. case 3:
  48163. if wireType != 2 {
  48164. return fmt.Errorf("proto: wrong wireType = %d for field GCEPersistentDisk", wireType)
  48165. }
  48166. var msglen int
  48167. for shift := uint(0); ; shift += 7 {
  48168. if shift >= 64 {
  48169. return ErrIntOverflowGenerated
  48170. }
  48171. if iNdEx >= l {
  48172. return io.ErrUnexpectedEOF
  48173. }
  48174. b := dAtA[iNdEx]
  48175. iNdEx++
  48176. msglen |= (int(b) & 0x7F) << shift
  48177. if b < 0x80 {
  48178. break
  48179. }
  48180. }
  48181. if msglen < 0 {
  48182. return ErrInvalidLengthGenerated
  48183. }
  48184. postIndex := iNdEx + msglen
  48185. if postIndex > l {
  48186. return io.ErrUnexpectedEOF
  48187. }
  48188. if m.GCEPersistentDisk == nil {
  48189. m.GCEPersistentDisk = &GCEPersistentDiskVolumeSource{}
  48190. }
  48191. if err := m.GCEPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48192. return err
  48193. }
  48194. iNdEx = postIndex
  48195. case 4:
  48196. if wireType != 2 {
  48197. return fmt.Errorf("proto: wrong wireType = %d for field AWSElasticBlockStore", 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.AWSElasticBlockStore == nil {
  48222. m.AWSElasticBlockStore = &AWSElasticBlockStoreVolumeSource{}
  48223. }
  48224. if err := m.AWSElasticBlockStore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48225. return err
  48226. }
  48227. iNdEx = postIndex
  48228. case 5:
  48229. if wireType != 2 {
  48230. return fmt.Errorf("proto: wrong wireType = %d for field GitRepo", wireType)
  48231. }
  48232. var msglen int
  48233. for shift := uint(0); ; shift += 7 {
  48234. if shift >= 64 {
  48235. return ErrIntOverflowGenerated
  48236. }
  48237. if iNdEx >= l {
  48238. return io.ErrUnexpectedEOF
  48239. }
  48240. b := dAtA[iNdEx]
  48241. iNdEx++
  48242. msglen |= (int(b) & 0x7F) << shift
  48243. if b < 0x80 {
  48244. break
  48245. }
  48246. }
  48247. if msglen < 0 {
  48248. return ErrInvalidLengthGenerated
  48249. }
  48250. postIndex := iNdEx + msglen
  48251. if postIndex > l {
  48252. return io.ErrUnexpectedEOF
  48253. }
  48254. if m.GitRepo == nil {
  48255. m.GitRepo = &GitRepoVolumeSource{}
  48256. }
  48257. if err := m.GitRepo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48258. return err
  48259. }
  48260. iNdEx = postIndex
  48261. case 6:
  48262. if wireType != 2 {
  48263. return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
  48264. }
  48265. var msglen int
  48266. for shift := uint(0); ; shift += 7 {
  48267. if shift >= 64 {
  48268. return ErrIntOverflowGenerated
  48269. }
  48270. if iNdEx >= l {
  48271. return io.ErrUnexpectedEOF
  48272. }
  48273. b := dAtA[iNdEx]
  48274. iNdEx++
  48275. msglen |= (int(b) & 0x7F) << shift
  48276. if b < 0x80 {
  48277. break
  48278. }
  48279. }
  48280. if msglen < 0 {
  48281. return ErrInvalidLengthGenerated
  48282. }
  48283. postIndex := iNdEx + msglen
  48284. if postIndex > l {
  48285. return io.ErrUnexpectedEOF
  48286. }
  48287. if m.Secret == nil {
  48288. m.Secret = &SecretVolumeSource{}
  48289. }
  48290. if err := m.Secret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48291. return err
  48292. }
  48293. iNdEx = postIndex
  48294. case 7:
  48295. if wireType != 2 {
  48296. return fmt.Errorf("proto: wrong wireType = %d for field NFS", wireType)
  48297. }
  48298. var msglen int
  48299. for shift := uint(0); ; shift += 7 {
  48300. if shift >= 64 {
  48301. return ErrIntOverflowGenerated
  48302. }
  48303. if iNdEx >= l {
  48304. return io.ErrUnexpectedEOF
  48305. }
  48306. b := dAtA[iNdEx]
  48307. iNdEx++
  48308. msglen |= (int(b) & 0x7F) << shift
  48309. if b < 0x80 {
  48310. break
  48311. }
  48312. }
  48313. if msglen < 0 {
  48314. return ErrInvalidLengthGenerated
  48315. }
  48316. postIndex := iNdEx + msglen
  48317. if postIndex > l {
  48318. return io.ErrUnexpectedEOF
  48319. }
  48320. if m.NFS == nil {
  48321. m.NFS = &NFSVolumeSource{}
  48322. }
  48323. if err := m.NFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48324. return err
  48325. }
  48326. iNdEx = postIndex
  48327. case 8:
  48328. if wireType != 2 {
  48329. return fmt.Errorf("proto: wrong wireType = %d for field ISCSI", wireType)
  48330. }
  48331. var msglen int
  48332. for shift := uint(0); ; shift += 7 {
  48333. if shift >= 64 {
  48334. return ErrIntOverflowGenerated
  48335. }
  48336. if iNdEx >= l {
  48337. return io.ErrUnexpectedEOF
  48338. }
  48339. b := dAtA[iNdEx]
  48340. iNdEx++
  48341. msglen |= (int(b) & 0x7F) << shift
  48342. if b < 0x80 {
  48343. break
  48344. }
  48345. }
  48346. if msglen < 0 {
  48347. return ErrInvalidLengthGenerated
  48348. }
  48349. postIndex := iNdEx + msglen
  48350. if postIndex > l {
  48351. return io.ErrUnexpectedEOF
  48352. }
  48353. if m.ISCSI == nil {
  48354. m.ISCSI = &ISCSIVolumeSource{}
  48355. }
  48356. if err := m.ISCSI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48357. return err
  48358. }
  48359. iNdEx = postIndex
  48360. case 9:
  48361. if wireType != 2 {
  48362. return fmt.Errorf("proto: wrong wireType = %d for field Glusterfs", wireType)
  48363. }
  48364. var msglen int
  48365. for shift := uint(0); ; shift += 7 {
  48366. if shift >= 64 {
  48367. return ErrIntOverflowGenerated
  48368. }
  48369. if iNdEx >= l {
  48370. return io.ErrUnexpectedEOF
  48371. }
  48372. b := dAtA[iNdEx]
  48373. iNdEx++
  48374. msglen |= (int(b) & 0x7F) << shift
  48375. if b < 0x80 {
  48376. break
  48377. }
  48378. }
  48379. if msglen < 0 {
  48380. return ErrInvalidLengthGenerated
  48381. }
  48382. postIndex := iNdEx + msglen
  48383. if postIndex > l {
  48384. return io.ErrUnexpectedEOF
  48385. }
  48386. if m.Glusterfs == nil {
  48387. m.Glusterfs = &GlusterfsVolumeSource{}
  48388. }
  48389. if err := m.Glusterfs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48390. return err
  48391. }
  48392. iNdEx = postIndex
  48393. case 10:
  48394. if wireType != 2 {
  48395. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeClaim", wireType)
  48396. }
  48397. var msglen int
  48398. for shift := uint(0); ; shift += 7 {
  48399. if shift >= 64 {
  48400. return ErrIntOverflowGenerated
  48401. }
  48402. if iNdEx >= l {
  48403. return io.ErrUnexpectedEOF
  48404. }
  48405. b := dAtA[iNdEx]
  48406. iNdEx++
  48407. msglen |= (int(b) & 0x7F) << shift
  48408. if b < 0x80 {
  48409. break
  48410. }
  48411. }
  48412. if msglen < 0 {
  48413. return ErrInvalidLengthGenerated
  48414. }
  48415. postIndex := iNdEx + msglen
  48416. if postIndex > l {
  48417. return io.ErrUnexpectedEOF
  48418. }
  48419. if m.PersistentVolumeClaim == nil {
  48420. m.PersistentVolumeClaim = &PersistentVolumeClaimVolumeSource{}
  48421. }
  48422. if err := m.PersistentVolumeClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48423. return err
  48424. }
  48425. iNdEx = postIndex
  48426. case 11:
  48427. if wireType != 2 {
  48428. return fmt.Errorf("proto: wrong wireType = %d for field RBD", wireType)
  48429. }
  48430. var msglen int
  48431. for shift := uint(0); ; shift += 7 {
  48432. if shift >= 64 {
  48433. return ErrIntOverflowGenerated
  48434. }
  48435. if iNdEx >= l {
  48436. return io.ErrUnexpectedEOF
  48437. }
  48438. b := dAtA[iNdEx]
  48439. iNdEx++
  48440. msglen |= (int(b) & 0x7F) << shift
  48441. if b < 0x80 {
  48442. break
  48443. }
  48444. }
  48445. if msglen < 0 {
  48446. return ErrInvalidLengthGenerated
  48447. }
  48448. postIndex := iNdEx + msglen
  48449. if postIndex > l {
  48450. return io.ErrUnexpectedEOF
  48451. }
  48452. if m.RBD == nil {
  48453. m.RBD = &RBDVolumeSource{}
  48454. }
  48455. if err := m.RBD.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48456. return err
  48457. }
  48458. iNdEx = postIndex
  48459. case 12:
  48460. if wireType != 2 {
  48461. return fmt.Errorf("proto: wrong wireType = %d for field FlexVolume", wireType)
  48462. }
  48463. var msglen int
  48464. for shift := uint(0); ; shift += 7 {
  48465. if shift >= 64 {
  48466. return ErrIntOverflowGenerated
  48467. }
  48468. if iNdEx >= l {
  48469. return io.ErrUnexpectedEOF
  48470. }
  48471. b := dAtA[iNdEx]
  48472. iNdEx++
  48473. msglen |= (int(b) & 0x7F) << shift
  48474. if b < 0x80 {
  48475. break
  48476. }
  48477. }
  48478. if msglen < 0 {
  48479. return ErrInvalidLengthGenerated
  48480. }
  48481. postIndex := iNdEx + msglen
  48482. if postIndex > l {
  48483. return io.ErrUnexpectedEOF
  48484. }
  48485. if m.FlexVolume == nil {
  48486. m.FlexVolume = &FlexVolumeSource{}
  48487. }
  48488. if err := m.FlexVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48489. return err
  48490. }
  48491. iNdEx = postIndex
  48492. case 13:
  48493. if wireType != 2 {
  48494. return fmt.Errorf("proto: wrong wireType = %d for field Cinder", wireType)
  48495. }
  48496. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  48507. if b < 0x80 {
  48508. break
  48509. }
  48510. }
  48511. if msglen < 0 {
  48512. return ErrInvalidLengthGenerated
  48513. }
  48514. postIndex := iNdEx + msglen
  48515. if postIndex > l {
  48516. return io.ErrUnexpectedEOF
  48517. }
  48518. if m.Cinder == nil {
  48519. m.Cinder = &CinderVolumeSource{}
  48520. }
  48521. if err := m.Cinder.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48522. return err
  48523. }
  48524. iNdEx = postIndex
  48525. case 14:
  48526. if wireType != 2 {
  48527. return fmt.Errorf("proto: wrong wireType = %d for field CephFS", wireType)
  48528. }
  48529. var msglen int
  48530. for shift := uint(0); ; shift += 7 {
  48531. if shift >= 64 {
  48532. return ErrIntOverflowGenerated
  48533. }
  48534. if iNdEx >= l {
  48535. return io.ErrUnexpectedEOF
  48536. }
  48537. b := dAtA[iNdEx]
  48538. iNdEx++
  48539. msglen |= (int(b) & 0x7F) << shift
  48540. if b < 0x80 {
  48541. break
  48542. }
  48543. }
  48544. if msglen < 0 {
  48545. return ErrInvalidLengthGenerated
  48546. }
  48547. postIndex := iNdEx + msglen
  48548. if postIndex > l {
  48549. return io.ErrUnexpectedEOF
  48550. }
  48551. if m.CephFS == nil {
  48552. m.CephFS = &CephFSVolumeSource{}
  48553. }
  48554. if err := m.CephFS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48555. return err
  48556. }
  48557. iNdEx = postIndex
  48558. case 15:
  48559. if wireType != 2 {
  48560. return fmt.Errorf("proto: wrong wireType = %d for field Flocker", wireType)
  48561. }
  48562. var msglen int
  48563. for shift := uint(0); ; shift += 7 {
  48564. if shift >= 64 {
  48565. return ErrIntOverflowGenerated
  48566. }
  48567. if iNdEx >= l {
  48568. return io.ErrUnexpectedEOF
  48569. }
  48570. b := dAtA[iNdEx]
  48571. iNdEx++
  48572. msglen |= (int(b) & 0x7F) << shift
  48573. if b < 0x80 {
  48574. break
  48575. }
  48576. }
  48577. if msglen < 0 {
  48578. return ErrInvalidLengthGenerated
  48579. }
  48580. postIndex := iNdEx + msglen
  48581. if postIndex > l {
  48582. return io.ErrUnexpectedEOF
  48583. }
  48584. if m.Flocker == nil {
  48585. m.Flocker = &FlockerVolumeSource{}
  48586. }
  48587. if err := m.Flocker.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48588. return err
  48589. }
  48590. iNdEx = postIndex
  48591. case 16:
  48592. if wireType != 2 {
  48593. return fmt.Errorf("proto: wrong wireType = %d for field DownwardAPI", wireType)
  48594. }
  48595. var msglen int
  48596. for shift := uint(0); ; shift += 7 {
  48597. if shift >= 64 {
  48598. return ErrIntOverflowGenerated
  48599. }
  48600. if iNdEx >= l {
  48601. return io.ErrUnexpectedEOF
  48602. }
  48603. b := dAtA[iNdEx]
  48604. iNdEx++
  48605. msglen |= (int(b) & 0x7F) << shift
  48606. if b < 0x80 {
  48607. break
  48608. }
  48609. }
  48610. if msglen < 0 {
  48611. return ErrInvalidLengthGenerated
  48612. }
  48613. postIndex := iNdEx + msglen
  48614. if postIndex > l {
  48615. return io.ErrUnexpectedEOF
  48616. }
  48617. if m.DownwardAPI == nil {
  48618. m.DownwardAPI = &DownwardAPIVolumeSource{}
  48619. }
  48620. if err := m.DownwardAPI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48621. return err
  48622. }
  48623. iNdEx = postIndex
  48624. case 17:
  48625. if wireType != 2 {
  48626. return fmt.Errorf("proto: wrong wireType = %d for field FC", wireType)
  48627. }
  48628. var msglen int
  48629. for shift := uint(0); ; shift += 7 {
  48630. if shift >= 64 {
  48631. return ErrIntOverflowGenerated
  48632. }
  48633. if iNdEx >= l {
  48634. return io.ErrUnexpectedEOF
  48635. }
  48636. b := dAtA[iNdEx]
  48637. iNdEx++
  48638. msglen |= (int(b) & 0x7F) << shift
  48639. if b < 0x80 {
  48640. break
  48641. }
  48642. }
  48643. if msglen < 0 {
  48644. return ErrInvalidLengthGenerated
  48645. }
  48646. postIndex := iNdEx + msglen
  48647. if postIndex > l {
  48648. return io.ErrUnexpectedEOF
  48649. }
  48650. if m.FC == nil {
  48651. m.FC = &FCVolumeSource{}
  48652. }
  48653. if err := m.FC.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48654. return err
  48655. }
  48656. iNdEx = postIndex
  48657. case 18:
  48658. if wireType != 2 {
  48659. return fmt.Errorf("proto: wrong wireType = %d for field AzureFile", wireType)
  48660. }
  48661. var msglen int
  48662. for shift := uint(0); ; shift += 7 {
  48663. if shift >= 64 {
  48664. return ErrIntOverflowGenerated
  48665. }
  48666. if iNdEx >= l {
  48667. return io.ErrUnexpectedEOF
  48668. }
  48669. b := dAtA[iNdEx]
  48670. iNdEx++
  48671. msglen |= (int(b) & 0x7F) << shift
  48672. if b < 0x80 {
  48673. break
  48674. }
  48675. }
  48676. if msglen < 0 {
  48677. return ErrInvalidLengthGenerated
  48678. }
  48679. postIndex := iNdEx + msglen
  48680. if postIndex > l {
  48681. return io.ErrUnexpectedEOF
  48682. }
  48683. if m.AzureFile == nil {
  48684. m.AzureFile = &AzureFileVolumeSource{}
  48685. }
  48686. if err := m.AzureFile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48687. return err
  48688. }
  48689. iNdEx = postIndex
  48690. case 19:
  48691. if wireType != 2 {
  48692. return fmt.Errorf("proto: wrong wireType = %d for field ConfigMap", wireType)
  48693. }
  48694. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  48705. if b < 0x80 {
  48706. break
  48707. }
  48708. }
  48709. if msglen < 0 {
  48710. return ErrInvalidLengthGenerated
  48711. }
  48712. postIndex := iNdEx + msglen
  48713. if postIndex > l {
  48714. return io.ErrUnexpectedEOF
  48715. }
  48716. if m.ConfigMap == nil {
  48717. m.ConfigMap = &ConfigMapVolumeSource{}
  48718. }
  48719. if err := m.ConfigMap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48720. return err
  48721. }
  48722. iNdEx = postIndex
  48723. case 20:
  48724. if wireType != 2 {
  48725. return fmt.Errorf("proto: wrong wireType = %d for field VsphereVolume", wireType)
  48726. }
  48727. var msglen int
  48728. for shift := uint(0); ; shift += 7 {
  48729. if shift >= 64 {
  48730. return ErrIntOverflowGenerated
  48731. }
  48732. if iNdEx >= l {
  48733. return io.ErrUnexpectedEOF
  48734. }
  48735. b := dAtA[iNdEx]
  48736. iNdEx++
  48737. msglen |= (int(b) & 0x7F) << shift
  48738. if b < 0x80 {
  48739. break
  48740. }
  48741. }
  48742. if msglen < 0 {
  48743. return ErrInvalidLengthGenerated
  48744. }
  48745. postIndex := iNdEx + msglen
  48746. if postIndex > l {
  48747. return io.ErrUnexpectedEOF
  48748. }
  48749. if m.VsphereVolume == nil {
  48750. m.VsphereVolume = &VsphereVirtualDiskVolumeSource{}
  48751. }
  48752. if err := m.VsphereVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48753. return err
  48754. }
  48755. iNdEx = postIndex
  48756. case 21:
  48757. if wireType != 2 {
  48758. return fmt.Errorf("proto: wrong wireType = %d for field Quobyte", wireType)
  48759. }
  48760. var msglen int
  48761. for shift := uint(0); ; shift += 7 {
  48762. if shift >= 64 {
  48763. return ErrIntOverflowGenerated
  48764. }
  48765. if iNdEx >= l {
  48766. return io.ErrUnexpectedEOF
  48767. }
  48768. b := dAtA[iNdEx]
  48769. iNdEx++
  48770. msglen |= (int(b) & 0x7F) << shift
  48771. if b < 0x80 {
  48772. break
  48773. }
  48774. }
  48775. if msglen < 0 {
  48776. return ErrInvalidLengthGenerated
  48777. }
  48778. postIndex := iNdEx + msglen
  48779. if postIndex > l {
  48780. return io.ErrUnexpectedEOF
  48781. }
  48782. if m.Quobyte == nil {
  48783. m.Quobyte = &QuobyteVolumeSource{}
  48784. }
  48785. if err := m.Quobyte.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48786. return err
  48787. }
  48788. iNdEx = postIndex
  48789. case 22:
  48790. if wireType != 2 {
  48791. return fmt.Errorf("proto: wrong wireType = %d for field AzureDisk", wireType)
  48792. }
  48793. var msglen int
  48794. for shift := uint(0); ; shift += 7 {
  48795. if shift >= 64 {
  48796. return ErrIntOverflowGenerated
  48797. }
  48798. if iNdEx >= l {
  48799. return io.ErrUnexpectedEOF
  48800. }
  48801. b := dAtA[iNdEx]
  48802. iNdEx++
  48803. msglen |= (int(b) & 0x7F) << shift
  48804. if b < 0x80 {
  48805. break
  48806. }
  48807. }
  48808. if msglen < 0 {
  48809. return ErrInvalidLengthGenerated
  48810. }
  48811. postIndex := iNdEx + msglen
  48812. if postIndex > l {
  48813. return io.ErrUnexpectedEOF
  48814. }
  48815. if m.AzureDisk == nil {
  48816. m.AzureDisk = &AzureDiskVolumeSource{}
  48817. }
  48818. if err := m.AzureDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48819. return err
  48820. }
  48821. iNdEx = postIndex
  48822. case 23:
  48823. if wireType != 2 {
  48824. return fmt.Errorf("proto: wrong wireType = %d for field PhotonPersistentDisk", wireType)
  48825. }
  48826. var msglen int
  48827. for shift := uint(0); ; shift += 7 {
  48828. if shift >= 64 {
  48829. return ErrIntOverflowGenerated
  48830. }
  48831. if iNdEx >= l {
  48832. return io.ErrUnexpectedEOF
  48833. }
  48834. b := dAtA[iNdEx]
  48835. iNdEx++
  48836. msglen |= (int(b) & 0x7F) << shift
  48837. if b < 0x80 {
  48838. break
  48839. }
  48840. }
  48841. if msglen < 0 {
  48842. return ErrInvalidLengthGenerated
  48843. }
  48844. postIndex := iNdEx + msglen
  48845. if postIndex > l {
  48846. return io.ErrUnexpectedEOF
  48847. }
  48848. if m.PhotonPersistentDisk == nil {
  48849. m.PhotonPersistentDisk = &PhotonPersistentDiskVolumeSource{}
  48850. }
  48851. if err := m.PhotonPersistentDisk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48852. return err
  48853. }
  48854. iNdEx = postIndex
  48855. case 24:
  48856. if wireType != 2 {
  48857. return fmt.Errorf("proto: wrong wireType = %d for field PortworxVolume", wireType)
  48858. }
  48859. var msglen int
  48860. for shift := uint(0); ; shift += 7 {
  48861. if shift >= 64 {
  48862. return ErrIntOverflowGenerated
  48863. }
  48864. if iNdEx >= l {
  48865. return io.ErrUnexpectedEOF
  48866. }
  48867. b := dAtA[iNdEx]
  48868. iNdEx++
  48869. msglen |= (int(b) & 0x7F) << shift
  48870. if b < 0x80 {
  48871. break
  48872. }
  48873. }
  48874. if msglen < 0 {
  48875. return ErrInvalidLengthGenerated
  48876. }
  48877. postIndex := iNdEx + msglen
  48878. if postIndex > l {
  48879. return io.ErrUnexpectedEOF
  48880. }
  48881. if m.PortworxVolume == nil {
  48882. m.PortworxVolume = &PortworxVolumeSource{}
  48883. }
  48884. if err := m.PortworxVolume.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48885. return err
  48886. }
  48887. iNdEx = postIndex
  48888. case 25:
  48889. if wireType != 2 {
  48890. return fmt.Errorf("proto: wrong wireType = %d for field ScaleIO", wireType)
  48891. }
  48892. var msglen int
  48893. for shift := uint(0); ; shift += 7 {
  48894. if shift >= 64 {
  48895. return ErrIntOverflowGenerated
  48896. }
  48897. if iNdEx >= l {
  48898. return io.ErrUnexpectedEOF
  48899. }
  48900. b := dAtA[iNdEx]
  48901. iNdEx++
  48902. msglen |= (int(b) & 0x7F) << shift
  48903. if b < 0x80 {
  48904. break
  48905. }
  48906. }
  48907. if msglen < 0 {
  48908. return ErrInvalidLengthGenerated
  48909. }
  48910. postIndex := iNdEx + msglen
  48911. if postIndex > l {
  48912. return io.ErrUnexpectedEOF
  48913. }
  48914. if m.ScaleIO == nil {
  48915. m.ScaleIO = &ScaleIOVolumeSource{}
  48916. }
  48917. if err := m.ScaleIO.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48918. return err
  48919. }
  48920. iNdEx = postIndex
  48921. case 26:
  48922. if wireType != 2 {
  48923. return fmt.Errorf("proto: wrong wireType = %d for field Projected", wireType)
  48924. }
  48925. var msglen int
  48926. for shift := uint(0); ; shift += 7 {
  48927. if shift >= 64 {
  48928. return ErrIntOverflowGenerated
  48929. }
  48930. if iNdEx >= l {
  48931. return io.ErrUnexpectedEOF
  48932. }
  48933. b := dAtA[iNdEx]
  48934. iNdEx++
  48935. msglen |= (int(b) & 0x7F) << shift
  48936. if b < 0x80 {
  48937. break
  48938. }
  48939. }
  48940. if msglen < 0 {
  48941. return ErrInvalidLengthGenerated
  48942. }
  48943. postIndex := iNdEx + msglen
  48944. if postIndex > l {
  48945. return io.ErrUnexpectedEOF
  48946. }
  48947. if m.Projected == nil {
  48948. m.Projected = &ProjectedVolumeSource{}
  48949. }
  48950. if err := m.Projected.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48951. return err
  48952. }
  48953. iNdEx = postIndex
  48954. case 27:
  48955. if wireType != 2 {
  48956. return fmt.Errorf("proto: wrong wireType = %d for field StorageOS", wireType)
  48957. }
  48958. var msglen int
  48959. for shift := uint(0); ; shift += 7 {
  48960. if shift >= 64 {
  48961. return ErrIntOverflowGenerated
  48962. }
  48963. if iNdEx >= l {
  48964. return io.ErrUnexpectedEOF
  48965. }
  48966. b := dAtA[iNdEx]
  48967. iNdEx++
  48968. msglen |= (int(b) & 0x7F) << shift
  48969. if b < 0x80 {
  48970. break
  48971. }
  48972. }
  48973. if msglen < 0 {
  48974. return ErrInvalidLengthGenerated
  48975. }
  48976. postIndex := iNdEx + msglen
  48977. if postIndex > l {
  48978. return io.ErrUnexpectedEOF
  48979. }
  48980. if m.StorageOS == nil {
  48981. m.StorageOS = &StorageOSVolumeSource{}
  48982. }
  48983. if err := m.StorageOS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  48984. return err
  48985. }
  48986. iNdEx = postIndex
  48987. default:
  48988. iNdEx = preIndex
  48989. skippy, err := skipGenerated(dAtA[iNdEx:])
  48990. if err != nil {
  48991. return err
  48992. }
  48993. if skippy < 0 {
  48994. return ErrInvalidLengthGenerated
  48995. }
  48996. if (iNdEx + skippy) > l {
  48997. return io.ErrUnexpectedEOF
  48998. }
  48999. iNdEx += skippy
  49000. }
  49001. }
  49002. if iNdEx > l {
  49003. return io.ErrUnexpectedEOF
  49004. }
  49005. return nil
  49006. }
  49007. func (m *VsphereVirtualDiskVolumeSource) Unmarshal(dAtA []byte) error {
  49008. l := len(dAtA)
  49009. iNdEx := 0
  49010. for iNdEx < l {
  49011. preIndex := iNdEx
  49012. var wire uint64
  49013. for shift := uint(0); ; shift += 7 {
  49014. if shift >= 64 {
  49015. return ErrIntOverflowGenerated
  49016. }
  49017. if iNdEx >= l {
  49018. return io.ErrUnexpectedEOF
  49019. }
  49020. b := dAtA[iNdEx]
  49021. iNdEx++
  49022. wire |= (uint64(b) & 0x7F) << shift
  49023. if b < 0x80 {
  49024. break
  49025. }
  49026. }
  49027. fieldNum := int32(wire >> 3)
  49028. wireType := int(wire & 0x7)
  49029. if wireType == 4 {
  49030. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: wiretype end group for non-group")
  49031. }
  49032. if fieldNum <= 0 {
  49033. return fmt.Errorf("proto: VsphereVirtualDiskVolumeSource: illegal tag %d (wire type %d)", fieldNum, wire)
  49034. }
  49035. switch fieldNum {
  49036. case 1:
  49037. if wireType != 2 {
  49038. return fmt.Errorf("proto: wrong wireType = %d for field VolumePath", wireType)
  49039. }
  49040. var stringLen uint64
  49041. for shift := uint(0); ; shift += 7 {
  49042. if shift >= 64 {
  49043. return ErrIntOverflowGenerated
  49044. }
  49045. if iNdEx >= l {
  49046. return io.ErrUnexpectedEOF
  49047. }
  49048. b := dAtA[iNdEx]
  49049. iNdEx++
  49050. stringLen |= (uint64(b) & 0x7F) << shift
  49051. if b < 0x80 {
  49052. break
  49053. }
  49054. }
  49055. intStringLen := int(stringLen)
  49056. if intStringLen < 0 {
  49057. return ErrInvalidLengthGenerated
  49058. }
  49059. postIndex := iNdEx + intStringLen
  49060. if postIndex > l {
  49061. return io.ErrUnexpectedEOF
  49062. }
  49063. m.VolumePath = string(dAtA[iNdEx:postIndex])
  49064. iNdEx = postIndex
  49065. case 2:
  49066. if wireType != 2 {
  49067. return fmt.Errorf("proto: wrong wireType = %d for field FSType", wireType)
  49068. }
  49069. var stringLen uint64
  49070. for shift := uint(0); ; shift += 7 {
  49071. if shift >= 64 {
  49072. return ErrIntOverflowGenerated
  49073. }
  49074. if iNdEx >= l {
  49075. return io.ErrUnexpectedEOF
  49076. }
  49077. b := dAtA[iNdEx]
  49078. iNdEx++
  49079. stringLen |= (uint64(b) & 0x7F) << shift
  49080. if b < 0x80 {
  49081. break
  49082. }
  49083. }
  49084. intStringLen := int(stringLen)
  49085. if intStringLen < 0 {
  49086. return ErrInvalidLengthGenerated
  49087. }
  49088. postIndex := iNdEx + intStringLen
  49089. if postIndex > l {
  49090. return io.ErrUnexpectedEOF
  49091. }
  49092. m.FSType = string(dAtA[iNdEx:postIndex])
  49093. iNdEx = postIndex
  49094. case 3:
  49095. if wireType != 2 {
  49096. return fmt.Errorf("proto: wrong wireType = %d for field StoragePolicyName", wireType)
  49097. }
  49098. var stringLen uint64
  49099. for shift := uint(0); ; shift += 7 {
  49100. if shift >= 64 {
  49101. return ErrIntOverflowGenerated
  49102. }
  49103. if iNdEx >= l {
  49104. return io.ErrUnexpectedEOF
  49105. }
  49106. b := dAtA[iNdEx]
  49107. iNdEx++
  49108. stringLen |= (uint64(b) & 0x7F) << shift
  49109. if b < 0x80 {
  49110. break
  49111. }
  49112. }
  49113. intStringLen := int(stringLen)
  49114. if intStringLen < 0 {
  49115. return ErrInvalidLengthGenerated
  49116. }
  49117. postIndex := iNdEx + intStringLen
  49118. if postIndex > l {
  49119. return io.ErrUnexpectedEOF
  49120. }
  49121. m.StoragePolicyName = string(dAtA[iNdEx:postIndex])
  49122. iNdEx = postIndex
  49123. case 4:
  49124. if wireType != 2 {
  49125. return fmt.Errorf("proto: wrong wireType = %d for field StoragePolicyID", wireType)
  49126. }
  49127. var stringLen uint64
  49128. for shift := uint(0); ; shift += 7 {
  49129. if shift >= 64 {
  49130. return ErrIntOverflowGenerated
  49131. }
  49132. if iNdEx >= l {
  49133. return io.ErrUnexpectedEOF
  49134. }
  49135. b := dAtA[iNdEx]
  49136. iNdEx++
  49137. stringLen |= (uint64(b) & 0x7F) << shift
  49138. if b < 0x80 {
  49139. break
  49140. }
  49141. }
  49142. intStringLen := int(stringLen)
  49143. if intStringLen < 0 {
  49144. return ErrInvalidLengthGenerated
  49145. }
  49146. postIndex := iNdEx + intStringLen
  49147. if postIndex > l {
  49148. return io.ErrUnexpectedEOF
  49149. }
  49150. m.StoragePolicyID = string(dAtA[iNdEx:postIndex])
  49151. iNdEx = postIndex
  49152. default:
  49153. iNdEx = preIndex
  49154. skippy, err := skipGenerated(dAtA[iNdEx:])
  49155. if err != nil {
  49156. return err
  49157. }
  49158. if skippy < 0 {
  49159. return ErrInvalidLengthGenerated
  49160. }
  49161. if (iNdEx + skippy) > l {
  49162. return io.ErrUnexpectedEOF
  49163. }
  49164. iNdEx += skippy
  49165. }
  49166. }
  49167. if iNdEx > l {
  49168. return io.ErrUnexpectedEOF
  49169. }
  49170. return nil
  49171. }
  49172. func (m *WeightedPodAffinityTerm) Unmarshal(dAtA []byte) error {
  49173. l := len(dAtA)
  49174. iNdEx := 0
  49175. for iNdEx < l {
  49176. preIndex := iNdEx
  49177. var wire uint64
  49178. for shift := uint(0); ; shift += 7 {
  49179. if shift >= 64 {
  49180. return ErrIntOverflowGenerated
  49181. }
  49182. if iNdEx >= l {
  49183. return io.ErrUnexpectedEOF
  49184. }
  49185. b := dAtA[iNdEx]
  49186. iNdEx++
  49187. wire |= (uint64(b) & 0x7F) << shift
  49188. if b < 0x80 {
  49189. break
  49190. }
  49191. }
  49192. fieldNum := int32(wire >> 3)
  49193. wireType := int(wire & 0x7)
  49194. if wireType == 4 {
  49195. return fmt.Errorf("proto: WeightedPodAffinityTerm: wiretype end group for non-group")
  49196. }
  49197. if fieldNum <= 0 {
  49198. return fmt.Errorf("proto: WeightedPodAffinityTerm: illegal tag %d (wire type %d)", fieldNum, wire)
  49199. }
  49200. switch fieldNum {
  49201. case 1:
  49202. if wireType != 0 {
  49203. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  49204. }
  49205. m.Weight = 0
  49206. for shift := uint(0); ; shift += 7 {
  49207. if shift >= 64 {
  49208. return ErrIntOverflowGenerated
  49209. }
  49210. if iNdEx >= l {
  49211. return io.ErrUnexpectedEOF
  49212. }
  49213. b := dAtA[iNdEx]
  49214. iNdEx++
  49215. m.Weight |= (int32(b) & 0x7F) << shift
  49216. if b < 0x80 {
  49217. break
  49218. }
  49219. }
  49220. case 2:
  49221. if wireType != 2 {
  49222. return fmt.Errorf("proto: wrong wireType = %d for field PodAffinityTerm", wireType)
  49223. }
  49224. var msglen int
  49225. for shift := uint(0); ; shift += 7 {
  49226. if shift >= 64 {
  49227. return ErrIntOverflowGenerated
  49228. }
  49229. if iNdEx >= l {
  49230. return io.ErrUnexpectedEOF
  49231. }
  49232. b := dAtA[iNdEx]
  49233. iNdEx++
  49234. msglen |= (int(b) & 0x7F) << shift
  49235. if b < 0x80 {
  49236. break
  49237. }
  49238. }
  49239. if msglen < 0 {
  49240. return ErrInvalidLengthGenerated
  49241. }
  49242. postIndex := iNdEx + msglen
  49243. if postIndex > l {
  49244. return io.ErrUnexpectedEOF
  49245. }
  49246. if err := m.PodAffinityTerm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  49247. return err
  49248. }
  49249. iNdEx = postIndex
  49250. default:
  49251. iNdEx = preIndex
  49252. skippy, err := skipGenerated(dAtA[iNdEx:])
  49253. if err != nil {
  49254. return err
  49255. }
  49256. if skippy < 0 {
  49257. return ErrInvalidLengthGenerated
  49258. }
  49259. if (iNdEx + skippy) > l {
  49260. return io.ErrUnexpectedEOF
  49261. }
  49262. iNdEx += skippy
  49263. }
  49264. }
  49265. if iNdEx > l {
  49266. return io.ErrUnexpectedEOF
  49267. }
  49268. return nil
  49269. }
  49270. func skipGenerated(dAtA []byte) (n int, err error) {
  49271. l := len(dAtA)
  49272. iNdEx := 0
  49273. for iNdEx < l {
  49274. var wire uint64
  49275. for shift := uint(0); ; shift += 7 {
  49276. if shift >= 64 {
  49277. return 0, ErrIntOverflowGenerated
  49278. }
  49279. if iNdEx >= l {
  49280. return 0, io.ErrUnexpectedEOF
  49281. }
  49282. b := dAtA[iNdEx]
  49283. iNdEx++
  49284. wire |= (uint64(b) & 0x7F) << shift
  49285. if b < 0x80 {
  49286. break
  49287. }
  49288. }
  49289. wireType := int(wire & 0x7)
  49290. switch wireType {
  49291. case 0:
  49292. for shift := uint(0); ; shift += 7 {
  49293. if shift >= 64 {
  49294. return 0, ErrIntOverflowGenerated
  49295. }
  49296. if iNdEx >= l {
  49297. return 0, io.ErrUnexpectedEOF
  49298. }
  49299. iNdEx++
  49300. if dAtA[iNdEx-1] < 0x80 {
  49301. break
  49302. }
  49303. }
  49304. return iNdEx, nil
  49305. case 1:
  49306. iNdEx += 8
  49307. return iNdEx, nil
  49308. case 2:
  49309. var length int
  49310. for shift := uint(0); ; shift += 7 {
  49311. if shift >= 64 {
  49312. return 0, ErrIntOverflowGenerated
  49313. }
  49314. if iNdEx >= l {
  49315. return 0, io.ErrUnexpectedEOF
  49316. }
  49317. b := dAtA[iNdEx]
  49318. iNdEx++
  49319. length |= (int(b) & 0x7F) << shift
  49320. if b < 0x80 {
  49321. break
  49322. }
  49323. }
  49324. iNdEx += length
  49325. if length < 0 {
  49326. return 0, ErrInvalidLengthGenerated
  49327. }
  49328. return iNdEx, nil
  49329. case 3:
  49330. for {
  49331. var innerWire uint64
  49332. var start int = iNdEx
  49333. for shift := uint(0); ; shift += 7 {
  49334. if shift >= 64 {
  49335. return 0, ErrIntOverflowGenerated
  49336. }
  49337. if iNdEx >= l {
  49338. return 0, io.ErrUnexpectedEOF
  49339. }
  49340. b := dAtA[iNdEx]
  49341. iNdEx++
  49342. innerWire |= (uint64(b) & 0x7F) << shift
  49343. if b < 0x80 {
  49344. break
  49345. }
  49346. }
  49347. innerWireType := int(innerWire & 0x7)
  49348. if innerWireType == 4 {
  49349. break
  49350. }
  49351. next, err := skipGenerated(dAtA[start:])
  49352. if err != nil {
  49353. return 0, err
  49354. }
  49355. iNdEx = start + next
  49356. }
  49357. return iNdEx, nil
  49358. case 4:
  49359. return iNdEx, nil
  49360. case 5:
  49361. iNdEx += 4
  49362. return iNdEx, nil
  49363. default:
  49364. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  49365. }
  49366. }
  49367. panic("unreachable")
  49368. }
  49369. var (
  49370. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  49371. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  49372. )
  49373. func init() {
  49374. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto", fileDescriptorGenerated)
  49375. }
  49376. var fileDescriptorGenerated = []byte{
  49377. // 12666 bytes of a gzipped FileDescriptorProto
  49378. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x70, 0x24, 0x49,
  49379. 0x56, 0xd8, 0x55, 0xb7, 0xbe, 0xfa, 0xe9, 0x3b, 0x67, 0x66, 0x57, 0xa3, 0xdd, 0x9d, 0x9e, 0xad,
  49380. 0xbd, 0x9b, 0x9b, 0xfd, 0x92, 0x6e, 0x67, 0x77, 0x6f, 0x97, 0xdb, 0xbb, 0x05, 0x49, 0x2d, 0xcd,
  49381. 0xf4, 0xce, 0x48, 0xd3, 0x9b, 0xad, 0x99, 0xb9, 0x5b, 0x96, 0xf3, 0x95, 0xba, 0x53, 0xad, 0x5a,
  49382. 0x95, 0xaa, 0x7a, 0xab, 0xaa, 0x35, 0xa3, 0x0d, 0x88, 0xb0, 0x8f, 0x0f, 0x1b, 0xc3, 0x8f, 0x0b,
  49383. 0x43, 0xd8, 0x18, 0x08, 0x1c, 0x61, 0xe3, 0x80, 0x33, 0xb6, 0x23, 0x30, 0x18, 0xf0, 0x81, 0x6d,
  49384. 0x8c, 0xfd, 0x03, 0xfe, 0x60, 0xf0, 0x9f, 0x23, 0x82, 0xb0, 0x0c, 0x82, 0xb0, 0x83, 0x1f, 0x76,
  49385. 0x38, 0x4c, 0x84, 0x23, 0x90, 0xb1, 0x71, 0xe4, 0x67, 0x65, 0x56, 0x57, 0x75, 0xb7, 0x66, 0x35,
  49386. 0xda, 0x85, 0xb8, 0x7f, 0xdd, 0xf9, 0x5e, 0xbe, 0xcc, 0xca, 0x8f, 0x97, 0x2f, 0x5f, 0xbe, 0x0f,
  49387. 0x78, 0x63, 0xf7, 0xf5, 0x68, 0xc1, 0x0d, 0x16, 0x77, 0x3b, 0x5b, 0x24, 0xf4, 0x49, 0x4c, 0xa2,
  49388. 0xc5, 0x7d, 0xe2, 0x37, 0x83, 0x70, 0x51, 0x00, 0x9c, 0xb6, 0xbb, 0xd8, 0x08, 0x42, 0xb2, 0xb8,
  49389. 0xff, 0xd2, 0x62, 0x8b, 0xf8, 0x24, 0x74, 0x62, 0xd2, 0x5c, 0x68, 0x87, 0x41, 0x1c, 0x20, 0xc4,
  49390. 0x71, 0x16, 0x9c, 0xb6, 0xbb, 0x40, 0x71, 0x16, 0xf6, 0x5f, 0x9a, 0x7f, 0xb1, 0xe5, 0xc6, 0x3b,
  49391. 0x9d, 0xad, 0x85, 0x46, 0xb0, 0xb7, 0xd8, 0x0a, 0x5a, 0xc1, 0x22, 0x43, 0xdd, 0xea, 0x6c, 0xb3,
  49392. 0x7f, 0xec, 0x0f, 0xfb, 0xc5, 0x49, 0xcc, 0xaf, 0x27, 0xcd, 0x90, 0x07, 0x31, 0xf1, 0x23, 0x37,
  49393. 0xf0, 0xa3, 0x17, 0x9d, 0xb6, 0x1b, 0x91, 0x70, 0x9f, 0x84, 0x8b, 0xed, 0xdd, 0x16, 0x85, 0x45,
  49394. 0x26, 0xc2, 0xe2, 0xfe, 0x4b, 0x5b, 0x24, 0x76, 0xba, 0x7a, 0x34, 0xff, 0x4a, 0x42, 0x6e, 0xcf,
  49395. 0x69, 0xec, 0xb8, 0x3e, 0x09, 0x0f, 0x24, 0x8d, 0xc5, 0x90, 0x44, 0x41, 0x27, 0x6c, 0x90, 0x13,
  49396. 0xd5, 0x8a, 0x16, 0xf7, 0x48, 0xec, 0x64, 0x7c, 0xfd, 0xfc, 0x62, 0x5e, 0xad, 0xb0, 0xe3, 0xc7,
  49397. 0xee, 0x5e, 0x77, 0x33, 0x9f, 0xed, 0x57, 0x21, 0x6a, 0xec, 0x90, 0x3d, 0xa7, 0xab, 0xde, 0xcb,
  49398. 0x79, 0xf5, 0x3a, 0xb1, 0xeb, 0x2d, 0xba, 0x7e, 0x1c, 0xc5, 0x61, 0xba, 0x92, 0xfd, 0x4d, 0x0b,
  49399. 0x2e, 0x2f, 0xdd, 0xab, 0xaf, 0x7a, 0x4e, 0x14, 0xbb, 0x8d, 0x65, 0x2f, 0x68, 0xec, 0xd6, 0xe3,
  49400. 0x20, 0x24, 0x77, 0x03, 0xaf, 0xb3, 0x47, 0xea, 0x6c, 0x20, 0xd0, 0x0b, 0x30, 0xb6, 0xcf, 0xfe,
  49401. 0x57, 0x2b, 0x73, 0xd6, 0x65, 0xeb, 0x6a, 0x69, 0x79, 0xe6, 0x37, 0x0f, 0xcb, 0x9f, 0x38, 0x3a,
  49402. 0x2c, 0x8f, 0xdd, 0x15, 0xe5, 0x58, 0x61, 0xa0, 0x2b, 0x30, 0xb2, 0x1d, 0x6d, 0x1e, 0xb4, 0xc9,
  49403. 0x5c, 0x81, 0xe1, 0x4e, 0x09, 0xdc, 0x91, 0xb5, 0x3a, 0x2d, 0xc5, 0x02, 0x8a, 0x16, 0xa1, 0xd4,
  49404. 0x76, 0xc2, 0xd8, 0x8d, 0xdd, 0xc0, 0x9f, 0x2b, 0x5e, 0xb6, 0xae, 0x0e, 0x2f, 0xcf, 0x0a, 0xd4,
  49405. 0x52, 0x4d, 0x02, 0x70, 0x82, 0x43, 0xbb, 0x11, 0x12, 0xa7, 0x79, 0xdb, 0xf7, 0x0e, 0xe6, 0x86,
  49406. 0x2e, 0x5b, 0x57, 0xc7, 0x92, 0x6e, 0x60, 0x51, 0x8e, 0x15, 0x86, 0xfd, 0xe3, 0x05, 0x18, 0x5b,
  49407. 0xda, 0xde, 0x76, 0x7d, 0x37, 0x3e, 0x40, 0x77, 0x61, 0xc2, 0x0f, 0x9a, 0x44, 0xfe, 0x67, 0x5f,
  49408. 0x31, 0x7e, 0xed, 0xf2, 0x42, 0xf7, 0xca, 0x5c, 0xd8, 0xd0, 0xf0, 0x96, 0x67, 0x8e, 0x0e, 0xcb,
  49409. 0x13, 0x7a, 0x09, 0x36, 0xe8, 0x20, 0x0c, 0xe3, 0xed, 0xa0, 0xa9, 0xc8, 0x16, 0x18, 0xd9, 0x72,
  49410. 0x16, 0xd9, 0x5a, 0x82, 0xb6, 0x3c, 0x7d, 0x74, 0x58, 0x1e, 0xd7, 0x0a, 0xb0, 0x4e, 0x04, 0x6d,
  49411. 0xc1, 0x34, 0xfd, 0xeb, 0xc7, 0xae, 0xa2, 0x5b, 0x64, 0x74, 0x9f, 0xc9, 0xa3, 0xab, 0xa1, 0x2e,
  49412. 0x9f, 0x3b, 0x3a, 0x2c, 0x4f, 0xa7, 0x0a, 0x71, 0x9a, 0xa0, 0xfd, 0x01, 0x4c, 0x2d, 0xc5, 0xb1,
  49413. 0xd3, 0xd8, 0x21, 0x4d, 0x3e, 0x83, 0xe8, 0x15, 0x18, 0xf2, 0x9d, 0x3d, 0x22, 0xe6, 0xf7, 0xb2,
  49414. 0x18, 0xd8, 0xa1, 0x0d, 0x67, 0x8f, 0x1c, 0x1f, 0x96, 0x67, 0xee, 0xf8, 0xee, 0xfb, 0x1d, 0xb1,
  49415. 0x2a, 0x68, 0x19, 0x66, 0xd8, 0xe8, 0x1a, 0x40, 0x93, 0xec, 0xbb, 0x0d, 0x52, 0x73, 0xe2, 0x1d,
  49416. 0x31, 0xdf, 0x48, 0xd4, 0x85, 0x8a, 0x82, 0x60, 0x0d, 0xcb, 0x7e, 0x00, 0xa5, 0xa5, 0xfd, 0xc0,
  49417. 0x6d, 0xd6, 0x82, 0x66, 0x84, 0x76, 0x61, 0xba, 0x1d, 0x92, 0x6d, 0x12, 0xaa, 0xa2, 0x39, 0xeb,
  49418. 0x72, 0xf1, 0xea, 0xf8, 0xb5, 0xab, 0x99, 0x1f, 0x6b, 0xa2, 0xae, 0xfa, 0x71, 0x78, 0xb0, 0xfc,
  49419. 0xb8, 0x68, 0x6f, 0x3a, 0x05, 0xc5, 0x69, 0xca, 0xf6, 0x7f, 0x28, 0xc0, 0x85, 0xa5, 0x0f, 0x3a,
  49420. 0x21, 0xa9, 0xb8, 0xd1, 0x6e, 0x7a, 0x85, 0x37, 0xdd, 0x68, 0x77, 0x23, 0x19, 0x01, 0xb5, 0xb4,
  49421. 0x2a, 0xa2, 0x1c, 0x2b, 0x0c, 0xf4, 0x22, 0x8c, 0xd2, 0xdf, 0x77, 0x70, 0x55, 0x7c, 0xf2, 0x39,
  49422. 0x81, 0x3c, 0x5e, 0x71, 0x62, 0xa7, 0xc2, 0x41, 0x58, 0xe2, 0xa0, 0x75, 0x18, 0x6f, 0xb0, 0x0d,
  49423. 0xd9, 0x5a, 0x0f, 0x9a, 0x84, 0x4d, 0x66, 0x69, 0xf9, 0x79, 0x8a, 0xbe, 0x92, 0x14, 0x1f, 0x1f,
  49424. 0x96, 0xe7, 0x78, 0xdf, 0x04, 0x09, 0x0d, 0x86, 0xf5, 0xfa, 0xc8, 0x56, 0xfb, 0x6b, 0x88, 0x51,
  49425. 0x82, 0x8c, 0xbd, 0x75, 0x55, 0xdb, 0x2a, 0xc3, 0x6c, 0xab, 0x4c, 0x64, 0x6f, 0x13, 0xf4, 0x12,
  49426. 0x0c, 0xed, 0xba, 0x7e, 0x73, 0x6e, 0x84, 0xd1, 0x7a, 0x8a, 0xce, 0xf9, 0x4d, 0xd7, 0x6f, 0x1e,
  49427. 0x1f, 0x96, 0x67, 0x8d, 0xee, 0xd0, 0x42, 0xcc, 0x50, 0xed, 0x3f, 0xb5, 0xa0, 0xcc, 0x60, 0x6b,
  49428. 0xae, 0x47, 0x6a, 0x24, 0x8c, 0xdc, 0x28, 0x26, 0x7e, 0x6c, 0x0c, 0xe8, 0x35, 0x80, 0x88, 0x34,
  49429. 0x42, 0x12, 0x6b, 0x43, 0xaa, 0x16, 0x46, 0x5d, 0x41, 0xb0, 0x86, 0x45, 0x19, 0x42, 0xb4, 0xe3,
  49430. 0x84, 0x6c, 0x7d, 0x89, 0x81, 0x55, 0x0c, 0xa1, 0x2e, 0x01, 0x38, 0xc1, 0x31, 0x18, 0x42, 0xb1,
  49431. 0x1f, 0x43, 0x40, 0x5f, 0x80, 0xe9, 0xa4, 0xb1, 0xa8, 0xed, 0x34, 0xe4, 0x00, 0xb2, 0x2d, 0x53,
  49432. 0x37, 0x41, 0x38, 0x8d, 0x6b, 0xff, 0x13, 0x4b, 0x2c, 0x1e, 0xfa, 0xd5, 0x1f, 0xf3, 0x6f, 0xb5,
  49433. 0x7f, 0xc5, 0x82, 0xd1, 0x65, 0xd7, 0x6f, 0xba, 0x7e, 0x0b, 0x7d, 0x05, 0xc6, 0xe8, 0xd9, 0xd4,
  49434. 0x74, 0x62, 0x47, 0xf0, 0xbd, 0xcf, 0x68, 0x7b, 0x4b, 0x1d, 0x15, 0x0b, 0xed, 0xdd, 0x16, 0x2d,
  49435. 0x88, 0x16, 0x28, 0x36, 0xdd, 0x6d, 0xb7, 0xb7, 0xde, 0x23, 0x8d, 0x78, 0x9d, 0xc4, 0x4e, 0xf2,
  49436. 0x39, 0x49, 0x19, 0x56, 0x54, 0xd1, 0x4d, 0x18, 0x89, 0x9d, 0xb0, 0x45, 0x62, 0xc1, 0x00, 0x33,
  49437. 0x19, 0x15, 0xaf, 0x89, 0xe9, 0x8e, 0x24, 0x7e, 0x83, 0x24, 0xc7, 0xc2, 0x26, 0xab, 0x8a, 0x05,
  49438. 0x09, 0xfb, 0x6f, 0x8f, 0xc0, 0xc5, 0x95, 0x7a, 0x35, 0x67, 0x5d, 0x5d, 0x81, 0x91, 0x66, 0xe8,
  49439. 0xee, 0x93, 0x50, 0x8c, 0xb3, 0xa2, 0x52, 0x61, 0xa5, 0x58, 0x40, 0xd1, 0xeb, 0x30, 0xc1, 0x0f,
  49440. 0xa4, 0x1b, 0x8e, 0xdf, 0xf4, 0xe4, 0x10, 0x9f, 0x17, 0xd8, 0x13, 0x77, 0x35, 0x18, 0x36, 0x30,
  49441. 0x4f, 0xb8, 0xa8, 0xae, 0xa4, 0x36, 0x63, 0xde, 0x61, 0xf7, 0x83, 0x16, 0xcc, 0xf0, 0x66, 0x96,
  49442. 0xe2, 0x38, 0x74, 0xb7, 0x3a, 0x31, 0x89, 0xe6, 0x86, 0x19, 0xa7, 0x5b, 0xc9, 0x1a, 0xad, 0xdc,
  49443. 0x11, 0x58, 0xb8, 0x9b, 0xa2, 0xc2, 0x99, 0xe0, 0x9c, 0x68, 0x77, 0x26, 0x0d, 0xc6, 0x5d, 0xcd,
  49444. 0xa2, 0xef, 0xb5, 0x60, 0xbe, 0x11, 0xf8, 0x71, 0x18, 0x78, 0x1e, 0x09, 0x6b, 0x9d, 0x2d, 0xcf,
  49445. 0x8d, 0x76, 0xf8, 0x3a, 0xc5, 0x64, 0x9b, 0x71, 0x82, 0x9c, 0x39, 0x54, 0x48, 0x62, 0x0e, 0x2f,
  49446. 0x1d, 0x1d, 0x96, 0xe7, 0x57, 0x72, 0x49, 0xe1, 0x1e, 0xcd, 0xa0, 0x5d, 0x40, 0xf4, 0x28, 0xad,
  49447. 0xc7, 0x4e, 0x8b, 0x24, 0x8d, 0x8f, 0x0e, 0xde, 0xf8, 0x63, 0x47, 0x87, 0x65, 0xb4, 0xd1, 0x45,
  49448. 0x02, 0x67, 0x90, 0x45, 0xef, 0xc3, 0x79, 0x5a, 0xda, 0xf5, 0xad, 0x63, 0x83, 0x37, 0x37, 0x77,
  49449. 0x74, 0x58, 0x3e, 0xbf, 0x91, 0x41, 0x04, 0x67, 0x92, 0x9e, 0x5f, 0x81, 0x0b, 0x99, 0x53, 0x85,
  49450. 0x66, 0xa0, 0xb8, 0x4b, 0xb8, 0x08, 0x52, 0xc2, 0xf4, 0x27, 0x3a, 0x0f, 0xc3, 0xfb, 0x8e, 0xd7,
  49451. 0x11, 0xab, 0x14, 0xf3, 0x3f, 0x9f, 0x2b, 0xbc, 0x6e, 0xd9, 0x0d, 0x98, 0x58, 0x71, 0xda, 0xce,
  49452. 0x96, 0xeb, 0xb9, 0xb1, 0x4b, 0x22, 0xf4, 0x69, 0x28, 0x3a, 0xcd, 0x26, 0x3b, 0x22, 0x4b, 0xcb,
  49453. 0x17, 0x8e, 0x0e, 0xcb, 0xc5, 0xa5, 0x26, 0xe5, 0xd5, 0xa0, 0xb0, 0x0e, 0x30, 0xc5, 0x40, 0xcf,
  49454. 0xc1, 0x50, 0x33, 0x0c, 0xda, 0x73, 0x05, 0x86, 0x49, 0x87, 0x6a, 0xa8, 0x12, 0x06, 0xed, 0x14,
  49455. 0x2a, 0xc3, 0xb1, 0x7f, 0xbd, 0x00, 0x4f, 0xae, 0x90, 0xf6, 0xce, 0x5a, 0x3d, 0x67, 0xd3, 0x5d,
  49456. 0x85, 0xb1, 0xbd, 0xc0, 0x77, 0xe3, 0x20, 0x8c, 0x44, 0xd3, 0xec, 0x34, 0x59, 0x17, 0x65, 0x58,
  49457. 0x41, 0xd1, 0x65, 0x18, 0x6a, 0x27, 0x92, 0xc0, 0x84, 0x94, 0x22, 0x98, 0x0c, 0xc0, 0x20, 0x14,
  49458. 0xa3, 0x13, 0x91, 0x50, 0x9c, 0x82, 0x0a, 0xe3, 0x4e, 0x44, 0x42, 0xcc, 0x20, 0x09, 0x3b, 0xa5,
  49459. 0x8c, 0x56, 0x6c, 0xab, 0x14, 0x3b, 0xa5, 0x10, 0xac, 0x61, 0xa1, 0x1a, 0x94, 0x22, 0x35, 0xa9,
  49460. 0xc3, 0x83, 0x4f, 0xea, 0x24, 0xe3, 0xb7, 0x6a, 0x26, 0x13, 0x22, 0x06, 0x1b, 0x18, 0xe9, 0xcb,
  49461. 0x6f, 0x7f, 0xb5, 0x00, 0x88, 0x0f, 0xe1, 0x5f, 0xb2, 0x81, 0xbb, 0xd3, 0x3d, 0x70, 0x99, 0x92,
  49462. 0xd7, 0xad, 0xa0, 0xe1, 0x78, 0x69, 0x16, 0x7e, 0x5a, 0xa3, 0xf7, 0x63, 0x16, 0xa0, 0x15, 0xd7,
  49463. 0x6f, 0x92, 0xf0, 0x0c, 0xae, 0x1d, 0x27, 0x3b, 0x48, 0x6f, 0xc1, 0xd4, 0x8a, 0xe7, 0x12, 0x3f,
  49464. 0xae, 0xd6, 0x56, 0x02, 0x7f, 0xdb, 0x6d, 0xa1, 0xcf, 0xc1, 0x14, 0xbd, 0x85, 0x05, 0x9d, 0xb8,
  49465. 0x4e, 0x1a, 0x81, 0xcf, 0x04, 0x56, 0x7a, 0x77, 0x41, 0x47, 0x87, 0xe5, 0xa9, 0x4d, 0x03, 0x82,
  49466. 0x53, 0x98, 0xf6, 0xef, 0xd3, 0x0f, 0x0d, 0xf6, 0xda, 0x81, 0x4f, 0xfc, 0x78, 0x25, 0xf0, 0x9b,
  49467. 0xfc, 0x62, 0xf3, 0x39, 0x18, 0x8a, 0x69, 0xc7, 0xf9, 0x47, 0x5e, 0x91, 0x53, 0x4b, 0xbb, 0x7b,
  49468. 0x7c, 0x58, 0x7e, 0xac, 0xbb, 0x06, 0xfb, 0x20, 0x56, 0x07, 0x7d, 0x1b, 0x8c, 0x44, 0xb1, 0x13,
  49469. 0x77, 0x22, 0xf1, 0xd9, 0x4f, 0xcb, 0xcf, 0xae, 0xb3, 0xd2, 0xe3, 0xc3, 0xf2, 0xb4, 0xaa, 0xc6,
  49470. 0x8b, 0xb0, 0xa8, 0x80, 0x9e, 0x85, 0xd1, 0x3d, 0x12, 0x45, 0x4e, 0x4b, 0xca, 0xa4, 0xd3, 0xa2,
  49471. 0xee, 0xe8, 0x3a, 0x2f, 0xc6, 0x12, 0x8e, 0x9e, 0x81, 0x61, 0x12, 0x86, 0x41, 0x28, 0x56, 0xd5,
  49472. 0xa4, 0x40, 0x1c, 0x5e, 0xa5, 0x85, 0x98, 0xc3, 0xec, 0xff, 0x68, 0xc1, 0xb4, 0xea, 0x2b, 0x6f,
  49473. 0xeb, 0x0c, 0x84, 0x8f, 0x77, 0x00, 0x1a, 0xf2, 0x03, 0x23, 0xc6, 0xef, 0xc6, 0xaf, 0x5d, 0xc9,
  49474. 0x3c, 0x52, 0xbb, 0x86, 0x31, 0xa1, 0xac, 0x8a, 0x22, 0xac, 0x51, 0xb3, 0xff, 0xb5, 0x05, 0xe7,
  49475. 0x52, 0x5f, 0x74, 0xcb, 0x8d, 0x62, 0xf4, 0x6e, 0xd7, 0x57, 0x2d, 0x0c, 0xf6, 0x55, 0xb4, 0x36,
  49476. 0xfb, 0x26, 0xb5, 0xe6, 0x64, 0x89, 0xf6, 0x45, 0x37, 0x60, 0xd8, 0x8d, 0xc9, 0x9e, 0xfc, 0x98,
  49477. 0x67, 0x7a, 0x7e, 0x0c, 0xef, 0x55, 0x32, 0x23, 0x55, 0x5a, 0x13, 0x73, 0x02, 0xf6, 0x8f, 0x14,
  49478. 0xa1, 0xc4, 0x97, 0xed, 0xba, 0xd3, 0x3e, 0x83, 0xb9, 0xa8, 0xc2, 0x10, 0xa3, 0xce, 0x3b, 0xfe,
  49479. 0xe9, 0xec, 0x8e, 0x8b, 0xee, 0x2c, 0xd0, 0x9b, 0x05, 0x17, 0x5e, 0x14, 0x33, 0xa3, 0x45, 0x98,
  49480. 0x91, 0x40, 0x0e, 0xc0, 0x96, 0xeb, 0x3b, 0xe1, 0x01, 0x2d, 0x9b, 0x2b, 0x32, 0x82, 0x2f, 0xf6,
  49481. 0x26, 0xb8, 0xac, 0xf0, 0x39, 0x59, 0xd5, 0xd7, 0x04, 0x80, 0x35, 0xa2, 0xf3, 0xaf, 0x41, 0x49,
  49482. 0x21, 0x9f, 0xe4, 0x54, 0x9e, 0xff, 0x02, 0x4c, 0xa7, 0xda, 0xea, 0x57, 0x7d, 0x42, 0x3f, 0xd4,
  49483. 0xbf, 0xc1, 0xb8, 0x80, 0xe8, 0xf5, 0xaa, 0xbf, 0x2f, 0xd8, 0xdd, 0x07, 0x70, 0xde, 0xcb, 0xe0,
  49484. 0xb2, 0x62, 0xaa, 0x06, 0xe7, 0xca, 0x4f, 0x8a, 0xcf, 0x3e, 0x9f, 0x05, 0xc5, 0x99, 0x6d, 0xd0,
  49485. 0x83, 0x2a, 0x68, 0xd3, 0x35, 0xef, 0x78, 0xac, 0xbf, 0xe2, 0xbe, 0x78, 0x5b, 0x94, 0x61, 0x05,
  49486. 0xa5, 0x2c, 0xec, 0xbc, 0xea, 0xfc, 0x4d, 0x72, 0x50, 0x27, 0x1e, 0x69, 0xc4, 0x41, 0xf8, 0x91,
  49487. 0x76, 0xff, 0x29, 0x3e, 0xfa, 0x9c, 0x03, 0x8e, 0x0b, 0x02, 0xc5, 0x9b, 0xe4, 0x80, 0x4f, 0x85,
  49488. 0xfe, 0x75, 0xc5, 0x9e, 0x5f, 0xf7, 0xf3, 0x16, 0x4c, 0xaa, 0xaf, 0x3b, 0x83, 0xad, 0xbe, 0x6c,
  49489. 0x6e, 0xf5, 0xa7, 0x7a, 0x2e, 0xf0, 0x9c, 0x4d, 0xfe, 0x17, 0x8c, 0x49, 0x09, 0x9c, 0x5a, 0x18,
  49490. 0xd0, 0xa1, 0xa1, 0xa7, 0xca, 0x47, 0x39, 0x21, 0x83, 0x7c, 0xd7, 0x4d, 0x72, 0xb0, 0x19, 0x50,
  49491. 0x01, 0x27, 0xfb, 0xbb, 0x8c, 0x59, 0x1b, 0xea, 0x39, 0x6b, 0xbf, 0x58, 0x80, 0x0b, 0x6a, 0x04,
  49492. 0x0c, 0x11, 0xe2, 0x2f, 0xfb, 0x18, 0xbc, 0x04, 0xe3, 0x4d, 0xb2, 0xed, 0x74, 0xbc, 0x58, 0xa9,
  49493. 0x8e, 0x86, 0xb9, 0xfa, 0xb0, 0x92, 0x14, 0x63, 0x1d, 0xe7, 0x04, 0xc3, 0xf6, 0xd3, 0xe3, 0xec,
  49494. 0x74, 0x88, 0x1d, 0xba, 0x82, 0xa9, 0x7c, 0xa9, 0x29, 0x00, 0x27, 0x74, 0x05, 0xa0, 0x50, 0xf6,
  49495. 0x3d, 0x03, 0xc3, 0xee, 0x1e, 0x95, 0x16, 0x0a, 0xa6, 0x10, 0x50, 0xa5, 0x85, 0x98, 0xc3, 0xd0,
  49496. 0xa7, 0x60, 0xb4, 0x11, 0xec, 0xed, 0x39, 0x7e, 0x93, 0x31, 0xed, 0xd2, 0xf2, 0x38, 0x15, 0x28,
  49497. 0x56, 0x78, 0x11, 0x96, 0x30, 0xf4, 0x24, 0x0c, 0x39, 0x61, 0x2b, 0x9a, 0x1b, 0x62, 0x38, 0x63,
  49498. 0xb4, 0xa5, 0xa5, 0xb0, 0x15, 0x61, 0x56, 0x4a, 0x25, 0xd9, 0xfb, 0x41, 0xb8, 0xeb, 0xfa, 0xad,
  49499. 0x8a, 0x1b, 0x32, 0xb1, 0x54, 0x93, 0x64, 0xef, 0x29, 0x08, 0xd6, 0xb0, 0xd0, 0x1a, 0x0c, 0xb7,
  49500. 0x83, 0x30, 0x8e, 0xe6, 0x46, 0xd8, 0x70, 0x3f, 0x9d, 0xb3, 0x95, 0xf8, 0xd7, 0xd6, 0x82, 0x30,
  49501. 0x4e, 0x3e, 0x80, 0xfe, 0x8b, 0x30, 0xaf, 0x8e, 0xbe, 0x0d, 0x8a, 0xc4, 0xdf, 0x9f, 0x1b, 0x65,
  49502. 0x54, 0xe6, 0xb3, 0xa8, 0xac, 0xfa, 0xfb, 0x77, 0x9d, 0x30, 0xe1, 0x33, 0xab, 0xfe, 0x3e, 0xa6,
  49503. 0x75, 0xd0, 0x97, 0xa0, 0x24, 0x1f, 0x0f, 0x22, 0x71, 0xb5, 0xcc, 0x5c, 0x62, 0x58, 0x20, 0x61,
  49504. 0xf2, 0x7e, 0xc7, 0x0d, 0xc9, 0x1e, 0xf1, 0xe3, 0x28, 0x51, 0xff, 0x48, 0x68, 0x84, 0x13, 0x6a,
  49505. 0xe8, 0x4b, 0x52, 0x9f, 0xb1, 0x1e, 0x74, 0xfc, 0x38, 0x9a, 0x2b, 0xb1, 0xee, 0x65, 0x6a, 0x9a,
  49506. 0xef, 0x26, 0x78, 0x69, 0x85, 0x07, 0xaf, 0x8c, 0x0d, 0x52, 0x08, 0xc3, 0xa4, 0xe7, 0xee, 0x13,
  49507. 0x9f, 0x44, 0x51, 0x2d, 0x0c, 0xb6, 0xc8, 0x1c, 0xb0, 0x9e, 0x5f, 0xcc, 0x56, 0xc0, 0x06, 0x5b,
  49508. 0x64, 0x79, 0xf6, 0xe8, 0xb0, 0x3c, 0x79, 0x4b, 0xaf, 0x83, 0x4d, 0x12, 0xe8, 0x0e, 0x4c, 0x51,
  49509. 0x11, 0xda, 0x4d, 0x88, 0x8e, 0xf7, 0x23, 0xca, 0xe4, 0x67, 0x6c, 0x54, 0xc2, 0x29, 0x22, 0xe8,
  49510. 0x2d, 0x28, 0x79, 0xee, 0x36, 0x69, 0x1c, 0x34, 0x3c, 0x32, 0x37, 0xc1, 0x28, 0x66, 0x6e, 0xab,
  49511. 0x5b, 0x12, 0x89, 0x5f, 0x51, 0xd4, 0x5f, 0x9c, 0x54, 0x47, 0x77, 0xe1, 0xb1, 0x98, 0x84, 0x7b,
  49512. 0xae, 0xef, 0xd0, 0xed, 0x20, 0x24, 0x5e, 0xa6, 0xc6, 0x9e, 0x64, 0xeb, 0xed, 0x92, 0x18, 0xba,
  49513. 0xc7, 0x36, 0x33, 0xb1, 0x70, 0x4e, 0x6d, 0x74, 0x1b, 0xa6, 0xd9, 0x4e, 0xa8, 0x75, 0x3c, 0xaf,
  49514. 0x16, 0x78, 0x6e, 0xe3, 0x60, 0x6e, 0x8a, 0x11, 0xfc, 0x94, 0xd4, 0x53, 0x57, 0x4d, 0x30, 0xbd,
  49515. 0x93, 0x27, 0xff, 0x70, 0xba, 0x36, 0xda, 0x62, 0x7a, 0xcb, 0x4e, 0xe8, 0xc6, 0x07, 0x74, 0xfd,
  49516. 0x92, 0x07, 0xf1, 0xdc, 0x74, 0xcf, 0x1b, 0xae, 0x8e, 0xaa, 0x94, 0x9b, 0x7a, 0x21, 0x4e, 0x13,
  49517. 0xa4, 0x5b, 0x3b, 0x8a, 0x9b, 0xae, 0x3f, 0x37, 0xc3, 0x38, 0x86, 0xda, 0x19, 0x75, 0x5a, 0x88,
  49518. 0x39, 0x8c, 0xe9, 0x2c, 0xe9, 0x8f, 0xdb, 0x94, 0x83, 0xce, 0x32, 0xc4, 0x44, 0x67, 0x29, 0x01,
  49519. 0x38, 0xc1, 0xa1, 0xc7, 0x72, 0x1c, 0x1f, 0xcc, 0x21, 0x86, 0xaa, 0xb6, 0xcb, 0xe6, 0xe6, 0x97,
  49520. 0x30, 0x2d, 0x47, 0xb7, 0x60, 0x94, 0xf8, 0xfb, 0x6b, 0x61, 0xb0, 0x37, 0x77, 0x2e, 0x7f, 0xcf,
  49521. 0xae, 0x72, 0x14, 0xce, 0xd0, 0x93, 0x2b, 0x8a, 0x28, 0xc6, 0x92, 0x04, 0x7a, 0x00, 0x73, 0x19,
  49522. 0x33, 0xc2, 0x27, 0xe0, 0x3c, 0x9b, 0x80, 0xcf, 0x8b, 0xba, 0x73, 0x9b, 0x39, 0x78, 0xc7, 0x3d,
  49523. 0x60, 0x38, 0x97, 0x3a, 0xfa, 0x2e, 0x98, 0xe4, 0x1b, 0x8a, 0x3f, 0x78, 0x44, 0x73, 0x17, 0xd8,
  49524. 0xd7, 0x5c, 0xce, 0xdf, 0x9c, 0x1c, 0x71, 0xf9, 0x82, 0xe8, 0xd0, 0xa4, 0x5e, 0x1a, 0x61, 0x93,
  49525. 0x9a, 0xbd, 0x05, 0x53, 0x8a, 0x6f, 0xb1, 0xa5, 0x83, 0xca, 0x30, 0x4c, 0x19, 0xb2, 0xd4, 0x29,
  49526. 0x94, 0xe8, 0x4c, 0x31, 0x45, 0x35, 0xe6, 0xe5, 0x6c, 0xa6, 0xdc, 0x0f, 0xc8, 0xf2, 0x41, 0x4c,
  49527. 0xf8, 0xbd, 0xb0, 0xa8, 0xcd, 0x94, 0x04, 0xe0, 0x04, 0xc7, 0xfe, 0x7f, 0x5c, 0xee, 0x49, 0x98,
  49528. 0xe3, 0x00, 0xc7, 0xc1, 0x0b, 0x30, 0xb6, 0x13, 0x44, 0x31, 0xc5, 0x66, 0x6d, 0x0c, 0x27, 0x92,
  49529. 0xce, 0x0d, 0x51, 0x8e, 0x15, 0x06, 0x7a, 0x03, 0x26, 0x1b, 0x7a, 0x03, 0xe2, 0x2c, 0x53, 0x43,
  49530. 0x60, 0xb4, 0x8e, 0x4d, 0x5c, 0xf4, 0x3a, 0x8c, 0xb1, 0xe7, 0xca, 0x46, 0xe0, 0x89, 0x1b, 0xa8,
  49531. 0x3c, 0x90, 0xc7, 0x6a, 0xa2, 0xfc, 0x58, 0xfb, 0x8d, 0x15, 0x36, 0xba, 0x02, 0x23, 0xb4, 0x0b,
  49532. 0xd5, 0x9a, 0x38, 0x45, 0x94, 0x56, 0xe0, 0x06, 0x2b, 0xc5, 0x02, 0x6a, 0xff, 0x9d, 0x82, 0x36,
  49533. 0xca, 0xf4, 0x4e, 0x45, 0x50, 0x0d, 0x46, 0xef, 0x3b, 0x6e, 0xec, 0xfa, 0x2d, 0x21, 0x2e, 0x3c,
  49534. 0xdb, 0xf3, 0x48, 0x61, 0x95, 0xee, 0xf1, 0x0a, 0xfc, 0xd0, 0x13, 0x7f, 0xb0, 0x24, 0x43, 0x29,
  49535. 0x86, 0x1d, 0xdf, 0xa7, 0x14, 0x0b, 0x83, 0x52, 0xc4, 0xbc, 0x02, 0xa7, 0x28, 0xfe, 0x60, 0x49,
  49536. 0x06, 0xbd, 0x0b, 0x20, 0x97, 0x25, 0x69, 0x8a, 0x67, 0xc2, 0x17, 0xfa, 0x13, 0xdd, 0x54, 0x75,
  49537. 0x96, 0xa7, 0xe8, 0x91, 0x9a, 0xfc, 0xc7, 0x1a, 0x3d, 0x3b, 0x66, 0x62, 0x55, 0x77, 0x67, 0xd0,
  49538. 0x77, 0x52, 0x4e, 0xe0, 0x84, 0x31, 0x69, 0x2e, 0xc5, 0x62, 0x70, 0x9e, 0x1b, 0x4c, 0x2a, 0xde,
  49539. 0x74, 0xf7, 0x88, 0xce, 0x35, 0x04, 0x11, 0x9c, 0xd0, 0xb3, 0x7f, 0xb9, 0x08, 0x73, 0x79, 0xdd,
  49540. 0xa5, 0x8b, 0x8e, 0x3c, 0x70, 0xe3, 0x15, 0x2a, 0x0d, 0x59, 0xe6, 0xa2, 0x5b, 0x15, 0xe5, 0x58,
  49541. 0x61, 0xd0, 0xd9, 0x8f, 0xdc, 0x96, 0xbc, 0xd4, 0x0c, 0x27, 0xb3, 0x5f, 0x67, 0xa5, 0x58, 0x40,
  49542. 0x29, 0x5e, 0x48, 0x9c, 0x48, 0xbc, 0x43, 0x6b, 0xab, 0x04, 0xb3, 0x52, 0x2c, 0xa0, 0xba, 0xc6,
  49543. 0x64, 0xa8, 0x8f, 0xc6, 0xc4, 0x18, 0xa2, 0xe1, 0xd3, 0x1d, 0x22, 0xf4, 0x65, 0x80, 0x6d, 0xd7,
  49544. 0x77, 0xa3, 0x1d, 0x46, 0x7d, 0xe4, 0xc4, 0xd4, 0x95, 0x2c, 0xb5, 0xa6, 0xa8, 0x60, 0x8d, 0x22,
  49545. 0x7a, 0x15, 0xc6, 0xd5, 0x06, 0xac, 0x56, 0x98, 0x52, 0x5e, 0x7b, 0xe4, 0x4c, 0xb8, 0x51, 0x05,
  49546. 0xeb, 0x78, 0xf6, 0x7b, 0xe9, 0xf5, 0x22, 0x76, 0x80, 0x36, 0xbe, 0xd6, 0xa0, 0xe3, 0x5b, 0xe8,
  49547. 0x3d, 0xbe, 0xf6, 0x6f, 0x14, 0x61, 0xda, 0x68, 0xac, 0x13, 0x0d, 0xc0, 0xb3, 0xae, 0xd3, 0x73,
  49548. 0xce, 0x89, 0x89, 0xd8, 0x7f, 0x76, 0xff, 0xad, 0xa2, 0x9f, 0x85, 0x74, 0x07, 0xf0, 0xfa, 0xe8,
  49549. 0xcb, 0x50, 0xf2, 0x9c, 0x88, 0x69, 0x5f, 0x88, 0xd8, 0x77, 0x83, 0x10, 0x4b, 0xee, 0x11, 0x4e,
  49550. 0x14, 0x6b, 0x47, 0x0d, 0xa7, 0x9d, 0x90, 0xa4, 0x07, 0x32, 0x95, 0x7d, 0xa4, 0xa1, 0x83, 0xea,
  49551. 0x04, 0x15, 0x90, 0x0e, 0x30, 0x87, 0xa1, 0xd7, 0x61, 0x22, 0x24, 0x6c, 0x55, 0xac, 0x50, 0x51,
  49552. 0x8e, 0x2d, 0xb3, 0xe1, 0x44, 0xe6, 0xc3, 0x1a, 0x0c, 0x1b, 0x98, 0x89, 0x28, 0x3f, 0xd2, 0x43,
  49553. 0x94, 0x7f, 0x16, 0x46, 0xd9, 0x0f, 0xb5, 0x02, 0xd4, 0x6c, 0x54, 0x79, 0x31, 0x96, 0xf0, 0xf4,
  49554. 0x82, 0x19, 0x1b, 0x70, 0xc1, 0x3c, 0x07, 0x53, 0x15, 0x87, 0xec, 0x05, 0xfe, 0xaa, 0xdf, 0x6c,
  49555. 0x07, 0xae, 0x1f, 0xa3, 0x39, 0x18, 0x62, 0xa7, 0x03, 0xdf, 0xdb, 0x43, 0x94, 0x02, 0x1e, 0xa2,
  49556. 0x82, 0xb9, 0xfd, 0xbb, 0x05, 0x98, 0xac, 0x10, 0x8f, 0xc4, 0x84, 0x5f, 0x65, 0x22, 0xb4, 0x06,
  49557. 0xa8, 0x15, 0x3a, 0x0d, 0x52, 0x23, 0xa1, 0x1b, 0x34, 0x75, 0x6d, 0x6c, 0x91, 0x3f, 0x0e, 0x5d,
  49558. 0xef, 0x82, 0xe2, 0x8c, 0x1a, 0xe8, 0x1d, 0x98, 0x6c, 0x87, 0xc4, 0x50, 0x22, 0x5a, 0x79, 0xd2,
  49559. 0x48, 0x4d, 0x47, 0xe4, 0x82, 0xb0, 0x51, 0x84, 0x4d, 0x52, 0xe8, 0x3b, 0x60, 0x26, 0x08, 0xdb,
  49560. 0x3b, 0x8e, 0x5f, 0x21, 0x6d, 0xe2, 0x37, 0xa9, 0xa4, 0x2f, 0x54, 0x10, 0xe7, 0x8f, 0x0e, 0xcb,
  49561. 0x33, 0xb7, 0x53, 0x30, 0xdc, 0x85, 0x8d, 0xde, 0x81, 0xd9, 0x76, 0x18, 0xb4, 0x9d, 0x16, 0x5b,
  49562. 0x28, 0x42, 0xa0, 0xe1, 0xdc, 0xe7, 0x85, 0xa3, 0xc3, 0xf2, 0x6c, 0x2d, 0x0d, 0x3c, 0x3e, 0x2c,
  49563. 0x9f, 0x63, 0x03, 0x45, 0x4b, 0x12, 0x20, 0xee, 0x26, 0x63, 0xb7, 0xe0, 0x42, 0x25, 0xb8, 0xef,
  49564. 0xdf, 0x77, 0xc2, 0xe6, 0x52, 0xad, 0xaa, 0xe9, 0x0e, 0x36, 0xe4, 0xdd, 0x95, 0x1b, 0x63, 0x64,
  49565. 0x9e, 0x53, 0x5a, 0x4d, 0x2e, 0xbf, 0xac, 0xb9, 0x1e, 0xc9, 0xd1, 0x51, 0xfc, 0xbd, 0x82, 0xd1,
  49566. 0x52, 0x82, 0xaf, 0x1e, 0x3e, 0xac, 0xdc, 0x87, 0x8f, 0xb7, 0x61, 0x6c, 0xdb, 0x25, 0x5e, 0x13,
  49567. 0x93, 0x6d, 0x31, 0x33, 0x9f, 0xce, 0x7f, 0x5f, 0x5e, 0xa3, 0x98, 0x52, 0x27, 0xc5, 0x6f, 0xbe,
  49568. 0x6b, 0xa2, 0x32, 0x56, 0x64, 0xd0, 0x2e, 0xcc, 0xc8, 0xab, 0x95, 0x84, 0x8a, 0x4d, 0xfc, 0x6c,
  49569. 0xaf, 0xfb, 0x9a, 0x49, 0x9c, 0x4d, 0x20, 0x4e, 0x91, 0xc1, 0x5d, 0x84, 0xe9, 0x55, 0x77, 0x8f,
  49570. 0x1e, 0x57, 0x43, 0x6c, 0x49, 0xb3, 0xab, 0x2e, 0xbb, 0xb5, 0xb3, 0x52, 0xfb, 0x27, 0x2d, 0x78,
  49571. 0xbc, 0x6b, 0x64, 0x84, 0xf6, 0xe2, 0x94, 0x67, 0x21, 0xad, 0x4d, 0x28, 0xf4, 0xd7, 0x26, 0xd8,
  49572. 0xff, 0xd4, 0x82, 0xf3, 0xab, 0x7b, 0xed, 0xf8, 0xa0, 0xe2, 0x9a, 0x8f, 0x33, 0xaf, 0xc1, 0xc8,
  49573. 0x1e, 0x69, 0xba, 0x9d, 0x3d, 0x31, 0x73, 0x65, 0xc9, 0xd2, 0xd7, 0x59, 0xe9, 0xf1, 0x61, 0x79,
  49574. 0xb2, 0x1e, 0x07, 0xa1, 0xd3, 0x22, 0xbc, 0x00, 0x0b, 0x74, 0x76, 0x30, 0xba, 0x1f, 0x90, 0x5b,
  49575. 0xee, 0x9e, 0x2b, 0xed, 0x05, 0x7a, 0x6a, 0xd4, 0x16, 0xe4, 0x80, 0x2e, 0xbc, 0xdd, 0x71, 0xfc,
  49576. 0xd8, 0x8d, 0x0f, 0xc4, 0xbb, 0x93, 0x24, 0x82, 0x13, 0x7a, 0xf6, 0x37, 0x2d, 0x98, 0x96, 0xbc,
  49577. 0x64, 0xa9, 0xd9, 0x0c, 0x49, 0x14, 0xa1, 0x79, 0x28, 0xb8, 0x6d, 0xd1, 0x4b, 0x10, 0xbd, 0x2c,
  49578. 0x54, 0x6b, 0xb8, 0xe0, 0xb6, 0x51, 0x0d, 0x4a, 0xdc, 0xec, 0x20, 0x59, 0x5c, 0x03, 0x19, 0x2f,
  49579. 0xb0, 0x1e, 0x6c, 0xca, 0x9a, 0x38, 0x21, 0x22, 0xa5, 0x62, 0x76, 0x0e, 0x15, 0xcd, 0x47, 0xab,
  49580. 0x1b, 0xa2, 0x1c, 0x2b, 0x0c, 0x74, 0x15, 0xc6, 0xfc, 0xa0, 0xc9, 0xad, 0x40, 0xf8, 0x9e, 0x66,
  49581. 0x4b, 0x76, 0x43, 0x94, 0x61, 0x05, 0xb5, 0x7f, 0xd8, 0x82, 0x09, 0xf9, 0x65, 0x03, 0x0a, 0xe8,
  49582. 0x74, 0x6b, 0x25, 0xc2, 0x79, 0xb2, 0xb5, 0xa8, 0x80, 0xcd, 0x20, 0x86, 0x5c, 0x5d, 0x3c, 0x89,
  49583. 0x5c, 0x6d, 0xff, 0x44, 0x01, 0xa6, 0x64, 0x77, 0xea, 0x9d, 0xad, 0x88, 0xc4, 0x68, 0x13, 0x4a,
  49584. 0x0e, 0x1f, 0x72, 0x22, 0x57, 0xec, 0x33, 0xd9, 0x17, 0x3a, 0x63, 0x7e, 0x12, 0x51, 0x67, 0x49,
  49585. 0xd6, 0xc6, 0x09, 0x21, 0xe4, 0xc1, 0xac, 0x1f, 0xc4, 0xec, 0xd8, 0x53, 0xf0, 0x5e, 0x0f, 0x23,
  49586. 0x69, 0xea, 0x17, 0x05, 0xf5, 0xd9, 0x8d, 0x34, 0x15, 0xdc, 0x4d, 0x18, 0xad, 0x4a, 0x25, 0x52,
  49587. 0x31, 0xff, 0x0a, 0xa7, 0xcf, 0x42, 0xb6, 0x0e, 0xc9, 0xfe, 0x35, 0x0b, 0x4a, 0x12, 0xed, 0x2c,
  49588. 0xde, 0xc0, 0xd6, 0x61, 0x34, 0x62, 0x93, 0x20, 0x87, 0xc6, 0xee, 0xd5, 0x71, 0x3e, 0x5f, 0xc9,
  49589. 0x69, 0xce, 0xff, 0x47, 0x58, 0xd2, 0x60, 0x5a, 0x70, 0xd5, 0xfd, 0x8f, 0x89, 0x16, 0x5c, 0xf5,
  49590. 0x27, 0xe7, 0x84, 0xf9, 0x6f, 0xac, 0xcf, 0x9a, 0xaa, 0x80, 0x0a, 0x9d, 0xed, 0x90, 0x6c, 0xbb,
  49591. 0x0f, 0xd2, 0x42, 0x67, 0x8d, 0x95, 0x62, 0x01, 0x45, 0xef, 0xc2, 0x44, 0x43, 0x2a, 0x8f, 0x13,
  49592. 0x36, 0x70, 0xa5, 0xa7, 0x2a, 0x5e, 0xbd, 0xda, 0x70, 0x0b, 0xd1, 0x15, 0xad, 0x3e, 0x36, 0xa8,
  49593. 0x99, 0x96, 0x09, 0xc5, 0x7e, 0x96, 0x09, 0x09, 0xdd, 0xdc, 0xb7, 0x75, 0xfb, 0xa7, 0x2c, 0x18,
  49594. 0xe1, 0x2a, 0xc8, 0xc1, 0x74, 0xb6, 0xda, 0x23, 0x56, 0x32, 0x76, 0x77, 0x69, 0xa1, 0x78, 0x94,
  49595. 0x42, 0xeb, 0x50, 0x62, 0x3f, 0x98, 0x2a, 0xa6, 0x98, 0x6f, 0x1a, 0xcb, 0x5b, 0xd5, 0x3b, 0x78,
  49596. 0x57, 0x56, 0xc3, 0x09, 0x05, 0xfb, 0x47, 0x8b, 0x94, 0x55, 0x25, 0xa8, 0xc6, 0x09, 0x6e, 0x3d,
  49597. 0xba, 0x13, 0xbc, 0xf0, 0xa8, 0x4e, 0xf0, 0x16, 0x4c, 0x37, 0xb4, 0x27, 0xaf, 0x64, 0x26, 0xaf,
  49598. 0xf6, 0x5c, 0x24, 0xda, 0xeb, 0x18, 0x57, 0xc3, 0xad, 0x98, 0x44, 0x70, 0x9a, 0x2a, 0xfa, 0x4e,
  49599. 0x98, 0xe0, 0xf3, 0x2c, 0x5a, 0x19, 0x62, 0xad, 0x7c, 0x2a, 0x7f, 0xbd, 0xe8, 0x4d, 0xb0, 0x95,
  49600. 0x58, 0xd7, 0xaa, 0x63, 0x83, 0x98, 0xfd, 0xcb, 0x63, 0x30, 0xbc, 0xba, 0x4f, 0xfc, 0xf8, 0x0c,
  49601. 0x18, 0x52, 0x03, 0xa6, 0x5c, 0x7f, 0x3f, 0xf0, 0xf6, 0x49, 0x93, 0xc3, 0x4f, 0x72, 0xb8, 0x3e,
  49602. 0x26, 0x48, 0x4f, 0x55, 0x0d, 0x12, 0x38, 0x45, 0xf2, 0x51, 0xdc, 0xda, 0xaf, 0xc3, 0x08, 0x9f,
  49603. 0x7b, 0x71, 0x65, 0xcf, 0x54, 0xb0, 0xb3, 0x41, 0x14, 0xbb, 0x20, 0xd1, 0x28, 0x70, 0x8d, 0xbe,
  49604. 0xa8, 0x8e, 0xde, 0x83, 0xa9, 0x6d, 0x37, 0x8c, 0x62, 0x7a, 0xdd, 0x8e, 0x62, 0x67, 0xaf, 0xfd,
  49605. 0x10, 0xb7, 0x74, 0x35, 0x0e, 0x6b, 0x06, 0x25, 0x9c, 0xa2, 0x8c, 0x5a, 0x30, 0x49, 0x2f, 0x8e,
  49606. 0x49, 0x53, 0xa3, 0x27, 0x6e, 0x4a, 0xa9, 0xe1, 0x6e, 0xe9, 0x84, 0xb0, 0x49, 0x97, 0x32, 0x93,
  49607. 0x06, 0xbb, 0x68, 0x8e, 0x31, 0x89, 0x42, 0x31, 0x13, 0x7e, 0xc3, 0xe4, 0x30, 0xca, 0x93, 0x98,
  49608. 0x31, 0x4b, 0xc9, 0xe4, 0x49, 0x9a, 0xc9, 0xca, 0x57, 0xa0, 0x44, 0xe8, 0x10, 0x52, 0xc2, 0xe2,
  49609. 0xb1, 0x61, 0x71, 0xb0, 0xbe, 0xae, 0xbb, 0x8d, 0x30, 0x30, 0xf5, 0x23, 0xab, 0x92, 0x12, 0x4e,
  49610. 0x88, 0xa2, 0x15, 0x18, 0x89, 0x48, 0xe8, 0x92, 0x48, 0x3c, 0x3b, 0xf4, 0x98, 0x46, 0x86, 0xc6,
  49611. 0x6d, 0xa8, 0xf9, 0x6f, 0x2c, 0xaa, 0xd2, 0xe5, 0xe5, 0xb0, 0xdb, 0x10, 0x7b, 0x69, 0xd0, 0x96,
  49612. 0xd7, 0x12, 0x2b, 0xc5, 0x02, 0x8a, 0xde, 0x82, 0xd1, 0x90, 0x78, 0x4c, 0x01, 0x37, 0x39, 0xf8,
  49613. 0x22, 0xe7, 0xfa, 0x3c, 0x5e, 0x0f, 0x4b, 0x02, 0xe8, 0x26, 0xa0, 0x90, 0x50, 0x19, 0xc2, 0xf5,
  49614. 0x5b, 0xca, 0xc4, 0x43, 0xbc, 0x1f, 0x3c, 0x21, 0xda, 0x3f, 0x87, 0x13, 0x0c, 0x69, 0x5d, 0x89,
  49615. 0x33, 0xaa, 0xa1, 0xeb, 0x30, 0xab, 0x4a, 0xab, 0x7e, 0x14, 0x3b, 0x7e, 0x83, 0xb0, 0xa7, 0x83,
  49616. 0x52, 0x22, 0x15, 0xe1, 0x34, 0x02, 0xee, 0xae, 0x63, 0x7f, 0x9d, 0x8a, 0x33, 0x74, 0xb4, 0xce,
  49617. 0x40, 0x16, 0x78, 0xd3, 0x94, 0x05, 0x2e, 0xe6, 0xce, 0x5c, 0x8e, 0x1c, 0x70, 0x64, 0xc1, 0xb8,
  49618. 0x36, 0xb3, 0xc9, 0x9a, 0xb5, 0x7a, 0xac, 0xd9, 0x0e, 0xcc, 0xd0, 0x95, 0x7e, 0x7b, 0x8b, 0xb9,
  49619. 0x13, 0x35, 0xd9, 0xc2, 0x2c, 0x3c, 0xdc, 0xc2, 0x54, 0x86, 0xb8, 0xb7, 0x52, 0x04, 0x71, 0x57,
  49620. 0x13, 0xe8, 0x35, 0xa9, 0x8d, 0x2a, 0x1a, 0xa6, 0x5b, 0x5c, 0xd3, 0x74, 0x7c, 0x58, 0x9e, 0xd1,
  49621. 0x3e, 0x44, 0xd7, 0x3e, 0xd9, 0x5f, 0x91, 0xdf, 0xc8, 0x99, 0xcd, 0x22, 0x94, 0x1a, 0x6a, 0xb1,
  49622. 0x58, 0xa6, 0x31, 0xb9, 0x5a, 0x0e, 0x38, 0xc1, 0xa1, 0x7b, 0x94, 0x5e, 0x41, 0xd2, 0xd6, 0x86,
  49623. 0xf4, 0x82, 0x82, 0x19, 0xc4, 0x7e, 0x19, 0x60, 0xf5, 0x01, 0x69, 0xf0, 0xa5, 0xae, 0x3f, 0xea,
  49624. 0x5a, 0xf9, 0x8f, 0xba, 0xf6, 0x7f, 0xb2, 0x60, 0x6a, 0x6d, 0xc5, 0xb8, 0x26, 0x2e, 0x00, 0xf0,
  49625. 0xbb, 0xd1, 0xbd, 0x7b, 0x1b, 0xf2, 0xbd, 0x82, 0xab, 0x9c, 0x55, 0x29, 0xd6, 0x30, 0xd0, 0x45,
  49626. 0x28, 0x7a, 0x1d, 0x5f, 0x5c, 0x59, 0x46, 0x8f, 0x0e, 0xcb, 0xc5, 0x5b, 0x1d, 0x1f, 0xd3, 0x32,
  49627. 0xcd, 0xc0, 0xaf, 0x38, 0xb0, 0x81, 0x5f, 0x5f, 0x37, 0x21, 0x54, 0x86, 0xe1, 0xfb, 0xf7, 0xdd,
  49628. 0x26, 0x37, 0xc6, 0x16, 0x6f, 0x29, 0xf7, 0xee, 0x55, 0x2b, 0x11, 0xe6, 0xe5, 0xf6, 0xd7, 0x8a,
  49629. 0x30, 0xbf, 0xe6, 0x91, 0x07, 0x1f, 0xd2, 0x20, 0x7d, 0x50, 0xf3, 0xc4, 0x93, 0xc9, 0x8b, 0x27,
  49630. 0xb5, 0xc5, 0xec, 0x3f, 0x1e, 0xdb, 0x30, 0xca, 0x0d, 0x04, 0xa4, 0x79, 0xfa, 0x1b, 0x59, 0xad,
  49631. 0xe7, 0x0f, 0xc8, 0x82, 0xd0, 0xce, 0x71, 0x13, 0x2c, 0x75, 0xd2, 0x8a, 0x52, 0x2c, 0x89, 0xcf,
  49632. 0x7f, 0x0e, 0x26, 0x74, 0xcc, 0x13, 0x59, 0x45, 0xff, 0x8d, 0x22, 0xcc, 0xd0, 0x1e, 0x3c, 0xd2,
  49633. 0x89, 0xb8, 0xd3, 0x3d, 0x11, 0xa7, 0x6d, 0x19, 0xdb, 0x7f, 0x36, 0xde, 0x4d, 0xcf, 0xc6, 0x4b,
  49634. 0x79, 0xb3, 0x71, 0xd6, 0x73, 0xf0, 0xbd, 0x16, 0x9c, 0x5b, 0xf3, 0x82, 0xc6, 0x6e, 0xca, 0x68,
  49635. 0xf7, 0x55, 0x18, 0xa7, 0x7c, 0x3c, 0x32, 0xbc, 0x61, 0x0c, 0xff, 0x28, 0x01, 0xc2, 0x3a, 0x9e,
  49636. 0x56, 0xed, 0xce, 0x9d, 0x6a, 0x25, 0xcb, 0xad, 0x4a, 0x80, 0xb0, 0x8e, 0x67, 0xff, 0xb6, 0x05,
  49637. 0x4f, 0x5d, 0x5f, 0x59, 0x4d, 0x96, 0x62, 0x97, 0x67, 0x17, 0xbd, 0x05, 0x36, 0xb5, 0xae, 0x24,
  49638. 0xb7, 0xc0, 0x0a, 0xeb, 0x85, 0x80, 0x7e, 0x5c, 0xbc, 0x16, 0x7f, 0xd6, 0x82, 0x73, 0xd7, 0xdd,
  49639. 0x98, 0x1e, 0xcb, 0x69, 0x1f, 0x23, 0x7a, 0x2e, 0x47, 0x6e, 0x1c, 0x84, 0x07, 0x69, 0x1f, 0x23,
  49640. 0xac, 0x20, 0x58, 0xc3, 0xe2, 0x2d, 0xef, 0xbb, 0x11, 0xed, 0x69, 0xc1, 0x54, 0x45, 0x61, 0x51,
  49641. 0x8e, 0x15, 0x06, 0xfd, 0xb0, 0xa6, 0x1b, 0xb2, 0xab, 0xc4, 0x81, 0xe0, 0xb0, 0xea, 0xc3, 0x2a,
  49642. 0x12, 0x80, 0x13, 0x1c, 0xfb, 0x27, 0x2d, 0xb8, 0x70, 0xdd, 0xeb, 0x44, 0x31, 0x09, 0xb7, 0x23,
  49643. 0xa3, 0xb3, 0x2f, 0x43, 0x89, 0xc8, 0xeb, 0xba, 0xe8, 0xab, 0x12, 0x30, 0xd5, 0x3d, 0x9e, 0x3b,
  49644. 0x38, 0x29, 0xbc, 0x01, 0x2c, 0xe0, 0x4f, 0x66, 0xb9, 0xfd, 0x0b, 0x05, 0x98, 0xbc, 0xb1, 0xb9,
  49645. 0x59, 0xbb, 0x4e, 0x62, 0x71, 0x8a, 0xf5, 0x57, 0x35, 0x63, 0x4d, 0x63, 0xd6, 0xeb, 0x52, 0xd4,
  49646. 0x89, 0x5d, 0x6f, 0x81, 0x7b, 0xd4, 0x2e, 0x54, 0xfd, 0xf8, 0x76, 0x58, 0x8f, 0x43, 0xd7, 0x6f,
  49647. 0x65, 0xea, 0xd8, 0xe4, 0x59, 0x5b, 0xcc, 0x3b, 0x6b, 0xd1, 0xcb, 0x30, 0xc2, 0x5c, 0x7a, 0xe5,
  49648. 0xf5, 0xe4, 0x09, 0x75, 0xa7, 0x60, 0xa5, 0xc7, 0x87, 0xe5, 0xd2, 0x1d, 0x5c, 0xe5, 0x7f, 0xb0,
  49649. 0x40, 0x45, 0x77, 0x60, 0x7c, 0x27, 0x8e, 0xdb, 0x37, 0x88, 0xd3, 0x24, 0xa1, 0xe4, 0x0e, 0x97,
  49650. 0xb2, 0xb8, 0x03, 0x1d, 0x04, 0x8e, 0x96, 0x6c, 0xa8, 0xa4, 0x2c, 0xc2, 0x3a, 0x1d, 0xbb, 0x0e,
  49651. 0x90, 0xc0, 0x4e, 0x49, 0xbf, 0x60, 0xff, 0x91, 0x05, 0xa3, 0xdc, 0xbb, 0x2a, 0x44, 0x9f, 0x87,
  49652. 0x21, 0xf2, 0x80, 0x34, 0x84, 0xe4, 0x98, 0xd9, 0xe1, 0x44, 0xf0, 0xe0, 0xda, 0x72, 0xfa, 0x1f,
  49653. 0xb3, 0x5a, 0xe8, 0x06, 0x8c, 0xd2, 0xde, 0x5e, 0x57, 0xae, 0x66, 0x4f, 0xe7, 0x7d, 0xb1, 0x9a,
  49654. 0x76, 0x2e, 0xab, 0x88, 0x22, 0x2c, 0xab, 0x33, 0xcd, 0x6f, 0xa3, 0x5d, 0xa7, 0x0c, 0x2c, 0xee,
  49655. 0x75, 0xce, 0x6e, 0xae, 0xd4, 0x38, 0x92, 0xa0, 0xc6, 0x35, 0xbf, 0xb2, 0x10, 0x27, 0x44, 0xec,
  49656. 0x4d, 0x28, 0xd1, 0x49, 0x5d, 0xf2, 0x5c, 0xa7, 0xb7, 0xd2, 0xf9, 0x79, 0x28, 0x49, 0x05, 0x70,
  49657. 0x24, 0x1c, 0x74, 0x18, 0x55, 0xa9, 0x1f, 0x8e, 0x70, 0x02, 0xb7, 0xb7, 0xe1, 0x3c, 0xb3, 0xa6,
  49658. 0x70, 0xe2, 0x1d, 0x63, 0x8f, 0xf5, 0x5f, 0xcc, 0x2f, 0x88, 0x8b, 0x18, 0x9f, 0x99, 0x39, 0xcd,
  49659. 0xa3, 0x60, 0x42, 0x52, 0x4c, 0x2e, 0x65, 0xf6, 0x9f, 0x0c, 0xc1, 0x13, 0xd5, 0x7a, 0xbe, 0xe3,
  49660. 0xdd, 0xeb, 0x30, 0xc1, 0xc5, 0x34, 0xba, 0xb4, 0x1d, 0x4f, 0xb4, 0xab, 0xde, 0x1a, 0x37, 0x35,
  49661. 0x18, 0x36, 0x30, 0xd1, 0x53, 0x50, 0x74, 0xdf, 0xf7, 0xd3, 0xc6, 0xb9, 0xd5, 0xb7, 0x37, 0x30,
  49662. 0x2d, 0xa7, 0x60, 0x2a, 0xf1, 0x71, 0x56, 0xaa, 0xc0, 0x4a, 0xea, 0x7b, 0x13, 0xa6, 0xdc, 0xa8,
  49663. 0x11, 0xb9, 0x55, 0x9f, 0xf2, 0x99, 0xc4, 0x69, 0x33, 0x51, 0x12, 0xd0, 0x4e, 0x2b, 0x28, 0x4e,
  49664. 0x61, 0x6b, 0x7c, 0x7d, 0x78, 0x60, 0xa9, 0xb1, 0xaf, 0xc7, 0x0a, 0x15, 0x88, 0xdb, 0xec, 0xeb,
  49665. 0x22, 0x66, 0x28, 0x28, 0x04, 0x62, 0xfe, 0xc1, 0x11, 0x96, 0x30, 0x7a, 0x03, 0x6b, 0xec, 0x38,
  49666. 0xed, 0xa5, 0x4e, 0xbc, 0x53, 0x71, 0xa3, 0x46, 0xb0, 0x4f, 0xc2, 0x03, 0x76, 0x79, 0x1e, 0x4b,
  49667. 0x6e, 0x60, 0x0a, 0xb0, 0x72, 0x63, 0xa9, 0x46, 0x31, 0x71, 0x77, 0x1d, 0x53, 0x2a, 0x84, 0xd3,
  49668. 0x90, 0x0a, 0x97, 0x60, 0x5a, 0x36, 0x53, 0x27, 0x11, 0x3b, 0x23, 0xc6, 0x59, 0xc7, 0x94, 0x3b,
  49669. 0xb5, 0x28, 0x56, 0xdd, 0x4a, 0xe3, 0xa3, 0xd7, 0x60, 0xd2, 0xf5, 0xdd, 0xd8, 0x75, 0xe2, 0x20,
  49670. 0x64, 0x27, 0x2c, 0xbf, 0x27, 0xb3, 0x47, 0xd1, 0xaa, 0x0e, 0xc0, 0x26, 0x9e, 0xfd, 0xc7, 0x43,
  49671. 0x30, 0xcb, 0xa6, 0xed, 0x5b, 0x2b, 0xec, 0x63, 0xb3, 0xc2, 0xee, 0x74, 0xaf, 0xb0, 0xd3, 0x10,
  49672. 0x77, 0x3f, 0xca, 0x65, 0xf6, 0x1e, 0x94, 0x94, 0x7d, 0xb5, 0x74, 0x11, 0xb0, 0x72, 0x5c, 0x04,
  49673. 0xfa, 0x4b, 0x1f, 0xf2, 0x19, 0xb7, 0x98, 0xf9, 0x8c, 0xfb, 0xf7, 0x2d, 0x48, 0xcc, 0x4c, 0xd1,
  49674. 0x0d, 0x28, 0xb5, 0x03, 0x66, 0xca, 0x11, 0x4a, 0xfb, 0xa8, 0x27, 0x32, 0x0f, 0x2a, 0x7e, 0x28,
  49675. 0xf2, 0xf1, 0xab, 0xc9, 0x1a, 0x38, 0xa9, 0x8c, 0x96, 0x61, 0xb4, 0x1d, 0x92, 0x7a, 0xcc, 0x5c,
  49676. 0x39, 0xfb, 0xd2, 0xe1, 0x6b, 0x84, 0xe3, 0x63, 0x59, 0xd1, 0xfe, 0x45, 0x0b, 0x80, 0xbf, 0x94,
  49677. 0x3a, 0x7e, 0x8b, 0x9c, 0x81, 0xf6, 0xb7, 0x02, 0x43, 0x51, 0x9b, 0x34, 0x7a, 0x19, 0xd9, 0x24,
  49678. 0xfd, 0xa9, 0xb7, 0x49, 0x23, 0x19, 0x70, 0xfa, 0x0f, 0xb3, 0xda, 0xf6, 0xf7, 0x03, 0x4c, 0x25,
  49679. 0x68, 0xd5, 0x98, 0xec, 0xa1, 0x17, 0x0d, 0x47, 0xb9, 0x8b, 0x29, 0x47, 0xb9, 0x12, 0xc3, 0xd6,
  49680. 0x14, 0x8d, 0xef, 0x41, 0x71, 0xcf, 0x79, 0x20, 0x34, 0x49, 0xcf, 0xf7, 0xee, 0x06, 0xa5, 0xbf,
  49681. 0xb0, 0xee, 0x3c, 0xe0, 0x77, 0xa6, 0xe7, 0xe5, 0x02, 0x59, 0x77, 0x1e, 0x1c, 0x73, 0x53, 0x1a,
  49682. 0xc6, 0xa4, 0x6e, 0xb9, 0x51, 0xfc, 0xd5, 0xff, 0x92, 0xfc, 0x67, 0xcb, 0x8e, 0x36, 0xc2, 0xda,
  49683. 0x72, 0x7d, 0xf1, 0x6e, 0x38, 0x50, 0x5b, 0xae, 0x9f, 0x6e, 0xcb, 0xf5, 0x07, 0x68, 0xcb, 0xf5,
  49684. 0xd1, 0x07, 0x30, 0x2a, 0xde, 0xe8, 0x99, 0xfd, 0xbc, 0xa9, 0xa5, 0xca, 0x6b, 0x4f, 0x3c, 0xf1,
  49685. 0xf3, 0x36, 0x17, 0xe5, 0x9d, 0x50, 0x94, 0xf6, 0x6d, 0x57, 0x36, 0x88, 0xfe, 0xae, 0x05, 0x53,
  49686. 0xe2, 0x37, 0x26, 0xef, 0x77, 0x48, 0x14, 0x0b, 0xd9, 0xf3, 0xb3, 0x83, 0xf7, 0x41, 0x54, 0xe4,
  49687. 0x5d, 0xf9, 0xac, 0x64, 0xb3, 0x26, 0xb0, 0x6f, 0x8f, 0x52, 0xbd, 0x40, 0xff, 0xdc, 0x82, 0xf3,
  49688. 0x7b, 0xce, 0x03, 0xde, 0x22, 0x2f, 0xc3, 0x4e, 0xec, 0x06, 0xc2, 0x1f, 0xe0, 0xf3, 0x83, 0x4d,
  49689. 0x7f, 0x57, 0x75, 0xde, 0x49, 0x69, 0x3a, 0x7c, 0x3e, 0x0b, 0xa5, 0x6f, 0x57, 0x33, 0xfb, 0x35,
  49690. 0xbf, 0x0d, 0x63, 0x72, 0xbd, 0x65, 0xdc, 0xbc, 0x2b, 0xba, 0x60, 0x7d, 0x62, 0x13, 0x09, 0xdd,
  49691. 0x5b, 0x8d, 0xb6, 0x23, 0xd6, 0xda, 0x23, 0x6d, 0xe7, 0x3d, 0x98, 0xd0, 0xd7, 0xd8, 0x23, 0x6d,
  49692. 0xeb, 0x7d, 0x38, 0x97, 0xb1, 0x96, 0x1e, 0x69, 0x93, 0xf7, 0xe1, 0x62, 0xee, 0xfa, 0x78, 0x94,
  49693. 0x0d, 0xdb, 0xbf, 0x60, 0xe9, 0x7c, 0xf0, 0x0c, 0x54, 0xf0, 0x2b, 0xa6, 0x0a, 0xfe, 0x52, 0xef,
  49694. 0x9d, 0x93, 0xa3, 0x87, 0x7f, 0x57, 0xef, 0x34, 0xe5, 0xea, 0xe8, 0x2d, 0x18, 0xf1, 0x68, 0x89,
  49695. 0x34, 0x0e, 0xb1, 0xfb, 0xef, 0xc8, 0x44, 0x96, 0x62, 0xe5, 0x11, 0x16, 0x14, 0xec, 0x5f, 0xb1,
  49696. 0x60, 0xe8, 0x0c, 0x46, 0x02, 0x9b, 0x23, 0xf1, 0x62, 0x2e, 0x69, 0x11, 0x9a, 0x6b, 0x01, 0x3b,
  49697. 0xf7, 0x57, 0x65, 0xf8, 0xb1, 0x9c, 0x81, 0xf9, 0xbf, 0x05, 0x18, 0xa7, 0x4d, 0x49, 0x2b, 0xc6,
  49698. 0x37, 0x60, 0xd2, 0x73, 0xb6, 0x88, 0x27, 0xdf, 0x71, 0xd3, 0x0a, 0x93, 0x5b, 0x3a, 0x10, 0x9b,
  49699. 0xb8, 0xb4, 0xf2, 0xb6, 0xfe, 0xa4, 0x2d, 0xe4, 0x17, 0x55, 0xd9, 0x78, 0xef, 0xc6, 0x26, 0x2e,
  49700. 0xbd, 0xbb, 0xdf, 0x77, 0xe2, 0xc6, 0x8e, 0x50, 0xa6, 0xa8, 0xee, 0xde, 0xa3, 0x85, 0x98, 0xc3,
  49701. 0xa8, 0x00, 0x27, 0x57, 0xe7, 0x5d, 0x7a, 0x33, 0x0c, 0x7c, 0x21, 0x1e, 0x2b, 0x01, 0x0e, 0x9b,
  49702. 0x60, 0x9c, 0xc6, 0xcf, 0xf0, 0x98, 0x1f, 0x66, 0x36, 0x9a, 0x03, 0x78, 0xcc, 0xa3, 0x1a, 0x9c,
  49703. 0x77, 0xfd, 0x86, 0xd7, 0x69, 0x92, 0x3b, 0x3e, 0x97, 0xee, 0x3c, 0xf7, 0x03, 0xd2, 0x14, 0x02,
  49704. 0xb4, 0x32, 0xa7, 0xad, 0x66, 0xe0, 0xe0, 0xcc, 0x9a, 0xf6, 0x5f, 0x83, 0x73, 0xb7, 0x02, 0xa7,
  49705. 0xb9, 0xec, 0x78, 0x8e, 0xdf, 0x20, 0x61, 0xd5, 0x6f, 0xf5, 0xb5, 0x12, 0xd3, 0x6d, 0xba, 0x0a,
  49706. 0xfd, 0x6c, 0xba, 0xec, 0x1d, 0x40, 0x7a, 0x03, 0xc2, 0x36, 0x19, 0xc3, 0xa8, 0xcb, 0x9b, 0x12,
  49707. 0xcb, 0xff, 0xd3, 0xd9, 0xd2, 0x75, 0x57, 0xcf, 0x34, 0xab, 0x5b, 0x5e, 0x80, 0x25, 0x21, 0xfb,
  49708. 0x75, 0xc8, 0xf4, 0x47, 0xec, 0xaf, 0xb6, 0xb1, 0x5f, 0x85, 0x59, 0x56, 0xf3, 0x64, 0x2a, 0x05,
  49709. 0xfb, 0x07, 0x2d, 0x98, 0xde, 0x48, 0xc5, 0xb8, 0xb8, 0xc2, 0xde, 0x5a, 0x33, 0xf4, 0xee, 0x75,
  49710. 0x56, 0x8a, 0x05, 0xf4, 0xd4, 0xf5, 0x7b, 0x7f, 0x61, 0x41, 0x49, 0x45, 0x67, 0x3a, 0x03, 0xa1,
  49711. 0x76, 0xc5, 0x10, 0x6a, 0x33, 0xf5, 0x4e, 0xaa, 0x3b, 0x79, 0x32, 0x2d, 0xba, 0xa9, 0xa2, 0x35,
  49712. 0xf4, 0x50, 0x39, 0x25, 0x64, 0xb8, 0x6f, 0xff, 0x94, 0x19, 0xd2, 0x41, 0xc6, 0x6f, 0x60, 0x66,
  49713. 0x5a, 0x0a, 0xf7, 0x63, 0x62, 0xa6, 0xa5, 0xfa, 0x93, 0xc3, 0xfd, 0x6a, 0x5a, 0x97, 0xd9, 0xa9,
  49714. 0xf0, 0xed, 0xcc, 0x95, 0x81, 0xed, 0x4d, 0x15, 0x24, 0xa5, 0x2c, 0x5c, 0x13, 0x44, 0xe9, 0x31,
  49715. 0x63, 0x64, 0xe2, 0x1f, 0x8f, 0xa4, 0x95, 0x54, 0xb1, 0x6f, 0xc0, 0x74, 0x6a, 0xc0, 0xd0, 0xab,
  49716. 0x30, 0xdc, 0xde, 0x71, 0x22, 0x92, 0x32, 0x4d, 0x1d, 0xae, 0xd1, 0xc2, 0xe3, 0xc3, 0xf2, 0x94,
  49717. 0xaa, 0xc0, 0x4a, 0x30, 0xc7, 0xb6, 0xff, 0xa7, 0x05, 0x43, 0x1b, 0x41, 0xf3, 0x2c, 0x16, 0xd3,
  49718. 0x9b, 0xc6, 0x62, 0x7a, 0x32, 0x2f, 0x0e, 0x61, 0xee, 0x3a, 0x5a, 0x4b, 0xad, 0xa3, 0x4b, 0xb9,
  49719. 0x14, 0x7a, 0x2f, 0xa1, 0x3d, 0x18, 0x67, 0xd1, 0x0d, 0x85, 0xa9, 0xec, 0xcb, 0xc6, 0xfd, 0xaa,
  49720. 0x9c, 0xba, 0x5f, 0x4d, 0x6b, 0xa8, 0xda, 0x2d, 0xeb, 0x59, 0x18, 0x15, 0xe6, 0x9a, 0x69, 0xa7,
  49721. 0x0d, 0x81, 0x8b, 0x25, 0xdc, 0xfe, 0xa9, 0x22, 0x18, 0xd1, 0x14, 0xd1, 0xaf, 0x59, 0xb0, 0x10,
  49722. 0x72, 0x2f, 0xd8, 0x66, 0xa5, 0x13, 0xba, 0x7e, 0xab, 0xde, 0xd8, 0x21, 0xcd, 0x8e, 0xe7, 0xfa,
  49723. 0xad, 0x6a, 0xcb, 0x0f, 0x54, 0xf1, 0xea, 0x03, 0xd2, 0xe8, 0xb0, 0x37, 0x97, 0x3e, 0xa1, 0x1b,
  49724. 0x95, 0x39, 0xd4, 0xb5, 0xa3, 0xc3, 0xf2, 0x02, 0x3e, 0x11, 0x6d, 0x7c, 0xc2, 0xbe, 0xa0, 0xdf,
  49725. 0xb6, 0x60, 0x91, 0x07, 0x19, 0x1c, 0xbc, 0xff, 0x3d, 0x6e, 0xa3, 0x35, 0x49, 0x2a, 0x21, 0xb2,
  49726. 0x49, 0xc2, 0xbd, 0xe5, 0xd7, 0xc4, 0x80, 0x2e, 0xd6, 0x4e, 0xd6, 0x16, 0x3e, 0x69, 0xe7, 0xec,
  49727. 0x7f, 0x57, 0x84, 0x49, 0x3a, 0x8a, 0x49, 0x6c, 0x9a, 0x57, 0x8d, 0x25, 0xf1, 0x74, 0x6a, 0x49,
  49728. 0xcc, 0x1a, 0xc8, 0xa7, 0x13, 0x96, 0x26, 0x82, 0x59, 0xcf, 0x89, 0xe2, 0x1b, 0xc4, 0x09, 0xe3,
  49729. 0x2d, 0xe2, 0x70, 0x33, 0xa1, 0xe2, 0x89, 0x4d, 0x9a, 0x94, 0xfa, 0xeb, 0x56, 0x9a, 0x18, 0xee,
  49730. 0xa6, 0x8f, 0xf6, 0x01, 0x31, 0x5b, 0xa7, 0xd0, 0xf1, 0x23, 0xfe, 0x2d, 0xae, 0x78, 0x8f, 0x39,
  49731. 0x59, 0xab, 0xf3, 0xa2, 0x55, 0x74, 0xab, 0x8b, 0x1a, 0xce, 0x68, 0x41, 0xb3, 0x61, 0x1b, 0x1e,
  49732. 0xd4, 0x86, 0x6d, 0xa4, 0x8f, 0x67, 0xd4, 0x1e, 0xcc, 0x88, 0x59, 0xd9, 0x76, 0x5b, 0xe2, 0x90,
  49733. 0xfe, 0x52, 0xca, 0xc6, 0xd5, 0x1a, 0xdc, 0x50, 0xa9, 0x8f, 0x81, 0xab, 0xfd, 0xdd, 0x70, 0x8e,
  49734. 0x36, 0x67, 0xfa, 0xf1, 0x44, 0x88, 0xc0, 0xf4, 0x6e, 0x67, 0x8b, 0x78, 0x24, 0x96, 0x65, 0xa2,
  49735. 0xd1, 0x4c, 0xb1, 0xdf, 0xac, 0x9d, 0xc8, 0x96, 0x37, 0x4d, 0x12, 0x38, 0x4d, 0xd3, 0xfe, 0x19,
  49736. 0x0b, 0x98, 0xb5, 0xfc, 0x19, 0x1c, 0x7f, 0x5f, 0x30, 0x8f, 0xbf, 0xb9, 0x3c, 0x0e, 0x94, 0x73,
  49737. 0xf2, 0xbd, 0xc2, 0xa7, 0xa5, 0x16, 0x06, 0x0f, 0x0e, 0xa4, 0xec, 0xdf, 0x5f, 0xe2, 0xfa, 0x3f,
  49738. 0x16, 0xdf, 0x90, 0x2a, 0x28, 0x00, 0xfa, 0x1e, 0x18, 0x6b, 0x38, 0x6d, 0xa7, 0xc1, 0xc3, 0xd8,
  49739. 0xe6, 0x6a, 0x7f, 0x8c, 0x4a, 0x0b, 0x2b, 0xa2, 0x06, 0xd7, 0x66, 0x7c, 0x46, 0x7e, 0xa5, 0x2c,
  49740. 0xee, 0xab, 0xc1, 0x50, 0x4d, 0xce, 0xef, 0xc2, 0xa4, 0x41, 0xec, 0x91, 0x5e, 0x7d, 0xbf, 0x87,
  49741. 0x1f, 0x17, 0xea, 0xc6, 0xb2, 0x07, 0xb3, 0xbe, 0xf6, 0x9f, 0x32, 0x47, 0x29, 0x4e, 0x7f, 0xb2,
  49742. 0xdf, 0x81, 0xc0, 0x38, 0xa9, 0xe6, 0x0d, 0x90, 0x22, 0x83, 0xbb, 0x29, 0xdb, 0xff, 0xd0, 0x82,
  49743. 0xc7, 0x75, 0x44, 0x2d, 0x5e, 0x43, 0x3f, 0x7d, 0x72, 0x05, 0xc6, 0x82, 0x36, 0x09, 0x9d, 0xe4,
  49744. 0x4e, 0x76, 0x55, 0x0e, 0xfa, 0x6d, 0x51, 0x7e, 0x2c, 0xe2, 0x09, 0x4a, 0xea, 0xb2, 0x1c, 0xab,
  49745. 0x9a, 0xc8, 0x86, 0x11, 0x36, 0x18, 0x91, 0x88, 0xa5, 0xc1, 0xcc, 0x14, 0xd9, 0xd3, 0x6a, 0x84,
  49746. 0x05, 0xc4, 0xfe, 0x7e, 0x8b, 0x2f, 0x2c, 0xbd, 0xeb, 0xe8, 0x7d, 0x98, 0xd9, 0xa3, 0xd7, 0xb7,
  49747. 0xd5, 0x07, 0xed, 0x90, 0xab, 0xd1, 0xe5, 0x38, 0x3d, 0xdf, 0x6f, 0x9c, 0xb4, 0x8f, 0x4c, 0x8c,
  49748. 0xd9, 0xd6, 0x53, 0xc4, 0x70, 0x17, 0x79, 0xfb, 0xcf, 0x0a, 0x7c, 0x27, 0x32, 0xa9, 0xee, 0x59,
  49749. 0x18, 0x6d, 0x07, 0xcd, 0x95, 0x6a, 0x05, 0x8b, 0x11, 0x52, 0xec, 0xaa, 0xc6, 0x8b, 0xb1, 0x84,
  49750. 0xa3, 0x6b, 0x00, 0xe4, 0x41, 0x4c, 0x42, 0xdf, 0xf1, 0x94, 0xe1, 0x87, 0x12, 0x9e, 0x56, 0x15,
  49751. 0x04, 0x6b, 0x58, 0xb4, 0x4e, 0x3b, 0x0c, 0xf6, 0xdd, 0x26, 0xf3, 0x36, 0x2c, 0x9a, 0x75, 0x6a,
  49752. 0x0a, 0x82, 0x35, 0x2c, 0x7a, 0x55, 0xee, 0xf8, 0x11, 0x3f, 0x00, 0x9d, 0x2d, 0x11, 0x20, 0x6f,
  49753. 0x2c, 0xb9, 0x2a, 0xdf, 0xd1, 0x81, 0xd8, 0xc4, 0x45, 0x4b, 0x30, 0x12, 0x3b, 0xcc, 0x9c, 0x61,
  49754. 0x38, 0xdf, 0x2c, 0x71, 0x93, 0x62, 0xe8, 0x71, 0x4d, 0x69, 0x05, 0x2c, 0x2a, 0xa2, 0x77, 0x24,
  49755. 0x0b, 0xe6, 0x2c, 0x59, 0xd8, 0x03, 0xe7, 0x2e, 0x5b, 0x9d, 0x7d, 0xeb, 0x3c, 0x58, 0xd8, 0x19,
  49756. 0x1b, 0xb4, 0xec, 0xef, 0x2b, 0x01, 0x24, 0xd2, 0x1e, 0xfa, 0xa0, 0x8b, 0x45, 0xbc, 0xd0, 0x5b,
  49757. 0x3e, 0x3c, 0x3d, 0xfe, 0x80, 0x7e, 0xc0, 0x82, 0x71, 0xc7, 0xf3, 0x82, 0x86, 0x13, 0xb3, 0x51,
  49758. 0x2e, 0xf4, 0x66, 0x51, 0xa2, 0xfd, 0xa5, 0xa4, 0x06, 0xef, 0xc2, 0xcb, 0xd2, 0x52, 0x41, 0x83,
  49759. 0xf4, 0xed, 0x85, 0xde, 0x30, 0xfa, 0x8c, 0xbc, 0x04, 0xf0, 0xe5, 0x31, 0x9f, 0xbe, 0x04, 0x94,
  49760. 0x18, 0x37, 0xd6, 0xe4, 0x7f, 0x74, 0xc7, 0x88, 0x24, 0x37, 0x94, 0x1f, 0x92, 0xc2, 0x10, 0x7a,
  49761. 0xfa, 0x05, 0x91, 0x43, 0x35, 0xdd, 0x2f, 0x6a, 0x38, 0x3f, 0x6e, 0x8b, 0x26, 0x5d, 0xf7, 0xf1,
  49762. 0x89, 0x7a, 0x0f, 0xa6, 0x9b, 0xe6, 0x71, 0x2b, 0x56, 0xd3, 0xa7, 0xf3, 0xe8, 0xa6, 0x4e, 0xe7,
  49763. 0xe4, 0x80, 0x4d, 0x01, 0x70, 0x9a, 0x30, 0xaa, 0x71, 0x0f, 0xb5, 0xaa, 0xbf, 0x1d, 0x08, 0xbb,
  49764. 0x72, 0x3b, 0x77, 0x2e, 0x0f, 0xa2, 0x98, 0xec, 0x51, 0xcc, 0xe4, 0x1c, 0xdd, 0x10, 0x75, 0xb1,
  49765. 0xa2, 0x82, 0xde, 0x82, 0x11, 0xe6, 0x36, 0x1c, 0xcd, 0x8d, 0xe5, 0xeb, 0x01, 0xcd, 0x88, 0x17,
  49766. 0xc9, 0xa6, 0x62, 0x7f, 0x23, 0x2c, 0x28, 0xa0, 0x1b, 0x32, 0x2c, 0x4e, 0x54, 0xf5, 0xef, 0x44,
  49767. 0x84, 0x85, 0xc5, 0x29, 0x2d, 0x7f, 0x32, 0x89, 0x78, 0xc3, 0xcb, 0x33, 0x23, 0x98, 0x1b, 0x35,
  49768. 0xa9, 0xbc, 0x22, 0xfe, 0xcb, 0xc0, 0xe8, 0x73, 0x90, 0xdf, 0x3d, 0x33, 0x78, 0x7a, 0x32, 0x9c,
  49769. 0x77, 0x4d, 0x12, 0x38, 0x4d, 0xf3, 0x4c, 0x8f, 0xcf, 0x79, 0x1f, 0x66, 0xd2, 0x1b, 0xeb, 0x91,
  49770. 0x1e, 0xd7, 0x7f, 0x34, 0x04, 0x53, 0xe6, 0x42, 0x40, 0x8b, 0x50, 0x12, 0x44, 0x54, 0x10, 0x4f,
  49771. 0xb5, 0xb6, 0xd7, 0x25, 0x00, 0x27, 0x38, 0x2c, 0x88, 0x29, 0xab, 0xae, 0xd9, 0x01, 0x26, 0x41,
  49772. 0x4c, 0x15, 0x04, 0x6b, 0x58, 0x54, 0x88, 0xde, 0x0a, 0x82, 0x58, 0x1d, 0x05, 0x6a, 0xb5, 0x2c,
  49773. 0xb3, 0x52, 0x2c, 0xa0, 0xf4, 0x08, 0xd8, 0x25, 0xa1, 0x4f, 0x3c, 0x53, 0x93, 0xa9, 0x8e, 0x80,
  49774. 0x9b, 0x3a, 0x10, 0x9b, 0xb8, 0xf4, 0x48, 0x0b, 0x22, 0xb6, 0xfc, 0x84, 0xa8, 0x9e, 0xd8, 0x55,
  49775. 0xd6, 0xb9, 0xdb, 0xbc, 0x84, 0xa3, 0x2f, 0xc1, 0xe3, 0xca, 0xcb, 0x1d, 0x73, 0xcd, 0xb0, 0x6c,
  49776. 0x71, 0xc4, 0xb8, 0x59, 0x3f, 0xbe, 0x92, 0x8d, 0x86, 0xf3, 0xea, 0xa3, 0x37, 0x61, 0x4a, 0x88,
  49777. 0xc0, 0x92, 0xe2, 0xa8, 0x69, 0xac, 0x70, 0xd3, 0x80, 0xe2, 0x14, 0x36, 0xaa, 0xc0, 0x0c, 0x2d,
  49778. 0x61, 0x52, 0xa8, 0xa4, 0xc0, 0xbd, 0xf5, 0xd5, 0x59, 0x7f, 0x33, 0x05, 0xc7, 0x5d, 0x35, 0xd0,
  49779. 0x12, 0x4c, 0x73, 0x19, 0x85, 0xde, 0x29, 0xd9, 0x3c, 0x08, 0x77, 0x0f, 0xb5, 0x11, 0x6e, 0x9b,
  49780. 0x60, 0x9c, 0xc6, 0x47, 0xaf, 0xc3, 0x84, 0x13, 0x36, 0x76, 0xdc, 0x98, 0x34, 0xe2, 0x4e, 0xc8,
  49781. 0xfd, 0x40, 0x34, 0x6b, 0x8f, 0x25, 0x0d, 0x86, 0x0d, 0x4c, 0xfb, 0x03, 0x38, 0x97, 0xe1, 0x29,
  49782. 0x46, 0x17, 0x8e, 0xd3, 0x76, 0xe5, 0x37, 0xa5, 0x2c, 0x24, 0x97, 0x6a, 0x55, 0xf9, 0x35, 0x1a,
  49783. 0x16, 0x5d, 0x9d, 0x4c, 0x25, 0xae, 0x65, 0x2f, 0x50, 0xab, 0x73, 0x4d, 0x02, 0x70, 0x82, 0x63,
  49784. 0xff, 0x16, 0x80, 0xa6, 0xd0, 0x19, 0xc0, 0x3e, 0xee, 0x75, 0x98, 0x90, 0x29, 0x37, 0xb4, 0x50,
  49785. 0xef, 0xea, 0x33, 0xaf, 0x6b, 0x30, 0x6c, 0x60, 0xd2, 0xbe, 0xf9, 0x2a, 0x50, 0x7d, 0xca, 0x1e,
  49786. 0x33, 0x09, 0x53, 0x9f, 0xe0, 0xa0, 0x17, 0x60, 0x2c, 0x22, 0xde, 0xf6, 0x2d, 0xd7, 0xdf, 0x15,
  49787. 0x0b, 0x5b, 0x71, 0xe1, 0xba, 0x28, 0xc7, 0x0a, 0x03, 0x2d, 0x43, 0xb1, 0xe3, 0x36, 0xc5, 0x52,
  49788. 0x96, 0x07, 0x7e, 0xf1, 0x4e, 0xb5, 0x72, 0x7c, 0x58, 0x7e, 0x3a, 0x2f, 0x93, 0x08, 0xbd, 0xda,
  49789. 0x47, 0x0b, 0x74, 0xfb, 0xd1, 0xca, 0x59, 0x6f, 0x03, 0x23, 0x27, 0x7c, 0x1b, 0xb8, 0x06, 0x20,
  49790. 0xbe, 0x5a, 0xae, 0xe5, 0x62, 0x32, 0x6b, 0xd7, 0x15, 0x04, 0x6b, 0x58, 0x28, 0x82, 0xd9, 0x46,
  49791. 0x48, 0x1c, 0x79, 0x87, 0xe6, 0x3e, 0x4f, 0x63, 0x0f, 0xaf, 0x20, 0x58, 0x49, 0x13, 0xc3, 0xdd,
  49792. 0xf4, 0x51, 0x00, 0xb3, 0x4d, 0x11, 0x54, 0x21, 0x69, 0xb4, 0x74, 0x72, 0x47, 0x2b, 0x66, 0x90,
  49793. 0x93, 0x26, 0x84, 0xbb, 0x69, 0xa3, 0x2f, 0xc3, 0xbc, 0x2c, 0xec, 0x8e, 0x63, 0xc1, 0xb6, 0x4b,
  49794. 0x91, 0xc7, 0x5f, 0xaf, 0xe4, 0x62, 0xe1, 0x1e, 0x14, 0x10, 0x86, 0x11, 0xf6, 0x96, 0x14, 0xcd,
  49795. 0x8d, 0xb3, 0x73, 0xee, 0xb9, 0x7c, 0x65, 0x00, 0x5d, 0xeb, 0x0b, 0xec, 0x1d, 0x4a, 0x98, 0x94,
  49796. 0x27, 0xcf, 0x72, 0xac, 0x10, 0x0b, 0x4a, 0x68, 0x1b, 0xc6, 0x1d, 0xdf, 0x0f, 0x62, 0x87, 0x8b,
  49797. 0x50, 0x13, 0xf9, 0xb2, 0x9f, 0x46, 0x78, 0x29, 0xa9, 0xc1, 0xa9, 0x2b, 0x2b, 0x55, 0x0d, 0x82,
  49798. 0x75, 0xc2, 0xe8, 0x3e, 0x4c, 0x07, 0xf7, 0x29, 0x73, 0x94, 0x5a, 0x8a, 0x68, 0x6e, 0x92, 0xb5,
  49799. 0xf5, 0xca, 0x80, 0x7a, 0x5a, 0xa3, 0xb2, 0xc6, 0xb5, 0x4c, 0xa2, 0x38, 0xdd, 0x0a, 0x5a, 0x30,
  49800. 0xb4, 0xd5, 0x53, 0x89, 0x3b, 0x4b, 0xa2, 0xad, 0xd6, 0x95, 0xd3, 0x2c, 0x2e, 0x0a, 0x37, 0x91,
  49801. 0x66, 0xbb, 0x7f, 0x3a, 0x15, 0x17, 0x25, 0x01, 0x61, 0x1d, 0x0f, 0xed, 0xc0, 0x44, 0xf2, 0x64,
  49802. 0x15, 0x46, 0x2c, 0x2a, 0xdb, 0xf8, 0xb5, 0x6b, 0x83, 0x7d, 0x5c, 0x55, 0xab, 0xc9, 0x6f, 0x0e,
  49803. 0x7a, 0x09, 0x36, 0x28, 0xcf, 0x7f, 0x1b, 0x8c, 0x6b, 0x13, 0x7b, 0xa2, 0x28, 0xb8, 0x6f, 0xc2,
  49804. 0x4c, 0x7a, 0xea, 0x4e, 0xe4, 0x41, 0xf0, 0xbf, 0x0a, 0x30, 0x9d, 0xf1, 0x72, 0xc5, 0xb2, 0x91,
  49805. 0xa4, 0x18, 0x6a, 0x92, 0x7c, 0xc4, 0x64, 0x8b, 0x85, 0x01, 0xd8, 0xa2, 0xe4, 0xd1, 0xc5, 0x5c,
  49806. 0x1e, 0x2d, 0x58, 0xe1, 0xd0, 0x87, 0x61, 0x85, 0xe6, 0xe9, 0x33, 0x3c, 0xd0, 0xe9, 0x73, 0x0a,
  49807. 0xec, 0xd3, 0x38, 0xc0, 0x46, 0x07, 0x38, 0xc0, 0x7e, 0xb4, 0x00, 0x33, 0x69, 0x0b, 0xdf, 0x33,
  49808. 0x78, 0xef, 0x78, 0xcb, 0x78, 0xef, 0xc8, 0xce, 0xed, 0x93, 0xb6, 0x3b, 0xce, 0x7b, 0xfb, 0xc0,
  49809. 0xa9, 0xb7, 0x8f, 0xe7, 0x06, 0xa2, 0xd6, 0xfb, 0x1d, 0xe4, 0x1f, 0x15, 0xe0, 0x42, 0xba, 0xca,
  49810. 0x8a, 0xe7, 0xb8, 0x7b, 0x67, 0x30, 0x36, 0xb7, 0x8d, 0xb1, 0x79, 0x71, 0x90, 0xaf, 0x61, 0x5d,
  49811. 0xcb, 0x1d, 0xa0, 0x7b, 0xa9, 0x01, 0x5a, 0x1c, 0x9c, 0x64, 0xef, 0x51, 0xfa, 0x66, 0x11, 0x2e,
  49812. 0x65, 0xd6, 0x4b, 0x9e, 0x0b, 0xd6, 0x8c, 0xe7, 0x82, 0x6b, 0xa9, 0xe7, 0x02, 0xbb, 0x77, 0xed,
  49813. 0xd3, 0x79, 0x3f, 0x10, 0xee, 0xd0, 0x2c, 0x62, 0xe8, 0x43, 0xbe, 0x1d, 0x18, 0xee, 0xd0, 0x8a,
  49814. 0x10, 0x36, 0xe9, 0xfe, 0x55, 0x7a, 0x33, 0xf8, 0x2d, 0x0b, 0x2e, 0x66, 0xce, 0xcd, 0x19, 0xe8,
  49815. 0xd5, 0x37, 0x4c, 0xbd, 0xfa, 0xb3, 0x03, 0xaf, 0xd6, 0x1c, 0x45, 0xfb, 0x1f, 0x17, 0x73, 0xbe,
  49816. 0x85, 0x69, 0x26, 0x6f, 0xc3, 0xb8, 0xd3, 0x68, 0x90, 0x28, 0x5a, 0x0f, 0x9a, 0x2a, 0x82, 0xe6,
  49817. 0x8b, 0x4c, 0xda, 0x48, 0x8a, 0x8f, 0x0f, 0xcb, 0xf3, 0x69, 0x12, 0x09, 0x18, 0xeb, 0x14, 0xcc,
  49818. 0xa0, 0xbf, 0x85, 0x53, 0x0d, 0xfa, 0x7b, 0x0d, 0x60, 0x5f, 0xe9, 0x2b, 0xd2, 0x6a, 0x4e, 0x4d,
  49819. 0x93, 0xa1, 0x61, 0xa1, 0xef, 0x62, 0xb7, 0x00, 0x6e, 0x0c, 0xc4, 0x97, 0xe2, 0xcb, 0x03, 0xce,
  49820. 0x95, 0x6e, 0x58, 0xc4, 0xe3, 0x6e, 0x28, 0x95, 0xb0, 0x22, 0x89, 0xbe, 0x03, 0x66, 0x22, 0x1e,
  49821. 0xd6, 0x69, 0xc5, 0x73, 0x22, 0xe6, 0xc4, 0x25, 0x56, 0x21, 0x0b, 0xa6, 0x51, 0x4f, 0xc1, 0x70,
  49822. 0x17, 0x36, 0x5a, 0x93, 0x1f, 0xc5, 0x62, 0x50, 0xf1, 0x85, 0x79, 0x25, 0xf9, 0x20, 0x91, 0x0b,
  49823. 0xed, 0x7c, 0x7a, 0xf8, 0xd9, 0xc0, 0x6b, 0x35, 0xed, 0x1f, 0x1d, 0x82, 0x27, 0x7a, 0x30, 0x31,
  49824. 0xb4, 0x64, 0x1a, 0x01, 0x3c, 0x9f, 0xd6, 0xff, 0xcd, 0x67, 0x56, 0x36, 0x14, 0x82, 0xa9, 0xb5,
  49825. 0x52, 0xf8, 0xd0, 0x6b, 0xe5, 0x87, 0x2c, 0x4d, 0x33, 0xcb, 0x4d, 0x85, 0xbf, 0x70, 0x42, 0xe6,
  49826. 0x7c, 0x8a, 0xaa, 0xda, 0xed, 0x0c, 0x7d, 0xe7, 0xb5, 0x81, 0xbb, 0x33, 0xb0, 0x02, 0xf4, 0x6c,
  49827. 0x9f, 0x8c, 0xbe, 0x6a, 0xc1, 0xd3, 0x99, 0xfd, 0x35, 0x8c, 0x96, 0x16, 0xa1, 0xd4, 0xa0, 0x85,
  49828. 0x9a, 0x63, 0x68, 0xe2, 0x31, 0x2f, 0x01, 0x38, 0xc1, 0x31, 0x6c, 0x93, 0x0a, 0x7d, 0x6d, 0x93,
  49829. 0xfe, 0xad, 0x05, 0x5d, 0x0b, 0xf8, 0x0c, 0x38, 0x69, 0xd5, 0xe4, 0xa4, 0x9f, 0x1c, 0x64, 0x2e,
  49830. 0x73, 0x98, 0xe8, 0xef, 0x4f, 0xc3, 0x63, 0x39, 0x9e, 0x60, 0xfb, 0x30, 0xdb, 0x6a, 0x10, 0xd3,
  49831. 0xe5, 0x56, 0x7c, 0x4c, 0xa6, 0x77, 0x72, 0x4f, 0xff, 0x5c, 0x7e, 0x21, 0xee, 0x42, 0xc1, 0xdd,
  49832. 0x4d, 0xa0, 0xaf, 0x5a, 0x70, 0xde, 0xb9, 0x1f, 0x75, 0xa5, 0x2a, 0x15, 0x6b, 0xe6, 0x95, 0x4c,
  49833. 0x3d, 0x6d, 0x9f, 0xd4, 0xa6, 0x3c, 0xab, 0x57, 0x16, 0x16, 0xce, 0x6c, 0x0b, 0x61, 0x11, 0xf4,
  49834. 0x98, 0xca, 0xdb, 0x3d, 0x9c, 0xc2, 0xb3, 0x5c, 0xf6, 0x38, 0x4f, 0x95, 0x10, 0xac, 0xe8, 0xa0,
  49835. 0xbb, 0x50, 0x6a, 0x49, 0x3f, 0x5a, 0xc1, 0xb3, 0x33, 0x0f, 0xc1, 0x4c, 0x67, 0x5b, 0xee, 0x3b,
  49836. 0xa2, 0x40, 0x38, 0x21, 0x85, 0xde, 0x84, 0xa2, 0xbf, 0x1d, 0xf5, 0x4a, 0x87, 0x95, 0xb2, 0xe5,
  49837. 0xe3, 0x01, 0x17, 0x36, 0xd6, 0xea, 0x98, 0x56, 0x44, 0x37, 0xa0, 0x18, 0x6e, 0x35, 0xc5, 0xd3,
  49838. 0x42, 0xa6, 0x5c, 0x8a, 0x97, 0x2b, 0xd9, 0x8b, 0x84, 0x53, 0xc2, 0xcb, 0x15, 0x4c, 0x49, 0xa0,
  49839. 0x1a, 0x0c, 0x33, 0xa7, 0x29, 0xf1, 0x82, 0x90, 0x29, 0x90, 0xf6, 0x70, 0x3e, 0xe4, 0x51, 0x19,
  49840. 0x18, 0x02, 0xe6, 0x84, 0xd0, 0x5b, 0x30, 0xd2, 0x60, 0x19, 0xa3, 0x84, 0xe2, 0x27, 0x3b, 0x5c,
  49841. 0x57, 0x57, 0x4e, 0x29, 0xfe, 0x82, 0xca, 0xcb, 0xb1, 0xa0, 0x80, 0x36, 0x61, 0xa4, 0x41, 0xda,
  49842. 0x3b, 0xdb, 0x91, 0xd0, 0xe7, 0x7c, 0x26, 0x93, 0x56, 0x8f, 0x04, 0x69, 0x82, 0x2a, 0xc3, 0xc0,
  49843. 0x82, 0x16, 0xfa, 0x1c, 0x14, 0xb6, 0x1b, 0xc2, 0x93, 0x2a, 0xf3, 0x0d, 0xc1, 0x8c, 0x94, 0xb1,
  49844. 0x3c, 0x72, 0x74, 0x58, 0x2e, 0xac, 0xad, 0xe0, 0xc2, 0x76, 0x03, 0x6d, 0xc0, 0xe8, 0x36, 0xf7,
  49845. 0xad, 0x17, 0x01, 0x6c, 0x3e, 0x9d, 0xed, 0xf6, 0xdf, 0xe5, 0x7e, 0xcf, 0x3d, 0x80, 0x04, 0x00,
  49846. 0x4b, 0x22, 0x2c, 0x5e, 0xb0, 0x8a, 0x11, 0x20, 0x02, 0xe7, 0x2f, 0x9c, 0x2c, 0xae, 0x83, 0x50,
  49847. 0x73, 0x28, 0x2a, 0x58, 0xa3, 0x88, 0xbe, 0x02, 0x25, 0x47, 0xa6, 0xc6, 0x14, 0x41, 0x70, 0x5e,
  49848. 0xce, 0xdc, 0x8e, 0xbd, 0xb3, 0x86, 0xf2, 0xb5, 0xac, 0x90, 0x70, 0x42, 0x14, 0xed, 0xc2, 0xe4,
  49849. 0x7e, 0xd4, 0xde, 0x21, 0x72, 0xfb, 0xb2, 0x98, 0x38, 0x39, 0xc7, 0xd5, 0x5d, 0x81, 0xe8, 0x86,
  49850. 0x71, 0xc7, 0xf1, 0xba, 0x38, 0x0e, 0x73, 0x1c, 0xbb, 0xab, 0x13, 0xc3, 0x26, 0x6d, 0x3a, 0xfc,
  49851. 0xef, 0x77, 0x82, 0xad, 0x83, 0x98, 0x88, 0x48, 0xfb, 0x99, 0xc3, 0xff, 0x36, 0x47, 0xe9, 0x1e,
  49852. 0x7e, 0x01, 0xc0, 0x92, 0x08, 0xdd, 0xe0, 0x8e, 0x4c, 0x3b, 0x2b, 0x74, 0x39, 0xcf, 0xe6, 0x0e,
  49853. 0x4f, 0x57, 0x7f, 0x93, 0x41, 0x61, 0x9c, 0x31, 0x21, 0xc5, 0x38, 0x62, 0x7b, 0x27, 0x88, 0x03,
  49854. 0x3f, 0xc5, 0x8d, 0x67, 0xf3, 0x39, 0x62, 0x2d, 0x03, 0xbf, 0x9b, 0x23, 0x66, 0x61, 0xe1, 0xcc,
  49855. 0xb6, 0x50, 0x13, 0xa6, 0xda, 0x41, 0x18, 0xdf, 0x0f, 0x42, 0xb9, 0xbe, 0x50, 0x8f, 0x4b, 0xbe,
  49856. 0x81, 0x29, 0x5a, 0x64, 0x76, 0xe0, 0x26, 0x04, 0xa7, 0x68, 0xa2, 0x2f, 0xc2, 0x68, 0xd4, 0x70,
  49857. 0x3c, 0x52, 0xbd, 0x3d, 0x77, 0x2e, 0xff, 0xa8, 0xa9, 0x73, 0x94, 0x9c, 0xd5, 0xc5, 0x26, 0x47,
  49858. 0xa0, 0x60, 0x49, 0x0e, 0xad, 0xc1, 0x30, 0x4b, 0xdf, 0xc2, 0x92, 0x04, 0xe4, 0x04, 0x5b, 0xeb,
  49859. 0xb2, 0x95, 0xe6, 0x1c, 0x89, 0x15, 0x63, 0x5e, 0x9d, 0xee, 0x01, 0x21, 0xeb, 0x06, 0xd1, 0xdc,
  49860. 0x85, 0xfc, 0x3d, 0x20, 0x44, 0xe4, 0xdb, 0xf5, 0x5e, 0x7b, 0x40, 0x21, 0xe1, 0x84, 0x28, 0xe5,
  49861. 0xc7, 0x94, 0x87, 0x3e, 0x96, 0xcf, 0x8f, 0xf3, 0x39, 0x28, 0xe3, 0xc7, 0x94, 0x7f, 0x52, 0x12,
  49862. 0xf6, 0x1f, 0x8c, 0x76, 0xcb, 0x27, 0xec, 0x76, 0xf4, 0x7d, 0x56, 0x97, 0xe9, 0xc0, 0x67, 0x07,
  49863. 0x55, 0xd6, 0x9c, 0xa2, 0x64, 0xfa, 0x55, 0x0b, 0x1e, 0x6b, 0x67, 0x7e, 0x88, 0x38, 0xec, 0x07,
  49864. 0xd3, 0xf9, 0xf0, 0x4f, 0x57, 0x89, 0x3c, 0xb2, 0xe1, 0x38, 0xa7, 0xa5, 0xb4, 0xf4, 0x5f, 0xfc,
  49865. 0xd0, 0xd2, 0xff, 0x3a, 0x8c, 0x31, 0x81, 0x32, 0x89, 0xec, 0x37, 0x90, 0x01, 0x1e, 0x13, 0x1b,
  49866. 0x56, 0x44, 0x45, 0xac, 0x48, 0xa0, 0x1f, 0xb6, 0xe0, 0xa9, 0x74, 0xd7, 0x31, 0x61, 0x60, 0x11,
  49867. 0x25, 0x9a, 0x5f, 0xcc, 0xd6, 0xc4, 0xf7, 0x3f, 0x55, 0xeb, 0x85, 0x7c, 0xdc, 0x0f, 0x01, 0xf7,
  49868. 0x6e, 0x0c, 0x55, 0x32, 0x6e, 0x86, 0x23, 0xe6, 0xcb, 0xe2, 0x00, 0xb7, 0xc3, 0x57, 0x60, 0x62,
  49869. 0x2f, 0xe8, 0xf8, 0xd2, 0x3b, 0x46, 0xf8, 0x3e, 0x33, 0x2d, 0xf6, 0xba, 0x56, 0x8e, 0x0d, 0xac,
  49870. 0xd4, 0x9d, 0x72, 0xec, 0x61, 0xef, 0x94, 0xe8, 0xdd, 0x54, 0x9a, 0xf8, 0x52, 0xbe, 0x6c, 0x21,
  49871. 0xae, 0xdf, 0x27, 0x48, 0x16, 0x7f, 0xb6, 0xf7, 0xa0, 0xaf, 0x5b, 0x19, 0x02, 0x3c, 0xbf, 0x19,
  49872. 0x7f, 0xde, 0xbc, 0x19, 0x5f, 0x49, 0xdf, 0x8c, 0xbb, 0x34, 0xa1, 0xc6, 0xa5, 0x78, 0xf0, 0x18,
  49873. 0xfd, 0x83, 0x06, 0x68, 0xb4, 0x3d, 0xb8, 0xdc, 0xef, 0x58, 0x62, 0xa6, 0x92, 0x4d, 0x65, 0x43,
  49874. 0x90, 0x98, 0x4a, 0x36, 0xab, 0x15, 0xcc, 0x20, 0x83, 0x46, 0xf0, 0xb1, 0xff, 0xbb, 0x05, 0xc5,
  49875. 0x5a, 0xd0, 0x3c, 0x03, 0xcd, 0xee, 0x17, 0x0c, 0xcd, 0xee, 0x13, 0x39, 0xe9, 0xfb, 0x73, 0xf5,
  49876. 0xb8, 0xab, 0x29, 0x3d, 0xee, 0x53, 0x79, 0x04, 0x7a, 0x6b, 0x6d, 0x7f, 0xba, 0x08, 0xe3, 0xb5,
  49877. 0xa0, 0xa9, 0x6c, 0xee, 0xff, 0xfd, 0xc3, 0xd8, 0xdc, 0xe7, 0xc6, 0x5b, 0xd6, 0x28, 0x33, 0x0b,
  49878. 0x4b, 0xe9, 0xce, 0xfb, 0x97, 0xcc, 0xf4, 0xfe, 0x1e, 0x71, 0x5b, 0x3b, 0x31, 0x69, 0xa6, 0x3f,
  49879. 0xe7, 0xec, 0x4c, 0xef, 0xff, 0xab, 0x05, 0xd3, 0xa9, 0xd6, 0x91, 0x97, 0xe5, 0x1b, 0xf8, 0x90,
  49880. 0x1a, 0xbd, 0xd9, 0xbe, 0xce, 0x84, 0x0b, 0x00, 0xea, 0xd9, 0x4c, 0x6a, 0xbb, 0x98, 0xd4, 0xaf,
  49881. 0xde, 0xd5, 0x22, 0xac, 0x61, 0xa0, 0x57, 0x61, 0x3c, 0x0e, 0xda, 0x81, 0x17, 0xb4, 0x0e, 0x6e,
  49882. 0x12, 0x19, 0x33, 0x4a, 0x3d, 0x6e, 0x6e, 0x26, 0x20, 0xac, 0xe3, 0xd9, 0x3f, 0x5b, 0xe4, 0x1f,
  49883. 0xea, 0xc7, 0xee, 0xb7, 0xd6, 0xe4, 0xc7, 0x7b, 0x4d, 0x7e, 0xd3, 0x82, 0x19, 0xda, 0x3a, 0xb3,
  49884. 0x5e, 0x93, 0x87, 0xad, 0xca, 0x15, 0x66, 0xf5, 0xc8, 0x15, 0x76, 0x85, 0xf2, 0xae, 0x66, 0xd0,
  49885. 0x89, 0x85, 0xb6, 0x4c, 0x63, 0x4e, 0xb4, 0x14, 0x0b, 0xa8, 0xc0, 0x23, 0x61, 0x28, 0x3c, 0xfe,
  49886. 0x74, 0x3c, 0x12, 0x86, 0x58, 0x40, 0x65, 0x2a, 0xb1, 0xa1, 0x9c, 0x54, 0x62, 0x2c, 0x02, 0xa6,
  49887. 0xb0, 0x98, 0x12, 0x62, 0x8f, 0x16, 0x01, 0x53, 0x9a, 0x52, 0x25, 0x38, 0xf6, 0x2f, 0x14, 0x61,
  49888. 0xa2, 0x16, 0x34, 0x93, 0x87, 0xab, 0x57, 0x8c, 0x87, 0xab, 0xcb, 0xa9, 0x87, 0xab, 0x19, 0x1d,
  49889. 0xf7, 0x5b, 0xcf, 0x54, 0x1f, 0xd5, 0x33, 0xd5, 0xbf, 0xb1, 0xd8, 0xac, 0x55, 0x36, 0xea, 0x22,
  49890. 0x19, 0xf7, 0x4b, 0x30, 0xce, 0x18, 0x12, 0x73, 0x31, 0x95, 0xaf, 0x39, 0x2c, 0xa3, 0xc5, 0x46,
  49891. 0x52, 0x8c, 0x75, 0x1c, 0x74, 0x15, 0xc6, 0x22, 0xe2, 0x84, 0x8d, 0x1d, 0xc5, 0xe3, 0xc4, 0x5b,
  49892. 0x07, 0x2f, 0xc3, 0x0a, 0x8a, 0xde, 0x4e, 0x82, 0x2f, 0x16, 0xf3, 0xd3, 0x4a, 0xeb, 0xfd, 0xe1,
  49893. 0x5b, 0x24, 0x3f, 0xe2, 0xa2, 0x7d, 0x0f, 0x50, 0x37, 0xfe, 0x00, 0x66, 0x64, 0x65, 0x33, 0xcc,
  49894. 0x5a, 0xa9, 0x2b, 0xc4, 0xda, 0x9f, 0x5b, 0x30, 0x55, 0x0b, 0x9a, 0x74, 0xeb, 0xfe, 0x55, 0xda,
  49895. 0xa7, 0x7a, 0xe4, 0xd9, 0x91, 0x1e, 0x91, 0x67, 0xff, 0xb1, 0x05, 0xa3, 0xb5, 0xa0, 0x79, 0x06,
  49896. 0x3a, 0xf6, 0xcf, 0x9b, 0x3a, 0xf6, 0xc7, 0x73, 0x96, 0x44, 0x8e, 0x5a, 0xfd, 0x97, 0x8a, 0x30,
  49897. 0x49, 0xfb, 0x19, 0xb4, 0xe4, 0x2c, 0x19, 0x23, 0x62, 0x0d, 0x30, 0x22, 0x54, 0xcc, 0x0d, 0x3c,
  49898. 0x2f, 0xb8, 0x9f, 0x9e, 0xb1, 0x35, 0x56, 0x8a, 0x05, 0x14, 0xbd, 0x00, 0x63, 0xed, 0x90, 0xec,
  49899. 0xbb, 0x41, 0x27, 0x4a, 0x7b, 0x53, 0xd7, 0x44, 0x39, 0x56, 0x18, 0xf4, 0xde, 0x15, 0xb9, 0x7e,
  49900. 0x83, 0x48, 0xfb, 0xb2, 0x21, 0x66, 0x5f, 0xc6, 0x43, 0xca, 0x6b, 0xe5, 0xd8, 0xc0, 0x42, 0xf7,
  49901. 0xa0, 0xc4, 0xfe, 0x33, 0x8e, 0x72, 0xf2, 0x24, 0x67, 0x22, 0x8f, 0x8b, 0x20, 0x80, 0x13, 0x5a,
  49902. 0xe8, 0x1a, 0x40, 0x2c, 0x2d, 0xe1, 0x22, 0xe1, 0xec, 0xaf, 0x64, 0x6d, 0x65, 0x23, 0x17, 0x61,
  49903. 0x0d, 0x0b, 0x3d, 0x0f, 0xa5, 0xd8, 0x71, 0xbd, 0x5b, 0xae, 0x4f, 0x22, 0x61, 0x49, 0x28, 0xd2,
  49904. 0xb4, 0x88, 0x42, 0x9c, 0xc0, 0xa9, 0xac, 0xc3, 0x42, 0x49, 0xf0, 0x14, 0x89, 0x63, 0x0c, 0x9b,
  49905. 0xc9, 0x3a, 0xb7, 0x54, 0x29, 0xd6, 0x30, 0xec, 0xd7, 0xe1, 0x42, 0x2d, 0x68, 0xd6, 0x82, 0x30,
  49906. 0x5e, 0x0b, 0xc2, 0xfb, 0x4e, 0xd8, 0x94, 0xf3, 0x57, 0x96, 0x19, 0x43, 0x28, 0xef, 0x19, 0xe6,
  49907. 0x3b, 0xd3, 0xc8, 0x05, 0xf2, 0x32, 0x93, 0x76, 0x4e, 0xe8, 0xf6, 0xf5, 0xbf, 0x0b, 0x8c, 0x51,
  49908. 0xa4, 0xf2, 0x76, 0xa2, 0x2f, 0xc3, 0x54, 0x44, 0x6e, 0xb9, 0x7e, 0xe7, 0x81, 0xbc, 0x1f, 0xf7,
  49909. 0xf0, 0xa9, 0xab, 0xaf, 0xea, 0x98, 0x5c, 0xcb, 0x66, 0x96, 0xe1, 0x14, 0x35, 0x3a, 0x84, 0x61,
  49910. 0xc7, 0x5f, 0x8a, 0xee, 0x44, 0x24, 0x14, 0x79, 0x23, 0xd9, 0x10, 0x62, 0x59, 0x88, 0x13, 0x38,
  49911. 0x5d, 0x32, 0xec, 0xcf, 0x46, 0xe0, 0xe3, 0x20, 0x88, 0xe5, 0x22, 0x63, 0x99, 0xc7, 0xb4, 0x72,
  49912. 0x6c, 0x60, 0xa1, 0x35, 0x40, 0x51, 0xa7, 0xdd, 0xf6, 0xd8, 0x03, 0xb8, 0xe3, 0x5d, 0x0f, 0x83,
  49913. 0x4e, 0x9b, 0x3f, 0x3e, 0x8a, 0xa4, 0x5d, 0xf5, 0x2e, 0x28, 0xce, 0xa8, 0x41, 0x19, 0xc3, 0x76,
  49914. 0xc4, 0x7e, 0x8b, 0x68, 0x12, 0x5c, 0xf3, 0x5d, 0x67, 0x45, 0x58, 0xc2, 0xe8, 0x3c, 0xb3, 0xe6,
  49915. 0x39, 0xe6, 0x48, 0x32, 0xcf, 0x58, 0x95, 0x62, 0x0d, 0xc3, 0xfe, 0x1e, 0x76, 0xc0, 0xb0, 0xf4,
  49916. 0x80, 0x71, 0x27, 0x24, 0x68, 0x0f, 0x26, 0xdb, 0xec, 0xe8, 0x17, 0x81, 0xd6, 0xc5, 0x80, 0x3f,
  49917. 0x9c, 0x9d, 0x21, 0x4f, 0x17, 0xa6, 0x93, 0xc3, 0x26, 0x75, 0xfb, 0xa7, 0x67, 0x18, 0x1f, 0xab,
  49918. 0xf3, 0xeb, 0xdf, 0xa8, 0xf0, 0x1e, 0x10, 0xb2, 0xee, 0x7c, 0xbe, 0x1e, 0x22, 0x39, 0x72, 0x84,
  49919. 0x07, 0x02, 0x96, 0x75, 0xd1, 0xdb, 0xec, 0x95, 0x97, 0x33, 0x8f, 0x7e, 0x79, 0xc6, 0x39, 0x96,
  49920. 0xf1, 0xa0, 0x2b, 0x2a, 0x62, 0x8d, 0x08, 0xba, 0x05, 0x93, 0x22, 0x9b, 0x9c, 0x50, 0x34, 0x15,
  49921. 0x0d, 0x45, 0xc2, 0x24, 0xd6, 0x81, 0xc7, 0xe9, 0x02, 0x6c, 0x56, 0x46, 0x2d, 0x78, 0x4a, 0x4b,
  49922. 0xad, 0x9a, 0x61, 0xeb, 0xca, 0x79, 0xd1, 0xd3, 0x47, 0x87, 0xe5, 0xa7, 0x36, 0x7b, 0x21, 0xe2,
  49923. 0xde, 0x74, 0xd0, 0x6d, 0xb8, 0xe0, 0x34, 0x62, 0x77, 0x9f, 0x54, 0x88, 0xd3, 0xf4, 0x5c, 0x9f,
  49924. 0x98, 0xe1, 0x48, 0x2e, 0x1e, 0x1d, 0x96, 0x2f, 0x2c, 0x65, 0x21, 0xe0, 0xec, 0x7a, 0xe8, 0xf3,
  49925. 0x50, 0x6a, 0xfa, 0x91, 0x18, 0x83, 0x11, 0x23, 0x6b, 0x70, 0xa9, 0xb2, 0x51, 0x57, 0xdf, 0x9f,
  49926. 0xfc, 0xc1, 0x49, 0x05, 0xd4, 0xe2, 0xca, 0x26, 0x75, 0xb7, 0x1b, 0xed, 0x8a, 0x31, 0x93, 0xd6,
  49927. 0x12, 0x18, 0x7e, 0x7a, 0x5c, 0xcb, 0xaa, 0x2c, 0xc9, 0x0d, 0x17, 0x3e, 0x83, 0x30, 0x7a, 0x0b,
  49928. 0x10, 0x15, 0x7e, 0xdc, 0x06, 0x59, 0x6a, 0xb0, 0x78, 0xf7, 0x4c, 0x37, 0x37, 0x66, 0xb8, 0x45,
  49929. 0xa1, 0x7a, 0x17, 0x06, 0xce, 0xa8, 0x85, 0x6e, 0x50, 0x0e, 0xa4, 0x97, 0x0a, 0xc3, 0x7f, 0x29,
  49930. 0x30, 0xcf, 0x55, 0x48, 0x3b, 0x24, 0x0d, 0x27, 0x26, 0x4d, 0x93, 0x22, 0x4e, 0xd5, 0xa3, 0xe7,
  49931. 0x93, 0x4a, 0x7d, 0x05, 0xa6, 0xb9, 0x7a, 0x77, 0xfa, 0x2b, 0x7a, 0xd7, 0xdc, 0x09, 0xa2, 0x78,
  49932. 0x83, 0xc4, 0xf7, 0x83, 0x70, 0x57, 0xc4, 0x10, 0x4c, 0xc2, 0xd9, 0x26, 0x20, 0xac, 0xe3, 0x51,
  49933. 0xd9, 0x92, 0x3d, 0xb3, 0x56, 0x2b, 0xec, 0xd5, 0x6b, 0x2c, 0xd9, 0x27, 0x37, 0x78, 0x31, 0x96,
  49934. 0x70, 0x89, 0x5a, 0xad, 0xad, 0xb0, 0x17, 0xac, 0x14, 0x6a, 0xb5, 0xb6, 0x82, 0x25, 0x1c, 0x91,
  49935. 0xee, 0x8c, 0xcc, 0x53, 0xf9, 0x9a, 0xc2, 0x6e, 0x3e, 0x3e, 0x60, 0x52, 0x66, 0x1f, 0x66, 0x54,
  49936. 0x2e, 0x68, 0x1e, 0x5c, 0x31, 0x9a, 0x9b, 0x66, 0x8b, 0x64, 0xf0, 0xc8, 0x8c, 0x4a, 0xf7, 0x5a,
  49937. 0x4d, 0x51, 0xc2, 0x5d, 0xb4, 0x8d, 0x30, 0x37, 0x33, 0x7d, 0x53, 0x97, 0x2d, 0x42, 0x29, 0xea,
  49938. 0x6c, 0x35, 0x83, 0x3d, 0xc7, 0xf5, 0xd9, 0x83, 0x93, 0x26, 0xb8, 0xd4, 0x25, 0x00, 0x27, 0x38,
  49939. 0x68, 0x0d, 0xc6, 0x1c, 0xa9, 0x58, 0x45, 0xf9, 0x71, 0x2f, 0x94, 0x3a, 0x95, 0x89, 0xe5, 0x4a,
  49940. 0x95, 0xaa, 0xea, 0xa2, 0x37, 0x60, 0x52, 0xb8, 0x66, 0x0a, 0xab, 0xea, 0x73, 0xa6, 0x17, 0x4f,
  49941. 0x5d, 0x07, 0x62, 0x13, 0x17, 0x7d, 0x17, 0x4c, 0x51, 0x2a, 0x09, 0x63, 0x9b, 0x3b, 0x3f, 0x08,
  49942. 0x47, 0xd4, 0x52, 0xd2, 0xe8, 0x95, 0x71, 0x8a, 0x18, 0x6a, 0xc2, 0x93, 0x4e, 0x27, 0x0e, 0x98,
  49943. 0x72, 0xda, 0x5c, 0xff, 0x9b, 0xc1, 0x2e, 0xf1, 0xd9, 0xbb, 0xd0, 0xd8, 0xf2, 0xe5, 0xa3, 0xc3,
  49944. 0xf2, 0x93, 0x4b, 0x3d, 0xf0, 0x70, 0x4f, 0x2a, 0xe8, 0x0e, 0x8c, 0xc7, 0x81, 0x27, 0xdc, 0x21,
  49945. 0xa2, 0xb9, 0xc7, 0xf2, 0xc3, 0x74, 0x6d, 0x2a, 0x34, 0x5d, 0x31, 0xa3, 0xaa, 0x62, 0x9d, 0x0e,
  49946. 0xda, 0xe4, 0x7b, 0x8c, 0x05, 0x30, 0x26, 0xd1, 0xdc, 0xe3, 0xf9, 0x03, 0xa3, 0xe2, 0x1c, 0x9b,
  49947. 0x5b, 0x50, 0xd4, 0xc4, 0x3a, 0x19, 0x74, 0x1d, 0x66, 0xdb, 0xa1, 0x1b, 0xb0, 0x85, 0xad, 0x1e,
  49948. 0x06, 0xe6, 0xcc, 0x2c, 0x24, 0xb5, 0x34, 0x02, 0xee, 0xae, 0x43, 0x2f, 0x6e, 0xb2, 0x70, 0xee,
  49949. 0x22, 0x4f, 0x69, 0xc7, 0x85, 0x59, 0x5e, 0x86, 0x15, 0x14, 0xad, 0x33, 0xbe, 0xcc, 0xaf, 0x58,
  49950. 0x73, 0xf3, 0xf9, 0xf1, 0x42, 0xf4, 0xab, 0x18, 0x17, 0x74, 0xd4, 0x5f, 0x9c, 0x50, 0xa0, 0xe7,
  49951. 0x46, 0xb4, 0xe3, 0x84, 0xa4, 0x16, 0x06, 0x0d, 0xc2, 0x3b, 0xc3, 0xcd, 0xcf, 0x9f, 0xe0, 0x71,
  49952. 0x56, 0xe9, 0xb9, 0x51, 0xcf, 0x42, 0xc0, 0xd9, 0xf5, 0xe6, 0xbf, 0x1d, 0x66, 0xbb, 0x38, 0xf9,
  49953. 0x89, 0x4c, 0xe7, 0xff, 0x6c, 0x18, 0x4a, 0x4a, 0xf1, 0x8b, 0x16, 0x4d, 0x7d, 0xfe, 0xc5, 0xb4,
  49954. 0x3e, 0x7f, 0x8c, 0xca, 0x9f, 0xba, 0x0a, 0x7f, 0xd3, 0x30, 0xfc, 0x2a, 0xe4, 0xa7, 0xba, 0xd3,
  49955. 0xb5, 0x1e, 0x7d, 0xfd, 0x5c, 0xb5, 0x7b, 0x7c, 0x71, 0xe0, 0x87, 0x81, 0xa1, 0x9e, 0xaa, 0x81,
  49956. 0x01, 0xb3, 0x77, 0xd3, 0xab, 0x6e, 0x3b, 0x68, 0x56, 0x6b, 0xe9, 0x74, 0xb6, 0x35, 0x5a, 0x88,
  49957. 0x39, 0x8c, 0x5d, 0x56, 0xa8, 0xd8, 0xc1, 0x2e, 0x2b, 0xa3, 0x0f, 0x79, 0x59, 0x91, 0x04, 0x70,
  49958. 0x42, 0x0b, 0x79, 0x30, 0xdb, 0x30, 0x33, 0x11, 0x2b, 0xdf, 0xd6, 0x67, 0xfa, 0xe6, 0x04, 0xee,
  49959. 0x68, 0x29, 0x0a, 0x57, 0xd2, 0x54, 0x70, 0x37, 0x61, 0xf4, 0x06, 0x8c, 0xbd, 0x1f, 0x44, 0x6c,
  49960. 0x5b, 0x88, 0xb3, 0x57, 0x7a, 0x13, 0x8e, 0xbd, 0x7d, 0xbb, 0xce, 0xca, 0x8f, 0x0f, 0xcb, 0xe3,
  49961. 0xb5, 0xa0, 0x29, 0xff, 0x62, 0x55, 0x01, 0x3d, 0x80, 0x0b, 0x06, 0xc7, 0x52, 0xdd, 0x85, 0xc1,
  49962. 0xbb, 0xfb, 0x94, 0x68, 0xee, 0x42, 0x35, 0x8b, 0x12, 0xce, 0x6e, 0x80, 0xb2, 0x01, 0x3f, 0x10,
  49963. 0x59, 0xbc, 0xe5, 0xf9, 0xce, 0x8e, 0xf1, 0x92, 0x1e, 0x94, 0x21, 0x85, 0x80, 0xbb, 0xeb, 0xd8,
  49964. 0xdf, 0xe0, 0x7a, 0x72, 0xa1, 0x4d, 0x23, 0x51, 0xc7, 0x3b, 0x8b, 0x84, 0x66, 0xab, 0x86, 0xa2,
  49965. 0xef, 0xa1, 0xdf, 0x62, 0x7e, 0xc3, 0x62, 0x6f, 0x31, 0x9b, 0x64, 0xaf, 0xed, 0x39, 0xf1, 0x59,
  49966. 0x78, 0x5e, 0xbc, 0x0d, 0x63, 0xb1, 0x68, 0xad, 0x57, 0x0e, 0x36, 0xad, 0x53, 0xec, 0x3d, 0x4a,
  49967. 0x9d, 0xfc, 0xb2, 0x14, 0x2b, 0x32, 0xf6, 0xbf, 0xe4, 0x33, 0x20, 0x21, 0x67, 0xa0, 0x74, 0xa9,
  49968. 0x98, 0x4a, 0x97, 0x72, 0x9f, 0x2f, 0xc8, 0x51, 0xbe, 0xfc, 0x0b, 0xb3, 0xdf, 0xec, 0x92, 0xf5,
  49969. 0x71, 0x7f, 0x04, 0xb4, 0x7f, 0xdc, 0x82, 0xf3, 0x59, 0x56, 0x33, 0x54, 0x5a, 0xe3, 0x57, 0x3c,
  49970. 0xf5, 0x28, 0xaa, 0x46, 0xf0, 0xae, 0x28, 0xc7, 0x0a, 0x63, 0xe0, 0xf4, 0x26, 0x27, 0x8b, 0xc1,
  49971. 0x77, 0x1b, 0xcc, 0xec, 0xd7, 0xe8, 0x4d, 0xee, 0x4a, 0x65, 0xa9, 0xf4, 0xd4, 0x27, 0x73, 0xa3,
  49972. 0xb2, 0x7f, 0xae, 0x00, 0xe7, 0xf9, 0xab, 0xc6, 0xd2, 0x7e, 0xe0, 0x36, 0x6b, 0x41, 0x53, 0x38,
  49973. 0x96, 0xbd, 0x03, 0x13, 0x6d, 0xed, 0x5e, 0xde, 0x2b, 0x0a, 0x98, 0x7e, 0x7f, 0x4f, 0xee, 0x47,
  49974. 0x7a, 0x29, 0x36, 0x68, 0xa1, 0x26, 0x4c, 0x90, 0x7d, 0xb7, 0xa1, 0x54, 0xe3, 0x85, 0x13, 0x9f,
  49975. 0x0d, 0xaa, 0x95, 0x55, 0x8d, 0x0e, 0x36, 0xa8, 0x3e, 0x82, 0x6c, 0x85, 0xf6, 0x4f, 0x58, 0xf0,
  49976. 0x78, 0x4e, 0xcc, 0x30, 0xda, 0xdc, 0x7d, 0xf6, 0x7e, 0x24, 0x12, 0x9f, 0xa9, 0xe6, 0xf8, 0xab,
  49977. 0x12, 0x16, 0x50, 0xf4, 0x45, 0x00, 0xfe, 0x2a, 0x44, 0xaf, 0x0b, 0xe2, 0xd3, 0x07, 0x8b, 0xa5,
  49978. 0xa3, 0x05, 0x5c, 0x91, 0xf5, 0xb1, 0x46, 0xcb, 0xfe, 0x99, 0x22, 0x0c, 0xb3, 0x57, 0x08, 0xb4,
  49979. 0x06, 0xa3, 0x3b, 0x3c, 0x42, 0xf9, 0x20, 0xc1, 0xd0, 0x93, 0x7b, 0x17, 0x2f, 0xc0, 0xb2, 0x32,
  49980. 0x5a, 0x87, 0x73, 0xc2, 0x79, 0xb1, 0x42, 0x3c, 0xe7, 0x40, 0x5e, 0xdf, 0x79, 0xb2, 0x30, 0x95,
  49981. 0x1e, 0xaf, 0xda, 0x8d, 0x82, 0xb3, 0xea, 0xa1, 0x37, 0xbb, 0xe2, 0x92, 0xf2, 0xd8, 0xee, 0x4a,
  49982. 0xd8, 0xef, 0x13, 0x9b, 0xf4, 0x0d, 0x98, 0x6c, 0x77, 0x29, 0x2a, 0x86, 0x93, 0x8b, 0x88, 0xa9,
  49983. 0x9c, 0x30, 0x71, 0x99, 0xb9, 0x4c, 0x87, 0x19, 0x07, 0x6d, 0xee, 0x84, 0x24, 0xda, 0x09, 0xbc,
  49984. 0xa6, 0xc8, 0xdf, 0x9f, 0x98, 0xcb, 0xa4, 0xe0, 0xb8, 0xab, 0x06, 0xa5, 0xb2, 0xed, 0xb8, 0x5e,
  49985. 0x27, 0x24, 0x09, 0x95, 0x11, 0x93, 0xca, 0x5a, 0x0a, 0x8e, 0xbb, 0x6a, 0xd0, 0x75, 0x74, 0x41,
  49986. 0x24, 0x7f, 0x97, 0x21, 0x2d, 0x94, 0x0d, 0xd4, 0xa8, 0x74, 0x6d, 0xe9, 0x11, 0x66, 0x49, 0x58,
  49987. 0x89, 0xa8, 0xf4, 0xf1, 0x5a, 0x6a, 0x61, 0xe1, 0xd4, 0x22, 0xa9, 0x3c, 0x4c, 0x0a, 0xf2, 0x3f,
  49988. 0xb0, 0xe0, 0x5c, 0x86, 0xad, 0x25, 0x67, 0x55, 0x2d, 0x37, 0x8a, 0x55, 0x42, 0x24, 0x8d, 0x55,
  49989. 0xf1, 0x72, 0xac, 0x30, 0xe8, 0x7e, 0xe0, 0xcc, 0x30, 0xcd, 0x00, 0x85, 0x2d, 0x93, 0x80, 0x9e,
  49990. 0x8c, 0x01, 0xa2, 0xcb, 0x30, 0xd4, 0x89, 0x48, 0x28, 0x73, 0x77, 0x4b, 0xfe, 0xcd, 0x54, 0xa5,
  49991. 0x0c, 0x42, 0x45, 0xd3, 0x96, 0xd2, 0x52, 0x6a, 0xa2, 0x29, 0x57, 0x3d, 0x72, 0x98, 0xfd, 0xb5,
  49992. 0x22, 0x5c, 0xcc, 0xb5, 0xa5, 0xa6, 0x5d, 0xda, 0x0b, 0x7c, 0x37, 0x0e, 0xd4, 0x0b, 0x17, 0x8f,
  49993. 0x07, 0x44, 0xda, 0x3b, 0xeb, 0xa2, 0x1c, 0x2b, 0x0c, 0x74, 0x05, 0x86, 0xd9, 0xcd, 0xbe, 0x2b,
  49994. 0xe5, 0xd3, 0x72, 0x85, 0x87, 0xa9, 0xe0, 0xe0, 0x81, 0xd3, 0xe9, 0x3d, 0x03, 0x43, 0xed, 0x20,
  49995. 0xf0, 0xd2, 0xcc, 0x88, 0x76, 0x37, 0x08, 0x3c, 0xcc, 0x80, 0xe8, 0x53, 0x62, 0x1c, 0x52, 0x4f,
  49996. 0x3a, 0xd8, 0x69, 0x06, 0x91, 0x36, 0x18, 0xcf, 0xc2, 0xe8, 0x2e, 0x39, 0x08, 0x5d, 0xbf, 0x95,
  49997. 0x7e, 0xea, 0xbb, 0xc9, 0x8b, 0xb1, 0x84, 0x9b, 0x19, 0x4f, 0x46, 0x4f, 0x3b, 0x0f, 0xde, 0x58,
  49998. 0xdf, 0xa3, 0xed, 0x87, 0x8a, 0x30, 0x8d, 0x97, 0x2b, 0xdf, 0x9a, 0x88, 0x3b, 0xdd, 0x13, 0x71,
  49999. 0xda, 0x79, 0xf0, 0xfa, 0xcf, 0xc6, 0x2f, 0x59, 0x30, 0xcd, 0xa2, 0x82, 0x8b, 0x78, 0x36, 0x6e,
  50000. 0xe0, 0x9f, 0x81, 0xe8, 0xf6, 0x0c, 0x0c, 0x87, 0xb4, 0xd1, 0x74, 0x72, 0x2b, 0xd6, 0x13, 0xcc,
  50001. 0x61, 0xe8, 0x49, 0x18, 0x62, 0x5d, 0xa0, 0x93, 0x37, 0xc1, 0xf3, 0x82, 0x54, 0x9c, 0xd8, 0xc1,
  50002. 0xac, 0x94, 0x39, 0x16, 0x63, 0xd2, 0xf6, 0x5c, 0xde, 0xe9, 0x44, 0xd5, 0xff, 0xf1, 0x70, 0x2c,
  50003. 0xce, 0xec, 0xda, 0x87, 0x73, 0x2c, 0xce, 0x26, 0xd9, 0xfb, 0x5a, 0xf4, 0x3f, 0x0a, 0x70, 0x29,
  50004. 0xb3, 0xde, 0xc0, 0x8e, 0xc5, 0xbd, 0x6b, 0x9f, 0x8e, 0xc5, 0x46, 0xb6, 0x21, 0x45, 0xf1, 0x0c,
  50005. 0x0d, 0x29, 0x86, 0x06, 0x95, 0x1c, 0x87, 0x07, 0xf0, 0xf7, 0xcd, 0x1c, 0xb2, 0x8f, 0x89, 0xbf,
  50006. 0x6f, 0x66, 0xdf, 0x72, 0xae, 0x75, 0x7f, 0x51, 0xc8, 0xf9, 0x16, 0x76, 0xc1, 0xbb, 0x4a, 0xf9,
  50007. 0x0c, 0x03, 0x46, 0x42, 0x12, 0x9e, 0xe0, 0x3c, 0x86, 0x97, 0x61, 0x05, 0x45, 0xae, 0xe6, 0x39,
  50008. 0x5b, 0xc8, 0x4f, 0x7d, 0x9a, 0xdb, 0xd4, 0x82, 0xf9, 0x32, 0xa3, 0x07, 0xdf, 0x49, 0x7b, 0xd1,
  50009. 0xae, 0x6b, 0x97, 0xf2, 0xe2, 0xe0, 0x97, 0xf2, 0x89, 0xec, 0x0b, 0x39, 0x5a, 0x82, 0xe9, 0x3d,
  50010. 0xd7, 0xa7, 0x6c, 0xf3, 0xc0, 0x14, 0x45, 0x55, 0x20, 0x89, 0x75, 0x13, 0x8c, 0xd3, 0xf8, 0xf3,
  50011. 0x6f, 0xc0, 0xe4, 0xc3, 0xab, 0x23, 0xbf, 0x59, 0x84, 0x27, 0x7a, 0x6c, 0x7b, 0xce, 0xeb, 0x8d,
  50012. 0x39, 0xd0, 0x78, 0x7d, 0xd7, 0x3c, 0xd4, 0xe0, 0xfc, 0x76, 0xc7, 0xf3, 0x0e, 0x98, 0xad, 0x22,
  50013. 0x69, 0x4a, 0x0c, 0x21, 0x2b, 0xaa, 0x90, 0xff, 0x6b, 0x19, 0x38, 0x38, 0xb3, 0x26, 0x7a, 0x0b,
  50014. 0x50, 0x20, 0xf2, 0x2e, 0x27, 0x21, 0x85, 0xd8, 0xc0, 0x17, 0x93, 0xcd, 0x78, 0xbb, 0x0b, 0x03,
  50015. 0x67, 0xd4, 0xa2, 0x42, 0x3f, 0x3d, 0x95, 0x0e, 0x54, 0xb7, 0x52, 0x42, 0x3f, 0xd6, 0x81, 0xd8,
  50016. 0xc4, 0x45, 0xd7, 0x61, 0xd6, 0xd9, 0x77, 0x5c, 0x1e, 0x62, 0x52, 0x12, 0xe0, 0x52, 0xbf, 0x52,
  50017. 0x82, 0x2d, 0xa5, 0x11, 0x70, 0x77, 0x9d, 0x94, 0xeb, 0xee, 0x48, 0xbe, 0xeb, 0x6e, 0x6f, 0xbe,
  50018. 0xd8, 0x4f, 0xa7, 0x6b, 0xff, 0x67, 0x8b, 0x1e, 0x5f, 0x5c, 0x78, 0x37, 0xc3, 0x6d, 0xbd, 0x01,
  50019. 0x93, 0x4a, 0x37, 0xa9, 0x79, 0xd1, 0xaa, 0x71, 0x58, 0xd1, 0x81, 0xd8, 0xc4, 0xe5, 0x0b, 0x22,
  50020. 0x4a, 0x1c, 0x3a, 0x0c, 0xd1, 0x5d, 0xb8, 0xc9, 0x2b, 0x0c, 0xf4, 0x25, 0x18, 0x6d, 0xba, 0xfb,
  50021. 0x6e, 0x14, 0x84, 0x62, 0xb3, 0x9c, 0xd0, 0x2c, 0x3e, 0xe1, 0x83, 0x15, 0x4e, 0x06, 0x4b, 0x7a,
  50022. 0xf6, 0x0f, 0x15, 0x60, 0x52, 0xb6, 0xf8, 0x76, 0x27, 0x88, 0x9d, 0x33, 0x38, 0x96, 0xaf, 0x1b,
  50023. 0xc7, 0xf2, 0xa7, 0x7a, 0xc5, 0x0a, 0x60, 0x5d, 0xca, 0x3d, 0x8e, 0x6f, 0xa7, 0x8e, 0xe3, 0x4f,
  50024. 0xf7, 0x27, 0xd5, 0xfb, 0x18, 0xfe, 0x57, 0x16, 0xcc, 0x1a, 0xf8, 0x67, 0x70, 0x1a, 0xac, 0x99,
  50025. 0xa7, 0xc1, 0xd3, 0x7d, 0xbf, 0x21, 0xe7, 0x14, 0xf8, 0x7a, 0x21, 0xd5, 0x77, 0xc6, 0xfd, 0xdf,
  50026. 0x87, 0xa1, 0x1d, 0x27, 0x6c, 0xf6, 0x0a, 0x94, 0xdc, 0x55, 0x69, 0xe1, 0x86, 0x13, 0x36, 0x39,
  50027. 0x0f, 0x7f, 0x41, 0x65, 0x6b, 0x75, 0xc2, 0x66, 0x5f, 0xff, 0x25, 0xd6, 0x14, 0x7a, 0x1d, 0x46,
  50028. 0xa2, 0x46, 0xd0, 0x56, 0xd6, 0x85, 0x97, 0x79, 0x26, 0x57, 0x5a, 0x72, 0x7c, 0x58, 0x46, 0x66,
  50029. 0x73, 0xb4, 0x18, 0x0b, 0xfc, 0xf9, 0x16, 0x94, 0x54, 0xd3, 0x8f, 0xd4, 0x37, 0xe4, 0x77, 0x8b,
  50030. 0x70, 0x2e, 0x63, 0x5d, 0xa0, 0xc8, 0x18, 0xad, 0x97, 0x06, 0x5c, 0x4e, 0x1f, 0x72, 0xbc, 0x22,
  50031. 0x76, 0x63, 0x69, 0x8a, 0xf9, 0x1f, 0xb8, 0xd1, 0x3b, 0x11, 0x49, 0x37, 0x4a, 0x8b, 0xfa, 0x37,
  50032. 0x4a, 0x1b, 0x3b, 0xb3, 0xa1, 0xa6, 0x0d, 0xa9, 0x9e, 0x3e, 0xd2, 0x39, 0xfd, 0xd3, 0x22, 0x9c,
  50033. 0xcf, 0x0a, 0x31, 0x82, 0xbe, 0x3b, 0x95, 0x76, 0xe9, 0x95, 0x41, 0x83, 0x93, 0xf0, 0x5c, 0x4c,
  50034. 0x22, 0x26, 0xdb, 0x82, 0x99, 0x88, 0xa9, 0xef, 0x30, 0x8b, 0x36, 0x99, 0x43, 0x61, 0xc8, 0xd3,
  50035. 0x65, 0xc9, 0x2d, 0xfe, 0xd9, 0x81, 0x3b, 0x20, 0xf2, 0x6c, 0x45, 0x29, 0x87, 0x42, 0x59, 0xdc,
  50036. 0xdf, 0xa1, 0x50, 0xb6, 0x3c, 0xef, 0xc2, 0xb8, 0xf6, 0x35, 0x8f, 0x74, 0xc6, 0x77, 0xe9, 0x89,
  50037. 0xa2, 0xf5, 0xfb, 0x91, 0xce, 0xfa, 0x4f, 0x58, 0x90, 0xb2, 0xe9, 0x53, 0x2a, 0x29, 0x2b, 0x57,
  50038. 0x25, 0x75, 0x19, 0x86, 0xc2, 0xc0, 0x23, 0xe9, 0x4c, 0x3c, 0x38, 0xf0, 0x08, 0x66, 0x10, 0x8a,
  50039. 0x11, 0x27, 0x0a, 0x89, 0x09, 0xfd, 0xb2, 0x25, 0xae, 0x51, 0xcf, 0xc0, 0xb0, 0x47, 0xf6, 0x89,
  50040. 0xd4, 0x46, 0x28, 0x9e, 0x7c, 0x8b, 0x16, 0x62, 0x0e, 0xb3, 0x7f, 0x69, 0x08, 0x9e, 0xea, 0xe9,
  50041. 0x92, 0x4b, 0xaf, 0x2c, 0x2d, 0x27, 0x26, 0xf7, 0x9d, 0x83, 0x74, 0x9c, 0xf0, 0xeb, 0xbc, 0x18,
  50042. 0x4b, 0x38, 0xb3, 0x40, 0xe6, 0xa1, 0x46, 0x53, 0x0a, 0x3c, 0x11, 0x61, 0x54, 0x40, 0x4d, 0xc5,
  50043. 0x51, 0xf1, 0x34, 0x14, 0x47, 0xd7, 0x00, 0xa2, 0xc8, 0x5b, 0xf5, 0xa9, 0x04, 0xd6, 0x14, 0xa6,
  50044. 0xcd, 0x49, 0x48, 0xda, 0xfa, 0x2d, 0x01, 0xc1, 0x1a, 0x16, 0xaa, 0xc0, 0x4c, 0x3b, 0x0c, 0x62,
  50045. 0xae, 0x0f, 0xad, 0x70, 0x23, 0x99, 0x61, 0xd3, 0x1b, 0xb2, 0x96, 0x82, 0xe3, 0xae, 0x1a, 0xe8,
  50046. 0x55, 0x18, 0x17, 0x1e, 0x92, 0xb5, 0x20, 0xf0, 0x84, 0xaa, 0x46, 0x99, 0x5c, 0xd4, 0x13, 0x10,
  50047. 0xd6, 0xf1, 0xb4, 0x6a, 0x4c, 0xc9, 0x3a, 0x9a, 0x59, 0x8d, 0x2b, 0x5a, 0x35, 0xbc, 0x54, 0xb8,
  50048. 0xa1, 0xb1, 0x81, 0xc2, 0x0d, 0x25, 0xca, 0xab, 0xd2, 0xc0, 0xef, 0x4a, 0xd0, 0x57, 0xdd, 0xf3,
  50049. 0xf3, 0x43, 0x70, 0x4e, 0x2c, 0x9c, 0x47, 0xbd, 0x5c, 0xee, 0x74, 0x2f, 0x97, 0xd3, 0x50, 0x6f,
  50050. 0x7d, 0x6b, 0xcd, 0x9c, 0xf5, 0x9a, 0xf9, 0x46, 0x11, 0x46, 0xf8, 0x54, 0x9c, 0x81, 0x0c, 0xbf,
  50051. 0x26, 0x94, 0x7e, 0x3d, 0x02, 0xed, 0xf0, 0xbe, 0x2c, 0x54, 0x9c, 0xd8, 0xe1, 0xe7, 0x97, 0x62,
  50052. 0xa3, 0x89, 0x7a, 0x10, 0x2d, 0x18, 0x8c, 0x76, 0x3e, 0xa5, 0xd5, 0x02, 0x4e, 0x43, 0x63, 0xbb,
  50053. 0x5f, 0x06, 0x88, 0xe2, 0xd0, 0xf5, 0x5b, 0x94, 0x86, 0x08, 0xd9, 0xf4, 0x5c, 0x8f, 0xd6, 0xeb,
  50054. 0x0a, 0x99, 0xf7, 0x21, 0x59, 0x82, 0x0a, 0x80, 0x35, 0x8a, 0xf3, 0xaf, 0x41, 0x49, 0x21, 0xf7,
  50055. 0x53, 0x01, 0x4c, 0xe8, 0xa7, 0xde, 0x17, 0x60, 0x3a, 0xd5, 0xd6, 0x89, 0x34, 0x08, 0xbf, 0x6c,
  50056. 0xc1, 0x34, 0xef, 0xf2, 0xaa, 0xbf, 0x2f, 0x36, 0xfb, 0x07, 0x70, 0xde, 0xcb, 0xd8, 0x74, 0x62,
  50057. 0x46, 0x07, 0xdf, 0xa4, 0x4a, 0x63, 0x90, 0x05, 0xc5, 0x99, 0x6d, 0xa0, 0xab, 0x30, 0xc6, 0x5d,
  50058. 0x76, 0x1c, 0x4f, 0xb8, 0x59, 0x4c, 0xf0, 0xd4, 0x1d, 0xbc, 0x0c, 0x2b, 0xa8, 0xfd, 0x7b, 0x16,
  50059. 0xcc, 0xf2, 0x9e, 0xdf, 0x24, 0x07, 0xea, 0x76, 0xfc, 0x51, 0xf6, 0x5d, 0x64, 0x26, 0x29, 0xe4,
  50060. 0x64, 0x26, 0xd1, 0x3f, 0xad, 0xd8, 0xf3, 0xd3, 0x7e, 0xce, 0x02, 0xb1, 0x02, 0xcf, 0xe0, 0x1e,
  50061. 0xf8, 0xed, 0xe6, 0x3d, 0x70, 0x3e, 0x7f, 0x51, 0xe7, 0x5c, 0x00, 0xff, 0xdc, 0x82, 0x19, 0x8e,
  50062. 0x90, 0x3c, 0x44, 0x7e, 0xa4, 0xf3, 0x30, 0x48, 0xba, 0x3c, 0x95, 0x9f, 0x3c, 0xfb, 0xa3, 0x8c,
  50063. 0xc9, 0x1a, 0xea, 0x39, 0x59, 0x4d, 0xb9, 0x81, 0x4e, 0x90, 0x06, 0xf2, 0xc4, 0xc1, 0x74, 0xed,
  50064. 0x3f, 0xb1, 0x00, 0xf1, 0x66, 0x8c, 0x73, 0x99, 0x9e, 0x76, 0xac, 0x54, 0xd3, 0x04, 0x25, 0xac,
  50065. 0x46, 0x41, 0xb0, 0x86, 0x75, 0x2a, 0xc3, 0x93, 0x7a, 0x4d, 0x2e, 0xf6, 0x7f, 0x4d, 0x3e, 0xc1,
  50066. 0x88, 0x7e, 0x63, 0x08, 0xd2, 0x36, 0xda, 0xe8, 0x2e, 0x4c, 0x34, 0x9c, 0xb6, 0xb3, 0xe5, 0x7a,
  50067. 0x6e, 0xec, 0x92, 0xa8, 0x97, 0x19, 0xca, 0x8a, 0x86, 0x27, 0xde, 0x09, 0xb5, 0x12, 0x6c, 0xd0,
  50068. 0x41, 0x0b, 0x00, 0xed, 0xd0, 0xdd, 0x77, 0x3d, 0xd2, 0x62, 0x57, 0x61, 0xe6, 0xd8, 0xc5, 0x6d,
  50069. 0x2b, 0x64, 0x29, 0xd6, 0x30, 0x32, 0x1c, 0x81, 0x8a, 0x8f, 0xce, 0x11, 0x68, 0xe8, 0x84, 0x8e,
  50070. 0x40, 0xc3, 0x03, 0x39, 0x02, 0x61, 0x78, 0x4c, 0x9e, 0xdd, 0xf4, 0xff, 0x9a, 0xeb, 0x11, 0x21,
  50071. 0xb0, 0x71, 0x77, 0xaf, 0xf9, 0xa3, 0xc3, 0xf2, 0x63, 0x38, 0x13, 0x03, 0xe7, 0xd4, 0x44, 0x5f,
  50072. 0x84, 0x39, 0xc7, 0xf3, 0x82, 0xfb, 0x6a, 0xd4, 0x56, 0xa3, 0x86, 0xe3, 0x25, 0xb1, 0xe5, 0xc7,
  50073. 0x96, 0x9f, 0x3c, 0x3a, 0x2c, 0xcf, 0x2d, 0xe5, 0xe0, 0xe0, 0xdc, 0xda, 0x29, 0x3f, 0xa2, 0xb1,
  50074. 0xbe, 0x7e, 0x44, 0xbb, 0x70, 0xae, 0x4e, 0x42, 0x99, 0x89, 0x56, 0x6d, 0xc9, 0x4d, 0x28, 0x85,
  50075. 0x29, 0x26, 0x34, 0x50, 0x0c, 0x18, 0x2d, 0x4e, 0xa8, 0x64, 0x3a, 0x09, 0x21, 0xfb, 0xcf, 0x2c,
  50076. 0x18, 0x15, 0x76, 0xe2, 0x67, 0x20, 0xfb, 0x2c, 0x19, 0xfa, 0xcb, 0x72, 0x36, 0xa3, 0x66, 0x9d,
  50077. 0xc9, 0xd5, 0x5c, 0x56, 0x53, 0x9a, 0xcb, 0xa7, 0x7b, 0x11, 0xe9, 0xad, 0xb3, 0xfc, 0xb1, 0x22,
  50078. 0x4c, 0x99, 0x36, 0xf2, 0x67, 0x30, 0x04, 0x1b, 0x30, 0x1a, 0x09, 0x87, 0x8c, 0x42, 0xbe, 0xe1,
  50079. 0x6c, 0x7a, 0x12, 0x13, 0xab, 0x18, 0xe1, 0x82, 0x21, 0x89, 0x64, 0x7a, 0x7a, 0x14, 0x1f, 0xa1,
  50080. 0xa7, 0x47, 0x3f, 0x37, 0x85, 0xa1, 0xd3, 0x70, 0x53, 0xb0, 0x7f, 0x95, 0x1d, 0x16, 0x7a, 0xf9,
  50081. 0x19, 0xc8, 0x11, 0xd7, 0xcd, 0x63, 0xc5, 0xee, 0xb1, 0xb2, 0x44, 0xa7, 0x72, 0xe4, 0x89, 0x7f,
  50082. 0x66, 0xc1, 0xb8, 0x40, 0x3c, 0x83, 0x6e, 0x7f, 0x87, 0xd9, 0xed, 0x27, 0x7a, 0x74, 0x3b, 0xa7,
  50083. 0xbf, 0xff, 0xa0, 0xa0, 0xfa, 0x5b, 0x0b, 0xc2, 0x78, 0xa0, 0xdc, 0x24, 0x63, 0xf4, 0xf6, 0x18,
  50084. 0x34, 0x02, 0x4f, 0x1c, 0xfe, 0x4f, 0x26, 0x1e, 0xc2, 0xbc, 0xfc, 0x58, 0xfb, 0x8d, 0x15, 0x36,
  50085. 0x73, 0x60, 0x0d, 0xc2, 0x58, 0x1c, 0xb8, 0x89, 0x03, 0x6b, 0x10, 0xc6, 0x98, 0x41, 0x50, 0x13,
  50086. 0x20, 0x76, 0xc2, 0x16, 0x89, 0x69, 0x99, 0x08, 0x36, 0x90, 0xbf, 0x0b, 0x3b, 0xb1, 0xeb, 0x2d,
  50087. 0xb8, 0x7e, 0x1c, 0xc5, 0xe1, 0x42, 0xd5, 0x8f, 0x6f, 0x87, 0xfc, 0x2e, 0xa1, 0xb9, 0xfc, 0x2a,
  50088. 0x5a, 0x58, 0xa3, 0x2b, 0x7d, 0xc8, 0x58, 0x1b, 0xc3, 0xe6, 0xc3, 0xe2, 0x86, 0x28, 0xc7, 0x0a,
  50089. 0xc3, 0x7e, 0x8d, 0xf1, 0x64, 0x36, 0x40, 0x27, 0xf3, 0xc6, 0xfd, 0xed, 0x31, 0x35, 0xb4, 0xec,
  50090. 0x55, 0xa1, 0xa2, 0xfb, 0xfc, 0xf6, 0x66, 0x81, 0xb4, 0x61, 0xdd, 0x1f, 0x21, 0x71, 0x0c, 0x46,
  50091. 0xdf, 0xd9, 0xf5, 0xde, 0xfc, 0x62, 0x1f, 0x5e, 0x7a, 0x82, 0x17, 0x66, 0x16, 0xe0, 0x96, 0x05,
  50092. 0x02, 0xad, 0xd6, 0xd2, 0xd9, 0x63, 0x56, 0x24, 0x00, 0x27, 0x38, 0x68, 0x51, 0xdc, 0x44, 0xb9,
  50093. 0x3e, 0xef, 0x89, 0xd4, 0x4d, 0x54, 0x7e, 0xbe, 0x76, 0x15, 0x7d, 0x09, 0xc6, 0x55, 0x46, 0xbe,
  50094. 0x1a, 0x4f, 0x6c, 0x26, 0x42, 0x2f, 0xac, 0x26, 0xc5, 0x58, 0xc7, 0x41, 0x9b, 0x30, 0x1d, 0xf1,
  50095. 0x74, 0x81, 0x2a, 0xc2, 0x16, 0xd7, 0x33, 0x3c, 0x27, 0xdf, 0xa9, 0xeb, 0x26, 0xf8, 0x98, 0x15,
  50096. 0xf1, 0xcd, 0x2a, 0x1d, 0xc1, 0xd2, 0x24, 0xd0, 0x9b, 0x30, 0xe5, 0xe9, 0x69, 0xd3, 0x6b, 0x42,
  50097. 0x0d, 0xa1, 0xcc, 0x38, 0x8d, 0xa4, 0xea, 0x35, 0x9c, 0xc2, 0xa6, 0x42, 0x83, 0x5e, 0x22, 0xa2,
  50098. 0xc2, 0x39, 0x7e, 0x8b, 0x44, 0x22, 0x9f, 0x18, 0x13, 0x1a, 0x6e, 0xe5, 0xe0, 0xe0, 0xdc, 0xda,
  50099. 0xe8, 0x75, 0x98, 0x90, 0x9f, 0xaf, 0xb9, 0x39, 0x26, 0xc6, 0xc2, 0x1a, 0x0c, 0x1b, 0x98, 0xe8,
  50100. 0x3e, 0x5c, 0x90, 0xff, 0x37, 0x43, 0x67, 0x7b, 0xdb, 0x6d, 0x08, 0x2f, 0x53, 0xee, 0x31, 0xb1,
  50101. 0x24, 0x5d, 0x30, 0x56, 0xb3, 0x90, 0x8e, 0x0f, 0xcb, 0x97, 0xc5, 0xa8, 0x65, 0xc2, 0xd9, 0x24,
  50102. 0x66, 0xd3, 0x47, 0xeb, 0x70, 0x6e, 0x87, 0x38, 0x5e, 0xbc, 0xb3, 0xb2, 0x43, 0x1a, 0xbb, 0x72,
  50103. 0x13, 0x31, 0xe7, 0x49, 0xcd, 0xc4, 0xf6, 0x46, 0x37, 0x0a, 0xce, 0xaa, 0x87, 0xde, 0x85, 0xb9,
  50104. 0x76, 0x67, 0xcb, 0x73, 0xa3, 0x9d, 0x8d, 0x20, 0x66, 0x4f, 0xe3, 0x2a, 0xa1, 0x9d, 0xf0, 0xb2,
  50105. 0x54, 0x8e, 0xa3, 0xb5, 0x1c, 0x3c, 0x9c, 0x4b, 0x01, 0x7d, 0x00, 0x17, 0x52, 0x8b, 0x41, 0xf8,
  50106. 0x7c, 0x4d, 0xe5, 0xc7, 0xd8, 0xac, 0x67, 0x55, 0x10, 0x3e, 0x5c, 0x59, 0x20, 0x9c, 0xdd, 0xc4,
  50107. 0x87, 0x33, 0x98, 0x78, 0x9f, 0x56, 0xd6, 0xa4, 0x1b, 0xf4, 0x15, 0x98, 0xd0, 0x57, 0x91, 0x38,
  50108. 0x60, 0xae, 0x64, 0x1f, 0xfe, 0xda, 0x6a, 0xe3, 0xb2, 0x91, 0x5a, 0x51, 0x3a, 0x0c, 0x1b, 0x14,
  50109. 0x6d, 0x02, 0xd9, 0xdf, 0x87, 0x6e, 0xc1, 0x58, 0xc3, 0x73, 0x89, 0x1f, 0x57, 0x6b, 0xbd, 0xa2,
  50110. 0x09, 0xac, 0x08, 0x1c, 0x31, 0x60, 0x22, 0x28, 0x21, 0x2f, 0xc3, 0x8a, 0x82, 0xfd, 0xeb, 0x05,
  50111. 0x28, 0xf7, 0x89, 0x70, 0x99, 0xd2, 0x19, 0x5a, 0x03, 0xe9, 0x0c, 0x97, 0x64, 0x7a, 0xbe, 0x8d,
  50112. 0xd4, 0x7d, 0x35, 0x95, 0x7a, 0x2f, 0xb9, 0xb5, 0xa6, 0xf1, 0x07, 0xb6, 0xb3, 0xd4, 0xd5, 0x8e,
  50113. 0x43, 0x7d, 0x2d, 0x80, 0x8d, 0xe7, 0x86, 0xe1, 0xc1, 0x25, 0xfa, 0x5c, 0xd5, 0xb1, 0xfd, 0xab,
  50114. 0x05, 0xb8, 0xa0, 0x86, 0xf0, 0xaf, 0xee, 0xc0, 0xdd, 0xe9, 0x1e, 0xb8, 0x53, 0x50, 0xbc, 0xdb,
  50115. 0xb7, 0x61, 0xa4, 0x7e, 0x10, 0x35, 0x62, 0x6f, 0x00, 0x01, 0xe8, 0x19, 0x33, 0xaa, 0x8e, 0x3a,
  50116. 0xa6, 0x8d, 0xc8, 0x3a, 0x7f, 0xd3, 0x82, 0xe9, 0xcd, 0x95, 0x5a, 0x3d, 0x68, 0xec, 0x92, 0x78,
  50117. 0x89, 0xab, 0x95, 0xb0, 0x90, 0x7f, 0xac, 0x87, 0x94, 0x6b, 0xb2, 0x24, 0xa6, 0xcb, 0x30, 0xb4,
  50118. 0x13, 0x44, 0x71, 0xfa, 0x55, 0xee, 0x46, 0x10, 0xc5, 0x98, 0x41, 0xec, 0xdf, 0xb7, 0x60, 0x98,
  50119. 0x25, 0x95, 0xed, 0x97, 0x7c, 0x78, 0x90, 0xef, 0x42, 0xaf, 0xc2, 0x08, 0xd9, 0xde, 0x26, 0x8d,
  50120. 0x58, 0xcc, 0xaa, 0x74, 0xeb, 0x1b, 0x59, 0x65, 0xa5, 0xf4, 0xd0, 0x67, 0x8d, 0xf1, 0xbf, 0x58,
  50121. 0x20, 0xa3, 0x7b, 0x50, 0x8a, 0xdd, 0x3d, 0xb2, 0xd4, 0x6c, 0x8a, 0x77, 0x8d, 0x87, 0xf0, 0xa2,
  50122. 0xdc, 0x94, 0x04, 0x70, 0x42, 0xcb, 0xfe, 0x5a, 0x01, 0x20, 0x71, 0x4d, 0xee, 0xf7, 0x89, 0xcb,
  50123. 0x5d, 0xf9, 0x95, 0xaf, 0x64, 0xe4, 0x57, 0x46, 0x09, 0xc1, 0x8c, 0xec, 0xca, 0x6a, 0x98, 0x8a,
  50124. 0x03, 0x0d, 0xd3, 0xd0, 0x49, 0x86, 0x69, 0x05, 0x66, 0x13, 0xd7, 0x6a, 0x33, 0xce, 0x04, 0x8b,
  50125. 0x78, 0xbf, 0x99, 0x06, 0xe2, 0x6e, 0x7c, 0xfb, 0x07, 0x2c, 0x10, 0xee, 0x09, 0x03, 0x2c, 0xe6,
  50126. 0x77, 0x64, 0x2a, 0x54, 0x23, 0x50, 0xee, 0xe5, 0x7c, 0x7f, 0x0d, 0x11, 0x1e, 0x57, 0x1d, 0x1e,
  50127. 0x46, 0x50, 0x5c, 0x83, 0x96, 0xdd, 0x04, 0x01, 0xad, 0x10, 0xa6, 0x64, 0xe8, 0xdf, 0x9b, 0x6b,
  50128. 0x00, 0x4d, 0x86, 0xab, 0xa5, 0x56, 0x54, 0xac, 0xaa, 0xa2, 0x20, 0x58, 0xc3, 0xb2, 0x7f, 0xa4,
  50129. 0x00, 0xe3, 0x32, 0x30, 0x2b, 0xbd, 0xc7, 0xf7, 0x6f, 0xe5, 0x44, 0x59, 0x19, 0x58, 0x2e, 0x52,
  50130. 0x4a, 0x58, 0x05, 0xef, 0xd7, 0x73, 0x91, 0x4a, 0x00, 0x4e, 0x70, 0xd0, 0xb3, 0x30, 0x1a, 0x75,
  50131. 0xb6, 0x18, 0x7a, 0xca, 0xe8, 0xbe, 0xce, 0x8b, 0xb1, 0x84, 0xa3, 0x2f, 0xc2, 0x0c, 0xaf, 0x17,
  50132. 0x06, 0x6d, 0xa7, 0xc5, 0x35, 0x4e, 0xc3, 0xca, 0x0b, 0x6e, 0x66, 0x3d, 0x05, 0x3b, 0x3e, 0x2c,
  50133. 0x9f, 0x4f, 0x97, 0x31, 0x5d, 0x65, 0x17, 0x15, 0xfb, 0x2b, 0x80, 0xba, 0x63, 0xcd, 0xa2, 0xb7,
  50134. 0xb8, 0x59, 0x85, 0x1b, 0x92, 0x66, 0x2f, 0x25, 0xa4, 0xee, 0xb4, 0x25, 0x0d, 0x5f, 0x79, 0x2d,
  50135. 0xac, 0xea, 0xd3, 0x9d, 0x37, 0x93, 0x76, 0xe1, 0x41, 0x37, 0x60, 0x84, 0x33, 0x55, 0x41, 0xbe,
  50136. 0xc7, 0x1b, 0x97, 0xe6, 0xf8, 0xc3, 0x02, 0xe1, 0x0b, 0xbe, 0x2c, 0xea, 0xa3, 0x77, 0x61, 0xbc,
  50137. 0x19, 0xdc, 0xf7, 0xef, 0x3b, 0x61, 0x73, 0xa9, 0x56, 0x15, 0xeb, 0x32, 0x53, 0x36, 0xab, 0x24,
  50138. 0x68, 0xba, 0x33, 0x11, 0xd3, 0xe7, 0x26, 0x20, 0xac, 0x93, 0x43, 0x9b, 0x2c, 0x7e, 0xd6, 0xb6,
  50139. 0xdb, 0x5a, 0x77, 0xda, 0xbd, 0xec, 0xe0, 0x56, 0x24, 0x92, 0x46, 0x79, 0x52, 0x04, 0xd9, 0xe2,
  50140. 0x00, 0x9c, 0x10, 0xb2, 0xbf, 0x7a, 0x0e, 0x8c, 0xfd, 0x60, 0xe4, 0x7d, 0xb0, 0x4e, 0x29, 0xef,
  50141. 0x03, 0x86, 0x31, 0xb2, 0xd7, 0x8e, 0x0f, 0x2a, 0x6e, 0xd8, 0x2b, 0x71, 0xd0, 0xaa, 0xc0, 0xe9,
  50142. 0xa6, 0x29, 0x21, 0x58, 0xd1, 0xc9, 0x4e, 0xce, 0x51, 0xfc, 0x08, 0x93, 0x73, 0x0c, 0x9d, 0x61,
  50143. 0x72, 0x8e, 0x0d, 0x18, 0x6d, 0xb9, 0x31, 0x26, 0xed, 0x40, 0x08, 0x14, 0x99, 0x2b, 0xe1, 0x3a,
  50144. 0x47, 0xe9, 0x0e, 0x0d, 0x2f, 0x00, 0x58, 0x12, 0x41, 0x6f, 0xa9, 0x3d, 0x30, 0x92, 0x2f, 0x8f,
  50145. 0x77, 0x3f, 0x87, 0x64, 0xee, 0x02, 0x91, 0x8c, 0x63, 0xf4, 0x61, 0x93, 0x71, 0xac, 0xc9, 0x14,
  50146. 0x1a, 0x63, 0xf9, 0x66, 0xa3, 0x2c, 0x43, 0x46, 0x9f, 0xc4, 0x19, 0x46, 0xb2, 0x91, 0xd2, 0xe9,
  50147. 0x25, 0x1b, 0xf9, 0x01, 0x0b, 0x2e, 0xb4, 0xb3, 0xf2, 0xee, 0x88, 0x14, 0x18, 0xaf, 0x0e, 0x9c,
  50148. 0x58, 0xc8, 0x68, 0x90, 0x5d, 0xcc, 0x32, 0xd1, 0x70, 0x76, 0x73, 0x74, 0xa0, 0xc3, 0xad, 0xa6,
  50149. 0xc8, 0x9b, 0xf1, 0x4c, 0x4e, 0xd6, 0x92, 0x1e, 0xb9, 0x4a, 0x36, 0x33, 0x72, 0x65, 0x7c, 0x32,
  50150. 0x2f, 0x57, 0xc6, 0xc0, 0x19, 0x32, 0x92, 0x7c, 0x25, 0x93, 0x1f, 0x3a, 0x5f, 0xc9, 0x5b, 0x2a,
  50151. 0x5f, 0x49, 0x8f, 0xa8, 0x43, 0x3c, 0x1b, 0x49, 0xdf, 0x2c, 0x25, 0x5a, 0xa6, 0x91, 0xe9, 0xd3,
  50152. 0xc9, 0x34, 0x62, 0x30, 0x7b, 0x9e, 0xec, 0xe2, 0xf9, 0x3e, 0xcc, 0xde, 0xa0, 0xdb, 0x9b, 0xdd,
  50153. 0xf3, 0xac, 0x2a, 0xb3, 0x0f, 0x95, 0x55, 0xe5, 0xae, 0x9e, 0xa5, 0x04, 0xf5, 0x49, 0xc3, 0x41,
  50154. 0x91, 0x06, 0xcc, 0x4d, 0x72, 0x57, 0x3f, 0x82, 0xce, 0xe5, 0xd3, 0x55, 0x27, 0x4d, 0x37, 0xdd,
  50155. 0xac, 0x43, 0xa8, 0x3b, 0xe7, 0xc9, 0xf9, 0xb3, 0xc9, 0x79, 0x72, 0xe1, 0xd4, 0x73, 0x9e, 0x3c,
  50156. 0x76, 0x06, 0x39, 0x4f, 0x1e, 0xff, 0x48, 0x73, 0x9e, 0xcc, 0x3d, 0x82, 0x9c, 0x27, 0x1b, 0x49,
  50157. 0xce, 0x93, 0x8b, 0xf9, 0x53, 0x92, 0x61, 0x27, 0x97, 0x93, 0xe9, 0xe4, 0x2e, 0x94, 0xda, 0xd2,
  50158. 0xcb, 0x5b, 0x84, 0x45, 0xca, 0x4e, 0xb6, 0x98, 0xe5, 0x0a, 0xce, 0xa7, 0x44, 0x81, 0x70, 0x42,
  50159. 0x8a, 0xd2, 0x4d, 0x32, 0x9f, 0x3c, 0xd1, 0x43, 0xf5, 0x96, 0xa5, 0xd4, 0xc8, 0xcf, 0x77, 0x62,
  50160. 0xff, 0xad, 0x02, 0x5c, 0xea, 0xbd, 0xae, 0x13, 0x8d, 0x48, 0x2d, 0xd1, 0xe0, 0xa7, 0x34, 0x22,
  50161. 0xfc, 0x9a, 0x91, 0x60, 0x0d, 0x1c, 0x0a, 0xe3, 0x3a, 0xcc, 0x2a, 0x03, 0x39, 0xcf, 0x6d, 0x1c,
  50162. 0x68, 0x49, 0x18, 0x95, 0xb3, 0x4e, 0x3d, 0x8d, 0x80, 0xbb, 0xeb, 0xa0, 0x25, 0x98, 0x36, 0x0a,
  50163. 0xab, 0x15, 0x71, 0x9d, 0x50, 0x2a, 0x98, 0xba, 0x09, 0xc6, 0x69, 0x7c, 0xfb, 0xeb, 0x16, 0x3c,
  50164. 0x9e, 0x13, 0x0e, 0x7c, 0xe0, 0x48, 0x0f, 0xdb, 0x30, 0xdd, 0x36, 0xab, 0xf6, 0x09, 0x08, 0x63,
  50165. 0x04, 0x1d, 0x57, 0x7d, 0x4d, 0x01, 0x70, 0x9a, 0xe8, 0xf2, 0xd5, 0xdf, 0xfc, 0xc3, 0x4b, 0x9f,
  50166. 0xf8, 0x9d, 0x3f, 0xbc, 0xf4, 0x89, 0xdf, 0xfb, 0xc3, 0x4b, 0x9f, 0xf8, 0xeb, 0x47, 0x97, 0xac,
  50167. 0xdf, 0x3c, 0xba, 0x64, 0xfd, 0xce, 0xd1, 0x25, 0xeb, 0xf7, 0x8e, 0x2e, 0x59, 0x7f, 0x70, 0x74,
  50168. 0xc9, 0xfa, 0xda, 0x1f, 0x5d, 0xfa, 0xc4, 0x3b, 0x85, 0xfd, 0x97, 0xfe, 0x7f, 0x00, 0x00, 0x00,
  50169. 0xff, 0xff, 0xcc, 0x93, 0x27, 0x7c, 0x56, 0xe4, 0x00, 0x00,
  50170. }