biService_grpc.pb.go 30 KB

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