代码拉取完成,页面将自动刷新
// 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_resource_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"
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 ResourceType int32
const (
// 目录
ResourceType_catalog ResourceType = 0
// 菜单
ResourceType_menu ResourceType = 1
// 其他
ResourceType_other ResourceType = 2
)
// Enum value maps for ResourceType.
var (
ResourceType_name = map[int32]string{
0: "catalog",
1: "menu",
2: "other",
}
ResourceType_value = map[string]int32{
"catalog": 0,
"menu": 1,
"other": 2,
}
)
func (x ResourceType) Enum() *ResourceType {
p := new(ResourceType)
*p = x
return p
}
func (x ResourceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ResourceType) Descriptor() protoreflect.EnumDescriptor {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_enumTypes[0].Descriptor()
}
func (ResourceType) Type() protoreflect.EnumType {
return &file_jmash_rbac_protobuf_rbac_resource_message_proto_enumTypes[0]
}
func (x ResourceType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) EnumDescriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{0}
}
// 资源表查询
type ResourceReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 获取资源ID及其孩子
ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
// 模块ID
ModuleId string `protobuf:"bytes,5,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
// 资源编码
ResourceCode string `protobuf:"bytes,6,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
// 资源名称
LikeResourceName string `protobuf:"bytes,7,opt,name=like_resource_name,json=likeResourceName,proto3" json:"like_resource_name,omitempty"`
// 资源类型
ResourceType string `protobuf:"bytes,8,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// 父资源ID
ParentId string `protobuf:"bytes,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 是否包含Hidden字段.
HasHidden bool `protobuf:"varint,10,opt,name=has_hidden,json=hasHidden,proto3" json:"has_hidden,omitempty"`
// 是否隐藏
Hidden_ bool `protobuf:"varint,11,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"`
// 需要隐藏的资源
ExcludeId string `protobuf:"bytes,12,opt,name=exclude_id,json=excludeId,proto3" json:"exclude_id,omitempty"`
}
func (x *ResourceReq) Reset() {
*x = ResourceReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceReq) ProtoMessage() {}
func (x *ResourceReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceReq.ProtoReflect.Descriptor instead.
func (*ResourceReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{0}
}
func (x *ResourceReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceReq) GetResourceId() string {
if x != nil {
return x.ResourceId
}
return ""
}
func (x *ResourceReq) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *ResourceReq) GetResourceCode() string {
if x != nil {
return x.ResourceCode
}
return ""
}
func (x *ResourceReq) GetLikeResourceName() string {
if x != nil {
return x.LikeResourceName
}
return ""
}
func (x *ResourceReq) GetResourceType() string {
if x != nil {
return x.ResourceType
}
return ""
}
func (x *ResourceReq) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *ResourceReq) GetHasHidden() bool {
if x != nil {
return x.HasHidden
}
return false
}
func (x *ResourceReq) GetHidden_() bool {
if x != nil {
return x.Hidden_
}
return false
}
func (x *ResourceReq) GetExcludeId() string {
if x != nil {
return x.ExcludeId
}
return ""
}
// 资源表实体
type ResourceModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 资源ID
ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
// 模块ID
ModuleId string `protobuf:"bytes,2,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
// 资源编码
ResourceCode string `protobuf:"bytes,3,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
// 资源名称
ResourceName string `protobuf:"bytes,4,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// 资源类型
ResourceType string `protobuf:"bytes,5,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// 父资源ID
ParentId string `protobuf:"bytes,6,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 深度
Depth_ int32 `protobuf:"varint,7,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"`
// 排序
OrderBy int32 `protobuf:"varint,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// 目标
Target_ string `protobuf:"bytes,9,opt,name=target_,json=target,proto3" json:"target_,omitempty"`
// URL
Url_ string `protobuf:"bytes,10,opt,name=url_,json=url,proto3" json:"url_,omitempty"`
// 是否隐藏
Hidden_ bool `protobuf:"varint,11,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"`
// 孩子资源列表
Children []*ResourceModel `protobuf:"bytes,12,rep,name=children,proto3" json:"children,omitempty"`
// 操作编码列表
OperCodes []string `protobuf:"bytes,13,rep,name=oper_codes,json=operCodes,proto3" json:"oper_codes,omitempty"`
// 模块名称
ModuleName string `protobuf:"bytes,14,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
// 图标
Icon_ string `protobuf:"bytes,15,opt,name=icon_,json=icon,proto3" json:"icon_,omitempty"`
}
func (x *ResourceModel) Reset() {
*x = ResourceModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceModel) ProtoMessage() {}
func (x *ResourceModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceModel.ProtoReflect.Descriptor instead.
func (*ResourceModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{1}
}
func (x *ResourceModel) GetResourceId() string {
if x != nil {
return x.ResourceId
}
return ""
}
func (x *ResourceModel) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *ResourceModel) GetResourceCode() string {
if x != nil {
return x.ResourceCode
}
return ""
}
func (x *ResourceModel) GetResourceName() string {
if x != nil {
return x.ResourceName
}
return ""
}
func (x *ResourceModel) GetResourceType() string {
if x != nil {
return x.ResourceType
}
return ""
}
func (x *ResourceModel) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *ResourceModel) GetDepth_() int32 {
if x != nil {
return x.Depth_
}
return 0
}
func (x *ResourceModel) GetOrderBy() int32 {
if x != nil {
return x.OrderBy
}
return 0
}
func (x *ResourceModel) GetTarget_() string {
if x != nil {
return x.Target_
}
return ""
}
func (x *ResourceModel) GetUrl_() string {
if x != nil {
return x.Url_
}
return ""
}
func (x *ResourceModel) GetHidden_() bool {
if x != nil {
return x.Hidden_
}
return false
}
func (x *ResourceModel) GetChildren() []*ResourceModel {
if x != nil {
return x.Children
}
return nil
}
func (x *ResourceModel) GetOperCodes() []string {
if x != nil {
return x.OperCodes
}
return nil
}
func (x *ResourceModel) GetModuleName() string {
if x != nil {
return x.ModuleName
}
return ""
}
func (x *ResourceModel) GetIcon_() string {
if x != nil {
return x.Icon_
}
return ""
}
// 资源表列表
type ResourceList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*ResourceModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *ResourceList) Reset() {
*x = ResourceList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceList) ProtoMessage() {}
func (x *ResourceList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceList.ProtoReflect.Descriptor instead.
func (*ResourceList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{2}
}
func (x *ResourceList) GetResults() []*ResourceModel {
if x != nil {
return x.Results
}
return nil
}
// 资源表分页
type ResourcePage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*ResourceModel `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 *ResourceModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
// 合计
TotalDto *ResourceModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
}
func (x *ResourcePage) Reset() {
*x = ResourcePage{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourcePage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourcePage) ProtoMessage() {}
func (x *ResourcePage) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourcePage.ProtoReflect.Descriptor instead.
func (*ResourcePage) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{3}
}
func (x *ResourcePage) GetResults() []*ResourceModel {
if x != nil {
return x.Results
}
return nil
}
func (x *ResourcePage) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *ResourcePage) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ResourcePage) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
func (x *ResourcePage) GetSubTotalDto() *ResourceModelTotal {
if x != nil {
return x.SubTotalDto
}
return nil
}
func (x *ResourcePage) GetTotalDto() *ResourceModelTotal {
if x != nil {
return x.TotalDto
}
return nil
}
// 合计
type ResourceModelTotal 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 *ResourceModelTotal) Reset() {
*x = ResourceModelTotal{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceModelTotal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceModelTotal) ProtoMessage() {}
func (x *ResourceModelTotal) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceModelTotal.ProtoReflect.Descriptor instead.
func (*ResourceModelTotal) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{4}
}
func (x *ResourceModelTotal) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
// 资源表List
type ResourceKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
}
func (x *ResourceKey) Reset() {
*x = ResourceKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceKey) ProtoMessage() {}
func (x *ResourceKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceKey.ProtoReflect.Descriptor instead.
func (*ResourceKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{5}
}
func (x *ResourceKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceKey) GetResourceId() string {
if x != nil {
return x.ResourceId
}
return ""
}
// 资源表List
type ResourceKeyList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
ResourceId []string `protobuf:"bytes,2,rep,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
}
func (x *ResourceKeyList) Reset() {
*x = ResourceKeyList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceKeyList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceKeyList) ProtoMessage() {}
func (x *ResourceKeyList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceKeyList.ProtoReflect.Descriptor instead.
func (*ResourceKeyList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{6}
}
func (x *ResourceKeyList) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceKeyList) GetResourceId() []string {
if x != nil {
return x.ResourceId
}
return nil
}
// 资源表新增实体
type ResourceCreateReq 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
ModuleId string `protobuf:"bytes,4,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
// 资源编码
ResourceCode string `protobuf:"bytes,5,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
// 资源名称
ResourceName string `protobuf:"bytes,6,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// 资源类型
ResourceType ResourceType `protobuf:"varint,7,opt,name=resource_type,json=resourceType,proto3,enum=jmash.rbac.ResourceType" json:"resource_type,omitempty"`
// 父资源ID
ParentId string `protobuf:"bytes,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 目标
Target_ string `protobuf:"bytes,9,opt,name=target_,json=target,proto3" json:"target_,omitempty"`
// URL
Url_ string `protobuf:"bytes,10,opt,name=url_,json=url,proto3" json:"url_,omitempty"`
// 是否隐藏
Hidden_ bool `protobuf:"varint,11,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"`
// 图标
Icon_ string `protobuf:"bytes,12,opt,name=icon_,json=icon,proto3" json:"icon_,omitempty"`
// 操作ID列表
OperCodes []string `protobuf:"bytes,13,rep,name=oper_codes,json=operCodes,proto3" json:"oper_codes,omitempty"`
}
func (x *ResourceCreateReq) Reset() {
*x = ResourceCreateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceCreateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceCreateReq) ProtoMessage() {}
func (x *ResourceCreateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceCreateReq.ProtoReflect.Descriptor instead.
func (*ResourceCreateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{7}
}
func (x *ResourceCreateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceCreateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *ResourceCreateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *ResourceCreateReq) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *ResourceCreateReq) GetResourceCode() string {
if x != nil {
return x.ResourceCode
}
return ""
}
func (x *ResourceCreateReq) GetResourceName() string {
if x != nil {
return x.ResourceName
}
return ""
}
func (x *ResourceCreateReq) GetResourceType() ResourceType {
if x != nil {
return x.ResourceType
}
return ResourceType_catalog
}
func (x *ResourceCreateReq) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *ResourceCreateReq) GetTarget_() string {
if x != nil {
return x.Target_
}
return ""
}
func (x *ResourceCreateReq) GetUrl_() string {
if x != nil {
return x.Url_
}
return ""
}
func (x *ResourceCreateReq) GetHidden_() bool {
if x != nil {
return x.Hidden_
}
return false
}
func (x *ResourceCreateReq) GetIcon_() string {
if x != nil {
return x.Icon_
}
return ""
}
func (x *ResourceCreateReq) GetOperCodes() []string {
if x != nil {
return x.OperCodes
}
return nil
}
// 资源表修改实体
type ResourceUpdateReq 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
ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
// 模块ID
ModuleId string `protobuf:"bytes,6,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
// 资源编码
ResourceCode string `protobuf:"bytes,7,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
// 资源名称
ResourceName string `protobuf:"bytes,8,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// 资源类型
ResourceType ResourceType `protobuf:"varint,9,opt,name=resource_type,json=resourceType,proto3,enum=jmash.rbac.ResourceType" json:"resource_type,omitempty"`
// 父资源ID
ParentId string `protobuf:"bytes,10,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 目标
Target_ string `protobuf:"bytes,11,opt,name=target_,json=target,proto3" json:"target_,omitempty"`
// URL
Url_ string `protobuf:"bytes,12,opt,name=url_,json=url,proto3" json:"url_,omitempty"`
// 是否隐藏
Hidden_ bool `protobuf:"varint,13,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"`
// 图标
Icon_ string `protobuf:"bytes,14,opt,name=icon_,json=icon,proto3" json:"icon_,omitempty"`
// 操作ID列表
OperCodes []string `protobuf:"bytes,15,rep,name=oper_codes,json=operCodes,proto3" json:"oper_codes,omitempty"`
}
func (x *ResourceUpdateReq) Reset() {
*x = ResourceUpdateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceUpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceUpdateReq) ProtoMessage() {}
func (x *ResourceUpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceUpdateReq.ProtoReflect.Descriptor instead.
func (*ResourceUpdateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{8}
}
func (x *ResourceUpdateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceUpdateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *ResourceUpdateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *ResourceUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
func (x *ResourceUpdateReq) GetResourceId() string {
if x != nil {
return x.ResourceId
}
return ""
}
func (x *ResourceUpdateReq) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *ResourceUpdateReq) GetResourceCode() string {
if x != nil {
return x.ResourceCode
}
return ""
}
func (x *ResourceUpdateReq) GetResourceName() string {
if x != nil {
return x.ResourceName
}
return ""
}
func (x *ResourceUpdateReq) GetResourceType() ResourceType {
if x != nil {
return x.ResourceType
}
return ResourceType_catalog
}
func (x *ResourceUpdateReq) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *ResourceUpdateReq) GetTarget_() string {
if x != nil {
return x.Target_
}
return ""
}
func (x *ResourceUpdateReq) GetUrl_() string {
if x != nil {
return x.Url_
}
return ""
}
func (x *ResourceUpdateReq) GetHidden_() bool {
if x != nil {
return x.Hidden_
}
return false
}
func (x *ResourceUpdateReq) GetIcon_() string {
if x != nil {
return x.Icon_
}
return ""
}
func (x *ResourceUpdateReq) GetOperCodes() []string {
if x != nil {
return x.OperCodes
}
return nil
}
type ResourceExportReq 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"`
// 资源ID
ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
// 筛选条件
Req *ResourceReq `protobuf:"bytes,6,opt,name=req,proto3" json:"req,omitempty"`
}
func (x *ResourceExportReq) Reset() {
*x = ResourceExportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceExportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceExportReq) ProtoMessage() {}
func (x *ResourceExportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceExportReq.ProtoReflect.Descriptor instead.
func (*ResourceExportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{9}
}
func (x *ResourceExportReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceExportReq) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *ResourceExportReq) GetTableHeads() []*basic.TableHead {
if x != nil {
return x.TableHeads
}
return nil
}
func (x *ResourceExportReq) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *ResourceExportReq) GetResourceId() string {
if x != nil {
return x.ResourceId
}
return ""
}
func (x *ResourceExportReq) GetReq() *ResourceReq {
if x != nil {
return x.Req
}
return nil
}
// 资源导入请求
type ResourceImportReq 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 *ResourceImportReq) Reset() {
*x = ResourceImportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceImportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceImportReq) ProtoMessage() {}
func (x *ResourceImportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceImportReq.ProtoReflect.Descriptor instead.
func (*ResourceImportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{10}
}
func (x *ResourceImportReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceImportReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *ResourceImportReq) GetFileNames() string {
if x != nil {
return x.FileNames
}
return ""
}
func (x *ResourceImportReq) GetAddFlag() bool {
if x != nil {
return x.AddFlag
}
return false
}
func (x *ResourceImportReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
// 校验资源信息
type VerifyResourceReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 资源路径
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
}
func (x *VerifyResourceReq) Reset() {
*x = VerifyResourceReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VerifyResourceReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyResourceReq) ProtoMessage() {}
func (x *VerifyResourceReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 VerifyResourceReq.ProtoReflect.Descriptor instead.
func (*VerifyResourceReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{11}
}
func (x *VerifyResourceReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *VerifyResourceReq) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
type ResourceMoveKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 资源ID
ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
// 移动方式
Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"`
}
func (x *ResourceMoveKey) Reset() {
*x = ResourceMoveKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceMoveKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceMoveKey) ProtoMessage() {}
func (x *ResourceMoveKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_resource_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 ResourceMoveKey.ProtoReflect.Descriptor instead.
func (*ResourceMoveKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP(), []int{12}
}
func (x *ResourceMoveKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ResourceMoveKey) GetResourceId() string {
if x != nil {
return x.ResourceId
}
return ""
}
func (x *ResourceMoveKey) GetUp() bool {
if x != nil {
return x.Up
}
return false
}
var File_jmash_rbac_protobuf_rbac_resource_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDesc = []byte{
0x0a, 0x2f, 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, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 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, 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, 0xcf, 0x02, 0x0a, 0x0b,
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69,
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49,
0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f,
0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x72,
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 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, 0x1d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x5f, 0x68, 0x69,
0x64, 0x64, 0x65, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x68, 0x61, 0x73, 0x48,
0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x1d,
0x0a, 0x0a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x64, 0x22, 0xdc, 0x03,
0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64,
0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a,
0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f,
0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09,
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 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, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68,
0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x08, 0x20, 0x01,
0x28, 0x05, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74,
0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61,
0x72, 0x67, 0x65, 0x74, 0x12, 0x11, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x5f, 0x18, 0x0a, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x69, 0x64, 0x64, 0x65,
0x6e, 0x5f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e,
0x12, 0x35, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e,
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x08, 0x63,
0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x5f,
0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65,
0x72, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64,
0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x0a, 0x05, 0x69, 0x63, 0x6f, 0x6e, 0x5f,
0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x0c,
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x07,
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,
0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x73, 0x22, 0x9b, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61,
0x67, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63,
0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x42,
0x0a, 0x0d, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f, 0x18,
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62,
0x61, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x3b, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f, 0x18,
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62,
0x61, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x74, 0x6f, 0x22,
0x33, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x46, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x1f, 0x0a, 0x0b, 0x72,
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x22, 0x4a, 0x0a, 0x0f,
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x22, 0xab, 0x03, 0x0a, 0x11, 0x52, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 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, 0x6d, 0x6f,
0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d,
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79,
0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68,
0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79,
0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65,
0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a,
0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x11, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x5f, 0x18, 0x0a,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x69, 0x64,
0x64, 0x65, 0x6e, 0x5f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64,
0x65, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x18, 0x0c, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x5f,
0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65,
0x72, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x89, 0x04, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 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, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a,
0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61,
0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c,
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09,
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x72,
0x67, 0x65, 0x74, 0x5f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67,
0x65, 0x74, 0x12, 0x11, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x5f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f,
0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x13,
0x0a, 0x05, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69,
0x63, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65,
0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x43, 0x6f, 0x64,
0x65, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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,
0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64,
0x12, 0x29, 0x0a, 0x03, 0x72, 0x65, 0x71, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x52, 0x03, 0x72, 0x65, 0x71, 0x22, 0xc1, 0x01, 0x0a, 0x11,
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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,
0x3d, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
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, 0x10, 0x0a, 0x03,
0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x5a,
0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x75, 0x70,
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x75, 0x70, 0x2a, 0x54, 0x0a, 0x0c, 0x52, 0x65,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61,
0x74, 0x61, 0x6c, 0x6f, 0x67, 0x10, 0x00, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe7, 0x9b, 0xae,
0xe5, 0xbd, 0x95, 0x12, 0x14, 0x0a, 0x04, 0x6d, 0x65, 0x6e, 0x75, 0x10, 0x01, 0x1a, 0x0a, 0x8a,
0xb5, 0x18, 0x06, 0xe8, 0x8f, 0x9c, 0xe5, 0x8d, 0x95, 0x12, 0x15, 0x0a, 0x05, 0x6f, 0x74, 0x68,
0x65, 0x72, 0x10, 0x02, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe5, 0x85, 0xb6, 0xe4, 0xbb, 0x96,
0x42, 0x37, 0x0a, 0x13, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
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_resource_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescData = file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_rbac_resource_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_jmash_rbac_protobuf_rbac_resource_message_proto_goTypes = []interface{}{
(ResourceType)(0), // 0: jmash.rbac.ResourceType
(*ResourceReq)(nil), // 1: jmash.rbac.ResourceReq
(*ResourceModel)(nil), // 2: jmash.rbac.ResourceModel
(*ResourceList)(nil), // 3: jmash.rbac.ResourceList
(*ResourcePage)(nil), // 4: jmash.rbac.ResourcePage
(*ResourceModelTotal)(nil), // 5: jmash.rbac.ResourceModelTotal
(*ResourceKey)(nil), // 6: jmash.rbac.ResourceKey
(*ResourceKeyList)(nil), // 7: jmash.rbac.ResourceKeyList
(*ResourceCreateReq)(nil), // 8: jmash.rbac.ResourceCreateReq
(*ResourceUpdateReq)(nil), // 9: jmash.rbac.ResourceUpdateReq
(*ResourceExportReq)(nil), // 10: jmash.rbac.ResourceExportReq
(*ResourceImportReq)(nil), // 11: jmash.rbac.ResourceImportReq
(*VerifyResourceReq)(nil), // 12: jmash.rbac.VerifyResourceReq
(*ResourceMoveKey)(nil), // 13: jmash.rbac.ResourceMoveKey
(*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask
(*basic.TableHead)(nil), // 15: jmash.protobuf.TableHead
}
var file_jmash_rbac_protobuf_rbac_resource_message_proto_depIdxs = []int32{
2, // 0: jmash.rbac.ResourceModel.children:type_name -> jmash.rbac.ResourceModel
2, // 1: jmash.rbac.ResourceList.results:type_name -> jmash.rbac.ResourceModel
2, // 2: jmash.rbac.ResourcePage.results:type_name -> jmash.rbac.ResourceModel
5, // 3: jmash.rbac.ResourcePage.sub_total_dto:type_name -> jmash.rbac.ResourceModelTotal
5, // 4: jmash.rbac.ResourcePage.total_dto:type_name -> jmash.rbac.ResourceModelTotal
0, // 5: jmash.rbac.ResourceCreateReq.resource_type:type_name -> jmash.rbac.ResourceType
14, // 6: jmash.rbac.ResourceUpdateReq.update_mask:type_name -> google.protobuf.FieldMask
0, // 7: jmash.rbac.ResourceUpdateReq.resource_type:type_name -> jmash.rbac.ResourceType
15, // 8: jmash.rbac.ResourceExportReq.table_heads:type_name -> jmash.protobuf.TableHead
1, // 9: jmash.rbac.ResourceExportReq.req:type_name -> jmash.rbac.ResourceReq
14, // 10: jmash.rbac.ResourceImportReq.update_mask:type_name -> google.protobuf.FieldMask
11, // [11:11] is the sub-list for method output_type
11, // [11:11] is the sub-list for method input_type
11, // [11:11] is the sub-list for extension type_name
11, // [11:11] is the sub-list for extension extendee
0, // [0:11] is the sub-list for field type_name
}
func init() { file_jmash_rbac_protobuf_rbac_resource_message_proto_init() }
func file_jmash_rbac_protobuf_rbac_resource_message_proto_init() {
if File_jmash_rbac_protobuf_rbac_resource_message_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourcePage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceModelTotal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceKeyList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceCreateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceUpdateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceExportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceImportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VerifyResourceReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceMoveKey); 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_resource_message_proto_rawDesc,
NumEnums: 1,
NumMessages: 13,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_rbac_resource_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_rbac_resource_message_proto_depIdxs,
EnumInfos: file_jmash_rbac_protobuf_rbac_resource_message_proto_enumTypes,
MessageInfos: file_jmash_rbac_protobuf_rbac_resource_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_rbac_resource_message_proto = out.File
file_jmash_rbac_protobuf_rbac_resource_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_rbac_resource_message_proto_goTypes = nil
file_jmash_rbac_protobuf_rbac_resource_message_proto_depIdxs = nil
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。