Documentation ¶
Index ¶
- func GetFloat32ByKey(features *Features, key string) float32
- func GetFloat32ListByKey(features *Features, key string) []float32
- func GetInt64ByKey(features *Features, key string) int64
- func GetInt64ListByKey(features *Features, key string) []int64
- func GetStringByKey(features *Features, key string) string
- func GetStringListByKey(features *Features, key string) []string
- type BytesList
- func (*BytesList) Descriptor() ([]byte, []int)
- func (m *BytesList) GetValue() [][]byte
- func (*BytesList) ProtoMessage()
- func (m *BytesList) Reset()
- func (m *BytesList) String() string
- func (m *BytesList) XXX_DiscardUnknown()
- func (m *BytesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BytesList) XXX_Merge(src proto.Message)
- func (m *BytesList) XXX_Size() int
- func (m *BytesList) XXX_Unmarshal(b []byte) error
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)
- func (m *Feature) GetBytesList() *BytesList
- func (m *Feature) GetFloatList() *FloatList
- func (m *Feature) GetInt64List() *Int64List
- func (m *Feature) GetKind() isFeature_Kind
- func (*Feature) ProtoMessage()
- func (m *Feature) Reset()
- func (m *Feature) String() string
- func (m *Feature) XXX_DiscardUnknown()
- func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Feature) XXX_Merge(src proto.Message)
- func (*Feature) XXX_OneofWrappers() []interface{}
- func (m *Feature) XXX_Size() int
- func (m *Feature) XXX_Unmarshal(b []byte) error
- type FeatureList
- func (*FeatureList) Descriptor() ([]byte, []int)
- func (m *FeatureList) GetFeature() []*Feature
- func (*FeatureList) ProtoMessage()
- func (m *FeatureList) Reset()
- func (m *FeatureList) String() string
- func (m *FeatureList) XXX_DiscardUnknown()
- func (m *FeatureList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeatureList) XXX_Merge(src proto.Message)
- func (m *FeatureList) XXX_Size() int
- func (m *FeatureList) XXX_Unmarshal(b []byte) error
- type FeatureLists
- func (*FeatureLists) Descriptor() ([]byte, []int)
- func (m *FeatureLists) GetFeatureList() map[string]*FeatureList
- func (*FeatureLists) ProtoMessage()
- func (m *FeatureLists) Reset()
- func (m *FeatureLists) String() string
- func (m *FeatureLists) XXX_DiscardUnknown()
- func (m *FeatureLists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeatureLists) XXX_Merge(src proto.Message)
- func (m *FeatureLists) XXX_Size() int
- func (m *FeatureLists) XXX_Unmarshal(b []byte) error
- type Feature_BytesList
- type Feature_FloatList
- type Feature_Int64List
- type Features
- func (*Features) Descriptor() ([]byte, []int)
- func (m *Features) GetFeature() map[string]*Feature
- func (*Features) ProtoMessage()
- func (m *Features) Reset()
- func (m *Features) String() string
- func (m *Features) XXX_DiscardUnknown()
- func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features) XXX_Merge(src proto.Message)
- func (m *Features) XXX_Size() int
- func (m *Features) XXX_Unmarshal(b []byte) error
- type FloatList
- func (*FloatList) Descriptor() ([]byte, []int)
- func (m *FloatList) GetValue() []float32
- func (*FloatList) ProtoMessage()
- func (m *FloatList) Reset()
- func (m *FloatList) String() string
- func (m *FloatList) XXX_DiscardUnknown()
- func (m *FloatList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FloatList) XXX_Merge(src proto.Message)
- func (m *FloatList) XXX_Size() int
- func (m *FloatList) XXX_Unmarshal(b []byte) error
- type Int64List
- func (*Int64List) Descriptor() ([]byte, []int)
- func (m *Int64List) GetValue() []int64
- func (*Int64List) ProtoMessage()
- func (m *Int64List) Reset()
- func (m *Int64List) String() string
- func (m *Int64List) XXX_DiscardUnknown()
- func (m *Int64List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int64List) XXX_Merge(src proto.Message)
- func (m *Int64List) XXX_Size() int
- func (m *Int64List) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloat32ByKey ¶ added in v0.0.4
func GetFloat32ListByKey ¶ added in v0.0.4
func GetInt64ByKey ¶ added in v0.0.4
func GetInt64ListByKey ¶ added in v0.0.4
func GetStringByKey ¶ added in v0.0.4
func GetStringListByKey ¶ added in v0.0.4
Types ¶
type BytesList ¶
type BytesList struct { Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Containers to hold repeated fundamental values.
func (*BytesList) Descriptor ¶
func (*BytesList) ProtoMessage ¶
func (*BytesList) ProtoMessage()
func (*BytesList) XXX_DiscardUnknown ¶
func (m *BytesList) XXX_DiscardUnknown()
func (*BytesList) XXX_Marshal ¶
func (*BytesList) XXX_Unmarshal ¶
type Feature ¶
type Feature struct { // Each feature can be exactly one kind. // // Types that are valid to be assigned to Kind: // *Feature_BytesList // *Feature_FloatList // *Feature_Int64List Kind isFeature_Kind `protobuf_oneof:"kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Containers for non-sequential data.
func (*Feature) Descriptor ¶
func (*Feature) GetBytesList ¶
func (*Feature) GetFloatList ¶
func (*Feature) GetInt64List ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) XXX_DiscardUnknown ¶
func (m *Feature) XXX_DiscardUnknown()
func (*Feature) XXX_Marshal ¶
func (*Feature) XXX_OneofWrappers ¶
func (*Feature) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Feature) XXX_Unmarshal ¶
type FeatureList ¶
type FeatureList struct { Feature []*Feature `protobuf:"bytes,1,rep,name=feature,proto3" json:"feature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Containers for sequential data.
A FeatureList contains lists of Features. These may hold zero or more Feature values.
FeatureLists are organized into categories by name. The FeatureLists message contains the mapping from name to FeatureList.
func (*FeatureList) Descriptor ¶
func (*FeatureList) Descriptor() ([]byte, []int)
func (*FeatureList) GetFeature ¶
func (m *FeatureList) GetFeature() []*Feature
func (*FeatureList) ProtoMessage ¶
func (*FeatureList) ProtoMessage()
func (*FeatureList) Reset ¶
func (m *FeatureList) Reset()
func (*FeatureList) String ¶
func (m *FeatureList) String() string
func (*FeatureList) XXX_DiscardUnknown ¶
func (m *FeatureList) XXX_DiscardUnknown()
func (*FeatureList) XXX_Marshal ¶
func (m *FeatureList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeatureList) XXX_Merge ¶
func (m *FeatureList) XXX_Merge(src proto.Message)
func (*FeatureList) XXX_Size ¶
func (m *FeatureList) XXX_Size() int
func (*FeatureList) XXX_Unmarshal ¶
func (m *FeatureList) XXX_Unmarshal(b []byte) error
type FeatureLists ¶
type FeatureLists struct { // Map from feature name to feature list. FeatureList map[string]*FeatureList `` /* 182-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FeatureLists) Descriptor ¶
func (*FeatureLists) Descriptor() ([]byte, []int)
func (*FeatureLists) GetFeatureList ¶
func (m *FeatureLists) GetFeatureList() map[string]*FeatureList
func (*FeatureLists) ProtoMessage ¶
func (*FeatureLists) ProtoMessage()
func (*FeatureLists) Reset ¶
func (m *FeatureLists) Reset()
func (*FeatureLists) String ¶
func (m *FeatureLists) String() string
func (*FeatureLists) XXX_DiscardUnknown ¶
func (m *FeatureLists) XXX_DiscardUnknown()
func (*FeatureLists) XXX_Marshal ¶
func (m *FeatureLists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeatureLists) XXX_Merge ¶
func (m *FeatureLists) XXX_Merge(src proto.Message)
func (*FeatureLists) XXX_Size ¶
func (m *FeatureLists) XXX_Size() int
func (*FeatureLists) XXX_Unmarshal ¶
func (m *FeatureLists) XXX_Unmarshal(b []byte) error
type Feature_BytesList ¶
type Feature_BytesList struct {
BytesList *BytesList `protobuf:"bytes,1,opt,name=bytes_list,json=bytesList,proto3,oneof"`
}
type Feature_FloatList ¶
type Feature_FloatList struct {
FloatList *FloatList `protobuf:"bytes,2,opt,name=float_list,json=floatList,proto3,oneof"`
}
type Feature_Int64List ¶
type Feature_Int64List struct {
Int64List *Int64List `protobuf:"bytes,3,opt,name=int64_list,json=int64List,proto3,oneof"`
}
type Features ¶
type Features struct { // Map from feature name to feature. Feature map[string]*Feature `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features) Descriptor ¶
func (*Features) GetFeature ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) XXX_DiscardUnknown ¶
func (m *Features) XXX_DiscardUnknown()
func (*Features) XXX_Marshal ¶
func (*Features) XXX_Unmarshal ¶
type FloatList ¶
type FloatList struct { Value []float32 `protobuf:"fixed32,1,rep,packed,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FloatList) Descriptor ¶
func (*FloatList) ProtoMessage ¶
func (*FloatList) ProtoMessage()
func (*FloatList) XXX_DiscardUnknown ¶
func (m *FloatList) XXX_DiscardUnknown()
func (*FloatList) XXX_Marshal ¶
func (*FloatList) XXX_Unmarshal ¶
type Int64List ¶
type Int64List struct { Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Int64List) Descriptor ¶
func (*Int64List) ProtoMessage ¶
func (*Int64List) ProtoMessage()
func (*Int64List) XXX_DiscardUnknown ¶
func (m *Int64List) XXX_DiscardUnknown()
func (*Int64List) XXX_Marshal ¶
func (*Int64List) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.