Package com.google.genai.types
Enum AggregationMetric.Known
- All Implemented Interfaces:
Serializable,Comparable<AggregationMetric.Known>
- Enclosing class:
- AggregationMetric
Enum representing the known values for AggregationMetric.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnspecified aggregation metric.Average aggregation metric.Maximum aggregation metric.Median aggregation metric.Minimum aggregation metric.Mode aggregation metric.90th percentile aggregation metric.95th percentile aggregation metric.99th percentile aggregation metric.Standard deviation aggregation metric.Variance aggregation metric. -
Method Summary
Modifier and TypeMethodDescriptionstatic AggregationMetric.KnownReturns the enum constant of this type with the specified name.static AggregationMetric.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AGGREGATION_METRIC_UNSPECIFIED
Unspecified aggregation metric. -
AVERAGE
Average aggregation metric. Not supported for Pairwise metric. -
MODE
Mode aggregation metric. -
STANDARD_DEVIATION
Standard deviation aggregation metric. Not supported for pairwise metric. -
VARIANCE
Variance aggregation metric. Not supported for pairwise metric. -
MINIMUM
Minimum aggregation metric. Not supported for pairwise metric. -
MAXIMUM
Maximum aggregation metric. Not supported for pairwise metric. -
MEDIAN
Median aggregation metric. Not supported for pairwise metric. -
PERCENTILE_P90
90th percentile aggregation metric. Not supported for pairwise metric. -
PERCENTILE_P95
95th percentile aggregation metric. Not supported for pairwise metric. -
PERCENTILE_P99
99th percentile aggregation metric. Not supported for pairwise metric.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-