nodesyncproto

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnexpected             = errGroup.Register(errors.New("unexpected error"), uint64(ErrCodes_Unexpected))
	ErrExpectedCoordinator    = errGroup.Register(errors.New("this request should be sent by coordinator"), uint64(ErrCodes_ExpectedCoordinator))
	ErrUnsupportedStorageType = errGroup.Register(errors.New("unsupported storage"), uint64(ErrCodes_UnsupportedStorage))
	ErrSpaceDeleted           = errGroup.Register(errors.New("space is deleted"), uint64(ErrCodes_SpaceDeleted))
	ErrArchiveUnavailable     = errGroup.Register(errors.New("archive store is unavailable or not shared"), uint64(ErrCodes_ArchiveUnavailable))
	ErrArchiveObjectMissing   = errGroup.Register(errors.New("archive object is missing"), uint64(ErrCodes_ArchiveObjectMissing))
	ErrPeerIsNotNode          = errGroup.Register(errors.New("peer is not a network node"), uint64(ErrCodes_PeerIsNotNode))
	ErrNotResponsible         = errGroup.Register(errors.New("node is not responsible for the space"), uint64(ErrCodes_NotResponsible))
	ErrSpacePendingDeletion   = errGroup.Register(errors.New("space is pending deletion"), uint64(ErrCodes_SpacePendingDeletion))
)
View Source
var (
	ErrCodes_name = map[int32]string{
		0:    "Unexpected",
		1:    "ExpectedCoordinator",
		2:    "UnsupportedStorage",
		3:    "SpaceDeleted",
		4:    "ArchiveUnavailable",
		5:    "ArchiveObjectMissing",
		6:    "PeerIsNotNode",
		7:    "NotResponsible",
		8:    "SpacePendingDeletion",
		1000: "ErrorOffset",
	}
	ErrCodes_value = map[string]int32{
		"Unexpected":           0,
		"ExpectedCoordinator":  1,
		"UnsupportedStorage":   2,
		"SpaceDeleted":         3,
		"ArchiveUnavailable":   4,
		"ArchiveObjectMissing": 5,
		"PeerIsNotNode":        6,
		"NotResponsible":       7,
		"SpacePendingDeletion": 8,
		"ErrorOffset":          1000,
	}
)

Enum value maps for ErrCodes.

View Source
var (
	ColdSyncProtocolType_name = map[int32]string{
		0: "Pogreb",
		1: "AnystoreSqlite",
	}
	ColdSyncProtocolType_value = map[string]int32{
		"Pogreb":         0,
		"AnystoreSqlite": 1,
	}
)

Enum value maps for ColdSyncProtocolType.

View Source
var (
	AdoptArchiveResult_name = map[int32]string{
		0: "AdoptArchiveOk",
		1: "AdoptArchiveAlreadyHaveSame",
		2: "AdoptArchiveAlreadyHaveDiverged",
	}
	AdoptArchiveResult_value = map[string]int32{
		"AdoptArchiveOk":                  0,
		"AdoptArchiveAlreadyHaveSame":     1,
		"AdoptArchiveAlreadyHaveDiverged": 2,
	}
)

Enum value maps for AdoptArchiveResult.

View Source
var File_nodesync_nodesyncproto_protos_nodesync_proto protoreflect.FileDescriptor

Functions

func DRPCRegisterNodeSync

func DRPCRegisterNodeSync(mux drpc.Mux, impl DRPCNodeSyncServer) error

Types

type AdoptArchiveRequest added in v0.13.0

type AdoptArchiveRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// srcKey is the full key of the gzipped snapshot within the shared bucket (sender's prefix)
	SrcKey string `protobuf:"bytes,2,opt,name=srcKey,proto3" json:"srcKey,omitempty"`
	// heads hashes of the space at snapshot time, as stored in the sender's index
	OldHash string `protobuf:"bytes,3,opt,name=oldHash,proto3" json:"oldHash,omitempty"`
	NewHash string `protobuf:"bytes,4,opt,name=newHash,proto3" json:"newHash,omitempty"`
	// eager asks the receiver to restore the space in background right away
	Eager            bool  `protobuf:"varint,5,opt,name=eager,proto3" json:"eager,omitempty"`
	CompressedSize   int64 `protobuf:"varint,6,opt,name=compressedSize,proto3" json:"compressedSize,omitempty"`
	UncompressedSize int64 `protobuf:"varint,7,opt,name=uncompressedSize,proto3" json:"uncompressedSize,omitempty"`
	// contains filtered or unexported fields
}

func (*AdoptArchiveRequest) Descriptor deprecated added in v0.13.0

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

Deprecated: Use AdoptArchiveRequest.ProtoReflect.Descriptor instead.

func (*AdoptArchiveRequest) GetCompressedSize added in v0.13.0

func (x *AdoptArchiveRequest) GetCompressedSize() int64

func (*AdoptArchiveRequest) GetEager added in v0.13.0

func (x *AdoptArchiveRequest) GetEager() bool

func (*AdoptArchiveRequest) GetNewHash added in v0.13.0

func (x *AdoptArchiveRequest) GetNewHash() string

func (*AdoptArchiveRequest) GetOldHash added in v0.13.0

func (x *AdoptArchiveRequest) GetOldHash() string

func (*AdoptArchiveRequest) GetSpaceId added in v0.13.0

func (x *AdoptArchiveRequest) GetSpaceId() string

func (*AdoptArchiveRequest) GetSrcKey added in v0.13.0

func (x *AdoptArchiveRequest) GetSrcKey() string

func (*AdoptArchiveRequest) GetUncompressedSize added in v0.13.0

func (x *AdoptArchiveRequest) GetUncompressedSize() int64

func (*AdoptArchiveRequest) MarshalToSizedBufferVT added in v0.13.0

func (m *AdoptArchiveRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AdoptArchiveRequest) MarshalToVT added in v0.13.0

func (m *AdoptArchiveRequest) MarshalToVT(dAtA []byte) (int, error)

func (*AdoptArchiveRequest) MarshalVT added in v0.13.0

func (m *AdoptArchiveRequest) MarshalVT() (dAtA []byte, err error)

func (*AdoptArchiveRequest) ProtoMessage added in v0.13.0

func (*AdoptArchiveRequest) ProtoMessage()

func (*AdoptArchiveRequest) ProtoReflect added in v0.13.0

func (x *AdoptArchiveRequest) ProtoReflect() protoreflect.Message

func (*AdoptArchiveRequest) Reset added in v0.13.0

func (x *AdoptArchiveRequest) Reset()

func (*AdoptArchiveRequest) SizeVT added in v0.13.0

func (m *AdoptArchiveRequest) SizeVT() (n int)

func (*AdoptArchiveRequest) String added in v0.13.0

func (x *AdoptArchiveRequest) String() string

func (*AdoptArchiveRequest) UnmarshalVT added in v0.13.0

func (m *AdoptArchiveRequest) UnmarshalVT(dAtA []byte) error

type AdoptArchiveResponse added in v0.13.0

