indexproto

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIndex        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIndex          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIndex = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type CidEntry

type CidEntry struct {
	Size_      uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	CreateTime int64  `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime int64  `protobuf:"varint,3,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	Refs       int32  `protobuf:"varint,4,opt,name=refs,proto3" json:"refs,omitempty"`
	Version    uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
}

func (*CidEntry) Descriptor

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

func (*CidEntry) GetCreateTime

func (m *CidEntry) GetCreateTime() int64

func (*CidEntry) GetRefs

func (m *CidEntry) GetRefs() int32

func (*CidEntry) GetSize_

func (m *CidEntry) GetSize_() uint64

func (*CidEntry) GetUpdateTime

func (m *CidEntry) GetUpdateTime() int64

func (*CidEntry) GetVersion

func (m *CidEntry) GetVersion() uint32

func (*CidEntry) Marshal

func (m *CidEntry) Marshal() (dAtA []byte, err error)

func (*CidEntry) MarshalTo

func (m *CidEntry) MarshalTo(dAtA []byte) (int, error)

func (*CidEntry) MarshalToSizedBuffer

func (m *CidEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CidEntry) ProtoMessage

func (*CidEntry) ProtoMessage()

func (*CidEntry) Reset

func (m *CidEntry) Reset()

func (*CidEntry) Size

func (m *CidEntry) Size() (n int)

func (*CidEntry) String

func (m *CidEntry) String() string

func (*CidEntry) Unmarshal

func (m *CidEntry) Unmarshal(dAtA []byte) error

func (*CidEntry) XXX_DiscardUnknown

func (m *CidEntry) XXX_DiscardUnknown()

func (*CidEntry) XXX_Marshal

func (m *CidEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CidEntry) XXX_Merge

func (m *CidEntry) XXX_Merge(src proto.Message)

func (*CidEntry) XXX_Size

func (m *CidEntry) XXX_Size() int

func (*CidEntry) XXX_Unmarshal

func (m *CidEntry) XXX_Unmarshal(b []byte) error

type CidList

type CidList struct {
	Cids [][]byte `protobuf:"bytes,1,rep,name=cids,proto3" json:"cids,omitempty"`
}

func (*CidList) Descriptor

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

func (*CidList) GetCids

func (m *CidList) GetCids() [][]byte

func (*CidList) Marshal

func (m *CidList) Marshal() (dAtA []byte, err error)

func (*CidList) MarshalTo

func (m *CidList) MarshalTo(dAtA []byte) (int, error)

func (*CidList) MarshalToSizedBuffer

func (m *CidList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CidList) ProtoMessage

func (*CidList) ProtoMessage()

func (*CidList) Reset

func (m *CidList) Reset()

func (*CidList) Size

func (m *CidList) Size() (n int)

func (*CidList) String

func (m *CidList) String() string

func (*CidList) Unmarshal

func (m *CidList) Unmarshal(dAtA []byte) error

func (*CidList) XXX_DiscardUnknown

func (m *CidList) XXX_DiscardUnknown()

func (*CidList) XXX_Marshal

func (m *CidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CidList) XXX_Merge

func (m *CidList) XXX_Merge(src proto.Message)

func (*CidList) XXX_Size

func (m *CidList) XXX_Size() int

func (*CidList) XXX_Unmarshal

func (m *CidList) XXX_Unmarshal(b []byte) error

type FileEntry

type FileEntry struct {
	Cids       []string `protobuf:"bytes,1,rep,name=cids,proto3" json:"cids,omitempty"`
	Size_      uint64   `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	CreateTime int64    `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime int64    `protobuf:"varint,4,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
}

func (*FileEntry) Descriptor

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

func (*FileEntry) GetCids

func (m *FileEntry) GetCids() []string

func (*FileEntry) GetCreateTime

func (m *FileEntry) GetCreateTime() int64

func (*FileEntry) GetSize_

func (m *FileEntry) GetSize_() uint64

func (*FileEntry) GetUpdateTime

func (m *FileEntry) GetUpdateTime() int64

func (*FileEntry) Marshal

func (m *FileEntry) Marshal() (dAtA []byte, err error)

func (*FileEntry) MarshalTo

func (m *FileEntry) MarshalTo(dAtA []byte) (int, error)

func (*FileEntry) MarshalToSizedBuffer

func (m *FileEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileEntry) ProtoMessage

func (*FileEntry) ProtoMessage()

func (*FileEntry) Reset

func (m *FileEntry) Reset()

func (*FileEntry) Size

func (m *FileEntry) Size() (n int)

func (*FileEntry) String

func (m *FileEntry) String() string

func (*FileEntry) Unmarshal

func (m *FileEntry) Unmarshal(dAtA []byte) error

func (*FileEntry) XXX_DiscardUnknown

func (m *FileEntry) XXX_DiscardUnknown()

func (*FileEntry) XXX_Marshal

func (m *FileEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileEntry) XXX_Merge

func (m *FileEntry) XXX_Merge(src proto.Message)

func (*FileEntry) XXX_Size

func (m *FileEntry) XXX_Size() int

func (*FileEntry) XXX_Unmarshal

func (m *FileEntry) XXX_Unmarshal(b []byte) error

type GroupEntry

type GroupEntry struct {
	GroupId      string   `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
	CreateTime   int64    `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime   int64    `protobuf:"varint,3,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	Size_        uint64   `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	CidCount     uint64   `protobuf:"varint,5,opt,name=cidCount,proto3" json:"cidCount,omitempty"`
	SpaceIds     []string `protobuf:"bytes,6,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
	Limit        uint64   `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
	AccountLimit uint64   `protobuf:"varint,8,opt,name=accountLimit,proto3" json:"accountLimit,omitempty"`
}

