biService_grpc.pb.go 35 KB

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