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

Builder

class Builder : Builder<Builder!>, SourcePositionOrBuilder


      The position of a declared entity within a file.
      
Protobuf type aapt.pb.SourcePosition

Functions

addRepeatedField

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

build

fun build(): SourcePosition!

buildPartial

fun buildPartial(): SourcePosition!

clear

fun clear(): Builder!

clearColumnNumber

uint32 column_number = 2;

fun clearColumnNumber(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearLineNumber

uint32 line_number = 1;

fun clearLineNumber(): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clone

fun clone(): Builder!

getColumnNumber

uint32 column_number = 2;

fun getColumnNumber(): Int

getDefaultInstanceForType

fun getDefaultInstanceForType(): SourcePosition!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getLineNumber

uint32 line_number = 1;

fun getLineNumber(): Int

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setColumnNumber

uint32 column_number = 2;

fun setColumnNumber(value: Int): Builder!

setField

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

setLineNumber

uint32 line_number = 1;

fun setLineNumber(value: Int): Builder!

setRepeatedField

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!