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.

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