system.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.9
  5. // source: backend/operation/system.proto
  6. package operationPb
  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. // 用户权限
  20. type AddRoleRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  25. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  26. Remarks string `protobuf:"bytes,3,opt,name=remarks,proto3" json:"remarks,omitempty"` // 角色备注
  27. IsShow *IsShow `protobuf:"bytes,4,opt,name=is_show,json=isShow,proto3" json:"is_show,omitempty"` // 是否启用
  28. }
  29. func (x *AddRoleRequest) Reset() {
  30. *x = AddRoleRequest{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_backend_operation_system_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *AddRoleRequest) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*AddRoleRequest) ProtoMessage() {}
  41. func (x *AddRoleRequest) ProtoReflect() protoreflect.Message {
  42. mi := &file_backend_operation_system_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.
  53. func (*AddRoleRequest) Descriptor() ([]byte, []int) {
  54. return file_backend_operation_system_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *AddRoleRequest) GetId() int64 {
  57. if x != nil {
  58. return x.Id
  59. }
  60. return 0
  61. }
  62. func (x *AddRoleRequest) GetName() string {
  63. if x != nil {
  64. return x.Name
  65. }
  66. return ""
  67. }
  68. func (x *AddRoleRequest) GetRemarks() string {
  69. if x != nil {
  70. return x.Remarks
  71. }
  72. return ""
  73. }
  74. func (x *AddRoleRequest) GetIsShow() *IsShow {
  75. if x != nil {
  76. return x.IsShow
  77. }
  78. return nil
  79. }
  80. type SearchRoleRequest struct {
  81. state protoimpl.MessageState
  82. sizeCache protoimpl.SizeCache
  83. unknownFields protoimpl.UnknownFields
  84. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 第几页,从1开始
  85. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页size,一般为20
  86. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  87. }
  88. func (x *SearchRoleRequest) Reset() {
  89. *x = SearchRoleRequest{}
  90. if protoimpl.UnsafeEnabled {
  91. mi := &file_backend_operation_system_proto_msgTypes[1]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. }
  96. func (x *SearchRoleRequest) String() string {
  97. return protoimpl.X.MessageStringOf(x)
  98. }
  99. func (*SearchRoleRequest) ProtoMessage() {}
  100. func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message {
  101. mi := &file_backend_operation_system_proto_msgTypes[1]
  102. if protoimpl.UnsafeEnabled && x != nil {
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. if ms.LoadMessageInfo() == nil {
  105. ms.StoreMessageInfo(mi)
  106. }
  107. return ms
  108. }
  109. return mi.MessageOf(x)
  110. }
  111. // Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead.
  112. func (*SearchRoleRequest) Descriptor() ([]byte, []int) {
  113. return file_backend_operation_system_proto_rawDescGZIP(), []int{1}
  114. }
  115. func (x *SearchRoleRequest) GetPage() int32 {
  116. if x != nil {
  117. return x.Page
  118. }
  119. return 0
  120. }
  121. func (x *SearchRoleRequest) GetPageSize() int32 {
  122. if x != nil {
  123. return x.PageSize
  124. }
  125. return 0
  126. }
  127. func (x *SearchRoleRequest) GetName() string {
  128. if x != nil {
  129. return x.Name
  130. }
  131. return ""
  132. }
  133. type SearchRoleResponse struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  138. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  139. List []*AddRoleRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  140. }
  141. func (x *SearchRoleResponse) Reset() {
  142. *x = SearchRoleResponse{}
  143. if protoimpl.UnsafeEnabled {
  144. mi := &file_backend_operation_system_proto_msgTypes[2]
  145. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  146. ms.StoreMessageInfo(mi)
  147. }
  148. }
  149. func (x *SearchRoleResponse) String() string {
  150. return protoimpl.X.MessageStringOf(x)
  151. }
  152. func (*SearchRoleResponse) ProtoMessage() {}
  153. func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message {
  154. mi := &file_backend_operation_system_proto_msgTypes[2]
  155. if protoimpl.UnsafeEnabled && x != nil {
  156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  157. if ms.LoadMessageInfo() == nil {
  158. ms.StoreMessageInfo(mi)
  159. }
  160. return ms
  161. }
  162. return mi.MessageOf(x)
  163. }
  164. // Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead.
  165. func (*SearchRoleResponse) Descriptor() ([]byte, []int) {
  166. return file_backend_operation_system_proto_rawDescGZIP(), []int{2}
  167. }
  168. func (x *SearchRoleResponse) GetPage() int32 {
  169. if x != nil {
  170. return x.Page
  171. }
  172. return 0
  173. }
  174. func (x *SearchRoleResponse) GetTotal() int32 {
  175. if x != nil {
  176. return x.Total
  177. }
  178. return 0
  179. }
  180. func (x *SearchRoleResponse) GetList() []*AddRoleRequest {
  181. if x != nil {
  182. return x.List
  183. }
  184. return nil
  185. }
  186. type AddMenuRequest struct {
  187. state protoimpl.MessageState
  188. sizeCache protoimpl.SizeCache
  189. unknownFields protoimpl.UnknownFields
  190. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  191. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  192. }
  193. func (x *AddMenuRequest) Reset() {
  194. *x = AddMenuRequest{}
  195. if protoimpl.UnsafeEnabled {
  196. mi := &file_backend_operation_system_proto_msgTypes[3]
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. ms.StoreMessageInfo(mi)
  199. }
  200. }
  201. func (x *AddMenuRequest) String() string {
  202. return protoimpl.X.MessageStringOf(x)
  203. }
  204. func (*AddMenuRequest) ProtoMessage() {}
  205. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  206. mi := &file_backend_operation_system_proto_msgTypes[3]
  207. if protoimpl.UnsafeEnabled && x != nil {
  208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  209. if ms.LoadMessageInfo() == nil {
  210. ms.StoreMessageInfo(mi)
  211. }
  212. return ms
  213. }
  214. return mi.MessageOf(x)
  215. }
  216. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  217. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  218. return file_backend_operation_system_proto_rawDescGZIP(), []int{3}
  219. }
  220. func (x *AddMenuRequest) GetId() int64 {
  221. if x != nil {
  222. return x.Id
  223. }
  224. return 0
  225. }
  226. func (x *AddMenuRequest) GetName() string {
  227. if x != nil {
  228. return x.Name
  229. }
  230. return ""
  231. }
  232. // 用户token
  233. type SystemToken struct {
  234. state protoimpl.MessageState
  235. sizeCache protoimpl.SizeCache
  236. unknownFields protoimpl.UnknownFields
  237. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  238. }
  239. func (x *SystemToken) Reset() {
  240. *x = SystemToken{}
  241. if protoimpl.UnsafeEnabled {
  242. mi := &file_backend_operation_system_proto_msgTypes[4]
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. ms.StoreMessageInfo(mi)
  245. }
  246. }
  247. func (x *SystemToken) String() string {
  248. return protoimpl.X.MessageStringOf(x)
  249. }
  250. func (*SystemToken) ProtoMessage() {}
  251. func (x *SystemToken) ProtoReflect() protoreflect.Message {
  252. mi := &file_backend_operation_system_proto_msgTypes[4]
  253. if protoimpl.UnsafeEnabled && x != nil {
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. if ms.LoadMessageInfo() == nil {
  256. ms.StoreMessageInfo(mi)
  257. }
  258. return ms
  259. }
  260. return mi.MessageOf(x)
  261. }
  262. // Deprecated: Use SystemToken.ProtoReflect.Descriptor instead.
  263. func (*SystemToken) Descriptor() ([]byte, []int) {
  264. return file_backend_operation_system_proto_rawDescGZIP(), []int{4}
  265. }
  266. func (x *SystemToken) GetToken() string {
  267. if x != nil {
  268. return x.Token
  269. }
  270. return ""
  271. }
  272. type UserAuth struct {
  273. state protoimpl.MessageState
  274. sizeCache protoimpl.SizeCache
  275. unknownFields protoimpl.UnknownFields
  276. UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称
  277. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
  278. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  279. RoleId int64 `protobuf:"varint,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 用户角色id
  280. RoleName string `protobuf:"bytes,5,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 用户角色名称
  281. }
  282. func (x *UserAuth) Reset() {
  283. *x = UserAuth{}
  284. if protoimpl.UnsafeEnabled {
  285. mi := &file_backend_operation_system_proto_msgTypes[5]
  286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  287. ms.StoreMessageInfo(mi)
  288. }
  289. }
  290. func (x *UserAuth) String() string {
  291. return protoimpl.X.MessageStringOf(x)
  292. }
  293. func (*UserAuth) ProtoMessage() {}
  294. func (x *UserAuth) ProtoReflect() protoreflect.Message {
  295. mi := &file_backend_operation_system_proto_msgTypes[5]
  296. if protoimpl.UnsafeEnabled && x != nil {
  297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  298. if ms.LoadMessageInfo() == nil {
  299. ms.StoreMessageInfo(mi)
  300. }
  301. return ms
  302. }
  303. return mi.MessageOf(x)
  304. }
  305. // Deprecated: Use UserAuth.ProtoReflect.Descriptor instead.
  306. func (*UserAuth) Descriptor() ([]byte, []int) {
  307. return file_backend_operation_system_proto_rawDescGZIP(), []int{5}
  308. }
  309. func (x *UserAuth) GetUserName() string {
  310. if x != nil {
  311. return x.UserName
  312. }
  313. return ""
  314. }
  315. func (x *UserAuth) GetPassword() string {
  316. if x != nil {
  317. return x.Password
  318. }
  319. return ""
  320. }
  321. func (x *UserAuth) GetPhone() string {
  322. if x != nil {
  323. return x.Phone
  324. }
  325. return ""
  326. }
  327. func (x *UserAuth) GetRoleId() int64 {
  328. if x != nil {
  329. return x.RoleId
  330. }
  331. return 0
  332. }
  333. func (x *UserAuth) GetRoleName() string {
  334. if x != nil {
  335. return x.RoleName
  336. }
  337. return ""
  338. }
  339. var File_backend_operation_system_proto protoreflect.FileDescriptor
  340. var file_backend_operation_system_proto_rawDesc = []byte{
  341. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  342. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  343. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  344. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  345. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  346. 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
  347. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  348. 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  349. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
  350. 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
  351. 0x6b, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20,
  352. 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  353. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x06,
  354. 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x58, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
  355. 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70,
  356. 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12,
  357. 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
  358. 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04,
  359. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  360. 0x22, 0x75, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65,
  361. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01,
  362. 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
  363. 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c,
  364. 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
  365. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  366. 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  367. 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x34, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65,
  368. 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  369. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  370. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a,
  371. 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05,
  372. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
  373. 0x65, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12,
  374. 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  375. 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
  376. 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  377. 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  378. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x17,
  379. 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  380. 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
  381. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65,
  382. 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  383. 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  384. }
  385. var (
  386. file_backend_operation_system_proto_rawDescOnce sync.Once
  387. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  388. )
  389. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  390. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  391. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  392. })
  393. return file_backend_operation_system_proto_rawDescData
  394. }
  395. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  396. var file_backend_operation_system_proto_goTypes = []interface{}{
  397. (*AddRoleRequest)(nil), // 0: backend.operation.AddRoleRequest
  398. (*SearchRoleRequest)(nil), // 1: backend.operation.SearchRoleRequest
  399. (*SearchRoleResponse)(nil), // 2: backend.operation.SearchRoleResponse
  400. (*AddMenuRequest)(nil), // 3: backend.operation.AddMenuRequest
  401. (*SystemToken)(nil), // 4: backend.operation.SystemToken
  402. (*UserAuth)(nil), // 5: backend.operation.UserAuth
  403. (*IsShow)(nil), // 6: backend.operation.IsShow
  404. }
  405. var file_backend_operation_system_proto_depIdxs = []int32{
  406. 6, // 0: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow
  407. 0, // 1: backend.operation.SearchRoleResponse.list:type_name -> backend.operation.AddRoleRequest
  408. 2, // [2:2] is the sub-list for method output_type
  409. 2, // [2:2] is the sub-list for method input_type
  410. 2, // [2:2] is the sub-list for extension type_name
  411. 2, // [2:2] is the sub-list for extension extendee
  412. 0, // [0:2] is the sub-list for field type_name
  413. }
  414. func init() { file_backend_operation_system_proto_init() }
  415. func file_backend_operation_system_proto_init() {
  416. if File_backend_operation_system_proto != nil {
  417. return
  418. }
  419. file_backend_operation_enum_proto_init()
  420. if !protoimpl.UnsafeEnabled {
  421. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  422. switch v := v.(*AddRoleRequest); i {
  423. case 0:
  424. return &v.state
  425. case 1:
  426. return &v.sizeCache
  427. case 2:
  428. return &v.unknownFields
  429. default:
  430. return nil
  431. }
  432. }
  433. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  434. switch v := v.(*SearchRoleRequest); i {
  435. case 0:
  436. return &v.state
  437. case 1:
  438. return &v.sizeCache
  439. case 2:
  440. return &v.unknownFields
  441. default:
  442. return nil
  443. }
  444. }
  445. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  446. switch v := v.(*SearchRoleResponse); i {
  447. case 0:
  448. return &v.state
  449. case 1:
  450. return &v.sizeCache
  451. case 2:
  452. return &v.unknownFields
  453. default:
  454. return nil
  455. }
  456. }
  457. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  458. switch v := v.(*AddMenuRequest); i {
  459. case 0:
  460. return &v.state
  461. case 1:
  462. return &v.sizeCache
  463. case 2:
  464. return &v.unknownFields
  465. default:
  466. return nil
  467. }
  468. }
  469. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  470. switch v := v.(*SystemToken); i {
  471. case 0:
  472. return &v.state
  473. case 1:
  474. return &v.sizeCache
  475. case 2:
  476. return &v.unknownFields
  477. default:
  478. return nil
  479. }
  480. }
  481. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  482. switch v := v.(*UserAuth); i {
  483. case 0:
  484. return &v.state
  485. case 1:
  486. return &v.sizeCache
  487. case 2:
  488. return &v.unknownFields
  489. default:
  490. return nil
  491. }
  492. }
  493. }
  494. type x struct{}
  495. out := protoimpl.TypeBuilder{
  496. File: protoimpl.DescBuilder{
  497. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  498. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  499. NumEnums: 0,
  500. NumMessages: 6,
  501. NumExtensions: 0,
  502. NumServices: 0,
  503. },
  504. GoTypes: file_backend_operation_system_proto_goTypes,
  505. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  506. MessageInfos: file_backend_operation_system_proto_msgTypes,
  507. }.Build()
  508. File_backend_operation_system_proto = out.File
  509. file_backend_operation_system_proto_rawDesc = nil
  510. file_backend_operation_system_proto_goTypes = nil
  511. file_backend_operation_system_proto_depIdxs = nil
  512. }