Package com.google.analytics.data.v1beta
Enum MetricAggregation
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MetricAggregation>
@Generated
public enum MetricAggregation
extends Enum<MetricAggregation>
implements com.google.protobuf.ProtocolMessageEnum
Represents aggregation of metrics.Protobuf enum
google.analytics.data.v1beta.MetricAggregation-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCount operator.Maximum operator.Unspecified operator.Minimum operator.SUM operator. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCount operator.static final intMaximum operator.static final intUnspecified operator.static final intMinimum operator.static final intSUM operator. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricAggregationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MetricAggregation>static MetricAggregationvalueOf(int value) Deprecated.static MetricAggregationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static MetricAggregationReturns the enum constant of this type with the specified name.static MetricAggregation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METRIC_AGGREGATION_UNSPECIFIED
Unspecified operator.
METRIC_AGGREGATION_UNSPECIFIED = 0; -
TOTAL
SUM operator.
TOTAL = 1; -
MINIMUM
Minimum operator.
MINIMUM = 5; -
MAXIMUM
Maximum operator.
MAXIMUM = 6; -
COUNT
Count operator.
COUNT = 4; -
UNRECOGNIZED
-
-
Field Details
-
METRIC_AGGREGATION_UNSPECIFIED_VALUE
public static final int METRIC_AGGREGATION_UNSPECIFIED_VALUEUnspecified operator.
METRIC_AGGREGATION_UNSPECIFIED = 0;- See Also:
-
TOTAL_VALUE
public static final int TOTAL_VALUESUM operator.
TOTAL = 1;- See Also:
-
MINIMUM_VALUE
public static final int MINIMUM_VALUEMinimum operator.
MINIMUM = 5;- See Also:
-
MAXIMUM_VALUE
public static final int MAXIMUM_VALUEMaximum operator.
MAXIMUM = 6;- See Also:
-
COUNT_VALUE
public static final int COUNT_VALUECount operator.
COUNT = 4;- 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
-