public enum PreferredColorScheme extends java.lang.Enum<PreferredColorScheme> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.browser.PreferredColorScheme
Enum Constant and Description |
---|
DARK
The dark color scheme.
|
LIGHT
The light color scheme.
|
PREFERRED_COLOR_SCHEME_UNSPECIFIED
The preferred color scheme has not been specified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DARK_VALUE
The dark color scheme.
|
static int |
LIGHT_VALUE
The light color scheme.
|
static int |
PREFERRED_COLOR_SCHEME_UNSPECIFIED_VALUE
The preferred color scheme has not been specified.
|
Modifier and Type | Method and Description |
---|---|
static PreferredColorScheme |
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<PreferredColorScheme> |
internalGetValueMap() |
static PreferredColorScheme |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PreferredColorScheme |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PreferredColorScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreferredColorScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferredColorScheme PREFERRED_COLOR_SCHEME_UNSPECIFIED
public static final PreferredColorScheme DARK
public static final PreferredColorScheme LIGHT
public static final PreferredColorScheme UNRECOGNIZED
public static final int PREFERRED_COLOR_SCHEME_UNSPECIFIED_VALUE
public static final int DARK_VALUE
public static final int LIGHT_VALUE
public static PreferredColorScheme[] values()
for (PreferredColorScheme c : PreferredColorScheme.values()) System.out.println(c);
public static PreferredColorScheme valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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 PreferredColorScheme valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PreferredColorScheme forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PreferredColorScheme> 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 PreferredColorScheme valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)