Documentation ¶
Overview ¶
Package index is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/dbnode/generated/proto/index/index.proto
It has these top-level messages:
IndexVolumeInfo SegmentInfo SegmentFileInfo IndexDigests SegmentDigest SegmentFileDigest
Index ¶
- Variables
- type IndexDigests
- func (*IndexDigests) Descriptor() ([]byte, []int)
- func (m *IndexDigests) GetInfoDigest() uint32
- func (m *IndexDigests) GetSegmentDigests() []*SegmentDigest
- func (m *IndexDigests) Marshal() (dAtA []byte, err error)
- func (m *IndexDigests) MarshalTo(dAtA []byte) (int, error)
- func (*IndexDigests) ProtoMessage()
- func (m *IndexDigests) Reset()
- func (m *IndexDigests) Size() (n int)
- func (m *IndexDigests) String() string
- func (m *IndexDigests) Unmarshal(dAtA []byte) error
- type IndexVolumeInfo
- func (*IndexVolumeInfo) Descriptor() ([]byte, []int)
- func (m *IndexVolumeInfo) GetBlockSize() int64
- func (m *IndexVolumeInfo) GetBlockStart() int64
- func (m *IndexVolumeInfo) GetFileType() int64
- func (m *IndexVolumeInfo) GetIndexVolumeType() *google_protobuf.StringValue
- func (m *IndexVolumeInfo) GetMajorVersion() int64
- func (m *IndexVolumeInfo) GetSegments() []*SegmentInfo
- func (m *IndexVolumeInfo) GetShards() []uint32
- func (m *IndexVolumeInfo) GetSnapshotTime() int64
- func (m *IndexVolumeInfo) Marshal() (dAtA []byte, err error)
- func (m *IndexVolumeInfo) MarshalTo(dAtA []byte) (int, error)
- func (*IndexVolumeInfo) ProtoMessage()
- func (m *IndexVolumeInfo) Reset()
- func (m *IndexVolumeInfo) Size() (n int)
- func (m *IndexVolumeInfo) String() string
- func (m *IndexVolumeInfo) Unmarshal(dAtA []byte) error
- type SegmentDigest
- func (*SegmentDigest) Descriptor() ([]byte, []int)
- func (m *SegmentDigest) GetFiles() []*SegmentFileDigest
- func (m *SegmentDigest) GetSegmentType() string
- func (m *SegmentDigest) Marshal() (dAtA []byte, err error)
- func (m *SegmentDigest) MarshalTo(dAtA []byte) (int, error)
- func (*SegmentDigest) ProtoMessage()
- func (m *SegmentDigest) Reset()
- func (m *SegmentDigest) Size() (n int)
- func (m *SegmentDigest) String() string
- func (m *SegmentDigest) Unmarshal(dAtA []byte) error
- type SegmentFileDigest
- func (*SegmentFileDigest) Descriptor() ([]byte, []int)
- func (m *SegmentFileDigest) GetDigest() uint32
- func (m *SegmentFileDigest) GetSegmentFileType() string
- func (m *SegmentFileDigest) Marshal() (dAtA []byte, err error)
- func (m *SegmentFileDigest) MarshalTo(dAtA []byte) (int, error)
- func (*SegmentFileDigest) ProtoMessage()
- func (m *SegmentFileDigest) Reset()
- func (m *SegmentFileDigest) Size() (n int)
- func (m *SegmentFileDigest) String() string
- func (m *SegmentFileDigest) Unmarshal(dAtA []byte) error
- type SegmentFileInfo
- func (*SegmentFileInfo) Descriptor() ([]byte, []int)
- func (m *SegmentFileInfo) GetSegmentFileType() string
- func (m *SegmentFileInfo) Marshal() (dAtA []byte, err error)
- func (m *SegmentFileInfo) MarshalTo(dAtA []byte) (int, error)
- func (*SegmentFileInfo) ProtoMessage()
- func (m *SegmentFileInfo) Reset()
- func (m *SegmentFileInfo) Size() (n int)
- func (m *SegmentFileInfo) String() string
- func (m *SegmentFileInfo) Unmarshal(dAtA []byte) error
- type SegmentInfo
- func (*SegmentInfo) Descriptor() ([]byte, []int)
- func (m *SegmentInfo) GetFiles() []*SegmentFileInfo
- func (m *SegmentInfo) GetMajorVersion() int64
- func (m *SegmentInfo) GetMetadata() []byte
- func (m *SegmentInfo) GetMinorVersion() int64
- func (m *SegmentInfo) GetSegmentType() string
- func (m *SegmentInfo) Marshal() (dAtA []byte, err error)
- func (m *SegmentInfo) MarshalTo(dAtA []byte) (int, error)
- func (*SegmentInfo) ProtoMessage()
- func (m *SegmentInfo) Reset()
- func (m *SegmentInfo) Size() (n int)
- func (m *SegmentInfo) String() string
- func (m *SegmentInfo) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthIndex = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIndex = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type IndexDigests ¶
type IndexDigests struct { InfoDigest uint32 `protobuf:"varint,1,opt,name=infoDigest,proto3" json:"infoDigest,omitempty"` SegmentDigests []*SegmentDigest `protobuf:"bytes,2,rep,name=segmentDigests" json:"segmentDigests,omitempty"` }
func (*IndexDigests) Descriptor ¶
func (*IndexDigests) Descriptor() ([]byte, []int)
func (*IndexDigests) GetInfoDigest ¶
func (m *IndexDigests) GetInfoDigest() uint32
func (*IndexDigests) GetSegmentDigests ¶
func (m *IndexDigests) GetSegmentDigests() []*SegmentDigest
func (*IndexDigests) Marshal ¶
func (m *IndexDigests) Marshal() (dAtA []byte, err error)
func (*IndexDigests) ProtoMessage ¶
func (*IndexDigests) ProtoMessage()
func (*IndexDigests) Reset ¶
func (m *IndexDigests) Reset()
func (*IndexDigests) Size ¶
func (m *IndexDigests) Size() (n int)
func (*IndexDigests) String ¶
func (m *IndexDigests) String() string
func (*IndexDigests) Unmarshal ¶
func (m *IndexDigests) Unmarshal(dAtA []byte) error
type IndexVolumeInfo ¶ added in v0.15.0
type IndexVolumeInfo struct { MajorVersion int64 `protobuf:"varint,1,opt,name=majorVersion,proto3" json:"majorVersion,omitempty"` BlockStart int64 `protobuf:"varint,2,opt,name=blockStart,proto3" json:"blockStart,omitempty"` BlockSize int64 `protobuf:"varint,3,opt,name=blockSize,proto3" json:"blockSize,omitempty"` FileType int64 `protobuf:"varint,4,opt,name=fileType,proto3" json:"fileType,omitempty"` Shards []uint32 `protobuf:"varint,5,rep,packed,name=shards" json:"shards,omitempty"` SnapshotTime int64 `protobuf:"varint,6,opt,name=snapshotTime,proto3" json:"snapshotTime,omitempty"` Segments []*SegmentInfo `protobuf:"bytes,7,rep,name=segments" json:"segments,omitempty"` IndexVolumeType *google_protobuf.StringValue `protobuf:"bytes,8,opt,name=indexVolumeType" json:"indexVolumeType,omitempty"` }
func (*IndexVolumeInfo) Descriptor ¶ added in v0.15.0
func (*IndexVolumeInfo) Descriptor() ([]byte, []int)
func (*IndexVolumeInfo) GetBlockSize ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetBlockSize() int64
func (*IndexVolumeInfo) GetBlockStart ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetBlockStart() int64
func (*IndexVolumeInfo) GetFileType ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetFileType() int64
func (*IndexVolumeInfo) GetIndexVolumeType ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetIndexVolumeType() *google_protobuf.StringValue
func (*IndexVolumeInfo) GetMajorVersion ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetMajorVersion() int64
func (*IndexVolumeInfo) GetSegments ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetSegments() []*SegmentInfo
func (*IndexVolumeInfo) GetShards ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetShards() []uint32
func (*IndexVolumeInfo) GetSnapshotTime ¶ added in v0.15.0
func (m *IndexVolumeInfo) GetSnapshotTime() int64
func (*IndexVolumeInfo) Marshal ¶ added in v0.15.0
func (m *IndexVolumeInfo) Marshal() (dAtA []byte, err error)
func (*IndexVolumeInfo) MarshalTo ¶ added in v0.15.0
func (m *IndexVolumeInfo) MarshalTo(dAtA []byte) (int, error)
func (*IndexVolumeInfo) ProtoMessage ¶ added in v0.15.0
func (*IndexVolumeInfo) ProtoMessage()
func (*IndexVolumeInfo) Reset ¶ added in v0.15.0
func (m *IndexVolumeInfo) Reset()
func (*IndexVolumeInfo) Size ¶ added in v0.15.0
func (m *IndexVolumeInfo) Size() (n int)
func (*IndexVolumeInfo) String ¶ added in v0.15.0
func (m *IndexVolumeInfo) String() string
func (*IndexVolumeInfo) Unmarshal ¶ added in v0.15.0
func (m *IndexVolumeInfo) Unmarshal(dAtA []byte) error
type SegmentDigest ¶
type SegmentDigest struct { SegmentType string `protobuf:"bytes,1,opt,name=segmentType,proto3" json:"segmentType,omitempty"` Files []*SegmentFileDigest `protobuf:"bytes,2,rep,name=files" json:"files,omitempty"` }
func (*SegmentDigest) Descriptor ¶
func (*SegmentDigest) Descriptor() ([]byte, []int)
func (*SegmentDigest) GetFiles ¶
func (m *SegmentDigest) GetFiles() []*SegmentFileDigest
func (*SegmentDigest) GetSegmentType ¶
func (m *SegmentDigest) GetSegmentType() string
func (*SegmentDigest) Marshal ¶
func (m *SegmentDigest) Marshal() (dAtA []byte, err error)
func (*SegmentDigest) ProtoMessage ¶
func (*SegmentDigest) ProtoMessage()
func (*SegmentDigest) Reset ¶
func (m *SegmentDigest) Reset()
func (*SegmentDigest) Size ¶
func (m *SegmentDigest) Size() (n int)
func (*SegmentDigest) String ¶
func (m *SegmentDigest) String() string
func (*SegmentDigest) Unmarshal ¶
func (m *SegmentDigest) Unmarshal(dAtA []byte) error
type SegmentFileDigest ¶
type SegmentFileDigest struct { SegmentFileType string `protobuf:"bytes,1,opt,name=segmentFileType,proto3" json:"segmentFileType,omitempty"` Digest uint32 `protobuf:"varint,2,opt,name=digest,proto3" json:"digest,omitempty"` }
func (*SegmentFileDigest) Descriptor ¶
func (*SegmentFileDigest) Descriptor() ([]byte, []int)
func (*SegmentFileDigest) GetDigest ¶
func (m *SegmentFileDigest) GetDigest() uint32
func (*SegmentFileDigest) GetSegmentFileType ¶
func (m *SegmentFileDigest) GetSegmentFileType() string
func (*SegmentFileDigest) Marshal ¶
func (m *SegmentFileDigest) Marshal() (dAtA []byte, err error)
func (*SegmentFileDigest) MarshalTo ¶
func (m *SegmentFileDigest) MarshalTo(dAtA []byte) (int, error)
func (*SegmentFileDigest) ProtoMessage ¶
func (*SegmentFileDigest) ProtoMessage()
func (*SegmentFileDigest) Reset ¶
func (m *SegmentFileDigest) Reset()
func (*SegmentFileDigest) Size ¶
func (m *SegmentFileDigest) Size() (n int)
func (*SegmentFileDigest) String ¶
func (m *SegmentFileDigest) String() string
func (*SegmentFileDigest) Unmarshal ¶
func (m *SegmentFileDigest) Unmarshal(dAtA []byte) error
type SegmentFileInfo ¶
type SegmentFileInfo struct {
SegmentFileType string `protobuf:"bytes,1,opt,name=segmentFileType,proto3" json:"segmentFileType,omitempty"`
}
func (*SegmentFileInfo) Descriptor ¶
func (*SegmentFileInfo) Descriptor() ([]byte, []int)
func (*SegmentFileInfo) GetSegmentFileType ¶
func (m *SegmentFileInfo) GetSegmentFileType() string
func (*SegmentFileInfo) Marshal ¶
func (m *SegmentFileInfo) Marshal() (dAtA []byte, err error)
func (*SegmentFileInfo) ProtoMessage ¶
func (*SegmentFileInfo) ProtoMessage()
func (*SegmentFileInfo) Reset ¶
func (m *SegmentFileInfo) Reset()
func (*SegmentFileInfo) Size ¶
func (m *SegmentFileInfo) Size() (n int)
func (*SegmentFileInfo) String ¶
func (m *SegmentFileInfo) String() string
func (*SegmentFileInfo) Unmarshal ¶
func (m *SegmentFileInfo) Unmarshal(dAtA []byte) error
type SegmentInfo ¶
type SegmentInfo struct { SegmentType string `protobuf:"bytes,1,opt,name=segmentType,proto3" json:"segmentType,omitempty"` MajorVersion int64 `protobuf:"varint,2,opt,name=majorVersion,proto3" json:"majorVersion,omitempty"` MinorVersion int64 `protobuf:"varint,3,opt,name=minorVersion,proto3" json:"minorVersion,omitempty"` Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` Files []*SegmentFileInfo `protobuf:"bytes,5,rep,name=files" json:"files,omitempty"` }
func (*SegmentInfo) Descriptor ¶
func (*SegmentInfo) Descriptor() ([]byte, []int)
func (*SegmentInfo) GetFiles ¶
func (m *SegmentInfo) GetFiles() []*SegmentFileInfo
func (*SegmentInfo) GetMajorVersion ¶
func (m *SegmentInfo) GetMajorVersion() int64
func (*SegmentInfo) GetMetadata ¶
func (m *SegmentInfo) GetMetadata() []byte
func (*SegmentInfo) GetMinorVersion ¶
func (m *SegmentInfo) GetMinorVersion() int64
func (*SegmentInfo) GetSegmentType ¶
func (m *SegmentInfo) GetSegmentType() string
func (*SegmentInfo) Marshal ¶
func (m *SegmentInfo) Marshal() (dAtA []byte, err error)
func (*SegmentInfo) ProtoMessage ¶
func (*SegmentInfo) ProtoMessage()
func (*SegmentInfo) Reset ¶
func (m *SegmentInfo) Reset()
func (*SegmentInfo) Size ¶
func (m *SegmentInfo) Size() (n int)
func (*SegmentInfo) String ¶
func (m *SegmentInfo) String() string
func (*SegmentInfo) Unmarshal ¶
func (m *SegmentInfo) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.