system.pb.go 98 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828
  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. type CommonOK struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  24. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  25. Data *Success `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  26. }
  27. func (x *CommonOK) Reset() {
  28. *x = CommonOK{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_backend_operation_system_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *CommonOK) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*CommonOK) ProtoMessage() {}
  39. func (x *CommonOK) ProtoReflect() protoreflect.Message {
  40. mi := &file_backend_operation_system_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use CommonOK.ProtoReflect.Descriptor instead.
  51. func (*CommonOK) Descriptor() ([]byte, []int) {
  52. return file_backend_operation_system_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *CommonOK) GetCode() int32 {
  55. if x != nil {
  56. return x.Code
  57. }
  58. return 0
  59. }
  60. func (x *CommonOK) GetMsg() string {
  61. if x != nil {
  62. return x.Msg
  63. }
  64. return ""
  65. }
  66. func (x *CommonOK) GetData() *Success {
  67. if x != nil {
  68. return x.Data
  69. }
  70. return nil
  71. }
  72. type Success struct {
  73. state protoimpl.MessageState
  74. sizeCache protoimpl.SizeCache
  75. unknownFields protoimpl.UnknownFields
  76. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  77. }
  78. func (x *Success) Reset() {
  79. *x = Success{}
  80. if protoimpl.UnsafeEnabled {
  81. mi := &file_backend_operation_system_proto_msgTypes[1]
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. ms.StoreMessageInfo(mi)
  84. }
  85. }
  86. func (x *Success) String() string {
  87. return protoimpl.X.MessageStringOf(x)
  88. }
  89. func (*Success) ProtoMessage() {}
  90. func (x *Success) ProtoReflect() protoreflect.Message {
  91. mi := &file_backend_operation_system_proto_msgTypes[1]
  92. if protoimpl.UnsafeEnabled && x != nil {
  93. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  94. if ms.LoadMessageInfo() == nil {
  95. ms.StoreMessageInfo(mi)
  96. }
  97. return ms
  98. }
  99. return mi.MessageOf(x)
  100. }
  101. // Deprecated: Use Success.ProtoReflect.Descriptor instead.
  102. func (*Success) Descriptor() ([]byte, []int) {
  103. return file_backend_operation_system_proto_rawDescGZIP(), []int{1}
  104. }
  105. func (x *Success) GetSuccess() bool {
  106. if x != nil {
  107. return x.Success
  108. }
  109. return false
  110. }
  111. type WxOpenId struct {
  112. state protoimpl.MessageState
  113. sizeCache protoimpl.SizeCache
  114. unknownFields protoimpl.UnknownFields
  115. Openid string `protobuf:"bytes,1,opt,name=openid,proto3" json:"openid,omitempty"`
  116. }
  117. func (x *WxOpenId) Reset() {
  118. *x = WxOpenId{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_backend_operation_system_proto_msgTypes[2]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *WxOpenId) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*WxOpenId) ProtoMessage() {}
  129. func (x *WxOpenId) ProtoReflect() protoreflect.Message {
  130. mi := &file_backend_operation_system_proto_msgTypes[2]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use WxOpenId.ProtoReflect.Descriptor instead.
  141. func (*WxOpenId) Descriptor() ([]byte, []int) {
  142. return file_backend_operation_system_proto_rawDescGZIP(), []int{2}
  143. }
  144. func (x *WxOpenId) GetOpenid() string {
  145. if x != nil {
  146. return x.Openid
  147. }
  148. return ""
  149. }
  150. // 用户角色
  151. type AddRoleRequest struct {
  152. state protoimpl.MessageState
  153. sizeCache protoimpl.SizeCache
  154. unknownFields protoimpl.UnknownFields
  155. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  156. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  157. Remarks string `protobuf:"bytes,3,opt,name=remarks,proto3" json:"remarks,omitempty"` // 角色备注
  158. IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  159. PastureId []uint32 `protobuf:"varint,5,rep,packed,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  160. MenuId []uint32 `protobuf:"varint,6,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 菜单id
  161. MobileId []uint32 `protobuf:"varint,7,rep,packed,name=mobile_id,json=mobileId,proto3" json:"mobile_id,omitempty"` // 移动端id
  162. CreateUser string `protobuf:"bytes,8,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建用户
  163. CreatedAt uint32 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  164. CreatedAtFormat string `protobuf:"bytes,10,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  165. PastureList []string `protobuf:"bytes,11,rep,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 负责的牧场
  166. MenuList []string `protobuf:"bytes,12,rep,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 权限列表
  167. }
  168. func (x *AddRoleRequest) Reset() {
  169. *x = AddRoleRequest{}
  170. if protoimpl.UnsafeEnabled {
  171. mi := &file_backend_operation_system_proto_msgTypes[3]
  172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  173. ms.StoreMessageInfo(mi)
  174. }
  175. }
  176. func (x *AddRoleRequest) String() string {
  177. return protoimpl.X.MessageStringOf(x)
  178. }
  179. func (*AddRoleRequest) ProtoMessage() {}
  180. func (x *AddRoleRequest) ProtoReflect() protoreflect.Message {
  181. mi := &file_backend_operation_system_proto_msgTypes[3]
  182. if protoimpl.UnsafeEnabled && x != nil {
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. if ms.LoadMessageInfo() == nil {
  185. ms.StoreMessageInfo(mi)
  186. }
  187. return ms
  188. }
  189. return mi.MessageOf(x)
  190. }
  191. // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.
  192. func (*AddRoleRequest) Descriptor() ([]byte, []int) {
  193. return file_backend_operation_system_proto_rawDescGZIP(), []int{3}
  194. }
  195. func (x *AddRoleRequest) GetId() uint32 {
  196. if x != nil {
  197. return x.Id
  198. }
  199. return 0
  200. }
  201. func (x *AddRoleRequest) GetName() string {
  202. if x != nil {
  203. return x.Name
  204. }
  205. return ""
  206. }
  207. func (x *AddRoleRequest) GetRemarks() string {
  208. if x != nil {
  209. return x.Remarks
  210. }
  211. return ""
  212. }
  213. func (x *AddRoleRequest) GetIsShow() IsShow_Kind {
  214. if x != nil {
  215. return x.IsShow
  216. }
  217. return IsShow_INVALID
  218. }
  219. func (x *AddRoleRequest) GetPastureId() []uint32 {
  220. if x != nil {
  221. return x.PastureId
  222. }
  223. return nil
  224. }
  225. func (x *AddRoleRequest) GetMenuId() []uint32 {
  226. if x != nil {
  227. return x.MenuId
  228. }
  229. return nil
  230. }
  231. func (x *AddRoleRequest) GetMobileId() []uint32 {
  232. if x != nil {
  233. return x.MobileId
  234. }
  235. return nil
  236. }
  237. func (x *AddRoleRequest) GetCreateUser() string {
  238. if x != nil {
  239. return x.CreateUser
  240. }
  241. return ""
  242. }
  243. func (x *AddRoleRequest) GetCreatedAt() uint32 {
  244. if x != nil {
  245. return x.CreatedAt
  246. }
  247. return 0
  248. }
  249. func (x *AddRoleRequest) GetCreatedAtFormat() string {
  250. if x != nil {
  251. return x.CreatedAtFormat
  252. }
  253. return ""
  254. }
  255. func (x *AddRoleRequest) GetPastureList() []string {
  256. if x != nil {
  257. return x.PastureList
  258. }
  259. return nil
  260. }
  261. func (x *AddRoleRequest) GetMenuList() []string {
  262. if x != nil {
  263. return x.MenuList
  264. }
  265. return nil
  266. }
  267. type SearchRoleRequest struct {
  268. state protoimpl.MessageState
  269. sizeCache protoimpl.SizeCache
  270. unknownFields protoimpl.UnknownFields
  271. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  272. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  273. }
  274. func (x *SearchRoleRequest) Reset() {
  275. *x = SearchRoleRequest{}
  276. if protoimpl.UnsafeEnabled {
  277. mi := &file_backend_operation_system_proto_msgTypes[4]
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. ms.StoreMessageInfo(mi)
  280. }
  281. }
  282. func (x *SearchRoleRequest) String() string {
  283. return protoimpl.X.MessageStringOf(x)
  284. }
  285. func (*SearchRoleRequest) ProtoMessage() {}
  286. func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message {
  287. mi := &file_backend_operation_system_proto_msgTypes[4]
  288. if protoimpl.UnsafeEnabled && x != nil {
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. if ms.LoadMessageInfo() == nil {
  291. ms.StoreMessageInfo(mi)
  292. }
  293. return ms
  294. }
  295. return mi.MessageOf(x)
  296. }
  297. // Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead.
  298. func (*SearchRoleRequest) Descriptor() ([]byte, []int) {
  299. return file_backend_operation_system_proto_rawDescGZIP(), []int{4}
  300. }
  301. func (x *SearchRoleRequest) GetName() string {
  302. if x != nil {
  303. return x.Name
  304. }
  305. return ""
  306. }
  307. func (x *SearchRoleRequest) GetPagination() *PaginationModel {
  308. if x != nil {
  309. return x.Pagination
  310. }
  311. return nil
  312. }
  313. type SearchRoleResponse struct {
  314. state protoimpl.MessageState
  315. sizeCache protoimpl.SizeCache
  316. unknownFields protoimpl.UnknownFields
  317. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  318. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  319. Data *SearchRoleData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  320. }
  321. func (x *SearchRoleResponse) Reset() {
  322. *x = SearchRoleResponse{}
  323. if protoimpl.UnsafeEnabled {
  324. mi := &file_backend_operation_system_proto_msgTypes[5]
  325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  326. ms.StoreMessageInfo(mi)
  327. }
  328. }
  329. func (x *SearchRoleResponse) String() string {
  330. return protoimpl.X.MessageStringOf(x)
  331. }
  332. func (*SearchRoleResponse) ProtoMessage() {}
  333. func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message {
  334. mi := &file_backend_operation_system_proto_msgTypes[5]
  335. if protoimpl.UnsafeEnabled && x != nil {
  336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  337. if ms.LoadMessageInfo() == nil {
  338. ms.StoreMessageInfo(mi)
  339. }
  340. return ms
  341. }
  342. return mi.MessageOf(x)
  343. }
  344. // Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead.
  345. func (*SearchRoleResponse) Descriptor() ([]byte, []int) {
  346. return file_backend_operation_system_proto_rawDescGZIP(), []int{5}
  347. }
  348. func (x *SearchRoleResponse) GetCode() uint32 {
  349. if x != nil {
  350. return x.Code
  351. }
  352. return 0
  353. }
  354. func (x *SearchRoleResponse) GetMsg() string {
  355. if x != nil {
  356. return x.Msg
  357. }
  358. return ""
  359. }
  360. func (x *SearchRoleResponse) GetData() *SearchRoleData {
  361. if x != nil {
  362. return x.Data
  363. }
  364. return nil
  365. }
  366. type SearchRoleData struct {
  367. state protoimpl.MessageState
  368. sizeCache protoimpl.SizeCache
  369. unknownFields protoimpl.UnknownFields
  370. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  371. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  372. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  373. List []*AddRoleRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  374. }
  375. func (x *SearchRoleData) Reset() {
  376. *x = SearchRoleData{}
  377. if protoimpl.UnsafeEnabled {
  378. mi := &file_backend_operation_system_proto_msgTypes[6]
  379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  380. ms.StoreMessageInfo(mi)
  381. }
  382. }
  383. func (x *SearchRoleData) String() string {
  384. return protoimpl.X.MessageStringOf(x)
  385. }
  386. func (*SearchRoleData) ProtoMessage() {}
  387. func (x *SearchRoleData) ProtoReflect() protoreflect.Message {
  388. mi := &file_backend_operation_system_proto_msgTypes[6]
  389. if protoimpl.UnsafeEnabled && x != nil {
  390. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  391. if ms.LoadMessageInfo() == nil {
  392. ms.StoreMessageInfo(mi)
  393. }
  394. return ms
  395. }
  396. return mi.MessageOf(x)
  397. }
  398. // Deprecated: Use SearchRoleData.ProtoReflect.Descriptor instead.
  399. func (*SearchRoleData) Descriptor() ([]byte, []int) {
  400. return file_backend_operation_system_proto_rawDescGZIP(), []int{6}
  401. }
  402. func (x *SearchRoleData) GetPage() int32 {
  403. if x != nil {
  404. return x.Page
  405. }
  406. return 0
  407. }
  408. func (x *SearchRoleData) GetTotal() int32 {
  409. if x != nil {
  410. return x.Total
  411. }
  412. return 0
  413. }
  414. func (x *SearchRoleData) GetPageSize() int32 {
  415. if x != nil {
  416. return x.PageSize
  417. }
  418. return 0
  419. }
  420. func (x *SearchRoleData) GetList() []*AddRoleRequest {
  421. if x != nil {
  422. return x.List
  423. }
  424. return nil
  425. }
  426. // 角色对应权限列表
  427. type RolePermissionsList struct {
  428. state protoimpl.MessageState
  429. sizeCache protoimpl.SizeCache
  430. unknownFields protoimpl.UnknownFields
  431. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  432. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  433. Data *RolePermissionsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  434. }
  435. func (x *RolePermissionsList) Reset() {
  436. *x = RolePermissionsList{}
  437. if protoimpl.UnsafeEnabled {
  438. mi := &file_backend_operation_system_proto_msgTypes[7]
  439. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  440. ms.StoreMessageInfo(mi)
  441. }
  442. }
  443. func (x *RolePermissionsList) String() string {
  444. return protoimpl.X.MessageStringOf(x)
  445. }
  446. func (*RolePermissionsList) ProtoMessage() {}
  447. func (x *RolePermissionsList) ProtoReflect() protoreflect.Message {
  448. mi := &file_backend_operation_system_proto_msgTypes[7]
  449. if protoimpl.UnsafeEnabled && x != nil {
  450. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  451. if ms.LoadMessageInfo() == nil {
  452. ms.StoreMessageInfo(mi)
  453. }
  454. return ms
  455. }
  456. return mi.MessageOf(x)
  457. }
  458. // Deprecated: Use RolePermissionsList.ProtoReflect.Descriptor instead.
  459. func (*RolePermissionsList) Descriptor() ([]byte, []int) {
  460. return file_backend_operation_system_proto_rawDescGZIP(), []int{7}
  461. }
  462. func (x *RolePermissionsList) GetCode() int32 {
  463. if x != nil {
  464. return x.Code
  465. }
  466. return 0
  467. }
  468. func (x *RolePermissionsList) GetMsg() string {
  469. if x != nil {
  470. return x.Msg
  471. }
  472. return ""
  473. }
  474. func (x *RolePermissionsList) GetData() *RolePermissionsData {
  475. if x != nil {
  476. return x.Data
  477. }
  478. return nil
  479. }
  480. type RolePermissionsData struct {
  481. state protoimpl.MessageState
  482. sizeCache protoimpl.SizeCache
  483. unknownFields protoimpl.UnknownFields
  484. MobileList []uint32 `protobuf:"varint,1,rep,packed,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限id
  485. PastureList []uint32 `protobuf:"varint,2,rep,packed,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场端列表
  486. MenuList []uint32 `protobuf:"varint,3,rep,packed,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 后端权限列表
  487. }
  488. func (x *RolePermissionsData) Reset() {
  489. *x = RolePermissionsData{}
  490. if protoimpl.UnsafeEnabled {
  491. mi := &file_backend_operation_system_proto_msgTypes[8]
  492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  493. ms.StoreMessageInfo(mi)
  494. }
  495. }
  496. func (x *RolePermissionsData) String() string {
  497. return protoimpl.X.MessageStringOf(x)
  498. }
  499. func (*RolePermissionsData) ProtoMessage() {}
  500. func (x *RolePermissionsData) ProtoReflect() protoreflect.Message {
  501. mi := &file_backend_operation_system_proto_msgTypes[8]
  502. if protoimpl.UnsafeEnabled && x != nil {
  503. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  504. if ms.LoadMessageInfo() == nil {
  505. ms.StoreMessageInfo(mi)
  506. }
  507. return ms
  508. }
  509. return mi.MessageOf(x)
  510. }
  511. // Deprecated: Use RolePermissionsData.ProtoReflect.Descriptor instead.
  512. func (*RolePermissionsData) Descriptor() ([]byte, []int) {
  513. return file_backend_operation_system_proto_rawDescGZIP(), []int{8}
  514. }
  515. func (x *RolePermissionsData) GetMobileList() []uint32 {
  516. if x != nil {
  517. return x.MobileList
  518. }
  519. return nil
  520. }
  521. func (x *RolePermissionsData) GetPastureList() []uint32 {
  522. if x != nil {
  523. return x.PastureList
  524. }
  525. return nil
  526. }
  527. func (x *RolePermissionsData) GetMenuList() []uint32 {
  528. if x != nil {
  529. return x.MenuList
  530. }
  531. return nil
  532. }
  533. // 用户token
  534. type SystemToken struct {
  535. state protoimpl.MessageState
  536. sizeCache protoimpl.SizeCache
  537. unknownFields protoimpl.UnknownFields
  538. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  539. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  540. Data *TokenData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  541. }
  542. func (x *SystemToken) Reset() {
  543. *x = SystemToken{}
  544. if protoimpl.UnsafeEnabled {
  545. mi := &file_backend_operation_system_proto_msgTypes[9]
  546. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  547. ms.StoreMessageInfo(mi)
  548. }
  549. }
  550. func (x *SystemToken) String() string {
  551. return protoimpl.X.MessageStringOf(x)
  552. }
  553. func (*SystemToken) ProtoMessage() {}
  554. func (x *SystemToken) ProtoReflect() protoreflect.Message {
  555. mi := &file_backend_operation_system_proto_msgTypes[9]
  556. if protoimpl.UnsafeEnabled && x != nil {
  557. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  558. if ms.LoadMessageInfo() == nil {
  559. ms.StoreMessageInfo(mi)
  560. }
  561. return ms
  562. }
  563. return mi.MessageOf(x)
  564. }
  565. // Deprecated: Use SystemToken.ProtoReflect.Descriptor instead.
  566. func (*SystemToken) Descriptor() ([]byte, []int) {
  567. return file_backend_operation_system_proto_rawDescGZIP(), []int{9}
  568. }
  569. func (x *SystemToken) GetCode() int32 {
  570. if x != nil {
  571. return x.Code
  572. }
  573. return 0
  574. }
  575. func (x *SystemToken) GetMsg() string {
  576. if x != nil {
  577. return x.Msg
  578. }
  579. return ""
  580. }
  581. func (x *SystemToken) GetData() *TokenData {
  582. if x != nil {
  583. return x.Data
  584. }
  585. return nil
  586. }
  587. type TokenData struct {
  588. state protoimpl.MessageState
  589. sizeCache protoimpl.SizeCache
  590. unknownFields protoimpl.UnknownFields
  591. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  592. }
  593. func (x *TokenData) Reset() {
  594. *x = TokenData{}
  595. if protoimpl.UnsafeEnabled {
  596. mi := &file_backend_operation_system_proto_msgTypes[10]
  597. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  598. ms.StoreMessageInfo(mi)
  599. }
  600. }
  601. func (x *TokenData) String() string {
  602. return protoimpl.X.MessageStringOf(x)
  603. }
  604. func (*TokenData) ProtoMessage() {}
  605. func (x *TokenData) ProtoReflect() protoreflect.Message {
  606. mi := &file_backend_operation_system_proto_msgTypes[10]
  607. if protoimpl.UnsafeEnabled && x != nil {
  608. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  609. if ms.LoadMessageInfo() == nil {
  610. ms.StoreMessageInfo(mi)
  611. }
  612. return ms
  613. }
  614. return mi.MessageOf(x)
  615. }
  616. // Deprecated: Use TokenData.ProtoReflect.Descriptor instead.
  617. func (*TokenData) Descriptor() ([]byte, []int) {
  618. return file_backend_operation_system_proto_rawDescGZIP(), []int{10}
  619. }
  620. func (x *TokenData) GetToken() string {
  621. if x != nil {
  622. return x.Token
  623. }
  624. return ""
  625. }
  626. // 用户登录
  627. type UserAuth struct {
  628. state protoimpl.MessageState
  629. sizeCache protoimpl.SizeCache
  630. unknownFields protoimpl.UnknownFields
  631. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  632. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  633. Data *UserAuthData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  634. }
  635. func (x *UserAuth) Reset() {
  636. *x = UserAuth{}
  637. if protoimpl.UnsafeEnabled {
  638. mi := &file_backend_operation_system_proto_msgTypes[11]
  639. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  640. ms.StoreMessageInfo(mi)
  641. }
  642. }
  643. func (x *UserAuth) String() string {
  644. return protoimpl.X.MessageStringOf(x)
  645. }
  646. func (*UserAuth) ProtoMessage() {}
  647. func (x *UserAuth) ProtoReflect() protoreflect.Message {
  648. mi := &file_backend_operation_system_proto_msgTypes[11]
  649. if protoimpl.UnsafeEnabled && x != nil {
  650. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  651. if ms.LoadMessageInfo() == nil {
  652. ms.StoreMessageInfo(mi)
  653. }
  654. return ms
  655. }
  656. return mi.MessageOf(x)
  657. }
  658. // Deprecated: Use UserAuth.ProtoReflect.Descriptor instead.
  659. func (*UserAuth) Descriptor() ([]byte, []int) {
  660. return file_backend_operation_system_proto_rawDescGZIP(), []int{11}
  661. }
  662. func (x *UserAuth) GetCode() int32 {
  663. if x != nil {
  664. return x.Code
  665. }
  666. return 0
  667. }
  668. func (x *UserAuth) GetMsg() string {
  669. if x != nil {
  670. return x.Msg
  671. }
  672. return ""
  673. }
  674. func (x *UserAuth) GetData() *UserAuthData {
  675. if x != nil {
  676. return x.Data
  677. }
  678. return nil
  679. }
  680. type UserAuthData struct {
  681. state protoimpl.MessageState
  682. sizeCache protoimpl.SizeCache
  683. unknownFields protoimpl.UnknownFields
  684. UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称
  685. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
  686. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  687. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 用户角色
  688. EmployeeName string `protobuf:"bytes,5,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工名称
  689. Pastures []*UserPasture `protobuf:"bytes,6,rep,name=pastures,proto3" json:"pastures,omitempty"` // 用户角色牧场牧场
  690. }
  691. func (x *UserAuthData) Reset() {
  692. *x = UserAuthData{}
  693. if protoimpl.UnsafeEnabled {
  694. mi := &file_backend_operation_system_proto_msgTypes[12]
  695. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  696. ms.StoreMessageInfo(mi)
  697. }
  698. }
  699. func (x *UserAuthData) String() string {
  700. return protoimpl.X.MessageStringOf(x)
  701. }
  702. func (*UserAuthData) ProtoMessage() {}
  703. func (x *UserAuthData) ProtoReflect() protoreflect.Message {
  704. mi := &file_backend_operation_system_proto_msgTypes[12]
  705. if protoimpl.UnsafeEnabled && x != nil {
  706. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  707. if ms.LoadMessageInfo() == nil {
  708. ms.StoreMessageInfo(mi)
  709. }
  710. return ms
  711. }
  712. return mi.MessageOf(x)
  713. }
  714. // Deprecated: Use UserAuthData.ProtoReflect.Descriptor instead.
  715. func (*UserAuthData) Descriptor() ([]byte, []int) {
  716. return file_backend_operation_system_proto_rawDescGZIP(), []int{12}
  717. }
  718. func (x *UserAuthData) GetUserName() string {
  719. if x != nil {
  720. return x.UserName
  721. }
  722. return ""
  723. }
  724. func (x *UserAuthData) GetPassword() string {
  725. if x != nil {
  726. return x.Password
  727. }
  728. return ""
  729. }
  730. func (x *UserAuthData) GetPhone() string {
  731. if x != nil {
  732. return x.Phone
  733. }
  734. return ""
  735. }
  736. func (x *UserAuthData) GetRoles() []*UserRole {
  737. if x != nil {
  738. return x.Roles
  739. }
  740. return nil
  741. }
  742. func (x *UserAuthData) GetEmployeeName() string {
  743. if x != nil {
  744. return x.EmployeeName
  745. }
  746. return ""
  747. }
  748. func (x *UserAuthData) GetPastures() []*UserPasture {
  749. if x != nil {
  750. return x.Pastures
  751. }
  752. return nil
  753. }
  754. type UserRole struct {
  755. state protoimpl.MessageState
  756. sizeCache protoimpl.SizeCache
  757. unknownFields protoimpl.UnknownFields
  758. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色id
  759. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  760. }
  761. func (x *UserRole) Reset() {
  762. *x = UserRole{}
  763. if protoimpl.UnsafeEnabled {
  764. mi := &file_backend_operation_system_proto_msgTypes[13]
  765. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  766. ms.StoreMessageInfo(mi)
  767. }
  768. }
  769. func (x *UserRole) String() string {
  770. return protoimpl.X.MessageStringOf(x)
  771. }
  772. func (*UserRole) ProtoMessage() {}
  773. func (x *UserRole) ProtoReflect() protoreflect.Message {
  774. mi := &file_backend_operation_system_proto_msgTypes[13]
  775. if protoimpl.UnsafeEnabled && x != nil {
  776. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  777. if ms.LoadMessageInfo() == nil {
  778. ms.StoreMessageInfo(mi)
  779. }
  780. return ms
  781. }
  782. return mi.MessageOf(x)
  783. }
  784. // Deprecated: Use UserRole.ProtoReflect.Descriptor instead.
  785. func (*UserRole) Descriptor() ([]byte, []int) {
  786. return file_backend_operation_system_proto_rawDescGZIP(), []int{13}
  787. }
  788. func (x *UserRole) GetId() int32 {
  789. if x != nil {
  790. return x.Id
  791. }
  792. return 0
  793. }
  794. func (x *UserRole) GetName() string {
  795. if x != nil {
  796. return x.Name
  797. }
  798. return ""
  799. }
  800. // 用户详情
  801. type UserDetails struct {
  802. state protoimpl.MessageState
  803. sizeCache protoimpl.SizeCache
  804. unknownFields protoimpl.UnknownFields
  805. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  806. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  807. Data *AddSystemUser `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  808. }
  809. func (x *UserDetails) Reset() {
  810. *x = UserDetails{}
  811. if protoimpl.UnsafeEnabled {
  812. mi := &file_backend_operation_system_proto_msgTypes[14]
  813. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  814. ms.StoreMessageInfo(mi)
  815. }
  816. }
  817. func (x *UserDetails) String() string {
  818. return protoimpl.X.MessageStringOf(x)
  819. }
  820. func (*UserDetails) ProtoMessage() {}
  821. func (x *UserDetails) ProtoReflect() protoreflect.Message {
  822. mi := &file_backend_operation_system_proto_msgTypes[14]
  823. if protoimpl.UnsafeEnabled && x != nil {
  824. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  825. if ms.LoadMessageInfo() == nil {
  826. ms.StoreMessageInfo(mi)
  827. }
  828. return ms
  829. }
  830. return mi.MessageOf(x)
  831. }
  832. // Deprecated: Use UserDetails.ProtoReflect.Descriptor instead.
  833. func (*UserDetails) Descriptor() ([]byte, []int) {
  834. return file_backend_operation_system_proto_rawDescGZIP(), []int{14}
  835. }
  836. func (x *UserDetails) GetCode() int32 {
  837. if x != nil {
  838. return x.Code
  839. }
  840. return 0
  841. }
  842. func (x *UserDetails) GetMsg() string {
  843. if x != nil {
  844. return x.Msg
  845. }
  846. return ""
  847. }
  848. func (x *UserDetails) GetData() *AddSystemUser {
  849. if x != nil {
  850. return x.Data
  851. }
  852. return nil
  853. }
  854. type AddSystemUser struct {
  855. state protoimpl.MessageState
  856. sizeCache protoimpl.SizeCache
  857. unknownFields protoimpl.UnknownFields
  858. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
  859. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  860. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  861. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 角色
  862. IsShow IsShow_Kind `protobuf:"varint,5,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  863. EmployeeName string `protobuf:"bytes,6,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  864. CreateUser string `protobuf:"bytes,7,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建人
  865. CreatedAt int32 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  866. CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  867. RoleName string `protobuf:"bytes,10,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 角色名称
  868. RoleIds []int32 `protobuf:"varint,11,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // 角色ids
  869. }
  870. func (x *AddSystemUser) Reset() {
  871. *x = AddSystemUser{}
  872. if protoimpl.UnsafeEnabled {
  873. mi := &file_backend_operation_system_proto_msgTypes[15]
  874. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  875. ms.StoreMessageInfo(mi)
  876. }
  877. }
  878. func (x *AddSystemUser) String() string {
  879. return protoimpl.X.MessageStringOf(x)
  880. }
  881. func (*AddSystemUser) ProtoMessage() {}
  882. func (x *AddSystemUser) ProtoReflect() protoreflect.Message {
  883. mi := &file_backend_operation_system_proto_msgTypes[15]
  884. if protoimpl.UnsafeEnabled && x != nil {
  885. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  886. if ms.LoadMessageInfo() == nil {
  887. ms.StoreMessageInfo(mi)
  888. }
  889. return ms
  890. }
  891. return mi.MessageOf(x)
  892. }
  893. // Deprecated: Use AddSystemUser.ProtoReflect.Descriptor instead.
  894. func (*AddSystemUser) Descriptor() ([]byte, []int) {
  895. return file_backend_operation_system_proto_rawDescGZIP(), []int{15}
  896. }
  897. func (x *AddSystemUser) GetId() int32 {
  898. if x != nil {
  899. return x.Id
  900. }
  901. return 0
  902. }
  903. func (x *AddSystemUser) GetName() string {
  904. if x != nil {
  905. return x.Name
  906. }
  907. return ""
  908. }
  909. func (x *AddSystemUser) GetPhone() string {
  910. if x != nil {
  911. return x.Phone
  912. }
  913. return ""
  914. }
  915. func (x *AddSystemUser) GetRoles() []*UserRole {
  916. if x != nil {
  917. return x.Roles
  918. }
  919. return nil
  920. }
  921. func (x *AddSystemUser) GetIsShow() IsShow_Kind {
  922. if x != nil {
  923. return x.IsShow
  924. }
  925. return IsShow_INVALID
  926. }
  927. func (x *AddSystemUser) GetEmployeeName() string {
  928. if x != nil {
  929. return x.EmployeeName
  930. }
  931. return ""
  932. }
  933. func (x *AddSystemUser) GetCreateUser() string {
  934. if x != nil {
  935. return x.CreateUser
  936. }
  937. return ""
  938. }
  939. func (x *AddSystemUser) GetCreatedAt() int32 {
  940. if x != nil {
  941. return x.CreatedAt
  942. }
  943. return 0
  944. }
  945. func (x *AddSystemUser) GetCreatedAtFormat() string {
  946. if x != nil {
  947. return x.CreatedAtFormat
  948. }
  949. return ""
  950. }
  951. func (x *AddSystemUser) GetRoleName() string {
  952. if x != nil {
  953. return x.RoleName
  954. }
  955. return ""
  956. }
  957. func (x *AddSystemUser) GetRoleIds() []int32 {
  958. if x != nil {
  959. return x.RoleIds
  960. }
  961. return nil
  962. }
  963. // 查询用户
  964. type SearchUserRequest struct {
  965. state protoimpl.MessageState
  966. sizeCache protoimpl.SizeCache
  967. unknownFields protoimpl.UnknownFields
  968. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  969. EmployeeName string `protobuf:"bytes,2,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  970. IsShow IsShow_Kind `protobuf:"varint,3,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  971. CreatedStartTime uint32 `protobuf:"varint,4,opt,name=created_start_time,json=createdStartTime,proto3" json:"created_start_time,omitempty"` // 开始时间
  972. CreatedEndTime uint32 `protobuf:"varint,5,opt,name=created_end_time,json=createdEndTime,proto3" json:"created_end_time,omitempty"` // 结束时间
  973. Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  974. }
  975. func (x *SearchUserRequest) Reset() {
  976. *x = SearchUserRequest{}
  977. if protoimpl.UnsafeEnabled {
  978. mi := &file_backend_operation_system_proto_msgTypes[16]
  979. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  980. ms.StoreMessageInfo(mi)
  981. }
  982. }
  983. func (x *SearchUserRequest) String() string {
  984. return protoimpl.X.MessageStringOf(x)
  985. }
  986. func (*SearchUserRequest) ProtoMessage() {}
  987. func (x *SearchUserRequest) ProtoReflect() protoreflect.Message {
  988. mi := &file_backend_operation_system_proto_msgTypes[16]
  989. if protoimpl.UnsafeEnabled && x != nil {
  990. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  991. if ms.LoadMessageInfo() == nil {
  992. ms.StoreMessageInfo(mi)
  993. }
  994. return ms
  995. }
  996. return mi.MessageOf(x)
  997. }
  998. // Deprecated: Use SearchUserRequest.ProtoReflect.Descriptor instead.
  999. func (*SearchUserRequest) Descriptor() ([]byte, []int) {
  1000. return file_backend_operation_system_proto_rawDescGZIP(), []int{16}
  1001. }
  1002. func (x *SearchUserRequest) GetName() string {
  1003. if x != nil {
  1004. return x.Name
  1005. }
  1006. return ""
  1007. }
  1008. func (x *SearchUserRequest) GetEmployeeName() string {
  1009. if x != nil {
  1010. return x.EmployeeName
  1011. }
  1012. return ""
  1013. }
  1014. func (x *SearchUserRequest) GetIsShow() IsShow_Kind {
  1015. if x != nil {
  1016. return x.IsShow
  1017. }
  1018. return IsShow_INVALID
  1019. }
  1020. func (x *SearchUserRequest) GetCreatedStartTime() uint32 {
  1021. if x != nil {
  1022. return x.CreatedStartTime
  1023. }
  1024. return 0
  1025. }
  1026. func (x *SearchUserRequest) GetCreatedEndTime() uint32 {
  1027. if x != nil {
  1028. return x.CreatedEndTime
  1029. }
  1030. return 0
  1031. }
  1032. func (x *SearchUserRequest) GetPagination() *PaginationModel {
  1033. if x != nil {
  1034. return x.Pagination
  1035. }
  1036. return nil
  1037. }
  1038. type SearchUserResponse struct {
  1039. state protoimpl.MessageState
  1040. sizeCache protoimpl.SizeCache
  1041. unknownFields protoimpl.UnknownFields
  1042. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1043. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1044. Data *SearchUserData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1045. }
  1046. func (x *SearchUserResponse) Reset() {
  1047. *x = SearchUserResponse{}
  1048. if protoimpl.UnsafeEnabled {
  1049. mi := &file_backend_operation_system_proto_msgTypes[17]
  1050. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1051. ms.StoreMessageInfo(mi)
  1052. }
  1053. }
  1054. func (x *SearchUserResponse) String() string {
  1055. return protoimpl.X.MessageStringOf(x)
  1056. }
  1057. func (*SearchUserResponse) ProtoMessage() {}
  1058. func (x *SearchUserResponse) ProtoReflect() protoreflect.Message {
  1059. mi := &file_backend_operation_system_proto_msgTypes[17]
  1060. if protoimpl.UnsafeEnabled && x != nil {
  1061. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1062. if ms.LoadMessageInfo() == nil {
  1063. ms.StoreMessageInfo(mi)
  1064. }
  1065. return ms
  1066. }
  1067. return mi.MessageOf(x)
  1068. }
  1069. // Deprecated: Use SearchUserResponse.ProtoReflect.Descriptor instead.
  1070. func (*SearchUserResponse) Descriptor() ([]byte, []int) {
  1071. return file_backend_operation_system_proto_rawDescGZIP(), []int{17}
  1072. }
  1073. func (x *SearchUserResponse) GetCode() int32 {
  1074. if x != nil {
  1075. return x.Code
  1076. }
  1077. return 0
  1078. }
  1079. func (x *SearchUserResponse) GetMsg() string {
  1080. if x != nil {
  1081. return x.Msg
  1082. }
  1083. return ""
  1084. }
  1085. func (x *SearchUserResponse) GetData() *SearchUserData {
  1086. if x != nil {
  1087. return x.Data
  1088. }
  1089. return nil
  1090. }
  1091. type SearchUserData struct {
  1092. state protoimpl.MessageState
  1093. sizeCache protoimpl.SizeCache
  1094. unknownFields protoimpl.UnknownFields
  1095. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1096. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  1097. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1098. List []*AddSystemUser `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  1099. }
  1100. func (x *SearchUserData) Reset() {
  1101. *x = SearchUserData{}
  1102. if protoimpl.UnsafeEnabled {
  1103. mi := &file_backend_operation_system_proto_msgTypes[18]
  1104. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1105. ms.StoreMessageInfo(mi)
  1106. }
  1107. }
  1108. func (x *SearchUserData) String() string {
  1109. return protoimpl.X.MessageStringOf(x)
  1110. }
  1111. func (*SearchUserData) ProtoMessage() {}
  1112. func (x *SearchUserData) ProtoReflect() protoreflect.Message {
  1113. mi := &file_backend_operation_system_proto_msgTypes[18]
  1114. if protoimpl.UnsafeEnabled && x != nil {
  1115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1116. if ms.LoadMessageInfo() == nil {
  1117. ms.StoreMessageInfo(mi)
  1118. }
  1119. return ms
  1120. }
  1121. return mi.MessageOf(x)
  1122. }
  1123. // Deprecated: Use SearchUserData.ProtoReflect.Descriptor instead.
  1124. func (*SearchUserData) Descriptor() ([]byte, []int) {
  1125. return file_backend_operation_system_proto_rawDescGZIP(), []int{18}
  1126. }
  1127. func (x *SearchUserData) GetPage() int32 {
  1128. if x != nil {
  1129. return x.Page
  1130. }
  1131. return 0
  1132. }
  1133. func (x *SearchUserData) GetTotal() int32 {
  1134. if x != nil {
  1135. return x.Total
  1136. }
  1137. return 0
  1138. }
  1139. func (x *SearchUserData) GetPageSize() int32 {
  1140. if x != nil {
  1141. return x.PageSize
  1142. }
  1143. return 0
  1144. }
  1145. func (x *SearchUserData) GetList() []*AddSystemUser {
  1146. if x != nil {
  1147. return x.List
  1148. }
  1149. return nil
  1150. }
  1151. type IsShowSystemUserRequest struct {
  1152. state protoimpl.MessageState
  1153. sizeCache protoimpl.SizeCache
  1154. unknownFields protoimpl.UnknownFields
  1155. UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1156. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  1157. }
  1158. func (x *IsShowSystemUserRequest) Reset() {
  1159. *x = IsShowSystemUserRequest{}
  1160. if protoimpl.UnsafeEnabled {
  1161. mi := &file_backend_operation_system_proto_msgTypes[19]
  1162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1163. ms.StoreMessageInfo(mi)
  1164. }
  1165. }
  1166. func (x *IsShowSystemUserRequest) String() string {
  1167. return protoimpl.X.MessageStringOf(x)
  1168. }
  1169. func (*IsShowSystemUserRequest) ProtoMessage() {}
  1170. func (x *IsShowSystemUserRequest) ProtoReflect() protoreflect.Message {
  1171. mi := &file_backend_operation_system_proto_msgTypes[19]
  1172. if protoimpl.UnsafeEnabled && x != nil {
  1173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1174. if ms.LoadMessageInfo() == nil {
  1175. ms.StoreMessageInfo(mi)
  1176. }
  1177. return ms
  1178. }
  1179. return mi.MessageOf(x)
  1180. }
  1181. // Deprecated: Use IsShowSystemUserRequest.ProtoReflect.Descriptor instead.
  1182. func (*IsShowSystemUserRequest) Descriptor() ([]byte, []int) {
  1183. return file_backend_operation_system_proto_rawDescGZIP(), []int{19}
  1184. }
  1185. func (x *IsShowSystemUserRequest) GetUserId() int32 {
  1186. if x != nil {
  1187. return x.UserId
  1188. }
  1189. return 0
  1190. }
  1191. func (x *IsShowSystemUserRequest) GetIsShow() IsShow_Kind {
  1192. if x != nil {
  1193. return x.IsShow
  1194. }
  1195. return IsShow_INVALID
  1196. }
  1197. // 系统菜单权限
  1198. type AddMenuRequest struct {
  1199. state protoimpl.MessageState
  1200. sizeCache protoimpl.SizeCache
  1201. unknownFields protoimpl.UnknownFields
  1202. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1203. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1204. ParentId int32 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父id
  1205. MenuType int32 `protobuf:"varint,4,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` // 菜单类型 1 菜单 2 按钮
  1206. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // 标题
  1207. Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // 路径 path
  1208. IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否显示
  1209. Component string `protobuf:"bytes,8,opt,name=component,proto3" json:"component,omitempty"` // 组件
  1210. Icon string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon,omitempty"` // 图标
  1211. Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
  1212. Redirect string `protobuf:"bytes,11,opt,name=redirect,proto3" json:"redirect,omitempty"` // 重定向
  1213. CreatedAt int32 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  1214. CreatedAtFormat string `protobuf:"bytes,13,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  1215. Level int32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` // 菜单等级
  1216. Children []*AddMenuRequest `protobuf:"bytes,15,rep,name=children,proto3" json:"children,omitempty"` // 子分类
  1217. Affix bool `protobuf:"varint,16,opt,name=affix,proto3" json:"affix,omitempty"`
  1218. KeepAlive bool `protobuf:"varint,17,opt,name=keepAlive,proto3" json:"keepAlive,omitempty"`
  1219. }
  1220. func (x *AddMenuRequest) Reset() {
  1221. *x = AddMenuRequest{}
  1222. if protoimpl.UnsafeEnabled {
  1223. mi := &file_backend_operation_system_proto_msgTypes[20]
  1224. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1225. ms.StoreMessageInfo(mi)
  1226. }
  1227. }
  1228. func (x *AddMenuRequest) String() string {
  1229. return protoimpl.X.MessageStringOf(x)
  1230. }
  1231. func (*AddMenuRequest) ProtoMessage() {}
  1232. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  1233. mi := &file_backend_operation_system_proto_msgTypes[20]
  1234. if protoimpl.UnsafeEnabled && x != nil {
  1235. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1236. if ms.LoadMessageInfo() == nil {
  1237. ms.StoreMessageInfo(mi)
  1238. }
  1239. return ms
  1240. }
  1241. return mi.MessageOf(x)
  1242. }
  1243. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  1244. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  1245. return file_backend_operation_system_proto_rawDescGZIP(), []int{20}
  1246. }
  1247. func (x *AddMenuRequest) GetId() int32 {
  1248. if x != nil {
  1249. return x.Id
  1250. }
  1251. return 0
  1252. }
  1253. func (x *AddMenuRequest) GetName() string {
  1254. if x != nil {
  1255. return x.Name
  1256. }
  1257. return ""
  1258. }
  1259. func (x *AddMenuRequest) GetParentId() int32 {
  1260. if x != nil {
  1261. return x.ParentId
  1262. }
  1263. return 0
  1264. }
  1265. func (x *AddMenuRequest) GetMenuType() int32 {
  1266. if x != nil {
  1267. return x.MenuType
  1268. }
  1269. return 0
  1270. }
  1271. func (x *AddMenuRequest) GetTitle() string {
  1272. if x != nil {
  1273. return x.Title
  1274. }
  1275. return ""
  1276. }
  1277. func (x *AddMenuRequest) GetPath() string {
  1278. if x != nil {
  1279. return x.Path
  1280. }
  1281. return ""
  1282. }
  1283. func (x *AddMenuRequest) GetIsShow() IsShow_Kind {
  1284. if x != nil {
  1285. return x.IsShow
  1286. }
  1287. return IsShow_INVALID
  1288. }
  1289. func (x *AddMenuRequest) GetComponent() string {
  1290. if x != nil {
  1291. return x.Component
  1292. }
  1293. return ""
  1294. }
  1295. func (x *AddMenuRequest) GetIcon() string {
  1296. if x != nil {
  1297. return x.Icon
  1298. }
  1299. return ""
  1300. }
  1301. func (x *AddMenuRequest) GetSort() int32 {
  1302. if x != nil {
  1303. return x.Sort
  1304. }
  1305. return 0
  1306. }
  1307. func (x *AddMenuRequest) GetRedirect() string {
  1308. if x != nil {
  1309. return x.Redirect
  1310. }
  1311. return ""
  1312. }
  1313. func (x *AddMenuRequest) GetCreatedAt() int32 {
  1314. if x != nil {
  1315. return x.CreatedAt
  1316. }
  1317. return 0
  1318. }
  1319. func (x *AddMenuRequest) GetCreatedAtFormat() string {
  1320. if x != nil {
  1321. return x.CreatedAtFormat
  1322. }
  1323. return ""
  1324. }
  1325. func (x *AddMenuRequest) GetLevel() int32 {
  1326. if x != nil {
  1327. return x.Level
  1328. }
  1329. return 0
  1330. }
  1331. func (x *AddMenuRequest) GetChildren() []*AddMenuRequest {
  1332. if x != nil {
  1333. return x.Children
  1334. }
  1335. return nil
  1336. }
  1337. func (x *AddMenuRequest) GetAffix() bool {
  1338. if x != nil {
  1339. return x.Affix
  1340. }
  1341. return false
  1342. }
  1343. func (x *AddMenuRequest) GetKeepAlive() bool {
  1344. if x != nil {
  1345. return x.KeepAlive
  1346. }
  1347. return false
  1348. }
  1349. type IsShowSystemMenuRequest struct {
  1350. state protoimpl.MessageState
  1351. sizeCache protoimpl.SizeCache
  1352. unknownFields protoimpl.UnknownFields
  1353. MenuId int32 `protobuf:"varint,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 角色id
  1354. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  1355. }
  1356. func (x *IsShowSystemMenuRequest) Reset() {
  1357. *x = IsShowSystemMenuRequest{}
  1358. if protoimpl.UnsafeEnabled {
  1359. mi := &file_backend_operation_system_proto_msgTypes[21]
  1360. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1361. ms.StoreMessageInfo(mi)
  1362. }
  1363. }
  1364. func (x *IsShowSystemMenuRequest) String() string {
  1365. return protoimpl.X.MessageStringOf(x)
  1366. }
  1367. func (*IsShowSystemMenuRequest) ProtoMessage() {}
  1368. func (x *IsShowSystemMenuRequest) ProtoReflect() protoreflect.Message {
  1369. mi := &file_backend_operation_system_proto_msgTypes[21]
  1370. if protoimpl.UnsafeEnabled && x != nil {
  1371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1372. if ms.LoadMessageInfo() == nil {
  1373. ms.StoreMessageInfo(mi)
  1374. }
  1375. return ms
  1376. }
  1377. return mi.MessageOf(x)
  1378. }
  1379. // Deprecated: Use IsShowSystemMenuRequest.ProtoReflect.Descriptor instead.
  1380. func (*IsShowSystemMenuRequest) Descriptor() ([]byte, []int) {
  1381. return file_backend_operation_system_proto_rawDescGZIP(), []int{21}
  1382. }
  1383. func (x *IsShowSystemMenuRequest) GetMenuId() int32 {
  1384. if x != nil {
  1385. return x.MenuId
  1386. }
  1387. return 0
  1388. }
  1389. func (x *IsShowSystemMenuRequest) GetIsShow() IsShow_Kind {
  1390. if x != nil {
  1391. return x.IsShow
  1392. }
  1393. return IsShow_INVALID
  1394. }
  1395. // 查询菜单权限
  1396. type SearchMenuRequest struct {
  1397. state protoimpl.MessageState
  1398. sizeCache protoimpl.SizeCache
  1399. unknownFields protoimpl.UnknownFields
  1400. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 菜单名称
  1401. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  1402. }
  1403. func (x *SearchMenuRequest) Reset() {
  1404. *x = SearchMenuRequest{}
  1405. if protoimpl.UnsafeEnabled {
  1406. mi := &file_backend_operation_system_proto_msgTypes[22]
  1407. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1408. ms.StoreMessageInfo(mi)
  1409. }
  1410. }
  1411. func (x *SearchMenuRequest) String() string {
  1412. return protoimpl.X.MessageStringOf(x)
  1413. }
  1414. func (*SearchMenuRequest) ProtoMessage() {}
  1415. func (x *SearchMenuRequest) ProtoReflect() protoreflect.Message {
  1416. mi := &file_backend_operation_system_proto_msgTypes[22]
  1417. if protoimpl.UnsafeEnabled && x != nil {
  1418. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1419. if ms.LoadMessageInfo() == nil {
  1420. ms.StoreMessageInfo(mi)
  1421. }
  1422. return ms
  1423. }
  1424. return mi.MessageOf(x)
  1425. }
  1426. // Deprecated: Use SearchMenuRequest.ProtoReflect.Descriptor instead.
  1427. func (*SearchMenuRequest) Descriptor() ([]byte, []int) {
  1428. return file_backend_operation_system_proto_rawDescGZIP(), []int{22}
  1429. }
  1430. func (x *SearchMenuRequest) GetName() string {
  1431. if x != nil {
  1432. return x.Name
  1433. }
  1434. return ""
  1435. }
  1436. func (x *SearchMenuRequest) GetPagination() *PaginationModel {
  1437. if x != nil {
  1438. return x.Pagination
  1439. }
  1440. return nil
  1441. }
  1442. type SearchMenuResponse struct {
  1443. state protoimpl.MessageState
  1444. sizeCache protoimpl.SizeCache
  1445. unknownFields protoimpl.UnknownFields
  1446. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1447. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1448. Data *SearchMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1449. }
  1450. func (x *SearchMenuResponse) Reset() {
  1451. *x = SearchMenuResponse{}
  1452. if protoimpl.UnsafeEnabled {
  1453. mi := &file_backend_operation_system_proto_msgTypes[23]
  1454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1455. ms.StoreMessageInfo(mi)
  1456. }
  1457. }
  1458. func (x *SearchMenuResponse) String() string {
  1459. return protoimpl.X.MessageStringOf(x)
  1460. }
  1461. func (*SearchMenuResponse) ProtoMessage() {}
  1462. func (x *SearchMenuResponse) ProtoReflect() protoreflect.Message {
  1463. mi := &file_backend_operation_system_proto_msgTypes[23]
  1464. if protoimpl.UnsafeEnabled && x != nil {
  1465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1466. if ms.LoadMessageInfo() == nil {
  1467. ms.StoreMessageInfo(mi)
  1468. }
  1469. return ms
  1470. }
  1471. return mi.MessageOf(x)
  1472. }
  1473. // Deprecated: Use SearchMenuResponse.ProtoReflect.Descriptor instead.
  1474. func (*SearchMenuResponse) Descriptor() ([]byte, []int) {
  1475. return file_backend_operation_system_proto_rawDescGZIP(), []int{23}
  1476. }
  1477. func (x *SearchMenuResponse) GetCode() int32 {
  1478. if x != nil {
  1479. return x.Code
  1480. }
  1481. return 0
  1482. }
  1483. func (x *SearchMenuResponse) GetMsg() string {
  1484. if x != nil {
  1485. return x.Msg
  1486. }
  1487. return ""
  1488. }
  1489. func (x *SearchMenuResponse) GetData() *SearchMenuData {
  1490. if x != nil {
  1491. return x.Data
  1492. }
  1493. return nil
  1494. }
  1495. type SearchMenuData struct {
  1496. state protoimpl.MessageState
  1497. sizeCache protoimpl.SizeCache
  1498. unknownFields protoimpl.UnknownFields
  1499. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1500. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  1501. List []*AddMenuRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  1502. }
  1503. func (x *SearchMenuData) Reset() {
  1504. *x = SearchMenuData{}
  1505. if protoimpl.UnsafeEnabled {
  1506. mi := &file_backend_operation_system_proto_msgTypes[24]
  1507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1508. ms.StoreMessageInfo(mi)
  1509. }
  1510. }
  1511. func (x *SearchMenuData) String() string {
  1512. return protoimpl.X.MessageStringOf(x)
  1513. }
  1514. func (*SearchMenuData) ProtoMessage() {}
  1515. func (x *SearchMenuData) ProtoReflect() protoreflect.Message {
  1516. mi := &file_backend_operation_system_proto_msgTypes[24]
  1517. if protoimpl.UnsafeEnabled && x != nil {
  1518. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1519. if ms.LoadMessageInfo() == nil {
  1520. ms.StoreMessageInfo(mi)
  1521. }
  1522. return ms
  1523. }
  1524. return mi.MessageOf(x)
  1525. }
  1526. // Deprecated: Use SearchMenuData.ProtoReflect.Descriptor instead.
  1527. func (*SearchMenuData) Descriptor() ([]byte, []int) {
  1528. return file_backend_operation_system_proto_rawDescGZIP(), []int{24}
  1529. }
  1530. func (x *SearchMenuData) GetPage() int32 {
  1531. if x != nil {
  1532. return x.Page
  1533. }
  1534. return 0
  1535. }
  1536. func (x *SearchMenuData) GetTotal() int32 {
  1537. if x != nil {
  1538. return x.Total
  1539. }
  1540. return 0
  1541. }
  1542. func (x *SearchMenuData) GetList() []*AddMenuRequest {
  1543. if x != nil {
  1544. return x.List
  1545. }
  1546. return nil
  1547. }
  1548. // 系统用户权限相关
  1549. type SystemUserMenuPermissions struct {
  1550. state protoimpl.MessageState
  1551. sizeCache protoimpl.SizeCache
  1552. unknownFields protoimpl.UnknownFields
  1553. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1554. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1555. Data *SystemUserMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1556. }
  1557. func (x *SystemUserMenuPermissions) Reset() {
  1558. *x = SystemUserMenuPermissions{}
  1559. if protoimpl.UnsafeEnabled {
  1560. mi := &file_backend_operation_system_proto_msgTypes[25]
  1561. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1562. ms.StoreMessageInfo(mi)
  1563. }
  1564. }
  1565. func (x *SystemUserMenuPermissions) String() string {
  1566. return protoimpl.X.MessageStringOf(x)
  1567. }
  1568. func (*SystemUserMenuPermissions) ProtoMessage() {}
  1569. func (x *SystemUserMenuPermissions) ProtoReflect() protoreflect.Message {
  1570. mi := &file_backend_operation_system_proto_msgTypes[25]
  1571. if protoimpl.UnsafeEnabled && x != nil {
  1572. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1573. if ms.LoadMessageInfo() == nil {
  1574. ms.StoreMessageInfo(mi)
  1575. }
  1576. return ms
  1577. }
  1578. return mi.MessageOf(x)
  1579. }
  1580. // Deprecated: Use SystemUserMenuPermissions.ProtoReflect.Descriptor instead.
  1581. func (*SystemUserMenuPermissions) Descriptor() ([]byte, []int) {
  1582. return file_backend_operation_system_proto_rawDescGZIP(), []int{25}
  1583. }
  1584. func (x *SystemUserMenuPermissions) GetCode() int32 {
  1585. if x != nil {
  1586. return x.Code
  1587. }
  1588. return 0
  1589. }
  1590. func (x *SystemUserMenuPermissions) GetMsg() string {
  1591. if x != nil {
  1592. return x.Msg
  1593. }
  1594. return ""
  1595. }
  1596. func (x *SystemUserMenuPermissions) GetData() *SystemUserMenuData {
  1597. if x != nil {
  1598. return x.Data
  1599. }
  1600. return nil
  1601. }
  1602. type SystemUserMenuData struct {
  1603. state protoimpl.MessageState
  1604. sizeCache protoimpl.SizeCache
  1605. unknownFields protoimpl.UnknownFields
  1606. PastureList []*AddPastureRequest `protobuf:"bytes,1,rep,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场列表
  1607. MenuList []*AddMenuRequest `protobuf:"bytes,2,rep,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 菜单列表
  1608. MobileList []*AddMobileRequest `protobuf:"bytes,3,rep,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限
  1609. MenuButtonsPath []*MenuButtonsPath `protobuf:"bytes,4,rep,name=menu_buttons_path,json=menuButtonsPath,proto3" json:"menu_buttons_path,omitempty"` // 按钮级别权限path,前端需要特别处理
  1610. }
  1611. func (x *SystemUserMenuData) Reset() {
  1612. *x = SystemUserMenuData{}
  1613. if protoimpl.UnsafeEnabled {
  1614. mi := &file_backend_operation_system_proto_msgTypes[26]
  1615. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1616. ms.StoreMessageInfo(mi)
  1617. }
  1618. }
  1619. func (x *SystemUserMenuData) String() string {
  1620. return protoimpl.X.MessageStringOf(x)
  1621. }
  1622. func (*SystemUserMenuData) ProtoMessage() {}
  1623. func (x *SystemUserMenuData) ProtoReflect() protoreflect.Message {
  1624. mi := &file_backend_operation_system_proto_msgTypes[26]
  1625. if protoimpl.UnsafeEnabled && x != nil {
  1626. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1627. if ms.LoadMessageInfo() == nil {
  1628. ms.StoreMessageInfo(mi)
  1629. }
  1630. return ms
  1631. }
  1632. return mi.MessageOf(x)
  1633. }
  1634. // Deprecated: Use SystemUserMenuData.ProtoReflect.Descriptor instead.
  1635. func (*SystemUserMenuData) Descriptor() ([]byte, []int) {
  1636. return file_backend_operation_system_proto_rawDescGZIP(), []int{26}
  1637. }
  1638. func (x *SystemUserMenuData) GetPastureList() []*AddPastureRequest {
  1639. if x != nil {
  1640. return x.PastureList
  1641. }
  1642. return nil
  1643. }
  1644. func (x *SystemUserMenuData) GetMenuList() []*AddMenuRequest {
  1645. if x != nil {
  1646. return x.MenuList
  1647. }
  1648. return nil
  1649. }
  1650. func (x *SystemUserMenuData) GetMobileList() []*AddMobileRequest {
  1651. if x != nil {
  1652. return x.MobileList
  1653. }
  1654. return nil
  1655. }
  1656. func (x *SystemUserMenuData) GetMenuButtonsPath() []*MenuButtonsPath {
  1657. if x != nil {
  1658. return x.MenuButtonsPath
  1659. }
  1660. return nil
  1661. }
  1662. type MenuButtonsPath struct {
  1663. state protoimpl.MessageState
  1664. sizeCache protoimpl.SizeCache
  1665. unknownFields protoimpl.UnknownFields
  1666. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
  1667. MenuId int32 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
  1668. }
  1669. func (x *MenuButtonsPath) Reset() {
  1670. *x = MenuButtonsPath{}
  1671. if protoimpl.UnsafeEnabled {
  1672. mi := &file_backend_operation_system_proto_msgTypes[27]
  1673. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1674. ms.StoreMessageInfo(mi)
  1675. }
  1676. }
  1677. func (x *MenuButtonsPath) String() string {
  1678. return protoimpl.X.MessageStringOf(x)
  1679. }
  1680. func (*MenuButtonsPath) ProtoMessage() {}
  1681. func (x *MenuButtonsPath) ProtoReflect() protoreflect.Message {
  1682. mi := &file_backend_operation_system_proto_msgTypes[27]
  1683. if protoimpl.UnsafeEnabled && x != nil {
  1684. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1685. if ms.LoadMessageInfo() == nil {
  1686. ms.StoreMessageInfo(mi)
  1687. }
  1688. return ms
  1689. }
  1690. return mi.MessageOf(x)
  1691. }
  1692. // Deprecated: Use MenuButtonsPath.ProtoReflect.Descriptor instead.
  1693. func (*MenuButtonsPath) Descriptor() ([]byte, []int) {
  1694. return file_backend_operation_system_proto_rawDescGZIP(), []int{27}
  1695. }
  1696. func (x *MenuButtonsPath) GetPath() string {
  1697. if x != nil {
  1698. return x.Path
  1699. }
  1700. return ""
  1701. }
  1702. func (x *MenuButtonsPath) GetMenuId() int32 {
  1703. if x != nil {
  1704. return x.MenuId
  1705. }
  1706. return 0
  1707. }
  1708. // 移动端
  1709. type AddMobileRequest struct {
  1710. state protoimpl.MessageState
  1711. sizeCache protoimpl.SizeCache
  1712. unknownFields protoimpl.UnknownFields
  1713. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
  1714. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1715. }
  1716. func (x *AddMobileRequest) Reset() {
  1717. *x = AddMobileRequest{}
  1718. if protoimpl.UnsafeEnabled {
  1719. mi := &file_backend_operation_system_proto_msgTypes[28]
  1720. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1721. ms.StoreMessageInfo(mi)
  1722. }
  1723. }
  1724. func (x *AddMobileRequest) String() string {
  1725. return protoimpl.X.MessageStringOf(x)
  1726. }
  1727. func (*AddMobileRequest) ProtoMessage() {}
  1728. func (x *AddMobileRequest) ProtoReflect() protoreflect.Message {
  1729. mi := &file_backend_operation_system_proto_msgTypes[28]
  1730. if protoimpl.UnsafeEnabled && x != nil {
  1731. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1732. if ms.LoadMessageInfo() == nil {
  1733. ms.StoreMessageInfo(mi)
  1734. }
  1735. return ms
  1736. }
  1737. return mi.MessageOf(x)
  1738. }
  1739. // Deprecated: Use AddMobileRequest.ProtoReflect.Descriptor instead.
  1740. func (*AddMobileRequest) Descriptor() ([]byte, []int) {
  1741. return file_backend_operation_system_proto_rawDescGZIP(), []int{28}
  1742. }
  1743. func (x *AddMobileRequest) GetId() uint32 {
  1744. if x != nil {
  1745. return x.Id
  1746. }
  1747. return 0
  1748. }
  1749. func (x *AddMobileRequest) GetName() string {
  1750. if x != nil {
  1751. return x.Name
  1752. }
  1753. return ""
  1754. }
  1755. var File_backend_operation_system_proto protoreflect.FileDescriptor
  1756. var file_backend_operation_system_proto_rawDesc = []byte{
  1757. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1758. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1759. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1760. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  1761. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1762. 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1763. 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1764. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f,
  1765. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65,
  1766. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1767. 0x4f, 0x4b, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  1768. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
  1769. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  1770. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1771. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65,
  1772. 0x73, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x23, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63,
  1773. 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01,
  1774. 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x22, 0x0a,
  1775. 0x08, 0x57, 0x78, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65,
  1776. 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69,
  1777. 0x64, 0x22, 0x88, 0x03, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
  1778. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  1779. 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  1780. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
  1781. 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
  1782. 0x6b, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20,
  1783. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1784. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
  1785. 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  1786. 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52,
  1787. 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65,
  1788. 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65, 0x6e,
  1789. 0x75, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
  1790. 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x49, 0x64,
  1791. 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18,
  1792. 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
  1793. 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
  1794. 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
  1795. 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66,
  1796. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65,
  1797. 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c,
  1798. 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03,
  1799. 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12,
  1800. 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03,
  1801. 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x11,
  1802. 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1803. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1804. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1805. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1806. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61,
  1807. 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70,
  1808. 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61,
  1809. 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1810. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63,
  1811. 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1812. 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  1813. 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1814. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f,
  1815. 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8e, 0x01, 0x0a,
  1816. 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12,
  1817. 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70,
  1818. 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
  1819. 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
  1820. 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
  1821. 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
  1822. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1823. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65,
  1824. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x77, 0x0a,
  1825. 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1826. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1827. 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
  1828. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61,
  1829. 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1830. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x6c,
  1831. 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61,
  1832. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x76, 0x0a, 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65,
  1833. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a,
  1834. 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
  1835. 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21,
  1836. 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02,
  1837. 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73,
  1838. 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  1839. 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x65,
  1840. 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a,
  1841. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1842. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1843. 0x6d, 0x73, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
  1844. 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1845. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52,
  1846. 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x21, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61,
  1847. 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  1848. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
  1849. 0x41, 0x75, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1850. 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
  1851. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61,
  1852. 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1853. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65,
  1854. 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
  1855. 0xf1, 0x01, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61,
  1856. 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1857. 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
  1858. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1859. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
  1860. 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
  1861. 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
  1862. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1863. 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c,
  1864. 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e,
  1865. 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f,
  1866. 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x74, 0x75,
  1867. 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1868. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73,
  1869. 0x65, 0x72, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x70, 0x61, 0x73, 0x74, 0x75,
  1870. 0x72, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12,
  1871. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
  1872. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1873. 0x61, 0x6d, 0x65, 0x22, 0x69, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69,
  1874. 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  1875. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
  1876. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  1877. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1878. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79,
  1879. 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xfe,
  1880. 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
  1881. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
  1882. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1883. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20,
  1884. 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f,
  1885. 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1886. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73,
  1887. 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a,
  1888. 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e,
  1889. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1890. 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06,
  1891. 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79,
  1892. 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
  1893. 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
  1894. 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
  1895. 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a,
  1896. 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05,
  1897. 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63,
  1898. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
  1899. 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
  1900. 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
  1901. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65,
  1902. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73,
  1903. 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22,
  1904. 0xa1, 0x02, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1905. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1906. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70,
  1907. 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1908. 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37,
  1909. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1910. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1911. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  1912. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74,
  1913. 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
  1914. 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x72,
  1915. 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1916. 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1917. 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1918. 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
  1919. 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1920. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  1921. 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1922. 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65,
  1923. 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
  1924. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
  1925. 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12,
  1926. 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
  1927. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1928. 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61,
  1929. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8d, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63,
  1930. 0x68, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
  1931. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
  1932. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f,
  1933. 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
  1934. 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  1935. 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20,
  1936. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1937. 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
  1938. 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1939. 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1940. 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1941. 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
  1942. 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
  1943. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1944. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
  1945. 0x68, 0x6f, 0x77, 0x22, 0x87, 0x04, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52,
  1946. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1947. 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1948. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
  1949. 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
  1950. 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f,
  1951. 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75,
  1952. 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20,
  1953. 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
  1954. 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37,
  1955. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1956. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1957. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  1958. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
  1959. 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70,
  1960. 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x09, 0x20,
  1961. 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72,
  1962. 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
  1963. 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
  1964. 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
  1965. 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63,
  1966. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61,
  1967. 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0d, 0x20,
  1968. 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f,
  1969. 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20,
  1970. 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3d, 0x0a, 0x08, 0x63, 0x68,
  1971. 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62,
  1972. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1973. 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
  1974. 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x66,
  1975. 0x69, 0x78, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x66, 0x66, 0x69, 0x78, 0x12,
  1976. 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x11, 0x20, 0x01,
  1977. 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x22, 0x6b, 0x0a,
  1978. 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x6e,
  1979. 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75,
  1980. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49,
  1981. 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01,
  1982. 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1983. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
  1984. 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x6b, 0x0a, 0x11, 0x53, 0x65,
  1985. 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1986. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1987. 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  1988. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
  1989. 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69,
  1990. 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67,
  1991. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63,
  1992. 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
  1993. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1994. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1995. 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
  1996. 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1997. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75,
  1998. 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x71, 0x0a, 0x0e, 0x53, 0x65,
  1999. 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
  2000. 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,
  2001. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  2002. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  2003. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  2004. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75,
  2005. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7c, 0x0a,
  2006. 0x19, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e, 0x75, 0x50,
  2007. 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f,
  2008. 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10,
  2009. 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67,
  2010. 0x12, 0x39, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
  2011. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  2012. 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e,
  2013. 0x75, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb3, 0x02, 0x0a, 0x12,
  2014. 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61,
  2015. 0x74, 0x61, 0x12, 0x47, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69,
  2016. 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  2017. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64,
  2018. 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0b,
  2019. 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x09, 0x6d,
  2020. 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
  2021. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  2022. 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2023. 0x74, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6d,
  2024. 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  2025. 0x32, 0x23, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  2026. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65,
  2027. 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73,
  2028. 0x74, 0x12, 0x4e, 0x0a, 0x11, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e,
  2029. 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62,
  2030. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2031. 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x50, 0x61, 0x74, 0x68,
  2032. 0x52, 0x0f, 0x6d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x50, 0x61, 0x74,
  2033. 0x68, 0x22, 0x3e, 0x0a, 0x0f, 0x4d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73,
  2034. 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01,
  2035. 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75,
  2036. 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49,
  2037. 0x64, 0x22, 0x36, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65,
  2038. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  2039. 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  2040. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f,
  2041. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  2042. 0x6f, 0x33,
  2043. }
  2044. var (
  2045. file_backend_operation_system_proto_rawDescOnce sync.Once
  2046. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  2047. )
  2048. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  2049. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  2050. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  2051. })
  2052. return file_backend_operation_system_proto_rawDescData
  2053. }
  2054. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
  2055. var file_backend_operation_system_proto_goTypes = []interface{}{
  2056. (*CommonOK)(nil), // 0: backend.operation.CommonOK
  2057. (*Success)(nil), // 1: backend.operation.Success
  2058. (*WxOpenId)(nil), // 2: backend.operation.WxOpenId
  2059. (*AddRoleRequest)(nil), // 3: backend.operation.AddRoleRequest
  2060. (*SearchRoleRequest)(nil), // 4: backend.operation.SearchRoleRequest
  2061. (*SearchRoleResponse)(nil), // 5: backend.operation.SearchRoleResponse
  2062. (*SearchRoleData)(nil), // 6: backend.operation.SearchRoleData
  2063. (*RolePermissionsList)(nil), // 7: backend.operation.RolePermissionsList
  2064. (*RolePermissionsData)(nil), // 8: backend.operation.RolePermissionsData
  2065. (*SystemToken)(nil), // 9: backend.operation.SystemToken
  2066. (*TokenData)(nil), // 10: backend.operation.TokenData
  2067. (*UserAuth)(nil), // 11: backend.operation.UserAuth
  2068. (*UserAuthData)(nil), // 12: backend.operation.UserAuthData
  2069. (*UserRole)(nil), // 13: backend.operation.UserRole
  2070. (*UserDetails)(nil), // 14: backend.operation.UserDetails
  2071. (*AddSystemUser)(nil), // 15: backend.operation.AddSystemUser
  2072. (*SearchUserRequest)(nil), // 16: backend.operation.SearchUserRequest
  2073. (*SearchUserResponse)(nil), // 17: backend.operation.SearchUserResponse
  2074. (*SearchUserData)(nil), // 18: backend.operation.SearchUserData
  2075. (*IsShowSystemUserRequest)(nil), // 19: backend.operation.IsShowSystemUserRequest
  2076. (*AddMenuRequest)(nil), // 20: backend.operation.AddMenuRequest
  2077. (*IsShowSystemMenuRequest)(nil), // 21: backend.operation.IsShowSystemMenuRequest
  2078. (*SearchMenuRequest)(nil), // 22: backend.operation.SearchMenuRequest
  2079. (*SearchMenuResponse)(nil), // 23: backend.operation.SearchMenuResponse
  2080. (*SearchMenuData)(nil), // 24: backend.operation.SearchMenuData
  2081. (*SystemUserMenuPermissions)(nil), // 25: backend.operation.SystemUserMenuPermissions
  2082. (*SystemUserMenuData)(nil), // 26: backend.operation.SystemUserMenuData
  2083. (*MenuButtonsPath)(nil), // 27: backend.operation.MenuButtonsPath
  2084. (*AddMobileRequest)(nil), // 28: backend.operation.AddMobileRequest
  2085. (IsShow_Kind)(0), // 29: backend.operation.IsShow.Kind
  2086. (*PaginationModel)(nil), // 30: backend.operation.PaginationModel
  2087. (*UserPasture)(nil), // 31: backend.operation.UserPasture
  2088. (*AddPastureRequest)(nil), // 32: backend.operation.AddPastureRequest
  2089. }
  2090. var file_backend_operation_system_proto_depIdxs = []int32{
  2091. 1, // 0: backend.operation.CommonOK.data:type_name -> backend.operation.Success
  2092. 29, // 1: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2093. 30, // 2: backend.operation.SearchRoleRequest.pagination:type_name -> backend.operation.PaginationModel
  2094. 6, // 3: backend.operation.SearchRoleResponse.data:type_name -> backend.operation.SearchRoleData
  2095. 3, // 4: backend.operation.SearchRoleData.list:type_name -> backend.operation.AddRoleRequest
  2096. 8, // 5: backend.operation.RolePermissionsList.data:type_name -> backend.operation.RolePermissionsData
  2097. 10, // 6: backend.operation.SystemToken.data:type_name -> backend.operation.TokenData
  2098. 12, // 7: backend.operation.UserAuth.data:type_name -> backend.operation.UserAuthData
  2099. 13, // 8: backend.operation.UserAuthData.roles:type_name -> backend.operation.UserRole
  2100. 31, // 9: backend.operation.UserAuthData.pastures:type_name -> backend.operation.UserPasture
  2101. 15, // 10: backend.operation.UserDetails.data:type_name -> backend.operation.AddSystemUser
  2102. 13, // 11: backend.operation.AddSystemUser.roles:type_name -> backend.operation.UserRole
  2103. 29, // 12: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
  2104. 29, // 13: backend.operation.SearchUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2105. 30, // 14: backend.operation.SearchUserRequest.pagination:type_name -> backend.operation.PaginationModel
  2106. 18, // 15: backend.operation.SearchUserResponse.data:type_name -> backend.operation.SearchUserData
  2107. 15, // 16: backend.operation.SearchUserData.list:type_name -> backend.operation.AddSystemUser
  2108. 29, // 17: backend.operation.IsShowSystemUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2109. 29, // 18: backend.operation.AddMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2110. 20, // 19: backend.operation.AddMenuRequest.children:type_name -> backend.operation.AddMenuRequest
  2111. 29, // 20: backend.operation.IsShowSystemMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2112. 30, // 21: backend.operation.SearchMenuRequest.pagination:type_name -> backend.operation.PaginationModel
  2113. 24, // 22: backend.operation.SearchMenuResponse.data:type_name -> backend.operation.SearchMenuData
  2114. 20, // 23: backend.operation.SearchMenuData.list:type_name -> backend.operation.AddMenuRequest
  2115. 26, // 24: backend.operation.SystemUserMenuPermissions.data:type_name -> backend.operation.SystemUserMenuData
  2116. 32, // 25: backend.operation.SystemUserMenuData.pasture_list:type_name -> backend.operation.AddPastureRequest
  2117. 20, // 26: backend.operation.SystemUserMenuData.menu_list:type_name -> backend.operation.AddMenuRequest
  2118. 28, // 27: backend.operation.SystemUserMenuData.mobile_list:type_name -> backend.operation.AddMobileRequest
  2119. 27, // 28: backend.operation.SystemUserMenuData.menu_buttons_path:type_name -> backend.operation.MenuButtonsPath
  2120. 29, // [29:29] is the sub-list for method output_type
  2121. 29, // [29:29] is the sub-list for method input_type
  2122. 29, // [29:29] is the sub-list for extension type_name
  2123. 29, // [29:29] is the sub-list for extension extendee
  2124. 0, // [0:29] is the sub-list for field type_name
  2125. }
  2126. func init() { file_backend_operation_system_proto_init() }
  2127. func file_backend_operation_system_proto_init() {
  2128. if File_backend_operation_system_proto != nil {
  2129. return
  2130. }
  2131. file_backend_operation_enum_proto_init()
  2132. file_backend_operation_pagination_proto_init()
  2133. file_backend_operation_pasture_proto_init()
  2134. if !protoimpl.UnsafeEnabled {
  2135. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2136. switch v := v.(*CommonOK); i {
  2137. case 0:
  2138. return &v.state
  2139. case 1:
  2140. return &v.sizeCache
  2141. case 2:
  2142. return &v.unknownFields
  2143. default:
  2144. return nil
  2145. }
  2146. }
  2147. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2148. switch v := v.(*Success); i {
  2149. case 0:
  2150. return &v.state
  2151. case 1:
  2152. return &v.sizeCache
  2153. case 2:
  2154. return &v.unknownFields
  2155. default:
  2156. return nil
  2157. }
  2158. }
  2159. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2160. switch v := v.(*WxOpenId); i {
  2161. case 0:
  2162. return &v.state
  2163. case 1:
  2164. return &v.sizeCache
  2165. case 2:
  2166. return &v.unknownFields
  2167. default:
  2168. return nil
  2169. }
  2170. }
  2171. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2172. switch v := v.(*AddRoleRequest); i {
  2173. case 0:
  2174. return &v.state
  2175. case 1:
  2176. return &v.sizeCache
  2177. case 2:
  2178. return &v.unknownFields
  2179. default:
  2180. return nil
  2181. }
  2182. }
  2183. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2184. switch v := v.(*SearchRoleRequest); i {
  2185. case 0:
  2186. return &v.state
  2187. case 1:
  2188. return &v.sizeCache
  2189. case 2:
  2190. return &v.unknownFields
  2191. default:
  2192. return nil
  2193. }
  2194. }
  2195. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2196. switch v := v.(*SearchRoleResponse); i {
  2197. case 0:
  2198. return &v.state
  2199. case 1:
  2200. return &v.sizeCache
  2201. case 2:
  2202. return &v.unknownFields
  2203. default:
  2204. return nil
  2205. }
  2206. }
  2207. file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2208. switch v := v.(*SearchRoleData); i {
  2209. case 0:
  2210. return &v.state
  2211. case 1:
  2212. return &v.sizeCache
  2213. case 2:
  2214. return &v.unknownFields
  2215. default:
  2216. return nil
  2217. }
  2218. }
  2219. file_backend_operation_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2220. switch v := v.(*RolePermissionsList); i {
  2221. case 0:
  2222. return &v.state
  2223. case 1:
  2224. return &v.sizeCache
  2225. case 2:
  2226. return &v.unknownFields
  2227. default:
  2228. return nil
  2229. }
  2230. }
  2231. file_backend_operation_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2232. switch v := v.(*RolePermissionsData); i {
  2233. case 0:
  2234. return &v.state
  2235. case 1:
  2236. return &v.sizeCache
  2237. case 2:
  2238. return &v.unknownFields
  2239. default:
  2240. return nil
  2241. }
  2242. }
  2243. file_backend_operation_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2244. switch v := v.(*SystemToken); i {
  2245. case 0:
  2246. return &v.state
  2247. case 1:
  2248. return &v.sizeCache
  2249. case 2:
  2250. return &v.unknownFields
  2251. default:
  2252. return nil
  2253. }
  2254. }
  2255. file_backend_operation_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2256. switch v := v.(*TokenData); i {
  2257. case 0:
  2258. return &v.state
  2259. case 1:
  2260. return &v.sizeCache
  2261. case 2:
  2262. return &v.unknownFields
  2263. default:
  2264. return nil
  2265. }
  2266. }
  2267. file_backend_operation_system_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2268. switch v := v.(*UserAuth); i {
  2269. case 0:
  2270. return &v.state
  2271. case 1:
  2272. return &v.sizeCache
  2273. case 2:
  2274. return &v.unknownFields
  2275. default:
  2276. return nil
  2277. }
  2278. }
  2279. file_backend_operation_system_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2280. switch v := v.(*UserAuthData); i {
  2281. case 0:
  2282. return &v.state
  2283. case 1:
  2284. return &v.sizeCache
  2285. case 2:
  2286. return &v.unknownFields
  2287. default:
  2288. return nil
  2289. }
  2290. }
  2291. file_backend_operation_system_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2292. switch v := v.(*UserRole); i {
  2293. case 0:
  2294. return &v.state
  2295. case 1:
  2296. return &v.sizeCache
  2297. case 2:
  2298. return &v.unknownFields
  2299. default:
  2300. return nil
  2301. }
  2302. }
  2303. file_backend_operation_system_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2304. switch v := v.(*UserDetails); i {
  2305. case 0:
  2306. return &v.state
  2307. case 1:
  2308. return &v.sizeCache
  2309. case 2:
  2310. return &v.unknownFields
  2311. default:
  2312. return nil
  2313. }
  2314. }
  2315. file_backend_operation_system_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2316. switch v := v.(*AddSystemUser); i {
  2317. case 0:
  2318. return &v.state
  2319. case 1:
  2320. return &v.sizeCache
  2321. case 2:
  2322. return &v.unknownFields
  2323. default:
  2324. return nil
  2325. }
  2326. }
  2327. file_backend_operation_system_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2328. switch v := v.(*SearchUserRequest); i {
  2329. case 0:
  2330. return &v.state
  2331. case 1:
  2332. return &v.sizeCache
  2333. case 2:
  2334. return &v.unknownFields
  2335. default:
  2336. return nil
  2337. }
  2338. }
  2339. file_backend_operation_system_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2340. switch v := v.(*SearchUserResponse); i {
  2341. case 0:
  2342. return &v.state
  2343. case 1:
  2344. return &v.sizeCache
  2345. case 2:
  2346. return &v.unknownFields
  2347. default:
  2348. return nil
  2349. }
  2350. }
  2351. file_backend_operation_system_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2352. switch v := v.(*SearchUserData); i {
  2353. case 0:
  2354. return &v.state
  2355. case 1:
  2356. return &v.sizeCache
  2357. case 2:
  2358. return &v.unknownFields
  2359. default:
  2360. return nil
  2361. }
  2362. }
  2363. file_backend_operation_system_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2364. switch v := v.(*IsShowSystemUserRequest); i {
  2365. case 0:
  2366. return &v.state
  2367. case 1:
  2368. return &v.sizeCache
  2369. case 2:
  2370. return &v.unknownFields
  2371. default:
  2372. return nil
  2373. }
  2374. }
  2375. file_backend_operation_system_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2376. switch v := v.(*AddMenuRequest); i {
  2377. case 0:
  2378. return &v.state
  2379. case 1:
  2380. return &v.sizeCache
  2381. case 2:
  2382. return &v.unknownFields
  2383. default:
  2384. return nil
  2385. }
  2386. }
  2387. file_backend_operation_system_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2388. switch v := v.(*IsShowSystemMenuRequest); i {
  2389. case 0:
  2390. return &v.state
  2391. case 1:
  2392. return &v.sizeCache
  2393. case 2:
  2394. return &v.unknownFields
  2395. default:
  2396. return nil
  2397. }
  2398. }
  2399. file_backend_operation_system_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2400. switch v := v.(*SearchMenuRequest); i {
  2401. case 0:
  2402. return &v.state
  2403. case 1:
  2404. return &v.sizeCache
  2405. case 2:
  2406. return &v.unknownFields
  2407. default:
  2408. return nil
  2409. }
  2410. }
  2411. file_backend_operation_system_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2412. switch v := v.(*SearchMenuResponse); i {
  2413. case 0:
  2414. return &v.state
  2415. case 1:
  2416. return &v.sizeCache
  2417. case 2:
  2418. return &v.unknownFields
  2419. default:
  2420. return nil
  2421. }
  2422. }
  2423. file_backend_operation_system_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2424. switch v := v.(*SearchMenuData); i {
  2425. case 0:
  2426. return &v.state
  2427. case 1:
  2428. return &v.sizeCache
  2429. case 2:
  2430. return &v.unknownFields
  2431. default:
  2432. return nil
  2433. }
  2434. }
  2435. file_backend_operation_system_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2436. switch v := v.(*SystemUserMenuPermissions); i {
  2437. case 0:
  2438. return &v.state
  2439. case 1:
  2440. return &v.sizeCache
  2441. case 2:
  2442. return &v.unknownFields
  2443. default:
  2444. return nil
  2445. }
  2446. }
  2447. file_backend_operation_system_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2448. switch v := v.(*SystemUserMenuData); i {
  2449. case 0:
  2450. return &v.state
  2451. case 1:
  2452. return &v.sizeCache
  2453. case 2:
  2454. return &v.unknownFields
  2455. default:
  2456. return nil
  2457. }
  2458. }
  2459. file_backend_operation_system_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2460. switch v := v.(*MenuButtonsPath); i {
  2461. case 0:
  2462. return &v.state
  2463. case 1:
  2464. return &v.sizeCache
  2465. case 2:
  2466. return &v.unknownFields
  2467. default:
  2468. return nil
  2469. }
  2470. }
  2471. file_backend_operation_system_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2472. switch v := v.(*AddMobileRequest); i {
  2473. case 0:
  2474. return &v.state
  2475. case 1:
  2476. return &v.sizeCache
  2477. case 2:
  2478. return &v.unknownFields
  2479. default:
  2480. return nil
  2481. }
  2482. }
  2483. }
  2484. type x struct{}
  2485. out := protoimpl.TypeBuilder{
  2486. File: protoimpl.DescBuilder{
  2487. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2488. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  2489. NumEnums: 0,
  2490. NumMessages: 29,
  2491. NumExtensions: 0,
  2492. NumServices: 0,
  2493. },
  2494. GoTypes: file_backend_operation_system_proto_goTypes,
  2495. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  2496. MessageInfos: file_backend_operation_system_proto_msgTypes,
  2497. }.Build()
  2498. File_backend_operation_system_proto = out.File
  2499. file_backend_operation_system_proto_rawDesc = nil
  2500. file_backend_operation_system_proto_goTypes = nil
  2501. file_backend_operation_system_proto_depIdxs = nil
  2502. }