booster / com.didiglobal.booster.aapt2 / Resources / StyledString

StyledString

class StyledString : GeneratedMessageV3, StyledStringOrBuilder


    A string with styling information, like html tags that specify boldness, italics, etc.
    
Protobuf type aapt.pb.StyledString

Types

Builder


      A string with styling information, like html tags that specify boldness, italics, etc.
      
Protobuf type aapt.pb.StyledString

class Builder : Builder<Builder!>, StyledStringOrBuilder

Span


      A Span marks a region of the string text that is styled.
      
Protobuf type aapt.pb.StyledString.Span

class Span : GeneratedMessageV3, SpanOrBuilder

SpanOrBuilder

interface SpanOrBuilder : MessageOrBuilder

Properties

SPAN_FIELD_NUMBER

static val SPAN_FIELD_NUMBER: Int

VALUE_FIELD_NUMBER

static val VALUE_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getDefaultInstance

static fun getDefaultInstance(): StyledString!

getDefaultInstanceForType

fun getDefaultInstanceForType(): StyledString!

getDescriptor

static fun getDescriptor(): Descriptor!

getParserForType

fun getParserForType(): Parser<StyledString!>!

getSerializedSize

fun getSerializedSize(): Int

getSpan

repeated .aapt.pb.StyledString.Span span = 2;

fun getSpan(index: Int): Span!

getSpanCount

repeated .aapt.pb.StyledString.Span span = 2;

fun getSpanCount(): Int

getSpanList

repeated .aapt.pb.StyledString.Span span = 2;

fun getSpanList(): MutableList<Span!>!

getSpanOrBuilder

repeated .aapt.pb.StyledString.Span span = 2;

fun getSpanOrBuilder(index: Int): SpanOrBuilder!

getSpanOrBuilderList

repeated .aapt.pb.StyledString.Span span = 2;

fun getSpanOrBuilderList(): MutableList<out SpanOrBuilder!>!

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

getValue


      The raw text of the string.
      
string value = 1;

fun getValue(): String!

getValueBytes


      The raw text of the string.
      
string value = 1;

fun getValueBytes(): ByteString!

hashCode

fun hashCode(): Int

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

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

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit