index

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: Apache-2.0 Imports: 4 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:

IndexInfo
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 IndexInfo

type IndexInfo 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"`
}

func (*IndexInfo) Descriptor

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

func (*IndexInfo) GetBlockSize

func (m *IndexInfo) GetBlockSize() int64

func (*IndexInfo) GetBlockStart

func (m *IndexInfo) GetBlockStart() int64

func (*IndexInfo) GetFileType

func (m *IndexInfo) GetFileType() int64

func (*IndexInfo) GetMajorVersion

func (m *IndexInfo) GetMajorVersion() int64

func (*IndexInfo) GetSegments

func (m *IndexInfo) GetSegments() []*SegmentInfo

func (*IndexInfo) GetShards

func (m *IndexInfo) GetShards() []uint32

func (*IndexInfo) GetSnapshotTime

func (m *IndexInfo) GetSnapshotTime() int64

func (*IndexInfo) Marshal

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

func (*IndexInfo) MarshalTo

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

func (*IndexInfo) ProtoMessage

func (*IndexInfo) ProtoMessage()

func (*IndexInfo) Reset

func (m *IndexInfo) Reset()

func (*IndexInfo) Size

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

func (*IndexInfo) String

func (m *IndexInfo) String() string

func (*IndexInfo) Unmarshal

func (m *IndexInfo) 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