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.

1828 lines
72 KiB

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