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

Builder

class Builder : Builder<Builder!>, XmlNamespaceOrBuilder


      A namespace declaration on an XmlElement (xmlns:android="http://...").
      
Protobuf type aapt.pb.XmlNamespace

Functions

addRepeatedField

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

build

fun build(): XmlNamespace!

buildPartial

fun buildPartial(): XmlNamespace!

clear

fun clear(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearPrefix

string prefix = 1;

fun clearPrefix(): Builder!

clearSource


        Source line and column info.
        
.aapt.pb.SourcePosition source = 3;

fun clearSource(): Builder!

clearUri

string uri = 2;

fun clearUri(): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): XmlNamespace!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getPrefix

string prefix = 1;

fun getPrefix(): String!

getPrefixBytes

string prefix = 1;

fun getPrefixBytes(): ByteString!

getSource


        Source line and column info.
        
.aapt.pb.SourcePosition source = 3;

fun getSource(): SourcePosition!

getSourceBuilder


        Source line and column info.
        
.aapt.pb.SourcePosition source = 3;

fun getSourceBuilder(): Builder!

getSourceOrBuilder


        Source line and column info.
        
.aapt.pb.SourcePosition source = 3;

fun getSourceOrBuilder(): SourcePositionOrBuilder!

getUri

string uri = 2;

fun getUri(): String!

getUriBytes

string uri = 2;

fun getUriBytes(): ByteString!

hasSource


        Source line and column info.
        
.aapt.pb.SourcePosition source = 3;

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeSource


        Source line and column info.
        
.aapt.pb.SourcePosition source = 3;

fun mergeSource(value: SourcePosition!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setField

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

setPrefix

string prefix = 1;

fun setPrefix(value: String!): Builder!

setPrefixBytes

string prefix = 1;

fun setPrefixBytes(value: ByteString!): Builder!

setRepeatedField

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

setSource


        Source line and column info.
        
.aapt.pb.SourcePosition source = 3;

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setUri

string uri = 2;

fun setUri(value: String!): Builder!

setUriBytes

string uri = 2;

fun setUriBytes(value: ByteString!): Builder!