public static enum EdgeLabel.Direction extends Enum<EdgeLabel.Direction> implements com.google.protobuf.ProtocolMessageEnum
janusgraph.types.v1.EdgeLabel.Direction| Enum Constant and Description |
|---|
DIRECTION_BOTH
Edge can be queried from both vertices (default).
|
DIRECTION_OUT
Edge can be only queried from the outgoing vertex.
|
DIRECTION_UNSPECIFIED
DIRECTION_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DIRECTION_BOTH_VALUE
Edge can be queried from both vertices (default).
|
static int |
DIRECTION_OUT_VALUE
Edge can be only queried from the outgoing vertex.
|
static int |
DIRECTION_UNSPECIFIED_VALUE
DIRECTION_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static EdgeLabel.Direction |
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<EdgeLabel.Direction> |
internalGetValueMap() |
static EdgeLabel.Direction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EdgeLabel.Direction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EdgeLabel.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeLabel.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeLabel.Direction DIRECTION_UNSPECIFIED
DIRECTION_UNSPECIFIED = 0;public static final EdgeLabel.Direction DIRECTION_BOTH
Edge can be queried from both vertices (default).
DIRECTION_BOTH = 1;public static final EdgeLabel.Direction DIRECTION_OUT
Edge can be only queried from the outgoing vertex. Direction OUT should be only used by experts, see https://docs.janusgraph.org/schema/advschema/#unidirected-edges.
DIRECTION_OUT = 2;public static final EdgeLabel.Direction UNRECOGNIZED
public static final int DIRECTION_UNSPECIFIED_VALUE
DIRECTION_UNSPECIFIED = 0;public static final int DIRECTION_BOTH_VALUE
Edge can be queried from both vertices (default).
DIRECTION_BOTH = 1;public static final int DIRECTION_OUT_VALUE
Edge can be only queried from the outgoing vertex. Direction OUT should be only used by experts, see https://docs.janusgraph.org/schema/advschema/#unidirected-edges.
DIRECTION_OUT = 2;public static EdgeLabel.Direction[] values()
for (EdgeLabel.Direction c : EdgeLabel.Direction.values()) System.out.println(c);
public static EdgeLabel.Direction 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 EdgeLabel.Direction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EdgeLabel.Direction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EdgeLabel.Direction> 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 EdgeLabel.Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012–2023. All rights reserved.