powerCheck.pb.go 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.19.4
  5. // source: powerCheck.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. //公共返回 status
  20. type Resp struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. ErrorMsg string `protobuf:"bytes,1,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  25. ErrorCode int64 `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  26. Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
  27. }
  28. func (x *Resp) Reset() {
  29. *x = Resp{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_powerCheck_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *Resp) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*Resp) ProtoMessage() {}
  40. func (x *Resp) ProtoReflect() protoreflect.Message {
  41. mi := &file_powerCheck_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use Resp.ProtoReflect.Descriptor instead.
  52. func (*Resp) Descriptor() ([]byte, []int) {
  53. return file_powerCheck_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *Resp) GetErrorMsg() string {
  56. if x != nil {
  57. return x.ErrorMsg
  58. }
  59. return ""
  60. }
  61. func (x *Resp) GetErrorCode() int64 {
  62. if x != nil {
  63. return x.ErrorCode
  64. }
  65. return 0
  66. }
  67. func (x *Resp) GetStatus() int64 {
  68. if x != nil {
  69. return x.Status
  70. }
  71. return 0
  72. }
  73. type CheckReq struct {
  74. state protoimpl.MessageState
  75. sizeCache protoimpl.SizeCache
  76. unknownFields protoimpl.UnknownFields
  77. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  78. Userid string `protobuf:"bytes,2,opt,name=userid,proto3" json:"userid,omitempty"` //mongodb用户id
  79. BaseUserId int64 `protobuf:"varint,3,opt,name=baseUserId,proto3" json:"baseUserId,omitempty"` //base_user用户id
  80. AccountId int64 `protobuf:"varint,4,opt,name=accountId,proto3" json:"accountId,omitempty"` //账户id
  81. EntId int64 `protobuf:"varint,5,opt,name=entId,proto3" json:"entId,omitempty"` //
  82. PositionType int64 `protobuf:"varint,6,opt,name=positionType,proto3" json:"positionType,omitempty"` //职位类型 0个人 1企业
  83. PositionId int64 `protobuf:"varint,7,opt,name=positionId,proto3" json:"positionId,omitempty"` //职位id
  84. }
  85. func (x *CheckReq) Reset() {
  86. *x = CheckReq{}
  87. if protoimpl.UnsafeEnabled {
  88. mi := &file_powerCheck_proto_msgTypes[1]
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. ms.StoreMessageInfo(mi)
  91. }
  92. }
  93. func (x *CheckReq) String() string {
  94. return protoimpl.X.MessageStringOf(x)
  95. }
  96. func (*CheckReq) ProtoMessage() {}
  97. func (x *CheckReq) ProtoReflect() protoreflect.Message {
  98. mi := &file_powerCheck_proto_msgTypes[1]
  99. if protoimpl.UnsafeEnabled && x != nil {
  100. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  101. if ms.LoadMessageInfo() == nil {
  102. ms.StoreMessageInfo(mi)
  103. }
  104. return ms
  105. }
  106. return mi.MessageOf(x)
  107. }
  108. // Deprecated: Use CheckReq.ProtoReflect.Descriptor instead.
  109. func (*CheckReq) Descriptor() ([]byte, []int) {
  110. return file_powerCheck_proto_rawDescGZIP(), []int{1}
  111. }
  112. func (x *CheckReq) GetAppid() string {
  113. if x != nil {
  114. return x.Appid
  115. }
  116. return ""
  117. }
  118. func (x *CheckReq) GetUserid() string {
  119. if x != nil {
  120. return x.Userid
  121. }
  122. return ""
  123. }
  124. func (x *CheckReq) GetBaseUserId() int64 {
  125. if x != nil {
  126. return x.BaseUserId
  127. }
  128. return 0
  129. }
  130. func (x *CheckReq) GetAccountId() int64 {
  131. if x != nil {
  132. return x.AccountId
  133. }
  134. return 0
  135. }
  136. func (x *CheckReq) GetEntId() int64 {
  137. if x != nil {
  138. return x.EntId
  139. }
  140. return 0
  141. }
  142. func (x *CheckReq) GetPositionType() int64 {
  143. if x != nil {
  144. return x.PositionType
  145. }
  146. return 0
  147. }
  148. func (x *CheckReq) GetPositionId() int64 {
  149. if x != nil {
  150. return x.PositionId
  151. }
  152. return 0
  153. }
  154. type CheckResp struct {
  155. state protoimpl.MessageState
  156. sizeCache protoimpl.SizeCache
  157. unknownFields protoimpl.UnknownFields
  158. ErrorMsg string `protobuf:"bytes,1,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  159. ErrorCode int64 `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  160. Vip *Vip `protobuf:"bytes,3,opt,name=vip,proto3" json:"vip,omitempty"`
  161. Member *Member `protobuf:"bytes,4,opt,name=member,proto3" json:"member,omitempty"`
  162. Entniche *Entniche `protobuf:"bytes,5,opt,name=entniche,proto3" json:"entniche,omitempty"`
  163. Ent *Ent `protobuf:"bytes,6,opt,name=ent,proto3" json:"ent,omitempty"`
  164. Free *Free `protobuf:"bytes,7,opt,name=free,proto3" json:"free,omitempty"`
  165. }
  166. func (x *CheckResp) Reset() {
  167. *x = CheckResp{}
  168. if protoimpl.UnsafeEnabled {
  169. mi := &file_powerCheck_proto_msgTypes[2]
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. ms.StoreMessageInfo(mi)
  172. }
  173. }
  174. func (x *CheckResp) String() string {
  175. return protoimpl.X.MessageStringOf(x)
  176. }
  177. func (*CheckResp) ProtoMessage() {}
  178. func (x *CheckResp) ProtoReflect() protoreflect.Message {
  179. mi := &file_powerCheck_proto_msgTypes[2]
  180. if protoimpl.UnsafeEnabled && x != nil {
  181. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  182. if ms.LoadMessageInfo() == nil {
  183. ms.StoreMessageInfo(mi)
  184. }
  185. return ms
  186. }
  187. return mi.MessageOf(x)
  188. }
  189. // Deprecated: Use CheckResp.ProtoReflect.Descriptor instead.
  190. func (*CheckResp) Descriptor() ([]byte, []int) {
  191. return file_powerCheck_proto_rawDescGZIP(), []int{2}
  192. }
  193. func (x *CheckResp) GetErrorMsg() string {
  194. if x != nil {
  195. return x.ErrorMsg
  196. }
  197. return ""
  198. }
  199. func (x *CheckResp) GetErrorCode() int64 {
  200. if x != nil {
  201. return x.ErrorCode
  202. }
  203. return 0
  204. }
  205. func (x *CheckResp) GetVip() *Vip {
  206. if x != nil {
  207. return x.Vip
  208. }
  209. return nil
  210. }
  211. func (x *CheckResp) GetMember() *Member {
  212. if x != nil {
  213. return x.Member
  214. }
  215. return nil
  216. }
  217. func (x *CheckResp) GetEntniche() *Entniche {
  218. if x != nil {
  219. return x.Entniche
  220. }
  221. return nil
  222. }
  223. func (x *CheckResp) GetEnt() *Ent {
  224. if x != nil {
  225. return x.Ent
  226. }
  227. return nil
  228. }
  229. func (x *CheckResp) GetFree() *Free {
  230. if x != nil {
  231. return x.Free
  232. }
  233. return nil
  234. }
  235. //超级订阅相关
  236. type Vip struct {
  237. state protoimpl.MessageState
  238. sizeCache protoimpl.SizeCache
  239. unknownFields protoimpl.UnknownFields
  240. Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` //超级订阅状态
  241. StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` //超级订阅开始时间戳
  242. EndTime int64 `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"` //超级订阅结束时间戳
  243. Upgrade int64 `protobuf:"varint,4,opt,name=upgrade,proto3" json:"upgrade,omitempty"` //是否是升级版超级订阅;0否 1是
  244. Areacount int64 `protobuf:"varint,5,opt,name=areacount,proto3" json:"areacount,omitempty"` //购买省份数量; -1全部
  245. Buyerclasscount int64 `protobuf:"varint,6,opt,name=buyerclasscount,proto3" json:"buyerclasscount,omitempty"` //购买采购单位数量; -1全部
  246. MaxKeyLength int64 `protobuf:"varint,7,opt,name=maxKeyLength,proto3" json:"maxKeyLength,omitempty"` //最大关键词数量限制
  247. PowerType int64 `protobuf:"varint,8,opt,name=powerType,proto3" json:"powerType,omitempty"` //超级订阅权益类型;0无 1个人 2企业
  248. VipPower int64 `protobuf:"varint,9,opt,name=vipPower,proto3" json:"vipPower,omitempty"` //是否分配了超级订阅;0:否 1:是
  249. FileNum int64 `protobuf:"varint,10,opt,name=fileNum,proto3" json:"fileNum,omitempty"` //超级订阅用户附件下载包的剩余次数
  250. HasKey bool `protobuf:"varint,11,opt,name=hasKey,proto3" json:"hasKey,omitempty"` //是否有关键词
  251. }
  252. func (x *Vip) Reset() {
  253. *x = Vip{}
  254. if protoimpl.UnsafeEnabled {
  255. mi := &file_powerCheck_proto_msgTypes[3]
  256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  257. ms.StoreMessageInfo(mi)
  258. }
  259. }
  260. func (x *Vip) String() string {
  261. return protoimpl.X.MessageStringOf(x)
  262. }
  263. func (*Vip) ProtoMessage() {}
  264. func (x *Vip) ProtoReflect() protoreflect.Message {
  265. mi := &file_powerCheck_proto_msgTypes[3]
  266. if protoimpl.UnsafeEnabled && x != nil {
  267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  268. if ms.LoadMessageInfo() == nil {
  269. ms.StoreMessageInfo(mi)
  270. }
  271. return ms
  272. }
  273. return mi.MessageOf(x)
  274. }
  275. // Deprecated: Use Vip.ProtoReflect.Descriptor instead.
  276. func (*Vip) Descriptor() ([]byte, []int) {
  277. return file_powerCheck_proto_rawDescGZIP(), []int{3}
  278. }
  279. func (x *Vip) GetStatus() int64 {
  280. if x != nil {
  281. return x.Status
  282. }
  283. return 0
  284. }
  285. func (x *Vip) GetStartTime() int64 {
  286. if x != nil {
  287. return x.StartTime
  288. }
  289. return 0
  290. }
  291. func (x *Vip) GetEndTime() int64 {
  292. if x != nil {
  293. return x.EndTime
  294. }
  295. return 0
  296. }
  297. func (x *Vip) GetUpgrade() int64 {
  298. if x != nil {
  299. return x.Upgrade
  300. }
  301. return 0
  302. }
  303. func (x *Vip) GetAreacount() int64 {
  304. if x != nil {
  305. return x.Areacount
  306. }
  307. return 0
  308. }
  309. func (x *Vip) GetBuyerclasscount() int64 {
  310. if x != nil {
  311. return x.Buyerclasscount
  312. }
  313. return 0
  314. }
  315. func (x *Vip) GetMaxKeyLength() int64 {
  316. if x != nil {
  317. return x.MaxKeyLength
  318. }
  319. return 0
  320. }
  321. func (x *Vip) GetPowerType() int64 {
  322. if x != nil {
  323. return x.PowerType
  324. }
  325. return 0
  326. }
  327. func (x *Vip) GetVipPower() int64 {
  328. if x != nil {
  329. return x.VipPower
  330. }
  331. return 0
  332. }
  333. func (x *Vip) GetFileNum() int64 {
  334. if x != nil {
  335. return x.FileNum
  336. }
  337. return 0
  338. }
  339. func (x *Vip) GetHasKey() bool {
  340. if x != nil {
  341. return x.HasKey
  342. }
  343. return false
  344. }
  345. //大会员相关
  346. type Member struct {
  347. state protoimpl.MessageState
  348. sizeCache protoimpl.SizeCache
  349. unknownFields protoimpl.UnknownFields
  350. Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` //大会员状态
  351. StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` //开始时间戳
  352. EndTime int64 `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"` //结束时间戳
  353. MemberName string `protobuf:"bytes,4,opt,name=memberName,proto3" json:"memberName,omitempty"` //大会员版本名称
  354. MemberPowerList []int64 `protobuf:"varint,5,rep,packed,name=memberPowerList,proto3" json:"memberPowerList,omitempty"` //大会员权益数组
  355. IsMemberTrial int64 `protobuf:"varint,6,opt,name=isMemberTrial,proto3" json:"isMemberTrial,omitempty"` //是否是大会员试用;0否 1是
  356. PowerType int64 `protobuf:"varint,7,opt,name=powerType,proto3" json:"powerType,omitempty"` //大会员权益类型;0无 1个人 2企业
  357. MemberPower int64 `protobuf:"varint,8,opt,name=memberPower,proto3" json:"memberPower,omitempty"` //是否分配了大会员;0:否 1:是
  358. IsSubCount int64 `protobuf:"varint,9,opt,name=isSubCount,proto3" json:"isSubCount,omitempty"` //是否是子账号 0否 1是
  359. MaxKeyLength int64 `protobuf:"varint,10,opt,name=maxKeyLength,proto3" json:"maxKeyLength,omitempty"` //最大关键词数量限制
  360. EntNum int64 `protobuf:"varint,11,opt,name=entNum,proto3" json:"entNum,omitempty"` //企业情报监控 企业中标动态数量
  361. ProNum int64 `protobuf:"varint,12,opt,name=proNum,proto3" json:"proNum,omitempty"` //项目进度监控数量
  362. DailyNum int64 `protobuf:"varint,13,opt,name=dailyNum,proto3" json:"dailyNum,omitempty"` //结构化数据(单日限量包数量)
  363. Customers int64 `protobuf:"varint,14,opt,name=customers,proto3" json:"customers,omitempty"` //潜在客户数量
  364. Pid string `protobuf:"bytes,15,opt,name=pid,proto3" json:"pid,omitempty"` //主帐号id
  365. Used bool `protobuf:"varint,16,opt,name=used,proto3" json:"used,omitempty"` //是否使用过大会员初始化
  366. HasKey bool `protobuf:"varint,17,opt,name=hasKey,proto3" json:"hasKey,omitempty"` //是否有关键词
  367. }
  368. func (x *Member) Reset() {
  369. *x = Member{}
  370. if protoimpl.UnsafeEnabled {
  371. mi := &file_powerCheck_proto_msgTypes[4]
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. ms.StoreMessageInfo(mi)
  374. }
  375. }
  376. func (x *Member) String() string {
  377. return protoimpl.X.MessageStringOf(x)
  378. }
  379. func (*Member) ProtoMessage() {}
  380. func (x *Member) ProtoReflect() protoreflect.Message {
  381. mi := &file_powerCheck_proto_msgTypes[4]
  382. if protoimpl.UnsafeEnabled && x != nil {
  383. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  384. if ms.LoadMessageInfo() == nil {
  385. ms.StoreMessageInfo(mi)
  386. }
  387. return ms
  388. }
  389. return mi.MessageOf(x)
  390. }
  391. // Deprecated: Use Member.ProtoReflect.Descriptor instead.
  392. func (*Member) Descriptor() ([]byte, []int) {
  393. return file_powerCheck_proto_rawDescGZIP(), []int{4}
  394. }
  395. func (x *Member) GetStatus() int64 {
  396. if x != nil {
  397. return x.Status
  398. }
  399. return 0
  400. }
  401. func (x *Member) GetStartTime() int64 {
  402. if x != nil {
  403. return x.StartTime
  404. }
  405. return 0
  406. }
  407. func (x *Member) GetEndTime() int64 {
  408. if x != nil {
  409. return x.EndTime
  410. }
  411. return 0
  412. }
  413. func (x *Member) GetMemberName() string {
  414. if x != nil {
  415. return x.MemberName
  416. }
  417. return ""
  418. }
  419. func (x *Member) GetMemberPowerList() []int64 {
  420. if x != nil {
  421. return x.MemberPowerList
  422. }
  423. return nil
  424. }
  425. func (x *Member) GetIsMemberTrial() int64 {
  426. if x != nil {
  427. return x.IsMemberTrial
  428. }
  429. return 0
  430. }
  431. func (x *Member) GetPowerType() int64 {
  432. if x != nil {
  433. return x.PowerType
  434. }
  435. return 0
  436. }
  437. func (x *Member) GetMemberPower() int64 {
  438. if x != nil {
  439. return x.MemberPower
  440. }
  441. return 0
  442. }
  443. func (x *Member) GetIsSubCount() int64 {
  444. if x != nil {
  445. return x.IsSubCount
  446. }
  447. return 0
  448. }
  449. func (x *Member) GetMaxKeyLength() int64 {
  450. if x != nil {
  451. return x.MaxKeyLength
  452. }
  453. return 0
  454. }
  455. func (x *Member) GetEntNum() int64 {
  456. if x != nil {
  457. return x.EntNum
  458. }
  459. return 0
  460. }
  461. func (x *Member) GetProNum() int64 {
  462. if x != nil {
  463. return x.ProNum
  464. }
  465. return 0
  466. }
  467. func (x *Member) GetDailyNum() int64 {
  468. if x != nil {
  469. return x.DailyNum
  470. }
  471. return 0
  472. }
  473. func (x *Member) GetCustomers() int64 {
  474. if x != nil {
  475. return x.Customers
  476. }
  477. return 0
  478. }
  479. func (x *Member) GetPid() string {
  480. if x != nil {
  481. return x.Pid
  482. }
  483. return ""
  484. }
  485. func (x *Member) GetUsed() bool {
  486. if x != nil {
  487. return x.Used
  488. }
  489. return false
  490. }
  491. func (x *Member) GetHasKey() bool {
  492. if x != nil {
  493. return x.HasKey
  494. }
  495. return false
  496. }
  497. //商机管理相关
  498. type Entniche struct {
  499. state protoimpl.MessageState
  500. sizeCache protoimpl.SizeCache
  501. unknownFields protoimpl.UnknownFields
  502. Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` //商机管理相关
  503. StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` //开始时间戳
  504. EndTime int64 `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"` //结束时间戳
  505. PowerSource int64 `protobuf:"varint,4,opt,name=powerSource,proto3" json:"powerSource,omitempty"` //商机管理权限开通来源;1:赠送的商机管理服务
  506. IsEntPower int64 `protobuf:"varint,5,opt,name=isEntPower,proto3" json:"isEntPower,omitempty"` //是否分配权限;0:未分配,1:已分配
  507. IsNew int64 `protobuf:"varint,6,opt,name=isNew,proto3" json:"isNew,omitempty"` //是否是新版商机管理 0不是 1是
  508. HasKey bool `protobuf:"varint,7,opt,name=hasKey,proto3" json:"hasKey,omitempty"` //是否有关键词
  509. }
  510. func (x *Entniche) Reset() {
  511. *x = Entniche{}
  512. if protoimpl.UnsafeEnabled {
  513. mi := &file_powerCheck_proto_msgTypes[5]
  514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  515. ms.StoreMessageInfo(mi)
  516. }
  517. }
  518. func (x *Entniche) String() string {
  519. return protoimpl.X.MessageStringOf(x)
  520. }
  521. func (*Entniche) ProtoMessage() {}
  522. func (x *Entniche) ProtoReflect() protoreflect.Message {
  523. mi := &file_powerCheck_proto_msgTypes[5]
  524. if protoimpl.UnsafeEnabled && x != nil {
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. if ms.LoadMessageInfo() == nil {
  527. ms.StoreMessageInfo(mi)
  528. }
  529. return ms
  530. }
  531. return mi.MessageOf(x)
  532. }
  533. // Deprecated: Use Entniche.ProtoReflect.Descriptor instead.
  534. func (*Entniche) Descriptor() ([]byte, []int) {
  535. return file_powerCheck_proto_rawDescGZIP(), []int{5}
  536. }
  537. func (x *Entniche) GetStatus() int64 {
  538. if x != nil {
  539. return x.Status
  540. }
  541. return 0
  542. }
  543. func (x *Entniche) GetStartTime() int64 {
  544. if x != nil {
  545. return x.StartTime
  546. }
  547. return 0
  548. }
  549. func (x *Entniche) GetEndTime() int64 {
  550. if x != nil {
  551. return x.EndTime
  552. }
  553. return 0
  554. }
  555. func (x *Entniche) GetPowerSource() int64 {
  556. if x != nil {
  557. return x.PowerSource
  558. }
  559. return 0
  560. }
  561. func (x *Entniche) GetIsEntPower() int64 {
  562. if x != nil {
  563. return x.IsEntPower
  564. }
  565. return 0
  566. }
  567. func (x *Entniche) GetIsNew() int64 {
  568. if x != nil {
  569. return x.IsNew
  570. }
  571. return 0
  572. }
  573. func (x *Entniche) GetHasKey() bool {
  574. if x != nil {
  575. return x.HasKey
  576. }
  577. return false
  578. }
  579. //企业相关
  580. type Ent struct {
  581. state protoimpl.MessageState
  582. sizeCache protoimpl.SizeCache
  583. unknownFields protoimpl.UnknownFields
  584. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //企业名称
  585. EntRoleId int64 `protobuf:"varint,2,opt,name=entRoleId,proto3" json:"entRoleId,omitempty"` //商机管理角色:1:企业管理员;2:部门管理员
  586. EntAuthStatus int64 `protobuf:"varint,3,opt,name=entAuthStatus,proto3" json:"entAuthStatus,omitempty"` //企业是否认证 -1 未通过,0 未认证,1 已认证
  587. EntAuthReason string `protobuf:"bytes,4,opt,name=entAuthReason,proto3" json:"entAuthReason,omitempty"` //认证不通过原因
  588. EntSubscribe int64 `protobuf:"varint,5,opt,name=entSubscribe,proto3" json:"entSubscribe,omitempty"` //是否有企业订阅权限;0:否 1:是
  589. EntSubscribeManager int64 `protobuf:"varint,6,opt,name=entSubscribeManager,proto3" json:"entSubscribeManager,omitempty"` //是否有企业订阅管理权限;0:否 1:是
  590. PowerSource int64 `protobuf:"varint,7,opt,name=powerSource,proto3" json:"powerSource,omitempty"` //商机管理权限开通来源;1:赠送的商机管理服务
  591. DeptSubscribe int64 `protobuf:"varint,8,opt,name=deptSubscribe,proto3" json:"deptSubscribe,omitempty"` //各部门是否可以自行订阅;0:否 1:是
  592. PrivateGD bool `protobuf:"varint,9,opt,name=privateGD,proto3" json:"privateGD,omitempty"` //广东移动DICT 用户,用于查看画像
  593. BuyVip int64 `protobuf:"varint,10,opt,name=buyVip,proto3" json:"buyVip,omitempty"` //是否购买超级订阅
  594. BuyMember int64 `protobuf:"varint,11,opt,name=buyMember,proto3" json:"buyMember,omitempty"` //是否购买大会员
  595. }
  596. func (x *Ent) Reset() {
  597. *x = Ent{}
  598. if protoimpl.UnsafeEnabled {
  599. mi := &file_powerCheck_proto_msgTypes[6]
  600. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  601. ms.StoreMessageInfo(mi)
  602. }
  603. }
  604. func (x *Ent) String() string {
  605. return protoimpl.X.MessageStringOf(x)
  606. }
  607. func (*Ent) ProtoMessage() {}
  608. func (x *Ent) ProtoReflect() protoreflect.Message {
  609. mi := &file_powerCheck_proto_msgTypes[6]
  610. if protoimpl.UnsafeEnabled && x != nil {
  611. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  612. if ms.LoadMessageInfo() == nil {
  613. ms.StoreMessageInfo(mi)
  614. }
  615. return ms
  616. }
  617. return mi.MessageOf(x)
  618. }
  619. // Deprecated: Use Ent.ProtoReflect.Descriptor instead.
  620. func (*Ent) Descriptor() ([]byte, []int) {
  621. return file_powerCheck_proto_rawDescGZIP(), []int{6}
  622. }
  623. func (x *Ent) GetName() string {
  624. if x != nil {
  625. return x.Name
  626. }
  627. return ""
  628. }
  629. func (x *Ent) GetEntRoleId() int64 {
  630. if x != nil {
  631. return x.EntRoleId
  632. }
  633. return 0
  634. }
  635. func (x *Ent) GetEntAuthStatus() int64 {
  636. if x != nil {
  637. return x.EntAuthStatus
  638. }
  639. return 0
  640. }
  641. func (x *Ent) GetEntAuthReason() string {
  642. if x != nil {
  643. return x.EntAuthReason
  644. }
  645. return ""
  646. }
  647. func (x *Ent) GetEntSubscribe() int64 {
  648. if x != nil {
  649. return x.EntSubscribe
  650. }
  651. return 0
  652. }
  653. func (x *Ent) GetEntSubscribeManager() int64 {
  654. if x != nil {
  655. return x.EntSubscribeManager
  656. }
  657. return 0
  658. }
  659. func (x *Ent) GetPowerSource() int64 {
  660. if x != nil {
  661. return x.PowerSource
  662. }
  663. return 0
  664. }
  665. func (x *Ent) GetDeptSubscribe() int64 {
  666. if x != nil {
  667. return x.DeptSubscribe
  668. }
  669. return 0
  670. }
  671. func (x *Ent) GetPrivateGD() bool {
  672. if x != nil {
  673. return x.PrivateGD
  674. }
  675. return false
  676. }
  677. func (x *Ent) GetBuyVip() int64 {
  678. if x != nil {
  679. return x.BuyVip
  680. }
  681. return 0
  682. }
  683. func (x *Ent) GetBuyMember() int64 {
  684. if x != nil {
  685. return x.BuyMember
  686. }
  687. return 0
  688. }
  689. //免费权益相关
  690. type Free struct {
  691. state protoimpl.MessageState
  692. sizeCache protoimpl.SizeCache
  693. unknownFields protoimpl.UnknownFields
  694. IsFree bool `protobuf:"varint,1,opt,name=isFree,proto3" json:"isFree,omitempty"` //是否是免费用户
  695. FreeHasKey bool `protobuf:"varint,2,opt,name=freeHasKey,proto3" json:"freeHasKey,omitempty"` //免费用户是否有关键词
  696. FreeEntPort int64 `protobuf:"varint,3,opt,name=freeEntPort,proto3" json:"freeEntPort,omitempty"` //免费用户可查看企业画像次数
  697. FreeBuyerPort int64 `protobuf:"varint,4,opt,name=freeBuyerPort,proto3" json:"freeBuyerPort,omitempty"` //免费用户可查看采购单位画像次数
  698. FreeFile int64 `protobuf:"varint,5,opt,name=freeFile,proto3" json:"freeFile,omitempty"` //免费用户可以进行附件下载次数
  699. Registedate int64 `protobuf:"varint,6,opt,name=registedate,proto3" json:"registedate,omitempty"` //注册时间
  700. IsUpgrade bool `protobuf:"varint,7,opt,name=isUpgrade,proto3" json:"isUpgrade,omitempty"` //是否是新免费用户
  701. Mail string `protobuf:"bytes,8,opt,name=mail,proto3" json:"mail,omitempty"`
  702. Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"` //手机号
  703. TsGuide int64 `protobuf:"varint,10,opt,name=tsGuide,proto3" json:"tsGuide,omitempty"` //pc订阅关键词,不再走向导页
  704. }
  705. func (x *Free) Reset() {
  706. *x = Free{}
  707. if protoimpl.UnsafeEnabled {
  708. mi := &file_powerCheck_proto_msgTypes[7]
  709. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  710. ms.StoreMessageInfo(mi)
  711. }
  712. }
  713. func (x *Free) String() string {
  714. return protoimpl.X.MessageStringOf(x)
  715. }
  716. func (*Free) ProtoMessage() {}
  717. func (x *Free) ProtoReflect() protoreflect.Message {
  718. mi := &file_powerCheck_proto_msgTypes[7]
  719. if protoimpl.UnsafeEnabled && x != nil {
  720. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  721. if ms.LoadMessageInfo() == nil {
  722. ms.StoreMessageInfo(mi)
  723. }
  724. return ms
  725. }
  726. return mi.MessageOf(x)
  727. }
  728. // Deprecated: Use Free.ProtoReflect.Descriptor instead.
  729. func (*Free) Descriptor() ([]byte, []int) {
  730. return file_powerCheck_proto_rawDescGZIP(), []int{7}
  731. }
  732. func (x *Free) GetIsFree() bool {
  733. if x != nil {
  734. return x.IsFree
  735. }
  736. return false
  737. }
  738. func (x *Free) GetFreeHasKey() bool {
  739. if x != nil {
  740. return x.FreeHasKey
  741. }
  742. return false
  743. }
  744. func (x *Free) GetFreeEntPort() int64 {
  745. if x != nil {
  746. return x.FreeEntPort
  747. }
  748. return 0
  749. }
  750. func (x *Free) GetFreeBuyerPort() int64 {
  751. if x != nil {
  752. return x.FreeBuyerPort
  753. }
  754. return 0
  755. }
  756. func (x *Free) GetFreeFile() int64 {
  757. if x != nil {
  758. return x.FreeFile
  759. }
  760. return 0
  761. }
  762. func (x *Free) GetRegistedate() int64 {
  763. if x != nil {
  764. return x.Registedate
  765. }
  766. return 0
  767. }
  768. func (x *Free) GetIsUpgrade() bool {
  769. if x != nil {
  770. return x.IsUpgrade
  771. }
  772. return false
  773. }
  774. func (x *Free) GetMail() string {
  775. if x != nil {
  776. return x.Mail
  777. }
  778. return ""
  779. }
  780. func (x *Free) GetPhone() string {
  781. if x != nil {
  782. return x.Phone
  783. }
  784. return ""
  785. }
  786. func (x *Free) GetTsGuide() int64 {
  787. if x != nil {
  788. return x.TsGuide
  789. }
  790. return 0
  791. }
  792. var File_powerCheck_proto protoreflect.FileDescriptor
  793. var file_powerCheck_proto_rawDesc = []byte{
  794. 0x0a, 0x10, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
  795. 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x04, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72,
  796. 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
  797. 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72,
  798. 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72,
  799. 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
  800. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xd0,
  801. 0x01, 0x0a, 0x08, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61,
  802. 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69,
  803. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  804. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x61, 0x73,
  805. 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62,
  806. 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63,
  807. 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63,
  808. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64,
  809. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a,
  810. 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20,
  811. 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
  812. 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18,
  813. 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49,
  814. 0x64, 0x22, 0xda, 0x01, 0x0a, 0x09, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12,
  815. 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01,
  816. 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x0a, 0x0a,
  817. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  818. 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x76,
  819. 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x56, 0x69, 0x70, 0x52, 0x03,
  820. 0x76, 0x69, 0x70, 0x12, 0x1f, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20,
  821. 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65,
  822. 0x6d, 0x62, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65,
  823. 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x45, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68,
  824. 0x65, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x65,
  825. 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x45, 0x6e, 0x74, 0x52, 0x03,
  826. 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x04, 0x66, 0x72, 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
  827. 0x0b, 0x32, 0x05, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x52, 0x04, 0x66, 0x72, 0x65, 0x65, 0x22, 0xc7,
  828. 0x02, 0x0a, 0x03, 0x56, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
  829. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c,
  830. 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  831. 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
  832. 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65,
  833. 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64,
  834. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65,
  835. 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x65, 0x61, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20,
  836. 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x72, 0x65, 0x61, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28,
  837. 0x0a, 0x0f, 0x62, 0x75, 0x79, 0x65, 0x72, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x63, 0x6f, 0x75, 0x6e,
  838. 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x62, 0x75, 0x79, 0x65, 0x72, 0x63, 0x6c,
  839. 0x61, 0x73, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4b,
  840. 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
  841. 0x6d, 0x61, 0x78, 0x4b, 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09,
  842. 0x70, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
  843. 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x69,
  844. 0x70, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, 0x69,
  845. 0x70, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x75,
  846. 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x75, 0x6d,
  847. 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08,
  848. 0x52, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x22, 0xf4, 0x03, 0x0a, 0x06, 0x4d, 0x65, 0x6d,
  849. 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
  850. 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73,
  851. 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  852. 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64,
  853. 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54,
  854. 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x61, 0x6d,
  855. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e,
  856. 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f, 0x77,
  857. 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0f, 0x6d, 0x65,
  858. 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a,
  859. 0x0d, 0x69, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x06,
  860. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x72,
  861. 0x69, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  862. 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x79, 0x70,
  863. 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f, 0x77, 0x65, 0x72,
  864. 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f,
  865. 0x77, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x75, 0x6e,
  866. 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x73, 0x53, 0x75, 0x62, 0x43, 0x6f,
  867. 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4b, 0x65, 0x79, 0x4c, 0x65, 0x6e,
  868. 0x67, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x4b, 0x65,
  869. 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x4e, 0x75,
  870. 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x12,
  871. 0x16, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52,
  872. 0x06, 0x70, 0x72, 0x6f, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x69, 0x6c, 0x79,
  873. 0x4e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x69, 0x6c, 0x79,
  874. 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73,
  875. 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
  876. 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  877. 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28,
  878. 0x08, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65,
  879. 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x22,
  880. 0xca, 0x01, 0x0a, 0x08, 0x45, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06,
  881. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74,
  882. 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
  883. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,
  884. 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
  885. 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
  886. 0x70, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  887. 0x03, 0x52, 0x0b, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e,
  888. 0x0a, 0x0a, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
  889. 0x28, 0x03, 0x52, 0x0a, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14,
  890. 0x0a, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69,
  891. 0x73, 0x4e, 0x65, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x18, 0x07,
  892. 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x22, 0xf5, 0x02, 0x0a,
  893. 0x03, 0x45, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  894. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x52,
  895. 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74,
  896. 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74,
  897. 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65,
  898. 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d,
  899. 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20,
  900. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x61, 0x73,
  901. 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
  902. 0x62, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62,
  903. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62,
  904. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20,
  905. 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
  906. 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6f, 0x77, 0x65,
  907. 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70,
  908. 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65,
  909. 0x70, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  910. 0x03, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  911. 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x47, 0x44, 0x18, 0x09, 0x20,
  912. 0x01, 0x28, 0x08, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x47, 0x44, 0x12, 0x16,
  913. 0x0a, 0x06, 0x62, 0x75, 0x79, 0x56, 0x69, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  914. 0x62, 0x75, 0x79, 0x56, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x4d, 0x65, 0x6d,
  915. 0x62, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x75, 0x79, 0x4d, 0x65,
  916. 0x6d, 0x62, 0x65, 0x72, 0x22, 0xa6, 0x02, 0x0a, 0x04, 0x46, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a,
  917. 0x06, 0x69, 0x73, 0x46, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69,
  918. 0x73, 0x46, 0x72, 0x65, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x48, 0x61, 0x73,
  919. 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x48,
  920. 0x61, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74,
  921. 0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65,
  922. 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x72, 0x65, 0x65, 0x42,
  923. 0x75, 0x79, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
  924. 0x66, 0x72, 0x65, 0x65, 0x42, 0x75, 0x79, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
  925. 0x08, 0x66, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
  926. 0x08, 0x66, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x67,
  927. 0x69, 0x73, 0x74, 0x65, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
  928. 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69,
  929. 0x73, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
  930. 0x69, 0x73, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x69,
  931. 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a,
  932. 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
  933. 0x6f, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x73, 0x47, 0x75, 0x69, 0x64, 0x65, 0x18, 0x0a,
  934. 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x73, 0x47, 0x75, 0x69, 0x64, 0x65, 0x32, 0x2c, 0x0a,
  935. 0x0a, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1e, 0x0a, 0x05, 0x43,
  936. 0x68, 0x65, 0x63, 0x6b, 0x12, 0x09, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a,
  937. 0x0a, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e,
  938. 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  939. }
  940. var (
  941. file_powerCheck_proto_rawDescOnce sync.Once
  942. file_powerCheck_proto_rawDescData = file_powerCheck_proto_rawDesc
  943. )
  944. func file_powerCheck_proto_rawDescGZIP() []byte {
  945. file_powerCheck_proto_rawDescOnce.Do(func() {
  946. file_powerCheck_proto_rawDescData = protoimpl.X.CompressGZIP(file_powerCheck_proto_rawDescData)
  947. })
  948. return file_powerCheck_proto_rawDescData
  949. }
  950. var file_powerCheck_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  951. var file_powerCheck_proto_goTypes = []interface{}{
  952. (*Resp)(nil), // 0: Resp
  953. (*CheckReq)(nil), // 1: CheckReq
  954. (*CheckResp)(nil), // 2: CheckResp
  955. (*Vip)(nil), // 3: Vip
  956. (*Member)(nil), // 4: Member
  957. (*Entniche)(nil), // 5: Entniche
  958. (*Ent)(nil), // 6: Ent
  959. (*Free)(nil), // 7: Free
  960. }
  961. var file_powerCheck_proto_depIdxs = []int32{
  962. 3, // 0: CheckResp.vip:type_name -> Vip
  963. 4, // 1: CheckResp.member:type_name -> Member
  964. 5, // 2: CheckResp.entniche:type_name -> Entniche
  965. 6, // 3: CheckResp.ent:type_name -> Ent
  966. 7, // 4: CheckResp.free:type_name -> Free
  967. 1, // 5: powerCheck.Check:input_type -> CheckReq
  968. 2, // 6: powerCheck.Check:output_type -> CheckResp
  969. 6, // [6:7] is the sub-list for method output_type
  970. 5, // [5:6] is the sub-list for method input_type
  971. 5, // [5:5] is the sub-list for extension type_name
  972. 5, // [5:5] is the sub-list for extension extendee
  973. 0, // [0:5] is the sub-list for field type_name
  974. }
  975. func init() { file_powerCheck_proto_init() }
  976. func file_powerCheck_proto_init() {
  977. if File_powerCheck_proto != nil {
  978. return
  979. }
  980. if !protoimpl.UnsafeEnabled {
  981. file_powerCheck_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  982. switch v := v.(*Resp); i {
  983. case 0:
  984. return &v.state
  985. case 1:
  986. return &v.sizeCache
  987. case 2:
  988. return &v.unknownFields
  989. default:
  990. return nil
  991. }
  992. }
  993. file_powerCheck_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  994. switch v := v.(*CheckReq); i {
  995. case 0:
  996. return &v.state
  997. case 1:
  998. return &v.sizeCache
  999. case 2:
  1000. return &v.unknownFields
  1001. default:
  1002. return nil
  1003. }
  1004. }
  1005. file_powerCheck_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1006. switch v := v.(*CheckResp); i {
  1007. case 0:
  1008. return &v.state
  1009. case 1:
  1010. return &v.sizeCache
  1011. case 2:
  1012. return &v.unknownFields
  1013. default:
  1014. return nil
  1015. }
  1016. }
  1017. file_powerCheck_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1018. switch v := v.(*Vip); i {
  1019. case 0:
  1020. return &v.state
  1021. case 1:
  1022. return &v.sizeCache
  1023. case 2:
  1024. return &v.unknownFields
  1025. default:
  1026. return nil
  1027. }
  1028. }
  1029. file_powerCheck_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1030. switch v := v.(*Member); i {
  1031. case 0:
  1032. return &v.state
  1033. case 1:
  1034. return &v.sizeCache
  1035. case 2:
  1036. return &v.unknownFields
  1037. default:
  1038. return nil
  1039. }
  1040. }
  1041. file_powerCheck_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1042. switch v := v.(*Entniche); i {
  1043. case 0:
  1044. return &v.state
  1045. case 1:
  1046. return &v.sizeCache
  1047. case 2:
  1048. return &v.unknownFields
  1049. default:
  1050. return nil
  1051. }
  1052. }
  1053. file_powerCheck_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1054. switch v := v.(*Ent); i {
  1055. case 0:
  1056. return &v.state
  1057. case 1:
  1058. return &v.sizeCache
  1059. case 2:
  1060. return &v.unknownFields
  1061. default:
  1062. return nil
  1063. }
  1064. }
  1065. file_powerCheck_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1066. switch v := v.(*Free); i {
  1067. case 0:
  1068. return &v.state
  1069. case 1:
  1070. return &v.sizeCache
  1071. case 2:
  1072. return &v.unknownFields
  1073. default:
  1074. return nil
  1075. }
  1076. }
  1077. }
  1078. type x struct{}
  1079. out := protoimpl.TypeBuilder{
  1080. File: protoimpl.DescBuilder{
  1081. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1082. RawDescriptor: file_powerCheck_proto_rawDesc,
  1083. NumEnums: 0,
  1084. NumMessages: 8,
  1085. NumExtensions: 0,
  1086. NumServices: 1,
  1087. },
  1088. GoTypes: file_powerCheck_proto_goTypes,
  1089. DependencyIndexes: file_powerCheck_proto_depIdxs,
  1090. MessageInfos: file_powerCheck_proto_msgTypes,
  1091. }.Build()
  1092. File_powerCheck_proto = out.File
  1093. file_powerCheck_proto_rawDesc = nil
  1094. file_powerCheck_proto_goTypes = nil
  1095. file_powerCheck_proto_depIdxs = nil
  1096. }