Package dev.enola.model.enola.meta.proto
Enum Class Property.Multiplicity
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Property.Multiplicity>,Constable
- Enclosing class:
Property
public static enum Property.Multiplicity
extends Enum<Property.Multiplicity>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
dev.enola.meta.Property.Multiplicity-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMULTIPLICITY_LIST = 3;MULTIPLICITY_SET = 2;MULTIPLICITY_SINGLE = 1;TODO No UNSPECIFIED, default to SINGLE = 0? -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMULTIPLICITY_LIST = 3;static final intMULTIPLICITY_SET = 2;static final intMULTIPLICITY_SINGLE = 1;static final intTODO No UNSPECIFIED, default to SINGLE = 0? -
Method Summary
Modifier and TypeMethodDescriptionstatic Property.MultiplicityforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Property.Multiplicity> static Property.MultiplicityvalueOf(int value) Deprecated.static Property.MultiplicityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Property.MultiplicityReturns the enum constant of this class with the specified name.static Property.Multiplicity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MULTIPLICITY_UNSPECIFIED
TODO No UNSPECIFIED, default to SINGLE = 0?
MULTIPLICITY_UNSPECIFIED = 0; -
MULTIPLICITY_SINGLE
MULTIPLICITY_SINGLE = 1; -
MULTIPLICITY_SET
MULTIPLICITY_SET = 2; -
MULTIPLICITY_LIST
MULTIPLICITY_LIST = 3; -
UNRECOGNIZED
-
-
Field Details
-
MULTIPLICITY_UNSPECIFIED_VALUE
TODO No UNSPECIFIED, default to SINGLE = 0?
MULTIPLICITY_UNSPECIFIED = 0;- See Also:
-
MULTIPLICITY_SINGLE_VALUE
MULTIPLICITY_SINGLE = 1;- See Also:
-
MULTIPLICITY_SET_VALUE
MULTIPLICITY_SET = 2;- See Also:
-
MULTIPLICITY_LIST_VALUE
MULTIPLICITY_LIST = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
-
valueOf
public static Property.Multiplicity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-