type AdoptArchiveResponse struct {
	Result AdoptArchiveResult `protobuf:"varint,1,opt,name=result,proto3,enum=anyNodeSync.AdoptArchiveResult" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*AdoptArchiveResponse) Descriptor deprecated added in v0.13.0

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

Deprecated: Use AdoptArchiveResponse.ProtoReflect.Descriptor instead.

func (*AdoptArchiveResponse) GetResult added in v0.13.0

func (*AdoptArchiveResponse) MarshalToSizedBufferVT added in v0.13.0

func (m *AdoptArchiveResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AdoptArchiveResponse) MarshalToVT added in v0.13.0

func (m *AdoptArchiveResponse) MarshalToVT(dAtA []byte) (int, error)

func (*AdoptArchiveResponse) MarshalVT added in v0.13.0

func (m *AdoptArchiveResponse) MarshalVT() (dAtA []byte, err error)

func (*AdoptArchiveResponse) ProtoMessage added in v0.13.0

func (*AdoptArchiveResponse) ProtoMessage()

func (*AdoptArchiveResponse) ProtoReflect added in v0.13.0

func (x *AdoptArchiveResponse) ProtoReflect() protoreflect.Message

func (*AdoptArchiveResponse) Reset added in v0.13.0

func (x *AdoptArchiveResponse) Reset()

func (*AdoptArchiveResponse) SizeVT added in v0.13.0

func (m *AdoptArchiveResponse) SizeVT() (n int)

func (*AdoptArchiveResponse) String added in v0.13.0

func (x *AdoptArchiveResponse) String() string

func (*AdoptArchiveResponse) UnmarshalVT added in v0.13.0

func (m *AdoptArchiveResponse) UnmarshalVT(dAtA []byte) error

type AdoptArchiveResult added in v0.13.0

type AdoptArchiveResult int32
const (
	// the snapshot was copied and registered
	AdoptArchiveResult_AdoptArchiveOk AdoptArchiveResult = 0
	// the receiver already holds a copy of the space with the same heads:
	// counts as a durable ACK for the sender
	AdoptArchiveResult_AdoptArchiveAlreadyHaveSame AdoptArchiveResult = 1
	// the receiver already holds a copy with different heads; the sender must
	// converge via tree sync before the handoff can be acknowledged
	AdoptArchiveResult_AdoptArchiveAlreadyHaveDiverged AdoptArchiveResult = 2
)

func (AdoptArchiveResult) Descriptor added in v0.13.0

func (AdoptArchiveResult) Enum added in v0.13.0

func (AdoptArchiveResult) EnumDescriptor deprecated added in v0.13.0

func (AdoptArchiveResult) EnumDescriptor() ([]byte, []int)

Deprecated: Use AdoptArchiveResult.Descriptor instead.

func (AdoptArchiveResult) Number added in v0.13.0

func (AdoptArchiveResult) String added in v0.13.0

func (x AdoptArchiveResult) String() string

func (AdoptArchiveResult) Type added in v0.13.0

type ColdSyncProtocolType added in v0.5.0

type ColdSyncProtocolType int32
const (
	ColdSyncProtocolType_Pogreb         ColdSyncProtocolType = 0
	ColdSyncProtocolType_AnystoreSqlite ColdSyncProtocolType = 1
)

func (ColdSyncProtocolType) Descriptor added in v0.7.7

func (ColdSyncProtocolType) Enum added in v0.7.7

func (ColdSyncProtocolType) EnumDescriptor deprecated added in v0.5.0

func (ColdSyncProtocolType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ColdSyncProtocolType.Descriptor instead.

func (ColdSyncProtocolType) Number added in v0.7.7

func (ColdSyncProtocolType) String added in v0.5.0

func (x ColdSyncProtocolType) String() string

func (ColdSyncProtocolType) Type added in v0.7.7

type ColdSyncRequest

type ColdSyncRequest struct {
	SpaceId      string               `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	ProtocolType ColdSyncProtocolType `protobuf:"varint,2,opt,name=protocolType,proto3,enum=anyNodeSync.ColdSyncProtocolType" json:"protocolType,omitempty"`
	// contains filtered or unexported fields
}

func (*ColdSyncRequest) Descriptor deprecated

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

Deprecated: Use ColdSyncRequest.ProtoReflect.Descriptor instead.

func (*ColdSyncRequest) GetProtocolType added in v0.5.0

func (x *ColdSyncRequest) GetProtocolType() ColdSyncProtocolType

func (*ColdSyncRequest) GetSpaceId

func (x *ColdSyncRequest) GetSpaceId() string

func (*ColdSyncRequest) MarshalToSizedBufferVT added in v0.7.7

