public enum ValueType extends Enum<ValueType>
| Enum Constant and Description |
|---|
BOOL
An undiscriminated boolean value.
|
DNS_NAME
A DNS name.
|
DOUBLE
An undiscriminated 64-bit floating-point value.
|
DURATION
A span between two points in time.
|
EMAIL_ADDRESS
An email address.
|
INT64
An undiscriminated 64-bit signed integer.
|
IP_ADDRESS
An IP address.
|
STRING
An undiscriminated variable-length string.
|
STRING_MAP
A map string - string, typically used by headers.
|
TIMESTAMP
A point in time.
|
URI
A URI.
|
VALUE_TYPE_UNSPECIFIED
Invalid, default value.
|
| Modifier and Type | Method and Description |
|---|---|
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 STRING
public static final ValueType INT64
public static final ValueType DOUBLE
public static final ValueType BOOL
public static final ValueType TIMESTAMP
public static final ValueType IP_ADDRESS
public static final ValueType EMAIL_ADDRESS
public static final ValueType URI
public static final ValueType DNS_NAME
public static final ValueType DURATION
public static final ValueType STRING_MAP
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 nullCopyright © 2017–2018 Red Hat. All rights reserved.