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.

2175 lines
86 KiB

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