public static enum Validate.StringRules.WellKnownCase extends Enum<Validate.StringRules.WellKnownCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
EMAIL |
HOSTNAME |
IP |
IPV4 |
IPV6 |
URI |
URI_REF |
WELLKNOWN_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Validate.StringRules.WellKnownCase |
forNumber(int value) |
int |
getNumber() |
static Validate.StringRules.WellKnownCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Validate.StringRules.WellKnownCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validate.StringRules.WellKnownCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Validate.StringRules.WellKnownCase EMAIL
public static final Validate.StringRules.WellKnownCase HOSTNAME
public static final Validate.StringRules.WellKnownCase IP
public static final Validate.StringRules.WellKnownCase IPV4
public static final Validate.StringRules.WellKnownCase IPV6
public static final Validate.StringRules.WellKnownCase URI
public static final Validate.StringRules.WellKnownCase URI_REF
public static final Validate.StringRules.WellKnownCase WELLKNOWN_NOT_SET
public static Validate.StringRules.WellKnownCase[] values()
for (Validate.StringRules.WellKnownCase c : Validate.StringRules.WellKnownCase.values()) System.out.println(c);
public static Validate.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 Validate.StringRules.WellKnownCase valueOf(int value)
forNumber(int) instead.public static Validate.StringRules.WellKnownCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2019 WSO2. All rights reserved.