func (*GroupEntry) Descriptor

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

func (*GroupEntry) GetAccountLimit added in v0.6.0

func (m *GroupEntry) GetAccountLimit() uint64

func (*GroupEntry) GetCidCount

func (m *GroupEntry) GetCidCount() uint64

func (*GroupEntry) GetCreateTime

func (m *GroupEntry) GetCreateTime() int64

func (*GroupEntry) GetGroupId

func (m *GroupEntry) GetGroupId() string

func (*GroupEntry) GetLimit added in v0.6.0

func (m *GroupEntry) GetLimit() uint64

func (*GroupEntry) GetSize_

func (m *GroupEntry) GetSize_() uint64

func (*GroupEntry) GetSpaceIds

func (m *GroupEntry) GetSpaceIds() []string

func (*GroupEntry) GetUpdateTime

func (m *GroupEntry) GetUpdateTime() int64

func (*GroupEntry) Marshal

func (m *GroupEntry) Marshal() (dAtA []byte, err error)

func (*GroupEntry) MarshalTo

func (m *GroupEntry) MarshalTo(dAtA []byte) (int, error)

func (*GroupEntry) MarshalToSizedBuffer

func (m *GroupEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupEntry) ProtoMessage

func (*GroupEntry) ProtoMessage()

func (*GroupEntry) Reset

func (m *GroupEntry) Reset()

func (*GroupEntry) Size

func (m *GroupEntry) Size() (n int)

func (*GroupEntry) String

func (m *GroupEntry) String() string

func (*GroupEntry) Unmarshal

func (m *GroupEntry) Unmarshal(dAtA []byte) error

func (*GroupEntry) XXX_DiscardUnknown

func (m *GroupEntry) XXX_DiscardUnknown()

func (*GroupEntry) XXX_Marshal

func (m *GroupEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupEntry) XXX_Merge

func (m *GroupEntry) XXX_Merge(src proto.Message)

func (*GroupEntry) XXX_Size

func (m *GroupEntry) XXX_Size() int

func (*GroupEntry) XXX_Unmarshal

func (m *GroupEntry) XXX_Unmarshal(b []byte) error

type SpaceEntry

type SpaceEntry struct {
	GroupId    string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
	CreateTime int64  `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime int64  `protobuf:"varint,3,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	Size_      uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	FileCount  uint32 `protobuf:"varint,5,opt,name=fileCount,proto3" json:"fileCount,omitempty"`
	CidCount   uint64 `protobuf:"varint,6,opt,name=cidCount,proto3" json:"cidCount,omitempty"`
	Limit      uint64 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (*SpaceEntry) Descriptor

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

func (*SpaceEntry) GetCidCount

func (m *SpaceEntry) GetCidCount() uint64

func (*SpaceEntry) GetCreateTime

func (m *SpaceEntry) GetCreateTime() int64

func (*SpaceEntry) GetFileCount

func (m *SpaceEntry) GetFileCount() uint32

func (*SpaceEntry) GetGroupId

func (m *SpaceEntry) GetGroupId() string

func (*SpaceEntry) GetLimit added in v0.6.0

func (m *SpaceEntry) GetLimit() uint64

func (*SpaceEntry) GetSize_

func (m *SpaceEntry) GetSize_() uint64

func (*SpaceEntry) GetUpdateTime

func (m *SpaceEntry) GetUpdateTime() int64

func (*SpaceEntry) Marshal

func (m *SpaceEntry) Marshal() (dAtA []byte, err error)

func (*SpaceEntry) MarshalTo

func (m *SpaceEntry) MarshalTo(dAtA []byte) (int, error)

func (*SpaceEntry) MarshalToSizedBuffer

func (m *SpaceEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpaceEntry) ProtoMessage

func (*SpaceEntry) ProtoMessage()

func (*SpaceEntry) Reset

func (m *SpaceEntry) Reset()

func (*SpaceEntry) Size

func (m *SpaceEntry) Size() (n int)

func (*SpaceEntry) String

func (m *SpaceEntry) String() string

func (*SpaceEntry) Unmarshal

func (m *SpaceEntry) Unmarshal(dAtA []byte) error

func (*SpaceEntry) XXX_DiscardUnknown

func (m *SpaceEntry) XXX_DiscardUnknown()

func (*SpaceEntry) XXX_Marshal

func (m *SpaceEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpaceEntry) XXX_Merge

func (m *SpaceEntry) XXX_Merge(src proto.Message)

func (*SpaceEntry) XXX_Size

func (m *SpaceEntry) XXX_Size() int

func (*SpaceEntry) XXX_Unmarshal

func (m *SpaceEntry) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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