Enum PickTimeSeriesFilter.Method
java.lang.Object
java.lang.Enum<PickTimeSeriesFilter.Method>
com.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PickTimeSeriesFilter.Method>
- Enclosing class:
- PickTimeSeriesFilter
public static enum PickTimeSeriesFilter.Method
extends Enum<PickTimeSeriesFilter.Method>
implements com.google.protobuf.ProtocolMessageEnum
The value reducers that can be applied to a `PickTimeSeriesFilter`.Protobuf enum
google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelect the most recent value.Select the maximum value.Select the mean of all values.Select the minimum value.Compute the sum of all values.Not allowed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSelect the most recent value.static final intSelect the maximum value.static final intSelect the mean of all values.static final intSelect the minimum value.static final intCompute the sum of all values.static final intNot allowed. -
Method Summary
Modifier and TypeMethodDescriptionstatic PickTimeSeriesFilter.MethodforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PickTimeSeriesFilter.Method>static PickTimeSeriesFilter.MethodvalueOf(int value) Deprecated.static PickTimeSeriesFilter.MethodvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PickTimeSeriesFilter.MethodReturns the enum constant of this type with the specified name.static PickTimeSeriesFilter.Method[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METHOD_UNSPECIFIED
Not allowed. You must specify a different `Method` if you specify a `PickTimeSeriesFilter`.
METHOD_UNSPECIFIED = 0; -
METHOD_MEAN
Select the mean of all values.
METHOD_MEAN = 1; -
METHOD_MAX
Select the maximum value.
METHOD_MAX = 2; -
METHOD_MIN
Select the minimum value.
METHOD_MIN = 3; -
METHOD_SUM
Compute the sum of all values.
METHOD_SUM = 4; -
METHOD_LATEST
Select the most recent value.
METHOD_LATEST = 5; -
UNRECOGNIZED
-
-
Field Details
-
METHOD_UNSPECIFIED_VALUE
public static final int METHOD_UNSPECIFIED_VALUENot allowed. You must specify a different `Method` if you specify a `PickTimeSeriesFilter`.
METHOD_UNSPECIFIED = 0;- See Also:
-
METHOD_MEAN_VALUE
public static final int METHOD_MEAN_VALUESelect the mean of all values.
METHOD_MEAN = 1;- See Also:
-
METHOD_MAX_VALUE
public static final int METHOD_MAX_VALUESelect the maximum value.
METHOD_MAX = 2;- See Also:
-
METHOD_MIN_VALUE
public static final int METHOD_MIN_VALUESelect the minimum value.
METHOD_MIN = 3;- See Also:
-
METHOD_SUM_VALUE
public static final int METHOD_SUM_VALUECompute the sum of all values.
METHOD_SUM = 4;- See Also:
-
METHOD_LATEST_VALUE
public static final int METHOD_LATEST_VALUESelect the most recent value.
METHOD_LATEST = 5;- 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<PickTimeSeriesFilter.Method> 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 PickTimeSeriesFilter.Method 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
-