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.

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