Enum MetricType (0.59.0)

public enum MetricType extends Enum<MetricType> implements ProtocolMessageEnum

A metric's value type.

Protobuf enum google.analytics.data.v1beta.MetricType

Implements

ProtocolMessageEnum

Static Fields

Name Description
METRIC_TYPE_UNSPECIFIED

Unspecified type.

METRIC_TYPE_UNSPECIFIED = 0;

METRIC_TYPE_UNSPECIFIED_VALUE

Unspecified type.

METRIC_TYPE_UNSPECIFIED = 0;

TYPE_CURRENCY

An amount of money; a special floating point type.

TYPE_CURRENCY = 9;

TYPE_CURRENCY_VALUE

An amount of money; a special floating point type.

TYPE_CURRENCY = 9;

TYPE_FEET

A length in feet; a special floating point type.

TYPE_FEET = 10;

TYPE_FEET_VALUE

A length in feet; a special floating point type.

TYPE_FEET = 10;

TYPE_FLOAT

Floating point type.

TYPE_FLOAT = 2;

TYPE_FLOAT_VALUE

Floating point type.

TYPE_FLOAT = 2;

TYPE_HOURS

A duration in hours; a special floating point type.

TYPE_HOURS = 7;

TYPE_HOURS_VALUE

A duration in hours; a special floating point type.

TYPE_HOURS = 7;

TYPE_INTEGER

Integer type.

TYPE_INTEGER = 1;

TYPE_INTEGER_VALUE

Integer type.

TYPE_INTEGER = 1;

TYPE_KILOMETERS

A length in kilometers; a special floating point type.

TYPE_KILOMETERS = 13;

TYPE_KILOMETERS_VALUE

A length in kilometers; a special floating point type.

TYPE_KILOMETERS = 13;

TYPE_METERS

A length in meters; a special floating point type.

TYPE_METERS = 12;

TYPE_METERS_VALUE

A length in meters; a special floating point type.

TYPE_METERS = 12;

TYPE_MILES

A length in miles; a special floating point type.

TYPE_MILES = 11;

TYPE_MILES_VALUE

A length in miles; a special floating point type.

TYPE_MILES = 11;

TYPE_MILLISECONDS

A duration in milliseconds; a special floating point type.

TYPE_MILLISECONDS = 5;

TYPE_MILLISECONDS_VALUE

A duration in milliseconds; a special floating point type.

TYPE_MILLISECONDS = 5;

TYPE_MINUTES

A duration in minutes; a special floating point type.

TYPE_MINUTES = 6;

TYPE_MINUTES_VALUE

A duration in minutes; a special floating point type.

TYPE_MINUTES = 6;

TYPE_SECONDS

A duration of seconds; a special floating point type.

TYPE_SECONDS = 4;

TYPE_SECONDS_VALUE

A duration of seconds; a special floating point type.

TYPE_SECONDS = 4;

TYPE_STANDARD

A custom metric of standard type; a special floating point type.

TYPE_STANDARD = 8;

TYPE_STANDARD_VALUE

A custom metric of standard type; a special floating point type.

TYPE_STANDARD = 8;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()