public static enum Transport.IpAddress.AddressCase extends Enum<Transport.IpAddress.AddressCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ADDRESS_NOT_SET |
V4 |
V6 |
Modifier and Type | Method and Description |
---|---|
static Transport.IpAddress.AddressCase |
forNumber(int value) |
int |
getNumber() |
static Transport.IpAddress.AddressCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Transport.IpAddress.AddressCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.IpAddress.AddressCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport.IpAddress.AddressCase V4
public static final Transport.IpAddress.AddressCase V6
public static final Transport.IpAddress.AddressCase ADDRESS_NOT_SET
public static Transport.IpAddress.AddressCase[] values()
for (Transport.IpAddress.AddressCase c : Transport.IpAddress.AddressCase.values()) System.out.println(c);
public static Transport.IpAddress.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 Transport.IpAddress.AddressCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Transport.IpAddress.AddressCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2020. All rights reserved.