booster / com.didiglobal.booster.aapt2 / Resources / Style

Style

class Style : GeneratedMessageV3, StyleOrBuilder


    A value that represents a style.
    
Protobuf type aapt.pb.Style

Types

Builder


      A value that represents a style.
      
Protobuf type aapt.pb.Style

class Builder : Builder<Builder!>, StyleOrBuilder

Entry


      An XML attribute/value pair defined in the style.
      
Protobuf type aapt.pb.Style.Entry

class Entry : GeneratedMessageV3, EntryOrBuilder

EntryOrBuilder

interface EntryOrBuilder : MessageOrBuilder

Properties

ENTRY_FIELD_NUMBER

static val ENTRY_FIELD_NUMBER: Int

PARENT_FIELD_NUMBER

static val PARENT_FIELD_NUMBER: Int

PARENT_SOURCE_FIELD_NUMBER

static val PARENT_SOURCE_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getDefaultInstance

static fun getDefaultInstance(): Style!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Style!

getDescriptor

static fun getDescriptor(): Descriptor!

getEntry


      The set of XML attribute/value pairs for this style.
      
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntry(index: Int): Entry!

getEntryCount


      The set of XML attribute/value pairs for this style.
      
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryCount(): Int

getEntryList


      The set of XML attribute/value pairs for this style.
      
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryList(): MutableList<Entry!>!

getEntryOrBuilder


      The set of XML attribute/value pairs for this style.
      
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryOrBuilder(index: Int): EntryOrBuilder!

getEntryOrBuilderList


      The set of XML attribute/value pairs for this style.
      
repeated .aapt.pb.Style.Entry entry = 3;

fun getEntryOrBuilderList(): MutableList<out EntryOrBuilder!>!

getParent


      The optinal style from which this style inherits attributes.
      
.aapt.pb.Reference parent = 1;

fun getParent(): Reference!

getParentOrBuilder


      The optinal style from which this style inherits attributes.
      
.aapt.pb.Reference parent = 1;

fun getParentOrBuilder(): ReferenceOrBuilder!

getParentSource


      The source file information of the parent inheritance declaration.
      
.aapt.pb.Source parent_source = 2;

fun getParentSource(): Source!

getParentSourceOrBuilder


      The source file information of the parent inheritance declaration.
      
.aapt.pb.Source parent_source = 2;

fun getParentSourceOrBuilder(): SourceOrBuilder!

getParserForType

fun getParserForType(): Parser<Style!>!

getSerializedSize

fun getSerializedSize(): Int

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

hashCode

fun hashCode(): Int

hasParent


      The optinal style from which this style inherits attributes.
      
.aapt.pb.Reference parent = 1;

fun hasParent(): Boolean

hasParentSource


      The source file information of the parent inheritance declaration.
      
.aapt.pb.Source parent_source = 2;

fun hasParentSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

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

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit