StudySpec_ParameterSpec class final

Represents a single parameter to optimize.

Inheritance
  • Object
  • ProtoMessage
  • StudySpec_ParameterSpec

Constructors

StudySpec_ParameterSpec({StudySpec_ParameterSpec_DoubleValueSpec? doubleValueSpec, StudySpec_ParameterSpec_IntegerValueSpec? integerValueSpec, StudySpec_ParameterSpec_CategoricalValueSpec? categoricalValueSpec, StudySpec_ParameterSpec_DiscreteValueSpec? discreteValueSpec, required String parameterId, StudySpec_ParameterSpec_ScaleType scaleType = StudySpec_ParameterSpec_ScaleType.$default, List<StudySpec_ParameterSpec_ConditionalParameterSpec> conditionalParameterSpecs = const []})
StudySpec_ParameterSpec.fromJson(Object? j)
factory

Properties

categoricalValueSpec StudySpec_ParameterSpec_CategoricalValueSpec?
The value spec for a 'CATEGORICAL' parameter.
final
conditionalParameterSpecs List<StudySpec_ParameterSpec_ConditionalParameterSpec>
A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.
final
discreteValueSpec StudySpec_ParameterSpec_DiscreteValueSpec?
The value spec for a 'DISCRETE' parameter.
final
doubleValueSpec StudySpec_ParameterSpec_DoubleValueSpec?
The value spec for a 'DOUBLE' parameter.
final
hashCode int
The hash code for this object.
no setterinherited
integerValueSpec StudySpec_ParameterSpec_IntegerValueSpec?
The value spec for an 'INTEGER' parameter.
final
parameterId String
Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleType StudySpec_ParameterSpec_ScaleType
How the parameter should be scaled. Leave unset for CATEGORICAL parameters.
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