Package com.android.aapt
Enum Resources.Primitive.OneofValueCase
- java.lang.Object
-
- java.lang.Enum<Resources.Primitive.OneofValueCase>
-
- com.android.aapt.Resources.Primitive.OneofValueCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Resources.Primitive.OneofValueCase>
- Enclosing class:
- Resources.Primitive
public static enum Resources.Primitive.OneofValueCase extends java.lang.Enum<Resources.Primitive.OneofValueCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN_VALUECOLOR_ARGB4_VALUECOLOR_ARGB8_VALUECOLOR_RGB4_VALUECOLOR_RGB8_VALUEDIMENSION_VALUEDIMENSION_VALUE_DEPRECATEDDeprecated.EMPTY_VALUEFLOAT_VALUEFRACTION_VALUEFRACTION_VALUE_DEPRECATEDDeprecated.INT_DECIMAL_VALUEINT_HEXADECIMAL_VALUENULL_VALUEONEOFVALUE_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Resources.Primitive.OneofValueCaseforNumber(int value)intgetNumber()static Resources.Primitive.OneofValueCasevalueOf(int value)Deprecated.static Resources.Primitive.OneofValueCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Resources.Primitive.OneofValueCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL_VALUE
public static final Resources.Primitive.OneofValueCase NULL_VALUE
-
EMPTY_VALUE
public static final Resources.Primitive.OneofValueCase EMPTY_VALUE
-
FLOAT_VALUE
public static final Resources.Primitive.OneofValueCase FLOAT_VALUE
-
DIMENSION_VALUE
public static final Resources.Primitive.OneofValueCase DIMENSION_VALUE
-
FRACTION_VALUE
public static final Resources.Primitive.OneofValueCase FRACTION_VALUE
-
INT_DECIMAL_VALUE
public static final Resources.Primitive.OneofValueCase INT_DECIMAL_VALUE
-
INT_HEXADECIMAL_VALUE
public static final Resources.Primitive.OneofValueCase INT_HEXADECIMAL_VALUE
-
BOOLEAN_VALUE
public static final Resources.Primitive.OneofValueCase BOOLEAN_VALUE
-
COLOR_ARGB8_VALUE
public static final Resources.Primitive.OneofValueCase COLOR_ARGB8_VALUE
-
COLOR_RGB8_VALUE
public static final Resources.Primitive.OneofValueCase COLOR_RGB8_VALUE
-
COLOR_ARGB4_VALUE
public static final Resources.Primitive.OneofValueCase COLOR_ARGB4_VALUE
-
COLOR_RGB4_VALUE
public static final Resources.Primitive.OneofValueCase COLOR_RGB4_VALUE
-
DIMENSION_VALUE_DEPRECATED
@Deprecated public static final Resources.Primitive.OneofValueCase DIMENSION_VALUE_DEPRECATED
Deprecated.
-
FRACTION_VALUE_DEPRECATED
@Deprecated public static final Resources.Primitive.OneofValueCase FRACTION_VALUE_DEPRECATED
Deprecated.
-
ONEOFVALUE_NOT_SET
public static final Resources.Primitive.OneofValueCase ONEOFVALUE_NOT_SET
-
-
Method Detail
-
values
public static Resources.Primitive.OneofValueCase[] 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 (Resources.Primitive.OneofValueCase c : Resources.Primitive.OneofValueCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Resources.Primitive.OneofValueCase valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static Resources.Primitive.OneofValueCase 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Resources.Primitive.OneofValueCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-