powerCheck.pb.go 39 KB

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