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.

2299 lines
90 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. // Code generated by protoc-gen-go.
  2. // source: volume_server.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package volume_server_pb is a generated protocol buffer package.
  6. It is generated from these files:
  7. volume_server.proto
  8. It has these top-level messages:
  9. BatchDeleteRequest
  10. BatchDeleteResponse
  11. DeleteResult
  12. Empty
  13. VacuumVolumeCheckRequest
  14. VacuumVolumeCheckResponse
  15. VacuumVolumeCompactRequest
  16. VacuumVolumeCompactResponse
  17. VacuumVolumeCommitRequest
  18. VacuumVolumeCommitResponse
  19. VacuumVolumeCleanupRequest
  20. VacuumVolumeCleanupResponse
  21. DeleteCollectionRequest
  22. DeleteCollectionResponse
  23. AllocateVolumeRequest
  24. AllocateVolumeResponse
  25. VolumeSyncStatusRequest
  26. VolumeSyncStatusResponse
  27. VolumeIncrementalCopyRequest
  28. VolumeIncrementalCopyResponse
  29. VolumeMountRequest
  30. VolumeMountResponse
  31. VolumeUnmountRequest
  32. VolumeUnmountResponse
  33. VolumeDeleteRequest
  34. VolumeDeleteResponse
  35. VolumeCopyRequest
  36. VolumeCopyResponse
  37. CopyFileRequest
  38. CopyFileResponse
  39. VolumeTailSenderRequest
  40. VolumeTailSenderResponse
  41. VolumeTailReceiverRequest
  42. VolumeTailReceiverResponse
  43. VolumeEcShardsGenerateRequest
  44. VolumeEcShardsGenerateResponse
  45. VolumeEcShardsCopyRequest
  46. VolumeEcShardsCopyResponse
  47. VolumeEcShardsDeleteRequest
  48. VolumeEcShardsDeleteResponse
  49. VolumeEcShardsMountRequest
  50. VolumeEcShardsMountResponse
  51. VolumeEcShardsUnmountRequest
  52. VolumeEcShardsUnmountResponse
  53. VolumeEcShardReadRequest
  54. VolumeEcShardReadResponse
  55. ReadVolumeFileStatusRequest
  56. ReadVolumeFileStatusResponse
  57. DiskStatus
  58. MemStatus
  59. */
  60. package volume_server_pb
  61. import proto "github.com/golang/protobuf/proto"
  62. import fmt "fmt"
  63. import math "math"
  64. import (
  65. context "golang.org/x/net/context"
  66. grpc "google.golang.org/grpc"
  67. )
  68. // Reference imports to suppress errors if they are not otherwise used.
  69. var _ = proto.Marshal
  70. var _ = fmt.Errorf
  71. var _ = math.Inf
  72. // This is a compile-time assertion to ensure that this generated file
  73. // is compatible with the proto package it is being compiled against.
  74. // A compilation error at this line likely means your copy of the
  75. // proto package needs to be updated.
  76. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  77. type BatchDeleteRequest struct {
  78. FileIds []string `protobuf:"bytes,1,rep,name=file_ids,json=fileIds" json:"file_ids,omitempty"`
  79. }
  80. func (m *BatchDeleteRequest) Reset() { *m = BatchDeleteRequest{} }
  81. func (m *BatchDeleteRequest) String() string { return proto.CompactTextString(m) }
  82. func (*BatchDeleteRequest) ProtoMessage() {}
  83. func (*BatchDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  84. func (m *BatchDeleteRequest) GetFileIds() []string {
  85. if m != nil {
  86. return m.FileIds
  87. }
  88. return nil
  89. }
  90. type BatchDeleteResponse struct {
  91. Results []*DeleteResult `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
  92. }
  93. func (m *BatchDeleteResponse) Reset() { *m = BatchDeleteResponse{} }
  94. func (m *BatchDeleteResponse) String() string { return proto.CompactTextString(m) }
  95. func (*BatchDeleteResponse) ProtoMessage() {}
  96. func (*BatchDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  97. func (m *BatchDeleteResponse) GetResults() []*DeleteResult {
  98. if m != nil {
  99. return m.Results
  100. }
  101. return nil
  102. }
  103. type DeleteResult struct {
  104. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
  105. Status int32 `protobuf:"varint,2,opt,name=status" json:"status,omitempty"`
  106. Error string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
  107. Size uint32 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
  108. }
  109. func (m *DeleteResult) Reset() { *m = DeleteResult{} }
  110. func (m *DeleteResult) String() string { return proto.CompactTextString(m) }
  111. func (*DeleteResult) ProtoMessage() {}
  112. func (*DeleteResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  113. func (m *DeleteResult) GetFileId() string {
  114. if m != nil {
  115. return m.FileId
  116. }
  117. return ""
  118. }
  119. func (m *DeleteResult) GetStatus() int32 {
  120. if m != nil {
  121. return m.Status
  122. }
  123. return 0
  124. }
  125. func (m *DeleteResult) GetError() string {
  126. if m != nil {
  127. return m.Error
  128. }
  129. return ""
  130. }
  131. func (m *DeleteResult) GetSize() uint32 {
  132. if m != nil {
  133. return m.Size
  134. }
  135. return 0
  136. }
  137. type Empty struct {
  138. }
  139. func (m *Empty) Reset() { *m = Empty{} }
  140. func (m *Empty) String() string { return proto.CompactTextString(m) }
  141. func (*Empty) ProtoMessage() {}
  142. func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  143. type VacuumVolumeCheckRequest struct {
  144. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  145. }
  146. func (m *VacuumVolumeCheckRequest) Reset() { *m = VacuumVolumeCheckRequest{} }
  147. func (m *VacuumVolumeCheckRequest) String() string { return proto.CompactTextString(m) }
  148. func (*VacuumVolumeCheckRequest) ProtoMessage() {}
  149. func (*VacuumVolumeCheckRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
  150. func (m *VacuumVolumeCheckRequest) GetVolumeId() uint32 {
  151. if m != nil {
  152. return m.VolumeId
  153. }
  154. return 0
  155. }
  156. type VacuumVolumeCheckResponse struct {
  157. GarbageRatio float64 `protobuf:"fixed64,1,opt,name=garbage_ratio,json=garbageRatio" json:"garbage_ratio,omitempty"`
  158. }
  159. func (m *VacuumVolumeCheckResponse) Reset() { *m = VacuumVolumeCheckResponse{} }
  160. func (m *VacuumVolumeCheckResponse) String() string { return proto.CompactTextString(m) }
  161. func (*VacuumVolumeCheckResponse) ProtoMessage() {}
  162. func (*VacuumVolumeCheckResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
  163. func (m *VacuumVolumeCheckResponse) GetGarbageRatio() float64 {
  164. if m != nil {
  165. return m.GarbageRatio
  166. }
  167. return 0
  168. }
  169. type VacuumVolumeCompactRequest struct {
  170. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  171. Preallocate int64 `protobuf:"varint,2,opt,name=preallocate" json:"preallocate,omitempty"`
  172. }
  173. func (m *VacuumVolumeCompactRequest) Reset() { *m = VacuumVolumeCompactRequest{} }
  174. func (m *VacuumVolumeCompactRequest) String() string { return proto.CompactTextString(m) }
  175. func (*VacuumVolumeCompactRequest) ProtoMessage() {}
  176. func (*VacuumVolumeCompactRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
  177. func (m *VacuumVolumeCompactRequest) GetVolumeId() uint32 {
  178. if m != nil {
  179. return m.VolumeId
  180. }
  181. return 0
  182. }
  183. func (m *VacuumVolumeCompactRequest) GetPreallocate() int64 {
  184. if m != nil {
  185. return m.Preallocate
  186. }
  187. return 0
  188. }
  189. type VacuumVolumeCompactResponse struct {
  190. }
  191. func (m *VacuumVolumeCompactResponse) Reset() { *m = VacuumVolumeCompactResponse{} }
  192. func (m *VacuumVolumeCompactResponse) String() string { return proto.CompactTextString(m) }
  193. func (*VacuumVolumeCompactResponse) ProtoMessage() {}
  194. func (*VacuumVolumeCompactResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
  195. type VacuumVolumeCommitRequest struct {
  196. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  197. }
  198. func (m *VacuumVolumeCommitRequest) Reset() { *m = VacuumVolumeCommitRequest{} }
  199. func (m *VacuumVolumeCommitRequest) String() string { return proto.CompactTextString(m) }
  200. func (*VacuumVolumeCommitRequest) ProtoMessage() {}
  201. func (*VacuumVolumeCommitRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
  202. func (m *VacuumVolumeCommitRequest) GetVolumeId() uint32 {
  203. if m != nil {
  204. return m.VolumeId
  205. }
  206. return 0
  207. }
  208. type VacuumVolumeCommitResponse struct {
  209. }
  210. func (m *VacuumVolumeCommitResponse) Reset() { *m = VacuumVolumeCommitResponse{} }
  211. func (m *VacuumVolumeCommitResponse) String() string { return proto.CompactTextString(m) }
  212. func (*VacuumVolumeCommitResponse) ProtoMessage() {}
  213. func (*VacuumVolumeCommitResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
  214. type VacuumVolumeCleanupRequest struct {
  215. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  216. }
  217. func (m *VacuumVolumeCleanupRequest) Reset() { *m = VacuumVolumeCleanupRequest{} }
  218. func (m *VacuumVolumeCleanupRequest) String() string { return proto.CompactTextString(m) }
  219. func (*VacuumVolumeCleanupRequest) ProtoMessage() {}
  220. func (*VacuumVolumeCleanupRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
  221. func (m *VacuumVolumeCleanupRequest) GetVolumeId() uint32 {
  222. if m != nil {
  223. return m.VolumeId
  224. }
  225. return 0
  226. }
  227. type VacuumVolumeCleanupResponse struct {
  228. }
  229. func (m *VacuumVolumeCleanupResponse) Reset() { *m = VacuumVolumeCleanupResponse{} }
  230. func (m *VacuumVolumeCleanupResponse) String() string { return proto.CompactTextString(m) }
  231. func (*VacuumVolumeCleanupResponse) ProtoMessage() {}
  232. func (*VacuumVolumeCleanupResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
  233. type DeleteCollectionRequest struct {
  234. Collection string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
  235. }
  236. func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} }
  237. func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) }
  238. func (*DeleteCollectionRequest) ProtoMessage() {}
  239. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
  240. func (m *DeleteCollectionRequest) GetCollection() string {
  241. if m != nil {
  242. return m.Collection
  243. }
  244. return ""
  245. }
  246. type DeleteCollectionResponse struct {
  247. }
  248. func (m *DeleteCollectionResponse) Reset() { *m = DeleteCollectionResponse{} }
  249. func (m *DeleteCollectionResponse) String() string { return proto.CompactTextString(m) }
  250. func (*DeleteCollectionResponse) ProtoMessage() {}
  251. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
  252. type AllocateVolumeRequest struct {
  253. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  254. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  255. Preallocate int64 `protobuf:"varint,3,opt,name=preallocate" json:"preallocate,omitempty"`
  256. Replication string `protobuf:"bytes,4,opt,name=replication" json:"replication,omitempty"`
  257. Ttl string `protobuf:"bytes,5,opt,name=ttl" json:"ttl,omitempty"`
  258. }
  259. func (m *AllocateVolumeRequest) Reset() { *m = AllocateVolumeRequest{} }
  260. func (m *AllocateVolumeRequest) String() string { return proto.CompactTextString(m) }
  261. func (*AllocateVolumeRequest) ProtoMessage() {}
  262. func (*AllocateVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  263. func (m *AllocateVolumeRequest) GetVolumeId() uint32 {
  264. if m != nil {
  265. return m.VolumeId
  266. }
  267. return 0
  268. }
  269. func (m *AllocateVolumeRequest) GetCollection() string {
  270. if m != nil {
  271. return m.Collection
  272. }
  273. return ""
  274. }
  275. func (m *AllocateVolumeRequest) GetPreallocate() int64 {
  276. if m != nil {
  277. return m.Preallocate
  278. }
  279. return 0
  280. }
  281. func (m *AllocateVolumeRequest) GetReplication() string {
  282. if m != nil {
  283. return m.Replication
  284. }
  285. return ""
  286. }
  287. func (m *AllocateVolumeRequest) GetTtl() string {
  288. if m != nil {
  289. return m.Ttl
  290. }
  291. return ""
  292. }
  293. type AllocateVolumeResponse struct {
  294. }
  295. func (m *AllocateVolumeResponse) Reset() { *m = AllocateVolumeResponse{} }
  296. func (m *AllocateVolumeResponse) String() string { return proto.CompactTextString(m) }
  297. func (*AllocateVolumeResponse) ProtoMessage() {}
  298. func (*AllocateVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  299. type VolumeSyncStatusRequest struct {
  300. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  301. }
  302. func (m *VolumeSyncStatusRequest) Reset() { *m = VolumeSyncStatusRequest{} }
  303. func (m *VolumeSyncStatusRequest) String() string { return proto.CompactTextString(m) }
  304. func (*VolumeSyncStatusRequest) ProtoMessage() {}
  305. func (*VolumeSyncStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  306. func (m *VolumeSyncStatusRequest) GetVolumeId() uint32 {
  307. if m != nil {
  308. return m.VolumeId
  309. }
  310. return 0
  311. }
  312. type VolumeSyncStatusResponse struct {
  313. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  314. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  315. Replication string `protobuf:"bytes,4,opt,name=replication" json:"replication,omitempty"`
  316. Ttl string `protobuf:"bytes,5,opt,name=ttl" json:"ttl,omitempty"`
  317. TailOffset uint64 `protobuf:"varint,6,opt,name=tail_offset,json=tailOffset" json:"tail_offset,omitempty"`
  318. CompactRevision uint32 `protobuf:"varint,7,opt,name=compact_revision,json=compactRevision" json:"compact_revision,omitempty"`
  319. IdxFileSize uint64 `protobuf:"varint,8,opt,name=idx_file_size,json=idxFileSize" json:"idx_file_size,omitempty"`
  320. }
  321. func (m *VolumeSyncStatusResponse) Reset() { *m = VolumeSyncStatusResponse{} }
  322. func (m *VolumeSyncStatusResponse) String() string { return proto.CompactTextString(m) }
  323. func (*VolumeSyncStatusResponse) ProtoMessage() {}
  324. func (*VolumeSyncStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  325. func (m *VolumeSyncStatusResponse) GetVolumeId() uint32 {
  326. if m != nil {
  327. return m.VolumeId
  328. }
  329. return 0
  330. }
  331. func (m *VolumeSyncStatusResponse) GetCollection() string {
  332. if m != nil {
  333. return m.Collection
  334. }
  335. return ""
  336. }
  337. func (m *VolumeSyncStatusResponse) GetReplication() string {
  338. if m != nil {
  339. return m.Replication
  340. }
  341. return ""
  342. }
  343. func (m *VolumeSyncStatusResponse) GetTtl() string {
  344. if m != nil {
  345. return m.Ttl
  346. }
  347. return ""
  348. }
  349. func (m *VolumeSyncStatusResponse) GetTailOffset() uint64 {
  350. if m != nil {
  351. return m.TailOffset
  352. }
  353. return 0
  354. }
  355. func (m *VolumeSyncStatusResponse) GetCompactRevision() uint32 {
  356. if m != nil {
  357. return m.CompactRevision
  358. }
  359. return 0
  360. }
  361. func (m *VolumeSyncStatusResponse) GetIdxFileSize() uint64 {
  362. if m != nil {
  363. return m.IdxFileSize
  364. }
  365. return 0
  366. }
  367. type VolumeIncrementalCopyRequest struct {
  368. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  369. SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs" json:"since_ns,omitempty"`
  370. }
  371. func (m *VolumeIncrementalCopyRequest) Reset() { *m = VolumeIncrementalCopyRequest{} }
  372. func (m *VolumeIncrementalCopyRequest) String() string { return proto.CompactTextString(m) }
  373. func (*VolumeIncrementalCopyRequest) ProtoMessage() {}
  374. func (*VolumeIncrementalCopyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  375. func (m *VolumeIncrementalCopyRequest) GetVolumeId() uint32 {
  376. if m != nil {
  377. return m.VolumeId
  378. }
  379. return 0
  380. }
  381. func (m *VolumeIncrementalCopyRequest) GetSinceNs() uint64 {
  382. if m != nil {
  383. return m.SinceNs
  384. }
  385. return 0
  386. }
  387. type VolumeIncrementalCopyResponse struct {
  388. FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
  389. }
  390. func (m *VolumeIncrementalCopyResponse) Reset() { *m = VolumeIncrementalCopyResponse{} }
  391. func (m *VolumeIncrementalCopyResponse) String() string { return proto.CompactTextString(m) }
  392. func (*VolumeIncrementalCopyResponse) ProtoMessage() {}
  393. func (*VolumeIncrementalCopyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  394. func (m *VolumeIncrementalCopyResponse) GetFileContent() []byte {
  395. if m != nil {
  396. return m.FileContent
  397. }
  398. return nil
  399. }
  400. type VolumeMountRequest struct {
  401. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  402. }
  403. func (m *VolumeMountRequest) Reset() { *m = VolumeMountRequest{} }
  404. func (m *VolumeMountRequest) String() string { return proto.CompactTextString(m) }
  405. func (*VolumeMountRequest) ProtoMessage() {}
  406. func (*VolumeMountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  407. func (m *VolumeMountRequest) GetVolumeId() uint32 {
  408. if m != nil {
  409. return m.VolumeId
  410. }
  411. return 0
  412. }
  413. type VolumeMountResponse struct {
  414. }
  415. func (m *VolumeMountResponse) Reset() { *m = VolumeMountResponse{} }
  416. func (m *VolumeMountResponse) String() string { return proto.CompactTextString(m) }
  417. func (*VolumeMountResponse) ProtoMessage() {}
  418. func (*VolumeMountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  419. type VolumeUnmountRequest struct {
  420. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  421. }
  422. func (m *VolumeUnmountRequest) Reset() { *m = VolumeUnmountRequest{} }
  423. func (m *VolumeUnmountRequest) String() string { return proto.CompactTextString(m) }
  424. func (*VolumeUnmountRequest) ProtoMessage() {}
  425. func (*VolumeUnmountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  426. func (m *VolumeUnmountRequest) GetVolumeId() uint32 {
  427. if m != nil {
  428. return m.VolumeId
  429. }
  430. return 0
  431. }
  432. type VolumeUnmountResponse struct {
  433. }
  434. func (m *VolumeUnmountResponse) Reset() { *m = VolumeUnmountResponse{} }
  435. func (m *VolumeUnmountResponse) String() string { return proto.CompactTextString(m) }
  436. func (*VolumeUnmountResponse) ProtoMessage() {}
  437. func (*VolumeUnmountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  438. type VolumeDeleteRequest struct {
  439. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  440. }
  441. func (m *VolumeDeleteRequest) Reset() { *m = VolumeDeleteRequest{} }
  442. func (m *VolumeDeleteRequest) String() string { return proto.CompactTextString(m) }
  443. func (*VolumeDeleteRequest) ProtoMessage() {}
  444. func (*VolumeDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
  445. func (m *VolumeDeleteRequest) GetVolumeId() uint32 {
  446. if m != nil {
  447. return m.VolumeId
  448. }
  449. return 0
  450. }
  451. type VolumeDeleteResponse struct {
  452. }
  453. func (m *VolumeDeleteResponse) Reset() { *m = VolumeDeleteResponse{} }
  454. func (m *VolumeDeleteResponse) String() string { return proto.CompactTextString(m) }
  455. func (*VolumeDeleteResponse) ProtoMessage() {}
  456. func (*VolumeDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
  457. type VolumeCopyRequest struct {
  458. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  459. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  460. Replication string `protobuf:"bytes,3,opt,name=replication" json:"replication,omitempty"`
  461. Ttl string `protobuf:"bytes,4,opt,name=ttl" json:"ttl,omitempty"`
  462. SourceDataNode string `protobuf:"bytes,5,opt,name=source_data_node,json=sourceDataNode" json:"source_data_node,omitempty"`
  463. }
  464. func (m *VolumeCopyRequest) Reset() { *m = VolumeCopyRequest{} }
  465. func (m *VolumeCopyRequest) String() string { return proto.CompactTextString(m) }
  466. func (*VolumeCopyRequest) ProtoMessage() {}
  467. func (*VolumeCopyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
  468. func (m *VolumeCopyRequest) GetVolumeId() uint32 {
  469. if m != nil {
  470. return m.VolumeId
  471. }
  472. return 0
  473. }
  474. func (m *VolumeCopyRequest) GetCollection() string {
  475. if m != nil {
  476. return m.Collection
  477. }
  478. return ""
  479. }
  480. func (m *VolumeCopyRequest) GetReplication() string {
  481. if m != nil {
  482. return m.Replication
  483. }
  484. return ""
  485. }
  486. func (m *VolumeCopyRequest) GetTtl() string {
  487. if m != nil {
  488. return m.Ttl
  489. }
  490. return ""
  491. }
  492. func (m *VolumeCopyRequest) GetSourceDataNode() string {
  493. if m != nil {
  494. return m.SourceDataNode
  495. }
  496. return ""
  497. }
  498. type VolumeCopyResponse struct {
  499. LastAppendAtNs uint64 `protobuf:"varint,1,opt,name=last_append_at_ns,json=lastAppendAtNs" json:"last_append_at_ns,omitempty"`
  500. }
  501. func (m *VolumeCopyResponse) Reset() { *m = VolumeCopyResponse{} }
  502. func (m *VolumeCopyResponse) String() string { return proto.CompactTextString(m) }
  503. func (*VolumeCopyResponse) ProtoMessage() {}
  504. func (*VolumeCopyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
  505. func (m *VolumeCopyResponse) GetLastAppendAtNs() uint64 {
  506. if m != nil {
  507. return m.LastAppendAtNs
  508. }
  509. return 0
  510. }
  511. type CopyFileRequest struct {
  512. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  513. Ext string `protobuf:"bytes,2,opt,name=ext" json:"ext,omitempty"`
  514. CompactionRevision uint32 `protobuf:"varint,3,opt,name=compaction_revision,json=compactionRevision" json:"compaction_revision,omitempty"`
  515. StopOffset uint64 `protobuf:"varint,4,opt,name=stop_offset,json=stopOffset" json:"stop_offset,omitempty"`
  516. }
  517. func (m *CopyFileRequest) Reset() { *m = CopyFileRequest{} }
  518. func (m *CopyFileRequest) String() string { return proto.CompactTextString(m) }
  519. func (*CopyFileRequest) ProtoMessage() {}
  520. func (*CopyFileRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
  521. func (m *CopyFileRequest) GetVolumeId() uint32 {
  522. if m != nil {
  523. return m.VolumeId
  524. }
  525. return 0
  526. }
  527. func (m *CopyFileRequest) GetExt() string {
  528. if m != nil {
  529. return m.Ext
  530. }
  531. return ""
  532. }
  533. func (m *CopyFileRequest) GetCompactionRevision() uint32 {
  534. if m != nil {
  535. return m.CompactionRevision
  536. }
  537. return 0
  538. }
  539. func (m *CopyFileRequest) GetStopOffset() uint64 {
  540. if m != nil {
  541. return m.StopOffset
  542. }
  543. return 0
  544. }
  545. type CopyFileResponse struct {
  546. FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
  547. }
  548. func (m *CopyFileResponse) Reset() { *m = CopyFileResponse{} }
  549. func (m *CopyFileResponse) String() string { return proto.CompactTextString(m) }
  550. func (*CopyFileResponse) ProtoMessage() {}
  551. func (*CopyFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
  552. func (m *CopyFileResponse) GetFileContent() []byte {
  553. if m != nil {
  554. return m.FileContent
  555. }
  556. return nil
  557. }
  558. type VolumeTailSenderRequest struct {
  559. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  560. SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs" json:"since_ns,omitempty"`
  561. IdleTimeoutSeconds uint32 `protobuf:"varint,3,opt,name=idle_timeout_seconds,json=idleTimeoutSeconds" json:"idle_timeout_seconds,omitempty"`
  562. }
  563. func (m *VolumeTailSenderRequest) Reset() { *m = VolumeTailSenderRequest{} }
  564. func (m *VolumeTailSenderRequest) String() string { return proto.CompactTextString(m) }
  565. func (*VolumeTailSenderRequest) ProtoMessage() {}
  566. func (*VolumeTailSenderRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
  567. func (m *VolumeTailSenderRequest) GetVolumeId() uint32 {
  568. if m != nil {
  569. return m.VolumeId
  570. }
  571. return 0
  572. }
  573. func (m *VolumeTailSenderRequest) GetSinceNs() uint64 {
  574. if m != nil {
  575. return m.SinceNs
  576. }
  577. return 0
  578. }
  579. func (m *VolumeTailSenderRequest) GetIdleTimeoutSeconds() uint32 {
  580. if m != nil {
  581. return m.IdleTimeoutSeconds
  582. }
  583. return 0
  584. }
  585. type VolumeTailSenderResponse struct {
  586. NeedleHeader []byte `protobuf:"bytes,1,opt,name=needle_header,json=needleHeader,proto3" json:"needle_header,omitempty"`
  587. NeedleBody []byte `protobuf:"bytes,2,opt,name=needle_body,json=needleBody,proto3" json:"needle_body,omitempty"`
  588. IsLastChunk bool `protobuf:"varint,3,opt,name=is_last_chunk,json=isLastChunk" json:"is_last_chunk,omitempty"`
  589. }
  590. func (m *VolumeTailSenderResponse) Reset() { *m = VolumeTailSenderResponse{} }
  591. func (m *VolumeTailSenderResponse) String() string { return proto.CompactTextString(m) }
  592. func (*VolumeTailSenderResponse) ProtoMessage() {}
  593. func (*VolumeTailSenderResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
  594. func (m *VolumeTailSenderResponse) GetNeedleHeader() []byte {
  595. if m != nil {
  596. return m.NeedleHeader
  597. }
  598. return nil
  599. }
  600. func (m *VolumeTailSenderResponse) GetNeedleBody() []byte {
  601. if m != nil {
  602. return m.NeedleBody
  603. }
  604. return nil
  605. }
  606. func (m *VolumeTailSenderResponse) GetIsLastChunk() bool {
  607. if m != nil {
  608. return m.IsLastChunk
  609. }
  610. return false
  611. }
  612. type VolumeTailReceiverRequest struct {
  613. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  614. SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs" json:"since_ns,omitempty"`
  615. IdleTimeoutSeconds uint32 `protobuf:"varint,3,opt,name=idle_timeout_seconds,json=idleTimeoutSeconds" json:"idle_timeout_seconds,omitempty"`
  616. SourceVolumeServer string `protobuf:"bytes,4,opt,name=source_volume_server,json=sourceVolumeServer" json:"source_volume_server,omitempty"`
  617. }
  618. func (m *VolumeTailReceiverRequest) Reset() { *m = VolumeTailReceiverRequest{} }
  619. func (m *VolumeTailReceiverRequest) String() string { return proto.CompactTextString(m) }
  620. func (*VolumeTailReceiverRequest) ProtoMessage() {}
  621. func (*VolumeTailReceiverRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
  622. func (m *VolumeTailReceiverRequest) GetVolumeId() uint32 {
  623. if m != nil {
  624. return m.VolumeId
  625. }
  626. return 0
  627. }
  628. func (m *VolumeTailReceiverRequest) GetSinceNs() uint64 {
  629. if m != nil {
  630. return m.SinceNs
  631. }
  632. return 0
  633. }
  634. func (m *VolumeTailReceiverRequest) GetIdleTimeoutSeconds() uint32 {
  635. if m != nil {
  636. return m.IdleTimeoutSeconds
  637. }
  638. return 0
  639. }
  640. func (m *VolumeTailReceiverRequest) GetSourceVolumeServer() string {
  641. if m != nil {
  642. return m.SourceVolumeServer
  643. }
  644. return ""
  645. }
  646. type VolumeTailReceiverResponse struct {
  647. }
  648. func (m *VolumeTailReceiverResponse) Reset() { *m = VolumeTailReceiverResponse{} }
  649. func (m *VolumeTailReceiverResponse) String() string { return proto.CompactTextString(m) }
  650. func (*VolumeTailReceiverResponse) ProtoMessage() {}
  651. func (*VolumeTailReceiverResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} }
  652. type VolumeEcShardsGenerateRequest struct {
  653. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  654. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  655. }
  656. func (m *VolumeEcShardsGenerateRequest) Reset() { *m = VolumeEcShardsGenerateRequest{} }
  657. func (m *VolumeEcShardsGenerateRequest) String() string { return proto.CompactTextString(m) }
  658. func (*VolumeEcShardsGenerateRequest) ProtoMessage() {}
  659. func (*VolumeEcShardsGenerateRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{34} }
  660. func (m *VolumeEcShardsGenerateRequest) GetVolumeId() uint32 {
  661. if m != nil {
  662. return m.VolumeId
  663. }
  664. return 0
  665. }
  666. func (m *VolumeEcShardsGenerateRequest) GetCollection() string {
  667. if m != nil {
  668. return m.Collection
  669. }
  670. return ""
  671. }
  672. type VolumeEcShardsGenerateResponse struct {
  673. }
  674. func (m *VolumeEcShardsGenerateResponse) Reset() { *m = VolumeEcShardsGenerateResponse{} }
  675. func (m *VolumeEcShardsGenerateResponse) String() string { return proto.CompactTextString(m) }
  676. func (*VolumeEcShardsGenerateResponse) ProtoMessage() {}
  677. func (*VolumeEcShardsGenerateResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{35} }
  678. type VolumeEcShardsCopyRequest struct {
  679. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  680. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  681. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  682. SourceDataNode string `protobuf:"bytes,5,opt,name=source_data_node,json=sourceDataNode" json:"source_data_node,omitempty"`
  683. }
  684. func (m *VolumeEcShardsCopyRequest) Reset() { *m = VolumeEcShardsCopyRequest{} }
  685. func (m *VolumeEcShardsCopyRequest) String() string { return proto.CompactTextString(m) }
  686. func (*VolumeEcShardsCopyRequest) ProtoMessage() {}
  687. func (*VolumeEcShardsCopyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
  688. func (m *VolumeEcShardsCopyRequest) GetVolumeId() uint32 {
  689. if m != nil {
  690. return m.VolumeId
  691. }
  692. return 0
  693. }
  694. func (m *VolumeEcShardsCopyRequest) GetCollection() string {
  695. if m != nil {
  696. return m.Collection
  697. }
  698. return ""
  699. }
  700. func (m *VolumeEcShardsCopyRequest) GetShardIds() []uint32 {
  701. if m != nil {
  702. return m.ShardIds
  703. }
  704. return nil
  705. }
  706. func (m *VolumeEcShardsCopyRequest) GetSourceDataNode() string {
  707. if m != nil {
  708. return m.SourceDataNode
  709. }
  710. return ""
  711. }
  712. type VolumeEcShardsCopyResponse struct {
  713. }
  714. func (m *VolumeEcShardsCopyResponse) Reset() { *m = VolumeEcShardsCopyResponse{} }
  715. func (m *VolumeEcShardsCopyResponse) String() string { return proto.CompactTextString(m) }
  716. func (*VolumeEcShardsCopyResponse) ProtoMessage() {}
  717. func (*VolumeEcShardsCopyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{37} }
  718. type VolumeEcShardsDeleteRequest struct {
  719. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  720. ShouldDeleteEcx bool `protobuf:"varint,2,opt,name=should_delete_ecx,json=shouldDeleteEcx" json:"should_delete_ecx,omitempty"`
  721. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  722. }
  723. func (m *VolumeEcShardsDeleteRequest) Reset() { *m = VolumeEcShardsDeleteRequest{} }
  724. func (m *VolumeEcShardsDeleteRequest) String() string { return proto.CompactTextString(m) }
  725. func (*VolumeEcShardsDeleteRequest) ProtoMessage() {}
  726. func (*VolumeEcShardsDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{38} }
  727. func (m *VolumeEcShardsDeleteRequest) GetVolumeId() uint32 {
  728. if m != nil {
  729. return m.VolumeId
  730. }
  731. return 0
  732. }
  733. func (m *VolumeEcShardsDeleteRequest) GetShouldDeleteEcx() bool {
  734. if m != nil {
  735. return m.ShouldDeleteEcx
  736. }
  737. return false
  738. }
  739. func (m *VolumeEcShardsDeleteRequest) GetShardIds() []uint32 {
  740. if m != nil {
  741. return m.ShardIds
  742. }
  743. return nil
  744. }
  745. type VolumeEcShardsDeleteResponse struct {
  746. }
  747. func (m *VolumeEcShardsDeleteResponse) Reset() { *m = VolumeEcShardsDeleteResponse{} }
  748. func (m *VolumeEcShardsDeleteResponse) String() string { return proto.CompactTextString(m) }
  749. func (*VolumeEcShardsDeleteResponse) ProtoMessage() {}
  750. func (*VolumeEcShardsDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{39} }
  751. type VolumeEcShardsMountRequest struct {
  752. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  753. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  754. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  755. }
  756. func (m *VolumeEcShardsMountRequest) Reset() { *m = VolumeEcShardsMountRequest{} }
  757. func (m *VolumeEcShardsMountRequest) String() string { return proto.CompactTextString(m) }
  758. func (*VolumeEcShardsMountRequest) ProtoMessage() {}
  759. func (*VolumeEcShardsMountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} }
  760. func (m *VolumeEcShardsMountRequest) GetVolumeId() uint32 {
  761. if m != nil {
  762. return m.VolumeId
  763. }
  764. return 0
  765. }
  766. func (m *VolumeEcShardsMountRequest) GetCollection() string {
  767. if m != nil {
  768. return m.Collection
  769. }
  770. return ""
  771. }
  772. func (m *VolumeEcShardsMountRequest) GetShardIds() []uint32 {
  773. if m != nil {
  774. return m.ShardIds
  775. }
  776. return nil
  777. }
  778. type VolumeEcShardsMountResponse struct {
  779. }
  780. func (m *VolumeEcShardsMountResponse) Reset() { *m = VolumeEcShardsMountResponse{} }
  781. func (m *VolumeEcShardsMountResponse) String() string { return proto.CompactTextString(m) }
  782. func (*VolumeEcShardsMountResponse) ProtoMessage() {}
  783. func (*VolumeEcShardsMountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} }
  784. type VolumeEcShardsUnmountRequest struct {
  785. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  786. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  787. }
  788. func (m *VolumeEcShardsUnmountRequest) Reset() { *m = VolumeEcShardsUnmountRequest{} }
  789. func (m *VolumeEcShardsUnmountRequest) String() string { return proto.CompactTextString(m) }
  790. func (*VolumeEcShardsUnmountRequest) ProtoMessage() {}
  791. func (*VolumeEcShardsUnmountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{42} }
  792. func (m *VolumeEcShardsUnmountRequest) GetVolumeId() uint32 {
  793. if m != nil {
  794. return m.VolumeId
  795. }
  796. return 0
  797. }
  798. func (m *VolumeEcShardsUnmountRequest) GetShardIds() []uint32 {
  799. if m != nil {
  800. return m.ShardIds
  801. }
  802. return nil
  803. }
  804. type VolumeEcShardsUnmountResponse struct {
  805. }
  806. func (m *VolumeEcShardsUnmountResponse) Reset() { *m = VolumeEcShardsUnmountResponse{} }
  807. func (m *VolumeEcShardsUnmountResponse) String() string { return proto.CompactTextString(m) }
  808. func (*VolumeEcShardsUnmountResponse) ProtoMessage() {}
  809. func (*VolumeEcShardsUnmountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{43} }
  810. type VolumeEcShardReadRequest struct {
  811. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  812. ShardId uint32 `protobuf:"varint,2,opt,name=shard_id,json=shardId" json:"shard_id,omitempty"`
  813. Offset int64 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
  814. Size int64 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
  815. }
  816. func (m *VolumeEcShardReadRequest) Reset() { *m = VolumeEcShardReadRequest{} }
  817. func (m *VolumeEcShardReadRequest) String() string { return proto.CompactTextString(m) }
  818. func (*VolumeEcShardReadRequest) ProtoMessage() {}
  819. func (*VolumeEcShardReadRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{44} }
  820. func (m *VolumeEcShardReadRequest) GetVolumeId() uint32 {
  821. if m != nil {
  822. return m.VolumeId
  823. }
  824. return 0
  825. }
  826. func (m *VolumeEcShardReadRequest) GetShardId() uint32 {
  827. if m != nil {
  828. return m.ShardId
  829. }
  830. return 0
  831. }
  832. func (m *VolumeEcShardReadRequest) GetOffset() int64 {
  833. if m != nil {
  834. return m.Offset
  835. }
  836. return 0
  837. }
  838. func (m *VolumeEcShardReadRequest) GetSize() int64 {
  839. if m != nil {
  840. return m.Size
  841. }
  842. return 0
  843. }
  844. type VolumeEcShardReadResponse struct {
  845. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  846. }
  847. func (m *VolumeEcShardReadResponse) Reset() { *m = VolumeEcShardReadResponse{} }
  848. func (m *VolumeEcShardReadResponse) String() string { return proto.CompactTextString(m) }
  849. func (*VolumeEcShardReadResponse) ProtoMessage() {}
  850. func (*VolumeEcShardReadResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{45} }
  851. func (m *VolumeEcShardReadResponse) GetData() []byte {
  852. if m != nil {
  853. return m.Data
  854. }
  855. return nil
  856. }
  857. type ReadVolumeFileStatusRequest struct {
  858. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  859. }
  860. func (m *ReadVolumeFileStatusRequest) Reset() { *m = ReadVolumeFileStatusRequest{} }
  861. func (m *ReadVolumeFileStatusRequest) String() string { return proto.CompactTextString(m) }
  862. func (*ReadVolumeFileStatusRequest) ProtoMessage() {}
  863. func (*ReadVolumeFileStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{46} }
  864. func (m *ReadVolumeFileStatusRequest) GetVolumeId() uint32 {
  865. if m != nil {
  866. return m.VolumeId
  867. }
  868. return 0
  869. }
  870. type ReadVolumeFileStatusResponse struct {
  871. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  872. IdxFileTimestampSeconds uint64 `protobuf:"varint,2,opt,name=idx_file_timestamp_seconds,json=idxFileTimestampSeconds" json:"idx_file_timestamp_seconds,omitempty"`
  873. IdxFileSize uint64 `protobuf:"varint,3,opt,name=idx_file_size,json=idxFileSize" json:"idx_file_size,omitempty"`
  874. DatFileTimestampSeconds uint64 `protobuf:"varint,4,opt,name=dat_file_timestamp_seconds,json=datFileTimestampSeconds" json:"dat_file_timestamp_seconds,omitempty"`
  875. DatFileSize uint64 `protobuf:"varint,5,opt,name=dat_file_size,json=datFileSize" json:"dat_file_size,omitempty"`
  876. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  877. CompactionRevision uint32 `protobuf:"varint,7,opt,name=compaction_revision,json=compactionRevision" json:"compaction_revision,omitempty"`
  878. Collection string `protobuf:"bytes,8,opt,name=collection" json:"collection,omitempty"`
  879. }
  880. func (m *ReadVolumeFileStatusResponse) Reset() { *m = ReadVolumeFileStatusResponse{} }
  881. func (m *ReadVolumeFileStatusResponse) String() string { return proto.CompactTextString(m) }
  882. func (*ReadVolumeFileStatusResponse) ProtoMessage() {}
  883. func (*ReadVolumeFileStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{47} }
  884. func (m *ReadVolumeFileStatusResponse) GetVolumeId() uint32 {
  885. if m != nil {
  886. return m.VolumeId
  887. }
  888. return 0
  889. }
  890. func (m *ReadVolumeFileStatusResponse) GetIdxFileTimestampSeconds() uint64 {
  891. if m != nil {
  892. return m.IdxFileTimestampSeconds
  893. }
  894. return 0
  895. }
  896. func (m *ReadVolumeFileStatusResponse) GetIdxFileSize() uint64 {
  897. if m != nil {
  898. return m.IdxFileSize
  899. }
  900. return 0
  901. }
  902. func (m *ReadVolumeFileStatusResponse) GetDatFileTimestampSeconds() uint64 {
  903. if m != nil {
  904. return m.DatFileTimestampSeconds
  905. }
  906. return 0
  907. }
  908. func (m *ReadVolumeFileStatusResponse) GetDatFileSize() uint64 {
  909. if m != nil {
  910. return m.DatFileSize
  911. }
  912. return 0
  913. }
  914. func (m *ReadVolumeFileStatusResponse) GetFileCount() uint64 {
  915. if m != nil {
  916. return m.FileCount
  917. }
  918. return 0
  919. }
  920. func (m *ReadVolumeFileStatusResponse) GetCompactionRevision() uint32 {
  921. if m != nil {
  922. return m.CompactionRevision
  923. }
  924. return 0
  925. }
  926. func (m *ReadVolumeFileStatusResponse) GetCollection() string {
  927. if m != nil {
  928. return m.Collection
  929. }
  930. return ""
  931. }
  932. type DiskStatus struct {
  933. Dir string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"`
  934. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  935. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  936. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  937. }
  938. func (m *DiskStatus) Reset() { *m = DiskStatus{} }
  939. func (m *DiskStatus) String() string { return proto.CompactTextString(m) }
  940. func (*DiskStatus) ProtoMessage() {}
  941. func (*DiskStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{48} }
  942. func (m *DiskStatus) GetDir() string {
  943. if m != nil {
  944. return m.Dir
  945. }
  946. return ""
  947. }
  948. func (m *DiskStatus) GetAll() uint64 {
  949. if m != nil {
  950. return m.All
  951. }
  952. return 0
  953. }
  954. func (m *DiskStatus) GetUsed() uint64 {
  955. if m != nil {
  956. return m.Used
  957. }
  958. return 0
  959. }
  960. func (m *DiskStatus) GetFree() uint64 {
  961. if m != nil {
  962. return m.Free
  963. }
  964. return 0
  965. }
  966. type MemStatus struct {
  967. Goroutines int32 `protobuf:"varint,1,opt,name=goroutines" json:"goroutines,omitempty"`
  968. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  969. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  970. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  971. Self uint64 `protobuf:"varint,5,opt,name=self" json:"self,omitempty"`
  972. Heap uint64 `protobuf:"varint,6,opt,name=heap" json:"heap,omitempty"`
  973. Stack uint64 `protobuf:"varint,7,opt,name=stack" json:"stack,omitempty"`
  974. }
  975. func (m *MemStatus) Reset() { *m = MemStatus{} }
  976. func (m *MemStatus) String() string { return proto.CompactTextString(m) }
  977. func (*MemStatus) ProtoMessage() {}
  978. func (*MemStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{49} }
  979. func (m *MemStatus) GetGoroutines() int32 {
  980. if m != nil {
  981. return m.Goroutines
  982. }
  983. return 0
  984. }
  985. func (m *MemStatus) GetAll() uint64 {
  986. if m != nil {
  987. return m.All
  988. }
  989. return 0
  990. }
  991. func (m *MemStatus) GetUsed() uint64 {
  992. if m != nil {
  993. return m.Used
  994. }
  995. return 0
  996. }
  997. func (m *MemStatus) GetFree() uint64 {
  998. if m != nil {
  999. return m.Free
  1000. }
  1001. return 0
  1002. }
  1003. func (m *MemStatus) GetSelf() uint64 {
  1004. if m != nil {
  1005. return m.Self
  1006. }
  1007. return 0
  1008. }
  1009. func (m *MemStatus) GetHeap() uint64 {
  1010. if m != nil {
  1011. return m.Heap
  1012. }
  1013. return 0
  1014. }
  1015. func (m *MemStatus) GetStack() uint64 {
  1016. if m != nil {
  1017. return m.Stack
  1018. }
  1019. return 0
  1020. }
  1021. func init() {
  1022. proto.RegisterType((*BatchDeleteRequest)(nil), "volume_server_pb.BatchDeleteRequest")
  1023. proto.RegisterType((*BatchDeleteResponse)(nil), "volume_server_pb.BatchDeleteResponse")
  1024. proto.RegisterType((*DeleteResult)(nil), "volume_server_pb.DeleteResult")
  1025. proto.RegisterType((*Empty)(nil), "volume_server_pb.Empty")
  1026. proto.RegisterType((*VacuumVolumeCheckRequest)(nil), "volume_server_pb.VacuumVolumeCheckRequest")
  1027. proto.RegisterType((*VacuumVolumeCheckResponse)(nil), "volume_server_pb.VacuumVolumeCheckResponse")
  1028. proto.RegisterType((*VacuumVolumeCompactRequest)(nil), "volume_server_pb.VacuumVolumeCompactRequest")
  1029. proto.RegisterType((*VacuumVolumeCompactResponse)(nil), "volume_server_pb.VacuumVolumeCompactResponse")
  1030. proto.RegisterType((*VacuumVolumeCommitRequest)(nil), "volume_server_pb.VacuumVolumeCommitRequest")
  1031. proto.RegisterType((*VacuumVolumeCommitResponse)(nil), "volume_server_pb.VacuumVolumeCommitResponse")
  1032. proto.RegisterType((*VacuumVolumeCleanupRequest)(nil), "volume_server_pb.VacuumVolumeCleanupRequest")
  1033. proto.RegisterType((*VacuumVolumeCleanupResponse)(nil), "volume_server_pb.VacuumVolumeCleanupResponse")
  1034. proto.RegisterType((*DeleteCollectionRequest)(nil), "volume_server_pb.DeleteCollectionRequest")
  1035. proto.RegisterType((*DeleteCollectionResponse)(nil), "volume_server_pb.DeleteCollectionResponse")
  1036. proto.RegisterType((*AllocateVolumeRequest)(nil), "volume_server_pb.AllocateVolumeRequest")
  1037. proto.RegisterType((*AllocateVolumeResponse)(nil), "volume_server_pb.AllocateVolumeResponse")
  1038. proto.RegisterType((*VolumeSyncStatusRequest)(nil), "volume_server_pb.VolumeSyncStatusRequest")
  1039. proto.RegisterType((*VolumeSyncStatusResponse)(nil), "volume_server_pb.VolumeSyncStatusResponse")
  1040. proto.RegisterType((*VolumeIncrementalCopyRequest)(nil), "volume_server_pb.VolumeIncrementalCopyRequest")
  1041. proto.RegisterType((*VolumeIncrementalCopyResponse)(nil), "volume_server_pb.VolumeIncrementalCopyResponse")
  1042. proto.RegisterType((*VolumeMountRequest)(nil), "volume_server_pb.VolumeMountRequest")
  1043. proto.RegisterType((*VolumeMountResponse)(nil), "volume_server_pb.VolumeMountResponse")
  1044. proto.RegisterType((*VolumeUnmountRequest)(nil), "volume_server_pb.VolumeUnmountRequest")
  1045. proto.RegisterType((*VolumeUnmountResponse)(nil), "volume_server_pb.VolumeUnmountResponse")
  1046. proto.RegisterType((*VolumeDeleteRequest)(nil), "volume_server_pb.VolumeDeleteRequest")
  1047. proto.RegisterType((*VolumeDeleteResponse)(nil), "volume_server_pb.VolumeDeleteResponse")
  1048. proto.RegisterType((*VolumeCopyRequest)(nil), "volume_server_pb.VolumeCopyRequest")
  1049. proto.RegisterType((*VolumeCopyResponse)(nil), "volume_server_pb.VolumeCopyResponse")
  1050. proto.RegisterType((*CopyFileRequest)(nil), "volume_server_pb.CopyFileRequest")
  1051. proto.RegisterType((*CopyFileResponse)(nil), "volume_server_pb.CopyFileResponse")
  1052. proto.RegisterType((*VolumeTailSenderRequest)(nil), "volume_server_pb.VolumeTailSenderRequest")
  1053. proto.RegisterType((*VolumeTailSenderResponse)(nil), "volume_server_pb.VolumeTailSenderResponse")
  1054. proto.RegisterType((*VolumeTailReceiverRequest)(nil), "volume_server_pb.VolumeTailReceiverRequest")
  1055. proto.RegisterType((*VolumeTailReceiverResponse)(nil), "volume_server_pb.VolumeTailReceiverResponse")
  1056. proto.RegisterType((*VolumeEcShardsGenerateRequest)(nil), "volume_server_pb.VolumeEcShardsGenerateRequest")
  1057. proto.RegisterType((*VolumeEcShardsGenerateResponse)(nil), "volume_server_pb.VolumeEcShardsGenerateResponse")
  1058. proto.RegisterType((*VolumeEcShardsCopyRequest)(nil), "volume_server_pb.VolumeEcShardsCopyRequest")
  1059. proto.RegisterType((*VolumeEcShardsCopyResponse)(nil), "volume_server_pb.VolumeEcShardsCopyResponse")
  1060. proto.RegisterType((*VolumeEcShardsDeleteRequest)(nil), "volume_server_pb.VolumeEcShardsDeleteRequest")
  1061. proto.RegisterType((*VolumeEcShardsDeleteResponse)(nil), "volume_server_pb.VolumeEcShardsDeleteResponse")
  1062. proto.RegisterType((*VolumeEcShardsMountRequest)(nil), "volume_server_pb.VolumeEcShardsMountRequest")
  1063. proto.RegisterType((*VolumeEcShardsMountResponse)(nil), "volume_server_pb.VolumeEcShardsMountResponse")
  1064. proto.RegisterType((*VolumeEcShardsUnmountRequest)(nil), "volume_server_pb.VolumeEcShardsUnmountRequest")
  1065. proto.RegisterType((*VolumeEcShardsUnmountResponse)(nil), "volume_server_pb.VolumeEcShardsUnmountResponse")
  1066. proto.RegisterType((*VolumeEcShardReadRequest)(nil), "volume_server_pb.VolumeEcShardReadRequest")
  1067. proto.RegisterType((*VolumeEcShardReadResponse)(nil), "volume_server_pb.VolumeEcShardReadResponse")
  1068. proto.RegisterType((*ReadVolumeFileStatusRequest)(nil), "volume_server_pb.ReadVolumeFileStatusRequest")
  1069. proto.RegisterType((*ReadVolumeFileStatusResponse)(nil), "volume_server_pb.ReadVolumeFileStatusResponse")
  1070. proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus")
  1071. proto.RegisterType((*MemStatus)(nil), "volume_server_pb.MemStatus")
  1072. }
  1073. // Reference imports to suppress errors if they are not otherwise used.
  1074. var _ context.Context
  1075. var _ grpc.ClientConn
  1076. // This is a compile-time assertion to ensure that this generated file
  1077. // is compatible with the grpc package it is being compiled against.
  1078. const _ = grpc.SupportPackageIsVersion4
  1079. // Client API for VolumeServer service
  1080. type VolumeServerClient interface {
  1081. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  1082. BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error)
  1083. VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error)
  1084. VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error)
  1085. VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error)
  1086. VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error)
  1087. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  1088. AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error)
  1089. VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error)
  1090. VolumeIncrementalCopy(ctx context.Context, in *VolumeIncrementalCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeIncrementalCopyClient, error)
  1091. VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error)
  1092. VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error)
  1093. VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error)
  1094. // copy the .idx .dat files, and mount this volume
  1095. VolumeCopy(ctx context.Context, in *VolumeCopyRequest, opts ...grpc.CallOption) (*VolumeCopyResponse, error)
  1096. ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error)
  1097. CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error)
  1098. VolumeTailSender(ctx context.Context, in *VolumeTailSenderRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTailSenderClient, error)
  1099. VolumeTailReceiver(ctx context.Context, in *VolumeTailReceiverRequest, opts ...grpc.CallOption) (*VolumeTailReceiverResponse, error)
  1100. // erasure coding
  1101. VolumeEcShardsGenerate(ctx context.Context, in *VolumeEcShardsGenerateRequest, opts ...grpc.CallOption) (*VolumeEcShardsGenerateResponse, error)
  1102. VolumeEcShardsCopy(ctx context.Context, in *VolumeEcShardsCopyRequest, opts ...grpc.CallOption) (*VolumeEcShardsCopyResponse, error)
  1103. VolumeEcShardsDelete(ctx context.Context, in *VolumeEcShardsDeleteRequest, opts ...grpc.CallOption) (*VolumeEcShardsDeleteResponse, error)
  1104. VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error)
  1105. VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error)
  1106. VolumeEcShardRead(ctx context.Context, in *VolumeEcShardReadRequest, opts ...grpc.CallOption) (VolumeServer_VolumeEcShardReadClient, error)
  1107. }
  1108. type volumeServerClient struct {
  1109. cc *grpc.ClientConn
  1110. }
  1111. func NewVolumeServerClient(cc *grpc.ClientConn) VolumeServerClient {
  1112. return &volumeServerClient{cc}
  1113. }
  1114. func (c *volumeServerClient) BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error) {
  1115. out := new(BatchDeleteResponse)
  1116. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/BatchDelete", in, out, c.cc, opts...)
  1117. if err != nil {
  1118. return nil, err
  1119. }
  1120. return out, nil
  1121. }
  1122. func (c *volumeServerClient) VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error) {
  1123. out := new(VacuumVolumeCheckResponse)
  1124. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCheck", in, out, c.cc, opts...)
  1125. if err != nil {
  1126. return nil, err
  1127. }
  1128. return out, nil
  1129. }
  1130. func (c *volumeServerClient) VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error) {
  1131. out := new(VacuumVolumeCompactResponse)
  1132. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCompact", in, out, c.cc, opts...)
  1133. if err != nil {
  1134. return nil, err
  1135. }
  1136. return out, nil
  1137. }
  1138. func (c *volumeServerClient) VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error) {
  1139. out := new(VacuumVolumeCommitResponse)
  1140. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCommit", in, out, c.cc, opts...)
  1141. if err != nil {
  1142. return nil, err
  1143. }
  1144. return out, nil
  1145. }
  1146. func (c *volumeServerClient) VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error) {
  1147. out := new(VacuumVolumeCleanupResponse)
  1148. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCleanup", in, out, c.cc, opts...)
  1149. if err != nil {
  1150. return nil, err
  1151. }
  1152. return out, nil
  1153. }
  1154. func (c *volumeServerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  1155. out := new(DeleteCollectionResponse)
  1156. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/DeleteCollection", in, out, c.cc, opts...)
  1157. if err != nil {
  1158. return nil, err
  1159. }
  1160. return out, nil
  1161. }
  1162. func (c *volumeServerClient) AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error) {
  1163. out := new(AllocateVolumeResponse)
  1164. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/AllocateVolume", in, out, c.cc, opts...)
  1165. if err != nil {
  1166. return nil, err
  1167. }
  1168. return out, nil
  1169. }
  1170. func (c *volumeServerClient) VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error) {
  1171. out := new(VolumeSyncStatusResponse)
  1172. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeSyncStatus", in, out, c.cc, opts...)
  1173. if err != nil {
  1174. return nil, err
  1175. }
  1176. return out, nil
  1177. }
  1178. func (c *volumeServerClient) VolumeIncrementalCopy(ctx context.Context, in *VolumeIncrementalCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeIncrementalCopyClient, error) {
  1179. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[0], c.cc, "/volume_server_pb.VolumeServer/VolumeIncrementalCopy", opts...)
  1180. if err != nil {
  1181. return nil, err
  1182. }
  1183. x := &volumeServerVolumeIncrementalCopyClient{stream}
  1184. if err := x.ClientStream.SendMsg(in); err != nil {
  1185. return nil, err
  1186. }
  1187. if err := x.ClientStream.CloseSend(); err != nil {
  1188. return nil, err
  1189. }
  1190. return x, nil
  1191. }
  1192. type VolumeServer_VolumeIncrementalCopyClient interface {
  1193. Recv() (*VolumeIncrementalCopyResponse, error)
  1194. grpc.ClientStream
  1195. }
  1196. type volumeServerVolumeIncrementalCopyClient struct {
  1197. grpc.ClientStream
  1198. }
  1199. func (x *volumeServerVolumeIncrementalCopyClient) Recv() (*VolumeIncrementalCopyResponse, error) {
  1200. m := new(VolumeIncrementalCopyResponse)
  1201. if err := x.ClientStream.RecvMsg(m); err != nil {
  1202. return nil, err
  1203. }
  1204. return m, nil
  1205. }
  1206. func (c *volumeServerClient) VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error) {
  1207. out := new(VolumeMountResponse)
  1208. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMount", in, out, c.cc, opts...)
  1209. if err != nil {
  1210. return nil, err
  1211. }
  1212. return out, nil
  1213. }
  1214. func (c *volumeServerClient) VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error) {
  1215. out := new(VolumeUnmountResponse)
  1216. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeUnmount", in, out, c.cc, opts...)
  1217. if err != nil {
  1218. return nil, err
  1219. }
  1220. return out, nil
  1221. }
  1222. func (c *volumeServerClient) VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error) {
  1223. out := new(VolumeDeleteResponse)
  1224. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeDelete", in, out, c.cc, opts...)
  1225. if err != nil {
  1226. return nil, err
  1227. }
  1228. return out, nil
  1229. }
  1230. func (c *volumeServerClient) VolumeCopy(ctx context.Context, in *VolumeCopyRequest, opts ...grpc.CallOption) (*VolumeCopyResponse, error) {
  1231. out := new(VolumeCopyResponse)
  1232. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeCopy", in, out, c.cc, opts...)
  1233. if err != nil {
  1234. return nil, err
  1235. }
  1236. return out, nil
  1237. }
  1238. func (c *volumeServerClient) ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error) {
  1239. out := new(ReadVolumeFileStatusResponse)
  1240. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReadVolumeFileStatus", in, out, c.cc, opts...)
  1241. if err != nil {
  1242. return nil, err
  1243. }
  1244. return out, nil
  1245. }
  1246. func (c *volumeServerClient) CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error) {
  1247. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[1], c.cc, "/volume_server_pb.VolumeServer/CopyFile", opts...)
  1248. if err != nil {
  1249. return nil, err
  1250. }
  1251. x := &volumeServerCopyFileClient{stream}
  1252. if err := x.ClientStream.SendMsg(in); err != nil {
  1253. return nil, err
  1254. }
  1255. if err := x.ClientStream.CloseSend(); err != nil {
  1256. return nil, err
  1257. }
  1258. return x, nil
  1259. }
  1260. type VolumeServer_CopyFileClient interface {
  1261. Recv() (*CopyFileResponse, error)
  1262. grpc.ClientStream
  1263. }
  1264. type volumeServerCopyFileClient struct {
  1265. grpc.ClientStream
  1266. }
  1267. func (x *volumeServerCopyFileClient) Recv() (*CopyFileResponse, error) {
  1268. m := new(CopyFileResponse)
  1269. if err := x.ClientStream.RecvMsg(m); err != nil {
  1270. return nil, err
  1271. }
  1272. return m, nil
  1273. }
  1274. func (c *volumeServerClient) VolumeTailSender(ctx context.Context, in *VolumeTailSenderRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTailSenderClient, error) {
  1275. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[2], c.cc, "/volume_server_pb.VolumeServer/VolumeTailSender", opts...)
  1276. if err != nil {
  1277. return nil, err
  1278. }
  1279. x := &volumeServerVolumeTailSenderClient{stream}
  1280. if err := x.ClientStream.SendMsg(in); err != nil {
  1281. return nil, err
  1282. }
  1283. if err := x.ClientStream.CloseSend(); err != nil {
  1284. return nil, err
  1285. }
  1286. return x, nil
  1287. }
  1288. type VolumeServer_VolumeTailSenderClient interface {
  1289. Recv() (*VolumeTailSenderResponse, error)
  1290. grpc.ClientStream
  1291. }
  1292. type volumeServerVolumeTailSenderClient struct {
  1293. grpc.ClientStream
  1294. }
  1295. func (x *volumeServerVolumeTailSenderClient) Recv() (*VolumeTailSenderResponse, error) {
  1296. m := new(VolumeTailSenderResponse)
  1297. if err := x.ClientStream.RecvMsg(m); err != nil {
  1298. return nil, err
  1299. }
  1300. return m, nil
  1301. }
  1302. func (c *volumeServerClient) VolumeTailReceiver(ctx context.Context, in *VolumeTailReceiverRequest, opts ...grpc.CallOption) (*VolumeTailReceiverResponse, error) {
  1303. out := new(VolumeTailReceiverResponse)
  1304. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeTailReceiver", in, out, c.cc, opts...)
  1305. if err != nil {
  1306. return nil, err
  1307. }
  1308. return out, nil
  1309. }
  1310. func (c *volumeServerClient) VolumeEcShardsGenerate(ctx context.Context, in *VolumeEcShardsGenerateRequest, opts ...grpc.CallOption) (*VolumeEcShardsGenerateResponse, error) {
  1311. out := new(VolumeEcShardsGenerateResponse)
  1312. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsGenerate", in, out, c.cc, opts...)
  1313. if err != nil {
  1314. return nil, err
  1315. }
  1316. return out, nil
  1317. }
  1318. func (c *volumeServerClient) VolumeEcShardsCopy(ctx context.Context, in *VolumeEcShardsCopyRequest, opts ...grpc.CallOption) (*VolumeEcShardsCopyResponse, error) {
  1319. out := new(VolumeEcShardsCopyResponse)
  1320. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsCopy", in, out, c.cc, opts...)
  1321. if err != nil {
  1322. return nil, err
  1323. }
  1324. return out, nil
  1325. }
  1326. func (c *volumeServerClient) VolumeEcShardsDelete(ctx context.Context, in *VolumeEcShardsDeleteRequest, opts ...grpc.CallOption) (*VolumeEcShardsDeleteResponse, error) {
  1327. out := new(VolumeEcShardsDeleteResponse)
  1328. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsDelete", in, out, c.cc, opts...)
  1329. if err != nil {
  1330. return nil, err
  1331. }
  1332. return out, nil
  1333. }
  1334. func (c *volumeServerClient) VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error) {
  1335. out := new(VolumeEcShardsMountResponse)
  1336. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsMount", in, out, c.cc, opts...)
  1337. if err != nil {
  1338. return nil, err
  1339. }
  1340. return out, nil
  1341. }
  1342. func (c *volumeServerClient) VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error) {
  1343. out := new(VolumeEcShardsUnmountResponse)
  1344. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount", in, out, c.cc, opts...)
  1345. if err != nil {
  1346. return nil, err
  1347. }
  1348. return out, nil
  1349. }
  1350. func (c *volumeServerClient) VolumeEcShardRead(ctx context.Context, in *VolumeEcShardReadRequest, opts ...grpc.CallOption) (VolumeServer_VolumeEcShardReadClient, error) {
  1351. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[3], c.cc, "/volume_server_pb.VolumeServer/VolumeEcShardRead", opts...)
  1352. if err != nil {
  1353. return nil, err
  1354. }
  1355. x := &volumeServerVolumeEcShardReadClient{stream}
  1356. if err := x.ClientStream.SendMsg(in); err != nil {
  1357. return nil, err
  1358. }
  1359. if err := x.ClientStream.CloseSend(); err != nil {
  1360. return nil, err
  1361. }
  1362. return x, nil
  1363. }
  1364. type VolumeServer_VolumeEcShardReadClient interface {
  1365. Recv() (*VolumeEcShardReadResponse, error)
  1366. grpc.ClientStream
  1367. }
  1368. type volumeServerVolumeEcShardReadClient struct {
  1369. grpc.ClientStream
  1370. }
  1371. func (x *volumeServerVolumeEcShardReadClient) Recv() (*VolumeEcShardReadResponse, error) {
  1372. m := new(VolumeEcShardReadResponse)
  1373. if err := x.ClientStream.RecvMsg(m); err != nil {
  1374. return nil, err
  1375. }
  1376. return m, nil
  1377. }
  1378. // Server API for VolumeServer service
  1379. type VolumeServerServer interface {
  1380. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  1381. BatchDelete(context.Context, *BatchDeleteRequest) (*BatchDeleteResponse, error)
  1382. VacuumVolumeCheck(context.Context, *VacuumVolumeCheckRequest) (*VacuumVolumeCheckResponse, error)
  1383. VacuumVolumeCompact(context.Context, *VacuumVolumeCompactRequest) (*VacuumVolumeCompactResponse, error)
  1384. VacuumVolumeCommit(context.Context, *VacuumVolumeCommitRequest) (*VacuumVolumeCommitResponse, error)
  1385. VacuumVolumeCleanup(context.Context, *VacuumVolumeCleanupRequest) (*VacuumVolumeCleanupResponse, error)
  1386. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  1387. AllocateVolume(context.Context, *AllocateVolumeRequest) (*AllocateVolumeResponse, error)
  1388. VolumeSyncStatus(context.Context, *VolumeSyncStatusRequest) (*VolumeSyncStatusResponse, error)
  1389. VolumeIncrementalCopy(*VolumeIncrementalCopyRequest, VolumeServer_VolumeIncrementalCopyServer) error
  1390. VolumeMount(context.Context, *VolumeMountRequest) (*VolumeMountResponse, error)
  1391. VolumeUnmount(context.Context, *VolumeUnmountRequest) (*VolumeUnmountResponse, error)
  1392. VolumeDelete(context.Context, *VolumeDeleteRequest) (*VolumeDeleteResponse, error)
  1393. // copy the .idx .dat files, and mount this volume
  1394. VolumeCopy(context.Context, *VolumeCopyRequest) (*VolumeCopyResponse, error)
  1395. ReadVolumeFileStatus(context.Context, *ReadVolumeFileStatusRequest) (*ReadVolumeFileStatusResponse, error)
  1396. CopyFile(*CopyFileRequest, VolumeServer_CopyFileServer) error
  1397. VolumeTailSender(*VolumeTailSenderRequest, VolumeServer_VolumeTailSenderServer) error
  1398. VolumeTailReceiver(context.Context, *VolumeTailReceiverRequest) (*VolumeTailReceiverResponse, error)
  1399. // erasure coding
  1400. VolumeEcShardsGenerate(context.Context, *VolumeEcShardsGenerateRequest) (*VolumeEcShardsGenerateResponse, error)
  1401. VolumeEcShardsCopy(context.Context, *VolumeEcShardsCopyRequest) (*VolumeEcShardsCopyResponse, error)
  1402. VolumeEcShardsDelete(context.Context, *VolumeEcShardsDeleteRequest) (*VolumeEcShardsDeleteResponse, error)
  1403. VolumeEcShardsMount(context.Context, *VolumeEcShardsMountRequest) (*VolumeEcShardsMountResponse, error)
  1404. VolumeEcShardsUnmount(context.Context, *VolumeEcShardsUnmountRequest) (*VolumeEcShardsUnmountResponse, error)
  1405. VolumeEcShardRead(*VolumeEcShardReadRequest, VolumeServer_VolumeEcShardReadServer) error
  1406. }
  1407. func RegisterVolumeServerServer(s *grpc.Server, srv VolumeServerServer) {
  1408. s.RegisterService(&_VolumeServer_serviceDesc, srv)
  1409. }
  1410. func _VolumeServer_BatchDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1411. in := new(BatchDeleteRequest)
  1412. if err := dec(in); err != nil {
  1413. return nil, err
  1414. }
  1415. if interceptor == nil {
  1416. return srv.(VolumeServerServer).BatchDelete(ctx, in)
  1417. }
  1418. info := &grpc.UnaryServerInfo{
  1419. Server: srv,
  1420. FullMethod: "/volume_server_pb.VolumeServer/BatchDelete",
  1421. }
  1422. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1423. return srv.(VolumeServerServer).BatchDelete(ctx, req.(*BatchDeleteRequest))
  1424. }
  1425. return interceptor(ctx, in, info, handler)
  1426. }
  1427. func _VolumeServer_VacuumVolumeCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1428. in := new(VacuumVolumeCheckRequest)
  1429. if err := dec(in); err != nil {
  1430. return nil, err
  1431. }
  1432. if interceptor == nil {
  1433. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, in)
  1434. }
  1435. info := &grpc.UnaryServerInfo{
  1436. Server: srv,
  1437. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCheck",
  1438. }
  1439. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1440. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, req.(*VacuumVolumeCheckRequest))
  1441. }
  1442. return interceptor(ctx, in, info, handler)
  1443. }
  1444. func _VolumeServer_VacuumVolumeCompact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1445. in := new(VacuumVolumeCompactRequest)
  1446. if err := dec(in); err != nil {
  1447. return nil, err
  1448. }
  1449. if interceptor == nil {
  1450. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, in)
  1451. }
  1452. info := &grpc.UnaryServerInfo{
  1453. Server: srv,
  1454. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCompact",
  1455. }
  1456. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1457. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, req.(*VacuumVolumeCompactRequest))
  1458. }
  1459. return interceptor(ctx, in, info, handler)
  1460. }
  1461. func _VolumeServer_VacuumVolumeCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1462. in := new(VacuumVolumeCommitRequest)
  1463. if err := dec(in); err != nil {
  1464. return nil, err
  1465. }
  1466. if interceptor == nil {
  1467. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, in)
  1468. }
  1469. info := &grpc.UnaryServerInfo{
  1470. Server: srv,
  1471. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCommit",
  1472. }
  1473. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1474. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, req.(*VacuumVolumeCommitRequest))
  1475. }
  1476. return interceptor(ctx, in, info, handler)
  1477. }
  1478. func _VolumeServer_VacuumVolumeCleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1479. in := new(VacuumVolumeCleanupRequest)
  1480. if err := dec(in); err != nil {
  1481. return nil, err
  1482. }
  1483. if interceptor == nil {
  1484. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, in)
  1485. }
  1486. info := &grpc.UnaryServerInfo{
  1487. Server: srv,
  1488. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCleanup",
  1489. }
  1490. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1491. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, req.(*VacuumVolumeCleanupRequest))
  1492. }
  1493. return interceptor(ctx, in, info, handler)
  1494. }
  1495. func _VolumeServer_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1496. in := new(DeleteCollectionRequest)
  1497. if err := dec(in); err != nil {
  1498. return nil, err
  1499. }
  1500. if interceptor == nil {
  1501. return srv.(VolumeServerServer).DeleteCollection(ctx, in)
  1502. }
  1503. info := &grpc.UnaryServerInfo{
  1504. Server: srv,
  1505. FullMethod: "/volume_server_pb.VolumeServer/DeleteCollection",
  1506. }
  1507. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1508. return srv.(VolumeServerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  1509. }
  1510. return interceptor(ctx, in, info, handler)
  1511. }
  1512. func _VolumeServer_AllocateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1513. in := new(AllocateVolumeRequest)
  1514. if err := dec(in); err != nil {
  1515. return nil, err
  1516. }
  1517. if interceptor == nil {
  1518. return srv.(VolumeServerServer).AllocateVolume(ctx, in)
  1519. }
  1520. info := &grpc.UnaryServerInfo{
  1521. Server: srv,
  1522. FullMethod: "/volume_server_pb.VolumeServer/AllocateVolume",
  1523. }
  1524. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1525. return srv.(VolumeServerServer).AllocateVolume(ctx, req.(*AllocateVolumeRequest))
  1526. }
  1527. return interceptor(ctx, in, info, handler)
  1528. }
  1529. func _VolumeServer_VolumeSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1530. in := new(VolumeSyncStatusRequest)
  1531. if err := dec(in); err != nil {
  1532. return nil, err
  1533. }
  1534. if interceptor == nil {
  1535. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, in)
  1536. }
  1537. info := &grpc.UnaryServerInfo{
  1538. Server: srv,
  1539. FullMethod: "/volume_server_pb.VolumeServer/VolumeSyncStatus",
  1540. }
  1541. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1542. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, req.(*VolumeSyncStatusRequest))
  1543. }
  1544. return interceptor(ctx, in, info, handler)
  1545. }
  1546. func _VolumeServer_VolumeIncrementalCopy_Handler(srv interface{}, stream grpc.ServerStream) error {
  1547. m := new(VolumeIncrementalCopyRequest)
  1548. if err := stream.RecvMsg(m); err != nil {
  1549. return err
  1550. }
  1551. return srv.(VolumeServerServer).VolumeIncrementalCopy(m, &volumeServerVolumeIncrementalCopyServer{stream})
  1552. }
  1553. type VolumeServer_VolumeIncrementalCopyServer interface {
  1554. Send(*VolumeIncrementalCopyResponse) error
  1555. grpc.ServerStream
  1556. }
  1557. type volumeServerVolumeIncrementalCopyServer struct {
  1558. grpc.ServerStream
  1559. }
  1560. func (x *volumeServerVolumeIncrementalCopyServer) Send(m *VolumeIncrementalCopyResponse) error {
  1561. return x.ServerStream.SendMsg(m)
  1562. }
  1563. func _VolumeServer_VolumeMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1564. in := new(VolumeMountRequest)
  1565. if err := dec(in); err != nil {
  1566. return nil, err
  1567. }
  1568. if interceptor == nil {
  1569. return srv.(VolumeServerServer).VolumeMount(ctx, in)
  1570. }
  1571. info := &grpc.UnaryServerInfo{
  1572. Server: srv,
  1573. FullMethod: "/volume_server_pb.VolumeServer/VolumeMount",
  1574. }
  1575. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1576. return srv.(VolumeServerServer).VolumeMount(ctx, req.(*VolumeMountRequest))
  1577. }
  1578. return interceptor(ctx, in, info, handler)
  1579. }
  1580. func _VolumeServer_VolumeUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1581. in := new(VolumeUnmountRequest)
  1582. if err := dec(in); err != nil {
  1583. return nil, err
  1584. }
  1585. if interceptor == nil {
  1586. return srv.(VolumeServerServer).VolumeUnmount(ctx, in)
  1587. }
  1588. info := &grpc.UnaryServerInfo{
  1589. Server: srv,
  1590. FullMethod: "/volume_server_pb.VolumeServer/VolumeUnmount",
  1591. }
  1592. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1593. return srv.(VolumeServerServer).VolumeUnmount(ctx, req.(*VolumeUnmountRequest))
  1594. }
  1595. return interceptor(ctx, in, info, handler)
  1596. }
  1597. func _VolumeServer_VolumeDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1598. in := new(VolumeDeleteRequest)
  1599. if err := dec(in); err != nil {
  1600. return nil, err
  1601. }
  1602. if interceptor == nil {
  1603. return srv.(VolumeServerServer).VolumeDelete(ctx, in)
  1604. }
  1605. info := &grpc.UnaryServerInfo{
  1606. Server: srv,
  1607. FullMethod: "/volume_server_pb.VolumeServer/VolumeDelete",
  1608. }
  1609. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1610. return srv.(VolumeServerServer).VolumeDelete(ctx, req.(*VolumeDeleteRequest))
  1611. }
  1612. return interceptor(ctx, in, info, handler)
  1613. }
  1614. func _VolumeServer_VolumeCopy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1615. in := new(VolumeCopyRequest)
  1616. if err := dec(in); err != nil {
  1617. return nil, err
  1618. }
  1619. if interceptor == nil {
  1620. return srv.(VolumeServerServer).VolumeCopy(ctx, in)
  1621. }
  1622. info := &grpc.UnaryServerInfo{
  1623. Server: srv,
  1624. FullMethod: "/volume_server_pb.VolumeServer/VolumeCopy",
  1625. }
  1626. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1627. return srv.(VolumeServerServer).VolumeCopy(ctx, req.(*VolumeCopyRequest))
  1628. }
  1629. return interceptor(ctx, in, info, handler)
  1630. }
  1631. func _VolumeServer_ReadVolumeFileStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1632. in := new(ReadVolumeFileStatusRequest)
  1633. if err := dec(in); err != nil {
  1634. return nil, err
  1635. }
  1636. if interceptor == nil {
  1637. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, in)
  1638. }
  1639. info := &grpc.UnaryServerInfo{
  1640. Server: srv,
  1641. FullMethod: "/volume_server_pb.VolumeServer/ReadVolumeFileStatus",
  1642. }
  1643. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1644. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, req.(*ReadVolumeFileStatusRequest))
  1645. }
  1646. return interceptor(ctx, in, info, handler)
  1647. }
  1648. func _VolumeServer_CopyFile_Handler(srv interface{}, stream grpc.ServerStream) error {
  1649. m := new(CopyFileRequest)
  1650. if err := stream.RecvMsg(m); err != nil {
  1651. return err
  1652. }
  1653. return srv.(VolumeServerServer).CopyFile(m, &volumeServerCopyFileServer{stream})
  1654. }
  1655. type VolumeServer_CopyFileServer interface {
  1656. Send(*CopyFileResponse) error
  1657. grpc.ServerStream
  1658. }
  1659. type volumeServerCopyFileServer struct {
  1660. grpc.ServerStream
  1661. }
  1662. func (x *volumeServerCopyFileServer) Send(m *CopyFileResponse) error {
  1663. return x.ServerStream.SendMsg(m)
  1664. }
  1665. func _VolumeServer_VolumeTailSender_Handler(srv interface{}, stream grpc.ServerStream) error {
  1666. m := new(VolumeTailSenderRequest)
  1667. if err := stream.RecvMsg(m); err != nil {
  1668. return err
  1669. }
  1670. return srv.(VolumeServerServer).VolumeTailSender(m, &volumeServerVolumeTailSenderServer{stream})
  1671. }
  1672. type VolumeServer_VolumeTailSenderServer interface {
  1673. Send(*VolumeTailSenderResponse) error
  1674. grpc.ServerStream
  1675. }
  1676. type volumeServerVolumeTailSenderServer struct {
  1677. grpc.ServerStream
  1678. }
  1679. func (x *volumeServerVolumeTailSenderServer) Send(m *VolumeTailSenderResponse) error {
  1680. return x.ServerStream.SendMsg(m)
  1681. }
  1682. func _VolumeServer_VolumeTailReceiver_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1683. in := new(VolumeTailReceiverRequest)
  1684. if err := dec(in); err != nil {
  1685. return nil, err
  1686. }
  1687. if interceptor == nil {
  1688. return srv.(VolumeServerServer).VolumeTailReceiver(ctx, in)
  1689. }
  1690. info := &grpc.UnaryServerInfo{
  1691. Server: srv,
  1692. FullMethod: "/volume_server_pb.VolumeServer/VolumeTailReceiver",
  1693. }
  1694. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1695. return srv.(VolumeServerServer).VolumeTailReceiver(ctx, req.(*VolumeTailReceiverRequest))
  1696. }
  1697. return interceptor(ctx, in, info, handler)
  1698. }
  1699. func _VolumeServer_VolumeEcShardsGenerate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1700. in := new(VolumeEcShardsGenerateRequest)
  1701. if err := dec(in); err != nil {
  1702. return nil, err
  1703. }
  1704. if interceptor == nil {
  1705. return srv.(VolumeServerServer).VolumeEcShardsGenerate(ctx, in)
  1706. }
  1707. info := &grpc.UnaryServerInfo{
  1708. Server: srv,
  1709. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsGenerate",
  1710. }
  1711. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1712. return srv.(VolumeServerServer).VolumeEcShardsGenerate(ctx, req.(*VolumeEcShardsGenerateRequest))
  1713. }
  1714. return interceptor(ctx, in, info, handler)
  1715. }
  1716. func _VolumeServer_VolumeEcShardsCopy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1717. in := new(VolumeEcShardsCopyRequest)
  1718. if err := dec(in); err != nil {
  1719. return nil, err
  1720. }
  1721. if interceptor == nil {
  1722. return srv.(VolumeServerServer).VolumeEcShardsCopy(ctx, in)
  1723. }
  1724. info := &grpc.UnaryServerInfo{
  1725. Server: srv,
  1726. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsCopy",
  1727. }
  1728. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1729. return srv.(VolumeServerServer).VolumeEcShardsCopy(ctx, req.(*VolumeEcShardsCopyRequest))
  1730. }
  1731. return interceptor(ctx, in, info, handler)
  1732. }
  1733. func _VolumeServer_VolumeEcShardsDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1734. in := new(VolumeEcShardsDeleteRequest)
  1735. if err := dec(in); err != nil {
  1736. return nil, err
  1737. }
  1738. if interceptor == nil {
  1739. return srv.(VolumeServerServer).VolumeEcShardsDelete(ctx, in)
  1740. }
  1741. info := &grpc.UnaryServerInfo{
  1742. Server: srv,
  1743. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsDelete",
  1744. }
  1745. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1746. return srv.(VolumeServerServer).VolumeEcShardsDelete(ctx, req.(*VolumeEcShardsDeleteRequest))
  1747. }
  1748. return interceptor(ctx, in, info, handler)
  1749. }
  1750. func _VolumeServer_VolumeEcShardsMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1751. in := new(VolumeEcShardsMountRequest)
  1752. if err := dec(in); err != nil {
  1753. return nil, err
  1754. }
  1755. if interceptor == nil {
  1756. return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, in)
  1757. }
  1758. info := &grpc.UnaryServerInfo{
  1759. Server: srv,
  1760. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsMount",
  1761. }
  1762. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1763. return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, req.(*VolumeEcShardsMountRequest))
  1764. }
  1765. return interceptor(ctx, in, info, handler)
  1766. }
  1767. func _VolumeServer_VolumeEcShardsUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1768. in := new(VolumeEcShardsUnmountRequest)
  1769. if err := dec(in); err != nil {
  1770. return nil, err
  1771. }
  1772. if interceptor == nil {
  1773. return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, in)
  1774. }
  1775. info := &grpc.UnaryServerInfo{
  1776. Server: srv,
  1777. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount",
  1778. }
  1779. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1780. return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, req.(*VolumeEcShardsUnmountRequest))
  1781. }
  1782. return interceptor(ctx, in, info, handler)
  1783. }
  1784. func _VolumeServer_VolumeEcShardRead_Handler(srv interface{}, stream grpc.ServerStream) error {
  1785. m := new(VolumeEcShardReadRequest)
  1786. if err := stream.RecvMsg(m); err != nil {
  1787. return err
  1788. }
  1789. return srv.(VolumeServerServer).VolumeEcShardRead(m, &volumeServerVolumeEcShardReadServer{stream})
  1790. }
  1791. type VolumeServer_VolumeEcShardReadServer interface {
  1792. Send(*VolumeEcShardReadResponse) error
  1793. grpc.ServerStream
  1794. }
  1795. type volumeServerVolumeEcShardReadServer struct {
  1796. grpc.ServerStream
  1797. }
  1798. func (x *volumeServerVolumeEcShardReadServer) Send(m *VolumeEcShardReadResponse) error {
  1799. return x.ServerStream.SendMsg(m)
  1800. }
  1801. var _VolumeServer_serviceDesc = grpc.ServiceDesc{
  1802. ServiceName: "volume_server_pb.VolumeServer",
  1803. HandlerType: (*VolumeServerServer)(nil),
  1804. Methods: []grpc.MethodDesc{
  1805. {
  1806. MethodName: "BatchDelete",
  1807. Handler: _VolumeServer_BatchDelete_Handler,
  1808. },
  1809. {
  1810. MethodName: "VacuumVolumeCheck",
  1811. Handler: _VolumeServer_VacuumVolumeCheck_Handler,
  1812. },
  1813. {
  1814. MethodName: "VacuumVolumeCompact",
  1815. Handler: _VolumeServer_VacuumVolumeCompact_Handler,
  1816. },
  1817. {
  1818. MethodName: "VacuumVolumeCommit",
  1819. Handler: _VolumeServer_VacuumVolumeCommit_Handler,
  1820. },
  1821. {
  1822. MethodName: "VacuumVolumeCleanup",
  1823. Handler: _VolumeServer_VacuumVolumeCleanup_Handler,
  1824. },
  1825. {
  1826. MethodName: "DeleteCollection",
  1827. Handler: _VolumeServer_DeleteCollection_Handler,
  1828. },
  1829. {
  1830. MethodName: "AllocateVolume",
  1831. Handler: _VolumeServer_AllocateVolume_Handler,
  1832. },
  1833. {
  1834. MethodName: "VolumeSyncStatus",
  1835. Handler: _VolumeServer_VolumeSyncStatus_Handler,
  1836. },
  1837. {
  1838. MethodName: "VolumeMount",
  1839. Handler: _VolumeServer_VolumeMount_Handler,
  1840. },
  1841. {
  1842. MethodName: "VolumeUnmount",
  1843. Handler: _VolumeServer_VolumeUnmount_Handler,
  1844. },
  1845. {
  1846. MethodName: "VolumeDelete",
  1847. Handler: _VolumeServer_VolumeDelete_Handler,
  1848. },
  1849. {
  1850. MethodName: "VolumeCopy",
  1851. Handler: _VolumeServer_VolumeCopy_Handler,
  1852. },
  1853. {
  1854. MethodName: "ReadVolumeFileStatus",
  1855. Handler: _VolumeServer_ReadVolumeFileStatus_Handler,
  1856. },
  1857. {
  1858. MethodName: "VolumeTailReceiver",
  1859. Handler: _VolumeServer_VolumeTailReceiver_Handler,
  1860. },
  1861. {
  1862. MethodName: "VolumeEcShardsGenerate",
  1863. Handler: _VolumeServer_VolumeEcShardsGenerate_Handler,
  1864. },
  1865. {
  1866. MethodName: "VolumeEcShardsCopy",
  1867. Handler: _VolumeServer_VolumeEcShardsCopy_Handler,
  1868. },
  1869. {
  1870. MethodName: "VolumeEcShardsDelete",
  1871. Handler: _VolumeServer_VolumeEcShardsDelete_Handler,
  1872. },
  1873. {
  1874. MethodName: "VolumeEcShardsMount",
  1875. Handler: _VolumeServer_VolumeEcShardsMount_Handler,
  1876. },
  1877. {
  1878. MethodName: "VolumeEcShardsUnmount",
  1879. Handler: _VolumeServer_VolumeEcShardsUnmount_Handler,
  1880. },
  1881. },
  1882. Streams: []grpc.StreamDesc{
  1883. {
  1884. StreamName: "VolumeIncrementalCopy",
  1885. Handler: _VolumeServer_VolumeIncrementalCopy_Handler,
  1886. ServerStreams: true,
  1887. },
  1888. {
  1889. StreamName: "CopyFile",
  1890. Handler: _VolumeServer_CopyFile_Handler,
  1891. ServerStreams: true,
  1892. },
  1893. {
  1894. StreamName: "VolumeTailSender",
  1895. Handler: _VolumeServer_VolumeTailSender_Handler,
  1896. ServerStreams: true,
  1897. },
  1898. {
  1899. StreamName: "VolumeEcShardRead",
  1900. Handler: _VolumeServer_VolumeEcShardRead_Handler,
  1901. ServerStreams: true,
  1902. },
  1903. },
  1904. Metadata: "volume_server.proto",
  1905. }
  1906. func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) }
  1907. var fileDescriptor0 = []byte{
  1908. // 1724 bytes of a gzipped FileDescriptorProto
  1909. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xc4, 0x59, 0xdd, 0x6e, 0xd4, 0xc6,
  1910. 0x17, 0x8f, 0xd9, 0x4d, 0x76, 0x73, 0x36, 0x81, 0x64, 0x12, 0x92, 0x8d, 0x03, 0x61, 0x31, 0xfc,
  1911. 0x21, 0x04, 0x48, 0xf8, 0x83, 0xda, 0xd2, 0xf6, 0xa2, 0x85, 0x40, 0xdb, 0x48, 0x05, 0x24, 0x07,
  1912. 0x10, 0x55, 0x91, 0xac, 0x89, 0x3d, 0x21, 0x56, 0xbc, 0xf6, 0xe2, 0x19, 0xa7, 0x09, 0x6a, 0x7b,
  1913. 0x43, 0x9f, 0xa0, 0x2f, 0xd0, 0x8b, 0xde, 0xf5, 0xa2, 0xb7, 0x7d, 0xaa, 0x3e, 0x40, 0xd5, 0x9b,
  1914. 0x6a, 0x3e, 0xec, 0xf5, 0x67, 0xd6, 0x29, 0x48, 0xbd, 0x9b, 0x3d, 0x73, 0xbe, 0x7d, 0xce, 0x99,
  1915. 0xf9, 0xcd, 0xc2, 0xdc, 0x41, 0xe0, 0x45, 0x7d, 0x62, 0x51, 0x12, 0x1e, 0x90, 0x70, 0x7d, 0x10,
  1916. 0x06, 0x2c, 0x40, 0x33, 0x19, 0xa2, 0x35, 0xd8, 0x31, 0x36, 0x00, 0xdd, 0xc7, 0xcc, 0xde, 0x7b,
  1917. 0x40, 0x3c, 0xc2, 0x88, 0x49, 0x5e, 0x47, 0x84, 0x32, 0xb4, 0x04, 0xed, 0x5d, 0xd7, 0x23, 0x96,
  1918. 0xeb, 0xd0, 0xae, 0xd6, 0x6b, 0xac, 0x4e, 0x9a, 0x2d, 0xfe, 0x7b, 0xcb, 0xa1, 0xc6, 0x13, 0x98,
  1919. 0xcb, 0x08, 0xd0, 0x41, 0xe0, 0x53, 0x82, 0xee, 0x42, 0x2b, 0x24, 0x34, 0xf2, 0x98, 0x14, 0xe8,
  1920. 0xdc, 0x5e, 0x59, 0xcf, 0xdb, 0x5a, 0x4f, 0x44, 0x22, 0x8f, 0x99, 0x31, 0xbb, 0xe1, 0xc2, 0x54,
  1921. 0x7a, 0x03, 0x2d, 0x42, 0x4b, 0xd9, 0xee, 0x6a, 0x3d, 0x6d, 0x75, 0xd2, 0x9c, 0x90, 0xa6, 0xd1,
  1922. 0x02, 0x4c, 0x50, 0x86, 0x59, 0x44, 0xbb, 0xa7, 0x7a, 0xda, 0xea, 0xb8, 0xa9, 0x7e, 0xa1, 0x79,
  1923. 0x18, 0x27, 0x61, 0x18, 0x84, 0xdd, 0x86, 0x60, 0x97, 0x3f, 0x10, 0x82, 0x26, 0x75, 0xdf, 0x90,
  1924. 0x6e, 0xb3, 0xa7, 0xad, 0x4e, 0x9b, 0x62, 0x6d, 0xb4, 0x60, 0xfc, 0x61, 0x7f, 0xc0, 0x8e, 0x8c,
  1925. 0x8f, 0xa0, 0xfb, 0x1c, 0xdb, 0x51, 0xd4, 0x7f, 0x2e, 0x7c, 0xdc, 0xdc, 0x23, 0xf6, 0x7e, 0x1c,
  1926. 0xfb, 0x32, 0x4c, 0x2a, 0xcf, 0x95, 0x07, 0xd3, 0x66, 0x5b, 0x12, 0xb6, 0x1c, 0xe3, 0x73, 0x58,
  1927. 0x2a, 0x11, 0x54, 0x39, 0xb8, 0x04, 0xd3, 0xaf, 0x70, 0xb8, 0x83, 0x5f, 0x11, 0x2b, 0xc4, 0xcc,
  1928. 0x0d, 0x84, 0xb4, 0x66, 0x4e, 0x29, 0xa2, 0xc9, 0x69, 0xc6, 0xb7, 0xa0, 0x67, 0x34, 0x04, 0xfd,
  1929. 0x01, 0xb6, 0x59, 0x1d, 0xe3, 0xa8, 0x07, 0x9d, 0x41, 0x48, 0xb0, 0xe7, 0x05, 0x36, 0x66, 0x44,
  1930. 0x64, 0xa1, 0x61, 0xa6, 0x49, 0xc6, 0x79, 0x58, 0x2e, 0x55, 0x2e, 0x1d, 0x34, 0xee, 0xe6, 0xbc,
  1931. 0x0f, 0xfa, 0x7d, 0xb7, 0x96, 0x69, 0xe3, 0x5c, 0xc1, 0x6b, 0x21, 0xa9, 0xf4, 0x7e, 0x9c, 0xdb,
  1932. 0xf5, 0x08, 0xf6, 0xa3, 0x41, 0x2d, 0xc5, 0x79, 0x8f, 0x63, 0xd1, 0x44, 0xf3, 0xa2, 0x2c, 0x8e,
  1933. 0xcd, 0xc0, 0xf3, 0x88, 0xcd, 0xdc, 0xc0, 0x8f, 0xd5, 0xae, 0x00, 0xd8, 0x09, 0x51, 0x95, 0x4a,
  1934. 0x8a, 0x62, 0xe8, 0xd0, 0x2d, 0x8a, 0x2a, 0xb5, 0xbf, 0x69, 0x70, 0xf6, 0x9e, 0x4a, 0x9a, 0x34,
  1935. 0x5c, 0xeb, 0x03, 0x64, 0x4d, 0x9e, 0xca, 0x9b, 0xcc, 0x7f, 0xa0, 0x46, 0xe1, 0x03, 0x71, 0x8e,
  1936. 0x90, 0x0c, 0x3c, 0xd7, 0xc6, 0x42, 0x45, 0x53, 0xa8, 0x48, 0x93, 0xd0, 0x0c, 0x34, 0x18, 0xf3,
  1937. 0xba, 0xe3, 0x62, 0x87, 0x2f, 0x8d, 0x2e, 0x2c, 0xe4, 0x7d, 0x55, 0x61, 0x7c, 0x08, 0x8b, 0x92,
  1938. 0xb2, 0x7d, 0xe4, 0xdb, 0xdb, 0xa2, 0x1b, 0x6a, 0x25, 0xfd, 0x6f, 0x0d, 0xba, 0x45, 0x41, 0x55,
  1939. 0xc5, 0xef, 0x9a, 0x81, 0x93, 0xc6, 0x87, 0x2e, 0x40, 0x87, 0x61, 0xd7, 0xb3, 0x82, 0xdd, 0x5d,
  1940. 0x4a, 0x58, 0x77, 0xa2, 0xa7, 0xad, 0x36, 0x4d, 0xe0, 0xa4, 0x27, 0x82, 0x82, 0xae, 0xc1, 0x8c,
  1941. 0x2d, 0x2b, 0xd9, 0x0a, 0xc9, 0x81, 0x4b, 0xb9, 0xe6, 0x96, 0x70, 0xec, 0x8c, 0x1d, 0x57, 0xb8,
  1942. 0x24, 0x23, 0x03, 0xa6, 0x5d, 0xe7, 0xd0, 0x12, 0x03, 0x44, 0xb4, 0x7f, 0x5b, 0x68, 0xeb, 0xb8,
  1943. 0xce, 0xe1, 0x17, 0xae, 0x47, 0xb6, 0xf9, 0x14, 0x78, 0x0e, 0xe7, 0x64, 0xf0, 0x5b, 0xbe, 0x1d,
  1944. 0x92, 0x3e, 0xf1, 0x19, 0xf6, 0x36, 0x83, 0xc1, 0x51, 0xad, 0x12, 0x58, 0x82, 0x36, 0x75, 0x7d,
  1945. 0x9b, 0x58, 0xbe, 0x1c, 0x43, 0x4d, 0xb3, 0x25, 0x7e, 0x3f, 0xa6, 0xc6, 0x7d, 0x38, 0x5f, 0xa1,
  1946. 0x57, 0x65, 0xf6, 0x22, 0x4c, 0x09, 0xc7, 0xec, 0xc0, 0x67, 0xc4, 0x67, 0x42, 0xf7, 0x94, 0xd9,
  1947. 0xe1, 0xb4, 0x4d, 0x49, 0x32, 0xfe, 0x0f, 0x48, 0xea, 0x78, 0x14, 0x44, 0x7e, 0xbd, 0xd6, 0x3c,
  1948. 0x0b, 0x73, 0x19, 0x11, 0x55, 0x1b, 0x77, 0x60, 0x5e, 0x92, 0x9f, 0xf9, 0xfd, 0xda, 0xba, 0x16,
  1949. 0xe1, 0x6c, 0x4e, 0x48, 0x69, 0xbb, 0x1d, 0x1b, 0xc9, 0x9e, 0x13, 0xc7, 0x2a, 0x5b, 0x88, 0x3d,
  1950. 0xc8, 0x1e, 0x15, 0xc6, 0xef, 0x1a, 0xcc, 0xc6, 0x63, 0xa4, 0x66, 0xd6, 0x4f, 0x58, 0x76, 0x8d,
  1951. 0xca, 0xb2, 0x6b, 0x0e, 0xcb, 0x6e, 0x15, 0x66, 0x68, 0x10, 0x85, 0x36, 0xb1, 0x1c, 0xcc, 0xb0,
  1952. 0xe5, 0x07, 0x0e, 0x51, 0x55, 0x79, 0x5a, 0xd2, 0x1f, 0x60, 0x86, 0x1f, 0x07, 0x0e, 0x31, 0x3e,
  1953. 0x8b, 0x3f, 0x4a, 0xe6, 0x6b, 0x5e, 0x83, 0x59, 0x0f, 0x53, 0x66, 0xe1, 0xc1, 0x80, 0xf8, 0x8e,
  1954. 0x85, 0x19, 0x2f, 0x09, 0x4d, 0x94, 0xc4, 0x69, 0xbe, 0x71, 0x4f, 0xd0, 0xef, 0xb1, 0xc7, 0xd4,
  1955. 0xf8, 0x59, 0x83, 0x33, 0x5c, 0x96, 0x97, 0x60, 0xad, 0x78, 0x67, 0xa0, 0x41, 0x0e, 0x99, 0x0a,
  1956. 0x94, 0x2f, 0xd1, 0x06, 0xcc, 0xa9, 0x5a, 0x77, 0x03, 0x7f, 0xd8, 0x06, 0x0d, 0x21, 0x88, 0x86,
  1957. 0x5b, 0x49, 0x27, 0x5c, 0x80, 0x0e, 0x65, 0xc1, 0x20, 0xee, 0xaa, 0xa6, 0xec, 0x2a, 0x4e, 0x92,
  1958. 0x5d, 0x65, 0x7c, 0x00, 0x33, 0x43, 0x9f, 0xea, 0x57, 0xe8, 0x5b, 0x2d, 0x1e, 0x3a, 0x4f, 0xb1,
  1959. 0xeb, 0x6d, 0x13, 0xdf, 0x21, 0xe1, 0x3b, 0x76, 0x0e, 0xba, 0x05, 0xf3, 0xae, 0xe3, 0x11, 0x8b,
  1960. 0xb9, 0x7d, 0x12, 0x44, 0xcc, 0xa2, 0xc4, 0x0e, 0x7c, 0x87, 0xc6, 0xd1, 0xf1, 0xbd, 0xa7, 0x72,
  1961. 0x6b, 0x5b, 0xee, 0x18, 0x3f, 0x25, 0x13, 0x2c, 0xed, 0xc5, 0xf0, 0x1c, 0xf6, 0x09, 0xe1, 0x0a,
  1962. 0xf7, 0x08, 0x76, 0x48, 0xa8, 0xc2, 0x98, 0x92, 0xc4, 0xaf, 0x04, 0x8d, 0xe7, 0x47, 0x31, 0xed,
  1963. 0x04, 0xce, 0x91, 0xf0, 0x68, 0xca, 0x04, 0x49, 0xba, 0x1f, 0x38, 0x47, 0x62, 0x94, 0x50, 0x4b,
  1964. 0x7c, 0x62, 0x7b, 0x2f, 0xf2, 0xf7, 0x85, 0x37, 0x6d, 0xb3, 0xe3, 0xd2, 0xaf, 0x31, 0x65, 0x9b,
  1965. 0x9c, 0x64, 0xfc, 0xa1, 0xc1, 0xd2, 0xd0, 0x0d, 0x93, 0xd8, 0xc4, 0x3d, 0xf8, 0x0f, 0xd2, 0xc1,
  1966. 0x25, 0x54, 0x2d, 0x67, 0x2e, 0x5d, 0xaa, 0xdc, 0x91, 0xdc, 0x53, 0x13, 0x5f, 0xec, 0x88, 0x03,
  1967. 0xbd, 0xc4, 0x71, 0xd5, 0xa2, 0x2f, 0xe3, 0x51, 0xf6, 0xd0, 0xde, 0xde, 0xc3, 0xa1, 0x43, 0xbf,
  1968. 0x24, 0x3e, 0x09, 0x31, 0x7b, 0x2f, 0xc7, 0xa4, 0xd1, 0x83, 0x95, 0x2a, 0xed, 0xca, 0xfe, 0x2f,
  1969. 0x49, 0x5e, 0x63, 0x96, 0xf7, 0x36, 0x2a, 0x96, 0x61, 0x92, 0x72, 0x8d, 0xe2, 0x6e, 0xdb, 0xe8,
  1970. 0x35, 0xb8, 0xb0, 0x20, 0x6c, 0x39, 0xf4, 0x04, 0x33, 0x21, 0xc9, 0x5f, 0xd6, 0x41, 0xe5, 0xff,
  1971. 0x5b, 0x0d, 0x96, 0xb3, 0xdb, 0xf5, 0xe7, 0x26, 0x5a, 0x83, 0x59, 0xba, 0x17, 0x44, 0x9e, 0x63,
  1972. 0x39, 0x42, 0xc8, 0x22, 0xf6, 0xa1, 0x08, 0xa4, 0x6d, 0x9e, 0x91, 0x1b, 0x52, 0xd9, 0x43, 0xfb,
  1973. 0xf0, 0xd8, 0x68, 0x8c, 0x95, 0xf8, 0xa0, 0xcb, 0x3b, 0xa1, 0xbc, 0x3c, 0xc8, 0xc7, 0x50, 0xfb,
  1974. 0xd0, 0x79, 0xa7, 0x2c, 0x8b, 0x3b, 0x5f, 0x99, 0x5d, 0xe5, 0xd6, 0x8b, 0xbc, 0xdb, 0x27, 0x38,
  1975. 0xc1, 0x8e, 0x37, 0x7c, 0x21, 0x5f, 0xd6, 0xf9, 0x63, 0xee, 0xc7, 0x78, 0xaa, 0x28, 0x06, 0x93,
  1976. 0x60, 0xa7, 0x76, 0x37, 0x2b, 0xb3, 0x22, 0x1b, 0xd3, 0x66, 0x4b, 0x59, 0xe5, 0xb0, 0x45, 0xcd,
  1977. 0x60, 0x79, 0x1f, 0x54, 0xbf, 0x32, 0x00, 0xa5, 0xa1, 0x00, 0xca, 0x46, 0xae, 0xec, 0xa5, 0x7d,
  1978. 0x35, 0xd6, 0x10, 0x34, 0x79, 0x55, 0xaa, 0x69, 0x26, 0xd6, 0xc6, 0x27, 0xb0, 0xcc, 0x79, 0xa4,
  1979. 0x90, 0xb8, 0xe1, 0xd4, 0xbf, 0x05, 0xfe, 0x79, 0x0a, 0xce, 0x95, 0x0b, 0xd7, 0xb9, 0x09, 0x7e,
  1980. 0x0a, 0x7a, 0x72, 0xd3, 0xe2, 0x83, 0x8a, 0x32, 0xdc, 0x1f, 0x24, 0xa3, 0x4a, 0x4e, 0xb4, 0x45,
  1981. 0x75, 0xed, 0x7a, 0x1a, 0xef, 0xc7, 0xf3, 0xaa, 0x70, 0x4d, 0x6b, 0x14, 0xae, 0x69, 0xdc, 0x80,
  1982. 0x83, 0x59, 0x95, 0x01, 0x79, 0x9e, 0x2d, 0x3a, 0x98, 0x55, 0x19, 0x48, 0x84, 0x85, 0x81, 0x71,
  1983. 0x69, 0x40, 0xf1, 0x0b, 0x03, 0xe7, 0x01, 0xd4, 0x61, 0x17, 0xf9, 0xf1, 0xb5, 0x73, 0x52, 0x1e,
  1984. 0x75, 0x91, 0x5f, 0x79, 0xe2, 0xb6, 0x2a, 0x4f, 0xdc, 0x6c, 0x4f, 0xb4, 0x0b, 0x63, 0xef, 0x05,
  1985. 0xc0, 0x03, 0x97, 0xee, 0xcb, 0x24, 0xf3, 0x23, 0xde, 0x71, 0x43, 0x85, 0x5b, 0xf8, 0x92, 0x53,
  1986. 0xb0, 0xe7, 0xa9, 0xd4, 0xf1, 0x25, 0xff, 0xe2, 0x11, 0x25, 0x8e, 0xca, 0x8e, 0x58, 0x73, 0xda,
  1987. 0x6e, 0x48, 0x88, 0x4a, 0x80, 0x58, 0x1b, 0xbf, 0x6a, 0x30, 0xf9, 0x88, 0xf4, 0x95, 0xe6, 0x15,
  1988. 0x80, 0x57, 0x41, 0x18, 0x44, 0xcc, 0xf5, 0x89, 0xbc, 0x91, 0x8c, 0x9b, 0x29, 0xca, 0xbf, 0xb7,
  1989. 0x23, 0x4a, 0x96, 0x78, 0xbb, 0x2a, 0x99, 0x62, 0xcd, 0x69, 0x7b, 0x04, 0x0f, 0x54, 0xfe, 0xc4,
  1990. 0x9a, 0x23, 0x72, 0xca, 0xb0, 0xbd, 0x2f, 0x92, 0xd5, 0x34, 0xe5, 0x8f, 0xdb, 0x7f, 0xcd, 0xc1,
  1991. 0x54, 0xfa, 0x0c, 0x42, 0x2f, 0xa1, 0x93, 0x7a, 0x4a, 0x40, 0x97, 0x8b, 0x2f, 0x06, 0xc5, 0xa7,
  1992. 0x09, 0xfd, 0x7f, 0x23, 0xb8, 0x54, 0x27, 0x8f, 0x21, 0x1f, 0x66, 0x0b, 0x50, 0x1d, 0xad, 0x15,
  1993. 0xa5, 0xab, 0x1e, 0x02, 0xf4, 0xeb, 0xb5, 0x78, 0x13, 0x7b, 0x0c, 0xe6, 0x4a, 0xb0, 0x37, 0xba,
  1994. 0x31, 0x42, 0x4b, 0x06, 0xff, 0xeb, 0x37, 0x6b, 0x72, 0x27, 0x56, 0x5f, 0x03, 0x2a, 0x02, 0x73,
  1995. 0x74, 0x7d, 0xa4, 0x9a, 0x21, 0xf0, 0xd7, 0x6f, 0xd4, 0x63, 0xae, 0x0c, 0x54, 0x42, 0xf6, 0x91,
  1996. 0x81, 0x66, 0x1e, 0x05, 0x46, 0x06, 0x9a, 0x7b, 0x07, 0x18, 0x43, 0xfb, 0x30, 0x93, 0x87, 0xf3,
  1997. 0xe8, 0x5a, 0xd5, 0x1b, 0x53, 0xe1, 0xb5, 0x40, 0x5f, 0xab, 0xc3, 0x9a, 0x18, 0x23, 0x70, 0x3a,
  1998. 0x0b, 0xb9, 0xd1, 0xd5, 0xa2, 0x7c, 0xe9, 0x03, 0x82, 0xbe, 0x3a, 0x9a, 0x31, 0x1d, 0x53, 0x1e,
  1999. 0x86, 0x97, 0xc5, 0x54, 0x81, 0xf1, 0xcb, 0x62, 0xaa, 0x42, 0xf5, 0xc6, 0x18, 0xfa, 0x3e, 0xc6,
  2000. 0x76, 0x39, 0x78, 0x8a, 0xd6, 0xab, 0xd4, 0x94, 0xe3, 0x63, 0x7d, 0xa3, 0x36, 0x7f, 0x6c, 0xfb,
  2001. 0x96, 0xc6, 0x7b, 0x3d, 0x85, 0x52, 0xcb, 0x7a, 0xbd, 0x88, 0x7b, 0xcb, 0x7a, 0xbd, 0x0c, 0xea,
  2002. 0x8e, 0xa1, 0x1d, 0x98, 0xce, 0xe0, 0x56, 0x74, 0xa5, 0x4a, 0x32, 0x7b, 0x97, 0xd0, 0xaf, 0x8e,
  2003. 0xe4, 0x4b, 0x6c, 0x58, 0xf1, 0xf4, 0x52, 0xe3, 0xaa, 0xd2, 0xb9, 0xec, 0xbc, 0xba, 0x32, 0x8a,
  2004. 0x2d, 0x31, 0xf0, 0x0d, 0xc0, 0x10, 0x66, 0xa2, 0x4b, 0x55, 0x72, 0xe9, 0x4f, 0x71, 0xf9, 0x78,
  2005. 0xa6, 0x44, 0xf5, 0x77, 0x30, 0x5f, 0x76, 0xd2, 0xa3, 0x92, 0x2e, 0x3c, 0xe6, 0x3a, 0xa1, 0xaf,
  2006. 0xd7, 0x65, 0x4f, 0x0c, 0x3f, 0x83, 0x76, 0x0c, 0x32, 0xd1, 0xc5, 0xa2, 0x74, 0x0e, 0x14, 0xeb,
  2007. 0xc6, 0x71, 0x2c, 0xa9, 0x6a, 0xea, 0xc7, 0x8d, 0x33, 0x44, 0x7f, 0xd5, 0x8d, 0x53, 0xc0, 0xa9,
  2008. 0xd5, 0x8d, 0x53, 0x04, 0x93, 0xc2, 0xdc, 0xeb, 0xf8, 0x01, 0x20, 0x0d, 0x96, 0x4a, 0x87, 0x6c,
  2009. 0x15, 0x16, 0x2c, 0x1d, 0xb2, 0xd5, 0xf8, 0x6b, 0x0c, 0xfd, 0x00, 0x0b, 0xe5, 0x18, 0x09, 0x55,
  2010. 0xb6, 0x5f, 0x05, 0x56, 0xd3, 0x6f, 0xd5, 0x17, 0xc8, 0x1c, 0x2b, 0x05, 0x78, 0x53, 0x1d, 0x71,
  2011. 0x09, 0x4a, 0xab, 0x8e, 0xb8, 0x14, 0x31, 0x89, 0x1a, 0x2d, 0x43, 0x2b, 0x65, 0x35, 0x7a, 0x0c,
  2012. 0xb4, 0xd2, 0xd7, 0xeb, 0xb2, 0x67, 0xce, 0xb3, 0x22, 0x1c, 0x41, 0x23, 0xfd, 0xcf, 0x8c, 0xaa,
  2013. 0x9b, 0x35, 0xb9, 0x13, 0xab, 0x6f, 0xe2, 0x71, 0x9c, 0xc3, 0x22, 0x68, 0x64, 0x00, 0xb9, 0x11,
  2014. 0xb6, 0x51, 0x9b, 0x3f, 0xb1, 0x3d, 0x88, 0x1f, 0xe0, 0x52, 0x30, 0x03, 0xad, 0x8d, 0xd0, 0x93,
  2015. 0xc2, 0x42, 0xfa, 0xf5, 0x5a, 0xbc, 0xc3, 0x0e, 0xda, 0x99, 0x10, 0xff, 0x3f, 0xdd, 0xf9, 0x27,
  2016. 0x00, 0x00, 0xff, 0xff, 0x67, 0x03, 0x26, 0xea, 0x96, 0x1a, 0x00, 0x00,
  2017. }