bitratpb

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use HashData.ProtoReflect.Descriptor instead.

func (*HashData) GetHash

func (x *HashData) GetHash() []byte

func (*HashData) GetModTime

func (x *HashData) GetModTime() *timestamppb.Timestamp

func (*HashData) GetSize

func (x *HashData) GetSize() int64

func (*HashData) ProtoMessage

func (*HashData) ProtoMessage()

func (*HashData) ProtoReflect

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

func (*HashData) Reset

func (x *HashData) Reset()

func (*HashData) String

func (x *HashData) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetHash

func (x *Record) GetHash() []byte

func (*Record) GetPath

func (x *Record) GetPath() string

func (*Record) GetSize

func (x *Record) GetSize() int64

func (*Record) GetTime

func (x *Record) GetTime() *timestamppb.Timestamp

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use RecordSet.ProtoReflect.Descriptor instead.

func (*RecordSet) GetAlgorithm

func (x *RecordSet) GetAlgorithm() string

func (*RecordSet) GetPathHashMap

func (x *RecordSet) GetPathHashMap() map[string]*HashData

func (*RecordSet) GetStatistics

func (x *RecordSet) GetStatistics() *Statistics

func (*RecordSet) ProtoMessage

func (*RecordSet) ProtoMessage()

func (*RecordSet) ProtoReflect

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

func (*RecordSet) Reset

func (x *RecordSet) Reset()

func (*RecordSet) String

func (x *RecordSet) String() string

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

Jump to

Keyboard shortcuts

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