You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1824 lines
64 KiB

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