StudySpec_ParameterSpec_DiscreteValueSpec class final
Value specification for a parameter in DISCRETE type.
- Inheritance
-
- Object
- ProtoMessage
- StudySpec_ParameterSpec_DiscreteValueSpec
Constructors
-
StudySpec_ParameterSpec_DiscreteValueSpec({required List<
double> values, double? defaultValue}) -
StudySpec_ParameterSpec_DiscreteValueSpec.fromJson(Map<
String, dynamic> json) -
factory
Properties
- defaultValue → double?
-
A default value for a
DISCRETEparameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. It automatically rounds to the nearest feasible discrete point.final - hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ List<
double> -
Required. A list of possible values.
The list should be in increasing order and at least 1e-10 apart.
For instance, this parameter might have possible settings of 1.5, 2.5,
and 4.0. This list should not contain more than 1,000 values.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String