role.pb.go 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.31.0
  4. // protoc v4.25.0
  5. // source: proto/role.proto
  6. package kubernetes_service
  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 GetRoleListRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. }
  24. func (x *GetRoleListRequest) Reset() {
  25. *x = GetRoleListRequest{}
  26. if protoimpl.UnsafeEnabled {
  27. mi := &file_proto_role_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. }
  32. func (x *GetRoleListRequest) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*GetRoleListRequest) ProtoMessage() {}
  36. func (x *GetRoleListRequest) ProtoReflect() protoreflect.Message {
  37. mi := &file_proto_role_proto_msgTypes[0]
  38. if protoimpl.UnsafeEnabled && x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use GetRoleListRequest.ProtoReflect.Descriptor instead.
  48. func (*GetRoleListRequest) Descriptor() ([]byte, []int) {
  49. return file_proto_role_proto_rawDescGZIP(), []int{0}
  50. }
  51. type GetRoleListResponse struct {
  52. state protoimpl.MessageState
  53. sizeCache protoimpl.SizeCache
  54. unknownFields protoimpl.UnknownFields
  55. }
  56. func (x *GetRoleListResponse) Reset() {
  57. *x = GetRoleListResponse{}
  58. if protoimpl.UnsafeEnabled {
  59. mi := &file_proto_role_proto_msgTypes[1]
  60. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  61. ms.StoreMessageInfo(mi)
  62. }
  63. }
  64. func (x *GetRoleListResponse) String() string {
  65. return protoimpl.X.MessageStringOf(x)
  66. }
  67. func (*GetRoleListResponse) ProtoMessage() {}
  68. func (x *GetRoleListResponse) ProtoReflect() protoreflect.Message {
  69. mi := &file_proto_role_proto_msgTypes[1]
  70. if protoimpl.UnsafeEnabled && x != nil {
  71. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  72. if ms.LoadMessageInfo() == nil {
  73. ms.StoreMessageInfo(mi)
  74. }
  75. return ms
  76. }
  77. return mi.MessageOf(x)
  78. }
  79. // Deprecated: Use GetRoleListResponse.ProtoReflect.Descriptor instead.
  80. func (*GetRoleListResponse) Descriptor() ([]byte, []int) {
  81. return file_proto_role_proto_rawDescGZIP(), []int{1}
  82. }
  83. type GetRoleRequest struct {
  84. state protoimpl.MessageState
  85. sizeCache protoimpl.SizeCache
  86. unknownFields protoimpl.UnknownFields
  87. }
  88. func (x *GetRoleRequest) Reset() {
  89. *x = GetRoleRequest{}
  90. if protoimpl.UnsafeEnabled {
  91. mi := &file_proto_role_proto_msgTypes[2]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. }
  96. func (x *GetRoleRequest) String() string {
  97. return protoimpl.X.MessageStringOf(x)
  98. }
  99. func (*GetRoleRequest) ProtoMessage() {}
  100. func (x *GetRoleRequest) ProtoReflect() protoreflect.Message {
  101. mi := &file_proto_role_proto_msgTypes[2]
  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 GetRoleRequest.ProtoReflect.Descriptor instead.
  112. func (*GetRoleRequest) Descriptor() ([]byte, []int) {
  113. return file_proto_role_proto_rawDescGZIP(), []int{2}
  114. }
  115. type GetRoleResponse struct {
  116. state protoimpl.MessageState
  117. sizeCache protoimpl.SizeCache
  118. unknownFields protoimpl.UnknownFields
  119. }
  120. func (x *GetRoleResponse) Reset() {
  121. *x = GetRoleResponse{}
  122. if protoimpl.UnsafeEnabled {
  123. mi := &file_proto_role_proto_msgTypes[3]
  124. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  125. ms.StoreMessageInfo(mi)
  126. }
  127. }
  128. func (x *GetRoleResponse) String() string {
  129. return protoimpl.X.MessageStringOf(x)
  130. }
  131. func (*GetRoleResponse) ProtoMessage() {}
  132. func (x *GetRoleResponse) ProtoReflect() protoreflect.Message {
  133. mi := &file_proto_role_proto_msgTypes[3]
  134. if protoimpl.UnsafeEnabled && x != nil {
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. if ms.LoadMessageInfo() == nil {
  137. ms.StoreMessageInfo(mi)
  138. }
  139. return ms
  140. }
  141. return mi.MessageOf(x)
  142. }
  143. // Deprecated: Use GetRoleResponse.ProtoReflect.Descriptor instead.
  144. func (*GetRoleResponse) Descriptor() ([]byte, []int) {
  145. return file_proto_role_proto_rawDescGZIP(), []int{3}
  146. }
  147. type UpdateRoleRequest struct {
  148. state protoimpl.MessageState
  149. sizeCache protoimpl.SizeCache
  150. unknownFields protoimpl.UnknownFields
  151. }
  152. func (x *UpdateRoleRequest) Reset() {
  153. *x = UpdateRoleRequest{}
  154. if protoimpl.UnsafeEnabled {
  155. mi := &file_proto_role_proto_msgTypes[4]
  156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  157. ms.StoreMessageInfo(mi)
  158. }
  159. }
  160. func (x *UpdateRoleRequest) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*UpdateRoleRequest) ProtoMessage() {}
  164. func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message {
  165. mi := &file_proto_role_proto_msgTypes[4]
  166. if protoimpl.UnsafeEnabled && x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.
  176. func (*UpdateRoleRequest) Descriptor() ([]byte, []int) {
  177. return file_proto_role_proto_rawDescGZIP(), []int{4}
  178. }
  179. type UpdateRoleResponse struct {
  180. state protoimpl.MessageState
  181. sizeCache protoimpl.SizeCache
  182. unknownFields protoimpl.UnknownFields
  183. }
  184. func (x *UpdateRoleResponse) Reset() {
  185. *x = UpdateRoleResponse{}
  186. if protoimpl.UnsafeEnabled {
  187. mi := &file_proto_role_proto_msgTypes[5]
  188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  189. ms.StoreMessageInfo(mi)
  190. }
  191. }
  192. func (x *UpdateRoleResponse) String() string {
  193. return protoimpl.X.MessageStringOf(x)
  194. }
  195. func (*UpdateRoleResponse) ProtoMessage() {}
  196. func (x *UpdateRoleResponse) ProtoReflect() protoreflect.Message {
  197. mi := &file_proto_role_proto_msgTypes[5]
  198. if protoimpl.UnsafeEnabled && x != nil {
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. if ms.LoadMessageInfo() == nil {
  201. ms.StoreMessageInfo(mi)
  202. }
  203. return ms
  204. }
  205. return mi.MessageOf(x)
  206. }
  207. // Deprecated: Use UpdateRoleResponse.ProtoReflect.Descriptor instead.
  208. func (*UpdateRoleResponse) Descriptor() ([]byte, []int) {
  209. return file_proto_role_proto_rawDescGZIP(), []int{5}
  210. }
  211. type CreateRoleRequest struct {
  212. state protoimpl.MessageState
  213. sizeCache protoimpl.SizeCache
  214. unknownFields protoimpl.UnknownFields
  215. }
  216. func (x *CreateRoleRequest) Reset() {
  217. *x = CreateRoleRequest{}
  218. if protoimpl.UnsafeEnabled {
  219. mi := &file_proto_role_proto_msgTypes[6]
  220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  221. ms.StoreMessageInfo(mi)
  222. }
  223. }
  224. func (x *CreateRoleRequest) String() string {
  225. return protoimpl.X.MessageStringOf(x)
  226. }
  227. func (*CreateRoleRequest) ProtoMessage() {}
  228. func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message {
  229. mi := &file_proto_role_proto_msgTypes[6]
  230. if protoimpl.UnsafeEnabled && x != nil {
  231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  232. if ms.LoadMessageInfo() == nil {
  233. ms.StoreMessageInfo(mi)
  234. }
  235. return ms
  236. }
  237. return mi.MessageOf(x)
  238. }
  239. // Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
  240. func (*CreateRoleRequest) Descriptor() ([]byte, []int) {
  241. return file_proto_role_proto_rawDescGZIP(), []int{6}
  242. }
  243. type CreateRoleResponse struct {
  244. state protoimpl.MessageState
  245. sizeCache protoimpl.SizeCache
  246. unknownFields protoimpl.UnknownFields
  247. }
  248. func (x *CreateRoleResponse) Reset() {
  249. *x = CreateRoleResponse{}
  250. if protoimpl.UnsafeEnabled {
  251. mi := &file_proto_role_proto_msgTypes[7]
  252. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  253. ms.StoreMessageInfo(mi)
  254. }
  255. }
  256. func (x *CreateRoleResponse) String() string {
  257. return protoimpl.X.MessageStringOf(x)
  258. }
  259. func (*CreateRoleResponse) ProtoMessage() {}
  260. func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message {
  261. mi := &file_proto_role_proto_msgTypes[7]
  262. if protoimpl.UnsafeEnabled && x != nil {
  263. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  264. if ms.LoadMessageInfo() == nil {
  265. ms.StoreMessageInfo(mi)
  266. }
  267. return ms
  268. }
  269. return mi.MessageOf(x)
  270. }
  271. // Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.
  272. func (*CreateRoleResponse) Descriptor() ([]byte, []int) {
  273. return file_proto_role_proto_rawDescGZIP(), []int{7}
  274. }
  275. type DeleteRoleRequest struct {
  276. state protoimpl.MessageState
  277. sizeCache protoimpl.SizeCache
  278. unknownFields protoimpl.UnknownFields
  279. }
  280. func (x *DeleteRoleRequest) Reset() {
  281. *x = DeleteRoleRequest{}
  282. if protoimpl.UnsafeEnabled {
  283. mi := &file_proto_role_proto_msgTypes[8]
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. ms.StoreMessageInfo(mi)
  286. }
  287. }
  288. func (x *DeleteRoleRequest) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*DeleteRoleRequest) ProtoMessage() {}
  292. func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message {
  293. mi := &file_proto_role_proto_msgTypes[8]
  294. if protoimpl.UnsafeEnabled && 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 DeleteRoleRequest.ProtoReflect.Descriptor instead.
  304. func (*DeleteRoleRequest) Descriptor() ([]byte, []int) {
  305. return file_proto_role_proto_rawDescGZIP(), []int{8}
  306. }
  307. type DeleteRoleResponse struct {
  308. state protoimpl.MessageState
  309. sizeCache protoimpl.SizeCache
  310. unknownFields protoimpl.UnknownFields
  311. }
  312. func (x *DeleteRoleResponse) Reset() {
  313. *x = DeleteRoleResponse{}
  314. if protoimpl.UnsafeEnabled {
  315. mi := &file_proto_role_proto_msgTypes[9]
  316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  317. ms.StoreMessageInfo(mi)
  318. }
  319. }
  320. func (x *DeleteRoleResponse) String() string {
  321. return protoimpl.X.MessageStringOf(x)
  322. }
  323. func (*DeleteRoleResponse) ProtoMessage() {}
  324. func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message {
  325. mi := &file_proto_role_proto_msgTypes[9]
  326. if protoimpl.UnsafeEnabled && x != nil {
  327. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  328. if ms.LoadMessageInfo() == nil {
  329. ms.StoreMessageInfo(mi)
  330. }
  331. return ms
  332. }
  333. return mi.MessageOf(x)
  334. }
  335. // Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.
  336. func (*DeleteRoleResponse) Descriptor() ([]byte, []int) {
  337. return file_proto_role_proto_rawDescGZIP(), []int{9}
  338. }
  339. var File_proto_role_proto protoreflect.FileDescriptor
  340. var file_proto_role_proto_rawDesc = []byte{
  341. 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  342. 0x74, 0x6f, 0x12, 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  343. 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
  344. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c,
  345. 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0x0a,
  346. 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
  347. 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  348. 0x73, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65,
  349. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74,
  350. 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a,
  351. 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  352. 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65,
  353. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65,
  354. 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a,
  355. 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  356. 0x6e, 0x73, 0x65, 0x32, 0x9c, 0x03, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76,
  357. 0x69, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69,
  358. 0x73, 0x74, 0x12, 0x20, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
  359. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
  360. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76,
  361. 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
  362. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x52, 0x6f,
  363. 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
  364. 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  365. 0x1a, 0x1d, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  366. 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  367. 0x4f, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e,
  368. 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64,
  369. 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20,
  370. 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70,
  371. 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  372. 0x12, 0x4f, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f,
  373. 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72,
  374. 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  375. 0x20, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43,
  376. 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  377. 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12,
  378. 0x1f, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44,
  379. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  380. 0x1a, 0x20, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  381. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  382. 0x73, 0x65, 0x42, 0x1c, 0x5a, 0x1a, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x6b, 0x75,
  383. 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  384. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  385. }
  386. var (
  387. file_proto_role_proto_rawDescOnce sync.Once
  388. file_proto_role_proto_rawDescData = file_proto_role_proto_rawDesc
  389. )
  390. func file_proto_role_proto_rawDescGZIP() []byte {
  391. file_proto_role_proto_rawDescOnce.Do(func() {
  392. file_proto_role_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_role_proto_rawDescData)
  393. })
  394. return file_proto_role_proto_rawDescData
  395. }
  396. var file_proto_role_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  397. var file_proto_role_proto_goTypes = []interface{}{
  398. (*GetRoleListRequest)(nil), // 0: role_service.GetRoleListRequest
  399. (*GetRoleListResponse)(nil), // 1: role_service.GetRoleListResponse
  400. (*GetRoleRequest)(nil), // 2: role_service.GetRoleRequest
  401. (*GetRoleResponse)(nil), // 3: role_service.GetRoleResponse
  402. (*UpdateRoleRequest)(nil), // 4: role_service.UpdateRoleRequest
  403. (*UpdateRoleResponse)(nil), // 5: role_service.UpdateRoleResponse
  404. (*CreateRoleRequest)(nil), // 6: role_service.CreateRoleRequest
  405. (*CreateRoleResponse)(nil), // 7: role_service.CreateRoleResponse
  406. (*DeleteRoleRequest)(nil), // 8: role_service.DeleteRoleRequest
  407. (*DeleteRoleResponse)(nil), // 9: role_service.DeleteRoleResponse
  408. }
  409. var file_proto_role_proto_depIdxs = []int32{
  410. 0, // 0: role_service.RoleService.GetRoleList:input_type -> role_service.GetRoleListRequest
  411. 2, // 1: role_service.RoleService.GetRole:input_type -> role_service.GetRoleRequest
  412. 4, // 2: role_service.RoleService.UpdateRole:input_type -> role_service.UpdateRoleRequest
  413. 6, // 3: role_service.RoleService.CreateRole:input_type -> role_service.CreateRoleRequest
  414. 8, // 4: role_service.RoleService.DeleteRole:input_type -> role_service.DeleteRoleRequest
  415. 1, // 5: role_service.RoleService.GetRoleList:output_type -> role_service.GetRoleListResponse
  416. 3, // 6: role_service.RoleService.GetRole:output_type -> role_service.GetRoleResponse
  417. 5, // 7: role_service.RoleService.UpdateRole:output_type -> role_service.UpdateRoleResponse
  418. 7, // 8: role_service.RoleService.CreateRole:output_type -> role_service.CreateRoleResponse
  419. 9, // 9: role_service.RoleService.DeleteRole:output_type -> role_service.DeleteRoleResponse
  420. 5, // [5:10] is the sub-list for method output_type
  421. 0, // [0:5] is the sub-list for method input_type
  422. 0, // [0:0] is the sub-list for extension type_name
  423. 0, // [0:0] is the sub-list for extension extendee
  424. 0, // [0:0] is the sub-list for field type_name
  425. }
  426. func init() { file_proto_role_proto_init() }
  427. func file_proto_role_proto_init() {
  428. if File_proto_role_proto != nil {
  429. return
  430. }
  431. if !protoimpl.UnsafeEnabled {
  432. file_proto_role_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  433. switch v := v.(*GetRoleListRequest); i {
  434. case 0:
  435. return &v.state
  436. case 1:
  437. return &v.sizeCache
  438. case 2:
  439. return &v.unknownFields
  440. default:
  441. return nil
  442. }
  443. }
  444. file_proto_role_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  445. switch v := v.(*GetRoleListResponse); i {
  446. case 0:
  447. return &v.state
  448. case 1:
  449. return &v.sizeCache
  450. case 2:
  451. return &v.unknownFields
  452. default:
  453. return nil
  454. }
  455. }
  456. file_proto_role_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  457. switch v := v.(*GetRoleRequest); i {
  458. case 0:
  459. return &v.state
  460. case 1:
  461. return &v.sizeCache
  462. case 2:
  463. return &v.unknownFields
  464. default:
  465. return nil
  466. }
  467. }
  468. file_proto_role_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  469. switch v := v.(*GetRoleResponse); i {
  470. case 0:
  471. return &v.state
  472. case 1:
  473. return &v.sizeCache
  474. case 2:
  475. return &v.unknownFields
  476. default:
  477. return nil
  478. }
  479. }
  480. file_proto_role_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  481. switch v := v.(*UpdateRoleRequest); i {
  482. case 0:
  483. return &v.state
  484. case 1:
  485. return &v.sizeCache
  486. case 2:
  487. return &v.unknownFields
  488. default:
  489. return nil
  490. }
  491. }
  492. file_proto_role_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  493. switch v := v.(*UpdateRoleResponse); i {
  494. case 0:
  495. return &v.state
  496. case 1:
  497. return &v.sizeCache
  498. case 2:
  499. return &v.unknownFields
  500. default:
  501. return nil
  502. }
  503. }
  504. file_proto_role_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  505. switch v := v.(*CreateRoleRequest); i {
  506. case 0:
  507. return &v.state
  508. case 1:
  509. return &v.sizeCache
  510. case 2:
  511. return &v.unknownFields
  512. default:
  513. return nil
  514. }
  515. }
  516. file_proto_role_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  517. switch v := v.(*CreateRoleResponse); i {
  518. case 0:
  519. return &v.state
  520. case 1:
  521. return &v.sizeCache
  522. case 2:
  523. return &v.unknownFields
  524. default:
  525. return nil
  526. }
  527. }
  528. file_proto_role_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  529. switch v := v.(*DeleteRoleRequest); i {
  530. case 0:
  531. return &v.state
  532. case 1:
  533. return &v.sizeCache
  534. case 2:
  535. return &v.unknownFields
  536. default:
  537. return nil
  538. }
  539. }
  540. file_proto_role_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  541. switch v := v.(*DeleteRoleResponse); i {
  542. case 0:
  543. return &v.state
  544. case 1:
  545. return &v.sizeCache
  546. case 2:
  547. return &v.unknownFields
  548. default:
  549. return nil
  550. }
  551. }
  552. }
  553. type x struct{}
  554. out := protoimpl.TypeBuilder{
  555. File: protoimpl.DescBuilder{
  556. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  557. RawDescriptor: file_proto_role_proto_rawDesc,
  558. NumEnums: 0,
  559. NumMessages: 10,
  560. NumExtensions: 0,
  561. NumServices: 1,
  562. },
  563. GoTypes: file_proto_role_proto_goTypes,
  564. DependencyIndexes: file_proto_role_proto_depIdxs,
  565. MessageInfos: file_proto_role_proto_msgTypes,
  566. }.Build()
  567. File_proto_role_proto = out.File
  568. file_proto_role_proto_rawDesc = nil
  569. file_proto_role_proto_goTypes = nil
  570. file_proto_role_proto_depIdxs = nil
  571. }