Enum CalculatedMetric.MetricUnit (0.57.0)

public enum CalculatedMetric.MetricUnit extends Enum<CalculatedMetric.MetricUnit> implements ProtocolMessageEnum

Possible types of representing the calculated metric's value.

Protobuf enum google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit

Implements

ProtocolMessageEnum

Static Fields

Name Description
CURRENCY

This metric measures a currency.

CURRENCY = 2;

CURRENCY_VALUE

This metric measures a currency.

CURRENCY = 2;

FEET

This metric measures feet.

FEET = 3;

FEET_VALUE

This metric measures feet.

FEET = 3;

HOURS

This metric measures hours.

HOURS = 10;

HOURS_VALUE

This metric measures hours.

HOURS = 10;

KILOMETERS

This metric measures kilometers.

KILOMETERS = 6;

KILOMETERS_VALUE

This metric measures kilometers.

KILOMETERS = 6;

METERS

This metric measures meters.

METERS = 5;

METERS_VALUE

This metric measures meters.

METERS = 5;

METRIC_UNIT_UNSPECIFIED

MetricUnit unspecified or missing.

METRIC_UNIT_UNSPECIFIED = 0;

METRIC_UNIT_UNSPECIFIED_VALUE

MetricUnit unspecified or missing.

METRIC_UNIT_UNSPECIFIED = 0;

MILES

This metric measures miles.

MILES = 4;

MILES_VALUE

This metric measures miles.

MILES = 4;

MILLISECONDS

This metric measures milliseconds.

MILLISECONDS = 7;

MILLISECONDS_VALUE

This metric measures milliseconds.

MILLISECONDS = 7;

MINUTES

This metric measures minutes.

MINUTES = 9;

MINUTES_VALUE

This metric measures minutes.

MINUTES = 9;

SECONDS

This metric measures seconds.

SECONDS = 8;

SECONDS_VALUE

This metric measures seconds.

SECONDS = 8;

STANDARD

This metric uses default units.

STANDARD = 1;

STANDARD_VALUE

This metric uses default units.

STANDARD = 1;

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()