proto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const (
	UnknownType = iota
	SplitOpType
	MergeOpType
	MutationCompleteType
	AffinityType
	MappingOpType
	SupervoxelSplitType
	CleaveOpType
	RenumberOpType
)

Variables

View Source
var File_keyvalue_proto protoreflect.FileDescriptor
View Source
var File_labelops_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Affinities

type Affinities struct {
	Labels     []uint64  `protobuf:"varint,1,rep,packed,name=labels,proto3" json:"labels,omitempty"`
	Affinities []float32 `protobuf:"fixed32,2,rep,packed,name=affinities,proto3" json:"affinities,omitempty"`
	// contains filtered or unexported fields
}

func (*Affinities) Descriptor deprecated

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

Deprecated: Use Affinities.ProtoReflect.Descriptor instead.

func (*Affinities) GetAffinities

func (x *Affinities) GetAffinities() []float32

func (*Affinities) GetLabels

func (x *Affinities) GetLabels() []uint64

func (*Affinities) ProtoMessage

func (*Affinities) ProtoMessage()

func (*Affinities) ProtoReflect added in v0.9.17

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

func (*Affinities) Reset

func (x *Affinities) Reset()

func (*Affinities) String

func (x *Affinities) String() string

type Affinity

type Affinity struct {
	Label1 uint64  `protobuf:"varint,1,opt,name=label1,proto3" json:"label1,omitempty"`
	Label2 uint64  `protobuf:"varint,2,opt,name=label2,proto3" json:"label2,omitempty"`
	Value  float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Affinity) Descriptor deprecated

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

Deprecated: Use Affinity.ProtoReflect.Descriptor instead.

func (*Affinity) GetLabel1

func (x *Affinity) GetLabel1() uint64

func (*Affinity) GetLabel2

func (x *Affinity) GetLabel2() uint64

func (*Affinity) GetValue

func (x *Affinity) GetValue() float32

func (*Affinity) ProtoMessage

func (*Affinity) ProtoMessage()

func (*Affinity) ProtoReflect added in v0.9.17

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

func (*Affinity) Reset

func (x *Affinity) Reset()

func (*Affinity) String

func (x *Affinity) String() string

type AffinityTable

type AffinityTable struct {
	Table map[uint64]*Affinities `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AffinityTable) Descriptor deprecated

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

Deprecated: Use AffinityTable.ProtoReflect.Descriptor instead.

func (*AffinityTable) GetTable

func (x *AffinityTable) GetTable() map[uint64]*Affinities

func (*AffinityTable) ProtoMessage

func (*AffinityTable) ProtoMessage()

func (*AffinityTable) ProtoReflect added in v0.9.17

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

func (*AffinityTable) Reset

func (x *AffinityTable) Reset()

func (*AffinityTable) String

func (x *AffinityTable) String() string

type CleaveOp

type CleaveOp struct {
	Mutid        uint64   `protobuf:"varint,1,opt,name=mutid,proto3" json:"mutid,omitempty"`
	Target       uint64   `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	Cleavedlabel uint64   `protobuf:"varint,3,opt,name=cleavedlabel,proto3" json:"cleavedlabel,omitempty"`
	Cleaved      []uint64 `protobuf:"varint,4,rep,packed,name=cleaved,proto3" json:"cleaved,omitempty"`
	// contains filtered or unexported fields
}

func (*CleaveOp) Descriptor deprecated

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

Deprecated: Use CleaveOp.ProtoReflect.Descriptor instead.

func (*CleaveOp) GetCleaved

func (x *CleaveOp) GetCleaved() []uint64

func (*CleaveOp) GetCleavedlabel

func (x *CleaveOp) GetCleavedlabel() uint64

func (*CleaveOp) GetMutid

func (x *CleaveOp) GetMutid() uint64

func (*CleaveOp) GetTarget

func (x *CleaveOp) GetTarget() uint64

func (*CleaveOp) ProtoMessage

func (*CleaveOp) ProtoMessage()

func (*CleaveOp) ProtoReflect added in v0.9.17

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

func (*CleaveOp) Reset

func (x *CleaveOp) Reset()

func (*CleaveOp) String

func (x *CleaveOp) String() string

type KeyValue added in v0.9.17

type KeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValue) Descriptor deprecated added in v0.9.17

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey added in v0.9.17

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue added in v0.9.17

func (x *KeyValue) GetValue() []byte

func (*KeyValue) ProtoMessage added in v0.9.17

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect added in v0.9.17

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

func (*KeyValue) Reset added in v0.9.17

func (x *KeyValue) Reset()

func (*KeyValue) String added in v0.9.17

func (x *KeyValue) String() string

type KeyValues added in v0.9.17

type KeyValues struct {
	Kvs []*KeyValue `protobuf:"bytes,1,rep,name=kvs,proto3" json:"kvs,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValues) Descriptor deprecated added in v0.9.17

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

Deprecated: Use KeyValues.ProtoReflect.Descriptor instead.

func (*KeyValues) GetKvs added in v0.9.17

func (x *KeyValues) GetKvs() []*KeyValue

func (*KeyValues) ProtoMessage added in v0.9.17

func (*KeyValues) ProtoMessage()

func (*KeyValues) ProtoReflect added in v0.9.17

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

func (*KeyValues) Reset added in v0.9.17

func (x *KeyValues) Reset()

func (*KeyValues) String added in v0.9.17

func (x *KeyValues) String() string

type Keys added in v0.9.17

type Keys struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*Keys) Descriptor deprecated added in v0.9.17

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

Deprecated: Use Keys.ProtoReflect.Descriptor instead.

func (*Keys) GetKeys added in v0.9.17

func (x *Keys) GetKeys() []string

func (*Keys) ProtoMessage added in v0.9.17

func (*Keys) ProtoMessage()

func (*Keys) ProtoReflect added in v0.9.17

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

func (*Keys) Reset added in v0.9.17

func (x *Keys) Reset()

func (*Keys) String added in v0.9.17

func (x *Keys) String() string

type LabelIndex

type LabelIndex struct {
	Blocks map[uint64]*SVCount `` // key is encoded block coord ZYX (packed little-endian 21-bit numbers where MSB is sign flag)
	/* 154-byte string literal not displayed */
	Label       uint64 `protobuf:"varint,2,opt,name=label,proto3" json:"label,omitempty"`
	LastMutId   uint64 `protobuf:"varint,3,opt,name=last_mut_id,json=lastMutId,proto3" json:"last_mut_id,omitempty"`
	LastModTime string `protobuf:"bytes,4,opt,name=last_mod_time,json=lastModTime,proto3" json:"last_mod_time,omitempty"` // string is time in RFC 3339 format
	LastModUser string `protobuf:"bytes,5,opt,name=last_mod_user,json=lastModUser,proto3" json:"last_mod_user,omitempty"`
	LastModApp  string `protobuf:"bytes,6,opt,name=last_mod_app,json=lastModApp,proto3" json:"last_mod_app,omitempty"`
	// contains filtered or unexported fields
}

func (*LabelIndex) Descriptor deprecated

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

Deprecated: Use LabelIndex.ProtoReflect.Descriptor instead.

func (*LabelIndex) GetBlocks

func (x *LabelIndex) GetBlocks() map[uint64]*SVCount

func (*LabelIndex) GetLabel

func (x *LabelIndex) GetLabel() uint64

func (*LabelIndex) GetLastModApp

func (x *LabelIndex) GetLastModApp() string

func (*LabelIndex) GetLastModTime

func (x *LabelIndex) GetLastModTime() string

func (*LabelIndex) GetLastModUser

func (x *LabelIndex) GetLastModUser() string

func (*LabelIndex) GetLastMutId

func (x *LabelIndex) GetLastMutId() uint64

func (*LabelIndex) ProtoMessage

func (*LabelIndex) ProtoMessage()

func (*LabelIndex) ProtoReflect added in v0.9.17

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

func (*LabelIndex) Reset

func (x *LabelIndex) Reset()

func (*LabelIndex) String

func (x *LabelIndex) String() string

type LabelIndices

type LabelIndices struct {
	Indices []*LabelIndex `protobuf:"bytes,1,rep,name=indices,proto3" json:"indices,omitempty"`
	// contains filtered or unexported fields
}

func (*LabelIndices) Descriptor deprecated

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

Deprecated: Use LabelIndices.ProtoReflect.Descriptor instead.

func (*LabelIndices) GetIndices

func (x *LabelIndices) GetIndices() []*LabelIndex

func (*LabelIndices) ProtoMessage

func (*LabelIndices) ProtoMessage()

func (*LabelIndices) ProtoReflect added in v0.9.17

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

func (*LabelIndices) Reset

func (x *LabelIndices) Reset()

func (*LabelIndices) String

func (x *LabelIndices) String() string

type MappingOp

type MappingOp struct {
	Mutid    uint64   `protobuf:"varint,1,opt,name=mutid,proto3" json:"mutid,omitempty"`
	Mapped   uint64   `protobuf:"varint,2,opt,name=mapped,proto3" json:"mapped,omitempty"`
	Original []uint64 `protobuf:"varint,3,rep,packed,name=original,proto3" json:"original,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingOp) Descriptor deprecated

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

Deprecated: Use MappingOp.ProtoReflect.Descriptor instead.

func (*MappingOp) GetMapped

func (x *MappingOp) GetMapped() uint64

func (*MappingOp) GetMutid

func (x *MappingOp) GetMutid() uint64

func (*MappingOp) GetOriginal

func (x *MappingOp) GetOriginal() []uint64

func (*MappingOp) ProtoMessage

func (*MappingOp) ProtoMessage()

func (*MappingOp) ProtoReflect added in v0.9.17

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

func (*MappingOp) Reset

func (x *MappingOp) Reset()

func (*MappingOp) String

func (x *MappingOp) String() string

type MappingOps

type MappingOps struct {
	Mappings []*MappingOp `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingOps) Descriptor deprecated

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

Deprecated: Use MappingOps.ProtoReflect.Descriptor instead.

func (*MappingOps) GetMappings

func (x *MappingOps) GetMappings() []*MappingOp

func (*MappingOps) ProtoMessage

func (*MappingOps) ProtoMessage()

func (*MappingOps) ProtoReflect added in v0.9.17

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

func (*MappingOps) Reset

func (x *MappingOps) Reset()

func (*MappingOps) String

func (x *MappingOps) String() string

type MergeOp

type MergeOp struct {
	Mutid  uint64   `protobuf:"varint,1,opt,name=mutid,proto3" json:"mutid,omitempty"`
	Target uint64   `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	Merged []uint64 `protobuf:"varint,3,rep,packed,name=merged,proto3" json:"merged,omitempty"`
	// contains filtered or unexported fields
}

func (*MergeOp) Descriptor deprecated

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

Deprecated: Use MergeOp.ProtoReflect.Descriptor instead.

func (*MergeOp) GetMerged

func (x *MergeOp) GetMerged() []uint64

func (*MergeOp) GetMutid

func (x *MergeOp) GetMutid() uint64

func (*MergeOp) GetTarget

func (x *MergeOp) GetTarget() uint64

func (*MergeOp) ProtoMessage

func (*MergeOp) ProtoMessage()

func (*MergeOp) ProtoReflect added in v0.9.17

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

func (*MergeOp) Reset

func (x *MergeOp) Reset()

func (*MergeOp) String

func (x *MergeOp) String() string

type OpCompleted

type OpCompleted struct {
	Mutid uint64 `protobuf:"varint,1,opt,name=mutid,proto3" json:"mutid,omitempty"`
	Stage string `protobuf:"bytes,2,opt,name=stage,proto3" json:"stage,omitempty"`
	// contains filtered or unexported fields
}

func (*OpCompleted) Descriptor deprecated

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

Deprecated: Use OpCompleted.ProtoReflect.Descriptor instead.

func (*OpCompleted) GetMutid

func (x *OpCompleted) GetMutid() uint64

func (*OpCompleted) GetStage

func (x *OpCompleted) GetStage() string

func (*OpCompleted) ProtoMessage

func (*OpCompleted) ProtoMessage()

func (*OpCompleted) ProtoReflect added in v0.9.17

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

func (*OpCompleted) Reset

func (x *OpCompleted) Reset()

func (*OpCompleted) String

func (x *OpCompleted) String() string

type RenumberOp added in v0.9.17

type RenumberOp struct {
	Mutid    uint64 `protobuf:"varint,1,opt,name=mutid,proto3" json:"mutid,omitempty"`
	Target   uint64 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	Newlabel uint64 `protobuf:"varint,3,opt,name=newlabel,proto3" json:"newlabel,omitempty"`
	// contains filtered or unexported fields
}

func (*RenumberOp) Descriptor deprecated added in v0.9.17

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

Deprecated: Use RenumberOp.ProtoReflect.Descriptor instead.

func (*RenumberOp) GetMutid added in v0.9.17

func (x *RenumberOp) GetMutid() uint64

func (*RenumberOp) GetNewlabel added in v0.9.17

func (x *RenumberOp) GetNewlabel() uint64

func (*RenumberOp) GetTarget added in v0.9.17

func (x *RenumberOp) GetTarget() uint64

func (*RenumberOp) ProtoMessage added in v0.9.17

func (*RenumberOp) ProtoMessage()

func (*RenumberOp) ProtoReflect added in v0.9.17

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

func (*RenumberOp) Reset added in v0.9.17

func (x *RenumberOp) Reset()

func (*RenumberOp) String added in v0.9.17

func (x *RenumberOp) String() string

type SVCount

type SVCount struct {
	Counts map[uint64]uint32 `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SVCount) Descriptor deprecated

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

Deprecated: Use SVCount.ProtoReflect.Descriptor instead.

func (*SVCount) GetCounts

func (x *SVCount) GetCounts() map[uint64]uint32

func (*SVCount) ProtoMessage

func (*SVCount) ProtoMessage()

func (*SVCount) ProtoReflect added in v0.9.17

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

func (*SVCount) Reset

func (x *SVCount) Reset()

func (*SVCount) String

func (x *SVCount) String() string

type SVSplit

type SVSplit struct {
	Splitlabel  uint64 `protobuf:"varint,1,opt,name=splitlabel,proto3" json:"splitlabel,omitempty"`
	Remainlabel uint64 `protobuf:"varint,2,opt,name=remainlabel,proto3" json:"remainlabel,omitempty"`
	// contains filtered or unexported fields
}

func (*SVSplit) Descriptor deprecated

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

Deprecated: Use SVSplit.ProtoReflect.Descriptor instead.

func (*SVSplit) GetRemainlabel

func (x *SVSplit) GetRemainlabel() uint64

func (*SVSplit) GetSplitlabel

func (x *SVSplit) GetSplitlabel() uint64

func (*SVSplit) ProtoMessage

func (*SVSplit) ProtoMessage()

func (*SVSplit) ProtoReflect added in v0.9.17

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

func (*SVSplit) Reset

func (x *SVSplit) Reset()

func (*SVSplit) String

func (x *SVSplit) String() string

type SplitOp

type SplitOp struct {
	Mutid    uint64              `protobuf:"varint,1,opt,name=mutid,proto3" json:"mutid,omitempty"`
	Target   uint64              `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	Newlabel uint64              `protobuf:"varint,3,opt,name=newlabel,proto3" json:"newlabel,omitempty"`
	Coarse   bool                `protobuf:"varint,4,opt,name=coarse,proto3" json:"coarse,omitempty"` // true if rles are block coords (coarse split), not voxels
	Rles     []byte              `protobuf:"bytes,5,opt,name=rles,proto3" json:"rles,omitempty"`
	Svsplits map[uint64]*SVSplit `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SplitOp) Descriptor deprecated

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

Deprecated: Use SplitOp.ProtoReflect.Descriptor instead.

func (*SplitOp) GetCoarse

func (x *SplitOp) GetCoarse() bool

func (*SplitOp) GetMutid

func (x *SplitOp) GetMutid() uint64

func (*SplitOp) GetNewlabel

func (x *SplitOp) GetNewlabel() uint64

func (*SplitOp) GetRles

func (x *SplitOp) GetRles() []byte

func (*SplitOp) GetSvsplits

func (x *SplitOp) GetSvsplits() map[uint64]*SVSplit

func (*SplitOp) GetTarget

func (x *SplitOp) GetTarget() uint64

func (*SplitOp) ProtoMessage

func (*SplitOp) ProtoMessage()

func (*SplitOp) ProtoReflect added in v0.9.17

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

func (*SplitOp) Reset

func (x *SplitOp) Reset()

func (*SplitOp) String

func (x *SplitOp) String() string

type SupervoxelSplitOp

type SupervoxelSplitOp struct {
	Mutid       uint64 `protobuf:"varint,1,opt,name=mutid,proto3" json:"mutid,omitempty"`
	Supervoxel  uint64 `protobuf:"varint,2,opt,name=supervoxel,proto3" json:"supervoxel,omitempty"`
	Splitlabel  uint64 `protobuf:"varint,3,opt,name=splitlabel,proto3" json:"splitlabel,omitempty"`
	Remainlabel uint64 `protobuf:"varint,4,opt,name=remainlabel,proto3" json:"remainlabel,omitempty"`
	// contains filtered or unexported fields
}

func (*SupervoxelSplitOp) Descriptor deprecated

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

Deprecated: Use SupervoxelSplitOp.ProtoReflect.Descriptor instead.

func (*SupervoxelSplitOp) GetMutid

func (x *SupervoxelSplitOp) GetMutid() uint64

func (*SupervoxelSplitOp) GetRemainlabel

func (x *SupervoxelSplitOp) GetRemainlabel() uint64

func (*SupervoxelSplitOp) GetSplitlabel

func (x *SupervoxelSplitOp) GetSplitlabel() uint64

func (*SupervoxelSplitOp) GetSupervoxel

func (x *SupervoxelSplitOp) GetSupervoxel() uint64

func (*SupervoxelSplitOp) ProtoMessage

func (*SupervoxelSplitOp) ProtoMessage()

func (*SupervoxelSplitOp) ProtoReflect added in v0.9.17

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

func (*SupervoxelSplitOp) Reset

func (x *SupervoxelSplitOp) Reset()

func (*SupervoxelSplitOp) String

func (x *SupervoxelSplitOp) String() string

Jump to

Keyboard shortcuts

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