biService.pb.go 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.23.0
  4. // protoc v3.11.4
  5. // source: biService.proto
  6. package pb
  7. import (
  8. context "context"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  14. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  15. reflect "reflect"
  16. sync "sync"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. // This is a compile-time assertion that a sufficiently up-to-date version
  25. // of the legacy proto package is being used.
  26. const _ = proto.ProtoPackageIsVersion4
  27. type MyDataAssetReq struct {
  28. state protoimpl.MessageState
  29. sizeCache protoimpl.SizeCache
  30. unknownFields protoimpl.UnknownFields
  31. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  32. NewUserId int64 `protobuf:"varint,2,opt,name=newUserId,proto3" json:"newUserId,omitempty"`
  33. EntUserId int64 `protobuf:"varint,3,opt,name=entUserId,proto3" json:"entUserId,omitempty"`
  34. }
  35. func (x *MyDataAssetReq) Reset() {
  36. *x = MyDataAssetReq{}
  37. if protoimpl.UnsafeEnabled {
  38. mi := &file_biService_proto_msgTypes[0]
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. ms.StoreMessageInfo(mi)
  41. }
  42. }
  43. func (x *MyDataAssetReq) String() string {
  44. return protoimpl.X.MessageStringOf(x)
  45. }
  46. func (*MyDataAssetReq) ProtoMessage() {}
  47. func (x *MyDataAssetReq) ProtoReflect() protoreflect.Message {
  48. mi := &file_biService_proto_msgTypes[0]
  49. if protoimpl.UnsafeEnabled && x != nil {
  50. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  51. if ms.LoadMessageInfo() == nil {
  52. ms.StoreMessageInfo(mi)
  53. }
  54. return ms
  55. }
  56. return mi.MessageOf(x)
  57. }
  58. // Deprecated: Use MyDataAssetReq.ProtoReflect.Descriptor instead.
  59. func (*MyDataAssetReq) Descriptor() ([]byte, []int) {
  60. return file_biService_proto_rawDescGZIP(), []int{0}
  61. }
  62. func (x *MyDataAssetReq) GetUserId() string {
  63. if x != nil {
  64. return x.UserId
  65. }
  66. return ""
  67. }
  68. func (x *MyDataAssetReq) GetNewUserId() int64 {
  69. if x != nil {
  70. return x.NewUserId
  71. }
  72. return 0
  73. }
  74. func (x *MyDataAssetReq) GetEntUserId() int64 {
  75. if x != nil {
  76. return x.EntUserId
  77. }
  78. return 0
  79. }
  80. type MyDataAssetResp struct {
  81. state protoimpl.MessageState
  82. sizeCache protoimpl.SizeCache
  83. unknownFields protoimpl.UnknownFields
  84. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  85. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  86. Data *MyDataAsset `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  87. }
  88. func (x *MyDataAssetResp) Reset() {
  89. *x = MyDataAssetResp{}
  90. if protoimpl.UnsafeEnabled {
  91. mi := &file_biService_proto_msgTypes[1]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. }
  96. func (x *MyDataAssetResp) String() string {
  97. return protoimpl.X.MessageStringOf(x)
  98. }
  99. func (*MyDataAssetResp) ProtoMessage() {}
  100. func (x *MyDataAssetResp) ProtoReflect() protoreflect.Message {
  101. mi := &file_biService_proto_msgTypes[1]
  102. if protoimpl.UnsafeEnabled && x != nil {
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. if ms.LoadMessageInfo() == nil {
  105. ms.StoreMessageInfo(mi)
  106. }
  107. return ms
  108. }
  109. return mi.MessageOf(x)
  110. }
  111. // Deprecated: Use MyDataAssetResp.ProtoReflect.Descriptor instead.
  112. func (*MyDataAssetResp) Descriptor() ([]byte, []int) {
  113. return file_biService_proto_rawDescGZIP(), []int{1}
  114. }
  115. func (x *MyDataAssetResp) GetErrorCode() int64 {
  116. if x != nil {
  117. return x.ErrorCode
  118. }
  119. return 0
  120. }
  121. func (x *MyDataAssetResp) GetErrorMsg() string {
  122. if x != nil {
  123. return x.ErrorMsg
  124. }
  125. return ""
  126. }
  127. func (x *MyDataAssetResp) GetData() *MyDataAsset {
  128. if x != nil {
  129. return x.Data
  130. }
  131. return nil
  132. }
  133. type MyDataAsset struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. CollectInfoCount int64 `protobuf:"varint,1,opt,name=collect_info_count,json=collectInfoCount,proto3" json:"collect_info_count,omitempty"`
  138. FollowProjectCount int64 `protobuf:"varint,2,opt,name=follow_project_count,json=followProjectCount,proto3" json:"follow_project_count,omitempty"`
  139. CollectDocCount int64 `protobuf:"varint,3,opt,name=collect_doc_count,json=collectDocCount,proto3" json:"collect_doc_count,omitempty"`
  140. ClaimCustomerCount int64 `protobuf:"varint,4,opt,name=claim_customer_count,json=claimCustomerCount,proto3" json:"claim_customer_count,omitempty"`
  141. ClaimNzjCount int64 `protobuf:"varint,5,opt,name=claim_nzj_count,json=claimNzjCount,proto3" json:"claim_nzj_count,omitempty"`
  142. }
  143. func (x *MyDataAsset) Reset() {
  144. *x = MyDataAsset{}
  145. if protoimpl.UnsafeEnabled {
  146. mi := &file_biService_proto_msgTypes[2]
  147. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  148. ms.StoreMessageInfo(mi)
  149. }
  150. }
  151. func (x *MyDataAsset) String() string {
  152. return protoimpl.X.MessageStringOf(x)
  153. }
  154. func (*MyDataAsset) ProtoMessage() {}
  155. func (x *MyDataAsset) ProtoReflect() protoreflect.Message {
  156. mi := &file_biService_proto_msgTypes[2]
  157. if protoimpl.UnsafeEnabled && x != nil {
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. if ms.LoadMessageInfo() == nil {
  160. ms.StoreMessageInfo(mi)
  161. }
  162. return ms
  163. }
  164. return mi.MessageOf(x)
  165. }
  166. // Deprecated: Use MyDataAsset.ProtoReflect.Descriptor instead.
  167. func (*MyDataAsset) Descriptor() ([]byte, []int) {
  168. return file_biService_proto_rawDescGZIP(), []int{2}
  169. }
  170. func (x *MyDataAsset) GetCollectInfoCount() int64 {
  171. if x != nil {
  172. return x.CollectInfoCount
  173. }
  174. return 0
  175. }
  176. func (x *MyDataAsset) GetFollowProjectCount() int64 {
  177. if x != nil {
  178. return x.FollowProjectCount
  179. }
  180. return 0
  181. }
  182. func (x *MyDataAsset) GetCollectDocCount() int64 {
  183. if x != nil {
  184. return x.CollectDocCount
  185. }
  186. return 0
  187. }
  188. func (x *MyDataAsset) GetClaimCustomerCount() int64 {
  189. if x != nil {
  190. return x.ClaimCustomerCount
  191. }
  192. return 0
  193. }
  194. func (x *MyDataAsset) GetClaimNzjCount() int64 {
  195. if x != nil {
  196. return x.ClaimNzjCount
  197. }
  198. return 0
  199. }
  200. type AddProjectReq struct {
  201. state protoimpl.MessageState
  202. sizeCache protoimpl.SizeCache
  203. unknownFields protoimpl.UnknownFields
  204. InfoId string `protobuf:"bytes,1,opt,name=info_id,json=infoId,proto3" json:"info_id,omitempty"` //信息id
  205. Source int64 `protobuf:"varint,2,opt,name=source,proto3" json:"source,omitempty"` //1-收藏,2-招标搜索,3-关注
  206. PositionId int64 `protobuf:"varint,3,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` //职位id
  207. PositionType int64 `protobuf:"varint,4,opt,name=position_type,json=positionType,proto3" json:"position_type,omitempty"` //职位类型
  208. AccountId int64 `protobuf:"varint,5,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
  209. CompanyName string `protobuf:"bytes,6,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
  210. UserName string `protobuf:"bytes,7,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
  211. UserId int64 `protobuf:"varint,8,opt,name=userId,proto3" json:"userId,omitempty"`
  212. EntId int64 `protobuf:"varint,9,opt,name=entId,proto3" json:"entId,omitempty"`
  213. EntUserName string `protobuf:"bytes,10,opt,name=entUserName,proto3" json:"entUserName,omitempty"`
  214. }
  215. func (x *AddProjectReq) Reset() {
  216. *x = AddProjectReq{}
  217. if protoimpl.UnsafeEnabled {
  218. mi := &file_biService_proto_msgTypes[3]
  219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  220. ms.StoreMessageInfo(mi)
  221. }
  222. }
  223. func (x *AddProjectReq) String() string {
  224. return protoimpl.X.MessageStringOf(x)
  225. }
  226. func (*AddProjectReq) ProtoMessage() {}
  227. func (x *AddProjectReq) ProtoReflect() protoreflect.Message {
  228. mi := &file_biService_proto_msgTypes[3]
  229. if protoimpl.UnsafeEnabled && x != nil {
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. if ms.LoadMessageInfo() == nil {
  232. ms.StoreMessageInfo(mi)
  233. }
  234. return ms
  235. }
  236. return mi.MessageOf(x)
  237. }
  238. // Deprecated: Use AddProjectReq.ProtoReflect.Descriptor instead.
  239. func (*AddProjectReq) Descriptor() ([]byte, []int) {
  240. return file_biService_proto_rawDescGZIP(), []int{3}
  241. }
  242. func (x *AddProjectReq) GetInfoId() string {
  243. if x != nil {
  244. return x.InfoId
  245. }
  246. return ""
  247. }
  248. func (x *AddProjectReq) GetSource() int64 {
  249. if x != nil {
  250. return x.Source
  251. }
  252. return 0
  253. }
  254. func (x *AddProjectReq) GetPositionId() int64 {
  255. if x != nil {
  256. return x.PositionId
  257. }
  258. return 0
  259. }
  260. func (x *AddProjectReq) GetPositionType() int64 {
  261. if x != nil {
  262. return x.PositionType
  263. }
  264. return 0
  265. }
  266. func (x *AddProjectReq) GetAccountId() int64 {
  267. if x != nil {
  268. return x.AccountId
  269. }
  270. return 0
  271. }
  272. func (x *AddProjectReq) GetCompanyName() string {
  273. if x != nil {
  274. return x.CompanyName
  275. }
  276. return ""
  277. }
  278. func (x *AddProjectReq) GetUserName() string {
  279. if x != nil {
  280. return x.UserName
  281. }
  282. return ""
  283. }
  284. func (x *AddProjectReq) GetUserId() int64 {
  285. if x != nil {
  286. return x.UserId
  287. }
  288. return 0
  289. }
  290. func (x *AddProjectReq) GetEntId() int64 {
  291. if x != nil {
  292. return x.EntId
  293. }
  294. return 0
  295. }
  296. func (x *AddProjectReq) GetEntUserName() string {
  297. if x != nil {
  298. return x.EntUserName
  299. }
  300. return ""
  301. }
  302. type AddProjectResp struct {
  303. state protoimpl.MessageState
  304. sizeCache protoimpl.SizeCache
  305. unknownFields protoimpl.UnknownFields
  306. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  307. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  308. Data *AddProject `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  309. }
  310. func (x *AddProjectResp) Reset() {
  311. *x = AddProjectResp{}
  312. if protoimpl.UnsafeEnabled {
  313. mi := &file_biService_proto_msgTypes[4]
  314. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  315. ms.StoreMessageInfo(mi)
  316. }
  317. }
  318. func (x *AddProjectResp) String() string {
  319. return protoimpl.X.MessageStringOf(x)
  320. }
  321. func (*AddProjectResp) ProtoMessage() {}
  322. func (x *AddProjectResp) ProtoReflect() protoreflect.Message {
  323. mi := &file_biService_proto_msgTypes[4]
  324. if protoimpl.UnsafeEnabled && x != nil {
  325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  326. if ms.LoadMessageInfo() == nil {
  327. ms.StoreMessageInfo(mi)
  328. }
  329. return ms
  330. }
  331. return mi.MessageOf(x)
  332. }
  333. // Deprecated: Use AddProjectResp.ProtoReflect.Descriptor instead.
  334. func (*AddProjectResp) Descriptor() ([]byte, []int) {
  335. return file_biService_proto_rawDescGZIP(), []int{4}
  336. }
  337. func (x *AddProjectResp) GetErrorCode() int64 {
  338. if x != nil {
  339. return x.ErrorCode
  340. }
  341. return 0
  342. }
  343. func (x *AddProjectResp) GetErrorMsg() string {
  344. if x != nil {
  345. return x.ErrorMsg
  346. }
  347. return ""
  348. }
  349. func (x *AddProjectResp) GetData() *AddProject {
  350. if x != nil {
  351. return x.Data
  352. }
  353. return nil
  354. }
  355. type AddProject struct {
  356. state protoimpl.MessageState
  357. sizeCache protoimpl.SizeCache
  358. unknownFields protoimpl.UnknownFields
  359. Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
  360. }
  361. func (x *AddProject) Reset() {
  362. *x = AddProject{}
  363. if protoimpl.UnsafeEnabled {
  364. mi := &file_biService_proto_msgTypes[5]
  365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  366. ms.StoreMessageInfo(mi)
  367. }
  368. }
  369. func (x *AddProject) String() string {
  370. return protoimpl.X.MessageStringOf(x)
  371. }
  372. func (*AddProject) ProtoMessage() {}
  373. func (x *AddProject) ProtoReflect() protoreflect.Message {
  374. mi := &file_biService_proto_msgTypes[5]
  375. if protoimpl.UnsafeEnabled && x != nil {
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. if ms.LoadMessageInfo() == nil {
  378. ms.StoreMessageInfo(mi)
  379. }
  380. return ms
  381. }
  382. return mi.MessageOf(x)
  383. }
  384. // Deprecated: Use AddProject.ProtoReflect.Descriptor instead.
  385. func (*AddProject) Descriptor() ([]byte, []int) {
  386. return file_biService_proto_rawDescGZIP(), []int{5}
  387. }
  388. func (x *AddProject) GetStatus() int64 {
  389. if x != nil {
  390. return x.Status
  391. }
  392. return 0
  393. }
  394. type GetInfoIdResp struct {
  395. state protoimpl.MessageState
  396. sizeCache protoimpl.SizeCache
  397. unknownFields protoimpl.UnknownFields
  398. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  399. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  400. Data []string `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
  401. }
  402. func (x *GetInfoIdResp) Reset() {
  403. *x = GetInfoIdResp{}
  404. if protoimpl.UnsafeEnabled {
  405. mi := &file_biService_proto_msgTypes[6]
  406. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  407. ms.StoreMessageInfo(mi)
  408. }
  409. }
  410. func (x *GetInfoIdResp) String() string {
  411. return protoimpl.X.MessageStringOf(x)
  412. }
  413. func (*GetInfoIdResp) ProtoMessage() {}
  414. func (x *GetInfoIdResp) ProtoReflect() protoreflect.Message {
  415. mi := &file_biService_proto_msgTypes[6]
  416. if protoimpl.UnsafeEnabled && x != nil {
  417. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  418. if ms.LoadMessageInfo() == nil {
  419. ms.StoreMessageInfo(mi)
  420. }
  421. return ms
  422. }
  423. return mi.MessageOf(x)
  424. }
  425. // Deprecated: Use GetInfoIdResp.ProtoReflect.Descriptor instead.
  426. func (*GetInfoIdResp) Descriptor() ([]byte, []int) {
  427. return file_biService_proto_rawDescGZIP(), []int{6}
  428. }
  429. func (x *GetInfoIdResp) GetErrorCode() int64 {
  430. if x != nil {
  431. return x.ErrorCode
  432. }
  433. return 0
  434. }
  435. func (x *GetInfoIdResp) GetErrorMsg() string {
  436. if x != nil {
  437. return x.ErrorMsg
  438. }
  439. return ""
  440. }
  441. func (x *GetInfoIdResp) GetData() []string {
  442. if x != nil {
  443. return x.Data
  444. }
  445. return nil
  446. }
  447. var File_biService_proto protoreflect.FileDescriptor
  448. var file_biService_proto_rawDesc = []byte{
  449. 0x0a, 0x0f, 0x62, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  450. 0x6f, 0x22, 0x64, 0x0a, 0x0e, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74,
  451. 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
  452. 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e,
  453. 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  454. 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x74,
  455. 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e,
  456. 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x0f, 0x4d, 0x79, 0x44, 0x61, 0x74,
  457. 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72,
  458. 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  459. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72,
  460. 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72,
  461. 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03,
  462. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73,
  463. 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xf3, 0x01, 0x0a, 0x0b, 0x4d, 0x79, 0x44,
  464. 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6c, 0x6c,
  465. 0x65, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
  466. 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66,
  467. 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77,
  468. 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
  469. 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x6a,
  470. 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x6c,
  471. 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
  472. 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x63, 0x43,
  473. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x63, 0x75,
  474. 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01,
  475. 0x28, 0x03, 0x52, 0x12, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
  476. 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f,
  477. 0x6e, 0x7a, 0x6a, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
  478. 0x0d, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x7a, 0x6a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb5,
  479. 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71,
  480. 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  481. 0x09, 0x52, 0x06, 0x69, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75,
  482. 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
  483. 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
  484. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  485. 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
  486. 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74,
  487. 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75,
  488. 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63,
  489. 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
  490. 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f,
  491. 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65,
  492. 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73,
  493. 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  494. 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14,
  495. 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65,
  496. 0x6e, 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e,
  497. 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x55, 0x73,
  498. 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f,
  499. 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
  500. 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72,
  501. 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72,
  502. 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f,
  503. 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  504. 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,
  505. 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x24, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a,
  506. 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
  507. 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x5f, 0x0a, 0x0d, 0x47,
  508. 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
  509. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  510. 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65,
  511. 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  512. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  513. 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x99, 0x01, 0x0a,
  514. 0x09, 0x42, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x0b, 0x6d, 0x79,
  515. 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x0f, 0x2e, 0x4d, 0x79, 0x44, 0x61,
  516. 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x4d, 0x79, 0x44,
  517. 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a,
  518. 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x2e, 0x41, 0x64, 0x64,
  519. 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x41, 0x64, 0x64,
  520. 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x09, 0x67,
  521. 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x12, 0x0e, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72,
  522. 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e,
  523. 0x66, 0x6f, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
  524. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  525. }
  526. var (
  527. file_biService_proto_rawDescOnce sync.Once
  528. file_biService_proto_rawDescData = file_biService_proto_rawDesc
  529. )
  530. func file_biService_proto_rawDescGZIP() []byte {
  531. file_biService_proto_rawDescOnce.Do(func() {
  532. file_biService_proto_rawDescData = protoimpl.X.CompressGZIP(file_biService_proto_rawDescData)
  533. })
  534. return file_biService_proto_rawDescData
  535. }
  536. var file_biService_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  537. var file_biService_proto_goTypes = []interface{}{
  538. (*MyDataAssetReq)(nil), // 0: MyDataAssetReq
  539. (*MyDataAssetResp)(nil), // 1: MyDataAssetResp
  540. (*MyDataAsset)(nil), // 2: MyDataAsset
  541. (*AddProjectReq)(nil), // 3: AddProjectReq
  542. (*AddProjectResp)(nil), // 4: AddProjectResp
  543. (*AddProject)(nil), // 5: AddProject
  544. (*GetInfoIdResp)(nil), // 6: GetInfoIdResp
  545. }
  546. var file_biService_proto_depIdxs = []int32{
  547. 2, // 0: MyDataAssetResp.data:type_name -> MyDataAsset
  548. 5, // 1: AddProjectResp.data:type_name -> AddProject
  549. 0, // 2: BiService.myDataAsset:input_type -> MyDataAssetReq
  550. 3, // 3: BiService.addProject:input_type -> AddProjectReq
  551. 3, // 4: BiService.getInfoId:input_type -> AddProjectReq
  552. 1, // 5: BiService.myDataAsset:output_type -> MyDataAssetResp
  553. 4, // 6: BiService.addProject:output_type -> AddProjectResp
  554. 6, // 7: BiService.getInfoId:output_type -> GetInfoIdResp
  555. 5, // [5:8] is the sub-list for method output_type
  556. 2, // [2:5] is the sub-list for method input_type
  557. 2, // [2:2] is the sub-list for extension type_name
  558. 2, // [2:2] is the sub-list for extension extendee
  559. 0, // [0:2] is the sub-list for field type_name
  560. }
  561. func init() { file_biService_proto_init() }
  562. func file_biService_proto_init() {
  563. if File_biService_proto != nil {
  564. return
  565. }
  566. if !protoimpl.UnsafeEnabled {
  567. file_biService_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  568. switch v := v.(*MyDataAssetReq); i {
  569. case 0:
  570. return &v.state
  571. case 1:
  572. return &v.sizeCache
  573. case 2:
  574. return &v.unknownFields
  575. default:
  576. return nil
  577. }
  578. }
  579. file_biService_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  580. switch v := v.(*MyDataAssetResp); i {
  581. case 0:
  582. return &v.state
  583. case 1:
  584. return &v.sizeCache
  585. case 2:
  586. return &v.unknownFields
  587. default:
  588. return nil
  589. }
  590. }
  591. file_biService_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  592. switch v := v.(*MyDataAsset); i {
  593. case 0:
  594. return &v.state
  595. case 1:
  596. return &v.sizeCache
  597. case 2:
  598. return &v.unknownFields
  599. default:
  600. return nil
  601. }
  602. }
  603. file_biService_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  604. switch v := v.(*AddProjectReq); i {
  605. case 0:
  606. return &v.state
  607. case 1:
  608. return &v.sizeCache
  609. case 2:
  610. return &v.unknownFields
  611. default:
  612. return nil
  613. }
  614. }
  615. file_biService_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  616. switch v := v.(*AddProjectResp); i {
  617. case 0:
  618. return &v.state
  619. case 1:
  620. return &v.sizeCache
  621. case 2:
  622. return &v.unknownFields
  623. default:
  624. return nil
  625. }
  626. }
  627. file_biService_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  628. switch v := v.(*AddProject); i {
  629. case 0:
  630. return &v.state
  631. case 1:
  632. return &v.sizeCache
  633. case 2:
  634. return &v.unknownFields
  635. default:
  636. return nil
  637. }
  638. }
  639. file_biService_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  640. switch v := v.(*GetInfoIdResp); i {
  641. case 0:
  642. return &v.state
  643. case 1:
  644. return &v.sizeCache
  645. case 2:
  646. return &v.unknownFields
  647. default:
  648. return nil
  649. }
  650. }
  651. }
  652. type x struct{}
  653. out := protoimpl.TypeBuilder{
  654. File: protoimpl.DescBuilder{
  655. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  656. RawDescriptor: file_biService_proto_rawDesc,
  657. NumEnums: 0,
  658. NumMessages: 7,
  659. NumExtensions: 0,
  660. NumServices: 1,
  661. },
  662. GoTypes: file_biService_proto_goTypes,
  663. DependencyIndexes: file_biService_proto_depIdxs,
  664. MessageInfos: file_biService_proto_msgTypes,
  665. }.Build()
  666. File_biService_proto = out.File
  667. file_biService_proto_rawDesc = nil
  668. file_biService_proto_goTypes = nil
  669. file_biService_proto_depIdxs = nil
  670. }
  671. // Reference imports to suppress errors if they are not otherwise used.
  672. var _ context.Context
  673. var _ grpc.ClientConnInterface
  674. // This is a compile-time assertion to ensure that this generated file
  675. // is compatible with the grpc package it is being compiled against.
  676. const _ = grpc.SupportPackageIsVersion6
  677. // BiServiceClient is the client API for BiService service.
  678. //
  679. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  680. type BiServiceClient interface {
  681. MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error)
  682. AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error)
  683. GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error)
  684. }
  685. type biServiceClient struct {
  686. cc grpc.ClientConnInterface
  687. }
  688. func NewBiServiceClient(cc grpc.ClientConnInterface) BiServiceClient {
  689. return &biServiceClient{cc}
  690. }
  691. func (c *biServiceClient) MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) {
  692. out := new(MyDataAssetResp)
  693. err := c.cc.Invoke(ctx, "/BiService/myDataAsset", in, out, opts...)
  694. if err != nil {
  695. return nil, err
  696. }
  697. return out, nil
  698. }
  699. func (c *biServiceClient) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
  700. out := new(AddProjectResp)
  701. err := c.cc.Invoke(ctx, "/BiService/addProject", in, out, opts...)
  702. if err != nil {
  703. return nil, err
  704. }
  705. return out, nil
  706. }
  707. func (c *biServiceClient) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) {
  708. out := new(GetInfoIdResp)
  709. err := c.cc.Invoke(ctx, "/BiService/getInfoId", in, out, opts...)
  710. if err != nil {
  711. return nil, err
  712. }
  713. return out, nil
  714. }
  715. // BiServiceServer is the server API for BiService service.
  716. type BiServiceServer interface {
  717. MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error)
  718. AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error)
  719. GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error)
  720. }
  721. // UnimplementedBiServiceServer can be embedded to have forward compatible implementations.
  722. type UnimplementedBiServiceServer struct {
  723. }
  724. func (*UnimplementedBiServiceServer) MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error) {
  725. return nil, status.Errorf(codes.Unimplemented, "method MyDataAsset not implemented")
  726. }
  727. func (*UnimplementedBiServiceServer) AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error) {
  728. return nil, status.Errorf(codes.Unimplemented, "method AddProject not implemented")
  729. }
  730. func (*UnimplementedBiServiceServer) GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error) {
  731. return nil, status.Errorf(codes.Unimplemented, "method GetInfoId not implemented")
  732. }
  733. func RegisterBiServiceServer(s *grpc.Server, srv BiServiceServer) {
  734. s.RegisterService(&_BiService_serviceDesc, srv)
  735. }
  736. func _BiService_MyDataAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  737. in := new(MyDataAssetReq)
  738. if err := dec(in); err != nil {
  739. return nil, err
  740. }
  741. if interceptor == nil {
  742. return srv.(BiServiceServer).MyDataAsset(ctx, in)
  743. }
  744. info := &grpc.UnaryServerInfo{
  745. Server: srv,
  746. FullMethod: "/BiService/MyDataAsset",
  747. }
  748. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  749. return srv.(BiServiceServer).MyDataAsset(ctx, req.(*MyDataAssetReq))
  750. }
  751. return interceptor(ctx, in, info, handler)
  752. }
  753. func _BiService_AddProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  754. in := new(AddProjectReq)
  755. if err := dec(in); err != nil {
  756. return nil, err
  757. }
  758. if interceptor == nil {
  759. return srv.(BiServiceServer).AddProject(ctx, in)
  760. }
  761. info := &grpc.UnaryServerInfo{
  762. Server: srv,
  763. FullMethod: "/BiService/AddProject",
  764. }
  765. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  766. return srv.(BiServiceServer).AddProject(ctx, req.(*AddProjectReq))
  767. }
  768. return interceptor(ctx, in, info, handler)
  769. }
  770. func _BiService_GetInfoId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  771. in := new(AddProjectReq)
  772. if err := dec(in); err != nil {
  773. return nil, err
  774. }
  775. if interceptor == nil {
  776. return srv.(BiServiceServer).GetInfoId(ctx, in)
  777. }
  778. info := &grpc.UnaryServerInfo{
  779. Server: srv,
  780. FullMethod: "/BiService/GetInfoId",
  781. }
  782. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  783. return srv.(BiServiceServer).GetInfoId(ctx, req.(*AddProjectReq))
  784. }
  785. return interceptor(ctx, in, info, handler)
  786. }
  787. var _BiService_serviceDesc = grpc.ServiceDesc{
  788. ServiceName: "BiService",
  789. HandlerType: (*BiServiceServer)(nil),
  790. Methods: []grpc.MethodDesc{
  791. {
  792. MethodName: "myDataAsset",
  793. Handler: _BiService_MyDataAsset_Handler,
  794. },
  795. {
  796. MethodName: "addProject",
  797. Handler: _BiService_AddProject_Handler,
  798. },
  799. {
  800. MethodName: "getInfoId",
  801. Handler: _BiService_GetInfoId_Handler,
  802. },
  803. },
  804. Streams: []grpc.StreamDesc{},
  805. Metadata: "biService.proto",
  806. }