2 Star 0 Fork 0

jmash/rbac

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rbac_role_message.pb.go 61.45 KB
一键复制 编辑 原始数据 按行查看 历史
flowcloud0102/wangyh 提交于 2024-06-21 16:16 . 移动/启禁用/导出
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829
// 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_role_message.proto
package rbac
import (
_ "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 RoleType int32
const (
// 角色
RoleType_role RoleType = 0
// 职务
RoleType_job RoleType = 1
)
// Enum value maps for RoleType.
var (
RoleType_name = map[int32]string{
0: "role",
1: "job",
}
RoleType_value = map[string]int32{
"role": 0,
"job": 1,
}
)
func (x RoleType) Enum() *RoleType {
p := new(RoleType)
*p = x
return p
}
func (x RoleType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RoleType) Descriptor() protoreflect.EnumDescriptor {
return file_jmash_rbac_protobuf_rbac_role_message_proto_enumTypes[0].Descriptor()
}
func (RoleType) Type() protoreflect.EnumType {
return &file_jmash_rbac_protobuf_rbac_role_message_proto_enumTypes[0]
}
func (x RoleType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RoleType.Descriptor instead.
func (RoleType) EnumDescriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{0}
}
// 职责分离类型.
type DutyType int32
const (
// 静态职责分离
DutyType_SSD DutyType = 0
// 动态职责分离
DutyType_DSD DutyType = 1
)
// Enum value maps for DutyType.
var (
DutyType_name = map[int32]string{
0: "SSD",
1: "DSD",
}
DutyType_value = map[string]int32{
"SSD": 0,
"DSD": 1,
}
)
func (x DutyType) Enum() *DutyType {
p := new(DutyType)
*p = x
return p
}
func (x DutyType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DutyType) Descriptor() protoreflect.EnumDescriptor {
return file_jmash_rbac_protobuf_rbac_role_message_proto_enumTypes[1].Descriptor()
}
func (DutyType) Type() protoreflect.EnumType {
return &file_jmash_rbac_protobuf_rbac_role_message_proto_enumTypes[1]
}
func (x DutyType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DutyType.Descriptor instead.
func (DutyType) EnumDescriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{1}
}
// 角色/职务表查询
type RoleReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,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"`
// 创建人
CreateBy string `protobuf:"bytes,6,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
// 角色编码/职务编码
RoleCode string `protobuf:"bytes,7,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"`
// 角色名称/职务名称
LikeRoleName string `protobuf:"bytes,8,opt,name=like_role_name,json=likeRoleName,proto3" json:"like_role_name,omitempty"`
// 是否包含角色类型
HasRoleType bool `protobuf:"varint,9,opt,name=has_role_type,json=hasRoleType,proto3" json:"has_role_type,omitempty"`
// 角色/职务
RoleType RoleType `protobuf:"varint,10,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"`
// 需要隐藏的角色
ExcludeId string `protobuf:"bytes,11,opt,name=exclude_id,json=excludeId,proto3" json:"exclude_id,omitempty"`
}
func (x *RoleReq) Reset() {
*x = RoleReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleReq) ProtoMessage() {}
func (x *RoleReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleReq.ProtoReflect.Descriptor instead.
func (*RoleReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{0}
}
func (x *RoleReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RoleReq) GetOrderName() string {
if x != nil {
return x.OrderName
}
return ""
}
func (x *RoleReq) GetOrderAsc() bool {
if x != nil {
return x.OrderAsc
}
return false
}
func (x *RoleReq) GetCreateBy() string {
if x != nil {
return x.CreateBy
}
return ""
}
func (x *RoleReq) GetRoleCode() string {
if x != nil {
return x.RoleCode
}
return ""
}
func (x *RoleReq) GetLikeRoleName() string {
if x != nil {
return x.LikeRoleName
}
return ""
}
func (x *RoleReq) GetHasRoleType() bool {
if x != nil {
return x.HasRoleType
}
return false
}
func (x *RoleReq) GetRoleType() RoleType {
if x != nil {
return x.RoleType
}
return RoleType_role
}
func (x *RoleReq) GetExcludeId() string {
if x != nil {
return x.ExcludeId
}
return ""
}
// 角色/职务表实体
type RoleModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 角色ID/职务ID
RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// 角色编码/职务编码
RoleCode string `protobuf:"bytes,2,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"`
// 角色名称/职务名称
RoleName string `protobuf:"bytes,3,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
// 角色/职务
RoleType RoleType `protobuf:"varint,4,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"`
// 父角色
ParentId string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 深度
Depth_ int32 `protobuf:"varint,6,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"`
// 排序
OrderBy int32 `protobuf:"varint,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// 描述
Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
// 创建人
CreateBy string `protobuf:"bytes,9,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
// 创建时间
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// 子角色.
Children []*RoleModel `protobuf:"bytes,11,rep,name=children,proto3" json:"children,omitempty"`
// 角色权限
PermCodes []string `protobuf:"bytes,12,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"`
// 角色互斥
RoleDutyModel []*RoleDutyModel `protobuf:"bytes,13,rep,name=role_duty_model,json=roleDutyModel,proto3" json:"role_duty_model,omitempty"`
}
func (x *RoleModel) Reset() {
*x = RoleModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleModel) ProtoMessage() {}
func (x *RoleModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleModel.ProtoReflect.Descriptor instead.
func (*RoleModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{1}
}
func (x *RoleModel) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
func (x *RoleModel) GetRoleCode() string {
if x != nil {
return x.RoleCode
}
return ""
}
func (x *RoleModel) GetRoleName() string {
if x != nil {
return x.RoleName
}
return ""
}
func (x *RoleModel) GetRoleType() RoleType {
if x != nil {
return x.RoleType
}
return RoleType_role
}
func (x *RoleModel) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *RoleModel) GetDepth_() int32 {
if x != nil {
return x.Depth_
}
return 0
}
func (x *RoleModel) GetOrderBy() int32 {
if x != nil {
return x.OrderBy
}
return 0
}
func (x *RoleModel) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
func (x *RoleModel) GetCreateBy() string {
if x != nil {
return x.CreateBy
}
return ""
}
func (x *RoleModel) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *RoleModel) GetChildren() []*RoleModel {
if x != nil {
return x.Children
}
return nil
}
func (x *RoleModel) GetPermCodes() []string {
if x != nil {
return x.PermCodes
}
return nil
}
func (x *RoleModel) GetRoleDutyModel() []*RoleDutyModel {
if x != nil {
return x.RoleDutyModel
}
return nil
}
// 角色/职务表列表
type RoleList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*RoleModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *RoleList) Reset() {
*x = RoleList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleList) ProtoMessage() {}
func (x *RoleList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleList.ProtoReflect.Descriptor instead.
func (*RoleList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{2}
}
func (x *RoleList) GetResults() []*RoleModel {
if x != nil {
return x.Results
}
return nil
}
// 角色/职务表分页
type RolePage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*RoleModel `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 *RoleModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
// 合计
TotalDto *RoleModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
}
func (x *RolePage) Reset() {
*x = RolePage{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RolePage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RolePage) ProtoMessage() {}
func (x *RolePage) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RolePage.ProtoReflect.Descriptor instead.
func (*RolePage) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{3}
}
func (x *RolePage) GetResults() []*RoleModel {
if x != nil {
return x.Results
}
return nil
}
func (x *RolePage) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *RolePage) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *RolePage) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
func (x *RolePage) GetSubTotalDto() *RoleModelTotal {
if x != nil {
return x.SubTotalDto
}
return nil
}
func (x *RolePage) GetTotalDto() *RoleModelTotal {
if x != nil {
return x.TotalDto
}
return nil
}
// 合计
type RoleModelTotal 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 *RoleModelTotal) Reset() {
*x = RoleModelTotal{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleModelTotal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleModelTotal) ProtoMessage() {}
func (x *RoleModelTotal) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleModelTotal.ProtoReflect.Descriptor instead.
func (*RoleModelTotal) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{4}
}
func (x *RoleModelTotal) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
// 角色/职务Key
type RoleKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
}
func (x *RoleKey) Reset() {
*x = RoleKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleKey) ProtoMessage() {}
func (x *RoleKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleKey.ProtoReflect.Descriptor instead.
func (*RoleKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{5}
}
func (x *RoleKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RoleKey) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
// 角色/职务表List
type RoleKeyList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
RoleId []string `protobuf:"bytes,2,rep,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
}
func (x *RoleKeyList) Reset() {
*x = RoleKeyList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleKeyList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleKeyList) ProtoMessage() {}
func (x *RoleKeyList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleKeyList.ProtoReflect.Descriptor instead.
func (*RoleKeyList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{6}
}
func (x *RoleKeyList) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RoleKeyList) GetRoleId() []string {
if x != nil {
return x.RoleId
}
return nil
}
// 角色/职务表新增实体
type RoleCreateReq 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"`
// 角色编码/职务编码
RoleCode string `protobuf:"bytes,4,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"`
// 角色名称/职务名称
RoleName string `protobuf:"bytes,5,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
// 角色/职务
RoleType RoleType `protobuf:"varint,6,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"`
// 父角色
ParentId string `protobuf:"bytes,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 描述
Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
// 角色权限
PermCodes []string `protobuf:"bytes,9,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"`
// 角色互斥
RoleDuty []*RoleDuty `protobuf:"bytes,10,rep,name=role_duty,json=roleDuty,proto3" json:"role_duty,omitempty"`
}
func (x *RoleCreateReq) Reset() {
*x = RoleCreateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleCreateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleCreateReq) ProtoMessage() {}
func (x *RoleCreateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleCreateReq.ProtoReflect.Descriptor instead.
func (*RoleCreateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{7}
}
func (x *RoleCreateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RoleCreateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *RoleCreateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *RoleCreateReq) GetRoleCode() string {
if x != nil {
return x.RoleCode
}
return ""
}
func (x *RoleCreateReq) GetRoleName() string {
if x != nil {
return x.RoleName
}
return ""
}
func (x *RoleCreateReq) GetRoleType() RoleType {
if x != nil {
return x.RoleType
}
return RoleType_role
}
func (x *RoleCreateReq) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *RoleCreateReq) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
func (x *RoleCreateReq) GetPermCodes() []string {
if x != nil {
return x.PermCodes
}
return nil
}
func (x *RoleCreateReq) GetRoleDuty() []*RoleDuty {
if x != nil {
return x.RoleDuty
}
return nil
}
// 角色/职务表修改实体
type RoleUpdateReq 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"`
// 角色ID/职务ID
RoleId string `protobuf:"bytes,5,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// 角色编码/职务编码
RoleCode string `protobuf:"bytes,6,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"`
// 角色名称/职务名称
RoleName string `protobuf:"bytes,7,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
// 角色/职务
RoleType RoleType `protobuf:"varint,8,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"`
// 父角色
ParentId string `protobuf:"bytes,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 描述
Description_ string `protobuf:"bytes,10,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
// 角色权限
PermCodes []string `protobuf:"bytes,11,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"`
// 角色互斥
RoleDuty []*RoleDuty `protobuf:"bytes,12,rep,name=role_duty,json=roleDuty,proto3" json:"role_duty,omitempty"`
}
func (x *RoleUpdateReq) Reset() {
*x = RoleUpdateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleUpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleUpdateReq) ProtoMessage() {}
func (x *RoleUpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleUpdateReq.ProtoReflect.Descriptor instead.
func (*RoleUpdateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{8}
}
func (x *RoleUpdateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RoleUpdateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *RoleUpdateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *RoleUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
func (x *RoleUpdateReq) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
func (x *RoleUpdateReq) GetRoleCode() string {
if x != nil {
return x.RoleCode
}
return ""
}
func (x *RoleUpdateReq) GetRoleName() string {
if x != nil {
return x.RoleName
}
return ""
}
func (x *RoleUpdateReq) GetRoleType() RoleType {
if x != nil {
return x.RoleType
}
return RoleType_role
}
func (x *RoleUpdateReq) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *RoleUpdateReq) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
func (x *RoleUpdateReq) GetPermCodes() []string {
if x != nil {
return x.PermCodes
}
return nil
}
func (x *RoleUpdateReq) GetRoleDuty() []*RoleDuty {
if x != nil {
return x.RoleDuty
}
return nil
}
// 上移/下移
type RoleMoveKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 角色ID/职务ID
RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// 是否上移
Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"`
}
func (x *RoleMoveKey) Reset() {
*x = RoleMoveKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleMoveKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleMoveKey) ProtoMessage() {}
func (x *RoleMoveKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleMoveKey.ProtoReflect.Descriptor instead.
func (*RoleMoveKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{9}
}
func (x *RoleMoveKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RoleMoveKey) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
func (x *RoleMoveKey) GetUp() bool {
if x != nil {
return x.Up
}
return false
}
// 角色互斥.
type RoleDuty struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 角色ID/职务ID
RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// 职责分离类型
DutyType DutyType `protobuf:"varint,3,opt,name=duty_type,json=dutyType,proto3,enum=jmash.rbac.DutyType" json:"duty_type,omitempty"`
}
func (x *RoleDuty) Reset() {
*x = RoleDuty{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleDuty) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleDuty) ProtoMessage() {}
func (x *RoleDuty) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleDuty.ProtoReflect.Descriptor instead.
func (*RoleDuty) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{10}
}
func (x *RoleDuty) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
func (x *RoleDuty) GetDutyType() DutyType {
if x != nil {
return x.DutyType
}
return DutyType_SSD
}
// 角色互斥.
type RoleDutyModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 角色ID/职务ID
RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// 角色/职务名称
RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
// 职责分离类型
DutyType DutyType `protobuf:"varint,3,opt,name=duty_type,json=dutyType,proto3,enum=jmash.rbac.DutyType" json:"duty_type,omitempty"`
}
func (x *RoleDutyModel) Reset() {
*x = RoleDutyModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RoleDutyModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RoleDutyModel) ProtoMessage() {}
func (x *RoleDutyModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RoleDutyModel.ProtoReflect.Descriptor instead.
func (*RoleDutyModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{11}
}
func (x *RoleDutyModel) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
func (x *RoleDutyModel) GetRoleName() string {
if x != nil {
return x.RoleName
}
return ""
}
func (x *RoleDutyModel) GetDutyType() DutyType {
if x != nil {
return x.DutyType
}
return DutyType_SSD
}
type RolePermReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 角色ID/职务ID
RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// 权限编码
PermCodes []string `protobuf:"bytes,3,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"`
}
func (x *RolePermReq) Reset() {
*x = RolePermReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RolePermReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RolePermReq) ProtoMessage() {}
func (x *RolePermReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 RolePermReq.ProtoReflect.Descriptor instead.
func (*RolePermReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{12}
}
func (x *RolePermReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RolePermReq) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
func (x *RolePermReq) GetPermCodes() []string {
if x != nil {
return x.PermCodes
}
return nil
}
// 校验角色信息
type VerifyRoleReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 角色编码
RoleCode string `protobuf:"bytes,2,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"`
// 新增/更新
AddFlag bool `protobuf:"varint,3,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"`
// 当前角色id
RoleId string `protobuf:"bytes,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
}
func (x *VerifyRoleReq) Reset() {
*x = VerifyRoleReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VerifyRoleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyRoleReq) ProtoMessage() {}
func (x *VerifyRoleReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 VerifyRoleReq.ProtoReflect.Descriptor instead.
func (*VerifyRoleReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{13}
}
func (x *VerifyRoleReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *VerifyRoleReq) GetRoleCode() string {
if x != nil {
return x.RoleCode
}
return ""
}
func (x *VerifyRoleReq) GetAddFlag() bool {
if x != nil {
return x.AddFlag
}
return false
}
func (x *VerifyRoleReq) GetRoleId() string {
if x != nil {
return x.RoleId
}
return ""
}
type DsdRoleListResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RoleList []*RoleModel `protobuf:"bytes,1,rep,name=roleList,proto3" json:"roleList,omitempty"`
}
func (x *DsdRoleListResp) Reset() {
*x = DsdRoleListResp{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DsdRoleListResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DsdRoleListResp) ProtoMessage() {}
func (x *DsdRoleListResp) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_role_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 DsdRoleListResp.ProtoReflect.Descriptor instead.
func (*DsdRoleListResp) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP(), []int{14}
}
func (x *DsdRoleListResp) GetRoleList() []*RoleModel {
if x != nil {
return x.RoleList
}
return nil
}
var File_jmash_rbac_protobuf_rbac_role_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_rbac_role_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, 0x72, 0x6f, 0x6c, 0x65, 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, 0xb3, 0x02, 0x0a, 0x07, 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, 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, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61,
0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x65,
0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x6f,
0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f,
0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x69, 0x6b, 0x65,
0x52, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f,
0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0b, 0x68, 0x61, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x09,
0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f, 0x6c,
0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x64, 0x22, 0xf2,
0x03, 0x0a, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07,
0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x6f,
0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f,
0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
0x31, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e,
0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x54, 0x79,
0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
0x15, 0x0a, 0x06, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
0x62, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42,
0x79, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62,
0x79, 0x18, 0x09, 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, 0x0a, 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, 0x31,
0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f,
0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65,
0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18,
0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73,
0x12, 0x41, 0x0a, 0x0f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x64, 0x75, 0x74, 0x79, 0x5f, 0x6d, 0x6f,
0x64, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6a, 0x6d, 0x61, 0x73,
0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74, 0x79, 0x4d,
0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0d, 0x72, 0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74, 0x79, 0x4d, 0x6f,
0x64, 0x65, 0x6c, 0x22, 0x3b, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 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, 0x52, 0x6f,
0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
0x22, 0x8b, 0x02, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 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, 0x52, 0x6f, 0x6c, 0x65,
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, 0x52, 0x6f, 0x6c, 0x65, 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, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54,
0x6f, 0x74, 0x61, 0x6c, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x74, 0x6f, 0x22, 0x2f,
0x0a, 0x0e, 0x52, 0x6f, 0x6c, 0x65, 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, 0x52, 0x6f, 0x6c, 0x65, 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, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x0b, 0x52,
0x6f, 0x6c, 0x65, 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, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x03, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x22, 0xea, 0x02, 0x0a, 0x0d,
0x52, 0x6f, 0x6c, 0x65, 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, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c,
0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f,
0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72,
0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x72, 0x6f,
0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e,
0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x5f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x5f, 0x63,
0x6f, 0x64, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x6d,
0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x64, 0x75,
0x74, 0x79, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68,
0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74, 0x79, 0x52, 0x08,
0x72, 0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74, 0x79, 0x22, 0xc0, 0x03, 0x0a, 0x0d, 0x52, 0x6f, 0x6c,
0x65, 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, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c,
0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f,
0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x74,
0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73,
0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
0x08, 0x72, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72,
0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x72,
0x6d, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70,
0x65, 0x72, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65,
0x5f, 0x64, 0x75, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6a, 0x6d,
0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74,
0x79, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74, 0x79, 0x22, 0x4e, 0x0a, 0x0b, 0x52,
0x6f, 0x6c, 0x65, 0x4d, 0x6f, 0x76, 0x65, 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, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x75,
0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x75, 0x70, 0x22, 0x56, 0x0a, 0x08, 0x52,
0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64,
0x12, 0x31, 0x0a, 0x09, 0x64, 0x75, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63,
0x2e, 0x44, 0x75, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x75, 0x74, 0x79, 0x54,
0x79, 0x70, 0x65, 0x22, 0x78, 0x0a, 0x0d, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x75, 0x74, 0x79, 0x4d,
0x6f, 0x64, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a,
0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x64, 0x75,
0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e,
0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x44, 0x75, 0x74, 0x79, 0x54,
0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x75, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x5d, 0x0a,
0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 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, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a,
0x0a, 0x70, 0x65, 0x72, 0x6d, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x78, 0x0a, 0x0d,
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 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, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x6f,
0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f,
0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x03,
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x64, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x17, 0x0a,
0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x0f, 0x44, 0x73, 0x64, 0x52, 0x6f, 0x6c,
0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x08, 0x72, 0x6f, 0x6c,
0x65, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d,
0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x6f, 0x64,
0x65, 0x6c, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x2a, 0x35, 0x0a, 0x08,
0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65,
0x10, 0x00, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe8, 0xa7, 0x92, 0xe8, 0x89, 0xb2, 0x12, 0x13,
0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x10, 0x01, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe8, 0x81, 0x8c,
0xe5, 0x8a, 0xa1, 0x2a, 0x4c, 0x0a, 0x08, 0x44, 0x75, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12,
0x1f, 0x0a, 0x03, 0x53, 0x53, 0x44, 0x10, 0x00, 0x1a, 0x16, 0x8a, 0xb5, 0x18, 0x12, 0xe9, 0x9d,
0x99, 0xe6, 0x80, 0x81, 0xe8, 0x81, 0x8c, 0xe8, 0xb4, 0xa3, 0xe5, 0x88, 0x86, 0xe7, 0xa6, 0xbb,
0x12, 0x1f, 0x0a, 0x03, 0x44, 0x53, 0x44, 0x10, 0x01, 0x1a, 0x16, 0x8a, 0xb5, 0x18, 0x12, 0xe5,
0x8a, 0xa8, 0xe6, 0x80, 0x81, 0xe8, 0x81, 0x8c, 0xe8, 0xb4, 0xa3, 0xe5, 0x88, 0x86, 0xe7, 0xa6,
0xbb, 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, 0x52, 0x6f, 0x6c, 0x65, 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_role_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescData = file_jmash_rbac_protobuf_rbac_role_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_rbac_role_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_rbac_role_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
var file_jmash_rbac_protobuf_rbac_role_message_proto_goTypes = []interface{}{
(RoleType)(0), // 0: jmash.rbac.RoleType
(DutyType)(0), // 1: jmash.rbac.DutyType
(*RoleReq)(nil), // 2: jmash.rbac.RoleReq
(*RoleModel)(nil), // 3: jmash.rbac.RoleModel
(*RoleList)(nil), // 4: jmash.rbac.RoleList
(*RolePage)(nil), // 5: jmash.rbac.RolePage
(*RoleModelTotal)(nil), // 6: jmash.rbac.RoleModelTotal
(*RoleKey)(nil), // 7: jmash.rbac.RoleKey
(*RoleKeyList)(nil), // 8: jmash.rbac.RoleKeyList
(*RoleCreateReq)(nil), // 9: jmash.rbac.RoleCreateReq
(*RoleUpdateReq)(nil), // 10: jmash.rbac.RoleUpdateReq
(*RoleMoveKey)(nil), // 11: jmash.rbac.RoleMoveKey
(*RoleDuty)(nil), // 12: jmash.rbac.RoleDuty
(*RoleDutyModel)(nil), // 13: jmash.rbac.RoleDutyModel
(*RolePermReq)(nil), // 14: jmash.rbac.RolePermReq
(*VerifyRoleReq)(nil), // 15: jmash.rbac.VerifyRoleReq
(*DsdRoleListResp)(nil), // 16: jmash.rbac.DsdRoleListResp
(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp
(*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask
}
var file_jmash_rbac_protobuf_rbac_role_message_proto_depIdxs = []int32{
0, // 0: jmash.rbac.RoleReq.role_type:type_name -> jmash.rbac.RoleType
0, // 1: jmash.rbac.RoleModel.role_type:type_name -> jmash.rbac.RoleType
17, // 2: jmash.rbac.RoleModel.create_time:type_name -> google.protobuf.Timestamp
3, // 3: jmash.rbac.RoleModel.children:type_name -> jmash.rbac.RoleModel
13, // 4: jmash.rbac.RoleModel.role_duty_model:type_name -> jmash.rbac.RoleDutyModel
3, // 5: jmash.rbac.RoleList.results:type_name -> jmash.rbac.RoleModel
3, // 6: jmash.rbac.RolePage.results:type_name -> jmash.rbac.RoleModel
6, // 7: jmash.rbac.RolePage.sub_total_dto:type_name -> jmash.rbac.RoleModelTotal
6, // 8: jmash.rbac.RolePage.total_dto:type_name -> jmash.rbac.RoleModelTotal
0, // 9: jmash.rbac.RoleCreateReq.role_type:type_name -> jmash.rbac.RoleType
12, // 10: jmash.rbac.RoleCreateReq.role_duty:type_name -> jmash.rbac.RoleDuty
18, // 11: jmash.rbac.RoleUpdateReq.update_mask:type_name -> google.protobuf.FieldMask
0, // 12: jmash.rbac.RoleUpdateReq.role_type:type_name -> jmash.rbac.RoleType
12, // 13: jmash.rbac.RoleUpdateReq.role_duty:type_name -> jmash.rbac.RoleDuty
1, // 14: jmash.rbac.RoleDuty.duty_type:type_name -> jmash.rbac.DutyType
1, // 15: jmash.rbac.RoleDutyModel.duty_type:type_name -> jmash.rbac.DutyType
3, // 16: jmash.rbac.DsdRoleListResp.roleList:type_name -> jmash.rbac.RoleModel
17, // [17:17] is the sub-list for method output_type
17, // [17:17] is the sub-list for method input_type
17, // [17:17] is the sub-list for extension type_name
17, // [17:17] is the sub-list for extension extendee
0, // [0:17] is the sub-list for field type_name
}
func init() { file_jmash_rbac_protobuf_rbac_role_message_proto_init() }
func file_jmash_rbac_protobuf_rbac_role_message_proto_init() {
if File_jmash_rbac_protobuf_rbac_role_message_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RolePage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleModelTotal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleKeyList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleCreateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleUpdateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleMoveKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleDuty); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoleDutyModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RolePermReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VerifyRoleReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DsdRoleListResp); 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_role_message_proto_rawDesc,
NumEnums: 2,
NumMessages: 15,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_rbac_role_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_rbac_role_message_proto_depIdxs,
EnumInfos: file_jmash_rbac_protobuf_rbac_role_message_proto_enumTypes,
MessageInfos: file_jmash_rbac_protobuf_rbac_role_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_rbac_role_message_proto = out.File
file_jmash_rbac_protobuf_rbac_role_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_rbac_role_message_proto_goTypes = nil
file_jmash_rbac_protobuf_rbac_role_message_proto_depIdxs = nil
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/jmash/rbac.git
git@gitee.com:jmash/rbac.git
jmash
rbac
rbac
70d519264d5b

搜索帮助