public static enum VertexProperty.Cardinality extends Enum<VertexProperty.Cardinality> implements com.google.protobuf.ProtocolMessageEnum
janusgraph.types.v1.VertexProperty.Cardinality| Enum Constant and Description |
|---|
CARDINALITY_LIST
Vertex can have multiple properties of the same name.
|
CARDINALITY_SET
Vertex can have multiple properties of the same with uniqueness constraint for the value.
|
CARDINALITY_SINGLE
Vertex can have the property just once.
|
CARDINALITY_UNSPECIFIED
CARDINALITY_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CARDINALITY_LIST_VALUE
Vertex can have multiple properties of the same name.
|
static int |
CARDINALITY_SET_VALUE
Vertex can have multiple properties of the same with uniqueness constraint for the value.
|
static int |
CARDINALITY_SINGLE_VALUE
Vertex can have the property just once.
|
static int |
CARDINALITY_UNSPECIFIED_VALUE
CARDINALITY_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static VertexProperty.Cardinality |
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<VertexProperty.Cardinality> |
internalGetValueMap() |
static VertexProperty.Cardinality |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VertexProperty.Cardinality |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VertexProperty.Cardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VertexProperty.Cardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VertexProperty.Cardinality CARDINALITY_UNSPECIFIED
CARDINALITY_UNSPECIFIED = 0;public static final VertexProperty.Cardinality CARDINALITY_SINGLE
Vertex can have the property just once.
CARDINALITY_SINGLE = 1;public static final VertexProperty.Cardinality CARDINALITY_LIST
Vertex can have multiple properties of the same name.
CARDINALITY_LIST = 2;public static final VertexProperty.Cardinality CARDINALITY_SET
Vertex can have multiple properties of the same with uniqueness constraint for the value.
CARDINALITY_SET = 3;public static final VertexProperty.Cardinality UNRECOGNIZED
public static final int CARDINALITY_UNSPECIFIED_VALUE
CARDINALITY_UNSPECIFIED = 0;public static final int CARDINALITY_SINGLE_VALUE
Vertex can have the property just once.
CARDINALITY_SINGLE = 1;public static final int CARDINALITY_LIST_VALUE
Vertex can have multiple properties of the same name.
CARDINALITY_LIST = 2;public static final int CARDINALITY_SET_VALUE
Vertex can have multiple properties of the same with uniqueness constraint for the value.
CARDINALITY_SET = 3;public static VertexProperty.Cardinality[] values()
for (VertexProperty.Cardinality c : VertexProperty.Cardinality.values()) System.out.println(c);
public static VertexProperty.Cardinality 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 VertexProperty.Cardinality valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static VertexProperty.Cardinality forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<VertexProperty.Cardinality> 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 VertexProperty.Cardinality valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012–2023. All rights reserved.