2 Star 0 Fork 0

jmash / rbac

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rbac_user_message.pb.go 103.98 KB
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
百圆汽车保养 提交于 2024-04-18 22:25 . 导出局部数据.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v4.25.1
// source: jmash/rbac/protobuf/rbac_user_message.proto
package rbac
import (
basic "gitee.com/jmash/jmash/trunk/jmash-core-gateway/src/jmash/basic"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// 用户状态
type UserStatus int32
const (
// 启用
UserStatus_enabled UserStatus = 0
// 禁用
UserStatus_disabled UserStatus = 1
// 锁定
UserStatus_locked UserStatus = 2
)
// Enum value maps for UserStatus.
var (
UserStatus_name = map[int32]string{
0: "enabled",
1: "disabled",
2: "locked",
}
UserStatus_value = map[string]int32{
"enabled": 0,
"disabled": 1,
"locked": 2,
}
)
func (x UserStatus) Enum() *UserStatus {
p := new(UserStatus)
*p = x
return p
}
func (x UserStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (UserStatus) Descriptor() protoreflect.EnumDescriptor {
return file_jmash_rbac_protobuf_rbac_user_message_proto_enumTypes[0].Descriptor()
}
func (UserStatus) Type() protoreflect.EnumType {
return &file_jmash_rbac_protobuf_rbac_user_message_proto_enumTypes[0]
}
func (x UserStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use UserStatus.Descriptor instead.
func (UserStatus) EnumDescriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{0}
}
// 用户查询
type UserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 当前页码
CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
// 页尺寸
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// 排序名称
OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"`
// 是否升序排序
OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"`
// 是否显示已删除数据
ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
// 创建人
CreateBy string `protobuf:"bytes,7,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
// 部门ID
DeptId string `protobuf:"bytes,8,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
// 用户名
LoginName string `protobuf:"bytes,9,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"`
// 是否包含用户状态
HasUserStatus bool `protobuf:"varint,10,opt,name=has_user_status,json=hasUserStatus,proto3" json:"has_user_status,omitempty"`
// 状态
UserStatus UserStatus `protobuf:"varint,11,opt,name=user_status,json=userStatus,proto3,enum=jmash.rbac.UserStatus" json:"user_status,omitempty"`
// 角色编码
RoleCode string `protobuf:"bytes,12,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,13,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
}
func (x *UserReq) Reset() {
*x = UserReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserReq) ProtoMessage() {}
func (x *UserReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserReq.ProtoReflect.Descriptor instead.
func (*UserReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{0}
}
func (x *UserReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserReq) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *UserReq) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *UserReq) GetOrderName() string {
if x != nil {
return x.OrderName
}
return ""
}
func (x *UserReq) GetOrderAsc() bool {
if x != nil {
return x.OrderAsc
}
return false
}
func (x *UserReq) GetShowDeleted() bool {
if x != nil {
return x.ShowDeleted
}
return false
}
func (x *UserReq) GetCreateBy() string {
if x != nil {
return x.CreateBy
}
return ""
}
func (x *UserReq) GetDeptId() string {
if x != nil {
return x.DeptId
}
return ""
}
func (x *UserReq) GetLoginName() string {
if x != nil {
return x.LoginName
}
return ""
}
func (x *UserReq) GetHasUserStatus() bool {
if x != nil {
return x.HasUserStatus
}
return false
}
func (x *UserReq) GetUserStatus() UserStatus {
if x != nil {
return x.UserStatus
}
return UserStatus_enabled
}
func (x *UserReq) GetRoleCode() string {
if x != nil {
return x.RoleCode
}
return ""
}
func (x *UserReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
// 用户实体
type UserModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 账号
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
// 用户名/登录名
LoginName string `protobuf:"bytes,3,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"`
// 手机号
MobilePhone string `protobuf:"bytes,4,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty"`
// 手机号脱敏
MobilePhoneIns string `protobuf:"bytes,27,opt,name=mobile_phone_ins,json=mobilePhoneIns,proto3" json:"mobile_phone_ins,omitempty"`
// 电子邮件
Email_ string `protobuf:"bytes,5,opt,name=email_,json=email,proto3" json:"email_,omitempty"`
// 姓名
RealName string `protobuf:"bytes,6,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
// 昵称
NickName string `protobuf:"bytes,7,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
// 头像
Avatar_ string `protobuf:"bytes,8,opt,name=avatar_,json=avatar,proto3" json:"avatar_,omitempty"`
// 出生日期
BirthDate string `protobuf:"bytes,9,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
// 性别
Gender_ basic.Gender `protobuf:"varint,10,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"`
// 手机通过审核
PhoneApproved bool `protobuf:"varint,11,opt,name=phone_approved,json=phoneApproved,proto3" json:"phone_approved,omitempty"`
// 邮箱通过审核
EmailApproved bool `protobuf:"varint,12,opt,name=email_approved,json=emailApproved,proto3" json:"email_approved,omitempty"`
// 用户通过审核
Approved_ bool `protobuf:"varint,13,opt,name=approved_,json=approved,proto3" json:"approved_,omitempty"`
// 用户状态
Status_ UserStatus `protobuf:"varint,14,opt,name=status_,json=status,proto3,enum=jmash.rbac.UserStatus" json:"status_,omitempty"`
// 上次被锁/禁用时间
LastLockoutTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=last_lockout_time,json=lastLockoutTime,proto3" json:"last_lockout_time,omitempty"`
// 登录失败时间
FailedTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=failed_time,json=failedTime,proto3" json:"failed_time,omitempty"`
// 登录失败次数
FailedCount int32 `protobuf:"varint,17,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`
// 上次登录时间
LastLoginTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=last_login_time,json=lastLoginTime,proto3" json:"last_login_time,omitempty"`
// 乐观锁
Vision_ int32 `protobuf:"varint,19,opt,name=vision_,json=vision,proto3" json:"vision_,omitempty"`
// 创建人
CreateBy string `protobuf:"bytes,20,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
// 创建时间
CreateTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// 更新人
UpdateBy string `protobuf:"bytes,22,opt,name=update_by,json=updateBy,proto3" json:"update_by,omitempty"`
// 更新时间
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// 删除人
DeleteBy string `protobuf:"bytes,24,opt,name=delete_by,json=deleteBy,proto3" json:"delete_by,omitempty"`
// 删除状态
Deleted_ bool `protobuf:"varint,25,opt,name=deleted_,json=deleted,proto3" json:"deleted_,omitempty"`
// 删除时间
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// 用户角色
RoleIds []string `protobuf:"bytes,28,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
// 用户职务岗位
UserJobs []*UserJobs `protobuf:"bytes,29,rep,name=user_jobs,json=userJobs,proto3" json:"user_jobs,omitempty"`
// 是否运行.
RunAs bool `protobuf:"varint,30,opt,name=run_as,json=runAs,proto3" json:"run_as,omitempty"`
// 主用户身份.
PrimaryUserId string `protobuf:"bytes,31,opt,name=primary_user_id,json=primaryUserId,proto3" json:"primary_user_id,omitempty"`
// 电子邮件脱敏
EmailIns string `protobuf:"bytes,32,opt,name=email_ins,json=emailIns,proto3" json:"email_ins,omitempty"`
// 姓名脱敏
RealNameIns string `protobuf:"bytes,33,opt,name=real_name_ins,json=realNameIns,proto3" json:"real_name_ins,omitempty"`
}
func (x *UserModel) Reset() {
*x = UserModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserModel) ProtoMessage() {}
func (x *UserModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserModel.ProtoReflect.Descriptor instead.
func (*UserModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{1}
}
func (x *UserModel) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UserModel) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
func (x *UserModel) GetLoginName() string {
if x != nil {
return x.LoginName
}
return ""
}
func (x *UserModel) GetMobilePhone() string {
if x != nil {
return x.MobilePhone
}
return ""
}
func (x *UserModel) GetMobilePhoneIns() string {
if x != nil {
return x.MobilePhoneIns
}
return ""
}
func (x *UserModel) GetEmail_() string {
if x != nil {
return x.Email_
}
return ""
}
func (x *UserModel) GetRealName() string {
if x != nil {
return x.RealName
}
return ""
}
func (x *UserModel) GetNickName() string {
if x != nil {
return x.NickName
}
return ""
}
func (x *UserModel) GetAvatar_() string {
if x != nil {
return x.Avatar_
}
return ""
}
func (x *UserModel) GetBirthDate() string {
if x != nil {
return x.BirthDate
}
return ""
}
func (x *UserModel) GetGender_() basic.Gender {
if x != nil {
return x.Gender_
}
return basic.Gender(0)
}
func (x *UserModel) GetPhoneApproved() bool {
if x != nil {
return x.PhoneApproved
}
return false
}
func (x *UserModel) GetEmailApproved() bool {
if x != nil {
return x.EmailApproved
}
return false
}
func (x *UserModel) GetApproved_() bool {
if x != nil {
return x.Approved_
}
return false
}
func (x *UserModel) GetStatus_() UserStatus {
if x != nil {
return x.Status_
}
return UserStatus_enabled
}
func (x *UserModel) GetLastLockoutTime() *timestamppb.Timestamp {
if x != nil {
return x.LastLockoutTime
}
return nil
}
func (x *UserModel) GetFailedTime() *timestamppb.Timestamp {
if x != nil {
return x.FailedTime
}
return nil
}
func (x *UserModel) GetFailedCount() int32 {
if x != nil {
return x.FailedCount
}
return 0
}
func (x *UserModel) GetLastLoginTime() *timestamppb.Timestamp {
if x != nil {
return x.LastLoginTime
}
return nil
}
func (x *UserModel) GetVision_() int32 {
if x != nil {
return x.Vision_
}
return 0
}
func (x *UserModel) GetCreateBy() string {
if x != nil {
return x.CreateBy
}
return ""
}
func (x *UserModel) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *UserModel) GetUpdateBy() string {
if x != nil {
return x.UpdateBy
}
return ""
}
func (x *UserModel) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *UserModel) GetDeleteBy() string {
if x != nil {
return x.DeleteBy
}
return ""
}
func (x *UserModel) GetDeleted_() bool {
if x != nil {
return x.Deleted_
}
return false
}
func (x *UserModel) GetDeleteTime() *timestamppb.Timestamp {
if x != nil {
return x.DeleteTime
}
return nil
}
func (x *UserModel) GetRoleIds() []string {
if x != nil {
return x.RoleIds
}
return nil
}
func (x *UserModel) GetUserJobs() []*UserJobs {
if x != nil {
return x.UserJobs
}
return nil
}
func (x *UserModel) GetRunAs() bool {
if x != nil {
return x.RunAs
}
return false
}
func (x *UserModel) GetPrimaryUserId() string {
if x != nil {
return x.PrimaryUserId
}
return ""
}
func (x *UserModel) GetEmailIns() string {
if x != nil {
return x.EmailIns
}
return ""
}
func (x *UserModel) GetRealNameIns() string {
if x != nil {
return x.RealNameIns
}
return ""
}
// 用户列表
type UserList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*UserModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *UserList) Reset() {
*x = UserList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserList) ProtoMessage() {}
func (x *UserList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserList.ProtoReflect.Descriptor instead.
func (*UserList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{2}
}
func (x *UserList) GetResults() []*UserModel {
if x != nil {
return x.Results
}
return nil
}
// 用户分页
type UserPage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*UserModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// 当前页码
CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
// 页尺寸
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// 总记录数
TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// 本页小计
SubTotalDto *UserModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
// 合计
TotalDto *UserModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
}
func (x *UserPage) Reset() {
*x = UserPage{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserPage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserPage) ProtoMessage() {}
func (x *UserPage) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserPage.ProtoReflect.Descriptor instead.
func (*UserPage) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{3}
}
func (x *UserPage) GetResults() []*UserModel {
if x != nil {
return x.Results
}
return nil
}
func (x *UserPage) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *UserPage) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *UserPage) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
func (x *UserPage) GetSubTotalDto() *UserModelTotal {
if x != nil {
return x.SubTotalDto
}
return nil
}
func (x *UserPage) GetTotalDto() *UserModelTotal {
if x != nil {
return x.TotalDto
}
return nil
}
// 合计
type UserModelTotal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 总记录数
TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
}
func (x *UserModelTotal) Reset() {
*x = UserModelTotal{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserModelTotal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserModelTotal) ProtoMessage() {}
func (x *UserModelTotal) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserModelTotal.ProtoReflect.Descriptor instead.
func (*UserModelTotal) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{4}
}
func (x *UserModelTotal) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
// 用户Key.
type UserKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用户ID.
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}
func (x *UserKey) Reset() {
*x = UserKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserKey) ProtoMessage() {}
func (x *UserKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserKey.ProtoReflect.Descriptor instead.
func (*UserKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{5}
}
func (x *UserKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserKey) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
// 用户List
type UserKeyList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
UserId []string `protobuf:"bytes,2,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}
func (x *UserKeyList) Reset() {
*x = UserKeyList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserKeyList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserKeyList) ProtoMessage() {}
func (x *UserKeyList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserKeyList.ProtoReflect.Descriptor instead.
func (*UserKeyList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{6}
}
func (x *UserKeyList) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserKeyList) GetUserId() []string {
if x != nil {
return x.UserId
}
return nil
}
// 用户新增实体
type UserCreateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,5,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
// 用户名/登录名
LoginName string `protobuf:"bytes,6,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"`
// 手机号
MobilePhone string `protobuf:"bytes,7,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty"`
// 电子邮件
Email_ string `protobuf:"bytes,8,opt,name=email_,json=email,proto3" json:"email_,omitempty"`
// 姓名
RealName string `protobuf:"bytes,9,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
// 昵称
NickName string `protobuf:"bytes,10,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
// 头像
Avatar_ string `protobuf:"bytes,11,opt,name=avatar_,json=avatar,proto3" json:"avatar_,omitempty"`
// 出生日期
BirthDate string `protobuf:"bytes,12,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
// 性别
Gender_ basic.Gender `protobuf:"varint,13,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"`
// 用户通过审核
Approved_ bool `protobuf:"varint,16,opt,name=approved_,json=approved,proto3" json:"approved_,omitempty"`
// 用户状态
Status_ UserStatus `protobuf:"varint,17,opt,name=status_,json=status,proto3,enum=jmash.rbac.UserStatus" json:"status_,omitempty"`
// 密钥
Pwd string `protobuf:"bytes,18,opt,name=pwd,proto3" json:"pwd,omitempty"`
// 重复密钥
RepeatPwd string `protobuf:"bytes,19,opt,name=repeat_pwd,json=repeatPwd,proto3" json:"repeat_pwd,omitempty"`
// 用户角色
RoleIds []string `protobuf:"bytes,20,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
// 所属部门岗位
UserJobs []*UserJobs `protobuf:"bytes,21,rep,name=user_jobs,json=userJobs,proto3" json:"user_jobs,omitempty"`
}
func (x *UserCreateReq) Reset() {
*x = UserCreateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserCreateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserCreateReq) ProtoMessage() {}
func (x *UserCreateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserCreateReq.ProtoReflect.Descriptor instead.
func (*UserCreateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{7}
}
func (x *UserCreateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserCreateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *UserCreateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *UserCreateReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
func (x *UserCreateReq) GetLoginName() string {
if x != nil {
return x.LoginName
}
return ""
}
func (x *UserCreateReq) GetMobilePhone() string {
if x != nil {
return x.MobilePhone
}
return ""
}
func (x *UserCreateReq) GetEmail_() string {
if x != nil {
return x.Email_
}
return ""
}
func (x *UserCreateReq) GetRealName() string {
if x != nil {
return x.RealName
}
return ""
}
func (x *UserCreateReq) GetNickName() string {
if x != nil {
return x.NickName
}
return ""
}
func (x *UserCreateReq) GetAvatar_() string {
if x != nil {
return x.Avatar_
}
return ""
}
func (x *UserCreateReq) GetBirthDate() string {
if x != nil {
return x.BirthDate
}
return ""
}
func (x *UserCreateReq) GetGender_() basic.Gender {
if x != nil {
return x.Gender_
}
return basic.Gender(0)
}
func (x *UserCreateReq) GetApproved_() bool {
if x != nil {
return x.Approved_
}
return false
}
func (x *UserCreateReq) GetStatus_() UserStatus {
if x != nil {
return x.Status_
}
return UserStatus_enabled
}
func (x *UserCreateReq) GetPwd() string {
if x != nil {
return x.Pwd
}
return ""
}
func (x *UserCreateReq) GetRepeatPwd() string {
if x != nil {
return x.RepeatPwd
}
return ""
}
func (x *UserCreateReq) GetRoleIds() []string {
if x != nil {
return x.RoleIds
}
return nil
}
func (x *UserCreateReq) GetUserJobs() []*UserJobs {
if x != nil {
return x.UserJobs
}
return nil
}
// 用户修改实体
type UserUpdateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// 更新字段掩码.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// 账号
UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,6,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
// 用户名/登录名
LoginName string `protobuf:"bytes,7,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"`
// 手机号
MobilePhone string `protobuf:"bytes,8,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty"`
// 电子邮件
Email_ string `protobuf:"bytes,9,opt,name=email_,json=email,proto3" json:"email_,omitempty"`
// 姓名
RealName string `protobuf:"bytes,10,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
// 昵称
NickName string `protobuf:"bytes,11,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
// 头像
Avatar_ string `protobuf:"bytes,12,opt,name=avatar_,json=avatar,proto3" json:"avatar_,omitempty"`
// 出生日期
BirthDate string `protobuf:"bytes,13,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
// 性别
Gender_ basic.Gender `protobuf:"varint,14,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"`
// 手机通过审核
PhoneApproved bool `protobuf:"varint,15,opt,name=phone_approved,json=phoneApproved,proto3" json:"phone_approved,omitempty"`
// 邮箱通过审核
EmailApproved bool `protobuf:"varint,16,opt,name=email_approved,json=emailApproved,proto3" json:"email_approved,omitempty"`
// 用户通过审核
Approved_ bool `protobuf:"varint,17,opt,name=approved_,json=approved,proto3" json:"approved_,omitempty"`
// 用户状态
Status_ UserStatus `protobuf:"varint,18,opt,name=status_,json=status,proto3,enum=jmash.rbac.UserStatus" json:"status_,omitempty"`
// 用户角色
RoleIds []string `protobuf:"bytes,20,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
// 所属部门岗位
UserJobs []*UserJobs `protobuf:"bytes,21,rep,name=user_jobs,json=userJobs,proto3" json:"user_jobs,omitempty"`
}
func (x *UserUpdateReq) Reset() {
*x = UserUpdateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserUpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserUpdateReq) ProtoMessage() {}
func (x *UserUpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserUpdateReq.ProtoReflect.Descriptor instead.
func (*UserUpdateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{8}
}
func (x *UserUpdateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserUpdateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *UserUpdateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *UserUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
func (x *UserUpdateReq) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UserUpdateReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
func (x *UserUpdateReq) GetLoginName() string {
if x != nil {
return x.LoginName
}
return ""
}
func (x *UserUpdateReq) GetMobilePhone() string {
if x != nil {
return x.MobilePhone
}
return ""
}
func (x *UserUpdateReq) GetEmail_() string {
if x != nil {
return x.Email_
}
return ""
}
func (x *UserUpdateReq) GetRealName() string {
if x != nil {
return x.RealName
}
return ""
}
func (x *UserUpdateReq) GetNickName() string {
if x != nil {
return x.NickName
}
return ""
}
func (x *UserUpdateReq) GetAvatar_() string {
if x != nil {
return x.Avatar_
}
return ""
}
func (x *UserUpdateReq) GetBirthDate() string {
if x != nil {
return x.BirthDate
}
return ""
}
func (x *UserUpdateReq) GetGender_() basic.Gender {
if x != nil {
return x.Gender_
}
return basic.Gender(0)
}
func (x *UserUpdateReq) GetPhoneApproved() bool {
if x != nil {
return x.PhoneApproved
}
return false
}
func (x *UserUpdateReq) GetEmailApproved() bool {
if x != nil {
return x.EmailApproved
}
return false
}
func (x *UserUpdateReq) GetApproved_() bool {
if x != nil {
return x.Approved_
}
return false
}
func (x *UserUpdateReq) GetStatus_() UserStatus {
if x != nil {
return x.Status_
}
return UserStatus_enabled
}
func (x *UserUpdateReq) GetRoleIds() []string {
if x != nil {
return x.RoleIds
}
return nil
}
func (x *UserUpdateReq) GetUserJobs() []*UserJobs {
if x != nil {
return x.UserJobs
}
return nil
}
// 用户导出请求
type UserExportReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 标题
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// 字段列表
TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"`
// 显示文件名
FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 筛选条件
Req *UserReq `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"`
}
func (x *UserExportReq) Reset() {
*x = UserExportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserExportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserExportReq) ProtoMessage() {}
func (x *UserExportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserExportReq.ProtoReflect.Descriptor instead.
func (*UserExportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{9}
}
func (x *UserExportReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserExportReq) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *UserExportReq) GetTableHeads() []*basic.TableHead {
if x != nil {
return x.TableHeads
}
return nil
}
func (x *UserExportReq) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *UserExportReq) GetReq() *UserReq {
if x != nil {
return x.Req
}
return nil
}
// 用户导入请求
type UserImportReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 文件名
FileNames string `protobuf:"bytes,3,opt,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"`
// 是否新增标识
AddFlag bool `protobuf:"varint,4,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"`
// 更新字段掩码.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
func (x *UserImportReq) Reset() {
*x = UserImportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserImportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserImportReq) ProtoMessage() {}
func (x *UserImportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserImportReq.ProtoReflect.Descriptor instead.
func (*UserImportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{10}
}
func (x *UserImportReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserImportReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *UserImportReq) GetFileNames() string {
if x != nil {
return x.FileNames
}
return ""
}
func (x *UserImportReq) GetAddFlag() bool {
if x != nil {
return x.AddFlag
}
return false
}
func (x *UserImportReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
// 校验用户信息(用户名、手机号、邮箱唯一性)
type VerifyUserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用户Id
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// 用户名、手机号、邮箱
UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,4,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
}
func (x *VerifyUserReq) Reset() {
*x = VerifyUserReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VerifyUserReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyUserReq) ProtoMessage() {}
func (x *VerifyUserReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VerifyUserReq.ProtoReflect.Descriptor instead.
func (*VerifyUserReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{11}
}
func (x *VerifyUserReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *VerifyUserReq) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *VerifyUserReq) GetUserName() string {
if x != nil {
return x.UserName
}
return ""
}
func (x *VerifyUserReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
// 用户名请求信息
type UserNameReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用户名、手机号、邮箱
UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,4,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
}
func (x *UserNameReq) Reset() {
*x = UserNameReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserNameReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserNameReq) ProtoMessage() {}
func (x *UserNameReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserNameReq.ProtoReflect.Descriptor instead.
func (*UserNameReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{12}
}
func (x *UserNameReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserNameReq) GetUserName() string {
if x != nil {
return x.UserName
}
return ""
}
func (x *UserNameReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
// 启禁用用户请求.
type EnableUserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 启用/禁用
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
// 用户Id
UserId []string `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}
func (x *EnableUserReq) Reset() {
*x = EnableUserReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EnableUserReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnableUserReq) ProtoMessage() {}
func (x *EnableUserReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnableUserReq.ProtoReflect.Descriptor instead.
func (*EnableUserReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{13}
}
func (x *EnableUserReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *EnableUserReq) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *EnableUserReq) GetUserId() []string {
if x != nil {
return x.UserId
}
return nil
}
// 锁/解锁用户请求.
type LockUserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 锁/解锁
Lock bool `protobuf:"varint,2,opt,name=lock,proto3" json:"lock,omitempty"`
// 用户Id
UserId []string `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}
func (x *LockUserReq) Reset() {
*x = LockUserReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LockUserReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LockUserReq) ProtoMessage() {}
func (x *LockUserReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LockUserReq.ProtoReflect.Descriptor instead.
func (*LockUserReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{14}
}
func (x *LockUserReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *LockUserReq) GetLock() bool {
if x != nil {
return x.Lock
}
return false
}
func (x *LockUserReq) GetUserId() []string {
if x != nil {
return x.UserId
}
return nil
}
// 审核/取消审核请求.
type ApprovedUserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 审核/取消审核
Approved bool `protobuf:"varint,2,opt,name=approved,proto3" json:"approved,omitempty"`
// 用户Id
UserId []string `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}
func (x *ApprovedUserReq) Reset() {
*x = ApprovedUserReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ApprovedUserReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApprovedUserReq) ProtoMessage() {}
func (x *ApprovedUserReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ApprovedUserReq.ProtoReflect.Descriptor instead.
func (*ApprovedUserReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{15}
}
func (x *ApprovedUserReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ApprovedUserReq) GetApproved() bool {
if x != nil {
return x.Approved
}
return false
}
func (x *ApprovedUserReq) GetUserId() []string {
if x != nil {
return x.UserId
}
return nil
}
// 用户角色
type UserRoleReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用户Id
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// 角色编码
RoleCodes []string `protobuf:"bytes,3,rep,name=role_codes,json=roleCodes,proto3" json:"role_codes,omitempty"`
}
func (x *UserRoleReq) Reset() {
*x = UserRoleReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserRoleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserRoleReq) ProtoMessage() {}
func (x *UserRoleReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserRoleReq.ProtoReflect.Descriptor instead.
func (*UserRoleReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{16}
}
func (x *UserRoleReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserRoleReq) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UserRoleReq) GetRoleCodes() []string {
if x != nil {
return x.RoleCodes
}
return nil
}
type UserJobs struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 所属部门
DeptId string `protobuf:"bytes,1,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
// 所属岗位
JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
}
func (x *UserJobs) Reset() {
*x = UserJobs{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserJobs) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserJobs) ProtoMessage() {}
func (x *UserJobs) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserJobs.ProtoReflect.Descriptor instead.
func (*UserJobs) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{17}
}
func (x *UserJobs) GetDeptId() string {
if x != nil {
return x.DeptId
}
return ""
}
func (x *UserJobs) GetJobId() string {
if x != nil {
return x.JobId
}
return ""
}
// 重置密码
type UserResetPwdReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用户Id
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// 密钥
Pwd string `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"`
// 重复密钥
RepeatPwd string `protobuf:"bytes,4,opt,name=repeat_pwd,json=repeatPwd,proto3" json:"repeat_pwd,omitempty"`
}
func (x *UserResetPwdReq) Reset() {
*x = UserResetPwdReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserResetPwdReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserResetPwdReq) ProtoMessage() {}
func (x *UserResetPwdReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserResetPwdReq.ProtoReflect.Descriptor instead.
func (*UserResetPwdReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{18}
}
func (x *UserResetPwdReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UserResetPwdReq) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UserResetPwdReq) GetPwd() string {
if x != nil {
return x.Pwd
}
return ""
}
func (x *UserResetPwdReq) GetRepeatPwd() string {
if x != nil {
return x.RepeatPwd
}
return ""
}
type UpdateUserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 昵称
NickName string `protobuf:"bytes,2,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
// 姓名
RealName string `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
// 性别
Gender_ basic.Gender `protobuf:"varint,4,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"`
// 头像
Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
// 出生日期
BirthDate string `protobuf:"bytes,6,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
// 更新字段掩码
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// 请求ID
RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}
func (x *UpdateUserReq) Reset() {
*x = UpdateUserReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateUserReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateUserReq) ProtoMessage() {}
func (x *UpdateUserReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
func (*UpdateUserReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{19}
}
func (x *UpdateUserReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *UpdateUserReq) GetNickName() string {
if x != nil {
return x.NickName
}
return ""
}
func (x *UpdateUserReq) GetRealName() string {
if x != nil {
return x.RealName
}
return ""
}
func (x *UpdateUserReq) GetGender_() basic.Gender {
if x != nil {
return x.Gender_
}
return basic.Gender(0)
}
func (x *UpdateUserReq) GetAvatar() string {
if x != nil {
return x.Avatar
}
return ""
}
func (x *UpdateUserReq) GetBirthDate() string {
if x != nil {
return x.BirthDate
}
return ""
}
func (x *UpdateUserReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
func (x *UpdateUserReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
type UserDeptJobInfoRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 用户ID
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// 用户ID
NickName string `protobuf:"bytes,2,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
// 部门及岗位信息
JobInfo []*JobInfo `protobuf:"bytes,3,rep,name=job_info,json=jobInfo,proto3" json:"job_info,omitempty"`
}
func (x *UserDeptJobInfoRes) Reset() {
*x = UserDeptJobInfoRes{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserDeptJobInfoRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserDeptJobInfoRes) ProtoMessage() {}
func (x *UserDeptJobInfoRes) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UserDeptJobInfoRes.ProtoReflect.Descriptor instead.
func (*UserDeptJobInfoRes) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{20}
}
func (x *UserDeptJobInfoRes) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UserDeptJobInfoRes) GetNickName() string {
if x != nil {
return x.NickName
}
return ""
}
func (x *UserDeptJobInfoRes) GetJobInfo() []*JobInfo {
if x != nil {
return x.JobInfo
}
return nil
}
type JobInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
DeptId string `protobuf:"bytes,3,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
DeptName string `protobuf:"bytes,4,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"`
}
func (x *JobInfo) Reset() {
*x = JobInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobInfo) ProtoMessage() {}
func (x *JobInfo) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.
func (*JobInfo) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{21}
}
func (x *JobInfo) GetJobId() string {
if x != nil {
return x.JobId
}
return ""
}
func (x *JobInfo) GetJobName() string {
if x != nil {
return x.JobName
}
return ""
}
func (x *JobInfo) GetDeptId() string {
if x != nil {
return x.DeptId
}
return ""
}
func (x *JobInfo) GetDeptName() string {
if x != nil {
return x.DeptName
}
return ""
}
type DirectoryListResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DirectoryId []string `protobuf:"bytes,1,rep,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
}
func (x *DirectoryListResp) Reset() {
*x = DirectoryListResp{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DirectoryListResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectoryListResp) ProtoMessage() {}
func (x *DirectoryListResp) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectoryListResp.ProtoReflect.Descriptor instead.
func (*DirectoryListResp) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP(), []int{22}
}
func (x *DirectoryListResp) GetDirectoryId() []string {
if x != nil {
return x.DirectoryId
}
return nil
}
var File_jmash_rbac_protobuf_rbac_user_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_rbac_user_message_proto_rawDesc = []byte{
0x0a, 0x2b, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f,
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c,
0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6a, 0x6d,
0x61, 0x73, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x62, 0x61, 0x73,
0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x03, 0x0a, 0x07, 0x55, 0x73, 0x65,
0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08,
0x63, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
0x63, 0x75, 0x72, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x63,
0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x73, 0x63,
0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64,
0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79,
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79,
0x12, 0x17, 0x0a, 0x07, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x64, 0x65, 0x70, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67,
0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c,
0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x68, 0x61, 0x73, 0x5f,
0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x08, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x37, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62,
0x61, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x75,
0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c,
0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f,
0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69,
0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x85, 0x0a, 0x0a, 0x09, 0x55, 0x73,
0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x68, 0x6f,
0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65,
0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f,
0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0e, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x49, 0x6e, 0x73, 0x12,
0x15, 0x0a, 0x06, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65,
0x12, 0x17, 0x0a, 0x07, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x18, 0x08, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x69, 0x72,
0x74, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62,
0x69, 0x72, 0x74, 0x68, 0x44, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x64,
0x65, 0x72, 0x5f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73,
0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65,
0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x68, 0x6f,
0x6e, 0x65, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28,
0x08, 0x52, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64,
0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76,
0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x41,
0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f,
0x76, 0x65, 0x64, 0x5f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x70, 0x70, 0x72,
0x6f, 0x76, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x18,
0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62,
0x61, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x46, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6c, 0x6f,
0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x6c, 0x61,
0x73, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a,
0x0b, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,
0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x61,
0x69, 0x6c, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05,
0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a,
0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65,
0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
0x6d, 0x70, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d,
0x65, 0x12, 0x17, 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x13, 0x20, 0x01,
0x28, 0x05, 0x52, 0x06, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62,
0x79, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42,
0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b,
0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x18, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x64,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54,
0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18,
0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x31,
0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x55,
0x73, 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x62,
0x73, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x5f, 0x61, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28,
0x08, 0x52, 0x05, 0x72, 0x75, 0x6e, 0x41, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x72, 0x69, 0x6d,
0x61, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x1f, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x6e, 0x73, 0x18, 0x20, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x73, 0x12, 0x22, 0x0a,
0x0d, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x18, 0x21,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x6e,
0x73, 0x22, 0x3b, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a,
0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15,
0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72,
0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x8b,
0x02, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x72,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f,
0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08,
0x63, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
0x63, 0x75, 0x72, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69,
0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53,
0x69, 0x7a, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c,
0x5f, 0x64, 0x74, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6a, 0x6d, 0x61,
0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65,
0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x54, 0x6f, 0x74, 0x61, 0x6c,
0x44, 0x74, 0x6f, 0x12, 0x37, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f,
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72,
0x62, 0x61, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x6f, 0x74,
0x61, 0x6c, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0e,
0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1d,
0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x3a, 0x0a,
0x07, 0x55, 0x73, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74,
0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x0b, 0x55, 0x73, 0x65,
0x72, 0x4b, 0x65, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74,
0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28,
0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xd7, 0x04, 0x0a, 0x0d, 0x55, 0x73,
0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f,
0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64,
0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63,
0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f,
0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x62,
0x69, 0x6c, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x06,
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d,
0x61, 0x69, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65,
0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a,
0x07, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x69, 0x72, 0x74, 0x68, 0x5f,
0x64, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74,
0x68, 0x44, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f,
0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06,
0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76,
0x65, 0x64, 0x5f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f,
0x76, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x18, 0x11,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61,
0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x77, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x70, 0x77, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
0x5f, 0x70, 0x77, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x65,
0x61, 0x74, 0x50, 0x77, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64,
0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73,
0x12, 0x31, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x15, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4a,
0x6f, 0x62, 0x73, 0x22, 0xca, 0x05, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1d, 0x0a,
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d,
0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20,
0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c,
0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61,
0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x17,
0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63,
0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f,
0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x62,
0x69, 0x6c, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x06,
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d,
0x61, 0x69, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65,
0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a,
0x07, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x69, 0x72, 0x74, 0x68, 0x5f,
0x64, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74,
0x68, 0x44, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f,
0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06,
0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f,
0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
0x70, 0x68, 0x6f, 0x6e, 0x65, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x25, 0x0a,
0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x18,
0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x70, 0x70, 0x72,
0x6f, 0x76, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64,
0x5f, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65,
0x64, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x18, 0x12, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e,
0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x14,
0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x31, 0x0a,
0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x55, 0x73,
0x65, 0x72, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x73,
0x22, 0xbd, 0x01, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52,
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,
0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x73, 0x18,
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64,
0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09,
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x03, 0x72, 0x65, 0x71,
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72,
0x62, 0x61, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x52, 0x03, 0x72, 0x65, 0x71,
0x22, 0xbd, 0x01, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x52,
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c,
0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66,
0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x5f,
0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x64, 0x64, 0x46,
0x6c, 0x61, 0x67, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b,
0x22, 0x80, 0x01, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52,
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73,
0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,
0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65,
0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x79, 0x49, 0x64, 0x22, 0x65, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52,
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73,
0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75,
0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63,
0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x0d, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x17, 0x0a,
0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06,
0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x0b, 0x4c, 0x6f, 0x63, 0x6b, 0x55, 0x73,
0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a,
0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6c, 0x6f, 0x63,
0x6b, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x03,
0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5e, 0x0a, 0x0f, 0x41, 0x70,
0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65,
0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x03,
0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x0b, 0x55, 0x73,
0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e,
0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f,
0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,
0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x3a, 0x0a, 0x08, 0x55, 0x73, 0x65,
0x72, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x70, 0x74, 0x49, 0x64, 0x12, 0x15,
0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
0x65, 0x74, 0x50, 0x77, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74,
0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x77, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x77, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72,
0x65, 0x70, 0x65, 0x61, 0x74, 0x5f, 0x70, 0x77, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x50, 0x77, 0x64, 0x22, 0xa5, 0x02, 0x0a, 0x0d, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06,
0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65,
0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f,
0x0a, 0x07, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x16, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12,
0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x69, 0x72, 0x74, 0x68,
0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x69, 0x72,
0x74, 0x68, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
0x61, 0x73, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69,
0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x49, 0x64, 0x22, 0x7a, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x70, 0x74, 0x4a, 0x6f,
0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e,
0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x13, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4a, 0x6f,
0x62, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x71,
0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64,
0x12, 0x19, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64,
0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65,
0x70, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x4e, 0x61, 0x6d,
0x65, 0x22, 0x36, 0x0a, 0x11, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69,
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69,
0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x2a, 0x57, 0x0a, 0x0a, 0x55, 0x73, 0x65,
0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x10, 0x00, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe5, 0x90, 0xaf, 0xe7, 0x94, 0xa8,
0x12, 0x18, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x10, 0x01, 0x1a, 0x0a,
0x8a, 0xb5, 0x18, 0x06, 0xe7, 0xa6, 0x81, 0xe7, 0x94, 0xa8, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f,
0x63, 0x6b, 0x65, 0x64, 0x10, 0x02, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe9, 0x94, 0x81, 0xe5,
0xae, 0x9a, 0x42, 0x33, 0x0a, 0x13, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x0f, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62,
0x61, 0x63, 0x3b, 0x72, 0x62, 0x61, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescData = file_jmash_rbac_protobuf_rbac_user_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_rbac_user_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_rbac_user_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
var file_jmash_rbac_protobuf_rbac_user_message_proto_goTypes = []interface{}{
(UserStatus)(0), // 0: jmash.rbac.UserStatus
(*UserReq)(nil), // 1: jmash.rbac.UserReq
(*UserModel)(nil), // 2: jmash.rbac.UserModel
(*UserList)(nil), // 3: jmash.rbac.UserList
(*UserPage)(nil), // 4: jmash.rbac.UserPage
(*UserModelTotal)(nil), // 5: jmash.rbac.UserModelTotal
(*UserKey)(nil), // 6: jmash.rbac.UserKey
(*UserKeyList)(nil), // 7: jmash.rbac.UserKeyList
(*UserCreateReq)(nil), // 8: jmash.rbac.UserCreateReq
(*UserUpdateReq)(nil), // 9: jmash.rbac.UserUpdateReq
(*UserExportReq)(nil), // 10: jmash.rbac.UserExportReq
(*UserImportReq)(nil), // 11: jmash.rbac.UserImportReq
(*VerifyUserReq)(nil), // 12: jmash.rbac.VerifyUserReq
(*UserNameReq)(nil), // 13: jmash.rbac.UserNameReq
(*EnableUserReq)(nil), // 14: jmash.rbac.EnableUserReq
(*LockUserReq)(nil), // 15: jmash.rbac.LockUserReq
(*ApprovedUserReq)(nil), // 16: jmash.rbac.ApprovedUserReq
(*UserRoleReq)(nil), // 17: jmash.rbac.UserRoleReq
(*UserJobs)(nil), // 18: jmash.rbac.UserJobs
(*UserResetPwdReq)(nil), // 19: jmash.rbac.UserResetPwdReq
(*UpdateUserReq)(nil), // 20: jmash.rbac.UpdateUserReq
(*UserDeptJobInfoRes)(nil), // 21: jmash.rbac.UserDeptJobInfoRes
(*JobInfo)(nil), // 22: jmash.rbac.JobInfo
(*DirectoryListResp)(nil), // 23: jmash.rbac.DirectoryListResp
(basic.Gender)(0), // 24: jmash.protobuf.Gender
(*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
(*fieldmaskpb.FieldMask)(nil), // 26: google.protobuf.FieldMask
(*basic.TableHead)(nil), // 27: jmash.protobuf.TableHead
}
var file_jmash_rbac_protobuf_rbac_user_message_proto_depIdxs = []int32{
0, // 0: jmash.rbac.UserReq.user_status:type_name -> jmash.rbac.UserStatus
24, // 1: jmash.rbac.UserModel.gender_:type_name -> jmash.protobuf.Gender
0, // 2: jmash.rbac.UserModel.status_:type_name -> jmash.rbac.UserStatus
25, // 3: jmash.rbac.UserModel.last_lockout_time:type_name -> google.protobuf.Timestamp
25, // 4: jmash.rbac.UserModel.failed_time:type_name -> google.protobuf.Timestamp
25, // 5: jmash.rbac.UserModel.last_login_time:type_name -> google.protobuf.Timestamp
25, // 6: jmash.rbac.UserModel.create_time:type_name -> google.protobuf.Timestamp
25, // 7: jmash.rbac.UserModel.update_time:type_name -> google.protobuf.Timestamp
25, // 8: jmash.rbac.UserModel.delete_time:type_name -> google.protobuf.Timestamp
18, // 9: jmash.rbac.UserModel.user_jobs:type_name -> jmash.rbac.UserJobs
2, // 10: jmash.rbac.UserList.results:type_name -> jmash.rbac.UserModel
2, // 11: jmash.rbac.UserPage.results:type_name -> jmash.rbac.UserModel
5, // 12: jmash.rbac.UserPage.sub_total_dto:type_name -> jmash.rbac.UserModelTotal
5, // 13: jmash.rbac.UserPage.total_dto:type_name -> jmash.rbac.UserModelTotal
24, // 14: jmash.rbac.UserCreateReq.gender_:type_name -> jmash.protobuf.Gender
0, // 15: jmash.rbac.UserCreateReq.status_:type_name -> jmash.rbac.UserStatus
18, // 16: jmash.rbac.UserCreateReq.user_jobs:type_name -> jmash.rbac.UserJobs
26, // 17: jmash.rbac.UserUpdateReq.update_mask:type_name -> google.protobuf.FieldMask
24, // 18: jmash.rbac.UserUpdateReq.gender_:type_name -> jmash.protobuf.Gender
0, // 19: jmash.rbac.UserUpdateReq.status_:type_name -> jmash.rbac.UserStatus
18, // 20: jmash.rbac.UserUpdateReq.user_jobs:type_name -> jmash.rbac.UserJobs
27, // 21: jmash.rbac.UserExportReq.table_heads:type_name -> jmash.protobuf.TableHead
1, // 22: jmash.rbac.UserExportReq.req:type_name -> jmash.rbac.UserReq
26, // 23: jmash.rbac.UserImportReq.update_mask:type_name -> google.protobuf.FieldMask
24, // 24: jmash.rbac.UpdateUserReq.gender_:type_name -> jmash.protobuf.Gender
26, // 25: jmash.rbac.UpdateUserReq.update_mask:type_name -> google.protobuf.FieldMask
22, // 26: jmash.rbac.UserDeptJobInfoRes.job_info:type_name -> jmash.rbac.JobInfo
27, // [27:27] is the sub-list for method output_type
27, // [27:27] is the sub-list for method input_type
27, // [27:27] is the sub-list for extension type_name
27, // [27:27] is the sub-list for extension extendee
0, // [0:27] is the sub-list for field type_name
}
func init() { file_jmash_rbac_protobuf_rbac_user_message_proto_init() }
func file_jmash_rbac_protobuf_rbac_user_message_proto_init() {
if File_jmash_rbac_protobuf_rbac_user_message_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserPage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserModelTotal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserKeyList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserCreateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserUpdateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserExportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserImportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VerifyUserReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserNameReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EnableUserReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LockUserReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ApprovedUserReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserRoleReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserJobs); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserResetPwdReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateUserReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserDeptJobInfoRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DirectoryListResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_jmash_rbac_protobuf_rbac_user_message_proto_rawDesc,
NumEnums: 1,
NumMessages: 23,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_rbac_user_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_rbac_user_message_proto_depIdxs,
EnumInfos: file_jmash_rbac_protobuf_rbac_user_message_proto_enumTypes,
MessageInfos: file_jmash_rbac_protobuf_rbac_user_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_rbac_user_message_proto = out.File
file_jmash_rbac_protobuf_rbac_user_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_rbac_user_message_proto_goTypes = nil
file_jmash_rbac_protobuf_rbac_user_message_proto_depIdxs = nil
}
Java
1
https://gitee.com/jmash/rbac.git
git@gitee.com:jmash/rbac.git
jmash
rbac
rbac
14f349c9227c

搜索帮助