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.

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