Package com.android.aapt
Interface Resources.PackageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Package,Resources.Package.Builder
- Enclosing class:
- Resources
public static interface Resources.PackageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resources.PackageIdgetPackageId()The package ID of this package, in the range [0x00, 0xff].Resources.PackageIdOrBuildergetPackageIdOrBuilder()The package ID of this package, in the range [0x00, 0xff].java.lang.StringgetPackageName()The Java compatible Android package name of the app.com.google.protobuf.ByteStringgetPackageNameBytes()The Java compatible Android package name of the app.Resources.TypegetType(int index)The series of types defined by the package.intgetTypeCount()The series of types defined by the package.java.util.List<Resources.Type>getTypeList()The series of types defined by the package.Resources.TypeOrBuildergetTypeOrBuilder(int index)The series of types defined by the package.java.util.List<? extends Resources.TypeOrBuilder>getTypeOrBuilderList()The series of types defined by the package.booleanhasPackageId()The package ID of this package, in the range [0x00, 0xff].-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPackageId
boolean hasPackageId()
The package ID of this package, in the range [0x00, 0xff]. - ID 0x00 is reserved for shared libraries, or when the ID is assigned at run-time. - ID 0x01 is reserved for the 'android' package (framework). - ID range [0x02, 0x7f) is reserved for auto-assignment to shared libraries at run-time. - ID 0x7f is reserved for the application package. - IDs > 0x7f are reserved for the application as well and are treated as feature splits. This may not be set if no ID was assigned.
.aapt.pb.PackageId package_id = 1;- Returns:
- Whether the packageId field is set.
-
getPackageId
Resources.PackageId getPackageId()
The package ID of this package, in the range [0x00, 0xff]. - ID 0x00 is reserved for shared libraries, or when the ID is assigned at run-time. - ID 0x01 is reserved for the 'android' package (framework). - ID range [0x02, 0x7f) is reserved for auto-assignment to shared libraries at run-time. - ID 0x7f is reserved for the application package. - IDs > 0x7f are reserved for the application as well and are treated as feature splits. This may not be set if no ID was assigned.
.aapt.pb.PackageId package_id = 1;- Returns:
- The packageId.
-
getPackageIdOrBuilder
Resources.PackageIdOrBuilder getPackageIdOrBuilder()
The package ID of this package, in the range [0x00, 0xff]. - ID 0x00 is reserved for shared libraries, or when the ID is assigned at run-time. - ID 0x01 is reserved for the 'android' package (framework). - ID range [0x02, 0x7f) is reserved for auto-assignment to shared libraries at run-time. - ID 0x7f is reserved for the application package. - IDs > 0x7f are reserved for the application as well and are treated as feature splits. This may not be set if no ID was assigned.
.aapt.pb.PackageId package_id = 1;
-
getPackageName
java.lang.String getPackageName()
The Java compatible Android package name of the app.
string package_name = 2;- Returns:
- The packageName.
-
getPackageNameBytes
com.google.protobuf.ByteString getPackageNameBytes()
The Java compatible Android package name of the app.
string package_name = 2;- Returns:
- The bytes for packageName.
-
getTypeList
java.util.List<Resources.Type> getTypeList()
The series of types defined by the package.
repeated .aapt.pb.Type type = 3;
-
getType
Resources.Type getType(int index)
The series of types defined by the package.
repeated .aapt.pb.Type type = 3;
-
getTypeCount
int getTypeCount()
The series of types defined by the package.
repeated .aapt.pb.Type type = 3;
-
getTypeOrBuilderList
java.util.List<? extends Resources.TypeOrBuilder> getTypeOrBuilderList()
The series of types defined by the package.
repeated .aapt.pb.Type type = 3;
-
getTypeOrBuilder
Resources.TypeOrBuilder getTypeOrBuilder(int index)
The series of types defined by the package.
repeated .aapt.pb.Type type = 3;
-
-