Documentation ¶
Index ¶
- Variables
- type OperationType
- type Record
- func (*Record) Descriptor() ([]byte, []int)
- func (m *Record) GetData() string
- func (m *Record) GetOperationTime() *timestamp.Timestamp
- func (m *Record) GetOperationType() OperationType
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) String() string
- func (m *Record) XXX_DiscardUnknown()
- func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Record) XXX_Merge(src proto.Message)
- func (m *Record) XXX_Size() int
- func (m *Record) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var OperationType_name = map[int32]string{
0: "OPERATION_TYPE_ADD_NODE",
1: "OPERATION_TYPE_REMOVE_NODE",
2: "OPERATION_TYPE_MAP_KEY",
}
View Source
var OperationType_value = map[string]int32{
"OPERATION_TYPE_ADD_NODE": 0,
"OPERATION_TYPE_REMOVE_NODE": 1,
"OPERATION_TYPE_MAP_KEY": 2,
}
Functions ¶
This section is empty.
Types ¶
type OperationType ¶
type OperationType int32
const ( OperationType_OPERATION_TYPE_ADD_NODE OperationType = 0 OperationType_OPERATION_TYPE_REMOVE_NODE OperationType = 1 OperationType_OPERATION_TYPE_MAP_KEY OperationType = 2 )
func (OperationType) EnumDescriptor ¶
func (OperationType) EnumDescriptor() ([]byte, []int)
func (OperationType) String ¶
func (x OperationType) String() string
type Record ¶
type Record struct { OperationType OperationType `` /* 144-byte string literal not displayed */ Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` OperationTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=operation_time,json=operationTime,proto3" json:"operation_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Record) Descriptor ¶
func (*Record) GetOperationTime ¶
func (*Record) GetOperationType ¶
func (m *Record) GetOperationType() OperationType
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) XXX_DiscardUnknown ¶
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶
func (*Record) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.