Documentation ¶
Overview ¶
Package snapshot is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/dbnode/generated/proto/snapshot/snapshot_metadata.proto
It has these top-level messages:
Metadata CommitLogID
Index ¶
- Variables
- type CommitLogID
- func (*CommitLogID) Descriptor() ([]byte, []int)
- func (m *CommitLogID) GetFilePath() string
- func (m *CommitLogID) GetIndex() int64
- func (m *CommitLogID) Marshal() (dAtA []byte, err error)
- func (m *CommitLogID) MarshalTo(dAtA []byte) (int, error)
- func (*CommitLogID) ProtoMessage()
- func (m *CommitLogID) Reset()
- func (m *CommitLogID) Size() (n int)
- func (m *CommitLogID) String() string
- func (m *CommitLogID) Unmarshal(dAtA []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetCommitlogID() *CommitLogID
- func (m *Metadata) GetSnapshotIndex() int64
- func (m *Metadata) GetSnapshotUUID() []byte
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSnapshotMetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSnapshotMetadata = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type CommitLogID ¶ added in v0.7.0
type CommitLogID struct { FilePath string `protobuf:"bytes,1,opt,name=filePath,proto3" json:"filePath,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` }
func (*CommitLogID) Descriptor ¶ added in v0.7.0
func (*CommitLogID) Descriptor() ([]byte, []int)
func (*CommitLogID) GetFilePath ¶ added in v0.7.0
func (m *CommitLogID) GetFilePath() string
func (*CommitLogID) GetIndex ¶ added in v0.7.0
func (m *CommitLogID) GetIndex() int64
func (*CommitLogID) Marshal ¶ added in v0.7.0
func (m *CommitLogID) Marshal() (dAtA []byte, err error)
func (*CommitLogID) MarshalTo ¶ added in v0.7.0
func (m *CommitLogID) MarshalTo(dAtA []byte) (int, error)
func (*CommitLogID) ProtoMessage ¶ added in v0.7.0
func (*CommitLogID) ProtoMessage()
func (*CommitLogID) Reset ¶ added in v0.7.0
func (m *CommitLogID) Reset()
func (*CommitLogID) Size ¶ added in v0.7.0
func (m *CommitLogID) Size() (n int)
func (*CommitLogID) String ¶ added in v0.7.0
func (m *CommitLogID) String() string
func (*CommitLogID) Unmarshal ¶ added in v0.7.0
func (m *CommitLogID) Unmarshal(dAtA []byte) error
type Metadata ¶
type Metadata struct { SnapshotIndex int64 `protobuf:"varint,1,opt,name=snapshotIndex,proto3" json:"snapshotIndex,omitempty"` SnapshotUUID []byte `protobuf:"bytes,2,opt,name=snapshotUUID,proto3" json:"snapshotUUID,omitempty"` CommitlogID *CommitLogID `protobuf:"bytes,3,opt,name=commitlogID" json:"commitlogID,omitempty"` }
func (*Metadata) Descriptor ¶
func (*Metadata) GetCommitlogID ¶
func (m *Metadata) GetCommitlogID() *CommitLogID
func (*Metadata) GetSnapshotIndex ¶
func (*Metadata) GetSnapshotUUID ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.