@Generated(value="Generated by the protocol buffer compiler") public enum AppTheme extends java.lang.Enum<AppTheme> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
APP_THEME_UNSPECIFIED |
DARK
The dark mode.
|
LIGHT
The light mode.
|
SYSTEM
The app theme is inherited from the system.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
APP_THEME_UNSPECIFIED_VALUE |
static int |
DARK_VALUE
The dark mode.
|
static int |
LIGHT_VALUE
The light mode.
|
static int |
SYSTEM_VALUE
The app theme is inherited from the system.
|
Modifier and Type | Method and Description |
---|---|
static AppTheme |
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<AppTheme> |
internalGetValueMap() |
static AppTheme |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AppTheme |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AppTheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppTheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppTheme APP_THEME_UNSPECIFIED
public static final AppTheme LIGHT
public static final AppTheme DARK
public static final AppTheme SYSTEM
public static final AppTheme UNRECOGNIZED
public static final int APP_THEME_UNSPECIFIED_VALUE
public static final int LIGHT_VALUE
public static final int DARK_VALUE
public static final int SYSTEM_VALUE
public static AppTheme[] values()
for (AppTheme c : AppTheme.values()) System.out.println(c);
public static AppTheme 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 AppTheme valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static AppTheme forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AppTheme> 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 AppTheme valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)