booster / com.didiglobal.booster.aapt2 / Resources / ReferenceOrBuilder

ReferenceOrBuilder

interface ReferenceOrBuilder : MessageOrBuilder

Functions

getId


      The resource ID (0xPPTTEEEE) of the resource being referred. This is optional.
      
uint32 id = 2;

abstract fun getId(): Int

getName


      The name of the resource being referred. This is optional if the resource ID is set.
      
string name = 3;

abstract fun getName(): String!

getNameBytes


      The name of the resource being referred. This is optional if the resource ID is set.
      
string name = 3;

abstract fun getNameBytes(): ByteString!

getPrivate


      Whether this reference is referencing a private resource (@*package:type/entry).
      
bool private = 4;

abstract fun getPrivate(): Boolean

getType

.aapt.pb.Reference.Type type = 1;

abstract fun getType(): Type!

getTypeValue

.aapt.pb.Reference.Type type = 1;

abstract fun getTypeValue(): Int