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.v3.Aggregation.Reducer| Enum Constant and Description |
|---|
REDUCE_COUNT
Reduce by computing the number of data points across time series
for each alignment period.
|
REDUCE_COUNT_FALSE
Reduce by computing the number of `False`-valued data points across time
series for each alignment period.
|
REDUCE_COUNT_TRUE
Reduce by computing the number of `True`-valued data points across time
series for each alignment period.
|
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.
|
REDUCE_MAX
Reduce by computing the maximum value across time series for each
alignment period.
|
REDUCE_MEAN
Reduce by computing the mean value across time series for each
alignment period.
|
REDUCE_MIN
Reduce by computing the minimum value across time series for each
alignment period.
|
REDUCE_NONE
No cross-time series reduction.
|
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.
|
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.
|
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.
|
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.
|
REDUCE_STDDEV
Reduce by computing the standard deviation across time series
for each alignment period.
|
REDUCE_SUM
Reduce by computing the sum across time series for each
alignment period.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
REDUCE_COUNT_FALSE_VALUE
Reduce by computing the number of `False`-valued data points across time
series for each alignment period.
|
static int |
REDUCE_COUNT_TRUE_VALUE
Reduce by computing the number of `True`-valued data points across time
series for each alignment period.
|
static int |
REDUCE_COUNT_VALUE
Reduce by computing the number of data points across time series
for each alignment period.
|
static int |
REDUCE_FRACTION_TRUE_VALUE
Reduce by computing the ratio of the number of `True`-valued data points
to the total number of data points for each alignment period.
|
static int |
REDUCE_MAX_VALUE
Reduce by computing the maximum value across time series for each
alignment period.
|
static int |
REDUCE_MEAN_VALUE
Reduce by computing the mean value across time series for each
alignment period.
|
static int |
REDUCE_MIN_VALUE
Reduce by computing the minimum value across time series for each
alignment period.
|
static int |
REDUCE_NONE_VALUE
No cross-time series reduction.
|
static int |
REDUCE_PERCENTILE_05_VALUE
Reduce by computing the [5th
percentile](https://en.wikipedia.org/wiki/Percentile) of data points
across time series for each alignment period.
|
static int |
REDUCE_PERCENTILE_50_VALUE
Reduce by computing the [50th
percentile](https://en.wikipedia.org/wiki/Percentile) of data points
across time series for each alignment period.
|
static int |
REDUCE_PERCENTILE_95_VALUE
Reduce by computing the [95th
percentile](https://en.wikipedia.org/wiki/Percentile) of data points
across time series for each alignment period.
|
static int |
REDUCE_PERCENTILE_99_VALUE
Reduce by computing the [99th
percentile](https://en.wikipedia.org/wiki/Percentile) of data points
across time series for each alignment period.
|
static int |
REDUCE_STDDEV_VALUE
Reduce by computing the standard deviation across time series
for each alignment period.
|
static int |
REDUCE_SUM_VALUE
Reduce by computing the sum across time series for each
alignment period.
|
| Modifier and Type | Method and Description |
|---|---|
static Aggregation.Reducer |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Aggregation.Reducer> |
internalGetValueMap() |
static Aggregation.Reducer |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Aggregation.Reducer |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Aggregation.Reducer |
valueOf(String name)
Returns 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.
|
public static final Aggregation.Reducer REDUCE_NONE
No cross-time series reduction. The output of the `Aligner` is returned.
REDUCE_NONE = 0;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer 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;public static final Aggregation.Reducer UNRECOGNIZED
public static final int REDUCE_NONE_VALUE
No cross-time series reduction. The output of the `Aligner` is returned.
REDUCE_NONE = 0;public static final int REDUCE_MEAN_VALUE
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;public static final int REDUCE_MIN_VALUE
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;public static final int REDUCE_MAX_VALUE
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;public static final int REDUCE_SUM_VALUE
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;public static final int REDUCE_STDDEV_VALUE
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;public static final int REDUCE_COUNT_VALUE
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;public static final int REDUCE_COUNT_TRUE_VALUE
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;public static final int REDUCE_COUNT_FALSE_VALUE
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;public static final int REDUCE_FRACTION_TRUE_VALUE
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;public static final int REDUCE_PERCENTILE_99_VALUE
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;public static final int REDUCE_PERCENTILE_95_VALUE
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;public static final int REDUCE_PERCENTILE_50_VALUE
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;public static final int REDUCE_PERCENTILE_05_VALUE
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;public static Aggregation.Reducer[] values()
for (Aggregation.Reducer c : Aggregation.Reducer.values()) System.out.println(c);
public static Aggregation.Reducer valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Aggregation.Reducer valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Aggregation.Reducer forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Aggregation.Reducer> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Aggregation.Reducer valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.