booster / com.didiglobal.booster.aapt2 / Resources / CompoundValue / Builder

Builder

class Builder : Builder<Builder!>, CompoundValueOrBuilder


      A CompoundValue is an abstract type. It represents a value that is a made of other values.
      These can only usually appear as top-level resources. The concrete type is one of the types
      below. Only one can be set.
      
Protobuf type aapt.pb.CompoundValue

Functions

addRepeatedField

fun addRepeatedField(field: FieldDescriptor!, value: Any!): Builder!

build

fun build(): CompoundValue!

buildPartial

fun buildPartial(): CompoundValue!

clear

fun clear(): Builder!

clearArray

.aapt.pb.Array array = 4;

fun clearArray(): Builder!

clearAttr

.aapt.pb.Attribute attr = 1;

fun clearAttr(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearPlural

.aapt.pb.Plural plural = 5;

fun clearPlural(): Builder!

clearStyle

.aapt.pb.Style style = 2;

fun clearStyle(): Builder!

clearStyleable

.aapt.pb.Styleable styleable = 3;

fun clearStyleable(): Builder!

clearValue

fun clearValue(): Builder!

clone

fun clone(): Builder!

getArray

.aapt.pb.Array array = 4;

fun getArray(): Array!

getArrayBuilder

.aapt.pb.Array array = 4;

fun getArrayBuilder(): Builder!

getArrayOrBuilder

.aapt.pb.Array array = 4;

fun getArrayOrBuilder(): ArrayOrBuilder!

getAttr

.aapt.pb.Attribute attr = 1;

fun getAttr(): Attribute!

getAttrBuilder

.aapt.pb.Attribute attr = 1;

fun getAttrBuilder(): Builder!

getAttrOrBuilder

.aapt.pb.Attribute attr = 1;

fun getAttrOrBuilder(): AttributeOrBuilder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): CompoundValue!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getPlural

.aapt.pb.Plural plural = 5;

fun getPlural(): Plural!

getPluralBuilder

.aapt.pb.Plural plural = 5;

fun getPluralBuilder(): Builder!

getPluralOrBuilder

.aapt.pb.Plural plural = 5;

fun getPluralOrBuilder(): PluralOrBuilder!

getStyle

.aapt.pb.Style style = 2;

fun getStyle(): Style!

getStyleable

.aapt.pb.Styleable styleable = 3;

fun getStyleable(): Styleable!

getStyleableBuilder

.aapt.pb.Styleable styleable = 3;

fun getStyleableBuilder(): Builder!

getStyleableOrBuilder

.aapt.pb.Styleable styleable = 3;

fun getStyleableOrBuilder(): StyleableOrBuilder!

getStyleBuilder

.aapt.pb.Style style = 2;

fun getStyleBuilder(): Builder!

getStyleOrBuilder

.aapt.pb.Style style = 2;

fun getStyleOrBuilder(): StyleOrBuilder!

getValueCase

fun getValueCase(): ValueCase!

hasArray

.aapt.pb.Array array = 4;

fun hasArray(): Boolean

hasAttr

.aapt.pb.Attribute attr = 1;

fun hasAttr(): Boolean

hasPlural

.aapt.pb.Plural plural = 5;

fun hasPlural(): Boolean

hasStyle

.aapt.pb.Style style = 2;

fun hasStyle(): Boolean

hasStyleable

.aapt.pb.Styleable styleable = 3;

fun hasStyleable(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeArray

.aapt.pb.Array array = 4;

fun mergeArray(value: Array!): Builder!

mergeAttr

.aapt.pb.Attribute attr = 1;

fun mergeAttr(value: Attribute!): Builder!

mergeFrom

fun mergeFrom(other: Message!): Builder!
fun mergeFrom(other: CompoundValue!): Builder!
fun mergeFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Builder!

mergePlural

.aapt.pb.Plural plural = 5;

fun mergePlural(value: Plural!): Builder!

mergeStyle

.aapt.pb.Style style = 2;

fun mergeStyle(value: Style!): Builder!

mergeStyleable

.aapt.pb.Styleable styleable = 3;

fun mergeStyleable(value: Styleable!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setArray

.aapt.pb.Array array = 4;

fun setArray(value: Array!): Builder!
fun setArray(builderForValue: Builder!): Builder!

setAttr

.aapt.pb.Attribute attr = 1;

fun setAttr(value: Attribute!): Builder!
fun setAttr(builderForValue: Builder!): Builder!

setField

fun setField(field: FieldDescriptor!, value: Any!): Builder!

setPlural

.aapt.pb.Plural plural = 5;

fun setPlural(value: Plural!): Builder!
fun setPlural(builderForValue: Builder!): Builder!

setRepeatedField

fun setRepeatedField(field: FieldDescriptor!, index: Int, value: Any!): Builder!

setStyle

.aapt.pb.Style style = 2;

fun setStyle(value: Style!): Builder!
fun setStyle(builderForValue: Builder!): Builder!

setStyleable

.aapt.pb.Styleable styleable = 3;

fun setStyleable(value: Styleable!): Builder!
fun setStyleable(builderForValue: Builder!): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!