Documentation ¶
Index ¶
- Variables
- type BytesList
- func (*BytesList) Descriptor() ([]byte, []int)deprecated
- func (x *BytesList) GetValue() [][]byte
- func (*BytesList) ProtoMessage()
- func (x *BytesList) ProtoReflect() protoreflect.Message
- func (x *BytesList) Reset()
- func (x *BytesList) String() string
- func (m *BytesList) Validate() error
- func (m *BytesList) ValidateAll() error
- type BytesListMultiError
- type BytesListValidationError
- type DoubleList
- func (*DoubleList) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleList) GetValue() []float64
- func (*DoubleList) ProtoMessage()
- func (x *DoubleList) ProtoReflect() protoreflect.Message
- func (x *DoubleList) Reset()
- func (x *DoubleList) String() string
- func (m *DoubleList) Validate() error
- func (m *DoubleList) ValidateAll() error
- type DoubleListMultiError
- type DoubleListValidationError
- type DoubleMap
- func (*DoubleMap) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleMap) GetValue() map[string]float64
- func (*DoubleMap) ProtoMessage()
- func (x *DoubleMap) ProtoReflect() protoreflect.Message
- func (x *DoubleMap) Reset()
- func (x *DoubleMap) String() string
- func (m *DoubleMap) Validate() error
- func (m *DoubleMap) ValidateAll() error
- type DoubleMapMultiError
- type DoubleMapValidationError
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetBytesList() *BytesList
- func (x *Feature) GetDoubleList() *DoubleList
- func (x *Feature) GetDoubleMap() *DoubleMap
- func (x *Feature) GetInt64List() *Int64List
- func (m *Feature) GetKind() isFeature_Kind
- func (x *Feature) GetStringList() *StringList
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- func (m *Feature) Validate() error
- func (m *Feature) ValidateAll() error
- type FeatureMultiError
- type FeatureValidationError
- type Feature_BytesList
- type Feature_DoubleList
- type Feature_DoubleMap
- type Feature_Int64List
- type Feature_StringList
- type Int64List
- func (*Int64List) Descriptor() ([]byte, []int)deprecated
- func (x *Int64List) GetValue() []int64
- func (*Int64List) ProtoMessage()
- func (x *Int64List) ProtoReflect() protoreflect.Message
- func (x *Int64List) Reset()
- func (x *Int64List) String() string
- func (m *Int64List) Validate() error
- func (m *Int64List) ValidateAll() error
- type Int64ListMultiError
- type Int64ListValidationError
- type StringList
- func (*StringList) Descriptor() ([]byte, []int)deprecated
- func (x *StringList) GetValue() []string
- func (*StringList) ProtoMessage()
- func (x *StringList) ProtoReflect() protoreflect.Message
- func (x *StringList) Reset()
- func (x *StringList) String() string
- func (m *StringList) Validate() error
- func (m *StringList) ValidateAll() error
- type StringListMultiError
- type StringListValidationError
Constants ¶
This section is empty.
Variables ¶
var File_feature_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BytesList ¶
type BytesList struct { Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BytesList) Descriptor
deprecated
func (*BytesList) ProtoMessage ¶
func (*BytesList) ProtoMessage()
func (*BytesList) ProtoReflect ¶
func (x *BytesList) ProtoReflect() protoreflect.Message
func (*BytesList) Validate ¶
Validate checks the field values on BytesList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BytesList) ValidateAll ¶
ValidateAll checks the field values on BytesList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BytesListMultiError, or nil if none found.
type BytesListMultiError ¶
type BytesListMultiError []error
BytesListMultiError is an error wrapping multiple validation errors returned by BytesList.ValidateAll() if the designated constraints aren't met.
func (BytesListMultiError) AllErrors ¶
func (m BytesListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BytesListMultiError) Error ¶
func (m BytesListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BytesListValidationError ¶
type BytesListValidationError struct {
// contains filtered or unexported fields
}
BytesListValidationError is the validation error returned by BytesList.Validate if the designated constraints aren't met.
func (BytesListValidationError) Cause ¶
func (e BytesListValidationError) Cause() error
Cause function returns cause value.
func (BytesListValidationError) Error ¶
func (e BytesListValidationError) Error() string
Error satisfies the builtin error interface
func (BytesListValidationError) ErrorName ¶
func (e BytesListValidationError) ErrorName() string
ErrorName returns error name.
func (BytesListValidationError) Field ¶
func (e BytesListValidationError) Field() string
Field function returns field value.
func (BytesListValidationError) Key ¶
func (e BytesListValidationError) Key() bool
Key function returns key value.
func (BytesListValidationError) Reason ¶
func (e BytesListValidationError) Reason() string
Reason function returns reason value.
type DoubleList ¶
type DoubleList struct { Value []float64 `protobuf:"fixed64,1,rep,packed,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DoubleList) Descriptor
deprecated
func (*DoubleList) Descriptor() ([]byte, []int)
Deprecated: Use DoubleList.ProtoReflect.Descriptor instead.
func (*DoubleList) GetValue ¶
func (x *DoubleList) GetValue() []float64
func (*DoubleList) ProtoMessage ¶
func (*DoubleList) ProtoMessage()
func (*DoubleList) ProtoReflect ¶
func (x *DoubleList) ProtoReflect() protoreflect.Message
func (*DoubleList) Reset ¶
func (x *DoubleList) Reset()
func (*DoubleList) String ¶
func (x *DoubleList) String() string
func (*DoubleList) Validate ¶
func (m *DoubleList) Validate() error
Validate checks the field values on DoubleList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DoubleList) ValidateAll ¶
func (m *DoubleList) ValidateAll() error
ValidateAll checks the field values on DoubleList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DoubleListMultiError, or nil if none found.
type DoubleListMultiError ¶
type DoubleListMultiError []error
DoubleListMultiError is an error wrapping multiple validation errors returned by DoubleList.ValidateAll() if the designated constraints aren't met.
func (DoubleListMultiError) AllErrors ¶
func (m DoubleListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DoubleListMultiError) Error ¶
func (m DoubleListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DoubleListValidationError ¶
type DoubleListValidationError struct {
// contains filtered or unexported fields
}
DoubleListValidationError is the validation error returned by DoubleList.Validate if the designated constraints aren't met.
func (DoubleListValidationError) Cause ¶
func (e DoubleListValidationError) Cause() error
Cause function returns cause value.
func (DoubleListValidationError) Error ¶
func (e DoubleListValidationError) Error() string
Error satisfies the builtin error interface
func (DoubleListValidationError) ErrorName ¶
func (e DoubleListValidationError) ErrorName() string
ErrorName returns error name.
func (DoubleListValidationError) Field ¶
func (e DoubleListValidationError) Field() string
Field function returns field value.
func (DoubleListValidationError) Key ¶
func (e DoubleListValidationError) Key() bool
Key function returns key value.
func (DoubleListValidationError) Reason ¶
func (e DoubleListValidationError) Reason() string
Reason function returns reason value.
type DoubleMap ¶
type DoubleMap struct { Value map[string]float64 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DoubleMap) Descriptor
deprecated
func (*DoubleMap) ProtoMessage ¶
func (*DoubleMap) ProtoMessage()
func (*DoubleMap) ProtoReflect ¶
func (x *DoubleMap) ProtoReflect() protoreflect.Message
func (*DoubleMap) Validate ¶
Validate checks the field values on DoubleMap with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DoubleMap) ValidateAll ¶
ValidateAll checks the field values on DoubleMap with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DoubleMapMultiError, or nil if none found.
type DoubleMapMultiError ¶
type DoubleMapMultiError []error
DoubleMapMultiError is an error wrapping multiple validation errors returned by DoubleMap.ValidateAll() if the designated constraints aren't met.
func (DoubleMapMultiError) AllErrors ¶
func (m DoubleMapMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DoubleMapMultiError) Error ¶
func (m DoubleMapMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DoubleMapValidationError ¶
type DoubleMapValidationError struct {
// contains filtered or unexported fields
}
DoubleMapValidationError is the validation error returned by DoubleMap.Validate if the designated constraints aren't met.
func (DoubleMapValidationError) Cause ¶
func (e DoubleMapValidationError) Cause() error
Cause function returns cause value.
func (DoubleMapValidationError) Error ¶
func (e DoubleMapValidationError) Error() string
Error satisfies the builtin error interface
func (DoubleMapValidationError) ErrorName ¶
func (e DoubleMapValidationError) ErrorName() string
ErrorName returns error name.
func (DoubleMapValidationError) Field ¶
func (e DoubleMapValidationError) Field() string
Field function returns field value.
func (DoubleMapValidationError) Key ¶
func (e DoubleMapValidationError) Key() bool
Key function returns key value.
func (DoubleMapValidationError) Reason ¶
func (e DoubleMapValidationError) Reason() string
Reason function returns reason value.
type Feature ¶
type Feature struct { // Types that are assignable to Kind: // *Feature_BytesList // *Feature_DoubleList // *Feature_Int64List // *Feature_StringList // *Feature_DoubleMap Kind isFeature_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*Feature) Descriptor
deprecated
func (*Feature) GetBytesList ¶
func (*Feature) GetDoubleList ¶
func (x *Feature) GetDoubleList() *DoubleList
func (*Feature) GetDoubleMap ¶
func (*Feature) GetInt64List ¶
func (*Feature) GetStringList ¶
func (x *Feature) GetStringList() *StringList
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
func (*Feature) Validate ¶
Validate checks the field values on Feature with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Feature) ValidateAll ¶
ValidateAll checks the field values on Feature with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FeatureMultiError, or nil if none found.
type FeatureMultiError ¶
type FeatureMultiError []error
FeatureMultiError is an error wrapping multiple validation errors returned by Feature.ValidateAll() if the designated constraints aren't met.
func (FeatureMultiError) AllErrors ¶
func (m FeatureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeatureMultiError) Error ¶
func (m FeatureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeatureValidationError ¶
type FeatureValidationError struct {
// contains filtered or unexported fields
}
FeatureValidationError is the validation error returned by Feature.Validate if the designated constraints aren't met.
func (FeatureValidationError) Cause ¶
func (e FeatureValidationError) Cause() error
Cause function returns cause value.
func (FeatureValidationError) Error ¶
func (e FeatureValidationError) Error() string
Error satisfies the builtin error interface
func (FeatureValidationError) ErrorName ¶
func (e FeatureValidationError) ErrorName() string
ErrorName returns error name.
func (FeatureValidationError) Field ¶
func (e FeatureValidationError) Field() string
Field function returns field value.
func (FeatureValidationError) Key ¶
func (e FeatureValidationError) Key() bool
Key function returns key value.
func (FeatureValidationError) Reason ¶
func (e FeatureValidationError) Reason() string
Reason function returns reason value.
type Feature_BytesList ¶
type Feature_BytesList struct {
BytesList *BytesList `protobuf:"bytes,1,opt,name=bytes_list,json=bytesList,proto3,oneof"`
}
type Feature_DoubleList ¶
type Feature_DoubleList struct {
DoubleList *DoubleList `protobuf:"bytes,2,opt,name=double_list,json=doubleList,proto3,oneof"`
}
type Feature_DoubleMap ¶
type Feature_DoubleMap struct {
DoubleMap *DoubleMap `protobuf:"bytes,5,opt,name=double_map,json=doubleMap,proto3,oneof"`
}
type Feature_Int64List ¶
type Feature_Int64List struct {
Int64List *Int64List `protobuf:"bytes,3,opt,name=int64_list,json=int64List,proto3,oneof"`
}
type Feature_StringList ¶
type Feature_StringList struct {
StringList *StringList `protobuf:"bytes,4,opt,name=string_list,json=stringList,proto3,oneof"`
}
type Int64List ¶
type Int64List struct { Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Int64List) Descriptor
deprecated
func (*Int64List) ProtoMessage ¶
func (*Int64List) ProtoMessage()
func (*Int64List) ProtoReflect ¶
func (x *Int64List) ProtoReflect() protoreflect.Message
func (*Int64List) Validate ¶
Validate checks the field values on Int64List with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Int64List) ValidateAll ¶
ValidateAll checks the field values on Int64List with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Int64ListMultiError, or nil if none found.
type Int64ListMultiError ¶
type Int64ListMultiError []error
Int64ListMultiError is an error wrapping multiple validation errors returned by Int64List.ValidateAll() if the designated constraints aren't met.
func (Int64ListMultiError) AllErrors ¶
func (m Int64ListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Int64ListMultiError) Error ¶
func (m Int64ListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Int64ListValidationError ¶
type Int64ListValidationError struct {
// contains filtered or unexported fields
}
Int64ListValidationError is the validation error returned by Int64List.Validate if the designated constraints aren't met.
func (Int64ListValidationError) Cause ¶
func (e Int64ListValidationError) Cause() error
Cause function returns cause value.
func (Int64ListValidationError) Error ¶
func (e Int64ListValidationError) Error() string
Error satisfies the builtin error interface
func (Int64ListValidationError) ErrorName ¶
func (e Int64ListValidationError) ErrorName() string
ErrorName returns error name.
func (Int64ListValidationError) Field ¶
func (e Int64ListValidationError) Field() string
Field function returns field value.
func (Int64ListValidationError) Key ¶
func (e Int64ListValidationError) Key() bool
Key function returns key value.
func (Int64ListValidationError) Reason ¶
func (e Int64ListValidationError) Reason() string
Reason function returns reason value.
type StringList ¶
type StringList struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*StringList) Descriptor
deprecated
func (*StringList) Descriptor() ([]byte, []int)
Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetValue ¶
func (x *StringList) GetValue() []string
func (*StringList) ProtoMessage ¶
func (*StringList) ProtoMessage()
func (*StringList) ProtoReflect ¶
func (x *StringList) ProtoReflect() protoreflect.Message
func (*StringList) Reset ¶
func (x *StringList) Reset()
func (*StringList) String ¶
func (x *StringList) String() string
func (*StringList) Validate ¶
func (m *StringList) Validate() error
Validate checks the field values on StringList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StringList) ValidateAll ¶
func (m *StringList) ValidateAll() error
ValidateAll checks the field values on StringList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StringListMultiError, or nil if none found.
type StringListMultiError ¶
type StringListMultiError []error
StringListMultiError is an error wrapping multiple validation errors returned by StringList.ValidateAll() if the designated constraints aren't met.
func (StringListMultiError) AllErrors ¶
func (m StringListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StringListMultiError) Error ¶
func (m StringListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StringListValidationError ¶
type StringListValidationError struct {
// contains filtered or unexported fields
}
StringListValidationError is the validation error returned by StringList.Validate if the designated constraints aren't met.
func (StringListValidationError) Cause ¶
func (e StringListValidationError) Cause() error
Cause function returns cause value.
func (StringListValidationError) Error ¶
func (e StringListValidationError) Error() string
Error satisfies the builtin error interface
func (StringListValidationError) ErrorName ¶
func (e StringListValidationError) ErrorName() string
ErrorName returns error name.
func (StringListValidationError) Field ¶
func (e StringListValidationError) Field() string
Field function returns field value.
func (StringListValidationError) Key ¶
func (e StringListValidationError) Key() bool
Key function returns key value.
func (StringListValidationError) Reason ¶
func (e StringListValidationError) Reason() string
Reason function returns reason value.