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

Builder

class Builder : Builder<Builder!>, AllowNewOrBuilder


      Whether a resource comes from a compile-time overlay and is explicitly allowed to not overlay an
      existing resource.
      
Protobuf type aapt.pb.AllowNew

Functions

addRepeatedField

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

build

fun build(): AllowNew!

buildPartial

fun buildPartial(): AllowNew!

clear

fun clear(): Builder!

clearComment


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

fun clearComment(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearSource


        Where this was defined in source.
        
.aapt.pb.Source source = 1;

fun clearSource(): Builder!

clone

fun clone(): Builder!

getComment


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

fun getComment(): String!

getCommentBytes


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

fun getCommentBytes(): ByteString!

getDefaultInstanceForType

fun getDefaultInstanceForType(): AllowNew!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getSource


        Where this was defined in source.
        
.aapt.pb.Source source = 1;

fun getSource(): Source!

getSourceBuilder


        Where this was defined in source.
        
.aapt.pb.Source source = 1;

fun getSourceBuilder(): Builder!

getSourceOrBuilder


        Where this was defined in source.
        
.aapt.pb.Source source = 1;

fun getSourceOrBuilder(): SourceOrBuilder!

hasSource


        Where this was defined in source.
        
.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: AllowNew!): Builder!
fun mergeFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Builder!

mergeSource


        Where this was defined in source.
        
.aapt.pb.Source source = 1;

fun mergeSource(value: Source!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setComment


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

fun setComment(value: String!): Builder!

setCommentBytes


        Any comment 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 this was defined in source.
        
.aapt.pb.Source source = 1;

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!