linkdbv1

package
v0.0.0-...-57bb98e Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_linkdb_v1_messages_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DiskHeader

type DiskHeader struct {

	// Written when the disk is initially formatted to make sure
	// these parameters do not change when disk is re-opened.
	BlockSize int64      `protobuf:"varint,1,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	Capacity  int64      `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Metadata  *anypb.Any `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskHeader) Descriptor deprecated

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

Deprecated: Use DiskHeader.ProtoReflect.Descriptor instead.

func (*DiskHeader) GetBlockSize

func (x *DiskHeader) GetBlockSize() int64

func (*DiskHeader) GetCapacity

func (x *DiskHeader) GetCapacity() int64

func (*DiskHeader) GetMetadata

func (x *DiskHeader) GetMetadata() *anypb.Any

func (*DiskHeader) ProtoMessage

func (*DiskHeader) ProtoMessage()

func (*DiskHeader) ProtoReflect

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

func (*DiskHeader) Reset

func (x *DiskHeader) Reset()

func (*DiskHeader) String

func (x *DiskHeader) String() string

type Gap

type Gap struct {
	Offset    int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	GapLength int64 `protobuf:"varint,2,opt,name=gap_length,json=gapLength,proto3" json:"gap_length,omitempty"`
	// contains filtered or unexported fields
}

func (*Gap) Descriptor deprecated

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

Deprecated: Use Gap.ProtoReflect.Descriptor instead.

func (*Gap) GetGapLength

func (x *Gap) GetGapLength() int64

func (*Gap) GetOffset

func (x *Gap) GetOffset() int64

func (*Gap) ProtoMessage

func (*Gap) ProtoMessage()

func (*Gap) ProtoReflect

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

func (*Gap) Reset

func (x *Gap) Reset()

func (*Gap) String

func (x *Gap) String() string

type KeyValue

type KeyValue struct {
	Offset        int64      `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Key           string     `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Version       int64      `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	ValueLength   int64      `protobuf:"varint,4,opt,name=value_length,json=valueLength,proto3" json:"value_length,omitempty"`       // 0 if no value
	ValueChecksum uint64     `protobuf:"varint,5,opt,name=value_checksum,json=valueChecksum,proto3" json:"value_checksum,omitempty"` // value checksum
	Metadata      *anypb.Any `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValue) Descriptor deprecated

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetMetadata

func (x *KeyValue) GetMetadata() *anypb.Any

func (*KeyValue) GetOffset

func (x *KeyValue) GetOffset() int64

func (*KeyValue) GetValueChecksum

func (x *KeyValue) GetValueChecksum() uint64

func (*KeyValue) GetValueLength

func (x *KeyValue) GetValueLength() int64

func (*KeyValue) GetVersion

func (x *KeyValue) GetVersion() int64

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

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

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) String

func (x *KeyValue) String() string

type Wrapper

type Wrapper struct {

	// Types that are assignable to Wrapped:
	//
	//	*Wrapper_KeyValue
	//	*Wrapper_Gap
	Wrapped isWrapper_Wrapped `protobuf_oneof:"wrapped"`
	// contains filtered or unexported fields
}

func (*Wrapper) Descriptor deprecated

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

Deprecated: Use Wrapper.ProtoReflect.Descriptor instead.

func (*Wrapper) GetGap

func (x *Wrapper) GetGap() *Gap

func (*Wrapper) GetKeyValue

func (x *Wrapper) GetKeyValue() *KeyValue

func (*Wrapper) GetWrapped

func (m *Wrapper) GetWrapped() isWrapper_Wrapped

func (*Wrapper) ProtoMessage

func (*Wrapper) ProtoMessage()

func (*Wrapper) ProtoReflect

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

func (*Wrapper) Reset

func (x *Wrapper) Reset()

func (*Wrapper) String

func (x *Wrapper) String() string

type Wrapper_Gap

type Wrapper_Gap struct {
	Gap *Gap `protobuf:"bytes,2,opt,name=gap,proto3,oneof"`
}

type Wrapper_KeyValue

type Wrapper_KeyValue struct {
	KeyValue *KeyValue `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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