pb

package
v0.0.0-...-abbc735 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_snapshot_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SnapshotMeta

type SnapshotMeta struct {
	Id                 string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Term               uint64            `protobuf:"varint,2,opt,name=term,proto3" json:"term,omitempty"`
	Index              uint64            `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Configuration      *pb.Configuration `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"`
	ConfigurationIndex uint64            `protobuf:"varint,5,opt,name=configuration_index,json=configurationIndex,proto3" json:"configuration_index,omitempty"`
	Size               uint64            `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	Crc64              uint64            `protobuf:"varint,7,opt,name=crc64,proto3" json:"crc64,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotMeta) Descriptor deprecated

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

Deprecated: Use SnapshotMeta.ProtoReflect.Descriptor instead.

func (*SnapshotMeta) GetConfiguration

func (x *SnapshotMeta) GetConfiguration() *pb.Configuration

func (*SnapshotMeta) GetConfigurationIndex

func (x *SnapshotMeta) GetConfigurationIndex() uint64

func (*SnapshotMeta) GetCrc64

func (x *SnapshotMeta) GetCrc64() uint64

func (*SnapshotMeta) GetId

func (x *SnapshotMeta) GetId() string

func (*SnapshotMeta) GetIndex

func (x *SnapshotMeta) GetIndex() uint64

func (*SnapshotMeta) GetSize

func (x *SnapshotMeta) GetSize() uint64

func (*SnapshotMeta) GetTerm

func (x *SnapshotMeta) GetTerm() uint64

func (*SnapshotMeta) MarshalLogObject

func (m *SnapshotMeta) MarshalLogObject(e zapcore.ObjectEncoder) error

func (*SnapshotMeta) ProtoMessage

func (*SnapshotMeta) ProtoMessage()

func (*SnapshotMeta) ProtoReflect

func (x *SnapshotMeta) ProtoReflect() protoreflect.Message

func (*SnapshotMeta) Reset

func (x *SnapshotMeta) Reset()

func (*SnapshotMeta) String

func (x *SnapshotMeta) String() string

Jump to

Keyboard shortcuts

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