errorpb

package
v0.0.0-...-f0aa2c5 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthErrorpb = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowErrorpb   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type CellNotFound

type CellNotFound struct {
	CellID               uint64   `protobuf:"varint,1,opt,name=cellID" json:"cellID"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CellNotFound) Descriptor

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

func (*CellNotFound) GetCellID

func (m *CellNotFound) GetCellID() uint64

func (*CellNotFound) Marshal

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

func (*CellNotFound) MarshalTo

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

func (*CellNotFound) MarshalToSizedBuffer

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

func (*CellNotFound) ProtoMessage

func (*CellNotFound) ProtoMessage()

func (*CellNotFound) Reset

func (m *CellNotFound) Reset()

func (*CellNotFound) Size

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

func (*CellNotFound) String

func (m *CellNotFound) String() string

func (*CellNotFound) Unmarshal

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

func (*CellNotFound) XXX_DiscardUnknown

func (m *CellNotFound) XXX_DiscardUnknown()

func (*CellNotFound) XXX_Marshal

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

func (*CellNotFound) XXX_Merge

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

func (*CellNotFound) XXX_Size

func (m *CellNotFound) XXX_Size() int

func (*CellNotFound) XXX_Unmarshal

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

type Error

type Error struct {
	Message              string             `protobuf:"bytes,1,opt,name=message" json:"message"`
	NotLeader            *NotLeader         `protobuf:"bytes,2,opt,name=notLeader" json:"notLeader,omitempty"`
	CellNotFound         *CellNotFound      `protobuf:"bytes,3,opt,name=cellNotFound" json:"cellNotFound,omitempty"`
	KeyNotInCell         *KeyNotInCell      `protobuf:"bytes,4,opt,name=KeyNotInCell" json:"KeyNotInCell,omitempty"`
	StaleEpoch           *StaleEpoch        `protobuf:"bytes,5,opt,name=staleEpoch" json:"staleEpoch,omitempty"`
	ServerIsBusy         *ServerIsBusy      `protobuf:"bytes,6,opt,name=serverIsBusy" json:"serverIsBusy,omitempty"`
	StaleCommand         *StaleCommand      `protobuf:"bytes,7,opt,name=staleCommand" json:"staleCommand,omitempty"`
	StoreNotMatch        *StoreNotMatch     `protobuf:"bytes,8,opt,name=storeNotMatch" json:"storeNotMatch,omitempty"`
	RaftEntryTooLarge    *RaftEntryTooLarge `protobuf:"bytes,9,opt,name=raftEntryTooLarge" json:"raftEntryTooLarge,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetCellNotFound

func (m *Error) GetCellNotFound() *CellNotFound

func (*Error) GetKeyNotInCell

func (m *Error) GetKeyNotInCell() *KeyNotInCell

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) GetNotLeader

func (m *Error) GetNotLeader() *NotLeader

func (*Error) GetRaftEntryTooLarge

func (m *Error) GetRaftEntryTooLarge() *RaftEntryTooLarge

func (*Error) GetServerIsBusy

func (m *Error) GetServerIsBusy() *ServerIsBusy

func (*Error) GetStaleCommand

func (m *Error) GetStaleCommand() *StaleCommand

func (*Error) GetStaleEpoch

func (m *Error) GetStaleEpoch() *StaleEpoch

func (*Error) GetStoreNotMatch

func (m *Error) GetStoreNotMatch() *StoreNotMatch

func (*Error) Marshal

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

func (*Error) MarshalTo

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

func (*Error) MarshalToSizedBuffer

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

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) Size

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

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

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

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

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

func (*Error) XXX_Merge

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

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

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

type KeyNotInCell

type KeyNotInCell struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	CellID               uint64   `protobuf:"varint,2,opt,name=cellID" json:"cellID"`
	StartKey             []byte   `protobuf:"bytes,3,opt,name=startKey" json:"startKey,omitempty"`
	EndKey               []byte   `protobuf:"bytes,4,opt,name=endKey" json:"endKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyNotInCell) Descriptor

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

func (*KeyNotInCell) GetCellID

func (m *KeyNotInCell) GetCellID() uint64

func (*KeyNotInCell) GetEndKey

func (m *KeyNotInCell) GetEndKey() []byte

func (*KeyNotInCell) GetKey

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

func (*KeyNotInCell) GetStartKey

func (m *KeyNotInCell) GetStartKey() []byte

func (*KeyNotInCell) Marshal

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

func (*KeyNotInCell) MarshalTo

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

func (*KeyNotInCell) MarshalToSizedBuffer

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

func (*KeyNotInCell) ProtoMessage

func (*KeyNotInCell) ProtoMessage()

func (*KeyNotInCell) Reset

func (m *KeyNotInCell) Reset()

func (*KeyNotInCell) Size

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

func (*KeyNotInCell) String

func (m *KeyNotInCell) String() string

func (*KeyNotInCell) Unmarshal

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

func (*KeyNotInCell) XXX_DiscardUnknown

func (m *KeyNotInCell) XXX_DiscardUnknown()

func (*KeyNotInCell) XXX_Marshal

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

func (*KeyNotInCell) XXX_Merge

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

func (*KeyNotInCell) XXX_Size

func (m *KeyNotInCell) XXX_Size() int

func (*KeyNotInCell) XXX_Unmarshal

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

type NotLeader

type NotLeader struct {
	CellID               uint64      `protobuf:"varint,1,opt,name=cellID" json:"cellID"`
	Leader               metapb.Peer `protobuf:"bytes,2,opt,name=leader" json:"leader"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*NotLeader) Descriptor

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

func (*NotLeader) GetCellID

func (m *NotLeader) GetCellID() uint64

func (*NotLeader) GetLeader

func (m *NotLeader) GetLeader() metapb.Peer

func (*NotLeader) Marshal

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

func (*NotLeader) MarshalTo

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

func (*NotLeader) MarshalToSizedBuffer

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

func (*NotLeader) ProtoMessage

func (*NotLeader) ProtoMessage()

func (*NotLeader) Reset

func (m *NotLeader) Reset()

func (*NotLeader) Size

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

func (*NotLeader) String

func (m *NotLeader) String() string

func (*NotLeader) Unmarshal

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

func (*NotLeader) XXX_DiscardUnknown

func (m *NotLeader) XXX_DiscardUnknown()

func (*NotLeader) XXX_Marshal

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

func (*NotLeader) XXX_Merge

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

func (*NotLeader) XXX_Size

func (m *NotLeader) XXX_Size() int

func (*NotLeader) XXX_Unmarshal

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

type RaftEntryTooLarge

type RaftEntryTooLarge struct {
	CellID               uint64   `protobuf:"varint,1,opt,name=cellID" json:"cellID"`
	EntrySize            uint64   `protobuf:"varint,2,opt,name=entrySize" json:"entrySize"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RaftEntryTooLarge) Descriptor

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

func (*RaftEntryTooLarge) GetCellID

func (m *RaftEntryTooLarge) GetCellID() uint64

func (*RaftEntryTooLarge) GetEntrySize

func (m *RaftEntryTooLarge) GetEntrySize() uint64

func (*RaftEntryTooLarge) Marshal

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

func (*RaftEntryTooLarge) MarshalTo

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

func (*RaftEntryTooLarge) MarshalToSizedBuffer

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

func (*RaftEntryTooLarge) ProtoMessage

func (*RaftEntryTooLarge) ProtoMessage()

func (*RaftEntryTooLarge) Reset

func (m *RaftEntryTooLarge) Reset()

func (*RaftEntryTooLarge) Size

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

func (*RaftEntryTooLarge) String

func (m *RaftEntryTooLarge) String() string

func (*RaftEntryTooLarge) Unmarshal

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

func (*RaftEntryTooLarge) XXX_DiscardUnknown

func (m *RaftEntryTooLarge) XXX_DiscardUnknown()

func (*RaftEntryTooLarge) XXX_Marshal

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

func (*RaftEntryTooLarge) XXX_Merge

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

func (*RaftEntryTooLarge) XXX_Size

func (m *RaftEntryTooLarge) XXX_Size() int

func (*RaftEntryTooLarge) XXX_Unmarshal

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

type ServerIsBusy

type ServerIsBusy struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServerIsBusy) Descriptor

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

func (*ServerIsBusy) Marshal

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

func (*ServerIsBusy) MarshalTo

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

func (*ServerIsBusy) MarshalToSizedBuffer

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

func (*ServerIsBusy) ProtoMessage

func (*ServerIsBusy) ProtoMessage()

func (*ServerIsBusy) Reset

func (m *ServerIsBusy) Reset()

func (*ServerIsBusy) Size

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

func (*ServerIsBusy) String

func (m *ServerIsBusy) String() string

func (*ServerIsBusy) Unmarshal

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

func (*ServerIsBusy) XXX_DiscardUnknown

func (m *ServerIsBusy) XXX_DiscardUnknown()

func (*ServerIsBusy) XXX_Marshal

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

func (*ServerIsBusy) XXX_Merge

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

func (*ServerIsBusy) XXX_Size

func (m *ServerIsBusy) XXX_Size() int

func (*ServerIsBusy) XXX_Unmarshal

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

type StaleCommand

type StaleCommand struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StaleCommand) Descriptor

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

func (*StaleCommand) Marshal

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

func (*StaleCommand) MarshalTo

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

func (*StaleCommand) MarshalToSizedBuffer

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

func (*StaleCommand) ProtoMessage

func (*StaleCommand) ProtoMessage()

func (*StaleCommand) Reset

func (m *StaleCommand) Reset()

func (*StaleCommand) Size

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

func (*StaleCommand) String

func (m *StaleCommand) String() string

func (*StaleCommand) Unmarshal

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

func (*StaleCommand) XXX_DiscardUnknown

func (m *StaleCommand) XXX_DiscardUnknown()

func (*StaleCommand) XXX_Marshal

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

func (*StaleCommand) XXX_Merge

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

func (*StaleCommand) XXX_Size

func (m *StaleCommand) XXX_Size() int

func (*StaleCommand) XXX_Unmarshal

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

type StaleEpoch

type StaleEpoch struct {
	NewCells             []metapb.Cell `protobuf:"bytes,1,rep,name=newCells" json:"newCells"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*StaleEpoch) Descriptor

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

func (*StaleEpoch) GetNewCells

func (m *StaleEpoch) GetNewCells() []metapb.Cell

func (*StaleEpoch) Marshal

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

func (*StaleEpoch) MarshalTo

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

func (*StaleEpoch) MarshalToSizedBuffer

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

func (*StaleEpoch) ProtoMessage

func (*StaleEpoch) ProtoMessage()

func (*StaleEpoch) Reset

func (m *StaleEpoch) Reset()

func (*StaleEpoch) Size

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

func (*StaleEpoch) String

func (m *StaleEpoch) String() string

func (*StaleEpoch) Unmarshal

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

func (*StaleEpoch) XXX_DiscardUnknown

func (m *StaleEpoch) XXX_DiscardUnknown()

func (*StaleEpoch) XXX_Marshal

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

func (*StaleEpoch) XXX_Merge

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

func (*StaleEpoch) XXX_Size

func (m *StaleEpoch) XXX_Size() int

func (*StaleEpoch) XXX_Unmarshal

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

type StoreNotMatch

type StoreNotMatch struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StoreNotMatch) Descriptor

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

func (*StoreNotMatch) Marshal

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

func (*StoreNotMatch) MarshalTo

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

func (*StoreNotMatch) MarshalToSizedBuffer

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

func (*StoreNotMatch) ProtoMessage

func (*StoreNotMatch) ProtoMessage()

func (*StoreNotMatch) Reset

func (m *StoreNotMatch) Reset()

func (*StoreNotMatch) Size

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

func (*StoreNotMatch) String

func (m *StoreNotMatch) String() string

func (*StoreNotMatch) Unmarshal

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

func (*StoreNotMatch) XXX_DiscardUnknown

func (m *StoreNotMatch) XXX_DiscardUnknown()

func (*StoreNotMatch) XXX_Marshal

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

func (*StoreNotMatch) XXX_Merge

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

func (*StoreNotMatch) XXX_Size

func (m *StoreNotMatch) XXX_Size() int

func (*StoreNotMatch) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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