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

Builder

class Builder : Builder<Builder!>, SourceOrBuilder


      Developer friendly source file information for an entity in the resource table.
      
Protobuf type aapt.pb.Source

Functions

addRepeatedField

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

build

fun build(): Source!

buildPartial

fun buildPartial(): Source!

clear

fun clear(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearPathIdx


        The index of the string path within the source string pool of a ResourceTable.
        
uint32 path_idx = 1;

fun clearPathIdx(): Builder!

clearPosition

.aapt.pb.SourcePosition position = 2;

fun clearPosition(): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Source!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getPathIdx


        The index of the string path within the source string pool of a ResourceTable.
        
uint32 path_idx = 1;

fun getPathIdx(): Int

getPosition

.aapt.pb.SourcePosition position = 2;

fun getPosition(): SourcePosition!

getPositionBuilder

.aapt.pb.SourcePosition position = 2;

fun getPositionBuilder(): Builder!

getPositionOrBuilder

.aapt.pb.SourcePosition position = 2;

fun getPositionOrBuilder(): SourcePositionOrBuilder!

hasPosition

.aapt.pb.SourcePosition position = 2;

fun hasPosition(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergePosition

.aapt.pb.SourcePosition position = 2;

fun mergePosition(value: SourcePosition!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setField

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

setPathIdx


        The index of the string path within the source string pool of a ResourceTable.
        
uint32 path_idx = 1;

fun setPathIdx(value: Int): Builder!

setPosition

.aapt.pb.SourcePosition position = 2;

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

setRepeatedField

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!