booster / com.didiglobal.booster.aapt2 / Resources / AttributeOrBuilder

AttributeOrBuilder

interface AttributeOrBuilder : MessageOrBuilder

Functions

getFormatFlags


      A bitmask of types that this XML attribute accepts. Corresponds to the flags in the
      enum FormatFlags.
      
uint32 format_flags = 1;

abstract fun getFormatFlags(): Int

getMaxInt


      The largest integer allowed for this XML attribute. Only makes sense if the format includes
      FormatFlags::INTEGER.
      
int32 max_int = 3;

abstract fun getMaxInt(): Int

getMinInt


      The smallest integer allowed for this XML attribute. Only makes sense if the format includes
      FormatFlags::INTEGER.
      
int32 min_int = 2;

abstract fun getMinInt(): Int

getSymbol


      The set of enums/flags defined in this attribute. Only makes sense if the format includes
      either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
      
repeated .aapt.pb.Attribute.Symbol symbol = 4;

abstract fun getSymbol(index: Int): Symbol!

getSymbolCount


      The set of enums/flags defined in this attribute. Only makes sense if the format includes
      either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
      
repeated .aapt.pb.Attribute.Symbol symbol = 4;

abstract fun getSymbolCount(): Int

getSymbolList


      The set of enums/flags defined in this attribute. Only makes sense if the format includes
      either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
      
repeated .aapt.pb.Attribute.Symbol symbol = 4;

abstract fun getSymbolList(): MutableList<Symbol!>!

getSymbolOrBuilder


      The set of enums/flags defined in this attribute. Only makes sense if the format includes
      either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
      
repeated .aapt.pb.Attribute.Symbol symbol = 4;

abstract fun getSymbolOrBuilder(index: Int): SymbolOrBuilder!

getSymbolOrBuilderList


      The set of enums/flags defined in this attribute. Only makes sense if the format includes
      either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
      
repeated .aapt.pb.Attribute.Symbol symbol = 4;

abstract fun getSymbolOrBuilderList(): MutableList<out SymbolOrBuilder!>!