master.pb.go 74 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043
  1. // Code generated by protoc-gen-go.
  2. // source: master.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package master_pb is a generated protocol buffer package.
  6. It is generated from these files:
  7. master.proto
  8. It has these top-level messages:
  9. Heartbeat
  10. HeartbeatResponse
  11. VolumeInformationMessage
  12. VolumeShortInformationMessage
  13. VolumeEcShardInformationMessage
  14. StorageBackend
  15. Empty
  16. SuperBlockExtra
  17. KeepConnectedRequest
  18. VolumeLocation
  19. LookupVolumeRequest
  20. LookupVolumeResponse
  21. Location
  22. AssignRequest
  23. AssignResponse
  24. StatisticsRequest
  25. StatisticsResponse
  26. StorageType
  27. Collection
  28. CollectionListRequest
  29. CollectionListResponse
  30. CollectionDeleteRequest
  31. CollectionDeleteResponse
  32. DataNodeInfo
  33. RackInfo
  34. DataCenterInfo
  35. TopologyInfo
  36. VolumeListRequest
  37. VolumeListResponse
  38. LookupEcVolumeRequest
  39. LookupEcVolumeResponse
  40. GetMasterConfigurationRequest
  41. GetMasterConfigurationResponse
  42. */
  43. package master_pb
  44. import proto "github.com/golang/protobuf/proto"
  45. import fmt "fmt"
  46. import math "math"
  47. import (
  48. context "golang.org/x/net/context"
  49. grpc "google.golang.org/grpc"
  50. )
  51. // Reference imports to suppress errors if they are not otherwise used.
  52. var _ = proto.Marshal
  53. var _ = fmt.Errorf
  54. var _ = math.Inf
  55. // This is a compile-time assertion to ensure that this generated file
  56. // is compatible with the proto package it is being compiled against.
  57. // A compilation error at this line likely means your copy of the
  58. // proto package needs to be updated.
  59. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  60. type Heartbeat struct {
  61. Ip string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
  62. Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
  63. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  64. MaxVolumeCount uint32 `protobuf:"varint,4,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  65. MaxFileKey uint64 `protobuf:"varint,5,opt,name=max_file_key,json=maxFileKey" json:"max_file_key,omitempty"`
  66. DataCenter string `protobuf:"bytes,6,opt,name=data_center,json=dataCenter" json:"data_center,omitempty"`
  67. Rack string `protobuf:"bytes,7,opt,name=rack" json:"rack,omitempty"`
  68. AdminPort uint32 `protobuf:"varint,8,opt,name=admin_port,json=adminPort" json:"admin_port,omitempty"`
  69. Volumes []*VolumeInformationMessage `protobuf:"bytes,9,rep,name=volumes" json:"volumes,omitempty"`
  70. // delta volumes
  71. NewVolumes []*VolumeShortInformationMessage `protobuf:"bytes,10,rep,name=new_volumes,json=newVolumes" json:"new_volumes,omitempty"`
  72. DeletedVolumes []*VolumeShortInformationMessage `protobuf:"bytes,11,rep,name=deleted_volumes,json=deletedVolumes" json:"deleted_volumes,omitempty"`
  73. HasNoVolumes bool `protobuf:"varint,12,opt,name=has_no_volumes,json=hasNoVolumes" json:"has_no_volumes,omitempty"`
  74. // erasure coding
  75. EcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,16,rep,name=ec_shards,json=ecShards" json:"ec_shards,omitempty"`
  76. // delta erasure coding shards
  77. NewEcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,17,rep,name=new_ec_shards,json=newEcShards" json:"new_ec_shards,omitempty"`
  78. DeletedEcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,18,rep,name=deleted_ec_shards,json=deletedEcShards" json:"deleted_ec_shards,omitempty"`
  79. HasNoEcShards bool `protobuf:"varint,19,opt,name=has_no_ec_shards,json=hasNoEcShards" json:"has_no_ec_shards,omitempty"`
  80. }
  81. func (m *Heartbeat) Reset() { *m = Heartbeat{} }
  82. func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
  83. func (*Heartbeat) ProtoMessage() {}
  84. func (*Heartbeat) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  85. func (m *Heartbeat) GetIp() string {
  86. if m != nil {
  87. return m.Ip
  88. }
  89. return ""
  90. }
  91. func (m *Heartbeat) GetPort() uint32 {
  92. if m != nil {
  93. return m.Port
  94. }
  95. return 0
  96. }
  97. func (m *Heartbeat) GetPublicUrl() string {
  98. if m != nil {
  99. return m.PublicUrl
  100. }
  101. return ""
  102. }
  103. func (m *Heartbeat) GetMaxVolumeCount() uint32 {
  104. if m != nil {
  105. return m.MaxVolumeCount
  106. }
  107. return 0
  108. }
  109. func (m *Heartbeat) GetMaxFileKey() uint64 {
  110. if m != nil {
  111. return m.MaxFileKey
  112. }
  113. return 0
  114. }
  115. func (m *Heartbeat) GetDataCenter() string {
  116. if m != nil {
  117. return m.DataCenter
  118. }
  119. return ""
  120. }
  121. func (m *Heartbeat) GetRack() string {
  122. if m != nil {
  123. return m.Rack
  124. }
  125. return ""
  126. }
  127. func (m *Heartbeat) GetAdminPort() uint32 {
  128. if m != nil {
  129. return m.AdminPort
  130. }
  131. return 0
  132. }
  133. func (m *Heartbeat) GetVolumes() []*VolumeInformationMessage {
  134. if m != nil {
  135. return m.Volumes
  136. }
  137. return nil
  138. }
  139. func (m *Heartbeat) GetNewVolumes() []*VolumeShortInformationMessage {
  140. if m != nil {
  141. return m.NewVolumes
  142. }
  143. return nil
  144. }
  145. func (m *Heartbeat) GetDeletedVolumes() []*VolumeShortInformationMessage {
  146. if m != nil {
  147. return m.DeletedVolumes
  148. }
  149. return nil
  150. }
  151. func (m *Heartbeat) GetHasNoVolumes() bool {
  152. if m != nil {
  153. return m.HasNoVolumes
  154. }
  155. return false
  156. }
  157. func (m *Heartbeat) GetEcShards() []*VolumeEcShardInformationMessage {
  158. if m != nil {
  159. return m.EcShards
  160. }
  161. return nil
  162. }
  163. func (m *Heartbeat) GetNewEcShards() []*VolumeEcShardInformationMessage {
  164. if m != nil {
  165. return m.NewEcShards
  166. }
  167. return nil
  168. }
  169. func (m *Heartbeat) GetDeletedEcShards() []*VolumeEcShardInformationMessage {
  170. if m != nil {
  171. return m.DeletedEcShards
  172. }
  173. return nil
  174. }
  175. func (m *Heartbeat) GetHasNoEcShards() bool {
  176. if m != nil {
  177. return m.HasNoEcShards
  178. }
  179. return false
  180. }
  181. type HeartbeatResponse struct {
  182. VolumeSizeLimit uint64 `protobuf:"varint,1,opt,name=volume_size_limit,json=volumeSizeLimit" json:"volume_size_limit,omitempty"`
  183. Leader string `protobuf:"bytes,2,opt,name=leader" json:"leader,omitempty"`
  184. MetricsAddress string `protobuf:"bytes,3,opt,name=metrics_address,json=metricsAddress" json:"metrics_address,omitempty"`
  185. MetricsIntervalSeconds uint32 `protobuf:"varint,4,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds" json:"metrics_interval_seconds,omitempty"`
  186. StorageBackends []*StorageBackend `protobuf:"bytes,5,rep,name=storage_backends,json=storageBackends" json:"storage_backends,omitempty"`
  187. }
  188. func (m *HeartbeatResponse) Reset() { *m = HeartbeatResponse{} }
  189. func (m *HeartbeatResponse) String() string { return proto.CompactTextString(m) }
  190. func (*HeartbeatResponse) ProtoMessage() {}
  191. func (*HeartbeatResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  192. func (m *HeartbeatResponse) GetVolumeSizeLimit() uint64 {
  193. if m != nil {
  194. return m.VolumeSizeLimit
  195. }
  196. return 0
  197. }
  198. func (m *HeartbeatResponse) GetLeader() string {
  199. if m != nil {
  200. return m.Leader
  201. }
  202. return ""
  203. }
  204. func (m *HeartbeatResponse) GetMetricsAddress() string {
  205. if m != nil {
  206. return m.MetricsAddress
  207. }
  208. return ""
  209. }
  210. func (m *HeartbeatResponse) GetMetricsIntervalSeconds() uint32 {
  211. if m != nil {
  212. return m.MetricsIntervalSeconds
  213. }
  214. return 0
  215. }
  216. func (m *HeartbeatResponse) GetStorageBackends() []*StorageBackend {
  217. if m != nil {
  218. return m.StorageBackends
  219. }
  220. return nil
  221. }
  222. type VolumeInformationMessage struct {
  223. Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
  224. Size uint64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
  225. Collection string `protobuf:"bytes,3,opt,name=collection" json:"collection,omitempty"`
  226. FileCount uint64 `protobuf:"varint,4,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  227. DeleteCount uint64 `protobuf:"varint,5,opt,name=delete_count,json=deleteCount" json:"delete_count,omitempty"`
  228. DeletedByteCount uint64 `protobuf:"varint,6,opt,name=deleted_byte_count,json=deletedByteCount" json:"deleted_byte_count,omitempty"`
  229. ReadOnly bool `protobuf:"varint,7,opt,name=read_only,json=readOnly" json:"read_only,omitempty"`
  230. ReplicaPlacement uint32 `protobuf:"varint,8,opt,name=replica_placement,json=replicaPlacement" json:"replica_placement,omitempty"`
  231. Version uint32 `protobuf:"varint,9,opt,name=version" json:"version,omitempty"`
  232. Ttl uint32 `protobuf:"varint,10,opt,name=ttl" json:"ttl,omitempty"`
  233. CompactRevision uint32 `protobuf:"varint,11,opt,name=compact_revision,json=compactRevision" json:"compact_revision,omitempty"`
  234. ModifiedAtSecond int64 `protobuf:"varint,12,opt,name=modified_at_second,json=modifiedAtSecond" json:"modified_at_second,omitempty"`
  235. RemoteStorageName string `protobuf:"bytes,13,opt,name=remote_storage_name,json=remoteStorageName" json:"remote_storage_name,omitempty"`
  236. RemoteStorageKey string `protobuf:"bytes,14,opt,name=remote_storage_key,json=remoteStorageKey" json:"remote_storage_key,omitempty"`
  237. }
  238. func (m *VolumeInformationMessage) Reset() { *m = VolumeInformationMessage{} }
  239. func (m *VolumeInformationMessage) String() string { return proto.CompactTextString(m) }
  240. func (*VolumeInformationMessage) ProtoMessage() {}
  241. func (*VolumeInformationMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  242. func (m *VolumeInformationMessage) GetId() uint32 {
  243. if m != nil {
  244. return m.Id
  245. }
  246. return 0
  247. }
  248. func (m *VolumeInformationMessage) GetSize() uint64 {
  249. if m != nil {
  250. return m.Size
  251. }
  252. return 0
  253. }
  254. func (m *VolumeInformationMessage) GetCollection() string {
  255. if m != nil {
  256. return m.Collection
  257. }
  258. return ""
  259. }
  260. func (m *VolumeInformationMessage) GetFileCount() uint64 {
  261. if m != nil {
  262. return m.FileCount
  263. }
  264. return 0
  265. }
  266. func (m *VolumeInformationMessage) GetDeleteCount() uint64 {
  267. if m != nil {
  268. return m.DeleteCount
  269. }
  270. return 0
  271. }
  272. func (m *VolumeInformationMessage) GetDeletedByteCount() uint64 {
  273. if m != nil {
  274. return m.DeletedByteCount
  275. }
  276. return 0
  277. }
  278. func (m *VolumeInformationMessage) GetReadOnly() bool {
  279. if m != nil {
  280. return m.ReadOnly
  281. }
  282. return false
  283. }
  284. func (m *VolumeInformationMessage) GetReplicaPlacement() uint32 {
  285. if m != nil {
  286. return m.ReplicaPlacement
  287. }
  288. return 0
  289. }
  290. func (m *VolumeInformationMessage) GetVersion() uint32 {
  291. if m != nil {
  292. return m.Version
  293. }
  294. return 0
  295. }
  296. func (m *VolumeInformationMessage) GetTtl() uint32 {
  297. if m != nil {
  298. return m.Ttl
  299. }
  300. return 0
  301. }
  302. func (m *VolumeInformationMessage) GetCompactRevision() uint32 {
  303. if m != nil {
  304. return m.CompactRevision
  305. }
  306. return 0
  307. }
  308. func (m *VolumeInformationMessage) GetModifiedAtSecond() int64 {
  309. if m != nil {
  310. return m.ModifiedAtSecond
  311. }
  312. return 0
  313. }
  314. func (m *VolumeInformationMessage) GetRemoteStorageName() string {
  315. if m != nil {
  316. return m.RemoteStorageName
  317. }
  318. return ""
  319. }
  320. func (m *VolumeInformationMessage) GetRemoteStorageKey() string {
  321. if m != nil {
  322. return m.RemoteStorageKey
  323. }
  324. return ""
  325. }
  326. type VolumeShortInformationMessage struct {
  327. Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
  328. Collection string `protobuf:"bytes,3,opt,name=collection" json:"collection,omitempty"`
  329. ReplicaPlacement uint32 `protobuf:"varint,8,opt,name=replica_placement,json=replicaPlacement" json:"replica_placement,omitempty"`
  330. Version uint32 `protobuf:"varint,9,opt,name=version" json:"version,omitempty"`
  331. Ttl uint32 `protobuf:"varint,10,opt,name=ttl" json:"ttl,omitempty"`
  332. }
  333. func (m *VolumeShortInformationMessage) Reset() { *m = VolumeShortInformationMessage{} }
  334. func (m *VolumeShortInformationMessage) String() string { return proto.CompactTextString(m) }
  335. func (*VolumeShortInformationMessage) ProtoMessage() {}
  336. func (*VolumeShortInformationMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  337. func (m *VolumeShortInformationMessage) GetId() uint32 {
  338. if m != nil {
  339. return m.Id
  340. }
  341. return 0
  342. }
  343. func (m *VolumeShortInformationMessage) GetCollection() string {
  344. if m != nil {
  345. return m.Collection
  346. }
  347. return ""
  348. }
  349. func (m *VolumeShortInformationMessage) GetReplicaPlacement() uint32 {
  350. if m != nil {
  351. return m.ReplicaPlacement
  352. }
  353. return 0
  354. }
  355. func (m *VolumeShortInformationMessage) GetVersion() uint32 {
  356. if m != nil {
  357. return m.Version
  358. }
  359. return 0
  360. }
  361. func (m *VolumeShortInformationMessage) GetTtl() uint32 {
  362. if m != nil {
  363. return m.Ttl
  364. }
  365. return 0
  366. }
  367. type VolumeEcShardInformationMessage struct {
  368. Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
  369. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  370. EcIndexBits uint32 `protobuf:"varint,3,opt,name=ec_index_bits,json=ecIndexBits" json:"ec_index_bits,omitempty"`
  371. }
  372. func (m *VolumeEcShardInformationMessage) Reset() { *m = VolumeEcShardInformationMessage{} }
  373. func (m *VolumeEcShardInformationMessage) String() string { return proto.CompactTextString(m) }
  374. func (*VolumeEcShardInformationMessage) ProtoMessage() {}
  375. func (*VolumeEcShardInformationMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
  376. func (m *VolumeEcShardInformationMessage) GetId() uint32 {
  377. if m != nil {
  378. return m.Id
  379. }
  380. return 0
  381. }
  382. func (m *VolumeEcShardInformationMessage) GetCollection() string {
  383. if m != nil {
  384. return m.Collection
  385. }
  386. return ""
  387. }
  388. func (m *VolumeEcShardInformationMessage) GetEcIndexBits() uint32 {
  389. if m != nil {
  390. return m.EcIndexBits
  391. }
  392. return 0
  393. }
  394. type StorageBackend struct {
  395. Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
  396. Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
  397. Properties map[string]string `protobuf:"bytes,3,rep,name=properties" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  398. }
  399. func (m *StorageBackend) Reset() { *m = StorageBackend{} }
  400. func (m *StorageBackend) String() string { return proto.CompactTextString(m) }
  401. func (*StorageBackend) ProtoMessage() {}
  402. func (*StorageBackend) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
  403. func (m *StorageBackend) GetType() string {
  404. if m != nil {
  405. return m.Type
  406. }
  407. return ""
  408. }
  409. func (m *StorageBackend) GetId() string {
  410. if m != nil {
  411. return m.Id
  412. }
  413. return ""
  414. }
  415. func (m *StorageBackend) GetProperties() map[string]string {
  416. if m != nil {
  417. return m.Properties
  418. }
  419. return nil
  420. }
  421. type Empty struct {
  422. }
  423. func (m *Empty) Reset() { *m = Empty{} }
  424. func (m *Empty) String() string { return proto.CompactTextString(m) }
  425. func (*Empty) ProtoMessage() {}
  426. func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
  427. type SuperBlockExtra struct {
  428. ErasureCoding *SuperBlockExtra_ErasureCoding `protobuf:"bytes,1,opt,name=erasure_coding,json=erasureCoding" json:"erasure_coding,omitempty"`
  429. }
  430. func (m *SuperBlockExtra) Reset() { *m = SuperBlockExtra{} }
  431. func (m *SuperBlockExtra) String() string { return proto.CompactTextString(m) }
  432. func (*SuperBlockExtra) ProtoMessage() {}
  433. func (*SuperBlockExtra) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
  434. func (m *SuperBlockExtra) GetErasureCoding() *SuperBlockExtra_ErasureCoding {
  435. if m != nil {
  436. return m.ErasureCoding
  437. }
  438. return nil
  439. }
  440. type SuperBlockExtra_ErasureCoding struct {
  441. Data uint32 `protobuf:"varint,1,opt,name=data" json:"data,omitempty"`
  442. Parity uint32 `protobuf:"varint,2,opt,name=parity" json:"parity,omitempty"`
  443. VolumeIds []uint32 `protobuf:"varint,3,rep,packed,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
  444. }
  445. func (m *SuperBlockExtra_ErasureCoding) Reset() { *m = SuperBlockExtra_ErasureCoding{} }
  446. func (m *SuperBlockExtra_ErasureCoding) String() string { return proto.CompactTextString(m) }
  447. func (*SuperBlockExtra_ErasureCoding) ProtoMessage() {}
  448. func (*SuperBlockExtra_ErasureCoding) Descriptor() ([]byte, []int) {
  449. return fileDescriptor0, []int{7, 0}
  450. }
  451. func (m *SuperBlockExtra_ErasureCoding) GetData() uint32 {
  452. if m != nil {
  453. return m.Data
  454. }
  455. return 0
  456. }
  457. func (m *SuperBlockExtra_ErasureCoding) GetParity() uint32 {
  458. if m != nil {
  459. return m.Parity
  460. }
  461. return 0
  462. }
  463. func (m *SuperBlockExtra_ErasureCoding) GetVolumeIds() []uint32 {
  464. if m != nil {
  465. return m.VolumeIds
  466. }
  467. return nil
  468. }
  469. type KeepConnectedRequest struct {
  470. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  471. }
  472. func (m *KeepConnectedRequest) Reset() { *m = KeepConnectedRequest{} }
  473. func (m *KeepConnectedRequest) String() string { return proto.CompactTextString(m) }
  474. func (*KeepConnectedRequest) ProtoMessage() {}
  475. func (*KeepConnectedRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
  476. func (m *KeepConnectedRequest) GetName() string {
  477. if m != nil {
  478. return m.Name
  479. }
  480. return ""
  481. }
  482. type VolumeLocation struct {
  483. Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
  484. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  485. NewVids []uint32 `protobuf:"varint,3,rep,packed,name=new_vids,json=newVids" json:"new_vids,omitempty"`
  486. DeletedVids []uint32 `protobuf:"varint,4,rep,packed,name=deleted_vids,json=deletedVids" json:"deleted_vids,omitempty"`
  487. Leader string `protobuf:"bytes,5,opt,name=leader" json:"leader,omitempty"`
  488. }
  489. func (m *VolumeLocation) Reset() { *m = VolumeLocation{} }
  490. func (m *VolumeLocation) String() string { return proto.CompactTextString(m) }
  491. func (*VolumeLocation) ProtoMessage() {}
  492. func (*VolumeLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
  493. func (m *VolumeLocation) GetUrl() string {
  494. if m != nil {
  495. return m.Url
  496. }
  497. return ""
  498. }
  499. func (m *VolumeLocation) GetPublicUrl() string {
  500. if m != nil {
  501. return m.PublicUrl
  502. }
  503. return ""
  504. }
  505. func (m *VolumeLocation) GetNewVids() []uint32 {
  506. if m != nil {
  507. return m.NewVids
  508. }
  509. return nil
  510. }
  511. func (m *VolumeLocation) GetDeletedVids() []uint32 {
  512. if m != nil {
  513. return m.DeletedVids
  514. }
  515. return nil
  516. }
  517. func (m *VolumeLocation) GetLeader() string {
  518. if m != nil {
  519. return m.Leader
  520. }
  521. return ""
  522. }
  523. type LookupVolumeRequest struct {
  524. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
  525. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  526. }
  527. func (m *LookupVolumeRequest) Reset() { *m = LookupVolumeRequest{} }
  528. func (m *LookupVolumeRequest) String() string { return proto.CompactTextString(m) }
  529. func (*LookupVolumeRequest) ProtoMessage() {}
  530. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
  531. func (m *LookupVolumeRequest) GetVolumeIds() []string {
  532. if m != nil {
  533. return m.VolumeIds
  534. }
  535. return nil
  536. }
  537. func (m *LookupVolumeRequest) GetCollection() string {
  538. if m != nil {
  539. return m.Collection
  540. }
  541. return ""
  542. }
  543. type LookupVolumeResponse struct {
  544. VolumeIdLocations []*LookupVolumeResponse_VolumeIdLocation `protobuf:"bytes,1,rep,name=volume_id_locations,json=volumeIdLocations" json:"volume_id_locations,omitempty"`
  545. }
  546. func (m *LookupVolumeResponse) Reset() { *m = LookupVolumeResponse{} }
  547. func (m *LookupVolumeResponse) String() string { return proto.CompactTextString(m) }
  548. func (*LookupVolumeResponse) ProtoMessage() {}
  549. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
  550. func (m *LookupVolumeResponse) GetVolumeIdLocations() []*LookupVolumeResponse_VolumeIdLocation {
  551. if m != nil {
  552. return m.VolumeIdLocations
  553. }
  554. return nil
  555. }
  556. type LookupVolumeResponse_VolumeIdLocation struct {
  557. VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  558. Locations []*Location `protobuf:"bytes,2,rep,name=locations" json:"locations,omitempty"`
  559. Error string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
  560. }
  561. func (m *LookupVolumeResponse_VolumeIdLocation) Reset() { *m = LookupVolumeResponse_VolumeIdLocation{} }
  562. func (m *LookupVolumeResponse_VolumeIdLocation) String() string { return proto.CompactTextString(m) }
  563. func (*LookupVolumeResponse_VolumeIdLocation) ProtoMessage() {}
  564. func (*LookupVolumeResponse_VolumeIdLocation) Descriptor() ([]byte, []int) {
  565. return fileDescriptor0, []int{11, 0}
  566. }
  567. func (m *LookupVolumeResponse_VolumeIdLocation) GetVolumeId() string {
  568. if m != nil {
  569. return m.VolumeId
  570. }
  571. return ""
  572. }
  573. func (m *LookupVolumeResponse_VolumeIdLocation) GetLocations() []*Location {
  574. if m != nil {
  575. return m.Locations
  576. }
  577. return nil
  578. }
  579. func (m *LookupVolumeResponse_VolumeIdLocation) GetError() string {
  580. if m != nil {
  581. return m.Error
  582. }
  583. return ""
  584. }
  585. type Location struct {
  586. Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
  587. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  588. }
  589. func (m *Location) Reset() { *m = Location{} }
  590. func (m *Location) String() string { return proto.CompactTextString(m) }
  591. func (*Location) ProtoMessage() {}
  592. func (*Location) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
  593. func (m *Location) GetUrl() string {
  594. if m != nil {
  595. return m.Url
  596. }
  597. return ""
  598. }
  599. func (m *Location) GetPublicUrl() string {
  600. if m != nil {
  601. return m.PublicUrl
  602. }
  603. return ""
  604. }
  605. type AssignRequest struct {
  606. Count uint64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
  607. Replication string `protobuf:"bytes,2,opt,name=replication" json:"replication,omitempty"`
  608. Collection string `protobuf:"bytes,3,opt,name=collection" json:"collection,omitempty"`
  609. Ttl string `protobuf:"bytes,4,opt,name=ttl" json:"ttl,omitempty"`
  610. DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter" json:"data_center,omitempty"`
  611. Rack string `protobuf:"bytes,6,opt,name=rack" json:"rack,omitempty"`
  612. DataNode string `protobuf:"bytes,7,opt,name=data_node,json=dataNode" json:"data_node,omitempty"`
  613. MemoryMapMaxSizeMb uint32 `protobuf:"varint,8,opt,name=memory_map_max_size_mb,json=memoryMapMaxSizeMb" json:"memory_map_max_size_mb,omitempty"`
  614. WritableVolumeCount uint32 `protobuf:"varint,9,opt,name=Writable_volume_count,json=WritableVolumeCount" json:"Writable_volume_count,omitempty"`
  615. }
  616. func (m *AssignRequest) Reset() { *m = AssignRequest{} }
  617. func (m *AssignRequest) String() string { return proto.CompactTextString(m) }
  618. func (*AssignRequest) ProtoMessage() {}
  619. func (*AssignRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
  620. func (m *AssignRequest) GetCount() uint64 {
  621. if m != nil {
  622. return m.Count
  623. }
  624. return 0
  625. }
  626. func (m *AssignRequest) GetReplication() string {
  627. if m != nil {
  628. return m.Replication
  629. }
  630. return ""
  631. }
  632. func (m *AssignRequest) GetCollection() string {
  633. if m != nil {
  634. return m.Collection
  635. }
  636. return ""
  637. }
  638. func (m *AssignRequest) GetTtl() string {
  639. if m != nil {
  640. return m.Ttl
  641. }
  642. return ""
  643. }
  644. func (m *AssignRequest) GetDataCenter() string {
  645. if m != nil {
  646. return m.DataCenter
  647. }
  648. return ""
  649. }
  650. func (m *AssignRequest) GetRack() string {
  651. if m != nil {
  652. return m.Rack
  653. }
  654. return ""
  655. }
  656. func (m *AssignRequest) GetDataNode() string {
  657. if m != nil {
  658. return m.DataNode
  659. }
  660. return ""
  661. }
  662. func (m *AssignRequest) GetMemoryMapMaxSizeMb() uint32 {
  663. if m != nil {
  664. return m.MemoryMapMaxSizeMb
  665. }
  666. return 0
  667. }
  668. func (m *AssignRequest) GetWritableVolumeCount() uint32 {
  669. if m != nil {
  670. return m.WritableVolumeCount
  671. }
  672. return 0
  673. }
  674. type AssignResponse struct {
  675. Fid string `protobuf:"bytes,1,opt,name=fid" json:"fid,omitempty"`
  676. Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
  677. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  678. Count uint64 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
  679. Error string `protobuf:"bytes,5,opt,name=error" json:"error,omitempty"`
  680. Auth string `protobuf:"bytes,6,opt,name=auth" json:"auth,omitempty"`
  681. }
  682. func (m *AssignResponse) Reset() { *m = AssignResponse{} }
  683. func (m *AssignResponse) String() string { return proto.CompactTextString(m) }
  684. func (*AssignResponse) ProtoMessage() {}
  685. func (*AssignResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  686. func (m *AssignResponse) GetFid() string {
  687. if m != nil {
  688. return m.Fid
  689. }
  690. return ""
  691. }
  692. func (m *AssignResponse) GetUrl() string {
  693. if m != nil {
  694. return m.Url
  695. }
  696. return ""
  697. }
  698. func (m *AssignResponse) GetPublicUrl() string {
  699. if m != nil {
  700. return m.PublicUrl
  701. }
  702. return ""
  703. }
  704. func (m *AssignResponse) GetCount() uint64 {
  705. if m != nil {
  706. return m.Count
  707. }
  708. return 0
  709. }
  710. func (m *AssignResponse) GetError() string {
  711. if m != nil {
  712. return m.Error
  713. }
  714. return ""
  715. }
  716. func (m *AssignResponse) GetAuth() string {
  717. if m != nil {
  718. return m.Auth
  719. }
  720. return ""
  721. }
  722. type StatisticsRequest struct {
  723. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  724. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  725. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  726. }
  727. func (m *StatisticsRequest) Reset() { *m = StatisticsRequest{} }
  728. func (m *StatisticsRequest) String() string { return proto.CompactTextString(m) }
  729. func (*StatisticsRequest) ProtoMessage() {}
  730. func (*StatisticsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  731. func (m *StatisticsRequest) GetReplication() string {
  732. if m != nil {
  733. return m.Replication
  734. }
  735. return ""
  736. }
  737. func (m *StatisticsRequest) GetCollection() string {
  738. if m != nil {
  739. return m.Collection
  740. }
  741. return ""
  742. }
  743. func (m *StatisticsRequest) GetTtl() string {
  744. if m != nil {
  745. return m.Ttl
  746. }
  747. return ""
  748. }
  749. type StatisticsResponse struct {
  750. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  751. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  752. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  753. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
  754. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize" json:"used_size,omitempty"`
  755. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  756. }
  757. func (m *StatisticsResponse) Reset() { *m = StatisticsResponse{} }
  758. func (m *StatisticsResponse) String() string { return proto.CompactTextString(m) }
  759. func (*StatisticsResponse) ProtoMessage() {}
  760. func (*StatisticsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  761. func (m *StatisticsResponse) GetReplication() string {
  762. if m != nil {
  763. return m.Replication
  764. }
  765. return ""
  766. }
  767. func (m *StatisticsResponse) GetCollection() string {
  768. if m != nil {
  769. return m.Collection
  770. }
  771. return ""
  772. }
  773. func (m *StatisticsResponse) GetTtl() string {
  774. if m != nil {
  775. return m.Ttl
  776. }
  777. return ""
  778. }
  779. func (m *StatisticsResponse) GetTotalSize() uint64 {
  780. if m != nil {
  781. return m.TotalSize
  782. }
  783. return 0
  784. }
  785. func (m *StatisticsResponse) GetUsedSize() uint64 {
  786. if m != nil {
  787. return m.UsedSize
  788. }
  789. return 0
  790. }
  791. func (m *StatisticsResponse) GetFileCount() uint64 {
  792. if m != nil {
  793. return m.FileCount
  794. }
  795. return 0
  796. }
  797. type StorageType struct {
  798. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  799. Ttl string `protobuf:"bytes,2,opt,name=ttl" json:"ttl,omitempty"`
  800. }
  801. func (m *StorageType) Reset() { *m = StorageType{} }
  802. func (m *StorageType) String() string { return proto.CompactTextString(m) }
  803. func (*StorageType) ProtoMessage() {}
  804. func (*StorageType) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  805. func (m *StorageType) GetReplication() string {
  806. if m != nil {
  807. return m.Replication
  808. }
  809. return ""
  810. }
  811. func (m *StorageType) GetTtl() string {
  812. if m != nil {
  813. return m.Ttl
  814. }
  815. return ""
  816. }
  817. type Collection struct {
  818. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  819. }
  820. func (m *Collection) Reset() { *m = Collection{} }
  821. func (m *Collection) String() string { return proto.CompactTextString(m) }
  822. func (*Collection) ProtoMessage() {}
  823. func (*Collection) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  824. func (m *Collection) GetName() string {
  825. if m != nil {
  826. return m.Name
  827. }
  828. return ""
  829. }
  830. type CollectionListRequest struct {
  831. IncludeNormalVolumes bool `protobuf:"varint,1,opt,name=include_normal_volumes,json=includeNormalVolumes" json:"include_normal_volumes,omitempty"`
  832. IncludeEcVolumes bool `protobuf:"varint,2,opt,name=include_ec_volumes,json=includeEcVolumes" json:"include_ec_volumes,omitempty"`
  833. }
  834. func (m *CollectionListRequest) Reset() { *m = CollectionListRequest{} }
  835. func (m *CollectionListRequest) String() string { return proto.CompactTextString(m) }
  836. func (*CollectionListRequest) ProtoMessage() {}
  837. func (*CollectionListRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  838. func (m *CollectionListRequest) GetIncludeNormalVolumes() bool {
  839. if m != nil {
  840. return m.IncludeNormalVolumes
  841. }
  842. return false
  843. }
  844. func (m *CollectionListRequest) GetIncludeEcVolumes() bool {
  845. if m != nil {
  846. return m.IncludeEcVolumes
  847. }
  848. return false
  849. }
  850. type CollectionListResponse struct {
  851. Collections []*Collection `protobuf:"bytes,1,rep,name=collections" json:"collections,omitempty"`
  852. }
  853. func (m *CollectionListResponse) Reset() { *m = CollectionListResponse{} }
  854. func (m *CollectionListResponse) String() string { return proto.CompactTextString(m) }
  855. func (*CollectionListResponse) ProtoMessage() {}
  856. func (*CollectionListResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  857. func (m *CollectionListResponse) GetCollections() []*Collection {
  858. if m != nil {
  859. return m.Collections
  860. }
  861. return nil
  862. }
  863. type CollectionDeleteRequest struct {
  864. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  865. }
  866. func (m *CollectionDeleteRequest) Reset() { *m = CollectionDeleteRequest{} }
  867. func (m *CollectionDeleteRequest) String() string { return proto.CompactTextString(m) }
  868. func (*CollectionDeleteRequest) ProtoMessage() {}
  869. func (*CollectionDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  870. func (m *CollectionDeleteRequest) GetName() string {
  871. if m != nil {
  872. return m.Name
  873. }
  874. return ""
  875. }
  876. type CollectionDeleteResponse struct {
  877. }
  878. func (m *CollectionDeleteResponse) Reset() { *m = CollectionDeleteResponse{} }
  879. func (m *CollectionDeleteResponse) String() string { return proto.CompactTextString(m) }
  880. func (*CollectionDeleteResponse) ProtoMessage() {}
  881. func (*CollectionDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  882. //
  883. // volume related
  884. //
  885. type DataNodeInfo struct {
  886. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  887. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  888. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  889. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  890. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  891. VolumeInfos []*VolumeInformationMessage `protobuf:"bytes,6,rep,name=volume_infos,json=volumeInfos" json:"volume_infos,omitempty"`
  892. EcShardInfos []*VolumeEcShardInformationMessage `protobuf:"bytes,7,rep,name=ec_shard_infos,json=ecShardInfos" json:"ec_shard_infos,omitempty"`
  893. RemoteVolumeCount uint64 `protobuf:"varint,8,opt,name=remote_volume_count,json=remoteVolumeCount" json:"remote_volume_count,omitempty"`
  894. }
  895. func (m *DataNodeInfo) Reset() { *m = DataNodeInfo{} }
  896. func (m *DataNodeInfo) String() string { return proto.CompactTextString(m) }
  897. func (*DataNodeInfo) ProtoMessage() {}
  898. func (*DataNodeInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  899. func (m *DataNodeInfo) GetId() string {
  900. if m != nil {
  901. return m.Id
  902. }
  903. return ""
  904. }
  905. func (m *DataNodeInfo) GetVolumeCount() uint64 {
  906. if m != nil {
  907. return m.VolumeCount
  908. }
  909. return 0
  910. }
  911. func (m *DataNodeInfo) GetMaxVolumeCount() uint64 {
  912. if m != nil {
  913. return m.MaxVolumeCount
  914. }
  915. return 0
  916. }
  917. func (m *DataNodeInfo) GetFreeVolumeCount() uint64 {
  918. if m != nil {
  919. return m.FreeVolumeCount
  920. }
  921. return 0
  922. }
  923. func (m *DataNodeInfo) GetActiveVolumeCount() uint64 {
  924. if m != nil {
  925. return m.ActiveVolumeCount
  926. }
  927. return 0
  928. }
  929. func (m *DataNodeInfo) GetVolumeInfos() []*VolumeInformationMessage {
  930. if m != nil {
  931. return m.VolumeInfos
  932. }
  933. return nil
  934. }
  935. func (m *DataNodeInfo) GetEcShardInfos() []*VolumeEcShardInformationMessage {
  936. if m != nil {
  937. return m.EcShardInfos
  938. }
  939. return nil
  940. }
  941. func (m *DataNodeInfo) GetRemoteVolumeCount() uint64 {
  942. if m != nil {
  943. return m.RemoteVolumeCount
  944. }
  945. return 0
  946. }
  947. type RackInfo struct {
  948. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  949. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  950. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  951. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  952. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  953. DataNodeInfos []*DataNodeInfo `protobuf:"bytes,6,rep,name=data_node_infos,json=dataNodeInfos" json:"data_node_infos,omitempty"`
  954. RemoteVolumeCount uint64 `protobuf:"varint,7,opt,name=remote_volume_count,json=remoteVolumeCount" json:"remote_volume_count,omitempty"`
  955. }
  956. func (m *RackInfo) Reset() { *m = RackInfo{} }
  957. func (m *RackInfo) String() string { return proto.CompactTextString(m) }
  958. func (*RackInfo) ProtoMessage() {}
  959. func (*RackInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
  960. func (m *RackInfo) GetId() string {
  961. if m != nil {
  962. return m.Id
  963. }
  964. return ""
  965. }
  966. func (m *RackInfo) GetVolumeCount() uint64 {
  967. if m != nil {
  968. return m.VolumeCount
  969. }
  970. return 0
  971. }
  972. func (m *RackInfo) GetMaxVolumeCount() uint64 {
  973. if m != nil {
  974. return m.MaxVolumeCount
  975. }
  976. return 0
  977. }
  978. func (m *RackInfo) GetFreeVolumeCount() uint64 {
  979. if m != nil {
  980. return m.FreeVolumeCount
  981. }
  982. return 0
  983. }
  984. func (m *RackInfo) GetActiveVolumeCount() uint64 {
  985. if m != nil {
  986. return m.ActiveVolumeCount
  987. }
  988. return 0
  989. }
  990. func (m *RackInfo) GetDataNodeInfos() []*DataNodeInfo {
  991. if m != nil {
  992. return m.DataNodeInfos
  993. }
  994. return nil
  995. }
  996. func (m *RackInfo) GetRemoteVolumeCount() uint64 {
  997. if m != nil {
  998. return m.RemoteVolumeCount
  999. }
  1000. return 0
  1001. }
  1002. type DataCenterInfo struct {
  1003. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  1004. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  1005. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  1006. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  1007. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  1008. RackInfos []*RackInfo `protobuf:"bytes,6,rep,name=rack_infos,json=rackInfos" json:"rack_infos,omitempty"`
  1009. RemoteVolumeCount uint64 `protobuf:"varint,7,opt,name=remote_volume_count,json=remoteVolumeCount" json:"remote_volume_count,omitempty"`
  1010. }
  1011. func (m *DataCenterInfo) Reset() { *m = DataCenterInfo{} }
  1012. func (m *DataCenterInfo) String() string { return proto.CompactTextString(m) }
  1013. func (*DataCenterInfo) ProtoMessage() {}
  1014. func (*DataCenterInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
  1015. func (m *DataCenterInfo) GetId() string {
  1016. if m != nil {
  1017. return m.Id
  1018. }
  1019. return ""
  1020. }
  1021. func (m *DataCenterInfo) GetVolumeCount() uint64 {
  1022. if m != nil {
  1023. return m.VolumeCount
  1024. }
  1025. return 0
  1026. }
  1027. func (m *DataCenterInfo) GetMaxVolumeCount() uint64 {
  1028. if m != nil {
  1029. return m.MaxVolumeCount
  1030. }
  1031. return 0
  1032. }
  1033. func (m *DataCenterInfo) GetFreeVolumeCount() uint64 {
  1034. if m != nil {
  1035. return m.FreeVolumeCount
  1036. }
  1037. return 0
  1038. }
  1039. func (m *DataCenterInfo) GetActiveVolumeCount() uint64 {
  1040. if m != nil {
  1041. return m.ActiveVolumeCount
  1042. }
  1043. return 0
  1044. }
  1045. func (m *DataCenterInfo) GetRackInfos() []*RackInfo {
  1046. if m != nil {
  1047. return m.RackInfos
  1048. }
  1049. return nil
  1050. }
  1051. func (m *DataCenterInfo) GetRemoteVolumeCount() uint64 {
  1052. if m != nil {
  1053. return m.RemoteVolumeCount
  1054. }
  1055. return 0
  1056. }
  1057. type TopologyInfo struct {
  1058. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  1059. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  1060. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  1061. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  1062. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  1063. DataCenterInfos []*DataCenterInfo `protobuf:"bytes,6,rep,name=data_center_infos,json=dataCenterInfos" json:"data_center_infos,omitempty"`
  1064. RemoteVolumeCount uint64 `protobuf:"varint,7,opt,name=remote_volume_count,json=remoteVolumeCount" json:"remote_volume_count,omitempty"`
  1065. }
  1066. func (m *TopologyInfo) Reset() { *m = TopologyInfo{} }
  1067. func (m *TopologyInfo) String() string { return proto.CompactTextString(m) }
  1068. func (*TopologyInfo) ProtoMessage() {}
  1069. func (*TopologyInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
  1070. func (m *TopologyInfo) GetId() string {
  1071. if m != nil {
  1072. return m.Id
  1073. }
  1074. return ""
  1075. }
  1076. func (m *TopologyInfo) GetVolumeCount() uint64 {
  1077. if m != nil {
  1078. return m.VolumeCount
  1079. }
  1080. return 0
  1081. }
  1082. func (m *TopologyInfo) GetMaxVolumeCount() uint64 {
  1083. if m != nil {
  1084. return m.MaxVolumeCount
  1085. }
  1086. return 0
  1087. }
  1088. func (m *TopologyInfo) GetFreeVolumeCount() uint64 {
  1089. if m != nil {
  1090. return m.FreeVolumeCount
  1091. }
  1092. return 0
  1093. }
  1094. func (m *TopologyInfo) GetActiveVolumeCount() uint64 {
  1095. if m != nil {
  1096. return m.ActiveVolumeCount
  1097. }
  1098. return 0
  1099. }
  1100. func (m *TopologyInfo) GetDataCenterInfos() []*DataCenterInfo {
  1101. if m != nil {
  1102. return m.DataCenterInfos
  1103. }
  1104. return nil
  1105. }
  1106. func (m *TopologyInfo) GetRemoteVolumeCount() uint64 {
  1107. if m != nil {
  1108. return m.RemoteVolumeCount
  1109. }
  1110. return 0
  1111. }
  1112. type VolumeListRequest struct {
  1113. }
  1114. func (m *VolumeListRequest) Reset() { *m = VolumeListRequest{} }
  1115. func (m *VolumeListRequest) String() string { return proto.CompactTextString(m) }
  1116. func (*VolumeListRequest) ProtoMessage() {}
  1117. func (*VolumeListRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
  1118. type VolumeListResponse struct {
  1119. TopologyInfo *TopologyInfo `protobuf:"bytes,1,opt,name=topology_info,json=topologyInfo" json:"topology_info,omitempty"`
  1120. VolumeSizeLimitMb uint64 `protobuf:"varint,2,opt,name=volume_size_limit_mb,json=volumeSizeLimitMb" json:"volume_size_limit_mb,omitempty"`
  1121. }
  1122. func (m *VolumeListResponse) Reset() { *m = VolumeListResponse{} }
  1123. func (m *VolumeListResponse) String() string { return proto.CompactTextString(m) }
  1124. func (*VolumeListResponse) ProtoMessage() {}
  1125. func (*VolumeListResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
  1126. func (m *VolumeListResponse) GetTopologyInfo() *TopologyInfo {
  1127. if m != nil {
  1128. return m.TopologyInfo
  1129. }
  1130. return nil
  1131. }
  1132. func (m *VolumeListResponse) GetVolumeSizeLimitMb() uint64 {
  1133. if m != nil {
  1134. return m.VolumeSizeLimitMb
  1135. }
  1136. return 0
  1137. }
  1138. type LookupEcVolumeRequest struct {
  1139. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  1140. }
  1141. func (m *LookupEcVolumeRequest) Reset() { *m = LookupEcVolumeRequest{} }
  1142. func (m *LookupEcVolumeRequest) String() string { return proto.CompactTextString(m) }
  1143. func (*LookupEcVolumeRequest) ProtoMessage() {}
  1144. func (*LookupEcVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
  1145. func (m *LookupEcVolumeRequest) GetVolumeId() uint32 {
  1146. if m != nil {
  1147. return m.VolumeId
  1148. }
  1149. return 0
  1150. }
  1151. type LookupEcVolumeResponse struct {
  1152. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  1153. ShardIdLocations []*LookupEcVolumeResponse_EcShardIdLocation `protobuf:"bytes,2,rep,name=shard_id_locations,json=shardIdLocations" json:"shard_id_locations,omitempty"`
  1154. }
  1155. func (m *LookupEcVolumeResponse) Reset() { *m = LookupEcVolumeResponse{} }
  1156. func (m *LookupEcVolumeResponse) String() string { return proto.CompactTextString(m) }
  1157. func (*LookupEcVolumeResponse) ProtoMessage() {}
  1158. func (*LookupEcVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
  1159. func (m *LookupEcVolumeResponse) GetVolumeId() uint32 {
  1160. if m != nil {
  1161. return m.VolumeId
  1162. }
  1163. return 0
  1164. }
  1165. func (m *LookupEcVolumeResponse) GetShardIdLocations() []*LookupEcVolumeResponse_EcShardIdLocation {
  1166. if m != nil {
  1167. return m.ShardIdLocations
  1168. }
  1169. return nil
  1170. }
  1171. type LookupEcVolumeResponse_EcShardIdLocation struct {
  1172. ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId" json:"shard_id,omitempty"`
  1173. Locations []*Location `protobuf:"bytes,2,rep,name=locations" json:"locations,omitempty"`
  1174. }
  1175. func (m *LookupEcVolumeResponse_EcShardIdLocation) Reset() {
  1176. *m = LookupEcVolumeResponse_EcShardIdLocation{}
  1177. }
  1178. func (m *LookupEcVolumeResponse_EcShardIdLocation) String() string { return proto.CompactTextString(m) }
  1179. func (*LookupEcVolumeResponse_EcShardIdLocation) ProtoMessage() {}
  1180. func (*LookupEcVolumeResponse_EcShardIdLocation) Descriptor() ([]byte, []int) {
  1181. return fileDescriptor0, []int{30, 0}
  1182. }
  1183. func (m *LookupEcVolumeResponse_EcShardIdLocation) GetShardId() uint32 {
  1184. if m != nil {
  1185. return m.ShardId
  1186. }
  1187. return 0
  1188. }
  1189. func (m *LookupEcVolumeResponse_EcShardIdLocation) GetLocations() []*Location {
  1190. if m != nil {
  1191. return m.Locations
  1192. }
  1193. return nil
  1194. }
  1195. type GetMasterConfigurationRequest struct {
  1196. }
  1197. func (m *GetMasterConfigurationRequest) Reset() { *m = GetMasterConfigurationRequest{} }
  1198. func (m *GetMasterConfigurationRequest) String() string { return proto.CompactTextString(m) }
  1199. func (*GetMasterConfigurationRequest) ProtoMessage() {}
  1200. func (*GetMasterConfigurationRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
  1201. type GetMasterConfigurationResponse struct {
  1202. MetricsAddress string `protobuf:"bytes,1,opt,name=metrics_address,json=metricsAddress" json:"metrics_address,omitempty"`
  1203. MetricsIntervalSeconds uint32 `protobuf:"varint,2,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds" json:"metrics_interval_seconds,omitempty"`
  1204. }
  1205. func (m *GetMasterConfigurationResponse) Reset() { *m = GetMasterConfigurationResponse{} }
  1206. func (m *GetMasterConfigurationResponse) String() string { return proto.CompactTextString(m) }
  1207. func (*GetMasterConfigurationResponse) ProtoMessage() {}
  1208. func (*GetMasterConfigurationResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
  1209. func (m *GetMasterConfigurationResponse) GetMetricsAddress() string {
  1210. if m != nil {
  1211. return m.MetricsAddress
  1212. }
  1213. return ""
  1214. }
  1215. func (m *GetMasterConfigurationResponse) GetMetricsIntervalSeconds() uint32 {
  1216. if m != nil {
  1217. return m.MetricsIntervalSeconds
  1218. }
  1219. return 0
  1220. }
  1221. func init() {
  1222. proto.RegisterType((*Heartbeat)(nil), "master_pb.Heartbeat")
  1223. proto.RegisterType((*HeartbeatResponse)(nil), "master_pb.HeartbeatResponse")
  1224. proto.RegisterType((*VolumeInformationMessage)(nil), "master_pb.VolumeInformationMessage")
  1225. proto.RegisterType((*VolumeShortInformationMessage)(nil), "master_pb.VolumeShortInformationMessage")
  1226. proto.RegisterType((*VolumeEcShardInformationMessage)(nil), "master_pb.VolumeEcShardInformationMessage")
  1227. proto.RegisterType((*StorageBackend)(nil), "master_pb.StorageBackend")
  1228. proto.RegisterType((*Empty)(nil), "master_pb.Empty")
  1229. proto.RegisterType((*SuperBlockExtra)(nil), "master_pb.SuperBlockExtra")
  1230. proto.RegisterType((*SuperBlockExtra_ErasureCoding)(nil), "master_pb.SuperBlockExtra.ErasureCoding")
  1231. proto.RegisterType((*KeepConnectedRequest)(nil), "master_pb.KeepConnectedRequest")
  1232. proto.RegisterType((*VolumeLocation)(nil), "master_pb.VolumeLocation")
  1233. proto.RegisterType((*LookupVolumeRequest)(nil), "master_pb.LookupVolumeRequest")
  1234. proto.RegisterType((*LookupVolumeResponse)(nil), "master_pb.LookupVolumeResponse")
  1235. proto.RegisterType((*LookupVolumeResponse_VolumeIdLocation)(nil), "master_pb.LookupVolumeResponse.VolumeIdLocation")
  1236. proto.RegisterType((*Location)(nil), "master_pb.Location")
  1237. proto.RegisterType((*AssignRequest)(nil), "master_pb.AssignRequest")
  1238. proto.RegisterType((*AssignResponse)(nil), "master_pb.AssignResponse")
  1239. proto.RegisterType((*StatisticsRequest)(nil), "master_pb.StatisticsRequest")
  1240. proto.RegisterType((*StatisticsResponse)(nil), "master_pb.StatisticsResponse")
  1241. proto.RegisterType((*StorageType)(nil), "master_pb.StorageType")
  1242. proto.RegisterType((*Collection)(nil), "master_pb.Collection")
  1243. proto.RegisterType((*CollectionListRequest)(nil), "master_pb.CollectionListRequest")
  1244. proto.RegisterType((*CollectionListResponse)(nil), "master_pb.CollectionListResponse")
  1245. proto.RegisterType((*CollectionDeleteRequest)(nil), "master_pb.CollectionDeleteRequest")
  1246. proto.RegisterType((*CollectionDeleteResponse)(nil), "master_pb.CollectionDeleteResponse")
  1247. proto.RegisterType((*DataNodeInfo)(nil), "master_pb.DataNodeInfo")
  1248. proto.RegisterType((*RackInfo)(nil), "master_pb.RackInfo")
  1249. proto.RegisterType((*DataCenterInfo)(nil), "master_pb.DataCenterInfo")
  1250. proto.RegisterType((*TopologyInfo)(nil), "master_pb.TopologyInfo")
  1251. proto.RegisterType((*VolumeListRequest)(nil), "master_pb.VolumeListRequest")
  1252. proto.RegisterType((*VolumeListResponse)(nil), "master_pb.VolumeListResponse")
  1253. proto.RegisterType((*LookupEcVolumeRequest)(nil), "master_pb.LookupEcVolumeRequest")
  1254. proto.RegisterType((*LookupEcVolumeResponse)(nil), "master_pb.LookupEcVolumeResponse")
  1255. proto.RegisterType((*LookupEcVolumeResponse_EcShardIdLocation)(nil), "master_pb.LookupEcVolumeResponse.EcShardIdLocation")
  1256. proto.RegisterType((*GetMasterConfigurationRequest)(nil), "master_pb.GetMasterConfigurationRequest")
  1257. proto.RegisterType((*GetMasterConfigurationResponse)(nil), "master_pb.GetMasterConfigurationResponse")
  1258. }
  1259. // Reference imports to suppress errors if they are not otherwise used.
  1260. var _ context.Context
  1261. var _ grpc.ClientConn
  1262. // This is a compile-time assertion to ensure that this generated file
  1263. // is compatible with the grpc package it is being compiled against.
  1264. const _ = grpc.SupportPackageIsVersion4
  1265. // Client API for Seaweed service
  1266. type SeaweedClient interface {
  1267. SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error)
  1268. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error)
  1269. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  1270. Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error)
  1271. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  1272. CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)
  1273. CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error)
  1274. VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error)
  1275. LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error)
  1276. GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error)
  1277. }
  1278. type seaweedClient struct {
  1279. cc *grpc.ClientConn
  1280. }
  1281. func NewSeaweedClient(cc *grpc.ClientConn) SeaweedClient {
  1282. return &seaweedClient{cc}
  1283. }
  1284. func (c *seaweedClient) SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error) {
  1285. stream, err := grpc.NewClientStream(ctx, &_Seaweed_serviceDesc.Streams[0], c.cc, "/master_pb.Seaweed/SendHeartbeat", opts...)
  1286. if err != nil {
  1287. return nil, err
  1288. }
  1289. x := &seaweedSendHeartbeatClient{stream}
  1290. return x, nil
  1291. }
  1292. type Seaweed_SendHeartbeatClient interface {
  1293. Send(*Heartbeat) error
  1294. Recv() (*HeartbeatResponse, error)
  1295. grpc.ClientStream
  1296. }
  1297. type seaweedSendHeartbeatClient struct {
  1298. grpc.ClientStream
  1299. }
  1300. func (x *seaweedSendHeartbeatClient) Send(m *Heartbeat) error {
  1301. return x.ClientStream.SendMsg(m)
  1302. }
  1303. func (x *seaweedSendHeartbeatClient) Recv() (*HeartbeatResponse, error) {
  1304. m := new(HeartbeatResponse)
  1305. if err := x.ClientStream.RecvMsg(m); err != nil {
  1306. return nil, err
  1307. }
  1308. return m, nil
  1309. }
  1310. func (c *seaweedClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error) {
  1311. stream, err := grpc.NewClientStream(ctx, &_Seaweed_serviceDesc.Streams[1], c.cc, "/master_pb.Seaweed/KeepConnected", opts...)
  1312. if err != nil {
  1313. return nil, err
  1314. }
  1315. x := &seaweedKeepConnectedClient{stream}
  1316. return x, nil
  1317. }
  1318. type Seaweed_KeepConnectedClient interface {
  1319. Send(*KeepConnectedRequest) error
  1320. Recv() (*VolumeLocation, error)
  1321. grpc.ClientStream
  1322. }
  1323. type seaweedKeepConnectedClient struct {
  1324. grpc.ClientStream
  1325. }
  1326. func (x *seaweedKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  1327. return x.ClientStream.SendMsg(m)
  1328. }
  1329. func (x *seaweedKeepConnectedClient) Recv() (*VolumeLocation, error) {
  1330. m := new(VolumeLocation)
  1331. if err := x.ClientStream.RecvMsg(m); err != nil {
  1332. return nil, err
  1333. }
  1334. return m, nil
  1335. }
  1336. func (c *seaweedClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  1337. out := new(LookupVolumeResponse)
  1338. err := grpc.Invoke(ctx, "/master_pb.Seaweed/LookupVolume", in, out, c.cc, opts...)
  1339. if err != nil {
  1340. return nil, err
  1341. }
  1342. return out, nil
  1343. }
  1344. func (c *seaweedClient) Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error) {
  1345. out := new(AssignResponse)
  1346. err := grpc.Invoke(ctx, "/master_pb.Seaweed/Assign", in, out, c.cc, opts...)
  1347. if err != nil {
  1348. return nil, err
  1349. }
  1350. return out, nil
  1351. }
  1352. func (c *seaweedClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  1353. out := new(StatisticsResponse)
  1354. err := grpc.Invoke(ctx, "/master_pb.Seaweed/Statistics", in, out, c.cc, opts...)
  1355. if err != nil {
  1356. return nil, err
  1357. }
  1358. return out, nil
  1359. }
  1360. func (c *seaweedClient) CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error) {
  1361. out := new(CollectionListResponse)
  1362. err := grpc.Invoke(ctx, "/master_pb.Seaweed/CollectionList", in, out, c.cc, opts...)
  1363. if err != nil {
  1364. return nil, err
  1365. }
  1366. return out, nil
  1367. }
  1368. func (c *seaweedClient) CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error) {
  1369. out := new(CollectionDeleteResponse)
  1370. err := grpc.Invoke(ctx, "/master_pb.Seaweed/CollectionDelete", in, out, c.cc, opts...)
  1371. if err != nil {
  1372. return nil, err
  1373. }
  1374. return out, nil
  1375. }
  1376. func (c *seaweedClient) VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error) {
  1377. out := new(VolumeListResponse)
  1378. err := grpc.Invoke(ctx, "/master_pb.Seaweed/VolumeList", in, out, c.cc, opts...)
  1379. if err != nil {
  1380. return nil, err
  1381. }
  1382. return out, nil
  1383. }
  1384. func (c *seaweedClient) LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error) {
  1385. out := new(LookupEcVolumeResponse)
  1386. err := grpc.Invoke(ctx, "/master_pb.Seaweed/LookupEcVolume", in, out, c.cc, opts...)
  1387. if err != nil {
  1388. return nil, err
  1389. }
  1390. return out, nil
  1391. }
  1392. func (c *seaweedClient) GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error) {
  1393. out := new(GetMasterConfigurationResponse)
  1394. err := grpc.Invoke(ctx, "/master_pb.Seaweed/GetMasterConfiguration", in, out, c.cc, opts...)
  1395. if err != nil {
  1396. return nil, err
  1397. }
  1398. return out, nil
  1399. }
  1400. // Server API for Seaweed service
  1401. type SeaweedServer interface {
  1402. SendHeartbeat(Seaweed_SendHeartbeatServer) error
  1403. KeepConnected(Seaweed_KeepConnectedServer) error
  1404. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  1405. Assign(context.Context, *AssignRequest) (*AssignResponse, error)
  1406. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  1407. CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)
  1408. CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error)
  1409. VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error)
  1410. LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error)
  1411. GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error)
  1412. }
  1413. func RegisterSeaweedServer(s *grpc.Server, srv SeaweedServer) {
  1414. s.RegisterService(&_Seaweed_serviceDesc, srv)
  1415. }
  1416. func _Seaweed_SendHeartbeat_Handler(srv interface{}, stream grpc.ServerStream) error {
  1417. return srv.(SeaweedServer).SendHeartbeat(&seaweedSendHeartbeatServer{stream})
  1418. }
  1419. type Seaweed_SendHeartbeatServer interface {
  1420. Send(*HeartbeatResponse) error
  1421. Recv() (*Heartbeat, error)
  1422. grpc.ServerStream
  1423. }
  1424. type seaweedSendHeartbeatServer struct {
  1425. grpc.ServerStream
  1426. }
  1427. func (x *seaweedSendHeartbeatServer) Send(m *HeartbeatResponse) error {
  1428. return x.ServerStream.SendMsg(m)
  1429. }
  1430. func (x *seaweedSendHeartbeatServer) Recv() (*Heartbeat, error) {
  1431. m := new(Heartbeat)
  1432. if err := x.ServerStream.RecvMsg(m); err != nil {
  1433. return nil, err
  1434. }
  1435. return m, nil
  1436. }
  1437. func _Seaweed_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  1438. return srv.(SeaweedServer).KeepConnected(&seaweedKeepConnectedServer{stream})
  1439. }
  1440. type Seaweed_KeepConnectedServer interface {
  1441. Send(*VolumeLocation) error
  1442. Recv() (*KeepConnectedRequest, error)
  1443. grpc.ServerStream
  1444. }
  1445. type seaweedKeepConnectedServer struct {
  1446. grpc.ServerStream
  1447. }
  1448. func (x *seaweedKeepConnectedServer) Send(m *VolumeLocation) error {
  1449. return x.ServerStream.SendMsg(m)
  1450. }
  1451. func (x *seaweedKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  1452. m := new(KeepConnectedRequest)
  1453. if err := x.ServerStream.RecvMsg(m); err != nil {
  1454. return nil, err
  1455. }
  1456. return m, nil
  1457. }
  1458. func _Seaweed_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1459. in := new(LookupVolumeRequest)
  1460. if err := dec(in); err != nil {
  1461. return nil, err
  1462. }
  1463. if interceptor == nil {
  1464. return srv.(SeaweedServer).LookupVolume(ctx, in)
  1465. }
  1466. info := &grpc.UnaryServerInfo{
  1467. Server: srv,
  1468. FullMethod: "/master_pb.Seaweed/LookupVolume",
  1469. }
  1470. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1471. return srv.(SeaweedServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  1472. }
  1473. return interceptor(ctx, in, info, handler)
  1474. }
  1475. func _Seaweed_Assign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1476. in := new(AssignRequest)
  1477. if err := dec(in); err != nil {
  1478. return nil, err
  1479. }
  1480. if interceptor == nil {
  1481. return srv.(SeaweedServer).Assign(ctx, in)
  1482. }
  1483. info := &grpc.UnaryServerInfo{
  1484. Server: srv,
  1485. FullMethod: "/master_pb.Seaweed/Assign",
  1486. }
  1487. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1488. return srv.(SeaweedServer).Assign(ctx, req.(*AssignRequest))
  1489. }
  1490. return interceptor(ctx, in, info, handler)
  1491. }
  1492. func _Seaweed_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1493. in := new(StatisticsRequest)
  1494. if err := dec(in); err != nil {
  1495. return nil, err
  1496. }
  1497. if interceptor == nil {
  1498. return srv.(SeaweedServer).Statistics(ctx, in)
  1499. }
  1500. info := &grpc.UnaryServerInfo{
  1501. Server: srv,
  1502. FullMethod: "/master_pb.Seaweed/Statistics",
  1503. }
  1504. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1505. return srv.(SeaweedServer).Statistics(ctx, req.(*StatisticsRequest))
  1506. }
  1507. return interceptor(ctx, in, info, handler)
  1508. }
  1509. func _Seaweed_CollectionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1510. in := new(CollectionListRequest)
  1511. if err := dec(in); err != nil {
  1512. return nil, err
  1513. }
  1514. if interceptor == nil {
  1515. return srv.(SeaweedServer).CollectionList(ctx, in)
  1516. }
  1517. info := &grpc.UnaryServerInfo{
  1518. Server: srv,
  1519. FullMethod: "/master_pb.Seaweed/CollectionList",
  1520. }
  1521. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1522. return srv.(SeaweedServer).CollectionList(ctx, req.(*CollectionListRequest))
  1523. }
  1524. return interceptor(ctx, in, info, handler)
  1525. }
  1526. func _Seaweed_CollectionDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1527. in := new(CollectionDeleteRequest)
  1528. if err := dec(in); err != nil {
  1529. return nil, err
  1530. }
  1531. if interceptor == nil {
  1532. return srv.(SeaweedServer).CollectionDelete(ctx, in)
  1533. }
  1534. info := &grpc.UnaryServerInfo{
  1535. Server: srv,
  1536. FullMethod: "/master_pb.Seaweed/CollectionDelete",
  1537. }
  1538. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1539. return srv.(SeaweedServer).CollectionDelete(ctx, req.(*CollectionDeleteRequest))
  1540. }
  1541. return interceptor(ctx, in, info, handler)
  1542. }
  1543. func _Seaweed_VolumeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1544. in := new(VolumeListRequest)
  1545. if err := dec(in); err != nil {
  1546. return nil, err
  1547. }
  1548. if interceptor == nil {
  1549. return srv.(SeaweedServer).VolumeList(ctx, in)
  1550. }
  1551. info := &grpc.UnaryServerInfo{
  1552. Server: srv,
  1553. FullMethod: "/master_pb.Seaweed/VolumeList",
  1554. }
  1555. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1556. return srv.(SeaweedServer).VolumeList(ctx, req.(*VolumeListRequest))
  1557. }
  1558. return interceptor(ctx, in, info, handler)
  1559. }
  1560. func _Seaweed_LookupEcVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1561. in := new(LookupEcVolumeRequest)
  1562. if err := dec(in); err != nil {
  1563. return nil, err
  1564. }
  1565. if interceptor == nil {
  1566. return srv.(SeaweedServer).LookupEcVolume(ctx, in)
  1567. }
  1568. info := &grpc.UnaryServerInfo{
  1569. Server: srv,
  1570. FullMethod: "/master_pb.Seaweed/LookupEcVolume",
  1571. }
  1572. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1573. return srv.(SeaweedServer).LookupEcVolume(ctx, req.(*LookupEcVolumeRequest))
  1574. }
  1575. return interceptor(ctx, in, info, handler)
  1576. }
  1577. func _Seaweed_GetMasterConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1578. in := new(GetMasterConfigurationRequest)
  1579. if err := dec(in); err != nil {
  1580. return nil, err
  1581. }
  1582. if interceptor == nil {
  1583. return srv.(SeaweedServer).GetMasterConfiguration(ctx, in)
  1584. }
  1585. info := &grpc.UnaryServerInfo{
  1586. Server: srv,
  1587. FullMethod: "/master_pb.Seaweed/GetMasterConfiguration",
  1588. }
  1589. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1590. return srv.(SeaweedServer).GetMasterConfiguration(ctx, req.(*GetMasterConfigurationRequest))
  1591. }
  1592. return interceptor(ctx, in, info, handler)
  1593. }
  1594. var _Seaweed_serviceDesc = grpc.ServiceDesc{
  1595. ServiceName: "master_pb.Seaweed",
  1596. HandlerType: (*SeaweedServer)(nil),
  1597. Methods: []grpc.MethodDesc{
  1598. {
  1599. MethodName: "LookupVolume",
  1600. Handler: _Seaweed_LookupVolume_Handler,
  1601. },
  1602. {
  1603. MethodName: "Assign",
  1604. Handler: _Seaweed_Assign_Handler,
  1605. },
  1606. {
  1607. MethodName: "Statistics",
  1608. Handler: _Seaweed_Statistics_Handler,
  1609. },
  1610. {
  1611. MethodName: "CollectionList",
  1612. Handler: _Seaweed_CollectionList_Handler,
  1613. },
  1614. {
  1615. MethodName: "CollectionDelete",
  1616. Handler: _Seaweed_CollectionDelete_Handler,
  1617. },
  1618. {
  1619. MethodName: "VolumeList",
  1620. Handler: _Seaweed_VolumeList_Handler,
  1621. },
  1622. {
  1623. MethodName: "LookupEcVolume",
  1624. Handler: _Seaweed_LookupEcVolume_Handler,
  1625. },
  1626. {
  1627. MethodName: "GetMasterConfiguration",
  1628. Handler: _Seaweed_GetMasterConfiguration_Handler,
  1629. },
  1630. },
  1631. Streams: []grpc.StreamDesc{
  1632. {
  1633. StreamName: "SendHeartbeat",
  1634. Handler: _Seaweed_SendHeartbeat_Handler,
  1635. ServerStreams: true,
  1636. ClientStreams: true,
  1637. },
  1638. {
  1639. StreamName: "KeepConnected",
  1640. Handler: _Seaweed_KeepConnected_Handler,
  1641. ServerStreams: true,
  1642. ClientStreams: true,
  1643. },
  1644. },
  1645. Metadata: "master.proto",
  1646. }
  1647. func init() { proto.RegisterFile("master.proto", fileDescriptor0) }
  1648. var fileDescriptor0 = []byte{
  1649. // 2102 bytes of a gzipped FileDescriptorProto
  1650. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x59, 0x4b, 0x6f, 0x1c, 0xc7,
  1651. 0x11, 0xd6, 0xec, 0x2e, 0x97, 0xbb, 0xb5, 0xef, 0x26, 0x45, 0xaf, 0xd6, 0x96, 0xb5, 0x1a, 0x07,
  1652. 0x30, 0xa5, 0x38, 0x8c, 0x43, 0x1b, 0x88, 0x91, 0xc4, 0x30, 0x24, 0x8a, 0x76, 0x08, 0x89, 0xb4,
  1653. 0x34, 0x54, 0x64, 0x20, 0x40, 0x30, 0xe9, 0x9d, 0x69, 0x92, 0x03, 0xce, 0x2b, 0xd3, 0xbd, 0x14,
  1654. 0xd7, 0xb9, 0x04, 0xc8, 0x31, 0xa7, 0x20, 0x87, 0xfc, 0x85, 0x5c, 0x72, 0x4a, 0xce, 0xbe, 0xe4,
  1655. 0x47, 0xe4, 0x7f, 0xe4, 0xea, 0x4b, 0xd0, 0xaf, 0x99, 0x9e, 0x7d, 0x90, 0xa6, 0x01, 0x1f, 0x74,
  1656. 0x9b, 0xae, 0xaa, 0xae, 0xae, 0xfe, 0xaa, 0xbb, 0xea, 0xeb, 0x5d, 0x68, 0x47, 0x98, 0x32, 0x92,
  1657. 0xed, 0xa4, 0x59, 0xc2, 0x12, 0xd4, 0x94, 0x23, 0x37, 0x9d, 0xd8, 0x7f, 0xa9, 0x43, 0xf3, 0xd7,
  1658. 0x04, 0x67, 0x6c, 0x42, 0x30, 0x43, 0x5d, 0xa8, 0x04, 0xe9, 0xd0, 0x1a, 0x5b, 0xdb, 0x4d, 0xa7,
  1659. 0x12, 0xa4, 0x08, 0x41, 0x2d, 0x4d, 0x32, 0x36, 0xac, 0x8c, 0xad, 0xed, 0x8e, 0x23, 0xbe, 0xd1,
  1660. 0x5d, 0x80, 0x74, 0x3a, 0x09, 0x03, 0xcf, 0x9d, 0x66, 0xe1, 0xb0, 0x2a, 0x6c, 0x9b, 0x52, 0xf2,
  1661. 0x9b, 0x2c, 0x44, 0xdb, 0xd0, 0x8f, 0xf0, 0xa5, 0x7b, 0x91, 0x84, 0xd3, 0x88, 0xb8, 0x5e, 0x32,
  1662. 0x8d, 0xd9, 0xb0, 0x26, 0xa6, 0x77, 0x23, 0x7c, 0xf9, 0x4a, 0x88, 0xf7, 0xb8, 0x14, 0x8d, 0x79,
  1663. 0x54, 0x97, 0xee, 0x49, 0x10, 0x12, 0xf7, 0x9c, 0xcc, 0x86, 0x6b, 0x63, 0x6b, 0xbb, 0xe6, 0x40,
  1664. 0x84, 0x2f, 0x3f, 0x0f, 0x42, 0xf2, 0x94, 0xcc, 0xd0, 0x3d, 0x68, 0xf9, 0x98, 0x61, 0xd7, 0x23,
  1665. 0x31, 0x23, 0xd9, 0xb0, 0x2e, 0xd6, 0x02, 0x2e, 0xda, 0x13, 0x12, 0x1e, 0x5f, 0x86, 0xbd, 0xf3,
  1666. 0xe1, 0xba, 0xd0, 0x88, 0x6f, 0x1e, 0x1f, 0xf6, 0xa3, 0x20, 0x76, 0x45, 0xe4, 0x0d, 0xb1, 0x74,
  1667. 0x53, 0x48, 0x9e, 0xf3, 0xf0, 0x3f, 0x85, 0x75, 0x19, 0x1b, 0x1d, 0x36, 0xc7, 0xd5, 0xed, 0xd6,
  1668. 0xee, 0x7b, 0x3b, 0x39, 0x1a, 0x3b, 0x32, 0xbc, 0x83, 0xf8, 0x24, 0xc9, 0x22, 0xcc, 0x82, 0x24,
  1669. 0x3e, 0x24, 0x94, 0xe2, 0x53, 0xe2, 0xe8, 0x39, 0xe8, 0x00, 0x5a, 0x31, 0x79, 0xed, 0x6a, 0x17,
  1670. 0x20, 0x5c, 0x6c, 0x2f, 0xb8, 0x38, 0x3e, 0x4b, 0x32, 0xb6, 0xc4, 0x0f, 0xc4, 0xe4, 0xf5, 0x2b,
  1671. 0xe5, 0xea, 0x05, 0xf4, 0x7c, 0x12, 0x12, 0x46, 0xfc, 0xdc, 0x5d, 0xeb, 0x86, 0xee, 0xba, 0xca,
  1672. 0x81, 0x76, 0xf9, 0x23, 0xe8, 0x9e, 0x61, 0xea, 0xc6, 0x49, 0xee, 0xb1, 0x3d, 0xb6, 0xb6, 0x1b,
  1673. 0x4e, 0xfb, 0x0c, 0xd3, 0xa3, 0x44, 0x5b, 0x7d, 0x01, 0x4d, 0xe2, 0xb9, 0xf4, 0x0c, 0x67, 0x3e,
  1674. 0x1d, 0xf6, 0xc5, 0x92, 0x0f, 0x17, 0x96, 0xdc, 0xf7, 0x8e, 0xb9, 0xc1, 0x92, 0x45, 0x1b, 0x44,
  1675. 0xaa, 0x28, 0x3a, 0x82, 0x0e, 0x07, 0xa3, 0x70, 0x36, 0xb8, 0xb1, 0x33, 0x8e, 0xe6, 0xbe, 0xf6,
  1676. 0xf7, 0x0a, 0x06, 0x1a, 0x91, 0xc2, 0x27, 0xba, 0xb1, 0x4f, 0x0d, 0x6b, 0xee, 0xf7, 0x7d, 0xe8,
  1677. 0x2b, 0x58, 0x0a, 0xb7, 0x1b, 0x02, 0x98, 0x8e, 0x00, 0x46, 0x1b, 0xda, 0x7f, 0xaa, 0xc0, 0x20,
  1678. 0xbf, 0x0d, 0x0e, 0xa1, 0x69, 0x12, 0x53, 0x82, 0x1e, 0xc2, 0x40, 0x1d, 0x67, 0x1a, 0x7c, 0x4d,
  1679. 0xdc, 0x30, 0x88, 0x02, 0x26, 0x2e, 0x49, 0xcd, 0xe9, 0x49, 0xc5, 0x71, 0xf0, 0x35, 0x79, 0xc6,
  1680. 0xc5, 0x68, 0x0b, 0xea, 0x21, 0xc1, 0x3e, 0xc9, 0xc4, 0x9d, 0x69, 0x3a, 0x6a, 0x84, 0xde, 0x87,
  1681. 0x5e, 0x44, 0x58, 0x16, 0x78, 0xd4, 0xc5, 0xbe, 0x9f, 0x11, 0x4a, 0xd5, 0xd5, 0xe9, 0x2a, 0xf1,
  1682. 0x23, 0x29, 0x45, 0x9f, 0xc0, 0x50, 0x1b, 0x06, 0xfc, 0x8c, 0x5f, 0xe0, 0xd0, 0xa5, 0xc4, 0x4b,
  1683. 0x62, 0x9f, 0xaa, 0x7b, 0xb4, 0xa5, 0xf4, 0x07, 0x4a, 0x7d, 0x2c, 0xb5, 0xe8, 0x09, 0xf4, 0x29,
  1684. 0x4b, 0x32, 0x7c, 0x4a, 0xdc, 0x09, 0xf6, 0xce, 0x09, 0x9f, 0xb1, 0x26, 0xc0, 0xbb, 0x63, 0x80,
  1685. 0x77, 0x2c, 0x4d, 0x1e, 0x4b, 0x0b, 0xa7, 0x47, 0x4b, 0x63, 0x6a, 0x7f, 0x5b, 0x85, 0xe1, 0xaa,
  1686. 0x6b, 0x20, 0xea, 0x83, 0x2f, 0xb6, 0xde, 0x71, 0x2a, 0x81, 0xcf, 0xef, 0x1f, 0x87, 0x44, 0xec,
  1687. 0xb5, 0xe6, 0x88, 0x6f, 0xf4, 0x2e, 0x80, 0x97, 0x84, 0x21, 0xf1, 0xf8, 0x44, 0xb5, 0x49, 0x43,
  1688. 0xc2, 0xef, 0xa7, 0xb8, 0xf2, 0x45, 0x69, 0xa8, 0x39, 0x4d, 0x2e, 0x91, 0x55, 0xe1, 0x3e, 0xb4,
  1689. 0x65, 0xfa, 0x94, 0x81, 0xac, 0x0a, 0x2d, 0x29, 0x93, 0x26, 0x1f, 0x00, 0xd2, 0xc7, 0x64, 0x32,
  1690. 0xcb, 0x0d, 0xeb, 0xc2, 0xb0, 0xaf, 0x34, 0x8f, 0x67, 0xda, 0xfa, 0x6d, 0x68, 0x66, 0x04, 0xfb,
  1691. 0x6e, 0x12, 0x87, 0x33, 0x51, 0x28, 0x1a, 0x4e, 0x83, 0x0b, 0xbe, 0x8c, 0xc3, 0x19, 0xfa, 0x31,
  1692. 0x0c, 0x32, 0x92, 0x86, 0x81, 0x87, 0xdd, 0x34, 0xc4, 0x1e, 0x89, 0x48, 0xac, 0x6b, 0x46, 0x5f,
  1693. 0x29, 0x9e, 0x6b, 0x39, 0x1a, 0xc2, 0xfa, 0x05, 0xc9, 0x28, 0xdf, 0x56, 0x53, 0x98, 0xe8, 0x21,
  1694. 0xea, 0x43, 0x95, 0xb1, 0x70, 0x08, 0x42, 0xca, 0x3f, 0xd1, 0x03, 0xe8, 0x7b, 0x49, 0x94, 0x62,
  1695. 0x8f, 0xb9, 0x19, 0xb9, 0x08, 0xc4, 0xa4, 0x96, 0x50, 0xf7, 0x94, 0xdc, 0x51, 0x62, 0xbe, 0x9d,
  1696. 0x28, 0xf1, 0x83, 0x93, 0x80, 0xf8, 0x2e, 0x66, 0x2a, 0xd9, 0xe2, 0xe2, 0x56, 0x9d, 0xbe, 0xd6,
  1697. 0x3c, 0x62, 0x32, 0xcd, 0x68, 0x07, 0x36, 0x32, 0x12, 0x25, 0x8c, 0xb8, 0x3a, 0xd9, 0x31, 0x8e,
  1698. 0xc8, 0xb0, 0x23, 0x70, 0x1e, 0x48, 0x95, 0xca, 0xf1, 0x11, 0x8e, 0x08, 0xf7, 0x3e, 0x67, 0xcf,
  1699. 0x6b, 0x6d, 0x57, 0x98, 0xf7, 0x4b, 0xe6, 0x4f, 0xc9, 0xcc, 0xfe, 0x87, 0x05, 0x77, 0xaf, 0x2c,
  1700. 0x39, 0x0b, 0x47, 0xe0, 0xba, 0x74, 0xff, 0x50, 0x08, 0xdb, 0x53, 0xb8, 0x77, 0x4d, 0x21, 0xb8,
  1701. 0x26, 0xd6, 0xca, 0x42, 0xac, 0x36, 0x74, 0x88, 0xe7, 0x06, 0xb1, 0x4f, 0x2e, 0xdd, 0x49, 0xc0,
  1702. 0xe4, 0x15, 0xed, 0x38, 0x2d, 0xe2, 0x1d, 0x70, 0xd9, 0xe3, 0x80, 0x51, 0xfb, 0x1b, 0x0b, 0xba,
  1703. 0xe5, 0x3b, 0xc4, 0x6f, 0x01, 0x9b, 0xa5, 0x44, 0xf5, 0x4d, 0xf1, 0xad, 0x96, 0xae, 0xa8, 0x4e,
  1704. 0xea, 0xa3, 0x03, 0x80, 0x34, 0x4b, 0x52, 0x92, 0xb1, 0x80, 0x70, 0xbf, 0xfc, 0x5a, 0x3e, 0x58,
  1705. 0x79, 0x2d, 0x77, 0x9e, 0xe7, 0xb6, 0xfb, 0x31, 0xcb, 0x66, 0x8e, 0x31, 0x79, 0xf4, 0x29, 0xf4,
  1706. 0xe6, 0xd4, 0x1c, 0x1d, 0x9e, 0x55, 0x19, 0x00, 0xff, 0x44, 0x9b, 0xb0, 0x76, 0x81, 0xc3, 0x29,
  1707. 0x51, 0x21, 0xc8, 0xc1, 0x2f, 0x2a, 0x9f, 0x58, 0xf6, 0x3a, 0xac, 0xed, 0x47, 0x29, 0x9b, 0xf1,
  1708. 0x9d, 0xf4, 0x8e, 0xa7, 0x29, 0xc9, 0x1e, 0x87, 0x89, 0x77, 0xbe, 0x7f, 0xc9, 0x32, 0x8c, 0xbe,
  1709. 0x84, 0x2e, 0xc9, 0x30, 0x9d, 0x66, 0xfc, 0x56, 0xf9, 0x41, 0x7c, 0x2a, 0x7c, 0x96, 0x5b, 0xd2,
  1710. 0xdc, 0x9c, 0x9d, 0x7d, 0x39, 0x61, 0x4f, 0xd8, 0x3b, 0x1d, 0x62, 0x0e, 0x47, 0xbf, 0x85, 0x4e,
  1711. 0x49, 0xcf, 0xc1, 0xe2, 0x0d, 0x5c, 0x65, 0x45, 0x7c, 0xf3, 0xa2, 0x99, 0xe2, 0x2c, 0x60, 0x33,
  1712. 0x45, 0x34, 0xd4, 0x88, 0x97, 0x0a, 0x55, 0x78, 0x03, 0x5f, 0x82, 0xd6, 0x71, 0x9a, 0x52, 0x72,
  1713. 0xe0, 0x53, 0xfb, 0x21, 0x6c, 0x3e, 0x25, 0x24, 0xdd, 0x4b, 0xe2, 0x98, 0x78, 0x8c, 0xf8, 0x0e,
  1714. 0xf9, 0xc3, 0x94, 0x50, 0xc6, 0x97, 0x10, 0x77, 0x42, 0xe5, 0x83, 0x7f, 0xdb, 0x7f, 0xb7, 0xa0,
  1715. 0x2b, 0x8f, 0xcb, 0xb3, 0xc4, 0x13, 0x87, 0x84, 0x83, 0xc6, 0x19, 0x8c, 0x02, 0x6d, 0x9a, 0x85,
  1716. 0x73, 0xd4, 0xa6, 0x32, 0x4f, 0x6d, 0xee, 0x40, 0x43, 0xf4, 0xfe, 0x22, 0x98, 0x75, 0xde, 0xce,
  1717. 0x03, 0x9f, 0x16, 0x55, 0xcb, 0x97, 0xea, 0x9a, 0x50, 0xb7, 0x74, 0x7b, 0xe6, 0x26, 0x45, 0x67,
  1718. 0x58, 0x33, 0x3b, 0x83, 0xfd, 0x12, 0x36, 0x9e, 0x25, 0xc9, 0xf9, 0x34, 0x95, 0xe1, 0xe9, 0x4d,
  1719. 0x94, 0xf7, 0x6e, 0x8d, 0xab, 0x3c, 0x96, 0x7c, 0xef, 0xd7, 0x1d, 0x65, 0xfb, 0x7f, 0x16, 0x6c,
  1720. 0x96, 0xdd, 0xaa, 0x66, 0xf6, 0x7b, 0xd8, 0xc8, 0xfd, 0xba, 0xa1, 0xc2, 0x42, 0x2e, 0xd0, 0xda,
  1721. 0xfd, 0xd0, 0x48, 0xf3, 0xb2, 0xd9, 0x9a, 0x20, 0xf9, 0x1a, 0x44, 0x67, 0x70, 0x31, 0x27, 0xa1,
  1722. 0xa3, 0x4b, 0xe8, 0xcf, 0x9b, 0xf1, 0x22, 0x9c, 0xaf, 0xaa, 0x10, 0x6f, 0xe8, 0x99, 0xe8, 0x67,
  1723. 0xd0, 0x2c, 0x02, 0xa9, 0x88, 0x40, 0x36, 0x4a, 0x81, 0xa8, 0xb5, 0x0a, 0x2b, 0x7e, 0xbc, 0x49,
  1724. 0x96, 0x25, 0x99, 0x2a, 0x38, 0x72, 0x60, 0xff, 0x12, 0x1a, 0xdf, 0x3b, 0xbb, 0xf6, 0xbf, 0x2a,
  1725. 0xd0, 0x79, 0x44, 0x69, 0x70, 0x1a, 0xeb, 0x14, 0x6c, 0xc2, 0x9a, 0x6c, 0x2d, 0xb2, 0xd7, 0xcb,
  1726. 0x01, 0x1a, 0x43, 0x4b, 0xd5, 0x2d, 0x03, 0x7a, 0x53, 0x74, 0x6d, 0x49, 0x54, 0xb5, 0xac, 0x26,
  1727. 0x43, 0xe3, 0xdd, 0x62, 0x8e, 0xe8, 0xae, 0xad, 0x24, 0xba, 0x75, 0x83, 0xe8, 0xbe, 0x0d, 0x4d,
  1728. 0x31, 0x29, 0x4e, 0x7c, 0xa2, 0x18, 0x70, 0x83, 0x0b, 0x8e, 0x12, 0x9f, 0xa0, 0x5d, 0xd8, 0x8a,
  1729. 0x48, 0x94, 0x64, 0x33, 0x37, 0xc2, 0xa9, 0xcb, 0x79, 0xb6, 0xe0, 0x2e, 0xd1, 0x44, 0xd5, 0x5e,
  1730. 0x24, 0xb5, 0x87, 0x38, 0x3d, 0xc4, 0x97, 0x9c, 0xbe, 0x1c, 0x4e, 0xd0, 0x2e, 0xdc, 0xfe, 0x2a,
  1731. 0x0b, 0x18, 0x9e, 0x84, 0xa4, 0xcc, 0xdf, 0x65, 0x2d, 0xde, 0xd0, 0x4a, 0x83, 0xc4, 0xdb, 0x7f,
  1732. 0xb3, 0xa0, 0xab, 0x51, 0x53, 0x27, 0xac, 0x0f, 0xd5, 0x93, 0x3c, 0xcb, 0xfc, 0x53, 0xe7, 0xa2,
  1733. 0xb2, 0x2a, 0x17, 0x0b, 0x8f, 0x88, 0x1c, 0xf9, 0x9a, 0x89, 0x7c, 0x9e, 0xf4, 0x35, 0x23, 0xe9,
  1734. 0x1c, 0x1a, 0x3c, 0x65, 0x67, 0x1a, 0x1a, 0xfe, 0x6d, 0x9f, 0xc2, 0xe0, 0x98, 0x61, 0x16, 0x50,
  1735. 0x16, 0x78, 0x54, 0xa7, 0x73, 0x2e, 0x71, 0xd6, 0x75, 0x89, 0xab, 0xac, 0x4a, 0x5c, 0x35, 0x4f,
  1736. 0x9c, 0xfd, 0x1f, 0x0b, 0x90, 0xb9, 0x92, 0x82, 0xe0, 0x07, 0x58, 0x8a, 0x43, 0xc6, 0x12, 0xc6,
  1737. 0xd9, 0x20, 0x67, 0x5c, 0x8a, 0x37, 0x09, 0x09, 0x4f, 0x1f, 0x3f, 0x0d, 0x53, 0x4a, 0x7c, 0xa9,
  1738. 0x95, 0xa4, 0xa9, 0xc1, 0x05, 0x42, 0x59, 0xe6, 0x5c, 0xf5, 0x39, 0xce, 0x65, 0x3f, 0x82, 0x96,
  1739. 0xea, 0x3f, 0x2f, 0x79, 0xef, 0xba, 0x3e, 0x7a, 0x15, 0x5d, 0xa5, 0x00, 0x62, 0x0c, 0xb0, 0x57,
  1740. 0x44, 0xbf, 0xac, 0x02, 0xff, 0x11, 0x6e, 0x17, 0x16, 0xcf, 0x02, 0xca, 0x74, 0x5e, 0x3e, 0x86,
  1741. 0xad, 0x20, 0xf6, 0xc2, 0xa9, 0x4f, 0xdc, 0x98, 0x77, 0xf0, 0x30, 0x7f, 0xbc, 0x58, 0x82, 0xad,
  1742. 0x6d, 0x2a, 0xed, 0x91, 0x50, 0xea, 0x47, 0xcc, 0x07, 0x80, 0xf4, 0x2c, 0xe2, 0xe5, 0x33, 0x2a,
  1743. 0x62, 0x46, 0x5f, 0x69, 0xf6, 0x3d, 0x65, 0x6d, 0xbf, 0x80, 0xad, 0xf9, 0xc5, 0x55, 0xaa, 0x7e,
  1744. 0x0e, 0xad, 0x02, 0x76, 0x5d, 0x07, 0x6f, 0x1b, 0xe5, 0xa7, 0x98, 0xe7, 0x98, 0x96, 0xf6, 0x4f,
  1745. 0xe0, 0xad, 0x42, 0xf5, 0x44, 0x14, 0xfa, 0xab, 0x1a, 0xd0, 0x08, 0x86, 0x8b, 0xe6, 0x32, 0x06,
  1746. 0xfb, 0xaf, 0x55, 0x68, 0x3f, 0x51, 0x37, 0x97, 0xd3, 0x18, 0x83, 0xb8, 0x48, 0xf6, 0x70, 0x1f,
  1747. 0xda, 0xa5, 0x0b, 0x29, 0xf9, 0x76, 0xeb, 0xc2, 0x78, 0x4d, 0x2f, 0x7b, 0x77, 0x57, 0x85, 0xd9,
  1748. 0xfc, 0xbb, 0xfb, 0x21, 0x0c, 0x4e, 0x32, 0x42, 0x16, 0x9f, 0xe8, 0x35, 0xa7, 0xc7, 0x15, 0xa6,
  1749. 0xed, 0x0e, 0x6c, 0x60, 0x8f, 0x05, 0x17, 0x73, 0xd6, 0xf2, 0x7c, 0x0d, 0xa4, 0xca, 0xb4, 0xff,
  1750. 0x3c, 0x0f, 0x34, 0x88, 0x4f, 0x12, 0x3a, 0xac, 0x7f, 0xf7, 0x27, 0xb6, 0xda, 0x0d, 0xd7, 0x50,
  1751. 0xf4, 0x1c, 0xba, 0xfa, 0xa9, 0xa6, 0x3c, 0xad, 0xdf, 0xf8, 0x19, 0xd8, 0x26, 0x85, 0x8a, 0x1a,
  1752. 0xbc, 0xb9, 0xb4, 0x93, 0x86, 0xdc, 0x89, 0x54, 0x99, 0x85, 0xed, 0xdf, 0x15, 0x68, 0x38, 0xd8,
  1753. 0x3b, 0x7f, 0xb3, 0xf3, 0xf1, 0x19, 0xf4, 0xf2, 0x1e, 0x51, 0x4a, 0xc9, 0x5b, 0x06, 0x90, 0xe6,
  1754. 0xd1, 0x73, 0x3a, 0xbe, 0x31, 0x5a, 0x09, 0xdb, 0xfa, 0x2a, 0xd8, 0xfe, 0x59, 0x81, 0xee, 0x93,
  1755. 0xbc, 0x6f, 0xbd, 0xd9, 0xe0, 0xed, 0x02, 0xf0, 0x46, 0x5b, 0xc2, 0xcd, 0x24, 0x26, 0xfa, 0x78,
  1756. 0x38, 0xcd, 0x4c, 0x7d, 0xdd, 0x1c, 0xaf, 0x6f, 0x2a, 0xd0, 0x7e, 0x99, 0xa4, 0x49, 0x98, 0x9c,
  1757. 0xce, 0xde, 0x6c, 0xb4, 0xf6, 0x61, 0x60, 0x70, 0x98, 0x12, 0x68, 0x77, 0xe6, 0x0e, 0x5b, 0x71,
  1758. 0x38, 0x9c, 0x9e, 0x5f, 0x1a, 0xdf, 0x1c, 0xc0, 0x0d, 0x18, 0x28, 0x5e, 0x5f, 0xb4, 0x14, 0xfb,
  1759. 0xcf, 0x16, 0x20, 0x53, 0xaa, 0x6a, 0xfd, 0xaf, 0xa0, 0xc3, 0x14, 0xd6, 0x22, 0x3e, 0xf5, 0xb8,
  1760. 0x31, 0xef, 0x82, 0x99, 0x0b, 0xa7, 0xcd, 0xcc, 0xcc, 0xfc, 0x14, 0x36, 0x17, 0x7e, 0x06, 0xe2,
  1761. 0x84, 0x4a, 0x66, 0x64, 0x30, 0xf7, 0x4b, 0xd0, 0xe1, 0xc4, 0xfe, 0x18, 0x6e, 0x4b, 0x12, 0xad,
  1762. 0xfb, 0x90, 0xee, 0x0f, 0x0b, 0x6c, 0xb8, 0x53, 0xb0, 0x61, 0xfb, 0x5b, 0x0b, 0xb6, 0xe6, 0xa7,
  1763. 0xa9, 0xf8, 0xaf, 0x9a, 0x87, 0x30, 0x20, 0x55, 0x2f, 0x4d, 0x5e, 0x2f, 0xe9, 0xf4, 0x47, 0x0b,
  1764. 0xbc, 0x7e, 0xde, 0xf7, 0x8e, 0xae, 0xa3, 0x05, 0xb5, 0xef, 0xd3, 0xb2, 0x80, 0x8e, 0x30, 0x0c,
  1765. 0x16, 0xcc, 0xf8, 0xab, 0x48, 0xaf, 0xab, 0x62, 0x5a, 0x57, 0x13, 0xbf, 0x07, 0xb1, 0xb7, 0xef,
  1766. 0xc1, 0xdd, 0x2f, 0x08, 0x3b, 0x14, 0x36, 0x7b, 0x49, 0x7c, 0x12, 0x9c, 0x4e, 0x33, 0x69, 0x54,
  1767. 0xa4, 0xf6, 0xdd, 0x55, 0x16, 0x0a, 0xa6, 0x25, 0xbf, 0xb5, 0x59, 0x37, 0xfe, 0xad, 0xad, 0x72,
  1768. 0xd5, 0x6f, 0x6d, 0xbb, 0xff, 0xad, 0xc3, 0xfa, 0x31, 0xc1, 0xaf, 0x09, 0xe1, 0x4f, 0xfb, 0xce,
  1769. 0x31, 0x89, 0xfd, 0xe2, 0x57, 0xf4, 0x4d, 0x63, 0x8f, 0xb9, 0x74, 0xf4, 0xce, 0x32, 0x69, 0x4e,
  1770. 0x01, 0x6e, 0x6d, 0x5b, 0x1f, 0x5a, 0xe8, 0x05, 0x74, 0x4a, 0x2f, 0x5a, 0x74, 0xcf, 0x98, 0xb4,
  1771. 0xec, 0xad, 0x3b, 0xba, 0xb3, 0xd0, 0x10, 0x35, 0xaa, 0xb9, 0xcb, 0xb6, 0xf9, 0x92, 0x43, 0xef,
  1772. 0xae, 0x7c, 0xe2, 0x49, 0x87, 0xf7, 0xae, 0x79, 0x02, 0xda, 0xb7, 0xd0, 0x67, 0x50, 0x97, 0x94,
  1773. 0x1f, 0x0d, 0x0d, 0xe3, 0xd2, 0xdb, 0xa9, 0x14, 0x57, 0xf9, 0x7d, 0x60, 0xdf, 0x42, 0x4f, 0x01,
  1774. 0x0a, 0xd2, 0x8c, 0xde, 0x29, 0xfd, 0x0c, 0x32, 0xc7, 0xda, 0x47, 0x77, 0x57, 0x68, 0x73, 0x67,
  1775. 0x5f, 0x41, 0xb7, 0x4c, 0xed, 0xd0, 0x78, 0x29, 0x7b, 0x33, 0xea, 0xc3, 0xe8, 0xfe, 0x15, 0x16,
  1776. 0xb9, 0xe3, 0xdf, 0x41, 0x7f, 0x9e, 0xb1, 0x21, 0x7b, 0xe9, 0xc4, 0x12, 0xfb, 0x1b, 0xbd, 0x77,
  1777. 0xa5, 0x8d, 0x09, 0x42, 0x51, 0xa2, 0x4a, 0x20, 0x2c, 0xd4, 0xb3, 0x12, 0x08, 0x8b, 0x75, 0x4d,
  1778. 0x82, 0x50, 0xbe, 0xd7, 0x25, 0x10, 0x96, 0x56, 0xa1, 0x12, 0x08, 0xcb, 0x8b, 0x82, 0x7d, 0x0b,
  1779. 0x25, 0xb0, 0xb5, 0xfc, 0xb6, 0x21, 0xf3, 0x27, 0xa1, 0x2b, 0xaf, 0xec, 0xe8, 0xc1, 0x77, 0xb0,
  1780. 0xd4, 0x0b, 0x4e, 0xea, 0xe2, 0x2f, 0xaa, 0x8f, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x64,
  1781. 0x5c, 0xbc, 0xb2, 0x1a, 0x00, 0x00,
  1782. }