proto

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthChangeset        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChangeset          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChangeset = fmt.Errorf("proto: unexpected end of group")
)

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"`
}

func (*ChangeSet) Descriptor added in v0.19.6

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

func (*ChangeSet) GetPairs added in v0.19.6

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

func (*ChangeSet) Marshal added in v0.19.6

func (m *ChangeSet) Marshal() (dAtA []byte, err error)

func (*ChangeSet) MarshalTo added in v0.19.6

func (m *ChangeSet) MarshalTo(dAtA []byte) (int, error)

func (*ChangeSet) MarshalToSizedBuffer added in v0.19.6

func (m *ChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangeSet) ProtoMessage added in v0.19.6

func (*ChangeSet) ProtoMessage()

func (*ChangeSet) Reset added in v0.19.6

func (m *ChangeSet) Reset()

func (*ChangeSet) Size added in v0.19.6

func (m *ChangeSet) Size() (n int)

func (*ChangeSet) String added in v0.19.6

func (m *ChangeSet) String() string

func (*ChangeSet) Unmarshal added in v0.19.6

func (m *ChangeSet) Unmarshal(dAtA []byte) error

func (*ChangeSet) XXX_DiscardUnknown added in v0.19.6

func (m *ChangeSet) XXX_DiscardUnknown()

func (*ChangeSet) XXX_Marshal added in v0.19.6

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

func (*ChangeSet) XXX_Merge added in v0.19.6

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

func (*ChangeSet) XXX_Size added in v0.19.6

func (m *ChangeSet) XXX_Size() int

func (*ChangeSet) XXX_Unmarshal added in v0.19.6

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

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"`
}

func (*KVPair) Descriptor added in v0.19.6

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

func (*KVPair) GetDelete added in v0.19.6

func (m *KVPair) GetDelete() bool

func (*KVPair) GetKey added in v0.19.6

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

func (*KVPair) GetValue added in v0.19.6

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

func (*KVPair) Marshal added in v0.19.6

func (m *KVPair) Marshal() (dAtA []byte, err error)

func (*KVPair) MarshalTo added in v0.19.6

func (m *KVPair) MarshalTo(dAtA []byte) (int, error)

func (*KVPair) MarshalToSizedBuffer added in v0.19.6

func (m *KVPair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KVPair) ProtoMessage added in v0.19.6

func (*KVPair) ProtoMessage()

func (*KVPair) Reset added in v0.19.6

func (m *KVPair) Reset()

func (*KVPair) Size added in v0.19.6

func (m *KVPair) Size() (n int)

func (*KVPair) String added in v0.19.6

func (m *KVPair) String() string

func (*KVPair) Unmarshal added in v0.19.6

func (m *KVPair) Unmarshal(dAtA []byte) error

func (*KVPair) XXX_DiscardUnknown added in v0.19.6

func (m *KVPair) XXX_DiscardUnknown()

func (*KVPair) XXX_Marshal added in v0.19.6

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

func (*KVPair) XXX_Merge added in v0.19.6

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

func (*KVPair) XXX_Size added in v0.19.6

func (m *KVPair) XXX_Size() int

func (*KVPair) XXX_Unmarshal added in v0.19.6

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

Jump to

Keyboard shortcuts

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