proto

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_changeset_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChangeSet added in v0.19.6

type ChangeSet struct {
	Pairs []*KVPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeSet) Descriptor deprecated added in v0.19.6

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

Deprecated: Use ChangeSet.ProtoReflect.Descriptor instead.

func (*ChangeSet) GetPairs added in v0.19.6

func (x *ChangeSet) GetPairs() []*KVPair

func (*ChangeSet) ProtoMessage added in v0.19.6

func (*ChangeSet) ProtoMessage()

func (*ChangeSet) ProtoReflect added in v1.0.0

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

func (*ChangeSet) Reset added in v0.19.6

func (x *ChangeSet) Reset()

func (*ChangeSet) String added in v0.19.6

func (x *ChangeSet) String() string

type KVPair added in v0.19.6

type KVPair struct {
	Delete bool   `protobuf:"varint,1,opt,name=delete,proto3" json:"delete,omitempty"`
	Key    []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value  []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KVPair) Descriptor deprecated added in v0.19.6

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

Deprecated: Use KVPair.ProtoReflect.Descriptor instead.

func (*KVPair) GetDelete added in v0.19.6

func (x *KVPair) GetDelete() bool

func (*KVPair) GetKey added in v0.19.6

func (x *KVPair) GetKey() []byte

func (*KVPair) GetValue added in v0.19.6

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

func (*KVPair) ProtoMessage added in v0.19.6

func (*KVPair) ProtoMessage()

func (*KVPair) ProtoReflect added in v1.0.0

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

func (*KVPair) Reset added in v0.19.6

func (x *KVPair) Reset()

func (*KVPair) String added in v0.19.6

func (x *KVPair) String() string

Jump to

Keyboard shortcuts

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