rpc.pb.go 157 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: rpcpb/rpc.proto
  3. /*
  4. Package rpcpb is a generated protocol buffer package.
  5. It is generated from these files:
  6. rpcpb/rpc.proto
  7. It has these top-level messages:
  8. Request
  9. SnapshotInfo
  10. Response
  11. Member
  12. Tester
  13. Stresser
  14. Etcd
  15. */
  16. package rpcpb
  17. import proto "github.com/golang/protobuf/proto"
  18. import fmt "fmt"
  19. import math "math"
  20. import _ "github.com/gogo/protobuf/gogoproto"
  21. import context "golang.org/x/net/context"
  22. import grpc "google.golang.org/grpc"
  23. import binary "encoding/binary"
  24. import io "io"
  25. // Reference imports to suppress errors if they are not otherwise used.
  26. var _ = proto.Marshal
  27. var _ = fmt.Errorf
  28. var _ = math.Inf
  29. // This is a compile-time assertion to ensure that this generated file
  30. // is compatible with the proto package it is being compiled against.
  31. // A compilation error at this line likely means your copy of the
  32. // proto package needs to be updated.
  33. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  34. type StresserType int32
  35. const (
  36. StresserType_KV_WRITE_SMALL StresserType = 0
  37. StresserType_KV_WRITE_LARGE StresserType = 1
  38. StresserType_KV_READ_ONE_KEY StresserType = 2
  39. StresserType_KV_READ_RANGE StresserType = 3
  40. StresserType_KV_DELETE_ONE_KEY StresserType = 4
  41. StresserType_KV_DELETE_RANGE StresserType = 5
  42. StresserType_KV_TXN_WRITE_DELETE StresserType = 6
  43. StresserType_LEASE StresserType = 10
  44. StresserType_ELECTION_RUNNER StresserType = 20
  45. StresserType_WATCH_RUNNER StresserType = 31
  46. StresserType_LOCK_RACER_RUNNER StresserType = 41
  47. StresserType_LEASE_RUNNER StresserType = 51
  48. )
  49. var StresserType_name = map[int32]string{
  50. 0: "KV_WRITE_SMALL",
  51. 1: "KV_WRITE_LARGE",
  52. 2: "KV_READ_ONE_KEY",
  53. 3: "KV_READ_RANGE",
  54. 4: "KV_DELETE_ONE_KEY",
  55. 5: "KV_DELETE_RANGE",
  56. 6: "KV_TXN_WRITE_DELETE",
  57. 10: "LEASE",
  58. 20: "ELECTION_RUNNER",
  59. 31: "WATCH_RUNNER",
  60. 41: "LOCK_RACER_RUNNER",
  61. 51: "LEASE_RUNNER",
  62. }
  63. var StresserType_value = map[string]int32{
  64. "KV_WRITE_SMALL": 0,
  65. "KV_WRITE_LARGE": 1,
  66. "KV_READ_ONE_KEY": 2,
  67. "KV_READ_RANGE": 3,
  68. "KV_DELETE_ONE_KEY": 4,
  69. "KV_DELETE_RANGE": 5,
  70. "KV_TXN_WRITE_DELETE": 6,
  71. "LEASE": 10,
  72. "ELECTION_RUNNER": 20,
  73. "WATCH_RUNNER": 31,
  74. "LOCK_RACER_RUNNER": 41,
  75. "LEASE_RUNNER": 51,
  76. }
  77. func (x StresserType) String() string {
  78. return proto.EnumName(StresserType_name, int32(x))
  79. }
  80. func (StresserType) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{0} }
  81. type Checker int32
  82. const (
  83. Checker_KV_HASH Checker = 0
  84. Checker_LEASE_EXPIRE Checker = 1
  85. Checker_RUNNER Checker = 2
  86. Checker_NO_CHECK Checker = 3
  87. )
  88. var Checker_name = map[int32]string{
  89. 0: "KV_HASH",
  90. 1: "LEASE_EXPIRE",
  91. 2: "RUNNER",
  92. 3: "NO_CHECK",
  93. }
  94. var Checker_value = map[string]int32{
  95. "KV_HASH": 0,
  96. "LEASE_EXPIRE": 1,
  97. "RUNNER": 2,
  98. "NO_CHECK": 3,
  99. }
  100. func (x Checker) String() string {
  101. return proto.EnumName(Checker_name, int32(x))
  102. }
  103. func (Checker) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1} }
  104. type Operation int32
  105. const (
  106. // NOT_STARTED is the agent status before etcd first start.
  107. Operation_NOT_STARTED Operation = 0
  108. // INITIAL_START_ETCD is only called to start etcd, the very first time.
  109. Operation_INITIAL_START_ETCD Operation = 10
  110. // RESTART_ETCD is sent to restart killed etcd.
  111. Operation_RESTART_ETCD Operation = 11
  112. // SIGTERM_ETCD pauses etcd process while keeping data directories
  113. // and previous etcd configurations.
  114. Operation_SIGTERM_ETCD Operation = 20
  115. // SIGQUIT_ETCD_AND_REMOVE_DATA kills etcd process and removes all data
  116. // directories to simulate destroying the whole machine.
  117. Operation_SIGQUIT_ETCD_AND_REMOVE_DATA Operation = 21
  118. // SAVE_SNAPSHOT is sent to trigger local member to download its snapshot
  119. // onto its local disk with the specified path from tester.
  120. Operation_SAVE_SNAPSHOT Operation = 30
  121. // RESTORE_RESTART_FROM_SNAPSHOT is sent to trigger local member to
  122. // restore a cluster from existing snapshot from disk, and restart
  123. // an etcd instance from recovered data.
  124. Operation_RESTORE_RESTART_FROM_SNAPSHOT Operation = 31
  125. // RESTART_FROM_SNAPSHOT is sent to trigger local member to restart
  126. // and join an existing cluster that has been recovered from a snapshot.
  127. // Local member joins this cluster with fresh data.
  128. Operation_RESTART_FROM_SNAPSHOT Operation = 32
  129. // SIGQUIT_ETCD_AND_ARCHIVE_DATA is sent when consistency check failed,
  130. // thus need to archive etcd data directories.
  131. Operation_SIGQUIT_ETCD_AND_ARCHIVE_DATA Operation = 40
  132. // SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT destroys etcd process,
  133. // etcd data, and agent server.
  134. Operation_SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT Operation = 41
  135. // BLACKHOLE_PEER_PORT_TX_RX drops all outgoing/incoming packets from/to
  136. // the peer port on target member's peer port.
  137. Operation_BLACKHOLE_PEER_PORT_TX_RX Operation = 100
  138. // UNBLACKHOLE_PEER_PORT_TX_RX removes outgoing/incoming packet dropping.
  139. Operation_UNBLACKHOLE_PEER_PORT_TX_RX Operation = 101
  140. // DELAY_PEER_PORT_TX_RX delays all outgoing/incoming packets from/to
  141. // the peer port on target member's peer port.
  142. Operation_DELAY_PEER_PORT_TX_RX Operation = 200
  143. // UNDELAY_PEER_PORT_TX_RX removes all outgoing/incoming delays.
  144. Operation_UNDELAY_PEER_PORT_TX_RX Operation = 201
  145. )
  146. var Operation_name = map[int32]string{
  147. 0: "NOT_STARTED",
  148. 10: "INITIAL_START_ETCD",
  149. 11: "RESTART_ETCD",
  150. 20: "SIGTERM_ETCD",
  151. 21: "SIGQUIT_ETCD_AND_REMOVE_DATA",
  152. 30: "SAVE_SNAPSHOT",
  153. 31: "RESTORE_RESTART_FROM_SNAPSHOT",
  154. 32: "RESTART_FROM_SNAPSHOT",
  155. 40: "SIGQUIT_ETCD_AND_ARCHIVE_DATA",
  156. 41: "SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT",
  157. 100: "BLACKHOLE_PEER_PORT_TX_RX",
  158. 101: "UNBLACKHOLE_PEER_PORT_TX_RX",
  159. 200: "DELAY_PEER_PORT_TX_RX",
  160. 201: "UNDELAY_PEER_PORT_TX_RX",
  161. }
  162. var Operation_value = map[string]int32{
  163. "NOT_STARTED": 0,
  164. "INITIAL_START_ETCD": 10,
  165. "RESTART_ETCD": 11,
  166. "SIGTERM_ETCD": 20,
  167. "SIGQUIT_ETCD_AND_REMOVE_DATA": 21,
  168. "SAVE_SNAPSHOT": 30,
  169. "RESTORE_RESTART_FROM_SNAPSHOT": 31,
  170. "RESTART_FROM_SNAPSHOT": 32,
  171. "SIGQUIT_ETCD_AND_ARCHIVE_DATA": 40,
  172. "SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT": 41,
  173. "BLACKHOLE_PEER_PORT_TX_RX": 100,
  174. "UNBLACKHOLE_PEER_PORT_TX_RX": 101,
  175. "DELAY_PEER_PORT_TX_RX": 200,
  176. "UNDELAY_PEER_PORT_TX_RX": 201,
  177. }
  178. func (x Operation) String() string {
  179. return proto.EnumName(Operation_name, int32(x))
  180. }
  181. func (Operation) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{2} }
  182. // Case defines various system faults or test case in distributed systems,
  183. // in order to verify correct behavior of etcd servers and clients.
  184. type Case int32
  185. const (
  186. // SIGTERM_ONE_FOLLOWER stops a randomly chosen follower (non-leader)
  187. // but does not delete its data directories on disk for next restart.
  188. // It waits "delay-ms" before recovering this failure.
  189. // The expected behavior is that the follower comes back online
  190. // and rejoins the cluster, and then each member continues to process
  191. // client requests ('Put' request that requires Raft consensus).
  192. Case_SIGTERM_ONE_FOLLOWER Case = 0
  193. // SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT stops a randomly chosen
  194. // follower but does not delete its data directories on disk for next
  195. // restart. And waits until most up-to-date node (leader) applies the
  196. // snapshot count of entries since the stop operation.
  197. // The expected behavior is that the follower comes back online and
  198. // rejoins the cluster, and then active leader sends snapshot
  199. // to the follower to force it to follow the leader's log.
  200. // As always, after recovery, each member must be able to process
  201. // client requests.
  202. Case_SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 1
  203. // SIGTERM_LEADER stops the active leader node but does not delete its
  204. // data directories on disk for next restart. Then it waits "delay-ms"
  205. // before recovering this failure, in order to trigger election timeouts.
  206. // The expected behavior is that a new leader gets elected, and the
  207. // old leader comes back online and rejoins the cluster as a follower.
  208. // As always, after recovery, each member must be able to process
  209. // client requests.
  210. Case_SIGTERM_LEADER Case = 2
  211. // SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT stops the active leader node
  212. // but does not delete its data directories on disk for next restart.
  213. // And waits until most up-to-date node ("new" leader) applies the
  214. // snapshot count of entries since the stop operation.
  215. // The expected behavior is that cluster elects a new leader, and the
  216. // old leader comes back online and rejoins the cluster as a follower.
  217. // And it receives the snapshot from the new leader to overwrite its
  218. // store. As always, after recovery, each member must be able to
  219. // process client requests.
  220. Case_SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 3
  221. // SIGTERM_QUORUM stops majority number of nodes to make the whole cluster
  222. // inoperable but does not delete data directories on stopped nodes
  223. // for next restart. And it waits "delay-ms" before recovering failure.
  224. // The expected behavior is that nodes come back online, thus cluster
  225. // comes back operative as well. As always, after recovery, each member
  226. // must be able to process client requests.
  227. Case_SIGTERM_QUORUM Case = 4
  228. // SIGTERM_ALL stops the whole cluster but does not delete data directories
  229. // on disk for next restart. And it waits "delay-ms" before recovering
  230. // this failure.
  231. // The expected behavior is that nodes come back online, thus cluster
  232. // comes back operative as well. As always, after recovery, each member
  233. // must be able to process client requests.
  234. Case_SIGTERM_ALL Case = 5
  235. // SIGQUIT_AND_REMOVE_ONE_FOLLOWER stops a randomly chosen follower
  236. // (non-leader), deletes its data directories on disk, and removes
  237. // this member from cluster (membership reconfiguration). On recovery,
  238. // tester adds a new member, and this member joins the existing cluster
  239. // with fresh data. It waits "delay-ms" before recovering this
  240. // failure. This simulates destroying one follower machine, where operator
  241. // needs to add a new member from a fresh machine.
  242. // The expected behavior is that a new member joins the existing cluster,
  243. // and then each member continues to process client requests.
  244. Case_SIGQUIT_AND_REMOVE_ONE_FOLLOWER Case = 10
  245. // SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT stops a randomly
  246. // chosen follower, deletes its data directories on disk, and removes
  247. // this member from cluster (membership reconfiguration). On recovery,
  248. // tester adds a new member, and this member joins the existing cluster
  249. // restart. On member remove, cluster waits until most up-to-date node
  250. // (leader) applies the snapshot count of entries since the stop operation.
  251. // This simulates destroying a leader machine, where operator needs to add
  252. // a new member from a fresh machine.
  253. // The expected behavior is that a new member joins the existing cluster,
  254. // and receives a snapshot from the active leader. As always, after
  255. // recovery, each member must be able to process client requests.
  256. Case_SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 11
  257. // SIGQUIT_AND_REMOVE_LEADER stops the active leader node, deletes its
  258. // data directories on disk, and removes this member from cluster.
  259. // On recovery, tester adds a new member, and this member joins the
  260. // existing cluster with fresh data. It waits "delay-ms" before
  261. // recovering this failure. This simulates destroying a leader machine,
  262. // where operator needs to add a new member from a fresh machine.
  263. // The expected behavior is that a new member joins the existing cluster,
  264. // and then each member continues to process client requests.
  265. Case_SIGQUIT_AND_REMOVE_LEADER Case = 12
  266. // SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT stops the active leader,
  267. // deletes its data directories on disk, and removes this member from
  268. // cluster (membership reconfiguration). On recovery, tester adds a new
  269. // member, and this member joins the existing cluster restart. On member
  270. // remove, cluster waits until most up-to-date node (new leader) applies
  271. // the snapshot count of entries since the stop operation. This simulates
  272. // destroying a leader machine, where operator needs to add a new member
  273. // from a fresh machine.
  274. // The expected behavior is that on member remove, cluster elects a new
  275. // leader, and a new member joins the existing cluster and receives a
  276. // snapshot from the newly elected leader. As always, after recovery, each
  277. // member must be able to process client requests.
  278. Case_SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 13
  279. // SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH first
  280. // stops majority number of nodes, deletes data directories on those quorum
  281. // nodes, to make the whole cluster inoperable. Now that quorum and their
  282. // data are totally destroyed, cluster cannot even remove unavailable nodes
  283. // (e.g. 2 out of 3 are lost, so no leader can be elected).
  284. // Let's assume 3-node cluster of node A, B, and C. One day, node A and B
  285. // are destroyed and all their data are gone. The only viable solution is
  286. // to recover from C's latest snapshot.
  287. //
  288. // To simulate:
  289. // 1. Assume node C is the current leader with most up-to-date data.
  290. // 2. Download snapshot from node C, before destroying node A and B.
  291. // 3. Destroy node A and B, and make the whole cluster inoperable.
  292. // 4. Now node C cannot operate either.
  293. // 5. SIGTERM node C and remove its data directories.
  294. // 6. Restore a new seed member from node C's latest snapshot file.
  295. // 7. Add another member to establish 2-node cluster.
  296. // 8. Add another member to establish 3-node cluster.
  297. // 9. Add more if any.
  298. //
  299. // The expected behavior is that etcd successfully recovers from such
  300. // disastrous situation as only 1-node survives out of 3-node cluster,
  301. // new members joins the existing cluster, and previous data from snapshot
  302. // are still preserved after recovery process. As always, after recovery,
  303. // each member must be able to process client requests.
  304. Case_SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH Case = 14
  305. // BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER drops all outgoing/incoming
  306. // packets from/to the peer port on a randomly chosen follower
  307. // (non-leader), and waits for "delay-ms" until recovery.
  308. // The expected behavior is that once dropping operation is undone,
  309. // each member must be able to process client requests.
  310. Case_BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER Case = 100
  311. // BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT drops
  312. // all outgoing/incoming packets from/to the peer port on a randomly
  313. // chosen follower (non-leader), and waits for most up-to-date node
  314. // (leader) applies the snapshot count of entries since the blackhole
  315. // operation.
  316. // The expected behavior is that once packet drop operation is undone,
  317. // the slow follower tries to catch up, possibly receiving the snapshot
  318. // from the active leader. As always, after recovery, each member must
  319. // be able to process client requests.
  320. Case_BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 101
  321. // BLACKHOLE_PEER_PORT_TX_RX_LEADER drops all outgoing/incoming packets
  322. // from/to the peer port on the active leader (isolated), and waits for
  323. // "delay-ms" until recovery, in order to trigger election timeout.
  324. // The expected behavior is that after election timeout, a new leader gets
  325. // elected, and once dropping operation is undone, the old leader comes
  326. // back and rejoins the cluster as a follower. As always, after recovery,
  327. // each member must be able to process client requests.
  328. Case_BLACKHOLE_PEER_PORT_TX_RX_LEADER Case = 102
  329. // BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT drops all
  330. // outgoing/incoming packets from/to the peer port on the active leader,
  331. // and waits for most up-to-date node (leader) applies the snapshot
  332. // count of entries since the blackhole operation.
  333. // The expected behavior is that cluster elects a new leader, and once
  334. // dropping operation is undone, the old leader comes back and rejoins
  335. // the cluster as a follower. The slow follower tries to catch up, likely
  336. // receiving the snapshot from the new active leader. As always, after
  337. // recovery, each member must be able to process client requests.
  338. Case_BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 103
  339. // BLACKHOLE_PEER_PORT_TX_RX_QUORUM drops all outgoing/incoming packets
  340. // from/to the peer ports on majority nodes of cluster, thus losing its
  341. // leader and cluster being inoperable. And it waits for "delay-ms"
  342. // until recovery.
  343. // The expected behavior is that once packet drop operation is undone,
  344. // nodes come back online, thus cluster comes back operative. As always,
  345. // after recovery, each member must be able to process client requests.
  346. Case_BLACKHOLE_PEER_PORT_TX_RX_QUORUM Case = 104
  347. // BLACKHOLE_PEER_PORT_TX_RX_ALL drops all outgoing/incoming packets
  348. // from/to the peer ports on all nodes, thus making cluster totally
  349. // inoperable. It waits for "delay-ms" until recovery.
  350. // The expected behavior is that once packet drop operation is undone,
  351. // nodes come back online, thus cluster comes back operative. As always,
  352. // after recovery, each member must be able to process client requests.
  353. Case_BLACKHOLE_PEER_PORT_TX_RX_ALL Case = 105
  354. // DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER delays outgoing/incoming packets
  355. // from/to the peer port on a randomly chosen follower (non-leader).
  356. // It waits for "delay-ms" until recovery.
  357. // The expected behavior is that once packet delay operation is undone,
  358. // the follower comes back and tries to catch up with latest changes from
  359. // cluster. And as always, after recovery, each member must be able to
  360. // process client requests.
  361. Case_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER Case = 200
  362. // RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER delays outgoing/incoming
  363. // packets from/to the peer port on a randomly chosen follower
  364. // (non-leader) with a randomized time duration (thus isolated). It
  365. // waits for "delay-ms" until recovery.
  366. // The expected behavior is that once packet delay operation is undone,
  367. // each member must be able to process client requests.
  368. Case_RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER Case = 201
  369. // DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT delays
  370. // outgoing/incoming packets from/to the peer port on a randomly chosen
  371. // follower (non-leader), and waits for most up-to-date node (leader)
  372. // applies the snapshot count of entries since the delay operation.
  373. // The expected behavior is that the delayed follower gets isolated
  374. // and behind the current active leader, and once delay operation is undone,
  375. // the slow follower comes back and catches up possibly receiving snapshot
  376. // from the active leader. As always, after recovery, each member must be
  377. // able to process client requests.
  378. Case_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 202
  379. // RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT delays
  380. // outgoing/incoming packets from/to the peer port on a randomly chosen
  381. // follower (non-leader) with a randomized time duration, and waits for
  382. // most up-to-date node (leader) applies the snapshot count of entries
  383. // since the delay operation.
  384. // The expected behavior is that the delayed follower gets isolated
  385. // and behind the current active leader, and once delay operation is undone,
  386. // the slow follower comes back and catches up, possibly receiving a
  387. // snapshot from the active leader. As always, after recovery, each member
  388. // must be able to process client requests.
  389. Case_RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 203
  390. // DELAY_PEER_PORT_TX_RX_LEADER delays outgoing/incoming packets from/to
  391. // the peer port on the active leader. And waits for "delay-ms" until
  392. // recovery.
  393. // The expected behavior is that cluster may elect a new leader, and
  394. // once packet delay operation is undone, the (old) leader comes back
  395. // and tries to catch up with latest changes from cluster. As always,
  396. // after recovery, each member must be able to process client requests.
  397. Case_DELAY_PEER_PORT_TX_RX_LEADER Case = 204
  398. // RANDOM_DELAY_PEER_PORT_TX_RX_LEADER delays outgoing/incoming packets
  399. // from/to the peer port on the active leader with a randomized time
  400. // duration. And waits for "delay-ms" until recovery.
  401. // The expected behavior is that cluster may elect a new leader, and
  402. // once packet delay operation is undone, the (old) leader comes back
  403. // and tries to catch up with latest changes from cluster. As always,
  404. // after recovery, each member must be able to process client requests.
  405. Case_RANDOM_DELAY_PEER_PORT_TX_RX_LEADER Case = 205
  406. // DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT delays
  407. // outgoing/incoming packets from/to the peer port on the active leader,
  408. // and waits for most up-to-date node (current or new leader) applies the
  409. // snapshot count of entries since the delay operation.
  410. // The expected behavior is that cluster may elect a new leader, and
  411. // the old leader gets isolated and behind the current active leader,
  412. // and once delay operation is undone, the slow follower comes back
  413. // and catches up, likely receiving a snapshot from the active leader.
  414. // As always, after recovery, each member must be able to process client
  415. // requests.
  416. Case_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 206
  417. // RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT delays
  418. // outgoing/incoming packets from/to the peer port on the active leader,
  419. // with a randomized time duration. And it waits for most up-to-date node
  420. // (current or new leader) applies the snapshot count of entries since the
  421. // delay operation.
  422. // The expected behavior is that cluster may elect a new leader, and
  423. // the old leader gets isolated and behind the current active leader,
  424. // and once delay operation is undone, the slow follower comes back
  425. // and catches up, likely receiving a snapshot from the active leader.
  426. // As always, after recovery, each member must be able to process client
  427. // requests.
  428. Case_RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 207
  429. // DELAY_PEER_PORT_TX_RX_QUORUM delays outgoing/incoming packets from/to
  430. // the peer ports on majority nodes of cluster. And it waits for
  431. // "delay-ms" until recovery, likely to trigger election timeouts.
  432. // The expected behavior is that cluster may elect a new leader, while
  433. // quorum of nodes struggle with slow networks, and once delay operation
  434. // is undone, nodes come back and cluster comes back operative. As always,
  435. // after recovery, each member must be able to process client requests.
  436. Case_DELAY_PEER_PORT_TX_RX_QUORUM Case = 208
  437. // RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM delays outgoing/incoming packets
  438. // from/to the peer ports on majority nodes of cluster, with randomized
  439. // time durations. And it waits for "delay-ms" until recovery, likely
  440. // to trigger election timeouts.
  441. // The expected behavior is that cluster may elect a new leader, while
  442. // quorum of nodes struggle with slow networks, and once delay operation
  443. // is undone, nodes come back and cluster comes back operative. As always,
  444. // after recovery, each member must be able to process client requests.
  445. Case_RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM Case = 209
  446. // DELAY_PEER_PORT_TX_RX_ALL delays outgoing/incoming packets from/to the
  447. // peer ports on all nodes. And it waits for "delay-ms" until recovery,
  448. // likely to trigger election timeouts.
  449. // The expected behavior is that cluster may become totally inoperable,
  450. // struggling with slow networks across the whole cluster. Once delay
  451. // operation is undone, nodes come back and cluster comes back operative.
  452. // As always, after recovery, each member must be able to process client
  453. // requests.
  454. Case_DELAY_PEER_PORT_TX_RX_ALL Case = 210
  455. // RANDOM_DELAY_PEER_PORT_TX_RX_ALL delays outgoing/incoming packets
  456. // from/to the peer ports on all nodes, with randomized time durations.
  457. // And it waits for "delay-ms" until recovery, likely to trigger
  458. // election timeouts.
  459. // The expected behavior is that cluster may become totally inoperable,
  460. // struggling with slow networks across the whole cluster. Once delay
  461. // operation is undone, nodes come back and cluster comes back operative.
  462. // As always, after recovery, each member must be able to process client
  463. // requests.
  464. Case_RANDOM_DELAY_PEER_PORT_TX_RX_ALL Case = 211
  465. // NO_FAIL_WITH_STRESS stops injecting failures while testing the
  466. // consistency and correctness under pressure loads, for the duration of
  467. // "delay-ms". Goal is to ensure cluster be still making progress
  468. // on recovery, and verify system does not deadlock following a sequence
  469. // of failure injections.
  470. // The expected behavior is that cluster remains fully operative in healthy
  471. // condition. As always, after recovery, each member must be able to process
  472. // client requests.
  473. Case_NO_FAIL_WITH_STRESS Case = 300
  474. // NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS neither injects failures nor
  475. // sends stressig client requests to the cluster, for the duration of
  476. // "delay-ms". Goal is to ensure cluster be still making progress
  477. // on recovery, and verify system does not deadlock following a sequence
  478. // of failure injections.
  479. // The expected behavior is that cluster remains fully operative in healthy
  480. // condition, and clients requests during liveness period succeed without
  481. // errors.
  482. // Note: this is how Google Chubby does failure injection testing
  483. // https://static.googleusercontent.com/media/research.google.com/en//archive/paxos_made_live.pdf.
  484. Case_NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS Case = 301
  485. // FAILPOINTS injects failpoints to etcd server runtime, triggering panics
  486. // in critical code paths.
  487. Case_FAILPOINTS Case = 400
  488. // EXTERNAL runs external failure injection scripts.
  489. Case_EXTERNAL Case = 500
  490. )
  491. var Case_name = map[int32]string{
  492. 0: "SIGTERM_ONE_FOLLOWER",
  493. 1: "SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
  494. 2: "SIGTERM_LEADER",
  495. 3: "SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT",
  496. 4: "SIGTERM_QUORUM",
  497. 5: "SIGTERM_ALL",
  498. 10: "SIGQUIT_AND_REMOVE_ONE_FOLLOWER",
  499. 11: "SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
  500. 12: "SIGQUIT_AND_REMOVE_LEADER",
  501. 13: "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT",
  502. 14: "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH",
  503. 100: "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER",
  504. 101: "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
  505. 102: "BLACKHOLE_PEER_PORT_TX_RX_LEADER",
  506. 103: "BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
  507. 104: "BLACKHOLE_PEER_PORT_TX_RX_QUORUM",
  508. 105: "BLACKHOLE_PEER_PORT_TX_RX_ALL",
  509. 200: "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
  510. 201: "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
  511. 202: "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
  512. 203: "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
  513. 204: "DELAY_PEER_PORT_TX_RX_LEADER",
  514. 205: "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER",
  515. 206: "DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
  516. 207: "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
  517. 208: "DELAY_PEER_PORT_TX_RX_QUORUM",
  518. 209: "RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM",
  519. 210: "DELAY_PEER_PORT_TX_RX_ALL",
  520. 211: "RANDOM_DELAY_PEER_PORT_TX_RX_ALL",
  521. 300: "NO_FAIL_WITH_STRESS",
  522. 301: "NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS",
  523. 400: "FAILPOINTS",
  524. 500: "EXTERNAL",
  525. }
  526. var Case_value = map[string]int32{
  527. "SIGTERM_ONE_FOLLOWER": 0,
  528. "SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 1,
  529. "SIGTERM_LEADER": 2,
  530. "SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT": 3,
  531. "SIGTERM_QUORUM": 4,
  532. "SIGTERM_ALL": 5,
  533. "SIGQUIT_AND_REMOVE_ONE_FOLLOWER": 10,
  534. "SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 11,
  535. "SIGQUIT_AND_REMOVE_LEADER": 12,
  536. "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT": 13,
  537. "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH": 14,
  538. "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER": 100,
  539. "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 101,
  540. "BLACKHOLE_PEER_PORT_TX_RX_LEADER": 102,
  541. "BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT": 103,
  542. "BLACKHOLE_PEER_PORT_TX_RX_QUORUM": 104,
  543. "BLACKHOLE_PEER_PORT_TX_RX_ALL": 105,
  544. "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER": 200,
  545. "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER": 201,
  546. "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 202,
  547. "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 203,
  548. "DELAY_PEER_PORT_TX_RX_LEADER": 204,
  549. "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER": 205,
  550. "DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT": 206,
  551. "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT": 207,
  552. "DELAY_PEER_PORT_TX_RX_QUORUM": 208,
  553. "RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM": 209,
  554. "DELAY_PEER_PORT_TX_RX_ALL": 210,
  555. "RANDOM_DELAY_PEER_PORT_TX_RX_ALL": 211,
  556. "NO_FAIL_WITH_STRESS": 300,
  557. "NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS": 301,
  558. "FAILPOINTS": 400,
  559. "EXTERNAL": 500,
  560. }
  561. func (x Case) String() string {
  562. return proto.EnumName(Case_name, int32(x))
  563. }
  564. func (Case) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{3} }
  565. type Request struct {
  566. Operation Operation `protobuf:"varint,1,opt,name=Operation,proto3,enum=rpcpb.Operation" json:"Operation,omitempty"`
  567. // Member contains the same Member object from tester configuration.
  568. Member *Member `protobuf:"bytes,2,opt,name=Member" json:"Member,omitempty"`
  569. // Tester contains tester configuration.
  570. Tester *Tester `protobuf:"bytes,3,opt,name=Tester" json:"Tester,omitempty"`
  571. }
  572. func (m *Request) Reset() { *m = Request{} }
  573. func (m *Request) String() string { return proto.CompactTextString(m) }
  574. func (*Request) ProtoMessage() {}
  575. func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{0} }
  576. // SnapshotInfo contains SAVE_SNAPSHOT request results.
  577. type SnapshotInfo struct {
  578. MemberName string `protobuf:"bytes,1,opt,name=MemberName,proto3" json:"MemberName,omitempty"`
  579. MemberClientURLs []string `protobuf:"bytes,2,rep,name=MemberClientURLs" json:"MemberClientURLs,omitempty"`
  580. SnapshotPath string `protobuf:"bytes,3,opt,name=SnapshotPath,proto3" json:"SnapshotPath,omitempty"`
  581. SnapshotFileSize string `protobuf:"bytes,4,opt,name=SnapshotFileSize,proto3" json:"SnapshotFileSize,omitempty"`
  582. SnapshotTotalSize string `protobuf:"bytes,5,opt,name=SnapshotTotalSize,proto3" json:"SnapshotTotalSize,omitempty"`
  583. SnapshotTotalKey int64 `protobuf:"varint,6,opt,name=SnapshotTotalKey,proto3" json:"SnapshotTotalKey,omitempty"`
  584. SnapshotHash int64 `protobuf:"varint,7,opt,name=SnapshotHash,proto3" json:"SnapshotHash,omitempty"`
  585. SnapshotRevision int64 `protobuf:"varint,8,opt,name=SnapshotRevision,proto3" json:"SnapshotRevision,omitempty"`
  586. Took string `protobuf:"bytes,9,opt,name=Took,proto3" json:"Took,omitempty"`
  587. }
  588. func (m *SnapshotInfo) Reset() { *m = SnapshotInfo{} }
  589. func (m *SnapshotInfo) String() string { return proto.CompactTextString(m) }
  590. func (*SnapshotInfo) ProtoMessage() {}
  591. func (*SnapshotInfo) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1} }
  592. type Response struct {
  593. Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
  594. Status string `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
  595. // Member contains the same Member object from tester request.
  596. Member *Member `protobuf:"bytes,3,opt,name=Member" json:"Member,omitempty"`
  597. // SnapshotInfo contains SAVE_SNAPSHOT request results.
  598. SnapshotInfo *SnapshotInfo `protobuf:"bytes,4,opt,name=SnapshotInfo" json:"SnapshotInfo,omitempty"`
  599. }
  600. func (m *Response) Reset() { *m = Response{} }
  601. func (m *Response) String() string { return proto.CompactTextString(m) }
  602. func (*Response) ProtoMessage() {}
  603. func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{2} }
  604. type Member struct {
  605. // EtcdExec is the executable etcd binary path in agent server.
  606. EtcdExec string `protobuf:"bytes,1,opt,name=EtcdExec,proto3" json:"EtcdExec,omitempty" yaml:"etcd-exec"`
  607. // AgentAddr is the agent HTTP server address.
  608. AgentAddr string `protobuf:"bytes,11,opt,name=AgentAddr,proto3" json:"AgentAddr,omitempty" yaml:"agent-addr"`
  609. // FailpointHTTPAddr is the agent's failpoints HTTP server address.
  610. FailpointHTTPAddr string `protobuf:"bytes,12,opt,name=FailpointHTTPAddr,proto3" json:"FailpointHTTPAddr,omitempty" yaml:"failpoint-http-addr"`
  611. // BaseDir is the base directory where all logs and etcd data are stored.
  612. BaseDir string `protobuf:"bytes,101,opt,name=BaseDir,proto3" json:"BaseDir,omitempty" yaml:"base-dir"`
  613. // EtcdClientProxy is true when client traffic needs to be proxied.
  614. // If true, listen client URL port must be different than advertise client URL port.
  615. EtcdClientProxy bool `protobuf:"varint,201,opt,name=EtcdClientProxy,proto3" json:"EtcdClientProxy,omitempty" yaml:"etcd-client-proxy"`
  616. // EtcdPeerProxy is true when peer traffic needs to be proxied.
  617. // If true, listen peer URL port must be different than advertise peer URL port.
  618. EtcdPeerProxy bool `protobuf:"varint,202,opt,name=EtcdPeerProxy,proto3" json:"EtcdPeerProxy,omitempty" yaml:"etcd-peer-proxy"`
  619. // EtcdClientEndpoint is the etcd client endpoint.
  620. EtcdClientEndpoint string `protobuf:"bytes,301,opt,name=EtcdClientEndpoint,proto3" json:"EtcdClientEndpoint,omitempty" yaml:"etcd-client-endpoint"`
  621. // Etcd defines etcd binary configuration flags.
  622. Etcd *Etcd `protobuf:"bytes,302,opt,name=Etcd" json:"Etcd,omitempty" yaml:"etcd"`
  623. // EtcdOnSnapshotRestore defines one-time use configuration during etcd
  624. // snapshot recovery process.
  625. EtcdOnSnapshotRestore *Etcd `protobuf:"bytes,303,opt,name=EtcdOnSnapshotRestore" json:"EtcdOnSnapshotRestore,omitempty"`
  626. // ClientCertData contains cert file contents from this member's etcd server.
  627. ClientCertData string `protobuf:"bytes,401,opt,name=ClientCertData,proto3" json:"ClientCertData,omitempty" yaml:"client-cert-data"`
  628. ClientCertPath string `protobuf:"bytes,402,opt,name=ClientCertPath,proto3" json:"ClientCertPath,omitempty" yaml:"client-cert-path"`
  629. // ClientKeyData contains key file contents from this member's etcd server.
  630. ClientKeyData string `protobuf:"bytes,403,opt,name=ClientKeyData,proto3" json:"ClientKeyData,omitempty" yaml:"client-key-data"`
  631. ClientKeyPath string `protobuf:"bytes,404,opt,name=ClientKeyPath,proto3" json:"ClientKeyPath,omitempty" yaml:"client-key-path"`
  632. // ClientTrustedCAData contains trusted CA file contents from this member's etcd server.
  633. ClientTrustedCAData string `protobuf:"bytes,405,opt,name=ClientTrustedCAData,proto3" json:"ClientTrustedCAData,omitempty" yaml:"client-trusted-ca-data"`
  634. ClientTrustedCAPath string `protobuf:"bytes,406,opt,name=ClientTrustedCAPath,proto3" json:"ClientTrustedCAPath,omitempty" yaml:"client-trusted-ca-path"`
  635. // PeerCertData contains cert file contents from this member's etcd server.
  636. PeerCertData string `protobuf:"bytes,501,opt,name=PeerCertData,proto3" json:"PeerCertData,omitempty" yaml:"peer-cert-data"`
  637. PeerCertPath string `protobuf:"bytes,502,opt,name=PeerCertPath,proto3" json:"PeerCertPath,omitempty" yaml:"peer-cert-path"`
  638. // PeerKeyData contains key file contents from this member's etcd server.
  639. PeerKeyData string `protobuf:"bytes,503,opt,name=PeerKeyData,proto3" json:"PeerKeyData,omitempty" yaml:"peer-key-data"`
  640. PeerKeyPath string `protobuf:"bytes,504,opt,name=PeerKeyPath,proto3" json:"PeerKeyPath,omitempty" yaml:"peer-key-path"`
  641. // PeerTrustedCAData contains trusted CA file contents from this member's etcd server.
  642. PeerTrustedCAData string `protobuf:"bytes,505,opt,name=PeerTrustedCAData,proto3" json:"PeerTrustedCAData,omitempty" yaml:"peer-trusted-ca-data"`
  643. PeerTrustedCAPath string `protobuf:"bytes,506,opt,name=PeerTrustedCAPath,proto3" json:"PeerTrustedCAPath,omitempty" yaml:"peer-trusted-ca-path"`
  644. // SnapshotPath is the snapshot file path to store or restore from.
  645. SnapshotPath string `protobuf:"bytes,601,opt,name=SnapshotPath,proto3" json:"SnapshotPath,omitempty" yaml:"snapshot-path"`
  646. // SnapshotInfo contains last SAVE_SNAPSHOT request results.
  647. SnapshotInfo *SnapshotInfo `protobuf:"bytes,602,opt,name=SnapshotInfo" json:"SnapshotInfo,omitempty"`
  648. }
  649. func (m *Member) Reset() { *m = Member{} }
  650. func (m *Member) String() string { return proto.CompactTextString(m) }
  651. func (*Member) ProtoMessage() {}
  652. func (*Member) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{3} }
  653. type Tester struct {
  654. DataDir string `protobuf:"bytes,1,opt,name=DataDir,proto3" json:"DataDir,omitempty" yaml:"data-dir"`
  655. Network string `protobuf:"bytes,2,opt,name=Network,proto3" json:"Network,omitempty" yaml:"network"`
  656. Addr string `protobuf:"bytes,3,opt,name=Addr,proto3" json:"Addr,omitempty" yaml:"addr"`
  657. // DelayLatencyMsRv is the delay latency in milliseconds,
  658. // to inject to simulated slow network.
  659. DelayLatencyMs uint32 `protobuf:"varint,11,opt,name=DelayLatencyMs,proto3" json:"DelayLatencyMs,omitempty" yaml:"delay-latency-ms"`
  660. // DelayLatencyMsRv is the delay latency random variable in milliseconds.
  661. DelayLatencyMsRv uint32 `protobuf:"varint,12,opt,name=DelayLatencyMsRv,proto3" json:"DelayLatencyMsRv,omitempty" yaml:"delay-latency-ms-rv"`
  662. // UpdatedDelayLatencyMs is the update delay latency in milliseconds,
  663. // to inject to simulated slow network. It's the final latency to apply,
  664. // in case the latency numbers are randomly generated from given delay latency field.
  665. UpdatedDelayLatencyMs uint32 `protobuf:"varint,13,opt,name=UpdatedDelayLatencyMs,proto3" json:"UpdatedDelayLatencyMs,omitempty" yaml:"updated-delay-latency-ms"`
  666. // RoundLimit is the limit of rounds to run failure set (-1 to run without limits).
  667. RoundLimit int32 `protobuf:"varint,21,opt,name=RoundLimit,proto3" json:"RoundLimit,omitempty" yaml:"round-limit"`
  668. // ExitOnCaseFail is true, then exit tester on first failure.
  669. ExitOnCaseFail bool `protobuf:"varint,22,opt,name=ExitOnCaseFail,proto3" json:"ExitOnCaseFail,omitempty" yaml:"exit-on-failure"`
  670. // EnablePprof is true to enable profiler.
  671. EnablePprof bool `protobuf:"varint,23,opt,name=EnablePprof,proto3" json:"EnablePprof,omitempty" yaml:"enable-pprof"`
  672. // CaseDelayMs is the delay duration after failure is injected.
  673. // Useful when triggering snapshot or no-op failure cases.
  674. CaseDelayMs uint32 `protobuf:"varint,31,opt,name=CaseDelayMs,proto3" json:"CaseDelayMs,omitempty" yaml:"case-delay-ms"`
  675. // CaseShuffle is true to randomize failure injecting order.
  676. CaseShuffle bool `protobuf:"varint,32,opt,name=CaseShuffle,proto3" json:"CaseShuffle,omitempty" yaml:"case-shuffle"`
  677. // Cases is the selected test cases to schedule.
  678. // If empty, run all failure cases.
  679. Cases []string `protobuf:"bytes,33,rep,name=Cases" json:"Cases,omitempty" yaml:"cases"`
  680. // FailpointCommands is the list of "gofail" commands
  681. // (e.g. panic("etcd-tester"),1*sleep(1000).
  682. FailpointCommands []string `protobuf:"bytes,34,rep,name=FailpointCommands" json:"FailpointCommands,omitempty" yaml:"failpoint-commands"`
  683. // RunnerExecPath is a path of etcd-runner binary.
  684. RunnerExecPath string `protobuf:"bytes,41,opt,name=RunnerExecPath,proto3" json:"RunnerExecPath,omitempty" yaml:"runner-exec-path"`
  685. // ExternalExecPath is a path of script for enabling/disabling an external fault injector.
  686. ExternalExecPath string `protobuf:"bytes,42,opt,name=ExternalExecPath,proto3" json:"ExternalExecPath,omitempty" yaml:"external-exec-path"`
  687. // Stressers is the list of stresser types:
  688. // KV, LEASE, ELECTION_RUNNER, WATCH_RUNNER, LOCK_RACER_RUNNER, LEASE_RUNNER.
  689. Stressers []*Stresser `protobuf:"bytes,101,rep,name=Stressers" json:"Stressers,omitempty" yaml:"stressers"`
  690. // Checkers is the list of consistency checker types:
  691. // KV_HASH, LEASE_EXPIRE, NO_CHECK, RUNNER.
  692. // Leave empty to skip consistency checks.
  693. Checkers []string `protobuf:"bytes,102,rep,name=Checkers" json:"Checkers,omitempty" yaml:"checkers"`
  694. // StressKeySize is the size of each small key written into etcd.
  695. StressKeySize int32 `protobuf:"varint,201,opt,name=StressKeySize,proto3" json:"StressKeySize,omitempty" yaml:"stress-key-size"`
  696. // StressKeySizeLarge is the size of each large key written into etcd.
  697. StressKeySizeLarge int32 `protobuf:"varint,202,opt,name=StressKeySizeLarge,proto3" json:"StressKeySizeLarge,omitempty" yaml:"stress-key-size-large"`
  698. // StressKeySuffixRange is the count of key range written into etcd.
  699. // Stress keys are created with "fmt.Sprintf("foo%016x", rand.Intn(keySuffixRange)".
  700. StressKeySuffixRange int32 `protobuf:"varint,203,opt,name=StressKeySuffixRange,proto3" json:"StressKeySuffixRange,omitempty" yaml:"stress-key-suffix-range"`
  701. // StressKeySuffixRangeTxn is the count of key range written into etcd txn (max 100).
  702. // Stress keys are created with "fmt.Sprintf("/k%03d", i)".
  703. StressKeySuffixRangeTxn int32 `protobuf:"varint,204,opt,name=StressKeySuffixRangeTxn,proto3" json:"StressKeySuffixRangeTxn,omitempty" yaml:"stress-key-suffix-range-txn"`
  704. // StressKeyTxnOps is the number of operations per a transaction (max 64).
  705. StressKeyTxnOps int32 `protobuf:"varint,205,opt,name=StressKeyTxnOps,proto3" json:"StressKeyTxnOps,omitempty" yaml:"stress-key-txn-ops"`
  706. // StressClients is the number of concurrent stressing clients
  707. // with "one" shared TCP connection.
  708. StressClients int32 `protobuf:"varint,301,opt,name=StressClients,proto3" json:"StressClients,omitempty" yaml:"stress-clients"`
  709. // StressQPS is the maximum number of stresser requests per second.
  710. StressQPS int32 `protobuf:"varint,302,opt,name=StressQPS,proto3" json:"StressQPS,omitempty" yaml:"stress-qps"`
  711. }
  712. func (m *Tester) Reset() { *m = Tester{} }
  713. func (m *Tester) String() string { return proto.CompactTextString(m) }
  714. func (*Tester) ProtoMessage() {}
  715. func (*Tester) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{4} }
  716. type Stresser struct {
  717. Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty" yaml:"type"`
  718. Weight float64 `protobuf:"fixed64,2,opt,name=Weight,proto3" json:"Weight,omitempty" yaml:"weight"`
  719. }
  720. func (m *Stresser) Reset() { *m = Stresser{} }
  721. func (m *Stresser) String() string { return proto.CompactTextString(m) }
  722. func (*Stresser) ProtoMessage() {}
  723. func (*Stresser) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{5} }
  724. type Etcd struct {
  725. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty" yaml:"name"`
  726. DataDir string `protobuf:"bytes,2,opt,name=DataDir,proto3" json:"DataDir,omitempty" yaml:"data-dir"`
  727. WALDir string `protobuf:"bytes,3,opt,name=WALDir,proto3" json:"WALDir,omitempty" yaml:"wal-dir"`
  728. // HeartbeatIntervalMs is the time (in milliseconds) of a heartbeat interval.
  729. // Default value is 100, which is 100ms.
  730. HeartbeatIntervalMs int64 `protobuf:"varint,11,opt,name=HeartbeatIntervalMs,proto3" json:"HeartbeatIntervalMs,omitempty" yaml:"heartbeat-interval"`
  731. // ElectionTimeoutMs is the time (in milliseconds) for an election to timeout.
  732. // Default value is 1000, which is 1s.
  733. ElectionTimeoutMs int64 `protobuf:"varint,12,opt,name=ElectionTimeoutMs,proto3" json:"ElectionTimeoutMs,omitempty" yaml:"election-timeout"`
  734. ListenClientURLs []string `protobuf:"bytes,21,rep,name=ListenClientURLs" json:"ListenClientURLs,omitempty" yaml:"listen-client-urls"`
  735. AdvertiseClientURLs []string `protobuf:"bytes,22,rep,name=AdvertiseClientURLs" json:"AdvertiseClientURLs,omitempty" yaml:"advertise-client-urls"`
  736. ClientAutoTLS bool `protobuf:"varint,23,opt,name=ClientAutoTLS,proto3" json:"ClientAutoTLS,omitempty" yaml:"auto-tls"`
  737. ClientCertAuth bool `protobuf:"varint,24,opt,name=ClientCertAuth,proto3" json:"ClientCertAuth,omitempty" yaml:"client-cert-auth"`
  738. ClientCertFile string `protobuf:"bytes,25,opt,name=ClientCertFile,proto3" json:"ClientCertFile,omitempty" yaml:"cert-file"`
  739. ClientKeyFile string `protobuf:"bytes,26,opt,name=ClientKeyFile,proto3" json:"ClientKeyFile,omitempty" yaml:"key-file"`
  740. ClientTrustedCAFile string `protobuf:"bytes,27,opt,name=ClientTrustedCAFile,proto3" json:"ClientTrustedCAFile,omitempty" yaml:"trusted-ca-file"`
  741. ListenPeerURLs []string `protobuf:"bytes,31,rep,name=ListenPeerURLs" json:"ListenPeerURLs,omitempty" yaml:"listen-peer-urls"`
  742. AdvertisePeerURLs []string `protobuf:"bytes,32,rep,name=AdvertisePeerURLs" json:"AdvertisePeerURLs,omitempty" yaml:"initial-advertise-peer-urls"`
  743. PeerAutoTLS bool `protobuf:"varint,33,opt,name=PeerAutoTLS,proto3" json:"PeerAutoTLS,omitempty" yaml:"peer-auto-tls"`
  744. PeerClientCertAuth bool `protobuf:"varint,34,opt,name=PeerClientCertAuth,proto3" json:"PeerClientCertAuth,omitempty" yaml:"peer-client-cert-auth"`
  745. PeerCertFile string `protobuf:"bytes,35,opt,name=PeerCertFile,proto3" json:"PeerCertFile,omitempty" yaml:"peer-cert-file"`
  746. PeerKeyFile string `protobuf:"bytes,36,opt,name=PeerKeyFile,proto3" json:"PeerKeyFile,omitempty" yaml:"peer-key-file"`
  747. PeerTrustedCAFile string `protobuf:"bytes,37,opt,name=PeerTrustedCAFile,proto3" json:"PeerTrustedCAFile,omitempty" yaml:"peer-trusted-ca-file"`
  748. InitialCluster string `protobuf:"bytes,41,opt,name=InitialCluster,proto3" json:"InitialCluster,omitempty" yaml:"initial-cluster"`
  749. InitialClusterState string `protobuf:"bytes,42,opt,name=InitialClusterState,proto3" json:"InitialClusterState,omitempty" yaml:"initial-cluster-state"`
  750. InitialClusterToken string `protobuf:"bytes,43,opt,name=InitialClusterToken,proto3" json:"InitialClusterToken,omitempty" yaml:"initial-cluster-token"`
  751. SnapshotCount int64 `protobuf:"varint,51,opt,name=SnapshotCount,proto3" json:"SnapshotCount,omitempty" yaml:"snapshot-count"`
  752. QuotaBackendBytes int64 `protobuf:"varint,52,opt,name=QuotaBackendBytes,proto3" json:"QuotaBackendBytes,omitempty" yaml:"quota-backend-bytes"`
  753. PreVote bool `protobuf:"varint,63,opt,name=PreVote,proto3" json:"PreVote,omitempty" yaml:"pre-vote"`
  754. InitialCorruptCheck bool `protobuf:"varint,64,opt,name=InitialCorruptCheck,proto3" json:"InitialCorruptCheck,omitempty" yaml:"initial-corrupt-check"`
  755. Logger string `protobuf:"bytes,71,opt,name=Logger,proto3" json:"Logger,omitempty" yaml:"logger"`
  756. // LogOutputs is the log file to store current etcd server logs.
  757. LogOutputs []string `protobuf:"bytes,72,rep,name=LogOutputs" json:"LogOutputs,omitempty" yaml:"log-outputs"`
  758. Debug bool `protobuf:"varint,73,opt,name=Debug,proto3" json:"Debug,omitempty" yaml:"debug"`
  759. }
  760. func (m *Etcd) Reset() { *m = Etcd{} }
  761. func (m *Etcd) String() string { return proto.CompactTextString(m) }
  762. func (*Etcd) ProtoMessage() {}
  763. func (*Etcd) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{6} }
  764. func init() {
  765. proto.RegisterType((*Request)(nil), "rpcpb.Request")
  766. proto.RegisterType((*SnapshotInfo)(nil), "rpcpb.SnapshotInfo")
  767. proto.RegisterType((*Response)(nil), "rpcpb.Response")
  768. proto.RegisterType((*Member)(nil), "rpcpb.Member")
  769. proto.RegisterType((*Tester)(nil), "rpcpb.Tester")
  770. proto.RegisterType((*Stresser)(nil), "rpcpb.Stresser")
  771. proto.RegisterType((*Etcd)(nil), "rpcpb.Etcd")
  772. proto.RegisterEnum("rpcpb.StresserType", StresserType_name, StresserType_value)
  773. proto.RegisterEnum("rpcpb.Checker", Checker_name, Checker_value)
  774. proto.RegisterEnum("rpcpb.Operation", Operation_name, Operation_value)
  775. proto.RegisterEnum("rpcpb.Case", Case_name, Case_value)
  776. }
  777. // Reference imports to suppress errors if they are not otherwise used.
  778. var _ context.Context
  779. var _ grpc.ClientConn
  780. // This is a compile-time assertion to ensure that this generated file
  781. // is compatible with the grpc package it is being compiled against.
  782. const _ = grpc.SupportPackageIsVersion4
  783. // Client API for Transport service
  784. type TransportClient interface {
  785. Transport(ctx context.Context, opts ...grpc.CallOption) (Transport_TransportClient, error)
  786. }
  787. type transportClient struct {
  788. cc *grpc.ClientConn
  789. }
  790. func NewTransportClient(cc *grpc.ClientConn) TransportClient {
  791. return &transportClient{cc}
  792. }
  793. func (c *transportClient) Transport(ctx context.Context, opts ...grpc.CallOption) (Transport_TransportClient, error) {
  794. stream, err := grpc.NewClientStream(ctx, &_Transport_serviceDesc.Streams[0], c.cc, "/rpcpb.Transport/Transport", opts...)
  795. if err != nil {
  796. return nil, err
  797. }
  798. x := &transportTransportClient{stream}
  799. return x, nil
  800. }
  801. type Transport_TransportClient interface {
  802. Send(*Request) error
  803. Recv() (*Response, error)
  804. grpc.ClientStream
  805. }
  806. type transportTransportClient struct {
  807. grpc.ClientStream
  808. }
  809. func (x *transportTransportClient) Send(m *Request) error {
  810. return x.ClientStream.SendMsg(m)
  811. }
  812. func (x *transportTransportClient) Recv() (*Response, error) {
  813. m := new(Response)
  814. if err := x.ClientStream.RecvMsg(m); err != nil {
  815. return nil, err
  816. }
  817. return m, nil
  818. }
  819. // Server API for Transport service
  820. type TransportServer interface {
  821. Transport(Transport_TransportServer) error
  822. }
  823. func RegisterTransportServer(s *grpc.Server, srv TransportServer) {
  824. s.RegisterService(&_Transport_serviceDesc, srv)
  825. }
  826. func _Transport_Transport_Handler(srv interface{}, stream grpc.ServerStream) error {
  827. return srv.(TransportServer).Transport(&transportTransportServer{stream})
  828. }
  829. type Transport_TransportServer interface {
  830. Send(*Response) error
  831. Recv() (*Request, error)
  832. grpc.ServerStream
  833. }
  834. type transportTransportServer struct {
  835. grpc.ServerStream
  836. }
  837. func (x *transportTransportServer) Send(m *Response) error {
  838. return x.ServerStream.SendMsg(m)
  839. }
  840. func (x *transportTransportServer) Recv() (*Request, error) {
  841. m := new(Request)
  842. if err := x.ServerStream.RecvMsg(m); err != nil {
  843. return nil, err
  844. }
  845. return m, nil
  846. }
  847. var _Transport_serviceDesc = grpc.ServiceDesc{
  848. ServiceName: "rpcpb.Transport",
  849. HandlerType: (*TransportServer)(nil),
  850. Methods: []grpc.MethodDesc{},
  851. Streams: []grpc.StreamDesc{
  852. {
  853. StreamName: "Transport",
  854. Handler: _Transport_Transport_Handler,
  855. ServerStreams: true,
  856. ClientStreams: true,
  857. },
  858. },
  859. Metadata: "rpcpb/rpc.proto",
  860. }
  861. func (m *Request) 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 *Request) MarshalTo(dAtA []byte) (int, error) {
  871. var i int
  872. _ = i
  873. var l int
  874. _ = l
  875. if m.Operation != 0 {
  876. dAtA[i] = 0x8
  877. i++
  878. i = encodeVarintRpc(dAtA, i, uint64(m.Operation))
  879. }
  880. if m.Member != nil {
  881. dAtA[i] = 0x12
  882. i++
  883. i = encodeVarintRpc(dAtA, i, uint64(m.Member.Size()))
  884. n1, err := m.Member.MarshalTo(dAtA[i:])
  885. if err != nil {
  886. return 0, err
  887. }
  888. i += n1
  889. }
  890. if m.Tester != nil {
  891. dAtA[i] = 0x1a
  892. i++
  893. i = encodeVarintRpc(dAtA, i, uint64(m.Tester.Size()))
  894. n2, err := m.Tester.MarshalTo(dAtA[i:])
  895. if err != nil {
  896. return 0, err
  897. }
  898. i += n2
  899. }
  900. return i, nil
  901. }
  902. func (m *SnapshotInfo) Marshal() (dAtA []byte, err error) {
  903. size := m.Size()
  904. dAtA = make([]byte, size)
  905. n, err := m.MarshalTo(dAtA)
  906. if err != nil {
  907. return nil, err
  908. }
  909. return dAtA[:n], nil
  910. }
  911. func (m *SnapshotInfo) MarshalTo(dAtA []byte) (int, error) {
  912. var i int
  913. _ = i
  914. var l int
  915. _ = l
  916. if len(m.MemberName) > 0 {
  917. dAtA[i] = 0xa
  918. i++
  919. i = encodeVarintRpc(dAtA, i, uint64(len(m.MemberName)))
  920. i += copy(dAtA[i:], m.MemberName)
  921. }
  922. if len(m.MemberClientURLs) > 0 {
  923. for _, s := range m.MemberClientURLs {
  924. dAtA[i] = 0x12
  925. i++
  926. l = len(s)
  927. for l >= 1<<7 {
  928. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  929. l >>= 7
  930. i++
  931. }
  932. dAtA[i] = uint8(l)
  933. i++
  934. i += copy(dAtA[i:], s)
  935. }
  936. }
  937. if len(m.SnapshotPath) > 0 {
  938. dAtA[i] = 0x1a
  939. i++
  940. i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotPath)))
  941. i += copy(dAtA[i:], m.SnapshotPath)
  942. }
  943. if len(m.SnapshotFileSize) > 0 {
  944. dAtA[i] = 0x22
  945. i++
  946. i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotFileSize)))
  947. i += copy(dAtA[i:], m.SnapshotFileSize)
  948. }
  949. if len(m.SnapshotTotalSize) > 0 {
  950. dAtA[i] = 0x2a
  951. i++
  952. i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotTotalSize)))
  953. i += copy(dAtA[i:], m.SnapshotTotalSize)
  954. }
  955. if m.SnapshotTotalKey != 0 {
  956. dAtA[i] = 0x30
  957. i++
  958. i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotTotalKey))
  959. }
  960. if m.SnapshotHash != 0 {
  961. dAtA[i] = 0x38
  962. i++
  963. i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotHash))
  964. }
  965. if m.SnapshotRevision != 0 {
  966. dAtA[i] = 0x40
  967. i++
  968. i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotRevision))
  969. }
  970. if len(m.Took) > 0 {
  971. dAtA[i] = 0x4a
  972. i++
  973. i = encodeVarintRpc(dAtA, i, uint64(len(m.Took)))
  974. i += copy(dAtA[i:], m.Took)
  975. }
  976. return i, nil
  977. }
  978. func (m *Response) Marshal() (dAtA []byte, err error) {
  979. size := m.Size()
  980. dAtA = make([]byte, size)
  981. n, err := m.MarshalTo(dAtA)
  982. if err != nil {
  983. return nil, err
  984. }
  985. return dAtA[:n], nil
  986. }
  987. func (m *Response) MarshalTo(dAtA []byte) (int, error) {
  988. var i int
  989. _ = i
  990. var l int
  991. _ = l
  992. if m.Success {
  993. dAtA[i] = 0x8
  994. i++
  995. if m.Success {
  996. dAtA[i] = 1
  997. } else {
  998. dAtA[i] = 0
  999. }
  1000. i++
  1001. }
  1002. if len(m.Status) > 0 {
  1003. dAtA[i] = 0x12
  1004. i++
  1005. i = encodeVarintRpc(dAtA, i, uint64(len(m.Status)))
  1006. i += copy(dAtA[i:], m.Status)
  1007. }
  1008. if m.Member != nil {
  1009. dAtA[i] = 0x1a
  1010. i++
  1011. i = encodeVarintRpc(dAtA, i, uint64(m.Member.Size()))
  1012. n3, err := m.Member.MarshalTo(dAtA[i:])
  1013. if err != nil {
  1014. return 0, err
  1015. }
  1016. i += n3
  1017. }
  1018. if m.SnapshotInfo != nil {
  1019. dAtA[i] = 0x22
  1020. i++
  1021. i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotInfo.Size()))
  1022. n4, err := m.SnapshotInfo.MarshalTo(dAtA[i:])
  1023. if err != nil {
  1024. return 0, err
  1025. }
  1026. i += n4
  1027. }
  1028. return i, nil
  1029. }
  1030. func (m *Member) Marshal() (dAtA []byte, err error) {
  1031. size := m.Size()
  1032. dAtA = make([]byte, size)
  1033. n, err := m.MarshalTo(dAtA)
  1034. if err != nil {
  1035. return nil, err
  1036. }
  1037. return dAtA[:n], nil
  1038. }
  1039. func (m *Member) MarshalTo(dAtA []byte) (int, error) {
  1040. var i int
  1041. _ = i
  1042. var l int
  1043. _ = l
  1044. if len(m.EtcdExec) > 0 {
  1045. dAtA[i] = 0xa
  1046. i++
  1047. i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdExec)))
  1048. i += copy(dAtA[i:], m.EtcdExec)
  1049. }
  1050. if len(m.AgentAddr) > 0 {
  1051. dAtA[i] = 0x5a
  1052. i++
  1053. i = encodeVarintRpc(dAtA, i, uint64(len(m.AgentAddr)))
  1054. i += copy(dAtA[i:], m.AgentAddr)
  1055. }
  1056. if len(m.FailpointHTTPAddr) > 0 {
  1057. dAtA[i] = 0x62
  1058. i++
  1059. i = encodeVarintRpc(dAtA, i, uint64(len(m.FailpointHTTPAddr)))
  1060. i += copy(dAtA[i:], m.FailpointHTTPAddr)
  1061. }
  1062. if len(m.BaseDir) > 0 {
  1063. dAtA[i] = 0xaa
  1064. i++
  1065. dAtA[i] = 0x6
  1066. i++
  1067. i = encodeVarintRpc(dAtA, i, uint64(len(m.BaseDir)))
  1068. i += copy(dAtA[i:], m.BaseDir)
  1069. }
  1070. if m.EtcdClientProxy {
  1071. dAtA[i] = 0xc8
  1072. i++
  1073. dAtA[i] = 0xc
  1074. i++
  1075. if m.EtcdClientProxy {
  1076. dAtA[i] = 1
  1077. } else {
  1078. dAtA[i] = 0
  1079. }
  1080. i++
  1081. }
  1082. if m.EtcdPeerProxy {
  1083. dAtA[i] = 0xd0
  1084. i++
  1085. dAtA[i] = 0xc
  1086. i++
  1087. if m.EtcdPeerProxy {
  1088. dAtA[i] = 1
  1089. } else {
  1090. dAtA[i] = 0
  1091. }
  1092. i++
  1093. }
  1094. if len(m.EtcdClientEndpoint) > 0 {
  1095. dAtA[i] = 0xea
  1096. i++
  1097. dAtA[i] = 0x12
  1098. i++
  1099. i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdClientEndpoint)))
  1100. i += copy(dAtA[i:], m.EtcdClientEndpoint)
  1101. }
  1102. if m.Etcd != nil {
  1103. dAtA[i] = 0xf2
  1104. i++
  1105. dAtA[i] = 0x12
  1106. i++
  1107. i = encodeVarintRpc(dAtA, i, uint64(m.Etcd.Size()))
  1108. n5, err := m.Etcd.MarshalTo(dAtA[i:])
  1109. if err != nil {
  1110. return 0, err
  1111. }
  1112. i += n5
  1113. }
  1114. if m.EtcdOnSnapshotRestore != nil {
  1115. dAtA[i] = 0xfa
  1116. i++
  1117. dAtA[i] = 0x12
  1118. i++
  1119. i = encodeVarintRpc(dAtA, i, uint64(m.EtcdOnSnapshotRestore.Size()))
  1120. n6, err := m.EtcdOnSnapshotRestore.MarshalTo(dAtA[i:])
  1121. if err != nil {
  1122. return 0, err
  1123. }
  1124. i += n6
  1125. }
  1126. if len(m.ClientCertData) > 0 {
  1127. dAtA[i] = 0x8a
  1128. i++
  1129. dAtA[i] = 0x19
  1130. i++
  1131. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientCertData)))
  1132. i += copy(dAtA[i:], m.ClientCertData)
  1133. }
  1134. if len(m.ClientCertPath) > 0 {
  1135. dAtA[i] = 0x92
  1136. i++
  1137. dAtA[i] = 0x19
  1138. i++
  1139. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientCertPath)))
  1140. i += copy(dAtA[i:], m.ClientCertPath)
  1141. }
  1142. if len(m.ClientKeyData) > 0 {
  1143. dAtA[i] = 0x9a
  1144. i++
  1145. dAtA[i] = 0x19
  1146. i++
  1147. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientKeyData)))
  1148. i += copy(dAtA[i:], m.ClientKeyData)
  1149. }
  1150. if len(m.ClientKeyPath) > 0 {
  1151. dAtA[i] = 0xa2
  1152. i++
  1153. dAtA[i] = 0x19
  1154. i++
  1155. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientKeyPath)))
  1156. i += copy(dAtA[i:], m.ClientKeyPath)
  1157. }
  1158. if len(m.ClientTrustedCAData) > 0 {
  1159. dAtA[i] = 0xaa
  1160. i++
  1161. dAtA[i] = 0x19
  1162. i++
  1163. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientTrustedCAData)))
  1164. i += copy(dAtA[i:], m.ClientTrustedCAData)
  1165. }
  1166. if len(m.ClientTrustedCAPath) > 0 {
  1167. dAtA[i] = 0xb2
  1168. i++
  1169. dAtA[i] = 0x19
  1170. i++
  1171. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientTrustedCAPath)))
  1172. i += copy(dAtA[i:], m.ClientTrustedCAPath)
  1173. }
  1174. if len(m.PeerCertData) > 0 {
  1175. dAtA[i] = 0xaa
  1176. i++
  1177. dAtA[i] = 0x1f
  1178. i++
  1179. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerCertData)))
  1180. i += copy(dAtA[i:], m.PeerCertData)
  1181. }
  1182. if len(m.PeerCertPath) > 0 {
  1183. dAtA[i] = 0xb2
  1184. i++
  1185. dAtA[i] = 0x1f
  1186. i++
  1187. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerCertPath)))
  1188. i += copy(dAtA[i:], m.PeerCertPath)
  1189. }
  1190. if len(m.PeerKeyData) > 0 {
  1191. dAtA[i] = 0xba
  1192. i++
  1193. dAtA[i] = 0x1f
  1194. i++
  1195. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerKeyData)))
  1196. i += copy(dAtA[i:], m.PeerKeyData)
  1197. }
  1198. if len(m.PeerKeyPath) > 0 {
  1199. dAtA[i] = 0xc2
  1200. i++
  1201. dAtA[i] = 0x1f
  1202. i++
  1203. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerKeyPath)))
  1204. i += copy(dAtA[i:], m.PeerKeyPath)
  1205. }
  1206. if len(m.PeerTrustedCAData) > 0 {
  1207. dAtA[i] = 0xca
  1208. i++
  1209. dAtA[i] = 0x1f
  1210. i++
  1211. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerTrustedCAData)))
  1212. i += copy(dAtA[i:], m.PeerTrustedCAData)
  1213. }
  1214. if len(m.PeerTrustedCAPath) > 0 {
  1215. dAtA[i] = 0xd2
  1216. i++
  1217. dAtA[i] = 0x1f
  1218. i++
  1219. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerTrustedCAPath)))
  1220. i += copy(dAtA[i:], m.PeerTrustedCAPath)
  1221. }
  1222. if len(m.SnapshotPath) > 0 {
  1223. dAtA[i] = 0xca
  1224. i++
  1225. dAtA[i] = 0x25
  1226. i++
  1227. i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotPath)))
  1228. i += copy(dAtA[i:], m.SnapshotPath)
  1229. }
  1230. if m.SnapshotInfo != nil {
  1231. dAtA[i] = 0xd2
  1232. i++
  1233. dAtA[i] = 0x25
  1234. i++
  1235. i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotInfo.Size()))
  1236. n7, err := m.SnapshotInfo.MarshalTo(dAtA[i:])
  1237. if err != nil {
  1238. return 0, err
  1239. }
  1240. i += n7
  1241. }
  1242. return i, nil
  1243. }
  1244. func (m *Tester) Marshal() (dAtA []byte, err error) {
  1245. size := m.Size()
  1246. dAtA = make([]byte, size)
  1247. n, err := m.MarshalTo(dAtA)
  1248. if err != nil {
  1249. return nil, err
  1250. }
  1251. return dAtA[:n], nil
  1252. }
  1253. func (m *Tester) MarshalTo(dAtA []byte) (int, error) {
  1254. var i int
  1255. _ = i
  1256. var l int
  1257. _ = l
  1258. if len(m.DataDir) > 0 {
  1259. dAtA[i] = 0xa
  1260. i++
  1261. i = encodeVarintRpc(dAtA, i, uint64(len(m.DataDir)))
  1262. i += copy(dAtA[i:], m.DataDir)
  1263. }
  1264. if len(m.Network) > 0 {
  1265. dAtA[i] = 0x12
  1266. i++
  1267. i = encodeVarintRpc(dAtA, i, uint64(len(m.Network)))
  1268. i += copy(dAtA[i:], m.Network)
  1269. }
  1270. if len(m.Addr) > 0 {
  1271. dAtA[i] = 0x1a
  1272. i++
  1273. i = encodeVarintRpc(dAtA, i, uint64(len(m.Addr)))
  1274. i += copy(dAtA[i:], m.Addr)
  1275. }
  1276. if m.DelayLatencyMs != 0 {
  1277. dAtA[i] = 0x58
  1278. i++
  1279. i = encodeVarintRpc(dAtA, i, uint64(m.DelayLatencyMs))
  1280. }
  1281. if m.DelayLatencyMsRv != 0 {
  1282. dAtA[i] = 0x60
  1283. i++
  1284. i = encodeVarintRpc(dAtA, i, uint64(m.DelayLatencyMsRv))
  1285. }
  1286. if m.UpdatedDelayLatencyMs != 0 {
  1287. dAtA[i] = 0x68
  1288. i++
  1289. i = encodeVarintRpc(dAtA, i, uint64(m.UpdatedDelayLatencyMs))
  1290. }
  1291. if m.RoundLimit != 0 {
  1292. dAtA[i] = 0xa8
  1293. i++
  1294. dAtA[i] = 0x1
  1295. i++
  1296. i = encodeVarintRpc(dAtA, i, uint64(m.RoundLimit))
  1297. }
  1298. if m.ExitOnCaseFail {
  1299. dAtA[i] = 0xb0
  1300. i++
  1301. dAtA[i] = 0x1
  1302. i++
  1303. if m.ExitOnCaseFail {
  1304. dAtA[i] = 1
  1305. } else {
  1306. dAtA[i] = 0
  1307. }
  1308. i++
  1309. }
  1310. if m.EnablePprof {
  1311. dAtA[i] = 0xb8
  1312. i++
  1313. dAtA[i] = 0x1
  1314. i++
  1315. if m.EnablePprof {
  1316. dAtA[i] = 1
  1317. } else {
  1318. dAtA[i] = 0
  1319. }
  1320. i++
  1321. }
  1322. if m.CaseDelayMs != 0 {
  1323. dAtA[i] = 0xf8
  1324. i++
  1325. dAtA[i] = 0x1
  1326. i++
  1327. i = encodeVarintRpc(dAtA, i, uint64(m.CaseDelayMs))
  1328. }
  1329. if m.CaseShuffle {
  1330. dAtA[i] = 0x80
  1331. i++
  1332. dAtA[i] = 0x2
  1333. i++
  1334. if m.CaseShuffle {
  1335. dAtA[i] = 1
  1336. } else {
  1337. dAtA[i] = 0
  1338. }
  1339. i++
  1340. }
  1341. if len(m.Cases) > 0 {
  1342. for _, s := range m.Cases {
  1343. dAtA[i] = 0x8a
  1344. i++
  1345. dAtA[i] = 0x2
  1346. i++
  1347. l = len(s)
  1348. for l >= 1<<7 {
  1349. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1350. l >>= 7
  1351. i++
  1352. }
  1353. dAtA[i] = uint8(l)
  1354. i++
  1355. i += copy(dAtA[i:], s)
  1356. }
  1357. }
  1358. if len(m.FailpointCommands) > 0 {
  1359. for _, s := range m.FailpointCommands {
  1360. dAtA[i] = 0x92
  1361. i++
  1362. dAtA[i] = 0x2
  1363. i++
  1364. l = len(s)
  1365. for l >= 1<<7 {
  1366. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1367. l >>= 7
  1368. i++
  1369. }
  1370. dAtA[i] = uint8(l)
  1371. i++
  1372. i += copy(dAtA[i:], s)
  1373. }
  1374. }
  1375. if len(m.RunnerExecPath) > 0 {
  1376. dAtA[i] = 0xca
  1377. i++
  1378. dAtA[i] = 0x2
  1379. i++
  1380. i = encodeVarintRpc(dAtA, i, uint64(len(m.RunnerExecPath)))
  1381. i += copy(dAtA[i:], m.RunnerExecPath)
  1382. }
  1383. if len(m.ExternalExecPath) > 0 {
  1384. dAtA[i] = 0xd2
  1385. i++
  1386. dAtA[i] = 0x2
  1387. i++
  1388. i = encodeVarintRpc(dAtA, i, uint64(len(m.ExternalExecPath)))
  1389. i += copy(dAtA[i:], m.ExternalExecPath)
  1390. }
  1391. if len(m.Stressers) > 0 {
  1392. for _, msg := range m.Stressers {
  1393. dAtA[i] = 0xaa
  1394. i++
  1395. dAtA[i] = 0x6
  1396. i++
  1397. i = encodeVarintRpc(dAtA, i, uint64(msg.Size()))
  1398. n, err := msg.MarshalTo(dAtA[i:])
  1399. if err != nil {
  1400. return 0, err
  1401. }
  1402. i += n
  1403. }
  1404. }
  1405. if len(m.Checkers) > 0 {
  1406. for _, s := range m.Checkers {
  1407. dAtA[i] = 0xb2
  1408. i++
  1409. dAtA[i] = 0x6
  1410. i++
  1411. l = len(s)
  1412. for l >= 1<<7 {
  1413. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1414. l >>= 7
  1415. i++
  1416. }
  1417. dAtA[i] = uint8(l)
  1418. i++
  1419. i += copy(dAtA[i:], s)
  1420. }
  1421. }
  1422. if m.StressKeySize != 0 {
  1423. dAtA[i] = 0xc8
  1424. i++
  1425. dAtA[i] = 0xc
  1426. i++
  1427. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySize))
  1428. }
  1429. if m.StressKeySizeLarge != 0 {
  1430. dAtA[i] = 0xd0
  1431. i++
  1432. dAtA[i] = 0xc
  1433. i++
  1434. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySizeLarge))
  1435. }
  1436. if m.StressKeySuffixRange != 0 {
  1437. dAtA[i] = 0xd8
  1438. i++
  1439. dAtA[i] = 0xc
  1440. i++
  1441. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRange))
  1442. }
  1443. if m.StressKeySuffixRangeTxn != 0 {
  1444. dAtA[i] = 0xe0
  1445. i++
  1446. dAtA[i] = 0xc
  1447. i++
  1448. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRangeTxn))
  1449. }
  1450. if m.StressKeyTxnOps != 0 {
  1451. dAtA[i] = 0xe8
  1452. i++
  1453. dAtA[i] = 0xc
  1454. i++
  1455. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeyTxnOps))
  1456. }
  1457. if m.StressClients != 0 {
  1458. dAtA[i] = 0xe8
  1459. i++
  1460. dAtA[i] = 0x12
  1461. i++
  1462. i = encodeVarintRpc(dAtA, i, uint64(m.StressClients))
  1463. }
  1464. if m.StressQPS != 0 {
  1465. dAtA[i] = 0xf0
  1466. i++
  1467. dAtA[i] = 0x12
  1468. i++
  1469. i = encodeVarintRpc(dAtA, i, uint64(m.StressQPS))
  1470. }
  1471. return i, nil
  1472. }
  1473. func (m *Stresser) Marshal() (dAtA []byte, err error) {
  1474. size := m.Size()
  1475. dAtA = make([]byte, size)
  1476. n, err := m.MarshalTo(dAtA)
  1477. if err != nil {
  1478. return nil, err
  1479. }
  1480. return dAtA[:n], nil
  1481. }
  1482. func (m *Stresser) MarshalTo(dAtA []byte) (int, error) {
  1483. var i int
  1484. _ = i
  1485. var l int
  1486. _ = l
  1487. if len(m.Type) > 0 {
  1488. dAtA[i] = 0xa
  1489. i++
  1490. i = encodeVarintRpc(dAtA, i, uint64(len(m.Type)))
  1491. i += copy(dAtA[i:], m.Type)
  1492. }
  1493. if m.Weight != 0 {
  1494. dAtA[i] = 0x11
  1495. i++
  1496. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Weight))))
  1497. i += 8
  1498. }
  1499. return i, nil
  1500. }
  1501. func (m *Etcd) Marshal() (dAtA []byte, err error) {
  1502. size := m.Size()
  1503. dAtA = make([]byte, size)
  1504. n, err := m.MarshalTo(dAtA)
  1505. if err != nil {
  1506. return nil, err
  1507. }
  1508. return dAtA[:n], nil
  1509. }
  1510. func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
  1511. var i int
  1512. _ = i
  1513. var l int
  1514. _ = l
  1515. if len(m.Name) > 0 {
  1516. dAtA[i] = 0xa
  1517. i++
  1518. i = encodeVarintRpc(dAtA, i, uint64(len(m.Name)))
  1519. i += copy(dAtA[i:], m.Name)
  1520. }
  1521. if len(m.DataDir) > 0 {
  1522. dAtA[i] = 0x12
  1523. i++
  1524. i = encodeVarintRpc(dAtA, i, uint64(len(m.DataDir)))
  1525. i += copy(dAtA[i:], m.DataDir)
  1526. }
  1527. if len(m.WALDir) > 0 {
  1528. dAtA[i] = 0x1a
  1529. i++
  1530. i = encodeVarintRpc(dAtA, i, uint64(len(m.WALDir)))
  1531. i += copy(dAtA[i:], m.WALDir)
  1532. }
  1533. if m.HeartbeatIntervalMs != 0 {
  1534. dAtA[i] = 0x58
  1535. i++
  1536. i = encodeVarintRpc(dAtA, i, uint64(m.HeartbeatIntervalMs))
  1537. }
  1538. if m.ElectionTimeoutMs != 0 {
  1539. dAtA[i] = 0x60
  1540. i++
  1541. i = encodeVarintRpc(dAtA, i, uint64(m.ElectionTimeoutMs))
  1542. }
  1543. if len(m.ListenClientURLs) > 0 {
  1544. for _, s := range m.ListenClientURLs {
  1545. dAtA[i] = 0xaa
  1546. i++
  1547. dAtA[i] = 0x1
  1548. i++
  1549. l = len(s)
  1550. for l >= 1<<7 {
  1551. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1552. l >>= 7
  1553. i++
  1554. }
  1555. dAtA[i] = uint8(l)
  1556. i++
  1557. i += copy(dAtA[i:], s)
  1558. }
  1559. }
  1560. if len(m.AdvertiseClientURLs) > 0 {
  1561. for _, s := range m.AdvertiseClientURLs {
  1562. dAtA[i] = 0xb2
  1563. i++
  1564. dAtA[i] = 0x1
  1565. i++
  1566. l = len(s)
  1567. for l >= 1<<7 {
  1568. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1569. l >>= 7
  1570. i++
  1571. }
  1572. dAtA[i] = uint8(l)
  1573. i++
  1574. i += copy(dAtA[i:], s)
  1575. }
  1576. }
  1577. if m.ClientAutoTLS {
  1578. dAtA[i] = 0xb8
  1579. i++
  1580. dAtA[i] = 0x1
  1581. i++
  1582. if m.ClientAutoTLS {
  1583. dAtA[i] = 1
  1584. } else {
  1585. dAtA[i] = 0
  1586. }
  1587. i++
  1588. }
  1589. if m.ClientCertAuth {
  1590. dAtA[i] = 0xc0
  1591. i++
  1592. dAtA[i] = 0x1
  1593. i++
  1594. if m.ClientCertAuth {
  1595. dAtA[i] = 1
  1596. } else {
  1597. dAtA[i] = 0
  1598. }
  1599. i++
  1600. }
  1601. if len(m.ClientCertFile) > 0 {
  1602. dAtA[i] = 0xca
  1603. i++
  1604. dAtA[i] = 0x1
  1605. i++
  1606. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientCertFile)))
  1607. i += copy(dAtA[i:], m.ClientCertFile)
  1608. }
  1609. if len(m.ClientKeyFile) > 0 {
  1610. dAtA[i] = 0xd2
  1611. i++
  1612. dAtA[i] = 0x1
  1613. i++
  1614. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientKeyFile)))
  1615. i += copy(dAtA[i:], m.ClientKeyFile)
  1616. }
  1617. if len(m.ClientTrustedCAFile) > 0 {
  1618. dAtA[i] = 0xda
  1619. i++
  1620. dAtA[i] = 0x1
  1621. i++
  1622. i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientTrustedCAFile)))
  1623. i += copy(dAtA[i:], m.ClientTrustedCAFile)
  1624. }
  1625. if len(m.ListenPeerURLs) > 0 {
  1626. for _, s := range m.ListenPeerURLs {
  1627. dAtA[i] = 0xfa
  1628. i++
  1629. dAtA[i] = 0x1
  1630. i++
  1631. l = len(s)
  1632. for l >= 1<<7 {
  1633. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1634. l >>= 7
  1635. i++
  1636. }
  1637. dAtA[i] = uint8(l)
  1638. i++
  1639. i += copy(dAtA[i:], s)
  1640. }
  1641. }
  1642. if len(m.AdvertisePeerURLs) > 0 {
  1643. for _, s := range m.AdvertisePeerURLs {
  1644. dAtA[i] = 0x82
  1645. i++
  1646. dAtA[i] = 0x2
  1647. i++
  1648. l = len(s)
  1649. for l >= 1<<7 {
  1650. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1651. l >>= 7
  1652. i++
  1653. }
  1654. dAtA[i] = uint8(l)
  1655. i++
  1656. i += copy(dAtA[i:], s)
  1657. }
  1658. }
  1659. if m.PeerAutoTLS {
  1660. dAtA[i] = 0x88
  1661. i++
  1662. dAtA[i] = 0x2
  1663. i++
  1664. if m.PeerAutoTLS {
  1665. dAtA[i] = 1
  1666. } else {
  1667. dAtA[i] = 0
  1668. }
  1669. i++
  1670. }
  1671. if m.PeerClientCertAuth {
  1672. dAtA[i] = 0x90
  1673. i++
  1674. dAtA[i] = 0x2
  1675. i++
  1676. if m.PeerClientCertAuth {
  1677. dAtA[i] = 1
  1678. } else {
  1679. dAtA[i] = 0
  1680. }
  1681. i++
  1682. }
  1683. if len(m.PeerCertFile) > 0 {
  1684. dAtA[i] = 0x9a
  1685. i++
  1686. dAtA[i] = 0x2
  1687. i++
  1688. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerCertFile)))
  1689. i += copy(dAtA[i:], m.PeerCertFile)
  1690. }
  1691. if len(m.PeerKeyFile) > 0 {
  1692. dAtA[i] = 0xa2
  1693. i++
  1694. dAtA[i] = 0x2
  1695. i++
  1696. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerKeyFile)))
  1697. i += copy(dAtA[i:], m.PeerKeyFile)
  1698. }
  1699. if len(m.PeerTrustedCAFile) > 0 {
  1700. dAtA[i] = 0xaa
  1701. i++
  1702. dAtA[i] = 0x2
  1703. i++
  1704. i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerTrustedCAFile)))
  1705. i += copy(dAtA[i:], m.PeerTrustedCAFile)
  1706. }
  1707. if len(m.InitialCluster) > 0 {
  1708. dAtA[i] = 0xca
  1709. i++
  1710. dAtA[i] = 0x2
  1711. i++
  1712. i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialCluster)))
  1713. i += copy(dAtA[i:], m.InitialCluster)
  1714. }
  1715. if len(m.InitialClusterState) > 0 {
  1716. dAtA[i] = 0xd2
  1717. i++
  1718. dAtA[i] = 0x2
  1719. i++
  1720. i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialClusterState)))
  1721. i += copy(dAtA[i:], m.InitialClusterState)
  1722. }
  1723. if len(m.InitialClusterToken) > 0 {
  1724. dAtA[i] = 0xda
  1725. i++
  1726. dAtA[i] = 0x2
  1727. i++
  1728. i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialClusterToken)))
  1729. i += copy(dAtA[i:], m.InitialClusterToken)
  1730. }
  1731. if m.SnapshotCount != 0 {
  1732. dAtA[i] = 0x98
  1733. i++
  1734. dAtA[i] = 0x3
  1735. i++
  1736. i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotCount))
  1737. }
  1738. if m.QuotaBackendBytes != 0 {
  1739. dAtA[i] = 0xa0
  1740. i++
  1741. dAtA[i] = 0x3
  1742. i++
  1743. i = encodeVarintRpc(dAtA, i, uint64(m.QuotaBackendBytes))
  1744. }
  1745. if m.PreVote {
  1746. dAtA[i] = 0xf8
  1747. i++
  1748. dAtA[i] = 0x3
  1749. i++
  1750. if m.PreVote {
  1751. dAtA[i] = 1
  1752. } else {
  1753. dAtA[i] = 0
  1754. }
  1755. i++
  1756. }
  1757. if m.InitialCorruptCheck {
  1758. dAtA[i] = 0x80
  1759. i++
  1760. dAtA[i] = 0x4
  1761. i++
  1762. if m.InitialCorruptCheck {
  1763. dAtA[i] = 1
  1764. } else {
  1765. dAtA[i] = 0
  1766. }
  1767. i++
  1768. }
  1769. if len(m.Logger) > 0 {
  1770. dAtA[i] = 0xba
  1771. i++
  1772. dAtA[i] = 0x4
  1773. i++
  1774. i = encodeVarintRpc(dAtA, i, uint64(len(m.Logger)))
  1775. i += copy(dAtA[i:], m.Logger)
  1776. }
  1777. if len(m.LogOutputs) > 0 {
  1778. for _, s := range m.LogOutputs {
  1779. dAtA[i] = 0xc2
  1780. i++
  1781. dAtA[i] = 0x4
  1782. i++
  1783. l = len(s)
  1784. for l >= 1<<7 {
  1785. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1786. l >>= 7
  1787. i++
  1788. }
  1789. dAtA[i] = uint8(l)
  1790. i++
  1791. i += copy(dAtA[i:], s)
  1792. }
  1793. }
  1794. if m.Debug {
  1795. dAtA[i] = 0xc8
  1796. i++
  1797. dAtA[i] = 0x4
  1798. i++
  1799. if m.Debug {
  1800. dAtA[i] = 1
  1801. } else {
  1802. dAtA[i] = 0
  1803. }
  1804. i++
  1805. }
  1806. return i, nil
  1807. }
  1808. func encodeVarintRpc(dAtA []byte, offset int, v uint64) int {
  1809. for v >= 1<<7 {
  1810. dAtA[offset] = uint8(v&0x7f | 0x80)
  1811. v >>= 7
  1812. offset++
  1813. }
  1814. dAtA[offset] = uint8(v)
  1815. return offset + 1
  1816. }
  1817. func (m *Request) Size() (n int) {
  1818. var l int
  1819. _ = l
  1820. if m.Operation != 0 {
  1821. n += 1 + sovRpc(uint64(m.Operation))
  1822. }
  1823. if m.Member != nil {
  1824. l = m.Member.Size()
  1825. n += 1 + l + sovRpc(uint64(l))
  1826. }
  1827. if m.Tester != nil {
  1828. l = m.Tester.Size()
  1829. n += 1 + l + sovRpc(uint64(l))
  1830. }
  1831. return n
  1832. }
  1833. func (m *SnapshotInfo) Size() (n int) {
  1834. var l int
  1835. _ = l
  1836. l = len(m.MemberName)
  1837. if l > 0 {
  1838. n += 1 + l + sovRpc(uint64(l))
  1839. }
  1840. if len(m.MemberClientURLs) > 0 {
  1841. for _, s := range m.MemberClientURLs {
  1842. l = len(s)
  1843. n += 1 + l + sovRpc(uint64(l))
  1844. }
  1845. }
  1846. l = len(m.SnapshotPath)
  1847. if l > 0 {
  1848. n += 1 + l + sovRpc(uint64(l))
  1849. }
  1850. l = len(m.SnapshotFileSize)
  1851. if l > 0 {
  1852. n += 1 + l + sovRpc(uint64(l))
  1853. }
  1854. l = len(m.SnapshotTotalSize)
  1855. if l > 0 {
  1856. n += 1 + l + sovRpc(uint64(l))
  1857. }
  1858. if m.SnapshotTotalKey != 0 {
  1859. n += 1 + sovRpc(uint64(m.SnapshotTotalKey))
  1860. }
  1861. if m.SnapshotHash != 0 {
  1862. n += 1 + sovRpc(uint64(m.SnapshotHash))
  1863. }
  1864. if m.SnapshotRevision != 0 {
  1865. n += 1 + sovRpc(uint64(m.SnapshotRevision))
  1866. }
  1867. l = len(m.Took)
  1868. if l > 0 {
  1869. n += 1 + l + sovRpc(uint64(l))
  1870. }
  1871. return n
  1872. }
  1873. func (m *Response) Size() (n int) {
  1874. var l int
  1875. _ = l
  1876. if m.Success {
  1877. n += 2
  1878. }
  1879. l = len(m.Status)
  1880. if l > 0 {
  1881. n += 1 + l + sovRpc(uint64(l))
  1882. }
  1883. if m.Member != nil {
  1884. l = m.Member.Size()
  1885. n += 1 + l + sovRpc(uint64(l))
  1886. }
  1887. if m.SnapshotInfo != nil {
  1888. l = m.SnapshotInfo.Size()
  1889. n += 1 + l + sovRpc(uint64(l))
  1890. }
  1891. return n
  1892. }
  1893. func (m *Member) Size() (n int) {
  1894. var l int
  1895. _ = l
  1896. l = len(m.EtcdExec)
  1897. if l > 0 {
  1898. n += 1 + l + sovRpc(uint64(l))
  1899. }
  1900. l = len(m.AgentAddr)
  1901. if l > 0 {
  1902. n += 1 + l + sovRpc(uint64(l))
  1903. }
  1904. l = len(m.FailpointHTTPAddr)
  1905. if l > 0 {
  1906. n += 1 + l + sovRpc(uint64(l))
  1907. }
  1908. l = len(m.BaseDir)
  1909. if l > 0 {
  1910. n += 2 + l + sovRpc(uint64(l))
  1911. }
  1912. if m.EtcdClientProxy {
  1913. n += 3
  1914. }
  1915. if m.EtcdPeerProxy {
  1916. n += 3
  1917. }
  1918. l = len(m.EtcdClientEndpoint)
  1919. if l > 0 {
  1920. n += 2 + l + sovRpc(uint64(l))
  1921. }
  1922. if m.Etcd != nil {
  1923. l = m.Etcd.Size()
  1924. n += 2 + l + sovRpc(uint64(l))
  1925. }
  1926. if m.EtcdOnSnapshotRestore != nil {
  1927. l = m.EtcdOnSnapshotRestore.Size()
  1928. n += 2 + l + sovRpc(uint64(l))
  1929. }
  1930. l = len(m.ClientCertData)
  1931. if l > 0 {
  1932. n += 2 + l + sovRpc(uint64(l))
  1933. }
  1934. l = len(m.ClientCertPath)
  1935. if l > 0 {
  1936. n += 2 + l + sovRpc(uint64(l))
  1937. }
  1938. l = len(m.ClientKeyData)
  1939. if l > 0 {
  1940. n += 2 + l + sovRpc(uint64(l))
  1941. }
  1942. l = len(m.ClientKeyPath)
  1943. if l > 0 {
  1944. n += 2 + l + sovRpc(uint64(l))
  1945. }
  1946. l = len(m.ClientTrustedCAData)
  1947. if l > 0 {
  1948. n += 2 + l + sovRpc(uint64(l))
  1949. }
  1950. l = len(m.ClientTrustedCAPath)
  1951. if l > 0 {
  1952. n += 2 + l + sovRpc(uint64(l))
  1953. }
  1954. l = len(m.PeerCertData)
  1955. if l > 0 {
  1956. n += 2 + l + sovRpc(uint64(l))
  1957. }
  1958. l = len(m.PeerCertPath)
  1959. if l > 0 {
  1960. n += 2 + l + sovRpc(uint64(l))
  1961. }
  1962. l = len(m.PeerKeyData)
  1963. if l > 0 {
  1964. n += 2 + l + sovRpc(uint64(l))
  1965. }
  1966. l = len(m.PeerKeyPath)
  1967. if l > 0 {
  1968. n += 2 + l + sovRpc(uint64(l))
  1969. }
  1970. l = len(m.PeerTrustedCAData)
  1971. if l > 0 {
  1972. n += 2 + l + sovRpc(uint64(l))
  1973. }
  1974. l = len(m.PeerTrustedCAPath)
  1975. if l > 0 {
  1976. n += 2 + l + sovRpc(uint64(l))
  1977. }
  1978. l = len(m.SnapshotPath)
  1979. if l > 0 {
  1980. n += 2 + l + sovRpc(uint64(l))
  1981. }
  1982. if m.SnapshotInfo != nil {
  1983. l = m.SnapshotInfo.Size()
  1984. n += 2 + l + sovRpc(uint64(l))
  1985. }
  1986. return n
  1987. }
  1988. func (m *Tester) Size() (n int) {
  1989. var l int
  1990. _ = l
  1991. l = len(m.DataDir)
  1992. if l > 0 {
  1993. n += 1 + l + sovRpc(uint64(l))
  1994. }
  1995. l = len(m.Network)
  1996. if l > 0 {
  1997. n += 1 + l + sovRpc(uint64(l))
  1998. }
  1999. l = len(m.Addr)
  2000. if l > 0 {
  2001. n += 1 + l + sovRpc(uint64(l))
  2002. }
  2003. if m.DelayLatencyMs != 0 {
  2004. n += 1 + sovRpc(uint64(m.DelayLatencyMs))
  2005. }
  2006. if m.DelayLatencyMsRv != 0 {
  2007. n += 1 + sovRpc(uint64(m.DelayLatencyMsRv))
  2008. }
  2009. if m.UpdatedDelayLatencyMs != 0 {
  2010. n += 1 + sovRpc(uint64(m.UpdatedDelayLatencyMs))
  2011. }
  2012. if m.RoundLimit != 0 {
  2013. n += 2 + sovRpc(uint64(m.RoundLimit))
  2014. }
  2015. if m.ExitOnCaseFail {
  2016. n += 3
  2017. }
  2018. if m.EnablePprof {
  2019. n += 3
  2020. }
  2021. if m.CaseDelayMs != 0 {
  2022. n += 2 + sovRpc(uint64(m.CaseDelayMs))
  2023. }
  2024. if m.CaseShuffle {
  2025. n += 3
  2026. }
  2027. if len(m.Cases) > 0 {
  2028. for _, s := range m.Cases {
  2029. l = len(s)
  2030. n += 2 + l + sovRpc(uint64(l))
  2031. }
  2032. }
  2033. if len(m.FailpointCommands) > 0 {
  2034. for _, s := range m.FailpointCommands {
  2035. l = len(s)
  2036. n += 2 + l + sovRpc(uint64(l))
  2037. }
  2038. }
  2039. l = len(m.RunnerExecPath)
  2040. if l > 0 {
  2041. n += 2 + l + sovRpc(uint64(l))
  2042. }
  2043. l = len(m.ExternalExecPath)
  2044. if l > 0 {
  2045. n += 2 + l + sovRpc(uint64(l))
  2046. }
  2047. if len(m.Stressers) > 0 {
  2048. for _, e := range m.Stressers {
  2049. l = e.Size()
  2050. n += 2 + l + sovRpc(uint64(l))
  2051. }
  2052. }
  2053. if len(m.Checkers) > 0 {
  2054. for _, s := range m.Checkers {
  2055. l = len(s)
  2056. n += 2 + l + sovRpc(uint64(l))
  2057. }
  2058. }
  2059. if m.StressKeySize != 0 {
  2060. n += 2 + sovRpc(uint64(m.StressKeySize))
  2061. }
  2062. if m.StressKeySizeLarge != 0 {
  2063. n += 2 + sovRpc(uint64(m.StressKeySizeLarge))
  2064. }
  2065. if m.StressKeySuffixRange != 0 {
  2066. n += 2 + sovRpc(uint64(m.StressKeySuffixRange))
  2067. }
  2068. if m.StressKeySuffixRangeTxn != 0 {
  2069. n += 2 + sovRpc(uint64(m.StressKeySuffixRangeTxn))
  2070. }
  2071. if m.StressKeyTxnOps != 0 {
  2072. n += 2 + sovRpc(uint64(m.StressKeyTxnOps))
  2073. }
  2074. if m.StressClients != 0 {
  2075. n += 2 + sovRpc(uint64(m.StressClients))
  2076. }
  2077. if m.StressQPS != 0 {
  2078. n += 2 + sovRpc(uint64(m.StressQPS))
  2079. }
  2080. return n
  2081. }
  2082. func (m *Stresser) Size() (n int) {
  2083. var l int
  2084. _ = l
  2085. l = len(m.Type)
  2086. if l > 0 {
  2087. n += 1 + l + sovRpc(uint64(l))
  2088. }
  2089. if m.Weight != 0 {
  2090. n += 9
  2091. }
  2092. return n
  2093. }
  2094. func (m *Etcd) Size() (n int) {
  2095. var l int
  2096. _ = l
  2097. l = len(m.Name)
  2098. if l > 0 {
  2099. n += 1 + l + sovRpc(uint64(l))
  2100. }
  2101. l = len(m.DataDir)
  2102. if l > 0 {
  2103. n += 1 + l + sovRpc(uint64(l))
  2104. }
  2105. l = len(m.WALDir)
  2106. if l > 0 {
  2107. n += 1 + l + sovRpc(uint64(l))
  2108. }
  2109. if m.HeartbeatIntervalMs != 0 {
  2110. n += 1 + sovRpc(uint64(m.HeartbeatIntervalMs))
  2111. }
  2112. if m.ElectionTimeoutMs != 0 {
  2113. n += 1 + sovRpc(uint64(m.ElectionTimeoutMs))
  2114. }
  2115. if len(m.ListenClientURLs) > 0 {
  2116. for _, s := range m.ListenClientURLs {
  2117. l = len(s)
  2118. n += 2 + l + sovRpc(uint64(l))
  2119. }
  2120. }
  2121. if len(m.AdvertiseClientURLs) > 0 {
  2122. for _, s := range m.AdvertiseClientURLs {
  2123. l = len(s)
  2124. n += 2 + l + sovRpc(uint64(l))
  2125. }
  2126. }
  2127. if m.ClientAutoTLS {
  2128. n += 3
  2129. }
  2130. if m.ClientCertAuth {
  2131. n += 3
  2132. }
  2133. l = len(m.ClientCertFile)
  2134. if l > 0 {
  2135. n += 2 + l + sovRpc(uint64(l))
  2136. }
  2137. l = len(m.ClientKeyFile)
  2138. if l > 0 {
  2139. n += 2 + l + sovRpc(uint64(l))
  2140. }
  2141. l = len(m.ClientTrustedCAFile)
  2142. if l > 0 {
  2143. n += 2 + l + sovRpc(uint64(l))
  2144. }
  2145. if len(m.ListenPeerURLs) > 0 {
  2146. for _, s := range m.ListenPeerURLs {
  2147. l = len(s)
  2148. n += 2 + l + sovRpc(uint64(l))
  2149. }
  2150. }
  2151. if len(m.AdvertisePeerURLs) > 0 {
  2152. for _, s := range m.AdvertisePeerURLs {
  2153. l = len(s)
  2154. n += 2 + l + sovRpc(uint64(l))
  2155. }
  2156. }
  2157. if m.PeerAutoTLS {
  2158. n += 3
  2159. }
  2160. if m.PeerClientCertAuth {
  2161. n += 3
  2162. }
  2163. l = len(m.PeerCertFile)
  2164. if l > 0 {
  2165. n += 2 + l + sovRpc(uint64(l))
  2166. }
  2167. l = len(m.PeerKeyFile)
  2168. if l > 0 {
  2169. n += 2 + l + sovRpc(uint64(l))
  2170. }
  2171. l = len(m.PeerTrustedCAFile)
  2172. if l > 0 {
  2173. n += 2 + l + sovRpc(uint64(l))
  2174. }
  2175. l = len(m.InitialCluster)
  2176. if l > 0 {
  2177. n += 2 + l + sovRpc(uint64(l))
  2178. }
  2179. l = len(m.InitialClusterState)
  2180. if l > 0 {
  2181. n += 2 + l + sovRpc(uint64(l))
  2182. }
  2183. l = len(m.InitialClusterToken)
  2184. if l > 0 {
  2185. n += 2 + l + sovRpc(uint64(l))
  2186. }
  2187. if m.SnapshotCount != 0 {
  2188. n += 2 + sovRpc(uint64(m.SnapshotCount))
  2189. }
  2190. if m.QuotaBackendBytes != 0 {
  2191. n += 2 + sovRpc(uint64(m.QuotaBackendBytes))
  2192. }
  2193. if m.PreVote {
  2194. n += 3
  2195. }
  2196. if m.InitialCorruptCheck {
  2197. n += 3
  2198. }
  2199. l = len(m.Logger)
  2200. if l > 0 {
  2201. n += 2 + l + sovRpc(uint64(l))
  2202. }
  2203. if len(m.LogOutputs) > 0 {
  2204. for _, s := range m.LogOutputs {
  2205. l = len(s)
  2206. n += 2 + l + sovRpc(uint64(l))
  2207. }
  2208. }
  2209. if m.Debug {
  2210. n += 3
  2211. }
  2212. return n
  2213. }
  2214. func sovRpc(x uint64) (n int) {
  2215. for {
  2216. n++
  2217. x >>= 7
  2218. if x == 0 {
  2219. break
  2220. }
  2221. }
  2222. return n
  2223. }
  2224. func sozRpc(x uint64) (n int) {
  2225. return sovRpc(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2226. }
  2227. func (m *Request) Unmarshal(dAtA []byte) error {
  2228. l := len(dAtA)
  2229. iNdEx := 0
  2230. for iNdEx < l {
  2231. preIndex := iNdEx
  2232. var wire uint64
  2233. for shift := uint(0); ; shift += 7 {
  2234. if shift >= 64 {
  2235. return ErrIntOverflowRpc
  2236. }
  2237. if iNdEx >= l {
  2238. return io.ErrUnexpectedEOF
  2239. }
  2240. b := dAtA[iNdEx]
  2241. iNdEx++
  2242. wire |= (uint64(b) & 0x7F) << shift
  2243. if b < 0x80 {
  2244. break
  2245. }
  2246. }
  2247. fieldNum := int32(wire >> 3)
  2248. wireType := int(wire & 0x7)
  2249. if wireType == 4 {
  2250. return fmt.Errorf("proto: Request: wiretype end group for non-group")
  2251. }
  2252. if fieldNum <= 0 {
  2253. return fmt.Errorf("proto: Request: illegal tag %d (wire type %d)", fieldNum, wire)
  2254. }
  2255. switch fieldNum {
  2256. case 1:
  2257. if wireType != 0 {
  2258. return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType)
  2259. }
  2260. m.Operation = 0
  2261. for shift := uint(0); ; shift += 7 {
  2262. if shift >= 64 {
  2263. return ErrIntOverflowRpc
  2264. }
  2265. if iNdEx >= l {
  2266. return io.ErrUnexpectedEOF
  2267. }
  2268. b := dAtA[iNdEx]
  2269. iNdEx++
  2270. m.Operation |= (Operation(b) & 0x7F) << shift
  2271. if b < 0x80 {
  2272. break
  2273. }
  2274. }
  2275. case 2:
  2276. if wireType != 2 {
  2277. return fmt.Errorf("proto: wrong wireType = %d for field Member", wireType)
  2278. }
  2279. var msglen int
  2280. for shift := uint(0); ; shift += 7 {
  2281. if shift >= 64 {
  2282. return ErrIntOverflowRpc
  2283. }
  2284. if iNdEx >= l {
  2285. return io.ErrUnexpectedEOF
  2286. }
  2287. b := dAtA[iNdEx]
  2288. iNdEx++
  2289. msglen |= (int(b) & 0x7F) << shift
  2290. if b < 0x80 {
  2291. break
  2292. }
  2293. }
  2294. if msglen < 0 {
  2295. return ErrInvalidLengthRpc
  2296. }
  2297. postIndex := iNdEx + msglen
  2298. if postIndex > l {
  2299. return io.ErrUnexpectedEOF
  2300. }
  2301. if m.Member == nil {
  2302. m.Member = &Member{}
  2303. }
  2304. if err := m.Member.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2305. return err
  2306. }
  2307. iNdEx = postIndex
  2308. case 3:
  2309. if wireType != 2 {
  2310. return fmt.Errorf("proto: wrong wireType = %d for field Tester", wireType)
  2311. }
  2312. var msglen int
  2313. for shift := uint(0); ; shift += 7 {
  2314. if shift >= 64 {
  2315. return ErrIntOverflowRpc
  2316. }
  2317. if iNdEx >= l {
  2318. return io.ErrUnexpectedEOF
  2319. }
  2320. b := dAtA[iNdEx]
  2321. iNdEx++
  2322. msglen |= (int(b) & 0x7F) << shift
  2323. if b < 0x80 {
  2324. break
  2325. }
  2326. }
  2327. if msglen < 0 {
  2328. return ErrInvalidLengthRpc
  2329. }
  2330. postIndex := iNdEx + msglen
  2331. if postIndex > l {
  2332. return io.ErrUnexpectedEOF
  2333. }
  2334. if m.Tester == nil {
  2335. m.Tester = &Tester{}
  2336. }
  2337. if err := m.Tester.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2338. return err
  2339. }
  2340. iNdEx = postIndex
  2341. default:
  2342. iNdEx = preIndex
  2343. skippy, err := skipRpc(dAtA[iNdEx:])
  2344. if err != nil {
  2345. return err
  2346. }
  2347. if skippy < 0 {
  2348. return ErrInvalidLengthRpc
  2349. }
  2350. if (iNdEx + skippy) > l {
  2351. return io.ErrUnexpectedEOF
  2352. }
  2353. iNdEx += skippy
  2354. }
  2355. }
  2356. if iNdEx > l {
  2357. return io.ErrUnexpectedEOF
  2358. }
  2359. return nil
  2360. }
  2361. func (m *SnapshotInfo) Unmarshal(dAtA []byte) error {
  2362. l := len(dAtA)
  2363. iNdEx := 0
  2364. for iNdEx < l {
  2365. preIndex := iNdEx
  2366. var wire uint64
  2367. for shift := uint(0); ; shift += 7 {
  2368. if shift >= 64 {
  2369. return ErrIntOverflowRpc
  2370. }
  2371. if iNdEx >= l {
  2372. return io.ErrUnexpectedEOF
  2373. }
  2374. b := dAtA[iNdEx]
  2375. iNdEx++
  2376. wire |= (uint64(b) & 0x7F) << shift
  2377. if b < 0x80 {
  2378. break
  2379. }
  2380. }
  2381. fieldNum := int32(wire >> 3)
  2382. wireType := int(wire & 0x7)
  2383. if wireType == 4 {
  2384. return fmt.Errorf("proto: SnapshotInfo: wiretype end group for non-group")
  2385. }
  2386. if fieldNum <= 0 {
  2387. return fmt.Errorf("proto: SnapshotInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  2388. }
  2389. switch fieldNum {
  2390. case 1:
  2391. if wireType != 2 {
  2392. return fmt.Errorf("proto: wrong wireType = %d for field MemberName", wireType)
  2393. }
  2394. var stringLen uint64
  2395. for shift := uint(0); ; shift += 7 {
  2396. if shift >= 64 {
  2397. return ErrIntOverflowRpc
  2398. }
  2399. if iNdEx >= l {
  2400. return io.ErrUnexpectedEOF
  2401. }
  2402. b := dAtA[iNdEx]
  2403. iNdEx++
  2404. stringLen |= (uint64(b) & 0x7F) << shift
  2405. if b < 0x80 {
  2406. break
  2407. }
  2408. }
  2409. intStringLen := int(stringLen)
  2410. if intStringLen < 0 {
  2411. return ErrInvalidLengthRpc
  2412. }
  2413. postIndex := iNdEx + intStringLen
  2414. if postIndex > l {
  2415. return io.ErrUnexpectedEOF
  2416. }
  2417. m.MemberName = string(dAtA[iNdEx:postIndex])
  2418. iNdEx = postIndex
  2419. case 2:
  2420. if wireType != 2 {
  2421. return fmt.Errorf("proto: wrong wireType = %d for field MemberClientURLs", wireType)
  2422. }
  2423. var stringLen uint64
  2424. for shift := uint(0); ; shift += 7 {
  2425. if shift >= 64 {
  2426. return ErrIntOverflowRpc
  2427. }
  2428. if iNdEx >= l {
  2429. return io.ErrUnexpectedEOF
  2430. }
  2431. b := dAtA[iNdEx]
  2432. iNdEx++
  2433. stringLen |= (uint64(b) & 0x7F) << shift
  2434. if b < 0x80 {
  2435. break
  2436. }
  2437. }
  2438. intStringLen := int(stringLen)
  2439. if intStringLen < 0 {
  2440. return ErrInvalidLengthRpc
  2441. }
  2442. postIndex := iNdEx + intStringLen
  2443. if postIndex > l {
  2444. return io.ErrUnexpectedEOF
  2445. }
  2446. m.MemberClientURLs = append(m.MemberClientURLs, string(dAtA[iNdEx:postIndex]))
  2447. iNdEx = postIndex
  2448. case 3:
  2449. if wireType != 2 {
  2450. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotPath", wireType)
  2451. }
  2452. var stringLen uint64
  2453. for shift := uint(0); ; shift += 7 {
  2454. if shift >= 64 {
  2455. return ErrIntOverflowRpc
  2456. }
  2457. if iNdEx >= l {
  2458. return io.ErrUnexpectedEOF
  2459. }
  2460. b := dAtA[iNdEx]
  2461. iNdEx++
  2462. stringLen |= (uint64(b) & 0x7F) << shift
  2463. if b < 0x80 {
  2464. break
  2465. }
  2466. }
  2467. intStringLen := int(stringLen)
  2468. if intStringLen < 0 {
  2469. return ErrInvalidLengthRpc
  2470. }
  2471. postIndex := iNdEx + intStringLen
  2472. if postIndex > l {
  2473. return io.ErrUnexpectedEOF
  2474. }
  2475. m.SnapshotPath = string(dAtA[iNdEx:postIndex])
  2476. iNdEx = postIndex
  2477. case 4:
  2478. if wireType != 2 {
  2479. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotFileSize", wireType)
  2480. }
  2481. var stringLen uint64
  2482. for shift := uint(0); ; shift += 7 {
  2483. if shift >= 64 {
  2484. return ErrIntOverflowRpc
  2485. }
  2486. if iNdEx >= l {
  2487. return io.ErrUnexpectedEOF
  2488. }
  2489. b := dAtA[iNdEx]
  2490. iNdEx++
  2491. stringLen |= (uint64(b) & 0x7F) << shift
  2492. if b < 0x80 {
  2493. break
  2494. }
  2495. }
  2496. intStringLen := int(stringLen)
  2497. if intStringLen < 0 {
  2498. return ErrInvalidLengthRpc
  2499. }
  2500. postIndex := iNdEx + intStringLen
  2501. if postIndex > l {
  2502. return io.ErrUnexpectedEOF
  2503. }
  2504. m.SnapshotFileSize = string(dAtA[iNdEx:postIndex])
  2505. iNdEx = postIndex
  2506. case 5:
  2507. if wireType != 2 {
  2508. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTotalSize", wireType)
  2509. }
  2510. var stringLen uint64
  2511. for shift := uint(0); ; shift += 7 {
  2512. if shift >= 64 {
  2513. return ErrIntOverflowRpc
  2514. }
  2515. if iNdEx >= l {
  2516. return io.ErrUnexpectedEOF
  2517. }
  2518. b := dAtA[iNdEx]
  2519. iNdEx++
  2520. stringLen |= (uint64(b) & 0x7F) << shift
  2521. if b < 0x80 {
  2522. break
  2523. }
  2524. }
  2525. intStringLen := int(stringLen)
  2526. if intStringLen < 0 {
  2527. return ErrInvalidLengthRpc
  2528. }
  2529. postIndex := iNdEx + intStringLen
  2530. if postIndex > l {
  2531. return io.ErrUnexpectedEOF
  2532. }
  2533. m.SnapshotTotalSize = string(dAtA[iNdEx:postIndex])
  2534. iNdEx = postIndex
  2535. case 6:
  2536. if wireType != 0 {
  2537. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTotalKey", wireType)
  2538. }
  2539. m.SnapshotTotalKey = 0
  2540. for shift := uint(0); ; shift += 7 {
  2541. if shift >= 64 {
  2542. return ErrIntOverflowRpc
  2543. }
  2544. if iNdEx >= l {
  2545. return io.ErrUnexpectedEOF
  2546. }
  2547. b := dAtA[iNdEx]
  2548. iNdEx++
  2549. m.SnapshotTotalKey |= (int64(b) & 0x7F) << shift
  2550. if b < 0x80 {
  2551. break
  2552. }
  2553. }
  2554. case 7:
  2555. if wireType != 0 {
  2556. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotHash", wireType)
  2557. }
  2558. m.SnapshotHash = 0
  2559. for shift := uint(0); ; shift += 7 {
  2560. if shift >= 64 {
  2561. return ErrIntOverflowRpc
  2562. }
  2563. if iNdEx >= l {
  2564. return io.ErrUnexpectedEOF
  2565. }
  2566. b := dAtA[iNdEx]
  2567. iNdEx++
  2568. m.SnapshotHash |= (int64(b) & 0x7F) << shift
  2569. if b < 0x80 {
  2570. break
  2571. }
  2572. }
  2573. case 8:
  2574. if wireType != 0 {
  2575. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotRevision", wireType)
  2576. }
  2577. m.SnapshotRevision = 0
  2578. for shift := uint(0); ; shift += 7 {
  2579. if shift >= 64 {
  2580. return ErrIntOverflowRpc
  2581. }
  2582. if iNdEx >= l {
  2583. return io.ErrUnexpectedEOF
  2584. }
  2585. b := dAtA[iNdEx]
  2586. iNdEx++
  2587. m.SnapshotRevision |= (int64(b) & 0x7F) << shift
  2588. if b < 0x80 {
  2589. break
  2590. }
  2591. }
  2592. case 9:
  2593. if wireType != 2 {
  2594. return fmt.Errorf("proto: wrong wireType = %d for field Took", wireType)
  2595. }
  2596. var stringLen uint64
  2597. for shift := uint(0); ; shift += 7 {
  2598. if shift >= 64 {
  2599. return ErrIntOverflowRpc
  2600. }
  2601. if iNdEx >= l {
  2602. return io.ErrUnexpectedEOF
  2603. }
  2604. b := dAtA[iNdEx]
  2605. iNdEx++
  2606. stringLen |= (uint64(b) & 0x7F) << shift
  2607. if b < 0x80 {
  2608. break
  2609. }
  2610. }
  2611. intStringLen := int(stringLen)
  2612. if intStringLen < 0 {
  2613. return ErrInvalidLengthRpc
  2614. }
  2615. postIndex := iNdEx + intStringLen
  2616. if postIndex > l {
  2617. return io.ErrUnexpectedEOF
  2618. }
  2619. m.Took = string(dAtA[iNdEx:postIndex])
  2620. iNdEx = postIndex
  2621. default:
  2622. iNdEx = preIndex
  2623. skippy, err := skipRpc(dAtA[iNdEx:])
  2624. if err != nil {
  2625. return err
  2626. }
  2627. if skippy < 0 {
  2628. return ErrInvalidLengthRpc
  2629. }
  2630. if (iNdEx + skippy) > l {
  2631. return io.ErrUnexpectedEOF
  2632. }
  2633. iNdEx += skippy
  2634. }
  2635. }
  2636. if iNdEx > l {
  2637. return io.ErrUnexpectedEOF
  2638. }
  2639. return nil
  2640. }
  2641. func (m *Response) Unmarshal(dAtA []byte) error {
  2642. l := len(dAtA)
  2643. iNdEx := 0
  2644. for iNdEx < l {
  2645. preIndex := iNdEx
  2646. var wire uint64
  2647. for shift := uint(0); ; shift += 7 {
  2648. if shift >= 64 {
  2649. return ErrIntOverflowRpc
  2650. }
  2651. if iNdEx >= l {
  2652. return io.ErrUnexpectedEOF
  2653. }
  2654. b := dAtA[iNdEx]
  2655. iNdEx++
  2656. wire |= (uint64(b) & 0x7F) << shift
  2657. if b < 0x80 {
  2658. break
  2659. }
  2660. }
  2661. fieldNum := int32(wire >> 3)
  2662. wireType := int(wire & 0x7)
  2663. if wireType == 4 {
  2664. return fmt.Errorf("proto: Response: wiretype end group for non-group")
  2665. }
  2666. if fieldNum <= 0 {
  2667. return fmt.Errorf("proto: Response: illegal tag %d (wire type %d)", fieldNum, wire)
  2668. }
  2669. switch fieldNum {
  2670. case 1:
  2671. if wireType != 0 {
  2672. return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  2673. }
  2674. var v int
  2675. for shift := uint(0); ; shift += 7 {
  2676. if shift >= 64 {
  2677. return ErrIntOverflowRpc
  2678. }
  2679. if iNdEx >= l {
  2680. return io.ErrUnexpectedEOF
  2681. }
  2682. b := dAtA[iNdEx]
  2683. iNdEx++
  2684. v |= (int(b) & 0x7F) << shift
  2685. if b < 0x80 {
  2686. break
  2687. }
  2688. }
  2689. m.Success = bool(v != 0)
  2690. case 2:
  2691. if wireType != 2 {
  2692. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2693. }
  2694. var stringLen uint64
  2695. for shift := uint(0); ; shift += 7 {
  2696. if shift >= 64 {
  2697. return ErrIntOverflowRpc
  2698. }
  2699. if iNdEx >= l {
  2700. return io.ErrUnexpectedEOF
  2701. }
  2702. b := dAtA[iNdEx]
  2703. iNdEx++
  2704. stringLen |= (uint64(b) & 0x7F) << shift
  2705. if b < 0x80 {
  2706. break
  2707. }
  2708. }
  2709. intStringLen := int(stringLen)
  2710. if intStringLen < 0 {
  2711. return ErrInvalidLengthRpc
  2712. }
  2713. postIndex := iNdEx + intStringLen
  2714. if postIndex > l {
  2715. return io.ErrUnexpectedEOF
  2716. }
  2717. m.Status = string(dAtA[iNdEx:postIndex])
  2718. iNdEx = postIndex
  2719. case 3:
  2720. if wireType != 2 {
  2721. return fmt.Errorf("proto: wrong wireType = %d for field Member", wireType)
  2722. }
  2723. var msglen int
  2724. for shift := uint(0); ; shift += 7 {
  2725. if shift >= 64 {
  2726. return ErrIntOverflowRpc
  2727. }
  2728. if iNdEx >= l {
  2729. return io.ErrUnexpectedEOF
  2730. }
  2731. b := dAtA[iNdEx]
  2732. iNdEx++
  2733. msglen |= (int(b) & 0x7F) << shift
  2734. if b < 0x80 {
  2735. break
  2736. }
  2737. }
  2738. if msglen < 0 {
  2739. return ErrInvalidLengthRpc
  2740. }
  2741. postIndex := iNdEx + msglen
  2742. if postIndex > l {
  2743. return io.ErrUnexpectedEOF
  2744. }
  2745. if m.Member == nil {
  2746. m.Member = &Member{}
  2747. }
  2748. if err := m.Member.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2749. return err
  2750. }
  2751. iNdEx = postIndex
  2752. case 4:
  2753. if wireType != 2 {
  2754. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotInfo", wireType)
  2755. }
  2756. var msglen int
  2757. for shift := uint(0); ; shift += 7 {
  2758. if shift >= 64 {
  2759. return ErrIntOverflowRpc
  2760. }
  2761. if iNdEx >= l {
  2762. return io.ErrUnexpectedEOF
  2763. }
  2764. b := dAtA[iNdEx]
  2765. iNdEx++
  2766. msglen |= (int(b) & 0x7F) << shift
  2767. if b < 0x80 {
  2768. break
  2769. }
  2770. }
  2771. if msglen < 0 {
  2772. return ErrInvalidLengthRpc
  2773. }
  2774. postIndex := iNdEx + msglen
  2775. if postIndex > l {
  2776. return io.ErrUnexpectedEOF
  2777. }
  2778. if m.SnapshotInfo == nil {
  2779. m.SnapshotInfo = &SnapshotInfo{}
  2780. }
  2781. if err := m.SnapshotInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2782. return err
  2783. }
  2784. iNdEx = postIndex
  2785. default:
  2786. iNdEx = preIndex
  2787. skippy, err := skipRpc(dAtA[iNdEx:])
  2788. if err != nil {
  2789. return err
  2790. }
  2791. if skippy < 0 {
  2792. return ErrInvalidLengthRpc
  2793. }
  2794. if (iNdEx + skippy) > l {
  2795. return io.ErrUnexpectedEOF
  2796. }
  2797. iNdEx += skippy
  2798. }
  2799. }
  2800. if iNdEx > l {
  2801. return io.ErrUnexpectedEOF
  2802. }
  2803. return nil
  2804. }
  2805. func (m *Member) Unmarshal(dAtA []byte) error {
  2806. l := len(dAtA)
  2807. iNdEx := 0
  2808. for iNdEx < l {
  2809. preIndex := iNdEx
  2810. var wire uint64
  2811. for shift := uint(0); ; shift += 7 {
  2812. if shift >= 64 {
  2813. return ErrIntOverflowRpc
  2814. }
  2815. if iNdEx >= l {
  2816. return io.ErrUnexpectedEOF
  2817. }
  2818. b := dAtA[iNdEx]
  2819. iNdEx++
  2820. wire |= (uint64(b) & 0x7F) << shift
  2821. if b < 0x80 {
  2822. break
  2823. }
  2824. }
  2825. fieldNum := int32(wire >> 3)
  2826. wireType := int(wire & 0x7)
  2827. if wireType == 4 {
  2828. return fmt.Errorf("proto: Member: wiretype end group for non-group")
  2829. }
  2830. if fieldNum <= 0 {
  2831. return fmt.Errorf("proto: Member: illegal tag %d (wire type %d)", fieldNum, wire)
  2832. }
  2833. switch fieldNum {
  2834. case 1:
  2835. if wireType != 2 {
  2836. return fmt.Errorf("proto: wrong wireType = %d for field EtcdExec", wireType)
  2837. }
  2838. var stringLen uint64
  2839. for shift := uint(0); ; shift += 7 {
  2840. if shift >= 64 {
  2841. return ErrIntOverflowRpc
  2842. }
  2843. if iNdEx >= l {
  2844. return io.ErrUnexpectedEOF
  2845. }
  2846. b := dAtA[iNdEx]
  2847. iNdEx++
  2848. stringLen |= (uint64(b) & 0x7F) << shift
  2849. if b < 0x80 {
  2850. break
  2851. }
  2852. }
  2853. intStringLen := int(stringLen)
  2854. if intStringLen < 0 {
  2855. return ErrInvalidLengthRpc
  2856. }
  2857. postIndex := iNdEx + intStringLen
  2858. if postIndex > l {
  2859. return io.ErrUnexpectedEOF
  2860. }
  2861. m.EtcdExec = string(dAtA[iNdEx:postIndex])
  2862. iNdEx = postIndex
  2863. case 11:
  2864. if wireType != 2 {
  2865. return fmt.Errorf("proto: wrong wireType = %d for field AgentAddr", wireType)
  2866. }
  2867. var stringLen uint64
  2868. for shift := uint(0); ; shift += 7 {
  2869. if shift >= 64 {
  2870. return ErrIntOverflowRpc
  2871. }
  2872. if iNdEx >= l {
  2873. return io.ErrUnexpectedEOF
  2874. }
  2875. b := dAtA[iNdEx]
  2876. iNdEx++
  2877. stringLen |= (uint64(b) & 0x7F) << shift
  2878. if b < 0x80 {
  2879. break
  2880. }
  2881. }
  2882. intStringLen := int(stringLen)
  2883. if intStringLen < 0 {
  2884. return ErrInvalidLengthRpc
  2885. }
  2886. postIndex := iNdEx + intStringLen
  2887. if postIndex > l {
  2888. return io.ErrUnexpectedEOF
  2889. }
  2890. m.AgentAddr = string(dAtA[iNdEx:postIndex])
  2891. iNdEx = postIndex
  2892. case 12:
  2893. if wireType != 2 {
  2894. return fmt.Errorf("proto: wrong wireType = %d for field FailpointHTTPAddr", wireType)
  2895. }
  2896. var stringLen uint64
  2897. for shift := uint(0); ; shift += 7 {
  2898. if shift >= 64 {
  2899. return ErrIntOverflowRpc
  2900. }
  2901. if iNdEx >= l {
  2902. return io.ErrUnexpectedEOF
  2903. }
  2904. b := dAtA[iNdEx]
  2905. iNdEx++
  2906. stringLen |= (uint64(b) & 0x7F) << shift
  2907. if b < 0x80 {
  2908. break
  2909. }
  2910. }
  2911. intStringLen := int(stringLen)
  2912. if intStringLen < 0 {
  2913. return ErrInvalidLengthRpc
  2914. }
  2915. postIndex := iNdEx + intStringLen
  2916. if postIndex > l {
  2917. return io.ErrUnexpectedEOF
  2918. }
  2919. m.FailpointHTTPAddr = string(dAtA[iNdEx:postIndex])
  2920. iNdEx = postIndex
  2921. case 101:
  2922. if wireType != 2 {
  2923. return fmt.Errorf("proto: wrong wireType = %d for field BaseDir", wireType)
  2924. }
  2925. var stringLen uint64
  2926. for shift := uint(0); ; shift += 7 {
  2927. if shift >= 64 {
  2928. return ErrIntOverflowRpc
  2929. }
  2930. if iNdEx >= l {
  2931. return io.ErrUnexpectedEOF
  2932. }
  2933. b := dAtA[iNdEx]
  2934. iNdEx++
  2935. stringLen |= (uint64(b) & 0x7F) << shift
  2936. if b < 0x80 {
  2937. break
  2938. }
  2939. }
  2940. intStringLen := int(stringLen)
  2941. if intStringLen < 0 {
  2942. return ErrInvalidLengthRpc
  2943. }
  2944. postIndex := iNdEx + intStringLen
  2945. if postIndex > l {
  2946. return io.ErrUnexpectedEOF
  2947. }
  2948. m.BaseDir = string(dAtA[iNdEx:postIndex])
  2949. iNdEx = postIndex
  2950. case 201:
  2951. if wireType != 0 {
  2952. return fmt.Errorf("proto: wrong wireType = %d for field EtcdClientProxy", wireType)
  2953. }
  2954. var v int
  2955. for shift := uint(0); ; shift += 7 {
  2956. if shift >= 64 {
  2957. return ErrIntOverflowRpc
  2958. }
  2959. if iNdEx >= l {
  2960. return io.ErrUnexpectedEOF
  2961. }
  2962. b := dAtA[iNdEx]
  2963. iNdEx++
  2964. v |= (int(b) & 0x7F) << shift
  2965. if b < 0x80 {
  2966. break
  2967. }
  2968. }
  2969. m.EtcdClientProxy = bool(v != 0)
  2970. case 202:
  2971. if wireType != 0 {
  2972. return fmt.Errorf("proto: wrong wireType = %d for field EtcdPeerProxy", wireType)
  2973. }
  2974. var v int
  2975. for shift := uint(0); ; shift += 7 {
  2976. if shift >= 64 {
  2977. return ErrIntOverflowRpc
  2978. }
  2979. if iNdEx >= l {
  2980. return io.ErrUnexpectedEOF
  2981. }
  2982. b := dAtA[iNdEx]
  2983. iNdEx++
  2984. v |= (int(b) & 0x7F) << shift
  2985. if b < 0x80 {
  2986. break
  2987. }
  2988. }
  2989. m.EtcdPeerProxy = bool(v != 0)
  2990. case 301:
  2991. if wireType != 2 {
  2992. return fmt.Errorf("proto: wrong wireType = %d for field EtcdClientEndpoint", wireType)
  2993. }
  2994. var stringLen uint64
  2995. for shift := uint(0); ; shift += 7 {
  2996. if shift >= 64 {
  2997. return ErrIntOverflowRpc
  2998. }
  2999. if iNdEx >= l {
  3000. return io.ErrUnexpectedEOF
  3001. }
  3002. b := dAtA[iNdEx]
  3003. iNdEx++
  3004. stringLen |= (uint64(b) & 0x7F) << shift
  3005. if b < 0x80 {
  3006. break
  3007. }
  3008. }
  3009. intStringLen := int(stringLen)
  3010. if intStringLen < 0 {
  3011. return ErrInvalidLengthRpc
  3012. }
  3013. postIndex := iNdEx + intStringLen
  3014. if postIndex > l {
  3015. return io.ErrUnexpectedEOF
  3016. }
  3017. m.EtcdClientEndpoint = string(dAtA[iNdEx:postIndex])
  3018. iNdEx = postIndex
  3019. case 302:
  3020. if wireType != 2 {
  3021. return fmt.Errorf("proto: wrong wireType = %d for field Etcd", wireType)
  3022. }
  3023. var msglen int
  3024. for shift := uint(0); ; shift += 7 {
  3025. if shift >= 64 {
  3026. return ErrIntOverflowRpc
  3027. }
  3028. if iNdEx >= l {
  3029. return io.ErrUnexpectedEOF
  3030. }
  3031. b := dAtA[iNdEx]
  3032. iNdEx++
  3033. msglen |= (int(b) & 0x7F) << shift
  3034. if b < 0x80 {
  3035. break
  3036. }
  3037. }
  3038. if msglen < 0 {
  3039. return ErrInvalidLengthRpc
  3040. }
  3041. postIndex := iNdEx + msglen
  3042. if postIndex > l {
  3043. return io.ErrUnexpectedEOF
  3044. }
  3045. if m.Etcd == nil {
  3046. m.Etcd = &Etcd{}
  3047. }
  3048. if err := m.Etcd.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3049. return err
  3050. }
  3051. iNdEx = postIndex
  3052. case 303:
  3053. if wireType != 2 {
  3054. return fmt.Errorf("proto: wrong wireType = %d for field EtcdOnSnapshotRestore", wireType)
  3055. }
  3056. var msglen int
  3057. for shift := uint(0); ; shift += 7 {
  3058. if shift >= 64 {
  3059. return ErrIntOverflowRpc
  3060. }
  3061. if iNdEx >= l {
  3062. return io.ErrUnexpectedEOF
  3063. }
  3064. b := dAtA[iNdEx]
  3065. iNdEx++
  3066. msglen |= (int(b) & 0x7F) << shift
  3067. if b < 0x80 {
  3068. break
  3069. }
  3070. }
  3071. if msglen < 0 {
  3072. return ErrInvalidLengthRpc
  3073. }
  3074. postIndex := iNdEx + msglen
  3075. if postIndex > l {
  3076. return io.ErrUnexpectedEOF
  3077. }
  3078. if m.EtcdOnSnapshotRestore == nil {
  3079. m.EtcdOnSnapshotRestore = &Etcd{}
  3080. }
  3081. if err := m.EtcdOnSnapshotRestore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3082. return err
  3083. }
  3084. iNdEx = postIndex
  3085. case 401:
  3086. if wireType != 2 {
  3087. return fmt.Errorf("proto: wrong wireType = %d for field ClientCertData", wireType)
  3088. }
  3089. var stringLen uint64
  3090. for shift := uint(0); ; shift += 7 {
  3091. if shift >= 64 {
  3092. return ErrIntOverflowRpc
  3093. }
  3094. if iNdEx >= l {
  3095. return io.ErrUnexpectedEOF
  3096. }
  3097. b := dAtA[iNdEx]
  3098. iNdEx++
  3099. stringLen |= (uint64(b) & 0x7F) << shift
  3100. if b < 0x80 {
  3101. break
  3102. }
  3103. }
  3104. intStringLen := int(stringLen)
  3105. if intStringLen < 0 {
  3106. return ErrInvalidLengthRpc
  3107. }
  3108. postIndex := iNdEx + intStringLen
  3109. if postIndex > l {
  3110. return io.ErrUnexpectedEOF
  3111. }
  3112. m.ClientCertData = string(dAtA[iNdEx:postIndex])
  3113. iNdEx = postIndex
  3114. case 402:
  3115. if wireType != 2 {
  3116. return fmt.Errorf("proto: wrong wireType = %d for field ClientCertPath", wireType)
  3117. }
  3118. var stringLen uint64
  3119. for shift := uint(0); ; shift += 7 {
  3120. if shift >= 64 {
  3121. return ErrIntOverflowRpc
  3122. }
  3123. if iNdEx >= l {
  3124. return io.ErrUnexpectedEOF
  3125. }
  3126. b := dAtA[iNdEx]
  3127. iNdEx++
  3128. stringLen |= (uint64(b) & 0x7F) << shift
  3129. if b < 0x80 {
  3130. break
  3131. }
  3132. }
  3133. intStringLen := int(stringLen)
  3134. if intStringLen < 0 {
  3135. return ErrInvalidLengthRpc
  3136. }
  3137. postIndex := iNdEx + intStringLen
  3138. if postIndex > l {
  3139. return io.ErrUnexpectedEOF
  3140. }
  3141. m.ClientCertPath = string(dAtA[iNdEx:postIndex])
  3142. iNdEx = postIndex
  3143. case 403:
  3144. if wireType != 2 {
  3145. return fmt.Errorf("proto: wrong wireType = %d for field ClientKeyData", wireType)
  3146. }
  3147. var stringLen uint64
  3148. for shift := uint(0); ; shift += 7 {
  3149. if shift >= 64 {
  3150. return ErrIntOverflowRpc
  3151. }
  3152. if iNdEx >= l {
  3153. return io.ErrUnexpectedEOF
  3154. }
  3155. b := dAtA[iNdEx]
  3156. iNdEx++
  3157. stringLen |= (uint64(b) & 0x7F) << shift
  3158. if b < 0x80 {
  3159. break
  3160. }
  3161. }
  3162. intStringLen := int(stringLen)
  3163. if intStringLen < 0 {
  3164. return ErrInvalidLengthRpc
  3165. }
  3166. postIndex := iNdEx + intStringLen
  3167. if postIndex > l {
  3168. return io.ErrUnexpectedEOF
  3169. }
  3170. m.ClientKeyData = string(dAtA[iNdEx:postIndex])
  3171. iNdEx = postIndex
  3172. case 404:
  3173. if wireType != 2 {
  3174. return fmt.Errorf("proto: wrong wireType = %d for field ClientKeyPath", wireType)
  3175. }
  3176. var stringLen uint64
  3177. for shift := uint(0); ; shift += 7 {
  3178. if shift >= 64 {
  3179. return ErrIntOverflowRpc
  3180. }
  3181. if iNdEx >= l {
  3182. return io.ErrUnexpectedEOF
  3183. }
  3184. b := dAtA[iNdEx]
  3185. iNdEx++
  3186. stringLen |= (uint64(b) & 0x7F) << shift
  3187. if b < 0x80 {
  3188. break
  3189. }
  3190. }
  3191. intStringLen := int(stringLen)
  3192. if intStringLen < 0 {
  3193. return ErrInvalidLengthRpc
  3194. }
  3195. postIndex := iNdEx + intStringLen
  3196. if postIndex > l {
  3197. return io.ErrUnexpectedEOF
  3198. }
  3199. m.ClientKeyPath = string(dAtA[iNdEx:postIndex])
  3200. iNdEx = postIndex
  3201. case 405:
  3202. if wireType != 2 {
  3203. return fmt.Errorf("proto: wrong wireType = %d for field ClientTrustedCAData", wireType)
  3204. }
  3205. var stringLen uint64
  3206. for shift := uint(0); ; shift += 7 {
  3207. if shift >= 64 {
  3208. return ErrIntOverflowRpc
  3209. }
  3210. if iNdEx >= l {
  3211. return io.ErrUnexpectedEOF
  3212. }
  3213. b := dAtA[iNdEx]
  3214. iNdEx++
  3215. stringLen |= (uint64(b) & 0x7F) << shift
  3216. if b < 0x80 {
  3217. break
  3218. }
  3219. }
  3220. intStringLen := int(stringLen)
  3221. if intStringLen < 0 {
  3222. return ErrInvalidLengthRpc
  3223. }
  3224. postIndex := iNdEx + intStringLen
  3225. if postIndex > l {
  3226. return io.ErrUnexpectedEOF
  3227. }
  3228. m.ClientTrustedCAData = string(dAtA[iNdEx:postIndex])
  3229. iNdEx = postIndex
  3230. case 406:
  3231. if wireType != 2 {
  3232. return fmt.Errorf("proto: wrong wireType = %d for field ClientTrustedCAPath", wireType)
  3233. }
  3234. var stringLen uint64
  3235. for shift := uint(0); ; shift += 7 {
  3236. if shift >= 64 {
  3237. return ErrIntOverflowRpc
  3238. }
  3239. if iNdEx >= l {
  3240. return io.ErrUnexpectedEOF
  3241. }
  3242. b := dAtA[iNdEx]
  3243. iNdEx++
  3244. stringLen |= (uint64(b) & 0x7F) << shift
  3245. if b < 0x80 {
  3246. break
  3247. }
  3248. }
  3249. intStringLen := int(stringLen)
  3250. if intStringLen < 0 {
  3251. return ErrInvalidLengthRpc
  3252. }
  3253. postIndex := iNdEx + intStringLen
  3254. if postIndex > l {
  3255. return io.ErrUnexpectedEOF
  3256. }
  3257. m.ClientTrustedCAPath = string(dAtA[iNdEx:postIndex])
  3258. iNdEx = postIndex
  3259. case 501:
  3260. if wireType != 2 {
  3261. return fmt.Errorf("proto: wrong wireType = %d for field PeerCertData", wireType)
  3262. }
  3263. var stringLen uint64
  3264. for shift := uint(0); ; shift += 7 {
  3265. if shift >= 64 {
  3266. return ErrIntOverflowRpc
  3267. }
  3268. if iNdEx >= l {
  3269. return io.ErrUnexpectedEOF
  3270. }
  3271. b := dAtA[iNdEx]
  3272. iNdEx++
  3273. stringLen |= (uint64(b) & 0x7F) << shift
  3274. if b < 0x80 {
  3275. break
  3276. }
  3277. }
  3278. intStringLen := int(stringLen)
  3279. if intStringLen < 0 {
  3280. return ErrInvalidLengthRpc
  3281. }
  3282. postIndex := iNdEx + intStringLen
  3283. if postIndex > l {
  3284. return io.ErrUnexpectedEOF
  3285. }
  3286. m.PeerCertData = string(dAtA[iNdEx:postIndex])
  3287. iNdEx = postIndex
  3288. case 502:
  3289. if wireType != 2 {
  3290. return fmt.Errorf("proto: wrong wireType = %d for field PeerCertPath", wireType)
  3291. }
  3292. var stringLen uint64
  3293. for shift := uint(0); ; shift += 7 {
  3294. if shift >= 64 {
  3295. return ErrIntOverflowRpc
  3296. }
  3297. if iNdEx >= l {
  3298. return io.ErrUnexpectedEOF
  3299. }
  3300. b := dAtA[iNdEx]
  3301. iNdEx++
  3302. stringLen |= (uint64(b) & 0x7F) << shift
  3303. if b < 0x80 {
  3304. break
  3305. }
  3306. }
  3307. intStringLen := int(stringLen)
  3308. if intStringLen < 0 {
  3309. return ErrInvalidLengthRpc
  3310. }
  3311. postIndex := iNdEx + intStringLen
  3312. if postIndex > l {
  3313. return io.ErrUnexpectedEOF
  3314. }
  3315. m.PeerCertPath = string(dAtA[iNdEx:postIndex])
  3316. iNdEx = postIndex
  3317. case 503:
  3318. if wireType != 2 {
  3319. return fmt.Errorf("proto: wrong wireType = %d for field PeerKeyData", wireType)
  3320. }
  3321. var stringLen uint64
  3322. for shift := uint(0); ; shift += 7 {
  3323. if shift >= 64 {
  3324. return ErrIntOverflowRpc
  3325. }
  3326. if iNdEx >= l {
  3327. return io.ErrUnexpectedEOF
  3328. }
  3329. b := dAtA[iNdEx]
  3330. iNdEx++
  3331. stringLen |= (uint64(b) & 0x7F) << shift
  3332. if b < 0x80 {
  3333. break
  3334. }
  3335. }
  3336. intStringLen := int(stringLen)
  3337. if intStringLen < 0 {
  3338. return ErrInvalidLengthRpc
  3339. }
  3340. postIndex := iNdEx + intStringLen
  3341. if postIndex > l {
  3342. return io.ErrUnexpectedEOF
  3343. }
  3344. m.PeerKeyData = string(dAtA[iNdEx:postIndex])
  3345. iNdEx = postIndex
  3346. case 504:
  3347. if wireType != 2 {
  3348. return fmt.Errorf("proto: wrong wireType = %d for field PeerKeyPath", wireType)
  3349. }
  3350. var stringLen uint64
  3351. for shift := uint(0); ; shift += 7 {
  3352. if shift >= 64 {
  3353. return ErrIntOverflowRpc
  3354. }
  3355. if iNdEx >= l {
  3356. return io.ErrUnexpectedEOF
  3357. }
  3358. b := dAtA[iNdEx]
  3359. iNdEx++
  3360. stringLen |= (uint64(b) & 0x7F) << shift
  3361. if b < 0x80 {
  3362. break
  3363. }
  3364. }
  3365. intStringLen := int(stringLen)
  3366. if intStringLen < 0 {
  3367. return ErrInvalidLengthRpc
  3368. }
  3369. postIndex := iNdEx + intStringLen
  3370. if postIndex > l {
  3371. return io.ErrUnexpectedEOF
  3372. }
  3373. m.PeerKeyPath = string(dAtA[iNdEx:postIndex])
  3374. iNdEx = postIndex
  3375. case 505:
  3376. if wireType != 2 {
  3377. return fmt.Errorf("proto: wrong wireType = %d for field PeerTrustedCAData", wireType)
  3378. }
  3379. var stringLen uint64
  3380. for shift := uint(0); ; shift += 7 {
  3381. if shift >= 64 {
  3382. return ErrIntOverflowRpc
  3383. }
  3384. if iNdEx >= l {
  3385. return io.ErrUnexpectedEOF
  3386. }
  3387. b := dAtA[iNdEx]
  3388. iNdEx++
  3389. stringLen |= (uint64(b) & 0x7F) << shift
  3390. if b < 0x80 {
  3391. break
  3392. }
  3393. }
  3394. intStringLen := int(stringLen)
  3395. if intStringLen < 0 {
  3396. return ErrInvalidLengthRpc
  3397. }
  3398. postIndex := iNdEx + intStringLen
  3399. if postIndex > l {
  3400. return io.ErrUnexpectedEOF
  3401. }
  3402. m.PeerTrustedCAData = string(dAtA[iNdEx:postIndex])
  3403. iNdEx = postIndex
  3404. case 506:
  3405. if wireType != 2 {
  3406. return fmt.Errorf("proto: wrong wireType = %d for field PeerTrustedCAPath", wireType)
  3407. }
  3408. var stringLen uint64
  3409. for shift := uint(0); ; shift += 7 {
  3410. if shift >= 64 {
  3411. return ErrIntOverflowRpc
  3412. }
  3413. if iNdEx >= l {
  3414. return io.ErrUnexpectedEOF
  3415. }
  3416. b := dAtA[iNdEx]
  3417. iNdEx++
  3418. stringLen |= (uint64(b) & 0x7F) << shift
  3419. if b < 0x80 {
  3420. break
  3421. }
  3422. }
  3423. intStringLen := int(stringLen)
  3424. if intStringLen < 0 {
  3425. return ErrInvalidLengthRpc
  3426. }
  3427. postIndex := iNdEx + intStringLen
  3428. if postIndex > l {
  3429. return io.ErrUnexpectedEOF
  3430. }
  3431. m.PeerTrustedCAPath = string(dAtA[iNdEx:postIndex])
  3432. iNdEx = postIndex
  3433. case 601:
  3434. if wireType != 2 {
  3435. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotPath", wireType)
  3436. }
  3437. var stringLen uint64
  3438. for shift := uint(0); ; shift += 7 {
  3439. if shift >= 64 {
  3440. return ErrIntOverflowRpc
  3441. }
  3442. if iNdEx >= l {
  3443. return io.ErrUnexpectedEOF
  3444. }
  3445. b := dAtA[iNdEx]
  3446. iNdEx++
  3447. stringLen |= (uint64(b) & 0x7F) << shift
  3448. if b < 0x80 {
  3449. break
  3450. }
  3451. }
  3452. intStringLen := int(stringLen)
  3453. if intStringLen < 0 {
  3454. return ErrInvalidLengthRpc
  3455. }
  3456. postIndex := iNdEx + intStringLen
  3457. if postIndex > l {
  3458. return io.ErrUnexpectedEOF
  3459. }
  3460. m.SnapshotPath = string(dAtA[iNdEx:postIndex])
  3461. iNdEx = postIndex
  3462. case 602:
  3463. if wireType != 2 {
  3464. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotInfo", wireType)
  3465. }
  3466. var msglen int
  3467. for shift := uint(0); ; shift += 7 {
  3468. if shift >= 64 {
  3469. return ErrIntOverflowRpc
  3470. }
  3471. if iNdEx >= l {
  3472. return io.ErrUnexpectedEOF
  3473. }
  3474. b := dAtA[iNdEx]
  3475. iNdEx++
  3476. msglen |= (int(b) & 0x7F) << shift
  3477. if b < 0x80 {
  3478. break
  3479. }
  3480. }
  3481. if msglen < 0 {
  3482. return ErrInvalidLengthRpc
  3483. }
  3484. postIndex := iNdEx + msglen
  3485. if postIndex > l {
  3486. return io.ErrUnexpectedEOF
  3487. }
  3488. if m.SnapshotInfo == nil {
  3489. m.SnapshotInfo = &SnapshotInfo{}
  3490. }
  3491. if err := m.SnapshotInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3492. return err
  3493. }
  3494. iNdEx = postIndex
  3495. default:
  3496. iNdEx = preIndex
  3497. skippy, err := skipRpc(dAtA[iNdEx:])
  3498. if err != nil {
  3499. return err
  3500. }
  3501. if skippy < 0 {
  3502. return ErrInvalidLengthRpc
  3503. }
  3504. if (iNdEx + skippy) > l {
  3505. return io.ErrUnexpectedEOF
  3506. }
  3507. iNdEx += skippy
  3508. }
  3509. }
  3510. if iNdEx > l {
  3511. return io.ErrUnexpectedEOF
  3512. }
  3513. return nil
  3514. }
  3515. func (m *Tester) Unmarshal(dAtA []byte) error {
  3516. l := len(dAtA)
  3517. iNdEx := 0
  3518. for iNdEx < l {
  3519. preIndex := iNdEx
  3520. var wire uint64
  3521. for shift := uint(0); ; shift += 7 {
  3522. if shift >= 64 {
  3523. return ErrIntOverflowRpc
  3524. }
  3525. if iNdEx >= l {
  3526. return io.ErrUnexpectedEOF
  3527. }
  3528. b := dAtA[iNdEx]
  3529. iNdEx++
  3530. wire |= (uint64(b) & 0x7F) << shift
  3531. if b < 0x80 {
  3532. break
  3533. }
  3534. }
  3535. fieldNum := int32(wire >> 3)
  3536. wireType := int(wire & 0x7)
  3537. if wireType == 4 {
  3538. return fmt.Errorf("proto: Tester: wiretype end group for non-group")
  3539. }
  3540. if fieldNum <= 0 {
  3541. return fmt.Errorf("proto: Tester: illegal tag %d (wire type %d)", fieldNum, wire)
  3542. }
  3543. switch fieldNum {
  3544. case 1:
  3545. if wireType != 2 {
  3546. return fmt.Errorf("proto: wrong wireType = %d for field DataDir", wireType)
  3547. }
  3548. var stringLen uint64
  3549. for shift := uint(0); ; shift += 7 {
  3550. if shift >= 64 {
  3551. return ErrIntOverflowRpc
  3552. }
  3553. if iNdEx >= l {
  3554. return io.ErrUnexpectedEOF
  3555. }
  3556. b := dAtA[iNdEx]
  3557. iNdEx++
  3558. stringLen |= (uint64(b) & 0x7F) << shift
  3559. if b < 0x80 {
  3560. break
  3561. }
  3562. }
  3563. intStringLen := int(stringLen)
  3564. if intStringLen < 0 {
  3565. return ErrInvalidLengthRpc
  3566. }
  3567. postIndex := iNdEx + intStringLen
  3568. if postIndex > l {
  3569. return io.ErrUnexpectedEOF
  3570. }
  3571. m.DataDir = string(dAtA[iNdEx:postIndex])
  3572. iNdEx = postIndex
  3573. case 2:
  3574. if wireType != 2 {
  3575. return fmt.Errorf("proto: wrong wireType = %d for field Network", wireType)
  3576. }
  3577. var stringLen uint64
  3578. for shift := uint(0); ; shift += 7 {
  3579. if shift >= 64 {
  3580. return ErrIntOverflowRpc
  3581. }
  3582. if iNdEx >= l {
  3583. return io.ErrUnexpectedEOF
  3584. }
  3585. b := dAtA[iNdEx]
  3586. iNdEx++
  3587. stringLen |= (uint64(b) & 0x7F) << shift
  3588. if b < 0x80 {
  3589. break
  3590. }
  3591. }
  3592. intStringLen := int(stringLen)
  3593. if intStringLen < 0 {
  3594. return ErrInvalidLengthRpc
  3595. }
  3596. postIndex := iNdEx + intStringLen
  3597. if postIndex > l {
  3598. return io.ErrUnexpectedEOF
  3599. }
  3600. m.Network = string(dAtA[iNdEx:postIndex])
  3601. iNdEx = postIndex
  3602. case 3:
  3603. if wireType != 2 {
  3604. return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
  3605. }
  3606. var stringLen uint64
  3607. for shift := uint(0); ; shift += 7 {
  3608. if shift >= 64 {
  3609. return ErrIntOverflowRpc
  3610. }
  3611. if iNdEx >= l {
  3612. return io.ErrUnexpectedEOF
  3613. }
  3614. b := dAtA[iNdEx]
  3615. iNdEx++
  3616. stringLen |= (uint64(b) & 0x7F) << shift
  3617. if b < 0x80 {
  3618. break
  3619. }
  3620. }
  3621. intStringLen := int(stringLen)
  3622. if intStringLen < 0 {
  3623. return ErrInvalidLengthRpc
  3624. }
  3625. postIndex := iNdEx + intStringLen
  3626. if postIndex > l {
  3627. return io.ErrUnexpectedEOF
  3628. }
  3629. m.Addr = string(dAtA[iNdEx:postIndex])
  3630. iNdEx = postIndex
  3631. case 11:
  3632. if wireType != 0 {
  3633. return fmt.Errorf("proto: wrong wireType = %d for field DelayLatencyMs", wireType)
  3634. }
  3635. m.DelayLatencyMs = 0
  3636. for shift := uint(0); ; shift += 7 {
  3637. if shift >= 64 {
  3638. return ErrIntOverflowRpc
  3639. }
  3640. if iNdEx >= l {
  3641. return io.ErrUnexpectedEOF
  3642. }
  3643. b := dAtA[iNdEx]
  3644. iNdEx++
  3645. m.DelayLatencyMs |= (uint32(b) & 0x7F) << shift
  3646. if b < 0x80 {
  3647. break
  3648. }
  3649. }
  3650. case 12:
  3651. if wireType != 0 {
  3652. return fmt.Errorf("proto: wrong wireType = %d for field DelayLatencyMsRv", wireType)
  3653. }
  3654. m.DelayLatencyMsRv = 0
  3655. for shift := uint(0); ; shift += 7 {
  3656. if shift >= 64 {
  3657. return ErrIntOverflowRpc
  3658. }
  3659. if iNdEx >= l {
  3660. return io.ErrUnexpectedEOF
  3661. }
  3662. b := dAtA[iNdEx]
  3663. iNdEx++
  3664. m.DelayLatencyMsRv |= (uint32(b) & 0x7F) << shift
  3665. if b < 0x80 {
  3666. break
  3667. }
  3668. }
  3669. case 13:
  3670. if wireType != 0 {
  3671. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedDelayLatencyMs", wireType)
  3672. }
  3673. m.UpdatedDelayLatencyMs = 0
  3674. for shift := uint(0); ; shift += 7 {
  3675. if shift >= 64 {
  3676. return ErrIntOverflowRpc
  3677. }
  3678. if iNdEx >= l {
  3679. return io.ErrUnexpectedEOF
  3680. }
  3681. b := dAtA[iNdEx]
  3682. iNdEx++
  3683. m.UpdatedDelayLatencyMs |= (uint32(b) & 0x7F) << shift
  3684. if b < 0x80 {
  3685. break
  3686. }
  3687. }
  3688. case 21:
  3689. if wireType != 0 {
  3690. return fmt.Errorf("proto: wrong wireType = %d for field RoundLimit", wireType)
  3691. }
  3692. m.RoundLimit = 0
  3693. for shift := uint(0); ; shift += 7 {
  3694. if shift >= 64 {
  3695. return ErrIntOverflowRpc
  3696. }
  3697. if iNdEx >= l {
  3698. return io.ErrUnexpectedEOF
  3699. }
  3700. b := dAtA[iNdEx]
  3701. iNdEx++
  3702. m.RoundLimit |= (int32(b) & 0x7F) << shift
  3703. if b < 0x80 {
  3704. break
  3705. }
  3706. }
  3707. case 22:
  3708. if wireType != 0 {
  3709. return fmt.Errorf("proto: wrong wireType = %d for field ExitOnCaseFail", wireType)
  3710. }
  3711. var v int
  3712. for shift := uint(0); ; shift += 7 {
  3713. if shift >= 64 {
  3714. return ErrIntOverflowRpc
  3715. }
  3716. if iNdEx >= l {
  3717. return io.ErrUnexpectedEOF
  3718. }
  3719. b := dAtA[iNdEx]
  3720. iNdEx++
  3721. v |= (int(b) & 0x7F) << shift
  3722. if b < 0x80 {
  3723. break
  3724. }
  3725. }
  3726. m.ExitOnCaseFail = bool(v != 0)
  3727. case 23:
  3728. if wireType != 0 {
  3729. return fmt.Errorf("proto: wrong wireType = %d for field EnablePprof", wireType)
  3730. }
  3731. var v int
  3732. for shift := uint(0); ; shift += 7 {
  3733. if shift >= 64 {
  3734. return ErrIntOverflowRpc
  3735. }
  3736. if iNdEx >= l {
  3737. return io.ErrUnexpectedEOF
  3738. }
  3739. b := dAtA[iNdEx]
  3740. iNdEx++
  3741. v |= (int(b) & 0x7F) << shift
  3742. if b < 0x80 {
  3743. break
  3744. }
  3745. }
  3746. m.EnablePprof = bool(v != 0)
  3747. case 31:
  3748. if wireType != 0 {
  3749. return fmt.Errorf("proto: wrong wireType = %d for field CaseDelayMs", wireType)
  3750. }
  3751. m.CaseDelayMs = 0
  3752. for shift := uint(0); ; shift += 7 {
  3753. if shift >= 64 {
  3754. return ErrIntOverflowRpc
  3755. }
  3756. if iNdEx >= l {
  3757. return io.ErrUnexpectedEOF
  3758. }
  3759. b := dAtA[iNdEx]
  3760. iNdEx++
  3761. m.CaseDelayMs |= (uint32(b) & 0x7F) << shift
  3762. if b < 0x80 {
  3763. break
  3764. }
  3765. }
  3766. case 32:
  3767. if wireType != 0 {
  3768. return fmt.Errorf("proto: wrong wireType = %d for field CaseShuffle", wireType)
  3769. }
  3770. var v int
  3771. for shift := uint(0); ; shift += 7 {
  3772. if shift >= 64 {
  3773. return ErrIntOverflowRpc
  3774. }
  3775. if iNdEx >= l {
  3776. return io.ErrUnexpectedEOF
  3777. }
  3778. b := dAtA[iNdEx]
  3779. iNdEx++
  3780. v |= (int(b) & 0x7F) << shift
  3781. if b < 0x80 {
  3782. break
  3783. }
  3784. }
  3785. m.CaseShuffle = bool(v != 0)
  3786. case 33:
  3787. if wireType != 2 {
  3788. return fmt.Errorf("proto: wrong wireType = %d for field Cases", wireType)
  3789. }
  3790. var stringLen uint64
  3791. for shift := uint(0); ; shift += 7 {
  3792. if shift >= 64 {
  3793. return ErrIntOverflowRpc
  3794. }
  3795. if iNdEx >= l {
  3796. return io.ErrUnexpectedEOF
  3797. }
  3798. b := dAtA[iNdEx]
  3799. iNdEx++
  3800. stringLen |= (uint64(b) & 0x7F) << shift
  3801. if b < 0x80 {
  3802. break
  3803. }
  3804. }
  3805. intStringLen := int(stringLen)
  3806. if intStringLen < 0 {
  3807. return ErrInvalidLengthRpc
  3808. }
  3809. postIndex := iNdEx + intStringLen
  3810. if postIndex > l {
  3811. return io.ErrUnexpectedEOF
  3812. }
  3813. m.Cases = append(m.Cases, string(dAtA[iNdEx:postIndex]))
  3814. iNdEx = postIndex
  3815. case 34:
  3816. if wireType != 2 {
  3817. return fmt.Errorf("proto: wrong wireType = %d for field FailpointCommands", wireType)
  3818. }
  3819. var stringLen uint64
  3820. for shift := uint(0); ; shift += 7 {
  3821. if shift >= 64 {
  3822. return ErrIntOverflowRpc
  3823. }
  3824. if iNdEx >= l {
  3825. return io.ErrUnexpectedEOF
  3826. }
  3827. b := dAtA[iNdEx]
  3828. iNdEx++
  3829. stringLen |= (uint64(b) & 0x7F) << shift
  3830. if b < 0x80 {
  3831. break
  3832. }
  3833. }
  3834. intStringLen := int(stringLen)
  3835. if intStringLen < 0 {
  3836. return ErrInvalidLengthRpc
  3837. }
  3838. postIndex := iNdEx + intStringLen
  3839. if postIndex > l {
  3840. return io.ErrUnexpectedEOF
  3841. }
  3842. m.FailpointCommands = append(m.FailpointCommands, string(dAtA[iNdEx:postIndex]))
  3843. iNdEx = postIndex
  3844. case 41:
  3845. if wireType != 2 {
  3846. return fmt.Errorf("proto: wrong wireType = %d for field RunnerExecPath", wireType)
  3847. }
  3848. var stringLen uint64
  3849. for shift := uint(0); ; shift += 7 {
  3850. if shift >= 64 {
  3851. return ErrIntOverflowRpc
  3852. }
  3853. if iNdEx >= l {
  3854. return io.ErrUnexpectedEOF
  3855. }
  3856. b := dAtA[iNdEx]
  3857. iNdEx++
  3858. stringLen |= (uint64(b) & 0x7F) << shift
  3859. if b < 0x80 {
  3860. break
  3861. }
  3862. }
  3863. intStringLen := int(stringLen)
  3864. if intStringLen < 0 {
  3865. return ErrInvalidLengthRpc
  3866. }
  3867. postIndex := iNdEx + intStringLen
  3868. if postIndex > l {
  3869. return io.ErrUnexpectedEOF
  3870. }
  3871. m.RunnerExecPath = string(dAtA[iNdEx:postIndex])
  3872. iNdEx = postIndex
  3873. case 42:
  3874. if wireType != 2 {
  3875. return fmt.Errorf("proto: wrong wireType = %d for field ExternalExecPath", wireType)
  3876. }
  3877. var stringLen uint64
  3878. for shift := uint(0); ; shift += 7 {
  3879. if shift >= 64 {
  3880. return ErrIntOverflowRpc
  3881. }
  3882. if iNdEx >= l {
  3883. return io.ErrUnexpectedEOF
  3884. }
  3885. b := dAtA[iNdEx]
  3886. iNdEx++
  3887. stringLen |= (uint64(b) & 0x7F) << shift
  3888. if b < 0x80 {
  3889. break
  3890. }
  3891. }
  3892. intStringLen := int(stringLen)
  3893. if intStringLen < 0 {
  3894. return ErrInvalidLengthRpc
  3895. }
  3896. postIndex := iNdEx + intStringLen
  3897. if postIndex > l {
  3898. return io.ErrUnexpectedEOF
  3899. }
  3900. m.ExternalExecPath = string(dAtA[iNdEx:postIndex])
  3901. iNdEx = postIndex
  3902. case 101:
  3903. if wireType != 2 {
  3904. return fmt.Errorf("proto: wrong wireType = %d for field Stressers", wireType)
  3905. }
  3906. var msglen int
  3907. for shift := uint(0); ; shift += 7 {
  3908. if shift >= 64 {
  3909. return ErrIntOverflowRpc
  3910. }
  3911. if iNdEx >= l {
  3912. return io.ErrUnexpectedEOF
  3913. }
  3914. b := dAtA[iNdEx]
  3915. iNdEx++
  3916. msglen |= (int(b) & 0x7F) << shift
  3917. if b < 0x80 {
  3918. break
  3919. }
  3920. }
  3921. if msglen < 0 {
  3922. return ErrInvalidLengthRpc
  3923. }
  3924. postIndex := iNdEx + msglen
  3925. if postIndex > l {
  3926. return io.ErrUnexpectedEOF
  3927. }
  3928. m.Stressers = append(m.Stressers, &Stresser{})
  3929. if err := m.Stressers[len(m.Stressers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3930. return err
  3931. }
  3932. iNdEx = postIndex
  3933. case 102:
  3934. if wireType != 2 {
  3935. return fmt.Errorf("proto: wrong wireType = %d for field Checkers", wireType)
  3936. }
  3937. var stringLen uint64
  3938. for shift := uint(0); ; shift += 7 {
  3939. if shift >= 64 {
  3940. return ErrIntOverflowRpc
  3941. }
  3942. if iNdEx >= l {
  3943. return io.ErrUnexpectedEOF
  3944. }
  3945. b := dAtA[iNdEx]
  3946. iNdEx++
  3947. stringLen |= (uint64(b) & 0x7F) << shift
  3948. if b < 0x80 {
  3949. break
  3950. }
  3951. }
  3952. intStringLen := int(stringLen)
  3953. if intStringLen < 0 {
  3954. return ErrInvalidLengthRpc
  3955. }
  3956. postIndex := iNdEx + intStringLen
  3957. if postIndex > l {
  3958. return io.ErrUnexpectedEOF
  3959. }
  3960. m.Checkers = append(m.Checkers, string(dAtA[iNdEx:postIndex]))
  3961. iNdEx = postIndex
  3962. case 201:
  3963. if wireType != 0 {
  3964. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySize", wireType)
  3965. }
  3966. m.StressKeySize = 0
  3967. for shift := uint(0); ; shift += 7 {
  3968. if shift >= 64 {
  3969. return ErrIntOverflowRpc
  3970. }
  3971. if iNdEx >= l {
  3972. return io.ErrUnexpectedEOF
  3973. }
  3974. b := dAtA[iNdEx]
  3975. iNdEx++
  3976. m.StressKeySize |= (int32(b) & 0x7F) << shift
  3977. if b < 0x80 {
  3978. break
  3979. }
  3980. }
  3981. case 202:
  3982. if wireType != 0 {
  3983. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySizeLarge", wireType)
  3984. }
  3985. m.StressKeySizeLarge = 0
  3986. for shift := uint(0); ; shift += 7 {
  3987. if shift >= 64 {
  3988. return ErrIntOverflowRpc
  3989. }
  3990. if iNdEx >= l {
  3991. return io.ErrUnexpectedEOF
  3992. }
  3993. b := dAtA[iNdEx]
  3994. iNdEx++
  3995. m.StressKeySizeLarge |= (int32(b) & 0x7F) << shift
  3996. if b < 0x80 {
  3997. break
  3998. }
  3999. }
  4000. case 203:
  4001. if wireType != 0 {
  4002. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySuffixRange", wireType)
  4003. }
  4004. m.StressKeySuffixRange = 0
  4005. for shift := uint(0); ; shift += 7 {
  4006. if shift >= 64 {
  4007. return ErrIntOverflowRpc
  4008. }
  4009. if iNdEx >= l {
  4010. return io.ErrUnexpectedEOF
  4011. }
  4012. b := dAtA[iNdEx]
  4013. iNdEx++
  4014. m.StressKeySuffixRange |= (int32(b) & 0x7F) << shift
  4015. if b < 0x80 {
  4016. break
  4017. }
  4018. }
  4019. case 204:
  4020. if wireType != 0 {
  4021. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySuffixRangeTxn", wireType)
  4022. }
  4023. m.StressKeySuffixRangeTxn = 0
  4024. for shift := uint(0); ; shift += 7 {
  4025. if shift >= 64 {
  4026. return ErrIntOverflowRpc
  4027. }
  4028. if iNdEx >= l {
  4029. return io.ErrUnexpectedEOF
  4030. }
  4031. b := dAtA[iNdEx]
  4032. iNdEx++
  4033. m.StressKeySuffixRangeTxn |= (int32(b) & 0x7F) << shift
  4034. if b < 0x80 {
  4035. break
  4036. }
  4037. }
  4038. case 205:
  4039. if wireType != 0 {
  4040. return fmt.Errorf("proto: wrong wireType = %d for field StressKeyTxnOps", wireType)
  4041. }
  4042. m.StressKeyTxnOps = 0
  4043. for shift := uint(0); ; shift += 7 {
  4044. if shift >= 64 {
  4045. return ErrIntOverflowRpc
  4046. }
  4047. if iNdEx >= l {
  4048. return io.ErrUnexpectedEOF
  4049. }
  4050. b := dAtA[iNdEx]
  4051. iNdEx++
  4052. m.StressKeyTxnOps |= (int32(b) & 0x7F) << shift
  4053. if b < 0x80 {
  4054. break
  4055. }
  4056. }
  4057. case 301:
  4058. if wireType != 0 {
  4059. return fmt.Errorf("proto: wrong wireType = %d for field StressClients", wireType)
  4060. }
  4061. m.StressClients = 0
  4062. for shift := uint(0); ; shift += 7 {
  4063. if shift >= 64 {
  4064. return ErrIntOverflowRpc
  4065. }
  4066. if iNdEx >= l {
  4067. return io.ErrUnexpectedEOF
  4068. }
  4069. b := dAtA[iNdEx]
  4070. iNdEx++
  4071. m.StressClients |= (int32(b) & 0x7F) << shift
  4072. if b < 0x80 {
  4073. break
  4074. }
  4075. }
  4076. case 302:
  4077. if wireType != 0 {
  4078. return fmt.Errorf("proto: wrong wireType = %d for field StressQPS", wireType)
  4079. }
  4080. m.StressQPS = 0
  4081. for shift := uint(0); ; shift += 7 {
  4082. if shift >= 64 {
  4083. return ErrIntOverflowRpc
  4084. }
  4085. if iNdEx >= l {
  4086. return io.ErrUnexpectedEOF
  4087. }
  4088. b := dAtA[iNdEx]
  4089. iNdEx++
  4090. m.StressQPS |= (int32(b) & 0x7F) << shift
  4091. if b < 0x80 {
  4092. break
  4093. }
  4094. }
  4095. default:
  4096. iNdEx = preIndex
  4097. skippy, err := skipRpc(dAtA[iNdEx:])
  4098. if err != nil {
  4099. return err
  4100. }
  4101. if skippy < 0 {
  4102. return ErrInvalidLengthRpc
  4103. }
  4104. if (iNdEx + skippy) > l {
  4105. return io.ErrUnexpectedEOF
  4106. }
  4107. iNdEx += skippy
  4108. }
  4109. }
  4110. if iNdEx > l {
  4111. return io.ErrUnexpectedEOF
  4112. }
  4113. return nil
  4114. }
  4115. func (m *Stresser) Unmarshal(dAtA []byte) error {
  4116. l := len(dAtA)
  4117. iNdEx := 0
  4118. for iNdEx < l {
  4119. preIndex := iNdEx
  4120. var wire uint64
  4121. for shift := uint(0); ; shift += 7 {
  4122. if shift >= 64 {
  4123. return ErrIntOverflowRpc
  4124. }
  4125. if iNdEx >= l {
  4126. return io.ErrUnexpectedEOF
  4127. }
  4128. b := dAtA[iNdEx]
  4129. iNdEx++
  4130. wire |= (uint64(b) & 0x7F) << shift
  4131. if b < 0x80 {
  4132. break
  4133. }
  4134. }
  4135. fieldNum := int32(wire >> 3)
  4136. wireType := int(wire & 0x7)
  4137. if wireType == 4 {
  4138. return fmt.Errorf("proto: Stresser: wiretype end group for non-group")
  4139. }
  4140. if fieldNum <= 0 {
  4141. return fmt.Errorf("proto: Stresser: illegal tag %d (wire type %d)", fieldNum, wire)
  4142. }
  4143. switch fieldNum {
  4144. case 1:
  4145. if wireType != 2 {
  4146. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4147. }
  4148. var stringLen uint64
  4149. for shift := uint(0); ; shift += 7 {
  4150. if shift >= 64 {
  4151. return ErrIntOverflowRpc
  4152. }
  4153. if iNdEx >= l {
  4154. return io.ErrUnexpectedEOF
  4155. }
  4156. b := dAtA[iNdEx]
  4157. iNdEx++
  4158. stringLen |= (uint64(b) & 0x7F) << shift
  4159. if b < 0x80 {
  4160. break
  4161. }
  4162. }
  4163. intStringLen := int(stringLen)
  4164. if intStringLen < 0 {
  4165. return ErrInvalidLengthRpc
  4166. }
  4167. postIndex := iNdEx + intStringLen
  4168. if postIndex > l {
  4169. return io.ErrUnexpectedEOF
  4170. }
  4171. m.Type = string(dAtA[iNdEx:postIndex])
  4172. iNdEx = postIndex
  4173. case 2:
  4174. if wireType != 1 {
  4175. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  4176. }
  4177. var v uint64
  4178. if (iNdEx + 8) > l {
  4179. return io.ErrUnexpectedEOF
  4180. }
  4181. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  4182. iNdEx += 8
  4183. m.Weight = float64(math.Float64frombits(v))
  4184. default:
  4185. iNdEx = preIndex
  4186. skippy, err := skipRpc(dAtA[iNdEx:])
  4187. if err != nil {
  4188. return err
  4189. }
  4190. if skippy < 0 {
  4191. return ErrInvalidLengthRpc
  4192. }
  4193. if (iNdEx + skippy) > l {
  4194. return io.ErrUnexpectedEOF
  4195. }
  4196. iNdEx += skippy
  4197. }
  4198. }
  4199. if iNdEx > l {
  4200. return io.ErrUnexpectedEOF
  4201. }
  4202. return nil
  4203. }
  4204. func (m *Etcd) Unmarshal(dAtA []byte) error {
  4205. l := len(dAtA)
  4206. iNdEx := 0
  4207. for iNdEx < l {
  4208. preIndex := iNdEx
  4209. var wire uint64
  4210. for shift := uint(0); ; shift += 7 {
  4211. if shift >= 64 {
  4212. return ErrIntOverflowRpc
  4213. }
  4214. if iNdEx >= l {
  4215. return io.ErrUnexpectedEOF
  4216. }
  4217. b := dAtA[iNdEx]
  4218. iNdEx++
  4219. wire |= (uint64(b) & 0x7F) << shift
  4220. if b < 0x80 {
  4221. break
  4222. }
  4223. }
  4224. fieldNum := int32(wire >> 3)
  4225. wireType := int(wire & 0x7)
  4226. if wireType == 4 {
  4227. return fmt.Errorf("proto: Etcd: wiretype end group for non-group")
  4228. }
  4229. if fieldNum <= 0 {
  4230. return fmt.Errorf("proto: Etcd: illegal tag %d (wire type %d)", fieldNum, wire)
  4231. }
  4232. switch fieldNum {
  4233. case 1:
  4234. if wireType != 2 {
  4235. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4236. }
  4237. var stringLen uint64
  4238. for shift := uint(0); ; shift += 7 {
  4239. if shift >= 64 {
  4240. return ErrIntOverflowRpc
  4241. }
  4242. if iNdEx >= l {
  4243. return io.ErrUnexpectedEOF
  4244. }
  4245. b := dAtA[iNdEx]
  4246. iNdEx++
  4247. stringLen |= (uint64(b) & 0x7F) << shift
  4248. if b < 0x80 {
  4249. break
  4250. }
  4251. }
  4252. intStringLen := int(stringLen)
  4253. if intStringLen < 0 {
  4254. return ErrInvalidLengthRpc
  4255. }
  4256. postIndex := iNdEx + intStringLen
  4257. if postIndex > l {
  4258. return io.ErrUnexpectedEOF
  4259. }
  4260. m.Name = string(dAtA[iNdEx:postIndex])
  4261. iNdEx = postIndex
  4262. case 2:
  4263. if wireType != 2 {
  4264. return fmt.Errorf("proto: wrong wireType = %d for field DataDir", wireType)
  4265. }
  4266. var stringLen uint64
  4267. for shift := uint(0); ; shift += 7 {
  4268. if shift >= 64 {
  4269. return ErrIntOverflowRpc
  4270. }
  4271. if iNdEx >= l {
  4272. return io.ErrUnexpectedEOF
  4273. }
  4274. b := dAtA[iNdEx]
  4275. iNdEx++
  4276. stringLen |= (uint64(b) & 0x7F) << shift
  4277. if b < 0x80 {
  4278. break
  4279. }
  4280. }
  4281. intStringLen := int(stringLen)
  4282. if intStringLen < 0 {
  4283. return ErrInvalidLengthRpc
  4284. }
  4285. postIndex := iNdEx + intStringLen
  4286. if postIndex > l {
  4287. return io.ErrUnexpectedEOF
  4288. }
  4289. m.DataDir = string(dAtA[iNdEx:postIndex])
  4290. iNdEx = postIndex
  4291. case 3:
  4292. if wireType != 2 {
  4293. return fmt.Errorf("proto: wrong wireType = %d for field WALDir", wireType)
  4294. }
  4295. var stringLen uint64
  4296. for shift := uint(0); ; shift += 7 {
  4297. if shift >= 64 {
  4298. return ErrIntOverflowRpc
  4299. }
  4300. if iNdEx >= l {
  4301. return io.ErrUnexpectedEOF
  4302. }
  4303. b := dAtA[iNdEx]
  4304. iNdEx++
  4305. stringLen |= (uint64(b) & 0x7F) << shift
  4306. if b < 0x80 {
  4307. break
  4308. }
  4309. }
  4310. intStringLen := int(stringLen)
  4311. if intStringLen < 0 {
  4312. return ErrInvalidLengthRpc
  4313. }
  4314. postIndex := iNdEx + intStringLen
  4315. if postIndex > l {
  4316. return io.ErrUnexpectedEOF
  4317. }
  4318. m.WALDir = string(dAtA[iNdEx:postIndex])
  4319. iNdEx = postIndex
  4320. case 11:
  4321. if wireType != 0 {
  4322. return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatIntervalMs", wireType)
  4323. }
  4324. m.HeartbeatIntervalMs = 0
  4325. for shift := uint(0); ; shift += 7 {
  4326. if shift >= 64 {
  4327. return ErrIntOverflowRpc
  4328. }
  4329. if iNdEx >= l {
  4330. return io.ErrUnexpectedEOF
  4331. }
  4332. b := dAtA[iNdEx]
  4333. iNdEx++
  4334. m.HeartbeatIntervalMs |= (int64(b) & 0x7F) << shift
  4335. if b < 0x80 {
  4336. break
  4337. }
  4338. }
  4339. case 12:
  4340. if wireType != 0 {
  4341. return fmt.Errorf("proto: wrong wireType = %d for field ElectionTimeoutMs", wireType)
  4342. }
  4343. m.ElectionTimeoutMs = 0
  4344. for shift := uint(0); ; shift += 7 {
  4345. if shift >= 64 {
  4346. return ErrIntOverflowRpc
  4347. }
  4348. if iNdEx >= l {
  4349. return io.ErrUnexpectedEOF
  4350. }
  4351. b := dAtA[iNdEx]
  4352. iNdEx++
  4353. m.ElectionTimeoutMs |= (int64(b) & 0x7F) << shift
  4354. if b < 0x80 {
  4355. break
  4356. }
  4357. }
  4358. case 21:
  4359. if wireType != 2 {
  4360. return fmt.Errorf("proto: wrong wireType = %d for field ListenClientURLs", wireType)
  4361. }
  4362. var stringLen uint64
  4363. for shift := uint(0); ; shift += 7 {
  4364. if shift >= 64 {
  4365. return ErrIntOverflowRpc
  4366. }
  4367. if iNdEx >= l {
  4368. return io.ErrUnexpectedEOF
  4369. }
  4370. b := dAtA[iNdEx]
  4371. iNdEx++
  4372. stringLen |= (uint64(b) & 0x7F) << shift
  4373. if b < 0x80 {
  4374. break
  4375. }
  4376. }
  4377. intStringLen := int(stringLen)
  4378. if intStringLen < 0 {
  4379. return ErrInvalidLengthRpc
  4380. }
  4381. postIndex := iNdEx + intStringLen
  4382. if postIndex > l {
  4383. return io.ErrUnexpectedEOF
  4384. }
  4385. m.ListenClientURLs = append(m.ListenClientURLs, string(dAtA[iNdEx:postIndex]))
  4386. iNdEx = postIndex
  4387. case 22:
  4388. if wireType != 2 {
  4389. return fmt.Errorf("proto: wrong wireType = %d for field AdvertiseClientURLs", wireType)
  4390. }
  4391. var stringLen uint64
  4392. for shift := uint(0); ; shift += 7 {
  4393. if shift >= 64 {
  4394. return ErrIntOverflowRpc
  4395. }
  4396. if iNdEx >= l {
  4397. return io.ErrUnexpectedEOF
  4398. }
  4399. b := dAtA[iNdEx]
  4400. iNdEx++
  4401. stringLen |= (uint64(b) & 0x7F) << shift
  4402. if b < 0x80 {
  4403. break
  4404. }
  4405. }
  4406. intStringLen := int(stringLen)
  4407. if intStringLen < 0 {
  4408. return ErrInvalidLengthRpc
  4409. }
  4410. postIndex := iNdEx + intStringLen
  4411. if postIndex > l {
  4412. return io.ErrUnexpectedEOF
  4413. }
  4414. m.AdvertiseClientURLs = append(m.AdvertiseClientURLs, string(dAtA[iNdEx:postIndex]))
  4415. iNdEx = postIndex
  4416. case 23:
  4417. if wireType != 0 {
  4418. return fmt.Errorf("proto: wrong wireType = %d for field ClientAutoTLS", wireType)
  4419. }
  4420. var v int
  4421. for shift := uint(0); ; shift += 7 {
  4422. if shift >= 64 {
  4423. return ErrIntOverflowRpc
  4424. }
  4425. if iNdEx >= l {
  4426. return io.ErrUnexpectedEOF
  4427. }
  4428. b := dAtA[iNdEx]
  4429. iNdEx++
  4430. v |= (int(b) & 0x7F) << shift
  4431. if b < 0x80 {
  4432. break
  4433. }
  4434. }
  4435. m.ClientAutoTLS = bool(v != 0)
  4436. case 24:
  4437. if wireType != 0 {
  4438. return fmt.Errorf("proto: wrong wireType = %d for field ClientCertAuth", wireType)
  4439. }
  4440. var v int
  4441. for shift := uint(0); ; shift += 7 {
  4442. if shift >= 64 {
  4443. return ErrIntOverflowRpc
  4444. }
  4445. if iNdEx >= l {
  4446. return io.ErrUnexpectedEOF
  4447. }
  4448. b := dAtA[iNdEx]
  4449. iNdEx++
  4450. v |= (int(b) & 0x7F) << shift
  4451. if b < 0x80 {
  4452. break
  4453. }
  4454. }
  4455. m.ClientCertAuth = bool(v != 0)
  4456. case 25:
  4457. if wireType != 2 {
  4458. return fmt.Errorf("proto: wrong wireType = %d for field ClientCertFile", wireType)
  4459. }
  4460. var stringLen uint64
  4461. for shift := uint(0); ; shift += 7 {
  4462. if shift >= 64 {
  4463. return ErrIntOverflowRpc
  4464. }
  4465. if iNdEx >= l {
  4466. return io.ErrUnexpectedEOF
  4467. }
  4468. b := dAtA[iNdEx]
  4469. iNdEx++
  4470. stringLen |= (uint64(b) & 0x7F) << shift
  4471. if b < 0x80 {
  4472. break
  4473. }
  4474. }
  4475. intStringLen := int(stringLen)
  4476. if intStringLen < 0 {
  4477. return ErrInvalidLengthRpc
  4478. }
  4479. postIndex := iNdEx + intStringLen
  4480. if postIndex > l {
  4481. return io.ErrUnexpectedEOF
  4482. }
  4483. m.ClientCertFile = string(dAtA[iNdEx:postIndex])
  4484. iNdEx = postIndex
  4485. case 26:
  4486. if wireType != 2 {
  4487. return fmt.Errorf("proto: wrong wireType = %d for field ClientKeyFile", wireType)
  4488. }
  4489. var stringLen uint64
  4490. for shift := uint(0); ; shift += 7 {
  4491. if shift >= 64 {
  4492. return ErrIntOverflowRpc
  4493. }
  4494. if iNdEx >= l {
  4495. return io.ErrUnexpectedEOF
  4496. }
  4497. b := dAtA[iNdEx]
  4498. iNdEx++
  4499. stringLen |= (uint64(b) & 0x7F) << shift
  4500. if b < 0x80 {
  4501. break
  4502. }
  4503. }
  4504. intStringLen := int(stringLen)
  4505. if intStringLen < 0 {
  4506. return ErrInvalidLengthRpc
  4507. }
  4508. postIndex := iNdEx + intStringLen
  4509. if postIndex > l {
  4510. return io.ErrUnexpectedEOF
  4511. }
  4512. m.ClientKeyFile = string(dAtA[iNdEx:postIndex])
  4513. iNdEx = postIndex
  4514. case 27:
  4515. if wireType != 2 {
  4516. return fmt.Errorf("proto: wrong wireType = %d for field ClientTrustedCAFile", wireType)
  4517. }
  4518. var stringLen uint64
  4519. for shift := uint(0); ; shift += 7 {
  4520. if shift >= 64 {
  4521. return ErrIntOverflowRpc
  4522. }
  4523. if iNdEx >= l {
  4524. return io.ErrUnexpectedEOF
  4525. }
  4526. b := dAtA[iNdEx]
  4527. iNdEx++
  4528. stringLen |= (uint64(b) & 0x7F) << shift
  4529. if b < 0x80 {
  4530. break
  4531. }
  4532. }
  4533. intStringLen := int(stringLen)
  4534. if intStringLen < 0 {
  4535. return ErrInvalidLengthRpc
  4536. }
  4537. postIndex := iNdEx + intStringLen
  4538. if postIndex > l {
  4539. return io.ErrUnexpectedEOF
  4540. }
  4541. m.ClientTrustedCAFile = string(dAtA[iNdEx:postIndex])
  4542. iNdEx = postIndex
  4543. case 31:
  4544. if wireType != 2 {
  4545. return fmt.Errorf("proto: wrong wireType = %d for field ListenPeerURLs", wireType)
  4546. }
  4547. var stringLen uint64
  4548. for shift := uint(0); ; shift += 7 {
  4549. if shift >= 64 {
  4550. return ErrIntOverflowRpc
  4551. }
  4552. if iNdEx >= l {
  4553. return io.ErrUnexpectedEOF
  4554. }
  4555. b := dAtA[iNdEx]
  4556. iNdEx++
  4557. stringLen |= (uint64(b) & 0x7F) << shift
  4558. if b < 0x80 {
  4559. break
  4560. }
  4561. }
  4562. intStringLen := int(stringLen)
  4563. if intStringLen < 0 {
  4564. return ErrInvalidLengthRpc
  4565. }
  4566. postIndex := iNdEx + intStringLen
  4567. if postIndex > l {
  4568. return io.ErrUnexpectedEOF
  4569. }
  4570. m.ListenPeerURLs = append(m.ListenPeerURLs, string(dAtA[iNdEx:postIndex]))
  4571. iNdEx = postIndex
  4572. case 32:
  4573. if wireType != 2 {
  4574. return fmt.Errorf("proto: wrong wireType = %d for field AdvertisePeerURLs", wireType)
  4575. }
  4576. var stringLen uint64
  4577. for shift := uint(0); ; shift += 7 {
  4578. if shift >= 64 {
  4579. return ErrIntOverflowRpc
  4580. }
  4581. if iNdEx >= l {
  4582. return io.ErrUnexpectedEOF
  4583. }
  4584. b := dAtA[iNdEx]
  4585. iNdEx++
  4586. stringLen |= (uint64(b) & 0x7F) << shift
  4587. if b < 0x80 {
  4588. break
  4589. }
  4590. }
  4591. intStringLen := int(stringLen)
  4592. if intStringLen < 0 {
  4593. return ErrInvalidLengthRpc
  4594. }
  4595. postIndex := iNdEx + intStringLen
  4596. if postIndex > l {
  4597. return io.ErrUnexpectedEOF
  4598. }
  4599. m.AdvertisePeerURLs = append(m.AdvertisePeerURLs, string(dAtA[iNdEx:postIndex]))
  4600. iNdEx = postIndex
  4601. case 33:
  4602. if wireType != 0 {
  4603. return fmt.Errorf("proto: wrong wireType = %d for field PeerAutoTLS", wireType)
  4604. }
  4605. var v int
  4606. for shift := uint(0); ; shift += 7 {
  4607. if shift >= 64 {
  4608. return ErrIntOverflowRpc
  4609. }
  4610. if iNdEx >= l {
  4611. return io.ErrUnexpectedEOF
  4612. }
  4613. b := dAtA[iNdEx]
  4614. iNdEx++
  4615. v |= (int(b) & 0x7F) << shift
  4616. if b < 0x80 {
  4617. break
  4618. }
  4619. }
  4620. m.PeerAutoTLS = bool(v != 0)
  4621. case 34:
  4622. if wireType != 0 {
  4623. return fmt.Errorf("proto: wrong wireType = %d for field PeerClientCertAuth", wireType)
  4624. }
  4625. var v int
  4626. for shift := uint(0); ; shift += 7 {
  4627. if shift >= 64 {
  4628. return ErrIntOverflowRpc
  4629. }
  4630. if iNdEx >= l {
  4631. return io.ErrUnexpectedEOF
  4632. }
  4633. b := dAtA[iNdEx]
  4634. iNdEx++
  4635. v |= (int(b) & 0x7F) << shift
  4636. if b < 0x80 {
  4637. break
  4638. }
  4639. }
  4640. m.PeerClientCertAuth = bool(v != 0)
  4641. case 35:
  4642. if wireType != 2 {
  4643. return fmt.Errorf("proto: wrong wireType = %d for field PeerCertFile", wireType)
  4644. }
  4645. var stringLen uint64
  4646. for shift := uint(0); ; shift += 7 {
  4647. if shift >= 64 {
  4648. return ErrIntOverflowRpc
  4649. }
  4650. if iNdEx >= l {
  4651. return io.ErrUnexpectedEOF
  4652. }
  4653. b := dAtA[iNdEx]
  4654. iNdEx++
  4655. stringLen |= (uint64(b) & 0x7F) << shift
  4656. if b < 0x80 {
  4657. break
  4658. }
  4659. }
  4660. intStringLen := int(stringLen)
  4661. if intStringLen < 0 {
  4662. return ErrInvalidLengthRpc
  4663. }
  4664. postIndex := iNdEx + intStringLen
  4665. if postIndex > l {
  4666. return io.ErrUnexpectedEOF
  4667. }
  4668. m.PeerCertFile = string(dAtA[iNdEx:postIndex])
  4669. iNdEx = postIndex
  4670. case 36:
  4671. if wireType != 2 {
  4672. return fmt.Errorf("proto: wrong wireType = %d for field PeerKeyFile", wireType)
  4673. }
  4674. var stringLen uint64
  4675. for shift := uint(0); ; shift += 7 {
  4676. if shift >= 64 {
  4677. return ErrIntOverflowRpc
  4678. }
  4679. if iNdEx >= l {
  4680. return io.ErrUnexpectedEOF
  4681. }
  4682. b := dAtA[iNdEx]
  4683. iNdEx++
  4684. stringLen |= (uint64(b) & 0x7F) << shift
  4685. if b < 0x80 {
  4686. break
  4687. }
  4688. }
  4689. intStringLen := int(stringLen)
  4690. if intStringLen < 0 {
  4691. return ErrInvalidLengthRpc
  4692. }
  4693. postIndex := iNdEx + intStringLen
  4694. if postIndex > l {
  4695. return io.ErrUnexpectedEOF
  4696. }
  4697. m.PeerKeyFile = string(dAtA[iNdEx:postIndex])
  4698. iNdEx = postIndex
  4699. case 37:
  4700. if wireType != 2 {
  4701. return fmt.Errorf("proto: wrong wireType = %d for field PeerTrustedCAFile", wireType)
  4702. }
  4703. var stringLen uint64
  4704. for shift := uint(0); ; shift += 7 {
  4705. if shift >= 64 {
  4706. return ErrIntOverflowRpc
  4707. }
  4708. if iNdEx >= l {
  4709. return io.ErrUnexpectedEOF
  4710. }
  4711. b := dAtA[iNdEx]
  4712. iNdEx++
  4713. stringLen |= (uint64(b) & 0x7F) << shift
  4714. if b < 0x80 {
  4715. break
  4716. }
  4717. }
  4718. intStringLen := int(stringLen)
  4719. if intStringLen < 0 {
  4720. return ErrInvalidLengthRpc
  4721. }
  4722. postIndex := iNdEx + intStringLen
  4723. if postIndex > l {
  4724. return io.ErrUnexpectedEOF
  4725. }
  4726. m.PeerTrustedCAFile = string(dAtA[iNdEx:postIndex])
  4727. iNdEx = postIndex
  4728. case 41:
  4729. if wireType != 2 {
  4730. return fmt.Errorf("proto: wrong wireType = %d for field InitialCluster", wireType)
  4731. }
  4732. var stringLen uint64
  4733. for shift := uint(0); ; shift += 7 {
  4734. if shift >= 64 {
  4735. return ErrIntOverflowRpc
  4736. }
  4737. if iNdEx >= l {
  4738. return io.ErrUnexpectedEOF
  4739. }
  4740. b := dAtA[iNdEx]
  4741. iNdEx++
  4742. stringLen |= (uint64(b) & 0x7F) << shift
  4743. if b < 0x80 {
  4744. break
  4745. }
  4746. }
  4747. intStringLen := int(stringLen)
  4748. if intStringLen < 0 {
  4749. return ErrInvalidLengthRpc
  4750. }
  4751. postIndex := iNdEx + intStringLen
  4752. if postIndex > l {
  4753. return io.ErrUnexpectedEOF
  4754. }
  4755. m.InitialCluster = string(dAtA[iNdEx:postIndex])
  4756. iNdEx = postIndex
  4757. case 42:
  4758. if wireType != 2 {
  4759. return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterState", wireType)
  4760. }
  4761. var stringLen uint64
  4762. for shift := uint(0); ; shift += 7 {
  4763. if shift >= 64 {
  4764. return ErrIntOverflowRpc
  4765. }
  4766. if iNdEx >= l {
  4767. return io.ErrUnexpectedEOF
  4768. }
  4769. b := dAtA[iNdEx]
  4770. iNdEx++
  4771. stringLen |= (uint64(b) & 0x7F) << shift
  4772. if b < 0x80 {
  4773. break
  4774. }
  4775. }
  4776. intStringLen := int(stringLen)
  4777. if intStringLen < 0 {
  4778. return ErrInvalidLengthRpc
  4779. }
  4780. postIndex := iNdEx + intStringLen
  4781. if postIndex > l {
  4782. return io.ErrUnexpectedEOF
  4783. }
  4784. m.InitialClusterState = string(dAtA[iNdEx:postIndex])
  4785. iNdEx = postIndex
  4786. case 43:
  4787. if wireType != 2 {
  4788. return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterToken", wireType)
  4789. }
  4790. var stringLen uint64
  4791. for shift := uint(0); ; shift += 7 {
  4792. if shift >= 64 {
  4793. return ErrIntOverflowRpc
  4794. }
  4795. if iNdEx >= l {
  4796. return io.ErrUnexpectedEOF
  4797. }
  4798. b := dAtA[iNdEx]
  4799. iNdEx++
  4800. stringLen |= (uint64(b) & 0x7F) << shift
  4801. if b < 0x80 {
  4802. break
  4803. }
  4804. }
  4805. intStringLen := int(stringLen)
  4806. if intStringLen < 0 {
  4807. return ErrInvalidLengthRpc
  4808. }
  4809. postIndex := iNdEx + intStringLen
  4810. if postIndex > l {
  4811. return io.ErrUnexpectedEOF
  4812. }
  4813. m.InitialClusterToken = string(dAtA[iNdEx:postIndex])
  4814. iNdEx = postIndex
  4815. case 51:
  4816. if wireType != 0 {
  4817. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotCount", wireType)
  4818. }
  4819. m.SnapshotCount = 0
  4820. for shift := uint(0); ; shift += 7 {
  4821. if shift >= 64 {
  4822. return ErrIntOverflowRpc
  4823. }
  4824. if iNdEx >= l {
  4825. return io.ErrUnexpectedEOF
  4826. }
  4827. b := dAtA[iNdEx]
  4828. iNdEx++
  4829. m.SnapshotCount |= (int64(b) & 0x7F) << shift
  4830. if b < 0x80 {
  4831. break
  4832. }
  4833. }
  4834. case 52:
  4835. if wireType != 0 {
  4836. return fmt.Errorf("proto: wrong wireType = %d for field QuotaBackendBytes", wireType)
  4837. }
  4838. m.QuotaBackendBytes = 0
  4839. for shift := uint(0); ; shift += 7 {
  4840. if shift >= 64 {
  4841. return ErrIntOverflowRpc
  4842. }
  4843. if iNdEx >= l {
  4844. return io.ErrUnexpectedEOF
  4845. }
  4846. b := dAtA[iNdEx]
  4847. iNdEx++
  4848. m.QuotaBackendBytes |= (int64(b) & 0x7F) << shift
  4849. if b < 0x80 {
  4850. break
  4851. }
  4852. }
  4853. case 63:
  4854. if wireType != 0 {
  4855. return fmt.Errorf("proto: wrong wireType = %d for field PreVote", wireType)
  4856. }
  4857. var v int
  4858. for shift := uint(0); ; shift += 7 {
  4859. if shift >= 64 {
  4860. return ErrIntOverflowRpc
  4861. }
  4862. if iNdEx >= l {
  4863. return io.ErrUnexpectedEOF
  4864. }
  4865. b := dAtA[iNdEx]
  4866. iNdEx++
  4867. v |= (int(b) & 0x7F) << shift
  4868. if b < 0x80 {
  4869. break
  4870. }
  4871. }
  4872. m.PreVote = bool(v != 0)
  4873. case 64:
  4874. if wireType != 0 {
  4875. return fmt.Errorf("proto: wrong wireType = %d for field InitialCorruptCheck", wireType)
  4876. }
  4877. var v int
  4878. for shift := uint(0); ; shift += 7 {
  4879. if shift >= 64 {
  4880. return ErrIntOverflowRpc
  4881. }
  4882. if iNdEx >= l {
  4883. return io.ErrUnexpectedEOF
  4884. }
  4885. b := dAtA[iNdEx]
  4886. iNdEx++
  4887. v |= (int(b) & 0x7F) << shift
  4888. if b < 0x80 {
  4889. break
  4890. }
  4891. }
  4892. m.InitialCorruptCheck = bool(v != 0)
  4893. case 71:
  4894. if wireType != 2 {
  4895. return fmt.Errorf("proto: wrong wireType = %d for field Logger", wireType)
  4896. }
  4897. var stringLen uint64
  4898. for shift := uint(0); ; shift += 7 {
  4899. if shift >= 64 {
  4900. return ErrIntOverflowRpc
  4901. }
  4902. if iNdEx >= l {
  4903. return io.ErrUnexpectedEOF
  4904. }
  4905. b := dAtA[iNdEx]
  4906. iNdEx++
  4907. stringLen |= (uint64(b) & 0x7F) << shift
  4908. if b < 0x80 {
  4909. break
  4910. }
  4911. }
  4912. intStringLen := int(stringLen)
  4913. if intStringLen < 0 {
  4914. return ErrInvalidLengthRpc
  4915. }
  4916. postIndex := iNdEx + intStringLen
  4917. if postIndex > l {
  4918. return io.ErrUnexpectedEOF
  4919. }
  4920. m.Logger = string(dAtA[iNdEx:postIndex])
  4921. iNdEx = postIndex
  4922. case 72:
  4923. if wireType != 2 {
  4924. return fmt.Errorf("proto: wrong wireType = %d for field LogOutputs", wireType)
  4925. }
  4926. var stringLen uint64
  4927. for shift := uint(0); ; shift += 7 {
  4928. if shift >= 64 {
  4929. return ErrIntOverflowRpc
  4930. }
  4931. if iNdEx >= l {
  4932. return io.ErrUnexpectedEOF
  4933. }
  4934. b := dAtA[iNdEx]
  4935. iNdEx++
  4936. stringLen |= (uint64(b) & 0x7F) << shift
  4937. if b < 0x80 {
  4938. break
  4939. }
  4940. }
  4941. intStringLen := int(stringLen)
  4942. if intStringLen < 0 {
  4943. return ErrInvalidLengthRpc
  4944. }
  4945. postIndex := iNdEx + intStringLen
  4946. if postIndex > l {
  4947. return io.ErrUnexpectedEOF
  4948. }
  4949. m.LogOutputs = append(m.LogOutputs, string(dAtA[iNdEx:postIndex]))
  4950. iNdEx = postIndex
  4951. case 73:
  4952. if wireType != 0 {
  4953. return fmt.Errorf("proto: wrong wireType = %d for field Debug", wireType)
  4954. }
  4955. var v int
  4956. for shift := uint(0); ; shift += 7 {
  4957. if shift >= 64 {
  4958. return ErrIntOverflowRpc
  4959. }
  4960. if iNdEx >= l {
  4961. return io.ErrUnexpectedEOF
  4962. }
  4963. b := dAtA[iNdEx]
  4964. iNdEx++
  4965. v |= (int(b) & 0x7F) << shift
  4966. if b < 0x80 {
  4967. break
  4968. }
  4969. }
  4970. m.Debug = bool(v != 0)
  4971. default:
  4972. iNdEx = preIndex
  4973. skippy, err := skipRpc(dAtA[iNdEx:])
  4974. if err != nil {
  4975. return err
  4976. }
  4977. if skippy < 0 {
  4978. return ErrInvalidLengthRpc
  4979. }
  4980. if (iNdEx + skippy) > l {
  4981. return io.ErrUnexpectedEOF
  4982. }
  4983. iNdEx += skippy
  4984. }
  4985. }
  4986. if iNdEx > l {
  4987. return io.ErrUnexpectedEOF
  4988. }
  4989. return nil
  4990. }
  4991. func skipRpc(dAtA []byte) (n int, err error) {
  4992. l := len(dAtA)
  4993. iNdEx := 0
  4994. for iNdEx < l {
  4995. var wire uint64
  4996. for shift := uint(0); ; shift += 7 {
  4997. if shift >= 64 {
  4998. return 0, ErrIntOverflowRpc
  4999. }
  5000. if iNdEx >= l {
  5001. return 0, io.ErrUnexpectedEOF
  5002. }
  5003. b := dAtA[iNdEx]
  5004. iNdEx++
  5005. wire |= (uint64(b) & 0x7F) << shift
  5006. if b < 0x80 {
  5007. break
  5008. }
  5009. }
  5010. wireType := int(wire & 0x7)
  5011. switch wireType {
  5012. case 0:
  5013. for shift := uint(0); ; shift += 7 {
  5014. if shift >= 64 {
  5015. return 0, ErrIntOverflowRpc
  5016. }
  5017. if iNdEx >= l {
  5018. return 0, io.ErrUnexpectedEOF
  5019. }
  5020. iNdEx++
  5021. if dAtA[iNdEx-1] < 0x80 {
  5022. break
  5023. }
  5024. }
  5025. return iNdEx, nil
  5026. case 1:
  5027. iNdEx += 8
  5028. return iNdEx, nil
  5029. case 2:
  5030. var length int
  5031. for shift := uint(0); ; shift += 7 {
  5032. if shift >= 64 {
  5033. return 0, ErrIntOverflowRpc
  5034. }
  5035. if iNdEx >= l {
  5036. return 0, io.ErrUnexpectedEOF
  5037. }
  5038. b := dAtA[iNdEx]
  5039. iNdEx++
  5040. length |= (int(b) & 0x7F) << shift
  5041. if b < 0x80 {
  5042. break
  5043. }
  5044. }
  5045. iNdEx += length
  5046. if length < 0 {
  5047. return 0, ErrInvalidLengthRpc
  5048. }
  5049. return iNdEx, nil
  5050. case 3:
  5051. for {
  5052. var innerWire uint64
  5053. var start int = iNdEx
  5054. for shift := uint(0); ; shift += 7 {
  5055. if shift >= 64 {
  5056. return 0, ErrIntOverflowRpc
  5057. }
  5058. if iNdEx >= l {
  5059. return 0, io.ErrUnexpectedEOF
  5060. }
  5061. b := dAtA[iNdEx]
  5062. iNdEx++
  5063. innerWire |= (uint64(b) & 0x7F) << shift
  5064. if b < 0x80 {
  5065. break
  5066. }
  5067. }
  5068. innerWireType := int(innerWire & 0x7)
  5069. if innerWireType == 4 {
  5070. break
  5071. }
  5072. next, err := skipRpc(dAtA[start:])
  5073. if err != nil {
  5074. return 0, err
  5075. }
  5076. iNdEx = start + next
  5077. }
  5078. return iNdEx, nil
  5079. case 4:
  5080. return iNdEx, nil
  5081. case 5:
  5082. iNdEx += 4
  5083. return iNdEx, nil
  5084. default:
  5085. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  5086. }
  5087. }
  5088. panic("unreachable")
  5089. }
  5090. var (
  5091. ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling")
  5092. ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow")
  5093. )
  5094. func init() { proto.RegisterFile("rpcpb/rpc.proto", fileDescriptorRpc) }
  5095. var fileDescriptorRpc = []byte{
  5096. // 2984 bytes of a gzipped FileDescriptorProto
  5097. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x59, 0x4b, 0x73, 0xdc, 0xc6,
  5098. 0xb5, 0x16, 0x38, 0x24, 0x45, 0x36, 0x5f, 0x60, 0x53, 0x94, 0xa0, 0x17, 0x41, 0x41, 0x96, 0x2f,
  5099. 0x45, 0x1b, 0x92, 0xaf, 0xe4, 0xf2, 0x43, 0xbe, 0xb6, 0x8c, 0x19, 0x82, 0xe4, 0xdc, 0x01, 0x67,
  5100. 0x46, 0x3d, 0x20, 0x25, 0xdf, 0x0d, 0x0a, 0x9c, 0x69, 0x92, 0x53, 0x1a, 0x02, 0x63, 0xa0, 0x47,
  5101. 0x26, 0xbd, 0xbe, 0x55, 0xd9, 0x26, 0xce, 0xa3, 0x92, 0xaa, 0xfc, 0x84, 0x38, 0x59, 0xe4, 0x4f,
  5102. 0xc8, 0xaf, 0xc4, 0x49, 0x56, 0xc9, 0x62, 0x2a, 0x71, 0x36, 0x59, 0x65, 0x31, 0x95, 0xf7, 0x22,
  5103. 0x95, 0xea, 0x6e, 0x80, 0xd3, 0x00, 0x66, 0x28, 0xae, 0x48, 0x9c, 0xf3, 0x7d, 0x5f, 0x9f, 0xee,
  5104. 0xd3, 0xdd, 0xe7, 0x34, 0x09, 0xe6, 0x82, 0x76, 0xbd, 0xbd, 0x7b, 0x37, 0x68, 0xd7, 0xef, 0xb4,
  5105. 0x03, 0x9f, 0xf8, 0x70, 0x8c, 0x19, 0xae, 0xe8, 0xfb, 0x4d, 0x72, 0xd0, 0xd9, 0xbd, 0x53, 0xf7,
  5106. 0x0f, 0xef, 0xee, 0xfb, 0xfb, 0xfe, 0x5d, 0xe6, 0xdd, 0xed, 0xec, 0xb1, 0x2f, 0xf6, 0xc1, 0x7e,
  5107. 0xe3, 0x2c, 0xed, 0x5b, 0x12, 0x38, 0x8f, 0xf0, 0x87, 0x1d, 0x1c, 0x12, 0x78, 0x07, 0x4c, 0x56,
  5108. 0xda, 0x38, 0x70, 0x49, 0xd3, 0xf7, 0x14, 0x69, 0x59, 0x5a, 0x99, 0xbd, 0x27, 0xdf, 0x61, 0xaa,
  5109. 0x77, 0x4e, 0xec, 0xa8, 0x0f, 0x81, 0xb7, 0xc0, 0xf8, 0x16, 0x3e, 0xdc, 0xc5, 0x81, 0x32, 0xb2,
  5110. 0x2c, 0xad, 0x4c, 0xdd, 0x9b, 0x89, 0xc0, 0xdc, 0x88, 0x22, 0x27, 0x85, 0xd9, 0x38, 0x24, 0x38,
  5111. 0x50, 0x72, 0x09, 0x18, 0x37, 0xa2, 0xc8, 0xa9, 0xfd, 0x69, 0x04, 0x4c, 0xd7, 0x3c, 0xb7, 0x1d,
  5112. 0x1e, 0xf8, 0xa4, 0xe8, 0xed, 0xf9, 0x70, 0x09, 0x00, 0xae, 0x50, 0x76, 0x0f, 0x31, 0x8b, 0x67,
  5113. 0x12, 0x09, 0x16, 0xb8, 0x0a, 0x64, 0xfe, 0x55, 0x68, 0x35, 0xb1, 0x47, 0xb6, 0x91, 0x15, 0x2a,
  5114. 0x23, 0xcb, 0xb9, 0x95, 0x49, 0x94, 0xb1, 0x43, 0xad, 0xaf, 0x5d, 0x75, 0xc9, 0x01, 0x8b, 0x64,
  5115. 0x12, 0x25, 0x6c, 0x54, 0x2f, 0xfe, 0x5e, 0x6f, 0xb6, 0x70, 0xad, 0xf9, 0x31, 0x56, 0x46, 0x19,
  5116. 0x2e, 0x63, 0x87, 0xaf, 0x82, 0xf9, 0xd8, 0x66, 0xfb, 0xc4, 0x6d, 0x31, 0xf0, 0x18, 0x03, 0x67,
  5117. 0x1d, 0xa2, 0x32, 0x33, 0x96, 0xf0, 0xb1, 0x32, 0xbe, 0x2c, 0xad, 0xe4, 0x50, 0xc6, 0x2e, 0x46,
  5118. 0xba, 0xe9, 0x86, 0x07, 0xca, 0x79, 0x86, 0x4b, 0xd8, 0x44, 0x3d, 0x84, 0x9f, 0x35, 0x43, 0x9a,
  5119. 0xaf, 0x89, 0xa4, 0x5e, 0x6c, 0x87, 0x10, 0x8c, 0xda, 0xbe, 0xff, 0x54, 0x99, 0x64, 0xc1, 0xb1,
  5120. 0xdf, 0xb5, 0x1f, 0x4b, 0x60, 0x02, 0xe1, 0xb0, 0xed, 0x7b, 0x21, 0x86, 0x0a, 0x38, 0x5f, 0xeb,
  5121. 0xd4, 0xeb, 0x38, 0x0c, 0xd9, 0x1a, 0x4f, 0xa0, 0xf8, 0x13, 0x5e, 0x04, 0xe3, 0x35, 0xe2, 0x92,
  5122. 0x4e, 0xc8, 0xf2, 0x3b, 0x89, 0xa2, 0x2f, 0x21, 0xef, 0xb9, 0xd3, 0xf2, 0xfe, 0x66, 0x32, 0x9f,
  5123. 0x6c, 0x2d, 0xa7, 0xee, 0x2d, 0x44, 0x60, 0xd1, 0x85, 0x12, 0x40, 0xed, 0x93, 0xe9, 0x78, 0x00,
  5124. 0xf8, 0x1a, 0x98, 0x30, 0x49, 0xbd, 0x61, 0x1e, 0xe1, 0x3a, 0xdf, 0x01, 0xf9, 0x0b, 0xbd, 0xae,
  5125. 0x2a, 0x1f, 0xbb, 0x87, 0xad, 0x07, 0x1a, 0x26, 0xf5, 0x86, 0x8e, 0x8f, 0x70, 0x5d, 0x43, 0x27,
  5126. 0x28, 0x78, 0x1f, 0x4c, 0x1a, 0xfb, 0xd8, 0x23, 0x46, 0xa3, 0x11, 0x28, 0x53, 0x8c, 0xb2, 0xd8,
  5127. 0xeb, 0xaa, 0xf3, 0x9c, 0xe2, 0x52, 0x97, 0xee, 0x36, 0x1a, 0x81, 0x86, 0xfa, 0x38, 0x68, 0x81,
  5128. 0xf9, 0x75, 0xb7, 0xd9, 0x6a, 0xfb, 0x4d, 0x8f, 0x6c, 0xda, 0x76, 0x95, 0x91, 0xa7, 0x19, 0x79,
  5129. 0xa9, 0xd7, 0x55, 0xaf, 0x70, 0xf2, 0x5e, 0x0c, 0xd1, 0x0f, 0x08, 0x69, 0x47, 0x2a, 0x59, 0x22,
  5130. 0xd4, 0xc1, 0xf9, 0xbc, 0x1b, 0xe2, 0xb5, 0x66, 0xa0, 0x60, 0xa6, 0xb1, 0xd0, 0xeb, 0xaa, 0x73,
  5131. 0x5c, 0x63, 0xd7, 0x0d, 0xb1, 0xde, 0x68, 0x06, 0x1a, 0x8a, 0x31, 0x70, 0x03, 0xcc, 0xd1, 0xe8,
  5132. 0xf9, 0x6e, 0xad, 0x06, 0xfe, 0xd1, 0xb1, 0xf2, 0x19, 0xcb, 0x44, 0xfe, 0x5a, 0xaf, 0xab, 0x2a,
  5133. 0xc2, 0x5c, 0xeb, 0x0c, 0xa2, 0xb7, 0x29, 0x46, 0x43, 0x69, 0x16, 0x34, 0xc0, 0x0c, 0x35, 0x55,
  5134. 0x31, 0x0e, 0xb8, 0xcc, 0xe7, 0x5c, 0xe6, 0x4a, 0xaf, 0xab, 0x5e, 0x14, 0x64, 0xda, 0x18, 0x07,
  5135. 0xb1, 0x48, 0x92, 0x01, 0xab, 0x00, 0xf6, 0x55, 0x4d, 0xaf, 0xc1, 0x26, 0xa6, 0x7c, 0xca, 0xf2,
  5136. 0x9f, 0x57, 0x7b, 0x5d, 0xf5, 0x6a, 0x36, 0x1c, 0x1c, 0xc1, 0x34, 0x34, 0x80, 0x0b, 0xff, 0x1b,
  5137. 0x8c, 0x52, 0xab, 0xf2, 0x53, 0x7e, 0x47, 0x4c, 0x45, 0xe9, 0xa7, 0xb6, 0xfc, 0x5c, 0xaf, 0xab,
  5138. 0x4e, 0xf5, 0x05, 0x35, 0xc4, 0xa0, 0x30, 0x0f, 0x16, 0xe9, 0xcf, 0x8a, 0xd7, 0xdf, 0xcc, 0x21,
  5139. 0xf1, 0x03, 0xac, 0xfc, 0x2c, 0xab, 0x81, 0x06, 0x43, 0xe1, 0x1a, 0x98, 0xe5, 0x81, 0x14, 0x70,
  5140. 0x40, 0xd6, 0x5c, 0xe2, 0x2a, 0xdf, 0x61, 0x67, 0x3e, 0x7f, 0xb5, 0xd7, 0x55, 0x2f, 0xf1, 0x31,
  5141. 0xa3, 0xf8, 0xeb, 0x38, 0x20, 0x7a, 0xc3, 0x25, 0xae, 0x86, 0x52, 0x9c, 0xa4, 0x0a, 0xbb, 0x38,
  5142. 0x3e, 0x39, 0x55, 0xa5, 0xed, 0x92, 0x83, 0x84, 0x0a, 0xbb, 0x58, 0x0c, 0x30, 0xc3, 0x2d, 0x25,
  5143. 0x7c, 0xcc, 0x42, 0xf9, 0x2e, 0x17, 0x11, 0xf2, 0x12, 0x89, 0x3c, 0xc5, 0xc7, 0x51, 0x24, 0x49,
  5144. 0x46, 0x42, 0x82, 0xc5, 0xf1, 0xbd, 0xd3, 0x24, 0x78, 0x18, 0x49, 0x06, 0xb4, 0xc1, 0x02, 0x37,
  5145. 0xd8, 0x41, 0x27, 0x24, 0xb8, 0x51, 0x30, 0x58, 0x2c, 0xdf, 0xe7, 0x42, 0x37, 0x7a, 0x5d, 0xf5,
  5146. 0x7a, 0x42, 0x88, 0x70, 0x98, 0x5e, 0x77, 0xa3, 0x90, 0x06, 0xd1, 0x07, 0xa8, 0xb2, 0xf0, 0x7e,
  5147. 0x70, 0x06, 0x55, 0x1e, 0xe5, 0x20, 0x3a, 0x7c, 0x0f, 0x4c, 0xd3, 0x3d, 0x79, 0x92, 0xbb, 0xbf,
  5148. 0x72, 0xb9, 0xcb, 0xbd, 0xae, 0xba, 0xc8, 0xe5, 0xd8, 0x1e, 0x16, 0x32, 0x97, 0xc0, 0x8b, 0x7c,
  5149. 0x16, 0xce, 0xdf, 0x4e, 0xe1, 0xf3, 0x30, 0x12, 0x78, 0xf8, 0x0e, 0x98, 0xa2, 0xdf, 0x71, 0xbe,
  5150. 0xfe, 0xce, 0xe9, 0x4a, 0xaf, 0xab, 0x5e, 0x10, 0xe8, 0xfd, 0x6c, 0x89, 0x68, 0x81, 0xcc, 0xc6,
  5151. 0xfe, 0xc7, 0x70, 0x32, 0x1f, 0x5a, 0x44, 0xc3, 0x32, 0x98, 0xa7, 0x9f, 0xc9, 0x1c, 0xfd, 0x33,
  5152. 0x97, 0x3e, 0x7f, 0x4c, 0x22, 0x93, 0xa1, 0x2c, 0x35, 0xa3, 0xc7, 0x42, 0xfa, 0xd7, 0x0b, 0xf5,
  5153. 0x78, 0x64, 0x59, 0x2a, 0x7c, 0x37, 0x55, 0x48, 0x7f, 0x3b, 0x9a, 0x9e, 0x5d, 0x18, 0xb9, 0xe3,
  5154. 0x85, 0x4d, 0xd4, 0xd8, 0xb7, 0x52, 0x35, 0xe1, 0x77, 0x67, 0x2e, 0x0a, 0x3f, 0x9f, 0x8e, 0xdb,
  5155. 0x08, 0x7a, 0xbf, 0xd2, 0xb9, 0xd1, 0xfb, 0x55, 0x4a, 0xdf, 0xaf, 0x74, 0x21, 0xa2, 0xfb, 0x35,
  5156. 0xc2, 0xc0, 0x57, 0xc1, 0xf9, 0x32, 0x26, 0x1f, 0xf9, 0xc1, 0x53, 0x5e, 0xc7, 0xf2, 0xb0, 0xd7,
  5157. 0x55, 0x67, 0x39, 0xdc, 0xe3, 0x0e, 0x0d, 0xc5, 0x10, 0x78, 0x13, 0x8c, 0xb2, 0xdb, 0x9f, 0x2f,
  5158. 0x91, 0x70, 0x43, 0xf1, 0xeb, 0x9e, 0x39, 0x61, 0x01, 0xcc, 0xae, 0xe1, 0x96, 0x7b, 0x6c, 0xb9,
  5159. 0x04, 0x7b, 0xf5, 0xe3, 0xad, 0x90, 0x55, 0x9a, 0x19, 0xf1, 0x5a, 0x68, 0x50, 0xbf, 0xde, 0xe2,
  5160. 0x00, 0xfd, 0x30, 0xd4, 0x50, 0x8a, 0x02, 0xff, 0x17, 0xc8, 0x49, 0x0b, 0x7a, 0xc6, 0x6a, 0xce,
  5161. 0x8c, 0x58, 0x73, 0xd2, 0x32, 0x7a, 0xf0, 0x4c, 0x43, 0x19, 0x1e, 0xfc, 0x00, 0x2c, 0x6e, 0xb7,
  5162. 0x1b, 0x2e, 0xc1, 0x8d, 0x54, 0x5c, 0x33, 0x4c, 0xf0, 0x66, 0xaf, 0xab, 0xaa, 0x5c, 0xb0, 0xc3,
  5163. 0x61, 0x7a, 0x36, 0xbe, 0xc1, 0x0a, 0xf0, 0x0d, 0x00, 0x90, 0xdf, 0xf1, 0x1a, 0x56, 0xf3, 0xb0,
  5164. 0x49, 0x94, 0xc5, 0x65, 0x69, 0x65, 0x2c, 0x7f, 0xb1, 0xd7, 0x55, 0x21, 0xd7, 0x0b, 0xa8, 0x4f,
  5165. 0x6f, 0x51, 0xa7, 0x86, 0x04, 0x24, 0xcc, 0x83, 0x59, 0xf3, 0xa8, 0x49, 0x2a, 0x5e, 0xc1, 0x0d,
  5166. 0x31, 0x2d, 0x92, 0xca, 0xc5, 0x4c, 0x35, 0x3a, 0x6a, 0x12, 0xdd, 0xf7, 0x74, 0x5a, 0x58, 0x3b,
  5167. 0x01, 0xd6, 0x50, 0x8a, 0x01, 0xdf, 0x06, 0x53, 0xa6, 0xe7, 0xee, 0xb6, 0x70, 0xb5, 0x1d, 0xf8,
  5168. 0x7b, 0xca, 0x25, 0x26, 0x70, 0xa9, 0xd7, 0x55, 0x17, 0x22, 0x01, 0xe6, 0xd4, 0xdb, 0xd4, 0xab,
  5169. 0x21, 0x11, 0x0b, 0x1f, 0x80, 0x29, 0x2a, 0xc3, 0x26, 0xb3, 0x15, 0x2a, 0x2a, 0x5b, 0x07, 0x61,
  5170. 0x9b, 0xd6, 0x59, 0x21, 0x66, 0x8b, 0x40, 0x27, 0x2f, 0x82, 0xe9, 0xb0, 0xf4, 0xb3, 0x76, 0xd0,
  5171. 0xd9, 0xdb, 0x6b, 0x61, 0x65, 0x39, 0x3d, 0x2c, 0xe3, 0x86, 0xdc, 0x1b, 0x51, 0x23, 0x2c, 0x7c,
  5172. 0x19, 0x8c, 0xd1, 0xcf, 0x50, 0xb9, 0x41, 0x3b, 0xd1, 0xbc, 0xdc, 0xeb, 0xaa, 0xd3, 0x7d, 0x52,
  5173. 0xa8, 0x21, 0xee, 0x86, 0x25, 0xa1, 0xe3, 0x28, 0xf8, 0x87, 0x87, 0xae, 0xd7, 0x08, 0x15, 0x8d,
  5174. 0x71, 0xae, 0xf7, 0xba, 0xea, 0xe5, 0x74, 0xc7, 0x51, 0x8f, 0x30, 0x62, 0xc3, 0x11, 0xf3, 0xe8,
  5175. 0x76, 0x44, 0x1d, 0xcf, 0xc3, 0x01, 0xed, 0x80, 0xd8, 0xb1, 0xbc, 0x9d, 0xae, 0x52, 0x01, 0xf3,
  5176. 0xb3, 0x6e, 0x29, 0xae, 0x52, 0x49, 0x0a, 0x2c, 0x02, 0xd9, 0x3c, 0x22, 0x38, 0xf0, 0xdc, 0xd6,
  5177. 0x89, 0xcc, 0x2a, 0x93, 0x11, 0x02, 0xc2, 0x11, 0x42, 0x14, 0xca, 0xd0, 0x60, 0x01, 0x4c, 0xd6,
  5178. 0x48, 0x80, 0xc3, 0x10, 0x07, 0xa1, 0x82, 0x97, 0x73, 0x2b, 0x53, 0xf7, 0xe6, 0xe2, 0x13, 0x1e,
  5179. 0xd9, 0xc5, 0x3e, 0x2e, 0x8c, 0xb1, 0x1a, 0xea, 0xf3, 0xe0, 0x5d, 0x30, 0x51, 0x38, 0xc0, 0xf5,
  5180. 0xa7, 0x54, 0x63, 0x8f, 0x2d, 0x8c, 0x70, 0xcc, 0xeb, 0x91, 0x47, 0x43, 0x27, 0x20, 0x5a, 0x23,
  5181. 0x39, 0xbb, 0x84, 0x8f, 0x59, 0x3f, 0xce, 0xba, 0xa8, 0x31, 0x71, 0xc3, 0xf1, 0x91, 0xd8, 0xdd,
  5182. 0x1b, 0x36, 0x3f, 0xc6, 0x1a, 0x4a, 0x32, 0xe0, 0x23, 0x00, 0x13, 0x06, 0xcb, 0x0d, 0xf6, 0x31,
  5183. 0x6f, 0xa3, 0xc6, 0xf2, 0xcb, 0xbd, 0xae, 0x7a, 0x6d, 0xa0, 0x8e, 0xde, 0xa2, 0x38, 0x0d, 0x0d,
  5184. 0x20, 0xc3, 0xc7, 0xe0, 0x42, 0xdf, 0xda, 0xd9, 0xdb, 0x6b, 0x1e, 0x21, 0xd7, 0xdb, 0xc7, 0xca,
  5185. 0x17, 0x5c, 0x54, 0xeb, 0x75, 0xd5, 0xa5, 0xac, 0x28, 0x03, 0xea, 0x01, 0x45, 0x6a, 0x68, 0xa0,
  5186. 0x00, 0x74, 0xc1, 0xa5, 0x41, 0x76, 0xfb, 0xc8, 0x53, 0xbe, 0xe4, 0xda, 0x2f, 0xf7, 0xba, 0xaa,
  5187. 0x76, 0xaa, 0xb6, 0x4e, 0x8e, 0x3c, 0x0d, 0x0d, 0xd3, 0x81, 0x9b, 0x60, 0xee, 0xc4, 0x65, 0x1f,
  5188. 0x79, 0x95, 0x76, 0xa8, 0x7c, 0xc5, 0xa5, 0x85, 0x2d, 0x21, 0x48, 0x93, 0x23, 0x4f, 0xf7, 0xdb,
  5189. 0xa1, 0x86, 0xd2, 0x34, 0xf8, 0x7e, 0x9c, 0x1b, 0x5e, 0xed, 0x43, 0xde, 0x52, 0x8e, 0x89, 0x15,
  5190. 0x39, 0xd2, 0xe1, 0x7d, 0x42, 0x78, 0x92, 0x9a, 0x88, 0x00, 0x5f, 0x8f, 0xf7, 0xd4, 0xa3, 0x6a,
  5191. 0x8d, 0x37, 0x93, 0x63, 0x62, 0x63, 0x1f, 0xb1, 0x3f, 0x6c, 0xf7, 0x37, 0xd1, 0xa3, 0x6a, 0x4d,
  5192. 0xfb, 0x3f, 0x30, 0x11, 0xef, 0x28, 0x7a, 0xb3, 0xdb, 0xc7, 0xed, 0xe8, 0x25, 0x29, 0xde, 0xec,
  5193. 0xe4, 0xb8, 0x8d, 0x35, 0xc4, 0x9c, 0xf0, 0x36, 0x18, 0x7f, 0x8c, 0x9b, 0xfb, 0x07, 0x84, 0xd5,
  5194. 0x0a, 0x29, 0x3f, 0xdf, 0xeb, 0xaa, 0x33, 0x1c, 0xf6, 0x11, 0xb3, 0x6b, 0x28, 0x02, 0x68, 0xff,
  5195. 0x3f, 0xc7, 0x5b, 0x5b, 0x2a, 0xdc, 0x7f, 0xa2, 0x8a, 0xc2, 0x9e, 0x7b, 0x48, 0x85, 0xd9, 0x6b,
  5196. 0x55, 0x28, 0x5a, 0x23, 0x67, 0x28, 0x5a, 0xab, 0x60, 0xfc, 0xb1, 0x61, 0x51, 0x74, 0x2e, 0x5d,
  5197. 0xb3, 0x3e, 0x72, 0x5b, 0x1c, 0x1c, 0x21, 0x60, 0x05, 0x2c, 0x6c, 0x62, 0x37, 0x20, 0xbb, 0xd8,
  5198. 0x25, 0x45, 0x8f, 0xe0, 0xe0, 0x99, 0xdb, 0x8a, 0x4a, 0x52, 0x4e, 0xcc, 0xd4, 0x41, 0x0c, 0xd2,
  5199. 0x9b, 0x11, 0x4a, 0x43, 0x83, 0x98, 0xb0, 0x08, 0xe6, 0xcd, 0x16, 0xae, 0xd3, 0x47, 0xbe, 0xdd,
  5200. 0x3c, 0xc4, 0x7e, 0x87, 0x6c, 0x85, 0xac, 0x34, 0xe5, 0xc4, 0x2b, 0x05, 0x47, 0x10, 0x9d, 0x70,
  5201. 0x8c, 0x86, 0xb2, 0x2c, 0x7a, 0xab, 0x58, 0xcd, 0x90, 0x60, 0x4f, 0x78, 0xa4, 0x2f, 0xa6, 0xaf,
  5202. 0xb9, 0x16, 0x43, 0xc4, 0xef, 0x89, 0x4e, 0xd0, 0x0a, 0x35, 0x94, 0xa1, 0x41, 0x04, 0x16, 0x8c,
  5203. 0xc6, 0x33, 0x1c, 0x90, 0x66, 0x88, 0x05, 0xb5, 0x8b, 0x4c, 0x4d, 0x38, 0x9c, 0x6e, 0x0c, 0x4a,
  5204. 0x0a, 0x0e, 0x22, 0xc3, 0xb7, 0xe3, 0xbe, 0xda, 0xe8, 0x10, 0xdf, 0xb6, 0x6a, 0x51, 0x89, 0x11,
  5205. 0x72, 0xe3, 0x76, 0x88, 0xaf, 0x13, 0x2a, 0x90, 0x44, 0xd2, 0x4b, 0xb7, 0xdf, 0xe7, 0x1b, 0x1d,
  5206. 0x72, 0xa0, 0x28, 0x8c, 0x3b, 0xe4, 0x69, 0xe0, 0x76, 0x52, 0x4f, 0x03, 0x4a, 0x81, 0xff, 0x23,
  5207. 0x8a, 0xac, 0x37, 0x5b, 0x58, 0xb9, 0x9c, 0x7e, 0xe5, 0x32, 0xf6, 0x5e, 0x93, 0x56, 0x9a, 0x14,
  5208. 0xb6, 0x1f, 0x7d, 0x09, 0x1f, 0x33, 0xf2, 0x95, 0xf4, 0xce, 0xa2, 0xa7, 0x92, 0x73, 0x93, 0x48,
  5209. 0x68, 0x65, 0xfa, 0x76, 0x26, 0x70, 0x35, 0xfd, 0xaa, 0x10, 0x7a, 0x42, 0xae, 0x33, 0x88, 0x46,
  5210. 0xd7, 0x82, 0xa7, 0x8b, 0x36, 0x8c, 0x2c, 0x2b, 0x2a, 0xcb, 0x8a, 0xb0, 0x16, 0x51, 0x8e, 0x59,
  5211. 0xa3, 0xc9, 0x13, 0x92, 0xa2, 0x40, 0x1b, 0xcc, 0x9f, 0xa4, 0xe8, 0x44, 0x67, 0x99, 0xe9, 0x08,
  5212. 0x37, 0x59, 0xd3, 0x6b, 0x92, 0xa6, 0xdb, 0xd2, 0xfb, 0x59, 0x16, 0x24, 0xb3, 0x02, 0xb4, 0x0f,
  5213. 0xa0, 0xbf, 0xc7, 0xf9, 0xbd, 0xc1, 0x72, 0x94, 0x6e, 0xc6, 0xfb, 0x49, 0x16, 0xc1, 0xf4, 0x35,
  5214. 0xcc, 0x9e, 0x05, 0xc9, 0x34, 0x6b, 0x4c, 0x42, 0xd8, 0x70, 0xfc, 0x2d, 0x91, 0xc9, 0xf5, 0x00,
  5215. 0x2e, 0x6d, 0x9f, 0xe3, 0x87, 0x06, 0x5b, 0xef, 0x9b, 0xc3, 0xdf, 0x25, 0x7c, 0xb9, 0x13, 0xf0,
  5216. 0x78, 0x32, 0x71, 0xba, 0x5f, 0x1a, 0xfa, 0xb2, 0xe0, 0x64, 0x11, 0x0c, 0xb7, 0x52, 0x2f, 0x01,
  5217. 0xa6, 0x70, 0xeb, 0x45, 0x0f, 0x01, 0x2e, 0x94, 0x65, 0xd2, 0xf6, 0xae, 0xc8, 0x53, 0x51, 0x68,
  5218. 0x75, 0xd8, 0x5f, 0xf7, 0x6e, 0xa7, 0xf7, 0x4e, 0x9c, 0xaa, 0x3a, 0x07, 0x68, 0x28, 0xc5, 0xa0,
  5219. 0x27, 0x3a, 0x69, 0xa9, 0x11, 0x97, 0xe0, 0xa8, 0xeb, 0x10, 0x16, 0x38, 0x25, 0xa4, 0x87, 0x14,
  5220. 0xa6, 0xa1, 0x41, 0xe4, 0xac, 0xa6, 0xed, 0x3f, 0xc5, 0x9e, 0xf2, 0xca, 0x8b, 0x34, 0x09, 0x85,
  5221. 0x65, 0x34, 0x19, 0x19, 0x3e, 0x04, 0x33, 0xf1, 0x5b, 0xa4, 0xe0, 0x77, 0x3c, 0xa2, 0xdc, 0x67,
  5222. 0x77, 0xa1, 0x58, 0xbc, 0xe2, 0x47, 0x4f, 0x9d, 0xfa, 0x69, 0xf1, 0x12, 0xf1, 0xd0, 0x02, 0xf3,
  5223. 0x8f, 0x3a, 0x3e, 0x71, 0xf3, 0x6e, 0xfd, 0x29, 0xf6, 0x1a, 0xf9, 0x63, 0x82, 0x43, 0xe5, 0x75,
  5224. 0x26, 0x22, 0xf4, 0xfa, 0x1f, 0x52, 0x88, 0xbe, 0xcb, 0x31, 0xfa, 0x2e, 0x05, 0x69, 0x28, 0x4b,
  5225. 0xa4, 0xa5, 0xa4, 0x1a, 0xe0, 0x1d, 0x9f, 0x60, 0xe5, 0x61, 0xfa, 0xba, 0x6a, 0x07, 0x58, 0x7f,
  5226. 0xe6, 0xd3, 0xd5, 0x89, 0x31, 0xe2, 0x8a, 0xf8, 0x41, 0xd0, 0x69, 0x13, 0xd6, 0x31, 0x29, 0xef,
  5227. 0xa7, 0xb7, 0xf1, 0xc9, 0x8a, 0x70, 0x94, 0xce, 0x7a, 0x2c, 0x61, 0x45, 0x04, 0x32, 0x2d, 0x93,
  5228. 0x96, 0xbf, 0xbf, 0x8f, 0x03, 0x65, 0x83, 0x2d, 0xac, 0x50, 0x26, 0x5b, 0xcc, 0xae, 0xa1, 0x08,
  5229. 0x40, 0xdf, 0x0f, 0x96, 0xbf, 0x5f, 0xe9, 0x90, 0x76, 0x87, 0x84, 0xca, 0x26, 0x3b, 0xcf, 0xc2,
  5230. 0xfb, 0xa1, 0xe5, 0xef, 0xeb, 0x3e, 0x77, 0x6a, 0x48, 0x40, 0xd2, 0x4e, 0x7a, 0x0d, 0xef, 0x76,
  5231. 0xf6, 0x95, 0x22, 0x0b, 0x54, 0xe8, 0xa4, 0x1b, 0xd4, 0xac, 0x21, 0xee, 0x5e, 0xfd, 0xb7, 0x04,
  5232. 0xa6, 0xe3, 0x1a, 0xcf, 0x4a, 0x38, 0x04, 0xb3, 0xa5, 0x1d, 0xe7, 0x31, 0x2a, 0xda, 0xa6, 0x53,
  5233. 0xdb, 0x32, 0x2c, 0x4b, 0x3e, 0x97, 0xb0, 0x59, 0x06, 0xda, 0x30, 0x65, 0x09, 0x2e, 0x80, 0xb9,
  5234. 0xd2, 0x8e, 0x83, 0x4c, 0x63, 0xcd, 0xa9, 0x94, 0x4d, 0xa7, 0x64, 0x7e, 0x20, 0x8f, 0xc0, 0x79,
  5235. 0x30, 0x13, 0x1b, 0x91, 0x51, 0xde, 0x30, 0xe5, 0x1c, 0x5c, 0x04, 0xf3, 0xa5, 0x1d, 0x67, 0xcd,
  5236. 0xb4, 0x4c, 0xdb, 0x3c, 0x41, 0x8e, 0x46, 0xf4, 0xc8, 0xcc, 0xb1, 0x63, 0xf0, 0x12, 0x58, 0x28,
  5237. 0xed, 0x38, 0xf6, 0x93, 0x72, 0x34, 0x16, 0x77, 0xcb, 0xe3, 0x70, 0x12, 0x8c, 0x59, 0xa6, 0x51,
  5238. 0x33, 0x65, 0x40, 0x89, 0xa6, 0x65, 0x16, 0xec, 0x62, 0xa5, 0xec, 0xa0, 0xed, 0x72, 0xd9, 0x44,
  5239. 0xf2, 0x05, 0x28, 0x83, 0xe9, 0xc7, 0x86, 0x5d, 0xd8, 0x8c, 0x2d, 0x2a, 0x1d, 0xd6, 0xaa, 0x14,
  5240. 0x4a, 0x0e, 0x32, 0x0a, 0x26, 0x8a, 0xcd, 0xb7, 0x29, 0x90, 0x09, 0xc5, 0x96, 0xfb, 0xab, 0x79,
  5241. 0x70, 0x3e, 0xea, 0x81, 0xe1, 0x14, 0x38, 0x5f, 0xda, 0x71, 0x36, 0x8d, 0xda, 0xa6, 0x7c, 0xae,
  5242. 0x8f, 0x34, 0x9f, 0x54, 0x8b, 0x88, 0xce, 0x18, 0x80, 0xf1, 0x88, 0x35, 0x02, 0xa7, 0xc1, 0x44,
  5243. 0xb9, 0xe2, 0x14, 0x36, 0xcd, 0x42, 0x49, 0xce, 0xad, 0xfe, 0x28, 0x27, 0xfc, 0xed, 0x1f, 0xce,
  5244. 0x81, 0xa9, 0x72, 0xc5, 0x76, 0x6a, 0xb6, 0x81, 0x6c, 0x73, 0x4d, 0x3e, 0x07, 0x2f, 0x02, 0x58,
  5245. 0x2c, 0x17, 0xed, 0xa2, 0x61, 0x71, 0xa3, 0x63, 0xda, 0x85, 0x35, 0x19, 0xd0, 0x21, 0x90, 0x29,
  5246. 0x58, 0xa6, 0xa8, 0xa5, 0x56, 0xdc, 0xb0, 0x4d, 0xb4, 0xc5, 0x2d, 0x17, 0xe0, 0x32, 0xb8, 0x56,
  5247. 0x2b, 0x6e, 0x3c, 0xda, 0x2e, 0x72, 0x8c, 0x63, 0x94, 0xd7, 0x1c, 0x64, 0x6e, 0x55, 0x76, 0x4c,
  5248. 0x67, 0xcd, 0xb0, 0x0d, 0x79, 0x91, 0xae, 0x79, 0xcd, 0xd8, 0x31, 0x9d, 0x5a, 0xd9, 0xa8, 0xd6,
  5249. 0x36, 0x2b, 0xb6, 0xbc, 0x04, 0x6f, 0x80, 0xeb, 0x54, 0xb8, 0x82, 0x4c, 0x27, 0x1e, 0x60, 0x1d,
  5250. 0x55, 0xb6, 0xfa, 0x10, 0x15, 0x5e, 0x06, 0x8b, 0x83, 0x5d, 0xcb, 0x94, 0x9d, 0x19, 0xd2, 0x40,
  5251. 0x85, 0xcd, 0x62, 0x3c, 0xe6, 0x0a, 0xbc, 0x0b, 0x5e, 0x39, 0x2d, 0x2a, 0xf6, 0x5d, 0xb3, 0x2b,
  5252. 0x55, 0xc7, 0xd8, 0x30, 0xcb, 0xb6, 0x7c, 0x1b, 0x5e, 0x07, 0x97, 0xf3, 0x96, 0x51, 0x28, 0x6d,
  5253. 0x56, 0x2c, 0xd3, 0xa9, 0x9a, 0x26, 0x72, 0xaa, 0x15, 0x64, 0x3b, 0xf6, 0x13, 0x07, 0x3d, 0x91,
  5254. 0x1b, 0x50, 0x05, 0x57, 0xb7, 0xcb, 0xc3, 0x01, 0x18, 0x5e, 0x01, 0x8b, 0x6b, 0xa6, 0x65, 0x7c,
  5255. 0x90, 0x71, 0x3d, 0x97, 0xe0, 0x35, 0x70, 0x69, 0xbb, 0x3c, 0xd8, 0xfb, 0x99, 0xb4, 0xfa, 0x67,
  5256. 0x00, 0x46, 0xe9, 0xa3, 0x11, 0x2a, 0xe0, 0x42, 0xbc, 0xb6, 0x74, 0x1b, 0xae, 0x57, 0x2c, 0xab,
  5257. 0xf2, 0xd8, 0x44, 0xf2, 0xb9, 0x68, 0x36, 0x19, 0x8f, 0xb3, 0x5d, 0xb6, 0x8b, 0x96, 0x63, 0xa3,
  5258. 0xe2, 0xc6, 0x86, 0x89, 0xfa, 0x2b, 0x24, 0xd1, 0xf3, 0x10, 0x13, 0x2c, 0xd3, 0x58, 0x63, 0x3b,
  5259. 0xe2, 0x36, 0xb8, 0x95, 0xb4, 0x0d, 0xa3, 0xe7, 0x44, 0xfa, 0xa3, 0xed, 0x0a, 0xda, 0xde, 0x92,
  5260. 0x47, 0xe9, 0xa6, 0x89, 0x6d, 0xf4, 0xcc, 0x8d, 0xc1, 0x9b, 0x40, 0x8d, 0x97, 0x58, 0x58, 0xdd,
  5261. 0x44, 0xe4, 0x00, 0x3e, 0x00, 0x6f, 0xbc, 0x00, 0x34, 0x2c, 0x8a, 0x29, 0x9a, 0x92, 0x01, 0xdc,
  5262. 0x68, 0x3e, 0xd3, 0xf0, 0x75, 0xf0, 0xda, 0x50, 0xf7, 0x30, 0xd1, 0x19, 0xb8, 0x0e, 0xf2, 0x03,
  5263. 0x58, 0x7c, 0x96, 0x91, 0x85, 0xef, 0xcb, 0x48, 0x28, 0xa6, 0x46, 0x9b, 0xb0, 0x80, 0xe8, 0x29,
  5264. 0x96, 0x67, 0xe1, 0x2a, 0x78, 0x79, 0xe8, 0x76, 0x48, 0x2e, 0x42, 0x03, 0x1a, 0xe0, 0xdd, 0xb3,
  5265. 0x61, 0x87, 0x85, 0x8d, 0xe1, 0x4b, 0x60, 0x79, 0xb8, 0x44, 0xb4, 0x24, 0x7b, 0xf0, 0x1d, 0xf0,
  5266. 0xe6, 0x8b, 0x50, 0xc3, 0x86, 0xd8, 0x3f, 0x7d, 0x88, 0x68, 0x1b, 0x1c, 0xd0, 0xb3, 0x37, 0x1c,
  5267. 0x45, 0x37, 0x46, 0x13, 0xfe, 0x17, 0xd0, 0x06, 0x6e, 0xf6, 0xe4, 0xb2, 0x3c, 0x97, 0xe0, 0x1d,
  5268. 0x70, 0x1b, 0x19, 0xe5, 0xb5, 0xca, 0x96, 0x73, 0x06, 0xfc, 0x67, 0x12, 0x7c, 0x0f, 0xbc, 0xfd,
  5269. 0x62, 0xe0, 0xb0, 0x09, 0x7e, 0x2e, 0x41, 0x13, 0xbc, 0x7f, 0xe6, 0xf1, 0x86, 0xc9, 0x7c, 0x21,
  5270. 0xc1, 0x1b, 0xe0, 0xda, 0x60, 0x7e, 0x94, 0x87, 0x2f, 0x25, 0xb8, 0x02, 0x6e, 0x9e, 0x3a, 0x52,
  5271. 0x84, 0xfc, 0x4a, 0x82, 0x6f, 0x81, 0xfb, 0xa7, 0x41, 0x86, 0x85, 0xf1, 0x0b, 0x09, 0x3e, 0x04,
  5272. 0x0f, 0xce, 0x30, 0xc6, 0x30, 0x81, 0x5f, 0x9e, 0x32, 0x8f, 0x28, 0xd9, 0x5f, 0xbf, 0x78, 0x1e,
  5273. 0x11, 0xf2, 0x57, 0x12, 0x5c, 0x02, 0x97, 0x07, 0x43, 0xe8, 0x9e, 0xf8, 0xb5, 0x04, 0x6f, 0x81,
  5274. 0xe5, 0x53, 0x95, 0x28, 0xec, 0x37, 0x12, 0x54, 0xc0, 0x42, 0xb9, 0xe2, 0xac, 0x1b, 0x45, 0xcb,
  5275. 0x79, 0x5c, 0xb4, 0x37, 0x9d, 0x9a, 0x8d, 0xcc, 0x5a, 0x4d, 0xfe, 0xc9, 0x08, 0x0d, 0x25, 0xe1,
  5276. 0x29, 0x57, 0x22, 0xa7, 0xb3, 0x5e, 0x41, 0x8e, 0x55, 0xdc, 0x31, 0xcb, 0x14, 0xf9, 0xe9, 0x08,
  5277. 0x9c, 0x03, 0x80, 0xc2, 0xaa, 0x95, 0x62, 0xd9, 0xae, 0xc9, 0xdf, 0xce, 0xc1, 0x19, 0x30, 0x61,
  5278. 0x3e, 0xb1, 0x4d, 0x54, 0x36, 0x2c, 0xf9, 0x2f, 0xb9, 0x7b, 0x0f, 0xc1, 0xa4, 0x1d, 0xb8, 0x5e,
  5279. 0xd8, 0xf6, 0x03, 0x02, 0xef, 0x89, 0x1f, 0xb3, 0xd1, 0x5f, 0xb1, 0xa2, 0xff, 0x98, 0x5f, 0x99,
  5280. 0x3b, 0xf9, 0xe6, 0xff, 0x4c, 0xd5, 0xce, 0xad, 0x48, 0xaf, 0x49, 0xf9, 0x0b, 0xcf, 0xff, 0xb0,
  5281. 0x74, 0xee, 0xf9, 0x37, 0x4b, 0xd2, 0xd7, 0xdf, 0x2c, 0x49, 0xbf, 0xff, 0x66, 0x49, 0xfa, 0xe1,
  5282. 0x1f, 0x97, 0xce, 0xed, 0x8e, 0xb3, 0xff, 0xb8, 0xdf, 0xff, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff,
  5283. 0x34, 0x49, 0xef, 0x9b, 0xba, 0x1f, 0x00, 0x00,
  5284. }