913 lines
		
	
	
		
			29 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			913 lines
		
	
	
		
			29 KiB
		
	
	
	
		
			Go
		
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | |
| // versions:
 | |
| // 	protoc-gen-go v1.36.8
 | |
| // 	protoc        (unknown)
 | |
| // source: disk.proto
 | |
| 
 | |
| package cloud
 | |
| 
 | |
| import (
 | |
| 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 | |
| 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 | |
| 	reflect "reflect"
 | |
| 	sync "sync"
 | |
| 	unsafe "unsafe"
 | |
| )
 | |
| 
 | |
| 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 CreateDirRequest struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	CloudId       uint64                 `protobuf:"varint,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"`
 | |
| 	CloudIdentity string                 `protobuf:"bytes,2,opt,name=cloud_identity,json=cloudIdentity,proto3" json:"cloud_identity,omitempty"`
 | |
| 	ParentId      uint64                 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 支持嵌套目录
 | |
| 	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                          // 目录名称
 | |
| 	Path          string                 `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`                          // 完整路径
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *CreateDirRequest) Reset() {
 | |
| 	*x = CreateDirRequest{}
 | |
| 	mi := &file_disk_proto_msgTypes[0]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *CreateDirRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*CreateDirRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *CreateDirRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[0]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use CreateDirRequest.ProtoReflect.Descriptor instead.
 | |
| func (*CreateDirRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{0}
 | |
| }
 | |
| 
 | |
| func (x *CreateDirRequest) GetCloudId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.CloudId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CreateDirRequest) GetCloudIdentity() string {
 | |
| 	if x != nil {
 | |
| 		return x.CloudIdentity
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CreateDirRequest) GetParentId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.ParentId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CreateDirRequest) GetName() string {
 | |
| 	if x != nil {
 | |
| 		return x.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CreateDirRequest) GetPath() string {
 | |
| 	if x != nil {
 | |
| 		return x.Path
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| // 请求消息定义
 | |
| type ListDirsResponse struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Dirs          []*CloudDiskDirItem    `protobuf:"bytes,1,rep,name=dirs,proto3" json:"dirs,omitempty"`
 | |
| 	Total         int64                  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *ListDirsResponse) Reset() {
 | |
| 	*x = ListDirsResponse{}
 | |
| 	mi := &file_disk_proto_msgTypes[1]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *ListDirsResponse) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ListDirsResponse) ProtoMessage() {}
 | |
| 
 | |
| func (x *ListDirsResponse) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[1]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use ListDirsResponse.ProtoReflect.Descriptor instead.
 | |
| func (*ListDirsResponse) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{1}
 | |
| }
 | |
| 
 | |
