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.

962 lines
36 KiB

  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package filer_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. // SeaweedFilerClient is the client API for SeaweedFiler 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 SeaweedFilerClient interface {
  17. LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
  18. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error)
  19. CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error)
  20. UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error)
  21. AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error)
  22. DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
  23. AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error)
  24. StreamRenameEntry(ctx context.Context, in *StreamRenameEntryRequest, opts ...grpc.CallOption) (SeaweedFiler_StreamRenameEntryClient, error)
  25. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  26. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  27. CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)
  28. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  29. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  30. GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error)
  31. SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error)
  32. SubscribeLocalMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeLocalMetadataClient, error)
  33. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error)
  34. LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error)
  35. KvGet(ctx context.Context, in *KvGetRequest, opts ...grpc.CallOption) (*KvGetResponse, error)
  36. KvPut(ctx context.Context, in *KvPutRequest, opts ...grpc.CallOption) (*KvPutResponse, error)
  37. CacheRemoteObjectToLocalCluster(ctx context.Context, in *CacheRemoteObjectToLocalClusterRequest, opts ...grpc.CallOption) (*CacheRemoteObjectToLocalClusterResponse, error)
  38. }
  39. type seaweedFilerClient struct {
  40. cc grpc.ClientConnInterface
  41. }
  42. func NewSeaweedFilerClient(cc grpc.ClientConnInterface) SeaweedFilerClient {
  43. return &seaweedFilerClient{cc}
  44. }
  45. func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
  46. out := new(LookupDirectoryEntryResponse)
  47. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, opts...)
  48. if err != nil {
  49. return nil, err
  50. }
  51. return out, nil
  52. }
  53. func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error) {
  54. stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[0], "/filer_pb.SeaweedFiler/ListEntries", opts...)
  55. if err != nil {
  56. return nil, err
  57. }
  58. x := &seaweedFilerListEntriesClient{stream}
  59. if err := x.ClientStream.SendMsg(in); err != nil {
  60. return nil, err
  61. }
  62. if err := x.ClientStream.CloseSend(); err != nil {
  63. return nil, err
  64. }
  65. return x, nil
  66. }
  67. type SeaweedFiler_ListEntriesClient interface {
  68. Recv() (*ListEntriesResponse, error)
  69. grpc.ClientStream
  70. }
  71. type seaweedFilerListEntriesClient struct {
  72. grpc.ClientStream
  73. }
  74. func (x *seaweedFilerListEntriesClient) Recv() (*ListEntriesResponse, error) {
  75. m := new(ListEntriesResponse)
  76. if err := x.ClientStream.RecvMsg(m); err != nil {
  77. return nil, err
  78. }
  79. return m, nil
  80. }
  81. func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
  82. out := new(CreateEntryResponse)
  83. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, opts...)
  84. if err != nil {
  85. return nil, err
  86. }
  87. return out, nil
  88. }
  89. func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
  90. out := new(UpdateEntryResponse)
  91. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, opts...)
  92. if err != nil {
  93. return nil, err
  94. }
  95. return out, nil
  96. }
  97. func (c *seaweedFilerClient) AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error) {
  98. out := new(AppendToEntryResponse)
  99. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AppendToEntry", in, out, opts...)
  100. if err != nil {
  101. return nil, err
  102. }
  103. return out, nil
  104. }
  105. func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
  106. out := new(DeleteEntryResponse)
  107. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, opts...)
  108. if err != nil {
  109. return nil, err
  110. }
  111. return out, nil
  112. }
  113. func (c *seaweedFilerClient) AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error) {
  114. out := new(AtomicRenameEntryResponse)
  115. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AtomicRenameEntry", in, out, opts...)
  116. if err != nil {
  117. return nil, err
  118. }
  119. return out, nil
  120. }
  121. func (c *seaweedFilerClient) StreamRenameEntry(ctx context.Context, in *StreamRenameEntryRequest, opts ...grpc.CallOption) (SeaweedFiler_StreamRenameEntryClient, error) {
  122. stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[1], "/filer_pb.SeaweedFiler/StreamRenameEntry", opts...)
  123. if err != nil {
  124. return nil, err
  125. }
  126. x := &seaweedFilerStreamRenameEntryClient{stream}
  127. if err := x.ClientStream.SendMsg(in); err != nil {
  128. return nil, err
  129. }
  130. if err := x.ClientStream.CloseSend(); err != nil {
  131. return nil, err
  132. }
  133. return x, nil
  134. }
  135. type SeaweedFiler_StreamRenameEntryClient interface {
  136. Recv() (*StreamRenameEntryResponse, error)
  137. grpc.ClientStream
  138. }
  139. type seaweedFilerStreamRenameEntryClient struct {
  140. grpc.ClientStream
  141. }
  142. func (x *seaweedFilerStreamRenameEntryClient) Recv() (*StreamRenameEntryResponse, error) {
  143. m := new(StreamRenameEntryResponse)
  144. if err := x.ClientStream.RecvMsg(m); err != nil {
  145. return nil, err
  146. }
  147. return m, nil
  148. }
  149. func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  150. out := new(AssignVolumeResponse)
  151. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, opts...)
  152. if err != nil {
  153. return nil, err
  154. }
  155. return out, nil
  156. }
  157. func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  158. out := new(LookupVolumeResponse)
  159. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, opts...)
  160. if err != nil {
  161. return nil, err
  162. }
  163. return out, nil
  164. }
  165. func (c *seaweedFilerClient) CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error) {
  166. out := new(CollectionListResponse)
  167. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CollectionList", in, out, opts...)
  168. if err != nil {
  169. return nil, err
  170. }
  171. return out, nil
  172. }
  173. func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  174. out := new(DeleteCollectionResponse)
  175. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, opts...)
  176. if err != nil {
  177. return nil, err
  178. }
  179. return out, nil
  180. }
  181. func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  182. out := new(StatisticsResponse)
  183. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, opts...)
  184. if err != nil {
  185. return nil, err
  186. }
  187. return out, nil
  188. }
  189. func (c *seaweedFilerClient) GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error) {
  190. out := new(GetFilerConfigurationResponse)
  191. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/GetFilerConfiguration", in, out, opts...)
  192. if err != nil {
  193. return nil, err
  194. }
  195. return out, nil
  196. }
  197. func (c *seaweedFilerClient) SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error) {
  198. stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[2], "/filer_pb.SeaweedFiler/SubscribeMetadata", opts...)
  199. if err != nil {
  200. return nil, err
  201. }
  202. x := &seaweedFilerSubscribeMetadataClient{stream}
  203. if err := x.ClientStream.SendMsg(in); err != nil {
  204. return nil, err
  205. }
  206. if err := x.ClientStream.CloseSend(); err != nil {
  207. return nil, err
  208. }
  209. return x, nil
  210. }
  211. type SeaweedFiler_SubscribeMetadataClient interface {
  212. Recv() (*SubscribeMetadataResponse, error)
  213. grpc.ClientStream
  214. }
  215. type seaweedFilerSubscribeMetadataClient struct {
  216. grpc.ClientStream
  217. }
  218. func (x *seaweedFilerSubscribeMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
  219. m := new(SubscribeMetadataResponse)
  220. if err := x.ClientStream.RecvMsg(m); err != nil {
  221. return nil, err
  222. }
  223. return m, nil
  224. }
  225. func (c *seaweedFilerClient) SubscribeLocalMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeLocalMetadataClient, error) {
  226. stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[3], "/filer_pb.SeaweedFiler/SubscribeLocalMetadata", opts...)
  227. if err != nil {
  228. return nil, err
  229. }
  230. x := &seaweedFilerSubscribeLocalMetadataClient{stream}
  231. if err := x.ClientStream.SendMsg(in); err != nil {
  232. return nil, err
  233. }
  234. if err := x.ClientStream.CloseSend(); err != nil {
  235. return nil, err
  236. }
  237. return x, nil
  238. }
  239. type SeaweedFiler_SubscribeLocalMetadataClient interface {
  240. Recv() (*SubscribeMetadataResponse, error)
  241. grpc.ClientStream
  242. }
  243. type seaweedFilerSubscribeLocalMetadataClient struct {
  244. grpc.ClientStream
  245. }
  246. func (x *seaweedFilerSubscribeLocalMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
  247. m := new(SubscribeMetadataResponse)
  248. if err := x.ClientStream.RecvMsg(m); err != nil {
  249. return nil, err
  250. }
  251. return m, nil
  252. }
  253. func (c *seaweedFilerClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error) {
  254. stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[4], "/filer_pb.SeaweedFiler/KeepConnected", opts...)
  255. if err != nil {
  256. return nil, err
  257. }
  258. x := &seaweedFilerKeepConnectedClient{stream}
  259. return x, nil
  260. }
  261. type SeaweedFiler_KeepConnectedClient interface {
  262. Send(*KeepConnectedRequest) error
  263. Recv() (*KeepConnectedResponse, error)
  264. grpc.ClientStream
  265. }
  266. type seaweedFilerKeepConnectedClient struct {
  267. grpc.ClientStream
  268. }
  269. func (x *seaweedFilerKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  270. return x.ClientStream.SendMsg(m)
  271. }
  272. func (x *seaweedFilerKeepConnectedClient) Recv() (*KeepConnectedResponse, error) {
  273. m := new(KeepConnectedResponse)
  274. if err := x.ClientStream.RecvMsg(m); err != nil {
  275. return nil, err
  276. }
  277. return m, nil
  278. }
  279. func (c *seaweedFilerClient) LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error) {
  280. out := new(LocateBrokerResponse)
  281. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LocateBroker", in, out, opts...)
  282. if err != nil {
  283. return nil, err
  284. }
  285. return out, nil
  286. }
  287. func (c *seaweedFilerClient) KvGet(ctx context.Context, in *KvGetRequest, opts ...grpc.CallOption) (*KvGetResponse, error) {
  288. out := new(KvGetResponse)
  289. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/KvGet", in, out, opts...)
  290. if err != nil {
  291. return nil, err
  292. }
  293. return out, nil
  294. }
  295. func (c *seaweedFilerClient) KvPut(ctx context.Context, in *KvPutRequest, opts ...grpc.CallOption) (*KvPutResponse, error) {
  296. out := new(KvPutResponse)
  297. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/KvPut", in, out, opts...)
  298. if err != nil {
  299. return nil, err
  300. }
  301. return out, nil
  302. }
  303. func (c *seaweedFilerClient) CacheRemoteObjectToLocalCluster(ctx context.Context, in *CacheRemoteObjectToLocalClusterRequest, opts ...grpc.CallOption) (*CacheRemoteObjectToLocalClusterResponse, error) {
  304. out := new(CacheRemoteObjectToLocalClusterResponse)
  305. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CacheRemoteObjectToLocalCluster", in, out, opts...)
  306. if err != nil {
  307. return nil, err
  308. }
  309. return out, nil
  310. }
  311. // SeaweedFilerServer is the server API for SeaweedFiler service.
  312. // All implementations must embed UnimplementedSeaweedFilerServer
  313. // for forward compatibility
  314. type SeaweedFilerServer interface {
  315. LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
  316. ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error
  317. CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error)
  318. UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error)
  319. AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error)
  320. DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
  321. AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error)
  322. StreamRenameEntry(*StreamRenameEntryRequest, SeaweedFiler_StreamRenameEntryServer) error
  323. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  324. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  325. CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)
  326. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  327. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  328. GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error)
  329. SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error
  330. SubscribeLocalMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeLocalMetadataServer) error
  331. KeepConnected(SeaweedFiler_KeepConnectedServer) error
  332. LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error)
  333. KvGet(context.Context, *KvGetRequest) (*KvGetResponse, error)
  334. KvPut(context.Context, *KvPutRequest) (*KvPutResponse, error)
  335. CacheRemoteObjectToLocalCluster(context.Context, *CacheRemoteObjectToLocalClusterRequest) (*CacheRemoteObjectToLocalClusterResponse, error)
  336. mustEmbedUnimplementedSeaweedFilerServer()
  337. }
  338. // UnimplementedSeaweedFilerServer must be embedded to have forward compatible implementations.
  339. type UnimplementedSeaweedFilerServer struct {
  340. }
  341. func (UnimplementedSeaweedFilerServer) LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error) {
  342. return nil, status.Errorf(codes.Unimplemented, "method LookupDirectoryEntry not implemented")
  343. }
  344. func (UnimplementedSeaweedFilerServer) ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error {
  345. return status.Errorf(codes.Unimplemented, "method ListEntries not implemented")
  346. }
  347. func (UnimplementedSeaweedFilerServer) CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error) {
  348. return nil, status.Errorf(codes.Unimplemented, "method CreateEntry not implemented")
  349. }
  350. func (UnimplementedSeaweedFilerServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error) {
  351. return nil, status.Errorf(codes.Unimplemented, "method UpdateEntry not implemented")
  352. }
  353. func (UnimplementedSeaweedFilerServer) AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error) {
  354. return nil, status.Errorf(codes.Unimplemented, "method AppendToEntry not implemented")
  355. }
  356. func (UnimplementedSeaweedFilerServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error) {
  357. return nil, status.Errorf(codes.Unimplemented, "method DeleteEntry not implemented")
  358. }
  359. func (UnimplementedSeaweedFilerServer) AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error) {
  360. return nil, status.Errorf(codes.Unimplemented, "method AtomicRenameEntry not implemented")
  361. }
  362. func (UnimplementedSeaweedFilerServer) StreamRenameEntry(*StreamRenameEntryRequest, SeaweedFiler_StreamRenameEntryServer) error {
  363. return status.Errorf(codes.Unimplemented, "method StreamRenameEntry not implemented")
  364. }
  365. func (UnimplementedSeaweedFilerServer) AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error) {
  366. return nil, status.Errorf(codes.Unimplemented, "method AssignVolume not implemented")
  367. }
  368. func (UnimplementedSeaweedFilerServer) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) {
  369. return nil, status.Errorf(codes.Unimplemented, "method LookupVolume not implemented")
  370. }
  371. func (UnimplementedSeaweedFilerServer) CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error) {
  372. return nil, status.Errorf(codes.Unimplemented, "method CollectionList not implemented")
  373. }
  374. func (UnimplementedSeaweedFilerServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) {
  375. return nil, status.Errorf(codes.Unimplemented, "method DeleteCollection not implemented")
  376. }
  377. func (UnimplementedSeaweedFilerServer) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) {
  378. return nil, status.Errorf(codes.Unimplemented, "method Statistics not implemented")
  379. }
  380. func (UnimplementedSeaweedFilerServer) GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error) {
  381. return nil, status.Errorf(codes.Unimplemented, "method GetFilerConfiguration not implemented")
  382. }
  383. func (UnimplementedSeaweedFilerServer) SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error {
  384. return status.Errorf(codes.Unimplemented, "method SubscribeMetadata not implemented")
  385. }
  386. func (UnimplementedSeaweedFilerServer) SubscribeLocalMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeLocalMetadataServer) error {
  387. return status.Errorf(codes.Unimplemented, "method SubscribeLocalMetadata not implemented")
  388. }
  389. func (UnimplementedSeaweedFilerServer) KeepConnected(SeaweedFiler_KeepConnectedServer) error {
  390. return status.Errorf(codes.Unimplemented, "method KeepConnected not implemented")
  391. }
  392. func (UnimplementedSeaweedFilerServer) LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error) {
  393. return nil, status.Errorf(codes.Unimplemented, "method LocateBroker not implemented")
  394. }
  395. func (UnimplementedSeaweedFilerServer) KvGet(context.Context, *KvGetRequest) (*KvGetResponse, error) {
  396. return nil, status.Errorf(codes.Unimplemented, "method KvGet not implemented")
  397. }
  398. func (UnimplementedSeaweedFilerServer) KvPut(context.Context, *KvPutRequest) (*KvPutResponse, error) {
  399. return nil, status.Errorf(codes.Unimplemented, "method KvPut not implemented")
  400. }
  401. func (UnimplementedSeaweedFilerServer) CacheRemoteObjectToLocalCluster(context.Context, *CacheRemoteObjectToLocalClusterRequest) (*CacheRemoteObjectToLocalClusterResponse, error) {
  402. return nil, status.Errorf(codes.Unimplemented, "method CacheRemoteObjectToLocalCluster not implemented")
  403. }
  404. func (UnimplementedSeaweedFilerServer) mustEmbedUnimplementedSeaweedFilerServer() {}
  405. // UnsafeSeaweedFilerServer may be embedded to opt out of forward compatibility for this service.
  406. // Use of this interface is not recommended, as added methods to SeaweedFilerServer will
  407. // result in compilation errors.
  408. type UnsafeSeaweedFilerServer interface {
  409. mustEmbedUnimplementedSeaweedFilerServer()
  410. }
  411. func RegisterSeaweedFilerServer(s grpc.ServiceRegistrar, srv SeaweedFilerServer) {
  412. s.RegisterService(&SeaweedFiler_ServiceDesc, srv)
  413. }
  414. func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  415. in := new(LookupDirectoryEntryRequest)
  416. if err := dec(in); err != nil {
  417. return nil, err
  418. }
  419. if interceptor == nil {
  420. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
  421. }
  422. info := &grpc.UnaryServerInfo{
  423. Server: srv,
  424. FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
  425. }
  426. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  427. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
  428. }
  429. return interceptor(ctx, in, info, handler)
  430. }
  431. func _SeaweedFiler_ListEntries_Handler(srv interface{}, stream grpc.ServerStream) error {
  432. m := new(ListEntriesRequest)
  433. if err := stream.RecvMsg(m); err != nil {
  434. return err
  435. }
  436. return srv.(SeaweedFilerServer).ListEntries(m, &seaweedFilerListEntriesServer{stream})
  437. }
  438. type SeaweedFiler_ListEntriesServer interface {
  439. Send(*ListEntriesResponse) error
  440. grpc.ServerStream
  441. }
  442. type seaweedFilerListEntriesServer struct {
  443. grpc.ServerStream
  444. }
  445. func (x *seaweedFilerListEntriesServer) Send(m *ListEntriesResponse) error {
  446. return x.ServerStream.SendMsg(m)
  447. }
  448. func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  449. in := new(CreateEntryRequest)
  450. if err := dec(in); err != nil {
  451. return nil, err
  452. }
  453. if interceptor == nil {
  454. return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
  455. }
  456. info := &grpc.UnaryServerInfo{
  457. Server: srv,
  458. FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
  459. }
  460. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  461. return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
  462. }
  463. return interceptor(ctx, in, info, handler)
  464. }
  465. func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  466. in := new(UpdateEntryRequest)
  467. if err := dec(in); err != nil {
  468. return nil, err
  469. }
  470. if interceptor == nil {
  471. return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
  472. }
  473. info := &grpc.UnaryServerInfo{
  474. Server: srv,
  475. FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
  476. }
  477. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  478. return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
  479. }
  480. return interceptor(ctx, in, info, handler)
  481. }
  482. func _SeaweedFiler_AppendToEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  483. in := new(AppendToEntryRequest)
  484. if err := dec(in); err != nil {
  485. return nil, err
  486. }
  487. if interceptor == nil {
  488. return srv.(SeaweedFilerServer).AppendToEntry(ctx, in)
  489. }
  490. info := &grpc.UnaryServerInfo{
  491. Server: srv,
  492. FullMethod: "/filer_pb.SeaweedFiler/AppendToEntry",
  493. }
  494. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  495. return srv.(SeaweedFilerServer).AppendToEntry(ctx, req.(*AppendToEntryRequest))
  496. }
  497. return interceptor(ctx, in, info, handler)
  498. }
  499. func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  500. in := new(DeleteEntryRequest)
  501. if err := dec(in); err != nil {
  502. return nil, err
  503. }
  504. if interceptor == nil {
  505. return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
  506. }
  507. info := &grpc.UnaryServerInfo{
  508. Server: srv,
  509. FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
  510. }
  511. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  512. return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
  513. }
  514. return interceptor(ctx, in, info, handler)
  515. }
  516. func _SeaweedFiler_AtomicRenameEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  517. in := new(AtomicRenameEntryRequest)
  518. if err := dec(in); err != nil {
  519. return nil, err
  520. }
  521. if interceptor == nil {
  522. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, in)
  523. }
  524. info := &grpc.UnaryServerInfo{
  525. Server: srv,
  526. FullMethod: "/filer_pb.SeaweedFiler/AtomicRenameEntry",
  527. }
  528. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  529. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, req.(*AtomicRenameEntryRequest))
  530. }
  531. return interceptor(ctx, in, info, handler)
  532. }
  533. func _SeaweedFiler_StreamRenameEntry_Handler(srv interface{}, stream grpc.ServerStream) error {
  534. m := new(StreamRenameEntryRequest)
  535. if err := stream.RecvMsg(m); err != nil {
  536. return err
  537. }
  538. return srv.(SeaweedFilerServer).StreamRenameEntry(m, &seaweedFilerStreamRenameEntryServer{stream})
  539. }
  540. type SeaweedFiler_StreamRenameEntryServer interface {
  541. Send(*StreamRenameEntryResponse) error
  542. grpc.ServerStream
  543. }
  544. type seaweedFilerStreamRenameEntryServer struct {
  545. grpc.ServerStream
  546. }
  547. func (x *seaweedFilerStreamRenameEntryServer) Send(m *StreamRenameEntryResponse) error {
  548. return x.ServerStream.SendMsg(m)
  549. }
  550. func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  551. in := new(AssignVolumeRequest)
  552. if err := dec(in); err != nil {
  553. return nil, err
  554. }
  555. if interceptor == nil {
  556. return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
  557. }
  558. info := &grpc.UnaryServerInfo{
  559. Server: srv,
  560. FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
  561. }
  562. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  563. return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  564. }
  565. return interceptor(ctx, in, info, handler)
  566. }
  567. func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  568. in := new(LookupVolumeRequest)
  569. if err := dec(in); err != nil {
  570. return nil, err
  571. }
  572. if interceptor == nil {
  573. return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
  574. }
  575. info := &grpc.UnaryServerInfo{
  576. Server: srv,
  577. FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
  578. }
  579. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  580. return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  581. }
  582. return interceptor(ctx, in, info, handler)
  583. }
  584. func _SeaweedFiler_CollectionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  585. in := new(CollectionListRequest)
  586. if err := dec(in); err != nil {
  587. return nil, err
  588. }
  589. if interceptor == nil {
  590. return srv.(SeaweedFilerServer).CollectionList(ctx, in)
  591. }
  592. info := &grpc.UnaryServerInfo{
  593. Server: srv,
  594. FullMethod: "/filer_pb.SeaweedFiler/CollectionList",
  595. }
  596. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  597. return srv.(SeaweedFilerServer).CollectionList(ctx, req.(*CollectionListRequest))
  598. }
  599. return interceptor(ctx, in, info, handler)
  600. }
  601. func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  602. in := new(DeleteCollectionRequest)
  603. if err := dec(in); err != nil {
  604. return nil, err
  605. }
  606. if interceptor == nil {
  607. return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
  608. }
  609. info := &grpc.UnaryServerInfo{
  610. Server: srv,
  611. FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
  612. }
  613. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  614. return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  615. }
  616. return interceptor(ctx, in, info, handler)
  617. }
  618. func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  619. in := new(StatisticsRequest)
  620. if err := dec(in); err != nil {
  621. return nil, err
  622. }
  623. if interceptor == nil {
  624. return srv.(SeaweedFilerServer).Statistics(ctx, in)
  625. }
  626. info := &grpc.UnaryServerInfo{
  627. Server: srv,
  628. FullMethod: "/filer_pb.SeaweedFiler/Statistics",
  629. }
  630. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  631. return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
  632. }
  633. return interceptor(ctx, in, info, handler)
  634. }
  635. func _SeaweedFiler_GetFilerConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  636. in := new(GetFilerConfigurationRequest)
  637. if err := dec(in); err != nil {
  638. return nil, err
  639. }
  640. if interceptor == nil {
  641. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, in)
  642. }
  643. info := &grpc.UnaryServerInfo{
  644. Server: srv,
  645. FullMethod: "/filer_pb.SeaweedFiler/GetFilerConfiguration",
  646. }
  647. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  648. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, req.(*GetFilerConfigurationRequest))
  649. }
  650. return interceptor(ctx, in, info, handler)
  651. }
  652. func _SeaweedFiler_SubscribeMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
  653. m := new(SubscribeMetadataRequest)
  654. if err := stream.RecvMsg(m); err != nil {
  655. return err
  656. }
  657. return srv.(SeaweedFilerServer).SubscribeMetadata(m, &seaweedFilerSubscribeMetadataServer{stream})
  658. }
  659. type SeaweedFiler_SubscribeMetadataServer interface {
  660. Send(*SubscribeMetadataResponse) error
  661. grpc.ServerStream
  662. }
  663. type seaweedFilerSubscribeMetadataServer struct {
  664. grpc.ServerStream
  665. }
  666. func (x *seaweedFilerSubscribeMetadataServer) Send(m *SubscribeMetadataResponse) error {
  667. return x.ServerStream.SendMsg(m)
  668. }
  669. func _SeaweedFiler_SubscribeLocalMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
  670. m := new(SubscribeMetadataRequest)
  671. if err := stream.RecvMsg(m); err != nil {
  672. return err
  673. }
  674. return srv.(SeaweedFilerServer).SubscribeLocalMetadata(m, &seaweedFilerSubscribeLocalMetadataServer{stream})
  675. }
  676. type SeaweedFiler_SubscribeLocalMetadataServer interface {
  677. Send(*SubscribeMetadataResponse) error
  678. grpc.ServerStream
  679. }
  680. type seaweedFilerSubscribeLocalMetadataServer struct {
  681. grpc.ServerStream
  682. }
  683. func (x *seaweedFilerSubscribeLocalMetadataServer) Send(m *SubscribeMetadataResponse) error {
  684. return x.ServerStream.SendMsg(m)
  685. }
  686. func _SeaweedFiler_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  687. return srv.(SeaweedFilerServer).KeepConnected(&seaweedFilerKeepConnectedServer{stream})
  688. }
  689. type SeaweedFiler_KeepConnectedServer interface {
  690. Send(*KeepConnectedResponse) error
  691. Recv() (*KeepConnectedRequest, error)
  692. grpc.ServerStream
  693. }
  694. type seaweedFilerKeepConnectedServer struct {
  695. grpc.ServerStream
  696. }
  697. func (x *seaweedFilerKeepConnectedServer) Send(m *KeepConnectedResponse) error {
  698. return x.ServerStream.SendMsg(m)
  699. }
  700. func (x *seaweedFilerKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  701. m := new(KeepConnectedRequest)
  702. if err := x.ServerStream.RecvMsg(m); err != nil {
  703. return nil, err
  704. }
  705. return m, nil
  706. }
  707. func _SeaweedFiler_LocateBroker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  708. in := new(LocateBrokerRequest)
  709. if err := dec(in); err != nil {
  710. return nil, err
  711. }
  712. if interceptor == nil {
  713. return srv.(SeaweedFilerServer).LocateBroker(ctx, in)
  714. }
  715. info := &grpc.UnaryServerInfo{
  716. Server: srv,
  717. FullMethod: "/filer_pb.SeaweedFiler/LocateBroker",
  718. }
  719. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  720. return srv.(SeaweedFilerServer).LocateBroker(ctx, req.(*LocateBrokerRequest))
  721. }
  722. return interceptor(ctx, in, info, handler)
  723. }
  724. func _SeaweedFiler_KvGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  725. in := new(KvGetRequest)
  726. if err := dec(in); err != nil {
  727. return nil, err
  728. }
  729. if interceptor == nil {
  730. return srv.(SeaweedFilerServer).KvGet(ctx, in)
  731. }
  732. info := &grpc.UnaryServerInfo{
  733. Server: srv,
  734. FullMethod: "/filer_pb.SeaweedFiler/KvGet",
  735. }
  736. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  737. return srv.(SeaweedFilerServer).KvGet(ctx, req.(*KvGetRequest))
  738. }
  739. return interceptor(ctx, in, info, handler)
  740. }
  741. func _SeaweedFiler_KvPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  742. in := new(KvPutRequest)
  743. if err := dec(in); err != nil {
  744. return nil, err
  745. }
  746. if interceptor == nil {
  747. return srv.(SeaweedFilerServer).KvPut(ctx, in)
  748. }
  749. info := &grpc.UnaryServerInfo{
  750. Server: srv,
  751. FullMethod: "/filer_pb.SeaweedFiler/KvPut",
  752. }
  753. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  754. return srv.(SeaweedFilerServer).KvPut(ctx, req.(*KvPutRequest))
  755. }
  756. return interceptor(ctx, in, info, handler)
  757. }
  758. func _SeaweedFiler_CacheRemoteObjectToLocalCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  759. in := new(CacheRemoteObjectToLocalClusterRequest)
  760. if err := dec(in); err != nil {
  761. return nil, err
  762. }
  763. if interceptor == nil {
  764. return srv.(SeaweedFilerServer).CacheRemoteObjectToLocalCluster(ctx, in)
  765. }
  766. info := &grpc.UnaryServerInfo{
  767. Server: srv,
  768. FullMethod: "/filer_pb.SeaweedFiler/CacheRemoteObjectToLocalCluster",
  769. }
  770. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  771. return srv.(SeaweedFilerServer).CacheRemoteObjectToLocalCluster(ctx, req.(*CacheRemoteObjectToLocalClusterRequest))
  772. }
  773. return interceptor(ctx, in, info, handler)
  774. }
  775. // SeaweedFiler_ServiceDesc is the grpc.ServiceDesc for SeaweedFiler service.
  776. // It's only intended for direct use with grpc.RegisterService,
  777. // and not to be introspected or modified (even as a copy)
  778. var SeaweedFiler_ServiceDesc = grpc.ServiceDesc{
  779. ServiceName: "filer_pb.SeaweedFiler",
  780. HandlerType: (*SeaweedFilerServer)(nil),
  781. Methods: []grpc.MethodDesc{
  782. {
  783. MethodName: "LookupDirectoryEntry",
  784. Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
  785. },
  786. {
  787. MethodName: "CreateEntry",
  788. Handler: _SeaweedFiler_CreateEntry_Handler,
  789. },
  790. {
  791. MethodName: "UpdateEntry",
  792. Handler: _SeaweedFiler_UpdateEntry_Handler,
  793. },
  794. {
  795. MethodName: "AppendToEntry",
  796. Handler: _SeaweedFiler_AppendToEntry_Handler,
  797. },
  798. {
  799. MethodName: "DeleteEntry",
  800. Handler: _SeaweedFiler_DeleteEntry_Handler,
  801. },
  802. {
  803. MethodName: "AtomicRenameEntry",
  804. Handler: _SeaweedFiler_AtomicRenameEntry_Handler,
  805. },
  806. {
  807. MethodName: "AssignVolume",
  808. Handler: _SeaweedFiler_AssignVolume_Handler,
  809. },
  810. {
  811. MethodName: "LookupVolume",
  812. Handler: _SeaweedFiler_LookupVolume_Handler,
  813. },
  814. {
  815. MethodName: "CollectionList",
  816. Handler: _SeaweedFiler_CollectionList_Handler,
  817. },
  818. {
  819. MethodName: "DeleteCollection",
  820. Handler: _SeaweedFiler_DeleteCollection_Handler,
  821. },
  822. {
  823. MethodName: "Statistics",
  824. Handler: _SeaweedFiler_Statistics_Handler,
  825. },
  826. {
  827. MethodName: "GetFilerConfiguration",
  828. Handler: _SeaweedFiler_GetFilerConfiguration_Handler,
  829. },
  830. {
  831. MethodName: "LocateBroker",
  832. Handler: _SeaweedFiler_LocateBroker_Handler,
  833. },
  834. {
  835. MethodName: "KvGet",
  836. Handler: _SeaweedFiler_KvGet_Handler,
  837. },
  838. {
  839. MethodName: "KvPut",
  840. Handler: _SeaweedFiler_KvPut_Handler,
  841. },
  842. {
  843. MethodName: "CacheRemoteObjectToLocalCluster",
  844. Handler: _SeaweedFiler_CacheRemoteObjectToLocalCluster_Handler,
  845. },
  846. },
  847. Streams: []grpc.StreamDesc{
  848. {
  849. StreamName: "ListEntries",
  850. Handler: _SeaweedFiler_ListEntries_Handler,
  851. ServerStreams: true,
  852. },
  853. {
  854. StreamName: "StreamRenameEntry",
  855. Handler: _SeaweedFiler_StreamRenameEntry_Handler,
  856. ServerStreams: true,
  857. },
  858. {
  859. StreamName: "SubscribeMetadata",
  860. Handler: _SeaweedFiler_SubscribeMetadata_Handler,
  861. ServerStreams: true,
  862. },
  863. {
  864. StreamName: "SubscribeLocalMetadata",
  865. Handler: _SeaweedFiler_SubscribeLocalMetadata_Handler,
  866. ServerStreams: true,
  867. },
  868. {
  869. StreamName: "KeepConnected",
  870. Handler: _SeaweedFiler_KeepConnected_Handler,
  871. ServerStreams: true,
  872. ClientStreams: true,
  873. },
  874. },
  875. Metadata: "filer.proto",
  876. }