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.

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