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.

3271 lines
128 KiB

6 years ago
6 years ago
5 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
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
5 years ago
6 years ago
6 years ago
5 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
5 years ago
5 years ago
6 years ago
6 years ago
5 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
5 years ago
5 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. VolumeMarkReadonlyRequest
  36. VolumeMarkReadonlyResponse
  37. VolumeCopyRequest
  38. VolumeCopyResponse
  39. CopyFileRequest
  40. CopyFileResponse
  41. VolumeTailSenderRequest
  42. VolumeTailSenderResponse
  43. VolumeTailReceiverRequest
  44. VolumeTailReceiverResponse
  45. VolumeEcShardsGenerateRequest
  46. VolumeEcShardsGenerateResponse
  47. VolumeEcShardsRebuildRequest
  48. VolumeEcShardsRebuildResponse
  49. VolumeEcShardsCopyRequest
  50. VolumeEcShardsCopyResponse
  51. VolumeEcShardsDeleteRequest
  52. VolumeEcShardsDeleteResponse
  53. VolumeEcShardsMountRequest
  54. VolumeEcShardsMountResponse
  55. VolumeEcShardsUnmountRequest
  56. VolumeEcShardsUnmountResponse
  57. VolumeEcShardReadRequest
  58. VolumeEcShardReadResponse
  59. VolumeEcBlobDeleteRequest
  60. VolumeEcBlobDeleteResponse
  61. ReadVolumeFileStatusRequest
  62. ReadVolumeFileStatusResponse
  63. DiskStatus
  64. MemStatus
  65. RemoteFile
  66. VolumeTierInfo
  67. VolumeTierCopyDatToRemoteRequest
  68. VolumeTierCopyDatToRemoteResponse
  69. QueryRequest
  70. QueriedStripe
  71. */
  72. package volume_server_pb
  73. import proto "github.com/golang/protobuf/proto"
  74. import fmt "fmt"
  75. import math "math"
  76. import (
  77. context "golang.org/x/net/context"
  78. grpc "google.golang.org/grpc"
  79. )
  80. // Reference imports to suppress errors if they are not otherwise used.
  81. var _ = proto.Marshal
  82. var _ = fmt.Errorf
  83. var _ = math.Inf
  84. // This is a compile-time assertion to ensure that this generated file
  85. // is compatible with the proto package it is being compiled against.
  86. // A compilation error at this line likely means your copy of the
  87. // proto package needs to be updated.
  88. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  89. type BatchDeleteRequest struct {
  90. FileIds []string `protobuf:"bytes,1,rep,name=file_ids,json=fileIds" json:"file_ids,omitempty"`
  91. }
  92. func (m *BatchDeleteRequest) Reset() { *m = BatchDeleteRequest{} }
  93. func (m *BatchDeleteRequest) String() string { return proto.CompactTextString(m) }
  94. func (*BatchDeleteRequest) ProtoMessage() {}
  95. func (*BatchDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  96. func (m *BatchDeleteRequest) GetFileIds() []string {
  97. if m != nil {
  98. return m.FileIds
  99. }
  100. return nil
  101. }
  102. type BatchDeleteResponse struct {
  103. Results []*DeleteResult `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
  104. }
  105. func (m *BatchDeleteResponse) Reset() { *m = BatchDeleteResponse{} }
  106. func (m *BatchDeleteResponse) String() string { return proto.CompactTextString(m) }
  107. func (*BatchDeleteResponse) ProtoMessage() {}
  108. func (*BatchDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  109. func (m *BatchDeleteResponse) GetResults() []*DeleteResult {
  110. if m != nil {
  111. return m.Results
  112. }
  113. return nil
  114. }
  115. type DeleteResult struct {
  116. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
  117. Status int32 `protobuf:"varint,2,opt,name=status" json:"status,omitempty"`
  118. Error string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
  119. Size uint32 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
  120. Version uint32 `protobuf:"varint,5,opt,name=version" json:"version,omitempty"`
  121. }
  122. func (m *DeleteResult) Reset() { *m = DeleteResult{} }
  123. func (m *DeleteResult) String() string { return proto.CompactTextString(m) }
  124. func (*DeleteResult) ProtoMessage() {}
  125. func (*DeleteResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  126. func (m *DeleteResult) GetFileId() string {
  127. if m != nil {
  128. return m.FileId
  129. }
  130. return ""
  131. }
  132. func (m *DeleteResult) GetStatus() int32 {
  133. if m != nil {
  134. return m.Status
  135. }
  136. return 0
  137. }
  138. func (m *DeleteResult) GetError() string {
  139. if m != nil {
  140. return m.Error
  141. }
  142. return ""
  143. }
  144. func (m *DeleteResult) GetSize() uint32 {
  145. if m != nil {
  146. return m.Size
  147. }
  148. return 0
  149. }
  150. func (m *DeleteResult) GetVersion() uint32 {
  151. if m != nil {
  152. return m.Version
  153. }
  154. return 0
  155. }
  156. type Empty struct {
  157. }
  158. func (m *Empty) Reset() { *m = Empty{} }
  159. func (m *Empty) String() string { return proto.CompactTextString(m) }
  160. func (*Empty) ProtoMessage() {}
  161. func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  162. type VacuumVolumeCheckRequest struct {
  163. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  164. }
  165. func (m *VacuumVolumeCheckRequest) Reset() { *m = VacuumVolumeCheckRequest{} }
  166. func (m *VacuumVolumeCheckRequest) String() string { return proto.CompactTextString(m) }
  167. func (*VacuumVolumeCheckRequest) ProtoMessage() {}
  168. func (*VacuumVolumeCheckRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
  169. func (m *VacuumVolumeCheckRequest) GetVolumeId() uint32 {
  170. if m != nil {
  171. return m.VolumeId
  172. }
  173. return 0
  174. }
  175. type VacuumVolumeCheckResponse struct {
  176. GarbageRatio float64 `protobuf:"fixed64,1,opt,name=garbage_ratio,json=garbageRatio" json:"garbage_ratio,omitempty"`
  177. }
  178. func (m *VacuumVolumeCheckResponse) Reset() { *m = VacuumVolumeCheckResponse{} }
  179. func (m *VacuumVolumeCheckResponse) String() string { return proto.CompactTextString(m) }
  180. func (*VacuumVolumeCheckResponse) ProtoMessage() {}
  181. func (*VacuumVolumeCheckResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
  182. func (m *VacuumVolumeCheckResponse) GetGarbageRatio() float64 {
  183. if m != nil {
  184. return m.GarbageRatio
  185. }
  186. return 0
  187. }
  188. type VacuumVolumeCompactRequest struct {
  189. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  190. Preallocate int64 `protobuf:"varint,2,opt,name=preallocate" json:"preallocate,omitempty"`
  191. }
  192. func (m *VacuumVolumeCompactRequest) Reset() { *m = VacuumVolumeCompactRequest{} }
  193. func (m *VacuumVolumeCompactRequest) String() string { return proto.CompactTextString(m) }
  194. func (*VacuumVolumeCompactRequest) ProtoMessage() {}
  195. func (*VacuumVolumeCompactRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
  196. func (m *VacuumVolumeCompactRequest) GetVolumeId() uint32 {
  197. if m != nil {
  198. return m.VolumeId
  199. }
  200. return 0
  201. }
  202. func (m *VacuumVolumeCompactRequest) GetPreallocate() int64 {
  203. if m != nil {
  204. return m.Preallocate
  205. }
  206. return 0
  207. }
  208. type VacuumVolumeCompactResponse struct {
  209. }
  210. func (m *VacuumVolumeCompactResponse) Reset() { *m = VacuumVolumeCompactResponse{} }
  211. func (m *VacuumVolumeCompactResponse) String() string { return proto.CompactTextString(m) }
  212. func (*VacuumVolumeCompactResponse) ProtoMessage() {}
  213. func (*VacuumVolumeCompactResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
  214. type VacuumVolumeCommitRequest struct {
  215. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  216. }
  217. func (m *VacuumVolumeCommitRequest) Reset() { *m = VacuumVolumeCommitRequest{} }
  218. func (m *VacuumVolumeCommitRequest) String() string { return proto.CompactTextString(m) }
  219. func (*VacuumVolumeCommitRequest) ProtoMessage() {}
  220. func (*VacuumVolumeCommitRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
  221. func (m *VacuumVolumeCommitRequest) GetVolumeId() uint32 {
  222. if m != nil {
  223. return m.VolumeId
  224. }
  225. return 0
  226. }
  227. type VacuumVolumeCommitResponse struct {
  228. }
  229. func (m *VacuumVolumeCommitResponse) Reset() { *m = VacuumVolumeCommitResponse{} }
  230. func (m *VacuumVolumeCommitResponse) String() string { return proto.CompactTextString(m) }
  231. func (*VacuumVolumeCommitResponse) ProtoMessage() {}
  232. func (*VacuumVolumeCommitResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
  233. type VacuumVolumeCleanupRequest struct {
  234. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  235. }
  236. func (m *VacuumVolumeCleanupRequest) Reset() { *m = VacuumVolumeCleanupRequest{} }
  237. func (m *VacuumVolumeCleanupRequest) String() string { return proto.CompactTextString(m) }
  238. func (*VacuumVolumeCleanupRequest) ProtoMessage() {}
  239. func (*VacuumVolumeCleanupRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
  240. func (m *VacuumVolumeCleanupRequest) GetVolumeId() uint32 {
  241. if m != nil {
  242. return m.VolumeId
  243. }
  244. return 0
  245. }
  246. type VacuumVolumeCleanupResponse struct {
  247. }
  248. func (m *VacuumVolumeCleanupResponse) Reset() { *m = VacuumVolumeCleanupResponse{} }
  249. func (m *VacuumVolumeCleanupResponse) String() string { return proto.CompactTextString(m) }
  250. func (*VacuumVolumeCleanupResponse) ProtoMessage() {}
  251. func (*VacuumVolumeCleanupResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
  252. type DeleteCollectionRequest struct {
  253. Collection string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
  254. }
  255. func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} }
  256. func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) }
  257. func (*DeleteCollectionRequest) ProtoMessage() {}
  258. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
  259. func (m *DeleteCollectionRequest) GetCollection() string {
  260. if m != nil {
  261. return m.Collection
  262. }
  263. return ""
  264. }
  265. type DeleteCollectionResponse struct {
  266. }
  267. func (m *DeleteCollectionResponse) Reset() { *m = DeleteCollectionResponse{} }
  268. func (m *DeleteCollectionResponse) String() string { return proto.CompactTextString(m) }
  269. func (*DeleteCollectionResponse) ProtoMessage() {}
  270. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
  271. type AllocateVolumeRequest struct {
  272. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  273. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  274. Preallocate int64 `protobuf:"varint,3,opt,name=preallocate" json:"preallocate,omitempty"`
  275. Replication string `protobuf:"bytes,4,opt,name=replication" json:"replication,omitempty"`
  276. Ttl string `protobuf:"bytes,5,opt,name=ttl" json:"ttl,omitempty"`
  277. MemoryMapMaxSizeMb uint32 `protobuf:"varint,6,opt,name=memory_map_max_size_mb,json=memoryMapMaxSizeMb" json:"memory_map_max_size_mb,omitempty"`
  278. }
  279. func (m *AllocateVolumeRequest) Reset() { *m = AllocateVolumeRequest{} }
  280. func (m *AllocateVolumeRequest) String() string { return proto.CompactTextString(m) }
  281. func (*AllocateVolumeRequest) ProtoMessage() {}
  282. func (*AllocateVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  283. func (m *AllocateVolumeRequest) GetVolumeId() uint32 {
  284. if m != nil {
  285. return m.VolumeId
  286. }
  287. return 0
  288. }
  289. func (m *AllocateVolumeRequest) GetCollection() string {
  290. if m != nil {
  291. return m.Collection
  292. }
  293. return ""
  294. }
  295. func (m *AllocateVolumeRequest) GetPreallocate() int64 {
  296. if m != nil {
  297. return m.Preallocate
  298. }
  299. return 0
  300. }
  301. func (m *AllocateVolumeRequest) GetReplication() string {
  302. if m != nil {
  303. return m.Replication
  304. }
  305. return ""
  306. }
  307. func (m *AllocateVolumeRequest) GetTtl() string {
  308. if m != nil {
  309. return m.Ttl
  310. }
  311. return ""
  312. }
  313. func (m *AllocateVolumeRequest) GetMemoryMapMaxSizeMb() uint32 {
  314. if m != nil {
  315. return m.MemoryMapMaxSizeMb
  316. }
  317. return 0
  318. }
  319. type AllocateVolumeResponse struct {
  320. }
  321. func (m *AllocateVolumeResponse) Reset() { *m = AllocateVolumeResponse{} }
  322. func (m *AllocateVolumeResponse) String() string { return proto.CompactTextString(m) }
  323. func (*AllocateVolumeResponse) ProtoMessage() {}
  324. func (*AllocateVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  325. type VolumeSyncStatusRequest struct {
  326. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  327. }
  328. func (m *VolumeSyncStatusRequest) Reset() { *m = VolumeSyncStatusRequest{} }
  329. func (m *VolumeSyncStatusRequest) String() string { return proto.CompactTextString(m) }
  330. func (*VolumeSyncStatusRequest) ProtoMessage() {}
  331. func (*VolumeSyncStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  332. func (m *VolumeSyncStatusRequest) GetVolumeId() uint32 {
  333. if m != nil {
  334. return m.VolumeId
  335. }
  336. return 0
  337. }
  338. type VolumeSyncStatusResponse struct {
  339. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  340. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  341. Replication string `protobuf:"bytes,4,opt,name=replication" json:"replication,omitempty"`
  342. Ttl string `protobuf:"bytes,5,opt,name=ttl" json:"ttl,omitempty"`
  343. TailOffset uint64 `protobuf:"varint,6,opt,name=tail_offset,json=tailOffset" json:"tail_offset,omitempty"`
  344. CompactRevision uint32 `protobuf:"varint,7,opt,name=compact_revision,json=compactRevision" json:"compact_revision,omitempty"`
  345. IdxFileSize uint64 `protobuf:"varint,8,opt,name=idx_file_size,json=idxFileSize" json:"idx_file_size,omitempty"`
  346. }
  347. func (m *VolumeSyncStatusResponse) Reset() { *m = VolumeSyncStatusResponse{} }
  348. func (m *VolumeSyncStatusResponse) String() string { return proto.CompactTextString(m) }
  349. func (*VolumeSyncStatusResponse) ProtoMessage() {}
  350. func (*VolumeSyncStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  351. func (m *VolumeSyncStatusResponse) GetVolumeId() uint32 {
  352. if m != nil {
  353. return m.VolumeId
  354. }
  355. return 0
  356. }
  357. func (m *VolumeSyncStatusResponse) GetCollection() string {
  358. if m != nil {
  359. return m.Collection
  360. }
  361. return ""
  362. }
  363. func (m *VolumeSyncStatusResponse) GetReplication() string {
  364. if m != nil {
  365. return m.Replication
  366. }
  367. return ""
  368. }
  369. func (m *VolumeSyncStatusResponse) GetTtl() string {
  370. if m != nil {
  371. return m.Ttl
  372. }
  373. return ""
  374. }
  375. func (m *VolumeSyncStatusResponse) GetTailOffset() uint64 {
  376. if m != nil {
  377. return m.TailOffset
  378. }
  379. return 0
  380. }
  381. func (m *VolumeSyncStatusResponse) GetCompactRevision() uint32 {
  382. if m != nil {
  383. return m.CompactRevision
  384. }
  385. return 0
  386. }
  387. func (m *VolumeSyncStatusResponse) GetIdxFileSize() uint64 {
  388. if m != nil {
  389. return m.IdxFileSize
  390. }
  391. return 0
  392. }
  393. type VolumeIncrementalCopyRequest struct {
  394. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  395. SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs" json:"since_ns,omitempty"`
  396. }
  397. func (m *VolumeIncrementalCopyRequest) Reset() { *m = VolumeIncrementalCopyRequest{} }
  398. func (m *VolumeIncrementalCopyRequest) String() string { return proto.CompactTextString(m) }
  399. func (*VolumeIncrementalCopyRequest) ProtoMessage() {}
  400. func (*VolumeIncrementalCopyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  401. func (m *VolumeIncrementalCopyRequest) GetVolumeId() uint32 {
  402. if m != nil {
  403. return m.VolumeId
  404. }
  405. return 0
  406. }
  407. func (m *VolumeIncrementalCopyRequest) GetSinceNs() uint64 {
  408. if m != nil {
  409. return m.SinceNs
  410. }
  411. return 0
  412. }
  413. type VolumeIncrementalCopyResponse struct {
  414. FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
  415. }
  416. func (m *VolumeIncrementalCopyResponse) Reset() { *m = VolumeIncrementalCopyResponse{} }
  417. func (m *VolumeIncrementalCopyResponse) String() string { return proto.CompactTextString(m) }
  418. func (*VolumeIncrementalCopyResponse) ProtoMessage() {}
  419. func (*VolumeIncrementalCopyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  420. func (m *VolumeIncrementalCopyResponse) GetFileContent() []byte {
  421. if m != nil {
  422. return m.FileContent
  423. }
  424. return nil
  425. }
  426. type VolumeMountRequest struct {
  427. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  428. }
  429. func (m *VolumeMountRequest) Reset() { *m = VolumeMountRequest{} }
  430. func (m *VolumeMountRequest) String() string { return proto.CompactTextString(m) }
  431. func (*VolumeMountRequest) ProtoMessage() {}
  432. func (*VolumeMountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  433. func (m *VolumeMountRequest) GetVolumeId() uint32 {
  434. if m != nil {
  435. return m.VolumeId
  436. }
  437. return 0
  438. }
  439. type VolumeMountResponse struct {
  440. }
  441. func (m *VolumeMountResponse) Reset() { *m = VolumeMountResponse{} }
  442. func (m *VolumeMountResponse) String() string { return proto.CompactTextString(m) }
  443. func (*VolumeMountResponse) ProtoMessage() {}
  444. func (*VolumeMountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  445. type VolumeUnmountRequest struct {
  446. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  447. }
  448. func (m *VolumeUnmountRequest) Reset() { *m = VolumeUnmountRequest{} }
  449. func (m *VolumeUnmountRequest) String() string { return proto.CompactTextString(m) }
  450. func (*VolumeUnmountRequest) ProtoMessage() {}
  451. func (*VolumeUnmountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  452. func (m *VolumeUnmountRequest) GetVolumeId() uint32 {
  453. if m != nil {
  454. return m.VolumeId
  455. }
  456. return 0
  457. }
  458. type VolumeUnmountResponse struct {
  459. }
  460. func (m *VolumeUnmountResponse) Reset() { *m = VolumeUnmountResponse{} }
  461. func (m *VolumeUnmountResponse) String() string { return proto.CompactTextString(m) }
  462. func (*VolumeUnmountResponse) ProtoMessage() {}
  463. func (*VolumeUnmountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  464. type VolumeDeleteRequest struct {
  465. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  466. }
  467. func (m *VolumeDeleteRequest) Reset() { *m = VolumeDeleteRequest{} }
  468. func (m *VolumeDeleteRequest) String() string { return proto.CompactTextString(m) }
  469. func (*VolumeDeleteRequest) ProtoMessage() {}
  470. func (*VolumeDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
  471. func (m *VolumeDeleteRequest) GetVolumeId() uint32 {
  472. if m != nil {
  473. return m.VolumeId
  474. }
  475. return 0
  476. }
  477. type VolumeDeleteResponse struct {
  478. }
  479. func (m *VolumeDeleteResponse) Reset() { *m = VolumeDeleteResponse{} }
  480. func (m *VolumeDeleteResponse) String() string { return proto.CompactTextString(m) }
  481. func (*VolumeDeleteResponse) ProtoMessage() {}
  482. func (*VolumeDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
  483. type VolumeMarkReadonlyRequest struct {
  484. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  485. }
  486. func (m *VolumeMarkReadonlyRequest) Reset() { *m = VolumeMarkReadonlyRequest{} }
  487. func (m *VolumeMarkReadonlyRequest) String() string { return proto.CompactTextString(m) }
  488. func (*VolumeMarkReadonlyRequest) ProtoMessage() {}
  489. func (*VolumeMarkReadonlyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
  490. func (m *VolumeMarkReadonlyRequest) GetVolumeId() uint32 {
  491. if m != nil {
  492. return m.VolumeId
  493. }
  494. return 0
  495. }
  496. type VolumeMarkReadonlyResponse struct {
  497. }
  498. func (m *VolumeMarkReadonlyResponse) Reset() { *m = VolumeMarkReadonlyResponse{} }
  499. func (m *VolumeMarkReadonlyResponse) String() string { return proto.CompactTextString(m) }
  500. func (*VolumeMarkReadonlyResponse) ProtoMessage() {}
  501. func (*VolumeMarkReadonlyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
  502. type VolumeCopyRequest struct {
  503. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  504. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  505. Replication string `protobuf:"bytes,3,opt,name=replication" json:"replication,omitempty"`
  506. Ttl string `protobuf:"bytes,4,opt,name=ttl" json:"ttl,omitempty"`
  507. SourceDataNode string `protobuf:"bytes,5,opt,name=source_data_node,json=sourceDataNode" json:"source_data_node,omitempty"`
  508. }
  509. func (m *VolumeCopyRequest) Reset() { *m = VolumeCopyRequest{} }
  510. func (m *VolumeCopyRequest) String() string { return proto.CompactTextString(m) }
  511. func (*VolumeCopyRequest) ProtoMessage() {}
  512. func (*VolumeCopyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
  513. func (m *VolumeCopyRequest) GetVolumeId() uint32 {
  514. if m != nil {
  515. return m.VolumeId
  516. }
  517. return 0
  518. }
  519. func (m *VolumeCopyRequest) GetCollection() string {
  520. if m != nil {
  521. return m.Collection
  522. }
  523. return ""
  524. }
  525. func (m *VolumeCopyRequest) GetReplication() string {
  526. if m != nil {
  527. return m.Replication
  528. }
  529. return ""
  530. }
  531. func (m *VolumeCopyRequest) GetTtl() string {
  532. if m != nil {
  533. return m.Ttl
  534. }
  535. return ""
  536. }
  537. func (m *VolumeCopyRequest) GetSourceDataNode() string {
  538. if m != nil {
  539. return m.SourceDataNode
  540. }
  541. return ""
  542. }
  543. type VolumeCopyResponse struct {
  544. LastAppendAtNs uint64 `protobuf:"varint,1,opt,name=last_append_at_ns,json=lastAppendAtNs" json:"last_append_at_ns,omitempty"`
  545. }
  546. func (m *VolumeCopyResponse) Reset() { *m = VolumeCopyResponse{} }
  547. func (m *VolumeCopyResponse) String() string { return proto.CompactTextString(m) }
  548. func (*VolumeCopyResponse) ProtoMessage() {}
  549. func (*VolumeCopyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
  550. func (m *VolumeCopyResponse) GetLastAppendAtNs() uint64 {
  551. if m != nil {
  552. return m.LastAppendAtNs
  553. }
  554. return 0
  555. }
  556. type CopyFileRequest struct {
  557. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  558. Ext string `protobuf:"bytes,2,opt,name=ext" json:"ext,omitempty"`
  559. CompactionRevision uint32 `protobuf:"varint,3,opt,name=compaction_revision,json=compactionRevision" json:"compaction_revision,omitempty"`
  560. StopOffset uint64 `protobuf:"varint,4,opt,name=stop_offset,json=stopOffset" json:"stop_offset,omitempty"`
  561. Collection string `protobuf:"bytes,5,opt,name=collection" json:"collection,omitempty"`
  562. IsEcVolume bool `protobuf:"varint,6,opt,name=is_ec_volume,json=isEcVolume" json:"is_ec_volume,omitempty"`
  563. }
  564. func (m *CopyFileRequest) Reset() { *m = CopyFileRequest{} }
  565. func (m *CopyFileRequest) String() string { return proto.CompactTextString(m) }
  566. func (*CopyFileRequest) ProtoMessage() {}
  567. func (*CopyFileRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
  568. func (m *CopyFileRequest) GetVolumeId() uint32 {
  569. if m != nil {
  570. return m.VolumeId
  571. }
  572. return 0
  573. }
  574. func (m *CopyFileRequest) GetExt() string {
  575. if m != nil {
  576. return m.Ext
  577. }
  578. return ""
  579. }
  580. func (m *CopyFileRequest) GetCompactionRevision() uint32 {
  581. if m != nil {
  582. return m.CompactionRevision
  583. }
  584. return 0
  585. }
  586. func (m *CopyFileRequest) GetStopOffset() uint64 {
  587. if m != nil {
  588. return m.StopOffset
  589. }
  590. return 0
  591. }
  592. func (m *CopyFileRequest) GetCollection() string {
  593. if m != nil {
  594. return m.Collection
  595. }
  596. return ""
  597. }
  598. func (m *CopyFileRequest) GetIsEcVolume() bool {
  599. if m != nil {
  600. return m.IsEcVolume
  601. }
  602. return false
  603. }
  604. type CopyFileResponse struct {
  605. FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
  606. }
  607. func (m *CopyFileResponse) Reset() { *m = CopyFileResponse{} }
  608. func (m *CopyFileResponse) String() string { return proto.CompactTextString(m) }
  609. func (*CopyFileResponse) ProtoMessage() {}
  610. func (*CopyFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
  611. func (m *CopyFileResponse) GetFileContent() []byte {
  612. if m != nil {
  613. return m.FileContent
  614. }
  615. return nil
  616. }
  617. type VolumeTailSenderRequest struct {
  618. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  619. SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs" json:"since_ns,omitempty"`
  620. IdleTimeoutSeconds uint32 `protobuf:"varint,3,opt,name=idle_timeout_seconds,json=idleTimeoutSeconds" json:"idle_timeout_seconds,omitempty"`
  621. }
  622. func (m *VolumeTailSenderRequest) Reset() { *m = VolumeTailSenderRequest{} }
  623. func (m *VolumeTailSenderRequest) String() string { return proto.CompactTextString(m) }
  624. func (*VolumeTailSenderRequest) ProtoMessage() {}
  625. func (*VolumeTailSenderRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
  626. func (m *VolumeTailSenderRequest) GetVolumeId() uint32 {
  627. if m != nil {
  628. return m.VolumeId
  629. }
  630. return 0
  631. }
  632. func (m *VolumeTailSenderRequest) GetSinceNs() uint64 {
  633. if m != nil {
  634. return m.SinceNs
  635. }
  636. return 0
  637. }
  638. func (m *VolumeTailSenderRequest) GetIdleTimeoutSeconds() uint32 {
  639. if m != nil {
  640. return m.IdleTimeoutSeconds
  641. }
  642. return 0
  643. }
  644. type VolumeTailSenderResponse struct {
  645. NeedleHeader []byte `protobuf:"bytes,1,opt,name=needle_header,json=needleHeader,proto3" json:"needle_header,omitempty"`
  646. NeedleBody []byte `protobuf:"bytes,2,opt,name=needle_body,json=needleBody,proto3" json:"needle_body,omitempty"`
  647. IsLastChunk bool `protobuf:"varint,3,opt,name=is_last_chunk,json=isLastChunk" json:"is_last_chunk,omitempty"`
  648. }
  649. func (m *VolumeTailSenderResponse) Reset() { *m = VolumeTailSenderResponse{} }
  650. func (m *VolumeTailSenderResponse) String() string { return proto.CompactTextString(m) }
  651. func (*VolumeTailSenderResponse) ProtoMessage() {}
  652. func (*VolumeTailSenderResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} }
  653. func (m *VolumeTailSenderResponse) GetNeedleHeader() []byte {
  654. if m != nil {
  655. return m.NeedleHeader
  656. }
  657. return nil
  658. }
  659. func (m *VolumeTailSenderResponse) GetNeedleBody() []byte {
  660. if m != nil {
  661. return m.NeedleBody
  662. }
  663. return nil
  664. }
  665. func (m *VolumeTailSenderResponse) GetIsLastChunk() bool {
  666. if m != nil {
  667. return m.IsLastChunk
  668. }
  669. return false
  670. }
  671. type VolumeTailReceiverRequest struct {
  672. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  673. SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs" json:"since_ns,omitempty"`
  674. IdleTimeoutSeconds uint32 `protobuf:"varint,3,opt,name=idle_timeout_seconds,json=idleTimeoutSeconds" json:"idle_timeout_seconds,omitempty"`
  675. SourceVolumeServer string `protobuf:"bytes,4,opt,name=source_volume_server,json=sourceVolumeServer" json:"source_volume_server,omitempty"`
  676. }
  677. func (m *VolumeTailReceiverRequest) Reset() { *m = VolumeTailReceiverRequest{} }
  678. func (m *VolumeTailReceiverRequest) String() string { return proto.CompactTextString(m) }
  679. func (*VolumeTailReceiverRequest) ProtoMessage() {}
  680. func (*VolumeTailReceiverRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{34} }
  681. func (m *VolumeTailReceiverRequest) GetVolumeId() uint32 {
  682. if m != nil {
  683. return m.VolumeId
  684. }
  685. return 0
  686. }
  687. func (m *VolumeTailReceiverRequest) GetSinceNs() uint64 {
  688. if m != nil {
  689. return m.SinceNs
  690. }
  691. return 0
  692. }
  693. func (m *VolumeTailReceiverRequest) GetIdleTimeoutSeconds() uint32 {
  694. if m != nil {
  695. return m.IdleTimeoutSeconds
  696. }
  697. return 0
  698. }
  699. func (m *VolumeTailReceiverRequest) GetSourceVolumeServer() string {
  700. if m != nil {
  701. return m.SourceVolumeServer
  702. }
  703. return ""
  704. }
  705. type VolumeTailReceiverResponse struct {
  706. }
  707. func (m *VolumeTailReceiverResponse) Reset() { *m = VolumeTailReceiverResponse{} }
  708. func (m *VolumeTailReceiverResponse) String() string { return proto.CompactTextString(m) }
  709. func (*VolumeTailReceiverResponse) ProtoMessage() {}
  710. func (*VolumeTailReceiverResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{35} }
  711. type VolumeEcShardsGenerateRequest struct {
  712. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  713. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  714. }
  715. func (m *VolumeEcShardsGenerateRequest) Reset() { *m = VolumeEcShardsGenerateRequest{} }
  716. func (m *VolumeEcShardsGenerateRequest) String() string { return proto.CompactTextString(m) }
  717. func (*VolumeEcShardsGenerateRequest) ProtoMessage() {}
  718. func (*VolumeEcShardsGenerateRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
  719. func (m *VolumeEcShardsGenerateRequest) GetVolumeId() uint32 {
  720. if m != nil {
  721. return m.VolumeId
  722. }
  723. return 0
  724. }
  725. func (m *VolumeEcShardsGenerateRequest) GetCollection() string {
  726. if m != nil {
  727. return m.Collection
  728. }
  729. return ""
  730. }
  731. type VolumeEcShardsGenerateResponse struct {
  732. }
  733. func (m *VolumeEcShardsGenerateResponse) Reset() { *m = VolumeEcShardsGenerateResponse{} }
  734. func (m *VolumeEcShardsGenerateResponse) String() string { return proto.CompactTextString(m) }
  735. func (*VolumeEcShardsGenerateResponse) ProtoMessage() {}
  736. func (*VolumeEcShardsGenerateResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{37} }
  737. type VolumeEcShardsRebuildRequest struct {
  738. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  739. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  740. }
  741. func (m *VolumeEcShardsRebuildRequest) Reset() { *m = VolumeEcShardsRebuildRequest{} }
  742. func (m *VolumeEcShardsRebuildRequest) String() string { return proto.CompactTextString(m) }
  743. func (*VolumeEcShardsRebuildRequest) ProtoMessage() {}
  744. func (*VolumeEcShardsRebuildRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{38} }
  745. func (m *VolumeEcShardsRebuildRequest) GetVolumeId() uint32 {
  746. if m != nil {
  747. return m.VolumeId
  748. }
  749. return 0
  750. }
  751. func (m *VolumeEcShardsRebuildRequest) GetCollection() string {
  752. if m != nil {
  753. return m.Collection
  754. }
  755. return ""
  756. }
  757. type VolumeEcShardsRebuildResponse struct {
  758. RebuiltShardIds []uint32 `protobuf:"varint,1,rep,packed,name=rebuilt_shard_ids,json=rebuiltShardIds" json:"rebuilt_shard_ids,omitempty"`
  759. }
  760. func (m *VolumeEcShardsRebuildResponse) Reset() { *m = VolumeEcShardsRebuildResponse{} }
  761. func (m *VolumeEcShardsRebuildResponse) String() string { return proto.CompactTextString(m) }
  762. func (*VolumeEcShardsRebuildResponse) ProtoMessage() {}
  763. func (*VolumeEcShardsRebuildResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{39} }
  764. func (m *VolumeEcShardsRebuildResponse) GetRebuiltShardIds() []uint32 {
  765. if m != nil {
  766. return m.RebuiltShardIds
  767. }
  768. return nil
  769. }
  770. type VolumeEcShardsCopyRequest struct {
  771. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  772. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  773. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  774. CopyEcxFile bool `protobuf:"varint,4,opt,name=copy_ecx_file,json=copyEcxFile" json:"copy_ecx_file,omitempty"`
  775. SourceDataNode string `protobuf:"bytes,5,opt,name=source_data_node,json=sourceDataNode" json:"source_data_node,omitempty"`
  776. }
  777. func (m *VolumeEcShardsCopyRequest) Reset() { *m = VolumeEcShardsCopyRequest{} }
  778. func (m *VolumeEcShardsCopyRequest) String() string { return proto.CompactTextString(m) }
  779. func (*VolumeEcShardsCopyRequest) ProtoMessage() {}
  780. func (*VolumeEcShardsCopyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} }
  781. func (m *VolumeEcShardsCopyRequest) GetVolumeId() uint32 {
  782. if m != nil {
  783. return m.VolumeId
  784. }
  785. return 0
  786. }
  787. func (m *VolumeEcShardsCopyRequest) GetCollection() string {
  788. if m != nil {
  789. return m.Collection
  790. }
  791. return ""
  792. }
  793. func (m *VolumeEcShardsCopyRequest) GetShardIds() []uint32 {
  794. if m != nil {
  795. return m.ShardIds
  796. }
  797. return nil
  798. }
  799. func (m *VolumeEcShardsCopyRequest) GetCopyEcxFile() bool {
  800. if m != nil {
  801. return m.CopyEcxFile
  802. }
  803. return false
  804. }
  805. func (m *VolumeEcShardsCopyRequest) GetSourceDataNode() string {
  806. if m != nil {
  807. return m.SourceDataNode
  808. }
  809. return ""
  810. }
  811. type VolumeEcShardsCopyResponse struct {
  812. }
  813. func (m *VolumeEcShardsCopyResponse) Reset() { *m = VolumeEcShardsCopyResponse{} }
  814. func (m *VolumeEcShardsCopyResponse) String() string { return proto.CompactTextString(m) }
  815. func (*VolumeEcShardsCopyResponse) ProtoMessage() {}
  816. func (*VolumeEcShardsCopyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} }
  817. type VolumeEcShardsDeleteRequest struct {
  818. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  819. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  820. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  821. }
  822. func (m *VolumeEcShardsDeleteRequest) Reset() { *m = VolumeEcShardsDeleteRequest{} }
  823. func (m *VolumeEcShardsDeleteRequest) String() string { return proto.CompactTextString(m) }
  824. func (*VolumeEcShardsDeleteRequest) ProtoMessage() {}
  825. func (*VolumeEcShardsDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{42} }
  826. func (m *VolumeEcShardsDeleteRequest) GetVolumeId() uint32 {
  827. if m != nil {
  828. return m.VolumeId
  829. }
  830. return 0
  831. }
  832. func (m *VolumeEcShardsDeleteRequest) GetCollection() string {
  833. if m != nil {
  834. return m.Collection
  835. }
  836. return ""
  837. }
  838. func (m *VolumeEcShardsDeleteRequest) GetShardIds() []uint32 {
  839. if m != nil {
  840. return m.ShardIds
  841. }
  842. return nil
  843. }
  844. type VolumeEcShardsDeleteResponse struct {
  845. }
  846. func (m *VolumeEcShardsDeleteResponse) Reset() { *m = VolumeEcShardsDeleteResponse{} }
  847. func (m *VolumeEcShardsDeleteResponse) String() string { return proto.CompactTextString(m) }
  848. func (*VolumeEcShardsDeleteResponse) ProtoMessage() {}
  849. func (*VolumeEcShardsDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{43} }
  850. type VolumeEcShardsMountRequest struct {
  851. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  852. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  853. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  854. }
  855. func (m *VolumeEcShardsMountRequest) Reset() { *m = VolumeEcShardsMountRequest{} }
  856. func (m *VolumeEcShardsMountRequest) String() string { return proto.CompactTextString(m) }
  857. func (*VolumeEcShardsMountRequest) ProtoMessage() {}
  858. func (*VolumeEcShardsMountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{44} }
  859. func (m *VolumeEcShardsMountRequest) GetVolumeId() uint32 {
  860. if m != nil {
  861. return m.VolumeId
  862. }
  863. return 0
  864. }
  865. func (m *VolumeEcShardsMountRequest) GetCollection() string {
  866. if m != nil {
  867. return m.Collection
  868. }
  869. return ""
  870. }
  871. func (m *VolumeEcShardsMountRequest) GetShardIds() []uint32 {
  872. if m != nil {
  873. return m.ShardIds
  874. }
  875. return nil
  876. }
  877. type VolumeEcShardsMountResponse struct {
  878. }
  879. func (m *VolumeEcShardsMountResponse) Reset() { *m = VolumeEcShardsMountResponse{} }
  880. func (m *VolumeEcShardsMountResponse) String() string { return proto.CompactTextString(m) }
  881. func (*VolumeEcShardsMountResponse) ProtoMessage() {}
  882. func (*VolumeEcShardsMountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{45} }
  883. type VolumeEcShardsUnmountRequest struct {
  884. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  885. ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds" json:"shard_ids,omitempty"`
  886. }
  887. func (m *VolumeEcShardsUnmountRequest) Reset() { *m = VolumeEcShardsUnmountRequest{} }
  888. func (m *VolumeEcShardsUnmountRequest) String() string { return proto.CompactTextString(m) }
  889. func (*VolumeEcShardsUnmountRequest) ProtoMessage() {}
  890. func (*VolumeEcShardsUnmountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{46} }
  891. func (m *VolumeEcShardsUnmountRequest) GetVolumeId() uint32 {
  892. if m != nil {
  893. return m.VolumeId
  894. }
  895. return 0
  896. }
  897. func (m *VolumeEcShardsUnmountRequest) GetShardIds() []uint32 {
  898. if m != nil {
  899. return m.ShardIds
  900. }
  901. return nil
  902. }
  903. type VolumeEcShardsUnmountResponse struct {
  904. }
  905. func (m *VolumeEcShardsUnmountResponse) Reset() { *m = VolumeEcShardsUnmountResponse{} }
  906. func (m *VolumeEcShardsUnmountResponse) String() string { return proto.CompactTextString(m) }
  907. func (*VolumeEcShardsUnmountResponse) ProtoMessage() {}
  908. func (*VolumeEcShardsUnmountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{47} }
  909. type VolumeEcShardReadRequest struct {
  910. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  911. ShardId uint32 `protobuf:"varint,2,opt,name=shard_id,json=shardId" json:"shard_id,omitempty"`
  912. Offset int64 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
  913. Size int64 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
  914. FileKey uint64 `protobuf:"varint,5,opt,name=file_key,json=fileKey" json:"file_key,omitempty"`
  915. }
  916. func (m *VolumeEcShardReadRequest) Reset() { *m = VolumeEcShardReadRequest{} }
  917. func (m *VolumeEcShardReadRequest) String() string { return proto.CompactTextString(m) }
  918. func (*VolumeEcShardReadRequest) ProtoMessage() {}
  919. func (*VolumeEcShardReadRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{48} }
  920. func (m *VolumeEcShardReadRequest) GetVolumeId() uint32 {
  921. if m != nil {
  922. return m.VolumeId
  923. }
  924. return 0
  925. }
  926. func (m *VolumeEcShardReadRequest) GetShardId() uint32 {
  927. if m != nil {
  928. return m.ShardId
  929. }
  930. return 0
  931. }
  932. func (m *VolumeEcShardReadRequest) GetOffset() int64 {
  933. if m != nil {
  934. return m.Offset
  935. }
  936. return 0
  937. }
  938. func (m *VolumeEcShardReadRequest) GetSize() int64 {
  939. if m != nil {
  940. return m.Size
  941. }
  942. return 0
  943. }
  944. func (m *VolumeEcShardReadRequest) GetFileKey() uint64 {
  945. if m != nil {
  946. return m.FileKey
  947. }
  948. return 0
  949. }
  950. type VolumeEcShardReadResponse struct {
  951. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  952. IsDeleted bool `protobuf:"varint,2,opt,name=is_deleted,json=isDeleted" json:"is_deleted,omitempty"`
  953. }
  954. func (m *VolumeEcShardReadResponse) Reset() { *m = VolumeEcShardReadResponse{} }
  955. func (m *VolumeEcShardReadResponse) String() string { return proto.CompactTextString(m) }
  956. func (*VolumeEcShardReadResponse) ProtoMessage() {}
  957. func (*VolumeEcShardReadResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{49} }
  958. func (m *VolumeEcShardReadResponse) GetData() []byte {
  959. if m != nil {
  960. return m.Data
  961. }
  962. return nil
  963. }
  964. func (m *VolumeEcShardReadResponse) GetIsDeleted() bool {
  965. if m != nil {
  966. return m.IsDeleted
  967. }
  968. return false
  969. }
  970. type VolumeEcBlobDeleteRequest struct {
  971. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  972. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  973. FileKey uint64 `protobuf:"varint,3,opt,name=file_key,json=fileKey" json:"file_key,omitempty"`
  974. Version uint32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
  975. }
  976. func (m *VolumeEcBlobDeleteRequest) Reset() { *m = VolumeEcBlobDeleteRequest{} }
  977. func (m *VolumeEcBlobDeleteRequest) String() string { return proto.CompactTextString(m) }
  978. func (*VolumeEcBlobDeleteRequest) ProtoMessage() {}
  979. func (*VolumeEcBlobDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{50} }
  980. func (m *VolumeEcBlobDeleteRequest) GetVolumeId() uint32 {
  981. if m != nil {
  982. return m.VolumeId
  983. }
  984. return 0
  985. }
  986. func (m *VolumeEcBlobDeleteRequest) GetCollection() string {
  987. if m != nil {
  988. return m.Collection
  989. }
  990. return ""
  991. }
  992. func (m *VolumeEcBlobDeleteRequest) GetFileKey() uint64 {
  993. if m != nil {
  994. return m.FileKey
  995. }
  996. return 0
  997. }
  998. func (m *VolumeEcBlobDeleteRequest) GetVersion() uint32 {
  999. if m != nil {
  1000. return m.Version
  1001. }
  1002. return 0
  1003. }
  1004. type VolumeEcBlobDeleteResponse struct {
  1005. }
  1006. func (m *VolumeEcBlobDeleteResponse) Reset() { *m = VolumeEcBlobDeleteResponse{} }
  1007. func (m *VolumeEcBlobDeleteResponse) String() string { return proto.CompactTextString(m) }
  1008. func (*VolumeEcBlobDeleteResponse) ProtoMessage() {}
  1009. func (*VolumeEcBlobDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{51} }
  1010. type ReadVolumeFileStatusRequest struct {
  1011. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  1012. }
  1013. func (m *ReadVolumeFileStatusRequest) Reset() { *m = ReadVolumeFileStatusRequest{} }
  1014. func (m *ReadVolumeFileStatusRequest) String() string { return proto.CompactTextString(m) }
  1015. func (*ReadVolumeFileStatusRequest) ProtoMessage() {}
  1016. func (*ReadVolumeFileStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{52} }
  1017. func (m *ReadVolumeFileStatusRequest) GetVolumeId() uint32 {
  1018. if m != nil {
  1019. return m.VolumeId
  1020. }
  1021. return 0
  1022. }
  1023. type ReadVolumeFileStatusResponse struct {
  1024. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  1025. IdxFileTimestampSeconds uint64 `protobuf:"varint,2,opt,name=idx_file_timestamp_seconds,json=idxFileTimestampSeconds" json:"idx_file_timestamp_seconds,omitempty"`
  1026. IdxFileSize uint64 `protobuf:"varint,3,opt,name=idx_file_size,json=idxFileSize" json:"idx_file_size,omitempty"`
  1027. DatFileTimestampSeconds uint64 `protobuf:"varint,4,opt,name=dat_file_timestamp_seconds,json=datFileTimestampSeconds" json:"dat_file_timestamp_seconds,omitempty"`
  1028. DatFileSize uint64 `protobuf:"varint,5,opt,name=dat_file_size,json=datFileSize" json:"dat_file_size,omitempty"`
  1029. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  1030. CompactionRevision uint32 `protobuf:"varint,7,opt,name=compaction_revision,json=compactionRevision" json:"compaction_revision,omitempty"`
  1031. Collection string `protobuf:"bytes,8,opt,name=collection" json:"collection,omitempty"`
  1032. }
  1033. func (m *ReadVolumeFileStatusResponse) Reset() { *m = ReadVolumeFileStatusResponse{} }
  1034. func (m *ReadVolumeFileStatusResponse) String() string { return proto.CompactTextString(m) }
  1035. func (*ReadVolumeFileStatusResponse) ProtoMessage() {}
  1036. func (*ReadVolumeFileStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{53} }
  1037. func (m *ReadVolumeFileStatusResponse) GetVolumeId() uint32 {
  1038. if m != nil {
  1039. return m.VolumeId
  1040. }
  1041. return 0
  1042. }
  1043. func (m *ReadVolumeFileStatusResponse) GetIdxFileTimestampSeconds() uint64 {
  1044. if m != nil {
  1045. return m.IdxFileTimestampSeconds
  1046. }
  1047. return 0
  1048. }
  1049. func (m *ReadVolumeFileStatusResponse) GetIdxFileSize() uint64 {
  1050. if m != nil {
  1051. return m.IdxFileSize
  1052. }
  1053. return 0
  1054. }
  1055. func (m *ReadVolumeFileStatusResponse) GetDatFileTimestampSeconds() uint64 {
  1056. if m != nil {
  1057. return m.DatFileTimestampSeconds
  1058. }
  1059. return 0
  1060. }
  1061. func (m *ReadVolumeFileStatusResponse) GetDatFileSize() uint64 {
  1062. if m != nil {
  1063. return m.DatFileSize
  1064. }
  1065. return 0
  1066. }
  1067. func (m *ReadVolumeFileStatusResponse) GetFileCount() uint64 {
  1068. if m != nil {
  1069. return m.FileCount
  1070. }
  1071. return 0
  1072. }
  1073. func (m *ReadVolumeFileStatusResponse) GetCompactionRevision() uint32 {
  1074. if m != nil {
  1075. return m.CompactionRevision
  1076. }
  1077. return 0
  1078. }
  1079. func (m *ReadVolumeFileStatusResponse) GetCollection() string {
  1080. if m != nil {
  1081. return m.Collection
  1082. }
  1083. return ""
  1084. }
  1085. type DiskStatus struct {
  1086. Dir string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"`
  1087. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  1088. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  1089. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  1090. }
  1091. func (m *DiskStatus) Reset() { *m = DiskStatus{} }
  1092. func (m *DiskStatus) String() string { return proto.CompactTextString(m) }
  1093. func (*DiskStatus) ProtoMessage() {}
  1094. func (*DiskStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{54} }
  1095. func (m *DiskStatus) GetDir() string {
  1096. if m != nil {
  1097. return m.Dir
  1098. }
  1099. return ""
  1100. }
  1101. func (m *DiskStatus) GetAll() uint64 {
  1102. if m != nil {
  1103. return m.All
  1104. }
  1105. return 0
  1106. }
  1107. func (m *DiskStatus) GetUsed() uint64 {
  1108. if m != nil {
  1109. return m.Used
  1110. }
  1111. return 0
  1112. }
  1113. func (m *DiskStatus) GetFree() uint64 {
  1114. if m != nil {
  1115. return m.Free
  1116. }
  1117. return 0
  1118. }
  1119. type MemStatus struct {
  1120. Goroutines int32 `protobuf:"varint,1,opt,name=goroutines" json:"goroutines,omitempty"`
  1121. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  1122. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  1123. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  1124. Self uint64 `protobuf:"varint,5,opt,name=self" json:"self,omitempty"`
  1125. Heap uint64 `protobuf:"varint,6,opt,name=heap" json:"heap,omitempty"`
  1126. Stack uint64 `protobuf:"varint,7,opt,name=stack" json:"stack,omitempty"`
  1127. }
  1128. func (m *MemStatus) Reset() { *m = MemStatus{} }
  1129. func (m *MemStatus) String() string { return proto.CompactTextString(m) }
  1130. func (*MemStatus) ProtoMessage() {}
  1131. func (*MemStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{55} }
  1132. func (m *MemStatus) GetGoroutines() int32 {
  1133. if m != nil {
  1134. return m.Goroutines
  1135. }
  1136. return 0
  1137. }
  1138. func (m *MemStatus) GetAll() uint64 {
  1139. if m != nil {
  1140. return m.All
  1141. }
  1142. return 0
  1143. }
  1144. func (m *MemStatus) GetUsed() uint64 {
  1145. if m != nil {
  1146. return m.Used
  1147. }
  1148. return 0
  1149. }
  1150. func (m *MemStatus) GetFree() uint64 {
  1151. if m != nil {
  1152. return m.Free
  1153. }
  1154. return 0
  1155. }
  1156. func (m *MemStatus) GetSelf() uint64 {
  1157. if m != nil {
  1158. return m.Self
  1159. }
  1160. return 0
  1161. }
  1162. func (m *MemStatus) GetHeap() uint64 {
  1163. if m != nil {
  1164. return m.Heap
  1165. }
  1166. return 0
  1167. }
  1168. func (m *MemStatus) GetStack() uint64 {
  1169. if m != nil {
  1170. return m.Stack
  1171. }
  1172. return 0
  1173. }
  1174. // tired storage on volume servers
  1175. type RemoteFile struct {
  1176. BackendType string `protobuf:"bytes,1,opt,name=backend_type,json=backendType" json:"backend_type,omitempty"`
  1177. BackendId string `protobuf:"bytes,2,opt,name=backend_id,json=backendId" json:"backend_id,omitempty"`
  1178. Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
  1179. Offset uint64 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"`
  1180. FileSize uint64 `protobuf:"varint,5,opt,name=file_size,json=fileSize" json:"file_size,omitempty"`
  1181. ModifiedTime uint64 `protobuf:"varint,6,opt,name=modified_time,json=modifiedTime" json:"modified_time,omitempty"`
  1182. }
  1183. func (m *RemoteFile) Reset() { *m = RemoteFile{} }
  1184. func (m *RemoteFile) String() string { return proto.CompactTextString(m) }
  1185. func (*RemoteFile) ProtoMessage() {}
  1186. func (*RemoteFile) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{56} }
  1187. func (m *RemoteFile) GetBackendType() string {
  1188. if m != nil {
  1189. return m.BackendType
  1190. }
  1191. return ""
  1192. }
  1193. func (m *RemoteFile) GetBackendId() string {
  1194. if m != nil {
  1195. return m.BackendId
  1196. }
  1197. return ""
  1198. }
  1199. func (m *RemoteFile) GetKey() string {
  1200. if m != nil {
  1201. return m.Key
  1202. }
  1203. return ""
  1204. }
  1205. func (m *RemoteFile) GetOffset() uint64 {
  1206. if m != nil {
  1207. return m.Offset
  1208. }
  1209. return 0
  1210. }
  1211. func (m *RemoteFile) GetFileSize() uint64 {
  1212. if m != nil {
  1213. return m.FileSize
  1214. }
  1215. return 0
  1216. }
  1217. func (m *RemoteFile) GetModifiedTime() uint64 {
  1218. if m != nil {
  1219. return m.ModifiedTime
  1220. }
  1221. return 0
  1222. }
  1223. type VolumeTierInfo struct {
  1224. Files []*RemoteFile `protobuf:"bytes,1,rep,name=files" json:"files,omitempty"`
  1225. }
  1226. func (m *VolumeTierInfo) Reset() { *m = VolumeTierInfo{} }
  1227. func (m *VolumeTierInfo) String() string { return proto.CompactTextString(m) }
  1228. func (*VolumeTierInfo) ProtoMessage() {}
  1229. func (*VolumeTierInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{57} }
  1230. func (m *VolumeTierInfo) GetFiles() []*RemoteFile {
  1231. if m != nil {
  1232. return m.Files
  1233. }
  1234. return nil
  1235. }
  1236. type VolumeTierCopyDatToRemoteRequest struct {
  1237. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  1238. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  1239. DestinationBackendName string `protobuf:"bytes,3,opt,name=destination_backend_name,json=destinationBackendName" json:"destination_backend_name,omitempty"`
  1240. KeepLocalDatFile bool `protobuf:"varint,4,opt,name=keep_local_dat_file,json=keepLocalDatFile" json:"keep_local_dat_file,omitempty"`
  1241. }
  1242. func (m *VolumeTierCopyDatToRemoteRequest) Reset() { *m = VolumeTierCopyDatToRemoteRequest{} }
  1243. func (m *VolumeTierCopyDatToRemoteRequest) String() string { return proto.CompactTextString(m) }
  1244. func (*VolumeTierCopyDatToRemoteRequest) ProtoMessage() {}
  1245. func (*VolumeTierCopyDatToRemoteRequest) Descriptor() ([]byte, []int) {
  1246. return fileDescriptor0, []int{58}
  1247. }
  1248. func (m *VolumeTierCopyDatToRemoteRequest) GetVolumeId() uint32 {
  1249. if m != nil {
  1250. return m.VolumeId
  1251. }
  1252. return 0
  1253. }
  1254. func (m *VolumeTierCopyDatToRemoteRequest) GetCollection() string {
  1255. if m != nil {
  1256. return m.Collection
  1257. }
  1258. return ""
  1259. }
  1260. func (m *VolumeTierCopyDatToRemoteRequest) GetDestinationBackendName() string {
  1261. if m != nil {
  1262. return m.DestinationBackendName
  1263. }
  1264. return ""
  1265. }
  1266. func (m *VolumeTierCopyDatToRemoteRequest) GetKeepLocalDatFile() bool {
  1267. if m != nil {
  1268. return m.KeepLocalDatFile
  1269. }
  1270. return false
  1271. }
  1272. type VolumeTierCopyDatToRemoteResponse struct {
  1273. Processed int64 `protobuf:"varint,1,opt,name=processed" json:"processed,omitempty"`
  1274. ProcessedPercentage float32 `protobuf:"fixed32,2,opt,name=processedPercentage" json:"processedPercentage,omitempty"`
  1275. }
  1276. func (m *VolumeTierCopyDatToRemoteResponse) Reset() { *m = VolumeTierCopyDatToRemoteResponse{} }
  1277. func (m *VolumeTierCopyDatToRemoteResponse) String() string { return proto.CompactTextString(m) }
  1278. func (*VolumeTierCopyDatToRemoteResponse) ProtoMessage() {}
  1279. func (*VolumeTierCopyDatToRemoteResponse) Descriptor() ([]byte, []int) {
  1280. return fileDescriptor0, []int{59}
  1281. }
  1282. func (m *VolumeTierCopyDatToRemoteResponse) GetProcessed() int64 {
  1283. if m != nil {
  1284. return m.Processed
  1285. }
  1286. return 0
  1287. }
  1288. func (m *VolumeTierCopyDatToRemoteResponse) GetProcessedPercentage() float32 {
  1289. if m != nil {
  1290. return m.ProcessedPercentage
  1291. }
  1292. return 0
  1293. }
  1294. // select on volume servers
  1295. type QueryRequest struct {
  1296. Selections []string `protobuf:"bytes,1,rep,name=selections" json:"selections,omitempty"`
  1297. FromFileIds []string `protobuf:"bytes,2,rep,name=from_file_ids,json=fromFileIds" json:"from_file_ids,omitempty"`
  1298. Filter *QueryRequest_Filter `protobuf:"bytes,3,opt,name=filter" json:"filter,omitempty"`
  1299. InputSerialization *QueryRequest_InputSerialization `protobuf:"bytes,4,opt,name=input_serialization,json=inputSerialization" json:"input_serialization,omitempty"`
  1300. OutputSerialization *QueryRequest_OutputSerialization `protobuf:"bytes,5,opt,name=output_serialization,json=outputSerialization" json:"output_serialization,omitempty"`
  1301. }
  1302. func (m *QueryRequest) Reset() { *m = QueryRequest{} }
  1303. func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
  1304. func (*QueryRequest) ProtoMessage() {}
  1305. func (*QueryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{60} }
  1306. func (m *QueryRequest) GetSelections() []string {
  1307. if m != nil {
  1308. return m.Selections
  1309. }
  1310. return nil
  1311. }
  1312. func (m *QueryRequest) GetFromFileIds() []string {
  1313. if m != nil {
  1314. return m.FromFileIds
  1315. }
  1316. return nil
  1317. }
  1318. func (m *QueryRequest) GetFilter() *QueryRequest_Filter {
  1319. if m != nil {
  1320. return m.Filter
  1321. }
  1322. return nil
  1323. }
  1324. func (m *QueryRequest) GetInputSerialization() *QueryRequest_InputSerialization {
  1325. if m != nil {
  1326. return m.InputSerialization
  1327. }
  1328. return nil
  1329. }
  1330. func (m *QueryRequest) GetOutputSerialization() *QueryRequest_OutputSerialization {
  1331. if m != nil {
  1332. return m.OutputSerialization
  1333. }
  1334. return nil
  1335. }
  1336. type QueryRequest_Filter struct {
  1337. Field string `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
  1338. Operand string `protobuf:"bytes,2,opt,name=operand" json:"operand,omitempty"`
  1339. Value string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
  1340. }
  1341. func (m *QueryRequest_Filter) Reset() { *m = QueryRequest_Filter{} }
  1342. func (m *QueryRequest_Filter) String() string { return proto.CompactTextString(m) }
  1343. func (*QueryRequest_Filter) ProtoMessage() {}
  1344. func (*QueryRequest_Filter) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{60, 0} }
  1345. func (m *QueryRequest_Filter) GetField() string {
  1346. if m != nil {
  1347. return m.Field
  1348. }
  1349. return ""
  1350. }
  1351. func (m *QueryRequest_Filter) GetOperand() string {
  1352. if m != nil {
  1353. return m.Operand
  1354. }
  1355. return ""
  1356. }
  1357. func (m *QueryRequest_Filter) GetValue() string {
  1358. if m != nil {
  1359. return m.Value
  1360. }
  1361. return ""
  1362. }
  1363. type QueryRequest_InputSerialization struct {
  1364. // NONE | GZIP | BZIP2
  1365. CompressionType string `protobuf:"bytes,1,opt,name=compression_type,json=compressionType" json:"compression_type,omitempty"`
  1366. CsvInput *QueryRequest_InputSerialization_CSVInput `protobuf:"bytes,2,opt,name=csv_input,json=csvInput" json:"csv_input,omitempty"`
  1367. JsonInput *QueryRequest_InputSerialization_JSONInput `protobuf:"bytes,3,opt,name=json_input,json=jsonInput" json:"json_input,omitempty"`
  1368. ParquetInput *QueryRequest_InputSerialization_ParquetInput `protobuf:"bytes,4,opt,name=parquet_input,json=parquetInput" json:"parquet_input,omitempty"`
  1369. }
  1370. func (m *QueryRequest_InputSerialization) Reset() { *m = QueryRequest_InputSerialization{} }
  1371. func (m *QueryRequest_InputSerialization) String() string { return proto.CompactTextString(m) }
  1372. func (*QueryRequest_InputSerialization) ProtoMessage() {}
  1373. func (*QueryRequest_InputSerialization) Descriptor() ([]byte, []int) {
  1374. return fileDescriptor0, []int{60, 1}
  1375. }
  1376. func (m *QueryRequest_InputSerialization) GetCompressionType() string {
  1377. if m != nil {
  1378. return m.CompressionType
  1379. }
  1380. return ""
  1381. }
  1382. func (m *QueryRequest_InputSerialization) GetCsvInput() *QueryRequest_InputSerialization_CSVInput {
  1383. if m != nil {
  1384. return m.CsvInput
  1385. }
  1386. return nil
  1387. }
  1388. func (m *QueryRequest_InputSerialization) GetJsonInput() *QueryRequest_InputSerialization_JSONInput {
  1389. if m != nil {
  1390. return m.JsonInput
  1391. }
  1392. return nil
  1393. }
  1394. func (m *QueryRequest_InputSerialization) GetParquetInput() *QueryRequest_InputSerialization_ParquetInput {
  1395. if m != nil {
  1396. return m.ParquetInput
  1397. }
  1398. return nil
  1399. }
  1400. type QueryRequest_InputSerialization_CSVInput struct {
  1401. FileHeaderInfo string `protobuf:"bytes,1,opt,name=file_header_info,json=fileHeaderInfo" json:"file_header_info,omitempty"`
  1402. RecordDelimiter string `protobuf:"bytes,2,opt,name=record_delimiter,json=recordDelimiter" json:"record_delimiter,omitempty"`
  1403. FieldDelimiter string `protobuf:"bytes,3,opt,name=field_delimiter,json=fieldDelimiter" json:"field_delimiter,omitempty"`
  1404. QuoteCharactoer string `protobuf:"bytes,4,opt,name=quote_charactoer,json=quoteCharactoer" json:"quote_charactoer,omitempty"`
  1405. QuoteEscapeCharacter string `protobuf:"bytes,5,opt,name=quote_escape_character,json=quoteEscapeCharacter" json:"quote_escape_character,omitempty"`
  1406. Comments string `protobuf:"bytes,6,opt,name=comments" json:"comments,omitempty"`
  1407. // If true, records might contain record delimiters within quote characters
  1408. AllowQuotedRecordDelimiter bool `protobuf:"varint,7,opt,name=allow_quoted_record_delimiter,json=allowQuotedRecordDelimiter" json:"allow_quoted_record_delimiter,omitempty"`
  1409. }
  1410. func (m *QueryRequest_InputSerialization_CSVInput) Reset() {
  1411. *m = QueryRequest_InputSerialization_CSVInput{}
  1412. }
  1413. func (m *QueryRequest_InputSerialization_CSVInput) String() string { return proto.CompactTextString(m) }
  1414. func (*QueryRequest_InputSerialization_CSVInput) ProtoMessage() {}
  1415. func (*QueryRequest_InputSerialization_CSVInput) Descriptor() ([]byte, []int) {
  1416. return fileDescriptor0, []int{60, 1, 0}
  1417. }
  1418. func (m *QueryRequest_InputSerialization_CSVInput) GetFileHeaderInfo() string {
  1419. if m != nil {
  1420. return m.FileHeaderInfo
  1421. }
  1422. return ""
  1423. }
  1424. func (m *QueryRequest_InputSerialization_CSVInput) GetRecordDelimiter() string {
  1425. if m != nil {
  1426. return m.RecordDelimiter
  1427. }
  1428. return ""
  1429. }
  1430. func (m *QueryRequest_InputSerialization_CSVInput) GetFieldDelimiter() string {
  1431. if m != nil {
  1432. return m.FieldDelimiter
  1433. }
  1434. return ""
  1435. }
  1436. func (m *QueryRequest_InputSerialization_CSVInput) GetQuoteCharactoer() string {
  1437. if m != nil {
  1438. return m.QuoteCharactoer
  1439. }
  1440. return ""
  1441. }
  1442. func (m *QueryRequest_InputSerialization_CSVInput) GetQuoteEscapeCharacter() string {
  1443. if m != nil {
  1444. return m.QuoteEscapeCharacter
  1445. }
  1446. return ""
  1447. }
  1448. func (m *QueryRequest_InputSerialization_CSVInput) GetComments() string {
  1449. if m != nil {
  1450. return m.Comments
  1451. }
  1452. return ""
  1453. }
  1454. func (m *QueryRequest_InputSerialization_CSVInput) GetAllowQuotedRecordDelimiter() bool {
  1455. if m != nil {
  1456. return m.AllowQuotedRecordDelimiter
  1457. }
  1458. return false
  1459. }
  1460. type QueryRequest_InputSerialization_JSONInput struct {
  1461. Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
  1462. }
  1463. func (m *QueryRequest_InputSerialization_JSONInput) Reset() {
  1464. *m = QueryRequest_InputSerialization_JSONInput{}
  1465. }
  1466. func (m *QueryRequest_InputSerialization_JSONInput) String() string { return proto.CompactTextString(m) }
  1467. func (*QueryRequest_InputSerialization_JSONInput) ProtoMessage() {}
  1468. func (*QueryRequest_InputSerialization_JSONInput) Descriptor() ([]byte, []int) {
  1469. return fileDescriptor0, []int{60, 1, 1}
  1470. }
  1471. func (m *QueryRequest_InputSerialization_JSONInput) GetType() string {
  1472. if m != nil {
  1473. return m.Type
  1474. }
  1475. return ""
  1476. }
  1477. type QueryRequest_InputSerialization_ParquetInput struct {
  1478. }
  1479. func (m *QueryRequest_InputSerialization_ParquetInput) Reset() {
  1480. *m = QueryRequest_InputSerialization_ParquetInput{}
  1481. }
  1482. func (m *QueryRequest_InputSerialization_ParquetInput) String() string {
  1483. return proto.CompactTextString(m)
  1484. }
  1485. func (*QueryRequest_InputSerialization_ParquetInput) ProtoMessage() {}
  1486. func (*QueryRequest_InputSerialization_ParquetInput) Descriptor() ([]byte, []int) {
  1487. return fileDescriptor0, []int{60, 1, 2}
  1488. }
  1489. type QueryRequest_OutputSerialization struct {
  1490. CsvOutput *QueryRequest_OutputSerialization_CSVOutput `protobuf:"bytes,2,opt,name=csv_output,json=csvOutput" json:"csv_output,omitempty"`
  1491. JsonOutput *QueryRequest_OutputSerialization_JSONOutput `protobuf:"bytes,3,opt,name=json_output,json=jsonOutput" json:"json_output,omitempty"`
  1492. }
  1493. func (m *QueryRequest_OutputSerialization) Reset() { *m = QueryRequest_OutputSerialization{} }
  1494. func (m *QueryRequest_OutputSerialization) String() string { return proto.CompactTextString(m) }
  1495. func (*QueryRequest_OutputSerialization) ProtoMessage() {}
  1496. func (*QueryRequest_OutputSerialization) Descriptor() ([]byte, []int) {
  1497. return fileDescriptor0, []int{60, 2}
  1498. }
  1499. func (m *QueryRequest_OutputSerialization) GetCsvOutput() *QueryRequest_OutputSerialization_CSVOutput {
  1500. if m != nil {
  1501. return m.CsvOutput
  1502. }
  1503. return nil
  1504. }
  1505. func (m *QueryRequest_OutputSerialization) GetJsonOutput() *QueryRequest_OutputSerialization_JSONOutput {
  1506. if m != nil {
  1507. return m.JsonOutput
  1508. }
  1509. return nil
  1510. }
  1511. type QueryRequest_OutputSerialization_CSVOutput struct {
  1512. QuoteFields string `protobuf:"bytes,1,opt,name=quote_fields,json=quoteFields" json:"quote_fields,omitempty"`
  1513. RecordDelimiter string `protobuf:"bytes,2,opt,name=record_delimiter,json=recordDelimiter" json:"record_delimiter,omitempty"`
  1514. FieldDelimiter string `protobuf:"bytes,3,opt,name=field_delimiter,json=fieldDelimiter" json:"field_delimiter,omitempty"`
  1515. QuoteCharactoer string `protobuf:"bytes,4,opt,name=quote_charactoer,json=quoteCharactoer" json:"quote_charactoer,omitempty"`
  1516. QuoteEscapeCharacter string `protobuf:"bytes,5,opt,name=quote_escape_character,json=quoteEscapeCharacter" json:"quote_escape_character,omitempty"`
  1517. }
  1518. func (m *QueryRequest_OutputSerialization_CSVOutput) Reset() {
  1519. *m = QueryRequest_OutputSerialization_CSVOutput{}
  1520. }
  1521. func (m *QueryRequest_OutputSerialization_CSVOutput) String() string {
  1522. return proto.CompactTextString(m)
  1523. }
  1524. func (*QueryRequest_OutputSerialization_CSVOutput) ProtoMessage() {}
  1525. func (*QueryRequest_OutputSerialization_CSVOutput) Descriptor() ([]byte, []int) {
  1526. return fileDescriptor0, []int{60, 2, 0}
  1527. }
  1528. func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteFields() string {
  1529. if m != nil {
  1530. return m.QuoteFields
  1531. }
  1532. return ""
  1533. }
  1534. func (m *QueryRequest_OutputSerialization_CSVOutput) GetRecordDelimiter() string {
  1535. if m != nil {
  1536. return m.RecordDelimiter
  1537. }
  1538. return ""
  1539. }
  1540. func (m *QueryRequest_OutputSerialization_CSVOutput) GetFieldDelimiter() string {
  1541. if m != nil {
  1542. return m.FieldDelimiter
  1543. }
  1544. return ""
  1545. }
  1546. func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteCharactoer() string {
  1547. if m != nil {
  1548. return m.QuoteCharactoer
  1549. }
  1550. return ""
  1551. }
  1552. func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteEscapeCharacter() string {
  1553. if m != nil {
  1554. return m.QuoteEscapeCharacter
  1555. }
  1556. return ""
  1557. }
  1558. type QueryRequest_OutputSerialization_JSONOutput struct {
  1559. RecordDelimiter string `protobuf:"bytes,1,opt,name=record_delimiter,json=recordDelimiter" json:"record_delimiter,omitempty"`
  1560. }
  1561. func (m *QueryRequest_OutputSerialization_JSONOutput) Reset() {
  1562. *m = QueryRequest_OutputSerialization_JSONOutput{}
  1563. }
  1564. func (m *QueryRequest_OutputSerialization_JSONOutput) String() string {
  1565. return proto.CompactTextString(m)
  1566. }
  1567. func (*QueryRequest_OutputSerialization_JSONOutput) ProtoMessage() {}
  1568. func (*QueryRequest_OutputSerialization_JSONOutput) Descriptor() ([]byte, []int) {
  1569. return fileDescriptor0, []int{60, 2, 1}
  1570. }
  1571. func (m *QueryRequest_OutputSerialization_JSONOutput) GetRecordDelimiter() string {
  1572. if m != nil {
  1573. return m.RecordDelimiter
  1574. }
  1575. return ""
  1576. }
  1577. type QueriedStripe struct {
  1578. Records []byte `protobuf:"bytes,1,opt,name=records,proto3" json:"records,omitempty"`
  1579. }
  1580. func (m *QueriedStripe) Reset() { *m = QueriedStripe{} }
  1581. func (m *QueriedStripe) String() string { return proto.CompactTextString(m) }
  1582. func (*QueriedStripe) ProtoMessage() {}
  1583. func (*QueriedStripe) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{61} }
  1584. func (m *QueriedStripe) GetRecords() []byte {
  1585. if m != nil {
  1586. return m.Records
  1587. }
  1588. return nil
  1589. }
  1590. func init() {
  1591. proto.RegisterType((*BatchDeleteRequest)(nil), "volume_server_pb.BatchDeleteRequest")
  1592. proto.RegisterType((*BatchDeleteResponse)(nil), "volume_server_pb.BatchDeleteResponse")
  1593. proto.RegisterType((*DeleteResult)(nil), "volume_server_pb.DeleteResult")
  1594. proto.RegisterType((*Empty)(nil), "volume_server_pb.Empty")
  1595. proto.RegisterType((*VacuumVolumeCheckRequest)(nil), "volume_server_pb.VacuumVolumeCheckRequest")
  1596. proto.RegisterType((*VacuumVolumeCheckResponse)(nil), "volume_server_pb.VacuumVolumeCheckResponse")
  1597. proto.RegisterType((*VacuumVolumeCompactRequest)(nil), "volume_server_pb.VacuumVolumeCompactRequest")
  1598. proto.RegisterType((*VacuumVolumeCompactResponse)(nil), "volume_server_pb.VacuumVolumeCompactResponse")
  1599. proto.RegisterType((*VacuumVolumeCommitRequest)(nil), "volume_server_pb.VacuumVolumeCommitRequest")
  1600. proto.RegisterType((*VacuumVolumeCommitResponse)(nil), "volume_server_pb.VacuumVolumeCommitResponse")
  1601. proto.RegisterType((*VacuumVolumeCleanupRequest)(nil), "volume_server_pb.VacuumVolumeCleanupRequest")
  1602. proto.RegisterType((*VacuumVolumeCleanupResponse)(nil), "volume_server_pb.VacuumVolumeCleanupResponse")
  1603. proto.RegisterType((*DeleteCollectionRequest)(nil), "volume_server_pb.DeleteCollectionRequest")
  1604. proto.RegisterType((*DeleteCollectionResponse)(nil), "volume_server_pb.DeleteCollectionResponse")
  1605. proto.RegisterType((*AllocateVolumeRequest)(nil), "volume_server_pb.AllocateVolumeRequest")
  1606. proto.RegisterType((*AllocateVolumeResponse)(nil), "volume_server_pb.AllocateVolumeResponse")
  1607. proto.RegisterType((*VolumeSyncStatusRequest)(nil), "volume_server_pb.VolumeSyncStatusRequest")
  1608. proto.RegisterType((*VolumeSyncStatusResponse)(nil), "volume_server_pb.VolumeSyncStatusResponse")
  1609. proto.RegisterType((*VolumeIncrementalCopyRequest)(nil), "volume_server_pb.VolumeIncrementalCopyRequest")
  1610. proto.RegisterType((*VolumeIncrementalCopyResponse)(nil), "volume_server_pb.VolumeIncrementalCopyResponse")
  1611. proto.RegisterType((*VolumeMountRequest)(nil), "volume_server_pb.VolumeMountRequest")
  1612. proto.RegisterType((*VolumeMountResponse)(nil), "volume_server_pb.VolumeMountResponse")
  1613. proto.RegisterType((*VolumeUnmountRequest)(nil), "volume_server_pb.VolumeUnmountRequest")
  1614. proto.RegisterType((*VolumeUnmountResponse)(nil), "volume_server_pb.VolumeUnmountResponse")
  1615. proto.RegisterType((*VolumeDeleteRequest)(nil), "volume_server_pb.VolumeDeleteRequest")
  1616. proto.RegisterType((*VolumeDeleteResponse)(nil), "volume_server_pb.VolumeDeleteResponse")
  1617. proto.RegisterType((*VolumeMarkReadonlyRequest)(nil), "volume_server_pb.VolumeMarkReadonlyRequest")
  1618. proto.RegisterType((*VolumeMarkReadonlyResponse)(nil), "volume_server_pb.VolumeMarkReadonlyResponse")
  1619. proto.RegisterType((*VolumeCopyRequest)(nil), "volume_server_pb.VolumeCopyRequest")
  1620. proto.RegisterType((*VolumeCopyResponse)(nil), "volume_server_pb.VolumeCopyResponse")
  1621. proto.RegisterType((*CopyFileRequest)(nil), "volume_server_pb.CopyFileRequest")
  1622. proto.RegisterType((*CopyFileResponse)(nil), "volume_server_pb.CopyFileResponse")
  1623. proto.RegisterType((*VolumeTailSenderRequest)(nil), "volume_server_pb.VolumeTailSenderRequest")
  1624. proto.RegisterType((*VolumeTailSenderResponse)(nil), "volume_server_pb.VolumeTailSenderResponse")
  1625. proto.RegisterType((*VolumeTailReceiverRequest)(nil), "volume_server_pb.VolumeTailReceiverRequest")
  1626. proto.RegisterType((*VolumeTailReceiverResponse)(nil), "volume_server_pb.VolumeTailReceiverResponse")
  1627. proto.RegisterType((*VolumeEcShardsGenerateRequest)(nil), "volume_server_pb.VolumeEcShardsGenerateRequest")
  1628. proto.RegisterType((*VolumeEcShardsGenerateResponse)(nil), "volume_server_pb.VolumeEcShardsGenerateResponse")
  1629. proto.RegisterType((*VolumeEcShardsRebuildRequest)(nil), "volume_server_pb.VolumeEcShardsRebuildRequest")
  1630. proto.RegisterType((*VolumeEcShardsRebuildResponse)(nil), "volume_server_pb.VolumeEcShardsRebuildResponse")
  1631. proto.RegisterType((*VolumeEcShardsCopyRequest)(nil), "volume_server_pb.VolumeEcShardsCopyRequest")
  1632. proto.RegisterType((*VolumeEcShardsCopyResponse)(nil), "volume_server_pb.VolumeEcShardsCopyResponse")
  1633. proto.RegisterType((*VolumeEcShardsDeleteRequest)(nil), "volume_server_pb.VolumeEcShardsDeleteRequest")
  1634. proto.RegisterType((*VolumeEcShardsDeleteResponse)(nil), "volume_server_pb.VolumeEcShardsDeleteResponse")
  1635. proto.RegisterType((*VolumeEcShardsMountRequest)(nil), "volume_server_pb.VolumeEcShardsMountRequest")
  1636. proto.RegisterType((*VolumeEcShardsMountResponse)(nil), "volume_server_pb.VolumeEcShardsMountResponse")
  1637. proto.RegisterType((*VolumeEcShardsUnmountRequest)(nil), "volume_server_pb.VolumeEcShardsUnmountRequest")
  1638. proto.RegisterType((*VolumeEcShardsUnmountResponse)(nil), "volume_server_pb.VolumeEcShardsUnmountResponse")
  1639. proto.RegisterType((*VolumeEcShardReadRequest)(nil), "volume_server_pb.VolumeEcShardReadRequest")
  1640. proto.RegisterType((*VolumeEcShardReadResponse)(nil), "volume_server_pb.VolumeEcShardReadResponse")
  1641. proto.RegisterType((*VolumeEcBlobDeleteRequest)(nil), "volume_server_pb.VolumeEcBlobDeleteRequest")
  1642. proto.RegisterType((*VolumeEcBlobDeleteResponse)(nil), "volume_server_pb.VolumeEcBlobDeleteResponse")
  1643. proto.RegisterType((*ReadVolumeFileStatusRequest)(nil), "volume_server_pb.ReadVolumeFileStatusRequest")
  1644. proto.RegisterType((*ReadVolumeFileStatusResponse)(nil), "volume_server_pb.ReadVolumeFileStatusResponse")
  1645. proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus")
  1646. proto.RegisterType((*MemStatus)(nil), "volume_server_pb.MemStatus")
  1647. proto.RegisterType((*RemoteFile)(nil), "volume_server_pb.RemoteFile")
  1648. proto.RegisterType((*VolumeTierInfo)(nil), "volume_server_pb.VolumeTierInfo")
  1649. proto.RegisterType((*VolumeTierCopyDatToRemoteRequest)(nil), "volume_server_pb.VolumeTierCopyDatToRemoteRequest")
  1650. proto.RegisterType((*VolumeTierCopyDatToRemoteResponse)(nil), "volume_server_pb.VolumeTierCopyDatToRemoteResponse")
  1651. proto.RegisterType((*QueryRequest)(nil), "volume_server_pb.QueryRequest")
  1652. proto.RegisterType((*QueryRequest_Filter)(nil), "volume_server_pb.QueryRequest.Filter")
  1653. proto.RegisterType((*QueryRequest_InputSerialization)(nil), "volume_server_pb.QueryRequest.InputSerialization")
  1654. proto.RegisterType((*QueryRequest_InputSerialization_CSVInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.CSVInput")
  1655. proto.RegisterType((*QueryRequest_InputSerialization_JSONInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.JSONInput")
  1656. proto.RegisterType((*QueryRequest_InputSerialization_ParquetInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.ParquetInput")
  1657. proto.RegisterType((*QueryRequest_OutputSerialization)(nil), "volume_server_pb.QueryRequest.OutputSerialization")
  1658. proto.RegisterType((*QueryRequest_OutputSerialization_CSVOutput)(nil), "volume_server_pb.QueryRequest.OutputSerialization.CSVOutput")
  1659. proto.RegisterType((*QueryRequest_OutputSerialization_JSONOutput)(nil), "volume_server_pb.QueryRequest.OutputSerialization.JSONOutput")
  1660. proto.RegisterType((*QueriedStripe)(nil), "volume_server_pb.QueriedStripe")
  1661. }
  1662. // Reference imports to suppress errors if they are not otherwise used.
  1663. var _ context.Context
  1664. var _ grpc.ClientConn
  1665. // This is a compile-time assertion to ensure that this generated file
  1666. // is compatible with the grpc package it is being compiled against.
  1667. const _ = grpc.SupportPackageIsVersion4
  1668. // Client API for VolumeServer service
  1669. type VolumeServerClient interface {
  1670. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  1671. BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error)
  1672. VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error)
  1673. VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error)
  1674. VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error)
  1675. VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error)
  1676. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  1677. AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error)
  1678. VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error)
  1679. VolumeIncrementalCopy(ctx context.Context, in *VolumeIncrementalCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeIncrementalCopyClient, error)
  1680. VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error)
  1681. VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error)
  1682. VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error)
  1683. VolumeMarkReadonly(ctx context.Context, in *VolumeMarkReadonlyRequest, opts ...grpc.CallOption) (*VolumeMarkReadonlyResponse, error)
  1684. // copy the .idx .dat files, and mount this volume
  1685. VolumeCopy(ctx context.Context, in *VolumeCopyRequest, opts ...grpc.CallOption) (*VolumeCopyResponse, error)
  1686. ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error)
  1687. CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error)
  1688. VolumeTailSender(ctx context.Context, in *VolumeTailSenderRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTailSenderClient, error)
  1689. VolumeTailReceiver(ctx context.Context, in *VolumeTailReceiverRequest, opts ...grpc.CallOption) (*VolumeTailReceiverResponse, error)
  1690. // erasure coding
  1691. VolumeEcShardsGenerate(ctx context.Context, in *VolumeEcShardsGenerateRequest, opts ...grpc.CallOption) (*VolumeEcShardsGenerateResponse, error)
  1692. VolumeEcShardsRebuild(ctx context.Context, in *VolumeEcShardsRebuildRequest, opts ...grpc.CallOption) (*VolumeEcShardsRebuildResponse, error)
  1693. VolumeEcShardsCopy(ctx context.Context, in *VolumeEcShardsCopyRequest, opts ...grpc.CallOption) (*VolumeEcShardsCopyResponse, error)
  1694. VolumeEcShardsDelete(ctx context.Context, in *VolumeEcShardsDeleteRequest, opts ...grpc.CallOption) (*VolumeEcShardsDeleteResponse, error)
  1695. VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error)
  1696. VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error)
  1697. VolumeEcShardRead(ctx context.Context, in *VolumeEcShardReadRequest, opts ...grpc.CallOption) (VolumeServer_VolumeEcShardReadClient, error)
  1698. VolumeEcBlobDelete(ctx context.Context, in *VolumeEcBlobDeleteRequest, opts ...grpc.CallOption) (*VolumeEcBlobDeleteResponse, error)
  1699. // tiered storage
  1700. VolumeTierCopyDatToRemote(ctx context.Context, in *VolumeTierCopyDatToRemoteRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTierCopyDatToRemoteClient, error)
  1701. // query
  1702. Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (VolumeServer_QueryClient, error)
  1703. }
  1704. type volumeServerClient struct {
  1705. cc *grpc.ClientConn
  1706. }
  1707. func NewVolumeServerClient(cc *grpc.ClientConn) VolumeServerClient {
  1708. return &volumeServerClient{cc}
  1709. }
  1710. func (c *volumeServerClient) BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error) {
  1711. out := new(BatchDeleteResponse)
  1712. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/BatchDelete", in, out, c.cc, opts...)
  1713. if err != nil {
  1714. return nil, err
  1715. }
  1716. return out, nil
  1717. }
  1718. func (c *volumeServerClient) VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error) {
  1719. out := new(VacuumVolumeCheckResponse)
  1720. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCheck", in, out, c.cc, opts...)
  1721. if err != nil {
  1722. return nil, err
  1723. }
  1724. return out, nil
  1725. }
  1726. func (c *volumeServerClient) VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error) {
  1727. out := new(VacuumVolumeCompactResponse)
  1728. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCompact", in, out, c.cc, opts...)
  1729. if err != nil {
  1730. return nil, err
  1731. }
  1732. return out, nil
  1733. }
  1734. func (c *volumeServerClient) VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error) {
  1735. out := new(VacuumVolumeCommitResponse)
  1736. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCommit", in, out, c.cc, opts...)
  1737. if err != nil {
  1738. return nil, err
  1739. }
  1740. return out, nil
  1741. }
  1742. func (c *volumeServerClient) VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error) {
  1743. out := new(VacuumVolumeCleanupResponse)
  1744. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCleanup", in, out, c.cc, opts...)
  1745. if err != nil {
  1746. return nil, err
  1747. }
  1748. return out, nil
  1749. }
  1750. func (c *volumeServerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  1751. out := new(DeleteCollectionResponse)
  1752. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/DeleteCollection", in, out, c.cc, opts...)
  1753. if err != nil {
  1754. return nil, err
  1755. }
  1756. return out, nil
  1757. }
  1758. func (c *volumeServerClient) AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error) {
  1759. out := new(AllocateVolumeResponse)
  1760. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/AllocateVolume", in, out, c.cc, opts...)
  1761. if err != nil {
  1762. return nil, err
  1763. }
  1764. return out, nil
  1765. }
  1766. func (c *volumeServerClient) VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error) {
  1767. out := new(VolumeSyncStatusResponse)
  1768. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeSyncStatus", in, out, c.cc, opts...)
  1769. if err != nil {
  1770. return nil, err
  1771. }
  1772. return out, nil
  1773. }
  1774. func (c *volumeServerClient) VolumeIncrementalCopy(ctx context.Context, in *VolumeIncrementalCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeIncrementalCopyClient, error) {
  1775. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[0], c.cc, "/volume_server_pb.VolumeServer/VolumeIncrementalCopy", opts...)
  1776. if err != nil {
  1777. return nil, err
  1778. }
  1779. x := &volumeServerVolumeIncrementalCopyClient{stream}
  1780. if err := x.ClientStream.SendMsg(in); err != nil {
  1781. return nil, err
  1782. }
  1783. if err := x.ClientStream.CloseSend(); err != nil {
  1784. return nil, err
  1785. }
  1786. return x, nil
  1787. }
  1788. type VolumeServer_VolumeIncrementalCopyClient interface {
  1789. Recv() (*VolumeIncrementalCopyResponse, error)
  1790. grpc.ClientStream
  1791. }
  1792. type volumeServerVolumeIncrementalCopyClient struct {
  1793. grpc.ClientStream
  1794. }
  1795. func (x *volumeServerVolumeIncrementalCopyClient) Recv() (*VolumeIncrementalCopyResponse, error) {
  1796. m := new(VolumeIncrementalCopyResponse)
  1797. if err := x.ClientStream.RecvMsg(m); err != nil {
  1798. return nil, err
  1799. }
  1800. return m, nil
  1801. }
  1802. func (c *volumeServerClient) VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error) {
  1803. out := new(VolumeMountResponse)
  1804. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMount", in, out, c.cc, opts...)
  1805. if err != nil {
  1806. return nil, err
  1807. }
  1808. return out, nil
  1809. }
  1810. func (c *volumeServerClient) VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error) {
  1811. out := new(VolumeUnmountResponse)
  1812. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeUnmount", in, out, c.cc, opts...)
  1813. if err != nil {
  1814. return nil, err
  1815. }
  1816. return out, nil
  1817. }
  1818. func (c *volumeServerClient) VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error) {
  1819. out := new(VolumeDeleteResponse)
  1820. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeDelete", in, out, c.cc, opts...)
  1821. if err != nil {
  1822. return nil, err
  1823. }
  1824. return out, nil
  1825. }
  1826. func (c *volumeServerClient) VolumeMarkReadonly(ctx context.Context, in *VolumeMarkReadonlyRequest, opts ...grpc.CallOption) (*VolumeMarkReadonlyResponse, error) {
  1827. out := new(VolumeMarkReadonlyResponse)
  1828. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMarkReadonly", in, out, c.cc, opts...)
  1829. if err != nil {
  1830. return nil, err
  1831. }
  1832. return out, nil
  1833. }
  1834. func (c *volumeServerClient) VolumeCopy(ctx context.Context, in *VolumeCopyRequest, opts ...grpc.CallOption) (*VolumeCopyResponse, error) {
  1835. out := new(VolumeCopyResponse)
  1836. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeCopy", in, out, c.cc, opts...)
  1837. if err != nil {
  1838. return nil, err
  1839. }
  1840. return out, nil
  1841. }
  1842. func (c *volumeServerClient) ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error) {
  1843. out := new(ReadVolumeFileStatusResponse)
  1844. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReadVolumeFileStatus", in, out, c.cc, opts...)
  1845. if err != nil {
  1846. return nil, err
  1847. }
  1848. return out, nil
  1849. }
  1850. func (c *volumeServerClient) CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error) {
  1851. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[1], c.cc, "/volume_server_pb.VolumeServer/CopyFile", opts...)
  1852. if err != nil {
  1853. return nil, err
  1854. }
  1855. x := &volumeServerCopyFileClient{stream}
  1856. if err := x.ClientStream.SendMsg(in); err != nil {
  1857. return nil, err
  1858. }
  1859. if err := x.ClientStream.CloseSend(); err != nil {
  1860. return nil, err
  1861. }
  1862. return x, nil
  1863. }
  1864. type VolumeServer_CopyFileClient interface {
  1865. Recv() (*CopyFileResponse, error)
  1866. grpc.ClientStream
  1867. }
  1868. type volumeServerCopyFileClient struct {
  1869. grpc.ClientStream
  1870. }
  1871. func (x *volumeServerCopyFileClient) Recv() (*CopyFileResponse, error) {
  1872. m := new(CopyFileResponse)
  1873. if err := x.ClientStream.RecvMsg(m); err != nil {
  1874. return nil, err
  1875. }
  1876. return m, nil
  1877. }
  1878. func (c *volumeServerClient) VolumeTailSender(ctx context.Context, in *VolumeTailSenderRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTailSenderClient, error) {
  1879. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[2], c.cc, "/volume_server_pb.VolumeServer/VolumeTailSender", opts...)
  1880. if err != nil {
  1881. return nil, err
  1882. }
  1883. x := &volumeServerVolumeTailSenderClient{stream}
  1884. if err := x.ClientStream.SendMsg(in); err != nil {
  1885. return nil, err
  1886. }
  1887. if err := x.ClientStream.CloseSend(); err != nil {
  1888. return nil, err
  1889. }
  1890. return x, nil
  1891. }
  1892. type VolumeServer_VolumeTailSenderClient interface {
  1893. Recv() (*VolumeTailSenderResponse, error)
  1894. grpc.ClientStream
  1895. }
  1896. type volumeServerVolumeTailSenderClient struct {
  1897. grpc.ClientStream
  1898. }
  1899. func (x *volumeServerVolumeTailSenderClient) Recv() (*VolumeTailSenderResponse, error) {
  1900. m := new(VolumeTailSenderResponse)
  1901. if err := x.ClientStream.RecvMsg(m); err != nil {
  1902. return nil, err
  1903. }
  1904. return m, nil
  1905. }
  1906. func (c *volumeServerClient) VolumeTailReceiver(ctx context.Context, in *VolumeTailReceiverRequest, opts ...grpc.CallOption) (*VolumeTailReceiverResponse, error) {
  1907. out := new(VolumeTailReceiverResponse)
  1908. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeTailReceiver", in, out, c.cc, opts...)
  1909. if err != nil {
  1910. return nil, err
  1911. }
  1912. return out, nil
  1913. }
  1914. func (c *volumeServerClient) VolumeEcShardsGenerate(ctx context.Context, in *VolumeEcShardsGenerateRequest, opts ...grpc.CallOption) (*VolumeEcShardsGenerateResponse, error) {
  1915. out := new(VolumeEcShardsGenerateResponse)
  1916. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsGenerate", in, out, c.cc, opts...)
  1917. if err != nil {
  1918. return nil, err
  1919. }
  1920. return out, nil
  1921. }
  1922. func (c *volumeServerClient) VolumeEcShardsRebuild(ctx context.Context, in *VolumeEcShardsRebuildRequest, opts ...grpc.CallOption) (*VolumeEcShardsRebuildResponse, error) {
  1923. out := new(VolumeEcShardsRebuildResponse)
  1924. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsRebuild", in, out, c.cc, opts...)
  1925. if err != nil {
  1926. return nil, err
  1927. }
  1928. return out, nil
  1929. }
  1930. func (c *volumeServerClient) VolumeEcShardsCopy(ctx context.Context, in *VolumeEcShardsCopyRequest, opts ...grpc.CallOption) (*VolumeEcShardsCopyResponse, error) {
  1931. out := new(VolumeEcShardsCopyResponse)
  1932. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsCopy", in, out, c.cc, opts...)
  1933. if err != nil {
  1934. return nil, err
  1935. }
  1936. return out, nil
  1937. }
  1938. func (c *volumeServerClient) VolumeEcShardsDelete(ctx context.Context, in *VolumeEcShardsDeleteRequest, opts ...grpc.CallOption) (*VolumeEcShardsDeleteResponse, error) {
  1939. out := new(VolumeEcShardsDeleteResponse)
  1940. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsDelete", in, out, c.cc, opts...)
  1941. if err != nil {
  1942. return nil, err
  1943. }
  1944. return out, nil
  1945. }
  1946. func (c *volumeServerClient) VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error) {
  1947. out := new(VolumeEcShardsMountResponse)
  1948. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsMount", in, out, c.cc, opts...)
  1949. if err != nil {
  1950. return nil, err
  1951. }
  1952. return out, nil
  1953. }
  1954. func (c *volumeServerClient) VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error) {
  1955. out := new(VolumeEcShardsUnmountResponse)
  1956. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount", in, out, c.cc, opts...)
  1957. if err != nil {
  1958. return nil, err
  1959. }
  1960. return out, nil
  1961. }
  1962. func (c *volumeServerClient) VolumeEcShardRead(ctx context.Context, in *VolumeEcShardReadRequest, opts ...grpc.CallOption) (VolumeServer_VolumeEcShardReadClient, error) {
  1963. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[3], c.cc, "/volume_server_pb.VolumeServer/VolumeEcShardRead", opts...)
  1964. if err != nil {
  1965. return nil, err
  1966. }
  1967. x := &volumeServerVolumeEcShardReadClient{stream}
  1968. if err := x.ClientStream.SendMsg(in); err != nil {
  1969. return nil, err
  1970. }
  1971. if err := x.ClientStream.CloseSend(); err != nil {
  1972. return nil, err
  1973. }
  1974. return x, nil
  1975. }
  1976. type VolumeServer_VolumeEcShardReadClient interface {
  1977. Recv() (*VolumeEcShardReadResponse, error)
  1978. grpc.ClientStream
  1979. }
  1980. type volumeServerVolumeEcShardReadClient struct {
  1981. grpc.ClientStream
  1982. }
  1983. func (x *volumeServerVolumeEcShardReadClient) Recv() (*VolumeEcShardReadResponse, error) {
  1984. m := new(VolumeEcShardReadResponse)
  1985. if err := x.ClientStream.RecvMsg(m); err != nil {
  1986. return nil, err
  1987. }
  1988. return m, nil
  1989. }
  1990. func (c *volumeServerClient) VolumeEcBlobDelete(ctx context.Context, in *VolumeEcBlobDeleteRequest, opts ...grpc.CallOption) (*VolumeEcBlobDeleteResponse, error) {
  1991. out := new(VolumeEcBlobDeleteResponse)
  1992. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcBlobDelete", in, out, c.cc, opts...)
  1993. if err != nil {
  1994. return nil, err
  1995. }
  1996. return out, nil
  1997. }
  1998. func (c *volumeServerClient) VolumeTierCopyDatToRemote(ctx context.Context, in *VolumeTierCopyDatToRemoteRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTierCopyDatToRemoteClient, error) {
  1999. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[4], c.cc, "/volume_server_pb.VolumeServer/VolumeTierCopyDatToRemote", opts...)
  2000. if err != nil {
  2001. return nil, err
  2002. }
  2003. x := &volumeServerVolumeTierCopyDatToRemoteClient{stream}
  2004. if err := x.ClientStream.SendMsg(in); err != nil {
  2005. return nil, err
  2006. }
  2007. if err := x.ClientStream.CloseSend(); err != nil {
  2008. return nil, err
  2009. }
  2010. return x, nil
  2011. }
  2012. type VolumeServer_VolumeTierCopyDatToRemoteClient interface {
  2013. Recv() (*VolumeTierCopyDatToRemoteResponse, error)
  2014. grpc.ClientStream
  2015. }
  2016. type volumeServerVolumeTierCopyDatToRemoteClient struct {
  2017. grpc.ClientStream
  2018. }
  2019. func (x *volumeServerVolumeTierCopyDatToRemoteClient) Recv() (*VolumeTierCopyDatToRemoteResponse, error) {
  2020. m := new(VolumeTierCopyDatToRemoteResponse)
  2021. if err := x.ClientStream.RecvMsg(m); err != nil {
  2022. return nil, err
  2023. }
  2024. return m, nil
  2025. }
  2026. func (c *volumeServerClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (VolumeServer_QueryClient, error) {
  2027. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[5], c.cc, "/volume_server_pb.VolumeServer/Query", opts...)
  2028. if err != nil {
  2029. return nil, err
  2030. }
  2031. x := &volumeServerQueryClient{stream}
  2032. if err := x.ClientStream.SendMsg(in); err != nil {
  2033. return nil, err
  2034. }
  2035. if err := x.ClientStream.CloseSend(); err != nil {
  2036. return nil, err
  2037. }
  2038. return x, nil
  2039. }
  2040. type VolumeServer_QueryClient interface {
  2041. Recv() (*QueriedStripe, error)
  2042. grpc.ClientStream
  2043. }
  2044. type volumeServerQueryClient struct {
  2045. grpc.ClientStream
  2046. }
  2047. func (x *volumeServerQueryClient) Recv() (*QueriedStripe, error) {
  2048. m := new(QueriedStripe)
  2049. if err := x.ClientStream.RecvMsg(m); err != nil {
  2050. return nil, err
  2051. }
  2052. return m, nil
  2053. }
  2054. // Server API for VolumeServer service
  2055. type VolumeServerServer interface {
  2056. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  2057. BatchDelete(context.Context, *BatchDeleteRequest) (*BatchDeleteResponse, error)
  2058. VacuumVolumeCheck(context.Context, *VacuumVolumeCheckRequest) (*VacuumVolumeCheckResponse, error)
  2059. VacuumVolumeCompact(context.Context, *VacuumVolumeCompactRequest) (*VacuumVolumeCompactResponse, error)
  2060. VacuumVolumeCommit(context.Context, *VacuumVolumeCommitRequest) (*VacuumVolumeCommitResponse, error)
  2061. VacuumVolumeCleanup(context.Context, *VacuumVolumeCleanupRequest) (*VacuumVolumeCleanupResponse, error)
  2062. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  2063. AllocateVolume(context.Context, *AllocateVolumeRequest) (*AllocateVolumeResponse, error)
  2064. VolumeSyncStatus(context.Context, *VolumeSyncStatusRequest) (*VolumeSyncStatusResponse, error)
  2065. VolumeIncrementalCopy(*VolumeIncrementalCopyRequest, VolumeServer_VolumeIncrementalCopyServer) error
  2066. VolumeMount(context.Context, *VolumeMountRequest) (*VolumeMountResponse, error)
  2067. VolumeUnmount(context.Context, *VolumeUnmountRequest) (*VolumeUnmountResponse, error)
  2068. VolumeDelete(context.Context, *VolumeDeleteRequest) (*VolumeDeleteResponse, error)
  2069. VolumeMarkReadonly(context.Context, *VolumeMarkReadonlyRequest) (*VolumeMarkReadonlyResponse, error)
  2070. // copy the .idx .dat files, and mount this volume
  2071. VolumeCopy(context.Context, *VolumeCopyRequest) (*VolumeCopyResponse, error)
  2072. ReadVolumeFileStatus(context.Context, *ReadVolumeFileStatusRequest) (*ReadVolumeFileStatusResponse, error)
  2073. CopyFile(*CopyFileRequest, VolumeServer_CopyFileServer) error
  2074. VolumeTailSender(*VolumeTailSenderRequest, VolumeServer_VolumeTailSenderServer) error
  2075. VolumeTailReceiver(context.Context, *VolumeTailReceiverRequest) (*VolumeTailReceiverResponse, error)
  2076. // erasure coding
  2077. VolumeEcShardsGenerate(context.Context, *VolumeEcShardsGenerateRequest) (*VolumeEcShardsGenerateResponse, error)
  2078. VolumeEcShardsRebuild(context.Context, *VolumeEcShardsRebuildRequest) (*VolumeEcShardsRebuildResponse, error)
  2079. VolumeEcShardsCopy(context.Context, *VolumeEcShardsCopyRequest) (*VolumeEcShardsCopyResponse, error)
  2080. VolumeEcShardsDelete(context.Context, *VolumeEcShardsDeleteRequest) (*VolumeEcShardsDeleteResponse, error)
  2081. VolumeEcShardsMount(context.Context, *VolumeEcShardsMountRequest) (*VolumeEcShardsMountResponse, error)
  2082. VolumeEcShardsUnmount(context.Context, *VolumeEcShardsUnmountRequest) (*VolumeEcShardsUnmountResponse, error)
  2083. VolumeEcShardRead(*VolumeEcShardReadRequest, VolumeServer_VolumeEcShardReadServer) error
  2084. VolumeEcBlobDelete(context.Context, *VolumeEcBlobDeleteRequest) (*VolumeEcBlobDeleteResponse, error)
  2085. // tiered storage
  2086. VolumeTierCopyDatToRemote(*VolumeTierCopyDatToRemoteRequest, VolumeServer_VolumeTierCopyDatToRemoteServer) error
  2087. // query
  2088. Query(*QueryRequest, VolumeServer_QueryServer) error
  2089. }
  2090. func RegisterVolumeServerServer(s *grpc.Server, srv VolumeServerServer) {
  2091. s.RegisterService(&_VolumeServer_serviceDesc, srv)
  2092. }
  2093. func _VolumeServer_BatchDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2094. in := new(BatchDeleteRequest)
  2095. if err := dec(in); err != nil {
  2096. return nil, err
  2097. }
  2098. if interceptor == nil {
  2099. return srv.(VolumeServerServer).BatchDelete(ctx, in)
  2100. }
  2101. info := &grpc.UnaryServerInfo{
  2102. Server: srv,
  2103. FullMethod: "/volume_server_pb.VolumeServer/BatchDelete",
  2104. }
  2105. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2106. return srv.(VolumeServerServer).BatchDelete(ctx, req.(*BatchDeleteRequest))
  2107. }
  2108. return interceptor(ctx, in, info, handler)
  2109. }
  2110. func _VolumeServer_VacuumVolumeCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2111. in := new(VacuumVolumeCheckRequest)
  2112. if err := dec(in); err != nil {
  2113. return nil, err
  2114. }
  2115. if interceptor == nil {
  2116. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, in)
  2117. }
  2118. info := &grpc.UnaryServerInfo{
  2119. Server: srv,
  2120. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCheck",
  2121. }
  2122. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2123. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, req.(*VacuumVolumeCheckRequest))
  2124. }
  2125. return interceptor(ctx, in, info, handler)
  2126. }
  2127. func _VolumeServer_VacuumVolumeCompact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2128. in := new(VacuumVolumeCompactRequest)
  2129. if err := dec(in); err != nil {
  2130. return nil, err
  2131. }
  2132. if interceptor == nil {
  2133. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, in)
  2134. }
  2135. info := &grpc.UnaryServerInfo{
  2136. Server: srv,
  2137. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCompact",
  2138. }
  2139. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2140. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, req.(*VacuumVolumeCompactRequest))
  2141. }
  2142. return interceptor(ctx, in, info, handler)
  2143. }
  2144. func _VolumeServer_VacuumVolumeCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2145. in := new(VacuumVolumeCommitRequest)
  2146. if err := dec(in); err != nil {
  2147. return nil, err
  2148. }
  2149. if interceptor == nil {
  2150. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, in)
  2151. }
  2152. info := &grpc.UnaryServerInfo{
  2153. Server: srv,
  2154. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCommit",
  2155. }
  2156. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2157. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, req.(*VacuumVolumeCommitRequest))
  2158. }
  2159. return interceptor(ctx, in, info, handler)
  2160. }
  2161. func _VolumeServer_VacuumVolumeCleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2162. in := new(VacuumVolumeCleanupRequest)
  2163. if err := dec(in); err != nil {
  2164. return nil, err
  2165. }
  2166. if interceptor == nil {
  2167. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, in)
  2168. }
  2169. info := &grpc.UnaryServerInfo{
  2170. Server: srv,
  2171. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCleanup",
  2172. }
  2173. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2174. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, req.(*VacuumVolumeCleanupRequest))
  2175. }
  2176. return interceptor(ctx, in, info, handler)
  2177. }
  2178. func _VolumeServer_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2179. in := new(DeleteCollectionRequest)
  2180. if err := dec(in); err != nil {
  2181. return nil, err
  2182. }
  2183. if interceptor == nil {
  2184. return srv.(VolumeServerServer).DeleteCollection(ctx, in)
  2185. }
  2186. info := &grpc.UnaryServerInfo{
  2187. Server: srv,
  2188. FullMethod: "/volume_server_pb.VolumeServer/DeleteCollection",
  2189. }
  2190. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2191. return srv.(VolumeServerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  2192. }
  2193. return interceptor(ctx, in, info, handler)
  2194. }
  2195. func _VolumeServer_AllocateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2196. in := new(AllocateVolumeRequest)
  2197. if err := dec(in); err != nil {
  2198. return nil, err
  2199. }
  2200. if interceptor == nil {
  2201. return srv.(VolumeServerServer).AllocateVolume(ctx, in)
  2202. }
  2203. info := &grpc.UnaryServerInfo{
  2204. Server: srv,
  2205. FullMethod: "/volume_server_pb.VolumeServer/AllocateVolume",
  2206. }
  2207. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2208. return srv.(VolumeServerServer).AllocateVolume(ctx, req.(*AllocateVolumeRequest))
  2209. }
  2210. return interceptor(ctx, in, info, handler)
  2211. }
  2212. func _VolumeServer_VolumeSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2213. in := new(VolumeSyncStatusRequest)
  2214. if err := dec(in); err != nil {
  2215. return nil, err
  2216. }
  2217. if interceptor == nil {
  2218. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, in)
  2219. }
  2220. info := &grpc.UnaryServerInfo{
  2221. Server: srv,
  2222. FullMethod: "/volume_server_pb.VolumeServer/VolumeSyncStatus",
  2223. }
  2224. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2225. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, req.(*VolumeSyncStatusRequest))
  2226. }
  2227. return interceptor(ctx, in, info, handler)
  2228. }
  2229. func _VolumeServer_VolumeIncrementalCopy_Handler(srv interface{}, stream grpc.ServerStream) error {
  2230. m := new(VolumeIncrementalCopyRequest)
  2231. if err := stream.RecvMsg(m); err != nil {
  2232. return err
  2233. }
  2234. return srv.(VolumeServerServer).VolumeIncrementalCopy(m, &volumeServerVolumeIncrementalCopyServer{stream})
  2235. }
  2236. type VolumeServer_VolumeIncrementalCopyServer interface {
  2237. Send(*VolumeIncrementalCopyResponse) error
  2238. grpc.ServerStream
  2239. }
  2240. type volumeServerVolumeIncrementalCopyServer struct {
  2241. grpc.ServerStream
  2242. }
  2243. func (x *volumeServerVolumeIncrementalCopyServer) Send(m *VolumeIncrementalCopyResponse) error {
  2244. return x.ServerStream.SendMsg(m)
  2245. }
  2246. func _VolumeServer_VolumeMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2247. in := new(VolumeMountRequest)
  2248. if err := dec(in); err != nil {
  2249. return nil, err
  2250. }
  2251. if interceptor == nil {
  2252. return srv.(VolumeServerServer).VolumeMount(ctx, in)
  2253. }
  2254. info := &grpc.UnaryServerInfo{
  2255. Server: srv,
  2256. FullMethod: "/volume_server_pb.VolumeServer/VolumeMount",
  2257. }
  2258. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2259. return srv.(VolumeServerServer).VolumeMount(ctx, req.(*VolumeMountRequest))
  2260. }
  2261. return interceptor(ctx, in, info, handler)
  2262. }
  2263. func _VolumeServer_VolumeUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2264. in := new(VolumeUnmountRequest)
  2265. if err := dec(in); err != nil {
  2266. return nil, err
  2267. }
  2268. if interceptor == nil {
  2269. return srv.(VolumeServerServer).VolumeUnmount(ctx, in)
  2270. }
  2271. info := &grpc.UnaryServerInfo{
  2272. Server: srv,
  2273. FullMethod: "/volume_server_pb.VolumeServer/VolumeUnmount",
  2274. }
  2275. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2276. return srv.(VolumeServerServer).VolumeUnmount(ctx, req.(*VolumeUnmountRequest))
  2277. }
  2278. return interceptor(ctx, in, info, handler)
  2279. }
  2280. func _VolumeServer_VolumeDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2281. in := new(VolumeDeleteRequest)
  2282. if err := dec(in); err != nil {
  2283. return nil, err
  2284. }
  2285. if interceptor == nil {
  2286. return srv.(VolumeServerServer).VolumeDelete(ctx, in)
  2287. }
  2288. info := &grpc.UnaryServerInfo{
  2289. Server: srv,
  2290. FullMethod: "/volume_server_pb.VolumeServer/VolumeDelete",
  2291. }
  2292. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2293. return srv.(VolumeServerServer).VolumeDelete(ctx, req.(*VolumeDeleteRequest))
  2294. }
  2295. return interceptor(ctx, in, info, handler)
  2296. }
  2297. func _VolumeServer_VolumeMarkReadonly_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2298. in := new(VolumeMarkReadonlyRequest)
  2299. if err := dec(in); err != nil {
  2300. return nil, err
  2301. }
  2302. if interceptor == nil {
  2303. return srv.(VolumeServerServer).VolumeMarkReadonly(ctx, in)
  2304. }
  2305. info := &grpc.UnaryServerInfo{
  2306. Server: srv,
  2307. FullMethod: "/volume_server_pb.VolumeServer/VolumeMarkReadonly",
  2308. }
  2309. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2310. return srv.(VolumeServerServer).VolumeMarkReadonly(ctx, req.(*VolumeMarkReadonlyRequest))
  2311. }
  2312. return interceptor(ctx, in, info, handler)
  2313. }
  2314. func _VolumeServer_VolumeCopy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2315. in := new(VolumeCopyRequest)
  2316. if err := dec(in); err != nil {
  2317. return nil, err
  2318. }
  2319. if interceptor == nil {
  2320. return srv.(VolumeServerServer).VolumeCopy(ctx, in)
  2321. }
  2322. info := &grpc.UnaryServerInfo{
  2323. Server: srv,
  2324. FullMethod: "/volume_server_pb.VolumeServer/VolumeCopy",
  2325. }
  2326. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2327. return srv.(VolumeServerServer).VolumeCopy(ctx, req.(*VolumeCopyRequest))
  2328. }
  2329. return interceptor(ctx, in, info, handler)
  2330. }
  2331. func _VolumeServer_ReadVolumeFileStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2332. in := new(ReadVolumeFileStatusRequest)
  2333. if err := dec(in); err != nil {
  2334. return nil, err
  2335. }
  2336. if interceptor == nil {
  2337. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, in)
  2338. }
  2339. info := &grpc.UnaryServerInfo{
  2340. Server: srv,
  2341. FullMethod: "/volume_server_pb.VolumeServer/ReadVolumeFileStatus",
  2342. }
  2343. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2344. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, req.(*ReadVolumeFileStatusRequest))
  2345. }
  2346. return interceptor(ctx, in, info, handler)
  2347. }
  2348. func _VolumeServer_CopyFile_Handler(srv interface{}, stream grpc.ServerStream) error {
  2349. m := new(CopyFileRequest)
  2350. if err := stream.RecvMsg(m); err != nil {
  2351. return err
  2352. }
  2353. return srv.(VolumeServerServer).CopyFile(m, &volumeServerCopyFileServer{stream})
  2354. }
  2355. type VolumeServer_CopyFileServer interface {
  2356. Send(*CopyFileResponse) error
  2357. grpc.ServerStream
  2358. }
  2359. type volumeServerCopyFileServer struct {
  2360. grpc.ServerStream
  2361. }
  2362. func (x *volumeServerCopyFileServer) Send(m *CopyFileResponse) error {
  2363. return x.ServerStream.SendMsg(m)
  2364. }
  2365. func _VolumeServer_VolumeTailSender_Handler(srv interface{}, stream grpc.ServerStream) error {
  2366. m := new(VolumeTailSenderRequest)
  2367. if err := stream.RecvMsg(m); err != nil {
  2368. return err
  2369. }
  2370. return srv.(VolumeServerServer).VolumeTailSender(m, &volumeServerVolumeTailSenderServer{stream})
  2371. }
  2372. type VolumeServer_VolumeTailSenderServer interface {
  2373. Send(*VolumeTailSenderResponse) error
  2374. grpc.ServerStream
  2375. }
  2376. type volumeServerVolumeTailSenderServer struct {
  2377. grpc.ServerStream
  2378. }
  2379. func (x *volumeServerVolumeTailSenderServer) Send(m *VolumeTailSenderResponse) error {
  2380. return x.ServerStream.SendMsg(m)
  2381. }
  2382. func _VolumeServer_VolumeTailReceiver_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2383. in := new(VolumeTailReceiverRequest)
  2384. if err := dec(in); err != nil {
  2385. return nil, err
  2386. }
  2387. if interceptor == nil {
  2388. return srv.(VolumeServerServer).VolumeTailReceiver(ctx, in)
  2389. }
  2390. info := &grpc.UnaryServerInfo{
  2391. Server: srv,
  2392. FullMethod: "/volume_server_pb.VolumeServer/VolumeTailReceiver",
  2393. }
  2394. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2395. return srv.(VolumeServerServer).VolumeTailReceiver(ctx, req.(*VolumeTailReceiverRequest))
  2396. }
  2397. return interceptor(ctx, in, info, handler)
  2398. }
  2399. func _VolumeServer_VolumeEcShardsGenerate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2400. in := new(VolumeEcShardsGenerateRequest)
  2401. if err := dec(in); err != nil {
  2402. return nil, err
  2403. }
  2404. if interceptor == nil {
  2405. return srv.(VolumeServerServer).VolumeEcShardsGenerate(ctx, in)
  2406. }
  2407. info := &grpc.UnaryServerInfo{
  2408. Server: srv,
  2409. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsGenerate",
  2410. }
  2411. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2412. return srv.(VolumeServerServer).VolumeEcShardsGenerate(ctx, req.(*VolumeEcShardsGenerateRequest))
  2413. }
  2414. return interceptor(ctx, in, info, handler)
  2415. }
  2416. func _VolumeServer_VolumeEcShardsRebuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2417. in := new(VolumeEcShardsRebuildRequest)
  2418. if err := dec(in); err != nil {
  2419. return nil, err
  2420. }
  2421. if interceptor == nil {
  2422. return srv.(VolumeServerServer).VolumeEcShardsRebuild(ctx, in)
  2423. }
  2424. info := &grpc.UnaryServerInfo{
  2425. Server: srv,
  2426. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsRebuild",
  2427. }
  2428. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2429. return srv.(VolumeServerServer).VolumeEcShardsRebuild(ctx, req.(*VolumeEcShardsRebuildRequest))
  2430. }
  2431. return interceptor(ctx, in, info, handler)
  2432. }
  2433. func _VolumeServer_VolumeEcShardsCopy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2434. in := new(VolumeEcShardsCopyRequest)
  2435. if err := dec(in); err != nil {
  2436. return nil, err
  2437. }
  2438. if interceptor == nil {
  2439. return srv.(VolumeServerServer).VolumeEcShardsCopy(ctx, in)
  2440. }
  2441. info := &grpc.UnaryServerInfo{
  2442. Server: srv,
  2443. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsCopy",
  2444. }
  2445. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2446. return srv.(VolumeServerServer).VolumeEcShardsCopy(ctx, req.(*VolumeEcShardsCopyRequest))
  2447. }
  2448. return interceptor(ctx, in, info, handler)
  2449. }
  2450. func _VolumeServer_VolumeEcShardsDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2451. in := new(VolumeEcShardsDeleteRequest)
  2452. if err := dec(in); err != nil {
  2453. return nil, err
  2454. }
  2455. if interceptor == nil {
  2456. return srv.(VolumeServerServer).VolumeEcShardsDelete(ctx, in)
  2457. }
  2458. info := &grpc.UnaryServerInfo{
  2459. Server: srv,
  2460. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsDelete",
  2461. }
  2462. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2463. return srv.(VolumeServerServer).VolumeEcShardsDelete(ctx, req.(*VolumeEcShardsDeleteRequest))
  2464. }
  2465. return interceptor(ctx, in, info, handler)
  2466. }
  2467. func _VolumeServer_VolumeEcShardsMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2468. in := new(VolumeEcShardsMountRequest)
  2469. if err := dec(in); err != nil {
  2470. return nil, err
  2471. }
  2472. if interceptor == nil {
  2473. return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, in)
  2474. }
  2475. info := &grpc.UnaryServerInfo{
  2476. Server: srv,
  2477. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsMount",
  2478. }
  2479. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2480. return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, req.(*VolumeEcShardsMountRequest))
  2481. }
  2482. return interceptor(ctx, in, info, handler)
  2483. }
  2484. func _VolumeServer_VolumeEcShardsUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2485. in := new(VolumeEcShardsUnmountRequest)
  2486. if err := dec(in); err != nil {
  2487. return nil, err
  2488. }
  2489. if interceptor == nil {
  2490. return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, in)
  2491. }
  2492. info := &grpc.UnaryServerInfo{
  2493. Server: srv,
  2494. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount",
  2495. }
  2496. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2497. return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, req.(*VolumeEcShardsUnmountRequest))
  2498. }
  2499. return interceptor(ctx, in, info, handler)
  2500. }
  2501. func _VolumeServer_VolumeEcShardRead_Handler(srv interface{}, stream grpc.ServerStream) error {
  2502. m := new(VolumeEcShardReadRequest)
  2503. if err := stream.RecvMsg(m); err != nil {
  2504. return err
  2505. }
  2506. return srv.(VolumeServerServer).VolumeEcShardRead(m, &volumeServerVolumeEcShardReadServer{stream})
  2507. }
  2508. type VolumeServer_VolumeEcShardReadServer interface {
  2509. Send(*VolumeEcShardReadResponse) error
  2510. grpc.ServerStream
  2511. }
  2512. type volumeServerVolumeEcShardReadServer struct {
  2513. grpc.ServerStream
  2514. }
  2515. func (x *volumeServerVolumeEcShardReadServer) Send(m *VolumeEcShardReadResponse) error {
  2516. return x.ServerStream.SendMsg(m)
  2517. }
  2518. func _VolumeServer_VolumeEcBlobDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2519. in := new(VolumeEcBlobDeleteRequest)
  2520. if err := dec(in); err != nil {
  2521. return nil, err
  2522. }
  2523. if interceptor == nil {
  2524. return srv.(VolumeServerServer).VolumeEcBlobDelete(ctx, in)
  2525. }
  2526. info := &grpc.UnaryServerInfo{
  2527. Server: srv,
  2528. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcBlobDelete",
  2529. }
  2530. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2531. return srv.(VolumeServerServer).VolumeEcBlobDelete(ctx, req.(*VolumeEcBlobDeleteRequest))
  2532. }
  2533. return interceptor(ctx, in, info, handler)
  2534. }
  2535. func _VolumeServer_VolumeTierCopyDatToRemote_Handler(srv interface{}, stream grpc.ServerStream) error {
  2536. m := new(VolumeTierCopyDatToRemoteRequest)
  2537. if err := stream.RecvMsg(m); err != nil {
  2538. return err
  2539. }
  2540. return srv.(VolumeServerServer).VolumeTierCopyDatToRemote(m, &volumeServerVolumeTierCopyDatToRemoteServer{stream})
  2541. }
  2542. type VolumeServer_VolumeTierCopyDatToRemoteServer interface {
  2543. Send(*VolumeTierCopyDatToRemoteResponse) error
  2544. grpc.ServerStream
  2545. }
  2546. type volumeServerVolumeTierCopyDatToRemoteServer struct {
  2547. grpc.ServerStream
  2548. }
  2549. func (x *volumeServerVolumeTierCopyDatToRemoteServer) Send(m *VolumeTierCopyDatToRemoteResponse) error {
  2550. return x.ServerStream.SendMsg(m)
  2551. }
  2552. func _VolumeServer_Query_Handler(srv interface{}, stream grpc.ServerStream) error {
  2553. m := new(QueryRequest)
  2554. if err := stream.RecvMsg(m); err != nil {
  2555. return err
  2556. }
  2557. return srv.(VolumeServerServer).Query(m, &volumeServerQueryServer{stream})
  2558. }
  2559. type VolumeServer_QueryServer interface {
  2560. Send(*QueriedStripe) error
  2561. grpc.ServerStream
  2562. }
  2563. type volumeServerQueryServer struct {
  2564. grpc.ServerStream
  2565. }
  2566. func (x *volumeServerQueryServer) Send(m *QueriedStripe) error {
  2567. return x.ServerStream.SendMsg(m)
  2568. }
  2569. var _VolumeServer_serviceDesc = grpc.ServiceDesc{
  2570. ServiceName: "volume_server_pb.VolumeServer",
  2571. HandlerType: (*VolumeServerServer)(nil),
  2572. Methods: []grpc.MethodDesc{
  2573. {
  2574. MethodName: "BatchDelete",
  2575. Handler: _VolumeServer_BatchDelete_Handler,
  2576. },
  2577. {
  2578. MethodName: "VacuumVolumeCheck",
  2579. Handler: _VolumeServer_VacuumVolumeCheck_Handler,
  2580. },
  2581. {
  2582. MethodName: "VacuumVolumeCompact",
  2583. Handler: _VolumeServer_VacuumVolumeCompact_Handler,
  2584. },
  2585. {
  2586. MethodName: "VacuumVolumeCommit",
  2587. Handler: _VolumeServer_VacuumVolumeCommit_Handler,
  2588. },
  2589. {
  2590. MethodName: "VacuumVolumeCleanup",
  2591. Handler: _VolumeServer_VacuumVolumeCleanup_Handler,
  2592. },
  2593. {
  2594. MethodName: "DeleteCollection",
  2595. Handler: _VolumeServer_DeleteCollection_Handler,
  2596. },
  2597. {
  2598. MethodName: "AllocateVolume",
  2599. Handler: _VolumeServer_AllocateVolume_Handler,
  2600. },
  2601. {
  2602. MethodName: "VolumeSyncStatus",
  2603. Handler: _VolumeServer_VolumeSyncStatus_Handler,
  2604. },
  2605. {
  2606. MethodName: "VolumeMount",
  2607. Handler: _VolumeServer_VolumeMount_Handler,
  2608. },
  2609. {
  2610. MethodName: "VolumeUnmount",
  2611. Handler: _VolumeServer_VolumeUnmount_Handler,
  2612. },
  2613. {
  2614. MethodName: "VolumeDelete",
  2615. Handler: _VolumeServer_VolumeDelete_Handler,
  2616. },
  2617. {
  2618. MethodName: "VolumeMarkReadonly",
  2619. Handler: _VolumeServer_VolumeMarkReadonly_Handler,
  2620. },
  2621. {
  2622. MethodName: "VolumeCopy",
  2623. Handler: _VolumeServer_VolumeCopy_Handler,
  2624. },
  2625. {
  2626. MethodName: "ReadVolumeFileStatus",
  2627. Handler: _VolumeServer_ReadVolumeFileStatus_Handler,
  2628. },
  2629. {
  2630. MethodName: "VolumeTailReceiver",
  2631. Handler: _VolumeServer_VolumeTailReceiver_Handler,
  2632. },
  2633. {
  2634. MethodName: "VolumeEcShardsGenerate",
  2635. Handler: _VolumeServer_VolumeEcShardsGenerate_Handler,
  2636. },
  2637. {
  2638. MethodName: "VolumeEcShardsRebuild",
  2639. Handler: _VolumeServer_VolumeEcShardsRebuild_Handler,
  2640. },
  2641. {
  2642. MethodName: "VolumeEcShardsCopy",
  2643. Handler: _VolumeServer_VolumeEcShardsCopy_Handler,
  2644. },
  2645. {
  2646. MethodName: "VolumeEcShardsDelete",
  2647. Handler: _VolumeServer_VolumeEcShardsDelete_Handler,
  2648. },
  2649. {
  2650. MethodName: "VolumeEcShardsMount",
  2651. Handler: _VolumeServer_VolumeEcShardsMount_Handler,
  2652. },
  2653. {
  2654. MethodName: "VolumeEcShardsUnmount",
  2655. Handler: _VolumeServer_VolumeEcShardsUnmount_Handler,
  2656. },
  2657. {
  2658. MethodName: "VolumeEcBlobDelete",
  2659. Handler: _VolumeServer_VolumeEcBlobDelete_Handler,
  2660. },
  2661. },
  2662. Streams: []grpc.StreamDesc{
  2663. {
  2664. StreamName: "VolumeIncrementalCopy",
  2665. Handler: _VolumeServer_VolumeIncrementalCopy_Handler,
  2666. ServerStreams: true,
  2667. },
  2668. {
  2669. StreamName: "CopyFile",
  2670. Handler: _VolumeServer_CopyFile_Handler,
  2671. ServerStreams: true,
  2672. },
  2673. {
  2674. StreamName: "VolumeTailSender",
  2675. Handler: _VolumeServer_VolumeTailSender_Handler,
  2676. ServerStreams: true,
  2677. },
  2678. {
  2679. StreamName: "VolumeEcShardRead",
  2680. Handler: _VolumeServer_VolumeEcShardRead_Handler,
  2681. ServerStreams: true,
  2682. },
  2683. {
  2684. StreamName: "VolumeTierCopyDatToRemote",
  2685. Handler: _VolumeServer_VolumeTierCopyDatToRemote_Handler,
  2686. ServerStreams: true,
  2687. },
  2688. {
  2689. StreamName: "Query",
  2690. Handler: _VolumeServer_Query_Handler,
  2691. ServerStreams: true,
  2692. },
  2693. },
  2694. Metadata: "volume_server.proto",
  2695. }
  2696. func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) }
  2697. var fileDescriptor0 = []byte{
  2698. // 2735 bytes of a gzipped FileDescriptorProto
  2699. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x3a, 0xcd, 0x73, 0x1c, 0x47,
  2700. 0xf5, 0x5a, 0xaf, 0x64, 0xed, 0xbe, 0x5d, 0x59, 0x72, 0x4b, 0x91, 0x37, 0x23, 0x4b, 0x56, 0x26,
  2701. 0x5f, 0x92, 0x13, 0xcb, 0x8e, 0xf2, 0xfb, 0x91, 0x90, 0x10, 0xc0, 0x96, 0x6c, 0x30, 0x89, 0xe5,
  2702. 0x64, 0xe4, 0x98, 0x40, 0x52, 0x4c, 0xb5, 0x66, 0x5a, 0xd6, 0xa0, 0x99, 0xe9, 0xf1, 0x4c, 0xaf,
  2703. 0xe2, 0x75, 0xc1, 0x29, 0x1c, 0xb8, 0xf0, 0x07, 0x70, 0xe6, 0xce, 0x89, 0x2a, 0xaa, 0xb8, 0x72,
  2704. 0xc9, 0x1f, 0x00, 0x57, 0x2e, 0x9c, 0x39, 0x70, 0xa3, 0x8a, 0x0b, 0xd5, 0x5f, 0xb3, 0xf3, 0xa9,
  2705. 0x1d, 0xc5, 0xae, 0xa2, 0xb8, 0xf5, 0xbc, 0x7e, 0x1f, 0xfd, 0x5e, 0xbf, 0xf7, 0xfa, 0x75, 0xbf,
  2706. 0x81, 0xc5, 0x13, 0xea, 0x0f, 0x03, 0x62, 0x27, 0x24, 0x3e, 0x21, 0xf1, 0x56, 0x14, 0x53, 0x46,
  2707. 0xd1, 0x42, 0x0e, 0x68, 0x47, 0x07, 0xe6, 0x75, 0x40, 0xb7, 0x30, 0x73, 0x8e, 0x76, 0x89, 0x4f,
  2708. 0x18, 0xb1, 0xc8, 0xe3, 0x21, 0x49, 0x18, 0x7a, 0x11, 0x3a, 0x87, 0x9e, 0x4f, 0x6c, 0xcf, 0x4d,
  2709. 0x06, 0xad, 0xf5, 0xf6, 0x46, 0xd7, 0x9a, 0xe5, 0xdf, 0x77, 0xdd, 0xc4, 0xbc, 0x0f, 0x8b, 0x39,
  2710. 0x82, 0x24, 0xa2, 0x61, 0x42, 0xd0, 0xbb, 0x30, 0x1b, 0x93, 0x64, 0xe8, 0x33, 0x49, 0xd0, 0xdb,
  2711. 0x5e, 0xdb, 0x2a, 0xca, 0xda, 0x4a, 0x49, 0x86, 0x3e, 0xb3, 0x34, 0xba, 0xf9, 0x55, 0x0b, 0xfa,
  2712. 0xd9, 0x19, 0x74, 0x09, 0x66, 0x95, 0xf0, 0x41, 0x6b, 0xbd, 0xb5, 0xd1, 0xb5, 0xce, 0x4b, 0xd9,
  2713. 0x68, 0x19, 0xce, 0x27, 0x0c, 0xb3, 0x61, 0x32, 0x38, 0xb7, 0xde, 0xda, 0x98, 0xb1, 0xd4, 0x17,
  2714. 0x5a, 0x82, 0x19, 0x12, 0xc7, 0x34, 0x1e, 0xb4, 0x05, 0xba, 0xfc, 0x40, 0x08, 0xa6, 0x13, 0xef,
  2715. 0x29, 0x19, 0x4c, 0xaf, 0xb7, 0x36, 0xe6, 0x2c, 0x31, 0x46, 0x03, 0x98, 0x3d, 0x21, 0x71, 0xe2,
  2716. 0xd1, 0x70, 0x30, 0x23, 0xc0, 0xfa, 0xd3, 0x9c, 0x85, 0x99, 0xdb, 0x41, 0xc4, 0x46, 0xe6, 0x3b,
  2717. 0x30, 0x78, 0x88, 0x9d, 0xe1, 0x30, 0x78, 0x28, 0x96, 0xbf, 0x73, 0x44, 0x9c, 0x63, 0x6d, 0x96,
  2718. 0x15, 0xe8, 0x2a, 0xa5, 0xd4, 0xda, 0xe6, 0xac, 0x8e, 0x04, 0xdc, 0x75, 0xcd, 0xef, 0xc3, 0x8b,
  2719. 0x15, 0x84, 0xca, 0x3c, 0x2f, 0xc3, 0xdc, 0x23, 0x1c, 0x1f, 0xe0, 0x47, 0xc4, 0x8e, 0x31, 0xf3,
  2720. 0xa8, 0xa0, 0x6e, 0x59, 0x7d, 0x05, 0xb4, 0x38, 0xcc, 0xfc, 0x1c, 0x8c, 0x1c, 0x07, 0x1a, 0x44,
  2721. 0xd8, 0x61, 0x4d, 0x84, 0xa3, 0x75, 0xe8, 0x45, 0x31, 0xc1, 0xbe, 0x4f, 0x1d, 0xcc, 0x88, 0xb0,
  2722. 0x4f, 0xdb, 0xca, 0x82, 0xcc, 0x55, 0x58, 0xa9, 0x64, 0x2e, 0x17, 0x68, 0xbe, 0x5b, 0x58, 0x3d,
  2723. 0x0d, 0x02, 0xaf, 0x91, 0x68, 0xf3, 0x72, 0x69, 0xd5, 0x82, 0x52, 0xf1, 0xfd, 0x76, 0x61, 0xd6,
  2724. 0x27, 0x38, 0x1c, 0x46, 0x8d, 0x18, 0x17, 0x57, 0xac, 0x49, 0x53, 0xce, 0x97, 0xa4, 0xdb, 0xec,
  2725. 0x50, 0xdf, 0x27, 0x0e, 0xf3, 0x68, 0xa8, 0xd9, 0xae, 0x01, 0x38, 0x29, 0x50, 0x39, 0x51, 0x06,
  2726. 0x62, 0x1a, 0x30, 0x28, 0x93, 0x2a, 0xb6, 0x7f, 0x6b, 0xc1, 0x0b, 0x37, 0x95, 0xd1, 0xa4, 0xe0,
  2727. 0x46, 0x1b, 0x90, 0x17, 0x79, 0xae, 0x28, 0xb2, 0xb8, 0x41, 0xed, 0xd2, 0x06, 0x71, 0x8c, 0x98,
  2728. 0x44, 0xbe, 0xe7, 0x60, 0xc1, 0x62, 0x5a, 0xb0, 0xc8, 0x82, 0xd0, 0x02, 0xb4, 0x19, 0xf3, 0x85,
  2729. 0xe7, 0x76, 0x2d, 0x3e, 0x44, 0xdb, 0xb0, 0x1c, 0x90, 0x80, 0xc6, 0x23, 0x3b, 0xc0, 0x91, 0x1d,
  2730. 0xe0, 0x27, 0x36, 0x77, 0x73, 0x3b, 0x38, 0x18, 0x9c, 0x17, 0xeb, 0x43, 0x72, 0xf6, 0x1e, 0x8e,
  2731. 0xee, 0xe1, 0x27, 0xfb, 0xde, 0x53, 0x72, 0xef, 0xc0, 0x1c, 0xc0, 0x72, 0x51, 0x3f, 0xa5, 0xfa,
  2732. 0xb7, 0xe0, 0x92, 0x84, 0xec, 0x8f, 0x42, 0x67, 0x5f, 0xc4, 0x56, 0xa3, 0x8d, 0xfa, 0x77, 0x0b,
  2733. 0x06, 0x65, 0x42, 0xe5, 0xf9, 0xcf, 0x6a, 0xb5, 0x33, 0xdb, 0xe4, 0x0a, 0xf4, 0x18, 0xf6, 0x7c,
  2734. 0x9b, 0x1e, 0x1e, 0x26, 0x84, 0x09, 0x43, 0x4c, 0x5b, 0xc0, 0x41, 0xf7, 0x05, 0x04, 0x6d, 0xc2,
  2735. 0x82, 0x23, 0xbd, 0xdf, 0x8e, 0xc9, 0x89, 0x27, 0xb2, 0xc1, 0xac, 0x58, 0xd8, 0xbc, 0xa3, 0xa3,
  2736. 0x42, 0x82, 0x91, 0x09, 0x73, 0x9e, 0xfb, 0xc4, 0x16, 0xe9, 0x48, 0x24, 0x93, 0x8e, 0xe0, 0xd6,
  2737. 0xf3, 0xdc, 0x27, 0x77, 0x3c, 0x9f, 0x70, 0x8b, 0x9a, 0x0f, 0xe1, 0xb2, 0x54, 0xfe, 0x6e, 0xe8,
  2738. 0xc4, 0x24, 0x20, 0x21, 0xc3, 0xfe, 0x0e, 0x8d, 0x46, 0x8d, 0xdc, 0xe6, 0x45, 0xe8, 0x24, 0x5e,
  2739. 0xe8, 0x10, 0x3b, 0x94, 0x49, 0x6d, 0xda, 0x9a, 0x15, 0xdf, 0x7b, 0x89, 0x79, 0x0b, 0x56, 0x6b,
  2740. 0xf8, 0x2a, 0xcb, 0xbe, 0x04, 0x7d, 0xb1, 0x30, 0x87, 0x86, 0x8c, 0x84, 0x4c, 0xf0, 0xee, 0x5b,
  2741. 0x3d, 0x0e, 0xdb, 0x91, 0x20, 0xf3, 0x2d, 0x40, 0x92, 0xc7, 0x3d, 0x3a, 0x0c, 0x9b, 0x85, 0xf3,
  2742. 0x0b, 0xb0, 0x98, 0x23, 0x51, 0xbe, 0xf1, 0x36, 0x2c, 0x49, 0xf0, 0xa7, 0x61, 0xd0, 0x98, 0xd7,
  2743. 0x25, 0x78, 0xa1, 0x40, 0xa4, 0xb8, 0x6d, 0x6b, 0x21, 0xf9, 0x63, 0xe7, 0x54, 0x66, 0xcb, 0x7a,
  2744. 0x05, 0xf9, 0x93, 0x47, 0x64, 0x2e, 0xb9, 0x60, 0x1c, 0x1f, 0x5b, 0x04, 0xbb, 0x34, 0xf4, 0x47,
  2745. 0x8d, 0x33, 0x57, 0x05, 0xa5, 0xe2, 0xfb, 0xfb, 0x16, 0x5c, 0xd4, 0x29, 0xad, 0xe1, 0x6e, 0x9e,
  2746. 0xd1, 0x9d, 0xdb, 0xb5, 0xee, 0x3c, 0x3d, 0x76, 0xe7, 0x0d, 0x58, 0x48, 0xe8, 0x30, 0x76, 0x88,
  2747. 0xed, 0x62, 0x86, 0xed, 0x90, 0xba, 0x44, 0x79, 0xfb, 0x05, 0x09, 0xdf, 0xc5, 0x0c, 0xef, 0x51,
  2748. 0x97, 0x98, 0xdf, 0xd3, 0x9b, 0x9d, 0xf3, 0x92, 0x4d, 0xb8, 0xe8, 0xe3, 0x84, 0xd9, 0x38, 0x8a,
  2749. 0x48, 0xe8, 0xda, 0x98, 0x71, 0x57, 0x6b, 0x09, 0x57, 0xbb, 0xc0, 0x27, 0x6e, 0x0a, 0xf8, 0x4d,
  2750. 0xb6, 0x97, 0x98, 0x7f, 0x69, 0xc1, 0x3c, 0xa7, 0xe5, 0xae, 0xdd, 0x48, 0xdf, 0x05, 0x68, 0x93,
  2751. 0x27, 0x4c, 0x29, 0xca, 0x87, 0xe8, 0x3a, 0x2c, 0xaa, 0x18, 0xf2, 0x68, 0x38, 0x0e, 0xaf, 0xb6,
  2752. 0xcc, 0x46, 0xe3, 0xa9, 0x34, 0xc2, 0xae, 0x40, 0x2f, 0x61, 0x34, 0xd2, 0xd1, 0x3a, 0x2d, 0xa3,
  2753. 0x95, 0x83, 0x54, 0xb4, 0xe6, 0x6d, 0x3a, 0x53, 0x61, 0xd3, 0xbe, 0x97, 0xd8, 0xc4, 0xb1, 0xe5,
  2754. 0xaa, 0x44, 0xbc, 0x77, 0x2c, 0xf0, 0x92, 0xdb, 0x8e, 0xb4, 0x86, 0xf9, 0xff, 0xb0, 0x30, 0xd6,
  2755. 0xaa, 0x79, 0xec, 0x7c, 0xd5, 0xd2, 0xe9, 0xf0, 0x01, 0xf6, 0xfc, 0x7d, 0x12, 0xba, 0x24, 0x7e,
  2756. 0xc6, 0x98, 0x46, 0x37, 0x60, 0xc9, 0x73, 0x7d, 0x62, 0x33, 0x2f, 0x20, 0x74, 0xc8, 0xec, 0x84,
  2757. 0x38, 0x34, 0x74, 0x13, 0x6d, 0x1f, 0x3e, 0xf7, 0x40, 0x4e, 0xed, 0xcb, 0x19, 0xf3, 0x57, 0x69,
  2758. 0x6e, 0xcd, 0xae, 0x62, 0x5c, 0x55, 0x84, 0x84, 0x70, 0x86, 0x47, 0x04, 0xbb, 0x24, 0x56, 0x6a,
  2759. 0xf4, 0x25, 0xf0, 0x87, 0x02, 0xc6, 0x2d, 0xac, 0x90, 0x0e, 0xa8, 0x3b, 0x12, 0x2b, 0xea, 0x5b,
  2760. 0x20, 0x41, 0xb7, 0xa8, 0x3b, 0x12, 0x49, 0x2e, 0xb1, 0x85, 0x93, 0x38, 0x47, 0xc3, 0xf0, 0x58,
  2761. 0xac, 0xa6, 0x63, 0xf5, 0xbc, 0xe4, 0x23, 0x9c, 0xb0, 0x1d, 0x0e, 0x32, 0xff, 0xd8, 0xd2, 0x51,
  2762. 0xc6, 0x97, 0x61, 0x11, 0x87, 0x78, 0x27, 0xff, 0x05, 0x73, 0x70, 0x0a, 0x15, 0x0d, 0xb9, 0xea,
  2763. 0x52, 0x05, 0x0c, 0x92, 0x73, 0xea, 0x2c, 0x12, 0x33, 0xe3, 0x20, 0xcf, 0x2f, 0x5c, 0x05, 0xf9,
  2764. 0x17, 0x3a, 0xc9, 0xde, 0x76, 0xf6, 0x8f, 0x70, 0xec, 0x26, 0x3f, 0x20, 0x21, 0x89, 0x31, 0x7b,
  2765. 0x2e, 0x87, 0xbe, 0xb9, 0x0e, 0x6b, 0x75, 0xdc, 0x95, 0xfc, 0xcf, 0xf5, 0xe1, 0xa1, 0x31, 0x2c,
  2766. 0x72, 0x30, 0xf4, 0x7c, 0xf7, 0xb9, 0x88, 0xff, 0xb0, 0xa8, 0x5c, 0xca, 0x5c, 0xf9, 0xcf, 0x55,
  2767. 0xb8, 0x18, 0x0b, 0x10, 0xb3, 0x13, 0x8e, 0x90, 0xd6, 0xfb, 0x73, 0xd6, 0xbc, 0x9a, 0x10, 0x84,
  2768. 0xbc, 0xee, 0xff, 0x73, 0xea, 0x01, 0x9a, 0xdb, 0x73, 0x4b, 0x8b, 0x2b, 0xd0, 0x1d, 0x8b, 0x6f,
  2769. 0x0b, 0xf1, 0x9d, 0x44, 0xc9, 0xe5, 0xde, 0xe9, 0xd0, 0x68, 0x64, 0x13, 0x47, 0x9e, 0xc3, 0x62,
  2770. 0xab, 0x3b, 0x56, 0x8f, 0x03, 0x6f, 0x3b, 0xe2, 0x18, 0x3e, 0x43, 0x8e, 0x4c, 0xbd, 0x21, 0xaf,
  2771. 0x84, 0xda, 0x8d, 0x2f, 0x61, 0x25, 0x3f, 0xdb, 0xfc, 0x78, 0x7a, 0x26, 0x25, 0xcd, 0xb5, 0xa2,
  2772. 0x1b, 0x14, 0xce, 0xb8, 0x93, 0xe2, 0xb2, 0x1b, 0x9f, 0xe7, 0xcf, 0xb6, 0xae, 0xd5, 0xa2, 0x41,
  2773. 0xf2, 0x45, 0xc1, 0x67, 0xc5, 0x65, 0x9f, 0xa1, 0x38, 0x38, 0x5d, 0xf0, 0x95, 0xa2, 0xeb, 0x16,
  2774. 0x2b, 0x88, 0xdf, 0xa6, 0x79, 0x51, 0x61, 0xf0, 0xf3, 0xbb, 0x71, 0x3e, 0x52, 0x72, 0x85, 0x39,
  2775. 0xe6, 0xac, 0x59, 0x25, 0x96, 0x5f, 0x30, 0xd5, 0x39, 0x24, 0xeb, 0x73, 0xf5, 0x95, 0xbb, 0x4a,
  2776. 0xb6, 0xd5, 0x55, 0x52, 0x5f, 0x91, 0x8f, 0xc9, 0x48, 0xf8, 0xda, 0xb4, 0xbc, 0x22, 0x7f, 0x48,
  2777. 0x46, 0xe6, 0x5e, 0x21, 0x52, 0xe4, 0xd2, 0x54, 0xcc, 0x21, 0x98, 0xe6, 0x4e, 0xaa, 0x52, 0xb5,
  2778. 0x18, 0xa3, 0x55, 0x00, 0x2f, 0xb1, 0x5d, 0xb1, 0xe7, 0x72, 0x51, 0x1d, 0xab, 0xeb, 0x29, 0x27,
  2779. 0x70, 0xcd, 0xdf, 0x64, 0x42, 0xef, 0x96, 0x4f, 0x0f, 0x9e, 0xa3, 0x57, 0x66, 0xb5, 0x68, 0xe7,
  2780. 0xb4, 0xc8, 0xde, 0x95, 0xa7, 0xf3, 0x77, 0xe5, 0x4c, 0x10, 0x65, 0x97, 0xa3, 0x76, 0xe6, 0x3d,
  2781. 0x58, 0xe1, 0x0a, 0x4b, 0x0c, 0x51, 0x25, 0x37, 0xbf, 0x49, 0xfc, 0xe3, 0x1c, 0x5c, 0xae, 0x26,
  2782. 0x6e, 0x72, 0x9b, 0x78, 0x1f, 0x8c, 0xb4, 0x5a, 0xe7, 0x47, 0x4a, 0xc2, 0x70, 0x10, 0xa5, 0x87,
  2783. 0x8a, 0x3c, 0x7b, 0x2e, 0xa9, 0xd2, 0xfd, 0x81, 0x9e, 0xd7, 0x27, 0x4b, 0xa9, 0xd4, 0x6f, 0x97,
  2784. 0x4a, 0x7d, 0x2e, 0xc0, 0xc5, 0xac, 0x4e, 0x80, 0xac, 0x5d, 0x2e, 0xb9, 0x98, 0xd5, 0x09, 0x48,
  2785. 0x89, 0x85, 0x00, 0xe9, 0x35, 0x3d, 0x85, 0x2f, 0x04, 0xac, 0x02, 0xa8, 0xb2, 0x64, 0x18, 0xea,
  2786. 0xab, 0x4b, 0x57, 0x16, 0x25, 0xc3, 0xb0, 0xb6, 0xba, 0x9a, 0xad, 0xad, 0xae, 0xf2, 0xdb, 0xdf,
  2787. 0x29, 0x9d, 0x10, 0x9f, 0x01, 0xec, 0x7a, 0xc9, 0xb1, 0x34, 0x32, 0x2f, 0xe7, 0x5c, 0x2f, 0x56,
  2788. 0xf7, 0x65, 0x3e, 0xe4, 0x10, 0xec, 0xfb, 0xca, 0x74, 0x7c, 0xc8, 0xdd, 0x77, 0x98, 0x10, 0x57,
  2789. 0x59, 0x47, 0x8c, 0x39, 0xec, 0x30, 0x26, 0x44, 0x19, 0x40, 0x8c, 0xcd, 0xdf, 0xb5, 0xa0, 0x7b,
  2790. 0x8f, 0x04, 0x8a, 0xf3, 0x1a, 0xc0, 0x23, 0x1a, 0xd3, 0x21, 0xf3, 0x42, 0x22, 0xab, 0xcf, 0x19,
  2791. 0x2b, 0x03, 0xf9, 0xe6, 0x72, 0x44, 0x68, 0x12, 0xff, 0x50, 0x19, 0x53, 0x8c, 0x39, 0xec, 0x88,
  2792. 0xe0, 0x48, 0xd9, 0x4f, 0x8c, 0xd1, 0x12, 0xcc, 0x24, 0x0c, 0x3b, 0xc7, 0xc2, 0x58, 0xd3, 0x96,
  2793. 0xfc, 0x30, 0xff, 0xd4, 0x02, 0xb0, 0x48, 0x40, 0x99, 0xf0, 0x35, 0x5e, 0x15, 0x1e, 0x60, 0xe7,
  2794. 0x98, 0xd7, 0xc9, 0x6c, 0x14, 0x11, 0x65, 0x89, 0x9e, 0x82, 0x3d, 0x18, 0x45, 0x62, 0x87, 0x34,
  2795. 0x8a, 0xca, 0x1f, 0x5d, 0xab, 0xab, 0x20, 0xb2, 0x22, 0xd6, 0xa1, 0xd4, 0xb5, 0xf8, 0x30, 0x93,
  2796. 0x53, 0xe4, 0xb2, 0x75, 0x4e, 0x59, 0x81, 0x6e, 0xd1, 0x15, 0x44, 0x28, 0x0a, 0x3f, 0x78, 0x19,
  2797. 0xe6, 0x02, 0xea, 0x7a, 0x87, 0x1e, 0x71, 0x85, 0xa3, 0x29, 0x55, 0xfa, 0x1a, 0xc8, 0x9d, 0xcb,
  2798. 0xdc, 0x85, 0x0b, 0xaa, 0xb2, 0xf1, 0x48, 0x7c, 0x37, 0x3c, 0xa4, 0x68, 0x1b, 0x66, 0x38, 0x0b,
  2799. 0xfd, 0x04, 0x77, 0xb9, 0xfc, 0x04, 0x37, 0x56, 0xd6, 0x92, 0xa8, 0xe6, 0xd7, 0x2d, 0x58, 0x1f,
  2800. 0xb3, 0xe1, 0xc7, 0xe1, 0x2e, 0x66, 0x0f, 0xa8, 0x44, 0x7c, 0x2e, 0x39, 0xe6, 0x5d, 0x18, 0xb8,
  2801. 0x24, 0x61, 0x5e, 0x28, 0xae, 0x38, 0xb6, 0x36, 0x5f, 0x88, 0x03, 0xa2, 0x0c, 0xb5, 0x9c, 0x99,
  2802. 0xbf, 0x25, 0xa7, 0xf7, 0x70, 0x40, 0xd0, 0x35, 0x58, 0x3c, 0x26, 0x24, 0xb2, 0x7d, 0xea, 0x60,
  2803. 0xdf, 0xd6, 0xd1, 0xa3, 0x2a, 0x80, 0x05, 0x3e, 0xf5, 0x11, 0x9f, 0xd9, 0x95, 0x11, 0x64, 0x26,
  2804. 0xf0, 0xd2, 0x29, 0x9a, 0xa8, 0x0c, 0x72, 0x19, 0xba, 0x51, 0x4c, 0x1d, 0x92, 0x70, 0xef, 0x6a,
  2805. 0x89, 0x84, 0x3e, 0x06, 0xa0, 0x1b, 0xb0, 0x98, 0x7e, 0x7c, 0x4c, 0x62, 0x87, 0xdf, 0xba, 0x1f,
  2806. 0xc9, 0xf7, 0xb4, 0x73, 0x56, 0xd5, 0x94, 0xf9, 0xaf, 0x3e, 0xf4, 0x3f, 0x19, 0x92, 0x78, 0x94,
  2807. 0x79, 0x7c, 0x4a, 0x88, 0xd2, 0x5d, 0xbf, 0x9e, 0x66, 0x20, 0x3c, 0x0f, 0x1c, 0xc6, 0x34, 0xb0,
  2808. 0xd3, 0x07, 0xd6, 0x73, 0x02, 0xa5, 0xc7, 0x81, 0x77, 0xe4, 0x23, 0x2b, 0xfa, 0x00, 0xce, 0x1f,
  2809. 0x7a, 0x3e, 0x23, 0xf2, 0x49, 0xb3, 0xb7, 0xfd, 0x6a, 0x79, 0x27, 0xb3, 0x32, 0xb7, 0xee, 0x08,
  2810. 0x64, 0x4b, 0x11, 0xa1, 0x03, 0x58, 0xf4, 0xc2, 0x48, 0x14, 0xd4, 0xb1, 0x87, 0x7d, 0xef, 0xe9,
  2811. 0xf8, 0xf9, 0xa4, 0xb7, 0xfd, 0xd6, 0x04, 0x5e, 0x77, 0x39, 0xe5, 0x7e, 0x96, 0xd0, 0x42, 0x5e,
  2812. 0x09, 0x86, 0x08, 0x2c, 0xd1, 0x21, 0x2b, 0x0b, 0x99, 0x11, 0x42, 0xb6, 0x27, 0x08, 0xb9, 0x2f,
  2813. 0x48, 0xf3, 0x52, 0x16, 0x69, 0x19, 0x68, 0xec, 0xc1, 0x79, 0xa9, 0x1c, 0x8f, 0xe0, 0x43, 0x8f,
  2814. 0xf8, 0xfa, 0x51, 0x58, 0x7e, 0xf0, 0x53, 0x8a, 0x46, 0x24, 0xc6, 0xa1, 0x0e, 0x46, 0xfd, 0xc9,
  2815. 0xf1, 0x4f, 0xb0, 0x3f, 0xd4, 0x3e, 0x26, 0x3f, 0x8c, 0xbf, 0xce, 0x00, 0x2a, 0x6b, 0xa8, 0xdf,
  2816. 0x84, 0x62, 0x92, 0xf0, 0xbc, 0x99, 0x8d, 0xfe, 0xf9, 0x0c, 0x5c, 0x64, 0x80, 0x1f, 0x43, 0xd7,
  2817. 0x49, 0x4e, 0x6c, 0x61, 0x12, 0x21, 0xb3, 0xb7, 0xfd, 0xde, 0x99, 0x4d, 0xba, 0xb5, 0xb3, 0xff,
  2818. 0x50, 0x40, 0xad, 0x8e, 0x93, 0x9c, 0x88, 0x11, 0xfa, 0x29, 0xc0, 0xcf, 0x13, 0x1a, 0x2a, 0xce,
  2819. 0x72, 0xe3, 0xdf, 0x3f, 0x3b, 0xe7, 0x1f, 0xed, 0xdf, 0xdf, 0x93, 0xac, 0xbb, 0x9c, 0x9d, 0xe4,
  2820. 0xed, 0xc0, 0x5c, 0x84, 0xe3, 0xc7, 0x43, 0xc2, 0x14, 0x7b, 0xe9, 0x0b, 0xdf, 0x3d, 0x3b, 0xfb,
  2821. 0x8f, 0x25, 0x1b, 0x29, 0xa1, 0x1f, 0x65, 0xbe, 0x8c, 0xaf, 0xcf, 0x41, 0x47, 0xeb, 0xc5, 0x6b,
  2822. 0x72, 0xe1, 0xe1, 0xf2, 0x66, 0x6a, 0x7b, 0xe1, 0x21, 0x55, 0x16, 0xbd, 0xc0, 0xe1, 0xf2, 0x72,
  2823. 0x2a, 0xb2, 0xd6, 0x26, 0x2c, 0xc4, 0xc4, 0xa1, 0xb1, 0xcb, 0x2b, 0x20, 0x2f, 0xf0, 0xb8, 0xdb,
  2824. 0xcb, 0xbd, 0x9c, 0x97, 0xf0, 0x5d, 0x0d, 0x46, 0xaf, 0xc3, 0xbc, 0xd8, 0xf6, 0x0c, 0x66, 0x5b,
  2825. 0xf3, 0x24, 0x7e, 0x06, 0x71, 0x13, 0x16, 0x1e, 0x0f, 0x29, 0x23, 0xb6, 0x73, 0x84, 0x63, 0xec,
  2826. 0x30, 0x9a, 0xde, 0x11, 0xe7, 0x05, 0x7c, 0x27, 0x05, 0xa3, 0xff, 0x83, 0x65, 0x89, 0x4a, 0x12,
  2827. 0x07, 0x47, 0x29, 0x05, 0x89, 0xd5, 0x15, 0x62, 0x49, 0xcc, 0xde, 0x16, 0x93, 0x3b, 0x7a, 0x0e,
  2828. 0x19, 0xd0, 0x71, 0x68, 0x10, 0x90, 0x90, 0x25, 0x22, 0x39, 0x77, 0xad, 0xf4, 0x1b, 0xdd, 0x84,
  2829. 0x55, 0xec, 0xfb, 0xf4, 0x4b, 0x5b, 0x50, 0xba, 0x76, 0x49, 0xbb, 0x59, 0x91, 0xc0, 0x0c, 0x81,
  2830. 0xf4, 0x89, 0xc0, 0xb1, 0xf2, 0x8a, 0x1a, 0x57, 0xa0, 0x9b, 0xee, 0x23, 0x3f, 0xcf, 0x32, 0x0e,
  2831. 0x29, 0xc6, 0xc6, 0x05, 0xe8, 0x67, 0x77, 0xc2, 0xf8, 0x67, 0x1b, 0x16, 0x2b, 0x82, 0x0a, 0x7d,
  2832. 0x0e, 0xc0, 0xbd, 0x55, 0x86, 0x96, 0x72, 0xd7, 0xef, 0x9c, 0x3d, 0x38, 0xb9, 0xbf, 0x4a, 0xb0,
  2833. 0xc5, 0xbd, 0x5f, 0x0e, 0xd1, 0xcf, 0xa0, 0x27, 0x3c, 0x56, 0x71, 0x97, 0x2e, 0xfb, 0xc1, 0x37,
  2834. 0xe0, 0xce, 0x75, 0x55, 0xec, 0x45, 0x0c, 0xc8, 0xb1, 0xf1, 0xf7, 0x16, 0x74, 0x53, 0xc1, 0xfc,
  2835. 0x74, 0x96, 0x1b, 0x25, 0xf6, 0x3a, 0xd1, 0xa7, 0xb3, 0x80, 0xdd, 0x11, 0xa0, 0xff, 0x49, 0x57,
  2836. 0x32, 0xde, 0x01, 0x18, 0xeb, 0x5f, 0xa9, 0x42, 0xab, 0x52, 0x05, 0x73, 0x13, 0xe6, 0xb8, 0x65,
  2837. 0x3d, 0xe2, 0xee, 0xb3, 0xd8, 0x8b, 0x44, 0x7b, 0x4b, 0xe2, 0x24, 0xea, 0x7a, 0xa1, 0x3f, 0xb7,
  2838. 0xff, 0x30, 0x80, 0x7e, 0xf6, 0x59, 0x04, 0x7d, 0x01, 0xbd, 0x4c, 0x1b, 0x0f, 0xbd, 0x52, 0xde,
  2839. 0xb4, 0x72, 0x5b, 0xd0, 0x78, 0x75, 0x02, 0x96, 0xba, 0x01, 0x4c, 0xa1, 0x10, 0x2e, 0x96, 0x7a,
  2840. 0x61, 0xe8, 0x6a, 0x99, 0xba, 0xae, 0xd3, 0x66, 0xbc, 0xd1, 0x08, 0x37, 0x95, 0xc7, 0x60, 0xb1,
  2841. 0xa2, 0xb9, 0x85, 0xde, 0x9c, 0xc0, 0x25, 0xd7, 0x60, 0x33, 0xae, 0x35, 0xc4, 0x4e, 0xa5, 0x3e,
  2842. 0x06, 0x54, 0xee, 0x7c, 0xa1, 0x37, 0x26, 0xb2, 0x19, 0x77, 0xd6, 0x8c, 0x37, 0x9b, 0x21, 0xd7,
  2843. 0x2a, 0x2a, 0x7b, 0x62, 0x13, 0x15, 0xcd, 0x75, 0xdd, 0x26, 0x2a, 0x5a, 0x68, 0xb4, 0x4d, 0xa1,
  2844. 0x63, 0x58, 0x28, 0xf6, 0xcb, 0xd0, 0x66, 0x5d, 0x7f, 0xb7, 0xd4, 0x8e, 0x33, 0xae, 0x36, 0x41,
  2845. 0x4d, 0x85, 0x11, 0xb8, 0x90, 0xef, 0x4f, 0xa1, 0xd7, 0xcb, 0xf4, 0x95, 0x1d, 0x3a, 0x63, 0x63,
  2846. 0x32, 0x62, 0x56, 0xa7, 0x62, 0xcf, 0xaa, 0x4a, 0xa7, 0x9a, 0x86, 0x58, 0x95, 0x4e, 0x75, 0x2d,
  2847. 0x30, 0x73, 0x0a, 0xfd, 0x42, 0x37, 0x42, 0x0a, 0xbd, 0x1c, 0xb4, 0x55, 0xc7, 0xa6, 0xba, 0x99,
  2848. 0x64, 0x5c, 0x6f, 0x8c, 0xaf, 0x65, 0xdf, 0x68, 0xf1, 0x58, 0xcf, 0xb4, 0x74, 0xaa, 0x62, 0xbd,
  2849. 0xdc, 0x24, 0xaa, 0x8a, 0xf5, 0xaa, 0xbe, 0xd0, 0x14, 0x3a, 0x80, 0xb9, 0x5c, 0x93, 0x07, 0xbd,
  2850. 0x56, 0x47, 0x99, 0x7f, 0x1d, 0x32, 0x5e, 0x9f, 0x88, 0x97, 0xca, 0xb0, 0x75, 0xf6, 0x52, 0xe9,
  2851. 0xaa, 0x76, 0x71, 0xf9, 0x7c, 0xf5, 0xda, 0x24, 0xb4, 0x5c, 0x28, 0x97, 0x5a, 0x41, 0x95, 0xa1,
  2852. 0x5c, 0xd7, 0x6a, 0xaa, 0x0c, 0xe5, 0xfa, 0xee, 0xd2, 0x14, 0xfa, 0x09, 0xc0, 0xb8, 0x5d, 0x83,
  2853. 0x5e, 0xae, 0xa3, 0xce, 0xee, 0xfe, 0x2b, 0xa7, 0x23, 0xa5, 0xac, 0xbf, 0x84, 0xa5, 0xaa, 0x57,
  2854. 0x14, 0x74, 0xad, 0xea, 0x42, 0x58, 0xfb, 0x54, 0x63, 0x6c, 0x35, 0x45, 0x4f, 0x05, 0x7f, 0x0a,
  2855. 0x1d, 0xdd, 0x6a, 0x41, 0x2f, 0x95, 0xa9, 0x0b, 0xcd, 0x25, 0xc3, 0x3c, 0x0d, 0x25, 0xe3, 0xc0,
  2856. 0x81, 0x8e, 0xd5, 0x71, 0x0f, 0xa4, 0x3e, 0x56, 0x4b, 0xdd, 0x9a, 0xfa, 0x58, 0x2d, 0xb7, 0x54,
  2857. 0x84, 0xb8, 0xd4, 0x19, 0xb2, 0x2d, 0x83, 0x7a, 0x67, 0xa8, 0xe8, 0x88, 0xd4, 0x3b, 0x43, 0x65,
  2858. 0x17, 0x62, 0x0a, 0xfd, 0x12, 0x96, 0xab, 0x3b, 0x05, 0xa8, 0x36, 0xe2, 0x6b, 0x3a, 0x16, 0xc6,
  2859. 0x8d, 0xe6, 0x04, 0xa9, 0xf8, 0xa7, 0x3a, 0x3f, 0x15, 0x3a, 0x05, 0xf5, 0xf9, 0xa9, 0xba, 0x5f,
  2860. 0x61, 0x5c, 0x6f, 0x8c, 0x5f, 0x0e, 0xbd, 0xec, 0x93, 0x7c, 0xbd, 0xb5, 0x2b, 0xba, 0x0f, 0xf5,
  2861. 0xd6, 0xae, 0x7c, 0xe5, 0x17, 0xf1, 0x51, 0xf5, 0xdc, 0x5e, 0x15, 0x1f, 0xa7, 0xf4, 0x03, 0x8c,
  2862. 0xad, 0xa6, 0xe8, 0xb9, 0xe3, 0xbb, 0xfc, 0x9e, 0x8e, 0x26, 0xae, 0x3f, 0x97, 0x99, 0xaf, 0x35,
  2863. 0xc4, 0xae, 0xdf, 0x5d, 0x9d, 0xa9, 0x27, 0x2a, 0x50, 0xc8, 0xd8, 0xd7, 0x1b, 0xe3, 0xa7, 0xb2,
  2864. 0x23, 0xdd, 0x44, 0xcf, 0xbc, 0x85, 0xa3, 0xab, 0x13, 0xf8, 0x64, 0xde, 0xf2, 0x8d, 0x37, 0x1a,
  2865. 0xe1, 0x56, 0x45, 0x6f, 0xf6, 0x75, 0xfa, 0x34, 0x7f, 0x2a, 0x3d, 0xa9, 0x9f, 0xe6, 0x4f, 0x15,
  2866. 0x0f, 0xde, 0x53, 0xe8, 0xd7, 0xe3, 0xee, 0x68, 0xf9, 0xe5, 0x09, 0x6d, 0xd7, 0xe6, 0x82, 0xda,
  2867. 0x07, 0x37, 0xe3, 0xed, 0x33, 0xd1, 0x64, 0xb4, 0xff, 0x08, 0x66, 0xc4, 0x6d, 0x0b, 0xad, 0x9d,
  2868. 0x7e, 0x0d, 0x33, 0xae, 0x54, 0xcf, 0xa7, 0x97, 0x09, 0xce, 0xed, 0xe0, 0xbc, 0xf8, 0x6d, 0xf0,
  2869. 0xed, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x85, 0xda, 0x2e, 0x4d, 0x28, 0x00, 0x00,
  2870. }