index

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 2

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

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) MarshalTo

func (m *IndexDigests) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *SegmentDigest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *SegmentFileInfo) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *SegmentInfo) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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