userfile

package
v0.0.0-...-945e710 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

View Source
const (
	PubUserFile_Create_FullMethodName                    = "/v6.services.pub.PubUserFile/Create"
	PubUserFile_Get_FullMethodName                       = "/v6.services.pub.PubUserFile/Get"
	PubUserFile_Rename_FullMethodName                    = "/v6.services.pub.PubUserFile/Rename"
	PubUserFile_Trash_FullMethodName                     = "/v6.services.pub.PubUserFile/Trash"
	PubUserFile_Move_FullMethodName                      = "/v6.services.pub.PubUserFile/Move"
	PubUserFile_Copy_FullMethodName                      = "/v6.services.pub.PubUserFile/Copy"
	PubUserFile_Delete_FullMethodName                    = "/v6.services.pub.PubUserFile/Delete"
	PubUserFile_DeleteTrash_FullMethodName               = "/v6.services.pub.PubUserFile/DeleteTrash"
	PubUserFile_Recover_FullMethodName                   = "/v6.services.pub.PubUserFile/Recover"
	PubUserFile_BatchRename_FullMethodName               = "/v6.services.pub.PubUserFile/BatchRename"
	PubUserFile_BatchOperation_FullMethodName            = "/v6.services.pub.PubUserFile/BatchOperation"
	PubUserFile_List_FullMethodName                      = "/v6.services.pub.PubUserFile/List"
	PubUserFile_ListTrash_FullMethodName                 = "/v6.services.pub.PubUserFile/ListTrash"
	PubUserFile_Search_FullMethodName                    = "/v6.services.pub.PubUserFile/Search"
	PubUserFile_CreateManageRTCOffer_FullMethodName      = "/v6.services.pub.PubUserFile/CreateManageRTCOffer"
	PubUserFile_SendClientIceCandidate_FullMethodName    = "/v6.services.pub.PubUserFile/SendClientIceCandidate"
	PubUserFile_GetServerIceCandidate_FullMethodName     = "/v6.services.pub.PubUserFile/GetServerIceCandidate"
	PubUserFile_ParseFileSlice_FullMethodName            = "/v6.services.pub.PubUserFile/ParseFileSlice"
	PubUserFile_GetSliceDownloadAddress_FullMethodName   = "/v6.services.pub.PubUserFile/GetSliceDownloadAddress"
	PubUserFile_GetDownloadAndPreviewInfo_FullMethodName = "/v6.services.pub.PubUserFile/GetDownloadAndPreviewInfo"
	PubUserFile_PreviewDoc_FullMethodName                = "/v6.services.pub.PubUserFile/PreviewDoc"
	PubUserFile_CreateDoc_FullMethodName                 = "/v6.services.pub.PubUserFile/CreateDoc"
	PubUserFile_CreateUploadToken_FullMethodName         = "/v6.services.pub.PubUserFile/CreateUploadToken"
	PubUserFile_CreateUploadTask_FullMethodName          = "/v6.services.pub.PubUserFile/CreateUploadTask"
)

Variables

View Source
var File_userfile_public_user_file_proto protoreflect.FileDescriptor
View Source
var PubUserFile_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v6.services.pub.PubUserFile",
	HandlerType: (*PubUserFileServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _PubUserFile_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _PubUserFile_Get_Handler,
		},
		{
			MethodName: "Rename",
			Handler:    _PubUserFile_Rename_Handler,
		},
		{
			MethodName: "Trash",
			Handler:    _PubUserFile_Trash_Handler,
		},
		{
			MethodName: "Move",
			Handler:    _PubUserFile_Move_Handler,
		},
		{
			MethodName: "Copy",
			Handler:    _PubUserFile_Copy_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PubUserFile_Delete_Handler,
		},
		{
			MethodName: "DeleteTrash",
			Handler:    _PubUserFile_DeleteTrash_Handler,
		},
		{
			MethodName: "Recover",
			Handler:    _PubUserFile_Recover_Handler,
		},
		{
			MethodName: "BatchRename",
			Handler:    _PubUserFile_BatchRename_Handler,
		},
		{
			MethodName: "BatchOperation",
			Handler:    _PubUserFile_BatchOperation_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PubUserFile_List_Handler,
		},
		{
			MethodName: "ListTrash",
			Handler:    _PubUserFile_ListTrash_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _PubUserFile_Search_Handler,
		},
		{
			MethodName: "CreateManageRTCOffer",
			Handler:    _PubUserFile_CreateManageRTCOffer_Handler,
		},
		{
			MethodName: "SendClientIceCandidate",
			Handler:    _PubUserFile_SendClientIceCandidate_Handler,
		},
		{
			MethodName: "GetServerIceCandidate",
			Handler:    _PubUserFile_GetServerIceCandidate_Handler,
		},
		{
			MethodName: "ParseFileSlice",
			Handler:    _PubUserFile_ParseFileSlice_Handler,
		},
		{
			MethodName: "GetSliceDownloadAddress",
			Handler:    _PubUserFile_GetSliceDownloadAddress_Handler,
		},
		{
			MethodName: "GetDownloadAndPreviewInfo",
			Handler:    _PubUserFile_GetDownloadAndPreviewInfo_Handler,
		},
		{
			MethodName: "PreviewDoc",
			Handler:    _PubUserFile_PreviewDoc_Handler,
		},
		{
			MethodName: "CreateDoc",
			Handler:    _PubUserFile_CreateDoc_Handler,
		},
		{
			MethodName: "CreateUploadToken",
			Handler:    _PubUserFile_CreateUploadToken_Handler,
		},
		{
			MethodName: "CreateUploadTask",
			Handler:    _PubUserFile_CreateUploadTask_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "userfile/public_user_file.proto",
}

PubUserFile_ServiceDesc is the grpc.ServiceDesc for PubUserFile service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPubUserFileServer

func RegisterPubUserFileServer(s grpc.ServiceRegistrar, srv PubUserFileServer)

Types

type BatchOperationRequest

