Package sass.embedded_protocol
Enum Class EmbeddedSass.ListSeparator
- All Implemented Interfaces:
Internal.EnumLite,ProtocolMessageEnum,Serializable,Comparable<EmbeddedSass.ListSeparator>,Constable
- Enclosing class:
- EmbeddedSass
public static enum EmbeddedSass.ListSeparator
extends Enum<EmbeddedSass.ListSeparator>
implements ProtocolMessageEnum
Different types of separators a list can have.Protobuf enum
sass.embedded_protocol.ListSeparator-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionList elements are separated by a comma.List elements are separated by a forward slash.List elements are separated by whitespace.The list's separator hasn't yet been determined. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intList elements are separated by a comma.static final intList elements are separated by a forward slash.static final intList elements are separated by whitespace.static final intThe list's separator hasn't yet been determined. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddedSass.ListSeparatorforNumber(int value) static final Descriptors.EnumDescriptorfinal intstatic EmbeddedSass.ListSeparatorvalueOf(int value) Deprecated.static EmbeddedSass.ListSeparatorReturns the enum constant of this class with the specified name.static EmbeddedSass.ListSeparatorReturns the enum constant of this class with the specified name.static EmbeddedSass.ListSeparator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMA
List elements are separated by a comma.
COMMA = 0; -
SPACE
List elements are separated by whitespace.
SPACE = 1; -
SLASH
List elements are separated by a forward slash.
SLASH = 2; -
UNDECIDED
The list's separator hasn't yet been determined. This is only allowed for singleton and empty lists. Singleton lists and empty lists don't have separators defined. This means that list functions will prefer other lists' separators if possible.
UNDECIDED = 3; -
UNRECOGNIZED
-
-
Field Details
-
COMMA_VALUE
public static final int COMMA_VALUEList elements are separated by a comma.
COMMA = 0;- See Also:
-
SPACE_VALUE
public static final int SPACE_VALUEList elements are separated by whitespace.
SPACE = 1;- See Also:
-
SLASH_VALUE
public static final int SLASH_VALUEList elements are separated by a forward slash.
SLASH = 2;- See Also:
-
UNDECIDED_VALUE
public static final int UNDECIDED_VALUEThe list's separator hasn't yet been determined. This is only allowed for singleton and empty lists. Singleton lists and empty lists don't have separators defined. This means that list functions will prefer other lists' separators if possible.
UNDECIDED = 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
public final int getNumber()- Specified by:
getNumberin interfaceInternal.EnumLite- Specified by:
getNumberin interfaceProtocolMessageEnum
-
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 interfaceProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceProtocolMessageEnum
-
getDescriptor
-
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:
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
-