Documentation ¶
Index ¶
- Variables
- type AttrRecord
- type HashData
- func (*HashData) Descriptor() ([]byte, []int)deprecated
- func (x *HashData) GetHash() []byte
- func (x *HashData) GetModTime() *timestamppb.Timestamp
- func (x *HashData) GetSize() int64
- func (*HashData) ProtoMessage()
- func (x *HashData) ProtoReflect() protoreflect.Message
- func (x *HashData) Reset()
- func (x *HashData) String() string
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetHash() []byte
- func (x *Record) GetPath() string
- func (x *Record) GetSize() int64
- func (x *Record) GetTime() *timestamppb.Timestamp
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type RecordSet
- func (*RecordSet) Descriptor() ([]byte, []int)deprecated
- func (x *RecordSet) GetAlgorithm() string
- func (x *RecordSet) GetPathHashMap() map[string]*HashData
- func (x *RecordSet) GetStatistics() *Statistics
- func (*RecordSet) ProtoMessage()
- func (x *RecordSet) ProtoReflect() protoreflect.Message
- func (x *RecordSet) Reset()
- func (x *RecordSet) String() string
- type Statistics
- func (*Statistics) Descriptor() ([]byte, []int)deprecated
- func (x *Statistics) GetElapsedTime() *durationpb.Duration
- func (x *Statistics) GetNumFiles() int64
- func (x *Statistics) GetParallel() int32
- func (x *Statistics) GetTotalBytes() int64
- func (x *Statistics) GetTotalTime() *durationpb.Duration
- func (*Statistics) ProtoMessage()
- func (x *Statistics) ProtoReflect() protoreflect.Message
- func (x *Statistics) Reset()
- func (x *Statistics) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_bitrat_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AttrRecord ¶
type AttrRecord struct { AlgoHashMap map[string]*HashData `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
ExtAttr record holds map of hash-name to HashData objects
func (*AttrRecord) Descriptor
deprecated
func (*AttrRecord) Descriptor() ([]byte, []int)
Deprecated: Use AttrRecord.ProtoReflect.Descriptor instead.
func (*AttrRecord) GetAlgoHashMap ¶
func (x *AttrRecord) GetAlgoHashMap() map[string]*HashData
func (*AttrRecord) ProtoMessage ¶
func (*AttrRecord) ProtoMessage()
func (*AttrRecord) ProtoReflect ¶
func (x *AttrRecord) ProtoReflect() protoreflect.Message
func (*AttrRecord) Reset ¶
func (x *AttrRecord) Reset()
func (*AttrRecord) String ¶
func (x *AttrRecord) String() string
type HashData ¶
type HashData struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` Size int64 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"` ModTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ModTime,proto3" json:"ModTime,omitempty"` // contains filtered or unexported fields }
func (*HashData) Descriptor
deprecated
func (*HashData) GetModTime ¶
func (x *HashData) GetModTime() *timestamppb.Timestamp
func (*HashData) ProtoMessage ¶
func (*HashData) ProtoMessage()
func (*HashData) ProtoReflect ¶
func (x *HashData) ProtoReflect() protoreflect.Message
type Record ¶
type Record struct { Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=Hash,proto3" json:"Hash,omitempty"` Size int64 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=Time,proto3" json:"Time,omitempty"` // contains filtered or unexported fields }
func (*Record) Descriptor
deprecated
func (*Record) GetTime ¶
func (x *Record) GetTime() *timestamppb.Timestamp
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type RecordSet ¶
type RecordSet struct { Algorithm string `protobuf:"bytes,1,opt,name=Algorithm,proto3" json:"Algorithm,omitempty"` PathHashMap map[string]*HashData `` /* 163-byte string literal not displayed */ // repeated Record Record = 2; Statistics *Statistics `protobuf:"bytes,3,opt,name=Statistics,proto3" json:"Statistics,omitempty"` // contains filtered or unexported fields }
func (*RecordSet) Descriptor
deprecated
func (*RecordSet) GetAlgorithm ¶
func (*RecordSet) GetPathHashMap ¶
func (*RecordSet) GetStatistics ¶
func (x *RecordSet) GetStatistics() *Statistics
func (*RecordSet) ProtoMessage ¶
func (*RecordSet) ProtoMessage()
func (*RecordSet) ProtoReflect ¶
func (x *RecordSet) ProtoReflect() protoreflect.Message
type Statistics ¶
type Statistics struct { NumFiles int64 `protobuf:"varint,1,opt,name=NumFiles,proto3" json:"NumFiles,omitempty"` TotalBytes int64 `protobuf:"varint,2,opt,name=TotalBytes,proto3" json:"TotalBytes,omitempty"` ElapsedTime *durationpb.Duration `protobuf:"bytes,3,opt,name=ElapsedTime,proto3" json:"ElapsedTime,omitempty"` TotalTime *durationpb.Duration `protobuf:"bytes,4,opt,name=TotalTime,proto3" json:"TotalTime,omitempty"` Parallel int32 `protobuf:"varint,5,opt,name=Parallel,proto3" json:"Parallel,omitempty"` // contains filtered or unexported fields }
func (*Statistics) Descriptor
deprecated
func (*Statistics) Descriptor() ([]byte, []int)
Deprecated: Use Statistics.ProtoReflect.Descriptor instead.
func (*Statistics) GetElapsedTime ¶
func (x *Statistics) GetElapsedTime() *durationpb.Duration
func (*Statistics) GetNumFiles ¶
func (x *Statistics) GetNumFiles() int64
func (*Statistics) GetParallel ¶
func (x *Statistics) GetParallel() int32
func (*Statistics) GetTotalBytes ¶
func (x *Statistics) GetTotalBytes() int64
func (*Statistics) GetTotalTime ¶
func (x *Statistics) GetTotalTime() *durationpb.Duration
func (*Statistics) ProtoMessage ¶
func (*Statistics) ProtoMessage()
func (*Statistics) ProtoReflect ¶
func (x *Statistics) ProtoReflect() protoreflect.Message
func (*Statistics) Reset ¶
func (x *Statistics) Reset()
func (*Statistics) String ¶
func (x *Statistics) String() string
Click to show internal directories.
Click to hide internal directories.