booster / com.didiglobal.booster.aapt2 / Resources / Item

Item

class Item : GeneratedMessageV3, ItemOrBuilder


    An Item is an abstract type. It represents a value that can appear inline in many places, such
    as XML attribute values or on the right hand side of style attribute definitions. The concrete
    type is one of the types below. Only one can be set.
    
Protobuf type aapt.pb.Item

Types

Builder


      An Item is an abstract type. It represents a value that can appear inline in many places, such
      as XML attribute values or on the right hand side of style attribute definitions. The concrete
      type is one of the types below. Only one can be set.
      
Protobuf type aapt.pb.Item

class Builder : Builder<Builder!>, ItemOrBuilder

ValueCase

class ValueCase : EnumLite, InternalOneOfEnum

Properties

FILE_FIELD_NUMBER

static val FILE_FIELD_NUMBER: Int

ID_FIELD_NUMBER

static val ID_FIELD_NUMBER: Int

PRIM_FIELD_NUMBER

static val PRIM_FIELD_NUMBER: Int

RAW_STR_FIELD_NUMBER

static val RAW_STR_FIELD_NUMBER: Int

REF_FIELD_NUMBER

static val REF_FIELD_NUMBER: Int

STR_FIELD_NUMBER

static val STR_FIELD_NUMBER: Int

STYLED_STR_FIELD_NUMBER

static val STYLED_STR_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getDefaultInstance

static fun getDefaultInstance(): Item!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Item!

getDescriptor

static fun getDescriptor(): Descriptor!

getFile

.aapt.pb.FileReference file = 5;

fun getFile(): FileReference!

getFileOrBuilder

.aapt.pb.FileReference file = 5;

fun getFileOrBuilder(): FileReferenceOrBuilder!

getId

.aapt.pb.Id id = 6;

fun getId(): Id!

getIdOrBuilder

.aapt.pb.Id id = 6;

fun getIdOrBuilder(): IdOrBuilder!

getParserForType

fun getParserForType(): Parser<Item!>!

getPrim

.aapt.pb.Primitive prim = 7;

fun getPrim(): Primitive!

getPrimOrBuilder

.aapt.pb.Primitive prim = 7;

fun getPrimOrBuilder(): PrimitiveOrBuilder!

getRawStr

.aapt.pb.RawString raw_str = 3;

fun getRawStr(): RawString!

getRawStrOrBuilder

.aapt.pb.RawString raw_str = 3;

fun getRawStrOrBuilder(): RawStringOrBuilder!

getRef

.aapt.pb.Reference ref = 1;

fun getRef(): Reference!

getRefOrBuilder

.aapt.pb.Reference ref = 1;

fun getRefOrBuilder(): ReferenceOrBuilder!

getSerializedSize

fun getSerializedSize(): Int

getStr

.aapt.pb.String str = 2;

fun getStr(): String!

getStrOrBuilder

.aapt.pb.String str = 2;

fun getStrOrBuilder(): StringOrBuilder!

getStyledStr

.aapt.pb.StyledString styled_str = 4;

fun getStyledStr(): StyledString!

getStyledStrOrBuilder

.aapt.pb.StyledString styled_str = 4;

fun getStyledStrOrBuilder(): StyledStringOrBuilder!

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

getValueCase

fun getValueCase(): ValueCase!

hasFile

.aapt.pb.FileReference file = 5;

fun hasFile(): Boolean

hashCode

fun hashCode(): Int

hasId

.aapt.pb.Id id = 6;

fun hasId(): Boolean

hasPrim

.aapt.pb.Primitive prim = 7;

fun hasPrim(): Boolean

hasRawStr

.aapt.pb.RawString raw_str = 3;

fun hasRawStr(): Boolean

hasRef

.aapt.pb.Reference ref = 1;

fun hasRef(): Boolean

hasStr

.aapt.pb.String str = 2;

fun hasStr(): Boolean

hasStyledStr

.aapt.pb.StyledString styled_str = 4;

fun hasStyledStr(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

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

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit