powerCheck.pb.go 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137
  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. }
  665. func (x *Free) Reset() {
  666. *x = Free{}
  667. if protoimpl.UnsafeEnabled {
  668. mi := &file_powerCheck_proto_msgTypes[7]
  669. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  670. ms.StoreMessageInfo(mi)
  671. }
  672. }
  673. func (x *Free) String() string {
  674. return protoimpl.X.MessageStringOf(x)
  675. }
  676. func (*Free) ProtoMessage() {}
  677. func (x *Free) ProtoReflect() protoreflect.Message {
  678. mi := &file_powerCheck_proto_msgTypes[7]
  679. if protoimpl.UnsafeEnabled && x != nil {
  680. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  681. if ms.LoadMessageInfo() == nil {
  682. ms.StoreMessageInfo(mi)
  683. }
  684. return ms
  685. }
  686. return mi.MessageOf(x)
  687. }
  688. // Deprecated: Use Free.ProtoReflect.Descriptor instead.
  689. func (*Free) Descriptor() ([]byte, []int) {
  690. return file_powerCheck_proto_rawDescGZIP(), []int{7}
  691. }
  692. func (x *Free) GetIsFree() bool {
  693. if x != nil {
  694. return x.IsFree
  695. }
  696. return false
  697. }
  698. func (x *Free) GetFreeHasKey() bool {
  699. if x != nil {
  700. return x.FreeHasKey
  701. }
  702. return false
  703. }
  704. func (x *Free) GetFreeEntPort() int64 {
  705. if x != nil {
  706. return x.FreeEntPort
  707. }
  708. return 0
  709. }
  710. func (x *Free) GetFreeBuyerPort() int64 {
  711. if x != nil {
  712. return x.FreeBuyerPort
  713. }
  714. return 0
  715. }
  716. func (x *Free) GetFreeFile() int64 {
  717. if x != nil {
  718. return x.FreeFile
  719. }
  720. return 0
  721. }
  722. var File_powerCheck_proto protoreflect.FileDescriptor
  723. var file_powerCheck_proto_rawDesc = []byte{
  724. 0x0a, 0x10, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
  725. 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x04, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72,
  726. 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
  727. 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72,
  728. 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72,
  729. 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
  730. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x8c,
  731. 0x01, 0x0a, 0x08, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61,
  732. 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69,
  733. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  734. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x61, 0x73,
  735. 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62,
  736. 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63,
  737. 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63,
  738. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64,
  739. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xda, 0x01,
  740. 0x0a, 0x09, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65,
  741. 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  742. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
  743. 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72,
  744. 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x76, 0x69, 0x70, 0x18, 0x03,
  745. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x56, 0x69, 0x70, 0x52, 0x03, 0x76, 0x69, 0x70, 0x12,
  746. 0x1f, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
  747. 0x07, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  748. 0x12, 0x25, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x18, 0x05, 0x20, 0x01,
  749. 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x45, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x52, 0x08, 0x65,
  750. 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x65, 0x6e, 0x74, 0x18, 0x06,
  751. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x45, 0x6e, 0x74, 0x52, 0x03, 0x65, 0x6e, 0x74, 0x12,
  752. 0x19, 0x0a, 0x04, 0x66, 0x72, 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e,
  753. 0x46, 0x72, 0x65, 0x65, 0x52, 0x04, 0x66, 0x72, 0x65, 0x65, 0x22, 0xaf, 0x02, 0x0a, 0x03, 0x56,
  754. 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01,
  755. 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74,
  756. 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73,
  757. 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54,
  758. 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69,
  759. 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x04, 0x20,
  760. 0x01, 0x28, 0x03, 0x52, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  761. 0x61, 0x72, 0x65, 0x61, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
  762. 0x09, 0x61, 0x72, 0x65, 0x61, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x75,
  763. 0x79, 0x65, 0x72, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20,
  764. 0x01, 0x28, 0x03, 0x52, 0x0f, 0x62, 0x75, 0x79, 0x65, 0x72, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x63,
  765. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4b, 0x65, 0x79, 0x4c, 0x65,
  766. 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x4b,
  767. 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6f, 0x77, 0x65,
  768. 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x6f, 0x77,
  769. 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x69, 0x70, 0x50, 0x6f, 0x77,
  770. 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, 0x69, 0x70, 0x50, 0x6f, 0x77,
  771. 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x0a, 0x20,
  772. 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x22, 0xdc, 0x03, 0x0a,
  773. 0x06, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
  774. 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
  775. 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  776. 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a,
  777. 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
  778. 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65,
  779. 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x6d,
  780. 0x62, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x65, 0x6d, 0x62, 0x65,
  781. 0x72, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03,
  782. 0x52, 0x0f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73,
  783. 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x72, 0x69,
  784. 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x73, 0x4d, 0x65, 0x6d, 0x62,
  785. 0x65, 0x72, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72,
  786. 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x6f, 0x77, 0x65,
  787. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50,
  788. 0x6f, 0x77, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x62,
  789. 0x65, 0x72, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x53, 0x75, 0x62,
  790. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x73, 0x53,
  791. 0x75, 0x62, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4b, 0x65,
  792. 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d,
  793. 0x61, 0x78, 0x4b, 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x65,
  794. 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x6e, 0x74,
  795. 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20,
  796. 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x64,
  797. 0x61, 0x69, 0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64,
  798. 0x61, 0x69, 0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x73, 0x74, 0x6f,
  799. 0x6d, 0x65, 0x72, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x75, 0x73, 0x74,
  800. 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01,
  801. 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18,
  802. 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x22, 0xb2, 0x01, 0x0a, 0x08,
  803. 0x45, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
  804. 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
  805. 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
  806. 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18,
  807. 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  808. 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6f, 0x77, 0x65,
  809. 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70,
  810. 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73,
  811. 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
  812. 0x69, 0x73, 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73,
  813. 0x4e, 0x65, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77,
  814. 0x22, 0xf5, 0x02, 0x0a, 0x03, 0x45, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  815. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  816. 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  817. 0x09, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e,
  818. 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  819. 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  820. 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f,
  821. 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68,
  822. 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62,
  823. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e,
  824. 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x65, 0x6e,
  825. 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
  826. 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73,
  827. 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b,
  828. 0x70, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
  829. 0x03, 0x52, 0x0b, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24,
  830. 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18,
  831. 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63,
  832. 0x72, 0x69, 0x62, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x47,
  833. 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
  834. 0x47, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x56, 0x69, 0x70, 0x18, 0x0a, 0x20, 0x01,
  835. 0x28, 0x03, 0x52, 0x06, 0x62, 0x75, 0x79, 0x56, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x75,
  836. 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62,
  837. 0x75, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xa2, 0x01, 0x0a, 0x04, 0x46, 0x72, 0x65,
  838. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x46, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  839. 0x08, 0x52, 0x06, 0x69, 0x73, 0x46, 0x72, 0x65, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65,
  840. 0x65, 0x48, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x66,
  841. 0x72, 0x65, 0x65, 0x48, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65,
  842. 0x65, 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
  843. 0x66, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66,
  844. 0x72, 0x65, 0x65, 0x42, 0x75, 0x79, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01,
  845. 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x65, 0x65, 0x42, 0x75, 0x79, 0x65, 0x72, 0x50, 0x6f, 0x72,
  846. 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20,
  847. 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x32, 0x2c, 0x0a,
  848. 0x0a, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1e, 0x0a, 0x05, 0x43,
  849. 0x68, 0x65, 0x63, 0x6b, 0x12, 0x09, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a,
  850. 0x0a, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e,
  851. 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  852. }
  853. var (
  854. file_powerCheck_proto_rawDescOnce sync.Once
  855. file_powerCheck_proto_rawDescData = file_powerCheck_proto_rawDesc
  856. )
  857. func file_powerCheck_proto_rawDescGZIP() []byte {
  858. file_powerCheck_proto_rawDescOnce.Do(func() {
  859. file_powerCheck_proto_rawDescData = protoimpl.X.CompressGZIP(file_powerCheck_proto_rawDescData)
  860. })
  861. return file_powerCheck_proto_rawDescData
  862. }
  863. var file_powerCheck_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  864. var file_powerCheck_proto_goTypes = []interface{}{
  865. (*Resp)(nil), // 0: Resp
  866. (*CheckReq)(nil), // 1: CheckReq
  867. (*CheckResp)(nil), // 2: CheckResp
  868. (*Vip)(nil), // 3: Vip
  869. (*Member)(nil), // 4: Member
  870. (*Entniche)(nil), // 5: Entniche
  871. (*Ent)(nil), // 6: Ent
  872. (*Free)(nil), // 7: Free
  873. }
  874. var file_powerCheck_proto_depIdxs = []int32{
  875. 3, // 0: CheckResp.vip:type_name -> Vip
  876. 4, // 1: CheckResp.member:type_name -> Member
  877. 5, // 2: CheckResp.entniche:type_name -> Entniche
  878. 6, // 3: CheckResp.ent:type_name -> Ent
  879. 7, // 4: CheckResp.free:type_name -> Free
  880. 1, // 5: powerCheck.Check:input_type -> CheckReq
  881. 2, // 6: powerCheck.Check:output_type -> CheckResp
  882. 6, // [6:7] is the sub-list for method output_type
  883. 5, // [5:6] is the sub-list for method input_type
  884. 5, // [5:5] is the sub-list for extension type_name
  885. 5, // [5:5] is the sub-list for extension extendee
  886. 0, // [0:5] is the sub-list for field type_name
  887. }
  888. func init() { file_powerCheck_proto_init() }
  889. func file_powerCheck_proto_init() {
  890. if File_powerCheck_proto != nil {
  891. return
  892. }
  893. if !protoimpl.UnsafeEnabled {
  894. file_powerCheck_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  895. switch v := v.(*Resp); i {
  896. case 0:
  897. return &v.state
  898. case 1:
  899. return &v.sizeCache
  900. case 2:
  901. return &v.unknownFields
  902. default:
  903. return nil
  904. }
  905. }
  906. file_powerCheck_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  907. switch v := v.(*CheckReq); i {
  908. case 0:
  909. return &v.state
  910. case 1:
  911. return &v.sizeCache
  912. case 2:
  913. return &v.unknownFields
  914. default:
  915. return nil
  916. }
  917. }
  918. file_powerCheck_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  919. switch v := v.(*CheckResp); i {
  920. case 0:
  921. return &v.state
  922. case 1:
  923. return &v.sizeCache
  924. case 2:
  925. return &v.unknownFields
  926. default:
  927. return nil
  928. }
  929. }
  930. file_powerCheck_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  931. switch v := v.(*Vip); 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[4].Exporter = func(v interface{}, i int) interface{} {
  943. switch v := v.(*Member); 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[5].Exporter = func(v interface{}, i int) interface{} {
  955. switch v := v.(*Entniche); 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[6].Exporter = func(v interface{}, i int) interface{} {
  967. switch v := v.(*Ent); 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[7].Exporter = func(v interface{}, i int) interface{} {
  979. switch v := v.(*Free); 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. }
  991. type x struct{}
  992. out := protoimpl.TypeBuilder{
  993. File: protoimpl.DescBuilder{
  994. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  995. RawDescriptor: file_powerCheck_proto_rawDesc,
  996. NumEnums: 0,
  997. NumMessages: 8,
  998. NumExtensions: 0,
  999. NumServices: 1,
  1000. },
  1001. GoTypes: file_powerCheck_proto_goTypes,
  1002. DependencyIndexes: file_powerCheck_proto_depIdxs,
  1003. MessageInfos: file_powerCheck_proto_msgTypes,
  1004. }.Build()
  1005. File_powerCheck_proto = out.File
  1006. file_powerCheck_proto_rawDesc = nil
  1007. file_powerCheck_proto_goTypes = nil
  1008. file_powerCheck_proto_depIdxs = nil
  1009. }