booster / com.didiglobal.booster.aapt2 / Resources / PackageOrBuilder

PackageOrBuilder

interface PackageOrBuilder : MessageOrBuilder

Functions

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;

abstract fun getPackageId(): PackageId!

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;

abstract fun getPackageIdOrBuilder(): PackageIdOrBuilder!

getPackageName


      The Java compatible Android package name of the app.
      
string package_name = 2;

abstract fun getPackageName(): String!

getPackageNameBytes


      The Java compatible Android package name of the app.
      
string package_name = 2;

abstract fun getPackageNameBytes(): ByteString!

getType


      The series of types defined by the package.
      
repeated .aapt.pb.Type type = 3;

abstract fun getType(index: Int): Type!

getTypeCount


      The series of types defined by the package.
      
repeated .aapt.pb.Type type = 3;

abstract fun getTypeCount(): Int

getTypeList


      The series of types defined by the package.
      
repeated .aapt.pb.Type type = 3;

abstract fun getTypeList(): MutableList<Type!>!

getTypeOrBuilder


      The series of types defined by the package.
      
repeated .aapt.pb.Type type = 3;

abstract fun getTypeOrBuilder(index: Int): TypeOrBuilder!

getTypeOrBuilderList


      The series of types defined by the package.
      
repeated .aapt.pb.Type type = 3;

abstract fun getTypeOrBuilderList(): MutableList<out TypeOrBuilder!>!

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;

abstract fun hasPackageId(): Boolean