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.

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