rpc.pb.go 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862
  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. Etcd
  9. Member
  10. Tester
  11. Request
  12. Response
  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. Operation_NotStarted Operation = 0
  34. // InitialStartEtcd is only called to start etcd very first time.
  35. Operation_InitialStartEtcd Operation = 1
  36. // RestartEtcd is sent to restart killed etcd.
  37. Operation_RestartEtcd Operation = 2
  38. // KillEtcd pauses etcd process while keeping data directories
  39. // and previous etcd configurations.
  40. Operation_KillEtcd Operation = 3
  41. // FailArchive is sent when consistency check failed,
  42. // thus need to archive etcd data directories.
  43. Operation_FailArchive Operation = 4
  44. // DestroyEtcdAgent destroys etcd process, etcd data, and agent server.
  45. Operation_DestroyEtcdAgent Operation = 5
  46. Operation_BlackholePeerPortTxRx Operation = 100
  47. Operation_UnblackholePeerPortTxRx Operation = 101
  48. Operation_DelayPeerPortTxRx Operation = 102
  49. Operation_UndelayPeerPortTxRx Operation = 103
  50. )
  51. var Operation_name = map[int32]string{
  52. 0: "NotStarted",
  53. 1: "InitialStartEtcd",
  54. 2: "RestartEtcd",
  55. 3: "KillEtcd",
  56. 4: "FailArchive",
  57. 5: "DestroyEtcdAgent",
  58. 100: "BlackholePeerPortTxRx",
  59. 101: "UnblackholePeerPortTxRx",
  60. 102: "DelayPeerPortTxRx",
  61. 103: "UndelayPeerPortTxRx",
  62. }
  63. var Operation_value = map[string]int32{
  64. "NotStarted": 0,
  65. "InitialStartEtcd": 1,
  66. "RestartEtcd": 2,
  67. "KillEtcd": 3,
  68. "FailArchive": 4,
  69. "DestroyEtcdAgent": 5,
  70. "BlackholePeerPortTxRx": 100,
  71. "UnblackholePeerPortTxRx": 101,
  72. "DelayPeerPortTxRx": 102,
  73. "UndelayPeerPortTxRx": 103,
  74. }
  75. func (x Operation) String() string {
  76. return proto.EnumName(Operation_name, int32(x))
  77. }
  78. func (Operation) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{0} }
  79. type FailureCase int32
  80. const (
  81. FailureCase_KILL_ONE_FOLLOWER FailureCase = 0
  82. FailureCase_KILL_LEADER FailureCase = 1
  83. FailureCase_KILL_ONE_FOLLOWER_FOR_LONG FailureCase = 2
  84. FailureCase_KILL_LEADER_FOR_LONG FailureCase = 3
  85. FailureCase_KILL_QUORUM FailureCase = 4
  86. FailureCase_KILL_ALL FailureCase = 5
  87. FailureCase_BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER FailureCase = 6
  88. FailureCase_BLACKHOLE_PEER_PORT_TX_RX_LEADER_ONE FailureCase = 7
  89. FailureCase_BLACKHOLE_PEER_PORT_TX_RX_ALL FailureCase = 8
  90. FailureCase_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER FailureCase = 9
  91. FailureCase_DELAY_PEER_PORT_TX_RX_LEADER FailureCase = 10
  92. FailureCase_DELAY_PEER_PORT_TX_RX_ALL FailureCase = 11
  93. FailureCase_FAILPOINTS FailureCase = 100
  94. FailureCase_NO_FAIL FailureCase = 200
  95. FailureCase_EXTERNAL FailureCase = 300
  96. )
  97. var FailureCase_name = map[int32]string{
  98. 0: "KILL_ONE_FOLLOWER",
  99. 1: "KILL_LEADER",
  100. 2: "KILL_ONE_FOLLOWER_FOR_LONG",
  101. 3: "KILL_LEADER_FOR_LONG",
  102. 4: "KILL_QUORUM",
  103. 5: "KILL_ALL",
  104. 6: "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER",
  105. 7: "BLACKHOLE_PEER_PORT_TX_RX_LEADER_ONE",
  106. 8: "BLACKHOLE_PEER_PORT_TX_RX_ALL",
  107. 9: "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
  108. 10: "DELAY_PEER_PORT_TX_RX_LEADER",
  109. 11: "DELAY_PEER_PORT_TX_RX_ALL",
  110. 100: "FAILPOINTS",
  111. 200: "NO_FAIL",
  112. 300: "EXTERNAL",
  113. }
  114. var FailureCase_value = map[string]int32{
  115. "KILL_ONE_FOLLOWER": 0,
  116. "KILL_LEADER": 1,
  117. "KILL_ONE_FOLLOWER_FOR_LONG": 2,
  118. "KILL_LEADER_FOR_LONG": 3,
  119. "KILL_QUORUM": 4,
  120. "KILL_ALL": 5,
  121. "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER": 6,
  122. "BLACKHOLE_PEER_PORT_TX_RX_LEADER_ONE": 7,
  123. "BLACKHOLE_PEER_PORT_TX_RX_ALL": 8,
  124. "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER": 9,
  125. "DELAY_PEER_PORT_TX_RX_LEADER": 10,
  126. "DELAY_PEER_PORT_TX_RX_ALL": 11,
  127. "FAILPOINTS": 100,
  128. "NO_FAIL": 200,
  129. "EXTERNAL": 300,
  130. }
  131. func (x FailureCase) String() string {
  132. return proto.EnumName(FailureCase_name, int32(x))
  133. }
  134. func (FailureCase) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1} }
  135. type StressType int32
  136. const (
  137. StressType_KV StressType = 0
  138. StressType_LEASE StressType = 1
  139. StressType_NO_STRESS StressType = 2
  140. StressType_ELECTION_RUNNER StressType = 3
  141. StressType_WATCH_RUNNER StressType = 4
  142. StressType_LOCK_RACER_RUNNER StressType = 5
  143. StressType_LEASE_RUNNER StressType = 6
  144. )
  145. var StressType_name = map[int32]string{
  146. 0: "KV",
  147. 1: "LEASE",
  148. 2: "NO_STRESS",
  149. 3: "ELECTION_RUNNER",
  150. 4: "WATCH_RUNNER",
  151. 5: "LOCK_RACER_RUNNER",
  152. 6: "LEASE_RUNNER",
  153. }
  154. var StressType_value = map[string]int32{
  155. "KV": 0,
  156. "LEASE": 1,
  157. "NO_STRESS": 2,
  158. "ELECTION_RUNNER": 3,
  159. "WATCH_RUNNER": 4,
  160. "LOCK_RACER_RUNNER": 5,
  161. "LEASE_RUNNER": 6,
  162. }
  163. func (x StressType) String() string {
  164. return proto.EnumName(StressType_name, int32(x))
  165. }
  166. func (StressType) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{2} }
  167. type Etcd struct {
  168. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty" yaml:"name"`
  169. DataDir string `protobuf:"bytes,2,opt,name=DataDir,proto3" json:"DataDir,omitempty" yaml:"data-dir"`
  170. WALDir string `protobuf:"bytes,3,opt,name=WALDir,proto3" json:"WALDir,omitempty" yaml:"wal-dir"`
  171. ListenClientURLs []string `protobuf:"bytes,4,rep,name=ListenClientURLs" json:"ListenClientURLs,omitempty" yaml:"listen-client-urls"`
  172. AdvertiseClientURLs []string `protobuf:"bytes,5,rep,name=AdvertiseClientURLs" json:"AdvertiseClientURLs,omitempty" yaml:"advertise-client-urls"`
  173. ListenPeerURLs []string `protobuf:"bytes,6,rep,name=ListenPeerURLs" json:"ListenPeerURLs,omitempty" yaml:"listen-peer-urls"`
  174. InitialAdvertisePeerURLs []string `protobuf:"bytes,7,rep,name=InitialAdvertisePeerURLs" json:"InitialAdvertisePeerURLs,omitempty" yaml:"initial-advertise-peer-urls"`
  175. InitialCluster string `protobuf:"bytes,8,opt,name=InitialCluster,proto3" json:"InitialCluster,omitempty" yaml:"initial-cluster"`
  176. InitialClusterState string `protobuf:"bytes,9,opt,name=InitialClusterState,proto3" json:"InitialClusterState,omitempty" yaml:"initial-cluster-state"`
  177. InitialClusterToken string `protobuf:"bytes,10,opt,name=InitialClusterToken,proto3" json:"InitialClusterToken,omitempty" yaml:"initial-cluster-token"`
  178. SnapshotCount int64 `protobuf:"varint,11,opt,name=SnapshotCount,proto3" json:"SnapshotCount,omitempty" yaml:"snapshot-count"`
  179. QuotaBackendBytes int64 `protobuf:"varint,12,opt,name=QuotaBackendBytes,proto3" json:"QuotaBackendBytes,omitempty" yaml:"quota-backend-bytes"`
  180. PreVote bool `protobuf:"varint,13,opt,name=PreVote,proto3" json:"PreVote,omitempty" yaml:"pre-vote"`
  181. InitialCorruptCheck bool `protobuf:"varint,14,opt,name=InitialCorruptCheck,proto3" json:"InitialCorruptCheck,omitempty" yaml:"initial-corrupt-check"`
  182. }
  183. func (m *Etcd) Reset() { *m = Etcd{} }
  184. func (m *Etcd) String() string { return proto.CompactTextString(m) }
  185. func (*Etcd) ProtoMessage() {}
  186. func (*Etcd) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{0} }
  187. type Member struct {
  188. // EtcdExecPath is the executable etcd binary path in agent server.
  189. EtcdExecPath string `protobuf:"bytes,1,opt,name=EtcdExecPath,proto3" json:"EtcdExecPath,omitempty" yaml:"etcd-exec-path"`
  190. // AgentAddr is the agent HTTP server address.
  191. AgentAddr string `protobuf:"bytes,11,opt,name=AgentAddr,proto3" json:"AgentAddr,omitempty" yaml:"agent-addr"`
  192. // FailpointHTTPAddr is the agent's failpoints HTTP server address.
  193. FailpointHTTPAddr string `protobuf:"bytes,12,opt,name=FailpointHTTPAddr,proto3" json:"FailpointHTTPAddr,omitempty" yaml:"failpoint-http-addr"`
  194. // BaseDir is the base directory where all logs and etcd data are stored.
  195. BaseDir string `protobuf:"bytes,101,opt,name=BaseDir,proto3" json:"BaseDir,omitempty" yaml:"base-dir"`
  196. // EtcdLogPath is the log file to store current etcd server logs.
  197. EtcdLogPath string `protobuf:"bytes,102,opt,name=EtcdLogPath,proto3" json:"EtcdLogPath,omitempty" yaml:"etcd-log-path"`
  198. // EtcdClientTLS is true when client traffic needs to be encrypted.
  199. EtcdClientTLS bool `protobuf:"varint,201,opt,name=EtcdClientTLS,proto3" json:"EtcdClientTLS,omitempty" yaml:"etcd-client-tls"`
  200. // EtcdClientProxy is true when client traffic needs to be proxied.
  201. // If true, listen client URL port must be different than advertise client URL port.
  202. EtcdClientProxy bool `protobuf:"varint,202,opt,name=EtcdClientProxy,proto3" json:"EtcdClientProxy,omitempty" yaml:"etcd-client-proxy"`
  203. // EtcdPeerProxy is true when peer traffic needs to be proxied.
  204. // If true, listen peer URL port must be different than advertise peer URL port.
  205. EtcdPeerProxy bool `protobuf:"varint,203,opt,name=EtcdPeerProxy,proto3" json:"EtcdPeerProxy,omitempty" yaml:"etcd-peer-proxy"`
  206. // EtcdClientEndpoint is the etcd client endpoint.
  207. EtcdClientEndpoint string `protobuf:"bytes,204,opt,name=EtcdClientEndpoint,proto3" json:"EtcdClientEndpoint,omitempty" yaml:"etcd-client-endpoint"`
  208. // Etcd defines etcd binary configuration flags.
  209. Etcd *Etcd `protobuf:"bytes,301,opt,name=Etcd" json:"Etcd,omitempty" yaml:"etcd-config"`
  210. }
  211. func (m *Member) Reset() { *m = Member{} }
  212. func (m *Member) String() string { return proto.CompactTextString(m) }
  213. func (*Member) ProtoMessage() {}
  214. func (*Member) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1} }
  215. type Tester struct {
  216. TesterNetwork string `protobuf:"bytes,1,opt,name=TesterNetwork,proto3" json:"TesterNetwork,omitempty" yaml:"tester-network"`
  217. TesterAddr string `protobuf:"bytes,2,opt,name=TesterAddr,proto3" json:"TesterAddr,omitempty" yaml:"tester-addr"`
  218. // DelayLatencyMsRv is the delay latency in milliseconds,
  219. // to inject to simulated slow network.
  220. DelayLatencyMs uint32 `protobuf:"varint,11,opt,name=DelayLatencyMs,proto3" json:"DelayLatencyMs,omitempty" yaml:"delay-latency-ms"`
  221. // DelayLatencyMsRv is the delay latency random variable in milliseconds.
  222. DelayLatencyMsRv uint32 `protobuf:"varint,12,opt,name=DelayLatencyMsRv,proto3" json:"DelayLatencyMsRv,omitempty" yaml:"delay-latency-ms-rv"`
  223. // RoundLimit is the limit of rounds to run failure set (-1 to run without limits).
  224. RoundLimit int32 `protobuf:"varint,21,opt,name=RoundLimit,proto3" json:"RoundLimit,omitempty" yaml:"round-limit"`
  225. // ExitOnFailure is true, then exit tester on first failure.
  226. ExitOnFailure bool `protobuf:"varint,22,opt,name=ExitOnFailure,proto3" json:"ExitOnFailure,omitempty" yaml:"exit-on-failure"`
  227. // ConsistencyCheck is true to check consistency (revision, hash).
  228. ConsistencyCheck bool `protobuf:"varint,23,opt,name=ConsistencyCheck,proto3" json:"ConsistencyCheck,omitempty" yaml:"consistency-check"`
  229. // EnablePprof is true to enable profiler.
  230. EnablePprof bool `protobuf:"varint,24,opt,name=EnablePprof,proto3" json:"EnablePprof,omitempty" yaml:"enable-pprof"`
  231. // FailureCases is the selected test cases to schedule.
  232. // If empty, run all failure cases.
  233. // TODO: support no-op
  234. FailureCases []string `protobuf:"bytes,31,rep,name=FailureCases" json:"FailureCases,omitempty" yaml:"failure-cases"`
  235. // FailureShuffle is true to randomize failure injecting order.
  236. // TODO: support shuffle
  237. // bool FailureShuffle = 32 [(gogoproto.moretags) = "yaml:\"failure-shuffle\""];
  238. // FailpointCommands is the list of "gofail" commands (e.g. panic("etcd-tester"),1*sleep(1000)).
  239. FailpointCommands []string `protobuf:"bytes,33,rep,name=FailpointCommands" json:"FailpointCommands,omitempty" yaml:"failpoint-commands"`
  240. // RunnerExecPath is a path of etcd-runner binary.
  241. RunnerExecPath string `protobuf:"bytes,41,opt,name=RunnerExecPath,proto3" json:"RunnerExecPath,omitempty" yaml:"runner-exec-path"`
  242. // ExternalExecPath is a path of script for enabling/disabling an external fault injector.
  243. ExternalExecPath string `protobuf:"bytes,42,opt,name=ExternalExecPath,proto3" json:"ExternalExecPath,omitempty" yaml:"external-exec-path"`
  244. // StressTypes is the list of stresser names:
  245. // keys, lease, nop, election-runner, watch-runner, lock-racer-runner, lease-runner.
  246. StressTypes []string `protobuf:"bytes,101,rep,name=StressTypes" json:"StressTypes,omitempty" yaml:"stress-types"`
  247. // StressKeySize is the size of each small key written into etcd.
  248. StressKeySize int32 `protobuf:"varint,102,opt,name=StressKeySize,proto3" json:"StressKeySize,omitempty" yaml:"stress-key-size"`
  249. // StressKeySizeLarge is the size of each large key written into etcd.
  250. StressKeySizeLarge int32 `protobuf:"varint,103,opt,name=StressKeySizeLarge,proto3" json:"StressKeySizeLarge,omitempty" yaml:"stress-key-size-large"`
  251. // StressKeySuffixRange is the count of key range written into etcd.
  252. // Stress keys are created with "fmt.Sprintf("foo%016x", rand.Intn(keySuffixRange)".
  253. StressKeySuffixRange int32 `protobuf:"varint,104,opt,name=StressKeySuffixRange,proto3" json:"StressKeySuffixRange,omitempty" yaml:"stress-key-suffix-range"`
  254. // StressKeySuffixRangeTxn is the count of key range written into etcd txn (max 100).
  255. // Stress keys are created with "fmt.Sprintf("/k%03d", i)".
  256. StressKeySuffixRangeTxn int32 `protobuf:"varint,105,opt,name=StressKeySuffixRangeTxn,proto3" json:"StressKeySuffixRangeTxn,omitempty" yaml:"stress-key-suffix-range-txn"`
  257. // StressKeyTxnOps is the number of operations per a transaction (max 64).
  258. StressKeyTxnOps int32 `protobuf:"varint,106,opt,name=StressKeyTxnOps,proto3" json:"StressKeyTxnOps,omitempty" yaml:"stress-key-txn-ops"`
  259. // StressQPS is the maximum number of stresser requests per second.
  260. StressQPS int32 `protobuf:"varint,107,opt,name=StressQPS,proto3" json:"StressQPS,omitempty" yaml:"stress-qps"`
  261. }
  262. func (m *Tester) Reset() { *m = Tester{} }
  263. func (m *Tester) String() string { return proto.CompactTextString(m) }
  264. func (*Tester) ProtoMessage() {}
  265. func (*Tester) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{2} }
  266. type Request struct {
  267. Operation Operation `protobuf:"varint,1,opt,name=Operation,proto3,enum=rpcpb.Operation" json:"Operation,omitempty"`
  268. Member *Member `protobuf:"bytes,2,opt,name=Member" json:"Member,omitempty"`
  269. Tester *Tester `protobuf:"bytes,3,opt,name=Tester" json:"Tester,omitempty"`
  270. }
  271. func (m *Request) Reset() { *m = Request{} }
  272. func (m *Request) String() string { return proto.CompactTextString(m) }
  273. func (*Request) ProtoMessage() {}
  274. func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{3} }
  275. type Response struct {
  276. Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
  277. Status string `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
  278. }
  279. func (m *Response) Reset() { *m = Response{} }
  280. func (m *Response) String() string { return proto.CompactTextString(m) }
  281. func (*Response) ProtoMessage() {}
  282. func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{4} }
  283. func init() {
  284. proto.RegisterType((*Etcd)(nil), "rpcpb.Etcd")
  285. proto.RegisterType((*Member)(nil), "rpcpb.Member")
  286. proto.RegisterType((*Tester)(nil), "rpcpb.Tester")
  287. proto.RegisterType((*Request)(nil), "rpcpb.Request")
  288. proto.RegisterType((*Response)(nil), "rpcpb.Response")
  289. proto.RegisterEnum("rpcpb.Operation", Operation_name, Operation_value)
  290. proto.RegisterEnum("rpcpb.FailureCase", FailureCase_name, FailureCase_value)
  291. proto.RegisterEnum("rpcpb.StressType", StressType_name, StressType_value)
  292. }
  293. // Reference imports to suppress errors if they are not otherwise used.
  294. var _ context.Context
  295. var _ grpc.ClientConn
  296. // This is a compile-time assertion to ensure that this generated file
  297. // is compatible with the grpc package it is being compiled against.
  298. const _ = grpc.SupportPackageIsVersion4
  299. // Client API for Transport service
  300. type TransportClient interface {
  301. Transport(ctx context.Context, opts ...grpc.CallOption) (Transport_TransportClient, error)
  302. }
  303. type transportClient struct {
  304. cc *grpc.ClientConn
  305. }
  306. func NewTransportClient(cc *grpc.ClientConn) TransportClient {
  307. return &transportClient{cc}
  308. }
  309. func (c *transportClient) Transport(ctx context.Context, opts ...grpc.CallOption) (Transport_TransportClient, error) {
  310. stream, err := grpc.NewClientStream(ctx, &_Transport_serviceDesc.Streams[0], c.cc, "/rpcpb.Transport/Transport", opts...)
  311. if err != nil {
  312. return nil, err
  313. }
  314. x := &transportTransportClient{stream}
  315. return x, nil
  316. }
  317. type Transport_TransportClient interface {
  318. Send(*Request) error
  319. Recv() (*Response, error)
  320. grpc.ClientStream
  321. }
  322. type transportTransportClient struct {
  323. grpc.ClientStream
  324. }
  325. func (x *transportTransportClient) Send(m *Request) error {
  326. return x.ClientStream.SendMsg(m)
  327. }
  328. func (x *transportTransportClient) Recv() (*Response, error) {
  329. m := new(Response)
  330. if err := x.ClientStream.RecvMsg(m); err != nil {
  331. return nil, err
  332. }
  333. return m, nil
  334. }
  335. // Server API for Transport service
  336. type TransportServer interface {
  337. Transport(Transport_TransportServer) error
  338. }
  339. func RegisterTransportServer(s *grpc.Server, srv TransportServer) {
  340. s.RegisterService(&_Transport_serviceDesc, srv)
  341. }
  342. func _Transport_Transport_Handler(srv interface{}, stream grpc.ServerStream) error {
  343. return srv.(TransportServer).Transport(&transportTransportServer{stream})
  344. }
  345. type Transport_TransportServer interface {
  346. Send(*Response) error
  347. Recv() (*Request, error)
  348. grpc.ServerStream
  349. }
  350. type transportTransportServer struct {
  351. grpc.ServerStream
  352. }
  353. func (x *transportTransportServer) Send(m *Response) error {
  354. return x.ServerStream.SendMsg(m)
  355. }
  356. func (x *transportTransportServer) Recv() (*Request, error) {
  357. m := new(Request)
  358. if err := x.ServerStream.RecvMsg(m); err != nil {
  359. return nil, err
  360. }
  361. return m, nil
  362. }
  363. var _Transport_serviceDesc = grpc.ServiceDesc{
  364. ServiceName: "rpcpb.Transport",
  365. HandlerType: (*TransportServer)(nil),
  366. Methods: []grpc.MethodDesc{},
  367. Streams: []grpc.StreamDesc{
  368. {
  369. StreamName: "Transport",
  370. Handler: _Transport_Transport_Handler,
  371. ServerStreams: true,
  372. ClientStreams: true,
  373. },
  374. },
  375. Metadata: "rpcpb/rpc.proto",
  376. }
  377. func (m *Etcd) Marshal() (dAtA []byte, err error) {
  378. size := m.Size()
  379. dAtA = make([]byte, size)
  380. n, err := m.MarshalTo(dAtA)
  381. if err != nil {
  382. return nil, err
  383. }
  384. return dAtA[:n], nil
  385. }
  386. func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
  387. var i int
  388. _ = i
  389. var l int
  390. _ = l
  391. if len(m.Name) > 0 {
  392. dAtA[i] = 0xa
  393. i++
  394. i = encodeVarintRpc(dAtA, i, uint64(len(m.Name)))
  395. i += copy(dAtA[i:], m.Name)
  396. }
  397. if len(m.DataDir) > 0 {
  398. dAtA[i] = 0x12
  399. i++
  400. i = encodeVarintRpc(dAtA, i, uint64(len(m.DataDir)))
  401. i += copy(dAtA[i:], m.DataDir)
  402. }
  403. if len(m.WALDir) > 0 {
  404. dAtA[i] = 0x1a
  405. i++
  406. i = encodeVarintRpc(dAtA, i, uint64(len(m.WALDir)))
  407. i += copy(dAtA[i:], m.WALDir)
  408. }
  409. if len(m.ListenClientURLs) > 0 {
  410. for _, s := range m.ListenClientURLs {
  411. dAtA[i] = 0x22
  412. i++
  413. l = len(s)
  414. for l >= 1<<7 {
  415. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  416. l >>= 7
  417. i++
  418. }
  419. dAtA[i] = uint8(l)
  420. i++
  421. i += copy(dAtA[i:], s)
  422. }
  423. }
  424. if len(m.AdvertiseClientURLs) > 0 {
  425. for _, s := range m.AdvertiseClientURLs {
  426. dAtA[i] = 0x2a
  427. i++
  428. l = len(s)
  429. for l >= 1<<7 {
  430. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  431. l >>= 7
  432. i++
  433. }
  434. dAtA[i] = uint8(l)
  435. i++
  436. i += copy(dAtA[i:], s)
  437. }
  438. }
  439. if len(m.ListenPeerURLs) > 0 {
  440. for _, s := range m.ListenPeerURLs {
  441. dAtA[i] = 0x32
  442. i++
  443. l = len(s)
  444. for l >= 1<<7 {
  445. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  446. l >>= 7
  447. i++
  448. }
  449. dAtA[i] = uint8(l)
  450. i++
  451. i += copy(dAtA[i:], s)
  452. }
  453. }
  454. if len(m.InitialAdvertisePeerURLs) > 0 {
  455. for _, s := range m.InitialAdvertisePeerURLs {
  456. dAtA[i] = 0x3a
  457. i++
  458. l = len(s)
  459. for l >= 1<<7 {
  460. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  461. l >>= 7
  462. i++
  463. }
  464. dAtA[i] = uint8(l)
  465. i++
  466. i += copy(dAtA[i:], s)
  467. }
  468. }
  469. if len(m.InitialCluster) > 0 {
  470. dAtA[i] = 0x42
  471. i++
  472. i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialCluster)))
  473. i += copy(dAtA[i:], m.InitialCluster)
  474. }
  475. if len(m.InitialClusterState) > 0 {
  476. dAtA[i] = 0x4a
  477. i++
  478. i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialClusterState)))
  479. i += copy(dAtA[i:], m.InitialClusterState)
  480. }
  481. if len(m.InitialClusterToken) > 0 {
  482. dAtA[i] = 0x52
  483. i++
  484. i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialClusterToken)))
  485. i += copy(dAtA[i:], m.InitialClusterToken)
  486. }
  487. if m.SnapshotCount != 0 {
  488. dAtA[i] = 0x58
  489. i++
  490. i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotCount))
  491. }
  492. if m.QuotaBackendBytes != 0 {
  493. dAtA[i] = 0x60
  494. i++
  495. i = encodeVarintRpc(dAtA, i, uint64(m.QuotaBackendBytes))
  496. }
  497. if m.PreVote {
  498. dAtA[i] = 0x68
  499. i++
  500. if m.PreVote {
  501. dAtA[i] = 1
  502. } else {
  503. dAtA[i] = 0
  504. }
  505. i++
  506. }
  507. if m.InitialCorruptCheck {
  508. dAtA[i] = 0x70
  509. i++
  510. if m.InitialCorruptCheck {
  511. dAtA[i] = 1
  512. } else {
  513. dAtA[i] = 0
  514. }
  515. i++
  516. }
  517. return i, nil
  518. }
  519. func (m *Member) Marshal() (dAtA []byte, err error) {
  520. size := m.Size()
  521. dAtA = make([]byte, size)
  522. n, err := m.MarshalTo(dAtA)
  523. if err != nil {
  524. return nil, err
  525. }
  526. return dAtA[:n], nil
  527. }
  528. func (m *Member) MarshalTo(dAtA []byte) (int, error) {
  529. var i int
  530. _ = i
  531. var l int
  532. _ = l
  533. if len(m.EtcdExecPath) > 0 {
  534. dAtA[i] = 0xa
  535. i++
  536. i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdExecPath)))
  537. i += copy(dAtA[i:], m.EtcdExecPath)
  538. }
  539. if len(m.AgentAddr) > 0 {
  540. dAtA[i] = 0x5a
  541. i++
  542. i = encodeVarintRpc(dAtA, i, uint64(len(m.AgentAddr)))
  543. i += copy(dAtA[i:], m.AgentAddr)
  544. }
  545. if len(m.FailpointHTTPAddr) > 0 {
  546. dAtA[i] = 0x62
  547. i++
  548. i = encodeVarintRpc(dAtA, i, uint64(len(m.FailpointHTTPAddr)))
  549. i += copy(dAtA[i:], m.FailpointHTTPAddr)
  550. }
  551. if len(m.BaseDir) > 0 {
  552. dAtA[i] = 0xaa
  553. i++
  554. dAtA[i] = 0x6
  555. i++
  556. i = encodeVarintRpc(dAtA, i, uint64(len(m.BaseDir)))
  557. i += copy(dAtA[i:], m.BaseDir)
  558. }
  559. if len(m.EtcdLogPath) > 0 {
  560. dAtA[i] = 0xb2
  561. i++
  562. dAtA[i] = 0x6
  563. i++
  564. i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdLogPath)))
  565. i += copy(dAtA[i:], m.EtcdLogPath)
  566. }
  567. if m.EtcdClientTLS {
  568. dAtA[i] = 0xc8
  569. i++
  570. dAtA[i] = 0xc
  571. i++
  572. if m.EtcdClientTLS {
  573. dAtA[i] = 1
  574. } else {
  575. dAtA[i] = 0
  576. }
  577. i++
  578. }
  579. if m.EtcdClientProxy {
  580. dAtA[i] = 0xd0
  581. i++
  582. dAtA[i] = 0xc
  583. i++
  584. if m.EtcdClientProxy {
  585. dAtA[i] = 1
  586. } else {
  587. dAtA[i] = 0
  588. }
  589. i++
  590. }
  591. if m.EtcdPeerProxy {
  592. dAtA[i] = 0xd8
  593. i++
  594. dAtA[i] = 0xc
  595. i++
  596. if m.EtcdPeerProxy {
  597. dAtA[i] = 1
  598. } else {
  599. dAtA[i] = 0
  600. }
  601. i++
  602. }
  603. if len(m.EtcdClientEndpoint) > 0 {
  604. dAtA[i] = 0xe2
  605. i++
  606. dAtA[i] = 0xc
  607. i++
  608. i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdClientEndpoint)))
  609. i += copy(dAtA[i:], m.EtcdClientEndpoint)
  610. }
  611. if m.Etcd != nil {
  612. dAtA[i] = 0xea
  613. i++
  614. dAtA[i] = 0x12
  615. i++
  616. i = encodeVarintRpc(dAtA, i, uint64(m.Etcd.Size()))
  617. n1, err := m.Etcd.MarshalTo(dAtA[i:])
  618. if err != nil {
  619. return 0, err
  620. }
  621. i += n1
  622. }
  623. return i, nil
  624. }
  625. func (m *Tester) Marshal() (dAtA []byte, err error) {
  626. size := m.Size()
  627. dAtA = make([]byte, size)
  628. n, err := m.MarshalTo(dAtA)
  629. if err != nil {
  630. return nil, err
  631. }
  632. return dAtA[:n], nil
  633. }
  634. func (m *Tester) MarshalTo(dAtA []byte) (int, error) {
  635. var i int
  636. _ = i
  637. var l int
  638. _ = l
  639. if len(m.TesterNetwork) > 0 {
  640. dAtA[i] = 0xa
  641. i++
  642. i = encodeVarintRpc(dAtA, i, uint64(len(m.TesterNetwork)))
  643. i += copy(dAtA[i:], m.TesterNetwork)
  644. }
  645. if len(m.TesterAddr) > 0 {
  646. dAtA[i] = 0x12
  647. i++
  648. i = encodeVarintRpc(dAtA, i, uint64(len(m.TesterAddr)))
  649. i += copy(dAtA[i:], m.TesterAddr)
  650. }
  651. if m.DelayLatencyMs != 0 {
  652. dAtA[i] = 0x58
  653. i++
  654. i = encodeVarintRpc(dAtA, i, uint64(m.DelayLatencyMs))
  655. }
  656. if m.DelayLatencyMsRv != 0 {
  657. dAtA[i] = 0x60
  658. i++
  659. i = encodeVarintRpc(dAtA, i, uint64(m.DelayLatencyMsRv))
  660. }
  661. if m.RoundLimit != 0 {
  662. dAtA[i] = 0xa8
  663. i++
  664. dAtA[i] = 0x1
  665. i++
  666. i = encodeVarintRpc(dAtA, i, uint64(m.RoundLimit))
  667. }
  668. if m.ExitOnFailure {
  669. dAtA[i] = 0xb0
  670. i++
  671. dAtA[i] = 0x1
  672. i++
  673. if m.ExitOnFailure {
  674. dAtA[i] = 1
  675. } else {
  676. dAtA[i] = 0
  677. }
  678. i++
  679. }
  680. if m.ConsistencyCheck {
  681. dAtA[i] = 0xb8
  682. i++
  683. dAtA[i] = 0x1
  684. i++
  685. if m.ConsistencyCheck {
  686. dAtA[i] = 1
  687. } else {
  688. dAtA[i] = 0
  689. }
  690. i++
  691. }
  692. if m.EnablePprof {
  693. dAtA[i] = 0xc0
  694. i++
  695. dAtA[i] = 0x1
  696. i++
  697. if m.EnablePprof {
  698. dAtA[i] = 1
  699. } else {
  700. dAtA[i] = 0
  701. }
  702. i++
  703. }
  704. if len(m.FailureCases) > 0 {
  705. for _, s := range m.FailureCases {
  706. dAtA[i] = 0xfa
  707. i++
  708. dAtA[i] = 0x1
  709. i++
  710. l = len(s)
  711. for l >= 1<<7 {
  712. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  713. l >>= 7
  714. i++
  715. }
  716. dAtA[i] = uint8(l)
  717. i++
  718. i += copy(dAtA[i:], s)
  719. }
  720. }
  721. if len(m.FailpointCommands) > 0 {
  722. for _, s := range m.FailpointCommands {
  723. dAtA[i] = 0x8a
  724. i++
  725. dAtA[i] = 0x2
  726. i++
  727. l = len(s)
  728. for l >= 1<<7 {
  729. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  730. l >>= 7
  731. i++
  732. }
  733. dAtA[i] = uint8(l)
  734. i++
  735. i += copy(dAtA[i:], s)
  736. }
  737. }
  738. if len(m.RunnerExecPath) > 0 {
  739. dAtA[i] = 0xca
  740. i++
  741. dAtA[i] = 0x2
  742. i++
  743. i = encodeVarintRpc(dAtA, i, uint64(len(m.RunnerExecPath)))
  744. i += copy(dAtA[i:], m.RunnerExecPath)
  745. }
  746. if len(m.ExternalExecPath) > 0 {
  747. dAtA[i] = 0xd2
  748. i++
  749. dAtA[i] = 0x2
  750. i++
  751. i = encodeVarintRpc(dAtA, i, uint64(len(m.ExternalExecPath)))
  752. i += copy(dAtA[i:], m.ExternalExecPath)
  753. }
  754. if len(m.StressTypes) > 0 {
  755. for _, s := range m.StressTypes {
  756. dAtA[i] = 0xaa
  757. i++
  758. dAtA[i] = 0x6
  759. i++
  760. l = len(s)
  761. for l >= 1<<7 {
  762. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  763. l >>= 7
  764. i++
  765. }
  766. dAtA[i] = uint8(l)
  767. i++
  768. i += copy(dAtA[i:], s)
  769. }
  770. }
  771. if m.StressKeySize != 0 {
  772. dAtA[i] = 0xb0
  773. i++
  774. dAtA[i] = 0x6
  775. i++
  776. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySize))
  777. }
  778. if m.StressKeySizeLarge != 0 {
  779. dAtA[i] = 0xb8
  780. i++
  781. dAtA[i] = 0x6
  782. i++
  783. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySizeLarge))
  784. }
  785. if m.StressKeySuffixRange != 0 {
  786. dAtA[i] = 0xc0
  787. i++
  788. dAtA[i] = 0x6
  789. i++
  790. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRange))
  791. }
  792. if m.StressKeySuffixRangeTxn != 0 {
  793. dAtA[i] = 0xc8
  794. i++
  795. dAtA[i] = 0x6
  796. i++
  797. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRangeTxn))
  798. }
  799. if m.StressKeyTxnOps != 0 {
  800. dAtA[i] = 0xd0
  801. i++
  802. dAtA[i] = 0x6
  803. i++
  804. i = encodeVarintRpc(dAtA, i, uint64(m.StressKeyTxnOps))
  805. }
  806. if m.StressQPS != 0 {
  807. dAtA[i] = 0xd8
  808. i++
  809. dAtA[i] = 0x6
  810. i++
  811. i = encodeVarintRpc(dAtA, i, uint64(m.StressQPS))
  812. }
  813. return i, nil
  814. }
  815. func (m *Request) Marshal() (dAtA []byte, err error) {
  816. size := m.Size()
  817. dAtA = make([]byte, size)
  818. n, err := m.MarshalTo(dAtA)
  819. if err != nil {
  820. return nil, err
  821. }
  822. return dAtA[:n], nil
  823. }
  824. func (m *Request) MarshalTo(dAtA []byte) (int, error) {
  825. var i int
  826. _ = i
  827. var l int
  828. _ = l
  829. if m.Operation != 0 {
  830. dAtA[i] = 0x8
  831. i++
  832. i = encodeVarintRpc(dAtA, i, uint64(m.Operation))
  833. }
  834. if m.Member != nil {
  835. dAtA[i] = 0x12
  836. i++
  837. i = encodeVarintRpc(dAtA, i, uint64(m.Member.Size()))
  838. n2, err := m.Member.MarshalTo(dAtA[i:])
  839. if err != nil {
  840. return 0, err
  841. }
  842. i += n2
  843. }
  844. if m.Tester != nil {
  845. dAtA[i] = 0x1a
  846. i++
  847. i = encodeVarintRpc(dAtA, i, uint64(m.Tester.Size()))
  848. n3, err := m.Tester.MarshalTo(dAtA[i:])
  849. if err != nil {
  850. return 0, err
  851. }
  852. i += n3
  853. }
  854. return i, nil
  855. }
  856. func (m *Response) Marshal() (dAtA []byte, err error) {
  857. size := m.Size()
  858. dAtA = make([]byte, size)
  859. n, err := m.MarshalTo(dAtA)
  860. if err != nil {
  861. return nil, err
  862. }
  863. return dAtA[:n], nil
  864. }
  865. func (m *Response) MarshalTo(dAtA []byte) (int, error) {
  866. var i int
  867. _ = i
  868. var l int
  869. _ = l
  870. if m.Success {
  871. dAtA[i] = 0x8
  872. i++
  873. if m.Success {
  874. dAtA[i] = 1
  875. } else {
  876. dAtA[i] = 0
  877. }
  878. i++
  879. }
  880. if len(m.Status) > 0 {
  881. dAtA[i] = 0x12
  882. i++
  883. i = encodeVarintRpc(dAtA, i, uint64(len(m.Status)))
  884. i += copy(dAtA[i:], m.Status)
  885. }
  886. return i, nil
  887. }
  888. func encodeVarintRpc(dAtA []byte, offset int, v uint64) int {
  889. for v >= 1<<7 {
  890. dAtA[offset] = uint8(v&0x7f | 0x80)
  891. v >>= 7
  892. offset++
  893. }
  894. dAtA[offset] = uint8(v)
  895. return offset + 1
  896. }
  897. func (m *Etcd) Size() (n int) {
  898. var l int
  899. _ = l
  900. l = len(m.Name)
  901. if l > 0 {
  902. n += 1 + l + sovRpc(uint64(l))
  903. }
  904. l = len(m.DataDir)
  905. if l > 0 {
  906. n += 1 + l + sovRpc(uint64(l))
  907. }
  908. l = len(m.WALDir)
  909. if l > 0 {
  910. n += 1 + l + sovRpc(uint64(l))
  911. }
  912. if len(m.ListenClientURLs) > 0 {
  913. for _, s := range m.ListenClientURLs {
  914. l = len(s)
  915. n += 1 + l + sovRpc(uint64(l))
  916. }
  917. }
  918. if len(m.AdvertiseClientURLs) > 0 {
  919. for _, s := range m.AdvertiseClientURLs {
  920. l = len(s)
  921. n += 1 + l + sovRpc(uint64(l))
  922. }
  923. }
  924. if len(m.ListenPeerURLs) > 0 {
  925. for _, s := range m.ListenPeerURLs {
  926. l = len(s)
  927. n += 1 + l + sovRpc(uint64(l))
  928. }
  929. }
  930. if len(m.InitialAdvertisePeerURLs) > 0 {
  931. for _, s := range m.InitialAdvertisePeerURLs {
  932. l = len(s)
  933. n += 1 + l + sovRpc(uint64(l))
  934. }
  935. }
  936. l = len(m.InitialCluster)
  937. if l > 0 {
  938. n += 1 + l + sovRpc(uint64(l))
  939. }
  940. l = len(m.InitialClusterState)
  941. if l > 0 {
  942. n += 1 + l + sovRpc(uint64(l))
  943. }
  944. l = len(m.InitialClusterToken)
  945. if l > 0 {
  946. n += 1 + l + sovRpc(uint64(l))
  947. }
  948. if m.SnapshotCount != 0 {
  949. n += 1 + sovRpc(uint64(m.SnapshotCount))
  950. }
  951. if m.QuotaBackendBytes != 0 {
  952. n += 1 + sovRpc(uint64(m.QuotaBackendBytes))
  953. }
  954. if m.PreVote {
  955. n += 2
  956. }
  957. if m.InitialCorruptCheck {
  958. n += 2
  959. }
  960. return n
  961. }
  962. func (m *Member) Size() (n int) {
  963. var l int
  964. _ = l
  965. l = len(m.EtcdExecPath)
  966. if l > 0 {
  967. n += 1 + l + sovRpc(uint64(l))
  968. }
  969. l = len(m.AgentAddr)
  970. if l > 0 {
  971. n += 1 + l + sovRpc(uint64(l))
  972. }
  973. l = len(m.FailpointHTTPAddr)
  974. if l > 0 {
  975. n += 1 + l + sovRpc(uint64(l))
  976. }
  977. l = len(m.BaseDir)
  978. if l > 0 {
  979. n += 2 + l + sovRpc(uint64(l))
  980. }
  981. l = len(m.EtcdLogPath)
  982. if l > 0 {
  983. n += 2 + l + sovRpc(uint64(l))
  984. }
  985. if m.EtcdClientTLS {
  986. n += 3
  987. }
  988. if m.EtcdClientProxy {
  989. n += 3
  990. }
  991. if m.EtcdPeerProxy {
  992. n += 3
  993. }
  994. l = len(m.EtcdClientEndpoint)
  995. if l > 0 {
  996. n += 2 + l + sovRpc(uint64(l))
  997. }
  998. if m.Etcd != nil {
  999. l = m.Etcd.Size()
  1000. n += 2 + l + sovRpc(uint64(l))
  1001. }
  1002. return n
  1003. }
  1004. func (m *Tester) Size() (n int) {
  1005. var l int
  1006. _ = l
  1007. l = len(m.TesterNetwork)
  1008. if l > 0 {
  1009. n += 1 + l + sovRpc(uint64(l))
  1010. }
  1011. l = len(m.TesterAddr)
  1012. if l > 0 {
  1013. n += 1 + l + sovRpc(uint64(l))
  1014. }
  1015. if m.DelayLatencyMs != 0 {
  1016. n += 1 + sovRpc(uint64(m.DelayLatencyMs))
  1017. }
  1018. if m.DelayLatencyMsRv != 0 {
  1019. n += 1 + sovRpc(uint64(m.DelayLatencyMsRv))
  1020. }
  1021. if m.RoundLimit != 0 {
  1022. n += 2 + sovRpc(uint64(m.RoundLimit))
  1023. }
  1024. if m.ExitOnFailure {
  1025. n += 3
  1026. }
  1027. if m.ConsistencyCheck {
  1028. n += 3
  1029. }
  1030. if m.EnablePprof {
  1031. n += 3
  1032. }
  1033. if len(m.FailureCases) > 0 {
  1034. for _, s := range m.FailureCases {
  1035. l = len(s)
  1036. n += 2 + l + sovRpc(uint64(l))
  1037. }
  1038. }
  1039. if len(m.FailpointCommands) > 0 {
  1040. for _, s := range m.FailpointCommands {
  1041. l = len(s)
  1042. n += 2 + l + sovRpc(uint64(l))
  1043. }
  1044. }
  1045. l = len(m.RunnerExecPath)
  1046. if l > 0 {
  1047. n += 2 + l + sovRpc(uint64(l))
  1048. }
  1049. l = len(m.ExternalExecPath)
  1050. if l > 0 {
  1051. n += 2 + l + sovRpc(uint64(l))
  1052. }
  1053. if len(m.StressTypes) > 0 {
  1054. for _, s := range m.StressTypes {
  1055. l = len(s)
  1056. n += 2 + l + sovRpc(uint64(l))
  1057. }
  1058. }
  1059. if m.StressKeySize != 0 {
  1060. n += 2 + sovRpc(uint64(m.StressKeySize))
  1061. }
  1062. if m.StressKeySizeLarge != 0 {
  1063. n += 2 + sovRpc(uint64(m.StressKeySizeLarge))
  1064. }
  1065. if m.StressKeySuffixRange != 0 {
  1066. n += 2 + sovRpc(uint64(m.StressKeySuffixRange))
  1067. }
  1068. if m.StressKeySuffixRangeTxn != 0 {
  1069. n += 2 + sovRpc(uint64(m.StressKeySuffixRangeTxn))
  1070. }
  1071. if m.StressKeyTxnOps != 0 {
  1072. n += 2 + sovRpc(uint64(m.StressKeyTxnOps))
  1073. }
  1074. if m.StressQPS != 0 {
  1075. n += 2 + sovRpc(uint64(m.StressQPS))
  1076. }
  1077. return n
  1078. }
  1079. func (m *Request) Size() (n int) {
  1080. var l int
  1081. _ = l
  1082. if m.Operation != 0 {
  1083. n += 1 + sovRpc(uint64(m.Operation))
  1084. }
  1085. if m.Member != nil {
  1086. l = m.Member.Size()
  1087. n += 1 + l + sovRpc(uint64(l))
  1088. }
  1089. if m.Tester != nil {
  1090. l = m.Tester.Size()
  1091. n += 1 + l + sovRpc(uint64(l))
  1092. }
  1093. return n
  1094. }
  1095. func (m *Response) Size() (n int) {
  1096. var l int
  1097. _ = l
  1098. if m.Success {
  1099. n += 2
  1100. }
  1101. l = len(m.Status)
  1102. if l > 0 {
  1103. n += 1 + l + sovRpc(uint64(l))
  1104. }
  1105. return n
  1106. }
  1107. func sovRpc(x uint64) (n int) {
  1108. for {
  1109. n++
  1110. x >>= 7
  1111. if x == 0 {
  1112. break
  1113. }
  1114. }
  1115. return n
  1116. }
  1117. func sozRpc(x uint64) (n int) {
  1118. return sovRpc(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1119. }
  1120. func (m *Etcd) Unmarshal(dAtA []byte) error {
  1121. l := len(dAtA)
  1122. iNdEx := 0
  1123. for iNdEx < l {
  1124. preIndex := iNdEx
  1125. var wire uint64
  1126. for shift := uint(0); ; shift += 7 {
  1127. if shift >= 64 {
  1128. return ErrIntOverflowRpc
  1129. }
  1130. if iNdEx >= l {
  1131. return io.ErrUnexpectedEOF
  1132. }
  1133. b := dAtA[iNdEx]
  1134. iNdEx++
  1135. wire |= (uint64(b) & 0x7F) << shift
  1136. if b < 0x80 {
  1137. break
  1138. }
  1139. }
  1140. fieldNum := int32(wire >> 3)
  1141. wireType := int(wire & 0x7)
  1142. if wireType == 4 {
  1143. return fmt.Errorf("proto: Etcd: wiretype end group for non-group")
  1144. }
  1145. if fieldNum <= 0 {
  1146. return fmt.Errorf("proto: Etcd: illegal tag %d (wire type %d)", fieldNum, wire)
  1147. }
  1148. switch fieldNum {
  1149. case 1:
  1150. if wireType != 2 {
  1151. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1152. }
  1153. var stringLen uint64
  1154. for shift := uint(0); ; shift += 7 {
  1155. if shift >= 64 {
  1156. return ErrIntOverflowRpc
  1157. }
  1158. if iNdEx >= l {
  1159. return io.ErrUnexpectedEOF
  1160. }
  1161. b := dAtA[iNdEx]
  1162. iNdEx++
  1163. stringLen |= (uint64(b) & 0x7F) << shift
  1164. if b < 0x80 {
  1165. break
  1166. }
  1167. }
  1168. intStringLen := int(stringLen)
  1169. if intStringLen < 0 {
  1170. return ErrInvalidLengthRpc
  1171. }
  1172. postIndex := iNdEx + intStringLen
  1173. if postIndex > l {
  1174. return io.ErrUnexpectedEOF
  1175. }
  1176. m.Name = string(dAtA[iNdEx:postIndex])
  1177. iNdEx = postIndex
  1178. case 2:
  1179. if wireType != 2 {
  1180. return fmt.Errorf("proto: wrong wireType = %d for field DataDir", wireType)
  1181. }
  1182. var stringLen uint64
  1183. for shift := uint(0); ; shift += 7 {
  1184. if shift >= 64 {
  1185. return ErrIntOverflowRpc
  1186. }
  1187. if iNdEx >= l {
  1188. return io.ErrUnexpectedEOF
  1189. }
  1190. b := dAtA[iNdEx]
  1191. iNdEx++
  1192. stringLen |= (uint64(b) & 0x7F) << shift
  1193. if b < 0x80 {
  1194. break
  1195. }
  1196. }
  1197. intStringLen := int(stringLen)
  1198. if intStringLen < 0 {
  1199. return ErrInvalidLengthRpc
  1200. }
  1201. postIndex := iNdEx + intStringLen
  1202. if postIndex > l {
  1203. return io.ErrUnexpectedEOF
  1204. }
  1205. m.DataDir = string(dAtA[iNdEx:postIndex])
  1206. iNdEx = postIndex
  1207. case 3:
  1208. if wireType != 2 {
  1209. return fmt.Errorf("proto: wrong wireType = %d for field WALDir", wireType)
  1210. }
  1211. var stringLen uint64
  1212. for shift := uint(0); ; shift += 7 {
  1213. if shift >= 64 {
  1214. return ErrIntOverflowRpc
  1215. }
  1216. if iNdEx >= l {
  1217. return io.ErrUnexpectedEOF
  1218. }
  1219. b := dAtA[iNdEx]
  1220. iNdEx++
  1221. stringLen |= (uint64(b) & 0x7F) << shift
  1222. if b < 0x80 {
  1223. break
  1224. }
  1225. }
  1226. intStringLen := int(stringLen)
  1227. if intStringLen < 0 {
  1228. return ErrInvalidLengthRpc
  1229. }
  1230. postIndex := iNdEx + intStringLen
  1231. if postIndex > l {
  1232. return io.ErrUnexpectedEOF
  1233. }
  1234. m.WALDir = string(dAtA[iNdEx:postIndex])
  1235. iNdEx = postIndex
  1236. case 4:
  1237. if wireType != 2 {
  1238. return fmt.Errorf("proto: wrong wireType = %d for field ListenClientURLs", wireType)
  1239. }
  1240. var stringLen uint64
  1241. for shift := uint(0); ; shift += 7 {
  1242. if shift >= 64 {
  1243. return ErrIntOverflowRpc
  1244. }
  1245. if iNdEx >= l {
  1246. return io.ErrUnexpectedEOF
  1247. }
  1248. b := dAtA[iNdEx]
  1249. iNdEx++
  1250. stringLen |= (uint64(b) & 0x7F) << shift
  1251. if b < 0x80 {
  1252. break
  1253. }
  1254. }
  1255. intStringLen := int(stringLen)
  1256. if intStringLen < 0 {
  1257. return ErrInvalidLengthRpc
  1258. }
  1259. postIndex := iNdEx + intStringLen
  1260. if postIndex > l {
  1261. return io.ErrUnexpectedEOF
  1262. }
  1263. m.ListenClientURLs = append(m.ListenClientURLs, string(dAtA[iNdEx:postIndex]))
  1264. iNdEx = postIndex
  1265. case 5:
  1266. if wireType != 2 {
  1267. return fmt.Errorf("proto: wrong wireType = %d for field AdvertiseClientURLs", wireType)
  1268. }
  1269. var stringLen uint64
  1270. for shift := uint(0); ; shift += 7 {
  1271. if shift >= 64 {
  1272. return ErrIntOverflowRpc
  1273. }
  1274. if iNdEx >= l {
  1275. return io.ErrUnexpectedEOF
  1276. }
  1277. b := dAtA[iNdEx]
  1278. iNdEx++
  1279. stringLen |= (uint64(b) & 0x7F) << shift
  1280. if b < 0x80 {
  1281. break
  1282. }
  1283. }
  1284. intStringLen := int(stringLen)
  1285. if intStringLen < 0 {
  1286. return ErrInvalidLengthRpc
  1287. }
  1288. postIndex := iNdEx + intStringLen
  1289. if postIndex > l {
  1290. return io.ErrUnexpectedEOF
  1291. }
  1292. m.AdvertiseClientURLs = append(m.AdvertiseClientURLs, string(dAtA[iNdEx:postIndex]))
  1293. iNdEx = postIndex
  1294. case 6:
  1295. if wireType != 2 {
  1296. return fmt.Errorf("proto: wrong wireType = %d for field ListenPeerURLs", wireType)
  1297. }
  1298. var stringLen uint64
  1299. for shift := uint(0); ; shift += 7 {
  1300. if shift >= 64 {
  1301. return ErrIntOverflowRpc
  1302. }
  1303. if iNdEx >= l {
  1304. return io.ErrUnexpectedEOF
  1305. }
  1306. b := dAtA[iNdEx]
  1307. iNdEx++
  1308. stringLen |= (uint64(b) & 0x7F) << shift
  1309. if b < 0x80 {
  1310. break
  1311. }
  1312. }
  1313. intStringLen := int(stringLen)
  1314. if intStringLen < 0 {
  1315. return ErrInvalidLengthRpc
  1316. }
  1317. postIndex := iNdEx + intStringLen
  1318. if postIndex > l {
  1319. return io.ErrUnexpectedEOF
  1320. }
  1321. m.ListenPeerURLs = append(m.ListenPeerURLs, string(dAtA[iNdEx:postIndex]))
  1322. iNdEx = postIndex
  1323. case 7:
  1324. if wireType != 2 {
  1325. return fmt.Errorf("proto: wrong wireType = %d for field InitialAdvertisePeerURLs", wireType)
  1326. }
  1327. var stringLen uint64
  1328. for shift := uint(0); ; shift += 7 {
  1329. if shift >= 64 {
  1330. return ErrIntOverflowRpc
  1331. }
  1332. if iNdEx >= l {
  1333. return io.ErrUnexpectedEOF
  1334. }
  1335. b := dAtA[iNdEx]
  1336. iNdEx++
  1337. stringLen |= (uint64(b) & 0x7F) << shift
  1338. if b < 0x80 {
  1339. break
  1340. }
  1341. }
  1342. intStringLen := int(stringLen)
  1343. if intStringLen < 0 {
  1344. return ErrInvalidLengthRpc
  1345. }
  1346. postIndex := iNdEx + intStringLen
  1347. if postIndex > l {
  1348. return io.ErrUnexpectedEOF
  1349. }
  1350. m.InitialAdvertisePeerURLs = append(m.InitialAdvertisePeerURLs, string(dAtA[iNdEx:postIndex]))
  1351. iNdEx = postIndex
  1352. case 8:
  1353. if wireType != 2 {
  1354. return fmt.Errorf("proto: wrong wireType = %d for field InitialCluster", wireType)
  1355. }
  1356. var stringLen uint64
  1357. for shift := uint(0); ; shift += 7 {
  1358. if shift >= 64 {
  1359. return ErrIntOverflowRpc
  1360. }
  1361. if iNdEx >= l {
  1362. return io.ErrUnexpectedEOF
  1363. }
  1364. b := dAtA[iNdEx]
  1365. iNdEx++
  1366. stringLen |= (uint64(b) & 0x7F) << shift
  1367. if b < 0x80 {
  1368. break
  1369. }
  1370. }
  1371. intStringLen := int(stringLen)
  1372. if intStringLen < 0 {
  1373. return ErrInvalidLengthRpc
  1374. }
  1375. postIndex := iNdEx + intStringLen
  1376. if postIndex > l {
  1377. return io.ErrUnexpectedEOF
  1378. }
  1379. m.InitialCluster = string(dAtA[iNdEx:postIndex])
  1380. iNdEx = postIndex
  1381. case 9:
  1382. if wireType != 2 {
  1383. return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterState", wireType)
  1384. }
  1385. var stringLen uint64
  1386. for shift := uint(0); ; shift += 7 {
  1387. if shift >= 64 {
  1388. return ErrIntOverflowRpc
  1389. }
  1390. if iNdEx >= l {
  1391. return io.ErrUnexpectedEOF
  1392. }
  1393. b := dAtA[iNdEx]
  1394. iNdEx++
  1395. stringLen |= (uint64(b) & 0x7F) << shift
  1396. if b < 0x80 {
  1397. break
  1398. }
  1399. }
  1400. intStringLen := int(stringLen)
  1401. if intStringLen < 0 {
  1402. return ErrInvalidLengthRpc
  1403. }
  1404. postIndex := iNdEx + intStringLen
  1405. if postIndex > l {
  1406. return io.ErrUnexpectedEOF
  1407. }
  1408. m.InitialClusterState = string(dAtA[iNdEx:postIndex])
  1409. iNdEx = postIndex
  1410. case 10:
  1411. if wireType != 2 {
  1412. return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterToken", wireType)
  1413. }
  1414. var stringLen uint64
  1415. for shift := uint(0); ; shift += 7 {
  1416. if shift >= 64 {
  1417. return ErrIntOverflowRpc
  1418. }
  1419. if iNdEx >= l {
  1420. return io.ErrUnexpectedEOF
  1421. }
  1422. b := dAtA[iNdEx]
  1423. iNdEx++
  1424. stringLen |= (uint64(b) & 0x7F) << shift
  1425. if b < 0x80 {
  1426. break
  1427. }
  1428. }
  1429. intStringLen := int(stringLen)
  1430. if intStringLen < 0 {
  1431. return ErrInvalidLengthRpc
  1432. }
  1433. postIndex := iNdEx + intStringLen
  1434. if postIndex > l {
  1435. return io.ErrUnexpectedEOF
  1436. }
  1437. m.InitialClusterToken = string(dAtA[iNdEx:postIndex])
  1438. iNdEx = postIndex
  1439. case 11:
  1440. if wireType != 0 {
  1441. return fmt.Errorf("proto: wrong wireType = %d for field SnapshotCount", wireType)
  1442. }
  1443. m.SnapshotCount = 0
  1444. for shift := uint(0); ; shift += 7 {
  1445. if shift >= 64 {
  1446. return ErrIntOverflowRpc
  1447. }
  1448. if iNdEx >= l {
  1449. return io.ErrUnexpectedEOF
  1450. }
  1451. b := dAtA[iNdEx]
  1452. iNdEx++
  1453. m.SnapshotCount |= (int64(b) & 0x7F) << shift
  1454. if b < 0x80 {
  1455. break
  1456. }
  1457. }
  1458. case 12:
  1459. if wireType != 0 {
  1460. return fmt.Errorf("proto: wrong wireType = %d for field QuotaBackendBytes", wireType)
  1461. }
  1462. m.QuotaBackendBytes = 0
  1463. for shift := uint(0); ; shift += 7 {
  1464. if shift >= 64 {
  1465. return ErrIntOverflowRpc
  1466. }
  1467. if iNdEx >= l {
  1468. return io.ErrUnexpectedEOF
  1469. }
  1470. b := dAtA[iNdEx]
  1471. iNdEx++
  1472. m.QuotaBackendBytes |= (int64(b) & 0x7F) << shift
  1473. if b < 0x80 {
  1474. break
  1475. }
  1476. }
  1477. case 13:
  1478. if wireType != 0 {
  1479. return fmt.Errorf("proto: wrong wireType = %d for field PreVote", wireType)
  1480. }
  1481. var v int
  1482. for shift := uint(0); ; shift += 7 {
  1483. if shift >= 64 {
  1484. return ErrIntOverflowRpc
  1485. }
  1486. if iNdEx >= l {
  1487. return io.ErrUnexpectedEOF
  1488. }
  1489. b := dAtA[iNdEx]
  1490. iNdEx++
  1491. v |= (int(b) & 0x7F) << shift
  1492. if b < 0x80 {
  1493. break
  1494. }
  1495. }
  1496. m.PreVote = bool(v != 0)
  1497. case 14:
  1498. if wireType != 0 {
  1499. return fmt.Errorf("proto: wrong wireType = %d for field InitialCorruptCheck", wireType)
  1500. }
  1501. var v int
  1502. for shift := uint(0); ; shift += 7 {
  1503. if shift >= 64 {
  1504. return ErrIntOverflowRpc
  1505. }
  1506. if iNdEx >= l {
  1507. return io.ErrUnexpectedEOF
  1508. }
  1509. b := dAtA[iNdEx]
  1510. iNdEx++
  1511. v |= (int(b) & 0x7F) << shift
  1512. if b < 0x80 {
  1513. break
  1514. }
  1515. }
  1516. m.InitialCorruptCheck = bool(v != 0)
  1517. default:
  1518. iNdEx = preIndex
  1519. skippy, err := skipRpc(dAtA[iNdEx:])
  1520. if err != nil {
  1521. return err
  1522. }
  1523. if skippy < 0 {
  1524. return ErrInvalidLengthRpc
  1525. }
  1526. if (iNdEx + skippy) > l {
  1527. return io.ErrUnexpectedEOF
  1528. }
  1529. iNdEx += skippy
  1530. }
  1531. }
  1532. if iNdEx > l {
  1533. return io.ErrUnexpectedEOF
  1534. }
  1535. return nil
  1536. }
  1537. func (m *Member) Unmarshal(dAtA []byte) error {
  1538. l := len(dAtA)
  1539. iNdEx := 0
  1540. for iNdEx < l {
  1541. preIndex := iNdEx
  1542. var wire uint64
  1543. for shift := uint(0); ; shift += 7 {
  1544. if shift >= 64 {
  1545. return ErrIntOverflowRpc
  1546. }
  1547. if iNdEx >= l {
  1548. return io.ErrUnexpectedEOF
  1549. }
  1550. b := dAtA[iNdEx]
  1551. iNdEx++
  1552. wire |= (uint64(b) & 0x7F) << shift
  1553. if b < 0x80 {
  1554. break
  1555. }
  1556. }
  1557. fieldNum := int32(wire >> 3)
  1558. wireType := int(wire & 0x7)
  1559. if wireType == 4 {
  1560. return fmt.Errorf("proto: Member: wiretype end group for non-group")
  1561. }
  1562. if fieldNum <= 0 {
  1563. return fmt.Errorf("proto: Member: illegal tag %d (wire type %d)", fieldNum, wire)
  1564. }
  1565. switch fieldNum {
  1566. case 1:
  1567. if wireType != 2 {
  1568. return fmt.Errorf("proto: wrong wireType = %d for field EtcdExecPath", wireType)
  1569. }
  1570. var stringLen uint64
  1571. for shift := uint(0); ; shift += 7 {
  1572. if shift >= 64 {
  1573. return ErrIntOverflowRpc
  1574. }
  1575. if iNdEx >= l {
  1576. return io.ErrUnexpectedEOF
  1577. }
  1578. b := dAtA[iNdEx]
  1579. iNdEx++
  1580. stringLen |= (uint64(b) & 0x7F) << shift
  1581. if b < 0x80 {
  1582. break
  1583. }
  1584. }
  1585. intStringLen := int(stringLen)
  1586. if intStringLen < 0 {
  1587. return ErrInvalidLengthRpc
  1588. }
  1589. postIndex := iNdEx + intStringLen
  1590. if postIndex > l {
  1591. return io.ErrUnexpectedEOF
  1592. }
  1593. m.EtcdExecPath = string(dAtA[iNdEx:postIndex])
  1594. iNdEx = postIndex
  1595. case 11:
  1596. if wireType != 2 {
  1597. return fmt.Errorf("proto: wrong wireType = %d for field AgentAddr", wireType)
  1598. }
  1599. var stringLen uint64
  1600. for shift := uint(0); ; shift += 7 {
  1601. if shift >= 64 {
  1602. return ErrIntOverflowRpc
  1603. }
  1604. if iNdEx >= l {
  1605. return io.ErrUnexpectedEOF
  1606. }
  1607. b := dAtA[iNdEx]
  1608. iNdEx++
  1609. stringLen |= (uint64(b) & 0x7F) << shift
  1610. if b < 0x80 {
  1611. break
  1612. }
  1613. }
  1614. intStringLen := int(stringLen)
  1615. if intStringLen < 0 {
  1616. return ErrInvalidLengthRpc
  1617. }
  1618. postIndex := iNdEx + intStringLen
  1619. if postIndex > l {
  1620. return io.ErrUnexpectedEOF
  1621. }
  1622. m.AgentAddr = string(dAtA[iNdEx:postIndex])
  1623. iNdEx = postIndex
  1624. case 12:
  1625. if wireType != 2 {
  1626. return fmt.Errorf("proto: wrong wireType = %d for field FailpointHTTPAddr", wireType)
  1627. }
  1628. var stringLen uint64
  1629. for shift := uint(0); ; shift += 7 {
  1630. if shift >= 64 {
  1631. return ErrIntOverflowRpc
  1632. }
  1633. if iNdEx >= l {
  1634. return io.ErrUnexpectedEOF
  1635. }
  1636. b := dAtA[iNdEx]
  1637. iNdEx++
  1638. stringLen |= (uint64(b) & 0x7F) << shift
  1639. if b < 0x80 {
  1640. break
  1641. }
  1642. }
  1643. intStringLen := int(stringLen)
  1644. if intStringLen < 0 {
  1645. return ErrInvalidLengthRpc
  1646. }
  1647. postIndex := iNdEx + intStringLen
  1648. if postIndex > l {
  1649. return io.ErrUnexpectedEOF
  1650. }
  1651. m.FailpointHTTPAddr = string(dAtA[iNdEx:postIndex])
  1652. iNdEx = postIndex
  1653. case 101:
  1654. if wireType != 2 {
  1655. return fmt.Errorf("proto: wrong wireType = %d for field BaseDir", wireType)
  1656. }
  1657. var stringLen uint64
  1658. for shift := uint(0); ; shift += 7 {
  1659. if shift >= 64 {
  1660. return ErrIntOverflowRpc
  1661. }
  1662. if iNdEx >= l {
  1663. return io.ErrUnexpectedEOF
  1664. }
  1665. b := dAtA[iNdEx]
  1666. iNdEx++
  1667. stringLen |= (uint64(b) & 0x7F) << shift
  1668. if b < 0x80 {
  1669. break
  1670. }
  1671. }
  1672. intStringLen := int(stringLen)
  1673. if intStringLen < 0 {
  1674. return ErrInvalidLengthRpc
  1675. }
  1676. postIndex := iNdEx + intStringLen
  1677. if postIndex > l {
  1678. return io.ErrUnexpectedEOF
  1679. }
  1680. m.BaseDir = string(dAtA[iNdEx:postIndex])
  1681. iNdEx = postIndex
  1682. case 102:
  1683. if wireType != 2 {
  1684. return fmt.Errorf("proto: wrong wireType = %d for field EtcdLogPath", wireType)
  1685. }
  1686. var stringLen uint64
  1687. for shift := uint(0); ; shift += 7 {
  1688. if shift >= 64 {
  1689. return ErrIntOverflowRpc
  1690. }
  1691. if iNdEx >= l {
  1692. return io.ErrUnexpectedEOF
  1693. }
  1694. b := dAtA[iNdEx]
  1695. iNdEx++
  1696. stringLen |= (uint64(b) & 0x7F) << shift
  1697. if b < 0x80 {
  1698. break
  1699. }
  1700. }
  1701. intStringLen := int(stringLen)
  1702. if intStringLen < 0 {
  1703. return ErrInvalidLengthRpc
  1704. }
  1705. postIndex := iNdEx + intStringLen
  1706. if postIndex > l {
  1707. return io.ErrUnexpectedEOF
  1708. }
  1709. m.EtcdLogPath = string(dAtA[iNdEx:postIndex])
  1710. iNdEx = postIndex
  1711. case 201:
  1712. if wireType != 0 {
  1713. return fmt.Errorf("proto: wrong wireType = %d for field EtcdClientTLS", wireType)
  1714. }
  1715. var v int
  1716. for shift := uint(0); ; shift += 7 {
  1717. if shift >= 64 {
  1718. return ErrIntOverflowRpc
  1719. }
  1720. if iNdEx >= l {
  1721. return io.ErrUnexpectedEOF
  1722. }
  1723. b := dAtA[iNdEx]
  1724. iNdEx++
  1725. v |= (int(b) & 0x7F) << shift
  1726. if b < 0x80 {
  1727. break
  1728. }
  1729. }
  1730. m.EtcdClientTLS = bool(v != 0)
  1731. case 202:
  1732. if wireType != 0 {
  1733. return fmt.Errorf("proto: wrong wireType = %d for field EtcdClientProxy", wireType)
  1734. }
  1735. var v int
  1736. for shift := uint(0); ; shift += 7 {
  1737. if shift >= 64 {
  1738. return ErrIntOverflowRpc
  1739. }
  1740. if iNdEx >= l {
  1741. return io.ErrUnexpectedEOF
  1742. }
  1743. b := dAtA[iNdEx]
  1744. iNdEx++
  1745. v |= (int(b) & 0x7F) << shift
  1746. if b < 0x80 {
  1747. break
  1748. }
  1749. }
  1750. m.EtcdClientProxy = bool(v != 0)
  1751. case 203:
  1752. if wireType != 0 {
  1753. return fmt.Errorf("proto: wrong wireType = %d for field EtcdPeerProxy", wireType)
  1754. }
  1755. var v int
  1756. for shift := uint(0); ; shift += 7 {
  1757. if shift >= 64 {
  1758. return ErrIntOverflowRpc
  1759. }
  1760. if iNdEx >= l {
  1761. return io.ErrUnexpectedEOF
  1762. }
  1763. b := dAtA[iNdEx]
  1764. iNdEx++
  1765. v |= (int(b) & 0x7F) << shift
  1766. if b < 0x80 {
  1767. break
  1768. }
  1769. }
  1770. m.EtcdPeerProxy = bool(v != 0)
  1771. case 204:
  1772. if wireType != 2 {
  1773. return fmt.Errorf("proto: wrong wireType = %d for field EtcdClientEndpoint", wireType)
  1774. }
  1775. var stringLen uint64
  1776. for shift := uint(0); ; shift += 7 {
  1777. if shift >= 64 {
  1778. return ErrIntOverflowRpc
  1779. }
  1780. if iNdEx >= l {
  1781. return io.ErrUnexpectedEOF
  1782. }
  1783. b := dAtA[iNdEx]
  1784. iNdEx++
  1785. stringLen |= (uint64(b) & 0x7F) << shift
  1786. if b < 0x80 {
  1787. break
  1788. }
  1789. }
  1790. intStringLen := int(stringLen)
  1791. if intStringLen < 0 {
  1792. return ErrInvalidLengthRpc
  1793. }
  1794. postIndex := iNdEx + intStringLen
  1795. if postIndex > l {
  1796. return io.ErrUnexpectedEOF
  1797. }
  1798. m.EtcdClientEndpoint = string(dAtA[iNdEx:postIndex])
  1799. iNdEx = postIndex
  1800. case 301:
  1801. if wireType != 2 {
  1802. return fmt.Errorf("proto: wrong wireType = %d for field Etcd", wireType)
  1803. }
  1804. var msglen int
  1805. for shift := uint(0); ; shift += 7 {
  1806. if shift >= 64 {
  1807. return ErrIntOverflowRpc
  1808. }
  1809. if iNdEx >= l {
  1810. return io.ErrUnexpectedEOF
  1811. }
  1812. b := dAtA[iNdEx]
  1813. iNdEx++
  1814. msglen |= (int(b) & 0x7F) << shift
  1815. if b < 0x80 {
  1816. break
  1817. }
  1818. }
  1819. if msglen < 0 {
  1820. return ErrInvalidLengthRpc
  1821. }
  1822. postIndex := iNdEx + msglen
  1823. if postIndex > l {
  1824. return io.ErrUnexpectedEOF
  1825. }
  1826. if m.Etcd == nil {
  1827. m.Etcd = &Etcd{}
  1828. }
  1829. if err := m.Etcd.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1830. return err
  1831. }
  1832. iNdEx = postIndex
  1833. default:
  1834. iNdEx = preIndex
  1835. skippy, err := skipRpc(dAtA[iNdEx:])
  1836. if err != nil {
  1837. return err
  1838. }
  1839. if skippy < 0 {
  1840. return ErrInvalidLengthRpc
  1841. }
  1842. if (iNdEx + skippy) > l {
  1843. return io.ErrUnexpectedEOF
  1844. }
  1845. iNdEx += skippy
  1846. }
  1847. }
  1848. if iNdEx > l {
  1849. return io.ErrUnexpectedEOF
  1850. }
  1851. return nil
  1852. }
  1853. func (m *Tester) Unmarshal(dAtA []byte) error {
  1854. l := len(dAtA)
  1855. iNdEx := 0
  1856. for iNdEx < l {
  1857. preIndex := iNdEx
  1858. var wire uint64
  1859. for shift := uint(0); ; shift += 7 {
  1860. if shift >= 64 {
  1861. return ErrIntOverflowRpc
  1862. }
  1863. if iNdEx >= l {
  1864. return io.ErrUnexpectedEOF
  1865. }
  1866. b := dAtA[iNdEx]
  1867. iNdEx++
  1868. wire |= (uint64(b) & 0x7F) << shift
  1869. if b < 0x80 {
  1870. break
  1871. }
  1872. }
  1873. fieldNum := int32(wire >> 3)
  1874. wireType := int(wire & 0x7)
  1875. if wireType == 4 {
  1876. return fmt.Errorf("proto: Tester: wiretype end group for non-group")
  1877. }
  1878. if fieldNum <= 0 {
  1879. return fmt.Errorf("proto: Tester: illegal tag %d (wire type %d)", fieldNum, wire)
  1880. }
  1881. switch fieldNum {
  1882. case 1:
  1883. if wireType != 2 {
  1884. return fmt.Errorf("proto: wrong wireType = %d for field TesterNetwork", wireType)
  1885. }
  1886. var stringLen uint64
  1887. for shift := uint(0); ; shift += 7 {
  1888. if shift >= 64 {
  1889. return ErrIntOverflowRpc
  1890. }
  1891. if iNdEx >= l {
  1892. return io.ErrUnexpectedEOF
  1893. }
  1894. b := dAtA[iNdEx]
  1895. iNdEx++
  1896. stringLen |= (uint64(b) & 0x7F) << shift
  1897. if b < 0x80 {
  1898. break
  1899. }
  1900. }
  1901. intStringLen := int(stringLen)
  1902. if intStringLen < 0 {
  1903. return ErrInvalidLengthRpc
  1904. }
  1905. postIndex := iNdEx + intStringLen
  1906. if postIndex > l {
  1907. return io.ErrUnexpectedEOF
  1908. }
  1909. m.TesterNetwork = string(dAtA[iNdEx:postIndex])
  1910. iNdEx = postIndex
  1911. case 2:
  1912. if wireType != 2 {
  1913. return fmt.Errorf("proto: wrong wireType = %d for field TesterAddr", wireType)
  1914. }
  1915. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  1926. if b < 0x80 {
  1927. break
  1928. }
  1929. }
  1930. intStringLen := int(stringLen)
  1931. if intStringLen < 0 {
  1932. return ErrInvalidLengthRpc
  1933. }
  1934. postIndex := iNdEx + intStringLen
  1935. if postIndex > l {
  1936. return io.ErrUnexpectedEOF
  1937. }
  1938. m.TesterAddr = string(dAtA[iNdEx:postIndex])
  1939. iNdEx = postIndex
  1940. case 11:
  1941. if wireType != 0 {
  1942. return fmt.Errorf("proto: wrong wireType = %d for field DelayLatencyMs", wireType)
  1943. }
  1944. m.DelayLatencyMs = 0
  1945. for shift := uint(0); ; shift += 7 {
  1946. if shift >= 64 {
  1947. return ErrIntOverflowRpc
  1948. }
  1949. if iNdEx >= l {
  1950. return io.ErrUnexpectedEOF
  1951. }
  1952. b := dAtA[iNdEx]
  1953. iNdEx++
  1954. m.DelayLatencyMs |= (uint32(b) & 0x7F) << shift
  1955. if b < 0x80 {
  1956. break
  1957. }
  1958. }
  1959. case 12:
  1960. if wireType != 0 {
  1961. return fmt.Errorf("proto: wrong wireType = %d for field DelayLatencyMsRv", wireType)
  1962. }
  1963. m.DelayLatencyMsRv = 0
  1964. for shift := uint(0); ; shift += 7 {
  1965. if shift >= 64 {
  1966. return ErrIntOverflowRpc
  1967. }
  1968. if iNdEx >= l {
  1969. return io.ErrUnexpectedEOF
  1970. }
  1971. b := dAtA[iNdEx]
  1972. iNdEx++
  1973. m.DelayLatencyMsRv |= (uint32(b) & 0x7F) << shift
  1974. if b < 0x80 {
  1975. break
  1976. }
  1977. }
  1978. case 21:
  1979. if wireType != 0 {
  1980. return fmt.Errorf("proto: wrong wireType = %d for field RoundLimit", wireType)
  1981. }
  1982. m.RoundLimit = 0
  1983. for shift := uint(0); ; shift += 7 {
  1984. if shift >= 64 {
  1985. return ErrIntOverflowRpc
  1986. }
  1987. if iNdEx >= l {
  1988. return io.ErrUnexpectedEOF
  1989. }
  1990. b := dAtA[iNdEx]
  1991. iNdEx++
  1992. m.RoundLimit |= (int32(b) & 0x7F) << shift
  1993. if b < 0x80 {
  1994. break
  1995. }
  1996. }
  1997. case 22:
  1998. if wireType != 0 {
  1999. return fmt.Errorf("proto: wrong wireType = %d for field ExitOnFailure", wireType)
  2000. }
  2001. var v int
  2002. for shift := uint(0); ; shift += 7 {
  2003. if shift >= 64 {
  2004. return ErrIntOverflowRpc
  2005. }
  2006. if iNdEx >= l {
  2007. return io.ErrUnexpectedEOF
  2008. }
  2009. b := dAtA[iNdEx]
  2010. iNdEx++
  2011. v |= (int(b) & 0x7F) << shift
  2012. if b < 0x80 {
  2013. break
  2014. }
  2015. }
  2016. m.ExitOnFailure = bool(v != 0)
  2017. case 23:
  2018. if wireType != 0 {
  2019. return fmt.Errorf("proto: wrong wireType = %d for field ConsistencyCheck", wireType)
  2020. }
  2021. var v int
  2022. for shift := uint(0); ; shift += 7 {
  2023. if shift >= 64 {
  2024. return ErrIntOverflowRpc
  2025. }
  2026. if iNdEx >= l {
  2027. return io.ErrUnexpectedEOF
  2028. }
  2029. b := dAtA[iNdEx]
  2030. iNdEx++
  2031. v |= (int(b) & 0x7F) << shift
  2032. if b < 0x80 {
  2033. break
  2034. }
  2035. }
  2036. m.ConsistencyCheck = bool(v != 0)
  2037. case 24:
  2038. if wireType != 0 {
  2039. return fmt.Errorf("proto: wrong wireType = %d for field EnablePprof", wireType)
  2040. }
  2041. var v int
  2042. for shift := uint(0); ; shift += 7 {
  2043. if shift >= 64 {
  2044. return ErrIntOverflowRpc
  2045. }
  2046. if iNdEx >= l {
  2047. return io.ErrUnexpectedEOF
  2048. }
  2049. b := dAtA[iNdEx]
  2050. iNdEx++
  2051. v |= (int(b) & 0x7F) << shift
  2052. if b < 0x80 {
  2053. break
  2054. }
  2055. }
  2056. m.EnablePprof = bool(v != 0)
  2057. case 31:
  2058. if wireType != 2 {
  2059. return fmt.Errorf("proto: wrong wireType = %d for field FailureCases", wireType)
  2060. }
  2061. var stringLen uint64
  2062. for shift := uint(0); ; shift += 7 {
  2063. if shift >= 64 {
  2064. return ErrIntOverflowRpc
  2065. }
  2066. if iNdEx >= l {
  2067. return io.ErrUnexpectedEOF
  2068. }
  2069. b := dAtA[iNdEx]
  2070. iNdEx++
  2071. stringLen |= (uint64(b) & 0x7F) << shift
  2072. if b < 0x80 {
  2073. break
  2074. }
  2075. }
  2076. intStringLen := int(stringLen)
  2077. if intStringLen < 0 {
  2078. return ErrInvalidLengthRpc
  2079. }
  2080. postIndex := iNdEx + intStringLen
  2081. if postIndex > l {
  2082. return io.ErrUnexpectedEOF
  2083. }
  2084. m.FailureCases = append(m.FailureCases, string(dAtA[iNdEx:postIndex]))
  2085. iNdEx = postIndex
  2086. case 33:
  2087. if wireType != 2 {
  2088. return fmt.Errorf("proto: wrong wireType = %d for field FailpointCommands", wireType)
  2089. }
  2090. var stringLen uint64
  2091. for shift := uint(0); ; shift += 7 {
  2092. if shift >= 64 {
  2093. return ErrIntOverflowRpc
  2094. }
  2095. if iNdEx >= l {
  2096. return io.ErrUnexpectedEOF
  2097. }
  2098. b := dAtA[iNdEx]
  2099. iNdEx++
  2100. stringLen |= (uint64(b) & 0x7F) << shift
  2101. if b < 0x80 {
  2102. break
  2103. }
  2104. }
  2105. intStringLen := int(stringLen)
  2106. if intStringLen < 0 {
  2107. return ErrInvalidLengthRpc
  2108. }
  2109. postIndex := iNdEx + intStringLen
  2110. if postIndex > l {
  2111. return io.ErrUnexpectedEOF
  2112. }
  2113. m.FailpointCommands = append(m.FailpointCommands, string(dAtA[iNdEx:postIndex]))
  2114. iNdEx = postIndex
  2115. case 41:
  2116. if wireType != 2 {
  2117. return fmt.Errorf("proto: wrong wireType = %d for field RunnerExecPath", wireType)
  2118. }
  2119. var stringLen uint64
  2120. for shift := uint(0); ; shift += 7 {
  2121. if shift >= 64 {
  2122. return ErrIntOverflowRpc
  2123. }
  2124. if iNdEx >= l {
  2125. return io.ErrUnexpectedEOF
  2126. }
  2127. b := dAtA[iNdEx]
  2128. iNdEx++
  2129. stringLen |= (uint64(b) & 0x7F) << shift
  2130. if b < 0x80 {
  2131. break
  2132. }
  2133. }
  2134. intStringLen := int(stringLen)
  2135. if intStringLen < 0 {
  2136. return ErrInvalidLengthRpc
  2137. }
  2138. postIndex := iNdEx + intStringLen
  2139. if postIndex > l {
  2140. return io.ErrUnexpectedEOF
  2141. }
  2142. m.RunnerExecPath = string(dAtA[iNdEx:postIndex])
  2143. iNdEx = postIndex
  2144. case 42:
  2145. if wireType != 2 {
  2146. return fmt.Errorf("proto: wrong wireType = %d for field ExternalExecPath", wireType)
  2147. }
  2148. var stringLen uint64
  2149. for shift := uint(0); ; shift += 7 {
  2150. if shift >= 64 {
  2151. return ErrIntOverflowRpc
  2152. }
  2153. if iNdEx >= l {
  2154. return io.ErrUnexpectedEOF
  2155. }
  2156. b := dAtA[iNdEx]
  2157. iNdEx++
  2158. stringLen |= (uint64(b) & 0x7F) << shift
  2159. if b < 0x80 {
  2160. break
  2161. }
  2162. }
  2163. intStringLen := int(stringLen)
  2164. if intStringLen < 0 {
  2165. return ErrInvalidLengthRpc
  2166. }
  2167. postIndex := iNdEx + intStringLen
  2168. if postIndex > l {
  2169. return io.ErrUnexpectedEOF
  2170. }
  2171. m.ExternalExecPath = string(dAtA[iNdEx:postIndex])
  2172. iNdEx = postIndex
  2173. case 101:
  2174. if wireType != 2 {
  2175. return fmt.Errorf("proto: wrong wireType = %d for field StressTypes", wireType)
  2176. }
  2177. var stringLen uint64
  2178. for shift := uint(0); ; shift += 7 {
  2179. if shift >= 64 {
  2180. return ErrIntOverflowRpc
  2181. }
  2182. if iNdEx >= l {
  2183. return io.ErrUnexpectedEOF
  2184. }
  2185. b := dAtA[iNdEx]
  2186. iNdEx++
  2187. stringLen |= (uint64(b) & 0x7F) << shift
  2188. if b < 0x80 {
  2189. break
  2190. }
  2191. }
  2192. intStringLen := int(stringLen)
  2193. if intStringLen < 0 {
  2194. return ErrInvalidLengthRpc
  2195. }
  2196. postIndex := iNdEx + intStringLen
  2197. if postIndex > l {
  2198. return io.ErrUnexpectedEOF
  2199. }
  2200. m.StressTypes = append(m.StressTypes, string(dAtA[iNdEx:postIndex]))
  2201. iNdEx = postIndex
  2202. case 102:
  2203. if wireType != 0 {
  2204. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySize", wireType)
  2205. }
  2206. m.StressKeySize = 0
  2207. for shift := uint(0); ; shift += 7 {
  2208. if shift >= 64 {
  2209. return ErrIntOverflowRpc
  2210. }
  2211. if iNdEx >= l {
  2212. return io.ErrUnexpectedEOF
  2213. }
  2214. b := dAtA[iNdEx]
  2215. iNdEx++
  2216. m.StressKeySize |= (int32(b) & 0x7F) << shift
  2217. if b < 0x80 {
  2218. break
  2219. }
  2220. }
  2221. case 103:
  2222. if wireType != 0 {
  2223. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySizeLarge", wireType)
  2224. }
  2225. m.StressKeySizeLarge = 0
  2226. for shift := uint(0); ; shift += 7 {
  2227. if shift >= 64 {
  2228. return ErrIntOverflowRpc
  2229. }
  2230. if iNdEx >= l {
  2231. return io.ErrUnexpectedEOF
  2232. }
  2233. b := dAtA[iNdEx]
  2234. iNdEx++
  2235. m.StressKeySizeLarge |= (int32(b) & 0x7F) << shift
  2236. if b < 0x80 {
  2237. break
  2238. }
  2239. }
  2240. case 104:
  2241. if wireType != 0 {
  2242. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySuffixRange", wireType)
  2243. }
  2244. m.StressKeySuffixRange = 0
  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. m.StressKeySuffixRange |= (int32(b) & 0x7F) << shift
  2255. if b < 0x80 {
  2256. break
  2257. }
  2258. }
  2259. case 105:
  2260. if wireType != 0 {
  2261. return fmt.Errorf("proto: wrong wireType = %d for field StressKeySuffixRangeTxn", wireType)
  2262. }
  2263. m.StressKeySuffixRangeTxn = 0
  2264. for shift := uint(0); ; shift += 7 {
  2265. if shift >= 64 {
  2266. return ErrIntOverflowRpc
  2267. }
  2268. if iNdEx >= l {
  2269. return io.ErrUnexpectedEOF
  2270. }
  2271. b := dAtA[iNdEx]
  2272. iNdEx++
  2273. m.StressKeySuffixRangeTxn |= (int32(b) & 0x7F) << shift
  2274. if b < 0x80 {
  2275. break
  2276. }
  2277. }
  2278. case 106:
  2279. if wireType != 0 {
  2280. return fmt.Errorf("proto: wrong wireType = %d for field StressKeyTxnOps", wireType)
  2281. }
  2282. m.StressKeyTxnOps = 0
  2283. for shift := uint(0); ; shift += 7 {
  2284. if shift >= 64 {
  2285. return ErrIntOverflowRpc
  2286. }
  2287. if iNdEx >= l {
  2288. return io.ErrUnexpectedEOF
  2289. }
  2290. b := dAtA[iNdEx]
  2291. iNdEx++
  2292. m.StressKeyTxnOps |= (int32(b) & 0x7F) << shift
  2293. if b < 0x80 {
  2294. break
  2295. }
  2296. }
  2297. case 107:
  2298. if wireType != 0 {
  2299. return fmt.Errorf("proto: wrong wireType = %d for field StressQPS", wireType)
  2300. }
  2301. m.StressQPS = 0
  2302. for shift := uint(0); ; shift += 7 {
  2303. if shift >= 64 {
  2304. return ErrIntOverflowRpc
  2305. }
  2306. if iNdEx >= l {
  2307. return io.ErrUnexpectedEOF
  2308. }
  2309. b := dAtA[iNdEx]
  2310. iNdEx++
  2311. m.StressQPS |= (int32(b) & 0x7F) << shift
  2312. if b < 0x80 {
  2313. break
  2314. }
  2315. }
  2316. default:
  2317. iNdEx = preIndex
  2318. skippy, err := skipRpc(dAtA[iNdEx:])
  2319. if err != nil {
  2320. return err
  2321. }
  2322. if skippy < 0 {
  2323. return ErrInvalidLengthRpc
  2324. }
  2325. if (iNdEx + skippy) > l {
  2326. return io.ErrUnexpectedEOF
  2327. }
  2328. iNdEx += skippy
  2329. }
  2330. }
  2331. if iNdEx > l {
  2332. return io.ErrUnexpectedEOF
  2333. }
  2334. return nil
  2335. }
  2336. func (m *Request) Unmarshal(dAtA []byte) error {
  2337. l := len(dAtA)
  2338. iNdEx := 0
  2339. for iNdEx < l {
  2340. preIndex := iNdEx
  2341. var wire uint64
  2342. for shift := uint(0); ; shift += 7 {
  2343. if shift >= 64 {
  2344. return ErrIntOverflowRpc
  2345. }
  2346. if iNdEx >= l {
  2347. return io.ErrUnexpectedEOF
  2348. }
  2349. b := dAtA[iNdEx]
  2350. iNdEx++
  2351. wire |= (uint64(b) & 0x7F) << shift
  2352. if b < 0x80 {
  2353. break
  2354. }
  2355. }
  2356. fieldNum := int32(wire >> 3)
  2357. wireType := int(wire & 0x7)
  2358. if wireType == 4 {
  2359. return fmt.Errorf("proto: Request: wiretype end group for non-group")
  2360. }
  2361. if fieldNum <= 0 {
  2362. return fmt.Errorf("proto: Request: illegal tag %d (wire type %d)", fieldNum, wire)
  2363. }
  2364. switch fieldNum {
  2365. case 1:
  2366. if wireType != 0 {
  2367. return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType)
  2368. }
  2369. m.Operation = 0
  2370. for shift := uint(0); ; shift += 7 {
  2371. if shift >= 64 {
  2372. return ErrIntOverflowRpc
  2373. }
  2374. if iNdEx >= l {
  2375. return io.ErrUnexpectedEOF
  2376. }
  2377. b := dAtA[iNdEx]
  2378. iNdEx++
  2379. m.Operation |= (Operation(b) & 0x7F) << shift
  2380. if b < 0x80 {
  2381. break
  2382. }
  2383. }
  2384. case 2:
  2385. if wireType != 2 {
  2386. return fmt.Errorf("proto: wrong wireType = %d for field Member", wireType)
  2387. }
  2388. var msglen int
  2389. for shift := uint(0); ; shift += 7 {
  2390. if shift >= 64 {
  2391. return ErrIntOverflowRpc
  2392. }
  2393. if iNdEx >= l {
  2394. return io.ErrUnexpectedEOF
  2395. }
  2396. b := dAtA[iNdEx]
  2397. iNdEx++
  2398. msglen |= (int(b) & 0x7F) << shift
  2399. if b < 0x80 {
  2400. break
  2401. }
  2402. }
  2403. if msglen < 0 {
  2404. return ErrInvalidLengthRpc
  2405. }
  2406. postIndex := iNdEx + msglen
  2407. if postIndex > l {
  2408. return io.ErrUnexpectedEOF
  2409. }
  2410. if m.Member == nil {
  2411. m.Member = &Member{}
  2412. }
  2413. if err := m.Member.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2414. return err
  2415. }
  2416. iNdEx = postIndex
  2417. case 3:
  2418. if wireType != 2 {
  2419. return fmt.Errorf("proto: wrong wireType = %d for field Tester", wireType)
  2420. }
  2421. var msglen int
  2422. for shift := uint(0); ; shift += 7 {
  2423. if shift >= 64 {
  2424. return ErrIntOverflowRpc
  2425. }
  2426. if iNdEx >= l {
  2427. return io.ErrUnexpectedEOF
  2428. }
  2429. b := dAtA[iNdEx]
  2430. iNdEx++
  2431. msglen |= (int(b) & 0x7F) << shift
  2432. if b < 0x80 {
  2433. break
  2434. }
  2435. }
  2436. if msglen < 0 {
  2437. return ErrInvalidLengthRpc
  2438. }
  2439. postIndex := iNdEx + msglen
  2440. if postIndex > l {
  2441. return io.ErrUnexpectedEOF
  2442. }
  2443. if m.Tester == nil {
  2444. m.Tester = &Tester{}
  2445. }
  2446. if err := m.Tester.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2447. return err
  2448. }
  2449. iNdEx = postIndex
  2450. default:
  2451. iNdEx = preIndex
  2452. skippy, err := skipRpc(dAtA[iNdEx:])
  2453. if err != nil {
  2454. return err
  2455. }
  2456. if skippy < 0 {
  2457. return ErrInvalidLengthRpc
  2458. }
  2459. if (iNdEx + skippy) > l {
  2460. return io.ErrUnexpectedEOF
  2461. }
  2462. iNdEx += skippy
  2463. }
  2464. }
  2465. if iNdEx > l {
  2466. return io.ErrUnexpectedEOF
  2467. }
  2468. return nil
  2469. }
  2470. func (m *Response) Unmarshal(dAtA []byte) error {
  2471. l := len(dAtA)
  2472. iNdEx := 0
  2473. for iNdEx < l {
  2474. preIndex := iNdEx
  2475. var wire uint64
  2476. for shift := uint(0); ; shift += 7 {
  2477. if shift >= 64 {
  2478. return ErrIntOverflowRpc
  2479. }
  2480. if iNdEx >= l {
  2481. return io.ErrUnexpectedEOF
  2482. }
  2483. b := dAtA[iNdEx]
  2484. iNdEx++
  2485. wire |= (uint64(b) & 0x7F) << shift
  2486. if b < 0x80 {
  2487. break
  2488. }
  2489. }
  2490. fieldNum := int32(wire >> 3)
  2491. wireType := int(wire & 0x7)
  2492. if wireType == 4 {
  2493. return fmt.Errorf("proto: Response: wiretype end group for non-group")
  2494. }
  2495. if fieldNum <= 0 {
  2496. return fmt.Errorf("proto: Response: illegal tag %d (wire type %d)", fieldNum, wire)
  2497. }
  2498. switch fieldNum {
  2499. case 1:
  2500. if wireType != 0 {
  2501. return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  2502. }
  2503. var v int
  2504. for shift := uint(0); ; shift += 7 {
  2505. if shift >= 64 {
  2506. return ErrIntOverflowRpc
  2507. }
  2508. if iNdEx >= l {
  2509. return io.ErrUnexpectedEOF
  2510. }
  2511. b := dAtA[iNdEx]
  2512. iNdEx++
  2513. v |= (int(b) & 0x7F) << shift
  2514. if b < 0x80 {
  2515. break
  2516. }
  2517. }
  2518. m.Success = bool(v != 0)
  2519. case 2:
  2520. if wireType != 2 {
  2521. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2522. }
  2523. var stringLen uint64
  2524. for shift := uint(0); ; shift += 7 {
  2525. if shift >= 64 {
  2526. return ErrIntOverflowRpc
  2527. }
  2528. if iNdEx >= l {
  2529. return io.ErrUnexpectedEOF
  2530. }
  2531. b := dAtA[iNdEx]
  2532. iNdEx++
  2533. stringLen |= (uint64(b) & 0x7F) << shift
  2534. if b < 0x80 {
  2535. break
  2536. }
  2537. }
  2538. intStringLen := int(stringLen)
  2539. if intStringLen < 0 {
  2540. return ErrInvalidLengthRpc
  2541. }
  2542. postIndex := iNdEx + intStringLen
  2543. if postIndex > l {
  2544. return io.ErrUnexpectedEOF
  2545. }
  2546. m.Status = string(dAtA[iNdEx:postIndex])
  2547. iNdEx = postIndex
  2548. default:
  2549. iNdEx = preIndex
  2550. skippy, err := skipRpc(dAtA[iNdEx:])
  2551. if err != nil {
  2552. return err
  2553. }
  2554. if skippy < 0 {
  2555. return ErrInvalidLengthRpc
  2556. }
  2557. if (iNdEx + skippy) > l {
  2558. return io.ErrUnexpectedEOF
  2559. }
  2560. iNdEx += skippy
  2561. }
  2562. }
  2563. if iNdEx > l {
  2564. return io.ErrUnexpectedEOF
  2565. }
  2566. return nil
  2567. }
  2568. func skipRpc(dAtA []byte) (n int, err error) {
  2569. l := len(dAtA)
  2570. iNdEx := 0
  2571. for iNdEx < l {
  2572. var wire uint64
  2573. for shift := uint(0); ; shift += 7 {
  2574. if shift >= 64 {
  2575. return 0, ErrIntOverflowRpc
  2576. }
  2577. if iNdEx >= l {
  2578. return 0, io.ErrUnexpectedEOF
  2579. }
  2580. b := dAtA[iNdEx]
  2581. iNdEx++
  2582. wire |= (uint64(b) & 0x7F) << shift
  2583. if b < 0x80 {
  2584. break
  2585. }
  2586. }
  2587. wireType := int(wire & 0x7)
  2588. switch wireType {
  2589. case 0:
  2590. for shift := uint(0); ; shift += 7 {
  2591. if shift >= 64 {
  2592. return 0, ErrIntOverflowRpc
  2593. }
  2594. if iNdEx >= l {
  2595. return 0, io.ErrUnexpectedEOF
  2596. }
  2597. iNdEx++
  2598. if dAtA[iNdEx-1] < 0x80 {
  2599. break
  2600. }
  2601. }
  2602. return iNdEx, nil
  2603. case 1:
  2604. iNdEx += 8
  2605. return iNdEx, nil
  2606. case 2:
  2607. var length int
  2608. for shift := uint(0); ; shift += 7 {
  2609. if shift >= 64 {
  2610. return 0, ErrIntOverflowRpc
  2611. }
  2612. if iNdEx >= l {
  2613. return 0, io.ErrUnexpectedEOF
  2614. }
  2615. b := dAtA[iNdEx]
  2616. iNdEx++
  2617. length |= (int(b) & 0x7F) << shift
  2618. if b < 0x80 {
  2619. break
  2620. }
  2621. }
  2622. iNdEx += length
  2623. if length < 0 {
  2624. return 0, ErrInvalidLengthRpc
  2625. }
  2626. return iNdEx, nil
  2627. case 3:
  2628. for {
  2629. var innerWire uint64
  2630. var start int = iNdEx
  2631. for shift := uint(0); ; shift += 7 {
  2632. if shift >= 64 {
  2633. return 0, ErrIntOverflowRpc
  2634. }
  2635. if iNdEx >= l {
  2636. return 0, io.ErrUnexpectedEOF
  2637. }
  2638. b := dAtA[iNdEx]
  2639. iNdEx++
  2640. innerWire |= (uint64(b) & 0x7F) << shift
  2641. if b < 0x80 {
  2642. break
  2643. }
  2644. }
  2645. innerWireType := int(innerWire & 0x7)
  2646. if innerWireType == 4 {
  2647. break
  2648. }
  2649. next, err := skipRpc(dAtA[start:])
  2650. if err != nil {
  2651. return 0, err
  2652. }
  2653. iNdEx = start + next
  2654. }
  2655. return iNdEx, nil
  2656. case 4:
  2657. return iNdEx, nil
  2658. case 5:
  2659. iNdEx += 4
  2660. return iNdEx, nil
  2661. default:
  2662. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2663. }
  2664. }
  2665. panic("unreachable")
  2666. }
  2667. var (
  2668. ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling")
  2669. ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow")
  2670. )
  2671. func init() { proto.RegisterFile("rpcpb/rpc.proto", fileDescriptorRpc) }
  2672. var fileDescriptorRpc = []byte{
  2673. // 1800 bytes of a gzipped FileDescriptorProto
  2674. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x57, 0xcd, 0x72, 0xdb, 0xba,
  2675. 0x15, 0xb6, 0x6c, 0x4b, 0xb6, 0x60, 0xcb, 0x66, 0x60, 0x3b, 0x66, 0x9c, 0xc4, 0xf4, 0x65, 0x7b,
  2676. 0x33, 0xae, 0x67, 0xe8, 0x74, 0x72, 0x67, 0x3a, 0xed, 0x9d, 0xdb, 0x49, 0x25, 0x99, 0xb9, 0x76,
  2677. 0xcd, 0x48, 0x0a, 0x24, 0x27, 0xe9, 0x4a, 0xa5, 0x48, 0x48, 0x62, 0x4d, 0x91, 0x0c, 0x08, 0xf9,
  2678. 0x4a, 0x77, 0xd1, 0x6d, 0xb7, 0x5d, 0x76, 0xd3, 0x37, 0x68, 0x57, 0x7d, 0x89, 0xb4, 0xcd, 0xa2,
  2679. 0x4f, 0xa0, 0xb6, 0xe9, 0x1b, 0xf0, 0x09, 0x3a, 0x00, 0x28, 0x09, 0xfa, 0x71, 0xbb, 0x33, 0xce,
  2680. 0xf9, 0xbe, 0x8f, 0xc0, 0xd1, 0x39, 0x1f, 0x60, 0xb0, 0x4b, 0x22, 0x27, 0x6a, 0x3d, 0x27, 0x91,
  2681. 0x73, 0x1e, 0x91, 0x90, 0x86, 0x30, 0xcb, 0x03, 0x47, 0x46, 0xc7, 0xa3, 0xdd, 0x7e, 0xeb, 0xdc,
  2682. 0x09, 0x7b, 0xcf, 0x3b, 0x61, 0x27, 0x7c, 0xce, 0xb3, 0xad, 0x7e, 0x9b, 0xaf, 0xf8, 0x82, 0xff,
  2683. 0x25, 0x58, 0xfa, 0xa7, 0x0d, 0xb0, 0x6e, 0x52, 0xc7, 0x85, 0x3f, 0x00, 0xeb, 0x15, 0xbb, 0x87,
  2684. 0xd5, 0xcc, 0x49, 0xe6, 0x34, 0x5f, 0xda, 0x4d, 0x46, 0xda, 0xd6, 0xd0, 0xee, 0xf9, 0x5f, 0xeb,
  2685. 0x81, 0xdd, 0xc3, 0x3a, 0xe2, 0x49, 0x68, 0x80, 0x8d, 0x0b, 0x9b, 0xda, 0x17, 0x1e, 0x51, 0x57,
  2686. 0x39, 0x6e, 0x2f, 0x19, 0x69, 0xbb, 0x02, 0xe7, 0xda, 0xd4, 0x36, 0x5c, 0x8f, 0xe8, 0x68, 0x8c,
  2687. 0x81, 0x67, 0x20, 0xf7, 0xae, 0x68, 0x31, 0xf4, 0x1a, 0x47, 0xc3, 0x64, 0xa4, 0xed, 0x08, 0xf4,
  2688. 0x77, 0xb6, 0x2f, 0xc0, 0x29, 0x02, 0x5e, 0x01, 0xc5, 0xf2, 0x62, 0x8a, 0x83, 0xb2, 0xef, 0xe1,
  2689. 0x80, 0xde, 0x20, 0x2b, 0x56, 0xd7, 0x4f, 0xd6, 0x4e, 0xf3, 0xa5, 0xa7, 0xc9, 0x48, 0x7b, 0x24,
  2690. 0x58, 0x3e, 0x47, 0x18, 0x0e, 0x87, 0x18, 0x7d, 0xe2, 0xc7, 0x3a, 0x5a, 0xa0, 0x41, 0x04, 0xf6,
  2691. 0x8a, 0xee, 0x1d, 0x26, 0xd4, 0x8b, 0xb1, 0xa4, 0x96, 0xe5, 0x6a, 0x27, 0xc9, 0x48, 0x7b, 0x22,
  2692. 0xd4, 0xec, 0x31, 0x68, 0x56, 0x70, 0x19, 0x19, 0x96, 0xc1, 0x8e, 0xf8, 0x4e, 0x0d, 0x63, 0xc2,
  2693. 0xe5, 0x72, 0x5c, 0xee, 0x71, 0x32, 0xd2, 0x0e, 0x67, 0x36, 0x17, 0x61, 0x4c, 0x52, 0xa5, 0x39,
  2694. 0x0a, 0x6c, 0x01, 0xf5, 0x2a, 0xf0, 0xa8, 0x67, 0xfb, 0x93, 0x4f, 0x4c, 0xe4, 0x36, 0xb8, 0xdc,
  2695. 0xb3, 0x64, 0xa4, 0xe9, 0x42, 0xce, 0x13, 0x48, 0x63, 0xba, 0x4b, 0x49, 0xf9, 0x5e, 0x1d, 0x58,
  2696. 0x02, 0x3b, 0x69, 0xae, 0xec, 0xf7, 0x63, 0x8a, 0x89, 0xba, 0xc9, 0x6b, 0x7f, 0x94, 0x8c, 0xb4,
  2697. 0x87, 0xb3, 0xca, 0x8e, 0x00, 0xe8, 0x68, 0x8e, 0xc1, 0x0a, 0x38, 0x1b, 0xa9, 0x53, 0x9b, 0x62,
  2698. 0x35, 0xcf, 0x85, 0xa4, 0x02, 0xce, 0x09, 0x19, 0x31, 0x83, 0xe9, 0x68, 0x19, 0x79, 0x51, 0xb3,
  2699. 0x11, 0xde, 0xe2, 0x40, 0x05, 0xff, 0x4f, 0x93, 0x32, 0xd8, 0x82, 0x26, 0x27, 0xc3, 0x97, 0xa0,
  2700. 0x50, 0x0f, 0xec, 0x28, 0xee, 0x86, 0xb4, 0x1c, 0xf6, 0x03, 0xaa, 0x6e, 0x9d, 0x64, 0x4e, 0xd7,
  2701. 0x4a, 0x8f, 0x92, 0x91, 0x76, 0x20, 0xd4, 0xe2, 0x34, 0x6d, 0x38, 0x2c, 0xaf, 0xa3, 0x59, 0x3c,
  2702. 0xb4, 0xc0, 0x83, 0x37, 0xfd, 0x90, 0xda, 0x25, 0xdb, 0xb9, 0xc5, 0x81, 0x5b, 0x1a, 0x52, 0x1c,
  2703. 0xab, 0xdb, 0x5c, 0xe4, 0x38, 0x19, 0x69, 0x47, 0x42, 0xe4, 0x03, 0x83, 0x18, 0x2d, 0x81, 0x31,
  2704. 0x5a, 0x0c, 0xa4, 0xa3, 0x45, 0x22, 0x9b, 0x8e, 0x1a, 0xc1, 0x6f, 0x43, 0x8a, 0xd5, 0xc2, 0x49,
  2705. 0xe6, 0x74, 0x53, 0x9e, 0x8e, 0x88, 0x60, 0xe3, 0x2e, 0x64, 0xd5, 0x19, 0x63, 0xe4, 0x8a, 0x84,
  2706. 0x84, 0xf4, 0x23, 0x5a, 0xee, 0x62, 0xe7, 0x56, 0xdd, 0xe1, 0xd4, 0x65, 0x15, 0x11, 0x28, 0xc3,
  2707. 0x61, 0x30, 0xa9, 0x22, 0x12, 0x59, 0xff, 0x7d, 0x16, 0xe4, 0x5e, 0xe3, 0x5e, 0x0b, 0x13, 0xf8,
  2708. 0x73, 0xb0, 0xcd, 0x06, 0xdb, 0x1c, 0x60, 0xa7, 0x66, 0xd3, 0x6e, 0x3a, 0xd8, 0x52, 0x6d, 0x30,
  2709. 0x75, 0x5c, 0x03, 0x0f, 0xb0, 0x63, 0x44, 0x36, 0xed, 0xea, 0x68, 0x06, 0x0e, 0xbf, 0x02, 0xf9,
  2710. 0x62, 0x07, 0x07, 0xb4, 0xe8, 0xba, 0x84, 0xd7, 0x35, 0x5f, 0x3a, 0x48, 0x46, 0xda, 0x83, 0x74,
  2711. 0x74, 0x58, 0xca, 0xb0, 0x5d, 0x97, 0xe8, 0x68, 0x8a, 0x63, 0xf5, 0x7c, 0x65, 0x7b, 0x7e, 0x14,
  2712. 0x7a, 0x01, 0xbd, 0x6c, 0x34, 0x6a, 0x9c, 0xbc, 0xcd, 0xc9, 0x52, 0x3d, 0xdb, 0x63, 0x88, 0xd1,
  2713. 0xa5, 0x34, 0x4a, 0x55, 0x16, 0x89, 0xac, 0x9e, 0x25, 0x3b, 0xc6, 0xcc, 0x3f, 0xf0, 0xbc, 0xdb,
  2714. 0xb4, 0xec, 0x18, 0xa7, 0x6e, 0x93, 0x62, 0xe0, 0xd7, 0x60, 0x8b, 0x9d, 0xc0, 0x0a, 0x3b, 0xfc,
  2715. 0xbc, 0x6d, 0x4e, 0x51, 0x93, 0x91, 0xb6, 0x2f, 0x9d, 0xd7, 0x0f, 0x3b, 0xe9, 0x71, 0x65, 0x30,
  2716. 0x2c, 0x82, 0x02, 0x5b, 0x8a, 0x81, 0x6f, 0x58, 0x75, 0xf5, 0xaf, 0x19, 0xfe, 0x33, 0x48, 0x53,
  2717. 0xc3, 0xe9, 0xa9, 0x51, 0x50, 0x36, 0x83, 0xb3, 0x0c, 0xf8, 0x2d, 0xd8, 0x9d, 0x06, 0x6a, 0x24,
  2718. 0x1c, 0x0c, 0xd5, 0xbf, 0x09, 0x91, 0x27, 0xc9, 0x48, 0x53, 0x17, 0x45, 0x22, 0x86, 0xd1, 0xd1,
  2719. 0x3c, 0x6b, 0xbc, 0x17, 0x36, 0xd1, 0x42, 0xe6, 0xef, 0xcb, 0xf7, 0xc2, 0xed, 0x20, 0x15, 0x99,
  2720. 0x65, 0xc0, 0x1a, 0x80, 0x53, 0x55, 0x33, 0x70, 0x79, 0x5d, 0xd5, 0x4f, 0xa2, 0x05, 0xb4, 0x64,
  2721. 0xa4, 0x3d, 0x5e, 0xdc, 0x0e, 0x4e, 0x61, 0x3a, 0x5a, 0xc2, 0x85, 0x3f, 0x15, 0xd7, 0x84, 0xfa,
  2722. 0x67, 0xe6, 0xfb, 0x5b, 0x2f, 0xb6, 0xce, 0xf9, 0x6d, 0x73, 0xce, 0x62, 0xa5, 0x87, 0xc9, 0x48,
  2723. 0x83, 0xb2, 0x60, 0x18, 0xb4, 0xbd, 0x8e, 0x8e, 0x38, 0x43, 0xff, 0x0b, 0x00, 0xb9, 0x06, 0xe6,
  2724. 0xbe, 0xf2, 0x12, 0x14, 0xc4, 0x5f, 0x15, 0x4c, 0xbf, 0x0b, 0xc9, 0xed, 0x62, 0x4f, 0x52, 0x9e,
  2725. 0x36, 0x02, 0x91, 0xd7, 0xd1, 0x2c, 0x1e, 0xfe, 0x04, 0x00, 0x11, 0xe0, 0x8d, 0x25, 0xae, 0x20,
  2726. 0xe9, 0xeb, 0x29, 0x5b, 0x34, 0x94, 0x84, 0x64, 0xee, 0x7d, 0x81, 0x7d, 0x7b, 0x68, 0xd9, 0x14,
  2727. 0x07, 0xce, 0xf0, 0x75, 0xcc, 0x3b, 0xba, 0x20, 0xbb, 0xb7, 0xcb, 0xf2, 0x86, 0x2f, 0x00, 0x46,
  2728. 0x8f, 0xb9, 0xf7, 0x2c, 0x05, 0xfe, 0x12, 0x28, 0xb3, 0x11, 0x74, 0xc7, 0x7b, 0xbb, 0x20, 0xf7,
  2729. 0xf6, 0xbc, 0x8c, 0x41, 0xee, 0x74, 0xb4, 0xc0, 0x63, 0x07, 0x41, 0x61, 0x3f, 0x70, 0x2d, 0xaf,
  2730. 0xe7, 0x51, 0xf5, 0xe0, 0x24, 0x73, 0x9a, 0x95, 0x0f, 0x42, 0x58, 0xce, 0xf0, 0x59, 0x52, 0x47,
  2731. 0x12, 0x12, 0xfe, 0x02, 0x14, 0xcc, 0x81, 0x47, 0xab, 0x01, 0x9b, 0x96, 0x3e, 0xc1, 0xea, 0xc3,
  2732. 0x85, 0xd6, 0x18, 0x78, 0xd4, 0x08, 0x03, 0xa3, 0x2d, 0x00, 0xac, 0x35, 0x64, 0x02, 0xbc, 0x04,
  2733. 0x4a, 0x39, 0x0c, 0x62, 0x7e, 0x31, 0x39, 0x43, 0x61, 0x39, 0x87, 0xf3, 0x6d, 0xea, 0x4c, 0x11,
  2734. 0x63, 0xbb, 0x59, 0x60, 0xc1, 0x9f, 0x81, 0x2d, 0x33, 0xb0, 0x5b, 0x3e, 0xae, 0x45, 0x24, 0x6c,
  2735. 0xab, 0x2a, 0x17, 0x39, 0x4c, 0x46, 0xda, 0x5e, 0xba, 0x13, 0x9e, 0x34, 0x22, 0x96, 0x65, 0xe3,
  2736. 0x36, 0xc5, 0xc2, 0x6f, 0xc0, 0x76, 0xba, 0x9f, 0xb2, 0x1d, 0xe3, 0x58, 0xd5, 0xf8, 0xe5, 0x27,
  2737. 0xcd, 0x6a, 0xba, 0x7b, 0xc3, 0x61, 0x69, 0x1d, 0xcd, 0xa0, 0xe1, 0xb5, 0xe4, 0x32, 0xe5, 0xb0,
  2738. 0xd7, 0xb3, 0x03, 0x37, 0x56, 0xbf, 0x98, 0x7f, 0x2b, 0x4c, 0x5d, 0xc6, 0x49, 0x31, 0xb2, 0xc9,
  2739. 0x8c, 0x79, 0xac, 0x35, 0x50, 0x3f, 0x08, 0x30, 0x99, 0x18, 0xe5, 0x8f, 0x78, 0x5b, 0x49, 0xad,
  2740. 0x41, 0x78, 0x5e, 0xb6, 0xca, 0x39, 0x0a, 0x7b, 0xbc, 0x98, 0x03, 0x8a, 0x49, 0x60, 0xfb, 0x13,
  2741. 0x99, 0x33, 0x2e, 0x23, 0x6d, 0x08, 0xa7, 0x08, 0x59, 0x68, 0x81, 0xc6, 0xaa, 0x5a, 0xa7, 0x04,
  2742. 0xc7, 0x71, 0x63, 0x18, 0xe1, 0x58, 0xc5, 0xfc, 0x58, 0x52, 0x55, 0x63, 0x9e, 0x34, 0x28, 0xcb,
  2743. 0xea, 0x48, 0xc6, 0xb2, 0xe6, 0x10, 0xcb, 0x6b, 0x3c, 0xac, 0x7b, 0xdf, 0x63, 0x6e, 0x81, 0x59,
  2744. 0xb9, 0x39, 0x52, 0xf2, 0x2d, 0x1e, 0x1a, 0xb1, 0xf7, 0x3d, 0x6b, 0x8e, 0x19, 0x02, 0xf3, 0x8d,
  2745. 0x99, 0x80, 0x65, 0x93, 0x0e, 0x56, 0x3b, 0x5c, 0x46, 0xba, 0x91, 0xe6, 0x64, 0x0c, 0x9f, 0xc1,
  2746. 0x74, 0xb4, 0x84, 0x0b, 0xdf, 0x82, 0xfd, 0x69, 0xb4, 0xdf, 0x6e, 0x7b, 0x03, 0x64, 0x07, 0x1d,
  2747. 0xac, 0x76, 0xb9, 0xa6, 0x9e, 0x8c, 0xb4, 0xe3, 0x45, 0x4d, 0x8e, 0x33, 0x08, 0x03, 0xea, 0x68,
  2748. 0x29, 0x1f, 0xfe, 0x1a, 0x1c, 0x2e, 0x8b, 0x37, 0x06, 0x81, 0xea, 0x71, 0x69, 0xe9, 0x25, 0x75,
  2749. 0x8f, 0xb4, 0x41, 0x07, 0x81, 0x8e, 0xee, 0x93, 0x61, 0x7e, 0x3e, 0x49, 0x35, 0x06, 0x41, 0x35,
  2750. 0x8a, 0xd5, 0xdf, 0x70, 0x65, 0xe9, 0x27, 0x95, 0x94, 0xe9, 0x20, 0x30, 0xc2, 0x28, 0xd6, 0xd1,
  2751. 0x3c, 0x8b, 0xdd, 0xa4, 0x22, 0xf4, 0xa6, 0x56, 0x57, 0x6f, 0xb9, 0x84, 0x74, 0x93, 0xa6, 0x12,
  2752. 0x1f, 0x18, 0x75, 0x8a, 0xd3, 0x7f, 0x97, 0x01, 0x1b, 0x08, 0x7f, 0xe8, 0xe3, 0x98, 0xc2, 0x73,
  2753. 0x90, 0xaf, 0x46, 0x98, 0xd8, 0xd4, 0x0b, 0x03, 0x6e, 0x99, 0x3b, 0x2f, 0x94, 0xd4, 0x7f, 0x27,
  2754. 0x71, 0x34, 0x85, 0xc0, 0x2f, 0xc7, 0x6f, 0x00, 0x55, 0x98, 0x75, 0x21, 0x05, 0x8b, 0x20, 0x1a,
  2755. 0x3f, 0x10, 0xbe, 0x1c, 0xfb, 0x32, 0x7f, 0x9d, 0x4f, 0x61, 0x22, 0x88, 0xd2, 0xa4, 0xfe, 0x0d,
  2756. 0xd8, 0x44, 0x38, 0x8e, 0xc2, 0x20, 0xc6, 0x50, 0x05, 0x1b, 0xf5, 0xbe, 0xe3, 0xe0, 0x38, 0xe6,
  2757. 0xfb, 0xd8, 0x44, 0xe3, 0x25, 0x7c, 0x08, 0x72, 0xec, 0x9d, 0xd7, 0x8f, 0x85, 0x2b, 0xa3, 0x74,
  2758. 0x75, 0xf6, 0xcf, 0x8c, 0xb4, 0x79, 0xb8, 0x03, 0x40, 0x25, 0xa4, 0x75, 0x6a, 0x13, 0x8a, 0x5d,
  2759. 0x65, 0x05, 0xee, 0x03, 0x25, 0x7d, 0xc5, 0xf0, 0x18, 0xbb, 0x2f, 0x94, 0x0c, 0xdc, 0x05, 0x5b,
  2760. 0x08, 0xc7, 0x93, 0xc0, 0x2a, 0xdc, 0x06, 0x9b, 0xd7, 0x9e, 0xef, 0xf3, 0xd5, 0x1a, 0x4b, 0xb3,
  2761. 0x31, 0x2e, 0x12, 0xa7, 0xeb, 0xdd, 0x61, 0x65, 0x9d, 0xa9, 0x5c, 0xe0, 0x98, 0x92, 0x70, 0xc8,
  2762. 0x10, 0xfc, 0x35, 0xa2, 0x64, 0xe1, 0x23, 0x70, 0x50, 0xf2, 0x6d, 0xe7, 0xb6, 0x1b, 0xfa, 0xfc,
  2763. 0x75, 0x5c, 0x0b, 0x09, 0x6d, 0x0c, 0xd0, 0x40, 0x71, 0xe1, 0x63, 0x70, 0x78, 0x13, 0xb4, 0x96,
  2764. 0x26, 0x31, 0x3c, 0x00, 0x0f, 0xb8, 0x5d, 0xcf, 0x84, 0xdb, 0xf0, 0x10, 0xec, 0xdd, 0x04, 0xee,
  2765. 0x42, 0xa2, 0x73, 0xf6, 0xc7, 0x35, 0xb1, 0x9f, 0xd4, 0x9e, 0x18, 0xff, 0xfa, 0xca, 0xb2, 0x9a,
  2766. 0xd5, 0x8a, 0xd9, 0x7c, 0x55, 0xb5, 0xac, 0xea, 0x3b, 0x13, 0x29, 0x2b, 0x6c, 0xd7, 0x3c, 0x6c,
  2767. 0x99, 0xc5, 0x0b, 0x13, 0x29, 0x19, 0x78, 0x0c, 0x8e, 0x16, 0x70, 0xcd, 0x57, 0x55, 0xd4, 0xb4,
  2768. 0xaa, 0x95, 0x6f, 0x95, 0x55, 0xa8, 0x82, 0x7d, 0x89, 0x30, 0xcd, 0xac, 0x4d, 0xa4, 0xde, 0xdc,
  2769. 0x54, 0xd1, 0xcd, 0x6b, 0x65, 0x9d, 0xd7, 0x87, 0x05, 0x8a, 0x96, 0xa5, 0x64, 0xe1, 0x19, 0x78,
  2770. 0x56, 0xb2, 0x8a, 0xe5, 0xeb, 0xcb, 0xaa, 0x65, 0x36, 0x6b, 0xa6, 0x89, 0x9a, 0xb5, 0x2a, 0x6a,
  2771. 0x34, 0x1b, 0xef, 0x9b, 0xe8, 0xfd, 0xec, 0xae, 0x72, 0xf0, 0x14, 0xfc, 0xf0, 0x7e, 0x6c, 0xfa,
  2772. 0xe5, 0x6a, 0xc5, 0x54, 0x36, 0xe0, 0x17, 0xe0, 0xe9, 0xfd, 0x48, 0xf6, 0xe1, 0x4d, 0xf8, 0x0c,
  2773. 0xe8, 0x17, 0xa6, 0x55, 0xfc, 0xd5, 0xff, 0xfe, 0x68, 0x1e, 0x9e, 0x80, 0x27, 0xcb, 0x71, 0x69,
  2774. 0x6d, 0x00, 0x7c, 0x0a, 0x1e, 0x2d, 0x47, 0xb0, 0x0f, 0x6d, 0xb1, 0x36, 0x7a, 0x55, 0xbc, 0xb2,
  2775. 0x6a, 0xd5, 0xab, 0x4a, 0xa3, 0xae, 0xb8, 0x70, 0x1b, 0x6c, 0x54, 0xaa, 0x4d, 0x16, 0x52, 0x3e,
  2776. 0x66, 0x60, 0x01, 0x6c, 0x9a, 0xef, 0x1b, 0x26, 0xaa, 0x14, 0x2d, 0xe5, 0x4f, 0xab, 0x67, 0xbf,
  2777. 0x05, 0x60, 0x6a, 0x92, 0x30, 0x07, 0x56, 0xaf, 0xdf, 0x2a, 0x2b, 0x30, 0x0f, 0xb2, 0x96, 0x59,
  2778. 0xac, 0x9b, 0x0a, 0xc3, 0xe7, 0x2b, 0xd5, 0x66, 0xbd, 0x81, 0xcc, 0x7a, 0x5d, 0x59, 0x85, 0x7b,
  2779. 0x60, 0xd7, 0xb4, 0xcc, 0x72, 0xe3, 0xaa, 0x5a, 0x69, 0xa2, 0x9b, 0x4a, 0xc5, 0x44, 0xca, 0x1a,
  2780. 0x54, 0xc0, 0xf6, 0xbb, 0x62, 0xa3, 0x7c, 0x39, 0x8e, 0xac, 0xb3, 0x9f, 0xd9, 0xaa, 0x96, 0xaf,
  2781. 0x9b, 0xa8, 0x58, 0x36, 0xd1, 0x38, 0x9c, 0x65, 0x40, 0xae, 0x3b, 0x8e, 0xe4, 0x5e, 0xbc, 0x04,
  2782. 0xf9, 0x06, 0xb1, 0x83, 0x38, 0x0a, 0x09, 0x85, 0x2f, 0xe4, 0xc5, 0x4e, 0x3a, 0x70, 0xe9, 0x9c,
  2783. 0x1f, 0xed, 0x4e, 0xd6, 0x62, 0xdc, 0xf4, 0x95, 0xd3, 0xcc, 0x8f, 0x33, 0xa5, 0xfd, 0x8f, 0xff,
  2784. 0x3e, 0x5e, 0xf9, 0xf8, 0xf9, 0x38, 0xf3, 0x8f, 0xcf, 0xc7, 0x99, 0x7f, 0x7d, 0x3e, 0xce, 0xfc,
  2785. 0xe1, 0x3f, 0xc7, 0x2b, 0xad, 0x1c, 0xff, 0xff, 0xfd, 0xab, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff,
  2786. 0x53, 0xa4, 0xc8, 0x19, 0x08, 0x10, 0x00, 0x00,
  2787. }