task

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package task is a generated protocol buffer package.

It is generated from these files:

task/task.proto

It has these top-level messages:

Block
List
Value
Query
Result
Sort
SortResult
Num
RaftContext
Membership
MembershipUpdate
DirectedEdge
Mutations
RebuildIndex
Proposal
KV
KC
GroupKeys

Index

Constants

This section is empty.

Variables

View Source
var (
	TrueVal  = FromBool(true)
	FalseVal = FromBool(false)
)
View Source
var (
	ErrInvalidLengthTask = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTask   = fmt.Errorf("proto: integer overflow")
)
View Source
var DirectedEdge_Op_name = map[int32]string{
	0: "SET",
	1: "DEL",
}
View Source
var DirectedEdge_Op_value = map[string]int32{
	"SET": 0,
	"DEL": 1,
}

Functions

func ToBool

func ToBool(val *Value) bool

func ToInt

func ToInt(val *Value) int32

Types

type Block

type Block struct {
	MaxInt uint64   `protobuf:"fixed64,2,opt,name=max_int,json=maxInt,proto3" json:"max_int,omitempty"`
	List   []uint64 `protobuf:"fixed64,1,rep,packed,name=list" json:"list,omitempty"`
}

func (*Block) Descriptor

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

func (*Block) GetList

func (m *Block) GetList() []uint64

func (*Block) GetMaxInt

func (m *Block) GetMaxInt() uint64

func (*Block) Marshal

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

func (*Block) MarshalTo

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

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) Size

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

func (*Block) String

func (m *Block) String() string

func (*Block) Unmarshal

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

type DirectedEdge

type DirectedEdge struct {
	Entity    uint64          `protobuf:"fixed64,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Attr      string          `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"`
	Value     []byte          `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	ValueType uint32          `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
	ValueId   uint64          `protobuf:"fixed64,5,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"`
	Label     string          `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
	Lang      string          `protobuf:"bytes,7,opt,name=lang,proto3" json:"lang,omitempty"`
	Op        DirectedEdge_Op `protobuf:"varint,8,opt,name=op,proto3,enum=task.DirectedEdge_Op" json:"op,omitempty"`
	Facets    []*facets.Facet `protobuf:"bytes,9,rep,name=facets" json:"facets,omitempty"`
}

func (*DirectedEdge) Descriptor

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

func (*DirectedEdge) GetAttr

func (m *DirectedEdge) GetAttr() string

func (*DirectedEdge) GetEntity

func (m *DirectedEdge) GetEntity() uint64

func (*DirectedEdge) GetFacets

func (m *DirectedEdge) GetFacets() []*facets.Facet

func (*DirectedEdge) GetLabel

func (m *DirectedEdge) GetLabel() string

func (*DirectedEdge) GetLang

func (m *DirectedEdge) GetLang() string

func (*DirectedEdge) GetOp

func (m *DirectedEdge) GetOp() DirectedEdge_Op

func (*DirectedEdge) GetValue

func (m *DirectedEdge) GetValue() []byte

func (*DirectedEdge) GetValueId

func (m *DirectedEdge) GetValueId() uint64

func (*DirectedEdge) GetValueType

func (m *DirectedEdge) GetValueType() uint32

func (*DirectedEdge) Marshal

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

func (*DirectedEdge) MarshalTo

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

func (*DirectedEdge) ProtoMessage

func (*DirectedEdge) ProtoMessage()

func (*DirectedEdge) Reset

func (m *DirectedEdge) Reset()

func (*DirectedEdge) Size

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

func (*DirectedEdge) String

func (m *DirectedEdge) String() string

func (*DirectedEdge) Unmarshal

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

type DirectedEdge_Op

type DirectedEdge_Op int32
const (
	DirectedEdge_SET DirectedEdge_Op = 0
	DirectedEdge_DEL DirectedEdge_Op = 1
)

func (DirectedEdge_Op) EnumDescriptor

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

func (DirectedEdge_Op) String

func (x DirectedEdge_Op) String() string

type GroupKeys

type GroupKeys struct {
	GroupId uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Keys    []*KC  `protobuf:"bytes,2,rep,name=keys" json:"keys,omitempty"`
}

func (*GroupKeys) Descriptor

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

func (*GroupKeys) GetGroupId

func (m *GroupKeys) GetGroupId() uint32

func (*GroupKeys) GetKeys

func (m *GroupKeys) GetKeys() []*KC

func (*GroupKeys) Marshal

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

func (*GroupKeys) MarshalTo

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

func (*GroupKeys) ProtoMessage

func (*GroupKeys) ProtoMessage()

func (*GroupKeys) Reset

func (m *GroupKeys) Reset()

func (*GroupKeys) Size

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

func (*GroupKeys) String

func (m *GroupKeys) String() string

func (*GroupKeys) Unmarshal

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

type KC

type KC struct {
	Key      []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Checksum []byte `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
}

