powerCheck.pb.go 40 KB

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