func (m *ColdSyncRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ColdSyncRequest) MarshalToVT added in v0.7.7

func (m *ColdSyncRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ColdSyncRequest) MarshalVT added in v0.7.7

func (m *ColdSyncRequest) MarshalVT() (dAtA []byte, err error)

func (*ColdSyncRequest) ProtoMessage

func (*ColdSyncRequest) ProtoMessage()

func (*ColdSyncRequest) ProtoReflect added in v0.7.7

func (x *ColdSyncRequest) ProtoReflect() protoreflect.Message

func (*ColdSyncRequest) Reset

func (x *ColdSyncRequest) Reset()

func (*ColdSyncRequest) SizeVT added in v0.7.7

func (m *ColdSyncRequest) SizeVT() (n int)

func (*ColdSyncRequest) String

func (x *ColdSyncRequest) String() string

func (*ColdSyncRequest) UnmarshalVT added in v0.7.7

func (m *ColdSyncRequest) UnmarshalVT(dAtA []byte) error

type ColdSyncResponse

type ColdSyncResponse struct {
	Filename     string               `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	Data         []byte               `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Crc32        uint32               `protobuf:"varint,4,opt,name=crc32,proto3" json:"crc32,omitempty"`
	ProtocolType ColdSyncProtocolType `protobuf:"varint,5,opt,name=protocolType,proto3,enum=anyNodeSync.ColdSyncProtocolType" json:"protocolType,omitempty"`
	// contains filtered or unexported fields
}

func (*ColdSyncResponse) Descriptor deprecated

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

Deprecated: Use ColdSyncResponse.ProtoReflect.Descriptor instead.

func (*ColdSyncResponse) GetCrc32

func (x *ColdSyncResponse) GetCrc32() uint32

func (*ColdSyncResponse) GetData

func (x *ColdSyncResponse) GetData() []byte

func (*ColdSyncResponse) GetFilename

func (x *ColdSyncResponse) GetFilename() string

func (*ColdSyncResponse) GetProtocolType added in v0.5.0

func (x *ColdSyncResponse) GetProtocolType() ColdSyncProtocolType

func (*ColdSyncResponse) MarshalToSizedBufferVT added in v0.7.7

func (m *ColdSyncResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ColdSyncResponse) MarshalToVT added in v0.7.7

func (m *ColdSyncResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ColdSyncResponse) MarshalVT added in v0.7.7

func (m *ColdSyncResponse) MarshalVT() (dAtA []byte, err error)

func (*ColdSyncResponse) ProtoMessage

func (*ColdSyncResponse) ProtoMessage()

func (*ColdSyncResponse) ProtoReflect added in v0.7.7

func (x *ColdSyncResponse) ProtoReflect() protoreflect.Message

func (*ColdSyncResponse) Reset

func (x *ColdSyncResponse) Reset()

func (*ColdSyncResponse) SizeVT added in v0.7.7

func (m *ColdSyncResponse) SizeVT() (n int)

func (*ColdSyncResponse) String

func (x *ColdSyncResponse) String() string

func (*ColdSyncResponse) UnmarshalVT added in v0.7.7

func (m *ColdSyncResponse) UnmarshalVT(dAtA []byte) error

type DRPCNodeSyncClient

type DRPCNodeSyncClient interface {
	DRPCConn() drpc.Conn

	PartitionSync(ctx context.Context, in *PartitionSyncRequest) (*PartitionSyncResponse, error)
	ColdSync(ctx context.Context, in *ColdSyncRequest) (DRPCNodeSync_ColdSyncClient, error)
	AdoptArchive(ctx context.Context, in *AdoptArchiveRequest) (*AdoptArchiveResponse, error)
}

func NewDRPCNodeSyncClient

func NewDRPCNodeSyncClient(cc drpc.Conn) DRPCNodeSyncClient

type DRPCNodeSyncDescription

type DRPCNodeSyncDescription struct{}

