package snappb

import "go.etcd.io/etcd/server/v3/etcdserver/api/snap/snappb"

Index

Variables

var File_snap_proto protoreflect.FileDescriptor

Types

type Snapshot

type Snapshot struct {
	Crc  *uint32 `protobuf:"varint,1,opt,name=crc" json:"crc,omitempty"`
	Data []byte  `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Snapshot) Descriptor

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

Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.

func (*Snapshot) GetCrc

func (x *Snapshot) GetCrc() uint32

func (*Snapshot) GetData

func (x *Snapshot) GetData() []byte

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) ProtoReflect

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

func (*Snapshot) Reset

func (x *Snapshot) Reset()

func (*Snapshot) String

func (x *Snapshot) String() string

Source Files

snap.pb.go

Version
v3.7.1 (latest)
Published
Jul 23, 2026
Platform
linux/amd64
Imports
5 packages
Last checked
5 hours ago

Tools for package owners.