biService_grpc.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. // versions:
  3. // - protoc-gen-go-grpc v1.2.0
  4. // - protoc v3.20.0--rc2
  5. // source: biService.proto
  6. package 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. // BiServiceClient is the client API for BiService 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 BiServiceClient interface {
  21. MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error)
  22. AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error)
  23. GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error)
  24. DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error)
  25. Call(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*BiResp, error)
  26. DistributeClue(ctx context.Context, in *DistributeClueReq, opts ...grpc.CallOption) (*AddProjectResp, error)
  27. ClueImport(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error)
  28. ClueAdd(ctx context.Context, in *ClueAddReq, opts ...grpc.CallOption) (*AddProjectResp, error)
  29. ClueImportTt(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error)
  30. AutoFollow(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*ClueImportResp, error)
  31. SqlManage(ctx context.Context, in *SqlManageReq, opts ...grpc.CallOption) (*BiReply, error)
  32. MyInfo(ctx context.Context, in *MyInfoReq, opts ...grpc.CallOption) (*BiReply, error)
  33. AllInfoExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error)
  34. AllProjectExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error)
  35. InfoOperate(ctx context.Context, in *OperateReq, opts ...grpc.CallOption) (*BiReply, error)
  36. }
  37. type biServiceClient struct {
  38. cc grpc.ClientConnInterface
  39. }
  40. func NewBiServiceClient(cc grpc.ClientConnInterface) BiServiceClient {
  41. return &biServiceClient{cc}
  42. }
  43. func (c *biServiceClient) MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) {
  44. out := new(MyDataAssetResp)
  45. err := c.cc.Invoke(ctx, "/BiService/myDataAsset", in, out, opts...)
  46. if err != nil {
  47. return nil, err
  48. }
  49. return out, nil
  50. }
  51. func (c *biServiceClient) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
  52. out := new(AddProjectResp)
  53. err := c.cc.Invoke(ctx, "/BiService/addProject", in, out, opts...)
  54. if err != nil {
  55. return nil, err
  56. }
  57. return out, nil
  58. }
  59. func (c *biServiceClient) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) {
  60. out := new(GetInfoIdResp)
  61. err := c.cc.Invoke(ctx, "/BiService/getInfoId", in, out, opts...)
  62. if err != nil {
  63. return nil, err
  64. }
  65. return out, nil
  66. }
  67. func (c *biServiceClient) DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
  68. out := new(AddProjectResp)
  69. err := c.cc.Invoke(ctx, "/BiService/drawClue", in, out, opts...)
  70. if err != nil {
  71. return nil, err
  72. }
  73. return out, nil
  74. }
  75. func (c *biServiceClient) Call(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*BiResp, error) {
  76. out := new(BiResp)
  77. err := c.cc.Invoke(ctx, "/BiService/Call", in, out, opts...)
  78. if err != nil {
  79. return nil, err
  80. }
  81. return out, nil
  82. }
  83. func (c *biServiceClient) DistributeClue(ctx context.Context, in *DistributeClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
  84. out := new(AddProjectResp)
  85. err := c.cc.Invoke(ctx, "/BiService/distributeClue", in, out, opts...)
  86. if err != nil {
  87. return nil, err
  88. }
  89. return out, nil
  90. }
  91. func (c *biServiceClient) ClueImport(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
  92. out := new(ClueImportResp)
  93. err := c.cc.Invoke(ctx, "/BiService/clueImport", in, out, opts...)
  94. if err != nil {
  95. return nil, err
  96. }
  97. return out, nil
  98. }
  99. func (c *biServiceClient) ClueAdd(ctx context.Context, in *ClueAddReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
  100. out := new(AddProjectResp)
  101. err := c.cc.Invoke(ctx, "/BiService/clueAdd", in, out, opts...)
  102. if err != nil {
  103. return nil, err
  104. }
  105. return out, nil
  106. }
  107. func (c *biServiceClient) ClueImportTt(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
  108. out := new(ClueImportResp)
  109. err := c.cc.Invoke(ctx, "/BiService/clueImportTt", in, out, opts...)
  110. if err != nil {
  111. return nil, err
  112. }
  113. return out, nil
  114. }
  115. func (c *biServiceClient) AutoFollow(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
  116. out := new(ClueImportResp)
  117. err := c.cc.Invoke(ctx, "/BiService/autoFollow", in, out, opts...)
  118. if err != nil {
  119. return nil, err
  120. }
  121. return out, nil
  122. }
  123. func (c *biServiceClient) SqlManage(ctx context.Context, in *SqlManageReq, opts ...grpc.CallOption) (*BiReply, error) {
  124. out := new(BiReply)
  125. err := c.cc.Invoke(ctx, "/BiService/sqlManage", in, out, opts...)
  126. if err != nil {
  127. return nil, err
  128. }
  129. return out, nil
  130. }
  131. func (c *biServiceClient) MyInfo(ctx context.Context, in *MyInfoReq, opts ...grpc.CallOption) (*BiReply, error) {
  132. out := new(BiReply)
  133. err := c.cc.Invoke(ctx, "/BiService/myInfo", in, out, opts...)
  134. if err != nil {
  135. return nil, err
  136. }
  137. return out, nil
  138. }
  139. func (c *biServiceClient) AllInfoExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error) {
  140. out := new(BiReply)
  141. err := c.cc.Invoke(ctx, "/BiService/allInfoExport", in, out, opts...)
  142. if err != nil {
  143. return nil, err
  144. }
  145. return out, nil
  146. }
  147. func (c *biServiceClient) AllProjectExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error) {
  148. out := new(BiReply)
  149. err := c.cc.Invoke(ctx, "/BiService/allProjectExport", in, out, opts...)
  150. if err != nil {
  151. return nil, err
  152. }
  153. return out, nil
  154. }
  155. func (c *biServiceClient) InfoOperate(ctx context.Context, in *OperateReq, opts ...grpc.CallOption) (*BiReply, error) {
  156. out := new(BiReply)
  157. err := c.cc.Invoke(ctx, "/BiService/infoOperate", in, out, opts...)
  158. if err != nil {
  159. return nil, err
  160. }
  161. return out, nil
  162. }
  163. // BiServiceServer is the server API for BiService service.
  164. // All implementations must embed UnimplementedBiServiceServer
  165. // for forward compatibility
  166. type BiServiceServer interface {
  167. MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error)
  168. AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error)
  169. GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error)
  170. DrawClue(context.Context, *DrawClueReq) (*AddProjectResp, error)
  171. Call(context.Context, *CallReq) (*BiResp, error)
  172. DistributeClue(context.Context, *DistributeClueReq) (*AddProjectResp, error)
  173. ClueImport(context.Context, *ClueImportReq) (*ClueImportResp, error)
  174. ClueAdd(context.Context, *ClueAddReq) (*AddProjectResp, error)
  175. ClueImportTt(context.Context, *ClueImportReq) (*ClueImportResp, error)
  176. AutoFollow(context.Context, *CallReq) (*ClueImportResp, error)
  177. SqlManage(context.Context, *SqlManageReq) (*BiReply, error)
  178. MyInfo(context.Context, *MyInfoReq) (*BiReply, error)
  179. AllInfoExport(context.Context, *ExportReq) (*BiReply, error)
  180. AllProjectExport(context.Context, *ExportReq) (*BiReply, error)
  181. InfoOperate(context.Context, *OperateReq) (*BiReply, error)
  182. mustEmbedUnimplementedBiServiceServer()
  183. }
  184. // UnimplementedBiServiceServer must be embedded to have forward compatible implementations.
  185. type UnimplementedBiServiceServer struct {
  186. }
  187. func (UnimplementedBiServiceServer) MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error) {
  188. return nil, status.Errorf(codes.Unimplemented, "method MyDataAsset not implemented")
  189. }
  190. func (UnimplementedBiServiceServer) AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error) {
  191. return nil, status.Errorf(codes.Unimplemented, "method AddProject not implemented")
  192. }
  193. func (UnimplementedBiServiceServer) GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error) {
  194. return nil, status.Errorf(codes.Unimplemented, "method GetInfoId not implemented")
  195. }
  196. func (UnimplementedBiServiceServer) DrawClue(context.Context, *DrawClueReq) (*AddProjectResp, error) {
  197. return nil, status.Errorf(codes.Unimplemented, "method DrawClue not implemented")
  198. }
  199. func (UnimplementedBiServiceServer) Call(context.Context, *CallReq) (*BiResp, error) {
  200. return nil, status.Errorf(codes.Unimplemented, "method Call not implemented")
  201. }
  202. func (UnimplementedBiServiceServer) DistributeClue(context.Context, *DistributeClueReq) (*AddProjectResp, error) {
  203. return nil, status.Errorf(codes.Unimplemented, "method DistributeClue not implemented")
  204. }
  205. func (UnimplementedBiServiceServer) ClueImport(context.Context, *ClueImportReq) (*ClueImportResp, error) {
  206. return nil, status.Errorf(codes.Unimplemented, "method ClueImport not implemented")
  207. }
  208. func (UnimplementedBiServiceServer) ClueAdd(context.Context, *ClueAddReq) (*AddProjectResp, error) {
  209. return nil, status.Errorf(codes.Unimplemented, "method ClueAdd not implemented")
  210. }
  211. func (UnimplementedBiServiceServer) ClueImportTt(context.Context, *ClueImportReq) (*ClueImportResp, error) {
  212. return nil, status.Errorf(codes.Unimplemented, "method ClueImportTt not implemented")
  213. }
  214. func (UnimplementedBiServiceServer) AutoFollow(context.Context, *CallReq) (*ClueImportResp, error) {
  215. return nil, status.Errorf(codes.Unimplemented, "method AutoFollow not implemented")
  216. }
  217. func (UnimplementedBiServiceServer) SqlManage(context.Context, *SqlManageReq) (*BiReply, error) {
  218. return nil, status.Errorf(codes.Unimplemented, "method SqlManage not implemented")
  219. }
  220. func (UnimplementedBiServiceServer) MyInfo(context.Context, *MyInfoReq) (*BiReply, error) {
  221. return nil, status.Errorf(codes.Unimplemented, "method MyInfo not implemented")
  222. }
  223. func (UnimplementedBiServiceServer) AllInfoExport(context.Context, *ExportReq) (*BiReply, error) {
  224. return nil, status.Errorf(codes.Unimplemented, "method AllInfoExport not implemented")
  225. }
  226. func (UnimplementedBiServiceServer) AllProjectExport(context.Context, *ExportReq) (*BiReply, error) {
  227. return nil, status.Errorf(codes.Unimplemented, "method AllProjectExport not implemented")
  228. }
  229. func (UnimplementedBiServiceServer) InfoOperate(context.Context, *OperateReq) (*BiReply, error) {
  230. return nil, status.Errorf(codes.Unimplemented, "method InfoOperate not implemented")
  231. }
  232. func (UnimplementedBiServiceServer) mustEmbedUnimplementedBiServiceServer() {}
  233. // UnsafeBiServiceServer may be embedded to opt out of forward compatibility for this service.
  234. // Use of this interface is not recommended, as added methods to BiServiceServer will
  235. // result in compilation errors.
  236. type UnsafeBiServiceServer interface {
  237. mustEmbedUnimplementedBiServiceServer()
  238. }
  239. func RegisterBiServiceServer(s grpc.ServiceRegistrar, srv BiServiceServer) {
  240. s.RegisterService(&BiService_ServiceDesc, srv)
  241. }
  242. func _BiService_MyDataAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  243. in := new(MyDataAssetReq)
  244. if err := dec(in); err != nil {
  245. return nil, err
  246. }
  247. if interceptor == nil {
  248. return srv.(BiServiceServer).MyDataAsset(ctx, in)
  249. }
  250. info := &grpc.UnaryServerInfo{
  251. Server: srv,
  252. FullMethod: "/BiService/myDataAsset",
  253. }
  254. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  255. return srv.(BiServiceServer).MyDataAsset(ctx, req.(*MyDataAssetReq))
  256. }
  257. return interceptor(ctx, in, info, handler)
  258. }
  259. func _BiService_AddProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  260. in := new(AddProjectReq)
  261. if err := dec(in); err != nil {
  262. return nil, err
  263. }
  264. if interceptor == nil {
  265. return srv.(BiServiceServer).AddProject(ctx, in)
  266. }
  267. info := &grpc.UnaryServerInfo{
  268. Server: srv,
  269. FullMethod: "/BiService/addProject",
  270. }
  271. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  272. return srv.(BiServiceServer).AddProject(ctx, req.(*AddProjectReq))
  273. }
  274. return interceptor(ctx, in, info, handler)
  275. }
  276. func _BiService_GetInfoId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  277. in := new(AddProjectReq)
  278. if err := dec(in); err != nil {
  279. return nil, err
  280. }
  281. if interceptor == nil {
  282. return srv.(BiServiceServer).GetInfoId(ctx, in)
  283. }
  284. info := &grpc.UnaryServerInfo{
  285. Server: srv,
  286. FullMethod: "/BiService/getInfoId",
  287. }
  288. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  289. return srv.(BiServiceServer).GetInfoId(ctx, req.(*AddProjectReq))
  290. }
  291. return interceptor(ctx, in, info, handler)
  292. }
  293. func _BiService_DrawClue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  294. in := new(DrawClueReq)
  295. if err := dec(in); err != nil {
  296. return nil, err
  297. }
  298. if interceptor == nil {
  299. return srv.(BiServiceServer).DrawClue(ctx, in)
  300. }
  301. info := &grpc.UnaryServerInfo{
  302. Server: srv,
  303. FullMethod: "/BiService/drawClue",
  304. }
  305. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  306. return srv.(BiServiceServer).DrawClue(ctx, req.(*DrawClueReq))
  307. }
  308. return interceptor(ctx, in, info, handler)
  309. }
  310. func _BiService_Call_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  311. in := new(CallReq)
  312. if err := dec(in); err != nil {
  313. return nil, err
  314. }
  315. if interceptor == nil {
  316. return srv.(BiServiceServer).Call(ctx, in)
  317. }
  318. info := &grpc.UnaryServerInfo{
  319. Server: srv,
  320. FullMethod: "/BiService/Call",
  321. }
  322. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  323. return srv.(BiServiceServer).Call(ctx, req.(*CallReq))
  324. }
  325. return interceptor(ctx, in, info, handler)
  326. }
  327. func _BiService_DistributeClue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  328. in := new(DistributeClueReq)
  329. if err := dec(in); err != nil {
  330. return nil, err
  331. }
  332. if interceptor == nil {
  333. return srv.(BiServiceServer).DistributeClue(ctx, in)
  334. }
  335. info := &grpc.UnaryServerInfo{
  336. Server: srv,
  337. FullMethod: "/BiService/distributeClue",
  338. }
  339. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  340. return srv.(BiServiceServer).DistributeClue(ctx, req.(*DistributeClueReq))
  341. }
  342. return interceptor(ctx, in, info, handler)
  343. }
  344. func _BiService_ClueImport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  345. in := new(ClueImportReq)
  346. if err := dec(in); err != nil {
  347. return nil, err
  348. }
  349. if interceptor == nil {
  350. return srv.(BiServiceServer).ClueImport(ctx, in)
  351. }
  352. info := &grpc.UnaryServerInfo{
  353. Server: srv,
  354. FullMethod: "/BiService/clueImport",
  355. }
  356. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  357. return srv.(BiServiceServer).ClueImport(ctx, req.(*ClueImportReq))
  358. }
  359. return interceptor(ctx, in, info, handler)
  360. }
  361. func _BiService_ClueAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  362. in := new(ClueAddReq)
  363. if err := dec(in); err != nil {
  364. return nil, err
  365. }
  366. if interceptor == nil {
  367. return srv.(BiServiceServer).ClueAdd(ctx, in)
  368. }
  369. info := &grpc.UnaryServerInfo{
  370. Server: srv,
  371. FullMethod: "/BiService/clueAdd",
  372. }
  373. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  374. return srv.(BiServiceServer).ClueAdd(ctx, req.(*ClueAddReq))
  375. }
  376. return interceptor(ctx, in, info, handler)
  377. }
  378. func _BiService_ClueImportTt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  379. in := new(ClueImportReq)
  380. if err := dec(in); err != nil {
  381. return nil, err
  382. }
  383. if interceptor == nil {
  384. return srv.(BiServiceServer).ClueImportTt(ctx, in)
  385. }
  386. info := &grpc.UnaryServerInfo{
  387. Server: srv,
  388. FullMethod: "/BiService/clueImportTt",
  389. }
  390. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  391. return srv.(BiServiceServer).ClueImportTt(ctx, req.(*ClueImportReq))
  392. }
  393. return interceptor(ctx, in, info, handler)
  394. }
  395. func _BiService_AutoFollow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  396. in := new(CallReq)
  397. if err := dec(in); err != nil {
  398. return nil, err
  399. }
  400. if interceptor == nil {
  401. return srv.(BiServiceServer).AutoFollow(ctx, in)
  402. }
  403. info := &grpc.UnaryServerInfo{
  404. Server: srv,
  405. FullMethod: "/BiService/autoFollow",
  406. }
  407. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  408. return srv.(BiServiceServer).AutoFollow(ctx, req.(*CallReq))
  409. }
  410. return interceptor(ctx, in, info, handler)
  411. }
  412. func _BiService_SqlManage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  413. in := new(SqlManageReq)
  414. if err := dec(in); err != nil {
  415. return nil, err
  416. }
  417. if interceptor == nil {
  418. return srv.(BiServiceServer).SqlManage(ctx, in)
  419. }
  420. info := &grpc.UnaryServerInfo{
  421. Server: srv,
  422. FullMethod: "/BiService/sqlManage",
  423. }
  424. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  425. return srv.(BiServiceServer).SqlManage(ctx, req.(*SqlManageReq))
  426. }
  427. return interceptor(ctx, in, info, handler)
  428. }
  429. func _BiService_MyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  430. in := new(MyInfoReq)
  431. if err := dec(in); err != nil {
  432. return nil, err
  433. }
  434. if interceptor == nil {
  435. return srv.(BiServiceServer).MyInfo(ctx, in)
  436. }
  437. info := &grpc.UnaryServerInfo{
  438. Server: srv,
  439. FullMethod: "/BiService/myInfo",
  440. }
  441. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  442. return srv.(BiServiceServer).MyInfo(ctx, req.(*MyInfoReq))
  443. }
  444. return interceptor(ctx, in, info, handler)
  445. }
  446. func _BiService_AllInfoExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  447. in := new(ExportReq)
  448. if err := dec(in); err != nil {
  449. return nil, err
  450. }
  451. if interceptor == nil {
  452. return srv.(BiServiceServer).AllInfoExport(ctx, in)
  453. }
  454. info := &grpc.UnaryServerInfo{
  455. Server: srv,
  456. FullMethod: "/BiService/allInfoExport",
  457. }
  458. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  459. return srv.(BiServiceServer).AllInfoExport(ctx, req.(*ExportReq))
  460. }
  461. return interceptor(ctx, in, info, handler)
  462. }
  463. func _BiService_AllProjectExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  464. in := new(ExportReq)
  465. if err := dec(in); err != nil {
  466. return nil, err
  467. }
  468. if interceptor == nil {
  469. return srv.(BiServiceServer).AllProjectExport(ctx, in)
  470. }
  471. info := &grpc.UnaryServerInfo{
  472. Server: srv,
  473. FullMethod: "/BiService/allProjectExport",
  474. }
  475. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  476. return srv.(BiServiceServer).AllProjectExport(ctx, req.(*ExportReq))
  477. }
  478. return interceptor(ctx, in, info, handler)
  479. }
  480. func _BiService_InfoOperate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  481. in := new(OperateReq)
  482. if err := dec(in); err != nil {
  483. return nil, err
  484. }
  485. if interceptor == nil {
  486. return srv.(BiServiceServer).InfoOperate(ctx, in)
  487. }
  488. info := &grpc.UnaryServerInfo{
  489. Server: srv,
  490. FullMethod: "/BiService/infoOperate",
  491. }
  492. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  493. return srv.(BiServiceServer).InfoOperate(ctx, req.(*OperateReq))
  494. }
  495. return interceptor(ctx, in, info, handler)
  496. }
  497. // BiService_ServiceDesc is the grpc.ServiceDesc for BiService service.
  498. // It's only intended for direct use with grpc.RegisterService,
  499. // and not to be introspected or modified (even as a copy)
  500. var BiService_ServiceDesc = grpc.ServiceDesc{
  501. ServiceName: "BiService",
  502. HandlerType: (*BiServiceServer)(nil),
  503. Methods: []grpc.MethodDesc{
  504. {
  505. MethodName: "myDataAsset",
  506. Handler: _BiService_MyDataAsset_Handler,
  507. },
  508. {
  509. MethodName: "addProject",
  510. Handler: _BiService_AddProject_Handler,
  511. },
  512. {
  513. MethodName: "getInfoId",
  514. Handler: _BiService_GetInfoId_Handler,
  515. },
  516. {
  517. MethodName: "drawClue",
  518. Handler: _BiService_DrawClue_Handler,
  519. },
  520. {
  521. MethodName: "Call",
  522. Handler: _BiService_Call_Handler,
  523. },
  524. {
  525. MethodName: "distributeClue",
  526. Handler: _BiService_DistributeClue_Handler,
  527. },
  528. {
  529. MethodName: "clueImport",
  530. Handler: _BiService_ClueImport_Handler,
  531. },
  532. {
  533. MethodName: "clueAdd",
  534. Handler: _BiService_ClueAdd_Handler,
  535. },
  536. {
  537. MethodName: "clueImportTt",
  538. Handler: _BiService_ClueImportTt_Handler,
  539. },
  540. {
  541. MethodName: "autoFollow",
  542. Handler: _BiService_AutoFollow_Handler,
  543. },
  544. {
  545. MethodName: "sqlManage",
  546. Handler: _BiService_SqlManage_Handler,
  547. },
  548. {
  549. MethodName: "myInfo",
  550. Handler: _BiService_MyInfo_Handler,
  551. },
  552. {
  553. MethodName: "allInfoExport",
  554. Handler: _BiService_AllInfoExport_Handler,
  555. },
  556. {
  557. MethodName: "allProjectExport",
  558. Handler: _BiService_AllProjectExport_Handler,
  559. },
  560. {
  561. MethodName: "infoOperate",
  562. Handler: _BiService_InfoOperate_Handler,
  563. },
  564. },
  565. Streams: []grpc.StreamDesc{},
  566. Metadata: "biService.proto",
  567. }