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

Builder

class Builder : Builder<Builder!>, StyleOrBuilder


      A value that represents a style.
      
Protobuf type aapt.pb.Style

Functions

addAllEntry


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

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

addEntry


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

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 XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

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

addRepeatedField

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

build

fun build(): Style!

buildPartial

fun buildPartial(): Style!

clear

fun clear(): Builder!

clearEntry


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun clearEntry(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearParent


        The optinal style from which this style inherits attributes.
        
.aapt.pb.Reference parent = 1;

fun clearParent(): Builder!

clearParentSource


        The source file information of the parent inheritance declaration.
        
.aapt.pb.Source parent_source = 2;

fun clearParentSource(): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Style!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getEntry


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntry(index: Int): Entry!

getEntryBuilder


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryBuilder(index: Int): Builder!

getEntryBuilderList


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryBuilderList(): MutableList<Builder!>!

getEntryCount


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryCount(): Int

getEntryList


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryList(): MutableList<Entry!>!

getEntryOrBuilder


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryOrBuilder(index: Int): EntryOrBuilder!

getEntryOrBuilderList


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

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

getParent


        The optinal style from which this style inherits attributes.
        
.aapt.pb.Reference parent = 1;

fun getParent(): Reference!

getParentBuilder


        The optinal style from which this style inherits attributes.
        
.aapt.pb.Reference parent = 1;

fun getParentBuilder(): Builder!

getParentOrBuilder


        The optinal style from which this style inherits attributes.
        
.aapt.pb.Reference parent = 1;

fun getParentOrBuilder(): ReferenceOrBuilder!

getParentSource


        The source file information of the parent inheritance declaration.
        
.aapt.pb.Source parent_source = 2;

fun getParentSource(): Source!

getParentSourceBuilder


        The source file information of the parent inheritance declaration.
        
.aapt.pb.Source parent_source = 2;

fun getParentSourceBuilder(): Builder!

getParentSourceOrBuilder


        The source file information of the parent inheritance declaration.
        
.aapt.pb.Source parent_source = 2;

fun getParentSourceOrBuilder(): SourceOrBuilder!

hasParent


        The optinal style from which this style inherits attributes.
        
.aapt.pb.Reference parent = 1;

fun hasParent(): Boolean

hasParentSource


        The source file information of the parent inheritance declaration.
        
.aapt.pb.Source parent_source = 2;

fun hasParentSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeParent


        The optinal style from which this style inherits attributes.
        
.aapt.pb.Reference parent = 1;

fun mergeParent(value: Reference!): Builder!

mergeParentSource


        The source file information of the parent inheritance declaration.
        
.aapt.pb.Source parent_source = 2;

fun mergeParentSource(value: Source!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

removeEntry


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

fun removeEntry(index: Int): Builder!

setEntry


        The set of XML attribute/value pairs for this style.
        
repeated .aapt.pb.Style.Entry entry = 3;

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

setField

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

setParent


        The optinal style from which this style inherits attributes.
        
.aapt.pb.Reference parent = 1;

fun setParent(value: Reference!): Builder!
fun setParent(builderForValue: Builder!): Builder!

setParentSource


        The source file information of the parent inheritance declaration.
        
.aapt.pb.Source parent_source = 2;

fun setParentSource(value: Source!): Builder!
fun setParentSource(builderForValue: Builder!): Builder!

setRepeatedField

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!