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.

1823 lines
72 KiB

  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package volume_server_pb
  3. import (
  4. context "context"
  5. grpc "google.golang.org/grpc"
  6. codes "google.golang.org/grpc/codes"
  7. status "google.golang.org/grpc/status"
  8. )
  9. // This is a compile-time assertion to ensure that this generated file
  10. // is compatible with the grpc package it is being compiled against.
  11. const _ = grpc.SupportPackageIsVersion7
  12. // VolumeServerClient is the client API for VolumeServer service.
  13. //
  14. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  15. type VolumeServerClient interface {
  16. //Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  17. BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error)
  18. VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error)
  19. VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (VolumeServer_VacuumVolumeCompactClient, error)
  20. VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error)
  21. VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error)
  22. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  23. AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error)
  24. VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error)
  25. VolumeIncrementalCopy(ctx context.Context, in *VolumeIncrementalCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeIncrementalCopyClient, error)
  26. VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error)
  27. VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error)
  28. VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error)
  29. VolumeMarkReadonly(ctx context.Context, in *VolumeMarkReadonlyRequest, opts ...grpc.CallOption) (*VolumeMarkReadonlyResponse, error)
  30. VolumeMarkWritable(ctx context.Context, in *VolumeMarkWritableRequest, opts ...grpc.CallOption) (*VolumeMarkWritableResponse, error)
  31. VolumeConfigure(ctx context.Context, in *VolumeConfigureRequest, opts ...grpc.CallOption) (*VolumeConfigureResponse, error)
  32. VolumeStatus(ctx context.Context, in *VolumeStatusRequest, opts ...grpc.CallOption) (*VolumeStatusResponse, error)
  33. // copy the .idx .dat files, and mount this volume
  34. VolumeCopy(ctx context.Context, in *VolumeCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeCopyClient, error)
  35. ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error)
  36. CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error)
  37. ReadNeedleBlob(ctx context.Context, in *ReadNeedleBlobRequest, opts ...grpc.CallOption) (*ReadNeedleBlobResponse, error)
  38. WriteNeedleBlob(ctx context.Context, in *WriteNeedleBlobRequest, opts ...grpc.CallOption) (*WriteNeedleBlobResponse, error)
  39. ReadAllNeedles(ctx context.Context, in *ReadAllNeedlesRequest, opts ...grpc.CallOption) (VolumeServer_ReadAllNeedlesClient, error)
  40. VolumeTailSender(ctx context.Context, in *VolumeTailSenderRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTailSenderClient, error)
  41. VolumeTailReceiver(ctx context.Context, in *VolumeTailReceiverRequest, opts ...grpc.CallOption) (*VolumeTailReceiverResponse, error)
  42. // erasure coding
  43. VolumeEcShardsGenerate(ctx context.Context, in *VolumeEcShardsGenerateRequest, opts ...grpc.CallOption) (*VolumeEcShardsGenerateResponse, error)
  44. VolumeEcShardsRebuild(ctx context.Context, in *VolumeEcShardsRebuildRequest, opts ...grpc.CallOption) (*VolumeEcShardsRebuildResponse, error)
  45. VolumeEcShardsCopy(ctx context.Context, in *VolumeEcShardsCopyRequest, opts ...grpc.CallOption) (*VolumeEcShardsCopyResponse, error)
  46. VolumeEcShardsDelete(ctx context.Context, in *VolumeEcShardsDeleteRequest, opts ...grpc.CallOption) (*VolumeEcShardsDeleteResponse, error)
  47. VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error)
  48. VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error)
  49. VolumeEcShardRead(ctx context.Context, in *VolumeEcShardReadRequest, opts ...grpc.CallOption) (VolumeServer_VolumeEcShardReadClient, error)
  50. VolumeEcBlobDelete(ctx context.Context, in *VolumeEcBlobDeleteRequest, opts ...grpc.CallOption) (*VolumeEcBlobDeleteResponse, error)
  51. VolumeEcShardsToVolume(ctx context.Context, in *VolumeEcShardsToVolumeRequest, opts ...grpc.CallOption) (*VolumeEcShardsToVolumeResponse, error)
  52. // tiered storage
  53. VolumeTierMoveDatToRemote(ctx context.Context, in *VolumeTierMoveDatToRemoteRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTierMoveDatToRemoteClient, error)
  54. VolumeTierMoveDatFromRemote(ctx context.Context, in *VolumeTierMoveDatFromRemoteRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTierMoveDatFromRemoteClient, error)
  55. VolumeServerStatus(ctx context.Context, in *VolumeServerStatusRequest, opts ...grpc.CallOption) (*VolumeServerStatusResponse, error)
  56. VolumeServerLeave(ctx context.Context, in *VolumeServerLeaveRequest, opts ...grpc.CallOption) (*VolumeServerLeaveResponse, error)
  57. // remote storage
  58. FetchAndWriteNeedle(ctx context.Context, in *FetchAndWriteNeedleRequest, opts ...grpc.CallOption) (*FetchAndWriteNeedleResponse, error)
  59. // <experimental> query
  60. Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (VolumeServer_QueryClient, error)
  61. VolumeNeedleStatus(ctx context.Context, in *VolumeNeedleStatusRequest, opts ...grpc.CallOption) (*VolumeNeedleStatusResponse, error)
  62. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
  63. }
  64. type volumeServerClient struct {
  65. cc grpc.ClientConnInterface
  66. }
  67. func NewVolumeServerClient(cc grpc.ClientConnInterface) VolumeServerClient {
  68. return &volumeServerClient{cc}
  69. }
  70. func (c *volumeServerClient) BatchDelete(ctx context.Context, in *BatchDeleteRequest, opts ...grpc.CallOption) (*BatchDeleteResponse, error) {
  71. out := new(BatchDeleteResponse)
  72. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/BatchDelete", in, out, opts...)
  73. if err != nil {
  74. return nil, err
  75. }
  76. return out, nil
  77. }
  78. func (c *volumeServerClient) VacuumVolumeCheck(ctx context.Context, in *VacuumVolumeCheckRequest, opts ...grpc.CallOption) (*VacuumVolumeCheckResponse, error) {
  79. out := new(VacuumVolumeCheckResponse)
  80. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCheck", in, out, opts...)
  81. if err != nil {
  82. return nil, err
  83. }
  84. return out, nil
  85. }
  86. func (c *volumeServerClient) VacuumVolumeCompact(ctx context.Context, in *VacuumVolumeCompactRequest, opts ...grpc.CallOption) (VolumeServer_VacuumVolumeCompactClient, error) {
  87. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[0], "/volume_server_pb.VolumeServer/VacuumVolumeCompact", opts...)
  88. if err != nil {
  89. return nil, err
  90. }
  91. x := &volumeServerVacuumVolumeCompactClient{stream}
  92. if err := x.ClientStream.SendMsg(in); err != nil {
  93. return nil, err
  94. }
  95. if err := x.ClientStream.CloseSend(); err != nil {
  96. return nil, err
  97. }
  98. return x, nil
  99. }
  100. type VolumeServer_VacuumVolumeCompactClient interface {
  101. Recv() (*VacuumVolumeCompactResponse, error)
  102. grpc.ClientStream
  103. }
  104. type volumeServerVacuumVolumeCompactClient struct {
  105. grpc.ClientStream
  106. }
  107. func (x *volumeServerVacuumVolumeCompactClient) Recv() (*VacuumVolumeCompactResponse, error) {
  108. m := new(VacuumVolumeCompactResponse)
  109. if err := x.ClientStream.RecvMsg(m); err != nil {
  110. return nil, err
  111. }
  112. return m, nil
  113. }
  114. func (c *volumeServerClient) VacuumVolumeCommit(ctx context.Context, in *VacuumVolumeCommitRequest, opts ...grpc.CallOption) (*VacuumVolumeCommitResponse, error) {
  115. out := new(VacuumVolumeCommitResponse)
  116. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCommit", in, out, opts...)
  117. if err != nil {
  118. return nil, err
  119. }
  120. return out, nil
  121. }
  122. func (c *volumeServerClient) VacuumVolumeCleanup(ctx context.Context, in *VacuumVolumeCleanupRequest, opts ...grpc.CallOption) (*VacuumVolumeCleanupResponse, error) {
  123. out := new(VacuumVolumeCleanupResponse)
  124. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VacuumVolumeCleanup", in, out, opts...)
  125. if err != nil {
  126. return nil, err
  127. }
  128. return out, nil
  129. }
  130. func (c *volumeServerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  131. out := new(DeleteCollectionResponse)
  132. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/DeleteCollection", in, out, opts...)
  133. if err != nil {
  134. return nil, err
  135. }
  136. return out, nil
  137. }
  138. func (c *volumeServerClient) AllocateVolume(ctx context.Context, in *AllocateVolumeRequest, opts ...grpc.CallOption) (*AllocateVolumeResponse, error) {
  139. out := new(AllocateVolumeResponse)
  140. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/AllocateVolume", in, out, opts...)
  141. if err != nil {
  142. return nil, err
  143. }
  144. return out, nil
  145. }
  146. func (c *volumeServerClient) VolumeSyncStatus(ctx context.Context, in *VolumeSyncStatusRequest, opts ...grpc.CallOption) (*VolumeSyncStatusResponse, error) {
  147. out := new(VolumeSyncStatusResponse)
  148. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeSyncStatus", in, out, opts...)
  149. if err != nil {
  150. return nil, err
  151. }
  152. return out, nil
  153. }
  154. func (c *volumeServerClient) VolumeIncrementalCopy(ctx context.Context, in *VolumeIncrementalCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeIncrementalCopyClient, error) {
  155. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[1], "/volume_server_pb.VolumeServer/VolumeIncrementalCopy", opts...)
  156. if err != nil {
  157. return nil, err
  158. }
  159. x := &volumeServerVolumeIncrementalCopyClient{stream}
  160. if err := x.ClientStream.SendMsg(in); err != nil {
  161. return nil, err
  162. }
  163. if err := x.ClientStream.CloseSend(); err != nil {
  164. return nil, err
  165. }
  166. return x, nil
  167. }
  168. type VolumeServer_VolumeIncrementalCopyClient interface {
  169. Recv() (*VolumeIncrementalCopyResponse, error)
  170. grpc.ClientStream
  171. }
  172. type volumeServerVolumeIncrementalCopyClient struct {
  173. grpc.ClientStream
  174. }
  175. func (x *volumeServerVolumeIncrementalCopyClient) Recv() (*VolumeIncrementalCopyResponse, error) {
  176. m := new(VolumeIncrementalCopyResponse)
  177. if err := x.ClientStream.RecvMsg(m); err != nil {
  178. return nil, err
  179. }
  180. return m, nil
  181. }
  182. func (c *volumeServerClient) VolumeMount(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption) (*VolumeMountResponse, error) {
  183. out := new(VolumeMountResponse)
  184. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMount", in, out, opts...)
  185. if err != nil {
  186. return nil, err
  187. }
  188. return out, nil
  189. }
  190. func (c *volumeServerClient) VolumeUnmount(ctx context.Context, in *VolumeUnmountRequest, opts ...grpc.CallOption) (*VolumeUnmountResponse, error) {
  191. out := new(VolumeUnmountResponse)
  192. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeUnmount", in, out, opts...)
  193. if err != nil {
  194. return nil, err
  195. }
  196. return out, nil
  197. }
  198. func (c *volumeServerClient) VolumeDelete(ctx context.Context, in *VolumeDeleteRequest, opts ...grpc.CallOption) (*VolumeDeleteResponse, error) {
  199. out := new(VolumeDeleteResponse)
  200. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeDelete", in, out, opts...)
  201. if err != nil {
  202. return nil, err
  203. }
  204. return out, nil
  205. }
  206. func (c *volumeServerClient) VolumeMarkReadonly(ctx context.Context, in *VolumeMarkReadonlyRequest, opts ...grpc.CallOption) (*VolumeMarkReadonlyResponse, error) {
  207. out := new(VolumeMarkReadonlyResponse)
  208. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMarkReadonly", in, out, opts...)
  209. if err != nil {
  210. return nil, err
  211. }
  212. return out, nil
  213. }
  214. func (c *volumeServerClient) VolumeMarkWritable(ctx context.Context, in *VolumeMarkWritableRequest, opts ...grpc.CallOption) (*VolumeMarkWritableResponse, error) {
  215. out := new(VolumeMarkWritableResponse)
  216. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeMarkWritable", in, out, opts...)
  217. if err != nil {
  218. return nil, err
  219. }
  220. return out, nil
  221. }
  222. func (c *volumeServerClient) VolumeConfigure(ctx context.Context, in *VolumeConfigureRequest, opts ...grpc.CallOption) (*VolumeConfigureResponse, error) {
  223. out := new(VolumeConfigureResponse)
  224. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeConfigure", in, out, opts...)
  225. if err != nil {
  226. return nil, err
  227. }
  228. return out, nil
  229. }
  230. func (c *volumeServerClient) VolumeStatus(ctx context.Context, in *VolumeStatusRequest, opts ...grpc.CallOption) (*VolumeStatusResponse, error) {
  231. out := new(VolumeStatusResponse)
  232. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeStatus", in, out, opts...)
  233. if err != nil {
  234. return nil, err
  235. }
  236. return out, nil
  237. }
  238. func (c *volumeServerClient) VolumeCopy(ctx context.Context, in *VolumeCopyRequest, opts ...grpc.CallOption) (VolumeServer_VolumeCopyClient, error) {
  239. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[2], "/volume_server_pb.VolumeServer/VolumeCopy", opts...)
  240. if err != nil {
  241. return nil, err
  242. }
  243. x := &volumeServerVolumeCopyClient{stream}
  244. if err := x.ClientStream.SendMsg(in); err != nil {
  245. return nil, err
  246. }
  247. if err := x.ClientStream.CloseSend(); err != nil {
  248. return nil, err
  249. }
  250. return x, nil
  251. }
  252. type VolumeServer_VolumeCopyClient interface {
  253. Recv() (*VolumeCopyResponse, error)
  254. grpc.ClientStream
  255. }
  256. type volumeServerVolumeCopyClient struct {
  257. grpc.ClientStream
  258. }
  259. func (x *volumeServerVolumeCopyClient) Recv() (*VolumeCopyResponse, error) {
  260. m := new(VolumeCopyResponse)
  261. if err := x.ClientStream.RecvMsg(m); err != nil {
  262. return nil, err
  263. }
  264. return m, nil
  265. }
  266. func (c *volumeServerClient) ReadVolumeFileStatus(ctx context.Context, in *ReadVolumeFileStatusRequest, opts ...grpc.CallOption) (*ReadVolumeFileStatusResponse, error) {
  267. out := new(ReadVolumeFileStatusResponse)
  268. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReadVolumeFileStatus", in, out, opts...)
  269. if err != nil {
  270. return nil, err
  271. }
  272. return out, nil
  273. }
  274. func (c *volumeServerClient) CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (VolumeServer_CopyFileClient, error) {
  275. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[3], "/volume_server_pb.VolumeServer/CopyFile", opts...)
  276. if err != nil {
  277. return nil, err
  278. }
  279. x := &volumeServerCopyFileClient{stream}
  280. if err := x.ClientStream.SendMsg(in); err != nil {
  281. return nil, err
  282. }
  283. if err := x.ClientStream.CloseSend(); err != nil {
  284. return nil, err
  285. }
  286. return x, nil
  287. }
  288. type VolumeServer_CopyFileClient interface {
  289. Recv() (*CopyFileResponse, error)
  290. grpc.ClientStream
  291. }
  292. type volumeServerCopyFileClient struct {
  293. grpc.ClientStream
  294. }
  295. func (x *volumeServerCopyFileClient) Recv() (*CopyFileResponse, error) {
  296. m := new(CopyFileResponse)
  297. if err := x.ClientStream.RecvMsg(m); err != nil {
  298. return nil, err
  299. }
  300. return m, nil
  301. }
  302. func (c *volumeServerClient) ReadNeedleBlob(ctx context.Context, in *ReadNeedleBlobRequest, opts ...grpc.CallOption) (*ReadNeedleBlobResponse, error) {
  303. out := new(ReadNeedleBlobResponse)
  304. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/ReadNeedleBlob", in, out, opts...)
  305. if err != nil {
  306. return nil, err
  307. }
  308. return out, nil
  309. }
  310. func (c *volumeServerClient) WriteNeedleBlob(ctx context.Context, in *WriteNeedleBlobRequest, opts ...grpc.CallOption) (*WriteNeedleBlobResponse, error) {
  311. out := new(WriteNeedleBlobResponse)
  312. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/WriteNeedleBlob", in, out, opts...)
  313. if err != nil {
  314. return nil, err
  315. }
  316. return out, nil
  317. }
  318. func (c *volumeServerClient) ReadAllNeedles(ctx context.Context, in *ReadAllNeedlesRequest, opts ...grpc.CallOption) (VolumeServer_ReadAllNeedlesClient, error) {
  319. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[4], "/volume_server_pb.VolumeServer/ReadAllNeedles", opts...)
  320. if err != nil {
  321. return nil, err
  322. }
  323. x := &volumeServerReadAllNeedlesClient{stream}
  324. if err := x.ClientStream.SendMsg(in); err != nil {
  325. return nil, err
  326. }
  327. if err := x.ClientStream.CloseSend(); err != nil {
  328. return nil, err
  329. }
  330. return x, nil
  331. }
  332. type VolumeServer_ReadAllNeedlesClient interface {
  333. Recv() (*ReadAllNeedlesResponse, error)
  334. grpc.ClientStream
  335. }
  336. type volumeServerReadAllNeedlesClient struct {
  337. grpc.ClientStream
  338. }
  339. func (x *volumeServerReadAllNeedlesClient) Recv() (*ReadAllNeedlesResponse, error) {
  340. m := new(ReadAllNeedlesResponse)
  341. if err := x.ClientStream.RecvMsg(m); err != nil {
  342. return nil, err
  343. }
  344. return m, nil
  345. }
  346. func (c *volumeServerClient) VolumeTailSender(ctx context.Context, in *VolumeTailSenderRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTailSenderClient, error) {
  347. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[5], "/volume_server_pb.VolumeServer/VolumeTailSender", opts...)
  348. if err != nil {
  349. return nil, err
  350. }
  351. x := &volumeServerVolumeTailSenderClient{stream}
  352. if err := x.ClientStream.SendMsg(in); err != nil {
  353. return nil, err
  354. }
  355. if err := x.ClientStream.CloseSend(); err != nil {
  356. return nil, err
  357. }
  358. return x, nil
  359. }
  360. type VolumeServer_VolumeTailSenderClient interface {
  361. Recv() (*VolumeTailSenderResponse, error)
  362. grpc.ClientStream
  363. }
  364. type volumeServerVolumeTailSenderClient struct {
  365. grpc.ClientStream
  366. }
  367. func (x *volumeServerVolumeTailSenderClient) Recv() (*VolumeTailSenderResponse, error) {
  368. m := new(VolumeTailSenderResponse)
  369. if err := x.ClientStream.RecvMsg(m); err != nil {
  370. return nil, err
  371. }
  372. return m, nil
  373. }
  374. func (c *volumeServerClient) VolumeTailReceiver(ctx context.Context, in *VolumeTailReceiverRequest, opts ...grpc.CallOption) (*VolumeTailReceiverResponse, error) {
  375. out := new(VolumeTailReceiverResponse)
  376. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeTailReceiver", in, out, opts...)
  377. if err != nil {
  378. return nil, err
  379. }
  380. return out, nil
  381. }
  382. func (c *volumeServerClient) VolumeEcShardsGenerate(ctx context.Context, in *VolumeEcShardsGenerateRequest, opts ...grpc.CallOption) (*VolumeEcShardsGenerateResponse, error) {
  383. out := new(VolumeEcShardsGenerateResponse)
  384. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsGenerate", in, out, opts...)
  385. if err != nil {
  386. return nil, err
  387. }
  388. return out, nil
  389. }
  390. func (c *volumeServerClient) VolumeEcShardsRebuild(ctx context.Context, in *VolumeEcShardsRebuildRequest, opts ...grpc.CallOption) (*VolumeEcShardsRebuildResponse, error) {
  391. out := new(VolumeEcShardsRebuildResponse)
  392. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsRebuild", in, out, opts...)
  393. if err != nil {
  394. return nil, err
  395. }
  396. return out, nil
  397. }
  398. func (c *volumeServerClient) VolumeEcShardsCopy(ctx context.Context, in *VolumeEcShardsCopyRequest, opts ...grpc.CallOption) (*VolumeEcShardsCopyResponse, error) {
  399. out := new(VolumeEcShardsCopyResponse)
  400. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsCopy", in, out, opts...)
  401. if err != nil {
  402. return nil, err
  403. }
  404. return out, nil
  405. }
  406. func (c *volumeServerClient) VolumeEcShardsDelete(ctx context.Context, in *VolumeEcShardsDeleteRequest, opts ...grpc.CallOption) (*VolumeEcShardsDeleteResponse, error) {
  407. out := new(VolumeEcShardsDeleteResponse)
  408. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsDelete", in, out, opts...)
  409. if err != nil {
  410. return nil, err
  411. }
  412. return out, nil
  413. }
  414. func (c *volumeServerClient) VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error) {
  415. out := new(VolumeEcShardsMountResponse)
  416. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsMount", in, out, opts...)
  417. if err != nil {
  418. return nil, err
  419. }
  420. return out, nil
  421. }
  422. func (c *volumeServerClient) VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error) {
  423. out := new(VolumeEcShardsUnmountResponse)
  424. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount", in, out, opts...)
  425. if err != nil {
  426. return nil, err
  427. }
  428. return out, nil
  429. }
  430. func (c *volumeServerClient) VolumeEcShardRead(ctx context.Context, in *VolumeEcShardReadRequest, opts ...grpc.CallOption) (VolumeServer_VolumeEcShardReadClient, error) {
  431. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[6], "/volume_server_pb.VolumeServer/VolumeEcShardRead", opts...)
  432. if err != nil {
  433. return nil, err
  434. }
  435. x := &volumeServerVolumeEcShardReadClient{stream}
  436. if err := x.ClientStream.SendMsg(in); err != nil {
  437. return nil, err
  438. }
  439. if err := x.ClientStream.CloseSend(); err != nil {
  440. return nil, err
  441. }
  442. return x, nil
  443. }
  444. type VolumeServer_VolumeEcShardReadClient interface {
  445. Recv() (*VolumeEcShardReadResponse, error)
  446. grpc.ClientStream
  447. }
  448. type volumeServerVolumeEcShardReadClient struct {
  449. grpc.ClientStream
  450. }
  451. func (x *volumeServerVolumeEcShardReadClient) Recv() (*VolumeEcShardReadResponse, error) {
  452. m := new(VolumeEcShardReadResponse)
  453. if err := x.ClientStream.RecvMsg(m); err != nil {
  454. return nil, err
  455. }
  456. return m, nil
  457. }
  458. func (c *volumeServerClient) VolumeEcBlobDelete(ctx context.Context, in *VolumeEcBlobDeleteRequest, opts ...grpc.CallOption) (*VolumeEcBlobDeleteResponse, error) {
  459. out := new(VolumeEcBlobDeleteResponse)
  460. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcBlobDelete", in, out, opts...)
  461. if err != nil {
  462. return nil, err
  463. }
  464. return out, nil
  465. }
  466. func (c *volumeServerClient) VolumeEcShardsToVolume(ctx context.Context, in *VolumeEcShardsToVolumeRequest, opts ...grpc.CallOption) (*VolumeEcShardsToVolumeResponse, error) {
  467. out := new(VolumeEcShardsToVolumeResponse)
  468. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsToVolume", in, out, opts...)
  469. if err != nil {
  470. return nil, err
  471. }
  472. return out, nil
  473. }
  474. func (c *volumeServerClient) VolumeTierMoveDatToRemote(ctx context.Context, in *VolumeTierMoveDatToRemoteRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTierMoveDatToRemoteClient, error) {
  475. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[7], "/volume_server_pb.VolumeServer/VolumeTierMoveDatToRemote", opts...)
  476. if err != nil {
  477. return nil, err
  478. }
  479. x := &volumeServerVolumeTierMoveDatToRemoteClient{stream}
  480. if err := x.ClientStream.SendMsg(in); err != nil {
  481. return nil, err
  482. }
  483. if err := x.ClientStream.CloseSend(); err != nil {
  484. return nil, err
  485. }
  486. return x, nil
  487. }
  488. type VolumeServer_VolumeTierMoveDatToRemoteClient interface {
  489. Recv() (*VolumeTierMoveDatToRemoteResponse, error)
  490. grpc.ClientStream
  491. }
  492. type volumeServerVolumeTierMoveDatToRemoteClient struct {
  493. grpc.ClientStream
  494. }
  495. func (x *volumeServerVolumeTierMoveDatToRemoteClient) Recv() (*VolumeTierMoveDatToRemoteResponse, error) {
  496. m := new(VolumeTierMoveDatToRemoteResponse)
  497. if err := x.ClientStream.RecvMsg(m); err != nil {
  498. return nil, err
  499. }
  500. return m, nil
  501. }
  502. func (c *volumeServerClient) VolumeTierMoveDatFromRemote(ctx context.Context, in *VolumeTierMoveDatFromRemoteRequest, opts ...grpc.CallOption) (VolumeServer_VolumeTierMoveDatFromRemoteClient, error) {
  503. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[8], "/volume_server_pb.VolumeServer/VolumeTierMoveDatFromRemote", opts...)
  504. if err != nil {
  505. return nil, err
  506. }
  507. x := &volumeServerVolumeTierMoveDatFromRemoteClient{stream}
  508. if err := x.ClientStream.SendMsg(in); err != nil {
  509. return nil, err
  510. }
  511. if err := x.ClientStream.CloseSend(); err != nil {
  512. return nil, err
  513. }
  514. return x, nil
  515. }
  516. type VolumeServer_VolumeTierMoveDatFromRemoteClient interface {
  517. Recv() (*VolumeTierMoveDatFromRemoteResponse, error)
  518. grpc.ClientStream
  519. }
  520. type volumeServerVolumeTierMoveDatFromRemoteClient struct {
  521. grpc.ClientStream
  522. }
  523. func (x *volumeServerVolumeTierMoveDatFromRemoteClient) Recv() (*VolumeTierMoveDatFromRemoteResponse, error) {
  524. m := new(VolumeTierMoveDatFromRemoteResponse)
  525. if err := x.ClientStream.RecvMsg(m); err != nil {
  526. return nil, err
  527. }
  528. return m, nil
  529. }
  530. func (c *volumeServerClient) VolumeServerStatus(ctx context.Context, in *VolumeServerStatusRequest, opts ...grpc.CallOption) (*VolumeServerStatusResponse, error) {
  531. out := new(VolumeServerStatusResponse)
  532. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeServerStatus", in, out, opts...)
  533. if err != nil {
  534. return nil, err
  535. }
  536. return out, nil
  537. }
  538. func (c *volumeServerClient) VolumeServerLeave(ctx context.Context, in *VolumeServerLeaveRequest, opts ...grpc.CallOption) (*VolumeServerLeaveResponse, error) {
  539. out := new(VolumeServerLeaveResponse)
  540. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeServerLeave", in, out, opts...)
  541. if err != nil {
  542. return nil, err
  543. }
  544. return out, nil
  545. }
  546. func (c *volumeServerClient) FetchAndWriteNeedle(ctx context.Context, in *FetchAndWriteNeedleRequest, opts ...grpc.CallOption) (*FetchAndWriteNeedleResponse, error) {
  547. out := new(FetchAndWriteNeedleResponse)
  548. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/FetchAndWriteNeedle", in, out, opts...)
  549. if err != nil {
  550. return nil, err
  551. }
  552. return out, nil
  553. }
  554. func (c *volumeServerClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (VolumeServer_QueryClient, error) {
  555. stream, err := c.cc.NewStream(ctx, &VolumeServer_ServiceDesc.Streams[9], "/volume_server_pb.VolumeServer/Query", opts...)
  556. if err != nil {
  557. return nil, err
  558. }
  559. x := &volumeServerQueryClient{stream}
  560. if err := x.ClientStream.SendMsg(in); err != nil {
  561. return nil, err
  562. }
  563. if err := x.ClientStream.CloseSend(); err != nil {
  564. return nil, err
  565. }
  566. return x, nil
  567. }
  568. type VolumeServer_QueryClient interface {
  569. Recv() (*QueriedStripe, error)
  570. grpc.ClientStream
  571. }
  572. type volumeServerQueryClient struct {
  573. grpc.ClientStream
  574. }
  575. func (x *volumeServerQueryClient) Recv() (*QueriedStripe, error) {
  576. m := new(QueriedStripe)
  577. if err := x.ClientStream.RecvMsg(m); err != nil {
  578. return nil, err
  579. }
  580. return m, nil
  581. }
  582. func (c *volumeServerClient) VolumeNeedleStatus(ctx context.Context, in *VolumeNeedleStatusRequest, opts ...grpc.CallOption) (*VolumeNeedleStatusResponse, error) {
  583. out := new(VolumeNeedleStatusResponse)
  584. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeNeedleStatus", in, out, opts...)
  585. if err != nil {
  586. return nil, err
  587. }
  588. return out, nil
  589. }
  590. func (c *volumeServerClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) {
  591. out := new(PingResponse)
  592. err := c.cc.Invoke(ctx, "/volume_server_pb.VolumeServer/Ping", in, out, opts...)
  593. if err != nil {
  594. return nil, err
  595. }
  596. return out, nil
  597. }
  598. // VolumeServerServer is the server API for VolumeServer service.
  599. // All implementations must embed UnimplementedVolumeServerServer
  600. // for forward compatibility
  601. type VolumeServerServer interface {
  602. //Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  603. BatchDelete(context.Context, *BatchDeleteRequest) (*BatchDeleteResponse, error)
  604. VacuumVolumeCheck(context.Context, *VacuumVolumeCheckRequest) (*VacuumVolumeCheckResponse, error)
  605. VacuumVolumeCompact(*VacuumVolumeCompactRequest, VolumeServer_VacuumVolumeCompactServer) error
  606. VacuumVolumeCommit(context.Context, *VacuumVolumeCommitRequest) (*VacuumVolumeCommitResponse, error)
  607. VacuumVolumeCleanup(context.Context, *VacuumVolumeCleanupRequest) (*VacuumVolumeCleanupResponse, error)
  608. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  609. AllocateVolume(context.Context, *AllocateVolumeRequest) (*AllocateVolumeResponse, error)
  610. VolumeSyncStatus(context.Context, *VolumeSyncStatusRequest) (*VolumeSyncStatusResponse, error)
  611. VolumeIncrementalCopy(*VolumeIncrementalCopyRequest, VolumeServer_VolumeIncrementalCopyServer) error
  612. VolumeMount(context.Context, *VolumeMountRequest) (*VolumeMountResponse, error)
  613. VolumeUnmount(context.Context, *VolumeUnmountRequest) (*VolumeUnmountResponse, error)
  614. VolumeDelete(context.Context, *VolumeDeleteRequest) (*VolumeDeleteResponse, error)
  615. VolumeMarkReadonly(context.Context, *VolumeMarkReadonlyRequest) (*VolumeMarkReadonlyResponse, error)
  616. VolumeMarkWritable(context.Context, *VolumeMarkWritableRequest) (*VolumeMarkWritableResponse, error)
  617. VolumeConfigure(context.Context, *VolumeConfigureRequest) (*VolumeConfigureResponse, error)
  618. VolumeStatus(context.Context, *VolumeStatusRequest) (*VolumeStatusResponse, error)
  619. // copy the .idx .dat files, and mount this volume
  620. VolumeCopy(*VolumeCopyRequest, VolumeServer_VolumeCopyServer) error
  621. ReadVolumeFileStatus(context.Context, *ReadVolumeFileStatusRequest) (*ReadVolumeFileStatusResponse, error)
  622. CopyFile(*CopyFileRequest, VolumeServer_CopyFileServer) error
  623. ReadNeedleBlob(context.Context, *ReadNeedleBlobRequest) (*ReadNeedleBlobResponse, error)
  624. WriteNeedleBlob(context.Context, *WriteNeedleBlobRequest) (*WriteNeedleBlobResponse, error)
  625. ReadAllNeedles(*ReadAllNeedlesRequest, VolumeServer_ReadAllNeedlesServer) error
  626. VolumeTailSender(*VolumeTailSenderRequest, VolumeServer_VolumeTailSenderServer) error
  627. VolumeTailReceiver(context.Context, *VolumeTailReceiverRequest) (*VolumeTailReceiverResponse, error)
  628. // erasure coding
  629. VolumeEcShardsGenerate(context.Context, *VolumeEcShardsGenerateRequest) (*VolumeEcShardsGenerateResponse, error)
  630. VolumeEcShardsRebuild(context.Context, *VolumeEcShardsRebuildRequest) (*VolumeEcShardsRebuildResponse, error)
  631. VolumeEcShardsCopy(context.Context, *VolumeEcShardsCopyRequest) (*VolumeEcShardsCopyResponse, error)
  632. VolumeEcShardsDelete(context.Context, *VolumeEcShardsDeleteRequest) (*VolumeEcShardsDeleteResponse, error)
  633. VolumeEcShardsMount(context.Context, *VolumeEcShardsMountRequest) (*VolumeEcShardsMountResponse, error)
  634. VolumeEcShardsUnmount(context.Context, *VolumeEcShardsUnmountRequest) (*VolumeEcShardsUnmountResponse, error)
  635. VolumeEcShardRead(*VolumeEcShardReadRequest, VolumeServer_VolumeEcShardReadServer) error
  636. VolumeEcBlobDelete(context.Context, *VolumeEcBlobDeleteRequest) (*VolumeEcBlobDeleteResponse, error)
  637. VolumeEcShardsToVolume(context.Context, *VolumeEcShardsToVolumeRequest) (*VolumeEcShardsToVolumeResponse, error)
  638. // tiered storage
  639. VolumeTierMoveDatToRemote(*VolumeTierMoveDatToRemoteRequest, VolumeServer_VolumeTierMoveDatToRemoteServer) error
  640. VolumeTierMoveDatFromRemote(*VolumeTierMoveDatFromRemoteRequest, VolumeServer_VolumeTierMoveDatFromRemoteServer) error
  641. VolumeServerStatus(context.Context, *VolumeServerStatusRequest) (*VolumeServerStatusResponse, error)
  642. VolumeServerLeave(context.Context, *VolumeServerLeaveRequest) (*VolumeServerLeaveResponse, error)
  643. // remote storage
  644. FetchAndWriteNeedle(context.Context, *FetchAndWriteNeedleRequest) (*FetchAndWriteNeedleResponse, error)
  645. // <experimental> query
  646. Query(*QueryRequest, VolumeServer_QueryServer) error
  647. VolumeNeedleStatus(context.Context, *VolumeNeedleStatusRequest) (*VolumeNeedleStatusResponse, error)
  648. Ping(context.Context, *PingRequest) (*PingResponse, error)
  649. mustEmbedUnimplementedVolumeServerServer()
  650. }
  651. // UnimplementedVolumeServerServer must be embedded to have forward compatible implementations.
  652. type UnimplementedVolumeServerServer struct {
  653. }
  654. func (UnimplementedVolumeServerServer) BatchDelete(context.Context, *BatchDeleteRequest) (*BatchDeleteResponse, error) {
  655. return nil, status.Errorf(codes.Unimplemented, "method BatchDelete not implemented")
  656. }
  657. func (UnimplementedVolumeServerServer) VacuumVolumeCheck(context.Context, *VacuumVolumeCheckRequest) (*VacuumVolumeCheckResponse, error) {
  658. return nil, status.Errorf(codes.Unimplemented, "method VacuumVolumeCheck not implemented")
  659. }
  660. func (UnimplementedVolumeServerServer) VacuumVolumeCompact(*VacuumVolumeCompactRequest, VolumeServer_VacuumVolumeCompactServer) error {
  661. return status.Errorf(codes.Unimplemented, "method VacuumVolumeCompact not implemented")
  662. }
  663. func (UnimplementedVolumeServerServer) VacuumVolumeCommit(context.Context, *VacuumVolumeCommitRequest) (*VacuumVolumeCommitResponse, error) {
  664. return nil, status.Errorf(codes.Unimplemented, "method VacuumVolumeCommit not implemented")
  665. }
  666. func (UnimplementedVolumeServerServer) VacuumVolumeCleanup(context.Context, *VacuumVolumeCleanupRequest) (*VacuumVolumeCleanupResponse, error) {
  667. return nil, status.Errorf(codes.Unimplemented, "method VacuumVolumeCleanup not implemented")
  668. }
  669. func (UnimplementedVolumeServerServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) {
  670. return nil, status.Errorf(codes.Unimplemented, "method DeleteCollection not implemented")
  671. }
  672. func (UnimplementedVolumeServerServer) AllocateVolume(context.Context, *AllocateVolumeRequest) (*AllocateVolumeResponse, error) {
  673. return nil, status.Errorf(codes.Unimplemented, "method AllocateVolume not implemented")
  674. }
  675. func (UnimplementedVolumeServerServer) VolumeSyncStatus(context.Context, *VolumeSyncStatusRequest) (*VolumeSyncStatusResponse, error) {
  676. return nil, status.Errorf(codes.Unimplemented, "method VolumeSyncStatus not implemented")
  677. }
  678. func (UnimplementedVolumeServerServer) VolumeIncrementalCopy(*VolumeIncrementalCopyRequest, VolumeServer_VolumeIncrementalCopyServer) error {
  679. return status.Errorf(codes.Unimplemented, "method VolumeIncrementalCopy not implemented")
  680. }
  681. func (UnimplementedVolumeServerServer) VolumeMount(context.Context, *VolumeMountRequest) (*VolumeMountResponse, error) {
  682. return nil, status.Errorf(codes.Unimplemented, "method VolumeMount not implemented")
  683. }
  684. func (UnimplementedVolumeServerServer) VolumeUnmount(context.Context, *VolumeUnmountRequest) (*VolumeUnmountResponse, error) {
  685. return nil, status.Errorf(codes.Unimplemented, "method VolumeUnmount not implemented")
  686. }
  687. func (UnimplementedVolumeServerServer) VolumeDelete(context.Context, *VolumeDeleteRequest) (*VolumeDeleteResponse, error) {
  688. return nil, status.Errorf(codes.Unimplemented, "method VolumeDelete not implemented")
  689. }
  690. func (UnimplementedVolumeServerServer) VolumeMarkReadonly(context.Context, *VolumeMarkReadonlyRequest) (*VolumeMarkReadonlyResponse, error) {
  691. return nil, status.Errorf(codes.Unimplemented, "method VolumeMarkReadonly not implemented")
  692. }
  693. func (UnimplementedVolumeServerServer) VolumeMarkWritable(context.Context, *VolumeMarkWritableRequest) (*VolumeMarkWritableResponse, error) {
  694. return nil, status.Errorf(codes.Unimplemented, "method VolumeMarkWritable not implemented")
  695. }
  696. func (UnimplementedVolumeServerServer) VolumeConfigure(context.Context, *VolumeConfigureRequest) (*VolumeConfigureResponse, error) {
  697. return nil, status.Errorf(codes.Unimplemented, "method VolumeConfigure not implemented")
  698. }
  699. func (UnimplementedVolumeServerServer) VolumeStatus(context.Context, *VolumeStatusRequest) (*VolumeStatusResponse, error) {
  700. return nil, status.Errorf(codes.Unimplemented, "method VolumeStatus not implemented")
  701. }
  702. func (UnimplementedVolumeServerServer) VolumeCopy(*VolumeCopyRequest, VolumeServer_VolumeCopyServer) error {
  703. return status.Errorf(codes.Unimplemented, "method VolumeCopy not implemented")
  704. }
  705. func (UnimplementedVolumeServerServer) ReadVolumeFileStatus(context.Context, *ReadVolumeFileStatusRequest) (*ReadVolumeFileStatusResponse, error) {
  706. return nil, status.Errorf(codes.Unimplemented, "method ReadVolumeFileStatus not implemented")
  707. }
  708. func (UnimplementedVolumeServerServer) CopyFile(*CopyFileRequest, VolumeServer_CopyFileServer) error {
  709. return status.Errorf(codes.Unimplemented, "method CopyFile not implemented")
  710. }
  711. func (UnimplementedVolumeServerServer) ReadNeedleBlob(context.Context, *ReadNeedleBlobRequest) (*ReadNeedleBlobResponse, error) {
  712. return nil, status.Errorf(codes.Unimplemented, "method ReadNeedleBlob not implemented")
  713. }
  714. func (UnimplementedVolumeServerServer) WriteNeedleBlob(context.Context, *WriteNeedleBlobRequest) (*WriteNeedleBlobResponse, error) {
  715. return nil, status.Errorf(codes.Unimplemented, "method WriteNeedleBlob not implemented")
  716. }
  717. func (UnimplementedVolumeServerServer) ReadAllNeedles(*ReadAllNeedlesRequest, VolumeServer_ReadAllNeedlesServer) error {
  718. return status.Errorf(codes.Unimplemented, "method ReadAllNeedles not implemented")
  719. }
  720. func (UnimplementedVolumeServerServer) VolumeTailSender(*VolumeTailSenderRequest, VolumeServer_VolumeTailSenderServer) error {
  721. return status.Errorf(codes.Unimplemented, "method VolumeTailSender not implemented")
  722. }
  723. func (UnimplementedVolumeServerServer) VolumeTailReceiver(context.Context, *VolumeTailReceiverRequest) (*VolumeTailReceiverResponse, error) {
  724. return nil, status.Errorf(codes.Unimplemented, "method VolumeTailReceiver not implemented")
  725. }
  726. func (UnimplementedVolumeServerServer) VolumeEcShardsGenerate(context.Context, *VolumeEcShardsGenerateRequest) (*VolumeEcShardsGenerateResponse, error) {
  727. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcShardsGenerate not implemented")
  728. }
  729. func (UnimplementedVolumeServerServer) VolumeEcShardsRebuild(context.Context, *VolumeEcShardsRebuildRequest) (*VolumeEcShardsRebuildResponse, error) {
  730. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcShardsRebuild not implemented")
  731. }
  732. func (UnimplementedVolumeServerServer) VolumeEcShardsCopy(context.Context, *VolumeEcShardsCopyRequest) (*VolumeEcShardsCopyResponse, error) {
  733. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcShardsCopy not implemented")
  734. }
  735. func (UnimplementedVolumeServerServer) VolumeEcShardsDelete(context.Context, *VolumeEcShardsDeleteRequest) (*VolumeEcShardsDeleteResponse, error) {
  736. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcShardsDelete not implemented")
  737. }
  738. func (UnimplementedVolumeServerServer) VolumeEcShardsMount(context.Context, *VolumeEcShardsMountRequest) (*VolumeEcShardsMountResponse, error) {
  739. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcShardsMount not implemented")
  740. }
  741. func (UnimplementedVolumeServerServer) VolumeEcShardsUnmount(context.Context, *VolumeEcShardsUnmountRequest) (*VolumeEcShardsUnmountResponse, error) {
  742. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcShardsUnmount not implemented")
  743. }
  744. func (UnimplementedVolumeServerServer) VolumeEcShardRead(*VolumeEcShardReadRequest, VolumeServer_VolumeEcShardReadServer) error {
  745. return status.Errorf(codes.Unimplemented, "method VolumeEcShardRead not implemented")
  746. }
  747. func (UnimplementedVolumeServerServer) VolumeEcBlobDelete(context.Context, *VolumeEcBlobDeleteRequest) (*VolumeEcBlobDeleteResponse, error) {
  748. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcBlobDelete not implemented")
  749. }
  750. func (UnimplementedVolumeServerServer) VolumeEcShardsToVolume(context.Context, *VolumeEcShardsToVolumeRequest) (*VolumeEcShardsToVolumeResponse, error) {
  751. return nil, status.Errorf(codes.Unimplemented, "method VolumeEcShardsToVolume not implemented")
  752. }
  753. func (UnimplementedVolumeServerServer) VolumeTierMoveDatToRemote(*VolumeTierMoveDatToRemoteRequest, VolumeServer_VolumeTierMoveDatToRemoteServer) error {
  754. return status.Errorf(codes.Unimplemented, "method VolumeTierMoveDatToRemote not implemented")
  755. }
  756. func (UnimplementedVolumeServerServer) VolumeTierMoveDatFromRemote(*VolumeTierMoveDatFromRemoteRequest, VolumeServer_VolumeTierMoveDatFromRemoteServer) error {
  757. return status.Errorf(codes.Unimplemented, "method VolumeTierMoveDatFromRemote not implemented")
  758. }
  759. func (UnimplementedVolumeServerServer) VolumeServerStatus(context.Context, *VolumeServerStatusRequest) (*VolumeServerStatusResponse, error) {
  760. return nil, status.Errorf(codes.Unimplemented, "method VolumeServerStatus not implemented")
  761. }
  762. func (UnimplementedVolumeServerServer) VolumeServerLeave(context.Context, *VolumeServerLeaveRequest) (*VolumeServerLeaveResponse, error) {
  763. return nil, status.Errorf(codes.Unimplemented, "method VolumeServerLeave not implemented")
  764. }
  765. func (UnimplementedVolumeServerServer) FetchAndWriteNeedle(context.Context, *FetchAndWriteNeedleRequest) (*FetchAndWriteNeedleResponse, error) {
  766. return nil, status.Errorf(codes.Unimplemented, "method FetchAndWriteNeedle not implemented")
  767. }
  768. func (UnimplementedVolumeServerServer) Query(*QueryRequest, VolumeServer_QueryServer) error {
  769. return status.Errorf(codes.Unimplemented, "method Query not implemented")
  770. }
  771. func (UnimplementedVolumeServerServer) VolumeNeedleStatus(context.Context, *VolumeNeedleStatusRequest) (*VolumeNeedleStatusResponse, error) {
  772. return nil, status.Errorf(codes.Unimplemented, "method VolumeNeedleStatus not implemented")
  773. }
  774. func (UnimplementedVolumeServerServer) Ping(context.Context, *PingRequest) (*PingResponse, error) {
  775. return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
  776. }
  777. func (UnimplementedVolumeServerServer) mustEmbedUnimplementedVolumeServerServer() {}
  778. // UnsafeVolumeServerServer may be embedded to opt out of forward compatibility for this service.
  779. // Use of this interface is not recommended, as added methods to VolumeServerServer will
  780. // result in compilation errors.
  781. type UnsafeVolumeServerServer interface {
  782. mustEmbedUnimplementedVolumeServerServer()
  783. }
  784. func RegisterVolumeServerServer(s grpc.ServiceRegistrar, srv VolumeServerServer) {
  785. s.RegisterService(&VolumeServer_ServiceDesc, srv)
  786. }
  787. func _VolumeServer_BatchDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  788. in := new(BatchDeleteRequest)
  789. if err := dec(in); err != nil {
  790. return nil, err
  791. }
  792. if interceptor == nil {
  793. return srv.(VolumeServerServer).BatchDelete(ctx, in)
  794. }
  795. info := &grpc.UnaryServerInfo{
  796. Server: srv,
  797. FullMethod: "/volume_server_pb.VolumeServer/BatchDelete",
  798. }
  799. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  800. return srv.(VolumeServerServer).BatchDelete(ctx, req.(*BatchDeleteRequest))
  801. }
  802. return interceptor(ctx, in, info, handler)
  803. }
  804. func _VolumeServer_VacuumVolumeCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  805. in := new(VacuumVolumeCheckRequest)
  806. if err := dec(in); err != nil {
  807. return nil, err
  808. }
  809. if interceptor == nil {
  810. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, in)
  811. }
  812. info := &grpc.UnaryServerInfo{
  813. Server: srv,
  814. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCheck",
  815. }
  816. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  817. return srv.(VolumeServerServer).VacuumVolumeCheck(ctx, req.(*VacuumVolumeCheckRequest))
  818. }
  819. return interceptor(ctx, in, info, handler)
  820. }
  821. func _VolumeServer_VacuumVolumeCompact_Handler(srv interface{}, stream grpc.ServerStream) error {
  822. m := new(VacuumVolumeCompactRequest)
  823. if err := stream.RecvMsg(m); err != nil {
  824. return err
  825. }
  826. return srv.(VolumeServerServer).VacuumVolumeCompact(m, &volumeServerVacuumVolumeCompactServer{stream})
  827. }
  828. type VolumeServer_VacuumVolumeCompactServer interface {
  829. Send(*VacuumVolumeCompactResponse) error
  830. grpc.ServerStream
  831. }
  832. type volumeServerVacuumVolumeCompactServer struct {
  833. grpc.ServerStream
  834. }
  835. func (x *volumeServerVacuumVolumeCompactServer) Send(m *VacuumVolumeCompactResponse) error {
  836. return x.ServerStream.SendMsg(m)
  837. }
  838. func _VolumeServer_VacuumVolumeCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  839. in := new(VacuumVolumeCommitRequest)
  840. if err := dec(in); err != nil {
  841. return nil, err
  842. }
  843. if interceptor == nil {
  844. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, in)
  845. }
  846. info := &grpc.UnaryServerInfo{
  847. Server: srv,
  848. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCommit",
  849. }
  850. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  851. return srv.(VolumeServerServer).VacuumVolumeCommit(ctx, req.(*VacuumVolumeCommitRequest))
  852. }
  853. return interceptor(ctx, in, info, handler)
  854. }
  855. func _VolumeServer_VacuumVolumeCleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  856. in := new(VacuumVolumeCleanupRequest)
  857. if err := dec(in); err != nil {
  858. return nil, err
  859. }
  860. if interceptor == nil {
  861. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, in)
  862. }
  863. info := &grpc.UnaryServerInfo{
  864. Server: srv,
  865. FullMethod: "/volume_server_pb.VolumeServer/VacuumVolumeCleanup",
  866. }
  867. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  868. return srv.(VolumeServerServer).VacuumVolumeCleanup(ctx, req.(*VacuumVolumeCleanupRequest))
  869. }
  870. return interceptor(ctx, in, info, handler)
  871. }
  872. func _VolumeServer_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  873. in := new(DeleteCollectionRequest)
  874. if err := dec(in); err != nil {
  875. return nil, err
  876. }
  877. if interceptor == nil {
  878. return srv.(VolumeServerServer).DeleteCollection(ctx, in)
  879. }
  880. info := &grpc.UnaryServerInfo{
  881. Server: srv,
  882. FullMethod: "/volume_server_pb.VolumeServer/DeleteCollection",
  883. }
  884. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  885. return srv.(VolumeServerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  886. }
  887. return interceptor(ctx, in, info, handler)
  888. }
  889. func _VolumeServer_AllocateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  890. in := new(AllocateVolumeRequest)
  891. if err := dec(in); err != nil {
  892. return nil, err
  893. }
  894. if interceptor == nil {
  895. return srv.(VolumeServerServer).AllocateVolume(ctx, in)
  896. }
  897. info := &grpc.UnaryServerInfo{
  898. Server: srv,
  899. FullMethod: "/volume_server_pb.VolumeServer/AllocateVolume",
  900. }
  901. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  902. return srv.(VolumeServerServer).AllocateVolume(ctx, req.(*AllocateVolumeRequest))
  903. }
  904. return interceptor(ctx, in, info, handler)
  905. }
  906. func _VolumeServer_VolumeSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  907. in := new(VolumeSyncStatusRequest)
  908. if err := dec(in); err != nil {
  909. return nil, err
  910. }
  911. if interceptor == nil {
  912. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, in)
  913. }
  914. info := &grpc.UnaryServerInfo{
  915. Server: srv,
  916. FullMethod: "/volume_server_pb.VolumeServer/VolumeSyncStatus",
  917. }
  918. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  919. return srv.(VolumeServerServer).VolumeSyncStatus(ctx, req.(*VolumeSyncStatusRequest))
  920. }
  921. return interceptor(ctx, in, info, handler)
  922. }
  923. func _VolumeServer_VolumeIncrementalCopy_Handler(srv interface{}, stream grpc.ServerStream) error {
  924. m := new(VolumeIncrementalCopyRequest)
  925. if err := stream.RecvMsg(m); err != nil {
  926. return err
  927. }
  928. return srv.(VolumeServerServer).VolumeIncrementalCopy(m, &volumeServerVolumeIncrementalCopyServer{stream})
  929. }
  930. type VolumeServer_VolumeIncrementalCopyServer interface {
  931. Send(*VolumeIncrementalCopyResponse) error
  932. grpc.ServerStream
  933. }
  934. type volumeServerVolumeIncrementalCopyServer struct {
  935. grpc.ServerStream
  936. }
  937. func (x *volumeServerVolumeIncrementalCopyServer) Send(m *VolumeIncrementalCopyResponse) error {
  938. return x.ServerStream.SendMsg(m)
  939. }
  940. func _VolumeServer_VolumeMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  941. in := new(VolumeMountRequest)
  942. if err := dec(in); err != nil {
  943. return nil, err
  944. }
  945. if interceptor == nil {
  946. return srv.(VolumeServerServer).VolumeMount(ctx, in)
  947. }
  948. info := &grpc.UnaryServerInfo{
  949. Server: srv,
  950. FullMethod: "/volume_server_pb.VolumeServer/VolumeMount",
  951. }
  952. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  953. return srv.(VolumeServerServer).VolumeMount(ctx, req.(*VolumeMountRequest))
  954. }
  955. return interceptor(ctx, in, info, handler)
  956. }
  957. func _VolumeServer_VolumeUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  958. in := new(VolumeUnmountRequest)
  959. if err := dec(in); err != nil {
  960. return nil, err
  961. }
  962. if interceptor == nil {
  963. return srv.(VolumeServerServer).VolumeUnmount(ctx, in)
  964. }
  965. info := &grpc.UnaryServerInfo{
  966. Server: srv,
  967. FullMethod: "/volume_server_pb.VolumeServer/VolumeUnmount",
  968. }
  969. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  970. return srv.(VolumeServerServer).VolumeUnmount(ctx, req.(*VolumeUnmountRequest))
  971. }
  972. return interceptor(ctx, in, info, handler)
  973. }
  974. func _VolumeServer_VolumeDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  975. in := new(VolumeDeleteRequest)
  976. if err := dec(in); err != nil {
  977. return nil, err
  978. }
  979. if interceptor == nil {
  980. return srv.(VolumeServerServer).VolumeDelete(ctx, in)
  981. }
  982. info := &grpc.UnaryServerInfo{
  983. Server: srv,
  984. FullMethod: "/volume_server_pb.VolumeServer/VolumeDelete",
  985. }
  986. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  987. return srv.(VolumeServerServer).VolumeDelete(ctx, req.(*VolumeDeleteRequest))
  988. }
  989. return interceptor(ctx, in, info, handler)
  990. }
  991. func _VolumeServer_VolumeMarkReadonly_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  992. in := new(VolumeMarkReadonlyRequest)
  993. if err := dec(in); err != nil {
  994. return nil, err
  995. }
  996. if interceptor == nil {
  997. return srv.(VolumeServerServer).VolumeMarkReadonly(ctx, in)
  998. }
  999. info := &grpc.UnaryServerInfo{
  1000. Server: srv,
  1001. FullMethod: "/volume_server_pb.VolumeServer/VolumeMarkReadonly",
  1002. }
  1003. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1004. return srv.(VolumeServerServer).VolumeMarkReadonly(ctx, req.(*VolumeMarkReadonlyRequest))
  1005. }
  1006. return interceptor(ctx, in, info, handler)
  1007. }
  1008. func _VolumeServer_VolumeMarkWritable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1009. in := new(VolumeMarkWritableRequest)
  1010. if err := dec(in); err != nil {
  1011. return nil, err
  1012. }
  1013. if interceptor == nil {
  1014. return srv.(VolumeServerServer).VolumeMarkWritable(ctx, in)
  1015. }
  1016. info := &grpc.UnaryServerInfo{
  1017. Server: srv,
  1018. FullMethod: "/volume_server_pb.VolumeServer/VolumeMarkWritable",
  1019. }
  1020. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1021. return srv.(VolumeServerServer).VolumeMarkWritable(ctx, req.(*VolumeMarkWritableRequest))
  1022. }
  1023. return interceptor(ctx, in, info, handler)
  1024. }
  1025. func _VolumeServer_VolumeConfigure_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1026. in := new(VolumeConfigureRequest)
  1027. if err := dec(in); err != nil {
  1028. return nil, err
  1029. }
  1030. if interceptor == nil {
  1031. return srv.(VolumeServerServer).VolumeConfigure(ctx, in)
  1032. }
  1033. info := &grpc.UnaryServerInfo{
  1034. Server: srv,
  1035. FullMethod: "/volume_server_pb.VolumeServer/VolumeConfigure",
  1036. }
  1037. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1038. return srv.(VolumeServerServer).VolumeConfigure(ctx, req.(*VolumeConfigureRequest))
  1039. }
  1040. return interceptor(ctx, in, info, handler)
  1041. }
  1042. func _VolumeServer_VolumeStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1043. in := new(VolumeStatusRequest)
  1044. if err := dec(in); err != nil {
  1045. return nil, err
  1046. }
  1047. if interceptor == nil {
  1048. return srv.(VolumeServerServer).VolumeStatus(ctx, in)
  1049. }
  1050. info := &grpc.UnaryServerInfo{
  1051. Server: srv,
  1052. FullMethod: "/volume_server_pb.VolumeServer/VolumeStatus",
  1053. }
  1054. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1055. return srv.(VolumeServerServer).VolumeStatus(ctx, req.(*VolumeStatusRequest))
  1056. }
  1057. return interceptor(ctx, in, info, handler)
  1058. }
  1059. func _VolumeServer_VolumeCopy_Handler(srv interface{}, stream grpc.ServerStream) error {
  1060. m := new(VolumeCopyRequest)
  1061. if err := stream.RecvMsg(m); err != nil {
  1062. return err
  1063. }
  1064. return srv.(VolumeServerServer).VolumeCopy(m, &volumeServerVolumeCopyServer{stream})
  1065. }
  1066. type VolumeServer_VolumeCopyServer interface {
  1067. Send(*VolumeCopyResponse) error
  1068. grpc.ServerStream
  1069. }
  1070. type volumeServerVolumeCopyServer struct {
  1071. grpc.ServerStream
  1072. }
  1073. func (x *volumeServerVolumeCopyServer) Send(m *VolumeCopyResponse) error {
  1074. return x.ServerStream.SendMsg(m)
  1075. }
  1076. func _VolumeServer_ReadVolumeFileStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1077. in := new(ReadVolumeFileStatusRequest)
  1078. if err := dec(in); err != nil {
  1079. return nil, err
  1080. }
  1081. if interceptor == nil {
  1082. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, in)
  1083. }
  1084. info := &grpc.UnaryServerInfo{
  1085. Server: srv,
  1086. FullMethod: "/volume_server_pb.VolumeServer/ReadVolumeFileStatus",
  1087. }
  1088. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1089. return srv.(VolumeServerServer).ReadVolumeFileStatus(ctx, req.(*ReadVolumeFileStatusRequest))
  1090. }
  1091. return interceptor(ctx, in, info, handler)
  1092. }
  1093. func _VolumeServer_CopyFile_Handler(srv interface{}, stream grpc.ServerStream) error {
  1094. m := new(CopyFileRequest)
  1095. if err := stream.RecvMsg(m); err != nil {
  1096. return err
  1097. }
  1098. return srv.(VolumeServerServer).CopyFile(m, &volumeServerCopyFileServer{stream})
  1099. }
  1100. type VolumeServer_CopyFileServer interface {
  1101. Send(*CopyFileResponse) error
  1102. grpc.ServerStream
  1103. }
  1104. type volumeServerCopyFileServer struct {
  1105. grpc.ServerStream
  1106. }
  1107. func (x *volumeServerCopyFileServer) Send(m *CopyFileResponse) error {
  1108. return x.ServerStream.SendMsg(m)
  1109. }
  1110. func _VolumeServer_ReadNeedleBlob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1111. in := new(ReadNeedleBlobRequest)
  1112. if err := dec(in); err != nil {
  1113. return nil, err
  1114. }
  1115. if interceptor == nil {
  1116. return srv.(VolumeServerServer).ReadNeedleBlob(ctx, in)
  1117. }
  1118. info := &grpc.UnaryServerInfo{
  1119. Server: srv,
  1120. FullMethod: "/volume_server_pb.VolumeServer/ReadNeedleBlob",
  1121. }
  1122. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1123. return srv.(VolumeServerServer).ReadNeedleBlob(ctx, req.(*ReadNeedleBlobRequest))
  1124. }
  1125. return interceptor(ctx, in, info, handler)
  1126. }
  1127. func _VolumeServer_WriteNeedleBlob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1128. in := new(WriteNeedleBlobRequest)
  1129. if err := dec(in); err != nil {
  1130. return nil, err
  1131. }
  1132. if interceptor == nil {
  1133. return srv.(VolumeServerServer).WriteNeedleBlob(ctx, in)
  1134. }
  1135. info := &grpc.UnaryServerInfo{
  1136. Server: srv,
  1137. FullMethod: "/volume_server_pb.VolumeServer/WriteNeedleBlob",
  1138. }
  1139. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1140. return srv.(VolumeServerServer).WriteNeedleBlob(ctx, req.(*WriteNeedleBlobRequest))
  1141. }
  1142. return interceptor(ctx, in, info, handler)
  1143. }
  1144. func _VolumeServer_ReadAllNeedles_Handler(srv interface{}, stream grpc.ServerStream) error {
  1145. m := new(ReadAllNeedlesRequest)
  1146. if err := stream.RecvMsg(m); err != nil {
  1147. return err
  1148. }
  1149. return srv.(VolumeServerServer).ReadAllNeedles(m, &volumeServerReadAllNeedlesServer{stream})
  1150. }
  1151. type VolumeServer_ReadAllNeedlesServer interface {
  1152. Send(*ReadAllNeedlesResponse) error
  1153. grpc.ServerStream
  1154. }
  1155. type volumeServerReadAllNeedlesServer struct {
  1156. grpc.ServerStream
  1157. }
  1158. func (x *volumeServerReadAllNeedlesServer) Send(m *ReadAllNeedlesResponse) error {
  1159. return x.ServerStream.SendMsg(m)
  1160. }
  1161. func _VolumeServer_VolumeTailSender_Handler(srv interface{}, stream grpc.ServerStream) error {
  1162. m := new(VolumeTailSenderRequest)
  1163. if err := stream.RecvMsg(m); err != nil {
  1164. return err
  1165. }
  1166. return srv.(VolumeServerServer).VolumeTailSender(m, &volumeServerVolumeTailSenderServer{stream})
  1167. }
  1168. type VolumeServer_VolumeTailSenderServer interface {
  1169. Send(*VolumeTailSenderResponse) error
  1170. grpc.ServerStream
  1171. }
  1172. type volumeServerVolumeTailSenderServer struct {
  1173. grpc.ServerStream
  1174. }
  1175. func (x *volumeServerVolumeTailSenderServer) Send(m *VolumeTailSenderResponse) error {
  1176. return x.ServerStream.SendMsg(m)
  1177. }
  1178. func _VolumeServer_VolumeTailReceiver_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1179. in := new(VolumeTailReceiverRequest)
  1180. if err := dec(in); err != nil {
  1181. return nil, err
  1182. }
  1183. if interceptor == nil {
  1184. return srv.(VolumeServerServer).VolumeTailReceiver(ctx, in)
  1185. }
  1186. info := &grpc.UnaryServerInfo{
  1187. Server: srv,
  1188. FullMethod: "/volume_server_pb.VolumeServer/VolumeTailReceiver",
  1189. }
  1190. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1191. return srv.(VolumeServerServer).VolumeTailReceiver(ctx, req.(*VolumeTailReceiverRequest))
  1192. }
  1193. return interceptor(ctx, in, info, handler)
  1194. }
  1195. func _VolumeServer_VolumeEcShardsGenerate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1196. in := new(VolumeEcShardsGenerateRequest)
  1197. if err := dec(in); err != nil {
  1198. return nil, err
  1199. }
  1200. if interceptor == nil {
  1201. return srv.(VolumeServerServer).VolumeEcShardsGenerate(ctx, in)
  1202. }
  1203. info := &grpc.UnaryServerInfo{
  1204. Server: srv,
  1205. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsGenerate",
  1206. }
  1207. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1208. return srv.(VolumeServerServer).VolumeEcShardsGenerate(ctx, req.(*VolumeEcShardsGenerateRequest))
  1209. }
  1210. return interceptor(ctx, in, info, handler)
  1211. }
  1212. func _VolumeServer_VolumeEcShardsRebuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1213. in := new(VolumeEcShardsRebuildRequest)
  1214. if err := dec(in); err != nil {
  1215. return nil, err
  1216. }
  1217. if interceptor == nil {
  1218. return srv.(VolumeServerServer).VolumeEcShardsRebuild(ctx, in)
  1219. }
  1220. info := &grpc.UnaryServerInfo{
  1221. Server: srv,
  1222. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsRebuild",
  1223. }
  1224. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1225. return srv.(VolumeServerServer).VolumeEcShardsRebuild(ctx, req.(*VolumeEcShardsRebuildRequest))
  1226. }
  1227. return interceptor(ctx, in, info, handler)
  1228. }
  1229. func _VolumeServer_VolumeEcShardsCopy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1230. in := new(VolumeEcShardsCopyRequest)
  1231. if err := dec(in); err != nil {
  1232. return nil, err
  1233. }
  1234. if interceptor == nil {
  1235. return srv.(VolumeServerServer).VolumeEcShardsCopy(ctx, in)
  1236. }
  1237. info := &grpc.UnaryServerInfo{
  1238. Server: srv,
  1239. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsCopy",
  1240. }
  1241. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1242. return srv.(VolumeServerServer).VolumeEcShardsCopy(ctx, req.(*VolumeEcShardsCopyRequest))
  1243. }
  1244. return interceptor(ctx, in, info, handler)
  1245. }
  1246. func _VolumeServer_VolumeEcShardsDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1247. in := new(VolumeEcShardsDeleteRequest)
  1248. if err := dec(in); err != nil {
  1249. return nil, err
  1250. }
  1251. if interceptor == nil {
  1252. return srv.(VolumeServerServer).VolumeEcShardsDelete(ctx, in)
  1253. }
  1254. info := &grpc.UnaryServerInfo{
  1255. Server: srv,
  1256. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsDelete",
  1257. }
  1258. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1259. return srv.(VolumeServerServer).VolumeEcShardsDelete(ctx, req.(*VolumeEcShardsDeleteRequest))
  1260. }
  1261. return interceptor(ctx, in, info, handler)
  1262. }
  1263. func _VolumeServer_VolumeEcShardsMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1264. in := new(VolumeEcShardsMountRequest)
  1265. if err := dec(in); err != nil {
  1266. return nil, err
  1267. }
  1268. if interceptor == nil {
  1269. return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, in)
  1270. }
  1271. info := &grpc.UnaryServerInfo{
  1272. Server: srv,
  1273. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsMount",
  1274. }
  1275. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1276. return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, req.(*VolumeEcShardsMountRequest))
  1277. }
  1278. return interceptor(ctx, in, info, handler)
  1279. }
  1280. func _VolumeServer_VolumeEcShardsUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1281. in := new(VolumeEcShardsUnmountRequest)
  1282. if err := dec(in); err != nil {
  1283. return nil, err
  1284. }
  1285. if interceptor == nil {
  1286. return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, in)
  1287. }
  1288. info := &grpc.UnaryServerInfo{
  1289. Server: srv,
  1290. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount",
  1291. }
  1292. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1293. return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, req.(*VolumeEcShardsUnmountRequest))
  1294. }
  1295. return interceptor(ctx, in, info, handler)
  1296. }
  1297. func _VolumeServer_VolumeEcShardRead_Handler(srv interface{}, stream grpc.ServerStream) error {
  1298. m := new(VolumeEcShardReadRequest)
  1299. if err := stream.RecvMsg(m); err != nil {
  1300. return err
  1301. }
  1302. return srv.(VolumeServerServer).VolumeEcShardRead(m, &volumeServerVolumeEcShardReadServer{stream})
  1303. }
  1304. type VolumeServer_VolumeEcShardReadServer interface {
  1305. Send(*VolumeEcShardReadResponse) error
  1306. grpc.ServerStream
  1307. }
  1308. type volumeServerVolumeEcShardReadServer struct {
  1309. grpc.ServerStream
  1310. }
  1311. func (x *volumeServerVolumeEcShardReadServer) Send(m *VolumeEcShardReadResponse) error {
  1312. return x.ServerStream.SendMsg(m)
  1313. }
  1314. func _VolumeServer_VolumeEcBlobDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1315. in := new(VolumeEcBlobDeleteRequest)
  1316. if err := dec(in); err != nil {
  1317. return nil, err
  1318. }
  1319. if interceptor == nil {
  1320. return srv.(VolumeServerServer).VolumeEcBlobDelete(ctx, in)
  1321. }
  1322. info := &grpc.UnaryServerInfo{
  1323. Server: srv,
  1324. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcBlobDelete",
  1325. }
  1326. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1327. return srv.(VolumeServerServer).VolumeEcBlobDelete(ctx, req.(*VolumeEcBlobDeleteRequest))
  1328. }
  1329. return interceptor(ctx, in, info, handler)
  1330. }
  1331. func _VolumeServer_VolumeEcShardsToVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1332. in := new(VolumeEcShardsToVolumeRequest)
  1333. if err := dec(in); err != nil {
  1334. return nil, err
  1335. }
  1336. if interceptor == nil {
  1337. return srv.(VolumeServerServer).VolumeEcShardsToVolume(ctx, in)
  1338. }
  1339. info := &grpc.UnaryServerInfo{
  1340. Server: srv,
  1341. FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsToVolume",
  1342. }
  1343. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1344. return srv.(VolumeServerServer).VolumeEcShardsToVolume(ctx, req.(*VolumeEcShardsToVolumeRequest))
  1345. }
  1346. return interceptor(ctx, in, info, handler)
  1347. }
  1348. func _VolumeServer_VolumeTierMoveDatToRemote_Handler(srv interface{}, stream grpc.ServerStream) error {
  1349. m := new(VolumeTierMoveDatToRemoteRequest)
  1350. if err := stream.RecvMsg(m); err != nil {
  1351. return err
  1352. }
  1353. return srv.(VolumeServerServer).VolumeTierMoveDatToRemote(m, &volumeServerVolumeTierMoveDatToRemoteServer{stream})
  1354. }
  1355. type VolumeServer_VolumeTierMoveDatToRemoteServer interface {
  1356. Send(*VolumeTierMoveDatToRemoteResponse) error
  1357. grpc.ServerStream
  1358. }
  1359. type volumeServerVolumeTierMoveDatToRemoteServer struct {
  1360. grpc.ServerStream
  1361. }
  1362. func (x *volumeServerVolumeTierMoveDatToRemoteServer) Send(m *VolumeTierMoveDatToRemoteResponse) error {
  1363. return x.ServerStream.SendMsg(m)
  1364. }
  1365. func _VolumeServer_VolumeTierMoveDatFromRemote_Handler(srv interface{}, stream grpc.ServerStream) error {
  1366. m := new(VolumeTierMoveDatFromRemoteRequest)
  1367. if err := stream.RecvMsg(m); err != nil {
  1368. return err
  1369. }
  1370. return srv.(VolumeServerServer).VolumeTierMoveDatFromRemote(m, &volumeServerVolumeTierMoveDatFromRemoteServer{stream})
  1371. }
  1372. type VolumeServer_VolumeTierMoveDatFromRemoteServer interface {
  1373. Send(*VolumeTierMoveDatFromRemoteResponse) error
  1374. grpc.ServerStream
  1375. }
  1376. type volumeServerVolumeTierMoveDatFromRemoteServer struct {
  1377. grpc.ServerStream
  1378. }
  1379. func (x *volumeServerVolumeTierMoveDatFromRemoteServer) Send(m *VolumeTierMoveDatFromRemoteResponse) error {
  1380. return x.ServerStream.SendMsg(m)
  1381. }
  1382. func _VolumeServer_VolumeServerStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1383. in := new(VolumeServerStatusRequest)
  1384. if err := dec(in); err != nil {
  1385. return nil, err
  1386. }
  1387. if interceptor == nil {
  1388. return srv.(VolumeServerServer).VolumeServerStatus(ctx, in)
  1389. }
  1390. info := &grpc.UnaryServerInfo{
  1391. Server: srv,
  1392. FullMethod: "/volume_server_pb.VolumeServer/VolumeServerStatus",
  1393. }
  1394. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1395. return srv.(VolumeServerServer).VolumeServerStatus(ctx, req.(*VolumeServerStatusRequest))
  1396. }
  1397. return interceptor(ctx, in, info, handler)
  1398. }
  1399. func _VolumeServer_VolumeServerLeave_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1400. in := new(VolumeServerLeaveRequest)
  1401. if err := dec(in); err != nil {
  1402. return nil, err
  1403. }
  1404. if interceptor == nil {
  1405. return srv.(VolumeServerServer).VolumeServerLeave(ctx, in)
  1406. }
  1407. info := &grpc.UnaryServerInfo{
  1408. Server: srv,
  1409. FullMethod: "/volume_server_pb.VolumeServer/VolumeServerLeave",
  1410. }
  1411. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1412. return srv.(VolumeServerServer).VolumeServerLeave(ctx, req.(*VolumeServerLeaveRequest))
  1413. }
  1414. return interceptor(ctx, in, info, handler)
  1415. }
  1416. func _VolumeServer_FetchAndWriteNeedle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1417. in := new(FetchAndWriteNeedleRequest)
  1418. if err := dec(in); err != nil {
  1419. return nil, err
  1420. }
  1421. if interceptor == nil {
  1422. return srv.(VolumeServerServer).FetchAndWriteNeedle(ctx, in)
  1423. }
  1424. info := &grpc.UnaryServerInfo{
  1425. Server: srv,
  1426. FullMethod: "/volume_server_pb.VolumeServer/FetchAndWriteNeedle",
  1427. }
  1428. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1429. return srv.(VolumeServerServer).FetchAndWriteNeedle(ctx, req.(*FetchAndWriteNeedleRequest))
  1430. }
  1431. return interceptor(ctx, in, info, handler)
  1432. }
  1433. func _VolumeServer_Query_Handler(srv interface{}, stream grpc.ServerStream) error {
  1434. m := new(QueryRequest)
  1435. if err := stream.RecvMsg(m); err != nil {
  1436. return err
  1437. }
  1438. return srv.(VolumeServerServer).Query(m, &volumeServerQueryServer{stream})
  1439. }
  1440. type VolumeServer_QueryServer interface {
  1441. Send(*QueriedStripe) error
  1442. grpc.ServerStream
  1443. }
  1444. type volumeServerQueryServer struct {
  1445. grpc.ServerStream
  1446. }
  1447. func (x *volumeServerQueryServer) Send(m *QueriedStripe) error {
  1448. return x.ServerStream.SendMsg(m)
  1449. }
  1450. func _VolumeServer_VolumeNeedleStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1451. in := new(VolumeNeedleStatusRequest)
  1452. if err := dec(in); err != nil {
  1453. return nil, err
  1454. }
  1455. if interceptor == nil {
  1456. return srv.(VolumeServerServer).VolumeNeedleStatus(ctx, in)
  1457. }
  1458. info := &grpc.UnaryServerInfo{
  1459. Server: srv,
  1460. FullMethod: "/volume_server_pb.VolumeServer/VolumeNeedleStatus",
  1461. }
  1462. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1463. return srv.(VolumeServerServer).VolumeNeedleStatus(ctx, req.(*VolumeNeedleStatusRequest))
  1464. }
  1465. return interceptor(ctx, in, info, handler)
  1466. }
  1467. func _VolumeServer_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1468. in := new(PingRequest)
  1469. if err := dec(in); err != nil {
  1470. return nil, err
  1471. }
  1472. if interceptor == nil {
  1473. return srv.(VolumeServerServer).Ping(ctx, in)
  1474. }
  1475. info := &grpc.UnaryServerInfo{
  1476. Server: srv,
  1477. FullMethod: "/volume_server_pb.VolumeServer/Ping",
  1478. }
  1479. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1480. return srv.(VolumeServerServer).Ping(ctx, req.(*PingRequest))
  1481. }
  1482. return interceptor(ctx, in, info, handler)
  1483. }
  1484. // VolumeServer_ServiceDesc is the grpc.ServiceDesc for VolumeServer service.
  1485. // It's only intended for direct use with grpc.RegisterService,
  1486. // and not to be introspected or modified (even as a copy)
  1487. var VolumeServer_ServiceDesc = grpc.ServiceDesc{
  1488. ServiceName: "volume_server_pb.VolumeServer",
  1489. HandlerType: (*VolumeServerServer)(nil),
  1490. Methods: []grpc.MethodDesc{
  1491. {
  1492. MethodName: "BatchDelete",
  1493. Handler: _VolumeServer_BatchDelete_Handler,
  1494. },
  1495. {
  1496. MethodName: "VacuumVolumeCheck",
  1497. Handler: _VolumeServer_VacuumVolumeCheck_Handler,
  1498. },
  1499. {
  1500. MethodName: "VacuumVolumeCommit",
  1501. Handler: _VolumeServer_VacuumVolumeCommit_Handler,
  1502. },
  1503. {
  1504. MethodName: "VacuumVolumeCleanup",
  1505. Handler: _VolumeServer_VacuumVolumeCleanup_Handler,
  1506. },
  1507. {
  1508. MethodName: "DeleteCollection",
  1509. Handler: _VolumeServer_DeleteCollection_Handler,
  1510. },
  1511. {
  1512. MethodName: "AllocateVolume",
  1513. Handler: _VolumeServer_AllocateVolume_Handler,
  1514. },
  1515. {
  1516. MethodName: "VolumeSyncStatus",
  1517. Handler: _VolumeServer_VolumeSyncStatus_Handler,
  1518. },
  1519. {
  1520. MethodName: "VolumeMount",
  1521. Handler: _VolumeServer_VolumeMount_Handler,
  1522. },
  1523. {
  1524. MethodName: "VolumeUnmount",
  1525. Handler: _VolumeServer_VolumeUnmount_Handler,
  1526. },
  1527. {
  1528. MethodName: "VolumeDelete",
  1529. Handler: _VolumeServer_VolumeDelete_Handler,
  1530. },
  1531. {
  1532. MethodName: "VolumeMarkReadonly",
  1533. Handler: _VolumeServer_VolumeMarkReadonly_Handler,
  1534. },
  1535. {
  1536. MethodName: "VolumeMarkWritable",
  1537. Handler: _VolumeServer_VolumeMarkWritable_Handler,
  1538. },
  1539. {
  1540. MethodName: "VolumeConfigure",
  1541. Handler: _VolumeServer_VolumeConfigure_Handler,
  1542. },
  1543. {
  1544. MethodName: "VolumeStatus",
  1545. Handler: _VolumeServer_VolumeStatus_Handler,
  1546. },
  1547. {
  1548. MethodName: "ReadVolumeFileStatus",
  1549. Handler: _VolumeServer_ReadVolumeFileStatus_Handler,
  1550. },
  1551. {
  1552. MethodName: "ReadNeedleBlob",
  1553. Handler: _VolumeServer_ReadNeedleBlob_Handler,
  1554. },
  1555. {
  1556. MethodName: "WriteNeedleBlob",
  1557. Handler: _VolumeServer_WriteNeedleBlob_Handler,
  1558. },
  1559. {
  1560. MethodName: "VolumeTailReceiver",
  1561. Handler: _VolumeServer_VolumeTailReceiver_Handler,
  1562. },
  1563. {
  1564. MethodName: "VolumeEcShardsGenerate",
  1565. Handler: _VolumeServer_VolumeEcShardsGenerate_Handler,
  1566. },
  1567. {
  1568. MethodName: "VolumeEcShardsRebuild",
  1569. Handler: _VolumeServer_VolumeEcShardsRebuild_Handler,
  1570. },
  1571. {
  1572. MethodName: "VolumeEcShardsCopy",
  1573. Handler: _VolumeServer_VolumeEcShardsCopy_Handler,
  1574. },
  1575. {
  1576. MethodName: "VolumeEcShardsDelete",
  1577. Handler: _VolumeServer_VolumeEcShardsDelete_Handler,
  1578. },
  1579. {
  1580. MethodName: "VolumeEcShardsMount",
  1581. Handler: _VolumeServer_VolumeEcShardsMount_Handler,
  1582. },
  1583. {
  1584. MethodName: "VolumeEcShardsUnmount",
  1585. Handler: _VolumeServer_VolumeEcShardsUnmount_Handler,
  1586. },
  1587. {
  1588. MethodName: "VolumeEcBlobDelete",
  1589. Handler: _VolumeServer_VolumeEcBlobDelete_Handler,
  1590. },
  1591. {
  1592. MethodName: "VolumeEcShardsToVolume",
  1593. Handler: _VolumeServer_VolumeEcShardsToVolume_Handler,
  1594. },
  1595. {
  1596. MethodName: "VolumeServerStatus",
  1597. Handler: _VolumeServer_VolumeServerStatus_Handler,
  1598. },
  1599. {
  1600. MethodName: "VolumeServerLeave",
  1601. Handler: _VolumeServer_VolumeServerLeave_Handler,
  1602. },
  1603. {
  1604. MethodName: "FetchAndWriteNeedle",
  1605. Handler: _VolumeServer_FetchAndWriteNeedle_Handler,
  1606. },
  1607. {
  1608. MethodName: "VolumeNeedleStatus",
  1609. Handler: _VolumeServer_VolumeNeedleStatus_Handler,
  1610. },
  1611. {
  1612. MethodName: "Ping",
  1613. Handler: _VolumeServer_Ping_Handler,
  1614. },
  1615. },
  1616. Streams: []grpc.StreamDesc{
  1617. {
  1618. StreamName: "VacuumVolumeCompact",
  1619. Handler: _VolumeServer_VacuumVolumeCompact_Handler,
  1620. ServerStreams: true,
  1621. },
  1622. {
  1623. StreamName: "VolumeIncrementalCopy",
  1624. Handler: _VolumeServer_VolumeIncrementalCopy_Handler,
  1625. ServerStreams: true,
  1626. },
  1627. {
  1628. StreamName: "VolumeCopy",
  1629. Handler: _VolumeServer_VolumeCopy_Handler,
  1630. ServerStreams: true,
  1631. },
  1632. {
  1633. StreamName: "CopyFile",
  1634. Handler: _VolumeServer_CopyFile_Handler,
  1635. ServerStreams: true,
  1636. },
  1637. {
  1638. StreamName: "ReadAllNeedles",
  1639. Handler: _VolumeServer_ReadAllNeedles_Handler,
  1640. ServerStreams: true,
  1641. },
  1642. {
  1643. StreamName: "VolumeTailSender",
  1644. Handler: _VolumeServer_VolumeTailSender_Handler,
  1645. ServerStreams: true,
  1646. },
  1647. {
  1648. StreamName: "VolumeEcShardRead",
  1649. Handler: _VolumeServer_VolumeEcShardRead_Handler,
  1650. ServerStreams: true,
  1651. },
  1652. {
  1653. StreamName: "VolumeTierMoveDatToRemote",
  1654. Handler: _VolumeServer_VolumeTierMoveDatToRemote_Handler,
  1655. ServerStreams: true,
  1656. },
  1657. {
  1658. StreamName: "VolumeTierMoveDatFromRemote",
  1659. Handler: _VolumeServer_VolumeTierMoveDatFromRemote_Handler,
  1660. ServerStreams: true,
  1661. },
  1662. {
  1663. StreamName: "Query",
  1664. Handler: _VolumeServer_Query_Handler,
  1665. ServerStreams: true,
  1666. },
  1667. },
  1668. Metadata: "volume_server.proto",
  1669. }