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

Builder

class Builder : Builder<Builder!>, EntryOrBuilder


        An attribute defined for this styleable.
        
Protobuf type aapt.pb.Styleable.Entry

Functions

addRepeatedField

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

build

fun build(): Entry!

buildPartial

fun buildPartial(): Entry!

clear

fun clear(): Builder!

clearAttr


          The reference to the attribute.
          
.aapt.pb.Reference attr = 3;

fun clearAttr(): Builder!

clearComment


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

fun clearComment(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearSource


          Where the attribute was defined within the <declare-styleable> block.
          
.aapt.pb.Source source = 1;

fun clearSource(): Builder!

clone

fun clone(): Builder!

getAttr


          The reference to the attribute.
          
.aapt.pb.Reference attr = 3;

fun getAttr(): Reference!

getAttrBuilder


          The reference to the attribute.
          
.aapt.pb.Reference attr = 3;

fun getAttrBuilder(): Builder!

getAttrOrBuilder


          The reference to the attribute.
          
.aapt.pb.Reference attr = 3;

fun getAttrOrBuilder(): ReferenceOrBuilder!

getComment


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

fun getComment(): String!

getCommentBytes


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

fun getCommentBytes(): ByteString!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Entry!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getSource


          Where the attribute was defined within the <declare-styleable> block.
          
.aapt.pb.Source source = 1;

fun getSource(): Source!

getSourceBuilder


          Where the attribute was defined within the <declare-styleable> block.
          
.aapt.pb.Source source = 1;

fun getSourceBuilder(): Builder!

getSourceOrBuilder


          Where the attribute was defined within the <declare-styleable> block.
          
.aapt.pb.Source source = 1;

fun getSourceOrBuilder(): SourceOrBuilder!

hasAttr


          The reference to the attribute.
          
.aapt.pb.Reference attr = 3;

fun hasAttr(): Boolean

hasSource


          Where the attribute was defined within the <declare-styleable> block.
          
.aapt.pb.Source source = 1;

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeAttr


          The reference to the attribute.
          
.aapt.pb.Reference attr = 3;

fun mergeAttr(value: Reference!): Builder!

mergeFrom

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

mergeSource


          Where the attribute was defined within the <declare-styleable> block.
          
.aapt.pb.Source source = 1;

fun mergeSource(value: Source!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setAttr


          The reference to the attribute.
          
.aapt.pb.Reference attr = 3;

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

setComment


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

fun setComment(value: String!): Builder!

setCommentBytes


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

fun setCommentBytes(value: ByteString!): Builder!

setField

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

setRepeatedField

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

setSource


          Where the attribute was defined within the <declare-styleable> block.
          
.aapt.pb.Source source = 1;

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!