proto

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const V1 = 1

Variables

Functions

This section is empty.

Types

type VersionedValue

type VersionedValue struct {
	Version    uint32            `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Value      []byte            `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	KeyVersion []byte            `protobuf:"bytes,3,opt,name=key_version,json=keyVersion,proto3" json:"key_version,omitempty"`
	Meta       map[string][]byte `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VersionedValue) Descriptor deprecated

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

Deprecated: Use VersionedValue.ProtoReflect.Descriptor instead.

func (*VersionedValue) GetKeyVersion added in v0.4.0

func (x *VersionedValue) GetKeyVersion() []byte

func (*VersionedValue) GetMeta

func (x *VersionedValue) GetMeta() map[string][]byte

func (*VersionedValue) GetValue

func (x *VersionedValue) GetValue() []byte

func (*VersionedValue) GetVersion

func (x *VersionedValue) GetVersion() uint32

func (*VersionedValue) ProtoMessage

func (*VersionedValue) ProtoMessage()

func (*VersionedValue) ProtoReflect added in v0.4.0

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

func (*VersionedValue) Reset

func (x *VersionedValue) Reset()

func (*VersionedValue) String

func (x *VersionedValue) String() string

Jump to

Keyboard shortcuts

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