public enum ListSeparator extends Enum<ListSeparator> implements com.google.protobuf.ProtocolMessageEnum
Different types of separators a list can have.Protobuf enum
sass.embedded_protocol.ListSeparator
Enum Constant and 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 |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
static ListSeparator |
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<ListSeparator> |
internalGetValueMap() |
static ListSeparator |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListSeparator |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListSeparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListSeparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSeparator COMMA
List elements are separated by a comma.
COMMA = 0;
public static final ListSeparator SPACE
List elements are separated by whitespace.
SPACE = 1;
public static final ListSeparator SLASH
List elements are separated by a forward slash.
SLASH = 2;
public static final ListSeparator 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;
public static final ListSeparator UNRECOGNIZED
public static final int COMMA_VALUE
List elements are separated by a comma.
COMMA = 0;
public static final int SPACE_VALUE
List elements are separated by whitespace.
SPACE = 1;
public static final int SLASH_VALUE
List elements are separated by a forward slash.
SLASH = 2;
public static final int UNDECIDED_VALUE
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;
public static ListSeparator[] values()
for (ListSeparator c : ListSeparator.values()) System.out.println(c);
public static ListSeparator 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static ListSeparator valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ListSeparator forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ListSeparator> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ListSeparator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)