entry_pb

package
v0.0.0-...-f66ea8c Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_entry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Chunk

type Chunk struct {
	Offset        uint64  `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Size          uint64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Md5           []byte  `protobuf:"bytes,3,opt,name=md5,proto3" json:"md5,omitempty"`
	IsReplication bool    `protobuf:"varint,4,opt,name=is_replication,json=isReplication,proto3" json:"is_replication,omitempty"`
	Frags         []*Frag `protobuf:"bytes,5,rep,name=frags,proto3" json:"frags,omitempty"`
	// contains filtered or unexported fields
}

func (*Chunk) Descriptor deprecated

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

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetFrags

func (x *Chunk) GetFrags() []*Frag

func (*Chunk) GetIsReplication

func (x *Chunk) GetIsReplication() bool

func (*Chunk) GetMd5

func (x *Chunk) GetMd5() []byte

func (*Chunk) GetOffset

func (x *Chunk) GetOffset() uint64

func (*Chunk) GetSize

func (x *Chunk) GetSize() uint64

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

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

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

type Entry

type Entry struct {
	FullPath string   `protobuf:"bytes,1,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"`
	Bucket   string   `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Mtime    int64    `protobuf:"varint,3,opt,name=mtime,proto3" json:"mtime,omitempty"`
	Ctime    int64    `protobuf:"varint,4,opt,name=ctime,proto3" json:"ctime,omitempty"`
	Mode     uint32   `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"`
	Mine     string   `protobuf:"bytes,6,opt,name=mine,proto3" json:"mine,omitempty"`
	Md5      []byte   `protobuf:"bytes,7,opt,name=md5,proto3" json:"md5,omitempty"`
	FileSize uint64   `protobuf:"varint,8,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	Chunks   []*Chunk `protobuf:"bytes,9,rep,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetBucket

func (x *Entry) GetBucket() string

func (*Entry) GetChunks

func (x *Entry) GetChunks() []*Chunk

func (*Entry) GetCtime

func (x *Entry) GetCtime() int64

func (*Entry) GetFileSize

func (x *Entry) GetFileSize() uint64

func (*Entry) GetFullPath

func (x *Entry) GetFullPath() string

func (*Entry) GetMd5

func (x *Entry) GetMd5() []byte

func (*Entry) GetMine

func (x *Entry) GetMine() string

func (*Entry) GetMode

func (x *Entry) GetMode() uint32

func (*Entry) GetMtime

func (x *Entry) GetMtime() int64

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type Frag

type Frag struct {
	Size        uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	Id          int64  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Md5         []byte `protobuf:"bytes,3,opt,name=md5,proto3" json:"md5,omitempty"`
	IsDataShard bool   `protobuf:"varint,4,opt,name=is_data_shard,json=isDataShard,proto3" json:"is_data_shard,omitempty"`
	Fid         string `protobuf:"bytes,5,opt,name=fid,proto3" json:"fid,omitempty"`
	// contains filtered or unexported fields
}

func (*Frag) Descriptor deprecated

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

Deprecated: Use Frag.ProtoReflect.Descriptor instead.

func (*Frag) GetFid

func (x *Frag) GetFid() string

func (*Frag) GetId

func (x *Frag) GetId() int64

func (*Frag) GetIsDataShard

func (x *Frag) GetIsDataShard() bool

func (*Frag) GetMd5

func (x *Frag) GetMd5() []byte

func (*Frag) GetSize

func (x *Frag) GetSize() uint64

func (*Frag) ProtoMessage

func (*Frag) ProtoMessage()

func (*Frag) ProtoReflect

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

func (*Frag) Reset

func (x *Frag) Reset()

func (*Frag) String

func (x *Frag) String() string

Jump to

Keyboard shortcuts

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