Package com.android.aapt
Enum Resources.OverlayableItem.Policy
- java.lang.Object
-
- java.lang.Enum<Resources.OverlayableItem.Policy>
-
- com.android.aapt.Resources.OverlayableItem.Policy
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Resources.OverlayableItem.Policy>
- Enclosing class:
- Resources.OverlayableItem
public static enum Resources.OverlayableItem.Policy extends java.lang.Enum<Resources.OverlayableItem.Policy> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumaapt.pb.OverlayableItem.Policy
-
-
Field Summary
Fields Modifier and Type Field Description static intACTOR_VALUEACTOR = 8;static intCONFIG_SIGNATURE_VALUECONFIG_SIGNATURE = 9;static intNONE_VALUENONE = 0;static intODM_VALUEODM = 6;static intOEM_VALUEOEM = 7;static intPRODUCT_VALUEPRODUCT = 4;static intPUBLIC_VALUEPUBLIC = 1;static intSIGNATURE_VALUESIGNATURE = 5;static intSYSTEM_VALUESYSTEM = 2;static intVENDOR_VALUEVENDOR = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Resources.OverlayableItem.PolicyforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Resources.OverlayableItem.Policy>internalGetValueMap()static Resources.OverlayableItem.PolicyvalueOf(int value)Deprecated.static Resources.OverlayableItem.PolicyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Resources.OverlayableItem.PolicyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Resources.OverlayableItem.Policy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Resources.OverlayableItem.Policy NONE
NONE = 0;
-
PUBLIC
public static final Resources.OverlayableItem.Policy PUBLIC
PUBLIC = 1;
-
SYSTEM
public static final Resources.OverlayableItem.Policy SYSTEM
SYSTEM = 2;
-
VENDOR
public static final Resources.OverlayableItem.Policy VENDOR
VENDOR = 3;
-
PRODUCT
public static final Resources.OverlayableItem.Policy PRODUCT
PRODUCT = 4;
-
SIGNATURE
public static final Resources.OverlayableItem.Policy SIGNATURE
SIGNATURE = 5;
-
ODM
public static final Resources.OverlayableItem.Policy ODM
ODM = 6;
-
OEM
public static final Resources.OverlayableItem.Policy OEM
OEM = 7;
-
ACTOR
public static final Resources.OverlayableItem.Policy ACTOR
ACTOR = 8;
-
CONFIG_SIGNATURE
public static final Resources.OverlayableItem.Policy CONFIG_SIGNATURE
CONFIG_SIGNATURE = 9;
-
UNRECOGNIZED
public static final Resources.OverlayableItem.Policy UNRECOGNIZED
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
NONE = 0;- See Also:
- Constant Field Values
-
PUBLIC_VALUE
public static final int PUBLIC_VALUE
PUBLIC = 1;- See Also:
- Constant Field Values
-
SYSTEM_VALUE
public static final int SYSTEM_VALUE
SYSTEM = 2;- See Also:
- Constant Field Values
-
VENDOR_VALUE
public static final int VENDOR_VALUE
VENDOR = 3;- See Also:
- Constant Field Values
-
PRODUCT_VALUE
public static final int PRODUCT_VALUE
PRODUCT = 4;- See Also:
- Constant Field Values
-
SIGNATURE_VALUE
public static final int SIGNATURE_VALUE
SIGNATURE = 5;- See Also:
- Constant Field Values
-
ODM_VALUE
public static final int ODM_VALUE
ODM = 6;- See Also:
- Constant Field Values
-
OEM_VALUE
public static final int OEM_VALUE
OEM = 7;- See Also:
- Constant Field Values
-
ACTOR_VALUE
public static final int ACTOR_VALUE
ACTOR = 8;- See Also:
- Constant Field Values
-
CONFIG_SIGNATURE_VALUE
public static final int CONFIG_SIGNATURE_VALUE
CONFIG_SIGNATURE = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Resources.OverlayableItem.Policy[] 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.OverlayableItem.Policy c : Resources.OverlayableItem.Policy.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.OverlayableItem.Policy 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Resources.OverlayableItem.Policy 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.OverlayableItem.Policy 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 com.google.protobuf.Internal.EnumLiteMap<Resources.OverlayableItem.Policy> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Resources.OverlayableItem.Policy valueOf(com.google.protobuf.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-