func (*KC) Descriptor

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

func (*KC) GetChecksum

func (m *KC) GetChecksum() []byte

func (*KC) GetKey

func (m *KC) GetKey() []byte

func (*KC) Marshal

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

func (*KC) MarshalTo

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

func (*KC) ProtoMessage

func (*KC) ProtoMessage()

func (*KC) Reset

func (m *KC) Reset()

func (*KC) Size

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

func (*KC) String

func (m *KC) String() string

func (*KC) Unmarshal

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

type KV

type KV struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Val []byte `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
}

func (*KV) Descriptor

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

func (*KV) GetKey

func (m *KV) GetKey() []byte

func (*KV) GetVal

func (m *KV) GetVal() []byte

func (*KV) Marshal

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

func (*KV) MarshalTo

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

func (*KV) ProtoMessage

func (*KV) ProtoMessage()

func (*KV) Reset

func (m *KV) Reset()

func (*KV) Size

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

func (*KV) String

func (m *KV) String() string

func (*KV) Unmarshal

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

type List

type List struct {
	Blocks []*Block `protobuf:"bytes,1,rep,name=blocks" json:"blocks,omitempty"`
}

func (*List) Descriptor

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

func (*List) GetBlocks

func (m *List) GetBlocks() []*Block

func (*List) Marshal

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

func (*List) MarshalTo

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

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) Reset

func (m *List) Reset()

func (*List) Size

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

func (*List) String

func (m *List) String() string

func (*List) Unmarshal

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

type Membership

type Membership struct {
	Id         uint64 `protobuf:"fixed64,1,opt,name=id,proto3" json:"id,omitempty"`
	GroupId    uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Addr       string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
	Leader     bool   `protobuf:"varint,4,opt,name=leader,proto3" json:"leader,omitempty"`
	AmDead     bool   `protobuf:"varint,5,opt,name=am_dead,json=amDead,proto3" json:"am_dead,omitempty"`
	LastUpdate uint64 `protobuf:"varint,6,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
}

Membership stores information about RAFT group membership for a single RAFT node. Note that each server can be serving multiple RAFT groups. Each group would have one RAFT node per server serving that group.

func (*Membership) Descriptor

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

func (*Membership) GetAddr

func (m *Membership) GetAddr() string

func (*Membership) GetAmDead

func (m *Membership) GetAmDead() bool

func (*Membership) GetGroupId

func (m *Membership) GetGroupId() uint32

func (*Membership) GetId

func (m *Membership) GetId() uint64

func (*Membership) GetLastUpdate

func (m *Membership) GetLastUpdate() uint64

func (*Membership) GetLeader

func (m *Membership) GetLeader() bool

func (*Membership) Marshal

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

func (*Membership) MarshalTo

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

func (*Membership) ProtoMessage

func (*Membership) ProtoMessage()

func (*Membership) Reset

func (m *Membership) Reset()

func (*Membership) Size

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

func (*Membership) String

func (m *Membership) String() string

func (*Membership) Unmarshal

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

type MembershipUpdate

type MembershipUpdate struct {
	Members      []*Membership `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"`
	LastUpdate   uint64        `protobuf:"varint,2,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	Redirect     bool          `protobuf:"varint,3,opt,name=redirect,proto3" json:"redirect,omitempty"`
	RedirectAddr string        `protobuf:"bytes,4,opt,name=redirect_addr,json=redirectAddr,proto3" json:"redirect_addr,omitempty"`
}

MembershipUpdate is used to pack together the current membership state of all the nodes in the caller server; and the membership updates recorded by the callee server since the provided lastUpdate.

func (*MembershipUpdate) Descriptor

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

func (*MembershipUpdate) GetLastUpdate

func (m *MembershipUpdate) GetLastUpdate() uint64

func (*MembershipUpdate) GetMembers

func (m *MembershipUpdate) GetMembers() []*Membership

func (*MembershipUpdate) GetRedirect

func (m *MembershipUpdate) GetRedirect() bool

func (*MembershipUpdate) GetRedirectAddr

func (m *MembershipUpdate) GetRedirectAddr() string

func (*MembershipUpdate) Marshal

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

func (*MembershipUpdate) MarshalTo

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

func (*MembershipUpdate) ProtoMessage

func (*MembershipUpdate) ProtoMessage()

func (*MembershipUpdate) Reset

func (m *MembershipUpdate) Reset()

func (*MembershipUpdate) Size

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

func (*MembershipUpdate) String

func (m *MembershipUpdate) String() string

func (*MembershipUpdate) Unmarshal

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

type Mutations

type Mutations struct {
	GroupId uint32          `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Edges   []*DirectedEdge `protobuf:"bytes,2,rep,name=edges" json:"edges,omitempty"`
}

func (*Mutations) Descriptor

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

func (*Mutations) GetEdges

func (m *Mutations) GetEdges() []*DirectedEdge

func (*Mutations) GetGroupId

func (m *Mutations) GetGroupId() uint32

func (*Mutations) Marshal

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

func (*Mutations) MarshalTo

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

func (*Mutations) ProtoMessage

func (*Mutations) ProtoMessage()

func (*Mutations) Reset

func (m *Mutations) Reset()

func (*Mutations) Size

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

func (*Mutations) String

func (m *Mutations) String() string

func (*Mutations) Unmarshal

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

type Num

type Num struct {
	Group uint32   `protobuf:"varint,1,opt,name=group,proto3" json:"group,omitempty"`
	Val   int64    `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"`
	Uids  []uint64 `protobuf:"varint,3,rep,packed,name=uids" json:"uids,omitempty"`
}

func (*Num) Descriptor

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

func (*Num) GetGroup

func (m *Num) GetGroup() uint32

func (*Num) GetUids

func (m *Num) GetUids() []uint64

func (*Num) GetVal

func (m *Num) GetVal() int64

func (*Num) Marshal

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

func (*Num) MarshalTo

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

func (*Num) ProtoMessage

func (*Num) ProtoMessage()

func (*Num) Reset

func (m *Num) Reset()

func (*Num) Size

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

func (*Num) String

func (m *Num) String() string

func (*Num) Unmarshal

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

type Proposal

type Proposal struct {
	Id           uint32        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Mutations    *Mutations    `protobuf:"bytes,2,opt,name=mutations" json:"mutations,omitempty"`
	Membership   *Membership   `protobuf:"bytes,3,opt,name=membership" json:"membership,omitempty"`
	RebuildIndex *RebuildIndex `protobuf:"bytes,4,opt,name=rebuild_index,json=rebuildIndex" json:"rebuild_index,omitempty"`
}

func (*Proposal) Descriptor

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

func (*Proposal) GetId

func (m *Proposal) GetId() uint32

func (*Proposal) GetMembership

func (m *Proposal) GetMembership() *Membership

func (*Proposal) GetMutations

