resource.pb.go 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.20.0--rc2
  5. // source: resource.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. type Empower struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. EntUserId int64 `protobuf:"varint,1,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
  24. }
  25. func (x *Empower) Reset() {
  26. *x = Empower{}
  27. if protoimpl.UnsafeEnabled {
  28. mi := &file_resource_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. }
  33. func (x *Empower) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*Empower) ProtoMessage() {}
  37. func (x *Empower) ProtoReflect() protoreflect.Message {
  38. mi := &file_resource_proto_msgTypes[0]
  39. if protoimpl.UnsafeEnabled && x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use Empower.ProtoReflect.Descriptor instead.
  49. func (*Empower) Descriptor() ([]byte, []int) {
  50. return file_resource_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *Empower) GetEntUserId() int64 {
  53. if x != nil {
  54. return x.EntUserId
  55. }
  56. return 0
  57. }
  58. type PowerReq struct {
  59. state protoimpl.MessageState
  60. sizeCache protoimpl.SizeCache
  61. unknownFields protoimpl.UnknownFields
  62. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  63. GoodsCode string `protobuf:"bytes,2,opt,name=goods_code,json=goodsCode,proto3" json:"goods_code,omitempty"` //商品代码
  64. GoodsSpecId int64 `protobuf:"varint,3,opt,name=goods_spec_id,json=goodsSpecId,proto3" json:"goods_spec_id,omitempty"` //商品规格id
  65. EntId int64 `protobuf:"varint,4,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  66. AccountId int64 `protobuf:"varint,5,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //个人/企业员工账户id
  67. BuyNum int64 `protobuf:"varint,6,opt,name=buy_num,json=buyNum,proto3" json:"buy_num,omitempty"` //购买的数量或者购买的份数
  68. Type int64 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"` //操作类型 1:开通权益 -1:取消权益
  69. StartTime string `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` //权益开始时间 格式:2006-01-02 15:04:05
  70. EndTime string `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` //权益到期时间 格式:2006-01-02 15:04:05
  71. EntAccountId int64 `protobuf:"varint,10,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
  72. }
  73. func (x *PowerReq) Reset() {
  74. *x = PowerReq{}
  75. if protoimpl.UnsafeEnabled {
  76. mi := &file_resource_proto_msgTypes[1]
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. ms.StoreMessageInfo(mi)
  79. }
  80. }
  81. func (x *PowerReq) String() string {
  82. return protoimpl.X.MessageStringOf(x)
  83. }
  84. func (*PowerReq) ProtoMessage() {}
  85. func (x *PowerReq) ProtoReflect() protoreflect.Message {
  86. mi := &file_resource_proto_msgTypes[1]
  87. if protoimpl.UnsafeEnabled && x != nil {
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. if ms.LoadMessageInfo() == nil {
  90. ms.StoreMessageInfo(mi)
  91. }
  92. return ms
  93. }
  94. return mi.MessageOf(x)
  95. }
  96. // Deprecated: Use PowerReq.ProtoReflect.Descriptor instead.
  97. func (*PowerReq) Descriptor() ([]byte, []int) {
  98. return file_resource_proto_rawDescGZIP(), []int{1}
  99. }
  100. func (x *PowerReq) GetAppid() string {
  101. if x != nil {
  102. return x.Appid
  103. }
  104. return ""
  105. }
  106. func (x *PowerReq) GetGoodsCode() string {
  107. if x != nil {
  108. return x.GoodsCode
  109. }
  110. return ""
  111. }
  112. func (x *PowerReq) GetGoodsSpecId() int64 {
  113. if x != nil {
  114. return x.GoodsSpecId
  115. }
  116. return 0
  117. }
  118. func (x *PowerReq) GetEntId() int64 {
  119. if x != nil {
  120. return x.EntId
  121. }
  122. return 0
  123. }
  124. func (x *PowerReq) GetAccountId() int64 {
  125. if x != nil {
  126. return x.AccountId
  127. }
  128. return 0
  129. }
  130. func (x *PowerReq) GetBuyNum() int64 {
  131. if x != nil {
  132. return x.BuyNum
  133. }
  134. return 0
  135. }
  136. func (x *PowerReq) GetType() int64 {
  137. if x != nil {
  138. return x.Type
  139. }
  140. return 0
  141. }
  142. func (x *PowerReq) GetStartTime() string {
  143. if x != nil {
  144. return x.StartTime
  145. }
  146. return ""
  147. }
  148. func (x *PowerReq) GetEndTime() string {
  149. if x != nil {
  150. return x.EndTime
  151. }
  152. return ""
  153. }
  154. func (x *PowerReq) GetEntAccountId() int64 {
  155. if x != nil {
  156. return x.EntAccountId
  157. }
  158. return 0
  159. }
  160. type CheckPowerReq struct {
  161. state protoimpl.MessageState
  162. sizeCache protoimpl.SizeCache
  163. unknownFields protoimpl.UnknownFields
  164. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  165. FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
  166. AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
  167. EntAccountId int64 `protobuf:"varint,4,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
  168. EntId int64 `protobuf:"varint,5,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  169. EntUserId int64 `protobuf:"varint,6,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
  170. }
  171. func (x *CheckPowerReq) Reset() {
  172. *x = CheckPowerReq{}
  173. if protoimpl.UnsafeEnabled {
  174. mi := &file_resource_proto_msgTypes[2]
  175. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  176. ms.StoreMessageInfo(mi)
  177. }
  178. }
  179. func (x *CheckPowerReq) String() string {
  180. return protoimpl.X.MessageStringOf(x)
  181. }
  182. func (*CheckPowerReq) ProtoMessage() {}
  183. func (x *CheckPowerReq) ProtoReflect() protoreflect.Message {
  184. mi := &file_resource_proto_msgTypes[2]
  185. if protoimpl.UnsafeEnabled && x != nil {
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. if ms.LoadMessageInfo() == nil {
  188. ms.StoreMessageInfo(mi)
  189. }
  190. return ms
  191. }
  192. return mi.MessageOf(x)
  193. }
  194. // Deprecated: Use CheckPowerReq.ProtoReflect.Descriptor instead.
  195. func (*CheckPowerReq) Descriptor() ([]byte, []int) {
  196. return file_resource_proto_rawDescGZIP(), []int{2}
  197. }
  198. func (x *CheckPowerReq) GetAppid() string {
  199. if x != nil {
  200. return x.Appid
  201. }
  202. return ""
  203. }
  204. func (x *CheckPowerReq) GetFunctionCode() string {
  205. if x != nil {
  206. return x.FunctionCode
  207. }
  208. return ""
  209. }
  210. func (x *CheckPowerReq) GetAccountId() int64 {
  211. if x != nil {
  212. return x.AccountId
  213. }
  214. return 0
  215. }
  216. func (x *CheckPowerReq) GetEntAccountId() int64 {
  217. if x != nil {
  218. return x.EntAccountId
  219. }
  220. return 0
  221. }
  222. func (x *CheckPowerReq) GetEntId() int64 {
  223. if x != nil {
  224. return x.EntId
  225. }
  226. return 0
  227. }
  228. func (x *CheckPowerReq) GetEntUserId() int64 {
  229. if x != nil {
  230. return x.EntUserId
  231. }
  232. return 0
  233. }
  234. type DeductionReq struct {
  235. state protoimpl.MessageState
  236. sizeCache protoimpl.SizeCache
  237. unknownFields protoimpl.UnknownFields
  238. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  239. FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
  240. AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
  241. EntAccountId int64 `protobuf:"varint,4,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
  242. Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` //扣除数量
  243. Ids []string `protobuf:"bytes,6,rep,name=ids,proto3" json:"ids,omitempty"` //id列表
  244. }
  245. func (x *DeductionReq) Reset() {
  246. *x = DeductionReq{}
  247. if protoimpl.UnsafeEnabled {
  248. mi := &file_resource_proto_msgTypes[3]
  249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  250. ms.StoreMessageInfo(mi)
  251. }
  252. }
  253. func (x *DeductionReq) String() string {
  254. return protoimpl.X.MessageStringOf(x)
  255. }
  256. func (*DeductionReq) ProtoMessage() {}
  257. func (x *DeductionReq) ProtoReflect() protoreflect.Message {
  258. mi := &file_resource_proto_msgTypes[3]
  259. if protoimpl.UnsafeEnabled && x != nil {
  260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  261. if ms.LoadMessageInfo() == nil {
  262. ms.StoreMessageInfo(mi)
  263. }
  264. return ms
  265. }
  266. return mi.MessageOf(x)
  267. }
  268. // Deprecated: Use DeductionReq.ProtoReflect.Descriptor instead.
  269. func (*DeductionReq) Descriptor() ([]byte, []int) {
  270. return file_resource_proto_rawDescGZIP(), []int{3}
  271. }
  272. func (x *DeductionReq) GetAppid() string {
  273. if x != nil {
  274. return x.Appid
  275. }
  276. return ""
  277. }
  278. func (x *DeductionReq) GetFunctionCode() string {
  279. if x != nil {
  280. return x.FunctionCode
  281. }
  282. return ""
  283. }
  284. func (x *DeductionReq) GetAccountId() int64 {
  285. if x != nil {
  286. return x.AccountId
  287. }
  288. return 0
  289. }
  290. func (x *DeductionReq) GetEntAccountId() int64 {
  291. if x != nil {
  292. return x.EntAccountId
  293. }
  294. return 0
  295. }
  296. func (x *DeductionReq) GetCount() int64 {
  297. if x != nil {
  298. return x.Count
  299. }
  300. return 0
  301. }
  302. func (x *DeductionReq) GetIds() []string {
  303. if x != nil {
  304. return x.Ids
  305. }
  306. return nil
  307. }
  308. type RechargeReq struct {
  309. state protoimpl.MessageState
  310. sizeCache protoimpl.SizeCache
  311. unknownFields protoimpl.UnknownFields
  312. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  313. FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
  314. AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
  315. EntAccountId int64 `protobuf:"varint,4,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
  316. Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` //充值数量
  317. Ids []string `protobuf:"bytes,6,rep,name=ids,proto3" json:"ids,omitempty"` //id列表
  318. }
  319. func (x *RechargeReq) Reset() {
  320. *x = RechargeReq{}
  321. if protoimpl.UnsafeEnabled {
  322. mi := &file_resource_proto_msgTypes[4]
  323. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  324. ms.StoreMessageInfo(mi)
  325. }
  326. }
  327. func (x *RechargeReq) String() string {
  328. return protoimpl.X.MessageStringOf(x)
  329. }
  330. func (*RechargeReq) ProtoMessage() {}
  331. func (x *RechargeReq) ProtoReflect() protoreflect.Message {
  332. mi := &file_resource_proto_msgTypes[4]
  333. if protoimpl.UnsafeEnabled && x != nil {
  334. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  335. if ms.LoadMessageInfo() == nil {
  336. ms.StoreMessageInfo(mi)
  337. }
  338. return ms
  339. }
  340. return mi.MessageOf(x)
  341. }
  342. // Deprecated: Use RechargeReq.ProtoReflect.Descriptor instead.
  343. func (*RechargeReq) Descriptor() ([]byte, []int) {
  344. return file_resource_proto_rawDescGZIP(), []int{4}
  345. }
  346. func (x *RechargeReq) GetAppid() string {
  347. if x != nil {
  348. return x.Appid
  349. }
  350. return ""
  351. }
  352. func (x *RechargeReq) GetFunctionCode() string {
  353. if x != nil {
  354. return x.FunctionCode
  355. }
  356. return ""
  357. }
  358. func (x *RechargeReq) GetAccountId() int64 {
  359. if x != nil {
  360. return x.AccountId
  361. }
  362. return 0
  363. }
  364. func (x *RechargeReq) GetEntAccountId() int64 {
  365. if x != nil {
  366. return x.EntAccountId
  367. }
  368. return 0
  369. }
  370. func (x *RechargeReq) GetCount() int64 {
  371. if x != nil {
  372. return x.Count
  373. }
  374. return 0
  375. }
  376. func (x *RechargeReq) GetIds() []string {
  377. if x != nil {
  378. return x.Ids
  379. }
  380. return nil
  381. }
  382. type EmpowerReq struct {
  383. state protoimpl.MessageState
  384. sizeCache protoimpl.SizeCache
  385. unknownFields protoimpl.UnknownFields
  386. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  387. FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
  388. EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  389. EntUserId []int64 `protobuf:"varint,4,rep,packed,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
  390. }
  391. func (x *EmpowerReq) Reset() {
  392. *x = EmpowerReq{}
  393. if protoimpl.UnsafeEnabled {
  394. mi := &file_resource_proto_msgTypes[5]
  395. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  396. ms.StoreMessageInfo(mi)
  397. }
  398. }
  399. func (x *EmpowerReq) String() string {
  400. return protoimpl.X.MessageStringOf(x)
  401. }
  402. func (*EmpowerReq) ProtoMessage() {}
  403. func (x *EmpowerReq) ProtoReflect() protoreflect.Message {
  404. mi := &file_resource_proto_msgTypes[5]
  405. if protoimpl.UnsafeEnabled && x != nil {
  406. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  407. if ms.LoadMessageInfo() == nil {
  408. ms.StoreMessageInfo(mi)
  409. }
  410. return ms
  411. }
  412. return mi.MessageOf(x)
  413. }
  414. // Deprecated: Use EmpowerReq.ProtoReflect.Descriptor instead.
  415. func (*EmpowerReq) Descriptor() ([]byte, []int) {
  416. return file_resource_proto_rawDescGZIP(), []int{5}
  417. }
  418. func (x *EmpowerReq) GetAppid() string {
  419. if x != nil {
  420. return x.Appid
  421. }
  422. return ""
  423. }
  424. func (x *EmpowerReq) GetFunctionCode() string {
  425. if x != nil {
  426. return x.FunctionCode
  427. }
  428. return ""
  429. }
  430. func (x *EmpowerReq) GetEntId() int64 {
  431. if x != nil {
  432. return x.EntId
  433. }
  434. return 0
  435. }
  436. func (x *EmpowerReq) GetEntUserId() []int64 {
  437. if x != nil {
  438. return x.EntUserId
  439. }
  440. return nil
  441. }
  442. type EmpowerAllReq struct {
  443. state protoimpl.MessageState
  444. sizeCache protoimpl.SizeCache
  445. unknownFields protoimpl.UnknownFields
  446. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  447. FunctionModule string `protobuf:"bytes,2,opt,name=function_module,json=functionModule,proto3" json:"function_module,omitempty"` //功能分类
  448. EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  449. EntUserId []int64 `protobuf:"varint,4,rep,packed,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
  450. }
  451. func (x *EmpowerAllReq) Reset() {
  452. *x = EmpowerAllReq{}
  453. if protoimpl.UnsafeEnabled {
  454. mi := &file_resource_proto_msgTypes[6]
  455. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  456. ms.StoreMessageInfo(mi)
  457. }
  458. }
  459. func (x *EmpowerAllReq) String() string {
  460. return protoimpl.X.MessageStringOf(x)
  461. }
  462. func (*EmpowerAllReq) ProtoMessage() {}
  463. func (x *EmpowerAllReq) ProtoReflect() protoreflect.Message {
  464. mi := &file_resource_proto_msgTypes[6]
  465. if protoimpl.UnsafeEnabled && x != nil {
  466. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  467. if ms.LoadMessageInfo() == nil {
  468. ms.StoreMessageInfo(mi)
  469. }
  470. return ms
  471. }
  472. return mi.MessageOf(x)
  473. }
  474. // Deprecated: Use EmpowerAllReq.ProtoReflect.Descriptor instead.
  475. func (*EmpowerAllReq) Descriptor() ([]byte, []int) {
  476. return file_resource_proto_rawDescGZIP(), []int{6}
  477. }
  478. func (x *EmpowerAllReq) GetAppid() string {
  479. if x != nil {
  480. return x.Appid
  481. }
  482. return ""
  483. }
  484. func (x *EmpowerAllReq) GetFunctionModule() string {
  485. if x != nil {
  486. return x.FunctionModule
  487. }
  488. return ""
  489. }
  490. func (x *EmpowerAllReq) GetEntId() int64 {
  491. if x != nil {
  492. return x.EntId
  493. }
  494. return 0
  495. }
  496. func (x *EmpowerAllReq) GetEntUserId() []int64 {
  497. if x != nil {
  498. return x.EntUserId
  499. }
  500. return nil
  501. }
  502. type EmpowerListReq struct {
  503. state protoimpl.MessageState
  504. sizeCache protoimpl.SizeCache
  505. unknownFields protoimpl.UnknownFields
  506. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  507. FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
  508. EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  509. PageNum int64 `protobuf:"varint,4,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` //开始页码,小于1的话,返回所有数据,不进行分页
  510. PageSize int64 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` //每页大小
  511. }
  512. func (x *EmpowerListReq) Reset() {
  513. *x = EmpowerListReq{}
  514. if protoimpl.UnsafeEnabled {
  515. mi := &file_resource_proto_msgTypes[7]
  516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  517. ms.StoreMessageInfo(mi)
  518. }
  519. }
  520. func (x *EmpowerListReq) String() string {
  521. return protoimpl.X.MessageStringOf(x)
  522. }
  523. func (*EmpowerListReq) ProtoMessage() {}
  524. func (x *EmpowerListReq) ProtoReflect() protoreflect.Message {
  525. mi := &file_resource_proto_msgTypes[7]
  526. if protoimpl.UnsafeEnabled && x != nil {
  527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  528. if ms.LoadMessageInfo() == nil {
  529. ms.StoreMessageInfo(mi)
  530. }
  531. return ms
  532. }
  533. return mi.MessageOf(x)
  534. }
  535. // Deprecated: Use EmpowerListReq.ProtoReflect.Descriptor instead.
  536. func (*EmpowerListReq) Descriptor() ([]byte, []int) {
  537. return file_resource_proto_rawDescGZIP(), []int{7}
  538. }
  539. func (x *EmpowerListReq) GetAppid() string {
  540. if x != nil {
  541. return x.Appid
  542. }
  543. return ""
  544. }
  545. func (x *EmpowerListReq) GetFunctionCode() string {
  546. if x != nil {
  547. return x.FunctionCode
  548. }
  549. return ""
  550. }
  551. func (x *EmpowerListReq) GetEntId() int64 {
  552. if x != nil {
  553. return x.EntId
  554. }
  555. return 0
  556. }
  557. func (x *EmpowerListReq) GetPageNum() int64 {
  558. if x != nil {
  559. return x.PageNum
  560. }
  561. return 0
  562. }
  563. func (x *EmpowerListReq) GetPageSize() int64 {
  564. if x != nil {
  565. return x.PageSize
  566. }
  567. return 0
  568. }
  569. type EmpowerListResp struct {
  570. state protoimpl.MessageState
  571. sizeCache protoimpl.SizeCache
  572. unknownFields protoimpl.UnknownFields
  573. Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` //总条数,只有第一页的时候才返回, 如果企业下所有人都有权限返回-1
  574. List []*Empower `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //列表,如果企业下所有人都有权限,返回空数组
  575. }
  576. func (x *EmpowerListResp) Reset() {
  577. *x = EmpowerListResp{}
  578. if protoimpl.UnsafeEnabled {
  579. mi := &file_resource_proto_msgTypes[8]
  580. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  581. ms.StoreMessageInfo(mi)
  582. }
  583. }
  584. func (x *EmpowerListResp) String() string {
  585. return protoimpl.X.MessageStringOf(x)
  586. }
  587. func (*EmpowerListResp) ProtoMessage() {}
  588. func (x *EmpowerListResp) ProtoReflect() protoreflect.Message {
  589. mi := &file_resource_proto_msgTypes[8]
  590. if protoimpl.UnsafeEnabled && x != nil {
  591. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  592. if ms.LoadMessageInfo() == nil {
  593. ms.StoreMessageInfo(mi)
  594. }
  595. return ms
  596. }
  597. return mi.MessageOf(x)
  598. }
  599. // Deprecated: Use EmpowerListResp.ProtoReflect.Descriptor instead.
  600. func (*EmpowerListResp) Descriptor() ([]byte, []int) {
  601. return file_resource_proto_rawDescGZIP(), []int{8}
  602. }
  603. func (x *EmpowerListResp) GetCount() int64 {
  604. if x != nil {
  605. return x.Count
  606. }
  607. return 0
  608. }
  609. func (x *EmpowerListResp) GetList() []*Empower {
  610. if x != nil {
  611. return x.List
  612. }
  613. return nil
  614. }
  615. type Resp struct {
  616. state protoimpl.MessageState
  617. sizeCache protoimpl.SizeCache
  618. unknownFields protoimpl.UnknownFields
  619. Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` //0:失败 1:成功 -1:不在有效期内 -2:数量不足 -3:没有授权 -4:超额
  620. UseCount int64 `protobuf:"varint,2,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"` //使用数量
  621. SurplusCount int64 `protobuf:"varint,3,opt,name=surplus_count,json=surplusCount,proto3" json:"surplus_count,omitempty"` //剩余数量
  622. StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` //权益开始时间
  623. EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` //权益到期时间
  624. }
  625. func (x *Resp) Reset() {
  626. *x = Resp{}
  627. if protoimpl.UnsafeEnabled {
  628. mi := &file_resource_proto_msgTypes[9]
  629. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  630. ms.StoreMessageInfo(mi)
  631. }
  632. }
  633. func (x *Resp) String() string {
  634. return protoimpl.X.MessageStringOf(x)
  635. }
  636. func (*Resp) ProtoMessage() {}
  637. func (x *Resp) ProtoReflect() protoreflect.Message {
  638. mi := &file_resource_proto_msgTypes[9]
  639. if protoimpl.UnsafeEnabled && x != nil {
  640. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  641. if ms.LoadMessageInfo() == nil {
  642. ms.StoreMessageInfo(mi)
  643. }
  644. return ms
  645. }
  646. return mi.MessageOf(x)
  647. }
  648. // Deprecated: Use Resp.ProtoReflect.Descriptor instead.
  649. func (*Resp) Descriptor() ([]byte, []int) {
  650. return file_resource_proto_rawDescGZIP(), []int{9}
  651. }
  652. func (x *Resp) GetStatus() int64 {
  653. if x != nil {
  654. return x.Status
  655. }
  656. return 0
  657. }
  658. func (x *Resp) GetUseCount() int64 {
  659. if x != nil {
  660. return x.UseCount
  661. }
  662. return 0
  663. }
  664. func (x *Resp) GetSurplusCount() int64 {
  665. if x != nil {
  666. return x.SurplusCount
  667. }
  668. return 0
  669. }
  670. func (x *Resp) GetStartTime() string {
  671. if x != nil {
  672. return x.StartTime
  673. }
  674. return ""
  675. }
  676. func (x *Resp) GetEndTime() string {
  677. if x != nil {
  678. return x.EndTime
  679. }
  680. return ""
  681. }
  682. type HaspowersReq struct {
  683. state protoimpl.MessageState
  684. sizeCache protoimpl.SizeCache
  685. unknownFields protoimpl.UnknownFields
  686. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  687. AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
  688. EntAccountId int64 `protobuf:"varint,3,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
  689. EntId int64 `protobuf:"varint,4,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  690. EntUserId int64 `protobuf:"varint,5,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
  691. }
  692. func (x *HaspowersReq) Reset() {
  693. *x = HaspowersReq{}
  694. if protoimpl.UnsafeEnabled {
  695. mi := &file_resource_proto_msgTypes[10]
  696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  697. ms.StoreMessageInfo(mi)
  698. }
  699. }
  700. func (x *HaspowersReq) String() string {
  701. return protoimpl.X.MessageStringOf(x)
  702. }
  703. func (*HaspowersReq) ProtoMessage() {}
  704. func (x *HaspowersReq) ProtoReflect() protoreflect.Message {
  705. mi := &file_resource_proto_msgTypes[10]
  706. if protoimpl.UnsafeEnabled && x != nil {
  707. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  708. if ms.LoadMessageInfo() == nil {
  709. ms.StoreMessageInfo(mi)
  710. }
  711. return ms
  712. }
  713. return mi.MessageOf(x)
  714. }
  715. // Deprecated: Use HaspowersReq.ProtoReflect.Descriptor instead.
  716. func (*HaspowersReq) Descriptor() ([]byte, []int) {
  717. return file_resource_proto_rawDescGZIP(), []int{10}
  718. }
  719. func (x *HaspowersReq) GetAppid() string {
  720. if x != nil {
  721. return x.Appid
  722. }
  723. return ""
  724. }
  725. func (x *HaspowersReq) GetAccountId() int64 {
  726. if x != nil {
  727. return x.AccountId
  728. }
  729. return 0
  730. }
  731. func (x *HaspowersReq) GetEntAccountId() int64 {
  732. if x != nil {
  733. return x.EntAccountId
  734. }
  735. return 0
  736. }
  737. func (x *HaspowersReq) GetEntId() int64 {
  738. if x != nil {
  739. return x.EntId
  740. }
  741. return 0
  742. }
  743. func (x *HaspowersReq) GetEntUserId() int64 {
  744. if x != nil {
  745. return x.EntUserId
  746. }
  747. return 0
  748. }
  749. type HaspowersResp struct {
  750. state protoimpl.MessageState
  751. sizeCache protoimpl.SizeCache
  752. unknownFields protoimpl.UnknownFields
  753. Powers []string `protobuf:"bytes,1,rep,name=powers,proto3" json:"powers,omitempty"` //所有权益
  754. }
  755. func (x *HaspowersResp) Reset() {
  756. *x = HaspowersResp{}
  757. if protoimpl.UnsafeEnabled {
  758. mi := &file_resource_proto_msgTypes[11]
  759. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  760. ms.StoreMessageInfo(mi)
  761. }
  762. }
  763. func (x *HaspowersResp) String() string {
  764. return protoimpl.X.MessageStringOf(x)
  765. }
  766. func (*HaspowersResp) ProtoMessage() {}
  767. func (x *HaspowersResp) ProtoReflect() protoreflect.Message {
  768. mi := &file_resource_proto_msgTypes[11]
  769. if protoimpl.UnsafeEnabled && x != nil {
  770. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  771. if ms.LoadMessageInfo() == nil {
  772. ms.StoreMessageInfo(mi)
  773. }
  774. return ms
  775. }
  776. return mi.MessageOf(x)
  777. }
  778. // Deprecated: Use HaspowersResp.ProtoReflect.Descriptor instead.
  779. func (*HaspowersResp) Descriptor() ([]byte, []int) {
  780. return file_resource_proto_rawDescGZIP(), []int{11}
  781. }
  782. func (x *HaspowersResp) GetPowers() []string {
  783. if x != nil {
  784. return x.Powers
  785. }
  786. return nil
  787. }
  788. type WaitEmpowerDetailReq struct {
  789. state protoimpl.MessageState
  790. sizeCache protoimpl.SizeCache
  791. unknownFields protoimpl.UnknownFields
  792. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  793. FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
  794. EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  795. }
  796. func (x *WaitEmpowerDetailReq) Reset() {
  797. *x = WaitEmpowerDetailReq{}
  798. if protoimpl.UnsafeEnabled {
  799. mi := &file_resource_proto_msgTypes[12]
  800. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  801. ms.StoreMessageInfo(mi)
  802. }
  803. }
  804. func (x *WaitEmpowerDetailReq) String() string {
  805. return protoimpl.X.MessageStringOf(x)
  806. }
  807. func (*WaitEmpowerDetailReq) ProtoMessage() {}
  808. func (x *WaitEmpowerDetailReq) ProtoReflect() protoreflect.Message {
  809. mi := &file_resource_proto_msgTypes[12]
  810. if protoimpl.UnsafeEnabled && x != nil {
  811. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  812. if ms.LoadMessageInfo() == nil {
  813. ms.StoreMessageInfo(mi)
  814. }
  815. return ms
  816. }
  817. return mi.MessageOf(x)
  818. }
  819. // Deprecated: Use WaitEmpowerDetailReq.ProtoReflect.Descriptor instead.
  820. func (*WaitEmpowerDetailReq) Descriptor() ([]byte, []int) {
  821. return file_resource_proto_rawDescGZIP(), []int{12}
  822. }
  823. func (x *WaitEmpowerDetailReq) GetAppid() string {
  824. if x != nil {
  825. return x.Appid
  826. }
  827. return ""
  828. }
  829. func (x *WaitEmpowerDetailReq) GetFunctionCode() string {
  830. if x != nil {
  831. return x.FunctionCode
  832. }
  833. return ""
  834. }
  835. func (x *WaitEmpowerDetailReq) GetEntId() int64 {
  836. if x != nil {
  837. return x.EntId
  838. }
  839. return 0
  840. }
  841. type WaitEmpowerDetailBySpecIdReq struct {
  842. state protoimpl.MessageState
  843. sizeCache protoimpl.SizeCache
  844. unknownFields protoimpl.UnknownFields
  845. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
  846. SpecId int64 `protobuf:"varint,2,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` //功能代码
  847. EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
  848. }
  849. func (x *WaitEmpowerDetailBySpecIdReq) Reset() {
  850. *x = WaitEmpowerDetailBySpecIdReq{}
  851. if protoimpl.UnsafeEnabled {
  852. mi := &file_resource_proto_msgTypes[13]
  853. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  854. ms.StoreMessageInfo(mi)
  855. }
  856. }
  857. func (x *WaitEmpowerDetailBySpecIdReq) String() string {
  858. return protoimpl.X.MessageStringOf(x)
  859. }
  860. func (*WaitEmpowerDetailBySpecIdReq) ProtoMessage() {}
  861. func (x *WaitEmpowerDetailBySpecIdReq) ProtoReflect() protoreflect.Message {
  862. mi := &file_resource_proto_msgTypes[13]
  863. if protoimpl.UnsafeEnabled && x != nil {
  864. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  865. if ms.LoadMessageInfo() == nil {
  866. ms.StoreMessageInfo(mi)
  867. }
  868. return ms
  869. }
  870. return mi.MessageOf(x)
  871. }
  872. // Deprecated: Use WaitEmpowerDetailBySpecIdReq.ProtoReflect.Descriptor instead.
  873. func (*WaitEmpowerDetailBySpecIdReq) Descriptor() ([]byte, []int) {
  874. return file_resource_proto_rawDescGZIP(), []int{13}
  875. }
  876. func (x *WaitEmpowerDetailBySpecIdReq) GetAppid() string {
  877. if x != nil {
  878. return x.Appid
  879. }
  880. return ""
  881. }
  882. func (x *WaitEmpowerDetailBySpecIdReq) GetSpecId() int64 {
  883. if x != nil {
  884. return x.SpecId
  885. }
  886. return 0
  887. }
  888. func (x *WaitEmpowerDetailBySpecIdReq) GetEntId() int64 {
  889. if x != nil {
  890. return x.EntId
  891. }
  892. return 0
  893. }
  894. type WaitEmpowerDetailsResp struct {
  895. state protoimpl.MessageState
  896. sizeCache protoimpl.SizeCache
  897. unknownFields protoimpl.UnknownFields
  898. WaitEmpowerDetails []*WaitEmpowerDetailResp `protobuf:"bytes,1,rep,name=waitEmpowerDetails,proto3" json:"waitEmpowerDetails,omitempty"`
  899. }
  900. func (x *WaitEmpowerDetailsResp) Reset() {
  901. *x = WaitEmpowerDetailsResp{}
  902. if protoimpl.UnsafeEnabled {
  903. mi := &file_resource_proto_msgTypes[14]
  904. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  905. ms.StoreMessageInfo(mi)
  906. }
  907. }
  908. func (x *WaitEmpowerDetailsResp) String() string {
  909. return protoimpl.X.MessageStringOf(x)
  910. }
  911. func (*WaitEmpowerDetailsResp) ProtoMessage() {}
  912. func (x *WaitEmpowerDetailsResp) ProtoReflect() protoreflect.Message {
  913. mi := &file_resource_proto_msgTypes[14]
  914. if protoimpl.UnsafeEnabled && x != nil {
  915. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  916. if ms.LoadMessageInfo() == nil {
  917. ms.StoreMessageInfo(mi)
  918. }
  919. return ms
  920. }
  921. return mi.MessageOf(x)
  922. }
  923. // Deprecated: Use WaitEmpowerDetailsResp.ProtoReflect.Descriptor instead.
  924. func (*WaitEmpowerDetailsResp) Descriptor() ([]byte, []int) {
  925. return file_resource_proto_rawDescGZIP(), []int{14}
  926. }
  927. func (x *WaitEmpowerDetailsResp) GetWaitEmpowerDetails() []*WaitEmpowerDetailResp {
  928. if x != nil {
  929. return x.WaitEmpowerDetails
  930. }
  931. return nil
  932. }
  933. type WaitEmpowerDetailResp struct {
  934. state protoimpl.MessageState
  935. sizeCache protoimpl.SizeCache
  936. unknownFields protoimpl.UnknownFields
  937. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
  938. StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` //开始时间
  939. EndTime string `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` //结束时间
  940. EmpowerCount int64 `protobuf:"varint,4,opt,name=empower_count,json=empowerCount,proto3" json:"empower_count,omitempty"` //授权数量
  941. UseCount int64 `protobuf:"varint,5,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"` //使用数量
  942. LimitStrategy string `protobuf:"bytes,6,opt,name=limit_strategy,json=limitStrategy,proto3" json:"limit_strategy,omitempty"` //频率限制
  943. }
  944. func (x *WaitEmpowerDetailResp) Reset() {
  945. *x = WaitEmpowerDetailResp{}
  946. if protoimpl.UnsafeEnabled {
  947. mi := &file_resource_proto_msgTypes[15]
  948. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  949. ms.StoreMessageInfo(mi)
  950. }
  951. }
  952. func (x *WaitEmpowerDetailResp) String() string {
  953. return protoimpl.X.MessageStringOf(x)
  954. }
  955. func (*WaitEmpowerDetailResp) ProtoMessage() {}
  956. func (x *WaitEmpowerDetailResp) ProtoReflect() protoreflect.Message {
  957. mi := &file_resource_proto_msgTypes[15]
  958. if protoimpl.UnsafeEnabled && x != nil {
  959. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  960. if ms.LoadMessageInfo() == nil {
  961. ms.StoreMessageInfo(mi)
  962. }
  963. return ms
  964. }
  965. return mi.MessageOf(x)
  966. }
  967. // Deprecated: Use WaitEmpowerDetailResp.ProtoReflect.Descriptor instead.
  968. func (*WaitEmpowerDetailResp) Descriptor() ([]byte, []int) {
  969. return file_resource_proto_rawDescGZIP(), []int{15}
  970. }
  971. func (x *WaitEmpowerDetailResp) GetId() int64 {
  972. if x != nil {
  973. return x.Id
  974. }
  975. return 0
  976. }
  977. func (x *WaitEmpowerDetailResp) GetStartTime() string {
  978. if x != nil {
  979. return x.StartTime
  980. }
  981. return ""
  982. }
  983. func (x *WaitEmpowerDetailResp) GetEndTime() string {
  984. if x != nil {
  985. return x.EndTime
  986. }
  987. return ""
  988. }
  989. func (x *WaitEmpowerDetailResp) GetEmpowerCount() int64 {
  990. if x != nil {
  991. return x.EmpowerCount
  992. }
  993. return 0
  994. }
  995. func (x *WaitEmpowerDetailResp) GetUseCount() int64 {
  996. if x != nil {
  997. return x.UseCount
  998. }
  999. return 0
  1000. }
  1001. func (x *WaitEmpowerDetailResp) GetLimitStrategy() string {
  1002. if x != nil {
  1003. return x.LimitStrategy
  1004. }
  1005. return ""
  1006. }
  1007. var File_resource_proto protoreflect.FileDescriptor
  1008. var file_resource_proto_rawDesc = []byte{
  1009. 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1010. 0x22, 0x29, 0x0a, 0x07, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0b, 0x65,
  1011. 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1012. 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xa6, 0x02, 0x0a, 0x08,
  1013. 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69,
  1014. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1d,
  1015. 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
  1016. 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a,
  1017. 0x0d, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03,
  1018. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x53, 0x70, 0x65, 0x63, 0x49,
  1019. 0x64, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
  1020. 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f,
  1021. 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63,
  1022. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x75, 0x79, 0x5f, 0x6e,
  1023. 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x62, 0x75, 0x79, 0x4e, 0x75, 0x6d,
  1024. 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
  1025. 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69,
  1026. 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
  1027. 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
  1028. 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24,
  1029. 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64,
  1030. 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75,
  1031. 0x6e, 0x74, 0x49, 0x64, 0x22, 0xc6, 0x01, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f,
  1032. 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1033. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d,
  1034. 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
  1035. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64,
  1036. 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
  1037. 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
  1038. 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
  1039. 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63,
  1040. 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
  1041. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a,
  1042. 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01,
  1043. 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xb6, 0x01,
  1044. 0x0a, 0x0c, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14,
  1045. 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61,
  1046. 0x70, 0x70, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1047. 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e,
  1048. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63,
  1049. 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61,
  1050. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f,
  1051. 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
  1052. 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14,
  1053. 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
  1054. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
  1055. 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x68, 0x61,
  1056. 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
  1057. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d,
  1058. 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
  1059. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64,
  1060. 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
  1061. 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
  1062. 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
  1063. 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63,
  1064. 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  1065. 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
  1066. 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x7e,
  1067. 0x0a, 0x0a, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05,
  1068. 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
  1069. 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,
  1070. 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74,
  1071. 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69,
  1072. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e,
  1073. 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
  1074. 0x03, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x85,
  1075. 0x01, 0x0a, 0x0d, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71,
  1076. 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1077. 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
  1078. 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1079. 0x0e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12,
  1080. 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  1081. 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73,
  1082. 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74,
  1083. 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x45, 0x6d, 0x70, 0x6f, 0x77,
  1084. 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
  1085. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
  1086. 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65,
  1087. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1088. 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03,
  1089. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70,
  1090. 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x70,
  1091. 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,
  1092. 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
  1093. 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x0f, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69,
  1094. 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  1095. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x04,
  1096. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x45, 0x6d, 0x70,
  1097. 0x6f, 0x77, 0x65, 0x72, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x04, 0x52,
  1098. 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
  1099. 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x75,
  1100. 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
  1101. 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x72, 0x70,
  1102. 0x6c, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  1103. 0x0c, 0x73, 0x75, 0x72, 0x70, 0x6c, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a,
  1104. 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  1105. 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08,
  1106. 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1107. 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x48, 0x61, 0x73, 0x70,
  1108. 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69,
  1109. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1d,
  1110. 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  1111. 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a,
  1112. 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
  1113. 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
  1114. 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
  1115. 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x65, 0x6e,
  1116. 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
  1117. 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x27, 0x0a, 0x0d, 0x48, 0x61,
  1118. 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x70,
  1119. 0x6f, 0x77, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x77,
  1120. 0x65, 0x72, 0x73, 0x22, 0x68, 0x0a, 0x14, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77,
  1121. 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61,
  1122. 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69,
  1123. 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,
  1124. 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
  1125. 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
  1126. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a,
  1127. 0x1c, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61,
  1128. 0x69, 0x6c, 0x42, 0x79, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a,
  1129. 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
  1130. 0x70, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1131. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06,
  1132. 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e,
  1133. 0x74, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x16, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77,
  1134. 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a,
  1135. 0x12, 0x77, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61,
  1136. 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x57, 0x61, 0x69, 0x74,
  1137. 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73,
  1138. 0x70, 0x52, 0x12, 0x77, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65,
  1139. 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xca, 0x01, 0x0a, 0x15, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d,
  1140. 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12,
  1141. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
  1142. 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
  1143. 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19,
  1144. 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1145. 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70,
  1146. 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
  1147. 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b,
  1148. 0x0a, 0x09, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
  1149. 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6c,
  1150. 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x06, 0x20,
  1151. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
  1152. 0x67, 0x79, 0x32, 0x98, 0x04, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
  1153. 0x1f, 0x0a, 0x0b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x09,
  1154. 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70,
  1155. 0x12, 0x23, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0e,
  1156. 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05,
  1157. 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x09, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69,
  1158. 0x6f, 0x6e, 0x12, 0x0d, 0x2e, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
  1159. 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x68,
  1160. 0x61, 0x72, 0x67, 0x65, 0x12, 0x0c, 0x2e, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52,
  1161. 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x09, 0x52, 0x65, 0x45,
  1162. 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72,
  1163. 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x07, 0x45, 0x6d,
  1164. 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52,
  1165. 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x43, 0x61, 0x6e,
  1166. 0x63, 0x65, 0x6c, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70,
  1167. 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x26,
  1168. 0x0a, 0x10, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x45, 0x6d, 0x70, 0x6f, 0x77,
  1169. 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a,
  1170. 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0b, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65,
  1171. 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0f, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x4c,
  1172. 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72,
  1173. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x48, 0x61, 0x73, 0x70,
  1174. 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0x0d, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72,
  1175. 0x73, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73,
  1176. 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x11, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f,
  1177. 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x15, 0x2e, 0x57, 0x61, 0x69, 0x74,
  1178. 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71,
  1179. 0x1a, 0x16, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65,
  1180. 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x53, 0x0a, 0x19, 0x57, 0x61, 0x69, 0x74,
  1181. 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x79, 0x53,
  1182. 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x1d, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f,
  1183. 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x79, 0x53, 0x70, 0x65, 0x63, 0x49,
  1184. 0x64, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77,
  1185. 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a,
  1186. 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1187. }
  1188. var (
  1189. file_resource_proto_rawDescOnce sync.Once
  1190. file_resource_proto_rawDescData = file_resource_proto_rawDesc
  1191. )
  1192. func file_resource_proto_rawDescGZIP() []byte {
  1193. file_resource_proto_rawDescOnce.Do(func() {
  1194. file_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_resource_proto_rawDescData)
  1195. })
  1196. return file_resource_proto_rawDescData
  1197. }
  1198. var file_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
  1199. var file_resource_proto_goTypes = []interface{}{
  1200. (*Empower)(nil), // 0: Empower
  1201. (*PowerReq)(nil), // 1: PowerReq
  1202. (*CheckPowerReq)(nil), // 2: CheckPowerReq
  1203. (*DeductionReq)(nil), // 3: DeductionReq
  1204. (*RechargeReq)(nil), // 4: RechargeReq
  1205. (*EmpowerReq)(nil), // 5: EmpowerReq
  1206. (*EmpowerAllReq)(nil), // 6: EmpowerAllReq
  1207. (*EmpowerListReq)(nil), // 7: EmpowerListReq
  1208. (*EmpowerListResp)(nil), // 8: EmpowerListResp
  1209. (*Resp)(nil), // 9: Resp
  1210. (*HaspowersReq)(nil), // 10: HaspowersReq
  1211. (*HaspowersResp)(nil), // 11: HaspowersResp
  1212. (*WaitEmpowerDetailReq)(nil), // 12: WaitEmpowerDetailReq
  1213. (*WaitEmpowerDetailBySpecIdReq)(nil), // 13: WaitEmpowerDetailBySpecIdReq
  1214. (*WaitEmpowerDetailsResp)(nil), // 14: WaitEmpowerDetailsResp
  1215. (*WaitEmpowerDetailResp)(nil), // 15: WaitEmpowerDetailResp
  1216. }
  1217. var file_resource_proto_depIdxs = []int32{
  1218. 0, // 0: EmpowerListResp.list:type_name -> Empower
  1219. 15, // 1: WaitEmpowerDetailsResp.waitEmpowerDetails:type_name -> WaitEmpowerDetailResp
  1220. 1, // 2: Resource.PowerHandle:input_type -> PowerReq
  1221. 2, // 3: Resource.CheckPower:input_type -> CheckPowerReq
  1222. 3, // 4: Resource.Deduction:input_type -> DeductionReq
  1223. 4, // 5: Resource.Recharge:input_type -> RechargeReq
  1224. 5, // 6: Resource.ReEmpower:input_type -> EmpowerReq
  1225. 5, // 7: Resource.Empower:input_type -> EmpowerReq
  1226. 5, // 8: Resource.CancelEmpower:input_type -> EmpowerReq
  1227. 5, // 9: Resource.CancelAllEmpower:input_type -> EmpowerReq
  1228. 7, // 10: Resource.EmpowerList:input_type -> EmpowerListReq
  1229. 10, // 11: Resource.Haspowers:input_type -> HaspowersReq
  1230. 12, // 12: Resource.WaitEmpowerDetail:input_type -> WaitEmpowerDetailReq
  1231. 13, // 13: Resource.WaitEmpowerDetailBySpecId:input_type -> WaitEmpowerDetailBySpecIdReq
  1232. 9, // 14: Resource.PowerHandle:output_type -> Resp
  1233. 9, // 15: Resource.CheckPower:output_type -> Resp
  1234. 9, // 16: Resource.Deduction:output_type -> Resp
  1235. 9, // 17: Resource.Recharge:output_type -> Resp
  1236. 9, // 18: Resource.ReEmpower:output_type -> Resp
  1237. 9, // 19: Resource.Empower:output_type -> Resp
  1238. 9, // 20: Resource.CancelEmpower:output_type -> Resp
  1239. 9, // 21: Resource.CancelAllEmpower:output_type -> Resp
  1240. 8, // 22: Resource.EmpowerList:output_type -> EmpowerListResp
  1241. 11, // 23: Resource.Haspowers:output_type -> HaspowersResp
  1242. 15, // 24: Resource.WaitEmpowerDetail:output_type -> WaitEmpowerDetailResp
  1243. 14, // 25: Resource.WaitEmpowerDetailBySpecId:output_type -> WaitEmpowerDetailsResp
  1244. 14, // [14:26] is the sub-list for method output_type
  1245. 2, // [2:14] is the sub-list for method input_type
  1246. 2, // [2:2] is the sub-list for extension type_name
  1247. 2, // [2:2] is the sub-list for extension extendee
  1248. 0, // [0:2] is the sub-list for field type_name
  1249. }
  1250. func init() { file_resource_proto_init() }
  1251. func file_resource_proto_init() {
  1252. if File_resource_proto != nil {
  1253. return
  1254. }
  1255. if !protoimpl.UnsafeEnabled {
  1256. file_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1257. switch v := v.(*Empower); i {
  1258. case 0:
  1259. return &v.state
  1260. case 1:
  1261. return &v.sizeCache
  1262. case 2:
  1263. return &v.unknownFields
  1264. default:
  1265. return nil
  1266. }
  1267. }
  1268. file_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1269. switch v := v.(*PowerReq); i {
  1270. case 0:
  1271. return &v.state
  1272. case 1:
  1273. return &v.sizeCache
  1274. case 2:
  1275. return &v.unknownFields
  1276. default:
  1277. return nil
  1278. }
  1279. }
  1280. file_resource_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1281. switch v := v.(*CheckPowerReq); i {
  1282. case 0:
  1283. return &v.state
  1284. case 1:
  1285. return &v.sizeCache
  1286. case 2:
  1287. return &v.unknownFields
  1288. default:
  1289. return nil
  1290. }
  1291. }
  1292. file_resource_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1293. switch v := v.(*DeductionReq); i {
  1294. case 0:
  1295. return &v.state
  1296. case 1:
  1297. return &v.sizeCache
  1298. case 2:
  1299. return &v.unknownFields
  1300. default:
  1301. return nil
  1302. }
  1303. }
  1304. file_resource_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1305. switch v := v.(*RechargeReq); i {
  1306. case 0:
  1307. return &v.state
  1308. case 1:
  1309. return &v.sizeCache
  1310. case 2:
  1311. return &v.unknownFields
  1312. default:
  1313. return nil
  1314. }
  1315. }
  1316. file_resource_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1317. switch v := v.(*EmpowerReq); i {
  1318. case 0:
  1319. return &v.state
  1320. case 1:
  1321. return &v.sizeCache
  1322. case 2:
  1323. return &v.unknownFields
  1324. default:
  1325. return nil
  1326. }
  1327. }
  1328. file_resource_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1329. switch v := v.(*EmpowerAllReq); i {
  1330. case 0:
  1331. return &v.state
  1332. case 1:
  1333. return &v.sizeCache
  1334. case 2:
  1335. return &v.unknownFields
  1336. default:
  1337. return nil
  1338. }
  1339. }
  1340. file_resource_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1341. switch v := v.(*EmpowerListReq); i {
  1342. case 0:
  1343. return &v.state
  1344. case 1:
  1345. return &v.sizeCache
  1346. case 2:
  1347. return &v.unknownFields
  1348. default:
  1349. return nil
  1350. }
  1351. }
  1352. file_resource_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1353. switch v := v.(*EmpowerListResp); i {
  1354. case 0:
  1355. return &v.state
  1356. case 1:
  1357. return &v.sizeCache
  1358. case 2:
  1359. return &v.unknownFields
  1360. default:
  1361. return nil
  1362. }
  1363. }
  1364. file_resource_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1365. switch v := v.(*Resp); i {
  1366. case 0:
  1367. return &v.state
  1368. case 1:
  1369. return &v.sizeCache
  1370. case 2:
  1371. return &v.unknownFields
  1372. default:
  1373. return nil
  1374. }
  1375. }
  1376. file_resource_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1377. switch v := v.(*HaspowersReq); i {
  1378. case 0:
  1379. return &v.state
  1380. case 1:
  1381. return &v.sizeCache
  1382. case 2:
  1383. return &v.unknownFields
  1384. default:
  1385. return nil
  1386. }
  1387. }
  1388. file_resource_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1389. switch v := v.(*HaspowersResp); i {
  1390. case 0:
  1391. return &v.state
  1392. case 1:
  1393. return &v.sizeCache
  1394. case 2:
  1395. return &v.unknownFields
  1396. default:
  1397. return nil
  1398. }
  1399. }
  1400. file_resource_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1401. switch v := v.(*WaitEmpowerDetailReq); i {
  1402. case 0:
  1403. return &v.state
  1404. case 1:
  1405. return &v.sizeCache
  1406. case 2:
  1407. return &v.unknownFields
  1408. default:
  1409. return nil
  1410. }
  1411. }
  1412. file_resource_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1413. switch v := v.(*WaitEmpowerDetailBySpecIdReq); i {
  1414. case 0:
  1415. return &v.state
  1416. case 1:
  1417. return &v.sizeCache
  1418. case 2:
  1419. return &v.unknownFields
  1420. default:
  1421. return nil
  1422. }
  1423. }
  1424. file_resource_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1425. switch v := v.(*WaitEmpowerDetailsResp); i {
  1426. case 0:
  1427. return &v.state
  1428. case 1:
  1429. return &v.sizeCache
  1430. case 2:
  1431. return &v.unknownFields
  1432. default:
  1433. return nil
  1434. }
  1435. }
  1436. file_resource_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1437. switch v := v.(*WaitEmpowerDetailResp); i {
  1438. case 0:
  1439. return &v.state
  1440. case 1:
  1441. return &v.sizeCache
  1442. case 2:
  1443. return &v.unknownFields
  1444. default:
  1445. return nil
  1446. }
  1447. }
  1448. }
  1449. type x struct{}
  1450. out := protoimpl.TypeBuilder{
  1451. File: protoimpl.DescBuilder{
  1452. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1453. RawDescriptor: file_resource_proto_rawDesc,
  1454. NumEnums: 0,
  1455. NumMessages: 16,
  1456. NumExtensions: 0,
  1457. NumServices: 1,
  1458. },
  1459. GoTypes: file_resource_proto_goTypes,
  1460. DependencyIndexes: file_resource_proto_depIdxs,
  1461. MessageInfos: file_resource_proto_msgTypes,
  1462. }.Build()
  1463. File_resource_proto = out.File
  1464. file_resource_proto_rawDesc = nil
  1465. file_resource_proto_goTypes = nil
  1466. file_resource_proto_depIdxs = nil
  1467. }