func (DRPCNodeSyncDescription) Method

func (DRPCNodeSyncDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCNodeSyncDescription) NumMethods

func (DRPCNodeSyncDescription) NumMethods() int

type DRPCNodeSyncUnimplementedServer

type DRPCNodeSyncUnimplementedServer struct{}

func (*DRPCNodeSyncUnimplementedServer) AdoptArchive added in v0.13.0

func (*DRPCNodeSyncUnimplementedServer) ColdSync

func (*DRPCNodeSyncUnimplementedServer) PartitionSync

type DRPCNodeSync_AdoptArchiveStream added in v0.13.0

type DRPCNodeSync_AdoptArchiveStream interface {
	drpc.Stream
	SendAndClose(*AdoptArchiveResponse) error
}

type DRPCNodeSync_ColdSyncClient

type DRPCNodeSync_ColdSyncClient interface {
	drpc.Stream
	Recv() (*ColdSyncResponse, error)
}

type DRPCNodeSync_ColdSyncStream

type DRPCNodeSync_ColdSyncStream interface {
	drpc.Stream
	Send(*ColdSyncResponse) error
}

type DRPCNodeSync_PartitionSyncStream

type DRPCNodeSync_PartitionSyncStream interface {
	drpc.Stream
	SendAndClose(*PartitionSyncResponse) error
}

type ErrCodes

type ErrCodes int32
const (
	ErrCodes_Unexpected           ErrCodes = 0
	ErrCodes_ExpectedCoordinator  ErrCodes = 1
	ErrCodes_UnsupportedStorage   ErrCodes = 2
	ErrCodes_SpaceDeleted         ErrCodes = 3
	ErrCodes_ArchiveUnavailable   ErrCodes = 4
	ErrCodes_ArchiveObjectMissing ErrCodes = 5
	ErrCodes_PeerIsNotNode        ErrCodes = 6
	ErrCodes_NotResponsible       ErrCodes = 7
	ErrCodes_SpacePendingDeletion ErrCodes = 8
	ErrCodes_ErrorOffset          ErrCodes = 1000
)

func (ErrCodes) Descriptor added in v0.7.7

func (ErrCodes) Descriptor() protoreflect.EnumDescriptor

func (ErrCodes) Enum added in v0.7.7

func (x ErrCodes) Enum() *ErrCodes

func (ErrCodes) EnumDescriptor deprecated

func (ErrCodes) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrCodes.Descriptor instead.

func (ErrCodes) Number added in v0.7.7

func (x ErrCodes) Number() protoreflect.EnumNumber

func (ErrCodes) String

func (x ErrCodes) String() string

func (ErrCodes) Type added in v0.7.7

type PartitionSyncRange

type PartitionSyncRange struct {
	From     uint64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
	To       uint64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
	Limit    uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Elements bool   `protobuf:"varint,4,opt,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

PartitionSyncRange presenting a request for one range

func (*PartitionSyncRange) Descriptor deprecated

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

Deprecated: Use PartitionSyncRange.ProtoReflect.Descriptor instead.

func (*PartitionSyncRange) GetElements added in v0.3.9

func (x *PartitionSyncRange) GetElements() bool

func (*PartitionSyncRange) GetFrom

func (x *PartitionSyncRange) GetFrom() uint64

func (*PartitionSyncRange) GetLimit

func (x *PartitionSyncRange) GetLimit() uint32

func (*PartitionSyncRange) GetTo

func (x *PartitionSyncRange) GetTo() uint64

func (*PartitionSyncRange) MarshalToSizedBufferVT added in v0.7.7

func (m *PartitionSyncRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PartitionSyncRange) MarshalToVT added in v0.7.7

func (m *PartitionSyncRange) MarshalToVT(dAtA []byte) (int, error)

func (*PartitionSyncRange) MarshalVT added in v0.7.7

func (m *PartitionSyncRange) MarshalVT() (dAtA []byte, err error)

func (*PartitionSyncRange) ProtoMessage

func (*PartitionSyncRange) ProtoMessage()

func (*PartitionSyncRange) ProtoReflect added in v0.7.7

func (x *PartitionSyncRange) ProtoReflect() protoreflect.Message

func (*PartitionSyncRange) Reset

func (x *PartitionSyncRange) Reset()

func (*PartitionSyncRange) SizeVT added in v0.7.7

func (m *PartitionSyncRange) SizeVT() (n int)

func (*PartitionSyncRange) String

func (x *PartitionSyncRange) String() string

func (*PartitionSyncRange) UnmarshalVT added in v0.7.7

func (m *PartitionSyncRange) UnmarshalVT(dAtA []byte) error

type PartitionSyncRequest

type PartitionSyncRequest struct {
	PartitionId uint64                `protobuf:"varint,1,opt,name=partitionId,proto3" json:"partitionId,omitempty"`
	Ranges      []*PartitionSyncRange `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"`
	// contains filtered or unexported fields
}

