types

package
v0.0.0-...-52b58a3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0, MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkInfo

type ChunkInfo struct {
	// OpNum is the ID of the op, used to ensure values are applied to the
	// right operation
	OpNum uint64 `protobuf:"varint,1,opt,name=op_num,json=opNum,proto3" json:"op_num,omitempty"`
	// SequenceNum is the current number of the ops; when applying we should
	// see this start at zero and increment by one without skips
	SequenceNum uint32 `protobuf:"varint,2,opt,name=sequence_num,json=sequenceNum,proto3" json:"sequence_num,omitempty"`
	// NumChunks is used to check whether all chunks have been received and
	// reconstruction should be attempted
	NumChunks uint32 `protobuf:"varint,3,opt,name=num_chunks,json=numChunks,proto3" json:"num_chunks,omitempty"`
	// NextExtensions holds inner extensions information for the next layer
	// down of Apply
	NextExtensions       []byte   `protobuf:"bytes,4,opt,name=next_extensions,json=nextExtensions,proto3" json:"next_extensions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChunkInfo) Descriptor

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

func (*ChunkInfo) GetNextExtensions

func (m *ChunkInfo) GetNextExtensions() []byte

func (*ChunkInfo) GetNumChunks

func (m *ChunkInfo) GetNumChunks() uint32

func (*ChunkInfo) GetOpNum

func (m *ChunkInfo) GetOpNum() uint64

func (*ChunkInfo) GetSequenceNum

func (m *ChunkInfo) GetSequenceNum() uint32

func (*ChunkInfo) ProtoMessage

func (*ChunkInfo) ProtoMessage()

func (*ChunkInfo) Reset

func (m *ChunkInfo) Reset()

func (*ChunkInfo) String

func (m *ChunkInfo) String() string

func (*ChunkInfo) XXX_DiscardUnknown

func (m *ChunkInfo) XXX_DiscardUnknown()

func (*ChunkInfo) XXX_Marshal

func (m *ChunkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChunkInfo) XXX_Merge

func (m *ChunkInfo) XXX_Merge(src proto.Message)

func (*ChunkInfo) XXX_Size

func (m *ChunkInfo) XXX_Size() int

func (*ChunkInfo) XXX_Unmarshal

func (m *ChunkInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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