// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v4.25.0 // source: proto/admin_role_service.proto package authorization_service import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 CreateAdminRoleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Users []int64 `protobuf:"varint,3,rep,packed,name=users,proto3" json:"users,omitempty"` Permissions []int64 `protobuf:"varint,4,rep,packed,name=permissions,proto3" json:"permissions,omitempty"` } func (x *CreateAdminRoleRequest) Reset() { *x = CreateAdminRoleRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateAdminRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateAdminRoleRequest) ProtoMessage() {} func (x *CreateAdminRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 CreateAdminRoleRequest.ProtoReflect.Descriptor instead. func (*CreateAdminRoleRequest) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{0} } func (x *CreateAdminRoleRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateAdminRoleRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *CreateAdminRoleRequest) GetUsers() []int64 { if x != nil { return x.Users } return nil } func (x *CreateAdminRoleRequest) GetPermissions() []int64 { if x != nil { return x.Permissions } return nil } type CreateAdminRoleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *CreateAdminRoleResponse) Reset() { *x = CreateAdminRoleResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateAdminRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateAdminRoleResponse) ProtoMessage() {} func (x *CreateAdminRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 CreateAdminRoleResponse.ProtoReflect.Descriptor instead. func (*CreateAdminRoleResponse) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{1} } // ------------ 查询角色 ------------ type ListAdminRolesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` Status StatusEnum `protobuf:"varint,4,opt,name=status,proto3,enum=base_service.StatusEnum" json:"status,omitempty"` } func (x *ListAdminRolesRequest) Reset() { *x = ListAdminRolesRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListAdminRolesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAdminRolesRequest) ProtoMessage() {} func (x *ListAdminRolesRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 ListAdminRolesRequest.ProtoReflect.Descriptor instead. func (*ListAdminRolesRequest) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{2} } func (x *ListAdminRolesRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ListAdminRolesRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListAdminRolesRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *ListAdminRolesRequest) GetStatus() StatusEnum { if x != nil { return x.Status } return StatusEnum_UNKNOWN } type ListAdminRolesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []*AdminRole `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` } func (x *ListAdminRolesResponse) Reset() { *x = ListAdminRolesResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListAdminRolesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAdminRolesResponse) ProtoMessage() {} func (x *ListAdminRolesResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 ListAdminRolesResponse.ProtoReflect.Descriptor instead. func (*ListAdminRolesResponse) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{3} } func (x *ListAdminRolesResponse) GetItems() []*AdminRole { if x != nil { return x.Items } return nil } func (x *ListAdminRolesResponse) GetTotalCount() int64 { if x != nil { return x.TotalCount } return 0 } // ------------ 更新角色信息 ------------ type UpdateAdminRoleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RoleId int64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Users []int64 `protobuf:"varint,4,rep,packed,name=users,proto3" json:"users,omitempty"` Permissions []int64 `protobuf:"varint,5,rep,packed,name=permissions,proto3" json:"permissions,omitempty"` } func (x *UpdateAdminRoleRequest) Reset() { *x = UpdateAdminRoleRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateAdminRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateAdminRoleRequest) ProtoMessage() {} func (x *UpdateAdminRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 UpdateAdminRoleRequest.ProtoReflect.Descriptor instead. func (*UpdateAdminRoleRequest) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{4} } func (x *UpdateAdminRoleRequest) GetRoleId() int64 { if x != nil { return x.RoleId } return 0 } func (x *UpdateAdminRoleRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *UpdateAdminRoleRequest) GetUsers() []int64 { if x != nil { return x.Users } return nil } func (x *UpdateAdminRoleRequest) GetPermissions() []int64 { if x != nil { return x.Permissions } return nil } type UpdateAdminRoleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *UpdateAdminRoleResponse) Reset() { *x = UpdateAdminRoleResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateAdminRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateAdminRoleResponse) ProtoMessage() {} func (x *UpdateAdminRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 UpdateAdminRoleResponse.ProtoReflect.Descriptor instead. func (*UpdateAdminRoleResponse) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{5} } // ------------ 删除角色 ------------ type DeleteAdminRoleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *DeleteAdminRoleRequest) Reset() { *x = DeleteAdminRoleRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteAdminRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteAdminRoleRequest) ProtoMessage() {} func (x *DeleteAdminRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 DeleteAdminRoleRequest.ProtoReflect.Descriptor instead. func (*DeleteAdminRoleRequest) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{6} } func (x *DeleteAdminRoleRequest) GetId() int64 { if x != nil { return x.Id } return 0 } type DeleteAdminRoleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *DeleteAdminRoleResponse) Reset() { *x = DeleteAdminRoleResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteAdminRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteAdminRoleResponse) ProtoMessage() {} func (x *DeleteAdminRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 DeleteAdminRoleResponse.ProtoReflect.Descriptor instead. func (*DeleteAdminRoleResponse) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{7} } // ------------ 获取角色详情 ------------ type GetAdminRoleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *GetAdminRoleRequest) Reset() { *x = GetAdminRoleRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminRoleRequest) ProtoMessage() {} func (x *GetAdminRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 GetAdminRoleRequest.ProtoReflect.Descriptor instead. func (*GetAdminRoleRequest) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{8} } func (x *GetAdminRoleRequest) GetId() int64 { if x != nil { return x.Id } return 0 } type GetAdminRoleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Role *AdminRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` } func (x *GetAdminRoleResponse) Reset() { *x = GetAdminRoleResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminRoleResponse) ProtoMessage() {} func (x *GetAdminRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 GetAdminRoleResponse.ProtoReflect.Descriptor instead. func (*GetAdminRoleResponse) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{9} } func (x *GetAdminRoleResponse) GetRole() *AdminRole { if x != nil { return x.Role } return nil } // ------------ 启用禁用角色 ------------ // // ToggleAdminRoleRequest type ToggleAdminRoleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RoleId int64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Status StatusEnum `protobuf:"varint,2,opt,name=status,proto3,enum=base_service.StatusEnum" json:"status,omitempty"` } func (x *ToggleAdminRoleRequest) Reset() { *x = ToggleAdminRoleRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ToggleAdminRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ToggleAdminRoleRequest) ProtoMessage() {} func (x *ToggleAdminRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 ToggleAdminRoleRequest.ProtoReflect.Descriptor instead. func (*ToggleAdminRoleRequest) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{10} } func (x *ToggleAdminRoleRequest) GetRoleId() int64 { if x != nil { return x.RoleId } return 0 } func (x *ToggleAdminRoleRequest) GetStatus() StatusEnum { if x != nil { return x.Status } return StatusEnum_UNKNOWN } type ToggleAdminRoleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *ToggleAdminRoleResponse) Reset() { *x = ToggleAdminRoleResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ToggleAdminRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ToggleAdminRoleResponse) ProtoMessage() {} func (x *ToggleAdminRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 ToggleAdminRoleResponse.ProtoReflect.Descriptor instead. func (*ToggleAdminRoleResponse) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{11} } // ------------ 获取所有启用角色 ------------ type RetrieveEnabledRolesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *RetrieveEnabledRolesRequest) Reset() { *x = RetrieveEnabledRolesRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RetrieveEnabledRolesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RetrieveEnabledRolesRequest) ProtoMessage() {} func (x *RetrieveEnabledRolesRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 RetrieveEnabledRolesRequest.ProtoReflect.Descriptor instead. func (*RetrieveEnabledRolesRequest) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{12} } type RetrieveEnabledRolesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Roles []*AdminRole `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` } func (x *RetrieveEnabledRolesResponse) Reset() { *x = RetrieveEnabledRolesResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_admin_role_service_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RetrieveEnabledRolesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RetrieveEnabledRolesResponse) ProtoMessage() {} func (x *RetrieveEnabledRolesResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_admin_role_service_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 RetrieveEnabledRolesResponse.ProtoReflect.Descriptor instead. func (*RetrieveEnabledRolesResponse) Descriptor() ([]byte, []int) { return file_proto_admin_role_service_proto_rawDescGZIP(), []int{13} } func (x *RetrieveEnabledRolesResponse) GetRoles() []*AdminRole { if x != nil { return x.Roles } return nil } var File_proto_admin_role_service_proto protoreflect.FileDescriptor var file_proto_admin_role_service_proto_rawDesc = []byte{ 0x0a, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x68, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x43, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x63, 0x0a, 0x16, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a, 0x1c, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x89, 0x06, 0x0a, 0x10, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x27, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x0f, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x14, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1f, 0x5a, 0x1d, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_proto_admin_role_service_proto_rawDescOnce sync.Once file_proto_admin_role_service_proto_rawDescData = file_proto_admin_role_service_proto_rawDesc ) func file_proto_admin_role_service_proto_rawDescGZIP() []byte { file_proto_admin_role_service_proto_rawDescOnce.Do(func() { file_proto_admin_role_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_admin_role_service_proto_rawDescData) }) return file_proto_admin_role_service_proto_rawDescData } var file_proto_admin_role_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_proto_admin_role_service_proto_goTypes = []interface{}{ (*CreateAdminRoleRequest)(nil), // 0: admin_role_service.CreateAdminRoleRequest (*CreateAdminRoleResponse)(nil), // 1: admin_role_service.CreateAdminRoleResponse (*ListAdminRolesRequest)(nil), // 2: admin_role_service.ListAdminRolesRequest (*ListAdminRolesResponse)(nil), // 3: admin_role_service.ListAdminRolesResponse (*UpdateAdminRoleRequest)(nil), // 4: admin_role_service.UpdateAdminRoleRequest (*UpdateAdminRoleResponse)(nil), // 5: admin_role_service.UpdateAdminRoleResponse (*DeleteAdminRoleRequest)(nil), // 6: admin_role_service.DeleteAdminRoleRequest (*DeleteAdminRoleResponse)(nil), // 7: admin_role_service.DeleteAdminRoleResponse (*GetAdminRoleRequest)(nil), // 8: admin_role_service.GetAdminRoleRequest (*GetAdminRoleResponse)(nil), // 9: admin_role_service.GetAdminRoleResponse (*ToggleAdminRoleRequest)(nil), // 10: admin_role_service.ToggleAdminRoleRequest (*ToggleAdminRoleResponse)(nil), // 11: admin_role_service.ToggleAdminRoleResponse (*RetrieveEnabledRolesRequest)(nil), // 12: admin_role_service.RetrieveEnabledRolesRequest (*RetrieveEnabledRolesResponse)(nil), // 13: admin_role_service.RetrieveEnabledRolesResponse (StatusEnum)(0), // 14: base_service.StatusEnum (*AdminRole)(nil), // 15: base_service.AdminRole } var file_proto_admin_role_service_proto_depIdxs = []int32{ 14, // 0: admin_role_service.ListAdminRolesRequest.status:type_name -> base_service.StatusEnum 15, // 1: admin_role_service.ListAdminRolesResponse.items:type_name -> base_service.AdminRole 15, // 2: admin_role_service.GetAdminRoleResponse.role:type_name -> base_service.AdminRole 14, // 3: admin_role_service.ToggleAdminRoleRequest.status:type_name -> base_service.StatusEnum 15, // 4: admin_role_service.RetrieveEnabledRolesResponse.roles:type_name -> base_service.AdminRole 0, // 5: admin_role_service.AdminRoleService.CreateAdminRole:input_type -> admin_role_service.CreateAdminRoleRequest 2, // 6: admin_role_service.AdminRoleService.ListAdminRoles:input_type -> admin_role_service.ListAdminRolesRequest 4, // 7: admin_role_service.AdminRoleService.UpdateAdminRole:input_type -> admin_role_service.UpdateAdminRoleRequest 6, // 8: admin_role_service.AdminRoleService.DeleteAdminRole:input_type -> admin_role_service.DeleteAdminRoleRequest 8, // 9: admin_role_service.AdminRoleService.GetAdminRole:input_type -> admin_role_service.GetAdminRoleRequest 10, // 10: admin_role_service.AdminRoleService.ToggleAdminRole:input_type -> admin_role_service.ToggleAdminRoleRequest 12, // 11: admin_role_service.AdminRoleService.RetrieveEnabledRoles:input_type -> admin_role_service.RetrieveEnabledRolesRequest 1, // 12: admin_role_service.AdminRoleService.CreateAdminRole:output_type -> admin_role_service.CreateAdminRoleResponse 3, // 13: admin_role_service.AdminRoleService.ListAdminRoles:output_type -> admin_role_service.ListAdminRolesResponse 5, // 14: admin_role_service.AdminRoleService.UpdateAdminRole:output_type -> admin_role_service.UpdateAdminRoleResponse 7, // 15: admin_role_service.AdminRoleService.DeleteAdminRole:output_type -> admin_role_service.DeleteAdminRoleResponse 9, // 16: admin_role_service.AdminRoleService.GetAdminRole:output_type -> admin_role_service.GetAdminRoleResponse 11, // 17: admin_role_service.AdminRoleService.ToggleAdminRole:output_type -> admin_role_service.ToggleAdminRoleResponse 13, // 18: admin_role_service.AdminRoleService.RetrieveEnabledRoles:output_type -> admin_role_service.RetrieveEnabledRolesResponse 12, // [12:19] is the sub-list for method output_type 5, // [5:12] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name } func init() { file_proto_admin_role_service_proto_init() } func file_proto_admin_role_service_proto_init() { if File_proto_admin_role_service_proto != nil { return } file_proto_base_service_proto_init() if !protoimpl.UnsafeEnabled { file_proto_admin_role_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateAdminRoleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateAdminRoleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAdminRolesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAdminRolesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateAdminRoleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateAdminRoleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteAdminRoleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteAdminRoleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminRoleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminRoleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ToggleAdminRoleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ToggleAdminRoleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RetrieveEnabledRolesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_admin_role_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RetrieveEnabledRolesResponse); 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_proto_admin_role_service_proto_rawDesc, NumEnums: 0, NumMessages: 14, NumExtensions: 0, NumServices: 1, }, GoTypes: file_proto_admin_role_service_proto_goTypes, DependencyIndexes: file_proto_admin_role_service_proto_depIdxs, MessageInfos: file_proto_admin_role_service_proto_msgTypes, }.Build() File_proto_admin_role_service_proto = out.File file_proto_admin_role_service_proto_rawDesc = nil file_proto_admin_role_service_proto_goTypes = nil file_proto_admin_role_service_proto_depIdxs = nil }