public static enum Daemon.LinkType extends Enum<Daemon.LinkType> implements com.google.protobuf.ProtocolMessageEnum
proto.daemon.v1.LinkType| Enum Constant and Description |
|---|
LINK_TYPE_DIRECT
Direct physical connection.
|
LINK_TYPE_MULTI_HOP
Connection with local routing/switching.
|
LINK_TYPE_OPEN_NET
Connection overlayed over publicly routed Internet.
|
LINK_TYPE_UNSPECIFIED
Unspecified link type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LINK_TYPE_DIRECT_VALUE
Direct physical connection.
|
static int |
LINK_TYPE_MULTI_HOP_VALUE
Connection with local routing/switching.
|
static int |
LINK_TYPE_OPEN_NET_VALUE
Connection overlayed over publicly routed Internet.
|
static int |
LINK_TYPE_UNSPECIFIED_VALUE
Unspecified link type.
|
| Modifier and Type | Method and Description |
|---|---|
static Daemon.LinkType |
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<Daemon.LinkType> |
internalGetValueMap() |
static Daemon.LinkType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Daemon.LinkType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Daemon.LinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Daemon.LinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Daemon.LinkType LINK_TYPE_UNSPECIFIED
Unspecified link type.
LINK_TYPE_UNSPECIFIED = 0;public static final Daemon.LinkType LINK_TYPE_DIRECT
Direct physical connection.
LINK_TYPE_DIRECT = 1;public static final Daemon.LinkType LINK_TYPE_MULTI_HOP
Connection with local routing/switching.
LINK_TYPE_MULTI_HOP = 2;public static final Daemon.LinkType LINK_TYPE_OPEN_NET
Connection overlayed over publicly routed Internet.
LINK_TYPE_OPEN_NET = 3;public static final Daemon.LinkType UNRECOGNIZED
public static final int LINK_TYPE_UNSPECIFIED_VALUE
Unspecified link type.
LINK_TYPE_UNSPECIFIED = 0;public static final int LINK_TYPE_DIRECT_VALUE
Direct physical connection.
LINK_TYPE_DIRECT = 1;public static final int LINK_TYPE_MULTI_HOP_VALUE
Connection with local routing/switching.
LINK_TYPE_MULTI_HOP = 2;public static final int LINK_TYPE_OPEN_NET_VALUE
Connection overlayed over publicly routed Internet.
LINK_TYPE_OPEN_NET = 3;public static Daemon.LinkType[] values()
for (Daemon.LinkType c : Daemon.LinkType.values()) System.out.println(c);
public static Daemon.LinkType 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 Daemon.LinkType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Daemon.LinkType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Daemon.LinkType> 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 Daemon.LinkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.