file

package
v0.0.0-...-efc7672 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	File_GetUserFile_FullMethodName       = "/resource.api.file.File/GetUserFile"
	File_GetFileBytes_FullMethodName      = "/resource.api.file.File/GetFileBytes"
	File_ListUserFile_FullMethodName      = "/resource.api.file.File/ListUserFile"
	File_PrepareUploadFile_FullMethodName = "/resource.api.file.File/PrepareUploadFile"
	File_UploadFile_FullMethodName        = "/resource.api.file.File/UploadFile"
	File_UploadFileByURL_FullMethodName   = "/resource.api.file.File/UploadFileByURL"
	File_UpdateUserFile_FullMethodName    = "/resource.api.file.File/UpdateUserFile"
	File_DeleteUserFile_FullMethodName    = "/resource.api.file.File/DeleteUserFile"
)
View Source
const (
	OperationFileDeleteUserFile    = "/resource.api.file.File/DeleteUserFile"
	OperationFileGetUserFile       = "/resource.api.file.File/GetUserFile"
	OperationFileListUserFile      = "/resource.api.file.File/ListUserFile"
	OperationFilePrepareUploadFile = "/resource.api.file.File/PrepareUploadFile"
	OperationFileUpdateUserFile    = "/resource.api.file.File/UpdateUserFile"
)

Variables

View Source
var File_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "resource.api.file.File",
	HandlerType: (*FileServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserFile",
			Handler:    _File_GetUserFile_Handler,
		},
		{
			MethodName: "ListUserFile",
			Handler:    _File_ListUserFile_Handler,
		},
		{
			MethodName: "PrepareUploadFile",
			Handler:    _File_PrepareUploadFile_Handler,
		},
		{
			MethodName: "UploadFile",
			Handler:    _File_UploadFile_Handler,
		},
		{
			MethodName: "UploadFileByURL",
			Handler:    _File_UploadFileByURL_Handler,
		},
		{
			MethodName: "UpdateUserFile",
			Handler:    _File_UpdateUserFile_Handler,
		},
		{
			MethodName: "DeleteUserFile",
			Handler:    _File_DeleteUserFile_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetFileBytes",
			Handler:       _File_GetFileBytes_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/file/proto/file_service.proto",
}

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

View Source
var File_api_file_proto_file_proto protoreflect.FileDescriptor
View Source
var File_api_file_proto_file_service_proto protoreflect.FileDescriptor

Functions

func RegisterFileHTTPServer

func RegisterFileHTTPServer(s *http.Server, srv FileHTTPServer)

func RegisterFileServer

func RegisterFileServer(s grpc.ServiceRegistrar, srv FileServer)

Types

type DeleteUserFileReply

type DeleteUserFileReply struct {
	Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserFileReply) Descriptor deprecated

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

Deprecated: Use DeleteUserFileReply.ProtoReflect.Descriptor instead.

func (*DeleteUserFileReply) GetTotal

func (x *DeleteUserFileReply) GetTotal() uint32

func (*DeleteUserFileReply) ProtoMessage

func (*DeleteUserFileReply) ProtoMessage()

func (*DeleteUserFileReply) ProtoReflect

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

func (*DeleteUserFileReply) Reset

func (x *DeleteUserFileReply) Reset()

func (*DeleteUserFileReply) String

func (x *DeleteUserFileReply) String() string

func (*DeleteUserFileReply) Validate

func (m *DeleteUserFileReply) Validate() error

Validate checks the field values on DeleteUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserFileReply) ValidateAll

func (m *DeleteUserFileReply) ValidateAll() error

ValidateAll checks the field values on DeleteUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserFileReplyMultiError, or nil if none found.

type DeleteUserFileReplyMultiError

type DeleteUserFileReplyMultiError []error

DeleteUserFileReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserFileReply.ValidateAll() if the designated constraints aren't met.

func (DeleteUserFileReplyMultiError) AllErrors

func (m DeleteUserFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserFileReplyValidationError

type DeleteUserFileReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserFileReplyValidationError is the validation error returned by DeleteUserFileReply.Validate if the designated constraints aren't met.

func (DeleteUserFileReplyValidationError) Cause

Cause function returns cause value.

func (DeleteUserFileReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserFileReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserFileReplyValidationError) Field

Field function returns field value.

func (DeleteUserFileReplyValidationError) Key

Key function returns key value.

func (DeleteUserFileReplyValidationError) Reason

Reason function returns reason value.

type DeleteUserFileRequest

type DeleteUserFileRequest struct {
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserFileRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserFileRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserFileRequest) GetIds

func (x *DeleteUserFileRequest) GetIds() []uint32

func (*DeleteUserFileRequest) ProtoMessage

func (*DeleteUserFileRequest) ProtoMessage()

func (*DeleteUserFileRequest) ProtoReflect

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

func (*DeleteUserFileRequest) Reset

func (x *DeleteUserFileRequest) Reset()

func (*DeleteUserFileRequest) String

func (x *DeleteUserFileRequest) String() string

func (*DeleteUserFileRequest) Validate

func (m *DeleteUserFileRequest) Validate() error

Validate checks the field values on DeleteUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserFileRequest) ValidateAll

func (m *DeleteUserFileRequest) ValidateAll() error

ValidateAll checks the field values on DeleteUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserFileRequestMultiError, or nil if none found.

type DeleteUserFileRequestMultiError

type DeleteUserFileRequestMultiError []error

DeleteUserFileRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserFileRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteUserFileRequestMultiError) AllErrors

