Enum AggregationMetric.Known

java.lang.Object
java.lang.Enum<AggregationMetric.Known>
com.google.genai.types.AggregationMetric.Known
All Implemented Interfaces:
Serializable, Comparable<AggregationMetric.Known>
Enclosing class:
AggregationMetric

public static enum AggregationMetric.Known extends Enum<AggregationMetric.Known>
Enum representing the known values for AggregationMetric.
  • Enum Constant Details

    • AGGREGATION_METRIC_UNSPECIFIED

      public static final AggregationMetric.Known AGGREGATION_METRIC_UNSPECIFIED
      Unspecified aggregation metric.
    • AVERAGE

      public static final AggregationMetric.Known AVERAGE
      Average aggregation metric. Not supported for Pairwise metric.
    • MODE

      public static final AggregationMetric.Known MODE
      Mode aggregation metric.
    • STANDARD_DEVIATION

      public static final AggregationMetric.Known STANDARD_DEVIATION
      Standard deviation aggregation metric. Not supported for pairwise metric.
    • VARIANCE

      public static final AggregationMetric.Known VARIANCE
      Variance aggregation metric. Not supported for pairwise metric.
    • MINIMUM

      public static final AggregationMetric.Known MINIMUM
      Minimum aggregation metric. Not supported for pairwise metric.
    • MAXIMUM

      public static final AggregationMetric.Known MAXIMUM
      Maximum aggregation metric. Not supported for pairwise metric.
    • MEDIAN

      public static final AggregationMetric.Known MEDIAN
      Median aggregation metric. Not supported for pairwise metric.
    • PERCENTILE_P90

      public static final AggregationMetric.Known PERCENTILE_P90
      90th percentile aggregation metric. Not supported for pairwise metric.
    • PERCENTILE_P95

      public static final AggregationMetric.Known PERCENTILE_P95
      95th percentile aggregation metric. Not supported for pairwise metric.
    • PERCENTILE_P99

      public static final AggregationMetric.Known PERCENTILE_P99
      99th percentile aggregation metric. Not supported for pairwise metric.
  • Method Details

    • values

      public static AggregationMetric.Known[] 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

      public static AggregationMetric.Known valueOf(String name)
      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 name
      NullPointerException - if the argument is null