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.

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