booster / com.didiglobal.booster.aapt2 / Resources / Attribute / Symbol

Symbol

class Symbol : GeneratedMessageV3, SymbolOrBuilder


      A Symbol used to represent an enum or a flag.
      
Protobuf type aapt.pb.Attribute.Symbol

Types

Builder


        A Symbol used to represent an enum or a flag.
        
Protobuf type aapt.pb.Attribute.Symbol

class Builder : Builder<Builder!>, SymbolOrBuilder

Properties

COMMENT_FIELD_NUMBER

static val COMMENT_FIELD_NUMBER: Int

NAME_FIELD_NUMBER

static val NAME_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

getComment


        Any comments associated with the enum or flag.
        
string comment = 2;

fun getComment(): String!

getCommentBytes


        Any comments associated with the enum or flag.
        
string comment = 2;

fun getCommentBytes(): ByteString!

getDefaultInstance

static fun getDefaultInstance(): Symbol!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Symbol!

getDescriptor

static fun getDescriptor(): Descriptor!

getName


        The name of the enum/flag as a reference. Enums/flag items are generated as ID resource
        values.
        
.aapt.pb.Reference name = 3;

fun getName(): Reference!

getNameOrBuilder


        The name of the enum/flag as a reference. Enums/flag items are generated as ID resource
        values.
        
.aapt.pb.Reference name = 3;

fun getNameOrBuilder(): ReferenceOrBuilder!

getParserForType

fun getParserForType(): Parser<Symbol!>!

getSerializedSize

fun getSerializedSize(): Int

getSource


        Where the enum/flag item was defined.
        
.aapt.pb.Source source = 1;

fun getSource(): Source!

getSourceOrBuilder


        Where the enum/flag item was defined.
        
.aapt.pb.Source source = 1;

fun getSourceOrBuilder(): SourceOrBuilder!

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

getValue


        The value of the enum/flag.
        
uint32 value = 4;

fun getValue(): Int

hashCode

fun hashCode(): Int

hasName


        The name of the enum/flag as a reference. Enums/flag items are generated as ID resource
        values.
        
.aapt.pb.Reference name = 3;

fun hasName(): Boolean

hasSource


        Where the enum/flag item was defined.
        
.aapt.pb.Source source = 1;

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

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

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit