rpc.pb.go 78 KB

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