rpc.pb.go 130 KB

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