public static enum Address.AddressCase extends Enum<Address.AddressCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
| Enum Constant and Description |
|---|
ADDRESS_NOT_SET |
OTHER_ADDRESS |
TCPIP_ADDRESS |
UDS_ADDRESS |
| Modifier and Type | Method and Description |
|---|---|
static Address.AddressCase |
forNumber(int value) |
int |
getNumber() |
static Address.AddressCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Address.AddressCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.AddressCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.AddressCase TCPIP_ADDRESS
public static final Address.AddressCase UDS_ADDRESS
public static final Address.AddressCase OTHER_ADDRESS
public static final Address.AddressCase ADDRESS_NOT_SET
public static Address.AddressCase[] values()
for (Address.AddressCase c : Address.AddressCase.values()) System.out.println(c);
public static Address.AddressCase 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 Address.AddressCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Address.AddressCase forNumber(int value)
public int getNumber()
getNumber in interface AbstractMessageLite.InternalOneOfEnumgetNumber in interface Internal.EnumLite