class Primitive : GeneratedMessageV3, PrimitiveOrBuilder
A value that represents a primitive data type (float, int, boolean, etc.).
Refer to Res_value in ResourceTypes.h for info on types and formatting
Protobuf type aapt.pb.Primitive
Builder |
Protobuf type aapt.pb.Primitive
class Builder : Builder<Builder!>, PrimitiveOrBuilder |
EmptyType |
Protobuf type class EmptyType : GeneratedMessageV3, EmptyTypeOrBuilder |
EmptyTypeOrBuilder |
interface EmptyTypeOrBuilder : MessageOrBuilder |
NullType |
Protobuf type class NullType : GeneratedMessageV3, NullTypeOrBuilder |
NullTypeOrBuilder |
interface NullTypeOrBuilder : MessageOrBuilder |
OneofValueCase |
class OneofValueCase : EnumLite, InternalOneOfEnum |
BOOLEAN_VALUE_FIELD_NUMBER |
static val BOOLEAN_VALUE_FIELD_NUMBER: Int |
COLOR_ARGB4_VALUE_FIELD_NUMBER |
static val COLOR_ARGB4_VALUE_FIELD_NUMBER: Int |
COLOR_ARGB8_VALUE_FIELD_NUMBER |
static val COLOR_ARGB8_VALUE_FIELD_NUMBER: Int |
COLOR_RGB4_VALUE_FIELD_NUMBER |
static val COLOR_RGB4_VALUE_FIELD_NUMBER: Int |
COLOR_RGB8_VALUE_FIELD_NUMBER |
static val COLOR_RGB8_VALUE_FIELD_NUMBER: Int |
DIMENSION_VALUE_DEPRECATED_FIELD_NUMBER |
static val DIMENSION_VALUE_DEPRECATED_FIELD_NUMBER: Int |
DIMENSION_VALUE_FIELD_NUMBER |
static val DIMENSION_VALUE_FIELD_NUMBER: Int |
EMPTY_VALUE_FIELD_NUMBER |
static val EMPTY_VALUE_FIELD_NUMBER: Int |
FLOAT_VALUE_FIELD_NUMBER |
static val FLOAT_VALUE_FIELD_NUMBER: Int |
FRACTION_VALUE_DEPRECATED_FIELD_NUMBER |
static val FRACTION_VALUE_DEPRECATED_FIELD_NUMBER: Int |
FRACTION_VALUE_FIELD_NUMBER |
static val FRACTION_VALUE_FIELD_NUMBER: Int |
INT_DECIMAL_VALUE_FIELD_NUMBER |
static val INT_DECIMAL_VALUE_FIELD_NUMBER: Int |
INT_HEXADECIMAL_VALUE_FIELD_NUMBER |
static val INT_HEXADECIMAL_VALUE_FIELD_NUMBER: Int |
NULL_VALUE_FIELD_NUMBER |
static val NULL_VALUE_FIELD_NUMBER: Int |
equals |
fun equals(other: Any?): Boolean |
getBooleanValue |
fun getBooleanValue(): Boolean |
getColorArgb4Value |
fun getColorArgb4Value(): Int |
getColorArgb8Value |
fun getColorArgb8Value(): Int |
getColorRgb4Value |
fun getColorRgb4Value(): Int |
getColorRgb8Value |
fun getColorRgb8Value(): Int |
getDefaultInstance |
static fun getDefaultInstance(): Primitive! |
getDefaultInstanceForType |
fun getDefaultInstanceForType(): Primitive! |
getDescriptor |
static fun getDescriptor(): Descriptor! |
getDimensionValue |
fun getDimensionValue(): Int |
getDimensionValueDeprecated |
fun |
getEmptyValue |
fun getEmptyValue(): EmptyType! |
getEmptyValueOrBuilder |
fun getEmptyValueOrBuilder(): EmptyTypeOrBuilder! |
getFloatValue |
fun getFloatValue(): Float |
getFractionValue |
fun getFractionValue(): Int |
getFractionValueDeprecated |
fun |
getIntDecimalValue |
fun getIntDecimalValue(): Int |
getIntHexadecimalValue |
fun getIntHexadecimalValue(): Int |
getNullValue |
fun getNullValue(): NullType! |
getNullValueOrBuilder |
fun getNullValueOrBuilder(): NullTypeOrBuilder! |
getOneofValueCase |
fun getOneofValueCase(): OneofValueCase! |
getParserForType |
fun getParserForType(): Parser<Primitive!>! |
getSerializedSize |
fun getSerializedSize(): Int |
getUnknownFields |
fun getUnknownFields(): UnknownFieldSet! |
hasEmptyValue |
fun hasEmptyValue(): Boolean |
hashCode |
fun hashCode(): Int |
hasNullValue |
fun hasNullValue(): Boolean |
internalGetFieldAccessorTable |
fun internalGetFieldAccessorTable(): FieldAccessorTable! |
isInitialized |
fun isInitialized(): Boolean |
newBuilder |
static fun newBuilder(): Builder! static fun newBuilder(prototype: Primitive!): Builder! |
newBuilderForType |
fun newBuilderForType(): Builder! fun newBuilderForType(parent: BuilderParent!): Builder! |
newInstance |
fun newInstance(unused: UnusedPrivateParameter!): Any! |
parseDelimitedFrom |
static fun parseDelimitedFrom(input: InputStream!): Primitive! static fun parseDelimitedFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Primitive! |
parseFrom |
static fun parseFrom(data: ByteBuffer!): Primitive! static fun parseFrom(data: ByteBuffer!, extensionRegistry: ExtensionRegistryLite!): Primitive! static fun parseFrom(data: ByteString!): Primitive! static fun parseFrom(data: ByteString!, extensionRegistry: ExtensionRegistryLite!): Primitive! static fun parseFrom(data: ByteArray!): Primitive! static fun parseFrom(data: ByteArray!, extensionRegistry: ExtensionRegistryLite!): Primitive! static fun parseFrom(input: InputStream!): Primitive! static fun parseFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Primitive! static fun parseFrom(input: CodedInputStream!): Primitive! static fun parseFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Primitive! |
parser |
static fun parser(): Parser<Primitive!>! |
toBuilder |
fun toBuilder(): Builder! |
writeTo |
fun writeTo(output: CodedOutputStream!): Unit |