Interface StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder (3.48.0)

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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
List<Double>

A list containing the values.