Documentation
¶
Index ¶
- Variables
- type Meta
- func (m *Meta) CloneMessageVT() proto.Message
- func (m *Meta) CloneVT() *Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (this *Meta) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Meta) EqualVT(that *Meta) bool
- func (x *Meta) GetInfo() *MetaInfo
- func (x *Meta) GetKey() []byte
- func (x *Meta) GetValue() []byte
- func (m *Meta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Meta) MarshalToVT(dAtA []byte) (int, error)
- func (m *Meta) MarshalVT() (dAtA []byte, err error)
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (m *Meta) SizeVT() (n int)
- func (x *Meta) String() string
- func (m *Meta) UnmarshalVT(dAtA []byte) error
- func (m *Meta) UnmarshalVTUnsafe(dAtA []byte) error
- type MetaInfo
- func (m *MetaInfo) CloneMessageVT() proto.Message
- func (m *MetaInfo) CloneVT() *MetaInfo
- func (*MetaInfo) Descriptor() ([]byte, []int)deprecated
- func (this *MetaInfo) EqualMessageVT(thatMsg proto.Message) bool
- func (this *MetaInfo) EqualVT(that *MetaInfo) bool
- func (x *MetaInfo) GetCreateTime() uint64
- func (x *MetaInfo) GetEphemeral() bool
- func (x *MetaInfo) GetModificationCount() uint32
- func (x *MetaInfo) GetModificationTime() uint64
- func (x *MetaInfo) GetSessionId() uint64
- func (x *MetaInfo) GetVersion() int64
- func (m *MetaInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MetaInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *MetaInfo) MarshalVT() (dAtA []byte, err error)
- func (*MetaInfo) ProtoMessage()
- func (x *MetaInfo) ProtoReflect() protoreflect.Message
- func (x *MetaInfo) Reset()
- func (m *MetaInfo) SizeVT() (n int)
- func (x *MetaInfo) String() string
- func (m *MetaInfo) UnmarshalVT(dAtA []byte) error
- func (m *MetaInfo) UnmarshalVTUnsafe(dAtA []byte) error
- type MetaNotification
- func (m *MetaNotification) CloneMessageVT() proto.Message
- func (m *MetaNotification) CloneVT() *MetaNotification
- func (*MetaNotification) Descriptor() ([]byte, []int)deprecated
- func (this *MetaNotification) EqualMessageVT(thatMsg proto.Message) bool
- func (this *MetaNotification) EqualVT(that *MetaNotification) bool
- func (x *MetaNotification) GetKey() []byte
- func (x *MetaNotification) GetType() MetaNotificationType
- func (m *MetaNotification) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MetaNotification) MarshalToVT(dAtA []byte) (int, error)
- func (m *MetaNotification) MarshalVT() (dAtA []byte, err error)
- func (*MetaNotification) ProtoMessage()
- func (x *MetaNotification) ProtoReflect() protoreflect.Message
- func (x *MetaNotification) Reset()
- func (m *MetaNotification) SizeVT() (n int)
- func (x *MetaNotification) String() string
- func (m *MetaNotification) UnmarshalVT(dAtA []byte) error
- func (m *MetaNotification) UnmarshalVTUnsafe(dAtA []byte) error
- type MetaNotificationType
- func (MetaNotificationType) Descriptor() protoreflect.EnumDescriptor
- func (x MetaNotificationType) Enum() *MetaNotificationType
- func (MetaNotificationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetaNotificationType) Number() protoreflect.EnumNumber
- func (x MetaNotificationType) String() string
- func (MetaNotificationType) Type() protoreflect.EnumType
- type Node
- func (m *Node) CloneMessageVT() proto.Message
- func (m *Node) CloneVT() *Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (this *Node) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Node) EqualVT(that *Node) bool
- func (x *Node) GetID() *NodeID
- func (x *Node) GetStatus() NodeStatus
- func (m *Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node) MarshalVT() (dAtA []byte, err error)
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (m *Node) SizeVT() (n int)
- func (x *Node) String() string
- func (m *Node) UnmarshalVT(dAtA []byte) error
- func (m *Node) UnmarshalVTUnsafe(dAtA []byte) error
- type NodeID
- func (m *NodeID) CloneMessageVT() proto.Message
- func (m *NodeID) CloneVT() *NodeID
- func (*NodeID) Descriptor() ([]byte, []int)deprecated
- func (this *NodeID) EqualMessageVT(thatMsg proto.Message) bool
- func (this *NodeID) EqualVT(that *NodeID) bool
- func (x *NodeID) GetId() string
- func (x *NodeID) GetName() string
- func (m *NodeID) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NodeID) MarshalToVT(dAtA []byte) (int, error)
- func (m *NodeID) MarshalVT() (dAtA []byte, err error)
- func (*NodeID) ProtoMessage()
- func (x *NodeID) ProtoReflect() protoreflect.Message
- func (x *NodeID) Reset()
- func (m *NodeID) SizeVT() (n int)
- func (x *NodeID) String() string
- func (m *NodeID) UnmarshalVT(dAtA []byte) error
- func (m *NodeID) UnmarshalVTUnsafe(dAtA []byte) error
- type NodeStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NodeStatus_name = map[int32]string{ 0: "WRITABLE", 1: "READONLY", } NodeStatus_value = map[string]int32{ "WRITABLE": 0, "READONLY": 1, } )
Enum value maps for NodeStatus.
View Source
var ( MetaNotificationType_name = map[int32]string{ 0: "CREATE", 1: "DELETE", 2: "UPDATE", } MetaNotificationType_value = map[string]int32{ "CREATE": 0, "DELETE": 1, "UPDATE": 2, } )
Enum value maps for MetaNotificationType.
View Source
var ( // optional bool mempool = 64101; E_Mempool = &file_metadata_proto_extTypes[0] // optional bool ignore_unknown_fields = 64102; E_IgnoreUnknownFields = &file_metadata_proto_extTypes[1] )
Extension fields to descriptorpb.MessageOptions.
View Source
var File_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct {
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Info *MetaInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
// contains filtered or unexported fields
}
func (*Meta) CloneMessageVT ¶
func (*Meta) Descriptor
deprecated
func (*Meta) MarshalToSizedBufferVT ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
func (*Meta) UnmarshalVT ¶
func (*Meta) UnmarshalVTUnsafe ¶
type MetaInfo ¶
type MetaInfo struct {
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
CreateTime uint64 `protobuf:"varint,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
ModificationCount uint32 `protobuf:"varint,3,opt,name=modification_count,json=modificationCount,proto3" json:"modification_count,omitempty"`
ModificationTime uint64 `protobuf:"varint,4,opt,name=modification_time,json=modificationTime,proto3" json:"modification_time,omitempty"`
SessionId uint64 `protobuf:"varint,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Ephemeral bool `protobuf:"varint,6,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
// contains filtered or unexported fields
}
func (*MetaInfo) CloneMessageVT ¶
func (*MetaInfo) Descriptor
deprecated
func (*MetaInfo) GetCreateTime ¶
func (*MetaInfo) GetEphemeral ¶
func (*MetaInfo) GetModificationCount ¶
func (*MetaInfo) GetModificationTime ¶
func (*MetaInfo) GetSessionId ¶
func (*MetaInfo) GetVersion ¶
func (*MetaInfo) MarshalToSizedBufferVT ¶
func (*MetaInfo) ProtoMessage ¶
func (*MetaInfo) ProtoMessage()
func (*MetaInfo) ProtoReflect ¶
func (x *MetaInfo) ProtoReflect() protoreflect.Message
func (*MetaInfo) UnmarshalVT ¶
func (*MetaInfo) UnmarshalVTUnsafe ¶
type MetaNotification ¶
type MetaNotification struct {
Type MetaNotificationType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.MetaNotificationType" json:"type,omitempty"`
Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*MetaNotification) CloneMessageVT ¶
func (m *MetaNotification) CloneMessageVT() proto.Message
func (*MetaNotification) CloneVT ¶
func (m *MetaNotification) CloneVT() *MetaNotification
func (*MetaNotification) Descriptor
deprecated
func (*MetaNotification) Descriptor() ([]byte, []int)
Deprecated: Use MetaNotification.ProtoReflect.Descriptor instead.
func (*MetaNotification) EqualMessageVT ¶
func (this *MetaNotification) EqualMessageVT(thatMsg proto.Message) bool
func (*MetaNotification) EqualVT ¶
func (this *MetaNotification) EqualVT(that *MetaNotification) bool
func (*MetaNotification) GetKey ¶
func (x *MetaNotification) GetKey() []byte
func (*MetaNotification) GetType ¶
func (x *MetaNotification) GetType() MetaNotificationType
func (*MetaNotification) MarshalToSizedBufferVT ¶
func (m *MetaNotification) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MetaNotification) MarshalToVT ¶
func (m *MetaNotification) MarshalToVT(dAtA []byte) (int, error)
func (*MetaNotification) MarshalVT ¶
func (m *MetaNotification) MarshalVT() (dAtA []byte, err error)
func (*MetaNotification) ProtoMessage ¶
func (*MetaNotification) ProtoMessage()
func (*MetaNotification) ProtoReflect ¶
func (x *MetaNotification) ProtoReflect() protoreflect.Message
func (*MetaNotification) Reset ¶
func (x *MetaNotification) Reset()
func (*MetaNotification) SizeVT ¶
func (m *MetaNotification) SizeVT() (n int)
func (*MetaNotification) String ¶
func (x *MetaNotification) String() string
func (*MetaNotification) UnmarshalVT ¶
func (m *MetaNotification) UnmarshalVT(dAtA []byte) error
func (*MetaNotification) UnmarshalVTUnsafe ¶
func (m *MetaNotification) UnmarshalVTUnsafe(dAtA []byte) error
type MetaNotificationType ¶
type MetaNotificationType int32
const ( MetaNotificationType_CREATE MetaNotificationType = 0 MetaNotificationType_DELETE MetaNotificationType = 1 MetaNotificationType_UPDATE MetaNotificationType = 2 )
func (MetaNotificationType) Descriptor ¶
func (MetaNotificationType) Descriptor() protoreflect.EnumDescriptor
func (MetaNotificationType) Enum ¶
func (x MetaNotificationType) Enum() *MetaNotificationType
func (MetaNotificationType) EnumDescriptor
deprecated
func (MetaNotificationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetaNotificationType.Descriptor instead.
func (MetaNotificationType) Number ¶
func (x MetaNotificationType) Number() protoreflect.EnumNumber
func (MetaNotificationType) String ¶
func (x MetaNotificationType) String() string
func (MetaNotificationType) Type ¶
func (MetaNotificationType) Type() protoreflect.EnumType
type Node ¶
type Node struct {
ID *NodeID `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Status NodeStatus `protobuf:"varint,2,opt,name=status,proto3,enum=proto.NodeStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*Node) CloneMessageVT ¶
func (*Node) Descriptor
deprecated
func (*Node) GetStatus ¶
func (x *Node) GetStatus() NodeStatus
func (*Node) MarshalToSizedBufferVT ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) UnmarshalVT ¶
func (*Node) UnmarshalVTUnsafe ¶
type NodeID ¶
type NodeID struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*NodeID) CloneMessageVT ¶
func (*NodeID) Descriptor
deprecated
func (*NodeID) MarshalToSizedBufferVT ¶
func (*NodeID) ProtoMessage ¶
func (*NodeID) ProtoMessage()
func (*NodeID) ProtoReflect ¶
func (x *NodeID) ProtoReflect() protoreflect.Message
func (*NodeID) UnmarshalVT ¶
func (*NodeID) UnmarshalVTUnsafe ¶
type NodeStatus ¶
type NodeStatus int32
const ( NodeStatus_WRITABLE NodeStatus = 0 NodeStatus_READONLY NodeStatus = 1 )
func (NodeStatus) Descriptor ¶
func (NodeStatus) Descriptor() protoreflect.EnumDescriptor
func (NodeStatus) Enum ¶
func (x NodeStatus) Enum() *NodeStatus
func (NodeStatus) EnumDescriptor
deprecated
func (NodeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeStatus.Descriptor instead.
func (NodeStatus) Number ¶
func (x NodeStatus) Number() protoreflect.EnumNumber
func (NodeStatus) String ¶
func (x NodeStatus) String() string
func (NodeStatus) Type ¶
func (NodeStatus) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.