public enum ValueType extends Enum<ValueType>
| Enum Constant and Description |
|---|
BOOL
The value is a boolean.
|
DISTRIBUTION
The value is a [`Distribution`][google.api.Distribution].
|
DOUBLE
The value is a double precision floating point number.
|
INT64
The value is a signed 64-bit integer.
|
MONEY
The value is money.
|
STRING
The value is a text string.
|
VALUE_TYPE_UNSPECIFIED
Do not use this default value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType VALUE_TYPE_UNSPECIFIED
public static final ValueType BOOL
public static final ValueType INT64
public static final ValueType DOUBLE
public static final ValueType STRING
public static final ValueType DISTRIBUTION
public static final ValueType MONEY
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 int value()
Copyright © 2017–2018 Red Hat. All rights reserved.