Interface StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition
,StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder
- Enclosing class:
- StudySpec.ParameterSpec.ConditionalParameterSpec
public static interface StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getValues(int index)
Required.int
getValuesCount()
Required.List<Double>
getValuesList()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getValuesList
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:
- A list containing the values.
-
getValuesCount
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:
- The count of values.
-
getValues
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];
- Parameters:
index
- The index of the element to return.- Returns:
- The values at the given index.
-
-