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

Builder

class Builder : Builder<Builder!>, ResourceTableOrBuilder


      Top level message representing a resource table.
      
Protobuf type aapt.pb.ResourceTable

Functions

addAllPackage


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun addAllPackage(values: MutableIterable<Package!>!): Builder!

addPackage


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun addPackage(value: Package!): Builder!
fun addPackage(index: Int, value: Package!): Builder!
fun addPackage(builderForValue: Builder!): Builder!
fun addPackage(index: Int, builderForValue: Builder!): Builder!

addPackageBuilder


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

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

addRepeatedField

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

build

fun build(): ResourceTable!

buildPartial

fun buildPartial(): ResourceTable!

clear

fun clear(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearPackage


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun clearPackage(): Builder!

clearSourcePool


        The string pool containing source paths referenced throughout the resource table. This does
        not end up in the final binary ARSC file.
        
.aapt.pb.StringPool source_pool = 1;

fun clearSourcePool(): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): ResourceTable!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getPackage


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun getPackage(index: Int): Package!

getPackageBuilder


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun getPackageBuilder(index: Int): Builder!

getPackageBuilderList


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun getPackageBuilderList(): MutableList<Builder!>!

getPackageCount


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun getPackageCount(): Int

getPackageList


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun getPackageList(): MutableList<Package!>!

getPackageOrBuilder


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun getPackageOrBuilder(index: Int): PackageOrBuilder!

getPackageOrBuilderList


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun getPackageOrBuilderList(): MutableList<out PackageOrBuilder!>!

getSourcePool


        The string pool containing source paths referenced throughout the resource table. This does
        not end up in the final binary ARSC file.
        
.aapt.pb.StringPool source_pool = 1;

fun getSourcePool(): StringPool!

getSourcePoolBuilder


        The string pool containing source paths referenced throughout the resource table. This does
        not end up in the final binary ARSC file.
        
.aapt.pb.StringPool source_pool = 1;

fun getSourcePoolBuilder(): Builder!

getSourcePoolOrBuilder


        The string pool containing source paths referenced throughout the resource table. This does
        not end up in the final binary ARSC file.
        
.aapt.pb.StringPool source_pool = 1;

fun getSourcePoolOrBuilder(): StringPoolOrBuilder!

hasSourcePool


        The string pool containing source paths referenced throughout the resource table. This does
        not end up in the final binary ARSC file.
        
.aapt.pb.StringPool source_pool = 1;

fun hasSourcePool(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeSourcePool


        The string pool containing source paths referenced throughout the resource table. This does
        not end up in the final binary ARSC file.
        
.aapt.pb.StringPool source_pool = 1;

fun mergeSourcePool(value: StringPool!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

removePackage


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun removePackage(index: Int): Builder!

setField

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

setPackage


        Resource definitions corresponding to an Android package.
        
repeated .aapt.pb.Package package = 2;

fun setPackage(index: Int, value: Package!): Builder!
fun setPackage(index: Int, builderForValue: Builder!): Builder!

setRepeatedField

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

setSourcePool


        The string pool containing source paths referenced throughout the resource table. This does
        not end up in the final binary ARSC file.
        
.aapt.pb.StringPool source_pool = 1;

fun setSourcePool(value: StringPool!): Builder!
fun setSourcePool(builderForValue: Builder!): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!