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.

1806 lines
64 KiB

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