public static enum Aggregation.Reducer extends java.lang.Enum<Aggregation.Reducer> implements ProtocolMessageEnum
A Reducer describes how to aggregate data points from multiple time series into a single time series.Protobuf enum
google.monitoring.v3.Aggregation.Reducer
Enum Constant and Description |
---|
REDUCE_COUNT
Reduce by computing the count of data points across time series
for each alignment period.
|
REDUCE_COUNT_FALSE
Reduce by computing the count of False-valued data points across time
series for each alignment period.
|
REDUCE_COUNT_TRUE
Reduce by computing the count of True-valued data points across time
series for each alignment period.
|
REDUCE_FRACTION_TRUE
Reduce by computing the fraction of True-valued data points across time
series for each alignment period.
|
REDUCE_MAX
Reduce by computing the maximum across time series for each
alignment period.
|
REDUCE_MEAN
Reduce by computing the mean across time series for each
alignment period.
|
REDUCE_MIN
Reduce by computing the minimum across time series for each
alignment period.
|
REDUCE_NONE
No cross-time series reduction.
|
REDUCE_PERCENTILE_05
Reduce by computing 5th percentile of data points across time series
for each alignment period.
|
REDUCE_PERCENTILE_50
Reduce by computing 50th percentile of data points across time series
for each alignment period.
|
REDUCE_PERCENTILE_95
Reduce by computing 95th percentile of data points across time series
for each alignment period.
|
REDUCE_PERCENTILE_99
Reduce by computing 99th 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 count of False-valued data points across time
series for each alignment period.
|
static int |
REDUCE_COUNT_TRUE_VALUE
Reduce by computing the count of True-valued data points across time
series for each alignment period.
|
static int |
REDUCE_COUNT_VALUE
Reduce by computing the count of data points across time series
for each alignment period.
|
static int |
REDUCE_FRACTION_TRUE_VALUE
Reduce by computing the fraction of True-valued data points across time
series for each alignment period.
|
static int |
REDUCE_MAX_VALUE
Reduce by computing the maximum across time series for each
alignment period.
|
static int |
REDUCE_MEAN_VALUE
Reduce by computing the mean across time series for each
alignment period.
|
static int |
REDUCE_MIN_VALUE
Reduce by computing the minimum 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 5th percentile of data points across time series
for each alignment period.
|
static int |
REDUCE_PERCENTILE_50_VALUE
Reduce by computing 50th percentile of data points across time series
for each alignment period.
|
static int |
REDUCE_PERCENTILE_95_VALUE
Reduce by computing 95th percentile of data points across time series
for each alignment period.
|
static int |
REDUCE_PERCENTILE_99_VALUE
Reduce by computing 99th 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 Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Aggregation.Reducer> |
internalGetValueMap() |
static Aggregation.Reducer |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Aggregation.Reducer |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Aggregation.Reducer |
valueOf(java.lang.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 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][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_MEAN = 1;
public static final Aggregation.Reducer REDUCE_MIN
Reduce by computing the minimum 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 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][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_STDDEV = 5;
public static final Aggregation.Reducer REDUCE_COUNT
Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
REDUCE_COUNT = 6;
public static final Aggregation.Reducer REDUCE_COUNT_TRUE
Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
REDUCE_COUNT_TRUE = 7;
public static final Aggregation.Reducer REDUCE_COUNT_FALSE
Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
REDUCE_COUNT_FALSE = 15;
public static final Aggregation.Reducer REDUCE_FRACTION_TRUE
Reduce by computing the fraction 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 output value is in the range [0, 1] and has value type [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_FRACTION_TRUE = 8;
public static final Aggregation.Reducer REDUCE_PERCENTILE_99
Reduce by computing 99th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
REDUCE_PERCENTILE_99 = 9;
public static final Aggregation.Reducer REDUCE_PERCENTILE_95
Reduce by computing 95th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
REDUCE_PERCENTILE_95 = 10;
public static final Aggregation.Reducer REDUCE_PERCENTILE_50
Reduce by computing 50th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
REDUCE_PERCENTILE_50 = 11;
public static final Aggregation.Reducer REDUCE_PERCENTILE_05
Reduce by computing 5th 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][google.api.MetricDescriptor.ValueType.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 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][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_MEAN = 1;
public static final int REDUCE_MIN_VALUE
Reduce by computing the minimum 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 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][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_STDDEV = 5;
public static final int REDUCE_COUNT_VALUE
Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
REDUCE_COUNT = 6;
public static final int REDUCE_COUNT_TRUE_VALUE
Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
REDUCE_COUNT_TRUE = 7;
public static final int REDUCE_COUNT_FALSE_VALUE
Reduce by computing the count 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][google.api.MetricDescriptor.ValueType.INT64].
REDUCE_COUNT_FALSE = 15;
public static final int REDUCE_FRACTION_TRUE_VALUE
Reduce by computing the fraction 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 output value is in the range [0, 1] and has value type [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
REDUCE_FRACTION_TRUE = 8;
public static final int REDUCE_PERCENTILE_99_VALUE
Reduce by computing 99th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
REDUCE_PERCENTILE_99 = 9;
public static final int REDUCE_PERCENTILE_95_VALUE
Reduce by computing 95th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
REDUCE_PERCENTILE_95 = 10;
public static final int REDUCE_PERCENTILE_50_VALUE
Reduce by computing 50th 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][google.api.MetricDescriptor.ValueType.DOUBLE]
REDUCE_PERCENTILE_50 = 11;
public static final int REDUCE_PERCENTILE_05_VALUE
Reduce by computing 5th 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][google.api.MetricDescriptor.ValueType.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Aggregation.Reducer valueOf(int value)
forNumber(int)
instead.public static Aggregation.Reducer forNumber(int value)
public static Internal.EnumLiteMap<Aggregation.Reducer> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Aggregation.Reducer valueOf(Descriptors.EnumValueDescriptor desc)