public enum MetricAggregation extends Enum<MetricAggregation> implements com.google.protobuf.ProtocolMessageEnum
Represents aggregation of metrics.Protobuf enum
google.analytics.data.v1beta.MetricAggregation| Enum Constant and Description |
|---|
COUNT
Count operator.
|
MAXIMUM
Maximum operator.
|
METRIC_AGGREGATION_UNSPECIFIED
Unspecified operator.
|
MINIMUM
Minimum operator.
|
TOTAL
SUM operator.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT_VALUE
Count operator.
|
static int |
MAXIMUM_VALUE
Maximum operator.
|
static int |
METRIC_AGGREGATION_UNSPECIFIED_VALUE
Unspecified operator.
|
static int |
MINIMUM_VALUE
Minimum operator.
|
static int |
TOTAL_VALUE
SUM operator.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricAggregation |
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<MetricAggregation> |
internalGetValueMap() |
static MetricAggregation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MetricAggregation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MetricAggregation |
valueOf(String name)
Returns 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.
|
public static final MetricAggregation METRIC_AGGREGATION_UNSPECIFIED
Unspecified operator.
METRIC_AGGREGATION_UNSPECIFIED = 0;public static final MetricAggregation TOTAL
SUM operator.
TOTAL = 1;public static final MetricAggregation MINIMUM
Minimum operator.
MINIMUM = 5;public static final MetricAggregation MAXIMUM
Maximum operator.
MAXIMUM = 6;public static final MetricAggregation COUNT
Count operator.
COUNT = 4;public static final MetricAggregation UNRECOGNIZED
public static final int METRIC_AGGREGATION_UNSPECIFIED_VALUE
Unspecified operator.
METRIC_AGGREGATION_UNSPECIFIED = 0;public static final int TOTAL_VALUE
SUM operator.
TOTAL = 1;public static final int MINIMUM_VALUE
Minimum operator.
MINIMUM = 5;public static final int MAXIMUM_VALUE
Maximum operator.
MAXIMUM = 6;public static final int COUNT_VALUE
Count operator.
COUNT = 4;public static MetricAggregation[] values()
for (MetricAggregation c : MetricAggregation.values()) System.out.println(c);
public static MetricAggregation 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 MetricAggregation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MetricAggregation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MetricAggregation> 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 MetricAggregation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.