HeadSyncRequest is a request for HeadSync

func (*PartitionSyncRequest) Descriptor deprecated

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

Deprecated: Use PartitionSyncRequest.ProtoReflect.Descriptor instead.

func (*PartitionSyncRequest) GetPartitionId

func (x *PartitionSyncRequest) GetPartitionId() uint64

func (*PartitionSyncRequest) GetRanges

func (x *PartitionSyncRequest) GetRanges() []*PartitionSyncRange

func (*PartitionSyncRequest) MarshalToSizedBufferVT added in v0.7.7

func (m *PartitionSyncRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PartitionSyncRequest) MarshalToVT added in v0.7.7

func (m *PartitionSyncRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PartitionSyncRequest) MarshalVT added in v0.7.7

func (m *PartitionSyncRequest) MarshalVT() (dAtA []byte, err error)

func (*PartitionSyncRequest) ProtoMessage

func (*PartitionSyncRequest) ProtoMessage()

func (*PartitionSyncRequest) ProtoReflect added in v0.7.7

func (x *PartitionSyncRequest) ProtoReflect() protoreflect.Message

func (*PartitionSyncRequest) Reset

func (x *PartitionSyncRequest) Reset()

func (*PartitionSyncRequest) SizeVT added in v0.7.7

func (m *PartitionSyncRequest) SizeVT() (n int)

func (*PartitionSyncRequest) String

func (x *PartitionSyncRequest) String() string

func (*PartitionSyncRequest) UnmarshalVT added in v0.7.7

func (m *PartitionSyncRequest) UnmarshalVT(dAtA []byte) error

type PartitionSyncResponse