func (m DeleteUserFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserFileRequestValidationError

type DeleteUserFileRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserFileRequestValidationError is the validation error returned by DeleteUserFileRequest.Validate if the designated constraints aren't met.

func (DeleteUserFileRequestValidationError) Cause

Cause function returns cause value.

func (DeleteUserFileRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserFileRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserFileRequestValidationError) Field

Field function returns field value.

func (DeleteUserFileRequestValidationError) Key

Key function returns key value.

func (DeleteUserFileRequestValidationError) Reason

Reason function returns reason value.

type DownloadFileReply

type DownloadFileReply struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Mime string `protobuf:"bytes,2,opt,name=mime,proto3" json:"mime,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadFileReply) Descriptor deprecated

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

Deprecated: Use DownloadFileReply.ProtoReflect.Descriptor instead.

func (*DownloadFileReply) GetData

func (x *DownloadFileReply) GetData() []byte

func (*DownloadFileReply) GetMime

func (x *DownloadFileReply) GetMime() string

func (*DownloadFileReply) ProtoMessage

func (*DownloadFileReply) ProtoMessage()

func (*DownloadFileReply) ProtoReflect

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

func (*DownloadFileReply) Reset

func (x *DownloadFileReply) Reset()

func (*DownloadFileReply) String

func (x *DownloadFileReply) String() string

func (*DownloadFileReply) Validate

func (m *DownloadFileReply) Validate() error

Validate checks the field values on DownloadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadFileReply) ValidateAll

func (m *DownloadFileReply) ValidateAll() error

ValidateAll checks the field values on DownloadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadFileReplyMultiError, or nil if none found.

type DownloadFileReplyMultiError

type DownloadFileReplyMultiError []error

DownloadFileReplyMultiError is an error wrapping multiple validation errors returned by DownloadFileReply.ValidateAll() if the designated constraints aren't met.

func (DownloadFileReplyMultiError) AllErrors

func (m DownloadFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DownloadFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadFileReplyValidationError

type DownloadFileReplyValidationError struct {
	// contains filtered or unexported fields
}

DownloadFileReplyValidationError is the validation error returned by DownloadFileReply.Validate if the designated constraints aren't met.

func (DownloadFileReplyValidationError) Cause

Cause function returns cause value.

func (DownloadFileReplyValidationError) Error

Error satisfies the builtin error interface

func (DownloadFileReplyValidationError) ErrorName

ErrorName returns error name.

func (DownloadFileReplyValidationError) Field

Field function returns field value.

func (DownloadFileReplyValidationError) Key

Key function returns key value.

func (DownloadFileReplyValidationError) Reason

Reason function returns reason value.

type DownloadFileRequest

type DownloadFileRequest struct {
	Key      string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Expire   string `protobuf:"bytes,2,opt,name=expire,proto3" json:"expire,omitempty"`
	Sign     string `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"`
	SaveName string `protobuf:"bytes,4,opt,name=saveName,proto3" json:"saveName,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadFileRequest) Descriptor deprecated

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

Deprecated: Use DownloadFileRequest.ProtoReflect.Descriptor instead.

func (*DownloadFileRequest) GetExpire

func (x *DownloadFileRequest) GetExpire() string

func (*DownloadFileRequest) GetKey

func (x *DownloadFileRequest) GetKey() string

func (*DownloadFileRequest) GetSaveName

func (x *DownloadFileRequest) GetSaveName() string

func (*DownloadFileRequest) GetSign

func (x *DownloadFileRequest) GetSign() string

func (*DownloadFileRequest) ProtoMessage

func (*DownloadFileRequest) ProtoMessage()

func (*DownloadFileRequest) ProtoReflect

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

func (*DownloadFileRequest) Reset

func (x *DownloadFileRequest) Reset()

func (*DownloadFileRequest) String

func (x *DownloadFileRequest) String() string

func (*DownloadFileRequest) Validate

func (m *DownloadFileRequest) Validate() error

Validate checks the field values on DownloadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadFileRequest) ValidateAll

func (m *DownloadFileRequest) ValidateAll() error

ValidateAll checks the field values on DownloadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadFileRequestMultiError, or nil if none found.

type DownloadFileRequestMultiError

type DownloadFileRequestMultiError []error

DownloadFileRequestMultiError is an error wrapping multiple validation errors returned by DownloadFileRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadFileRequestMultiError) AllErrors

func (m DownloadFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DownloadFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadFileRequestValidationError

type DownloadFileRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadFileRequestValidationError is the validation error returned by DownloadFileRequest.Validate if the designated constraints aren't met.

func (DownloadFileRequestValidationError) Cause

Cause function returns cause value.

func (DownloadFileRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadFileRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadFileRequestValidationError) Field

Field function returns field value.

func (DownloadFileRequestValidationError) Key

Key function returns key value.

func (DownloadFileRequestValidationError) Reason

Reason function returns reason value.

type DownloadTargetFileRequest

type DownloadTargetFileRequest struct {
	Key      string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	SaveName string `protobuf:"bytes,4,opt,name=saveName,proto3" json:"saveName,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadTargetFileRequest) Descriptor deprecated

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

Deprecated: Use DownloadTargetFileRequest.ProtoReflect.Descriptor instead.

func (*DownloadTargetFileRequest) GetKey

func (x *DownloadTargetFileRequest) GetKey() string

func (*DownloadTargetFileRequest) GetSaveName

func (x *DownloadTargetFileRequest) GetSaveName() string

func (*DownloadTargetFileRequest) ProtoMessage

func (*DownloadTargetFileRequest) ProtoMessage()

func (*DownloadTargetFileRequest) ProtoReflect

func (*DownloadTargetFileRequest) Reset

func (x *DownloadTargetFileRequest) Reset()

func (*DownloadTargetFileRequest) String

func (x *DownloadTargetFileRequest) String() string

func (*DownloadTargetFileRequest) Validate

func (m *DownloadTargetFileRequest) Validate() error

Validate checks the field values on DownloadTargetFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadTargetFileRequest) ValidateAll

func (m *DownloadTargetFileRequest) ValidateAll() error

ValidateAll checks the field values on DownloadTargetFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadTargetFileRequestMultiError, or nil if none found.

type DownloadTargetFileRequestMultiError

type DownloadTargetFileRequestMultiError []error

DownloadTargetFileRequestMultiError is an error wrapping multiple validation errors returned by DownloadTargetFileRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadTargetFileRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadTargetFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadTargetFileRequestValidationError

type DownloadTargetFileRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadTargetFileRequestValidationError is the validation error returned by DownloadTargetFileRequest.Validate if the designated constraints aren't met.

func (DownloadTargetFileRequestValidationError) Cause

Cause function returns cause value.

func (DownloadTargetFileRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadTargetFileRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadTargetFileRequestValidationError) Field

Field function returns field value.

func (DownloadTargetFileRequestValidationError) Key

Key function returns key value.

func (DownloadTargetFileRequestValidationError) Reason

Reason function returns reason value.

type FileClient

type FileClient interface {
	// GetFile 获取指定的文件信息
	GetUserFile(ctx context.Context, in *GetUserFileRequest, opts ...grpc.CallOption) (*GetUserFileReply, error)
	// GetFile 获取指定的文件信息
	GetFileBytes(ctx context.Context, in *GetFileBytesRequest, opts ...grpc.CallOption) (File_GetFileBytesClient, error)
	// ListUserFile 获取文件信息列表
	ListUserFile(ctx context.Context, in *ListUserFileRequest, opts ...grpc.CallOption) (*ListUserFileReply, error)
	// PrepareUploadFile 预上传文件信息
	PrepareUploadFile(ctx context.Context, in *PrepareUploadFileRequest, opts ...grpc.CallOption) (*PrepareUploadFileReply, error)
	// UploadFile 上传文件
	UploadFile(ctx context.Context, in *UploadFileRequest, opts ...grpc.CallOption) (*UploadFileReply, error)
	// UploadFileByURL 上传文件
	UploadFileByURL(ctx context.Context, in *UploadFileByURLRequest, opts ...grpc.CallOption) (*UploadFileByURLReply, error)
	// UpdateFile 更新文件信息
	UpdateUserFile(ctx context.Context, in *UpdateUserFileRequest, opts ...grpc.CallOption) (*UpdateUserFileReply, error)
	// DeleteUserFile 删除文件信息
	DeleteUserFile(ctx context.Context, in *DeleteUserFileRequest, opts ...grpc.CallOption) (*DeleteUserFileReply, error)
}

FileClient is the client API for File service.

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

func NewFileClient

func NewFileClient(cc grpc.ClientConnInterface) FileClient

type FileHTTPClient

type FileHTTPClient interface {
	DeleteUserFile(ctx context.Context, req *DeleteUserFileRequest, opts ...http.CallOption) (rsp *DeleteUserFileReply, err error)
	GetUserFile(ctx context.Context, req *GetUserFileRequest, opts ...http.CallOption) (rsp *GetUserFileReply, err error)
	ListUserFile(ctx context.Context, req *ListUserFileRequest, opts ...http.CallOption) (rsp *ListUserFileReply, err error)
	PrepareUploadFile(ctx context.Context, req *PrepareUploadFileRequest, opts ...http.CallOption) (rsp *PrepareUploadFileReply, err error)
	UpdateUserFile(ctx context.Context, req *UpdateUserFileRequest, opts ...http.CallOption) (rsp *UpdateUserFileReply, err error)
}

func NewFileHTTPClient

func NewFileHTTPClient(client *http.Client) FileHTTPClient

type FileHTTPClientImpl

type FileHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*FileHTTPClientImpl) DeleteUserFile

func (*FileHTTPClientImpl) GetUserFile

func (*FileHTTPClientImpl) ListUserFile

func (*FileHTTPClientImpl) PrepareUploadFile

func (*FileHTTPClientImpl) UpdateUserFile

type FileHTTPServer

type FileHTTPServer interface {
	// DeleteUserFile DeleteUserFile 删除文件信息
	DeleteUserFile(context.Context, *DeleteUserFileRequest) (*DeleteUserFileReply, error)
	// GetUserFile GetFile 获取指定的文件信息
	GetUserFile(context.Context, *GetUserFileRequest) (*GetUserFileReply, error)
	// ListUserFile ListUserFile 获取文件信息列表
	ListUserFile(context.Context, *ListUserFileRequest) (*ListUserFileReply, error)
	// PrepareUploadFile PrepareUploadFile 预上传文件信息
	PrepareUploadFile(context.Context, *PrepareUploadFileRequest) (*PrepareUploadFileReply, error)
	// UpdateUserFile UpdateFile 更新文件信息
	UpdateUserFile(context.Context, *UpdateUserFileRequest) (*UpdateUserFileReply, error)
}

type FileServer

type FileServer interface {
	// GetFile 获取指定的文件信息
	GetUserFile(context.Context, *GetUserFileRequest) (*GetUserFileReply, error)
	// GetFile 获取指定的文件信息
	GetFileBytes(*GetFileBytesRequest, File_GetFileBytesServer) error
	// ListUserFile 获取文件信息列表
	ListUserFile(context.Context, *ListUserFileRequest) (*ListUserFileReply, error)
	// PrepareUploadFile 预上传文件信息
	PrepareUploadFile(context.Context, *PrepareUploadFileRequest) (*PrepareUploadFileReply, error)
	// UploadFile 上传文件
	UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error)
	// UploadFileByURL 上传文件
	UploadFileByURL(context.Context, *UploadFileByURLRequest) (*UploadFileByURLReply, error)
	// UpdateFile 更新文件信息
	UpdateUserFile(context.Context, *UpdateUserFileRequest) (*UpdateUserFileReply, error)
	// DeleteUserFile 删除文件信息
	DeleteUserFile(context.Context, *DeleteUserFileRequest) (*DeleteUserFileReply, error)
	// contains filtered or unexported methods
}

FileServer is the server API for File service. All implementations must embed UnimplementedFileServer for forward compatibility

type File_GetFileBytesClient

type File_GetFileBytesClient interface {
	Recv() (*GetFileBytesReply, error)
	grpc.ClientStream
}

type File_GetFileBytesServer

type File_GetFileBytesServer interface {
	Send(*GetFileBytesReply) error
	grpc.ServerStream
}

type GetFileBytesReply

type GetFileBytesReply struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFileBytesReply) Descriptor deprecated

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

Deprecated: Use GetFileBytesReply.ProtoReflect.Descriptor instead.

func (*GetFileBytesReply) GetData

func (x *GetFileBytesReply) GetData() []byte

func (*GetFileBytesReply) ProtoMessage

func (*GetFileBytesReply) ProtoMessage()

func (*GetFileBytesReply) ProtoReflect

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

func (*GetFileBytesReply) Reset

func (x *GetFileBytesReply) Reset()

func (*GetFileBytesReply) String

func (x *GetFileBytesReply) String() string

func (*GetFileBytesReply) Validate

func (m *GetFileBytesReply) Validate() error

Validate checks the field values on GetFileBytesReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetFileBytesReply) ValidateAll

func (m *GetFileBytesReply) ValidateAll() error

ValidateAll checks the field values on GetFileBytesReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFileBytesReplyMultiError, or nil if none found.

type GetFileBytesReplyMultiError

type GetFileBytesReplyMultiError []error

GetFileBytesReplyMultiError is an error wrapping multiple validation errors returned by GetFileBytesReply.ValidateAll() if the designated constraints aren't met.

func (GetFileBytesReplyMultiError) AllErrors

func (m GetFileBytesReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetFileBytesReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetFileBytesReplyValidationError

type GetFileBytesReplyValidationError struct {
	// contains filtered or unexported fields
}

GetFileBytesReplyValidationError is the validation error returned by GetFileBytesReply.Validate if the designated constraints aren't met.

func (GetFileBytesReplyValidationError) Cause

Cause function returns cause value.

func (GetFileBytesReplyValidationError) Error

Error satisfies the builtin error interface

func (GetFileBytesReplyValidationError) ErrorName

ErrorName returns error name.

func (GetFileBytesReplyValidationError) Field

Field function returns field value.

func (GetFileBytesReplyValidationError) Key

Key function returns key value.

func (GetFileBytesReplyValidationError) Reason

Reason function returns reason value.

type GetFileBytesRequest

type GetFileBytesRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFileBytesRequest) Descriptor deprecated

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

Deprecated: Use GetFileBytesRequest.ProtoReflect.Descriptor instead.

func (*GetFileBytesRequest) GetKey

func (x *GetFileBytesRequest) GetKey() string

func (*GetFileBytesRequest) ProtoMessage

func (*GetFileBytesRequest) ProtoMessage()

func (*GetFileBytesRequest) ProtoReflect

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

func (*GetFileBytesRequest) Reset

func (x *GetFileBytesRequest) Reset()

func (*GetFileBytesRequest) String

func (x *GetFileBytesRequest) String() string

func (*GetFileBytesRequest) Validate

func (m *GetFileBytesRequest) Validate() error

Validate checks the field values on GetFileBytesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetFileBytesRequest) ValidateAll

func (m *GetFileBytesRequest) ValidateAll() error

ValidateAll checks the field values on GetFileBytesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFileBytesRequestMultiError, or nil if none found.

type GetFileBytesRequestMultiError

type GetFileBytesRequestMultiError []error

GetFileBytesRequestMultiError is an error wrapping multiple validation errors returned by GetFileBytesRequest.ValidateAll() if the designated constraints aren't met.

func (GetFileBytesRequestMultiError) AllErrors

func (m GetFileBytesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetFileBytesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetFileBytesRequestValidationError

type GetFileBytesRequestValidationError struct {
	// contains filtered or unexported fields
}

GetFileBytesRequestValidationError is the validation error returned by GetFileBytesRequest.Validate if the designated constraints aren't met.

func (GetFileBytesRequestValidationError) Cause

Cause function returns cause value.

func (GetFileBytesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetFileBytesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetFileBytesRequestValidationError) Field

Field function returns field value.

func (GetFileBytesRequestValidationError) Key

Key function returns key value.

func (GetFileBytesRequestValidationError) Reason

Reason function returns reason value.

type GetUserFileReply

type GetUserFileReply struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DirectoryId uint32 `protobuf:"varint,2,opt,name=directoryId,proto3" json:"directoryId,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Size        uint32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	Sha         string `protobuf:"bytes,6,opt,name=sha,proto3" json:"sha,omitempty"`
	Key         string `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
	CreatedAt   uint32 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32 `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserFileReply) Descriptor deprecated

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

Deprecated: Use GetUserFileReply.ProtoReflect.Descriptor instead.

func (*GetUserFileReply) GetCreatedAt

func (x *GetUserFileReply) GetCreatedAt() uint32

func (*GetUserFileReply) GetDirectoryId

func (x *GetUserFileReply) GetDirectoryId() uint32

func (*GetUserFileReply) GetId

func (x *GetUserFileReply) GetId() uint32

func (*GetUserFileReply) GetKey

func (x *GetUserFileReply) GetKey() string

func (*GetUserFileReply) GetName

func (x *GetUserFileReply) GetName() string

func (*GetUserFileReply) GetSha

func (x *GetUserFileReply) GetSha() string

func (*GetUserFileReply) GetSize

func (x *GetUserFileReply) GetSize() uint32

func (*GetUserFileReply) GetType

func (x *GetUserFileReply) GetType() string

func (*GetUserFileReply) GetUpdatedAt

func (x *GetUserFileReply) GetUpdatedAt() uint32

func (*GetUserFileReply) ProtoMessage

func (*GetUserFileReply) ProtoMessage()

func (*GetUserFileReply) ProtoReflect

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

func (*GetUserFileReply) Reset

func (x *GetUserFileReply) Reset()

func (*GetUserFileReply) String

func (x *GetUserFileReply) String() string

func (*GetUserFileReply) Validate

func (m *GetUserFileReply) Validate() error

Validate checks the field values on GetUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserFileReply) ValidateAll

func (m *GetUserFileReply) ValidateAll() error

ValidateAll checks the field values on GetUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserFileReplyMultiError, or nil if none found.

type GetUserFileReplyMultiError

type GetUserFileReplyMultiError []error

GetUserFileReplyMultiError is an error wrapping multiple validation errors returned by GetUserFileReply.ValidateAll() if the designated constraints aren't met.

func (GetUserFileReplyMultiError) AllErrors

func (m GetUserFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserFileReplyValidationError

type GetUserFileReplyValidationError struct {
	// contains filtered or unexported fields
}

GetUserFileReplyValidationError is the validation error returned by GetUserFileReply.Validate if the designated constraints aren't met.

func (GetUserFileReplyValidationError) Cause

Cause function returns cause value.

func (GetUserFileReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserFileReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserFileReplyValidationError) Field

Field function returns field value.

func (GetUserFileReplyValidationError) Key

Key function returns key value.

func (GetUserFileReplyValidationError) Reason

Reason function returns reason value.

type GetUserFileRequest

type GetUserFileRequest struct {
	Directory *string `protobuf:"bytes,1,opt,name=directory,proto3,oneof" json:"directory,omitempty"`
	Id        *uint32 `protobuf:"varint,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Key       *string `protobuf:"bytes,3,opt,name=key,proto3,oneof" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserFileRequest) Descriptor deprecated

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

Deprecated: Use GetUserFileRequest.ProtoReflect.Descriptor instead.

func (*GetUserFileRequest) GetDirectory

func (x *GetUserFileRequest) GetDirectory() string

func (*GetUserFileRequest) GetId

func (x *GetUserFileRequest) GetId() uint32

func (*GetUserFileRequest) GetKey

func (x *GetUserFileRequest) GetKey() string

func (*GetUserFileRequest) ProtoMessage

func (*GetUserFileRequest) ProtoMessage()

func (*GetUserFileRequest) ProtoReflect

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

func (*GetUserFileRequest) Reset

func (x *GetUserFileRequest) Reset()

func (*GetUserFileRequest) String

func (x *GetUserFileRequest) String() string

func (*GetUserFileRequest) Validate

func (m *GetUserFileRequest) Validate() error

Validate checks the field values on GetUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserFileRequest) ValidateAll

func (m *GetUserFileRequest) ValidateAll() error

ValidateAll checks the field values on GetUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserFileRequestMultiError, or nil if none found.

type GetUserFileRequestMultiError

type GetUserFileRequestMultiError []error

GetUserFileRequestMultiError is an error wrapping multiple validation errors returned by GetUserFileRequest.ValidateAll() if the designated constraints aren't met.

func (GetUserFileRequestMultiError) AllErrors

func (m GetUserFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserFileRequestValidationError

type GetUserFileRequestValidationError struct {
	// contains filtered or unexported fields
}

GetUserFileRequestValidationError is the validation error returned by GetUserFileRequest.Validate if the designated constraints aren't met.

func (GetUserFileRequestValidationError) Cause

Cause function returns cause value.

func (GetUserFileRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserFileRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserFileRequestValidationError) Field

Field function returns field value.

func (GetUserFileRequestValidationError) Key

Key function returns key value.

func (GetUserFileRequestValidationError) Reason

Reason function returns reason value.

type ListUserFileReply

type ListUserFileReply struct {
	Total uint32                    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListUserFileReply_File `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserFileReply) Descriptor deprecated

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

Deprecated: Use ListUserFileReply.ProtoReflect.Descriptor instead.

func (*ListUserFileReply) GetList

func (x *ListUserFileReply) GetList() []*ListUserFileReply_File

func (*ListUserFileReply) GetTotal

func (x *ListUserFileReply) GetTotal() uint32

func (*ListUserFileReply) ProtoMessage

func (*ListUserFileReply) ProtoMessage()

func (*ListUserFileReply) ProtoReflect

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

func (*ListUserFileReply) Reset

func (x *ListUserFileReply) Reset()

func (*ListUserFileReply) String

func (x *ListUserFileReply) String() string

func (*ListUserFileReply) Validate

func (m *ListUserFileReply) Validate() error

Validate checks the field values on ListUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserFileReply) ValidateAll

func (m *ListUserFileReply) ValidateAll() error

ValidateAll checks the field values on ListUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserFileReplyMultiError, or nil if none found.

type ListUserFileReplyMultiError

type ListUserFileReplyMultiError []error

ListUserFileReplyMultiError is an error wrapping multiple validation errors returned by ListUserFileReply.ValidateAll() if the designated constraints aren't met.

func (ListUserFileReplyMultiError) AllErrors

func (m ListUserFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserFileReplyValidationError

type ListUserFileReplyValidationError struct {
	// contains filtered or unexported fields
}

ListUserFileReplyValidationError is the validation error returned by ListUserFileReply.Validate if the designated constraints aren't met.

func (ListUserFileReplyValidationError) Cause

Cause function returns cause value.

func (ListUserFileReplyValidationError) Error

Error satisfies the builtin error interface

func (ListUserFileReplyValidationError) ErrorName

ErrorName returns error name.

func (ListUserFileReplyValidationError) Field

Field function returns field value.

func (ListUserFileReplyValidationError) Key

Key function returns key value.

func (ListUserFileReplyValidationError) Reason

Reason function returns reason value.

type ListUserFileReply_File

type ListUserFileReply_File struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DirectoryId uint32 `protobuf:"varint,2,opt,name=directoryId,proto3" json:"directoryId,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Size        uint32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	Sha         string `protobuf:"bytes,6,opt,name=sha,proto3" json:"sha,omitempty"`
	Key         string `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
	CreatedAt   uint32 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32 `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserFileReply_File) Descriptor deprecated

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

Deprecated: Use ListUserFileReply_File.ProtoReflect.Descriptor instead.

func (*ListUserFileReply_File) GetCreatedAt

func (x *ListUserFileReply_File) GetCreatedAt() uint32

func (*ListUserFileReply_File) GetDirectoryId

func (x *ListUserFileReply_File) GetDirectoryId() uint32

func (*ListUserFileReply_File) GetId

func (x *ListUserFileReply_File) GetId() uint32

func (*ListUserFileReply_File) GetKey

func (x *ListUserFileReply_File) GetKey() string

func (*ListUserFileReply_File) GetName

func (x *ListUserFileReply_File) GetName() string

func (*ListUserFileReply_File) GetSha

func (x *ListUserFileReply_File) GetSha() string

func (*ListUserFileReply_File) GetSize

func (x *ListUserFileReply_File) GetSize() uint32

func (*ListUserFileReply_File) GetType

func (x *ListUserFileReply_File) GetType() string

func (*ListUserFileReply_File) GetUpdatedAt

func (x *ListUserFileReply_File) GetUpdatedAt() uint32

func (*ListUserFileReply_File) ProtoMessage

func (*ListUserFileReply_File) ProtoMessage()

func (*ListUserFileReply_File) ProtoReflect

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

func (*ListUserFileReply_File) Reset

func (x *ListUserFileReply_File) Reset()

func (*ListUserFileReply_File) String

func (x *ListUserFileReply_File) String() string

func (*ListUserFileReply_File) Validate

func (m *ListUserFileReply_File) Validate() error

Validate checks the field values on ListUserFileReply_File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserFileReply_File) ValidateAll

func (m *ListUserFileReply_File) ValidateAll() error

ValidateAll checks the field values on ListUserFileReply_File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserFileReply_FileMultiError, or nil if none found.

type ListUserFileReply_FileMultiError

type ListUserFileReply_FileMultiError []error

ListUserFileReply_FileMultiError is an error wrapping multiple validation errors returned by ListUserFileReply_File.ValidateAll() if the designated constraints aren't met.

func (ListUserFileReply_FileMultiError) AllErrors

