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

Builder

class Builder : Builder<Builder!>, FileReferenceOrBuilder


      A value that is a reference to an external entity, like an XML file or a PNG.
      
Protobuf type aapt.pb.FileReference

Functions

addRepeatedField

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

build

fun build(): FileReference!

buildPartial

fun buildPartial(): FileReference!

clear

fun clear(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearPath


        Path to a file within the APK (typically res/type-config/entry.ext).
        
string path = 1;

fun clearPath(): Builder!

clearType


        The type of file this path points to. For UAM bundle, this cannot be
        BINARY_XML.
        
.aapt.pb.FileReference.Type type = 2;

fun clearType(): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): FileReference!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getPath


        Path to a file within the APK (typically res/type-config/entry.ext).
        
string path = 1;

fun getPath(): String!

getPathBytes


        Path to a file within the APK (typically res/type-config/entry.ext).
        
string path = 1;

fun getPathBytes(): ByteString!

getType


        The type of file this path points to. For UAM bundle, this cannot be
        BINARY_XML.
        
.aapt.pb.FileReference.Type type = 2;

fun getType(): Type!

getTypeValue


        The type of file this path points to. For UAM bundle, this cannot be
        BINARY_XML.
        
.aapt.pb.FileReference.Type type = 2;

fun getTypeValue(): Int

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setField

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

setPath


        Path to a file within the APK (typically res/type-config/entry.ext).
        
string path = 1;

fun setPath(value: String!): Builder!

setPathBytes


        Path to a file within the APK (typically res/type-config/entry.ext).
        
string path = 1;

fun setPathBytes(value: ByteString!): Builder!

setRepeatedField

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

setType


        The type of file this path points to. For UAM bundle, this cannot be
        BINARY_XML.
        
.aapt.pb.FileReference.Type type = 2;

fun setType(value: Type!): Builder!

setTypeValue


        The type of file this path points to. For UAM bundle, this cannot be
        BINARY_XML.
        
.aapt.pb.FileReference.Type type = 2;

fun setTypeValue(value: Int): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!