generated.pb.go 109 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536
  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/api/unversioned/generated.proto
  15. // DO NOT EDIT!
  16. /*
  17. Package unversioned is a generated protocol buffer package.
  18. It is generated from these files:
  19. k8s.io/kubernetes/pkg/api/unversioned/generated.proto
  20. It has these top-level messages:
  21. APIGroup
  22. APIGroupList
  23. APIResource
  24. APIResourceList
  25. APIVersions
  26. Duration
  27. ExportOptions
  28. GroupKind
  29. GroupResource
  30. GroupVersion
  31. GroupVersionForDiscovery
  32. GroupVersionKind
  33. GroupVersionResource
  34. LabelSelector
  35. LabelSelectorRequirement
  36. ListMeta
  37. RootPaths
  38. ServerAddressByClientCIDR
  39. Status
  40. StatusCause
  41. StatusDetails
  42. Time
  43. Timestamp
  44. TypeMeta
  45. */
  46. package unversioned
  47. import proto "github.com/gogo/protobuf/proto"
  48. import fmt "fmt"
  49. import math "math"
  50. import time "time"
  51. import strings "strings"
  52. import reflect "reflect"
  53. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  54. import io "io"
  55. // Reference imports to suppress errors if they are not otherwise used.
  56. var _ = proto.Marshal
  57. var _ = fmt.Errorf
  58. var _ = math.Inf
  59. // This is a compile-time assertion to ensure that this generated file
  60. // is compatible with the proto package it is being compiled against.
  61. const _ = proto.GoGoProtoPackageIsVersion1
  62. func (m *APIGroup) Reset() { *m = APIGroup{} }
  63. func (*APIGroup) ProtoMessage() {}
  64. func (*APIGroup) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  65. func (m *APIGroupList) Reset() { *m = APIGroupList{} }
  66. func (*APIGroupList) ProtoMessage() {}
  67. func (*APIGroupList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  68. func (m *APIResource) Reset() { *m = APIResource{} }
  69. func (*APIResource) ProtoMessage() {}
  70. func (*APIResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  71. func (m *APIResourceList) Reset() { *m = APIResourceList{} }
  72. func (*APIResourceList) ProtoMessage() {}
  73. func (*APIResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  74. func (m *APIVersions) Reset() { *m = APIVersions{} }
  75. func (*APIVersions) ProtoMessage() {}
  76. func (*APIVersions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  77. func (m *Duration) Reset() { *m = Duration{} }
  78. func (*Duration) ProtoMessage() {}
  79. func (*Duration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  80. func (m *ExportOptions) Reset() { *m = ExportOptions{} }
  81. func (*ExportOptions) ProtoMessage() {}
  82. func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  83. func (m *GroupKind) Reset() { *m = GroupKind{} }
  84. func (*GroupKind) ProtoMessage() {}
  85. func (*GroupKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  86. func (m *GroupResource) Reset() { *m = GroupResource{} }
  87. func (*GroupResource) ProtoMessage() {}
  88. func (*GroupResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  89. func (m *GroupVersion) Reset() { *m = GroupVersion{} }
  90. func (*GroupVersion) ProtoMessage() {}
  91. func (*GroupVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  92. func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} }
  93. func (*GroupVersionForDiscovery) ProtoMessage() {}
  94. func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) {
  95. return fileDescriptorGenerated, []int{10}
  96. }
  97. func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} }
  98. func (*GroupVersionKind) ProtoMessage() {}
  99. func (*GroupVersionKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  100. func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} }
  101. func (*GroupVersionResource) ProtoMessage() {}
  102. func (*GroupVersionResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  103. func (m *LabelSelector) Reset() { *m = LabelSelector{} }
  104. func (*LabelSelector) ProtoMessage() {}
  105. func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  106. func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} }
  107. func (*LabelSelectorRequirement) ProtoMessage() {}
  108. func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {
  109. return fileDescriptorGenerated, []int{14}
  110. }
  111. func (m *ListMeta) Reset() { *m = ListMeta{} }
  112. func (*ListMeta) ProtoMessage() {}
  113. func (*ListMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  114. func (m *RootPaths) Reset() { *m = RootPaths{} }
  115. func (*RootPaths) ProtoMessage() {}
  116. func (*RootPaths) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  117. func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} }
  118. func (*ServerAddressByClientCIDR) ProtoMessage() {}
  119. func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) {
  120. return fileDescriptorGenerated, []int{17}
  121. }
  122. func (m *Status) Reset() { *m = Status{} }
  123. func (*Status) ProtoMessage() {}
  124. func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  125. func (m *StatusCause) Reset() { *m = StatusCause{} }
  126. func (*StatusCause) ProtoMessage() {}
  127. func (*StatusCause) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  128. func (m *StatusDetails) Reset() { *m = StatusDetails{} }
  129. func (*StatusDetails) ProtoMessage() {}
  130. func (*StatusDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
  131. func (m *Time) Reset() { *m = Time{} }
  132. func (*Time) ProtoMessage() {}
  133. func (*Time) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
  134. func (m *Timestamp) Reset() { *m = Timestamp{} }
  135. func (*Timestamp) ProtoMessage() {}
  136. func (*Timestamp) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
  137. func (m *TypeMeta) Reset() { *m = TypeMeta{} }
  138. func (*TypeMeta) ProtoMessage() {}
  139. func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
  140. func init() {
  141. proto.RegisterType((*APIGroup)(nil), "k8s.io.kubernetes.pkg.api.unversioned.APIGroup")
  142. proto.RegisterType((*APIGroupList)(nil), "k8s.io.kubernetes.pkg.api.unversioned.APIGroupList")
  143. proto.RegisterType((*APIResource)(nil), "k8s.io.kubernetes.pkg.api.unversioned.APIResource")
  144. proto.RegisterType((*APIResourceList)(nil), "k8s.io.kubernetes.pkg.api.unversioned.APIResourceList")
  145. proto.RegisterType((*APIVersions)(nil), "k8s.io.kubernetes.pkg.api.unversioned.APIVersions")
  146. proto.RegisterType((*Duration)(nil), "k8s.io.kubernetes.pkg.api.unversioned.Duration")
  147. proto.RegisterType((*ExportOptions)(nil), "k8s.io.kubernetes.pkg.api.unversioned.ExportOptions")
  148. proto.RegisterType((*GroupKind)(nil), "k8s.io.kubernetes.pkg.api.unversioned.GroupKind")
  149. proto.RegisterType((*GroupResource)(nil), "k8s.io.kubernetes.pkg.api.unversioned.GroupResource")
  150. proto.RegisterType((*GroupVersion)(nil), "k8s.io.kubernetes.pkg.api.unversioned.GroupVersion")
  151. proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.kubernetes.pkg.api.unversioned.GroupVersionForDiscovery")
  152. proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.kubernetes.pkg.api.unversioned.GroupVersionKind")
  153. proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.kubernetes.pkg.api.unversioned.GroupVersionResource")
  154. proto.RegisterType((*LabelSelector)(nil), "k8s.io.kubernetes.pkg.api.unversioned.LabelSelector")
  155. proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.kubernetes.pkg.api.unversioned.LabelSelectorRequirement")
  156. proto.RegisterType((*ListMeta)(nil), "k8s.io.kubernetes.pkg.api.unversioned.ListMeta")
  157. proto.RegisterType((*RootPaths)(nil), "k8s.io.kubernetes.pkg.api.unversioned.RootPaths")
  158. proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.kubernetes.pkg.api.unversioned.ServerAddressByClientCIDR")
  159. proto.RegisterType((*Status)(nil), "k8s.io.kubernetes.pkg.api.unversioned.Status")
  160. proto.RegisterType((*StatusCause)(nil), "k8s.io.kubernetes.pkg.api.unversioned.StatusCause")
  161. proto.RegisterType((*StatusDetails)(nil), "k8s.io.kubernetes.pkg.api.unversioned.StatusDetails")
  162. proto.RegisterType((*Time)(nil), "k8s.io.kubernetes.pkg.api.unversioned.Time")
  163. proto.RegisterType((*Timestamp)(nil), "k8s.io.kubernetes.pkg.api.unversioned.Timestamp")
  164. proto.RegisterType((*TypeMeta)(nil), "k8s.io.kubernetes.pkg.api.unversioned.TypeMeta")
  165. }
  166. func (m *APIGroup) Marshal() (data []byte, err error) {
  167. size := m.Size()
  168. data = make([]byte, size)
  169. n, err := m.MarshalTo(data)
  170. if err != nil {
  171. return nil, err
  172. }
  173. return data[:n], nil
  174. }
  175. func (m *APIGroup) MarshalTo(data []byte) (int, error) {
  176. var i int
  177. _ = i
  178. var l int
  179. _ = l
  180. data[i] = 0xa
  181. i++
  182. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  183. i += copy(data[i:], m.Name)
  184. if len(m.Versions) > 0 {
  185. for _, msg := range m.Versions {
  186. data[i] = 0x12
  187. i++
  188. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  189. n, err := msg.MarshalTo(data[i:])
  190. if err != nil {
  191. return 0, err
  192. }
  193. i += n
  194. }
  195. }
  196. data[i] = 0x1a
  197. i++
  198. i = encodeVarintGenerated(data, i, uint64(m.PreferredVersion.Size()))
  199. n1, err := m.PreferredVersion.MarshalTo(data[i:])
  200. if err != nil {
  201. return 0, err
  202. }
  203. i += n1
  204. if len(m.ServerAddressByClientCIDRs) > 0 {
  205. for _, msg := range m.ServerAddressByClientCIDRs {
  206. data[i] = 0x22
  207. i++
  208. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  209. n, err := msg.MarshalTo(data[i:])
  210. if err != nil {
  211. return 0, err
  212. }
  213. i += n
  214. }
  215. }
  216. return i, nil
  217. }
  218. func (m *APIGroupList) Marshal() (data []byte, err error) {
  219. size := m.Size()
  220. data = make([]byte, size)
  221. n, err := m.MarshalTo(data)
  222. if err != nil {
  223. return nil, err
  224. }
  225. return data[:n], nil
  226. }
  227. func (m *APIGroupList) MarshalTo(data []byte) (int, error) {
  228. var i int
  229. _ = i
  230. var l int
  231. _ = l
  232. if len(m.Groups) > 0 {
  233. for _, msg := range m.Groups {
  234. data[i] = 0xa
  235. i++
  236. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  237. n, err := msg.MarshalTo(data[i:])
  238. if err != nil {
  239. return 0, err
  240. }
  241. i += n
  242. }
  243. }
  244. return i, nil
  245. }
  246. func (m *APIResource) Marshal() (data []byte, err error) {
  247. size := m.Size()
  248. data = make([]byte, size)
  249. n, err := m.MarshalTo(data)
  250. if err != nil {
  251. return nil, err
  252. }
  253. return data[:n], nil
  254. }
  255. func (m *APIResource) MarshalTo(data []byte) (int, error) {
  256. var i int
  257. _ = i
  258. var l int
  259. _ = l
  260. data[i] = 0xa
  261. i++
  262. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  263. i += copy(data[i:], m.Name)
  264. data[i] = 0x10
  265. i++
  266. if m.Namespaced {
  267. data[i] = 1
  268. } else {
  269. data[i] = 0
  270. }
  271. i++
  272. data[i] = 0x1a
  273. i++
  274. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  275. i += copy(data[i:], m.Kind)
  276. return i, nil
  277. }
  278. func (m *APIResourceList) Marshal() (data []byte, err error) {
  279. size := m.Size()
  280. data = make([]byte, size)
  281. n, err := m.MarshalTo(data)
  282. if err != nil {
  283. return nil, err
  284. }
  285. return data[:n], nil
  286. }
  287. func (m *APIResourceList) MarshalTo(data []byte) (int, error) {
  288. var i int
  289. _ = i
  290. var l int
  291. _ = l
  292. data[i] = 0xa
  293. i++
  294. i = encodeVarintGenerated(data, i, uint64(len(m.GroupVersion)))
  295. i += copy(data[i:], m.GroupVersion)
  296. if len(m.APIResources) > 0 {
  297. for _, msg := range m.APIResources {
  298. data[i] = 0x12
  299. i++
  300. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  301. n, err := msg.MarshalTo(data[i:])
  302. if err != nil {
  303. return 0, err
  304. }
  305. i += n
  306. }
  307. }
  308. return i, nil
  309. }
  310. func (m *APIVersions) Marshal() (data []byte, err error) {
  311. size := m.Size()
  312. data = make([]byte, size)
  313. n, err := m.MarshalTo(data)
  314. if err != nil {
  315. return nil, err
  316. }
  317. return data[:n], nil
  318. }
  319. func (m *APIVersions) MarshalTo(data []byte) (int, error) {
  320. var i int
  321. _ = i
  322. var l int
  323. _ = l
  324. if len(m.Versions) > 0 {
  325. for _, s := range m.Versions {
  326. data[i] = 0xa
  327. i++
  328. l = len(s)
  329. for l >= 1<<7 {
  330. data[i] = uint8(uint64(l)&0x7f | 0x80)
  331. l >>= 7
  332. i++
  333. }
  334. data[i] = uint8(l)
  335. i++
  336. i += copy(data[i:], s)
  337. }
  338. }
  339. if len(m.ServerAddressByClientCIDRs) > 0 {
  340. for _, msg := range m.ServerAddressByClientCIDRs {
  341. data[i] = 0x12
  342. i++
  343. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  344. n, err := msg.MarshalTo(data[i:])
  345. if err != nil {
  346. return 0, err
  347. }
  348. i += n
  349. }
  350. }
  351. return i, nil
  352. }
  353. func (m *Duration) Marshal() (data []byte, err error) {
  354. size := m.Size()
  355. data = make([]byte, size)
  356. n, err := m.MarshalTo(data)
  357. if err != nil {
  358. return nil, err
  359. }
  360. return data[:n], nil
  361. }
  362. func (m *Duration) MarshalTo(data []byte) (int, error) {
  363. var i int
  364. _ = i
  365. var l int
  366. _ = l
  367. data[i] = 0x8
  368. i++
  369. i = encodeVarintGenerated(data, i, uint64(m.Duration))
  370. return i, nil
  371. }
  372. func (m *ExportOptions) Marshal() (data []byte, err error) {
  373. size := m.Size()
  374. data = make([]byte, size)
  375. n, err := m.MarshalTo(data)
  376. if err != nil {
  377. return nil, err
  378. }
  379. return data[:n], nil
  380. }
  381. func (m *ExportOptions) MarshalTo(data []byte) (int, error) {
  382. var i int
  383. _ = i
  384. var l int
  385. _ = l
  386. data[i] = 0x8
  387. i++
  388. if m.Export {
  389. data[i] = 1
  390. } else {
  391. data[i] = 0
  392. }
  393. i++
  394. data[i] = 0x10
  395. i++
  396. if m.Exact {
  397. data[i] = 1
  398. } else {
  399. data[i] = 0
  400. }
  401. i++
  402. return i, nil
  403. }
  404. func (m *GroupKind) Marshal() (data []byte, err error) {
  405. size := m.Size()
  406. data = make([]byte, size)
  407. n, err := m.MarshalTo(data)
  408. if err != nil {
  409. return nil, err
  410. }
  411. return data[:n], nil
  412. }
  413. func (m *GroupKind) MarshalTo(data []byte) (int, error) {
  414. var i int
  415. _ = i
  416. var l int
  417. _ = l
  418. data[i] = 0xa
  419. i++
  420. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  421. i += copy(data[i:], m.Group)
  422. data[i] = 0x12
  423. i++
  424. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  425. i += copy(data[i:], m.Kind)
  426. return i, nil
  427. }
  428. func (m *GroupResource) Marshal() (data []byte, err error) {
  429. size := m.Size()
  430. data = make([]byte, size)
  431. n, err := m.MarshalTo(data)
  432. if err != nil {
  433. return nil, err
  434. }
  435. return data[:n], nil
  436. }
  437. func (m *GroupResource) MarshalTo(data []byte) (int, error) {
  438. var i int
  439. _ = i
  440. var l int
  441. _ = l
  442. data[i] = 0xa
  443. i++
  444. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  445. i += copy(data[i:], m.Group)
  446. data[i] = 0x12
  447. i++
  448. i = encodeVarintGenerated(data, i, uint64(len(m.Resource)))
  449. i += copy(data[i:], m.Resource)
  450. return i, nil
  451. }
  452. func (m *GroupVersion) Marshal() (data []byte, err error) {
  453. size := m.Size()
  454. data = make([]byte, size)
  455. n, err := m.MarshalTo(data)
  456. if err != nil {
  457. return nil, err
  458. }
  459. return data[:n], nil
  460. }
  461. func (m *GroupVersion) MarshalTo(data []byte) (int, error) {
  462. var i int
  463. _ = i
  464. var l int
  465. _ = l
  466. data[i] = 0xa
  467. i++
  468. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  469. i += copy(data[i:], m.Group)
  470. data[i] = 0x12
  471. i++
  472. i = encodeVarintGenerated(data, i, uint64(len(m.Version)))
  473. i += copy(data[i:], m.Version)
  474. return i, nil
  475. }
  476. func (m *GroupVersionForDiscovery) Marshal() (data []byte, err error) {
  477. size := m.Size()
  478. data = make([]byte, size)
  479. n, err := m.MarshalTo(data)
  480. if err != nil {
  481. return nil, err
  482. }
  483. return data[:n], nil
  484. }
  485. func (m *GroupVersionForDiscovery) MarshalTo(data []byte) (int, error) {
  486. var i int
  487. _ = i
  488. var l int
  489. _ = l
  490. data[i] = 0xa
  491. i++
  492. i = encodeVarintGenerated(data, i, uint64(len(m.GroupVersion)))
  493. i += copy(data[i:], m.GroupVersion)
  494. data[i] = 0x12
  495. i++
  496. i = encodeVarintGenerated(data, i, uint64(len(m.Version)))
  497. i += copy(data[i:], m.Version)
  498. return i, nil
  499. }
  500. func (m *GroupVersionKind) Marshal() (data []byte, err error) {
  501. size := m.Size()
  502. data = make([]byte, size)
  503. n, err := m.MarshalTo(data)
  504. if err != nil {
  505. return nil, err
  506. }
  507. return data[:n], nil
  508. }
  509. func (m *GroupVersionKind) MarshalTo(data []byte) (int, error) {
  510. var i int
  511. _ = i
  512. var l int
  513. _ = l
  514. data[i] = 0xa
  515. i++
  516. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  517. i += copy(data[i:], m.Group)
  518. data[i] = 0x12
  519. i++
  520. i = encodeVarintGenerated(data, i, uint64(len(m.Version)))
  521. i += copy(data[i:], m.Version)
  522. data[i] = 0x1a
  523. i++
  524. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  525. i += copy(data[i:], m.Kind)
  526. return i, nil
  527. }
  528. func (m *GroupVersionResource) Marshal() (data []byte, err error) {
  529. size := m.Size()
  530. data = make([]byte, size)
  531. n, err := m.MarshalTo(data)
  532. if err != nil {
  533. return nil, err
  534. }
  535. return data[:n], nil
  536. }
  537. func (m *GroupVersionResource) MarshalTo(data []byte) (int, error) {
  538. var i int
  539. _ = i
  540. var l int
  541. _ = l
  542. data[i] = 0xa
  543. i++
  544. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  545. i += copy(data[i:], m.Group)
  546. data[i] = 0x12
  547. i++
  548. i = encodeVarintGenerated(data, i, uint64(len(m.Version)))
  549. i += copy(data[i:], m.Version)
  550. data[i] = 0x1a
  551. i++
  552. i = encodeVarintGenerated(data, i, uint64(len(m.Resource)))
  553. i += copy(data[i:], m.Resource)
  554. return i, nil
  555. }
  556. func (m *LabelSelector) Marshal() (data []byte, err error) {
  557. size := m.Size()
  558. data = make([]byte, size)
  559. n, err := m.MarshalTo(data)
  560. if err != nil {
  561. return nil, err
  562. }
  563. return data[:n], nil
  564. }
  565. func (m *LabelSelector) MarshalTo(data []byte) (int, error) {
  566. var i int
  567. _ = i
  568. var l int
  569. _ = l
  570. if len(m.MatchLabels) > 0 {
  571. for k := range m.MatchLabels {
  572. data[i] = 0xa
  573. i++
  574. v := m.MatchLabels[k]
  575. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  576. i = encodeVarintGenerated(data, i, uint64(mapSize))
  577. data[i] = 0xa
  578. i++
  579. i = encodeVarintGenerated(data, i, uint64(len(k)))
  580. i += copy(data[i:], k)
  581. data[i] = 0x12
  582. i++
  583. i = encodeVarintGenerated(data, i, uint64(len(v)))
  584. i += copy(data[i:], v)
  585. }
  586. }
  587. if len(m.MatchExpressions) > 0 {
  588. for _, msg := range m.MatchExpressions {
  589. data[i] = 0x12
  590. i++
  591. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  592. n, err := msg.MarshalTo(data[i:])
  593. if err != nil {
  594. return 0, err
  595. }
  596. i += n
  597. }
  598. }
  599. return i, nil
  600. }
  601. func (m *LabelSelectorRequirement) Marshal() (data []byte, err error) {
  602. size := m.Size()
  603. data = make([]byte, size)
  604. n, err := m.MarshalTo(data)
  605. if err != nil {
  606. return nil, err
  607. }
  608. return data[:n], nil
  609. }
  610. func (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) {
  611. var i int
  612. _ = i
  613. var l int
  614. _ = l
  615. data[i] = 0xa
  616. i++
  617. i = encodeVarintGenerated(data, i, uint64(len(m.Key)))
  618. i += copy(data[i:], m.Key)
  619. data[i] = 0x12
  620. i++
  621. i = encodeVarintGenerated(data, i, uint64(len(m.Operator)))
  622. i += copy(data[i:], m.Operator)
  623. if len(m.Values) > 0 {
  624. for _, s := range m.Values {
  625. data[i] = 0x1a
  626. i++
  627. l = len(s)
  628. for l >= 1<<7 {
  629. data[i] = uint8(uint64(l)&0x7f | 0x80)
  630. l >>= 7
  631. i++
  632. }
  633. data[i] = uint8(l)
  634. i++
  635. i += copy(data[i:], s)
  636. }
  637. }
  638. return i, nil
  639. }
  640. func (m *ListMeta) Marshal() (data []byte, err error) {
  641. size := m.Size()
  642. data = make([]byte, size)
  643. n, err := m.MarshalTo(data)
  644. if err != nil {
  645. return nil, err
  646. }
  647. return data[:n], nil
  648. }
  649. func (m *ListMeta) MarshalTo(data []byte) (int, error) {
  650. var i int
  651. _ = i
  652. var l int
  653. _ = l
  654. data[i] = 0xa
  655. i++
  656. i = encodeVarintGenerated(data, i, uint64(len(m.SelfLink)))
  657. i += copy(data[i:], m.SelfLink)
  658. data[i] = 0x12
  659. i++
  660. i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion)))
  661. i += copy(data[i:], m.ResourceVersion)
  662. return i, nil
  663. }
  664. func (m *RootPaths) Marshal() (data []byte, err error) {
  665. size := m.Size()
  666. data = make([]byte, size)
  667. n, err := m.MarshalTo(data)
  668. if err != nil {
  669. return nil, err
  670. }
  671. return data[:n], nil
  672. }
  673. func (m *RootPaths) MarshalTo(data []byte) (int, error) {
  674. var i int
  675. _ = i
  676. var l int
  677. _ = l
  678. if len(m.Paths) > 0 {
  679. for _, s := range m.Paths {
  680. data[i] = 0xa
  681. i++
  682. l = len(s)
  683. for l >= 1<<7 {
  684. data[i] = uint8(uint64(l)&0x7f | 0x80)
  685. l >>= 7
  686. i++
  687. }
  688. data[i] = uint8(l)
  689. i++
  690. i += copy(data[i:], s)
  691. }
  692. }
  693. return i, nil
  694. }
  695. func (m *ServerAddressByClientCIDR) Marshal() (data []byte, err error) {
  696. size := m.Size()
  697. data = make([]byte, size)
  698. n, err := m.MarshalTo(data)
  699. if err != nil {
  700. return nil, err
  701. }
  702. return data[:n], nil
  703. }
  704. func (m *ServerAddressByClientCIDR) MarshalTo(data []byte) (int, error) {
  705. var i int
  706. _ = i
  707. var l int
  708. _ = l
  709. data[i] = 0xa
  710. i++
  711. i = encodeVarintGenerated(data, i, uint64(len(m.ClientCIDR)))
  712. i += copy(data[i:], m.ClientCIDR)
  713. data[i] = 0x12
  714. i++
  715. i = encodeVarintGenerated(data, i, uint64(len(m.ServerAddress)))
  716. i += copy(data[i:], m.ServerAddress)
  717. return i, nil
  718. }
  719. func (m *Status) Marshal() (data []byte, err error) {
  720. size := m.Size()
  721. data = make([]byte, size)
  722. n, err := m.MarshalTo(data)
  723. if err != nil {
  724. return nil, err
  725. }
  726. return data[:n], nil
  727. }
  728. func (m *Status) MarshalTo(data []byte) (int, error) {
  729. var i int
  730. _ = i
  731. var l int
  732. _ = l
  733. data[i] = 0xa
  734. i++
  735. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  736. n2, err := m.ListMeta.MarshalTo(data[i:])
  737. if err != nil {
  738. return 0, err
  739. }
  740. i += n2
  741. data[i] = 0x12
  742. i++
  743. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  744. i += copy(data[i:], m.Status)
  745. data[i] = 0x1a
  746. i++
  747. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  748. i += copy(data[i:], m.Message)
  749. data[i] = 0x22
  750. i++
  751. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  752. i += copy(data[i:], m.Reason)
  753. if m.Details != nil {
  754. data[i] = 0x2a
  755. i++
  756. i = encodeVarintGenerated(data, i, uint64(m.Details.Size()))
  757. n3, err := m.Details.MarshalTo(data[i:])
  758. if err != nil {
  759. return 0, err
  760. }
  761. i += n3
  762. }
  763. data[i] = 0x30
  764. i++
  765. i = encodeVarintGenerated(data, i, uint64(m.Code))
  766. return i, nil
  767. }
  768. func (m *StatusCause) Marshal() (data []byte, err error) {
  769. size := m.Size()
  770. data = make([]byte, size)
  771. n, err := m.MarshalTo(data)
  772. if err != nil {
  773. return nil, err
  774. }
  775. return data[:n], nil
  776. }
  777. func (m *StatusCause) MarshalTo(data []byte) (int, error) {
  778. var i int
  779. _ = i
  780. var l int
  781. _ = l
  782. data[i] = 0xa
  783. i++
  784. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  785. i += copy(data[i:], m.Type)
  786. data[i] = 0x12
  787. i++
  788. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  789. i += copy(data[i:], m.Message)
  790. data[i] = 0x1a
  791. i++
  792. i = encodeVarintGenerated(data, i, uint64(len(m.Field)))
  793. i += copy(data[i:], m.Field)
  794. return i, nil
  795. }
  796. func (m *StatusDetails) Marshal() (data []byte, err error) {
  797. size := m.Size()
  798. data = make([]byte, size)
  799. n, err := m.MarshalTo(data)
  800. if err != nil {
  801. return nil, err
  802. }
  803. return data[:n], nil
  804. }
  805. func (m *StatusDetails) MarshalTo(data []byte) (int, error) {
  806. var i int
  807. _ = i
  808. var l int
  809. _ = l
  810. data[i] = 0xa
  811. i++
  812. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  813. i += copy(data[i:], m.Name)
  814. data[i] = 0x12
  815. i++
  816. i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
  817. i += copy(data[i:], m.Group)
  818. data[i] = 0x1a
  819. i++
  820. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  821. i += copy(data[i:], m.Kind)
  822. if len(m.Causes) > 0 {
  823. for _, msg := range m.Causes {
  824. data[i] = 0x22
  825. i++
  826. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  827. n, err := msg.MarshalTo(data[i:])
  828. if err != nil {
  829. return 0, err
  830. }
  831. i += n
  832. }
  833. }
  834. data[i] = 0x28
  835. i++
  836. i = encodeVarintGenerated(data, i, uint64(m.RetryAfterSeconds))
  837. return i, nil
  838. }
  839. func (m *Timestamp) Marshal() (data []byte, err error) {
  840. size := m.Size()
  841. data = make([]byte, size)
  842. n, err := m.MarshalTo(data)
  843. if err != nil {
  844. return nil, err
  845. }
  846. return data[:n], nil
  847. }
  848. func (m *Timestamp) MarshalTo(data []byte) (int, error) {
  849. var i int
  850. _ = i
  851. var l int
  852. _ = l
  853. data[i] = 0x8
  854. i++
  855. i = encodeVarintGenerated(data, i, uint64(m.Seconds))
  856. data[i] = 0x10
  857. i++
  858. i = encodeVarintGenerated(data, i, uint64(m.Nanos))
  859. return i, nil
  860. }
  861. func (m *TypeMeta) Marshal() (data []byte, err error) {
  862. size := m.Size()
  863. data = make([]byte, size)
  864. n, err := m.MarshalTo(data)
  865. if err != nil {
  866. return nil, err
  867. }
  868. return data[:n], nil
  869. }
  870. func (m *TypeMeta) MarshalTo(data []byte) (int, error) {
  871. var i int
  872. _ = i
  873. var l int
  874. _ = l
  875. data[i] = 0xa
  876. i++
  877. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  878. i += copy(data[i:], m.Kind)
  879. data[i] = 0x12
  880. i++
  881. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  882. i += copy(data[i:], m.APIVersion)
  883. return i, nil
  884. }
  885. func encodeFixed64Generated(data []byte, offset int, v uint64) int {
  886. data[offset] = uint8(v)
  887. data[offset+1] = uint8(v >> 8)
  888. data[offset+2] = uint8(v >> 16)
  889. data[offset+3] = uint8(v >> 24)
  890. data[offset+4] = uint8(v >> 32)
  891. data[offset+5] = uint8(v >> 40)
  892. data[offset+6] = uint8(v >> 48)
  893. data[offset+7] = uint8(v >> 56)
  894. return offset + 8
  895. }
  896. func encodeFixed32Generated(data []byte, offset int, v uint32) int {
  897. data[offset] = uint8(v)
  898. data[offset+1] = uint8(v >> 8)
  899. data[offset+2] = uint8(v >> 16)
  900. data[offset+3] = uint8(v >> 24)
  901. return offset + 4
  902. }
  903. func encodeVarintGenerated(data []byte, offset int, v uint64) int {
  904. for v >= 1<<7 {
  905. data[offset] = uint8(v&0x7f | 0x80)
  906. v >>= 7
  907. offset++
  908. }
  909. data[offset] = uint8(v)
  910. return offset + 1
  911. }
  912. func (m *APIGroup) Size() (n int) {
  913. var l int
  914. _ = l
  915. l = len(m.Name)
  916. n += 1 + l + sovGenerated(uint64(l))
  917. if len(m.Versions) > 0 {
  918. for _, e := range m.Versions {
  919. l = e.Size()
  920. n += 1 + l + sovGenerated(uint64(l))
  921. }
  922. }
  923. l = m.PreferredVersion.Size()
  924. n += 1 + l + sovGenerated(uint64(l))
  925. if len(m.ServerAddressByClientCIDRs) > 0 {
  926. for _, e := range m.ServerAddressByClientCIDRs {
  927. l = e.Size()
  928. n += 1 + l + sovGenerated(uint64(l))
  929. }
  930. }
  931. return n
  932. }
  933. func (m *APIGroupList) Size() (n int) {
  934. var l int
  935. _ = l
  936. if len(m.Groups) > 0 {
  937. for _, e := range m.Groups {
  938. l = e.Size()
  939. n += 1 + l + sovGenerated(uint64(l))
  940. }
  941. }
  942. return n
  943. }
  944. func (m *APIResource) Size() (n int) {
  945. var l int
  946. _ = l
  947. l = len(m.Name)
  948. n += 1 + l + sovGenerated(uint64(l))
  949. n += 2
  950. l = len(m.Kind)
  951. n += 1 + l + sovGenerated(uint64(l))
  952. return n
  953. }
  954. func (m *APIResourceList) Size() (n int) {
  955. var l int
  956. _ = l
  957. l = len(m.GroupVersion)
  958. n += 1 + l + sovGenerated(uint64(l))
  959. if len(m.APIResources) > 0 {
  960. for _, e := range m.APIResources {
  961. l = e.Size()
  962. n += 1 + l + sovGenerated(uint64(l))
  963. }
  964. }
  965. return n
  966. }
  967. func (m *APIVersions) Size() (n int) {
  968. var l int
  969. _ = l
  970. if len(m.Versions) > 0 {
  971. for _, s := range m.Versions {
  972. l = len(s)
  973. n += 1 + l + sovGenerated(uint64(l))
  974. }
  975. }
  976. if len(m.ServerAddressByClientCIDRs) > 0 {
  977. for _, e := range m.ServerAddressByClientCIDRs {
  978. l = e.Size()
  979. n += 1 + l + sovGenerated(uint64(l))
  980. }
  981. }
  982. return n
  983. }
  984. func (m *Duration) Size() (n int) {
  985. var l int
  986. _ = l
  987. n += 1 + sovGenerated(uint64(m.Duration))
  988. return n
  989. }
  990. func (m *ExportOptions) Size() (n int) {
  991. var l int
  992. _ = l
  993. n += 2
  994. n += 2
  995. return n
  996. }
  997. func (m *GroupKind) Size() (n int) {
  998. var l int
  999. _ = l
  1000. l = len(m.Group)
  1001. n += 1 + l + sovGenerated(uint64(l))
  1002. l = len(m.Kind)
  1003. n += 1 + l + sovGenerated(uint64(l))
  1004. return n
  1005. }
  1006. func (m *GroupResource) Size() (n int) {
  1007. var l int
  1008. _ = l
  1009. l = len(m.Group)
  1010. n += 1 + l + sovGenerated(uint64(l))
  1011. l = len(m.Resource)
  1012. n += 1 + l + sovGenerated(uint64(l))
  1013. return n
  1014. }
  1015. func (m *GroupVersion) Size() (n int) {
  1016. var l int
  1017. _ = l
  1018. l = len(m.Group)
  1019. n += 1 + l + sovGenerated(uint64(l))
  1020. l = len(m.Version)
  1021. n += 1 + l + sovGenerated(uint64(l))
  1022. return n
  1023. }
  1024. func (m *GroupVersionForDiscovery) Size() (n int) {
  1025. var l int
  1026. _ = l
  1027. l = len(m.GroupVersion)
  1028. n += 1 + l + sovGenerated(uint64(l))
  1029. l = len(m.Version)
  1030. n += 1 + l + sovGenerated(uint64(l))
  1031. return n
  1032. }
  1033. func (m *GroupVersionKind) Size() (n int) {
  1034. var l int
  1035. _ = l
  1036. l = len(m.Group)
  1037. n += 1 + l + sovGenerated(uint64(l))
  1038. l = len(m.Version)
  1039. n += 1 + l + sovGenerated(uint64(l))
  1040. l = len(m.Kind)
  1041. n += 1 + l + sovGenerated(uint64(l))
  1042. return n
  1043. }
  1044. func (m *GroupVersionResource) Size() (n int) {
  1045. var l int
  1046. _ = l
  1047. l = len(m.Group)
  1048. n += 1 + l + sovGenerated(uint64(l))
  1049. l = len(m.Version)
  1050. n += 1 + l + sovGenerated(uint64(l))
  1051. l = len(m.Resource)
  1052. n += 1 + l + sovGenerated(uint64(l))
  1053. return n
  1054. }
  1055. func (m *LabelSelector) Size() (n int) {
  1056. var l int
  1057. _ = l
  1058. if len(m.MatchLabels) > 0 {
  1059. for k, v := range m.MatchLabels {
  1060. _ = k
  1061. _ = v
  1062. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1063. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  1064. }
  1065. }
  1066. if len(m.MatchExpressions) > 0 {
  1067. for _, e := range m.MatchExpressions {
  1068. l = e.Size()
  1069. n += 1 + l + sovGenerated(uint64(l))
  1070. }
  1071. }
  1072. return n
  1073. }
  1074. func (m *LabelSelectorRequirement) Size() (n int) {
  1075. var l int
  1076. _ = l
  1077. l = len(m.Key)
  1078. n += 1 + l + sovGenerated(uint64(l))
  1079. l = len(m.Operator)
  1080. n += 1 + l + sovGenerated(uint64(l))
  1081. if len(m.Values) > 0 {
  1082. for _, s := range m.Values {
  1083. l = len(s)
  1084. n += 1 + l + sovGenerated(uint64(l))
  1085. }
  1086. }
  1087. return n
  1088. }
  1089. func (m *ListMeta) Size() (n int) {
  1090. var l int
  1091. _ = l
  1092. l = len(m.SelfLink)
  1093. n += 1 + l + sovGenerated(uint64(l))
  1094. l = len(m.ResourceVersion)
  1095. n += 1 + l + sovGenerated(uint64(l))
  1096. return n
  1097. }
  1098. func (m *RootPaths) Size() (n int) {
  1099. var l int
  1100. _ = l
  1101. if len(m.Paths) > 0 {
  1102. for _, s := range m.Paths {
  1103. l = len(s)
  1104. n += 1 + l + sovGenerated(uint64(l))
  1105. }
  1106. }
  1107. return n
  1108. }
  1109. func (m *ServerAddressByClientCIDR) Size() (n int) {
  1110. var l int
  1111. _ = l
  1112. l = len(m.ClientCIDR)
  1113. n += 1 + l + sovGenerated(uint64(l))
  1114. l = len(m.ServerAddress)
  1115. n += 1 + l + sovGenerated(uint64(l))
  1116. return n
  1117. }
  1118. func (m *Status) Size() (n int) {
  1119. var l int
  1120. _ = l
  1121. l = m.ListMeta.Size()
  1122. n += 1 + l + sovGenerated(uint64(l))
  1123. l = len(m.Status)
  1124. n += 1 + l + sovGenerated(uint64(l))
  1125. l = len(m.Message)
  1126. n += 1 + l + sovGenerated(uint64(l))
  1127. l = len(m.Reason)
  1128. n += 1 + l + sovGenerated(uint64(l))
  1129. if m.Details != nil {
  1130. l = m.Details.Size()
  1131. n += 1 + l + sovGenerated(uint64(l))
  1132. }
  1133. n += 1 + sovGenerated(uint64(m.Code))
  1134. return n
  1135. }
  1136. func (m *StatusCause) Size() (n int) {
  1137. var l int
  1138. _ = l
  1139. l = len(m.Type)
  1140. n += 1 + l + sovGenerated(uint64(l))
  1141. l = len(m.Message)
  1142. n += 1 + l + sovGenerated(uint64(l))
  1143. l = len(m.Field)
  1144. n += 1 + l + sovGenerated(uint64(l))
  1145. return n
  1146. }
  1147. func (m *StatusDetails) Size() (n int) {
  1148. var l int
  1149. _ = l
  1150. l = len(m.Name)
  1151. n += 1 + l + sovGenerated(uint64(l))
  1152. l = len(m.Group)
  1153. n += 1 + l + sovGenerated(uint64(l))
  1154. l = len(m.Kind)
  1155. n += 1 + l + sovGenerated(uint64(l))
  1156. if len(m.Causes) > 0 {
  1157. for _, e := range m.Causes {
  1158. l = e.Size()
  1159. n += 1 + l + sovGenerated(uint64(l))
  1160. }
  1161. }
  1162. n += 1 + sovGenerated(uint64(m.RetryAfterSeconds))
  1163. return n
  1164. }
  1165. func (m *Timestamp) Size() (n int) {
  1166. var l int
  1167. _ = l
  1168. n += 1 + sovGenerated(uint64(m.Seconds))
  1169. n += 1 + sovGenerated(uint64(m.Nanos))
  1170. return n
  1171. }
  1172. func (m *TypeMeta) Size() (n int) {
  1173. var l int
  1174. _ = l
  1175. l = len(m.Kind)
  1176. n += 1 + l + sovGenerated(uint64(l))
  1177. l = len(m.APIVersion)
  1178. n += 1 + l + sovGenerated(uint64(l))
  1179. return n
  1180. }
  1181. func sovGenerated(x uint64) (n int) {
  1182. for {
  1183. n++
  1184. x >>= 7
  1185. if x == 0 {
  1186. break
  1187. }
  1188. }
  1189. return n
  1190. }
  1191. func sozGenerated(x uint64) (n int) {
  1192. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1193. }
  1194. func (this *APIGroup) String() string {
  1195. if this == nil {
  1196. return "nil"
  1197. }
  1198. s := strings.Join([]string{`&APIGroup{`,
  1199. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1200. `Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
  1201. `PreferredVersion:` + strings.Replace(strings.Replace(this.PreferredVersion.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
  1202. `ServerAddressByClientCIDRs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ServerAddressByClientCIDRs), "ServerAddressByClientCIDR", "ServerAddressByClientCIDR", 1), `&`, ``, 1) + `,`,
  1203. `}`,
  1204. }, "")
  1205. return s
  1206. }
  1207. func (this *APIGroupList) String() string {
  1208. if this == nil {
  1209. return "nil"
  1210. }
  1211. s := strings.Join([]string{`&APIGroupList{`,
  1212. `Groups:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Groups), "APIGroup", "APIGroup", 1), `&`, ``, 1) + `,`,
  1213. `}`,
  1214. }, "")
  1215. return s
  1216. }
  1217. func (this *APIResource) String() string {
  1218. if this == nil {
  1219. return "nil"
  1220. }
  1221. s := strings.Join([]string{`&APIResource{`,
  1222. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1223. `Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`,
  1224. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  1225. `}`,
  1226. }, "")
  1227. return s
  1228. }
  1229. func (this *APIResourceList) String() string {
  1230. if this == nil {
  1231. return "nil"
  1232. }
  1233. s := strings.Join([]string{`&APIResourceList{`,
  1234. `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
  1235. `APIResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.APIResources), "APIResource", "APIResource", 1), `&`, ``, 1) + `,`,
  1236. `}`,
  1237. }, "")
  1238. return s
  1239. }
  1240. func (this *Duration) String() string {
  1241. if this == nil {
  1242. return "nil"
  1243. }
  1244. s := strings.Join([]string{`&Duration{`,
  1245. `Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
  1246. `}`,
  1247. }, "")
  1248. return s
  1249. }
  1250. func (this *ExportOptions) String() string {
  1251. if this == nil {
  1252. return "nil"
  1253. }
  1254. s := strings.Join([]string{`&ExportOptions{`,
  1255. `Export:` + fmt.Sprintf("%v", this.Export) + `,`,
  1256. `Exact:` + fmt.Sprintf("%v", this.Exact) + `,`,
  1257. `}`,
  1258. }, "")
  1259. return s
  1260. }
  1261. func (this *GroupVersionForDiscovery) String() string {
  1262. if this == nil {
  1263. return "nil"
  1264. }
  1265. s := strings.Join([]string{`&GroupVersionForDiscovery{`,
  1266. `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
  1267. `Version:` + fmt.Sprintf("%v", this.Version) + `,`,
  1268. `}`,
  1269. }, "")
  1270. return s
  1271. }
  1272. func (this *LabelSelector) String() string {
  1273. if this == nil {
  1274. return "nil"
  1275. }
  1276. keysForMatchLabels := make([]string, 0, len(this.MatchLabels))
  1277. for k := range this.MatchLabels {
  1278. keysForMatchLabels = append(keysForMatchLabels, k)
  1279. }
  1280. github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
  1281. mapStringForMatchLabels := "map[string]string{"
  1282. for _, k := range keysForMatchLabels {
  1283. mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k])
  1284. }
  1285. mapStringForMatchLabels += "}"
  1286. s := strings.Join([]string{`&LabelSelector{`,
  1287. `MatchLabels:` + mapStringForMatchLabels + `,`,
  1288. `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`,
  1289. `}`,
  1290. }, "")
  1291. return s
  1292. }
  1293. func (this *LabelSelectorRequirement) String() string {
  1294. if this == nil {
  1295. return "nil"
  1296. }
  1297. s := strings.Join([]string{`&LabelSelectorRequirement{`,
  1298. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  1299. `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
  1300. `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
  1301. `}`,
  1302. }, "")
  1303. return s
  1304. }
  1305. func (this *ListMeta) String() string {
  1306. if this == nil {
  1307. return "nil"
  1308. }
  1309. s := strings.Join([]string{`&ListMeta{`,
  1310. `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
  1311. `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
  1312. `}`,
  1313. }, "")
  1314. return s
  1315. }
  1316. func (this *RootPaths) String() string {
  1317. if this == nil {
  1318. return "nil"
  1319. }
  1320. s := strings.Join([]string{`&RootPaths{`,
  1321. `Paths:` + fmt.Sprintf("%v", this.Paths) + `,`,
  1322. `}`,
  1323. }, "")
  1324. return s
  1325. }
  1326. func (this *ServerAddressByClientCIDR) String() string {
  1327. if this == nil {
  1328. return "nil"
  1329. }
  1330. s := strings.Join([]string{`&ServerAddressByClientCIDR{`,
  1331. `ClientCIDR:` + fmt.Sprintf("%v", this.ClientCIDR) + `,`,
  1332. `ServerAddress:` + fmt.Sprintf("%v", this.ServerAddress) + `,`,
  1333. `}`,
  1334. }, "")
  1335. return s
  1336. }
  1337. func (this *Status) String() string {
  1338. if this == nil {
  1339. return "nil"
  1340. }
  1341. s := strings.Join([]string{`&Status{`,
  1342. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`,
  1343. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  1344. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1345. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  1346. `Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "StatusDetails", "StatusDetails", 1) + `,`,
  1347. `Code:` + fmt.Sprintf("%v", this.Code) + `,`,
  1348. `}`,
  1349. }, "")
  1350. return s
  1351. }
  1352. func (this *StatusCause) String() string {
  1353. if this == nil {
  1354. return "nil"
  1355. }
  1356. s := strings.Join([]string{`&StatusCause{`,
  1357. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1358. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1359. `Field:` + fmt.Sprintf("%v", this.Field) + `,`,
  1360. `}`,
  1361. }, "")
  1362. return s
  1363. }
  1364. func (this *StatusDetails) String() string {
  1365. if this == nil {
  1366. return "nil"
  1367. }
  1368. s := strings.Join([]string{`&StatusDetails{`,
  1369. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1370. `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
  1371. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  1372. `Causes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Causes), "StatusCause", "StatusCause", 1), `&`, ``, 1) + `,`,
  1373. `RetryAfterSeconds:` + fmt.Sprintf("%v", this.RetryAfterSeconds) + `,`,
  1374. `}`,
  1375. }, "")
  1376. return s
  1377. }
  1378. func (this *Timestamp) String() string {
  1379. if this == nil {
  1380. return "nil"
  1381. }
  1382. s := strings.Join([]string{`&Timestamp{`,
  1383. `Seconds:` + fmt.Sprintf("%v", this.Seconds) + `,`,
  1384. `Nanos:` + fmt.Sprintf("%v", this.Nanos) + `,`,
  1385. `}`,
  1386. }, "")
  1387. return s
  1388. }
  1389. func (this *TypeMeta) String() string {
  1390. if this == nil {
  1391. return "nil"
  1392. }
  1393. s := strings.Join([]string{`&TypeMeta{`,
  1394. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  1395. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  1396. `}`,
  1397. }, "")
  1398. return s
  1399. }
  1400. func valueToStringGenerated(v interface{}) string {
  1401. rv := reflect.ValueOf(v)
  1402. if rv.IsNil() {
  1403. return "nil"
  1404. }
  1405. pv := reflect.Indirect(rv).Interface()
  1406. return fmt.Sprintf("*%v", pv)
  1407. }
  1408. func (m *APIGroup) Unmarshal(data []byte) error {
  1409. l := len(data)
  1410. iNdEx := 0
  1411. for iNdEx < l {
  1412. preIndex := iNdEx
  1413. var wire uint64
  1414. for shift := uint(0); ; shift += 7 {
  1415. if shift >= 64 {
  1416. return ErrIntOverflowGenerated
  1417. }
  1418. if iNdEx >= l {
  1419. return io.ErrUnexpectedEOF
  1420. }
  1421. b := data[iNdEx]
  1422. iNdEx++
  1423. wire |= (uint64(b) & 0x7F) << shift
  1424. if b < 0x80 {
  1425. break
  1426. }
  1427. }
  1428. fieldNum := int32(wire >> 3)
  1429. wireType := int(wire & 0x7)
  1430. if wireType == 4 {
  1431. return fmt.Errorf("proto: APIGroup: wiretype end group for non-group")
  1432. }
  1433. if fieldNum <= 0 {
  1434. return fmt.Errorf("proto: APIGroup: illegal tag %d (wire type %d)", fieldNum, wire)
  1435. }
  1436. switch fieldNum {
  1437. case 1:
  1438. if wireType != 2 {
  1439. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1440. }
  1441. var stringLen uint64
  1442. for shift := uint(0); ; shift += 7 {
  1443. if shift >= 64 {
  1444. return ErrIntOverflowGenerated
  1445. }
  1446. if iNdEx >= l {
  1447. return io.ErrUnexpectedEOF
  1448. }
  1449. b := data[iNdEx]
  1450. iNdEx++
  1451. stringLen |= (uint64(b) & 0x7F) << shift
  1452. if b < 0x80 {
  1453. break
  1454. }
  1455. }
  1456. intStringLen := int(stringLen)
  1457. if intStringLen < 0 {
  1458. return ErrInvalidLengthGenerated
  1459. }
  1460. postIndex := iNdEx + intStringLen
  1461. if postIndex > l {
  1462. return io.ErrUnexpectedEOF
  1463. }
  1464. m.Name = string(data[iNdEx:postIndex])
  1465. iNdEx = postIndex
  1466. case 2:
  1467. if wireType != 2 {
  1468. return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
  1469. }
  1470. var msglen int
  1471. for shift := uint(0); ; shift += 7 {
  1472. if shift >= 64 {
  1473. return ErrIntOverflowGenerated
  1474. }
  1475. if iNdEx >= l {
  1476. return io.ErrUnexpectedEOF
  1477. }
  1478. b := data[iNdEx]
  1479. iNdEx++
  1480. msglen |= (int(b) & 0x7F) << shift
  1481. if b < 0x80 {
  1482. break
  1483. }
  1484. }
  1485. if msglen < 0 {
  1486. return ErrInvalidLengthGenerated
  1487. }
  1488. postIndex := iNdEx + msglen
  1489. if postIndex > l {
  1490. return io.ErrUnexpectedEOF
  1491. }
  1492. m.Versions = append(m.Versions, GroupVersionForDiscovery{})
  1493. if err := m.Versions[len(m.Versions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  1494. return err
  1495. }
  1496. iNdEx = postIndex
  1497. case 3:
  1498. if wireType != 2 {
  1499. return fmt.Errorf("proto: wrong wireType = %d for field PreferredVersion", wireType)
  1500. }
  1501. var msglen int
  1502. for shift := uint(0); ; shift += 7 {
  1503. if shift >= 64 {
  1504. return ErrIntOverflowGenerated
  1505. }
  1506. if iNdEx >= l {
  1507. return io.ErrUnexpectedEOF
  1508. }
  1509. b := data[iNdEx]
  1510. iNdEx++
  1511. msglen |= (int(b) & 0x7F) << shift
  1512. if b < 0x80 {
  1513. break
  1514. }
  1515. }
  1516. if msglen < 0 {
  1517. return ErrInvalidLengthGenerated
  1518. }
  1519. postIndex := iNdEx + msglen
  1520. if postIndex > l {
  1521. return io.ErrUnexpectedEOF
  1522. }
  1523. if err := m.PreferredVersion.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1524. return err
  1525. }
  1526. iNdEx = postIndex
  1527. case 4:
  1528. if wireType != 2 {
  1529. return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
  1530. }
  1531. var msglen int
  1532. for shift := uint(0); ; shift += 7 {
  1533. if shift >= 64 {
  1534. return ErrIntOverflowGenerated
  1535. }
  1536. if iNdEx >= l {
  1537. return io.ErrUnexpectedEOF
  1538. }
  1539. b := data[iNdEx]
  1540. iNdEx++
  1541. msglen |= (int(b) & 0x7F) << shift
  1542. if b < 0x80 {
  1543. break
  1544. }
  1545. }
  1546. if msglen < 0 {
  1547. return ErrInvalidLengthGenerated
  1548. }
  1549. postIndex := iNdEx + msglen
  1550. if postIndex > l {
  1551. return io.ErrUnexpectedEOF
  1552. }
  1553. m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
  1554. if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  1555. return err
  1556. }
  1557. iNdEx = postIndex
  1558. default:
  1559. iNdEx = preIndex
  1560. skippy, err := skipGenerated(data[iNdEx:])
  1561. if err != nil {
  1562. return err
  1563. }
  1564. if skippy < 0 {
  1565. return ErrInvalidLengthGenerated
  1566. }
  1567. if (iNdEx + skippy) > l {
  1568. return io.ErrUnexpectedEOF
  1569. }
  1570. iNdEx += skippy
  1571. }
  1572. }
  1573. if iNdEx > l {
  1574. return io.ErrUnexpectedEOF
  1575. }
  1576. return nil
  1577. }
  1578. func (m *APIGroupList) Unmarshal(data []byte) error {
  1579. l := len(data)
  1580. iNdEx := 0
  1581. for iNdEx < l {
  1582. preIndex := iNdEx
  1583. var wire uint64
  1584. for shift := uint(0); ; shift += 7 {
  1585. if shift >= 64 {
  1586. return ErrIntOverflowGenerated
  1587. }
  1588. if iNdEx >= l {
  1589. return io.ErrUnexpectedEOF
  1590. }
  1591. b := data[iNdEx]
  1592. iNdEx++
  1593. wire |= (uint64(b) & 0x7F) << shift
  1594. if b < 0x80 {
  1595. break
  1596. }
  1597. }
  1598. fieldNum := int32(wire >> 3)
  1599. wireType := int(wire & 0x7)
  1600. if wireType == 4 {
  1601. return fmt.Errorf("proto: APIGroupList: wiretype end group for non-group")
  1602. }
  1603. if fieldNum <= 0 {
  1604. return fmt.Errorf("proto: APIGroupList: illegal tag %d (wire type %d)", fieldNum, wire)
  1605. }
  1606. switch fieldNum {
  1607. case 1:
  1608. if wireType != 2 {
  1609. return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
  1610. }
  1611. var msglen int
  1612. for shift := uint(0); ; shift += 7 {
  1613. if shift >= 64 {
  1614. return ErrIntOverflowGenerated
  1615. }
  1616. if iNdEx >= l {
  1617. return io.ErrUnexpectedEOF
  1618. }
  1619. b := data[iNdEx]
  1620. iNdEx++
  1621. msglen |= (int(b) & 0x7F) << shift
  1622. if b < 0x80 {
  1623. break
  1624. }
  1625. }
  1626. if msglen < 0 {
  1627. return ErrInvalidLengthGenerated
  1628. }
  1629. postIndex := iNdEx + msglen
  1630. if postIndex > l {
  1631. return io.ErrUnexpectedEOF
  1632. }
  1633. m.Groups = append(m.Groups, APIGroup{})
  1634. if err := m.Groups[len(m.Groups)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  1635. return err
  1636. }
  1637. iNdEx = postIndex
  1638. default:
  1639. iNdEx = preIndex
  1640. skippy, err := skipGenerated(data[iNdEx:])
  1641. if err != nil {
  1642. return err
  1643. }
  1644. if skippy < 0 {
  1645. return ErrInvalidLengthGenerated
  1646. }
  1647. if (iNdEx + skippy) > l {
  1648. return io.ErrUnexpectedEOF
  1649. }
  1650. iNdEx += skippy
  1651. }
  1652. }
  1653. if iNdEx > l {
  1654. return io.ErrUnexpectedEOF
  1655. }
  1656. return nil
  1657. }
  1658. func (m *APIResource) Unmarshal(data []byte) error {
  1659. l := len(data)
  1660. iNdEx := 0
  1661. for iNdEx < l {
  1662. preIndex := iNdEx
  1663. var wire uint64
  1664. for shift := uint(0); ; shift += 7 {
  1665. if shift >= 64 {
  1666. return ErrIntOverflowGenerated
  1667. }
  1668. if iNdEx >= l {
  1669. return io.ErrUnexpectedEOF
  1670. }
  1671. b := data[iNdEx]
  1672. iNdEx++
  1673. wire |= (uint64(b) & 0x7F) << shift
  1674. if b < 0x80 {
  1675. break
  1676. }
  1677. }
  1678. fieldNum := int32(wire >> 3)
  1679. wireType := int(wire & 0x7)
  1680. if wireType == 4 {
  1681. return fmt.Errorf("proto: APIResource: wiretype end group for non-group")
  1682. }
  1683. if fieldNum <= 0 {
  1684. return fmt.Errorf("proto: APIResource: illegal tag %d (wire type %d)", fieldNum, wire)
  1685. }
  1686. switch fieldNum {
  1687. case 1:
  1688. if wireType != 2 {
  1689. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1690. }
  1691. var stringLen uint64
  1692. for shift := uint(0); ; shift += 7 {
  1693. if shift >= 64 {
  1694. return ErrIntOverflowGenerated
  1695. }
  1696. if iNdEx >= l {
  1697. return io.ErrUnexpectedEOF
  1698. }
  1699. b := data[iNdEx]
  1700. iNdEx++
  1701. stringLen |= (uint64(b) & 0x7F) << shift
  1702. if b < 0x80 {
  1703. break
  1704. }
  1705. }
  1706. intStringLen := int(stringLen)
  1707. if intStringLen < 0 {
  1708. return ErrInvalidLengthGenerated
  1709. }
  1710. postIndex := iNdEx + intStringLen
  1711. if postIndex > l {
  1712. return io.ErrUnexpectedEOF
  1713. }
  1714. m.Name = string(data[iNdEx:postIndex])
  1715. iNdEx = postIndex
  1716. case 2:
  1717. if wireType != 0 {
  1718. return fmt.Errorf("proto: wrong wireType = %d for field Namespaced", wireType)
  1719. }
  1720. var v int
  1721. for shift := uint(0); ; shift += 7 {
  1722. if shift >= 64 {
  1723. return ErrIntOverflowGenerated
  1724. }
  1725. if iNdEx >= l {
  1726. return io.ErrUnexpectedEOF
  1727. }
  1728. b := data[iNdEx]
  1729. iNdEx++
  1730. v |= (int(b) & 0x7F) << shift
  1731. if b < 0x80 {
  1732. break
  1733. }
  1734. }
  1735. m.Namespaced = bool(v != 0)
  1736. case 3:
  1737. if wireType != 2 {
  1738. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  1739. }
  1740. var stringLen uint64
  1741. for shift := uint(0); ; shift += 7 {
  1742. if shift >= 64 {
  1743. return ErrIntOverflowGenerated
  1744. }
  1745. if iNdEx >= l {
  1746. return io.ErrUnexpectedEOF
  1747. }
  1748. b := data[iNdEx]
  1749. iNdEx++
  1750. stringLen |= (uint64(b) & 0x7F) << shift
  1751. if b < 0x80 {
  1752. break
  1753. }
  1754. }
  1755. intStringLen := int(stringLen)
  1756. if intStringLen < 0 {
  1757. return ErrInvalidLengthGenerated
  1758. }
  1759. postIndex := iNdEx + intStringLen
  1760. if postIndex > l {
  1761. return io.ErrUnexpectedEOF
  1762. }
  1763. m.Kind = string(data[iNdEx:postIndex])
  1764. iNdEx = postIndex
  1765. default:
  1766. iNdEx = preIndex
  1767. skippy, err := skipGenerated(data[iNdEx:])
  1768. if err != nil {
  1769. return err
  1770. }
  1771. if skippy < 0 {
  1772. return ErrInvalidLengthGenerated
  1773. }
  1774. if (iNdEx + skippy) > l {
  1775. return io.ErrUnexpectedEOF
  1776. }
  1777. iNdEx += skippy
  1778. }
  1779. }
  1780. if iNdEx > l {
  1781. return io.ErrUnexpectedEOF
  1782. }
  1783. return nil
  1784. }
  1785. func (m *APIResourceList) Unmarshal(data []byte) error {
  1786. l := len(data)
  1787. iNdEx := 0
  1788. for iNdEx < l {
  1789. preIndex := iNdEx
  1790. var wire uint64
  1791. for shift := uint(0); ; shift += 7 {
  1792. if shift >= 64 {
  1793. return ErrIntOverflowGenerated
  1794. }
  1795. if iNdEx >= l {
  1796. return io.ErrUnexpectedEOF
  1797. }
  1798. b := data[iNdEx]
  1799. iNdEx++
  1800. wire |= (uint64(b) & 0x7F) << shift
  1801. if b < 0x80 {
  1802. break
  1803. }
  1804. }
  1805. fieldNum := int32(wire >> 3)
  1806. wireType := int(wire & 0x7)
  1807. if wireType == 4 {
  1808. return fmt.Errorf("proto: APIResourceList: wiretype end group for non-group")
  1809. }
  1810. if fieldNum <= 0 {
  1811. return fmt.Errorf("proto: APIResourceList: illegal tag %d (wire type %d)", fieldNum, wire)
  1812. }
  1813. switch fieldNum {
  1814. case 1:
  1815. if wireType != 2 {
  1816. return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
  1817. }
  1818. var stringLen uint64
  1819. for shift := uint(0); ; shift += 7 {
  1820. if shift >= 64 {
  1821. return ErrIntOverflowGenerated
  1822. }
  1823. if iNdEx >= l {
  1824. return io.ErrUnexpectedEOF
  1825. }
  1826. b := data[iNdEx]
  1827. iNdEx++
  1828. stringLen |= (uint64(b) & 0x7F) << shift
  1829. if b < 0x80 {
  1830. break
  1831. }
  1832. }
  1833. intStringLen := int(stringLen)
  1834. if intStringLen < 0 {
  1835. return ErrInvalidLengthGenerated
  1836. }
  1837. postIndex := iNdEx + intStringLen
  1838. if postIndex > l {
  1839. return io.ErrUnexpectedEOF
  1840. }
  1841. m.GroupVersion = string(data[iNdEx:postIndex])
  1842. iNdEx = postIndex
  1843. case 2:
  1844. if wireType != 2 {
  1845. return fmt.Errorf("proto: wrong wireType = %d for field APIResources", wireType)
  1846. }
  1847. var msglen int
  1848. for shift := uint(0); ; shift += 7 {
  1849. if shift >= 64 {
  1850. return ErrIntOverflowGenerated
  1851. }
  1852. if iNdEx >= l {
  1853. return io.ErrUnexpectedEOF
  1854. }
  1855. b := data[iNdEx]
  1856. iNdEx++
  1857. msglen |= (int(b) & 0x7F) << shift
  1858. if b < 0x80 {
  1859. break
  1860. }
  1861. }
  1862. if msglen < 0 {
  1863. return ErrInvalidLengthGenerated
  1864. }
  1865. postIndex := iNdEx + msglen
  1866. if postIndex > l {
  1867. return io.ErrUnexpectedEOF
  1868. }
  1869. m.APIResources = append(m.APIResources, APIResource{})
  1870. if err := m.APIResources[len(m.APIResources)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  1871. return err
  1872. }
  1873. iNdEx = postIndex
  1874. default:
  1875. iNdEx = preIndex
  1876. skippy, err := skipGenerated(data[iNdEx:])
  1877. if err != nil {
  1878. return err
  1879. }
  1880. if skippy < 0 {
  1881. return ErrInvalidLengthGenerated
  1882. }
  1883. if (iNdEx + skippy) > l {
  1884. return io.ErrUnexpectedEOF
  1885. }
  1886. iNdEx += skippy
  1887. }
  1888. }
  1889. if iNdEx > l {
  1890. return io.ErrUnexpectedEOF
  1891. }
  1892. return nil
  1893. }
  1894. func (m *APIVersions) Unmarshal(data []byte) error {
  1895. l := len(data)
  1896. iNdEx := 0
  1897. for iNdEx < l {
  1898. preIndex := iNdEx
  1899. var wire uint64
  1900. for shift := uint(0); ; shift += 7 {
  1901. if shift >= 64 {
  1902. return ErrIntOverflowGenerated
  1903. }
  1904. if iNdEx >= l {
  1905. return io.ErrUnexpectedEOF
  1906. }
  1907. b := data[iNdEx]
  1908. iNdEx++
  1909. wire |= (uint64(b) & 0x7F) << shift
  1910. if b < 0x80 {
  1911. break
  1912. }
  1913. }
  1914. fieldNum := int32(wire >> 3)
  1915. wireType := int(wire & 0x7)
  1916. if wireType == 4 {
  1917. return fmt.Errorf("proto: APIVersions: wiretype end group for non-group")
  1918. }
  1919. if fieldNum <= 0 {
  1920. return fmt.Errorf("proto: APIVersions: illegal tag %d (wire type %d)", fieldNum, wire)
  1921. }
  1922. switch fieldNum {
  1923. case 1:
  1924. if wireType != 2 {
  1925. return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
  1926. }
  1927. var stringLen uint64
  1928. for shift := uint(0); ; shift += 7 {
  1929. if shift >= 64 {
  1930. return ErrIntOverflowGenerated
  1931. }
  1932. if iNdEx >= l {
  1933. return io.ErrUnexpectedEOF
  1934. }
  1935. b := data[iNdEx]
  1936. iNdEx++
  1937. stringLen |= (uint64(b) & 0x7F) << shift
  1938. if b < 0x80 {
  1939. break
  1940. }
  1941. }
  1942. intStringLen := int(stringLen)
  1943. if intStringLen < 0 {
  1944. return ErrInvalidLengthGenerated
  1945. }
  1946. postIndex := iNdEx + intStringLen
  1947. if postIndex > l {
  1948. return io.ErrUnexpectedEOF
  1949. }
  1950. m.Versions = append(m.Versions, string(data[iNdEx:postIndex]))
  1951. iNdEx = postIndex
  1952. case 2:
  1953. if wireType != 2 {
  1954. return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
  1955. }
  1956. var msglen int
  1957. for shift := uint(0); ; shift += 7 {
  1958. if shift >= 64 {
  1959. return ErrIntOverflowGenerated
  1960. }
  1961. if iNdEx >= l {
  1962. return io.ErrUnexpectedEOF
  1963. }
  1964. b := data[iNdEx]
  1965. iNdEx++
  1966. msglen |= (int(b) & 0x7F) << shift
  1967. if b < 0x80 {
  1968. break
  1969. }
  1970. }
  1971. if msglen < 0 {
  1972. return ErrInvalidLengthGenerated
  1973. }
  1974. postIndex := iNdEx + msglen
  1975. if postIndex > l {
  1976. return io.ErrUnexpectedEOF
  1977. }
  1978. m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
  1979. if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  1980. return err
  1981. }
  1982. iNdEx = postIndex
  1983. default:
  1984. iNdEx = preIndex
  1985. skippy, err := skipGenerated(data[iNdEx:])
  1986. if err != nil {
  1987. return err
  1988. }
  1989. if skippy < 0 {
  1990. return ErrInvalidLengthGenerated
  1991. }
  1992. if (iNdEx + skippy) > l {
  1993. return io.ErrUnexpectedEOF
  1994. }
  1995. iNdEx += skippy
  1996. }
  1997. }
  1998. if iNdEx > l {
  1999. return io.ErrUnexpectedEOF
  2000. }
  2001. return nil
  2002. }
  2003. func (m *Duration) Unmarshal(data []byte) error {
  2004. l := len(data)
  2005. iNdEx := 0
  2006. for iNdEx < l {
  2007. preIndex := iNdEx
  2008. var wire uint64
  2009. for shift := uint(0); ; shift += 7 {
  2010. if shift >= 64 {
  2011. return ErrIntOverflowGenerated
  2012. }
  2013. if iNdEx >= l {
  2014. return io.ErrUnexpectedEOF
  2015. }
  2016. b := data[iNdEx]
  2017. iNdEx++
  2018. wire |= (uint64(b) & 0x7F) << shift
  2019. if b < 0x80 {
  2020. break
  2021. }
  2022. }
  2023. fieldNum := int32(wire >> 3)
  2024. wireType := int(wire & 0x7)
  2025. if wireType == 4 {
  2026. return fmt.Errorf("proto: Duration: wiretype end group for non-group")
  2027. }
  2028. if fieldNum <= 0 {
  2029. return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire)
  2030. }
  2031. switch fieldNum {
  2032. case 1:
  2033. if wireType != 0 {
  2034. return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
  2035. }
  2036. m.Duration = 0
  2037. for shift := uint(0); ; shift += 7 {
  2038. if shift >= 64 {
  2039. return ErrIntOverflowGenerated
  2040. }
  2041. if iNdEx >= l {
  2042. return io.ErrUnexpectedEOF
  2043. }
  2044. b := data[iNdEx]
  2045. iNdEx++
  2046. m.Duration |= (time.Duration(b) & 0x7F) << shift
  2047. if b < 0x80 {
  2048. break
  2049. }
  2050. }
  2051. default:
  2052. iNdEx = preIndex
  2053. skippy, err := skipGenerated(data[iNdEx:])
  2054. if err != nil {
  2055. return err
  2056. }
  2057. if skippy < 0 {
  2058. return ErrInvalidLengthGenerated
  2059. }
  2060. if (iNdEx + skippy) > l {
  2061. return io.ErrUnexpectedEOF
  2062. }
  2063. iNdEx += skippy
  2064. }
  2065. }
  2066. if iNdEx > l {
  2067. return io.ErrUnexpectedEOF
  2068. }
  2069. return nil
  2070. }
  2071. func (m *ExportOptions) Unmarshal(data []byte) error {
  2072. l := len(data)
  2073. iNdEx := 0
  2074. for iNdEx < l {
  2075. preIndex := iNdEx
  2076. var wire uint64
  2077. for shift := uint(0); ; shift += 7 {
  2078. if shift >= 64 {
  2079. return ErrIntOverflowGenerated
  2080. }
  2081. if iNdEx >= l {
  2082. return io.ErrUnexpectedEOF
  2083. }
  2084. b := data[iNdEx]
  2085. iNdEx++
  2086. wire |= (uint64(b) & 0x7F) << shift
  2087. if b < 0x80 {
  2088. break
  2089. }
  2090. }
  2091. fieldNum := int32(wire >> 3)
  2092. wireType := int(wire & 0x7)
  2093. if wireType == 4 {
  2094. return fmt.Errorf("proto: ExportOptions: wiretype end group for non-group")
  2095. }
  2096. if fieldNum <= 0 {
  2097. return fmt.Errorf("proto: ExportOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  2098. }
  2099. switch fieldNum {
  2100. case 1:
  2101. if wireType != 0 {
  2102. return fmt.Errorf("proto: wrong wireType = %d for field Export", wireType)
  2103. }
  2104. var v int
  2105. for shift := uint(0); ; shift += 7 {
  2106. if shift >= 64 {
  2107. return ErrIntOverflowGenerated
  2108. }
  2109. if iNdEx >= l {
  2110. return io.ErrUnexpectedEOF
  2111. }
  2112. b := data[iNdEx]
  2113. iNdEx++
  2114. v |= (int(b) & 0x7F) << shift
  2115. if b < 0x80 {
  2116. break
  2117. }
  2118. }
  2119. m.Export = bool(v != 0)
  2120. case 2:
  2121. if wireType != 0 {
  2122. return fmt.Errorf("proto: wrong wireType = %d for field Exact", wireType)
  2123. }
  2124. var v int
  2125. for shift := uint(0); ; shift += 7 {
  2126. if shift >= 64 {
  2127. return ErrIntOverflowGenerated
  2128. }
  2129. if iNdEx >= l {
  2130. return io.ErrUnexpectedEOF
  2131. }
  2132. b := data[iNdEx]
  2133. iNdEx++
  2134. v |= (int(b) & 0x7F) << shift
  2135. if b < 0x80 {
  2136. break
  2137. }
  2138. }
  2139. m.Exact = bool(v != 0)
  2140. default:
  2141. iNdEx = preIndex
  2142. skippy, err := skipGenerated(data[iNdEx:])
  2143. if err != nil {
  2144. return err
  2145. }
  2146. if skippy < 0 {
  2147. return ErrInvalidLengthGenerated
  2148. }
  2149. if (iNdEx + skippy) > l {
  2150. return io.ErrUnexpectedEOF
  2151. }
  2152. iNdEx += skippy
  2153. }
  2154. }
  2155. if iNdEx > l {
  2156. return io.ErrUnexpectedEOF
  2157. }
  2158. return nil
  2159. }
  2160. func (m *GroupKind) Unmarshal(data []byte) error {
  2161. l := len(data)
  2162. iNdEx := 0
  2163. for iNdEx < l {
  2164. preIndex := iNdEx
  2165. var wire uint64
  2166. for shift := uint(0); ; shift += 7 {
  2167. if shift >= 64 {
  2168. return ErrIntOverflowGenerated
  2169. }
  2170. if iNdEx >= l {
  2171. return io.ErrUnexpectedEOF
  2172. }
  2173. b := data[iNdEx]
  2174. iNdEx++
  2175. wire |= (uint64(b) & 0x7F) << shift
  2176. if b < 0x80 {
  2177. break
  2178. }
  2179. }
  2180. fieldNum := int32(wire >> 3)
  2181. wireType := int(wire & 0x7)
  2182. if wireType == 4 {
  2183. return fmt.Errorf("proto: GroupKind: wiretype end group for non-group")
  2184. }
  2185. if fieldNum <= 0 {
  2186. return fmt.Errorf("proto: GroupKind: illegal tag %d (wire type %d)", fieldNum, wire)
  2187. }
  2188. switch fieldNum {
  2189. case 1:
  2190. if wireType != 2 {
  2191. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  2192. }
  2193. var stringLen uint64
  2194. for shift := uint(0); ; shift += 7 {
  2195. if shift >= 64 {
  2196. return ErrIntOverflowGenerated
  2197. }
  2198. if iNdEx >= l {
  2199. return io.ErrUnexpectedEOF
  2200. }
  2201. b := data[iNdEx]
  2202. iNdEx++
  2203. stringLen |= (uint64(b) & 0x7F) << shift
  2204. if b < 0x80 {
  2205. break
  2206. }
  2207. }
  2208. intStringLen := int(stringLen)
  2209. if intStringLen < 0 {
  2210. return ErrInvalidLengthGenerated
  2211. }
  2212. postIndex := iNdEx + intStringLen
  2213. if postIndex > l {
  2214. return io.ErrUnexpectedEOF
  2215. }
  2216. m.Group = string(data[iNdEx:postIndex])
  2217. iNdEx = postIndex
  2218. case 2:
  2219. if wireType != 2 {
  2220. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  2221. }
  2222. var stringLen uint64
  2223. for shift := uint(0); ; shift += 7 {
  2224. if shift >= 64 {
  2225. return ErrIntOverflowGenerated
  2226. }
  2227. if iNdEx >= l {
  2228. return io.ErrUnexpectedEOF
  2229. }
  2230. b := data[iNdEx]
  2231. iNdEx++
  2232. stringLen |= (uint64(b) & 0x7F) << shift
  2233. if b < 0x80 {
  2234. break
  2235. }
  2236. }
  2237. intStringLen := int(stringLen)
  2238. if intStringLen < 0 {
  2239. return ErrInvalidLengthGenerated
  2240. }
  2241. postIndex := iNdEx + intStringLen
  2242. if postIndex > l {
  2243. return io.ErrUnexpectedEOF
  2244. }
  2245. m.Kind = string(data[iNdEx:postIndex])
  2246. iNdEx = postIndex
  2247. default:
  2248. iNdEx = preIndex
  2249. skippy, err := skipGenerated(data[iNdEx:])
  2250. if err != nil {
  2251. return err
  2252. }
  2253. if skippy < 0 {
  2254. return ErrInvalidLengthGenerated
  2255. }
  2256. if (iNdEx + skippy) > l {
  2257. return io.ErrUnexpectedEOF
  2258. }
  2259. iNdEx += skippy
  2260. }
  2261. }
  2262. if iNdEx > l {
  2263. return io.ErrUnexpectedEOF
  2264. }
  2265. return nil
  2266. }
  2267. func (m *GroupResource) Unmarshal(data []byte) error {
  2268. l := len(data)
  2269. iNdEx := 0
  2270. for iNdEx < l {
  2271. preIndex := iNdEx
  2272. var wire uint64
  2273. for shift := uint(0); ; shift += 7 {
  2274. if shift >= 64 {
  2275. return ErrIntOverflowGenerated
  2276. }
  2277. if iNdEx >= l {
  2278. return io.ErrUnexpectedEOF
  2279. }
  2280. b := data[iNdEx]
  2281. iNdEx++
  2282. wire |= (uint64(b) & 0x7F) << shift
  2283. if b < 0x80 {
  2284. break
  2285. }
  2286. }
  2287. fieldNum := int32(wire >> 3)
  2288. wireType := int(wire & 0x7)
  2289. if wireType == 4 {
  2290. return fmt.Errorf("proto: GroupResource: wiretype end group for non-group")
  2291. }
  2292. if fieldNum <= 0 {
  2293. return fmt.Errorf("proto: GroupResource: illegal tag %d (wire type %d)", fieldNum, wire)
  2294. }
  2295. switch fieldNum {
  2296. case 1:
  2297. if wireType != 2 {
  2298. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  2299. }
  2300. var stringLen uint64
  2301. for shift := uint(0); ; shift += 7 {
  2302. if shift >= 64 {
  2303. return ErrIntOverflowGenerated
  2304. }
  2305. if iNdEx >= l {
  2306. return io.ErrUnexpectedEOF
  2307. }
  2308. b := data[iNdEx]
  2309. iNdEx++
  2310. stringLen |= (uint64(b) & 0x7F) << shift
  2311. if b < 0x80 {
  2312. break
  2313. }
  2314. }
  2315. intStringLen := int(stringLen)
  2316. if intStringLen < 0 {
  2317. return ErrInvalidLengthGenerated
  2318. }
  2319. postIndex := iNdEx + intStringLen
  2320. if postIndex > l {
  2321. return io.ErrUnexpectedEOF
  2322. }
  2323. m.Group = string(data[iNdEx:postIndex])
  2324. iNdEx = postIndex
  2325. case 2:
  2326. if wireType != 2 {
  2327. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  2328. }
  2329. var stringLen uint64
  2330. for shift := uint(0); ; shift += 7 {
  2331. if shift >= 64 {
  2332. return ErrIntOverflowGenerated
  2333. }
  2334. if iNdEx >= l {
  2335. return io.ErrUnexpectedEOF
  2336. }
  2337. b := data[iNdEx]
  2338. iNdEx++
  2339. stringLen |= (uint64(b) & 0x7F) << shift
  2340. if b < 0x80 {
  2341. break
  2342. }
  2343. }
  2344. intStringLen := int(stringLen)
  2345. if intStringLen < 0 {
  2346. return ErrInvalidLengthGenerated
  2347. }
  2348. postIndex := iNdEx + intStringLen
  2349. if postIndex > l {
  2350. return io.ErrUnexpectedEOF
  2351. }
  2352. m.Resource = string(data[iNdEx:postIndex])
  2353. iNdEx = postIndex
  2354. default:
  2355. iNdEx = preIndex
  2356. skippy, err := skipGenerated(data[iNdEx:])
  2357. if err != nil {
  2358. return err
  2359. }
  2360. if skippy < 0 {
  2361. return ErrInvalidLengthGenerated
  2362. }
  2363. if (iNdEx + skippy) > l {
  2364. return io.ErrUnexpectedEOF
  2365. }
  2366. iNdEx += skippy
  2367. }
  2368. }
  2369. if iNdEx > l {
  2370. return io.ErrUnexpectedEOF
  2371. }
  2372. return nil
  2373. }
  2374. func (m *GroupVersion) Unmarshal(data []byte) error {
  2375. l := len(data)
  2376. iNdEx := 0
  2377. for iNdEx < l {
  2378. preIndex := iNdEx
  2379. var wire uint64
  2380. for shift := uint(0); ; shift += 7 {
  2381. if shift >= 64 {
  2382. return ErrIntOverflowGenerated
  2383. }
  2384. if iNdEx >= l {
  2385. return io.ErrUnexpectedEOF
  2386. }
  2387. b := data[iNdEx]
  2388. iNdEx++
  2389. wire |= (uint64(b) & 0x7F) << shift
  2390. if b < 0x80 {
  2391. break
  2392. }
  2393. }
  2394. fieldNum := int32(wire >> 3)
  2395. wireType := int(wire & 0x7)
  2396. if wireType == 4 {
  2397. return fmt.Errorf("proto: GroupVersion: wiretype end group for non-group")
  2398. }
  2399. if fieldNum <= 0 {
  2400. return fmt.Errorf("proto: GroupVersion: illegal tag %d (wire type %d)", fieldNum, wire)
  2401. }
  2402. switch fieldNum {
  2403. case 1:
  2404. if wireType != 2 {
  2405. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  2406. }
  2407. var stringLen uint64
  2408. for shift := uint(0); ; shift += 7 {
  2409. if shift >= 64 {
  2410. return ErrIntOverflowGenerated
  2411. }
  2412. if iNdEx >= l {
  2413. return io.ErrUnexpectedEOF
  2414. }
  2415. b := data[iNdEx]
  2416. iNdEx++
  2417. stringLen |= (uint64(b) & 0x7F) << shift
  2418. if b < 0x80 {
  2419. break
  2420. }
  2421. }
  2422. intStringLen := int(stringLen)
  2423. if intStringLen < 0 {
  2424. return ErrInvalidLengthGenerated
  2425. }
  2426. postIndex := iNdEx + intStringLen
  2427. if postIndex > l {
  2428. return io.ErrUnexpectedEOF
  2429. }
  2430. m.Group = string(data[iNdEx:postIndex])
  2431. iNdEx = postIndex
  2432. case 2:
  2433. if wireType != 2 {
  2434. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  2435. }
  2436. var stringLen uint64
  2437. for shift := uint(0); ; shift += 7 {
  2438. if shift >= 64 {
  2439. return ErrIntOverflowGenerated
  2440. }
  2441. if iNdEx >= l {
  2442. return io.ErrUnexpectedEOF
  2443. }
  2444. b := data[iNdEx]
  2445. iNdEx++
  2446. stringLen |= (uint64(b) & 0x7F) << shift
  2447. if b < 0x80 {
  2448. break
  2449. }
  2450. }
  2451. intStringLen := int(stringLen)
  2452. if intStringLen < 0 {
  2453. return ErrInvalidLengthGenerated
  2454. }
  2455. postIndex := iNdEx + intStringLen
  2456. if postIndex > l {
  2457. return io.ErrUnexpectedEOF
  2458. }
  2459. m.Version = string(data[iNdEx:postIndex])
  2460. iNdEx = postIndex
  2461. default:
  2462. iNdEx = preIndex
  2463. skippy, err := skipGenerated(data[iNdEx:])
  2464. if err != nil {
  2465. return err
  2466. }
  2467. if skippy < 0 {
  2468. return ErrInvalidLengthGenerated
  2469. }
  2470. if (iNdEx + skippy) > l {
  2471. return io.ErrUnexpectedEOF
  2472. }
  2473. iNdEx += skippy
  2474. }
  2475. }
  2476. if iNdEx > l {
  2477. return io.ErrUnexpectedEOF
  2478. }
  2479. return nil
  2480. }
  2481. func (m *GroupVersionForDiscovery) Unmarshal(data []byte) error {
  2482. l := len(data)
  2483. iNdEx := 0
  2484. for iNdEx < l {
  2485. preIndex := iNdEx
  2486. var wire uint64
  2487. for shift := uint(0); ; shift += 7 {
  2488. if shift >= 64 {
  2489. return ErrIntOverflowGenerated
  2490. }
  2491. if iNdEx >= l {
  2492. return io.ErrUnexpectedEOF
  2493. }
  2494. b := data[iNdEx]
  2495. iNdEx++
  2496. wire |= (uint64(b) & 0x7F) << shift
  2497. if b < 0x80 {
  2498. break
  2499. }
  2500. }
  2501. fieldNum := int32(wire >> 3)
  2502. wireType := int(wire & 0x7)
  2503. if wireType == 4 {
  2504. return fmt.Errorf("proto: GroupVersionForDiscovery: wiretype end group for non-group")
  2505. }
  2506. if fieldNum <= 0 {
  2507. return fmt.Errorf("proto: GroupVersionForDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
  2508. }
  2509. switch fieldNum {
  2510. case 1:
  2511. if wireType != 2 {
  2512. return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
  2513. }
  2514. var stringLen uint64
  2515. for shift := uint(0); ; shift += 7 {
  2516. if shift >= 64 {
  2517. return ErrIntOverflowGenerated
  2518. }
  2519. if iNdEx >= l {
  2520. return io.ErrUnexpectedEOF
  2521. }
  2522. b := data[iNdEx]
  2523. iNdEx++
  2524. stringLen |= (uint64(b) & 0x7F) << shift
  2525. if b < 0x80 {
  2526. break
  2527. }
  2528. }
  2529. intStringLen := int(stringLen)
  2530. if intStringLen < 0 {
  2531. return ErrInvalidLengthGenerated
  2532. }
  2533. postIndex := iNdEx + intStringLen
  2534. if postIndex > l {
  2535. return io.ErrUnexpectedEOF
  2536. }
  2537. m.GroupVersion = string(data[iNdEx:postIndex])
  2538. iNdEx = postIndex
  2539. case 2:
  2540. if wireType != 2 {
  2541. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  2542. }
  2543. var stringLen uint64
  2544. for shift := uint(0); ; shift += 7 {
  2545. if shift >= 64 {
  2546. return ErrIntOverflowGenerated
  2547. }
  2548. if iNdEx >= l {
  2549. return io.ErrUnexpectedEOF
  2550. }
  2551. b := data[iNdEx]
  2552. iNdEx++
  2553. stringLen |= (uint64(b) & 0x7F) << shift
  2554. if b < 0x80 {
  2555. break
  2556. }
  2557. }
  2558. intStringLen := int(stringLen)
  2559. if intStringLen < 0 {
  2560. return ErrInvalidLengthGenerated
  2561. }
  2562. postIndex := iNdEx + intStringLen
  2563. if postIndex > l {
  2564. return io.ErrUnexpectedEOF
  2565. }
  2566. m.Version = string(data[iNdEx:postIndex])
  2567. iNdEx = postIndex
  2568. default:
  2569. iNdEx = preIndex
  2570. skippy, err := skipGenerated(data[iNdEx:])
  2571. if err != nil {
  2572. return err
  2573. }
  2574. if skippy < 0 {
  2575. return ErrInvalidLengthGenerated
  2576. }
  2577. if (iNdEx + skippy) > l {
  2578. return io.ErrUnexpectedEOF
  2579. }
  2580. iNdEx += skippy
  2581. }
  2582. }
  2583. if iNdEx > l {
  2584. return io.ErrUnexpectedEOF
  2585. }
  2586. return nil
  2587. }
  2588. func (m *GroupVersionKind) Unmarshal(data []byte) error {
  2589. l := len(data)
  2590. iNdEx := 0
  2591. for iNdEx < l {
  2592. preIndex := iNdEx
  2593. var wire uint64
  2594. for shift := uint(0); ; shift += 7 {
  2595. if shift >= 64 {
  2596. return ErrIntOverflowGenerated
  2597. }
  2598. if iNdEx >= l {
  2599. return io.ErrUnexpectedEOF
  2600. }
  2601. b := data[iNdEx]
  2602. iNdEx++
  2603. wire |= (uint64(b) & 0x7F) << shift
  2604. if b < 0x80 {
  2605. break
  2606. }
  2607. }
  2608. fieldNum := int32(wire >> 3)
  2609. wireType := int(wire & 0x7)
  2610. if wireType == 4 {
  2611. return fmt.Errorf("proto: GroupVersionKind: wiretype end group for non-group")
  2612. }
  2613. if fieldNum <= 0 {
  2614. return fmt.Errorf("proto: GroupVersionKind: illegal tag %d (wire type %d)", fieldNum, wire)
  2615. }
  2616. switch fieldNum {
  2617. case 1:
  2618. if wireType != 2 {
  2619. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  2620. }
  2621. var stringLen uint64
  2622. for shift := uint(0); ; shift += 7 {
  2623. if shift >= 64 {
  2624. return ErrIntOverflowGenerated
  2625. }
  2626. if iNdEx >= l {
  2627. return io.ErrUnexpectedEOF
  2628. }
  2629. b := data[iNdEx]
  2630. iNdEx++
  2631. stringLen |= (uint64(b) & 0x7F) << shift
  2632. if b < 0x80 {
  2633. break
  2634. }
  2635. }
  2636. intStringLen := int(stringLen)
  2637. if intStringLen < 0 {
  2638. return ErrInvalidLengthGenerated
  2639. }
  2640. postIndex := iNdEx + intStringLen
  2641. if postIndex > l {
  2642. return io.ErrUnexpectedEOF
  2643. }
  2644. m.Group = string(data[iNdEx:postIndex])
  2645. iNdEx = postIndex
  2646. case 2:
  2647. if wireType != 2 {
  2648. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  2649. }
  2650. var stringLen uint64
  2651. for shift := uint(0); ; shift += 7 {
  2652. if shift >= 64 {
  2653. return ErrIntOverflowGenerated
  2654. }
  2655. if iNdEx >= l {
  2656. return io.ErrUnexpectedEOF
  2657. }
  2658. b := data[iNdEx]
  2659. iNdEx++
  2660. stringLen |= (uint64(b) & 0x7F) << shift
  2661. if b < 0x80 {
  2662. break
  2663. }
  2664. }
  2665. intStringLen := int(stringLen)
  2666. if intStringLen < 0 {
  2667. return ErrInvalidLengthGenerated
  2668. }
  2669. postIndex := iNdEx + intStringLen
  2670. if postIndex > l {
  2671. return io.ErrUnexpectedEOF
  2672. }
  2673. m.Version = string(data[iNdEx:postIndex])
  2674. iNdEx = postIndex
  2675. case 3:
  2676. if wireType != 2 {
  2677. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  2678. }
  2679. var stringLen uint64
  2680. for shift := uint(0); ; shift += 7 {
  2681. if shift >= 64 {
  2682. return ErrIntOverflowGenerated
  2683. }
  2684. if iNdEx >= l {
  2685. return io.ErrUnexpectedEOF
  2686. }
  2687. b := data[iNdEx]
  2688. iNdEx++
  2689. stringLen |= (uint64(b) & 0x7F) << shift
  2690. if b < 0x80 {
  2691. break
  2692. }
  2693. }
  2694. intStringLen := int(stringLen)
  2695. if intStringLen < 0 {
  2696. return ErrInvalidLengthGenerated
  2697. }
  2698. postIndex := iNdEx + intStringLen
  2699. if postIndex > l {
  2700. return io.ErrUnexpectedEOF
  2701. }
  2702. m.Kind = string(data[iNdEx:postIndex])
  2703. iNdEx = postIndex
  2704. default:
  2705. iNdEx = preIndex
  2706. skippy, err := skipGenerated(data[iNdEx:])
  2707. if err != nil {
  2708. return err
  2709. }
  2710. if skippy < 0 {
  2711. return ErrInvalidLengthGenerated
  2712. }
  2713. if (iNdEx + skippy) > l {
  2714. return io.ErrUnexpectedEOF
  2715. }
  2716. iNdEx += skippy
  2717. }
  2718. }
  2719. if iNdEx > l {
  2720. return io.ErrUnexpectedEOF
  2721. }
  2722. return nil
  2723. }
  2724. func (m *GroupVersionResource) Unmarshal(data []byte) error {
  2725. l := len(data)
  2726. iNdEx := 0
  2727. for iNdEx < l {
  2728. preIndex := iNdEx
  2729. var wire uint64
  2730. for shift := uint(0); ; shift += 7 {
  2731. if shift >= 64 {
  2732. return ErrIntOverflowGenerated
  2733. }
  2734. if iNdEx >= l {
  2735. return io.ErrUnexpectedEOF
  2736. }
  2737. b := data[iNdEx]
  2738. iNdEx++
  2739. wire |= (uint64(b) & 0x7F) << shift
  2740. if b < 0x80 {
  2741. break
  2742. }
  2743. }
  2744. fieldNum := int32(wire >> 3)
  2745. wireType := int(wire & 0x7)
  2746. if wireType == 4 {
  2747. return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group")
  2748. }
  2749. if fieldNum <= 0 {
  2750. return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire)
  2751. }
  2752. switch fieldNum {
  2753. case 1:
  2754. if wireType != 2 {
  2755. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  2756. }
  2757. var stringLen uint64
  2758. for shift := uint(0); ; shift += 7 {
  2759. if shift >= 64 {
  2760. return ErrIntOverflowGenerated
  2761. }
  2762. if iNdEx >= l {
  2763. return io.ErrUnexpectedEOF
  2764. }
  2765. b := data[iNdEx]
  2766. iNdEx++
  2767. stringLen |= (uint64(b) & 0x7F) << shift
  2768. if b < 0x80 {
  2769. break
  2770. }
  2771. }
  2772. intStringLen := int(stringLen)
  2773. if intStringLen < 0 {
  2774. return ErrInvalidLengthGenerated
  2775. }
  2776. postIndex := iNdEx + intStringLen
  2777. if postIndex > l {
  2778. return io.ErrUnexpectedEOF
  2779. }
  2780. m.Group = string(data[iNdEx:postIndex])
  2781. iNdEx = postIndex
  2782. case 2:
  2783. if wireType != 2 {
  2784. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  2785. }
  2786. var stringLen uint64
  2787. for shift := uint(0); ; shift += 7 {
  2788. if shift >= 64 {
  2789. return ErrIntOverflowGenerated
  2790. }
  2791. if iNdEx >= l {
  2792. return io.ErrUnexpectedEOF
  2793. }
  2794. b := data[iNdEx]
  2795. iNdEx++
  2796. stringLen |= (uint64(b) & 0x7F) << shift
  2797. if b < 0x80 {
  2798. break
  2799. }
  2800. }
  2801. intStringLen := int(stringLen)
  2802. if intStringLen < 0 {
  2803. return ErrInvalidLengthGenerated
  2804. }
  2805. postIndex := iNdEx + intStringLen
  2806. if postIndex > l {
  2807. return io.ErrUnexpectedEOF
  2808. }
  2809. m.Version = string(data[iNdEx:postIndex])
  2810. iNdEx = postIndex
  2811. case 3:
  2812. if wireType != 2 {
  2813. return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
  2814. }
  2815. var stringLen uint64
  2816. for shift := uint(0); ; shift += 7 {
  2817. if shift >= 64 {
  2818. return ErrIntOverflowGenerated
  2819. }
  2820. if iNdEx >= l {
  2821. return io.ErrUnexpectedEOF
  2822. }
  2823. b := data[iNdEx]
  2824. iNdEx++
  2825. stringLen |= (uint64(b) & 0x7F) << shift
  2826. if b < 0x80 {
  2827. break
  2828. }
  2829. }
  2830. intStringLen := int(stringLen)
  2831. if intStringLen < 0 {
  2832. return ErrInvalidLengthGenerated
  2833. }
  2834. postIndex := iNdEx + intStringLen
  2835. if postIndex > l {
  2836. return io.ErrUnexpectedEOF
  2837. }
  2838. m.Resource = string(data[iNdEx:postIndex])
  2839. iNdEx = postIndex
  2840. default:
  2841. iNdEx = preIndex
  2842. skippy, err := skipGenerated(data[iNdEx:])
  2843. if err != nil {
  2844. return err
  2845. }
  2846. if skippy < 0 {
  2847. return ErrInvalidLengthGenerated
  2848. }
  2849. if (iNdEx + skippy) > l {
  2850. return io.ErrUnexpectedEOF
  2851. }
  2852. iNdEx += skippy
  2853. }
  2854. }
  2855. if iNdEx > l {
  2856. return io.ErrUnexpectedEOF
  2857. }
  2858. return nil
  2859. }
  2860. func (m *LabelSelector) Unmarshal(data []byte) error {
  2861. l := len(data)
  2862. iNdEx := 0
  2863. for iNdEx < l {
  2864. preIndex := iNdEx
  2865. var wire uint64
  2866. for shift := uint(0); ; shift += 7 {
  2867. if shift >= 64 {
  2868. return ErrIntOverflowGenerated
  2869. }
  2870. if iNdEx >= l {
  2871. return io.ErrUnexpectedEOF
  2872. }
  2873. b := data[iNdEx]
  2874. iNdEx++
  2875. wire |= (uint64(b) & 0x7F) << shift
  2876. if b < 0x80 {
  2877. break
  2878. }
  2879. }
  2880. fieldNum := int32(wire >> 3)
  2881. wireType := int(wire & 0x7)
  2882. if wireType == 4 {
  2883. return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group")
  2884. }
  2885. if fieldNum <= 0 {
  2886. return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire)
  2887. }
  2888. switch fieldNum {
  2889. case 1:
  2890. if wireType != 2 {
  2891. return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType)
  2892. }
  2893. var msglen int
  2894. for shift := uint(0); ; shift += 7 {
  2895. if shift >= 64 {
  2896. return ErrIntOverflowGenerated
  2897. }
  2898. if iNdEx >= l {
  2899. return io.ErrUnexpectedEOF
  2900. }
  2901. b := data[iNdEx]
  2902. iNdEx++
  2903. msglen |= (int(b) & 0x7F) << shift
  2904. if b < 0x80 {
  2905. break
  2906. }
  2907. }
  2908. if msglen < 0 {
  2909. return ErrInvalidLengthGenerated
  2910. }
  2911. postIndex := iNdEx + msglen
  2912. if postIndex > l {
  2913. return io.ErrUnexpectedEOF
  2914. }
  2915. var keykey uint64
  2916. for shift := uint(0); ; shift += 7 {
  2917. if shift >= 64 {
  2918. return ErrIntOverflowGenerated
  2919. }
  2920. if iNdEx >= l {
  2921. return io.ErrUnexpectedEOF
  2922. }
  2923. b := data[iNdEx]
  2924. iNdEx++
  2925. keykey |= (uint64(b) & 0x7F) << shift
  2926. if b < 0x80 {
  2927. break
  2928. }
  2929. }
  2930. var stringLenmapkey uint64
  2931. for shift := uint(0); ; shift += 7 {
  2932. if shift >= 64 {
  2933. return ErrIntOverflowGenerated
  2934. }
  2935. if iNdEx >= l {
  2936. return io.ErrUnexpectedEOF
  2937. }
  2938. b := data[iNdEx]
  2939. iNdEx++
  2940. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  2941. if b < 0x80 {
  2942. break
  2943. }
  2944. }
  2945. intStringLenmapkey := int(stringLenmapkey)
  2946. if intStringLenmapkey < 0 {
  2947. return ErrInvalidLengthGenerated
  2948. }
  2949. postStringIndexmapkey := iNdEx + intStringLenmapkey
  2950. if postStringIndexmapkey > l {
  2951. return io.ErrUnexpectedEOF
  2952. }
  2953. mapkey := string(data[iNdEx:postStringIndexmapkey])
  2954. iNdEx = postStringIndexmapkey
  2955. var valuekey uint64
  2956. for shift := uint(0); ; shift += 7 {
  2957. if shift >= 64 {
  2958. return ErrIntOverflowGenerated
  2959. }
  2960. if iNdEx >= l {
  2961. return io.ErrUnexpectedEOF
  2962. }
  2963. b := data[iNdEx]
  2964. iNdEx++
  2965. valuekey |= (uint64(b) & 0x7F) << shift
  2966. if b < 0x80 {
  2967. break
  2968. }
  2969. }
  2970. var stringLenmapvalue uint64
  2971. for shift := uint(0); ; shift += 7 {
  2972. if shift >= 64 {
  2973. return ErrIntOverflowGenerated
  2974. }
  2975. if iNdEx >= l {
  2976. return io.ErrUnexpectedEOF
  2977. }
  2978. b := data[iNdEx]
  2979. iNdEx++
  2980. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  2981. if b < 0x80 {
  2982. break
  2983. }
  2984. }
  2985. intStringLenmapvalue := int(stringLenmapvalue)
  2986. if intStringLenmapvalue < 0 {
  2987. return ErrInvalidLengthGenerated
  2988. }
  2989. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  2990. if postStringIndexmapvalue > l {
  2991. return io.ErrUnexpectedEOF
  2992. }
  2993. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  2994. iNdEx = postStringIndexmapvalue
  2995. if m.MatchLabels == nil {
  2996. m.MatchLabels = make(map[string]string)
  2997. }
  2998. m.MatchLabels[mapkey] = mapvalue
  2999. iNdEx = postIndex
  3000. case 2:
  3001. if wireType != 2 {
  3002. return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
  3003. }
  3004. var msglen int
  3005. for shift := uint(0); ; shift += 7 {
  3006. if shift >= 64 {
  3007. return ErrIntOverflowGenerated
  3008. }
  3009. if iNdEx >= l {
  3010. return io.ErrUnexpectedEOF
  3011. }
  3012. b := data[iNdEx]
  3013. iNdEx++
  3014. msglen |= (int(b) & 0x7F) << shift
  3015. if b < 0x80 {
  3016. break
  3017. }
  3018. }
  3019. if msglen < 0 {
  3020. return ErrInvalidLengthGenerated
  3021. }
  3022. postIndex := iNdEx + msglen
  3023. if postIndex > l {
  3024. return io.ErrUnexpectedEOF
  3025. }
  3026. m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{})
  3027. if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  3028. return err
  3029. }
  3030. iNdEx = postIndex
  3031. default:
  3032. iNdEx = preIndex
  3033. skippy, err := skipGenerated(data[iNdEx:])
  3034. if err != nil {
  3035. return err
  3036. }
  3037. if skippy < 0 {
  3038. return ErrInvalidLengthGenerated
  3039. }
  3040. if (iNdEx + skippy) > l {
  3041. return io.ErrUnexpectedEOF
  3042. }
  3043. iNdEx += skippy
  3044. }
  3045. }
  3046. if iNdEx > l {
  3047. return io.ErrUnexpectedEOF
  3048. }
  3049. return nil
  3050. }
  3051. func (m *LabelSelectorRequirement) Unmarshal(data []byte) error {
  3052. l := len(data)
  3053. iNdEx := 0
  3054. for iNdEx < l {
  3055. preIndex := iNdEx
  3056. var wire uint64
  3057. for shift := uint(0); ; shift += 7 {
  3058. if shift >= 64 {
  3059. return ErrIntOverflowGenerated
  3060. }
  3061. if iNdEx >= l {
  3062. return io.ErrUnexpectedEOF
  3063. }
  3064. b := data[iNdEx]
  3065. iNdEx++
  3066. wire |= (uint64(b) & 0x7F) << shift
  3067. if b < 0x80 {
  3068. break
  3069. }
  3070. }
  3071. fieldNum := int32(wire >> 3)
  3072. wireType := int(wire & 0x7)
  3073. if wireType == 4 {
  3074. return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group")
  3075. }
  3076. if fieldNum <= 0 {
  3077. return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
  3078. }
  3079. switch fieldNum {
  3080. case 1:
  3081. if wireType != 2 {
  3082. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  3083. }
  3084. var stringLen uint64
  3085. for shift := uint(0); ; shift += 7 {
  3086. if shift >= 64 {
  3087. return ErrIntOverflowGenerated
  3088. }
  3089. if iNdEx >= l {
  3090. return io.ErrUnexpectedEOF
  3091. }
  3092. b := data[iNdEx]
  3093. iNdEx++
  3094. stringLen |= (uint64(b) & 0x7F) << shift
  3095. if b < 0x80 {
  3096. break
  3097. }
  3098. }
  3099. intStringLen := int(stringLen)
  3100. if intStringLen < 0 {
  3101. return ErrInvalidLengthGenerated
  3102. }
  3103. postIndex := iNdEx + intStringLen
  3104. if postIndex > l {
  3105. return io.ErrUnexpectedEOF
  3106. }
  3107. m.Key = string(data[iNdEx:postIndex])
  3108. iNdEx = postIndex
  3109. case 2:
  3110. if wireType != 2 {
  3111. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  3112. }
  3113. var stringLen uint64
  3114. for shift := uint(0); ; shift += 7 {
  3115. if shift >= 64 {
  3116. return ErrIntOverflowGenerated
  3117. }
  3118. if iNdEx >= l {
  3119. return io.ErrUnexpectedEOF
  3120. }
  3121. b := data[iNdEx]
  3122. iNdEx++
  3123. stringLen |= (uint64(b) & 0x7F) << shift
  3124. if b < 0x80 {
  3125. break
  3126. }
  3127. }
  3128. intStringLen := int(stringLen)
  3129. if intStringLen < 0 {
  3130. return ErrInvalidLengthGenerated
  3131. }
  3132. postIndex := iNdEx + intStringLen
  3133. if postIndex > l {
  3134. return io.ErrUnexpectedEOF
  3135. }
  3136. m.Operator = LabelSelectorOperator(data[iNdEx:postIndex])
  3137. iNdEx = postIndex
  3138. case 3:
  3139. if wireType != 2 {
  3140. return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
  3141. }
  3142. var stringLen uint64
  3143. for shift := uint(0); ; shift += 7 {
  3144. if shift >= 64 {
  3145. return ErrIntOverflowGenerated
  3146. }
  3147. if iNdEx >= l {
  3148. return io.ErrUnexpectedEOF
  3149. }
  3150. b := data[iNdEx]
  3151. iNdEx++
  3152. stringLen |= (uint64(b) & 0x7F) << shift
  3153. if b < 0x80 {
  3154. break
  3155. }
  3156. }
  3157. intStringLen := int(stringLen)
  3158. if intStringLen < 0 {
  3159. return ErrInvalidLengthGenerated
  3160. }
  3161. postIndex := iNdEx + intStringLen
  3162. if postIndex > l {
  3163. return io.ErrUnexpectedEOF
  3164. }
  3165. m.Values = append(m.Values, string(data[iNdEx:postIndex]))
  3166. iNdEx = postIndex
  3167. default:
  3168. iNdEx = preIndex
  3169. skippy, err := skipGenerated(data[iNdEx:])
  3170. if err != nil {
  3171. return err
  3172. }
  3173. if skippy < 0 {
  3174. return ErrInvalidLengthGenerated
  3175. }
  3176. if (iNdEx + skippy) > l {
  3177. return io.ErrUnexpectedEOF
  3178. }
  3179. iNdEx += skippy
  3180. }
  3181. }
  3182. if iNdEx > l {
  3183. return io.ErrUnexpectedEOF
  3184. }
  3185. return nil
  3186. }
  3187. func (m *ListMeta) Unmarshal(data []byte) error {
  3188. l := len(data)
  3189. iNdEx := 0
  3190. for iNdEx < l {
  3191. preIndex := iNdEx
  3192. var wire uint64
  3193. for shift := uint(0); ; shift += 7 {
  3194. if shift >= 64 {
  3195. return ErrIntOverflowGenerated
  3196. }
  3197. if iNdEx >= l {
  3198. return io.ErrUnexpectedEOF
  3199. }
  3200. b := data[iNdEx]
  3201. iNdEx++
  3202. wire |= (uint64(b) & 0x7F) << shift
  3203. if b < 0x80 {
  3204. break
  3205. }
  3206. }
  3207. fieldNum := int32(wire >> 3)
  3208. wireType := int(wire & 0x7)
  3209. if wireType == 4 {
  3210. return fmt.Errorf("proto: ListMeta: wiretype end group for non-group")
  3211. }
  3212. if fieldNum <= 0 {
  3213. return fmt.Errorf("proto: ListMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  3214. }
  3215. switch fieldNum {
  3216. case 1:
  3217. if wireType != 2 {
  3218. return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
  3219. }
  3220. var stringLen uint64
  3221. for shift := uint(0); ; shift += 7 {
  3222. if shift >= 64 {
  3223. return ErrIntOverflowGenerated
  3224. }
  3225. if iNdEx >= l {
  3226. return io.ErrUnexpectedEOF
  3227. }
  3228. b := data[iNdEx]
  3229. iNdEx++
  3230. stringLen |= (uint64(b) & 0x7F) << shift
  3231. if b < 0x80 {
  3232. break
  3233. }
  3234. }
  3235. intStringLen := int(stringLen)
  3236. if intStringLen < 0 {
  3237. return ErrInvalidLengthGenerated
  3238. }
  3239. postIndex := iNdEx + intStringLen
  3240. if postIndex > l {
  3241. return io.ErrUnexpectedEOF
  3242. }
  3243. m.SelfLink = string(data[iNdEx:postIndex])
  3244. iNdEx = postIndex
  3245. case 2:
  3246. if wireType != 2 {
  3247. return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
  3248. }
  3249. var stringLen uint64
  3250. for shift := uint(0); ; shift += 7 {
  3251. if shift >= 64 {
  3252. return ErrIntOverflowGenerated
  3253. }
  3254. if iNdEx >= l {
  3255. return io.ErrUnexpectedEOF
  3256. }
  3257. b := data[iNdEx]
  3258. iNdEx++
  3259. stringLen |= (uint64(b) & 0x7F) << shift
  3260. if b < 0x80 {
  3261. break
  3262. }
  3263. }
  3264. intStringLen := int(stringLen)
  3265. if intStringLen < 0 {
  3266. return ErrInvalidLengthGenerated
  3267. }
  3268. postIndex := iNdEx + intStringLen
  3269. if postIndex > l {
  3270. return io.ErrUnexpectedEOF
  3271. }
  3272. m.ResourceVersion = string(data[iNdEx:postIndex])
  3273. iNdEx = postIndex
  3274. default:
  3275. iNdEx = preIndex
  3276. skippy, err := skipGenerated(data[iNdEx:])
  3277. if err != nil {
  3278. return err
  3279. }
  3280. if skippy < 0 {
  3281. return ErrInvalidLengthGenerated
  3282. }
  3283. if (iNdEx + skippy) > l {
  3284. return io.ErrUnexpectedEOF
  3285. }
  3286. iNdEx += skippy
  3287. }
  3288. }
  3289. if iNdEx > l {
  3290. return io.ErrUnexpectedEOF
  3291. }
  3292. return nil
  3293. }
  3294. func (m *RootPaths) Unmarshal(data []byte) error {
  3295. l := len(data)
  3296. iNdEx := 0
  3297. for iNdEx < l {
  3298. preIndex := iNdEx
  3299. var wire uint64
  3300. for shift := uint(0); ; shift += 7 {
  3301. if shift >= 64 {
  3302. return ErrIntOverflowGenerated
  3303. }
  3304. if iNdEx >= l {
  3305. return io.ErrUnexpectedEOF
  3306. }
  3307. b := data[iNdEx]
  3308. iNdEx++
  3309. wire |= (uint64(b) & 0x7F) << shift
  3310. if b < 0x80 {
  3311. break
  3312. }
  3313. }
  3314. fieldNum := int32(wire >> 3)
  3315. wireType := int(wire & 0x7)
  3316. if wireType == 4 {
  3317. return fmt.Errorf("proto: RootPaths: wiretype end group for non-group")
  3318. }
  3319. if fieldNum <= 0 {
  3320. return fmt.Errorf("proto: RootPaths: illegal tag %d (wire type %d)", fieldNum, wire)
  3321. }
  3322. switch fieldNum {
  3323. case 1:
  3324. if wireType != 2 {
  3325. return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
  3326. }
  3327. var stringLen uint64
  3328. for shift := uint(0); ; shift += 7 {
  3329. if shift >= 64 {
  3330. return ErrIntOverflowGenerated
  3331. }
  3332. if iNdEx >= l {
  3333. return io.ErrUnexpectedEOF
  3334. }
  3335. b := data[iNdEx]
  3336. iNdEx++
  3337. stringLen |= (uint64(b) & 0x7F) << shift
  3338. if b < 0x80 {
  3339. break
  3340. }
  3341. }
  3342. intStringLen := int(stringLen)
  3343. if intStringLen < 0 {
  3344. return ErrInvalidLengthGenerated
  3345. }
  3346. postIndex := iNdEx + intStringLen
  3347. if postIndex > l {
  3348. return io.ErrUnexpectedEOF
  3349. }
  3350. m.Paths = append(m.Paths, string(data[iNdEx:postIndex]))
  3351. iNdEx = postIndex
  3352. default:
  3353. iNdEx = preIndex
  3354. skippy, err := skipGenerated(data[iNdEx:])
  3355. if err != nil {
  3356. return err
  3357. }
  3358. if skippy < 0 {
  3359. return ErrInvalidLengthGenerated
  3360. }
  3361. if (iNdEx + skippy) > l {
  3362. return io.ErrUnexpectedEOF
  3363. }
  3364. iNdEx += skippy
  3365. }
  3366. }
  3367. if iNdEx > l {
  3368. return io.ErrUnexpectedEOF
  3369. }
  3370. return nil
  3371. }
  3372. func (m *ServerAddressByClientCIDR) Unmarshal(data []byte) error {
  3373. l := len(data)
  3374. iNdEx := 0
  3375. for iNdEx < l {
  3376. preIndex := iNdEx
  3377. var wire uint64
  3378. for shift := uint(0); ; shift += 7 {
  3379. if shift >= 64 {
  3380. return ErrIntOverflowGenerated
  3381. }
  3382. if iNdEx >= l {
  3383. return io.ErrUnexpectedEOF
  3384. }
  3385. b := data[iNdEx]
  3386. iNdEx++
  3387. wire |= (uint64(b) & 0x7F) << shift
  3388. if b < 0x80 {
  3389. break
  3390. }
  3391. }
  3392. fieldNum := int32(wire >> 3)
  3393. wireType := int(wire & 0x7)
  3394. if wireType == 4 {
  3395. return fmt.Errorf("proto: ServerAddressByClientCIDR: wiretype end group for non-group")
  3396. }
  3397. if fieldNum <= 0 {
  3398. return fmt.Errorf("proto: ServerAddressByClientCIDR: illegal tag %d (wire type %d)", fieldNum, wire)
  3399. }
  3400. switch fieldNum {
  3401. case 1:
  3402. if wireType != 2 {
  3403. return fmt.Errorf("proto: wrong wireType = %d for field ClientCIDR", wireType)
  3404. }
  3405. var stringLen uint64
  3406. for shift := uint(0); ; shift += 7 {
  3407. if shift >= 64 {
  3408. return ErrIntOverflowGenerated
  3409. }
  3410. if iNdEx >= l {
  3411. return io.ErrUnexpectedEOF
  3412. }
  3413. b := data[iNdEx]
  3414. iNdEx++
  3415. stringLen |= (uint64(b) & 0x7F) << shift
  3416. if b < 0x80 {
  3417. break
  3418. }
  3419. }
  3420. intStringLen := int(stringLen)
  3421. if intStringLen < 0 {
  3422. return ErrInvalidLengthGenerated
  3423. }
  3424. postIndex := iNdEx + intStringLen
  3425. if postIndex > l {
  3426. return io.ErrUnexpectedEOF
  3427. }
  3428. m.ClientCIDR = string(data[iNdEx:postIndex])
  3429. iNdEx = postIndex
  3430. case 2:
  3431. if wireType != 2 {
  3432. return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType)
  3433. }
  3434. var stringLen uint64
  3435. for shift := uint(0); ; shift += 7 {
  3436. if shift >= 64 {
  3437. return ErrIntOverflowGenerated
  3438. }
  3439. if iNdEx >= l {
  3440. return io.ErrUnexpectedEOF
  3441. }
  3442. b := data[iNdEx]
  3443. iNdEx++
  3444. stringLen |= (uint64(b) & 0x7F) << shift
  3445. if b < 0x80 {
  3446. break
  3447. }
  3448. }
  3449. intStringLen := int(stringLen)
  3450. if intStringLen < 0 {
  3451. return ErrInvalidLengthGenerated
  3452. }
  3453. postIndex := iNdEx + intStringLen
  3454. if postIndex > l {
  3455. return io.ErrUnexpectedEOF
  3456. }
  3457. m.ServerAddress = string(data[iNdEx:postIndex])
  3458. iNdEx = postIndex
  3459. default:
  3460. iNdEx = preIndex
  3461. skippy, err := skipGenerated(data[iNdEx:])
  3462. if err != nil {
  3463. return err
  3464. }
  3465. if skippy < 0 {
  3466. return ErrInvalidLengthGenerated
  3467. }
  3468. if (iNdEx + skippy) > l {
  3469. return io.ErrUnexpectedEOF
  3470. }
  3471. iNdEx += skippy
  3472. }
  3473. }
  3474. if iNdEx > l {
  3475. return io.ErrUnexpectedEOF
  3476. }
  3477. return nil
  3478. }
  3479. func (m *Status) Unmarshal(data []byte) error {
  3480. l := len(data)
  3481. iNdEx := 0
  3482. for iNdEx < l {
  3483. preIndex := iNdEx
  3484. var wire uint64
  3485. for shift := uint(0); ; shift += 7 {
  3486. if shift >= 64 {
  3487. return ErrIntOverflowGenerated
  3488. }
  3489. if iNdEx >= l {
  3490. return io.ErrUnexpectedEOF
  3491. }
  3492. b := data[iNdEx]
  3493. iNdEx++
  3494. wire |= (uint64(b) & 0x7F) << shift
  3495. if b < 0x80 {
  3496. break
  3497. }
  3498. }
  3499. fieldNum := int32(wire >> 3)
  3500. wireType := int(wire & 0x7)
  3501. if wireType == 4 {
  3502. return fmt.Errorf("proto: Status: wiretype end group for non-group")
  3503. }
  3504. if fieldNum <= 0 {
  3505. return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire)
  3506. }
  3507. switch fieldNum {
  3508. case 1:
  3509. if wireType != 2 {
  3510. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  3511. }
  3512. var msglen int
  3513. for shift := uint(0); ; shift += 7 {
  3514. if shift >= 64 {
  3515. return ErrIntOverflowGenerated
  3516. }
  3517. if iNdEx >= l {
  3518. return io.ErrUnexpectedEOF
  3519. }
  3520. b := data[iNdEx]
  3521. iNdEx++
  3522. msglen |= (int(b) & 0x7F) << shift
  3523. if b < 0x80 {
  3524. break
  3525. }
  3526. }
  3527. if msglen < 0 {
  3528. return ErrInvalidLengthGenerated
  3529. }
  3530. postIndex := iNdEx + msglen
  3531. if postIndex > l {
  3532. return io.ErrUnexpectedEOF
  3533. }
  3534. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3535. return err
  3536. }
  3537. iNdEx = postIndex
  3538. case 2:
  3539. if wireType != 2 {
  3540. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3541. }
  3542. var stringLen uint64
  3543. for shift := uint(0); ; shift += 7 {
  3544. if shift >= 64 {
  3545. return ErrIntOverflowGenerated
  3546. }
  3547. if iNdEx >= l {
  3548. return io.ErrUnexpectedEOF
  3549. }
  3550. b := data[iNdEx]
  3551. iNdEx++
  3552. stringLen |= (uint64(b) & 0x7F) << shift
  3553. if b < 0x80 {
  3554. break
  3555. }
  3556. }
  3557. intStringLen := int(stringLen)
  3558. if intStringLen < 0 {
  3559. return ErrInvalidLengthGenerated
  3560. }
  3561. postIndex := iNdEx + intStringLen
  3562. if postIndex > l {
  3563. return io.ErrUnexpectedEOF
  3564. }
  3565. m.Status = string(data[iNdEx:postIndex])
  3566. iNdEx = postIndex
  3567. case 3:
  3568. if wireType != 2 {
  3569. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  3570. }
  3571. var stringLen uint64
  3572. for shift := uint(0); ; shift += 7 {
  3573. if shift >= 64 {
  3574. return ErrIntOverflowGenerated
  3575. }
  3576. if iNdEx >= l {
  3577. return io.ErrUnexpectedEOF
  3578. }
  3579. b := data[iNdEx]
  3580. iNdEx++
  3581. stringLen |= (uint64(b) & 0x7F) << shift
  3582. if b < 0x80 {
  3583. break
  3584. }
  3585. }
  3586. intStringLen := int(stringLen)
  3587. if intStringLen < 0 {
  3588. return ErrInvalidLengthGenerated
  3589. }
  3590. postIndex := iNdEx + intStringLen
  3591. if postIndex > l {
  3592. return io.ErrUnexpectedEOF
  3593. }
  3594. m.Message = string(data[iNdEx:postIndex])
  3595. iNdEx = postIndex
  3596. case 4:
  3597. if wireType != 2 {
  3598. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  3599. }
  3600. var stringLen uint64
  3601. for shift := uint(0); ; shift += 7 {
  3602. if shift >= 64 {
  3603. return ErrIntOverflowGenerated
  3604. }
  3605. if iNdEx >= l {
  3606. return io.ErrUnexpectedEOF
  3607. }
  3608. b := data[iNdEx]
  3609. iNdEx++
  3610. stringLen |= (uint64(b) & 0x7F) << shift
  3611. if b < 0x80 {
  3612. break
  3613. }
  3614. }
  3615. intStringLen := int(stringLen)
  3616. if intStringLen < 0 {
  3617. return ErrInvalidLengthGenerated
  3618. }
  3619. postIndex := iNdEx + intStringLen
  3620. if postIndex > l {
  3621. return io.ErrUnexpectedEOF
  3622. }
  3623. m.Reason = StatusReason(data[iNdEx:postIndex])
  3624. iNdEx = postIndex
  3625. case 5:
  3626. if wireType != 2 {
  3627. return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
  3628. }
  3629. var msglen int
  3630. for shift := uint(0); ; shift += 7 {
  3631. if shift >= 64 {
  3632. return ErrIntOverflowGenerated
  3633. }
  3634. if iNdEx >= l {
  3635. return io.ErrUnexpectedEOF
  3636. }
  3637. b := data[iNdEx]
  3638. iNdEx++
  3639. msglen |= (int(b) & 0x7F) << shift
  3640. if b < 0x80 {
  3641. break
  3642. }
  3643. }
  3644. if msglen < 0 {
  3645. return ErrInvalidLengthGenerated
  3646. }
  3647. postIndex := iNdEx + msglen
  3648. if postIndex > l {
  3649. return io.ErrUnexpectedEOF
  3650. }
  3651. if m.Details == nil {
  3652. m.Details = &StatusDetails{}
  3653. }
  3654. if err := m.Details.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3655. return err
  3656. }
  3657. iNdEx = postIndex
  3658. case 6:
  3659. if wireType != 0 {
  3660. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  3661. }
  3662. m.Code = 0
  3663. for shift := uint(0); ; shift += 7 {
  3664. if shift >= 64 {
  3665. return ErrIntOverflowGenerated
  3666. }
  3667. if iNdEx >= l {
  3668. return io.ErrUnexpectedEOF
  3669. }
  3670. b := data[iNdEx]
  3671. iNdEx++
  3672. m.Code |= (int32(b) & 0x7F) << shift
  3673. if b < 0x80 {
  3674. break
  3675. }
  3676. }
  3677. default:
  3678. iNdEx = preIndex
  3679. skippy, err := skipGenerated(data[iNdEx:])
  3680. if err != nil {
  3681. return err
  3682. }
  3683. if skippy < 0 {
  3684. return ErrInvalidLengthGenerated
  3685. }
  3686. if (iNdEx + skippy) > l {
  3687. return io.ErrUnexpectedEOF
  3688. }
  3689. iNdEx += skippy
  3690. }
  3691. }
  3692. if iNdEx > l {
  3693. return io.ErrUnexpectedEOF
  3694. }
  3695. return nil
  3696. }
  3697. func (m *StatusCause) Unmarshal(data []byte) error {
  3698. l := len(data)
  3699. iNdEx := 0
  3700. for iNdEx < l {
  3701. preIndex := iNdEx
  3702. var wire uint64
  3703. for shift := uint(0); ; shift += 7 {
  3704. if shift >= 64 {
  3705. return ErrIntOverflowGenerated
  3706. }
  3707. if iNdEx >= l {
  3708. return io.ErrUnexpectedEOF
  3709. }
  3710. b := data[iNdEx]
  3711. iNdEx++
  3712. wire |= (uint64(b) & 0x7F) << shift
  3713. if b < 0x80 {
  3714. break
  3715. }
  3716. }
  3717. fieldNum := int32(wire >> 3)
  3718. wireType := int(wire & 0x7)
  3719. if wireType == 4 {
  3720. return fmt.Errorf("proto: StatusCause: wiretype end group for non-group")
  3721. }
  3722. if fieldNum <= 0 {
  3723. return fmt.Errorf("proto: StatusCause: illegal tag %d (wire type %d)", fieldNum, wire)
  3724. }
  3725. switch fieldNum {
  3726. case 1:
  3727. if wireType != 2 {
  3728. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3729. }
  3730. var stringLen uint64
  3731. for shift := uint(0); ; shift += 7 {
  3732. if shift >= 64 {
  3733. return ErrIntOverflowGenerated
  3734. }
  3735. if iNdEx >= l {
  3736. return io.ErrUnexpectedEOF
  3737. }
  3738. b := data[iNdEx]
  3739. iNdEx++
  3740. stringLen |= (uint64(b) & 0x7F) << shift
  3741. if b < 0x80 {
  3742. break
  3743. }
  3744. }
  3745. intStringLen := int(stringLen)
  3746. if intStringLen < 0 {
  3747. return ErrInvalidLengthGenerated
  3748. }
  3749. postIndex := iNdEx + intStringLen
  3750. if postIndex > l {
  3751. return io.ErrUnexpectedEOF
  3752. }
  3753. m.Type = CauseType(data[iNdEx:postIndex])
  3754. iNdEx = postIndex
  3755. case 2:
  3756. if wireType != 2 {
  3757. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  3758. }
  3759. var stringLen uint64
  3760. for shift := uint(0); ; shift += 7 {
  3761. if shift >= 64 {
  3762. return ErrIntOverflowGenerated
  3763. }
  3764. if iNdEx >= l {
  3765. return io.ErrUnexpectedEOF
  3766. }
  3767. b := data[iNdEx]
  3768. iNdEx++
  3769. stringLen |= (uint64(b) & 0x7F) << shift
  3770. if b < 0x80 {
  3771. break
  3772. }
  3773. }
  3774. intStringLen := int(stringLen)
  3775. if intStringLen < 0 {
  3776. return ErrInvalidLengthGenerated
  3777. }
  3778. postIndex := iNdEx + intStringLen
  3779. if postIndex > l {
  3780. return io.ErrUnexpectedEOF
  3781. }
  3782. m.Message = string(data[iNdEx:postIndex])
  3783. iNdEx = postIndex
  3784. case 3:
  3785. if wireType != 2 {
  3786. return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType)
  3787. }
  3788. var stringLen uint64
  3789. for shift := uint(0); ; shift += 7 {
  3790. if shift >= 64 {
  3791. return ErrIntOverflowGenerated
  3792. }
  3793. if iNdEx >= l {
  3794. return io.ErrUnexpectedEOF
  3795. }
  3796. b := data[iNdEx]
  3797. iNdEx++
  3798. stringLen |= (uint64(b) & 0x7F) << shift
  3799. if b < 0x80 {
  3800. break
  3801. }
  3802. }
  3803. intStringLen := int(stringLen)
  3804. if intStringLen < 0 {
  3805. return ErrInvalidLengthGenerated
  3806. }
  3807. postIndex := iNdEx + intStringLen
  3808. if postIndex > l {
  3809. return io.ErrUnexpectedEOF
  3810. }
  3811. m.Field = string(data[iNdEx:postIndex])
  3812. iNdEx = postIndex
  3813. default:
  3814. iNdEx = preIndex
  3815. skippy, err := skipGenerated(data[iNdEx:])
  3816. if err != nil {
  3817. return err
  3818. }
  3819. if skippy < 0 {
  3820. return ErrInvalidLengthGenerated
  3821. }
  3822. if (iNdEx + skippy) > l {
  3823. return io.ErrUnexpectedEOF
  3824. }
  3825. iNdEx += skippy
  3826. }
  3827. }
  3828. if iNdEx > l {
  3829. return io.ErrUnexpectedEOF
  3830. }
  3831. return nil
  3832. }
  3833. func (m *StatusDetails) Unmarshal(data []byte) error {
  3834. l := len(data)
  3835. iNdEx := 0
  3836. for iNdEx < l {
  3837. preIndex := iNdEx
  3838. var wire uint64
  3839. for shift := uint(0); ; shift += 7 {
  3840. if shift >= 64 {
  3841. return ErrIntOverflowGenerated
  3842. }
  3843. if iNdEx >= l {
  3844. return io.ErrUnexpectedEOF
  3845. }
  3846. b := data[iNdEx]
  3847. iNdEx++
  3848. wire |= (uint64(b) & 0x7F) << shift
  3849. if b < 0x80 {
  3850. break
  3851. }
  3852. }
  3853. fieldNum := int32(wire >> 3)
  3854. wireType := int(wire & 0x7)
  3855. if wireType == 4 {
  3856. return fmt.Errorf("proto: StatusDetails: wiretype end group for non-group")
  3857. }
  3858. if fieldNum <= 0 {
  3859. return fmt.Errorf("proto: StatusDetails: illegal tag %d (wire type %d)", fieldNum, wire)
  3860. }
  3861. switch fieldNum {
  3862. case 1:
  3863. if wireType != 2 {
  3864. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3865. }
  3866. var stringLen uint64
  3867. for shift := uint(0); ; shift += 7 {
  3868. if shift >= 64 {
  3869. return ErrIntOverflowGenerated
  3870. }
  3871. if iNdEx >= l {
  3872. return io.ErrUnexpectedEOF
  3873. }
  3874. b := data[iNdEx]
  3875. iNdEx++
  3876. stringLen |= (uint64(b) & 0x7F) << shift
  3877. if b < 0x80 {
  3878. break
  3879. }
  3880. }
  3881. intStringLen := int(stringLen)
  3882. if intStringLen < 0 {
  3883. return ErrInvalidLengthGenerated
  3884. }
  3885. postIndex := iNdEx + intStringLen
  3886. if postIndex > l {
  3887. return io.ErrUnexpectedEOF
  3888. }
  3889. m.Name = string(data[iNdEx:postIndex])
  3890. iNdEx = postIndex
  3891. case 2:
  3892. if wireType != 2 {
  3893. return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
  3894. }
  3895. var stringLen uint64
  3896. for shift := uint(0); ; shift += 7 {
  3897. if shift >= 64 {
  3898. return ErrIntOverflowGenerated
  3899. }
  3900. if iNdEx >= l {
  3901. return io.ErrUnexpectedEOF
  3902. }
  3903. b := data[iNdEx]
  3904. iNdEx++
  3905. stringLen |= (uint64(b) & 0x7F) << shift
  3906. if b < 0x80 {
  3907. break
  3908. }
  3909. }
  3910. intStringLen := int(stringLen)
  3911. if intStringLen < 0 {
  3912. return ErrInvalidLengthGenerated
  3913. }
  3914. postIndex := iNdEx + intStringLen
  3915. if postIndex > l {
  3916. return io.ErrUnexpectedEOF
  3917. }
  3918. m.Group = string(data[iNdEx:postIndex])
  3919. iNdEx = postIndex
  3920. case 3:
  3921. if wireType != 2 {
  3922. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  3923. }
  3924. var stringLen uint64
  3925. for shift := uint(0); ; shift += 7 {
  3926. if shift >= 64 {
  3927. return ErrIntOverflowGenerated
  3928. }
  3929. if iNdEx >= l {
  3930. return io.ErrUnexpectedEOF
  3931. }
  3932. b := data[iNdEx]
  3933. iNdEx++
  3934. stringLen |= (uint64(b) & 0x7F) << shift
  3935. if b < 0x80 {
  3936. break
  3937. }
  3938. }
  3939. intStringLen := int(stringLen)
  3940. if intStringLen < 0 {
  3941. return ErrInvalidLengthGenerated
  3942. }
  3943. postIndex := iNdEx + intStringLen
  3944. if postIndex > l {
  3945. return io.ErrUnexpectedEOF
  3946. }
  3947. m.Kind = string(data[iNdEx:postIndex])
  3948. iNdEx = postIndex
  3949. case 4:
  3950. if wireType != 2 {
  3951. return fmt.Errorf("proto: wrong wireType = %d for field Causes", wireType)
  3952. }
  3953. var msglen int
  3954. for shift := uint(0); ; shift += 7 {
  3955. if shift >= 64 {
  3956. return ErrIntOverflowGenerated
  3957. }
  3958. if iNdEx >= l {
  3959. return io.ErrUnexpectedEOF
  3960. }
  3961. b := data[iNdEx]
  3962. iNdEx++
  3963. msglen |= (int(b) & 0x7F) << shift
  3964. if b < 0x80 {
  3965. break
  3966. }
  3967. }
  3968. if msglen < 0 {
  3969. return ErrInvalidLengthGenerated
  3970. }
  3971. postIndex := iNdEx + msglen
  3972. if postIndex > l {
  3973. return io.ErrUnexpectedEOF
  3974. }
  3975. m.Causes = append(m.Causes, StatusCause{})
  3976. if err := m.Causes[len(m.Causes)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  3977. return err
  3978. }
  3979. iNdEx = postIndex
  3980. case 5:
  3981. if wireType != 0 {
  3982. return fmt.Errorf("proto: wrong wireType = %d for field RetryAfterSeconds", wireType)
  3983. }
  3984. m.RetryAfterSeconds = 0
  3985. for shift := uint(0); ; shift += 7 {
  3986. if shift >= 64 {
  3987. return ErrIntOverflowGenerated
  3988. }
  3989. if iNdEx >= l {
  3990. return io.ErrUnexpectedEOF
  3991. }
  3992. b := data[iNdEx]
  3993. iNdEx++
  3994. m.RetryAfterSeconds |= (int32(b) & 0x7F) << shift
  3995. if b < 0x80 {
  3996. break
  3997. }
  3998. }
  3999. default:
  4000. iNdEx = preIndex
  4001. skippy, err := skipGenerated(data[iNdEx:])
  4002. if err != nil {
  4003. return err
  4004. }
  4005. if skippy < 0 {
  4006. return ErrInvalidLengthGenerated
  4007. }
  4008. if (iNdEx + skippy) > l {
  4009. return io.ErrUnexpectedEOF
  4010. }
  4011. iNdEx += skippy
  4012. }
  4013. }
  4014. if iNdEx > l {
  4015. return io.ErrUnexpectedEOF
  4016. }
  4017. return nil
  4018. }
  4019. func (m *Timestamp) Unmarshal(data []byte) error {
  4020. l := len(data)
  4021. iNdEx := 0
  4022. for iNdEx < l {
  4023. preIndex := iNdEx
  4024. var wire uint64
  4025. for shift := uint(0); ; shift += 7 {
  4026. if shift >= 64 {
  4027. return ErrIntOverflowGenerated
  4028. }
  4029. if iNdEx >= l {
  4030. return io.ErrUnexpectedEOF
  4031. }
  4032. b := data[iNdEx]
  4033. iNdEx++
  4034. wire |= (uint64(b) & 0x7F) << shift
  4035. if b < 0x80 {
  4036. break
  4037. }
  4038. }
  4039. fieldNum := int32(wire >> 3)
  4040. wireType := int(wire & 0x7)
  4041. if wireType == 4 {
  4042. return fmt.Errorf("proto: Timestamp: wiretype end group for non-group")
  4043. }
  4044. if fieldNum <= 0 {
  4045. return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire)
  4046. }
  4047. switch fieldNum {
  4048. case 1:
  4049. if wireType != 0 {
  4050. return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType)
  4051. }
  4052. m.Seconds = 0
  4053. for shift := uint(0); ; shift += 7 {
  4054. if shift >= 64 {
  4055. return ErrIntOverflowGenerated
  4056. }
  4057. if iNdEx >= l {
  4058. return io.ErrUnexpectedEOF
  4059. }
  4060. b := data[iNdEx]
  4061. iNdEx++
  4062. m.Seconds |= (int64(b) & 0x7F) << shift
  4063. if b < 0x80 {
  4064. break
  4065. }
  4066. }
  4067. case 2:
  4068. if wireType != 0 {
  4069. return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType)
  4070. }
  4071. m.Nanos = 0
  4072. for shift := uint(0); ; shift += 7 {
  4073. if shift >= 64 {
  4074. return ErrIntOverflowGenerated
  4075. }
  4076. if iNdEx >= l {
  4077. return io.ErrUnexpectedEOF
  4078. }
  4079. b := data[iNdEx]
  4080. iNdEx++
  4081. m.Nanos |= (int32(b) & 0x7F) << shift
  4082. if b < 0x80 {
  4083. break
  4084. }
  4085. }
  4086. default:
  4087. iNdEx = preIndex
  4088. skippy, err := skipGenerated(data[iNdEx:])
  4089. if err != nil {
  4090. return err
  4091. }
  4092. if skippy < 0 {
  4093. return ErrInvalidLengthGenerated
  4094. }
  4095. if (iNdEx + skippy) > l {
  4096. return io.ErrUnexpectedEOF
  4097. }
  4098. iNdEx += skippy
  4099. }
  4100. }
  4101. if iNdEx > l {
  4102. return io.ErrUnexpectedEOF
  4103. }
  4104. return nil
  4105. }
  4106. func (m *TypeMeta) Unmarshal(data []byte) error {
  4107. l := len(data)
  4108. iNdEx := 0
  4109. for iNdEx < l {
  4110. preIndex := iNdEx
  4111. var wire uint64
  4112. for shift := uint(0); ; shift += 7 {
  4113. if shift >= 64 {
  4114. return ErrIntOverflowGenerated
  4115. }
  4116. if iNdEx >= l {
  4117. return io.ErrUnexpectedEOF
  4118. }
  4119. b := data[iNdEx]
  4120. iNdEx++
  4121. wire |= (uint64(b) & 0x7F) << shift
  4122. if b < 0x80 {
  4123. break
  4124. }
  4125. }
  4126. fieldNum := int32(wire >> 3)
  4127. wireType := int(wire & 0x7)
  4128. if wireType == 4 {
  4129. return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group")
  4130. }
  4131. if fieldNum <= 0 {
  4132. return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  4133. }
  4134. switch fieldNum {
  4135. case 1:
  4136. if wireType != 2 {
  4137. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  4138. }
  4139. var stringLen uint64
  4140. for shift := uint(0); ; shift += 7 {
  4141. if shift >= 64 {
  4142. return ErrIntOverflowGenerated
  4143. }
  4144. if iNdEx >= l {
  4145. return io.ErrUnexpectedEOF
  4146. }
  4147. b := data[iNdEx]
  4148. iNdEx++
  4149. stringLen |= (uint64(b) & 0x7F) << shift
  4150. if b < 0x80 {
  4151. break
  4152. }
  4153. }
  4154. intStringLen := int(stringLen)
  4155. if intStringLen < 0 {
  4156. return ErrInvalidLengthGenerated
  4157. }
  4158. postIndex := iNdEx + intStringLen
  4159. if postIndex > l {
  4160. return io.ErrUnexpectedEOF
  4161. }
  4162. m.Kind = string(data[iNdEx:postIndex])
  4163. iNdEx = postIndex
  4164. case 2:
  4165. if wireType != 2 {
  4166. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  4167. }
  4168. var stringLen uint64
  4169. for shift := uint(0); ; shift += 7 {
  4170. if shift >= 64 {
  4171. return ErrIntOverflowGenerated
  4172. }
  4173. if iNdEx >= l {
  4174. return io.ErrUnexpectedEOF
  4175. }
  4176. b := data[iNdEx]
  4177. iNdEx++
  4178. stringLen |= (uint64(b) & 0x7F) << shift
  4179. if b < 0x80 {
  4180. break
  4181. }
  4182. }
  4183. intStringLen := int(stringLen)
  4184. if intStringLen < 0 {
  4185. return ErrInvalidLengthGenerated
  4186. }
  4187. postIndex := iNdEx + intStringLen
  4188. if postIndex > l {
  4189. return io.ErrUnexpectedEOF
  4190. }
  4191. m.APIVersion = string(data[iNdEx:postIndex])
  4192. iNdEx = postIndex
  4193. default:
  4194. iNdEx = preIndex
  4195. skippy, err := skipGenerated(data[iNdEx:])
  4196. if err != nil {
  4197. return err
  4198. }
  4199. if skippy < 0 {
  4200. return ErrInvalidLengthGenerated
  4201. }
  4202. if (iNdEx + skippy) > l {
  4203. return io.ErrUnexpectedEOF
  4204. }
  4205. iNdEx += skippy
  4206. }
  4207. }
  4208. if iNdEx > l {
  4209. return io.ErrUnexpectedEOF
  4210. }
  4211. return nil
  4212. }
  4213. func skipGenerated(data []byte) (n int, err error) {
  4214. l := len(data)
  4215. iNdEx := 0
  4216. for iNdEx < l {
  4217. var wire uint64
  4218. for shift := uint(0); ; shift += 7 {
  4219. if shift >= 64 {
  4220. return 0, ErrIntOverflowGenerated
  4221. }
  4222. if iNdEx >= l {
  4223. return 0, io.ErrUnexpectedEOF
  4224. }
  4225. b := data[iNdEx]
  4226. iNdEx++
  4227. wire |= (uint64(b) & 0x7F) << shift
  4228. if b < 0x80 {
  4229. break
  4230. }
  4231. }
  4232. wireType := int(wire & 0x7)
  4233. switch wireType {
  4234. case 0:
  4235. for shift := uint(0); ; shift += 7 {
  4236. if shift >= 64 {
  4237. return 0, ErrIntOverflowGenerated
  4238. }
  4239. if iNdEx >= l {
  4240. return 0, io.ErrUnexpectedEOF
  4241. }
  4242. iNdEx++
  4243. if data[iNdEx-1] < 0x80 {
  4244. break
  4245. }
  4246. }
  4247. return iNdEx, nil
  4248. case 1:
  4249. iNdEx += 8
  4250. return iNdEx, nil
  4251. case 2:
  4252. var length int
  4253. for shift := uint(0); ; shift += 7 {
  4254. if shift >= 64 {
  4255. return 0, ErrIntOverflowGenerated
  4256. }
  4257. if iNdEx >= l {
  4258. return 0, io.ErrUnexpectedEOF
  4259. }
  4260. b := data[iNdEx]
  4261. iNdEx++
  4262. length |= (int(b) & 0x7F) << shift
  4263. if b < 0x80 {
  4264. break
  4265. }
  4266. }
  4267. iNdEx += length
  4268. if length < 0 {
  4269. return 0, ErrInvalidLengthGenerated
  4270. }
  4271. return iNdEx, nil
  4272. case 3:
  4273. for {
  4274. var innerWire uint64
  4275. var start int = iNdEx
  4276. for shift := uint(0); ; shift += 7 {
  4277. if shift >= 64 {
  4278. return 0, ErrIntOverflowGenerated
  4279. }
  4280. if iNdEx >= l {
  4281. return 0, io.ErrUnexpectedEOF
  4282. }
  4283. b := data[iNdEx]
  4284. iNdEx++
  4285. innerWire |= (uint64(b) & 0x7F) << shift
  4286. if b < 0x80 {
  4287. break
  4288. }
  4289. }
  4290. innerWireType := int(innerWire & 0x7)
  4291. if innerWireType == 4 {
  4292. break
  4293. }
  4294. next, err := skipGenerated(data[start:])
  4295. if err != nil {
  4296. return 0, err
  4297. }
  4298. iNdEx = start + next
  4299. }
  4300. return iNdEx, nil
  4301. case 4:
  4302. return iNdEx, nil
  4303. case 5:
  4304. iNdEx += 4
  4305. return iNdEx, nil
  4306. default:
  4307. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  4308. }
  4309. }
  4310. panic("unreachable")
  4311. }
  4312. var (
  4313. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  4314. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  4315. )
  4316. var fileDescriptorGenerated = []byte{
  4317. // 1376 bytes of a gzipped FileDescriptorProto
  4318. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45,
  4319. 0x14, 0xf7, 0x47, 0xec, 0xae, 0x9f, 0x63, 0x92, 0x0e, 0xa9, 0x70, 0x2d, 0x11, 0x87, 0x45, 0xa0,
  4320. 0x54, 0x6a, 0x6d, 0x35, 0x02, 0x54, 0x15, 0xf1, 0x11, 0x27, 0x69, 0x15, 0x35, 0x49, 0xa3, 0x49,
  4321. 0x15, 0xa4, 0x16, 0x24, 0x36, 0xde, 0xb1, 0xb3, 0xb2, 0xbd, 0xbb, 0xec, 0xec, 0x56, 0x8d, 0x40,
  4322. 0xa2, 0x17, 0x24, 0x0e, 0x08, 0xe5, 0xc8, 0x05, 0xd4, 0x4a, 0xfc, 0x07, 0xfc, 0x13, 0x11, 0xa7,
  4323. 0x5e, 0x90, 0x38, 0xa0, 0x08, 0xca, 0x85, 0x2b, 0x57, 0x4e, 0xcc, 0xcc, 0xce, 0xec, 0x87, 0x53,
  4324. 0x93, 0x0d, 0xf4, 0xc0, 0x61, 0x15, 0xcf, 0xfb, 0x9e, 0xf7, 0x7e, 0xf3, 0xde, 0x0b, 0xbc, 0x39,
  4325. 0xb8, 0x46, 0x5b, 0x96, 0xd3, 0x1e, 0x04, 0x7b, 0xc4, 0xb3, 0x89, 0x4f, 0x68, 0xdb, 0x1d, 0xf4,
  4326. 0xdb, 0x86, 0x6b, 0xb5, 0x03, 0xfb, 0x3e, 0xf1, 0xa8, 0xe5, 0xd8, 0xc4, 0x6c, 0xf7, 0x89, 0x4d,
  4327. 0x3c, 0xc3, 0x27, 0x66, 0xcb, 0xf5, 0x1c, 0xdf, 0x41, 0xaf, 0x85, 0x6a, 0xad, 0x58, 0xad, 0xc5,
  4328. 0xd4, 0x5a, 0x4c, 0xad, 0x95, 0x50, 0x6b, 0x5c, 0xe9, 0x5b, 0xfe, 0x7e, 0xb0, 0xd7, 0xea, 0x3a,
  4329. 0xa3, 0x76, 0xdf, 0xe9, 0x3b, 0x6d, 0xa1, 0xbd, 0x17, 0xf4, 0xc4, 0x49, 0x1c, 0xc4, 0xaf, 0xd0,
  4330. 0x6a, 0xe3, 0xca, 0xb3, 0x83, 0xf1, 0x02, 0xdb, 0xb7, 0x46, 0x64, 0x3c, 0x88, 0xc6, 0xd5, 0x67,
  4331. 0x8b, 0x07, 0xbe, 0x35, 0x6c, 0x5b, 0xb6, 0x4f, 0x7d, 0x6f, 0x5c, 0x45, 0xff, 0xb1, 0x08, 0xda,
  4332. 0xf2, 0xf6, 0xfa, 0x4d, 0xcf, 0x09, 0x5c, 0xb4, 0x00, 0x53, 0xb6, 0x31, 0x22, 0xf5, 0xfc, 0x42,
  4333. 0x7e, 0xb1, 0xd2, 0x99, 0x3e, 0x3a, 0x6e, 0xe6, 0x9e, 0x1e, 0x37, 0xa7, 0xb6, 0x18, 0x0d, 0x0b,
  4334. 0x0e, 0x1a, 0x81, 0x26, 0x2f, 0x43, 0xeb, 0x85, 0x85, 0xe2, 0x62, 0x75, 0xe9, 0xbd, 0x56, 0xa6,
  4335. 0x9b, 0xb7, 0x84, 0x87, 0xdd, 0xf0, 0x78, 0xc3, 0xf1, 0x56, 0x2d, 0xda, 0x75, 0x18, 0xf7, 0xa0,
  4336. 0x33, 0x2b, 0xdd, 0x68, 0x92, 0x49, 0x71, 0xe4, 0x02, 0x7d, 0x91, 0x87, 0x59, 0xd7, 0x23, 0x3d,
  4337. 0xe2, 0x79, 0xc4, 0x94, 0xfc, 0x7a, 0x91, 0x45, 0xf7, 0x1c, 0xfc, 0xd6, 0xa5, 0xdf, 0xd9, 0xed,
  4338. 0x31, 0x07, 0xf8, 0x84, 0x4b, 0xf4, 0x7d, 0x1e, 0x1a, 0x94, 0x78, 0x4c, 0x6f, 0xd9, 0x34, 0x3d,
  4339. 0x42, 0x69, 0xe7, 0x60, 0x65, 0x68, 0x11, 0xdb, 0x5f, 0x59, 0x5f, 0xc5, 0xb4, 0x3e, 0x25, 0x32,
  4340. 0xf1, 0x7e, 0xc6, 0x88, 0x76, 0x26, 0x19, 0xea, 0xe8, 0x32, 0xa4, 0xc6, 0x44, 0x11, 0x8a, 0xff,
  4341. 0x21, 0x0e, 0xbd, 0x0f, 0xd3, 0xaa, 0x96, 0x1b, 0x16, 0xf5, 0xd1, 0x07, 0x50, 0xee, 0xf3, 0x03,
  4342. 0x65, 0x15, 0xe5, 0x11, 0xb6, 0x33, 0x46, 0xa8, 0x8c, 0x74, 0x5e, 0x90, 0x01, 0x95, 0xc5, 0x91,
  4343. 0x62, 0x69, 0x4e, 0x67, 0x75, 0xa9, 0x32, 0x21, 0x4c, 0xa8, 0x13, 0x78, 0x5d, 0x92, 0x01, 0x38,
  4344. 0x4b, 0x00, 0xfc, 0x2f, 0x75, 0x8d, 0x2e, 0x31, 0x19, 0x74, 0xf2, 0x8b, 0x5a, 0x07, 0x49, 0x39,
  4345. 0xd8, 0x8a, 0x38, 0x38, 0x21, 0xc5, 0xad, 0x0e, 0x2c, 0xdb, 0x14, 0x05, 0x4f, 0x58, 0xbd, 0xc5,
  4346. 0x68, 0x58, 0x70, 0xf4, 0x1f, 0xf2, 0x30, 0x93, 0x88, 0x43, 0x5c, 0xfa, 0x1a, 0x4c, 0xf7, 0x13,
  4347. 0x35, 0x97, 0x31, 0xcd, 0x49, 0xed, 0xe9, 0x24, 0x1e, 0x70, 0x4a, 0x12, 0xf5, 0xa0, 0xe2, 0x49,
  4348. 0x4b, 0x0a, 0xdd, 0x4b, 0xd9, 0x33, 0xa6, 0x82, 0x88, 0x5d, 0x25, 0x88, 0x14, 0xc7, 0xa6, 0xf5,
  4349. 0x3f, 0xc2, 0xec, 0x29, 0xbc, 0xa3, 0xc5, 0xc4, 0xa3, 0xe2, 0x85, 0x62, 0x77, 0x9d, 0xf0, 0x1e,
  4350. 0x4e, 0xc1, 0x61, 0xe1, 0xff, 0x81, 0xc3, 0xeb, 0xda, 0x37, 0x8f, 0x9a, 0xb9, 0x87, 0xbf, 0x2c,
  4351. 0xe4, 0xf4, 0x75, 0xd0, 0x56, 0x03, 0xd6, 0x6f, 0x78, 0x7a, 0xdf, 0x01, 0xcd, 0x94, 0xbf, 0x45,
  4352. 0x51, 0x8a, 0x9d, 0x57, 0xd4, 0xd3, 0x57, 0x32, 0x7f, 0x1d, 0x37, 0x6b, 0xbc, 0xb3, 0xb5, 0x14,
  4353. 0x01, 0x47, 0x2a, 0xfa, 0x87, 0x50, 0x5b, 0x7b, 0xe0, 0x3a, 0x9e, 0x7f, 0xdb, 0xf5, 0x45, 0x32,
  4354. 0x5e, 0x87, 0x32, 0x11, 0x04, 0x61, 0x4d, 0x8b, 0xc1, 0x1a, 0x8a, 0x61, 0xc9, 0x45, 0xaf, 0x42,
  4355. 0x89, 0x3c, 0x30, 0xba, 0xbe, 0x44, 0x5d, 0x4d, 0x8a, 0x95, 0xd6, 0x38, 0x11, 0x87, 0x3c, 0x66,
  4356. 0xbd, 0x22, 0x90, 0xc1, 0xc1, 0xc5, 0x35, 0x04, 0x30, 0x24, 0x76, 0x22, 0x0d, 0x21, 0x81, 0x43,
  4357. 0x5e, 0x84, 0xce, 0xc2, 0x24, 0x74, 0x26, 0xd2, 0x30, 0x84, 0x5a, 0xa8, 0xab, 0x1e, 0x4c, 0x26,
  4358. 0x0f, 0x97, 0x41, 0x53, 0xa0, 0x91, 0x5e, 0xa2, 0x5e, 0xa9, 0x0c, 0xe1, 0x48, 0x22, 0xe1, 0x6d,
  4359. 0x1f, 0x52, 0x28, 0xcf, 0xe6, 0xec, 0x12, 0x9c, 0x93, 0xd0, 0x90, 0xbe, 0x66, 0xa4, 0xd8, 0x39,
  4360. 0xf5, 0x58, 0x14, 0x3f, 0xe1, 0xe9, 0x73, 0xa8, 0x4f, 0xea, 0xaf, 0xff, 0xe1, 0x1d, 0x66, 0x0f,
  4361. 0x45, 0xff, 0x9a, 0x0d, 0x88, 0xa4, 0xa5, 0xec, 0xe5, 0xcb, 0xee, 0xe4, 0xf4, 0x3e, 0x94, 0xc8,
  4362. 0xc8, 0x77, 0x79, 0x98, 0x4b, 0x5d, 0xed, 0x4c, 0x15, 0x3f, 0x43, 0x50, 0x49, 0x70, 0x14, 0xcf,
  4363. 0x00, 0x8e, 0x9f, 0x0a, 0x50, 0xdb, 0x30, 0xf6, 0xc8, 0x70, 0x87, 0x0c, 0x49, 0xd7, 0x77, 0x3c,
  4364. 0xf4, 0x19, 0x54, 0x47, 0x86, 0xdf, 0xdd, 0x17, 0x54, 0x35, 0x2a, 0xd6, 0x32, 0x36, 0x91, 0x94,
  4365. 0xa9, 0xd6, 0x66, 0x6c, 0x67, 0xcd, 0xf6, 0xd9, 0x90, 0x7d, 0x51, 0xc6, 0x54, 0x4d, 0x70, 0x70,
  4366. 0xd2, 0x9d, 0x18, 0xf1, 0xe2, 0xcc, 0x5e, 0x2d, 0xef, 0x24, 0xff, 0x62, 0xb5, 0x48, 0xc5, 0x80,
  4367. 0xc9, 0x27, 0x81, 0xe5, 0x91, 0x11, 0x6b, 0x46, 0xf1, 0x88, 0xdf, 0x1c, 0x73, 0x80, 0x4f, 0xb8,
  4368. 0x6c, 0xbc, 0x0b, 0xb3, 0xe3, 0xd1, 0xa3, 0x59, 0x28, 0x0e, 0xc8, 0x41, 0x58, 0x31, 0xcc, 0x7f,
  4369. 0xa2, 0x39, 0x28, 0xdd, 0x37, 0x86, 0x81, 0x7c, 0x8f, 0x38, 0x3c, 0x5c, 0x2f, 0x5c, 0xcb, 0xeb,
  4370. 0xac, 0x35, 0xd7, 0x27, 0x05, 0x82, 0x5e, 0x4e, 0x18, 0xea, 0x54, 0x65, 0x54, 0xc5, 0x5b, 0xe4,
  4371. 0x20, 0xb4, 0xba, 0x06, 0x9a, 0xe3, 0xf2, 0xb5, 0xcc, 0xf1, 0x64, 0xdd, 0x2f, 0xa9, 0x5a, 0xde,
  4372. 0x96, 0x74, 0xd6, 0x19, 0x2f, 0xa4, 0xcc, 0x2b, 0x06, 0x8e, 0x54, 0x91, 0x0e, 0x65, 0x11, 0x0f,
  4373. 0x65, 0x80, 0xe0, 0x53, 0x04, 0x78, 0x33, 0xdc, 0x15, 0x14, 0x2c, 0x39, 0xfa, 0xa7, 0xa0, 0xf1,
  4374. 0x29, 0xb9, 0x49, 0x7c, 0x83, 0x43, 0x88, 0x92, 0x61, 0x6f, 0xc3, 0xb2, 0x07, 0x32, 0xb4, 0x08,
  4375. 0x42, 0x3b, 0x92, 0x8e, 0x23, 0x09, 0xb4, 0x0c, 0x33, 0x0a, 0x4e, 0xbb, 0x29, 0x8c, 0xbe, 0x24,
  4376. 0x95, 0x66, 0x70, 0x9a, 0x8d, 0xc7, 0xe5, 0xf5, 0xcb, 0x50, 0xc1, 0x8e, 0xe3, 0x6f, 0x1b, 0xfe,
  4377. 0x3e, 0x45, 0x4d, 0x28, 0xb9, 0xfc, 0x87, 0x1c, 0x79, 0x15, 0xfe, 0x18, 0x04, 0x07, 0x87, 0x74,
  4378. 0xfd, 0xab, 0x3c, 0x5c, 0x9c, 0x38, 0x80, 0xf8, 0x42, 0xd1, 0x8d, 0x4e, 0x32, 0xfc, 0x68, 0xa1,
  4379. 0x88, 0xe5, 0x70, 0x42, 0x0a, 0xbd, 0x0d, 0xb5, 0xd4, 0xd4, 0x92, 0x17, 0xb8, 0x20, 0xd5, 0x6a,
  4380. 0x29, 0x6f, 0x38, 0x2d, 0xab, 0xff, 0x59, 0x80, 0xf2, 0x8e, 0x6f, 0xf8, 0x01, 0x45, 0x1f, 0x81,
  4381. 0x36, 0x62, 0x09, 0x34, 0x0d, 0xdf, 0x10, 0x9e, 0xb3, 0x6f, 0x56, 0x2a, 0xf7, 0x71, 0xa6, 0x15,
  4382. 0x05, 0x47, 0x26, 0xf9, 0x60, 0xa3, 0xc2, 0x91, 0x8c, 0x2f, 0x1a, 0x6c, 0xa1, 0x7b, 0x2c, 0xb9,
  4383. 0xbc, 0x5b, 0xb0, 0x5d, 0x89, 0x1a, 0x7d, 0xd5, 0x01, 0xa2, 0x6e, 0xb1, 0x19, 0x92, 0xb1, 0xe2,
  4384. 0xa3, 0xb7, 0xa0, 0xec, 0x11, 0x83, 0xb2, 0x9a, 0x4d, 0x09, 0xc9, 0x79, 0x65, 0x12, 0x0b, 0x2a,
  4385. 0x43, 0xd7, 0xb4, 0x34, 0x2e, 0xce, 0x58, 0x4a, 0xa3, 0x7b, 0x70, 0xce, 0x64, 0x61, 0x59, 0xac,
  4386. 0x2f, 0x94, 0xc4, 0x45, 0xdf, 0xc8, 0xba, 0x5c, 0x08, 0x6b, 0xab, 0xa1, 0x6e, 0xa7, 0xca, 0x83,
  4387. 0x92, 0x07, 0xac, 0x2c, 0xf2, 0xbe, 0xda, 0x75, 0x4c, 0x52, 0x2f, 0x33, 0xcb, 0xa5, 0xb8, 0xaf,
  4388. 0xae, 0x30, 0x1a, 0x16, 0x1c, 0xfd, 0x90, 0x6d, 0x4a, 0xa1, 0xa5, 0x15, 0x23, 0xa0, 0x04, 0x5d,
  4389. 0x8d, 0xae, 0x11, 0x16, 0xfc, 0xa2, 0xd2, 0xb9, 0x73, 0xe0, 0x12, 0x76, 0x89, 0x8a, 0x10, 0xe3,
  4390. 0x87, 0xe8, 0x06, 0x89, 0x24, 0x15, 0x4e, 0x49, 0x12, 0x6b, 0xd1, 0x3d, 0x8b, 0x0c, 0x55, 0xa3,
  4391. 0x8f, 0x5a, 0xf4, 0x0d, 0x4e, 0xc4, 0x21, 0x4f, 0xff, 0x96, 0xf5, 0xcf, 0xd4, 0xe5, 0x32, 0x2c,
  4392. 0xbf, 0x51, 0xef, 0x2f, 0x64, 0xd8, 0x27, 0x26, 0x4e, 0x19, 0x74, 0x17, 0xca, 0x5d, 0x7e, 0x3f,
  4393. 0xf5, 0x0f, 0xc7, 0xd2, 0x99, 0x6a, 0x21, 0x52, 0x13, 0x63, 0x49, 0x1c, 0x19, 0x96, 0x42, 0x8b,
  4394. 0xe8, 0x26, 0x9c, 0xf7, 0x08, 0xeb, 0x79, 0xcb, 0x3d, 0x9f, 0x78, 0x3b, 0xa4, 0xeb, 0xd8, 0x66,
  4395. 0x58, 0xf2, 0x52, 0x94, 0xe4, 0xf3, 0x78, 0x5c, 0x00, 0x9f, 0xd4, 0x61, 0xab, 0xce, 0xd4, 0x1d,
  4396. 0xb6, 0xc1, 0xf1, 0xbc, 0x53, 0x69, 0x26, 0x5c, 0xf6, 0xa2, 0xbc, 0x2b, 0x65, 0xc5, 0xe7, 0xe9,
  4397. 0xb1, 0x0d, 0xdb, 0x09, 0xe1, 0x5e, 0x8a, 0xd3, 0xb3, 0xc5, 0x89, 0x38, 0xe4, 0x5d, 0x9f, 0xe3,
  4398. 0x13, 0xec, 0xcb, 0xc7, 0xcd, 0xdc, 0x21, 0xfb, 0x1e, 0x3d, 0x96, 0xd3, 0xec, 0x1e, 0x54, 0xb8,
  4399. 0x37, 0xf6, 0x20, 0x46, 0xee, 0xf3, 0x76, 0xa9, 0x7f, 0x0c, 0x1a, 0x87, 0x92, 0xe8, 0x95, 0xaa,
  4400. 0x3a, 0xf9, 0x89, 0xd5, 0x61, 0x0d, 0x89, 0x25, 0x3e, 0xdd, 0x1a, 0xa3, 0x86, 0x14, 0xaf, 0xfb,
  4401. 0x38, 0x21, 0xd5, 0xb9, 0x72, 0xf4, 0xdb, 0x7c, 0xee, 0x09, 0xfb, 0x7e, 0x66, 0xdf, 0xc3, 0xa7,
  4402. 0xf3, 0xf9, 0x23, 0xf6, 0x3d, 0x61, 0xdf, 0xaf, 0xec, 0x3b, 0xfc, 0x7d, 0x3e, 0x77, 0xb7, 0x9a,
  4403. 0x28, 0xe4, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x22, 0x00, 0xde, 0x9c, 0x10, 0x00, 0x00,
  4404. }