Enum Aggregation.Reducer
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Aggregation.Reducer>
- Enclosing class:
- Aggregation
public static enum Aggregation.Reducer
extends Enum<Aggregation.Reducer>
implements com.google.protobuf.ProtocolMessageEnum
A Reducer operation describes how to aggregate data points from multiple time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Protobuf enum
google.monitoring.dashboard.v1.Aggregation.Reducer-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReduce by computing the number of data points across time series for each alignment period.Reduce by computing the number of `False`-valued data points across time series for each alignment period.Reduce by computing the number of `True`-valued data points across time series for each alignment period.Reduce by computing the ratio of the number of `True`-valued data points to the total number of data points for each alignment period.Reduce by computing the maximum value across time series for each alignment period.Reduce by computing the mean value across time series for each alignment period.Reduce by computing the minimum value across time series for each alignment period.No cross-time series reduction.Reduce by computing the [5th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.Reduce by computing the [50th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.Reduce by computing the [95th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.Reduce by computing the [99th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.Reduce by computing the standard deviation across time series for each alignment period.Reduce by computing the sum across time series for each alignment period. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intReduce by computing the number of `False`-valued data points across time series for each alignment period.static final intReduce by computing the number of `True`-valued data points across time series for each alignment period.static final intReduce by computing the number of data points across time series for each alignment period.static final intReduce by computing the ratio of the number of `True`-valued data points to the total number of data points for each alignment period.static final intReduce by computing the maximum value across time series for each alignment period.static final intReduce by computing the mean value across time series for each alignment period.static final intReduce by computing the minimum value across time series for each alignment period.static final intNo cross-time series reduction.static final intReduce by computing the [5th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.static final intReduce by computing the [50th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.static final intReduce by computing the [95th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.static final intReduce by computing the [99th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period.static final intReduce by computing the standard deviation across time series for each alignment period.static final intReduce by computing the sum across time series for each alignment period. -
Method Summary
Modifier and TypeMethodDescriptionstatic Aggregation.ReducerforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Aggregation.Reducer>static Aggregation.ReducervalueOf(int value) Deprecated.static Aggregation.ReducervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Aggregation.ReducerReturns the enum constant of this type with the specified name.static Aggregation.Reducer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REDUCE_NONE
No cross-time series reduction. The output of the `Aligner` is returned.
REDUCE_NONE = 0; -
REDUCE_MEAN
Reduce by computing the mean value across time series for each alignment period. This reducer is valid for [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and [GAUGE][google.api.MetricDescriptor.MetricKind.GAUGE] metrics with numeric or distribution values. The `value_type` of the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_MEAN = 1; -
REDUCE_MIN
Reduce by computing the minimum value across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric values. The `value_type` of the output is the same as the `value_type` of the input.
REDUCE_MIN = 2; -
REDUCE_MAX
Reduce by computing the maximum value across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric values. The `value_type` of the output is the same as the `value_type` of the input.
REDUCE_MAX = 3; -
REDUCE_SUM
Reduce by computing the sum across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric and distribution values. The `value_type` of the output is the same as the `value_type` of the input.
REDUCE_SUM = 4; -
REDUCE_STDDEV
Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric or distribution values. The `value_type` of the output is `DOUBLE`.
REDUCE_STDDEV = 5; -
REDUCE_COUNT
Reduce by computing the number of data points across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of numeric, Boolean, distribution, and string `value_type`. The `value_type` of the output is `INT64`.
REDUCE_COUNT = 6; -
REDUCE_COUNT_TRUE
Reduce by computing the number of `True`-valued data points across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output is `INT64`.
REDUCE_COUNT_TRUE = 7; -
REDUCE_COUNT_FALSE
Reduce by computing the number of `False`-valued data points across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output is `INT64`.
REDUCE_COUNT_FALSE = 15; -
REDUCE_FRACTION_TRUE
Reduce by computing the ratio of the number of `True`-valued data points to the total number of data points for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`. The output value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`.
REDUCE_FRACTION_TRUE = 8; -
REDUCE_PERCENTILE_99
Reduce by computing the [99th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_99 = 9; -
REDUCE_PERCENTILE_95
Reduce by computing the [95th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_95 = 10; -
REDUCE_PERCENTILE_50
Reduce by computing the [50th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_50 = 11; -
REDUCE_PERCENTILE_05
Reduce by computing the [5th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_05 = 12; -
UNRECOGNIZED
-
-
Field Details
-
REDUCE_NONE_VALUE
public static final int REDUCE_NONE_VALUENo cross-time series reduction. The output of the `Aligner` is returned.
REDUCE_NONE = 0;- See Also:
-
REDUCE_MEAN_VALUE
public static final int REDUCE_MEAN_VALUEReduce by computing the mean value across time series for each alignment period. This reducer is valid for [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and [GAUGE][google.api.MetricDescriptor.MetricKind.GAUGE] metrics with numeric or distribution values. The `value_type` of the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_MEAN = 1;- See Also:
-
REDUCE_MIN_VALUE
public static final int REDUCE_MIN_VALUEReduce by computing the minimum value across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric values. The `value_type` of the output is the same as the `value_type` of the input.
REDUCE_MIN = 2;- See Also:
-
REDUCE_MAX_VALUE
public static final int REDUCE_MAX_VALUEReduce by computing the maximum value across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric values. The `value_type` of the output is the same as the `value_type` of the input.
REDUCE_MAX = 3;- See Also:
-
REDUCE_SUM_VALUE
public static final int REDUCE_SUM_VALUEReduce by computing the sum across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric and distribution values. The `value_type` of the output is the same as the `value_type` of the input.
REDUCE_SUM = 4;- See Also:
-
REDUCE_STDDEV_VALUE
public static final int REDUCE_STDDEV_VALUEReduce by computing the standard deviation across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics with numeric or distribution values. The `value_type` of the output is `DOUBLE`.
REDUCE_STDDEV = 5;- See Also:
-
REDUCE_COUNT_VALUE
public static final int REDUCE_COUNT_VALUEReduce by computing the number of data points across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of numeric, Boolean, distribution, and string `value_type`. The `value_type` of the output is `INT64`.
REDUCE_COUNT = 6;- See Also:
-
REDUCE_COUNT_TRUE_VALUE
public static final int REDUCE_COUNT_TRUE_VALUEReduce by computing the number of `True`-valued data points across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output is `INT64`.
REDUCE_COUNT_TRUE = 7;- See Also:
-
REDUCE_COUNT_FALSE_VALUE
public static final int REDUCE_COUNT_FALSE_VALUEReduce by computing the number of `False`-valued data points across time series for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output is `INT64`.
REDUCE_COUNT_FALSE = 15;- See Also:
-
REDUCE_FRACTION_TRUE_VALUE
public static final int REDUCE_FRACTION_TRUE_VALUEReduce by computing the ratio of the number of `True`-valued data points to the total number of data points for each alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`. The output value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`.
REDUCE_FRACTION_TRUE = 8;- See Also:
-
REDUCE_PERCENTILE_99_VALUE
public static final int REDUCE_PERCENTILE_99_VALUEReduce by computing the [99th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_99 = 9;- See Also:
-
REDUCE_PERCENTILE_95_VALUE
public static final int REDUCE_PERCENTILE_95_VALUEReduce by computing the [95th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_95 = 10;- See Also:
-
REDUCE_PERCENTILE_50_VALUE
public static final int REDUCE_PERCENTILE_50_VALUEReduce by computing the [50th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_50 = 11;- See Also:
-
REDUCE_PERCENTILE_05_VALUE
public static final int REDUCE_PERCENTILE_05_VALUEReduce by computing the [5th percentile](https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for `GAUGE` and `DELTA` metrics of numeric and distribution type. The value of the output is `DOUBLE`.
REDUCE_PERCENTILE_05 = 12;- 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
-
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
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
-