generated.pb.go 201 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311
  1. /*
  2. Copyright The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  14. // source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
  15. /*
  16. Package v1 is a generated protocol buffer package.
  17. It is generated from these files:
  18. k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
  19. It has these top-level messages:
  20. APIGroup
  21. APIGroupList
  22. APIResource
  23. APIResourceList
  24. APIVersions
  25. CreateOptions
  26. DeleteOptions
  27. Duration
  28. ExportOptions
  29. GetOptions
  30. GroupKind
  31. GroupResource
  32. GroupVersion
  33. GroupVersionForDiscovery
  34. GroupVersionKind
  35. GroupVersionResource
  36. Initializer
  37. Initializers
  38. LabelSelector
  39. LabelSelectorRequirement
  40. List
  41. ListMeta
  42. ListOptions
  43. MicroTime
  44. ObjectMeta
  45. OwnerReference
  46. Patch
  47. Preconditions
  48. RootPaths
  49. ServerAddressByClientCIDR
  50. Status
  51. StatusCause
  52. StatusDetails
  53. Time
  54. Timestamp
  55. TypeMeta
  56. UpdateOptions
  57. Verbs
  58. WatchEvent
  59. */
  60. package v1
  61. import proto "github.com/gogo/protobuf/proto"
  62. import fmt "fmt"
  63. import math "math"
  64. import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime"
  65. import time "time"
  66. import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types"
  67. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  68. import strings "strings"
  69. import reflect "reflect"
  70. import io "io"
  71. // Reference imports to suppress errors if they are not otherwise used.
  72. var _ = proto.Marshal
  73. var _ = fmt.Errorf
  74. var _ = math.Inf
  75. var _ = time.Kitchen
  76. // This is a compile-time assertion to ensure that this generated file
  77. // is compatible with the proto package it is being compiled against.
  78. // A compilation error at this line likely means your copy of the
  79. // proto package needs to be updated.
  80. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  81. func (m *APIGroup) Reset() { *m = APIGroup{} }
  82. func (*APIGroup) ProtoMessage() {}
  83. func (*APIGroup) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  84. func (m *APIGroupList) Reset() { *m = APIGroupList{} }
  85. func (*APIGroupList) ProtoMessage() {}
  86. func (*APIGroupList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  87. func (m *APIResource) Reset() { *m = APIResource{} }
  88. func (*APIResource) ProtoMessage() {}
  89. func (*APIResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  90. func (m *APIResourceList) Reset() { *m = APIResourceList{} }
  91. func (*APIResourceList) ProtoMessage() {}
  92. func (*APIResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  93. func (m *APIVersions) Reset() { *m = APIVersions{} }
  94. func (*APIVersions) ProtoMessage() {}
  95. func (*APIVersions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  96. func (m *CreateOptions) Reset() { *m = CreateOptions{} }
  97. func (*CreateOptions) ProtoMessage() {}
  98. func (*CreateOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  99. func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
  100. func (*DeleteOptions) ProtoMessage() {}
  101. func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  102. func (m *Duration) Reset() { *m = Duration{} }
  103. func (*Duration) ProtoMessage() {}
  104. func (*Duration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  105. func (m *ExportOptions) Reset() { *m = ExportOptions{} }
  106. func (*ExportOptions) ProtoMessage() {}
  107. func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  108. func (m *GetOptions) Reset() { *m = GetOptions{} }
  109. func (*GetOptions) ProtoMessage() {}
  110. func (*GetOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  111. func (m *GroupKind) Reset() { *m = GroupKind{} }
  112. func (*GroupKind) ProtoMessage() {}
  113. func (*GroupKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  114. func (m *GroupResource) Reset() { *m = GroupResource{} }
  115. func (*GroupResource) ProtoMessage() {}
  116. func (*GroupResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  117. func (m *GroupVersion) Reset() { *m = GroupVersion{} }
  118. func (*GroupVersion) ProtoMessage() {}
  119. func (*GroupVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  120. func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} }
  121. func (*GroupVersionForDiscovery) ProtoMessage() {}
  122. func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) {
  123. return fileDescriptorGenerated, []int{13}
  124. }
  125. func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} }
  126. func (*GroupVersionKind) ProtoMessage() {}
  127. func (*GroupVersionKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  128. func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} }
  129. func (*GroupVersionResource) ProtoMessage() {}
  130. func (*GroupVersionResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  131. func (m *Initializer) Reset() { *m = Initializer{} }
  132. func (*Initializer) ProtoMessage() {}
  133. func (*Initializer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  134. func (m *Initializers) Reset() { *m = Initializers{} }
  135. func (*Initializers) ProtoMessage() {}
  136. func (*Initializers) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  137. func (m *LabelSelector) Reset() { *m = LabelSelector{} }
  138. func (*LabelSelector) ProtoMessage() {}
  139. func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  140. func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} }
  141. func (*LabelSelectorRequirement) ProtoMessage() {}
  142. func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {
  143. return fileDescriptorGenerated, []int{19}
  144. }
  145. func (m *List) Reset() { *m = List{} }
  146. func (*List) ProtoMessage() {}
  147. func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
  148. func (m *ListMeta) Reset() { *m = ListMeta{} }
  149. func (*ListMeta) ProtoMessage() {}
  150. func (*ListMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
  151. func (m *ListOptions) Reset() { *m = ListOptions{} }
  152. func (*ListOptions) ProtoMessage() {}
  153. func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
  154. func (m *MicroTime) Reset() { *m = MicroTime{} }
  155. func (*MicroTime) ProtoMessage() {}
  156. func (*MicroTime) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
  157. func (m *ObjectMeta) Reset() { *m = ObjectMeta{} }
  158. func (*ObjectMeta) ProtoMessage() {}
  159. func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
  160. func (m *OwnerReference) Reset() { *m = OwnerReference{} }
  161. func (*OwnerReference) ProtoMessage() {}
  162. func (*OwnerReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  163. func (m *Patch) Reset() { *m = Patch{} }
  164. func (*Patch) ProtoMessage() {}
  165. func (*Patch) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  166. func (m *Preconditions) Reset() { *m = Preconditions{} }
  167. func (*Preconditions) ProtoMessage() {}
  168. func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
  169. func (m *RootPaths) Reset() { *m = RootPaths{} }
  170. func (*RootPaths) ProtoMessage() {}
  171. func (*RootPaths) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
  172. func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} }
  173. func (*ServerAddressByClientCIDR) ProtoMessage() {}
  174. func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) {
  175. return fileDescriptorGenerated, []int{29}
  176. }
  177. func (m *Status) Reset() { *m = Status{} }
  178. func (*Status) ProtoMessage() {}
  179. func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
  180. func (m *StatusCause) Reset() { *m = StatusCause{} }
  181. func (*StatusCause) ProtoMessage() {}
  182. func (*StatusCause) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} }
  183. func (m *StatusDetails) Reset() { *m = StatusDetails{} }
  184. func (*StatusDetails) ProtoMessage() {}
  185. func (*StatusDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
  186. func (m *Time) Reset() { *m = Time{} }
  187. func (*Time) ProtoMessage() {}
  188. func (*Time) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
  189. func (m *Timestamp) Reset() { *m = Timestamp{} }
  190. func (*Timestamp) ProtoMessage() {}
  191. func (*Timestamp) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
  192. func (m *TypeMeta) Reset() { *m = TypeMeta{} }
  193. func (*TypeMeta) ProtoMessage() {}
  194. func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
  195. func (m *UpdateOptions) Reset() { *m = UpdateOptions{} }
  196. func (*UpdateOptions) ProtoMessage() {}
  197. func (*UpdateOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
  198. func (m *Verbs) Reset() { *m = Verbs{} }
  199. func (*Verbs) ProtoMessage() {}
  200. func (*Verbs) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
  201. func (m *WatchEvent) Reset() { *m = WatchEvent{} }
  202. func (*WatchEvent) ProtoMessage() {}
  203. func (*WatchEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
  204. func init() {
  205. proto.RegisterType((*APIGroup)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup")
  206. proto.RegisterType((*APIGroupList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList")
  207. proto.RegisterType((*APIResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResource")
  208. proto.RegisterType((*APIResourceList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList")
  209. proto.RegisterType((*APIVersions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions")
  210. proto.RegisterType((*CreateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions")
  211. proto.RegisterType((*DeleteOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions")
  212. proto.RegisterType((*Duration)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Duration")
  213. proto.RegisterType((*ExportOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions")
  214. proto.RegisterType((*GetOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions")
  215. proto.RegisterType((*GroupKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind")
  216. proto.RegisterType((*GroupResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource")
  217. proto.RegisterType((*GroupVersion)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion")
  218. proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")
  219. proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind")
  220. proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource")
  221. proto.RegisterType((*Initializer)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializer")
  222. proto.RegisterType((*Initializers)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializers")
  223. proto.RegisterType((*LabelSelector)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector")
  224. proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement")
  225. proto.RegisterType((*List)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.List")
  226. proto.RegisterType((*ListMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta")
  227. proto.RegisterType((*ListOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions")
  228. proto.RegisterType((*MicroTime)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime")
  229. proto.RegisterType((*ObjectMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta")
  230. proto.RegisterType((*OwnerReference)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference")
  231. proto.RegisterType((*Patch)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Patch")
  232. proto.RegisterType((*Preconditions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions")
  233. proto.RegisterType((*RootPaths)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths")
  234. proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")
  235. proto.RegisterType((*Status)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Status")
  236. proto.RegisterType((*StatusCause)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause")
  237. proto.RegisterType((*StatusDetails)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails")
  238. proto.RegisterType((*Time)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Time")
  239. proto.RegisterType((*Timestamp)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Timestamp")
  240. proto.RegisterType((*TypeMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta")
  241. proto.RegisterType((*UpdateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.UpdateOptions")
  242. proto.RegisterType((*Verbs)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Verbs")
  243. proto.RegisterType((*WatchEvent)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent")
  244. }
  245. func (m *APIGroup) Marshal() (dAtA []byte, err error) {
  246. size := m.Size()
  247. dAtA = make([]byte, size)
  248. n, err := m.MarshalTo(dAtA)
  249. if err != nil {
  250. return nil, err
  251. }
  252. return dAtA[:n], nil
  253. }
  254. func (m *APIGroup) MarshalTo(dAtA []byte) (int, error) {
  255. var i int
  256. _ = i
  257. var l int
  258. _ = l
  259. dAtA[i] = 0xa
  260. i++
  261. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  262. i += copy(dAtA[i:], m.Name)
  263. if len(m.Versions) > 0 {
  264. for _, msg := range m.Versions {
  265. dAtA[i] = 0x12
  266. i++
  267. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  268. n, err := msg.MarshalTo(dAtA[i:])
  269. if err != nil {
  270. return 0, err
  271. }
  272. i += n
  273. }
  274. }
  275. dAtA[i] = 0x1a
  276. i++
  277. i = encodeVarintGenerated(dAtA, i, uint64(m.PreferredVersion.Size()))
  278. n1, err := m.PreferredVersion.MarshalTo(dAtA[i:])
  279. if err != nil {
  280. return 0, err
  281. }
  282. i += n1
  283. if len(m.ServerAddressByClientCIDRs) > 0 {
  284. for _, msg := range m.ServerAddressByClientCIDRs {
  285. dAtA[i] = 0x22
  286. i++
  287. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  288. n, err := msg.MarshalTo(dAtA[i:])
  289. if err != nil {
  290. return 0, err
  291. }
  292. i += n
  293. }
  294. }
  295. return i, nil
  296. }
  297. func (m *APIGroupList) Marshal() (dAtA []byte, err error) {
  298. size := m.Size()
  299. dAtA = make([]byte, size)
  300. n, err := m.MarshalTo(dAtA)
  301. if err != nil {
  302. return nil, err
  303. }
  304. return dAtA[:n], nil
  305. }
  306. func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error) {
  307. var i int
  308. _ = i
  309. var l int
  310. _ = l
  311. if len(m.Groups) > 0 {
  312. for _, msg := range m.Groups {
  313. dAtA[i] = 0xa
  314. i++
  315. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  316. n, err := msg.MarshalTo(dAtA[i:])
  317. if err != nil {
  318. return 0, err
  319. }
  320. i += n
  321. }
  322. }
  323. return i, nil
  324. }
  325. func (m *APIResource) Marshal() (dAtA []byte, err error) {
  326. size := m.Size()
  327. dAtA = make([]byte, size)
  328. n, err := m.MarshalTo(dAtA)
  329. if err != nil {
  330. return nil, err
  331. }
  332. return dAtA[:n], nil
  333. }
  334. func (m *APIResource) MarshalTo(dAtA []byte) (int, error) {
  335. var i int
  336. _ = i
  337. var l int
  338. _ = l
  339. dAtA[i] = 0xa
  340. i++
  341. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  342. i += copy(dAtA[i:], m.Name)
  343. dAtA[i] = 0x10
  344. i++
  345. if m.Namespaced {
  346. dAtA[i] = 1
  347. } else {
  348. dAtA[i] = 0
  349. }
  350. i++
  351. dAtA[i] = 0x1a
  352. i++
  353. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  354. i += copy(dAtA[i:], m.Kind)
  355. if m.Verbs != nil {
  356. dAtA[i] = 0x22
  357. i++
  358. i = encodeVarintGenerated(dAtA, i, uint64(m.Verbs.Size()))
  359. n2, err := m.Verbs.MarshalTo(dAtA[i:])
  360. if err != nil {
  361. return 0, err
  362. }
  363. i += n2
  364. }
  365. if len(m.ShortNames) > 0 {
  366. for _, s := range m.ShortNames {
  367. dAtA[i] = 0x2a
  368. i++
  369. l = len(s)
  370. for l >= 1<<7 {
  371. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  372. l >>= 7
  373. i++
  374. }
  375. dAtA[i] = uint8(l)
  376. i++
  377. i += copy(dAtA[i:], s)
  378. }
  379. }
  380. dAtA[i] = 0x32
  381. i++
  382. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SingularName)))
  383. i += copy(dAtA[i:], m.SingularName)
  384. if len(m.Categories) > 0 {
  385. for _, s := range m.Categories {
  386. dAtA[i] = 0x3a
  387. i++
  388. l = len(s)
  389. for l >= 1<<7 {
  390. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  391. l >>= 7
  392. i++
  393. }
  394. dAtA[i] = uint8(l)
  395. i++
  396. i += copy(dAtA[i:], s)
  397. }
  398. }
  399. dAtA[i] = 0x42
  400. i++
  401. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  402. i += copy(dAtA[i:], m.Group)
  403. dAtA[i] = 0x4a
  404. i++
  405. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
  406. i += copy(dAtA[i:], m.Version)
  407. return i, nil
  408. }
  409. func (m *APIResourceList) Marshal() (dAtA []byte, err error) {
  410. size := m.Size()
  411. dAtA = make([]byte, size)
  412. n, err := m.MarshalTo(dAtA)
  413. if err != nil {
  414. return nil, err
  415. }
  416. return dAtA[:n], nil
  417. }
  418. func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error) {
  419. var i int
  420. _ = i
  421. var l int
  422. _ = l
  423. dAtA[i] = 0xa
  424. i++
  425. i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion)))
  426. i += copy(dAtA[i:], m.GroupVersion)
  427. if len(m.APIResources) > 0 {
  428. for _, msg := range m.APIResources {
  429. dAtA[i] = 0x12
  430. i++
  431. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  432. n, err := msg.MarshalTo(dAtA[i:])
  433. if err != nil {
  434. return 0, err
  435. }
  436. i += n
  437. }
  438. }
  439. return i, nil
  440. }
  441. func (m *APIVersions) Marshal() (dAtA []byte, err error) {
  442. size := m.Size()
  443. dAtA = make([]byte, size)
  444. n, err := m.MarshalTo(dAtA)
  445. if err != nil {
  446. return nil, err
  447. }
  448. return dAtA[:n], nil
  449. }
  450. func (m *APIVersions) MarshalTo(dAtA []byte) (int, error) {
  451. var i int
  452. _ = i
  453. var l int
  454. _ = l
  455. if len(m.Versions) > 0 {
  456. for _, s := range m.Versions {
  457. dAtA[i] = 0xa
  458. i++
  459. l = len(s)
  460. for l >= 1<<7 {
  461. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  462. l >>= 7
  463. i++
  464. }
  465. dAtA[i] = uint8(l)
  466. i++
  467. i += copy(dAtA[i:], s)
  468. }
  469. }
  470. if len(m.ServerAddressByClientCIDRs) > 0 {
  471. for _, msg := range m.ServerAddressByClientCIDRs {
  472. dAtA[i] = 0x12
  473. i++
  474. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  475. n, err := msg.MarshalTo(dAtA[i:])
  476. if err != nil {
  477. return 0, err
  478. }
  479. i += n
  480. }
  481. }
  482. return i, nil
  483. }
  484. func (m *CreateOptions) Marshal() (dAtA []byte, err error) {
  485. size := m.Size()
  486. dAtA = make([]byte, size)
  487. n, err := m.MarshalTo(dAtA)
  488. if err != nil {
  489. return nil, err
  490. }
  491. return dAtA[:n], nil
  492. }
  493. func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error) {
  494. var i int
  495. _ = i
  496. var l int
  497. _ = l
  498. if len(m.DryRun) > 0 {
  499. for _, s := range m.DryRun {
  500. dAtA[i] = 0xa
  501. i++
  502. l = len(s)
  503. for l >= 1<<7 {
  504. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  505. l >>= 7
  506. i++
  507. }
  508. dAtA[i] = uint8(l)
  509. i++
  510. i += copy(dAtA[i:], s)
  511. }
  512. }
  513. dAtA[i] = 0x10
  514. i++
  515. if m.IncludeUninitialized {
  516. dAtA[i] = 1
  517. } else {
  518. dAtA[i] = 0
  519. }
  520. i++
  521. return i, nil
  522. }
  523. func (m *DeleteOptions) Marshal() (dAtA []byte, err error) {
  524. size := m.Size()
  525. dAtA = make([]byte, size)
  526. n, err := m.MarshalTo(dAtA)
  527. if err != nil {
  528. return nil, err
  529. }
  530. return dAtA[:n], nil
  531. }
  532. func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error) {
  533. var i int
  534. _ = i
  535. var l int
  536. _ = l
  537. if m.GracePeriodSeconds != nil {
  538. dAtA[i] = 0x8
  539. i++
  540. i = encodeVarintGenerated(dAtA, i, uint64(*m.GracePeriodSeconds))
  541. }
  542. if m.Preconditions != nil {
  543. dAtA[i] = 0x12
  544. i++
  545. i = encodeVarintGenerated(dAtA, i, uint64(m.Preconditions.Size()))
  546. n3, err := m.Preconditions.MarshalTo(dAtA[i:])
  547. if err != nil {
  548. return 0, err
  549. }
  550. i += n3
  551. }
  552. if m.OrphanDependents != nil {
  553. dAtA[i] = 0x18
  554. i++
  555. if *m.OrphanDependents {
  556. dAtA[i] = 1
  557. } else {
  558. dAtA[i] = 0
  559. }
  560. i++
  561. }
  562. if m.PropagationPolicy != nil {
  563. dAtA[i] = 0x22
  564. i++
  565. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PropagationPolicy)))
  566. i += copy(dAtA[i:], *m.PropagationPolicy)
  567. }
  568. if len(m.DryRun) > 0 {
  569. for _, s := range m.DryRun {
  570. dAtA[i] = 0x2a
  571. i++
  572. l = len(s)
  573. for l >= 1<<7 {
  574. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  575. l >>= 7
  576. i++
  577. }
  578. dAtA[i] = uint8(l)
  579. i++
  580. i += copy(dAtA[i:], s)
  581. }
  582. }
  583. return i, nil
  584. }
  585. func (m *Duration) Marshal() (dAtA []byte, err error) {
  586. size := m.Size()
  587. dAtA = make([]byte, size)
  588. n, err := m.MarshalTo(dAtA)
  589. if err != nil {
  590. return nil, err
  591. }
  592. return dAtA[:n], nil
  593. }
  594. func (m *Duration) MarshalTo(dAtA []byte) (int, error) {
  595. var i int
  596. _ = i
  597. var l int
  598. _ = l
  599. dAtA[i] = 0x8
  600. i++
  601. i = encodeVarintGenerated(dAtA, i, uint64(m.Duration))
  602. return i, nil
  603. }
  604. func (m *ExportOptions) Marshal() (dAtA []byte, err error) {
  605. size := m.Size()
  606. dAtA = make([]byte, size)
  607. n, err := m.MarshalTo(dAtA)
  608. if err != nil {
  609. return nil, err
  610. }
  611. return dAtA[:n], nil
  612. }
  613. func (m *ExportOptions) MarshalTo(dAtA []byte) (int, error) {
  614. var i int
  615. _ = i
  616. var l int
  617. _ = l
  618. dAtA[i] = 0x8
  619. i++
  620. if m.Export {
  621. dAtA[i] = 1
  622. } else {
  623. dAtA[i] = 0
  624. }
  625. i++
  626. dAtA[i] = 0x10
  627. i++
  628. if m.Exact {
  629. dAtA[i] = 1
  630. } else {
  631. dAtA[i] = 0
  632. }
  633. i++
  634. return i, nil
  635. }
  636. func (m *GetOptions) Marshal() (dAtA []byte, err error) {
  637. size := m.Size()
  638. dAtA = make([]byte, size)
  639. n, err := m.MarshalTo(dAtA)
  640. if err != nil {
  641. return nil, err
  642. }
  643. return dAtA[:n], nil
  644. }
  645. func (m *GetOptions) MarshalTo(dAtA []byte) (int, error) {
  646. var i int
  647. _ = i
  648. var l int
  649. _ = l
  650. dAtA[i] = 0xa
  651. i++
  652. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  653. i += copy(dAtA[i:], m.ResourceVersion)
  654. dAtA[i] = 0x10
  655. i++
  656. if m.IncludeUninitialized {
  657. dAtA[i] = 1
  658. } else {
  659. dAtA[i] = 0
  660. }
  661. i++
  662. return i, nil
  663. }
  664. func (m *GroupKind) Marshal() (dAtA []byte, err error) {
  665. size := m.Size()
  666. dAtA = make([]byte, size)
  667. n, err := m.MarshalTo(dAtA)
  668. if err != nil {
  669. return nil, err
  670. }
  671. return dAtA[:n], nil
  672. }
  673. func (m *GroupKind) MarshalTo(dAtA []byte) (int, error) {
  674. var i int
  675. _ = i
  676. var l int
  677. _ = l
  678. dAtA[i] = 0xa
  679. i++
  680. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  681. i += copy(dAtA[i:], m.Group)
  682. dAtA[i] = 0x12
  683. i++
  684. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  685. i += copy(dAtA[i:], m.Kind)
  686. return i, nil
  687. }
  688. func (m *GroupResource) Marshal() (dAtA []byte, err error) {
  689. size := m.Size()
  690. dAtA = make([]byte, size)
  691. n, err := m.MarshalTo(dAtA)
  692. if err != nil {
  693. return nil, err
  694. }
  695. return dAtA[:n], nil
  696. }
  697. func (m *GroupResource) MarshalTo(dAtA []byte) (int, error) {
  698. var i int
  699. _ = i
  700. var l int
  701. _ = l
  702. dAtA[i] = 0xa
  703. i++
  704. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  705. i += copy(dAtA[i:], m.Group)
  706. dAtA[i] = 0x12
  707. i++
  708. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
  709. i += copy(dAtA[i:], m.Resource)
  710. return i, nil
  711. }
  712. func (m *GroupVersion) Marshal() (dAtA []byte, err error) {
  713. size := m.Size()
  714. dAtA = make([]byte, size)
  715. n, err := m.MarshalTo(dAtA)
  716. if err != nil {
  717. return nil, err
  718. }
  719. return dAtA[:n], nil
  720. }
  721. func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error) {
  722. var i int
  723. _ = i
  724. var l int
  725. _ = l
  726. dAtA[i] = 0xa
  727. i++
  728. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  729. i += copy(dAtA[i:], m.Group)
  730. dAtA[i] = 0x12
  731. i++
  732. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
  733. i += copy(dAtA[i:], m.Version)
  734. return i, nil
  735. }
  736. func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error) {
  737. size := m.Size()
  738. dAtA = make([]byte, size)
  739. n, err := m.MarshalTo(dAtA)
  740. if err != nil {
  741. return nil, err
  742. }
  743. return dAtA[:n], nil
  744. }
  745. func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error) {
  746. var i int
  747. _ = i
  748. var l int
  749. _ = l
  750. dAtA[i] = 0xa
  751. i++
  752. i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion)))
  753. i += copy(dAtA[i:], m.GroupVersion)
  754. dAtA[i] = 0x12
  755. i++
  756. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
  757. i += copy(dAtA[i:], m.Version)
  758. return i, nil
  759. }
  760. func (m *GroupVersionKind) Marshal() (dAtA []byte, err error) {
  761. size := m.Size()
  762. dAtA = make([]byte, size)
  763. n, err := m.MarshalTo(dAtA)
  764. if err != nil {
  765. return nil, err
  766. }
  767. return dAtA[:n], nil
  768. }
  769. func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error) {
  770. var i int
  771. _ = i
  772. var l int
  773. _ = l
  774. dAtA[i] = 0xa
  775. i++
  776. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  777. i += copy(dAtA[i:], m.Group)
  778. dAtA[i] = 0x12
  779. i++
  780. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
  781. i += copy(dAtA[i:], m.Version)
  782. dAtA[i] = 0x1a
  783. i++
  784. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  785. i += copy(dAtA[i:], m.Kind)
  786. return i, nil
  787. }
  788. func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) {
  789. size := m.Size()
  790. dAtA = make([]byte, size)
  791. n, err := m.MarshalTo(dAtA)
  792. if err != nil {
  793. return nil, err
  794. }
  795. return dAtA[:n], nil
  796. }
  797. func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) {
  798. var i int
  799. _ = i
  800. var l int
  801. _ = l
  802. dAtA[i] = 0xa
  803. i++
  804. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  805. i += copy(dAtA[i:], m.Group)
  806. dAtA[i] = 0x12
  807. i++
  808. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
  809. i += copy(dAtA[i:], m.Version)
  810. dAtA[i] = 0x1a
  811. i++
  812. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
  813. i += copy(dAtA[i:], m.Resource)
  814. return i, nil
  815. }
  816. func (m *Initializer) Marshal() (dAtA []byte, err error) {
  817. size := m.Size()
  818. dAtA = make([]byte, size)
  819. n, err := m.MarshalTo(dAtA)
  820. if err != nil {
  821. return nil, err
  822. }
  823. return dAtA[:n], nil
  824. }
  825. func (m *Initializer) MarshalTo(dAtA []byte) (int, error) {
  826. var i int
  827. _ = i
  828. var l int
  829. _ = l
  830. dAtA[i] = 0xa
  831. i++
  832. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  833. i += copy(dAtA[i:], m.Name)
  834. return i, nil
  835. }
  836. func (m *Initializers) Marshal() (dAtA []byte, err error) {
  837. size := m.Size()
  838. dAtA = make([]byte, size)
  839. n, err := m.MarshalTo(dAtA)
  840. if err != nil {
  841. return nil, err
  842. }
  843. return dAtA[:n], nil
  844. }
  845. func (m *Initializers) MarshalTo(dAtA []byte) (int, error) {
  846. var i int
  847. _ = i
  848. var l int
  849. _ = l
  850. if len(m.Pending) > 0 {
  851. for _, msg := range m.Pending {
  852. dAtA[i] = 0xa
  853. i++
  854. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  855. n, err := msg.MarshalTo(dAtA[i:])
  856. if err != nil {
  857. return 0, err
  858. }
  859. i += n
  860. }
  861. }
  862. if m.Result != nil {
  863. dAtA[i] = 0x12
  864. i++
  865. i = encodeVarintGenerated(dAtA, i, uint64(m.Result.Size()))
  866. n4, err := m.Result.MarshalTo(dAtA[i:])
  867. if err != nil {
  868. return 0, err
  869. }
  870. i += n4
  871. }
  872. return i, nil
  873. }
  874. func (m *LabelSelector) Marshal() (dAtA []byte, err error) {
  875. size := m.Size()
  876. dAtA = make([]byte, size)
  877. n, err := m.MarshalTo(dAtA)
  878. if err != nil {
  879. return nil, err
  880. }
  881. return dAtA[:n], nil
  882. }
  883. func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error) {
  884. var i int
  885. _ = i
  886. var l int
  887. _ = l
  888. if len(m.MatchLabels) > 0 {
  889. keysForMatchLabels := make([]string, 0, len(m.MatchLabels))
  890. for k := range m.MatchLabels {
  891. keysForMatchLabels = append(keysForMatchLabels, string(k))
  892. }
  893. github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
  894. for _, k := range keysForMatchLabels {
  895. dAtA[i] = 0xa
  896. i++
  897. v := m.MatchLabels[string(k)]
  898. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  899. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  900. dAtA[i] = 0xa
  901. i++
  902. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  903. i += copy(dAtA[i:], k)
  904. dAtA[i] = 0x12
  905. i++
  906. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  907. i += copy(dAtA[i:], v)
  908. }
  909. }
  910. if len(m.MatchExpressions) > 0 {
  911. for _, msg := range m.MatchExpressions {
  912. dAtA[i] = 0x12
  913. i++
  914. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  915. n, err := msg.MarshalTo(dAtA[i:])
  916. if err != nil {
  917. return 0, err
  918. }
  919. i += n
  920. }
  921. }
  922. return i, nil
  923. }
  924. func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) {
  925. size := m.Size()
  926. dAtA = make([]byte, size)
  927. n, err := m.MarshalTo(dAtA)
  928. if err != nil {
  929. return nil, err
  930. }
  931. return dAtA[:n], nil
  932. }
  933. func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) {
  934. var i int
  935. _ = i
  936. var l int
  937. _ = l
  938. dAtA[i] = 0xa
  939. i++
  940. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
  941. i += copy(dAtA[i:], m.Key)
  942. dAtA[i] = 0x12
  943. i++
  944. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
  945. i += copy(dAtA[i:], m.Operator)
  946. if len(m.Values) > 0 {
  947. for _, s := range m.Values {
  948. dAtA[i] = 0x1a
  949. i++
  950. l = len(s)
  951. for l >= 1<<7 {
  952. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  953. l >>= 7
  954. i++
  955. }
  956. dAtA[i] = uint8(l)
  957. i++
  958. i += copy(dAtA[i:], s)
  959. }
  960. }
  961. return i, nil
  962. }
  963. func (m *List) Marshal() (dAtA []byte, err error) {
  964. size := m.Size()
  965. dAtA = make([]byte, size)
  966. n, err := m.MarshalTo(dAtA)
  967. if err != nil {
  968. return nil, err
  969. }
  970. return dAtA[:n], nil
  971. }
  972. func (m *List) MarshalTo(dAtA []byte) (int, error) {
  973. var i int
  974. _ = i
  975. var l int
  976. _ = l
  977. dAtA[i] = 0xa
  978. i++
  979. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  980. n5, err := m.ListMeta.MarshalTo(dAtA[i:])
  981. if err != nil {
  982. return 0, err
  983. }
  984. i += n5
  985. if len(m.Items) > 0 {
  986. for _, msg := range m.Items {
  987. dAtA[i] = 0x12
  988. i++
  989. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  990. n, err := msg.MarshalTo(dAtA[i:])
  991. if err != nil {
  992. return 0, err
  993. }
  994. i += n
  995. }
  996. }
  997. return i, nil
  998. }
  999. func (m *ListMeta) Marshal() (dAtA []byte, err error) {
  1000. size := m.Size()
  1001. dAtA = make([]byte, size)
  1002. n, err := m.MarshalTo(dAtA)
  1003. if err != nil {
  1004. return nil, err
  1005. }
  1006. return dAtA[:n], nil
  1007. }
  1008. func (m *ListMeta) MarshalTo(dAtA []byte) (int, error) {
  1009. var i int
  1010. _ = i
  1011. var l int
  1012. _ = l
  1013. dAtA[i] = 0xa
  1014. i++
  1015. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink)))
  1016. i += copy(dAtA[i:], m.SelfLink)
  1017. dAtA[i] = 0x12
  1018. i++
  1019. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  1020. i += copy(dAtA[i:], m.ResourceVersion)
  1021. dAtA[i] = 0x1a
  1022. i++
  1023. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue)))
  1024. i += copy(dAtA[i:], m.Continue)
  1025. return i, nil
  1026. }
  1027. func (m *ListOptions) Marshal() (dAtA []byte, err error) {
  1028. size := m.Size()
  1029. dAtA = make([]byte, size)
  1030. n, err := m.MarshalTo(dAtA)
  1031. if err != nil {
  1032. return nil, err
  1033. }
  1034. return dAtA[:n], nil
  1035. }
  1036. func (m *ListOptions) MarshalTo(dAtA []byte) (int, error) {
  1037. var i int
  1038. _ = i
  1039. var l int
  1040. _ = l
  1041. dAtA[i] = 0xa
  1042. i++
  1043. i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector)))
  1044. i += copy(dAtA[i:], m.LabelSelector)
  1045. dAtA[i] = 0x12
  1046. i++
  1047. i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldSelector)))
  1048. i += copy(dAtA[i:], m.FieldSelector)
  1049. dAtA[i] = 0x18
  1050. i++
  1051. if m.Watch {
  1052. dAtA[i] = 1
  1053. } else {
  1054. dAtA[i] = 0
  1055. }
  1056. i++
  1057. dAtA[i] = 0x22
  1058. i++
  1059. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  1060. i += copy(dAtA[i:], m.ResourceVersion)
  1061. if m.TimeoutSeconds != nil {
  1062. dAtA[i] = 0x28
  1063. i++
  1064. i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds))
  1065. }
  1066. dAtA[i] = 0x30
  1067. i++
  1068. if m.IncludeUninitialized {
  1069. dAtA[i] = 1
  1070. } else {
  1071. dAtA[i] = 0
  1072. }
  1073. i++
  1074. dAtA[i] = 0x38
  1075. i++
  1076. i = encodeVarintGenerated(dAtA, i, uint64(m.Limit))
  1077. dAtA[i] = 0x42
  1078. i++
  1079. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue)))
  1080. i += copy(dAtA[i:], m.Continue)
  1081. return i, nil
  1082. }
  1083. func (m *ObjectMeta) Marshal() (dAtA []byte, err error) {
  1084. size := m.Size()
  1085. dAtA = make([]byte, size)
  1086. n, err := m.MarshalTo(dAtA)
  1087. if err != nil {
  1088. return nil, err
  1089. }
  1090. return dAtA[:n], nil
  1091. }
  1092. func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error) {
  1093. var i int
  1094. _ = i
  1095. var l int
  1096. _ = l
  1097. dAtA[i] = 0xa
  1098. i++
  1099. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  1100. i += copy(dAtA[i:], m.Name)
  1101. dAtA[i] = 0x12
  1102. i++
  1103. i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName)))
  1104. i += copy(dAtA[i:], m.GenerateName)
  1105. dAtA[i] = 0x1a
  1106. i++
  1107. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
  1108. i += copy(dAtA[i:], m.Namespace)
  1109. dAtA[i] = 0x22
  1110. i++
  1111. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink)))
  1112. i += copy(dAtA[i:], m.SelfLink)
  1113. dAtA[i] = 0x2a
  1114. i++
  1115. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  1116. i += copy(dAtA[i:], m.UID)
  1117. dAtA[i] = 0x32
  1118. i++
  1119. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
  1120. i += copy(dAtA[i:], m.ResourceVersion)
  1121. dAtA[i] = 0x38
  1122. i++
  1123. i = encodeVarintGenerated(dAtA, i, uint64(m.Generation))
  1124. dAtA[i] = 0x42
  1125. i++
  1126. i = encodeVarintGenerated(dAtA, i, uint64(m.CreationTimestamp.Size()))
  1127. n6, err := m.CreationTimestamp.MarshalTo(dAtA[i:])
  1128. if err != nil {
  1129. return 0, err
  1130. }
  1131. i += n6
  1132. if m.DeletionTimestamp != nil {
  1133. dAtA[i] = 0x4a
  1134. i++
  1135. i = encodeVarintGenerated(dAtA, i, uint64(m.DeletionTimestamp.Size()))
  1136. n7, err := m.DeletionTimestamp.MarshalTo(dAtA[i:])
  1137. if err != nil {
  1138. return 0, err
  1139. }
  1140. i += n7
  1141. }
  1142. if m.DeletionGracePeriodSeconds != nil {
  1143. dAtA[i] = 0x50
  1144. i++
  1145. i = encodeVarintGenerated(dAtA, i, uint64(*m.DeletionGracePeriodSeconds))
  1146. }
  1147. if len(m.Labels) > 0 {
  1148. keysForLabels := make([]string, 0, len(m.Labels))
  1149. for k := range m.Labels {
  1150. keysForLabels = append(keysForLabels, string(k))
  1151. }
  1152. github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
  1153. for _, k := range keysForLabels {
  1154. dAtA[i] = 0x5a
  1155. i++
  1156. v := m.Labels[string(k)]
  1157. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1158. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1159. dAtA[i] = 0xa
  1160. i++
  1161. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1162. i += copy(dAtA[i:], k)
  1163. dAtA[i] = 0x12
  1164. i++
  1165. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1166. i += copy(dAtA[i:], v)
  1167. }
  1168. }
  1169. if len(m.Annotations) > 0 {
  1170. keysForAnnotations := make([]string, 0, len(m.Annotations))
  1171. for k := range m.Annotations {
  1172. keysForAnnotations = append(keysForAnnotations, string(k))
  1173. }
  1174. github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
  1175. for _, k := range keysForAnnotations {
  1176. dAtA[i] = 0x62
  1177. i++
  1178. v := m.Annotations[string(k)]
  1179. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1180. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  1181. dAtA[i] = 0xa
  1182. i++
  1183. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  1184. i += copy(dAtA[i:], k)
  1185. dAtA[i] = 0x12
  1186. i++
  1187. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  1188. i += copy(dAtA[i:], v)
  1189. }
  1190. }
  1191. if len(m.OwnerReferences) > 0 {
  1192. for _, msg := range m.OwnerReferences {
  1193. dAtA[i] = 0x6a
  1194. i++
  1195. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1196. n, err := msg.MarshalTo(dAtA[i:])
  1197. if err != nil {
  1198. return 0, err
  1199. }
  1200. i += n
  1201. }
  1202. }
  1203. if len(m.Finalizers) > 0 {
  1204. for _, s := range m.Finalizers {
  1205. dAtA[i] = 0x72
  1206. i++
  1207. l = len(s)
  1208. for l >= 1<<7 {
  1209. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1210. l >>= 7
  1211. i++
  1212. }
  1213. dAtA[i] = uint8(l)
  1214. i++
  1215. i += copy(dAtA[i:], s)
  1216. }
  1217. }
  1218. dAtA[i] = 0x7a
  1219. i++
  1220. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterName)))
  1221. i += copy(dAtA[i:], m.ClusterName)
  1222. if m.Initializers != nil {
  1223. dAtA[i] = 0x82
  1224. i++
  1225. dAtA[i] = 0x1
  1226. i++
  1227. i = encodeVarintGenerated(dAtA, i, uint64(m.Initializers.Size()))
  1228. n8, err := m.Initializers.MarshalTo(dAtA[i:])
  1229. if err != nil {
  1230. return 0, err
  1231. }
  1232. i += n8
  1233. }
  1234. return i, nil
  1235. }
  1236. func (m *OwnerReference) Marshal() (dAtA []byte, err error) {
  1237. size := m.Size()
  1238. dAtA = make([]byte, size)
  1239. n, err := m.MarshalTo(dAtA)
  1240. if err != nil {
  1241. return nil, err
  1242. }
  1243. return dAtA[:n], nil
  1244. }
  1245. func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) {
  1246. var i int
  1247. _ = i
  1248. var l int
  1249. _ = l
  1250. dAtA[i] = 0xa
  1251. i++
  1252. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  1253. i += copy(dAtA[i:], m.Kind)
  1254. dAtA[i] = 0x1a
  1255. i++
  1256. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  1257. i += copy(dAtA[i:], m.Name)
  1258. dAtA[i] = 0x22
  1259. i++
  1260. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  1261. i += copy(dAtA[i:], m.UID)
  1262. dAtA[i] = 0x2a
  1263. i++
  1264. i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
  1265. i += copy(dAtA[i:], m.APIVersion)
  1266. if m.Controller != nil {
  1267. dAtA[i] = 0x30
  1268. i++
  1269. if *m.Controller {
  1270. dAtA[i] = 1
  1271. } else {
  1272. dAtA[i] = 0
  1273. }
  1274. i++
  1275. }
  1276. if m.BlockOwnerDeletion != nil {
  1277. dAtA[i] = 0x38
  1278. i++
  1279. if *m.BlockOwnerDeletion {
  1280. dAtA[i] = 1
  1281. } else {
  1282. dAtA[i] = 0
  1283. }
  1284. i++
  1285. }
  1286. return i, nil
  1287. }
  1288. func (m *Patch) Marshal() (dAtA []byte, err error) {
  1289. size := m.Size()
  1290. dAtA = make([]byte, size)
  1291. n, err := m.MarshalTo(dAtA)
  1292. if err != nil {
  1293. return nil, err
  1294. }
  1295. return dAtA[:n], nil
  1296. }
  1297. func (m *Patch) MarshalTo(dAtA []byte) (int, error) {
  1298. var i int
  1299. _ = i
  1300. var l int
  1301. _ = l
  1302. return i, nil
  1303. }
  1304. func (m *Preconditions) Marshal() (dAtA []byte, err error) {
  1305. size := m.Size()
  1306. dAtA = make([]byte, size)
  1307. n, err := m.MarshalTo(dAtA)
  1308. if err != nil {
  1309. return nil, err
  1310. }
  1311. return dAtA[:n], nil
  1312. }
  1313. func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) {
  1314. var i int
  1315. _ = i
  1316. var l int
  1317. _ = l
  1318. if m.UID != nil {
  1319. dAtA[i] = 0xa
  1320. i++
  1321. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID)))
  1322. i += copy(dAtA[i:], *m.UID)
  1323. }
  1324. return i, nil
  1325. }
  1326. func (m *RootPaths) Marshal() (dAtA []byte, err error) {
  1327. size := m.Size()
  1328. dAtA = make([]byte, size)
  1329. n, err := m.MarshalTo(dAtA)
  1330. if err != nil {
  1331. return nil, err
  1332. }
  1333. return dAtA[:n], nil
  1334. }
  1335. func (m *RootPaths) MarshalTo(dAtA []byte) (int, error) {
  1336. var i int
  1337. _ = i
  1338. var l int
  1339. _ = l
  1340. if len(m.Paths) > 0 {
  1341. for _, s := range m.Paths {
  1342. dAtA[i] = 0xa
  1343. i++
  1344. l = len(s)
  1345. for l >= 1<<7 {
  1346. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1347. l >>= 7
  1348. i++
  1349. }
  1350. dAtA[i] = uint8(l)
  1351. i++
  1352. i += copy(dAtA[i:], s)
  1353. }
  1354. }
  1355. return i, nil
  1356. }
  1357. func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error) {
  1358. size := m.Size()
  1359. dAtA = make([]byte, size)
  1360. n, err := m.MarshalTo(dAtA)
  1361. if err != nil {
  1362. return nil, err
  1363. }
  1364. return dAtA[:n], nil
  1365. }
  1366. func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error) {
  1367. var i int
  1368. _ = i
  1369. var l int
  1370. _ = l
  1371. dAtA[i] = 0xa
  1372. i++
  1373. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClientCIDR)))
  1374. i += copy(dAtA[i:], m.ClientCIDR)
  1375. dAtA[i] = 0x12
  1376. i++
  1377. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerAddress)))
  1378. i += copy(dAtA[i:], m.ServerAddress)
  1379. return i, nil
  1380. }
  1381. func (m *Status) Marshal() (dAtA []byte, err error) {
  1382. size := m.Size()
  1383. dAtA = make([]byte, size)
  1384. n, err := m.MarshalTo(dAtA)
  1385. if err != nil {
  1386. return nil, err
  1387. }
  1388. return dAtA[:n], nil
  1389. }
  1390. func (m *Status) MarshalTo(dAtA []byte) (int, error) {
  1391. var i int
  1392. _ = i
  1393. var l int
  1394. _ = l
  1395. dAtA[i] = 0xa
  1396. i++
  1397. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1398. n9, err := m.ListMeta.MarshalTo(dAtA[i:])
  1399. if err != nil {
  1400. return 0, err
  1401. }
  1402. i += n9
  1403. dAtA[i] = 0x12
  1404. i++
  1405. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  1406. i += copy(dAtA[i:], m.Status)
  1407. dAtA[i] = 0x1a
  1408. i++
  1409. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1410. i += copy(dAtA[i:], m.Message)
  1411. dAtA[i] = 0x22
  1412. i++
  1413. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  1414. i += copy(dAtA[i:], m.Reason)
  1415. if m.Details != nil {
  1416. dAtA[i] = 0x2a
  1417. i++
  1418. i = encodeVarintGenerated(dAtA, i, uint64(m.Details.Size()))
  1419. n10, err := m.Details.MarshalTo(dAtA[i:])
  1420. if err != nil {
  1421. return 0, err
  1422. }
  1423. i += n10
  1424. }
  1425. dAtA[i] = 0x30
  1426. i++
  1427. i = encodeVarintGenerated(dAtA, i, uint64(m.Code))
  1428. return i, nil
  1429. }
  1430. func (m *StatusCause) Marshal() (dAtA []byte, err error) {
  1431. size := m.Size()
  1432. dAtA = make([]byte, size)
  1433. n, err := m.MarshalTo(dAtA)
  1434. if err != nil {
  1435. return nil, err
  1436. }
  1437. return dAtA[:n], nil
  1438. }
  1439. func (m *StatusCause) MarshalTo(dAtA []byte) (int, error) {
  1440. var i int
  1441. _ = i
  1442. var l int
  1443. _ = l
  1444. dAtA[i] = 0xa
  1445. i++
  1446. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1447. i += copy(dAtA[i:], m.Type)
  1448. dAtA[i] = 0x12
  1449. i++
  1450. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1451. i += copy(dAtA[i:], m.Message)
  1452. dAtA[i] = 0x1a
  1453. i++
  1454. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Field)))
  1455. i += copy(dAtA[i:], m.Field)
  1456. return i, nil
  1457. }
  1458. func (m *StatusDetails) Marshal() (dAtA []byte, err error) {
  1459. size := m.Size()
  1460. dAtA = make([]byte, size)
  1461. n, err := m.MarshalTo(dAtA)
  1462. if err != nil {
  1463. return nil, err
  1464. }
  1465. return dAtA[:n], nil
  1466. }
  1467. func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error) {
  1468. var i int
  1469. _ = i
  1470. var l int
  1471. _ = l
  1472. dAtA[i] = 0xa
  1473. i++
  1474. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  1475. i += copy(dAtA[i:], m.Name)
  1476. dAtA[i] = 0x12
  1477. i++
  1478. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
  1479. i += copy(dAtA[i:], m.Group)
  1480. dAtA[i] = 0x1a
  1481. i++
  1482. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  1483. i += copy(dAtA[i:], m.Kind)
  1484. if len(m.Causes) > 0 {
  1485. for _, msg := range m.Causes {
  1486. dAtA[i] = 0x22
  1487. i++
  1488. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1489. n, err := msg.MarshalTo(dAtA[i:])
  1490. if err != nil {
  1491. return 0, err
  1492. }
  1493. i += n
  1494. }
  1495. }
  1496. dAtA[i] = 0x28
  1497. i++
  1498. i = encodeVarintGenerated(dAtA, i, uint64(m.RetryAfterSeconds))
  1499. dAtA[i] = 0x32
  1500. i++
  1501. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  1502. i += copy(dAtA[i:], m.UID)
  1503. return i, nil
  1504. }
  1505. func (m *Timestamp) Marshal() (dAtA []byte, err error) {
  1506. size := m.Size()
  1507. dAtA = make([]byte, size)
  1508. n, err := m.MarshalTo(dAtA)
  1509. if err != nil {
  1510. return nil, err
  1511. }
  1512. return dAtA[:n], nil
  1513. }
  1514. func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) {
  1515. var i int
  1516. _ = i
  1517. var l int
  1518. _ = l
  1519. dAtA[i] = 0x8
  1520. i++
  1521. i = encodeVarintGenerated(dAtA, i, uint64(m.Seconds))
  1522. dAtA[i] = 0x10
  1523. i++
  1524. i = encodeVarintGenerated(dAtA, i, uint64(m.Nanos))
  1525. return i, nil
  1526. }
  1527. func (m *TypeMeta) Marshal() (dAtA []byte, err error) {
  1528. size := m.Size()
  1529. dAtA = make([]byte, size)
  1530. n, err := m.MarshalTo(dAtA)
  1531. if err != nil {
  1532. return nil, err
  1533. }
  1534. return dAtA[:n], nil
  1535. }
  1536. func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error) {
  1537. var i int
  1538. _ = i
  1539. var l int
  1540. _ = l
  1541. dAtA[i] = 0xa
  1542. i++
  1543. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
  1544. i += copy(dAtA[i:], m.Kind)
  1545. dAtA[i] = 0x12
  1546. i++
  1547. i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
  1548. i += copy(dAtA[i:], m.APIVersion)
  1549. return i, nil
  1550. }
  1551. func (m *UpdateOptions) Marshal() (dAtA []byte, err error) {
  1552. size := m.Size()
  1553. dAtA = make([]byte, size)
  1554. n, err := m.MarshalTo(dAtA)
  1555. if err != nil {
  1556. return nil, err
  1557. }
  1558. return dAtA[:n], nil
  1559. }
  1560. func (m *UpdateOptions) MarshalTo(dAtA []byte) (int, error) {
  1561. var i int
  1562. _ = i
  1563. var l int
  1564. _ = l
  1565. if len(m.DryRun) > 0 {
  1566. for _, s := range m.DryRun {
  1567. dAtA[i] = 0xa
  1568. i++
  1569. l = len(s)
  1570. for l >= 1<<7 {
  1571. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1572. l >>= 7
  1573. i++
  1574. }
  1575. dAtA[i] = uint8(l)
  1576. i++
  1577. i += copy(dAtA[i:], s)
  1578. }
  1579. }
  1580. return i, nil
  1581. }
  1582. func (m Verbs) Marshal() (dAtA []byte, err error) {
  1583. size := m.Size()
  1584. dAtA = make([]byte, size)
  1585. n, err := m.MarshalTo(dAtA)
  1586. if err != nil {
  1587. return nil, err
  1588. }
  1589. return dAtA[:n], nil
  1590. }
  1591. func (m Verbs) MarshalTo(dAtA []byte) (int, error) {
  1592. var i int
  1593. _ = i
  1594. var l int
  1595. _ = l
  1596. if len(m) > 0 {
  1597. for _, s := range m {
  1598. dAtA[i] = 0xa
  1599. i++
  1600. l = len(s)
  1601. for l >= 1<<7 {
  1602. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1603. l >>= 7
  1604. i++
  1605. }
  1606. dAtA[i] = uint8(l)
  1607. i++
  1608. i += copy(dAtA[i:], s)
  1609. }
  1610. }
  1611. return i, nil
  1612. }
  1613. func (m *WatchEvent) Marshal() (dAtA []byte, err error) {
  1614. size := m.Size()
  1615. dAtA = make([]byte, size)
  1616. n, err := m.MarshalTo(dAtA)
  1617. if err != nil {
  1618. return nil, err
  1619. }
  1620. return dAtA[:n], nil
  1621. }
  1622. func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error) {
  1623. var i int
  1624. _ = i
  1625. var l int
  1626. _ = l
  1627. dAtA[i] = 0xa
  1628. i++
  1629. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1630. i += copy(dAtA[i:], m.Type)
  1631. dAtA[i] = 0x12
  1632. i++
  1633. i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
  1634. n11, err := m.Object.MarshalTo(dAtA[i:])
  1635. if err != nil {
  1636. return 0, err
  1637. }
  1638. i += n11
  1639. return i, nil
  1640. }
  1641. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  1642. for v >= 1<<7 {
  1643. dAtA[offset] = uint8(v&0x7f | 0x80)
  1644. v >>= 7
  1645. offset++
  1646. }
  1647. dAtA[offset] = uint8(v)
  1648. return offset + 1
  1649. }
  1650. func (m *APIGroup) Size() (n int) {
  1651. var l int
  1652. _ = l
  1653. l = len(m.Name)
  1654. n += 1 + l + sovGenerated(uint64(l))
  1655. if len(m.Versions) > 0 {
  1656. for _, e := range m.Versions {
  1657. l = e.Size()
  1658. n += 1 + l + sovGenerated(uint64(l))
  1659. }
  1660. }
  1661. l = m.PreferredVersion.Size()
  1662. n += 1 + l + sovGenerated(uint64(l))
  1663. if len(m.ServerAddressByClientCIDRs) > 0 {
  1664. for _, e := range m.ServerAddressByClientCIDRs {
  1665. l = e.Size()
  1666. n += 1 + l + sovGenerated(uint64(l))
  1667. }
  1668. }
  1669. return n
  1670. }
  1671. func (m *APIGroupList) Size() (n int) {
  1672. var l int
  1673. _ = l
  1674. if len(m.Groups) > 0 {
  1675. for _, e := range m.Groups {
  1676. l = e.Size()
  1677. n += 1 + l + sovGenerated(uint64(l))
  1678. }
  1679. }
  1680. return n
  1681. }
  1682. func (m *APIResource) Size() (n int) {
  1683. var l int
  1684. _ = l
  1685. l = len(m.Name)
  1686. n += 1 + l + sovGenerated(uint64(l))
  1687. n += 2
  1688. l = len(m.Kind)
  1689. n += 1 + l + sovGenerated(uint64(l))
  1690. if m.Verbs != nil {
  1691. l = m.Verbs.Size()
  1692. n += 1 + l + sovGenerated(uint64(l))
  1693. }
  1694. if len(m.ShortNames) > 0 {
  1695. for _, s := range m.ShortNames {
  1696. l = len(s)
  1697. n += 1 + l + sovGenerated(uint64(l))
  1698. }
  1699. }
  1700. l = len(m.SingularName)
  1701. n += 1 + l + sovGenerated(uint64(l))
  1702. if len(m.Categories) > 0 {
  1703. for _, s := range m.Categories {
  1704. l = len(s)
  1705. n += 1 + l + sovGenerated(uint64(l))
  1706. }
  1707. }
  1708. l = len(m.Group)
  1709. n += 1 + l + sovGenerated(uint64(l))
  1710. l = len(m.Version)
  1711. n += 1 + l + sovGenerated(uint64(l))
  1712. return n
  1713. }
  1714. func (m *APIResourceList) Size() (n int) {
  1715. var l int
  1716. _ = l
  1717. l = len(m.GroupVersion)
  1718. n += 1 + l + sovGenerated(uint64(l))
  1719. if len(m.APIResources) > 0 {
  1720. for _, e := range m.APIResources {
  1721. l = e.Size()
  1722. n += 1 + l + sovGenerated(uint64(l))
  1723. }
  1724. }
  1725. return n
  1726. }
  1727. func (m *APIVersions) Size() (n int) {
  1728. var l int
  1729. _ = l
  1730. if len(m.Versions) > 0 {
  1731. for _, s := range m.Versions {
  1732. l = len(s)
  1733. n += 1 + l + sovGenerated(uint64(l))
  1734. }
  1735. }
  1736. if len(m.ServerAddressByClientCIDRs) > 0 {
  1737. for _, e := range m.ServerAddressByClientCIDRs {
  1738. l = e.Size()
  1739. n += 1 + l + sovGenerated(uint64(l))
  1740. }
  1741. }
  1742. return n
  1743. }
  1744. func (m *CreateOptions) Size() (n int) {
  1745. var l int
  1746. _ = l
  1747. if len(m.DryRun) > 0 {
  1748. for _, s := range m.DryRun {
  1749. l = len(s)
  1750. n += 1 + l + sovGenerated(uint64(l))
  1751. }
  1752. }
  1753. n += 2
  1754. return n
  1755. }
  1756. func (m *DeleteOptions) Size() (n int) {
  1757. var l int
  1758. _ = l
  1759. if m.GracePeriodSeconds != nil {
  1760. n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds))
  1761. }
  1762. if m.Preconditions != nil {
  1763. l = m.Preconditions.Size()
  1764. n += 1 + l + sovGenerated(uint64(l))
  1765. }
  1766. if m.OrphanDependents != nil {
  1767. n += 2
  1768. }
  1769. if m.PropagationPolicy != nil {
  1770. l = len(*m.PropagationPolicy)
  1771. n += 1 + l + sovGenerated(uint64(l))
  1772. }
  1773. if len(m.DryRun) > 0 {
  1774. for _, s := range m.DryRun {
  1775. l = len(s)
  1776. n += 1 + l + sovGenerated(uint64(l))
  1777. }
  1778. }
  1779. return n
  1780. }
  1781. func (m *Duration) Size() (n int) {
  1782. var l int
  1783. _ = l
  1784. n += 1 + sovGenerated(uint64(m.Duration))
  1785. return n
  1786. }
  1787. func (m *ExportOptions) Size() (n int) {
  1788. var l int
  1789. _ = l
  1790. n += 2
  1791. n += 2
  1792. return n
  1793. }
  1794. func (m *GetOptions) Size() (n int) {
  1795. var l int
  1796. _ = l
  1797. l = len(m.ResourceVersion)
  1798. n += 1 + l + sovGenerated(uint64(l))
  1799. n += 2
  1800. return n
  1801. }
  1802. func (m *GroupKind) Size() (n int) {
  1803. var l int
  1804. _ = l
  1805. l = len(m.Group)
  1806. n += 1 + l + sovGenerated(uint64(l))
  1807. l = len(m.Kind)
  1808. n += 1 + l + sovGenerated(uint64(l))
  1809. return n
  1810. }
  1811. func (m *GroupResource) Size() (n int) {
  1812. var l int
  1813. _ = l
  1814. l = len(m.Group)
  1815. n += 1 + l + sovGenerated(uint64(l))
  1816. l = len(m.Resource)
  1817. n += 1 + l + sovGenerated(uint64(l))
  1818. return n
  1819. }
  1820. func (m *GroupVersion) Size() (n int) {
  1821. var l int
  1822. _ = l
  1823. l = len(m.Group)
  1824. n += 1 + l + sovGenerated(uint64(l))
  1825. l = len(m.Version)
  1826. n += 1 + l + sovGenerated(uint64(l))
  1827. return n
  1828. }
  1829. func (m *GroupVersionForDiscovery) Size() (n int) {
  1830. var l int
  1831. _ = l
  1832. l = len(m.GroupVersion)
  1833. n += 1 + l + sovGenerated(uint64(l))
  1834. l = len(m.Version)
  1835. n += 1 + l + sovGenerated(uint64(l))
  1836. return n
  1837. }
  1838. func (m *GroupVersionKind) Size() (n int) {
  1839. var l int
  1840. _ = l
  1841. l = len(m.Group)
  1842. n += 1 + l + sovGenerated(uint64(l))
  1843. l = len(m.Version)
  1844. n += 1 + l + sovGenerated(uint64(l))
  1845. l = len(m.Kind)
  1846. n += 1 + l + sovGenerated(uint64(l))
  1847. return n
  1848. }
  1849. func (m *GroupVersionResource) Size() (n int) {
  1850. var l int
  1851. _ = l
  1852. l = len(m.Group)
  1853. n += 1 + l + sovGenerated(uint64(l))
  1854. l = len(m.Version)
  1855. n += 1 + l + sovGenerated(uint64(l))
  1856. l = len(m.Resource)
  1857. n += 1 + l + sovGenerated(uint64(l))
  1858. return n
  1859. }
  1860. func (m *Initializer) Size() (n int) {
  1861. var l int
  1862. _ = l
  1863. l = len(m.Name)
  1864. n += 1 + l + sovGenerated(uint64(l))
  1865. return n
  1866. }
  1867. func (m *Initializers) Size() (n int) {
  1868. var l int
  1869. _ = l
  1870. if len(m.Pending) > 0 {
  1871. for _, e := range m.Pending {
  1872. l = e.Size()
  1873. n += 1 + l + sovGenerated(uint64(l))
  1874. }
  1875. }
  1876. if m.Result != nil {
  1877. l = m.Result.Size()
  1878. n += 1 + l + sovGenerated(uint64(l))
  1879. }
  1880. return n
  1881. }
  1882. func (m *LabelSelector) Size() (n int) {
  1883. var l int
  1884. _ = l
  1885. if len(m.MatchLabels) > 0 {
  1886. for k, v := range m.MatchLabels {
  1887. _ = k
  1888. _ = v
  1889. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1890. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  1891. }
  1892. }
  1893. if len(m.MatchExpressions) > 0 {
  1894. for _, e := range m.MatchExpressions {
  1895. l = e.Size()
  1896. n += 1 + l + sovGenerated(uint64(l))
  1897. }
  1898. }
  1899. return n
  1900. }
  1901. func (m *LabelSelectorRequirement) Size() (n int) {
  1902. var l int
  1903. _ = l
  1904. l = len(m.Key)
  1905. n += 1 + l + sovGenerated(uint64(l))
  1906. l = len(m.Operator)
  1907. n += 1 + l + sovGenerated(uint64(l))
  1908. if len(m.Values) > 0 {
  1909. for _, s := range m.Values {
  1910. l = len(s)
  1911. n += 1 + l + sovGenerated(uint64(l))
  1912. }
  1913. }
  1914. return n
  1915. }
  1916. func (m *List) Size() (n int) {
  1917. var l int
  1918. _ = l
  1919. l = m.ListMeta.Size()
  1920. n += 1 + l + sovGenerated(uint64(l))
  1921. if len(m.Items) > 0 {
  1922. for _, e := range m.Items {
  1923. l = e.Size()
  1924. n += 1 + l + sovGenerated(uint64(l))
  1925. }
  1926. }
  1927. return n
  1928. }
  1929. func (m *ListMeta) Size() (n int) {
  1930. var l int
  1931. _ = l
  1932. l = len(m.SelfLink)
  1933. n += 1 + l + sovGenerated(uint64(l))
  1934. l = len(m.ResourceVersion)
  1935. n += 1 + l + sovGenerated(uint64(l))
  1936. l = len(m.Continue)
  1937. n += 1 + l + sovGenerated(uint64(l))
  1938. return n
  1939. }
  1940. func (m *ListOptions) Size() (n int) {
  1941. var l int
  1942. _ = l
  1943. l = len(m.LabelSelector)
  1944. n += 1 + l + sovGenerated(uint64(l))
  1945. l = len(m.FieldSelector)
  1946. n += 1 + l + sovGenerated(uint64(l))
  1947. n += 2
  1948. l = len(m.ResourceVersion)
  1949. n += 1 + l + sovGenerated(uint64(l))
  1950. if m.TimeoutSeconds != nil {
  1951. n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
  1952. }
  1953. n += 2
  1954. n += 1 + sovGenerated(uint64(m.Limit))
  1955. l = len(m.Continue)
  1956. n += 1 + l + sovGenerated(uint64(l))
  1957. return n
  1958. }
  1959. func (m *ObjectMeta) Size() (n int) {
  1960. var l int
  1961. _ = l
  1962. l = len(m.Name)
  1963. n += 1 + l + sovGenerated(uint64(l))
  1964. l = len(m.GenerateName)
  1965. n += 1 + l + sovGenerated(uint64(l))
  1966. l = len(m.Namespace)
  1967. n += 1 + l + sovGenerated(uint64(l))
  1968. l = len(m.SelfLink)
  1969. n += 1 + l + sovGenerated(uint64(l))
  1970. l = len(m.UID)
  1971. n += 1 + l + sovGenerated(uint64(l))
  1972. l = len(m.ResourceVersion)
  1973. n += 1 + l + sovGenerated(uint64(l))
  1974. n += 1 + sovGenerated(uint64(m.Generation))
  1975. l = m.CreationTimestamp.Size()
  1976. n += 1 + l + sovGenerated(uint64(l))
  1977. if m.DeletionTimestamp != nil {
  1978. l = m.DeletionTimestamp.Size()
  1979. n += 1 + l + sovGenerated(uint64(l))
  1980. }
  1981. if m.DeletionGracePeriodSeconds != nil {
  1982. n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds))
  1983. }
  1984. if len(m.Labels) > 0 {
  1985. for k, v := range m.Labels {
  1986. _ = k
  1987. _ = v
  1988. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1989. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  1990. }
  1991. }
  1992. if len(m.Annotations) > 0 {
  1993. for k, v := range m.Annotations {
  1994. _ = k
  1995. _ = v
  1996. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1997. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  1998. }
  1999. }
  2000. if len(m.OwnerReferences) > 0 {
  2001. for _, e := range m.OwnerReferences {
  2002. l = e.Size()
  2003. n += 1 + l + sovGenerated(uint64(l))
  2004. }
  2005. }
  2006. if len(m.Finalizers) > 0 {
  2007. for _, s := range m.Finalizers {
  2008. l = len(s)
  2009. n += 1 + l + sovGenerated(uint64(l))
  2010. }
  2011. }
  2012. l = len(m.ClusterName)
  2013. n += 1 + l + sovGenerated(uint64(l))
  2014. if m.Initializers != nil {
  2015. l = m.Initializers.Size()
  2016. n += 2 + l + sovGenerated(uint64(l))
  2017. }
  2018. return n
  2019. }
  2020. func (m *OwnerReference) Size() (n int) {
  2021. var l int
  2022. _ = l
  2023. l = len(m.Kind)
  2024. n += 1 + l + sovGenerated(uint64(l))
  2025. l = len(m.Name)
  2026. n += 1 + l + sovGenerated(uint64(l))
  2027. l = len(m.UID)
  2028. n += 1 + l + sovGenerated(uint64(l))
  2029. l = len(m.APIVersion)
  2030. n += 1 + l + sovGenerated(uint64(l))
  2031. if m.Controller != nil {
  2032. n += 2
  2033. }
  2034. if m.BlockOwnerDeletion != nil {
  2035. n += 2
  2036. }
  2037. return n
  2038. }
  2039. func (m *Patch) Size() (n int) {
  2040. var l int
  2041. _ = l
  2042. return n
  2043. }
  2044. func (m *Preconditions) Size() (n int) {
  2045. var l int
  2046. _ = l
  2047. if m.UID != nil {
  2048. l = len(*m.UID)
  2049. n += 1 + l + sovGenerated(uint64(l))
  2050. }
  2051. return n
  2052. }
  2053. func (m *RootPaths) Size() (n int) {
  2054. var l int
  2055. _ = l
  2056. if len(m.Paths) > 0 {
  2057. for _, s := range m.Paths {
  2058. l = len(s)
  2059. n += 1 + l + sovGenerated(uint64(l))
  2060. }
  2061. }
  2062. return n
  2063. }
  2064. func (m *ServerAddressByClientCIDR) Size() (n int) {
  2065. var l int
  2066. _ = l
  2067. l = len(m.ClientCIDR)
  2068. n += 1 + l + sovGenerated(uint64(l))
  2069. l = len(m.ServerAddress)
  2070. n += 1 + l + sovGenerated(uint64(l))
  2071. return n
  2072. }
  2073. func (m *Status) Size() (n int) {
  2074. var l int
  2075. _ = l
  2076. l = m.ListMeta.Size()
  2077. n += 1 + l + sovGenerated(uint64(l))
  2078. l = len(m.Status)
  2079. n += 1 + l + sovGenerated(uint64(l))
  2080. l = len(m.Message)
  2081. n += 1 + l + sovGenerated(uint64(l))
  2082. l = len(m.Reason)
  2083. n += 1 + l + sovGenerated(uint64(l))
  2084. if m.Details != nil {
  2085. l = m.Details.Size()
  2086. n += 1 + l + sovGenerated(uint64(l))
  2087. }
  2088. n += 1 + sovGenerated(uint64(m.Code))
  2089. return n
  2090. }
  2091. func (m *StatusCause) Size() (n int) {
  2092. var l int
  2093. _ = l
  2094. l = len(m.Type)
  2095. n += 1 + l + sovGenerated(uint64(l))
  2096. l = len(m.Message)
  2097. n += 1 + l + sovGenerated(uint64(l))
  2098. l = len(m.Field)
  2099. n += 1 + l + sovGenerated(uint64(l))
  2100. return n
  2101. }
  2102. func (m *StatusDetails) Size() (n int) {
  2103. var l int
  2104. _ = l
  2105. l = len(m.Name)
  2106. n += 1 + l + sovGenerated(uint64(l))
  2107. l = len(m.Group)
  2108. n += 1 + l + sovGenerated(uint64(l))
  2109. l = len(m.Kind)
  2110. n += 1 + l + sovGenerated(uint64(l))
  2111. if len(m.Causes) > 0 {
  2112. for _, e := range m.Causes {
  2113. l = e.Size()
  2114. n += 1 + l + sovGenerated(uint64(l))
  2115. }
  2116. }
  2117. n += 1 + sovGenerated(uint64(m.RetryAfterSeconds))
  2118. l = len(m.UID)
  2119. n += 1 + l + sovGenerated(uint64(l))
  2120. return n
  2121. }
  2122. func (m *Timestamp) Size() (n int) {
  2123. var l int
  2124. _ = l
  2125. n += 1 + sovGenerated(uint64(m.Seconds))
  2126. n += 1 + sovGenerated(uint64(m.Nanos))
  2127. return n
  2128. }
  2129. func (m *TypeMeta) Size() (n int) {
  2130. var l int
  2131. _ = l
  2132. l = len(m.Kind)
  2133. n += 1 + l + sovGenerated(uint64(l))
  2134. l = len(m.APIVersion)
  2135. n += 1 + l + sovGenerated(uint64(l))
  2136. return n
  2137. }
  2138. func (m *UpdateOptions) Size() (n int) {
  2139. var l int
  2140. _ = l
  2141. if len(m.DryRun) > 0 {
  2142. for _, s := range m.DryRun {
  2143. l = len(s)
  2144. n += 1 + l + sovGenerated(uint64(l))
  2145. }
  2146. }
  2147. return n
  2148. }
  2149. func (m Verbs) Size() (n int) {
  2150. var l int
  2151. _ = l
  2152. if len(m) > 0 {
  2153. for _, s := range m {
  2154. l = len(s)
  2155. n += 1 + l + sovGenerated(uint64(l))
  2156. }
  2157. }
  2158. return n
  2159. }
  2160. func (m *WatchEvent) Size() (n int) {
  2161. var l int
  2162. _ = l
  2163. l = len(m.Type)
  2164. n += 1 + l + sovGenerated(uint64(l))
  2165. l = m.Object.Size()
  2166. n += 1 + l + sovGenerated(uint64(l))
  2167. return n
  2168. }
  2169. func sovGenerated(x uint64) (n int) {
  2170. for {
  2171. n++
  2172. x >>= 7
  2173. if x == 0 {
  2174. break
  2175. }
  2176. }
  2177. return n
  2178. }
  2179. func sozGenerated(x uint64) (n int) {
  2180. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2181. }
  2182. func (this *APIGroup) String() string {
  2183. if this == nil {
  2184. return "nil"
  2185. }
  2186. s := strings.Join([]string{`&APIGroup{`,
  2187. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  2188. `Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
  2189. `PreferredVersion:` + strings.Replace(strings.Replace(this.PreferredVersion.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
  2190. `ServerAddressByClientCIDRs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ServerAddressByClientCIDRs), "ServerAddressByClientCIDR", "ServerAddressByClientCIDR", 1), `&`, ``, 1) + `,`,
  2191. `}`,
  2192. }, "")
  2193. return s
  2194. }
  2195. func (this *APIGroupList) String() string {
  2196. if this == nil {
  2197. return "nil"
  2198. }
  2199. s := strings.Join([]string{`&APIGroupList{`,
  2200. `Groups:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Groups), "APIGroup", "APIGroup", 1), `&`, ``, 1) + `,`,
  2201. `}`,
  2202. }, "")
  2203. return s
  2204. }
  2205. func (this *APIResource) String() string {
  2206. if this == nil {
  2207. return "nil"
  2208. }
  2209. s := strings.Join([]string{`&APIResource{`,
  2210. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  2211. `Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`,
  2212. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  2213. `Verbs:` + strings.Replace(fmt.Sprintf("%v", this.Verbs), "Verbs", "Verbs", 1) + `,`,
  2214. `ShortNames:` + fmt.Sprintf("%v", this.ShortNames) + `,`,
  2215. `SingularName:` + fmt.Sprintf("%v", this.SingularName) + `,`,
  2216. `Categories:` + fmt.Sprintf("%v", this.Categories) + `,`,
  2217. `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
  2218. `Version:` + fmt.Sprintf("%v", this.Version) + `,`,
  2219. `}`,
  2220. }, "")
  2221. return s
  2222. }
  2223. func (this *APIResourceList) String() string {
  2224. if this == nil {
  2225. return "nil"
  2226. }
  2227. s := strings.Join([]string{`&APIResourceList{`,
  2228. `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
  2229. `APIResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.APIResources), "APIResource", "APIResource", 1), `&`, ``, 1) + `,`,
  2230. `}`,
  2231. }, "")
  2232. return s
  2233. }
  2234. func (this *CreateOptions) String() string {
  2235. if this == nil {
  2236. return "nil"
  2237. }
  2238. s := strings.Join([]string{`&CreateOptions{`,
  2239. `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`,
  2240. `IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
  2241. `}`,
  2242. }, "")
  2243. return s
  2244. }
  2245. func (this *DeleteOptions) String() string {
  2246. if this == nil {
  2247. return "nil"
  2248. }
  2249. s := strings.Join([]string{`&DeleteOptions{`,
  2250. `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`,
  2251. `Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`,
  2252. `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`,
  2253. `PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`,
  2254. `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`,
  2255. `}`,
  2256. }, "")
  2257. return s
  2258. }
  2259. func (this *Duration) String() string {
  2260. if this == nil {
  2261. return "nil"
  2262. }
  2263. s := strings.Join([]string{`&Duration{`,
  2264. `Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
  2265. `}`,
  2266. }, "")
  2267. return s
  2268. }
  2269. func (this *ExportOptions) String() string {
  2270. if this == nil {
  2271. return "nil"
  2272. }
  2273. s := strings.Join([]string{`&ExportOptions{`,
  2274. `Export:` + fmt.Sprintf("%v", this.Export) + `,`,
  2275. `Exact:` + fmt.Sprintf("%v", this.Exact) + `,`,
  2276. `}`,
  2277. }, "")
  2278. return s
  2279. }
  2280. func (this *GetOptions) String() string {
  2281. if this == nil {
  2282. return "nil"
  2283. }
  2284. s := strings.Join([]string{`&GetOptions{`,
  2285. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  2286. `IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
  2287. `}`,
  2288. }, "")
  2289. return s
  2290. }
  2291. func (this *GroupVersionForDiscovery) String() string {
  2292. if this == nil {
  2293. return "nil"
  2294. }
  2295. s := strings.Join([]string{`&GroupVersionForDiscovery{`,
  2296. `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
  2297. `Version:` + fmt.Sprintf("%v", this.Version) + `,`,
  2298. `}`,
  2299. }, "")
  2300. return s
  2301. }
  2302. func (this *Initializer) String() string {
  2303. if this == nil {
  2304. return "nil"
  2305. }
  2306. s := strings.Join([]string{`&Initializer{`,
  2307. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  2308. `}`,
  2309. }, "")
  2310. return s
  2311. }
  2312. func (this *Initializers) String() string {
  2313. if this == nil {
  2314. return "nil"
  2315. }
  2316. s := strings.Join([]string{`&Initializers{`,
  2317. `Pending:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Pending), "Initializer", "Initializer", 1), `&`, ``, 1) + `,`,
  2318. `Result:` + strings.Replace(fmt.Sprintf("%v", this.Result), "Status", "Status", 1) + `,`,
  2319. `}`,
  2320. }, "")
  2321. return s
  2322. }
  2323. func (this *LabelSelector) String() string {
  2324. if this == nil {
  2325. return "nil"
  2326. }
  2327. keysForMatchLabels := make([]string, 0, len(this.MatchLabels))
  2328. for k := range this.MatchLabels {
  2329. keysForMatchLabels = append(keysForMatchLabels, k)
  2330. }
  2331. github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
  2332. mapStringForMatchLabels := "map[string]string{"
  2333. for _, k := range keysForMatchLabels {
  2334. mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k])
  2335. }
  2336. mapStringForMatchLabels += "}"
  2337. s := strings.Join([]string{`&LabelSelector{`,
  2338. `MatchLabels:` + mapStringForMatchLabels + `,`,
  2339. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`,
  2340. `}`,
  2341. }, "")
  2342. return s
  2343. }
  2344. func (this *LabelSelectorRequirement) String() string {
  2345. if this == nil {
  2346. return "nil"
  2347. }
  2348. s := strings.Join([]string{`&LabelSelectorRequirement{`,
  2349. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  2350. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  2351. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  2352. `}`,
  2353. }, "")
  2354. return s
  2355. }
  2356. func (this *List) String() string {
  2357. if this == nil {
  2358. return "nil"
  2359. }
  2360. s := strings.Join([]string{`&List{`,
  2361. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`,
  2362. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  2363. `}`,
  2364. }, "")
  2365. return s
  2366. }
  2367. func (this *ListMeta) String() string {
  2368. if this == nil {
  2369. return "nil"
  2370. }
  2371. s := strings.Join([]string{`&ListMeta{`,
  2372. `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
  2373. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  2374. `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`,
  2375. `}`,
  2376. }, "")
  2377. return s
  2378. }
  2379. func (this *ListOptions) String() string {
  2380. if this == nil {
  2381. return "nil"
  2382. }
  2383. s := strings.Join([]string{`&ListOptions{`,
  2384. `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
  2385. `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`,
  2386. `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`,
  2387. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  2388. `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
  2389. `IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
  2390. `Limit:` + fmt.Sprintf("%v", this.Limit) + `,`,
  2391. `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`,
  2392. `}`,
  2393. }, "")
  2394. return s
  2395. }
  2396. func (this *ObjectMeta) String() string {
  2397. if this == nil {
  2398. return "nil"
  2399. }
  2400. keysForLabels := make([]string, 0, len(this.Labels))
  2401. for k := range this.Labels {
  2402. keysForLabels = append(keysForLabels, k)
  2403. }
  2404. github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
  2405. mapStringForLabels := "map[string]string{"
  2406. for _, k := range keysForLabels {
  2407. mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
  2408. }
  2409. mapStringForLabels += "}"
  2410. keysForAnnotations := make([]string, 0, len(this.Annotations))
  2411. for k := range this.Annotations {
  2412. keysForAnnotations = append(keysForAnnotations, k)
  2413. }
  2414. github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
  2415. mapStringForAnnotations := "map[string]string{"
  2416. for _, k := range keysForAnnotations {
  2417. mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
  2418. }
  2419. mapStringForAnnotations += "}"
  2420. s := strings.Join([]string{`&ObjectMeta{`,
  2421. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  2422. `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`,
  2423. `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
  2424. `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
  2425. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  2426. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  2427. `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`,
  2428. `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "Time", 1), `&`, ``, 1) + `,`,
  2429. `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "Time", 1) + `,`,
  2430. `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`,
  2431. `Labels:` + mapStringForLabels + `,`,
  2432. `Annotations:` + mapStringForAnnotations + `,`,
  2433. `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "OwnerReference", 1), `&`, ``, 1) + `,`,
  2434. `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
  2435. `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
  2436. `Initializers:` + strings.Replace(fmt.Sprintf("%v", this.Initializers), "Initializers", "Initializers", 1) + `,`,
  2437. `}`,
  2438. }, "")
  2439. return s
  2440. }
  2441. func (this *OwnerReference) String() string {
  2442. if this == nil {
  2443. return "nil"
  2444. }
  2445. s := strings.Join([]string{`&OwnerReference{`,
  2446. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  2447. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  2448. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  2449. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  2450. `Controller:` + valueToStringGenerated(this.Controller) + `,`,
  2451. `BlockOwnerDeletion:` + valueToStringGenerated(this.BlockOwnerDeletion) + `,`,
  2452. `}`,
  2453. }, "")
  2454. return s
  2455. }
  2456. func (this *Patch) String() string {
  2457. if this == nil {
  2458. return "nil"
  2459. }
  2460. s := strings.Join([]string{`&Patch{`,
  2461. `}`,
  2462. }, "")
  2463. return s
  2464. }
  2465. func (this *Preconditions) String() string {
  2466. if this == nil {
  2467. return "nil"
  2468. }
  2469. s := strings.Join([]string{`&Preconditions{`,
  2470. `UID:` + valueToStringGenerated(this.UID) + `,`,
  2471. `}`,
  2472. }, "")
  2473. return s
  2474. }
  2475. func (this *RootPaths) String() string {
  2476. if this == nil {
  2477. return "nil"
  2478. }
  2479. s := strings.Join([]string{`&RootPaths{`,
  2480. `Paths:` + fmt.Sprintf("%v", this.Paths) + `,`,
  2481. `}`,
  2482. }, "")
  2483. return s
  2484. }
  2485. func (this *ServerAddressByClientCIDR) String() string {
  2486. if this == nil {
  2487. return "nil"
  2488. }
  2489. s := strings.Join([]string{`&ServerAddressByClientCIDR{`,
  2490. `ClientCIDR:` + fmt.Sprintf("%v", this.ClientCIDR) + `,`,
  2491. `ServerAddress:` + fmt.Sprintf("%v", this.ServerAddress) + `,`,
  2492. `}`,
  2493. }, "")
  2494. return s
  2495. }
  2496. func (this *Status) String() string {
  2497. if this == nil {
  2498. return "nil"
  2499. }
  2500. s := strings.Join([]string{`&Status{`,
  2501. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`,
  2502. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  2503. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  2504. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  2505. `Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "StatusDetails", "StatusDetails", 1) + `,`,
  2506. `Code:` + fmt.Sprintf("%v", this.Code) + `,`,
  2507. `}`,
  2508. }, "")
  2509. return s
  2510. }
  2511. func (this *StatusCause) String() string {
  2512. if this == nil {
  2513. return "nil"
  2514. }
  2515. s := strings.Join([]string{`&StatusCause{`,
  2516. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  2517. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  2518. `Field:` + fmt.Sprintf("%v", this.Field) + `,`,
  2519. `}`,
  2520. }, "")
  2521. return s
  2522. }
  2523. func (this *StatusDetails) String() string {
  2524. if this == nil {
  2525. return "nil"
  2526. }
  2527. s := strings.Join([]string{`&StatusDetails{`,
  2528. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  2529. `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
  2530. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  2531. `Causes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Causes), "StatusCause", "StatusCause", 1), `&`, ``, 1) + `,`,
  2532. `RetryAfterSeconds:` + fmt.Sprintf("%v", this.RetryAfterSeconds) + `,`,
  2533. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  2534. `}`,
  2535. }, "")
  2536. return s
  2537. }
  2538. func (this *Timestamp) String() string {
  2539. if this == nil {
  2540. return "nil"
  2541. }
  2542. s := strings.Join([]string{`&Timestamp{`,
  2543. `Seconds:` + fmt.Sprintf("%v", this.Seconds) + `,`,
  2544. `Nanos:` + fmt.Sprintf("%v", this.Nanos) + `,`,
  2545. `}`,
  2546. }, "")
  2547. return s
  2548. }
  2549. func (this *TypeMeta) String() string {
  2550. if this == nil {
  2551. return "nil"
  2552. }
  2553. s := strings.Join([]string{`&TypeMeta{`,
  2554. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  2555. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  2556. `}`,
  2557. }, "")
  2558. return s
  2559. }
  2560. func (this *UpdateOptions) String() string {
  2561. if this == nil {
  2562. return "nil"
  2563. }
  2564. s := strings.Join([]string{`&UpdateOptions{`,
  2565. `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`,
  2566. `}`,
  2567. }, "")
  2568. return s
  2569. }
  2570. func (this *WatchEvent) String() string {
  2571. if this == nil {
  2572. return "nil"
  2573. }
  2574. s := strings.Join([]string{`&WatchEvent{`,
  2575. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  2576. `Object:` + strings.Replace(strings.Replace(this.Object.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  2577. `}`,
  2578. }, "")
  2579. return s
  2580. }
  2581. func valueToStringGenerated(v interface{}) string {
  2582. rv := reflect.ValueOf(v)
  2583. if rv.IsNil() {
  2584. return "nil"
  2585. }
  2586. pv := reflect.Indirect(rv).Interface()
  2587. return fmt.Sprintf("*%v", pv)
  2588. }
  2589. func (m *APIGroup) Unmarshal(dAtA []byte) error {
  2590. l := len(dAtA)
  2591. iNdEx := 0
  2592. for iNdEx < l {
  2593. preIndex := iNdEx
  2594. var wire uint64
  2595. for shift := uint(0); ; shift += 7 {
  2596. if shift >= 64 {
  2597. return ErrIntOverflowGenerated
  2598. }
  2599. if iNdEx >= l {
  2600. return io.ErrUnexpectedEOF
  2601. }
  2602. b := dAtA[iNdEx]
  2603. iNdEx++
  2604. wire |= (uint64(b) & 0x7F) << shift
  2605. if b < 0x80 {
  2606. break
  2607. }
  2608. }
  2609. fieldNum := int32(wire >> 3)
  2610. wireType := int(wire & 0x7)
  2611. if wireType == 4 {
  2612. return fmt.Errorf("proto: APIGroup: wiretype end group for non-group")
  2613. }
  2614. if fieldNum <= 0 {
  2615. return fmt.Errorf("proto: APIGroup: illegal tag %d (wire type %d)", fieldNum, wire)
  2616. }
  2617. switch fieldNum {
  2618. case 1:
  2619. if wireType != 2 {
  2620. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2621. }
  2622. var stringLen uint64
  2623. for shift := uint(0); ; shift += 7 {
  2624. if shift >= 64 {
  2625. return ErrIntOverflowGenerated
  2626. }
  2627. if iNdEx >= l {
  2628. return io.ErrUnexpectedEOF
  2629. }
  2630. b := dAtA[iNdEx]
  2631. iNdEx++
  2632. stringLen |= (uint64(b) & 0x7F) << shift
  2633. if b < 0x80 {
  2634. break
  2635. }
  2636. }
  2637. intStringLen := int(stringLen)
  2638. if intStringLen < 0 {
  2639. return ErrInvalidLengthGenerated
  2640. }
  2641. postIndex := iNdEx + intStringLen
  2642. if postIndex > l {
  2643. return io.ErrUnexpectedEOF
  2644. }
  2645. m.Name = string(dAtA[iNdEx:postIndex])
  2646. iNdEx = postIndex
  2647. case 2:
  2648. if wireType != 2 {
  2649. return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
  2650. }
  2651. var msglen int
  2652. for shift := uint(0); ; shift += 7 {
  2653. if shift >= 64 {
  2654. return ErrIntOverflowGenerated
  2655. }
  2656. if iNdEx >= l {
  2657. return io.ErrUnexpectedEOF
  2658. }
  2659. b := dAtA[iNdEx]
  2660. iNdEx++
  2661. msglen |= (int(b) & 0x7F) << shift
  2662. if b < 0x80 {
  2663. break
  2664. }
  2665. }
  2666. if msglen < 0 {
  2667. return ErrInvalidLengthGenerated
  2668. }
  2669. postIndex := iNdEx + msglen
  2670. if postIndex > l {
  2671. return io.ErrUnexpectedEOF
  2672. }
  2673. m.Versions = append(m.Versions, GroupVersionForDiscovery{})
  2674. if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2675. return err
  2676. }
  2677. iNdEx = postIndex
  2678. case 3:
  2679. if wireType != 2 {
  2680. return fmt.Errorf("proto: wrong wireType = %d for field PreferredVersion", wireType)
  2681. }
  2682. var msglen int
  2683. for shift := uint(0); ; shift += 7 {
  2684. if shift >= 64 {
  2685. return ErrIntOverflowGenerated
  2686. }
  2687. if iNdEx >= l {
  2688. return io.ErrUnexpectedEOF
  2689. }
  2690. b := dAtA[iNdEx]
  2691. iNdEx++
  2692. msglen |= (int(b) & 0x7F) << shift
  2693. if b < 0x80 {
  2694. break
  2695. }
  2696. }
  2697. if msglen < 0 {
  2698. return ErrInvalidLengthGenerated
  2699. }
  2700. postIndex := iNdEx + msglen
  2701. if postIndex > l {
  2702. return io.ErrUnexpectedEOF
  2703. }
  2704. if err := m.PreferredVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2705. return err
  2706. }
  2707. iNdEx = postIndex
  2708. case 4:
  2709. if wireType != 2 {
  2710. return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
  2711. }
  2712. var msglen int
  2713. for shift := uint(0); ; shift += 7 {
  2714. if shift >= 64 {
  2715. return ErrIntOverflowGenerated
  2716. }
  2717. if iNdEx >= l {
  2718. return io.ErrUnexpectedEOF
  2719. }
  2720. b := dAtA[iNdEx]
  2721. iNdEx++
  2722. msglen |= (int(b) & 0x7F) << shift
  2723. if b < 0x80 {
  2724. break
  2725. }
  2726. }
  2727. if msglen < 0 {
  2728. return ErrInvalidLengthGenerated
  2729. }
  2730. postIndex := iNdEx + msglen
  2731. if postIndex > l {
  2732. return io.ErrUnexpectedEOF
  2733. }
  2734. m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
  2735. if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2736. return err
  2737. }
  2738. iNdEx = postIndex
  2739. default:
  2740. iNdEx = preIndex
  2741. skippy, err := skipGenerated(dAtA[iNdEx:])
  2742. if err != nil {
  2743. return err
  2744. }
  2745. if skippy < 0 {
  2746. return ErrInvalidLengthGenerated
  2747. }
  2748. if (iNdEx + skippy) > l {
  2749. return io.ErrUnexpectedEOF
  2750. }
  2751. iNdEx += skippy
  2752. }
  2753. }
  2754. if iNdEx > l {
  2755. return io.ErrUnexpectedEOF
  2756. }
  2757. return nil
  2758. }
  2759. func (m *APIGroupList) Unmarshal(dAtA []byte) error {
  2760. l := len(dAtA)
  2761. iNdEx := 0
  2762. for iNdEx < l {
  2763. preIndex := iNdEx
  2764. var wire uint64
  2765. for shift := uint(0); ; shift += 7 {
  2766. if shift >= 64 {
  2767. return ErrIntOverflowGenerated
  2768. }
  2769. if iNdEx >= l {
  2770. return io.ErrUnexpectedEOF
  2771. }
  2772. b := dAtA[iNdEx]
  2773. iNdEx++
  2774. wire |= (uint64(b) & 0x7F) << shift
  2775. if b < 0x80 {
  2776. break
  2777. }
  2778. }
  2779. fieldNum := int32(wire >> 3)
  2780. wireType := int(wire & 0x7)
  2781. if wireType == 4 {
  2782. return fmt.Errorf("proto: APIGroupList: wiretype end group for non-group")
  2783. }
  2784. if fieldNum <= 0 {
  2785. return fmt.Errorf("proto: APIGroupList: illegal tag %d (wire type %d)", fieldNum, wire)
  2786. }
  2787. switch fieldNum {
  2788. case 1:
  2789. if wireType != 2 {
  2790. return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
  2791. }
  2792. var msglen int
  2793. for shift := uint(0); ; shift += 7 {
  2794. if shift >= 64 {
  2795. return ErrIntOverflowGenerated
  2796. }
  2797. if iNdEx >= l {
  2798. return io.ErrUnexpectedEOF
  2799. }
  2800. b := dAtA[iNdEx]
  2801. iNdEx++
  2802. msglen |= (int(b) & 0x7F) << shift
  2803. if b < 0x80 {
  2804. break
  2805. }
  2806. }
  2807. if msglen < 0 {
  2808. return ErrInvalidLengthGenerated
  2809. }
  2810. postIndex := iNdEx + msglen
  2811. if postIndex > l {
  2812. return io.ErrUnexpectedEOF
  2813. }
  2814. m.Groups = append(m.Groups, APIGroup{})
  2815. if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2816. return err
  2817. }
  2818. iNdEx = postIndex
  2819. default:
  2820. iNdEx = preIndex
  2821. skippy, err := skipGenerated(dAtA[iNdEx:])
  2822. if err != nil {
  2823. return err
  2824. }
  2825. if skippy < 0 {
  2826. return ErrInvalidLengthGenerated
  2827. }
  2828. if (iNdEx + skippy) > l {
  2829. return io.ErrUnexpectedEOF
  2830. }
  2831. iNdEx += skippy
  2832. }
  2833. }
  2834. if iNdEx > l {
  2835. return io.ErrUnexpectedEOF
  2836. }
  2837. return nil
  2838. }
  2839. func (m *APIResource) Unmarshal(dAtA []byte) error {
  2840. l := len(dAtA)
  2841. iNdEx := 0
  2842. for iNdEx < l {
  2843. preIndex := iNdEx
  2844. var wire uint64
  2845. for shift := uint(0); ; shift += 7 {
  2846. if shift >= 64 {
  2847. return ErrIntOverflowGenerated
  2848. }
  2849. if iNdEx >= l {
  2850. return io.ErrUnexpectedEOF
  2851. }
  2852. b := dAtA[iNdEx]
  2853. iNdEx++
  2854. wire |= (uint64(b) & 0x7F) << shift
  2855. if b < 0x80 {
  2856. break
  2857. }
  2858. }
  2859. fieldNum := int32(wire >> 3)
  2860. wireType := int(wire & 0x7)
  2861. if wireType == 4 {
  2862. return fmt.Errorf("proto: APIResource: wiretype end group for non-group")
  2863. }
  2864. if fieldNum <= 0 {
  2865. return fmt.Errorf("proto: APIResource: illegal tag %d (wire type %d)", fieldNum, wire)
  2866. }
  2867. switch fieldNum {
  2868. case 1:
  2869. if wireType != 2 {
  2870. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2871. }
  2872. var stringLen uint64
  2873. for shift := uint(0); ; shift += 7 {
  2874. if shift >= 64 {
  2875. return ErrIntOverflowGenerated
  2876. }
  2877. if iNdEx >= l {
  2878. return io.ErrUnexpectedEOF
  2879. }
  2880. b := dAtA[iNdEx]
  2881. iNdEx++
  2882. stringLen |= (uint64(b) & 0x7F) << shift
  2883. if b < 0x80 {
  2884. break
  2885. }
  2886. }
  2887. intStringLen := int(stringLen)
  2888. if intStringLen < 0 {
  2889. return ErrInvalidLengthGenerated
  2890. }
  2891. postIndex := iNdEx + intStringLen
  2892. if postIndex > l {
  2893. return io.ErrUnexpectedEOF
  2894. }
  2895. m.Name = string(dAtA[iNdEx:postIndex])
  2896. iNdEx = postIndex
  2897. case 2:
  2898. if wireType != 0 {
  2899. return fmt.Errorf("proto: wrong wireType = %d for field Namespaced", wireType)
  2900. }
  2901. var v int
  2902. for shift := uint(0); ; shift += 7 {
  2903. if shift >= 64 {
  2904. return ErrIntOverflowGenerated
  2905. }
  2906. if iNdEx >= l {
  2907. return io.ErrUnexpectedEOF
  2908. }
  2909. b := dAtA[iNdEx]
  2910. iNdEx++
  2911. v |= (int(b) & 0x7F) << shift
  2912. if b < 0x80 {
  2913. break
  2914. }
  2915. }
  2916. m.Namespaced = bool(v != 0)
  2917. case 3:
  2918. if wireType != 2 {
  2919. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  2920. }
  2921. var stringLen uint64
  2922. for shift := uint(0); ; shift += 7 {
  2923. if shift >= 64 {
  2924. return ErrIntOverflowGenerated
  2925. }
  2926. if iNdEx >= l {
  2927. return io.ErrUnexpectedEOF
  2928. }
  2929. b := dAtA[iNdEx]
  2930. iNdEx++
  2931. stringLen |= (uint64(b) & 0x7F) << shift
  2932. if b < 0x80 {
  2933. break
  2934. }
  2935. }
  2936. intStringLen := int(stringLen)
  2937. if intStringLen < 0 {
  2938. return ErrInvalidLengthGenerated
  2939. }
  2940. postIndex := iNdEx + intStringLen
  2941. if postIndex > l {
  2942. return io.ErrUnexpectedEOF
  2943. }
  2944. m.Kind = string(dAtA[iNdEx:postIndex])
  2945. iNdEx = postIndex
  2946. case 4:
  2947. if wireType != 2 {
  2948. return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType)
  2949. }
  2950. var msglen int
  2951. for shift := uint(0); ; shift += 7 {
  2952. if shift >= 64 {
  2953. return ErrIntOverflowGenerated
  2954. }
  2955. if iNdEx >= l {
  2956. return io.ErrUnexpectedEOF
  2957. }
  2958. b := dAtA[iNdEx]
  2959. iNdEx++
  2960. msglen |= (int(b) & 0x7F) << shift
  2961. if b < 0x80 {
  2962. break
  2963. }
  2964. }
  2965. if msglen < 0 {
  2966. return ErrInvalidLengthGenerated
  2967. }
  2968. postIndex := iNdEx + msglen
  2969. if postIndex > l {
  2970. return io.ErrUnexpectedEOF
  2971. }
  2972. if m.Verbs == nil {
  2973. m.Verbs = Verbs{}
  2974. }
  2975. if err := m.Verbs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2976. return err
  2977. }
  2978. iNdEx = postIndex
  2979. case 5:
  2980. if wireType != 2 {
  2981. return fmt.Errorf("proto: wrong wireType = %d for field ShortNames", wireType)
  2982. }
  2983. var stringLen uint64
  2984. for shift := uint(0); ; shift += 7 {
  2985. if shift >= 64 {
  2986. return ErrIntOverflowGenerated
  2987. }
  2988. if iNdEx >= l {
  2989. return io.ErrUnexpectedEOF
  2990. }
  2991. b := dAtA[iNdEx]
  2992. iNdEx++
  2993. stringLen |= (uint64(b) & 0x7F) << shift
  2994. if b < 0x80 {
  2995. break
  2996. }
  2997. }
  2998. intStringLen := int(stringLen)
  2999. if intStringLen < 0 {
  3000. return ErrInvalidLengthGenerated
  3001. }
  3002. postIndex := iNdEx + intStringLen
  3003. if postIndex > l {
  3004. return io.ErrUnexpectedEOF
  3005. }
  3006. m.ShortNames = append(m.ShortNames, string(dAtA[iNdEx:postIndex]))
  3007. iNdEx = postIndex
  3008. case 6:
  3009. if wireType != 2 {
  3010. return fmt.Errorf("proto: wrong wireType = %d for field SingularName", wireType)
  3011. }
  3012. var stringLen uint64
  3013. for shift := uint(0); ; shift += 7 {
  3014. if shift >= 64 {
  3015. return ErrIntOverflowGenerated
  3016. }
  3017. if iNdEx >= l {
  3018. return io.ErrUnexpectedEOF
  3019. }
  3020. b := dAtA[iNdEx]
  3021. iNdEx++
  3022. stringLen |= (uint64(b) & 0x7F) << shift
  3023. if b < 0x80 {
  3024. break
  3025. }
  3026. }
  3027. intStringLen := int(stringLen)
  3028. if intStringLen < 0 {
  3029. return ErrInvalidLengthGenerated
  3030. }
  3031. postIndex := iNdEx + intStringLen
  3032. if postIndex > l {
  3033. return io.ErrUnexpectedEOF
  3034. }
  3035. m.SingularName = string(dAtA[iNdEx:postIndex])
  3036. iNdEx = postIndex
  3037. case 7:
  3038. if wireType != 2 {
  3039. return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType)
  3040. }
  3041. var stringLen uint64
  3042. for shift := uint(0); ; shift += 7 {
  3043. if shift >= 64 {
  3044. return ErrIntOverflowGenerated
  3045. }
  3046. if iNdEx >= l {
  3047. return io.ErrUnexpectedEOF
  3048. }
  3049. b := dAtA[iNdEx]
  3050. iNdEx++
  3051. stringLen |= (uint64(b) & 0x7F) << shift
  3052. if b < 0x80 {
  3053. break
  3054. }
  3055. }
  3056. intStringLen := int(stringLen)
  3057. if intStringLen < 0 {
  3058. return ErrInvalidLengthGenerated
  3059. }
  3060. postIndex := iNdEx + intStringLen
  3061. if postIndex > l {
  3062. return io.ErrUnexpectedEOF
  3063. }
  3064. m.Categories = append(m.Categories, string(dAtA[iNdEx:postIndex]))
  3065. iNdEx = postIndex
  3066. case 8:
  3067. if wireType != 2 {
  3068. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  3069. }
  3070. var stringLen uint64
  3071. for shift := uint(0); ; shift += 7 {
  3072. if shift >= 64 {
  3073. return ErrIntOverflowGenerated
  3074. }
  3075. if iNdEx >= l {
  3076. return io.ErrUnexpectedEOF
  3077. }
  3078. b := dAtA[iNdEx]
  3079. iNdEx++
  3080. stringLen |= (uint64(b) & 0x7F) << shift
  3081. if b < 0x80 {
  3082. break
  3083. }
  3084. }
  3085. intStringLen := int(stringLen)
  3086. if intStringLen < 0 {
  3087. return ErrInvalidLengthGenerated
  3088. }
  3089. postIndex := iNdEx + intStringLen
  3090. if postIndex > l {
  3091. return io.ErrUnexpectedEOF
  3092. }
  3093. m.Group = string(dAtA[iNdEx:postIndex])
  3094. iNdEx = postIndex
  3095. case 9:
  3096. if wireType != 2 {
  3097. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  3098. }
  3099. var stringLen uint64
  3100. for shift := uint(0); ; shift += 7 {
  3101. if shift >= 64 {
  3102. return ErrIntOverflowGenerated
  3103. }
  3104. if iNdEx >= l {
  3105. return io.ErrUnexpectedEOF
  3106. }
  3107. b := dAtA[iNdEx]
  3108. iNdEx++
  3109. stringLen |= (uint64(b) & 0x7F) << shift
  3110. if b < 0x80 {
  3111. break
  3112. }
  3113. }
  3114. intStringLen := int(stringLen)
  3115. if intStringLen < 0 {
  3116. return ErrInvalidLengthGenerated
  3117. }
  3118. postIndex := iNdEx + intStringLen
  3119. if postIndex > l {
  3120. return io.ErrUnexpectedEOF
  3121. }
  3122. m.Version = string(dAtA[iNdEx:postIndex])
  3123. iNdEx = postIndex
  3124. default:
  3125. iNdEx = preIndex
  3126. skippy, err := skipGenerated(dAtA[iNdEx:])
  3127. if err != nil {
  3128. return err
  3129. }
  3130. if skippy < 0 {
  3131. return ErrInvalidLengthGenerated
  3132. }
  3133. if (iNdEx + skippy) > l {
  3134. return io.ErrUnexpectedEOF
  3135. }
  3136. iNdEx += skippy
  3137. }
  3138. }
  3139. if iNdEx > l {
  3140. return io.ErrUnexpectedEOF
  3141. }
  3142. return nil
  3143. }
  3144. func (m *APIResourceList) Unmarshal(dAtA []byte) error {
  3145. l := len(dAtA)
  3146. iNdEx := 0
  3147. for iNdEx < l {
  3148. preIndex := iNdEx
  3149. var wire uint64
  3150. for shift := uint(0); ; shift += 7 {
  3151. if shift >= 64 {
  3152. return ErrIntOverflowGenerated
  3153. }
  3154. if iNdEx >= l {
  3155. return io.ErrUnexpectedEOF
  3156. }
  3157. b := dAtA[iNdEx]
  3158. iNdEx++
  3159. wire |= (uint64(b) & 0x7F) << shift
  3160. if b < 0x80 {
  3161. break
  3162. }
  3163. }
  3164. fieldNum := int32(wire >> 3)
  3165. wireType := int(wire & 0x7)
  3166. if wireType == 4 {
  3167. return fmt.Errorf("proto: APIResourceList: wiretype end group for non-group")
  3168. }
  3169. if fieldNum <= 0 {
  3170. return fmt.Errorf("proto: APIResourceList: illegal tag %d (wire type %d)", fieldNum, wire)
  3171. }
  3172. switch fieldNum {
  3173. case 1:
  3174. if wireType != 2 {
  3175. return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
  3176. }
  3177. var stringLen uint64
  3178. for shift := uint(0); ; shift += 7 {
  3179. if shift >= 64 {
  3180. return ErrIntOverflowGenerated
  3181. }
  3182. if iNdEx >= l {
  3183. return io.ErrUnexpectedEOF
  3184. }
  3185. b := dAtA[iNdEx]
  3186. iNdEx++
  3187. stringLen |= (uint64(b) & 0x7F) << shift
  3188. if b < 0x80 {
  3189. break
  3190. }
  3191. }
  3192. intStringLen := int(stringLen)
  3193. if intStringLen < 0 {
  3194. return ErrInvalidLengthGenerated
  3195. }
  3196. postIndex := iNdEx + intStringLen
  3197. if postIndex > l {
  3198. return io.ErrUnexpectedEOF
  3199. }
  3200. m.GroupVersion = string(dAtA[iNdEx:postIndex])
  3201. iNdEx = postIndex
  3202. case 2:
  3203. if wireType != 2 {
  3204. return fmt.Errorf("proto: wrong wireType = %d for field APIResources", wireType)
  3205. }
  3206. var msglen int
  3207. for shift := uint(0); ; shift += 7 {
  3208. if shift >= 64 {
  3209. return ErrIntOverflowGenerated
  3210. }
  3211. if iNdEx >= l {
  3212. return io.ErrUnexpectedEOF
  3213. }
  3214. b := dAtA[iNdEx]
  3215. iNdEx++
  3216. msglen |= (int(b) & 0x7F) << shift
  3217. if b < 0x80 {
  3218. break
  3219. }
  3220. }
  3221. if msglen < 0 {
  3222. return ErrInvalidLengthGenerated
  3223. }
  3224. postIndex := iNdEx + msglen
  3225. if postIndex > l {
  3226. return io.ErrUnexpectedEOF
  3227. }
  3228. m.APIResources = append(m.APIResources, APIResource{})
  3229. if err := m.APIResources[len(m.APIResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3230. return err
  3231. }
  3232. iNdEx = postIndex
  3233. default:
  3234. iNdEx = preIndex
  3235. skippy, err := skipGenerated(dAtA[iNdEx:])
  3236. if err != nil {
  3237. return err
  3238. }
  3239. if skippy < 0 {
  3240. return ErrInvalidLengthGenerated
  3241. }
  3242. if (iNdEx + skippy) > l {
  3243. return io.ErrUnexpectedEOF
  3244. }
  3245. iNdEx += skippy
  3246. }
  3247. }
  3248. if iNdEx > l {
  3249. return io.ErrUnexpectedEOF
  3250. }
  3251. return nil
  3252. }
  3253. func (m *APIVersions) Unmarshal(dAtA []byte) error {
  3254. l := len(dAtA)
  3255. iNdEx := 0
  3256. for iNdEx < l {
  3257. preIndex := iNdEx
  3258. var wire uint64
  3259. for shift := uint(0); ; shift += 7 {
  3260. if shift >= 64 {
  3261. return ErrIntOverflowGenerated
  3262. }
  3263. if iNdEx >= l {
  3264. return io.ErrUnexpectedEOF
  3265. }
  3266. b := dAtA[iNdEx]
  3267. iNdEx++
  3268. wire |= (uint64(b) & 0x7F) << shift
  3269. if b < 0x80 {
  3270. break
  3271. }
  3272. }
  3273. fieldNum := int32(wire >> 3)
  3274. wireType := int(wire & 0x7)
  3275. if wireType == 4 {
  3276. return fmt.Errorf("proto: APIVersions: wiretype end group for non-group")
  3277. }
  3278. if fieldNum <= 0 {
  3279. return fmt.Errorf("proto: APIVersions: illegal tag %d (wire type %d)", fieldNum, wire)
  3280. }
  3281. switch fieldNum {
  3282. case 1:
  3283. if wireType != 2 {
  3284. return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
  3285. }
  3286. var stringLen uint64
  3287. for shift := uint(0); ; shift += 7 {
  3288. if shift >= 64 {
  3289. return ErrIntOverflowGenerated
  3290. }
  3291. if iNdEx >= l {
  3292. return io.ErrUnexpectedEOF
  3293. }
  3294. b := dAtA[iNdEx]
  3295. iNdEx++
  3296. stringLen |= (uint64(b) & 0x7F) << shift
  3297. if b < 0x80 {
  3298. break
  3299. }
  3300. }
  3301. intStringLen := int(stringLen)
  3302. if intStringLen < 0 {
  3303. return ErrInvalidLengthGenerated
  3304. }
  3305. postIndex := iNdEx + intStringLen
  3306. if postIndex > l {
  3307. return io.ErrUnexpectedEOF
  3308. }
  3309. m.Versions = append(m.Versions, string(dAtA[iNdEx:postIndex]))
  3310. iNdEx = postIndex
  3311. case 2:
  3312. if wireType != 2 {
  3313. return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
  3314. }
  3315. var msglen int
  3316. for shift := uint(0); ; shift += 7 {
  3317. if shift >= 64 {
  3318. return ErrIntOverflowGenerated
  3319. }
  3320. if iNdEx >= l {
  3321. return io.ErrUnexpectedEOF
  3322. }
  3323. b := dAtA[iNdEx]
  3324. iNdEx++
  3325. msglen |= (int(b) & 0x7F) << shift
  3326. if b < 0x80 {
  3327. break
  3328. }
  3329. }
  3330. if msglen < 0 {
  3331. return ErrInvalidLengthGenerated
  3332. }
  3333. postIndex := iNdEx + msglen
  3334. if postIndex > l {
  3335. return io.ErrUnexpectedEOF
  3336. }
  3337. m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
  3338. if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3339. return err
  3340. }
  3341. iNdEx = postIndex
  3342. default:
  3343. iNdEx = preIndex
  3344. skippy, err := skipGenerated(dAtA[iNdEx:])
  3345. if err != nil {
  3346. return err
  3347. }
  3348. if skippy < 0 {
  3349. return ErrInvalidLengthGenerated
  3350. }
  3351. if (iNdEx + skippy) > l {
  3352. return io.ErrUnexpectedEOF
  3353. }
  3354. iNdEx += skippy
  3355. }
  3356. }
  3357. if iNdEx > l {
  3358. return io.ErrUnexpectedEOF
  3359. }
  3360. return nil
  3361. }
  3362. func (m *CreateOptions) Unmarshal(dAtA []byte) error {
  3363. l := len(dAtA)
  3364. iNdEx := 0
  3365. for iNdEx < l {
  3366. preIndex := iNdEx
  3367. var wire uint64
  3368. for shift := uint(0); ; shift += 7 {
  3369. if shift >= 64 {
  3370. return ErrIntOverflowGenerated
  3371. }
  3372. if iNdEx >= l {
  3373. return io.ErrUnexpectedEOF
  3374. }
  3375. b := dAtA[iNdEx]
  3376. iNdEx++
  3377. wire |= (uint64(b) & 0x7F) << shift
  3378. if b < 0x80 {
  3379. break
  3380. }
  3381. }
  3382. fieldNum := int32(wire >> 3)
  3383. wireType := int(wire & 0x7)
  3384. if wireType == 4 {
  3385. return fmt.Errorf("proto: CreateOptions: wiretype end group for non-group")
  3386. }
  3387. if fieldNum <= 0 {
  3388. return fmt.Errorf("proto: CreateOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  3389. }
  3390. switch fieldNum {
  3391. case 1:
  3392. if wireType != 2 {
  3393. return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType)
  3394. }
  3395. var stringLen uint64
  3396. for shift := uint(0); ; shift += 7 {
  3397. if shift >= 64 {
  3398. return ErrIntOverflowGenerated
  3399. }
  3400. if iNdEx >= l {
  3401. return io.ErrUnexpectedEOF
  3402. }
  3403. b := dAtA[iNdEx]
  3404. iNdEx++
  3405. stringLen |= (uint64(b) & 0x7F) << shift
  3406. if b < 0x80 {
  3407. break
  3408. }
  3409. }
  3410. intStringLen := int(stringLen)
  3411. if intStringLen < 0 {
  3412. return ErrInvalidLengthGenerated
  3413. }
  3414. postIndex := iNdEx + intStringLen
  3415. if postIndex > l {
  3416. return io.ErrUnexpectedEOF
  3417. }
  3418. m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex]))
  3419. iNdEx = postIndex
  3420. case 2:
  3421. if wireType != 0 {
  3422. return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
  3423. }
  3424. var v int
  3425. for shift := uint(0); ; shift += 7 {
  3426. if shift >= 64 {
  3427. return ErrIntOverflowGenerated
  3428. }
  3429. if iNdEx >= l {
  3430. return io.ErrUnexpectedEOF
  3431. }
  3432. b := dAtA[iNdEx]
  3433. iNdEx++
  3434. v |= (int(b) & 0x7F) << shift
  3435. if b < 0x80 {
  3436. break
  3437. }
  3438. }
  3439. m.IncludeUninitialized = bool(v != 0)
  3440. default:
  3441. iNdEx = preIndex
  3442. skippy, err := skipGenerated(dAtA[iNdEx:])
  3443. if err != nil {
  3444. return err
  3445. }
  3446. if skippy < 0 {
  3447. return ErrInvalidLengthGenerated
  3448. }
  3449. if (iNdEx + skippy) > l {
  3450. return io.ErrUnexpectedEOF
  3451. }
  3452. iNdEx += skippy
  3453. }
  3454. }
  3455. if iNdEx > l {
  3456. return io.ErrUnexpectedEOF
  3457. }
  3458. return nil
  3459. }
  3460. func (m *DeleteOptions) Unmarshal(dAtA []byte) error {
  3461. l := len(dAtA)
  3462. iNdEx := 0
  3463. for iNdEx < l {
  3464. preIndex := iNdEx
  3465. var wire uint64
  3466. for shift := uint(0); ; shift += 7 {
  3467. if shift >= 64 {
  3468. return ErrIntOverflowGenerated
  3469. }
  3470. if iNdEx >= l {
  3471. return io.ErrUnexpectedEOF
  3472. }
  3473. b := dAtA[iNdEx]
  3474. iNdEx++
  3475. wire |= (uint64(b) & 0x7F) << shift
  3476. if b < 0x80 {
  3477. break
  3478. }
  3479. }
  3480. fieldNum := int32(wire >> 3)
  3481. wireType := int(wire & 0x7)
  3482. if wireType == 4 {
  3483. return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group")
  3484. }
  3485. if fieldNum <= 0 {
  3486. return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  3487. }
  3488. switch fieldNum {
  3489. case 1:
  3490. if wireType != 0 {
  3491. return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType)
  3492. }
  3493. var v int64
  3494. for shift := uint(0); ; shift += 7 {
  3495. if shift >= 64 {
  3496. return ErrIntOverflowGenerated
  3497. }
  3498. if iNdEx >= l {
  3499. return io.ErrUnexpectedEOF
  3500. }
  3501. b := dAtA[iNdEx]
  3502. iNdEx++
  3503. v |= (int64(b) & 0x7F) << shift
  3504. if b < 0x80 {
  3505. break
  3506. }
  3507. }
  3508. m.GracePeriodSeconds = &v
  3509. case 2:
  3510. if wireType != 2 {
  3511. return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType)
  3512. }
  3513. var msglen int
  3514. for shift := uint(0); ; shift += 7 {
  3515. if shift >= 64 {
  3516. return ErrIntOverflowGenerated
  3517. }
  3518. if iNdEx >= l {
  3519. return io.ErrUnexpectedEOF
  3520. }
  3521. b := dAtA[iNdEx]
  3522. iNdEx++
  3523. msglen |= (int(b) & 0x7F) << shift
  3524. if b < 0x80 {
  3525. break
  3526. }
  3527. }
  3528. if msglen < 0 {
  3529. return ErrInvalidLengthGenerated
  3530. }
  3531. postIndex := iNdEx + msglen
  3532. if postIndex > l {
  3533. return io.ErrUnexpectedEOF
  3534. }
  3535. if m.Preconditions == nil {
  3536. m.Preconditions = &Preconditions{}
  3537. }
  3538. if err := m.Preconditions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3539. return err
  3540. }
  3541. iNdEx = postIndex
  3542. case 3:
  3543. if wireType != 0 {
  3544. return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType)
  3545. }
  3546. var v int
  3547. for shift := uint(0); ; shift += 7 {
  3548. if shift >= 64 {
  3549. return ErrIntOverflowGenerated
  3550. }
  3551. if iNdEx >= l {
  3552. return io.ErrUnexpectedEOF
  3553. }
  3554. b := dAtA[iNdEx]
  3555. iNdEx++
  3556. v |= (int(b) & 0x7F) << shift
  3557. if b < 0x80 {
  3558. break
  3559. }
  3560. }
  3561. b := bool(v != 0)
  3562. m.OrphanDependents = &b
  3563. case 4:
  3564. if wireType != 2 {
  3565. return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType)
  3566. }
  3567. var stringLen uint64
  3568. for shift := uint(0); ; shift += 7 {
  3569. if shift >= 64 {
  3570. return ErrIntOverflowGenerated
  3571. }
  3572. if iNdEx >= l {
  3573. return io.ErrUnexpectedEOF
  3574. }
  3575. b := dAtA[iNdEx]
  3576. iNdEx++
  3577. stringLen |= (uint64(b) & 0x7F) << shift
  3578. if b < 0x80 {
  3579. break
  3580. }
  3581. }
  3582. intStringLen := int(stringLen)
  3583. if intStringLen < 0 {
  3584. return ErrInvalidLengthGenerated
  3585. }
  3586. postIndex := iNdEx + intStringLen
  3587. if postIndex > l {
  3588. return io.ErrUnexpectedEOF
  3589. }
  3590. s := DeletionPropagation(dAtA[iNdEx:postIndex])
  3591. m.PropagationPolicy = &s
  3592. iNdEx = postIndex
  3593. case 5:
  3594. if wireType != 2 {
  3595. return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType)
  3596. }
  3597. var stringLen uint64
  3598. for shift := uint(0); ; shift += 7 {
  3599. if shift >= 64 {
  3600. return ErrIntOverflowGenerated
  3601. }
  3602. if iNdEx >= l {
  3603. return io.ErrUnexpectedEOF
  3604. }
  3605. b := dAtA[iNdEx]
  3606. iNdEx++
  3607. stringLen |= (uint64(b) & 0x7F) << shift
  3608. if b < 0x80 {
  3609. break
  3610. }
  3611. }
  3612. intStringLen := int(stringLen)
  3613. if intStringLen < 0 {
  3614. return ErrInvalidLengthGenerated
  3615. }
  3616. postIndex := iNdEx + intStringLen
  3617. if postIndex > l {
  3618. return io.ErrUnexpectedEOF
  3619. }
  3620. m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex]))
  3621. iNdEx = postIndex
  3622. default:
  3623. iNdEx = preIndex
  3624. skippy, err := skipGenerated(dAtA[iNdEx:])
  3625. if err != nil {
  3626. return err
  3627. }
  3628. if skippy < 0 {
  3629. return ErrInvalidLengthGenerated
  3630. }
  3631. if (iNdEx + skippy) > l {
  3632. return io.ErrUnexpectedEOF
  3633. }
  3634. iNdEx += skippy
  3635. }
  3636. }
  3637. if iNdEx > l {
  3638. return io.ErrUnexpectedEOF
  3639. }
  3640. return nil
  3641. }
  3642. func (m *Duration) Unmarshal(dAtA []byte) error {
  3643. l := len(dAtA)
  3644. iNdEx := 0
  3645. for iNdEx < l {
  3646. preIndex := iNdEx
  3647. var wire uint64
  3648. for shift := uint(0); ; shift += 7 {
  3649. if shift >= 64 {
  3650. return ErrIntOverflowGenerated
  3651. }
  3652. if iNdEx >= l {
  3653. return io.ErrUnexpectedEOF
  3654. }
  3655. b := dAtA[iNdEx]
  3656. iNdEx++
  3657. wire |= (uint64(b) & 0x7F) << shift
  3658. if b < 0x80 {
  3659. break
  3660. }
  3661. }
  3662. fieldNum := int32(wire >> 3)
  3663. wireType := int(wire & 0x7)
  3664. if wireType == 4 {
  3665. return fmt.Errorf("proto: Duration: wiretype end group for non-group")
  3666. }
  3667. if fieldNum <= 0 {
  3668. return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire)
  3669. }
  3670. switch fieldNum {
  3671. case 1:
  3672. if wireType != 0 {
  3673. return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
  3674. }
  3675. m.Duration = 0
  3676. for shift := uint(0); ; shift += 7 {
  3677. if shift >= 64 {
  3678. return ErrIntOverflowGenerated
  3679. }
  3680. if iNdEx >= l {
  3681. return io.ErrUnexpectedEOF
  3682. }
  3683. b := dAtA[iNdEx]
  3684. iNdEx++
  3685. m.Duration |= (time.Duration(b) & 0x7F) << shift
  3686. if b < 0x80 {
  3687. break
  3688. }
  3689. }
  3690. default:
  3691. iNdEx = preIndex
  3692. skippy, err := skipGenerated(dAtA[iNdEx:])
  3693. if err != nil {
  3694. return err
  3695. }
  3696. if skippy < 0 {
  3697. return ErrInvalidLengthGenerated
  3698. }
  3699. if (iNdEx + skippy) > l {
  3700. return io.ErrUnexpectedEOF
  3701. }
  3702. iNdEx += skippy
  3703. }
  3704. }
  3705. if iNdEx > l {
  3706. return io.ErrUnexpectedEOF
  3707. }
  3708. return nil
  3709. }
  3710. func (m *ExportOptions) Unmarshal(dAtA []byte) error {
  3711. l := len(dAtA)
  3712. iNdEx := 0
  3713. for iNdEx < l {
  3714. preIndex := iNdEx
  3715. var wire uint64
  3716. for shift := uint(0); ; shift += 7 {
  3717. if shift >= 64 {
  3718. return ErrIntOverflowGenerated
  3719. }
  3720. if iNdEx >= l {
  3721. return io.ErrUnexpectedEOF
  3722. }
  3723. b := dAtA[iNdEx]
  3724. iNdEx++
  3725. wire |= (uint64(b) & 0x7F) << shift
  3726. if b < 0x80 {
  3727. break
  3728. }
  3729. }
  3730. fieldNum := int32(wire >> 3)
  3731. wireType := int(wire & 0x7)
  3732. if wireType == 4 {
  3733. return fmt.Errorf("proto: ExportOptions: wiretype end group for non-group")
  3734. }
  3735. if fieldNum <= 0 {
  3736. return fmt.Errorf("proto: ExportOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  3737. }
  3738. switch fieldNum {
  3739. case 1:
  3740. if wireType != 0 {
  3741. return fmt.Errorf("proto: wrong wireType = %d for field Export", wireType)
  3742. }
  3743. var v int
  3744. for shift := uint(0); ; shift += 7 {
  3745. if shift >= 64 {
  3746. return ErrIntOverflowGenerated
  3747. }
  3748. if iNdEx >= l {
  3749. return io.ErrUnexpectedEOF
  3750. }
  3751. b := dAtA[iNdEx]
  3752. iNdEx++
  3753. v |= (int(b) & 0x7F) << shift
  3754. if b < 0x80 {
  3755. break
  3756. }
  3757. }
  3758. m.Export = bool(v != 0)
  3759. case 2:
  3760. if wireType != 0 {
  3761. return fmt.Errorf("proto: wrong wireType = %d for field Exact", wireType)
  3762. }
  3763. var v int
  3764. for shift := uint(0); ; shift += 7 {
  3765. if shift >= 64 {
  3766. return ErrIntOverflowGenerated
  3767. }
  3768. if iNdEx >= l {
  3769. return io.ErrUnexpectedEOF
  3770. }
  3771. b := dAtA[iNdEx]
  3772. iNdEx++
  3773. v |= (int(b) & 0x7F) << shift
  3774. if b < 0x80 {
  3775. break
  3776. }
  3777. }
  3778. m.Exact = bool(v != 0)
  3779. default:
  3780. iNdEx = preIndex
  3781. skippy, err := skipGenerated(dAtA[iNdEx:])
  3782. if err != nil {
  3783. return err
  3784. }
  3785. if skippy < 0 {
  3786. return ErrInvalidLengthGenerated
  3787. }
  3788. if (iNdEx + skippy) > l {
  3789. return io.ErrUnexpectedEOF
  3790. }
  3791. iNdEx += skippy
  3792. }
  3793. }
  3794. if iNdEx > l {
  3795. return io.ErrUnexpectedEOF
  3796. }
  3797. return nil
  3798. }
  3799. func (m *GetOptions) Unmarshal(dAtA []byte) error {
  3800. l := len(dAtA)
  3801. iNdEx := 0
  3802. for iNdEx < l {
  3803. preIndex := iNdEx
  3804. var wire uint64
  3805. for shift := uint(0); ; shift += 7 {
  3806. if shift >= 64 {
  3807. return ErrIntOverflowGenerated
  3808. }
  3809. if iNdEx >= l {
  3810. return io.ErrUnexpectedEOF
  3811. }
  3812. b := dAtA[iNdEx]
  3813. iNdEx++
  3814. wire |= (uint64(b) & 0x7F) << shift
  3815. if b < 0x80 {
  3816. break
  3817. }
  3818. }
  3819. fieldNum := int32(wire >> 3)
  3820. wireType := int(wire & 0x7)
  3821. if wireType == 4 {
  3822. return fmt.Errorf("proto: GetOptions: wiretype end group for non-group")
  3823. }
  3824. if fieldNum <= 0 {
  3825. return fmt.Errorf("proto: GetOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  3826. }
  3827. switch fieldNum {
  3828. case 1:
  3829. if wireType != 2 {
  3830. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  3831. }
  3832. var stringLen uint64
  3833. for shift := uint(0); ; shift += 7 {
  3834. if shift >= 64 {
  3835. return ErrIntOverflowGenerated
  3836. }
  3837. if iNdEx >= l {
  3838. return io.ErrUnexpectedEOF
  3839. }
  3840. b := dAtA[iNdEx]
  3841. iNdEx++
  3842. stringLen |= (uint64(b) & 0x7F) << shift
  3843. if b < 0x80 {
  3844. break
  3845. }
  3846. }
  3847. intStringLen := int(stringLen)
  3848. if intStringLen < 0 {
  3849. return ErrInvalidLengthGenerated
  3850. }
  3851. postIndex := iNdEx + intStringLen
  3852. if postIndex > l {
  3853. return io.ErrUnexpectedEOF
  3854. }
  3855. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  3856. iNdEx = postIndex
  3857. case 2:
  3858. if wireType != 0 {
  3859. return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
  3860. }
  3861. var v int
  3862. for shift := uint(0); ; shift += 7 {
  3863. if shift >= 64 {
  3864. return ErrIntOverflowGenerated
  3865. }
  3866. if iNdEx >= l {
  3867. return io.ErrUnexpectedEOF
  3868. }
  3869. b := dAtA[iNdEx]
  3870. iNdEx++
  3871. v |= (int(b) & 0x7F) << shift
  3872. if b < 0x80 {
  3873. break
  3874. }
  3875. }
  3876. m.IncludeUninitialized = bool(v != 0)
  3877. default:
  3878. iNdEx = preIndex
  3879. skippy, err := skipGenerated(dAtA[iNdEx:])
  3880. if err != nil {
  3881. return err
  3882. }
  3883. if skippy < 0 {
  3884. return ErrInvalidLengthGenerated
  3885. }
  3886. if (iNdEx + skippy) > l {
  3887. return io.ErrUnexpectedEOF
  3888. }
  3889. iNdEx += skippy
  3890. }
  3891. }
  3892. if iNdEx > l {
  3893. return io.ErrUnexpectedEOF
  3894. }
  3895. return nil
  3896. }
  3897. func (m *GroupKind) Unmarshal(dAtA []byte) error {
  3898. l := len(dAtA)
  3899. iNdEx := 0
  3900. for iNdEx < l {
  3901. preIndex := iNdEx
  3902. var wire uint64
  3903. for shift := uint(0); ; shift += 7 {
  3904. if shift >= 64 {
  3905. return ErrIntOverflowGenerated
  3906. }
  3907. if iNdEx >= l {
  3908. return io.ErrUnexpectedEOF
  3909. }
  3910. b := dAtA[iNdEx]
  3911. iNdEx++
  3912. wire |= (uint64(b) & 0x7F) << shift
  3913. if b < 0x80 {
  3914. break
  3915. }
  3916. }
  3917. fieldNum := int32(wire >> 3)
  3918. wireType := int(wire & 0x7)
  3919. if wireType == 4 {
  3920. return fmt.Errorf("proto: GroupKind: wiretype end group for non-group")
  3921. }
  3922. if fieldNum <= 0 {
  3923. return fmt.Errorf("proto: GroupKind: illegal tag %d (wire type %d)", fieldNum, wire)
  3924. }
  3925. switch fieldNum {
  3926. case 1:
  3927. if wireType != 2 {
  3928. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  3929. }
  3930. var stringLen uint64
  3931. for shift := uint(0); ; shift += 7 {
  3932. if shift >= 64 {
  3933. return ErrIntOverflowGenerated
  3934. }
  3935. if iNdEx >= l {
  3936. return io.ErrUnexpectedEOF
  3937. }
  3938. b := dAtA[iNdEx]
  3939. iNdEx++
  3940. stringLen |= (uint64(b) & 0x7F) << shift
  3941. if b < 0x80 {
  3942. break
  3943. }
  3944. }
  3945. intStringLen := int(stringLen)
  3946. if intStringLen < 0 {
  3947. return ErrInvalidLengthGenerated
  3948. }
  3949. postIndex := iNdEx + intStringLen
  3950. if postIndex > l {
  3951. return io.ErrUnexpectedEOF
  3952. }
  3953. m.Group = string(dAtA[iNdEx:postIndex])
  3954. iNdEx = postIndex
  3955. case 2:
  3956. if wireType != 2 {
  3957. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  3958. }
  3959. var stringLen uint64
  3960. for shift := uint(0); ; shift += 7 {
  3961. if shift >= 64 {
  3962. return ErrIntOverflowGenerated
  3963. }
  3964. if iNdEx >= l {
  3965. return io.ErrUnexpectedEOF
  3966. }
  3967. b := dAtA[iNdEx]
  3968. iNdEx++
  3969. stringLen |= (uint64(b) & 0x7F) << shift
  3970. if b < 0x80 {
  3971. break
  3972. }
  3973. }
  3974. intStringLen := int(stringLen)
  3975. if intStringLen < 0 {
  3976. return ErrInvalidLengthGenerated
  3977. }
  3978. postIndex := iNdEx + intStringLen
  3979. if postIndex > l {
  3980. return io.ErrUnexpectedEOF
  3981. }
  3982. m.Kind = string(dAtA[iNdEx:postIndex])
  3983. iNdEx = postIndex
  3984. default:
  3985. iNdEx = preIndex
  3986. skippy, err := skipGenerated(dAtA[iNdEx:])
  3987. if err != nil {
  3988. return err
  3989. }
  3990. if skippy < 0 {
  3991. return ErrInvalidLengthGenerated
  3992. }
  3993. if (iNdEx + skippy) > l {
  3994. return io.ErrUnexpectedEOF
  3995. }
  3996. iNdEx += skippy
  3997. }
  3998. }
  3999. if iNdEx > l {
  4000. return io.ErrUnexpectedEOF
  4001. }
  4002. return nil
  4003. }
  4004. func (m *GroupResource) Unmarshal(dAtA []byte) error {
  4005. l := len(dAtA)
  4006. iNdEx := 0
  4007. for iNdEx < l {
  4008. preIndex := iNdEx
  4009. var wire uint64
  4010. for shift := uint(0); ; shift += 7 {
  4011. if shift >= 64 {
  4012. return ErrIntOverflowGenerated
  4013. }
  4014. if iNdEx >= l {
  4015. return io.ErrUnexpectedEOF
  4016. }
  4017. b := dAtA[iNdEx]
  4018. iNdEx++
  4019. wire |= (uint64(b) & 0x7F) << shift
  4020. if b < 0x80 {
  4021. break
  4022. }
  4023. }
  4024. fieldNum := int32(wire >> 3)
  4025. wireType := int(wire & 0x7)
  4026. if wireType == 4 {
  4027. return fmt.Errorf("proto: GroupResource: wiretype end group for non-group")
  4028. }
  4029. if fieldNum <= 0 {
  4030. return fmt.Errorf("proto: GroupResource: illegal tag %d (wire type %d)", fieldNum, wire)
  4031. }
  4032. switch fieldNum {
  4033. case 1:
  4034. if wireType != 2 {
  4035. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  4036. }
  4037. var stringLen uint64
  4038. for shift := uint(0); ; shift += 7 {
  4039. if shift >= 64 {
  4040. return ErrIntOverflowGenerated
  4041. }
  4042. if iNdEx >= l {
  4043. return io.ErrUnexpectedEOF
  4044. }
  4045. b := dAtA[iNdEx]
  4046. iNdEx++
  4047. stringLen |= (uint64(b) & 0x7F) << shift
  4048. if b < 0x80 {
  4049. break
  4050. }
  4051. }
  4052. intStringLen := int(stringLen)
  4053. if intStringLen < 0 {
  4054. return ErrInvalidLengthGenerated
  4055. }
  4056. postIndex := iNdEx + intStringLen
  4057. if postIndex > l {
  4058. return io.ErrUnexpectedEOF
  4059. }
  4060. m.Group = string(dAtA[iNdEx:postIndex])
  4061. iNdEx = postIndex
  4062. case 2:
  4063. if wireType != 2 {
  4064. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  4065. }
  4066. var stringLen uint64
  4067. for shift := uint(0); ; shift += 7 {
  4068. if shift >= 64 {
  4069. return ErrIntOverflowGenerated
  4070. }
  4071. if iNdEx >= l {
  4072. return io.ErrUnexpectedEOF
  4073. }
  4074. b := dAtA[iNdEx]
  4075. iNdEx++
  4076. stringLen |= (uint64(b) & 0x7F) << shift
  4077. if b < 0x80 {
  4078. break
  4079. }
  4080. }
  4081. intStringLen := int(stringLen)
  4082. if intStringLen < 0 {
  4083. return ErrInvalidLengthGenerated
  4084. }
  4085. postIndex := iNdEx + intStringLen
  4086. if postIndex > l {
  4087. return io.ErrUnexpectedEOF
  4088. }
  4089. m.Resource = string(dAtA[iNdEx:postIndex])
  4090. iNdEx = postIndex
  4091. default:
  4092. iNdEx = preIndex
  4093. skippy, err := skipGenerated(dAtA[iNdEx:])
  4094. if err != nil {
  4095. return err
  4096. }
  4097. if skippy < 0 {
  4098. return ErrInvalidLengthGenerated
  4099. }
  4100. if (iNdEx + skippy) > l {
  4101. return io.ErrUnexpectedEOF
  4102. }
  4103. iNdEx += skippy
  4104. }
  4105. }
  4106. if iNdEx > l {
  4107. return io.ErrUnexpectedEOF
  4108. }
  4109. return nil
  4110. }
  4111. func (m *GroupVersion) Unmarshal(dAtA []byte) error {
  4112. l := len(dAtA)
  4113. iNdEx := 0
  4114. for iNdEx < l {
  4115. preIndex := iNdEx
  4116. var wire uint64
  4117. for shift := uint(0); ; shift += 7 {
  4118. if shift >= 64 {
  4119. return ErrIntOverflowGenerated
  4120. }
  4121. if iNdEx >= l {
  4122. return io.ErrUnexpectedEOF
  4123. }
  4124. b := dAtA[iNdEx]
  4125. iNdEx++
  4126. wire |= (uint64(b) & 0x7F) << shift
  4127. if b < 0x80 {
  4128. break
  4129. }
  4130. }
  4131. fieldNum := int32(wire >> 3)
  4132. wireType := int(wire & 0x7)
  4133. if wireType == 4 {
  4134. return fmt.Errorf("proto: GroupVersion: wiretype end group for non-group")
  4135. }
  4136. if fieldNum <= 0 {
  4137. return fmt.Errorf("proto: GroupVersion: illegal tag %d (wire type %d)", fieldNum, wire)
  4138. }
  4139. switch fieldNum {
  4140. case 1:
  4141. if wireType != 2 {
  4142. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  4143. }
  4144. var stringLen uint64
  4145. for shift := uint(0); ; shift += 7 {
  4146. if shift >= 64 {
  4147. return ErrIntOverflowGenerated
  4148. }
  4149. if iNdEx >= l {
  4150. return io.ErrUnexpectedEOF
  4151. }
  4152. b := dAtA[iNdEx]
  4153. iNdEx++
  4154. stringLen |= (uint64(b) & 0x7F) << shift
  4155. if b < 0x80 {
  4156. break
  4157. }
  4158. }
  4159. intStringLen := int(stringLen)
  4160. if intStringLen < 0 {
  4161. return ErrInvalidLengthGenerated
  4162. }
  4163. postIndex := iNdEx + intStringLen
  4164. if postIndex > l {
  4165. return io.ErrUnexpectedEOF
  4166. }
  4167. m.Group = string(dAtA[iNdEx:postIndex])
  4168. iNdEx = postIndex
  4169. case 2:
  4170. if wireType != 2 {
  4171. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  4172. }
  4173. var stringLen uint64
  4174. for shift := uint(0); ; shift += 7 {
  4175. if shift >= 64 {
  4176. return ErrIntOverflowGenerated
  4177. }
  4178. if iNdEx >= l {
  4179. return io.ErrUnexpectedEOF
  4180. }
  4181. b := dAtA[iNdEx]
  4182. iNdEx++
  4183. stringLen |= (uint64(b) & 0x7F) << shift
  4184. if b < 0x80 {
  4185. break
  4186. }
  4187. }
  4188. intStringLen := int(stringLen)
  4189. if intStringLen < 0 {
  4190. return ErrInvalidLengthGenerated
  4191. }
  4192. postIndex := iNdEx + intStringLen
  4193. if postIndex > l {
  4194. return io.ErrUnexpectedEOF
  4195. }
  4196. m.Version = string(dAtA[iNdEx:postIndex])
  4197. iNdEx = postIndex
  4198. default:
  4199. iNdEx = preIndex
  4200. skippy, err := skipGenerated(dAtA[iNdEx:])
  4201. if err != nil {
  4202. return err
  4203. }
  4204. if skippy < 0 {
  4205. return ErrInvalidLengthGenerated
  4206. }
  4207. if (iNdEx + skippy) > l {
  4208. return io.ErrUnexpectedEOF
  4209. }
  4210. iNdEx += skippy
  4211. }
  4212. }
  4213. if iNdEx > l {
  4214. return io.ErrUnexpectedEOF
  4215. }
  4216. return nil
  4217. }
  4218. func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error {
  4219. l := len(dAtA)
  4220. iNdEx := 0
  4221. for iNdEx < l {
  4222. preIndex := iNdEx
  4223. var wire uint64
  4224. for shift := uint(0); ; shift += 7 {
  4225. if shift >= 64 {
  4226. return ErrIntOverflowGenerated
  4227. }
  4228. if iNdEx >= l {
  4229. return io.ErrUnexpectedEOF
  4230. }
  4231. b := dAtA[iNdEx]
  4232. iNdEx++
  4233. wire |= (uint64(b) & 0x7F) << shift
  4234. if b < 0x80 {
  4235. break
  4236. }
  4237. }
  4238. fieldNum := int32(wire >> 3)
  4239. wireType := int(wire & 0x7)
  4240. if wireType == 4 {
  4241. return fmt.Errorf("proto: GroupVersionForDiscovery: wiretype end group for non-group")
  4242. }
  4243. if fieldNum <= 0 {
  4244. return fmt.Errorf("proto: GroupVersionForDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
  4245. }
  4246. switch fieldNum {
  4247. case 1:
  4248. if wireType != 2 {
  4249. return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
  4250. }
  4251. var stringLen uint64
  4252. for shift := uint(0); ; shift += 7 {
  4253. if shift >= 64 {
  4254. return ErrIntOverflowGenerated
  4255. }
  4256. if iNdEx >= l {
  4257. return io.ErrUnexpectedEOF
  4258. }
  4259. b := dAtA[iNdEx]
  4260. iNdEx++
  4261. stringLen |= (uint64(b) & 0x7F) << shift
  4262. if b < 0x80 {
  4263. break
  4264. }
  4265. }
  4266. intStringLen := int(stringLen)
  4267. if intStringLen < 0 {
  4268. return ErrInvalidLengthGenerated
  4269. }
  4270. postIndex := iNdEx + intStringLen
  4271. if postIndex > l {
  4272. return io.ErrUnexpectedEOF
  4273. }
  4274. m.GroupVersion = string(dAtA[iNdEx:postIndex])
  4275. iNdEx = postIndex
  4276. case 2:
  4277. if wireType != 2 {
  4278. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  4279. }
  4280. var stringLen uint64
  4281. for shift := uint(0); ; shift += 7 {
  4282. if shift >= 64 {
  4283. return ErrIntOverflowGenerated
  4284. }
  4285. if iNdEx >= l {
  4286. return io.ErrUnexpectedEOF
  4287. }
  4288. b := dAtA[iNdEx]
  4289. iNdEx++
  4290. stringLen |= (uint64(b) & 0x7F) << shift
  4291. if b < 0x80 {
  4292. break
  4293. }
  4294. }
  4295. intStringLen := int(stringLen)
  4296. if intStringLen < 0 {
  4297. return ErrInvalidLengthGenerated
  4298. }
  4299. postIndex := iNdEx + intStringLen
  4300. if postIndex > l {
  4301. return io.ErrUnexpectedEOF
  4302. }
  4303. m.Version = string(dAtA[iNdEx:postIndex])
  4304. iNdEx = postIndex
  4305. default:
  4306. iNdEx = preIndex
  4307. skippy, err := skipGenerated(dAtA[iNdEx:])
  4308. if err != nil {
  4309. return err
  4310. }
  4311. if skippy < 0 {
  4312. return ErrInvalidLengthGenerated
  4313. }
  4314. if (iNdEx + skippy) > l {
  4315. return io.ErrUnexpectedEOF
  4316. }
  4317. iNdEx += skippy
  4318. }
  4319. }
  4320. if iNdEx > l {
  4321. return io.ErrUnexpectedEOF
  4322. }
  4323. return nil
  4324. }
  4325. func (m *GroupVersionKind) Unmarshal(dAtA []byte) error {
  4326. l := len(dAtA)
  4327. iNdEx := 0
  4328. for iNdEx < l {
  4329. preIndex := iNdEx
  4330. var wire uint64
  4331. for shift := uint(0); ; shift += 7 {
  4332. if shift >= 64 {
  4333. return ErrIntOverflowGenerated
  4334. }
  4335. if iNdEx >= l {
  4336. return io.ErrUnexpectedEOF
  4337. }
  4338. b := dAtA[iNdEx]
  4339. iNdEx++
  4340. wire |= (uint64(b) & 0x7F) << shift
  4341. if b < 0x80 {
  4342. break
  4343. }
  4344. }
  4345. fieldNum := int32(wire >> 3)
  4346. wireType := int(wire & 0x7)
  4347. if wireType == 4 {
  4348. return fmt.Errorf("proto: GroupVersionKind: wiretype end group for non-group")
  4349. }
  4350. if fieldNum <= 0 {
  4351. return fmt.Errorf("proto: GroupVersionKind: illegal tag %d (wire type %d)", fieldNum, wire)
  4352. }
  4353. switch fieldNum {
  4354. case 1:
  4355. if wireType != 2 {
  4356. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  4357. }
  4358. var stringLen uint64
  4359. for shift := uint(0); ; shift += 7 {
  4360. if shift >= 64 {
  4361. return ErrIntOverflowGenerated
  4362. }
  4363. if iNdEx >= l {
  4364. return io.ErrUnexpectedEOF
  4365. }
  4366. b := dAtA[iNdEx]
  4367. iNdEx++
  4368. stringLen |= (uint64(b) & 0x7F) << shift
  4369. if b < 0x80 {
  4370. break
  4371. }
  4372. }
  4373. intStringLen := int(stringLen)
  4374. if intStringLen < 0 {
  4375. return ErrInvalidLengthGenerated
  4376. }
  4377. postIndex := iNdEx + intStringLen
  4378. if postIndex > l {
  4379. return io.ErrUnexpectedEOF
  4380. }
  4381. m.Group = string(dAtA[iNdEx:postIndex])
  4382. iNdEx = postIndex
  4383. case 2:
  4384. if wireType != 2 {
  4385. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  4386. }
  4387. var stringLen uint64
  4388. for shift := uint(0); ; shift += 7 {
  4389. if shift >= 64 {
  4390. return ErrIntOverflowGenerated
  4391. }
  4392. if iNdEx >= l {
  4393. return io.ErrUnexpectedEOF
  4394. }
  4395. b := dAtA[iNdEx]
  4396. iNdEx++
  4397. stringLen |= (uint64(b) & 0x7F) << shift
  4398. if b < 0x80 {
  4399. break
  4400. }
  4401. }
  4402. intStringLen := int(stringLen)
  4403. if intStringLen < 0 {
  4404. return ErrInvalidLengthGenerated
  4405. }
  4406. postIndex := iNdEx + intStringLen
  4407. if postIndex > l {
  4408. return io.ErrUnexpectedEOF
  4409. }
  4410. m.Version = string(dAtA[iNdEx:postIndex])
  4411. iNdEx = postIndex
  4412. case 3:
  4413. if wireType != 2 {
  4414. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  4415. }
  4416. var stringLen uint64
  4417. for shift := uint(0); ; shift += 7 {
  4418. if shift >= 64 {
  4419. return ErrIntOverflowGenerated
  4420. }
  4421. if iNdEx >= l {
  4422. return io.ErrUnexpectedEOF
  4423. }
  4424. b := dAtA[iNdEx]
  4425. iNdEx++
  4426. stringLen |= (uint64(b) & 0x7F) << shift
  4427. if b < 0x80 {
  4428. break
  4429. }
  4430. }
  4431. intStringLen := int(stringLen)
  4432. if intStringLen < 0 {
  4433. return ErrInvalidLengthGenerated
  4434. }
  4435. postIndex := iNdEx + intStringLen
  4436. if postIndex > l {
  4437. return io.ErrUnexpectedEOF
  4438. }
  4439. m.Kind = string(dAtA[iNdEx:postIndex])
  4440. iNdEx = postIndex
  4441. default:
  4442. iNdEx = preIndex
  4443. skippy, err := skipGenerated(dAtA[iNdEx:])
  4444. if err != nil {
  4445. return err
  4446. }
  4447. if skippy < 0 {
  4448. return ErrInvalidLengthGenerated
  4449. }
  4450. if (iNdEx + skippy) > l {
  4451. return io.ErrUnexpectedEOF
  4452. }
  4453. iNdEx += skippy
  4454. }
  4455. }
  4456. if iNdEx > l {
  4457. return io.ErrUnexpectedEOF
  4458. }
  4459. return nil
  4460. }
  4461. func (m *GroupVersionResource) Unmarshal(dAtA []byte) error {
  4462. l := len(dAtA)
  4463. iNdEx := 0
  4464. for iNdEx < l {
  4465. preIndex := iNdEx
  4466. var wire uint64
  4467. for shift := uint(0); ; shift += 7 {
  4468. if shift >= 64 {
  4469. return ErrIntOverflowGenerated
  4470. }
  4471. if iNdEx >= l {
  4472. return io.ErrUnexpectedEOF
  4473. }
  4474. b := dAtA[iNdEx]
  4475. iNdEx++
  4476. wire |= (uint64(b) & 0x7F) << shift
  4477. if b < 0x80 {
  4478. break
  4479. }
  4480. }
  4481. fieldNum := int32(wire >> 3)
  4482. wireType := int(wire & 0x7)
  4483. if wireType == 4 {
  4484. return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group")
  4485. }
  4486. if fieldNum <= 0 {
  4487. return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire)
  4488. }
  4489. switch fieldNum {
  4490. case 1:
  4491. if wireType != 2 {
  4492. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  4493. }
  4494. var stringLen uint64
  4495. for shift := uint(0); ; shift += 7 {
  4496. if shift >= 64 {
  4497. return ErrIntOverflowGenerated
  4498. }
  4499. if iNdEx >= l {
  4500. return io.ErrUnexpectedEOF
  4501. }
  4502. b := dAtA[iNdEx]
  4503. iNdEx++
  4504. stringLen |= (uint64(b) & 0x7F) << shift
  4505. if b < 0x80 {
  4506. break
  4507. }
  4508. }
  4509. intStringLen := int(stringLen)
  4510. if intStringLen < 0 {
  4511. return ErrInvalidLengthGenerated
  4512. }
  4513. postIndex := iNdEx + intStringLen
  4514. if postIndex > l {
  4515. return io.ErrUnexpectedEOF
  4516. }
  4517. m.Group = string(dAtA[iNdEx:postIndex])
  4518. iNdEx = postIndex
  4519. case 2:
  4520. if wireType != 2 {
  4521. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  4522. }
  4523. var stringLen uint64
  4524. for shift := uint(0); ; shift += 7 {
  4525. if shift >= 64 {
  4526. return ErrIntOverflowGenerated
  4527. }
  4528. if iNdEx >= l {
  4529. return io.ErrUnexpectedEOF
  4530. }
  4531. b := dAtA[iNdEx]
  4532. iNdEx++
  4533. stringLen |= (uint64(b) & 0x7F) << shift
  4534. if b < 0x80 {
  4535. break
  4536. }
  4537. }
  4538. intStringLen := int(stringLen)
  4539. if intStringLen < 0 {
  4540. return ErrInvalidLengthGenerated
  4541. }
  4542. postIndex := iNdEx + intStringLen
  4543. if postIndex > l {
  4544. return io.ErrUnexpectedEOF
  4545. }
  4546. m.Version = string(dAtA[iNdEx:postIndex])
  4547. iNdEx = postIndex
  4548. case 3:
  4549. if wireType != 2 {
  4550. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  4551. }
  4552. var stringLen uint64
  4553. for shift := uint(0); ; shift += 7 {
  4554. if shift >= 64 {
  4555. return ErrIntOverflowGenerated
  4556. }
  4557. if iNdEx >= l {
  4558. return io.ErrUnexpectedEOF
  4559. }
  4560. b := dAtA[iNdEx]
  4561. iNdEx++
  4562. stringLen |= (uint64(b) & 0x7F) << shift
  4563. if b < 0x80 {
  4564. break
  4565. }
  4566. }
  4567. intStringLen := int(stringLen)
  4568. if intStringLen < 0 {
  4569. return ErrInvalidLengthGenerated
  4570. }
  4571. postIndex := iNdEx + intStringLen
  4572. if postIndex > l {
  4573. return io.ErrUnexpectedEOF
  4574. }
  4575. m.Resource = string(dAtA[iNdEx:postIndex])
  4576. iNdEx = postIndex
  4577. default:
  4578. iNdEx = preIndex
  4579. skippy, err := skipGenerated(dAtA[iNdEx:])
  4580. if err != nil {
  4581. return err
  4582. }
  4583. if skippy < 0 {
  4584. return ErrInvalidLengthGenerated
  4585. }
  4586. if (iNdEx + skippy) > l {
  4587. return io.ErrUnexpectedEOF
  4588. }
  4589. iNdEx += skippy
  4590. }
  4591. }
  4592. if iNdEx > l {
  4593. return io.ErrUnexpectedEOF
  4594. }
  4595. return nil
  4596. }
  4597. func (m *Initializer) Unmarshal(dAtA []byte) error {
  4598. l := len(dAtA)
  4599. iNdEx := 0
  4600. for iNdEx < l {
  4601. preIndex := iNdEx
  4602. var wire uint64
  4603. for shift := uint(0); ; shift += 7 {
  4604. if shift >= 64 {
  4605. return ErrIntOverflowGenerated
  4606. }
  4607. if iNdEx >= l {
  4608. return io.ErrUnexpectedEOF
  4609. }
  4610. b := dAtA[iNdEx]
  4611. iNdEx++
  4612. wire |= (uint64(b) & 0x7F) << shift
  4613. if b < 0x80 {
  4614. break
  4615. }
  4616. }
  4617. fieldNum := int32(wire >> 3)
  4618. wireType := int(wire & 0x7)
  4619. if wireType == 4 {
  4620. return fmt.Errorf("proto: Initializer: wiretype end group for non-group")
  4621. }
  4622. if fieldNum <= 0 {
  4623. return fmt.Errorf("proto: Initializer: illegal tag %d (wire type %d)", fieldNum, wire)
  4624. }
  4625. switch fieldNum {
  4626. case 1:
  4627. if wireType != 2 {
  4628. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4629. }
  4630. var stringLen uint64
  4631. for shift := uint(0); ; shift += 7 {
  4632. if shift >= 64 {
  4633. return ErrIntOverflowGenerated
  4634. }
  4635. if iNdEx >= l {
  4636. return io.ErrUnexpectedEOF
  4637. }
  4638. b := dAtA[iNdEx]
  4639. iNdEx++
  4640. stringLen |= (uint64(b) & 0x7F) << shift
  4641. if b < 0x80 {
  4642. break
  4643. }
  4644. }
  4645. intStringLen := int(stringLen)
  4646. if intStringLen < 0 {
  4647. return ErrInvalidLengthGenerated
  4648. }
  4649. postIndex := iNdEx + intStringLen
  4650. if postIndex > l {
  4651. return io.ErrUnexpectedEOF
  4652. }
  4653. m.Name = string(dAtA[iNdEx:postIndex])
  4654. iNdEx = postIndex
  4655. default:
  4656. iNdEx = preIndex
  4657. skippy, err := skipGenerated(dAtA[iNdEx:])
  4658. if err != nil {
  4659. return err
  4660. }
  4661. if skippy < 0 {
  4662. return ErrInvalidLengthGenerated
  4663. }
  4664. if (iNdEx + skippy) > l {
  4665. return io.ErrUnexpectedEOF
  4666. }
  4667. iNdEx += skippy
  4668. }
  4669. }
  4670. if iNdEx > l {
  4671. return io.ErrUnexpectedEOF
  4672. }
  4673. return nil
  4674. }
  4675. func (m *Initializers) Unmarshal(dAtA []byte) error {
  4676. l := len(dAtA)
  4677. iNdEx := 0
  4678. for iNdEx < l {
  4679. preIndex := iNdEx
  4680. var wire uint64
  4681. for shift := uint(0); ; shift += 7 {
  4682. if shift >= 64 {
  4683. return ErrIntOverflowGenerated
  4684. }
  4685. if iNdEx >= l {
  4686. return io.ErrUnexpectedEOF
  4687. }
  4688. b := dAtA[iNdEx]
  4689. iNdEx++
  4690. wire |= (uint64(b) & 0x7F) << shift
  4691. if b < 0x80 {
  4692. break
  4693. }
  4694. }
  4695. fieldNum := int32(wire >> 3)
  4696. wireType := int(wire & 0x7)
  4697. if wireType == 4 {
  4698. return fmt.Errorf("proto: Initializers: wiretype end group for non-group")
  4699. }
  4700. if fieldNum <= 0 {
  4701. return fmt.Errorf("proto: Initializers: illegal tag %d (wire type %d)", fieldNum, wire)
  4702. }
  4703. switch fieldNum {
  4704. case 1:
  4705. if wireType != 2 {
  4706. return fmt.Errorf("proto: wrong wireType = %d for field Pending", wireType)
  4707. }
  4708. var msglen int
  4709. for shift := uint(0); ; shift += 7 {
  4710. if shift >= 64 {
  4711. return ErrIntOverflowGenerated
  4712. }
  4713. if iNdEx >= l {
  4714. return io.ErrUnexpectedEOF
  4715. }
  4716. b := dAtA[iNdEx]
  4717. iNdEx++
  4718. msglen |= (int(b) & 0x7F) << shift
  4719. if b < 0x80 {
  4720. break
  4721. }
  4722. }
  4723. if msglen < 0 {
  4724. return ErrInvalidLengthGenerated
  4725. }
  4726. postIndex := iNdEx + msglen
  4727. if postIndex > l {
  4728. return io.ErrUnexpectedEOF
  4729. }
  4730. m.Pending = append(m.Pending, Initializer{})
  4731. if err := m.Pending[len(m.Pending)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4732. return err
  4733. }
  4734. iNdEx = postIndex
  4735. case 2:
  4736. if wireType != 2 {
  4737. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  4738. }
  4739. var msglen int
  4740. for shift := uint(0); ; shift += 7 {
  4741. if shift >= 64 {
  4742. return ErrIntOverflowGenerated
  4743. }
  4744. if iNdEx >= l {
  4745. return io.ErrUnexpectedEOF
  4746. }
  4747. b := dAtA[iNdEx]
  4748. iNdEx++
  4749. msglen |= (int(b) & 0x7F) << shift
  4750. if b < 0x80 {
  4751. break
  4752. }
  4753. }
  4754. if msglen < 0 {
  4755. return ErrInvalidLengthGenerated
  4756. }
  4757. postIndex := iNdEx + msglen
  4758. if postIndex > l {
  4759. return io.ErrUnexpectedEOF
  4760. }
  4761. if m.Result == nil {
  4762. m.Result = &Status{}
  4763. }
  4764. if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4765. return err
  4766. }
  4767. iNdEx = postIndex
  4768. default:
  4769. iNdEx = preIndex
  4770. skippy, err := skipGenerated(dAtA[iNdEx:])
  4771. if err != nil {
  4772. return err
  4773. }
  4774. if skippy < 0 {
  4775. return ErrInvalidLengthGenerated
  4776. }
  4777. if (iNdEx + skippy) > l {
  4778. return io.ErrUnexpectedEOF
  4779. }
  4780. iNdEx += skippy
  4781. }
  4782. }
  4783. if iNdEx > l {
  4784. return io.ErrUnexpectedEOF
  4785. }
  4786. return nil
  4787. }
  4788. func (m *LabelSelector) Unmarshal(dAtA []byte) error {
  4789. l := len(dAtA)
  4790. iNdEx := 0
  4791. for iNdEx < l {
  4792. preIndex := iNdEx
  4793. var wire uint64
  4794. for shift := uint(0); ; shift += 7 {
  4795. if shift >= 64 {
  4796. return ErrIntOverflowGenerated
  4797. }
  4798. if iNdEx >= l {
  4799. return io.ErrUnexpectedEOF
  4800. }
  4801. b := dAtA[iNdEx]
  4802. iNdEx++
  4803. wire |= (uint64(b) & 0x7F) << shift
  4804. if b < 0x80 {
  4805. break
  4806. }
  4807. }
  4808. fieldNum := int32(wire >> 3)
  4809. wireType := int(wire & 0x7)
  4810. if wireType == 4 {
  4811. return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group")
  4812. }
  4813. if fieldNum <= 0 {
  4814. return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  4815. }
  4816. switch fieldNum {
  4817. case 1:
  4818. if wireType != 2 {
  4819. return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType)
  4820. }
  4821. var msglen int
  4822. for shift := uint(0); ; shift += 7 {
  4823. if shift >= 64 {
  4824. return ErrIntOverflowGenerated
  4825. }
  4826. if iNdEx >= l {
  4827. return io.ErrUnexpectedEOF
  4828. }
  4829. b := dAtA[iNdEx]
  4830. iNdEx++
  4831. msglen |= (int(b) & 0x7F) << shift
  4832. if b < 0x80 {
  4833. break
  4834. }
  4835. }
  4836. if msglen < 0 {
  4837. return ErrInvalidLengthGenerated
  4838. }
  4839. postIndex := iNdEx + msglen
  4840. if postIndex > l {
  4841. return io.ErrUnexpectedEOF
  4842. }
  4843. if m.MatchLabels == nil {
  4844. m.MatchLabels = make(map[string]string)
  4845. }
  4846. var mapkey string
  4847. var mapvalue string
  4848. for iNdEx < postIndex {
  4849. entryPreIndex := iNdEx
  4850. var wire uint64
  4851. for shift := uint(0); ; shift += 7 {
  4852. if shift >= 64 {
  4853. return ErrIntOverflowGenerated
  4854. }
  4855. if iNdEx >= l {
  4856. return io.ErrUnexpectedEOF
  4857. }
  4858. b := dAtA[iNdEx]
  4859. iNdEx++
  4860. wire |= (uint64(b) & 0x7F) << shift
  4861. if b < 0x80 {
  4862. break
  4863. }
  4864. }
  4865. fieldNum := int32(wire >> 3)
  4866. if fieldNum == 1 {
  4867. var stringLenmapkey uint64
  4868. for shift := uint(0); ; shift += 7 {
  4869. if shift >= 64 {
  4870. return ErrIntOverflowGenerated
  4871. }
  4872. if iNdEx >= l {
  4873. return io.ErrUnexpectedEOF
  4874. }
  4875. b := dAtA[iNdEx]
  4876. iNdEx++
  4877. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  4878. if b < 0x80 {
  4879. break
  4880. }
  4881. }
  4882. intStringLenmapkey := int(stringLenmapkey)
  4883. if intStringLenmapkey < 0 {
  4884. return ErrInvalidLengthGenerated
  4885. }
  4886. postStringIndexmapkey := iNdEx + intStringLenmapkey
  4887. if postStringIndexmapkey > l {
  4888. return io.ErrUnexpectedEOF
  4889. }
  4890. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  4891. iNdEx = postStringIndexmapkey
  4892. } else if fieldNum == 2 {
  4893. var stringLenmapvalue uint64
  4894. for shift := uint(0); ; shift += 7 {
  4895. if shift >= 64 {
  4896. return ErrIntOverflowGenerated
  4897. }
  4898. if iNdEx >= l {
  4899. return io.ErrUnexpectedEOF
  4900. }
  4901. b := dAtA[iNdEx]
  4902. iNdEx++
  4903. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  4904. if b < 0x80 {
  4905. break
  4906. }
  4907. }
  4908. intStringLenmapvalue := int(stringLenmapvalue)
  4909. if intStringLenmapvalue < 0 {
  4910. return ErrInvalidLengthGenerated
  4911. }
  4912. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  4913. if postStringIndexmapvalue > l {
  4914. return io.ErrUnexpectedEOF
  4915. }
  4916. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  4917. iNdEx = postStringIndexmapvalue
  4918. } else {
  4919. iNdEx = entryPreIndex
  4920. skippy, err := skipGenerated(dAtA[iNdEx:])
  4921. if err != nil {
  4922. return err
  4923. }
  4924. if skippy < 0 {
  4925. return ErrInvalidLengthGenerated
  4926. }
  4927. if (iNdEx + skippy) > postIndex {
  4928. return io.ErrUnexpectedEOF
  4929. }
  4930. iNdEx += skippy
  4931. }
  4932. }
  4933. m.MatchLabels[mapkey] = mapvalue
  4934. iNdEx = postIndex
  4935. case 2:
  4936. if wireType != 2 {
  4937. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  4938. }
  4939. var msglen int
  4940. for shift := uint(0); ; shift += 7 {
  4941. if shift >= 64 {
  4942. return ErrIntOverflowGenerated
  4943. }
  4944. if iNdEx >= l {
  4945. return io.ErrUnexpectedEOF
  4946. }
  4947. b := dAtA[iNdEx]
  4948. iNdEx++
  4949. msglen |= (int(b) & 0x7F) << shift
  4950. if b < 0x80 {
  4951. break
  4952. }
  4953. }
  4954. if msglen < 0 {
  4955. return ErrInvalidLengthGenerated
  4956. }
  4957. postIndex := iNdEx + msglen
  4958. if postIndex > l {
  4959. return io.ErrUnexpectedEOF
  4960. }
  4961. m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{})
  4962. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4963. return err
  4964. }
  4965. iNdEx = postIndex
  4966. default:
  4967. iNdEx = preIndex
  4968. skippy, err := skipGenerated(dAtA[iNdEx:])
  4969. if err != nil {
  4970. return err
  4971. }
  4972. if skippy < 0 {
  4973. return ErrInvalidLengthGenerated
  4974. }
  4975. if (iNdEx + skippy) > l {
  4976. return io.ErrUnexpectedEOF
  4977. }
  4978. iNdEx += skippy
  4979. }
  4980. }
  4981. if iNdEx > l {
  4982. return io.ErrUnexpectedEOF
  4983. }
  4984. return nil
  4985. }
  4986. func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error {
  4987. l := len(dAtA)
  4988. iNdEx := 0
  4989. for iNdEx < l {
  4990. preIndex := iNdEx
  4991. var wire uint64
  4992. for shift := uint(0); ; shift += 7 {
  4993. if shift >= 64 {
  4994. return ErrIntOverflowGenerated
  4995. }
  4996. if iNdEx >= l {
  4997. return io.ErrUnexpectedEOF
  4998. }
  4999. b := dAtA[iNdEx]
  5000. iNdEx++
  5001. wire |= (uint64(b) & 0x7F) << shift
  5002. if b < 0x80 {
  5003. break
  5004. }
  5005. }
  5006. fieldNum := int32(wire >> 3)
  5007. wireType := int(wire & 0x7)
  5008. if wireType == 4 {
  5009. return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group")
  5010. }
  5011. if fieldNum <= 0 {
  5012. return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  5013. }
  5014. switch fieldNum {
  5015. case 1:
  5016. if wireType != 2 {
  5017. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  5018. }
  5019. var stringLen uint64
  5020. for shift := uint(0); ; shift += 7 {
  5021. if shift >= 64 {
  5022. return ErrIntOverflowGenerated
  5023. }
  5024. if iNdEx >= l {
  5025. return io.ErrUnexpectedEOF
  5026. }
  5027. b := dAtA[iNdEx]
  5028. iNdEx++
  5029. stringLen |= (uint64(b) & 0x7F) << shift
  5030. if b < 0x80 {
  5031. break
  5032. }
  5033. }
  5034. intStringLen := int(stringLen)
  5035. if intStringLen < 0 {
  5036. return ErrInvalidLengthGenerated
  5037. }
  5038. postIndex := iNdEx + intStringLen
  5039. if postIndex > l {
  5040. return io.ErrUnexpectedEOF
  5041. }
  5042. m.Key = string(dAtA[iNdEx:postIndex])
  5043. iNdEx = postIndex
  5044. case 2:
  5045. if wireType != 2 {
  5046. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  5047. }
  5048. var stringLen uint64
  5049. for shift := uint(0); ; shift += 7 {
  5050. if shift >= 64 {
  5051. return ErrIntOverflowGenerated
  5052. }
  5053. if iNdEx >= l {
  5054. return io.ErrUnexpectedEOF
  5055. }
  5056. b := dAtA[iNdEx]
  5057. iNdEx++
  5058. stringLen |= (uint64(b) & 0x7F) << shift
  5059. if b < 0x80 {
  5060. break
  5061. }
  5062. }
  5063. intStringLen := int(stringLen)
  5064. if intStringLen < 0 {
  5065. return ErrInvalidLengthGenerated
  5066. }
  5067. postIndex := iNdEx + intStringLen
  5068. if postIndex > l {
  5069. return io.ErrUnexpectedEOF
  5070. }
  5071. m.Operator = LabelSelectorOperator(dAtA[iNdEx:postIndex])
  5072. iNdEx = postIndex
  5073. case 3:
  5074. if wireType != 2 {
  5075. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  5076. }
  5077. var stringLen uint64
  5078. for shift := uint(0); ; shift += 7 {
  5079. if shift >= 64 {
  5080. return ErrIntOverflowGenerated
  5081. }
  5082. if iNdEx >= l {
  5083. return io.ErrUnexpectedEOF
  5084. }
  5085. b := dAtA[iNdEx]
  5086. iNdEx++
  5087. stringLen |= (uint64(b) & 0x7F) << shift
  5088. if b < 0x80 {
  5089. break
  5090. }
  5091. }
  5092. intStringLen := int(stringLen)
  5093. if intStringLen < 0 {
  5094. return ErrInvalidLengthGenerated
  5095. }
  5096. postIndex := iNdEx + intStringLen
  5097. if postIndex > l {
  5098. return io.ErrUnexpectedEOF
  5099. }
  5100. m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
  5101. iNdEx = postIndex
  5102. default:
  5103. iNdEx = preIndex
  5104. skippy, err := skipGenerated(dAtA[iNdEx:])
  5105. if err != nil {
  5106. return err
  5107. }
  5108. if skippy < 0 {
  5109. return ErrInvalidLengthGenerated
  5110. }
  5111. if (iNdEx + skippy) > l {
  5112. return io.ErrUnexpectedEOF
  5113. }
  5114. iNdEx += skippy
  5115. }
  5116. }
  5117. if iNdEx > l {
  5118. return io.ErrUnexpectedEOF
  5119. }
  5120. return nil
  5121. }
  5122. func (m *List) Unmarshal(dAtA []byte) error {
  5123. l := len(dAtA)
  5124. iNdEx := 0
  5125. for iNdEx < l {
  5126. preIndex := iNdEx
  5127. var wire uint64
  5128. for shift := uint(0); ; shift += 7 {
  5129. if shift >= 64 {
  5130. return ErrIntOverflowGenerated
  5131. }
  5132. if iNdEx >= l {
  5133. return io.ErrUnexpectedEOF
  5134. }
  5135. b := dAtA[iNdEx]
  5136. iNdEx++
  5137. wire |= (uint64(b) & 0x7F) << shift
  5138. if b < 0x80 {
  5139. break
  5140. }
  5141. }
  5142. fieldNum := int32(wire >> 3)
  5143. wireType := int(wire & 0x7)
  5144. if wireType == 4 {
  5145. return fmt.Errorf("proto: List: wiretype end group for non-group")
  5146. }
  5147. if fieldNum <= 0 {
  5148. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  5149. }
  5150. switch fieldNum {
  5151. case 1:
  5152. if wireType != 2 {
  5153. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  5154. }
  5155. var msglen int
  5156. for shift := uint(0); ; shift += 7 {
  5157. if shift >= 64 {
  5158. return ErrIntOverflowGenerated
  5159. }
  5160. if iNdEx >= l {
  5161. return io.ErrUnexpectedEOF
  5162. }
  5163. b := dAtA[iNdEx]
  5164. iNdEx++
  5165. msglen |= (int(b) & 0x7F) << shift
  5166. if b < 0x80 {
  5167. break
  5168. }
  5169. }
  5170. if msglen < 0 {
  5171. return ErrInvalidLengthGenerated
  5172. }
  5173. postIndex := iNdEx + msglen
  5174. if postIndex > l {
  5175. return io.ErrUnexpectedEOF
  5176. }
  5177. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5178. return err
  5179. }
  5180. iNdEx = postIndex
  5181. case 2:
  5182. if wireType != 2 {
  5183. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  5184. }
  5185. var msglen int
  5186. for shift := uint(0); ; shift += 7 {
  5187. if shift >= 64 {
  5188. return ErrIntOverflowGenerated
  5189. }
  5190. if iNdEx >= l {
  5191. return io.ErrUnexpectedEOF
  5192. }
  5193. b := dAtA[iNdEx]
  5194. iNdEx++
  5195. msglen |= (int(b) & 0x7F) << shift
  5196. if b < 0x80 {
  5197. break
  5198. }
  5199. }
  5200. if msglen < 0 {
  5201. return ErrInvalidLengthGenerated
  5202. }
  5203. postIndex := iNdEx + msglen
  5204. if postIndex > l {
  5205. return io.ErrUnexpectedEOF
  5206. }
  5207. m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{})
  5208. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5209. return err
  5210. }
  5211. iNdEx = postIndex
  5212. default:
  5213. iNdEx = preIndex
  5214. skippy, err := skipGenerated(dAtA[iNdEx:])
  5215. if err != nil {
  5216. return err
  5217. }
  5218. if skippy < 0 {
  5219. return ErrInvalidLengthGenerated
  5220. }
  5221. if (iNdEx + skippy) > l {
  5222. return io.ErrUnexpectedEOF
  5223. }
  5224. iNdEx += skippy
  5225. }
  5226. }
  5227. if iNdEx > l {
  5228. return io.ErrUnexpectedEOF
  5229. }
  5230. return nil
  5231. }
  5232. func (m *ListMeta) Unmarshal(dAtA []byte) error {
  5233. l := len(dAtA)
  5234. iNdEx := 0
  5235. for iNdEx < l {
  5236. preIndex := iNdEx
  5237. var wire uint64
  5238. for shift := uint(0); ; shift += 7 {
  5239. if shift >= 64 {
  5240. return ErrIntOverflowGenerated
  5241. }
  5242. if iNdEx >= l {
  5243. return io.ErrUnexpectedEOF
  5244. }
  5245. b := dAtA[iNdEx]
  5246. iNdEx++
  5247. wire |= (uint64(b) & 0x7F) << shift
  5248. if b < 0x80 {
  5249. break
  5250. }
  5251. }
  5252. fieldNum := int32(wire >> 3)
  5253. wireType := int(wire & 0x7)
  5254. if wireType == 4 {
  5255. return fmt.Errorf("proto: ListMeta: wiretype end group for non-group")
  5256. }
  5257. if fieldNum <= 0 {
  5258. return fmt.Errorf("proto: ListMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  5259. }
  5260. switch fieldNum {
  5261. case 1:
  5262. if wireType != 2 {
  5263. return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
  5264. }
  5265. var stringLen uint64
  5266. for shift := uint(0); ; shift += 7 {
  5267. if shift >= 64 {
  5268. return ErrIntOverflowGenerated
  5269. }
  5270. if iNdEx >= l {
  5271. return io.ErrUnexpectedEOF
  5272. }
  5273. b := dAtA[iNdEx]
  5274. iNdEx++
  5275. stringLen |= (uint64(b) & 0x7F) << shift
  5276. if b < 0x80 {
  5277. break
  5278. }
  5279. }
  5280. intStringLen := int(stringLen)
  5281. if intStringLen < 0 {
  5282. return ErrInvalidLengthGenerated
  5283. }
  5284. postIndex := iNdEx + intStringLen
  5285. if postIndex > l {
  5286. return io.ErrUnexpectedEOF
  5287. }
  5288. m.SelfLink = string(dAtA[iNdEx:postIndex])
  5289. iNdEx = postIndex
  5290. case 2:
  5291. if wireType != 2 {
  5292. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  5293. }
  5294. var stringLen uint64
  5295. for shift := uint(0); ; shift += 7 {
  5296. if shift >= 64 {
  5297. return ErrIntOverflowGenerated
  5298. }
  5299. if iNdEx >= l {
  5300. return io.ErrUnexpectedEOF
  5301. }
  5302. b := dAtA[iNdEx]
  5303. iNdEx++
  5304. stringLen |= (uint64(b) & 0x7F) << shift
  5305. if b < 0x80 {
  5306. break
  5307. }
  5308. }
  5309. intStringLen := int(stringLen)
  5310. if intStringLen < 0 {
  5311. return ErrInvalidLengthGenerated
  5312. }
  5313. postIndex := iNdEx + intStringLen
  5314. if postIndex > l {
  5315. return io.ErrUnexpectedEOF
  5316. }
  5317. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  5318. iNdEx = postIndex
  5319. case 3:
  5320. if wireType != 2 {
  5321. return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType)
  5322. }
  5323. var stringLen uint64
  5324. for shift := uint(0); ; shift += 7 {
  5325. if shift >= 64 {
  5326. return ErrIntOverflowGenerated
  5327. }
  5328. if iNdEx >= l {
  5329. return io.ErrUnexpectedEOF
  5330. }
  5331. b := dAtA[iNdEx]
  5332. iNdEx++
  5333. stringLen |= (uint64(b) & 0x7F) << shift
  5334. if b < 0x80 {
  5335. break
  5336. }
  5337. }
  5338. intStringLen := int(stringLen)
  5339. if intStringLen < 0 {
  5340. return ErrInvalidLengthGenerated
  5341. }
  5342. postIndex := iNdEx + intStringLen
  5343. if postIndex > l {
  5344. return io.ErrUnexpectedEOF
  5345. }
  5346. m.Continue = string(dAtA[iNdEx:postIndex])
  5347. iNdEx = postIndex
  5348. default:
  5349. iNdEx = preIndex
  5350. skippy, err := skipGenerated(dAtA[iNdEx:])
  5351. if err != nil {
  5352. return err
  5353. }
  5354. if skippy < 0 {
  5355. return ErrInvalidLengthGenerated
  5356. }
  5357. if (iNdEx + skippy) > l {
  5358. return io.ErrUnexpectedEOF
  5359. }
  5360. iNdEx += skippy
  5361. }
  5362. }
  5363. if iNdEx > l {
  5364. return io.ErrUnexpectedEOF
  5365. }
  5366. return nil
  5367. }
  5368. func (m *ListOptions) Unmarshal(dAtA []byte) error {
  5369. l := len(dAtA)
  5370. iNdEx := 0
  5371. for iNdEx < l {
  5372. preIndex := iNdEx
  5373. var wire uint64
  5374. for shift := uint(0); ; shift += 7 {
  5375. if shift >= 64 {
  5376. return ErrIntOverflowGenerated
  5377. }
  5378. if iNdEx >= l {
  5379. return io.ErrUnexpectedEOF
  5380. }
  5381. b := dAtA[iNdEx]
  5382. iNdEx++
  5383. wire |= (uint64(b) & 0x7F) << shift
  5384. if b < 0x80 {
  5385. break
  5386. }
  5387. }
  5388. fieldNum := int32(wire >> 3)
  5389. wireType := int(wire & 0x7)
  5390. if wireType == 4 {
  5391. return fmt.Errorf("proto: ListOptions: wiretype end group for non-group")
  5392. }
  5393. if fieldNum <= 0 {
  5394. return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  5395. }
  5396. switch fieldNum {
  5397. case 1:
  5398. if wireType != 2 {
  5399. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  5400. }
  5401. var stringLen uint64
  5402. for shift := uint(0); ; shift += 7 {
  5403. if shift >= 64 {
  5404. return ErrIntOverflowGenerated
  5405. }
  5406. if iNdEx >= l {
  5407. return io.ErrUnexpectedEOF
  5408. }
  5409. b := dAtA[iNdEx]
  5410. iNdEx++
  5411. stringLen |= (uint64(b) & 0x7F) << shift
  5412. if b < 0x80 {
  5413. break
  5414. }
  5415. }
  5416. intStringLen := int(stringLen)
  5417. if intStringLen < 0 {
  5418. return ErrInvalidLengthGenerated
  5419. }
  5420. postIndex := iNdEx + intStringLen
  5421. if postIndex > l {
  5422. return io.ErrUnexpectedEOF
  5423. }
  5424. m.LabelSelector = string(dAtA[iNdEx:postIndex])
  5425. iNdEx = postIndex
  5426. case 2:
  5427. if wireType != 2 {
  5428. return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType)
  5429. }
  5430. var stringLen uint64
  5431. for shift := uint(0); ; shift += 7 {
  5432. if shift >= 64 {
  5433. return ErrIntOverflowGenerated
  5434. }
  5435. if iNdEx >= l {
  5436. return io.ErrUnexpectedEOF
  5437. }
  5438. b := dAtA[iNdEx]
  5439. iNdEx++
  5440. stringLen |= (uint64(b) & 0x7F) << shift
  5441. if b < 0x80 {
  5442. break
  5443. }
  5444. }
  5445. intStringLen := int(stringLen)
  5446. if intStringLen < 0 {
  5447. return ErrInvalidLengthGenerated
  5448. }
  5449. postIndex := iNdEx + intStringLen
  5450. if postIndex > l {
  5451. return io.ErrUnexpectedEOF
  5452. }
  5453. m.FieldSelector = string(dAtA[iNdEx:postIndex])
  5454. iNdEx = postIndex
  5455. case 3:
  5456. if wireType != 0 {
  5457. return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType)
  5458. }
  5459. var v int
  5460. for shift := uint(0); ; shift += 7 {
  5461. if shift >= 64 {
  5462. return ErrIntOverflowGenerated
  5463. }
  5464. if iNdEx >= l {
  5465. return io.ErrUnexpectedEOF
  5466. }
  5467. b := dAtA[iNdEx]
  5468. iNdEx++
  5469. v |= (int(b) & 0x7F) << shift
  5470. if b < 0x80 {
  5471. break
  5472. }
  5473. }
  5474. m.Watch = bool(v != 0)
  5475. case 4:
  5476. if wireType != 2 {
  5477. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  5478. }
  5479. var stringLen uint64
  5480. for shift := uint(0); ; shift += 7 {
  5481. if shift >= 64 {
  5482. return ErrIntOverflowGenerated
  5483. }
  5484. if iNdEx >= l {
  5485. return io.ErrUnexpectedEOF
  5486. }
  5487. b := dAtA[iNdEx]
  5488. iNdEx++
  5489. stringLen |= (uint64(b) & 0x7F) << shift
  5490. if b < 0x80 {
  5491. break
  5492. }
  5493. }
  5494. intStringLen := int(stringLen)
  5495. if intStringLen < 0 {
  5496. return ErrInvalidLengthGenerated
  5497. }
  5498. postIndex := iNdEx + intStringLen
  5499. if postIndex > l {
  5500. return io.ErrUnexpectedEOF
  5501. }
  5502. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  5503. iNdEx = postIndex
  5504. case 5:
  5505. if wireType != 0 {
  5506. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  5507. }
  5508. var v int64
  5509. for shift := uint(0); ; shift += 7 {
  5510. if shift >= 64 {
  5511. return ErrIntOverflowGenerated
  5512. }
  5513. if iNdEx >= l {
  5514. return io.ErrUnexpectedEOF
  5515. }
  5516. b := dAtA[iNdEx]
  5517. iNdEx++
  5518. v |= (int64(b) & 0x7F) << shift
  5519. if b < 0x80 {
  5520. break
  5521. }
  5522. }
  5523. m.TimeoutSeconds = &v
  5524. case 6:
  5525. if wireType != 0 {
  5526. return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
  5527. }
  5528. var v int
  5529. for shift := uint(0); ; shift += 7 {
  5530. if shift >= 64 {
  5531. return ErrIntOverflowGenerated
  5532. }
  5533. if iNdEx >= l {
  5534. return io.ErrUnexpectedEOF
  5535. }
  5536. b := dAtA[iNdEx]
  5537. iNdEx++
  5538. v |= (int(b) & 0x7F) << shift
  5539. if b < 0x80 {
  5540. break
  5541. }
  5542. }
  5543. m.IncludeUninitialized = bool(v != 0)
  5544. case 7:
  5545. if wireType != 0 {
  5546. return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
  5547. }
  5548. m.Limit = 0
  5549. for shift := uint(0); ; shift += 7 {
  5550. if shift >= 64 {
  5551. return ErrIntOverflowGenerated
  5552. }
  5553. if iNdEx >= l {
  5554. return io.ErrUnexpectedEOF
  5555. }
  5556. b := dAtA[iNdEx]
  5557. iNdEx++
  5558. m.Limit |= (int64(b) & 0x7F) << shift
  5559. if b < 0x80 {
  5560. break
  5561. }
  5562. }
  5563. case 8:
  5564. if wireType != 2 {
  5565. return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType)
  5566. }
  5567. var stringLen uint64
  5568. for shift := uint(0); ; shift += 7 {
  5569. if shift >= 64 {
  5570. return ErrIntOverflowGenerated
  5571. }
  5572. if iNdEx >= l {
  5573. return io.ErrUnexpectedEOF
  5574. }
  5575. b := dAtA[iNdEx]
  5576. iNdEx++
  5577. stringLen |= (uint64(b) & 0x7F) << shift
  5578. if b < 0x80 {
  5579. break
  5580. }
  5581. }
  5582. intStringLen := int(stringLen)
  5583. if intStringLen < 0 {
  5584. return ErrInvalidLengthGenerated
  5585. }
  5586. postIndex := iNdEx + intStringLen
  5587. if postIndex > l {
  5588. return io.ErrUnexpectedEOF
  5589. }
  5590. m.Continue = string(dAtA[iNdEx:postIndex])
  5591. iNdEx = postIndex
  5592. default:
  5593. iNdEx = preIndex
  5594. skippy, err := skipGenerated(dAtA[iNdEx:])
  5595. if err != nil {
  5596. return err
  5597. }
  5598. if skippy < 0 {
  5599. return ErrInvalidLengthGenerated
  5600. }
  5601. if (iNdEx + skippy) > l {
  5602. return io.ErrUnexpectedEOF
  5603. }
  5604. iNdEx += skippy
  5605. }
  5606. }
  5607. if iNdEx > l {
  5608. return io.ErrUnexpectedEOF
  5609. }
  5610. return nil
  5611. }
  5612. func (m *ObjectMeta) Unmarshal(dAtA []byte) error {
  5613. l := len(dAtA)
  5614. iNdEx := 0
  5615. for iNdEx < l {
  5616. preIndex := iNdEx
  5617. var wire uint64
  5618. for shift := uint(0); ; shift += 7 {
  5619. if shift >= 64 {
  5620. return ErrIntOverflowGenerated
  5621. }
  5622. if iNdEx >= l {
  5623. return io.ErrUnexpectedEOF
  5624. }
  5625. b := dAtA[iNdEx]
  5626. iNdEx++
  5627. wire |= (uint64(b) & 0x7F) << shift
  5628. if b < 0x80 {
  5629. break
  5630. }
  5631. }
  5632. fieldNum := int32(wire >> 3)
  5633. wireType := int(wire & 0x7)
  5634. if wireType == 4 {
  5635. return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group")
  5636. }
  5637. if fieldNum <= 0 {
  5638. return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  5639. }
  5640. switch fieldNum {
  5641. case 1:
  5642. if wireType != 2 {
  5643. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5644. }
  5645. var stringLen uint64
  5646. for shift := uint(0); ; shift += 7 {
  5647. if shift >= 64 {
  5648. return ErrIntOverflowGenerated
  5649. }
  5650. if iNdEx >= l {
  5651. return io.ErrUnexpectedEOF
  5652. }
  5653. b := dAtA[iNdEx]
  5654. iNdEx++
  5655. stringLen |= (uint64(b) & 0x7F) << shift
  5656. if b < 0x80 {
  5657. break
  5658. }
  5659. }
  5660. intStringLen := int(stringLen)
  5661. if intStringLen < 0 {
  5662. return ErrInvalidLengthGenerated
  5663. }
  5664. postIndex := iNdEx + intStringLen
  5665. if postIndex > l {
  5666. return io.ErrUnexpectedEOF
  5667. }
  5668. m.Name = string(dAtA[iNdEx:postIndex])
  5669. iNdEx = postIndex
  5670. case 2:
  5671. if wireType != 2 {
  5672. return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType)
  5673. }
  5674. var stringLen uint64
  5675. for shift := uint(0); ; shift += 7 {
  5676. if shift >= 64 {
  5677. return ErrIntOverflowGenerated
  5678. }
  5679. if iNdEx >= l {
  5680. return io.ErrUnexpectedEOF
  5681. }
  5682. b := dAtA[iNdEx]
  5683. iNdEx++
  5684. stringLen |= (uint64(b) & 0x7F) << shift
  5685. if b < 0x80 {
  5686. break
  5687. }
  5688. }
  5689. intStringLen := int(stringLen)
  5690. if intStringLen < 0 {
  5691. return ErrInvalidLengthGenerated
  5692. }
  5693. postIndex := iNdEx + intStringLen
  5694. if postIndex > l {
  5695. return io.ErrUnexpectedEOF
  5696. }
  5697. m.GenerateName = string(dAtA[iNdEx:postIndex])
  5698. iNdEx = postIndex
  5699. case 3:
  5700. if wireType != 2 {
  5701. return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
  5702. }
  5703. var stringLen uint64
  5704. for shift := uint(0); ; shift += 7 {
  5705. if shift >= 64 {
  5706. return ErrIntOverflowGenerated
  5707. }
  5708. if iNdEx >= l {
  5709. return io.ErrUnexpectedEOF
  5710. }
  5711. b := dAtA[iNdEx]
  5712. iNdEx++
  5713. stringLen |= (uint64(b) & 0x7F) << shift
  5714. if b < 0x80 {
  5715. break
  5716. }
  5717. }
  5718. intStringLen := int(stringLen)
  5719. if intStringLen < 0 {
  5720. return ErrInvalidLengthGenerated
  5721. }
  5722. postIndex := iNdEx + intStringLen
  5723. if postIndex > l {
  5724. return io.ErrUnexpectedEOF
  5725. }
  5726. m.Namespace = string(dAtA[iNdEx:postIndex])
  5727. iNdEx = postIndex
  5728. case 4:
  5729. if wireType != 2 {
  5730. return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
  5731. }
  5732. var stringLen uint64
  5733. for shift := uint(0); ; shift += 7 {
  5734. if shift >= 64 {
  5735. return ErrIntOverflowGenerated
  5736. }
  5737. if iNdEx >= l {
  5738. return io.ErrUnexpectedEOF
  5739. }
  5740. b := dAtA[iNdEx]
  5741. iNdEx++
  5742. stringLen |= (uint64(b) & 0x7F) << shift
  5743. if b < 0x80 {
  5744. break
  5745. }
  5746. }
  5747. intStringLen := int(stringLen)
  5748. if intStringLen < 0 {
  5749. return ErrInvalidLengthGenerated
  5750. }
  5751. postIndex := iNdEx + intStringLen
  5752. if postIndex > l {
  5753. return io.ErrUnexpectedEOF
  5754. }
  5755. m.SelfLink = string(dAtA[iNdEx:postIndex])
  5756. iNdEx = postIndex
  5757. case 5:
  5758. if wireType != 2 {
  5759. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  5760. }
  5761. var stringLen uint64
  5762. for shift := uint(0); ; shift += 7 {
  5763. if shift >= 64 {
  5764. return ErrIntOverflowGenerated
  5765. }
  5766. if iNdEx >= l {
  5767. return io.ErrUnexpectedEOF
  5768. }
  5769. b := dAtA[iNdEx]
  5770. iNdEx++
  5771. stringLen |= (uint64(b) & 0x7F) << shift
  5772. if b < 0x80 {
  5773. break
  5774. }
  5775. }
  5776. intStringLen := int(stringLen)
  5777. if intStringLen < 0 {
  5778. return ErrInvalidLengthGenerated
  5779. }
  5780. postIndex := iNdEx + intStringLen
  5781. if postIndex > l {
  5782. return io.ErrUnexpectedEOF
  5783. }
  5784. m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  5785. iNdEx = postIndex
  5786. case 6:
  5787. if wireType != 2 {
  5788. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  5789. }
  5790. var stringLen uint64
  5791. for shift := uint(0); ; shift += 7 {
  5792. if shift >= 64 {
  5793. return ErrIntOverflowGenerated
  5794. }
  5795. if iNdEx >= l {
  5796. return io.ErrUnexpectedEOF
  5797. }
  5798. b := dAtA[iNdEx]
  5799. iNdEx++
  5800. stringLen |= (uint64(b) & 0x7F) << shift
  5801. if b < 0x80 {
  5802. break
  5803. }
  5804. }
  5805. intStringLen := int(stringLen)
  5806. if intStringLen < 0 {
  5807. return ErrInvalidLengthGenerated
  5808. }
  5809. postIndex := iNdEx + intStringLen
  5810. if postIndex > l {
  5811. return io.ErrUnexpectedEOF
  5812. }
  5813. m.ResourceVersion = string(dAtA[iNdEx:postIndex])
  5814. iNdEx = postIndex
  5815. case 7:
  5816. if wireType != 0 {
  5817. return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType)
  5818. }
  5819. m.Generation = 0
  5820. for shift := uint(0); ; shift += 7 {
  5821. if shift >= 64 {
  5822. return ErrIntOverflowGenerated
  5823. }
  5824. if iNdEx >= l {
  5825. return io.ErrUnexpectedEOF
  5826. }
  5827. b := dAtA[iNdEx]
  5828. iNdEx++
  5829. m.Generation |= (int64(b) & 0x7F) << shift
  5830. if b < 0x80 {
  5831. break
  5832. }
  5833. }
  5834. case 8:
  5835. if wireType != 2 {
  5836. return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType)
  5837. }
  5838. var msglen int
  5839. for shift := uint(0); ; shift += 7 {
  5840. if shift >= 64 {
  5841. return ErrIntOverflowGenerated
  5842. }
  5843. if iNdEx >= l {
  5844. return io.ErrUnexpectedEOF
  5845. }
  5846. b := dAtA[iNdEx]
  5847. iNdEx++
  5848. msglen |= (int(b) & 0x7F) << shift
  5849. if b < 0x80 {
  5850. break
  5851. }
  5852. }
  5853. if msglen < 0 {
  5854. return ErrInvalidLengthGenerated
  5855. }
  5856. postIndex := iNdEx + msglen
  5857. if postIndex > l {
  5858. return io.ErrUnexpectedEOF
  5859. }
  5860. if err := m.CreationTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5861. return err
  5862. }
  5863. iNdEx = postIndex
  5864. case 9:
  5865. if wireType != 2 {
  5866. return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType)
  5867. }
  5868. var msglen int
  5869. for shift := uint(0); ; shift += 7 {
  5870. if shift >= 64 {
  5871. return ErrIntOverflowGenerated
  5872. }
  5873. if iNdEx >= l {
  5874. return io.ErrUnexpectedEOF
  5875. }
  5876. b := dAtA[iNdEx]
  5877. iNdEx++
  5878. msglen |= (int(b) & 0x7F) << shift
  5879. if b < 0x80 {
  5880. break
  5881. }
  5882. }
  5883. if msglen < 0 {
  5884. return ErrInvalidLengthGenerated
  5885. }
  5886. postIndex := iNdEx + msglen
  5887. if postIndex > l {
  5888. return io.ErrUnexpectedEOF
  5889. }
  5890. if m.DeletionTimestamp == nil {
  5891. m.DeletionTimestamp = &Time{}
  5892. }
  5893. if err := m.DeletionTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5894. return err
  5895. }
  5896. iNdEx = postIndex
  5897. case 10:
  5898. if wireType != 0 {
  5899. return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType)
  5900. }
  5901. var v int64
  5902. for shift := uint(0); ; shift += 7 {
  5903. if shift >= 64 {
  5904. return ErrIntOverflowGenerated
  5905. }
  5906. if iNdEx >= l {
  5907. return io.ErrUnexpectedEOF
  5908. }
  5909. b := dAtA[iNdEx]
  5910. iNdEx++
  5911. v |= (int64(b) & 0x7F) << shift
  5912. if b < 0x80 {
  5913. break
  5914. }
  5915. }
  5916. m.DeletionGracePeriodSeconds = &v
  5917. case 11:
  5918. if wireType != 2 {
  5919. return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
  5920. }
  5921. var msglen int
  5922. for shift := uint(0); ; shift += 7 {
  5923. if shift >= 64 {
  5924. return ErrIntOverflowGenerated
  5925. }
  5926. if iNdEx >= l {
  5927. return io.ErrUnexpectedEOF
  5928. }
  5929. b := dAtA[iNdEx]
  5930. iNdEx++
  5931. msglen |= (int(b) & 0x7F) << shift
  5932. if b < 0x80 {
  5933. break
  5934. }
  5935. }
  5936. if msglen < 0 {
  5937. return ErrInvalidLengthGenerated
  5938. }
  5939. postIndex := iNdEx + msglen
  5940. if postIndex > l {
  5941. return io.ErrUnexpectedEOF
  5942. }
  5943. if m.Labels == nil {
  5944. m.Labels = make(map[string]string)
  5945. }
  5946. var mapkey string
  5947. var mapvalue string
  5948. for iNdEx < postIndex {
  5949. entryPreIndex := iNdEx
  5950. var wire uint64
  5951. for shift := uint(0); ; shift += 7 {
  5952. if shift >= 64 {
  5953. return ErrIntOverflowGenerated
  5954. }
  5955. if iNdEx >= l {
  5956. return io.ErrUnexpectedEOF
  5957. }
  5958. b := dAtA[iNdEx]
  5959. iNdEx++
  5960. wire |= (uint64(b) & 0x7F) << shift
  5961. if b < 0x80 {
  5962. break
  5963. }
  5964. }
  5965. fieldNum := int32(wire >> 3)
  5966. if fieldNum == 1 {
  5967. var stringLenmapkey uint64
  5968. for shift := uint(0); ; shift += 7 {
  5969. if shift >= 64 {
  5970. return ErrIntOverflowGenerated
  5971. }
  5972. if iNdEx >= l {
  5973. return io.ErrUnexpectedEOF
  5974. }
  5975. b := dAtA[iNdEx]
  5976. iNdEx++
  5977. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  5978. if b < 0x80 {
  5979. break
  5980. }
  5981. }
  5982. intStringLenmapkey := int(stringLenmapkey)
  5983. if intStringLenmapkey < 0 {
  5984. return ErrInvalidLengthGenerated
  5985. }
  5986. postStringIndexmapkey := iNdEx + intStringLenmapkey
  5987. if postStringIndexmapkey > l {
  5988. return io.ErrUnexpectedEOF
  5989. }
  5990. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  5991. iNdEx = postStringIndexmapkey
  5992. } else if fieldNum == 2 {
  5993. var stringLenmapvalue uint64
  5994. for shift := uint(0); ; shift += 7 {
  5995. if shift >= 64 {
  5996. return ErrIntOverflowGenerated
  5997. }
  5998. if iNdEx >= l {
  5999. return io.ErrUnexpectedEOF
  6000. }
  6001. b := dAtA[iNdEx]
  6002. iNdEx++
  6003. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  6004. if b < 0x80 {
  6005. break
  6006. }
  6007. }
  6008. intStringLenmapvalue := int(stringLenmapvalue)
  6009. if intStringLenmapvalue < 0 {
  6010. return ErrInvalidLengthGenerated
  6011. }
  6012. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  6013. if postStringIndexmapvalue > l {
  6014. return io.ErrUnexpectedEOF
  6015. }
  6016. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  6017. iNdEx = postStringIndexmapvalue
  6018. } else {
  6019. iNdEx = entryPreIndex
  6020. skippy, err := skipGenerated(dAtA[iNdEx:])
  6021. if err != nil {
  6022. return err
  6023. }
  6024. if skippy < 0 {
  6025. return ErrInvalidLengthGenerated
  6026. }
  6027. if (iNdEx + skippy) > postIndex {
  6028. return io.ErrUnexpectedEOF
  6029. }
  6030. iNdEx += skippy
  6031. }
  6032. }
  6033. m.Labels[mapkey] = mapvalue
  6034. iNdEx = postIndex
  6035. case 12:
  6036. if wireType != 2 {
  6037. return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
  6038. }
  6039. var msglen int
  6040. for shift := uint(0); ; shift += 7 {
  6041. if shift >= 64 {
  6042. return ErrIntOverflowGenerated
  6043. }
  6044. if iNdEx >= l {
  6045. return io.ErrUnexpectedEOF
  6046. }
  6047. b := dAtA[iNdEx]
  6048. iNdEx++
  6049. msglen |= (int(b) & 0x7F) << shift
  6050. if b < 0x80 {
  6051. break
  6052. }
  6053. }
  6054. if msglen < 0 {
  6055. return ErrInvalidLengthGenerated
  6056. }
  6057. postIndex := iNdEx + msglen
  6058. if postIndex > l {
  6059. return io.ErrUnexpectedEOF
  6060. }
  6061. if m.Annotations == nil {
  6062. m.Annotations = make(map[string]string)
  6063. }
  6064. var mapkey string
  6065. var mapvalue string
  6066. for iNdEx < postIndex {
  6067. entryPreIndex := iNdEx
  6068. var wire uint64
  6069. for shift := uint(0); ; shift += 7 {
  6070. if shift >= 64 {
  6071. return ErrIntOverflowGenerated
  6072. }
  6073. if iNdEx >= l {
  6074. return io.ErrUnexpectedEOF
  6075. }
  6076. b := dAtA[iNdEx]
  6077. iNdEx++
  6078. wire |= (uint64(b) & 0x7F) << shift
  6079. if b < 0x80 {
  6080. break
  6081. }
  6082. }
  6083. fieldNum := int32(wire >> 3)
  6084. if fieldNum == 1 {
  6085. var stringLenmapkey uint64
  6086. for shift := uint(0); ; shift += 7 {
  6087. if shift >= 64 {
  6088. return ErrIntOverflowGenerated
  6089. }
  6090. if iNdEx >= l {
  6091. return io.ErrUnexpectedEOF
  6092. }
  6093. b := dAtA[iNdEx]
  6094. iNdEx++
  6095. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  6096. if b < 0x80 {
  6097. break
  6098. }
  6099. }
  6100. intStringLenmapkey := int(stringLenmapkey)
  6101. if intStringLenmapkey < 0 {
  6102. return ErrInvalidLengthGenerated
  6103. }
  6104. postStringIndexmapkey := iNdEx + intStringLenmapkey
  6105. if postStringIndexmapkey > l {
  6106. return io.ErrUnexpectedEOF
  6107. }
  6108. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  6109. iNdEx = postStringIndexmapkey
  6110. } else if fieldNum == 2 {
  6111. var stringLenmapvalue uint64
  6112. for shift := uint(0); ; shift += 7 {
  6113. if shift >= 64 {
  6114. return ErrIntOverflowGenerated
  6115. }
  6116. if iNdEx >= l {
  6117. return io.ErrUnexpectedEOF
  6118. }
  6119. b := dAtA[iNdEx]
  6120. iNdEx++
  6121. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  6122. if b < 0x80 {
  6123. break
  6124. }
  6125. }
  6126. intStringLenmapvalue := int(stringLenmapvalue)
  6127. if intStringLenmapvalue < 0 {
  6128. return ErrInvalidLengthGenerated
  6129. }
  6130. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  6131. if postStringIndexmapvalue > l {
  6132. return io.ErrUnexpectedEOF
  6133. }
  6134. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  6135. iNdEx = postStringIndexmapvalue
  6136. } else {
  6137. iNdEx = entryPreIndex
  6138. skippy, err := skipGenerated(dAtA[iNdEx:])
  6139. if err != nil {
  6140. return err
  6141. }
  6142. if skippy < 0 {
  6143. return ErrInvalidLengthGenerated
  6144. }
  6145. if (iNdEx + skippy) > postIndex {
  6146. return io.ErrUnexpectedEOF
  6147. }
  6148. iNdEx += skippy
  6149. }
  6150. }
  6151. m.Annotations[mapkey] = mapvalue
  6152. iNdEx = postIndex
  6153. case 13:
  6154. if wireType != 2 {
  6155. return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType)
  6156. }
  6157. var msglen int
  6158. for shift := uint(0); ; shift += 7 {
  6159. if shift >= 64 {
  6160. return ErrIntOverflowGenerated
  6161. }
  6162. if iNdEx >= l {
  6163. return io.ErrUnexpectedEOF
  6164. }
  6165. b := dAtA[iNdEx]
  6166. iNdEx++
  6167. msglen |= (int(b) & 0x7F) << shift
  6168. if b < 0x80 {
  6169. break
  6170. }
  6171. }
  6172. if msglen < 0 {
  6173. return ErrInvalidLengthGenerated
  6174. }
  6175. postIndex := iNdEx + msglen
  6176. if postIndex > l {
  6177. return io.ErrUnexpectedEOF
  6178. }
  6179. m.OwnerReferences = append(m.OwnerReferences, OwnerReference{})
  6180. if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6181. return err
  6182. }
  6183. iNdEx = postIndex
  6184. case 14:
  6185. if wireType != 2 {
  6186. return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
  6187. }
  6188. var stringLen uint64
  6189. for shift := uint(0); ; shift += 7 {
  6190. if shift >= 64 {
  6191. return ErrIntOverflowGenerated
  6192. }
  6193. if iNdEx >= l {
  6194. return io.ErrUnexpectedEOF
  6195. }
  6196. b := dAtA[iNdEx]
  6197. iNdEx++
  6198. stringLen |= (uint64(b) & 0x7F) << shift
  6199. if b < 0x80 {
  6200. break
  6201. }
  6202. }
  6203. intStringLen := int(stringLen)
  6204. if intStringLen < 0 {
  6205. return ErrInvalidLengthGenerated
  6206. }
  6207. postIndex := iNdEx + intStringLen
  6208. if postIndex > l {
  6209. return io.ErrUnexpectedEOF
  6210. }
  6211. m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex]))
  6212. iNdEx = postIndex
  6213. case 15:
  6214. if wireType != 2 {
  6215. return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
  6216. }
  6217. var stringLen uint64
  6218. for shift := uint(0); ; shift += 7 {
  6219. if shift >= 64 {
  6220. return ErrIntOverflowGenerated
  6221. }
  6222. if iNdEx >= l {
  6223. return io.ErrUnexpectedEOF
  6224. }
  6225. b := dAtA[iNdEx]
  6226. iNdEx++
  6227. stringLen |= (uint64(b) & 0x7F) << shift
  6228. if b < 0x80 {
  6229. break
  6230. }
  6231. }
  6232. intStringLen := int(stringLen)
  6233. if intStringLen < 0 {
  6234. return ErrInvalidLengthGenerated
  6235. }
  6236. postIndex := iNdEx + intStringLen
  6237. if postIndex > l {
  6238. return io.ErrUnexpectedEOF
  6239. }
  6240. m.ClusterName = string(dAtA[iNdEx:postIndex])
  6241. iNdEx = postIndex
  6242. case 16:
  6243. if wireType != 2 {
  6244. return fmt.Errorf("proto: wrong wireType = %d for field Initializers", wireType)
  6245. }
  6246. var msglen int
  6247. for shift := uint(0); ; shift += 7 {
  6248. if shift >= 64 {
  6249. return ErrIntOverflowGenerated
  6250. }
  6251. if iNdEx >= l {
  6252. return io.ErrUnexpectedEOF
  6253. }
  6254. b := dAtA[iNdEx]
  6255. iNdEx++
  6256. msglen |= (int(b) & 0x7F) << shift
  6257. if b < 0x80 {
  6258. break
  6259. }
  6260. }
  6261. if msglen < 0 {
  6262. return ErrInvalidLengthGenerated
  6263. }
  6264. postIndex := iNdEx + msglen
  6265. if postIndex > l {
  6266. return io.ErrUnexpectedEOF
  6267. }
  6268. if m.Initializers == nil {
  6269. m.Initializers = &Initializers{}
  6270. }
  6271. if err := m.Initializers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6272. return err
  6273. }
  6274. iNdEx = postIndex
  6275. default:
  6276. iNdEx = preIndex
  6277. skippy, err := skipGenerated(dAtA[iNdEx:])
  6278. if err != nil {
  6279. return err
  6280. }
  6281. if skippy < 0 {
  6282. return ErrInvalidLengthGenerated
  6283. }
  6284. if (iNdEx + skippy) > l {
  6285. return io.ErrUnexpectedEOF
  6286. }
  6287. iNdEx += skippy
  6288. }
  6289. }
  6290. if iNdEx > l {
  6291. return io.ErrUnexpectedEOF
  6292. }
  6293. return nil
  6294. }
  6295. func (m *OwnerReference) Unmarshal(dAtA []byte) error {
  6296. l := len(dAtA)
  6297. iNdEx := 0
  6298. for iNdEx < l {
  6299. preIndex := iNdEx
  6300. var wire uint64
  6301. for shift := uint(0); ; shift += 7 {
  6302. if shift >= 64 {
  6303. return ErrIntOverflowGenerated
  6304. }
  6305. if iNdEx >= l {
  6306. return io.ErrUnexpectedEOF
  6307. }
  6308. b := dAtA[iNdEx]
  6309. iNdEx++
  6310. wire |= (uint64(b) & 0x7F) << shift
  6311. if b < 0x80 {
  6312. break
  6313. }
  6314. }
  6315. fieldNum := int32(wire >> 3)
  6316. wireType := int(wire & 0x7)
  6317. if wireType == 4 {
  6318. return fmt.Errorf("proto: OwnerReference: wiretype end group for non-group")
  6319. }
  6320. if fieldNum <= 0 {
  6321. return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire)
  6322. }
  6323. switch fieldNum {
  6324. case 1:
  6325. if wireType != 2 {
  6326. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  6327. }
  6328. var stringLen uint64
  6329. for shift := uint(0); ; shift += 7 {
  6330. if shift >= 64 {
  6331. return ErrIntOverflowGenerated
  6332. }
  6333. if iNdEx >= l {
  6334. return io.ErrUnexpectedEOF
  6335. }
  6336. b := dAtA[iNdEx]
  6337. iNdEx++
  6338. stringLen |= (uint64(b) & 0x7F) << shift
  6339. if b < 0x80 {
  6340. break
  6341. }
  6342. }
  6343. intStringLen := int(stringLen)
  6344. if intStringLen < 0 {
  6345. return ErrInvalidLengthGenerated
  6346. }
  6347. postIndex := iNdEx + intStringLen
  6348. if postIndex > l {
  6349. return io.ErrUnexpectedEOF
  6350. }
  6351. m.Kind = string(dAtA[iNdEx:postIndex])
  6352. iNdEx = postIndex
  6353. case 3:
  6354. if wireType != 2 {
  6355. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6356. }
  6357. var stringLen uint64
  6358. for shift := uint(0); ; shift += 7 {
  6359. if shift >= 64 {
  6360. return ErrIntOverflowGenerated
  6361. }
  6362. if iNdEx >= l {
  6363. return io.ErrUnexpectedEOF
  6364. }
  6365. b := dAtA[iNdEx]
  6366. iNdEx++
  6367. stringLen |= (uint64(b) & 0x7F) << shift
  6368. if b < 0x80 {
  6369. break
  6370. }
  6371. }
  6372. intStringLen := int(stringLen)
  6373. if intStringLen < 0 {
  6374. return ErrInvalidLengthGenerated
  6375. }
  6376. postIndex := iNdEx + intStringLen
  6377. if postIndex > l {
  6378. return io.ErrUnexpectedEOF
  6379. }
  6380. m.Name = string(dAtA[iNdEx:postIndex])
  6381. iNdEx = postIndex
  6382. case 4:
  6383. if wireType != 2 {
  6384. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  6385. }
  6386. var stringLen uint64
  6387. for shift := uint(0); ; shift += 7 {
  6388. if shift >= 64 {
  6389. return ErrIntOverflowGenerated
  6390. }
  6391. if iNdEx >= l {
  6392. return io.ErrUnexpectedEOF
  6393. }
  6394. b := dAtA[iNdEx]
  6395. iNdEx++
  6396. stringLen |= (uint64(b) & 0x7F) << shift
  6397. if b < 0x80 {
  6398. break
  6399. }
  6400. }
  6401. intStringLen := int(stringLen)
  6402. if intStringLen < 0 {
  6403. return ErrInvalidLengthGenerated
  6404. }
  6405. postIndex := iNdEx + intStringLen
  6406. if postIndex > l {
  6407. return io.ErrUnexpectedEOF
  6408. }
  6409. m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  6410. iNdEx = postIndex
  6411. case 5:
  6412. if wireType != 2 {
  6413. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  6414. }
  6415. var stringLen uint64
  6416. for shift := uint(0); ; shift += 7 {
  6417. if shift >= 64 {
  6418. return ErrIntOverflowGenerated
  6419. }
  6420. if iNdEx >= l {
  6421. return io.ErrUnexpectedEOF
  6422. }
  6423. b := dAtA[iNdEx]
  6424. iNdEx++
  6425. stringLen |= (uint64(b) & 0x7F) << shift
  6426. if b < 0x80 {
  6427. break
  6428. }
  6429. }
  6430. intStringLen := int(stringLen)
  6431. if intStringLen < 0 {
  6432. return ErrInvalidLengthGenerated
  6433. }
  6434. postIndex := iNdEx + intStringLen
  6435. if postIndex > l {
  6436. return io.ErrUnexpectedEOF
  6437. }
  6438. m.APIVersion = string(dAtA[iNdEx:postIndex])
  6439. iNdEx = postIndex
  6440. case 6:
  6441. if wireType != 0 {
  6442. return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType)
  6443. }
  6444. var v int
  6445. for shift := uint(0); ; shift += 7 {
  6446. if shift >= 64 {
  6447. return ErrIntOverflowGenerated
  6448. }
  6449. if iNdEx >= l {
  6450. return io.ErrUnexpectedEOF
  6451. }
  6452. b := dAtA[iNdEx]
  6453. iNdEx++
  6454. v |= (int(b) & 0x7F) << shift
  6455. if b < 0x80 {
  6456. break
  6457. }
  6458. }
  6459. b := bool(v != 0)
  6460. m.Controller = &b
  6461. case 7:
  6462. if wireType != 0 {
  6463. return fmt.Errorf("proto: wrong wireType = %d for field BlockOwnerDeletion", wireType)
  6464. }
  6465. var v int
  6466. for shift := uint(0); ; shift += 7 {
  6467. if shift >= 64 {
  6468. return ErrIntOverflowGenerated
  6469. }
  6470. if iNdEx >= l {
  6471. return io.ErrUnexpectedEOF
  6472. }
  6473. b := dAtA[iNdEx]
  6474. iNdEx++
  6475. v |= (int(b) & 0x7F) << shift
  6476. if b < 0x80 {
  6477. break
  6478. }
  6479. }
  6480. b := bool(v != 0)
  6481. m.BlockOwnerDeletion = &b
  6482. default:
  6483. iNdEx = preIndex
  6484. skippy, err := skipGenerated(dAtA[iNdEx:])
  6485. if err != nil {
  6486. return err
  6487. }
  6488. if skippy < 0 {
  6489. return ErrInvalidLengthGenerated
  6490. }
  6491. if (iNdEx + skippy) > l {
  6492. return io.ErrUnexpectedEOF
  6493. }
  6494. iNdEx += skippy
  6495. }
  6496. }
  6497. if iNdEx > l {
  6498. return io.ErrUnexpectedEOF
  6499. }
  6500. return nil
  6501. }
  6502. func (m *Patch) Unmarshal(dAtA []byte) error {
  6503. l := len(dAtA)
  6504. iNdEx := 0
  6505. for iNdEx < l {
  6506. preIndex := iNdEx
  6507. var wire uint64
  6508. for shift := uint(0); ; shift += 7 {
  6509. if shift >= 64 {
  6510. return ErrIntOverflowGenerated
  6511. }
  6512. if iNdEx >= l {
  6513. return io.ErrUnexpectedEOF
  6514. }
  6515. b := dAtA[iNdEx]
  6516. iNdEx++
  6517. wire |= (uint64(b) & 0x7F) << shift
  6518. if b < 0x80 {
  6519. break
  6520. }
  6521. }
  6522. fieldNum := int32(wire >> 3)
  6523. wireType := int(wire & 0x7)
  6524. if wireType == 4 {
  6525. return fmt.Errorf("proto: Patch: wiretype end group for non-group")
  6526. }
  6527. if fieldNum <= 0 {
  6528. return fmt.Errorf("proto: Patch: illegal tag %d (wire type %d)", fieldNum, wire)
  6529. }
  6530. switch fieldNum {
  6531. default:
  6532. iNdEx = preIndex
  6533. skippy, err := skipGenerated(dAtA[iNdEx:])
  6534. if err != nil {
  6535. return err
  6536. }
  6537. if skippy < 0 {
  6538. return ErrInvalidLengthGenerated
  6539. }
  6540. if (iNdEx + skippy) > l {
  6541. return io.ErrUnexpectedEOF
  6542. }
  6543. iNdEx += skippy
  6544. }
  6545. }
  6546. if iNdEx > l {
  6547. return io.ErrUnexpectedEOF
  6548. }
  6549. return nil
  6550. }
  6551. func (m *Preconditions) Unmarshal(dAtA []byte) error {
  6552. l := len(dAtA)
  6553. iNdEx := 0
  6554. for iNdEx < l {
  6555. preIndex := iNdEx
  6556. var wire uint64
  6557. for shift := uint(0); ; shift += 7 {
  6558. if shift >= 64 {
  6559. return ErrIntOverflowGenerated
  6560. }
  6561. if iNdEx >= l {
  6562. return io.ErrUnexpectedEOF
  6563. }
  6564. b := dAtA[iNdEx]
  6565. iNdEx++
  6566. wire |= (uint64(b) & 0x7F) << shift
  6567. if b < 0x80 {
  6568. break
  6569. }
  6570. }
  6571. fieldNum := int32(wire >> 3)
  6572. wireType := int(wire & 0x7)
  6573. if wireType == 4 {
  6574. return fmt.Errorf("proto: Preconditions: wiretype end group for non-group")
  6575. }
  6576. if fieldNum <= 0 {
  6577. return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire)
  6578. }
  6579. switch fieldNum {
  6580. case 1:
  6581. if wireType != 2 {
  6582. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  6583. }
  6584. var stringLen uint64
  6585. for shift := uint(0); ; shift += 7 {
  6586. if shift >= 64 {
  6587. return ErrIntOverflowGenerated
  6588. }
  6589. if iNdEx >= l {
  6590. return io.ErrUnexpectedEOF
  6591. }
  6592. b := dAtA[iNdEx]
  6593. iNdEx++
  6594. stringLen |= (uint64(b) & 0x7F) << shift
  6595. if b < 0x80 {
  6596. break
  6597. }
  6598. }
  6599. intStringLen := int(stringLen)
  6600. if intStringLen < 0 {
  6601. return ErrInvalidLengthGenerated
  6602. }
  6603. postIndex := iNdEx + intStringLen
  6604. if postIndex > l {
  6605. return io.ErrUnexpectedEOF
  6606. }
  6607. s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  6608. m.UID = &s
  6609. iNdEx = postIndex
  6610. default:
  6611. iNdEx = preIndex
  6612. skippy, err := skipGenerated(dAtA[iNdEx:])
  6613. if err != nil {
  6614. return err
  6615. }
  6616. if skippy < 0 {
  6617. return ErrInvalidLengthGenerated
  6618. }
  6619. if (iNdEx + skippy) > l {
  6620. return io.ErrUnexpectedEOF
  6621. }
  6622. iNdEx += skippy
  6623. }
  6624. }
  6625. if iNdEx > l {
  6626. return io.ErrUnexpectedEOF
  6627. }
  6628. return nil
  6629. }
  6630. func (m *RootPaths) Unmarshal(dAtA []byte) error {
  6631. l := len(dAtA)
  6632. iNdEx := 0
  6633. for iNdEx < l {
  6634. preIndex := iNdEx
  6635. var wire uint64
  6636. for shift := uint(0); ; shift += 7 {
  6637. if shift >= 64 {
  6638. return ErrIntOverflowGenerated
  6639. }
  6640. if iNdEx >= l {
  6641. return io.ErrUnexpectedEOF
  6642. }
  6643. b := dAtA[iNdEx]
  6644. iNdEx++
  6645. wire |= (uint64(b) & 0x7F) << shift
  6646. if b < 0x80 {
  6647. break
  6648. }
  6649. }
  6650. fieldNum := int32(wire >> 3)
  6651. wireType := int(wire & 0x7)
  6652. if wireType == 4 {
  6653. return fmt.Errorf("proto: RootPaths: wiretype end group for non-group")
  6654. }
  6655. if fieldNum <= 0 {
  6656. return fmt.Errorf("proto: RootPaths: illegal tag %d (wire type %d)", fieldNum, wire)
  6657. }
  6658. switch fieldNum {
  6659. case 1:
  6660. if wireType != 2 {
  6661. return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
  6662. }
  6663. var stringLen uint64
  6664. for shift := uint(0); ; shift += 7 {
  6665. if shift >= 64 {
  6666. return ErrIntOverflowGenerated
  6667. }
  6668. if iNdEx >= l {
  6669. return io.ErrUnexpectedEOF
  6670. }
  6671. b := dAtA[iNdEx]
  6672. iNdEx++
  6673. stringLen |= (uint64(b) & 0x7F) << shift
  6674. if b < 0x80 {
  6675. break
  6676. }
  6677. }
  6678. intStringLen := int(stringLen)
  6679. if intStringLen < 0 {
  6680. return ErrInvalidLengthGenerated
  6681. }
  6682. postIndex := iNdEx + intStringLen
  6683. if postIndex > l {
  6684. return io.ErrUnexpectedEOF
  6685. }
  6686. m.Paths = append(m.Paths, string(dAtA[iNdEx:postIndex]))
  6687. iNdEx = postIndex
  6688. default:
  6689. iNdEx = preIndex
  6690. skippy, err := skipGenerated(dAtA[iNdEx:])
  6691. if err != nil {
  6692. return err
  6693. }
  6694. if skippy < 0 {
  6695. return ErrInvalidLengthGenerated
  6696. }
  6697. if (iNdEx + skippy) > l {
  6698. return io.ErrUnexpectedEOF
  6699. }
  6700. iNdEx += skippy
  6701. }
  6702. }
  6703. if iNdEx > l {
  6704. return io.ErrUnexpectedEOF
  6705. }
  6706. return nil
  6707. }
  6708. func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error {
  6709. l := len(dAtA)
  6710. iNdEx := 0
  6711. for iNdEx < l {
  6712. preIndex := iNdEx
  6713. var wire uint64
  6714. for shift := uint(0); ; shift += 7 {
  6715. if shift >= 64 {
  6716. return ErrIntOverflowGenerated
  6717. }
  6718. if iNdEx >= l {
  6719. return io.ErrUnexpectedEOF
  6720. }
  6721. b := dAtA[iNdEx]
  6722. iNdEx++
  6723. wire |= (uint64(b) & 0x7F) << shift
  6724. if b < 0x80 {
  6725. break
  6726. }
  6727. }
  6728. fieldNum := int32(wire >> 3)
  6729. wireType := int(wire & 0x7)
  6730. if wireType == 4 {
  6731. return fmt.Errorf("proto: ServerAddressByClientCIDR: wiretype end group for non-group")
  6732. }
  6733. if fieldNum <= 0 {
  6734. return fmt.Errorf("proto: ServerAddressByClientCIDR: illegal tag %d (wire type %d)", fieldNum, wire)
  6735. }
  6736. switch fieldNum {
  6737. case 1:
  6738. if wireType != 2 {
  6739. return fmt.Errorf("proto: wrong wireType = %d for field ClientCIDR", wireType)
  6740. }
  6741. var stringLen uint64
  6742. for shift := uint(0); ; shift += 7 {
  6743. if shift >= 64 {
  6744. return ErrIntOverflowGenerated
  6745. }
  6746. if iNdEx >= l {
  6747. return io.ErrUnexpectedEOF
  6748. }
  6749. b := dAtA[iNdEx]
  6750. iNdEx++
  6751. stringLen |= (uint64(b) & 0x7F) << shift
  6752. if b < 0x80 {
  6753. break
  6754. }
  6755. }
  6756. intStringLen := int(stringLen)
  6757. if intStringLen < 0 {
  6758. return ErrInvalidLengthGenerated
  6759. }
  6760. postIndex := iNdEx + intStringLen
  6761. if postIndex > l {
  6762. return io.ErrUnexpectedEOF
  6763. }
  6764. m.ClientCIDR = string(dAtA[iNdEx:postIndex])
  6765. iNdEx = postIndex
  6766. case 2:
  6767. if wireType != 2 {
  6768. return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType)
  6769. }
  6770. var stringLen uint64
  6771. for shift := uint(0); ; shift += 7 {
  6772. if shift >= 64 {
  6773. return ErrIntOverflowGenerated
  6774. }
  6775. if iNdEx >= l {
  6776. return io.ErrUnexpectedEOF
  6777. }
  6778. b := dAtA[iNdEx]
  6779. iNdEx++
  6780. stringLen |= (uint64(b) & 0x7F) << shift
  6781. if b < 0x80 {
  6782. break
  6783. }
  6784. }
  6785. intStringLen := int(stringLen)
  6786. if intStringLen < 0 {
  6787. return ErrInvalidLengthGenerated
  6788. }
  6789. postIndex := iNdEx + intStringLen
  6790. if postIndex > l {
  6791. return io.ErrUnexpectedEOF
  6792. }
  6793. m.ServerAddress = string(dAtA[iNdEx:postIndex])
  6794. iNdEx = postIndex
  6795. default:
  6796. iNdEx = preIndex
  6797. skippy, err := skipGenerated(dAtA[iNdEx:])
  6798. if err != nil {
  6799. return err
  6800. }
  6801. if skippy < 0 {
  6802. return ErrInvalidLengthGenerated
  6803. }
  6804. if (iNdEx + skippy) > l {
  6805. return io.ErrUnexpectedEOF
  6806. }
  6807. iNdEx += skippy
  6808. }
  6809. }
  6810. if iNdEx > l {
  6811. return io.ErrUnexpectedEOF
  6812. }
  6813. return nil
  6814. }
  6815. func (m *Status) Unmarshal(dAtA []byte) error {
  6816. l := len(dAtA)
  6817. iNdEx := 0
  6818. for iNdEx < l {
  6819. preIndex := iNdEx
  6820. var wire uint64
  6821. for shift := uint(0); ; shift += 7 {
  6822. if shift >= 64 {
  6823. return ErrIntOverflowGenerated
  6824. }
  6825. if iNdEx >= l {
  6826. return io.ErrUnexpectedEOF
  6827. }
  6828. b := dAtA[iNdEx]
  6829. iNdEx++
  6830. wire |= (uint64(b) & 0x7F) << shift
  6831. if b < 0x80 {
  6832. break
  6833. }
  6834. }
  6835. fieldNum := int32(wire >> 3)
  6836. wireType := int(wire & 0x7)
  6837. if wireType == 4 {
  6838. return fmt.Errorf("proto: Status: wiretype end group for non-group")
  6839. }
  6840. if fieldNum <= 0 {
  6841. return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire)
  6842. }
  6843. switch fieldNum {
  6844. case 1:
  6845. if wireType != 2 {
  6846. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  6847. }
  6848. var msglen int
  6849. for shift := uint(0); ; shift += 7 {
  6850. if shift >= 64 {
  6851. return ErrIntOverflowGenerated
  6852. }
  6853. if iNdEx >= l {
  6854. return io.ErrUnexpectedEOF
  6855. }
  6856. b := dAtA[iNdEx]
  6857. iNdEx++
  6858. msglen |= (int(b) & 0x7F) << shift
  6859. if b < 0x80 {
  6860. break
  6861. }
  6862. }
  6863. if msglen < 0 {
  6864. return ErrInvalidLengthGenerated
  6865. }
  6866. postIndex := iNdEx + msglen
  6867. if postIndex > l {
  6868. return io.ErrUnexpectedEOF
  6869. }
  6870. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6871. return err
  6872. }
  6873. iNdEx = postIndex
  6874. case 2:
  6875. if wireType != 2 {
  6876. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6877. }
  6878. var stringLen uint64
  6879. for shift := uint(0); ; shift += 7 {
  6880. if shift >= 64 {
  6881. return ErrIntOverflowGenerated
  6882. }
  6883. if iNdEx >= l {
  6884. return io.ErrUnexpectedEOF
  6885. }
  6886. b := dAtA[iNdEx]
  6887. iNdEx++
  6888. stringLen |= (uint64(b) & 0x7F) << shift
  6889. if b < 0x80 {
  6890. break
  6891. }
  6892. }
  6893. intStringLen := int(stringLen)
  6894. if intStringLen < 0 {
  6895. return ErrInvalidLengthGenerated
  6896. }
  6897. postIndex := iNdEx + intStringLen
  6898. if postIndex > l {
  6899. return io.ErrUnexpectedEOF
  6900. }
  6901. m.Status = string(dAtA[iNdEx:postIndex])
  6902. iNdEx = postIndex
  6903. case 3:
  6904. if wireType != 2 {
  6905. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  6906. }
  6907. var stringLen uint64
  6908. for shift := uint(0); ; shift += 7 {
  6909. if shift >= 64 {
  6910. return ErrIntOverflowGenerated
  6911. }
  6912. if iNdEx >= l {
  6913. return io.ErrUnexpectedEOF
  6914. }
  6915. b := dAtA[iNdEx]
  6916. iNdEx++
  6917. stringLen |= (uint64(b) & 0x7F) << shift
  6918. if b < 0x80 {
  6919. break
  6920. }
  6921. }
  6922. intStringLen := int(stringLen)
  6923. if intStringLen < 0 {
  6924. return ErrInvalidLengthGenerated
  6925. }
  6926. postIndex := iNdEx + intStringLen
  6927. if postIndex > l {
  6928. return io.ErrUnexpectedEOF
  6929. }
  6930. m.Message = string(dAtA[iNdEx:postIndex])
  6931. iNdEx = postIndex
  6932. case 4:
  6933. if wireType != 2 {
  6934. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  6935. }
  6936. var stringLen uint64
  6937. for shift := uint(0); ; shift += 7 {
  6938. if shift >= 64 {
  6939. return ErrIntOverflowGenerated
  6940. }
  6941. if iNdEx >= l {
  6942. return io.ErrUnexpectedEOF
  6943. }
  6944. b := dAtA[iNdEx]
  6945. iNdEx++
  6946. stringLen |= (uint64(b) & 0x7F) << shift
  6947. if b < 0x80 {
  6948. break
  6949. }
  6950. }
  6951. intStringLen := int(stringLen)
  6952. if intStringLen < 0 {
  6953. return ErrInvalidLengthGenerated
  6954. }
  6955. postIndex := iNdEx + intStringLen
  6956. if postIndex > l {
  6957. return io.ErrUnexpectedEOF
  6958. }
  6959. m.Reason = StatusReason(dAtA[iNdEx:postIndex])
  6960. iNdEx = postIndex
  6961. case 5:
  6962. if wireType != 2 {
  6963. return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
  6964. }
  6965. var msglen int
  6966. for shift := uint(0); ; shift += 7 {
  6967. if shift >= 64 {
  6968. return ErrIntOverflowGenerated
  6969. }
  6970. if iNdEx >= l {
  6971. return io.ErrUnexpectedEOF
  6972. }
  6973. b := dAtA[iNdEx]
  6974. iNdEx++
  6975. msglen |= (int(b) & 0x7F) << shift
  6976. if b < 0x80 {
  6977. break
  6978. }
  6979. }
  6980. if msglen < 0 {
  6981. return ErrInvalidLengthGenerated
  6982. }
  6983. postIndex := iNdEx + msglen
  6984. if postIndex > l {
  6985. return io.ErrUnexpectedEOF
  6986. }
  6987. if m.Details == nil {
  6988. m.Details = &StatusDetails{}
  6989. }
  6990. if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6991. return err
  6992. }
  6993. iNdEx = postIndex
  6994. case 6:
  6995. if wireType != 0 {
  6996. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  6997. }
  6998. m.Code = 0
  6999. for shift := uint(0); ; shift += 7 {
  7000. if shift >= 64 {
  7001. return ErrIntOverflowGenerated
  7002. }
  7003. if iNdEx >= l {
  7004. return io.ErrUnexpectedEOF
  7005. }
  7006. b := dAtA[iNdEx]
  7007. iNdEx++
  7008. m.Code |= (int32(b) & 0x7F) << shift
  7009. if b < 0x80 {
  7010. break
  7011. }
  7012. }
  7013. default:
  7014. iNdEx = preIndex
  7015. skippy, err := skipGenerated(dAtA[iNdEx:])
  7016. if err != nil {
  7017. return err
  7018. }
  7019. if skippy < 0 {
  7020. return ErrInvalidLengthGenerated
  7021. }
  7022. if (iNdEx + skippy) > l {
  7023. return io.ErrUnexpectedEOF
  7024. }
  7025. iNdEx += skippy
  7026. }
  7027. }
  7028. if iNdEx > l {
  7029. return io.ErrUnexpectedEOF
  7030. }
  7031. return nil
  7032. }
  7033. func (m *StatusCause) Unmarshal(dAtA []byte) error {
  7034. l := len(dAtA)
  7035. iNdEx := 0
  7036. for iNdEx < l {
  7037. preIndex := iNdEx
  7038. var wire uint64
  7039. for shift := uint(0); ; shift += 7 {
  7040. if shift >= 64 {
  7041. return ErrIntOverflowGenerated
  7042. }
  7043. if iNdEx >= l {
  7044. return io.ErrUnexpectedEOF
  7045. }
  7046. b := dAtA[iNdEx]
  7047. iNdEx++
  7048. wire |= (uint64(b) & 0x7F) << shift
  7049. if b < 0x80 {
  7050. break
  7051. }
  7052. }
  7053. fieldNum := int32(wire >> 3)
  7054. wireType := int(wire & 0x7)
  7055. if wireType == 4 {
  7056. return fmt.Errorf("proto: StatusCause: wiretype end group for non-group")
  7057. }
  7058. if fieldNum <= 0 {
  7059. return fmt.Errorf("proto: StatusCause: illegal tag %d (wire type %d)", fieldNum, wire)
  7060. }
  7061. switch fieldNum {
  7062. case 1:
  7063. if wireType != 2 {
  7064. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  7065. }
  7066. var stringLen uint64
  7067. for shift := uint(0); ; shift += 7 {
  7068. if shift >= 64 {
  7069. return ErrIntOverflowGenerated
  7070. }
  7071. if iNdEx >= l {
  7072. return io.ErrUnexpectedEOF
  7073. }
  7074. b := dAtA[iNdEx]
  7075. iNdEx++
  7076. stringLen |= (uint64(b) & 0x7F) << shift
  7077. if b < 0x80 {
  7078. break
  7079. }
  7080. }
  7081. intStringLen := int(stringLen)
  7082. if intStringLen < 0 {
  7083. return ErrInvalidLengthGenerated
  7084. }
  7085. postIndex := iNdEx + intStringLen
  7086. if postIndex > l {
  7087. return io.ErrUnexpectedEOF
  7088. }
  7089. m.Type = CauseType(dAtA[iNdEx:postIndex])
  7090. iNdEx = postIndex
  7091. case 2:
  7092. if wireType != 2 {
  7093. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  7094. }
  7095. var stringLen uint64
  7096. for shift := uint(0); ; shift += 7 {
  7097. if shift >= 64 {
  7098. return ErrIntOverflowGenerated
  7099. }
  7100. if iNdEx >= l {
  7101. return io.ErrUnexpectedEOF
  7102. }
  7103. b := dAtA[iNdEx]
  7104. iNdEx++
  7105. stringLen |= (uint64(b) & 0x7F) << shift
  7106. if b < 0x80 {
  7107. break
  7108. }
  7109. }
  7110. intStringLen := int(stringLen)
  7111. if intStringLen < 0 {
  7112. return ErrInvalidLengthGenerated
  7113. }
  7114. postIndex := iNdEx + intStringLen
  7115. if postIndex > l {
  7116. return io.ErrUnexpectedEOF
  7117. }
  7118. m.Message = string(dAtA[iNdEx:postIndex])
  7119. iNdEx = postIndex
  7120. case 3:
  7121. if wireType != 2 {
  7122. return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType)
  7123. }
  7124. var stringLen uint64
  7125. for shift := uint(0); ; shift += 7 {
  7126. if shift >= 64 {
  7127. return ErrIntOverflowGenerated
  7128. }
  7129. if iNdEx >= l {
  7130. return io.ErrUnexpectedEOF
  7131. }
  7132. b := dAtA[iNdEx]
  7133. iNdEx++
  7134. stringLen |= (uint64(b) & 0x7F) << shift
  7135. if b < 0x80 {
  7136. break
  7137. }
  7138. }
  7139. intStringLen := int(stringLen)
  7140. if intStringLen < 0 {
  7141. return ErrInvalidLengthGenerated
  7142. }
  7143. postIndex := iNdEx + intStringLen
  7144. if postIndex > l {
  7145. return io.ErrUnexpectedEOF
  7146. }
  7147. m.Field = string(dAtA[iNdEx:postIndex])
  7148. iNdEx = postIndex
  7149. default:
  7150. iNdEx = preIndex
  7151. skippy, err := skipGenerated(dAtA[iNdEx:])
  7152. if err != nil {
  7153. return err
  7154. }
  7155. if skippy < 0 {
  7156. return ErrInvalidLengthGenerated
  7157. }
  7158. if (iNdEx + skippy) > l {
  7159. return io.ErrUnexpectedEOF
  7160. }
  7161. iNdEx += skippy
  7162. }
  7163. }
  7164. if iNdEx > l {
  7165. return io.ErrUnexpectedEOF
  7166. }
  7167. return nil
  7168. }
  7169. func (m *StatusDetails) Unmarshal(dAtA []byte) error {
  7170. l := len(dAtA)
  7171. iNdEx := 0
  7172. for iNdEx < l {
  7173. preIndex := iNdEx
  7174. var wire uint64
  7175. for shift := uint(0); ; shift += 7 {
  7176. if shift >= 64 {
  7177. return ErrIntOverflowGenerated
  7178. }
  7179. if iNdEx >= l {
  7180. return io.ErrUnexpectedEOF
  7181. }
  7182. b := dAtA[iNdEx]
  7183. iNdEx++
  7184. wire |= (uint64(b) & 0x7F) << shift
  7185. if b < 0x80 {
  7186. break
  7187. }
  7188. }
  7189. fieldNum := int32(wire >> 3)
  7190. wireType := int(wire & 0x7)
  7191. if wireType == 4 {
  7192. return fmt.Errorf("proto: StatusDetails: wiretype end group for non-group")
  7193. }
  7194. if fieldNum <= 0 {
  7195. return fmt.Errorf("proto: StatusDetails: illegal tag %d (wire type %d)", fieldNum, wire)
  7196. }
  7197. switch fieldNum {
  7198. case 1:
  7199. if wireType != 2 {
  7200. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  7201. }
  7202. var stringLen uint64
  7203. for shift := uint(0); ; shift += 7 {
  7204. if shift >= 64 {
  7205. return ErrIntOverflowGenerated
  7206. }
  7207. if iNdEx >= l {
  7208. return io.ErrUnexpectedEOF
  7209. }
  7210. b := dAtA[iNdEx]
  7211. iNdEx++
  7212. stringLen |= (uint64(b) & 0x7F) << shift
  7213. if b < 0x80 {
  7214. break
  7215. }
  7216. }
  7217. intStringLen := int(stringLen)
  7218. if intStringLen < 0 {
  7219. return ErrInvalidLengthGenerated
  7220. }
  7221. postIndex := iNdEx + intStringLen
  7222. if postIndex > l {
  7223. return io.ErrUnexpectedEOF
  7224. }
  7225. m.Name = string(dAtA[iNdEx:postIndex])
  7226. iNdEx = postIndex
  7227. case 2:
  7228. if wireType != 2 {
  7229. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  7230. }
  7231. var stringLen uint64
  7232. for shift := uint(0); ; shift += 7 {
  7233. if shift >= 64 {
  7234. return ErrIntOverflowGenerated
  7235. }
  7236. if iNdEx >= l {
  7237. return io.ErrUnexpectedEOF
  7238. }
  7239. b := dAtA[iNdEx]
  7240. iNdEx++
  7241. stringLen |= (uint64(b) & 0x7F) << shift
  7242. if b < 0x80 {
  7243. break
  7244. }
  7245. }
  7246. intStringLen := int(stringLen)
  7247. if intStringLen < 0 {
  7248. return ErrInvalidLengthGenerated
  7249. }
  7250. postIndex := iNdEx + intStringLen
  7251. if postIndex > l {
  7252. return io.ErrUnexpectedEOF
  7253. }
  7254. m.Group = string(dAtA[iNdEx:postIndex])
  7255. iNdEx = postIndex
  7256. case 3:
  7257. if wireType != 2 {
  7258. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  7259. }
  7260. var stringLen uint64
  7261. for shift := uint(0); ; shift += 7 {
  7262. if shift >= 64 {
  7263. return ErrIntOverflowGenerated
  7264. }
  7265. if iNdEx >= l {
  7266. return io.ErrUnexpectedEOF
  7267. }
  7268. b := dAtA[iNdEx]
  7269. iNdEx++
  7270. stringLen |= (uint64(b) & 0x7F) << shift
  7271. if b < 0x80 {
  7272. break
  7273. }
  7274. }
  7275. intStringLen := int(stringLen)
  7276. if intStringLen < 0 {
  7277. return ErrInvalidLengthGenerated
  7278. }
  7279. postIndex := iNdEx + intStringLen
  7280. if postIndex > l {
  7281. return io.ErrUnexpectedEOF
  7282. }
  7283. m.Kind = string(dAtA[iNdEx:postIndex])
  7284. iNdEx = postIndex
  7285. case 4:
  7286. if wireType != 2 {
  7287. return fmt.Errorf("proto: wrong wireType = %d for field Causes", wireType)
  7288. }
  7289. var msglen int
  7290. for shift := uint(0); ; shift += 7 {
  7291. if shift >= 64 {
  7292. return ErrIntOverflowGenerated
  7293. }
  7294. if iNdEx >= l {
  7295. return io.ErrUnexpectedEOF
  7296. }
  7297. b := dAtA[iNdEx]
  7298. iNdEx++
  7299. msglen |= (int(b) & 0x7F) << shift
  7300. if b < 0x80 {
  7301. break
  7302. }
  7303. }
  7304. if msglen < 0 {
  7305. return ErrInvalidLengthGenerated
  7306. }
  7307. postIndex := iNdEx + msglen
  7308. if postIndex > l {
  7309. return io.ErrUnexpectedEOF
  7310. }
  7311. m.Causes = append(m.Causes, StatusCause{})
  7312. if err := m.Causes[len(m.Causes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7313. return err
  7314. }
  7315. iNdEx = postIndex
  7316. case 5:
  7317. if wireType != 0 {
  7318. return fmt.Errorf("proto: wrong wireType = %d for field RetryAfterSeconds", wireType)
  7319. }
  7320. m.RetryAfterSeconds = 0
  7321. for shift := uint(0); ; shift += 7 {
  7322. if shift >= 64 {
  7323. return ErrIntOverflowGenerated
  7324. }
  7325. if iNdEx >= l {
  7326. return io.ErrUnexpectedEOF
  7327. }
  7328. b := dAtA[iNdEx]
  7329. iNdEx++
  7330. m.RetryAfterSeconds |= (int32(b) & 0x7F) << shift
  7331. if b < 0x80 {
  7332. break
  7333. }
  7334. }
  7335. case 6:
  7336. if wireType != 2 {
  7337. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  7338. }
  7339. var stringLen uint64
  7340. for shift := uint(0); ; shift += 7 {
  7341. if shift >= 64 {
  7342. return ErrIntOverflowGenerated
  7343. }
  7344. if iNdEx >= l {
  7345. return io.ErrUnexpectedEOF
  7346. }
  7347. b := dAtA[iNdEx]
  7348. iNdEx++
  7349. stringLen |= (uint64(b) & 0x7F) << shift
  7350. if b < 0x80 {
  7351. break
  7352. }
  7353. }
  7354. intStringLen := int(stringLen)
  7355. if intStringLen < 0 {
  7356. return ErrInvalidLengthGenerated
  7357. }
  7358. postIndex := iNdEx + intStringLen
  7359. if postIndex > l {
  7360. return io.ErrUnexpectedEOF
  7361. }
  7362. m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
  7363. iNdEx = postIndex
  7364. default:
  7365. iNdEx = preIndex
  7366. skippy, err := skipGenerated(dAtA[iNdEx:])
  7367. if err != nil {
  7368. return err
  7369. }
  7370. if skippy < 0 {
  7371. return ErrInvalidLengthGenerated
  7372. }
  7373. if (iNdEx + skippy) > l {
  7374. return io.ErrUnexpectedEOF
  7375. }
  7376. iNdEx += skippy
  7377. }
  7378. }
  7379. if iNdEx > l {
  7380. return io.ErrUnexpectedEOF
  7381. }
  7382. return nil
  7383. }
  7384. func (m *Timestamp) Unmarshal(dAtA []byte) error {
  7385. l := len(dAtA)
  7386. iNdEx := 0
  7387. for iNdEx < l {
  7388. preIndex := iNdEx
  7389. var wire uint64
  7390. for shift := uint(0); ; shift += 7 {
  7391. if shift >= 64 {
  7392. return ErrIntOverflowGenerated
  7393. }
  7394. if iNdEx >= l {
  7395. return io.ErrUnexpectedEOF
  7396. }
  7397. b := dAtA[iNdEx]
  7398. iNdEx++
  7399. wire |= (uint64(b) & 0x7F) << shift
  7400. if b < 0x80 {
  7401. break
  7402. }
  7403. }
  7404. fieldNum := int32(wire >> 3)
  7405. wireType := int(wire & 0x7)
  7406. if wireType == 4 {
  7407. return fmt.Errorf("proto: Timestamp: wiretype end group for non-group")
  7408. }
  7409. if fieldNum <= 0 {
  7410. return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire)
  7411. }
  7412. switch fieldNum {
  7413. case 1:
  7414. if wireType != 0 {
  7415. return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType)
  7416. }
  7417. m.Seconds = 0
  7418. for shift := uint(0); ; shift += 7 {
  7419. if shift >= 64 {
  7420. return ErrIntOverflowGenerated
  7421. }
  7422. if iNdEx >= l {
  7423. return io.ErrUnexpectedEOF
  7424. }
  7425. b := dAtA[iNdEx]
  7426. iNdEx++
  7427. m.Seconds |= (int64(b) & 0x7F) << shift
  7428. if b < 0x80 {
  7429. break
  7430. }
  7431. }
  7432. case 2:
  7433. if wireType != 0 {
  7434. return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType)
  7435. }
  7436. m.Nanos = 0
  7437. for shift := uint(0); ; shift += 7 {
  7438. if shift >= 64 {
  7439. return ErrIntOverflowGenerated
  7440. }
  7441. if iNdEx >= l {
  7442. return io.ErrUnexpectedEOF
  7443. }
  7444. b := dAtA[iNdEx]
  7445. iNdEx++
  7446. m.Nanos |= (int32(b) & 0x7F) << shift
  7447. if b < 0x80 {
  7448. break
  7449. }
  7450. }
  7451. default:
  7452. iNdEx = preIndex
  7453. skippy, err := skipGenerated(dAtA[iNdEx:])
  7454. if err != nil {
  7455. return err
  7456. }
  7457. if skippy < 0 {
  7458. return ErrInvalidLengthGenerated
  7459. }
  7460. if (iNdEx + skippy) > l {
  7461. return io.ErrUnexpectedEOF
  7462. }
  7463. iNdEx += skippy
  7464. }
  7465. }
  7466. if iNdEx > l {
  7467. return io.ErrUnexpectedEOF
  7468. }
  7469. return nil
  7470. }
  7471. func (m *TypeMeta) Unmarshal(dAtA []byte) error {
  7472. l := len(dAtA)
  7473. iNdEx := 0
  7474. for iNdEx < l {
  7475. preIndex := iNdEx
  7476. var wire uint64
  7477. for shift := uint(0); ; shift += 7 {
  7478. if shift >= 64 {
  7479. return ErrIntOverflowGenerated
  7480. }
  7481. if iNdEx >= l {
  7482. return io.ErrUnexpectedEOF
  7483. }
  7484. b := dAtA[iNdEx]
  7485. iNdEx++
  7486. wire |= (uint64(b) & 0x7F) << shift
  7487. if b < 0x80 {
  7488. break
  7489. }
  7490. }
  7491. fieldNum := int32(wire >> 3)
  7492. wireType := int(wire & 0x7)
  7493. if wireType == 4 {
  7494. return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group")
  7495. }
  7496. if fieldNum <= 0 {
  7497. return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  7498. }
  7499. switch fieldNum {
  7500. case 1:
  7501. if wireType != 2 {
  7502. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  7503. }
  7504. var stringLen uint64
  7505. for shift := uint(0); ; shift += 7 {
  7506. if shift >= 64 {
  7507. return ErrIntOverflowGenerated
  7508. }
  7509. if iNdEx >= l {
  7510. return io.ErrUnexpectedEOF
  7511. }
  7512. b := dAtA[iNdEx]
  7513. iNdEx++
  7514. stringLen |= (uint64(b) & 0x7F) << shift
  7515. if b < 0x80 {
  7516. break
  7517. }
  7518. }
  7519. intStringLen := int(stringLen)
  7520. if intStringLen < 0 {
  7521. return ErrInvalidLengthGenerated
  7522. }
  7523. postIndex := iNdEx + intStringLen
  7524. if postIndex > l {
  7525. return io.ErrUnexpectedEOF
  7526. }
  7527. m.Kind = string(dAtA[iNdEx:postIndex])
  7528. iNdEx = postIndex
  7529. case 2:
  7530. if wireType != 2 {
  7531. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  7532. }
  7533. var stringLen uint64
  7534. for shift := uint(0); ; shift += 7 {
  7535. if shift >= 64 {
  7536. return ErrIntOverflowGenerated
  7537. }
  7538. if iNdEx >= l {
  7539. return io.ErrUnexpectedEOF
  7540. }
  7541. b := dAtA[iNdEx]
  7542. iNdEx++
  7543. stringLen |= (uint64(b) & 0x7F) << shift
  7544. if b < 0x80 {
  7545. break
  7546. }
  7547. }
  7548. intStringLen := int(stringLen)
  7549. if intStringLen < 0 {
  7550. return ErrInvalidLengthGenerated
  7551. }
  7552. postIndex := iNdEx + intStringLen
  7553. if postIndex > l {
  7554. return io.ErrUnexpectedEOF
  7555. }
  7556. m.APIVersion = string(dAtA[iNdEx:postIndex])
  7557. iNdEx = postIndex
  7558. default:
  7559. iNdEx = preIndex
  7560. skippy, err := skipGenerated(dAtA[iNdEx:])
  7561. if err != nil {
  7562. return err
  7563. }
  7564. if skippy < 0 {
  7565. return ErrInvalidLengthGenerated
  7566. }
  7567. if (iNdEx + skippy) > l {
  7568. return io.ErrUnexpectedEOF
  7569. }
  7570. iNdEx += skippy
  7571. }
  7572. }
  7573. if iNdEx > l {
  7574. return io.ErrUnexpectedEOF
  7575. }
  7576. return nil
  7577. }
  7578. func (m *UpdateOptions) Unmarshal(dAtA []byte) error {
  7579. l := len(dAtA)
  7580. iNdEx := 0
  7581. for iNdEx < l {
  7582. preIndex := iNdEx
  7583. var wire uint64
  7584. for shift := uint(0); ; shift += 7 {
  7585. if shift >= 64 {
  7586. return ErrIntOverflowGenerated
  7587. }
  7588. if iNdEx >= l {
  7589. return io.ErrUnexpectedEOF
  7590. }
  7591. b := dAtA[iNdEx]
  7592. iNdEx++
  7593. wire |= (uint64(b) & 0x7F) << shift
  7594. if b < 0x80 {
  7595. break
  7596. }
  7597. }
  7598. fieldNum := int32(wire >> 3)
  7599. wireType := int(wire & 0x7)
  7600. if wireType == 4 {
  7601. return fmt.Errorf("proto: UpdateOptions: wiretype end group for non-group")
  7602. }
  7603. if fieldNum <= 0 {
  7604. return fmt.Errorf("proto: UpdateOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  7605. }
  7606. switch fieldNum {
  7607. case 1:
  7608. if wireType != 2 {
  7609. return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType)
  7610. }
  7611. var stringLen uint64
  7612. for shift := uint(0); ; shift += 7 {
  7613. if shift >= 64 {
  7614. return ErrIntOverflowGenerated
  7615. }
  7616. if iNdEx >= l {
  7617. return io.ErrUnexpectedEOF
  7618. }
  7619. b := dAtA[iNdEx]
  7620. iNdEx++
  7621. stringLen |= (uint64(b) & 0x7F) << shift
  7622. if b < 0x80 {
  7623. break
  7624. }
  7625. }
  7626. intStringLen := int(stringLen)
  7627. if intStringLen < 0 {
  7628. return ErrInvalidLengthGenerated
  7629. }
  7630. postIndex := iNdEx + intStringLen
  7631. if postIndex > l {
  7632. return io.ErrUnexpectedEOF
  7633. }
  7634. m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex]))
  7635. iNdEx = postIndex
  7636. default:
  7637. iNdEx = preIndex
  7638. skippy, err := skipGenerated(dAtA[iNdEx:])
  7639. if err != nil {
  7640. return err
  7641. }
  7642. if skippy < 0 {
  7643. return ErrInvalidLengthGenerated
  7644. }
  7645. if (iNdEx + skippy) > l {
  7646. return io.ErrUnexpectedEOF
  7647. }
  7648. iNdEx += skippy
  7649. }
  7650. }
  7651. if iNdEx > l {
  7652. return io.ErrUnexpectedEOF
  7653. }
  7654. return nil
  7655. }
  7656. func (m *Verbs) Unmarshal(dAtA []byte) error {
  7657. l := len(dAtA)
  7658. iNdEx := 0
  7659. for iNdEx < l {
  7660. preIndex := iNdEx
  7661. var wire uint64
  7662. for shift := uint(0); ; shift += 7 {
  7663. if shift >= 64 {
  7664. return ErrIntOverflowGenerated
  7665. }
  7666. if iNdEx >= l {
  7667. return io.ErrUnexpectedEOF
  7668. }
  7669. b := dAtA[iNdEx]
  7670. iNdEx++
  7671. wire |= (uint64(b) & 0x7F) << shift
  7672. if b < 0x80 {
  7673. break
  7674. }
  7675. }
  7676. fieldNum := int32(wire >> 3)
  7677. wireType := int(wire & 0x7)
  7678. if wireType == 4 {
  7679. return fmt.Errorf("proto: Verbs: wiretype end group for non-group")
  7680. }
  7681. if fieldNum <= 0 {
  7682. return fmt.Errorf("proto: Verbs: illegal tag %d (wire type %d)", fieldNum, wire)
  7683. }
  7684. switch fieldNum {
  7685. case 1:
  7686. if wireType != 2 {
  7687. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  7688. }
  7689. var stringLen uint64
  7690. for shift := uint(0); ; shift += 7 {
  7691. if shift >= 64 {
  7692. return ErrIntOverflowGenerated
  7693. }
  7694. if iNdEx >= l {
  7695. return io.ErrUnexpectedEOF
  7696. }
  7697. b := dAtA[iNdEx]
  7698. iNdEx++
  7699. stringLen |= (uint64(b) & 0x7F) << shift
  7700. if b < 0x80 {
  7701. break
  7702. }
  7703. }
  7704. intStringLen := int(stringLen)
  7705. if intStringLen < 0 {
  7706. return ErrInvalidLengthGenerated
  7707. }
  7708. postIndex := iNdEx + intStringLen
  7709. if postIndex > l {
  7710. return io.ErrUnexpectedEOF
  7711. }
  7712. *m = append(*m, string(dAtA[iNdEx:postIndex]))
  7713. iNdEx = postIndex
  7714. default:
  7715. iNdEx = preIndex
  7716. skippy, err := skipGenerated(dAtA[iNdEx:])
  7717. if err != nil {
  7718. return err
  7719. }
  7720. if skippy < 0 {
  7721. return ErrInvalidLengthGenerated
  7722. }
  7723. if (iNdEx + skippy) > l {
  7724. return io.ErrUnexpectedEOF
  7725. }
  7726. iNdEx += skippy
  7727. }
  7728. }
  7729. if iNdEx > l {
  7730. return io.ErrUnexpectedEOF
  7731. }
  7732. return nil
  7733. }
  7734. func (m *WatchEvent) Unmarshal(dAtA []byte) error {
  7735. l := len(dAtA)
  7736. iNdEx := 0
  7737. for iNdEx < l {
  7738. preIndex := iNdEx
  7739. var wire uint64
  7740. for shift := uint(0); ; shift += 7 {
  7741. if shift >= 64 {
  7742. return ErrIntOverflowGenerated
  7743. }
  7744. if iNdEx >= l {
  7745. return io.ErrUnexpectedEOF
  7746. }
  7747. b := dAtA[iNdEx]
  7748. iNdEx++
  7749. wire |= (uint64(b) & 0x7F) << shift
  7750. if b < 0x80 {
  7751. break
  7752. }
  7753. }
  7754. fieldNum := int32(wire >> 3)
  7755. wireType := int(wire & 0x7)
  7756. if wireType == 4 {
  7757. return fmt.Errorf("proto: WatchEvent: wiretype end group for non-group")
  7758. }
  7759. if fieldNum <= 0 {
  7760. return fmt.Errorf("proto: WatchEvent: illegal tag %d (wire type %d)", fieldNum, wire)
  7761. }
  7762. switch fieldNum {
  7763. case 1:
  7764. if wireType != 2 {
  7765. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  7766. }
  7767. var stringLen uint64
  7768. for shift := uint(0); ; shift += 7 {
  7769. if shift >= 64 {
  7770. return ErrIntOverflowGenerated
  7771. }
  7772. if iNdEx >= l {
  7773. return io.ErrUnexpectedEOF
  7774. }
  7775. b := dAtA[iNdEx]
  7776. iNdEx++
  7777. stringLen |= (uint64(b) & 0x7F) << shift
  7778. if b < 0x80 {
  7779. break
  7780. }
  7781. }
  7782. intStringLen := int(stringLen)
  7783. if intStringLen < 0 {
  7784. return ErrInvalidLengthGenerated
  7785. }
  7786. postIndex := iNdEx + intStringLen
  7787. if postIndex > l {
  7788. return io.ErrUnexpectedEOF
  7789. }
  7790. m.Type = string(dAtA[iNdEx:postIndex])
  7791. iNdEx = postIndex
  7792. case 2:
  7793. if wireType != 2 {
  7794. return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
  7795. }
  7796. var msglen int
  7797. for shift := uint(0); ; shift += 7 {
  7798. if shift >= 64 {
  7799. return ErrIntOverflowGenerated
  7800. }
  7801. if iNdEx >= l {
  7802. return io.ErrUnexpectedEOF
  7803. }
  7804. b := dAtA[iNdEx]
  7805. iNdEx++
  7806. msglen |= (int(b) & 0x7F) << shift
  7807. if b < 0x80 {
  7808. break
  7809. }
  7810. }
  7811. if msglen < 0 {
  7812. return ErrInvalidLengthGenerated
  7813. }
  7814. postIndex := iNdEx + msglen
  7815. if postIndex > l {
  7816. return io.ErrUnexpectedEOF
  7817. }
  7818. if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7819. return err
  7820. }
  7821. iNdEx = postIndex
  7822. default:
  7823. iNdEx = preIndex
  7824. skippy, err := skipGenerated(dAtA[iNdEx:])
  7825. if err != nil {
  7826. return err
  7827. }
  7828. if skippy < 0 {
  7829. return ErrInvalidLengthGenerated
  7830. }
  7831. if (iNdEx + skippy) > l {
  7832. return io.ErrUnexpectedEOF
  7833. }
  7834. iNdEx += skippy
  7835. }
  7836. }
  7837. if iNdEx > l {
  7838. return io.ErrUnexpectedEOF
  7839. }
  7840. return nil
  7841. }
  7842. func skipGenerated(dAtA []byte) (n int, err error) {
  7843. l := len(dAtA)
  7844. iNdEx := 0
  7845. for iNdEx < l {
  7846. var wire uint64
  7847. for shift := uint(0); ; shift += 7 {
  7848. if shift >= 64 {
  7849. return 0, ErrIntOverflowGenerated
  7850. }
  7851. if iNdEx >= l {
  7852. return 0, io.ErrUnexpectedEOF
  7853. }
  7854. b := dAtA[iNdEx]
  7855. iNdEx++
  7856. wire |= (uint64(b) & 0x7F) << shift
  7857. if b < 0x80 {
  7858. break
  7859. }
  7860. }
  7861. wireType := int(wire & 0x7)
  7862. switch wireType {
  7863. case 0:
  7864. for shift := uint(0); ; shift += 7 {
  7865. if shift >= 64 {
  7866. return 0, ErrIntOverflowGenerated
  7867. }
  7868. if iNdEx >= l {
  7869. return 0, io.ErrUnexpectedEOF
  7870. }
  7871. iNdEx++
  7872. if dAtA[iNdEx-1] < 0x80 {
  7873. break
  7874. }
  7875. }
  7876. return iNdEx, nil
  7877. case 1:
  7878. iNdEx += 8
  7879. return iNdEx, nil
  7880. case 2:
  7881. var length int
  7882. for shift := uint(0); ; shift += 7 {
  7883. if shift >= 64 {
  7884. return 0, ErrIntOverflowGenerated
  7885. }
  7886. if iNdEx >= l {
  7887. return 0, io.ErrUnexpectedEOF
  7888. }
  7889. b := dAtA[iNdEx]
  7890. iNdEx++
  7891. length |= (int(b) & 0x7F) << shift
  7892. if b < 0x80 {
  7893. break
  7894. }
  7895. }
  7896. iNdEx += length
  7897. if length < 0 {
  7898. return 0, ErrInvalidLengthGenerated
  7899. }
  7900. return iNdEx, nil
  7901. case 3:
  7902. for {
  7903. var innerWire uint64
  7904. var start int = iNdEx
  7905. for shift := uint(0); ; shift += 7 {
  7906. if shift >= 64 {
  7907. return 0, ErrIntOverflowGenerated
  7908. }
  7909. if iNdEx >= l {
  7910. return 0, io.ErrUnexpectedEOF
  7911. }
  7912. b := dAtA[iNdEx]
  7913. iNdEx++
  7914. innerWire |= (uint64(b) & 0x7F) << shift
  7915. if b < 0x80 {
  7916. break
  7917. }
  7918. }
  7919. innerWireType := int(innerWire & 0x7)
  7920. if innerWireType == 4 {
  7921. break
  7922. }
  7923. next, err := skipGenerated(dAtA[start:])
  7924. if err != nil {
  7925. return 0, err
  7926. }
  7927. iNdEx = start + next
  7928. }
  7929. return iNdEx, nil
  7930. case 4:
  7931. return iNdEx, nil
  7932. case 5:
  7933. iNdEx += 4
  7934. return iNdEx, nil
  7935. default:
  7936. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  7937. }
  7938. }
  7939. panic("unreachable")
  7940. }
  7941. var (
  7942. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  7943. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  7944. )
  7945. func init() {
  7946. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptorGenerated)
  7947. }
  7948. var fileDescriptorGenerated = []byte{
  7949. // 2465 bytes of a gzipped FileDescriptorProto
  7950. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4d, 0x6c, 0x23, 0x49,
  7951. 0xf5, 0x4f, 0xdb, 0xb1, 0x63, 0x3f, 0xc7, 0xf9, 0xa8, 0xcd, 0xfe, 0xff, 0xde, 0x08, 0xec, 0x6c,
  7952. 0x2f, 0x5a, 0x65, 0x61, 0xd6, 0x26, 0x59, 0x58, 0x0d, 0x03, 0x2c, 0xc4, 0x71, 0x66, 0x14, 0xed,
  7953. 0x64, 0xc6, 0xaa, 0xec, 0x0c, 0x62, 0x18, 0x21, 0x3a, 0xdd, 0x15, 0xa7, 0x49, 0xbb, 0xdb, 0x5b,
  7954. 0xd5, 0xce, 0x8c, 0xe1, 0xc0, 0x1e, 0x40, 0x70, 0x40, 0x68, 0x8e, 0x9c, 0xd0, 0x8e, 0xe0, 0xc2,
  7955. 0x95, 0x13, 0x17, 0x38, 0x21, 0x31, 0xc7, 0x91, 0xb8, 0xec, 0x01, 0x59, 0x3b, 0xe6, 0xc0, 0x09,
  7956. 0x71, 0xcf, 0x09, 0x55, 0x75, 0x75, 0x75, 0xb7, 0x1d, 0x4f, 0xda, 0x3b, 0xbb, 0x88, 0x53, 0xd2,
  7957. 0xef, 0xe3, 0xf7, 0x5e, 0x55, 0xbd, 0x7a, 0xef, 0xd5, 0x33, 0x1c, 0x9c, 0x5e, 0x65, 0x75, 0xdb,
  7958. 0x6b, 0x9c, 0xf6, 0x8f, 0x08, 0x75, 0x89, 0x4f, 0x58, 0xe3, 0x8c, 0xb8, 0x96, 0x47, 0x1b, 0x92,
  7959. 0x61, 0xf4, 0xec, 0xae, 0x61, 0x9e, 0xd8, 0x2e, 0xa1, 0x83, 0x46, 0xef, 0xb4, 0xc3, 0x09, 0xac,
  7960. 0xd1, 0x25, 0xbe, 0xd1, 0x38, 0xdb, 0x6a, 0x74, 0x88, 0x4b, 0xa8, 0xe1, 0x13, 0xab, 0xde, 0xa3,
  7961. 0x9e, 0xef, 0xa1, 0x2f, 0x04, 0x5a, 0xf5, 0xb8, 0x56, 0xbd, 0x77, 0xda, 0xe1, 0x04, 0x56, 0xe7,
  7962. 0x5a, 0xf5, 0xb3, 0xad, 0xf5, 0x37, 0x3b, 0xb6, 0x7f, 0xd2, 0x3f, 0xaa, 0x9b, 0x5e, 0xb7, 0xd1,
  7963. 0xf1, 0x3a, 0x5e, 0x43, 0x28, 0x1f, 0xf5, 0x8f, 0xc5, 0x97, 0xf8, 0x10, 0xff, 0x05, 0xa0, 0xeb,
  7964. 0x53, 0x5d, 0xa1, 0x7d, 0xd7, 0xb7, 0xbb, 0x64, 0xdc, 0x8b, 0xf5, 0xb7, 0x2f, 0x53, 0x60, 0xe6,
  7965. 0x09, 0xe9, 0x1a, 0xe3, 0x7a, 0xfa, 0x5f, 0xb3, 0x50, 0xd8, 0x69, 0xef, 0xdf, 0xa0, 0x5e, 0xbf,
  7966. 0x87, 0x36, 0x60, 0xde, 0x35, 0xba, 0xa4, 0xa2, 0x6d, 0x68, 0x9b, 0xc5, 0xe6, 0xe2, 0x93, 0x61,
  7967. 0x6d, 0x6e, 0x34, 0xac, 0xcd, 0xdf, 0x32, 0xba, 0x04, 0x0b, 0x0e, 0x72, 0xa0, 0x70, 0x46, 0x28,
  7968. 0xb3, 0x3d, 0x97, 0x55, 0x32, 0x1b, 0xd9, 0xcd, 0xd2, 0xf6, 0x3b, 0xf5, 0x34, 0xeb, 0xaf, 0x0b,
  7969. 0x03, 0x77, 0x03, 0xd5, 0xeb, 0x1e, 0x6d, 0xd9, 0xcc, 0xf4, 0xce, 0x08, 0x1d, 0x34, 0x57, 0xa4,
  7970. 0x95, 0x82, 0x64, 0x32, 0xac, 0x2c, 0xa0, 0x9f, 0x6a, 0xb0, 0xd2, 0xa3, 0xe4, 0x98, 0x50, 0x4a,
  7971. 0x2c, 0xc9, 0xaf, 0x64, 0x37, 0xb4, 0x4f, 0xc1, 0x6c, 0x45, 0x9a, 0x5d, 0x69, 0x8f, 0xe1, 0xe3,
  7972. 0x09, 0x8b, 0xe8, 0xb7, 0x1a, 0xac, 0x33, 0x42, 0xcf, 0x08, 0xdd, 0xb1, 0x2c, 0x4a, 0x18, 0x6b,
  7973. 0x0e, 0x76, 0x1d, 0x9b, 0xb8, 0xfe, 0xee, 0x7e, 0x0b, 0xb3, 0xca, 0xbc, 0xd8, 0x87, 0x6f, 0xa5,
  7974. 0x73, 0xe8, 0x70, 0x1a, 0x4e, 0x53, 0x97, 0x1e, 0xad, 0x4f, 0x15, 0x61, 0xf8, 0x39, 0x6e, 0xe8,
  7975. 0xc7, 0xb0, 0x18, 0x1e, 0xe4, 0x4d, 0x9b, 0xf9, 0xe8, 0x2e, 0xe4, 0x3b, 0xfc, 0x83, 0x55, 0x34,
  7976. 0xe1, 0x60, 0x3d, 0x9d, 0x83, 0x21, 0x46, 0x73, 0x49, 0xfa, 0x93, 0x17, 0x9f, 0x0c, 0x4b, 0x34,
  7977. 0xfd, 0x4f, 0x59, 0x28, 0xed, 0xb4, 0xf7, 0x31, 0x61, 0x5e, 0x9f, 0x9a, 0x24, 0x45, 0xd0, 0x6c,
  7978. 0x03, 0xf0, 0xbf, 0xac, 0x67, 0x98, 0xc4, 0xaa, 0x64, 0x36, 0xb4, 0xcd, 0x42, 0x13, 0x49, 0x39,
  7979. 0xb8, 0xa5, 0x38, 0x38, 0x26, 0xc5, 0x51, 0x4f, 0x6d, 0xd7, 0x12, 0xa7, 0x1d, 0x43, 0x7d, 0xd7,
  7980. 0x76, 0x2d, 0x2c, 0x38, 0xe8, 0x26, 0xe4, 0xce, 0x08, 0x3d, 0xe2, 0xfb, 0xcf, 0x03, 0xe2, 0x4b,
  7981. 0xe9, 0x96, 0x77, 0x97, 0xab, 0x34, 0x8b, 0xa3, 0x61, 0x2d, 0x27, 0xfe, 0xc5, 0x01, 0x08, 0xaa,
  7982. 0x03, 0xb0, 0x13, 0x8f, 0xfa, 0xc2, 0x9d, 0x4a, 0x6e, 0x23, 0xbb, 0x59, 0x6c, 0x2e, 0x71, 0xff,
  7983. 0x0e, 0x15, 0x15, 0xc7, 0x24, 0xd0, 0x55, 0x58, 0x64, 0xb6, 0xdb, 0xe9, 0x3b, 0x06, 0xe5, 0x84,
  7984. 0x4a, 0x5e, 0xf8, 0xb9, 0x26, 0xfd, 0x5c, 0x3c, 0x8c, 0xf1, 0x70, 0x42, 0x92, 0x5b, 0x32, 0x0d,
  7985. 0x9f, 0x74, 0x3c, 0x6a, 0x13, 0x56, 0x59, 0x88, 0x2c, 0xed, 0x2a, 0x2a, 0x8e, 0x49, 0xa0, 0xd7,
  7986. 0x20, 0x27, 0x76, 0xbe, 0x52, 0x10, 0x26, 0xca, 0xd2, 0x44, 0x4e, 0x1c, 0x0b, 0x0e, 0x78, 0xe8,
  7987. 0x0d, 0x58, 0x90, 0xb7, 0xa6, 0x52, 0x14, 0x62, 0xcb, 0x52, 0x6c, 0x21, 0x0c, 0xeb, 0x90, 0xaf,
  7988. 0xff, 0x41, 0x83, 0xe5, 0xd8, 0xf9, 0x89, 0x58, 0xb9, 0x0a, 0x8b, 0x9d, 0xd8, 0x4d, 0x91, 0x67,
  7989. 0xa9, 0x56, 0x13, 0xbf, 0x45, 0x38, 0x21, 0x89, 0x08, 0x14, 0xa9, 0x44, 0x0a, 0x33, 0xc2, 0x56,
  7990. 0xea, 0x40, 0x0b, 0x7d, 0x88, 0x2c, 0xc5, 0x88, 0x0c, 0x47, 0xc8, 0xfa, 0x3f, 0x35, 0x11, 0x74,
  7991. 0x61, 0x8e, 0x40, 0x9b, 0xb1, 0x3c, 0xa4, 0x89, 0x2d, 0x5c, 0x9c, 0x92, 0x43, 0x2e, 0xb9, 0xbc,
  7992. 0x99, 0xff, 0x89, 0xcb, 0x7b, 0xad, 0xf0, 0xeb, 0x0f, 0x6b, 0x73, 0x1f, 0xfc, 0x7d, 0x63, 0x4e,
  7993. 0xff, 0x99, 0x06, 0xe5, 0x5d, 0x4a, 0x0c, 0x9f, 0xdc, 0xee, 0xf9, 0x62, 0x05, 0x3a, 0xe4, 0x2d,
  7994. 0x3a, 0xc0, 0x7d, 0x57, 0xae, 0x14, 0xf8, 0xa5, 0x6c, 0x09, 0x0a, 0x96, 0x1c, 0xd4, 0x86, 0x35,
  7995. 0xdb, 0x35, 0x9d, 0xbe, 0x45, 0xee, 0xb8, 0xb6, 0x6b, 0xfb, 0xb6, 0xe1, 0xd8, 0x3f, 0x52, 0x97,
  7996. 0xed, 0x73, 0xd2, 0xbb, 0xb5, 0xfd, 0x0b, 0x64, 0xf0, 0x85, 0x9a, 0xfa, 0xcf, 0xb3, 0x50, 0x6e,
  7997. 0x11, 0x87, 0x44, 0x7e, 0x5c, 0x07, 0xd4, 0xa1, 0x86, 0x49, 0xda, 0x84, 0xda, 0x9e, 0x75, 0x48,
  7998. 0x4c, 0xcf, 0xb5, 0x98, 0x08, 0x95, 0x6c, 0xf3, 0xff, 0x46, 0xc3, 0x1a, 0xba, 0x31, 0xc1, 0xc5,
  7999. 0x17, 0x68, 0x20, 0x07, 0xca, 0x3d, 0x2a, 0xfe, 0xb7, 0x7d, 0x59, 0x48, 0xf8, 0x05, 0x7e, 0x2b,
  8000. 0xdd, 0x19, 0xb4, 0xe3, 0xaa, 0xcd, 0xd5, 0xd1, 0xb0, 0x56, 0x4e, 0x90, 0x70, 0x12, 0x1c, 0x7d,
  8001. 0x1b, 0x56, 0x3c, 0xda, 0x3b, 0x31, 0xdc, 0x16, 0xe9, 0x11, 0xd7, 0x22, 0xae, 0xcf, 0x44, 0x52,
  8002. 0x29, 0x34, 0xd7, 0x78, 0xfa, 0xbf, 0x3d, 0xc6, 0xc3, 0x13, 0xd2, 0xe8, 0x1e, 0xac, 0xf6, 0xa8,
  8003. 0xd7, 0x33, 0x3a, 0x06, 0x47, 0x6c, 0x7b, 0x8e, 0x6d, 0x0e, 0x44, 0xd2, 0x29, 0x36, 0xaf, 0x8c,
  8004. 0x86, 0xb5, 0xd5, 0xf6, 0x38, 0xf3, 0x7c, 0x58, 0x7b, 0x49, 0x6c, 0x1d, 0xa7, 0x44, 0x4c, 0x3c,
  8005. 0x09, 0x13, 0x3b, 0xdb, 0xdc, 0xb4, 0xb3, 0xd5, 0xf7, 0xa1, 0xd0, 0xea, 0x53, 0xa1, 0x85, 0xbe,
  8006. 0x09, 0x05, 0x4b, 0xfe, 0x2f, 0x77, 0xfe, 0xd5, 0xb0, 0x7e, 0x86, 0x32, 0xe7, 0xc3, 0x5a, 0x99,
  8007. 0x57, 0xfc, 0x7a, 0x48, 0xc0, 0x4a, 0x45, 0xbf, 0x0f, 0xe5, 0xbd, 0x87, 0x3d, 0x8f, 0xfa, 0xe1,
  8008. 0x99, 0xbe, 0x0e, 0x79, 0x22, 0x08, 0x02, 0xad, 0x10, 0x25, 0xfd, 0x40, 0x0c, 0x4b, 0x2e, 0x4f,
  8009. 0x42, 0xe4, 0xa1, 0x61, 0xfa, 0x32, 0xa0, 0x54, 0x12, 0xda, 0xe3, 0x44, 0x1c, 0xf0, 0xf4, 0xc7,
  8010. 0x1a, 0xc0, 0x0d, 0xa2, 0xb0, 0x77, 0x60, 0x39, 0xbc, 0xc0, 0xc9, 0xbc, 0xf2, 0xff, 0x52, 0x7b,
  8011. 0x19, 0x27, 0xd9, 0x78, 0x5c, 0xfe, 0x33, 0x08, 0xeb, 0xfb, 0x50, 0x14, 0xd9, 0x8c, 0x17, 0x92,
  8012. 0x28, 0xb5, 0x6a, 0xcf, 0x49, 0xad, 0x61, 0x25, 0xca, 0x4c, 0xab, 0x44, 0xb1, 0xcb, 0xeb, 0x40,
  8013. 0x39, 0xd0, 0x0d, 0x8b, 0x63, 0x2a, 0x0b, 0x57, 0xa0, 0x10, 0x2e, 0x5c, 0x5a, 0x51, 0x4d, 0x51,
  8014. 0x08, 0x84, 0x95, 0x44, 0xcc, 0xda, 0x09, 0x24, 0x32, 0x73, 0x3a, 0x63, 0xb1, 0x4a, 0x91, 0x79,
  8015. 0x7e, 0xa5, 0x88, 0x59, 0xfa, 0x09, 0x54, 0xa6, 0x75, 0x52, 0x2f, 0x50, 0x3b, 0xd2, 0xbb, 0xa2,
  8016. 0xff, 0x4a, 0x83, 0x95, 0x38, 0x52, 0xfa, 0xe3, 0x4b, 0x6f, 0xe4, 0xf2, 0x9e, 0x23, 0xb6, 0x23,
  8017. 0xbf, 0xd1, 0x60, 0x2d, 0xb1, 0xb4, 0x99, 0x4e, 0x7c, 0x06, 0xa7, 0xe2, 0xc1, 0x91, 0x9d, 0x21,
  8018. 0x38, 0x1a, 0x50, 0xda, 0x57, 0x71, 0x4f, 0x2f, 0xef, 0xd2, 0xf4, 0x3f, 0x6b, 0xb0, 0x18, 0xd3,
  8019. 0x60, 0xe8, 0x3e, 0x2c, 0xf0, 0x1c, 0x68, 0xbb, 0x1d, 0xd9, 0x41, 0xa6, 0x2c, 0xec, 0x31, 0x90,
  8020. 0x68, 0x5d, 0xed, 0x00, 0x09, 0x87, 0x90, 0xa8, 0x0d, 0x79, 0x4a, 0x58, 0xdf, 0xf1, 0x65, 0xfa,
  8021. 0xbf, 0x92, 0xb2, 0x04, 0xfb, 0x86, 0xdf, 0x67, 0x41, 0x9e, 0xc4, 0x42, 0x1f, 0x4b, 0x1c, 0xfd,
  8022. 0x6f, 0x19, 0x28, 0xdf, 0x34, 0x8e, 0x88, 0x73, 0x48, 0x1c, 0x62, 0xfa, 0x1e, 0x45, 0x3f, 0x86,
  8023. 0x52, 0xd7, 0xf0, 0xcd, 0x13, 0x41, 0x0d, 0xfb, 0xe0, 0x56, 0x3a, 0x43, 0x09, 0xa4, 0xfa, 0x41,
  8024. 0x04, 0xb3, 0xe7, 0xfa, 0x74, 0xd0, 0x7c, 0x49, 0x2e, 0xac, 0x14, 0xe3, 0xe0, 0xb8, 0x35, 0xf1,
  8025. 0x78, 0x11, 0xdf, 0x7b, 0x0f, 0x7b, 0xbc, 0xe0, 0xcf, 0xfe, 0x66, 0x4a, 0xb8, 0x80, 0xc9, 0xfb,
  8026. 0x7d, 0x9b, 0x92, 0x2e, 0x71, 0xfd, 0xe8, 0xf1, 0x72, 0x30, 0x86, 0x8f, 0x27, 0x2c, 0xae, 0xbf,
  8027. 0x03, 0x2b, 0xe3, 0xce, 0xa3, 0x15, 0xc8, 0x9e, 0x92, 0x41, 0x10, 0x0b, 0x98, 0xff, 0x8b, 0xd6,
  8028. 0x20, 0x77, 0x66, 0x38, 0x7d, 0x99, 0x7f, 0x70, 0xf0, 0x71, 0x2d, 0x73, 0x55, 0xd3, 0x7f, 0xa7,
  8029. 0x41, 0x65, 0x9a, 0x23, 0xe8, 0xf3, 0x31, 0xa0, 0x66, 0x49, 0x7a, 0x95, 0x7d, 0x97, 0x0c, 0x02,
  8030. 0xd4, 0x3d, 0x28, 0x78, 0x3d, 0xfe, 0xdc, 0xf4, 0xa8, 0x8c, 0xf3, 0x37, 0xc2, 0xd8, 0xbd, 0x2d,
  8031. 0xe9, 0xe7, 0xc3, 0xda, 0xcb, 0x09, 0xf8, 0x90, 0x81, 0x95, 0x2a, 0x2f, 0x92, 0xc2, 0x1f, 0x5e,
  8032. 0xb8, 0x55, 0x91, 0xbc, 0x2b, 0x28, 0x58, 0x72, 0xf4, 0x3f, 0x6a, 0x30, 0x2f, 0x5a, 0xd9, 0xfb,
  8033. 0x50, 0xe0, 0xfb, 0x67, 0x19, 0xbe, 0x21, 0xfc, 0x4a, 0xfd, 0xf0, 0xe1, 0xda, 0x07, 0xc4, 0x37,
  8034. 0xa2, 0xfb, 0x15, 0x52, 0xb0, 0x42, 0x44, 0x18, 0x72, 0xb6, 0x4f, 0xba, 0xe1, 0x41, 0xbe, 0x39,
  8035. 0x15, 0x5a, 0x3e, 0xbb, 0xeb, 0xd8, 0x78, 0xb0, 0xf7, 0xd0, 0x27, 0x2e, 0x3f, 0x8c, 0x28, 0x19,
  8036. 0xec, 0x73, 0x0c, 0x1c, 0x40, 0xe9, 0xbf, 0xd7, 0x40, 0x99, 0xe2, 0xd7, 0x9d, 0x11, 0xe7, 0xf8,
  8037. 0xa6, 0xed, 0x9e, 0xca, 0x6d, 0x55, 0xee, 0x1c, 0x4a, 0x3a, 0x56, 0x12, 0x17, 0x95, 0xd8, 0xcc,
  8038. 0x8c, 0x25, 0xf6, 0x0a, 0x14, 0x4c, 0xcf, 0xf5, 0x6d, 0xb7, 0x3f, 0x91, 0x5f, 0x76, 0x25, 0x1d,
  8039. 0x2b, 0x09, 0xfd, 0x69, 0x16, 0x4a, 0xdc, 0xd7, 0xb0, 0xc6, 0x7f, 0x1d, 0xca, 0x4e, 0xfc, 0xf4,
  8040. 0xa4, 0xcf, 0x2f, 0x4b, 0x88, 0xe4, 0x7d, 0xc4, 0x49, 0x59, 0xae, 0x7c, 0x6c, 0x13, 0xc7, 0x52,
  8041. 0xca, 0x99, 0xa4, 0xf2, 0xf5, 0x38, 0x13, 0x27, 0x65, 0x79, 0x9e, 0x7d, 0xc0, 0xe3, 0x5a, 0x36,
  8042. 0x73, 0x6a, 0x6b, 0xbf, 0xc3, 0x89, 0x38, 0xe0, 0x5d, 0xb4, 0x3f, 0xf3, 0x33, 0xee, 0xcf, 0x35,
  8043. 0x58, 0xe2, 0x07, 0xe9, 0xf5, 0xfd, 0xb0, 0xe3, 0xcd, 0x89, 0xbe, 0x0b, 0x8d, 0x86, 0xb5, 0xa5,
  8044. 0xf7, 0x12, 0x1c, 0x3c, 0x26, 0x39, 0xb5, 0x7d, 0xc9, 0x7f, 0xd2, 0xf6, 0x85, 0xaf, 0xda, 0xb1,
  8045. 0xbb, 0xb6, 0x5f, 0x59, 0x10, 0x4e, 0xa8, 0x55, 0xdf, 0xe4, 0x44, 0x1c, 0xf0, 0x12, 0x47, 0x5a,
  8046. 0xb8, 0xf4, 0x48, 0xdf, 0x87, 0xe2, 0x81, 0x6d, 0x52, 0x8f, 0xaf, 0x85, 0x17, 0x26, 0x96, 0x68,
  8047. 0xec, 0x55, 0x02, 0x0f, 0xd7, 0x18, 0xf2, 0xb9, 0x2b, 0xae, 0xe1, 0x7a, 0x41, 0xfb, 0x9e, 0x8b,
  8048. 0x5c, 0xb9, 0xc5, 0x89, 0x38, 0xe0, 0x5d, 0x5b, 0xe3, 0xf5, 0xe8, 0x17, 0x8f, 0x6b, 0x73, 0x8f,
  8049. 0x1e, 0xd7, 0xe6, 0x3e, 0x7c, 0x2c, 0x6b, 0xd3, 0xbf, 0x00, 0xe0, 0xf6, 0xd1, 0x0f, 0x89, 0x19,
  8050. 0xc4, 0xfc, 0xe5, 0x13, 0x04, 0xde, 0x63, 0xc8, 0xc1, 0x95, 0x78, 0x6d, 0x67, 0xc6, 0x7a, 0x8c,
  8051. 0x18, 0x0f, 0x27, 0x24, 0x51, 0x03, 0x8a, 0x6a, 0xaa, 0x20, 0xe3, 0x7b, 0x55, 0xaa, 0x15, 0xd5,
  8052. 0xe8, 0x01, 0x47, 0x32, 0x89, 0x0b, 0x38, 0x7f, 0xe9, 0x05, 0x6c, 0x42, 0xb6, 0x6f, 0x5b, 0x22,
  8053. 0x24, 0x8a, 0xcd, 0x2f, 0x87, 0x09, 0xf0, 0xce, 0x7e, 0xeb, 0x7c, 0x58, 0x7b, 0x75, 0xda, 0x48,
  8054. 0xce, 0x1f, 0xf4, 0x08, 0xab, 0xdf, 0xd9, 0x6f, 0x61, 0xae, 0x7c, 0x51, 0x90, 0xe6, 0x67, 0x0c,
  8055. 0xd2, 0x6d, 0x00, 0xb9, 0x6a, 0xae, 0x1d, 0xc4, 0x86, 0x9a, 0xb0, 0xdc, 0x50, 0x1c, 0x1c, 0x93,
  8056. 0x42, 0x0c, 0x56, 0x4d, 0xfe, 0xce, 0xb4, 0x3d, 0x97, 0x1f, 0x3d, 0xf3, 0x8d, 0x6e, 0x30, 0x63,
  8057. 0x28, 0x6d, 0x7f, 0x31, 0x5d, 0xc6, 0xe4, 0x6a, 0xcd, 0x57, 0xa4, 0x99, 0xd5, 0xdd, 0x71, 0x30,
  8058. 0x3c, 0x89, 0x8f, 0x3c, 0x58, 0xb5, 0xe4, 0xcb, 0x28, 0x32, 0x5a, 0x9c, 0xd9, 0xe8, 0xcb, 0xdc,
  8059. 0x60, 0x6b, 0x1c, 0x08, 0x4f, 0x62, 0xa3, 0xef, 0xc3, 0x7a, 0x48, 0x9c, 0x7c, 0x9e, 0x56, 0x40,
  8060. 0xec, 0x54, 0x95, 0x3f, 0xdc, 0x5b, 0x53, 0xa5, 0xf0, 0x73, 0x10, 0x90, 0x05, 0x79, 0x27, 0xe8,
  8061. 0x2e, 0x4a, 0xa2, 0x22, 0x7c, 0x23, 0xdd, 0x2a, 0xa2, 0xe8, 0xaf, 0xc7, 0xbb, 0x0a, 0xf5, 0xfc,
  8062. 0x92, 0x0d, 0x85, 0xc4, 0x46, 0x0f, 0xa1, 0x64, 0xb8, 0xae, 0xe7, 0x1b, 0xc1, 0x83, 0x79, 0x51,
  8063. 0x98, 0xda, 0x99, 0xd9, 0xd4, 0x4e, 0x84, 0x31, 0xd6, 0xc5, 0xc4, 0x38, 0x38, 0x6e, 0x0a, 0x3d,
  8064. 0x80, 0x65, 0xef, 0x81, 0x4b, 0x28, 0x26, 0xc7, 0x84, 0x12, 0xd7, 0x24, 0xac, 0x52, 0x16, 0xd6,
  8065. 0xbf, 0x92, 0xd2, 0x7a, 0x42, 0x39, 0x0a, 0xe9, 0x24, 0x9d, 0xe1, 0x71, 0x2b, 0xa8, 0x0e, 0x70,
  8066. 0x6c, 0xbb, 0xb2, 0x17, 0xad, 0x2c, 0x45, 0x63, 0xb2, 0xeb, 0x8a, 0x8a, 0x63, 0x12, 0xe8, 0xab,
  8067. 0x50, 0x32, 0x9d, 0x3e, 0xf3, 0x49, 0x30, 0x8f, 0x5b, 0x16, 0x37, 0x48, 0xad, 0x6f, 0x37, 0x62,
  8068. 0xe1, 0xb8, 0x1c, 0x3a, 0x81, 0x45, 0x3b, 0xd6, 0xf4, 0x56, 0x56, 0x44, 0x2c, 0x6e, 0xcf, 0xdc,
  8069. 0xe9, 0xb2, 0xe6, 0x0a, 0xcf, 0x44, 0x71, 0x0a, 0x4e, 0x20, 0xaf, 0x7f, 0x0d, 0x4a, 0x9f, 0xb0,
  8070. 0x07, 0xe3, 0x3d, 0xdc, 0xf8, 0xd1, 0xcd, 0xd4, 0xc3, 0xfd, 0x25, 0x03, 0x4b, 0xc9, 0x0d, 0x57,
  8071. 0x6f, 0x1d, 0x6d, 0xea, 0x7c, 0x35, 0xcc, 0xca, 0xd9, 0xa9, 0x59, 0x59, 0x26, 0xbf, 0xf9, 0x17,
  8072. 0x49, 0x7e, 0xdb, 0x00, 0x46, 0xcf, 0x0e, 0xf3, 0x5e, 0x90, 0x47, 0x55, 0xe6, 0x8a, 0x26, 0x7e,
  8073. 0x38, 0x26, 0x25, 0x26, 0xa8, 0x9e, 0xeb, 0x53, 0xcf, 0x71, 0x08, 0x95, 0xc5, 0x34, 0x98, 0xa0,
  8074. 0x2a, 0x2a, 0x8e, 0x49, 0xa0, 0xeb, 0x80, 0x8e, 0x1c, 0xcf, 0x3c, 0x15, 0x5b, 0x10, 0xde, 0x73,
  8075. 0x91, 0x25, 0x0b, 0xc1, 0xe0, 0xaa, 0x39, 0xc1, 0xc5, 0x17, 0x68, 0xe8, 0x0b, 0x90, 0x6b, 0xf3,
  8076. 0xb6, 0x42, 0xbf, 0x0d, 0xc9, 0x99, 0x13, 0x7a, 0x27, 0xd8, 0x09, 0x4d, 0x0d, 0x85, 0x66, 0xdb,
  8077. 0x05, 0xfd, 0x0a, 0x14, 0xb1, 0xe7, 0xf9, 0x6d, 0xc3, 0x3f, 0x61, 0xa8, 0x06, 0xb9, 0x1e, 0xff,
  8078. 0x47, 0x8e, 0xfb, 0xc4, 0xac, 0x5a, 0x70, 0x70, 0x40, 0xd7, 0x7f, 0xa9, 0xc1, 0x2b, 0x53, 0xe7,
  8079. 0x8c, 0x7c, 0x47, 0x4d, 0xf5, 0x25, 0x5d, 0x52, 0x3b, 0x1a, 0xc9, 0xe1, 0x98, 0x14, 0xef, 0xc4,
  8080. 0x12, 0xc3, 0xc9, 0xf1, 0x4e, 0x2c, 0x61, 0x0d, 0x27, 0x65, 0xf5, 0x7f, 0x67, 0x20, 0x1f, 0x3c,
  8081. 0xcb, 0x3e, 0xe3, 0xe6, 0xfb, 0x75, 0xc8, 0x33, 0x61, 0x47, 0xba, 0xa7, 0xb2, 0x65, 0x60, 0x1d,
  8082. 0x4b, 0x2e, 0x6f, 0x62, 0xba, 0x84, 0x31, 0xa3, 0x13, 0x06, 0xaf, 0x6a, 0x62, 0x0e, 0x02, 0x32,
  8083. 0x0e, 0xf9, 0xe8, 0x6d, 0xfe, 0x0a, 0x35, 0x98, 0xea, 0x0b, 0xab, 0x21, 0x24, 0x16, 0xd4, 0xf3,
  8084. 0x61, 0x6d, 0x51, 0x82, 0x8b, 0x6f, 0x2c, 0xa5, 0xd1, 0x3d, 0x58, 0xb0, 0x88, 0x6f, 0xd8, 0x4e,
  8085. 0xd0, 0x0e, 0xa6, 0x9e, 0x5e, 0x06, 0x60, 0xad, 0x40, 0xb5, 0x59, 0xe2, 0x3e, 0xc9, 0x0f, 0x1c,
  8086. 0x02, 0xf2, 0x8b, 0x67, 0x7a, 0x56, 0xf0, 0x93, 0x42, 0x2e, 0xba, 0x78, 0xbb, 0x9e, 0x45, 0xb0,
  8087. 0xe0, 0xe8, 0x8f, 0x34, 0x28, 0x05, 0x48, 0xbb, 0x46, 0x9f, 0x11, 0xb4, 0xa5, 0x56, 0x11, 0x1c,
  8088. 0x77, 0x58, 0x93, 0xe7, 0xdf, 0x1b, 0xf4, 0xc8, 0xf9, 0xb0, 0x56, 0x14, 0x62, 0xfc, 0x43, 0x2d,
  8089. 0x20, 0xb6, 0x47, 0x99, 0x4b, 0xf6, 0xe8, 0x35, 0xc8, 0x89, 0xd6, 0x5b, 0x6e, 0xa6, 0x6a, 0xf4,
  8090. 0x44, 0x7b, 0x8e, 0x03, 0x9e, 0xfe, 0x71, 0x06, 0xca, 0x89, 0xc5, 0xa5, 0xe8, 0xea, 0xd4, 0xa8,
  8091. 0x24, 0x93, 0x62, 0xfc, 0x36, 0xfd, 0x87, 0xa0, 0xef, 0x42, 0xde, 0xe4, 0xeb, 0x0b, 0x7f, 0x89,
  8092. 0xdb, 0x9a, 0xe5, 0x28, 0xc4, 0xce, 0x44, 0x91, 0x24, 0x3e, 0x19, 0x96, 0x80, 0xe8, 0x06, 0xac,
  8093. 0x52, 0xe2, 0xd3, 0xc1, 0xce, 0xb1, 0x4f, 0x68, 0xbc, 0xff, 0xcf, 0x45, 0x7d, 0x0f, 0x1e, 0x17,
  8094. 0xc0, 0x93, 0x3a, 0x61, 0xaa, 0xcc, 0xbf, 0x40, 0xaa, 0xd4, 0x1d, 0x98, 0xff, 0x2f, 0xf6, 0xe8,
  8095. 0xdf, 0x83, 0x62, 0xd4, 0x45, 0x7d, 0xca, 0x26, 0xf5, 0x1f, 0x40, 0x81, 0x47, 0x63, 0xd8, 0xfd,
  8096. 0x5f, 0x52, 0x89, 0x92, 0x35, 0x22, 0x93, 0xa6, 0x46, 0xe8, 0x6f, 0x41, 0xf9, 0x4e, 0xcf, 0x9a,
  8097. 0xed, 0x57, 0x14, 0x7d, 0x1b, 0x82, 0x1f, 0x05, 0x79, 0x0a, 0x0e, 0x9e, 0xf9, 0xb1, 0x14, 0x1c,
  8098. 0x7f, 0xb3, 0x27, 0x7f, 0xaf, 0x01, 0xf1, 0xe6, 0xdc, 0x3b, 0x23, 0xae, 0xcf, 0x57, 0xc3, 0x8f,
  8099. 0x6d, 0x7c, 0x35, 0xe2, 0xee, 0x09, 0x0e, 0xba, 0x03, 0x79, 0x4f, 0xb4, 0x64, 0x72, 0xf0, 0x35,
  8100. 0xe3, 0x0c, 0x41, 0x85, 0x6a, 0xd0, 0xd7, 0x61, 0x09, 0xd6, 0xdc, 0x7c, 0xf2, 0xac, 0x3a, 0xf7,
  8101. 0xf4, 0x59, 0x75, 0xee, 0xa3, 0x67, 0xd5, 0xb9, 0x0f, 0x46, 0x55, 0xed, 0xc9, 0xa8, 0xaa, 0x3d,
  8102. 0x1d, 0x55, 0xb5, 0x8f, 0x46, 0x55, 0xed, 0xe3, 0x51, 0x55, 0x7b, 0xf4, 0x8f, 0xea, 0xdc, 0xbd,
  8103. 0xcc, 0xd9, 0xd6, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xab, 0xec, 0x02, 0x4a, 0x00, 0x21, 0x00,
  8104. 0x00,
  8105. }