func (m ListUserFileReply_FileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserFileReply_FileMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserFileReply_FileValidationError

type ListUserFileReply_FileValidationError struct {
	// contains filtered or unexported fields
}

ListUserFileReply_FileValidationError is the validation error returned by ListUserFileReply_File.Validate if the designated constraints aren't met.

func (ListUserFileReply_FileValidationError) Cause

Cause function returns cause value.

func (ListUserFileReply_FileValidationError) Error

Error satisfies the builtin error interface

func (ListUserFileReply_FileValidationError) ErrorName

ErrorName returns error name.

func (ListUserFileReply_FileValidationError) Field

Field function returns field value.

func (ListUserFileReply_FileValidationError) Key

Key function returns key value.

func (ListUserFileReply_FileValidationError) Reason

Reason function returns reason value.

type ListUserFileRequest

type ListUserFileRequest struct {
	Page        uint32   `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize    uint32   `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order       *string  `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy     *string  `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	DirectoryId *uint32  `protobuf:"varint,5,opt,name=directoryId,proto3,oneof" json:"directoryId,omitempty"`
	Status      *string  `protobuf:"bytes,6,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Name        *string  `protobuf:"bytes,7,opt,name=name,proto3,oneof" json:"name,omitempty"`
	KeyList     []string `protobuf:"bytes,8,rep,name=keyList,proto3" json:"keyList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserFileRequest) Descriptor deprecated

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

Deprecated: Use ListUserFileRequest.ProtoReflect.Descriptor instead.

func (*ListUserFileRequest) GetDirectoryId

func (x *ListUserFileRequest) GetDirectoryId() uint32

func (*ListUserFileRequest) GetKeyList

func (x *ListUserFileRequest) GetKeyList() []string

func (*ListUserFileRequest) GetName

func (x *ListUserFileRequest) GetName() string

func (*ListUserFileRequest) GetOrder

func (x *ListUserFileRequest) GetOrder() string

func (*ListUserFileRequest) GetOrderBy

func (x *ListUserFileRequest) GetOrderBy() string

func (*ListUserFileRequest) GetPage

func (x *ListUserFileRequest) GetPage() uint32

func (*ListUserFileRequest) GetPageSize

func (x *ListUserFileRequest) GetPageSize() uint32

func (*ListUserFileRequest) GetStatus

func (x *ListUserFileRequest) GetStatus() string

func (*ListUserFileRequest) ProtoMessage

func (*ListUserFileRequest) ProtoMessage()

func (*ListUserFileRequest) ProtoReflect

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

func (*ListUserFileRequest) Reset

func (x *ListUserFileRequest) Reset()

func (*ListUserFileRequest) String

func (x *ListUserFileRequest) String() string

func (*ListUserFileRequest) Validate

func (m *ListUserFileRequest) Validate() error

Validate checks the field values on ListUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserFileRequest) ValidateAll

func (m *ListUserFileRequest) ValidateAll() error

ValidateAll checks the field values on ListUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserFileRequestMultiError, or nil if none found.

type ListUserFileRequestMultiError

type ListUserFileRequestMultiError []error

ListUserFileRequestMultiError is an error wrapping multiple validation errors returned by ListUserFileRequest.ValidateAll() if the designated constraints aren't met.

func (ListUserFileRequestMultiError) AllErrors

func (m ListUserFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserFileRequestValidationError

type ListUserFileRequestValidationError struct {
	// contains filtered or unexported fields
}

ListUserFileRequestValidationError is the validation error returned by ListUserFileRequest.Validate if the designated constraints aren't met.

func (ListUserFileRequestValidationError) Cause

Cause function returns cause value.

func (ListUserFileRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserFileRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserFileRequestValidationError) Field

Field function returns field value.

func (ListUserFileRequestValidationError) Key

Key function returns key value.

func (ListUserFileRequestValidationError) Reason

Reason function returns reason value.

type PrepareUploadFileReply

type PrepareUploadFileReply struct {
	Uploaded     bool     `protobuf:"varint,1,opt,name=uploaded,proto3" json:"uploaded,omitempty"`
	Key          *string  `protobuf:"bytes,2,opt,name=key,proto3,oneof" json:"key,omitempty"`
	ChunkSize    *uint32  `protobuf:"varint,3,opt,name=chunkSize,proto3,oneof" json:"chunkSize,omitempty"`
	ChunkCount   *uint32  `protobuf:"varint,4,opt,name=chunkCount,proto3,oneof" json:"chunkCount,omitempty"`
	UploadId     *string  `protobuf:"bytes,5,opt,name=uploadId,proto3,oneof" json:"uploadId,omitempty"`
	UploadChunks []uint32 `protobuf:"varint,6,rep,packed,name=uploadChunks,proto3" json:"uploadChunks,omitempty"`
	Sha          *string  `protobuf:"bytes,7,opt,name=sha,proto3,oneof" json:"sha,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareUploadFileReply) Descriptor deprecated

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

Deprecated: Use PrepareUploadFileReply.ProtoReflect.Descriptor instead.

func (*PrepareUploadFileReply) GetChunkCount

func (x *PrepareUploadFileReply) GetChunkCount() uint32

func (*PrepareUploadFileReply) GetChunkSize

func (x *PrepareUploadFileReply) GetChunkSize() uint32

func (*PrepareUploadFileReply) GetKey

func (x *PrepareUploadFileReply) GetKey() string

func (*PrepareUploadFileReply) GetSha

func (x *PrepareUploadFileReply) GetSha() string

func (*PrepareUploadFileReply) GetUploadChunks

func (x *PrepareUploadFileReply) GetUploadChunks() []uint32

func (*PrepareUploadFileReply) GetUploadId

func (x *PrepareUploadFileReply) GetUploadId() string

func (*PrepareUploadFileReply) GetUploaded

func (x *PrepareUploadFileReply) GetUploaded() bool

func (*PrepareUploadFileReply) ProtoMessage

func (*PrepareUploadFileReply) ProtoMessage()

func (*PrepareUploadFileReply) ProtoReflect

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

func (*PrepareUploadFileReply) Reset

func (x *PrepareUploadFileReply) Reset()

func (*PrepareUploadFileReply) String

func (x *PrepareUploadFileReply) String() string

func (*PrepareUploadFileReply) Validate

func (m *PrepareUploadFileReply) Validate() error

Validate checks the field values on PrepareUploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PrepareUploadFileReply) ValidateAll

func (m *PrepareUploadFileReply) ValidateAll() error

ValidateAll checks the field values on PrepareUploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrepareUploadFileReplyMultiError, or nil if none found.

type PrepareUploadFileReplyMultiError

type PrepareUploadFileReplyMultiError []error

PrepareUploadFileReplyMultiError is an error wrapping multiple validation errors returned by PrepareUploadFileReply.ValidateAll() if the designated constraints aren't met.

func (PrepareUploadFileReplyMultiError) AllErrors

func (m PrepareUploadFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrepareUploadFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PrepareUploadFileReplyValidationError

type PrepareUploadFileReplyValidationError struct {
	// contains filtered or unexported fields
}

PrepareUploadFileReplyValidationError is the validation error returned by PrepareUploadFileReply.Validate if the designated constraints aren't met.

func (PrepareUploadFileReplyValidationError) Cause

Cause function returns cause value.

func (PrepareUploadFileReplyValidationError) Error

Error satisfies the builtin error interface

func (PrepareUploadFileReplyValidationError) ErrorName

ErrorName returns error name.

func (PrepareUploadFileReplyValidationError) Field

Field function returns field value.

func (PrepareUploadFileReplyValidationError) Key

Key function returns key value.

func (PrepareUploadFileReplyValidationError) Reason

Reason function returns reason value.

type PrepareUploadFileRequest

type PrepareUploadFileRequest struct {
	DirectoryId   *uint32 `protobuf:"varint,1,opt,name=directoryId,proto3,oneof" json:"directoryId,omitempty"`
	DirectoryPath *string `protobuf:"bytes,2,opt,name=directoryPath,proto3,oneof" json:"directoryPath,omitempty"`
	Name          string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Size          uint32  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Sha           string  `protobuf:"bytes,5,opt,name=sha,proto3" json:"sha,omitempty"`
	Store         string  `protobuf:"bytes,6,opt,name=store,proto3" json:"store,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareUploadFileRequest) Descriptor deprecated

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

Deprecated: Use PrepareUploadFileRequest.ProtoReflect.Descriptor instead.

func (*PrepareUploadFileRequest) GetDirectoryId

func (x *PrepareUploadFileRequest) GetDirectoryId() uint32

func (*PrepareUploadFileRequest) GetDirectoryPath

func (x *PrepareUploadFileRequest) GetDirectoryPath() string

func (*PrepareUploadFileRequest) GetName

func (x *PrepareUploadFileRequest) GetName() string

func (*PrepareUploadFileRequest) GetSha

func (x *PrepareUploadFileRequest) GetSha() string

func (*PrepareUploadFileRequest) GetSize

func (x *PrepareUploadFileRequest) GetSize() uint32

func (*PrepareUploadFileRequest) GetStore

func (x *PrepareUploadFileRequest) GetStore() string

func (*PrepareUploadFileRequest) ProtoMessage

func (*PrepareUploadFileRequest) ProtoMessage()

func (*PrepareUploadFileRequest) ProtoReflect

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

func (*PrepareUploadFileRequest) Reset

func (x *PrepareUploadFileRequest) Reset()

func (*PrepareUploadFileRequest) String

func (x *PrepareUploadFileRequest) String() string

func (*PrepareUploadFileRequest) Validate

func (m *PrepareUploadFileRequest) Validate() error

Validate checks the field values on PrepareUploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PrepareUploadFileRequest) ValidateAll

func (m *PrepareUploadFileRequest) ValidateAll() error

ValidateAll checks the field values on PrepareUploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrepareUploadFileRequestMultiError, or nil if none found.

type PrepareUploadFileRequestMultiError

type PrepareUploadFileRequestMultiError []error

PrepareUploadFileRequestMultiError is an error wrapping multiple validation errors returned by PrepareUploadFileRequest.ValidateAll() if the designated constraints aren't met.

func (PrepareUploadFileRequestMultiError) AllErrors

func (m PrepareUploadFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrepareUploadFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PrepareUploadFileRequestValidationError

type PrepareUploadFileRequestValidationError struct {
	// contains filtered or unexported fields
}

PrepareUploadFileRequestValidationError is the validation error returned by PrepareUploadFileRequest.Validate if the designated constraints aren't met.

func (PrepareUploadFileRequestValidationError) Cause

Cause function returns cause value.

func (PrepareUploadFileRequestValidationError) Error

Error satisfies the builtin error interface

func (PrepareUploadFileRequestValidationError) ErrorName

ErrorName returns error name.

func (PrepareUploadFileRequestValidationError) Field

Field function returns field value.

func (PrepareUploadFileRequestValidationError) Key

Key function returns key value.

func (PrepareUploadFileRequestValidationError) Reason

Reason function returns reason value.

type StaticFileReply

type StaticFileReply struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Mime string `protobuf:"bytes,2,opt,name=mime,proto3" json:"mime,omitempty"`
	// contains filtered or unexported fields
}

func (*StaticFileReply) Descriptor deprecated

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

Deprecated: Use StaticFileReply.ProtoReflect.Descriptor instead.

func (*StaticFileReply) GetData

func (x *StaticFileReply) GetData() []byte

func (*StaticFileReply) GetMime

func (x *StaticFileReply) GetMime() string

func (*StaticFileReply) ProtoMessage

func (*StaticFileReply) ProtoMessage()

func (*StaticFileReply) ProtoReflect

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

func (*StaticFileReply) Reset

func (x *StaticFileReply) Reset()

func (*StaticFileReply) String

func (x *StaticFileReply) String() string

func (*StaticFileReply) Validate

func (m *StaticFileReply) Validate() error

Validate checks the field values on StaticFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StaticFileReply) ValidateAll

func (m *StaticFileReply) ValidateAll() error

ValidateAll checks the field values on StaticFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StaticFileReplyMultiError, or nil if none found.

type StaticFileReplyMultiError

type StaticFileReplyMultiError []error

StaticFileReplyMultiError is an error wrapping multiple validation errors returned by StaticFileReply.ValidateAll() if the designated constraints aren't met.

func (StaticFileReplyMultiError) AllErrors

func (m StaticFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StaticFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StaticFileReplyValidationError

type StaticFileReplyValidationError struct {
	// contains filtered or unexported fields
}

StaticFileReplyValidationError is the validation error returned by StaticFileReply.Validate if the designated constraints aren't met.

func (StaticFileReplyValidationError) Cause

Cause function returns cause value.

func (StaticFileReplyValidationError) Error

Error satisfies the builtin error interface

func (StaticFileReplyValidationError) ErrorName

func (e StaticFileReplyValidationError) ErrorName() string

ErrorName returns error name.

func (StaticFileReplyValidationError) Field

Field function returns field value.

func (StaticFileReplyValidationError) Key

Key function returns key value.

func (StaticFileReplyValidationError) Reason

Reason function returns reason value.

type StaticFileRequest

type StaticFileRequest struct {
	Store    string `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"`
	Key      string `protobuf:"bytes,9,opt,name=key,proto3" json:"key,omitempty"`
	Expire   string `protobuf:"bytes,2,opt,name=expire,proto3" json:"expire,omitempty"`
	Sign     string `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"`
	Width    uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
	Height   uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	Mode     string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"`
	Download bool   `protobuf:"varint,7,opt,name=download,proto3" json:"download,omitempty"`
	SaveName string `protobuf:"bytes,8,opt,name=saveName,proto3" json:"saveName,omitempty"`
	// contains filtered or unexported fields
}

func (*StaticFileRequest) Descriptor deprecated

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

Deprecated: Use StaticFileRequest.ProtoReflect.Descriptor instead.

func (*StaticFileRequest) GetDownload

func (x *StaticFileRequest) GetDownload() bool

func (*StaticFileRequest) GetExpire

func (x *StaticFileRequest) GetExpire() string

func (*StaticFileRequest) GetHeight

func (x *StaticFileRequest) GetHeight() uint32

func (*StaticFileRequest) GetKey

func (x *StaticFileRequest) GetKey() string

func (*StaticFileRequest) GetMode

func (x *StaticFileRequest) GetMode() string

func (*StaticFileRequest) GetSaveName

func (x *StaticFileRequest) GetSaveName() string

func (*StaticFileRequest) GetSign

func (x *StaticFileRequest) GetSign() string

func (*StaticFileRequest) GetStore

func (x *StaticFileRequest) GetStore() string

func (*StaticFileRequest) GetWidth

func (x *StaticFileRequest) GetWidth() uint32

func (*StaticFileRequest) ProtoMessage

func (*StaticFileRequest) ProtoMessage()

func (*StaticFileRequest) ProtoReflect

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

func (*StaticFileRequest) Reset

func (x *StaticFileRequest) Reset()

func (*StaticFileRequest) String

func (x *StaticFileRequest) String() string

func (*StaticFileRequest) Validate

func (m *StaticFileRequest) Validate() error

Validate checks the field values on StaticFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StaticFileRequest) ValidateAll

func (m *StaticFileRequest) ValidateAll() error

ValidateAll checks the field values on StaticFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StaticFileRequestMultiError, or nil if none found.

type StaticFileRequestMultiError

type StaticFileRequestMultiError []error

StaticFileRequestMultiError is an error wrapping multiple validation errors returned by StaticFileRequest.ValidateAll() if the designated constraints aren't met.

func (StaticFileRequestMultiError) AllErrors

func (m StaticFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StaticFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StaticFileRequestValidationError

type StaticFileRequestValidationError struct {
	// contains filtered or unexported fields
}

StaticFileRequestValidationError is the validation error returned by StaticFileRequest.Validate if the designated constraints aren't met.

func (StaticFileRequestValidationError) Cause

Cause function returns cause value.

func (StaticFileRequestValidationError) Error

Error satisfies the builtin error interface

func (StaticFileRequestValidationError) ErrorName

ErrorName returns error name.

func (StaticFileRequestValidationError) Field

Field function returns field value.

func (StaticFileRequestValidationError) Key

Key function returns key value.

func (StaticFileRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedFileServer

type UnimplementedFileServer struct{}

UnimplementedFileServer must be embedded to have forward compatible implementations.

func (UnimplementedFileServer) DeleteUserFile

func (UnimplementedFileServer) GetFileBytes

func (UnimplementedFileServer) GetUserFile

func (UnimplementedFileServer) ListUserFile

func (UnimplementedFileServer) PrepareUploadFile

func (UnimplementedFileServer) UpdateUserFile

func (UnimplementedFileServer) UploadFile

func (UnimplementedFileServer) UploadFileByURL

type UnsafeFileServer

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

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

type UpdateUserFileReply

type UpdateUserFileReply struct {
	// contains filtered or unexported fields
}

func (*UpdateUserFileReply) Descriptor deprecated

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

Deprecated: Use UpdateUserFileReply.ProtoReflect.Descriptor instead.

func (*UpdateUserFileReply) ProtoMessage

func (*UpdateUserFileReply) ProtoMessage()

func (*UpdateUserFileReply) ProtoReflect

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

func (*UpdateUserFileReply) Reset

func (x *UpdateUserFileReply) Reset()

func (*UpdateUserFileReply) String

func (x *UpdateUserFileReply) String() string

func (*UpdateUserFileReply) Validate

func (m *UpdateUserFileReply) Validate() error

Validate checks the field values on UpdateUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserFileReply) ValidateAll

func (m *UpdateUserFileReply) ValidateAll() error

ValidateAll checks the field values on UpdateUserFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserFileReplyMultiError, or nil if none found.

type UpdateUserFileReplyMultiError

type UpdateUserFileReplyMultiError []error

UpdateUserFileReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserFileReply.ValidateAll() if the designated constraints aren't met.

func (UpdateUserFileReplyMultiError) AllErrors

func (m UpdateUserFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserFileReplyValidationError

type UpdateUserFileReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserFileReplyValidationError is the validation error returned by UpdateUserFileReply.Validate if the designated constraints aren't met.

func (UpdateUserFileReplyValidationError) Cause

Cause function returns cause value.

func (UpdateUserFileReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserFileReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserFileReplyValidationError) Field

Field function returns field value.

func (UpdateUserFileReplyValidationError) Key

Key function returns key value.

func (UpdateUserFileReplyValidationError) Reason

Reason function returns reason value.

type UpdateUserFileRequest

type UpdateUserFileRequest struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DirectoryId uint32 `protobuf:"varint,2,opt,name=directoryId,proto3" json:"directoryId,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserFileRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserFileRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserFileRequest) GetDirectoryId

func (x *UpdateUserFileRequest) GetDirectoryId() uint32

func (*UpdateUserFileRequest) GetId

func (x *UpdateUserFileRequest) GetId() uint32

func (*UpdateUserFileRequest) GetName

func (x *UpdateUserFileRequest) GetName() string

func (*UpdateUserFileRequest) ProtoMessage

func (*UpdateUserFileRequest) ProtoMessage()

func (*UpdateUserFileRequest) ProtoReflect

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

func (*UpdateUserFileRequest) Reset

func (x *UpdateUserFileRequest) Reset()

func (*UpdateUserFileRequest) String

func (x *UpdateUserFileRequest) String() string

func (*UpdateUserFileRequest) Validate

func (m *UpdateUserFileRequest) Validate() error

Validate checks the field values on UpdateUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserFileRequest) ValidateAll

func (m *UpdateUserFileRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserFileRequestMultiError, or nil if none found.

type UpdateUserFileRequestMultiError

type UpdateUserFileRequestMultiError []error

UpdateUserFileRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserFileRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserFileRequestMultiError) AllErrors

func (m UpdateUserFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserFileRequestValidationError

type UpdateUserFileRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserFileRequestValidationError is the validation error returned by UpdateUserFileRequest.Validate if the designated constraints aren't met.

func (UpdateUserFileRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserFileRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserFileRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserFileRequestValidationError) Field

Field function returns field value.

func (UpdateUserFileRequestValidationError) Key

Key function returns key value.

func (UpdateUserFileRequestValidationError) Reason

Reason function returns reason value.

type UploadChunkFileReply

type UploadChunkFileReply struct {
	Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadChunkFileReply) Descriptor deprecated

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

Deprecated: Use UploadChunkFileReply.ProtoReflect.Descriptor instead.

func (*UploadChunkFileReply) GetKey

func (x *UploadChunkFileReply) GetKey() string

func (*UploadChunkFileReply) GetSha

func (x *UploadChunkFileReply) GetSha() string

func (*UploadChunkFileReply) ProtoMessage

func (*UploadChunkFileReply) ProtoMessage()

func (*UploadChunkFileReply) ProtoReflect

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

func (*UploadChunkFileReply) Reset

func (x *UploadChunkFileReply) Reset()

func (*UploadChunkFileReply) String

func (x *UploadChunkFileReply) String() string

func (*UploadChunkFileReply) Validate

func (m *UploadChunkFileReply) Validate() error

Validate checks the field values on UploadChunkFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadChunkFileReply) ValidateAll

func (m *UploadChunkFileReply) ValidateAll() error

ValidateAll checks the field values on UploadChunkFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadChunkFileReplyMultiError, or nil if none found.

type UploadChunkFileReplyMultiError

type UploadChunkFileReplyMultiError []error

UploadChunkFileReplyMultiError is an error wrapping multiple validation errors returned by UploadChunkFileReply.ValidateAll() if the designated constraints aren't met.

func (UploadChunkFileReplyMultiError) AllErrors

func (m UploadChunkFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadChunkFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadChunkFileReplyValidationError

type UploadChunkFileReplyValidationError struct {
	// contains filtered or unexported fields
}

UploadChunkFileReplyValidationError is the validation error returned by UploadChunkFileReply.Validate if the designated constraints aren't met.

func (UploadChunkFileReplyValidationError) Cause

Cause function returns cause value.

func (UploadChunkFileReplyValidationError) Error

Error satisfies the builtin error interface

func (UploadChunkFileReplyValidationError) ErrorName

ErrorName returns error name.

func (UploadChunkFileReplyValidationError) Field

Field function returns field value.

func (UploadChunkFileReplyValidationError) Key

Key function returns key value.

func (UploadChunkFileReplyValidationError) Reason

Reason function returns reason value.

type UploadChunkFileRequest

type UploadChunkFileRequest struct {
	Data     []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	UploadId string `protobuf:"bytes,2,opt,name=uploadId,proto3" json:"uploadId,omitempty"`
	Index    uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadChunkFileRequest) Descriptor deprecated

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

Deprecated: Use UploadChunkFileRequest.ProtoReflect.Descriptor instead.

func (*UploadChunkFileRequest) GetData

func (x *UploadChunkFileRequest) GetData() []byte

func (*UploadChunkFileRequest) GetIndex

func (x *UploadChunkFileRequest) GetIndex() uint32

func (*UploadChunkFileRequest) GetUploadId

func (x *UploadChunkFileRequest) GetUploadId() string

func (*UploadChunkFileRequest) ProtoMessage

func (*UploadChunkFileRequest) ProtoMessage()

func (*UploadChunkFileRequest) ProtoReflect

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

func (*UploadChunkFileRequest) Reset

func (x *UploadChunkFileRequest) Reset()

func (*UploadChunkFileRequest) String

func (x *UploadChunkFileRequest) String() string

func (*UploadChunkFileRequest) Validate

func (m *UploadChunkFileRequest) Validate() error

Validate checks the field values on UploadChunkFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadChunkFileRequest) ValidateAll

func (m *UploadChunkFileRequest) ValidateAll() error

ValidateAll checks the field values on UploadChunkFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadChunkFileRequestMultiError, or nil if none found.

type UploadChunkFileRequestMultiError

type UploadChunkFileRequestMultiError []error

UploadChunkFileRequestMultiError is an error wrapping multiple validation errors returned by UploadChunkFileRequest.ValidateAll() if the designated constraints aren't met.

func (UploadChunkFileRequestMultiError) AllErrors

func (m UploadChunkFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadChunkFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadChunkFileRequestValidationError

type UploadChunkFileRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadChunkFileRequestValidationError is the validation error returned by UploadChunkFileRequest.Validate if the designated constraints aren't met.

func (UploadChunkFileRequestValidationError) Cause

Cause function returns cause value.

func (UploadChunkFileRequestValidationError) Error

Error satisfies the builtin error interface

func (UploadChunkFileRequestValidationError) ErrorName

ErrorName returns error name.

func (UploadChunkFileRequestValidationError) Field

Field function returns field value.

func (UploadChunkFileRequestValidationError) Key

Key function returns key value.

func (UploadChunkFileRequestValidationError) Reason

Reason function returns reason value.

type UploadFileByURLReply

type UploadFileByURLReply struct {
	Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileByURLReply) Descriptor deprecated

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

Deprecated: Use UploadFileByURLReply.ProtoReflect.Descriptor instead.

func (*UploadFileByURLReply) GetKey

func (x *UploadFileByURLReply) GetKey() string

func (*UploadFileByURLReply) GetSha

func (x *UploadFileByURLReply) GetSha() string

func (*UploadFileByURLReply) ProtoMessage

func (*UploadFileByURLReply) ProtoMessage()

func (*UploadFileByURLReply) ProtoReflect

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

func (*UploadFileByURLReply) Reset

func (x *UploadFileByURLReply) Reset()

func (*UploadFileByURLReply) String

func (x *UploadFileByURLReply) String() string

func (*UploadFileByURLReply) Validate

func (m *UploadFileByURLReply) Validate() error

Validate checks the field values on UploadFileByURLReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileByURLReply) ValidateAll

func (m *UploadFileByURLReply) ValidateAll() error

ValidateAll checks the field values on UploadFileByURLReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileByURLReplyMultiError, or nil if none found.

type UploadFileByURLReplyMultiError

type UploadFileByURLReplyMultiError []error

UploadFileByURLReplyMultiError is an error wrapping multiple validation errors returned by UploadFileByURLReply.ValidateAll() if the designated constraints aren't met.

func (UploadFileByURLReplyMultiError) AllErrors

func (m UploadFileByURLReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileByURLReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadFileByURLReplyValidationError

type UploadFileByURLReplyValidationError struct {
	// contains filtered or unexported fields
}

UploadFileByURLReplyValidationError is the validation error returned by UploadFileByURLReply.Validate if the designated constraints aren't met.

func (UploadFileByURLReplyValidationError) Cause

Cause function returns cause value.

func (UploadFileByURLReplyValidationError) Error

Error satisfies the builtin error interface

func (UploadFileByURLReplyValidationError) ErrorName

ErrorName returns error name.

func (UploadFileByURLReplyValidationError) Field

Field function returns field value.

func (UploadFileByURLReplyValidationError) Key

Key function returns key value.

func (UploadFileByURLReplyValidationError) Reason

Reason function returns reason value.

type UploadFileByURLRequest

type UploadFileByURLRequest struct {
	DirectoryPath *string `protobuf:"bytes,1,opt,name=directoryPath,proto3,oneof" json:"directoryPath,omitempty"`
	Url           string  `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Name          string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Store         string  `protobuf:"bytes,4,opt,name=store,proto3" json:"store,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileByURLRequest) Descriptor deprecated

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

Deprecated: Use UploadFileByURLRequest.ProtoReflect.Descriptor instead.

func (*UploadFileByURLRequest) GetDirectoryPath

func (x *UploadFileByURLRequest) GetDirectoryPath() string

func (*UploadFileByURLRequest) GetName

func (x *UploadFileByURLRequest) GetName() string

func (*UploadFileByURLRequest) GetStore

func (x *UploadFileByURLRequest) GetStore() string

func (*UploadFileByURLRequest) GetUrl

func (x *UploadFileByURLRequest) GetUrl() string

func (*UploadFileByURLRequest) ProtoMessage

func (*UploadFileByURLRequest) ProtoMessage()

func (*UploadFileByURLRequest) ProtoReflect

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

func (*UploadFileByURLRequest) Reset

func (x *UploadFileByURLRequest) Reset()

func (*UploadFileByURLRequest) String

func (x *UploadFileByURLRequest) String() string

func (*UploadFileByURLRequest) Validate

func (m *UploadFileByURLRequest) Validate() error

Validate checks the field values on UploadFileByURLRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileByURLRequest) ValidateAll

func (m *UploadFileByURLRequest) ValidateAll() error

ValidateAll checks the field values on UploadFileByURLRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileByURLRequestMultiError, or nil if none found.

type UploadFileByURLRequestMultiError

type UploadFileByURLRequestMultiError []error

UploadFileByURLRequestMultiError is an error wrapping multiple validation errors returned by UploadFileByURLRequest.ValidateAll() if the designated constraints aren't met.

func (UploadFileByURLRequestMultiError) AllErrors

func (m UploadFileByURLRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileByURLRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadFileByURLRequestValidationError

type UploadFileByURLRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadFileByURLRequestValidationError is the validation error returned by UploadFileByURLRequest.Validate if the designated constraints aren't met.

func (UploadFileByURLRequestValidationError) Cause

Cause function returns cause value.

func (UploadFileByURLRequestValidationError) Error

Error satisfies the builtin error interface

func (UploadFileByURLRequestValidationError) ErrorName

ErrorName returns error name.

func (UploadFileByURLRequestValidationError) Field

Field function returns field value.

func (UploadFileByURLRequestValidationError) Key

Key function returns key value.

func (UploadFileByURLRequestValidationError) Reason

Reason function returns reason value.

type UploadFileReply

type UploadFileReply struct {
	Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileReply) Descriptor deprecated

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

Deprecated: Use UploadFileReply.ProtoReflect.Descriptor instead.

func (*UploadFileReply) GetKey

func (x *UploadFileReply) GetKey() string

func (*UploadFileReply) GetSha

func (x *UploadFileReply) GetSha() string

func (*UploadFileReply) ProtoMessage

func (*UploadFileReply) ProtoMessage()

func (*UploadFileReply) ProtoReflect

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

func (*UploadFileReply) Reset

func (x *UploadFileReply) Reset()

func (*UploadFileReply) String

func (x *UploadFileReply) String() string

func (*UploadFileReply) Validate

func (m *UploadFileReply) Validate() error

Validate checks the field values on UploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileReply) ValidateAll

func (m *UploadFileReply) ValidateAll() error

ValidateAll checks the field values on UploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileReplyMultiError, or nil if none found.

type UploadFileReplyMultiError

type UploadFileReplyMultiError []error

UploadFileReplyMultiError is an error wrapping multiple validation errors returned by UploadFileReply.ValidateAll() if the designated constraints aren't met.

func (UploadFileReplyMultiError) AllErrors

func (m UploadFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadFileReplyValidationError

type UploadFileReplyValidationError struct {
	// contains filtered or unexported fields
}

UploadFileReplyValidationError is the validation error returned by UploadFileReply.Validate if the designated constraints aren't met.

func (UploadFileReplyValidationError) Cause

Cause function returns cause value.

func (UploadFileReplyValidationError) Error

Error satisfies the builtin error interface

func (UploadFileReplyValidationError) ErrorName

func (e UploadFileReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UploadFileReplyValidationError) Field

Field function returns field value.

func (UploadFileReplyValidationError) Key

Key function returns key value.

func (UploadFileReplyValidationError) Reason

Reason function returns reason value.

type UploadFileRequest

type UploadFileRequest struct {
	DirectoryId   *uint32 `protobuf:"varint,1,opt,name=directoryId,proto3,oneof" json:"directoryId,omitempty"`
	DirectoryPath *string `protobuf:"bytes,2,opt,name=directoryPath,proto3,oneof" json:"directoryPath,omitempty"`
	Name          string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Sha           string  `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"`
	Data          []byte  `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Store         string  `protobuf:"bytes,6,opt,name=store,proto3" json:"store,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileRequest) Descriptor deprecated

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

Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.

func (*UploadFileRequest) GetData

func (x *UploadFileRequest) GetData() []byte

func (*UploadFileRequest) GetDirectoryId

func (x *UploadFileRequest) GetDirectoryId() uint32

func (*UploadFileRequest) GetDirectoryPath

func (x *UploadFileRequest) GetDirectoryPath() string

func (*UploadFileRequest) GetName

func (x *UploadFileRequest) GetName() string

func (*UploadFileRequest) GetSha

func (x *UploadFileRequest) GetSha() string

func (*UploadFileRequest) GetStore

func (x *UploadFileRequest) GetStore() string

func (*UploadFileRequest) ProtoMessage

func (*UploadFileRequest) ProtoMessage()

func (*UploadFileRequest) ProtoReflect

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

func (*UploadFileRequest) Reset

func (x *UploadFileRequest) Reset()

func (*UploadFileRequest) String

func (x *UploadFileRequest) String() string

func (*UploadFileRequest) Validate

func (m *UploadFileRequest) Validate() error

Validate checks the field values on UploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileRequest) ValidateAll

func (m *UploadFileRequest) ValidateAll() error

ValidateAll checks the field values on UploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileRequestMultiError, or nil if none found.

type UploadFileRequestMultiError

type UploadFileRequestMultiError []error

UploadFileRequestMultiError is an error wrapping multiple validation errors returned by UploadFileRequest.ValidateAll() if the designated constraints aren't met.

func (UploadFileRequestMultiError) AllErrors

func (m UploadFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadFileRequestValidationError

type UploadFileRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadFileRequestValidationError is the validation error returned by UploadFileRequest.Validate if the designated constraints aren't met.

func (UploadFileRequestValidationError) Cause

Cause function returns cause value.

func (UploadFileRequestValidationError) Error

Error satisfies the builtin error interface

func (UploadFileRequestValidationError) ErrorName

ErrorName returns error name.

func (UploadFileRequestValidationError) Field

Field function returns field value.

func (UploadFileRequestValidationError) Key

Key function returns key value.

func (UploadFileRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL