generated.pb.go 357 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655
  1. /*
  2. Copyright 2016 The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo.
  14. // source: k8s.io/kubernetes/pkg/apis/extensions/v1beta1/generated.proto
  15. // DO NOT EDIT!
  16. /*
  17. Package v1beta1 is a generated protocol buffer package.
  18. It is generated from these files:
  19. k8s.io/kubernetes/pkg/apis/extensions/v1beta1/generated.proto
  20. It has these top-level messages:
  21. APIVersion
  22. CPUTargetUtilization
  23. CustomMetricCurrentStatus
  24. CustomMetricCurrentStatusList
  25. CustomMetricTarget
  26. CustomMetricTargetList
  27. DaemonSet
  28. DaemonSetList
  29. DaemonSetSpec
  30. DaemonSetStatus
  31. Deployment
  32. DeploymentList
  33. DeploymentRollback
  34. DeploymentSpec
  35. DeploymentStatus
  36. DeploymentStrategy
  37. ExportOptions
  38. FSGroupStrategyOptions
  39. HTTPIngressPath
  40. HTTPIngressRuleValue
  41. HorizontalPodAutoscaler
  42. HorizontalPodAutoscalerList
  43. HorizontalPodAutoscalerSpec
  44. HorizontalPodAutoscalerStatus
  45. HostPortRange
  46. IDRange
  47. Ingress
  48. IngressBackend
  49. IngressList
  50. IngressRule
  51. IngressRuleValue
  52. IngressSpec
  53. IngressStatus
  54. IngressTLS
  55. Job
  56. JobCondition
  57. JobList
  58. JobSpec
  59. JobStatus
  60. LabelSelector
  61. LabelSelectorRequirement
  62. ListOptions
  63. NetworkPolicy
  64. NetworkPolicyIngressRule
  65. NetworkPolicyList
  66. NetworkPolicyPeer
  67. NetworkPolicyPort
  68. NetworkPolicySpec
  69. PodSecurityPolicy
  70. PodSecurityPolicyList
  71. PodSecurityPolicySpec
  72. ReplicaSet
  73. ReplicaSetList
  74. ReplicaSetSpec
  75. ReplicaSetStatus
  76. ReplicationControllerDummy
  77. RollbackConfig
  78. RollingUpdateDeployment
  79. RunAsUserStrategyOptions
  80. SELinuxStrategyOptions
  81. Scale
  82. ScaleSpec
  83. ScaleStatus
  84. StorageClass
  85. StorageClassList
  86. SubresourceReference
  87. SupplementalGroupsStrategyOptions
  88. ThirdPartyResource
  89. ThirdPartyResourceData
  90. ThirdPartyResourceDataList
  91. ThirdPartyResourceList
  92. */
  93. package v1beta1
  94. import proto "github.com/gogo/protobuf/proto"
  95. import fmt "fmt"
  96. import math "math"
  97. import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/kubernetes/pkg/api/unversioned"
  98. import k8s_io_kubernetes_pkg_api_v1 "k8s.io/kubernetes/pkg/api/v1"
  99. import k8s_io_kubernetes_pkg_util_intstr "k8s.io/kubernetes/pkg/util/intstr"
  100. import strings "strings"
  101. import reflect "reflect"
  102. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  103. import io "io"
  104. // Reference imports to suppress errors if they are not otherwise used.
  105. var _ = proto.Marshal
  106. var _ = fmt.Errorf
  107. var _ = math.Inf
  108. // This is a compile-time assertion to ensure that this generated file
  109. // is compatible with the proto package it is being compiled against.
  110. const _ = proto.GoGoProtoPackageIsVersion1
  111. func (m *APIVersion) Reset() { *m = APIVersion{} }
  112. func (*APIVersion) ProtoMessage() {}
  113. func (*APIVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  114. func (m *CPUTargetUtilization) Reset() { *m = CPUTargetUtilization{} }
  115. func (*CPUTargetUtilization) ProtoMessage() {}
  116. func (*CPUTargetUtilization) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  117. func (m *CustomMetricCurrentStatus) Reset() { *m = CustomMetricCurrentStatus{} }
  118. func (*CustomMetricCurrentStatus) ProtoMessage() {}
  119. func (*CustomMetricCurrentStatus) Descriptor() ([]byte, []int) {
  120. return fileDescriptorGenerated, []int{2}
  121. }
  122. func (m *CustomMetricCurrentStatusList) Reset() { *m = CustomMetricCurrentStatusList{} }
  123. func (*CustomMetricCurrentStatusList) ProtoMessage() {}
  124. func (*CustomMetricCurrentStatusList) Descriptor() ([]byte, []int) {
  125. return fileDescriptorGenerated, []int{3}
  126. }
  127. func (m *CustomMetricTarget) Reset() { *m = CustomMetricTarget{} }
  128. func (*CustomMetricTarget) ProtoMessage() {}
  129. func (*CustomMetricTarget) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  130. func (m *CustomMetricTargetList) Reset() { *m = CustomMetricTargetList{} }
  131. func (*CustomMetricTargetList) ProtoMessage() {}
  132. func (*CustomMetricTargetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  133. func (m *DaemonSet) Reset() { *m = DaemonSet{} }
  134. func (*DaemonSet) ProtoMessage() {}
  135. func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  136. func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
  137. func (*DaemonSetList) ProtoMessage() {}
  138. func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  139. func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
  140. func (*DaemonSetSpec) ProtoMessage() {}
  141. func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  142. func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
  143. func (*DaemonSetStatus) ProtoMessage() {}
  144. func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  145. func (m *Deployment) Reset() { *m = Deployment{} }
  146. func (*Deployment) ProtoMessage() {}
  147. func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  148. func (m *DeploymentList) Reset() { *m = DeploymentList{} }
  149. func (*DeploymentList) ProtoMessage() {}
  150. func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  151. func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
  152. func (*DeploymentRollback) ProtoMessage() {}
  153. func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  154. func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
  155. func (*DeploymentSpec) ProtoMessage() {}
  156. func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  157. func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
  158. func (*DeploymentStatus) ProtoMessage() {}
  159. func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  160. func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
  161. func (*DeploymentStrategy) ProtoMessage() {}
  162. func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  163. func (m *ExportOptions) Reset() { *m = ExportOptions{} }
  164. func (*ExportOptions) ProtoMessage() {}
  165. func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  166. func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
  167. func (*FSGroupStrategyOptions) ProtoMessage() {}
  168. func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  169. func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
  170. func (*HTTPIngressPath) ProtoMessage() {}
  171. func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  172. func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
  173. func (*HTTPIngressRuleValue) ProtoMessage() {}
  174. func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  175. func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} }
  176. func (*HorizontalPodAutoscaler) ProtoMessage() {}
  177. func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) {
  178. return fileDescriptorGenerated, []int{20}
  179. }
  180. func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} }
  181. func (*HorizontalPodAutoscalerList) ProtoMessage() {}
  182. func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) {
  183. return fileDescriptorGenerated, []int{21}
  184. }
  185. func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} }
  186. func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
  187. func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) {
  188. return fileDescriptorGenerated, []int{22}
  189. }
  190. func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} }
  191. func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
  192. func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) {
  193. return fileDescriptorGenerated, []int{23}
  194. }
  195. func (m *HostPortRange) Reset() { *m = HostPortRange{} }
  196. func (*HostPortRange) ProtoMessage() {}
  197. func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
  198. func (m *IDRange) Reset() { *m = IDRange{} }
  199. func (*IDRange) ProtoMessage() {}
  200. func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  201. func (m *Ingress) Reset() { *m = Ingress{} }
  202. func (*Ingress) ProtoMessage() {}
  203. func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  204. func (m *IngressBackend) Reset() { *m = IngressBackend{} }
  205. func (*IngressBackend) ProtoMessage() {}
  206. func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
  207. func (m *IngressList) Reset() { *m = IngressList{} }
  208. func (*IngressList) ProtoMessage() {}
  209. func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
  210. func (m *IngressRule) Reset() { *m = IngressRule{} }
  211. func (*IngressRule) ProtoMessage() {}
  212. func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
  213. func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
  214. func (*IngressRuleValue) ProtoMessage() {}
  215. func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
  216. func (m *IngressSpec) Reset() { *m = IngressSpec{} }
  217. func (*IngressSpec) ProtoMessage() {}
  218. func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} }
  219. func (m *IngressStatus) Reset() { *m = IngressStatus{} }
  220. func (*IngressStatus) ProtoMessage() {}
  221. func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
  222. func (m *IngressTLS) Reset() { *m = IngressTLS{} }
  223. func (*IngressTLS) ProtoMessage() {}
  224. func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
  225. func (m *Job) Reset() { *m = Job{} }
  226. func (*Job) ProtoMessage() {}
  227. func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
  228. func (m *JobCondition) Reset() { *m = JobCondition{} }
  229. func (*JobCondition) ProtoMessage() {}
  230. func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
  231. func (m *JobList) Reset() { *m = JobList{} }
  232. func (*JobList) ProtoMessage() {}
  233. func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
  234. func (m *JobSpec) Reset() { *m = JobSpec{} }
  235. func (*JobSpec) ProtoMessage() {}
  236. func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
  237. func (m *JobStatus) Reset() { *m = JobStatus{} }
  238. func (*JobStatus) ProtoMessage() {}
  239. func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
  240. func (m *LabelSelector) Reset() { *m = LabelSelector{} }
  241. func (*LabelSelector) ProtoMessage() {}
  242. func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
  243. func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} }
  244. func (*LabelSelectorRequirement) ProtoMessage() {}
  245. func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {
  246. return fileDescriptorGenerated, []int{40}
  247. }
  248. func (m *ListOptions) Reset() { *m = ListOptions{} }
  249. func (*ListOptions) ProtoMessage() {}
  250. func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
  251. func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
  252. func (*NetworkPolicy) ProtoMessage() {}
  253. func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
  254. func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
  255. func (*NetworkPolicyIngressRule) ProtoMessage() {}
  256. func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
  257. return fileDescriptorGenerated, []int{43}
  258. }
  259. func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
  260. func (*NetworkPolicyList) ProtoMessage() {}
  261. func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} }
  262. func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
  263. func (*NetworkPolicyPeer) ProtoMessage() {}
  264. func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} }
  265. func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
  266. func (*NetworkPolicyPort) ProtoMessage() {}
  267. func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
  268. func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
  269. func (*NetworkPolicySpec) ProtoMessage() {}
  270. func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} }
  271. func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
  272. func (*PodSecurityPolicy) ProtoMessage() {}
  273. func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} }
  274. func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
  275. func (*PodSecurityPolicyList) ProtoMessage() {}
  276. func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} }
  277. func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
  278. func (*PodSecurityPolicySpec) ProtoMessage() {}
  279. func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} }
  280. func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
  281. func (*ReplicaSet) ProtoMessage() {}
  282. func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} }
  283. func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
  284. func (*ReplicaSetList) ProtoMessage() {}
  285. func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
  286. func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
  287. func (*ReplicaSetSpec) ProtoMessage() {}
  288. func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} }
  289. func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
  290. func (*ReplicaSetStatus) ProtoMessage() {}
  291. func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} }
  292. func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} }
  293. func (*ReplicationControllerDummy) ProtoMessage() {}
  294. func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) {
  295. return fileDescriptorGenerated, []int{55}
  296. }
  297. func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
  298. func (*RollbackConfig) ProtoMessage() {}
  299. func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} }
  300. func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
  301. func (*RollingUpdateDeployment) ProtoMessage() {}
  302. func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
  303. return fileDescriptorGenerated, []int{57}
  304. }
  305. func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
  306. func (*RunAsUserStrategyOptions) ProtoMessage() {}
  307. func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
  308. return fileDescriptorGenerated, []int{58}
  309. }
  310. func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
  311. func (*SELinuxStrategyOptions) ProtoMessage() {}
  312. func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} }
  313. func (m *Scale) Reset() { *m = Scale{} }
  314. func (*Scale) ProtoMessage() {}
  315. func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} }
  316. func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
  317. func (*ScaleSpec) ProtoMessage() {}
  318. func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} }
  319. func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
  320. func (*ScaleStatus) ProtoMessage() {}
  321. func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} }
  322. func (m *StorageClass) Reset() { *m = StorageClass{} }
  323. func (*StorageClass) ProtoMessage() {}
  324. func (*StorageClass) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} }
  325. func (m *StorageClassList) Reset() { *m = StorageClassList{} }
  326. func (*StorageClassList) ProtoMessage() {}
  327. func (*StorageClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} }
  328. func (m *SubresourceReference) Reset() { *m = SubresourceReference{} }
  329. func (*SubresourceReference) ProtoMessage() {}
  330. func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} }
  331. func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
  332. func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
  333. func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
  334. return fileDescriptorGenerated, []int{66}
  335. }
  336. func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} }
  337. func (*ThirdPartyResource) ProtoMessage() {}
  338. func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} }
  339. func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} }
  340. func (*ThirdPartyResourceData) ProtoMessage() {}
  341. func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} }
  342. func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} }
  343. func (*ThirdPartyResourceDataList) ProtoMessage() {}
  344. func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) {
  345. return fileDescriptorGenerated, []int{69}
  346. }
  347. func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} }
  348. func (*ThirdPartyResourceList) ProtoMessage() {}
  349. func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} }
  350. func init() {
  351. proto.RegisterType((*APIVersion)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.APIVersion")
  352. proto.RegisterType((*CPUTargetUtilization)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.CPUTargetUtilization")
  353. proto.RegisterType((*CustomMetricCurrentStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatus")
  354. proto.RegisterType((*CustomMetricCurrentStatusList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatusList")
  355. proto.RegisterType((*CustomMetricTarget)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.CustomMetricTarget")
  356. proto.RegisterType((*CustomMetricTargetList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.CustomMetricTargetList")
  357. proto.RegisterType((*DaemonSet)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DaemonSet")
  358. proto.RegisterType((*DaemonSetList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DaemonSetList")
  359. proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DaemonSetSpec")
  360. proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DaemonSetStatus")
  361. proto.RegisterType((*Deployment)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.Deployment")
  362. proto.RegisterType((*DeploymentList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentList")
  363. proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentRollback")
  364. proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentSpec")
  365. proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentStatus")
  366. proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentStrategy")
  367. proto.RegisterType((*ExportOptions)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ExportOptions")
  368. proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.FSGroupStrategyOptions")
  369. proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.HTTPIngressPath")
  370. proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.HTTPIngressRuleValue")
  371. proto.RegisterType((*HorizontalPodAutoscaler)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.HorizontalPodAutoscaler")
  372. proto.RegisterType((*HorizontalPodAutoscalerList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerList")
  373. proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerSpec")
  374. proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerStatus")
  375. proto.RegisterType((*HostPortRange)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.HostPortRange")
  376. proto.RegisterType((*IDRange)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IDRange")
  377. proto.RegisterType((*Ingress)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.Ingress")
  378. proto.RegisterType((*IngressBackend)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IngressBackend")
  379. proto.RegisterType((*IngressList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IngressList")
  380. proto.RegisterType((*IngressRule)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IngressRule")
  381. proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IngressRuleValue")
  382. proto.RegisterType((*IngressSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IngressSpec")
  383. proto.RegisterType((*IngressStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IngressStatus")
  384. proto.RegisterType((*IngressTLS)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.IngressTLS")
  385. proto.RegisterType((*Job)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.Job")
  386. proto.RegisterType((*JobCondition)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.JobCondition")
  387. proto.RegisterType((*JobList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.JobList")
  388. proto.RegisterType((*JobSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.JobSpec")
  389. proto.RegisterType((*JobStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.JobStatus")
  390. proto.RegisterType((*LabelSelector)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.LabelSelector")
  391. proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.LabelSelectorRequirement")
  392. proto.RegisterType((*ListOptions)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ListOptions")
  393. proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicy")
  394. proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicyIngressRule")
  395. proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicyList")
  396. proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicyPeer")
  397. proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicyPort")
  398. proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicySpec")
  399. proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.PodSecurityPolicy")
  400. proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.PodSecurityPolicyList")
  401. proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.PodSecurityPolicySpec")
  402. proto.RegisterType((*ReplicaSet)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ReplicaSet")
  403. proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ReplicaSetList")
  404. proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ReplicaSetSpec")
  405. proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ReplicaSetStatus")
  406. proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ReplicationControllerDummy")
  407. proto.RegisterType((*RollbackConfig)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.RollbackConfig")
  408. proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.RollingUpdateDeployment")
  409. proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.RunAsUserStrategyOptions")
  410. proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.SELinuxStrategyOptions")
  411. proto.RegisterType((*Scale)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.Scale")
  412. proto.RegisterType((*ScaleSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ScaleSpec")
  413. proto.RegisterType((*ScaleStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ScaleStatus")
  414. proto.RegisterType((*StorageClass)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.StorageClass")
  415. proto.RegisterType((*StorageClassList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.StorageClassList")
  416. proto.RegisterType((*SubresourceReference)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.SubresourceReference")
  417. proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.SupplementalGroupsStrategyOptions")
  418. proto.RegisterType((*ThirdPartyResource)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ThirdPartyResource")
  419. proto.RegisterType((*ThirdPartyResourceData)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ThirdPartyResourceData")
  420. proto.RegisterType((*ThirdPartyResourceDataList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ThirdPartyResourceDataList")
  421. proto.RegisterType((*ThirdPartyResourceList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ThirdPartyResourceList")
  422. }
  423. func (m *APIVersion) Marshal() (data []byte, err error) {
  424. size := m.Size()
  425. data = make([]byte, size)
  426. n, err := m.MarshalTo(data)
  427. if err != nil {
  428. return nil, err
  429. }
  430. return data[:n], nil
  431. }
  432. func (m *APIVersion) MarshalTo(data []byte) (int, error) {
  433. var i int
  434. _ = i
  435. var l int
  436. _ = l
  437. data[i] = 0xa
  438. i++
  439. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  440. i += copy(data[i:], m.Name)
  441. return i, nil
  442. }
  443. func (m *CPUTargetUtilization) Marshal() (data []byte, err error) {
  444. size := m.Size()
  445. data = make([]byte, size)
  446. n, err := m.MarshalTo(data)
  447. if err != nil {
  448. return nil, err
  449. }
  450. return data[:n], nil
  451. }
  452. func (m *CPUTargetUtilization) MarshalTo(data []byte) (int, error) {
  453. var i int
  454. _ = i
  455. var l int
  456. _ = l
  457. data[i] = 0x8
  458. i++
  459. i = encodeVarintGenerated(data, i, uint64(m.TargetPercentage))
  460. return i, nil
  461. }
  462. func (m *CustomMetricCurrentStatus) Marshal() (data []byte, err error) {
  463. size := m.Size()
  464. data = make([]byte, size)
  465. n, err := m.MarshalTo(data)
  466. if err != nil {
  467. return nil, err
  468. }
  469. return data[:n], nil
  470. }
  471. func (m *CustomMetricCurrentStatus) MarshalTo(data []byte) (int, error) {
  472. var i int
  473. _ = i
  474. var l int
  475. _ = l
  476. data[i] = 0xa
  477. i++
  478. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  479. i += copy(data[i:], m.Name)
  480. data[i] = 0x12
  481. i++
  482. i = encodeVarintGenerated(data, i, uint64(m.CurrentValue.Size()))
  483. n1, err := m.CurrentValue.MarshalTo(data[i:])
  484. if err != nil {
  485. return 0, err
  486. }
  487. i += n1
  488. return i, nil
  489. }
  490. func (m *CustomMetricCurrentStatusList) Marshal() (data []byte, err error) {
  491. size := m.Size()
  492. data = make([]byte, size)
  493. n, err := m.MarshalTo(data)
  494. if err != nil {
  495. return nil, err
  496. }
  497. return data[:n], nil
  498. }
  499. func (m *CustomMetricCurrentStatusList) MarshalTo(data []byte) (int, error) {
  500. var i int
  501. _ = i
  502. var l int
  503. _ = l
  504. if len(m.Items) > 0 {
  505. for _, msg := range m.Items {
  506. data[i] = 0xa
  507. i++
  508. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  509. n, err := msg.MarshalTo(data[i:])
  510. if err != nil {
  511. return 0, err
  512. }
  513. i += n
  514. }
  515. }
  516. return i, nil
  517. }
  518. func (m *CustomMetricTarget) Marshal() (data []byte, err error) {
  519. size := m.Size()
  520. data = make([]byte, size)
  521. n, err := m.MarshalTo(data)
  522. if err != nil {
  523. return nil, err
  524. }
  525. return data[:n], nil
  526. }
  527. func (m *CustomMetricTarget) MarshalTo(data []byte) (int, error) {
  528. var i int
  529. _ = i
  530. var l int
  531. _ = l
  532. data[i] = 0xa
  533. i++
  534. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  535. i += copy(data[i:], m.Name)
  536. data[i] = 0x12
  537. i++
  538. i = encodeVarintGenerated(data, i, uint64(m.TargetValue.Size()))
  539. n2, err := m.TargetValue.MarshalTo(data[i:])
  540. if err != nil {
  541. return 0, err
  542. }
  543. i += n2
  544. return i, nil
  545. }
  546. func (m *CustomMetricTargetList) Marshal() (data []byte, err error) {
  547. size := m.Size()
  548. data = make([]byte, size)
  549. n, err := m.MarshalTo(data)
  550. if err != nil {
  551. return nil, err
  552. }
  553. return data[:n], nil
  554. }
  555. func (m *CustomMetricTargetList) MarshalTo(data []byte) (int, error) {
  556. var i int
  557. _ = i
  558. var l int
  559. _ = l
  560. if len(m.Items) > 0 {
  561. for _, msg := range m.Items {
  562. data[i] = 0xa
  563. i++
  564. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  565. n, err := msg.MarshalTo(data[i:])
  566. if err != nil {
  567. return 0, err
  568. }
  569. i += n
  570. }
  571. }
  572. return i, nil
  573. }
  574. func (m *DaemonSet) Marshal() (data []byte, err error) {
  575. size := m.Size()
  576. data = make([]byte, size)
  577. n, err := m.MarshalTo(data)
  578. if err != nil {
  579. return nil, err
  580. }
  581. return data[:n], nil
  582. }
  583. func (m *DaemonSet) MarshalTo(data []byte) (int, error) {
  584. var i int
  585. _ = i
  586. var l int
  587. _ = l
  588. data[i] = 0xa
  589. i++
  590. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  591. n3, err := m.ObjectMeta.MarshalTo(data[i:])
  592. if err != nil {
  593. return 0, err
  594. }
  595. i += n3
  596. data[i] = 0x12
  597. i++
  598. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  599. n4, err := m.Spec.MarshalTo(data[i:])
  600. if err != nil {
  601. return 0, err
  602. }
  603. i += n4
  604. data[i] = 0x1a
  605. i++
  606. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  607. n5, err := m.Status.MarshalTo(data[i:])
  608. if err != nil {
  609. return 0, err
  610. }
  611. i += n5
  612. return i, nil
  613. }
  614. func (m *DaemonSetList) Marshal() (data []byte, err error) {
  615. size := m.Size()
  616. data = make([]byte, size)
  617. n, err := m.MarshalTo(data)
  618. if err != nil {
  619. return nil, err
  620. }
  621. return data[:n], nil
  622. }
  623. func (m *DaemonSetList) MarshalTo(data []byte) (int, error) {
  624. var i int
  625. _ = i
  626. var l int
  627. _ = l
  628. data[i] = 0xa
  629. i++
  630. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  631. n6, err := m.ListMeta.MarshalTo(data[i:])
  632. if err != nil {
  633. return 0, err
  634. }
  635. i += n6
  636. if len(m.Items) > 0 {
  637. for _, msg := range m.Items {
  638. data[i] = 0x12
  639. i++
  640. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  641. n, err := msg.MarshalTo(data[i:])
  642. if err != nil {
  643. return 0, err
  644. }
  645. i += n
  646. }
  647. }
  648. return i, nil
  649. }
  650. func (m *DaemonSetSpec) Marshal() (data []byte, err error) {
  651. size := m.Size()
  652. data = make([]byte, size)
  653. n, err := m.MarshalTo(data)
  654. if err != nil {
  655. return nil, err
  656. }
  657. return data[:n], nil
  658. }
  659. func (m *DaemonSetSpec) MarshalTo(data []byte) (int, error) {
  660. var i int
  661. _ = i
  662. var l int
  663. _ = l
  664. if m.Selector != nil {
  665. data[i] = 0xa
  666. i++
  667. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  668. n7, err := m.Selector.MarshalTo(data[i:])
  669. if err != nil {
  670. return 0, err
  671. }
  672. i += n7
  673. }
  674. data[i] = 0x12
  675. i++
  676. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  677. n8, err := m.Template.MarshalTo(data[i:])
  678. if err != nil {
  679. return 0, err
  680. }
  681. i += n8
  682. return i, nil
  683. }
  684. func (m *DaemonSetStatus) Marshal() (data []byte, err error) {
  685. size := m.Size()
  686. data = make([]byte, size)
  687. n, err := m.MarshalTo(data)
  688. if err != nil {
  689. return nil, err
  690. }
  691. return data[:n], nil
  692. }
  693. func (m *DaemonSetStatus) MarshalTo(data []byte) (int, error) {
  694. var i int
  695. _ = i
  696. var l int
  697. _ = l
  698. data[i] = 0x8
  699. i++
  700. i = encodeVarintGenerated(data, i, uint64(m.CurrentNumberScheduled))
  701. data[i] = 0x10
  702. i++
  703. i = encodeVarintGenerated(data, i, uint64(m.NumberMisscheduled))
  704. data[i] = 0x18
  705. i++
  706. i = encodeVarintGenerated(data, i, uint64(m.DesiredNumberScheduled))
  707. return i, nil
  708. }
  709. func (m *Deployment) Marshal() (data []byte, err error) {
  710. size := m.Size()
  711. data = make([]byte, size)
  712. n, err := m.MarshalTo(data)
  713. if err != nil {
  714. return nil, err
  715. }
  716. return data[:n], nil
  717. }
  718. func (m *Deployment) MarshalTo(data []byte) (int, error) {
  719. var i int
  720. _ = i
  721. var l int
  722. _ = l
  723. data[i] = 0xa
  724. i++
  725. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  726. n9, err := m.ObjectMeta.MarshalTo(data[i:])
  727. if err != nil {
  728. return 0, err
  729. }
  730. i += n9
  731. data[i] = 0x12
  732. i++
  733. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  734. n10, err := m.Spec.MarshalTo(data[i:])
  735. if err != nil {
  736. return 0, err
  737. }
  738. i += n10
  739. data[i] = 0x1a
  740. i++
  741. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  742. n11, err := m.Status.MarshalTo(data[i:])
  743. if err != nil {
  744. return 0, err
  745. }
  746. i += n11
  747. return i, nil
  748. }
  749. func (m *DeploymentList) Marshal() (data []byte, err error) {
  750. size := m.Size()
  751. data = make([]byte, size)
  752. n, err := m.MarshalTo(data)
  753. if err != nil {
  754. return nil, err
  755. }
  756. return data[:n], nil
  757. }
  758. func (m *DeploymentList) MarshalTo(data []byte) (int, error) {
  759. var i int
  760. _ = i
  761. var l int
  762. _ = l
  763. data[i] = 0xa
  764. i++
  765. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  766. n12, err := m.ListMeta.MarshalTo(data[i:])
  767. if err != nil {
  768. return 0, err
  769. }
  770. i += n12
  771. if len(m.Items) > 0 {
  772. for _, msg := range m.Items {
  773. data[i] = 0x12
  774. i++
  775. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  776. n, err := msg.MarshalTo(data[i:])
  777. if err != nil {
  778. return 0, err
  779. }
  780. i += n
  781. }
  782. }
  783. return i, nil
  784. }
  785. func (m *DeploymentRollback) Marshal() (data []byte, err error) {
  786. size := m.Size()
  787. data = make([]byte, size)
  788. n, err := m.MarshalTo(data)
  789. if err != nil {
  790. return nil, err
  791. }
  792. return data[:n], nil
  793. }
  794. func (m *DeploymentRollback) MarshalTo(data []byte) (int, error) {
  795. var i int
  796. _ = i
  797. var l int
  798. _ = l
  799. data[i] = 0xa
  800. i++
  801. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  802. i += copy(data[i:], m.Name)
  803. if len(m.UpdatedAnnotations) > 0 {
  804. for k := range m.UpdatedAnnotations {
  805. data[i] = 0x12
  806. i++
  807. v := m.UpdatedAnnotations[k]
  808. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  809. i = encodeVarintGenerated(data, i, uint64(mapSize))
  810. data[i] = 0xa
  811. i++
  812. i = encodeVarintGenerated(data, i, uint64(len(k)))
  813. i += copy(data[i:], k)
  814. data[i] = 0x12
  815. i++
  816. i = encodeVarintGenerated(data, i, uint64(len(v)))
  817. i += copy(data[i:], v)
  818. }
  819. }
  820. data[i] = 0x1a
  821. i++
  822. i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size()))
  823. n13, err := m.RollbackTo.MarshalTo(data[i:])
  824. if err != nil {
  825. return 0, err
  826. }
  827. i += n13
  828. return i, nil
  829. }
  830. func (m *DeploymentSpec) Marshal() (data []byte, err error) {
  831. size := m.Size()
  832. data = make([]byte, size)
  833. n, err := m.MarshalTo(data)
  834. if err != nil {
  835. return nil, err
  836. }
  837. return data[:n], nil
  838. }
  839. func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) {
  840. var i int
  841. _ = i
  842. var l int
  843. _ = l
  844. if m.Replicas != nil {
  845. data[i] = 0x8
  846. i++
  847. i = encodeVarintGenerated(data, i, uint64(*m.Replicas))
  848. }
  849. if m.Selector != nil {
  850. data[i] = 0x12
  851. i++
  852. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  853. n14, err := m.Selector.MarshalTo(data[i:])
  854. if err != nil {
  855. return 0, err
  856. }
  857. i += n14
  858. }
  859. data[i] = 0x1a
  860. i++
  861. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  862. n15, err := m.Template.MarshalTo(data[i:])
  863. if err != nil {
  864. return 0, err
  865. }
  866. i += n15
  867. data[i] = 0x22
  868. i++
  869. i = encodeVarintGenerated(data, i, uint64(m.Strategy.Size()))
  870. n16, err := m.Strategy.MarshalTo(data[i:])
  871. if err != nil {
  872. return 0, err
  873. }
  874. i += n16
  875. data[i] = 0x28
  876. i++
  877. i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds))
  878. if m.RevisionHistoryLimit != nil {
  879. data[i] = 0x30
  880. i++
  881. i = encodeVarintGenerated(data, i, uint64(*m.RevisionHistoryLimit))
  882. }
  883. data[i] = 0x38
  884. i++
  885. if m.Paused {
  886. data[i] = 1
  887. } else {
  888. data[i] = 0
  889. }
  890. i++
  891. if m.RollbackTo != nil {
  892. data[i] = 0x42
  893. i++
  894. i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size()))
  895. n17, err := m.RollbackTo.MarshalTo(data[i:])
  896. if err != nil {
  897. return 0, err
  898. }
  899. i += n17
  900. }
  901. return i, nil
  902. }
  903. func (m *DeploymentStatus) Marshal() (data []byte, err error) {
  904. size := m.Size()
  905. data = make([]byte, size)
  906. n, err := m.MarshalTo(data)
  907. if err != nil {
  908. return nil, err
  909. }
  910. return data[:n], nil
  911. }
  912. func (m *DeploymentStatus) MarshalTo(data []byte) (int, error) {
  913. var i int
  914. _ = i
  915. var l int
  916. _ = l
  917. data[i] = 0x8
  918. i++
  919. i = encodeVarintGenerated(data, i, uint64(m.ObservedGeneration))
  920. data[i] = 0x10
  921. i++
  922. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  923. data[i] = 0x18
  924. i++
  925. i = encodeVarintGenerated(data, i, uint64(m.UpdatedReplicas))
  926. data[i] = 0x20
  927. i++
  928. i = encodeVarintGenerated(data, i, uint64(m.AvailableReplicas))
  929. data[i] = 0x28
  930. i++
  931. i = encodeVarintGenerated(data, i, uint64(m.UnavailableReplicas))
  932. return i, nil
  933. }
  934. func (m *DeploymentStrategy) Marshal() (data []byte, err error) {
  935. size := m.Size()
  936. data = make([]byte, size)
  937. n, err := m.MarshalTo(data)
  938. if err != nil {
  939. return nil, err
  940. }
  941. return data[:n], nil
  942. }
  943. func (m *DeploymentStrategy) MarshalTo(data []byte) (int, error) {
  944. var i int
  945. _ = i
  946. var l int
  947. _ = l
  948. data[i] = 0xa
  949. i++
  950. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  951. i += copy(data[i:], m.Type)
  952. if m.RollingUpdate != nil {
  953. data[i] = 0x12
  954. i++
  955. i = encodeVarintGenerated(data, i, uint64(m.RollingUpdate.Size()))
  956. n18, err := m.RollingUpdate.MarshalTo(data[i:])
  957. if err != nil {
  958. return 0, err
  959. }
  960. i += n18
  961. }
  962. return i, nil
  963. }
  964. func (m *ExportOptions) Marshal() (data []byte, err error) {
  965. size := m.Size()
  966. data = make([]byte, size)
  967. n, err := m.MarshalTo(data)
  968. if err != nil {
  969. return nil, err
  970. }
  971. return data[:n], nil
  972. }
  973. func (m *ExportOptions) MarshalTo(data []byte) (int, error) {
  974. var i int
  975. _ = i
  976. var l int
  977. _ = l
  978. data[i] = 0x8
  979. i++
  980. if m.Export {
  981. data[i] = 1
  982. } else {
  983. data[i] = 0
  984. }
  985. i++
  986. data[i] = 0x10
  987. i++
  988. if m.Exact {
  989. data[i] = 1
  990. } else {
  991. data[i] = 0
  992. }
  993. i++
  994. return i, nil
  995. }
  996. func (m *FSGroupStrategyOptions) Marshal() (data []byte, err error) {
  997. size := m.Size()
  998. data = make([]byte, size)
  999. n, err := m.MarshalTo(data)
  1000. if err != nil {
  1001. return nil, err
  1002. }
  1003. return data[:n], nil
  1004. }
  1005. func (m *FSGroupStrategyOptions) MarshalTo(data []byte) (int, error) {
  1006. var i int
  1007. _ = i
  1008. var l int
  1009. _ = l
  1010. data[i] = 0xa
  1011. i++
  1012. i = encodeVarintGenerated(data, i, uint64(len(m.Rule)))
  1013. i += copy(data[i:], m.Rule)
  1014. if len(m.Ranges) > 0 {
  1015. for _, msg := range m.Ranges {
  1016. data[i] = 0x12
  1017. i++
  1018. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1019. n, err := msg.MarshalTo(data[i:])
  1020. if err != nil {
  1021. return 0, err
  1022. }
  1023. i += n
  1024. }
  1025. }
  1026. return i, nil
  1027. }
  1028. func (m *HTTPIngressPath) Marshal() (data []byte, err error) {
  1029. size := m.Size()
  1030. data = make([]byte, size)
  1031. n, err := m.MarshalTo(data)
  1032. if err != nil {
  1033. return nil, err
  1034. }
  1035. return data[:n], nil
  1036. }
  1037. func (m *HTTPIngressPath) MarshalTo(data []byte) (int, error) {
  1038. var i int
  1039. _ = i
  1040. var l int
  1041. _ = l
  1042. data[i] = 0xa
  1043. i++
  1044. i = encodeVarintGenerated(data, i, uint64(len(m.Path)))
  1045. i += copy(data[i:], m.Path)
  1046. data[i] = 0x12
  1047. i++
  1048. i = encodeVarintGenerated(data, i, uint64(m.Backend.Size()))
  1049. n19, err := m.Backend.MarshalTo(data[i:])
  1050. if err != nil {
  1051. return 0, err
  1052. }
  1053. i += n19
  1054. return i, nil
  1055. }
  1056. func (m *HTTPIngressRuleValue) Marshal() (data []byte, err error) {
  1057. size := m.Size()
  1058. data = make([]byte, size)
  1059. n, err := m.MarshalTo(data)
  1060. if err != nil {
  1061. return nil, err
  1062. }
  1063. return data[:n], nil
  1064. }
  1065. func (m *HTTPIngressRuleValue) MarshalTo(data []byte) (int, error) {
  1066. var i int
  1067. _ = i
  1068. var l int
  1069. _ = l
  1070. if len(m.Paths) > 0 {
  1071. for _, msg := range m.Paths {
  1072. data[i] = 0xa
  1073. i++
  1074. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1075. n, err := msg.MarshalTo(data[i:])
  1076. if err != nil {
  1077. return 0, err
  1078. }
  1079. i += n
  1080. }
  1081. }
  1082. return i, nil
  1083. }
  1084. func (m *HorizontalPodAutoscaler) Marshal() (data []byte, err error) {
  1085. size := m.Size()
  1086. data = make([]byte, size)
  1087. n, err := m.MarshalTo(data)
  1088. if err != nil {
  1089. return nil, err
  1090. }
  1091. return data[:n], nil
  1092. }
  1093. func (m *HorizontalPodAutoscaler) MarshalTo(data []byte) (int, error) {
  1094. var i int
  1095. _ = i
  1096. var l int
  1097. _ = l
  1098. data[i] = 0xa
  1099. i++
  1100. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1101. n20, err := m.ObjectMeta.MarshalTo(data[i:])
  1102. if err != nil {
  1103. return 0, err
  1104. }
  1105. i += n20
  1106. data[i] = 0x12
  1107. i++
  1108. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  1109. n21, err := m.Spec.MarshalTo(data[i:])
  1110. if err != nil {
  1111. return 0, err
  1112. }
  1113. i += n21
  1114. data[i] = 0x1a
  1115. i++
  1116. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  1117. n22, err := m.Status.MarshalTo(data[i:])
  1118. if err != nil {
  1119. return 0, err
  1120. }
  1121. i += n22
  1122. return i, nil
  1123. }
  1124. func (m *HorizontalPodAutoscalerList) Marshal() (data []byte, err error) {
  1125. size := m.Size()
  1126. data = make([]byte, size)
  1127. n, err := m.MarshalTo(data)
  1128. if err != nil {
  1129. return nil, err
  1130. }
  1131. return data[:n], nil
  1132. }
  1133. func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error) {
  1134. var i int
  1135. _ = i
  1136. var l int
  1137. _ = l
  1138. data[i] = 0xa
  1139. i++
  1140. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  1141. n23, err := m.ListMeta.MarshalTo(data[i:])
  1142. if err != nil {
  1143. return 0, err
  1144. }
  1145. i += n23
  1146. if len(m.Items) > 0 {
  1147. for _, msg := range m.Items {
  1148. data[i] = 0x12
  1149. i++
  1150. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1151. n, err := msg.MarshalTo(data[i:])
  1152. if err != nil {
  1153. return 0, err
  1154. }
  1155. i += n
  1156. }
  1157. }
  1158. return i, nil
  1159. }
  1160. func (m *HorizontalPodAutoscalerSpec) Marshal() (data []byte, err error) {
  1161. size := m.Size()
  1162. data = make([]byte, size)
  1163. n, err := m.MarshalTo(data)
  1164. if err != nil {
  1165. return nil, err
  1166. }
  1167. return data[:n], nil
  1168. }
  1169. func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) {
  1170. var i int
  1171. _ = i
  1172. var l int
  1173. _ = l
  1174. data[i] = 0xa
  1175. i++
  1176. i = encodeVarintGenerated(data, i, uint64(m.ScaleRef.Size()))
  1177. n24, err := m.ScaleRef.MarshalTo(data[i:])
  1178. if err != nil {
  1179. return 0, err
  1180. }
  1181. i += n24
  1182. if m.MinReplicas != nil {
  1183. data[i] = 0x10
  1184. i++
  1185. i = encodeVarintGenerated(data, i, uint64(*m.MinReplicas))
  1186. }
  1187. data[i] = 0x18
  1188. i++
  1189. i = encodeVarintGenerated(data, i, uint64(m.MaxReplicas))
  1190. if m.CPUUtilization != nil {
  1191. data[i] = 0x22
  1192. i++
  1193. i = encodeVarintGenerated(data, i, uint64(m.CPUUtilization.Size()))
  1194. n25, err := m.CPUUtilization.MarshalTo(data[i:])
  1195. if err != nil {
  1196. return 0, err
  1197. }
  1198. i += n25
  1199. }
  1200. return i, nil
  1201. }
  1202. func (m *HorizontalPodAutoscalerStatus) Marshal() (data []byte, err error) {
  1203. size := m.Size()
  1204. data = make([]byte, size)
  1205. n, err := m.MarshalTo(data)
  1206. if err != nil {
  1207. return nil, err
  1208. }
  1209. return data[:n], nil
  1210. }
  1211. func (m *HorizontalPodAutoscalerStatus) MarshalTo(data []byte) (int, error) {
  1212. var i int
  1213. _ = i
  1214. var l int
  1215. _ = l
  1216. if m.ObservedGeneration != nil {
  1217. data[i] = 0x8
  1218. i++
  1219. i = encodeVarintGenerated(data, i, uint64(*m.ObservedGeneration))
  1220. }
  1221. if m.LastScaleTime != nil {
  1222. data[i] = 0x12
  1223. i++
  1224. i = encodeVarintGenerated(data, i, uint64(m.LastScaleTime.Size()))
  1225. n26, err := m.LastScaleTime.MarshalTo(data[i:])
  1226. if err != nil {
  1227. return 0, err
  1228. }
  1229. i += n26
  1230. }
  1231. data[i] = 0x18
  1232. i++
  1233. i = encodeVarintGenerated(data, i, uint64(m.CurrentReplicas))
  1234. data[i] = 0x20
  1235. i++
  1236. i = encodeVarintGenerated(data, i, uint64(m.DesiredReplicas))
  1237. if m.CurrentCPUUtilizationPercentage != nil {
  1238. data[i] = 0x28
  1239. i++
  1240. i = encodeVarintGenerated(data, i, uint64(*m.CurrentCPUUtilizationPercentage))
  1241. }
  1242. return i, nil
  1243. }
  1244. func (m *HostPortRange) Marshal() (data []byte, err error) {
  1245. size := m.Size()
  1246. data = make([]byte, size)
  1247. n, err := m.MarshalTo(data)
  1248. if err != nil {
  1249. return nil, err
  1250. }
  1251. return data[:n], nil
  1252. }
  1253. func (m *HostPortRange) MarshalTo(data []byte) (int, error) {
  1254. var i int
  1255. _ = i
  1256. var l int
  1257. _ = l
  1258. data[i] = 0x8
  1259. i++
  1260. i = encodeVarintGenerated(data, i, uint64(m.Min))
  1261. data[i] = 0x10
  1262. i++
  1263. i = encodeVarintGenerated(data, i, uint64(m.Max))
  1264. return i, nil
  1265. }
  1266. func (m *IDRange) Marshal() (data []byte, err error) {
  1267. size := m.Size()
  1268. data = make([]byte, size)
  1269. n, err := m.MarshalTo(data)
  1270. if err != nil {
  1271. return nil, err
  1272. }
  1273. return data[:n], nil
  1274. }
  1275. func (m *IDRange) MarshalTo(data []byte) (int, error) {
  1276. var i int
  1277. _ = i
  1278. var l int
  1279. _ = l
  1280. data[i] = 0x8
  1281. i++
  1282. i = encodeVarintGenerated(data, i, uint64(m.Min))
  1283. data[i] = 0x10
  1284. i++
  1285. i = encodeVarintGenerated(data, i, uint64(m.Max))
  1286. return i, nil
  1287. }
  1288. func (m *Ingress) 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 *Ingress) MarshalTo(data []byte) (int, error) {
  1298. var i int
  1299. _ = i
  1300. var l int
  1301. _ = l
  1302. data[i] = 0xa
  1303. i++
  1304. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1305. n27, err := m.ObjectMeta.MarshalTo(data[i:])
  1306. if err != nil {
  1307. return 0, err
  1308. }
  1309. i += n27
  1310. data[i] = 0x12
  1311. i++
  1312. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  1313. n28, err := m.Spec.MarshalTo(data[i:])
  1314. if err != nil {
  1315. return 0, err
  1316. }
  1317. i += n28
  1318. data[i] = 0x1a
  1319. i++
  1320. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  1321. n29, err := m.Status.MarshalTo(data[i:])
  1322. if err != nil {
  1323. return 0, err
  1324. }
  1325. i += n29
  1326. return i, nil
  1327. }
  1328. func (m *IngressBackend) Marshal() (data []byte, err error) {
  1329. size := m.Size()
  1330. data = make([]byte, size)
  1331. n, err := m.MarshalTo(data)
  1332. if err != nil {
  1333. return nil, err
  1334. }
  1335. return data[:n], nil
  1336. }
  1337. func (m *IngressBackend) MarshalTo(data []byte) (int, error) {
  1338. var i int
  1339. _ = i
  1340. var l int
  1341. _ = l
  1342. data[i] = 0xa
  1343. i++
  1344. i = encodeVarintGenerated(data, i, uint64(len(m.ServiceName)))
  1345. i += copy(data[i:], m.ServiceName)
  1346. data[i] = 0x12
  1347. i++
  1348. i = encodeVarintGenerated(data, i, uint64(m.ServicePort.Size()))
  1349. n30, err := m.ServicePort.MarshalTo(data[i:])
  1350. if err != nil {
  1351. return 0, err
  1352. }
  1353. i += n30
  1354. return i, nil
  1355. }
  1356. func (m *IngressList) Marshal() (data []byte, err error) {
  1357. size := m.Size()
  1358. data = make([]byte, size)
  1359. n, err := m.MarshalTo(data)
  1360. if err != nil {
  1361. return nil, err
  1362. }
  1363. return data[:n], nil
  1364. }
  1365. func (m *IngressList) MarshalTo(data []byte) (int, error) {
  1366. var i int
  1367. _ = i
  1368. var l int
  1369. _ = l
  1370. data[i] = 0xa
  1371. i++
  1372. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  1373. n31, err := m.ListMeta.MarshalTo(data[i:])
  1374. if err != nil {
  1375. return 0, err
  1376. }
  1377. i += n31
  1378. if len(m.Items) > 0 {
  1379. for _, msg := range m.Items {
  1380. data[i] = 0x12
  1381. i++
  1382. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1383. n, err := msg.MarshalTo(data[i:])
  1384. if err != nil {
  1385. return 0, err
  1386. }
  1387. i += n
  1388. }
  1389. }
  1390. return i, nil
  1391. }
  1392. func (m *IngressRule) Marshal() (data []byte, err error) {
  1393. size := m.Size()
  1394. data = make([]byte, size)
  1395. n, err := m.MarshalTo(data)
  1396. if err != nil {
  1397. return nil, err
  1398. }
  1399. return data[:n], nil
  1400. }
  1401. func (m *IngressRule) MarshalTo(data []byte) (int, error) {
  1402. var i int
  1403. _ = i
  1404. var l int
  1405. _ = l
  1406. data[i] = 0xa
  1407. i++
  1408. i = encodeVarintGenerated(data, i, uint64(len(m.Host)))
  1409. i += copy(data[i:], m.Host)
  1410. data[i] = 0x12
  1411. i++
  1412. i = encodeVarintGenerated(data, i, uint64(m.IngressRuleValue.Size()))
  1413. n32, err := m.IngressRuleValue.MarshalTo(data[i:])
  1414. if err != nil {
  1415. return 0, err
  1416. }
  1417. i += n32
  1418. return i, nil
  1419. }
  1420. func (m *IngressRuleValue) Marshal() (data []byte, err error) {
  1421. size := m.Size()
  1422. data = make([]byte, size)
  1423. n, err := m.MarshalTo(data)
  1424. if err != nil {
  1425. return nil, err
  1426. }
  1427. return data[:n], nil
  1428. }
  1429. func (m *IngressRuleValue) MarshalTo(data []byte) (int, error) {
  1430. var i int
  1431. _ = i
  1432. var l int
  1433. _ = l
  1434. if m.HTTP != nil {
  1435. data[i] = 0xa
  1436. i++
  1437. i = encodeVarintGenerated(data, i, uint64(m.HTTP.Size()))
  1438. n33, err := m.HTTP.MarshalTo(data[i:])
  1439. if err != nil {
  1440. return 0, err
  1441. }
  1442. i += n33
  1443. }
  1444. return i, nil
  1445. }
  1446. func (m *IngressSpec) Marshal() (data []byte, err error) {
  1447. size := m.Size()
  1448. data = make([]byte, size)
  1449. n, err := m.MarshalTo(data)
  1450. if err != nil {
  1451. return nil, err
  1452. }
  1453. return data[:n], nil
  1454. }
  1455. func (m *IngressSpec) MarshalTo(data []byte) (int, error) {
  1456. var i int
  1457. _ = i
  1458. var l int
  1459. _ = l
  1460. if m.Backend != nil {
  1461. data[i] = 0xa
  1462. i++
  1463. i = encodeVarintGenerated(data, i, uint64(m.Backend.Size()))
  1464. n34, err := m.Backend.MarshalTo(data[i:])
  1465. if err != nil {
  1466. return 0, err
  1467. }
  1468. i += n34
  1469. }
  1470. if len(m.TLS) > 0 {
  1471. for _, msg := range m.TLS {
  1472. data[i] = 0x12
  1473. i++
  1474. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1475. n, err := msg.MarshalTo(data[i:])
  1476. if err != nil {
  1477. return 0, err
  1478. }
  1479. i += n
  1480. }
  1481. }
  1482. if len(m.Rules) > 0 {
  1483. for _, msg := range m.Rules {
  1484. data[i] = 0x1a
  1485. i++
  1486. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1487. n, err := msg.MarshalTo(data[i:])
  1488. if err != nil {
  1489. return 0, err
  1490. }
  1491. i += n
  1492. }
  1493. }
  1494. return i, nil
  1495. }
  1496. func (m *IngressStatus) Marshal() (data []byte, err error) {
  1497. size := m.Size()
  1498. data = make([]byte, size)
  1499. n, err := m.MarshalTo(data)
  1500. if err != nil {
  1501. return nil, err
  1502. }
  1503. return data[:n], nil
  1504. }
  1505. func (m *IngressStatus) MarshalTo(data []byte) (int, error) {
  1506. var i int
  1507. _ = i
  1508. var l int
  1509. _ = l
  1510. data[i] = 0xa
  1511. i++
  1512. i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size()))
  1513. n35, err := m.LoadBalancer.MarshalTo(data[i:])
  1514. if err != nil {
  1515. return 0, err
  1516. }
  1517. i += n35
  1518. return i, nil
  1519. }
  1520. func (m *IngressTLS) Marshal() (data []byte, err error) {
  1521. size := m.Size()
  1522. data = make([]byte, size)
  1523. n, err := m.MarshalTo(data)
  1524. if err != nil {
  1525. return nil, err
  1526. }
  1527. return data[:n], nil
  1528. }
  1529. func (m *IngressTLS) MarshalTo(data []byte) (int, error) {
  1530. var i int
  1531. _ = i
  1532. var l int
  1533. _ = l
  1534. if len(m.Hosts) > 0 {
  1535. for _, s := range m.Hosts {
  1536. data[i] = 0xa
  1537. i++
  1538. l = len(s)
  1539. for l >= 1<<7 {
  1540. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1541. l >>= 7
  1542. i++
  1543. }
  1544. data[i] = uint8(l)
  1545. i++
  1546. i += copy(data[i:], s)
  1547. }
  1548. }
  1549. data[i] = 0x12
  1550. i++
  1551. i = encodeVarintGenerated(data, i, uint64(len(m.SecretName)))
  1552. i += copy(data[i:], m.SecretName)
  1553. return i, nil
  1554. }
  1555. func (m *Job) Marshal() (data []byte, err error) {
  1556. size := m.Size()
  1557. data = make([]byte, size)
  1558. n, err := m.MarshalTo(data)
  1559. if err != nil {
  1560. return nil, err
  1561. }
  1562. return data[:n], nil
  1563. }
  1564. func (m *Job) MarshalTo(data []byte) (int, error) {
  1565. var i int
  1566. _ = i
  1567. var l int
  1568. _ = l
  1569. data[i] = 0xa
  1570. i++
  1571. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1572. n36, err := m.ObjectMeta.MarshalTo(data[i:])
  1573. if err != nil {
  1574. return 0, err
  1575. }
  1576. i += n36
  1577. data[i] = 0x12
  1578. i++
  1579. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  1580. n37, err := m.Spec.MarshalTo(data[i:])
  1581. if err != nil {
  1582. return 0, err
  1583. }
  1584. i += n37
  1585. data[i] = 0x1a
  1586. i++
  1587. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  1588. n38, err := m.Status.MarshalTo(data[i:])
  1589. if err != nil {
  1590. return 0, err
  1591. }
  1592. i += n38
  1593. return i, nil
  1594. }
  1595. func (m *JobCondition) Marshal() (data []byte, err error) {
  1596. size := m.Size()
  1597. data = make([]byte, size)
  1598. n, err := m.MarshalTo(data)
  1599. if err != nil {
  1600. return nil, err
  1601. }
  1602. return data[:n], nil
  1603. }
  1604. func (m *JobCondition) MarshalTo(data []byte) (int, error) {
  1605. var i int
  1606. _ = i
  1607. var l int
  1608. _ = l
  1609. data[i] = 0xa
  1610. i++
  1611. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  1612. i += copy(data[i:], m.Type)
  1613. data[i] = 0x12
  1614. i++
  1615. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  1616. i += copy(data[i:], m.Status)
  1617. data[i] = 0x1a
  1618. i++
  1619. i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size()))
  1620. n39, err := m.LastProbeTime.MarshalTo(data[i:])
  1621. if err != nil {
  1622. return 0, err
  1623. }
  1624. i += n39
  1625. data[i] = 0x22
  1626. i++
  1627. i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size()))
  1628. n40, err := m.LastTransitionTime.MarshalTo(data[i:])
  1629. if err != nil {
  1630. return 0, err
  1631. }
  1632. i += n40
  1633. data[i] = 0x2a
  1634. i++
  1635. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  1636. i += copy(data[i:], m.Reason)
  1637. data[i] = 0x32
  1638. i++
  1639. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  1640. i += copy(data[i:], m.Message)
  1641. return i, nil
  1642. }
  1643. func (m *JobList) Marshal() (data []byte, err error) {
  1644. size := m.Size()
  1645. data = make([]byte, size)
  1646. n, err := m.MarshalTo(data)
  1647. if err != nil {
  1648. return nil, err
  1649. }
  1650. return data[:n], nil
  1651. }
  1652. func (m *JobList) MarshalTo(data []byte) (int, error) {
  1653. var i int
  1654. _ = i
  1655. var l int
  1656. _ = l
  1657. data[i] = 0xa
  1658. i++
  1659. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  1660. n41, err := m.ListMeta.MarshalTo(data[i:])
  1661. if err != nil {
  1662. return 0, err
  1663. }
  1664. i += n41
  1665. if len(m.Items) > 0 {
  1666. for _, msg := range m.Items {
  1667. data[i] = 0x12
  1668. i++
  1669. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1670. n, err := msg.MarshalTo(data[i:])
  1671. if err != nil {
  1672. return 0, err
  1673. }
  1674. i += n
  1675. }
  1676. }
  1677. return i, nil
  1678. }
  1679. func (m *JobSpec) Marshal() (data []byte, err error) {
  1680. size := m.Size()
  1681. data = make([]byte, size)
  1682. n, err := m.MarshalTo(data)
  1683. if err != nil {
  1684. return nil, err
  1685. }
  1686. return data[:n], nil
  1687. }
  1688. func (m *JobSpec) MarshalTo(data []byte) (int, error) {
  1689. var i int
  1690. _ = i
  1691. var l int
  1692. _ = l
  1693. if m.Parallelism != nil {
  1694. data[i] = 0x8
  1695. i++
  1696. i = encodeVarintGenerated(data, i, uint64(*m.Parallelism))
  1697. }
  1698. if m.Completions != nil {
  1699. data[i] = 0x10
  1700. i++
  1701. i = encodeVarintGenerated(data, i, uint64(*m.Completions))
  1702. }
  1703. if m.ActiveDeadlineSeconds != nil {
  1704. data[i] = 0x18
  1705. i++
  1706. i = encodeVarintGenerated(data, i, uint64(*m.ActiveDeadlineSeconds))
  1707. }
  1708. if m.Selector != nil {
  1709. data[i] = 0x22
  1710. i++
  1711. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  1712. n42, err := m.Selector.MarshalTo(data[i:])
  1713. if err != nil {
  1714. return 0, err
  1715. }
  1716. i += n42
  1717. }
  1718. if m.AutoSelector != nil {
  1719. data[i] = 0x28
  1720. i++
  1721. if *m.AutoSelector {
  1722. data[i] = 1
  1723. } else {
  1724. data[i] = 0
  1725. }
  1726. i++
  1727. }
  1728. data[i] = 0x32
  1729. i++
  1730. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  1731. n43, err := m.Template.MarshalTo(data[i:])
  1732. if err != nil {
  1733. return 0, err
  1734. }
  1735. i += n43
  1736. return i, nil
  1737. }
  1738. func (m *JobStatus) Marshal() (data []byte, err error) {
  1739. size := m.Size()
  1740. data = make([]byte, size)
  1741. n, err := m.MarshalTo(data)
  1742. if err != nil {
  1743. return nil, err
  1744. }
  1745. return data[:n], nil
  1746. }
  1747. func (m *JobStatus) MarshalTo(data []byte) (int, error) {
  1748. var i int
  1749. _ = i
  1750. var l int
  1751. _ = l
  1752. if len(m.Conditions) > 0 {
  1753. for _, msg := range m.Conditions {
  1754. data[i] = 0xa
  1755. i++
  1756. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1757. n, err := msg.MarshalTo(data[i:])
  1758. if err != nil {
  1759. return 0, err
  1760. }
  1761. i += n
  1762. }
  1763. }
  1764. if m.StartTime != nil {
  1765. data[i] = 0x12
  1766. i++
  1767. i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size()))
  1768. n44, err := m.StartTime.MarshalTo(data[i:])
  1769. if err != nil {
  1770. return 0, err
  1771. }
  1772. i += n44
  1773. }
  1774. if m.CompletionTime != nil {
  1775. data[i] = 0x1a
  1776. i++
  1777. i = encodeVarintGenerated(data, i, uint64(m.CompletionTime.Size()))
  1778. n45, err := m.CompletionTime.MarshalTo(data[i:])
  1779. if err != nil {
  1780. return 0, err
  1781. }
  1782. i += n45
  1783. }
  1784. data[i] = 0x20
  1785. i++
  1786. i = encodeVarintGenerated(data, i, uint64(m.Active))
  1787. data[i] = 0x28
  1788. i++
  1789. i = encodeVarintGenerated(data, i, uint64(m.Succeeded))
  1790. data[i] = 0x30
  1791. i++
  1792. i = encodeVarintGenerated(data, i, uint64(m.Failed))
  1793. return i, nil
  1794. }
  1795. func (m *LabelSelector) Marshal() (data []byte, err error) {
  1796. size := m.Size()
  1797. data = make([]byte, size)
  1798. n, err := m.MarshalTo(data)
  1799. if err != nil {
  1800. return nil, err
  1801. }
  1802. return data[:n], nil
  1803. }
  1804. func (m *LabelSelector) MarshalTo(data []byte) (int, error) {
  1805. var i int
  1806. _ = i
  1807. var l int
  1808. _ = l
  1809. if len(m.MatchLabels) > 0 {
  1810. for k := range m.MatchLabels {
  1811. data[i] = 0xa
  1812. i++
  1813. v := m.MatchLabels[k]
  1814. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1815. i = encodeVarintGenerated(data, i, uint64(mapSize))
  1816. data[i] = 0xa
  1817. i++
  1818. i = encodeVarintGenerated(data, i, uint64(len(k)))
  1819. i += copy(data[i:], k)
  1820. data[i] = 0x12
  1821. i++
  1822. i = encodeVarintGenerated(data, i, uint64(len(v)))
  1823. i += copy(data[i:], v)
  1824. }
  1825. }
  1826. if len(m.MatchExpressions) > 0 {
  1827. for _, msg := range m.MatchExpressions {
  1828. data[i] = 0x12
  1829. i++
  1830. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1831. n, err := msg.MarshalTo(data[i:])
  1832. if err != nil {
  1833. return 0, err
  1834. }
  1835. i += n
  1836. }
  1837. }
  1838. return i, nil
  1839. }
  1840. func (m *LabelSelectorRequirement) Marshal() (data []byte, err error) {
  1841. size := m.Size()
  1842. data = make([]byte, size)
  1843. n, err := m.MarshalTo(data)
  1844. if err != nil {
  1845. return nil, err
  1846. }
  1847. return data[:n], nil
  1848. }
  1849. func (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) {
  1850. var i int
  1851. _ = i
  1852. var l int
  1853. _ = l
  1854. data[i] = 0xa
  1855. i++
  1856. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  1857. i += copy(data[i:], m.Key)
  1858. data[i] = 0x12
  1859. i++
  1860. i = encodeVarintGenerated(data, i, uint64(len(m.Operator)))
  1861. i += copy(data[i:], m.Operator)
  1862. if len(m.Values) > 0 {
  1863. for _, s := range m.Values {
  1864. data[i] = 0x1a
  1865. i++
  1866. l = len(s)
  1867. for l >= 1<<7 {
  1868. data[i] = uint8(uint64(l)&0x7f | 0x80)
  1869. l >>= 7
  1870. i++
  1871. }
  1872. data[i] = uint8(l)
  1873. i++
  1874. i += copy(data[i:], s)
  1875. }
  1876. }
  1877. return i, nil
  1878. }
  1879. func (m *ListOptions) Marshal() (data []byte, err error) {
  1880. size := m.Size()
  1881. data = make([]byte, size)
  1882. n, err := m.MarshalTo(data)
  1883. if err != nil {
  1884. return nil, err
  1885. }
  1886. return data[:n], nil
  1887. }
  1888. func (m *ListOptions) MarshalTo(data []byte) (int, error) {
  1889. var i int
  1890. _ = i
  1891. var l int
  1892. _ = l
  1893. data[i] = 0xa
  1894. i++
  1895. i = encodeVarintGenerated(data, i, uint64(len(m.LabelSelector)))
  1896. i += copy(data[i:], m.LabelSelector)
  1897. data[i] = 0x12
  1898. i++
  1899. i = encodeVarintGenerated(data, i, uint64(len(m.FieldSelector)))
  1900. i += copy(data[i:], m.FieldSelector)
  1901. data[i] = 0x18
  1902. i++
  1903. if m.Watch {
  1904. data[i] = 1
  1905. } else {
  1906. data[i] = 0
  1907. }
  1908. i++
  1909. data[i] = 0x22
  1910. i++
  1911. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  1912. i += copy(data[i:], m.ResourceVersion)
  1913. if m.TimeoutSeconds != nil {
  1914. data[i] = 0x28
  1915. i++
  1916. i = encodeVarintGenerated(data, i, uint64(*m.TimeoutSeconds))
  1917. }
  1918. return i, nil
  1919. }
  1920. func (m *NetworkPolicy) Marshal() (data []byte, err error) {
  1921. size := m.Size()
  1922. data = make([]byte, size)
  1923. n, err := m.MarshalTo(data)
  1924. if err != nil {
  1925. return nil, err
  1926. }
  1927. return data[:n], nil
  1928. }
  1929. func (m *NetworkPolicy) MarshalTo(data []byte) (int, error) {
  1930. var i int
  1931. _ = i
  1932. var l int
  1933. _ = l
  1934. data[i] = 0xa
  1935. i++
  1936. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  1937. n46, err := m.ObjectMeta.MarshalTo(data[i:])
  1938. if err != nil {
  1939. return 0, err
  1940. }
  1941. i += n46
  1942. data[i] = 0x12
  1943. i++
  1944. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  1945. n47, err := m.Spec.MarshalTo(data[i:])
  1946. if err != nil {
  1947. return 0, err
  1948. }
  1949. i += n47
  1950. return i, nil
  1951. }
  1952. func (m *NetworkPolicyIngressRule) Marshal() (data []byte, err error) {
  1953. size := m.Size()
  1954. data = make([]byte, size)
  1955. n, err := m.MarshalTo(data)
  1956. if err != nil {
  1957. return nil, err
  1958. }
  1959. return data[:n], nil
  1960. }
  1961. func (m *NetworkPolicyIngressRule) MarshalTo(data []byte) (int, error) {
  1962. var i int
  1963. _ = i
  1964. var l int
  1965. _ = l
  1966. if len(m.Ports) > 0 {
  1967. for _, msg := range m.Ports {
  1968. data[i] = 0xa
  1969. i++
  1970. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1971. n, err := msg.MarshalTo(data[i:])
  1972. if err != nil {
  1973. return 0, err
  1974. }
  1975. i += n
  1976. }
  1977. }
  1978. if len(m.From) > 0 {
  1979. for _, msg := range m.From {
  1980. data[i] = 0x12
  1981. i++
  1982. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  1983. n, err := msg.MarshalTo(data[i:])
  1984. if err != nil {
  1985. return 0, err
  1986. }
  1987. i += n
  1988. }
  1989. }
  1990. return i, nil
  1991. }
  1992. func (m *NetworkPolicyList) Marshal() (data []byte, err error) {
  1993. size := m.Size()
  1994. data = make([]byte, size)
  1995. n, err := m.MarshalTo(data)
  1996. if err != nil {
  1997. return nil, err
  1998. }
  1999. return data[:n], nil
  2000. }
  2001. func (m *NetworkPolicyList) MarshalTo(data []byte) (int, error) {
  2002. var i int
  2003. _ = i
  2004. var l int
  2005. _ = l
  2006. data[i] = 0xa
  2007. i++
  2008. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2009. n48, err := m.ListMeta.MarshalTo(data[i:])
  2010. if err != nil {
  2011. return 0, err
  2012. }
  2013. i += n48
  2014. if len(m.Items) > 0 {
  2015. for _, msg := range m.Items {
  2016. data[i] = 0x12
  2017. i++
  2018. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2019. n, err := msg.MarshalTo(data[i:])
  2020. if err != nil {
  2021. return 0, err
  2022. }
  2023. i += n
  2024. }
  2025. }
  2026. return i, nil
  2027. }
  2028. func (m *NetworkPolicyPeer) Marshal() (data []byte, err error) {
  2029. size := m.Size()
  2030. data = make([]byte, size)
  2031. n, err := m.MarshalTo(data)
  2032. if err != nil {
  2033. return nil, err
  2034. }
  2035. return data[:n], nil
  2036. }
  2037. func (m *NetworkPolicyPeer) MarshalTo(data []byte) (int, error) {
  2038. var i int
  2039. _ = i
  2040. var l int
  2041. _ = l
  2042. if m.PodSelector != nil {
  2043. data[i] = 0xa
  2044. i++
  2045. i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size()))
  2046. n49, err := m.PodSelector.MarshalTo(data[i:])
  2047. if err != nil {
  2048. return 0, err
  2049. }
  2050. i += n49
  2051. }
  2052. if m.NamespaceSelector != nil {
  2053. data[i] = 0x12
  2054. i++
  2055. i = encodeVarintGenerated(data, i, uint64(m.NamespaceSelector.Size()))
  2056. n50, err := m.NamespaceSelector.MarshalTo(data[i:])
  2057. if err != nil {
  2058. return 0, err
  2059. }
  2060. i += n50
  2061. }
  2062. return i, nil
  2063. }
  2064. func (m *NetworkPolicyPort) Marshal() (data []byte, err error) {
  2065. size := m.Size()
  2066. data = make([]byte, size)
  2067. n, err := m.MarshalTo(data)
  2068. if err != nil {
  2069. return nil, err
  2070. }
  2071. return data[:n], nil
  2072. }
  2073. func (m *NetworkPolicyPort) MarshalTo(data []byte) (int, error) {
  2074. var i int
  2075. _ = i
  2076. var l int
  2077. _ = l
  2078. if m.Protocol != nil {
  2079. data[i] = 0xa
  2080. i++
  2081. i = encodeVarintGenerated(data, i, uint64(len(*m.Protocol)))
  2082. i += copy(data[i:], *m.Protocol)
  2083. }
  2084. if m.Port != nil {
  2085. data[i] = 0x12
  2086. i++
  2087. i = encodeVarintGenerated(data, i, uint64(m.Port.Size()))
  2088. n51, err := m.Port.MarshalTo(data[i:])
  2089. if err != nil {
  2090. return 0, err
  2091. }
  2092. i += n51
  2093. }
  2094. return i, nil
  2095. }
  2096. func (m *NetworkPolicySpec) Marshal() (data []byte, err error) {
  2097. size := m.Size()
  2098. data = make([]byte, size)
  2099. n, err := m.MarshalTo(data)
  2100. if err != nil {
  2101. return nil, err
  2102. }
  2103. return data[:n], nil
  2104. }
  2105. func (m *NetworkPolicySpec) MarshalTo(data []byte) (int, error) {
  2106. var i int
  2107. _ = i
  2108. var l int
  2109. _ = l
  2110. data[i] = 0xa
  2111. i++
  2112. i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size()))
  2113. n52, err := m.PodSelector.MarshalTo(data[i:])
  2114. if err != nil {
  2115. return 0, err
  2116. }
  2117. i += n52
  2118. if len(m.Ingress) > 0 {
  2119. for _, msg := range m.Ingress {
  2120. data[i] = 0x12
  2121. i++
  2122. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2123. n, err := msg.MarshalTo(data[i:])
  2124. if err != nil {
  2125. return 0, err
  2126. }
  2127. i += n
  2128. }
  2129. }
  2130. return i, nil
  2131. }
  2132. func (m *PodSecurityPolicy) Marshal() (data []byte, err error) {
  2133. size := m.Size()
  2134. data = make([]byte, size)
  2135. n, err := m.MarshalTo(data)
  2136. if err != nil {
  2137. return nil, err
  2138. }
  2139. return data[:n], nil
  2140. }
  2141. func (m *PodSecurityPolicy) MarshalTo(data []byte) (int, error) {
  2142. var i int
  2143. _ = i
  2144. var l int
  2145. _ = l
  2146. data[i] = 0xa
  2147. i++
  2148. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2149. n53, err := m.ObjectMeta.MarshalTo(data[i:])
  2150. if err != nil {
  2151. return 0, err
  2152. }
  2153. i += n53
  2154. data[i] = 0x12
  2155. i++
  2156. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  2157. n54, err := m.Spec.MarshalTo(data[i:])
  2158. if err != nil {
  2159. return 0, err
  2160. }
  2161. i += n54
  2162. return i, nil
  2163. }
  2164. func (m *PodSecurityPolicyList) Marshal() (data []byte, err error) {
  2165. size := m.Size()
  2166. data = make([]byte, size)
  2167. n, err := m.MarshalTo(data)
  2168. if err != nil {
  2169. return nil, err
  2170. }
  2171. return data[:n], nil
  2172. }
  2173. func (m *PodSecurityPolicyList) MarshalTo(data []byte) (int, error) {
  2174. var i int
  2175. _ = i
  2176. var l int
  2177. _ = l
  2178. data[i] = 0xa
  2179. i++
  2180. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2181. n55, err := m.ListMeta.MarshalTo(data[i:])
  2182. if err != nil {
  2183. return 0, err
  2184. }
  2185. i += n55
  2186. if len(m.Items) > 0 {
  2187. for _, msg := range m.Items {
  2188. data[i] = 0x12
  2189. i++
  2190. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2191. n, err := msg.MarshalTo(data[i:])
  2192. if err != nil {
  2193. return 0, err
  2194. }
  2195. i += n
  2196. }
  2197. }
  2198. return i, nil
  2199. }
  2200. func (m *PodSecurityPolicySpec) Marshal() (data []byte, err error) {
  2201. size := m.Size()
  2202. data = make([]byte, size)
  2203. n, err := m.MarshalTo(data)
  2204. if err != nil {
  2205. return nil, err
  2206. }
  2207. return data[:n], nil
  2208. }
  2209. func (m *PodSecurityPolicySpec) MarshalTo(data []byte) (int, error) {
  2210. var i int
  2211. _ = i
  2212. var l int
  2213. _ = l
  2214. data[i] = 0x8
  2215. i++
  2216. if m.Privileged {
  2217. data[i] = 1
  2218. } else {
  2219. data[i] = 0
  2220. }
  2221. i++
  2222. if len(m.DefaultAddCapabilities) > 0 {
  2223. for _, s := range m.DefaultAddCapabilities {
  2224. data[i] = 0x12
  2225. i++
  2226. l = len(s)
  2227. for l >= 1<<7 {
  2228. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2229. l >>= 7
  2230. i++
  2231. }
  2232. data[i] = uint8(l)
  2233. i++
  2234. i += copy(data[i:], s)
  2235. }
  2236. }
  2237. if len(m.RequiredDropCapabilities) > 0 {
  2238. for _, s := range m.RequiredDropCapabilities {
  2239. data[i] = 0x1a
  2240. i++
  2241. l = len(s)
  2242. for l >= 1<<7 {
  2243. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2244. l >>= 7
  2245. i++
  2246. }
  2247. data[i] = uint8(l)
  2248. i++
  2249. i += copy(data[i:], s)
  2250. }
  2251. }
  2252. if len(m.AllowedCapabilities) > 0 {
  2253. for _, s := range m.AllowedCapabilities {
  2254. data[i] = 0x22
  2255. i++
  2256. l = len(s)
  2257. for l >= 1<<7 {
  2258. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2259. l >>= 7
  2260. i++
  2261. }
  2262. data[i] = uint8(l)
  2263. i++
  2264. i += copy(data[i:], s)
  2265. }
  2266. }
  2267. if len(m.Volumes) > 0 {
  2268. for _, s := range m.Volumes {
  2269. data[i] = 0x2a
  2270. i++
  2271. l = len(s)
  2272. for l >= 1<<7 {
  2273. data[i] = uint8(uint64(l)&0x7f | 0x80)
  2274. l >>= 7
  2275. i++
  2276. }
  2277. data[i] = uint8(l)
  2278. i++
  2279. i += copy(data[i:], s)
  2280. }
  2281. }
  2282. data[i] = 0x30
  2283. i++
  2284. if m.HostNetwork {
  2285. data[i] = 1
  2286. } else {
  2287. data[i] = 0
  2288. }
  2289. i++
  2290. if len(m.HostPorts) > 0 {
  2291. for _, msg := range m.HostPorts {
  2292. data[i] = 0x3a
  2293. i++
  2294. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2295. n, err := msg.MarshalTo(data[i:])
  2296. if err != nil {
  2297. return 0, err
  2298. }
  2299. i += n
  2300. }
  2301. }
  2302. data[i] = 0x40
  2303. i++
  2304. if m.HostPID {
  2305. data[i] = 1
  2306. } else {
  2307. data[i] = 0
  2308. }
  2309. i++
  2310. data[i] = 0x48
  2311. i++
  2312. if m.HostIPC {
  2313. data[i] = 1
  2314. } else {
  2315. data[i] = 0
  2316. }
  2317. i++
  2318. data[i] = 0x52
  2319. i++
  2320. i = encodeVarintGenerated(data, i, uint64(m.SELinux.Size()))
  2321. n56, err := m.SELinux.MarshalTo(data[i:])
  2322. if err != nil {
  2323. return 0, err
  2324. }
  2325. i += n56
  2326. data[i] = 0x5a
  2327. i++
  2328. i = encodeVarintGenerated(data, i, uint64(m.RunAsUser.Size()))
  2329. n57, err := m.RunAsUser.MarshalTo(data[i:])
  2330. if err != nil {
  2331. return 0, err
  2332. }
  2333. i += n57
  2334. data[i] = 0x62
  2335. i++
  2336. i = encodeVarintGenerated(data, i, uint64(m.SupplementalGroups.Size()))
  2337. n58, err := m.SupplementalGroups.MarshalTo(data[i:])
  2338. if err != nil {
  2339. return 0, err
  2340. }
  2341. i += n58
  2342. data[i] = 0x6a
  2343. i++
  2344. i = encodeVarintGenerated(data, i, uint64(m.FSGroup.Size()))
  2345. n59, err := m.FSGroup.MarshalTo(data[i:])
  2346. if err != nil {
  2347. return 0, err
  2348. }
  2349. i += n59
  2350. data[i] = 0x70
  2351. i++
  2352. if m.ReadOnlyRootFilesystem {
  2353. data[i] = 1
  2354. } else {
  2355. data[i] = 0
  2356. }
  2357. i++
  2358. return i, nil
  2359. }
  2360. func (m *ReplicaSet) Marshal() (data []byte, err error) {
  2361. size := m.Size()
  2362. data = make([]byte, size)
  2363. n, err := m.MarshalTo(data)
  2364. if err != nil {
  2365. return nil, err
  2366. }
  2367. return data[:n], nil
  2368. }
  2369. func (m *ReplicaSet) MarshalTo(data []byte) (int, error) {
  2370. var i int
  2371. _ = i
  2372. var l int
  2373. _ = l
  2374. data[i] = 0xa
  2375. i++
  2376. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2377. n60, err := m.ObjectMeta.MarshalTo(data[i:])
  2378. if err != nil {
  2379. return 0, err
  2380. }
  2381. i += n60
  2382. data[i] = 0x12
  2383. i++
  2384. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  2385. n61, err := m.Spec.MarshalTo(data[i:])
  2386. if err != nil {
  2387. return 0, err
  2388. }
  2389. i += n61
  2390. data[i] = 0x1a
  2391. i++
  2392. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  2393. n62, err := m.Status.MarshalTo(data[i:])
  2394. if err != nil {
  2395. return 0, err
  2396. }
  2397. i += n62
  2398. return i, nil
  2399. }
  2400. func (m *ReplicaSetList) Marshal() (data []byte, err error) {
  2401. size := m.Size()
  2402. data = make([]byte, size)
  2403. n, err := m.MarshalTo(data)
  2404. if err != nil {
  2405. return nil, err
  2406. }
  2407. return data[:n], nil
  2408. }
  2409. func (m *ReplicaSetList) MarshalTo(data []byte) (int, error) {
  2410. var i int
  2411. _ = i
  2412. var l int
  2413. _ = l
  2414. data[i] = 0xa
  2415. i++
  2416. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2417. n63, err := m.ListMeta.MarshalTo(data[i:])
  2418. if err != nil {
  2419. return 0, err
  2420. }
  2421. i += n63
  2422. if len(m.Items) > 0 {
  2423. for _, msg := range m.Items {
  2424. data[i] = 0x12
  2425. i++
  2426. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2427. n, err := msg.MarshalTo(data[i:])
  2428. if err != nil {
  2429. return 0, err
  2430. }
  2431. i += n
  2432. }
  2433. }
  2434. return i, nil
  2435. }
  2436. func (m *ReplicaSetSpec) Marshal() (data []byte, err error) {
  2437. size := m.Size()
  2438. data = make([]byte, size)
  2439. n, err := m.MarshalTo(data)
  2440. if err != nil {
  2441. return nil, err
  2442. }
  2443. return data[:n], nil
  2444. }
  2445. func (m *ReplicaSetSpec) MarshalTo(data []byte) (int, error) {
  2446. var i int
  2447. _ = i
  2448. var l int
  2449. _ = l
  2450. if m.Replicas != nil {
  2451. data[i] = 0x8
  2452. i++
  2453. i = encodeVarintGenerated(data, i, uint64(*m.Replicas))
  2454. }
  2455. if m.Selector != nil {
  2456. data[i] = 0x12
  2457. i++
  2458. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  2459. n64, err := m.Selector.MarshalTo(data[i:])
  2460. if err != nil {
  2461. return 0, err
  2462. }
  2463. i += n64
  2464. }
  2465. data[i] = 0x1a
  2466. i++
  2467. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  2468. n65, err := m.Template.MarshalTo(data[i:])
  2469. if err != nil {
  2470. return 0, err
  2471. }
  2472. i += n65
  2473. return i, nil
  2474. }
  2475. func (m *ReplicaSetStatus) Marshal() (data []byte, err error) {
  2476. size := m.Size()
  2477. data = make([]byte, size)
  2478. n, err := m.MarshalTo(data)
  2479. if err != nil {
  2480. return nil, err
  2481. }
  2482. return data[:n], nil
  2483. }
  2484. func (m *ReplicaSetStatus) MarshalTo(data []byte) (int, error) {
  2485. var i int
  2486. _ = i
  2487. var l int
  2488. _ = l
  2489. data[i] = 0x8
  2490. i++
  2491. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  2492. data[i] = 0x10
  2493. i++
  2494. i = encodeVarintGenerated(data, i, uint64(m.FullyLabeledReplicas))
  2495. data[i] = 0x18
  2496. i++
  2497. i = encodeVarintGenerated(data, i, uint64(m.ObservedGeneration))
  2498. data[i] = 0x20
  2499. i++
  2500. i = encodeVarintGenerated(data, i, uint64(m.ReadyReplicas))
  2501. return i, nil
  2502. }
  2503. func (m *ReplicationControllerDummy) Marshal() (data []byte, err error) {
  2504. size := m.Size()
  2505. data = make([]byte, size)
  2506. n, err := m.MarshalTo(data)
  2507. if err != nil {
  2508. return nil, err
  2509. }
  2510. return data[:n], nil
  2511. }
  2512. func (m *ReplicationControllerDummy) MarshalTo(data []byte) (int, error) {
  2513. var i int
  2514. _ = i
  2515. var l int
  2516. _ = l
  2517. return i, nil
  2518. }
  2519. func (m *RollbackConfig) Marshal() (data []byte, err error) {
  2520. size := m.Size()
  2521. data = make([]byte, size)
  2522. n, err := m.MarshalTo(data)
  2523. if err != nil {
  2524. return nil, err
  2525. }
  2526. return data[:n], nil
  2527. }
  2528. func (m *RollbackConfig) MarshalTo(data []byte) (int, error) {
  2529. var i int
  2530. _ = i
  2531. var l int
  2532. _ = l
  2533. data[i] = 0x8
  2534. i++
  2535. i = encodeVarintGenerated(data, i, uint64(m.Revision))
  2536. return i, nil
  2537. }
  2538. func (m *RollingUpdateDeployment) Marshal() (data []byte, err error) {
  2539. size := m.Size()
  2540. data = make([]byte, size)
  2541. n, err := m.MarshalTo(data)
  2542. if err != nil {
  2543. return nil, err
  2544. }
  2545. return data[:n], nil
  2546. }
  2547. func (m *RollingUpdateDeployment) MarshalTo(data []byte) (int, error) {
  2548. var i int
  2549. _ = i
  2550. var l int
  2551. _ = l
  2552. if m.MaxUnavailable != nil {
  2553. data[i] = 0xa
  2554. i++
  2555. i = encodeVarintGenerated(data, i, uint64(m.MaxUnavailable.Size()))
  2556. n66, err := m.MaxUnavailable.MarshalTo(data[i:])
  2557. if err != nil {
  2558. return 0, err
  2559. }
  2560. i += n66
  2561. }
  2562. if m.MaxSurge != nil {
  2563. data[i] = 0x12
  2564. i++
  2565. i = encodeVarintGenerated(data, i, uint64(m.MaxSurge.Size()))
  2566. n67, err := m.MaxSurge.MarshalTo(data[i:])
  2567. if err != nil {
  2568. return 0, err
  2569. }
  2570. i += n67
  2571. }
  2572. return i, nil
  2573. }
  2574. func (m *RunAsUserStrategyOptions) Marshal() (data []byte, err error) {
  2575. size := m.Size()
  2576. data = make([]byte, size)
  2577. n, err := m.MarshalTo(data)
  2578. if err != nil {
  2579. return nil, err
  2580. }
  2581. return data[:n], nil
  2582. }
  2583. func (m *RunAsUserStrategyOptions) MarshalTo(data []byte) (int, error) {
  2584. var i int
  2585. _ = i
  2586. var l int
  2587. _ = l
  2588. data[i] = 0xa
  2589. i++
  2590. i = encodeVarintGenerated(data, i, uint64(len(m.Rule)))
  2591. i += copy(data[i:], m.Rule)
  2592. if len(m.Ranges) > 0 {
  2593. for _, msg := range m.Ranges {
  2594. data[i] = 0x12
  2595. i++
  2596. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2597. n, err := msg.MarshalTo(data[i:])
  2598. if err != nil {
  2599. return 0, err
  2600. }
  2601. i += n
  2602. }
  2603. }
  2604. return i, nil
  2605. }
  2606. func (m *SELinuxStrategyOptions) Marshal() (data []byte, err error) {
  2607. size := m.Size()
  2608. data = make([]byte, size)
  2609. n, err := m.MarshalTo(data)
  2610. if err != nil {
  2611. return nil, err
  2612. }
  2613. return data[:n], nil
  2614. }
  2615. func (m *SELinuxStrategyOptions) MarshalTo(data []byte) (int, error) {
  2616. var i int
  2617. _ = i
  2618. var l int
  2619. _ = l
  2620. data[i] = 0xa
  2621. i++
  2622. i = encodeVarintGenerated(data, i, uint64(len(m.Rule)))
  2623. i += copy(data[i:], m.Rule)
  2624. if m.SELinuxOptions != nil {
  2625. data[i] = 0x12
  2626. i++
  2627. i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size()))
  2628. n68, err := m.SELinuxOptions.MarshalTo(data[i:])
  2629. if err != nil {
  2630. return 0, err
  2631. }
  2632. i += n68
  2633. }
  2634. return i, nil
  2635. }
  2636. func (m *Scale) Marshal() (data []byte, err error) {
  2637. size := m.Size()
  2638. data = make([]byte, size)
  2639. n, err := m.MarshalTo(data)
  2640. if err != nil {
  2641. return nil, err
  2642. }
  2643. return data[:n], nil
  2644. }
  2645. func (m *Scale) MarshalTo(data []byte) (int, error) {
  2646. var i int
  2647. _ = i
  2648. var l int
  2649. _ = l
  2650. data[i] = 0xa
  2651. i++
  2652. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2653. n69, err := m.ObjectMeta.MarshalTo(data[i:])
  2654. if err != nil {
  2655. return 0, err
  2656. }
  2657. i += n69
  2658. data[i] = 0x12
  2659. i++
  2660. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  2661. n70, err := m.Spec.MarshalTo(data[i:])
  2662. if err != nil {
  2663. return 0, err
  2664. }
  2665. i += n70
  2666. data[i] = 0x1a
  2667. i++
  2668. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  2669. n71, err := m.Status.MarshalTo(data[i:])
  2670. if err != nil {
  2671. return 0, err
  2672. }
  2673. i += n71
  2674. return i, nil
  2675. }
  2676. func (m *ScaleSpec) Marshal() (data []byte, err error) {
  2677. size := m.Size()
  2678. data = make([]byte, size)
  2679. n, err := m.MarshalTo(data)
  2680. if err != nil {
  2681. return nil, err
  2682. }
  2683. return data[:n], nil
  2684. }
  2685. func (m *ScaleSpec) MarshalTo(data []byte) (int, error) {
  2686. var i int
  2687. _ = i
  2688. var l int
  2689. _ = l
  2690. data[i] = 0x8
  2691. i++
  2692. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  2693. return i, nil
  2694. }
  2695. func (m *ScaleStatus) Marshal() (data []byte, err error) {
  2696. size := m.Size()
  2697. data = make([]byte, size)
  2698. n, err := m.MarshalTo(data)
  2699. if err != nil {
  2700. return nil, err
  2701. }
  2702. return data[:n], nil
  2703. }
  2704. func (m *ScaleStatus) MarshalTo(data []byte) (int, error) {
  2705. var i int
  2706. _ = i
  2707. var l int
  2708. _ = l
  2709. data[i] = 0x8
  2710. i++
  2711. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  2712. if len(m.Selector) > 0 {
  2713. for k := range m.Selector {
  2714. data[i] = 0x12
  2715. i++
  2716. v := m.Selector[k]
  2717. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  2718. i = encodeVarintGenerated(data, i, uint64(mapSize))
  2719. data[i] = 0xa
  2720. i++
  2721. i = encodeVarintGenerated(data, i, uint64(len(k)))
  2722. i += copy(data[i:], k)
  2723. data[i] = 0x12
  2724. i++
  2725. i = encodeVarintGenerated(data, i, uint64(len(v)))
  2726. i += copy(data[i:], v)
  2727. }
  2728. }
  2729. data[i] = 0x1a
  2730. i++
  2731. i = encodeVarintGenerated(data, i, uint64(len(m.TargetSelector)))
  2732. i += copy(data[i:], m.TargetSelector)
  2733. return i, nil
  2734. }
  2735. func (m *StorageClass) Marshal() (data []byte, err error) {
  2736. size := m.Size()
  2737. data = make([]byte, size)
  2738. n, err := m.MarshalTo(data)
  2739. if err != nil {
  2740. return nil, err
  2741. }
  2742. return data[:n], nil
  2743. }
  2744. func (m *StorageClass) MarshalTo(data []byte) (int, error) {
  2745. var i int
  2746. _ = i
  2747. var l int
  2748. _ = l
  2749. data[i] = 0xa
  2750. i++
  2751. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2752. n72, err := m.ObjectMeta.MarshalTo(data[i:])
  2753. if err != nil {
  2754. return 0, err
  2755. }
  2756. i += n72
  2757. data[i] = 0x12
  2758. i++
  2759. i = encodeVarintGenerated(data, i, uint64(len(m.Provisioner)))
  2760. i += copy(data[i:], m.Provisioner)
  2761. if len(m.Parameters) > 0 {
  2762. for k := range m.Parameters {
  2763. data[i] = 0x1a
  2764. i++
  2765. v := m.Parameters[k]
  2766. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  2767. i = encodeVarintGenerated(data, i, uint64(mapSize))
  2768. data[i] = 0xa
  2769. i++
  2770. i = encodeVarintGenerated(data, i, uint64(len(k)))
  2771. i += copy(data[i:], k)
  2772. data[i] = 0x12
  2773. i++
  2774. i = encodeVarintGenerated(data, i, uint64(len(v)))
  2775. i += copy(data[i:], v)
  2776. }
  2777. }
  2778. return i, nil
  2779. }
  2780. func (m *StorageClassList) Marshal() (data []byte, err error) {
  2781. size := m.Size()
  2782. data = make([]byte, size)
  2783. n, err := m.MarshalTo(data)
  2784. if err != nil {
  2785. return nil, err
  2786. }
  2787. return data[:n], nil
  2788. }
  2789. func (m *StorageClassList) MarshalTo(data []byte) (int, error) {
  2790. var i int
  2791. _ = i
  2792. var l int
  2793. _ = l
  2794. data[i] = 0xa
  2795. i++
  2796. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2797. n73, err := m.ListMeta.MarshalTo(data[i:])
  2798. if err != nil {
  2799. return 0, err
  2800. }
  2801. i += n73
  2802. if len(m.Items) > 0 {
  2803. for _, msg := range m.Items {
  2804. data[i] = 0x12
  2805. i++
  2806. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2807. n, err := msg.MarshalTo(data[i:])
  2808. if err != nil {
  2809. return 0, err
  2810. }
  2811. i += n
  2812. }
  2813. }
  2814. return i, nil
  2815. }
  2816. func (m *SubresourceReference) Marshal() (data []byte, err error) {
  2817. size := m.Size()
  2818. data = make([]byte, size)
  2819. n, err := m.MarshalTo(data)
  2820. if err != nil {
  2821. return nil, err
  2822. }
  2823. return data[:n], nil
  2824. }
  2825. func (m *SubresourceReference) MarshalTo(data []byte) (int, error) {
  2826. var i int
  2827. _ = i
  2828. var l int
  2829. _ = l
  2830. data[i] = 0xa
  2831. i++
  2832. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  2833. i += copy(data[i:], m.Kind)
  2834. data[i] = 0x12
  2835. i++
  2836. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  2837. i += copy(data[i:], m.Name)
  2838. data[i] = 0x1a
  2839. i++
  2840. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  2841. i += copy(data[i:], m.APIVersion)
  2842. data[i] = 0x22
  2843. i++
  2844. i = encodeVarintGenerated(data, i, uint64(len(m.Subresource)))
  2845. i += copy(data[i:], m.Subresource)
  2846. return i, nil
  2847. }
  2848. func (m *SupplementalGroupsStrategyOptions) Marshal() (data []byte, err error) {
  2849. size := m.Size()
  2850. data = make([]byte, size)
  2851. n, err := m.MarshalTo(data)
  2852. if err != nil {
  2853. return nil, err
  2854. }
  2855. return data[:n], nil
  2856. }
  2857. func (m *SupplementalGroupsStrategyOptions) MarshalTo(data []byte) (int, error) {
  2858. var i int
  2859. _ = i
  2860. var l int
  2861. _ = l
  2862. data[i] = 0xa
  2863. i++
  2864. i = encodeVarintGenerated(data, i, uint64(len(m.Rule)))
  2865. i += copy(data[i:], m.Rule)
  2866. if len(m.Ranges) > 0 {
  2867. for _, msg := range m.Ranges {
  2868. data[i] = 0x12
  2869. i++
  2870. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2871. n, err := msg.MarshalTo(data[i:])
  2872. if err != nil {
  2873. return 0, err
  2874. }
  2875. i += n
  2876. }
  2877. }
  2878. return i, nil
  2879. }
  2880. func (m *ThirdPartyResource) Marshal() (data []byte, err error) {
  2881. size := m.Size()
  2882. data = make([]byte, size)
  2883. n, err := m.MarshalTo(data)
  2884. if err != nil {
  2885. return nil, err
  2886. }
  2887. return data[:n], nil
  2888. }
  2889. func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error) {
  2890. var i int
  2891. _ = i
  2892. var l int
  2893. _ = l
  2894. data[i] = 0xa
  2895. i++
  2896. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2897. n74, err := m.ObjectMeta.MarshalTo(data[i:])
  2898. if err != nil {
  2899. return 0, err
  2900. }
  2901. i += n74
  2902. data[i] = 0x12
  2903. i++
  2904. i = encodeVarintGenerated(data, i, uint64(len(m.Description)))
  2905. i += copy(data[i:], m.Description)
  2906. if len(m.Versions) > 0 {
  2907. for _, msg := range m.Versions {
  2908. data[i] = 0x1a
  2909. i++
  2910. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2911. n, err := msg.MarshalTo(data[i:])
  2912. if err != nil {
  2913. return 0, err
  2914. }
  2915. i += n
  2916. }
  2917. }
  2918. return i, nil
  2919. }
  2920. func (m *ThirdPartyResourceData) Marshal() (data []byte, err error) {
  2921. size := m.Size()
  2922. data = make([]byte, size)
  2923. n, err := m.MarshalTo(data)
  2924. if err != nil {
  2925. return nil, err
  2926. }
  2927. return data[:n], nil
  2928. }
  2929. func (m *ThirdPartyResourceData) MarshalTo(data []byte) (int, error) {
  2930. var i int
  2931. _ = i
  2932. var l int
  2933. _ = l
  2934. data[i] = 0xa
  2935. i++
  2936. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  2937. n75, err := m.ObjectMeta.MarshalTo(data[i:])
  2938. if err != nil {
  2939. return 0, err
  2940. }
  2941. i += n75
  2942. if m.Data != nil {
  2943. data[i] = 0x12
  2944. i++
  2945. i = encodeVarintGenerated(data, i, uint64(len(m.Data)))
  2946. i += copy(data[i:], m.Data)
  2947. }
  2948. return i, nil
  2949. }
  2950. func (m *ThirdPartyResourceDataList) Marshal() (data []byte, err error) {
  2951. size := m.Size()
  2952. data = make([]byte, size)
  2953. n, err := m.MarshalTo(data)
  2954. if err != nil {
  2955. return nil, err
  2956. }
  2957. return data[:n], nil
  2958. }
  2959. func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error) {
  2960. var i int
  2961. _ = i
  2962. var l int
  2963. _ = l
  2964. data[i] = 0xa
  2965. i++
  2966. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  2967. n76, err := m.ListMeta.MarshalTo(data[i:])
  2968. if err != nil {
  2969. return 0, err
  2970. }
  2971. i += n76
  2972. if len(m.Items) > 0 {
  2973. for _, msg := range m.Items {
  2974. data[i] = 0x12
  2975. i++
  2976. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  2977. n, err := msg.MarshalTo(data[i:])
  2978. if err != nil {
  2979. return 0, err
  2980. }
  2981. i += n
  2982. }
  2983. }
  2984. return i, nil
  2985. }
  2986. func (m *ThirdPartyResourceList) Marshal() (data []byte, err error) {
  2987. size := m.Size()
  2988. data = make([]byte, size)
  2989. n, err := m.MarshalTo(data)
  2990. if err != nil {
  2991. return nil, err
  2992. }
  2993. return data[:n], nil
  2994. }
  2995. func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error) {
  2996. var i int
  2997. _ = i
  2998. var l int
  2999. _ = l
  3000. data[i] = 0xa
  3001. i++
  3002. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  3003. n77, err := m.ListMeta.MarshalTo(data[i:])
  3004. if err != nil {
  3005. return 0, err
  3006. }
  3007. i += n77
  3008. if len(m.Items) > 0 {
  3009. for _, msg := range m.Items {
  3010. data[i] = 0x12
  3011. i++
  3012. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  3013. n, err := msg.MarshalTo(data[i:])
  3014. if err != nil {
  3015. return 0, err
  3016. }
  3017. i += n
  3018. }
  3019. }
  3020. return i, nil
  3021. }
  3022. func encodeFixed64Generated(data []byte, offset int, v uint64) int {
  3023. data[offset] = uint8(v)
  3024. data[offset+1] = uint8(v >> 8)
  3025. data[offset+2] = uint8(v >> 16)
  3026. data[offset+3] = uint8(v >> 24)
  3027. data[offset+4] = uint8(v >> 32)
  3028. data[offset+5] = uint8(v >> 40)
  3029. data[offset+6] = uint8(v >> 48)
  3030. data[offset+7] = uint8(v >> 56)
  3031. return offset + 8
  3032. }
  3033. func encodeFixed32Generated(data []byte, offset int, v uint32) int {
  3034. data[offset] = uint8(v)
  3035. data[offset+1] = uint8(v >> 8)
  3036. data[offset+2] = uint8(v >> 16)
  3037. data[offset+3] = uint8(v >> 24)
  3038. return offset + 4
  3039. }
  3040. func encodeVarintGenerated(data []byte, offset int, v uint64) int {
  3041. for v >= 1<<7 {
  3042. data[offset] = uint8(v&0x7f | 0x80)
  3043. v >>= 7
  3044. offset++
  3045. }
  3046. data[offset] = uint8(v)
  3047. return offset + 1
  3048. }
  3049. func (m *APIVersion) Size() (n int) {
  3050. var l int
  3051. _ = l
  3052. l = len(m.Name)
  3053. n += 1 + l + sovGenerated(uint64(l))
  3054. return n
  3055. }
  3056. func (m *CPUTargetUtilization) Size() (n int) {
  3057. var l int
  3058. _ = l
  3059. n += 1 + sovGenerated(uint64(m.TargetPercentage))
  3060. return n
  3061. }
  3062. func (m *CustomMetricCurrentStatus) Size() (n int) {
  3063. var l int
  3064. _ = l
  3065. l = len(m.Name)
  3066. n += 1 + l + sovGenerated(uint64(l))
  3067. l = m.CurrentValue.Size()
  3068. n += 1 + l + sovGenerated(uint64(l))
  3069. return n
  3070. }
  3071. func (m *CustomMetricCurrentStatusList) Size() (n int) {
  3072. var l int
  3073. _ = l
  3074. if len(m.Items) > 0 {
  3075. for _, e := range m.Items {
  3076. l = e.Size()
  3077. n += 1 + l + sovGenerated(uint64(l))
  3078. }
  3079. }
  3080. return n
  3081. }
  3082. func (m *CustomMetricTarget) Size() (n int) {
  3083. var l int
  3084. _ = l
  3085. l = len(m.Name)
  3086. n += 1 + l + sovGenerated(uint64(l))
  3087. l = m.TargetValue.Size()
  3088. n += 1 + l + sovGenerated(uint64(l))
  3089. return n
  3090. }
  3091. func (m *CustomMetricTargetList) Size() (n int) {
  3092. var l int
  3093. _ = l
  3094. if len(m.Items) > 0 {
  3095. for _, e := range m.Items {
  3096. l = e.Size()
  3097. n += 1 + l + sovGenerated(uint64(l))
  3098. }
  3099. }
  3100. return n
  3101. }
  3102. func (m *DaemonSet) Size() (n int) {
  3103. var l int
  3104. _ = l
  3105. l = m.ObjectMeta.Size()
  3106. n += 1 + l + sovGenerated(uint64(l))
  3107. l = m.Spec.Size()
  3108. n += 1 + l + sovGenerated(uint64(l))
  3109. l = m.Status.Size()
  3110. n += 1 + l + sovGenerated(uint64(l))
  3111. return n
  3112. }
  3113. func (m *DaemonSetList) Size() (n int) {
  3114. var l int
  3115. _ = l
  3116. l = m.ListMeta.Size()
  3117. n += 1 + l + sovGenerated(uint64(l))
  3118. if len(m.Items) > 0 {
  3119. for _, e := range m.Items {
  3120. l = e.Size()
  3121. n += 1 + l + sovGenerated(uint64(l))
  3122. }
  3123. }
  3124. return n
  3125. }
  3126. func (m *DaemonSetSpec) Size() (n int) {
  3127. var l int
  3128. _ = l
  3129. if m.Selector != nil {
  3130. l = m.Selector.Size()
  3131. n += 1 + l + sovGenerated(uint64(l))
  3132. }
  3133. l = m.Template.Size()
  3134. n += 1 + l + sovGenerated(uint64(l))
  3135. return n
  3136. }
  3137. func (m *DaemonSetStatus) Size() (n int) {
  3138. var l int
  3139. _ = l
  3140. n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled))
  3141. n += 1 + sovGenerated(uint64(m.NumberMisscheduled))
  3142. n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled))
  3143. return n
  3144. }
  3145. func (m *Deployment) Size() (n int) {
  3146. var l int
  3147. _ = l
  3148. l = m.ObjectMeta.Size()
  3149. n += 1 + l + sovGenerated(uint64(l))
  3150. l = m.Spec.Size()
  3151. n += 1 + l + sovGenerated(uint64(l))
  3152. l = m.Status.Size()
  3153. n += 1 + l + sovGenerated(uint64(l))
  3154. return n
  3155. }
  3156. func (m *DeploymentList) Size() (n int) {
  3157. var l int
  3158. _ = l
  3159. l = m.ListMeta.Size()
  3160. n += 1 + l + sovGenerated(uint64(l))
  3161. if len(m.Items) > 0 {
  3162. for _, e := range m.Items {
  3163. l = e.Size()
  3164. n += 1 + l + sovGenerated(uint64(l))
  3165. }
  3166. }
  3167. return n
  3168. }
  3169. func (m *DeploymentRollback) Size() (n int) {
  3170. var l int
  3171. _ = l
  3172. l = len(m.Name)
  3173. n += 1 + l + sovGenerated(uint64(l))
  3174. if len(m.UpdatedAnnotations) > 0 {
  3175. for k, v := range m.UpdatedAnnotations {
  3176. _ = k
  3177. _ = v
  3178. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3179. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  3180. }
  3181. }
  3182. l = m.RollbackTo.Size()
  3183. n += 1 + l + sovGenerated(uint64(l))
  3184. return n
  3185. }
  3186. func (m *DeploymentSpec) Size() (n int) {
  3187. var l int
  3188. _ = l
  3189. if m.Replicas != nil {
  3190. n += 1 + sovGenerated(uint64(*m.Replicas))
  3191. }
  3192. if m.Selector != nil {
  3193. l = m.Selector.Size()
  3194. n += 1 + l + sovGenerated(uint64(l))
  3195. }
  3196. l = m.Template.Size()
  3197. n += 1 + l + sovGenerated(uint64(l))
  3198. l = m.Strategy.Size()
  3199. n += 1 + l + sovGenerated(uint64(l))
  3200. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  3201. if m.RevisionHistoryLimit != nil {
  3202. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  3203. }
  3204. n += 2
  3205. if m.RollbackTo != nil {
  3206. l = m.RollbackTo.Size()
  3207. n += 1 + l + sovGenerated(uint64(l))
  3208. }
  3209. return n
  3210. }
  3211. func (m *DeploymentStatus) Size() (n int) {
  3212. var l int
  3213. _ = l
  3214. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  3215. n += 1 + sovGenerated(uint64(m.Replicas))
  3216. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  3217. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  3218. n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
  3219. return n
  3220. }
  3221. func (m *DeploymentStrategy) Size() (n int) {
  3222. var l int
  3223. _ = l
  3224. l = len(m.Type)
  3225. n += 1 + l + sovGenerated(uint64(l))
  3226. if m.RollingUpdate != nil {
  3227. l = m.RollingUpdate.Size()
  3228. n += 1 + l + sovGenerated(uint64(l))
  3229. }
  3230. return n
  3231. }
  3232. func (m *ExportOptions) Size() (n int) {
  3233. var l int
  3234. _ = l
  3235. n += 2
  3236. n += 2
  3237. return n
  3238. }
  3239. func (m *FSGroupStrategyOptions) Size() (n int) {
  3240. var l int
  3241. _ = l
  3242. l = len(m.Rule)
  3243. n += 1 + l + sovGenerated(uint64(l))
  3244. if len(m.Ranges) > 0 {
  3245. for _, e := range m.Ranges {
  3246. l = e.Size()
  3247. n += 1 + l + sovGenerated(uint64(l))
  3248. }
  3249. }
  3250. return n
  3251. }
  3252. func (m *HTTPIngressPath) Size() (n int) {
  3253. var l int
  3254. _ = l
  3255. l = len(m.Path)
  3256. n += 1 + l + sovGenerated(uint64(l))
  3257. l = m.Backend.Size()
  3258. n += 1 + l + sovGenerated(uint64(l))
  3259. return n
  3260. }
  3261. func (m *HTTPIngressRuleValue) Size() (n int) {
  3262. var l int
  3263. _ = l
  3264. if len(m.Paths) > 0 {
  3265. for _, e := range m.Paths {
  3266. l = e.Size()
  3267. n += 1 + l + sovGenerated(uint64(l))
  3268. }
  3269. }
  3270. return n
  3271. }
  3272. func (m *HorizontalPodAutoscaler) Size() (n int) {
  3273. var l int
  3274. _ = l
  3275. l = m.ObjectMeta.Size()
  3276. n += 1 + l + sovGenerated(uint64(l))
  3277. l = m.Spec.Size()
  3278. n += 1 + l + sovGenerated(uint64(l))
  3279. l = m.Status.Size()
  3280. n += 1 + l + sovGenerated(uint64(l))
  3281. return n
  3282. }
  3283. func (m *HorizontalPodAutoscalerList) Size() (n int) {
  3284. var l int
  3285. _ = l
  3286. l = m.ListMeta.Size()
  3287. n += 1 + l + sovGenerated(uint64(l))
  3288. if len(m.Items) > 0 {
  3289. for _, e := range m.Items {
  3290. l = e.Size()
  3291. n += 1 + l + sovGenerated(uint64(l))
  3292. }
  3293. }
  3294. return n
  3295. }
  3296. func (m *HorizontalPodAutoscalerSpec) Size() (n int) {
  3297. var l int
  3298. _ = l
  3299. l = m.ScaleRef.Size()
  3300. n += 1 + l + sovGenerated(uint64(l))
  3301. if m.MinReplicas != nil {
  3302. n += 1 + sovGenerated(uint64(*m.MinReplicas))
  3303. }
  3304. n += 1 + sovGenerated(uint64(m.MaxReplicas))
  3305. if m.CPUUtilization != nil {
  3306. l = m.CPUUtilization.Size()
  3307. n += 1 + l + sovGenerated(uint64(l))
  3308. }
  3309. return n
  3310. }
  3311. func (m *HorizontalPodAutoscalerStatus) Size() (n int) {
  3312. var l int
  3313. _ = l
  3314. if m.ObservedGeneration != nil {
  3315. n += 1 + sovGenerated(uint64(*m.ObservedGeneration))
  3316. }
  3317. if m.LastScaleTime != nil {
  3318. l = m.LastScaleTime.Size()
  3319. n += 1 + l + sovGenerated(uint64(l))
  3320. }
  3321. n += 1 + sovGenerated(uint64(m.CurrentReplicas))
  3322. n += 1 + sovGenerated(uint64(m.DesiredReplicas))
  3323. if m.CurrentCPUUtilizationPercentage != nil {
  3324. n += 1 + sovGenerated(uint64(*m.CurrentCPUUtilizationPercentage))
  3325. }
  3326. return n
  3327. }
  3328. func (m *HostPortRange) Size() (n int) {
  3329. var l int
  3330. _ = l
  3331. n += 1 + sovGenerated(uint64(m.Min))
  3332. n += 1 + sovGenerated(uint64(m.Max))
  3333. return n
  3334. }
  3335. func (m *IDRange) Size() (n int) {
  3336. var l int
  3337. _ = l
  3338. n += 1 + sovGenerated(uint64(m.Min))
  3339. n += 1 + sovGenerated(uint64(m.Max))
  3340. return n
  3341. }
  3342. func (m *Ingress) Size() (n int) {
  3343. var l int
  3344. _ = l
  3345. l = m.ObjectMeta.Size()
  3346. n += 1 + l + sovGenerated(uint64(l))
  3347. l = m.Spec.Size()
  3348. n += 1 + l + sovGenerated(uint64(l))
  3349. l = m.Status.Size()
  3350. n += 1 + l + sovGenerated(uint64(l))
  3351. return n
  3352. }
  3353. func (m *IngressBackend) Size() (n int) {
  3354. var l int
  3355. _ = l
  3356. l = len(m.ServiceName)
  3357. n += 1 + l + sovGenerated(uint64(l))
  3358. l = m.ServicePort.Size()
  3359. n += 1 + l + sovGenerated(uint64(l))
  3360. return n
  3361. }
  3362. func (m *IngressList) Size() (n int) {
  3363. var l int
  3364. _ = l
  3365. l = m.ListMeta.Size()
  3366. n += 1 + l + sovGenerated(uint64(l))
  3367. if len(m.Items) > 0 {
  3368. for _, e := range m.Items {
  3369. l = e.Size()
  3370. n += 1 + l + sovGenerated(uint64(l))
  3371. }
  3372. }
  3373. return n
  3374. }
  3375. func (m *IngressRule) Size() (n int) {
  3376. var l int
  3377. _ = l
  3378. l = len(m.Host)
  3379. n += 1 + l + sovGenerated(uint64(l))
  3380. l = m.IngressRuleValue.Size()
  3381. n += 1 + l + sovGenerated(uint64(l))
  3382. return n
  3383. }
  3384. func (m *IngressRuleValue) Size() (n int) {
  3385. var l int
  3386. _ = l
  3387. if m.HTTP != nil {
  3388. l = m.HTTP.Size()
  3389. n += 1 + l + sovGenerated(uint64(l))
  3390. }
  3391. return n
  3392. }
  3393. func (m *IngressSpec) Size() (n int) {
  3394. var l int
  3395. _ = l
  3396. if m.Backend != nil {
  3397. l = m.Backend.Size()
  3398. n += 1 + l + sovGenerated(uint64(l))
  3399. }
  3400. if len(m.TLS) > 0 {
  3401. for _, e := range m.TLS {
  3402. l = e.Size()
  3403. n += 1 + l + sovGenerated(uint64(l))
  3404. }
  3405. }
  3406. if len(m.Rules) > 0 {
  3407. for _, e := range m.Rules {
  3408. l = e.Size()
  3409. n += 1 + l + sovGenerated(uint64(l))
  3410. }
  3411. }
  3412. return n
  3413. }
  3414. func (m *IngressStatus) Size() (n int) {
  3415. var l int
  3416. _ = l
  3417. l = m.LoadBalancer.Size()
  3418. n += 1 + l + sovGenerated(uint64(l))
  3419. return n
  3420. }
  3421. func (m *IngressTLS) Size() (n int) {
  3422. var l int
  3423. _ = l
  3424. if len(m.Hosts) > 0 {
  3425. for _, s := range m.Hosts {
  3426. l = len(s)
  3427. n += 1 + l + sovGenerated(uint64(l))
  3428. }
  3429. }
  3430. l = len(m.SecretName)
  3431. n += 1 + l + sovGenerated(uint64(l))
  3432. return n
  3433. }
  3434. func (m *Job) Size() (n int) {
  3435. var l int
  3436. _ = l
  3437. l = m.ObjectMeta.Size()
  3438. n += 1 + l + sovGenerated(uint64(l))
  3439. l = m.Spec.Size()
  3440. n += 1 + l + sovGenerated(uint64(l))
  3441. l = m.Status.Size()
  3442. n += 1 + l + sovGenerated(uint64(l))
  3443. return n
  3444. }
  3445. func (m *JobCondition) Size() (n int) {
  3446. var l int
  3447. _ = l
  3448. l = len(m.Type)
  3449. n += 1 + l + sovGenerated(uint64(l))
  3450. l = len(m.Status)
  3451. n += 1 + l + sovGenerated(uint64(l))
  3452. l = m.LastProbeTime.Size()
  3453. n += 1 + l + sovGenerated(uint64(l))
  3454. l = m.LastTransitionTime.Size()
  3455. n += 1 + l + sovGenerated(uint64(l))
  3456. l = len(m.Reason)
  3457. n += 1 + l + sovGenerated(uint64(l))
  3458. l = len(m.Message)
  3459. n += 1 + l + sovGenerated(uint64(l))
  3460. return n
  3461. }
  3462. func (m *JobList) Size() (n int) {
  3463. var l int
  3464. _ = l
  3465. l = m.ListMeta.Size()
  3466. n += 1 + l + sovGenerated(uint64(l))
  3467. if len(m.Items) > 0 {
  3468. for _, e := range m.Items {
  3469. l = e.Size()
  3470. n += 1 + l + sovGenerated(uint64(l))
  3471. }
  3472. }
  3473. return n
  3474. }
  3475. func (m *JobSpec) Size() (n int) {
  3476. var l int
  3477. _ = l
  3478. if m.Parallelism != nil {
  3479. n += 1 + sovGenerated(uint64(*m.Parallelism))
  3480. }
  3481. if m.Completions != nil {
  3482. n += 1 + sovGenerated(uint64(*m.Completions))
  3483. }
  3484. if m.ActiveDeadlineSeconds != nil {
  3485. n += 1 + sovGenerated(uint64(*m.ActiveDeadlineSeconds))
  3486. }
  3487. if m.Selector != nil {
  3488. l = m.Selector.Size()
  3489. n += 1 + l + sovGenerated(uint64(l))
  3490. }
  3491. if m.AutoSelector != nil {
  3492. n += 2
  3493. }
  3494. l = m.Template.Size()
  3495. n += 1 + l + sovGenerated(uint64(l))
  3496. return n
  3497. }
  3498. func (m *JobStatus) Size() (n int) {
  3499. var l int
  3500. _ = l
  3501. if len(m.Conditions) > 0 {
  3502. for _, e := range m.Conditions {
  3503. l = e.Size()
  3504. n += 1 + l + sovGenerated(uint64(l))
  3505. }
  3506. }
  3507. if m.StartTime != nil {
  3508. l = m.StartTime.Size()
  3509. n += 1 + l + sovGenerated(uint64(l))
  3510. }
  3511. if m.CompletionTime != nil {
  3512. l = m.CompletionTime.Size()
  3513. n += 1 + l + sovGenerated(uint64(l))
  3514. }
  3515. n += 1 + sovGenerated(uint64(m.Active))
  3516. n += 1 + sovGenerated(uint64(m.Succeeded))
  3517. n += 1 + sovGenerated(uint64(m.Failed))
  3518. return n
  3519. }
  3520. func (m *LabelSelector) Size() (n int) {
  3521. var l int
  3522. _ = l
  3523. if len(m.MatchLabels) > 0 {
  3524. for k, v := range m.MatchLabels {
  3525. _ = k
  3526. _ = v
  3527. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3528. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  3529. }
  3530. }
  3531. if len(m.MatchExpressions) > 0 {
  3532. for _, e := range m.MatchExpressions {
  3533. l = e.Size()
  3534. n += 1 + l + sovGenerated(uint64(l))
  3535. }
  3536. }
  3537. return n
  3538. }
  3539. func (m *LabelSelectorRequirement) Size() (n int) {
  3540. var l int
  3541. _ = l
  3542. l = len(m.Key)
  3543. n += 1 + l + sovGenerated(uint64(l))
  3544. l = len(m.Operator)
  3545. n += 1 + l + sovGenerated(uint64(l))
  3546. if len(m.Values) > 0 {
  3547. for _, s := range m.Values {
  3548. l = len(s)
  3549. n += 1 + l + sovGenerated(uint64(l))
  3550. }
  3551. }
  3552. return n
  3553. }
  3554. func (m *ListOptions) Size() (n int) {
  3555. var l int
  3556. _ = l
  3557. l = len(m.LabelSelector)
  3558. n += 1 + l + sovGenerated(uint64(l))
  3559. l = len(m.FieldSelector)
  3560. n += 1 + l + sovGenerated(uint64(l))
  3561. n += 2
  3562. l = len(m.ResourceVersion)
  3563. n += 1 + l + sovGenerated(uint64(l))
  3564. if m.TimeoutSeconds != nil {
  3565. n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
  3566. }
  3567. return n
  3568. }
  3569. func (m *NetworkPolicy) Size() (n int) {
  3570. var l int
  3571. _ = l
  3572. l = m.ObjectMeta.Size()
  3573. n += 1 + l + sovGenerated(uint64(l))
  3574. l = m.Spec.Size()
  3575. n += 1 + l + sovGenerated(uint64(l))
  3576. return n
  3577. }
  3578. func (m *NetworkPolicyIngressRule) Size() (n int) {
  3579. var l int
  3580. _ = l
  3581. if len(m.Ports) > 0 {
  3582. for _, e := range m.Ports {
  3583. l = e.Size()
  3584. n += 1 + l + sovGenerated(uint64(l))
  3585. }
  3586. }
  3587. if len(m.From) > 0 {
  3588. for _, e := range m.From {
  3589. l = e.Size()
  3590. n += 1 + l + sovGenerated(uint64(l))
  3591. }
  3592. }
  3593. return n
  3594. }
  3595. func (m *NetworkPolicyList) Size() (n int) {
  3596. var l int
  3597. _ = l
  3598. l = m.ListMeta.Size()
  3599. n += 1 + l + sovGenerated(uint64(l))
  3600. if len(m.Items) > 0 {
  3601. for _, e := range m.Items {
  3602. l = e.Size()
  3603. n += 1 + l + sovGenerated(uint64(l))
  3604. }
  3605. }
  3606. return n
  3607. }
  3608. func (m *NetworkPolicyPeer) Size() (n int) {
  3609. var l int
  3610. _ = l
  3611. if m.PodSelector != nil {
  3612. l = m.PodSelector.Size()
  3613. n += 1 + l + sovGenerated(uint64(l))
  3614. }
  3615. if m.NamespaceSelector != nil {
  3616. l = m.NamespaceSelector.Size()
  3617. n += 1 + l + sovGenerated(uint64(l))
  3618. }
  3619. return n
  3620. }
  3621. func (m *NetworkPolicyPort) Size() (n int) {
  3622. var l int
  3623. _ = l
  3624. if m.Protocol != nil {
  3625. l = len(*m.Protocol)
  3626. n += 1 + l + sovGenerated(uint64(l))
  3627. }
  3628. if m.Port != nil {
  3629. l = m.Port.Size()
  3630. n += 1 + l + sovGenerated(uint64(l))
  3631. }
  3632. return n
  3633. }
  3634. func (m *NetworkPolicySpec) Size() (n int) {
  3635. var l int
  3636. _ = l
  3637. l = m.PodSelector.Size()
  3638. n += 1 + l + sovGenerated(uint64(l))
  3639. if len(m.Ingress) > 0 {
  3640. for _, e := range m.Ingress {
  3641. l = e.Size()
  3642. n += 1 + l + sovGenerated(uint64(l))
  3643. }
  3644. }
  3645. return n
  3646. }
  3647. func (m *PodSecurityPolicy) Size() (n int) {
  3648. var l int
  3649. _ = l
  3650. l = m.ObjectMeta.Size()
  3651. n += 1 + l + sovGenerated(uint64(l))
  3652. l = m.Spec.Size()
  3653. n += 1 + l + sovGenerated(uint64(l))
  3654. return n
  3655. }
  3656. func (m *PodSecurityPolicyList) Size() (n int) {
  3657. var l int
  3658. _ = l
  3659. l = m.ListMeta.Size()
  3660. n += 1 + l + sovGenerated(uint64(l))
  3661. if len(m.Items) > 0 {
  3662. for _, e := range m.Items {
  3663. l = e.Size()
  3664. n += 1 + l + sovGenerated(uint64(l))
  3665. }
  3666. }
  3667. return n
  3668. }
  3669. func (m *PodSecurityPolicySpec) Size() (n int) {
  3670. var l int
  3671. _ = l
  3672. n += 2
  3673. if len(m.DefaultAddCapabilities) > 0 {
  3674. for _, s := range m.DefaultAddCapabilities {
  3675. l = len(s)
  3676. n += 1 + l + sovGenerated(uint64(l))
  3677. }
  3678. }
  3679. if len(m.RequiredDropCapabilities) > 0 {
  3680. for _, s := range m.RequiredDropCapabilities {
  3681. l = len(s)
  3682. n += 1 + l + sovGenerated(uint64(l))
  3683. }
  3684. }
  3685. if len(m.AllowedCapabilities) > 0 {
  3686. for _, s := range m.AllowedCapabilities {
  3687. l = len(s)
  3688. n += 1 + l + sovGenerated(uint64(l))
  3689. }
  3690. }
  3691. if len(m.Volumes) > 0 {
  3692. for _, s := range m.Volumes {
  3693. l = len(s)
  3694. n += 1 + l + sovGenerated(uint64(l))
  3695. }
  3696. }
  3697. n += 2
  3698. if len(m.HostPorts) > 0 {
  3699. for _, e := range m.HostPorts {
  3700. l = e.Size()
  3701. n += 1 + l + sovGenerated(uint64(l))
  3702. }
  3703. }
  3704. n += 2
  3705. n += 2
  3706. l = m.SELinux.Size()
  3707. n += 1 + l + sovGenerated(uint64(l))
  3708. l = m.RunAsUser.Size()
  3709. n += 1 + l + sovGenerated(uint64(l))
  3710. l = m.SupplementalGroups.Size()
  3711. n += 1 + l + sovGenerated(uint64(l))
  3712. l = m.FSGroup.Size()
  3713. n += 1 + l + sovGenerated(uint64(l))
  3714. n += 2
  3715. return n
  3716. }
  3717. func (m *ReplicaSet) Size() (n int) {
  3718. var l int
  3719. _ = l
  3720. l = m.ObjectMeta.Size()
  3721. n += 1 + l + sovGenerated(uint64(l))
  3722. l = m.Spec.Size()
  3723. n += 1 + l + sovGenerated(uint64(l))
  3724. l = m.Status.Size()
  3725. n += 1 + l + sovGenerated(uint64(l))
  3726. return n
  3727. }
  3728. func (m *ReplicaSetList) Size() (n int) {
  3729. var l int
  3730. _ = l
  3731. l = m.ListMeta.Size()
  3732. n += 1 + l + sovGenerated(uint64(l))
  3733. if len(m.Items) > 0 {
  3734. for _, e := range m.Items {
  3735. l = e.Size()
  3736. n += 1 + l + sovGenerated(uint64(l))
  3737. }
  3738. }
  3739. return n
  3740. }
  3741. func (m *ReplicaSetSpec) Size() (n int) {
  3742. var l int
  3743. _ = l
  3744. if m.Replicas != nil {
  3745. n += 1 + sovGenerated(uint64(*m.Replicas))
  3746. }
  3747. if m.Selector != nil {
  3748. l = m.Selector.Size()
  3749. n += 1 + l + sovGenerated(uint64(l))
  3750. }
  3751. l = m.Template.Size()
  3752. n += 1 + l + sovGenerated(uint64(l))
  3753. return n
  3754. }
  3755. func (m *ReplicaSetStatus) Size() (n int) {
  3756. var l int
  3757. _ = l
  3758. n += 1 + sovGenerated(uint64(m.Replicas))
  3759. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  3760. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  3761. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  3762. return n
  3763. }
  3764. func (m *ReplicationControllerDummy) Size() (n int) {
  3765. var l int
  3766. _ = l
  3767. return n
  3768. }
  3769. func (m *RollbackConfig) Size() (n int) {
  3770. var l int
  3771. _ = l
  3772. n += 1 + sovGenerated(uint64(m.Revision))
  3773. return n
  3774. }
  3775. func (m *RollingUpdateDeployment) Size() (n int) {
  3776. var l int
  3777. _ = l
  3778. if m.MaxUnavailable != nil {
  3779. l = m.MaxUnavailable.Size()
  3780. n += 1 + l + sovGenerated(uint64(l))
  3781. }
  3782. if m.MaxSurge != nil {
  3783. l = m.MaxSurge.Size()
  3784. n += 1 + l + sovGenerated(uint64(l))
  3785. }
  3786. return n
  3787. }
  3788. func (m *RunAsUserStrategyOptions) Size() (n int) {
  3789. var l int
  3790. _ = l
  3791. l = len(m.Rule)
  3792. n += 1 + l + sovGenerated(uint64(l))
  3793. if len(m.Ranges) > 0 {
  3794. for _, e := range m.Ranges {
  3795. l = e.Size()
  3796. n += 1 + l + sovGenerated(uint64(l))
  3797. }
  3798. }
  3799. return n
  3800. }
  3801. func (m *SELinuxStrategyOptions) Size() (n int) {
  3802. var l int
  3803. _ = l
  3804. l = len(m.Rule)
  3805. n += 1 + l + sovGenerated(uint64(l))
  3806. if m.SELinuxOptions != nil {
  3807. l = m.SELinuxOptions.Size()
  3808. n += 1 + l + sovGenerated(uint64(l))
  3809. }
  3810. return n
  3811. }
  3812. func (m *Scale) Size() (n int) {
  3813. var l int
  3814. _ = l
  3815. l = m.ObjectMeta.Size()
  3816. n += 1 + l + sovGenerated(uint64(l))
  3817. l = m.Spec.Size()
  3818. n += 1 + l + sovGenerated(uint64(l))
  3819. l = m.Status.Size()
  3820. n += 1 + l + sovGenerated(uint64(l))
  3821. return n
  3822. }
  3823. func (m *ScaleSpec) Size() (n int) {
  3824. var l int
  3825. _ = l
  3826. n += 1 + sovGenerated(uint64(m.Replicas))
  3827. return n
  3828. }
  3829. func (m *ScaleStatus) Size() (n int) {
  3830. var l int
  3831. _ = l
  3832. n += 1 + sovGenerated(uint64(m.Replicas))
  3833. if len(m.Selector) > 0 {
  3834. for k, v := range m.Selector {
  3835. _ = k
  3836. _ = v
  3837. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3838. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  3839. }
  3840. }
  3841. l = len(m.TargetSelector)
  3842. n += 1 + l + sovGenerated(uint64(l))
  3843. return n
  3844. }
  3845. func (m *StorageClass) Size() (n int) {
  3846. var l int
  3847. _ = l
  3848. l = m.ObjectMeta.Size()
  3849. n += 1 + l + sovGenerated(uint64(l))
  3850. l = len(m.Provisioner)
  3851. n += 1 + l + sovGenerated(uint64(l))
  3852. if len(m.Parameters) > 0 {
  3853. for k, v := range m.Parameters {
  3854. _ = k
  3855. _ = v
  3856. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3857. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  3858. }
  3859. }
  3860. return n
  3861. }
  3862. func (m *StorageClassList) Size() (n int) {
  3863. var l int
  3864. _ = l
  3865. l = m.ListMeta.Size()
  3866. n += 1 + l + sovGenerated(uint64(l))
  3867. if len(m.Items) > 0 {
  3868. for _, e := range m.Items {
  3869. l = e.Size()
  3870. n += 1 + l + sovGenerated(uint64(l))
  3871. }
  3872. }
  3873. return n
  3874. }
  3875. func (m *SubresourceReference) Size() (n int) {
  3876. var l int
  3877. _ = l
  3878. l = len(m.Kind)
  3879. n += 1 + l + sovGenerated(uint64(l))
  3880. l = len(m.Name)
  3881. n += 1 + l + sovGenerated(uint64(l))
  3882. l = len(m.APIVersion)
  3883. n += 1 + l + sovGenerated(uint64(l))
  3884. l = len(m.Subresource)
  3885. n += 1 + l + sovGenerated(uint64(l))
  3886. return n
  3887. }
  3888. func (m *SupplementalGroupsStrategyOptions) Size() (n int) {
  3889. var l int
  3890. _ = l
  3891. l = len(m.Rule)
  3892. n += 1 + l + sovGenerated(uint64(l))
  3893. if len(m.Ranges) > 0 {
  3894. for _, e := range m.Ranges {
  3895. l = e.Size()
  3896. n += 1 + l + sovGenerated(uint64(l))
  3897. }
  3898. }
  3899. return n
  3900. }
  3901. func (m *ThirdPartyResource) Size() (n int) {
  3902. var l int
  3903. _ = l
  3904. l = m.ObjectMeta.Size()
  3905. n += 1 + l + sovGenerated(uint64(l))
  3906. l = len(m.Description)
  3907. n += 1 + l + sovGenerated(uint64(l))
  3908. if len(m.Versions) > 0 {
  3909. for _, e := range m.Versions {
  3910. l = e.Size()
  3911. n += 1 + l + sovGenerated(uint64(l))
  3912. }
  3913. }
  3914. return n
  3915. }
  3916. func (m *ThirdPartyResourceData) Size() (n int) {
  3917. var l int
  3918. _ = l
  3919. l = m.ObjectMeta.Size()
  3920. n += 1 + l + sovGenerated(uint64(l))
  3921. if m.Data != nil {
  3922. l = len(m.Data)
  3923. n += 1 + l + sovGenerated(uint64(l))
  3924. }
  3925. return n
  3926. }
  3927. func (m *ThirdPartyResourceDataList) Size() (n int) {
  3928. var l int
  3929. _ = l
  3930. l = m.ListMeta.Size()
  3931. n += 1 + l + sovGenerated(uint64(l))
  3932. if len(m.Items) > 0 {
  3933. for _, e := range m.Items {
  3934. l = e.Size()
  3935. n += 1 + l + sovGenerated(uint64(l))
  3936. }
  3937. }
  3938. return n
  3939. }
  3940. func (m *ThirdPartyResourceList) Size() (n int) {
  3941. var l int
  3942. _ = l
  3943. l = m.ListMeta.Size()
  3944. n += 1 + l + sovGenerated(uint64(l))
  3945. if len(m.Items) > 0 {
  3946. for _, e := range m.Items {
  3947. l = e.Size()
  3948. n += 1 + l + sovGenerated(uint64(l))
  3949. }
  3950. }
  3951. return n
  3952. }
  3953. func sovGenerated(x uint64) (n int) {
  3954. for {
  3955. n++
  3956. x >>= 7
  3957. if x == 0 {
  3958. break
  3959. }
  3960. }
  3961. return n
  3962. }
  3963. func sozGenerated(x uint64) (n int) {
  3964. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  3965. }
  3966. func (this *APIVersion) String() string {
  3967. if this == nil {
  3968. return "nil"
  3969. }
  3970. s := strings.Join([]string{`&APIVersion{`,
  3971. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  3972. `}`,
  3973. }, "")
  3974. return s
  3975. }
  3976. func (this *CPUTargetUtilization) String() string {
  3977. if this == nil {
  3978. return "nil"
  3979. }
  3980. s := strings.Join([]string{`&CPUTargetUtilization{`,
  3981. `TargetPercentage:` + fmt.Sprintf("%v", this.TargetPercentage) + `,`,
  3982. `}`,
  3983. }, "")
  3984. return s
  3985. }
  3986. func (this *CustomMetricCurrentStatus) String() string {
  3987. if this == nil {
  3988. return "nil"
  3989. }
  3990. s := strings.Join([]string{`&CustomMetricCurrentStatus{`,
  3991. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  3992. `CurrentValue:` + strings.Replace(strings.Replace(this.CurrentValue.String(), "Quantity", "k8s_io_kubernetes_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
  3993. `}`,
  3994. }, "")
  3995. return s
  3996. }
  3997. func (this *CustomMetricCurrentStatusList) String() string {
  3998. if this == nil {
  3999. return "nil"
  4000. }
  4001. s := strings.Join([]string{`&CustomMetricCurrentStatusList{`,
  4002. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CustomMetricCurrentStatus", "CustomMetricCurrentStatus", 1), `&`, ``, 1) + `,`,
  4003. `}`,
  4004. }, "")
  4005. return s
  4006. }
  4007. func (this *CustomMetricTarget) String() string {
  4008. if this == nil {
  4009. return "nil"
  4010. }
  4011. s := strings.Join([]string{`&CustomMetricTarget{`,
  4012. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  4013. `TargetValue:` + strings.Replace(strings.Replace(this.TargetValue.String(), "Quantity", "k8s_io_kubernetes_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
  4014. `}`,
  4015. }, "")
  4016. return s
  4017. }
  4018. func (this *CustomMetricTargetList) String() string {
  4019. if this == nil {
  4020. return "nil"
  4021. }
  4022. s := strings.Join([]string{`&CustomMetricTargetList{`,
  4023. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CustomMetricTarget", "CustomMetricTarget", 1), `&`, ``, 1) + `,`,
  4024. `}`,
  4025. }, "")
  4026. return s
  4027. }
  4028. func (this *DaemonSet) String() string {
  4029. if this == nil {
  4030. return "nil"
  4031. }
  4032. s := strings.Join([]string{`&DaemonSet{`,
  4033. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4034. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
  4035. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
  4036. `}`,
  4037. }, "")
  4038. return s
  4039. }
  4040. func (this *DaemonSetList) String() string {
  4041. if this == nil {
  4042. return "nil"
  4043. }
  4044. s := strings.Join([]string{`&DaemonSetList{`,
  4045. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4046. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`,
  4047. `}`,
  4048. }, "")
  4049. return s
  4050. }
  4051. func (this *DaemonSetSpec) String() string {
  4052. if this == nil {
  4053. return "nil"
  4054. }
  4055. s := strings.Join([]string{`&DaemonSetSpec{`,
  4056. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`,
  4057. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  4058. `}`,
  4059. }, "")
  4060. return s
  4061. }
  4062. func (this *DaemonSetStatus) String() string {
  4063. if this == nil {
  4064. return "nil"
  4065. }
  4066. s := strings.Join([]string{`&DaemonSetStatus{`,
  4067. `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`,
  4068. `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`,
  4069. `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`,
  4070. `}`,
  4071. }, "")
  4072. return s
  4073. }
  4074. func (this *Deployment) String() string {
  4075. if this == nil {
  4076. return "nil"
  4077. }
  4078. s := strings.Join([]string{`&Deployment{`,
  4079. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4080. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
  4081. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
  4082. `}`,
  4083. }, "")
  4084. return s
  4085. }
  4086. func (this *DeploymentList) String() string {
  4087. if this == nil {
  4088. return "nil"
  4089. }
  4090. s := strings.Join([]string{`&DeploymentList{`,
  4091. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4092. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
  4093. `}`,
  4094. }, "")
  4095. return s
  4096. }
  4097. func (this *DeploymentRollback) String() string {
  4098. if this == nil {
  4099. return "nil"
  4100. }
  4101. keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
  4102. for k := range this.UpdatedAnnotations {
  4103. keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
  4104. }
  4105. github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
  4106. mapStringForUpdatedAnnotations := "map[string]string{"
  4107. for _, k := range keysForUpdatedAnnotations {
  4108. mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
  4109. }
  4110. mapStringForUpdatedAnnotations += "}"
  4111. s := strings.Join([]string{`&DeploymentRollback{`,
  4112. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  4113. `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
  4114. `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
  4115. `}`,
  4116. }, "")
  4117. return s
  4118. }
  4119. func (this *DeploymentSpec) String() string {
  4120. if this == nil {
  4121. return "nil"
  4122. }
  4123. s := strings.Join([]string{`&DeploymentSpec{`,
  4124. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  4125. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`,
  4126. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  4127. `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
  4128. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  4129. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  4130. `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
  4131. `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`,
  4132. `}`,
  4133. }, "")
  4134. return s
  4135. }
  4136. func (this *DeploymentStatus) String() string {
  4137. if this == nil {
  4138. return "nil"
  4139. }
  4140. s := strings.Join([]string{`&DeploymentStatus{`,
  4141. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  4142. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  4143. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  4144. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  4145. `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
  4146. `}`,
  4147. }, "")
  4148. return s
  4149. }
  4150. func (this *DeploymentStrategy) String() string {
  4151. if this == nil {
  4152. return "nil"
  4153. }
  4154. s := strings.Join([]string{`&DeploymentStrategy{`,
  4155. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  4156. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
  4157. `}`,
  4158. }, "")
  4159. return s
  4160. }
  4161. func (this *ExportOptions) String() string {
  4162. if this == nil {
  4163. return "nil"
  4164. }
  4165. s := strings.Join([]string{`&ExportOptions{`,
  4166. `Export:` + fmt.Sprintf("%v", this.Export) + `,`,
  4167. `Exact:` + fmt.Sprintf("%v", this.Exact) + `,`,
  4168. `}`,
  4169. }, "")
  4170. return s
  4171. }
  4172. func (this *FSGroupStrategyOptions) String() string {
  4173. if this == nil {
  4174. return "nil"
  4175. }
  4176. s := strings.Join([]string{`&FSGroupStrategyOptions{`,
  4177. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4178. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  4179. `}`,
  4180. }, "")
  4181. return s
  4182. }
  4183. func (this *HTTPIngressPath) String() string {
  4184. if this == nil {
  4185. return "nil"
  4186. }
  4187. s := strings.Join([]string{`&HTTPIngressPath{`,
  4188. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  4189. `Backend:` + strings.Replace(strings.Replace(this.Backend.String(), "IngressBackend", "IngressBackend", 1), `&`, ``, 1) + `,`,
  4190. `}`,
  4191. }, "")
  4192. return s
  4193. }
  4194. func (this *HTTPIngressRuleValue) String() string {
  4195. if this == nil {
  4196. return "nil"
  4197. }
  4198. s := strings.Join([]string{`&HTTPIngressRuleValue{`,
  4199. `Paths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Paths), "HTTPIngressPath", "HTTPIngressPath", 1), `&`, ``, 1) + `,`,
  4200. `}`,
  4201. }, "")
  4202. return s
  4203. }
  4204. func (this *HorizontalPodAutoscaler) String() string {
  4205. if this == nil {
  4206. return "nil"
  4207. }
  4208. s := strings.Join([]string{`&HorizontalPodAutoscaler{`,
  4209. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4210. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "HorizontalPodAutoscalerSpec", "HorizontalPodAutoscalerSpec", 1), `&`, ``, 1) + `,`,
  4211. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "HorizontalPodAutoscalerStatus", "HorizontalPodAutoscalerStatus", 1), `&`, ``, 1) + `,`,
  4212. `}`,
  4213. }, "")
  4214. return s
  4215. }
  4216. func (this *HorizontalPodAutoscalerList) String() string {
  4217. if this == nil {
  4218. return "nil"
  4219. }
  4220. s := strings.Join([]string{`&HorizontalPodAutoscalerList{`,
  4221. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4222. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "HorizontalPodAutoscaler", "HorizontalPodAutoscaler", 1), `&`, ``, 1) + `,`,
  4223. `}`,
  4224. }, "")
  4225. return s
  4226. }
  4227. func (this *HorizontalPodAutoscalerSpec) String() string {
  4228. if this == nil {
  4229. return "nil"
  4230. }
  4231. s := strings.Join([]string{`&HorizontalPodAutoscalerSpec{`,
  4232. `ScaleRef:` + strings.Replace(strings.Replace(this.ScaleRef.String(), "SubresourceReference", "SubresourceReference", 1), `&`, ``, 1) + `,`,
  4233. `MinReplicas:` + valueToStringGenerated(this.MinReplicas) + `,`,
  4234. `MaxReplicas:` + fmt.Sprintf("%v", this.MaxReplicas) + `,`,
  4235. `CPUUtilization:` + strings.Replace(fmt.Sprintf("%v", this.CPUUtilization), "CPUTargetUtilization", "CPUTargetUtilization", 1) + `,`,
  4236. `}`,
  4237. }, "")
  4238. return s
  4239. }
  4240. func (this *HorizontalPodAutoscalerStatus) String() string {
  4241. if this == nil {
  4242. return "nil"
  4243. }
  4244. s := strings.Join([]string{`&HorizontalPodAutoscalerStatus{`,
  4245. `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`,
  4246. `LastScaleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScaleTime), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1) + `,`,
  4247. `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
  4248. `DesiredReplicas:` + fmt.Sprintf("%v", this.DesiredReplicas) + `,`,
  4249. `CurrentCPUUtilizationPercentage:` + valueToStringGenerated(this.CurrentCPUUtilizationPercentage) + `,`,
  4250. `}`,
  4251. }, "")
  4252. return s
  4253. }
  4254. func (this *HostPortRange) String() string {
  4255. if this == nil {
  4256. return "nil"
  4257. }
  4258. s := strings.Join([]string{`&HostPortRange{`,
  4259. `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
  4260. `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
  4261. `}`,
  4262. }, "")
  4263. return s
  4264. }
  4265. func (this *IDRange) String() string {
  4266. if this == nil {
  4267. return "nil"
  4268. }
  4269. s := strings.Join([]string{`&IDRange{`,
  4270. `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
  4271. `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
  4272. `}`,
  4273. }, "")
  4274. return s
  4275. }
  4276. func (this *Ingress) String() string {
  4277. if this == nil {
  4278. return "nil"
  4279. }
  4280. s := strings.Join([]string{`&Ingress{`,
  4281. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4282. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "IngressSpec", "IngressSpec", 1), `&`, ``, 1) + `,`,
  4283. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "IngressStatus", "IngressStatus", 1), `&`, ``, 1) + `,`,
  4284. `}`,
  4285. }, "")
  4286. return s
  4287. }
  4288. func (this *IngressBackend) String() string {
  4289. if this == nil {
  4290. return "nil"
  4291. }
  4292. s := strings.Join([]string{`&IngressBackend{`,
  4293. `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
  4294. `ServicePort:` + strings.Replace(strings.Replace(this.ServicePort.String(), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  4295. `}`,
  4296. }, "")
  4297. return s
  4298. }
  4299. func (this *IngressList) String() string {
  4300. if this == nil {
  4301. return "nil"
  4302. }
  4303. s := strings.Join([]string{`&IngressList{`,
  4304. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4305. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Ingress", "Ingress", 1), `&`, ``, 1) + `,`,
  4306. `}`,
  4307. }, "")
  4308. return s
  4309. }
  4310. func (this *IngressRule) String() string {
  4311. if this == nil {
  4312. return "nil"
  4313. }
  4314. s := strings.Join([]string{`&IngressRule{`,
  4315. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  4316. `IngressRuleValue:` + strings.Replace(strings.Replace(this.IngressRuleValue.String(), "IngressRuleValue", "IngressRuleValue", 1), `&`, ``, 1) + `,`,
  4317. `}`,
  4318. }, "")
  4319. return s
  4320. }
  4321. func (this *IngressRuleValue) String() string {
  4322. if this == nil {
  4323. return "nil"
  4324. }
  4325. s := strings.Join([]string{`&IngressRuleValue{`,
  4326. `HTTP:` + strings.Replace(fmt.Sprintf("%v", this.HTTP), "HTTPIngressRuleValue", "HTTPIngressRuleValue", 1) + `,`,
  4327. `}`,
  4328. }, "")
  4329. return s
  4330. }
  4331. func (this *IngressSpec) String() string {
  4332. if this == nil {
  4333. return "nil"
  4334. }
  4335. s := strings.Join([]string{`&IngressSpec{`,
  4336. `Backend:` + strings.Replace(fmt.Sprintf("%v", this.Backend), "IngressBackend", "IngressBackend", 1) + `,`,
  4337. `TLS:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.TLS), "IngressTLS", "IngressTLS", 1), `&`, ``, 1) + `,`,
  4338. `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "IngressRule", "IngressRule", 1), `&`, ``, 1) + `,`,
  4339. `}`,
  4340. }, "")
  4341. return s
  4342. }
  4343. func (this *IngressStatus) String() string {
  4344. if this == nil {
  4345. return "nil"
  4346. }
  4347. s := strings.Join([]string{`&IngressStatus{`,
  4348. `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "k8s_io_kubernetes_pkg_api_v1.LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
  4349. `}`,
  4350. }, "")
  4351. return s
  4352. }
  4353. func (this *IngressTLS) String() string {
  4354. if this == nil {
  4355. return "nil"
  4356. }
  4357. s := strings.Join([]string{`&IngressTLS{`,
  4358. `Hosts:` + fmt.Sprintf("%v", this.Hosts) + `,`,
  4359. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  4360. `}`,
  4361. }, "")
  4362. return s
  4363. }
  4364. func (this *Job) String() string {
  4365. if this == nil {
  4366. return "nil"
  4367. }
  4368. s := strings.Join([]string{`&Job{`,
  4369. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4370. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "JobSpec", "JobSpec", 1), `&`, ``, 1) + `,`,
  4371. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "JobStatus", "JobStatus", 1), `&`, ``, 1) + `,`,
  4372. `}`,
  4373. }, "")
  4374. return s
  4375. }
  4376. func (this *JobCondition) String() string {
  4377. if this == nil {
  4378. return "nil"
  4379. }
  4380. s := strings.Join([]string{`&JobCondition{`,
  4381. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  4382. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  4383. `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  4384. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
  4385. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  4386. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  4387. `}`,
  4388. }, "")
  4389. return s
  4390. }
  4391. func (this *JobList) String() string {
  4392. if this == nil {
  4393. return "nil"
  4394. }
  4395. s := strings.Join([]string{`&JobList{`,
  4396. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4397. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Job", "Job", 1), `&`, ``, 1) + `,`,
  4398. `}`,
  4399. }, "")
  4400. return s
  4401. }
  4402. func (this *JobSpec) String() string {
  4403. if this == nil {
  4404. return "nil"
  4405. }
  4406. s := strings.Join([]string{`&JobSpec{`,
  4407. `Parallelism:` + valueToStringGenerated(this.Parallelism) + `,`,
  4408. `Completions:` + valueToStringGenerated(this.Completions) + `,`,
  4409. `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
  4410. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`,
  4411. `AutoSelector:` + valueToStringGenerated(this.AutoSelector) + `,`,
  4412. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  4413. `}`,
  4414. }, "")
  4415. return s
  4416. }
  4417. func (this *JobStatus) String() string {
  4418. if this == nil {
  4419. return "nil"
  4420. }
  4421. s := strings.Join([]string{`&JobStatus{`,
  4422. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "JobCondition", "JobCondition", 1), `&`, ``, 1) + `,`,
  4423. `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1) + `,`,
  4424. `CompletionTime:` + strings.Replace(fmt.Sprintf("%v", this.CompletionTime), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1) + `,`,
  4425. `Active:` + fmt.Sprintf("%v", this.Active) + `,`,
  4426. `Succeeded:` + fmt.Sprintf("%v", this.Succeeded) + `,`,
  4427. `Failed:` + fmt.Sprintf("%v", this.Failed) + `,`,
  4428. `}`,
  4429. }, "")
  4430. return s
  4431. }
  4432. func (this *LabelSelector) String() string {
  4433. if this == nil {
  4434. return "nil"
  4435. }
  4436. keysForMatchLabels := make([]string, 0, len(this.MatchLabels))
  4437. for k := range this.MatchLabels {
  4438. keysForMatchLabels = append(keysForMatchLabels, k)
  4439. }
  4440. github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
  4441. mapStringForMatchLabels := "map[string]string{"
  4442. for _, k := range keysForMatchLabels {
  4443. mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k])
  4444. }
  4445. mapStringForMatchLabels += "}"
  4446. s := strings.Join([]string{`&LabelSelector{`,
  4447. `MatchLabels:` + mapStringForMatchLabels + `,`,
  4448. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`,
  4449. `}`,
  4450. }, "")
  4451. return s
  4452. }
  4453. func (this *LabelSelectorRequirement) String() string {
  4454. if this == nil {
  4455. return "nil"
  4456. }
  4457. s := strings.Join([]string{`&LabelSelectorRequirement{`,
  4458. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  4459. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  4460. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  4461. `}`,
  4462. }, "")
  4463. return s
  4464. }
  4465. func (this *ListOptions) String() string {
  4466. if this == nil {
  4467. return "nil"
  4468. }
  4469. s := strings.Join([]string{`&ListOptions{`,
  4470. `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
  4471. `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`,
  4472. `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`,
  4473. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  4474. `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
  4475. `}`,
  4476. }, "")
  4477. return s
  4478. }
  4479. func (this *NetworkPolicy) String() string {
  4480. if this == nil {
  4481. return "nil"
  4482. }
  4483. s := strings.Join([]string{`&NetworkPolicy{`,
  4484. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4485. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`,
  4486. `}`,
  4487. }, "")
  4488. return s
  4489. }
  4490. func (this *NetworkPolicyIngressRule) String() string {
  4491. if this == nil {
  4492. return "nil"
  4493. }
  4494. s := strings.Join([]string{`&NetworkPolicyIngressRule{`,
  4495. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`,
  4496. `From:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.From), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`,
  4497. `}`,
  4498. }, "")
  4499. return s
  4500. }
  4501. func (this *NetworkPolicyList) String() string {
  4502. if this == nil {
  4503. return "nil"
  4504. }
  4505. s := strings.Join([]string{`&NetworkPolicyList{`,
  4506. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4507. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "NetworkPolicy", "NetworkPolicy", 1), `&`, ``, 1) + `,`,
  4508. `}`,
  4509. }, "")
  4510. return s
  4511. }
  4512. func (this *NetworkPolicyPeer) String() string {
  4513. if this == nil {
  4514. return "nil"
  4515. }
  4516. s := strings.Join([]string{`&NetworkPolicyPeer{`,
  4517. `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "LabelSelector", 1) + `,`,
  4518. `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "LabelSelector", 1) + `,`,
  4519. `}`,
  4520. }, "")
  4521. return s
  4522. }
  4523. func (this *NetworkPolicyPort) String() string {
  4524. if this == nil {
  4525. return "nil"
  4526. }
  4527. s := strings.Join([]string{`&NetworkPolicyPort{`,
  4528. `Protocol:` + valueToStringGenerated(this.Protocol) + `,`,
  4529. `Port:` + strings.Replace(fmt.Sprintf("%v", this.Port), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1) + `,`,
  4530. `}`,
  4531. }, "")
  4532. return s
  4533. }
  4534. func (this *NetworkPolicySpec) String() string {
  4535. if this == nil {
  4536. return "nil"
  4537. }
  4538. s := strings.Join([]string{`&NetworkPolicySpec{`,
  4539. `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "LabelSelector", 1), `&`, ``, 1) + `,`,
  4540. `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`,
  4541. `}`,
  4542. }, "")
  4543. return s
  4544. }
  4545. func (this *PodSecurityPolicy) String() string {
  4546. if this == nil {
  4547. return "nil"
  4548. }
  4549. s := strings.Join([]string{`&PodSecurityPolicy{`,
  4550. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4551. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`,
  4552. `}`,
  4553. }, "")
  4554. return s
  4555. }
  4556. func (this *PodSecurityPolicyList) String() string {
  4557. if this == nil {
  4558. return "nil"
  4559. }
  4560. s := strings.Join([]string{`&PodSecurityPolicyList{`,
  4561. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4562. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`,
  4563. `}`,
  4564. }, "")
  4565. return s
  4566. }
  4567. func (this *PodSecurityPolicySpec) String() string {
  4568. if this == nil {
  4569. return "nil"
  4570. }
  4571. s := strings.Join([]string{`&PodSecurityPolicySpec{`,
  4572. `Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`,
  4573. `DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`,
  4574. `RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`,
  4575. `AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`,
  4576. `Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`,
  4577. `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
  4578. `HostPorts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostPorts), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + `,`,
  4579. `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
  4580. `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
  4581. `SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`,
  4582. `RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`,
  4583. `SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`,
  4584. `FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`,
  4585. `ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`,
  4586. `}`,
  4587. }, "")
  4588. return s
  4589. }
  4590. func (this *ReplicaSet) String() string {
  4591. if this == nil {
  4592. return "nil"
  4593. }
  4594. s := strings.Join([]string{`&ReplicaSet{`,
  4595. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4596. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
  4597. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
  4598. `}`,
  4599. }, "")
  4600. return s
  4601. }
  4602. func (this *ReplicaSetList) String() string {
  4603. if this == nil {
  4604. return "nil"
  4605. }
  4606. s := strings.Join([]string{`&ReplicaSetList{`,
  4607. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4608. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`,
  4609. `}`,
  4610. }, "")
  4611. return s
  4612. }
  4613. func (this *ReplicaSetSpec) String() string {
  4614. if this == nil {
  4615. return "nil"
  4616. }
  4617. s := strings.Join([]string{`&ReplicaSetSpec{`,
  4618. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  4619. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`,
  4620. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  4621. `}`,
  4622. }, "")
  4623. return s
  4624. }
  4625. func (this *ReplicaSetStatus) String() string {
  4626. if this == nil {
  4627. return "nil"
  4628. }
  4629. s := strings.Join([]string{`&ReplicaSetStatus{`,
  4630. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  4631. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  4632. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  4633. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  4634. `}`,
  4635. }, "")
  4636. return s
  4637. }
  4638. func (this *ReplicationControllerDummy) String() string {
  4639. if this == nil {
  4640. return "nil"
  4641. }
  4642. s := strings.Join([]string{`&ReplicationControllerDummy{`,
  4643. `}`,
  4644. }, "")
  4645. return s
  4646. }
  4647. func (this *RollbackConfig) String() string {
  4648. if this == nil {
  4649. return "nil"
  4650. }
  4651. s := strings.Join([]string{`&RollbackConfig{`,
  4652. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  4653. `}`,
  4654. }, "")
  4655. return s
  4656. }
  4657. func (this *RollingUpdateDeployment) String() string {
  4658. if this == nil {
  4659. return "nil"
  4660. }
  4661. s := strings.Join([]string{`&RollingUpdateDeployment{`,
  4662. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1) + `,`,
  4663. `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1) + `,`,
  4664. `}`,
  4665. }, "")
  4666. return s
  4667. }
  4668. func (this *RunAsUserStrategyOptions) String() string {
  4669. if this == nil {
  4670. return "nil"
  4671. }
  4672. s := strings.Join([]string{`&RunAsUserStrategyOptions{`,
  4673. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4674. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  4675. `}`,
  4676. }, "")
  4677. return s
  4678. }
  4679. func (this *SELinuxStrategyOptions) String() string {
  4680. if this == nil {
  4681. return "nil"
  4682. }
  4683. s := strings.Join([]string{`&SELinuxStrategyOptions{`,
  4684. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4685. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "k8s_io_kubernetes_pkg_api_v1.SELinuxOptions", 1) + `,`,
  4686. `}`,
  4687. }, "")
  4688. return s
  4689. }
  4690. func (this *Scale) String() string {
  4691. if this == nil {
  4692. return "nil"
  4693. }
  4694. s := strings.Join([]string{`&Scale{`,
  4695. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4696. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
  4697. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
  4698. `}`,
  4699. }, "")
  4700. return s
  4701. }
  4702. func (this *ScaleSpec) String() string {
  4703. if this == nil {
  4704. return "nil"
  4705. }
  4706. s := strings.Join([]string{`&ScaleSpec{`,
  4707. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  4708. `}`,
  4709. }, "")
  4710. return s
  4711. }
  4712. func (this *ScaleStatus) String() string {
  4713. if this == nil {
  4714. return "nil"
  4715. }
  4716. keysForSelector := make([]string, 0, len(this.Selector))
  4717. for k := range this.Selector {
  4718. keysForSelector = append(keysForSelector, k)
  4719. }
  4720. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  4721. mapStringForSelector := "map[string]string{"
  4722. for _, k := range keysForSelector {
  4723. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  4724. }
  4725. mapStringForSelector += "}"
  4726. s := strings.Join([]string{`&ScaleStatus{`,
  4727. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  4728. `Selector:` + mapStringForSelector + `,`,
  4729. `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
  4730. `}`,
  4731. }, "")
  4732. return s
  4733. }
  4734. func (this *StorageClass) String() string {
  4735. if this == nil {
  4736. return "nil"
  4737. }
  4738. keysForParameters := make([]string, 0, len(this.Parameters))
  4739. for k := range this.Parameters {
  4740. keysForParameters = append(keysForParameters, k)
  4741. }
  4742. github_com_gogo_protobuf_sortkeys.Strings(keysForParameters)
  4743. mapStringForParameters := "map[string]string{"
  4744. for _, k := range keysForParameters {
  4745. mapStringForParameters += fmt.Sprintf("%v: %v,", k, this.Parameters[k])
  4746. }
  4747. mapStringForParameters += "}"
  4748. s := strings.Join([]string{`&StorageClass{`,
  4749. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4750. `Provisioner:` + fmt.Sprintf("%v", this.Provisioner) + `,`,
  4751. `Parameters:` + mapStringForParameters + `,`,
  4752. `}`,
  4753. }, "")
  4754. return s
  4755. }
  4756. func (this *StorageClassList) String() string {
  4757. if this == nil {
  4758. return "nil"
  4759. }
  4760. s := strings.Join([]string{`&StorageClassList{`,
  4761. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4762. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StorageClass", "StorageClass", 1), `&`, ``, 1) + `,`,
  4763. `}`,
  4764. }, "")
  4765. return s
  4766. }
  4767. func (this *SubresourceReference) String() string {
  4768. if this == nil {
  4769. return "nil"
  4770. }
  4771. s := strings.Join([]string{`&SubresourceReference{`,
  4772. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  4773. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  4774. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  4775. `Subresource:` + fmt.Sprintf("%v", this.Subresource) + `,`,
  4776. `}`,
  4777. }, "")
  4778. return s
  4779. }
  4780. func (this *SupplementalGroupsStrategyOptions) String() string {
  4781. if this == nil {
  4782. return "nil"
  4783. }
  4784. s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`,
  4785. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4786. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  4787. `}`,
  4788. }, "")
  4789. return s
  4790. }
  4791. func (this *ThirdPartyResource) String() string {
  4792. if this == nil {
  4793. return "nil"
  4794. }
  4795. s := strings.Join([]string{`&ThirdPartyResource{`,
  4796. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4797. `Description:` + fmt.Sprintf("%v", this.Description) + `,`,
  4798. `Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "APIVersion", "APIVersion", 1), `&`, ``, 1) + `,`,
  4799. `}`,
  4800. }, "")
  4801. return s
  4802. }
  4803. func (this *ThirdPartyResourceData) String() string {
  4804. if this == nil {
  4805. return "nil"
  4806. }
  4807. s := strings.Join([]string{`&ThirdPartyResourceData{`,
  4808. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4809. `Data:` + valueToStringGenerated(this.Data) + `,`,
  4810. `}`,
  4811. }, "")
  4812. return s
  4813. }
  4814. func (this *ThirdPartyResourceDataList) String() string {
  4815. if this == nil {
  4816. return "nil"
  4817. }
  4818. s := strings.Join([]string{`&ThirdPartyResourceDataList{`,
  4819. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4820. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ThirdPartyResourceData", "ThirdPartyResourceData", 1), `&`, ``, 1) + `,`,
  4821. `}`,
  4822. }, "")
  4823. return s
  4824. }
  4825. func (this *ThirdPartyResourceList) String() string {
  4826. if this == nil {
  4827. return "nil"
  4828. }
  4829. s := strings.Join([]string{`&ThirdPartyResourceList{`,
  4830. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
  4831. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ThirdPartyResource", "ThirdPartyResource", 1), `&`, ``, 1) + `,`,
  4832. `}`,
  4833. }, "")
  4834. return s
  4835. }
  4836. func valueToStringGenerated(v interface{}) string {
  4837. rv := reflect.ValueOf(v)
  4838. if rv.IsNil() {
  4839. return "nil"
  4840. }
  4841. pv := reflect.Indirect(rv).Interface()
  4842. return fmt.Sprintf("*%v", pv)
  4843. }
  4844. func (m *APIVersion) Unmarshal(data []byte) error {
  4845. l := len(data)
  4846. iNdEx := 0
  4847. for iNdEx < l {
  4848. preIndex := iNdEx
  4849. var wire uint64
  4850. for shift := uint(0); ; shift += 7 {
  4851. if shift >= 64 {
  4852. return ErrIntOverflowGenerated
  4853. }
  4854. if iNdEx >= l {
  4855. return io.ErrUnexpectedEOF
  4856. }
  4857. b := data[iNdEx]
  4858. iNdEx++
  4859. wire |= (uint64(b) & 0x7F) << shift
  4860. if b < 0x80 {
  4861. break
  4862. }
  4863. }
  4864. fieldNum := int32(wire >> 3)
  4865. wireType := int(wire & 0x7)
  4866. if wireType == 4 {
  4867. return fmt.Errorf("proto: APIVersion: wiretype end group for non-group")
  4868. }
  4869. if fieldNum <= 0 {
  4870. return fmt.Errorf("proto: APIVersion: illegal tag %d (wire type %d)", fieldNum, wire)
  4871. }
  4872. switch fieldNum {
  4873. case 1:
  4874. if wireType != 2 {
  4875. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4876. }
  4877. var stringLen uint64
  4878. for shift := uint(0); ; shift += 7 {
  4879. if shift >= 64 {
  4880. return ErrIntOverflowGenerated
  4881. }
  4882. if iNdEx >= l {
  4883. return io.ErrUnexpectedEOF
  4884. }
  4885. b := data[iNdEx]
  4886. iNdEx++
  4887. stringLen |= (uint64(b) & 0x7F) << shift
  4888. if b < 0x80 {
  4889. break
  4890. }
  4891. }
  4892. intStringLen := int(stringLen)
  4893. if intStringLen < 0 {
  4894. return ErrInvalidLengthGenerated
  4895. }
  4896. postIndex := iNdEx + intStringLen
  4897. if postIndex > l {
  4898. return io.ErrUnexpectedEOF
  4899. }
  4900. m.Name = string(data[iNdEx:postIndex])
  4901. iNdEx = postIndex
  4902. default:
  4903. iNdEx = preIndex
  4904. skippy, err := skipGenerated(data[iNdEx:])
  4905. if err != nil {
  4906. return err
  4907. }
  4908. if skippy < 0 {
  4909. return ErrInvalidLengthGenerated
  4910. }
  4911. if (iNdEx + skippy) > l {
  4912. return io.ErrUnexpectedEOF
  4913. }
  4914. iNdEx += skippy
  4915. }
  4916. }
  4917. if iNdEx > l {
  4918. return io.ErrUnexpectedEOF
  4919. }
  4920. return nil
  4921. }
  4922. func (m *CPUTargetUtilization) Unmarshal(data []byte) error {
  4923. l := len(data)
  4924. iNdEx := 0
  4925. for iNdEx < l {
  4926. preIndex := iNdEx
  4927. var wire uint64
  4928. for shift := uint(0); ; shift += 7 {
  4929. if shift >= 64 {
  4930. return ErrIntOverflowGenerated
  4931. }
  4932. if iNdEx >= l {
  4933. return io.ErrUnexpectedEOF
  4934. }
  4935. b := data[iNdEx]
  4936. iNdEx++
  4937. wire |= (uint64(b) & 0x7F) << shift
  4938. if b < 0x80 {
  4939. break
  4940. }
  4941. }
  4942. fieldNum := int32(wire >> 3)
  4943. wireType := int(wire & 0x7)
  4944. if wireType == 4 {
  4945. return fmt.Errorf("proto: CPUTargetUtilization: wiretype end group for non-group")
  4946. }
  4947. if fieldNum <= 0 {
  4948. return fmt.Errorf("proto: CPUTargetUtilization: illegal tag %d (wire type %d)", fieldNum, wire)
  4949. }
  4950. switch fieldNum {
  4951. case 1:
  4952. if wireType != 0 {
  4953. return fmt.Errorf("proto: wrong wireType = %d for field TargetPercentage", wireType)
  4954. }
  4955. m.TargetPercentage = 0
  4956. for shift := uint(0); ; shift += 7 {
  4957. if shift >= 64 {
  4958. return ErrIntOverflowGenerated
  4959. }
  4960. if iNdEx >= l {
  4961. return io.ErrUnexpectedEOF
  4962. }
  4963. b := data[iNdEx]
  4964. iNdEx++
  4965. m.TargetPercentage |= (int32(b) & 0x7F) << shift
  4966. if b < 0x80 {
  4967. break
  4968. }
  4969. }
  4970. default:
  4971. iNdEx = preIndex
  4972. skippy, err := skipGenerated(data[iNdEx:])
  4973. if err != nil {
  4974. return err
  4975. }
  4976. if skippy < 0 {
  4977. return ErrInvalidLengthGenerated
  4978. }
  4979. if (iNdEx + skippy) > l {
  4980. return io.ErrUnexpectedEOF
  4981. }
  4982. iNdEx += skippy
  4983. }
  4984. }
  4985. if iNdEx > l {
  4986. return io.ErrUnexpectedEOF
  4987. }
  4988. return nil
  4989. }
  4990. func (m *CustomMetricCurrentStatus) Unmarshal(data []byte) error {
  4991. l := len(data)
  4992. iNdEx := 0
  4993. for iNdEx < l {
  4994. preIndex := iNdEx
  4995. var wire uint64
  4996. for shift := uint(0); ; shift += 7 {
  4997. if shift >= 64 {
  4998. return ErrIntOverflowGenerated
  4999. }
  5000. if iNdEx >= l {
  5001. return io.ErrUnexpectedEOF
  5002. }
  5003. b := data[iNdEx]
  5004. iNdEx++
  5005. wire |= (uint64(b) & 0x7F) << shift
  5006. if b < 0x80 {
  5007. break
  5008. }
  5009. }
  5010. fieldNum := int32(wire >> 3)
  5011. wireType := int(wire & 0x7)
  5012. if wireType == 4 {
  5013. return fmt.Errorf("proto: CustomMetricCurrentStatus: wiretype end group for non-group")
  5014. }
  5015. if fieldNum <= 0 {
  5016. return fmt.Errorf("proto: CustomMetricCurrentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  5017. }
  5018. switch fieldNum {
  5019. case 1:
  5020. if wireType != 2 {
  5021. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5022. }
  5023. var stringLen uint64
  5024. for shift := uint(0); ; shift += 7 {
  5025. if shift >= 64 {
  5026. return ErrIntOverflowGenerated
  5027. }
  5028. if iNdEx >= l {
  5029. return io.ErrUnexpectedEOF
  5030. }
  5031. b := data[iNdEx]
  5032. iNdEx++
  5033. stringLen |= (uint64(b) & 0x7F) << shift
  5034. if b < 0x80 {
  5035. break
  5036. }
  5037. }
  5038. intStringLen := int(stringLen)
  5039. if intStringLen < 0 {
  5040. return ErrInvalidLengthGenerated
  5041. }
  5042. postIndex := iNdEx + intStringLen
  5043. if postIndex > l {
  5044. return io.ErrUnexpectedEOF
  5045. }
  5046. m.Name = string(data[iNdEx:postIndex])
  5047. iNdEx = postIndex
  5048. case 2:
  5049. if wireType != 2 {
  5050. return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType)
  5051. }
  5052. var msglen int
  5053. for shift := uint(0); ; shift += 7 {
  5054. if shift >= 64 {
  5055. return ErrIntOverflowGenerated
  5056. }
  5057. if iNdEx >= l {
  5058. return io.ErrUnexpectedEOF
  5059. }
  5060. b := data[iNdEx]
  5061. iNdEx++
  5062. msglen |= (int(b) & 0x7F) << shift
  5063. if b < 0x80 {
  5064. break
  5065. }
  5066. }
  5067. if msglen < 0 {
  5068. return ErrInvalidLengthGenerated
  5069. }
  5070. postIndex := iNdEx + msglen
  5071. if postIndex > l {
  5072. return io.ErrUnexpectedEOF
  5073. }
  5074. if err := m.CurrentValue.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5075. return err
  5076. }
  5077. iNdEx = postIndex
  5078. default:
  5079. iNdEx = preIndex
  5080. skippy, err := skipGenerated(data[iNdEx:])
  5081. if err != nil {
  5082. return err
  5083. }
  5084. if skippy < 0 {
  5085. return ErrInvalidLengthGenerated
  5086. }
  5087. if (iNdEx + skippy) > l {
  5088. return io.ErrUnexpectedEOF
  5089. }
  5090. iNdEx += skippy
  5091. }
  5092. }
  5093. if iNdEx > l {
  5094. return io.ErrUnexpectedEOF
  5095. }
  5096. return nil
  5097. }
  5098. func (m *CustomMetricCurrentStatusList) Unmarshal(data []byte) error {
  5099. l := len(data)
  5100. iNdEx := 0
  5101. for iNdEx < l {
  5102. preIndex := iNdEx
  5103. var wire uint64
  5104. for shift := uint(0); ; shift += 7 {
  5105. if shift >= 64 {
  5106. return ErrIntOverflowGenerated
  5107. }
  5108. if iNdEx >= l {
  5109. return io.ErrUnexpectedEOF
  5110. }
  5111. b := data[iNdEx]
  5112. iNdEx++
  5113. wire |= (uint64(b) & 0x7F) << shift
  5114. if b < 0x80 {
  5115. break
  5116. }
  5117. }
  5118. fieldNum := int32(wire >> 3)
  5119. wireType := int(wire & 0x7)
  5120. if wireType == 4 {
  5121. return fmt.Errorf("proto: CustomMetricCurrentStatusList: wiretype end group for non-group")
  5122. }
  5123. if fieldNum <= 0 {
  5124. return fmt.Errorf("proto: CustomMetricCurrentStatusList: illegal tag %d (wire type %d)", fieldNum, wire)
  5125. }
  5126. switch fieldNum {
  5127. case 1:
  5128. if wireType != 2 {
  5129. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  5130. }
  5131. var msglen int
  5132. for shift := uint(0); ; shift += 7 {
  5133. if shift >= 64 {
  5134. return ErrIntOverflowGenerated
  5135. }
  5136. if iNdEx >= l {
  5137. return io.ErrUnexpectedEOF
  5138. }
  5139. b := data[iNdEx]
  5140. iNdEx++
  5141. msglen |= (int(b) & 0x7F) << shift
  5142. if b < 0x80 {
  5143. break
  5144. }
  5145. }
  5146. if msglen < 0 {
  5147. return ErrInvalidLengthGenerated
  5148. }
  5149. postIndex := iNdEx + msglen
  5150. if postIndex > l {
  5151. return io.ErrUnexpectedEOF
  5152. }
  5153. m.Items = append(m.Items, CustomMetricCurrentStatus{})
  5154. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  5155. return err
  5156. }
  5157. iNdEx = postIndex
  5158. default:
  5159. iNdEx = preIndex
  5160. skippy, err := skipGenerated(data[iNdEx:])
  5161. if err != nil {
  5162. return err
  5163. }
  5164. if skippy < 0 {
  5165. return ErrInvalidLengthGenerated
  5166. }
  5167. if (iNdEx + skippy) > l {
  5168. return io.ErrUnexpectedEOF
  5169. }
  5170. iNdEx += skippy
  5171. }
  5172. }
  5173. if iNdEx > l {
  5174. return io.ErrUnexpectedEOF
  5175. }
  5176. return nil
  5177. }
  5178. func (m *CustomMetricTarget) Unmarshal(data []byte) error {
  5179. l := len(data)
  5180. iNdEx := 0
  5181. for iNdEx < l {
  5182. preIndex := iNdEx
  5183. var wire uint64
  5184. for shift := uint(0); ; shift += 7 {
  5185. if shift >= 64 {
  5186. return ErrIntOverflowGenerated
  5187. }
  5188. if iNdEx >= l {
  5189. return io.ErrUnexpectedEOF
  5190. }
  5191. b := data[iNdEx]
  5192. iNdEx++
  5193. wire |= (uint64(b) & 0x7F) << shift
  5194. if b < 0x80 {
  5195. break
  5196. }
  5197. }
  5198. fieldNum := int32(wire >> 3)
  5199. wireType := int(wire & 0x7)
  5200. if wireType == 4 {
  5201. return fmt.Errorf("proto: CustomMetricTarget: wiretype end group for non-group")
  5202. }
  5203. if fieldNum <= 0 {
  5204. return fmt.Errorf("proto: CustomMetricTarget: illegal tag %d (wire type %d)", fieldNum, wire)
  5205. }
  5206. switch fieldNum {
  5207. case 1:
  5208. if wireType != 2 {
  5209. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5210. }
  5211. var stringLen uint64
  5212. for shift := uint(0); ; shift += 7 {
  5213. if shift >= 64 {
  5214. return ErrIntOverflowGenerated
  5215. }
  5216. if iNdEx >= l {
  5217. return io.ErrUnexpectedEOF
  5218. }
  5219. b := data[iNdEx]
  5220. iNdEx++
  5221. stringLen |= (uint64(b) & 0x7F) << shift
  5222. if b < 0x80 {
  5223. break
  5224. }
  5225. }
  5226. intStringLen := int(stringLen)
  5227. if intStringLen < 0 {
  5228. return ErrInvalidLengthGenerated
  5229. }
  5230. postIndex := iNdEx + intStringLen
  5231. if postIndex > l {
  5232. return io.ErrUnexpectedEOF
  5233. }
  5234. m.Name = string(data[iNdEx:postIndex])
  5235. iNdEx = postIndex
  5236. case 2:
  5237. if wireType != 2 {
  5238. return fmt.Errorf("proto: wrong wireType = %d for field TargetValue", wireType)
  5239. }
  5240. var msglen int
  5241. for shift := uint(0); ; shift += 7 {
  5242. if shift >= 64 {
  5243. return ErrIntOverflowGenerated
  5244. }
  5245. if iNdEx >= l {
  5246. return io.ErrUnexpectedEOF
  5247. }
  5248. b := data[iNdEx]
  5249. iNdEx++
  5250. msglen |= (int(b) & 0x7F) << shift
  5251. if b < 0x80 {
  5252. break
  5253. }
  5254. }
  5255. if msglen < 0 {
  5256. return ErrInvalidLengthGenerated
  5257. }
  5258. postIndex := iNdEx + msglen
  5259. if postIndex > l {
  5260. return io.ErrUnexpectedEOF
  5261. }
  5262. if err := m.TargetValue.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5263. return err
  5264. }
  5265. iNdEx = postIndex
  5266. default:
  5267. iNdEx = preIndex
  5268. skippy, err := skipGenerated(data[iNdEx:])
  5269. if err != nil {
  5270. return err
  5271. }
  5272. if skippy < 0 {
  5273. return ErrInvalidLengthGenerated
  5274. }
  5275. if (iNdEx + skippy) > l {
  5276. return io.ErrUnexpectedEOF
  5277. }
  5278. iNdEx += skippy
  5279. }
  5280. }
  5281. if iNdEx > l {
  5282. return io.ErrUnexpectedEOF
  5283. }
  5284. return nil
  5285. }
  5286. func (m *CustomMetricTargetList) Unmarshal(data []byte) error {
  5287. l := len(data)
  5288. iNdEx := 0
  5289. for iNdEx < l {
  5290. preIndex := iNdEx
  5291. var wire uint64
  5292. for shift := uint(0); ; shift += 7 {
  5293. if shift >= 64 {
  5294. return ErrIntOverflowGenerated
  5295. }
  5296. if iNdEx >= l {
  5297. return io.ErrUnexpectedEOF
  5298. }
  5299. b := data[iNdEx]
  5300. iNdEx++
  5301. wire |= (uint64(b) & 0x7F) << shift
  5302. if b < 0x80 {
  5303. break
  5304. }
  5305. }
  5306. fieldNum := int32(wire >> 3)
  5307. wireType := int(wire & 0x7)
  5308. if wireType == 4 {
  5309. return fmt.Errorf("proto: CustomMetricTargetList: wiretype end group for non-group")
  5310. }
  5311. if fieldNum <= 0 {
  5312. return fmt.Errorf("proto: CustomMetricTargetList: illegal tag %d (wire type %d)", fieldNum, wire)
  5313. }
  5314. switch fieldNum {
  5315. case 1:
  5316. if wireType != 2 {
  5317. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  5318. }
  5319. var msglen int
  5320. for shift := uint(0); ; shift += 7 {
  5321. if shift >= 64 {
  5322. return ErrIntOverflowGenerated
  5323. }
  5324. if iNdEx >= l {
  5325. return io.ErrUnexpectedEOF
  5326. }
  5327. b := data[iNdEx]
  5328. iNdEx++
  5329. msglen |= (int(b) & 0x7F) << shift
  5330. if b < 0x80 {
  5331. break
  5332. }
  5333. }
  5334. if msglen < 0 {
  5335. return ErrInvalidLengthGenerated
  5336. }
  5337. postIndex := iNdEx + msglen
  5338. if postIndex > l {
  5339. return io.ErrUnexpectedEOF
  5340. }
  5341. m.Items = append(m.Items, CustomMetricTarget{})
  5342. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  5343. return err
  5344. }
  5345. iNdEx = postIndex
  5346. default:
  5347. iNdEx = preIndex
  5348. skippy, err := skipGenerated(data[iNdEx:])
  5349. if err != nil {
  5350. return err
  5351. }
  5352. if skippy < 0 {
  5353. return ErrInvalidLengthGenerated
  5354. }
  5355. if (iNdEx + skippy) > l {
  5356. return io.ErrUnexpectedEOF
  5357. }
  5358. iNdEx += skippy
  5359. }
  5360. }
  5361. if iNdEx > l {
  5362. return io.ErrUnexpectedEOF
  5363. }
  5364. return nil
  5365. }
  5366. func (m *DaemonSet) Unmarshal(data []byte) error {
  5367. l := len(data)
  5368. iNdEx := 0
  5369. for iNdEx < l {
  5370. preIndex := iNdEx
  5371. var wire uint64
  5372. for shift := uint(0); ; shift += 7 {
  5373. if shift >= 64 {
  5374. return ErrIntOverflowGenerated
  5375. }
  5376. if iNdEx >= l {
  5377. return io.ErrUnexpectedEOF
  5378. }
  5379. b := data[iNdEx]
  5380. iNdEx++
  5381. wire |= (uint64(b) & 0x7F) << shift
  5382. if b < 0x80 {
  5383. break
  5384. }
  5385. }
  5386. fieldNum := int32(wire >> 3)
  5387. wireType := int(wire & 0x7)
  5388. if wireType == 4 {
  5389. return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
  5390. }
  5391. if fieldNum <= 0 {
  5392. return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
  5393. }
  5394. switch fieldNum {
  5395. case 1:
  5396. if wireType != 2 {
  5397. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  5398. }
  5399. var msglen int
  5400. for shift := uint(0); ; shift += 7 {
  5401. if shift >= 64 {
  5402. return ErrIntOverflowGenerated
  5403. }
  5404. if iNdEx >= l {
  5405. return io.ErrUnexpectedEOF
  5406. }
  5407. b := data[iNdEx]
  5408. iNdEx++
  5409. msglen |= (int(b) & 0x7F) << shift
  5410. if b < 0x80 {
  5411. break
  5412. }
  5413. }
  5414. if msglen < 0 {
  5415. return ErrInvalidLengthGenerated
  5416. }
  5417. postIndex := iNdEx + msglen
  5418. if postIndex > l {
  5419. return io.ErrUnexpectedEOF
  5420. }
  5421. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5422. return err
  5423. }
  5424. iNdEx = postIndex
  5425. case 2:
  5426. if wireType != 2 {
  5427. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  5428. }
  5429. var msglen int
  5430. for shift := uint(0); ; shift += 7 {
  5431. if shift >= 64 {
  5432. return ErrIntOverflowGenerated
  5433. }
  5434. if iNdEx >= l {
  5435. return io.ErrUnexpectedEOF
  5436. }
  5437. b := data[iNdEx]
  5438. iNdEx++
  5439. msglen |= (int(b) & 0x7F) << shift
  5440. if b < 0x80 {
  5441. break
  5442. }
  5443. }
  5444. if msglen < 0 {
  5445. return ErrInvalidLengthGenerated
  5446. }
  5447. postIndex := iNdEx + msglen
  5448. if postIndex > l {
  5449. return io.ErrUnexpectedEOF
  5450. }
  5451. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5452. return err
  5453. }
  5454. iNdEx = postIndex
  5455. case 3:
  5456. if wireType != 2 {
  5457. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5458. }
  5459. var msglen 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. msglen |= (int(b) & 0x7F) << shift
  5470. if b < 0x80 {
  5471. break
  5472. }
  5473. }
  5474. if msglen < 0 {
  5475. return ErrInvalidLengthGenerated
  5476. }
  5477. postIndex := iNdEx + msglen
  5478. if postIndex > l {
  5479. return io.ErrUnexpectedEOF
  5480. }
  5481. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5482. return err
  5483. }
  5484. iNdEx = postIndex
  5485. default:
  5486. iNdEx = preIndex
  5487. skippy, err := skipGenerated(data[iNdEx:])
  5488. if err != nil {
  5489. return err
  5490. }
  5491. if skippy < 0 {
  5492. return ErrInvalidLengthGenerated
  5493. }
  5494. if (iNdEx + skippy) > l {
  5495. return io.ErrUnexpectedEOF
  5496. }
  5497. iNdEx += skippy
  5498. }
  5499. }
  5500. if iNdEx > l {
  5501. return io.ErrUnexpectedEOF
  5502. }
  5503. return nil
  5504. }
  5505. func (m *DaemonSetList) Unmarshal(data []byte) error {
  5506. l := len(data)
  5507. iNdEx := 0
  5508. for iNdEx < l {
  5509. preIndex := iNdEx
  5510. var wire uint64
  5511. for shift := uint(0); ; shift += 7 {
  5512. if shift >= 64 {
  5513. return ErrIntOverflowGenerated
  5514. }
  5515. if iNdEx >= l {
  5516. return io.ErrUnexpectedEOF
  5517. }
  5518. b := data[iNdEx]
  5519. iNdEx++
  5520. wire |= (uint64(b) & 0x7F) << shift
  5521. if b < 0x80 {
  5522. break
  5523. }
  5524. }
  5525. fieldNum := int32(wire >> 3)
  5526. wireType := int(wire & 0x7)
  5527. if wireType == 4 {
  5528. return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group")
  5529. }
  5530. if fieldNum <= 0 {
  5531. return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  5532. }
  5533. switch fieldNum {
  5534. case 1:
  5535. if wireType != 2 {
  5536. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  5537. }
  5538. var msglen int
  5539. for shift := uint(0); ; shift += 7 {
  5540. if shift >= 64 {
  5541. return ErrIntOverflowGenerated
  5542. }
  5543. if iNdEx >= l {
  5544. return io.ErrUnexpectedEOF
  5545. }
  5546. b := data[iNdEx]
  5547. iNdEx++
  5548. msglen |= (int(b) & 0x7F) << shift
  5549. if b < 0x80 {
  5550. break
  5551. }
  5552. }
  5553. if msglen < 0 {
  5554. return ErrInvalidLengthGenerated
  5555. }
  5556. postIndex := iNdEx + msglen
  5557. if postIndex > l {
  5558. return io.ErrUnexpectedEOF
  5559. }
  5560. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5561. return err
  5562. }
  5563. iNdEx = postIndex
  5564. case 2:
  5565. if wireType != 2 {
  5566. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  5567. }
  5568. var msglen int
  5569. for shift := uint(0); ; shift += 7 {
  5570. if shift >= 64 {
  5571. return ErrIntOverflowGenerated
  5572. }
  5573. if iNdEx >= l {
  5574. return io.ErrUnexpectedEOF
  5575. }
  5576. b := data[iNdEx]
  5577. iNdEx++
  5578. msglen |= (int(b) & 0x7F) << shift
  5579. if b < 0x80 {
  5580. break
  5581. }
  5582. }
  5583. if msglen < 0 {
  5584. return ErrInvalidLengthGenerated
  5585. }
  5586. postIndex := iNdEx + msglen
  5587. if postIndex > l {
  5588. return io.ErrUnexpectedEOF
  5589. }
  5590. m.Items = append(m.Items, DaemonSet{})
  5591. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  5592. return err
  5593. }
  5594. iNdEx = postIndex
  5595. default:
  5596. iNdEx = preIndex
  5597. skippy, err := skipGenerated(data[iNdEx:])
  5598. if err != nil {
  5599. return err
  5600. }
  5601. if skippy < 0 {
  5602. return ErrInvalidLengthGenerated
  5603. }
  5604. if (iNdEx + skippy) > l {
  5605. return io.ErrUnexpectedEOF
  5606. }
  5607. iNdEx += skippy
  5608. }
  5609. }
  5610. if iNdEx > l {
  5611. return io.ErrUnexpectedEOF
  5612. }
  5613. return nil
  5614. }
  5615. func (m *DaemonSetSpec) Unmarshal(data []byte) error {
  5616. l := len(data)
  5617. iNdEx := 0
  5618. for iNdEx < l {
  5619. preIndex := iNdEx
  5620. var wire uint64
  5621. for shift := uint(0); ; shift += 7 {
  5622. if shift >= 64 {
  5623. return ErrIntOverflowGenerated
  5624. }
  5625. if iNdEx >= l {
  5626. return io.ErrUnexpectedEOF
  5627. }
  5628. b := data[iNdEx]
  5629. iNdEx++
  5630. wire |= (uint64(b) & 0x7F) << shift
  5631. if b < 0x80 {
  5632. break
  5633. }
  5634. }
  5635. fieldNum := int32(wire >> 3)
  5636. wireType := int(wire & 0x7)
  5637. if wireType == 4 {
  5638. return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group")
  5639. }
  5640. if fieldNum <= 0 {
  5641. return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  5642. }
  5643. switch fieldNum {
  5644. case 1:
  5645. if wireType != 2 {
  5646. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  5647. }
  5648. var msglen int
  5649. for shift := uint(0); ; shift += 7 {
  5650. if shift >= 64 {
  5651. return ErrIntOverflowGenerated
  5652. }
  5653. if iNdEx >= l {
  5654. return io.ErrUnexpectedEOF
  5655. }
  5656. b := data[iNdEx]
  5657. iNdEx++
  5658. msglen |= (int(b) & 0x7F) << shift
  5659. if b < 0x80 {
  5660. break
  5661. }
  5662. }
  5663. if msglen < 0 {
  5664. return ErrInvalidLengthGenerated
  5665. }
  5666. postIndex := iNdEx + msglen
  5667. if postIndex > l {
  5668. return io.ErrUnexpectedEOF
  5669. }
  5670. if m.Selector == nil {
  5671. m.Selector = &LabelSelector{}
  5672. }
  5673. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5674. return err
  5675. }
  5676. iNdEx = postIndex
  5677. case 2:
  5678. if wireType != 2 {
  5679. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  5680. }
  5681. var msglen int
  5682. for shift := uint(0); ; shift += 7 {
  5683. if shift >= 64 {
  5684. return ErrIntOverflowGenerated
  5685. }
  5686. if iNdEx >= l {
  5687. return io.ErrUnexpectedEOF
  5688. }
  5689. b := data[iNdEx]
  5690. iNdEx++
  5691. msglen |= (int(b) & 0x7F) << shift
  5692. if b < 0x80 {
  5693. break
  5694. }
  5695. }
  5696. if msglen < 0 {
  5697. return ErrInvalidLengthGenerated
  5698. }
  5699. postIndex := iNdEx + msglen
  5700. if postIndex > l {
  5701. return io.ErrUnexpectedEOF
  5702. }
  5703. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5704. return err
  5705. }
  5706. iNdEx = postIndex
  5707. default:
  5708. iNdEx = preIndex
  5709. skippy, err := skipGenerated(data[iNdEx:])
  5710. if err != nil {
  5711. return err
  5712. }
  5713. if skippy < 0 {
  5714. return ErrInvalidLengthGenerated
  5715. }
  5716. if (iNdEx + skippy) > l {
  5717. return io.ErrUnexpectedEOF
  5718. }
  5719. iNdEx += skippy
  5720. }
  5721. }
  5722. if iNdEx > l {
  5723. return io.ErrUnexpectedEOF
  5724. }
  5725. return nil
  5726. }
  5727. func (m *DaemonSetStatus) Unmarshal(data []byte) error {
  5728. l := len(data)
  5729. iNdEx := 0
  5730. for iNdEx < l {
  5731. preIndex := iNdEx
  5732. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  5743. if b < 0x80 {
  5744. break
  5745. }
  5746. }
  5747. fieldNum := int32(wire >> 3)
  5748. wireType := int(wire & 0x7)
  5749. if wireType == 4 {
  5750. return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
  5751. }
  5752. if fieldNum <= 0 {
  5753. return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  5754. }
  5755. switch fieldNum {
  5756. case 1:
  5757. if wireType != 0 {
  5758. return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
  5759. }
  5760. m.CurrentNumberScheduled = 0
  5761. for shift := uint(0); ; shift += 7 {
  5762. if shift >= 64 {
  5763. return ErrIntOverflowGenerated
  5764. }
  5765. if iNdEx >= l {
  5766. return io.ErrUnexpectedEOF
  5767. }
  5768. b := data[iNdEx]
  5769. iNdEx++
  5770. m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift
  5771. if b < 0x80 {
  5772. break
  5773. }
  5774. }
  5775. case 2:
  5776. if wireType != 0 {
  5777. return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
  5778. }
  5779. m.NumberMisscheduled = 0
  5780. for shift := uint(0); ; shift += 7 {
  5781. if shift >= 64 {
  5782. return ErrIntOverflowGenerated
  5783. }
  5784. if iNdEx >= l {
  5785. return io.ErrUnexpectedEOF
  5786. }
  5787. b := data[iNdEx]
  5788. iNdEx++
  5789. m.NumberMisscheduled |= (int32(b) & 0x7F) << shift
  5790. if b < 0x80 {
  5791. break
  5792. }
  5793. }
  5794. case 3:
  5795. if wireType != 0 {
  5796. return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
  5797. }
  5798. m.DesiredNumberScheduled = 0
  5799. for shift := uint(0); ; shift += 7 {
  5800. if shift >= 64 {
  5801. return ErrIntOverflowGenerated
  5802. }
  5803. if iNdEx >= l {
  5804. return io.ErrUnexpectedEOF
  5805. }
  5806. b := data[iNdEx]
  5807. iNdEx++
  5808. m.DesiredNumberScheduled |= (int32(b) & 0x7F) << shift
  5809. if b < 0x80 {
  5810. break
  5811. }
  5812. }
  5813. default:
  5814. iNdEx = preIndex
  5815. skippy, err := skipGenerated(data[iNdEx:])
  5816. if err != nil {
  5817. return err
  5818. }
  5819. if skippy < 0 {
  5820. return ErrInvalidLengthGenerated
  5821. }
  5822. if (iNdEx + skippy) > l {
  5823. return io.ErrUnexpectedEOF
  5824. }
  5825. iNdEx += skippy
  5826. }
  5827. }
  5828. if iNdEx > l {
  5829. return io.ErrUnexpectedEOF
  5830. }
  5831. return nil
  5832. }
  5833. func (m *Deployment) Unmarshal(data []byte) error {
  5834. l := len(data)
  5835. iNdEx := 0
  5836. for iNdEx < l {
  5837. preIndex := iNdEx
  5838. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  5849. if b < 0x80 {
  5850. break
  5851. }
  5852. }
  5853. fieldNum := int32(wire >> 3)
  5854. wireType := int(wire & 0x7)
  5855. if wireType == 4 {
  5856. return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
  5857. }
  5858. if fieldNum <= 0 {
  5859. return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
  5860. }
  5861. switch fieldNum {
  5862. case 1:
  5863. if wireType != 2 {
  5864. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  5865. }
  5866. var msglen int
  5867. for shift := uint(0); ; shift += 7 {
  5868. if shift >= 64 {
  5869. return ErrIntOverflowGenerated
  5870. }
  5871. if iNdEx >= l {
  5872. return io.ErrUnexpectedEOF
  5873. }
  5874. b := data[iNdEx]
  5875. iNdEx++
  5876. msglen |= (int(b) & 0x7F) << shift
  5877. if b < 0x80 {
  5878. break
  5879. }
  5880. }
  5881. if msglen < 0 {
  5882. return ErrInvalidLengthGenerated
  5883. }
  5884. postIndex := iNdEx + msglen
  5885. if postIndex > l {
  5886. return io.ErrUnexpectedEOF
  5887. }
  5888. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5889. return err
  5890. }
  5891. iNdEx = postIndex
  5892. case 2:
  5893. if wireType != 2 {
  5894. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  5895. }
  5896. var msglen int
  5897. for shift := uint(0); ; shift += 7 {
  5898. if shift >= 64 {
  5899. return ErrIntOverflowGenerated
  5900. }
  5901. if iNdEx >= l {
  5902. return io.ErrUnexpectedEOF
  5903. }
  5904. b := data[iNdEx]
  5905. iNdEx++
  5906. msglen |= (int(b) & 0x7F) << shift
  5907. if b < 0x80 {
  5908. break
  5909. }
  5910. }
  5911. if msglen < 0 {
  5912. return ErrInvalidLengthGenerated
  5913. }
  5914. postIndex := iNdEx + msglen
  5915. if postIndex > l {
  5916. return io.ErrUnexpectedEOF
  5917. }
  5918. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5919. return err
  5920. }
  5921. iNdEx = postIndex
  5922. case 3:
  5923. if wireType != 2 {
  5924. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5925. }
  5926. var msglen int
  5927. for shift := uint(0); ; shift += 7 {
  5928. if shift >= 64 {
  5929. return ErrIntOverflowGenerated
  5930. }
  5931. if iNdEx >= l {
  5932. return io.ErrUnexpectedEOF
  5933. }
  5934. b := data[iNdEx]
  5935. iNdEx++
  5936. msglen |= (int(b) & 0x7F) << shift
  5937. if b < 0x80 {
  5938. break
  5939. }
  5940. }
  5941. if msglen < 0 {
  5942. return ErrInvalidLengthGenerated
  5943. }
  5944. postIndex := iNdEx + msglen
  5945. if postIndex > l {
  5946. return io.ErrUnexpectedEOF
  5947. }
  5948. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  5949. return err
  5950. }
  5951. iNdEx = postIndex
  5952. default:
  5953. iNdEx = preIndex
  5954. skippy, err := skipGenerated(data[iNdEx:])
  5955. if err != nil {
  5956. return err
  5957. }
  5958. if skippy < 0 {
  5959. return ErrInvalidLengthGenerated
  5960. }
  5961. if (iNdEx + skippy) > l {
  5962. return io.ErrUnexpectedEOF
  5963. }
  5964. iNdEx += skippy
  5965. }
  5966. }
  5967. if iNdEx > l {
  5968. return io.ErrUnexpectedEOF
  5969. }
  5970. return nil
  5971. }
  5972. func (m *DeploymentList) Unmarshal(data []byte) error {
  5973. l := len(data)
  5974. iNdEx := 0
  5975. for iNdEx < l {
  5976. preIndex := iNdEx
  5977. var wire uint64
  5978. for shift := uint(0); ; shift += 7 {
  5979. if shift >= 64 {
  5980. return ErrIntOverflowGenerated
  5981. }
  5982. if iNdEx >= l {
  5983. return io.ErrUnexpectedEOF
  5984. }
  5985. b := data[iNdEx]
  5986. iNdEx++
  5987. wire |= (uint64(b) & 0x7F) << shift
  5988. if b < 0x80 {
  5989. break
  5990. }
  5991. }
  5992. fieldNum := int32(wire >> 3)
  5993. wireType := int(wire & 0x7)
  5994. if wireType == 4 {
  5995. return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
  5996. }
  5997. if fieldNum <= 0 {
  5998. return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
  5999. }
  6000. switch fieldNum {
  6001. case 1:
  6002. if wireType != 2 {
  6003. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  6004. }
  6005. var msglen int
  6006. for shift := uint(0); ; shift += 7 {
  6007. if shift >= 64 {
  6008. return ErrIntOverflowGenerated
  6009. }
  6010. if iNdEx >= l {
  6011. return io.ErrUnexpectedEOF
  6012. }
  6013. b := data[iNdEx]
  6014. iNdEx++
  6015. msglen |= (int(b) & 0x7F) << shift
  6016. if b < 0x80 {
  6017. break
  6018. }
  6019. }
  6020. if msglen < 0 {
  6021. return ErrInvalidLengthGenerated
  6022. }
  6023. postIndex := iNdEx + msglen
  6024. if postIndex > l {
  6025. return io.ErrUnexpectedEOF
  6026. }
  6027. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  6028. return err
  6029. }
  6030. iNdEx = postIndex
  6031. case 2:
  6032. if wireType != 2 {
  6033. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  6034. }
  6035. var msglen int
  6036. for shift := uint(0); ; shift += 7 {
  6037. if shift >= 64 {
  6038. return ErrIntOverflowGenerated
  6039. }
  6040. if iNdEx >= l {
  6041. return io.ErrUnexpectedEOF
  6042. }
  6043. b := data[iNdEx]
  6044. iNdEx++
  6045. msglen |= (int(b) & 0x7F) << shift
  6046. if b < 0x80 {
  6047. break
  6048. }
  6049. }
  6050. if msglen < 0 {
  6051. return ErrInvalidLengthGenerated
  6052. }
  6053. postIndex := iNdEx + msglen
  6054. if postIndex > l {
  6055. return io.ErrUnexpectedEOF
  6056. }
  6057. m.Items = append(m.Items, Deployment{})
  6058. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  6059. return err
  6060. }
  6061. iNdEx = postIndex
  6062. default:
  6063. iNdEx = preIndex
  6064. skippy, err := skipGenerated(data[iNdEx:])
  6065. if err != nil {
  6066. return err
  6067. }
  6068. if skippy < 0 {
  6069. return ErrInvalidLengthGenerated
  6070. }
  6071. if (iNdEx + skippy) > l {
  6072. return io.ErrUnexpectedEOF
  6073. }
  6074. iNdEx += skippy
  6075. }
  6076. }
  6077. if iNdEx > l {
  6078. return io.ErrUnexpectedEOF
  6079. }
  6080. return nil
  6081. }
  6082. func (m *DeploymentRollback) Unmarshal(data []byte) error {
  6083. l := len(data)
  6084. iNdEx := 0
  6085. for iNdEx < l {
  6086. preIndex := iNdEx
  6087. var wire uint64
  6088. for shift := uint(0); ; shift += 7 {
  6089. if shift >= 64 {
  6090. return ErrIntOverflowGenerated
  6091. }
  6092. if iNdEx >= l {
  6093. return io.ErrUnexpectedEOF
  6094. }
  6095. b := data[iNdEx]
  6096. iNdEx++
  6097. wire |= (uint64(b) & 0x7F) << shift
  6098. if b < 0x80 {
  6099. break
  6100. }
  6101. }
  6102. fieldNum := int32(wire >> 3)
  6103. wireType := int(wire & 0x7)
  6104. if wireType == 4 {
  6105. return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
  6106. }
  6107. if fieldNum <= 0 {
  6108. return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
  6109. }
  6110. switch fieldNum {
  6111. case 1:
  6112. if wireType != 2 {
  6113. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6114. }
  6115. var stringLen uint64
  6116. for shift := uint(0); ; shift += 7 {
  6117. if shift >= 64 {
  6118. return ErrIntOverflowGenerated
  6119. }
  6120. if iNdEx >= l {
  6121. return io.ErrUnexpectedEOF
  6122. }
  6123. b := data[iNdEx]
  6124. iNdEx++
  6125. stringLen |= (uint64(b) & 0x7F) << shift
  6126. if b < 0x80 {
  6127. break
  6128. }
  6129. }
  6130. intStringLen := int(stringLen)
  6131. if intStringLen < 0 {
  6132. return ErrInvalidLengthGenerated
  6133. }
  6134. postIndex := iNdEx + intStringLen
  6135. if postIndex > l {
  6136. return io.ErrUnexpectedEOF
  6137. }
  6138. m.Name = string(data[iNdEx:postIndex])
  6139. iNdEx = postIndex
  6140. case 2:
  6141. if wireType != 2 {
  6142. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
  6143. }
  6144. var msglen int
  6145. for shift := uint(0); ; shift += 7 {
  6146. if shift >= 64 {
  6147. return ErrIntOverflowGenerated
  6148. }
  6149. if iNdEx >= l {
  6150. return io.ErrUnexpectedEOF
  6151. }
  6152. b := data[iNdEx]
  6153. iNdEx++
  6154. msglen |= (int(b) & 0x7F) << shift
  6155. if b < 0x80 {
  6156. break
  6157. }
  6158. }
  6159. if msglen < 0 {
  6160. return ErrInvalidLengthGenerated
  6161. }
  6162. postIndex := iNdEx + msglen
  6163. if postIndex > l {
  6164. return io.ErrUnexpectedEOF
  6165. }
  6166. var keykey uint64
  6167. for shift := uint(0); ; shift += 7 {
  6168. if shift >= 64 {
  6169. return ErrIntOverflowGenerated
  6170. }
  6171. if iNdEx >= l {
  6172. return io.ErrUnexpectedEOF
  6173. }
  6174. b := data[iNdEx]
  6175. iNdEx++
  6176. keykey |= (uint64(b) & 0x7F) << shift
  6177. if b < 0x80 {
  6178. break
  6179. }
  6180. }
  6181. var stringLenmapkey uint64
  6182. for shift := uint(0); ; shift += 7 {
  6183. if shift >= 64 {
  6184. return ErrIntOverflowGenerated
  6185. }
  6186. if iNdEx >= l {
  6187. return io.ErrUnexpectedEOF
  6188. }
  6189. b := data[iNdEx]
  6190. iNdEx++
  6191. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  6192. if b < 0x80 {
  6193. break
  6194. }
  6195. }
  6196. intStringLenmapkey := int(stringLenmapkey)
  6197. if intStringLenmapkey < 0 {
  6198. return ErrInvalidLengthGenerated
  6199. }
  6200. postStringIndexmapkey := iNdEx + intStringLenmapkey
  6201. if postStringIndexmapkey > l {
  6202. return io.ErrUnexpectedEOF
  6203. }
  6204. mapkey := string(data[iNdEx:postStringIndexmapkey])
  6205. iNdEx = postStringIndexmapkey
  6206. var valuekey uint64
  6207. for shift := uint(0); ; shift += 7 {
  6208. if shift >= 64 {
  6209. return ErrIntOverflowGenerated
  6210. }
  6211. if iNdEx >= l {
  6212. return io.ErrUnexpectedEOF
  6213. }
  6214. b := data[iNdEx]
  6215. iNdEx++
  6216. valuekey |= (uint64(b) & 0x7F) << shift
  6217. if b < 0x80 {
  6218. break
  6219. }
  6220. }
  6221. var stringLenmapvalue uint64
  6222. for shift := uint(0); ; shift += 7 {
  6223. if shift >= 64 {
  6224. return ErrIntOverflowGenerated
  6225. }
  6226. if iNdEx >= l {
  6227. return io.ErrUnexpectedEOF
  6228. }
  6229. b := data[iNdEx]
  6230. iNdEx++
  6231. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  6232. if b < 0x80 {
  6233. break
  6234. }
  6235. }
  6236. intStringLenmapvalue := int(stringLenmapvalue)
  6237. if intStringLenmapvalue < 0 {
  6238. return ErrInvalidLengthGenerated
  6239. }
  6240. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  6241. if postStringIndexmapvalue > l {
  6242. return io.ErrUnexpectedEOF
  6243. }
  6244. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  6245. iNdEx = postStringIndexmapvalue
  6246. if m.UpdatedAnnotations == nil {
  6247. m.UpdatedAnnotations = make(map[string]string)
  6248. }
  6249. m.UpdatedAnnotations[mapkey] = mapvalue
  6250. iNdEx = postIndex
  6251. case 3:
  6252. if wireType != 2 {
  6253. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  6254. }
  6255. var msglen int
  6256. for shift := uint(0); ; shift += 7 {
  6257. if shift >= 64 {
  6258. return ErrIntOverflowGenerated
  6259. }
  6260. if iNdEx >= l {
  6261. return io.ErrUnexpectedEOF
  6262. }
  6263. b := data[iNdEx]
  6264. iNdEx++
  6265. msglen |= (int(b) & 0x7F) << shift
  6266. if b < 0x80 {
  6267. break
  6268. }
  6269. }
  6270. if msglen < 0 {
  6271. return ErrInvalidLengthGenerated
  6272. }
  6273. postIndex := iNdEx + msglen
  6274. if postIndex > l {
  6275. return io.ErrUnexpectedEOF
  6276. }
  6277. if err := m.RollbackTo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  6278. return err
  6279. }
  6280. iNdEx = postIndex
  6281. default:
  6282. iNdEx = preIndex
  6283. skippy, err := skipGenerated(data[iNdEx:])
  6284. if err != nil {
  6285. return err
  6286. }
  6287. if skippy < 0 {
  6288. return ErrInvalidLengthGenerated
  6289. }
  6290. if (iNdEx + skippy) > l {
  6291. return io.ErrUnexpectedEOF
  6292. }
  6293. iNdEx += skippy
  6294. }
  6295. }
  6296. if iNdEx > l {
  6297. return io.ErrUnexpectedEOF
  6298. }
  6299. return nil
  6300. }
  6301. func (m *DeploymentSpec) Unmarshal(data []byte) error {
  6302. l := len(data)
  6303. iNdEx := 0
  6304. for iNdEx < l {
  6305. preIndex := iNdEx
  6306. var wire uint64
  6307. for shift := uint(0); ; shift += 7 {
  6308. if shift >= 64 {
  6309. return ErrIntOverflowGenerated
  6310. }
  6311. if iNdEx >= l {
  6312. return io.ErrUnexpectedEOF
  6313. }
  6314. b := data[iNdEx]
  6315. iNdEx++
  6316. wire |= (uint64(b) & 0x7F) << shift
  6317. if b < 0x80 {
  6318. break
  6319. }
  6320. }
  6321. fieldNum := int32(wire >> 3)
  6322. wireType := int(wire & 0x7)
  6323. if wireType == 4 {
  6324. return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
  6325. }
  6326. if fieldNum <= 0 {
  6327. return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  6328. }
  6329. switch fieldNum {
  6330. case 1:
  6331. if wireType != 0 {
  6332. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  6333. }
  6334. var v int32
  6335. for shift := uint(0); ; shift += 7 {
  6336. if shift >= 64 {
  6337. return ErrIntOverflowGenerated
  6338. }
  6339. if iNdEx >= l {
  6340. return io.ErrUnexpectedEOF
  6341. }
  6342. b := data[iNdEx]
  6343. iNdEx++
  6344. v |= (int32(b) & 0x7F) << shift
  6345. if b < 0x80 {
  6346. break
  6347. }
  6348. }
  6349. m.Replicas = &v
  6350. case 2:
  6351. if wireType != 2 {
  6352. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  6353. }
  6354. var msglen int
  6355. for shift := uint(0); ; shift += 7 {
  6356. if shift >= 64 {
  6357. return ErrIntOverflowGenerated
  6358. }
  6359. if iNdEx >= l {
  6360. return io.ErrUnexpectedEOF
  6361. }
  6362. b := data[iNdEx]
  6363. iNdEx++
  6364. msglen |= (int(b) & 0x7F) << shift
  6365. if b < 0x80 {
  6366. break
  6367. }
  6368. }
  6369. if msglen < 0 {
  6370. return ErrInvalidLengthGenerated
  6371. }
  6372. postIndex := iNdEx + msglen
  6373. if postIndex > l {
  6374. return io.ErrUnexpectedEOF
  6375. }
  6376. if m.Selector == nil {
  6377. m.Selector = &LabelSelector{}
  6378. }
  6379. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  6380. return err
  6381. }
  6382. iNdEx = postIndex
  6383. case 3:
  6384. if wireType != 2 {
  6385. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  6386. }
  6387. var msglen int
  6388. for shift := uint(0); ; shift += 7 {
  6389. if shift >= 64 {
  6390. return ErrIntOverflowGenerated
  6391. }
  6392. if iNdEx >= l {
  6393. return io.ErrUnexpectedEOF
  6394. }
  6395. b := data[iNdEx]
  6396. iNdEx++
  6397. msglen |= (int(b) & 0x7F) << shift
  6398. if b < 0x80 {
  6399. break
  6400. }
  6401. }
  6402. if msglen < 0 {
  6403. return ErrInvalidLengthGenerated
  6404. }
  6405. postIndex := iNdEx + msglen
  6406. if postIndex > l {
  6407. return io.ErrUnexpectedEOF
  6408. }
  6409. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  6410. return err
  6411. }
  6412. iNdEx = postIndex
  6413. case 4:
  6414. if wireType != 2 {
  6415. return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
  6416. }
  6417. var msglen int
  6418. for shift := uint(0); ; shift += 7 {
  6419. if shift >= 64 {
  6420. return ErrIntOverflowGenerated
  6421. }
  6422. if iNdEx >= l {
  6423. return io.ErrUnexpectedEOF
  6424. }
  6425. b := data[iNdEx]
  6426. iNdEx++
  6427. msglen |= (int(b) & 0x7F) << shift
  6428. if b < 0x80 {
  6429. break
  6430. }
  6431. }
  6432. if msglen < 0 {
  6433. return ErrInvalidLengthGenerated
  6434. }
  6435. postIndex := iNdEx + msglen
  6436. if postIndex > l {
  6437. return io.ErrUnexpectedEOF
  6438. }
  6439. if err := m.Strategy.Unmarshal(data[iNdEx:postIndex]); err != nil {
  6440. return err
  6441. }
  6442. iNdEx = postIndex
  6443. case 5:
  6444. if wireType != 0 {
  6445. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  6446. }
  6447. m.MinReadySeconds = 0
  6448. for shift := uint(0); ; shift += 7 {
  6449. if shift >= 64 {
  6450. return ErrIntOverflowGenerated
  6451. }
  6452. if iNdEx >= l {
  6453. return io.ErrUnexpectedEOF
  6454. }
  6455. b := data[iNdEx]
  6456. iNdEx++
  6457. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  6458. if b < 0x80 {
  6459. break
  6460. }
  6461. }
  6462. case 6:
  6463. if wireType != 0 {
  6464. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  6465. }
  6466. var v int32
  6467. for shift := uint(0); ; shift += 7 {
  6468. if shift >= 64 {
  6469. return ErrIntOverflowGenerated
  6470. }
  6471. if iNdEx >= l {
  6472. return io.ErrUnexpectedEOF
  6473. }
  6474. b := data[iNdEx]
  6475. iNdEx++
  6476. v |= (int32(b) & 0x7F) << shift
  6477. if b < 0x80 {
  6478. break
  6479. }
  6480. }
  6481. m.RevisionHistoryLimit = &v
  6482. case 7:
  6483. if wireType != 0 {
  6484. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  6485. }
  6486. var v int
  6487. for shift := uint(0); ; shift += 7 {
  6488. if shift >= 64 {
  6489. return ErrIntOverflowGenerated
  6490. }
  6491. if iNdEx >= l {
  6492. return io.ErrUnexpectedEOF
  6493. }
  6494. b := data[iNdEx]
  6495. iNdEx++
  6496. v |= (int(b) & 0x7F) << shift
  6497. if b < 0x80 {
  6498. break
  6499. }
  6500. }
  6501. m.Paused = bool(v != 0)
  6502. case 8:
  6503. if wireType != 2 {
  6504. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  6505. }
  6506. var msglen int
  6507. for shift := uint(0); ; shift += 7 {
  6508. if shift >= 64 {
  6509. return ErrIntOverflowGenerated
  6510. }
  6511. if iNdEx >= l {
  6512. return io.ErrUnexpectedEOF
  6513. }
  6514. b := data[iNdEx]
  6515. iNdEx++
  6516. msglen |= (int(b) & 0x7F) << shift
  6517. if b < 0x80 {
  6518. break
  6519. }
  6520. }
  6521. if msglen < 0 {
  6522. return ErrInvalidLengthGenerated
  6523. }
  6524. postIndex := iNdEx + msglen
  6525. if postIndex > l {
  6526. return io.ErrUnexpectedEOF
  6527. }
  6528. if m.RollbackTo == nil {
  6529. m.RollbackTo = &RollbackConfig{}
  6530. }
  6531. if err := m.RollbackTo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  6532. return err
  6533. }
  6534. iNdEx = postIndex
  6535. default:
  6536. iNdEx = preIndex
  6537. skippy, err := skipGenerated(data[iNdEx:])
  6538. if err != nil {
  6539. return err
  6540. }
  6541. if skippy < 0 {
  6542. return ErrInvalidLengthGenerated
  6543. }
  6544. if (iNdEx + skippy) > l {
  6545. return io.ErrUnexpectedEOF
  6546. }
  6547. iNdEx += skippy
  6548. }
  6549. }
  6550. if iNdEx > l {
  6551. return io.ErrUnexpectedEOF
  6552. }
  6553. return nil
  6554. }
  6555. func (m *DeploymentStatus) Unmarshal(data []byte) error {
  6556. l := len(data)
  6557. iNdEx := 0
  6558. for iNdEx < l {
  6559. preIndex := iNdEx
  6560. var wire uint64
  6561. for shift := uint(0); ; shift += 7 {
  6562. if shift >= 64 {
  6563. return ErrIntOverflowGenerated
  6564. }
  6565. if iNdEx >= l {
  6566. return io.ErrUnexpectedEOF
  6567. }
  6568. b := data[iNdEx]
  6569. iNdEx++
  6570. wire |= (uint64(b) & 0x7F) << shift
  6571. if b < 0x80 {
  6572. break
  6573. }
  6574. }
  6575. fieldNum := int32(wire >> 3)
  6576. wireType := int(wire & 0x7)
  6577. if wireType == 4 {
  6578. return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
  6579. }
  6580. if fieldNum <= 0 {
  6581. return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  6582. }
  6583. switch fieldNum {
  6584. case 1:
  6585. if wireType != 0 {
  6586. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  6587. }
  6588. m.ObservedGeneration = 0
  6589. for shift := uint(0); ; shift += 7 {
  6590. if shift >= 64 {
  6591. return ErrIntOverflowGenerated
  6592. }
  6593. if iNdEx >= l {
  6594. return io.ErrUnexpectedEOF
  6595. }
  6596. b := data[iNdEx]
  6597. iNdEx++
  6598. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  6599. if b < 0x80 {
  6600. break
  6601. }
  6602. }
  6603. case 2:
  6604. if wireType != 0 {
  6605. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  6606. }
  6607. m.Replicas = 0
  6608. for shift := uint(0); ; shift += 7 {
  6609. if shift >= 64 {
  6610. return ErrIntOverflowGenerated
  6611. }
  6612. if iNdEx >= l {
  6613. return io.ErrUnexpectedEOF
  6614. }
  6615. b := data[iNdEx]
  6616. iNdEx++
  6617. m.Replicas |= (int32(b) & 0x7F) << shift
  6618. if b < 0x80 {
  6619. break
  6620. }
  6621. }
  6622. case 3:
  6623. if wireType != 0 {
  6624. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  6625. }
  6626. m.UpdatedReplicas = 0
  6627. for shift := uint(0); ; shift += 7 {
  6628. if shift >= 64 {
  6629. return ErrIntOverflowGenerated
  6630. }
  6631. if iNdEx >= l {
  6632. return io.ErrUnexpectedEOF
  6633. }
  6634. b := data[iNdEx]
  6635. iNdEx++
  6636. m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
  6637. if b < 0x80 {
  6638. break
  6639. }
  6640. }
  6641. case 4:
  6642. if wireType != 0 {
  6643. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  6644. }
  6645. m.AvailableReplicas = 0
  6646. for shift := uint(0); ; shift += 7 {
  6647. if shift >= 64 {
  6648. return ErrIntOverflowGenerated
  6649. }
  6650. if iNdEx >= l {
  6651. return io.ErrUnexpectedEOF
  6652. }
  6653. b := data[iNdEx]
  6654. iNdEx++
  6655. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  6656. if b < 0x80 {
  6657. break
  6658. }
  6659. }
  6660. case 5:
  6661. if wireType != 0 {
  6662. return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
  6663. }
  6664. m.UnavailableReplicas = 0
  6665. for shift := uint(0); ; shift += 7 {
  6666. if shift >= 64 {
  6667. return ErrIntOverflowGenerated
  6668. }
  6669. if iNdEx >= l {
  6670. return io.ErrUnexpectedEOF
  6671. }
  6672. b := data[iNdEx]
  6673. iNdEx++
  6674. m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
  6675. if b < 0x80 {
  6676. break
  6677. }
  6678. }
  6679. default:
  6680. iNdEx = preIndex
  6681. skippy, err := skipGenerated(data[iNdEx:])
  6682. if err != nil {
  6683. return err
  6684. }
  6685. if skippy < 0 {
  6686. return ErrInvalidLengthGenerated
  6687. }
  6688. if (iNdEx + skippy) > l {
  6689. return io.ErrUnexpectedEOF
  6690. }
  6691. iNdEx += skippy
  6692. }
  6693. }
  6694. if iNdEx > l {
  6695. return io.ErrUnexpectedEOF
  6696. }
  6697. return nil
  6698. }
  6699. func (m *DeploymentStrategy) Unmarshal(data []byte) error {
  6700. l := len(data)
  6701. iNdEx := 0
  6702. for iNdEx < l {
  6703. preIndex := iNdEx
  6704. var wire uint64
  6705. for shift := uint(0); ; shift += 7 {
  6706. if shift >= 64 {
  6707. return ErrIntOverflowGenerated
  6708. }
  6709. if iNdEx >= l {
  6710. return io.ErrUnexpectedEOF
  6711. }
  6712. b := data[iNdEx]
  6713. iNdEx++
  6714. wire |= (uint64(b) & 0x7F) << shift
  6715. if b < 0x80 {
  6716. break
  6717. }
  6718. }
  6719. fieldNum := int32(wire >> 3)
  6720. wireType := int(wire & 0x7)
  6721. if wireType == 4 {
  6722. return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
  6723. }
  6724. if fieldNum <= 0 {
  6725. return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  6726. }
  6727. switch fieldNum {
  6728. case 1:
  6729. if wireType != 2 {
  6730. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  6731. }
  6732. var stringLen uint64
  6733. for shift := uint(0); ; shift += 7 {
  6734. if shift >= 64 {
  6735. return ErrIntOverflowGenerated
  6736. }
  6737. if iNdEx >= l {
  6738. return io.ErrUnexpectedEOF
  6739. }
  6740. b := data[iNdEx]
  6741. iNdEx++
  6742. stringLen |= (uint64(b) & 0x7F) << shift
  6743. if b < 0x80 {
  6744. break
  6745. }
  6746. }
  6747. intStringLen := int(stringLen)
  6748. if intStringLen < 0 {
  6749. return ErrInvalidLengthGenerated
  6750. }
  6751. postIndex := iNdEx + intStringLen
  6752. if postIndex > l {
  6753. return io.ErrUnexpectedEOF
  6754. }
  6755. m.Type = DeploymentStrategyType(data[iNdEx:postIndex])
  6756. iNdEx = postIndex
  6757. case 2:
  6758. if wireType != 2 {
  6759. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  6760. }
  6761. var msglen int
  6762. for shift := uint(0); ; shift += 7 {
  6763. if shift >= 64 {
  6764. return ErrIntOverflowGenerated
  6765. }
  6766. if iNdEx >= l {
  6767. return io.ErrUnexpectedEOF
  6768. }
  6769. b := data[iNdEx]
  6770. iNdEx++
  6771. msglen |= (int(b) & 0x7F) << shift
  6772. if b < 0x80 {
  6773. break
  6774. }
  6775. }
  6776. if msglen < 0 {
  6777. return ErrInvalidLengthGenerated
  6778. }
  6779. postIndex := iNdEx + msglen
  6780. if postIndex > l {
  6781. return io.ErrUnexpectedEOF
  6782. }
  6783. if m.RollingUpdate == nil {
  6784. m.RollingUpdate = &RollingUpdateDeployment{}
  6785. }
  6786. if err := m.RollingUpdate.Unmarshal(data[iNdEx:postIndex]); err != nil {
  6787. return err
  6788. }
  6789. iNdEx = postIndex
  6790. default:
  6791. iNdEx = preIndex
  6792. skippy, err := skipGenerated(data[iNdEx:])
  6793. if err != nil {
  6794. return err
  6795. }
  6796. if skippy < 0 {
  6797. return ErrInvalidLengthGenerated
  6798. }
  6799. if (iNdEx + skippy) > l {
  6800. return io.ErrUnexpectedEOF
  6801. }
  6802. iNdEx += skippy
  6803. }
  6804. }
  6805. if iNdEx > l {
  6806. return io.ErrUnexpectedEOF
  6807. }
  6808. return nil
  6809. }
  6810. func (m *ExportOptions) Unmarshal(data []byte) error {
  6811. l := len(data)
  6812. iNdEx := 0
  6813. for iNdEx < l {
  6814. preIndex := iNdEx
  6815. var wire uint64
  6816. for shift := uint(0); ; shift += 7 {
  6817. if shift >= 64 {
  6818. return ErrIntOverflowGenerated
  6819. }
  6820. if iNdEx >= l {
  6821. return io.ErrUnexpectedEOF
  6822. }
  6823. b := data[iNdEx]
  6824. iNdEx++
  6825. wire |= (uint64(b) & 0x7F) << shift
  6826. if b < 0x80 {
  6827. break
  6828. }
  6829. }
  6830. fieldNum := int32(wire >> 3)
  6831. wireType := int(wire & 0x7)
  6832. if wireType == 4 {
  6833. return fmt.Errorf("proto: ExportOptions: wiretype end group for non-group")
  6834. }
  6835. if fieldNum <= 0 {
  6836. return fmt.Errorf("proto: ExportOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  6837. }
  6838. switch fieldNum {
  6839. case 1:
  6840. if wireType != 0 {
  6841. return fmt.Errorf("proto: wrong wireType = %d for field Export", wireType)
  6842. }
  6843. var v int
  6844. for shift := uint(0); ; shift += 7 {
  6845. if shift >= 64 {
  6846. return ErrIntOverflowGenerated
  6847. }
  6848. if iNdEx >= l {
  6849. return io.ErrUnexpectedEOF
  6850. }
  6851. b := data[iNdEx]
  6852. iNdEx++
  6853. v |= (int(b) & 0x7F) << shift
  6854. if b < 0x80 {
  6855. break
  6856. }
  6857. }
  6858. m.Export = bool(v != 0)
  6859. case 2:
  6860. if wireType != 0 {
  6861. return fmt.Errorf("proto: wrong wireType = %d for field Exact", wireType)
  6862. }
  6863. var v int
  6864. for shift := uint(0); ; shift += 7 {
  6865. if shift >= 64 {
  6866. return ErrIntOverflowGenerated
  6867. }
  6868. if iNdEx >= l {
  6869. return io.ErrUnexpectedEOF
  6870. }
  6871. b := data[iNdEx]
  6872. iNdEx++
  6873. v |= (int(b) & 0x7F) << shift
  6874. if b < 0x80 {
  6875. break
  6876. }
  6877. }
  6878. m.Exact = bool(v != 0)
  6879. default:
  6880. iNdEx = preIndex
  6881. skippy, err := skipGenerated(data[iNdEx:])
  6882. if err != nil {
  6883. return err
  6884. }
  6885. if skippy < 0 {
  6886. return ErrInvalidLengthGenerated
  6887. }
  6888. if (iNdEx + skippy) > l {
  6889. return io.ErrUnexpectedEOF
  6890. }
  6891. iNdEx += skippy
  6892. }
  6893. }
  6894. if iNdEx > l {
  6895. return io.ErrUnexpectedEOF
  6896. }
  6897. return nil
  6898. }
  6899. func (m *FSGroupStrategyOptions) Unmarshal(data []byte) error {
  6900. l := len(data)
  6901. iNdEx := 0
  6902. for iNdEx < l {
  6903. preIndex := iNdEx
  6904. var wire uint64
  6905. for shift := uint(0); ; shift += 7 {
  6906. if shift >= 64 {
  6907. return ErrIntOverflowGenerated
  6908. }
  6909. if iNdEx >= l {
  6910. return io.ErrUnexpectedEOF
  6911. }
  6912. b := data[iNdEx]
  6913. iNdEx++
  6914. wire |= (uint64(b) & 0x7F) << shift
  6915. if b < 0x80 {
  6916. break
  6917. }
  6918. }
  6919. fieldNum := int32(wire >> 3)
  6920. wireType := int(wire & 0x7)
  6921. if wireType == 4 {
  6922. return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
  6923. }
  6924. if fieldNum <= 0 {
  6925. return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  6926. }
  6927. switch fieldNum {
  6928. case 1:
  6929. if wireType != 2 {
  6930. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  6931. }
  6932. var stringLen uint64
  6933. for shift := uint(0); ; shift += 7 {
  6934. if shift >= 64 {
  6935. return ErrIntOverflowGenerated
  6936. }
  6937. if iNdEx >= l {
  6938. return io.ErrUnexpectedEOF
  6939. }
  6940. b := data[iNdEx]
  6941. iNdEx++
  6942. stringLen |= (uint64(b) & 0x7F) << shift
  6943. if b < 0x80 {
  6944. break
  6945. }
  6946. }
  6947. intStringLen := int(stringLen)
  6948. if intStringLen < 0 {
  6949. return ErrInvalidLengthGenerated
  6950. }
  6951. postIndex := iNdEx + intStringLen
  6952. if postIndex > l {
  6953. return io.ErrUnexpectedEOF
  6954. }
  6955. m.Rule = FSGroupStrategyType(data[iNdEx:postIndex])
  6956. iNdEx = postIndex
  6957. case 2:
  6958. if wireType != 2 {
  6959. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  6960. }
  6961. var msglen int
  6962. for shift := uint(0); ; shift += 7 {
  6963. if shift >= 64 {
  6964. return ErrIntOverflowGenerated
  6965. }
  6966. if iNdEx >= l {
  6967. return io.ErrUnexpectedEOF
  6968. }
  6969. b := data[iNdEx]
  6970. iNdEx++
  6971. msglen |= (int(b) & 0x7F) << shift
  6972. if b < 0x80 {
  6973. break
  6974. }
  6975. }
  6976. if msglen < 0 {
  6977. return ErrInvalidLengthGenerated
  6978. }
  6979. postIndex := iNdEx + msglen
  6980. if postIndex > l {
  6981. return io.ErrUnexpectedEOF
  6982. }
  6983. m.Ranges = append(m.Ranges, IDRange{})
  6984. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  6985. return err
  6986. }
  6987. iNdEx = postIndex
  6988. default:
  6989. iNdEx = preIndex
  6990. skippy, err := skipGenerated(data[iNdEx:])
  6991. if err != nil {
  6992. return err
  6993. }
  6994. if skippy < 0 {
  6995. return ErrInvalidLengthGenerated
  6996. }
  6997. if (iNdEx + skippy) > l {
  6998. return io.ErrUnexpectedEOF
  6999. }
  7000. iNdEx += skippy
  7001. }
  7002. }
  7003. if iNdEx > l {
  7004. return io.ErrUnexpectedEOF
  7005. }
  7006. return nil
  7007. }
  7008. func (m *HTTPIngressPath) Unmarshal(data []byte) error {
  7009. l := len(data)
  7010. iNdEx := 0
  7011. for iNdEx < l {
  7012. preIndex := iNdEx
  7013. var wire uint64
  7014. for shift := uint(0); ; shift += 7 {
  7015. if shift >= 64 {
  7016. return ErrIntOverflowGenerated
  7017. }
  7018. if iNdEx >= l {
  7019. return io.ErrUnexpectedEOF
  7020. }
  7021. b := data[iNdEx]
  7022. iNdEx++
  7023. wire |= (uint64(b) & 0x7F) << shift
  7024. if b < 0x80 {
  7025. break
  7026. }
  7027. }
  7028. fieldNum := int32(wire >> 3)
  7029. wireType := int(wire & 0x7)
  7030. if wireType == 4 {
  7031. return fmt.Errorf("proto: HTTPIngressPath: wiretype end group for non-group")
  7032. }
  7033. if fieldNum <= 0 {
  7034. return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire)
  7035. }
  7036. switch fieldNum {
  7037. case 1:
  7038. if wireType != 2 {
  7039. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  7040. }
  7041. var stringLen uint64
  7042. for shift := uint(0); ; shift += 7 {
  7043. if shift >= 64 {
  7044. return ErrIntOverflowGenerated
  7045. }
  7046. if iNdEx >= l {
  7047. return io.ErrUnexpectedEOF
  7048. }
  7049. b := data[iNdEx]
  7050. iNdEx++
  7051. stringLen |= (uint64(b) & 0x7F) << shift
  7052. if b < 0x80 {
  7053. break
  7054. }
  7055. }
  7056. intStringLen := int(stringLen)
  7057. if intStringLen < 0 {
  7058. return ErrInvalidLengthGenerated
  7059. }
  7060. postIndex := iNdEx + intStringLen
  7061. if postIndex > l {
  7062. return io.ErrUnexpectedEOF
  7063. }
  7064. m.Path = string(data[iNdEx:postIndex])
  7065. iNdEx = postIndex
  7066. case 2:
  7067. if wireType != 2 {
  7068. return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
  7069. }
  7070. var msglen int
  7071. for shift := uint(0); ; shift += 7 {
  7072. if shift >= 64 {
  7073. return ErrIntOverflowGenerated
  7074. }
  7075. if iNdEx >= l {
  7076. return io.ErrUnexpectedEOF
  7077. }
  7078. b := data[iNdEx]
  7079. iNdEx++
  7080. msglen |= (int(b) & 0x7F) << shift
  7081. if b < 0x80 {
  7082. break
  7083. }
  7084. }
  7085. if msglen < 0 {
  7086. return ErrInvalidLengthGenerated
  7087. }
  7088. postIndex := iNdEx + msglen
  7089. if postIndex > l {
  7090. return io.ErrUnexpectedEOF
  7091. }
  7092. if err := m.Backend.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7093. return err
  7094. }
  7095. iNdEx = postIndex
  7096. default:
  7097. iNdEx = preIndex
  7098. skippy, err := skipGenerated(data[iNdEx:])
  7099. if err != nil {
  7100. return err
  7101. }
  7102. if skippy < 0 {
  7103. return ErrInvalidLengthGenerated
  7104. }
  7105. if (iNdEx + skippy) > l {
  7106. return io.ErrUnexpectedEOF
  7107. }
  7108. iNdEx += skippy
  7109. }
  7110. }
  7111. if iNdEx > l {
  7112. return io.ErrUnexpectedEOF
  7113. }
  7114. return nil
  7115. }
  7116. func (m *HTTPIngressRuleValue) Unmarshal(data []byte) error {
  7117. l := len(data)
  7118. iNdEx := 0
  7119. for iNdEx < l {
  7120. preIndex := iNdEx
  7121. var wire uint64
  7122. for shift := uint(0); ; shift += 7 {
  7123. if shift >= 64 {
  7124. return ErrIntOverflowGenerated
  7125. }
  7126. if iNdEx >= l {
  7127. return io.ErrUnexpectedEOF
  7128. }
  7129. b := data[iNdEx]
  7130. iNdEx++
  7131. wire |= (uint64(b) & 0x7F) << shift
  7132. if b < 0x80 {
  7133. break
  7134. }
  7135. }
  7136. fieldNum := int32(wire >> 3)
  7137. wireType := int(wire & 0x7)
  7138. if wireType == 4 {
  7139. return fmt.Errorf("proto: HTTPIngressRuleValue: wiretype end group for non-group")
  7140. }
  7141. if fieldNum <= 0 {
  7142. return fmt.Errorf("proto: HTTPIngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
  7143. }
  7144. switch fieldNum {
  7145. case 1:
  7146. if wireType != 2 {
  7147. return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
  7148. }
  7149. var msglen int
  7150. for shift := uint(0); ; shift += 7 {
  7151. if shift >= 64 {
  7152. return ErrIntOverflowGenerated
  7153. }
  7154. if iNdEx >= l {
  7155. return io.ErrUnexpectedEOF
  7156. }
  7157. b := data[iNdEx]
  7158. iNdEx++
  7159. msglen |= (int(b) & 0x7F) << shift
  7160. if b < 0x80 {
  7161. break
  7162. }
  7163. }
  7164. if msglen < 0 {
  7165. return ErrInvalidLengthGenerated
  7166. }
  7167. postIndex := iNdEx + msglen
  7168. if postIndex > l {
  7169. return io.ErrUnexpectedEOF
  7170. }
  7171. m.Paths = append(m.Paths, HTTPIngressPath{})
  7172. if err := m.Paths[len(m.Paths)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  7173. return err
  7174. }
  7175. iNdEx = postIndex
  7176. default:
  7177. iNdEx = preIndex
  7178. skippy, err := skipGenerated(data[iNdEx:])
  7179. if err != nil {
  7180. return err
  7181. }
  7182. if skippy < 0 {
  7183. return ErrInvalidLengthGenerated
  7184. }
  7185. if (iNdEx + skippy) > l {
  7186. return io.ErrUnexpectedEOF
  7187. }
  7188. iNdEx += skippy
  7189. }
  7190. }
  7191. if iNdEx > l {
  7192. return io.ErrUnexpectedEOF
  7193. }
  7194. return nil
  7195. }
  7196. func (m *HorizontalPodAutoscaler) Unmarshal(data []byte) error {
  7197. l := len(data)
  7198. iNdEx := 0
  7199. for iNdEx < l {
  7200. preIndex := iNdEx
  7201. var wire uint64
  7202. for shift := uint(0); ; shift += 7 {
  7203. if shift >= 64 {
  7204. return ErrIntOverflowGenerated
  7205. }
  7206. if iNdEx >= l {
  7207. return io.ErrUnexpectedEOF
  7208. }
  7209. b := data[iNdEx]
  7210. iNdEx++
  7211. wire |= (uint64(b) & 0x7F) << shift
  7212. if b < 0x80 {
  7213. break
  7214. }
  7215. }
  7216. fieldNum := int32(wire >> 3)
  7217. wireType := int(wire & 0x7)
  7218. if wireType == 4 {
  7219. return fmt.Errorf("proto: HorizontalPodAutoscaler: wiretype end group for non-group")
  7220. }
  7221. if fieldNum <= 0 {
  7222. return fmt.Errorf("proto: HorizontalPodAutoscaler: illegal tag %d (wire type %d)", fieldNum, wire)
  7223. }
  7224. switch fieldNum {
  7225. case 1:
  7226. if wireType != 2 {
  7227. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  7228. }
  7229. var msglen int
  7230. for shift := uint(0); ; shift += 7 {
  7231. if shift >= 64 {
  7232. return ErrIntOverflowGenerated
  7233. }
  7234. if iNdEx >= l {
  7235. return io.ErrUnexpectedEOF
  7236. }
  7237. b := data[iNdEx]
  7238. iNdEx++
  7239. msglen |= (int(b) & 0x7F) << shift
  7240. if b < 0x80 {
  7241. break
  7242. }
  7243. }
  7244. if msglen < 0 {
  7245. return ErrInvalidLengthGenerated
  7246. }
  7247. postIndex := iNdEx + msglen
  7248. if postIndex > l {
  7249. return io.ErrUnexpectedEOF
  7250. }
  7251. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7252. return err
  7253. }
  7254. iNdEx = postIndex
  7255. case 2:
  7256. if wireType != 2 {
  7257. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  7258. }
  7259. var msglen int
  7260. for shift := uint(0); ; shift += 7 {
  7261. if shift >= 64 {
  7262. return ErrIntOverflowGenerated
  7263. }
  7264. if iNdEx >= l {
  7265. return io.ErrUnexpectedEOF
  7266. }
  7267. b := data[iNdEx]
  7268. iNdEx++
  7269. msglen |= (int(b) & 0x7F) << shift
  7270. if b < 0x80 {
  7271. break
  7272. }
  7273. }
  7274. if msglen < 0 {
  7275. return ErrInvalidLengthGenerated
  7276. }
  7277. postIndex := iNdEx + msglen
  7278. if postIndex > l {
  7279. return io.ErrUnexpectedEOF
  7280. }
  7281. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7282. return err
  7283. }
  7284. iNdEx = postIndex
  7285. case 3:
  7286. if wireType != 2 {
  7287. return fmt.Errorf("proto: wrong wireType = %d for field Status", 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. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7312. return err
  7313. }
  7314. iNdEx = postIndex
  7315. default:
  7316. iNdEx = preIndex
  7317. skippy, err := skipGenerated(data[iNdEx:])
  7318. if err != nil {
  7319. return err
  7320. }
  7321. if skippy < 0 {
  7322. return ErrInvalidLengthGenerated
  7323. }
  7324. if (iNdEx + skippy) > l {
  7325. return io.ErrUnexpectedEOF
  7326. }
  7327. iNdEx += skippy
  7328. }
  7329. }
  7330. if iNdEx > l {
  7331. return io.ErrUnexpectedEOF
  7332. }
  7333. return nil
  7334. }
  7335. func (m *HorizontalPodAutoscalerList) Unmarshal(data []byte) error {
  7336. l := len(data)
  7337. iNdEx := 0
  7338. for iNdEx < l {
  7339. preIndex := iNdEx
  7340. var wire uint64
  7341. for shift := uint(0); ; shift += 7 {
  7342. if shift >= 64 {
  7343. return ErrIntOverflowGenerated
  7344. }
  7345. if iNdEx >= l {
  7346. return io.ErrUnexpectedEOF
  7347. }
  7348. b := data[iNdEx]
  7349. iNdEx++
  7350. wire |= (uint64(b) & 0x7F) << shift
  7351. if b < 0x80 {
  7352. break
  7353. }
  7354. }
  7355. fieldNum := int32(wire >> 3)
  7356. wireType := int(wire & 0x7)
  7357. if wireType == 4 {
  7358. return fmt.Errorf("proto: HorizontalPodAutoscalerList: wiretype end group for non-group")
  7359. }
  7360. if fieldNum <= 0 {
  7361. return fmt.Errorf("proto: HorizontalPodAutoscalerList: illegal tag %d (wire type %d)", fieldNum, wire)
  7362. }
  7363. switch fieldNum {
  7364. case 1:
  7365. if wireType != 2 {
  7366. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  7367. }
  7368. var msglen int
  7369. for shift := uint(0); ; shift += 7 {
  7370. if shift >= 64 {
  7371. return ErrIntOverflowGenerated
  7372. }
  7373. if iNdEx >= l {
  7374. return io.ErrUnexpectedEOF
  7375. }
  7376. b := data[iNdEx]
  7377. iNdEx++
  7378. msglen |= (int(b) & 0x7F) << shift
  7379. if b < 0x80 {
  7380. break
  7381. }
  7382. }
  7383. if msglen < 0 {
  7384. return ErrInvalidLengthGenerated
  7385. }
  7386. postIndex := iNdEx + msglen
  7387. if postIndex > l {
  7388. return io.ErrUnexpectedEOF
  7389. }
  7390. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7391. return err
  7392. }
  7393. iNdEx = postIndex
  7394. case 2:
  7395. if wireType != 2 {
  7396. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  7397. }
  7398. var msglen int
  7399. for shift := uint(0); ; shift += 7 {
  7400. if shift >= 64 {
  7401. return ErrIntOverflowGenerated
  7402. }
  7403. if iNdEx >= l {
  7404. return io.ErrUnexpectedEOF
  7405. }
  7406. b := data[iNdEx]
  7407. iNdEx++
  7408. msglen |= (int(b) & 0x7F) << shift
  7409. if b < 0x80 {
  7410. break
  7411. }
  7412. }
  7413. if msglen < 0 {
  7414. return ErrInvalidLengthGenerated
  7415. }
  7416. postIndex := iNdEx + msglen
  7417. if postIndex > l {
  7418. return io.ErrUnexpectedEOF
  7419. }
  7420. m.Items = append(m.Items, HorizontalPodAutoscaler{})
  7421. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  7422. return err
  7423. }
  7424. iNdEx = postIndex
  7425. default:
  7426. iNdEx = preIndex
  7427. skippy, err := skipGenerated(data[iNdEx:])
  7428. if err != nil {
  7429. return err
  7430. }
  7431. if skippy < 0 {
  7432. return ErrInvalidLengthGenerated
  7433. }
  7434. if (iNdEx + skippy) > l {
  7435. return io.ErrUnexpectedEOF
  7436. }
  7437. iNdEx += skippy
  7438. }
  7439. }
  7440. if iNdEx > l {
  7441. return io.ErrUnexpectedEOF
  7442. }
  7443. return nil
  7444. }
  7445. func (m *HorizontalPodAutoscalerSpec) Unmarshal(data []byte) error {
  7446. l := len(data)
  7447. iNdEx := 0
  7448. for iNdEx < l {
  7449. preIndex := iNdEx
  7450. var wire uint64
  7451. for shift := uint(0); ; shift += 7 {
  7452. if shift >= 64 {
  7453. return ErrIntOverflowGenerated
  7454. }
  7455. if iNdEx >= l {
  7456. return io.ErrUnexpectedEOF
  7457. }
  7458. b := data[iNdEx]
  7459. iNdEx++
  7460. wire |= (uint64(b) & 0x7F) << shift
  7461. if b < 0x80 {
  7462. break
  7463. }
  7464. }
  7465. fieldNum := int32(wire >> 3)
  7466. wireType := int(wire & 0x7)
  7467. if wireType == 4 {
  7468. return fmt.Errorf("proto: HorizontalPodAutoscalerSpec: wiretype end group for non-group")
  7469. }
  7470. if fieldNum <= 0 {
  7471. return fmt.Errorf("proto: HorizontalPodAutoscalerSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  7472. }
  7473. switch fieldNum {
  7474. case 1:
  7475. if wireType != 2 {
  7476. return fmt.Errorf("proto: wrong wireType = %d for field ScaleRef", wireType)
  7477. }
  7478. var msglen int
  7479. for shift := uint(0); ; shift += 7 {
  7480. if shift >= 64 {
  7481. return ErrIntOverflowGenerated
  7482. }
  7483. if iNdEx >= l {
  7484. return io.ErrUnexpectedEOF
  7485. }
  7486. b := data[iNdEx]
  7487. iNdEx++
  7488. msglen |= (int(b) & 0x7F) << shift
  7489. if b < 0x80 {
  7490. break
  7491. }
  7492. }
  7493. if msglen < 0 {
  7494. return ErrInvalidLengthGenerated
  7495. }
  7496. postIndex := iNdEx + msglen
  7497. if postIndex > l {
  7498. return io.ErrUnexpectedEOF
  7499. }
  7500. if err := m.ScaleRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7501. return err
  7502. }
  7503. iNdEx = postIndex
  7504. case 2:
  7505. if wireType != 0 {
  7506. return fmt.Errorf("proto: wrong wireType = %d for field MinReplicas", wireType)
  7507. }
  7508. var v int32
  7509. for shift := uint(0); ; shift += 7 {
  7510. if shift >= 64 {
  7511. return ErrIntOverflowGenerated
  7512. }
  7513. if iNdEx >= l {
  7514. return io.ErrUnexpectedEOF
  7515. }
  7516. b := data[iNdEx]
  7517. iNdEx++
  7518. v |= (int32(b) & 0x7F) << shift
  7519. if b < 0x80 {
  7520. break
  7521. }
  7522. }
  7523. m.MinReplicas = &v
  7524. case 3:
  7525. if wireType != 0 {
  7526. return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicas", wireType)
  7527. }
  7528. m.MaxReplicas = 0
  7529. for shift := uint(0); ; shift += 7 {
  7530. if shift >= 64 {
  7531. return ErrIntOverflowGenerated
  7532. }
  7533. if iNdEx >= l {
  7534. return io.ErrUnexpectedEOF
  7535. }
  7536. b := data[iNdEx]
  7537. iNdEx++
  7538. m.MaxReplicas |= (int32(b) & 0x7F) << shift
  7539. if b < 0x80 {
  7540. break
  7541. }
  7542. }
  7543. case 4:
  7544. if wireType != 2 {
  7545. return fmt.Errorf("proto: wrong wireType = %d for field CPUUtilization", wireType)
  7546. }
  7547. var msglen int
  7548. for shift := uint(0); ; shift += 7 {
  7549. if shift >= 64 {
  7550. return ErrIntOverflowGenerated
  7551. }
  7552. if iNdEx >= l {
  7553. return io.ErrUnexpectedEOF
  7554. }
  7555. b := data[iNdEx]
  7556. iNdEx++
  7557. msglen |= (int(b) & 0x7F) << shift
  7558. if b < 0x80 {
  7559. break
  7560. }
  7561. }
  7562. if msglen < 0 {
  7563. return ErrInvalidLengthGenerated
  7564. }
  7565. postIndex := iNdEx + msglen
  7566. if postIndex > l {
  7567. return io.ErrUnexpectedEOF
  7568. }
  7569. if m.CPUUtilization == nil {
  7570. m.CPUUtilization = &CPUTargetUtilization{}
  7571. }
  7572. if err := m.CPUUtilization.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7573. return err
  7574. }
  7575. iNdEx = postIndex
  7576. default:
  7577. iNdEx = preIndex
  7578. skippy, err := skipGenerated(data[iNdEx:])
  7579. if err != nil {
  7580. return err
  7581. }
  7582. if skippy < 0 {
  7583. return ErrInvalidLengthGenerated
  7584. }
  7585. if (iNdEx + skippy) > l {
  7586. return io.ErrUnexpectedEOF
  7587. }
  7588. iNdEx += skippy
  7589. }
  7590. }
  7591. if iNdEx > l {
  7592. return io.ErrUnexpectedEOF
  7593. }
  7594. return nil
  7595. }
  7596. func (m *HorizontalPodAutoscalerStatus) Unmarshal(data []byte) error {
  7597. l := len(data)
  7598. iNdEx := 0
  7599. for iNdEx < l {
  7600. preIndex := iNdEx
  7601. var wire uint64
  7602. for shift := uint(0); ; shift += 7 {
  7603. if shift >= 64 {
  7604. return ErrIntOverflowGenerated
  7605. }
  7606. if iNdEx >= l {
  7607. return io.ErrUnexpectedEOF
  7608. }
  7609. b := data[iNdEx]
  7610. iNdEx++
  7611. wire |= (uint64(b) & 0x7F) << shift
  7612. if b < 0x80 {
  7613. break
  7614. }
  7615. }
  7616. fieldNum := int32(wire >> 3)
  7617. wireType := int(wire & 0x7)
  7618. if wireType == 4 {
  7619. return fmt.Errorf("proto: HorizontalPodAutoscalerStatus: wiretype end group for non-group")
  7620. }
  7621. if fieldNum <= 0 {
  7622. return fmt.Errorf("proto: HorizontalPodAutoscalerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  7623. }
  7624. switch fieldNum {
  7625. case 1:
  7626. if wireType != 0 {
  7627. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  7628. }
  7629. var v int64
  7630. for shift := uint(0); ; shift += 7 {
  7631. if shift >= 64 {
  7632. return ErrIntOverflowGenerated
  7633. }
  7634. if iNdEx >= l {
  7635. return io.ErrUnexpectedEOF
  7636. }
  7637. b := data[iNdEx]
  7638. iNdEx++
  7639. v |= (int64(b) & 0x7F) << shift
  7640. if b < 0x80 {
  7641. break
  7642. }
  7643. }
  7644. m.ObservedGeneration = &v
  7645. case 2:
  7646. if wireType != 2 {
  7647. return fmt.Errorf("proto: wrong wireType = %d for field LastScaleTime", wireType)
  7648. }
  7649. var msglen int
  7650. for shift := uint(0); ; shift += 7 {
  7651. if shift >= 64 {
  7652. return ErrIntOverflowGenerated
  7653. }
  7654. if iNdEx >= l {
  7655. return io.ErrUnexpectedEOF
  7656. }
  7657. b := data[iNdEx]
  7658. iNdEx++
  7659. msglen |= (int(b) & 0x7F) << shift
  7660. if b < 0x80 {
  7661. break
  7662. }
  7663. }
  7664. if msglen < 0 {
  7665. return ErrInvalidLengthGenerated
  7666. }
  7667. postIndex := iNdEx + msglen
  7668. if postIndex > l {
  7669. return io.ErrUnexpectedEOF
  7670. }
  7671. if m.LastScaleTime == nil {
  7672. m.LastScaleTime = &k8s_io_kubernetes_pkg_api_unversioned.Time{}
  7673. }
  7674. if err := m.LastScaleTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7675. return err
  7676. }
  7677. iNdEx = postIndex
  7678. case 3:
  7679. if wireType != 0 {
  7680. return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
  7681. }
  7682. m.CurrentReplicas = 0
  7683. for shift := uint(0); ; shift += 7 {
  7684. if shift >= 64 {
  7685. return ErrIntOverflowGenerated
  7686. }
  7687. if iNdEx >= l {
  7688. return io.ErrUnexpectedEOF
  7689. }
  7690. b := data[iNdEx]
  7691. iNdEx++
  7692. m.CurrentReplicas |= (int32(b) & 0x7F) << shift
  7693. if b < 0x80 {
  7694. break
  7695. }
  7696. }
  7697. case 4:
  7698. if wireType != 0 {
  7699. return fmt.Errorf("proto: wrong wireType = %d for field DesiredReplicas", wireType)
  7700. }
  7701. m.DesiredReplicas = 0
  7702. for shift := uint(0); ; shift += 7 {
  7703. if shift >= 64 {
  7704. return ErrIntOverflowGenerated
  7705. }
  7706. if iNdEx >= l {
  7707. return io.ErrUnexpectedEOF
  7708. }
  7709. b := data[iNdEx]
  7710. iNdEx++
  7711. m.DesiredReplicas |= (int32(b) & 0x7F) << shift
  7712. if b < 0x80 {
  7713. break
  7714. }
  7715. }
  7716. case 5:
  7717. if wireType != 0 {
  7718. return fmt.Errorf("proto: wrong wireType = %d for field CurrentCPUUtilizationPercentage", wireType)
  7719. }
  7720. var v int32
  7721. for shift := uint(0); ; shift += 7 {
  7722. if shift >= 64 {
  7723. return ErrIntOverflowGenerated
  7724. }
  7725. if iNdEx >= l {
  7726. return io.ErrUnexpectedEOF
  7727. }
  7728. b := data[iNdEx]
  7729. iNdEx++
  7730. v |= (int32(b) & 0x7F) << shift
  7731. if b < 0x80 {
  7732. break
  7733. }
  7734. }
  7735. m.CurrentCPUUtilizationPercentage = &v
  7736. default:
  7737. iNdEx = preIndex
  7738. skippy, err := skipGenerated(data[iNdEx:])
  7739. if err != nil {
  7740. return err
  7741. }
  7742. if skippy < 0 {
  7743. return ErrInvalidLengthGenerated
  7744. }
  7745. if (iNdEx + skippy) > l {
  7746. return io.ErrUnexpectedEOF
  7747. }
  7748. iNdEx += skippy
  7749. }
  7750. }
  7751. if iNdEx > l {
  7752. return io.ErrUnexpectedEOF
  7753. }
  7754. return nil
  7755. }
  7756. func (m *HostPortRange) Unmarshal(data []byte) error {
  7757. l := len(data)
  7758. iNdEx := 0
  7759. for iNdEx < l {
  7760. preIndex := iNdEx
  7761. var wire uint64
  7762. for shift := uint(0); ; shift += 7 {
  7763. if shift >= 64 {
  7764. return ErrIntOverflowGenerated
  7765. }
  7766. if iNdEx >= l {
  7767. return io.ErrUnexpectedEOF
  7768. }
  7769. b := data[iNdEx]
  7770. iNdEx++
  7771. wire |= (uint64(b) & 0x7F) << shift
  7772. if b < 0x80 {
  7773. break
  7774. }
  7775. }
  7776. fieldNum := int32(wire >> 3)
  7777. wireType := int(wire & 0x7)
  7778. if wireType == 4 {
  7779. return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
  7780. }
  7781. if fieldNum <= 0 {
  7782. return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
  7783. }
  7784. switch fieldNum {
  7785. case 1:
  7786. if wireType != 0 {
  7787. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  7788. }
  7789. m.Min = 0
  7790. for shift := uint(0); ; shift += 7 {
  7791. if shift >= 64 {
  7792. return ErrIntOverflowGenerated
  7793. }
  7794. if iNdEx >= l {
  7795. return io.ErrUnexpectedEOF
  7796. }
  7797. b := data[iNdEx]
  7798. iNdEx++
  7799. m.Min |= (int32(b) & 0x7F) << shift
  7800. if b < 0x80 {
  7801. break
  7802. }
  7803. }
  7804. case 2:
  7805. if wireType != 0 {
  7806. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  7807. }
  7808. m.Max = 0
  7809. for shift := uint(0); ; shift += 7 {
  7810. if shift >= 64 {
  7811. return ErrIntOverflowGenerated
  7812. }
  7813. if iNdEx >= l {
  7814. return io.ErrUnexpectedEOF
  7815. }
  7816. b := data[iNdEx]
  7817. iNdEx++
  7818. m.Max |= (int32(b) & 0x7F) << shift
  7819. if b < 0x80 {
  7820. break
  7821. }
  7822. }
  7823. default:
  7824. iNdEx = preIndex
  7825. skippy, err := skipGenerated(data[iNdEx:])
  7826. if err != nil {
  7827. return err
  7828. }
  7829. if skippy < 0 {
  7830. return ErrInvalidLengthGenerated
  7831. }
  7832. if (iNdEx + skippy) > l {
  7833. return io.ErrUnexpectedEOF
  7834. }
  7835. iNdEx += skippy
  7836. }
  7837. }
  7838. if iNdEx > l {
  7839. return io.ErrUnexpectedEOF
  7840. }
  7841. return nil
  7842. }
  7843. func (m *IDRange) Unmarshal(data []byte) error {
  7844. l := len(data)
  7845. iNdEx := 0
  7846. for iNdEx < l {
  7847. preIndex := iNdEx
  7848. var wire uint64
  7849. for shift := uint(0); ; shift += 7 {
  7850. if shift >= 64 {
  7851. return ErrIntOverflowGenerated
  7852. }
  7853. if iNdEx >= l {
  7854. return io.ErrUnexpectedEOF
  7855. }
  7856. b := data[iNdEx]
  7857. iNdEx++
  7858. wire |= (uint64(b) & 0x7F) << shift
  7859. if b < 0x80 {
  7860. break
  7861. }
  7862. }
  7863. fieldNum := int32(wire >> 3)
  7864. wireType := int(wire & 0x7)
  7865. if wireType == 4 {
  7866. return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
  7867. }
  7868. if fieldNum <= 0 {
  7869. return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
  7870. }
  7871. switch fieldNum {
  7872. case 1:
  7873. if wireType != 0 {
  7874. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  7875. }
  7876. m.Min = 0
  7877. for shift := uint(0); ; shift += 7 {
  7878. if shift >= 64 {
  7879. return ErrIntOverflowGenerated
  7880. }
  7881. if iNdEx >= l {
  7882. return io.ErrUnexpectedEOF
  7883. }
  7884. b := data[iNdEx]
  7885. iNdEx++
  7886. m.Min |= (int64(b) & 0x7F) << shift
  7887. if b < 0x80 {
  7888. break
  7889. }
  7890. }
  7891. case 2:
  7892. if wireType != 0 {
  7893. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  7894. }
  7895. m.Max = 0
  7896. for shift := uint(0); ; shift += 7 {
  7897. if shift >= 64 {
  7898. return ErrIntOverflowGenerated
  7899. }
  7900. if iNdEx >= l {
  7901. return io.ErrUnexpectedEOF
  7902. }
  7903. b := data[iNdEx]
  7904. iNdEx++
  7905. m.Max |= (int64(b) & 0x7F) << shift
  7906. if b < 0x80 {
  7907. break
  7908. }
  7909. }
  7910. default:
  7911. iNdEx = preIndex
  7912. skippy, err := skipGenerated(data[iNdEx:])
  7913. if err != nil {
  7914. return err
  7915. }
  7916. if skippy < 0 {
  7917. return ErrInvalidLengthGenerated
  7918. }
  7919. if (iNdEx + skippy) > l {
  7920. return io.ErrUnexpectedEOF
  7921. }
  7922. iNdEx += skippy
  7923. }
  7924. }
  7925. if iNdEx > l {
  7926. return io.ErrUnexpectedEOF
  7927. }
  7928. return nil
  7929. }
  7930. func (m *Ingress) Unmarshal(data []byte) error {
  7931. l := len(data)
  7932. iNdEx := 0
  7933. for iNdEx < l {
  7934. preIndex := iNdEx
  7935. var wire uint64
  7936. for shift := uint(0); ; shift += 7 {
  7937. if shift >= 64 {
  7938. return ErrIntOverflowGenerated
  7939. }
  7940. if iNdEx >= l {
  7941. return io.ErrUnexpectedEOF
  7942. }
  7943. b := data[iNdEx]
  7944. iNdEx++
  7945. wire |= (uint64(b) & 0x7F) << shift
  7946. if b < 0x80 {
  7947. break
  7948. }
  7949. }
  7950. fieldNum := int32(wire >> 3)
  7951. wireType := int(wire & 0x7)
  7952. if wireType == 4 {
  7953. return fmt.Errorf("proto: Ingress: wiretype end group for non-group")
  7954. }
  7955. if fieldNum <= 0 {
  7956. return fmt.Errorf("proto: Ingress: illegal tag %d (wire type %d)", fieldNum, wire)
  7957. }
  7958. switch fieldNum {
  7959. case 1:
  7960. if wireType != 2 {
  7961. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  7962. }
  7963. var msglen int
  7964. for shift := uint(0); ; shift += 7 {
  7965. if shift >= 64 {
  7966. return ErrIntOverflowGenerated
  7967. }
  7968. if iNdEx >= l {
  7969. return io.ErrUnexpectedEOF
  7970. }
  7971. b := data[iNdEx]
  7972. iNdEx++
  7973. msglen |= (int(b) & 0x7F) << shift
  7974. if b < 0x80 {
  7975. break
  7976. }
  7977. }
  7978. if msglen < 0 {
  7979. return ErrInvalidLengthGenerated
  7980. }
  7981. postIndex := iNdEx + msglen
  7982. if postIndex > l {
  7983. return io.ErrUnexpectedEOF
  7984. }
  7985. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  7986. return err
  7987. }
  7988. iNdEx = postIndex
  7989. case 2:
  7990. if wireType != 2 {
  7991. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  7992. }
  7993. var msglen int
  7994. for shift := uint(0); ; shift += 7 {
  7995. if shift >= 64 {
  7996. return ErrIntOverflowGenerated
  7997. }
  7998. if iNdEx >= l {
  7999. return io.ErrUnexpectedEOF
  8000. }
  8001. b := data[iNdEx]
  8002. iNdEx++
  8003. msglen |= (int(b) & 0x7F) << shift
  8004. if b < 0x80 {
  8005. break
  8006. }
  8007. }
  8008. if msglen < 0 {
  8009. return ErrInvalidLengthGenerated
  8010. }
  8011. postIndex := iNdEx + msglen
  8012. if postIndex > l {
  8013. return io.ErrUnexpectedEOF
  8014. }
  8015. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8016. return err
  8017. }
  8018. iNdEx = postIndex
  8019. case 3:
  8020. if wireType != 2 {
  8021. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  8022. }
  8023. var msglen int
  8024. for shift := uint(0); ; shift += 7 {
  8025. if shift >= 64 {
  8026. return ErrIntOverflowGenerated
  8027. }
  8028. if iNdEx >= l {
  8029. return io.ErrUnexpectedEOF
  8030. }
  8031. b := data[iNdEx]
  8032. iNdEx++
  8033. msglen |= (int(b) & 0x7F) << shift
  8034. if b < 0x80 {
  8035. break
  8036. }
  8037. }
  8038. if msglen < 0 {
  8039. return ErrInvalidLengthGenerated
  8040. }
  8041. postIndex := iNdEx + msglen
  8042. if postIndex > l {
  8043. return io.ErrUnexpectedEOF
  8044. }
  8045. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8046. return err
  8047. }
  8048. iNdEx = postIndex
  8049. default:
  8050. iNdEx = preIndex
  8051. skippy, err := skipGenerated(data[iNdEx:])
  8052. if err != nil {
  8053. return err
  8054. }
  8055. if skippy < 0 {
  8056. return ErrInvalidLengthGenerated
  8057. }
  8058. if (iNdEx + skippy) > l {
  8059. return io.ErrUnexpectedEOF
  8060. }
  8061. iNdEx += skippy
  8062. }
  8063. }
  8064. if iNdEx > l {
  8065. return io.ErrUnexpectedEOF
  8066. }
  8067. return nil
  8068. }
  8069. func (m *IngressBackend) Unmarshal(data []byte) error {
  8070. l := len(data)
  8071. iNdEx := 0
  8072. for iNdEx < l {
  8073. preIndex := iNdEx
  8074. var wire uint64
  8075. for shift := uint(0); ; shift += 7 {
  8076. if shift >= 64 {
  8077. return ErrIntOverflowGenerated
  8078. }
  8079. if iNdEx >= l {
  8080. return io.ErrUnexpectedEOF
  8081. }
  8082. b := data[iNdEx]
  8083. iNdEx++
  8084. wire |= (uint64(b) & 0x7F) << shift
  8085. if b < 0x80 {
  8086. break
  8087. }
  8088. }
  8089. fieldNum := int32(wire >> 3)
  8090. wireType := int(wire & 0x7)
  8091. if wireType == 4 {
  8092. return fmt.Errorf("proto: IngressBackend: wiretype end group for non-group")
  8093. }
  8094. if fieldNum <= 0 {
  8095. return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire)
  8096. }
  8097. switch fieldNum {
  8098. case 1:
  8099. if wireType != 2 {
  8100. return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
  8101. }
  8102. var stringLen uint64
  8103. for shift := uint(0); ; shift += 7 {
  8104. if shift >= 64 {
  8105. return ErrIntOverflowGenerated
  8106. }
  8107. if iNdEx >= l {
  8108. return io.ErrUnexpectedEOF
  8109. }
  8110. b := data[iNdEx]
  8111. iNdEx++
  8112. stringLen |= (uint64(b) & 0x7F) << shift
  8113. if b < 0x80 {
  8114. break
  8115. }
  8116. }
  8117. intStringLen := int(stringLen)
  8118. if intStringLen < 0 {
  8119. return ErrInvalidLengthGenerated
  8120. }
  8121. postIndex := iNdEx + intStringLen
  8122. if postIndex > l {
  8123. return io.ErrUnexpectedEOF
  8124. }
  8125. m.ServiceName = string(data[iNdEx:postIndex])
  8126. iNdEx = postIndex
  8127. case 2:
  8128. if wireType != 2 {
  8129. return fmt.Errorf("proto: wrong wireType = %d for field ServicePort", wireType)
  8130. }
  8131. var msglen int
  8132. for shift := uint(0); ; shift += 7 {
  8133. if shift >= 64 {
  8134. return ErrIntOverflowGenerated
  8135. }
  8136. if iNdEx >= l {
  8137. return io.ErrUnexpectedEOF
  8138. }
  8139. b := data[iNdEx]
  8140. iNdEx++
  8141. msglen |= (int(b) & 0x7F) << shift
  8142. if b < 0x80 {
  8143. break
  8144. }
  8145. }
  8146. if msglen < 0 {
  8147. return ErrInvalidLengthGenerated
  8148. }
  8149. postIndex := iNdEx + msglen
  8150. if postIndex > l {
  8151. return io.ErrUnexpectedEOF
  8152. }
  8153. if err := m.ServicePort.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8154. return err
  8155. }
  8156. iNdEx = postIndex
  8157. default:
  8158. iNdEx = preIndex
  8159. skippy, err := skipGenerated(data[iNdEx:])
  8160. if err != nil {
  8161. return err
  8162. }
  8163. if skippy < 0 {
  8164. return ErrInvalidLengthGenerated
  8165. }
  8166. if (iNdEx + skippy) > l {
  8167. return io.ErrUnexpectedEOF
  8168. }
  8169. iNdEx += skippy
  8170. }
  8171. }
  8172. if iNdEx > l {
  8173. return io.ErrUnexpectedEOF
  8174. }
  8175. return nil
  8176. }
  8177. func (m *IngressList) Unmarshal(data []byte) error {
  8178. l := len(data)
  8179. iNdEx := 0
  8180. for iNdEx < l {
  8181. preIndex := iNdEx
  8182. var wire uint64
  8183. for shift := uint(0); ; shift += 7 {
  8184. if shift >= 64 {
  8185. return ErrIntOverflowGenerated
  8186. }
  8187. if iNdEx >= l {
  8188. return io.ErrUnexpectedEOF
  8189. }
  8190. b := data[iNdEx]
  8191. iNdEx++
  8192. wire |= (uint64(b) & 0x7F) << shift
  8193. if b < 0x80 {
  8194. break
  8195. }
  8196. }
  8197. fieldNum := int32(wire >> 3)
  8198. wireType := int(wire & 0x7)
  8199. if wireType == 4 {
  8200. return fmt.Errorf("proto: IngressList: wiretype end group for non-group")
  8201. }
  8202. if fieldNum <= 0 {
  8203. return fmt.Errorf("proto: IngressList: illegal tag %d (wire type %d)", fieldNum, wire)
  8204. }
  8205. switch fieldNum {
  8206. case 1:
  8207. if wireType != 2 {
  8208. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  8209. }
  8210. var msglen int
  8211. for shift := uint(0); ; shift += 7 {
  8212. if shift >= 64 {
  8213. return ErrIntOverflowGenerated
  8214. }
  8215. if iNdEx >= l {
  8216. return io.ErrUnexpectedEOF
  8217. }
  8218. b := data[iNdEx]
  8219. iNdEx++
  8220. msglen |= (int(b) & 0x7F) << shift
  8221. if b < 0x80 {
  8222. break
  8223. }
  8224. }
  8225. if msglen < 0 {
  8226. return ErrInvalidLengthGenerated
  8227. }
  8228. postIndex := iNdEx + msglen
  8229. if postIndex > l {
  8230. return io.ErrUnexpectedEOF
  8231. }
  8232. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8233. return err
  8234. }
  8235. iNdEx = postIndex
  8236. case 2:
  8237. if wireType != 2 {
  8238. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  8239. }
  8240. var msglen int
  8241. for shift := uint(0); ; shift += 7 {
  8242. if shift >= 64 {
  8243. return ErrIntOverflowGenerated
  8244. }
  8245. if iNdEx >= l {
  8246. return io.ErrUnexpectedEOF
  8247. }
  8248. b := data[iNdEx]
  8249. iNdEx++
  8250. msglen |= (int(b) & 0x7F) << shift
  8251. if b < 0x80 {
  8252. break
  8253. }
  8254. }
  8255. if msglen < 0 {
  8256. return ErrInvalidLengthGenerated
  8257. }
  8258. postIndex := iNdEx + msglen
  8259. if postIndex > l {
  8260. return io.ErrUnexpectedEOF
  8261. }
  8262. m.Items = append(m.Items, Ingress{})
  8263. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  8264. return err
  8265. }
  8266. iNdEx = postIndex
  8267. default:
  8268. iNdEx = preIndex
  8269. skippy, err := skipGenerated(data[iNdEx:])
  8270. if err != nil {
  8271. return err
  8272. }
  8273. if skippy < 0 {
  8274. return ErrInvalidLengthGenerated
  8275. }
  8276. if (iNdEx + skippy) > l {
  8277. return io.ErrUnexpectedEOF
  8278. }
  8279. iNdEx += skippy
  8280. }
  8281. }
  8282. if iNdEx > l {
  8283. return io.ErrUnexpectedEOF
  8284. }
  8285. return nil
  8286. }
  8287. func (m *IngressRule) Unmarshal(data []byte) error {
  8288. l := len(data)
  8289. iNdEx := 0
  8290. for iNdEx < l {
  8291. preIndex := iNdEx
  8292. var wire uint64
  8293. for shift := uint(0); ; shift += 7 {
  8294. if shift >= 64 {
  8295. return ErrIntOverflowGenerated
  8296. }
  8297. if iNdEx >= l {
  8298. return io.ErrUnexpectedEOF
  8299. }
  8300. b := data[iNdEx]
  8301. iNdEx++
  8302. wire |= (uint64(b) & 0x7F) << shift
  8303. if b < 0x80 {
  8304. break
  8305. }
  8306. }
  8307. fieldNum := int32(wire >> 3)
  8308. wireType := int(wire & 0x7)
  8309. if wireType == 4 {
  8310. return fmt.Errorf("proto: IngressRule: wiretype end group for non-group")
  8311. }
  8312. if fieldNum <= 0 {
  8313. return fmt.Errorf("proto: IngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
  8314. }
  8315. switch fieldNum {
  8316. case 1:
  8317. if wireType != 2 {
  8318. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  8319. }
  8320. var stringLen uint64
  8321. for shift := uint(0); ; shift += 7 {
  8322. if shift >= 64 {
  8323. return ErrIntOverflowGenerated
  8324. }
  8325. if iNdEx >= l {
  8326. return io.ErrUnexpectedEOF
  8327. }
  8328. b := data[iNdEx]
  8329. iNdEx++
  8330. stringLen |= (uint64(b) & 0x7F) << shift
  8331. if b < 0x80 {
  8332. break
  8333. }
  8334. }
  8335. intStringLen := int(stringLen)
  8336. if intStringLen < 0 {
  8337. return ErrInvalidLengthGenerated
  8338. }
  8339. postIndex := iNdEx + intStringLen
  8340. if postIndex > l {
  8341. return io.ErrUnexpectedEOF
  8342. }
  8343. m.Host = string(data[iNdEx:postIndex])
  8344. iNdEx = postIndex
  8345. case 2:
  8346. if wireType != 2 {
  8347. return fmt.Errorf("proto: wrong wireType = %d for field IngressRuleValue", wireType)
  8348. }
  8349. var msglen int
  8350. for shift := uint(0); ; shift += 7 {
  8351. if shift >= 64 {
  8352. return ErrIntOverflowGenerated
  8353. }
  8354. if iNdEx >= l {
  8355. return io.ErrUnexpectedEOF
  8356. }
  8357. b := data[iNdEx]
  8358. iNdEx++
  8359. msglen |= (int(b) & 0x7F) << shift
  8360. if b < 0x80 {
  8361. break
  8362. }
  8363. }
  8364. if msglen < 0 {
  8365. return ErrInvalidLengthGenerated
  8366. }
  8367. postIndex := iNdEx + msglen
  8368. if postIndex > l {
  8369. return io.ErrUnexpectedEOF
  8370. }
  8371. if err := m.IngressRuleValue.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8372. return err
  8373. }
  8374. iNdEx = postIndex
  8375. default:
  8376. iNdEx = preIndex
  8377. skippy, err := skipGenerated(data[iNdEx:])
  8378. if err != nil {
  8379. return err
  8380. }
  8381. if skippy < 0 {
  8382. return ErrInvalidLengthGenerated
  8383. }
  8384. if (iNdEx + skippy) > l {
  8385. return io.ErrUnexpectedEOF
  8386. }
  8387. iNdEx += skippy
  8388. }
  8389. }
  8390. if iNdEx > l {
  8391. return io.ErrUnexpectedEOF
  8392. }
  8393. return nil
  8394. }
  8395. func (m *IngressRuleValue) Unmarshal(data []byte) error {
  8396. l := len(data)
  8397. iNdEx := 0
  8398. for iNdEx < l {
  8399. preIndex := iNdEx
  8400. var wire uint64
  8401. for shift := uint(0); ; shift += 7 {
  8402. if shift >= 64 {
  8403. return ErrIntOverflowGenerated
  8404. }
  8405. if iNdEx >= l {
  8406. return io.ErrUnexpectedEOF
  8407. }
  8408. b := data[iNdEx]
  8409. iNdEx++
  8410. wire |= (uint64(b) & 0x7F) << shift
  8411. if b < 0x80 {
  8412. break
  8413. }
  8414. }
  8415. fieldNum := int32(wire >> 3)
  8416. wireType := int(wire & 0x7)
  8417. if wireType == 4 {
  8418. return fmt.Errorf("proto: IngressRuleValue: wiretype end group for non-group")
  8419. }
  8420. if fieldNum <= 0 {
  8421. return fmt.Errorf("proto: IngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
  8422. }
  8423. switch fieldNum {
  8424. case 1:
  8425. if wireType != 2 {
  8426. return fmt.Errorf("proto: wrong wireType = %d for field HTTP", wireType)
  8427. }
  8428. var msglen int
  8429. for shift := uint(0); ; shift += 7 {
  8430. if shift >= 64 {
  8431. return ErrIntOverflowGenerated
  8432. }
  8433. if iNdEx >= l {
  8434. return io.ErrUnexpectedEOF
  8435. }
  8436. b := data[iNdEx]
  8437. iNdEx++
  8438. msglen |= (int(b) & 0x7F) << shift
  8439. if b < 0x80 {
  8440. break
  8441. }
  8442. }
  8443. if msglen < 0 {
  8444. return ErrInvalidLengthGenerated
  8445. }
  8446. postIndex := iNdEx + msglen
  8447. if postIndex > l {
  8448. return io.ErrUnexpectedEOF
  8449. }
  8450. if m.HTTP == nil {
  8451. m.HTTP = &HTTPIngressRuleValue{}
  8452. }
  8453. if err := m.HTTP.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8454. return err
  8455. }
  8456. iNdEx = postIndex
  8457. default:
  8458. iNdEx = preIndex
  8459. skippy, err := skipGenerated(data[iNdEx:])
  8460. if err != nil {
  8461. return err
  8462. }
  8463. if skippy < 0 {
  8464. return ErrInvalidLengthGenerated
  8465. }
  8466. if (iNdEx + skippy) > l {
  8467. return io.ErrUnexpectedEOF
  8468. }
  8469. iNdEx += skippy
  8470. }
  8471. }
  8472. if iNdEx > l {
  8473. return io.ErrUnexpectedEOF
  8474. }
  8475. return nil
  8476. }
  8477. func (m *IngressSpec) Unmarshal(data []byte) error {
  8478. l := len(data)
  8479. iNdEx := 0
  8480. for iNdEx < l {
  8481. preIndex := iNdEx
  8482. var wire uint64
  8483. for shift := uint(0); ; shift += 7 {
  8484. if shift >= 64 {
  8485. return ErrIntOverflowGenerated
  8486. }
  8487. if iNdEx >= l {
  8488. return io.ErrUnexpectedEOF
  8489. }
  8490. b := data[iNdEx]
  8491. iNdEx++
  8492. wire |= (uint64(b) & 0x7F) << shift
  8493. if b < 0x80 {
  8494. break
  8495. }
  8496. }
  8497. fieldNum := int32(wire >> 3)
  8498. wireType := int(wire & 0x7)
  8499. if wireType == 4 {
  8500. return fmt.Errorf("proto: IngressSpec: wiretype end group for non-group")
  8501. }
  8502. if fieldNum <= 0 {
  8503. return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  8504. }
  8505. switch fieldNum {
  8506. case 1:
  8507. if wireType != 2 {
  8508. return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
  8509. }
  8510. var msglen int
  8511. for shift := uint(0); ; shift += 7 {
  8512. if shift >= 64 {
  8513. return ErrIntOverflowGenerated
  8514. }
  8515. if iNdEx >= l {
  8516. return io.ErrUnexpectedEOF
  8517. }
  8518. b := data[iNdEx]
  8519. iNdEx++
  8520. msglen |= (int(b) & 0x7F) << shift
  8521. if b < 0x80 {
  8522. break
  8523. }
  8524. }
  8525. if msglen < 0 {
  8526. return ErrInvalidLengthGenerated
  8527. }
  8528. postIndex := iNdEx + msglen
  8529. if postIndex > l {
  8530. return io.ErrUnexpectedEOF
  8531. }
  8532. if m.Backend == nil {
  8533. m.Backend = &IngressBackend{}
  8534. }
  8535. if err := m.Backend.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8536. return err
  8537. }
  8538. iNdEx = postIndex
  8539. case 2:
  8540. if wireType != 2 {
  8541. return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType)
  8542. }
  8543. var msglen int
  8544. for shift := uint(0); ; shift += 7 {
  8545. if shift >= 64 {
  8546. return ErrIntOverflowGenerated
  8547. }
  8548. if iNdEx >= l {
  8549. return io.ErrUnexpectedEOF
  8550. }
  8551. b := data[iNdEx]
  8552. iNdEx++
  8553. msglen |= (int(b) & 0x7F) << shift
  8554. if b < 0x80 {
  8555. break
  8556. }
  8557. }
  8558. if msglen < 0 {
  8559. return ErrInvalidLengthGenerated
  8560. }
  8561. postIndex := iNdEx + msglen
  8562. if postIndex > l {
  8563. return io.ErrUnexpectedEOF
  8564. }
  8565. m.TLS = append(m.TLS, IngressTLS{})
  8566. if err := m.TLS[len(m.TLS)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  8567. return err
  8568. }
  8569. iNdEx = postIndex
  8570. case 3:
  8571. if wireType != 2 {
  8572. return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
  8573. }
  8574. var msglen int
  8575. for shift := uint(0); ; shift += 7 {
  8576. if shift >= 64 {
  8577. return ErrIntOverflowGenerated
  8578. }
  8579. if iNdEx >= l {
  8580. return io.ErrUnexpectedEOF
  8581. }
  8582. b := data[iNdEx]
  8583. iNdEx++
  8584. msglen |= (int(b) & 0x7F) << shift
  8585. if b < 0x80 {
  8586. break
  8587. }
  8588. }
  8589. if msglen < 0 {
  8590. return ErrInvalidLengthGenerated
  8591. }
  8592. postIndex := iNdEx + msglen
  8593. if postIndex > l {
  8594. return io.ErrUnexpectedEOF
  8595. }
  8596. m.Rules = append(m.Rules, IngressRule{})
  8597. if err := m.Rules[len(m.Rules)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  8598. return err
  8599. }
  8600. iNdEx = postIndex
  8601. default:
  8602. iNdEx = preIndex
  8603. skippy, err := skipGenerated(data[iNdEx:])
  8604. if err != nil {
  8605. return err
  8606. }
  8607. if skippy < 0 {
  8608. return ErrInvalidLengthGenerated
  8609. }
  8610. if (iNdEx + skippy) > l {
  8611. return io.ErrUnexpectedEOF
  8612. }
  8613. iNdEx += skippy
  8614. }
  8615. }
  8616. if iNdEx > l {
  8617. return io.ErrUnexpectedEOF
  8618. }
  8619. return nil
  8620. }
  8621. func (m *IngressStatus) Unmarshal(data []byte) error {
  8622. l := len(data)
  8623. iNdEx := 0
  8624. for iNdEx < l {
  8625. preIndex := iNdEx
  8626. var wire uint64
  8627. for shift := uint(0); ; shift += 7 {
  8628. if shift >= 64 {
  8629. return ErrIntOverflowGenerated
  8630. }
  8631. if iNdEx >= l {
  8632. return io.ErrUnexpectedEOF
  8633. }
  8634. b := data[iNdEx]
  8635. iNdEx++
  8636. wire |= (uint64(b) & 0x7F) << shift
  8637. if b < 0x80 {
  8638. break
  8639. }
  8640. }
  8641. fieldNum := int32(wire >> 3)
  8642. wireType := int(wire & 0x7)
  8643. if wireType == 4 {
  8644. return fmt.Errorf("proto: IngressStatus: wiretype end group for non-group")
  8645. }
  8646. if fieldNum <= 0 {
  8647. return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  8648. }
  8649. switch fieldNum {
  8650. case 1:
  8651. if wireType != 2 {
  8652. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
  8653. }
  8654. var msglen int
  8655. for shift := uint(0); ; shift += 7 {
  8656. if shift >= 64 {
  8657. return ErrIntOverflowGenerated
  8658. }
  8659. if iNdEx >= l {
  8660. return io.ErrUnexpectedEOF
  8661. }
  8662. b := data[iNdEx]
  8663. iNdEx++
  8664. msglen |= (int(b) & 0x7F) << shift
  8665. if b < 0x80 {
  8666. break
  8667. }
  8668. }
  8669. if msglen < 0 {
  8670. return ErrInvalidLengthGenerated
  8671. }
  8672. postIndex := iNdEx + msglen
  8673. if postIndex > l {
  8674. return io.ErrUnexpectedEOF
  8675. }
  8676. if err := m.LoadBalancer.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8677. return err
  8678. }
  8679. iNdEx = postIndex
  8680. default:
  8681. iNdEx = preIndex
  8682. skippy, err := skipGenerated(data[iNdEx:])
  8683. if err != nil {
  8684. return err
  8685. }
  8686. if skippy < 0 {
  8687. return ErrInvalidLengthGenerated
  8688. }
  8689. if (iNdEx + skippy) > l {
  8690. return io.ErrUnexpectedEOF
  8691. }
  8692. iNdEx += skippy
  8693. }
  8694. }
  8695. if iNdEx > l {
  8696. return io.ErrUnexpectedEOF
  8697. }
  8698. return nil
  8699. }
  8700. func (m *IngressTLS) Unmarshal(data []byte) error {
  8701. l := len(data)
  8702. iNdEx := 0
  8703. for iNdEx < l {
  8704. preIndex := iNdEx
  8705. var wire uint64
  8706. for shift := uint(0); ; shift += 7 {
  8707. if shift >= 64 {
  8708. return ErrIntOverflowGenerated
  8709. }
  8710. if iNdEx >= l {
  8711. return io.ErrUnexpectedEOF
  8712. }
  8713. b := data[iNdEx]
  8714. iNdEx++
  8715. wire |= (uint64(b) & 0x7F) << shift
  8716. if b < 0x80 {
  8717. break
  8718. }
  8719. }
  8720. fieldNum := int32(wire >> 3)
  8721. wireType := int(wire & 0x7)
  8722. if wireType == 4 {
  8723. return fmt.Errorf("proto: IngressTLS: wiretype end group for non-group")
  8724. }
  8725. if fieldNum <= 0 {
  8726. return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire)
  8727. }
  8728. switch fieldNum {
  8729. case 1:
  8730. if wireType != 2 {
  8731. return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType)
  8732. }
  8733. var stringLen uint64
  8734. for shift := uint(0); ; shift += 7 {
  8735. if shift >= 64 {
  8736. return ErrIntOverflowGenerated
  8737. }
  8738. if iNdEx >= l {
  8739. return io.ErrUnexpectedEOF
  8740. }
  8741. b := data[iNdEx]
  8742. iNdEx++
  8743. stringLen |= (uint64(b) & 0x7F) << shift
  8744. if b < 0x80 {
  8745. break
  8746. }
  8747. }
  8748. intStringLen := int(stringLen)
  8749. if intStringLen < 0 {
  8750. return ErrInvalidLengthGenerated
  8751. }
  8752. postIndex := iNdEx + intStringLen
  8753. if postIndex > l {
  8754. return io.ErrUnexpectedEOF
  8755. }
  8756. m.Hosts = append(m.Hosts, string(data[iNdEx:postIndex]))
  8757. iNdEx = postIndex
  8758. case 2:
  8759. if wireType != 2 {
  8760. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  8761. }
  8762. var stringLen uint64
  8763. for shift := uint(0); ; shift += 7 {
  8764. if shift >= 64 {
  8765. return ErrIntOverflowGenerated
  8766. }
  8767. if iNdEx >= l {
  8768. return io.ErrUnexpectedEOF
  8769. }
  8770. b := data[iNdEx]
  8771. iNdEx++
  8772. stringLen |= (uint64(b) & 0x7F) << shift
  8773. if b < 0x80 {
  8774. break
  8775. }
  8776. }
  8777. intStringLen := int(stringLen)
  8778. if intStringLen < 0 {
  8779. return ErrInvalidLengthGenerated
  8780. }
  8781. postIndex := iNdEx + intStringLen
  8782. if postIndex > l {
  8783. return io.ErrUnexpectedEOF
  8784. }
  8785. m.SecretName = string(data[iNdEx:postIndex])
  8786. iNdEx = postIndex
  8787. default:
  8788. iNdEx = preIndex
  8789. skippy, err := skipGenerated(data[iNdEx:])
  8790. if err != nil {
  8791. return err
  8792. }
  8793. if skippy < 0 {
  8794. return ErrInvalidLengthGenerated
  8795. }
  8796. if (iNdEx + skippy) > l {
  8797. return io.ErrUnexpectedEOF
  8798. }
  8799. iNdEx += skippy
  8800. }
  8801. }
  8802. if iNdEx > l {
  8803. return io.ErrUnexpectedEOF
  8804. }
  8805. return nil
  8806. }
  8807. func (m *Job) Unmarshal(data []byte) error {
  8808. l := len(data)
  8809. iNdEx := 0
  8810. for iNdEx < l {
  8811. preIndex := iNdEx
  8812. var wire uint64
  8813. for shift := uint(0); ; shift += 7 {
  8814. if shift >= 64 {
  8815. return ErrIntOverflowGenerated
  8816. }
  8817. if iNdEx >= l {
  8818. return io.ErrUnexpectedEOF
  8819. }
  8820. b := data[iNdEx]
  8821. iNdEx++
  8822. wire |= (uint64(b) & 0x7F) << shift
  8823. if b < 0x80 {
  8824. break
  8825. }
  8826. }
  8827. fieldNum := int32(wire >> 3)
  8828. wireType := int(wire & 0x7)
  8829. if wireType == 4 {
  8830. return fmt.Errorf("proto: Job: wiretype end group for non-group")
  8831. }
  8832. if fieldNum <= 0 {
  8833. return fmt.Errorf("proto: Job: illegal tag %d (wire type %d)", fieldNum, wire)
  8834. }
  8835. switch fieldNum {
  8836. case 1:
  8837. if wireType != 2 {
  8838. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  8839. }
  8840. var msglen int
  8841. for shift := uint(0); ; shift += 7 {
  8842. if shift >= 64 {
  8843. return ErrIntOverflowGenerated
  8844. }
  8845. if iNdEx >= l {
  8846. return io.ErrUnexpectedEOF
  8847. }
  8848. b := data[iNdEx]
  8849. iNdEx++
  8850. msglen |= (int(b) & 0x7F) << shift
  8851. if b < 0x80 {
  8852. break
  8853. }
  8854. }
  8855. if msglen < 0 {
  8856. return ErrInvalidLengthGenerated
  8857. }
  8858. postIndex := iNdEx + msglen
  8859. if postIndex > l {
  8860. return io.ErrUnexpectedEOF
  8861. }
  8862. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8863. return err
  8864. }
  8865. iNdEx = postIndex
  8866. case 2:
  8867. if wireType != 2 {
  8868. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  8869. }
  8870. var msglen int
  8871. for shift := uint(0); ; shift += 7 {
  8872. if shift >= 64 {
  8873. return ErrIntOverflowGenerated
  8874. }
  8875. if iNdEx >= l {
  8876. return io.ErrUnexpectedEOF
  8877. }
  8878. b := data[iNdEx]
  8879. iNdEx++
  8880. msglen |= (int(b) & 0x7F) << shift
  8881. if b < 0x80 {
  8882. break
  8883. }
  8884. }
  8885. if msglen < 0 {
  8886. return ErrInvalidLengthGenerated
  8887. }
  8888. postIndex := iNdEx + msglen
  8889. if postIndex > l {
  8890. return io.ErrUnexpectedEOF
  8891. }
  8892. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8893. return err
  8894. }
  8895. iNdEx = postIndex
  8896. case 3:
  8897. if wireType != 2 {
  8898. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  8899. }
  8900. var msglen int
  8901. for shift := uint(0); ; shift += 7 {
  8902. if shift >= 64 {
  8903. return ErrIntOverflowGenerated
  8904. }
  8905. if iNdEx >= l {
  8906. return io.ErrUnexpectedEOF
  8907. }
  8908. b := data[iNdEx]
  8909. iNdEx++
  8910. msglen |= (int(b) & 0x7F) << shift
  8911. if b < 0x80 {
  8912. break
  8913. }
  8914. }
  8915. if msglen < 0 {
  8916. return ErrInvalidLengthGenerated
  8917. }
  8918. postIndex := iNdEx + msglen
  8919. if postIndex > l {
  8920. return io.ErrUnexpectedEOF
  8921. }
  8922. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  8923. return err
  8924. }
  8925. iNdEx = postIndex
  8926. default:
  8927. iNdEx = preIndex
  8928. skippy, err := skipGenerated(data[iNdEx:])
  8929. if err != nil {
  8930. return err
  8931. }
  8932. if skippy < 0 {
  8933. return ErrInvalidLengthGenerated
  8934. }
  8935. if (iNdEx + skippy) > l {
  8936. return io.ErrUnexpectedEOF
  8937. }
  8938. iNdEx += skippy
  8939. }
  8940. }
  8941. if iNdEx > l {
  8942. return io.ErrUnexpectedEOF
  8943. }
  8944. return nil
  8945. }
  8946. func (m *JobCondition) Unmarshal(data []byte) error {
  8947. l := len(data)
  8948. iNdEx := 0
  8949. for iNdEx < l {
  8950. preIndex := iNdEx
  8951. var wire uint64
  8952. for shift := uint(0); ; shift += 7 {
  8953. if shift >= 64 {
  8954. return ErrIntOverflowGenerated
  8955. }
  8956. if iNdEx >= l {
  8957. return io.ErrUnexpectedEOF
  8958. }
  8959. b := data[iNdEx]
  8960. iNdEx++
  8961. wire |= (uint64(b) & 0x7F) << shift
  8962. if b < 0x80 {
  8963. break
  8964. }
  8965. }
  8966. fieldNum := int32(wire >> 3)
  8967. wireType := int(wire & 0x7)
  8968. if wireType == 4 {
  8969. return fmt.Errorf("proto: JobCondition: wiretype end group for non-group")
  8970. }
  8971. if fieldNum <= 0 {
  8972. return fmt.Errorf("proto: JobCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  8973. }
  8974. switch fieldNum {
  8975. case 1:
  8976. if wireType != 2 {
  8977. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  8978. }
  8979. var stringLen uint64
  8980. for shift := uint(0); ; shift += 7 {
  8981. if shift >= 64 {
  8982. return ErrIntOverflowGenerated
  8983. }
  8984. if iNdEx >= l {
  8985. return io.ErrUnexpectedEOF
  8986. }
  8987. b := data[iNdEx]
  8988. iNdEx++
  8989. stringLen |= (uint64(b) & 0x7F) << shift
  8990. if b < 0x80 {
  8991. break
  8992. }
  8993. }
  8994. intStringLen := int(stringLen)
  8995. if intStringLen < 0 {
  8996. return ErrInvalidLengthGenerated
  8997. }
  8998. postIndex := iNdEx + intStringLen
  8999. if postIndex > l {
  9000. return io.ErrUnexpectedEOF
  9001. }
  9002. m.Type = JobConditionType(data[iNdEx:postIndex])
  9003. iNdEx = postIndex
  9004. case 2:
  9005. if wireType != 2 {
  9006. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  9007. }
  9008. var stringLen uint64
  9009. for shift := uint(0); ; shift += 7 {
  9010. if shift >= 64 {
  9011. return ErrIntOverflowGenerated
  9012. }
  9013. if iNdEx >= l {
  9014. return io.ErrUnexpectedEOF
  9015. }
  9016. b := data[iNdEx]
  9017. iNdEx++
  9018. stringLen |= (uint64(b) & 0x7F) << shift
  9019. if b < 0x80 {
  9020. break
  9021. }
  9022. }
  9023. intStringLen := int(stringLen)
  9024. if intStringLen < 0 {
  9025. return ErrInvalidLengthGenerated
  9026. }
  9027. postIndex := iNdEx + intStringLen
  9028. if postIndex > l {
  9029. return io.ErrUnexpectedEOF
  9030. }
  9031. m.Status = k8s_io_kubernetes_pkg_api_v1.ConditionStatus(data[iNdEx:postIndex])
  9032. iNdEx = postIndex
  9033. case 3:
  9034. if wireType != 2 {
  9035. return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  9036. }
  9037. var msglen int
  9038. for shift := uint(0); ; shift += 7 {
  9039. if shift >= 64 {
  9040. return ErrIntOverflowGenerated
  9041. }
  9042. if iNdEx >= l {
  9043. return io.ErrUnexpectedEOF
  9044. }
  9045. b := data[iNdEx]
  9046. iNdEx++
  9047. msglen |= (int(b) & 0x7F) << shift
  9048. if b < 0x80 {
  9049. break
  9050. }
  9051. }
  9052. if msglen < 0 {
  9053. return ErrInvalidLengthGenerated
  9054. }
  9055. postIndex := iNdEx + msglen
  9056. if postIndex > l {
  9057. return io.ErrUnexpectedEOF
  9058. }
  9059. if err := m.LastProbeTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  9060. return err
  9061. }
  9062. iNdEx = postIndex
  9063. case 4:
  9064. if wireType != 2 {
  9065. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  9066. }
  9067. var msglen int
  9068. for shift := uint(0); ; shift += 7 {
  9069. if shift >= 64 {
  9070. return ErrIntOverflowGenerated
  9071. }
  9072. if iNdEx >= l {
  9073. return io.ErrUnexpectedEOF
  9074. }
  9075. b := data[iNdEx]
  9076. iNdEx++
  9077. msglen |= (int(b) & 0x7F) << shift
  9078. if b < 0x80 {
  9079. break
  9080. }
  9081. }
  9082. if msglen < 0 {
  9083. return ErrInvalidLengthGenerated
  9084. }
  9085. postIndex := iNdEx + msglen
  9086. if postIndex > l {
  9087. return io.ErrUnexpectedEOF
  9088. }
  9089. if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  9090. return err
  9091. }
  9092. iNdEx = postIndex
  9093. case 5:
  9094. if wireType != 2 {
  9095. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  9096. }
  9097. var stringLen uint64
  9098. for shift := uint(0); ; shift += 7 {
  9099. if shift >= 64 {
  9100. return ErrIntOverflowGenerated
  9101. }
  9102. if iNdEx >= l {
  9103. return io.ErrUnexpectedEOF
  9104. }
  9105. b := data[iNdEx]
  9106. iNdEx++
  9107. stringLen |= (uint64(b) & 0x7F) << shift
  9108. if b < 0x80 {
  9109. break
  9110. }
  9111. }
  9112. intStringLen := int(stringLen)
  9113. if intStringLen < 0 {
  9114. return ErrInvalidLengthGenerated
  9115. }
  9116. postIndex := iNdEx + intStringLen
  9117. if postIndex > l {
  9118. return io.ErrUnexpectedEOF
  9119. }
  9120. m.Reason = string(data[iNdEx:postIndex])
  9121. iNdEx = postIndex
  9122. case 6:
  9123. if wireType != 2 {
  9124. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  9125. }
  9126. var stringLen uint64
  9127. for shift := uint(0); ; shift += 7 {
  9128. if shift >= 64 {
  9129. return ErrIntOverflowGenerated
  9130. }
  9131. if iNdEx >= l {
  9132. return io.ErrUnexpectedEOF
  9133. }
  9134. b := data[iNdEx]
  9135. iNdEx++
  9136. stringLen |= (uint64(b) & 0x7F) << shift
  9137. if b < 0x80 {
  9138. break
  9139. }
  9140. }
  9141. intStringLen := int(stringLen)
  9142. if intStringLen < 0 {
  9143. return ErrInvalidLengthGenerated
  9144. }
  9145. postIndex := iNdEx + intStringLen
  9146. if postIndex > l {
  9147. return io.ErrUnexpectedEOF
  9148. }
  9149. m.Message = string(data[iNdEx:postIndex])
  9150. iNdEx = postIndex
  9151. default:
  9152. iNdEx = preIndex
  9153. skippy, err := skipGenerated(data[iNdEx:])
  9154. if err != nil {
  9155. return err
  9156. }
  9157. if skippy < 0 {
  9158. return ErrInvalidLengthGenerated
  9159. }
  9160. if (iNdEx + skippy) > l {
  9161. return io.ErrUnexpectedEOF
  9162. }
  9163. iNdEx += skippy
  9164. }
  9165. }
  9166. if iNdEx > l {
  9167. return io.ErrUnexpectedEOF
  9168. }
  9169. return nil
  9170. }
  9171. func (m *JobList) Unmarshal(data []byte) error {
  9172. l := len(data)
  9173. iNdEx := 0
  9174. for iNdEx < l {
  9175. preIndex := iNdEx
  9176. var wire uint64
  9177. for shift := uint(0); ; shift += 7 {
  9178. if shift >= 64 {
  9179. return ErrIntOverflowGenerated
  9180. }
  9181. if iNdEx >= l {
  9182. return io.ErrUnexpectedEOF
  9183. }
  9184. b := data[iNdEx]
  9185. iNdEx++
  9186. wire |= (uint64(b) & 0x7F) << shift
  9187. if b < 0x80 {
  9188. break
  9189. }
  9190. }
  9191. fieldNum := int32(wire >> 3)
  9192. wireType := int(wire & 0x7)
  9193. if wireType == 4 {
  9194. return fmt.Errorf("proto: JobList: wiretype end group for non-group")
  9195. }
  9196. if fieldNum <= 0 {
  9197. return fmt.Errorf("proto: JobList: illegal tag %d (wire type %d)", fieldNum, wire)
  9198. }
  9199. switch fieldNum {
  9200. case 1:
  9201. if wireType != 2 {
  9202. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  9203. }
  9204. var msglen int
  9205. for shift := uint(0); ; shift += 7 {
  9206. if shift >= 64 {
  9207. return ErrIntOverflowGenerated
  9208. }
  9209. if iNdEx >= l {
  9210. return io.ErrUnexpectedEOF
  9211. }
  9212. b := data[iNdEx]
  9213. iNdEx++
  9214. msglen |= (int(b) & 0x7F) << shift
  9215. if b < 0x80 {
  9216. break
  9217. }
  9218. }
  9219. if msglen < 0 {
  9220. return ErrInvalidLengthGenerated
  9221. }
  9222. postIndex := iNdEx + msglen
  9223. if postIndex > l {
  9224. return io.ErrUnexpectedEOF
  9225. }
  9226. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  9227. return err
  9228. }
  9229. iNdEx = postIndex
  9230. case 2:
  9231. if wireType != 2 {
  9232. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  9233. }
  9234. var msglen int
  9235. for shift := uint(0); ; shift += 7 {
  9236. if shift >= 64 {
  9237. return ErrIntOverflowGenerated
  9238. }
  9239. if iNdEx >= l {
  9240. return io.ErrUnexpectedEOF
  9241. }
  9242. b := data[iNdEx]
  9243. iNdEx++
  9244. msglen |= (int(b) & 0x7F) << shift
  9245. if b < 0x80 {
  9246. break
  9247. }
  9248. }
  9249. if msglen < 0 {
  9250. return ErrInvalidLengthGenerated
  9251. }
  9252. postIndex := iNdEx + msglen
  9253. if postIndex > l {
  9254. return io.ErrUnexpectedEOF
  9255. }
  9256. m.Items = append(m.Items, Job{})
  9257. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  9258. return err
  9259. }
  9260. iNdEx = postIndex
  9261. default:
  9262. iNdEx = preIndex
  9263. skippy, err := skipGenerated(data[iNdEx:])
  9264. if err != nil {
  9265. return err
  9266. }
  9267. if skippy < 0 {
  9268. return ErrInvalidLengthGenerated
  9269. }
  9270. if (iNdEx + skippy) > l {
  9271. return io.ErrUnexpectedEOF
  9272. }
  9273. iNdEx += skippy
  9274. }
  9275. }
  9276. if iNdEx > l {
  9277. return io.ErrUnexpectedEOF
  9278. }
  9279. return nil
  9280. }
  9281. func (m *JobSpec) Unmarshal(data []byte) error {
  9282. l := len(data)
  9283. iNdEx := 0
  9284. for iNdEx < l {
  9285. preIndex := iNdEx
  9286. var wire uint64
  9287. for shift := uint(0); ; shift += 7 {
  9288. if shift >= 64 {
  9289. return ErrIntOverflowGenerated
  9290. }
  9291. if iNdEx >= l {
  9292. return io.ErrUnexpectedEOF
  9293. }
  9294. b := data[iNdEx]
  9295. iNdEx++
  9296. wire |= (uint64(b) & 0x7F) << shift
  9297. if b < 0x80 {
  9298. break
  9299. }
  9300. }
  9301. fieldNum := int32(wire >> 3)
  9302. wireType := int(wire & 0x7)
  9303. if wireType == 4 {
  9304. return fmt.Errorf("proto: JobSpec: wiretype end group for non-group")
  9305. }
  9306. if fieldNum <= 0 {
  9307. return fmt.Errorf("proto: JobSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  9308. }
  9309. switch fieldNum {
  9310. case 1:
  9311. if wireType != 0 {
  9312. return fmt.Errorf("proto: wrong wireType = %d for field Parallelism", wireType)
  9313. }
  9314. var v int32
  9315. for shift := uint(0); ; shift += 7 {
  9316. if shift >= 64 {
  9317. return ErrIntOverflowGenerated
  9318. }
  9319. if iNdEx >= l {
  9320. return io.ErrUnexpectedEOF
  9321. }
  9322. b := data[iNdEx]
  9323. iNdEx++
  9324. v |= (int32(b) & 0x7F) << shift
  9325. if b < 0x80 {
  9326. break
  9327. }
  9328. }
  9329. m.Parallelism = &v
  9330. case 2:
  9331. if wireType != 0 {
  9332. return fmt.Errorf("proto: wrong wireType = %d for field Completions", wireType)
  9333. }
  9334. var v int32
  9335. for shift := uint(0); ; shift += 7 {
  9336. if shift >= 64 {
  9337. return ErrIntOverflowGenerated
  9338. }
  9339. if iNdEx >= l {
  9340. return io.ErrUnexpectedEOF
  9341. }
  9342. b := data[iNdEx]
  9343. iNdEx++
  9344. v |= (int32(b) & 0x7F) << shift
  9345. if b < 0x80 {
  9346. break
  9347. }
  9348. }
  9349. m.Completions = &v
  9350. case 3:
  9351. if wireType != 0 {
  9352. return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType)
  9353. }
  9354. var v int64
  9355. for shift := uint(0); ; shift += 7 {
  9356. if shift >= 64 {
  9357. return ErrIntOverflowGenerated
  9358. }
  9359. if iNdEx >= l {
  9360. return io.ErrUnexpectedEOF
  9361. }
  9362. b := data[iNdEx]
  9363. iNdEx++
  9364. v |= (int64(b) & 0x7F) << shift
  9365. if b < 0x80 {
  9366. break
  9367. }
  9368. }
  9369. m.ActiveDeadlineSeconds = &v
  9370. case 4:
  9371. if wireType != 2 {
  9372. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  9373. }
  9374. var msglen int
  9375. for shift := uint(0); ; shift += 7 {
  9376. if shift >= 64 {
  9377. return ErrIntOverflowGenerated
  9378. }
  9379. if iNdEx >= l {
  9380. return io.ErrUnexpectedEOF
  9381. }
  9382. b := data[iNdEx]
  9383. iNdEx++
  9384. msglen |= (int(b) & 0x7F) << shift
  9385. if b < 0x80 {
  9386. break
  9387. }
  9388. }
  9389. if msglen < 0 {
  9390. return ErrInvalidLengthGenerated
  9391. }
  9392. postIndex := iNdEx + msglen
  9393. if postIndex > l {
  9394. return io.ErrUnexpectedEOF
  9395. }
  9396. if m.Selector == nil {
  9397. m.Selector = &LabelSelector{}
  9398. }
  9399. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  9400. return err
  9401. }
  9402. iNdEx = postIndex
  9403. case 5:
  9404. if wireType != 0 {
  9405. return fmt.Errorf("proto: wrong wireType = %d for field AutoSelector", wireType)
  9406. }
  9407. var v int
  9408. for shift := uint(0); ; shift += 7 {
  9409. if shift >= 64 {
  9410. return ErrIntOverflowGenerated
  9411. }
  9412. if iNdEx >= l {
  9413. return io.ErrUnexpectedEOF
  9414. }
  9415. b := data[iNdEx]
  9416. iNdEx++
  9417. v |= (int(b) & 0x7F) << shift
  9418. if b < 0x80 {
  9419. break
  9420. }
  9421. }
  9422. b := bool(v != 0)
  9423. m.AutoSelector = &b
  9424. case 6:
  9425. if wireType != 2 {
  9426. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  9427. }
  9428. var msglen int
  9429. for shift := uint(0); ; shift += 7 {
  9430. if shift >= 64 {
  9431. return ErrIntOverflowGenerated
  9432. }
  9433. if iNdEx >= l {
  9434. return io.ErrUnexpectedEOF
  9435. }
  9436. b := data[iNdEx]
  9437. iNdEx++
  9438. msglen |= (int(b) & 0x7F) << shift
  9439. if b < 0x80 {
  9440. break
  9441. }
  9442. }
  9443. if msglen < 0 {
  9444. return ErrInvalidLengthGenerated
  9445. }
  9446. postIndex := iNdEx + msglen
  9447. if postIndex > l {
  9448. return io.ErrUnexpectedEOF
  9449. }
  9450. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  9451. return err
  9452. }
  9453. iNdEx = postIndex
  9454. default:
  9455. iNdEx = preIndex
  9456. skippy, err := skipGenerated(data[iNdEx:])
  9457. if err != nil {
  9458. return err
  9459. }
  9460. if skippy < 0 {
  9461. return ErrInvalidLengthGenerated
  9462. }
  9463. if (iNdEx + skippy) > l {
  9464. return io.ErrUnexpectedEOF
  9465. }
  9466. iNdEx += skippy
  9467. }
  9468. }
  9469. if iNdEx > l {
  9470. return io.ErrUnexpectedEOF
  9471. }
  9472. return nil
  9473. }
  9474. func (m *JobStatus) Unmarshal(data []byte) error {
  9475. l := len(data)
  9476. iNdEx := 0
  9477. for iNdEx < l {
  9478. preIndex := iNdEx
  9479. var wire uint64
  9480. for shift := uint(0); ; shift += 7 {
  9481. if shift >= 64 {
  9482. return ErrIntOverflowGenerated
  9483. }
  9484. if iNdEx >= l {
  9485. return io.ErrUnexpectedEOF
  9486. }
  9487. b := data[iNdEx]
  9488. iNdEx++
  9489. wire |= (uint64(b) & 0x7F) << shift
  9490. if b < 0x80 {
  9491. break
  9492. }
  9493. }
  9494. fieldNum := int32(wire >> 3)
  9495. wireType := int(wire & 0x7)
  9496. if wireType == 4 {
  9497. return fmt.Errorf("proto: JobStatus: wiretype end group for non-group")
  9498. }
  9499. if fieldNum <= 0 {
  9500. return fmt.Errorf("proto: JobStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  9501. }
  9502. switch fieldNum {
  9503. case 1:
  9504. if wireType != 2 {
  9505. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  9506. }
  9507. var msglen int
  9508. for shift := uint(0); ; shift += 7 {
  9509. if shift >= 64 {
  9510. return ErrIntOverflowGenerated
  9511. }
  9512. if iNdEx >= l {
  9513. return io.ErrUnexpectedEOF
  9514. }
  9515. b := data[iNdEx]
  9516. iNdEx++
  9517. msglen |= (int(b) & 0x7F) << shift
  9518. if b < 0x80 {
  9519. break
  9520. }
  9521. }
  9522. if msglen < 0 {
  9523. return ErrInvalidLengthGenerated
  9524. }
  9525. postIndex := iNdEx + msglen
  9526. if postIndex > l {
  9527. return io.ErrUnexpectedEOF
  9528. }
  9529. m.Conditions = append(m.Conditions, JobCondition{})
  9530. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  9531. return err
  9532. }
  9533. iNdEx = postIndex
  9534. case 2:
  9535. if wireType != 2 {
  9536. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  9537. }
  9538. var msglen int
  9539. for shift := uint(0); ; shift += 7 {
  9540. if shift >= 64 {
  9541. return ErrIntOverflowGenerated
  9542. }
  9543. if iNdEx >= l {
  9544. return io.ErrUnexpectedEOF
  9545. }
  9546. b := data[iNdEx]
  9547. iNdEx++
  9548. msglen |= (int(b) & 0x7F) << shift
  9549. if b < 0x80 {
  9550. break
  9551. }
  9552. }
  9553. if msglen < 0 {
  9554. return ErrInvalidLengthGenerated
  9555. }
  9556. postIndex := iNdEx + msglen
  9557. if postIndex > l {
  9558. return io.ErrUnexpectedEOF
  9559. }
  9560. if m.StartTime == nil {
  9561. m.StartTime = &k8s_io_kubernetes_pkg_api_unversioned.Time{}
  9562. }
  9563. if err := m.StartTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  9564. return err
  9565. }
  9566. iNdEx = postIndex
  9567. case 3:
  9568. if wireType != 2 {
  9569. return fmt.Errorf("proto: wrong wireType = %d for field CompletionTime", wireType)
  9570. }
  9571. var msglen int
  9572. for shift := uint(0); ; shift += 7 {
  9573. if shift >= 64 {
  9574. return ErrIntOverflowGenerated
  9575. }
  9576. if iNdEx >= l {
  9577. return io.ErrUnexpectedEOF
  9578. }
  9579. b := data[iNdEx]
  9580. iNdEx++
  9581. msglen |= (int(b) & 0x7F) << shift
  9582. if b < 0x80 {
  9583. break
  9584. }
  9585. }
  9586. if msglen < 0 {
  9587. return ErrInvalidLengthGenerated
  9588. }
  9589. postIndex := iNdEx + msglen
  9590. if postIndex > l {
  9591. return io.ErrUnexpectedEOF
  9592. }
  9593. if m.CompletionTime == nil {
  9594. m.CompletionTime = &k8s_io_kubernetes_pkg_api_unversioned.Time{}
  9595. }
  9596. if err := m.CompletionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  9597. return err
  9598. }
  9599. iNdEx = postIndex
  9600. case 4:
  9601. if wireType != 0 {
  9602. return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType)
  9603. }
  9604. m.Active = 0
  9605. for shift := uint(0); ; shift += 7 {
  9606. if shift >= 64 {
  9607. return ErrIntOverflowGenerated
  9608. }
  9609. if iNdEx >= l {
  9610. return io.ErrUnexpectedEOF
  9611. }
  9612. b := data[iNdEx]
  9613. iNdEx++
  9614. m.Active |= (int32(b) & 0x7F) << shift
  9615. if b < 0x80 {
  9616. break
  9617. }
  9618. }
  9619. case 5:
  9620. if wireType != 0 {
  9621. return fmt.Errorf("proto: wrong wireType = %d for field Succeeded", wireType)
  9622. }
  9623. m.Succeeded = 0
  9624. for shift := uint(0); ; shift += 7 {
  9625. if shift >= 64 {
  9626. return ErrIntOverflowGenerated
  9627. }
  9628. if iNdEx >= l {
  9629. return io.ErrUnexpectedEOF
  9630. }
  9631. b := data[iNdEx]
  9632. iNdEx++
  9633. m.Succeeded |= (int32(b) & 0x7F) << shift
  9634. if b < 0x80 {
  9635. break
  9636. }
  9637. }
  9638. case 6:
  9639. if wireType != 0 {
  9640. return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType)
  9641. }
  9642. m.Failed = 0
  9643. for shift := uint(0); ; shift += 7 {
  9644. if shift >= 64 {
  9645. return ErrIntOverflowGenerated
  9646. }
  9647. if iNdEx >= l {
  9648. return io.ErrUnexpectedEOF
  9649. }
  9650. b := data[iNdEx]
  9651. iNdEx++
  9652. m.Failed |= (int32(b) & 0x7F) << shift
  9653. if b < 0x80 {
  9654. break
  9655. }
  9656. }
  9657. default:
  9658. iNdEx = preIndex
  9659. skippy, err := skipGenerated(data[iNdEx:])
  9660. if err != nil {
  9661. return err
  9662. }
  9663. if skippy < 0 {
  9664. return ErrInvalidLengthGenerated
  9665. }
  9666. if (iNdEx + skippy) > l {
  9667. return io.ErrUnexpectedEOF
  9668. }
  9669. iNdEx += skippy
  9670. }
  9671. }
  9672. if iNdEx > l {
  9673. return io.ErrUnexpectedEOF
  9674. }
  9675. return nil
  9676. }
  9677. func (m *LabelSelector) Unmarshal(data []byte) error {
  9678. l := len(data)
  9679. iNdEx := 0
  9680. for iNdEx < l {
  9681. preIndex := iNdEx
  9682. var wire uint64
  9683. for shift := uint(0); ; shift += 7 {
  9684. if shift >= 64 {
  9685. return ErrIntOverflowGenerated
  9686. }
  9687. if iNdEx >= l {
  9688. return io.ErrUnexpectedEOF
  9689. }
  9690. b := data[iNdEx]
  9691. iNdEx++
  9692. wire |= (uint64(b) & 0x7F) << shift
  9693. if b < 0x80 {
  9694. break
  9695. }
  9696. }
  9697. fieldNum := int32(wire >> 3)
  9698. wireType := int(wire & 0x7)
  9699. if wireType == 4 {
  9700. return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group")
  9701. }
  9702. if fieldNum <= 0 {
  9703. return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  9704. }
  9705. switch fieldNum {
  9706. case 1:
  9707. if wireType != 2 {
  9708. return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType)
  9709. }
  9710. var msglen int
  9711. for shift := uint(0); ; shift += 7 {
  9712. if shift >= 64 {
  9713. return ErrIntOverflowGenerated
  9714. }
  9715. if iNdEx >= l {
  9716. return io.ErrUnexpectedEOF
  9717. }
  9718. b := data[iNdEx]
  9719. iNdEx++
  9720. msglen |= (int(b) & 0x7F) << shift
  9721. if b < 0x80 {
  9722. break
  9723. }
  9724. }
  9725. if msglen < 0 {
  9726. return ErrInvalidLengthGenerated
  9727. }
  9728. postIndex := iNdEx + msglen
  9729. if postIndex > l {
  9730. return io.ErrUnexpectedEOF
  9731. }
  9732. var keykey uint64
  9733. for shift := uint(0); ; shift += 7 {
  9734. if shift >= 64 {
  9735. return ErrIntOverflowGenerated
  9736. }
  9737. if iNdEx >= l {
  9738. return io.ErrUnexpectedEOF
  9739. }
  9740. b := data[iNdEx]
  9741. iNdEx++
  9742. keykey |= (uint64(b) & 0x7F) << shift
  9743. if b < 0x80 {
  9744. break
  9745. }
  9746. }
  9747. var stringLenmapkey uint64
  9748. for shift := uint(0); ; shift += 7 {
  9749. if shift >= 64 {
  9750. return ErrIntOverflowGenerated
  9751. }
  9752. if iNdEx >= l {
  9753. return io.ErrUnexpectedEOF
  9754. }
  9755. b := data[iNdEx]
  9756. iNdEx++
  9757. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  9758. if b < 0x80 {
  9759. break
  9760. }
  9761. }
  9762. intStringLenmapkey := int(stringLenmapkey)
  9763. if intStringLenmapkey < 0 {
  9764. return ErrInvalidLengthGenerated
  9765. }
  9766. postStringIndexmapkey := iNdEx + intStringLenmapkey
  9767. if postStringIndexmapkey > l {
  9768. return io.ErrUnexpectedEOF
  9769. }
  9770. mapkey := string(data[iNdEx:postStringIndexmapkey])
  9771. iNdEx = postStringIndexmapkey
  9772. var valuekey uint64
  9773. for shift := uint(0); ; shift += 7 {
  9774. if shift >= 64 {
  9775. return ErrIntOverflowGenerated
  9776. }
  9777. if iNdEx >= l {
  9778. return io.ErrUnexpectedEOF
  9779. }
  9780. b := data[iNdEx]
  9781. iNdEx++
  9782. valuekey |= (uint64(b) & 0x7F) << shift
  9783. if b < 0x80 {
  9784. break
  9785. }
  9786. }
  9787. var stringLenmapvalue uint64
  9788. for shift := uint(0); ; shift += 7 {
  9789. if shift >= 64 {
  9790. return ErrIntOverflowGenerated
  9791. }
  9792. if iNdEx >= l {
  9793. return io.ErrUnexpectedEOF
  9794. }
  9795. b := data[iNdEx]
  9796. iNdEx++
  9797. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  9798. if b < 0x80 {
  9799. break
  9800. }
  9801. }
  9802. intStringLenmapvalue := int(stringLenmapvalue)
  9803. if intStringLenmapvalue < 0 {
  9804. return ErrInvalidLengthGenerated
  9805. }
  9806. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  9807. if postStringIndexmapvalue > l {
  9808. return io.ErrUnexpectedEOF
  9809. }
  9810. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  9811. iNdEx = postStringIndexmapvalue
  9812. if m.MatchLabels == nil {
  9813. m.MatchLabels = make(map[string]string)
  9814. }
  9815. m.MatchLabels[mapkey] = mapvalue
  9816. iNdEx = postIndex
  9817. case 2:
  9818. if wireType != 2 {
  9819. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  9820. }
  9821. var msglen int
  9822. for shift := uint(0); ; shift += 7 {
  9823. if shift >= 64 {
  9824. return ErrIntOverflowGenerated
  9825. }
  9826. if iNdEx >= l {
  9827. return io.ErrUnexpectedEOF
  9828. }
  9829. b := data[iNdEx]
  9830. iNdEx++
  9831. msglen |= (int(b) & 0x7F) << shift
  9832. if b < 0x80 {
  9833. break
  9834. }
  9835. }
  9836. if msglen < 0 {
  9837. return ErrInvalidLengthGenerated
  9838. }
  9839. postIndex := iNdEx + msglen
  9840. if postIndex > l {
  9841. return io.ErrUnexpectedEOF
  9842. }
  9843. m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{})
  9844. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  9845. return err
  9846. }
  9847. iNdEx = postIndex
  9848. default:
  9849. iNdEx = preIndex
  9850. skippy, err := skipGenerated(data[iNdEx:])
  9851. if err != nil {
  9852. return err
  9853. }
  9854. if skippy < 0 {
  9855. return ErrInvalidLengthGenerated
  9856. }
  9857. if (iNdEx + skippy) > l {
  9858. return io.ErrUnexpectedEOF
  9859. }
  9860. iNdEx += skippy
  9861. }
  9862. }
  9863. if iNdEx > l {
  9864. return io.ErrUnexpectedEOF
  9865. }
  9866. return nil
  9867. }
  9868. func (m *LabelSelectorRequirement) Unmarshal(data []byte) error {
  9869. l := len(data)
  9870. iNdEx := 0
  9871. for iNdEx < l {
  9872. preIndex := iNdEx
  9873. var wire uint64
  9874. for shift := uint(0); ; shift += 7 {
  9875. if shift >= 64 {
  9876. return ErrIntOverflowGenerated
  9877. }
  9878. if iNdEx >= l {
  9879. return io.ErrUnexpectedEOF
  9880. }
  9881. b := data[iNdEx]
  9882. iNdEx++
  9883. wire |= (uint64(b) & 0x7F) << shift
  9884. if b < 0x80 {
  9885. break
  9886. }
  9887. }
  9888. fieldNum := int32(wire >> 3)
  9889. wireType := int(wire & 0x7)
  9890. if wireType == 4 {
  9891. return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group")
  9892. }
  9893. if fieldNum <= 0 {
  9894. return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  9895. }
  9896. switch fieldNum {
  9897. case 1:
  9898. if wireType != 2 {
  9899. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  9900. }
  9901. var stringLen uint64
  9902. for shift := uint(0); ; shift += 7 {
  9903. if shift >= 64 {
  9904. return ErrIntOverflowGenerated
  9905. }
  9906. if iNdEx >= l {
  9907. return io.ErrUnexpectedEOF
  9908. }
  9909. b := data[iNdEx]
  9910. iNdEx++
  9911. stringLen |= (uint64(b) & 0x7F) << shift
  9912. if b < 0x80 {
  9913. break
  9914. }
  9915. }
  9916. intStringLen := int(stringLen)
  9917. if intStringLen < 0 {
  9918. return ErrInvalidLengthGenerated
  9919. }
  9920. postIndex := iNdEx + intStringLen
  9921. if postIndex > l {
  9922. return io.ErrUnexpectedEOF
  9923. }
  9924. m.Key = string(data[iNdEx:postIndex])
  9925. iNdEx = postIndex
  9926. case 2:
  9927. if wireType != 2 {
  9928. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  9929. }
  9930. var stringLen uint64
  9931. for shift := uint(0); ; shift += 7 {
  9932. if shift >= 64 {
  9933. return ErrIntOverflowGenerated
  9934. }
  9935. if iNdEx >= l {
  9936. return io.ErrUnexpectedEOF
  9937. }
  9938. b := data[iNdEx]
  9939. iNdEx++
  9940. stringLen |= (uint64(b) & 0x7F) << shift
  9941. if b < 0x80 {
  9942. break
  9943. }
  9944. }
  9945. intStringLen := int(stringLen)
  9946. if intStringLen < 0 {
  9947. return ErrInvalidLengthGenerated
  9948. }
  9949. postIndex := iNdEx + intStringLen
  9950. if postIndex > l {
  9951. return io.ErrUnexpectedEOF
  9952. }
  9953. m.Operator = LabelSelectorOperator(data[iNdEx:postIndex])
  9954. iNdEx = postIndex
  9955. case 3:
  9956. if wireType != 2 {
  9957. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  9958. }
  9959. var stringLen uint64
  9960. for shift := uint(0); ; shift += 7 {
  9961. if shift >= 64 {
  9962. return ErrIntOverflowGenerated
  9963. }
  9964. if iNdEx >= l {
  9965. return io.ErrUnexpectedEOF
  9966. }
  9967. b := data[iNdEx]
  9968. iNdEx++
  9969. stringLen |= (uint64(b) & 0x7F) << shift
  9970. if b < 0x80 {
  9971. break
  9972. }
  9973. }
  9974. intStringLen := int(stringLen)
  9975. if intStringLen < 0 {
  9976. return ErrInvalidLengthGenerated
  9977. }
  9978. postIndex := iNdEx + intStringLen
  9979. if postIndex > l {
  9980. return io.ErrUnexpectedEOF
  9981. }
  9982. m.Values = append(m.Values, string(data[iNdEx:postIndex]))
  9983. iNdEx = postIndex
  9984. default:
  9985. iNdEx = preIndex
  9986. skippy, err := skipGenerated(data[iNdEx:])
  9987. if err != nil {
  9988. return err
  9989. }
  9990. if skippy < 0 {
  9991. return ErrInvalidLengthGenerated
  9992. }
  9993. if (iNdEx + skippy) > l {
  9994. return io.ErrUnexpectedEOF
  9995. }
  9996. iNdEx += skippy
  9997. }
  9998. }
  9999. if iNdEx > l {
  10000. return io.ErrUnexpectedEOF
  10001. }
  10002. return nil
  10003. }
  10004. func (m *ListOptions) Unmarshal(data []byte) error {
  10005. l := len(data)
  10006. iNdEx := 0
  10007. for iNdEx < l {
  10008. preIndex := iNdEx
  10009. var wire uint64
  10010. for shift := uint(0); ; shift += 7 {
  10011. if shift >= 64 {
  10012. return ErrIntOverflowGenerated
  10013. }
  10014. if iNdEx >= l {
  10015. return io.ErrUnexpectedEOF
  10016. }
  10017. b := data[iNdEx]
  10018. iNdEx++
  10019. wire |= (uint64(b) & 0x7F) << shift
  10020. if b < 0x80 {
  10021. break
  10022. }
  10023. }
  10024. fieldNum := int32(wire >> 3)
  10025. wireType := int(wire & 0x7)
  10026. if wireType == 4 {
  10027. return fmt.Errorf("proto: ListOptions: wiretype end group for non-group")
  10028. }
  10029. if fieldNum <= 0 {
  10030. return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  10031. }
  10032. switch fieldNum {
  10033. case 1:
  10034. if wireType != 2 {
  10035. return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
  10036. }
  10037. var stringLen uint64
  10038. for shift := uint(0); ; shift += 7 {
  10039. if shift >= 64 {
  10040. return ErrIntOverflowGenerated
  10041. }
  10042. if iNdEx >= l {
  10043. return io.ErrUnexpectedEOF
  10044. }
  10045. b := data[iNdEx]
  10046. iNdEx++
  10047. stringLen |= (uint64(b) & 0x7F) << shift
  10048. if b < 0x80 {
  10049. break
  10050. }
  10051. }
  10052. intStringLen := int(stringLen)
  10053. if intStringLen < 0 {
  10054. return ErrInvalidLengthGenerated
  10055. }
  10056. postIndex := iNdEx + intStringLen
  10057. if postIndex > l {
  10058. return io.ErrUnexpectedEOF
  10059. }
  10060. m.LabelSelector = string(data[iNdEx:postIndex])
  10061. iNdEx = postIndex
  10062. case 2:
  10063. if wireType != 2 {
  10064. return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType)
  10065. }
  10066. var stringLen uint64
  10067. for shift := uint(0); ; shift += 7 {
  10068. if shift >= 64 {
  10069. return ErrIntOverflowGenerated
  10070. }
  10071. if iNdEx >= l {
  10072. return io.ErrUnexpectedEOF
  10073. }
  10074. b := data[iNdEx]
  10075. iNdEx++
  10076. stringLen |= (uint64(b) & 0x7F) << shift
  10077. if b < 0x80 {
  10078. break
  10079. }
  10080. }
  10081. intStringLen := int(stringLen)
  10082. if intStringLen < 0 {
  10083. return ErrInvalidLengthGenerated
  10084. }
  10085. postIndex := iNdEx + intStringLen
  10086. if postIndex > l {
  10087. return io.ErrUnexpectedEOF
  10088. }
  10089. m.FieldSelector = string(data[iNdEx:postIndex])
  10090. iNdEx = postIndex
  10091. case 3:
  10092. if wireType != 0 {
  10093. return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType)
  10094. }
  10095. var v int
  10096. for shift := uint(0); ; shift += 7 {
  10097. if shift >= 64 {
  10098. return ErrIntOverflowGenerated
  10099. }
  10100. if iNdEx >= l {
  10101. return io.ErrUnexpectedEOF
  10102. }
  10103. b := data[iNdEx]
  10104. iNdEx++
  10105. v |= (int(b) & 0x7F) << shift
  10106. if b < 0x80 {
  10107. break
  10108. }
  10109. }
  10110. m.Watch = bool(v != 0)
  10111. case 4:
  10112. if wireType != 2 {
  10113. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  10114. }
  10115. var stringLen uint64
  10116. for shift := uint(0); ; shift += 7 {
  10117. if shift >= 64 {
  10118. return ErrIntOverflowGenerated
  10119. }
  10120. if iNdEx >= l {
  10121. return io.ErrUnexpectedEOF
  10122. }
  10123. b := data[iNdEx]
  10124. iNdEx++
  10125. stringLen |= (uint64(b) & 0x7F) << shift
  10126. if b < 0x80 {
  10127. break
  10128. }
  10129. }
  10130. intStringLen := int(stringLen)
  10131. if intStringLen < 0 {
  10132. return ErrInvalidLengthGenerated
  10133. }
  10134. postIndex := iNdEx + intStringLen
  10135. if postIndex > l {
  10136. return io.ErrUnexpectedEOF
  10137. }
  10138. m.ResourceVersion = string(data[iNdEx:postIndex])
  10139. iNdEx = postIndex
  10140. case 5:
  10141. if wireType != 0 {
  10142. return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
  10143. }
  10144. var v int64
  10145. for shift := uint(0); ; shift += 7 {
  10146. if shift >= 64 {
  10147. return ErrIntOverflowGenerated
  10148. }
  10149. if iNdEx >= l {
  10150. return io.ErrUnexpectedEOF
  10151. }
  10152. b := data[iNdEx]
  10153. iNdEx++
  10154. v |= (int64(b) & 0x7F) << shift
  10155. if b < 0x80 {
  10156. break
  10157. }
  10158. }
  10159. m.TimeoutSeconds = &v
  10160. default:
  10161. iNdEx = preIndex
  10162. skippy, err := skipGenerated(data[iNdEx:])
  10163. if err != nil {
  10164. return err
  10165. }
  10166. if skippy < 0 {
  10167. return ErrInvalidLengthGenerated
  10168. }
  10169. if (iNdEx + skippy) > l {
  10170. return io.ErrUnexpectedEOF
  10171. }
  10172. iNdEx += skippy
  10173. }
  10174. }
  10175. if iNdEx > l {
  10176. return io.ErrUnexpectedEOF
  10177. }
  10178. return nil
  10179. }
  10180. func (m *NetworkPolicy) Unmarshal(data []byte) error {
  10181. l := len(data)
  10182. iNdEx := 0
  10183. for iNdEx < l {
  10184. preIndex := iNdEx
  10185. var wire uint64
  10186. for shift := uint(0); ; shift += 7 {
  10187. if shift >= 64 {
  10188. return ErrIntOverflowGenerated
  10189. }
  10190. if iNdEx >= l {
  10191. return io.ErrUnexpectedEOF
  10192. }
  10193. b := data[iNdEx]
  10194. iNdEx++
  10195. wire |= (uint64(b) & 0x7F) << shift
  10196. if b < 0x80 {
  10197. break
  10198. }
  10199. }
  10200. fieldNum := int32(wire >> 3)
  10201. wireType := int(wire & 0x7)
  10202. if wireType == 4 {
  10203. return fmt.Errorf("proto: NetworkPolicy: wiretype end group for non-group")
  10204. }
  10205. if fieldNum <= 0 {
  10206. return fmt.Errorf("proto: NetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
  10207. }
  10208. switch fieldNum {
  10209. case 1:
  10210. if wireType != 2 {
  10211. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  10212. }
  10213. var msglen int
  10214. for shift := uint(0); ; shift += 7 {
  10215. if shift >= 64 {
  10216. return ErrIntOverflowGenerated
  10217. }
  10218. if iNdEx >= l {
  10219. return io.ErrUnexpectedEOF
  10220. }
  10221. b := data[iNdEx]
  10222. iNdEx++
  10223. msglen |= (int(b) & 0x7F) << shift
  10224. if b < 0x80 {
  10225. break
  10226. }
  10227. }
  10228. if msglen < 0 {
  10229. return ErrInvalidLengthGenerated
  10230. }
  10231. postIndex := iNdEx + msglen
  10232. if postIndex > l {
  10233. return io.ErrUnexpectedEOF
  10234. }
  10235. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10236. return err
  10237. }
  10238. iNdEx = postIndex
  10239. case 2:
  10240. if wireType != 2 {
  10241. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  10242. }
  10243. var msglen int
  10244. for shift := uint(0); ; shift += 7 {
  10245. if shift >= 64 {
  10246. return ErrIntOverflowGenerated
  10247. }
  10248. if iNdEx >= l {
  10249. return io.ErrUnexpectedEOF
  10250. }
  10251. b := data[iNdEx]
  10252. iNdEx++
  10253. msglen |= (int(b) & 0x7F) << shift
  10254. if b < 0x80 {
  10255. break
  10256. }
  10257. }
  10258. if msglen < 0 {
  10259. return ErrInvalidLengthGenerated
  10260. }
  10261. postIndex := iNdEx + msglen
  10262. if postIndex > l {
  10263. return io.ErrUnexpectedEOF
  10264. }
  10265. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10266. return err
  10267. }
  10268. iNdEx = postIndex
  10269. default:
  10270. iNdEx = preIndex
  10271. skippy, err := skipGenerated(data[iNdEx:])
  10272. if err != nil {
  10273. return err
  10274. }
  10275. if skippy < 0 {
  10276. return ErrInvalidLengthGenerated
  10277. }
  10278. if (iNdEx + skippy) > l {
  10279. return io.ErrUnexpectedEOF
  10280. }
  10281. iNdEx += skippy
  10282. }
  10283. }
  10284. if iNdEx > l {
  10285. return io.ErrUnexpectedEOF
  10286. }
  10287. return nil
  10288. }
  10289. func (m *NetworkPolicyIngressRule) Unmarshal(data []byte) error {
  10290. l := len(data)
  10291. iNdEx := 0
  10292. for iNdEx < l {
  10293. preIndex := iNdEx
  10294. var wire uint64
  10295. for shift := uint(0); ; shift += 7 {
  10296. if shift >= 64 {
  10297. return ErrIntOverflowGenerated
  10298. }
  10299. if iNdEx >= l {
  10300. return io.ErrUnexpectedEOF
  10301. }
  10302. b := data[iNdEx]
  10303. iNdEx++
  10304. wire |= (uint64(b) & 0x7F) << shift
  10305. if b < 0x80 {
  10306. break
  10307. }
  10308. }
  10309. fieldNum := int32(wire >> 3)
  10310. wireType := int(wire & 0x7)
  10311. if wireType == 4 {
  10312. return fmt.Errorf("proto: NetworkPolicyIngressRule: wiretype end group for non-group")
  10313. }
  10314. if fieldNum <= 0 {
  10315. return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
  10316. }
  10317. switch fieldNum {
  10318. case 1:
  10319. if wireType != 2 {
  10320. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  10321. }
  10322. var msglen int
  10323. for shift := uint(0); ; shift += 7 {
  10324. if shift >= 64 {
  10325. return ErrIntOverflowGenerated
  10326. }
  10327. if iNdEx >= l {
  10328. return io.ErrUnexpectedEOF
  10329. }
  10330. b := data[iNdEx]
  10331. iNdEx++
  10332. msglen |= (int(b) & 0x7F) << shift
  10333. if b < 0x80 {
  10334. break
  10335. }
  10336. }
  10337. if msglen < 0 {
  10338. return ErrInvalidLengthGenerated
  10339. }
  10340. postIndex := iNdEx + msglen
  10341. if postIndex > l {
  10342. return io.ErrUnexpectedEOF
  10343. }
  10344. m.Ports = append(m.Ports, NetworkPolicyPort{})
  10345. if err := m.Ports[len(m.Ports)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  10346. return err
  10347. }
  10348. iNdEx = postIndex
  10349. case 2:
  10350. if wireType != 2 {
  10351. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  10352. }
  10353. var msglen int
  10354. for shift := uint(0); ; shift += 7 {
  10355. if shift >= 64 {
  10356. return ErrIntOverflowGenerated
  10357. }
  10358. if iNdEx >= l {
  10359. return io.ErrUnexpectedEOF
  10360. }
  10361. b := data[iNdEx]
  10362. iNdEx++
  10363. msglen |= (int(b) & 0x7F) << shift
  10364. if b < 0x80 {
  10365. break
  10366. }
  10367. }
  10368. if msglen < 0 {
  10369. return ErrInvalidLengthGenerated
  10370. }
  10371. postIndex := iNdEx + msglen
  10372. if postIndex > l {
  10373. return io.ErrUnexpectedEOF
  10374. }
  10375. m.From = append(m.From, NetworkPolicyPeer{})
  10376. if err := m.From[len(m.From)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  10377. return err
  10378. }
  10379. iNdEx = postIndex
  10380. default:
  10381. iNdEx = preIndex
  10382. skippy, err := skipGenerated(data[iNdEx:])
  10383. if err != nil {
  10384. return err
  10385. }
  10386. if skippy < 0 {
  10387. return ErrInvalidLengthGenerated
  10388. }
  10389. if (iNdEx + skippy) > l {
  10390. return io.ErrUnexpectedEOF
  10391. }
  10392. iNdEx += skippy
  10393. }
  10394. }
  10395. if iNdEx > l {
  10396. return io.ErrUnexpectedEOF
  10397. }
  10398. return nil
  10399. }
  10400. func (m *NetworkPolicyList) Unmarshal(data []byte) error {
  10401. l := len(data)
  10402. iNdEx := 0
  10403. for iNdEx < l {
  10404. preIndex := iNdEx
  10405. var wire uint64
  10406. for shift := uint(0); ; shift += 7 {
  10407. if shift >= 64 {
  10408. return ErrIntOverflowGenerated
  10409. }
  10410. if iNdEx >= l {
  10411. return io.ErrUnexpectedEOF
  10412. }
  10413. b := data[iNdEx]
  10414. iNdEx++
  10415. wire |= (uint64(b) & 0x7F) << shift
  10416. if b < 0x80 {
  10417. break
  10418. }
  10419. }
  10420. fieldNum := int32(wire >> 3)
  10421. wireType := int(wire & 0x7)
  10422. if wireType == 4 {
  10423. return fmt.Errorf("proto: NetworkPolicyList: wiretype end group for non-group")
  10424. }
  10425. if fieldNum <= 0 {
  10426. return fmt.Errorf("proto: NetworkPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
  10427. }
  10428. switch fieldNum {
  10429. case 1:
  10430. if wireType != 2 {
  10431. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  10432. }
  10433. var msglen int
  10434. for shift := uint(0); ; shift += 7 {
  10435. if shift >= 64 {
  10436. return ErrIntOverflowGenerated
  10437. }
  10438. if iNdEx >= l {
  10439. return io.ErrUnexpectedEOF
  10440. }
  10441. b := data[iNdEx]
  10442. iNdEx++
  10443. msglen |= (int(b) & 0x7F) << shift
  10444. if b < 0x80 {
  10445. break
  10446. }
  10447. }
  10448. if msglen < 0 {
  10449. return ErrInvalidLengthGenerated
  10450. }
  10451. postIndex := iNdEx + msglen
  10452. if postIndex > l {
  10453. return io.ErrUnexpectedEOF
  10454. }
  10455. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10456. return err
  10457. }
  10458. iNdEx = postIndex
  10459. case 2:
  10460. if wireType != 2 {
  10461. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  10462. }
  10463. var msglen int
  10464. for shift := uint(0); ; shift += 7 {
  10465. if shift >= 64 {
  10466. return ErrIntOverflowGenerated
  10467. }
  10468. if iNdEx >= l {
  10469. return io.ErrUnexpectedEOF
  10470. }
  10471. b := data[iNdEx]
  10472. iNdEx++
  10473. msglen |= (int(b) & 0x7F) << shift
  10474. if b < 0x80 {
  10475. break
  10476. }
  10477. }
  10478. if msglen < 0 {
  10479. return ErrInvalidLengthGenerated
  10480. }
  10481. postIndex := iNdEx + msglen
  10482. if postIndex > l {
  10483. return io.ErrUnexpectedEOF
  10484. }
  10485. m.Items = append(m.Items, NetworkPolicy{})
  10486. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  10487. return err
  10488. }
  10489. iNdEx = postIndex
  10490. default:
  10491. iNdEx = preIndex
  10492. skippy, err := skipGenerated(data[iNdEx:])
  10493. if err != nil {
  10494. return err
  10495. }
  10496. if skippy < 0 {
  10497. return ErrInvalidLengthGenerated
  10498. }
  10499. if (iNdEx + skippy) > l {
  10500. return io.ErrUnexpectedEOF
  10501. }
  10502. iNdEx += skippy
  10503. }
  10504. }
  10505. if iNdEx > l {
  10506. return io.ErrUnexpectedEOF
  10507. }
  10508. return nil
  10509. }
  10510. func (m *NetworkPolicyPeer) Unmarshal(data []byte) error {
  10511. l := len(data)
  10512. iNdEx := 0
  10513. for iNdEx < l {
  10514. preIndex := iNdEx
  10515. var wire uint64
  10516. for shift := uint(0); ; shift += 7 {
  10517. if shift >= 64 {
  10518. return ErrIntOverflowGenerated
  10519. }
  10520. if iNdEx >= l {
  10521. return io.ErrUnexpectedEOF
  10522. }
  10523. b := data[iNdEx]
  10524. iNdEx++
  10525. wire |= (uint64(b) & 0x7F) << shift
  10526. if b < 0x80 {
  10527. break
  10528. }
  10529. }
  10530. fieldNum := int32(wire >> 3)
  10531. wireType := int(wire & 0x7)
  10532. if wireType == 4 {
  10533. return fmt.Errorf("proto: NetworkPolicyPeer: wiretype end group for non-group")
  10534. }
  10535. if fieldNum <= 0 {
  10536. return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire)
  10537. }
  10538. switch fieldNum {
  10539. case 1:
  10540. if wireType != 2 {
  10541. return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
  10542. }
  10543. var msglen int
  10544. for shift := uint(0); ; shift += 7 {
  10545. if shift >= 64 {
  10546. return ErrIntOverflowGenerated
  10547. }
  10548. if iNdEx >= l {
  10549. return io.ErrUnexpectedEOF
  10550. }
  10551. b := data[iNdEx]
  10552. iNdEx++
  10553. msglen |= (int(b) & 0x7F) << shift
  10554. if b < 0x80 {
  10555. break
  10556. }
  10557. }
  10558. if msglen < 0 {
  10559. return ErrInvalidLengthGenerated
  10560. }
  10561. postIndex := iNdEx + msglen
  10562. if postIndex > l {
  10563. return io.ErrUnexpectedEOF
  10564. }
  10565. if m.PodSelector == nil {
  10566. m.PodSelector = &LabelSelector{}
  10567. }
  10568. if err := m.PodSelector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10569. return err
  10570. }
  10571. iNdEx = postIndex
  10572. case 2:
  10573. if wireType != 2 {
  10574. return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType)
  10575. }
  10576. var msglen int
  10577. for shift := uint(0); ; shift += 7 {
  10578. if shift >= 64 {
  10579. return ErrIntOverflowGenerated
  10580. }
  10581. if iNdEx >= l {
  10582. return io.ErrUnexpectedEOF
  10583. }
  10584. b := data[iNdEx]
  10585. iNdEx++
  10586. msglen |= (int(b) & 0x7F) << shift
  10587. if b < 0x80 {
  10588. break
  10589. }
  10590. }
  10591. if msglen < 0 {
  10592. return ErrInvalidLengthGenerated
  10593. }
  10594. postIndex := iNdEx + msglen
  10595. if postIndex > l {
  10596. return io.ErrUnexpectedEOF
  10597. }
  10598. if m.NamespaceSelector == nil {
  10599. m.NamespaceSelector = &LabelSelector{}
  10600. }
  10601. if err := m.NamespaceSelector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10602. return err
  10603. }
  10604. iNdEx = postIndex
  10605. default:
  10606. iNdEx = preIndex
  10607. skippy, err := skipGenerated(data[iNdEx:])
  10608. if err != nil {
  10609. return err
  10610. }
  10611. if skippy < 0 {
  10612. return ErrInvalidLengthGenerated
  10613. }
  10614. if (iNdEx + skippy) > l {
  10615. return io.ErrUnexpectedEOF
  10616. }
  10617. iNdEx += skippy
  10618. }
  10619. }
  10620. if iNdEx > l {
  10621. return io.ErrUnexpectedEOF
  10622. }
  10623. return nil
  10624. }
  10625. func (m *NetworkPolicyPort) Unmarshal(data []byte) error {
  10626. l := len(data)
  10627. iNdEx := 0
  10628. for iNdEx < l {
  10629. preIndex := iNdEx
  10630. var wire uint64
  10631. for shift := uint(0); ; shift += 7 {
  10632. if shift >= 64 {
  10633. return ErrIntOverflowGenerated
  10634. }
  10635. if iNdEx >= l {
  10636. return io.ErrUnexpectedEOF
  10637. }
  10638. b := data[iNdEx]
  10639. iNdEx++
  10640. wire |= (uint64(b) & 0x7F) << shift
  10641. if b < 0x80 {
  10642. break
  10643. }
  10644. }
  10645. fieldNum := int32(wire >> 3)
  10646. wireType := int(wire & 0x7)
  10647. if wireType == 4 {
  10648. return fmt.Errorf("proto: NetworkPolicyPort: wiretype end group for non-group")
  10649. }
  10650. if fieldNum <= 0 {
  10651. return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire)
  10652. }
  10653. switch fieldNum {
  10654. case 1:
  10655. if wireType != 2 {
  10656. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  10657. }
  10658. var stringLen uint64
  10659. for shift := uint(0); ; shift += 7 {
  10660. if shift >= 64 {
  10661. return ErrIntOverflowGenerated
  10662. }
  10663. if iNdEx >= l {
  10664. return io.ErrUnexpectedEOF
  10665. }
  10666. b := data[iNdEx]
  10667. iNdEx++
  10668. stringLen |= (uint64(b) & 0x7F) << shift
  10669. if b < 0x80 {
  10670. break
  10671. }
  10672. }
  10673. intStringLen := int(stringLen)
  10674. if intStringLen < 0 {
  10675. return ErrInvalidLengthGenerated
  10676. }
  10677. postIndex := iNdEx + intStringLen
  10678. if postIndex > l {
  10679. return io.ErrUnexpectedEOF
  10680. }
  10681. s := k8s_io_kubernetes_pkg_api_v1.Protocol(data[iNdEx:postIndex])
  10682. m.Protocol = &s
  10683. iNdEx = postIndex
  10684. case 2:
  10685. if wireType != 2 {
  10686. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  10687. }
  10688. var msglen int
  10689. for shift := uint(0); ; shift += 7 {
  10690. if shift >= 64 {
  10691. return ErrIntOverflowGenerated
  10692. }
  10693. if iNdEx >= l {
  10694. return io.ErrUnexpectedEOF
  10695. }
  10696. b := data[iNdEx]
  10697. iNdEx++
  10698. msglen |= (int(b) & 0x7F) << shift
  10699. if b < 0x80 {
  10700. break
  10701. }
  10702. }
  10703. if msglen < 0 {
  10704. return ErrInvalidLengthGenerated
  10705. }
  10706. postIndex := iNdEx + msglen
  10707. if postIndex > l {
  10708. return io.ErrUnexpectedEOF
  10709. }
  10710. if m.Port == nil {
  10711. m.Port = &k8s_io_kubernetes_pkg_util_intstr.IntOrString{}
  10712. }
  10713. if err := m.Port.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10714. return err
  10715. }
  10716. iNdEx = postIndex
  10717. default:
  10718. iNdEx = preIndex
  10719. skippy, err := skipGenerated(data[iNdEx:])
  10720. if err != nil {
  10721. return err
  10722. }
  10723. if skippy < 0 {
  10724. return ErrInvalidLengthGenerated
  10725. }
  10726. if (iNdEx + skippy) > l {
  10727. return io.ErrUnexpectedEOF
  10728. }
  10729. iNdEx += skippy
  10730. }
  10731. }
  10732. if iNdEx > l {
  10733. return io.ErrUnexpectedEOF
  10734. }
  10735. return nil
  10736. }
  10737. func (m *NetworkPolicySpec) Unmarshal(data []byte) error {
  10738. l := len(data)
  10739. iNdEx := 0
  10740. for iNdEx < l {
  10741. preIndex := iNdEx
  10742. var wire uint64
  10743. for shift := uint(0); ; shift += 7 {
  10744. if shift >= 64 {
  10745. return ErrIntOverflowGenerated
  10746. }
  10747. if iNdEx >= l {
  10748. return io.ErrUnexpectedEOF
  10749. }
  10750. b := data[iNdEx]
  10751. iNdEx++
  10752. wire |= (uint64(b) & 0x7F) << shift
  10753. if b < 0x80 {
  10754. break
  10755. }
  10756. }
  10757. fieldNum := int32(wire >> 3)
  10758. wireType := int(wire & 0x7)
  10759. if wireType == 4 {
  10760. return fmt.Errorf("proto: NetworkPolicySpec: wiretype end group for non-group")
  10761. }
  10762. if fieldNum <= 0 {
  10763. return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
  10764. }
  10765. switch fieldNum {
  10766. case 1:
  10767. if wireType != 2 {
  10768. return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
  10769. }
  10770. var msglen int
  10771. for shift := uint(0); ; shift += 7 {
  10772. if shift >= 64 {
  10773. return ErrIntOverflowGenerated
  10774. }
  10775. if iNdEx >= l {
  10776. return io.ErrUnexpectedEOF
  10777. }
  10778. b := data[iNdEx]
  10779. iNdEx++
  10780. msglen |= (int(b) & 0x7F) << shift
  10781. if b < 0x80 {
  10782. break
  10783. }
  10784. }
  10785. if msglen < 0 {
  10786. return ErrInvalidLengthGenerated
  10787. }
  10788. postIndex := iNdEx + msglen
  10789. if postIndex > l {
  10790. return io.ErrUnexpectedEOF
  10791. }
  10792. if err := m.PodSelector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10793. return err
  10794. }
  10795. iNdEx = postIndex
  10796. case 2:
  10797. if wireType != 2 {
  10798. return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
  10799. }
  10800. var msglen int
  10801. for shift := uint(0); ; shift += 7 {
  10802. if shift >= 64 {
  10803. return ErrIntOverflowGenerated
  10804. }
  10805. if iNdEx >= l {
  10806. return io.ErrUnexpectedEOF
  10807. }
  10808. b := data[iNdEx]
  10809. iNdEx++
  10810. msglen |= (int(b) & 0x7F) << shift
  10811. if b < 0x80 {
  10812. break
  10813. }
  10814. }
  10815. if msglen < 0 {
  10816. return ErrInvalidLengthGenerated
  10817. }
  10818. postIndex := iNdEx + msglen
  10819. if postIndex > l {
  10820. return io.ErrUnexpectedEOF
  10821. }
  10822. m.Ingress = append(m.Ingress, NetworkPolicyIngressRule{})
  10823. if err := m.Ingress[len(m.Ingress)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  10824. return err
  10825. }
  10826. iNdEx = postIndex
  10827. default:
  10828. iNdEx = preIndex
  10829. skippy, err := skipGenerated(data[iNdEx:])
  10830. if err != nil {
  10831. return err
  10832. }
  10833. if skippy < 0 {
  10834. return ErrInvalidLengthGenerated
  10835. }
  10836. if (iNdEx + skippy) > l {
  10837. return io.ErrUnexpectedEOF
  10838. }
  10839. iNdEx += skippy
  10840. }
  10841. }
  10842. if iNdEx > l {
  10843. return io.ErrUnexpectedEOF
  10844. }
  10845. return nil
  10846. }
  10847. func (m *PodSecurityPolicy) Unmarshal(data []byte) error {
  10848. l := len(data)
  10849. iNdEx := 0
  10850. for iNdEx < l {
  10851. preIndex := iNdEx
  10852. var wire uint64
  10853. for shift := uint(0); ; shift += 7 {
  10854. if shift >= 64 {
  10855. return ErrIntOverflowGenerated
  10856. }
  10857. if iNdEx >= l {
  10858. return io.ErrUnexpectedEOF
  10859. }
  10860. b := data[iNdEx]
  10861. iNdEx++
  10862. wire |= (uint64(b) & 0x7F) << shift
  10863. if b < 0x80 {
  10864. break
  10865. }
  10866. }
  10867. fieldNum := int32(wire >> 3)
  10868. wireType := int(wire & 0x7)
  10869. if wireType == 4 {
  10870. return fmt.Errorf("proto: PodSecurityPolicy: wiretype end group for non-group")
  10871. }
  10872. if fieldNum <= 0 {
  10873. return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
  10874. }
  10875. switch fieldNum {
  10876. case 1:
  10877. if wireType != 2 {
  10878. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  10879. }
  10880. var msglen int
  10881. for shift := uint(0); ; shift += 7 {
  10882. if shift >= 64 {
  10883. return ErrIntOverflowGenerated
  10884. }
  10885. if iNdEx >= l {
  10886. return io.ErrUnexpectedEOF
  10887. }
  10888. b := data[iNdEx]
  10889. iNdEx++
  10890. msglen |= (int(b) & 0x7F) << shift
  10891. if b < 0x80 {
  10892. break
  10893. }
  10894. }
  10895. if msglen < 0 {
  10896. return ErrInvalidLengthGenerated
  10897. }
  10898. postIndex := iNdEx + msglen
  10899. if postIndex > l {
  10900. return io.ErrUnexpectedEOF
  10901. }
  10902. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10903. return err
  10904. }
  10905. iNdEx = postIndex
  10906. case 2:
  10907. if wireType != 2 {
  10908. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  10909. }
  10910. var msglen int
  10911. for shift := uint(0); ; shift += 7 {
  10912. if shift >= 64 {
  10913. return ErrIntOverflowGenerated
  10914. }
  10915. if iNdEx >= l {
  10916. return io.ErrUnexpectedEOF
  10917. }
  10918. b := data[iNdEx]
  10919. iNdEx++
  10920. msglen |= (int(b) & 0x7F) << shift
  10921. if b < 0x80 {
  10922. break
  10923. }
  10924. }
  10925. if msglen < 0 {
  10926. return ErrInvalidLengthGenerated
  10927. }
  10928. postIndex := iNdEx + msglen
  10929. if postIndex > l {
  10930. return io.ErrUnexpectedEOF
  10931. }
  10932. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  10933. return err
  10934. }
  10935. iNdEx = postIndex
  10936. default:
  10937. iNdEx = preIndex
  10938. skippy, err := skipGenerated(data[iNdEx:])
  10939. if err != nil {
  10940. return err
  10941. }
  10942. if skippy < 0 {
  10943. return ErrInvalidLengthGenerated
  10944. }
  10945. if (iNdEx + skippy) > l {
  10946. return io.ErrUnexpectedEOF
  10947. }
  10948. iNdEx += skippy
  10949. }
  10950. }
  10951. if iNdEx > l {
  10952. return io.ErrUnexpectedEOF
  10953. }
  10954. return nil
  10955. }
  10956. func (m *PodSecurityPolicyList) Unmarshal(data []byte) error {
  10957. l := len(data)
  10958. iNdEx := 0
  10959. for iNdEx < l {
  10960. preIndex := iNdEx
  10961. var wire uint64
  10962. for shift := uint(0); ; shift += 7 {
  10963. if shift >= 64 {
  10964. return ErrIntOverflowGenerated
  10965. }
  10966. if iNdEx >= l {
  10967. return io.ErrUnexpectedEOF
  10968. }
  10969. b := data[iNdEx]
  10970. iNdEx++
  10971. wire |= (uint64(b) & 0x7F) << shift
  10972. if b < 0x80 {
  10973. break
  10974. }
  10975. }
  10976. fieldNum := int32(wire >> 3)
  10977. wireType := int(wire & 0x7)
  10978. if wireType == 4 {
  10979. return fmt.Errorf("proto: PodSecurityPolicyList: wiretype end group for non-group")
  10980. }
  10981. if fieldNum <= 0 {
  10982. return fmt.Errorf("proto: PodSecurityPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
  10983. }
  10984. switch fieldNum {
  10985. case 1:
  10986. if wireType != 2 {
  10987. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  10988. }
  10989. var msglen int
  10990. for shift := uint(0); ; shift += 7 {
  10991. if shift >= 64 {
  10992. return ErrIntOverflowGenerated
  10993. }
  10994. if iNdEx >= l {
  10995. return io.ErrUnexpectedEOF
  10996. }
  10997. b := data[iNdEx]
  10998. iNdEx++
  10999. msglen |= (int(b) & 0x7F) << shift
  11000. if b < 0x80 {
  11001. break
  11002. }
  11003. }
  11004. if msglen < 0 {
  11005. return ErrInvalidLengthGenerated
  11006. }
  11007. postIndex := iNdEx + msglen
  11008. if postIndex > l {
  11009. return io.ErrUnexpectedEOF
  11010. }
  11011. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11012. return err
  11013. }
  11014. iNdEx = postIndex
  11015. case 2:
  11016. if wireType != 2 {
  11017. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  11018. }
  11019. var msglen int
  11020. for shift := uint(0); ; shift += 7 {
  11021. if shift >= 64 {
  11022. return ErrIntOverflowGenerated
  11023. }
  11024. if iNdEx >= l {
  11025. return io.ErrUnexpectedEOF
  11026. }
  11027. b := data[iNdEx]
  11028. iNdEx++
  11029. msglen |= (int(b) & 0x7F) << shift
  11030. if b < 0x80 {
  11031. break
  11032. }
  11033. }
  11034. if msglen < 0 {
  11035. return ErrInvalidLengthGenerated
  11036. }
  11037. postIndex := iNdEx + msglen
  11038. if postIndex > l {
  11039. return io.ErrUnexpectedEOF
  11040. }
  11041. m.Items = append(m.Items, PodSecurityPolicy{})
  11042. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  11043. return err
  11044. }
  11045. iNdEx = postIndex
  11046. default:
  11047. iNdEx = preIndex
  11048. skippy, err := skipGenerated(data[iNdEx:])
  11049. if err != nil {
  11050. return err
  11051. }
  11052. if skippy < 0 {
  11053. return ErrInvalidLengthGenerated
  11054. }
  11055. if (iNdEx + skippy) > l {
  11056. return io.ErrUnexpectedEOF
  11057. }
  11058. iNdEx += skippy
  11059. }
  11060. }
  11061. if iNdEx > l {
  11062. return io.ErrUnexpectedEOF
  11063. }
  11064. return nil
  11065. }
  11066. func (m *PodSecurityPolicySpec) Unmarshal(data []byte) error {
  11067. l := len(data)
  11068. iNdEx := 0
  11069. for iNdEx < l {
  11070. preIndex := iNdEx
  11071. var wire uint64
  11072. for shift := uint(0); ; shift += 7 {
  11073. if shift >= 64 {
  11074. return ErrIntOverflowGenerated
  11075. }
  11076. if iNdEx >= l {
  11077. return io.ErrUnexpectedEOF
  11078. }
  11079. b := data[iNdEx]
  11080. iNdEx++
  11081. wire |= (uint64(b) & 0x7F) << shift
  11082. if b < 0x80 {
  11083. break
  11084. }
  11085. }
  11086. fieldNum := int32(wire >> 3)
  11087. wireType := int(wire & 0x7)
  11088. if wireType == 4 {
  11089. return fmt.Errorf("proto: PodSecurityPolicySpec: wiretype end group for non-group")
  11090. }
  11091. if fieldNum <= 0 {
  11092. return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
  11093. }
  11094. switch fieldNum {
  11095. case 1:
  11096. if wireType != 0 {
  11097. return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
  11098. }
  11099. var v int
  11100. for shift := uint(0); ; shift += 7 {
  11101. if shift >= 64 {
  11102. return ErrIntOverflowGenerated
  11103. }
  11104. if iNdEx >= l {
  11105. return io.ErrUnexpectedEOF
  11106. }
  11107. b := data[iNdEx]
  11108. iNdEx++
  11109. v |= (int(b) & 0x7F) << shift
  11110. if b < 0x80 {
  11111. break
  11112. }
  11113. }
  11114. m.Privileged = bool(v != 0)
  11115. case 2:
  11116. if wireType != 2 {
  11117. return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType)
  11118. }
  11119. var stringLen uint64
  11120. for shift := uint(0); ; shift += 7 {
  11121. if shift >= 64 {
  11122. return ErrIntOverflowGenerated
  11123. }
  11124. if iNdEx >= l {
  11125. return io.ErrUnexpectedEOF
  11126. }
  11127. b := data[iNdEx]
  11128. iNdEx++
  11129. stringLen |= (uint64(b) & 0x7F) << shift
  11130. if b < 0x80 {
  11131. break
  11132. }
  11133. }
  11134. intStringLen := int(stringLen)
  11135. if intStringLen < 0 {
  11136. return ErrInvalidLengthGenerated
  11137. }
  11138. postIndex := iNdEx + intStringLen
  11139. if postIndex > l {
  11140. return io.ErrUnexpectedEOF
  11141. }
  11142. m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_kubernetes_pkg_api_v1.Capability(data[iNdEx:postIndex]))
  11143. iNdEx = postIndex
  11144. case 3:
  11145. if wireType != 2 {
  11146. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType)
  11147. }
  11148. var stringLen uint64
  11149. for shift := uint(0); ; shift += 7 {
  11150. if shift >= 64 {
  11151. return ErrIntOverflowGenerated
  11152. }
  11153. if iNdEx >= l {
  11154. return io.ErrUnexpectedEOF
  11155. }
  11156. b := data[iNdEx]
  11157. iNdEx++
  11158. stringLen |= (uint64(b) & 0x7F) << shift
  11159. if b < 0x80 {
  11160. break
  11161. }
  11162. }
  11163. intStringLen := int(stringLen)
  11164. if intStringLen < 0 {
  11165. return ErrInvalidLengthGenerated
  11166. }
  11167. postIndex := iNdEx + intStringLen
  11168. if postIndex > l {
  11169. return io.ErrUnexpectedEOF
  11170. }
  11171. m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_kubernetes_pkg_api_v1.Capability(data[iNdEx:postIndex]))
  11172. iNdEx = postIndex
  11173. case 4:
  11174. if wireType != 2 {
  11175. return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType)
  11176. }
  11177. var stringLen uint64
  11178. for shift := uint(0); ; shift += 7 {
  11179. if shift >= 64 {
  11180. return ErrIntOverflowGenerated
  11181. }
  11182. if iNdEx >= l {
  11183. return io.ErrUnexpectedEOF
  11184. }
  11185. b := data[iNdEx]
  11186. iNdEx++
  11187. stringLen |= (uint64(b) & 0x7F) << shift
  11188. if b < 0x80 {
  11189. break
  11190. }
  11191. }
  11192. intStringLen := int(stringLen)
  11193. if intStringLen < 0 {
  11194. return ErrInvalidLengthGenerated
  11195. }
  11196. postIndex := iNdEx + intStringLen
  11197. if postIndex > l {
  11198. return io.ErrUnexpectedEOF
  11199. }
  11200. m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_kubernetes_pkg_api_v1.Capability(data[iNdEx:postIndex]))
  11201. iNdEx = postIndex
  11202. case 5:
  11203. if wireType != 2 {
  11204. return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
  11205. }
  11206. var stringLen uint64
  11207. for shift := uint(0); ; shift += 7 {
  11208. if shift >= 64 {
  11209. return ErrIntOverflowGenerated
  11210. }
  11211. if iNdEx >= l {
  11212. return io.ErrUnexpectedEOF
  11213. }
  11214. b := data[iNdEx]
  11215. iNdEx++
  11216. stringLen |= (uint64(b) & 0x7F) << shift
  11217. if b < 0x80 {
  11218. break
  11219. }
  11220. }
  11221. intStringLen := int(stringLen)
  11222. if intStringLen < 0 {
  11223. return ErrInvalidLengthGenerated
  11224. }
  11225. postIndex := iNdEx + intStringLen
  11226. if postIndex > l {
  11227. return io.ErrUnexpectedEOF
  11228. }
  11229. m.Volumes = append(m.Volumes, FSType(data[iNdEx:postIndex]))
  11230. iNdEx = postIndex
  11231. case 6:
  11232. if wireType != 0 {
  11233. return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  11234. }
  11235. var v int
  11236. for shift := uint(0); ; shift += 7 {
  11237. if shift >= 64 {
  11238. return ErrIntOverflowGenerated
  11239. }
  11240. if iNdEx >= l {
  11241. return io.ErrUnexpectedEOF
  11242. }
  11243. b := data[iNdEx]
  11244. iNdEx++
  11245. v |= (int(b) & 0x7F) << shift
  11246. if b < 0x80 {
  11247. break
  11248. }
  11249. }
  11250. m.HostNetwork = bool(v != 0)
  11251. case 7:
  11252. if wireType != 2 {
  11253. return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType)
  11254. }
  11255. var msglen int
  11256. for shift := uint(0); ; shift += 7 {
  11257. if shift >= 64 {
  11258. return ErrIntOverflowGenerated
  11259. }
  11260. if iNdEx >= l {
  11261. return io.ErrUnexpectedEOF
  11262. }
  11263. b := data[iNdEx]
  11264. iNdEx++
  11265. msglen |= (int(b) & 0x7F) << shift
  11266. if b < 0x80 {
  11267. break
  11268. }
  11269. }
  11270. if msglen < 0 {
  11271. return ErrInvalidLengthGenerated
  11272. }
  11273. postIndex := iNdEx + msglen
  11274. if postIndex > l {
  11275. return io.ErrUnexpectedEOF
  11276. }
  11277. m.HostPorts = append(m.HostPorts, HostPortRange{})
  11278. if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  11279. return err
  11280. }
  11281. iNdEx = postIndex
  11282. case 8:
  11283. if wireType != 0 {
  11284. return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  11285. }
  11286. var v int
  11287. for shift := uint(0); ; shift += 7 {
  11288. if shift >= 64 {
  11289. return ErrIntOverflowGenerated
  11290. }
  11291. if iNdEx >= l {
  11292. return io.ErrUnexpectedEOF
  11293. }
  11294. b := data[iNdEx]
  11295. iNdEx++
  11296. v |= (int(b) & 0x7F) << shift
  11297. if b < 0x80 {
  11298. break
  11299. }
  11300. }
  11301. m.HostPID = bool(v != 0)
  11302. case 9:
  11303. if wireType != 0 {
  11304. return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  11305. }
  11306. var v int
  11307. for shift := uint(0); ; shift += 7 {
  11308. if shift >= 64 {
  11309. return ErrIntOverflowGenerated
  11310. }
  11311. if iNdEx >= l {
  11312. return io.ErrUnexpectedEOF
  11313. }
  11314. b := data[iNdEx]
  11315. iNdEx++
  11316. v |= (int(b) & 0x7F) << shift
  11317. if b < 0x80 {
  11318. break
  11319. }
  11320. }
  11321. m.HostIPC = bool(v != 0)
  11322. case 10:
  11323. if wireType != 2 {
  11324. return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType)
  11325. }
  11326. var msglen int
  11327. for shift := uint(0); ; shift += 7 {
  11328. if shift >= 64 {
  11329. return ErrIntOverflowGenerated
  11330. }
  11331. if iNdEx >= l {
  11332. return io.ErrUnexpectedEOF
  11333. }
  11334. b := data[iNdEx]
  11335. iNdEx++
  11336. msglen |= (int(b) & 0x7F) << shift
  11337. if b < 0x80 {
  11338. break
  11339. }
  11340. }
  11341. if msglen < 0 {
  11342. return ErrInvalidLengthGenerated
  11343. }
  11344. postIndex := iNdEx + msglen
  11345. if postIndex > l {
  11346. return io.ErrUnexpectedEOF
  11347. }
  11348. if err := m.SELinux.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11349. return err
  11350. }
  11351. iNdEx = postIndex
  11352. case 11:
  11353. if wireType != 2 {
  11354. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  11355. }
  11356. var msglen int
  11357. for shift := uint(0); ; shift += 7 {
  11358. if shift >= 64 {
  11359. return ErrIntOverflowGenerated
  11360. }
  11361. if iNdEx >= l {
  11362. return io.ErrUnexpectedEOF
  11363. }
  11364. b := data[iNdEx]
  11365. iNdEx++
  11366. msglen |= (int(b) & 0x7F) << shift
  11367. if b < 0x80 {
  11368. break
  11369. }
  11370. }
  11371. if msglen < 0 {
  11372. return ErrInvalidLengthGenerated
  11373. }
  11374. postIndex := iNdEx + msglen
  11375. if postIndex > l {
  11376. return io.ErrUnexpectedEOF
  11377. }
  11378. if err := m.RunAsUser.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11379. return err
  11380. }
  11381. iNdEx = postIndex
  11382. case 12:
  11383. if wireType != 2 {
  11384. return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
  11385. }
  11386. var msglen int
  11387. for shift := uint(0); ; shift += 7 {
  11388. if shift >= 64 {
  11389. return ErrIntOverflowGenerated
  11390. }
  11391. if iNdEx >= l {
  11392. return io.ErrUnexpectedEOF
  11393. }
  11394. b := data[iNdEx]
  11395. iNdEx++
  11396. msglen |= (int(b) & 0x7F) << shift
  11397. if b < 0x80 {
  11398. break
  11399. }
  11400. }
  11401. if msglen < 0 {
  11402. return ErrInvalidLengthGenerated
  11403. }
  11404. postIndex := iNdEx + msglen
  11405. if postIndex > l {
  11406. return io.ErrUnexpectedEOF
  11407. }
  11408. if err := m.SupplementalGroups.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11409. return err
  11410. }
  11411. iNdEx = postIndex
  11412. case 13:
  11413. if wireType != 2 {
  11414. return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
  11415. }
  11416. var msglen int
  11417. for shift := uint(0); ; shift += 7 {
  11418. if shift >= 64 {
  11419. return ErrIntOverflowGenerated
  11420. }
  11421. if iNdEx >= l {
  11422. return io.ErrUnexpectedEOF
  11423. }
  11424. b := data[iNdEx]
  11425. iNdEx++
  11426. msglen |= (int(b) & 0x7F) << shift
  11427. if b < 0x80 {
  11428. break
  11429. }
  11430. }
  11431. if msglen < 0 {
  11432. return ErrInvalidLengthGenerated
  11433. }
  11434. postIndex := iNdEx + msglen
  11435. if postIndex > l {
  11436. return io.ErrUnexpectedEOF
  11437. }
  11438. if err := m.FSGroup.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11439. return err
  11440. }
  11441. iNdEx = postIndex
  11442. case 14:
  11443. if wireType != 0 {
  11444. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
  11445. }
  11446. var v int
  11447. for shift := uint(0); ; shift += 7 {
  11448. if shift >= 64 {
  11449. return ErrIntOverflowGenerated
  11450. }
  11451. if iNdEx >= l {
  11452. return io.ErrUnexpectedEOF
  11453. }
  11454. b := data[iNdEx]
  11455. iNdEx++
  11456. v |= (int(b) & 0x7F) << shift
  11457. if b < 0x80 {
  11458. break
  11459. }
  11460. }
  11461. m.ReadOnlyRootFilesystem = bool(v != 0)
  11462. default:
  11463. iNdEx = preIndex
  11464. skippy, err := skipGenerated(data[iNdEx:])
  11465. if err != nil {
  11466. return err
  11467. }
  11468. if skippy < 0 {
  11469. return ErrInvalidLengthGenerated
  11470. }
  11471. if (iNdEx + skippy) > l {
  11472. return io.ErrUnexpectedEOF
  11473. }
  11474. iNdEx += skippy
  11475. }
  11476. }
  11477. if iNdEx > l {
  11478. return io.ErrUnexpectedEOF
  11479. }
  11480. return nil
  11481. }
  11482. func (m *ReplicaSet) Unmarshal(data []byte) error {
  11483. l := len(data)
  11484. iNdEx := 0
  11485. for iNdEx < l {
  11486. preIndex := iNdEx
  11487. var wire uint64
  11488. for shift := uint(0); ; shift += 7 {
  11489. if shift >= 64 {
  11490. return ErrIntOverflowGenerated
  11491. }
  11492. if iNdEx >= l {
  11493. return io.ErrUnexpectedEOF
  11494. }
  11495. b := data[iNdEx]
  11496. iNdEx++
  11497. wire |= (uint64(b) & 0x7F) << shift
  11498. if b < 0x80 {
  11499. break
  11500. }
  11501. }
  11502. fieldNum := int32(wire >> 3)
  11503. wireType := int(wire & 0x7)
  11504. if wireType == 4 {
  11505. return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group")
  11506. }
  11507. if fieldNum <= 0 {
  11508. return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire)
  11509. }
  11510. switch fieldNum {
  11511. case 1:
  11512. if wireType != 2 {
  11513. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  11514. }
  11515. var msglen int
  11516. for shift := uint(0); ; shift += 7 {
  11517. if shift >= 64 {
  11518. return ErrIntOverflowGenerated
  11519. }
  11520. if iNdEx >= l {
  11521. return io.ErrUnexpectedEOF
  11522. }
  11523. b := data[iNdEx]
  11524. iNdEx++
  11525. msglen |= (int(b) & 0x7F) << shift
  11526. if b < 0x80 {
  11527. break
  11528. }
  11529. }
  11530. if msglen < 0 {
  11531. return ErrInvalidLengthGenerated
  11532. }
  11533. postIndex := iNdEx + msglen
  11534. if postIndex > l {
  11535. return io.ErrUnexpectedEOF
  11536. }
  11537. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11538. return err
  11539. }
  11540. iNdEx = postIndex
  11541. case 2:
  11542. if wireType != 2 {
  11543. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  11544. }
  11545. var msglen int
  11546. for shift := uint(0); ; shift += 7 {
  11547. if shift >= 64 {
  11548. return ErrIntOverflowGenerated
  11549. }
  11550. if iNdEx >= l {
  11551. return io.ErrUnexpectedEOF
  11552. }
  11553. b := data[iNdEx]
  11554. iNdEx++
  11555. msglen |= (int(b) & 0x7F) << shift
  11556. if b < 0x80 {
  11557. break
  11558. }
  11559. }
  11560. if msglen < 0 {
  11561. return ErrInvalidLengthGenerated
  11562. }
  11563. postIndex := iNdEx + msglen
  11564. if postIndex > l {
  11565. return io.ErrUnexpectedEOF
  11566. }
  11567. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11568. return err
  11569. }
  11570. iNdEx = postIndex
  11571. case 3:
  11572. if wireType != 2 {
  11573. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  11574. }
  11575. var msglen int
  11576. for shift := uint(0); ; shift += 7 {
  11577. if shift >= 64 {
  11578. return ErrIntOverflowGenerated
  11579. }
  11580. if iNdEx >= l {
  11581. return io.ErrUnexpectedEOF
  11582. }
  11583. b := data[iNdEx]
  11584. iNdEx++
  11585. msglen |= (int(b) & 0x7F) << shift
  11586. if b < 0x80 {
  11587. break
  11588. }
  11589. }
  11590. if msglen < 0 {
  11591. return ErrInvalidLengthGenerated
  11592. }
  11593. postIndex := iNdEx + msglen
  11594. if postIndex > l {
  11595. return io.ErrUnexpectedEOF
  11596. }
  11597. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11598. return err
  11599. }
  11600. iNdEx = postIndex
  11601. default:
  11602. iNdEx = preIndex
  11603. skippy, err := skipGenerated(data[iNdEx:])
  11604. if err != nil {
  11605. return err
  11606. }
  11607. if skippy < 0 {
  11608. return ErrInvalidLengthGenerated
  11609. }
  11610. if (iNdEx + skippy) > l {
  11611. return io.ErrUnexpectedEOF
  11612. }
  11613. iNdEx += skippy
  11614. }
  11615. }
  11616. if iNdEx > l {
  11617. return io.ErrUnexpectedEOF
  11618. }
  11619. return nil
  11620. }
  11621. func (m *ReplicaSetList) Unmarshal(data []byte) error {
  11622. l := len(data)
  11623. iNdEx := 0
  11624. for iNdEx < l {
  11625. preIndex := iNdEx
  11626. var wire uint64
  11627. for shift := uint(0); ; shift += 7 {
  11628. if shift >= 64 {
  11629. return ErrIntOverflowGenerated
  11630. }
  11631. if iNdEx >= l {
  11632. return io.ErrUnexpectedEOF
  11633. }
  11634. b := data[iNdEx]
  11635. iNdEx++
  11636. wire |= (uint64(b) & 0x7F) << shift
  11637. if b < 0x80 {
  11638. break
  11639. }
  11640. }
  11641. fieldNum := int32(wire >> 3)
  11642. wireType := int(wire & 0x7)
  11643. if wireType == 4 {
  11644. return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group")
  11645. }
  11646. if fieldNum <= 0 {
  11647. return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  11648. }
  11649. switch fieldNum {
  11650. case 1:
  11651. if wireType != 2 {
  11652. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  11653. }
  11654. var msglen int
  11655. for shift := uint(0); ; shift += 7 {
  11656. if shift >= 64 {
  11657. return ErrIntOverflowGenerated
  11658. }
  11659. if iNdEx >= l {
  11660. return io.ErrUnexpectedEOF
  11661. }
  11662. b := data[iNdEx]
  11663. iNdEx++
  11664. msglen |= (int(b) & 0x7F) << shift
  11665. if b < 0x80 {
  11666. break
  11667. }
  11668. }
  11669. if msglen < 0 {
  11670. return ErrInvalidLengthGenerated
  11671. }
  11672. postIndex := iNdEx + msglen
  11673. if postIndex > l {
  11674. return io.ErrUnexpectedEOF
  11675. }
  11676. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11677. return err
  11678. }
  11679. iNdEx = postIndex
  11680. case 2:
  11681. if wireType != 2 {
  11682. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  11683. }
  11684. var msglen int
  11685. for shift := uint(0); ; shift += 7 {
  11686. if shift >= 64 {
  11687. return ErrIntOverflowGenerated
  11688. }
  11689. if iNdEx >= l {
  11690. return io.ErrUnexpectedEOF
  11691. }
  11692. b := data[iNdEx]
  11693. iNdEx++
  11694. msglen |= (int(b) & 0x7F) << shift
  11695. if b < 0x80 {
  11696. break
  11697. }
  11698. }
  11699. if msglen < 0 {
  11700. return ErrInvalidLengthGenerated
  11701. }
  11702. postIndex := iNdEx + msglen
  11703. if postIndex > l {
  11704. return io.ErrUnexpectedEOF
  11705. }
  11706. m.Items = append(m.Items, ReplicaSet{})
  11707. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  11708. return err
  11709. }
  11710. iNdEx = postIndex
  11711. default:
  11712. iNdEx = preIndex
  11713. skippy, err := skipGenerated(data[iNdEx:])
  11714. if err != nil {
  11715. return err
  11716. }
  11717. if skippy < 0 {
  11718. return ErrInvalidLengthGenerated
  11719. }
  11720. if (iNdEx + skippy) > l {
  11721. return io.ErrUnexpectedEOF
  11722. }
  11723. iNdEx += skippy
  11724. }
  11725. }
  11726. if iNdEx > l {
  11727. return io.ErrUnexpectedEOF
  11728. }
  11729. return nil
  11730. }
  11731. func (m *ReplicaSetSpec) Unmarshal(data []byte) error {
  11732. l := len(data)
  11733. iNdEx := 0
  11734. for iNdEx < l {
  11735. preIndex := iNdEx
  11736. var wire uint64
  11737. for shift := uint(0); ; shift += 7 {
  11738. if shift >= 64 {
  11739. return ErrIntOverflowGenerated
  11740. }
  11741. if iNdEx >= l {
  11742. return io.ErrUnexpectedEOF
  11743. }
  11744. b := data[iNdEx]
  11745. iNdEx++
  11746. wire |= (uint64(b) & 0x7F) << shift
  11747. if b < 0x80 {
  11748. break
  11749. }
  11750. }
  11751. fieldNum := int32(wire >> 3)
  11752. wireType := int(wire & 0x7)
  11753. if wireType == 4 {
  11754. return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group")
  11755. }
  11756. if fieldNum <= 0 {
  11757. return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  11758. }
  11759. switch fieldNum {
  11760. case 1:
  11761. if wireType != 0 {
  11762. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  11763. }
  11764. var v int32
  11765. for shift := uint(0); ; shift += 7 {
  11766. if shift >= 64 {
  11767. return ErrIntOverflowGenerated
  11768. }
  11769. if iNdEx >= l {
  11770. return io.ErrUnexpectedEOF
  11771. }
  11772. b := data[iNdEx]
  11773. iNdEx++
  11774. v |= (int32(b) & 0x7F) << shift
  11775. if b < 0x80 {
  11776. break
  11777. }
  11778. }
  11779. m.Replicas = &v
  11780. case 2:
  11781. if wireType != 2 {
  11782. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  11783. }
  11784. var msglen int
  11785. for shift := uint(0); ; shift += 7 {
  11786. if shift >= 64 {
  11787. return ErrIntOverflowGenerated
  11788. }
  11789. if iNdEx >= l {
  11790. return io.ErrUnexpectedEOF
  11791. }
  11792. b := data[iNdEx]
  11793. iNdEx++
  11794. msglen |= (int(b) & 0x7F) << shift
  11795. if b < 0x80 {
  11796. break
  11797. }
  11798. }
  11799. if msglen < 0 {
  11800. return ErrInvalidLengthGenerated
  11801. }
  11802. postIndex := iNdEx + msglen
  11803. if postIndex > l {
  11804. return io.ErrUnexpectedEOF
  11805. }
  11806. if m.Selector == nil {
  11807. m.Selector = &LabelSelector{}
  11808. }
  11809. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11810. return err
  11811. }
  11812. iNdEx = postIndex
  11813. case 3:
  11814. if wireType != 2 {
  11815. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  11816. }
  11817. var msglen int
  11818. for shift := uint(0); ; shift += 7 {
  11819. if shift >= 64 {
  11820. return ErrIntOverflowGenerated
  11821. }
  11822. if iNdEx >= l {
  11823. return io.ErrUnexpectedEOF
  11824. }
  11825. b := data[iNdEx]
  11826. iNdEx++
  11827. msglen |= (int(b) & 0x7F) << shift
  11828. if b < 0x80 {
  11829. break
  11830. }
  11831. }
  11832. if msglen < 0 {
  11833. return ErrInvalidLengthGenerated
  11834. }
  11835. postIndex := iNdEx + msglen
  11836. if postIndex > l {
  11837. return io.ErrUnexpectedEOF
  11838. }
  11839. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  11840. return err
  11841. }
  11842. iNdEx = postIndex
  11843. default:
  11844. iNdEx = preIndex
  11845. skippy, err := skipGenerated(data[iNdEx:])
  11846. if err != nil {
  11847. return err
  11848. }
  11849. if skippy < 0 {
  11850. return ErrInvalidLengthGenerated
  11851. }
  11852. if (iNdEx + skippy) > l {
  11853. return io.ErrUnexpectedEOF
  11854. }
  11855. iNdEx += skippy
  11856. }
  11857. }
  11858. if iNdEx > l {
  11859. return io.ErrUnexpectedEOF
  11860. }
  11861. return nil
  11862. }
  11863. func (m *ReplicaSetStatus) Unmarshal(data []byte) error {
  11864. l := len(data)
  11865. iNdEx := 0
  11866. for iNdEx < l {
  11867. preIndex := iNdEx
  11868. var wire uint64
  11869. for shift := uint(0); ; shift += 7 {
  11870. if shift >= 64 {
  11871. return ErrIntOverflowGenerated
  11872. }
  11873. if iNdEx >= l {
  11874. return io.ErrUnexpectedEOF
  11875. }
  11876. b := data[iNdEx]
  11877. iNdEx++
  11878. wire |= (uint64(b) & 0x7F) << shift
  11879. if b < 0x80 {
  11880. break
  11881. }
  11882. }
  11883. fieldNum := int32(wire >> 3)
  11884. wireType := int(wire & 0x7)
  11885. if wireType == 4 {
  11886. return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group")
  11887. }
  11888. if fieldNum <= 0 {
  11889. return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  11890. }
  11891. switch fieldNum {
  11892. case 1:
  11893. if wireType != 0 {
  11894. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  11895. }
  11896. m.Replicas = 0
  11897. for shift := uint(0); ; shift += 7 {
  11898. if shift >= 64 {
  11899. return ErrIntOverflowGenerated
  11900. }
  11901. if iNdEx >= l {
  11902. return io.ErrUnexpectedEOF
  11903. }
  11904. b := data[iNdEx]
  11905. iNdEx++
  11906. m.Replicas |= (int32(b) & 0x7F) << shift
  11907. if b < 0x80 {
  11908. break
  11909. }
  11910. }
  11911. case 2:
  11912. if wireType != 0 {
  11913. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  11914. }
  11915. m.FullyLabeledReplicas = 0
  11916. for shift := uint(0); ; shift += 7 {
  11917. if shift >= 64 {
  11918. return ErrIntOverflowGenerated
  11919. }
  11920. if iNdEx >= l {
  11921. return io.ErrUnexpectedEOF
  11922. }
  11923. b := data[iNdEx]
  11924. iNdEx++
  11925. m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
  11926. if b < 0x80 {
  11927. break
  11928. }
  11929. }
  11930. case 3:
  11931. if wireType != 0 {
  11932. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  11933. }
  11934. m.ObservedGeneration = 0
  11935. for shift := uint(0); ; shift += 7 {
  11936. if shift >= 64 {
  11937. return ErrIntOverflowGenerated
  11938. }
  11939. if iNdEx >= l {
  11940. return io.ErrUnexpectedEOF
  11941. }
  11942. b := data[iNdEx]
  11943. iNdEx++
  11944. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  11945. if b < 0x80 {
  11946. break
  11947. }
  11948. }
  11949. case 4:
  11950. if wireType != 0 {
  11951. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  11952. }
  11953. m.ReadyReplicas = 0
  11954. for shift := uint(0); ; shift += 7 {
  11955. if shift >= 64 {
  11956. return ErrIntOverflowGenerated
  11957. }
  11958. if iNdEx >= l {
  11959. return io.ErrUnexpectedEOF
  11960. }
  11961. b := data[iNdEx]
  11962. iNdEx++
  11963. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  11964. if b < 0x80 {
  11965. break
  11966. }
  11967. }
  11968. default:
  11969. iNdEx = preIndex
  11970. skippy, err := skipGenerated(data[iNdEx:])
  11971. if err != nil {
  11972. return err
  11973. }
  11974. if skippy < 0 {
  11975. return ErrInvalidLengthGenerated
  11976. }
  11977. if (iNdEx + skippy) > l {
  11978. return io.ErrUnexpectedEOF
  11979. }
  11980. iNdEx += skippy
  11981. }
  11982. }
  11983. if iNdEx > l {
  11984. return io.ErrUnexpectedEOF
  11985. }
  11986. return nil
  11987. }
  11988. func (m *ReplicationControllerDummy) Unmarshal(data []byte) error {
  11989. l := len(data)
  11990. iNdEx := 0
  11991. for iNdEx < l {
  11992. preIndex := iNdEx
  11993. var wire uint64
  11994. for shift := uint(0); ; shift += 7 {
  11995. if shift >= 64 {
  11996. return ErrIntOverflowGenerated
  11997. }
  11998. if iNdEx >= l {
  11999. return io.ErrUnexpectedEOF
  12000. }
  12001. b := data[iNdEx]
  12002. iNdEx++
  12003. wire |= (uint64(b) & 0x7F) << shift
  12004. if b < 0x80 {
  12005. break
  12006. }
  12007. }
  12008. fieldNum := int32(wire >> 3)
  12009. wireType := int(wire & 0x7)
  12010. if wireType == 4 {
  12011. return fmt.Errorf("proto: ReplicationControllerDummy: wiretype end group for non-group")
  12012. }
  12013. if fieldNum <= 0 {
  12014. return fmt.Errorf("proto: ReplicationControllerDummy: illegal tag %d (wire type %d)", fieldNum, wire)
  12015. }
  12016. switch fieldNum {
  12017. default:
  12018. iNdEx = preIndex
  12019. skippy, err := skipGenerated(data[iNdEx:])
  12020. if err != nil {
  12021. return err
  12022. }
  12023. if skippy < 0 {
  12024. return ErrInvalidLengthGenerated
  12025. }
  12026. if (iNdEx + skippy) > l {
  12027. return io.ErrUnexpectedEOF
  12028. }
  12029. iNdEx += skippy
  12030. }
  12031. }
  12032. if iNdEx > l {
  12033. return io.ErrUnexpectedEOF
  12034. }
  12035. return nil
  12036. }
  12037. func (m *RollbackConfig) Unmarshal(data []byte) error {
  12038. l := len(data)
  12039. iNdEx := 0
  12040. for iNdEx < l {
  12041. preIndex := iNdEx
  12042. var wire uint64
  12043. for shift := uint(0); ; shift += 7 {
  12044. if shift >= 64 {
  12045. return ErrIntOverflowGenerated
  12046. }
  12047. if iNdEx >= l {
  12048. return io.ErrUnexpectedEOF
  12049. }
  12050. b := data[iNdEx]
  12051. iNdEx++
  12052. wire |= (uint64(b) & 0x7F) << shift
  12053. if b < 0x80 {
  12054. break
  12055. }
  12056. }
  12057. fieldNum := int32(wire >> 3)
  12058. wireType := int(wire & 0x7)
  12059. if wireType == 4 {
  12060. return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
  12061. }
  12062. if fieldNum <= 0 {
  12063. return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  12064. }
  12065. switch fieldNum {
  12066. case 1:
  12067. if wireType != 0 {
  12068. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  12069. }
  12070. m.Revision = 0
  12071. for shift := uint(0); ; shift += 7 {
  12072. if shift >= 64 {
  12073. return ErrIntOverflowGenerated
  12074. }
  12075. if iNdEx >= l {
  12076. return io.ErrUnexpectedEOF
  12077. }
  12078. b := data[iNdEx]
  12079. iNdEx++
  12080. m.Revision |= (int64(b) & 0x7F) << shift
  12081. if b < 0x80 {
  12082. break
  12083. }
  12084. }
  12085. default:
  12086. iNdEx = preIndex
  12087. skippy, err := skipGenerated(data[iNdEx:])
  12088. if err != nil {
  12089. return err
  12090. }
  12091. if skippy < 0 {
  12092. return ErrInvalidLengthGenerated
  12093. }
  12094. if (iNdEx + skippy) > l {
  12095. return io.ErrUnexpectedEOF
  12096. }
  12097. iNdEx += skippy
  12098. }
  12099. }
  12100. if iNdEx > l {
  12101. return io.ErrUnexpectedEOF
  12102. }
  12103. return nil
  12104. }
  12105. func (m *RollingUpdateDeployment) Unmarshal(data []byte) error {
  12106. l := len(data)
  12107. iNdEx := 0
  12108. for iNdEx < l {
  12109. preIndex := iNdEx
  12110. var wire uint64
  12111. for shift := uint(0); ; shift += 7 {
  12112. if shift >= 64 {
  12113. return ErrIntOverflowGenerated
  12114. }
  12115. if iNdEx >= l {
  12116. return io.ErrUnexpectedEOF
  12117. }
  12118. b := data[iNdEx]
  12119. iNdEx++
  12120. wire |= (uint64(b) & 0x7F) << shift
  12121. if b < 0x80 {
  12122. break
  12123. }
  12124. }
  12125. fieldNum := int32(wire >> 3)
  12126. wireType := int(wire & 0x7)
  12127. if wireType == 4 {
  12128. return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
  12129. }
  12130. if fieldNum <= 0 {
  12131. return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
  12132. }
  12133. switch fieldNum {
  12134. case 1:
  12135. if wireType != 2 {
  12136. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  12137. }
  12138. var msglen int
  12139. for shift := uint(0); ; shift += 7 {
  12140. if shift >= 64 {
  12141. return ErrIntOverflowGenerated
  12142. }
  12143. if iNdEx >= l {
  12144. return io.ErrUnexpectedEOF
  12145. }
  12146. b := data[iNdEx]
  12147. iNdEx++
  12148. msglen |= (int(b) & 0x7F) << shift
  12149. if b < 0x80 {
  12150. break
  12151. }
  12152. }
  12153. if msglen < 0 {
  12154. return ErrInvalidLengthGenerated
  12155. }
  12156. postIndex := iNdEx + msglen
  12157. if postIndex > l {
  12158. return io.ErrUnexpectedEOF
  12159. }
  12160. if m.MaxUnavailable == nil {
  12161. m.MaxUnavailable = &k8s_io_kubernetes_pkg_util_intstr.IntOrString{}
  12162. }
  12163. if err := m.MaxUnavailable.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12164. return err
  12165. }
  12166. iNdEx = postIndex
  12167. case 2:
  12168. if wireType != 2 {
  12169. return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
  12170. }
  12171. var msglen int
  12172. for shift := uint(0); ; shift += 7 {
  12173. if shift >= 64 {
  12174. return ErrIntOverflowGenerated
  12175. }
  12176. if iNdEx >= l {
  12177. return io.ErrUnexpectedEOF
  12178. }
  12179. b := data[iNdEx]
  12180. iNdEx++
  12181. msglen |= (int(b) & 0x7F) << shift
  12182. if b < 0x80 {
  12183. break
  12184. }
  12185. }
  12186. if msglen < 0 {
  12187. return ErrInvalidLengthGenerated
  12188. }
  12189. postIndex := iNdEx + msglen
  12190. if postIndex > l {
  12191. return io.ErrUnexpectedEOF
  12192. }
  12193. if m.MaxSurge == nil {
  12194. m.MaxSurge = &k8s_io_kubernetes_pkg_util_intstr.IntOrString{}
  12195. }
  12196. if err := m.MaxSurge.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12197. return err
  12198. }
  12199. iNdEx = postIndex
  12200. default:
  12201. iNdEx = preIndex
  12202. skippy, err := skipGenerated(data[iNdEx:])
  12203. if err != nil {
  12204. return err
  12205. }
  12206. if skippy < 0 {
  12207. return ErrInvalidLengthGenerated
  12208. }
  12209. if (iNdEx + skippy) > l {
  12210. return io.ErrUnexpectedEOF
  12211. }
  12212. iNdEx += skippy
  12213. }
  12214. }
  12215. if iNdEx > l {
  12216. return io.ErrUnexpectedEOF
  12217. }
  12218. return nil
  12219. }
  12220. func (m *RunAsUserStrategyOptions) Unmarshal(data []byte) error {
  12221. l := len(data)
  12222. iNdEx := 0
  12223. for iNdEx < l {
  12224. preIndex := iNdEx
  12225. var wire uint64
  12226. for shift := uint(0); ; shift += 7 {
  12227. if shift >= 64 {
  12228. return ErrIntOverflowGenerated
  12229. }
  12230. if iNdEx >= l {
  12231. return io.ErrUnexpectedEOF
  12232. }
  12233. b := data[iNdEx]
  12234. iNdEx++
  12235. wire |= (uint64(b) & 0x7F) << shift
  12236. if b < 0x80 {
  12237. break
  12238. }
  12239. }
  12240. fieldNum := int32(wire >> 3)
  12241. wireType := int(wire & 0x7)
  12242. if wireType == 4 {
  12243. return fmt.Errorf("proto: RunAsUserStrategyOptions: wiretype end group for non-group")
  12244. }
  12245. if fieldNum <= 0 {
  12246. return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  12247. }
  12248. switch fieldNum {
  12249. case 1:
  12250. if wireType != 2 {
  12251. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  12252. }
  12253. var stringLen uint64
  12254. for shift := uint(0); ; shift += 7 {
  12255. if shift >= 64 {
  12256. return ErrIntOverflowGenerated
  12257. }
  12258. if iNdEx >= l {
  12259. return io.ErrUnexpectedEOF
  12260. }
  12261. b := data[iNdEx]
  12262. iNdEx++
  12263. stringLen |= (uint64(b) & 0x7F) << shift
  12264. if b < 0x80 {
  12265. break
  12266. }
  12267. }
  12268. intStringLen := int(stringLen)
  12269. if intStringLen < 0 {
  12270. return ErrInvalidLengthGenerated
  12271. }
  12272. postIndex := iNdEx + intStringLen
  12273. if postIndex > l {
  12274. return io.ErrUnexpectedEOF
  12275. }
  12276. m.Rule = RunAsUserStrategy(data[iNdEx:postIndex])
  12277. iNdEx = postIndex
  12278. case 2:
  12279. if wireType != 2 {
  12280. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  12281. }
  12282. var msglen int
  12283. for shift := uint(0); ; shift += 7 {
  12284. if shift >= 64 {
  12285. return ErrIntOverflowGenerated
  12286. }
  12287. if iNdEx >= l {
  12288. return io.ErrUnexpectedEOF
  12289. }
  12290. b := data[iNdEx]
  12291. iNdEx++
  12292. msglen |= (int(b) & 0x7F) << shift
  12293. if b < 0x80 {
  12294. break
  12295. }
  12296. }
  12297. if msglen < 0 {
  12298. return ErrInvalidLengthGenerated
  12299. }
  12300. postIndex := iNdEx + msglen
  12301. if postIndex > l {
  12302. return io.ErrUnexpectedEOF
  12303. }
  12304. m.Ranges = append(m.Ranges, IDRange{})
  12305. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  12306. return err
  12307. }
  12308. iNdEx = postIndex
  12309. default:
  12310. iNdEx = preIndex
  12311. skippy, err := skipGenerated(data[iNdEx:])
  12312. if err != nil {
  12313. return err
  12314. }
  12315. if skippy < 0 {
  12316. return ErrInvalidLengthGenerated
  12317. }
  12318. if (iNdEx + skippy) > l {
  12319. return io.ErrUnexpectedEOF
  12320. }
  12321. iNdEx += skippy
  12322. }
  12323. }
  12324. if iNdEx > l {
  12325. return io.ErrUnexpectedEOF
  12326. }
  12327. return nil
  12328. }
  12329. func (m *SELinuxStrategyOptions) Unmarshal(data []byte) error {
  12330. l := len(data)
  12331. iNdEx := 0
  12332. for iNdEx < l {
  12333. preIndex := iNdEx
  12334. var wire uint64
  12335. for shift := uint(0); ; shift += 7 {
  12336. if shift >= 64 {
  12337. return ErrIntOverflowGenerated
  12338. }
  12339. if iNdEx >= l {
  12340. return io.ErrUnexpectedEOF
  12341. }
  12342. b := data[iNdEx]
  12343. iNdEx++
  12344. wire |= (uint64(b) & 0x7F) << shift
  12345. if b < 0x80 {
  12346. break
  12347. }
  12348. }
  12349. fieldNum := int32(wire >> 3)
  12350. wireType := int(wire & 0x7)
  12351. if wireType == 4 {
  12352. return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group")
  12353. }
  12354. if fieldNum <= 0 {
  12355. return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  12356. }
  12357. switch fieldNum {
  12358. case 1:
  12359. if wireType != 2 {
  12360. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  12361. }
  12362. var stringLen uint64
  12363. for shift := uint(0); ; shift += 7 {
  12364. if shift >= 64 {
  12365. return ErrIntOverflowGenerated
  12366. }
  12367. if iNdEx >= l {
  12368. return io.ErrUnexpectedEOF
  12369. }
  12370. b := data[iNdEx]
  12371. iNdEx++
  12372. stringLen |= (uint64(b) & 0x7F) << shift
  12373. if b < 0x80 {
  12374. break
  12375. }
  12376. }
  12377. intStringLen := int(stringLen)
  12378. if intStringLen < 0 {
  12379. return ErrInvalidLengthGenerated
  12380. }
  12381. postIndex := iNdEx + intStringLen
  12382. if postIndex > l {
  12383. return io.ErrUnexpectedEOF
  12384. }
  12385. m.Rule = SELinuxStrategy(data[iNdEx:postIndex])
  12386. iNdEx = postIndex
  12387. case 2:
  12388. if wireType != 2 {
  12389. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  12390. }
  12391. var msglen int
  12392. for shift := uint(0); ; shift += 7 {
  12393. if shift >= 64 {
  12394. return ErrIntOverflowGenerated
  12395. }
  12396. if iNdEx >= l {
  12397. return io.ErrUnexpectedEOF
  12398. }
  12399. b := data[iNdEx]
  12400. iNdEx++
  12401. msglen |= (int(b) & 0x7F) << shift
  12402. if b < 0x80 {
  12403. break
  12404. }
  12405. }
  12406. if msglen < 0 {
  12407. return ErrInvalidLengthGenerated
  12408. }
  12409. postIndex := iNdEx + msglen
  12410. if postIndex > l {
  12411. return io.ErrUnexpectedEOF
  12412. }
  12413. if m.SELinuxOptions == nil {
  12414. m.SELinuxOptions = &k8s_io_kubernetes_pkg_api_v1.SELinuxOptions{}
  12415. }
  12416. if err := m.SELinuxOptions.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12417. return err
  12418. }
  12419. iNdEx = postIndex
  12420. default:
  12421. iNdEx = preIndex
  12422. skippy, err := skipGenerated(data[iNdEx:])
  12423. if err != nil {
  12424. return err
  12425. }
  12426. if skippy < 0 {
  12427. return ErrInvalidLengthGenerated
  12428. }
  12429. if (iNdEx + skippy) > l {
  12430. return io.ErrUnexpectedEOF
  12431. }
  12432. iNdEx += skippy
  12433. }
  12434. }
  12435. if iNdEx > l {
  12436. return io.ErrUnexpectedEOF
  12437. }
  12438. return nil
  12439. }
  12440. func (m *Scale) Unmarshal(data []byte) error {
  12441. l := len(data)
  12442. iNdEx := 0
  12443. for iNdEx < l {
  12444. preIndex := iNdEx
  12445. var wire uint64
  12446. for shift := uint(0); ; shift += 7 {
  12447. if shift >= 64 {
  12448. return ErrIntOverflowGenerated
  12449. }
  12450. if iNdEx >= l {
  12451. return io.ErrUnexpectedEOF
  12452. }
  12453. b := data[iNdEx]
  12454. iNdEx++
  12455. wire |= (uint64(b) & 0x7F) << shift
  12456. if b < 0x80 {
  12457. break
  12458. }
  12459. }
  12460. fieldNum := int32(wire >> 3)
  12461. wireType := int(wire & 0x7)
  12462. if wireType == 4 {
  12463. return fmt.Errorf("proto: Scale: wiretype end group for non-group")
  12464. }
  12465. if fieldNum <= 0 {
  12466. return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
  12467. }
  12468. switch fieldNum {
  12469. case 1:
  12470. if wireType != 2 {
  12471. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  12472. }
  12473. var msglen int
  12474. for shift := uint(0); ; shift += 7 {
  12475. if shift >= 64 {
  12476. return ErrIntOverflowGenerated
  12477. }
  12478. if iNdEx >= l {
  12479. return io.ErrUnexpectedEOF
  12480. }
  12481. b := data[iNdEx]
  12482. iNdEx++
  12483. msglen |= (int(b) & 0x7F) << shift
  12484. if b < 0x80 {
  12485. break
  12486. }
  12487. }
  12488. if msglen < 0 {
  12489. return ErrInvalidLengthGenerated
  12490. }
  12491. postIndex := iNdEx + msglen
  12492. if postIndex > l {
  12493. return io.ErrUnexpectedEOF
  12494. }
  12495. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12496. return err
  12497. }
  12498. iNdEx = postIndex
  12499. case 2:
  12500. if wireType != 2 {
  12501. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  12502. }
  12503. var msglen int
  12504. for shift := uint(0); ; shift += 7 {
  12505. if shift >= 64 {
  12506. return ErrIntOverflowGenerated
  12507. }
  12508. if iNdEx >= l {
  12509. return io.ErrUnexpectedEOF
  12510. }
  12511. b := data[iNdEx]
  12512. iNdEx++
  12513. msglen |= (int(b) & 0x7F) << shift
  12514. if b < 0x80 {
  12515. break
  12516. }
  12517. }
  12518. if msglen < 0 {
  12519. return ErrInvalidLengthGenerated
  12520. }
  12521. postIndex := iNdEx + msglen
  12522. if postIndex > l {
  12523. return io.ErrUnexpectedEOF
  12524. }
  12525. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12526. return err
  12527. }
  12528. iNdEx = postIndex
  12529. case 3:
  12530. if wireType != 2 {
  12531. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  12532. }
  12533. var msglen int
  12534. for shift := uint(0); ; shift += 7 {
  12535. if shift >= 64 {
  12536. return ErrIntOverflowGenerated
  12537. }
  12538. if iNdEx >= l {
  12539. return io.ErrUnexpectedEOF
  12540. }
  12541. b := data[iNdEx]
  12542. iNdEx++
  12543. msglen |= (int(b) & 0x7F) << shift
  12544. if b < 0x80 {
  12545. break
  12546. }
  12547. }
  12548. if msglen < 0 {
  12549. return ErrInvalidLengthGenerated
  12550. }
  12551. postIndex := iNdEx + msglen
  12552. if postIndex > l {
  12553. return io.ErrUnexpectedEOF
  12554. }
  12555. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12556. return err
  12557. }
  12558. iNdEx = postIndex
  12559. default:
  12560. iNdEx = preIndex
  12561. skippy, err := skipGenerated(data[iNdEx:])
  12562. if err != nil {
  12563. return err
  12564. }
  12565. if skippy < 0 {
  12566. return ErrInvalidLengthGenerated
  12567. }
  12568. if (iNdEx + skippy) > l {
  12569. return io.ErrUnexpectedEOF
  12570. }
  12571. iNdEx += skippy
  12572. }
  12573. }
  12574. if iNdEx > l {
  12575. return io.ErrUnexpectedEOF
  12576. }
  12577. return nil
  12578. }
  12579. func (m *ScaleSpec) Unmarshal(data []byte) error {
  12580. l := len(data)
  12581. iNdEx := 0
  12582. for iNdEx < l {
  12583. preIndex := iNdEx
  12584. var wire uint64
  12585. for shift := uint(0); ; shift += 7 {
  12586. if shift >= 64 {
  12587. return ErrIntOverflowGenerated
  12588. }
  12589. if iNdEx >= l {
  12590. return io.ErrUnexpectedEOF
  12591. }
  12592. b := data[iNdEx]
  12593. iNdEx++
  12594. wire |= (uint64(b) & 0x7F) << shift
  12595. if b < 0x80 {
  12596. break
  12597. }
  12598. }
  12599. fieldNum := int32(wire >> 3)
  12600. wireType := int(wire & 0x7)
  12601. if wireType == 4 {
  12602. return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
  12603. }
  12604. if fieldNum <= 0 {
  12605. return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  12606. }
  12607. switch fieldNum {
  12608. case 1:
  12609. if wireType != 0 {
  12610. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  12611. }
  12612. m.Replicas = 0
  12613. for shift := uint(0); ; shift += 7 {
  12614. if shift >= 64 {
  12615. return ErrIntOverflowGenerated
  12616. }
  12617. if iNdEx >= l {
  12618. return io.ErrUnexpectedEOF
  12619. }
  12620. b := data[iNdEx]
  12621. iNdEx++
  12622. m.Replicas |= (int32(b) & 0x7F) << shift
  12623. if b < 0x80 {
  12624. break
  12625. }
  12626. }
  12627. default:
  12628. iNdEx = preIndex
  12629. skippy, err := skipGenerated(data[iNdEx:])
  12630. if err != nil {
  12631. return err
  12632. }
  12633. if skippy < 0 {
  12634. return ErrInvalidLengthGenerated
  12635. }
  12636. if (iNdEx + skippy) > l {
  12637. return io.ErrUnexpectedEOF
  12638. }
  12639. iNdEx += skippy
  12640. }
  12641. }
  12642. if iNdEx > l {
  12643. return io.ErrUnexpectedEOF
  12644. }
  12645. return nil
  12646. }
  12647. func (m *ScaleStatus) Unmarshal(data []byte) error {
  12648. l := len(data)
  12649. iNdEx := 0
  12650. for iNdEx < l {
  12651. preIndex := iNdEx
  12652. var wire uint64
  12653. for shift := uint(0); ; shift += 7 {
  12654. if shift >= 64 {
  12655. return ErrIntOverflowGenerated
  12656. }
  12657. if iNdEx >= l {
  12658. return io.ErrUnexpectedEOF
  12659. }
  12660. b := data[iNdEx]
  12661. iNdEx++
  12662. wire |= (uint64(b) & 0x7F) << shift
  12663. if b < 0x80 {
  12664. break
  12665. }
  12666. }
  12667. fieldNum := int32(wire >> 3)
  12668. wireType := int(wire & 0x7)
  12669. if wireType == 4 {
  12670. return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
  12671. }
  12672. if fieldNum <= 0 {
  12673. return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  12674. }
  12675. switch fieldNum {
  12676. case 1:
  12677. if wireType != 0 {
  12678. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  12679. }
  12680. m.Replicas = 0
  12681. for shift := uint(0); ; shift += 7 {
  12682. if shift >= 64 {
  12683. return ErrIntOverflowGenerated
  12684. }
  12685. if iNdEx >= l {
  12686. return io.ErrUnexpectedEOF
  12687. }
  12688. b := data[iNdEx]
  12689. iNdEx++
  12690. m.Replicas |= (int32(b) & 0x7F) << shift
  12691. if b < 0x80 {
  12692. break
  12693. }
  12694. }
  12695. case 2:
  12696. if wireType != 2 {
  12697. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  12698. }
  12699. var msglen int
  12700. for shift := uint(0); ; shift += 7 {
  12701. if shift >= 64 {
  12702. return ErrIntOverflowGenerated
  12703. }
  12704. if iNdEx >= l {
  12705. return io.ErrUnexpectedEOF
  12706. }
  12707. b := data[iNdEx]
  12708. iNdEx++
  12709. msglen |= (int(b) & 0x7F) << shift
  12710. if b < 0x80 {
  12711. break
  12712. }
  12713. }
  12714. if msglen < 0 {
  12715. return ErrInvalidLengthGenerated
  12716. }
  12717. postIndex := iNdEx + msglen
  12718. if postIndex > l {
  12719. return io.ErrUnexpectedEOF
  12720. }
  12721. var keykey uint64
  12722. for shift := uint(0); ; shift += 7 {
  12723. if shift >= 64 {
  12724. return ErrIntOverflowGenerated
  12725. }
  12726. if iNdEx >= l {
  12727. return io.ErrUnexpectedEOF
  12728. }
  12729. b := data[iNdEx]
  12730. iNdEx++
  12731. keykey |= (uint64(b) & 0x7F) << shift
  12732. if b < 0x80 {
  12733. break
  12734. }
  12735. }
  12736. var stringLenmapkey uint64
  12737. for shift := uint(0); ; shift += 7 {
  12738. if shift >= 64 {
  12739. return ErrIntOverflowGenerated
  12740. }
  12741. if iNdEx >= l {
  12742. return io.ErrUnexpectedEOF
  12743. }
  12744. b := data[iNdEx]
  12745. iNdEx++
  12746. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  12747. if b < 0x80 {
  12748. break
  12749. }
  12750. }
  12751. intStringLenmapkey := int(stringLenmapkey)
  12752. if intStringLenmapkey < 0 {
  12753. return ErrInvalidLengthGenerated
  12754. }
  12755. postStringIndexmapkey := iNdEx + intStringLenmapkey
  12756. if postStringIndexmapkey > l {
  12757. return io.ErrUnexpectedEOF
  12758. }
  12759. mapkey := string(data[iNdEx:postStringIndexmapkey])
  12760. iNdEx = postStringIndexmapkey
  12761. var valuekey uint64
  12762. for shift := uint(0); ; shift += 7 {
  12763. if shift >= 64 {
  12764. return ErrIntOverflowGenerated
  12765. }
  12766. if iNdEx >= l {
  12767. return io.ErrUnexpectedEOF
  12768. }
  12769. b := data[iNdEx]
  12770. iNdEx++
  12771. valuekey |= (uint64(b) & 0x7F) << shift
  12772. if b < 0x80 {
  12773. break
  12774. }
  12775. }
  12776. var stringLenmapvalue uint64
  12777. for shift := uint(0); ; shift += 7 {
  12778. if shift >= 64 {
  12779. return ErrIntOverflowGenerated
  12780. }
  12781. if iNdEx >= l {
  12782. return io.ErrUnexpectedEOF
  12783. }
  12784. b := data[iNdEx]
  12785. iNdEx++
  12786. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  12787. if b < 0x80 {
  12788. break
  12789. }
  12790. }
  12791. intStringLenmapvalue := int(stringLenmapvalue)
  12792. if intStringLenmapvalue < 0 {
  12793. return ErrInvalidLengthGenerated
  12794. }
  12795. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  12796. if postStringIndexmapvalue > l {
  12797. return io.ErrUnexpectedEOF
  12798. }
  12799. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  12800. iNdEx = postStringIndexmapvalue
  12801. if m.Selector == nil {
  12802. m.Selector = make(map[string]string)
  12803. }
  12804. m.Selector[mapkey] = mapvalue
  12805. iNdEx = postIndex
  12806. case 3:
  12807. if wireType != 2 {
  12808. return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
  12809. }
  12810. var stringLen uint64
  12811. for shift := uint(0); ; shift += 7 {
  12812. if shift >= 64 {
  12813. return ErrIntOverflowGenerated
  12814. }
  12815. if iNdEx >= l {
  12816. return io.ErrUnexpectedEOF
  12817. }
  12818. b := data[iNdEx]
  12819. iNdEx++
  12820. stringLen |= (uint64(b) & 0x7F) << shift
  12821. if b < 0x80 {
  12822. break
  12823. }
  12824. }
  12825. intStringLen := int(stringLen)
  12826. if intStringLen < 0 {
  12827. return ErrInvalidLengthGenerated
  12828. }
  12829. postIndex := iNdEx + intStringLen
  12830. if postIndex > l {
  12831. return io.ErrUnexpectedEOF
  12832. }
  12833. m.TargetSelector = string(data[iNdEx:postIndex])
  12834. iNdEx = postIndex
  12835. default:
  12836. iNdEx = preIndex
  12837. skippy, err := skipGenerated(data[iNdEx:])
  12838. if err != nil {
  12839. return err
  12840. }
  12841. if skippy < 0 {
  12842. return ErrInvalidLengthGenerated
  12843. }
  12844. if (iNdEx + skippy) > l {
  12845. return io.ErrUnexpectedEOF
  12846. }
  12847. iNdEx += skippy
  12848. }
  12849. }
  12850. if iNdEx > l {
  12851. return io.ErrUnexpectedEOF
  12852. }
  12853. return nil
  12854. }
  12855. func (m *StorageClass) Unmarshal(data []byte) error {
  12856. l := len(data)
  12857. iNdEx := 0
  12858. for iNdEx < l {
  12859. preIndex := iNdEx
  12860. var wire uint64
  12861. for shift := uint(0); ; shift += 7 {
  12862. if shift >= 64 {
  12863. return ErrIntOverflowGenerated
  12864. }
  12865. if iNdEx >= l {
  12866. return io.ErrUnexpectedEOF
  12867. }
  12868. b := data[iNdEx]
  12869. iNdEx++
  12870. wire |= (uint64(b) & 0x7F) << shift
  12871. if b < 0x80 {
  12872. break
  12873. }
  12874. }
  12875. fieldNum := int32(wire >> 3)
  12876. wireType := int(wire & 0x7)
  12877. if wireType == 4 {
  12878. return fmt.Errorf("proto: StorageClass: wiretype end group for non-group")
  12879. }
  12880. if fieldNum <= 0 {
  12881. return fmt.Errorf("proto: StorageClass: illegal tag %d (wire type %d)", fieldNum, wire)
  12882. }
  12883. switch fieldNum {
  12884. case 1:
  12885. if wireType != 2 {
  12886. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  12887. }
  12888. var msglen int
  12889. for shift := uint(0); ; shift += 7 {
  12890. if shift >= 64 {
  12891. return ErrIntOverflowGenerated
  12892. }
  12893. if iNdEx >= l {
  12894. return io.ErrUnexpectedEOF
  12895. }
  12896. b := data[iNdEx]
  12897. iNdEx++
  12898. msglen |= (int(b) & 0x7F) << shift
  12899. if b < 0x80 {
  12900. break
  12901. }
  12902. }
  12903. if msglen < 0 {
  12904. return ErrInvalidLengthGenerated
  12905. }
  12906. postIndex := iNdEx + msglen
  12907. if postIndex > l {
  12908. return io.ErrUnexpectedEOF
  12909. }
  12910. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  12911. return err
  12912. }
  12913. iNdEx = postIndex
  12914. case 2:
  12915. if wireType != 2 {
  12916. return fmt.Errorf("proto: wrong wireType = %d for field Provisioner", wireType)
  12917. }
  12918. var stringLen uint64
  12919. for shift := uint(0); ; shift += 7 {
  12920. if shift >= 64 {
  12921. return ErrIntOverflowGenerated
  12922. }
  12923. if iNdEx >= l {
  12924. return io.ErrUnexpectedEOF
  12925. }
  12926. b := data[iNdEx]
  12927. iNdEx++
  12928. stringLen |= (uint64(b) & 0x7F) << shift
  12929. if b < 0x80 {
  12930. break
  12931. }
  12932. }
  12933. intStringLen := int(stringLen)
  12934. if intStringLen < 0 {
  12935. return ErrInvalidLengthGenerated
  12936. }
  12937. postIndex := iNdEx + intStringLen
  12938. if postIndex > l {
  12939. return io.ErrUnexpectedEOF
  12940. }
  12941. m.Provisioner = string(data[iNdEx:postIndex])
  12942. iNdEx = postIndex
  12943. case 3:
  12944. if wireType != 2 {
  12945. return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType)
  12946. }
  12947. var msglen int
  12948. for shift := uint(0); ; shift += 7 {
  12949. if shift >= 64 {
  12950. return ErrIntOverflowGenerated
  12951. }
  12952. if iNdEx >= l {
  12953. return io.ErrUnexpectedEOF
  12954. }
  12955. b := data[iNdEx]
  12956. iNdEx++
  12957. msglen |= (int(b) & 0x7F) << shift
  12958. if b < 0x80 {
  12959. break
  12960. }
  12961. }
  12962. if msglen < 0 {
  12963. return ErrInvalidLengthGenerated
  12964. }
  12965. postIndex := iNdEx + msglen
  12966. if postIndex > l {
  12967. return io.ErrUnexpectedEOF
  12968. }
  12969. var keykey uint64
  12970. for shift := uint(0); ; shift += 7 {
  12971. if shift >= 64 {
  12972. return ErrIntOverflowGenerated
  12973. }
  12974. if iNdEx >= l {
  12975. return io.ErrUnexpectedEOF
  12976. }
  12977. b := data[iNdEx]
  12978. iNdEx++
  12979. keykey |= (uint64(b) & 0x7F) << shift
  12980. if b < 0x80 {
  12981. break
  12982. }
  12983. }
  12984. var stringLenmapkey uint64
  12985. for shift := uint(0); ; shift += 7 {
  12986. if shift >= 64 {
  12987. return ErrIntOverflowGenerated
  12988. }
  12989. if iNdEx >= l {
  12990. return io.ErrUnexpectedEOF
  12991. }
  12992. b := data[iNdEx]
  12993. iNdEx++
  12994. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  12995. if b < 0x80 {
  12996. break
  12997. }
  12998. }
  12999. intStringLenmapkey := int(stringLenmapkey)
  13000. if intStringLenmapkey < 0 {
  13001. return ErrInvalidLengthGenerated
  13002. }
  13003. postStringIndexmapkey := iNdEx + intStringLenmapkey
  13004. if postStringIndexmapkey > l {
  13005. return io.ErrUnexpectedEOF
  13006. }
  13007. mapkey := string(data[iNdEx:postStringIndexmapkey])
  13008. iNdEx = postStringIndexmapkey
  13009. var valuekey uint64
  13010. for shift := uint(0); ; shift += 7 {
  13011. if shift >= 64 {
  13012. return ErrIntOverflowGenerated
  13013. }
  13014. if iNdEx >= l {
  13015. return io.ErrUnexpectedEOF
  13016. }
  13017. b := data[iNdEx]
  13018. iNdEx++
  13019. valuekey |= (uint64(b) & 0x7F) << shift
  13020. if b < 0x80 {
  13021. break
  13022. }
  13023. }
  13024. var stringLenmapvalue uint64
  13025. for shift := uint(0); ; shift += 7 {
  13026. if shift >= 64 {
  13027. return ErrIntOverflowGenerated
  13028. }
  13029. if iNdEx >= l {
  13030. return io.ErrUnexpectedEOF
  13031. }
  13032. b := data[iNdEx]
  13033. iNdEx++
  13034. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  13035. if b < 0x80 {
  13036. break
  13037. }
  13038. }
  13039. intStringLenmapvalue := int(stringLenmapvalue)
  13040. if intStringLenmapvalue < 0 {
  13041. return ErrInvalidLengthGenerated
  13042. }
  13043. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  13044. if postStringIndexmapvalue > l {
  13045. return io.ErrUnexpectedEOF
  13046. }
  13047. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  13048. iNdEx = postStringIndexmapvalue
  13049. if m.Parameters == nil {
  13050. m.Parameters = make(map[string]string)
  13051. }
  13052. m.Parameters[mapkey] = mapvalue
  13053. iNdEx = postIndex
  13054. default:
  13055. iNdEx = preIndex
  13056. skippy, err := skipGenerated(data[iNdEx:])
  13057. if err != nil {
  13058. return err
  13059. }
  13060. if skippy < 0 {
  13061. return ErrInvalidLengthGenerated
  13062. }
  13063. if (iNdEx + skippy) > l {
  13064. return io.ErrUnexpectedEOF
  13065. }
  13066. iNdEx += skippy
  13067. }
  13068. }
  13069. if iNdEx > l {
  13070. return io.ErrUnexpectedEOF
  13071. }
  13072. return nil
  13073. }
  13074. func (m *StorageClassList) Unmarshal(data []byte) error {
  13075. l := len(data)
  13076. iNdEx := 0
  13077. for iNdEx < l {
  13078. preIndex := iNdEx
  13079. var wire uint64
  13080. for shift := uint(0); ; shift += 7 {
  13081. if shift >= 64 {
  13082. return ErrIntOverflowGenerated
  13083. }
  13084. if iNdEx >= l {
  13085. return io.ErrUnexpectedEOF
  13086. }
  13087. b := data[iNdEx]
  13088. iNdEx++
  13089. wire |= (uint64(b) & 0x7F) << shift
  13090. if b < 0x80 {
  13091. break
  13092. }
  13093. }
  13094. fieldNum := int32(wire >> 3)
  13095. wireType := int(wire & 0x7)
  13096. if wireType == 4 {
  13097. return fmt.Errorf("proto: StorageClassList: wiretype end group for non-group")
  13098. }
  13099. if fieldNum <= 0 {
  13100. return fmt.Errorf("proto: StorageClassList: illegal tag %d (wire type %d)", fieldNum, wire)
  13101. }
  13102. switch fieldNum {
  13103. case 1:
  13104. if wireType != 2 {
  13105. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  13106. }
  13107. var msglen int
  13108. for shift := uint(0); ; shift += 7 {
  13109. if shift >= 64 {
  13110. return ErrIntOverflowGenerated
  13111. }
  13112. if iNdEx >= l {
  13113. return io.ErrUnexpectedEOF
  13114. }
  13115. b := data[iNdEx]
  13116. iNdEx++
  13117. msglen |= (int(b) & 0x7F) << shift
  13118. if b < 0x80 {
  13119. break
  13120. }
  13121. }
  13122. if msglen < 0 {
  13123. return ErrInvalidLengthGenerated
  13124. }
  13125. postIndex := iNdEx + msglen
  13126. if postIndex > l {
  13127. return io.ErrUnexpectedEOF
  13128. }
  13129. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13130. return err
  13131. }
  13132. iNdEx = postIndex
  13133. case 2:
  13134. if wireType != 2 {
  13135. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  13136. }
  13137. var msglen int
  13138. for shift := uint(0); ; shift += 7 {
  13139. if shift >= 64 {
  13140. return ErrIntOverflowGenerated
  13141. }
  13142. if iNdEx >= l {
  13143. return io.ErrUnexpectedEOF
  13144. }
  13145. b := data[iNdEx]
  13146. iNdEx++
  13147. msglen |= (int(b) & 0x7F) << shift
  13148. if b < 0x80 {
  13149. break
  13150. }
  13151. }
  13152. if msglen < 0 {
  13153. return ErrInvalidLengthGenerated
  13154. }
  13155. postIndex := iNdEx + msglen
  13156. if postIndex > l {
  13157. return io.ErrUnexpectedEOF
  13158. }
  13159. m.Items = append(m.Items, StorageClass{})
  13160. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  13161. return err
  13162. }
  13163. iNdEx = postIndex
  13164. default:
  13165. iNdEx = preIndex
  13166. skippy, err := skipGenerated(data[iNdEx:])
  13167. if err != nil {
  13168. return err
  13169. }
  13170. if skippy < 0 {
  13171. return ErrInvalidLengthGenerated
  13172. }
  13173. if (iNdEx + skippy) > l {
  13174. return io.ErrUnexpectedEOF
  13175. }
  13176. iNdEx += skippy
  13177. }
  13178. }
  13179. if iNdEx > l {
  13180. return io.ErrUnexpectedEOF
  13181. }
  13182. return nil
  13183. }
  13184. func (m *SubresourceReference) Unmarshal(data []byte) error {
  13185. l := len(data)
  13186. iNdEx := 0
  13187. for iNdEx < l {
  13188. preIndex := iNdEx
  13189. var wire uint64
  13190. for shift := uint(0); ; shift += 7 {
  13191. if shift >= 64 {
  13192. return ErrIntOverflowGenerated
  13193. }
  13194. if iNdEx >= l {
  13195. return io.ErrUnexpectedEOF
  13196. }
  13197. b := data[iNdEx]
  13198. iNdEx++
  13199. wire |= (uint64(b) & 0x7F) << shift
  13200. if b < 0x80 {
  13201. break
  13202. }
  13203. }
  13204. fieldNum := int32(wire >> 3)
  13205. wireType := int(wire & 0x7)
  13206. if wireType == 4 {
  13207. return fmt.Errorf("proto: SubresourceReference: wiretype end group for non-group")
  13208. }
  13209. if fieldNum <= 0 {
  13210. return fmt.Errorf("proto: SubresourceReference: illegal tag %d (wire type %d)", fieldNum, wire)
  13211. }
  13212. switch fieldNum {
  13213. case 1:
  13214. if wireType != 2 {
  13215. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  13216. }
  13217. var stringLen uint64
  13218. for shift := uint(0); ; shift += 7 {
  13219. if shift >= 64 {
  13220. return ErrIntOverflowGenerated
  13221. }
  13222. if iNdEx >= l {
  13223. return io.ErrUnexpectedEOF
  13224. }
  13225. b := data[iNdEx]
  13226. iNdEx++
  13227. stringLen |= (uint64(b) & 0x7F) << shift
  13228. if b < 0x80 {
  13229. break
  13230. }
  13231. }
  13232. intStringLen := int(stringLen)
  13233. if intStringLen < 0 {
  13234. return ErrInvalidLengthGenerated
  13235. }
  13236. postIndex := iNdEx + intStringLen
  13237. if postIndex > l {
  13238. return io.ErrUnexpectedEOF
  13239. }
  13240. m.Kind = string(data[iNdEx:postIndex])
  13241. iNdEx = postIndex
  13242. case 2:
  13243. if wireType != 2 {
  13244. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  13245. }
  13246. var stringLen uint64
  13247. for shift := uint(0); ; shift += 7 {
  13248. if shift >= 64 {
  13249. return ErrIntOverflowGenerated
  13250. }
  13251. if iNdEx >= l {
  13252. return io.ErrUnexpectedEOF
  13253. }
  13254. b := data[iNdEx]
  13255. iNdEx++
  13256. stringLen |= (uint64(b) & 0x7F) << shift
  13257. if b < 0x80 {
  13258. break
  13259. }
  13260. }
  13261. intStringLen := int(stringLen)
  13262. if intStringLen < 0 {
  13263. return ErrInvalidLengthGenerated
  13264. }
  13265. postIndex := iNdEx + intStringLen
  13266. if postIndex > l {
  13267. return io.ErrUnexpectedEOF
  13268. }
  13269. m.Name = string(data[iNdEx:postIndex])
  13270. iNdEx = postIndex
  13271. case 3:
  13272. if wireType != 2 {
  13273. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  13274. }
  13275. var stringLen uint64
  13276. for shift := uint(0); ; shift += 7 {
  13277. if shift >= 64 {
  13278. return ErrIntOverflowGenerated
  13279. }
  13280. if iNdEx >= l {
  13281. return io.ErrUnexpectedEOF
  13282. }
  13283. b := data[iNdEx]
  13284. iNdEx++
  13285. stringLen |= (uint64(b) & 0x7F) << shift
  13286. if b < 0x80 {
  13287. break
  13288. }
  13289. }
  13290. intStringLen := int(stringLen)
  13291. if intStringLen < 0 {
  13292. return ErrInvalidLengthGenerated
  13293. }
  13294. postIndex := iNdEx + intStringLen
  13295. if postIndex > l {
  13296. return io.ErrUnexpectedEOF
  13297. }
  13298. m.APIVersion = string(data[iNdEx:postIndex])
  13299. iNdEx = postIndex
  13300. case 4:
  13301. if wireType != 2 {
  13302. return fmt.Errorf("proto: wrong wireType = %d for field Subresource", wireType)
  13303. }
  13304. var stringLen uint64
  13305. for shift := uint(0); ; shift += 7 {
  13306. if shift >= 64 {
  13307. return ErrIntOverflowGenerated
  13308. }
  13309. if iNdEx >= l {
  13310. return io.ErrUnexpectedEOF
  13311. }
  13312. b := data[iNdEx]
  13313. iNdEx++
  13314. stringLen |= (uint64(b) & 0x7F) << shift
  13315. if b < 0x80 {
  13316. break
  13317. }
  13318. }
  13319. intStringLen := int(stringLen)
  13320. if intStringLen < 0 {
  13321. return ErrInvalidLengthGenerated
  13322. }
  13323. postIndex := iNdEx + intStringLen
  13324. if postIndex > l {
  13325. return io.ErrUnexpectedEOF
  13326. }
  13327. m.Subresource = string(data[iNdEx:postIndex])
  13328. iNdEx = postIndex
  13329. default:
  13330. iNdEx = preIndex
  13331. skippy, err := skipGenerated(data[iNdEx:])
  13332. if err != nil {
  13333. return err
  13334. }
  13335. if skippy < 0 {
  13336. return ErrInvalidLengthGenerated
  13337. }
  13338. if (iNdEx + skippy) > l {
  13339. return io.ErrUnexpectedEOF
  13340. }
  13341. iNdEx += skippy
  13342. }
  13343. }
  13344. if iNdEx > l {
  13345. return io.ErrUnexpectedEOF
  13346. }
  13347. return nil
  13348. }
  13349. func (m *SupplementalGroupsStrategyOptions) Unmarshal(data []byte) error {
  13350. l := len(data)
  13351. iNdEx := 0
  13352. for iNdEx < l {
  13353. preIndex := iNdEx
  13354. var wire uint64
  13355. for shift := uint(0); ; shift += 7 {
  13356. if shift >= 64 {
  13357. return ErrIntOverflowGenerated
  13358. }
  13359. if iNdEx >= l {
  13360. return io.ErrUnexpectedEOF
  13361. }
  13362. b := data[iNdEx]
  13363. iNdEx++
  13364. wire |= (uint64(b) & 0x7F) << shift
  13365. if b < 0x80 {
  13366. break
  13367. }
  13368. }
  13369. fieldNum := int32(wire >> 3)
  13370. wireType := int(wire & 0x7)
  13371. if wireType == 4 {
  13372. return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
  13373. }
  13374. if fieldNum <= 0 {
  13375. return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  13376. }
  13377. switch fieldNum {
  13378. case 1:
  13379. if wireType != 2 {
  13380. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  13381. }
  13382. var stringLen uint64
  13383. for shift := uint(0); ; shift += 7 {
  13384. if shift >= 64 {
  13385. return ErrIntOverflowGenerated
  13386. }
  13387. if iNdEx >= l {
  13388. return io.ErrUnexpectedEOF
  13389. }
  13390. b := data[iNdEx]
  13391. iNdEx++
  13392. stringLen |= (uint64(b) & 0x7F) << shift
  13393. if b < 0x80 {
  13394. break
  13395. }
  13396. }
  13397. intStringLen := int(stringLen)
  13398. if intStringLen < 0 {
  13399. return ErrInvalidLengthGenerated
  13400. }
  13401. postIndex := iNdEx + intStringLen
  13402. if postIndex > l {
  13403. return io.ErrUnexpectedEOF
  13404. }
  13405. m.Rule = SupplementalGroupsStrategyType(data[iNdEx:postIndex])
  13406. iNdEx = postIndex
  13407. case 2:
  13408. if wireType != 2 {
  13409. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  13410. }
  13411. var msglen int
  13412. for shift := uint(0); ; shift += 7 {
  13413. if shift >= 64 {
  13414. return ErrIntOverflowGenerated
  13415. }
  13416. if iNdEx >= l {
  13417. return io.ErrUnexpectedEOF
  13418. }
  13419. b := data[iNdEx]
  13420. iNdEx++
  13421. msglen |= (int(b) & 0x7F) << shift
  13422. if b < 0x80 {
  13423. break
  13424. }
  13425. }
  13426. if msglen < 0 {
  13427. return ErrInvalidLengthGenerated
  13428. }
  13429. postIndex := iNdEx + msglen
  13430. if postIndex > l {
  13431. return io.ErrUnexpectedEOF
  13432. }
  13433. m.Ranges = append(m.Ranges, IDRange{})
  13434. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  13435. return err
  13436. }
  13437. iNdEx = postIndex
  13438. default:
  13439. iNdEx = preIndex
  13440. skippy, err := skipGenerated(data[iNdEx:])
  13441. if err != nil {
  13442. return err
  13443. }
  13444. if skippy < 0 {
  13445. return ErrInvalidLengthGenerated
  13446. }
  13447. if (iNdEx + skippy) > l {
  13448. return io.ErrUnexpectedEOF
  13449. }
  13450. iNdEx += skippy
  13451. }
  13452. }
  13453. if iNdEx > l {
  13454. return io.ErrUnexpectedEOF
  13455. }
  13456. return nil
  13457. }
  13458. func (m *ThirdPartyResource) Unmarshal(data []byte) error {
  13459. l := len(data)
  13460. iNdEx := 0
  13461. for iNdEx < l {
  13462. preIndex := iNdEx
  13463. var wire uint64
  13464. for shift := uint(0); ; shift += 7 {
  13465. if shift >= 64 {
  13466. return ErrIntOverflowGenerated
  13467. }
  13468. if iNdEx >= l {
  13469. return io.ErrUnexpectedEOF
  13470. }
  13471. b := data[iNdEx]
  13472. iNdEx++
  13473. wire |= (uint64(b) & 0x7F) << shift
  13474. if b < 0x80 {
  13475. break
  13476. }
  13477. }
  13478. fieldNum := int32(wire >> 3)
  13479. wireType := int(wire & 0x7)
  13480. if wireType == 4 {
  13481. return fmt.Errorf("proto: ThirdPartyResource: wiretype end group for non-group")
  13482. }
  13483. if fieldNum <= 0 {
  13484. return fmt.Errorf("proto: ThirdPartyResource: illegal tag %d (wire type %d)", fieldNum, wire)
  13485. }
  13486. switch fieldNum {
  13487. case 1:
  13488. if wireType != 2 {
  13489. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  13490. }
  13491. var msglen int
  13492. for shift := uint(0); ; shift += 7 {
  13493. if shift >= 64 {
  13494. return ErrIntOverflowGenerated
  13495. }
  13496. if iNdEx >= l {
  13497. return io.ErrUnexpectedEOF
  13498. }
  13499. b := data[iNdEx]
  13500. iNdEx++
  13501. msglen |= (int(b) & 0x7F) << shift
  13502. if b < 0x80 {
  13503. break
  13504. }
  13505. }
  13506. if msglen < 0 {
  13507. return ErrInvalidLengthGenerated
  13508. }
  13509. postIndex := iNdEx + msglen
  13510. if postIndex > l {
  13511. return io.ErrUnexpectedEOF
  13512. }
  13513. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13514. return err
  13515. }
  13516. iNdEx = postIndex
  13517. case 2:
  13518. if wireType != 2 {
  13519. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  13520. }
  13521. var stringLen uint64
  13522. for shift := uint(0); ; shift += 7 {
  13523. if shift >= 64 {
  13524. return ErrIntOverflowGenerated
  13525. }
  13526. if iNdEx >= l {
  13527. return io.ErrUnexpectedEOF
  13528. }
  13529. b := data[iNdEx]
  13530. iNdEx++
  13531. stringLen |= (uint64(b) & 0x7F) << shift
  13532. if b < 0x80 {
  13533. break
  13534. }
  13535. }
  13536. intStringLen := int(stringLen)
  13537. if intStringLen < 0 {
  13538. return ErrInvalidLengthGenerated
  13539. }
  13540. postIndex := iNdEx + intStringLen
  13541. if postIndex > l {
  13542. return io.ErrUnexpectedEOF
  13543. }
  13544. m.Description = string(data[iNdEx:postIndex])
  13545. iNdEx = postIndex
  13546. case 3:
  13547. if wireType != 2 {
  13548. return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
  13549. }
  13550. var msglen int
  13551. for shift := uint(0); ; shift += 7 {
  13552. if shift >= 64 {
  13553. return ErrIntOverflowGenerated
  13554. }
  13555. if iNdEx >= l {
  13556. return io.ErrUnexpectedEOF
  13557. }
  13558. b := data[iNdEx]
  13559. iNdEx++
  13560. msglen |= (int(b) & 0x7F) << shift
  13561. if b < 0x80 {
  13562. break
  13563. }
  13564. }
  13565. if msglen < 0 {
  13566. return ErrInvalidLengthGenerated
  13567. }
  13568. postIndex := iNdEx + msglen
  13569. if postIndex > l {
  13570. return io.ErrUnexpectedEOF
  13571. }
  13572. m.Versions = append(m.Versions, APIVersion{})
  13573. if err := m.Versions[len(m.Versions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  13574. return err
  13575. }
  13576. iNdEx = postIndex
  13577. default:
  13578. iNdEx = preIndex
  13579. skippy, err := skipGenerated(data[iNdEx:])
  13580. if err != nil {
  13581. return err
  13582. }
  13583. if skippy < 0 {
  13584. return ErrInvalidLengthGenerated
  13585. }
  13586. if (iNdEx + skippy) > l {
  13587. return io.ErrUnexpectedEOF
  13588. }
  13589. iNdEx += skippy
  13590. }
  13591. }
  13592. if iNdEx > l {
  13593. return io.ErrUnexpectedEOF
  13594. }
  13595. return nil
  13596. }
  13597. func (m *ThirdPartyResourceData) Unmarshal(data []byte) error {
  13598. l := len(data)
  13599. iNdEx := 0
  13600. for iNdEx < l {
  13601. preIndex := iNdEx
  13602. var wire uint64
  13603. for shift := uint(0); ; shift += 7 {
  13604. if shift >= 64 {
  13605. return ErrIntOverflowGenerated
  13606. }
  13607. if iNdEx >= l {
  13608. return io.ErrUnexpectedEOF
  13609. }
  13610. b := data[iNdEx]
  13611. iNdEx++
  13612. wire |= (uint64(b) & 0x7F) << shift
  13613. if b < 0x80 {
  13614. break
  13615. }
  13616. }
  13617. fieldNum := int32(wire >> 3)
  13618. wireType := int(wire & 0x7)
  13619. if wireType == 4 {
  13620. return fmt.Errorf("proto: ThirdPartyResourceData: wiretype end group for non-group")
  13621. }
  13622. if fieldNum <= 0 {
  13623. return fmt.Errorf("proto: ThirdPartyResourceData: illegal tag %d (wire type %d)", fieldNum, wire)
  13624. }
  13625. switch fieldNum {
  13626. case 1:
  13627. if wireType != 2 {
  13628. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  13629. }
  13630. var msglen int
  13631. for shift := uint(0); ; shift += 7 {
  13632. if shift >= 64 {
  13633. return ErrIntOverflowGenerated
  13634. }
  13635. if iNdEx >= l {
  13636. return io.ErrUnexpectedEOF
  13637. }
  13638. b := data[iNdEx]
  13639. iNdEx++
  13640. msglen |= (int(b) & 0x7F) << shift
  13641. if b < 0x80 {
  13642. break
  13643. }
  13644. }
  13645. if msglen < 0 {
  13646. return ErrInvalidLengthGenerated
  13647. }
  13648. postIndex := iNdEx + msglen
  13649. if postIndex > l {
  13650. return io.ErrUnexpectedEOF
  13651. }
  13652. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13653. return err
  13654. }
  13655. iNdEx = postIndex
  13656. case 2:
  13657. if wireType != 2 {
  13658. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  13659. }
  13660. var byteLen int
  13661. for shift := uint(0); ; shift += 7 {
  13662. if shift >= 64 {
  13663. return ErrIntOverflowGenerated
  13664. }
  13665. if iNdEx >= l {
  13666. return io.ErrUnexpectedEOF
  13667. }
  13668. b := data[iNdEx]
  13669. iNdEx++
  13670. byteLen |= (int(b) & 0x7F) << shift
  13671. if b < 0x80 {
  13672. break
  13673. }
  13674. }
  13675. if byteLen < 0 {
  13676. return ErrInvalidLengthGenerated
  13677. }
  13678. postIndex := iNdEx + byteLen
  13679. if postIndex > l {
  13680. return io.ErrUnexpectedEOF
  13681. }
  13682. m.Data = append(m.Data[:0], data[iNdEx:postIndex]...)
  13683. if m.Data == nil {
  13684. m.Data = []byte{}
  13685. }
  13686. iNdEx = postIndex
  13687. default:
  13688. iNdEx = preIndex
  13689. skippy, err := skipGenerated(data[iNdEx:])
  13690. if err != nil {
  13691. return err
  13692. }
  13693. if skippy < 0 {
  13694. return ErrInvalidLengthGenerated
  13695. }
  13696. if (iNdEx + skippy) > l {
  13697. return io.ErrUnexpectedEOF
  13698. }
  13699. iNdEx += skippy
  13700. }
  13701. }
  13702. if iNdEx > l {
  13703. return io.ErrUnexpectedEOF
  13704. }
  13705. return nil
  13706. }
  13707. func (m *ThirdPartyResourceDataList) Unmarshal(data []byte) error {
  13708. l := len(data)
  13709. iNdEx := 0
  13710. for iNdEx < l {
  13711. preIndex := iNdEx
  13712. var wire uint64
  13713. for shift := uint(0); ; shift += 7 {
  13714. if shift >= 64 {
  13715. return ErrIntOverflowGenerated
  13716. }
  13717. if iNdEx >= l {
  13718. return io.ErrUnexpectedEOF
  13719. }
  13720. b := data[iNdEx]
  13721. iNdEx++
  13722. wire |= (uint64(b) & 0x7F) << shift
  13723. if b < 0x80 {
  13724. break
  13725. }
  13726. }
  13727. fieldNum := int32(wire >> 3)
  13728. wireType := int(wire & 0x7)
  13729. if wireType == 4 {
  13730. return fmt.Errorf("proto: ThirdPartyResourceDataList: wiretype end group for non-group")
  13731. }
  13732. if fieldNum <= 0 {
  13733. return fmt.Errorf("proto: ThirdPartyResourceDataList: illegal tag %d (wire type %d)", fieldNum, wire)
  13734. }
  13735. switch fieldNum {
  13736. case 1:
  13737. if wireType != 2 {
  13738. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  13739. }
  13740. var msglen int
  13741. for shift := uint(0); ; shift += 7 {
  13742. if shift >= 64 {
  13743. return ErrIntOverflowGenerated
  13744. }
  13745. if iNdEx >= l {
  13746. return io.ErrUnexpectedEOF
  13747. }
  13748. b := data[iNdEx]
  13749. iNdEx++
  13750. msglen |= (int(b) & 0x7F) << shift
  13751. if b < 0x80 {
  13752. break
  13753. }
  13754. }
  13755. if msglen < 0 {
  13756. return ErrInvalidLengthGenerated
  13757. }
  13758. postIndex := iNdEx + msglen
  13759. if postIndex > l {
  13760. return io.ErrUnexpectedEOF
  13761. }
  13762. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13763. return err
  13764. }
  13765. iNdEx = postIndex
  13766. case 2:
  13767. if wireType != 2 {
  13768. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  13769. }
  13770. var msglen int
  13771. for shift := uint(0); ; shift += 7 {
  13772. if shift >= 64 {
  13773. return ErrIntOverflowGenerated
  13774. }
  13775. if iNdEx >= l {
  13776. return io.ErrUnexpectedEOF
  13777. }
  13778. b := data[iNdEx]
  13779. iNdEx++
  13780. msglen |= (int(b) & 0x7F) << shift
  13781. if b < 0x80 {
  13782. break
  13783. }
  13784. }
  13785. if msglen < 0 {
  13786. return ErrInvalidLengthGenerated
  13787. }
  13788. postIndex := iNdEx + msglen
  13789. if postIndex > l {
  13790. return io.ErrUnexpectedEOF
  13791. }
  13792. m.Items = append(m.Items, ThirdPartyResourceData{})
  13793. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  13794. return err
  13795. }
  13796. iNdEx = postIndex
  13797. default:
  13798. iNdEx = preIndex
  13799. skippy, err := skipGenerated(data[iNdEx:])
  13800. if err != nil {
  13801. return err
  13802. }
  13803. if skippy < 0 {
  13804. return ErrInvalidLengthGenerated
  13805. }
  13806. if (iNdEx + skippy) > l {
  13807. return io.ErrUnexpectedEOF
  13808. }
  13809. iNdEx += skippy
  13810. }
  13811. }
  13812. if iNdEx > l {
  13813. return io.ErrUnexpectedEOF
  13814. }
  13815. return nil
  13816. }
  13817. func (m *ThirdPartyResourceList) Unmarshal(data []byte) error {
  13818. l := len(data)
  13819. iNdEx := 0
  13820. for iNdEx < l {
  13821. preIndex := iNdEx
  13822. var wire uint64
  13823. for shift := uint(0); ; shift += 7 {
  13824. if shift >= 64 {
  13825. return ErrIntOverflowGenerated
  13826. }
  13827. if iNdEx >= l {
  13828. return io.ErrUnexpectedEOF
  13829. }
  13830. b := data[iNdEx]
  13831. iNdEx++
  13832. wire |= (uint64(b) & 0x7F) << shift
  13833. if b < 0x80 {
  13834. break
  13835. }
  13836. }
  13837. fieldNum := int32(wire >> 3)
  13838. wireType := int(wire & 0x7)
  13839. if wireType == 4 {
  13840. return fmt.Errorf("proto: ThirdPartyResourceList: wiretype end group for non-group")
  13841. }
  13842. if fieldNum <= 0 {
  13843. return fmt.Errorf("proto: ThirdPartyResourceList: illegal tag %d (wire type %d)", fieldNum, wire)
  13844. }
  13845. switch fieldNum {
  13846. case 1:
  13847. if wireType != 2 {
  13848. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  13849. }
  13850. var msglen int
  13851. for shift := uint(0); ; shift += 7 {
  13852. if shift >= 64 {
  13853. return ErrIntOverflowGenerated
  13854. }
  13855. if iNdEx >= l {
  13856. return io.ErrUnexpectedEOF
  13857. }
  13858. b := data[iNdEx]
  13859. iNdEx++
  13860. msglen |= (int(b) & 0x7F) << shift
  13861. if b < 0x80 {
  13862. break
  13863. }
  13864. }
  13865. if msglen < 0 {
  13866. return ErrInvalidLengthGenerated
  13867. }
  13868. postIndex := iNdEx + msglen
  13869. if postIndex > l {
  13870. return io.ErrUnexpectedEOF
  13871. }
  13872. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  13873. return err
  13874. }
  13875. iNdEx = postIndex
  13876. case 2:
  13877. if wireType != 2 {
  13878. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  13879. }
  13880. var msglen int
  13881. for shift := uint(0); ; shift += 7 {
  13882. if shift >= 64 {
  13883. return ErrIntOverflowGenerated
  13884. }
  13885. if iNdEx >= l {
  13886. return io.ErrUnexpectedEOF
  13887. }
  13888. b := data[iNdEx]
  13889. iNdEx++
  13890. msglen |= (int(b) & 0x7F) << shift
  13891. if b < 0x80 {
  13892. break
  13893. }
  13894. }
  13895. if msglen < 0 {
  13896. return ErrInvalidLengthGenerated
  13897. }
  13898. postIndex := iNdEx + msglen
  13899. if postIndex > l {
  13900. return io.ErrUnexpectedEOF
  13901. }
  13902. m.Items = append(m.Items, ThirdPartyResource{})
  13903. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  13904. return err
  13905. }
  13906. iNdEx = postIndex
  13907. default:
  13908. iNdEx = preIndex
  13909. skippy, err := skipGenerated(data[iNdEx:])
  13910. if err != nil {
  13911. return err
  13912. }
  13913. if skippy < 0 {
  13914. return ErrInvalidLengthGenerated
  13915. }
  13916. if (iNdEx + skippy) > l {
  13917. return io.ErrUnexpectedEOF
  13918. }
  13919. iNdEx += skippy
  13920. }
  13921. }
  13922. if iNdEx > l {
  13923. return io.ErrUnexpectedEOF
  13924. }
  13925. return nil
  13926. }
  13927. func skipGenerated(data []byte) (n int, err error) {
  13928. l := len(data)
  13929. iNdEx := 0
  13930. for iNdEx < l {
  13931. var wire uint64
  13932. for shift := uint(0); ; shift += 7 {
  13933. if shift >= 64 {
  13934. return 0, ErrIntOverflowGenerated
  13935. }
  13936. if iNdEx >= l {
  13937. return 0, io.ErrUnexpectedEOF
  13938. }
  13939. b := data[iNdEx]
  13940. iNdEx++
  13941. wire |= (uint64(b) & 0x7F) << shift
  13942. if b < 0x80 {
  13943. break
  13944. }
  13945. }
  13946. wireType := int(wire & 0x7)
  13947. switch wireType {
  13948. case 0:
  13949. for shift := uint(0); ; shift += 7 {
  13950. if shift >= 64 {
  13951. return 0, ErrIntOverflowGenerated
  13952. }
  13953. if iNdEx >= l {
  13954. return 0, io.ErrUnexpectedEOF
  13955. }
  13956. iNdEx++
  13957. if data[iNdEx-1] < 0x80 {
  13958. break
  13959. }
  13960. }
  13961. return iNdEx, nil
  13962. case 1:
  13963. iNdEx += 8
  13964. return iNdEx, nil
  13965. case 2:
  13966. var length int
  13967. for shift := uint(0); ; shift += 7 {
  13968. if shift >= 64 {
  13969. return 0, ErrIntOverflowGenerated
  13970. }
  13971. if iNdEx >= l {
  13972. return 0, io.ErrUnexpectedEOF
  13973. }
  13974. b := data[iNdEx]
  13975. iNdEx++
  13976. length |= (int(b) & 0x7F) << shift
  13977. if b < 0x80 {
  13978. break
  13979. }
  13980. }
  13981. iNdEx += length
  13982. if length < 0 {
  13983. return 0, ErrInvalidLengthGenerated
  13984. }
  13985. return iNdEx, nil
  13986. case 3:
  13987. for {
  13988. var innerWire uint64
  13989. var start int = iNdEx
  13990. for shift := uint(0); ; shift += 7 {
  13991. if shift >= 64 {
  13992. return 0, ErrIntOverflowGenerated
  13993. }
  13994. if iNdEx >= l {
  13995. return 0, io.ErrUnexpectedEOF
  13996. }
  13997. b := data[iNdEx]
  13998. iNdEx++
  13999. innerWire |= (uint64(b) & 0x7F) << shift
  14000. if b < 0x80 {
  14001. break
  14002. }
  14003. }
  14004. innerWireType := int(innerWire & 0x7)
  14005. if innerWireType == 4 {
  14006. break
  14007. }
  14008. next, err := skipGenerated(data[start:])
  14009. if err != nil {
  14010. return 0, err
  14011. }
  14012. iNdEx = start + next
  14013. }
  14014. return iNdEx, nil
  14015. case 4:
  14016. return iNdEx, nil
  14017. case 5:
  14018. iNdEx += 4
  14019. return iNdEx, nil
  14020. default:
  14021. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  14022. }
  14023. }
  14024. panic("unreachable")
  14025. }
  14026. var (
  14027. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  14028. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  14029. )
  14030. var fileDescriptorGenerated = []byte{
  14031. // 4015 bytes of a gzipped FileDescriptorProto
  14032. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5c, 0xdb, 0x8f, 0x1c, 0x47,
  14033. 0x57, 0xcf, 0xcc, 0xec, 0x65, 0xa6, 0xf6, 0xea, 0xf2, 0xda, 0x9e, 0x6c, 0x12, 0x3b, 0xe9, 0x88,
  14034. 0x90, 0x88, 0x78, 0x16, 0x9b, 0x24, 0x38, 0x76, 0xe2, 0x64, 0x67, 0x2f, 0xb6, 0x93, 0x5d, 0x7b,
  14035. 0x52, 0xb3, 0x76, 0x42, 0xee, 0xbd, 0x33, 0xb5, 0xb3, 0xed, 0xed, 0x99, 0x9e, 0xf4, 0x65, 0xbd,
  14036. 0x13, 0x84, 0x12, 0x04, 0x48, 0xbc, 0x24, 0xe4, 0x8d, 0x48, 0xc0, 0x03, 0x12, 0x88, 0x07, 0x44,
  14037. 0x04, 0x12, 0x52, 0x1e, 0x78, 0x01, 0x24, 0x84, 0x79, 0x40, 0x84, 0x9b, 0xe0, 0x85, 0x04, 0x82,
  14038. 0x20, 0xfa, 0xfe, 0x85, 0x7c, 0x9f, 0xf4, 0x7d, 0xa7, 0xaa, 0xab, 0xbb, 0xab, 0x7a, 0xba, 0xc7,
  14039. 0xee, 0xd9, 0x8b, 0xf4, 0xe9, 0x7b, 0x58, 0xc5, 0x5d, 0xe7, 0x9c, 0xdf, 0x39, 0x55, 0x75, 0xea,
  14040. 0x9c, 0x53, 0x97, 0x09, 0x7a, 0x71, 0xe7, 0x82, 0x53, 0x31, 0xac, 0x85, 0x1d, 0x6f, 0x93, 0xda,
  14041. 0x1d, 0xea, 0x52, 0x67, 0xa1, 0xbb, 0xd3, 0x5a, 0xd0, 0xbb, 0x86, 0xb3, 0x40, 0xf7, 0x5c, 0xda,
  14042. 0x71, 0x0c, 0xab, 0xe3, 0x2c, 0xec, 0x9e, 0xdb, 0xa4, 0xae, 0x7e, 0x6e, 0xa1, 0x45, 0x3b, 0xd4,
  14043. 0xd6, 0x5d, 0xda, 0xac, 0x74, 0x6d, 0xcb, 0xb5, 0xf0, 0x59, 0x5f, 0xbc, 0x12, 0x89, 0x57, 0x40,
  14044. 0xbc, 0xc2, 0xc4, 0x2b, 0x91, 0x78, 0x45, 0x88, 0xcf, 0x9f, 0x6d, 0x19, 0xee, 0xb6, 0xb7, 0x59,
  14045. 0x69, 0x58, 0xed, 0x85, 0x96, 0xd5, 0xb2, 0x16, 0x38, 0xca, 0xa6, 0xb7, 0xc5, 0xbf, 0xf8, 0x07,
  14046. 0xff, 0x97, 0x8f, 0x3e, 0x7f, 0x3e, 0xd5, 0xb8, 0x05, 0x9b, 0x3a, 0x96, 0x67, 0x37, 0x68, 0xdc,
  14047. 0xa2, 0xf9, 0x67, 0xd3, 0x65, 0xbc, 0xce, 0x2e, 0xb5, 0x99, 0x41, 0xb4, 0xd9, 0x27, 0xf6, 0x74,
  14048. 0xba, 0xd8, 0x6e, 0x5f, 0xb7, 0xe7, 0xcf, 0x26, 0x73, 0xdb, 0x5e, 0xc7, 0x35, 0xda, 0xfd, 0x36,
  14049. 0x9d, 0x4b, 0x66, 0xf7, 0x5c, 0xc3, 0x5c, 0x30, 0x3a, 0xae, 0xe3, 0xda, 0x71, 0x11, 0xad, 0x82,
  14050. 0xd0, 0x62, 0xed, 0xda, 0x2d, 0xdf, 0x5e, 0xfc, 0x28, 0x1a, 0xe9, 0xe8, 0x6d, 0x5a, 0xce, 0x3d,
  14051. 0x9a, 0x7b, 0xb2, 0x54, 0x9d, 0xbc, 0xfb, 0xf5, 0x99, 0x07, 0xbe, 0xfd, 0xfa, 0xcc, 0xc8, 0x75,
  14052. 0x68, 0x23, 0x9c, 0xa2, 0xbd, 0x8d, 0xe6, 0x96, 0x6a, 0x37, 0x37, 0x74, 0xbb, 0x45, 0xdd, 0x9b,
  14053. 0x80, 0x6b, 0x7c, 0xa8, 0xbb, 0x4c, 0x72, 0x19, 0xcd, 0xba, 0xbc, 0xb1, 0x46, 0x61, 0xb4, 0x3a,
  14054. 0xae, 0xde, 0xf2, 0x51, 0x46, 0xab, 0x65, 0x81, 0x32, 0xbb, 0x11, 0xa3, 0x93, 0x3e, 0x09, 0xed,
  14055. 0x77, 0x73, 0xe8, 0xc1, 0x25, 0xcf, 0x71, 0xad, 0xf6, 0x3a, 0x75, 0x6d, 0xa3, 0xb1, 0xe4, 0xd9,
  14056. 0x36, 0x90, 0xea, 0xae, 0xee, 0x7a, 0xce, 0xbd, 0xad, 0xc3, 0x6f, 0xa0, 0xd1, 0x5d, 0xdd, 0xf4,
  14057. 0x68, 0x39, 0x0f, 0x2c, 0x13, 0xe7, 0x9f, 0xae, 0xa4, 0xba, 0x4d, 0x25, 0x98, 0xd8, 0xca, 0x6b,
  14058. 0x9e, 0x0e, 0xa3, 0xe9, 0xf6, 0xaa, 0x73, 0x02, 0x70, 0x52, 0x68, 0xbd, 0xc5, 0x90, 0x88, 0x0f,
  14059. 0xa8, 0x7d, 0x9a, 0x43, 0x8f, 0xa4, 0x5a, 0xb6, 0x66, 0x38, 0x2e, 0x6e, 0xa3, 0x51, 0xc3, 0xa5,
  14060. 0x6d, 0x07, 0xcc, 0x2b, 0x80, 0xee, 0xab, 0x95, 0x4c, 0x2e, 0x5b, 0x49, 0x05, 0xaf, 0x4e, 0x09,
  14061. 0xbb, 0x46, 0xaf, 0x31, 0x78, 0xe2, 0x6b, 0xd1, 0x7e, 0x27, 0x87, 0xb0, 0x2c, 0xe3, 0x8f, 0xee,
  14062. 0x7d, 0x8c, 0xd1, 0xeb, 0xfb, 0x19, 0xa3, 0xe3, 0x02, 0x70, 0xc2, 0x57, 0xa7, 0x0c, 0xd1, 0xc7,
  14063. 0x39, 0x74, 0xb2, 0xdf, 0x22, 0x3e, 0x36, 0x5b, 0xea, 0xd8, 0x2c, 0xee, 0x63, 0x6c, 0x7c, 0xd4,
  14064. 0x94, 0x41, 0xf9, 0xb3, 0x3c, 0x2a, 0x2d, 0xeb, 0xb4, 0x6d, 0x75, 0xea, 0x30, 0x16, 0x6f, 0xa0,
  14065. 0x62, 0x1b, 0xe4, 0x9b, 0xba, 0xab, 0xf3, 0xf1, 0x98, 0x38, 0xff, 0xe4, 0x80, 0xce, 0xee, 0x9e,
  14066. 0xab, 0xdc, 0xd8, 0xbc, 0x4d, 0x1b, 0x2e, 0xe8, 0xd1, 0xab, 0x58, 0xe0, 0xa3, 0xa8, 0x8d, 0x84,
  14067. 0x68, 0xf8, 0x5d, 0x34, 0xe2, 0x74, 0x69, 0x43, 0x0c, 0xe1, 0x0b, 0x19, 0xbb, 0x13, 0x5a, 0x58,
  14068. 0x07, 0x8c, 0x68, 0x8e, 0xd8, 0x17, 0xe1, 0xb8, 0x30, 0x5e, 0x63, 0x0e, 0x9f, 0xfc, 0x72, 0x81,
  14069. 0x6b, 0xb8, 0x3c, 0xb4, 0x06, 0xdf, 0x85, 0xa6, 0x85, 0x8e, 0x31, 0xff, 0x9b, 0x08, 0x74, 0xed,
  14070. 0x1f, 0x73, 0x68, 0x2a, 0xe4, 0xe5, 0x33, 0xf5, 0x4e, 0xdf, 0x98, 0x2d, 0x0c, 0x18, 0x33, 0x29,
  14071. 0xd2, 0x55, 0x98, 0x38, 0x1f, 0xba, 0x59, 0xa1, 0xac, 0x18, 0xb4, 0x48, 0x03, 0xf7, 0x4e, 0xe0,
  14072. 0x08, 0x79, 0xee, 0x08, 0x17, 0x86, 0xed, 0x57, 0xca, 0xfc, 0xff, 0x9b, 0xdc, 0x9f, 0xba, 0x3f,
  14073. 0x92, 0x45, 0x87, 0x9a, 0x30, 0x83, 0x96, 0x2d, 0xfa, 0x93, 0x75, 0xb6, 0xd6, 0xf4, 0x4d, 0x6a,
  14074. 0xd6, 0x05, 0x46, 0x75, 0x92, 0x75, 0x2c, 0xf8, 0x22, 0x21, 0x36, 0x7e, 0x0b, 0x15, 0xc1, 0x82,
  14075. 0xae, 0x09, 0xa1, 0x55, 0x78, 0xc5, 0xd9, 0xc1, 0xbe, 0x56, 0xb3, 0x9a, 0x1b, 0x42, 0x80, 0xbb,
  14076. 0x41, 0x38, 0x6a, 0x41, 0x2b, 0x09, 0x01, 0xb5, 0x4f, 0xf2, 0x68, 0x26, 0x36, 0xa5, 0xf8, 0x16,
  14077. 0x3a, 0xd9, 0xf0, 0xc3, 0xc4, 0x75, 0xaf, 0x0d, 0x0a, 0xea, 0x8d, 0x6d, 0xda, 0xf4, 0x4c, 0xda,
  14078. 0x14, 0x61, 0xf7, 0xb4, 0xc0, 0x3b, 0xb9, 0x94, 0xc8, 0x45, 0x52, 0xa4, 0xf1, 0x2b, 0x08, 0x77,
  14079. 0x78, 0xd3, 0xba, 0xe1, 0x38, 0x21, 0x66, 0x9e, 0x63, 0xce, 0x0b, 0x4c, 0x7c, 0xbd, 0x8f, 0x83,
  14080. 0x24, 0x48, 0x31, 0x1b, 0x9b, 0xd4, 0x31, 0x6c, 0xda, 0x8c, 0xdb, 0x58, 0x50, 0x6d, 0x5c, 0x4e,
  14081. 0xe4, 0x22, 0x29, 0xd2, 0xda, 0x9f, 0xe7, 0x11, 0x5a, 0xa6, 0x5d, 0xd3, 0xea, 0xb5, 0xa1, 0x07,
  14082. 0x87, 0xb8, 0xce, 0xdf, 0x53, 0xd6, 0xf9, 0x8b, 0x59, 0xbd, 0x35, 0x34, 0x31, 0x75, 0xa1, 0xb7,
  14083. 0x62, 0x0b, 0xfd, 0xa5, 0xe1, 0x55, 0x0c, 0x5e, 0xe9, 0xff, 0x94, 0x43, 0xd3, 0x11, 0xf3, 0x51,
  14084. 0x2c, 0xf5, 0x77, 0xd5, 0xa5, 0xfe, 0xfc, 0xd0, 0x3d, 0x4b, 0x59, 0xeb, 0x9f, 0x17, 0x10, 0x8e,
  14085. 0x98, 0x88, 0x65, 0x9a, 0x9b, 0x7a, 0x63, 0xe7, 0x3e, 0x12, 0xe0, 0x1f, 0x43, 0xe6, 0xf4, 0xba,
  14086. 0x4d, 0x56, 0x04, 0x2d, 0x76, 0x3a, 0x96, 0xcb, 0x0b, 0x98, 0xc0, 0xcc, 0x5f, 0x19, 0xda, 0xcc,
  14087. 0xc0, 0x82, 0xca, 0xcd, 0x3e, 0xec, 0x95, 0x8e, 0x6b, 0xf7, 0xa2, 0xd5, 0xd3, 0xcf, 0x40, 0x12,
  14088. 0x0c, 0xc2, 0x1f, 0x20, 0x64, 0x0b, 0xcc, 0x0d, 0x4b, 0xf8, 0x47, 0x56, 0x17, 0x0c, 0x8c, 0x5a,
  14089. 0xb2, 0x3a, 0x5b, 0x46, 0x2b, 0xf2, 0x76, 0x12, 0x02, 0x13, 0x49, 0xc9, 0xfc, 0x0a, 0x3a, 0x95,
  14090. 0x62, 0x3d, 0x9e, 0x45, 0x85, 0x1d, 0xda, 0xf3, 0x87, 0x95, 0xb0, 0x7f, 0xe2, 0x39, 0xb9, 0x90,
  14091. 0x28, 0x89, 0x2a, 0xe0, 0x62, 0xfe, 0x42, 0x4e, 0xfb, 0x7c, 0x54, 0x76, 0x36, 0x1e, 0x87, 0x9f,
  14092. 0x44, 0x45, 0x1b, 0x5a, 0x8c, 0x86, 0xee, 0x88, 0x00, 0xc5, 0x23, 0x29, 0x11, 0x6d, 0x24, 0xa4,
  14093. 0x2a, 0x11, 0x3b, 0x7f, 0x44, 0x11, 0xbb, 0x70, 0xc0, 0x11, 0x1b, 0x5b, 0xd0, 0x09, 0x97, 0xd5,
  14094. 0xd9, 0xad, 0x5e, 0x79, 0x84, 0x83, 0x2f, 0xee, 0x63, 0x65, 0xfb, 0x40, 0x91, 0xc2, 0xa0, 0x85,
  14095. 0x84, 0x4a, 0xf0, 0x22, 0x9a, 0x69, 0x1b, 0x1d, 0x42, 0xf5, 0x66, 0xaf, 0x4e, 0x1b, 0x56, 0xa7,
  14096. 0xe9, 0x94, 0x47, 0xf9, 0x30, 0x9f, 0x12, 0x42, 0x33, 0xeb, 0x2a, 0x99, 0xc4, 0xf9, 0xf1, 0x1a,
  14097. 0x9a, 0xb3, 0xe9, 0xae, 0xc1, 0xcc, 0xb8, 0x0a, 0xcb, 0xd9, 0xb2, 0x7b, 0x6b, 0x46, 0xdb, 0x70,
  14098. 0xcb, 0x63, 0x7e, 0x19, 0x0f, 0x18, 0x73, 0x24, 0x81, 0x4e, 0x12, 0xa5, 0xf0, 0x13, 0x68, 0xac,
  14099. 0xab, 0x7b, 0x0e, 0xc4, 0xfa, 0x71, 0x90, 0x2f, 0x46, 0x81, 0xa9, 0xc6, 0x5b, 0x89, 0xa0, 0x42,
  14100. 0xd9, 0x2c, 0x7b, 0x79, 0xf1, 0x20, 0xbc, 0x7c, 0x3a, 0xdd, 0xc3, 0xb5, 0xef, 0xf2, 0x68, 0x36,
  14101. 0x1e, 0x34, 0x59, 0xce, 0xb3, 0x36, 0x1d, 0x6a, 0xef, 0xd2, 0xe6, 0x15, 0x7f, 0x7f, 0x04, 0xf0,
  14102. 0xdc, 0x4d, 0x0b, 0xd1, 0xaa, 0xbd, 0xd1, 0xc7, 0x41, 0x12, 0xa4, 0xf0, 0xd3, 0x92, 0xa3, 0xfb,
  14103. 0x59, 0x33, 0x9c, 0xb6, 0x04, 0x67, 0x87, 0x69, 0x13, 0x2b, 0x3f, 0x20, 0x8a, 0xd4, 0x18, 0x4e,
  14104. 0xdb, 0x4d, 0x95, 0x4c, 0xe2, 0xfc, 0xf8, 0x0a, 0x3a, 0xa6, 0xef, 0xea, 0x86, 0xa9, 0x6f, 0x9a,
  14105. 0x34, 0x04, 0x19, 0xe1, 0x20, 0x0f, 0x0a, 0x90, 0x63, 0x8b, 0x71, 0x06, 0xd2, 0x2f, 0x83, 0xd7,
  14106. 0xd1, 0x71, 0xaf, 0xd3, 0x0f, 0xe5, 0xbb, 0xd1, 0x43, 0x02, 0xea, 0xf8, 0xcd, 0x7e, 0x16, 0x92,
  14107. 0x24, 0xa7, 0xfd, 0x73, 0x4e, 0x8e, 0xcf, 0x81, 0xcb, 0xe2, 0x8b, 0x68, 0xc4, 0xed, 0x75, 0x83,
  14108. 0xf8, 0xfc, 0x44, 0x10, 0x9f, 0x37, 0xa0, 0xed, 0x7b, 0x5e, 0x09, 0xc4, 0x25, 0x18, 0x85, 0x70,
  14109. 0x19, 0xfc, 0x11, 0x9a, 0x62, 0x53, 0x69, 0x74, 0x5a, 0xfe, 0xa8, 0x88, 0xf8, 0xb0, 0x3a, 0x84,
  14110. 0xbb, 0x84, 0x18, 0x52, 0x9e, 0x39, 0x06, 0x86, 0x4c, 0x29, 0x44, 0xa2, 0xea, 0x83, 0xdd, 0xef,
  14111. 0xd4, 0xca, 0x5e, 0xd7, 0xb2, 0xdd, 0x1b, 0x5d, 0x3f, 0x46, 0x83, 0x97, 0x53, 0xde, 0xc0, 0xfb,
  14112. 0x23, 0x79, 0xb9, 0xcf, 0x46, 0x04, 0x15, 0x3f, 0x8e, 0x46, 0xe9, 0x9e, 0xde, 0x70, 0xb9, 0xc5,
  14113. 0xc5, 0x28, 0xa3, 0xad, 0xb0, 0x46, 0xe2, 0xd3, 0xb4, 0xbf, 0x80, 0x0d, 0xd4, 0x6a, 0xfd, 0x8a,
  14114. 0x6d, 0x79, 0xdd, 0xa0, 0xf3, 0x81, 0x9e, 0x5f, 0x46, 0x23, 0x36, 0x94, 0x3e, 0x62, 0xd4, 0x1e,
  14115. 0x0f, 0x46, 0x8d, 0x40, 0x1b, 0x8c, 0xda, 0xf1, 0x98, 0x94, 0x3f, 0x64, 0x4c, 0x00, 0xb2, 0xf0,
  14116. 0x98, 0xad, 0x77, 0x5a, 0x34, 0xc8, 0x6f, 0xcf, 0x65, 0x1c, 0xab, 0x6b, 0xcb, 0x84, 0x89, 0x47,
  14117. 0x1d, 0xe3, 0x9f, 0x50, 0x57, 0xf8, 0xa8, 0xda, 0x1f, 0xe4, 0xd0, 0xcc, 0xd5, 0x8d, 0x8d, 0xda,
  14118. 0xb5, 0x4e, 0x0b, 0x76, 0x8b, 0x4e, 0x4d, 0x77, 0xb7, 0x59, 0x0a, 0xee, 0xc2, 0x7f, 0xe3, 0x29,
  14119. 0x98, 0xd1, 0x08, 0xa7, 0xe0, 0x6d, 0x34, 0xce, 0xd6, 0x23, 0xed, 0x34, 0x87, 0x2c, 0xad, 0x84,
  14120. 0xba, 0xaa, 0x0f, 0x52, 0x9d, 0x11, 0x3a, 0xc6, 0x45, 0x03, 0x09, 0xe0, 0xb5, 0x5f, 0x45, 0x73,
  14121. 0x92, 0x79, 0x6c, 0xbc, 0xf8, 0x9e, 0x15, 0x37, 0xd0, 0x28, 0xb3, 0x24, 0xd8, 0x91, 0x66, 0xdd,
  14122. 0x60, 0xc5, 0xba, 0x1c, 0x4d, 0x28, 0xfb, 0x82, 0x12, 0x85, 0x63, 0x6b, 0xff, 0x91, 0x47, 0xa7,
  14123. 0xae, 0x5a, 0xb6, 0xf1, 0xa1, 0xd5, 0x71, 0x75, 0x13, 0xf2, 0xc7, 0xa2, 0xe7, 0x5a, 0x4e, 0x43,
  14124. 0x37, 0xa9, 0x7d, 0x88, 0x45, 0xab, 0xa9, 0x14, 0xad, 0xaf, 0x64, 0xed, 0x59, 0xb2, 0xbd, 0xa9,
  14125. 0x15, 0xac, 0x1b, 0xab, 0x60, 0xd7, 0x0e, 0x48, 0xdf, 0xe0, 0x72, 0xf6, 0x07, 0x39, 0xf4, 0x50,
  14126. 0x8a, 0xe4, 0x51, 0xd4, 0xb6, 0x3b, 0x6a, 0x6d, 0xbb, 0x7a, 0x30, 0x7d, 0x4e, 0x29, 0x74, 0x7f,
  14127. 0x98, 0x4f, 0xed, 0x2b, 0x2f, 0xad, 0x3e, 0x80, 0x5a, 0x83, 0x7d, 0x11, 0xba, 0x25, 0xfa, 0xba,
  14128. 0x94, 0xd1, 0x9e, 0xba, 0xb7, 0x19, 0x1c, 0xf5, 0x00, 0x08, 0x85, 0x6d, 0x61, 0x83, 0x4a, 0xd5,
  14129. 0x86, 0x00, 0x27, 0xa1, 0x1a, 0x7c, 0x0e, 0x4d, 0xf0, 0xea, 0x41, 0xc9, 0x73, 0x33, 0xec, 0x5c,
  14130. 0x68, 0x3d, 0x6a, 0x26, 0x32, 0x0f, 0x7e, 0x16, 0x44, 0xf4, 0xbd, 0x58, 0x96, 0x0b, 0x8f, 0x93,
  14131. 0xd6, 0x23, 0x12, 0x91, 0xf9, 0x20, 0xe4, 0x4f, 0x37, 0xba, 0x9e, 0x74, 0xd2, 0x28, 0xca, 0xa9,
  14132. 0xac, 0x5d, 0x4c, 0x3a, 0xb4, 0xac, 0x62, 0x50, 0x3d, 0x0d, 0x14, 0xa9, 0x8d, 0xc4, 0xd4, 0x69,
  14133. 0x7f, 0x5b, 0x40, 0x8f, 0x0c, 0xf4, 0x51, 0xbc, 0x3a, 0xa0, 0x7a, 0x38, 0x99, 0xa1, 0x72, 0x68,
  14134. 0xa2, 0x29, 0x53, 0x77, 0x5c, 0x3e, 0xdc, 0x1b, 0x46, 0x3b, 0xc8, 0x6e, 0xbf, 0x70, 0x9f, 0x8e,
  14135. 0xcb, 0x44, 0xfc, 0x14, 0xb6, 0x26, 0xa3, 0x10, 0x15, 0x94, 0x55, 0x1c, 0x62, 0xe7, 0x9f, 0x56,
  14136. 0x71, 0x2c, 0xa9, 0x64, 0x12, 0xe7, 0x67, 0x10, 0x62, 0x63, 0x1e, 0xab, 0x37, 0x42, 0x88, 0x65,
  14137. 0x95, 0x4c, 0xe2, 0xfc, 0x50, 0xf5, 0x9d, 0x11, 0xa8, 0xea, 0xf0, 0x4b, 0xa7, 0xc7, 0x7e, 0xdd,
  14138. 0xf1, 0x38, 0xc0, 0x9d, 0x59, 0x1a, 0xcc, 0x4a, 0xee, 0x85, 0xa5, 0xad, 0xa3, 0xa9, 0xab, 0x96,
  14139. 0xe3, 0xd6, 0x58, 0x4a, 0x66, 0x79, 0x0b, 0x3f, 0x82, 0x0a, 0xe0, 0x9c, 0x62, 0x27, 0x32, 0x21,
  14140. 0xcc, 0x2e, 0x30, 0xe7, 0x65, 0xed, 0x9c, 0xac, 0xef, 0x09, 0xbf, 0x8e, 0xc8, 0xe0, 0x97, 0xac,
  14141. 0x5d, 0xbb, 0x82, 0xc6, 0x45, 0x5e, 0x94, 0x81, 0x0a, 0x83, 0x81, 0x0a, 0x09, 0x40, 0x7f, 0x92,
  14142. 0x07, 0x24, 0x3f, 0x8d, 0x1c, 0x62, 0x42, 0x78, 0x5b, 0x49, 0x08, 0x17, 0x87, 0x4b, 0xb5, 0xa9,
  14143. 0x09, 0xa0, 0x19, 0x4b, 0x00, 0x2f, 0x0c, 0x89, 0x3f, 0x38, 0xe0, 0x7f, 0x91, 0x43, 0xd3, 0x6a,
  14144. 0xd2, 0x67, 0x11, 0x85, 0xad, 0x21, 0xa3, 0x41, 0xaf, 0x47, 0x1b, 0xfe, 0x30, 0xa2, 0xd4, 0x23,
  14145. 0x12, 0x91, 0xf9, 0x30, 0x0d, 0xc5, 0x98, 0x3b, 0x88, 0x41, 0xa9, 0xa4, 0x18, 0xcd, 0xae, 0x4e,
  14146. 0x2a, 0xfe, 0xd5, 0x09, 0x18, 0xea, 0xde, 0x80, 0x35, 0x6f, 0x43, 0x39, 0xd8, 0xa7, 0x86, 0x7b,
  14147. 0x96, 0x8c, 0xab, 0xfd, 0x43, 0x0e, 0x4d, 0x08, 0x83, 0x8f, 0x22, 0x23, 0xbd, 0xa5, 0x66, 0xa4,
  14148. 0xe7, 0x86, 0xac, 0xa7, 0x92, 0x33, 0xd0, 0x97, 0x51, 0x5f, 0x58, 0x05, 0xc5, 0x0a, 0xbc, 0x6d,
  14149. 0x58, 0x4e, 0xf1, 0x02, 0x8f, 0x2d, 0x31, 0xc2, 0x29, 0xf8, 0xb7, 0x72, 0x68, 0xd6, 0x88, 0xd5,
  14150. 0x5c, 0x62, 0xa8, 0x5f, 0x1a, 0xce, 0xb4, 0x10, 0x26, 0xba, 0x50, 0x8a, 0x53, 0x48, 0x9f, 0x4a,
  14151. 0xcd, 0x43, 0x7d, 0x5c, 0x58, 0x07, 0xeb, 0x5d, 0xb7, 0x3b, 0x64, 0xae, 0x4c, 0xaa, 0x26, 0xab,
  14152. 0x45, 0xde, 0x7d, 0xa0, 0x10, 0x0e, 0xad, 0x7d, 0x91, 0x0f, 0x07, 0xac, 0xee, 0xaf, 0x91, 0xb0,
  14153. 0xde, 0xcd, 0x1d, 0x44, 0xbd, 0x3b, 0x91, 0x54, 0xeb, 0x42, 0x04, 0x29, 0xb8, 0xe6, 0xb0, 0xe7,
  14154. 0x6d, 0x42, 0xc3, 0xc6, 0x5a, 0x3d, 0x8a, 0x53, 0xf0, 0x41, 0x18, 0x24, 0x7e, 0x0f, 0x8d, 0xb2,
  14155. 0xdd, 0x04, 0x5b, 0xe2, 0x85, 0xe1, 0x43, 0x08, 0x1b, 0xaf, 0xc8, 0xc3, 0xd8, 0x17, 0x78, 0x18,
  14156. 0xc7, 0x85, 0x32, 0x7d, 0x4a, 0x89, 0x03, 0xf8, 0x36, 0x9a, 0x34, 0x2d, 0xbd, 0x59, 0xd5, 0x4d,
  14157. 0x1d, 0x8a, 0x91, 0xe0, 0xec, 0xfe, 0x17, 0x07, 0x47, 0xc4, 0x35, 0x49, 0x42, 0xc4, 0x93, 0xf0,
  14158. 0x52, 0x4f, 0xa6, 0x11, 0x05, 0x5b, 0xd3, 0x11, 0x8a, 0x7a, 0x8f, 0xcf, 0xa0, 0x51, 0xe6, 0xc2,
  14159. 0xfe, 0xce, 0xa0, 0x54, 0x2d, 0x31, 0x5b, 0x99, 0x67, 0x83, 0xad, 0xbc, 0x1d, 0x9f, 0x47, 0xc8,
  14160. 0xa1, 0x0d, 0x9b, 0xba, 0x3c, 0xec, 0xf0, 0xc3, 0xaf, 0x28, 0x00, 0xd7, 0x43, 0x0a, 0x91, 0xb8,
  14161. 0xb4, 0xdf, 0xcb, 0xa3, 0xc2, 0x2b, 0xd6, 0xe6, 0x21, 0x06, 0xf9, 0x37, 0x94, 0x20, 0x9f, 0x75,
  14162. 0xfd, 0x83, 0x6d, 0xa9, 0x01, 0xfe, 0xfd, 0x58, 0x80, 0xbf, 0x30, 0x04, 0xf6, 0xe0, 0xe0, 0xfe,
  14163. 0x2f, 0x05, 0x34, 0x09, 0x5c, 0x4b, 0x56, 0xa7, 0x69, 0xf0, 0x52, 0xe8, 0x19, 0xe5, 0x90, 0xe0,
  14164. 0xd1, 0xd8, 0x21, 0xc1, 0xac, 0xcc, 0x2b, 0x1d, 0x0f, 0xdc, 0x0a, 0x0d, 0xf5, 0x27, 0xe5, 0xb2,
  14165. 0xaa, 0x0e, 0x24, 0x07, 0xde, 0xbe, 0x57, 0x42, 0x4c, 0xd5, 0x3c, 0xd8, 0xad, 0xf2, 0x1a, 0xaa,
  14166. 0x66, 0x5b, 0x9b, 0x7e, 0x61, 0x56, 0xc8, 0x5e, 0x98, 0x9d, 0x10, 0xb6, 0xf0, 0xe2, 0x2c, 0x44,
  14167. 0x22, 0x2a, 0x30, 0xbe, 0x83, 0x30, 0x6b, 0xd8, 0x80, 0xcd, 0xb5, 0xe3, 0xf7, 0x8e, 0xa9, 0x1b,
  14168. 0xc9, 0xae, 0x2e, 0x3c, 0xb5, 0x5a, 0xeb, 0x83, 0x23, 0x09, 0x2a, 0xd8, 0x39, 0x86, 0x4d, 0x75,
  14169. 0x07, 0xea, 0xd6, 0x51, 0x3e, 0x74, 0xd1, 0x76, 0x9f, 0xb7, 0x12, 0x41, 0xc5, 0x4f, 0xa1, 0xf1,
  14170. 0x36, 0xac, 0x13, 0x56, 0x9f, 0x8d, 0x71, 0xc6, 0x70, 0xe7, 0xbd, 0xee, 0x37, 0x93, 0x80, 0xae,
  14171. 0xfd, 0x4d, 0x0e, 0x8d, 0xc3, 0x44, 0x1d, 0x45, 0xf2, 0x7b, 0x5d, 0x4d, 0x7e, 0xe7, 0xb3, 0x3b,
  14172. 0x68, 0x4a, 0xe2, 0xfb, 0xab, 0x02, 0xef, 0x03, 0x8f, 0xe1, 0xb0, 0xe7, 0xe9, 0xea, 0xb6, 0x6e,
  14173. 0x9a, 0xd4, 0x34, 0x9c, 0xb6, 0x28, 0x1d, 0xf9, 0x9e, 0xa7, 0x16, 0x35, 0x13, 0x99, 0x87, 0x89,
  14174. 0x34, 0xac, 0x76, 0xd7, 0xa4, 0xc1, 0x0d, 0x43, 0x28, 0xb2, 0x14, 0x35, 0x13, 0x99, 0x07, 0xdf,
  14175. 0x40, 0x27, 0xf4, 0x86, 0x6b, 0xec, 0xd2, 0x65, 0xaa, 0x37, 0x4d, 0xa3, 0x43, 0x83, 0xd3, 0xdc,
  14176. 0x02, 0x2f, 0x21, 0x1f, 0x04, 0xe1, 0x13, 0x8b, 0x49, 0x0c, 0x24, 0x59, 0x4e, 0x39, 0x4e, 0x1f,
  14177. 0x39, 0xc4, 0xe3, 0xf4, 0x67, 0xd0, 0xa4, 0x0e, 0x3b, 0xa3, 0x80, 0xc2, 0xfd, 0xa8, 0x58, 0x9d,
  14178. 0x65, 0xa1, 0x77, 0x51, 0x6a, 0x27, 0x0a, 0x97, 0x72, 0x08, 0x3f, 0x76, 0xd0, 0xd7, 0xa6, 0x7f,
  14179. 0x5d, 0x40, 0xa5, 0x30, 0xf8, 0x60, 0x0b, 0xa1, 0x46, 0xb0, 0xc0, 0x83, 0x63, 0x9f, 0x4b, 0xd9,
  14180. 0x3d, 0x25, 0x0c, 0x12, 0x51, 0x3c, 0x0e, 0x9b, 0x1c, 0x22, 0xa9, 0x80, 0x88, 0x5c, 0x82, 0x00,
  14181. 0x62, 0xbb, 0xc3, 0xee, 0xe5, 0xa6, 0x00, 0xbb, 0x54, 0x0f, 0x10, 0x48, 0x04, 0x86, 0x5b, 0xb0,
  14182. 0x29, 0x0e, 0x7d, 0x66, 0xd8, 0x88, 0xe4, 0x6f, 0x7e, 0x15, 0x18, 0x12, 0x83, 0x65, 0x61, 0xc1,
  14183. 0xf7, 0x2a, 0xb1, 0xc1, 0x0b, 0xc3, 0x82, 0xef, 0x82, 0x44, 0x50, 0xf1, 0x02, 0x74, 0xd5, 0x6b,
  14184. 0x34, 0x28, 0x6d, 0xd2, 0xa6, 0xd8, 0xb8, 0x1d, 0x13, 0xac, 0xa5, 0x7a, 0x40, 0x20, 0x11, 0x0f,
  14185. 0x03, 0xde, 0xd2, 0x0d, 0x76, 0x13, 0x3c, 0xa6, 0x02, 0xaf, 0xf2, 0x56, 0x22, 0xa8, 0xda, 0xff,
  14186. 0xe7, 0xd1, 0x94, 0xe2, 0x7f, 0xf8, 0x37, 0x73, 0xec, 0x20, 0xc1, 0x6d, 0x6c, 0xf3, 0xe6, 0x60,
  14187. 0x22, 0xd7, 0xf7, 0xe3, 0xd3, 0x95, 0xf5, 0x08, 0xcf, 0xbf, 0xaa, 0x93, 0xce, 0x25, 0x42, 0x0a,
  14188. 0x91, 0xd5, 0xe2, 0x4f, 0xa0, 0xc0, 0xe5, 0xdf, 0x2b, 0x7b, 0x5d, 0x56, 0x39, 0x48, 0x57, 0x88,
  14189. 0x57, 0xf6, 0x63, 0x0b, 0xa1, 0x1f, 0x78, 0xb0, 0x53, 0xe6, 0xe7, 0xd1, 0x61, 0xa1, 0xbb, 0x1e,
  14190. 0x53, 0x44, 0xfa, 0x54, 0xcf, 0x5f, 0x46, 0xb3, 0xf1, 0x5e, 0x64, 0xba, 0xb2, 0xfb, 0xa3, 0x1c,
  14191. 0x2a, 0xa7, 0x19, 0xc2, 0x76, 0xb1, 0x21, 0x50, 0x54, 0x1d, 0xbe, 0x4a, 0x7b, 0x3e, 0xea, 0x0a,
  14192. 0x2a, 0x5a, 0x5d, 0x76, 0x8a, 0x21, 0x6e, 0xec, 0x4a, 0xd5, 0xa7, 0x82, 0x55, 0x79, 0x43, 0xb4,
  14193. 0x43, 0xee, 0x3d, 0xa1, 0xc0, 0x07, 0x04, 0x12, 0x8a, 0x62, 0x0d, 0x8d, 0x71, 0x7b, 0xfc, 0x2a,
  14194. 0xb3, 0x54, 0x45, 0xcc, 0x1f, 0x78, 0x7d, 0x0d, 0xa9, 0xd8, 0xa7, 0x68, 0x7f, 0x0a, 0x85, 0x35,
  14195. 0x4b, 0x00, 0xc1, 0xb9, 0xf8, 0x25, 0x96, 0x9a, 0x25, 0x58, 0x61, 0xa3, 0x94, 0x6d, 0xe5, 0x2e,
  14196. 0xa9, 0xbc, 0x4c, 0x78, 0xcb, 0xa0, 0x66, 0xb3, 0x2e, 0x5f, 0x37, 0x4a, 0xc2, 0xab, 0x32, 0x91,
  14197. 0xa8, 0xbc, 0xec, 0x44, 0xff, 0x0e, 0x1b, 0x70, 0xbe, 0xf4, 0xa4, 0x13, 0xfd, 0xd7, 0x59, 0x23,
  14198. 0xf1, 0x69, 0xec, 0xa4, 0x24, 0x38, 0x58, 0x13, 0x4f, 0xec, 0xf8, 0x42, 0x2a, 0x45, 0x27, 0x25,
  14199. 0x44, 0x25, 0x93, 0x38, 0x3f, 0xbe, 0x88, 0xa6, 0xd9, 0x5b, 0x3f, 0xcb, 0x73, 0xe5, 0x7b, 0xbd,
  14200. 0x82, 0xbf, 0x7c, 0x37, 0x14, 0x0a, 0x89, 0x71, 0xf2, 0xe7, 0x3d, 0xd7, 0xa9, 0x7b, 0xc7, 0xb2,
  14201. 0x77, 0x6a, 0x96, 0x69, 0x34, 0x7a, 0x87, 0x58, 0x7f, 0x6e, 0x2a, 0xf5, 0xe7, 0xcb, 0x19, 0xd7,
  14202. 0x80, 0x62, 0x65, 0x5a, 0x25, 0xaa, 0xfd, 0x1f, 0x38, 0xa9, 0xc2, 0x29, 0x6f, 0x4a, 0x29, 0x1a,
  14203. 0x65, 0x57, 0x2d, 0x41, 0x44, 0xd8, 0x97, 0x05, 0x6c, 0x07, 0x2f, 0x9d, 0xe9, 0x33, 0x58, 0xe2,
  14204. 0xa3, 0xb3, 0x7e, 0x6e, 0xd9, 0x56, 0x5b, 0xac, 0xf5, 0xfd, 0x69, 0xa1, 0xd4, 0x8e, 0xfa, 0xb9,
  14205. 0x0a, 0xa8, 0x84, 0x63, 0x6b, 0xff, 0x9e, 0x43, 0xc7, 0x14, 0xce, 0xa3, 0x28, 0xa2, 0x74, 0xb5,
  14206. 0x88, 0x7a, 0x61, 0x3f, 0x3d, 0x4b, 0x29, 0xa7, 0x7e, 0x3b, 0x1f, 0xeb, 0x17, 0x1b, 0x01, 0x48,
  14207. 0xcc, 0x13, 0x5d, 0xab, 0x59, 0x3f, 0xc8, 0x57, 0x5a, 0x7e, 0x59, 0x16, 0x81, 0x12, 0x59, 0x03,
  14208. 0xfe, 0x75, 0x18, 0x5e, 0xf6, 0x12, 0xc4, 0xe9, 0xea, 0x0d, 0x5a, 0x3f, 0xc8, 0xb7, 0x06, 0x27,
  14209. 0xd8, 0x65, 0xeb, 0xf5, 0x38, 0x34, 0xe9, 0xd7, 0xa6, 0xfd, 0x65, 0x7c, 0x8a, 0x99, 0x93, 0xe1,
  14210. 0xd7, 0x50, 0x91, 0x3f, 0xcb, 0x6d, 0x58, 0xa6, 0x88, 0x64, 0xcf, 0xb2, 0xd9, 0xaa, 0x89, 0x36,
  14211. 0x88, 0xa2, 0x3f, 0x37, 0x70, 0x07, 0x13, 0x30, 0x92, 0x10, 0x06, 0xaf, 0xa1, 0x91, 0xee, 0xf0,
  14212. 0xe7, 0x5c, 0xfc, 0x60, 0x83, 0x1f, 0x6e, 0x71, 0x14, 0xed, 0x47, 0x71, 0xb3, 0x79, 0x69, 0xec,
  14213. 0x1c, 0xfc, 0x0c, 0x86, 0x19, 0x38, 0x75, 0x16, 0x6d, 0x34, 0x2e, 0x8e, 0x7b, 0x86, 0xcc, 0xbb,
  14214. 0x69, 0x91, 0x24, 0xda, 0xd3, 0x04, 0x8d, 0x81, 0x22, 0xbe, 0x30, 0xb9, 0x41, 0x0d, 0xcf, 0x36,
  14215. 0xdc, 0xde, 0xa1, 0x07, 0xd5, 0x2d, 0x25, 0xa8, 0x2e, 0x67, 0xec, 0x60, 0x9f, 0xa5, 0xa9, 0x81,
  14216. 0xf5, 0xbf, 0x72, 0xe8, 0x44, 0x1f, 0xf7, 0x51, 0x04, 0x1d, 0xaa, 0x06, 0x9d, 0x97, 0xf7, 0xdb,
  14217. 0xc3, 0x94, 0xc0, 0x73, 0x17, 0x25, 0xf4, 0x8f, 0xbb, 0xee, 0x79, 0x84, 0xba, 0xb6, 0xb1, 0x0b,
  14218. 0xc5, 0x66, 0x4b, 0x3c, 0x9d, 0x2c, 0x46, 0x73, 0x52, 0x0b, 0x29, 0x44, 0xe2, 0xc2, 0xbf, 0xc6,
  14219. 0x9e, 0x35, 0x6e, 0xe9, 0x9e, 0xe9, 0x2e, 0x36, 0x9b, 0x4b, 0x7a, 0x57, 0xdf, 0x34, 0x4c, 0xa8,
  14220. 0xf9, 0xc5, 0x1d, 0x7b, 0xa9, 0xba, 0xe2, 0x3f, 0x69, 0x4c, 0xe2, 0x80, 0x15, 0xfc, 0xf3, 0x83,
  14221. 0xcf, 0x20, 0x02, 0xe6, 0x1e, 0x49, 0x51, 0x82, 0x7f, 0x03, 0xb2, 0xa0, 0xed, 0x57, 0x67, 0xcd,
  14222. 0x65, 0xdb, 0xea, 0x2a, 0x16, 0xf8, 0xa5, 0xd3, 0x15, 0xb0, 0xa0, 0x4c, 0x52, 0x78, 0xb2, 0xd8,
  14223. 0x90, 0xaa, 0x08, 0xbb, 0xe8, 0x38, 0xec, 0x73, 0xad, 0x3b, 0x54, 0x1d, 0x81, 0x11, 0xae, 0xbf,
  14224. 0xca, 0x5e, 0x8a, 0x2c, 0xf6, 0x93, 0xb3, 0xa8, 0x4e, 0x82, 0x87, 0x8d, 0xc6, 0xf8, 0xae, 0x65,
  14225. 0x7a, 0x10, 0x4d, 0xa1, 0x0c, 0x62, 0x9a, 0x58, 0xc4, 0x1d, 0xbf, 0xe5, 0x37, 0x7d, 0xcf, 0xf6,
  14226. 0x0f, 0x75, 0x7e, 0x20, 0x14, 0x70, 0xb1, 0x4b, 0x02, 0x76, 0x6a, 0x27, 0xd6, 0x3a, 0xdf, 0x6d,
  14227. 0x14, 0xa3, 0xe0, 0x72, 0x35, 0x22, 0x11, 0x99, 0x0f, 0xb7, 0x51, 0x69, 0x5b, 0x5c, 0x18, 0x39,
  14228. 0xe5, 0xf1, 0xa1, 0x12, 0xa2, 0x72, 0xe1, 0x14, 0x6d, 0x87, 0x82, 0x66, 0x87, 0x44, 0x1a, 0xd8,
  14229. 0xb1, 0x0a, 0xff, 0xb8, 0xb6, 0xcc, 0x5f, 0x40, 0x15, 0xa3, 0x10, 0x74, 0xd5, 0x6f, 0x26, 0x01,
  14230. 0x3d, 0x60, 0xbd, 0x56, 0x5b, 0x2a, 0x97, 0xfa, 0x59, 0xa1, 0x99, 0x04, 0x74, 0xdc, 0x45, 0xe3,
  14231. 0x0e, 0x5d, 0x33, 0x3a, 0xde, 0x5e, 0x19, 0xf1, 0xa5, 0xbb, 0x92, 0xf5, 0x5e, 0x78, 0x85, 0x4b,
  14232. 0xc7, 0x1e, 0xa3, 0x44, 0x1a, 0x05, 0x9d, 0x04, 0x6a, 0xf0, 0x1e, 0x2a, 0xd9, 0x5e, 0x67, 0xd1,
  14233. 0xb9, 0xe9, 0x50, 0xbb, 0x3c, 0xc1, 0x75, 0x66, 0x8d, 0xca, 0x24, 0x90, 0x8f, 0x6b, 0x0d, 0x47,
  14234. 0x30, 0xe4, 0x20, 0x91, 0x32, 0xfc, 0xfb, 0x39, 0x84, 0x1d, 0xaf, 0x0b, 0x9b, 0x57, 0xb6, 0x63,
  14235. 0xd1, 0x4d, 0xfe, 0x1e, 0xc6, 0x29, 0x4f, 0x72, 0x1b, 0x6a, 0x99, 0xef, 0xc3, 0xe3, 0x40, 0x71,
  14236. 0x63, 0xc2, 0xf3, 0xb5, 0x7e, 0x56, 0x92, 0x60, 0x07, 0x9b, 0x8a, 0x2d, 0x87, 0xff, 0xbb, 0x3c,
  14237. 0x35, 0xd4, 0x54, 0x24, 0xbf, 0x0b, 0x8a, 0xa6, 0x42, 0xd0, 0x49, 0xa0, 0x86, 0xbd, 0xbd, 0xb6,
  14238. 0xa9, 0xde, 0xbc, 0xd1, 0x31, 0x7b, 0xc4, 0xb2, 0xdc, 0x55, 0x88, 0x5d, 0x4e, 0xcf, 0x81, 0x68,
  14239. 0x58, 0x9e, 0xe6, 0x6e, 0x13, 0xbe, 0xbd, 0x26, 0x89, 0x5c, 0x24, 0x45, 0x9a, 0xbf, 0xbd, 0x16,
  14240. 0xd7, 0xb8, 0x87, 0xfb, 0x1b, 0x8b, 0xfd, 0xbd, 0xbd, 0x8e, 0x4c, 0x3c, 0xb4, 0xb7, 0xd7, 0x92,
  14241. 0x8a, 0x7b, 0xbf, 0xbd, 0x8e, 0x98, 0x7f, 0x0a, 0xde, 0x5e, 0x47, 0xc6, 0xa6, 0xe4, 0xd3, 0x1f,
  14242. 0x2b, 0x3d, 0xfa, 0x19, 0x7c, 0xe0, 0xcb, 0x2e, 0x74, 0x66, 0xe3, 0x0e, 0xa0, 0xbc, 0xfd, 0xcc,
  14243. 0xdd, 0xf3, 0xed, 0x67, 0x0d, 0xcd, 0x6d, 0x79, 0xa6, 0xd9, 0xe3, 0xbd, 0x91, 0xde, 0x52, 0xf8,
  14244. 0xc7, 0xc4, 0x0f, 0x0b, 0xc9, 0xb9, 0xd5, 0x04, 0x1e, 0x92, 0x28, 0x99, 0xf2, 0x8e, 0xb5, 0x30,
  14245. 0xd4, 0x3b, 0xd6, 0x4b, 0x68, 0x8a, 0x45, 0x80, 0x5e, 0xec, 0x89, 0x47, 0x78, 0x38, 0x42, 0x64,
  14246. 0x22, 0x51, 0x79, 0xb5, 0x87, 0xd1, 0xbc, 0xf8, 0x37, 0xc3, 0x5a, 0xb2, 0x3a, 0x2e, 0x7b, 0x47,
  14247. 0x49, 0xed, 0x65, 0xaf, 0xdd, 0xee, 0x69, 0x97, 0xc1, 0x79, 0x94, 0x17, 0xbb, 0xfe, 0xc0, 0xf9,
  14248. 0x8f, 0x88, 0xc5, 0x53, 0x0a, 0x69, 0xe0, 0xfc, 0x76, 0x12, 0x72, 0x68, 0xdf, 0xe4, 0xd0, 0xa9,
  14249. 0x94, 0x37, 0x9c, 0xf8, 0x36, 0x9a, 0x6e, 0xeb, 0x7b, 0xd2, 0x23, 0x55, 0xb1, 0xbc, 0xb2, 0x6e,
  14250. 0x7c, 0xf8, 0xf1, 0xca, 0xba, 0x82, 0x44, 0x62, 0xc8, 0x3c, 0xf6, 0xe9, 0x7b, 0x75, 0xcf, 0x6e,
  14251. 0xd1, 0x21, 0xb7, 0x57, 0xdc, 0x75, 0xd7, 0x05, 0x06, 0x09, 0xd1, 0xd8, 0x4b, 0xd0, 0x72, 0x5a,
  14252. 0x22, 0x84, 0x92, 0x46, 0x7e, 0x0b, 0xfa, 0x58, 0xec, 0x2d, 0xe8, 0xb1, 0x3e, 0xb9, 0x23, 0x7a,
  14253. 0x09, 0xfa, 0x65, 0x0e, 0x9d, 0x4c, 0x2e, 0x18, 0xf0, 0x2f, 0x29, 0x16, 0x9f, 0x89, 0x59, 0x3c,
  14254. 0x13, 0x93, 0x12, 0xf6, 0x6e, 0xa3, 0x69, 0x51, 0x56, 0x08, 0x98, 0xfb, 0xf8, 0xc1, 0xe2, 0x6e,
  14255. 0x58, 0xb3, 0x04, 0x09, 0x92, 0xcf, 0xa3, 0xda, 0x46, 0x62, 0xb8, 0xda, 0x1f, 0xe6, 0xd1, 0x28,
  14256. 0x7f, 0x20, 0x75, 0x88, 0xd9, 0xec, 0x4d, 0x25, 0x9b, 0x65, 0xbd, 0x42, 0xe5, 0xd6, 0xa5, 0x26,
  14257. 0xb2, 0xcd, 0x58, 0x22, 0xbb, 0x38, 0x14, 0xfa, 0xe0, 0x1c, 0xf6, 0x3c, 0x2a, 0x85, 0x46, 0x64,
  14258. 0x8b, 0x73, 0xac, 0x62, 0x98, 0x90, 0x54, 0x64, 0x8c, 0x92, 0xbb, 0x4a, 0xb6, 0x18, 0xe6, 0x97,
  14259. 0xb5, 0x92, 0xee, 0x4a, 0x90, 0x26, 0xfc, 0x63, 0xfe, 0xe8, 0x89, 0x63, 0x7f, 0xf6, 0x80, 0x20,
  14260. 0xe5, 0xff, 0x3c, 0x39, 0x3c, 0xd6, 0x28, 0x70, 0xef, 0x3d, 0x29, 0x64, 0xa6, 0x37, 0x14, 0x2a,
  14261. 0x89, 0x71, 0xcf, 0x43, 0xfc, 0x54, 0x94, 0x65, 0x3a, 0x8d, 0xff, 0x26, 0x8f, 0x26, 0xeb, 0x20,
  14262. 0xa9, 0xb7, 0xe8, 0x92, 0xa9, 0x1f, 0xea, 0xe3, 0x30, 0xd8, 0x20, 0x75, 0x6d, 0xcb, 0x8f, 0xac,
  14263. 0x34, 0x38, 0x02, 0x8f, 0x4e, 0x5f, 0x22, 0x12, 0x91, 0xf9, 0xf0, 0x47, 0xb0, 0x6f, 0xd6, 0x6d,
  14264. 0x1d, 0x60, 0xa0, 0x32, 0x11, 0xcf, 0x42, 0x5e, 0xcd, 0x3a, 0x31, 0x52, 0x0f, 0x2b, 0xb5, 0x10,
  14265. 0xcd, 0x9f, 0x9b, 0x68, 0x13, 0x1e, 0x12, 0x88, 0xa4, 0x72, 0xfe, 0x45, 0x34, 0x13, 0x13, 0xc9,
  14266. 0x34, 0xc2, 0xff, 0x9a, 0x43, 0xb3, 0xb2, 0xfe, 0xa3, 0xa8, 0xca, 0xde, 0x57, 0xab, 0xb2, 0x4b,
  14267. 0xfb, 0x18, 0xae, 0x94, 0xba, 0xec, 0xef, 0x72, 0x68, 0x2e, 0xe9, 0x31, 0x2f, 0x7b, 0xb1, 0xb5,
  14268. 0x63, 0x88, 0xd7, 0x47, 0xd2, 0x8b, 0xad, 0x57, 0xa1, 0x8d, 0x70, 0x4a, 0xf8, 0xbb, 0xb9, 0x7c,
  14269. 0xea, 0xef, 0xe6, 0xce, 0x23, 0x04, 0xa6, 0x05, 0xf7, 0x18, 0x05, 0xf5, 0xdd, 0x4b, 0xf4, 0x3f,
  14270. 0x11, 0x20, 0x12, 0x17, 0x7f, 0xa3, 0x17, 0xd9, 0x23, 0x2e, 0x3f, 0xa2, 0xc7, 0x73, 0x92, 0xa9,
  14271. 0x32, 0x9f, 0xf6, 0xf7, 0x39, 0xf4, 0xd8, 0x3d, 0x37, 0x61, 0xb8, 0xaa, 0xa4, 0x95, 0x4a, 0x2c,
  14272. 0xad, 0x9c, 0x4e, 0x07, 0x38, 0xc2, 0xdf, 0x47, 0x7c, 0x9a, 0x47, 0x78, 0x63, 0xdb, 0xb0, 0x9b,
  14273. 0xe0, 0xac, 0x6e, 0x2f, 0xb8, 0xed, 0x39, 0xdc, 0xf5, 0xdc, 0xa4, 0x4e, 0xc3, 0x36, 0xf8, 0x20,
  14274. 0xc5, 0xd7, 0xf3, 0x72, 0x44, 0x22, 0x32, 0x1f, 0x6c, 0x86, 0x8a, 0xc2, 0x9b, 0x83, 0xd5, 0x9c,
  14275. 0x75, 0xd3, 0x10, 0x79, 0x40, 0xb4, 0x08, 0x44, 0x03, 0xc4, 0xf3, 0x00, 0x5c, 0xfb, 0x0c, 0xca,
  14276. 0x84, 0xfe, 0x01, 0x59, 0xf6, 0x9f, 0x30, 0x1d, 0xd6, 0xa0, 0x3c, 0x8c, 0x46, 0x38, 0x2a, 0x1b,
  14277. 0x8d, 0x49, 0xff, 0x50, 0x9b, 0x69, 0x24, 0xbc, 0x55, 0xfb, 0x2e, 0x87, 0xe6, 0x93, 0x4d, 0x3a,
  14278. 0x8a, 0xa8, 0x70, 0x5b, 0x8d, 0x0a, 0x59, 0x0f, 0x06, 0x92, 0x0d, 0x4f, 0x89, 0x0f, 0xdf, 0x24,
  14279. 0x0e, 0xfe, 0x51, 0xf4, 0x72, 0x4b, 0xed, 0xe5, 0xe2, 0xbe, 0x7b, 0x99, 0xdc, 0xc3, 0xea, 0x53,
  14280. 0x77, 0xff, 0xe7, 0xf4, 0x03, 0x5f, 0xc1, 0xdf, 0x7f, 0xc2, 0xdf, 0xc7, 0xdf, 0x9e, 0xce, 0xdd,
  14281. 0x85, 0xbf, 0xaf, 0xe0, 0xef, 0xbf, 0xe1, 0xef, 0xb3, 0xff, 0x3d, 0xfd, 0xc0, 0x9b, 0xe3, 0x02,
  14282. 0xf3, 0x27, 0x01, 0x00, 0x00, 0xff, 0xff, 0x55, 0x2c, 0x00, 0x0f, 0x93, 0x46, 0x00, 0x00,
  14283. }