Package com.google.cloud.aiplatform.v1
Enum Metric.AggregationMetric
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Metric.AggregationMetric>
- Enclosing class:
- Metric
public static enum Metric.AggregationMetric
extends Enum<Metric.AggregationMetric>
implements com.google.protobuf.ProtocolMessageEnum
The per-metric statistics on evaluation results supported by `EvaluationService.EvaluateDataset`.Protobuf enum
google.cloud.aiplatform.v1.Metric.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. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnspecified aggregation metric.static final intAverage aggregation metric.static final intMaximum aggregation metric.static final intMedian aggregation metric.static final intMinimum aggregation metric.static final intMode aggregation metric.static final int90th percentile aggregation metric.static final int95th percentile aggregation metric.static final int99th percentile aggregation metric.static final intStandard deviation aggregation metric.static final intVariance aggregation metric. -
Method Summary
Modifier and TypeMethodDescriptionstatic Metric.AggregationMetricforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Metric.AggregationMetric>static Metric.AggregationMetricvalueOf(int value) Deprecated.static Metric.AggregationMetricvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Metric.AggregationMetricReturns the enum constant of this type with the specified name.static Metric.AggregationMetric[]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.
AGGREGATION_METRIC_UNSPECIFIED = 0; -
AVERAGE
Average aggregation metric. Not supported for Pairwise metric.
AVERAGE = 1; -
MODE
Mode aggregation metric.
MODE = 2; -
STANDARD_DEVIATION
Standard deviation aggregation metric. Not supported for pairwise metric.
STANDARD_DEVIATION = 3; -
VARIANCE
Variance aggregation metric. Not supported for pairwise metric.
VARIANCE = 4; -
MINIMUM
Minimum aggregation metric. Not supported for pairwise metric.
MINIMUM = 5; -
MAXIMUM
Maximum aggregation metric. Not supported for pairwise metric.
MAXIMUM = 6; -
MEDIAN
Median aggregation metric. Not supported for pairwise metric.
MEDIAN = 7; -
PERCENTILE_P90
90th percentile aggregation metric. Not supported for pairwise metric.
PERCENTILE_P90 = 8; -
PERCENTILE_P95
95th percentile aggregation metric. Not supported for pairwise metric.
PERCENTILE_P95 = 9; -
PERCENTILE_P99
99th percentile aggregation metric. Not supported for pairwise metric.
PERCENTILE_P99 = 10; -
UNRECOGNIZED
-
-
Field Details
-
AGGREGATION_METRIC_UNSPECIFIED_VALUE
public static final int AGGREGATION_METRIC_UNSPECIFIED_VALUEUnspecified aggregation metric.
AGGREGATION_METRIC_UNSPECIFIED = 0;- See Also:
-
AVERAGE_VALUE
public static final int AVERAGE_VALUEAverage aggregation metric. Not supported for Pairwise metric.
AVERAGE = 1;- See Also:
-
MODE_VALUE
public static final int MODE_VALUEMode aggregation metric.
MODE = 2;- See Also:
-
STANDARD_DEVIATION_VALUE
public static final int STANDARD_DEVIATION_VALUEStandard deviation aggregation metric. Not supported for pairwise metric.
STANDARD_DEVIATION = 3;- See Also:
-
VARIANCE_VALUE
public static final int VARIANCE_VALUEVariance aggregation metric. Not supported for pairwise metric.
VARIANCE = 4;- See Also:
-
MINIMUM_VALUE
public static final int MINIMUM_VALUEMinimum aggregation metric. Not supported for pairwise metric.
MINIMUM = 5;- See Also:
-
MAXIMUM_VALUE
public static final int MAXIMUM_VALUEMaximum aggregation metric. Not supported for pairwise metric.
MAXIMUM = 6;- See Also:
-
MEDIAN_VALUE
public static final int MEDIAN_VALUEMedian aggregation metric. Not supported for pairwise metric.
MEDIAN = 7;- See Also:
-
PERCENTILE_P90_VALUE
public static final int PERCENTILE_P90_VALUE90th percentile aggregation metric. Not supported for pairwise metric.
PERCENTILE_P90 = 8;- See Also:
-
PERCENTILE_P95_VALUE
public static final int PERCENTILE_P95_VALUE95th percentile aggregation metric. Not supported for pairwise metric.
PERCENTILE_P95 = 9;- See Also:
-
PERCENTILE_P99_VALUE
public static final int PERCENTILE_P99_VALUE99th percentile aggregation metric. Not supported for pairwise metric.
PERCENTILE_P99 = 10;- See Also:
-
-
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value- 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
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Metric.AggregationMetric> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Metric.AggregationMetric valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
desc- 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
-