syncpb

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ChunkChecksum

type ChunkChecksum struct {
	BlockIndex           uint32   `protobuf:"varint,1,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"`
	WeakHash             uint32   `protobuf:"varint,2,opt,name=weak_hash,json=weakHash,proto3" json:"weak_hash,omitempty"`
	StrongHash           []byte   `protobuf:"bytes,3,opt,name=strong_hash,json=strongHash,proto3" json:"strong_hash,omitempty"`
	BlockSize            int64    `protobuf:"varint,4,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChunkChecksum) Descriptor

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

func (*ChunkChecksum) Marshal

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

func (*ChunkChecksum) MarshalTo

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

func (*ChunkChecksum) ProtoMessage

func (*ChunkChecksum) ProtoMessage()

func (*ChunkChecksum) Reset

func (m *ChunkChecksum) Reset()

func (*ChunkChecksum) Size

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

func (*ChunkChecksum) String

func (m *ChunkChecksum) String() string

func (*ChunkChecksum) Unmarshal

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

func (*ChunkChecksum) XXX_DiscardUnknown

func (m *ChunkChecksum) XXX_DiscardUnknown()

func (*ChunkChecksum) XXX_Marshal

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

func (*ChunkChecksum) XXX_Merge

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

func (*ChunkChecksum) XXX_Size

func (m *ChunkChecksum) XXX_Size() int

func (*ChunkChecksum) XXX_Unmarshal

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

type ChunkChecksums

type ChunkChecksums struct {
	ConfigBlockSize      int64            `protobuf:"varint,1,opt,name=config_block_size,json=configBlockSize,proto3" json:"config_block_size,omitempty"`
	Checksums            []*ChunkChecksum `protobuf:"bytes,2,rep,name=checksums,proto3" json:"checksums,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ChunkChecksums) Descriptor

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

func (*ChunkChecksums) Marshal

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

func (*ChunkChecksums) MarshalTo

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

func (*ChunkChecksums) ProtoMessage

func (*ChunkChecksums) ProtoMessage()

func (*ChunkChecksums) Reset

func (m *ChunkChecksums) Reset()

func (*ChunkChecksums) Size

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

func (*ChunkChecksums) String

func (m *ChunkChecksums) String() string

func (*ChunkChecksums) Unmarshal

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

func (*ChunkChecksums) XXX_DiscardUnknown

func (m *ChunkChecksums) XXX_DiscardUnknown()

func (*ChunkChecksums) XXX_Marshal

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

func (*ChunkChecksums) XXX_Merge

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

func (*ChunkChecksums) XXX_Size

func (m *ChunkChecksums) XXX_Size() int

func (*ChunkChecksums) XXX_Unmarshal

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

type FoundBlockSpan

type FoundBlockSpan struct {
	ComparisonOffset     int64    `protobuf:"varint,1,opt,name=comparison_offset,json=comparisonOffset,proto3" json:"comparison_offset,omitempty"`
	StartIndex           uint32   `protobuf:"varint,2,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
	EndIndex             uint32   `protobuf:"varint,3,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"`
	BlockSize            int64    `protobuf:"varint,4,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FoundBlockSpan) Descriptor

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

func (*FoundBlockSpan) Marshal

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

func (*FoundBlockSpan) MarshalTo

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

func (*FoundBlockSpan) ProtoMessage

func (*FoundBlockSpan) ProtoMessage()

func (*FoundBlockSpan) Reset

func (m *FoundBlockSpan) Reset()

func (*FoundBlockSpan) Size

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

func (*FoundBlockSpan) String

func (m *FoundBlockSpan) String() string

func (*FoundBlockSpan) Unmarshal

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

func (*FoundBlockSpan) XXX_DiscardUnknown

func (m *FoundBlockSpan) XXX_DiscardUnknown()

func (*FoundBlockSpan) XXX_Marshal

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

func (*FoundBlockSpan) XXX_Merge

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

func (*FoundBlockSpan) XXX_Size

func (m *FoundBlockSpan) XXX_Size() int

func (*FoundBlockSpan) XXX_Unmarshal

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

type MissingBlockSpan

type MissingBlockSpan struct {
	StartOffset          int64    `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
	EndOffset            int64    `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MissingBlockSpan) Descriptor

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

func (*MissingBlockSpan) Marshal

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

func (*MissingBlockSpan) MarshalTo

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

func (*MissingBlockSpan) ProtoMessage

func (*MissingBlockSpan) ProtoMessage()

func (*MissingBlockSpan) Reset

func (m *MissingBlockSpan) Reset()

func (*MissingBlockSpan) Size

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

func (*MissingBlockSpan) String

func (m *MissingBlockSpan) String() string

func (*MissingBlockSpan) Unmarshal

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

func (*MissingBlockSpan) XXX_DiscardUnknown

func (m *MissingBlockSpan) XXX_DiscardUnknown()

func (*MissingBlockSpan) XXX_Marshal

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

func (*MissingBlockSpan) XXX_Merge

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

func (*MissingBlockSpan) XXX_Size

func (m *MissingBlockSpan) XXX_Size() int

func (*MissingBlockSpan) XXX_Unmarshal

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

type PatcherBlockSpan

type PatcherBlockSpan struct {
	Found                []*FoundBlockSpan   `protobuf:"bytes,1,rep,name=found,proto3" json:"found,omitempty"`
	Missing              []*MissingBlockSpan `protobuf:"bytes,2,rep,name=missing,proto3" json:"missing,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PatcherBlockSpan) Descriptor

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

func (*PatcherBlockSpan) Marshal

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

func (*PatcherBlockSpan) MarshalTo

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

func (*PatcherBlockSpan) ProtoMessage

func (*PatcherBlockSpan) ProtoMessage()

func (*PatcherBlockSpan) Reset

func (m *PatcherBlockSpan) Reset()

func (*PatcherBlockSpan) Size

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

func (*PatcherBlockSpan) String

func (m *PatcherBlockSpan) String() string

func (*PatcherBlockSpan) Unmarshal

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

func (*PatcherBlockSpan) XXX_DiscardUnknown

func (m *PatcherBlockSpan) XXX_DiscardUnknown()

func (*PatcherBlockSpan) XXX_Marshal

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

func (*PatcherBlockSpan) XXX_Merge

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

func (*PatcherBlockSpan) XXX_Size

func (m *PatcherBlockSpan) XXX_Size() int

func (*PatcherBlockSpan) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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