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

Builder

class Builder : Builder<Builder!>, ArrayOrBuilder


      A value that represents an array of resource values.
      
Protobuf type aapt.pb.Array

Functions

addAllElement


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun addAllElement(values: MutableIterable<Element!>!): Builder!

addElement


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun addElement(value: Element!): Builder!
fun addElement(index: Int, value: Element!): Builder!
fun addElement(builderForValue: Builder!): Builder!
fun addElement(index: Int, builderForValue: Builder!): Builder!

addElementBuilder


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

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

addRepeatedField

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

build

fun build(): Array!

buildPartial

fun buildPartial(): Array!

clear

fun clear(): Builder!

clearElement


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun clearElement(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Array!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getElement


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun getElement(index: Int): Element!

getElementBuilder


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun getElementBuilder(index: Int): Builder!

getElementBuilderList


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun getElementBuilderList(): MutableList<Builder!>!

getElementCount


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun getElementCount(): Int

getElementList


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun getElementList(): MutableList<Element!>!

getElementOrBuilder


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun getElementOrBuilder(index: Int): ElementOrBuilder!

getElementOrBuilderList


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun getElementOrBuilderList(): MutableList<out ElementOrBuilder!>!

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

removeElement


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun removeElement(index: Int): Builder!

setElement


        The list of array elements.
        
repeated .aapt.pb.Array.Element element = 1;

fun setElement(index: Int, value: Element!): Builder!
fun setElement(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!