snapshot

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: Apache-2.0 Imports: 4 Imported by: 2

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

Index

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 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   []byte `protobuf:"bytes,3,opt,name=commitlogID,proto3" json:"commitlogID,omitempty"`
}

func (*Metadata) Descriptor

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

func (*Metadata) GetCommitlogID

func (m *Metadata) GetCommitlogID() []byte

func (*Metadata) GetSnapshotIndex

func (m *Metadata) GetSnapshotIndex() int64

func (*Metadata) GetSnapshotUUID

func (m *Metadata) GetSnapshotUUID() []byte

func (*Metadata) Marshal

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

func (*Metadata) MarshalTo

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

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

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

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

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

Jump to

Keyboard shortcuts

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