booster / com.didiglobal.booster.aapt2 / Resources / Styleable / Builder

Builder

class Builder : Builder<Builder!>, StyleableOrBuilder


      A value that represents a <declare-styleable> XML resource. These are not real resources and
      only end up as Java fields in the generated R.java. They do not end up in the binary ARSC file.
      
Protobuf type aapt.pb.Styleable

Functions

addAllEntry


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun addAllEntry(values: MutableIterable<Entry!>!): Builder!

addEntry


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun addEntry(value: Entry!): Builder!
fun addEntry(index: Int, value: Entry!): Builder!
fun addEntry(builderForValue: Builder!): Builder!
fun addEntry(index: Int, builderForValue: Builder!): Builder!

addEntryBuilder


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun addEntryBuilder(): Builder!
fun addEntryBuilder(index: Int): Builder!

addRepeatedField

fun addRepeatedField(field: FieldDescriptor!, value: Any!): Builder!

build

fun build(): Styleable!

buildPartial

fun buildPartial(): Styleable!

clear

fun clear(): Builder!

clearEntry


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun clearEntry(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Styleable!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getEntry


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun getEntry(index: Int): Entry!

getEntryBuilder


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun getEntryBuilder(index: Int): Builder!

getEntryBuilderList


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun getEntryBuilderList(): MutableList<Builder!>!

getEntryCount


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun getEntryCount(): Int

getEntryList


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun getEntryList(): MutableList<Entry!>!

getEntryOrBuilder


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun getEntryOrBuilder(index: Int): EntryOrBuilder!

getEntryOrBuilderList


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun getEntryOrBuilderList(): MutableList<out EntryOrBuilder!>!

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

fun mergeFrom(other: Message!): Builder!
fun mergeFrom(other: Styleable!): Builder!
fun mergeFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

removeEntry


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun removeEntry(index: Int): Builder!

setEntry


        The set of attribute declarations.
        
repeated .aapt.pb.Styleable.Entry entry = 1;

fun setEntry(index: Int, value: Entry!): Builder!
fun setEntry(index: Int, builderForValue: Builder!): Builder!

setField

fun setField(field: FieldDescriptor!, value: Any!): Builder!

setRepeatedField

fun setRepeatedField(field: FieldDescriptor!, index: Int, value: Any!): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!