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.

1519 lines
58 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  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. VolumeFollowRequest
  28. VolumeFollowResponse
  29. VolumeMountRequest
  30. VolumeMountResponse
  31. VolumeUnmountRequest
  32. VolumeUnmountResponse
  33. VolumeDeleteRequest
  34. VolumeDeleteResponse
  35. ReplicateVolumeRequest
  36. ReplicateVolumeResponse
  37. CopyFileRequest
  38. CopyFileResponse
  39. ReadVolumeFileStatusRequest
  40. ReadVolumeFileStatusResponse
  41. DiskStatus
  42. MemStatus
  43. */
  44. package volume_server_pb
  45. import proto "github.com/golang/protobuf/proto"
  46. import fmt "fmt"
  47. import math "math"
  48. import (
  49. context "golang.org/x/net/context"
  50. grpc "google.golang.org/grpc"
  51. )
  52. // Reference imports to suppress errors if they are not otherwise used.
  53. var _ = proto.Marshal
  54. var _ = fmt.Errorf
  55. var _ = math.Inf
  56. // This is a compile-time assertion to ensure that this generated file
  57. // is compatible with the proto package it is being compiled against.
  58. // A compilation error at this line likely means your copy of the
  59. // proto package needs to be updated.
  60. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  61. type BatchDeleteRequest struct {
  62. FileIds []string `protobuf:"bytes,1,rep,name=file_ids,json=fileIds" json:"file_ids,omitempty"`
  63. }
  64. func (m *BatchDeleteRequest) Reset() { *m = BatchDeleteRequest{} }
  65. func (m *BatchDeleteRequest) String() string { return proto.CompactTextString(m) }
  66. func (*BatchDeleteRequest) ProtoMessage() {}
  67. func (*BatchDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  68. func (m *BatchDeleteRequest) GetFileIds() []string {
  69. if m != nil {
  70. return m.FileIds
  71. }
  72. return nil
  73. }
  74. type BatchDeleteResponse struct {
  75. Results []*DeleteResult `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
  76. }
  77. func (m *BatchDeleteResponse) Reset() { *m = BatchDeleteResponse{} }
  78. func (m *BatchDeleteResponse) String() string { return proto.CompactTextString(m) }
  79. func (*BatchDeleteResponse) ProtoMessage() {}
  80. func (*BatchDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  81. func (m *BatchDeleteResponse) GetResults() []*DeleteResult {
  82. if m != nil {
  83. return m.Results
  84. }
  85. return nil
  86. }
  87. type DeleteResult struct {
  88. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
  89. Status int32 `protobuf:"varint,2,opt,name=status" json:"status,omitempty"`
  90. Error string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
  91. Size uint32 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
  92. }
  93. func (m *DeleteResult) Reset() { *m = DeleteResult{} }
  94. func (m *DeleteResult) String() string { return proto.CompactTextString(m) }
  95. func (*DeleteResult) ProtoMessage() {}
  96. func (*DeleteResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  97. func (m *DeleteResult) GetFileId() string {
  98. if m != nil {
  99. return m.FileId
  100. }
  101. return ""
  102. }
  103. func (m *DeleteResult) GetStatus() int32 {
  104. if m != nil {
  105. return m.Status
  106. }
  107. return 0
  108. }
  109. func (m *DeleteResult) GetError() string {
  110. if m != nil {
  111. return m.Error
  112. }
  113. return ""
  114. }
  115. func (m *DeleteResult) GetSize() uint32 {
  116. if m != nil {
  117. return m.Size
  118. }
  119. return 0
  120. }
  121. type Empty struct {
  122. }
  123. func (m *Empty) Reset() { *m = Empty{} }
  124. func (m *Empty) String() string { return proto.CompactTextString(m) }
  125. func (*Empty) ProtoMessage() {}
  126. func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  127. type VacuumVolumeCheckRequest struct {
  128. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  129. }
  130. func (m *VacuumVolumeCheckRequest) Reset() { *m = VacuumVolumeCheckRequest{} }
  131. func (m *VacuumVolumeCheckRequest) String() string { return proto.CompactTextString(m) }
  132. func (*VacuumVolumeCheckRequest) ProtoMessage() {}
  133. func (*VacuumVolumeCheckRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
  134. func (m *VacuumVolumeCheckRequest) GetVolumeId() uint32 {
  135. if m != nil {
  136. return m.VolumeId
  137. }
  138. return 0
  139. }
  140. type VacuumVolumeCheckResponse struct {
  141. GarbageRatio float64 `protobuf:"fixed64,1,opt,name=garbage_ratio,json=garbageRatio" json:"garbage_ratio,omitempty"`
  142. }
  143. func (m *VacuumVolumeCheckResponse) Reset() { *m = VacuumVolumeCheckResponse{} }
  144. func (m *VacuumVolumeCheckResponse) String() string { return proto.CompactTextString(m) }
  145. func (*VacuumVolumeCheckResponse) ProtoMessage() {}
  146. func (*VacuumVolumeCheckResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
  147. func (m *VacuumVolumeCheckResponse) GetGarbageRatio() float64 {
  148. if m != nil {
  149. return m.GarbageRatio
  150. }
  151. return 0
  152. }
  153. type VacuumVolumeCompactRequest struct {
  154. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  155. Preallocate int64 `protobuf:"varint,2,opt,name=preallocate" json:"preallocate,omitempty"`
  156. }
  157. func (m *VacuumVolumeCompactRequest) Reset() { *m = VacuumVolumeCompactRequest{} }
  158. func (m *VacuumVolumeCompactRequest) String() string { return proto.CompactTextString(m) }
  159. func (*VacuumVolumeCompactRequest) ProtoMessage() {}
  160. func (*VacuumVolumeCompactRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
  161. func (m *VacuumVolumeCompactRequest) GetVolumeId() uint32 {
  162. if m != nil {
  163. return m.VolumeId
  164. }
  165. return 0
  166. }
  167. func (m *VacuumVolumeCompactRequest) GetPreallocate() int64 {
  168. if m != nil {
  169. return m.Preallocate
  170. }
  171. return 0
  172. }
  173. type VacuumVolumeCompactResponse struct {
  174. }
  175. func (m *VacuumVolumeCompactResponse) Reset() { *m = VacuumVolumeCompactResponse{} }
  176. func (m *VacuumVolumeCompactResponse) String() string { return proto.CompactTextString(m) }
  177. func (*VacuumVolumeCompactResponse) ProtoMessage() {}
  178. func (*VacuumVolumeCompactResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
  179. type VacuumVolumeCommitRequest struct {
  180. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  181. }
  182. func (m *VacuumVolumeCommitRequest) Reset() { *m = VacuumVolumeCommitRequest{} }
  183. func (m *VacuumVolumeCommitRequest) String() string { return proto.CompactTextString(m) }
  184. func (*VacuumVolumeCommitRequest) ProtoMessage() {}
  185. func (*VacuumVolumeCommitRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
  186. func (m *VacuumVolumeCommitRequest) GetVolumeId() uint32 {
  187. if m != nil {
  188. return m.VolumeId
  189. }
  190. return 0
  191. }
  192. type VacuumVolumeCommitResponse struct {
  193. }
  194. func (m *VacuumVolumeCommitResponse) Reset() { *m = VacuumVolumeCommitResponse{} }
  195. func (m *VacuumVolumeCommitResponse) String() string { return proto.CompactTextString(m) }
  196. func (*VacuumVolumeCommitResponse) ProtoMessage() {}
  197. func (*VacuumVolumeCommitResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
  198. type VacuumVolumeCleanupRequest struct {
  199. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  200. }
  201. func (m *VacuumVolumeCleanupRequest) Reset() { *m = VacuumVolumeCleanupRequest{} }
  202. func (m *VacuumVolumeCleanupRequest) String() string { return proto.CompactTextString(m) }
  203. func (*VacuumVolumeCleanupRequest) ProtoMessage() {}
  204. func (*VacuumVolumeCleanupRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
  205. func (m *VacuumVolumeCleanupRequest) GetVolumeId() uint32 {
  206. if m != nil {
  207. return m.VolumeId
  208. }
  209. return 0
  210. }
  211. type VacuumVolumeCleanupResponse struct {
  212. }
  213. func (m *VacuumVolumeCleanupResponse) Reset() { *m = VacuumVolumeCleanupResponse{} }
  214. func (m *VacuumVolumeCleanupResponse) String() string { return proto.CompactTextString(m) }
  215. func (*VacuumVolumeCleanupResponse) ProtoMessage() {}
  216. func (*VacuumVolumeCleanupResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
  217. type DeleteCollectionRequest struct {
  218. Collection string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
  219. }
  220. func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} }
  221. func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) }
  222. func (*DeleteCollectionRequest) ProtoMessage() {}
  223. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
  224. func (m *DeleteCollectionRequest) GetCollection() string {
  225. if m != nil {
  226. return m.Collection
  227. }
  228. return ""
  229. }
  230. type DeleteCollectionResponse struct {
  231. }
  232. func (m *DeleteCollectionResponse) Reset() { *m = DeleteCollectionResponse{} }
  233. func (m *DeleteCollectionResponse) String() string { return proto.CompactTextString(m) }
  234. func (*DeleteCollectionResponse) ProtoMessage() {}
  235. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
  236. type AllocateVolumeRequest struct {
  237. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  238. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  239. Preallocate int64 `protobuf:"varint,3,opt,name=preallocate" json:"preallocate,omitempty"`
  240. Replication string `protobuf:"bytes,4,opt,name=replication" json:"replication,omitempty"`
  241. Ttl string `protobuf:"bytes,5,opt,name=ttl" json:"ttl,omitempty"`
  242. }
  243. func (m *AllocateVolumeRequest) Reset() { *m = AllocateVolumeRequest{} }
  244. func (m *AllocateVolumeRequest) String() string { return proto.CompactTextString(m) }
  245. func (*AllocateVolumeRequest) ProtoMessage() {}
  246. func (*AllocateVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  247. func (m *AllocateVolumeRequest) GetVolumeId() uint32 {
  248. if m != nil {
  249. return m.VolumeId
  250. }
  251. return 0
  252. }
  253. func (m *AllocateVolumeRequest) GetCollection() string {
  254. if m != nil {
  255. return m.Collection
  256. }
  257. return ""
  258. }
  259. func (m *AllocateVolumeRequest) GetPreallocate() int64 {
  260. if m != nil {
  261. return m.Preallocate
  262. }
  263. return 0
  264. }
  265. func (m *AllocateVolumeRequest) GetReplication() string {
  266. if m != nil {
  267. return m.Replication
  268. }
  269. return ""
  270. }
  271. func (m *AllocateVolumeRequest) GetTtl() string {
  272. if m != nil {
  273. return m.Ttl
  274. }
  275. return ""
  276. }
  277. type AllocateVolumeResponse struct {
  278. }
  279. func (m *AllocateVolumeResponse) Reset() { *m = AllocateVolumeResponse{} }
  280. func (m *AllocateVolumeResponse) String() string { return proto.CompactTextString(m) }
  281. func (*AllocateVolumeResponse) ProtoMessage() {}
  282. func (*AllocateVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  283. type VolumeSyncStatusRequest struct {
  284. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  285. }
  286. func (m *VolumeSyncStatusRequest) Reset() { *m = VolumeSyncStatusRequest{} }
  287. func (m *VolumeSyncStatusRequest) String() string { return proto.CompactTextString(m) }
  288. func (*VolumeSyncStatusRequest) ProtoMessage() {}
  289. func (*VolumeSyncStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  290. func (m *VolumeSyncStatusRequest) GetVolumeId() uint32 {
  291. if m != nil {
  292. return m.VolumeId
  293. }
  294. return 0
  295. }
  296. type VolumeSyncStatusResponse struct {
  297. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  298. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  299. Replication string `protobuf:"bytes,4,opt,name=replication" json:"replication,omitempty"`
  300. Ttl string `protobuf:"bytes,5,opt,name=ttl" json:"ttl,omitempty"`
  301. TailOffset uint64 `protobuf:"varint,6,opt,name=tail_offset,json=tailOffset" json:"tail_offset,omitempty"`
  302. CompactRevision uint32 `protobuf:"varint,7,opt,name=compact_revision,json=compactRevision" json:"compact_revision,omitempty"`
  303. IdxFileSize uint64 `protobuf:"varint,8,opt,name=idx_file_size,json=idxFileSize" json:"idx_file_size,omitempty"`
  304. }
  305. func (m *VolumeSyncStatusResponse) Reset() { *m = VolumeSyncStatusResponse{} }
  306. func (m *VolumeSyncStatusResponse) String() string { return proto.CompactTextString(m) }
  307. func (*VolumeSyncStatusResponse) ProtoMessage() {}
  308. func (*VolumeSyncStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  309. func (m *VolumeSyncStatusResponse) GetVolumeId() uint32 {
  310. if m != nil {
  311. return m.VolumeId
  312. }
  313. return 0
  314. }
  315. func (m *VolumeSyncStatusResponse) GetCollection() string {
  316. if m != nil {
  317. return m.Collection
  318. }
  319. return ""
  320. }
  321. func (m *VolumeSyncStatusResponse) GetReplication() string {
  322. if m != nil {
  323. return m.Replication
  324. }
  325. return ""
  326. }
  327. func (m *VolumeSyncStatusResponse) GetTtl() string {
  328. if m != nil {
  329. return m.Ttl
  330. }
  331. return ""
  332. }
  333. func (m *VolumeSyncStatusResponse) GetTailOffset() uint64 {
  334. if m != nil {
  335. return m.TailOffset
  336. }
  337. return 0
  338. }
  339. func (m *VolumeSyncStatusResponse) GetCompactRevision() uint32 {
  340. if m != nil {
  341. return m.CompactRevision
  342. }
  343. return 0
  344. }
  345. func (m *VolumeSyncStatusResponse) GetIdxFileSize() uint64 {
  346. if m != nil {
  347. return m.IdxFileSize
  348. }
  349. return 0
  350. }
  351. type VolumeFollowRequest struct {
  352. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  353. Since uint64 `protobuf:"varint,2,opt,name=since" json:"since,omitempty"`
  354. }
  355. func (m *VolumeFollowRequest) Reset() { *m = VolumeFollowRequest{} }
  356. func (m *VolumeFollowRequest) String() string { return proto.CompactTextString(m) }
  357. func (*VolumeFollowRequest) ProtoMessage() {}
  358. func (*VolumeFollowRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  359. func (m *VolumeFollowRequest) GetVolumeId() uint32 {
  360. if m != nil {
  361. return m.VolumeId
  362. }
  363. return 0
  364. }
  365. func (m *VolumeFollowRequest) GetSince() uint64 {
  366. if m != nil {
  367. return m.Since
  368. }
  369. return 0
  370. }
  371. type VolumeFollowResponse struct {
  372. FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
  373. }
  374. func (m *VolumeFollowResponse) Reset() { *m = VolumeFollowResponse{} }
  375. func (m *VolumeFollowResponse) String() string { return proto.CompactTextString(m) }
  376. func (*VolumeFollowResponse) ProtoMessage() {}
  377. func (*VolumeFollowResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  378. func (m *VolumeFollowResponse) GetFileContent() []byte {
  379. if m != nil {
  380. return m.FileContent
  381. }
  382. return nil
  383. }
  384. type VolumeMountRequest struct {
  385. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  386. }
  387. func (m *VolumeMountRequest) Reset() { *m = VolumeMountRequest{} }
  388. func (m *VolumeMountRequest) String() string { return proto.CompactTextString(m) }
  389. func (*VolumeMountRequest) ProtoMessage() {}
  390. func (*VolumeMountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  391. func (m *VolumeMountRequest) GetVolumeId() uint32 {
  392. if m != nil {
  393. return m.VolumeId
  394. }
  395. return 0
  396. }
  397. type VolumeMountResponse struct {
  398. }
  399. func (m *VolumeMountResponse) Reset() { *m = VolumeMountResponse{} }
  400. func (m *VolumeMountResponse) String() string { return proto.CompactTextString(m) }
  401. func (*VolumeMountResponse) ProtoMessage() {}
  402. func (*VolumeMountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  403. type VolumeUnmountRequest struct {
  404. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  405. }
  406. func (m *VolumeUnmountRequest) Reset() { *m = VolumeUnmountRequest{} }
  407. func (m *VolumeUnmountRequest) String() string { return proto.CompactTextString(m) }
  408. func (*VolumeUnmountRequest) ProtoMessage() {}
  409. func (*VolumeUnmountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  410. func (m *VolumeUnmountRequest) GetVolumeId() uint32 {
  411. if m != nil {
  412. return m.VolumeId
  413. }
  414. return 0
  415. }
  416. type VolumeUnmountResponse struct {
  417. }
  418. func (m *VolumeUnmountResponse) Reset() { *m = VolumeUnmountResponse{} }
  419. func (m *VolumeUnmountResponse) String() string { return proto.CompactTextString(m) }
  420. func (*VolumeUnmountResponse) ProtoMessage() {}
  421. func (*VolumeUnmountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  422. type VolumeDeleteRequest struct {
  423. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  424. }
  425. func (m *VolumeDeleteRequest) Reset() { *m = VolumeDeleteRequest{} }
  426. func (m *VolumeDeleteRequest) String() string { return proto.CompactTextString(m) }
  427. func (*VolumeDeleteRequest) ProtoMessage() {}
  428. func (*VolumeDeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
  429. func (m *VolumeDeleteRequest) GetVolumeId() uint32 {
  430. if m != nil {
  431. return m.VolumeId
  432. }
  433. return 0
  434. }
  435. type VolumeDeleteResponse struct {
  436. }
  437. func (m *VolumeDeleteResponse) Reset() { *m = VolumeDeleteResponse{} }
  438. func (m *VolumeDeleteResponse) String() string { return proto.CompactTextString(m) }
  439. func (*VolumeDeleteResponse) ProtoMessage() {}
  440. func (*VolumeDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
  441. type ReplicateVolumeRequest struct {
  442. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  443. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  444. Replication string `protobuf:"bytes,3,opt,name=replication" json:"replication,omitempty"`
  445. Ttl string `protobuf:"bytes,4,opt,name=ttl" json:"ttl,omitempty"`
  446. SourceDataNode string `protobuf:"bytes,5,opt,name=source_data_node,json=sourceDataNode" json:"source_data_node,omitempty"`
  447. }
  448. func (m *ReplicateVolumeRequest) Reset() { *m = ReplicateVolumeRequest{} }
  449. func (m *ReplicateVolumeRequest) String() string { return proto.CompactTextString(m) }
  450. func (*ReplicateVolumeRequest) ProtoMessage() {}
  451. func (*ReplicateVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
  452. func (m *ReplicateVolumeRequest) GetVolumeId() uint32 {
  453. if m != nil {
  454. return m.VolumeId
  455. }
  456. return 0
  457. }
  458. func (m *ReplicateVolumeRequest) GetCollection() string {
  459. if m != nil {
  460. return m.Collection
  461. }
  462. return ""
  463. }
  464. func (m *ReplicateVolumeRequest) GetReplication() string {
  465. if m != nil {
  466. return m.Replication
  467. }
  468. return ""
  469. }
  470. func (m *ReplicateVolumeRequest) GetTtl() string {
  471. if m != nil {
  472. return m.Ttl
  473. }
  474. return ""
  475. }
  476. func (m *ReplicateVolumeRequest) GetSourceDataNode() string {
  477. if m != nil {
  478. return m.SourceDataNode
  479. }
  480. return ""
  481. }
  482. type ReplicateVolumeResponse struct {
  483. }
  484. func (m *ReplicateVolumeResponse) Reset() { *m = ReplicateVolumeResponse{} }
  485. func (m *ReplicateVolumeResponse) String() string { return proto.CompactTextString(m) }
  486. func (*ReplicateVolumeResponse) ProtoMessage() {}
  487. func (*ReplicateVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
  488. type CopyFileRequest struct {
  489. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  490. IsIdxFile bool `protobuf:"varint,2,opt,name=is_idx_file,json=isIdxFile" json:"is_idx_file,omitempty"`
  491. IsDatFile bool `protobuf:"varint,3,opt,name=is_dat_file,json=isDatFile" json:"is_dat_file,omitempty"`
  492. }
  493. func (m *CopyFileRequest) Reset() { *m = CopyFileRequest{} }
  494. func (m *CopyFileRequest) String() string { return proto.CompactTextString(m) }
  495. func (*CopyFileRequest) ProtoMessage() {}
  496. func (*CopyFileRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
  497. func (m *CopyFileRequest) GetVolumeId() uint32 {
  498. if m != nil {
  499. return m.VolumeId
  500. }
  501. return 0
  502. }
  503. func (m *CopyFileRequest) GetIsIdxFile() bool {
  504. if m != nil {
  505. return m.IsIdxFile
  506. }
  507. return false
  508. }
  509. func (m *CopyFileRequest) GetIsDatFile() bool {
  510. if m != nil {
  511. return m.IsDatFile
  512. }
  513. return false
  514. }
  515. type CopyFileResponse struct {
  516. FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
  517. }
  518. func (m *CopyFileResponse) Reset() { *m = CopyFileResponse{} }
  519. func (m *CopyFileResponse) String() string { return proto.CompactTextString(m) }
  520. func (*CopyFileResponse) ProtoMessage() {}
  521. func (*CopyFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
  522. func (m *CopyFileResponse) GetFileContent() []byte {
  523. if m != nil {
  524. return m.FileContent
  525. }
  526. return nil
  527. }
  528. type ReadVolumeFileStatusRequest struct {
  529. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  530. }
  531. func (m *ReadVolumeFileStatusRequest) Reset() { *m = ReadVolumeFileStatusRequest{} }
  532. func (m *ReadVolumeFileStatusRequest) String() string { return proto.CompactTextString(m) }
  533. func (*ReadVolumeFileStatusRequest) ProtoMessage() {}
  534. func (*ReadVolumeFileStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
  535. func (m *ReadVolumeFileStatusRequest) GetVolumeId() uint32 {
  536. if m != nil {
  537. return m.VolumeId
  538. }
  539. return 0
  540. }
  541. type ReadVolumeFileStatusResponse struct {
  542. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
  543. IdxFileTimestamp uint64 `protobuf:"varint,2,opt,name=idx_file_timestamp,json=idxFileTimestamp" json:"idx_file_timestamp,omitempty"`
  544. IdxFileSize uint64 `protobuf:"varint,3,opt,name=idx_file_size,json=idxFileSize" json:"idx_file_size,omitempty"`
  545. DatFileTimestamp uint64 `protobuf:"varint,4,opt,name=dat_file_timestamp,json=datFileTimestamp" json:"dat_file_timestamp,omitempty"`
  546. DatFileSize uint64 `protobuf:"varint,5,opt,name=dat_file_size,json=datFileSize" json:"dat_file_size,omitempty"`
  547. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  548. }
  549. func (m *ReadVolumeFileStatusResponse) Reset() { *m = ReadVolumeFileStatusResponse{} }
  550. func (m *ReadVolumeFileStatusResponse) String() string { return proto.CompactTextString(m) }
  551. func (*ReadVolumeFileStatusResponse) ProtoMessage() {}
  552. func (*ReadVolumeFileStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
  553. func (m *ReadVolumeFileStatusResponse) GetVolumeId() uint32 {
  554. if m != nil {
  555. return m.VolumeId
  556. }
  557. return 0
  558. }
  559. func (m *ReadVolumeFileStatusResponse) GetIdxFileTimestamp() uint64 {
  560. if m != nil {
  561. return m.IdxFileTimestamp
  562. }
  563. return 0
  564. }
  565. func (m *ReadVolumeFileStatusResponse) GetIdxFileSize() uint64 {
  566. if m != nil {
  567. return m.IdxFileSize
  568. }
  569. return 0
  570. }
  571. func (m *ReadVolumeFileStatusResponse) GetDatFileTimestamp() uint64 {
  572. if m != nil {
  573. return m.DatFileTimestamp
  574. }
  575. return 0
  576. }
  577. func (m *ReadVolumeFileStatusResponse) GetDatFileSize() uint64 {
  578. if m != nil {
  579. return m.DatFileSize
  580. }
  581. return 0
  582. }
  583. func (m *ReadVolumeFileStatusResponse) GetFileCount() uint64 {
  584. if m != nil {
  585. return m.FileCount
  586. }
  587. return 0
  588. }
  589. type DiskStatus struct {
  590. Dir string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"`
  591. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  592. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  593. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  594. }
  595. func (m *DiskStatus) Reset() { *m = DiskStatus{} }
  596. func (m *DiskStatus) String() string { return proto.CompactTextString(m) }
  597. func (*DiskStatus) ProtoMessage() {}
  598. func (*DiskStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
  599. func (m *DiskStatus) GetDir() string {
  600. if m != nil {
  601. return m.Dir
  602. }
  603. return ""
  604. }
  605. func (m *DiskStatus) GetAll() uint64 {
  606. if m != nil {
  607. return m.All
  608. }
  609. return 0
  610. }
  611. func (m *DiskStatus) GetUsed() uint64 {
  612. if m != nil {
  613. return m.Used
  614. }
  615. return 0
  616. }
  617. func (m *DiskStatus) GetFree() uint64 {
  618. if m != nil {
  619. return m.Free
  620. }
  621. return 0
  622. }
  623. type MemStatus struct {
  624. Goroutines int32 `protobuf:"varint,1,opt,name=goroutines" json:"goroutines,omitempty"`
  625. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  626. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  627. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  628. Self uint64 `protobuf:"varint,5,opt,name=self" json:"self,omitempty"`
  629. Heap uint64 `protobuf:"varint,6,opt,name=heap" json:"heap,omitempty"`
  630. Stack uint64 `protobuf:"varint,7,opt,name=stack" json:"stack,omitempty"`
  631. }
  632. func (m *MemStatus) Reset() { *m = MemStatus{} }
  633. func (m *MemStatus) String() string { return proto.CompactTextString(m) }
  634. func (*MemStatus) ProtoMessage() {}
  635. func (*MemStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} }
  636. func (m *MemStatus) GetGoroutines() int32 {
  637. if m != nil {
  638. return m.Goroutines
  639. }
  640. return 0
  641. }
  642. func (m *MemStatus) GetAll() uint64 {
  643. if m != nil {
  644. return m.All
  645. }
  646. return 0
  647. }
  648. func (m *MemStatus) GetUsed() uint64 {
  649. if m != nil {
  650. return m.Used
  651. }
  652. return 0
  653. }
  654. func (m *MemStatus) GetFree() uint64 {
  655. if m != nil {
  656. return m.Free
  657. }
  658. return 0
  659. }
  660. func (m *MemStatus) GetSelf() uint64 {
  661. if m != nil {
  662. return m.Self
  663. }
  664. return 0
  665. }
  666. func (m *MemStatus) GetHeap() uint64 {
  667. if m != nil {
  668. return m.Heap
  669. }
  670. return 0
  671. }
  672. func (m *MemStatus) GetStack() uint64 {
  673. if m != nil {
  674. return m.Stack
  675. }
  676. return 0
  677. }
  678. func init() {
  679. proto.RegisterType((*BatchDeleteRequest)(nil), "volume_server_pb.BatchDeleteRequest")
  680. proto.RegisterType((*BatchDeleteResponse)(nil), "volume_server_pb.BatchDeleteResponse")
  681. proto.RegisterType((*DeleteResult)(nil), "volume_server_pb.DeleteResult")
  682. proto.RegisterType((*Empty)(nil), "volume_server_pb.Empty")
  683. proto.RegisterType((*VacuumVolumeCheckRequest)(nil), "volume_server_pb.VacuumVolumeCheckRequest")
  684. proto.RegisterType((*VacuumVolumeCheckResponse)(nil), "volume_server_pb.VacuumVolumeCheckResponse")
  685. proto.RegisterType((*VacuumVolumeCompactRequest)(nil), "volume_server_pb.VacuumVolumeCompactRequest")
  686. proto.RegisterType((*VacuumVolumeCompactResponse)(nil), "volume_server_pb.VacuumVolumeCompactResponse")
  687. proto.RegisterType((*VacuumVolumeCommitRequest)(nil), "volume_server_pb.VacuumVolumeCommitRequest")
  688. proto.RegisterType((*VacuumVolumeCommitResponse)(nil), "volume_server_pb.VacuumVolumeCommitResponse")
  689. proto.RegisterType((*VacuumVolumeCleanupRequest)(nil), "volume_server_pb.VacuumVolumeCleanupRequest")
  690. proto.RegisterType((*VacuumVolumeCleanupResponse)(nil), "volume_server_pb.VacuumVolumeCleanupResponse")
  691. proto.RegisterType((*DeleteCollectionRequest)(nil), "volume_server_pb.DeleteCollectionRequest")
  692. proto.RegisterType((*DeleteCollectionResponse)(nil), "volume_server_pb.DeleteCollectionResponse")
  693. proto.RegisterType((*AllocateVolumeRequest)(nil), "volume_server_pb.AllocateVolumeRequest")
  694. proto.RegisterType((*AllocateVolumeResponse)(nil), "volume_server_pb.AllocateVolumeResponse")
  695. proto.RegisterType((*VolumeSyncStatusRequest)(nil), "volume_server_pb.VolumeSyncStatusRequest")
  696. proto.RegisterType((*VolumeSyncStatusResponse)(nil), "volume_server_pb.VolumeSyncStatusResponse")
  697. proto.RegisterType((*VolumeFollowRequest)(nil), "volume_server_pb.VolumeFollowRequest")
  698. proto.RegisterType((*VolumeFollowResponse)(nil), "volume_server_pb.VolumeFollowResponse")
  699. proto.RegisterType((*VolumeMountRequest)(nil), "volume_server_pb.VolumeMountRequest")
  700. proto.RegisterType((*VolumeMountResponse)(nil), "volume_server_pb.VolumeMountResponse")
  701. proto.RegisterType((*VolumeUnmountRequest)(nil), "volume_server_pb.VolumeUnmountRequest")
  702. proto.RegisterType((*VolumeUnmountResponse)(nil), "volume_server_pb.VolumeUnmountResponse")
  703. proto.RegisterType((*VolumeDeleteRequest)(nil), "volume_server_pb.VolumeDeleteRequest")
  704. proto.RegisterType((*VolumeDeleteResponse)(nil), "volume_server_pb.VolumeDeleteResponse")
  705. proto.RegisterType((*ReplicateVolumeRequest)(nil), "volume_server_pb.ReplicateVolumeRequest")
  706. proto.RegisterType((*ReplicateVolumeResponse)(nil), "volume_server_pb.ReplicateVolumeResponse")
  707. proto.RegisterType((*CopyFileRequest)(nil), "volume_server_pb.CopyFileRequest")
  708. proto.RegisterType((*CopyFileResponse)(nil), "volume_server_pb.CopyFileResponse")
  709. proto.RegisterType((*ReadVolumeFileStatusRequest)(nil), "volume_server_pb.ReadVolumeFileStatusRequest")
  710. proto.RegisterType((*ReadVolumeFileStatusResponse)(nil), "volume_server_pb.ReadVolumeFileStatusResponse")
  711. proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus")
  712. proto.RegisterType((*MemStatus)(nil), "volume_server_pb.MemStatus")
  713. }
  714. // Reference imports to suppress errors if they are not otherwise used.
  715. var _ context.Context
  716. var _ grpc.ClientConn
  717. // This is a compile-time assertion to ensure that this generated file
  718. // is compatible with the grpc package it is being compiled against.
  719. const _ = grpc.SupportPackageIsVersion4
  720. // Client API for VolumeServer service
  721. type VolumeServerClient interface {
  722. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  723. BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error)
  724. VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error)
  725. VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error)
  726. VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error)
  727. VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error)
  728. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  729. AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error)
  730. VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error)
  731. VolumeFollow(ctx context.Context, in *VolumeFollowRequest, opts ...grpc.CallOption) (VolumeServer_VolumeFollowClient, error)
  732. VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error)
  733. VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error)
  734. VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error)
  735. ReplicateVolume(ctx context.Context, in *ReplicateVolumeRequest, opts ...grpc.CallOption) (*ReplicateVolumeResponse, error)
  736. ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error)
  737. CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error)
  738. }
  739. type volumeServerClient struct {
  740. cc *grpc.ClientConn
  741. }
  742. func NewVolumeServerClient(cc *grpc.ClientConn) VolumeServerClient {
  743. return &volumeServerClient{cc}
  744. }
  745. func (c *volumeServerClient) BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error) {
  746. out := new(BatchDeleteResponse)
  747. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/BatchDelete", in, out, c.cc, opts...)
  748. if err != nil {
  749. return nil, err
  750. }
  751. return out, nil
  752. }
  753. func (c *volumeServerClient) VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error) {
  754. out := new(VacuumVolumeCheckResponse)
  755. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCheck", in, out, c.cc, opts...)
  756. if err != nil {
  757. return nil, err
  758. }
  759. return out, nil
  760. }
  761. func (c *volumeServerClient) VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error) {
  762. out := new(VacuumVolumeCompactResponse)
  763. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCompact", in, out, c.cc, opts...)
  764. if err != nil {
  765. return nil, err
  766. }
  767. return out, nil
  768. }
  769. func (c *volumeServerClient) VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error) {
  770. out := new(VacuumVolumeCommitResponse)
  771. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCommit", in, out, c.cc, opts...)
  772. if err != nil {
  773. return nil, err
  774. }
  775. return out, nil
  776. }
  777. func (c *volumeServerClient) VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error) {
  778. out := new(VacuumVolumeCleanupResponse)
  779. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCleanup", in, out, c.cc, opts...)
  780. if err != nil {
  781. return nil, err
  782. }
  783. return out, nil
  784. }
  785. func (c *volumeServerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  786. out := new(DeleteCollectionResponse)
  787. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/DeleteCollection", in, out, c.cc, opts...)
  788. if err != nil {
  789. return nil, err
  790. }
  791. return out, nil
  792. }
  793. func (c *volumeServerClient) AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error) {
  794. out := new(AllocateVolumeResponse)
  795. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/AllocateVolume", in, out, c.cc, opts...)
  796. if err != nil {
  797. return nil, err
  798. }
  799. return out, nil
  800. }
  801. func (c *volumeServerClient) VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error) {
  802. out := new(VolumeSyncStatusResponse)
  803. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeSyncStatus", in, out, c.cc, opts...)
  804. if err != nil {
  805. return nil, err
  806. }
  807. return out, nil
  808. }
  809. func (c *volumeServerClient) VolumeFollow(ctx context.Context, in *VolumeFollowRequest, opts ...grpc.CallOption) (VolumeServer_VolumeFollowClient, error) {
  810. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[0], c.cc, "/volume_server_pb.VolumeServer/VolumeFollow", opts...)
  811. if err != nil {
  812. return nil, err
  813. }
  814. x := &volumeServerVolumeFollowClient{stream}
  815. if err := x.ClientStream.SendMsg(in); err != nil {
  816. return nil, err
  817. }
  818. if err := x.ClientStream.CloseSend(); err != nil {
  819. return nil, err
  820. }
  821. return x, nil
  822. }
  823. type VolumeServer_VolumeFollowClient interface {
  824. Recv() (*VolumeFollowResponse, error)
  825. grpc.ClientStream
  826. }
  827. type volumeServerVolumeFollowClient struct {
  828. grpc.ClientStream
  829. }
  830. func (x *volumeServerVolumeFollowClient) Recv() (*VolumeFollowResponse, error) {
  831. m := new(VolumeFollowResponse)
  832. if err := x.ClientStream.RecvMsg(m); err != nil {
  833. return nil, err
  834. }
  835. return m, nil
  836. }
  837. func (c *volumeServerClient) VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error) {
  838. out := new(VolumeMountResponse)
  839. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMount", in, out, c.cc, opts...)
  840. if err != nil {
  841. return nil, err
  842. }
  843. return out, nil
  844. }
  845. func (c *volumeServerClient) VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error) {
  846. out := new(VolumeUnmountResponse)
  847. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeUnmount", in, out, c.cc, opts...)
  848. if err != nil {
  849. return nil, err
  850. }
  851. return out, nil
  852. }
  853. func (c *volumeServerClient) VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error) {
  854. out := new(VolumeDeleteResponse)
  855. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeDelete", in, out, c.cc, opts...)
  856. if err != nil {
  857. return nil, err
  858. }
  859. return out, nil
  860. }
  861. func (c *volumeServerClient) ReplicateVolume(ctx context.Context, in *ReplicateVolumeRequest, opts ...grpc.CallOption) (*ReplicateVolumeResponse, error) {
  862. out := new(ReplicateVolumeResponse)
  863. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReplicateVolume", in, out, c.cc, opts...)
  864. if err != nil {
  865. return nil, err
  866. }
  867. return out, nil
  868. }
  869. func (c *volumeServerClient) ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error) {
  870. out := new(ReadVolumeFileStatusResponse)
  871. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReadVolumeFileStatus", in, out, c.cc, opts...)
  872. if err != nil {
  873. return nil, err
  874. }
  875. return out, nil
  876. }
  877. func (c *volumeServerClient) CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error) {
  878. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[1], c.cc, "/volume_server_pb.VolumeServer/CopyFile", opts...)
  879. if err != nil {
  880. return nil, err
  881. }
  882. x := &volumeServerCopyFileClient{stream}
  883. if err := x.ClientStream.SendMsg(in); err != nil {
  884. return nil, err
  885. }
  886. if err := x.ClientStream.CloseSend(); err != nil {
  887. return nil, err
  888. }
  889. return x, nil
  890. }
  891. type VolumeServer_CopyFileClient interface {
  892. Recv() (*CopyFileResponse, error)
  893. grpc.ClientStream
  894. }
  895. type volumeServerCopyFileClient struct {
  896. grpc.ClientStream
  897. }
  898. func (x *volumeServerCopyFileClient) Recv() (*CopyFileResponse, error) {
  899. m := new(CopyFileResponse)
  900. if err := x.ClientStream.RecvMsg(m); err != nil {
  901. return nil, err
  902. }
  903. return m, nil
  904. }
  905. // Server API for VolumeServer service
  906. type VolumeServerServer interface {
  907. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  908. BatchDelete(context.Context, *BatchDeleteRequest) (*BatchDeleteResponse, error)
  909. VacuumVolumeCheck(context.Context, *VacuumVolumeCheckRequest) (*VacuumVolumeCheckResponse, error)
  910. VacuumVolumeCompact(context.Context, *VacuumVolumeCompactRequest) (*VacuumVolumeCompactResponse, error)
  911. VacuumVolumeCommit(context.Context, *VacuumVolumeCommitRequest) (*VacuumVolumeCommitResponse, error)
  912. VacuumVolumeCleanup(context.Context, *VacuumVolumeCleanupRequest) (*VacuumVolumeCleanupResponse, error)
  913. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  914. AllocateVolume(context.Context, *AllocateVolumeRequest) (*AllocateVolumeResponse, error)
  915. VolumeSyncStatus(context.Context, *VolumeSyncStatusRequest) (*VolumeSyncStatusResponse, error)
  916. VolumeFollow(*VolumeFollowRequest, VolumeServer_VolumeFollowServer) error
  917. VolumeMount(context.Context, *VolumeMountRequest) (*VolumeMountResponse, error)
  918. VolumeUnmount(context.Context, *VolumeUnmountRequest) (*VolumeUnmountResponse, error)
  919. VolumeDelete(context.Context, *VolumeDeleteRequest) (*VolumeDeleteResponse, error)
  920. ReplicateVolume(context.Context, *ReplicateVolumeRequest) (*ReplicateVolumeResponse, error)
  921. ReadVolumeFileStatus(context.Context, *ReadVolumeFileStatusRequest) (*ReadVolumeFileStatusResponse, error)
  922. CopyFile(*CopyFileRequest, VolumeServer_CopyFileServer) error
  923. }
  924. func RegisterVolumeServerServer(s *grpc.Server, srv VolumeServerServer) {
  925. s.RegisterService(&_VolumeServer_serviceDesc, srv)
  926. }
  927. func _VolumeServer_BatchDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  928. in := new(BatchDeleteRequest)
  929. if err := dec(in); err != nil {
  930. return nil, err
  931. }
  932. if interceptor == nil {
  933. return srv.(VolumeServerServer).BatchDelete(ctx, in)
  934. }
  935. info := &grpc.UnaryServerInfo{
  936. Server: srv,
  937. FullMethod: "/volume_server_pb.VolumeServer/BatchDelete",
  938. }
  939. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  940. return srv.(VolumeServerServer).BatchDelete(ctx, req.(*BatchDeleteRequest))
  941. }
  942. return interceptor(ctx, in, info, handler)
  943. }
  944. func _VolumeServer_VacuumVolumeCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  945. in := new(VacuumVolumeCheckRequest)
  946. if err := dec(in); err != nil {
  947. return nil, err
  948. }
  949. if interceptor == nil {
  950. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, in)
  951. }
  952. info := &grpc.UnaryServerInfo{
  953. Server: srv,
  954. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCheck",
  955. }
  956. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  957. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, req.(*VacuumVolumeCheckRequest))
  958. }
  959. return interceptor(ctx, in, info, handler)
  960. }
  961. func _VolumeServer_VacuumVolumeCompact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  962. in := new(VacuumVolumeCompactRequest)
  963. if err := dec(in); err != nil {
  964. return nil, err
  965. }
  966. if interceptor == nil {
  967. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, in)
  968. }
  969. info := &grpc.UnaryServerInfo{
  970. Server: srv,
  971. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCompact",
  972. }
  973. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  974. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, req.(*VacuumVolumeCompactRequest))
  975. }
  976. return interceptor(ctx, in, info, handler)
  977. }
  978. func _VolumeServer_VacuumVolumeCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  979. in := new(VacuumVolumeCommitRequest)
  980. if err := dec(in); err != nil {
  981. return nil, err
  982. }
  983. if interceptor == nil {
  984. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, in)
  985. }
  986. info := &grpc.UnaryServerInfo{
  987. Server: srv,
  988. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCommit",
  989. }
  990. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  991. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, req.(*VacuumVolumeCommitRequest))
  992. }
  993. return interceptor(ctx, in, info, handler)
  994. }
  995. func _VolumeServer_VacuumVolumeCleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  996. in := new(VacuumVolumeCleanupRequest)
  997. if err := dec(in); err != nil {
  998. return nil, err
  999. }
  1000. if interceptor == nil {
  1001. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, in)
  1002. }
  1003. info := &grpc.UnaryServerInfo{
  1004. Server: srv,
  1005. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCleanup",
  1006. }
  1007. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1008. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, req.(*VacuumVolumeCleanupRequest))
  1009. }
  1010. return interceptor(ctx, in, info, handler)
  1011. }
  1012. func _VolumeServer_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1013. in := new(DeleteCollectionRequest)
  1014. if err := dec(in); err != nil {
  1015. return nil, err
  1016. }
  1017. if interceptor == nil {
  1018. return srv.(VolumeServerServer).DeleteCollection(ctx, in)
  1019. }
  1020. info := &grpc.UnaryServerInfo{
  1021. Server: srv,
  1022. FullMethod: "/volume_server_pb.VolumeServer/DeleteCollection",
  1023. }
  1024. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1025. return srv.(VolumeServerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  1026. }
  1027. return interceptor(ctx, in, info, handler)
  1028. }
  1029. func _VolumeServer_AllocateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1030. in := new(AllocateVolumeRequest)
  1031. if err := dec(in); err != nil {
  1032. return nil, err
  1033. }
  1034. if interceptor == nil {
  1035. return srv.(VolumeServerServer).AllocateVolume(ctx, in)
  1036. }
  1037. info := &grpc.UnaryServerInfo{
  1038. Server: srv,
  1039. FullMethod: "/volume_server_pb.VolumeServer/AllocateVolume",
  1040. }
  1041. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1042. return srv.(VolumeServerServer).AllocateVolume(ctx, req.(*AllocateVolumeRequest))
  1043. }
  1044. return interceptor(ctx, in, info, handler)
  1045. }
  1046. func _VolumeServer_VolumeSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1047. in := new(VolumeSyncStatusRequest)
  1048. if err := dec(in); err != nil {
  1049. return nil, err
  1050. }
  1051. if interceptor == nil {
  1052. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, in)
  1053. }
  1054. info := &grpc.UnaryServerInfo{
  1055. Server: srv,
  1056. FullMethod: "/volume_server_pb.VolumeServer/VolumeSyncStatus",
  1057. }
  1058. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1059. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, req.(*VolumeSyncStatusRequest))
  1060. }
  1061. return interceptor(ctx, in, info, handler)
  1062. }
  1063. func _VolumeServer_VolumeFollow_Handler(srv interface{}, stream grpc.ServerStream) error {
  1064. m := new(VolumeFollowRequest)
  1065. if err := stream.RecvMsg(m); err != nil {
  1066. return err
  1067. }
  1068. return srv.(VolumeServerServer).VolumeFollow(m, &volumeServerVolumeFollowServer{stream})
  1069. }
  1070. type VolumeServer_VolumeFollowServer interface {
  1071. Send(*VolumeFollowResponse) error
  1072. grpc.ServerStream
  1073. }
  1074. type volumeServerVolumeFollowServer struct {
  1075. grpc.ServerStream
  1076. }
  1077. func (x *volumeServerVolumeFollowServer) Send(m *VolumeFollowResponse) error {
  1078. return x.ServerStream.SendMsg(m)
  1079. }
  1080. func _VolumeServer_VolumeMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1081. in := new(VolumeMountRequest)
  1082. if err := dec(in); err != nil {
  1083. return nil, err
  1084. }
  1085. if interceptor == nil {
  1086. return srv.(VolumeServerServer).VolumeMount(ctx, in)
  1087. }
  1088. info := &grpc.UnaryServerInfo{
  1089. Server: srv,
  1090. FullMethod: "/volume_server_pb.VolumeServer/VolumeMount",
  1091. }
  1092. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1093. return srv.(VolumeServerServer).VolumeMount(ctx, req.(*VolumeMountRequest))
  1094. }
  1095. return interceptor(ctx, in, info, handler)
  1096. }
  1097. func _VolumeServer_VolumeUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1098. in := new(VolumeUnmountRequest)
  1099. if err := dec(in); err != nil {
  1100. return nil, err
  1101. }
  1102. if interceptor == nil {
  1103. return srv.(VolumeServerServer).VolumeUnmount(ctx, in)
  1104. }
  1105. info := &grpc.UnaryServerInfo{
  1106. Server: srv,
  1107. FullMethod: "/volume_server_pb.VolumeServer/VolumeUnmount",
  1108. }
  1109. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1110. return srv.(VolumeServerServer).VolumeUnmount(ctx, req.(*VolumeUnmountRequest))
  1111. }
  1112. return interceptor(ctx, in, info, handler)
  1113. }
  1114. func _VolumeServer_VolumeDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1115. in := new(VolumeDeleteRequest)
  1116. if err := dec(in); err != nil {
  1117. return nil, err
  1118. }
  1119. if interceptor == nil {
  1120. return srv.(VolumeServerServer).VolumeDelete(ctx, in)
  1121. }
  1122. info := &grpc.UnaryServerInfo{
  1123. Server: srv,
  1124. FullMethod: "/volume_server_pb.VolumeServer/VolumeDelete",
  1125. }
  1126. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1127. return srv.(VolumeServerServer).VolumeDelete(ctx, req.(*VolumeDeleteRequest))
  1128. }
  1129. return interceptor(ctx, in, info, handler)
  1130. }
  1131. func _VolumeServer_ReplicateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1132. in := new(ReplicateVolumeRequest)
  1133. if err := dec(in); err != nil {
  1134. return nil, err
  1135. }
  1136. if interceptor == nil {
  1137. return srv.(VolumeServerServer).ReplicateVolume(ctx, in)
  1138. }
  1139. info := &grpc.UnaryServerInfo{
  1140. Server: srv,
  1141. FullMethod: "/volume_server_pb.VolumeServer/ReplicateVolume",
  1142. }
  1143. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1144. return srv.(VolumeServerServer).ReplicateVolume(ctx, req.(*ReplicateVolumeRequest))
  1145. }
  1146. return interceptor(ctx, in, info, handler)
  1147. }
  1148. func _VolumeServer_ReadVolumeFileStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1149. in := new(ReadVolumeFileStatusRequest)
  1150. if err := dec(in); err != nil {
  1151. return nil, err
  1152. }
  1153. if interceptor == nil {
  1154. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, in)
  1155. }
  1156. info := &grpc.UnaryServerInfo{
  1157. Server: srv,
  1158. FullMethod: "/volume_server_pb.VolumeServer/ReadVolumeFileStatus",
  1159. }
  1160. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1161. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, req.(*ReadVolumeFileStatusRequest))
  1162. }
  1163. return interceptor(ctx, in, info, handler)
  1164. }
  1165. func _VolumeServer_CopyFile_Handler(srv interface{}, stream grpc.ServerStream) error {
  1166. m := new(CopyFileRequest)
  1167. if err := stream.RecvMsg(m); err != nil {
  1168. return err
  1169. }
  1170. return srv.(VolumeServerServer).CopyFile(m, &volumeServerCopyFileServer{stream})
  1171. }
  1172. type VolumeServer_CopyFileServer interface {
  1173. Send(*CopyFileResponse) error
  1174. grpc.ServerStream
  1175. }
  1176. type volumeServerCopyFileServer struct {
  1177. grpc.ServerStream
  1178. }
  1179. func (x *volumeServerCopyFileServer) Send(m *CopyFileResponse) error {
  1180. return x.ServerStream.SendMsg(m)
  1181. }
  1182. var _VolumeServer_serviceDesc = grpc.ServiceDesc{
  1183. ServiceName: "volume_server_pb.VolumeServer",
  1184. HandlerType: (*VolumeServerServer)(nil),
  1185. Methods: []grpc.MethodDesc{
  1186. {
  1187. MethodName: "BatchDelete",
  1188. Handler: _VolumeServer_BatchDelete_Handler,
  1189. },
  1190. {
  1191. MethodName: "VacuumVolumeCheck",
  1192. Handler: _VolumeServer_VacuumVolumeCheck_Handler,
  1193. },
  1194. {
  1195. MethodName: "VacuumVolumeCompact",
  1196. Handler: _VolumeServer_VacuumVolumeCompact_Handler,
  1197. },
  1198. {
  1199. MethodName: "VacuumVolumeCommit",
  1200. Handler: _VolumeServer_VacuumVolumeCommit_Handler,
  1201. },
  1202. {
  1203. MethodName: "VacuumVolumeCleanup",
  1204. Handler: _VolumeServer_VacuumVolumeCleanup_Handler,
  1205. },
  1206. {
  1207. MethodName: "DeleteCollection",
  1208. Handler: _VolumeServer_DeleteCollection_Handler,
  1209. },
  1210. {
  1211. MethodName: "AllocateVolume",
  1212. Handler: _VolumeServer_AllocateVolume_Handler,
  1213. },
  1214. {
  1215. MethodName: "VolumeSyncStatus",
  1216. Handler: _VolumeServer_VolumeSyncStatus_Handler,
  1217. },
  1218. {
  1219. MethodName: "VolumeMount",
  1220. Handler: _VolumeServer_VolumeMount_Handler,
  1221. },
  1222. {
  1223. MethodName: "VolumeUnmount",
  1224. Handler: _VolumeServer_VolumeUnmount_Handler,
  1225. },
  1226. {
  1227. MethodName: "VolumeDelete",
  1228. Handler: _VolumeServer_VolumeDelete_Handler,
  1229. },
  1230. {
  1231. MethodName: "ReplicateVolume",
  1232. Handler: _VolumeServer_ReplicateVolume_Handler,
  1233. },
  1234. {
  1235. MethodName: "ReadVolumeFileStatus",
  1236. Handler: _VolumeServer_ReadVolumeFileStatus_Handler,
  1237. },
  1238. },
  1239. Streams: []grpc.StreamDesc{
  1240. {
  1241. StreamName: "VolumeFollow",
  1242. Handler: _VolumeServer_VolumeFollow_Handler,
  1243. ServerStreams: true,
  1244. },
  1245. {
  1246. StreamName: "CopyFile",
  1247. Handler: _VolumeServer_CopyFile_Handler,
  1248. ServerStreams: true,
  1249. },
  1250. },
  1251. Metadata: "volume_server.proto",
  1252. }
  1253. func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) }
  1254. var fileDescriptor0 = []byte{
  1255. // 1169 bytes of a gzipped FileDescriptorProto
  1256. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0x4b, 0x73, 0xdc, 0x44,
  1257. 0x10, 0xb6, 0xb2, 0xbb, 0x7e, 0xf4, 0xae, 0xe3, 0x65, 0xfc, 0x92, 0xe5, 0x60, 0x36, 0x03, 0x4e,
  1258. 0xd6, 0x89, 0x63, 0xc0, 0x29, 0x20, 0xe1, 0x04, 0xd8, 0xa4, 0xf0, 0x21, 0xa4, 0x4a, 0x26, 0x29,
  1259. 0xaa, 0xa0, 0x4a, 0x35, 0x96, 0x66, 0x6d, 0x95, 0xb5, 0x1a, 0x45, 0x1a, 0x39, 0x31, 0x7f, 0x87,
  1260. 0x1b, 0x57, 0xae, 0xfc, 0x17, 0x7e, 0x08, 0x17, 0x6a, 0x1e, 0x92, 0x57, 0x8f, 0xcd, 0x8a, 0xc7,
  1261. 0x6d, 0xd4, 0xd3, 0xfd, 0x75, 0xf7, 0x4c, 0x77, 0xcf, 0x57, 0x82, 0xd5, 0x2b, 0x16, 0xa4, 0x63,
  1262. 0xea, 0x24, 0x34, 0xbe, 0xa2, 0xf1, 0x41, 0x14, 0x33, 0xce, 0x50, 0xbf, 0x20, 0x74, 0xa2, 0x33,
  1263. 0xfc, 0x31, 0xa0, 0x6f, 0x08, 0x77, 0x2f, 0x8e, 0x69, 0x40, 0x39, 0xb5, 0xe9, 0xeb, 0x94, 0x26,
  1264. 0x1c, 0x6d, 0xc1, 0xe2, 0xc8, 0x0f, 0xa8, 0xe3, 0x7b, 0x89, 0x69, 0x0c, 0x5a, 0xc3, 0x25, 0x7b,
  1265. 0x41, 0x7c, 0x9f, 0x78, 0x09, 0x7e, 0x01, 0xab, 0x05, 0x83, 0x24, 0x62, 0x61, 0x42, 0xd1, 0x13,
  1266. 0x58, 0x88, 0x69, 0x92, 0x06, 0x5c, 0x19, 0x74, 0x0f, 0x77, 0x0e, 0xca, 0xbe, 0x0e, 0x72, 0x93,
  1267. 0x34, 0xe0, 0x76, 0xa6, 0x8e, 0x7d, 0xe8, 0x4d, 0x6e, 0xa0, 0x4d, 0x58, 0xd0, 0xbe, 0x4d, 0x63,
  1268. 0x60, 0x0c, 0x97, 0xec, 0x79, 0xe5, 0x1a, 0x6d, 0xc0, 0x7c, 0xc2, 0x09, 0x4f, 0x13, 0xf3, 0xd6,
  1269. 0xc0, 0x18, 0x76, 0x6c, 0xfd, 0x85, 0xd6, 0xa0, 0x43, 0xe3, 0x98, 0xc5, 0x66, 0x4b, 0xaa, 0xab,
  1270. 0x0f, 0x84, 0xa0, 0x9d, 0xf8, 0xbf, 0x50, 0xb3, 0x3d, 0x30, 0x86, 0xcb, 0xb6, 0x5c, 0xe3, 0x05,
  1271. 0xe8, 0x7c, 0x3b, 0x8e, 0xf8, 0x35, 0xfe, 0x02, 0xcc, 0x57, 0xc4, 0x4d, 0xd3, 0xf1, 0x2b, 0x19,
  1272. 0xe3, 0xd1, 0x05, 0x75, 0x2f, 0xb3, 0xdc, 0xb7, 0x61, 0x49, 0x47, 0xae, 0x23, 0x58, 0xb6, 0x17,
  1273. 0x95, 0xe0, 0xc4, 0xc3, 0x5f, 0xc1, 0x56, 0x8d, 0xa1, 0x3e, 0x83, 0x0f, 0x61, 0xf9, 0x9c, 0xc4,
  1274. 0x67, 0xe4, 0x9c, 0x3a, 0x31, 0xe1, 0x3e, 0x93, 0xd6, 0x86, 0xdd, 0xd3, 0x42, 0x5b, 0xc8, 0xf0,
  1275. 0x4f, 0x60, 0x15, 0x10, 0xd8, 0x38, 0x22, 0x2e, 0x6f, 0xe2, 0x1c, 0x0d, 0xa0, 0x1b, 0xc5, 0x94,
  1276. 0x04, 0x01, 0x73, 0x09, 0xa7, 0xf2, 0x14, 0x5a, 0xf6, 0xa4, 0x08, 0xbf, 0x0f, 0xdb, 0xb5, 0xe0,
  1277. 0x2a, 0x40, 0xfc, 0xa4, 0x14, 0x3d, 0x1b, 0x8f, 0xfd, 0x46, 0xae, 0xf1, 0x9d, 0x4a, 0xd4, 0xd2,
  1278. 0x52, 0xe3, 0x3e, 0x2d, 0xed, 0x06, 0x94, 0x84, 0x69, 0xd4, 0x08, 0xb8, 0x1c, 0x71, 0x66, 0x9a,
  1279. 0x23, 0x6f, 0xaa, 0xe2, 0x38, 0x62, 0x41, 0x40, 0x5d, 0xee, 0xb3, 0x30, 0x83, 0xdd, 0x01, 0x70,
  1280. 0x73, 0xa1, 0x2e, 0x95, 0x09, 0x09, 0xb6, 0xc0, 0xac, 0x9a, 0x6a, 0xd8, 0xdf, 0x0c, 0x58, 0xff,
  1281. 0x5a, 0x1f, 0x9a, 0x72, 0xdc, 0xe8, 0x02, 0x8a, 0x2e, 0x6f, 0x95, 0x5d, 0x96, 0x2f, 0xa8, 0x55,
  1282. 0xb9, 0x20, 0xa1, 0x11, 0xd3, 0x28, 0xf0, 0x5d, 0x22, 0x21, 0xda, 0x12, 0x62, 0x52, 0x84, 0xfa,
  1283. 0xd0, 0xe2, 0x3c, 0x30, 0x3b, 0x72, 0x47, 0x2c, 0xb1, 0x09, 0x1b, 0xe5, 0x58, 0x75, 0x1a, 0x9f,
  1284. 0xc3, 0xa6, 0x92, 0x9c, 0x5e, 0x87, 0xee, 0xa9, 0xec, 0x86, 0x46, 0x87, 0xfe, 0x97, 0x01, 0x66,
  1285. 0xd5, 0x50, 0x57, 0xf1, 0x7f, 0x3d, 0x81, 0x7f, 0x9a, 0x1f, 0xfa, 0x00, 0xba, 0x9c, 0xf8, 0x81,
  1286. 0xc3, 0x46, 0xa3, 0x84, 0x72, 0x73, 0x7e, 0x60, 0x0c, 0xdb, 0x36, 0x08, 0xd1, 0x0b, 0x29, 0x41,
  1287. 0x7b, 0xd0, 0x77, 0x55, 0x25, 0x3b, 0x31, 0xbd, 0xf2, 0x13, 0x81, 0xbc, 0x20, 0x03, 0x5b, 0x71,
  1288. 0xb3, 0x0a, 0x57, 0x62, 0x84, 0x61, 0xd9, 0xf7, 0xde, 0x3a, 0x72, 0x80, 0xc8, 0xf6, 0x5f, 0x94,
  1289. 0x68, 0x5d, 0xdf, 0x7b, 0xfb, 0xcc, 0x0f, 0xe8, 0xa9, 0x98, 0x02, 0xdf, 0xc1, 0xaa, 0x4a, 0xfe,
  1290. 0x19, 0x0b, 0x02, 0xf6, 0xa6, 0xd1, 0xcd, 0xaf, 0x41, 0x27, 0xf1, 0x43, 0x57, 0x35, 0x5d, 0xdb,
  1291. 0x56, 0x1f, 0xf8, 0x29, 0xac, 0x15, 0x91, 0xf4, 0x11, 0xde, 0x85, 0x9e, 0x8c, 0xc0, 0x65, 0x21,
  1292. 0xa7, 0x21, 0x97, 0x68, 0x3d, 0xbb, 0x2b, 0x64, 0x47, 0x4a, 0x84, 0x3f, 0x05, 0xa4, 0x4c, 0x9f,
  1293. 0xb3, 0x34, 0x6c, 0xd6, 0x83, 0xeb, 0x59, 0xdc, 0xda, 0x44, 0x17, 0xc1, 0xe3, 0x2c, 0x88, 0x97,
  1294. 0xe1, 0xb8, 0x31, 0xd6, 0x26, 0xac, 0x97, 0x8c, 0x34, 0xda, 0x61, 0xe6, 0xa4, 0xf8, 0x20, 0xbc,
  1295. 0x13, 0x6c, 0x23, 0x8b, 0xa0, 0xf8, 0x26, 0xe0, 0xdf, 0x0d, 0xd8, 0xb0, 0xf5, 0xd5, 0xff, 0xcf,
  1296. 0x6d, 0x36, 0x59, 0x64, 0xad, 0xa9, 0x45, 0xd6, 0xbe, 0x29, 0xb2, 0x21, 0xf4, 0x13, 0x96, 0xc6,
  1297. 0x2e, 0x75, 0x3c, 0xc2, 0x89, 0x13, 0x32, 0x8f, 0xea, 0x1a, 0xbc, 0xad, 0xe4, 0xc7, 0x84, 0x93,
  1298. 0xef, 0x99, 0x47, 0xf1, 0x16, 0x6c, 0x56, 0x82, 0xd6, 0x09, 0x85, 0xb0, 0x72, 0xc4, 0xa2, 0x6b,
  1299. 0x51, 0x49, 0x0d, 0x13, 0xe9, 0xfa, 0x89, 0x93, 0x15, 0xa4, 0xcc, 0x64, 0xd1, 0x5e, 0xf2, 0x93,
  1300. 0x13, 0x55, 0x8d, 0x7a, 0xdf, 0x23, 0x5c, 0xed, 0xb7, 0xb2, 0xfd, 0x63, 0xc2, 0xc5, 0x3e, 0xfe,
  1301. 0x0c, 0xfa, 0x37, 0xfe, 0x9a, 0xd7, 0xd6, 0x97, 0xb0, 0x6d, 0x53, 0xe2, 0xe9, 0xd2, 0x14, 0x65,
  1302. 0xdf, 0x7c, 0x34, 0xfc, 0x69, 0xc0, 0x9d, 0x7a, 0xe3, 0x26, 0xe3, 0x61, 0x1f, 0x50, 0xde, 0x7e,
  1303. 0xdc, 0x1f, 0xd3, 0x84, 0x93, 0x71, 0xa4, 0x7b, 0xa6, 0xaf, 0x7b, 0xf0, 0x87, 0x4c, 0x5e, 0x6d,
  1304. 0xd6, 0x56, 0xa5, 0x59, 0x05, 0x62, 0x76, 0x3e, 0x13, 0x88, 0x6d, 0x85, 0xe8, 0xa9, 0x73, 0x2a,
  1305. 0x20, 0xe6, 0xda, 0x12, 0xb1, 0xa3, 0x10, 0xb5, 0xa2, 0x6c, 0xff, 0x1f, 0x01, 0x8e, 0xfd, 0xe4,
  1306. 0x52, 0xa5, 0x25, 0x2a, 0xc5, 0xf3, 0x63, 0xfd, 0x7c, 0x88, 0xa5, 0x90, 0x90, 0x20, 0xd0, 0x41,
  1307. 0x8b, 0xa5, 0xa0, 0x12, 0x69, 0x42, 0x3d, 0x1d, 0x9e, 0x5c, 0x0b, 0xd9, 0x28, 0xa6, 0x54, 0x47,
  1308. 0x22, 0xd7, 0xf8, 0x57, 0x03, 0x96, 0x9e, 0xd3, 0xb1, 0x46, 0xde, 0x01, 0x38, 0x67, 0x31, 0x4b,
  1309. 0xb9, 0x1f, 0xd2, 0x44, 0x3a, 0xe8, 0xd8, 0x13, 0x92, 0x7f, 0xef, 0x47, 0x52, 0x1b, 0x1a, 0x8c,
  1310. 0x74, 0x72, 0x72, 0x2d, 0x64, 0x17, 0x94, 0x44, 0x7a, 0x7a, 0xca, 0xb5, 0x1c, 0x5a, 0x9c, 0xb8,
  1311. 0x97, 0x72, 0x58, 0x8a, 0xa1, 0x25, 0x3e, 0x0e, 0xff, 0xe8, 0x41, 0x4f, 0x0f, 0x7f, 0xc9, 0xcc,
  1312. 0xd0, 0xcf, 0xd0, 0x9d, 0x60, 0x74, 0xe8, 0xa3, 0x2a, 0x71, 0xab, 0x32, 0x44, 0x6b, 0x77, 0x86,
  1313. 0x96, 0xee, 0x98, 0x39, 0x14, 0xc2, 0x7b, 0x15, 0xc6, 0x84, 0x1e, 0x54, 0xad, 0xa7, 0xf1, 0x31,
  1314. 0xeb, 0x61, 0x23, 0xdd, 0xdc, 0x1f, 0x87, 0xd5, 0x1a, 0x0a, 0x84, 0xf6, 0x67, 0xa0, 0x14, 0x68,
  1315. 0x98, 0xf5, 0xa8, 0xa1, 0x76, 0xee, 0xf5, 0x35, 0xa0, 0x2a, 0x3f, 0x42, 0x0f, 0x67, 0xc2, 0xdc,
  1316. 0xf0, 0x2f, 0x6b, 0xbf, 0x99, 0xf2, 0xd4, 0x44, 0x15, 0x73, 0x9a, 0x99, 0x68, 0x81, 0x9b, 0xcd,
  1317. 0x4c, 0xb4, 0x44, 0xc7, 0xe6, 0xd0, 0x25, 0xf4, 0xcb, 0xac, 0x0a, 0xed, 0x4d, 0xa3, 0xfa, 0x15,
  1318. 0xd2, 0x66, 0x3d, 0x68, 0xa2, 0x9a, 0x3b, 0xa3, 0x70, 0xbb, 0xc8, 0x7c, 0xd0, 0xfd, 0xaa, 0x7d,
  1319. 0x2d, 0x8f, 0xb3, 0x86, 0xb3, 0x15, 0x27, 0x73, 0x2a, 0xb3, 0xa1, 0xba, 0x9c, 0xa6, 0x50, 0xad,
  1320. 0xba, 0x9c, 0xa6, 0x91, 0x2b, 0x3c, 0x87, 0x48, 0xd6, 0x7d, 0x8a, 0x33, 0xa0, 0xdd, 0x69, 0xd6,
  1321. 0x05, 0x76, 0x62, 0xdd, 0x9b, 0xa5, 0x96, 0x39, 0xf8, 0xc4, 0x10, 0x0d, 0x3d, 0x41, 0x14, 0xea,
  1322. 0x1a, 0xba, 0x4a, 0x3d, 0xac, 0xdd, 0x19, 0x5a, 0x79, 0x02, 0x67, 0xb0, 0x5c, 0xa0, 0x0e, 0x68,
  1323. 0x6a, 0x68, 0x45, 0x42, 0x62, 0xdd, 0x9f, 0xa9, 0x97, 0xfb, 0x70, 0xb2, 0x43, 0xd2, 0x33, 0x69,
  1324. 0x6a, 0x70, 0xc5, 0xa1, 0x74, 0x6f, 0x96, 0x5a, 0xee, 0xe0, 0x02, 0x56, 0x4a, 0x8f, 0x3c, 0xaa,
  1325. 0xa9, 0x98, 0x7a, 0xf2, 0x62, 0xed, 0x35, 0xd0, 0xcc, 0x3d, 0xbd, 0x81, 0xb5, 0xba, 0xf7, 0x14,
  1326. 0x3d, 0xaa, 0x03, 0x99, 0xfa, 0x68, 0x5b, 0x07, 0x4d, 0xd5, 0x73, 0xc7, 0x2f, 0x61, 0x31, 0x23,
  1327. 0x0f, 0xe8, 0x6e, 0xd5, 0xba, 0x44, 0x64, 0x2c, 0xfc, 0x2e, 0x95, 0x9b, 0xe2, 0x3a, 0x9b, 0x97,
  1328. 0x7f, 0x12, 0x1e, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xdf, 0xd7, 0x82, 0x60, 0x10, 0x00,
  1329. 0x00,
  1330. }