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

Builder

class Builder : Builder<Builder!>, SymbolOrBuilder

Protobuf type aapt.pb.internal.CompiledFile.Symbol

Functions

addRepeatedField

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

build

fun build(): Symbol!

buildPartial

fun buildPartial(): Symbol!

clear

fun clear(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearResourceName


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

fun clearResourceName(): Builder!

clearSource


          The position in the file at which this symbol is defined. For debug use.
          
.aapt.pb.SourcePosition source = 2;

fun clearSource(): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Symbol!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getResourceName


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

fun getResourceName(): String!

getResourceNameBytes


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

fun getResourceNameBytes(): ByteString!

getSource


          The position in the file at which this symbol is defined. For debug use.
          
.aapt.pb.SourcePosition source = 2;

fun getSource(): SourcePosition!

getSourceBuilder


          The position in the file at which this symbol is defined. For debug use.
          
.aapt.pb.SourcePosition source = 2;

fun getSourceBuilder(): Builder!

getSourceOrBuilder


          The position in the file at which this symbol is defined. For debug use.
          
.aapt.pb.SourcePosition source = 2;

fun getSourceOrBuilder(): SourcePositionOrBuilder!

hasSource


          The position in the file at which this symbol is defined. For debug use.
          
.aapt.pb.SourcePosition source = 2;

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeSource


          The position in the file at which this symbol is defined. For debug use.
          
.aapt.pb.SourcePosition source = 2;

fun mergeSource(value: SourcePosition!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setField

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

setRepeatedField

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

setResourceName


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

fun setResourceName(value: String!): Builder!

setResourceNameBytes


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

fun setResourceNameBytes(value: ByteString!): Builder!

setSource


          The position in the file at which this symbol is defined. For debug use.
          
.aapt.pb.SourcePosition source = 2;

fun setSource(value: SourcePosition!): Builder!
fun setSource(builderForValue: Builder!): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!