booster / com.didiglobal.booster.aapt2 / ResourcesInternal / CompiledFile

CompiledFile

class CompiledFile : GeneratedMessageV3, CompiledFileOrBuilder


    The top level message representing an external resource file (layout XML, PNG, etc).
    This is used to represent a compiled file before it is linked. Only useful to aapt2.
    
Protobuf type aapt.pb.internal.CompiledFile

Types

Builder


      The top level message representing an external resource file (layout XML, PNG, etc).
      This is used to represent a compiled file before it is linked. Only useful to aapt2.
      
Protobuf type aapt.pb.internal.CompiledFile

class Builder : Builder<Builder!>, CompiledFileOrBuilder

Symbol

Protobuf type aapt.pb.internal.CompiledFile.Symbol

class Symbol : GeneratedMessageV3, SymbolOrBuilder

SymbolOrBuilder

interface SymbolOrBuilder : MessageOrBuilder

Properties

CONFIG_FIELD_NUMBER

static val CONFIG_FIELD_NUMBER: Int

EXPORTED_SYMBOL_FIELD_NUMBER

static val EXPORTED_SYMBOL_FIELD_NUMBER: Int

RESOURCE_NAME_FIELD_NUMBER

static val RESOURCE_NAME_FIELD_NUMBER: Int

SOURCE_PATH_FIELD_NUMBER

static val SOURCE_PATH_FIELD_NUMBER: Int

TYPE_FIELD_NUMBER

static val TYPE_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getConfig


      The configuration for which the resource is defined.
      
.aapt.pb.Configuration config = 2;

fun getConfig(): Configuration!

getConfigOrBuilder


      The configuration for which the resource is defined.
      
.aapt.pb.Configuration config = 2;

fun getConfigOrBuilder(): ConfigurationOrBuilder!

getDefaultInstance

static fun getDefaultInstance(): CompiledFile!

getDefaultInstanceForType

fun getDefaultInstanceForType(): CompiledFile!

getDescriptor

static fun getDescriptor(): Descriptor!

getExportedSymbol


      Any symbols this file auto-generates/exports (eg. @+id/foo in an XML file).
      
repeated .aapt.pb.internal.CompiledFile.Symbol exported_symbol = 5;

fun getExportedSymbol(index: Int): Symbol!

getExportedSymbolCount


      Any symbols this file auto-generates/exports (eg. @+id/foo in an XML file).
      
repeated .aapt.pb.internal.CompiledFile.Symbol exported_symbol = 5;

fun getExportedSymbolCount(): Int

getExportedSymbolList


      Any symbols this file auto-generates/exports (eg. @+id/foo in an XML file).
      
repeated .aapt.pb.internal.CompiledFile.Symbol exported_symbol = 5;

fun getExportedSymbolList(): MutableList<Symbol!>!

getExportedSymbolOrBuilder


      Any symbols this file auto-generates/exports (eg. @+id/foo in an XML file).
      
repeated .aapt.pb.internal.CompiledFile.Symbol exported_symbol = 5;

fun getExportedSymbolOrBuilder(index: Int): SymbolOrBuilder!

getExportedSymbolOrBuilderList


      Any symbols this file auto-generates/exports (eg. @+id/foo in an XML file).
      
repeated .aapt.pb.internal.CompiledFile.Symbol exported_symbol = 5;

fun getExportedSymbolOrBuilderList(): MutableList<out SymbolOrBuilder!>!

getParserForType

fun getParserForType(): Parser<CompiledFile!>!

getResourceName


      The name of the resource (in the form package:type/name).
      
string resource_name = 1;

fun getResourceName(): String!

getResourceNameBytes


      The name of the resource (in the form package:type/name).
      
string resource_name = 1;

fun getResourceNameBytes(): ByteString!

getSerializedSize

fun getSerializedSize(): Int

getSourcePath


      The filesystem path to where the source file originated.
      Mainly used to display helpful error messages.
      
string source_path = 4;

fun getSourcePath(): String!

getSourcePathBytes


      The filesystem path to where the source file originated.
      Mainly used to display helpful error messages.
      
string source_path = 4;

fun getSourcePathBytes(): ByteString!

getType


      The type of the file.
      
.aapt.pb.FileReference.Type type = 3;

fun getType(): Type!

getTypeValue


      The type of the file.
      
.aapt.pb.FileReference.Type type = 3;

fun getTypeValue(): Int

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

hasConfig


      The configuration for which the resource is defined.
      
.aapt.pb.Configuration config = 2;

fun hasConfig(): Boolean

hashCode

fun hashCode(): Int

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

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

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit