Interface StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder (3.4.1)

public static interface StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getValues(int index)

public abstract double getValues(int index)

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
double

The values at the given index.

getValuesCount()

public abstract int getValuesCount()

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of values.

getValuesList()

public abstract List<Double> getValuesList()

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Double>

A list containing the values.