| func (x *ListDirsResponse) GetDirs() []*CloudDiskDirItem {
 | |
| 	if x != nil {
 | |
| 		return x.Dirs
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *ListDirsResponse) GetTotal() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Total
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| // 云盘目录模型
 | |
| type CloudDiskDirItem struct {
 | |
| 	state     protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 | |
| 	Identity  string                 `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
 | |
| 	ParentId  uint64                 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 支持嵌套目录
 | |
| 	Name      string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                          // 目录名称
 | |
| 	Path      string                 `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`                          // 完整路径
 | |
| 	CreatedAt string                 `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
 | |
| 	UpdatedAt string                 `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
 | |
| 	// 自关联
 | |
| 	Parent         *CloudDiskDirItem    `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"`                 // 父级目录
 | |
| 	Subdirectories []*CloudDiskDirItem  `protobuf:"bytes,9,rep,name=subdirectories,proto3" json:"subdirectories,omitempty"` // 子级目录
 | |
| 	Files          []*CloudDiskFileItem `protobuf:"bytes,10,rep,name=files,proto3" json:"files,omitempty"`                  // 文件
 | |
| 	unknownFields  protoimpl.UnknownFields
 | |
| 	sizeCache      protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) Reset() {
 | |
| 	*x = CloudDiskDirItem{}
 | |
| 	mi := &file_disk_proto_msgTypes[2]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*CloudDiskDirItem) ProtoMessage() {}
 | |
| 
 | |
| func (x *CloudDiskDirItem) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[2]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use CloudDiskDirItem.ProtoReflect.Descriptor instead.
 | |
| func (*CloudDiskDirItem) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{2}
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.Id
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetIdentity() string {
 | |
| 	if x != nil {
 | |
| 		return x.Identity
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetParentId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.ParentId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetName() string {
 | |
| 	if x != nil {
 | |
| 		return x.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetPath() string {
 | |
| 	if x != nil {
 | |
| 		return x.Path
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetCreatedAt() string {
 | |
| 	if x != nil {
 | |
| 		return x.CreatedAt
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetUpdatedAt() string {
 | |
| 	if x != nil {
 | |
| 		return x.UpdatedAt
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetParent() *CloudDiskDirItem {
 | |
| 	if x != nil {
 | |
| 		return x.Parent
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetSubdirectories() []*CloudDiskDirItem {
 | |
| 	if x != nil {
 | |
| 		return x.Subdirectories
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskDirItem) GetFiles() []*CloudDiskFileItem {
 | |
| 	if x != nil {
 | |
| 		return x.Files
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type MoveDirRequest struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Id            uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 | |
| 	NewParentId   uint64                 `protobuf:"varint,2,opt,name=new_parent_id,json=newParentId,proto3" json:"new_parent_id,omitempty"`
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *MoveDirRequest) Reset() {
 | |
| 	*x = MoveDirRequest{}
 | |
| 	mi := &file_disk_proto_msgTypes[3]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *MoveDirRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*MoveDirRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *MoveDirRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[3]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use MoveDirRequest.ProtoReflect.Descriptor instead.
 | |
| func (*MoveDirRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{3}
 | |
| }
 | |
| 
 | |
| func (x *MoveDirRequest) GetId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.Id
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *MoveDirRequest) GetNewParentId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.NewParentId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type ListFilesResponse struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Files         []*CloudDiskFileItem   `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
 | |
| 	Total         int64                  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) Reset() {
 | |
| 	*x = ListFilesResponse{}
 | |
| 	mi := &file_disk_proto_msgTypes[4]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ListFilesResponse) ProtoMessage() {}
 | |
| 
 | |
| func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[4]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
 | |
| func (*ListFilesResponse) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{4}
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetFiles() []*CloudDiskFileItem {
 | |
| 	if x != nil {
 | |
| 		return x.Files
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetTotal() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Total
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type MoveFileRequest struct {
 | |
| 	state          protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Id             uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 | |
| 	NewDirectoryId uint64                 `protobuf:"varint,2,opt,name=new_directory_id,json=newDirectoryId,proto3" json:"new_directory_id,omitempty"`
 | |
| 	unknownFields  protoimpl.UnknownFields
 | |
| 	sizeCache      protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *MoveFileRequest) Reset() {
 | |
| 	*x = MoveFileRequest{}
 | |
| 	mi := &file_disk_proto_msgTypes[5]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *MoveFileRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*MoveFileRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *MoveFileRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[5]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use MoveFileRequest.ProtoReflect.Descriptor instead.
 | |
| func (*MoveFileRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{5}
 | |
| }
 | |
| 
 | |
| func (x *MoveFileRequest) GetId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.Id
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *MoveFileRequest) GetNewDirectoryId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.NewDirectoryId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type CopyFileRequest struct {
 | |
| 	state             protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Id                uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 | |
| 	TargetDirectoryId uint64                 `protobuf:"varint,2,opt,name=target_directory_id,json=targetDirectoryId,proto3" json:"target_directory_id,omitempty"`
 | |
| 	NewName           string                 `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
 | |
| 	unknownFields     protoimpl.UnknownFields
 | |
| 	sizeCache         protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *CopyFileRequest) Reset() {
 | |
| 	*x = CopyFileRequest{}
 | |
| 	mi := &file_disk_proto_msgTypes[6]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *CopyFileRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*CopyFileRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *CopyFileRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[6]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use CopyFileRequest.ProtoReflect.Descriptor instead.
 | |
| func (*CopyFileRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{6}
 | |
| }
 | |
| 
 | |
| func (x *CopyFileRequest) GetId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.Id
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CopyFileRequest) GetTargetDirectoryId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.TargetDirectoryId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CopyFileRequest) GetNewName() string {
 | |
| 	if x != nil {
 | |
| 		return x.NewName
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type CloudDiskFileRequest struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	CloudId       uint64                 `protobuf:"varint,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"`
 | |
| 	CloudIdentity string                 `protobuf:"bytes,2,opt,name=cloud_identity,json=cloudIdentity,proto3" json:"cloud_identity,omitempty"`
 | |
| 	DirectoryId   uint64                 `protobuf:"varint,3,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`   // 文件所属目录
 | |
| 	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                                     // 文件名
 | |
| 	OriginalName  string                 `protobuf:"bytes,5,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"` // 原始文件名
 | |
| 	Size          int64                  `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`                                    // 文件大小 (bytes)
 | |
| 	MimeType      string                 `protobuf:"bytes,7,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`             // 文件类型
 | |
| 	StoragePath   string                 `protobuf:"bytes,8,opt,name=storage_path,json=storagePath,proto3" json:"storage_path,omitempty"`    // 实际存储路径
 | |
| 	Hash          string                 `protobuf:"bytes,9,opt,name=hash,proto3" json:"hash,omitempty"`                                     // 文件哈希,用于去重
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) Reset() {
 | |
| 	*x = CloudDiskFileRequest{}
 | |
| 	mi := &file_disk_proto_msgTypes[7]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*CloudDiskFileRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *CloudDiskFileRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[7]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use CloudDiskFileRequest.ProtoReflect.Descriptor instead.
 | |
| func (*CloudDiskFileRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{7}
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetCloudId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.CloudId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetCloudIdentity() string {
 | |
| 	if x != nil {
 | |
| 		return x.CloudIdentity
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetDirectoryId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.DirectoryId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetName() string {
 | |
| 	if x != nil {
 | |
| 		return x.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetOriginalName() string {
 | |
| 	if x != nil {
 | |
| 		return x.OriginalName
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetSize() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Size
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetMimeType() string {
 | |
| 	if x != nil {
 | |
| 		return x.MimeType
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetStoragePath() string {
 | |
| 	if x != nil {
 | |
| 		return x.StoragePath
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileRequest) GetHash() string {
 | |
| 	if x != nil {
 | |
| 		return x.Hash
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| // 云盘文件
 | |
| type CloudDiskFileItem struct {
 | |
| 	state        protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Id           uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 | |
| 	Identity     string                 `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
 | |
| 	DirectoryId  uint64                 `protobuf:"varint,3,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`   // 文件所属目录
 | |
| 	Name         string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                                     // 文件名
 | |
| 	OriginalName string                 `protobuf:"bytes,5,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"` // 原始文件名
 | |
| 	Size         int64                  `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`                                    // 文件大小 (bytes)
 | |
| 	MimeType     string                 `protobuf:"bytes,7,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`             // 文件类型
 | |
| 	StoragePath  string                 `protobuf:"bytes,8,opt,name=storage_path,json=storagePath,proto3" json:"storage_path,omitempty"`    // 实际存储路径
 | |
| 	Hash         string                 `protobuf:"bytes,9,opt,name=hash,proto3" json:"hash,omitempty"`                                     // 文件哈希,用于去重
 | |
| 	CreatedAt    string                 `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
 | |
| 	UpdatedAt    string                 `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
 | |
| 	// 关联关系
 | |
| 	Directory     *CloudDiskDirItem `protobuf:"bytes,12,opt,name=directory,proto3" json:"directory,omitempty"` // 文件所属目录
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) Reset() {
 | |
| 	*x = CloudDiskFileItem{}
 | |
| 	mi := &file_disk_proto_msgTypes[8]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*CloudDiskFileItem) ProtoMessage() {}
 | |
| 
 | |
| func (x *CloudDiskFileItem) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_disk_proto_msgTypes[8]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use CloudDiskFileItem.ProtoReflect.Descriptor instead.
 | |
| func (*CloudDiskFileItem) Descriptor() ([]byte, []int) {
 | |
| 	return file_disk_proto_rawDescGZIP(), []int{8}
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.Id
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetIdentity() string {
 | |
| 	if x != nil {
 | |
| 		return x.Identity
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetDirectoryId() uint64 {
 | |
| 	if x != nil {
 | |
| 		return x.DirectoryId
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetName() string {
 | |
| 	if x != nil {
 | |
| 		return x.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetOriginalName() string {
 | |
| 	if x != nil {
 | |
| 		return x.OriginalName
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetSize() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Size
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetMimeType() string {
 | |
| 	if x != nil {
 | |
| 		return x.MimeType
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetStoragePath() string {
 | |
| 	if x != nil {
 | |
| 		return x.StoragePath
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetHash() string {
 | |
| 	if x != nil {
 | |
| 		return x.Hash
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetCreatedAt() string {
 | |
| 	if x != nil {
 | |
| 		return x.CreatedAt
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetUpdatedAt() string {
 | |
| 	if x != nil {
 | |
| 		return x.UpdatedAt
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CloudDiskFileItem) GetDirectory() *CloudDiskDirItem {
 | |
| 	if x != nil {
 | |
| 		return x.Directory
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| var File_disk_proto protoreflect.FileDescriptor
 | |
| 
 | |
| const file_disk_proto_rawDesc = "" +
 | |
| 	"\n" +
 | |
| 	"\n" +
 | |
| 	"disk.proto\x12\x05cloud\x1a\fblocks.proto\"\x99\x01\n" +
 | |
| 	"\x10CreateDirRequest\x12\x19\n" +
 | |
| 	"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
 | |
| 	"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x1b\n" +
 | |
| 	"\tparent_id\x18\x03 \x01(\x04R\bparentId\x12\x12\n" +
 | |
| 	"\x04name\x18\x04 \x01(\tR\x04name\x12\x12\n" +
 | |
| 	"\x04path\x18\x05 \x01(\tR\x04path\"U\n" +
 | |
| 	"\x10ListDirsResponse\x12+\n" +
 | |
| 	"\x04dirs\x18\x01 \x03(\v2\x17.cloud.CloudDiskDirItemR\x04dirs\x12\x14\n" +
 | |
| 	"\x05total\x18\x02 \x01(\x03R\x05total\"\xe3\x02\n" +
 | |
| 	"\x10CloudDiskDirItem\x12\x0e\n" +
 | |
| 	"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n" +
 | |
| 	"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1b\n" +
 | |
| 	"\tparent_id\x18\x03 \x01(\x04R\bparentId\x12\x12\n" +
 | |
| 	"\x04name\x18\x04 \x01(\tR\x04name\x12\x12\n" +
 | |
| 	"\x04path\x18\x05 \x01(\tR\x04path\x12\x1d\n" +
 | |
| 	"\n" +
 | |
| 	"created_at\x18\x06 \x01(\tR\tcreatedAt\x12\x1d\n" +
 | |
| 	"\n" +
 | |
| 	"updated_at\x18\a \x01(\tR\tupdatedAt\x12/\n" +
 | |
| 	"\x06parent\x18\b \x01(\v2\x17.cloud.CloudDiskDirItemR\x06parent\x12?\n" +
 | |
| 	"\x0esubdirectories\x18\t \x03(\v2\x17.cloud.CloudDiskDirItemR\x0esubdirectories\x12.\n" +
 | |
| 	"\x05files\x18\n" +
 | |
| 	" \x03(\v2\x18.cloud.CloudDiskFileItemR\x05files\"D\n" +
 | |
| 	"\x0eMoveDirRequest\x12\x0e\n" +
 | |
| 	"\x02id\x18\x01 \x01(\x04R\x02id\x12\"\n" +
 | |
| 	"\rnew_parent_id\x18\x02 \x01(\x04R\vnewParentId\"Y\n" +
 | |
| 	"\x11ListFilesResponse\x12.\n" +
 | |
| 	"\x05files\x18\x01 \x03(\v2\x18.cloud.CloudDiskFileItemR\x05files\x12\x14\n" +
 | |
| 	"\x05total\x18\x02 \x01(\x03R\x05total\"K\n" +
 | |
| 	"\x0fMoveFileRequest\x12\x0e\n" +
 | |
| 	"\x02id\x18\x01 \x01(\x04R\x02id\x12(\n" +
 | |
| 	"\x10new_directory_id\x18\x02 \x01(\x04R\x0enewDirectoryId\"l\n" +
 | |
| 	"\x0fCopyFileRequest\x12\x0e\n" +
 | |
| 	"\x02id\x18\x01 \x01(\x04R\x02id\x12.\n" +
 | |
| 	"\x13target_directory_id\x18\x02 \x01(\x04R\x11targetDirectoryId\x12\x19\n" +
 | |
| 	"\bnew_name\x18\x03 \x01(\tR\anewName\"\x9c\x02\n" +
 | |
| 	"\x14CloudDiskFileRequest\x12\x19\n" +
 | |
| 	"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
 | |
| 	"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12!\n" +
 | |
| 	"\fdirectory_id\x18\x03 \x01(\x04R\vdirectoryId\x12\x12\n" +
 | |
| 	"\x04name\x18\x04 \x01(\tR\x04name\x12#\n" +
 | |
| 	"\roriginal_name\x18\x05 \x01(\tR\foriginalName\x12\x12\n" +
 | |
| 	"\x04size\x18\x06 \x01(\x03R\x04size\x12\x1b\n" +
 | |
| 	"\tmime_type\x18\a \x01(\tR\bmimeType\x12!\n" +
 | |
| 	"\fstorage_path\x18\b \x01(\tR\vstoragePath\x12\x12\n" +
 | |
| 	"\x04hash\x18\t \x01(\tR\x04hash\"\xf8\x02\n" +
 | |
| 	"\x11CloudDiskFileItem\x12\x0e\n" +
 | |
| 	"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n" +
 | |
| 	"\bidentity\x18\x02 \x01(\tR\bidentity\x12!\n" +
 | |
| 	"\fdirectory_id\x18\x03 \x01(\x04R\vdirectoryId\x12\x12\n" +
 | |
| 	"\x04name\x18\x04 \x01(\tR\x04name\x12#\n" +
 | |
| 	"\roriginal_name\x18\x05 \x01(\tR\foriginalName\x12\x12\n" +
 | |
| 	"\x04size\x18\x06 \x01(\x03R\x04size\x12\x1b\n" +
 | |
| 	"\tmime_type\x18\a \x01(\tR\bmimeType\x12!\n" +
 | |
| 	"\fstorage_path\x18\b \x01(\tR\vstoragePath\x12\x12\n" +
 | |
| 	"\x04hash\x18\t \x01(\tR\x04hash\x12\x1d\n" +
 | |
| 	"\n" +
 | |
| 	"created_at\x18\n" +
 | |
| 	" \x01(\tR\tcreatedAt\x12\x1d\n" +
 | |
| 	"\n" +
 | |
| 	"updated_at\x18\v \x01(\tR\tupdatedAt\x125\n" +
 | |
| 	"\tdirectory\x18\f \x01(\v2\x17.cloud.CloudDiskDirItemR\tdirectory2\xea\x06\n" +
 | |
| 	"\x04Disk\x128\n" +
 | |
| 	"\tCreateDir\x12\x17.cloud.CreateDirRequest\x1a\x12.cloud.StatusReply\x126\n" +
 | |
| 	"\x06GetDir\x12\x13.cloud.IdentRequest\x1a\x17.cloud.CloudDiskDirItem\x128\n" +
 | |
| 	"\tUpdateDir\x12\x17.cloud.CloudDiskDirItem\x1a\x12.cloud.StatusReply\x124\n" +
 | |
| 	"\tDeleteDir\x12\x13.cloud.IdentRequest\x1a\x12.cloud.StatusReply\x128\n" +
 | |
| 	"\bListDirs\x12\x13.cloud.FetchRequest\x1a\x17.cloud.ListDirsResponse\x12:\n" +
 | |
| 	"\n" +
 | |
| 	"GetDirTree\x12\x13.cloud.IdentRequest\x1a\x17.cloud.CloudDiskDirItem\x124\n" +
 | |
| 	"\aMoveDir\x12\x15.cloud.MoveDirRequest\x1a\x12.cloud.StatusReply\x12=\n" +
 | |
| 	"\n" +
 | |
| 	"UploadFile\x12\x1b.cloud.CloudDiskFileRequest\x1a\x12.cloud.StatusReply\x128\n" +
 | |
| 	"\aGetFile\x12\x13.cloud.IdentRequest\x1a\x18.cloud.CloudDiskFileItem\x12:\n" +
 | |
| 	"\n" +
 | |
| 	"UpdateFile\x12\x18.cloud.CloudDiskFileItem\x1a\x12.cloud.StatusReply\x125\n" +
 | |
| 	"\n" +
 | |
| 	"DeleteFile\x12\x13.cloud.IdentRequest\x1a\x12.cloud.StatusReply\x12:\n" +
 | |
| 	"\tListFiles\x12\x13.cloud.FetchRequest\x1a\x18.cloud.ListFilesResponse\x126\n" +
 | |
| 	"\bMoveFile\x12\x16.cloud.MoveFileRequest\x1a\x12.cloud.StatusReply\x126\n" +
 | |
| 	"\bCopyFile\x12\x16.cloud.CopyFileRequest\x1a\x12.cloud.StatusReply\x12<\n" +
 | |
| 	"\vSearchFiles\x12\x13.cloud.FetchRequest\x1a\x18.cloud.ListFilesResponseB\tZ\a.;cloudb\x06proto3"
 | |
| 
 | |
| var (
 | |
| 	file_disk_proto_rawDescOnce sync.Once
 | |
| 	file_disk_proto_rawDescData []byte
 | |
| )
 | |
| 
 | |
| func file_disk_proto_rawDescGZIP() []byte {
 | |
| 	file_disk_proto_rawDescOnce.Do(func() {
 | |
| 		file_disk_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_disk_proto_rawDesc), len(file_disk_proto_rawDesc)))
 | |
| 	})
 | |
| 	return file_disk_proto_rawDescData
 | |
| }
 | |
| 
 | |
| var file_disk_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
 | |
| var file_disk_proto_goTypes = []any{
 | |
| 	(*CreateDirRequest)(nil),     // 0: cloud.CreateDirRequest
 | |
| 	(*ListDirsResponse)(nil),     // 1: cloud.ListDirsResponse
 | |
| 	(*CloudDiskDirItem)(nil),     // 2: cloud.CloudDiskDirItem
 | |
| 	(*MoveDirRequest)(nil),       // 3: cloud.MoveDirRequest
 | |
| 	(*ListFilesResponse)(nil),    // 4: cloud.ListFilesResponse
 | |
| 	(*MoveFileRequest)(nil),      // 5: cloud.MoveFileRequest
 | |
| 	(*CopyFileRequest)(nil),      // 6: cloud.CopyFileRequest
 | |
| 	(*CloudDiskFileRequest)(nil), // 7: cloud.CloudDiskFileRequest
 | |
| 	(*CloudDiskFileItem)(nil),    // 8: cloud.CloudDiskFileItem
 | |
| 	(*IdentRequest)(nil),         // 9: cloud.IdentRequest
 | |
| 	(*FetchRequest)(nil),         // 10: cloud.FetchRequest
 | |
| 	(*StatusReply)(nil),          // 11: cloud.StatusReply
 | |
| }
 | |
| var file_disk_proto_depIdxs = []int32{
 | |
| 	2,  // 0: cloud.ListDirsResponse.dirs:type_name -> cloud.CloudDiskDirItem
 | |
| 	2,  // 1: cloud.CloudDiskDirItem.parent:type_name -> cloud.CloudDiskDirItem
 | |
| 	2,  // 2: cloud.CloudDiskDirItem.subdirectories:type_name -> cloud.CloudDiskDirItem
 | |
| 	8,  // 3: cloud.CloudDiskDirItem.files:type_name -> cloud.CloudDiskFileItem
 | |
| 	8,  // 4: cloud.ListFilesResponse.files:type_name -> cloud.CloudDiskFileItem
 | |
| 	2,  // 5: cloud.CloudDiskFileItem.directory:type_name -> cloud.CloudDiskDirItem
 | |
| 	0,  // 6: cloud.Disk.CreateDir:input_type -> cloud.CreateDirRequest
 | |
| 	9,  // 7: cloud.Disk.GetDir:input_type -> cloud.IdentRequest
 | |
| 	2,  // 8: cloud.Disk.UpdateDir:input_type -> cloud.CloudDiskDirItem
 | |
| 	9,  // 9: cloud.Disk.DeleteDir:input_type -> cloud.IdentRequest
 | |
| 	10, // 10: cloud.Disk.ListDirs:input_type -> cloud.FetchRequest
 | |
| 	9,  // 11: cloud.Disk.GetDirTree:input_type -> cloud.IdentRequest
 | |
| 	3,  // 12: cloud.Disk.MoveDir:input_type -> cloud.MoveDirRequest
 | |
| 	7,  // 13: cloud.Disk.UploadFile:input_type -> cloud.CloudDiskFileRequest
 | |
| 	9,  // 14: cloud.Disk.GetFile:input_type -> cloud.IdentRequest
 | |
| 	8,  // 15: cloud.Disk.UpdateFile:input_type -> cloud.CloudDiskFileItem
 | |
| 	9,  // 16: cloud.Disk.DeleteFile:input_type -> cloud.IdentRequest
 | |
| 	10, // 17: cloud.Disk.ListFiles:input_type -> cloud.FetchRequest
 | |
| 	5,  // 18: cloud.Disk.MoveFile:input_type -> cloud.MoveFileRequest
 | |
| 	6,  // 19: cloud.Disk.CopyFile:input_type -> cloud.CopyFileRequest
 | |
| 	10, // 20: cloud.Disk.SearchFiles:input_type -> cloud.FetchRequest
 | |
| 	11, // 21: cloud.Disk.CreateDir:output_type -> cloud.StatusReply
 | |
| 	2,  // 22: cloud.Disk.GetDir:output_type -> cloud.CloudDiskDirItem
 | |
| 	11, // 23: cloud.Disk.UpdateDir:output_type -> cloud.StatusReply
 | |
| 	11, // 24: cloud.Disk.DeleteDir:output_type -> cloud.StatusReply
 | |
| 	1,  // 25: cloud.Disk.ListDirs:output_type -> cloud.ListDirsResponse
 | |
| 	2,  // 26: cloud.Disk.GetDirTree:output_type -> cloud.CloudDiskDirItem
 | |
| 	11, // 27: cloud.Disk.MoveDir:output_type -> cloud.StatusReply
 | |
| 	11, // 28: cloud.Disk.UploadFile:output_type -> cloud.StatusReply
 | |
| 	8,  // 29: cloud.Disk.GetFile:output_type -> cloud.CloudDiskFileItem
 | |
| 	11, // 30: cloud.Disk.UpdateFile:output_type -> cloud.StatusReply
 | |
| 	11, // 31: cloud.Disk.DeleteFile:output_type -> cloud.StatusReply
 | |
| 	4,  // 32: cloud.Disk.ListFiles:output_type -> cloud.ListFilesResponse
 | |
| 	11, // 33: cloud.Disk.MoveFile:output_type -> cloud.StatusReply
 | |
| 	11, // 34: cloud.Disk.CopyFile:output_type -> cloud.StatusReply
 | |
| 	4,  // 35: cloud.Disk.SearchFiles:output_type -> cloud.ListFilesResponse
 | |
| 	21, // [21:36] is the sub-list for method output_type
 | |
| 	6,  // [6:21] is the sub-list for method input_type
 | |
| 	6,  // [6:6] is the sub-list for extension type_name
 | |
| 	6,  // [6:6] is the sub-list for extension extendee
 | |
| 	0,  // [0:6] is the sub-list for field type_name
 | |
| }
 | |
| 
 | |
| func init() { file_disk_proto_init() }
 | |
| func file_disk_proto_init() {
 | |
| 	if File_disk_proto != nil {
 | |
| 		return
 | |
| 	}
 | |
| 	file_blocks_proto_init()
 | |
| 	type x struct{}
 | |
| 	out := protoimpl.TypeBuilder{
 | |
| 		File: protoimpl.DescBuilder{
 | |
| 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 | |
| 			RawDescriptor: unsafe.Slice(unsafe.StringData(file_disk_proto_rawDesc), len(file_disk_proto_rawDesc)),
 | |
| 			NumEnums:      0,
 | |
| 			NumMessages:   9,
 | |
| 			NumExtensions: 0,
 | |
| 			NumServices:   1,
 | |
| 		},
 | |
| 		GoTypes:           file_disk_proto_goTypes,
 | |
| 		DependencyIndexes: file_disk_proto_depIdxs,
 | |
| 		MessageInfos:      file_disk_proto_msgTypes,
 | |
| 	}.Build()
 | |
| 	File_disk_proto = out.File
 | |
| 	file_disk_proto_goTypes = nil
 | |
| 	file_disk_proto_depIdxs = nil
 | |
| }
 |