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.

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