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.

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