booster / com.didiglobal.booster.aapt2 / Resources / Value

Value

class Value : GeneratedMessageV3, ValueOrBuilder


    The generic meta-data for every value in a resource table.
    
Protobuf type aapt.pb.Value

Types

Builder


      The generic meta-data for every value in a resource table.
      
Protobuf type aapt.pb.Value

class Builder : Builder<Builder!>, ValueOrBuilder

ValueCase

class ValueCase : EnumLite, InternalOneOfEnum

Properties

COMMENT_FIELD_NUMBER

static val COMMENT_FIELD_NUMBER: Int

COMPOUND_VALUE_FIELD_NUMBER

static val COMPOUND_VALUE_FIELD_NUMBER: Int

ITEM_FIELD_NUMBER

static val ITEM_FIELD_NUMBER: Int

SOURCE_FIELD_NUMBER

static val SOURCE_FIELD_NUMBER: Int

WEAK_FIELD_NUMBER

static val WEAK_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getComment


      Any comment associated with the value.
      
string comment = 2;

fun getComment(): String!

getCommentBytes


      Any comment associated with the value.
      
string comment = 2;

fun getCommentBytes(): ByteString!

getCompoundValue

.aapt.pb.CompoundValue compound_value = 5;

fun getCompoundValue(): CompoundValue!

getCompoundValueOrBuilder

.aapt.pb.CompoundValue compound_value = 5;

fun getCompoundValueOrBuilder(): CompoundValueOrBuilder!

getDefaultInstance

static fun getDefaultInstance(): Value!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Value!

getDescriptor

static fun getDescriptor(): Descriptor!

getItem

.aapt.pb.Item item = 4;

fun getItem(): Item!

getItemOrBuilder

.aapt.pb.Item item = 4;

fun getItemOrBuilder(): ItemOrBuilder!

getParserForType

fun getParserForType(): Parser<Value!>!

getSerializedSize

fun getSerializedSize(): Int

getSource


      Where the value was defined.
      
.aapt.pb.Source source = 1;

fun getSource(): Source!

getSourceOrBuilder


      Where the value was defined.
      
.aapt.pb.Source source = 1;

fun getSourceOrBuilder(): SourceOrBuilder!

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

getValueCase

fun getValueCase(): ValueCase!

getWeak


      Whether the value can be overridden.
      
bool weak = 3;

fun getWeak(): Boolean

hasCompoundValue

.aapt.pb.CompoundValue compound_value = 5;

fun hasCompoundValue(): Boolean

hashCode

fun hashCode(): Int

hasItem

.aapt.pb.Item item = 4;

fun hasItem(): Boolean

hasSource


      Where the value 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: Value!): Builder!

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit