Documentation ¶
Index ¶
- type StringIntLabelMap
- func (*StringIntLabelMap) Descriptor() ([]byte, []int)
- func (m *StringIntLabelMap) GetItem() []*StringIntLabelMapItem
- func (*StringIntLabelMap) ProtoMessage()
- func (m *StringIntLabelMap) Reset()
- func (m *StringIntLabelMap) String() string
- func (m *StringIntLabelMap) XXX_DiscardUnknown()
- func (m *StringIntLabelMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringIntLabelMap) XXX_Merge(src proto.Message)
- func (m *StringIntLabelMap) XXX_Size() int
- func (m *StringIntLabelMap) XXX_Unmarshal(b []byte) error
- type StringIntLabelMapItem
- func (*StringIntLabelMapItem) Descriptor() ([]byte, []int)
- func (m *StringIntLabelMapItem) GetDisplayName() string
- func (m *StringIntLabelMapItem) GetId() int32
- func (m *StringIntLabelMapItem) GetName() string
- func (*StringIntLabelMapItem) ProtoMessage()
- func (m *StringIntLabelMapItem) Reset()
- func (m *StringIntLabelMapItem) String() string
- func (m *StringIntLabelMapItem) XXX_DiscardUnknown()
- func (m *StringIntLabelMapItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringIntLabelMapItem) XXX_Merge(src proto.Message)
- func (m *StringIntLabelMapItem) XXX_Size() int
- func (m *StringIntLabelMapItem) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringIntLabelMap ¶
type StringIntLabelMap struct { Item []*StringIntLabelMapItem `protobuf:"bytes,1,rep,name=item" json:"item,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringIntLabelMap) Descriptor ¶
func (*StringIntLabelMap) Descriptor() ([]byte, []int)
func (*StringIntLabelMap) GetItem ¶
func (m *StringIntLabelMap) GetItem() []*StringIntLabelMapItem
func (*StringIntLabelMap) ProtoMessage ¶
func (*StringIntLabelMap) ProtoMessage()
func (*StringIntLabelMap) Reset ¶
func (m *StringIntLabelMap) Reset()
func (*StringIntLabelMap) String ¶
func (m *StringIntLabelMap) String() string
func (*StringIntLabelMap) XXX_DiscardUnknown ¶
func (m *StringIntLabelMap) XXX_DiscardUnknown()
func (*StringIntLabelMap) XXX_Marshal ¶
func (m *StringIntLabelMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringIntLabelMap) XXX_Merge ¶
func (m *StringIntLabelMap) XXX_Merge(src proto.Message)
func (*StringIntLabelMap) XXX_Size ¶
func (m *StringIntLabelMap) XXX_Size() int
func (*StringIntLabelMap) XXX_Unmarshal ¶
func (m *StringIntLabelMap) XXX_Unmarshal(b []byte) error
type StringIntLabelMapItem ¶
type StringIntLabelMapItem struct { // String name. The most common practice is to set this to a MID or synsets // id. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Integer id that maps to the string name above. Label ids should start from // 1. Id *int32 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"` // Human readable string label. DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringIntLabelMapItem) Descriptor ¶
func (*StringIntLabelMapItem) Descriptor() ([]byte, []int)
func (*StringIntLabelMapItem) GetDisplayName ¶
func (m *StringIntLabelMapItem) GetDisplayName() string
func (*StringIntLabelMapItem) GetId ¶
func (m *StringIntLabelMapItem) GetId() int32
func (*StringIntLabelMapItem) GetName ¶
func (m *StringIntLabelMapItem) GetName() string
func (*StringIntLabelMapItem) ProtoMessage ¶
func (*StringIntLabelMapItem) ProtoMessage()
func (*StringIntLabelMapItem) Reset ¶
func (m *StringIntLabelMapItem) Reset()
func (*StringIntLabelMapItem) String ¶
func (m *StringIntLabelMapItem) String() string
func (*StringIntLabelMapItem) XXX_DiscardUnknown ¶
func (m *StringIntLabelMapItem) XXX_DiscardUnknown()
func (*StringIntLabelMapItem) XXX_Marshal ¶
func (m *StringIntLabelMapItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringIntLabelMapItem) XXX_Merge ¶
func (m *StringIntLabelMapItem) XXX_Merge(src proto.Message)
func (*StringIntLabelMapItem) XXX_Size ¶
func (m *StringIntLabelMapItem) XXX_Size() int
func (*StringIntLabelMapItem) XXX_Unmarshal ¶
func (m *StringIntLabelMapItem) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.