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.

1511 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. AssignVolumeRequest
  24. AssignVolumeResponse
  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 AssignVolumeRequest 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 *AssignVolumeRequest) Reset() { *m = AssignVolumeRequest{} }
  244. func (m *AssignVolumeRequest) String() string { return proto.CompactTextString(m) }
  245. func (*AssignVolumeRequest) ProtoMessage() {}
  246. func (*AssignVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  247. func (m *AssignVolumeRequest) GetVolumeId() uint32 {
  248. if m != nil {
  249. return m.VolumeId
  250. }
  251. return 0
  252. }
  253. func (m *AssignVolumeRequest) GetCollection() string {
  254. if m != nil {
  255. return m.Collection
  256. }
  257. return ""
  258. }
  259. func (m *AssignVolumeRequest) GetPreallocate() int64 {
  260. if m != nil {
  261. return m.Preallocate
  262. }
  263. return 0
  264. }
  265. func (m *AssignVolumeRequest) GetReplication() string {
  266. if m != nil {
  267. return m.Replication
  268. }
  269. return ""
  270. }
  271. func (m *AssignVolumeRequest) GetTtl() string {
  272. if m != nil {
  273. return m.Ttl
  274. }
  275. return ""
  276. }
  277. type AssignVolumeResponse struct {
  278. }
  279. func (m *AssignVolumeResponse) Reset() { *m = AssignVolumeResponse{} }
  280. func (m *AssignVolumeResponse) String() string { return proto.CompactTextString(m) }
  281. func (*AssignVolumeResponse) ProtoMessage() {}
  282. func (*AssignVolumeResponse) 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. }
  548. func (m *ReadVolumeFileStatusResponse) Reset() { *m = ReadVolumeFileStatusResponse{} }
  549. func (m *ReadVolumeFileStatusResponse) String() string { return proto.CompactTextString(m) }
  550. func (*ReadVolumeFileStatusResponse) ProtoMessage() {}
  551. func (*ReadVolumeFileStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
  552. func (m *ReadVolumeFileStatusResponse) GetVolumeId() uint32 {
  553. if m != nil {
  554. return m.VolumeId
  555. }
  556. return 0
  557. }
  558. func (m *ReadVolumeFileStatusResponse) GetIdxFileTimestamp() uint64 {
  559. if m != nil {
  560. return m.IdxFileTimestamp
  561. }
  562. return 0
  563. }
  564. func (m *ReadVolumeFileStatusResponse) GetIdxFileSize() uint64 {
  565. if m != nil {
  566. return m.IdxFileSize
  567. }
  568. return 0
  569. }
  570. func (m *ReadVolumeFileStatusResponse) GetDatFileTimestamp() uint64 {
  571. if m != nil {
  572. return m.DatFileTimestamp
  573. }
  574. return 0
  575. }
  576. func (m *ReadVolumeFileStatusResponse) GetDatFileSize() uint64 {
  577. if m != nil {
  578. return m.DatFileSize
  579. }
  580. return 0
  581. }
  582. type DiskStatus struct {
  583. Dir string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"`
  584. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  585. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  586. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  587. }
  588. func (m *DiskStatus) Reset() { *m = DiskStatus{} }
  589. func (m *DiskStatus) String() string { return proto.CompactTextString(m) }
  590. func (*DiskStatus) ProtoMessage() {}
  591. func (*DiskStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
  592. func (m *DiskStatus) GetDir() string {
  593. if m != nil {
  594. return m.Dir
  595. }
  596. return ""
  597. }
  598. func (m *DiskStatus) GetAll() uint64 {
  599. if m != nil {
  600. return m.All
  601. }
  602. return 0
  603. }
  604. func (m *DiskStatus) GetUsed() uint64 {
  605. if m != nil {
  606. return m.Used
  607. }
  608. return 0
  609. }
  610. func (m *DiskStatus) GetFree() uint64 {
  611. if m != nil {
  612. return m.Free
  613. }
  614. return 0
  615. }
  616. type MemStatus struct {
  617. Goroutines int32 `protobuf:"varint,1,opt,name=goroutines" json:"goroutines,omitempty"`
  618. All uint64 `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
  619. Used uint64 `protobuf:"varint,3,opt,name=used" json:"used,omitempty"`
  620. Free uint64 `protobuf:"varint,4,opt,name=free" json:"free,omitempty"`
  621. Self uint64 `protobuf:"varint,5,opt,name=self" json:"self,omitempty"`
  622. Heap uint64 `protobuf:"varint,6,opt,name=heap" json:"heap,omitempty"`
  623. Stack uint64 `protobuf:"varint,7,opt,name=stack" json:"stack,omitempty"`
  624. }
  625. func (m *MemStatus) Reset() { *m = MemStatus{} }
  626. func (m *MemStatus) String() string { return proto.CompactTextString(m) }
  627. func (*MemStatus) ProtoMessage() {}
  628. func (*MemStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} }
  629. func (m *MemStatus) GetGoroutines() int32 {
  630. if m != nil {
  631. return m.Goroutines
  632. }
  633. return 0
  634. }
  635. func (m *MemStatus) GetAll() uint64 {
  636. if m != nil {
  637. return m.All
  638. }
  639. return 0
  640. }
  641. func (m *MemStatus) GetUsed() uint64 {
  642. if m != nil {
  643. return m.Used
  644. }
  645. return 0
  646. }
  647. func (m *MemStatus) GetFree() uint64 {
  648. if m != nil {
  649. return m.Free
  650. }
  651. return 0
  652. }
  653. func (m *MemStatus) GetSelf() uint64 {
  654. if m != nil {
  655. return m.Self
  656. }
  657. return 0
  658. }
  659. func (m *MemStatus) GetHeap() uint64 {
  660. if m != nil {
  661. return m.Heap
  662. }
  663. return 0
  664. }
  665. func (m *MemStatus) GetStack() uint64 {
  666. if m != nil {
  667. return m.Stack
  668. }
  669. return 0
  670. }
  671. func init() {
  672. proto.RegisterType((*BatchDeleteRequest)(nil), "volume_server_pb.BatchDeleteRequest")
  673. proto.RegisterType((*BatchDeleteResponse)(nil), "volume_server_pb.BatchDeleteResponse")
  674. proto.RegisterType((*DeleteResult)(nil), "volume_server_pb.DeleteResult")
  675. proto.RegisterType((*Empty)(nil), "volume_server_pb.Empty")
  676. proto.RegisterType((*VacuumVolumeCheckRequest)(nil), "volume_server_pb.VacuumVolumeCheckRequest")
  677. proto.RegisterType((*VacuumVolumeCheckResponse)(nil), "volume_server_pb.VacuumVolumeCheckResponse")
  678. proto.RegisterType((*VacuumVolumeCompactRequest)(nil), "volume_server_pb.VacuumVolumeCompactRequest")
  679. proto.RegisterType((*VacuumVolumeCompactResponse)(nil), "volume_server_pb.VacuumVolumeCompactResponse")
  680. proto.RegisterType((*VacuumVolumeCommitRequest)(nil), "volume_server_pb.VacuumVolumeCommitRequest")
  681. proto.RegisterType((*VacuumVolumeCommitResponse)(nil), "volume_server_pb.VacuumVolumeCommitResponse")
  682. proto.RegisterType((*VacuumVolumeCleanupRequest)(nil), "volume_server_pb.VacuumVolumeCleanupRequest")
  683. proto.RegisterType((*VacuumVolumeCleanupResponse)(nil), "volume_server_pb.VacuumVolumeCleanupResponse")
  684. proto.RegisterType((*DeleteCollectionRequest)(nil), "volume_server_pb.DeleteCollectionRequest")
  685. proto.RegisterType((*DeleteCollectionResponse)(nil), "volume_server_pb.DeleteCollectionResponse")
  686. proto.RegisterType((*AssignVolumeRequest)(nil), "volume_server_pb.AssignVolumeRequest")
  687. proto.RegisterType((*AssignVolumeResponse)(nil), "volume_server_pb.AssignVolumeResponse")
  688. proto.RegisterType((*VolumeSyncStatusRequest)(nil), "volume_server_pb.VolumeSyncStatusRequest")
  689. proto.RegisterType((*VolumeSyncStatusResponse)(nil), "volume_server_pb.VolumeSyncStatusResponse")
  690. proto.RegisterType((*VolumeFollowRequest)(nil), "volume_server_pb.VolumeFollowRequest")
  691. proto.RegisterType((*VolumeFollowResponse)(nil), "volume_server_pb.VolumeFollowResponse")
  692. proto.RegisterType((*VolumeMountRequest)(nil), "volume_server_pb.VolumeMountRequest")
  693. proto.RegisterType((*VolumeMountResponse)(nil), "volume_server_pb.VolumeMountResponse")
  694. proto.RegisterType((*VolumeUnmountRequest)(nil), "volume_server_pb.VolumeUnmountRequest")
  695. proto.RegisterType((*VolumeUnmountResponse)(nil), "volume_server_pb.VolumeUnmountResponse")
  696. proto.RegisterType((*VolumeDeleteRequest)(nil), "volume_server_pb.VolumeDeleteRequest")
  697. proto.RegisterType((*VolumeDeleteResponse)(nil), "volume_server_pb.VolumeDeleteResponse")
  698. proto.RegisterType((*ReplicateVolumeRequest)(nil), "volume_server_pb.ReplicateVolumeRequest")
  699. proto.RegisterType((*ReplicateVolumeResponse)(nil), "volume_server_pb.ReplicateVolumeResponse")
  700. proto.RegisterType((*CopyFileRequest)(nil), "volume_server_pb.CopyFileRequest")
  701. proto.RegisterType((*CopyFileResponse)(nil), "volume_server_pb.CopyFileResponse")
  702. proto.RegisterType((*ReadVolumeFileStatusRequest)(nil), "volume_server_pb.ReadVolumeFileStatusRequest")
  703. proto.RegisterType((*ReadVolumeFileStatusResponse)(nil), "volume_server_pb.ReadVolumeFileStatusResponse")
  704. proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus")
  705. proto.RegisterType((*MemStatus)(nil), "volume_server_pb.MemStatus")
  706. }
  707. // Reference imports to suppress errors if they are not otherwise used.
  708. var _ context.Context
  709. var _ grpc.ClientConn
  710. // This is a compile-time assertion to ensure that this generated file
  711. // is compatible with the grpc package it is being compiled against.
  712. const _ = grpc.SupportPackageIsVersion4
  713. // Client API for VolumeServer service
  714. type VolumeServerClient interface {
  715. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  716. BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error)
  717. VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error)
  718. VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error)
  719. VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error)
  720. VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error)
  721. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  722. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  723. VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error)
  724. VolumeFollow(ctx context.Context, in *VolumeFollowRequest, opts ...grpc.CallOption) (VolumeServer_VolumeFollowClient, error)
  725. VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error)
  726. VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error)
  727. VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error)
  728. ReplicateVolume(ctx context.Context, in *ReplicateVolumeRequest, opts ...grpc.CallOption) (*ReplicateVolumeResponse, error)
  729. ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error)
  730. CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error)
  731. }
  732. type volumeServerClient struct {
  733. cc *grpc.ClientConn
  734. }
  735. func NewVolumeServerClient(cc *grpc.ClientConn) VolumeServerClient {
  736. return &volumeServerClient{cc}
  737. }
  738. func (c *volumeServerClient) BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error) {
  739. out := new(BatchDeleteResponse)
  740. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/BatchDelete", in, out, c.cc, opts...)
  741. if err != nil {
  742. return nil, err
  743. }
  744. return out, nil
  745. }
  746. func (c *volumeServerClient) VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error) {
  747. out := new(VacuumVolumeCheckResponse)
  748. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCheck", in, out, c.cc, opts...)
  749. if err != nil {
  750. return nil, err
  751. }
  752. return out, nil
  753. }
  754. func (c *volumeServerClient) VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (*VacuumVolumeCompactResponse, error) {
  755. out := new(VacuumVolumeCompactResponse)
  756. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCompact", in, out, c.cc, opts...)
  757. if err != nil {
  758. return nil, err
  759. }
  760. return out, nil
  761. }
  762. func (c *volumeServerClient) VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error) {
  763. out := new(VacuumVolumeCommitResponse)
  764. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCommit", in, out, c.cc, opts...)
  765. if err != nil {
  766. return nil, err
  767. }
  768. return out, nil
  769. }
  770. func (c *volumeServerClient) VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error) {
  771. out := new(VacuumVolumeCleanupResponse)
  772. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCleanup", in, out, c.cc, opts...)
  773. if err != nil {
  774. return nil, err
  775. }
  776. return out, nil
  777. }
  778. func (c *volumeServerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  779. out := new(DeleteCollectionResponse)
  780. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/DeleteCollection", in, out, c.cc, opts...)
  781. if err != nil {
  782. return nil, err
  783. }
  784. return out, nil
  785. }
  786. func (c *volumeServerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  787. out := new(AssignVolumeResponse)
  788. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/AssignVolume", in, out, c.cc, opts...)
  789. if err != nil {
  790. return nil, err
  791. }
  792. return out, nil
  793. }
  794. func (c *volumeServerClient) VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error) {
  795. out := new(VolumeSyncStatusResponse)
  796. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeSyncStatus", in, out, c.cc, opts...)
  797. if err != nil {
  798. return nil, err
  799. }
  800. return out, nil
  801. }
  802. func (c *volumeServerClient) VolumeFollow(ctx context.Context, in *VolumeFollowRequest, opts ...grpc.CallOption) (VolumeServer_VolumeFollowClient, error) {
  803. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[0], c.cc, "/volume_server_pb.VolumeServer/VolumeFollow", opts...)
  804. if err != nil {
  805. return nil, err
  806. }
  807. x := &volumeServerVolumeFollowClient{stream}
  808. if err := x.ClientStream.SendMsg(in); err != nil {
  809. return nil, err
  810. }
  811. if err := x.ClientStream.CloseSend(); err != nil {
  812. return nil, err
  813. }
  814. return x, nil
  815. }
  816. type VolumeServer_VolumeFollowClient interface {
  817. Recv() (*VolumeFollowResponse, error)
  818. grpc.ClientStream
  819. }
  820. type volumeServerVolumeFollowClient struct {
  821. grpc.ClientStream
  822. }
  823. func (x *volumeServerVolumeFollowClient) Recv() (*VolumeFollowResponse, error) {
  824. m := new(VolumeFollowResponse)
  825. if err := x.ClientStream.RecvMsg(m); err != nil {
  826. return nil, err
  827. }
  828. return m, nil
  829. }
  830. func (c *volumeServerClient) VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error) {
  831. out := new(VolumeMountResponse)
  832. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMount", in, out, c.cc, opts...)
  833. if err != nil {
  834. return nil, err
  835. }
  836. return out, nil
  837. }
  838. func (c *volumeServerClient) VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error) {
  839. out := new(VolumeUnmountResponse)
  840. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeUnmount", in, out, c.cc, opts...)
  841. if err != nil {
  842. return nil, err
  843. }
  844. return out, nil
  845. }
  846. func (c *volumeServerClient) VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error) {
  847. out := new(VolumeDeleteResponse)
  848. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeDelete", in, out, c.cc, opts...)
  849. if err != nil {
  850. return nil, err
  851. }
  852. return out, nil
  853. }
  854. func (c *volumeServerClient) ReplicateVolume(ctx context.Context, in *ReplicateVolumeRequest, opts ...grpc.CallOption) (*ReplicateVolumeResponse, error) {
  855. out := new(ReplicateVolumeResponse)
  856. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReplicateVolume", in, out, c.cc, opts...)
  857. if err != nil {
  858. return nil, err
  859. }
  860. return out, nil
  861. }
  862. func (c *volumeServerClient) ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error) {
  863. out := new(ReadVolumeFileStatusResponse)
  864. err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReadVolumeFileStatus", in, out, c.cc, opts...)
  865. if err != nil {
  866. return nil, err
  867. }
  868. return out, nil
  869. }
  870. func (c *volumeServerClient) CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error) {
  871. stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[1], c.cc, "/volume_server_pb.VolumeServer/CopyFile", opts...)
  872. if err != nil {
  873. return nil, err
  874. }
  875. x := &volumeServerCopyFileClient{stream}
  876. if err := x.ClientStream.SendMsg(in); err != nil {
  877. return nil, err
  878. }
  879. if err := x.ClientStream.CloseSend(); err != nil {
  880. return nil, err
  881. }
  882. return x, nil
  883. }
  884. type VolumeServer_CopyFileClient interface {
  885. Recv() (*CopyFileResponse, error)
  886. grpc.ClientStream
  887. }
  888. type volumeServerCopyFileClient struct {
  889. grpc.ClientStream
  890. }
  891. func (x *volumeServerCopyFileClient) Recv() (*CopyFileResponse, error) {
  892. m := new(CopyFileResponse)
  893. if err := x.ClientStream.RecvMsg(m); err != nil {
  894. return nil, err
  895. }
  896. return m, nil
  897. }
  898. // Server API for VolumeServer service
  899. type VolumeServerServer interface {
  900. // Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  901. BatchDelete(context.Context, *BatchDeleteRequest) (*BatchDeleteResponse, error)
  902. VacuumVolumeCheck(context.Context, *VacuumVolumeCheckRequest) (*VacuumVolumeCheckResponse, error)
  903. VacuumVolumeCompact(context.Context, *VacuumVolumeCompactRequest) (*VacuumVolumeCompactResponse, error)
  904. VacuumVolumeCommit(context.Context, *VacuumVolumeCommitRequest) (*VacuumVolumeCommitResponse, error)
  905. VacuumVolumeCleanup(context.Context, *VacuumVolumeCleanupRequest) (*VacuumVolumeCleanupResponse, error)
  906. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  907. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  908. VolumeSyncStatus(context.Context, *VolumeSyncStatusRequest) (*VolumeSyncStatusResponse, error)
  909. VolumeFollow(*VolumeFollowRequest, VolumeServer_VolumeFollowServer) error
  910. VolumeMount(context.Context, *VolumeMountRequest) (*VolumeMountResponse, error)
  911. VolumeUnmount(context.Context, *VolumeUnmountRequest) (*VolumeUnmountResponse, error)
  912. VolumeDelete(context.Context, *VolumeDeleteRequest) (*VolumeDeleteResponse, error)
  913. ReplicateVolume(context.Context, *ReplicateVolumeRequest) (*ReplicateVolumeResponse, error)
  914. ReadVolumeFileStatus(context.Context, *ReadVolumeFileStatusRequest) (*ReadVolumeFileStatusResponse, error)
  915. CopyFile(*CopyFileRequest, VolumeServer_CopyFileServer) error
  916. }
  917. func RegisterVolumeServerServer(s *grpc.Server, srv VolumeServerServer) {
  918. s.RegisterService(&_VolumeServer_serviceDesc, srv)
  919. }
  920. func _VolumeServer_BatchDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  921. in := new(BatchDeleteRequest)
  922. if err := dec(in); err != nil {
  923. return nil, err
  924. }
  925. if interceptor == nil {
  926. return srv.(VolumeServerServer).BatchDelete(ctx, in)
  927. }
  928. info := &grpc.UnaryServerInfo{
  929. Server: srv,
  930. FullMethod: "/volume_server_pb.VolumeServer/BatchDelete",
  931. }
  932. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  933. return srv.(VolumeServerServer).BatchDelete(ctx, req.(*BatchDeleteRequest))
  934. }
  935. return interceptor(ctx, in, info, handler)
  936. }
  937. func _VolumeServer_VacuumVolumeCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  938. in := new(VacuumVolumeCheckRequest)
  939. if err := dec(in); err != nil {
  940. return nil, err
  941. }
  942. if interceptor == nil {
  943. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, in)
  944. }
  945. info := &grpc.UnaryServerInfo{
  946. Server: srv,
  947. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCheck",
  948. }
  949. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  950. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, req.(*VacuumVolumeCheckRequest))
  951. }
  952. return interceptor(ctx, in, info, handler)
  953. }
  954. func _VolumeServer_VacuumVolumeCompact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  955. in := new(VacuumVolumeCompactRequest)
  956. if err := dec(in); err != nil {
  957. return nil, err
  958. }
  959. if interceptor == nil {
  960. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, in)
  961. }
  962. info := &grpc.UnaryServerInfo{
  963. Server: srv,
  964. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCompact",
  965. }
  966. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  967. return srv.(VolumeServerServer).VacuumVolumeCompact(ctx, req.(*VacuumVolumeCompactRequest))
  968. }
  969. return interceptor(ctx, in, info, handler)
  970. }
  971. func _VolumeServer_VacuumVolumeCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  972. in := new(VacuumVolumeCommitRequest)
  973. if err := dec(in); err != nil {
  974. return nil, err
  975. }
  976. if interceptor == nil {
  977. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, in)
  978. }
  979. info := &grpc.UnaryServerInfo{
  980. Server: srv,
  981. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCommit",
  982. }
  983. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  984. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, req.(*VacuumVolumeCommitRequest))
  985. }
  986. return interceptor(ctx, in, info, handler)
  987. }
  988. func _VolumeServer_VacuumVolumeCleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  989. in := new(VacuumVolumeCleanupRequest)
  990. if err := dec(in); err != nil {
  991. return nil, err
  992. }
  993. if interceptor == nil {
  994. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, in)
  995. }
  996. info := &grpc.UnaryServerInfo{
  997. Server: srv,
  998. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCleanup",
  999. }
  1000. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1001. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, req.(*VacuumVolumeCleanupRequest))
  1002. }
  1003. return interceptor(ctx, in, info, handler)
  1004. }
  1005. func _VolumeServer_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1006. in := new(DeleteCollectionRequest)
  1007. if err := dec(in); err != nil {
  1008. return nil, err
  1009. }
  1010. if interceptor == nil {
  1011. return srv.(VolumeServerServer).DeleteCollection(ctx, in)
  1012. }
  1013. info := &grpc.UnaryServerInfo{
  1014. Server: srv,
  1015. FullMethod: "/volume_server_pb.VolumeServer/DeleteCollection",
  1016. }
  1017. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1018. return srv.(VolumeServerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  1019. }
  1020. return interceptor(ctx, in, info, handler)
  1021. }
  1022. func _VolumeServer_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1023. in := new(AssignVolumeRequest)
  1024. if err := dec(in); err != nil {
  1025. return nil, err
  1026. }
  1027. if interceptor == nil {
  1028. return srv.(VolumeServerServer).AssignVolume(ctx, in)
  1029. }
  1030. info := &grpc.UnaryServerInfo{
  1031. Server: srv,
  1032. FullMethod: "/volume_server_pb.VolumeServer/AssignVolume",
  1033. }
  1034. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1035. return srv.(VolumeServerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  1036. }
  1037. return interceptor(ctx, in, info, handler)
  1038. }
  1039. func _VolumeServer_VolumeSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1040. in := new(VolumeSyncStatusRequest)
  1041. if err := dec(in); err != nil {
  1042. return nil, err
  1043. }
  1044. if interceptor == nil {
  1045. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, in)
  1046. }
  1047. info := &grpc.UnaryServerInfo{
  1048. Server: srv,
  1049. FullMethod: "/volume_server_pb.VolumeServer/VolumeSyncStatus",
  1050. }
  1051. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1052. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, req.(*VolumeSyncStatusRequest))
  1053. }
  1054. return interceptor(ctx, in, info, handler)
  1055. }
  1056. func _VolumeServer_VolumeFollow_Handler(srv interface{}, stream grpc.ServerStream) error {
  1057. m := new(VolumeFollowRequest)
  1058. if err := stream.RecvMsg(m); err != nil {
  1059. return err
  1060. }
  1061. return srv.(VolumeServerServer).VolumeFollow(m, &volumeServerVolumeFollowServer{stream})
  1062. }
  1063. type VolumeServer_VolumeFollowServer interface {
  1064. Send(*VolumeFollowResponse) error
  1065. grpc.ServerStream
  1066. }
  1067. type volumeServerVolumeFollowServer struct {
  1068. grpc.ServerStream
  1069. }
  1070. func (x *volumeServerVolumeFollowServer) Send(m *VolumeFollowResponse) error {
  1071. return x.ServerStream.SendMsg(m)
  1072. }
  1073. func _VolumeServer_VolumeMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1074. in := new(VolumeMountRequest)
  1075. if err := dec(in); err != nil {
  1076. return nil, err
  1077. }
  1078. if interceptor == nil {
  1079. return srv.(VolumeServerServer).VolumeMount(ctx, in)
  1080. }
  1081. info := &grpc.UnaryServerInfo{
  1082. Server: srv,
  1083. FullMethod: "/volume_server_pb.VolumeServer/VolumeMount",
  1084. }
  1085. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1086. return srv.(VolumeServerServer).VolumeMount(ctx, req.(*VolumeMountRequest))
  1087. }
  1088. return interceptor(ctx, in, info, handler)
  1089. }
  1090. func _VolumeServer_VolumeUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1091. in := new(VolumeUnmountRequest)
  1092. if err := dec(in); err != nil {
  1093. return nil, err
  1094. }
  1095. if interceptor == nil {
  1096. return srv.(VolumeServerServer).VolumeUnmount(ctx, in)
  1097. }
  1098. info := &grpc.UnaryServerInfo{
  1099. Server: srv,
  1100. FullMethod: "/volume_server_pb.VolumeServer/VolumeUnmount",
  1101. }
  1102. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1103. return srv.(VolumeServerServer).VolumeUnmount(ctx, req.(*VolumeUnmountRequest))
  1104. }
  1105. return interceptor(ctx, in, info, handler)
  1106. }
  1107. func _VolumeServer_VolumeDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1108. in := new(VolumeDeleteRequest)
  1109. if err := dec(in); err != nil {
  1110. return nil, err
  1111. }
  1112. if interceptor == nil {
  1113. return srv.(VolumeServerServer).VolumeDelete(ctx, in)
  1114. }
  1115. info := &grpc.UnaryServerInfo{
  1116. Server: srv,
  1117. FullMethod: "/volume_server_pb.VolumeServer/VolumeDelete",
  1118. }
  1119. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1120. return srv.(VolumeServerServer).VolumeDelete(ctx, req.(*VolumeDeleteRequest))
  1121. }
  1122. return interceptor(ctx, in, info, handler)
  1123. }
  1124. func _VolumeServer_ReplicateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1125. in := new(ReplicateVolumeRequest)
  1126. if err := dec(in); err != nil {
  1127. return nil, err
  1128. }
  1129. if interceptor == nil {
  1130. return srv.(VolumeServerServer).ReplicateVolume(ctx, in)
  1131. }
  1132. info := &grpc.UnaryServerInfo{
  1133. Server: srv,
  1134. FullMethod: "/volume_server_pb.VolumeServer/ReplicateVolume",
  1135. }
  1136. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1137. return srv.(VolumeServerServer).ReplicateVolume(ctx, req.(*ReplicateVolumeRequest))
  1138. }
  1139. return interceptor(ctx, in, info, handler)
  1140. }
  1141. func _VolumeServer_ReadVolumeFileStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1142. in := new(ReadVolumeFileStatusRequest)
  1143. if err := dec(in); err != nil {
  1144. return nil, err
  1145. }
  1146. if interceptor == nil {
  1147. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, in)
  1148. }
  1149. info := &grpc.UnaryServerInfo{
  1150. Server: srv,
  1151. FullMethod: "/volume_server_pb.VolumeServer/ReadVolumeFileStatus",
  1152. }
  1153. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1154. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, req.(*ReadVolumeFileStatusRequest))
  1155. }
  1156. return interceptor(ctx, in, info, handler)
  1157. }
  1158. func _VolumeServer_CopyFile_Handler(srv interface{}, stream grpc.ServerStream) error {
  1159. m := new(CopyFileRequest)
  1160. if err := stream.RecvMsg(m); err != nil {
  1161. return err
  1162. }
  1163. return srv.(VolumeServerServer).CopyFile(m, &volumeServerCopyFileServer{stream})
  1164. }
  1165. type VolumeServer_CopyFileServer interface {
  1166. Send(*CopyFileResponse) error
  1167. grpc.ServerStream
  1168. }
  1169. type volumeServerCopyFileServer struct {
  1170. grpc.ServerStream
  1171. }
  1172. func (x *volumeServerCopyFileServer) Send(m *CopyFileResponse) error {
  1173. return x.ServerStream.SendMsg(m)
  1174. }
  1175. var _VolumeServer_serviceDesc = grpc.ServiceDesc{
  1176. ServiceName: "volume_server_pb.VolumeServer",
  1177. HandlerType: (*VolumeServerServer)(nil),
  1178. Methods: []grpc.MethodDesc{
  1179. {
  1180. MethodName: "BatchDelete",
  1181. Handler: _VolumeServer_BatchDelete_Handler,
  1182. },
  1183. {
  1184. MethodName: "VacuumVolumeCheck",
  1185. Handler: _VolumeServer_VacuumVolumeCheck_Handler,
  1186. },
  1187. {
  1188. MethodName: "VacuumVolumeCompact",
  1189. Handler: _VolumeServer_VacuumVolumeCompact_Handler,
  1190. },
  1191. {
  1192. MethodName: "VacuumVolumeCommit",
  1193. Handler: _VolumeServer_VacuumVolumeCommit_Handler,
  1194. },
  1195. {
  1196. MethodName: "VacuumVolumeCleanup",
  1197. Handler: _VolumeServer_VacuumVolumeCleanup_Handler,
  1198. },
  1199. {
  1200. MethodName: "DeleteCollection",
  1201. Handler: _VolumeServer_DeleteCollection_Handler,
  1202. },
  1203. {
  1204. MethodName: "AssignVolume",
  1205. Handler: _VolumeServer_AssignVolume_Handler,
  1206. },
  1207. {
  1208. MethodName: "VolumeSyncStatus",
  1209. Handler: _VolumeServer_VolumeSyncStatus_Handler,
  1210. },
  1211. {
  1212. MethodName: "VolumeMount",
  1213. Handler: _VolumeServer_VolumeMount_Handler,
  1214. },
  1215. {
  1216. MethodName: "VolumeUnmount",
  1217. Handler: _VolumeServer_VolumeUnmount_Handler,
  1218. },
  1219. {
  1220. MethodName: "VolumeDelete",
  1221. Handler: _VolumeServer_VolumeDelete_Handler,
  1222. },
  1223. {
  1224. MethodName: "ReplicateVolume",
  1225. Handler: _VolumeServer_ReplicateVolume_Handler,
  1226. },
  1227. {
  1228. MethodName: "ReadVolumeFileStatus",
  1229. Handler: _VolumeServer_ReadVolumeFileStatus_Handler,
  1230. },
  1231. },
  1232. Streams: []grpc.StreamDesc{
  1233. {
  1234. StreamName: "VolumeFollow",
  1235. Handler: _VolumeServer_VolumeFollow_Handler,
  1236. ServerStreams: true,
  1237. },
  1238. {
  1239. StreamName: "CopyFile",
  1240. Handler: _VolumeServer_CopyFile_Handler,
  1241. ServerStreams: true,
  1242. },
  1243. },
  1244. Metadata: "volume_server.proto",
  1245. }
  1246. func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) }
  1247. var fileDescriptor0 = []byte{
  1248. // 1169 bytes of a gzipped FileDescriptorProto
  1249. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x6f, 0xdc, 0x44,
  1250. 0x10, 0x8f, 0x7b, 0x77, 0xf9, 0x98, 0xbb, 0xd0, 0x63, 0x93, 0x26, 0x57, 0xb7, 0x84, 0xeb, 0x42,
  1251. 0xcb, 0xa5, 0x4d, 0x03, 0xa4, 0x02, 0x5a, 0x9e, 0x80, 0x84, 0x8a, 0x3c, 0x94, 0x4a, 0x0e, 0xad,
  1252. 0x90, 0x40, 0xb2, 0x36, 0xf6, 0x26, 0xb1, 0xe2, 0xf3, 0xba, 0xde, 0x75, 0xda, 0xf0, 0xef, 0xf0,
  1253. 0xc2, 0x3b, 0x12, 0xff, 0x0e, 0x7f, 0x08, 0x2f, 0x68, 0x3f, 0xec, 0xf8, 0xeb, 0x7a, 0xe6, 0xe3,
  1254. 0x6d, 0x3d, 0x3b, 0xf3, 0x9b, 0x99, 0xdd, 0x99, 0xd9, 0x9f, 0x0c, 0x6b, 0x17, 0x2c, 0x4c, 0xa7,
  1255. 0xd4, 0xe5, 0x34, 0xb9, 0xa0, 0xc9, 0x6e, 0x9c, 0x30, 0xc1, 0xd0, 0xb0, 0x24, 0x74, 0xe3, 0x63,
  1256. 0xfc, 0x31, 0xa0, 0x6f, 0x88, 0xf0, 0xce, 0x0e, 0x68, 0x48, 0x05, 0x75, 0xe8, 0xab, 0x94, 0x72,
  1257. 0x81, 0x6e, 0xc2, 0xf2, 0x49, 0x10, 0x52, 0x37, 0xf0, 0xf9, 0xc8, 0x1a, 0x77, 0x26, 0x2b, 0xce,
  1258. 0x92, 0xfc, 0x3e, 0xf4, 0x39, 0x7e, 0x0e, 0x6b, 0x25, 0x03, 0x1e, 0xb3, 0x88, 0x53, 0xf4, 0x18,
  1259. 0x96, 0x12, 0xca, 0xd3, 0x50, 0x68, 0x83, 0xfe, 0xde, 0xd6, 0x6e, 0xd5, 0xd7, 0x6e, 0x6e, 0x92,
  1260. 0x86, 0xc2, 0xc9, 0xd4, 0x71, 0x00, 0x83, 0xe2, 0x06, 0xda, 0x84, 0x25, 0xe3, 0x7b, 0x64, 0x8d,
  1261. 0xad, 0xc9, 0x8a, 0xb3, 0xa8, 0x5d, 0xa3, 0x0d, 0x58, 0xe4, 0x82, 0x88, 0x94, 0x8f, 0xae, 0x8d,
  1262. 0xad, 0x49, 0xcf, 0x31, 0x5f, 0x68, 0x1d, 0x7a, 0x34, 0x49, 0x58, 0x32, 0xea, 0x28, 0x75, 0xfd,
  1263. 0x81, 0x10, 0x74, 0x79, 0xf0, 0x0b, 0x1d, 0x75, 0xc7, 0xd6, 0x64, 0xd5, 0x51, 0x6b, 0xbc, 0x04,
  1264. 0xbd, 0x6f, 0xa7, 0xb1, 0xb8, 0xc4, 0x5f, 0xc0, 0xe8, 0x25, 0xf1, 0xd2, 0x74, 0xfa, 0x52, 0xc5,
  1265. 0xb8, 0x7f, 0x46, 0xbd, 0xf3, 0x2c, 0xf7, 0x5b, 0xb0, 0x62, 0x22, 0x37, 0x11, 0xac, 0x3a, 0xcb,
  1266. 0x5a, 0x70, 0xe8, 0xe3, 0xaf, 0xe0, 0x66, 0x83, 0xa1, 0x39, 0x83, 0x0f, 0x60, 0xf5, 0x94, 0x24,
  1267. 0xc7, 0xe4, 0x94, 0xba, 0x09, 0x11, 0x01, 0x53, 0xd6, 0x96, 0x33, 0x30, 0x42, 0x47, 0xca, 0xf0,
  1268. 0x4f, 0x60, 0x97, 0x10, 0xd8, 0x34, 0x26, 0x9e, 0x68, 0xe3, 0x1c, 0x8d, 0xa1, 0x1f, 0x27, 0x94,
  1269. 0x84, 0x21, 0xf3, 0x88, 0xa0, 0xea, 0x14, 0x3a, 0x4e, 0x51, 0x84, 0xdf, 0x83, 0x5b, 0x8d, 0xe0,
  1270. 0x3a, 0x40, 0xfc, 0xb8, 0x12, 0x3d, 0x9b, 0x4e, 0x83, 0x56, 0xae, 0xf1, 0xed, 0x5a, 0xd4, 0xca,
  1271. 0xd2, 0xe0, 0x3e, 0xa9, 0xec, 0x86, 0x94, 0x44, 0x69, 0xdc, 0x0a, 0xb8, 0x1a, 0x71, 0x66, 0x9a,
  1272. 0x23, 0x6f, 0xea, 0xe2, 0xd8, 0x67, 0x61, 0x48, 0x3d, 0x11, 0xb0, 0x28, 0x83, 0xdd, 0x02, 0xf0,
  1273. 0x72, 0xa1, 0x29, 0x95, 0x82, 0x04, 0xdb, 0x30, 0xaa, 0x9b, 0x1a, 0xd8, 0xdf, 0x2c, 0x58, 0xfb,
  1274. 0x9a, 0xf3, 0xe0, 0x34, 0xd2, 0x6e, 0x5b, 0x1d, 0x7f, 0xd9, 0xe1, 0xb5, 0xaa, 0xc3, 0xea, 0xf5,
  1275. 0x74, 0x6a, 0xd7, 0x23, 0x35, 0x12, 0x1a, 0x87, 0x81, 0x47, 0x14, 0x44, 0x57, 0x41, 0x14, 0x45,
  1276. 0x68, 0x08, 0x1d, 0x21, 0xc2, 0x51, 0x4f, 0xed, 0xc8, 0x25, 0xde, 0x80, 0xf5, 0x72, 0xa4, 0x26,
  1277. 0x85, 0xcf, 0x61, 0x53, 0x4b, 0x8e, 0x2e, 0x23, 0xef, 0x48, 0x75, 0x42, 0xab, 0x03, 0xff, 0xcb,
  1278. 0x82, 0x51, 0xdd, 0xd0, 0x54, 0xf0, 0x7f, 0xcd, 0xff, 0x9f, 0x66, 0x87, 0xde, 0x87, 0xbe, 0x20,
  1279. 0x41, 0xe8, 0xb2, 0x93, 0x13, 0x4e, 0xc5, 0x68, 0x71, 0x6c, 0x4d, 0xba, 0x0e, 0x48, 0xd1, 0x73,
  1280. 0x25, 0x41, 0xdb, 0x30, 0xf4, 0x74, 0x15, 0xbb, 0x09, 0xbd, 0x08, 0xb8, 0x44, 0x5e, 0x52, 0x81,
  1281. 0x5d, 0xf7, 0xb2, 0xea, 0xd6, 0x62, 0x84, 0x61, 0x35, 0xf0, 0xdf, 0xb8, 0x6a, 0x78, 0xa8, 0xd6,
  1282. 0x5f, 0x56, 0x68, 0xfd, 0xc0, 0x7f, 0xf3, 0x34, 0x08, 0xe9, 0x91, 0x9c, 0x00, 0xdf, 0xc1, 0x9a,
  1283. 0x4e, 0xfe, 0x29, 0x0b, 0x43, 0xf6, 0xba, 0xd5, 0xbd, 0xaf, 0x43, 0x8f, 0x07, 0x91, 0xa7, 0x1b,
  1284. 0xae, 0xeb, 0xe8, 0x0f, 0xfc, 0x04, 0xd6, 0xcb, 0x48, 0xe6, 0x08, 0xef, 0xc0, 0x40, 0x45, 0xe0,
  1285. 0xb1, 0x48, 0xd0, 0x48, 0x28, 0xb4, 0x81, 0xd3, 0x97, 0xb2, 0x7d, 0x2d, 0xc2, 0x9f, 0x02, 0xd2,
  1286. 0xa6, 0xcf, 0x58, 0x1a, 0xb5, 0xeb, 0xbf, 0x1b, 0x59, 0xdc, 0xc6, 0xc4, 0x14, 0xc1, 0xa3, 0x2c,
  1287. 0x88, 0x17, 0xd1, 0xb4, 0x35, 0xd6, 0x26, 0xdc, 0xa8, 0x18, 0x19, 0xb4, 0xbd, 0xcc, 0x49, 0xf9,
  1288. 0x31, 0x78, 0x2b, 0xd8, 0x46, 0x16, 0x41, 0xf9, 0x3d, 0xc0, 0xbf, 0x5b, 0xb0, 0xe1, 0x98, 0xab,
  1289. 0xa7, 0xff, 0x6f, 0x93, 0x15, 0x8b, 0xac, 0x33, 0xb3, 0xc8, 0xba, 0x57, 0x45, 0x36, 0x81, 0x21,
  1290. 0x67, 0x69, 0xe2, 0x51, 0xd7, 0x27, 0x82, 0xb8, 0x11, 0xf3, 0xa9, 0xa9, 0xc1, 0x77, 0xb4, 0xfc,
  1291. 0x80, 0x08, 0xf2, 0x3d, 0xf3, 0x29, 0xbe, 0x09, 0x9b, 0xb5, 0xa0, 0x4d, 0x42, 0x11, 0x5c, 0xdf,
  1292. 0x67, 0xf1, 0xa5, 0xac, 0xa4, 0x96, 0x89, 0xf4, 0x03, 0xee, 0x66, 0x05, 0xa9, 0x32, 0x59, 0x76,
  1293. 0x56, 0x02, 0x7e, 0xa8, 0xab, 0xd1, 0xec, 0xfb, 0x44, 0xe8, 0xfd, 0x4e, 0xb6, 0x7f, 0x40, 0x84,
  1294. 0xdc, 0xc7, 0x9f, 0xc1, 0xf0, 0xca, 0x5f, 0xfb, 0xda, 0xfa, 0x12, 0x6e, 0x39, 0x94, 0xf8, 0xa6,
  1295. 0x34, 0x65, 0xd9, 0xb7, 0x1f, 0x0d, 0x7f, 0x5a, 0x70, 0xbb, 0xd9, 0xb8, 0xcd, 0x78, 0xd8, 0x01,
  1296. 0x94, 0xb7, 0x9f, 0x08, 0xa6, 0x94, 0x0b, 0x32, 0x8d, 0x4d, 0xcf, 0x0c, 0x4d, 0x0f, 0xfe, 0x90,
  1297. 0xc9, 0xeb, 0xcd, 0xda, 0xa9, 0x35, 0xab, 0x44, 0xcc, 0xce, 0xa7, 0x80, 0xd8, 0xd5, 0x88, 0xbe,
  1298. 0x3e, 0xa7, 0x12, 0x62, 0xae, 0xad, 0x10, 0x7b, 0x1a, 0xd1, 0x28, 0xaa, 0xf6, 0xff, 0x11, 0xe0,
  1299. 0x20, 0xe0, 0xe7, 0x3a, 0x2d, 0x59, 0x29, 0x7e, 0x90, 0x98, 0xa7, 0x43, 0x2e, 0xa5, 0x84, 0x84,
  1300. 0xa1, 0x09, 0x5a, 0x2e, 0x25, 0x8d, 0x48, 0x39, 0xf5, 0x4d, 0x78, 0x6a, 0x2d, 0x65, 0x27, 0x09,
  1301. 0xa5, 0x26, 0x12, 0xb5, 0xc6, 0xbf, 0x5a, 0xb0, 0xf2, 0x8c, 0x4e, 0x0d, 0xf2, 0x16, 0xc0, 0x29,
  1302. 0x4b, 0x58, 0x2a, 0x82, 0x88, 0x72, 0xe5, 0xa0, 0xe7, 0x14, 0x24, 0xff, 0xde, 0x8f, 0xa2, 0x35,
  1303. 0x34, 0x3c, 0x31, 0xc9, 0xa9, 0xb5, 0x94, 0x9d, 0x51, 0x12, 0x9b, 0xe9, 0xa9, 0xd6, 0x6a, 0x68,
  1304. 0x09, 0xe2, 0x9d, 0xab, 0x61, 0x29, 0x87, 0x96, 0xfc, 0xd8, 0xfb, 0x63, 0x00, 0x03, 0x33, 0xfc,
  1305. 0x15, 0x2b, 0x43, 0x3f, 0x43, 0xbf, 0xc0, 0xe6, 0xd0, 0x87, 0x75, 0xd2, 0x56, 0x67, 0x87, 0xf6,
  1306. 0xdd, 0x39, 0x5a, 0xa6, 0x63, 0x16, 0x50, 0x04, 0xef, 0xd6, 0xd8, 0x12, 0xba, 0x5f, 0xb7, 0x9e,
  1307. 0xc5, 0xc5, 0xec, 0x07, 0xad, 0x74, 0x73, 0x7f, 0x02, 0xd6, 0x1a, 0xe8, 0x0f, 0xda, 0x99, 0x83,
  1308. 0x52, 0xa2, 0x60, 0xf6, 0xc3, 0x96, 0xda, 0xb9, 0xd7, 0x57, 0x80, 0xea, 0xdc, 0x08, 0x3d, 0x98,
  1309. 0x0b, 0x73, 0xc5, 0xbd, 0xec, 0x9d, 0x76, 0xca, 0x33, 0x13, 0xd5, 0xac, 0x69, 0x6e, 0xa2, 0x25,
  1310. 0x5e, 0x36, 0x37, 0xd1, 0x0a, 0x15, 0x5b, 0x40, 0xe7, 0x30, 0xac, 0x32, 0x2a, 0xb4, 0x3d, 0x8b,
  1311. 0xe6, 0xd7, 0x08, 0x9b, 0x7d, 0xbf, 0x8d, 0x6a, 0xee, 0xcc, 0x85, 0x41, 0x91, 0xf7, 0xa0, 0x86,
  1312. 0xa2, 0x6b, 0x60, 0x70, 0xf6, 0xbd, 0x79, 0x6a, 0xc5, 0x6c, 0xaa, 0x3c, 0xa8, 0x29, 0x9b, 0x19,
  1313. 0x24, 0xab, 0x29, 0x9b, 0x59, 0xb4, 0x0a, 0x2f, 0x20, 0x92, 0xf5, 0x9d, 0x66, 0x0b, 0x4d, 0xd9,
  1314. 0x34, 0xf0, 0x92, 0xa6, 0x6c, 0x9a, 0x48, 0x07, 0x5e, 0xf8, 0xc4, 0x92, 0xad, 0x5c, 0xa0, 0x08,
  1315. 0x4d, 0xad, 0x5c, 0x27, 0x1d, 0xf6, 0xdd, 0x39, 0x5a, 0x79, 0x02, 0xc7, 0xb0, 0x5a, 0x22, 0x0d,
  1316. 0x68, 0x66, 0x68, 0x65, 0x2a, 0x62, 0x7f, 0x34, 0x57, 0xaf, 0x78, 0xe5, 0x45, 0x2e, 0x31, 0xfb,
  1317. 0x90, 0xca, 0xe3, 0xe8, 0xde, 0x3c, 0xb5, 0xdc, 0xc1, 0x19, 0x5c, 0xaf, 0x3c, 0xef, 0x68, 0x52,
  1318. 0x37, 0x6e, 0xa6, 0x2d, 0xf6, 0x76, 0x0b, 0xcd, 0xdc, 0xd3, 0x6b, 0x58, 0x6f, 0x7a, 0x49, 0xd1,
  1319. 0xc3, 0x26, 0x90, 0x99, 0xcf, 0xb5, 0xbd, 0xdb, 0x56, 0x3d, 0x77, 0xfc, 0x02, 0x96, 0x33, 0xda,
  1320. 0x80, 0xee, 0xd4, 0xad, 0x2b, 0x14, 0xc6, 0xc6, 0x6f, 0x53, 0xb9, 0x2a, 0xae, 0xe3, 0x45, 0xf5,
  1321. 0xff, 0xe0, 0xd1, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x13, 0x86, 0xf1, 0x0f, 0x56, 0x10, 0x00,
  1322. 0x00,
  1323. }