pb

package
v0.3.0-docs.0...-f96dd80 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

backup.proto

It has these top-level messages:

KVPair

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthBackup = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBackup   = fmt.Errorf("proto: integer overflow")
)
View Source
var Table_name = map[int32]string{
	0: "DEFAULT",
	1: "INDEX",
	2: "HYPER",
	3: "HISTORY",
	4: "FSM",
}
View Source
var Table_value = map[string]int32{
	"DEFAULT": 0,
	"INDEX":   1,
	"HYPER":   2,
	"HISTORY": 3,
	"FSM":     4,
}

Functions

This section is empty.

Types

type KVPair

type KVPair struct {
	Table Table  `protobuf:"varint,1,opt,name=table,proto3,enum=pb.Table" json:"table,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

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

func (*KVPair) GetKey

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

func (*KVPair) GetTable

func (m *KVPair) GetTable() Table

func (*KVPair) GetValue

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

func (*KVPair) Marshal

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

func (*KVPair) MarshalTo

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

func (*KVPair) ProtoMessage

func (*KVPair) ProtoMessage()

func (*KVPair) Reset

func (m *KVPair) Reset()

func (*KVPair) Size

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

func (*KVPair) String

func (m *KVPair) String() string

func (*KVPair) Unmarshal

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

type Table

type Table int32
const (
	Table_DEFAULT Table = 0
	Table_INDEX   Table = 1
	Table_HYPER   Table = 2
	Table_HISTORY Table = 3
	Table_FSM     Table = 4
)

func (Table) EnumDescriptor

func (Table) EnumDescriptor() ([]byte, []int)

func (Table) String

func (x Table) String() string

Jump to

Keyboard shortcuts

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