type PartitionSyncResponse struct {
	Results []*PartitionSyncResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

PartitionSyncResponse is a response for HeadSync

func (*PartitionSyncResponse) Descriptor deprecated

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

Deprecated: Use PartitionSyncResponse.ProtoReflect.Descriptor instead.

func (*PartitionSyncResponse) GetResults

func (x *PartitionSyncResponse) GetResults() []*PartitionSyncResult

func (*PartitionSyncResponse) MarshalToSizedBufferVT added in v0.7.7

func (m *PartitionSyncResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PartitionSyncResponse) MarshalToVT added in v0.7.7

func (m *PartitionSyncResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PartitionSyncResponse) MarshalVT added in v0.7.7

func (m *PartitionSyncResponse) MarshalVT() (dAtA []byte, err error)

func (*PartitionSyncResponse) ProtoMessage

func (*PartitionSyncResponse) ProtoMessage()

func (*PartitionSyncResponse) ProtoReflect added in v0.7.7

func (x *PartitionSyncResponse) ProtoReflect() protoreflect.Message

func (*PartitionSyncResponse) Reset

func (x *PartitionSyncResponse) Reset()

func (*PartitionSyncResponse) SizeVT added in v0.7.7

func (m *PartitionSyncResponse) SizeVT() (n int)

func (*PartitionSyncResponse) String

func (x *PartitionSyncResponse) String() string

func (*PartitionSyncResponse) UnmarshalVT added in v0.7.7

func (m *PartitionSyncResponse) UnmarshalVT(dAtA []byte) error

type PartitionSyncResult

type PartitionSyncResult struct {
	Hash     []byte                        `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Elements []*PartitionSyncResultElement `protobuf:"bytes,2,rep,name=elements,proto3" json:"elements,omitempty"`
	Count    uint32                        `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

PartitionSyncResult presenting a response for one range

func (*PartitionSyncResult) Descriptor deprecated

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

Deprecated: Use PartitionSyncResult.ProtoReflect.Descriptor instead.

func (*PartitionSyncResult) GetCount

func (x *PartitionSyncResult) GetCount() uint32

func (*PartitionSyncResult) GetElements

func (x *PartitionSyncResult) GetElements() []*PartitionSyncResultElement

func (*PartitionSyncResult) GetHash

func (x *PartitionSyncResult) GetHash() []byte

func (*PartitionSyncResult) MarshalToSizedBufferVT added in v0.7.7

func (m *PartitionSyncResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PartitionSyncResult) MarshalToVT added in v0.7.7

func (m *PartitionSyncResult) MarshalToVT(dAtA []byte) (int, error)

func (*PartitionSyncResult) MarshalVT added in v0.7.7

func (m *PartitionSyncResult) MarshalVT() (dAtA []byte, err error)

func (*PartitionSyncResult) ProtoMessage

func (*PartitionSyncResult) ProtoMessage()

func (*PartitionSyncResult) ProtoReflect added in v0.7.7

func (x *PartitionSyncResult) ProtoReflect() protoreflect.Message

func (*PartitionSyncResult) Reset

func (x *PartitionSyncResult) Reset()

func (*PartitionSyncResult) SizeVT added in v0.7.7

func (m *PartitionSyncResult) SizeVT() (n int)

func (*PartitionSyncResult) String

func (x *PartitionSyncResult) String() string

func (*PartitionSyncResult) UnmarshalVT added in v0.7.7

func (m *PartitionSyncResult) UnmarshalVT(dAtA []byte) error

type PartitionSyncResultElement

type PartitionSyncResultElement struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Head string `protobuf:"bytes,2,opt,name=head,proto3" json:"head,omitempty"`
	// contains filtered or unexported fields
}

PartitionSyncResultElement presenting state of one object

func (*PartitionSyncResultElement) Descriptor deprecated

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

Deprecated: Use PartitionSyncResultElement.ProtoReflect.Descriptor instead.

func (*PartitionSyncResultElement) GetHead

func (x *PartitionSyncResultElement) GetHead() string

func (*PartitionSyncResultElement) GetId

func (*PartitionSyncResultElement) MarshalToSizedBufferVT added in v0.7.7

func (m *PartitionSyncResultElement) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PartitionSyncResultElement) MarshalToVT added in v0.7.7

func (m *PartitionSyncResultElement) MarshalToVT(dAtA []byte) (int, error)

func (*PartitionSyncResultElement) MarshalVT added in v0.7.7

func (m *PartitionSyncResultElement) MarshalVT() (dAtA []byte, err error)

func (*PartitionSyncResultElement) ProtoMessage

func (*PartitionSyncResultElement) ProtoMessage()

func (*PartitionSyncResultElement) ProtoReflect added in v0.7.7

func (*PartitionSyncResultElement) Reset

func (x *PartitionSyncResultElement) Reset()

func (*PartitionSyncResultElement) SizeVT added in v0.7.7

func (m *PartitionSyncResultElement) SizeVT() (n int)

func (*PartitionSyncResultElement) String

func (x *PartitionSyncResultElement) String() string

func (*PartitionSyncResultElement) UnmarshalVT added in v0.7.7

func (m *PartitionSyncResultElement) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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