biService_grpc.pb.go 26 KB

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