public static enum StringRules.WellKnownCase extends Enum<StringRules.WellKnownCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ADDRESS |
EMAIL |
HOST_AND_PORT |
HOSTNAME |
IP |
IP_PREFIX |
IP_WITH_PREFIXLEN |
IPV4 |
IPV4_PREFIX |
IPV4_WITH_PREFIXLEN |
IPV6 |
IPV6_PREFIX |
IPV6_WITH_PREFIXLEN |
TUUID |
URI |
URI_REF |
UUID |
WELL_KNOWN_REGEX |
WELLKNOWN_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static StringRules.WellKnownCase |
forNumber(int value) |
int |
getNumber() |
static StringRules.WellKnownCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StringRules.WellKnownCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringRules.WellKnownCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringRules.WellKnownCase EMAIL
public static final StringRules.WellKnownCase HOSTNAME
public static final StringRules.WellKnownCase IP
public static final StringRules.WellKnownCase IPV4
public static final StringRules.WellKnownCase IPV6
public static final StringRules.WellKnownCase URI
public static final StringRules.WellKnownCase URI_REF
public static final StringRules.WellKnownCase ADDRESS
public static final StringRules.WellKnownCase UUID
public static final StringRules.WellKnownCase TUUID
public static final StringRules.WellKnownCase IP_WITH_PREFIXLEN
public static final StringRules.WellKnownCase IPV4_WITH_PREFIXLEN
public static final StringRules.WellKnownCase IPV6_WITH_PREFIXLEN
public static final StringRules.WellKnownCase IP_PREFIX
public static final StringRules.WellKnownCase IPV4_PREFIX
public static final StringRules.WellKnownCase IPV6_PREFIX
public static final StringRules.WellKnownCase HOST_AND_PORT
public static final StringRules.WellKnownCase WELL_KNOWN_REGEX
public static final StringRules.WellKnownCase WELLKNOWN_NOT_SET
public static StringRules.WellKnownCase[] values()
for (StringRules.WellKnownCase c : StringRules.WellKnownCase.values()) System.out.println(c);
public static StringRules.WellKnownCase 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 null@Deprecated public static StringRules.WellKnownCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static StringRules.WellKnownCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024. All rights reserved.