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.

1935 lines
69 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 (
  44. fmt "fmt"
  45. proto "github.com/golang/protobuf/proto"
  46. math "math"
  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=memorymapmaxsizemb" json:"memorymapmaxsizemb,omitempty"`
  565. }
  566. func (m *AssignRequest) Reset() { *m = AssignRequest{} }
  567. func (m *AssignRequest) String() string { return proto.CompactTextString(m) }
  568. func (*AssignRequest) ProtoMessage() {}
  569. func (*AssignRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
  570. func (m *AssignRequest) GetCount() uint64 {
  571. if m != nil {
  572. return m.Count
  573. }
  574. return 0
  575. }
  576. func (m *AssignRequest) GetReplication() string {
  577. if m != nil {
  578. return m.Replication
  579. }
  580. return ""
  581. }
  582. func (m *AssignRequest) GetCollection() string {
  583. if m != nil {
  584. return m.Collection
  585. }
  586. return ""
  587. }
  588. func (m *AssignRequest) GetTtl() string {
  589. if m != nil {
  590. return m.Ttl
  591. }
  592. return ""
  593. }
  594. func (m *AssignRequest) GetDataCenter() string {
  595. if m != nil {
  596. return m.DataCenter
  597. }
  598. return ""
  599. }
  600. func (m *AssignRequest) GetRack() string {
  601. if m != nil {
  602. return m.Rack
  603. }
  604. return ""
  605. }
  606. func (m *AssignRequest) GetDataNode() string {
  607. if m != nil {
  608. return m.DataNode
  609. }
  610. return ""
  611. }
  612. func (m *AssignRequest) GetMemoryMapMaxSizeMB() uint32 {
  613. if m != nil {
  614. return m.MemoryMapMaxSizeMB
  615. }
  616. return 0
  617. }
  618. type AssignResponse struct {
  619. Fid string `protobuf:"bytes,1,opt,name=fid" json:"fid,omitempty"`
  620. Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
  621. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  622. Count uint64 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
  623. Error string `protobuf:"bytes,5,opt,name=error" json:"error,omitempty"`
  624. Auth string `protobuf:"bytes,6,opt,name=auth" json:"auth,omitempty"`
  625. }
  626. func (m *AssignResponse) Reset() { *m = AssignResponse{} }
  627. func (m *AssignResponse) String() string { return proto.CompactTextString(m) }
  628. func (*AssignResponse) ProtoMessage() {}
  629. func (*AssignResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
  630. func (m *AssignResponse) GetFid() string {
  631. if m != nil {
  632. return m.Fid
  633. }
  634. return ""
  635. }
  636. func (m *AssignResponse) GetUrl() string {
  637. if m != nil {
  638. return m.Url
  639. }
  640. return ""
  641. }
  642. func (m *AssignResponse) GetPublicUrl() string {
  643. if m != nil {
  644. return m.PublicUrl
  645. }
  646. return ""
  647. }
  648. func (m *AssignResponse) GetCount() uint64 {
  649. if m != nil {
  650. return m.Count
  651. }
  652. return 0
  653. }
  654. func (m *AssignResponse) GetError() string {
  655. if m != nil {
  656. return m.Error
  657. }
  658. return ""
  659. }
  660. func (m *AssignResponse) GetAuth() string {
  661. if m != nil {
  662. return m.Auth
  663. }
  664. return ""
  665. }
  666. type StatisticsRequest struct {
  667. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  668. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  669. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  670. }
  671. func (m *StatisticsRequest) Reset() { *m = StatisticsRequest{} }
  672. func (m *StatisticsRequest) String() string { return proto.CompactTextString(m) }
  673. func (*StatisticsRequest) ProtoMessage() {}
  674. func (*StatisticsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  675. func (m *StatisticsRequest) GetReplication() string {
  676. if m != nil {
  677. return m.Replication
  678. }
  679. return ""
  680. }
  681. func (m *StatisticsRequest) GetCollection() string {
  682. if m != nil {
  683. return m.Collection
  684. }
  685. return ""
  686. }
  687. func (m *StatisticsRequest) GetTtl() string {
  688. if m != nil {
  689. return m.Ttl
  690. }
  691. return ""
  692. }
  693. type StatisticsResponse struct {
  694. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  695. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  696. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  697. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
  698. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize" json:"used_size,omitempty"`
  699. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  700. }
  701. func (m *StatisticsResponse) Reset() { *m = StatisticsResponse{} }
  702. func (m *StatisticsResponse) String() string { return proto.CompactTextString(m) }
  703. func (*StatisticsResponse) ProtoMessage() {}
  704. func (*StatisticsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  705. func (m *StatisticsResponse) GetReplication() string {
  706. if m != nil {
  707. return m.Replication
  708. }
  709. return ""
  710. }
  711. func (m *StatisticsResponse) GetCollection() string {
  712. if m != nil {
  713. return m.Collection
  714. }
  715. return ""
  716. }
  717. func (m *StatisticsResponse) GetTtl() string {
  718. if m != nil {
  719. return m.Ttl
  720. }
  721. return ""
  722. }
  723. func (m *StatisticsResponse) GetTotalSize() uint64 {
  724. if m != nil {
  725. return m.TotalSize
  726. }
  727. return 0
  728. }
  729. func (m *StatisticsResponse) GetUsedSize() uint64 {
  730. if m != nil {
  731. return m.UsedSize
  732. }
  733. return 0
  734. }
  735. func (m *StatisticsResponse) GetFileCount() uint64 {
  736. if m != nil {
  737. return m.FileCount
  738. }
  739. return 0
  740. }
  741. type StorageType struct {
  742. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  743. Ttl string `protobuf:"bytes,2,opt,name=ttl" json:"ttl,omitempty"`
  744. }
  745. func (m *StorageType) Reset() { *m = StorageType{} }
  746. func (m *StorageType) String() string { return proto.CompactTextString(m) }
  747. func (*StorageType) ProtoMessage() {}
  748. func (*StorageType) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  749. func (m *StorageType) GetReplication() string {
  750. if m != nil {
  751. return m.Replication
  752. }
  753. return ""
  754. }
  755. func (m *StorageType) GetTtl() string {
  756. if m != nil {
  757. return m.Ttl
  758. }
  759. return ""
  760. }
  761. type Collection struct {
  762. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  763. }
  764. func (m *Collection) Reset() { *m = Collection{} }
  765. func (m *Collection) String() string { return proto.CompactTextString(m) }
  766. func (*Collection) ProtoMessage() {}
  767. func (*Collection) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  768. func (m *Collection) GetName() string {
  769. if m != nil {
  770. return m.Name
  771. }
  772. return ""
  773. }
  774. type CollectionListRequest struct {
  775. IncludeNormalVolumes bool `protobuf:"varint,1,opt,name=include_normal_volumes,json=includeNormalVolumes" json:"include_normal_volumes,omitempty"`
  776. IncludeEcVolumes bool `protobuf:"varint,2,opt,name=include_ec_volumes,json=includeEcVolumes" json:"include_ec_volumes,omitempty"`
  777. }
  778. func (m *CollectionListRequest) Reset() { *m = CollectionListRequest{} }
  779. func (m *CollectionListRequest) String() string { return proto.CompactTextString(m) }
  780. func (*CollectionListRequest) ProtoMessage() {}
  781. func (*CollectionListRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  782. func (m *CollectionListRequest) GetIncludeNormalVolumes() bool {
  783. if m != nil {
  784. return m.IncludeNormalVolumes
  785. }
  786. return false
  787. }
  788. func (m *CollectionListRequest) GetIncludeEcVolumes() bool {
  789. if m != nil {
  790. return m.IncludeEcVolumes
  791. }
  792. return false
  793. }
  794. type CollectionListResponse struct {
  795. Collections []*Collection `protobuf:"bytes,1,rep,name=collections" json:"collections,omitempty"`
  796. }
  797. func (m *CollectionListResponse) Reset() { *m = CollectionListResponse{} }
  798. func (m *CollectionListResponse) String() string { return proto.CompactTextString(m) }
  799. func (*CollectionListResponse) ProtoMessage() {}
  800. func (*CollectionListResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  801. func (m *CollectionListResponse) GetCollections() []*Collection {
  802. if m != nil {
  803. return m.Collections
  804. }
  805. return nil
  806. }
  807. type CollectionDeleteRequest struct {
  808. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  809. }
  810. func (m *CollectionDeleteRequest) Reset() { *m = CollectionDeleteRequest{} }
  811. func (m *CollectionDeleteRequest) String() string { return proto.CompactTextString(m) }
  812. func (*CollectionDeleteRequest) ProtoMessage() {}
  813. func (*CollectionDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  814. func (m *CollectionDeleteRequest) GetName() string {
  815. if m != nil {
  816. return m.Name
  817. }
  818. return ""
  819. }
  820. type CollectionDeleteResponse struct {
  821. }
  822. func (m *CollectionDeleteResponse) Reset() { *m = CollectionDeleteResponse{} }
  823. func (m *CollectionDeleteResponse) String() string { return proto.CompactTextString(m) }
  824. func (*CollectionDeleteResponse) ProtoMessage() {}
  825. func (*CollectionDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  826. //
  827. // volume related
  828. //
  829. type DataNodeInfo struct {
  830. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  831. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  832. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  833. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  834. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  835. VolumeInfos []*VolumeInformationMessage `protobuf:"bytes,6,rep,name=volume_infos,json=volumeInfos" json:"volume_infos,omitempty"`
  836. EcShardInfos []*VolumeEcShardInformationMessage `protobuf:"bytes,7,rep,name=ec_shard_infos,json=ecShardInfos" json:"ec_shard_infos,omitempty"`
  837. }
  838. func (m *DataNodeInfo) Reset() { *m = DataNodeInfo{} }
  839. func (m *DataNodeInfo) String() string { return proto.CompactTextString(m) }
  840. func (*DataNodeInfo) ProtoMessage() {}
  841. func (*DataNodeInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  842. func (m *DataNodeInfo) GetId() string {
  843. if m != nil {
  844. return m.Id
  845. }
  846. return ""
  847. }
  848. func (m *DataNodeInfo) GetVolumeCount() uint64 {
  849. if m != nil {
  850. return m.VolumeCount
  851. }
  852. return 0
  853. }
  854. func (m *DataNodeInfo) GetMaxVolumeCount() uint64 {
  855. if m != nil {
  856. return m.MaxVolumeCount
  857. }
  858. return 0
  859. }
  860. func (m *DataNodeInfo) GetFreeVolumeCount() uint64 {
  861. if m != nil {
  862. return m.FreeVolumeCount
  863. }
  864. return 0
  865. }
  866. func (m *DataNodeInfo) GetActiveVolumeCount() uint64 {
  867. if m != nil {
  868. return m.ActiveVolumeCount
  869. }
  870. return 0
  871. }
  872. func (m *DataNodeInfo) GetVolumeInfos() []*VolumeInformationMessage {
  873. if m != nil {
  874. return m.VolumeInfos
  875. }
  876. return nil
  877. }
  878. func (m *DataNodeInfo) GetEcShardInfos() []*VolumeEcShardInformationMessage {
  879. if m != nil {
  880. return m.EcShardInfos
  881. }
  882. return nil
  883. }
  884. type RackInfo struct {
  885. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  886. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  887. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  888. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  889. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  890. DataNodeInfos []*DataNodeInfo `protobuf:"bytes,6,rep,name=data_node_infos,json=dataNodeInfos" json:"data_node_infos,omitempty"`
  891. }
  892. func (m *RackInfo) Reset() { *m = RackInfo{} }
  893. func (m *RackInfo) String() string { return proto.CompactTextString(m) }
  894. func (*RackInfo) ProtoMessage() {}
  895. func (*RackInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  896. func (m *RackInfo) GetId() string {
  897. if m != nil {
  898. return m.Id
  899. }
  900. return ""
  901. }
  902. func (m *RackInfo) GetVolumeCount() uint64 {
  903. if m != nil {
  904. return m.VolumeCount
  905. }
  906. return 0
  907. }
  908. func (m *RackInfo) GetMaxVolumeCount() uint64 {
  909. if m != nil {
  910. return m.MaxVolumeCount
  911. }
  912. return 0
  913. }
  914. func (m *RackInfo) GetFreeVolumeCount() uint64 {
  915. if m != nil {
  916. return m.FreeVolumeCount
  917. }
  918. return 0
  919. }
  920. func (m *RackInfo) GetActiveVolumeCount() uint64 {
  921. if m != nil {
  922. return m.ActiveVolumeCount
  923. }
  924. return 0
  925. }
  926. func (m *RackInfo) GetDataNodeInfos() []*DataNodeInfo {
  927. if m != nil {
  928. return m.DataNodeInfos
  929. }
  930. return nil
  931. }
  932. type DataCenterInfo struct {
  933. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  934. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  935. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  936. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  937. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  938. RackInfos []*RackInfo `protobuf:"bytes,6,rep,name=rack_infos,json=rackInfos" json:"rack_infos,omitempty"`
  939. }
  940. func (m *DataCenterInfo) Reset() { *m = DataCenterInfo{} }
  941. func (m *DataCenterInfo) String() string { return proto.CompactTextString(m) }
  942. func (*DataCenterInfo) ProtoMessage() {}
  943. func (*DataCenterInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
  944. func (m *DataCenterInfo) GetId() string {
  945. if m != nil {
  946. return m.Id
  947. }
  948. return ""
  949. }
  950. func (m *DataCenterInfo) GetVolumeCount() uint64 {
  951. if m != nil {
  952. return m.VolumeCount
  953. }
  954. return 0
  955. }
  956. func (m *DataCenterInfo) GetMaxVolumeCount() uint64 {
  957. if m != nil {
  958. return m.MaxVolumeCount
  959. }
  960. return 0
  961. }
  962. func (m *DataCenterInfo) GetFreeVolumeCount() uint64 {
  963. if m != nil {
  964. return m.FreeVolumeCount
  965. }
  966. return 0
  967. }
  968. func (m *DataCenterInfo) GetActiveVolumeCount() uint64 {
  969. if m != nil {
  970. return m.ActiveVolumeCount
  971. }
  972. return 0
  973. }
  974. func (m *DataCenterInfo) GetRackInfos() []*RackInfo {
  975. if m != nil {
  976. return m.RackInfos
  977. }
  978. return nil
  979. }
  980. type TopologyInfo struct {
  981. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  982. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount" json:"volume_count,omitempty"`
  983. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount" json:"max_volume_count,omitempty"`
  984. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount" json:"free_volume_count,omitempty"`
  985. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount" json:"active_volume_count,omitempty"`
  986. DataCenterInfos []*DataCenterInfo `protobuf:"bytes,6,rep,name=data_center_infos,json=dataCenterInfos" json:"data_center_infos,omitempty"`
  987. }
  988. func (m *TopologyInfo) Reset() { *m = TopologyInfo{} }
  989. func (m *TopologyInfo) String() string { return proto.CompactTextString(m) }
  990. func (*TopologyInfo) ProtoMessage() {}
  991. func (*TopologyInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
  992. func (m *TopologyInfo) GetId() string {
  993. if m != nil {
  994. return m.Id
  995. }
  996. return ""
  997. }
  998. func (m *TopologyInfo) GetVolumeCount() uint64 {
  999. if m != nil {
  1000. return m.VolumeCount
  1001. }
  1002. return 0
  1003. }
  1004. func (m *TopologyInfo) GetMaxVolumeCount() uint64 {
  1005. if m != nil {
  1006. return m.MaxVolumeCount
  1007. }
  1008. return 0
  1009. }
  1010. func (m *TopologyInfo) GetFreeVolumeCount() uint64 {
  1011. if m != nil {
  1012. return m.FreeVolumeCount
  1013. }
  1014. return 0
  1015. }
  1016. func (m *TopologyInfo) GetActiveVolumeCount() uint64 {
  1017. if m != nil {
  1018. return m.ActiveVolumeCount
  1019. }
  1020. return 0
  1021. }
  1022. func (m *TopologyInfo) GetDataCenterInfos() []*DataCenterInfo {
  1023. if m != nil {
  1024. return m.DataCenterInfos
  1025. }
  1026. return nil
  1027. }
  1028. type VolumeListRequest struct {
  1029. }
  1030. func (m *VolumeListRequest) Reset() { *m = VolumeListRequest{} }
  1031. func (m *VolumeListRequest) String() string { return proto.CompactTextString(m) }
  1032. func (*VolumeListRequest) ProtoMessage() {}
  1033. func (*VolumeListRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
  1034. type VolumeListResponse struct {
  1035. TopologyInfo *TopologyInfo `protobuf:"bytes,1,opt,name=topology_info,json=topologyInfo" json:"topology_info,omitempty"`
  1036. VolumeSizeLimitMb uint64 `protobuf:"varint,2,opt,name=volume_size_limit_mb,json=volumeSizeLimitMb" json:"volume_size_limit_mb,omitempty"`
  1037. }
  1038. func (m *VolumeListResponse) Reset() { *m = VolumeListResponse{} }
  1039. func (m *VolumeListResponse) String() string { return proto.CompactTextString(m) }
  1040. func (*VolumeListResponse) ProtoMessage() {}
  1041. func (*VolumeListResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
  1042. func (m *VolumeListResponse) GetTopologyInfo() *TopologyInfo {
  1043. if m != nil {
  1044. return m.TopologyInfo
  1045. }
  1046. return nil
  1047. }
  1048. func (m *VolumeListResponse) GetVolumeSizeLimitMb() uint64 {
  1049. if m != nil {
  1050. return m.VolumeSizeLimitMb
  1051. }
  1052. return 0
  1053. }
  1054. type LookupEcVolumeRequest struct {
  1055. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  1056. }
  1057. func (m *LookupEcVolumeRequest) Reset() { *m = LookupEcVolumeRequest{} }
  1058. func (m *LookupEcVolumeRequest) String() string { return proto.CompactTextString(m) }
  1059. func (*LookupEcVolumeRequest) ProtoMessage() {}
  1060. func (*LookupEcVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
  1061. func (m *LookupEcVolumeRequest) GetVolumeId() uint32 {
  1062. if m != nil {
  1063. return m.VolumeId
  1064. }
  1065. return 0
  1066. }
  1067. type LookupEcVolumeResponse struct {
  1068. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  1069. ShardIdLocations []*LookupEcVolumeResponse_EcShardIdLocation `protobuf:"bytes,2,rep,name=shard_id_locations,json=shardIdLocations" json:"shard_id_locations,omitempty"`
  1070. }
  1071. func (m *LookupEcVolumeResponse) Reset() { *m = LookupEcVolumeResponse{} }
  1072. func (m *LookupEcVolumeResponse) String() string { return proto.CompactTextString(m) }
  1073. func (*LookupEcVolumeResponse) ProtoMessage() {}
  1074. func (*LookupEcVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
  1075. func (m *LookupEcVolumeResponse) GetVolumeId() uint32 {
  1076. if m != nil {
  1077. return m.VolumeId
  1078. }
  1079. return 0
  1080. }
  1081. func (m *LookupEcVolumeResponse) GetShardIdLocations() []*LookupEcVolumeResponse_EcShardIdLocation {
  1082. if m != nil {
  1083. return m.ShardIdLocations
  1084. }
  1085. return nil
  1086. }
  1087. type LookupEcVolumeResponse_EcShardIdLocation struct {
  1088. ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId" json:"shard_id,omitempty"`
  1089. Locations []*Location `protobuf:"bytes,2,rep,name=locations" json:"locations,omitempty"`
  1090. }
  1091. func (m *LookupEcVolumeResponse_EcShardIdLocation) Reset() {
  1092. *m = LookupEcVolumeResponse_EcShardIdLocation{}
  1093. }
  1094. func (m *LookupEcVolumeResponse_EcShardIdLocation) String() string { return proto.CompactTextString(m) }
  1095. func (*LookupEcVolumeResponse_EcShardIdLocation) ProtoMessage() {}
  1096. func (*LookupEcVolumeResponse_EcShardIdLocation) Descriptor() ([]byte, []int) {
  1097. return fileDescriptor0, []int{29, 0}
  1098. }
  1099. func (m *LookupEcVolumeResponse_EcShardIdLocation) GetShardId() uint32 {
  1100. if m != nil {
  1101. return m.ShardId
  1102. }
  1103. return 0
  1104. }
  1105. func (m *LookupEcVolumeResponse_EcShardIdLocation) GetLocations() []*Location {
  1106. if m != nil {
  1107. return m.Locations
  1108. }
  1109. return nil
  1110. }
  1111. type GetMasterConfigurationRequest struct {
  1112. }
  1113. func (m *GetMasterConfigurationRequest) Reset() { *m = GetMasterConfigurationRequest{} }
  1114. func (m *GetMasterConfigurationRequest) String() string { return proto.CompactTextString(m) }
  1115. func (*GetMasterConfigurationRequest) ProtoMessage() {}
  1116. func (*GetMasterConfigurationRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
  1117. type GetMasterConfigurationResponse struct {
  1118. MetricsAddress string `protobuf:"bytes,1,opt,name=metrics_address,json=metricsAddress" json:"metrics_address,omitempty"`
  1119. MetricsIntervalSeconds uint32 `protobuf:"varint,2,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds" json:"metrics_interval_seconds,omitempty"`
  1120. }
  1121. func (m *GetMasterConfigurationResponse) Reset() { *m = GetMasterConfigurationResponse{} }
  1122. func (m *GetMasterConfigurationResponse) String() string { return proto.CompactTextString(m) }
  1123. func (*GetMasterConfigurationResponse) ProtoMessage() {}
  1124. func (*GetMasterConfigurationResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
  1125. func (m *GetMasterConfigurationResponse) GetMetricsAddress() string {
  1126. if m != nil {
  1127. return m.MetricsAddress
  1128. }
  1129. return ""
  1130. }
  1131. func (m *GetMasterConfigurationResponse) GetMetricsIntervalSeconds() uint32 {
  1132. if m != nil {
  1133. return m.MetricsIntervalSeconds
  1134. }
  1135. return 0
  1136. }
  1137. func init() {
  1138. proto.RegisterType((*Heartbeat)(nil), "master_pb.Heartbeat")
  1139. proto.RegisterType((*HeartbeatResponse)(nil), "master_pb.HeartbeatResponse")
  1140. proto.RegisterType((*VolumeInformationMessage)(nil), "master_pb.VolumeInformationMessage")
  1141. proto.RegisterType((*VolumeShortInformationMessage)(nil), "master_pb.VolumeShortInformationMessage")
  1142. proto.RegisterType((*VolumeEcShardInformationMessage)(nil), "master_pb.VolumeEcShardInformationMessage")
  1143. proto.RegisterType((*Empty)(nil), "master_pb.Empty")
  1144. proto.RegisterType((*SuperBlockExtra)(nil), "master_pb.SuperBlockExtra")
  1145. proto.RegisterType((*SuperBlockExtra_ErasureCoding)(nil), "master_pb.SuperBlockExtra.ErasureCoding")
  1146. proto.RegisterType((*KeepConnectedRequest)(nil), "master_pb.KeepConnectedRequest")
  1147. proto.RegisterType((*VolumeLocation)(nil), "master_pb.VolumeLocation")
  1148. proto.RegisterType((*LookupVolumeRequest)(nil), "master_pb.LookupVolumeRequest")
  1149. proto.RegisterType((*LookupVolumeResponse)(nil), "master_pb.LookupVolumeResponse")
  1150. proto.RegisterType((*LookupVolumeResponse_VolumeIdLocation)(nil), "master_pb.LookupVolumeResponse.VolumeIdLocation")
  1151. proto.RegisterType((*Location)(nil), "master_pb.Location")
  1152. proto.RegisterType((*AssignRequest)(nil), "master_pb.AssignRequest")
  1153. proto.RegisterType((*AssignResponse)(nil), "master_pb.AssignResponse")
  1154. proto.RegisterType((*StatisticsRequest)(nil), "master_pb.StatisticsRequest")
  1155. proto.RegisterType((*StatisticsResponse)(nil), "master_pb.StatisticsResponse")
  1156. proto.RegisterType((*StorageType)(nil), "master_pb.StorageType")
  1157. proto.RegisterType((*Collection)(nil), "master_pb.Collection")
  1158. proto.RegisterType((*CollectionListRequest)(nil), "master_pb.CollectionListRequest")
  1159. proto.RegisterType((*CollectionListResponse)(nil), "master_pb.CollectionListResponse")
  1160. proto.RegisterType((*CollectionDeleteRequest)(nil), "master_pb.CollectionDeleteRequest")
  1161. proto.RegisterType((*CollectionDeleteResponse)(nil), "master_pb.CollectionDeleteResponse")
  1162. proto.RegisterType((*DataNodeInfo)(nil), "master_pb.DataNodeInfo")
  1163. proto.RegisterType((*RackInfo)(nil), "master_pb.RackInfo")
  1164. proto.RegisterType((*DataCenterInfo)(nil), "master_pb.DataCenterInfo")
  1165. proto.RegisterType((*TopologyInfo)(nil), "master_pb.TopologyInfo")
  1166. proto.RegisterType((*VolumeListRequest)(nil), "master_pb.VolumeListRequest")
  1167. proto.RegisterType((*VolumeListResponse)(nil), "master_pb.VolumeListResponse")
  1168. proto.RegisterType((*LookupEcVolumeRequest)(nil), "master_pb.LookupEcVolumeRequest")
  1169. proto.RegisterType((*LookupEcVolumeResponse)(nil), "master_pb.LookupEcVolumeResponse")
  1170. proto.RegisterType((*LookupEcVolumeResponse_EcShardIdLocation)(nil), "master_pb.LookupEcVolumeResponse.EcShardIdLocation")
  1171. proto.RegisterType((*GetMasterConfigurationRequest)(nil), "master_pb.GetMasterConfigurationRequest")
  1172. proto.RegisterType((*GetMasterConfigurationResponse)(nil), "master_pb.GetMasterConfigurationResponse")
  1173. }
  1174. // Reference imports to suppress errors if they are not otherwise used.
  1175. var _ context.Context
  1176. var _ grpc.ClientConn
  1177. // This is a compile-time assertion to ensure that this generated file
  1178. // is compatible with the grpc package it is being compiled against.
  1179. const _ = grpc.SupportPackageIsVersion4
  1180. // Client API for Seaweed service
  1181. type SeaweedClient interface {
  1182. SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error)
  1183. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error)
  1184. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  1185. Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error)
  1186. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  1187. CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)
  1188. CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error)
  1189. VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error)
  1190. LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error)
  1191. GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error)
  1192. }
  1193. type seaweedClient struct {
  1194. cc *grpc.ClientConn
  1195. }
  1196. func NewSeaweedClient(cc *grpc.ClientConn) SeaweedClient {
  1197. return &seaweedClient{cc}
  1198. }
  1199. func (c *seaweedClient) SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error) {
  1200. stream, err := grpc.NewClientStream(ctx, &_Seaweed_serviceDesc.Streams[0], c.cc, "/master_pb.Seaweed/SendHeartbeat", opts...)
  1201. if err != nil {
  1202. return nil, err
  1203. }
  1204. x := &seaweedSendHeartbeatClient{stream}
  1205. return x, nil
  1206. }
  1207. type Seaweed_SendHeartbeatClient interface {
  1208. Send(*Heartbeat) error
  1209. Recv() (*HeartbeatResponse, error)
  1210. grpc.ClientStream
  1211. }
  1212. type seaweedSendHeartbeatClient struct {
  1213. grpc.ClientStream
  1214. }
  1215. func (x *seaweedSendHeartbeatClient) Send(m *Heartbeat) error {
  1216. return x.ClientStream.SendMsg(m)
  1217. }
  1218. func (x *seaweedSendHeartbeatClient) Recv() (*HeartbeatResponse, error) {
  1219. m := new(HeartbeatResponse)
  1220. if err := x.ClientStream.RecvMsg(m); err != nil {
  1221. return nil, err
  1222. }
  1223. return m, nil
  1224. }
  1225. func (c *seaweedClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error) {
  1226. stream, err := grpc.NewClientStream(ctx, &_Seaweed_serviceDesc.Streams[1], c.cc, "/master_pb.Seaweed/KeepConnected", opts...)
  1227. if err != nil {
  1228. return nil, err
  1229. }
  1230. x := &seaweedKeepConnectedClient{stream}
  1231. return x, nil
  1232. }
  1233. type Seaweed_KeepConnectedClient interface {
  1234. Send(*KeepConnectedRequest) error
  1235. Recv() (*VolumeLocation, error)
  1236. grpc.ClientStream
  1237. }
  1238. type seaweedKeepConnectedClient struct {
  1239. grpc.ClientStream
  1240. }
  1241. func (x *seaweedKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  1242. return x.ClientStream.SendMsg(m)
  1243. }
  1244. func (x *seaweedKeepConnectedClient) Recv() (*VolumeLocation, error) {
  1245. m := new(VolumeLocation)
  1246. if err := x.ClientStream.RecvMsg(m); err != nil {
  1247. return nil, err
  1248. }
  1249. return m, nil
  1250. }
  1251. func (c *seaweedClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  1252. out := new(LookupVolumeResponse)
  1253. err := grpc.Invoke(ctx, "/master_pb.Seaweed/LookupVolume", in, out, c.cc, opts...)
  1254. if err != nil {
  1255. return nil, err
  1256. }
  1257. return out, nil
  1258. }
  1259. func (c *seaweedClient) Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error) {
  1260. out := new(AssignResponse)
  1261. err := grpc.Invoke(ctx, "/master_pb.Seaweed/Assign", in, out, c.cc, opts...)
  1262. if err != nil {
  1263. return nil, err
  1264. }
  1265. return out, nil
  1266. }
  1267. func (c *seaweedClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  1268. out := new(StatisticsResponse)
  1269. err := grpc.Invoke(ctx, "/master_pb.Seaweed/Statistics", in, out, c.cc, opts...)
  1270. if err != nil {
  1271. return nil, err
  1272. }
  1273. return out, nil
  1274. }
  1275. func (c *seaweedClient) CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error) {
  1276. out := new(CollectionListResponse)
  1277. err := grpc.Invoke(ctx, "/master_pb.Seaweed/CollectionList", in, out, c.cc, opts...)
  1278. if err != nil {
  1279. return nil, err
  1280. }
  1281. return out, nil
  1282. }
  1283. func (c *seaweedClient) CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error) {
  1284. out := new(CollectionDeleteResponse)
  1285. err := grpc.Invoke(ctx, "/master_pb.Seaweed/CollectionDelete", in, out, c.cc, opts...)
  1286. if err != nil {
  1287. return nil, err
  1288. }
  1289. return out, nil
  1290. }
  1291. func (c *seaweedClient) VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error) {
  1292. out := new(VolumeListResponse)
  1293. err := grpc.Invoke(ctx, "/master_pb.Seaweed/VolumeList", in, out, c.cc, opts...)
  1294. if err != nil {
  1295. return nil, err
  1296. }
  1297. return out, nil
  1298. }
  1299. func (c *seaweedClient) LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error) {
  1300. out := new(LookupEcVolumeResponse)
  1301. err := grpc.Invoke(ctx, "/master_pb.Seaweed/LookupEcVolume", in, out, c.cc, opts...)
  1302. if err != nil {
  1303. return nil, err
  1304. }
  1305. return out, nil
  1306. }
  1307. func (c *seaweedClient) GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error) {
  1308. out := new(GetMasterConfigurationResponse)
  1309. err := grpc.Invoke(ctx, "/master_pb.Seaweed/GetMasterConfiguration", in, out, c.cc, opts...)
  1310. if err != nil {
  1311. return nil, err
  1312. }
  1313. return out, nil
  1314. }
  1315. // Server API for Seaweed service
  1316. type SeaweedServer interface {
  1317. SendHeartbeat(Seaweed_SendHeartbeatServer) error
  1318. KeepConnected(Seaweed_KeepConnectedServer) error
  1319. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  1320. Assign(context.Context, *AssignRequest) (*AssignResponse, error)
  1321. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  1322. CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)
  1323. CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error)
  1324. VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error)
  1325. LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error)
  1326. GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error)
  1327. }
  1328. func RegisterSeaweedServer(s *grpc.Server, srv SeaweedServer) {
  1329. s.RegisterService(&_Seaweed_serviceDesc, srv)
  1330. }
  1331. func _Seaweed_SendHeartbeat_Handler(srv interface{}, stream grpc.ServerStream) error {
  1332. return srv.(SeaweedServer).SendHeartbeat(&seaweedSendHeartbeatServer{stream})
  1333. }
  1334. type Seaweed_SendHeartbeatServer interface {
  1335. Send(*HeartbeatResponse) error
  1336. Recv() (*Heartbeat, error)
  1337. grpc.ServerStream
  1338. }
  1339. type seaweedSendHeartbeatServer struct {
  1340. grpc.ServerStream
  1341. }
  1342. func (x *seaweedSendHeartbeatServer) Send(m *HeartbeatResponse) error {
  1343. return x.ServerStream.SendMsg(m)
  1344. }
  1345. func (x *seaweedSendHeartbeatServer) Recv() (*Heartbeat, error) {
  1346. m := new(Heartbeat)
  1347. if err := x.ServerStream.RecvMsg(m); err != nil {
  1348. return nil, err
  1349. }
  1350. return m, nil
  1351. }
  1352. func _Seaweed_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  1353. return srv.(SeaweedServer).KeepConnected(&seaweedKeepConnectedServer{stream})
  1354. }
  1355. type Seaweed_KeepConnectedServer interface {
  1356. Send(*VolumeLocation) error
  1357. Recv() (*KeepConnectedRequest, error)
  1358. grpc.ServerStream
  1359. }
  1360. type seaweedKeepConnectedServer struct {
  1361. grpc.ServerStream
  1362. }
  1363. func (x *seaweedKeepConnectedServer) Send(m *VolumeLocation) error {
  1364. return x.ServerStream.SendMsg(m)
  1365. }
  1366. func (x *seaweedKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  1367. m := new(KeepConnectedRequest)
  1368. if err := x.ServerStream.RecvMsg(m); err != nil {
  1369. return nil, err
  1370. }
  1371. return m, nil
  1372. }
  1373. func _Seaweed_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1374. in := new(LookupVolumeRequest)
  1375. if err := dec(in); err != nil {
  1376. return nil, err
  1377. }
  1378. if interceptor == nil {
  1379. return srv.(SeaweedServer).LookupVolume(ctx, in)
  1380. }
  1381. info := &grpc.UnaryServerInfo{
  1382. Server: srv,
  1383. FullMethod: "/master_pb.Seaweed/LookupVolume",
  1384. }
  1385. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1386. return srv.(SeaweedServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  1387. }
  1388. return interceptor(ctx, in, info, handler)
  1389. }
  1390. func _Seaweed_Assign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1391. in := new(AssignRequest)
  1392. if err := dec(in); err != nil {
  1393. return nil, err
  1394. }
  1395. if interceptor == nil {
  1396. return srv.(SeaweedServer).Assign(ctx, in)
  1397. }
  1398. info := &grpc.UnaryServerInfo{
  1399. Server: srv,
  1400. FullMethod: "/master_pb.Seaweed/Assign",
  1401. }
  1402. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1403. return srv.(SeaweedServer).Assign(ctx, req.(*AssignRequest))
  1404. }
  1405. return interceptor(ctx, in, info, handler)
  1406. }
  1407. func _Seaweed_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1408. in := new(StatisticsRequest)
  1409. if err := dec(in); err != nil {
  1410. return nil, err
  1411. }
  1412. if interceptor == nil {
  1413. return srv.(SeaweedServer).Statistics(ctx, in)
  1414. }
  1415. info := &grpc.UnaryServerInfo{
  1416. Server: srv,
  1417. FullMethod: "/master_pb.Seaweed/Statistics",
  1418. }
  1419. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1420. return srv.(SeaweedServer).Statistics(ctx, req.(*StatisticsRequest))
  1421. }
  1422. return interceptor(ctx, in, info, handler)
  1423. }
  1424. func _Seaweed_CollectionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1425. in := new(CollectionListRequest)
  1426. if err := dec(in); err != nil {
  1427. return nil, err
  1428. }
  1429. if interceptor == nil {
  1430. return srv.(SeaweedServer).CollectionList(ctx, in)
  1431. }
  1432. info := &grpc.UnaryServerInfo{
  1433. Server: srv,
  1434. FullMethod: "/master_pb.Seaweed/CollectionList",
  1435. }
  1436. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1437. return srv.(SeaweedServer).CollectionList(ctx, req.(*CollectionListRequest))
  1438. }
  1439. return interceptor(ctx, in, info, handler)
  1440. }
  1441. func _Seaweed_CollectionDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1442. in := new(CollectionDeleteRequest)
  1443. if err := dec(in); err != nil {
  1444. return nil, err
  1445. }
  1446. if interceptor == nil {
  1447. return srv.(SeaweedServer).CollectionDelete(ctx, in)
  1448. }
  1449. info := &grpc.UnaryServerInfo{
  1450. Server: srv,
  1451. FullMethod: "/master_pb.Seaweed/CollectionDelete",
  1452. }
  1453. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1454. return srv.(SeaweedServer).CollectionDelete(ctx, req.(*CollectionDeleteRequest))
  1455. }
  1456. return interceptor(ctx, in, info, handler)
  1457. }
  1458. func _Seaweed_VolumeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1459. in := new(VolumeListRequest)
  1460. if err := dec(in); err != nil {
  1461. return nil, err
  1462. }
  1463. if interceptor == nil {
  1464. return srv.(SeaweedServer).VolumeList(ctx, in)
  1465. }
  1466. info := &grpc.UnaryServerInfo{
  1467. Server: srv,
  1468. FullMethod: "/master_pb.Seaweed/VolumeList",
  1469. }
  1470. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1471. return srv.(SeaweedServer).VolumeList(ctx, req.(*VolumeListRequest))
  1472. }
  1473. return interceptor(ctx, in, info, handler)
  1474. }
  1475. func _Seaweed_LookupEcVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1476. in := new(LookupEcVolumeRequest)
  1477. if err := dec(in); err != nil {
  1478. return nil, err
  1479. }
  1480. if interceptor == nil {
  1481. return srv.(SeaweedServer).LookupEcVolume(ctx, in)
  1482. }
  1483. info := &grpc.UnaryServerInfo{
  1484. Server: srv,
  1485. FullMethod: "/master_pb.Seaweed/LookupEcVolume",
  1486. }
  1487. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1488. return srv.(SeaweedServer).LookupEcVolume(ctx, req.(*LookupEcVolumeRequest))
  1489. }
  1490. return interceptor(ctx, in, info, handler)
  1491. }
  1492. func _Seaweed_GetMasterConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1493. in := new(GetMasterConfigurationRequest)
  1494. if err := dec(in); err != nil {
  1495. return nil, err
  1496. }
  1497. if interceptor == nil {
  1498. return srv.(SeaweedServer).GetMasterConfiguration(ctx, in)
  1499. }
  1500. info := &grpc.UnaryServerInfo{
  1501. Server: srv,
  1502. FullMethod: "/master_pb.Seaweed/GetMasterConfiguration",
  1503. }
  1504. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1505. return srv.(SeaweedServer).GetMasterConfiguration(ctx, req.(*GetMasterConfigurationRequest))
  1506. }
  1507. return interceptor(ctx, in, info, handler)
  1508. }
  1509. var _Seaweed_serviceDesc = grpc.ServiceDesc{
  1510. ServiceName: "master_pb.Seaweed",
  1511. HandlerType: (*SeaweedServer)(nil),
  1512. Methods: []grpc.MethodDesc{
  1513. {
  1514. MethodName: "LookupVolume",
  1515. Handler: _Seaweed_LookupVolume_Handler,
  1516. },
  1517. {
  1518. MethodName: "Assign",
  1519. Handler: _Seaweed_Assign_Handler,
  1520. },
  1521. {
  1522. MethodName: "Statistics",
  1523. Handler: _Seaweed_Statistics_Handler,
  1524. },
  1525. {
  1526. MethodName: "CollectionList",
  1527. Handler: _Seaweed_CollectionList_Handler,
  1528. },
  1529. {
  1530. MethodName: "CollectionDelete",
  1531. Handler: _Seaweed_CollectionDelete_Handler,
  1532. },
  1533. {
  1534. MethodName: "VolumeList",
  1535. Handler: _Seaweed_VolumeList_Handler,
  1536. },
  1537. {
  1538. MethodName: "LookupEcVolume",
  1539. Handler: _Seaweed_LookupEcVolume_Handler,
  1540. },
  1541. {
  1542. MethodName: "GetMasterConfiguration",
  1543. Handler: _Seaweed_GetMasterConfiguration_Handler,
  1544. },
  1545. },
  1546. Streams: []grpc.StreamDesc{
  1547. {
  1548. StreamName: "SendHeartbeat",
  1549. Handler: _Seaweed_SendHeartbeat_Handler,
  1550. ServerStreams: true,
  1551. ClientStreams: true,
  1552. },
  1553. {
  1554. StreamName: "KeepConnected",
  1555. Handler: _Seaweed_KeepConnected_Handler,
  1556. ServerStreams: true,
  1557. ClientStreams: true,
  1558. },
  1559. },
  1560. Metadata: "master.proto",
  1561. }
  1562. func init() { proto.RegisterFile("master.proto", fileDescriptor0) }
  1563. var fileDescriptor0 = []byte{
  1564. // 1889 bytes of a gzipped FileDescriptorProto
  1565. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x59, 0xcb, 0x6f, 0x23, 0x49,
  1566. 0x19, 0x9f, 0xb6, 0x1d, 0xc7, 0xfe, 0xfc, 0x88, 0x5d, 0xc9, 0x64, 0x3d, 0x5e, 0x66, 0xe2, 0xe9,
  1567. 0x45, 0xda, 0xec, 0xb0, 0x84, 0x65, 0x76, 0x25, 0x90, 0x00, 0xad, 0x66, 0x32, 0xd9, 0x25, 0x9a,
  1568. 0xc7, 0xce, 0xb4, 0x87, 0x41, 0x42, 0x42, 0x4d, 0xb9, 0xbb, 0x92, 0x94, 0xd2, 0xee, 0x6e, 0xba,
  1569. 0xca, 0x99, 0x78, 0x39, 0xc2, 0x0d, 0x89, 0x0b, 0x07, 0x4e, 0xdc, 0xf9, 0x1b, 0x38, 0x70, 0xe1,
  1570. 0xc8, 0x1f, 0xc0, 0x99, 0x7f, 0x81, 0x2b, 0x42, 0x5a, 0xd5, 0xab, 0xbb, 0xda, 0x76, 0x92, 0xc9,
  1571. 0x4a, 0x73, 0x98, 0x5b, 0xf5, 0xf7, 0xaa, 0xaf, 0x7e, 0x5f, 0x7d, 0x8f, 0xb2, 0xa1, 0x3d, 0xc5,
  1572. 0x8c, 0x93, 0x6c, 0x2f, 0xcd, 0x12, 0x9e, 0xa0, 0xa6, 0xfa, 0xf2, 0xd3, 0x89, 0xfb, 0xc7, 0x3a,
  1573. 0x34, 0x7f, 0x4e, 0x70, 0xc6, 0x27, 0x04, 0x73, 0xd4, 0x85, 0x0a, 0x4d, 0x07, 0xce, 0xc8, 0xd9,
  1574. 0x6d, 0x7a, 0x15, 0x9a, 0x22, 0x04, 0xb5, 0x34, 0xc9, 0xf8, 0xa0, 0x32, 0x72, 0x76, 0x3b, 0x9e,
  1575. 0x5c, 0xa3, 0xdb, 0x00, 0xe9, 0x6c, 0x12, 0xd1, 0xc0, 0x9f, 0x65, 0xd1, 0xa0, 0x2a, 0x65, 0x9b,
  1576. 0x8a, 0xf2, 0x8b, 0x2c, 0x42, 0xbb, 0xd0, 0x9b, 0xe2, 0x73, 0xff, 0x2c, 0x89, 0x66, 0x53, 0xe2,
  1577. 0x07, 0xc9, 0x2c, 0xe6, 0x83, 0x9a, 0x54, 0xef, 0x4e, 0xf1, 0xf9, 0x2b, 0x49, 0xde, 0x17, 0x54,
  1578. 0x34, 0x12, 0x5e, 0x9d, 0xfb, 0x47, 0x34, 0x22, 0xfe, 0x29, 0x99, 0x0f, 0xd6, 0x46, 0xce, 0x6e,
  1579. 0xcd, 0x83, 0x29, 0x3e, 0xff, 0x82, 0x46, 0xe4, 0x31, 0x99, 0xa3, 0x1d, 0x68, 0x85, 0x98, 0x63,
  1580. 0x3f, 0x20, 0x31, 0x27, 0xd9, 0xa0, 0x2e, 0xf7, 0x02, 0x41, 0xda, 0x97, 0x14, 0xe1, 0x5f, 0x86,
  1581. 0x83, 0xd3, 0xc1, 0xba, 0xe4, 0xc8, 0xb5, 0xf0, 0x0f, 0x87, 0x53, 0x1a, 0xfb, 0xd2, 0xf3, 0x86,
  1582. 0xdc, 0xba, 0x29, 0x29, 0xcf, 0x85, 0xfb, 0x3f, 0x83, 0x75, 0xe5, 0x1b, 0x1b, 0x34, 0x47, 0xd5,
  1583. 0xdd, 0xd6, 0xfd, 0x0f, 0xf6, 0x72, 0x34, 0xf6, 0x94, 0x7b, 0x87, 0xf1, 0x51, 0x92, 0x4d, 0x31,
  1584. 0xa7, 0x49, 0xfc, 0x94, 0x30, 0x86, 0x8f, 0x89, 0x67, 0x74, 0xd0, 0x21, 0xb4, 0x62, 0xf2, 0xda,
  1585. 0x37, 0x26, 0x40, 0x9a, 0xd8, 0x5d, 0x32, 0x31, 0x3e, 0x49, 0x32, 0xbe, 0xc2, 0x0e, 0xc4, 0xe4,
  1586. 0xf5, 0x2b, 0x6d, 0xea, 0x05, 0x6c, 0x84, 0x24, 0x22, 0x9c, 0x84, 0xb9, 0xb9, 0xd6, 0x35, 0xcd,
  1587. 0x75, 0xb5, 0x01, 0x63, 0xf2, 0xbb, 0xd0, 0x3d, 0xc1, 0xcc, 0x8f, 0x93, 0xdc, 0x62, 0x7b, 0xe4,
  1588. 0xec, 0x36, 0xbc, 0xf6, 0x09, 0x66, 0xcf, 0x12, 0x23, 0xf5, 0x25, 0x34, 0x49, 0xe0, 0xb3, 0x13,
  1589. 0x9c, 0x85, 0x6c, 0xd0, 0x93, 0x5b, 0xde, 0x5b, 0xda, 0xf2, 0x20, 0x18, 0x0b, 0x81, 0x15, 0x9b,
  1590. 0x36, 0x88, 0x62, 0x31, 0xf4, 0x0c, 0x3a, 0x02, 0x8c, 0xc2, 0x58, 0xff, 0xda, 0xc6, 0x04, 0x9a,
  1591. 0x07, 0xc6, 0xde, 0x2b, 0xe8, 0x1b, 0x44, 0x0a, 0x9b, 0xe8, 0xda, 0x36, 0x0d, 0xac, 0xb9, 0xdd,
  1592. 0x0f, 0xa1, 0xa7, 0x61, 0x29, 0xcc, 0x6e, 0x4a, 0x60, 0x3a, 0x12, 0x18, 0x23, 0xe8, 0xfe, 0xdd,
  1593. 0x81, 0x7e, 0x9e, 0x0d, 0x1e, 0x61, 0x69, 0x12, 0x33, 0x82, 0xee, 0x41, 0x5f, 0x5f, 0x67, 0x46,
  1594. 0xbf, 0x26, 0x7e, 0x44, 0xa7, 0x94, 0xcb, 0x24, 0xa9, 0x79, 0x1b, 0x8a, 0x31, 0xa6, 0x5f, 0x93,
  1595. 0x27, 0x82, 0x8c, 0xb6, 0xa1, 0x1e, 0x11, 0x1c, 0x92, 0x4c, 0xe6, 0x4c, 0xd3, 0xd3, 0x5f, 0xe8,
  1596. 0x43, 0xd8, 0x98, 0x12, 0x9e, 0xd1, 0x80, 0xf9, 0x38, 0x0c, 0x33, 0xc2, 0x98, 0x4e, 0x9d, 0xae,
  1597. 0x26, 0x3f, 0x50, 0x54, 0xf4, 0x63, 0x18, 0x18, 0x41, 0x2a, 0xee, 0xf8, 0x19, 0x8e, 0x7c, 0x46,
  1598. 0x82, 0x24, 0x0e, 0x99, 0xce, 0xa3, 0x6d, 0xcd, 0x3f, 0xd4, 0xec, 0xb1, 0xe2, 0xba, 0x7f, 0xad,
  1599. 0xc2, 0xe0, 0xa2, 0x0b, 0x2c, 0x33, 0x3b, 0x94, 0x4e, 0x77, 0xbc, 0x0a, 0x0d, 0x45, 0xe6, 0x88,
  1600. 0xc3, 0x48, 0x2f, 0x6b, 0x9e, 0x5c, 0xa3, 0x3b, 0x00, 0x41, 0x12, 0x45, 0x24, 0x10, 0x8a, 0xda,
  1601. 0x3d, 0x8b, 0x22, 0x32, 0x4b, 0x26, 0x6b, 0x91, 0xd4, 0x35, 0xaf, 0x29, 0x28, 0x2a, 0x9f, 0xef,
  1602. 0x42, 0x5b, 0x01, 0xaf, 0x05, 0x54, 0x3e, 0xb7, 0x14, 0x4d, 0x89, 0x7c, 0x0c, 0xc8, 0x04, 0x78,
  1603. 0x32, 0xcf, 0x05, 0xeb, 0x52, 0xb0, 0xa7, 0x39, 0x0f, 0xe7, 0x46, 0xfa, 0x7d, 0x68, 0x66, 0x04,
  1604. 0x87, 0x7e, 0x12, 0x47, 0x73, 0x99, 0xe2, 0x0d, 0xaf, 0x21, 0x08, 0x5f, 0xc5, 0xd1, 0x1c, 0x7d,
  1605. 0x0f, 0xfa, 0x19, 0x49, 0x23, 0x1a, 0x60, 0x3f, 0x8d, 0x70, 0x40, 0xa6, 0x24, 0x36, 0xd9, 0xde,
  1606. 0xd3, 0x8c, 0xe7, 0x86, 0x8e, 0x06, 0xb0, 0x7e, 0x46, 0x32, 0x26, 0x8e, 0xd5, 0x94, 0x22, 0xe6,
  1607. 0x13, 0xf5, 0xa0, 0xca, 0x79, 0x34, 0x00, 0x49, 0x15, 0x4b, 0xf4, 0x11, 0xf4, 0x82, 0x64, 0x9a,
  1608. 0xe2, 0x80, 0xfb, 0x19, 0x39, 0xa3, 0x52, 0xa9, 0x25, 0xd9, 0x1b, 0x9a, 0xee, 0x69, 0xb2, 0x38,
  1609. 0xce, 0x34, 0x09, 0xe9, 0x11, 0x25, 0xa1, 0x8f, 0xb9, 0x0e, 0x93, 0x4c, 0xb9, 0xaa, 0xd7, 0x33,
  1610. 0x9c, 0x07, 0x5c, 0x05, 0xc8, 0xfd, 0x9b, 0x03, 0xb7, 0x2f, 0x4d, 0xe7, 0xa5, 0x20, 0x5d, 0x15,
  1611. 0x90, 0xb7, 0x85, 0x81, 0x3b, 0x83, 0x9d, 0x2b, 0x92, 0xec, 0x0a, 0x5f, 0x2b, 0x4b, 0xbe, 0xba,
  1612. 0xd0, 0x21, 0x81, 0x4f, 0xe3, 0x90, 0x9c, 0xfb, 0x13, 0xca, 0xd5, 0xf5, 0xef, 0x78, 0x2d, 0x12,
  1613. 0x1c, 0x0a, 0xda, 0x43, 0xca, 0x99, 0xbb, 0x0e, 0x6b, 0x07, 0xd3, 0x94, 0xcf, 0xdd, 0x7f, 0x38,
  1614. 0xb0, 0x31, 0x9e, 0xa5, 0x24, 0x7b, 0x18, 0x25, 0xc1, 0xe9, 0xc1, 0x39, 0xcf, 0x30, 0xfa, 0x0a,
  1615. 0xba, 0x24, 0xc3, 0x6c, 0x96, 0x89, 0x6b, 0x13, 0xd2, 0xf8, 0x58, 0x6e, 0x5e, 0xae, 0x96, 0x0b,
  1616. 0x3a, 0x7b, 0x07, 0x4a, 0x61, 0x5f, 0xca, 0x7b, 0x1d, 0x62, 0x7f, 0x0e, 0x7f, 0x05, 0x9d, 0x12,
  1617. 0x5f, 0xe4, 0x84, 0xe8, 0x2d, 0xfa, 0x50, 0x72, 0x2d, 0xf2, 0x39, 0xc5, 0x19, 0xe5, 0x73, 0xdd,
  1618. 0x03, 0xf5, 0x97, 0xc8, 0x05, 0x5d, 0x13, 0x68, 0x28, 0xce, 0x52, 0x15, 0x5d, 0x46, 0x51, 0x0e,
  1619. 0x43, 0xe6, 0xde, 0x83, 0xad, 0xc7, 0x84, 0xa4, 0xfb, 0x49, 0x1c, 0x93, 0x80, 0x93, 0xd0, 0x23,
  1620. 0xbf, 0x9d, 0x11, 0xc6, 0xc5, 0x16, 0x31, 0x9e, 0x12, 0xdd, 0x62, 0xe5, 0xda, 0xfd, 0x8b, 0x03,
  1621. 0x5d, 0x85, 0xf6, 0x93, 0x24, 0x90, 0x18, 0x8b, 0x88, 0x88, 0xe6, 0xaa, 0xa4, 0xc4, 0x72, 0xa1,
  1622. 0xeb, 0x56, 0x16, 0xbb, 0xee, 0x2d, 0x68, 0xc8, 0xb6, 0x54, 0x38, 0xb3, 0x2e, 0x3a, 0x0d, 0x0d,
  1623. 0x59, 0x91, 0x96, 0xa1, 0x62, 0xd7, 0x24, 0xbb, 0x65, 0x3a, 0x87, 0x10, 0x29, 0x8a, 0xd6, 0x9a,
  1624. 0x5d, 0xb4, 0xdc, 0x97, 0xb0, 0xf9, 0x24, 0x49, 0x4e, 0x67, 0xa9, 0x72, 0xcf, 0x1c, 0xa2, 0x7c,
  1625. 0x76, 0x67, 0x54, 0x15, 0xbe, 0xe4, 0x67, 0xbf, 0xea, 0x26, 0xb8, 0xff, 0x75, 0x60, 0xab, 0x6c,
  1626. 0x56, 0xd7, 0xd9, 0xdf, 0xc0, 0x66, 0x6e, 0xd7, 0x8f, 0x34, 0x16, 0x6a, 0x83, 0xd6, 0xfd, 0x4f,
  1627. 0xac, 0x30, 0xaf, 0xd2, 0x36, 0xbd, 0x3b, 0x34, 0x20, 0x7a, 0xfd, 0xb3, 0x05, 0x0a, 0x1b, 0x9e,
  1628. 0x43, 0x6f, 0x51, 0x4c, 0x54, 0x99, 0x7c, 0x57, 0x8d, 0x78, 0xc3, 0x68, 0xa2, 0x1f, 0x42, 0xb3,
  1629. 0x70, 0xa4, 0x22, 0x1d, 0xd9, 0x2c, 0x39, 0xa2, 0xf7, 0x2a, 0xa4, 0xd0, 0x16, 0xac, 0x91, 0x2c,
  1630. 0x4b, 0x32, 0x9d, 0xaf, 0xea, 0xc3, 0xfd, 0x09, 0x34, 0xbe, 0x75, 0x74, 0xdd, 0x7f, 0x39, 0xd0,
  1631. 0x79, 0xc0, 0x18, 0x3d, 0x8e, 0x4d, 0x08, 0xb6, 0x60, 0x4d, 0xd5, 0x4e, 0xd5, 0x86, 0xd4, 0x07,
  1632. 0x1a, 0x41, 0x4b, 0xa7, 0xbd, 0x05, 0xbd, 0x4d, 0xba, 0xb2, 0xa2, 0xe8, 0x52, 0x50, 0x53, 0xae,
  1633. 0x89, 0x72, 0xb8, 0x30, 0x83, 0xad, 0x5d, 0x38, 0x83, 0xd5, 0xad, 0x19, 0xec, 0x7d, 0x68, 0x4a,
  1634. 0xa5, 0x38, 0x09, 0x89, 0x1e, 0xce, 0x1a, 0x82, 0xf0, 0x2c, 0x09, 0x89, 0xfb, 0x67, 0x07, 0xba,
  1635. 0xe6, 0x34, 0x3a, 0xf2, 0x3d, 0xa8, 0x1e, 0xe5, 0xe8, 0x8b, 0xa5, 0xc1, 0xa8, 0x72, 0x11, 0x46,
  1636. 0x4b, 0x73, 0x67, 0x8e, 0x48, 0xcd, 0x46, 0x24, 0x0f, 0xc6, 0x9a, 0x15, 0x0c, 0xe1, 0x32, 0x9e,
  1637. 0xf1, 0x13, 0xe3, 0xb2, 0x58, 0xbb, 0xc7, 0xd0, 0x1f, 0x73, 0xcc, 0x29, 0xe3, 0x34, 0x60, 0x06,
  1638. 0xe6, 0x05, 0x40, 0x9d, 0xab, 0x00, 0xad, 0x5c, 0x04, 0x68, 0x35, 0x07, 0xd4, 0xfd, 0xa7, 0x03,
  1639. 0xc8, 0xde, 0x49, 0x43, 0xf0, 0x16, 0xb6, 0x12, 0x90, 0xf1, 0x84, 0x8b, 0x01, 0x42, 0xb4, 0x7a,
  1640. 0xdd, 0xb0, 0x25, 0x45, 0x0c, 0x2c, 0x22, 0x4a, 0x33, 0x46, 0x42, 0xc5, 0x55, 0xdd, 0xba, 0x21,
  1641. 0x08, 0x92, 0x59, 0x6e, 0xf6, 0xf5, 0x85, 0x66, 0xef, 0x3e, 0x80, 0xd6, 0x98, 0x27, 0x19, 0x3e,
  1642. 0x26, 0x2f, 0xe7, 0xe9, 0x9b, 0x78, 0xaf, 0xbd, 0xab, 0x14, 0x40, 0x8c, 0x00, 0xf6, 0x0b, 0xef,
  1643. 0x57, 0x55, 0xc6, 0xdf, 0xc1, 0xcd, 0x42, 0xe2, 0x09, 0x65, 0xdc, 0xc4, 0xe5, 0x33, 0xd8, 0xa6,
  1644. 0x71, 0x10, 0xcd, 0x42, 0xe2, 0xc7, 0xa2, 0x31, 0x45, 0xf9, 0xbc, 0xeb, 0xc8, 0x31, 0x61, 0x4b,
  1645. 0x73, 0x9f, 0x49, 0xa6, 0x99, 0x7b, 0x3f, 0x06, 0x64, 0xb4, 0x48, 0x90, 0x6b, 0x54, 0xa4, 0x46,
  1646. 0x4f, 0x73, 0x0e, 0x02, 0x2d, 0xed, 0xbe, 0x80, 0xed, 0xc5, 0xcd, 0x75, 0xa8, 0x7e, 0x04, 0xad,
  1647. 0x02, 0x76, 0x53, 0x9f, 0x6e, 0x5a, 0x65, 0xa1, 0xd0, 0xf3, 0x6c, 0x49, 0xf7, 0xfb, 0xf0, 0x5e,
  1648. 0xc1, 0x7a, 0x24, 0x0b, 0xf0, 0x65, 0x8d, 0x61, 0x08, 0x83, 0x65, 0x71, 0xe5, 0x83, 0xfb, 0x9f,
  1649. 0x0a, 0xb4, 0x1f, 0xe9, 0x8c, 0x12, 0xdd, 0xd9, 0xea, 0xc7, 0x4d, 0xd9, 0x8f, 0xef, 0x42, 0xbb,
  1650. 0xf4, 0x06, 0x53, 0x83, 0x5e, 0xeb, 0xcc, 0x7a, 0x80, 0xad, 0x7a, 0xaa, 0x55, 0xa5, 0xd8, 0xe2,
  1651. 0x53, 0xed, 0x1e, 0xf4, 0x8f, 0x32, 0x42, 0x96, 0x5f, 0x75, 0x35, 0x6f, 0x43, 0x30, 0x6c, 0xd9,
  1652. 0x3d, 0xd8, 0xc4, 0x01, 0xa7, 0x67, 0x0b, 0xd2, 0xea, 0x7e, 0xf5, 0x15, 0xcb, 0x96, 0xff, 0x22,
  1653. 0x77, 0x94, 0xc6, 0x47, 0x09, 0x1b, 0xd4, 0xdf, 0xfc, 0x55, 0xa6, 0x4f, 0x23, 0x38, 0x0c, 0x3d,
  1654. 0x87, 0xae, 0x99, 0xee, 0xb5, 0xa5, 0xf5, 0x6b, 0xbf, 0x1c, 0xda, 0xa4, 0x60, 0x31, 0xf7, 0x0f,
  1655. 0x15, 0x68, 0x78, 0x38, 0x38, 0x7d, 0xb7, 0xf1, 0xfd, 0x1c, 0x36, 0xf2, 0x5a, 0x5c, 0x82, 0xf8,
  1656. 0x3d, 0x0b, 0x18, 0xfb, 0x2a, 0x79, 0x9d, 0xd0, 0xfa, 0x62, 0xee, 0xff, 0x1d, 0xe8, 0x3e, 0xca,
  1657. 0xeb, 0xfd, 0xbb, 0x0d, 0xc6, 0x7d, 0x00, 0xd1, 0xa0, 0x4a, 0x38, 0xd8, 0x0d, 0xdd, 0x84, 0xdb,
  1658. 0x6b, 0x66, 0x7a, 0xc5, 0xdc, 0x3f, 0x55, 0xa0, 0xfd, 0x32, 0x49, 0x93, 0x28, 0x39, 0x9e, 0xbf,
  1659. 0xdb, 0xa7, 0x3f, 0x80, 0xbe, 0xd5, 0xcb, 0x4b, 0x20, 0xdc, 0x5a, 0xb8, 0x0c, 0x45, 0xb0, 0xbd,
  1660. 0x8d, 0xb0, 0xf4, 0xcd, 0xdc, 0x4d, 0xe8, 0xeb, 0x79, 0xb5, 0x28, 0xc9, 0xee, 0xef, 0x1d, 0x40,
  1661. 0x36, 0x55, 0xd7, 0xca, 0x9f, 0x42, 0x87, 0x6b, 0xec, 0xe4, 0x7e, 0x7a, 0x68, 0xb7, 0xef, 0x9e,
  1662. 0x8d, 0xad, 0xd7, 0xe6, 0x36, 0xd2, 0x3f, 0x80, 0xad, 0xa5, 0x97, 0xb7, 0x3f, 0x9d, 0x68, 0x84,
  1663. 0xfb, 0x0b, 0x8f, 0xef, 0xa7, 0x13, 0xf7, 0x33, 0xb8, 0xa9, 0x86, 0x43, 0x53, 0xc7, 0x4d, 0x7d,
  1664. 0x5d, 0x9a, 0xf2, 0x3a, 0xc5, 0x94, 0xe7, 0xfe, 0xcf, 0x81, 0xed, 0x45, 0x35, 0xed, 0xff, 0x65,
  1665. 0x7a, 0x08, 0x03, 0xd2, 0xf5, 0xc6, 0x9e, 0x57, 0xd5, 0x98, 0xf8, 0xe9, 0xd2, 0xbc, 0xba, 0x68,
  1666. 0x7b, 0xcf, 0xd4, 0xa1, 0x62, 0x64, 0xed, 0xb1, 0x32, 0x81, 0x0d, 0x31, 0xf4, 0x97, 0xc4, 0xc4,
  1667. 0xb4, 0x6f, 0xf6, 0xd5, 0x3e, 0xad, 0x6b, 0xc5, 0x6f, 0x31, 0xb0, 0xba, 0x3b, 0x70, 0xfb, 0x4b,
  1668. 0xc2, 0x9f, 0x4a, 0x99, 0xfd, 0x24, 0x3e, 0xa2, 0xc7, 0xb3, 0x4c, 0x09, 0x15, 0xa1, 0xbd, 0x73,
  1669. 0x91, 0x84, 0x86, 0x69, 0xc5, 0xcf, 0x1b, 0xce, 0xb5, 0x7f, 0xde, 0xa8, 0x5c, 0xf6, 0xf3, 0xc6,
  1670. 0xfd, 0x7f, 0xd7, 0x61, 0x7d, 0x4c, 0xf0, 0x6b, 0x42, 0x42, 0x74, 0x08, 0x9d, 0x31, 0x89, 0xc3,
  1671. 0xe2, 0x87, 0xcb, 0x2d, 0xeb, 0x8c, 0x39, 0x75, 0xf8, 0x9d, 0x55, 0xd4, 0xbc, 0x85, 0xde, 0xd8,
  1672. 0x75, 0x3e, 0x71, 0xd0, 0x0b, 0xe8, 0x94, 0x5e, 0x6a, 0x68, 0xc7, 0x52, 0x5a, 0xf5, 0x86, 0x1b,
  1673. 0xde, 0x5a, 0x6a, 0x28, 0x06, 0xd5, 0xdc, 0x64, 0xdb, 0x7e, 0xa1, 0xa0, 0x3b, 0x17, 0x3e, 0x5d,
  1674. 0x94, 0xc1, 0x9d, 0x2b, 0x9e, 0x36, 0xee, 0x0d, 0xf4, 0x39, 0xd4, 0xd5, 0xc8, 0x8c, 0x06, 0x96,
  1675. 0x70, 0xe9, 0x4d, 0x50, 0xf2, 0xab, 0x3c, 0x5f, 0xbb, 0x37, 0xd0, 0x63, 0x80, 0x62, 0xe8, 0x44,
  1676. 0x36, 0x30, 0x4b, 0x53, 0xef, 0xf0, 0xf6, 0x05, 0xdc, 0xdc, 0xd8, 0x2f, 0xa1, 0x5b, 0x1e, 0x8d,
  1677. 0xd0, 0x68, 0xe5, 0xf4, 0x63, 0xd5, 0x87, 0xe1, 0xdd, 0x4b, 0x24, 0x72, 0xc3, 0xbf, 0x86, 0xde,
  1678. 0xe2, 0xc4, 0x83, 0xdc, 0x95, 0x8a, 0xa5, 0xe9, 0x69, 0xf8, 0xc1, 0xa5, 0x32, 0x36, 0x08, 0x45,
  1679. 0x89, 0x2a, 0x81, 0xb0, 0x54, 0xcf, 0x4a, 0x20, 0x2c, 0xd7, 0x35, 0x05, 0x42, 0x39, 0xaf, 0x4b,
  1680. 0x20, 0xac, 0xac, 0x42, 0x25, 0x10, 0x56, 0x17, 0x05, 0xf7, 0x06, 0x4a, 0x60, 0x7b, 0x75, 0xb6,
  1681. 0x21, 0xfb, 0xa7, 0x8e, 0x4b, 0x53, 0x76, 0xf8, 0xd1, 0x1b, 0x48, 0x9a, 0x0d, 0x27, 0x75, 0xf9,
  1682. 0xaf, 0xc0, 0xa7, 0xdf, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xab, 0xab, 0x3b, 0x25, 0x18, 0x00,
  1683. 0x00,
  1684. }