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 COMMA
List elements are separated by a comma.SLASH
List elements are separated by a forward slash.SPACE
List elements are separated by whitespace.UNDECIDED
The list's separator hasn't yet been determined.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
COMMA_VALUE
List elements are separated by a comma.static int
SLASH_VALUE
List elements are separated by a forward slash.static int
SPACE_VALUE
List elements are separated by whitespace.static int
UNDECIDED_VALUE
The 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.ListSeparator
forNumber(int value)
static Descriptors.EnumDescriptor
getDescriptor()
Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
Descriptors.EnumValueDescriptor
getValueDescriptor()
static Internal.EnumLiteMap<EmbeddedSass.ListSeparator>
internalGetValueMap()
static EmbeddedSass.ListSeparator
valueOf(int value)
Deprecated.static EmbeddedSass.ListSeparator
valueOf(Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static EmbeddedSass.ListSeparator
valueOf(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:
getNumber
in interfaceInternal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfaceProtocolMessageEnum
-
getDescriptorForType
public final Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-