1136 lines
32 KiB
Go
1136 lines
32 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 Empty struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Empty) Reset() {
|
|
*x = Empty{}
|
|
mi := &file_disk_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Empty) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Empty) ProtoMessage() {}
|
|
|
|
func (x *Empty) 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 Empty.ProtoReflect.Descriptor instead.
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// authorization_identity 用户识别identity 由上下文传递
|
|
// user_identity 用于鉴权
|
|
type ListRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 文件夹唯一标识,获取顶级的不传
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //根据文件名称模糊查找,当该字段不为空时identity的限定失效
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRequest) Reset() {
|
|
*x = ListRequest{}
|
|
mi := &file_disk_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRequest) ProtoMessage() {}
|
|
|
|
func (x *ListRequest) 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 ListRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []*UserFile `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListResponse) Reset() {
|
|
*x = ListResponse{}
|
|
mi := &file_disk_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListResponse) ProtoMessage() {}
|
|
|
|
func (x *ListResponse) 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 ListResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListResponse) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListResponse) GetList() []*UserFile {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DirTreeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 文件夹唯一标识,获取顶级的不传
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DirTreeRequest) Reset() {
|
|
*x = DirTreeRequest{}
|
|
mi := &file_disk_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DirTreeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DirTreeRequest) ProtoMessage() {}
|
|
|
|
func (x *DirTreeRequest) 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 DirTreeRequest.ProtoReflect.Descriptor instead.
|
|
func (*DirTreeRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DirTreeRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DirTreeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []*UserFile `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 只返回文件夹
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DirTreeResponse) Reset() {
|
|
*x = DirTreeResponse{}
|
|
mi := &file_disk_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DirTreeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DirTreeResponse) ProtoMessage() {}
|
|
|
|
func (x *DirTreeResponse) 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 DirTreeResponse.ProtoReflect.Descriptor instead.
|
|
func (*DirTreeResponse) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DirTreeResponse) GetList() []*UserFile {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DownloadRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // identity列表,必传
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DownloadRequest) Reset() {
|
|
*x = DownloadRequest{}
|
|
mi := &file_disk_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DownloadRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DownloadRequest) ProtoMessage() {}
|
|
|
|
func (x *DownloadRequest) 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 DownloadRequest.ProtoReflect.Descriptor instead.
|
|
func (*DownloadRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DownloadRequest) GetList() []string {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserFile struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` //唯一标识
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //文件/文件夹名称
|
|
Ext string `protobuf:"bytes,3,opt,name=ext,proto3" json:"ext,omitempty"` //后缀,文件夹时为空
|
|
Parent []string `protobuf:"bytes,4,rep,name=parent,proto3" json:"parent,omitempty"` // 父级文件夹序列,按文件名称查询时候生效
|
|
File *File `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"` //文件信息
|
|
CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Children []*UserFile `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"` //子文件夹
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserFile) Reset() {
|
|
*x = UserFile{}
|
|
mi := &file_disk_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserFile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserFile) ProtoMessage() {}
|
|
|
|
func (x *UserFile) 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 UserFile.ProtoReflect.Descriptor instead.
|
|
func (*UserFile) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UserFile) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserFile) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserFile) GetExt() string {
|
|
if x != nil {
|
|
return x.Ext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserFile) GetParent() []string {
|
|
if x != nil {
|
|
return x.Parent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserFile) GetFile() *File {
|
|
if x != nil {
|
|
return x.File
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserFile) GetCreatedAt() string {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserFile) GetUpdatedAt() string {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserFile) GetChildren() []*UserFile {
|
|
if x != nil {
|
|
return x.Children
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type File struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` //唯一标识
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` //文件路径
|
|
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 文件大小,单位:B
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *File) Reset() {
|
|
*x = File{}
|
|
mi := &file_disk_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *File) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*File) ProtoMessage() {}
|
|
|
|
func (x *File) 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 File.ProtoReflect.Descriptor instead.
|
|
func (*File) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *File) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *File) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *File) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MakeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //文件/文件夹名称,必传
|
|
Ext string `protobuf:"bytes,2,opt,name=ext,proto3" json:"ext,omitempty"` //后缀,文件夹传空即可
|
|
ParentIdentity string `protobuf:"bytes,3,opt,name=parent_identity,json=parentIdentity,proto3" json:"parent_identity,omitempty"` // 父文件夹标识,选填
|
|
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // 文件大小,非文件夹时必传,单位:B
|
|
Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` // 文件hash值,非文件夹时必传
|
|
Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // 文件地址,非文件夹时必传
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MakeRequest) Reset() {
|
|
*x = MakeRequest{}
|
|
mi := &file_disk_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MakeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MakeRequest) ProtoMessage() {}
|
|
|
|
func (x *MakeRequest) 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 MakeRequest.ProtoReflect.Descriptor instead.
|
|
func (*MakeRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *MakeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MakeRequest) GetExt() string {
|
|
if x != nil {
|
|
return x.Ext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MakeRequest) GetParentIdentity() string {
|
|
if x != nil {
|
|
return x.ParentIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MakeRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MakeRequest) GetHash() string {
|
|
if x != nil {
|
|
return x.Hash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MakeRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MakeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MakeResponse) Reset() {
|
|
*x = MakeResponse{}
|
|
mi := &file_disk_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MakeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MakeResponse) ProtoMessage() {}
|
|
|
|
func (x *MakeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[9]
|
|
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 MakeResponse.ProtoReflect.Descriptor instead.
|
|
func (*MakeResponse) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *MakeResponse) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 同级下,名称必须唯一
|
|
type RenameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` //必传
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //文件/文件夹名称,必传
|
|
Ext string `protobuf:"bytes,3,opt,name=ext,proto3" json:"ext,omitempty"` //后缀,文件夹传空即可
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RenameRequest) Reset() {
|
|
*x = RenameRequest{}
|
|
mi := &file_disk_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RenameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RenameRequest) ProtoMessage() {}
|
|
|
|
func (x *RenameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[10]
|
|
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 RenameRequest.ProtoReflect.Descriptor instead.
|
|
func (*RenameRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *RenameRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RenameRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RenameRequest) GetExt() string {
|
|
if x != nil {
|
|
return x.Ext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // identity列表
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveRequest) Reset() {
|
|
*x = RemoveRequest{}
|
|
mi := &file_disk_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[11]
|
|
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 RemoveRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *RemoveRequest) GetList() []string {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MoveRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // identity列表
|
|
TargetIdentity string `protobuf:"bytes,2,opt,name=target_identity,json=targetIdentity,proto3" json:"target_identity,omitempty"` // 目标文件夹标识,如果是顶级则不填
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MoveRequest) Reset() {
|
|
*x = MoveRequest{}
|
|
mi := &file_disk_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MoveRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MoveRequest) ProtoMessage() {}
|
|
|
|
func (x *MoveRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[12]
|
|
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 MoveRequest.ProtoReflect.Descriptor instead.
|
|
func (*MoveRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *MoveRequest) GetList() []string {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MoveRequest) GetTargetIdentity() string {
|
|
if x != nil {
|
|
return x.TargetIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CopyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // identity列表
|
|
TargetIdentity string `protobuf:"bytes,3,opt,name=target_identity,json=targetIdentity,proto3" json:"target_identity,omitempty"` // 目标文件夹标识,如果是顶级则不填
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CopyRequest) Reset() {
|
|
*x = CopyRequest{}
|
|
mi := &file_disk_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CopyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CopyRequest) ProtoMessage() {}
|
|
|
|
func (x *CopyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[13]
|
|
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 CopyRequest.ProtoReflect.Descriptor instead.
|
|
func (*CopyRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *CopyRequest) GetList() []string {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CopyRequest) GetTargetIdentity() string {
|
|
if x != nil {
|
|
return x.TargetIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ShareRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // identity列表
|
|
Days int64 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"` // 有效天数,默认永久
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ShareRequest) Reset() {
|
|
*x = ShareRequest{}
|
|
mi := &file_disk_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ShareRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShareRequest) ProtoMessage() {}
|
|
|
|
func (x *ShareRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[14]
|
|
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 ShareRequest.ProtoReflect.Descriptor instead.
|
|
func (*ShareRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ShareRequest) GetList() []string {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ShareRequest) GetDays() int64 {
|
|
if x != nil {
|
|
return x.Days
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShareResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // 解析分享内容关键key
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ShareResponse) Reset() {
|
|
*x = ShareResponse{}
|
|
mi := &file_disk_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ShareResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShareResponse) ProtoMessage() {}
|
|
|
|
func (x *ShareResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[15]
|
|
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 ShareResponse.ProtoReflect.Descriptor instead.
|
|
func (*ShareResponse) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ShareResponse) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ParseShareRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // 解析分享内容关键key
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParseShareRequest) Reset() {
|
|
*x = ParseShareRequest{}
|
|
mi := &file_disk_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParseShareRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParseShareRequest) ProtoMessage() {}
|
|
|
|
func (x *ParseShareRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[16]
|
|
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 ParseShareRequest.ProtoReflect.Descriptor instead.
|
|
func (*ParseShareRequest) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *ParseShareRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ParseShareResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
List []*UserFile `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParseShareResponse) Reset() {
|
|
*x = ParseShareResponse{}
|
|
mi := &file_disk_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParseShareResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParseShareResponse) ProtoMessage() {}
|
|
|
|
func (x *ParseShareResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_disk_proto_msgTypes[17]
|
|
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 ParseShareResponse.ProtoReflect.Descriptor instead.
|
|
func (*ParseShareResponse) Descriptor() ([]byte, []int) {
|
|
return file_disk_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ParseShareResponse) GetList() []*UserFile {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_disk_proto protoreflect.FileDescriptor
|
|
|
|
const file_disk_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\n" +
|
|
"disk.proto\x12\x05cloud\"\a\n" +
|
|
"\x05Empty\"=\n" +
|
|
"\vListRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"3\n" +
|
|
"\fListResponse\x12#\n" +
|
|
"\x04list\x18\x01 \x03(\v2\x0f.cloud.UserFileR\x04list\",\n" +
|
|
"\x0eDirTreeRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\"6\n" +
|
|
"\x0fDirTreeResponse\x12#\n" +
|
|
"\x04list\x18\x01 \x03(\v2\x0f.cloud.UserFileR\x04list\"%\n" +
|
|
"\x0fDownloadRequest\x12\x12\n" +
|
|
"\x04list\x18\x01 \x03(\tR\x04list\"\xf0\x01\n" +
|
|
"\bUserFile\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x10\n" +
|
|
"\x03ext\x18\x03 \x01(\tR\x03ext\x12\x16\n" +
|
|
"\x06parent\x18\x04 \x03(\tR\x06parent\x12\x1f\n" +
|
|
"\x04file\x18\x05 \x01(\v2\v.cloud.FileR\x04file\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\a \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\b \x01(\tR\tupdatedAt\x12+\n" +
|
|
"\bchildren\x18\t \x03(\v2\x0f.cloud.UserFileR\bchildren\"J\n" +
|
|
"\x04File\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x12\n" +
|
|
"\x04path\x18\x02 \x01(\tR\x04path\x12\x12\n" +
|
|
"\x04size\x18\x03 \x01(\x03R\x04size\"\x98\x01\n" +
|
|
"\vMakeRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n" +
|
|
"\x03ext\x18\x02 \x01(\tR\x03ext\x12'\n" +
|
|
"\x0fparent_identity\x18\x03 \x01(\tR\x0eparentIdentity\x12\x12\n" +
|
|
"\x04size\x18\x04 \x01(\x03R\x04size\x12\x12\n" +
|
|
"\x04hash\x18\x05 \x01(\tR\x04hash\x12\x12\n" +
|
|
"\x04path\x18\x06 \x01(\tR\x04path\"*\n" +
|
|
"\fMakeResponse\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\"Q\n" +
|
|
"\rRenameRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x10\n" +
|
|
"\x03ext\x18\x03 \x01(\tR\x03ext\"#\n" +
|
|
"\rRemoveRequest\x12\x12\n" +
|
|
"\x04list\x18\x01 \x03(\tR\x04list\"J\n" +
|
|
"\vMoveRequest\x12\x12\n" +
|
|
"\x04list\x18\x01 \x03(\tR\x04list\x12'\n" +
|
|
"\x0ftarget_identity\x18\x02 \x01(\tR\x0etargetIdentity\"J\n" +
|
|
"\vCopyRequest\x12\x12\n" +
|
|
"\x04list\x18\x01 \x03(\tR\x04list\x12'\n" +
|
|
"\x0ftarget_identity\x18\x03 \x01(\tR\x0etargetIdentity\"6\n" +
|
|
"\fShareRequest\x12\x12\n" +
|
|
"\x04list\x18\x01 \x03(\tR\x04list\x12\x12\n" +
|
|
"\x04days\x18\x02 \x01(\x03R\x04days\"!\n" +
|
|
"\rShareResponse\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\"%\n" +
|
|
"\x11ParseShareRequest\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\"9\n" +
|
|
"\x12ParseShareResponse\x12#\n" +
|
|
"\x04list\x18\x01 \x03(\v2\x0f.cloud.UserFileR\x04list2\x96\x04\n" +
|
|
"\x04Disk\x121\n" +
|
|
"\x04List\x12\x12.cloud.ListRequest\x1a\x13.cloud.ListResponse\"\x00\x12:\n" +
|
|
"\aDirTree\x12\x15.cloud.DirTreeRequest\x1a\x16.cloud.DirTreeResponse\"\x00\x129\n" +
|
|
"\bDownload\x12\x16.cloud.DownloadRequest\x1a\x13.cloud.ListResponse\"\x00\x121\n" +
|
|
"\x04Make\x12\x12.cloud.MakeRequest\x1a\x13.cloud.MakeResponse\"\x00\x12.\n" +
|
|
"\x06Rename\x12\x14.cloud.RenameRequest\x1a\f.cloud.Empty\"\x00\x12.\n" +
|
|
"\x06Remove\x12\x14.cloud.RemoveRequest\x1a\f.cloud.Empty\"\x00\x12*\n" +
|
|
"\x04Move\x12\x12.cloud.MoveRequest\x1a\f.cloud.Empty\"\x00\x12*\n" +
|
|
"\x04Copy\x12\x12.cloud.CopyRequest\x1a\f.cloud.Empty\"\x00\x124\n" +
|
|
"\x05Share\x12\x13.cloud.ShareRequest\x1a\x14.cloud.ShareResponse\"\x00\x12C\n" +
|
|
"\n" +
|
|
"ParseShare\x12\x18.cloud.ParseShareRequest\x1a\x19.cloud.ParseShareResponse\"\x00B\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, 18)
|
|
var file_disk_proto_goTypes = []any{
|
|
(*Empty)(nil), // 0: cloud.Empty
|
|
(*ListRequest)(nil), // 1: cloud.ListRequest
|
|
(*ListResponse)(nil), // 2: cloud.ListResponse
|
|
(*DirTreeRequest)(nil), // 3: cloud.DirTreeRequest
|
|
(*DirTreeResponse)(nil), // 4: cloud.DirTreeResponse
|
|
(*DownloadRequest)(nil), // 5: cloud.DownloadRequest
|
|
(*UserFile)(nil), // 6: cloud.UserFile
|
|
(*File)(nil), // 7: cloud.File
|
|
(*MakeRequest)(nil), // 8: cloud.MakeRequest
|
|
(*MakeResponse)(nil), // 9: cloud.MakeResponse
|
|
(*RenameRequest)(nil), // 10: cloud.RenameRequest
|
|
(*RemoveRequest)(nil), // 11: cloud.RemoveRequest
|
|
(*MoveRequest)(nil), // 12: cloud.MoveRequest
|
|
(*CopyRequest)(nil), // 13: cloud.CopyRequest
|
|
(*ShareRequest)(nil), // 14: cloud.ShareRequest
|
|
(*ShareResponse)(nil), // 15: cloud.ShareResponse
|
|
(*ParseShareRequest)(nil), // 16: cloud.ParseShareRequest
|
|
(*ParseShareResponse)(nil), // 17: cloud.ParseShareResponse
|
|
}
|
|
var file_disk_proto_depIdxs = []int32{
|
|
6, // 0: cloud.ListResponse.list:type_name -> cloud.UserFile
|
|
6, // 1: cloud.DirTreeResponse.list:type_name -> cloud.UserFile
|
|
7, // 2: cloud.UserFile.file:type_name -> cloud.File
|
|
6, // 3: cloud.UserFile.children:type_name -> cloud.UserFile
|
|
6, // 4: cloud.ParseShareResponse.list:type_name -> cloud.UserFile
|
|
1, // 5: cloud.Disk.List:input_type -> cloud.ListRequest
|
|
3, // 6: cloud.Disk.DirTree:input_type -> cloud.DirTreeRequest
|
|
5, // 7: cloud.Disk.Download:input_type -> cloud.DownloadRequest
|
|
8, // 8: cloud.Disk.Make:input_type -> cloud.MakeRequest
|
|
10, // 9: cloud.Disk.Rename:input_type -> cloud.RenameRequest
|
|
11, // 10: cloud.Disk.Remove:input_type -> cloud.RemoveRequest
|
|
12, // 11: cloud.Disk.Move:input_type -> cloud.MoveRequest
|
|
13, // 12: cloud.Disk.Copy:input_type -> cloud.CopyRequest
|
|
14, // 13: cloud.Disk.Share:input_type -> cloud.ShareRequest
|
|
16, // 14: cloud.Disk.ParseShare:input_type -> cloud.ParseShareRequest
|
|
2, // 15: cloud.Disk.List:output_type -> cloud.ListResponse
|
|
4, // 16: cloud.Disk.DirTree:output_type -> cloud.DirTreeResponse
|
|
2, // 17: cloud.Disk.Download:output_type -> cloud.ListResponse
|
|
9, // 18: cloud.Disk.Make:output_type -> cloud.MakeResponse
|
|
0, // 19: cloud.Disk.Rename:output_type -> cloud.Empty
|
|
0, // 20: cloud.Disk.Remove:output_type -> cloud.Empty
|
|
0, // 21: cloud.Disk.Move:output_type -> cloud.Empty
|
|
0, // 22: cloud.Disk.Copy:output_type -> cloud.Empty
|
|
15, // 23: cloud.Disk.Share:output_type -> cloud.ShareResponse
|
|
17, // 24: cloud.Disk.ParseShare:output_type -> cloud.ParseShareResponse
|
|
15, // [15:25] is the sub-list for method output_type
|
|
5, // [5:15] 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_disk_proto_init() }
|
|
func file_disk_proto_init() {
|
|
if File_disk_proto != nil {
|
|
return
|
|
}
|
|
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: 18,
|
|
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
|
|
}
|