booster / com.didiglobal.booster.aapt2 / Resources / XmlAttribute

XmlAttribute

class XmlAttribute : GeneratedMessageV3, XmlAttributeOrBuilder


    An attribute defined on an XmlElement (android:text="...").
    
Protobuf type aapt.pb.XmlAttribute

Types

Builder


      An attribute defined on an XmlElement (android:text="...").
      
Protobuf type aapt.pb.XmlAttribute

class Builder : Builder<Builder!>, XmlAttributeOrBuilder

Properties

COMPILED_ITEM_FIELD_NUMBER

static val COMPILED_ITEM_FIELD_NUMBER: Int

NAME_FIELD_NUMBER

static val NAME_FIELD_NUMBER: Int

NAMESPACE_URI_FIELD_NUMBER

static val NAMESPACE_URI_FIELD_NUMBER: Int

RESOURCE_ID_FIELD_NUMBER

static val RESOURCE_ID_FIELD_NUMBER: Int

SOURCE_FIELD_NUMBER

static val SOURCE_FIELD_NUMBER: Int

VALUE_FIELD_NUMBER

static val VALUE_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getCompiledItem


      The optional interpreted/compiled version of the `value` string.
      
.aapt.pb.Item compiled_item = 6;

fun getCompiledItem(): Item!

getCompiledItemOrBuilder


      The optional interpreted/compiled version of the `value` string.
      
.aapt.pb.Item compiled_item = 6;

fun getCompiledItemOrBuilder(): ItemOrBuilder!

getDefaultInstance

static fun getDefaultInstance(): XmlAttribute!

getDefaultInstanceForType

fun getDefaultInstanceForType(): XmlAttribute!

getDescriptor

static fun getDescriptor(): Descriptor!

getName

string name = 2;

fun getName(): String!

getNameBytes

string name = 2;

fun getNameBytes(): ByteString!

getNamespaceUri

string namespace_uri = 1;

fun getNamespaceUri(): String!

getNamespaceUriBytes

string namespace_uri = 1;

fun getNamespaceUriBytes(): ByteString!

getParserForType

fun getParserForType(): Parser<XmlAttribute!>!

getResourceId


      The optional resource ID (0xPPTTEEEE) of the attribute.
      
uint32 resource_id = 5;

fun getResourceId(): Int

getSerializedSize

fun getSerializedSize(): Int

getSource


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

fun getSource(): SourcePosition!

getSourceOrBuilder


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

fun getSourceOrBuilder(): SourcePositionOrBuilder!

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

getValue

string value = 3;

fun getValue(): String!

getValueBytes

string value = 3;

fun getValueBytes(): ByteString!

hasCompiledItem


      The optional interpreted/compiled version of the `value` string.
      
.aapt.pb.Item compiled_item = 6;

fun hasCompiledItem(): Boolean

hashCode

fun hashCode(): Int

hasSource


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

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

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

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit