Documentation ¶
Index ¶
- Variables
- type BranchNodePb
- func (*BranchNodePb) Descriptor() ([]byte, []int)deprecated
- func (x *BranchNodePb) GetIndex() uint32
- func (x *BranchNodePb) GetPath() []byte
- func (*BranchNodePb) ProtoMessage()
- func (x *BranchNodePb) ProtoReflect() protoreflect.Message
- func (x *BranchNodePb) Reset()
- func (x *BranchNodePb) String() string
- type BranchPb
- type ExtendPb
- type LeafPb
- type NodePb
- func (*NodePb) Descriptor() ([]byte, []int)deprecated
- func (x *NodePb) GetBranch() *BranchPb
- func (x *NodePb) GetExtend() *ExtendPb
- func (x *NodePb) GetLeaf() *LeafPb
- func (m *NodePb) GetNode() isNodePb_Node
- func (*NodePb) ProtoMessage()
- func (x *NodePb) ProtoReflect() protoreflect.Message
- func (x *NodePb) Reset()
- func (x *NodePb) String() string
- type NodePb_Branch
- type NodePb_Extend
- type NodePb_Leaf
Constants ¶
This section is empty.
Variables ¶
View Source
var File_trie_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BranchNodePb ¶
type BranchNodePb struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*BranchNodePb) Descriptor
deprecated
func (*BranchNodePb) Descriptor() ([]byte, []int)
Deprecated: Use BranchNodePb.ProtoReflect.Descriptor instead.
func (*BranchNodePb) GetIndex ¶
func (x *BranchNodePb) GetIndex() uint32
func (*BranchNodePb) GetPath ¶
func (x *BranchNodePb) GetPath() []byte
func (*BranchNodePb) ProtoMessage ¶
func (*BranchNodePb) ProtoMessage()
func (*BranchNodePb) ProtoReflect ¶ added in v1.1.2
func (x *BranchNodePb) ProtoReflect() protoreflect.Message
func (*BranchNodePb) Reset ¶
func (x *BranchNodePb) Reset()
func (*BranchNodePb) String ¶
func (x *BranchNodePb) String() string
type BranchPb ¶
type BranchPb struct { Branches []*BranchNodePb `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
func (*BranchPb) Descriptor
deprecated
func (*BranchPb) GetBranches ¶
func (x *BranchPb) GetBranches() []*BranchNodePb
func (*BranchPb) ProtoMessage ¶
func (*BranchPb) ProtoMessage()
func (*BranchPb) ProtoReflect ¶ added in v1.1.2
func (x *BranchPb) ProtoReflect() protoreflect.Message
type ExtendPb ¶
type ExtendPb struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ExtendPb) Descriptor
deprecated
func (*ExtendPb) ProtoMessage ¶
func (*ExtendPb) ProtoMessage()
func (*ExtendPb) ProtoReflect ¶ added in v1.1.2
func (x *ExtendPb) ProtoReflect() protoreflect.Message
type LeafPb ¶
type LeafPb struct { Ext uint32 `protobuf:"varint,1,opt,name=ext,proto3" json:"ext,omitempty"` Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*LeafPb) Descriptor
deprecated
func (*LeafPb) ProtoMessage ¶
func (*LeafPb) ProtoMessage()
func (*LeafPb) ProtoReflect ¶ added in v1.1.2
func (x *LeafPb) ProtoReflect() protoreflect.Message
type NodePb ¶
type NodePb struct { // Types that are assignable to Node: // *NodePb_Branch // *NodePb_Leaf // *NodePb_Extend Node isNodePb_Node `protobuf_oneof:"node"` // contains filtered or unexported fields }
func (*NodePb) Descriptor
deprecated
func (*NodePb) ProtoMessage ¶
func (*NodePb) ProtoMessage()
func (*NodePb) ProtoReflect ¶ added in v1.1.2
func (x *NodePb) ProtoReflect() protoreflect.Message
type NodePb_Branch ¶
type NodePb_Branch struct {
Branch *BranchPb `protobuf:"bytes,2,opt,name=branch,proto3,oneof"`
}
type NodePb_Extend ¶
type NodePb_Extend struct {
Extend *ExtendPb `protobuf:"bytes,4,opt,name=extend,proto3,oneof"`
}
type NodePb_Leaf ¶
type NodePb_Leaf struct {
Leaf *LeafPb `protobuf:"bytes,3,opt,name=leaf,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.