public enum MetricDescriptor.ValueType extends Enum<MetricDescriptor.ValueType> implements ProtocolMessageEnum
The value type of a metric.
Protobuf enum google.api.MetricDescriptor.ValueType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
BOOL |
The value is a boolean.
This value type can be used only if the metric kind is |
BOOL_VALUE |
The value is a boolean.
This value type can be used only if the metric kind is |
DISTRIBUTION |
The value is a |
DISTRIBUTION_VALUE |
The value is a |
DOUBLE |
The value is a double precision floating point number. |
DOUBLE_VALUE |
The value is a double precision floating point number. |
INT64 |
The value is a signed 64-bit integer. |
INT64_VALUE |
The value is a signed 64-bit integer. |
MONEY |
The value is money. |
MONEY_VALUE |
The value is money. |
STRING |
The value is a text string.
This value type can be used only if the metric kind is |
STRING_VALUE |
The value is a text string.
This value type can be used only if the metric kind is |
UNRECOGNIZED |
|
VALUE_TYPE_UNSPECIFIED |
Do not use this default value. |
VALUE_TYPE_UNSPECIFIED_VALUE |
Do not use this default value. |
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() |