proto

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: BSD-3-Clause Imports: 9 Imported by: 2

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

labelops.proto

It has these top-level messages:

MergeOp
CleaveOp
MappingOp
MappingOps
SplitOp
SVSplit
SupervoxelSplitOp
OpCompleted
Affinity
Affinities
AffinityTable
SVCount
LabelIndex
LabelIndices

Index

Constants

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

Variables

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

Functions

This section is empty.

Types

type Affinities

type Affinities struct {
	Labels     []uint64  `protobuf:"varint,1,rep,packed,name=labels" json:"labels,omitempty"`
	Affinities []float32 `protobuf:"fixed32,2,rep,packed,name=affinities" json:"affinities,omitempty"`
}

func (*Affinities) Descriptor

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

func (*Affinities) Equal

func (this *Affinities) Equal(that interface{}) bool

func (*Affinities) GetAffinities

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

func (*Affinities) GetLabels

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

func (*Affinities) GoString

func (this *Affinities) GoString() string

func (*Affinities) Marshal

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

func (*Affinities) MarshalTo

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

func (*Affinities) ProtoMessage

func (*Affinities) ProtoMessage()

func (*Affinities) Reset

func (m *Affinities) Reset()

func (*Affinities) Size

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

func (*Affinities) String

func (this *Affinities) String() string

func (*Affinities) Unmarshal

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

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"`
}

func (*Affinity) Descriptor

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

func (*Affinity) Equal

func (this *Affinity) Equal(that interface{}) bool

func (*Affinity) GetLabel1

func (m *Affinity) GetLabel1() uint64

func (*Affinity) GetLabel2

func (m *Affinity) GetLabel2() uint64

func (*Affinity) GetValue

func (m *Affinity) GetValue() float32

func (*Affinity) GoString

func (this *Affinity) GoString() string

func (*Affinity) Marshal

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

func (*Affinity) MarshalTo

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

func (*Affinity) ProtoMessage

func (*Affinity) ProtoMessage()

func (*Affinity) Reset

func (m *Affinity) Reset()

func (*Affinity) Size

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

func (*Affinity) String

func (this *Affinity) String() string

func (*Affinity) Unmarshal

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

type AffinityTable

type AffinityTable struct {
	Table map[uint64]*Affinities `` /* 138-byte string literal not displayed */
}

func (*AffinityTable) Descriptor

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

func (*AffinityTable) Equal

func (this *AffinityTable) Equal(that interface{}) bool

func (*AffinityTable) GetTable

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

func (*AffinityTable) GoString

func (this *AffinityTable) GoString() string

func (*AffinityTable) Marshal

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

func (*AffinityTable) MarshalTo

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

func (*AffinityTable) ProtoMessage

func (*AffinityTable) ProtoMessage()

func (*AffinityTable) Reset

func (m *AffinityTable) Reset()

func (*AffinityTable) Size

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

func (*AffinityTable) String

func (this *AffinityTable) String() string

func (*AffinityTable) Unmarshal

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

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" json:"cleaved,omitempty"`
}

func (*CleaveOp) Descriptor

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

func (*CleaveOp) Equal

func (this *CleaveOp) Equal(that interface{}) bool

func (*CleaveOp) GetCleaved

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

func (*CleaveOp) GetCleavedlabel

func (m *CleaveOp) GetCleavedlabel() uint64

func (*CleaveOp) GetMutid

func (m *CleaveOp) GetMutid() uint64

func (*CleaveOp) GetTarget

func (m *CleaveOp) GetTarget() uint64

func (*CleaveOp) GoString

func (this *CleaveOp) GoString() string

func (*CleaveOp) Marshal

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

func (*CleaveOp) MarshalTo

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

func (*CleaveOp) ProtoMessage

func (*CleaveOp) ProtoMessage()

func (*CleaveOp) Reset

func (m *CleaveOp) Reset()

func (*CleaveOp) Size

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

func (*CleaveOp) String

func (this *CleaveOp) String() string

func (*CleaveOp) Unmarshal

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

type LabelIndex

type LabelIndex struct {
	Blocks      map[uint64]*SVCount `` /* 140-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"`
	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"`
}

func (*LabelIndex) Descriptor

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

func (*LabelIndex) Equal

func (this *LabelIndex) Equal(that interface{}) bool

func (*LabelIndex) GetBlocks

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

func (*LabelIndex) GetLabel

func (m *LabelIndex) GetLabel() uint64

func (*LabelIndex) GetLastModApp

func (m *LabelIndex) GetLastModApp() string

func (*LabelIndex) GetLastModTime

func (m *LabelIndex) GetLastModTime() string

func (*LabelIndex) GetLastModUser

func (m *LabelIndex) GetLastModUser() string

func (*LabelIndex) GetLastMutId

func (m *LabelIndex) GetLastMutId() uint64

func (*LabelIndex) GoString

func (this *LabelIndex) GoString() string

func (*LabelIndex) Marshal

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

func (*LabelIndex) MarshalTo

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

func (*LabelIndex) ProtoMessage

func (*LabelIndex) ProtoMessage()

func (*LabelIndex) Reset

func (m *LabelIndex) Reset()

func (*LabelIndex) Size

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

func (*LabelIndex) String

func (this *LabelIndex) String() string

func (*LabelIndex) Unmarshal

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

type LabelIndices

type LabelIndices struct {
	Indices []*LabelIndex `protobuf:"bytes,1,rep,name=indices" json:"indices,omitempty"`
}

func (*LabelIndices) Descriptor

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

func (*LabelIndices) Equal

func (this *LabelIndices) Equal(that interface{}) bool

func (*LabelIndices) GetIndices

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

func (*LabelIndices) GoString

func (this *LabelIndices) GoString() string

func (*LabelIndices) Marshal

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

func (*LabelIndices) MarshalTo

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

func (*LabelIndices) ProtoMessage

func (*LabelIndices) ProtoMessage()

func (*LabelIndices) Reset

func (m *LabelIndices) Reset()

func (*LabelIndices) Size

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

func (*LabelIndices) String

func (this *LabelIndices) String() string

func (*LabelIndices) Unmarshal

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

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" json:"original,omitempty"`
}

func (*MappingOp) Descriptor

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

func (*MappingOp) Equal

func (this *MappingOp) Equal(that interface{}) bool

func (*MappingOp) GetMapped

func (m *MappingOp) GetMapped() uint64

func (*MappingOp) GetMutid

func (m *MappingOp) GetMutid() uint64

func (*MappingOp) GetOriginal

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

func (*MappingOp) GoString

func (this *MappingOp) GoString() string

func (*MappingOp) Marshal

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

func (*MappingOp) MarshalTo

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

func (*MappingOp) ProtoMessage

func (*MappingOp) ProtoMessage()

func (*MappingOp) Reset

func (m *MappingOp) Reset()

func (*MappingOp) Size

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

func (*MappingOp) String

func (this *MappingOp) String() string

func (*MappingOp) Unmarshal

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

type MappingOps

type MappingOps struct {
	Mappings []*MappingOp `protobuf:"bytes,1,rep,name=mappings" json:"mappings,omitempty"`
}

func (*MappingOps) Descriptor

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

func (*MappingOps) Equal

func (this *MappingOps) Equal(that interface{}) bool

func (*MappingOps) GetMappings

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

func (*MappingOps) GoString

func (this *MappingOps) GoString() string

func (*MappingOps) Marshal

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

func (*MappingOps) MarshalTo

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

func (*MappingOps) ProtoMessage

func (*MappingOps) ProtoMessage()

func (*MappingOps) Reset

func (m *MappingOps) Reset()

func (*MappingOps) Size

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

func (*MappingOps) String

func (this *MappingOps) String() string

func (*MappingOps) Unmarshal

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

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" json:"merged,omitempty"`
}

func (*MergeOp) Descriptor

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

func (*MergeOp) Equal

func (this *MergeOp) Equal(that interface{}) bool

func (*MergeOp) GetMerged

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

func (*MergeOp) GetMutid

func (m *MergeOp) GetMutid() uint64

func (*MergeOp) GetTarget

func (m *MergeOp) GetTarget() uint64

func (*MergeOp) GoString

func (this *MergeOp) GoString() string

func (*MergeOp) Marshal

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

func (*MergeOp) MarshalTo

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

func (*MergeOp) ProtoMessage

func (*MergeOp) ProtoMessage()

func (*MergeOp) Reset

func (m *MergeOp) Reset()

func (*MergeOp) Size

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

func (*MergeOp) String

func (this *MergeOp) String() string

func (*MergeOp) Unmarshal

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

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"`
}

func (*OpCompleted) Descriptor

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

func (*OpCompleted) Equal

func (this *OpCompleted) Equal(that interface{}) bool

func (*OpCompleted) GetMutid

func (m *OpCompleted) GetMutid() uint64

func (*OpCompleted) GetStage

func (m *OpCompleted) GetStage() string

func (*OpCompleted) GoString

func (this *OpCompleted) GoString() string

func (*OpCompleted) Marshal

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

func (*OpCompleted) MarshalTo

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

func (*OpCompleted) ProtoMessage

func (*OpCompleted) ProtoMessage()

func (*OpCompleted) Reset

func (m *OpCompleted) Reset()

func (*OpCompleted) Size

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

func (*OpCompleted) String

func (this *OpCompleted) String() string

func (*OpCompleted) Unmarshal

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

type SVCount

type SVCount struct {
	Counts map[uint64]uint32 `` /* 148-byte string literal not displayed */
}

func (*SVCount) Descriptor

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

func (*SVCount) Equal

func (this *SVCount) Equal(that interface{}) bool

func (*SVCount) GetCounts

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

func (*SVCount) GoString

func (this *SVCount) GoString() string

func (*SVCount) Marshal

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

func (*SVCount) MarshalTo

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

func (*SVCount) ProtoMessage

func (*SVCount) ProtoMessage()

func (*SVCount) Reset

func (m *SVCount) Reset()

func (*SVCount) Size

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

func (*SVCount) String

func (this *SVCount) String() string

func (*SVCount) Unmarshal

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

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"`
}

func (*SVSplit) Descriptor

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

func (*SVSplit) Equal

func (this *SVSplit) Equal(that interface{}) bool

func (*SVSplit) GetRemainlabel

func (m *SVSplit) GetRemainlabel() uint64

func (*SVSplit) GetSplitlabel

func (m *SVSplit) GetSplitlabel() uint64

func (*SVSplit) GoString

func (this *SVSplit) GoString() string

func (*SVSplit) Marshal

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

func (*SVSplit) MarshalTo

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

func (*SVSplit) ProtoMessage

func (*SVSplit) ProtoMessage()

func (*SVSplit) Reset

func (m *SVSplit) Reset()

func (*SVSplit) Size

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

func (*SVSplit) String

func (this *SVSplit) String() string

func (*SVSplit) Unmarshal

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

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"`
	Rles     []byte              `protobuf:"bytes,5,opt,name=rles,proto3" json:"rles,omitempty"`
	Svsplits map[uint64]*SVSplit `` /* 144-byte string literal not displayed */
}

func (*SplitOp) Descriptor

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

func (*SplitOp) Equal

func (this *SplitOp) Equal(that interface{}) bool

func (*SplitOp) GetCoarse

func (m *SplitOp) GetCoarse() bool

func (*SplitOp) GetMutid

func (m *SplitOp) GetMutid() uint64

func (*SplitOp) GetNewlabel

func (m *SplitOp) GetNewlabel() uint64

func (*SplitOp) GetRles

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

func (*SplitOp) GetSvsplits

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

func (*SplitOp) GetTarget

func (m *SplitOp) GetTarget() uint64

func (*SplitOp) GoString

func (this *SplitOp) GoString() string

func (*SplitOp) Marshal

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

func (*SplitOp) MarshalTo

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

func (*SplitOp) ProtoMessage

func (*SplitOp) ProtoMessage()

func (*SplitOp) Reset

func (m *SplitOp) Reset()

func (*SplitOp) Size

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

func (*SplitOp) String

func (this *SplitOp) String() string

func (*SplitOp) Unmarshal

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

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"`
}

func (*SupervoxelSplitOp) Descriptor

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

func (*SupervoxelSplitOp) Equal

func (this *SupervoxelSplitOp) Equal(that interface{}) bool

func (*SupervoxelSplitOp) GetMutid

func (m *SupervoxelSplitOp) GetMutid() uint64

func (*SupervoxelSplitOp) GetRemainlabel

func (m *SupervoxelSplitOp) GetRemainlabel() uint64

func (*SupervoxelSplitOp) GetSplitlabel

func (m *SupervoxelSplitOp) GetSplitlabel() uint64

func (*SupervoxelSplitOp) GetSupervoxel

func (m *SupervoxelSplitOp) GetSupervoxel() uint64

func (*SupervoxelSplitOp) GoString

func (this *SupervoxelSplitOp) GoString() string

func (*SupervoxelSplitOp) Marshal

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

func (*SupervoxelSplitOp) MarshalTo

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

func (*SupervoxelSplitOp) ProtoMessage

func (*SupervoxelSplitOp) ProtoMessage()

func (*SupervoxelSplitOp) Reset

func (m *SupervoxelSplitOp) Reset()

func (*SupervoxelSplitOp) Size

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

func (*SupervoxelSplitOp) String

func (this *SupervoxelSplitOp) String() string

func (*SupervoxelSplitOp) Unmarshal

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

Jump to

Keyboard shortcuts

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