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