iam.pb.go 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  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 GetAdminUserByIDReq struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. UID int64 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"`
  24. }
  25. func (x *GetAdminUserByIDReq) Reset() {
  26. *x = GetAdminUserByIDReq{}
  27. mi := &file_proto_iam_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *GetAdminUserByIDReq) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*GetAdminUserByIDReq) ProtoMessage() {}
  35. func (x *GetAdminUserByIDReq) 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 GetAdminUserByIDReq.ProtoReflect.Descriptor instead.
  47. func (*GetAdminUserByIDReq) Descriptor() ([]byte, []int) {
  48. return file_proto_iam_proto_rawDescGZIP(), []int{0}
  49. }
  50. func (x *GetAdminUserByIDReq) GetUID() int64 {
  51. if x != nil {
  52. return x.UID
  53. }
  54. return 0
  55. }
  56. type GetAdminUserByIDResp 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 *GetAdminUserByIDResp) Reset() {
  65. *x = GetAdminUserByIDResp{}
  66. mi := &file_proto_iam_proto_msgTypes[1]
  67. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  68. ms.StoreMessageInfo(mi)
  69. }
  70. func (x *GetAdminUserByIDResp) String() string {
  71. return protoimpl.X.MessageStringOf(x)
  72. }
  73. func (*GetAdminUserByIDResp) ProtoMessage() {}
  74. func (x *GetAdminUserByIDResp) 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 GetAdminUserByIDResp.ProtoReflect.Descriptor instead.
  86. func (*GetAdminUserByIDResp) Descriptor() ([]byte, []int) {
  87. return file_proto_iam_proto_rawDescGZIP(), []int{1}
  88. }
  89. func (x *GetAdminUserByIDResp) GetCode() int64 {
  90. if x != nil {
  91. return x.Code
  92. }
  93. return 0
  94. }
  95. func (x *GetAdminUserByIDResp) GetMsg() string {
  96. if x != nil {
  97. return x.Msg
  98. }
  99. return ""
  100. }
  101. func (x *GetAdminUserByIDResp) GetData() *AdminUserInfo {
  102. if x != nil {
  103. return x.Data
  104. }
  105. return nil
  106. }
  107. type BatchGetAdminUserReq struct {
  108. state protoimpl.MessageState
  109. sizeCache protoimpl.SizeCache
  110. unknownFields protoimpl.UnknownFields
  111. UIds []int64 `protobuf:"varint,1,rep,packed,name=UIds,proto3" json:"UIds,omitempty"`
  112. }
  113. func (x *BatchGetAdminUserReq) Reset() {
  114. *x = BatchGetAdminUserReq{}
  115. mi := &file_proto_iam_proto_msgTypes[2]
  116. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  117. ms.StoreMessageInfo(mi)
  118. }
  119. func (x *BatchGetAdminUserReq) String() string {
  120. return protoimpl.X.MessageStringOf(x)
  121. }
  122. func (*BatchGetAdminUserReq) ProtoMessage() {}
  123. func (x *BatchGetAdminUserReq) 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 BatchGetAdminUserReq.ProtoReflect.Descriptor instead.
  135. func (*BatchGetAdminUserReq) Descriptor() ([]byte, []int) {
  136. return file_proto_iam_proto_rawDescGZIP(), []int{2}
  137. }
  138. func (x *BatchGetAdminUserReq) GetUIds() []int64 {
  139. if x != nil {
  140. return x.UIds
  141. }
  142. return nil
  143. }
  144. type AdminUserInfo struct {
  145. state protoimpl.MessageState
  146. sizeCache protoimpl.SizeCache
  147. unknownFields protoimpl.UnknownFields
  148. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  149. RoleID int64 `protobuf:"varint,2,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
  150. UserName string `protobuf:"bytes,3,opt,name=UserName,proto3" json:"UserName,omitempty"`
  151. NickName string `protobuf:"bytes,4,opt,name=NickName,proto3" json:"NickName,omitempty"`
  152. Status int64 `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"`
  153. }
  154. func (x *AdminUserInfo) Reset() {
  155. *x = AdminUserInfo{}
  156. mi := &file_proto_iam_proto_msgTypes[3]
  157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  158. ms.StoreMessageInfo(mi)
  159. }
  160. func (x *AdminUserInfo) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*AdminUserInfo) ProtoMessage() {}
  164. func (x *AdminUserInfo) ProtoReflect() protoreflect.Message {
  165. mi := &file_proto_iam_proto_msgTypes[3]
  166. if x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use AdminUserInfo.ProtoReflect.Descriptor instead.
  176. func (*AdminUserInfo) Descriptor() ([]byte, []int) {
  177. return file_proto_iam_proto_rawDescGZIP(), []int{3}
  178. }
  179. func (x *AdminUserInfo) GetID() int64 {
  180. if x != nil {
  181. return x.ID
  182. }
  183. return 0
  184. }
  185. func (x *AdminUserInfo) GetRoleID() int64 {
  186. if x != nil {
  187. return x.RoleID
  188. }
  189. return 0
  190. }
  191. func (x *AdminUserInfo) GetUserName() string {
  192. if x != nil {
  193. return x.UserName
  194. }
  195. return ""
  196. }
  197. func (x *AdminUserInfo) GetNickName() string {
  198. if x != nil {
  199. return x.NickName
  200. }
  201. return ""
  202. }
  203. func (x *AdminUserInfo) GetStatus() int64 {
  204. if x != nil {
  205. return x.Status
  206. }
  207. return 0
  208. }
  209. type BatchGetAdminUserResp struct {
  210. state protoimpl.MessageState
  211. sizeCache protoimpl.SizeCache
  212. unknownFields protoimpl.UnknownFields
  213. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  214. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  215. Data []*AdminUserInfo `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"`
  216. }
  217. func (x *BatchGetAdminUserResp) Reset() {
  218. *x = BatchGetAdminUserResp{}
  219. mi := &file_proto_iam_proto_msgTypes[4]
  220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  221. ms.StoreMessageInfo(mi)
  222. }
  223. func (x *BatchGetAdminUserResp) String() string {
  224. return protoimpl.X.MessageStringOf(x)
  225. }
  226. func (*BatchGetAdminUserResp) ProtoMessage() {}
  227. func (x *BatchGetAdminUserResp) ProtoReflect() protoreflect.Message {
  228. mi := &file_proto_iam_proto_msgTypes[4]
  229. if x != nil {
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. if ms.LoadMessageInfo() == nil {
  232. ms.StoreMessageInfo(mi)
  233. }
  234. return ms
  235. }
  236. return mi.MessageOf(x)
  237. }
  238. // Deprecated: Use BatchGetAdminUserResp.ProtoReflect.Descriptor instead.
  239. func (*BatchGetAdminUserResp) Descriptor() ([]byte, []int) {
  240. return file_proto_iam_proto_rawDescGZIP(), []int{4}
  241. }
  242. func (x *BatchGetAdminUserResp) GetCode() int64 {
  243. if x != nil {
  244. return x.Code
  245. }
  246. return 0
  247. }
  248. func (x *BatchGetAdminUserResp) GetMsg() string {
  249. if x != nil {
  250. return x.Msg
  251. }
  252. return ""
  253. }
  254. func (x *BatchGetAdminUserResp) GetData() []*AdminUserInfo {
  255. if x != nil {
  256. return x.Data
  257. }
  258. return nil
  259. }
  260. type GetAdminUserByNickNameReq struct {
  261. state protoimpl.MessageState
  262. sizeCache protoimpl.SizeCache
  263. unknownFields protoimpl.UnknownFields
  264. NickName string `protobuf:"bytes,1,opt,name=NickName,proto3" json:"NickName,omitempty"`
  265. }
  266. func (x *GetAdminUserByNickNameReq) Reset() {
  267. *x = GetAdminUserByNickNameReq{}
  268. mi := &file_proto_iam_proto_msgTypes[5]
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. ms.StoreMessageInfo(mi)
  271. }
  272. func (x *GetAdminUserByNickNameReq) String() string {
  273. return protoimpl.X.MessageStringOf(x)
  274. }
  275. func (*GetAdminUserByNickNameReq) ProtoMessage() {}
  276. func (x *GetAdminUserByNickNameReq) ProtoReflect() protoreflect.Message {
  277. mi := &file_proto_iam_proto_msgTypes[5]
  278. if x != nil {
  279. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  280. if ms.LoadMessageInfo() == nil {
  281. ms.StoreMessageInfo(mi)
  282. }
  283. return ms
  284. }
  285. return mi.MessageOf(x)
  286. }
  287. // Deprecated: Use GetAdminUserByNickNameReq.ProtoReflect.Descriptor instead.
  288. func (*GetAdminUserByNickNameReq) Descriptor() ([]byte, []int) {
  289. return file_proto_iam_proto_rawDescGZIP(), []int{5}
  290. }
  291. func (x *GetAdminUserByNickNameReq) GetNickName() string {
  292. if x != nil {
  293. return x.NickName
  294. }
  295. return ""
  296. }
  297. type GetAdminUserByNickNameResp struct {
  298. state protoimpl.MessageState
  299. sizeCache protoimpl.SizeCache
  300. unknownFields protoimpl.UnknownFields
  301. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  302. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  303. Data *AdminUserInfo `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
  304. }
  305. func (x *GetAdminUserByNickNameResp) Reset() {
  306. *x = GetAdminUserByNickNameResp{}
  307. mi := &file_proto_iam_proto_msgTypes[6]
  308. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  309. ms.StoreMessageInfo(mi)
  310. }
  311. func (x *GetAdminUserByNickNameResp) String() string {
  312. return protoimpl.X.MessageStringOf(x)
  313. }
  314. func (*GetAdminUserByNickNameResp) ProtoMessage() {}
  315. func (x *GetAdminUserByNickNameResp) ProtoReflect() protoreflect.Message {
  316. mi := &file_proto_iam_proto_msgTypes[6]
  317. if x != nil {
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. if ms.LoadMessageInfo() == nil {
  320. ms.StoreMessageInfo(mi)
  321. }
  322. return ms
  323. }
  324. return mi.MessageOf(x)
  325. }
  326. // Deprecated: Use GetAdminUserByNickNameResp.ProtoReflect.Descriptor instead.
  327. func (*GetAdminUserByNickNameResp) Descriptor() ([]byte, []int) {
  328. return file_proto_iam_proto_rawDescGZIP(), []int{6}
  329. }
  330. func (x *GetAdminUserByNickNameResp) GetCode() int64 {
  331. if x != nil {
  332. return x.Code
  333. }
  334. return 0
  335. }
  336. func (x *GetAdminUserByNickNameResp) GetMsg() string {
  337. if x != nil {
  338. return x.Msg
  339. }
  340. return ""
  341. }
  342. func (x *GetAdminUserByNickNameResp) GetData() *AdminUserInfo {
  343. if x != nil {
  344. return x.Data
  345. }
  346. return nil
  347. }
  348. type GetRoleSystemsReq struct {
  349. state protoimpl.MessageState
  350. sizeCache protoimpl.SizeCache
  351. unknownFields protoimpl.UnknownFields
  352. RoleID int64 `protobuf:"varint,1,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
  353. }
  354. func (x *GetRoleSystemsReq) Reset() {
  355. *x = GetRoleSystemsReq{}
  356. mi := &file_proto_iam_proto_msgTypes[7]
  357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  358. ms.StoreMessageInfo(mi)
  359. }
  360. func (x *GetRoleSystemsReq) String() string {
  361. return protoimpl.X.MessageStringOf(x)
  362. }
  363. func (*GetRoleSystemsReq) ProtoMessage() {}
  364. func (x *GetRoleSystemsReq) ProtoReflect() protoreflect.Message {
  365. mi := &file_proto_iam_proto_msgTypes[7]
  366. if x != nil {
  367. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  368. if ms.LoadMessageInfo() == nil {
  369. ms.StoreMessageInfo(mi)
  370. }
  371. return ms
  372. }
  373. return mi.MessageOf(x)
  374. }
  375. // Deprecated: Use GetRoleSystemsReq.ProtoReflect.Descriptor instead.
  376. func (*GetRoleSystemsReq) Descriptor() ([]byte, []int) {
  377. return file_proto_iam_proto_rawDescGZIP(), []int{7}
  378. }
  379. func (x *GetRoleSystemsReq) GetRoleID() int64 {
  380. if x != nil {
  381. return x.RoleID
  382. }
  383. return 0
  384. }
  385. type SystemInfo struct {
  386. state protoimpl.MessageState
  387. sizeCache protoimpl.SizeCache
  388. unknownFields protoimpl.UnknownFields
  389. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  390. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  391. Url string `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"`
  392. }
  393. func (x *SystemInfo) Reset() {
  394. *x = SystemInfo{}
  395. mi := &file_proto_iam_proto_msgTypes[8]
  396. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  397. ms.StoreMessageInfo(mi)
  398. }
  399. func (x *SystemInfo) String() string {
  400. return protoimpl.X.MessageStringOf(x)
  401. }
  402. func (*SystemInfo) ProtoMessage() {}
  403. func (x *SystemInfo) 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 SystemInfo.ProtoReflect.Descriptor instead.
  415. func (*SystemInfo) Descriptor() ([]byte, []int) {
  416. return file_proto_iam_proto_rawDescGZIP(), []int{8}
  417. }
  418. func (x *SystemInfo) GetID() int64 {
  419. if x != nil {
  420. return x.ID
  421. }
  422. return 0
  423. }
  424. func (x *SystemInfo) GetName() string {
  425. if x != nil {
  426. return x.Name
  427. }
  428. return ""
  429. }
  430. func (x *SystemInfo) GetUrl() string {
  431. if x != nil {
  432. return x.Url
  433. }
  434. return ""
  435. }
  436. type GetRoleSystemsResp struct {
  437. state protoimpl.MessageState
  438. sizeCache protoimpl.SizeCache
  439. unknownFields protoimpl.UnknownFields
  440. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  441. Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
  442. Data []*SystemInfo `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"`
  443. }
  444. func (x *GetRoleSystemsResp) Reset() {
  445. *x = GetRoleSystemsResp{}
  446. mi := &file_proto_iam_proto_msgTypes[9]
  447. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  448. ms.StoreMessageInfo(mi)
  449. }
  450. func (x *GetRoleSystemsResp) String() string {
  451. return protoimpl.X.MessageStringOf(x)
  452. }
  453. func (*GetRoleSystemsResp) ProtoMessage() {}
  454. func (x *GetRoleSystemsResp) ProtoReflect() protoreflect.Message {
  455. mi := &file_proto_iam_proto_msgTypes[9]
  456. if x != nil {
  457. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  458. if ms.LoadMessageInfo() == nil {
  459. ms.StoreMessageInfo(mi)
  460. }
  461. return ms
  462. }
  463. return mi.MessageOf(x)
  464. }
  465. // Deprecated: Use GetRoleSystemsResp.ProtoReflect.Descriptor instead.
  466. func (*GetRoleSystemsResp) Descriptor() ([]byte, []int) {
  467. return file_proto_iam_proto_rawDescGZIP(), []int{9}
  468. }
  469. func (x *GetRoleSystemsResp) GetCode() int64 {
  470. if x != nil {
  471. return x.Code
  472. }
  473. return 0
  474. }
  475. func (x *GetRoleSystemsResp) GetMsg() string {
  476. if x != nil {
  477. return x.Msg
  478. }
  479. return ""
  480. }
  481. func (x *GetRoleSystemsResp) GetData() []*SystemInfo {
  482. if x != nil {
  483. return x.Data
  484. }
  485. return nil
  486. }
  487. var File_proto_iam_proto protoreflect.FileDescriptor
  488. var file_proto_iam_proto_rawDesc = []byte{
  489. 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  490. 0x6f, 0x12, 0x03, 0x69, 0x61, 0x6d, 0x22, 0x27, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d,
  491. 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a,
  492. 0x03, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x55, 0x49, 0x44, 0x22,
  493. 0x64, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42,
  494. 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18,
  495. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d,
  496. 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a,
  497. 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x61,
  498. 0x6d, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  499. 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2a, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65,
  500. 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a,
  501. 0x04, 0x55, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x55, 0x49, 0x64,
  502. 0x73, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49,
  503. 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  504. 0x02, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20,
  505. 0x01, 0x28, 0x03, 0x52, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x55,
  506. 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55,
  507. 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e,
  508. 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e,
  509. 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20,
  510. 0x01, 0x28, 0x03, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x65, 0x0a, 0x15, 0x42,
  511. 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72,
  512. 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  513. 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18,
  514. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x04, 0x44, 0x61,
  515. 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x41,
  516. 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61,
  517. 0x74, 0x61, 0x22, 0x37, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
  518. 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12,
  519. 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  520. 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x1a, 0x47,
  521. 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63,
  522. 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64,
  523. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
  524. 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12,
  525. 0x26, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
  526. 0x69, 0x61, 0x6d, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
  527. 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x6f,
  528. 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06,
  529. 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x52, 0x6f,
  530. 0x6c, 0x65, 0x49, 0x44, 0x22, 0x42, 0x0a, 0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e,
  531. 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
  532. 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  533. 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20,
  534. 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x72, 0x6c, 0x22, 0x5f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52,
  535. 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12,
  536. 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f,
  537. 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  538. 0x03, 0x4d, 0x73, 0x67, 0x12, 0x23, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03,
  539. 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49,
  540. 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x32, 0xc0, 0x02, 0x0a, 0x03, 0x49, 0x61,
  541. 0x6d, 0x12, 0x49, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65,
  542. 0x72, 0x42, 0x79, 0x49, 0x44, 0x12, 0x18, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41,
  543. 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a,
  544. 0x19, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
  545. 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11,
  546. 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65,
  547. 0x72, 0x12, 0x19, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,
  548. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x69,
  549. 0x61, 0x6d, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e,
  550. 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x16, 0x47, 0x65,
  551. 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b,
  552. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64,
  553. 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d,
  554. 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64,
  555. 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d,
  556. 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f,
  557. 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x16, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
  558. 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65,
  559. 0x71, 0x1a, 0x17, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x53,
  560. 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x42, 0x07, 0x5a, 0x05,
  561. 0x2e, 0x2f, 0x69, 0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  562. }
  563. var (
  564. file_proto_iam_proto_rawDescOnce sync.Once
  565. file_proto_iam_proto_rawDescData = file_proto_iam_proto_rawDesc
  566. )
  567. func file_proto_iam_proto_rawDescGZIP() []byte {
  568. file_proto_iam_proto_rawDescOnce.Do(func() {
  569. file_proto_iam_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_iam_proto_rawDescData)
  570. })
  571. return file_proto_iam_proto_rawDescData
  572. }
  573. var file_proto_iam_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  574. var file_proto_iam_proto_goTypes = []any{
  575. (*GetAdminUserByIDReq)(nil), // 0: iam.GetAdminUserByIDReq
  576. (*GetAdminUserByIDResp)(nil), // 1: iam.GetAdminUserByIDResp
  577. (*BatchGetAdminUserReq)(nil), // 2: iam.BatchGetAdminUserReq
  578. (*AdminUserInfo)(nil), // 3: iam.AdminUserInfo
  579. (*BatchGetAdminUserResp)(nil), // 4: iam.BatchGetAdminUserResp
  580. (*GetAdminUserByNickNameReq)(nil), // 5: iam.GetAdminUserByNickNameReq
  581. (*GetAdminUserByNickNameResp)(nil), // 6: iam.GetAdminUserByNickNameResp
  582. (*GetRoleSystemsReq)(nil), // 7: iam.GetRoleSystemsReq
  583. (*SystemInfo)(nil), // 8: iam.SystemInfo
  584. (*GetRoleSystemsResp)(nil), // 9: iam.GetRoleSystemsResp
  585. }
  586. var file_proto_iam_proto_depIdxs = []int32{
  587. 3, // 0: iam.GetAdminUserByIDResp.Data:type_name -> iam.AdminUserInfo
  588. 3, // 1: iam.BatchGetAdminUserResp.Data:type_name -> iam.AdminUserInfo
  589. 3, // 2: iam.GetAdminUserByNickNameResp.Data:type_name -> iam.AdminUserInfo
  590. 8, // 3: iam.GetRoleSystemsResp.Data:type_name -> iam.SystemInfo
  591. 0, // 4: iam.Iam.GetAdminUserByID:input_type -> iam.GetAdminUserByIDReq
  592. 2, // 5: iam.Iam.BatchGetAdminUser:input_type -> iam.BatchGetAdminUserReq
  593. 5, // 6: iam.Iam.GetAdminUserByNickName:input_type -> iam.GetAdminUserByNickNameReq
  594. 7, // 7: iam.Iam.GetRoleSystems:input_type -> iam.GetRoleSystemsReq
  595. 1, // 8: iam.Iam.GetAdminUserByID:output_type -> iam.GetAdminUserByIDResp
  596. 4, // 9: iam.Iam.BatchGetAdminUser:output_type -> iam.BatchGetAdminUserResp
  597. 6, // 10: iam.Iam.GetAdminUserByNickName:output_type -> iam.GetAdminUserByNickNameResp
  598. 9, // 11: iam.Iam.GetRoleSystems:output_type -> iam.GetRoleSystemsResp
  599. 8, // [8:12] is the sub-list for method output_type
  600. 4, // [4:8] is the sub-list for method input_type
  601. 4, // [4:4] is the sub-list for extension type_name
  602. 4, // [4:4] is the sub-list for extension extendee
  603. 0, // [0:4] is the sub-list for field type_name
  604. }
  605. func init() { file_proto_iam_proto_init() }
  606. func file_proto_iam_proto_init() {
  607. if File_proto_iam_proto != nil {
  608. return
  609. }
  610. type x struct{}
  611. out := protoimpl.TypeBuilder{
  612. File: protoimpl.DescBuilder{
  613. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  614. RawDescriptor: file_proto_iam_proto_rawDesc,
  615. NumEnums: 0,
  616. NumMessages: 10,
  617. NumExtensions: 0,
  618. NumServices: 1,
  619. },
  620. GoTypes: file_proto_iam_proto_goTypes,
  621. DependencyIndexes: file_proto_iam_proto_depIdxs,
  622. MessageInfos: file_proto_iam_proto_msgTypes,
  623. }.Build()
  624. File_proto_iam_proto = out.File
  625. file_proto_iam_proto_rawDesc = nil
  626. file_proto_iam_proto_goTypes = nil
  627. file_proto_iam_proto_depIdxs = nil
  628. }