Documentation ¶
Index ¶
- Variables
- func GetHeads(msg *TreeSyncMessage) (heads []string)
- type ErrorCodes
- type RawTreeChange
- func (*RawTreeChange) Descriptor() ([]byte, []int)
- func (m *RawTreeChange) GetPayload() []byte
- func (m *RawTreeChange) GetSignature() []byte
- func (m *RawTreeChange) Marshal() (dAtA []byte, err error)
- func (m *RawTreeChange) MarshalTo(dAtA []byte) (int, error)
- func (m *RawTreeChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawTreeChange) ProtoMessage()
- func (m *RawTreeChange) Reset()
- func (m *RawTreeChange) Size() (n int)
- func (m *RawTreeChange) String() string
- func (m *RawTreeChange) Unmarshal(dAtA []byte) error
- func (m *RawTreeChange) XXX_DiscardUnknown()
- func (m *RawTreeChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawTreeChange) XXX_Merge(src proto.Message)
- func (m *RawTreeChange) XXX_Size() int
- func (m *RawTreeChange) XXX_Unmarshal(b []byte) error
- type RawTreeChangeWithId
- func (*RawTreeChangeWithId) Descriptor() ([]byte, []int)
- func (m *RawTreeChangeWithId) GetId() string
- func (m *RawTreeChangeWithId) GetRawChange() []byte
- func (m *RawTreeChangeWithId) Marshal() (dAtA []byte, err error)
- func (m *RawTreeChangeWithId) MarshalTo(dAtA []byte) (int, error)
- func (m *RawTreeChangeWithId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawTreeChangeWithId) ProtoMessage()
- func (m *RawTreeChangeWithId) Reset()
- func (m *RawTreeChangeWithId) Size() (n int)
- func (m *RawTreeChangeWithId) String() string
- func (m *RawTreeChangeWithId) Unmarshal(dAtA []byte) error
- func (m *RawTreeChangeWithId) XXX_DiscardUnknown()
- func (m *RawTreeChangeWithId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawTreeChangeWithId) XXX_Merge(src proto.Message)
- func (m *RawTreeChangeWithId) XXX_Size() int
- func (m *RawTreeChangeWithId) XXX_Unmarshal(b []byte) error
- type RootChange
- func (*RootChange) Descriptor() ([]byte, []int)
- func (m *RootChange) GetAclHeadId() string
- func (m *RootChange) GetChangePayload() []byte
- func (m *RootChange) GetChangeType() string
- func (m *RootChange) GetIdentity() []byte
- func (m *RootChange) GetIsDerived() bool
- func (m *RootChange) GetSeed() []byte
- func (m *RootChange) GetSpaceId() string
- func (m *RootChange) GetTimestamp() int64
- func (m *RootChange) Marshal() (dAtA []byte, err error)
- func (m *RootChange) MarshalTo(dAtA []byte) (int, error)
- func (m *RootChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RootChange) ProtoMessage()
- func (m *RootChange) Reset()
- func (m *RootChange) Size() (n int)
- func (m *RootChange) String() string
- func (m *RootChange) Unmarshal(dAtA []byte) error
- func (m *RootChange) XXX_DiscardUnknown()
- func (m *RootChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RootChange) XXX_Merge(src proto.Message)
- func (m *RootChange) XXX_Size() int
- func (m *RootChange) XXX_Unmarshal(b []byte) error
- type TreeChange
- func (*TreeChange) Descriptor() ([]byte, []int)
- func (m *TreeChange) GetAclHeadId() string
- func (m *TreeChange) GetChangesData() []byte
- func (m *TreeChange) GetDataType() string
- func (m *TreeChange) GetIdentity() []byte
- func (m *TreeChange) GetIsSnapshot() bool
- func (m *TreeChange) GetReadKeyId() string
- func (m *TreeChange) GetSnapshotBaseId() string
- func (m *TreeChange) GetTimestamp() int64
- func (m *TreeChange) GetTreeHeadIds() []string
- func (m *TreeChange) Marshal() (dAtA []byte, err error)
- func (m *TreeChange) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeChange) ProtoMessage()
- func (m *TreeChange) Reset()
- func (m *TreeChange) Size() (n int)
- func (m *TreeChange) String() string
- func (m *TreeChange) Unmarshal(dAtA []byte) error
- func (m *TreeChange) XXX_DiscardUnknown()
- func (m *TreeChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeChange) XXX_Merge(src proto.Message)
- func (m *TreeChange) XXX_Size() int
- func (m *TreeChange) XXX_Unmarshal(b []byte) error
- type TreeChangeInfo
- func (*TreeChangeInfo) Descriptor() ([]byte, []int)
- func (m *TreeChangeInfo) GetChangePayload() []byte
- func (m *TreeChangeInfo) GetChangeType() string
- func (m *TreeChangeInfo) Marshal() (dAtA []byte, err error)
- func (m *TreeChangeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeChangeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeChangeInfo) ProtoMessage()
- func (m *TreeChangeInfo) Reset()
- func (m *TreeChangeInfo) Size() (n int)
- func (m *TreeChangeInfo) String() string
- func (m *TreeChangeInfo) Unmarshal(dAtA []byte) error
- func (m *TreeChangeInfo) XXX_DiscardUnknown()
- func (m *TreeChangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeChangeInfo) XXX_Merge(src proto.Message)
- func (m *TreeChangeInfo) XXX_Size() int
- func (m *TreeChangeInfo) XXX_Unmarshal(b []byte) error
- type TreeErrorResponse
- func (*TreeErrorResponse) Descriptor() ([]byte, []int)
- func (m *TreeErrorResponse) GetErrCode() uint64
- func (m *TreeErrorResponse) GetError() string
- func (m *TreeErrorResponse) Marshal() (dAtA []byte, err error)
- func (m *TreeErrorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeErrorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeErrorResponse) ProtoMessage()
- func (m *TreeErrorResponse) Reset()
- func (m *TreeErrorResponse) Size() (n int)
- func (m *TreeErrorResponse) String() string
- func (m *TreeErrorResponse) Unmarshal(dAtA []byte) error
- func (m *TreeErrorResponse) XXX_DiscardUnknown()
- func (m *TreeErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeErrorResponse) XXX_Merge(src proto.Message)
- func (m *TreeErrorResponse) XXX_Size() int
- func (m *TreeErrorResponse) XXX_Unmarshal(b []byte) error
- type TreeFullSyncRequest
- func (*TreeFullSyncRequest) Descriptor() ([]byte, []int)
- func (m *TreeFullSyncRequest) GetChanges() []*RawTreeChangeWithId
- func (m *TreeFullSyncRequest) GetHeads() []string
- func (m *TreeFullSyncRequest) GetSnapshotPath() []string
- func (m *TreeFullSyncRequest) Marshal() (dAtA []byte, err error)
- func (m *TreeFullSyncRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeFullSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeFullSyncRequest) ProtoMessage()
- func (m *TreeFullSyncRequest) Reset()
- func (m *TreeFullSyncRequest) Size() (n int)
- func (m *TreeFullSyncRequest) String() string
- func (m *TreeFullSyncRequest) Unmarshal(dAtA []byte) error
- func (m *TreeFullSyncRequest) XXX_DiscardUnknown()
- func (m *TreeFullSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeFullSyncRequest) XXX_Merge(src proto.Message)
- func (m *TreeFullSyncRequest) XXX_Size() int
- func (m *TreeFullSyncRequest) XXX_Unmarshal(b []byte) error
- type TreeFullSyncResponse
- func (*TreeFullSyncResponse) Descriptor() ([]byte, []int)
- func (m *TreeFullSyncResponse) GetChanges() []*RawTreeChangeWithId
- func (m *TreeFullSyncResponse) GetHeads() []string
- func (m *TreeFullSyncResponse) GetSnapshotPath() []string
- func (m *TreeFullSyncResponse) Marshal() (dAtA []byte, err error)
- func (m *TreeFullSyncResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeFullSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeFullSyncResponse) ProtoMessage()
- func (m *TreeFullSyncResponse) Reset()
- func (m *TreeFullSyncResponse) Size() (n int)
- func (m *TreeFullSyncResponse) String() string
- func (m *TreeFullSyncResponse) Unmarshal(dAtA []byte) error
- func (m *TreeFullSyncResponse) XXX_DiscardUnknown()
- func (m *TreeFullSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeFullSyncResponse) XXX_Merge(src proto.Message)
- func (m *TreeFullSyncResponse) XXX_Size() int
- func (m *TreeFullSyncResponse) XXX_Unmarshal(b []byte) error
- type TreeHeadUpdate
- func (*TreeHeadUpdate) Descriptor() ([]byte, []int)
- func (m *TreeHeadUpdate) GetChanges() []*RawTreeChangeWithId
- func (m *TreeHeadUpdate) GetHeads() []string
- func (m *TreeHeadUpdate) GetSnapshotPath() []string
- func (m *TreeHeadUpdate) Marshal() (dAtA []byte, err error)
- func (m *TreeHeadUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeHeadUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeHeadUpdate) ProtoMessage()
- func (m *TreeHeadUpdate) Reset()
- func (m *TreeHeadUpdate) Size() (n int)
- func (m *TreeHeadUpdate) String() string
- func (m *TreeHeadUpdate) Unmarshal(dAtA []byte) error
- func (m *TreeHeadUpdate) XXX_DiscardUnknown()
- func (m *TreeHeadUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeHeadUpdate) XXX_Merge(src proto.Message)
- func (m *TreeHeadUpdate) XXX_Size() int
- func (m *TreeHeadUpdate) XXX_Unmarshal(b []byte) error
- type TreeSyncContentValue
- func (*TreeSyncContentValue) Descriptor() ([]byte, []int)
- func (m *TreeSyncContentValue) GetErrorResponse() *TreeErrorResponse
- func (m *TreeSyncContentValue) GetFullSyncRequest() *TreeFullSyncRequest
- func (m *TreeSyncContentValue) GetFullSyncResponse() *TreeFullSyncResponse
- func (m *TreeSyncContentValue) GetHeadUpdate() *TreeHeadUpdate
- func (m *TreeSyncContentValue) GetValue() isTreeSyncContentValue_Value
- func (m *TreeSyncContentValue) Marshal() (dAtA []byte, err error)
- func (m *TreeSyncContentValue) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeSyncContentValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeSyncContentValue) ProtoMessage()
- func (m *TreeSyncContentValue) Reset()
- func (m *TreeSyncContentValue) Size() (n int)
- func (m *TreeSyncContentValue) String() string
- func (m *TreeSyncContentValue) Unmarshal(dAtA []byte) error
- func (m *TreeSyncContentValue) XXX_DiscardUnknown()
- func (m *TreeSyncContentValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeSyncContentValue) XXX_Merge(src proto.Message)
- func (*TreeSyncContentValue) XXX_OneofWrappers() []interface{}
- func (m *TreeSyncContentValue) XXX_Size() int
- func (m *TreeSyncContentValue) XXX_Unmarshal(b []byte) error
- type TreeSyncContentValue_ErrorResponse
- type TreeSyncContentValue_FullSyncRequest
- type TreeSyncContentValue_FullSyncResponse
- type TreeSyncContentValue_HeadUpdate
- type TreeSyncMessage
- func WrapError(err error, rootChange *RawTreeChangeWithId) *TreeSyncMessage
- func WrapFullRequest(request *TreeFullSyncRequest, rootChange *RawTreeChangeWithId) *TreeSyncMessage
- func WrapFullResponse(response *TreeFullSyncResponse, rootChange *RawTreeChangeWithId) *TreeSyncMessage
- func WrapHeadUpdate(update *TreeHeadUpdate, rootChange *RawTreeChangeWithId) *TreeSyncMessage
- func (*TreeSyncMessage) Descriptor() ([]byte, []int)
- func (m *TreeSyncMessage) GetContent() *TreeSyncContentValue
- func (m *TreeSyncMessage) GetRootChange() *RawTreeChangeWithId
- func (m *TreeSyncMessage) Marshal() (dAtA []byte, err error)
- func (m *TreeSyncMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeSyncMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeSyncMessage) ProtoMessage()
- func (m *TreeSyncMessage) Reset()
- func (m *TreeSyncMessage) Size() (n int)
- func (m *TreeSyncMessage) String() string
- func (m *TreeSyncMessage) Unmarshal(dAtA []byte) error
- func (m *TreeSyncMessage) XXX_DiscardUnknown()
- func (m *TreeSyncMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeSyncMessage) XXX_Merge(src proto.Message)
- func (m *TreeSyncMessage) XXX_Size() int
- func (m *TreeSyncMessage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrUnexpected = errGroup.Register(errors.New("unexpected error"), uint64(ErrorCodes_Unexpected)) ErrGetTree = errGroup.Register(errors.New("tree not found"), uint64(ErrorCodes_GetTreeError)) ErrFullSync = errGroup.Register(errors.New("full sync request error"), uint64(ErrorCodes_FullSyncRequestError)) )
var ( ErrInvalidLengthTreechange = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTreechange = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTreechange = fmt.Errorf("proto: unexpected end of group") )
var ErrorCodes_name = map[int32]string{
0: "Unexpected",
1: "GetTreeError",
2: "FullSyncRequestError",
400: "ErrorOffset",
}
var ErrorCodes_value = map[string]int32{
"Unexpected": 0,
"GetTreeError": 1,
"FullSyncRequestError": 2,
"ErrorOffset": 400,
}
Functions ¶
func GetHeads ¶
func GetHeads(msg *TreeSyncMessage) (heads []string)
Types ¶
type ErrorCodes ¶
type ErrorCodes int32
const ( ErrorCodes_Unexpected ErrorCodes = 0 ErrorCodes_GetTreeError ErrorCodes = 1 ErrorCodes_FullSyncRequestError ErrorCodes = 2 ErrorCodes_ErrorOffset ErrorCodes = 400 )
func (ErrorCodes) EnumDescriptor ¶
func (ErrorCodes) EnumDescriptor() ([]byte, []int)
func (ErrorCodes) String ¶
func (x ErrorCodes) String() string
type RawTreeChange ¶
type RawTreeChange struct { // Payload is a byte payload containing TreeChange Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // Signature is a signature made by identity indicated in the TreeChange payload Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
RawTreeChange is a marshalled TreeChange (or RootChange) payload and a signature of this payload
func (*RawTreeChange) Descriptor ¶
func (*RawTreeChange) Descriptor() ([]byte, []int)
func (*RawTreeChange) GetPayload ¶
func (m *RawTreeChange) GetPayload() []byte
func (*RawTreeChange) GetSignature ¶
func (m *RawTreeChange) GetSignature() []byte
func (*RawTreeChange) Marshal ¶
func (m *RawTreeChange) Marshal() (dAtA []byte, err error)
func (*RawTreeChange) MarshalToSizedBuffer ¶
func (m *RawTreeChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawTreeChange) ProtoMessage ¶
func (*RawTreeChange) ProtoMessage()
func (*RawTreeChange) Reset ¶
func (m *RawTreeChange) Reset()
func (*RawTreeChange) Size ¶
func (m *RawTreeChange) Size() (n int)
func (*RawTreeChange) String ¶
func (m *RawTreeChange) String() string
func (*RawTreeChange) Unmarshal ¶
func (m *RawTreeChange) Unmarshal(dAtA []byte) error
func (*RawTreeChange) XXX_DiscardUnknown ¶
func (m *RawTreeChange) XXX_DiscardUnknown()
func (*RawTreeChange) XXX_Marshal ¶
func (m *RawTreeChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawTreeChange) XXX_Merge ¶
func (m *RawTreeChange) XXX_Merge(src proto.Message)
func (*RawTreeChange) XXX_Size ¶
func (m *RawTreeChange) XXX_Size() int
func (*RawTreeChange) XXX_Unmarshal ¶
func (m *RawTreeChange) XXX_Unmarshal(b []byte) error
type RawTreeChangeWithId ¶
type RawTreeChangeWithId struct { // RawChange is a byte payload of RawTreeChange RawChange []byte `protobuf:"bytes,1,opt,name=rawChange,proto3" json:"rawChange,omitempty"` // Id is a cid made from rawChange payload Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` }
RawTreeChangeWithId is a marshalled RawTreeChange with CID
func (*RawTreeChangeWithId) Descriptor ¶
func (*RawTreeChangeWithId) Descriptor() ([]byte, []int)
func (*RawTreeChangeWithId) GetId ¶
func (m *RawTreeChangeWithId) GetId() string
func (*RawTreeChangeWithId) GetRawChange ¶
func (m *RawTreeChangeWithId) GetRawChange() []byte
func (*RawTreeChangeWithId) Marshal ¶
func (m *RawTreeChangeWithId) Marshal() (dAtA []byte, err error)
func (*RawTreeChangeWithId) MarshalTo ¶
func (m *RawTreeChangeWithId) MarshalTo(dAtA []byte) (int, error)
func (*RawTreeChangeWithId) MarshalToSizedBuffer ¶
func (m *RawTreeChangeWithId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawTreeChangeWithId) ProtoMessage ¶
func (*RawTreeChangeWithId) ProtoMessage()
func (*RawTreeChangeWithId) Reset ¶
func (m *RawTreeChangeWithId) Reset()
func (*RawTreeChangeWithId) Size ¶
func (m *RawTreeChangeWithId) Size() (n int)
func (*RawTreeChangeWithId) String ¶
func (m *RawTreeChangeWithId) String() string
func (*RawTreeChangeWithId) Unmarshal ¶
func (m *RawTreeChangeWithId) Unmarshal(dAtA []byte) error
func (*RawTreeChangeWithId) XXX_DiscardUnknown ¶
func (m *RawTreeChangeWithId) XXX_DiscardUnknown()
func (*RawTreeChangeWithId) XXX_Marshal ¶
func (m *RawTreeChangeWithId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawTreeChangeWithId) XXX_Merge ¶
func (m *RawTreeChangeWithId) XXX_Merge(src proto.Message)
func (*RawTreeChangeWithId) XXX_Size ¶
func (m *RawTreeChangeWithId) XXX_Size() int
func (*RawTreeChangeWithId) XXX_Unmarshal ¶
func (m *RawTreeChangeWithId) XXX_Unmarshal(b []byte) error
type RootChange ¶
type RootChange struct { // AclHeadId is a cid of latest acl record at the time of tree creation AclHeadId string `protobuf:"bytes,1,opt,name=aclHeadId,proto3" json:"aclHeadId,omitempty"` // SpaceId is an id of space where the document is placed SpaceId string `protobuf:"bytes,2,opt,name=spaceId,proto3" json:"spaceId,omitempty"` // ChangeType is a type of tree which this RootChange is a root of ChangeType string `protobuf:"bytes,3,opt,name=changeType,proto3" json:"changeType,omitempty"` // Timestamp is this change creation timestamp Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Seed is a random bytes to make root change unique Seed []byte `protobuf:"bytes,5,opt,name=seed,proto3" json:"seed,omitempty"` // Identity is a public key of the tree's creator Identity []byte `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` // ChangePayload is a payload related to ChangeType ChangePayload []byte `protobuf:"bytes,7,opt,name=changePayload,proto3" json:"changePayload,omitempty"` // IsDerived tells if the tree is derived IsDerived bool `protobuf:"varint,8,opt,name=isDerived,proto3" json:"isDerived,omitempty"` }
RootChange is a root of a tree
func (*RootChange) Descriptor ¶
func (*RootChange) Descriptor() ([]byte, []int)
func (*RootChange) GetAclHeadId ¶
func (m *RootChange) GetAclHeadId() string
func (*RootChange) GetChangePayload ¶
func (m *RootChange) GetChangePayload() []byte
func (*RootChange) GetChangeType ¶
func (m *RootChange) GetChangeType() string
func (*RootChange) GetIdentity ¶
func (m *RootChange) GetIdentity() []byte
func (*RootChange) GetIsDerived ¶ added in v0.3.2
func (m *RootChange) GetIsDerived() bool
func (*RootChange) GetSeed ¶
func (m *RootChange) GetSeed() []byte
func (*RootChange) GetSpaceId ¶
func (m *RootChange) GetSpaceId() string
func (*RootChange) GetTimestamp ¶
func (m *RootChange) GetTimestamp() int64
func (*RootChange) Marshal ¶
func (m *RootChange) Marshal() (dAtA []byte, err error)
func (*RootChange) MarshalToSizedBuffer ¶
func (m *RootChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RootChange) ProtoMessage ¶
func (*RootChange) ProtoMessage()
func (*RootChange) Reset ¶
func (m *RootChange) Reset()
func (*RootChange) Size ¶
func (m *RootChange) Size() (n int)
func (*RootChange) String ¶
func (m *RootChange) String() string
func (*RootChange) Unmarshal ¶
func (m *RootChange) Unmarshal(dAtA []byte) error
func (*RootChange) XXX_DiscardUnknown ¶
func (m *RootChange) XXX_DiscardUnknown()
func (*RootChange) XXX_Marshal ¶
func (m *RootChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RootChange) XXX_Merge ¶
func (m *RootChange) XXX_Merge(src proto.Message)
func (*RootChange) XXX_Size ¶
func (m *RootChange) XXX_Size() int
func (*RootChange) XXX_Unmarshal ¶
func (m *RootChange) XXX_Unmarshal(b []byte) error
type TreeChange ¶
type TreeChange struct { // TreeHeadIds are previous ids for this TreeChange TreeHeadIds []string `protobuf:"bytes,1,rep,name=treeHeadIds,proto3" json:"treeHeadIds,omitempty"` // AclHeadId is a cid of latest acl record at the time of this change AclHeadId string `protobuf:"bytes,2,opt,name=aclHeadId,proto3" json:"aclHeadId,omitempty"` // SnapshotBaseId is a snapshot (root) of the tree where this change is added SnapshotBaseId string `protobuf:"bytes,3,opt,name=snapshotBaseId,proto3" json:"snapshotBaseId,omitempty"` // ChangesData is an arbitrary payload to be read by the client ChangesData []byte `protobuf:"bytes,4,opt,name=changesData,proto3" json:"changesData,omitempty"` // ReadKeyId is the id of the read key ReadKeyId string `protobuf:"bytes,5,opt,name=readKeyId,proto3" json:"readKeyId,omitempty"` // Timestamp is this change creation timestamp Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Identity is a public key with which the raw payload of this change is signed Identity []byte `protobuf:"bytes,7,opt,name=identity,proto3" json:"identity,omitempty"` // IsSnapshot indicates whether this change contains a snapshot of state IsSnapshot bool `protobuf:"varint,8,opt,name=isSnapshot,proto3" json:"isSnapshot,omitempty"` // DataType indicates some special parameters of data for the client DataType string `protobuf:"bytes,9,opt,name=dataType,proto3" json:"dataType,omitempty"` }
TreeChange is a change of a tree
func (*TreeChange) Descriptor ¶
func (*TreeChange) Descriptor() ([]byte, []int)
func (*TreeChange) GetAclHeadId ¶
func (m *TreeChange) GetAclHeadId() string
func (*TreeChange) GetChangesData ¶
func (m *TreeChange) GetChangesData() []byte
func (*TreeChange) GetDataType ¶ added in v0.3.0
func (m *TreeChange) GetDataType() string
func (*TreeChange) GetIdentity ¶
func (m *TreeChange) GetIdentity() []byte
func (*TreeChange) GetIsSnapshot ¶
func (m *TreeChange) GetIsSnapshot() bool
func (*TreeChange) GetReadKeyId ¶
func (m *TreeChange) GetReadKeyId() string
func (*TreeChange) GetSnapshotBaseId ¶
func (m *TreeChange) GetSnapshotBaseId() string
func (*TreeChange) GetTimestamp ¶
func (m *TreeChange) GetTimestamp() int64
func (*TreeChange) GetTreeHeadIds ¶
func (m *TreeChange) GetTreeHeadIds() []string
func (*TreeChange) Marshal ¶
func (m *TreeChange) Marshal() (dAtA []byte, err error)
func (*TreeChange) MarshalToSizedBuffer ¶
func (m *TreeChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeChange) ProtoMessage ¶
func (*TreeChange) ProtoMessage()
func (*TreeChange) Reset ¶
func (m *TreeChange) Reset()
func (*TreeChange) Size ¶
func (m *TreeChange) Size() (n int)
func (*TreeChange) String ¶
func (m *TreeChange) String() string
func (*TreeChange) Unmarshal ¶
func (m *TreeChange) Unmarshal(dAtA []byte) error
func (*TreeChange) XXX_DiscardUnknown ¶
func (m *TreeChange) XXX_DiscardUnknown()
func (*TreeChange) XXX_Marshal ¶
func (m *TreeChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeChange) XXX_Merge ¶
func (m *TreeChange) XXX_Merge(src proto.Message)
func (*TreeChange) XXX_Size ¶
func (m *TreeChange) XXX_Size() int
func (*TreeChange) XXX_Unmarshal ¶
func (m *TreeChange) XXX_Unmarshal(b []byte) error
type TreeChangeInfo ¶
type TreeChangeInfo struct { ChangeType string `protobuf:"bytes,1,opt,name=changeType,proto3" json:"changeType,omitempty"` ChangePayload []byte `protobuf:"bytes,2,opt,name=changePayload,proto3" json:"changePayload,omitempty"` }
TreeChangeInfo is used internally in Tree implementation for ease of marshalling
func (*TreeChangeInfo) Descriptor ¶
func (*TreeChangeInfo) Descriptor() ([]byte, []int)
func (*TreeChangeInfo) GetChangePayload ¶
func (m *TreeChangeInfo) GetChangePayload() []byte
func (*TreeChangeInfo) GetChangeType ¶
func (m *TreeChangeInfo) GetChangeType() string
func (*TreeChangeInfo) Marshal ¶
func (m *TreeChangeInfo) Marshal() (dAtA []byte, err error)
func (*TreeChangeInfo) MarshalToSizedBuffer ¶
func (m *TreeChangeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeChangeInfo) ProtoMessage ¶
func (*TreeChangeInfo) ProtoMessage()
func (*TreeChangeInfo) Reset ¶
func (m *TreeChangeInfo) Reset()
func (*TreeChangeInfo) Size ¶
func (m *TreeChangeInfo) Size() (n int)
func (*TreeChangeInfo) String ¶
func (m *TreeChangeInfo) String() string
func (*TreeChangeInfo) Unmarshal ¶
func (m *TreeChangeInfo) Unmarshal(dAtA []byte) error
func (*TreeChangeInfo) XXX_DiscardUnknown ¶
func (m *TreeChangeInfo) XXX_DiscardUnknown()
func (*TreeChangeInfo) XXX_Marshal ¶
func (m *TreeChangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeChangeInfo) XXX_Merge ¶
func (m *TreeChangeInfo) XXX_Merge(src proto.Message)
func (*TreeChangeInfo) XXX_Size ¶
func (m *TreeChangeInfo) XXX_Size() int
func (*TreeChangeInfo) XXX_Unmarshal ¶
func (m *TreeChangeInfo) XXX_Unmarshal(b []byte) error
type TreeErrorResponse ¶
type TreeErrorResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` ErrCode uint64 `protobuf:"varint,2,opt,name=errCode,proto3" json:"errCode,omitempty"` }
TreeErrorResponse is an error sent as a response for a full sync request
func (*TreeErrorResponse) Descriptor ¶
func (*TreeErrorResponse) Descriptor() ([]byte, []int)
func (*TreeErrorResponse) GetErrCode ¶
func (m *TreeErrorResponse) GetErrCode() uint64
func (*TreeErrorResponse) GetError ¶
func (m *TreeErrorResponse) GetError() string
func (*TreeErrorResponse) Marshal ¶
func (m *TreeErrorResponse) Marshal() (dAtA []byte, err error)
func (*TreeErrorResponse) MarshalTo ¶
func (m *TreeErrorResponse) MarshalTo(dAtA []byte) (int, error)
func (*TreeErrorResponse) MarshalToSizedBuffer ¶
func (m *TreeErrorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeErrorResponse) ProtoMessage ¶
func (*TreeErrorResponse) ProtoMessage()
func (*TreeErrorResponse) Reset ¶
func (m *TreeErrorResponse) Reset()
func (*TreeErrorResponse) Size ¶
func (m *TreeErrorResponse) Size() (n int)
func (*TreeErrorResponse) String ¶
func (m *TreeErrorResponse) String() string
func (*TreeErrorResponse) Unmarshal ¶
func (m *TreeErrorResponse) Unmarshal(dAtA []byte) error
func (*TreeErrorResponse) XXX_DiscardUnknown ¶
func (m *TreeErrorResponse) XXX_DiscardUnknown()
func (*TreeErrorResponse) XXX_Marshal ¶
func (m *TreeErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeErrorResponse) XXX_Merge ¶
func (m *TreeErrorResponse) XXX_Merge(src proto.Message)
func (*TreeErrorResponse) XXX_Size ¶
func (m *TreeErrorResponse) XXX_Size() int
func (*TreeErrorResponse) XXX_Unmarshal ¶
func (m *TreeErrorResponse) XXX_Unmarshal(b []byte) error
type TreeFullSyncRequest ¶
type TreeFullSyncRequest struct { Heads []string `protobuf:"bytes,1,rep,name=heads,proto3" json:"heads,omitempty"` Changes []*RawTreeChangeWithId `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"` SnapshotPath []string `protobuf:"bytes,3,rep,name=snapshotPath,proto3" json:"snapshotPath,omitempty"` }
TreeHeadUpdate is a message sent when document needs full sync
func (*TreeFullSyncRequest) Descriptor ¶
func (*TreeFullSyncRequest) Descriptor() ([]byte, []int)
func (*TreeFullSyncRequest) GetChanges ¶
func (m *TreeFullSyncRequest) GetChanges() []*RawTreeChangeWithId
func (*TreeFullSyncRequest) GetHeads ¶
func (m *TreeFullSyncRequest) GetHeads() []string
func (*TreeFullSyncRequest) GetSnapshotPath ¶
func (m *TreeFullSyncRequest) GetSnapshotPath() []string
func (*TreeFullSyncRequest) Marshal ¶
func (m *TreeFullSyncRequest) Marshal() (dAtA []byte, err error)
func (*TreeFullSyncRequest) MarshalTo ¶
func (m *TreeFullSyncRequest) MarshalTo(dAtA []byte) (int, error)
func (*TreeFullSyncRequest) MarshalToSizedBuffer ¶
func (m *TreeFullSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeFullSyncRequest) ProtoMessage ¶
func (*TreeFullSyncRequest) ProtoMessage()
func (*TreeFullSyncRequest) Reset ¶
func (m *TreeFullSyncRequest) Reset()
func (*TreeFullSyncRequest) Size ¶
func (m *TreeFullSyncRequest) Size() (n int)
func (*TreeFullSyncRequest) String ¶
func (m *TreeFullSyncRequest) String() string
func (*TreeFullSyncRequest) Unmarshal ¶
func (m *TreeFullSyncRequest) Unmarshal(dAtA []byte) error
func (*TreeFullSyncRequest) XXX_DiscardUnknown ¶
func (m *TreeFullSyncRequest) XXX_DiscardUnknown()
func (*TreeFullSyncRequest) XXX_Marshal ¶
func (m *TreeFullSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeFullSyncRequest) XXX_Merge ¶
func (m *TreeFullSyncRequest) XXX_Merge(src proto.Message)
func (*TreeFullSyncRequest) XXX_Size ¶
func (m *TreeFullSyncRequest) XXX_Size() int
func (*TreeFullSyncRequest) XXX_Unmarshal ¶
func (m *TreeFullSyncRequest) XXX_Unmarshal(b []byte) error
type TreeFullSyncResponse ¶
type TreeFullSyncResponse struct { Heads []string `protobuf:"bytes,1,rep,name=heads,proto3" json:"heads,omitempty"` Changes []*RawTreeChangeWithId `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"` SnapshotPath []string `protobuf:"bytes,3,rep,name=snapshotPath,proto3" json:"snapshotPath,omitempty"` }
TreeFullSyncResponse is a message sent as a response for a specific full sync
func (*TreeFullSyncResponse) Descriptor ¶
func (*TreeFullSyncResponse) Descriptor() ([]byte, []int)
func (*TreeFullSyncResponse) GetChanges ¶
func (m *TreeFullSyncResponse) GetChanges() []*RawTreeChangeWithId
func (*TreeFullSyncResponse) GetHeads ¶
func (m *TreeFullSyncResponse) GetHeads() []string
func (*TreeFullSyncResponse) GetSnapshotPath ¶
func (m *TreeFullSyncResponse) GetSnapshotPath() []string
func (*TreeFullSyncResponse) Marshal ¶
func (m *TreeFullSyncResponse) Marshal() (dAtA []byte, err error)
func (*TreeFullSyncResponse) MarshalTo ¶
func (m *TreeFullSyncResponse) MarshalTo(dAtA []byte) (int, error)
func (*TreeFullSyncResponse) MarshalToSizedBuffer ¶
func (m *TreeFullSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeFullSyncResponse) ProtoMessage ¶
func (*TreeFullSyncResponse) ProtoMessage()
func (*TreeFullSyncResponse) Reset ¶
func (m *TreeFullSyncResponse) Reset()
func (*TreeFullSyncResponse) Size ¶
func (m *TreeFullSyncResponse) Size() (n int)
func (*TreeFullSyncResponse) String ¶
func (m *TreeFullSyncResponse) String() string
func (*TreeFullSyncResponse) Unmarshal ¶
func (m *TreeFullSyncResponse) Unmarshal(dAtA []byte) error
func (*TreeFullSyncResponse) XXX_DiscardUnknown ¶
func (m *TreeFullSyncResponse) XXX_DiscardUnknown()
func (*TreeFullSyncResponse) XXX_Marshal ¶
func (m *TreeFullSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeFullSyncResponse) XXX_Merge ¶
func (m *TreeFullSyncResponse) XXX_Merge(src proto.Message)
func (*TreeFullSyncResponse) XXX_Size ¶
func (m *TreeFullSyncResponse) XXX_Size() int
func (*TreeFullSyncResponse) XXX_Unmarshal ¶
func (m *TreeFullSyncResponse) XXX_Unmarshal(b []byte) error
type TreeHeadUpdate ¶
type TreeHeadUpdate struct { Heads []string `protobuf:"bytes,1,rep,name=heads,proto3" json:"heads,omitempty"` Changes []*RawTreeChangeWithId `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"` SnapshotPath []string `protobuf:"bytes,3,rep,name=snapshotPath,proto3" json:"snapshotPath,omitempty"` }
TreeHeadUpdate is a message sent on document head update
func (*TreeHeadUpdate) Descriptor ¶
func (*TreeHeadUpdate) Descriptor() ([]byte, []int)
func (*TreeHeadUpdate) GetChanges ¶
func (m *TreeHeadUpdate) GetChanges() []*RawTreeChangeWithId
func (*TreeHeadUpdate) GetHeads ¶
func (m *TreeHeadUpdate) GetHeads() []string
func (*TreeHeadUpdate) GetSnapshotPath ¶
func (m *TreeHeadUpdate) GetSnapshotPath() []string
func (*TreeHeadUpdate) Marshal ¶
func (m *TreeHeadUpdate) Marshal() (dAtA []byte, err error)
func (*TreeHeadUpdate) MarshalToSizedBuffer ¶
func (m *TreeHeadUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeHeadUpdate) ProtoMessage ¶
func (*TreeHeadUpdate) ProtoMessage()
func (*TreeHeadUpdate) Reset ¶
func (m *TreeHeadUpdate) Reset()
func (*TreeHeadUpdate) Size ¶
func (m *TreeHeadUpdate) Size() (n int)
func (*TreeHeadUpdate) String ¶
func (m *TreeHeadUpdate) String() string
func (*TreeHeadUpdate) Unmarshal ¶
func (m *TreeHeadUpdate) Unmarshal(dAtA []byte) error
func (*TreeHeadUpdate) XXX_DiscardUnknown ¶
func (m *TreeHeadUpdate) XXX_DiscardUnknown()
func (*TreeHeadUpdate) XXX_Marshal ¶
func (m *TreeHeadUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeHeadUpdate) XXX_Merge ¶
func (m *TreeHeadUpdate) XXX_Merge(src proto.Message)
func (*TreeHeadUpdate) XXX_Size ¶
func (m *TreeHeadUpdate) XXX_Size() int
func (*TreeHeadUpdate) XXX_Unmarshal ¶
func (m *TreeHeadUpdate) XXX_Unmarshal(b []byte) error
type TreeSyncContentValue ¶
type TreeSyncContentValue struct { // Types that are valid to be assigned to Value: // // *TreeSyncContentValue_HeadUpdate // *TreeSyncContentValue_FullSyncRequest // *TreeSyncContentValue_FullSyncResponse // *TreeSyncContentValue_ErrorResponse Value isTreeSyncContentValue_Value `protobuf_oneof:"value"` }
TreeSyncContentValue provides different types for tree sync
func (*TreeSyncContentValue) Descriptor ¶
func (*TreeSyncContentValue) Descriptor() ([]byte, []int)
func (*TreeSyncContentValue) GetErrorResponse ¶
func (m *TreeSyncContentValue) GetErrorResponse() *TreeErrorResponse
func (*TreeSyncContentValue) GetFullSyncRequest ¶
func (m *TreeSyncContentValue) GetFullSyncRequest() *TreeFullSyncRequest
func (*TreeSyncContentValue) GetFullSyncResponse ¶
func (m *TreeSyncContentValue) GetFullSyncResponse() *TreeFullSyncResponse
func (*TreeSyncContentValue) GetHeadUpdate ¶
func (m *TreeSyncContentValue) GetHeadUpdate() *TreeHeadUpdate
func (*TreeSyncContentValue) GetValue ¶
func (m *TreeSyncContentValue) GetValue() isTreeSyncContentValue_Value
func (*TreeSyncContentValue) Marshal ¶
func (m *TreeSyncContentValue) Marshal() (dAtA []byte, err error)
func (*TreeSyncContentValue) MarshalTo ¶
func (m *TreeSyncContentValue) MarshalTo(dAtA []byte) (int, error)
func (*TreeSyncContentValue) MarshalToSizedBuffer ¶
func (m *TreeSyncContentValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeSyncContentValue) ProtoMessage ¶
func (*TreeSyncContentValue) ProtoMessage()
func (*TreeSyncContentValue) Reset ¶
func (m *TreeSyncContentValue) Reset()
func (*TreeSyncContentValue) Size ¶
func (m *TreeSyncContentValue) Size() (n int)
func (*TreeSyncContentValue) String ¶
func (m *TreeSyncContentValue) String() string
func (*TreeSyncContentValue) Unmarshal ¶
func (m *TreeSyncContentValue) Unmarshal(dAtA []byte) error
func (*TreeSyncContentValue) XXX_DiscardUnknown ¶
func (m *TreeSyncContentValue) XXX_DiscardUnknown()
func (*TreeSyncContentValue) XXX_Marshal ¶
func (m *TreeSyncContentValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeSyncContentValue) XXX_Merge ¶
func (m *TreeSyncContentValue) XXX_Merge(src proto.Message)
func (*TreeSyncContentValue) XXX_OneofWrappers ¶
func (*TreeSyncContentValue) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TreeSyncContentValue) XXX_Size ¶
func (m *TreeSyncContentValue) XXX_Size() int
func (*TreeSyncContentValue) XXX_Unmarshal ¶
func (m *TreeSyncContentValue) XXX_Unmarshal(b []byte) error
type TreeSyncContentValue_ErrorResponse ¶
type TreeSyncContentValue_ErrorResponse struct {
ErrorResponse *TreeErrorResponse `protobuf:"bytes,4,opt,name=errorResponse,proto3,oneof" json:"errorResponse,omitempty"`
}
func (*TreeSyncContentValue_ErrorResponse) MarshalTo ¶
func (m *TreeSyncContentValue_ErrorResponse) MarshalTo(dAtA []byte) (int, error)
func (*TreeSyncContentValue_ErrorResponse) MarshalToSizedBuffer ¶
func (m *TreeSyncContentValue_ErrorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeSyncContentValue_ErrorResponse) Size ¶
func (m *TreeSyncContentValue_ErrorResponse) Size() (n int)
type TreeSyncContentValue_FullSyncRequest ¶
type TreeSyncContentValue_FullSyncRequest struct {
FullSyncRequest *TreeFullSyncRequest `protobuf:"bytes,2,opt,name=fullSyncRequest,proto3,oneof" json:"fullSyncRequest,omitempty"`
}
func (*TreeSyncContentValue_FullSyncRequest) MarshalTo ¶
func (m *TreeSyncContentValue_FullSyncRequest) MarshalTo(dAtA []byte) (int, error)
func (*TreeSyncContentValue_FullSyncRequest) MarshalToSizedBuffer ¶
func (m *TreeSyncContentValue_FullSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeSyncContentValue_FullSyncRequest) Size ¶
func (m *TreeSyncContentValue_FullSyncRequest) Size() (n int)
type TreeSyncContentValue_FullSyncResponse ¶
type TreeSyncContentValue_FullSyncResponse struct {
FullSyncResponse *TreeFullSyncResponse `protobuf:"bytes,3,opt,name=fullSyncResponse,proto3,oneof" json:"fullSyncResponse,omitempty"`
}
func (*TreeSyncContentValue_FullSyncResponse) MarshalTo ¶
func (m *TreeSyncContentValue_FullSyncResponse) MarshalTo(dAtA []byte) (int, error)
func (*TreeSyncContentValue_FullSyncResponse) MarshalToSizedBuffer ¶
func (m *TreeSyncContentValue_FullSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeSyncContentValue_FullSyncResponse) Size ¶
func (m *TreeSyncContentValue_FullSyncResponse) Size() (n int)
type TreeSyncContentValue_HeadUpdate ¶
type TreeSyncContentValue_HeadUpdate struct {
HeadUpdate *TreeHeadUpdate `protobuf:"bytes,1,opt,name=headUpdate,proto3,oneof" json:"headUpdate,omitempty"`
}
func (*TreeSyncContentValue_HeadUpdate) MarshalTo ¶
func (m *TreeSyncContentValue_HeadUpdate) MarshalTo(dAtA []byte) (int, error)
func (*TreeSyncContentValue_HeadUpdate) MarshalToSizedBuffer ¶
func (m *TreeSyncContentValue_HeadUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeSyncContentValue_HeadUpdate) Size ¶
func (m *TreeSyncContentValue_HeadUpdate) Size() (n int)
type TreeSyncMessage ¶
type TreeSyncMessage struct { Content *TreeSyncContentValue `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` RootChange *RawTreeChangeWithId `protobuf:"bytes,2,opt,name=rootChange,proto3" json:"rootChange,omitempty"` }
func WrapError ¶
func WrapError(err error, rootChange *RawTreeChangeWithId) *TreeSyncMessage
func WrapFullRequest ¶
func WrapFullRequest(request *TreeFullSyncRequest, rootChange *RawTreeChangeWithId) *TreeSyncMessage
func WrapFullResponse ¶
func WrapFullResponse(response *TreeFullSyncResponse, rootChange *RawTreeChangeWithId) *TreeSyncMessage
func WrapHeadUpdate ¶
func WrapHeadUpdate(update *TreeHeadUpdate, rootChange *RawTreeChangeWithId) *TreeSyncMessage
func (*TreeSyncMessage) Descriptor ¶
func (*TreeSyncMessage) Descriptor() ([]byte, []int)
func (*TreeSyncMessage) GetContent ¶
func (m *TreeSyncMessage) GetContent() *TreeSyncContentValue
func (*TreeSyncMessage) GetRootChange ¶
func (m *TreeSyncMessage) GetRootChange() *RawTreeChangeWithId
func (*TreeSyncMessage) Marshal ¶
func (m *TreeSyncMessage) Marshal() (dAtA []byte, err error)
func (*TreeSyncMessage) MarshalToSizedBuffer ¶
func (m *TreeSyncMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeSyncMessage) ProtoMessage ¶
func (*TreeSyncMessage) ProtoMessage()
func (*TreeSyncMessage) Reset ¶
func (m *TreeSyncMessage) Reset()
func (*TreeSyncMessage) Size ¶
func (m *TreeSyncMessage) Size() (n int)
func (*TreeSyncMessage) String ¶
func (m *TreeSyncMessage) String() string
func (*TreeSyncMessage) Unmarshal ¶
func (m *TreeSyncMessage) Unmarshal(dAtA []byte) error
func (*TreeSyncMessage) XXX_DiscardUnknown ¶
func (m *TreeSyncMessage) XXX_DiscardUnknown()
func (*TreeSyncMessage) XXX_Marshal ¶
func (m *TreeSyncMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeSyncMessage) XXX_Merge ¶
func (m *TreeSyncMessage) XXX_Merge(src proto.Message)
func (*TreeSyncMessage) XXX_Size ¶
func (m *TreeSyncMessage) XXX_Size() int
func (*TreeSyncMessage) XXX_Unmarshal ¶
func (m *TreeSyncMessage) XXX_Unmarshal(b []byte) error