iam.pb.go 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v3.19.4
  5. // source: proto/iam.proto
  6. package iam
  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 CheckTokenReq struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
  24. }
  25. func (x *CheckTokenReq) Reset() {
  26. *x = CheckTokenReq{}
  27. mi := &file_proto_iam_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *CheckTokenReq) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*CheckTokenReq) ProtoMessage() {}
  35. func (x *CheckTokenReq) ProtoReflect() protoreflect.Message {
  36. mi := &file_proto_iam_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use CheckTokenReq.ProtoReflect.Descriptor instead.
  47. func (*CheckTokenReq) Descriptor() ([]byte, []int) {
  48. return file_proto_iam_proto_rawDescGZIP(), []int{0}
  49. }
  50. func (x *CheckTokenReq) GetToken() string {
  51. if x != nil {
  52. return x.Token
  53. }
  54. return ""
  55. }
  56. type CheckTokenResp struct {
  57. state protoimpl.MessageState
  58. sizeCache protoimpl.SizeCache
  59. unknownFields protoimpl.UnknownFields
  60. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  61. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  62. Data *AdminUserInfo `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
  63. }
  64. func (x *CheckTokenResp) Reset() {
  65. *x = CheckTokenResp{}
  66. mi := &file_proto_iam_proto_msgTypes[1]
  67. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  68. ms.StoreMessageInfo(mi)
  69. }
  70. func (x *CheckTokenResp) String() string {
  71. return protoimpl.X.MessageStringOf(x)
  72. }
  73. func (*CheckTokenResp) ProtoMessage() {}
  74. func (x *CheckTokenResp) ProtoReflect() protoreflect.Message {
  75. mi := &file_proto_iam_proto_msgTypes[1]
  76. if x != nil {
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. if ms.LoadMessageInfo() == nil {
  79. ms.StoreMessageInfo(mi)
  80. }
  81. return ms
  82. }
  83. return mi.MessageOf(x)
  84. }
  85. // Deprecated: Use CheckTokenResp.ProtoReflect.Descriptor instead.
  86. func (*CheckTokenResp) Descriptor() ([]byte, []int) {
  87. return file_proto_iam_proto_rawDescGZIP(), []int{1}
  88. }
  89. func (x *CheckTokenResp) GetCode() int64 {
  90. if x != nil {
  91. return x.Code
  92. }
  93. return 0
  94. }
  95. func (x *CheckTokenResp) GetMsg() string {
  96. if x != nil {
  97. return x.Msg
  98. }
  99. return ""
  100. }
  101. func (x *CheckTokenResp) GetData() *AdminUserInfo {
  102. if x != nil {
  103. return x.Data
  104. }
  105. return nil
  106. }
  107. type DeleteTokenReq struct {
  108. state protoimpl.MessageState
  109. sizeCache protoimpl.SizeCache
  110. unknownFields protoimpl.UnknownFields
  111. Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
  112. }
  113. func (x *DeleteTokenReq) Reset() {
  114. *x = DeleteTokenReq{}
  115. mi := &file_proto_iam_proto_msgTypes[2]
  116. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  117. ms.StoreMessageInfo(mi)
  118. }
  119. func (x *DeleteTokenReq) String() string {
  120. return protoimpl.X.MessageStringOf(x)
  121. }
  122. func (*DeleteTokenReq) ProtoMessage() {}
  123. func (x *DeleteTokenReq) ProtoReflect() protoreflect.Message {
  124. mi := &file_proto_iam_proto_msgTypes[2]
  125. if x != nil {
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. if ms.LoadMessageInfo() == nil {
  128. ms.StoreMessageInfo(mi)
  129. }
  130. return ms
  131. }
  132. return mi.MessageOf(x)
  133. }
  134. // Deprecated: Use DeleteTokenReq.ProtoReflect.Descriptor instead.
  135. func (*DeleteTokenReq) Descriptor() ([]byte, []int) {
  136. return file_proto_iam_proto_rawDescGZIP(), []int{2}
  137. }
  138. func (x *DeleteTokenReq) GetToken() string {
  139. if x != nil {
  140. return x.Token
  141. }
  142. return ""
  143. }
  144. type DeleteTokenResp struct {
  145. state protoimpl.MessageState
  146. sizeCache protoimpl.SizeCache
  147. unknownFields protoimpl.UnknownFields
  148. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  149. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  150. }
  151. func (x *DeleteTokenResp) Reset() {
  152. *x = DeleteTokenResp{}
  153. mi := &file_proto_iam_proto_msgTypes[3]
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. ms.StoreMessageInfo(mi)
  156. }
  157. func (x *DeleteTokenResp) String() string {
  158. return protoimpl.X.MessageStringOf(x)
  159. }
  160. func (*DeleteTokenResp) ProtoMessage() {}
  161. func (x *DeleteTokenResp) ProtoReflect() protoreflect.Message {
  162. mi := &file_proto_iam_proto_msgTypes[3]
  163. if x != nil {
  164. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  165. if ms.LoadMessageInfo() == nil {
  166. ms.StoreMessageInfo(mi)
  167. }
  168. return ms
  169. }
  170. return mi.MessageOf(x)
  171. }
  172. // Deprecated: Use DeleteTokenResp.ProtoReflect.Descriptor instead.
  173. func (*DeleteTokenResp) Descriptor() ([]byte, []int) {
  174. return file_proto_iam_proto_rawDescGZIP(), []int{3}
  175. }
  176. func (x *DeleteTokenResp) GetCode() int64 {
  177. if x != nil {
  178. return x.Code
  179. }
  180. return 0
  181. }
  182. func (x *DeleteTokenResp) GetMsg() string {
  183. if x != nil {
  184. return x.Msg
  185. }
  186. return ""
  187. }
  188. type GetAdminUserByIDReq struct {
  189. state protoimpl.MessageState
  190. sizeCache protoimpl.SizeCache
  191. unknownFields protoimpl.UnknownFields
  192. UID int64 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"`
  193. }
  194. func (x *GetAdminUserByIDReq) Reset() {
  195. *x = GetAdminUserByIDReq{}
  196. mi := &file_proto_iam_proto_msgTypes[4]
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. ms.StoreMessageInfo(mi)
  199. }
  200. func (x *GetAdminUserByIDReq) String() string {
  201. return protoimpl.X.MessageStringOf(x)
  202. }
  203. func (*GetAdminUserByIDReq) ProtoMessage() {}
  204. func (x *GetAdminUserByIDReq) ProtoReflect() protoreflect.Message {
  205. mi := &file_proto_iam_proto_msgTypes[4]
  206. if x != nil {
  207. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  208. if ms.LoadMessageInfo() == nil {
  209. ms.StoreMessageInfo(mi)
  210. }
  211. return ms
  212. }
  213. return mi.MessageOf(x)
  214. }
  215. // Deprecated: Use GetAdminUserByIDReq.ProtoReflect.Descriptor instead.
  216. func (*GetAdminUserByIDReq) Descriptor() ([]byte, []int) {
  217. return file_proto_iam_proto_rawDescGZIP(), []int{4}
  218. }
  219. func (x *GetAdminUserByIDReq) GetUID() int64 {
  220. if x != nil {
  221. return x.UID
  222. }
  223. return 0
  224. }
  225. type GetAdminUserByIDResp struct {
  226. state protoimpl.MessageState
  227. sizeCache protoimpl.SizeCache
  228. unknownFields protoimpl.UnknownFields
  229. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  230. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  231. Data *AdminUserInfo `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
  232. }
  233. func (x *GetAdminUserByIDResp) Reset() {
  234. *x = GetAdminUserByIDResp{}
  235. mi := &file_proto_iam_proto_msgTypes[5]
  236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  237. ms.StoreMessageInfo(mi)
  238. }
  239. func (x *GetAdminUserByIDResp) String() string {
  240. return protoimpl.X.MessageStringOf(x)
  241. }
  242. func (*GetAdminUserByIDResp) ProtoMessage() {}
  243. func (x *GetAdminUserByIDResp) ProtoReflect() protoreflect.Message {
  244. mi := &file_proto_iam_proto_msgTypes[5]
  245. if x != nil {
  246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  247. if ms.LoadMessageInfo() == nil {
  248. ms.StoreMessageInfo(mi)
  249. }
  250. return ms
  251. }
  252. return mi.MessageOf(x)
  253. }
  254. // Deprecated: Use GetAdminUserByIDResp.ProtoReflect.Descriptor instead.
  255. func (*GetAdminUserByIDResp) Descriptor() ([]byte, []int) {
  256. return file_proto_iam_proto_rawDescGZIP(), []int{5}
  257. }
  258. func (x *GetAdminUserByIDResp) GetCode() int64 {
  259. if x != nil {
  260. return x.Code
  261. }
  262. return 0
  263. }
  264. func (x *GetAdminUserByIDResp) GetMsg() string {
  265. if x != nil {
  266. return x.Msg
  267. }
  268. return ""
  269. }
  270. func (x *GetAdminUserByIDResp) GetData() *AdminUserInfo {
  271. if x != nil {
  272. return x.Data
  273. }
  274. return nil
  275. }
  276. type BatchGetAdminUserReq struct {
  277. state protoimpl.MessageState
  278. sizeCache protoimpl.SizeCache
  279. unknownFields protoimpl.UnknownFields
  280. UIds []int64 `protobuf:"varint,1,rep,packed,name=UIds,proto3" json:"UIds,omitempty"`
  281. }
  282. func (x *BatchGetAdminUserReq) Reset() {
  283. *x = BatchGetAdminUserReq{}
  284. mi := &file_proto_iam_proto_msgTypes[6]
  285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  286. ms.StoreMessageInfo(mi)
  287. }
  288. func (x *BatchGetAdminUserReq) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*BatchGetAdminUserReq) ProtoMessage() {}
  292. func (x *BatchGetAdminUserReq) ProtoReflect() protoreflect.Message {
  293. mi := &file_proto_iam_proto_msgTypes[6]
  294. if x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use BatchGetAdminUserReq.ProtoReflect.Descriptor instead.
  304. func (*BatchGetAdminUserReq) Descriptor() ([]byte, []int) {
  305. return file_proto_iam_proto_rawDescGZIP(), []int{6}
  306. }
  307. func (x *BatchGetAdminUserReq) GetUIds() []int64 {
  308. if x != nil {
  309. return x.UIds
  310. }
  311. return nil
  312. }
  313. type AdminUserInfo struct {
  314. state protoimpl.MessageState
  315. sizeCache protoimpl.SizeCache
  316. unknownFields protoimpl.UnknownFields
  317. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  318. RoleID int64 `protobuf:"varint,2,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
  319. UserName string `protobuf:"bytes,3,opt,name=UserName,proto3" json:"UserName,omitempty"`
  320. NickName string `protobuf:"bytes,4,opt,name=NickName,proto3" json:"NickName,omitempty"`
  321. Status int64 `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"`
  322. Avatar string `protobuf:"bytes,6,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
  323. }
  324. func (x *AdminUserInfo) Reset() {
  325. *x = AdminUserInfo{}
  326. mi := &file_proto_iam_proto_msgTypes[7]
  327. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  328. ms.StoreMessageInfo(mi)
  329. }
  330. func (x *AdminUserInfo) String() string {
  331. return protoimpl.X.MessageStringOf(x)
  332. }
  333. func (*AdminUserInfo) ProtoMessage() {}
  334. func (x *AdminUserInfo) ProtoReflect() protoreflect.Message {
  335. mi := &file_proto_iam_proto_msgTypes[7]
  336. if x != nil {
  337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  338. if ms.LoadMessageInfo() == nil {
  339. ms.StoreMessageInfo(mi)
  340. }
  341. return ms
  342. }
  343. return mi.MessageOf(x)
  344. }
  345. // Deprecated: Use AdminUserInfo.ProtoReflect.Descriptor instead.
  346. func (*AdminUserInfo) Descriptor() ([]byte, []int) {
  347. return file_proto_iam_proto_rawDescGZIP(), []int{7}
  348. }
  349. func (x *AdminUserInfo) GetID() int64 {
  350. if x != nil {
  351. return x.ID
  352. }
  353. return 0
  354. }
  355. func (x *AdminUserInfo) GetRoleID() int64 {
  356. if x != nil {
  357. return x.RoleID
  358. }
  359. return 0
  360. }
  361. func (x *AdminUserInfo) GetUserName() string {
  362. if x != nil {
  363. return x.UserName
  364. }
  365. return ""
  366. }
  367. func (x *AdminUserInfo) GetNickName() string {
  368. if x != nil {
  369. return x.NickName
  370. }
  371. return ""
  372. }
  373. func (x *AdminUserInfo) GetStatus() int64 {
  374. if x != nil {
  375. return x.Status
  376. }
  377. return 0
  378. }
  379. func (x *AdminUserInfo) GetAvatar() string {
  380. if x != nil {
  381. return x.Avatar
  382. }
  383. return ""
  384. }
  385. type BatchGetAdminUserResp struct {
  386. state protoimpl.MessageState
  387. sizeCache protoimpl.SizeCache
  388. unknownFields protoimpl.UnknownFields
  389. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  390. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  391. Data []*AdminUserInfo `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"`
  392. }
  393. func (x *BatchGetAdminUserResp) Reset() {
  394. *x = BatchGetAdminUserResp{}
  395. mi := &file_proto_iam_proto_msgTypes[8]
  396. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  397. ms.StoreMessageInfo(mi)
  398. }
  399. func (x *BatchGetAdminUserResp) String() string {
  400. return protoimpl.X.MessageStringOf(x)
  401. }
  402. func (*BatchGetAdminUserResp) ProtoMessage() {}
  403. func (x *BatchGetAdminUserResp) ProtoReflect() protoreflect.Message {
  404. mi := &file_proto_iam_proto_msgTypes[8]
  405. if 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 BatchGetAdminUserResp.ProtoReflect.Descriptor instead.
  415. func (*BatchGetAdminUserResp) Descriptor() ([]byte, []int) {
  416. return file_proto_iam_proto_rawDescGZIP(), []int{8}
  417. }
  418. func (x *BatchGetAdminUserResp) GetCode() int64 {
  419. if x != nil {
  420. return x.Code
  421. }
  422. return 0
  423. }
  424. func (x *BatchGetAdminUserResp) GetMsg() string {
  425. if x != nil {
  426. return x.Msg
  427. }
  428. return ""
  429. }
  430. func (x *BatchGetAdminUserResp) GetData() []*AdminUserInfo {
  431. if x != nil {
  432. return x.Data
  433. }
  434. return nil
  435. }
  436. type GetAdminUserByNickNameReq struct {
  437. state protoimpl.MessageState
  438. sizeCache protoimpl.SizeCache
  439. unknownFields protoimpl.UnknownFields
  440. NickName string `protobuf:"bytes,1,opt,name=NickName,proto3" json:"NickName,omitempty"`
  441. }
  442. func (x *GetAdminUserByNickNameReq) Reset() {
  443. *x = GetAdminUserByNickNameReq{}
  444. mi := &file_proto_iam_proto_msgTypes[9]
  445. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  446. ms.StoreMessageInfo(mi)
  447. }
  448. func (x *GetAdminUserByNickNameReq) String() string {
  449. return protoimpl.X.MessageStringOf(x)
  450. }
  451. func (*GetAdminUserByNickNameReq) ProtoMessage() {}
  452. func (x *GetAdminUserByNickNameReq) ProtoReflect() protoreflect.Message {
  453. mi := &file_proto_iam_proto_msgTypes[9]
  454. if x != nil {
  455. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  456. if ms.LoadMessageInfo() == nil {
  457. ms.StoreMessageInfo(mi)
  458. }
  459. return ms
  460. }
  461. return mi.MessageOf(x)
  462. }
  463. // Deprecated: Use GetAdminUserByNickNameReq.ProtoReflect.Descriptor instead.
  464. func (*GetAdminUserByNickNameReq) Descriptor() ([]byte, []int) {
  465. return file_proto_iam_proto_rawDescGZIP(), []int{9}
  466. }
  467. func (x *GetAdminUserByNickNameReq) GetNickName() string {
  468. if x != nil {
  469. return x.NickName
  470. }
  471. return ""
  472. }
  473. type GetAdminUserByNickNameResp struct {
  474. state protoimpl.MessageState
  475. sizeCache protoimpl.SizeCache
  476. unknownFields protoimpl.UnknownFields
  477. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  478. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  479. Data *AdminUserInfo `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
  480. }
  481. func (x *GetAdminUserByNickNameResp) Reset() {
  482. *x = GetAdminUserByNickNameResp{}
  483. mi := &file_proto_iam_proto_msgTypes[10]
  484. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  485. ms.StoreMessageInfo(mi)
  486. }
  487. func (x *GetAdminUserByNickNameResp) String() string {
  488. return protoimpl.X.MessageStringOf(x)
  489. }
  490. func (*GetAdminUserByNickNameResp) ProtoMessage() {}
  491. func (x *GetAdminUserByNickNameResp) ProtoReflect() protoreflect.Message {
  492. mi := &file_proto_iam_proto_msgTypes[10]
  493. if x != nil {
  494. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  495. if ms.LoadMessageInfo() == nil {
  496. ms.StoreMessageInfo(mi)
  497. }
  498. return ms
  499. }
  500. return mi.MessageOf(x)
  501. }
  502. // Deprecated: Use GetAdminUserByNickNameResp.ProtoReflect.Descriptor instead.
  503. func (*GetAdminUserByNickNameResp) Descriptor() ([]byte, []int) {
  504. return file_proto_iam_proto_rawDescGZIP(), []int{10}
  505. }
  506. func (x *GetAdminUserByNickNameResp) GetCode() int64 {
  507. if x != nil {
  508. return x.Code
  509. }
  510. return 0
  511. }
  512. func (x *GetAdminUserByNickNameResp) GetMsg() string {
  513. if x != nil {
  514. return x.Msg
  515. }
  516. return ""
  517. }
  518. func (x *GetAdminUserByNickNameResp) GetData() *AdminUserInfo {
  519. if x != nil {
  520. return x.Data
  521. }
  522. return nil
  523. }
  524. type GetRoleSystemsReq struct {
  525. state protoimpl.MessageState
  526. sizeCache protoimpl.SizeCache
  527. unknownFields protoimpl.UnknownFields
  528. RoleID int64 `protobuf:"varint,1,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
  529. }
  530. func (x *GetRoleSystemsReq) Reset() {
  531. *x = GetRoleSystemsReq{}
  532. mi := &file_proto_iam_proto_msgTypes[11]
  533. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  534. ms.StoreMessageInfo(mi)
  535. }
  536. func (x *GetRoleSystemsReq) String() string {
  537. return protoimpl.X.MessageStringOf(x)
  538. }
  539. func (*GetRoleSystemsReq) ProtoMessage() {}
  540. func (x *GetRoleSystemsReq) ProtoReflect() protoreflect.Message {
  541. mi := &file_proto_iam_proto_msgTypes[11]
  542. if x != nil {
  543. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  544. if ms.LoadMessageInfo() == nil {
  545. ms.StoreMessageInfo(mi)
  546. }
  547. return ms
  548. }
  549. return mi.MessageOf(x)
  550. }
  551. // Deprecated: Use GetRoleSystemsReq.ProtoReflect.Descriptor instead.
  552. func (*GetRoleSystemsReq) Descriptor() ([]byte, []int) {
  553. return file_proto_iam_proto_rawDescGZIP(), []int{11}
  554. }
  555. func (x *GetRoleSystemsReq) GetRoleID() int64 {
  556. if x != nil {
  557. return x.RoleID
  558. }
  559. return 0
  560. }
  561. type SystemInfo struct {
  562. state protoimpl.MessageState
  563. sizeCache protoimpl.SizeCache
  564. unknownFields protoimpl.UnknownFields
  565. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  566. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  567. Url string `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"`
  568. }
  569. func (x *SystemInfo) Reset() {
  570. *x = SystemInfo{}
  571. mi := &file_proto_iam_proto_msgTypes[12]
  572. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  573. ms.StoreMessageInfo(mi)
  574. }
  575. func (x *SystemInfo) String() string {
  576. return protoimpl.X.MessageStringOf(x)
  577. }
  578. func (*SystemInfo) ProtoMessage() {}
  579. func (x *SystemInfo) ProtoReflect() protoreflect.Message {
  580. mi := &file_proto_iam_proto_msgTypes[12]
  581. if x != nil {
  582. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  583. if ms.LoadMessageInfo() == nil {
  584. ms.StoreMessageInfo(mi)
  585. }
  586. return ms
  587. }
  588. return mi.MessageOf(x)
  589. }
  590. // Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.
  591. func (*SystemInfo) Descriptor() ([]byte, []int) {
  592. return file_proto_iam_proto_rawDescGZIP(), []int{12}
  593. }
  594. func (x *SystemInfo) GetID() int64 {
  595. if x != nil {
  596. return x.ID
  597. }
  598. return 0
  599. }
  600. func (x *SystemInfo) GetName() string {
  601. if x != nil {
  602. return x.Name
  603. }
  604. return ""
  605. }
  606. func (x *SystemInfo) GetUrl() string {
  607. if x != nil {
  608. return x.Url
  609. }
  610. return ""
  611. }
  612. type GetRoleSystemsResp struct {
  613. state protoimpl.MessageState
  614. sizeCache protoimpl.SizeCache
  615. unknownFields protoimpl.UnknownFields
  616. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  617. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  618. Data []*SystemInfo `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"`
  619. }
  620. func (x *GetRoleSystemsResp) Reset() {
  621. *x = GetRoleSystemsResp{}
  622. mi := &file_proto_iam_proto_msgTypes[13]
  623. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  624. ms.StoreMessageInfo(mi)
  625. }
  626. func (x *GetRoleSystemsResp) String() string {
  627. return protoimpl.X.MessageStringOf(x)
  628. }
  629. func (*GetRoleSystemsResp) ProtoMessage() {}
  630. func (x *GetRoleSystemsResp) ProtoReflect() protoreflect.Message {
  631. mi := &file_proto_iam_proto_msgTypes[13]
  632. if x != nil {
  633. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  634. if ms.LoadMessageInfo() == nil {
  635. ms.StoreMessageInfo(mi)
  636. }
  637. return ms
  638. }
  639. return mi.MessageOf(x)
  640. }
  641. // Deprecated: Use GetRoleSystemsResp.ProtoReflect.Descriptor instead.
  642. func (*GetRoleSystemsResp) Descriptor() ([]byte, []int) {
  643. return file_proto_iam_proto_rawDescGZIP(), []int{13}
  644. }
  645. func (x *GetRoleSystemsResp) GetCode() int64 {
  646. if x != nil {
  647. return x.Code
  648. }
  649. return 0
  650. }
  651. func (x *GetRoleSystemsResp) GetMsg() string {
  652. if x != nil {
  653. return x.Msg
  654. }
  655. return ""
  656. }
  657. func (x *GetRoleSystemsResp) GetData() []*SystemInfo {
  658. if x != nil {
  659. return x.Data
  660. }
  661. return nil
  662. }
  663. var File_proto_iam_proto protoreflect.FileDescriptor
  664. var file_proto_iam_proto_rawDesc = []byte{
  665. 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  666. 0x6f, 0x12, 0x03, 0x69, 0x61, 0x6d, 0x22, 0x25, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54,
  667. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
  668. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5e, 0x0a,
  669. 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
  670. 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43,
  671. 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  672. 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  673. 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55,
  674. 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a,
  675. 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12,
  676. 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  677. 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x37, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54,
  678. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65,
  679. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03,
  680. 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0x27,
  681. 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79,
  682. 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  683. 0x28, 0x03, 0x52, 0x03, 0x55, 0x49, 0x44, 0x22, 0x64, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x64,
  684. 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12,
  685. 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43,
  686. 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  687. 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  688. 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55,
  689. 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2a, 0x0a,
  690. 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
  691. 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
  692. 0x03, 0x28, 0x03, 0x52, 0x04, 0x55, 0x49, 0x64, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0d, 0x41, 0x64,
  693. 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49,
  694. 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52,
  695. 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x52, 0x6f, 0x6c,
  696. 0x65, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18,
  697. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  698. 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  699. 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53,
  700. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x53, 0x74, 0x61,
  701. 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x06, 0x20,
  702. 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x22, 0x65, 0x0a, 0x15, 0x42,
  703. 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72,
  704. 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  705. 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18,
  706. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x04, 0x44, 0x61,
  707. 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x41,
  708. 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61,
  709. 0x74, 0x61, 0x22, 0x37, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
  710. 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12,
  711. 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  712. 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x1a, 0x47,
  713. 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63,
  714. 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64,
  715. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
  716. 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12,
  717. 0x26, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
  718. 0x69, 0x61, 0x6d, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
  719. 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x6f,
  720. 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06,
  721. 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x52, 0x6f,
  722. 0x6c, 0x65, 0x49, 0x44, 0x22, 0x42, 0x0a, 0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e,
  723. 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
  724. 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  725. 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20,
  726. 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x72, 0x6c, 0x22, 0x5f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52,
  727. 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12,
  728. 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f,
  729. 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  730. 0x03, 0x4d, 0x73, 0x67, 0x12, 0x23, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03,
  731. 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49,
  732. 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x32, 0xb5, 0x03, 0x0a, 0x03, 0x49, 0x61,
  733. 0x6d, 0x12, 0x37, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
  734. 0x12, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
  735. 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54,
  736. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x0b, 0x44, 0x65,
  737. 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x13, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
  738. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x14,
  739. 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
  740. 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d,
  741. 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x12, 0x18, 0x2e, 0x69, 0x61, 0x6d,
  742. 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49,
  743. 0x44, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64,
  744. 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x22,
  745. 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d,
  746. 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x42, 0x61, 0x74,
  747. 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  748. 0x71, 0x1a, 0x1a, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,
  749. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12,
  750. 0x5b, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42,
  751. 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
  752. 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69,
  753. 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
  754. 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69,
  755. 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0e,
  756. 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x16,
  757. 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74,
  758. 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74,
  759. 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x22,
  760. 0x00, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x69, 0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  761. 0x6f, 0x33,
  762. }
  763. var (
  764. file_proto_iam_proto_rawDescOnce sync.Once
  765. file_proto_iam_proto_rawDescData = file_proto_iam_proto_rawDesc
  766. )
  767. func file_proto_iam_proto_rawDescGZIP() []byte {
  768. file_proto_iam_proto_rawDescOnce.Do(func() {
  769. file_proto_iam_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_iam_proto_rawDescData)
  770. })
  771. return file_proto_iam_proto_rawDescData
  772. }
  773. var file_proto_iam_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  774. var file_proto_iam_proto_goTypes = []any{
  775. (*CheckTokenReq)(nil), // 0: iam.CheckTokenReq
  776. (*CheckTokenResp)(nil), // 1: iam.CheckTokenResp
  777. (*DeleteTokenReq)(nil), // 2: iam.DeleteTokenReq
  778. (*DeleteTokenResp)(nil), // 3: iam.DeleteTokenResp
  779. (*GetAdminUserByIDReq)(nil), // 4: iam.GetAdminUserByIDReq
  780. (*GetAdminUserByIDResp)(nil), // 5: iam.GetAdminUserByIDResp
  781. (*BatchGetAdminUserReq)(nil), // 6: iam.BatchGetAdminUserReq
  782. (*AdminUserInfo)(nil), // 7: iam.AdminUserInfo
  783. (*BatchGetAdminUserResp)(nil), // 8: iam.BatchGetAdminUserResp
  784. (*GetAdminUserByNickNameReq)(nil), // 9: iam.GetAdminUserByNickNameReq
  785. (*GetAdminUserByNickNameResp)(nil), // 10: iam.GetAdminUserByNickNameResp
  786. (*GetRoleSystemsReq)(nil), // 11: iam.GetRoleSystemsReq
  787. (*SystemInfo)(nil), // 12: iam.SystemInfo
  788. (*GetRoleSystemsResp)(nil), // 13: iam.GetRoleSystemsResp
  789. }
  790. var file_proto_iam_proto_depIdxs = []int32{
  791. 7, // 0: iam.CheckTokenResp.Data:type_name -> iam.AdminUserInfo
  792. 7, // 1: iam.GetAdminUserByIDResp.Data:type_name -> iam.AdminUserInfo
  793. 7, // 2: iam.BatchGetAdminUserResp.Data:type_name -> iam.AdminUserInfo
  794. 7, // 3: iam.GetAdminUserByNickNameResp.Data:type_name -> iam.AdminUserInfo
  795. 12, // 4: iam.GetRoleSystemsResp.Data:type_name -> iam.SystemInfo
  796. 0, // 5: iam.Iam.CheckToken:input_type -> iam.CheckTokenReq
  797. 2, // 6: iam.Iam.DeleteToken:input_type -> iam.DeleteTokenReq
  798. 4, // 7: iam.Iam.GetAdminUserByID:input_type -> iam.GetAdminUserByIDReq
  799. 6, // 8: iam.Iam.BatchGetAdminUser:input_type -> iam.BatchGetAdminUserReq
  800. 9, // 9: iam.Iam.GetAdminUserByNickName:input_type -> iam.GetAdminUserByNickNameReq
  801. 11, // 10: iam.Iam.GetRoleSystems:input_type -> iam.GetRoleSystemsReq
  802. 1, // 11: iam.Iam.CheckToken:output_type -> iam.CheckTokenResp
  803. 3, // 12: iam.Iam.DeleteToken:output_type -> iam.DeleteTokenResp
  804. 5, // 13: iam.Iam.GetAdminUserByID:output_type -> iam.GetAdminUserByIDResp
  805. 8, // 14: iam.Iam.BatchGetAdminUser:output_type -> iam.BatchGetAdminUserResp
  806. 10, // 15: iam.Iam.GetAdminUserByNickName:output_type -> iam.GetAdminUserByNickNameResp
  807. 13, // 16: iam.Iam.GetRoleSystems:output_type -> iam.GetRoleSystemsResp
  808. 11, // [11:17] is the sub-list for method output_type
  809. 5, // [5:11] is the sub-list for method input_type
  810. 5, // [5:5] is the sub-list for extension type_name
  811. 5, // [5:5] is the sub-list for extension extendee
  812. 0, // [0:5] is the sub-list for field type_name
  813. }
  814. func init() { file_proto_iam_proto_init() }
  815. func file_proto_iam_proto_init() {
  816. if File_proto_iam_proto != nil {
  817. return
  818. }
  819. type x struct{}
  820. out := protoimpl.TypeBuilder{
  821. File: protoimpl.DescBuilder{
  822. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  823. RawDescriptor: file_proto_iam_proto_rawDesc,
  824. NumEnums: 0,
  825. NumMessages: 14,
  826. NumExtensions: 0,
  827. NumServices: 1,
  828. },
  829. GoTypes: file_proto_iam_proto_goTypes,
  830. DependencyIndexes: file_proto_iam_proto_depIdxs,
  831. MessageInfos: file_proto_iam_proto_msgTypes,
  832. }.Build()
  833. File_proto_iam_proto = out.File
  834. file_proto_iam_proto_rawDesc = nil
  835. file_proto_iam_proto_goTypes = nil
  836. file_proto_iam_proto_depIdxs = nil
  837. }