booster / com.didiglobal.booster.aapt2 / Resources / Style / Entry / Builder

Builder

class Builder : Builder<Builder!>, EntryOrBuilder


        An XML attribute/value pair defined in the style.
        
Protobuf type aapt.pb.Style.Entry

Functions

addRepeatedField

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

build

fun build(): Entry!

buildPartial

fun buildPartial(): Entry!

clear

fun clear(): Builder!

clearComment


          Any comments associated with the entry.
          
string comment = 2;

fun clearComment(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearItem


          The Item defined for this XML attribute.
          
.aapt.pb.Item item = 4;

fun clearItem(): Builder!

clearKey


          A reference to the XML attribute.
          
.aapt.pb.Reference key = 3;

fun clearKey(): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearSource


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

fun clearSource(): Builder!

clone

fun clone(): Builder!

getComment


          Any comments associated with the entry.
          
string comment = 2;

fun getComment(): String!

getCommentBytes


          Any comments associated with the entry.
          
string comment = 2;

fun getCommentBytes(): ByteString!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Entry!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getItem


          The Item defined for this XML attribute.
          
.aapt.pb.Item item = 4;

fun getItem(): Item!

getItemBuilder


          The Item defined for this XML attribute.
          
.aapt.pb.Item item = 4;

fun getItemBuilder(): Builder!

getItemOrBuilder


          The Item defined for this XML attribute.
          
.aapt.pb.Item item = 4;

fun getItemOrBuilder(): ItemOrBuilder!

getKey


          A reference to the XML attribute.
          
.aapt.pb.Reference key = 3;

fun getKey(): Reference!

getKeyBuilder


          A reference to the XML attribute.
          
.aapt.pb.Reference key = 3;

fun getKeyBuilder(): Builder!

getKeyOrBuilder


          A reference to the XML attribute.
          
.aapt.pb.Reference key = 3;

fun getKeyOrBuilder(): ReferenceOrBuilder!

getSource


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

fun getSource(): Source!

getSourceBuilder


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

fun getSourceBuilder(): Builder!

getSourceOrBuilder


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

fun getSourceOrBuilder(): SourceOrBuilder!

hasItem


          The Item defined for this XML attribute.
          
.aapt.pb.Item item = 4;

fun hasItem(): Boolean

hasKey


          A reference to the XML attribute.
          
.aapt.pb.Reference key = 3;

fun hasKey(): Boolean

hasSource


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

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeItem


          The Item defined for this XML attribute.
          
.aapt.pb.Item item = 4;

fun mergeItem(value: Item!): Builder!

mergeKey


          A reference to the XML attribute.
          
.aapt.pb.Reference key = 3;

fun mergeKey(value: Reference!): Builder!

mergeSource


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

fun mergeSource(value: Source!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setComment


          Any comments associated with the entry.
          
string comment = 2;

fun setComment(value: String!): Builder!

setCommentBytes


          Any comments associated with the entry.
          
string comment = 2;

fun setCommentBytes(value: ByteString!): Builder!

setField

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

setItem


          The Item defined for this XML attribute.
          
.aapt.pb.Item item = 4;

fun setItem(value: Item!): Builder!
fun setItem(builderForValue: Builder!): Builder!

setKey


          A reference to the XML attribute.
          
.aapt.pb.Reference key = 3;

fun setKey(value: Reference!): Builder!
fun setKey(builderForValue: Builder!): Builder!

setRepeatedField

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

setSource


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

fun setSource(value: Source!): Builder!
fun setSource(builderForValue: Builder!): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!