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.

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