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.

2129 lines
77 KiB

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