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 Details

    • 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

      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

      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

      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;