public static enum PathMetadata.LinkType extends Enum<PathMetadata.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.
|
| Modifier and Type | Method and Description |
|---|---|
static PathMetadata.LinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathMetadata.LinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathMetadata.LinkType LINK_TYPE_UNSPECIFIED
public static final PathMetadata.LinkType LINK_TYPE_DIRECT
public static final PathMetadata.LinkType LINK_TYPE_MULTI_HOP
public static final PathMetadata.LinkType LINK_TYPE_OPEN_NET
public static PathMetadata.LinkType[] values()
for (PathMetadata.LinkType c : PathMetadata.LinkType.values()) System.out.println(c);
public static PathMetadata.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 nullCopyright © 2024. All rights reserved.