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

FileReference

class FileReference : GeneratedMessageV3, FileReferenceOrBuilder


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

Types

Builder


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

class Builder : Builder<Builder!>, FileReferenceOrBuilder

Type

Protobuf enum aapt.pb.FileReference.Type

class Type : ProtocolMessageEnum

Properties

PATH_FIELD_NUMBER

static val PATH_FIELD_NUMBER: Int

TYPE_FIELD_NUMBER

static val TYPE_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getDefaultInstance

static fun getDefaultInstance(): FileReference!

getDefaultInstanceForType

fun getDefaultInstanceForType(): FileReference!

getDescriptor

static fun getDescriptor(): Descriptor!

getParserForType

fun getParserForType(): Parser<FileReference!>!

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!

getSerializedSize

fun getSerializedSize(): Int

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

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

hashCode

fun hashCode(): Int

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

static fun newBuilder(): Builder!
static fun newBuilder(prototype: FileReference!): Builder!

newBuilderForType

fun newBuilderForType(): Builder!
fun newBuilderForType(parent: BuilderParent!): Builder!

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

static fun parseDelimitedFrom(input: InputStream!): FileReference!
static fun parseDelimitedFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): FileReference!

parseFrom

static fun parseFrom(data: ByteBuffer!): FileReference!
static fun parseFrom(data: ByteBuffer!, extensionRegistry: ExtensionRegistryLite!): FileReference!
static fun parseFrom(data: ByteString!): FileReference!
static fun parseFrom(data: ByteString!, extensionRegistry: ExtensionRegistryLite!): FileReference!
static fun parseFrom(data: ByteArray!): FileReference!
static fun parseFrom(data: ByteArray!, extensionRegistry: ExtensionRegistryLite!): FileReference!
static fun parseFrom(input: InputStream!): FileReference!
static fun parseFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): FileReference!
static fun parseFrom(input: CodedInputStream!): FileReference!
static fun parseFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): FileReference!

parser

static fun parser(): Parser<FileReference!>!

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit