public static enum Address.Type extends Enum<Address.Type> implements com.google.protobuf.ProtocolMessageEnum
grpc.observabilitylog.v1.Address.Type| Enum Constant and Description |
|---|
IPV4
in 1.2.3.4 form
|
IPV6
IPv6 canonical form (RFC5952 section 4)
|
TYPE_UNKNOWN
TYPE_UNKNOWN = 0; |
UNIX
UDS string
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IPV4_VALUE
in 1.2.3.4 form
|
static int |
IPV6_VALUE
IPv6 canonical form (RFC5952 section 4)
|
static int |
TYPE_UNKNOWN_VALUE
TYPE_UNKNOWN = 0; |
static int |
UNIX_VALUE
UDS string
|
| Modifier and Type | Method and Description |
|---|---|
static Address.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Address.Type> |
internalGetValueMap() |
static Address.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Address.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Address.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.Type TYPE_UNKNOWN
TYPE_UNKNOWN = 0;public static final Address.Type IPV4
in 1.2.3.4 form
IPV4 = 1;public static final Address.Type IPV6
IPv6 canonical form (RFC5952 section 4)
IPV6 = 2;public static final Address.Type UNIX
UDS string
UNIX = 3;public static final Address.Type UNRECOGNIZED
public static final int TYPE_UNKNOWN_VALUE
TYPE_UNKNOWN = 0;public static final int IPV4_VALUE
in 1.2.3.4 form
IPV4 = 1;public static final int IPV6_VALUE
IPv6 canonical form (RFC5952 section 4)
IPV6 = 2;public static final int UNIX_VALUE
UDS string
UNIX = 3;public static Address.Type[] values()
for (Address.Type c : Address.Type.values()) System.out.println(c);
public static Address.Type 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Address.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Address.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Address.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Address.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)