type BatchOperationRequest struct {
	Source    []*File `protobuf:"bytes,1,rep,name=source,proto3" json:"source,omitempty"`
	Dest      *File   `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
	Operation int32   `protobuf:"varint,3,opt,name=operation,proto3" json:"operation,omitempty"`
	Flag      int32   `protobuf:"varint,4,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchOperationRequest) Descriptor deprecated

func (*BatchOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchOperationRequest.ProtoReflect.Descriptor instead.

func (*BatchOperationRequest) GetDest

func (x *BatchOperationRequest) GetDest() *File

func (*BatchOperationRequest) GetFlag

func (x *BatchOperationRequest) GetFlag() int32

func (*BatchOperationRequest) GetOperation

func (x *BatchOperationRequest) GetOperation() int32

func (*BatchOperationRequest) GetSource

func (x *BatchOperationRequest) GetSource() []*File

func (*BatchOperationRequest) ProtoMessage

func (*BatchOperationRequest) ProtoMessage()

func (*BatchOperationRequest) ProtoReflect

func (x *BatchOperationRequest) ProtoReflect() protoreflect.Message

func (*BatchOperationRequest) Reset

func (x *BatchOperationRequest) Reset()

func (*BatchOperationRequest) String

func (x *BatchOperationRequest) String() string

type BatchOperationResponse

type BatchOperationResponse struct {
	Task     string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
	Status   int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Affected int64  `protobuf:"varint,3,opt,name=affected,proto3" json:"affected,omitempty"`
	CreateTs int64  `protobuf:"varint,4,opt,name=create_ts,json=createTs,proto3" json:"create_ts,omitempty"`
	Progress int64  `protobuf:"varint,5,opt,name=progress,proto3" json:"progress,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchOperationResponse) Descriptor deprecated

func (*BatchOperationResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchOperationResponse.ProtoReflect.Descriptor instead.

func (*BatchOperationResponse) GetAffected

func (x *BatchOperationResponse) GetAffected() int64

func (*BatchOperationResponse) GetCreateTs

func (x *BatchOperationResponse) GetCreateTs() int64

func (*BatchOperationResponse) GetProgress

func (x *BatchOperationResponse) GetProgress() int64

func (*BatchOperationResponse) GetStatus

func (x *BatchOperationResponse) GetStatus() int32

func (*BatchOperationResponse) GetTask

func (x *BatchOperationResponse) GetTask() string

func (*BatchOperationResponse) ProtoMessage

func (*BatchOperationResponse) ProtoMessage()

func (*BatchOperationResponse) ProtoReflect

func (x *BatchOperationResponse) ProtoReflect() protoreflect.Message

func (*BatchOperationResponse) Reset

func (x *BatchOperationResponse) Reset()

func (*BatchOperationResponse) String

func (x *BatchOperationResponse) String() string

type DocFilePreview

type DocFilePreview struct {
	Identity       string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Parent         string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,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"`
	MimeType       string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Size           int64  `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	Type           int64  `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"`
	CanPreview     bool   `protobuf:"varint,9,opt,name=can_preview,json=canPreview,proto3" json:"can_preview,omitempty"`
	PreviewAddress string `protobuf:"bytes,10,opt,name=preview_address,json=previewAddress,proto3" json:"preview_address,omitempty"`
	PreviewToken   string `protobuf:"bytes,11,opt,name=preview_token,json=previewToken,proto3" json:"preview_token,omitempty"`
	CanEdit        bool   `protobuf:"varint,12,opt,name=can_edit,json=canEdit,proto3" json:"can_edit,omitempty"`
	EditAddress    string `protobuf:"bytes,13,opt,name=edit_address,json=editAddress,proto3" json:"edit_address,omitempty"`
	EditToken      string `protobuf:"bytes,14,opt,name=edit_token,json=editToken,proto3" json:"edit_token,omitempty"`
	// contains filtered or unexported fields
}

func (*DocFilePreview) Descriptor deprecated

func (*DocFilePreview) Descriptor() ([]byte, []int)

Deprecated: Use DocFilePreview.ProtoReflect.Descriptor instead.

func (*DocFilePreview) GetCanEdit

func (x *DocFilePreview) GetCanEdit() bool

func (*DocFilePreview) GetCanPreview

func (x *DocFilePreview) GetCanPreview() bool

func (*DocFilePreview) GetEditAddress

func (x *DocFilePreview) GetEditAddress() string

func (*DocFilePreview) GetEditToken

func (x *DocFilePreview) GetEditToken() string

func (*DocFilePreview) GetIdentity

func (x *DocFilePreview) GetIdentity() string

func (*DocFilePreview) GetMimeType

func (x *DocFilePreview) GetMimeType() string

func (*DocFilePreview) GetName

func (x *DocFilePreview) GetName() string

func (*DocFilePreview) GetParent

func (x *DocFilePreview) GetParent() string

func (*DocFilePreview) GetPath

func (x *DocFilePreview) GetPath() string

func (*DocFilePreview) GetPreviewAddress

func (x *DocFilePreview) GetPreviewAddress() string

func (*DocFilePreview) GetPreviewToken

func (x *DocFilePreview) GetPreviewToken() string

func (*DocFilePreview) GetSize

func (x *DocFilePreview) GetSize() int64

func (*DocFilePreview) GetType

func (x *DocFilePreview) GetType() int64

func (*DocFilePreview) ProtoMessage

func (*DocFilePreview) ProtoMessage()

func (*DocFilePreview) ProtoReflect

func (x *DocFilePreview) ProtoReflect() protoreflect.Message

func (*DocFilePreview) Reset

func (x *DocFilePreview) Reset()

func (*DocFilePreview) String

func (x *DocFilePreview) String() string

type DownloadAndPreviewInfo

type DownloadAndPreviewInfo struct {
	Identity              string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Parent                string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,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"`
	MimeType              string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Size                  int64  `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	Type                  int64  `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"`
	CanPreview            bool   `protobuf:"varint,9,opt,name=can_preview,json=canPreview,proto3" json:"can_preview,omitempty"`
	CanEdit               bool   `protobuf:"varint,10,opt,name=can_edit,json=canEdit,proto3" json:"can_edit,omitempty"`
	PreviewType           int32  `protobuf:"varint,11,opt,name=preview_type,json=previewType,proto3" json:"preview_type,omitempty"`
	DownloadType          int32  `protobuf:"varint,12,opt,name=download_type,json=downloadType,proto3" json:"download_type,omitempty"`
	Sha1                  string `protobuf:"bytes,13,opt,name=sha1,proto3" json:"sha1,omitempty"`
	CanDownload           bool   `protobuf:"varint,14,opt,name=can_download,json=canDownload,proto3" json:"can_download,omitempty"`
	CannotDownloadMessage string `` /* 127-byte string literal not displayed */
	ContentIdentity       string `protobuf:"bytes,16,opt,name=content_identity,json=contentIdentity,proto3" json:"content_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadAndPreviewInfo) Descriptor deprecated

func (*DownloadAndPreviewInfo) Descriptor() ([]byte, []int)

Deprecated: Use DownloadAndPreviewInfo.ProtoReflect.Descriptor instead.

func (*DownloadAndPreviewInfo) GetCanDownload

func (x *DownloadAndPreviewInfo) GetCanDownload() bool

func (*DownloadAndPreviewInfo) GetCanEdit

func (x *DownloadAndPreviewInfo) GetCanEdit() bool

func (*DownloadAndPreviewInfo) GetCanPreview

func (x *DownloadAndPreviewInfo) GetCanPreview() bool

func (*DownloadAndPreviewInfo) GetCannotDownloadMessage

func (x *DownloadAndPreviewInfo) GetCannotDownloadMessage() string

func (*DownloadAndPreviewInfo) GetContentIdentity

func (x *DownloadAndPreviewInfo) GetContentIdentity() string

func (*DownloadAndPreviewInfo) GetDownloadType

func (x *DownloadAndPreviewInfo) GetDownloadType() int32

func (*DownloadAndPreviewInfo) GetIdentity

func (x *DownloadAndPreviewInfo) GetIdentity() string

func (*DownloadAndPreviewInfo) GetMimeType

func (x *DownloadAndPreviewInfo) GetMimeType() string

func (*DownloadAndPreviewInfo) GetName

func (x *DownloadAndPreviewInfo) GetName() string

func (*DownloadAndPreviewInfo) GetParent

func (x *DownloadAndPreviewInfo) GetParent() string

func (*DownloadAndPreviewInfo) GetPath

func (x *DownloadAndPreviewInfo) GetPath() string

func (*DownloadAndPreviewInfo) GetPreviewType

func (x *DownloadAndPreviewInfo) GetPreviewType() int32

func (*DownloadAndPreviewInfo) GetSha1

func (x *DownloadAndPreviewInfo) GetSha1() string

func (*DownloadAndPreviewInfo) GetSize

func (x *DownloadAndPreviewInfo) GetSize() int64

func (*DownloadAndPreviewInfo) GetType

func (x *DownloadAndPreviewInfo) GetType() int64

func (*DownloadAndPreviewInfo) ProtoMessage

func (*DownloadAndPreviewInfo) ProtoMessage()

func (*DownloadAndPreviewInfo) ProtoReflect

func (x *DownloadAndPreviewInfo) ProtoReflect() protoreflect.Message

func (*DownloadAndPreviewInfo) Reset

func (x *DownloadAndPreviewInfo) Reset()

func (*DownloadAndPreviewInfo) String

func (x *DownloadAndPreviewInfo) String() string

type File

type File struct {
	Identity        string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Parent          string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,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"`
	MimeType        string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Size            int64  `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	Type            int64  `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"`
	CreateTs        int64  `protobuf:"varint,9,opt,name=create_ts,json=createTs,proto3" json:"create_ts,omitempty"`
	UpdateTs        int64  `protobuf:"varint,10,opt,name=update_ts,json=updateTs,proto3" json:"update_ts,omitempty"`
	DeleteTs        int64  `protobuf:"varint,11,opt,name=delete_ts,json=deleteTs,proto3" json:"delete_ts,omitempty"`
	Deleted         bool   `protobuf:"varint,12,opt,name=deleted,proto3" json:"deleted,omitempty"`
	Dir             bool   `protobuf:"varint,13,opt,name=dir,proto3" json:"dir,omitempty"`
	Hidden          bool   `protobuf:"varint,14,opt,name=hidden,proto3" json:"hidden,omitempty"`
	Locked          bool   `protobuf:"varint,15,opt,name=locked,proto3" json:"locked,omitempty"`
	Shared          bool   `protobuf:"varint,16,opt,name=shared,proto3" json:"shared,omitempty"`
	Starred         bool   `protobuf:"varint,17,opt,name=starred,proto3" json:"starred,omitempty"`
	Trashed         bool   `protobuf:"varint,18,opt,name=trashed,proto3" json:"trashed,omitempty"`
	LockedAt        int64  `protobuf:"varint,19,opt,name=locked_at,json=lockedAt,proto3" json:"locked_at,omitempty"`
	LockedBy        string `protobuf:"bytes,20,opt,name=locked_by,json=lockedBy,proto3" json:"locked_by,omitempty"`
	SharedAt        int64  `protobuf:"varint,21,opt,name=shared_at,json=sharedAt,proto3" json:"shared_at,omitempty"`
	Flag            int64  `protobuf:"varint,22,opt,name=flag,proto3" json:"flag,omitempty"`
	Unique          string `protobuf:"bytes,23,opt,name=unique,proto3" json:"unique,omitempty"`
	ContentIdentity string `protobuf:"bytes,24,opt,name=content_identity,json=contentIdentity,proto3" json:"content_identity,omitempty"`
	Label           int64  `protobuf:"varint,25,opt,name=label,proto3" json:"label,omitempty"`
	StoreType       int64  `protobuf:"varint,26,opt,name=store_type,json=storeType,proto3" json:"store_type,omitempty"`
	Version         int64  `protobuf:"varint,27,opt,name=version,proto3" json:"version,omitempty"`
	Files           int64  `protobuf:"varint,28,opt,name=files,proto3" json:"files,omitempty"`
	Direcotries     int64  `protobuf:"varint,29,opt,name=direcotries,proto3" json:"direcotries,omitempty"`
	Nodes           int64  `protobuf:"varint,30,opt,name=nodes,proto3" json:"nodes,omitempty"`
	SortName        string `protobuf:"bytes,31,opt,name=sort_name,json=sortName,proto3" json:"sort_name,omitempty"`
	// contains filtered or unexported fields
}

func (*File) Descriptor deprecated

func (*File) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetContentIdentity

func (x *File) GetContentIdentity() string

func (*File) GetCreateTs

func (x *File) GetCreateTs() int64

func (*File) GetDeleteTs

func (x *File) GetDeleteTs() int64

func (*File) GetDeleted

func (x *File) GetDeleted() bool

func (*File) GetDir

func (x *File) GetDir() bool

func (*File) GetDirecotries

func (x *File) GetDirecotries() int64

func (*File) GetFiles

func (x *File) GetFiles() int64

func (*File) GetFlag

func (x *File) GetFlag() int64

func (*File) GetHidden

func (x *File) GetHidden() bool

func (*File) GetIdentity

func (x *File) GetIdentity() string

func (*File) GetLabel

func (x *File) GetLabel() int64

func (*File) GetLocked

func (x *File) GetLocked() bool

func (*File) GetLockedAt

func (x *File) GetLockedAt() int64

func (*File) GetLockedBy

func (x *File) GetLockedBy() string

func (*File) GetMimeType

func (x *File) GetMimeType() string

func (*File) GetName

func (x *File) GetName() string

func (*File) GetNodes

func (x *File) GetNodes() int64

func (*File) GetParent

func (x *File) GetParent() string

func (*File) GetPath

func (x *File) GetPath() string

func (*File) GetShared

func (x *File) GetShared() bool

func (*File) GetSharedAt

func (x *File) GetSharedAt() int64

func (*File) GetSize

func (x *File) GetSize() int64

func (*File) GetSortName

func (x *File) GetSortName() string

func (*File) GetStarred

func (x *File) GetStarred() bool

func (*File) GetStoreType

func (x *File) GetStoreType() int64

func (*File) GetTrashed

func (x *File) GetTrashed() bool

func (*File) GetType

func (x *File) GetType() int64

func (*File) GetUnique

func (x *File) GetUnique() string

func (*File) GetUpdateTs

func (x *File) GetUpdateTs() int64

func (*File) GetVersion

func (x *File) GetVersion() int64

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type FileListRequest

type FileListRequest struct {
	Parent   *File                   `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Filter   *File                   `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	ListInfo *common.ScanListRequest `protobuf:"bytes,3,opt,name=list_info,json=listInfo,proto3" json:"list_info,omitempty"`
	// contains filtered or unexported fields
}

func (*FileListRequest) Descriptor deprecated

func (*FileListRequest) Descriptor() ([]byte, []int)

Deprecated: Use FileListRequest.ProtoReflect.Descriptor instead.

func (*FileListRequest) GetFilter

func (x *FileListRequest) GetFilter() *File

func (*FileListRequest) GetListInfo

func (x *FileListRequest) GetListInfo() *common.ScanListRequest

func (*FileListRequest) GetParent

func (x *FileListRequest) GetParent() *File

func (*FileListRequest) ProtoMessage

func (*FileListRequest) ProtoMessage()

func (*FileListRequest) ProtoReflect

func (x *FileListRequest) ProtoReflect() protoreflect.Message

func (*FileListRequest) Reset

func (x *FileListRequest) Reset()

func (*FileListRequest) String

func (x *FileListRequest) String() string

type FileListResponse

type FileListResponse struct {
	Files    []*File                 `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	ListInfo *common.ScanListRequest `protobuf:"bytes,2,opt,name=list_info,json=listInfo,proto3" json:"list_info,omitempty"`
	// contains filtered or unexported fields
}

func (*FileListResponse) Descriptor deprecated

func (*FileListResponse) Descriptor() ([]byte, []int)

Deprecated: Use FileListResponse.ProtoReflect.Descriptor instead.

func (*FileListResponse) GetFiles

func (x *FileListResponse) GetFiles() []*File

func (*FileListResponse) GetListInfo

func (x *FileListResponse) GetListInfo() *common.ScanListRequest

func (*FileListResponse) ProtoMessage

func (*FileListResponse) ProtoMessage()

func (*FileListResponse) ProtoReflect

func (x *FileListResponse) ProtoReflect() protoreflect.Message

func (*FileListResponse) Reset

func (x *FileListResponse) Reset()

func (*FileListResponse) String

func (x *FileListResponse) String() string

type GetIceCandidateRequest

type GetIceCandidateRequest struct {

	// string content_identity = 1;
	ClientIdentity string `protobuf:"bytes,1,opt,name=client_identity,json=clientIdentity,proto3" json:"client_identity,omitempty"`
	Candidate      string `protobuf:"bytes,2,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIceCandidateRequest) Descriptor deprecated

func (*GetIceCandidateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIceCandidateRequest.ProtoReflect.Descriptor instead.

func (*GetIceCandidateRequest) GetCandidate

func (x *GetIceCandidateRequest) GetCandidate() string

func (*GetIceCandidateRequest) GetClientIdentity

func (x *GetIceCandidateRequest) GetClientIdentity() string

func (*GetIceCandidateRequest) ProtoMessage

func (*GetIceCandidateRequest) ProtoMessage()

func (*GetIceCandidateRequest) ProtoReflect

func (x *GetIceCandidateRequest) ProtoReflect() protoreflect.Message

func (*GetIceCandidateRequest) Reset

func (x *GetIceCandidateRequest) Reset()

func (*GetIceCandidateRequest) String

func (x *GetIceCandidateRequest) String() string

type GetIceCandidateResponse

type GetIceCandidateResponse struct {

	// string content_identity = 1;
	ClientIdentity string   `protobuf:"bytes,1,opt,name=client_identity,json=clientIdentity,proto3" json:"client_identity,omitempty"`
	Candidate      []string `protobuf:"bytes,2,rep,name=candidate,proto3" json:"candidate,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIceCandidateResponse) Descriptor deprecated

func (*GetIceCandidateResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetIceCandidateResponse.ProtoReflect.Descriptor instead.

func (*GetIceCandidateResponse) GetCandidate

func (x *GetIceCandidateResponse) GetCandidate() []string

func (*GetIceCandidateResponse) GetClientIdentity

func (x *GetIceCandidateResponse) GetClientIdentity() string

func (*GetIceCandidateResponse) ProtoMessage

func (*GetIceCandidateResponse) ProtoMessage()

func (*GetIceCandidateResponse) ProtoReflect

func (x *GetIceCandidateResponse) ProtoReflect() protoreflect.Message

func (*GetIceCandidateResponse) Reset

func (x *GetIceCandidateResponse) Reset()

func (*GetIceCandidateResponse) String

func (x *GetIceCandidateResponse) String() string

type ManageRTCRequest

type ManageRTCRequest struct {

	// string content_identity = 1;
	Sdp            string `protobuf:"bytes,1,opt,name=sdp,proto3" json:"sdp,omitempty"`
	Offer          string `protobuf:"bytes,2,opt,name=offer,proto3" json:"offer,omitempty"`
	ClientIdentity string `protobuf:"bytes,3,opt,name=client_identity,json=clientIdentity,proto3" json:"client_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*ManageRTCRequest) Descriptor deprecated

func (*ManageRTCRequest) Descriptor() ([]byte, []int)

Deprecated: Use ManageRTCRequest.ProtoReflect.Descriptor instead.

func (*ManageRTCRequest) GetClientIdentity

func (x *ManageRTCRequest) GetClientIdentity() string

func (*ManageRTCRequest) GetOffer

func (x *ManageRTCRequest) GetOffer() string

func (*ManageRTCRequest) GetSdp

func (x *ManageRTCRequest) GetSdp() string

func (*ManageRTCRequest) ProtoMessage

func (*ManageRTCRequest) ProtoMessage()

func (*ManageRTCRequest) ProtoReflect

func (x *ManageRTCRequest) ProtoReflect() protoreflect.Message

func (*ManageRTCRequest) Reset

func (x *ManageRTCRequest) Reset()

func (*ManageRTCRequest) String

func (x *ManageRTCRequest) String() string

type ManageRTCResponse

type ManageRTCResponse struct {

	// string content_identity = 1;
	FileSize   int64  `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	EncodeKey  string `protobuf:"bytes,2,opt,name=encode_key,json=encodeKey,proto3" json:"encode_key,omitempty"`
	Sdp        string `protobuf:"bytes,3,opt,name=sdp,proto3" json:"sdp,omitempty"`
	Name       string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Connection string `protobuf:"bytes,5,opt,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

func (*ManageRTCResponse) Descriptor deprecated

func (*ManageRTCResponse) Descriptor() ([]byte, []int)

Deprecated: Use ManageRTCResponse.ProtoReflect.Descriptor instead.

func (*ManageRTCResponse) GetConnection

func (x *ManageRTCResponse) GetConnection() string

func (*ManageRTCResponse) GetEncodeKey

func (x *ManageRTCResponse) GetEncodeKey() string

func (*ManageRTCResponse) GetFileSize

func (x *ManageRTCResponse) GetFileSize() int64

func (*ManageRTCResponse) GetName

func (x *ManageRTCResponse) GetName() string

func (*ManageRTCResponse) GetSdp

func (x *ManageRTCResponse) GetSdp() string

func (*ManageRTCResponse) ProtoMessage

func (*ManageRTCResponse) ProtoMessage()

func (*ManageRTCResponse) ProtoReflect

func (x *ManageRTCResponse) ProtoReflect() protoreflect.Message

func (*ManageRTCResponse) Reset

func (x *ManageRTCResponse) Reset()

func (*ManageRTCResponse) String

func (x *ManageRTCResponse) String() string

type ParseFileSliceResponse

type ParseFileSliceResponse struct {
	ContentIdentity string       `protobuf:"bytes,1,opt,name=content_identity,json=contentIdentity,proto3" json:"content_identity,omitempty"`
	MetaNodes       []string     `protobuf:"bytes,2,rep,name=meta_nodes,json=metaNodes,proto3" json:"meta_nodes,omitempty"`
	RawNodes        []string     `protobuf:"bytes,3,rep,name=raw_nodes,json=rawNodes,proto3" json:"raw_nodes,omitempty"`
	FileSize        int64        `protobuf:"varint,4,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	Sizes           []*SliceSize `protobuf:"bytes,5,rep,name=sizes,proto3" json:"sizes,omitempty"`
	Sha1            string       `protobuf:"bytes,6,opt,name=sha1,proto3" json:"sha1,omitempty"`
	WcsEtag         string       `protobuf:"bytes,7,opt,name=wcs_etag,json=wcsEtag,proto3" json:"wcs_etag,omitempty"`
	Name            string       `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	Path            string       `protobuf:"bytes,9,opt,name=path,proto3" json:"path,omitempty"`
	StoreType       int64        `protobuf:"varint,10,opt,name=store_type,json=storeType,proto3" json:"store_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseFileSliceResponse) Descriptor deprecated

func (*ParseFileSliceResponse) Descriptor() ([]byte, []int)

Deprecated: Use ParseFileSliceResponse.ProtoReflect.Descriptor instead.

func (*ParseFileSliceResponse) GetContentIdentity

func (x *ParseFileSliceResponse) GetContentIdentity() string

func (*ParseFileSliceResponse) GetFileSize

func (x *ParseFileSliceResponse) GetFileSize() int64

func (*ParseFileSliceResponse) GetMetaNodes

func (x *ParseFileSliceResponse) GetMetaNodes() []string

func (*ParseFileSliceResponse) GetName

func (x *ParseFileSliceResponse) GetName() string

func (*ParseFileSliceResponse) GetPath

func (x *ParseFileSliceResponse) GetPath() string

func (*ParseFileSliceResponse) GetRawNodes

func (x *ParseFileSliceResponse) GetRawNodes() []string

func (*ParseFileSliceResponse) GetSha1

func (x *ParseFileSliceResponse) GetSha1() string

func (*ParseFileSliceResponse) GetSizes

func (x *ParseFileSliceResponse) GetSizes() []*SliceSize

func (*ParseFileSliceResponse) GetStoreType

func (x *ParseFileSliceResponse) GetStoreType() int64

func (*ParseFileSliceResponse) GetWcsEtag

func (x *ParseFileSliceResponse) GetWcsEtag() string

func (*ParseFileSliceResponse) ProtoMessage

func (*ParseFileSliceResponse) ProtoMessage()

func (*ParseFileSliceResponse) ProtoReflect

func (x *ParseFileSliceResponse) ProtoReflect() protoreflect.Message

func (*ParseFileSliceResponse) Reset

func (x *ParseFileSliceResponse) Reset()

func (*ParseFileSliceResponse) String

func (x *ParseFileSliceResponse) String() string

type PubUserFileClient

type PubUserFileClient interface {
	Create(ctx context.Context, in *File, opts ...grpc.CallOption) (*File, error)
	Get(ctx context.Context, in *File, opts ...grpc.CallOption) (*File, error)
	// rpc Update (File) returns (File) {}
	Rename(ctx context.Context, in *File, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	Trash(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	Move(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	Copy(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	Delete(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	DeleteTrash(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	Recover(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	BatchRename(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	BatchOperation(ctx context.Context, in *BatchOperationRequest, opts ...grpc.CallOption) (*BatchOperationResponse, error)
	List(ctx context.Context, in *FileListRequest, opts ...grpc.CallOption) (*FileListResponse, error)
	ListTrash(ctx context.Context, in *FileListRequest, opts ...grpc.CallOption) (*FileListResponse, error)
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*FileListResponse, error)
	CreateManageRTCOffer(ctx context.Context, in *ManageRTCRequest, opts ...grpc.CallOption) (*ManageRTCResponse, error)
	SendClientIceCandidate(ctx context.Context, in *SendIceCandidateRequest, opts ...grpc.CallOption) (*SendIceCandidateResponse, error)
	GetServerIceCandidate(ctx context.Context, in *GetIceCandidateRequest, opts ...grpc.CallOption) (*GetIceCandidateResponse, error)
	ParseFileSlice(ctx context.Context, in *File, opts ...grpc.CallOption) (*ParseFileSliceResponse, error)
	GetSliceDownloadAddress(ctx context.Context, in *SliceDownloadAddressRequest, opts ...grpc.CallOption) (*SliceDownloadAddressResponse, error)
	GetDownloadAndPreviewInfo(ctx context.Context, in *File, opts ...grpc.CallOption) (*DownloadAndPreviewInfo, error)
	PreviewDoc(ctx context.Context, in *File, opts ...grpc.CallOption) (*DocFilePreview, error)
	CreateDoc(ctx context.Context, in *File, opts ...grpc.CallOption) (*DocFilePreview, error)
	CreateUploadToken(ctx context.Context, in *File, opts ...grpc.CallOption) (*UploadToken, error)
	CreateUploadTask(ctx context.Context, in *File, opts ...grpc.CallOption) (*UploadTask, error)
}

PubUserFileClient is the client API for PubUserFile service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PubUserFileServer

type PubUserFileServer interface {
	Create(context.Context, *File) (*File, error)
	Get(context.Context, *File) (*File, error)
	// rpc Update (File) returns (File) {}
	Rename(context.Context, *File) (*BatchOperationResponse, error)
	Trash(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	Move(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	Copy(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	Delete(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	DeleteTrash(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	Recover(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	BatchRename(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	BatchOperation(context.Context, *BatchOperationRequest) (*BatchOperationResponse, error)
	List(context.Context, *FileListRequest) (*FileListResponse, error)
	ListTrash(context.Context, *FileListRequest) (*FileListResponse, error)
	Search(context.Context, *SearchRequest) (*FileListResponse, error)
	CreateManageRTCOffer(context.Context, *ManageRTCRequest) (*ManageRTCResponse, error)
	SendClientIceCandidate(context.Context, *SendIceCandidateRequest) (*SendIceCandidateResponse, error)
	GetServerIceCandidate(context.Context, *GetIceCandidateRequest) (*GetIceCandidateResponse, error)
	ParseFileSlice(context.Context, *File) (*ParseFileSliceResponse, error)
	GetSliceDownloadAddress(context.Context, *SliceDownloadAddressRequest) (*SliceDownloadAddressResponse, error)
	GetDownloadAndPreviewInfo(context.Context, *File) (*DownloadAndPreviewInfo, error)
	PreviewDoc(context.Context, *File) (*DocFilePreview, error)
	CreateDoc(context.Context, *File) (*DocFilePreview, error)
	CreateUploadToken(context.Context, *File) (*UploadToken, error)
	CreateUploadTask(context.Context, *File) (*UploadTask, error)
	// contains filtered or unexported methods
}

PubUserFileServer is the server API for PubUserFile service. All implementations must embed UnimplementedPubUserFileServer for forward compatibility.

type SearchRequest

type SearchRequest struct {
	Name     string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ListInfo *common.ScanListRequest `protobuf:"bytes,3,opt,name=list_info,json=listInfo,proto3" json:"list_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetListInfo

func (x *SearchRequest) GetListInfo() *common.ScanListRequest

func (*SearchRequest) GetName

func (x *SearchRequest) GetName() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SendIceCandidateRequest

type SendIceCandidateRequest struct {

	// string content_identity = 1;
	ClientIdentity string `protobuf:"bytes,1,opt,name=client_identity,json=clientIdentity,proto3" json:"client_identity,omitempty"`
	Candidate      string `protobuf:"bytes,2,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// contains filtered or unexported fields
}

func (*SendIceCandidateRequest) Descriptor deprecated

func (*SendIceCandidateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendIceCandidateRequest.ProtoReflect.Descriptor instead.

func (*SendIceCandidateRequest) GetCandidate

func (x *SendIceCandidateRequest) GetCandidate() string

func (*SendIceCandidateRequest) GetClientIdentity

func (x *SendIceCandidateRequest) GetClientIdentity() string

func (*SendIceCandidateRequest) ProtoMessage

func (*SendIceCandidateRequest) ProtoMessage()

func (*SendIceCandidateRequest) ProtoReflect

func (x *SendIceCandidateRequest) ProtoReflect() protoreflect.Message

func (*SendIceCandidateRequest) Reset

func (x *SendIceCandidateRequest) Reset()

func (*SendIceCandidateRequest) String

func (x *SendIceCandidateRequest) String() string

type SendIceCandidateResponse

type SendIceCandidateResponse struct {

	// string content_identity = 1;
	ClientIdentity string `protobuf:"bytes,1,opt,name=client_identity,json=clientIdentity,proto3" json:"client_identity,omitempty"`
	Candidate      string `protobuf:"bytes,2,opt,name=candidate,proto3" json:"candidate,omitempty"`
	// contains filtered or unexported fields
}

func (*SendIceCandidateResponse) Descriptor deprecated

func (*SendIceCandidateResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendIceCandidateResponse.ProtoReflect.Descriptor instead.

func (*SendIceCandidateResponse) GetCandidate

func (x *SendIceCandidateResponse) GetCandidate() string

func (*SendIceCandidateResponse) GetClientIdentity

func (x *SendIceCandidateResponse) GetClientIdentity() string

func (*SendIceCandidateResponse) ProtoMessage

func (*SendIceCandidateResponse) ProtoMessage()

func (*SendIceCandidateResponse) ProtoReflect

func (x *SendIceCandidateResponse) ProtoReflect() protoreflect.Message

func (*SendIceCandidateResponse) Reset

func (x *SendIceCandidateResponse) Reset()

func (*SendIceCandidateResponse) String

func (x *SendIceCandidateResponse) String() string

type SliceDownloadAddressRequest

type SliceDownloadAddressRequest struct {
	Identity []string `protobuf:"bytes,1,rep,name=identity,proto3" json:"identity,omitempty"`
	Version  int32    `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Filename string   `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	Flag     int64    `protobuf:"varint,4,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*SliceDownloadAddressRequest) Descriptor deprecated

func (*SliceDownloadAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use SliceDownloadAddressRequest.ProtoReflect.Descriptor instead.

func (*SliceDownloadAddressRequest) GetFilename

func (x *SliceDownloadAddressRequest) GetFilename() string

func (*SliceDownloadAddressRequest) GetFlag

func (x *SliceDownloadAddressRequest) GetFlag() int64

func (*SliceDownloadAddressRequest) GetIdentity

func (x *SliceDownloadAddressRequest) GetIdentity() []string

func (*SliceDownloadAddressRequest) GetVersion

func (x *SliceDownloadAddressRequest) GetVersion() int32

func (*SliceDownloadAddressRequest) ProtoMessage

func (*SliceDownloadAddressRequest) ProtoMessage()

func (*SliceDownloadAddressRequest) ProtoReflect

func (*SliceDownloadAddressRequest) Reset

func (x *SliceDownloadAddressRequest) Reset()

func (*SliceDownloadAddressRequest) String

func (x *SliceDownloadAddressRequest) String() string

type SliceDownloadAddressResponse

type SliceDownloadAddressResponse struct {
	Addresses      []*SliceDownloadInfo `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	ExpireAt       int64                `protobuf:"varint,2,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"`
	RequestAddress string               `protobuf:"bytes,3,opt,name=request_address,json=requestAddress,proto3" json:"request_address,omitempty"`
	Version        int32                `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*SliceDownloadAddressResponse) Descriptor deprecated

func (*SliceDownloadAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use SliceDownloadAddressResponse.ProtoReflect.Descriptor instead.

func (*SliceDownloadAddressResponse) GetAddresses

func (x *SliceDownloadAddressResponse) GetAddresses() []*SliceDownloadInfo

func (*SliceDownloadAddressResponse) GetExpireAt

func (x *SliceDownloadAddressResponse) GetExpireAt() int64

func (*SliceDownloadAddressResponse) GetRequestAddress

func (x *SliceDownloadAddressResponse) GetRequestAddress() string

func (*SliceDownloadAddressResponse) GetVersion

func (x *SliceDownloadAddressResponse) GetVersion() int32

func (*SliceDownloadAddressResponse) ProtoMessage

func (*SliceDownloadAddressResponse) ProtoMessage()

func (*SliceDownloadAddressResponse) ProtoReflect

func (*SliceDownloadAddressResponse) Reset

func (x *SliceDownloadAddressResponse) Reset()

func (*SliceDownloadAddressResponse) String

type SliceDownloadInfo

type SliceDownloadInfo struct {
	Identity        string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	DownloadAddress string `protobuf:"bytes,2,opt,name=download_address,json=downloadAddress,proto3" json:"download_address,omitempty"`
	DownloadToken   string `protobuf:"bytes,3,opt,name=download_token,json=downloadToken,proto3" json:"download_token,omitempty"`
	Encrypt         int32  `protobuf:"varint,4,opt,name=encrypt,proto3" json:"encrypt,omitempty"`
	StoreType       int64  `protobuf:"varint,5,opt,name=store_type,json=storeType,proto3" json:"store_type,omitempty"`
	// contains filtered or unexported fields
}

func (*SliceDownloadInfo) Descriptor deprecated

func (*SliceDownloadInfo) Descriptor() ([]byte, []int)

Deprecated: Use SliceDownloadInfo.ProtoReflect.Descriptor instead.

func (*SliceDownloadInfo) GetDownloadAddress

func (x *SliceDownloadInfo) GetDownloadAddress() string

func (*SliceDownloadInfo) GetDownloadToken

func (x *SliceDownloadInfo) GetDownloadToken() string

func (*SliceDownloadInfo) GetEncrypt

func (x *SliceDownloadInfo) GetEncrypt() int32

func (*SliceDownloadInfo) GetIdentity

func (x *SliceDownloadInfo) GetIdentity() string

func (*SliceDownloadInfo) GetStoreType

func (x *SliceDownloadInfo) GetStoreType() int64

func (*SliceDownloadInfo) ProtoMessage

func (*SliceDownloadInfo) ProtoMessage()

func (*SliceDownloadInfo) ProtoReflect

func (x *SliceDownloadInfo) ProtoReflect() protoreflect.Message

func (*SliceDownloadInfo) Reset

func (x *SliceDownloadInfo) Reset()

func (*SliceDownloadInfo) String

func (x *SliceDownloadInfo) String() string

type SliceSize

type SliceSize struct {
	StartIndex int64 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
	EndIndex   int64 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"`
	Size       int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*SliceSize) Descriptor deprecated

func (*SliceSize) Descriptor() ([]byte, []int)

Deprecated: Use SliceSize.ProtoReflect.Descriptor instead.

func (*SliceSize) GetEndIndex

func (x *SliceSize) GetEndIndex() int64

func (*SliceSize) GetSize

func (x *SliceSize) GetSize() int64

func (*SliceSize) GetStartIndex

func (x *SliceSize) GetStartIndex() int64

func (*SliceSize) ProtoMessage

func (*SliceSize) ProtoMessage()

func (*SliceSize) ProtoReflect

func (x *SliceSize) ProtoReflect() protoreflect.Message

func (*SliceSize) Reset

func (x *SliceSize) Reset()

func (*SliceSize) String

func (x *SliceSize) String() string

type UnimplementedPubUserFileServer

type UnimplementedPubUserFileServer struct{}

UnimplementedPubUserFileServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPubUserFileServer) BatchOperation

func (UnimplementedPubUserFileServer) BatchRename

func (UnimplementedPubUserFileServer) Copy

func (UnimplementedPubUserFileServer) Create

func (UnimplementedPubUserFileServer) CreateDoc

func (UnimplementedPubUserFileServer) CreateManageRTCOffer

func (UnimplementedPubUserFileServer) CreateUploadTask

func (UnimplementedPubUserFileServer) CreateUploadToken

func (UnimplementedPubUserFileServer) Delete

func (UnimplementedPubUserFileServer) DeleteTrash

func (UnimplementedPubUserFileServer) Get

func (UnimplementedPubUserFileServer) GetDownloadAndPreviewInfo

func (UnimplementedPubUserFileServer) GetServerIceCandidate

func (UnimplementedPubUserFileServer) List

func (UnimplementedPubUserFileServer) ListTrash

func (UnimplementedPubUserFileServer) Move

func (UnimplementedPubUserFileServer) ParseFileSlice

func (UnimplementedPubUserFileServer) PreviewDoc

func (UnimplementedPubUserFileServer) Recover

func (UnimplementedPubUserFileServer) Rename

func (UnimplementedPubUserFileServer) Search

func (UnimplementedPubUserFileServer) SendClientIceCandidate

func (UnimplementedPubUserFileServer) Trash

type UnsafePubUserFileServer

type UnsafePubUserFileServer interface {
	// contains filtered or unexported methods
}

UnsafePubUserFileServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PubUserFileServer will result in compilation errors.

type UploadTask

type UploadTask struct {
	Created       bool   `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"`
	UploadAddress string `protobuf:"bytes,2,opt,name=upload_address,json=uploadAddress,proto3" json:"upload_address,omitempty"`
	Task          string `protobuf:"bytes,3,opt,name=task,proto3" json:"task,omitempty"`
	UploadToken   string `protobuf:"bytes,4,opt,name=upload_token,json=uploadToken,proto3" json:"upload_token,omitempty"`
	UploadKey     string `protobuf:"bytes,5,opt,name=upload_key,json=uploadKey,proto3" json:"upload_key,omitempty"`
	AccessKey     string `protobuf:"bytes,10,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	SecretKey     string `protobuf:"bytes,11,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Bucket        string `protobuf:"bytes,12,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Region        string `protobuf:"bytes,13,opt,name=region,proto3" json:"region,omitempty"`
	Endpoint      string `protobuf:"bytes,14,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Key           string `protobuf:"bytes,15,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadTask) Descriptor deprecated

func (*UploadTask) Descriptor() ([]byte, []int)

Deprecated: Use UploadTask.ProtoReflect.Descriptor instead.

func (*UploadTask) GetAccessKey

func (x *UploadTask) GetAccessKey() string

func (*UploadTask) GetBucket

func (x *UploadTask) GetBucket() string

func (*UploadTask) GetCreated

func (x *UploadTask) GetCreated() bool

func (*UploadTask) GetEndpoint

func (x *UploadTask) GetEndpoint() string

func (*UploadTask) GetKey

func (x *UploadTask) GetKey() string

func (*UploadTask) GetRegion

func (x *UploadTask) GetRegion() string

func (*UploadTask) GetSecretKey

func (x *UploadTask) GetSecretKey() string

func (*UploadTask) GetTask

func (x *UploadTask) GetTask() string

func (*UploadTask) GetUploadAddress

func (x *UploadTask) GetUploadAddress() string

func (*UploadTask) GetUploadKey

func (x *UploadTask) GetUploadKey() string

func (*UploadTask) GetUploadToken

func (x *UploadTask) GetUploadToken() string

func (*UploadTask) ProtoMessage

func (*UploadTask) ProtoMessage()

func (*UploadTask) ProtoReflect

func (x *UploadTask) ProtoReflect() protoreflect.Message

func (*UploadTask) Reset

func (x *UploadTask) Reset()

func (*UploadTask) String

func (x *UploadTask) String() string

type UploadToken

type UploadToken struct {
	Token     string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	AccessKey string `protobuf:"bytes,10,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	SecretKey string `protobuf:"bytes,11,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Bucket    string `protobuf:"bytes,12,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Region    string `protobuf:"bytes,13,opt,name=region,proto3" json:"region,omitempty"`
	Endpoint  string `protobuf:"bytes,14,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Key       string `protobuf:"bytes,15,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadToken) Descriptor deprecated

func (*UploadToken) Descriptor() ([]byte, []int)

Deprecated: Use UploadToken.ProtoReflect.Descriptor instead.

func (*UploadToken) GetAccessKey

func (x *UploadToken) GetAccessKey() string

func (*UploadToken) GetBucket

func (x *UploadToken) GetBucket() string

func (*UploadToken) GetEndpoint

func (x *UploadToken) GetEndpoint() string

func (*UploadToken) GetKey

func (x *UploadToken) GetKey() string

func (*UploadToken) GetRegion

func (x *UploadToken) GetRegion() string

func (*UploadToken) GetSecretKey

func (x *UploadToken) GetSecretKey() string

func (*UploadToken) GetToken

func (x *UploadToken) GetToken() string

func (*UploadToken) ProtoMessage

func (*UploadToken) ProtoMessage()

func (*UploadToken) ProtoReflect

func (x *UploadToken) ProtoReflect() protoreflect.Message

func (*UploadToken) Reset

func (x *UploadToken) Reset()

func (*UploadToken) String

func (x *UploadToken) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