func (m *Proposal) GetMutations() *Mutations

func (*Proposal) GetRebuildIndex

func (m *Proposal) GetRebuildIndex() *RebuildIndex

func (*Proposal) Marshal

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

func (*Proposal) MarshalTo

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

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) Reset

func (m *Proposal) Reset()

func (*Proposal) Size

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

func (*Proposal) String

func (m *Proposal) String() string

func (*Proposal) Unmarshal

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

type Query

type Query struct {
	Attr     string `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"`
	Count    int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Offset   int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	AfterUid uint64 `protobuf:"fixed64,4,opt,name=after_uid,json=afterUid,proto3" json:"after_uid,omitempty"`
	DoCount  bool   `protobuf:"varint,5,opt,name=do_count,json=doCount,proto3" json:"do_count,omitempty"`
	// Exactly one of uids and terms is populated.
	Uids *List `protobuf:"bytes,6,opt,name=uids" json:"uids,omitempty"`
	// Function to generate or filter UIDs.
	SrcFunc    []string      `protobuf:"bytes,7,rep,name=src_func,json=srcFunc" json:"src_func,omitempty"`
	Reverse    bool          `protobuf:"varint,8,opt,name=reverse,proto3" json:"reverse,omitempty"`
	FacetParam *facets.Param `protobuf:"bytes,9,opt,name=facet_param,json=facetParam" json:"facet_param,omitempty"`
}

func (*Query) Descriptor

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

func (*Query) GetAfterUid

func (m *Query) GetAfterUid() uint64

func (*Query) GetAttr

func (m *Query) GetAttr() string

func (*Query) GetCount

func (m *Query) GetCount() int32

func (*Query) GetDoCount

func (m *Query) GetDoCount() bool

func (*Query) GetFacetParam

func (m *Query) GetFacetParam() *facets.Param

func (*Query) GetOffset

func (m *Query) GetOffset() int32

func (*Query) GetReverse

func (m *Query) GetReverse() bool

func (*Query) GetSrcFunc

func (m *Query) GetSrcFunc() []string

func (*Query) GetUids

func (m *Query) GetUids() *List

func (*Query) Marshal

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

func (*Query) MarshalTo

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

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) Reset

func (m *Query) Reset()

func (*Query) Size

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

func (*Query) String

func (m *Query) String() string

func (*Query) Unmarshal

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

type RaftContext

type RaftContext struct {
	Id    uint64 `protobuf:"fixed64,1,opt,name=id,proto3" json:"id,omitempty"`
	Group uint32 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`
	Addr  string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
}

func (*RaftContext) Descriptor

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

func (*RaftContext) GetAddr

func (m *RaftContext) GetAddr() string

func (*RaftContext) GetGroup

func (m *RaftContext) GetGroup() uint32

func (*RaftContext) GetId

func (m *RaftContext) GetId() uint64

func (*RaftContext) Marshal

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

func (*RaftContext) MarshalTo

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

func (*RaftContext) ProtoMessage

func (*RaftContext) ProtoMessage()

func (*RaftContext) Reset

func (m *RaftContext) Reset()

func (*RaftContext) Size

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

func (*RaftContext) String

func (m *RaftContext) String() string

func (*RaftContext) Unmarshal

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

type RebuildIndex

type RebuildIndex struct {
	GroupId uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Attr    string `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"`
}

func (*RebuildIndex) Descriptor

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

func (*RebuildIndex) GetAttr

func (m *RebuildIndex) GetAttr() string

func (*RebuildIndex) GetGroupId

func (m *RebuildIndex) GetGroupId() uint32

func (*RebuildIndex) Marshal

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

func (*RebuildIndex) MarshalTo

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

func (*RebuildIndex) ProtoMessage

func (*RebuildIndex) ProtoMessage()

func (*RebuildIndex) Reset

func (m *RebuildIndex) Reset()

func (*RebuildIndex) Size

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

func (*RebuildIndex) String

func (m *RebuildIndex) String() string

func (*RebuildIndex) Unmarshal

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

type Result

type Result struct {
	UidMatrix     []*List        `protobuf:"bytes,1,rep,name=uid_matrix,json=uidMatrix" json:"uid_matrix,omitempty"`
	Values        []*Value       `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"`
	Counts        []uint32       `protobuf:"varint,3,rep,packed,name=counts" json:"counts,omitempty"`
	IntersectDest bool           `protobuf:"varint,4,opt,name=intersect_dest,json=intersectDest,proto3" json:"intersect_dest,omitempty"`
	FacetMatrix   []*facets.List `protobuf:"bytes,5,rep,name=facet_matrix,json=facetMatrix" json:"facet_matrix,omitempty"`
}

func (*Result) Descriptor

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

func (*Result) GetCounts

func (m *Result) GetCounts() []uint32

func (*Result) GetFacetMatrix

func (m *Result) GetFacetMatrix() []*facets.List

func (*Result) GetIntersectDest

func (m *Result) GetIntersectDest() bool

func (*Result) GetUidMatrix

func (m *Result) GetUidMatrix() []*List

func (*Result) GetValues

func (m *Result) GetValues() []*Value

func (*Result) Marshal

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

func (*Result) MarshalTo

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

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) Size

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

func (*Result) String

func (m *Result) String() string

func (*Result) Unmarshal

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

type Sort

type Sort struct {
	Attr      string  `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"`
	UidMatrix []*List `protobuf:"bytes,2,rep,name=uid_matrix,json=uidMatrix" json:"uid_matrix,omitempty"`
	Count     int32   `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Offset    int32   `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	Desc      bool    `protobuf:"varint,5,opt,name=desc,proto3" json:"desc,omitempty"`
}

func (*Sort) Descriptor

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

func (*Sort) GetAttr

func (m *Sort) GetAttr() string

func (*Sort) GetCount

func (m *Sort) GetCount() int32

func (*Sort) GetDesc

func (m *Sort) GetDesc() bool

func (*Sort) GetOffset

func (m *Sort) GetOffset() int32

func (*Sort) GetUidMatrix

func (m *Sort) GetUidMatrix() []*List

func (*Sort) Marshal

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

func (*Sort) MarshalTo

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

func (*Sort) ProtoMessage

func (*Sort) ProtoMessage()

func (*Sort) Reset

func (m *Sort) Reset()

func (*Sort) Size

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

func (*Sort) String

func (m *Sort) String() string

func (*Sort) Unmarshal

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

type SortResult

type SortResult struct {
	UidMatrix []*List `protobuf:"bytes,1,rep,name=uid_matrix,json=uidMatrix" json:"uid_matrix,omitempty"`
}

func (*SortResult) Descriptor

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

func (*SortResult) GetUidMatrix

func (m *SortResult) GetUidMatrix() []*List

func (*SortResult) Marshal

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

func (*SortResult) MarshalTo

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

func (*SortResult) ProtoMessage

func (*SortResult) ProtoMessage()

func (*SortResult) Reset

func (m *SortResult) Reset()

func (*SortResult) Size

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

func (*SortResult) String

func (m *SortResult) String() string

func (*SortResult) Unmarshal

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

type Value

type Value struct {
	Val     []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"`
	ValType int32  `protobuf:"varint,2,opt,name=val_type,json=valType,proto3" json:"val_type,omitempty"`
}

func FromBool

func FromBool(val bool) *Value

func FromInt

func FromInt(val int) *Value

func (*Value) Descriptor

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

func (*Value) GetVal

func (m *Value) GetVal() []byte

func (*Value) GetValType

func (m *Value) GetValType() int32

func (*Value) Marshal

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

func (*Value) MarshalTo

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

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) Size

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

func (*Value) String

func (m *Value) String() string

func (*Value) Unmarshal

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

Jump to

Keyboard shortcuts

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