Package sass.embedded_protocol
Enum EmbeddedSass.ListSeparator
- java.lang.Object
-
- java.lang.Enum<EmbeddedSass.ListSeparator>
-
- sass.embedded_protocol.EmbeddedSass.ListSeparator
-
- All Implemented Interfaces:
Internal.EnumLite,ProtocolMessageEnum,Serializable,Comparable<EmbeddedSass.ListSeparator>
- Enclosing class:
- EmbeddedSass
public static enum EmbeddedSass.ListSeparator extends Enum<EmbeddedSass.ListSeparator> implements ProtocolMessageEnum
Different types of separators a list can have.
Protobuf enumsass.embedded_protocol.ListSeparator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMAList elements are separated by a comma.SLASHList elements are separated by a forward slash.SPACEList elements are separated by whitespace.UNDECIDEDThe list's separator hasn't yet been determined.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCOMMA_VALUEList elements are separated by a comma.static intSLASH_VALUEList elements are separated by a forward slash.static intSPACE_VALUEList elements are separated by whitespace.static intUNDECIDED_VALUEThe list's separator hasn't yet been determined.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EmbeddedSass.ListSeparatorforNumber(int value)static Descriptors.EnumDescriptorgetDescriptor()Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()Descriptors.EnumValueDescriptorgetValueDescriptor()static Internal.EnumLiteMap<EmbeddedSass.ListSeparator>internalGetValueMap()static EmbeddedSass.ListSeparatorvalueOf(int value)Deprecated.static EmbeddedSass.ListSeparatorvalueOf(Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static EmbeddedSass.ListSeparatorvalueOf(String name)Returns the enum constant of this type with the specified name.static EmbeddedSass.ListSeparator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMA
public static final EmbeddedSass.ListSeparator COMMA
List elements are separated by a comma.
COMMA = 0;
-
SPACE
public static final EmbeddedSass.ListSeparator SPACE
List elements are separated by whitespace.
SPACE = 1;
-
SLASH
public static final EmbeddedSass.ListSeparator SLASH
List elements are separated by a forward slash.
SLASH = 2;
-
UNDECIDED
public static final EmbeddedSass.ListSeparator UNDECIDED
The list's separator hasn't yet been determined. 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
public static final EmbeddedSass.ListSeparator UNRECOGNIZED
-
-
Field Detail
-
COMMA_VALUE
public static final int COMMA_VALUE
List elements are separated by a comma.
COMMA = 0;- See Also:
- Constant Field Values
-
SPACE_VALUE
public static final int SPACE_VALUE
List elements are separated by whitespace.
SPACE = 1;- See Also:
- Constant Field Values
-
SLASH_VALUE
public static final int SLASH_VALUE
List elements are separated by a forward slash.
SLASH = 2;- See Also:
- Constant Field Values
-
UNDECIDED_VALUE
public static final int UNDECIDED_VALUE
The list's separator hasn't yet been determined. 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:
- Constant Field Values
-
-
Method Detail
-
values
public static EmbeddedSass.ListSeparator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EmbeddedSass.ListSeparator c : EmbeddedSass.ListSeparator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmbeddedSass.ListSeparator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 public static EmbeddedSass.ListSeparator valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static EmbeddedSass.ListSeparator forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static Internal.EnumLiteMap<EmbeddedSass.ListSeparator> internalGetValueMap()
-
getValueDescriptor
public final Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfaceProtocolMessageEnum
-
getDescriptorForType
public final Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceProtocolMessageEnum
-
getDescriptor
public static final Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static EmbeddedSass.ListSeparator valueOf(Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-